@sp-api-sdk/external-fulfillment-returns-api-2024-09-11 1.1.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/LICENSE +21 -0
- package/README.md +99 -0
- package/dist/cjs/api-model/api/external-fulfillment-returns-api.js +257 -0
- package/dist/cjs/api-model/api.js +30 -0
- package/dist/cjs/api-model/base.js +52 -0
- package/dist/cjs/api-model/common.js +108 -0
- package/dist/cjs/api-model/configuration.js +87 -0
- package/dist/cjs/api-model/index.js +32 -0
- package/dist/cjs/api-model/models/error-list.js +15 -0
- package/dist/cjs/api-model/models/index.js +28 -0
- package/dist/cjs/api-model/models/invoice-information.js +15 -0
- package/dist/cjs/api-model/models/marketplace-channel-details.js +15 -0
- package/dist/cjs/api-model/models/marketplace-channel.js +15 -0
- package/dist/cjs/api-model/models/model-error.js +15 -0
- package/dist/cjs/api-model/models/otp-details.js +15 -0
- package/dist/cjs/api-model/models/replanning-details.js +15 -0
- package/dist/cjs/api-model/models/return-metadata.js +15 -0
- package/dist/cjs/api-model/models/return-shipping-info.js +15 -0
- package/dist/cjs/api-model/models/return.js +46 -0
- package/dist/cjs/api-model/models/returns-response.js +15 -0
- package/dist/cjs/api-model/models/tracking-info.js +15 -0
- package/dist/cjs/client.js +13 -0
- package/dist/cjs/index.js +19 -0
- package/dist/es/api-model/api/external-fulfillment-returns-api.js +247 -0
- package/dist/es/api-model/api.js +14 -0
- package/dist/es/api-model/base.js +44 -0
- package/dist/es/api-model/common.js +96 -0
- package/dist/es/api-model/configuration.js +83 -0
- package/dist/es/api-model/index.js +16 -0
- package/dist/es/api-model/models/error-list.js +14 -0
- package/dist/es/api-model/models/index.js +12 -0
- package/dist/es/api-model/models/invoice-information.js +14 -0
- package/dist/es/api-model/models/marketplace-channel-details.js +14 -0
- package/dist/es/api-model/models/marketplace-channel.js +14 -0
- package/dist/es/api-model/models/model-error.js +14 -0
- package/dist/es/api-model/models/otp-details.js +14 -0
- package/dist/es/api-model/models/replanning-details.js +14 -0
- package/dist/es/api-model/models/return-metadata.js +14 -0
- package/dist/es/api-model/models/return-shipping-info.js +14 -0
- package/dist/es/api-model/models/return.js +43 -0
- package/dist/es/api-model/models/returns-response.js +14 -0
- package/dist/es/api-model/models/tracking-info.js +14 -0
- package/dist/es/client.js +9 -0
- package/dist/es/index.js +3 -0
- package/dist/types/api-model/api/external-fulfillment-returns-api.d.ts +195 -0
- package/dist/types/api-model/api.d.ts +12 -0
- package/dist/types/api-model/base.d.ts +42 -0
- package/dist/types/api-model/common.d.ts +28 -0
- package/dist/types/api-model/configuration.d.ts +74 -0
- package/dist/types/api-model/index.d.ts +14 -0
- package/dist/types/api-model/models/error-list.d.ts +20 -0
- package/dist/types/api-model/models/index.d.ts +12 -0
- package/dist/types/api-model/models/invoice-information.d.ts +20 -0
- package/dist/types/api-model/models/marketplace-channel-details.d.ts +42 -0
- package/dist/types/api-model/models/marketplace-channel.d.ts +24 -0
- package/dist/types/api-model/models/model-error.d.ts +28 -0
- package/dist/types/api-model/models/otp-details.d.ts +24 -0
- package/dist/types/api-model/models/replanning-details.d.ts +21 -0
- package/dist/types/api-model/models/return-metadata.d.ts +30 -0
- package/dist/types/api-model/models/return-shipping-info.d.ts +27 -0
- package/dist/types/api-model/models/return.d.ts +104 -0
- package/dist/types/api-model/models/returns-response.d.ts +25 -0
- package/dist/types/api-model/models/tracking-info.d.ts +24 -0
- package/dist/types/client.d.ts +6 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +44 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api"), exports);
|
|
31
|
+
__exportStar(require("./configuration"), exports);
|
|
32
|
+
__exportStar(require("./models"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./error-list"), exports);
|
|
18
|
+
__exportStar(require("./invoice-information"), exports);
|
|
19
|
+
__exportStar(require("./marketplace-channel"), exports);
|
|
20
|
+
__exportStar(require("./marketplace-channel-details"), exports);
|
|
21
|
+
__exportStar(require("./model-error"), exports);
|
|
22
|
+
__exportStar(require("./otp-details"), exports);
|
|
23
|
+
__exportStar(require("./replanning-details"), exports);
|
|
24
|
+
__exportStar(require("./return"), exports);
|
|
25
|
+
__exportStar(require("./return-metadata"), exports);
|
|
26
|
+
__exportStar(require("./return-shipping-info"), exports);
|
|
27
|
+
__exportStar(require("./returns-response"), exports);
|
|
28
|
+
__exportStar(require("./tracking-info"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ReturnPackageDeliveryModeEnum = exports.ReturnStatusEnum = exports.ReturnReturnSubTypeEnum = exports.ReturnReturnTypeEnum = void 0;
|
|
17
|
+
exports.ReturnReturnTypeEnum = {
|
|
18
|
+
Customer: 'CUSTOMER',
|
|
19
|
+
Reject: 'REJECT'
|
|
20
|
+
};
|
|
21
|
+
exports.ReturnReturnSubTypeEnum = {
|
|
22
|
+
Normal: 'NORMAL',
|
|
23
|
+
Replacement: 'REPLACEMENT',
|
|
24
|
+
Exchange: 'EXCHANGE'
|
|
25
|
+
};
|
|
26
|
+
exports.ReturnStatusEnum = {
|
|
27
|
+
Created: 'CREATED',
|
|
28
|
+
CarrierNotifiedToPickUpFromCustomer: 'CARRIER_NOTIFIED_TO_PICK_UP_FROM_CUSTOMER',
|
|
29
|
+
CarrierOutForPickUpFromCustomer: 'CARRIER_OUT_FOR_PICK_UP_FROM_CUSTOMER',
|
|
30
|
+
CustomerCancelledPickUp: 'CUSTOMER_CANCELLED_PICK_UP',
|
|
31
|
+
CustomerRescheduledPickUp: 'CUSTOMER_RESCHEDULED_PICK_UP',
|
|
32
|
+
PickedFromCustomer: 'PICKED_FROM_CUSTOMER',
|
|
33
|
+
InTransit: 'IN_TRANSIT',
|
|
34
|
+
OutForDelivery: 'OUT_FOR_DELIVERY',
|
|
35
|
+
Delivered: 'DELIVERED',
|
|
36
|
+
Replanned: 'REPLANNED',
|
|
37
|
+
CustomerDroppedOff: 'CUSTOMER_DROPPED_OFF',
|
|
38
|
+
PartiallyProcessed: 'PARTIALLY_PROCESSED',
|
|
39
|
+
Processed: 'PROCESSED',
|
|
40
|
+
Rejected: 'REJECTED',
|
|
41
|
+
Cancelled: 'CANCELLED'
|
|
42
|
+
};
|
|
43
|
+
exports.ReturnPackageDeliveryModeEnum = {
|
|
44
|
+
WithOtp: 'WITH_OTP',
|
|
45
|
+
WithoutOtp: 'WITHOUT_OTP'
|
|
46
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
6
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExternalFulfillmentReturnsApiClient = exports.clientRateLimits = void 0;
|
|
4
|
+
const common_1 = require("@sp-api-sdk/common");
|
|
5
|
+
const api_model_1 = require("./api-model");
|
|
6
|
+
exports.clientRateLimits = [];
|
|
7
|
+
class ExternalFulfillmentReturnsApiClient extends api_model_1.ExternalFulfillmentReturnsApi {
|
|
8
|
+
constructor(configuration) {
|
|
9
|
+
const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
|
|
10
|
+
super(new api_model_1.Configuration(), endpoint, axios);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.ExternalFulfillmentReturnsApiClient = ExternalFulfillmentReturnsApiClient;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./api-model/api"), exports);
|
|
19
|
+
__exportStar(require("./api-model/models"), exports);
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
5
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
8
|
+
* Contact: marketplaceapitest@amazon.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import globalAxios from 'axios';
|
|
15
|
+
// Some imports not used depending on template conditions
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
20
|
+
/**
|
|
21
|
+
* ExternalFulfillmentReturnsApi - axios parameter creator
|
|
22
|
+
*/
|
|
23
|
+
export const ExternalFulfillmentReturnsApiAxiosParamCreator = function (configuration) {
|
|
24
|
+
return {
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve the return item with the specified ID.
|
|
27
|
+
* @param {string} returnId The ID of the return item you want.
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
getReturn: async (returnId, options = {}) => {
|
|
32
|
+
// verify required parameter 'returnId' is not null or undefined
|
|
33
|
+
assertParamExists('getReturn', 'returnId', returnId);
|
|
34
|
+
const localVarPath = `/externalFulfillment/2024-09-11/returns/{returnId}`
|
|
35
|
+
.replace(`{${"returnId"}}`, encodeURIComponent(String(returnId)));
|
|
36
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38
|
+
let baseOptions;
|
|
39
|
+
if (configuration) {
|
|
40
|
+
baseOptions = configuration.baseOptions;
|
|
41
|
+
}
|
|
42
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
43
|
+
const localVarHeaderParameter = {};
|
|
44
|
+
const localVarQueryParameter = {};
|
|
45
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
48
|
+
return {
|
|
49
|
+
url: toPathString(localVarUrlObj),
|
|
50
|
+
options: localVarRequestOptions,
|
|
51
|
+
};
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* Retrieve a list of return items. You can filter results by location, RMA ID, status, or time.
|
|
55
|
+
* @param {string} [returnLocationId] The SmartConnect location ID of the location from which you want to retrieve return items.
|
|
56
|
+
* @param {string} [rmaId] The RMA ID of the return items you want to list.
|
|
57
|
+
* @param {ListReturnsStatusEnum} [status] The status of return items you want to list. You can retrieve all new return items with the `CREATED` status.
|
|
58
|
+
* @param {string} [reverseTrackingId] The reverse tracking ID of the return items you want to list.
|
|
59
|
+
* @param {string} [createdSince] Return items created after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
60
|
+
* @param {string} [createdUntil] Return items created before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
61
|
+
* @param {string} [lastUpdatedSince] Return items updated after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
62
|
+
* @param {string} [lastUpdatedUntil] Return items whose most recent update is before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
63
|
+
* @param {string} [lastUpdatedAfter] DEPRECATED. Use the `createdSince` parameter.
|
|
64
|
+
* @param {string} [lastUpdatedBefore] DEPRECATED. Use the `createdUntil` parameter.
|
|
65
|
+
* @param {number} [maxResults] The number of return items you want to include in the response. **Default:** 10 **Maximum:** 100
|
|
66
|
+
* @param {string} [nextToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
listReturns: async (returnLocationId, rmaId, status, reverseTrackingId, createdSince, createdUntil, lastUpdatedSince, lastUpdatedUntil, lastUpdatedAfter, lastUpdatedBefore, maxResults, nextToken, options = {}) => {
|
|
71
|
+
const localVarPath = `/externalFulfillment/2024-09-11/returns`;
|
|
72
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74
|
+
let baseOptions;
|
|
75
|
+
if (configuration) {
|
|
76
|
+
baseOptions = configuration.baseOptions;
|
|
77
|
+
}
|
|
78
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
79
|
+
const localVarHeaderParameter = {};
|
|
80
|
+
const localVarQueryParameter = {};
|
|
81
|
+
if (returnLocationId !== undefined) {
|
|
82
|
+
localVarQueryParameter['returnLocationId'] = returnLocationId;
|
|
83
|
+
}
|
|
84
|
+
if (rmaId !== undefined) {
|
|
85
|
+
localVarQueryParameter['rmaId'] = rmaId;
|
|
86
|
+
}
|
|
87
|
+
if (status !== undefined) {
|
|
88
|
+
localVarQueryParameter['status'] = status;
|
|
89
|
+
}
|
|
90
|
+
if (reverseTrackingId !== undefined) {
|
|
91
|
+
localVarQueryParameter['reverseTrackingId'] = reverseTrackingId;
|
|
92
|
+
}
|
|
93
|
+
if (createdSince !== undefined) {
|
|
94
|
+
localVarQueryParameter['createdSince'] = (createdSince instanceof Date) ?
|
|
95
|
+
createdSince.toISOString() :
|
|
96
|
+
createdSince;
|
|
97
|
+
}
|
|
98
|
+
if (createdUntil !== undefined) {
|
|
99
|
+
localVarQueryParameter['createdUntil'] = (createdUntil instanceof Date) ?
|
|
100
|
+
createdUntil.toISOString() :
|
|
101
|
+
createdUntil;
|
|
102
|
+
}
|
|
103
|
+
if (lastUpdatedSince !== undefined) {
|
|
104
|
+
localVarQueryParameter['lastUpdatedSince'] = (lastUpdatedSince instanceof Date) ?
|
|
105
|
+
lastUpdatedSince.toISOString() :
|
|
106
|
+
lastUpdatedSince;
|
|
107
|
+
}
|
|
108
|
+
if (lastUpdatedUntil !== undefined) {
|
|
109
|
+
localVarQueryParameter['lastUpdatedUntil'] = (lastUpdatedUntil instanceof Date) ?
|
|
110
|
+
lastUpdatedUntil.toISOString() :
|
|
111
|
+
lastUpdatedUntil;
|
|
112
|
+
}
|
|
113
|
+
if (lastUpdatedAfter !== undefined) {
|
|
114
|
+
localVarQueryParameter['lastUpdatedAfter'] = (lastUpdatedAfter instanceof Date) ?
|
|
115
|
+
lastUpdatedAfter.toISOString() :
|
|
116
|
+
lastUpdatedAfter;
|
|
117
|
+
}
|
|
118
|
+
if (lastUpdatedBefore !== undefined) {
|
|
119
|
+
localVarQueryParameter['lastUpdatedBefore'] = (lastUpdatedBefore instanceof Date) ?
|
|
120
|
+
lastUpdatedBefore.toISOString() :
|
|
121
|
+
lastUpdatedBefore;
|
|
122
|
+
}
|
|
123
|
+
if (maxResults !== undefined) {
|
|
124
|
+
localVarQueryParameter['maxResults'] = maxResults;
|
|
125
|
+
}
|
|
126
|
+
if (nextToken !== undefined) {
|
|
127
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
|
128
|
+
}
|
|
129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
131
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
132
|
+
return {
|
|
133
|
+
url: toPathString(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* ExternalFulfillmentReturnsApi - functional programming interface
|
|
141
|
+
*/
|
|
142
|
+
export const ExternalFulfillmentReturnsApiFp = function (configuration) {
|
|
143
|
+
const localVarAxiosParamCreator = ExternalFulfillmentReturnsApiAxiosParamCreator(configuration);
|
|
144
|
+
return {
|
|
145
|
+
/**
|
|
146
|
+
* Retrieve the return item with the specified ID.
|
|
147
|
+
* @param {string} returnId The ID of the return item you want.
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
async getReturn(returnId, options) {
|
|
152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getReturn(returnId, options);
|
|
153
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
154
|
+
const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentReturnsApi.getReturn']?.[localVarOperationServerIndex]?.url;
|
|
155
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
156
|
+
},
|
|
157
|
+
/**
|
|
158
|
+
* Retrieve a list of return items. You can filter results by location, RMA ID, status, or time.
|
|
159
|
+
* @param {string} [returnLocationId] The SmartConnect location ID of the location from which you want to retrieve return items.
|
|
160
|
+
* @param {string} [rmaId] The RMA ID of the return items you want to list.
|
|
161
|
+
* @param {ListReturnsStatusEnum} [status] The status of return items you want to list. You can retrieve all new return items with the `CREATED` status.
|
|
162
|
+
* @param {string} [reverseTrackingId] The reverse tracking ID of the return items you want to list.
|
|
163
|
+
* @param {string} [createdSince] Return items created after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
164
|
+
* @param {string} [createdUntil] Return items created before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
165
|
+
* @param {string} [lastUpdatedSince] Return items updated after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
166
|
+
* @param {string} [lastUpdatedUntil] Return items whose most recent update is before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
167
|
+
* @param {string} [lastUpdatedAfter] DEPRECATED. Use the `createdSince` parameter.
|
|
168
|
+
* @param {string} [lastUpdatedBefore] DEPRECATED. Use the `createdUntil` parameter.
|
|
169
|
+
* @param {number} [maxResults] The number of return items you want to include in the response. **Default:** 10 **Maximum:** 100
|
|
170
|
+
* @param {string} [nextToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
171
|
+
* @param {*} [options] Override http request option.
|
|
172
|
+
* @throws {RequiredError}
|
|
173
|
+
*/
|
|
174
|
+
async listReturns(returnLocationId, rmaId, status, reverseTrackingId, createdSince, createdUntil, lastUpdatedSince, lastUpdatedUntil, lastUpdatedAfter, lastUpdatedBefore, maxResults, nextToken, options) {
|
|
175
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReturns(returnLocationId, rmaId, status, reverseTrackingId, createdSince, createdUntil, lastUpdatedSince, lastUpdatedUntil, lastUpdatedAfter, lastUpdatedBefore, maxResults, nextToken, options);
|
|
176
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
177
|
+
const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentReturnsApi.listReturns']?.[localVarOperationServerIndex]?.url;
|
|
178
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
179
|
+
},
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* ExternalFulfillmentReturnsApi - factory interface
|
|
184
|
+
*/
|
|
185
|
+
export const ExternalFulfillmentReturnsApiFactory = function (configuration, basePath, axios) {
|
|
186
|
+
const localVarFp = ExternalFulfillmentReturnsApiFp(configuration);
|
|
187
|
+
return {
|
|
188
|
+
/**
|
|
189
|
+
* Retrieve the return item with the specified ID.
|
|
190
|
+
* @param {ExternalFulfillmentReturnsApiGetReturnRequest} requestParameters Request parameters.
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
getReturn(requestParameters, options) {
|
|
195
|
+
return localVarFp.getReturn(requestParameters.returnId, options).then((request) => request(axios, basePath));
|
|
196
|
+
},
|
|
197
|
+
/**
|
|
198
|
+
* Retrieve a list of return items. You can filter results by location, RMA ID, status, or time.
|
|
199
|
+
* @param {ExternalFulfillmentReturnsApiListReturnsRequest} requestParameters Request parameters.
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
listReturns(requestParameters = {}, options) {
|
|
204
|
+
return localVarFp.listReturns(requestParameters.returnLocationId, requestParameters.rmaId, requestParameters.status, requestParameters.reverseTrackingId, requestParameters.createdSince, requestParameters.createdUntil, requestParameters.lastUpdatedSince, requestParameters.lastUpdatedUntil, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(axios, basePath));
|
|
205
|
+
},
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* ExternalFulfillmentReturnsApi - object-oriented interface
|
|
210
|
+
*/
|
|
211
|
+
export class ExternalFulfillmentReturnsApi extends BaseAPI {
|
|
212
|
+
/**
|
|
213
|
+
* Retrieve the return item with the specified ID.
|
|
214
|
+
* @param {ExternalFulfillmentReturnsApiGetReturnRequest} requestParameters Request parameters.
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
getReturn(requestParameters, options) {
|
|
219
|
+
return ExternalFulfillmentReturnsApiFp(this.configuration).getReturn(requestParameters.returnId, options).then((request) => request(this.axios, this.basePath));
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Retrieve a list of return items. You can filter results by location, RMA ID, status, or time.
|
|
223
|
+
* @param {ExternalFulfillmentReturnsApiListReturnsRequest} requestParameters Request parameters.
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
listReturns(requestParameters = {}, options) {
|
|
228
|
+
return ExternalFulfillmentReturnsApiFp(this.configuration).listReturns(requestParameters.returnLocationId, requestParameters.rmaId, requestParameters.status, requestParameters.reverseTrackingId, requestParameters.createdSince, requestParameters.createdUntil, requestParameters.lastUpdatedSince, requestParameters.lastUpdatedUntil, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
export const ListReturnsStatusEnum = {
|
|
232
|
+
Created: 'CREATED',
|
|
233
|
+
CarrierNotifiedToPickUpFromCustomer: 'CARRIER_NOTIFIED_TO_PICK_UP_FROM_CUSTOMER',
|
|
234
|
+
CarrierOutForPickUpFromCustomer: 'CARRIER_OUT_FOR_PICK_UP_FROM_CUSTOMER',
|
|
235
|
+
CustomerCancelledPickUp: 'CUSTOMER_CANCELLED_PICK_UP',
|
|
236
|
+
CustomerRescheduledPickUp: 'CUSTOMER_RESCHEDULED_PICK_UP',
|
|
237
|
+
PickedFromCustomer: 'PICKED_FROM_CUSTOMER',
|
|
238
|
+
InTransit: 'IN_TRANSIT',
|
|
239
|
+
OutForDelivery: 'OUT_FOR_DELIVERY',
|
|
240
|
+
Delivered: 'DELIVERED',
|
|
241
|
+
Replanned: 'REPLANNED',
|
|
242
|
+
CustomerDroppedOff: 'CUSTOMER_DROPPED_OFF',
|
|
243
|
+
PartiallyProcessed: 'PARTIALLY_PROCESSED',
|
|
244
|
+
Processed: 'PROCESSED',
|
|
245
|
+
Rejected: 'REJECTED',
|
|
246
|
+
Cancelled: 'CANCELLED'
|
|
247
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
5
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
8
|
+
* Contact: marketplaceapitest@amazon.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export * from './api/external-fulfillment-returns-api';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
5
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
8
|
+
* Contact: marketplaceapitest@amazon.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import globalAxios from 'axios';
|
|
15
|
+
export const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
|
|
16
|
+
export const COLLECTION_FORMATS = {
|
|
17
|
+
csv: ",",
|
|
18
|
+
ssv: " ",
|
|
19
|
+
tsv: "\t",
|
|
20
|
+
pipes: "|",
|
|
21
|
+
};
|
|
22
|
+
export class BaseAPI {
|
|
23
|
+
basePath;
|
|
24
|
+
axios;
|
|
25
|
+
configuration;
|
|
26
|
+
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
27
|
+
this.basePath = basePath;
|
|
28
|
+
this.axios = axios;
|
|
29
|
+
if (configuration) {
|
|
30
|
+
this.configuration = configuration;
|
|
31
|
+
this.basePath = configuration.basePath ?? basePath;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
;
|
|
36
|
+
export class RequiredError extends Error {
|
|
37
|
+
field;
|
|
38
|
+
constructor(field, msg) {
|
|
39
|
+
super(msg);
|
|
40
|
+
this.field = field;
|
|
41
|
+
this.name = "RequiredError";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export const operationServerMap = {};
|