@@ -8959,48 +8959,6 @@ exports.prototype.callAuth = function callApi(path, httpMethod, pathParams,
89598959 }
89608960
89618961
8962- /**
8963- * @param {String} tempUserToken Temp user token of the me.
8964- * @param {module:model/User} user
8965- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
8966- */
8967- this.CreateFromTempUser = function(tempUserToken, user) {
8968- var postBody = user;
8969-
8970- // verify the required parameter 'tempUserToken' is set
8971- if (tempUserToken == undefined || tempUserToken == null) {
8972- throw new Error("Missing the required parameter 'tempUserToken' when calling CreateFromTempUser");
8973- }
8974-
8975- // verify the required parameter 'user' is set
8976- if (user == undefined || user == null) {
8977- throw new Error("Missing the required parameter 'user' when calling CreateFromTempUser");
8978- }
8979-
8980-
8981- var pathParams = {
8982- };
8983- var queryParams = {
8984- 'tempUserToken': tempUserToken
8985- };
8986- var headerParams = {
8987- };
8988- var formParams = {
8989- };
8990-
8991- var authNames = ['oauth2'];
8992- var contentTypes = ['application/json', 'text/plain; charset=utf-8'];
8993- var accepts = ['application/json'];
8994- var returnType = Object;
8995-
8996- return this.apiClient.callApi(
8997- '/me/register', 'PUT',
8998- pathParams, queryParams, headerParams, formParams, postBody,
8999- authNames, contentTypes, accepts, returnType
9000- );
9001- }
9002-
9003-
90048962 /**
90058963 * @param {String} addressID ID of the address.
90068964 * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -10044,6 +10002,48 @@ exports.prototype.callAuth = function callApi(path, httpMethod, pathParams,
1004410002 }
1004510003
1004610004
10005+ /**
10006+ * @param {String} anonUserToken Anon user token of the me.
10007+ * @param {module:model/User} user
10008+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
10009+ */
10010+ this.Register = function(anonUserToken, user) {
10011+ var postBody = user;
10012+
10013+ // verify the required parameter 'anonUserToken' is set
10014+ if (anonUserToken == undefined || anonUserToken == null) {
10015+ throw new Error("Missing the required parameter 'anonUserToken' when calling Register");
10016+ }
10017+
10018+ // verify the required parameter 'user' is set
10019+ if (user == undefined || user == null) {
10020+ throw new Error("Missing the required parameter 'user' when calling Register");
10021+ }
10022+
10023+
10024+ var pathParams = {
10025+ };
10026+ var queryParams = {
10027+ 'anonUserToken': anonUserToken
10028+ };
10029+ var headerParams = {
10030+ };
10031+ var formParams = {
10032+ };
10033+
10034+ var authNames = ['oauth2'];
10035+ var contentTypes = ['application/json', 'text/plain; charset=utf-8'];
10036+ var accepts = ['application/json'];
10037+ var returnType = Object;
10038+
10039+ return this.apiClient.callApi(
10040+ '/me/register', 'PUT',
10041+ pathParams, queryParams, headerParams, formParams, postBody,
10042+ authNames, contentTypes, accepts, returnType
10043+ );
10044+ }
10045+
10046+
1004710047 /**
1004810048 * @param {module:model/TokenPasswordReset} reset
1004910049 * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -10079,6 +10079,42 @@ exports.prototype.callAuth = function callApi(path, httpMethod, pathParams,
1007910079 }
1008010080
1008110081
10082+ /**
10083+ * @param {String} anonUserToken Anon user token of the me.
10084+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
10085+ */
10086+ this.TransferAnonUserOrder = function(anonUserToken) {
10087+ var postBody = null;
10088+
10089+ // verify the required parameter 'anonUserToken' is set
10090+ if (anonUserToken == undefined || anonUserToken == null) {
10091+ throw new Error("Missing the required parameter 'anonUserToken' when calling TransferAnonUserOrder");
10092+ }
10093+
10094+
10095+ var pathParams = {
10096+ };
10097+ var queryParams = {
10098+ 'anonUserToken': anonUserToken
10099+ };
10100+ var headerParams = {
10101+ };
10102+ var formParams = {
10103+ };
10104+
10105+ var authNames = ['oauth2'];
10106+ var contentTypes = ['application/json', 'text/plain; charset=utf-8'];
10107+ var accepts = ['application/json'];
10108+ var returnType = null;
10109+
10110+ return this.apiClient.callApi(
10111+ '/me/orders', 'PUT',
10112+ pathParams, queryParams, headerParams, formParams, postBody,
10113+ authNames, contentTypes, accepts, returnType
10114+ );
10115+ }
10116+
10117+
1008210118 /**
1008310119 * @param {module:model/User} user
1008410120 * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/User}
@@ -11518,42 +11554,6 @@ exports.prototype.callAuth = function callApi(path, httpMethod, pathParams,
1151811554 }
1151911555
1152011556
11521- /**
11522- * @param {String} tempUserToken Temp user token of the order.
11523- * @return {Promise} a {@link https://www.promisejs.org/|Promise}
11524- */
11525- this.TransferTempUserOrder = function(tempUserToken) {
11526- var postBody = null;
11527-
11528- // verify the required parameter 'tempUserToken' is set
11529- if (tempUserToken == undefined || tempUserToken == null) {
11530- throw new Error("Missing the required parameter 'tempUserToken' when calling TransferTempUserOrder");
11531- }
11532-
11533-
11534- var pathParams = {
11535- };
11536- var queryParams = {
11537- 'tempUserToken': tempUserToken
11538- };
11539- var headerParams = {
11540- };
11541- var formParams = {
11542- };
11543-
11544- var authNames = ['oauth2'];
11545- var contentTypes = ['application/json', 'text/plain; charset=utf-8'];
11546- var accepts = ['application/json'];
11547- var returnType = null;
11548-
11549- return this.apiClient.callApi(
11550- '/orders', 'PUT',
11551- pathParams, queryParams, headerParams, formParams, postBody,
11552- authNames, contentTypes, accepts, returnType
11553- );
11554- }
11555-
11556-
1155711557 /**
1155811558 * @param {String} direction Direction of the order. Possible values: Incoming, Outgoing.
1155911559 * @param {String} orderID ID of the order.
0 commit comments