@@ -10726,19 +10726,26 @@ exports.prototype.callAuth = function callApi(path, httpMethod, pathParams,
1072610726
1072710727
1072810728 /**
10729+ * @param {String} direction Direction of the order. Possible values: Incoming, Outgoing.
1072910730 * @param {module:model/Order} order
1073010731 * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Order}
1073110732 */
10732- this.Create = function(order) {
10733+ this.Create = function(direction, order) {
1073310734 var postBody = order;
1073410735
10736+ // verify the required parameter 'direction' is set
10737+ if (direction == undefined || direction == null) {
10738+ throw new Error("Missing the required parameter 'direction' when calling Create");
10739+ }
10740+
1073510741 // verify the required parameter 'order' is set
1073610742 if (order == undefined || order == null) {
1073710743 throw new Error("Missing the required parameter 'order' when calling Create");
1073810744 }
1073910745
1074010746
1074110747 var pathParams = {
10748+ 'direction': direction
1074210749 };
1074310750 var queryParams = {
1074410751 };
@@ -10753,7 +10760,7 @@ exports.prototype.callAuth = function callApi(path, httpMethod, pathParams,
1075310760 var returnType = Order;
1075410761
1075510762 return this.apiClient.callApi(
10756- '/orders', 'POST',
10763+ '/orders/{direction} ', 'POST',
1075710764 pathParams, queryParams, headerParams, formParams, postBody,
1075810765 authNames, contentTypes, accepts, returnType
1075910766 );
@@ -27473,7 +27480,6 @@ exports.prototype.callAuth = function callApi(path, httpMethod, pathParams,
2747327480
2747427481
2747527482
27476-
2747727483 };
2747827484
2747927485 /**
@@ -27502,9 +27508,6 @@ exports.prototype.callAuth = function callApi(path, httpMethod, pathParams,
2750227508 if (data.hasOwnProperty('PriceScheduleID')) {
2750327509 obj['PriceScheduleID'] = ApiClient.convertToType(data['PriceScheduleID'], 'String');
2750427510 }
27505- if (data.hasOwnProperty('StandardPriceScheduleID')) {
27506- obj['StandardPriceScheduleID'] = ApiClient.convertToType(data['StandardPriceScheduleID'], 'String');
27507- }
2750827511 }
2750927512 return obj;
2751027513 }
@@ -27529,10 +27532,6 @@ exports.prototype.callAuth = function callApi(path, httpMethod, pathParams,
2752927532 * @member {String} PriceScheduleID
2753027533 */
2753127534 exports.prototype['PriceScheduleID'] = undefined;
27532- /**
27533- * @member {String} StandardPriceScheduleID
27534- */
27535- exports.prototype['StandardPriceScheduleID'] = undefined;
2753627535
2753727536
2753827537
0 commit comments