@sp-api-sdk/vendor-direct-fulfillment-orders-api-v1 4.0.17 → 5.0.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.
Files changed (113) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +528 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +1088 -0
  5. package/dist/index.d.ts +1088 -0
  6. package/dist/index.js +480 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/vendor-direct-fulfillment-orders-api.js +0 -288
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/acknowledgement-status.js +0 -15
  16. package/dist/cjs/api-model/models/address.js +0 -15
  17. package/dist/cjs/api-model/models/get-order-response.js +0 -15
  18. package/dist/cjs/api-model/models/get-orders-response.js +0 -15
  19. package/dist/cjs/api-model/models/gift-details.js +0 -15
  20. package/dist/cjs/api-model/models/index.js +0 -42
  21. package/dist/cjs/api-model/models/item-quantity.js +0 -19
  22. package/dist/cjs/api-model/models/model-error.js +0 -15
  23. package/dist/cjs/api-model/models/money.js +0 -15
  24. package/dist/cjs/api-model/models/order-acknowledgement-item.js +0 -15
  25. package/dist/cjs/api-model/models/order-details-tax-total.js +0 -15
  26. package/dist/cjs/api-model/models/order-details.js +0 -22
  27. package/dist/cjs/api-model/models/order-item-acknowledgement.js +0 -15
  28. package/dist/cjs/api-model/models/order-item-tax-details.js +0 -15
  29. package/dist/cjs/api-model/models/order-item.js +0 -15
  30. package/dist/cjs/api-model/models/order-list.js +0 -15
  31. package/dist/cjs/api-model/models/order.js +0 -15
  32. package/dist/cjs/api-model/models/pagination.js +0 -15
  33. package/dist/cjs/api-model/models/party-identification.js +0 -15
  34. package/dist/cjs/api-model/models/scheduled-delivery-shipment.js +0 -15
  35. package/dist/cjs/api-model/models/shipment-dates.js +0 -15
  36. package/dist/cjs/api-model/models/shipment-details.js +0 -15
  37. package/dist/cjs/api-model/models/submit-acknowledgement-request.js +0 -15
  38. package/dist/cjs/api-model/models/submit-acknowledgement-response.js +0 -15
  39. package/dist/cjs/api-model/models/tax-details.js +0 -25
  40. package/dist/cjs/api-model/models/tax-registration-details.js +0 -20
  41. package/dist/cjs/api-model/models/transaction-id.js +0 -15
  42. package/dist/cjs/client.js +0 -35
  43. package/dist/cjs/index.js +0 -19
  44. package/dist/es/api-model/api/vendor-direct-fulfillment-orders-api.js +0 -278
  45. package/dist/es/api-model/api.js +0 -14
  46. package/dist/es/api-model/base.js +0 -44
  47. package/dist/es/api-model/common.js +0 -110
  48. package/dist/es/api-model/configuration.js +0 -94
  49. package/dist/es/api-model/index.js +0 -16
  50. package/dist/es/api-model/models/acknowledgement-status.js +0 -14
  51. package/dist/es/api-model/models/address.js +0 -14
  52. package/dist/es/api-model/models/get-order-response.js +0 -14
  53. package/dist/es/api-model/models/get-orders-response.js +0 -14
  54. package/dist/es/api-model/models/gift-details.js +0 -14
  55. package/dist/es/api-model/models/index.js +0 -26
  56. package/dist/es/api-model/models/item-quantity.js +0 -16
  57. package/dist/es/api-model/models/model-error.js +0 -14
  58. package/dist/es/api-model/models/money.js +0 -14
  59. package/dist/es/api-model/models/order-acknowledgement-item.js +0 -14
  60. package/dist/es/api-model/models/order-details-tax-total.js +0 -14
  61. package/dist/es/api-model/models/order-details.js +0 -19
  62. package/dist/es/api-model/models/order-item-acknowledgement.js +0 -14
  63. package/dist/es/api-model/models/order-item-tax-details.js +0 -14
  64. package/dist/es/api-model/models/order-item.js +0 -14
  65. package/dist/es/api-model/models/order-list.js +0 -14
  66. package/dist/es/api-model/models/order.js +0 -14
  67. package/dist/es/api-model/models/pagination.js +0 -14
  68. package/dist/es/api-model/models/party-identification.js +0 -14
  69. package/dist/es/api-model/models/scheduled-delivery-shipment.js +0 -14
  70. package/dist/es/api-model/models/shipment-dates.js +0 -14
  71. package/dist/es/api-model/models/shipment-details.js +0 -14
  72. package/dist/es/api-model/models/submit-acknowledgement-request.js +0 -14
  73. package/dist/es/api-model/models/submit-acknowledgement-response.js +0 -14
  74. package/dist/es/api-model/models/tax-details.js +0 -22
  75. package/dist/es/api-model/models/tax-registration-details.js +0 -17
  76. package/dist/es/api-model/models/transaction-id.js +0 -14
  77. package/dist/es/client.js +0 -31
  78. package/dist/es/index.js +0 -3
  79. package/dist/types/api-model/api/vendor-direct-fulfillment-orders-api.d.ts +0 -204
  80. package/dist/types/api-model/api.d.ts +0 -12
  81. package/dist/types/api-model/base.d.ts +0 -42
  82. package/dist/types/api-model/common.d.ts +0 -34
  83. package/dist/types/api-model/configuration.d.ts +0 -98
  84. package/dist/types/api-model/index.d.ts +0 -14
  85. package/dist/types/api-model/models/acknowledgement-status.d.ts +0 -24
  86. package/dist/types/api-model/models/address.d.ts +0 -64
  87. package/dist/types/api-model/models/get-order-response.d.ts +0 -22
  88. package/dist/types/api-model/models/get-orders-response.d.ts +0 -22
  89. package/dist/types/api-model/models/gift-details.d.ts +0 -24
  90. package/dist/types/api-model/models/index.d.ts +0 -26
  91. package/dist/types/api-model/models/item-quantity.d.ts +0 -28
  92. package/dist/types/api-model/models/model-error.d.ts +0 -28
  93. package/dist/types/api-model/models/money.d.ts +0 -24
  94. package/dist/types/api-model/models/order-acknowledgement-item.d.ts +0 -38
  95. package/dist/types/api-model/models/order-details-tax-total.d.ts +0 -21
  96. package/dist/types/api-model/models/order-details.d.ts +0 -50
  97. package/dist/types/api-model/models/order-item-acknowledgement.d.ts +0 -30
  98. package/dist/types/api-model/models/order-item-tax-details.d.ts +0 -21
  99. package/dist/types/api-model/models/order-item.d.ts +0 -43
  100. package/dist/types/api-model/models/order-list.d.ts +0 -23
  101. package/dist/types/api-model/models/order.d.ts +0 -22
  102. package/dist/types/api-model/models/pagination.d.ts +0 -20
  103. package/dist/types/api-model/models/party-identification.d.ts +0 -24
  104. package/dist/types/api-model/models/scheduled-delivery-shipment.d.ts +0 -28
  105. package/dist/types/api-model/models/shipment-dates.d.ts +0 -24
  106. package/dist/types/api-model/models/shipment-details.d.ts +0 -42
  107. package/dist/types/api-model/models/submit-acknowledgement-request.d.ts +0 -21
  108. package/dist/types/api-model/models/submit-acknowledgement-response.d.ts +0 -22
  109. package/dist/types/api-model/models/tax-details.d.ts +0 -37
  110. package/dist/types/api-model/models/tax-registration-details.d.ts +0 -35
  111. package/dist/types/api-model/models/transaction-id.d.ts +0 -20
  112. package/dist/types/client.d.ts +0 -6
  113. package/dist/types/index.d.ts +0 -3
