@sp-api-sdk/shipping-api-v1 3.1.4 → 3.1.6

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.
Files changed (58) hide show
  1. package/dist/cjs/api-model/api/shipping-api.js +0 -15
  2. package/dist/cjs/api-model/base.js +0 -19
  3. package/dist/cjs/api-model/common.js +0 -37
  4. package/dist/cjs/api-model/configuration.js +0 -17
  5. package/dist/cjs/api-model/models/service-type.js +0 -2
  6. package/dist/es/api-model/api/shipping-api.js +0 -15
  7. package/dist/es/api-model/base.js +0 -19
  8. package/dist/es/api-model/common.js +0 -37
  9. package/dist/es/api-model/configuration.js +0 -17
  10. package/dist/es/api-model/models/service-type.js +0 -2
  11. package/dist/types/api-model/api/shipping-api.d.ts +0 -53
  12. package/dist/types/api-model/base.d.ts +0 -24
  13. package/dist/types/api-model/common.d.ts +0 -37
  14. package/dist/types/api-model/configuration.d.ts +0 -17
  15. package/dist/types/api-model/models/accepted-rate.d.ts +0 -22
  16. package/dist/types/api-model/models/account.d.ts +0 -4
  17. package/dist/types/api-model/models/address.d.ts +0 -24
  18. package/dist/types/api-model/models/cancel-shipment-response.d.ts +0 -4
  19. package/dist/types/api-model/models/container-item.d.ts +0 -16
  20. package/dist/types/api-model/models/container-specification.d.ts +0 -12
  21. package/dist/types/api-model/models/container.d.ts +0 -23
  22. package/dist/types/api-model/models/create-shipment-request.d.ts +0 -16
  23. package/dist/types/api-model/models/create-shipment-response.d.ts +0 -9
  24. package/dist/types/api-model/models/create-shipment-result.d.ts +0 -6
  25. package/dist/types/api-model/models/currency.d.ts +0 -6
  26. package/dist/types/api-model/models/dimensions.d.ts +0 -10
  27. package/dist/types/api-model/models/event.d.ts +0 -11
  28. package/dist/types/api-model/models/get-account-response.d.ts +0 -9
  29. package/dist/types/api-model/models/get-rates-request.d.ts +0 -18
  30. package/dist/types/api-model/models/get-rates-response.d.ts +0 -9
  31. package/dist/types/api-model/models/get-rates-result.d.ts +0 -4
  32. package/dist/types/api-model/models/get-shipment-response.d.ts +0 -9
  33. package/dist/types/api-model/models/get-tracking-information-response.d.ts +0 -9
  34. package/dist/types/api-model/models/label-result.d.ts +0 -11
  35. package/dist/types/api-model/models/label-specification.d.ts +0 -6
  36. package/dist/types/api-model/models/label.d.ts +0 -9
  37. package/dist/types/api-model/models/location.d.ts +0 -10
  38. package/dist/types/api-model/models/model-error.d.ts +0 -8
  39. package/dist/types/api-model/models/party.d.ts +0 -4
  40. package/dist/types/api-model/models/purchase-labels-request.d.ts +0 -9
  41. package/dist/types/api-model/models/purchase-labels-response.d.ts +0 -9
  42. package/dist/types/api-model/models/purchase-labels-result.d.ts +0 -13
  43. package/dist/types/api-model/models/purchase-shipment-request.d.ts +0 -28
  44. package/dist/types/api-model/models/purchase-shipment-response.d.ts +0 -9
  45. package/dist/types/api-model/models/purchase-shipment-result.d.ts +0 -11
  46. package/dist/types/api-model/models/rate.d.ts +0 -26
  47. package/dist/types/api-model/models/retrieve-shipping-label-request.d.ts +0 -7
  48. package/dist/types/api-model/models/retrieve-shipping-label-response.d.ts +0 -9
  49. package/dist/types/api-model/models/retrieve-shipping-label-result.d.ts +0 -9
  50. package/dist/types/api-model/models/service-rate.d.ts +0 -22
  51. package/dist/types/api-model/models/service-type.d.ts +0 -2
  52. package/dist/types/api-model/models/shipment.d.ts +0 -28
  53. package/dist/types/api-model/models/shipping-promise-set.d.ts +0 -12
  54. package/dist/types/api-model/models/time-range.d.ts +0 -6
  55. package/dist/types/api-model/models/tracking-information.d.ts +0 -13
  56. package/dist/types/api-model/models/tracking-summary.d.ts +0 -4
  57. package/dist/types/api-model/models/weight.d.ts +0 -6
  58. package/package.json +25 -4
