@teemill/platform 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +1113 -85
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +605 -39
- package/dist/api.js +697 -11
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +605 -39
- package/dist/esm/api.js +697 -11
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -148,6 +148,63 @@ export interface ExportOrders202Response {
|
|
|
148
148
|
*/
|
|
149
149
|
'message'?: string;
|
|
150
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* The fulfiller that will be processing this order.
|
|
153
|
+
* @export
|
|
154
|
+
* @interface Fulfiller
|
|
155
|
+
*/
|
|
156
|
+
export interface Fulfiller {
|
|
157
|
+
/**
|
|
158
|
+
* Unique object identifier
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof Fulfiller
|
|
161
|
+
*/
|
|
162
|
+
'id'?: string;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {FulfillerLocation}
|
|
166
|
+
* @memberof Fulfiller
|
|
167
|
+
*/
|
|
168
|
+
'location'?: FulfillerLocation;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @export
|
|
173
|
+
* @interface FulfillerLocation
|
|
174
|
+
*/
|
|
175
|
+
export interface FulfillerLocation {
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof FulfillerLocation
|
|
180
|
+
*/
|
|
181
|
+
'city'?: string | null;
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @type {string}
|
|
185
|
+
* @memberof FulfillerLocation
|
|
186
|
+
*/
|
|
187
|
+
'country'?: string | null;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @export
|
|
192
|
+
* @interface FulfillersResponse
|
|
193
|
+
*/
|
|
194
|
+
export interface FulfillersResponse {
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {Array<Fulfiller>}
|
|
198
|
+
* @memberof FulfillersResponse
|
|
199
|
+
*/
|
|
200
|
+
'fulfillers'?: Array<Fulfiller>;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {number}
|
|
204
|
+
* @memberof FulfillersResponse
|
|
205
|
+
*/
|
|
206
|
+
'nextPageToken'?: number;
|
|
207
|
+
}
|
|
151
208
|
/**
|
|
152
209
|
*
|
|
153
210
|
* @export
|
|
@@ -168,10 +225,10 @@ export interface Fulfillment {
|
|
|
168
225
|
'status'?: OrderStatus;
|
|
169
226
|
/**
|
|
170
227
|
*
|
|
171
|
-
* @type {
|
|
228
|
+
* @type {Fulfiller}
|
|
172
229
|
* @memberof Fulfillment
|
|
173
230
|
*/
|
|
174
|
-
'fulfiller'?:
|
|
231
|
+
'fulfiller'?: Fulfiller;
|
|
175
232
|
/**
|
|
176
233
|
*
|
|
177
234
|
* @type {Array<FulfillmentItem>}
|
|
@@ -205,38 +262,6 @@ export interface Fulfillment {
|
|
|
205
262
|
}
|
|
206
263
|
|
|
207
264
|
|
|
208
|
-
/**
|
|
209
|
-
* The fulfiller that will be processing this order.
|
|
210
|
-
* @export
|
|
211
|
-
* @interface FulfillmentFulfiller
|
|
212
|
-
*/
|
|
213
|
-
export interface FulfillmentFulfiller {
|
|
214
|
-
/**
|
|
215
|
-
*
|
|
216
|
-
* @type {FulfillmentFulfillerLocation}
|
|
217
|
-
* @memberof FulfillmentFulfiller
|
|
218
|
-
*/
|
|
219
|
-
'location'?: FulfillmentFulfillerLocation;
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
*
|
|
223
|
-
* @export
|
|
224
|
-
* @interface FulfillmentFulfillerLocation
|
|
225
|
-
*/
|
|
226
|
-
export interface FulfillmentFulfillerLocation {
|
|
227
|
-
/**
|
|
228
|
-
*
|
|
229
|
-
* @type {string}
|
|
230
|
-
* @memberof FulfillmentFulfillerLocation
|
|
231
|
-
*/
|
|
232
|
-
'city'?: string | null;
|
|
233
|
-
/**
|
|
234
|
-
*
|
|
235
|
-
* @type {string}
|
|
236
|
-
* @memberof FulfillmentFulfillerLocation
|
|
237
|
-
*/
|
|
238
|
-
'country'?: string | null;
|
|
239
|
-
}
|
|
240
265
|
/**
|
|
241
266
|
*
|
|
242
267
|
* @export
|
|
@@ -727,6 +752,19 @@ export interface StatusHistoryItem {
|
|
|
727
752
|
}
|
|
728
753
|
|
|
729
754
|
|
|
755
|
+
/**
|
|
756
|
+
*
|
|
757
|
+
* @export
|
|
758
|
+
* @interface UpdateFulfillmentRequest
|
|
759
|
+
*/
|
|
760
|
+
export interface UpdateFulfillmentRequest {
|
|
761
|
+
/**
|
|
762
|
+
* Unique object identifier
|
|
763
|
+
* @type {string}
|
|
764
|
+
* @memberof UpdateFulfillmentRequest
|
|
765
|
+
*/
|
|
766
|
+
'fulfillerId'?: string;
|
|
767
|
+
}
|
|
730
768
|
/**
|
|
731
769
|
*
|
|
732
770
|
* @export
|
|
@@ -779,10 +817,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
779
817
|
* @param {string} platformId The platform identifier
|
|
780
818
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
781
819
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
820
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
782
821
|
* @param {*} [options] Override http request option.
|
|
783
822
|
* @throws {RequiredError}
|
|
784
823
|
*/
|
|
785
|
-
exportOrders: async (project: string, platformId: string, start: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
824
|
+
exportOrders: async (project: string, platformId: string, start: string, end?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
786
825
|
// verify required parameter 'project' is not null or undefined
|
|
787
826
|
assertParamExists('exportOrders', 'project', project)
|
|
788
827
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -825,6 +864,166 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
825
864
|
end;
|
|
826
865
|
}
|
|
827
866
|
|
|
867
|
+
if (search !== undefined) {
|
|
868
|
+
localVarQueryParameter['search'] = search;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
874
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
875
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
876
|
+
|
|
877
|
+
return {
|
|
878
|
+
url: toPathString(localVarUrlObj),
|
|
879
|
+
options: localVarRequestOptions,
|
|
880
|
+
};
|
|
881
|
+
},
|
|
882
|
+
/**
|
|
883
|
+
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
884
|
+
* @summary Get fulfillment
|
|
885
|
+
* @param {string} project Project unique identifier
|
|
886
|
+
* @param {string} platformId The platform identifier
|
|
887
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
888
|
+
* @param {*} [options] Override http request option.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
*/
|
|
891
|
+
getFulfillment: async (project: string, platformId: string, fulfillmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
892
|
+
// verify required parameter 'project' is not null or undefined
|
|
893
|
+
assertParamExists('getFulfillment', 'project', project)
|
|
894
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
895
|
+
assertParamExists('getFulfillment', 'platformId', platformId)
|
|
896
|
+
// verify required parameter 'fulfillmentId' is not null or undefined
|
|
897
|
+
assertParamExists('getFulfillment', 'fulfillmentId', fulfillmentId)
|
|
898
|
+
const localVarPath = `/v1/platform/{platformId}/fulfillments/{fulfillmentId}`
|
|
899
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
900
|
+
.replace(`{${"fulfillmentId"}}`, encodeURIComponent(String(fulfillmentId)));
|
|
901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
903
|
+
let baseOptions;
|
|
904
|
+
if (configuration) {
|
|
905
|
+
baseOptions = configuration.baseOptions;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
909
|
+
const localVarHeaderParameter = {} as any;
|
|
910
|
+
const localVarQueryParameter = {} as any;
|
|
911
|
+
|
|
912
|
+
// authentication session-oauth required
|
|
913
|
+
// oauth required
|
|
914
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
915
|
+
|
|
916
|
+
// authentication api-key required
|
|
917
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
918
|
+
|
|
919
|
+
if (project !== undefined) {
|
|
920
|
+
localVarQueryParameter['project'] = project;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
926
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
927
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
928
|
+
|
|
929
|
+
return {
|
|
930
|
+
url: toPathString(localVarUrlObj),
|
|
931
|
+
options: localVarRequestOptions,
|
|
932
|
+
};
|
|
933
|
+
},
|
|
934
|
+
/**
|
|
935
|
+
* Get an order for a platform by a given order ID.
|
|
936
|
+
* @summary Get order
|
|
937
|
+
* @param {string} project Project unique identifier
|
|
938
|
+
* @param {string} platformId The platform identifier
|
|
939
|
+
* @param {string} orderId The order identifier
|
|
940
|
+
* @param {*} [options] Override http request option.
|
|
941
|
+
* @throws {RequiredError}
|
|
942
|
+
*/
|
|
943
|
+
getOrder: async (project: string, platformId: string, orderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
944
|
+
// verify required parameter 'project' is not null or undefined
|
|
945
|
+
assertParamExists('getOrder', 'project', project)
|
|
946
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
947
|
+
assertParamExists('getOrder', 'platformId', platformId)
|
|
948
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
949
|
+
assertParamExists('getOrder', 'orderId', orderId)
|
|
950
|
+
const localVarPath = `/v1/platform/{platformId}/orders/{orderId}`
|
|
951
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
952
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
953
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
954
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
955
|
+
let baseOptions;
|
|
956
|
+
if (configuration) {
|
|
957
|
+
baseOptions = configuration.baseOptions;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
961
|
+
const localVarHeaderParameter = {} as any;
|
|
962
|
+
const localVarQueryParameter = {} as any;
|
|
963
|
+
|
|
964
|
+
// authentication session-oauth required
|
|
965
|
+
// oauth required
|
|
966
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
967
|
+
|
|
968
|
+
// authentication api-key required
|
|
969
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
970
|
+
|
|
971
|
+
if (project !== undefined) {
|
|
972
|
+
localVarQueryParameter['project'] = project;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
978
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
979
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
980
|
+
|
|
981
|
+
return {
|
|
982
|
+
url: toPathString(localVarUrlObj),
|
|
983
|
+
options: localVarRequestOptions,
|
|
984
|
+
};
|
|
985
|
+
},
|
|
986
|
+
/**
|
|
987
|
+
* List available fulfillers for a given fulfillment
|
|
988
|
+
* @summary List available fulfillers
|
|
989
|
+
* @param {string} project Project unique identifier
|
|
990
|
+
* @param {string} platformId The platform identifier
|
|
991
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
992
|
+
* @param {*} [options] Override http request option.
|
|
993
|
+
* @throws {RequiredError}
|
|
994
|
+
*/
|
|
995
|
+
listAvailableFulfillers: async (project: string, platformId: string, fulfillmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
996
|
+
// verify required parameter 'project' is not null or undefined
|
|
997
|
+
assertParamExists('listAvailableFulfillers', 'project', project)
|
|
998
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
999
|
+
assertParamExists('listAvailableFulfillers', 'platformId', platformId)
|
|
1000
|
+
// verify required parameter 'fulfillmentId' is not null or undefined
|
|
1001
|
+
assertParamExists('listAvailableFulfillers', 'fulfillmentId', fulfillmentId)
|
|
1002
|
+
const localVarPath = `/v1/platform/{platformId}/fulfillments/{fulfillmentId}/available-fulfillers`
|
|
1003
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
1004
|
+
.replace(`{${"fulfillmentId"}}`, encodeURIComponent(String(fulfillmentId)));
|
|
1005
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1006
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1007
|
+
let baseOptions;
|
|
1008
|
+
if (configuration) {
|
|
1009
|
+
baseOptions = configuration.baseOptions;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1013
|
+
const localVarHeaderParameter = {} as any;
|
|
1014
|
+
const localVarQueryParameter = {} as any;
|
|
1015
|
+
|
|
1016
|
+
// authentication session-oauth required
|
|
1017
|
+
// oauth required
|
|
1018
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1019
|
+
|
|
1020
|
+
// authentication api-key required
|
|
1021
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1022
|
+
|
|
1023
|
+
if (project !== undefined) {
|
|
1024
|
+
localVarQueryParameter['project'] = project;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
828
1027
|
|
|
829
1028
|
|
|
830
1029
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -908,6 +1107,64 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
908
1107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
909
1108
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
910
1109
|
|
|
1110
|
+
return {
|
|
1111
|
+
url: toPathString(localVarUrlObj),
|
|
1112
|
+
options: localVarRequestOptions,
|
|
1113
|
+
};
|
|
1114
|
+
},
|
|
1115
|
+
/**
|
|
1116
|
+
* Update a fulfillment that belongs to an order placed through the platform
|
|
1117
|
+
* @summary Update fulfillment
|
|
1118
|
+
* @param {string} project Project unique identifier
|
|
1119
|
+
* @param {string} platformId The platform identifier
|
|
1120
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
1121
|
+
* @param {UpdateFulfillmentRequest} updateFulfillmentRequest
|
|
1122
|
+
* @param {*} [options] Override http request option.
|
|
1123
|
+
* @throws {RequiredError}
|
|
1124
|
+
*/
|
|
1125
|
+
updateFulfillment: async (project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1126
|
+
// verify required parameter 'project' is not null or undefined
|
|
1127
|
+
assertParamExists('updateFulfillment', 'project', project)
|
|
1128
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
1129
|
+
assertParamExists('updateFulfillment', 'platformId', platformId)
|
|
1130
|
+
// verify required parameter 'fulfillmentId' is not null or undefined
|
|
1131
|
+
assertParamExists('updateFulfillment', 'fulfillmentId', fulfillmentId)
|
|
1132
|
+
// verify required parameter 'updateFulfillmentRequest' is not null or undefined
|
|
1133
|
+
assertParamExists('updateFulfillment', 'updateFulfillmentRequest', updateFulfillmentRequest)
|
|
1134
|
+
const localVarPath = `/v1/platform/{platformId}/fulfillments/{fulfillmentId}`
|
|
1135
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
1136
|
+
.replace(`{${"fulfillmentId"}}`, encodeURIComponent(String(fulfillmentId)));
|
|
1137
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1139
|
+
let baseOptions;
|
|
1140
|
+
if (configuration) {
|
|
1141
|
+
baseOptions = configuration.baseOptions;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1145
|
+
const localVarHeaderParameter = {} as any;
|
|
1146
|
+
const localVarQueryParameter = {} as any;
|
|
1147
|
+
|
|
1148
|
+
// authentication session-oauth required
|
|
1149
|
+
// oauth required
|
|
1150
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1151
|
+
|
|
1152
|
+
// authentication api-key required
|
|
1153
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1154
|
+
|
|
1155
|
+
if (project !== undefined) {
|
|
1156
|
+
localVarQueryParameter['project'] = project;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1162
|
+
|
|
1163
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1164
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1165
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1166
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateFulfillmentRequest, localVarRequestOptions, configuration)
|
|
1167
|
+
|
|
911
1168
|
return {
|
|
912
1169
|
url: toPathString(localVarUrlObj),
|
|
913
1170
|
options: localVarRequestOptions,
|
|
@@ -930,35 +1187,97 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
930
1187
|
* @param {string} platformId The platform identifier
|
|
931
1188
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
932
1189
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1190
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
933
1191
|
* @param {*} [options] Override http request option.
|
|
934
1192
|
* @throws {RequiredError}
|
|
935
1193
|
*/
|
|
936
|
-
async exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
937
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
1194
|
+
async exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1195
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
938
1196
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
939
1197
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
940
1198
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
941
1199
|
},
|
|
942
1200
|
/**
|
|
943
|
-
*
|
|
944
|
-
* @summary
|
|
1201
|
+
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1202
|
+
* @summary Get fulfillment
|
|
945
1203
|
* @param {string} project Project unique identifier
|
|
946
1204
|
* @param {string} platformId The platform identifier
|
|
947
|
-
* @param {
|
|
948
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
949
|
-
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
950
|
-
* @param {string} [start] Start of date range to filter by when orders were placed
|
|
951
|
-
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1205
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
952
1206
|
* @param {*} [options] Override http request option.
|
|
953
1207
|
* @throws {RequiredError}
|
|
954
1208
|
*/
|
|
955
|
-
async
|
|
956
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1209
|
+
async getFulfillment(project: string, platformId: string, fulfillmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fulfillment>> {
|
|
1210
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillment(project, platformId, fulfillmentId, options);
|
|
957
1211
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
958
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
1212
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getFulfillment']?.[localVarOperationServerIndex]?.url;
|
|
959
1213
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
960
1214
|
},
|
|
961
|
-
|
|
1215
|
+
/**
|
|
1216
|
+
* Get an order for a platform by a given order ID.
|
|
1217
|
+
* @summary Get order
|
|
1218
|
+
* @param {string} project Project unique identifier
|
|
1219
|
+
* @param {string} platformId The platform identifier
|
|
1220
|
+
* @param {string} orderId The order identifier
|
|
1221
|
+
* @param {*} [options] Override http request option.
|
|
1222
|
+
* @throws {RequiredError}
|
|
1223
|
+
*/
|
|
1224
|
+
async getOrder(project: string, platformId: string, orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {
|
|
1225
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrder(project, platformId, orderId, options);
|
|
1226
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1227
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrder']?.[localVarOperationServerIndex]?.url;
|
|
1228
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1229
|
+
},
|
|
1230
|
+
/**
|
|
1231
|
+
* List available fulfillers for a given fulfillment
|
|
1232
|
+
* @summary List available fulfillers
|
|
1233
|
+
* @param {string} project Project unique identifier
|
|
1234
|
+
* @param {string} platformId The platform identifier
|
|
1235
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
1236
|
+
* @param {*} [options] Override http request option.
|
|
1237
|
+
* @throws {RequiredError}
|
|
1238
|
+
*/
|
|
1239
|
+
async listAvailableFulfillers(project: string, platformId: string, fulfillmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FulfillersResponse>> {
|
|
1240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableFulfillers(project, platformId, fulfillmentId, options);
|
|
1241
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1242
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.listAvailableFulfillers']?.[localVarOperationServerIndex]?.url;
|
|
1243
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1244
|
+
},
|
|
1245
|
+
/**
|
|
1246
|
+
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
1247
|
+
* @summary List orders
|
|
1248
|
+
* @param {string} project Project unique identifier
|
|
1249
|
+
* @param {string} platformId The platform identifier
|
|
1250
|
+
* @param {number} [pageToken] Page reference token
|
|
1251
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1252
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1253
|
+
* @param {string} [start] Start of date range to filter by when orders were placed
|
|
1254
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1255
|
+
* @param {*} [options] Override http request option.
|
|
1256
|
+
* @throws {RequiredError}
|
|
1257
|
+
*/
|
|
1258
|
+
async listOrders(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrdersResponse>> {
|
|
1259
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(project, platformId, pageToken, pageSize, search, start, end, options);
|
|
1260
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1261
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.listOrders']?.[localVarOperationServerIndex]?.url;
|
|
1262
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1263
|
+
},
|
|
1264
|
+
/**
|
|
1265
|
+
* Update a fulfillment that belongs to an order placed through the platform
|
|
1266
|
+
* @summary Update fulfillment
|
|
1267
|
+
* @param {string} project Project unique identifier
|
|
1268
|
+
* @param {string} platformId The platform identifier
|
|
1269
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
1270
|
+
* @param {UpdateFulfillmentRequest} updateFulfillmentRequest
|
|
1271
|
+
* @param {*} [options] Override http request option.
|
|
1272
|
+
* @throws {RequiredError}
|
|
1273
|
+
*/
|
|
1274
|
+
async updateFulfillment(project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fulfillment>> {
|
|
1275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateFulfillment(project, platformId, fulfillmentId, updateFulfillmentRequest, options);
|
|
1276
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1277
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.updateFulfillment']?.[localVarOperationServerIndex]?.url;
|
|
1278
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1279
|
+
},
|
|
1280
|
+
}
|
|
962
1281
|
};
|
|
963
1282
|
|
|
964
1283
|
/**
|
|
@@ -976,7 +1295,37 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
976
1295
|
* @throws {RequiredError}
|
|
977
1296
|
*/
|
|
978
1297
|
exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
979
|
-
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
1298
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1299
|
+
},
|
|
1300
|
+
/**
|
|
1301
|
+
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1302
|
+
* @summary Get fulfillment
|
|
1303
|
+
* @param {OrdersApiGetFulfillmentRequest} requestParameters Request parameters.
|
|
1304
|
+
* @param {*} [options] Override http request option.
|
|
1305
|
+
* @throws {RequiredError}
|
|
1306
|
+
*/
|
|
1307
|
+
getFulfillment(requestParameters: OrdersApiGetFulfillmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Fulfillment> {
|
|
1308
|
+
return localVarFp.getFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(axios, basePath));
|
|
1309
|
+
},
|
|
1310
|
+
/**
|
|
1311
|
+
* Get an order for a platform by a given order ID.
|
|
1312
|
+
* @summary Get order
|
|
1313
|
+
* @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
1314
|
+
* @param {*} [options] Override http request option.
|
|
1315
|
+
* @throws {RequiredError}
|
|
1316
|
+
*/
|
|
1317
|
+
getOrder(requestParameters: OrdersApiGetOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
|
1318
|
+
return localVarFp.getOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(axios, basePath));
|
|
1319
|
+
},
|
|
1320
|
+
/**
|
|
1321
|
+
* List available fulfillers for a given fulfillment
|
|
1322
|
+
* @summary List available fulfillers
|
|
1323
|
+
* @param {OrdersApiListAvailableFulfillersRequest} requestParameters Request parameters.
|
|
1324
|
+
* @param {*} [options] Override http request option.
|
|
1325
|
+
* @throws {RequiredError}
|
|
1326
|
+
*/
|
|
1327
|
+
listAvailableFulfillers(requestParameters: OrdersApiListAvailableFulfillersRequest, options?: RawAxiosRequestConfig): AxiosPromise<FulfillersResponse> {
|
|
1328
|
+
return localVarFp.listAvailableFulfillers(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(axios, basePath));
|
|
980
1329
|
},
|
|
981
1330
|
/**
|
|
982
1331
|
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
@@ -988,6 +1337,16 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
988
1337
|
listOrders(requestParameters: OrdersApiListOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrdersResponse> {
|
|
989
1338
|
return localVarFp.listOrders(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
990
1339
|
},
|
|
1340
|
+
/**
|
|
1341
|
+
* Update a fulfillment that belongs to an order placed through the platform
|
|
1342
|
+
* @summary Update fulfillment
|
|
1343
|
+
* @param {OrdersApiUpdateFulfillmentRequest} requestParameters Request parameters.
|
|
1344
|
+
* @param {*} [options] Override http request option.
|
|
1345
|
+
* @throws {RequiredError}
|
|
1346
|
+
*/
|
|
1347
|
+
updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Fulfillment> {
|
|
1348
|
+
return localVarFp.updateFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, requestParameters.updateFulfillmentRequest, options).then((request) => request(axios, basePath));
|
|
1349
|
+
},
|
|
991
1350
|
};
|
|
992
1351
|
};
|
|
993
1352
|
|
|
@@ -1024,6 +1383,97 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1024
1383
|
* @memberof OrdersApiExportOrders
|
|
1025
1384
|
*/
|
|
1026
1385
|
readonly end?: string
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Search term to filter based on order reference, customer name and email
|
|
1389
|
+
* @type {string}
|
|
1390
|
+
* @memberof OrdersApiExportOrders
|
|
1391
|
+
*/
|
|
1392
|
+
readonly search?: string
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Request parameters for getFulfillment operation in OrdersApi.
|
|
1397
|
+
* @export
|
|
1398
|
+
* @interface OrdersApiGetFulfillmentRequest
|
|
1399
|
+
*/
|
|
1400
|
+
export interface OrdersApiGetFulfillmentRequest {
|
|
1401
|
+
/**
|
|
1402
|
+
* Project unique identifier
|
|
1403
|
+
* @type {string}
|
|
1404
|
+
* @memberof OrdersApiGetFulfillment
|
|
1405
|
+
*/
|
|
1406
|
+
readonly project: string
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* The platform identifier
|
|
1410
|
+
* @type {string}
|
|
1411
|
+
* @memberof OrdersApiGetFulfillment
|
|
1412
|
+
*/
|
|
1413
|
+
readonly platformId: string
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* The fulfillment identifier
|
|
1417
|
+
* @type {string}
|
|
1418
|
+
* @memberof OrdersApiGetFulfillment
|
|
1419
|
+
*/
|
|
1420
|
+
readonly fulfillmentId: string
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* Request parameters for getOrder operation in OrdersApi.
|
|
1425
|
+
* @export
|
|
1426
|
+
* @interface OrdersApiGetOrderRequest
|
|
1427
|
+
*/
|
|
1428
|
+
export interface OrdersApiGetOrderRequest {
|
|
1429
|
+
/**
|
|
1430
|
+
* Project unique identifier
|
|
1431
|
+
* @type {string}
|
|
1432
|
+
* @memberof OrdersApiGetOrder
|
|
1433
|
+
*/
|
|
1434
|
+
readonly project: string
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* The platform identifier
|
|
1438
|
+
* @type {string}
|
|
1439
|
+
* @memberof OrdersApiGetOrder
|
|
1440
|
+
*/
|
|
1441
|
+
readonly platformId: string
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* The order identifier
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof OrdersApiGetOrder
|
|
1447
|
+
*/
|
|
1448
|
+
readonly orderId: string
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Request parameters for listAvailableFulfillers operation in OrdersApi.
|
|
1453
|
+
* @export
|
|
1454
|
+
* @interface OrdersApiListAvailableFulfillersRequest
|
|
1455
|
+
*/
|
|
1456
|
+
export interface OrdersApiListAvailableFulfillersRequest {
|
|
1457
|
+
/**
|
|
1458
|
+
* Project unique identifier
|
|
1459
|
+
* @type {string}
|
|
1460
|
+
* @memberof OrdersApiListAvailableFulfillers
|
|
1461
|
+
*/
|
|
1462
|
+
readonly project: string
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* The platform identifier
|
|
1466
|
+
* @type {string}
|
|
1467
|
+
* @memberof OrdersApiListAvailableFulfillers
|
|
1468
|
+
*/
|
|
1469
|
+
readonly platformId: string
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* The fulfillment identifier
|
|
1473
|
+
* @type {string}
|
|
1474
|
+
* @memberof OrdersApiListAvailableFulfillers
|
|
1475
|
+
*/
|
|
1476
|
+
readonly fulfillmentId: string
|
|
1027
1477
|
}
|
|
1028
1478
|
|
|
1029
1479
|
/**
|
|
@@ -1082,6 +1532,41 @@ export interface OrdersApiListOrdersRequest {
|
|
|
1082
1532
|
readonly end?: string
|
|
1083
1533
|
}
|
|
1084
1534
|
|
|
1535
|
+
/**
|
|
1536
|
+
* Request parameters for updateFulfillment operation in OrdersApi.
|
|
1537
|
+
* @export
|
|
1538
|
+
* @interface OrdersApiUpdateFulfillmentRequest
|
|
1539
|
+
*/
|
|
1540
|
+
export interface OrdersApiUpdateFulfillmentRequest {
|
|
1541
|
+
/**
|
|
1542
|
+
* Project unique identifier
|
|
1543
|
+
* @type {string}
|
|
1544
|
+
* @memberof OrdersApiUpdateFulfillment
|
|
1545
|
+
*/
|
|
1546
|
+
readonly project: string
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* The platform identifier
|
|
1550
|
+
* @type {string}
|
|
1551
|
+
* @memberof OrdersApiUpdateFulfillment
|
|
1552
|
+
*/
|
|
1553
|
+
readonly platformId: string
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* The fulfillment identifier
|
|
1557
|
+
* @type {string}
|
|
1558
|
+
* @memberof OrdersApiUpdateFulfillment
|
|
1559
|
+
*/
|
|
1560
|
+
readonly fulfillmentId: string
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
*
|
|
1564
|
+
* @type {UpdateFulfillmentRequest}
|
|
1565
|
+
* @memberof OrdersApiUpdateFulfillment
|
|
1566
|
+
*/
|
|
1567
|
+
readonly updateFulfillmentRequest: UpdateFulfillmentRequest
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1085
1570
|
/**
|
|
1086
1571
|
* OrdersApi - object-oriented interface
|
|
1087
1572
|
* @export
|
|
@@ -1098,7 +1583,43 @@ export class OrdersApi extends BaseAPI {
|
|
|
1098
1583
|
* @memberof OrdersApi
|
|
1099
1584
|
*/
|
|
1100
1585
|
public exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
1101
|
-
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
1586
|
+
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1591
|
+
* @summary Get fulfillment
|
|
1592
|
+
* @param {OrdersApiGetFulfillmentRequest} requestParameters Request parameters.
|
|
1593
|
+
* @param {*} [options] Override http request option.
|
|
1594
|
+
* @throws {RequiredError}
|
|
1595
|
+
* @memberof OrdersApi
|
|
1596
|
+
*/
|
|
1597
|
+
public getFulfillment(requestParameters: OrdersApiGetFulfillmentRequest, options?: RawAxiosRequestConfig) {
|
|
1598
|
+
return OrdersApiFp(this.configuration).getFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* Get an order for a platform by a given order ID.
|
|
1603
|
+
* @summary Get order
|
|
1604
|
+
* @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
1605
|
+
* @param {*} [options] Override http request option.
|
|
1606
|
+
* @throws {RequiredError}
|
|
1607
|
+
* @memberof OrdersApi
|
|
1608
|
+
*/
|
|
1609
|
+
public getOrder(requestParameters: OrdersApiGetOrderRequest, options?: RawAxiosRequestConfig) {
|
|
1610
|
+
return OrdersApiFp(this.configuration).getOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* List available fulfillers for a given fulfillment
|
|
1615
|
+
* @summary List available fulfillers
|
|
1616
|
+
* @param {OrdersApiListAvailableFulfillersRequest} requestParameters Request parameters.
|
|
1617
|
+
* @param {*} [options] Override http request option.
|
|
1618
|
+
* @throws {RequiredError}
|
|
1619
|
+
* @memberof OrdersApi
|
|
1620
|
+
*/
|
|
1621
|
+
public listAvailableFulfillers(requestParameters: OrdersApiListAvailableFulfillersRequest, options?: RawAxiosRequestConfig) {
|
|
1622
|
+
return OrdersApiFp(this.configuration).listAvailableFulfillers(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1102
1623
|
}
|
|
1103
1624
|
|
|
1104
1625
|
/**
|
|
@@ -1112,6 +1633,18 @@ export class OrdersApi extends BaseAPI {
|
|
|
1112
1633
|
public listOrders(requestParameters: OrdersApiListOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
1113
1634
|
return OrdersApiFp(this.configuration).listOrders(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
1114
1635
|
}
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* Update a fulfillment that belongs to an order placed through the platform
|
|
1639
|
+
* @summary Update fulfillment
|
|
1640
|
+
* @param {OrdersApiUpdateFulfillmentRequest} requestParameters Request parameters.
|
|
1641
|
+
* @param {*} [options] Override http request option.
|
|
1642
|
+
* @throws {RequiredError}
|
|
1643
|
+
* @memberof OrdersApi
|
|
1644
|
+
*/
|
|
1645
|
+
public updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig) {
|
|
1646
|
+
return OrdersApiFp(this.configuration).updateFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, requestParameters.updateFulfillmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1647
|
+
}
|
|
1115
1648
|
}
|
|
1116
1649
|
|
|
1117
1650
|
|
|
@@ -1123,24 +1656,189 @@ export class OrdersApi extends BaseAPI {
|
|
|
1123
1656
|
export const PlatformApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1124
1657
|
return {
|
|
1125
1658
|
/**
|
|
1126
|
-
* Export orders as a CSV file
|
|
1127
|
-
* @summary Export orders
|
|
1659
|
+
* Export orders as a CSV file
|
|
1660
|
+
* @summary Export orders
|
|
1661
|
+
* @param {string} project Project unique identifier
|
|
1662
|
+
* @param {string} platformId The platform identifier
|
|
1663
|
+
* @param {string} start Start of date range to filter by when orders were placed
|
|
1664
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1665
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1666
|
+
* @param {*} [options] Override http request option.
|
|
1667
|
+
* @throws {RequiredError}
|
|
1668
|
+
*/
|
|
1669
|
+
exportOrders: async (project: string, platformId: string, start: string, end?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1670
|
+
// verify required parameter 'project' is not null or undefined
|
|
1671
|
+
assertParamExists('exportOrders', 'project', project)
|
|
1672
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
1673
|
+
assertParamExists('exportOrders', 'platformId', platformId)
|
|
1674
|
+
// verify required parameter 'start' is not null or undefined
|
|
1675
|
+
assertParamExists('exportOrders', 'start', start)
|
|
1676
|
+
const localVarPath = `/v1/platform/{platformId}/orders/export`
|
|
1677
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
1678
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1679
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1680
|
+
let baseOptions;
|
|
1681
|
+
if (configuration) {
|
|
1682
|
+
baseOptions = configuration.baseOptions;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1686
|
+
const localVarHeaderParameter = {} as any;
|
|
1687
|
+
const localVarQueryParameter = {} as any;
|
|
1688
|
+
|
|
1689
|
+
// authentication session-oauth required
|
|
1690
|
+
// oauth required
|
|
1691
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1692
|
+
|
|
1693
|
+
// authentication api-key required
|
|
1694
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1695
|
+
|
|
1696
|
+
if (project !== undefined) {
|
|
1697
|
+
localVarQueryParameter['project'] = project;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
if (start !== undefined) {
|
|
1701
|
+
localVarQueryParameter['start'] = (start as any instanceof Date) ?
|
|
1702
|
+
(start as any).toISOString() :
|
|
1703
|
+
start;
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
if (end !== undefined) {
|
|
1707
|
+
localVarQueryParameter['end'] = (end as any instanceof Date) ?
|
|
1708
|
+
(end as any).toISOString() :
|
|
1709
|
+
end;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
if (search !== undefined) {
|
|
1713
|
+
localVarQueryParameter['search'] = search;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
|
|
1718
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1719
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1720
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1721
|
+
|
|
1722
|
+
return {
|
|
1723
|
+
url: toPathString(localVarUrlObj),
|
|
1724
|
+
options: localVarRequestOptions,
|
|
1725
|
+
};
|
|
1726
|
+
},
|
|
1727
|
+
/**
|
|
1728
|
+
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1729
|
+
* @summary Get fulfillment
|
|
1730
|
+
* @param {string} project Project unique identifier
|
|
1731
|
+
* @param {string} platformId The platform identifier
|
|
1732
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
1733
|
+
* @param {*} [options] Override http request option.
|
|
1734
|
+
* @throws {RequiredError}
|
|
1735
|
+
*/
|
|
1736
|
+
getFulfillment: async (project: string, platformId: string, fulfillmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1737
|
+
// verify required parameter 'project' is not null or undefined
|
|
1738
|
+
assertParamExists('getFulfillment', 'project', project)
|
|
1739
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
1740
|
+
assertParamExists('getFulfillment', 'platformId', platformId)
|
|
1741
|
+
// verify required parameter 'fulfillmentId' is not null or undefined
|
|
1742
|
+
assertParamExists('getFulfillment', 'fulfillmentId', fulfillmentId)
|
|
1743
|
+
const localVarPath = `/v1/platform/{platformId}/fulfillments/{fulfillmentId}`
|
|
1744
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
1745
|
+
.replace(`{${"fulfillmentId"}}`, encodeURIComponent(String(fulfillmentId)));
|
|
1746
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1747
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1748
|
+
let baseOptions;
|
|
1749
|
+
if (configuration) {
|
|
1750
|
+
baseOptions = configuration.baseOptions;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1754
|
+
const localVarHeaderParameter = {} as any;
|
|
1755
|
+
const localVarQueryParameter = {} as any;
|
|
1756
|
+
|
|
1757
|
+
// authentication session-oauth required
|
|
1758
|
+
// oauth required
|
|
1759
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1760
|
+
|
|
1761
|
+
// authentication api-key required
|
|
1762
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1763
|
+
|
|
1764
|
+
if (project !== undefined) {
|
|
1765
|
+
localVarQueryParameter['project'] = project;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1771
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1772
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1773
|
+
|
|
1774
|
+
return {
|
|
1775
|
+
url: toPathString(localVarUrlObj),
|
|
1776
|
+
options: localVarRequestOptions,
|
|
1777
|
+
};
|
|
1778
|
+
},
|
|
1779
|
+
/**
|
|
1780
|
+
* Get an order for a platform by a given order ID.
|
|
1781
|
+
* @summary Get order
|
|
1782
|
+
* @param {string} project Project unique identifier
|
|
1783
|
+
* @param {string} platformId The platform identifier
|
|
1784
|
+
* @param {string} orderId The order identifier
|
|
1785
|
+
* @param {*} [options] Override http request option.
|
|
1786
|
+
* @throws {RequiredError}
|
|
1787
|
+
*/
|
|
1788
|
+
getOrder: async (project: string, platformId: string, orderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1789
|
+
// verify required parameter 'project' is not null or undefined
|
|
1790
|
+
assertParamExists('getOrder', 'project', project)
|
|
1791
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
1792
|
+
assertParamExists('getOrder', 'platformId', platformId)
|
|
1793
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
1794
|
+
assertParamExists('getOrder', 'orderId', orderId)
|
|
1795
|
+
const localVarPath = `/v1/platform/{platformId}/orders/{orderId}`
|
|
1796
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
1797
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
1798
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1799
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1800
|
+
let baseOptions;
|
|
1801
|
+
if (configuration) {
|
|
1802
|
+
baseOptions = configuration.baseOptions;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1806
|
+
const localVarHeaderParameter = {} as any;
|
|
1807
|
+
const localVarQueryParameter = {} as any;
|
|
1808
|
+
|
|
1809
|
+
// authentication session-oauth required
|
|
1810
|
+
// oauth required
|
|
1811
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1812
|
+
|
|
1813
|
+
// authentication api-key required
|
|
1814
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1815
|
+
|
|
1816
|
+
if (project !== undefined) {
|
|
1817
|
+
localVarQueryParameter['project'] = project;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
|
|
1822
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1823
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1824
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1825
|
+
|
|
1826
|
+
return {
|
|
1827
|
+
url: toPathString(localVarUrlObj),
|
|
1828
|
+
options: localVarRequestOptions,
|
|
1829
|
+
};
|
|
1830
|
+
},
|
|
1831
|
+
/**
|
|
1832
|
+
*
|
|
1833
|
+
* @summary Get platform details
|
|
1128
1834
|
* @param {string} project Project unique identifier
|
|
1129
|
-
* @param {string} platformId The platform identifier
|
|
1130
|
-
* @param {string} start Start of date range to filter by when orders were placed
|
|
1131
|
-
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1132
1835
|
* @param {*} [options] Override http request option.
|
|
1133
1836
|
* @throws {RequiredError}
|
|
1134
1837
|
*/
|
|
1135
|
-
|
|
1838
|
+
getPlatform: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1136
1839
|
// verify required parameter 'project' is not null or undefined
|
|
1137
|
-
assertParamExists('
|
|
1138
|
-
|
|
1139
|
-
assertParamExists('exportOrders', 'platformId', platformId)
|
|
1140
|
-
// verify required parameter 'start' is not null or undefined
|
|
1141
|
-
assertParamExists('exportOrders', 'start', start)
|
|
1142
|
-
const localVarPath = `/v1/platform/{platformId}/orders/export`
|
|
1143
|
-
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
1840
|
+
assertParamExists('getPlatform', 'project', project)
|
|
1841
|
+
const localVarPath = `/v1/platform`;
|
|
1144
1842
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1145
1843
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1146
1844
|
let baseOptions;
|
|
@@ -1163,18 +1861,6 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1163
1861
|
localVarQueryParameter['project'] = project;
|
|
1164
1862
|
}
|
|
1165
1863
|
|
|
1166
|
-
if (start !== undefined) {
|
|
1167
|
-
localVarQueryParameter['start'] = (start as any instanceof Date) ?
|
|
1168
|
-
(start as any).toISOString() :
|
|
1169
|
-
start;
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
if (end !== undefined) {
|
|
1173
|
-
localVarQueryParameter['end'] = (end as any instanceof Date) ?
|
|
1174
|
-
(end as any).toISOString() :
|
|
1175
|
-
end;
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
1864
|
|
|
1179
1865
|
|
|
1180
1866
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1187,16 +1873,24 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1187
1873
|
};
|
|
1188
1874
|
},
|
|
1189
1875
|
/**
|
|
1190
|
-
*
|
|
1191
|
-
* @summary
|
|
1876
|
+
* List available fulfillers for a given fulfillment
|
|
1877
|
+
* @summary List available fulfillers
|
|
1192
1878
|
* @param {string} project Project unique identifier
|
|
1879
|
+
* @param {string} platformId The platform identifier
|
|
1880
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
1193
1881
|
* @param {*} [options] Override http request option.
|
|
1194
1882
|
* @throws {RequiredError}
|
|
1195
1883
|
*/
|
|
1196
|
-
|
|
1884
|
+
listAvailableFulfillers: async (project: string, platformId: string, fulfillmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1197
1885
|
// verify required parameter 'project' is not null or undefined
|
|
1198
|
-
assertParamExists('
|
|
1199
|
-
|
|
1886
|
+
assertParamExists('listAvailableFulfillers', 'project', project)
|
|
1887
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
1888
|
+
assertParamExists('listAvailableFulfillers', 'platformId', platformId)
|
|
1889
|
+
// verify required parameter 'fulfillmentId' is not null or undefined
|
|
1890
|
+
assertParamExists('listAvailableFulfillers', 'fulfillmentId', fulfillmentId)
|
|
1891
|
+
const localVarPath = `/v1/platform/{platformId}/fulfillments/{fulfillmentId}/available-fulfillers`
|
|
1892
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
1893
|
+
.replace(`{${"fulfillmentId"}}`, encodeURIComponent(String(fulfillmentId)));
|
|
1200
1894
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1201
1895
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1202
1896
|
let baseOptions;
|
|
@@ -1307,6 +2001,64 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1307
2001
|
options: localVarRequestOptions,
|
|
1308
2002
|
};
|
|
1309
2003
|
},
|
|
2004
|
+
/**
|
|
2005
|
+
* Update a fulfillment that belongs to an order placed through the platform
|
|
2006
|
+
* @summary Update fulfillment
|
|
2007
|
+
* @param {string} project Project unique identifier
|
|
2008
|
+
* @param {string} platformId The platform identifier
|
|
2009
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
2010
|
+
* @param {UpdateFulfillmentRequest} updateFulfillmentRequest
|
|
2011
|
+
* @param {*} [options] Override http request option.
|
|
2012
|
+
* @throws {RequiredError}
|
|
2013
|
+
*/
|
|
2014
|
+
updateFulfillment: async (project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2015
|
+
// verify required parameter 'project' is not null or undefined
|
|
2016
|
+
assertParamExists('updateFulfillment', 'project', project)
|
|
2017
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
2018
|
+
assertParamExists('updateFulfillment', 'platformId', platformId)
|
|
2019
|
+
// verify required parameter 'fulfillmentId' is not null or undefined
|
|
2020
|
+
assertParamExists('updateFulfillment', 'fulfillmentId', fulfillmentId)
|
|
2021
|
+
// verify required parameter 'updateFulfillmentRequest' is not null or undefined
|
|
2022
|
+
assertParamExists('updateFulfillment', 'updateFulfillmentRequest', updateFulfillmentRequest)
|
|
2023
|
+
const localVarPath = `/v1/platform/{platformId}/fulfillments/{fulfillmentId}`
|
|
2024
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
2025
|
+
.replace(`{${"fulfillmentId"}}`, encodeURIComponent(String(fulfillmentId)));
|
|
2026
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2027
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2028
|
+
let baseOptions;
|
|
2029
|
+
if (configuration) {
|
|
2030
|
+
baseOptions = configuration.baseOptions;
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
2034
|
+
const localVarHeaderParameter = {} as any;
|
|
2035
|
+
const localVarQueryParameter = {} as any;
|
|
2036
|
+
|
|
2037
|
+
// authentication session-oauth required
|
|
2038
|
+
// oauth required
|
|
2039
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2040
|
+
|
|
2041
|
+
// authentication api-key required
|
|
2042
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2043
|
+
|
|
2044
|
+
if (project !== undefined) {
|
|
2045
|
+
localVarQueryParameter['project'] = project;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
|
|
2049
|
+
|
|
2050
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2051
|
+
|
|
2052
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2053
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2054
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2055
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateFulfillmentRequest, localVarRequestOptions, configuration)
|
|
2056
|
+
|
|
2057
|
+
return {
|
|
2058
|
+
url: toPathString(localVarUrlObj),
|
|
2059
|
+
options: localVarRequestOptions,
|
|
2060
|
+
};
|
|
2061
|
+
},
|
|
1310
2062
|
/**
|
|
1311
2063
|
*
|
|
1312
2064
|
* @summary Update platform
|
|
@@ -1374,15 +2126,46 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
1374
2126
|
* @param {string} platformId The platform identifier
|
|
1375
2127
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1376
2128
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
2129
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1377
2130
|
* @param {*} [options] Override http request option.
|
|
1378
2131
|
* @throws {RequiredError}
|
|
1379
2132
|
*/
|
|
1380
|
-
async exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1381
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
2133
|
+
async exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
2134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
1382
2135
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1383
2136
|
const localVarOperationServerBasePath = operationServerMap['PlatformApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
1384
2137
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1385
2138
|
},
|
|
2139
|
+
/**
|
|
2140
|
+
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
2141
|
+
* @summary Get fulfillment
|
|
2142
|
+
* @param {string} project Project unique identifier
|
|
2143
|
+
* @param {string} platformId The platform identifier
|
|
2144
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
2145
|
+
* @param {*} [options] Override http request option.
|
|
2146
|
+
* @throws {RequiredError}
|
|
2147
|
+
*/
|
|
2148
|
+
async getFulfillment(project: string, platformId: string, fulfillmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fulfillment>> {
|
|
2149
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillment(project, platformId, fulfillmentId, options);
|
|
2150
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2151
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformApi.getFulfillment']?.[localVarOperationServerIndex]?.url;
|
|
2152
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2153
|
+
},
|
|
2154
|
+
/**
|
|
2155
|
+
* Get an order for a platform by a given order ID.
|
|
2156
|
+
* @summary Get order
|
|
2157
|
+
* @param {string} project Project unique identifier
|
|
2158
|
+
* @param {string} platformId The platform identifier
|
|
2159
|
+
* @param {string} orderId The order identifier
|
|
2160
|
+
* @param {*} [options] Override http request option.
|
|
2161
|
+
* @throws {RequiredError}
|
|
2162
|
+
*/
|
|
2163
|
+
async getOrder(project: string, platformId: string, orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {
|
|
2164
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrder(project, platformId, orderId, options);
|
|
2165
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2166
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformApi.getOrder']?.[localVarOperationServerIndex]?.url;
|
|
2167
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2168
|
+
},
|
|
1386
2169
|
/**
|
|
1387
2170
|
*
|
|
1388
2171
|
* @summary Get platform details
|
|
@@ -1396,6 +2179,21 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
1396
2179
|
const localVarOperationServerBasePath = operationServerMap['PlatformApi.getPlatform']?.[localVarOperationServerIndex]?.url;
|
|
1397
2180
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1398
2181
|
},
|
|
2182
|
+
/**
|
|
2183
|
+
* List available fulfillers for a given fulfillment
|
|
2184
|
+
* @summary List available fulfillers
|
|
2185
|
+
* @param {string} project Project unique identifier
|
|
2186
|
+
* @param {string} platformId The platform identifier
|
|
2187
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
2188
|
+
* @param {*} [options] Override http request option.
|
|
2189
|
+
* @throws {RequiredError}
|
|
2190
|
+
*/
|
|
2191
|
+
async listAvailableFulfillers(project: string, platformId: string, fulfillmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FulfillersResponse>> {
|
|
2192
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableFulfillers(project, platformId, fulfillmentId, options);
|
|
2193
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2194
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformApi.listAvailableFulfillers']?.[localVarOperationServerIndex]?.url;
|
|
2195
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2196
|
+
},
|
|
1399
2197
|
/**
|
|
1400
2198
|
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
1401
2199
|
* @summary List orders
|
|
@@ -1415,6 +2213,22 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
1415
2213
|
const localVarOperationServerBasePath = operationServerMap['PlatformApi.listOrders']?.[localVarOperationServerIndex]?.url;
|
|
1416
2214
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1417
2215
|
},
|
|
2216
|
+
/**
|
|
2217
|
+
* Update a fulfillment that belongs to an order placed through the platform
|
|
2218
|
+
* @summary Update fulfillment
|
|
2219
|
+
* @param {string} project Project unique identifier
|
|
2220
|
+
* @param {string} platformId The platform identifier
|
|
2221
|
+
* @param {string} fulfillmentId The fulfillment identifier
|
|
2222
|
+
* @param {UpdateFulfillmentRequest} updateFulfillmentRequest
|
|
2223
|
+
* @param {*} [options] Override http request option.
|
|
2224
|
+
* @throws {RequiredError}
|
|
2225
|
+
*/
|
|
2226
|
+
async updateFulfillment(project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fulfillment>> {
|
|
2227
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateFulfillment(project, platformId, fulfillmentId, updateFulfillmentRequest, options);
|
|
2228
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2229
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformApi.updateFulfillment']?.[localVarOperationServerIndex]?.url;
|
|
2230
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2231
|
+
},
|
|
1418
2232
|
/**
|
|
1419
2233
|
*
|
|
1420
2234
|
* @summary Update platform
|
|
@@ -1447,7 +2261,27 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
1447
2261
|
* @throws {RequiredError}
|
|
1448
2262
|
*/
|
|
1449
2263
|
exportOrders(requestParameters: PlatformApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1450
|
-
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
2264
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
2265
|
+
},
|
|
2266
|
+
/**
|
|
2267
|
+
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
2268
|
+
* @summary Get fulfillment
|
|
2269
|
+
* @param {PlatformApiGetFulfillmentRequest} requestParameters Request parameters.
|
|
2270
|
+
* @param {*} [options] Override http request option.
|
|
2271
|
+
* @throws {RequiredError}
|
|
2272
|
+
*/
|
|
2273
|
+
getFulfillment(requestParameters: PlatformApiGetFulfillmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Fulfillment> {
|
|
2274
|
+
return localVarFp.getFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(axios, basePath));
|
|
2275
|
+
},
|
|
2276
|
+
/**
|
|
2277
|
+
* Get an order for a platform by a given order ID.
|
|
2278
|
+
* @summary Get order
|
|
2279
|
+
* @param {PlatformApiGetOrderRequest} requestParameters Request parameters.
|
|
2280
|
+
* @param {*} [options] Override http request option.
|
|
2281
|
+
* @throws {RequiredError}
|
|
2282
|
+
*/
|
|
2283
|
+
getOrder(requestParameters: PlatformApiGetOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
|
2284
|
+
return localVarFp.getOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(axios, basePath));
|
|
1451
2285
|
},
|
|
1452
2286
|
/**
|
|
1453
2287
|
*
|
|
@@ -1459,6 +2293,16 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
1459
2293
|
getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform> {
|
|
1460
2294
|
return localVarFp.getPlatform(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1461
2295
|
},
|
|
2296
|
+
/**
|
|
2297
|
+
* List available fulfillers for a given fulfillment
|
|
2298
|
+
* @summary List available fulfillers
|
|
2299
|
+
* @param {PlatformApiListAvailableFulfillersRequest} requestParameters Request parameters.
|
|
2300
|
+
* @param {*} [options] Override http request option.
|
|
2301
|
+
* @throws {RequiredError}
|
|
2302
|
+
*/
|
|
2303
|
+
listAvailableFulfillers(requestParameters: PlatformApiListAvailableFulfillersRequest, options?: RawAxiosRequestConfig): AxiosPromise<FulfillersResponse> {
|
|
2304
|
+
return localVarFp.listAvailableFulfillers(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(axios, basePath));
|
|
2305
|
+
},
|
|
1462
2306
|
/**
|
|
1463
2307
|
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
1464
2308
|
* @summary List orders
|
|
@@ -1469,6 +2313,16 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
1469
2313
|
listOrders(requestParameters: PlatformApiListOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrdersResponse> {
|
|
1470
2314
|
return localVarFp.listOrders(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
1471
2315
|
},
|
|
2316
|
+
/**
|
|
2317
|
+
* Update a fulfillment that belongs to an order placed through the platform
|
|
2318
|
+
* @summary Update fulfillment
|
|
2319
|
+
* @param {PlatformApiUpdateFulfillmentRequest} requestParameters Request parameters.
|
|
2320
|
+
* @param {*} [options] Override http request option.
|
|
2321
|
+
* @throws {RequiredError}
|
|
2322
|
+
*/
|
|
2323
|
+
updateFulfillment(requestParameters: PlatformApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Fulfillment> {
|
|
2324
|
+
return localVarFp.updateFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, requestParameters.updateFulfillmentRequest, options).then((request) => request(axios, basePath));
|
|
2325
|
+
},
|
|
1472
2326
|
/**
|
|
1473
2327
|
*
|
|
1474
2328
|
* @summary Update platform
|
|
@@ -1515,6 +2369,69 @@ export interface PlatformApiExportOrdersRequest {
|
|
|
1515
2369
|
* @memberof PlatformApiExportOrders
|
|
1516
2370
|
*/
|
|
1517
2371
|
readonly end?: string
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* Search term to filter based on order reference, customer name and email
|
|
2375
|
+
* @type {string}
|
|
2376
|
+
* @memberof PlatformApiExportOrders
|
|
2377
|
+
*/
|
|
2378
|
+
readonly search?: string
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
/**
|
|
2382
|
+
* Request parameters for getFulfillment operation in PlatformApi.
|
|
2383
|
+
* @export
|
|
2384
|
+
* @interface PlatformApiGetFulfillmentRequest
|
|
2385
|
+
*/
|
|
2386
|
+
export interface PlatformApiGetFulfillmentRequest {
|
|
2387
|
+
/**
|
|
2388
|
+
* Project unique identifier
|
|
2389
|
+
* @type {string}
|
|
2390
|
+
* @memberof PlatformApiGetFulfillment
|
|
2391
|
+
*/
|
|
2392
|
+
readonly project: string
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* The platform identifier
|
|
2396
|
+
* @type {string}
|
|
2397
|
+
* @memberof PlatformApiGetFulfillment
|
|
2398
|
+
*/
|
|
2399
|
+
readonly platformId: string
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* The fulfillment identifier
|
|
2403
|
+
* @type {string}
|
|
2404
|
+
* @memberof PlatformApiGetFulfillment
|
|
2405
|
+
*/
|
|
2406
|
+
readonly fulfillmentId: string
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
/**
|
|
2410
|
+
* Request parameters for getOrder operation in PlatformApi.
|
|
2411
|
+
* @export
|
|
2412
|
+
* @interface PlatformApiGetOrderRequest
|
|
2413
|
+
*/
|
|
2414
|
+
export interface PlatformApiGetOrderRequest {
|
|
2415
|
+
/**
|
|
2416
|
+
* Project unique identifier
|
|
2417
|
+
* @type {string}
|
|
2418
|
+
* @memberof PlatformApiGetOrder
|
|
2419
|
+
*/
|
|
2420
|
+
readonly project: string
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* The platform identifier
|
|
2424
|
+
* @type {string}
|
|
2425
|
+
* @memberof PlatformApiGetOrder
|
|
2426
|
+
*/
|
|
2427
|
+
readonly platformId: string
|
|
2428
|
+
|
|
2429
|
+
/**
|
|
2430
|
+
* The order identifier
|
|
2431
|
+
* @type {string}
|
|
2432
|
+
* @memberof PlatformApiGetOrder
|
|
2433
|
+
*/
|
|
2434
|
+
readonly orderId: string
|
|
1518
2435
|
}
|
|
1519
2436
|
|
|
1520
2437
|
/**
|
|
@@ -1531,6 +2448,34 @@ export interface PlatformApiGetPlatformRequest {
|
|
|
1531
2448
|
readonly project: string
|
|
1532
2449
|
}
|
|
1533
2450
|
|
|
2451
|
+
/**
|
|
2452
|
+
* Request parameters for listAvailableFulfillers operation in PlatformApi.
|
|
2453
|
+
* @export
|
|
2454
|
+
* @interface PlatformApiListAvailableFulfillersRequest
|
|
2455
|
+
*/
|
|
2456
|
+
export interface PlatformApiListAvailableFulfillersRequest {
|
|
2457
|
+
/**
|
|
2458
|
+
* Project unique identifier
|
|
2459
|
+
* @type {string}
|
|
2460
|
+
* @memberof PlatformApiListAvailableFulfillers
|
|
2461
|
+
*/
|
|
2462
|
+
readonly project: string
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* The platform identifier
|
|
2466
|
+
* @type {string}
|
|
2467
|
+
* @memberof PlatformApiListAvailableFulfillers
|
|
2468
|
+
*/
|
|
2469
|
+
readonly platformId: string
|
|
2470
|
+
|
|
2471
|
+
/**
|
|
2472
|
+
* The fulfillment identifier
|
|
2473
|
+
* @type {string}
|
|
2474
|
+
* @memberof PlatformApiListAvailableFulfillers
|
|
2475
|
+
*/
|
|
2476
|
+
readonly fulfillmentId: string
|
|
2477
|
+
}
|
|
2478
|
+
|
|
1534
2479
|
/**
|
|
1535
2480
|
* Request parameters for listOrders operation in PlatformApi.
|
|
1536
2481
|
* @export
|
|
@@ -1587,6 +2532,41 @@ export interface PlatformApiListOrdersRequest {
|
|
|
1587
2532
|
readonly end?: string
|
|
1588
2533
|
}
|
|
1589
2534
|
|
|
2535
|
+
/**
|
|
2536
|
+
* Request parameters for updateFulfillment operation in PlatformApi.
|
|
2537
|
+
* @export
|
|
2538
|
+
* @interface PlatformApiUpdateFulfillmentRequest
|
|
2539
|
+
*/
|
|
2540
|
+
export interface PlatformApiUpdateFulfillmentRequest {
|
|
2541
|
+
/**
|
|
2542
|
+
* Project unique identifier
|
|
2543
|
+
* @type {string}
|
|
2544
|
+
* @memberof PlatformApiUpdateFulfillment
|
|
2545
|
+
*/
|
|
2546
|
+
readonly project: string
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* The platform identifier
|
|
2550
|
+
* @type {string}
|
|
2551
|
+
* @memberof PlatformApiUpdateFulfillment
|
|
2552
|
+
*/
|
|
2553
|
+
readonly platformId: string
|
|
2554
|
+
|
|
2555
|
+
/**
|
|
2556
|
+
* The fulfillment identifier
|
|
2557
|
+
* @type {string}
|
|
2558
|
+
* @memberof PlatformApiUpdateFulfillment
|
|
2559
|
+
*/
|
|
2560
|
+
readonly fulfillmentId: string
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
*
|
|
2564
|
+
* @type {UpdateFulfillmentRequest}
|
|
2565
|
+
* @memberof PlatformApiUpdateFulfillment
|
|
2566
|
+
*/
|
|
2567
|
+
readonly updateFulfillmentRequest: UpdateFulfillmentRequest
|
|
2568
|
+
}
|
|
2569
|
+
|
|
1590
2570
|
/**
|
|
1591
2571
|
* Request parameters for updatePlatform operation in PlatformApi.
|
|
1592
2572
|
* @export
|
|
@@ -1624,7 +2604,31 @@ export class PlatformApi extends BaseAPI {
|
|
|
1624
2604
|
* @memberof PlatformApi
|
|
1625
2605
|
*/
|
|
1626
2606
|
public exportOrders(requestParameters: PlatformApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
1627
|
-
return PlatformApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
2607
|
+
return PlatformApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
2608
|
+
}
|
|
2609
|
+
|
|
2610
|
+
/**
|
|
2611
|
+
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
2612
|
+
* @summary Get fulfillment
|
|
2613
|
+
* @param {PlatformApiGetFulfillmentRequest} requestParameters Request parameters.
|
|
2614
|
+
* @param {*} [options] Override http request option.
|
|
2615
|
+
* @throws {RequiredError}
|
|
2616
|
+
* @memberof PlatformApi
|
|
2617
|
+
*/
|
|
2618
|
+
public getFulfillment(requestParameters: PlatformApiGetFulfillmentRequest, options?: RawAxiosRequestConfig) {
|
|
2619
|
+
return PlatformApiFp(this.configuration).getFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(this.axios, this.basePath));
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
/**
|
|
2623
|
+
* Get an order for a platform by a given order ID.
|
|
2624
|
+
* @summary Get order
|
|
2625
|
+
* @param {PlatformApiGetOrderRequest} requestParameters Request parameters.
|
|
2626
|
+
* @param {*} [options] Override http request option.
|
|
2627
|
+
* @throws {RequiredError}
|
|
2628
|
+
* @memberof PlatformApi
|
|
2629
|
+
*/
|
|
2630
|
+
public getOrder(requestParameters: PlatformApiGetOrderRequest, options?: RawAxiosRequestConfig) {
|
|
2631
|
+
return PlatformApiFp(this.configuration).getOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
1628
2632
|
}
|
|
1629
2633
|
|
|
1630
2634
|
/**
|
|
@@ -1639,6 +2643,18 @@ export class PlatformApi extends BaseAPI {
|
|
|
1639
2643
|
return PlatformApiFp(this.configuration).getPlatform(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1640
2644
|
}
|
|
1641
2645
|
|
|
2646
|
+
/**
|
|
2647
|
+
* List available fulfillers for a given fulfillment
|
|
2648
|
+
* @summary List available fulfillers
|
|
2649
|
+
* @param {PlatformApiListAvailableFulfillersRequest} requestParameters Request parameters.
|
|
2650
|
+
* @param {*} [options] Override http request option.
|
|
2651
|
+
* @throws {RequiredError}
|
|
2652
|
+
* @memberof PlatformApi
|
|
2653
|
+
*/
|
|
2654
|
+
public listAvailableFulfillers(requestParameters: PlatformApiListAvailableFulfillersRequest, options?: RawAxiosRequestConfig) {
|
|
2655
|
+
return PlatformApiFp(this.configuration).listAvailableFulfillers(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(this.axios, this.basePath));
|
|
2656
|
+
}
|
|
2657
|
+
|
|
1642
2658
|
/**
|
|
1643
2659
|
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
1644
2660
|
* @summary List orders
|
|
@@ -1651,6 +2667,18 @@ export class PlatformApi extends BaseAPI {
|
|
|
1651
2667
|
return PlatformApiFp(this.configuration).listOrders(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
1652
2668
|
}
|
|
1653
2669
|
|
|
2670
|
+
/**
|
|
2671
|
+
* Update a fulfillment that belongs to an order placed through the platform
|
|
2672
|
+
* @summary Update fulfillment
|
|
2673
|
+
* @param {PlatformApiUpdateFulfillmentRequest} requestParameters Request parameters.
|
|
2674
|
+
* @param {*} [options] Override http request option.
|
|
2675
|
+
* @throws {RequiredError}
|
|
2676
|
+
* @memberof PlatformApi
|
|
2677
|
+
*/
|
|
2678
|
+
public updateFulfillment(requestParameters: PlatformApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig) {
|
|
2679
|
+
return PlatformApiFp(this.configuration).updateFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, requestParameters.updateFulfillmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2680
|
+
}
|
|
2681
|
+
|
|
1654
2682
|
/**
|
|
1655
2683
|
*
|
|
1656
2684
|
* @summary Update platform
|