@@ -1,42 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- export declare const BASE_PATH: string;
15
- export declare const COLLECTION_FORMATS: {
16
- csv: string;
17
- ssv: string;
18
- tsv: string;
19
- pipes: string;
20
- };
21
- export interface RequestArgs {
22
- url: string;
23
- options: RawAxiosRequestConfig;
24
- }
25
- export declare class BaseAPI {
26
- protected basePath: string;
27
- protected axios: AxiosInstance;
28
- protected configuration: Configuration | undefined;
29
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
30
- }
31
- export declare class RequiredError extends Error {
32
- field: string;
33
- constructor(field: string, msg?: string);
34
- }
35
- interface ServerMap {
36
- [key: string]: {
37
- url: string;
38
- description: string;
39
- }[];
40
- }
41
- export declare const operationServerMap: ServerMap;
42
- export {};
@@ -1,34 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from "./configuration";
13
- import type { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
15
- export declare const DUMMY_BASE_URL = "https://example.com";
16
- /**
17
- *
18
- * @throws {RequiredError}
19
- */
20
- export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
21
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
22
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
23
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
24
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
25
- export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
26
- /**
27
- * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
28
- * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
- * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
- */
31
- export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
32
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
33
- export declare const toPathString: (url: URL) => string;
34
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -1,98 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- interface AWSv4Configuration {
13
- options?: {
14
- region?: string;
15
- service?: string;
16
- };
17
- credentials?: {
18
- accessKeyId?: string;
19
- secretAccessKey?: string;
20
- sessionToken?: string;
21
- };
22
- }
23
- export interface ConfigurationParameters {
24
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
- username?: string;
26
- password?: string;
27
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
- awsv4?: AWSv4Configuration;
29
- basePath?: string;
30
- serverIndex?: number;
31
- baseOptions?: any;
32
- formDataCtor?: new () => any;
33
- }
34
- export declare class Configuration {
35
- /**
36
- * parameter for apiKey security
37
- * @param name security name
38
- */
39
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
40
- /**
41
- * parameter for basic security
42
- */
43
- username?: string;
44
- /**
45
- * parameter for basic security
46
- */
47
- password?: string;
48
- /**
49
- * parameter for oauth2 security
50
- * @param name security name
51
- * @param scopes oauth2 scope
52
- */
53
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
- /**
55
- * parameter for aws4 signature security
56
- * @param {Object} AWS4Signature - AWS4 Signature security
57
- * @param {string} options.region - aws region
58
- * @param {string} options.service - name of the service.
59
- * @param {string} credentials.accessKeyId - aws access key id
60
- * @param {string} credentials.secretAccessKey - aws access key
61
- * @param {string} credentials.sessionToken - aws session token
62
- * @memberof Configuration
63
- */
64
- awsv4?: AWSv4Configuration;
65
- /**
66
- * override base path
67
- */
68
- basePath?: string;
69
- /**
70
- * override server index
71
- */
72
- serverIndex?: number;
73
- /**
74
- * base options for axios calls
75
- */
76
- baseOptions?: any;
77
- /**
78
- * The FormData constructor that will be used to create multipart form data
79
- * requests. You can inject this here so that execution environments that
80
- * do not support the FormData class can still run the generated client.
81
- *
82
- * @type {new () => FormData}
83
- */
84
- formDataCtor?: new () => any;
85
- constructor(param?: ConfigurationParameters);
86
- /**
87
- * Check if the given MIME is a JSON MIME.
88
- * JSON MIME examples:
89
- * application/json
90
- * application/json; charset=UTF8
91
- * APPLICATION/JSON
92
- * application/vnd.company+json
93
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
94
- * @return True if the given MIME is JSON, false otherwise.
95
- */
96
- isJsonMime(mime: string): boolean;
97
- }
98
- export {};
@@ -1,14 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export * from "./api";
13
- export * from "./configuration";
14
- export * from "./models";
@@ -1,24 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Status of acknowledgement.
14
- */
15
- export interface AcknowledgementStatus {
16
- /**
17
- * Acknowledgement code is a unique two digit value which indicates the status of the acknowledgement. For a list of acknowledgement codes that Amazon supports, see the Vendor Direct Fulfillment APIs Use Case Guide.
18
- */
19
- 'code'?: string;
20
- /**
21
- * Reason for the acknowledgement code.
22
- */
23
- 'description'?: string;
24
- }
@@ -1,64 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Address of the party.
14
- */
15
- export interface Address {
16
- /**
17
- * The name of the person, business or institution at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
18
- */
19
- 'name': string;
20
- /**
21
- * The attention name of the person at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
22
- */
23
- 'attention'?: string;
24
- /**
25
- * First line of the address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
26
- */
27
- 'addressLine1': string;
28
- /**
29
- * Additional address information, if required. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
30
- */
31
- 'addressLine2'?: string;
32
- /**
33
- * Additional address information, if required. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
34
- */
35
- 'addressLine3'?: string;
36
- /**
37
- * The city where the person, business or institution is located. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
38
- */
39
- 'city'?: string;
40
- /**
41
- * The county where person, business or institution is located. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
42
- */
43
- 'county'?: string;
44
- /**
45
- * The district where person, business or institution is located. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
46
- */
47
- 'district'?: string;
48
- /**
49
- * The state or region where person, business or institution is located.
50
- */
51
- 'stateOrRegion': string;
52
- /**
53
- * The postal code of that address. It conatins a series of letters or digits or both, sometimes including spaces or punctuation.
54
- */
55
- 'postalCode'?: string;
56
- /**
57
- * The two digit country code. In ISO 3166-1 alpha-2 format.
58
- */
59
- 'countryCode': string;
60
- /**
61
- * The phone number of the person, business or institution located at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
62
- */
63
- 'phone'?: string;
64
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Order } from './order';
13
- /**
14
- * The response schema for the getOrder operation.
15
- */
16
- export interface GetOrderResponse {
17
- 'payload'?: Order;
18
- /**
19
- * A list of error responses returned when a request is unsuccessful.
20
- */
21
- 'errors'?: Array<Error>;
22
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { OrderList } from './order-list';
13
- /**
14
- * The response schema for the getOrders operation.
15
- */
16
- export interface GetOrdersResponse {
17
- 'payload'?: OrderList;
18
- /**
19
- * A list of error responses returned when a request is unsuccessful.
20
- */
21
- 'errors'?: Array<Error>;
22
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Gift details for the item.
14
- */
15
- export interface GiftDetails {
16
- /**
17
- * Gift message to be printed in shipment.
18
- */
19
- 'giftMessage'?: string;
20
- /**
21
- * Gift wrap identifier for the gift wrapping, if any.
22
- */
23
- 'giftWrapId'?: string;
24
- }
@@ -1,26 +0,0 @@
1
- export * from './acknowledgement-status';
2
- export * from './address';
3
- export * from './get-order-response';
4
- export * from './get-orders-response';
5
- export * from './gift-details';
6
- export * from './item-quantity';
7
- export * from './model-error';
8
- export * from './money';
9
- export * from './order';
10
- export * from './order-acknowledgement-item';
11
- export * from './order-details';
12
- export * from './order-details-tax-total';
13
- export * from './order-item';
14
- export * from './order-item-acknowledgement';
15
- export * from './order-item-tax-details';
16
- export * from './order-list';
17
- export * from './pagination';
18
- export * from './party-identification';
19
- export * from './scheduled-delivery-shipment';
20
- export * from './shipment-dates';
21
- export * from './shipment-details';
22
- export * from './submit-acknowledgement-request';
23
- export * from './submit-acknowledgement-response';
24
- export * from './tax-details';
25
- export * from './tax-registration-details';
26
- export * from './transaction-id';
@@ -1,28 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Details of quantity ordered.
14
- */
15
- export interface ItemQuantity {
16
- /**
17
- * Acknowledged quantity. This value should not be zero.
18
- */
19
- 'amount'?: number;
20
- /**
21
- * Unit of measure for the acknowledged quantity.
22
- */
23
- 'unitOfMeasure'?: ItemQuantityUnitOfMeasureEnum;
24
- }
25
- export declare const ItemQuantityUnitOfMeasureEnum: {
26
- readonly Each: "Each";
27
- };
28
- export type ItemQuantityUnitOfMeasureEnum = typeof ItemQuantityUnitOfMeasureEnum[keyof typeof ItemQuantityUnitOfMeasureEnum];
@@ -1,28 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Error response returned when the request is unsuccessful.
14
- */
15
- export interface ModelError {
16
- /**
17
- * An error code that identifies the type of error that occurred.
18
- */
19
- 'code': string;
20
- /**
21
- * A message that describes the error condition.
22
- */
23
- 'message': string;
24
- /**
25
- * Additional details that can help the caller understand or fix the issue.
26
- */
27
- 'details'?: string;
28
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * An amount of money, including units in the form of currency.
14
- */
15
- export interface Money {
16
- /**
17
- * Three digit currency code in ISO 4217 format. String of length 3.
18
- */
19
- 'currencyCode'?: string;
20
- /**
21
- * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
22
- */
23
- 'amount'?: string;
24
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { AcknowledgementStatus } from './acknowledgement-status';
13
- import type { OrderItemAcknowledgement } from './order-item-acknowledgement';
14
- import type { PartyIdentification } from './party-identification';
15
- /**
16
- * Details of an individual order being acknowledged.
17
- */
18
- export interface OrderAcknowledgementItem {
19
- /**
20
- * The purchase order number for this order. Formatting Notes: alpha-numeric code.
21
- */
22
- 'purchaseOrderNumber': string;
23
- /**
24
- * The vendor\'s order number for this order.
25
- */
26
- 'vendorOrderNumber': string;
27
- /**
28
- * The date and time when the order is acknowledged, in ISO-8601 date/time format. For example: 2018-07-16T23:00:00Z / 2018-07-16T23:00:00-05:00 / 2018-07-16T23:00:00-08:00.
29
- */
30
- 'acknowledgementDate': string;
31
- 'acknowledgementStatus': AcknowledgementStatus;
32
- 'sellingParty': PartyIdentification;
33
- 'shipFromParty': PartyIdentification;
34
- /**
35
- * Item details including acknowledged quantity.
36
- */
37
- 'itemAcknowledgements': Array<OrderItemAcknowledgement>;
38
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { TaxDetails } from './tax-details';
13
- /**
14
- * The total Tax object within shipment that relates to the order.
15
- */
16
- export interface OrderDetailsTaxTotal {
17
- /**
18
- * A list of tax line items.
19
- */
20
- 'taxLineItem'?: Array<TaxDetails>;
21
- }
@@ -1,50 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Address } from './address';
13
- import type { OrderDetailsTaxTotal } from './order-details-tax-total';
14
- import type { OrderItem } from './order-item';
15
- import type { PartyIdentification } from './party-identification';
16
- import type { ShipmentDetails } from './shipment-details';
17
- /**
18
- * Details of an order.
19
- */
20
- export interface OrderDetails {
21
- /**
22
- * The customer order number.
23
- */
24
- 'customerOrderNumber': string;
25
- /**
26
- * The date the order was placed. This field is expected to be in ISO-8601 date/time format, for example:2018-07-16T23:00:00Z/ 2018-07-16T23:00:00-05:00 /2018-07-16T23:00:00-08:00. If no time zone is specified, UTC should be assumed.
27
- */
28
- 'orderDate': string;
29
- /**
30
- * Current status of the order.
31
- */
32
- 'orderStatus'?: OrderDetailsOrderStatusEnum;
33
- 'shipmentDetails': ShipmentDetails;
34
- 'taxTotal'?: OrderDetailsTaxTotal;
35
- 'sellingParty': PartyIdentification;
36
- 'shipFromParty': PartyIdentification;
37
- 'shipToParty': Address;
38
- 'billToParty': PartyIdentification;
39
- /**
40
- * A list of items in this purchase order.
41
- */
42
- 'items': Array<OrderItem>;
43
- }
44
- export declare const OrderDetailsOrderStatusEnum: {
45
- readonly New: "NEW";
46
- readonly Shipped: "SHIPPED";
47
- readonly Accepted: "ACCEPTED";
48
- readonly Cancelled: "CANCELLED";
49
- };
50
- export type OrderDetailsOrderStatusEnum = typeof OrderDetailsOrderStatusEnum[keyof typeof OrderDetailsOrderStatusEnum];
@@ -1,30 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ItemQuantity } from './item-quantity';
13
- /**
14
- * Details of an individual item within the order being acknowledged.
15
- */
16
- export interface OrderItemAcknowledgement {
17
- /**
18
- * Line item sequence number for the item.
19
- */
20
- 'itemSequenceNumber': string;
21
- /**
22
- * Buyer\'s standard identification number (ASIN) of an item.
23
- */
24
- 'buyerProductIdentifier'?: string;
25
- /**
26
- * The vendor selected product identification of the item. Should be the same as was provided in the purchase order.
27
- */
28
- 'vendorProductIdentifier'?: string;
29
- 'acknowledgedQuantity': ItemQuantity;
30
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { TaxDetails } from './tax-details';
13
- /**
14
- * Total tax details for the line item.
15
- */
16
- export interface OrderItemTaxDetails {
17
- /**
18
- * A list of tax line items.
19
- */
20
- 'taxLineItem'?: Array<TaxDetails>;
21
- }
@@ -1,43 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { GiftDetails } from './gift-details';
13
- import type { ItemQuantity } from './item-quantity';
14
- import type { Money } from './money';
15
- import type { OrderItemTaxDetails } from './order-item-tax-details';
16
- import type { ScheduledDeliveryShipment } from './scheduled-delivery-shipment';
17
- /**
18
- * An item within an order
19
- */
20
- export interface OrderItem {
21
- /**
22
- * Numbering of the item on the purchase order. The first item will be 1, the second 2, and so on.
23
- */
24
- 'itemSequenceNumber': string;
25
- /**
26
- * Buyer\'s standard identification number (ASIN) of an item.
27
- */
28
- 'buyerProductIdentifier'?: string;
29
- /**
30
- * The vendor selected product identification of the item.
31
- */
32
- 'vendorProductIdentifier'?: string;
33
- /**
34
- * Title for the item.
35
- */
36
- 'title'?: string;
37
- 'orderedQuantity': ItemQuantity;
38
- 'scheduledDeliveryShipment'?: ScheduledDeliveryShipment;
39
- 'giftDetails'?: GiftDetails;
40
- 'netPrice': Money;
41
- 'taxDetails'?: OrderItemTaxDetails;
42
- 'totalPrice'?: Money;
43
- }