@@ -29,7 +29,6 @@ import type { RetrieveShippingLabelRequest } from '../models';
29
29
  import type { RetrieveShippingLabelResponse } from '../models';
30
30
  /**
31
31
  * ShippingApi - axios parameter creator
32
- * @export
33
32
  */
34
33
  export declare const ShippingApiAxiosParamCreator: (configuration?: Configuration) => {
35
34
  /**
@@ -100,7 +99,6 @@ export declare const ShippingApiAxiosParamCreator: (configuration?: Configuratio
100
99
  };
101
100
  /**
102
101
  * ShippingApi - functional programming interface
103
- * @export
104
102
  */
105
103
  export declare const ShippingApiFp: (configuration?: Configuration) => {
106
104
  /**
@@ -171,7 +169,6 @@ export declare const ShippingApiFp: (configuration?: Configuration) => {
171
169
  };
172
170
  /**
173
171
  * ShippingApi - factory interface
174
- * @export
175
172
  */
176
173
  export declare const ShippingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
177
174
  /**
@@ -239,131 +236,90 @@ export declare const ShippingApiFactory: (configuration?: Configuration, basePat
239
236
  };
240
237
  /**
241
238
  * Request parameters for cancelShipment operation in ShippingApi.
242
- * @export
243
- * @interface ShippingApiCancelShipmentRequest
244
239
  */
245
240
  export interface ShippingApiCancelShipmentRequest {
246
241
  /**
247
242
  * Shipment Id to cancel a shipment
248
- * @type {string}
249
- * @memberof ShippingApiCancelShipment
250
243
  */
251
244
  readonly shipmentId: string;
252
245
  }
253
246
  /**
254
247
  * Request parameters for createShipment operation in ShippingApi.
255
- * @export
256
- * @interface ShippingApiCreateShipmentRequest
257
248
  */
258
249
  export interface ShippingApiCreateShipmentRequest {
259
250
  /**
260
251
  * CreateShipmentRequest Body
261
- * @type {CreateShipmentRequest}
262
- * @memberof ShippingApiCreateShipment
263
252
  */
264
253
  readonly body: CreateShipmentRequest;
265
254
  }
266
255
  /**
267
256
  * Request parameters for getRates operation in ShippingApi.
268
- * @export
269
- * @interface ShippingApiGetRatesRequest
270
257
  */
271
258
  export interface ShippingApiGetRatesRequest {
272
259
  /**
273
260
  * GetRatesRequest body
274
- * @type {GetRatesRequest}
275
- * @memberof ShippingApiGetRates
276
261
  */
277
262
  readonly body: GetRatesRequest;
278
263
  }
279
264
  /**
280
265
  * Request parameters for getShipment operation in ShippingApi.
281
- * @export
282
- * @interface ShippingApiGetShipmentRequest
283
266
  */
284
267
  export interface ShippingApiGetShipmentRequest {
285
268
  /**
286
269
  * Shipment id to return the entire shipment object
287
- * @type {string}
288
- * @memberof ShippingApiGetShipment
289
270
  */
290
271
  readonly shipmentId: string;
291
272
  }
292
273
  /**
293
274
  * Request parameters for getTrackingInformation operation in ShippingApi.
294
- * @export
295
- * @interface ShippingApiGetTrackingInformationRequest
296
275
  */
297
276
  export interface ShippingApiGetTrackingInformationRequest {
298
277
  /**
299
278
  * Tracking Id
300
- * @type {string}
301
- * @memberof ShippingApiGetTrackingInformation
302
279
  */
303
280
  readonly trackingId: string;
304
281
  }
305
282
  /**
306
283
  * Request parameters for purchaseLabels operation in ShippingApi.
307
- * @export
308
- * @interface ShippingApiPurchaseLabelsRequest
309
284
  */
310
285
  export interface ShippingApiPurchaseLabelsRequest {
311
286
  /**
312
287
  * Shipment id for purchase shipping label
313
- * @type {string}
314
- * @memberof ShippingApiPurchaseLabels
315
288
  */
316
289
  readonly shipmentId: string;
317
290
  /**
318
291
  * PurchaseShippingLabelRequest body
319
- * @type {PurchaseLabelsRequest}
320
- * @memberof ShippingApiPurchaseLabels
321
292
  */
322
293
  readonly body: PurchaseLabelsRequest;
323
294
  }
324
295
  /**
325
296
  * Request parameters for purchaseShipment operation in ShippingApi.
326
- * @export
327
- * @interface ShippingApiPurchaseShipmentRequest
328
297
  */
329
298
  export interface ShippingApiPurchaseShipmentRequest {
330
299
  /**
331
300
  * PurchaseShipmentRequest body
332
- * @type {PurchaseShipmentRequest}
333
- * @memberof ShippingApiPurchaseShipment
334
301
  */
335
302
  readonly body: PurchaseShipmentRequest;
336
303
  }
337
304
  /**
338
305
  * Request parameters for retrieveShippingLabel operation in ShippingApi.
339
- * @export
340
- * @interface ShippingApiRetrieveShippingLabelRequest
341
306
  */
342
307
  export interface ShippingApiRetrieveShippingLabelRequest {
343
308
  /**
344
309
  * Shipment Id to retreive label
345
- * @type {string}
346
- * @memberof ShippingApiRetrieveShippingLabel
347
310
  */
348
311
  readonly shipmentId: string;
349
312
  /**
350
313
  * Tracking Id
351
- * @type {string}
352
- * @memberof ShippingApiRetrieveShippingLabel
353
314
  */
354
315
  readonly trackingId: string;
355
316
  /**
356
317
  * RetrieveShippingLabelRequest body
357
- * @type {RetrieveShippingLabelRequest}
358
- * @memberof ShippingApiRetrieveShippingLabel
359
318
  */
360
319
  readonly body: RetrieveShippingLabelRequest;
361
320
  }
362
321
  /**
363
322
  * ShippingApi - object-oriented interface
364
- * @export
365
- * @class ShippingApi
366
- * @extends {BaseAPI}
367
323
  */
368
324
  export declare class ShippingApi extends BaseAPI {
369
325
  /**
@@ -371,7 +327,6 @@ export declare class ShippingApi extends BaseAPI {
371
327
  * @param {ShippingApiCancelShipmentRequest} requestParameters Request parameters.
372
328
  * @param {*} [options] Override http request option.
373
329
  * @throws {RequiredError}
374
- * @memberof ShippingApi
375
330
  */
376
331
  cancelShipment(requestParameters: ShippingApiCancelShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelShipmentResponse, any>>;
377
332
  /**
@@ -379,14 +334,12 @@ export declare class ShippingApi extends BaseAPI {
379
334
  * @param {ShippingApiCreateShipmentRequest} requestParameters Request parameters.
380
335
  * @param {*} [options] Override http request option.
381
336
  * @throws {RequiredError}
382
- * @memberof ShippingApi
383
337
  */
384
338
  createShipment(requestParameters: ShippingApiCreateShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateShipmentResponse, any>>;
385
339
  /**
386
340
  * Verify if the current account is valid. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
387
341
  * @param {*} [options] Override http request option.
388
342
  * @throws {RequiredError}
389
- * @memberof ShippingApi
390
343
  */
391
344
  getAccount(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAccountResponse, any>>;
392
345
  /**
@@ -394,7 +347,6 @@ export declare class ShippingApi extends BaseAPI {
394
347
  * @param {ShippingApiGetRatesRequest} requestParameters Request parameters.
395
348
  * @param {*} [options] Override http request option.
396
349
  * @throws {RequiredError}
397
- * @memberof ShippingApi
398
350
  */
399
351
  getRates(requestParameters: ShippingApiGetRatesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetRatesResponse, any>>;
400
352
  /**
@@ -402,7 +354,6 @@ export declare class ShippingApi extends BaseAPI {
402
354
  * @param {ShippingApiGetShipmentRequest} requestParameters Request parameters.
403
355
  * @param {*} [options] Override http request option.
404
356
  * @throws {RequiredError}
405
- * @memberof ShippingApi
406
357
  */
407
358
  getShipment(requestParameters: ShippingApiGetShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentResponse, any>>;
408
359
  /**
@@ -410,7 +361,6 @@ export declare class ShippingApi extends BaseAPI {
410
361
  * @param {ShippingApiGetTrackingInformationRequest} requestParameters Request parameters.
411
362
  * @param {*} [options] Override http request option.
412
363
  * @throws {RequiredError}
413
- * @memberof ShippingApi
414
364
  */
415
365
  getTrackingInformation(requestParameters: ShippingApiGetTrackingInformationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetTrackingInformationResponse, any>>;
416
366
  /**
@@ -418,7 +368,6 @@ export declare class ShippingApi extends BaseAPI {
418
368
  * @param {ShippingApiPurchaseLabelsRequest} requestParameters Request parameters.
419
369
  * @param {*} [options] Override http request option.
420
370
  * @throws {RequiredError}
421
- * @memberof ShippingApi
422
371
  */
423
372
  purchaseLabels(requestParameters: ShippingApiPurchaseLabelsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PurchaseLabelsResponse, any>>;
424
373
  /**
@@ -426,7 +375,6 @@ export declare class ShippingApi extends BaseAPI {
426
375
  * @param {ShippingApiPurchaseShipmentRequest} requestParameters Request parameters.
427
376
  * @param {*} [options] Override http request option.
428
377
  * @throws {RequiredError}
429
- * @memberof ShippingApi
430
378
  */
431
379
  purchaseShipment(requestParameters: ShippingApiPurchaseShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PurchaseShipmentResponse, any>>;
432
380
  /**
@@ -434,7 +382,6 @@ export declare class ShippingApi extends BaseAPI {
434
382
  * @param {ShippingApiRetrieveShippingLabelRequest} requestParameters Request parameters.
435
383
  * @param {*} [options] Override http request option.
436
384
  * @throws {RequiredError}
437
- * @memberof ShippingApi
438
385
  */
439
386
  retrieveShippingLabel(requestParameters: ShippingApiRetrieveShippingLabelRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RetrieveShippingLabelResponse, any>>;
440
387
  }
@@ -12,42 +12,22 @@
12
12
  import type { Configuration } from './configuration';
13
13
  import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const COLLECTION_FORMATS: {
20
16
  csv: string;
21
17
  ssv: string;
22
18
  tsv: string;
23
19
  pipes: string;
24
20
  };
25
- /**
26
- *
27
- * @export
28
- * @interface RequestArgs
29
- */
30
21
  export interface RequestArgs {
31
22
  url: string;
32
23
  options: RawAxiosRequestConfig;
33
24
  }
34
- /**
35
- *
36
- * @export
37
- * @class BaseAPI
38
- */
39
25
  export declare class BaseAPI {
40
26
  protected basePath: string;
41
27
  protected axios: AxiosInstance;
42
28
  protected configuration: Configuration | undefined;
43
29
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
30
  }
45
- /**
46
- *
47
- * @export
48
- * @class RequiredError
49
- * @extends {Error}
50
- */
51
31
  export declare class RequiredError extends Error {
52
32
  field: string;
53
33
  constructor(field: string, msg?: string);
@@ -58,9 +38,5 @@ interface ServerMap {
58
38
  description: string;
59
39
  }[];
60
40
  }
61
- /**
62
- *
63
- * @export
64
- */
65
41
  export declare const operationServerMap: ServerMap;
66
42
  export {};
@@ -12,54 +12,17 @@
12
12
  import type { Configuration } from "./configuration";
13
13
  import type { RequestArgs } from "./base";
14
14
  import type { AxiosInstance, AxiosResponse } from 'axios';
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const DUMMY_BASE_URL = "https://example.com";
20
16
  /**
21
17
  *
22
18
  * @throws {RequiredError}
23
- * @export
24
19
  */
25
20
  export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
- /**
27
- *
28
- * @export
29
- */
30
21
  export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
- /**
32
- *
33
- * @export
34
- */
35
22
  export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
- /**
37
- *
38
- * @export
39
- */
40
23
  export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
- /**
42
- *
43
- * @export
44
- */
45
24
  export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
- /**
47
- *
48
- * @export
49
- */
50
25
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
- /**
52
- *
53
- * @export
54
- */
55
26
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
- /**
57
- *
58
- * @export
59
- */
60
27
  export declare const toPathString: (url: URL) => string;
61
- /**
62
- *
63
- * @export
64
- */
65
28
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -23,49 +23,32 @@ export declare class Configuration {
23
23
  /**
24
24
  * parameter for apiKey security
25
25
  * @param name security name
26
- * @memberof Configuration
27
26
  */
28
27
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
28
  /**
30
29
  * parameter for basic security
31
- *
32
- * @type {string}
33
- * @memberof Configuration
34
30
  */
35
31
  username?: string;
36
32
  /**
37
33
  * parameter for basic security
38
- *
39
- * @type {string}
40
- * @memberof Configuration
41
34
  */
42
35
  password?: string;
43
36
  /**
44
37
  * parameter for oauth2 security
45
38
  * @param name security name
46
39
  * @param scopes oauth2 scope
47
- * @memberof Configuration
48
40
  */
49
41
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
50
42
  /**
51
43
  * override base path
52
- *
53
- * @type {string}
54
- * @memberof Configuration
55
44
  */
56
45
  basePath?: string;
57
46
  /**
58
47
  * override server index
59
- *
60
- * @type {number}
61
- * @memberof Configuration
62
48
  */
63
49
  serverIndex?: number;
64
50
  /**
65
51
  * base options for axios calls
66
- *
67
- * @type {any}
68
- * @memberof Configuration
69
52
  */
70
53
  baseOptions?: any;
71
54
  /**
@@ -15,32 +15,10 @@ import type { ShippingPromiseSet } from './shipping-promise-set';
15
15
  import type { Weight } from './weight';
16
16
  /**
17
17
  * The specific rate purchased for the shipment, or null if unpurchased.
18
- * @export
19
- * @interface AcceptedRate
20
18
  */
21
19
  export interface AcceptedRate {
22
- /**
23
- *
24
- * @type {Currency}
25
- * @memberof AcceptedRate
26
- */
27
20
  'totalCharge'?: Currency;
28
- /**
29
- *
30
- * @type {Weight}
31
- * @memberof AcceptedRate
32
- */
33
21
  'billedWeight'?: Weight;
34
- /**
35
- *
36
- * @type {ServiceType}
37
- * @memberof AcceptedRate
38
- */
39
22
  'serviceType'?: ServiceType;
40
- /**
41
- *
42
- * @type {ShippingPromiseSet}
43
- * @memberof AcceptedRate
44
- */
45
23
  'promise'?: ShippingPromiseSet;
46
24
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * The account related data.
14
- * @export
15
- * @interface Account
16
14
  */
17
15
  export interface Account {
18
16
  /**
19
17
  * This is the Amazon Shipping account id generated during the Amazon Shipping onboarding process.
20
- * @type {string}
21
- * @memberof Account
22
18
  */
23
19
  'accountId': string;
24
20
  }
@@ -11,74 +11,50 @@
11
11
  */
12
12
  /**
13
13
  * The address.
14
- * @export
15
- * @interface Address
16
14
  */
17
15
  export interface Address {
18
16
  /**
19
17
  * The name of the person, business or institution at that address.
20
- * @type {string}
21
- * @memberof Address
22
18
  */
23
19
  'name': string;
24
20
  /**
25
21
  * First line of that address.
26
- * @type {string}
27
- * @memberof Address
28
22
  */
29
23
  'addressLine1': string;
30
24
  /**
31
25
  * Additional address information, if required.
32
- * @type {string}
33
- * @memberof Address
34
26
  */
35
27
  'addressLine2'?: string;
36
28
  /**
37
29
  * Additional address information, if required.
38
- * @type {string}
39
- * @memberof Address
40
30
  */
41
31
  'addressLine3'?: string;
42
32
  /**
43
33
  * The state or region where the person, business or institution is located.
44
- * @type {string}
45
- * @memberof Address
46
34
  */
47
35
  'stateOrRegion': string;
48
36
  /**
49
37
  * The city where the person, business or institution is located.
50
- * @type {string}
51
- * @memberof Address
52
38
  */
53
39
  'city': string;
54
40
  /**
55
41
  * The two digit country code. In ISO 3166-1 alpha-2 format.
56
- * @type {string}
57
- * @memberof Address
58
42
  */
59
43
  'countryCode': string;
60
44
  /**
61
45
  * The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
62
- * @type {string}
63
- * @memberof Address
64
46
  */
65
47
  'postalCode': string;
66
48
  /**
67
49
  * The email address of the contact associated with the address.
68
- * @type {string}
69
- * @memberof Address
70
50
  */
71
51
  'email'?: string;
72
52
  /**
73
53
  * The email cc addresses of the contact associated with the address.
74
- * @type {Array<string>}
75
- * @memberof Address
76
54
  */
77
55
  'copyEmails'?: Array<string>;
78
56
  /**
79
57
  * The phone number of the person, business or institution located at that address.
80
- * @type {string}
81
- * @memberof Address
82
58
  */
83
59
  'phoneNumber'?: string;
84
60
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * The response schema for the cancelShipment operation.
14
- * @export
15
- * @interface CancelShipmentResponse
16
14
  */
17
15
  export interface CancelShipmentResponse {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof CancelShipmentResponse
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -13,32 +13,16 @@ import type { Currency } from './currency';
13
13
  import type { Weight } from './weight';
14
14
  /**
15
15
  * Item in the container.
16
- * @export
17
- * @interface ContainerItem
18
16
  */
19
17
  export interface ContainerItem {
20
18
  /**
21
19
  * The quantity of the items of this type in the container.
22
- * @type {number}
23
- * @memberof ContainerItem
24
20
  */
25
21
  'quantity': number;
26
- /**
27
- *
28
- * @type {Currency}
29
- * @memberof ContainerItem
30
- */
31
22
  'unitPrice': Currency;
32
- /**
33
- *
34
- * @type {Weight}
35
- * @memberof ContainerItem
36
- */
37
23
  'unitWeight': Weight;
38
24
  /**
39
25
  * A descriptive title of the item.
40
- * @type {string}
41
- * @memberof ContainerItem
42
26
  */
43
27
  'title': string;
44
28
  }
@@ -13,20 +13,8 @@ import type { Dimensions } from './dimensions';
13
13
  import type { Weight } from './weight';
14
14
  /**
15
15
  * Container specification for checking the service rate.
16
- * @export
17
- * @interface ContainerSpecification
18
16
  */
19
17
  export interface ContainerSpecification {
20
- /**
21
- *
22
- * @type {Dimensions}
23
- * @memberof ContainerSpecification
24
- */
25
18
  'dimensions': Dimensions;
26
- /**
27
- *
28
- * @type {Weight}
29
- * @memberof ContainerSpecification
30
- */
31
19
  'weight': Weight;
32
20
  }
@@ -15,45 +15,22 @@ import type { Dimensions } from './dimensions';
15
15
  import type { Weight } from './weight';
16
16
  /**
17
17
  * Container in the shipment.
18
- * @export
19
- * @interface Container
20
18
  */
21
19
  export interface Container {
22
20
  /**
23
21
  * The type of physical container being used. (always \'PACKAGE\')
24
- * @type {string}
25
- * @memberof Container
26
22
  */
27
23
  'containerType'?: ContainerContainerTypeEnum;
28
24
  /**
29
25
  * An identifier for the container. This must be unique within all the containers in the same shipment.
30
- * @type {string}
31
- * @memberof Container
32
26
  */
33
27
  'containerReferenceId': string;
34
- /**
35
- *
36
- * @type {Currency}
37
- * @memberof Container
38
- */
39
28
  'value': Currency;
40
- /**
41
- *
42
- * @type {Dimensions}
43
- * @memberof Container
44
- */
45
29
  'dimensions': Dimensions;
46
30
  /**
47
31
  * A list of the items in the container.
48
- * @type {Array<ContainerItem>}
49
- * @memberof Container
50
32
  */
51
33
  'items': Array<ContainerItem>;
52
- /**
53
- *
54
- * @type {Weight}
55
- * @memberof Container
56
- */
57
34
  'weight': Weight;
58
35
  }
59
36
  export declare const ContainerContainerTypeEnum: {
@@ -13,32 +13,16 @@ import type { Address } from './address';
13
13
  import type { Container } from './container';
14
14
  /**
15
15
  * The request schema for the createShipment operation.
16
- * @export
17
- * @interface CreateShipmentRequest
18
16
  */
19
17
  export interface CreateShipmentRequest {
20
18
  /**
21
19
  * Client reference id.
22
- * @type {string}
23
- * @memberof CreateShipmentRequest
24
20
  */
25
21
  'clientReferenceId': string;
26
- /**
27
- *
28
- * @type {Address}
29
- * @memberof CreateShipmentRequest
30
- */
31
22
  'shipTo': Address;
32
- /**
33
- *
34
- * @type {Address}
35
- * @memberof CreateShipmentRequest
36
- */
37
23
  'shipFrom': Address;
38
24
  /**
39
25
  * A list of container.
40
- * @type {Array<Container>}
41
- * @memberof CreateShipmentRequest
42
26
  */
43
27
  'containers': Array<Container>;
44
28
  }
@@ -12,20 +12,11 @@
12
12
  import type { CreateShipmentResult } from './create-shipment-result';
13
13
  /**
14
14
  * The response schema for the createShipment operation.
15
- * @export
16
- * @interface CreateShipmentResponse
17
15
  */
18
16
  export interface CreateShipmentResponse {
19
- /**
20
- *
21
- * @type {CreateShipmentResult}
22
- * @memberof CreateShipmentResponse
23
- */
24
17
  'payload'?: CreateShipmentResult;
25
18
  /**
26
19
  * A list of error responses returned when a request is unsuccessful.
27
- * @type {Array<Error>}
28
- * @memberof CreateShipmentResponse
29
20
  */
30
21
  'errors'?: Array<Error>;
31
22
  }