ebay-api 9.4.0 → 9.4.1
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 +1 -1
- package/dist/api/apiFactory.js +5 -5
- package/dist/api/restful/buy/browse/index.js +9 -9
- package/dist/api/restful/buy/deal/index.js +3 -3
- package/dist/api/restful/buy/feed/index.js +4 -4
- package/dist/api/restful/buy/marketing/index.js +3 -3
- package/dist/api/restful/buy/marketplaceInsights/index.d.ts +1 -1
- package/dist/api/restful/buy/marketplaceInsights/index.js +3 -3
- package/dist/api/restful/buy/order/index.js +3 -3
- package/dist/api/restful/commerce/catalog/index.js +4 -4
- package/dist/api/restful/commerce/charity/index.js +2 -2
- package/dist/api/restful/commerce/identity/index.js +1 -1
- package/dist/api/restful/commerce/message/index.js +6 -6
- package/dist/api/restful/commerce/notification/index.js +7 -7
- package/dist/api/restful/commerce/taxonomy/index.d.ts +1 -1
- package/dist/api/restful/commerce/taxonomy/index.js +4 -3
- package/dist/api/restful/commerce/translation/index.js +1 -1
- package/dist/api/restful/developer/analytics/index.js +2 -2
- package/dist/api/restful/developer/keyManagement/index.js +2 -2
- package/dist/api/restful/index.js +1 -1
- package/dist/api/restful/postOrder/cancellation/index.js +3 -3
- package/dist/api/restful/postOrder/case/index.js +1 -1
- package/dist/api/restful/postOrder/inquiry/index.js +3 -3
- package/dist/api/restful/postOrder/return/index.js +7 -7
- package/dist/api/restful/sell/account/v1.js +21 -21
- package/dist/api/restful/sell/account/v2.js +1 -1
- package/dist/api/restful/sell/analytics/index.js +2 -2
- package/dist/api/restful/sell/compliance/index.js +3 -3
- package/dist/api/restful/sell/feed/index.d.ts +3 -3
- package/dist/api/restful/sell/feed/index.js +16 -16
- package/dist/api/restful/sell/finances/index.d.ts +3 -3
- package/dist/api/restful/sell/finances/index.js +14 -14
- package/dist/api/restful/sell/fulfillment/index.d.ts +1 -1
- package/dist/api/restful/sell/fulfillment/index.js +4 -4
- package/dist/api/restful/sell/inventory/index.d.ts +3 -3
- package/dist/api/restful/sell/inventory/index.js +22 -22
- package/dist/api/restful/sell/listing/index.js +1 -1
- package/dist/api/restful/sell/logistics/index.js +2 -2
- package/dist/api/restful/sell/marketing/index.js +21 -21
- package/dist/api/restful/sell/negotiation/index.js +2 -2
- package/dist/api/restful/sell/recommendation/index.js +1 -1
- package/dist/api/traditional/XMLRequest.d.ts +1 -3
- package/dist/api/traditional/XMLRequest.js +2 -4
- package/dist/auth/oAuth2.js +1 -1
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/errors/index.js +2 -2
- package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +561 -111
- package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +171 -30
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +200 -28
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +114 -20
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +52 -17
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +84 -12
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1478 -179
- package/dist/types/restful/specs/cancellation_oas3.d.ts +179 -9
- package/dist/types/restful/specs/case_oas3.d.ts +173 -9
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +323 -75
- package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +110 -13
- package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +39 -6
- package/dist/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +150 -23
- package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +623 -72
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +339 -45
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +40 -8
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +67 -11
- package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +134 -18
- package/dist/types/restful/specs/inquiry_oas3.d.ts +271 -13
- package/dist/types/restful/specs/return_oas3.d.ts +761 -35
- package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +1503 -187
- package/dist/types/restful/specs/sell_account_v2_oas3.d.ts +155 -21
- package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +174 -32
- package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +128 -21
- package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +880 -103
- package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +261 -28
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +618 -98
- package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +1257 -210
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +38 -9
- package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +255 -36
- package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +3201 -435
- package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +361 -63
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +82 -14
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +43 -10
- package/lib/api/apiFactory.js +4 -4
- package/lib/api/restful/buy/browse/index.js +9 -9
- package/lib/api/restful/buy/deal/index.js +3 -3
- package/lib/api/restful/buy/feed/index.js +4 -4
- package/lib/api/restful/buy/marketing/index.js +3 -3
- package/lib/api/restful/buy/marketplaceInsights/index.d.ts +1 -1
- package/lib/api/restful/buy/marketplaceInsights/index.js +3 -3
- package/lib/api/restful/buy/order/index.js +3 -3
- package/lib/api/restful/commerce/catalog/index.js +4 -4
- package/lib/api/restful/commerce/charity/index.js +2 -2
- package/lib/api/restful/commerce/identity/index.js +1 -1
- package/lib/api/restful/commerce/message/index.js +6 -6
- package/lib/api/restful/commerce/notification/index.js +7 -7
- package/lib/api/restful/commerce/taxonomy/index.d.ts +1 -1
- package/lib/api/restful/commerce/taxonomy/index.js +4 -3
- package/lib/api/restful/commerce/translation/index.js +1 -1
- package/lib/api/restful/developer/analytics/index.js +2 -2
- package/lib/api/restful/developer/keyManagement/index.js +2 -2
- package/lib/api/restful/index.js +1 -1
- package/lib/api/restful/postOrder/cancellation/index.js +3 -3
- package/lib/api/restful/postOrder/case/index.js +1 -1
- package/lib/api/restful/postOrder/inquiry/index.js +3 -3
- package/lib/api/restful/postOrder/return/index.js +7 -7
- package/lib/api/restful/sell/account/v1.js +21 -21
- package/lib/api/restful/sell/account/v2.js +1 -1
- package/lib/api/restful/sell/analytics/index.js +2 -2
- package/lib/api/restful/sell/compliance/index.js +3 -3
- package/lib/api/restful/sell/feed/index.d.ts +3 -3
- package/lib/api/restful/sell/feed/index.js +16 -16
- package/lib/api/restful/sell/finances/index.d.ts +3 -3
- package/lib/api/restful/sell/finances/index.js +14 -14
- package/lib/api/restful/sell/fulfillment/index.d.ts +1 -1
- package/lib/api/restful/sell/fulfillment/index.js +4 -4
- package/lib/api/restful/sell/inventory/index.d.ts +3 -3
- package/lib/api/restful/sell/inventory/index.js +22 -22
- package/lib/api/restful/sell/listing/index.js +1 -1
- package/lib/api/restful/sell/logistics/index.js +2 -2
- package/lib/api/restful/sell/marketing/index.js +21 -21
- package/lib/api/restful/sell/negotiation/index.js +2 -2
- package/lib/api/restful/sell/recommendation/index.js +1 -1
- package/lib/api/traditional/XMLRequest.d.ts +1 -3
- package/lib/api/traditional/XMLRequest.js +2 -4
- package/lib/auth/oAuth2.js +1 -1
- package/lib/ebay-api.min.js +2 -2
- package/lib/errors/index.js +2 -2
- package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +561 -111
- package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +171 -30
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +200 -28
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +114 -20
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +52 -17
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +84 -12
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1478 -179
- package/lib/types/restful/specs/cancellation_oas3.d.ts +179 -9
- package/lib/types/restful/specs/case_oas3.d.ts +173 -9
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +323 -75
- package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +110 -13
- package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +39 -6
- package/lib/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +150 -23
- package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +623 -72
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +339 -45
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +40 -8
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +67 -11
- package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +134 -18
- package/lib/types/restful/specs/inquiry_oas3.d.ts +271 -13
- package/lib/types/restful/specs/return_oas3.d.ts +761 -35
- package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +1503 -187
- package/lib/types/restful/specs/sell_account_v2_oas3.d.ts +155 -21
- package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +174 -32
- package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +128 -21
- package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +880 -103
- package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +261 -28
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +618 -98
- package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +1257 -210
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +38 -9
- package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +255 -36
- package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +3201 -435
- package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +361 -63
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +82 -14
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +43 -10
- package/package.json +10 -9
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
export interface paths {
|
|
2
2
|
"/item_draft/": {
|
|
3
|
+
parameters: {
|
|
4
|
+
query?: never;
|
|
5
|
+
header?: never;
|
|
6
|
+
path?: never;
|
|
7
|
+
cookie?: never;
|
|
8
|
+
};
|
|
9
|
+
get?: never;
|
|
10
|
+
put?: never;
|
|
3
11
|
post: operations["createItemDraft"];
|
|
12
|
+
delete?: never;
|
|
13
|
+
options?: never;
|
|
14
|
+
head?: never;
|
|
15
|
+
patch?: never;
|
|
16
|
+
trace?: never;
|
|
4
17
|
};
|
|
5
18
|
}
|
|
6
19
|
export type webhooks = Record<string, never>;
|
|
@@ -12,7 +25,7 @@ export interface components {
|
|
|
12
25
|
};
|
|
13
26
|
Aspect: {
|
|
14
27
|
name?: string;
|
|
15
|
-
values?:
|
|
28
|
+
values?: string[];
|
|
16
29
|
};
|
|
17
30
|
Charity: {
|
|
18
31
|
donationPercentage?: string;
|
|
@@ -22,11 +35,11 @@ export interface components {
|
|
|
22
35
|
category?: string;
|
|
23
36
|
domain?: string;
|
|
24
37
|
errorId?: number;
|
|
25
|
-
inputRefIds?:
|
|
38
|
+
inputRefIds?: string[];
|
|
26
39
|
longMessage?: string;
|
|
27
40
|
message?: string;
|
|
28
|
-
outputRefIds?:
|
|
29
|
-
parameters?:
|
|
41
|
+
outputRefIds?: string[];
|
|
42
|
+
parameters?: components["schemas"]["ErrorParameter"][];
|
|
30
43
|
subdomain?: string;
|
|
31
44
|
};
|
|
32
45
|
ErrorParameter: {
|
|
@@ -52,11 +65,11 @@ export interface components {
|
|
|
52
65
|
price?: components["schemas"]["Amount"];
|
|
53
66
|
};
|
|
54
67
|
Product: {
|
|
55
|
-
aspects?:
|
|
68
|
+
aspects?: components["schemas"]["Aspect"][];
|
|
56
69
|
brand?: string;
|
|
57
70
|
description?: string;
|
|
58
71
|
epid?: string;
|
|
59
|
-
imageUrls?:
|
|
72
|
+
imageUrls?: string[];
|
|
60
73
|
title?: string;
|
|
61
74
|
};
|
|
62
75
|
};
|
|
@@ -66,14 +79,17 @@ export interface components {
|
|
|
66
79
|
headers: never;
|
|
67
80
|
pathItems: never;
|
|
68
81
|
}
|
|
69
|
-
export type
|
|
82
|
+
export type $defs = Record<string, never>;
|
|
70
83
|
export interface operations {
|
|
71
84
|
createItemDraft: {
|
|
72
85
|
parameters: {
|
|
86
|
+
query?: never;
|
|
73
87
|
header: {
|
|
74
88
|
"Content-Language"?: string;
|
|
75
89
|
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
76
90
|
};
|
|
91
|
+
path?: never;
|
|
92
|
+
cookie?: never;
|
|
77
93
|
};
|
|
78
94
|
requestBody?: {
|
|
79
95
|
content: {
|
|
@@ -82,12 +98,25 @@ export interface operations {
|
|
|
82
98
|
};
|
|
83
99
|
responses: {
|
|
84
100
|
201: {
|
|
101
|
+
headers: {
|
|
102
|
+
[name: string]: unknown;
|
|
103
|
+
};
|
|
85
104
|
content: {
|
|
86
105
|
"application/json": components["schemas"]["ItemDraftResponse"];
|
|
87
106
|
};
|
|
88
107
|
};
|
|
89
|
-
400:
|
|
90
|
-
|
|
108
|
+
400: {
|
|
109
|
+
headers: {
|
|
110
|
+
[name: string]: unknown;
|
|
111
|
+
};
|
|
112
|
+
content?: never;
|
|
113
|
+
};
|
|
114
|
+
500: {
|
|
115
|
+
headers: {
|
|
116
|
+
[name: string]: unknown;
|
|
117
|
+
};
|
|
118
|
+
content?: never;
|
|
119
|
+
};
|
|
91
120
|
};
|
|
92
121
|
};
|
|
93
122
|
}
|
|
@@ -1,21 +1,99 @@
|
|
|
1
1
|
export interface paths {
|
|
2
2
|
"/shipping_quote": {
|
|
3
|
+
parameters: {
|
|
4
|
+
query?: never;
|
|
5
|
+
header?: never;
|
|
6
|
+
path?: never;
|
|
7
|
+
cookie?: never;
|
|
8
|
+
};
|
|
9
|
+
get?: never;
|
|
10
|
+
put?: never;
|
|
3
11
|
post: operations["createShippingQuote"];
|
|
12
|
+
delete?: never;
|
|
13
|
+
options?: never;
|
|
14
|
+
head?: never;
|
|
15
|
+
patch?: never;
|
|
16
|
+
trace?: never;
|
|
4
17
|
};
|
|
5
18
|
"/shipping_quote/{shippingQuoteId}": {
|
|
19
|
+
parameters: {
|
|
20
|
+
query?: never;
|
|
21
|
+
header?: never;
|
|
22
|
+
path?: never;
|
|
23
|
+
cookie?: never;
|
|
24
|
+
};
|
|
6
25
|
get: operations["getShippingQuote"];
|
|
26
|
+
put?: never;
|
|
27
|
+
post?: never;
|
|
28
|
+
delete?: never;
|
|
29
|
+
options?: never;
|
|
30
|
+
head?: never;
|
|
31
|
+
patch?: never;
|
|
32
|
+
trace?: never;
|
|
7
33
|
};
|
|
8
34
|
"/shipment/create_from_shipping_quote": {
|
|
35
|
+
parameters: {
|
|
36
|
+
query?: never;
|
|
37
|
+
header?: never;
|
|
38
|
+
path?: never;
|
|
39
|
+
cookie?: never;
|
|
40
|
+
};
|
|
41
|
+
get?: never;
|
|
42
|
+
put?: never;
|
|
9
43
|
post: operations["createFromShippingQuote"];
|
|
44
|
+
delete?: never;
|
|
45
|
+
options?: never;
|
|
46
|
+
head?: never;
|
|
47
|
+
patch?: never;
|
|
48
|
+
trace?: never;
|
|
10
49
|
};
|
|
11
50
|
"/shipment/{shipmentId}": {
|
|
51
|
+
parameters: {
|
|
52
|
+
query?: never;
|
|
53
|
+
header?: never;
|
|
54
|
+
path?: never;
|
|
55
|
+
cookie?: never;
|
|
56
|
+
};
|
|
12
57
|
get: operations["getShipment"];
|
|
58
|
+
put?: never;
|
|
59
|
+
post?: never;
|
|
60
|
+
delete?: never;
|
|
61
|
+
options?: never;
|
|
62
|
+
head?: never;
|
|
63
|
+
patch?: never;
|
|
64
|
+
trace?: never;
|
|
13
65
|
};
|
|
14
66
|
"/shipment/{shipmentId}/download_label_file": {
|
|
67
|
+
parameters: {
|
|
68
|
+
query?: never;
|
|
69
|
+
header?: never;
|
|
70
|
+
path?: never;
|
|
71
|
+
cookie?: never;
|
|
72
|
+
};
|
|
15
73
|
get: operations["downloadLabelFile"];
|
|
74
|
+
put?: never;
|
|
75
|
+
post?: never;
|
|
76
|
+
delete?: never;
|
|
77
|
+
options?: never;
|
|
78
|
+
head?: never;
|
|
79
|
+
patch?: never;
|
|
80
|
+
trace?: never;
|
|
16
81
|
};
|
|
17
82
|
"/shipment/{shipmentId}/cancel": {
|
|
83
|
+
parameters: {
|
|
84
|
+
query?: never;
|
|
85
|
+
header?: never;
|
|
86
|
+
path?: never;
|
|
87
|
+
cookie?: never;
|
|
88
|
+
};
|
|
89
|
+
get?: never;
|
|
90
|
+
put?: never;
|
|
18
91
|
post: operations["cancelShipment"];
|
|
92
|
+
delete?: never;
|
|
93
|
+
options?: never;
|
|
94
|
+
head?: never;
|
|
95
|
+
patch?: never;
|
|
96
|
+
trace?: never;
|
|
19
97
|
};
|
|
20
98
|
}
|
|
21
99
|
export type webhooks = Record<string, never>;
|
|
@@ -45,7 +123,7 @@ export interface components {
|
|
|
45
123
|
stateOrProvince?: string;
|
|
46
124
|
};
|
|
47
125
|
CreateShipmentFromQuoteRequest: {
|
|
48
|
-
additionalOptions?:
|
|
126
|
+
additionalOptions?: components["schemas"]["AdditionalOption"][];
|
|
49
127
|
labelCustomMessage?: string;
|
|
50
128
|
labelSize?: string;
|
|
51
129
|
rateId?: string;
|
|
@@ -62,11 +140,11 @@ export interface components {
|
|
|
62
140
|
category?: string;
|
|
63
141
|
domain?: string;
|
|
64
142
|
errorId?: number;
|
|
65
|
-
inputRefIds?:
|
|
143
|
+
inputRefIds?: string[];
|
|
66
144
|
longMessage?: string;
|
|
67
145
|
message?: string;
|
|
68
|
-
outputRefIds?:
|
|
69
|
-
parameters?:
|
|
146
|
+
outputRefIds?: string[];
|
|
147
|
+
parameters?: components["schemas"]["ErrorParameter"][];
|
|
70
148
|
subdomain?: string;
|
|
71
149
|
};
|
|
72
150
|
ErrorParameter: {
|
|
@@ -91,12 +169,12 @@ export interface components {
|
|
|
91
169
|
pickupSlotTimeZone?: string;
|
|
92
170
|
};
|
|
93
171
|
PurchasedRate: {
|
|
94
|
-
additionalOptions?:
|
|
172
|
+
additionalOptions?: components["schemas"]["AdditionalOption"][];
|
|
95
173
|
baseShippingCost?: components["schemas"]["Amount"];
|
|
96
174
|
destinationTimeZone?: string;
|
|
97
175
|
maxEstimatedDeliveryDate?: string;
|
|
98
176
|
minEstimatedDeliveryDate?: string;
|
|
99
|
-
pickupNetworks?:
|
|
177
|
+
pickupNetworks?: string[];
|
|
100
178
|
pickupSlotId?: string;
|
|
101
179
|
pickupType?: string;
|
|
102
180
|
rateId?: string;
|
|
@@ -108,16 +186,16 @@ export interface components {
|
|
|
108
186
|
totalShippingCost?: components["schemas"]["Amount"];
|
|
109
187
|
};
|
|
110
188
|
Rate: {
|
|
111
|
-
additionalOptions?:
|
|
189
|
+
additionalOptions?: components["schemas"]["AdditionalOption"][];
|
|
112
190
|
baseShippingCost?: components["schemas"]["Amount"];
|
|
113
191
|
destinationTimeZone?: string;
|
|
114
192
|
maxEstimatedDeliveryDate?: string;
|
|
115
193
|
minEstimatedDeliveryDate?: string;
|
|
116
|
-
pickupNetworks?:
|
|
117
|
-
pickupSlots?:
|
|
194
|
+
pickupNetworks?: string[];
|
|
195
|
+
pickupSlots?: components["schemas"]["PickupSlot"][];
|
|
118
196
|
pickupType?: string;
|
|
119
197
|
rateId?: string;
|
|
120
|
-
rateRecommendation?:
|
|
198
|
+
rateRecommendation?: string[];
|
|
121
199
|
shippingCarrierCode?: string;
|
|
122
200
|
shippingCarrierName?: string;
|
|
123
201
|
shippingServiceCode?: string;
|
|
@@ -129,7 +207,7 @@ export interface components {
|
|
|
129
207
|
labelCustomMessage?: string;
|
|
130
208
|
labelDownloadUrl?: string;
|
|
131
209
|
labelSize?: string;
|
|
132
|
-
orders?:
|
|
210
|
+
orders?: components["schemas"]["Order"][];
|
|
133
211
|
packageSpecification?: components["schemas"]["PackageSpecification"];
|
|
134
212
|
rate?: components["schemas"]["PurchasedRate"];
|
|
135
213
|
returnTo?: components["schemas"]["Contact"];
|
|
@@ -145,16 +223,16 @@ export interface components {
|
|
|
145
223
|
ShippingQuote: {
|
|
146
224
|
creationDate?: string;
|
|
147
225
|
expirationDate?: string;
|
|
148
|
-
orders?:
|
|
226
|
+
orders?: components["schemas"]["Order"][];
|
|
149
227
|
packageSpecification?: components["schemas"]["PackageSpecification"];
|
|
150
|
-
rates?:
|
|
228
|
+
rates?: components["schemas"]["Rate"][];
|
|
151
229
|
shipFrom?: components["schemas"]["Contact"];
|
|
152
230
|
shippingQuoteId?: string;
|
|
153
231
|
shipTo?: components["schemas"]["Contact"];
|
|
154
|
-
warnings?:
|
|
232
|
+
warnings?: components["schemas"]["Error"][];
|
|
155
233
|
};
|
|
156
234
|
ShippingQuoteRequest: {
|
|
157
|
-
orders?:
|
|
235
|
+
orders?: components["schemas"]["Order"][];
|
|
158
236
|
packageSpecification?: components["schemas"]["PackageSpecification"];
|
|
159
237
|
shipFrom?: components["schemas"]["Contact"];
|
|
160
238
|
shipTo?: components["schemas"]["Contact"];
|
|
@@ -170,9 +248,15 @@ export interface components {
|
|
|
170
248
|
headers: never;
|
|
171
249
|
pathItems: never;
|
|
172
250
|
}
|
|
173
|
-
export type
|
|
251
|
+
export type $defs = Record<string, never>;
|
|
174
252
|
export interface operations {
|
|
175
253
|
createShippingQuote: {
|
|
254
|
+
parameters: {
|
|
255
|
+
query?: never;
|
|
256
|
+
header?: never;
|
|
257
|
+
path?: never;
|
|
258
|
+
cookie?: never;
|
|
259
|
+
};
|
|
176
260
|
requestBody: {
|
|
177
261
|
content: {
|
|
178
262
|
"application/json": components["schemas"]["ShippingQuoteRequest"];
|
|
@@ -180,33 +264,79 @@ export interface operations {
|
|
|
180
264
|
};
|
|
181
265
|
responses: {
|
|
182
266
|
201: {
|
|
267
|
+
headers: {
|
|
268
|
+
[name: string]: unknown;
|
|
269
|
+
};
|
|
183
270
|
content: {
|
|
184
271
|
"application/json": components["schemas"]["ShippingQuote"];
|
|
185
272
|
};
|
|
186
273
|
};
|
|
187
|
-
400:
|
|
188
|
-
|
|
189
|
-
|
|
274
|
+
400: {
|
|
275
|
+
headers: {
|
|
276
|
+
[name: string]: unknown;
|
|
277
|
+
};
|
|
278
|
+
content?: never;
|
|
279
|
+
};
|
|
280
|
+
409: {
|
|
281
|
+
headers: {
|
|
282
|
+
[name: string]: unknown;
|
|
283
|
+
};
|
|
284
|
+
content?: never;
|
|
285
|
+
};
|
|
286
|
+
500: {
|
|
287
|
+
headers: {
|
|
288
|
+
[name: string]: unknown;
|
|
289
|
+
};
|
|
290
|
+
content?: never;
|
|
291
|
+
};
|
|
190
292
|
};
|
|
191
293
|
};
|
|
192
294
|
getShippingQuote: {
|
|
193
295
|
parameters: {
|
|
296
|
+
query?: never;
|
|
297
|
+
header?: never;
|
|
194
298
|
path: {
|
|
195
299
|
shippingQuoteId: string;
|
|
196
300
|
};
|
|
301
|
+
cookie?: never;
|
|
197
302
|
};
|
|
303
|
+
requestBody?: never;
|
|
198
304
|
responses: {
|
|
199
305
|
200: {
|
|
306
|
+
headers: {
|
|
307
|
+
[name: string]: unknown;
|
|
308
|
+
};
|
|
200
309
|
content: {
|
|
201
310
|
"application/json": components["schemas"]["ShippingQuote"];
|
|
202
311
|
};
|
|
203
312
|
};
|
|
204
|
-
400:
|
|
205
|
-
|
|
206
|
-
|
|
313
|
+
400: {
|
|
314
|
+
headers: {
|
|
315
|
+
[name: string]: unknown;
|
|
316
|
+
};
|
|
317
|
+
content?: never;
|
|
318
|
+
};
|
|
319
|
+
404: {
|
|
320
|
+
headers: {
|
|
321
|
+
[name: string]: unknown;
|
|
322
|
+
};
|
|
323
|
+
content?: never;
|
|
324
|
+
};
|
|
325
|
+
500: {
|
|
326
|
+
headers: {
|
|
327
|
+
[name: string]: unknown;
|
|
328
|
+
};
|
|
329
|
+
content?: never;
|
|
330
|
+
};
|
|
207
331
|
};
|
|
208
332
|
};
|
|
209
333
|
createFromShippingQuote: {
|
|
334
|
+
parameters: {
|
|
335
|
+
query?: never;
|
|
336
|
+
header?: never;
|
|
337
|
+
path?: never;
|
|
338
|
+
cookie?: never;
|
|
339
|
+
};
|
|
210
340
|
requestBody: {
|
|
211
341
|
content: {
|
|
212
342
|
"application/json": components["schemas"]["CreateShipmentFromQuoteRequest"];
|
|
@@ -214,65 +344,154 @@ export interface operations {
|
|
|
214
344
|
};
|
|
215
345
|
responses: {
|
|
216
346
|
201: {
|
|
347
|
+
headers: {
|
|
348
|
+
[name: string]: unknown;
|
|
349
|
+
};
|
|
217
350
|
content: {
|
|
218
351
|
"application/json": components["schemas"]["Shipment"];
|
|
219
352
|
};
|
|
220
353
|
};
|
|
221
|
-
400:
|
|
222
|
-
|
|
223
|
-
|
|
354
|
+
400: {
|
|
355
|
+
headers: {
|
|
356
|
+
[name: string]: unknown;
|
|
357
|
+
};
|
|
358
|
+
content?: never;
|
|
359
|
+
};
|
|
360
|
+
409: {
|
|
361
|
+
headers: {
|
|
362
|
+
[name: string]: unknown;
|
|
363
|
+
};
|
|
364
|
+
content?: never;
|
|
365
|
+
};
|
|
366
|
+
500: {
|
|
367
|
+
headers: {
|
|
368
|
+
[name: string]: unknown;
|
|
369
|
+
};
|
|
370
|
+
content?: never;
|
|
371
|
+
};
|
|
224
372
|
};
|
|
225
373
|
};
|
|
226
374
|
getShipment: {
|
|
227
375
|
parameters: {
|
|
376
|
+
query?: never;
|
|
377
|
+
header?: never;
|
|
228
378
|
path: {
|
|
229
379
|
shipmentId: string;
|
|
230
380
|
};
|
|
381
|
+
cookie?: never;
|
|
231
382
|
};
|
|
383
|
+
requestBody?: never;
|
|
232
384
|
responses: {
|
|
233
385
|
200: {
|
|
386
|
+
headers: {
|
|
387
|
+
[name: string]: unknown;
|
|
388
|
+
};
|
|
234
389
|
content: {
|
|
235
390
|
"application/json": components["schemas"]["Shipment"];
|
|
236
391
|
};
|
|
237
392
|
};
|
|
238
|
-
400:
|
|
239
|
-
|
|
240
|
-
|
|
393
|
+
400: {
|
|
394
|
+
headers: {
|
|
395
|
+
[name: string]: unknown;
|
|
396
|
+
};
|
|
397
|
+
content?: never;
|
|
398
|
+
};
|
|
399
|
+
404: {
|
|
400
|
+
headers: {
|
|
401
|
+
[name: string]: unknown;
|
|
402
|
+
};
|
|
403
|
+
content?: never;
|
|
404
|
+
};
|
|
405
|
+
500: {
|
|
406
|
+
headers: {
|
|
407
|
+
[name: string]: unknown;
|
|
408
|
+
};
|
|
409
|
+
content?: never;
|
|
410
|
+
};
|
|
241
411
|
};
|
|
242
412
|
};
|
|
243
413
|
downloadLabelFile: {
|
|
244
414
|
parameters: {
|
|
415
|
+
query?: never;
|
|
416
|
+
header?: never;
|
|
245
417
|
path: {
|
|
246
418
|
shipmentId: string;
|
|
247
419
|
};
|
|
420
|
+
cookie?: never;
|
|
248
421
|
};
|
|
422
|
+
requestBody?: never;
|
|
249
423
|
responses: {
|
|
250
424
|
200: {
|
|
425
|
+
headers: {
|
|
426
|
+
[name: string]: unknown;
|
|
427
|
+
};
|
|
251
428
|
content: {
|
|
252
|
-
"application/pdf":
|
|
429
|
+
"application/pdf": string[];
|
|
253
430
|
};
|
|
254
431
|
};
|
|
255
|
-
400:
|
|
256
|
-
|
|
257
|
-
|
|
432
|
+
400: {
|
|
433
|
+
headers: {
|
|
434
|
+
[name: string]: unknown;
|
|
435
|
+
};
|
|
436
|
+
content?: never;
|
|
437
|
+
};
|
|
438
|
+
404: {
|
|
439
|
+
headers: {
|
|
440
|
+
[name: string]: unknown;
|
|
441
|
+
};
|
|
442
|
+
content?: never;
|
|
443
|
+
};
|
|
444
|
+
500: {
|
|
445
|
+
headers: {
|
|
446
|
+
[name: string]: unknown;
|
|
447
|
+
};
|
|
448
|
+
content?: never;
|
|
449
|
+
};
|
|
258
450
|
};
|
|
259
451
|
};
|
|
260
452
|
cancelShipment: {
|
|
261
453
|
parameters: {
|
|
454
|
+
query?: never;
|
|
455
|
+
header?: never;
|
|
262
456
|
path: {
|
|
263
457
|
shipmentId: string;
|
|
264
458
|
};
|
|
459
|
+
cookie?: never;
|
|
265
460
|
};
|
|
461
|
+
requestBody?: never;
|
|
266
462
|
responses: {
|
|
267
463
|
200: {
|
|
464
|
+
headers: {
|
|
465
|
+
[name: string]: unknown;
|
|
466
|
+
};
|
|
268
467
|
content: {
|
|
269
468
|
"application/json": components["schemas"]["Shipment"];
|
|
270
469
|
};
|
|
271
470
|
};
|
|
272
|
-
400:
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
471
|
+
400: {
|
|
472
|
+
headers: {
|
|
473
|
+
[name: string]: unknown;
|
|
474
|
+
};
|
|
475
|
+
content?: never;
|
|
476
|
+
};
|
|
477
|
+
404: {
|
|
478
|
+
headers: {
|
|
479
|
+
[name: string]: unknown;
|
|
480
|
+
};
|
|
481
|
+
content?: never;
|
|
482
|
+
};
|
|
483
|
+
409: {
|
|
484
|
+
headers: {
|
|
485
|
+
[name: string]: unknown;
|
|
486
|
+
};
|
|
487
|
+
content?: never;
|
|
488
|
+
};
|
|
489
|
+
500: {
|
|
490
|
+
headers: {
|
|
491
|
+
[name: string]: unknown;
|
|
492
|
+
};
|
|
493
|
+
content?: never;
|
|
494
|
+
};
|
|
276
495
|
};
|
|
277
496
|
};
|
|
278
497
|
}
|