@sp-api-sdk/invoices-api-2024-06-19 2.1.4 → 3.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.
- package/README.md +4 -4
- package/dist/index.cjs +1090 -0
- package/dist/index.cjs.map +1 -0
- package/dist/{types/api-model/api/invoices-api.d.ts → index.d.cts} +853 -45
- package/dist/index.d.ts +1408 -0
- package/dist/index.js +1042 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/invoices-api.js +0 -832
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/attribute-option.js +0 -15
- package/dist/cjs/api-model/models/carrier-details-context.js +0 -15
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/export-invoices-request.js +0 -15
- package/dist/cjs/api-model/models/export-invoices-response.js +0 -15
- package/dist/cjs/api-model/models/export-status.js +0 -25
- package/dist/cjs/api-model/models/export.js +0 -15
- package/dist/cjs/api-model/models/file-format.js +0 -22
- package/dist/cjs/api-model/models/get-invoice-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-attributes-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-document-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-export-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-exports-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-response.js +0 -15
- package/dist/cjs/api-model/models/government-invoice-creation-status.js +0 -24
- package/dist/cjs/api-model/models/government-invoice-request.js +0 -15
- package/dist/cjs/api-model/models/government-invoice-status-response.js +0 -15
- package/dist/cjs/api-model/models/govt-invoice-document-response.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -41
- package/dist/cjs/api-model/models/invoice-document.js +0 -15
- package/dist/cjs/api-model/models/invoice-error.js +0 -15
- package/dist/cjs/api-model/models/invoice.js +0 -15
- package/dist/cjs/api-model/models/invoices-attributes.js +0 -15
- package/dist/cjs/api-model/models/invoices-document.js +0 -15
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/transaction-identifier.js +0 -15
- package/dist/cjs/client.js +0 -84
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/invoices-api.js +0 -822
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/attribute-option.js +0 -14
- package/dist/es/api-model/models/carrier-details-context.js +0 -14
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/export-invoices-request.js +0 -14
- package/dist/es/api-model/models/export-invoices-response.js +0 -14
- package/dist/es/api-model/models/export-status.js +0 -22
- package/dist/es/api-model/models/export.js +0 -14
- package/dist/es/api-model/models/file-format.js +0 -19
- package/dist/es/api-model/models/get-invoice-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-attributes-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-document-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-export-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-exports-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-response.js +0 -14
- package/dist/es/api-model/models/government-invoice-creation-status.js +0 -21
- package/dist/es/api-model/models/government-invoice-request.js +0 -14
- package/dist/es/api-model/models/government-invoice-status-response.js +0 -14
- package/dist/es/api-model/models/govt-invoice-document-response.js +0 -14
- package/dist/es/api-model/models/index.js +0 -25
- package/dist/es/api-model/models/invoice-document.js +0 -14
- package/dist/es/api-model/models/invoice-error.js +0 -14
- package/dist/es/api-model/models/invoice.js +0 -14
- package/dist/es/api-model/models/invoices-attributes.js +0 -14
- package/dist/es/api-model/models/invoices-document.js +0 -14
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/transaction-identifier.js +0 -14
- package/dist/es/client.js +0 -80
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/attribute-option.d.ts +0 -24
- package/dist/types/api-model/models/carrier-details-context.d.ts +0 -48
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/export-invoices-request.d.ts +0 -52
- package/dist/types/api-model/models/export-invoices-response.d.ts +0 -20
- package/dist/types/api-model/models/export-status.d.ts +0 -21
- package/dist/types/api-model/models/export.d.ts +0 -38
- package/dist/types/api-model/models/file-format.d.ts +0 -18
- package/dist/types/api-model/models/get-invoice-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-attributes-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-document-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-export-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-exports-response.d.ts +0 -25
- package/dist/types/api-model/models/get-invoices-response.d.ts +0 -25
- package/dist/types/api-model/models/government-invoice-creation-status.d.ts +0 -20
- package/dist/types/api-model/models/government-invoice-request.d.ts +0 -41
- package/dist/types/api-model/models/government-invoice-status-response.d.ts +0 -27
- package/dist/types/api-model/models/govt-invoice-document-response.d.ts +0 -18
- package/dist/types/api-model/models/index.d.ts +0 -25
- package/dist/types/api-model/models/invoice-document.d.ts +0 -20
- package/dist/types/api-model/models/invoice-error.d.ts +0 -24
- package/dist/types/api-model/models/invoice.d.ts +0 -57
- package/dist/types/api-model/models/invoices-attributes.d.ts +0 -33
- package/dist/types/api-model/models/invoices-document.d.ts +0 -24
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/transaction-identifier.d.ts +0 -24
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 { Export } from './export';
|
|
13
|
-
/**
|
|
14
|
-
* Success.
|
|
15
|
-
*/
|
|
16
|
-
export interface GetInvoicesExportResponse {
|
|
17
|
-
'export'?: Export;
|
|
18
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 { Export } from './export';
|
|
13
|
-
/**
|
|
14
|
-
* Success.
|
|
15
|
-
*/
|
|
16
|
-
export interface GetInvoicesExportsResponse {
|
|
17
|
-
/**
|
|
18
|
-
* A list of exports.
|
|
19
|
-
*/
|
|
20
|
-
'exports'?: Array<Export>;
|
|
21
|
-
/**
|
|
22
|
-
* This token is returned when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the `getInvoices` operation and include this token with the previous call parameters.
|
|
23
|
-
*/
|
|
24
|
-
'nextToken'?: string;
|
|
25
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 { Invoice } from './invoice';
|
|
13
|
-
/**
|
|
14
|
-
* Success.
|
|
15
|
-
*/
|
|
16
|
-
export interface GetInvoicesResponse {
|
|
17
|
-
/**
|
|
18
|
-
* A list of invoices.
|
|
19
|
-
*/
|
|
20
|
-
'invoices'?: Array<Invoice>;
|
|
21
|
-
/**
|
|
22
|
-
* This token is returned when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the `getInvoices` operation and include this token with the previous call parameters.
|
|
23
|
-
*/
|
|
24
|
-
'nextToken'?: string;
|
|
25
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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
|
-
* The current status of a government invoice creation request.
|
|
14
|
-
*/
|
|
15
|
-
export declare const GovernmentInvoiceCreationStatus: {
|
|
16
|
-
readonly Processing: "PROCESSING";
|
|
17
|
-
readonly Success: "SUCCESS";
|
|
18
|
-
readonly Error: "ERROR";
|
|
19
|
-
};
|
|
20
|
-
export type GovernmentInvoiceCreationStatus = typeof GovernmentInvoiceCreationStatus[keyof typeof GovernmentInvoiceCreationStatus];
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 { CarrierDetailsContext } from './carrier-details-context';
|
|
13
|
-
/**
|
|
14
|
-
* Information required to create the government invoice.
|
|
15
|
-
*/
|
|
16
|
-
export interface GovernmentInvoiceRequest {
|
|
17
|
-
/**
|
|
18
|
-
* Object that contains additional invoice creation information
|
|
19
|
-
*/
|
|
20
|
-
'contexts'?: Array<CarrierDetailsContext>;
|
|
21
|
-
/**
|
|
22
|
-
* The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
|
|
23
|
-
*/
|
|
24
|
-
'inboundPlanId'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Marketplace specific classification of the invoice type. Check \'invoiceType\' options using \'getInvoicesAttributes\' operation.
|
|
27
|
-
*/
|
|
28
|
-
'invoiceType': string;
|
|
29
|
-
/**
|
|
30
|
-
* The government invoices creation request will match the national authoritative source of the given marketplace.
|
|
31
|
-
*/
|
|
32
|
-
'marketplaceId': string;
|
|
33
|
-
/**
|
|
34
|
-
* The unique shipment identifier to get an invoice for.
|
|
35
|
-
*/
|
|
36
|
-
'shipmentId': string;
|
|
37
|
-
/**
|
|
38
|
-
* Marketplace specific classification of the transaction type that originated the invoice. Check \'transactionType\' options using \'getInvoicesAttributes\' operation.
|
|
39
|
-
*/
|
|
40
|
-
'transactionType': string;
|
|
41
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 { GovernmentInvoiceCreationStatus } from './government-invoice-creation-status';
|
|
13
|
-
import type { InvoiceError } from './invoice-error';
|
|
14
|
-
/**
|
|
15
|
-
* Success.
|
|
16
|
-
*/
|
|
17
|
-
export interface GovernmentInvoiceStatusResponse {
|
|
18
|
-
/**
|
|
19
|
-
* The errors that occurred during invoice creation.
|
|
20
|
-
*/
|
|
21
|
-
'invoiceErrors'?: Array<InvoiceError>;
|
|
22
|
-
/**
|
|
23
|
-
* Government Invoice ID of a successfully authorized invoice.
|
|
24
|
-
*/
|
|
25
|
-
'invoiceExternalDocumentId'?: string;
|
|
26
|
-
'status'?: GovernmentInvoiceCreationStatus;
|
|
27
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 { InvoiceDocument } from './invoice-document';
|
|
13
|
-
/**
|
|
14
|
-
* Success.
|
|
15
|
-
*/
|
|
16
|
-
export interface GovtInvoiceDocumentResponse {
|
|
17
|
-
'invoiceDocument'?: InvoiceDocument;
|
|
18
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export * from './attribute-option';
|
|
2
|
-
export * from './carrier-details-context';
|
|
3
|
-
export * from './error-list';
|
|
4
|
-
export * from './export';
|
|
5
|
-
export * from './export-invoices-request';
|
|
6
|
-
export * from './export-invoices-response';
|
|
7
|
-
export * from './export-status';
|
|
8
|
-
export * from './file-format';
|
|
9
|
-
export * from './get-invoice-response';
|
|
10
|
-
export * from './get-invoices-attributes-response';
|
|
11
|
-
export * from './get-invoices-document-response';
|
|
12
|
-
export * from './get-invoices-export-response';
|
|
13
|
-
export * from './get-invoices-exports-response';
|
|
14
|
-
export * from './get-invoices-response';
|
|
15
|
-
export * from './government-invoice-creation-status';
|
|
16
|
-
export * from './government-invoice-request';
|
|
17
|
-
export * from './government-invoice-status-response';
|
|
18
|
-
export * from './govt-invoice-document-response';
|
|
19
|
-
export * from './invoice';
|
|
20
|
-
export * from './invoice-document';
|
|
21
|
-
export * from './invoice-error';
|
|
22
|
-
export * from './invoices-attributes';
|
|
23
|
-
export * from './invoices-document';
|
|
24
|
-
export * from './model-error';
|
|
25
|
-
export * from './transaction-identifier';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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
|
-
* Object containing the documentId and a S3 pre-signed URL to download the specified document file.
|
|
14
|
-
*/
|
|
15
|
-
export interface InvoiceDocument {
|
|
16
|
-
/**
|
|
17
|
-
* A pre-signed URL to download the invoice document in its original format. This URL expires after 30 seconds.
|
|
18
|
-
*/
|
|
19
|
-
'invoiceDocumentUrl'?: string;
|
|
20
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 invoice creation error occurrence.
|
|
14
|
-
*/
|
|
15
|
-
export interface InvoiceError {
|
|
16
|
-
/**
|
|
17
|
-
* A text description of the error.
|
|
18
|
-
*/
|
|
19
|
-
'description'?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The code of the error.
|
|
22
|
-
*/
|
|
23
|
-
'errorCode'?: string;
|
|
24
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 { TransactionIdentifier } from './transaction-identifier';
|
|
13
|
-
/**
|
|
14
|
-
* Provides detailed information about an invoice.
|
|
15
|
-
*/
|
|
16
|
-
export interface Invoice {
|
|
17
|
-
/**
|
|
18
|
-
* The date and time the invoice is issued. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
19
|
-
*/
|
|
20
|
-
'date'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* If the invoice is in an error state, this attribute displays the error code.
|
|
23
|
-
*/
|
|
24
|
-
'errorCode'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The invoice identifier that is used by an external party. This is typically the government agency that authorized the invoice.
|
|
27
|
-
*/
|
|
28
|
-
'externalInvoiceId'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The response message from the government authority when there is an error during invoice issuance.
|
|
31
|
-
*/
|
|
32
|
-
'govResponse'?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The invoice identifier.
|
|
35
|
-
*/
|
|
36
|
-
'id'?: string;
|
|
37
|
-
/**
|
|
38
|
-
* The classification of the invoice type. This varies across marketplaces. Use the `getInvoicesAttributes` operation to check `invoiceType` options.
|
|
39
|
-
*/
|
|
40
|
-
'invoiceType'?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Use this identifier in conjunction with `externalInvoiceId` to identify invoices from the same seller.
|
|
43
|
-
*/
|
|
44
|
-
'series'?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The invoice status classification. Use the `getInvoicesAttributes` operation to check invoice status options.
|
|
47
|
-
*/
|
|
48
|
-
'status'?: string;
|
|
49
|
-
/**
|
|
50
|
-
* List with identifiers for the transactions associated to the invoice.
|
|
51
|
-
*/
|
|
52
|
-
'transactionIds'?: Array<TransactionIdentifier>;
|
|
53
|
-
/**
|
|
54
|
-
* Classification of the transaction that originated this invoice. Use the `getInvoicesAttributes` operation to check `transactionType` options.
|
|
55
|
-
*/
|
|
56
|
-
'transactionType'?: string;
|
|
57
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 { AttributeOption } from './attribute-option';
|
|
13
|
-
/**
|
|
14
|
-
* An object that contains the invoice attributes definition.
|
|
15
|
-
*/
|
|
16
|
-
export interface InvoicesAttributes {
|
|
17
|
-
/**
|
|
18
|
-
* A list of all the options that are available for the invoice status attribute.
|
|
19
|
-
*/
|
|
20
|
-
'invoiceStatusOptions'?: Array<AttributeOption>;
|
|
21
|
-
/**
|
|
22
|
-
* A list of all the options that are available for the invoice type attribute.
|
|
23
|
-
*/
|
|
24
|
-
'invoiceTypeOptions'?: Array<AttributeOption>;
|
|
25
|
-
/**
|
|
26
|
-
* A list of all the options that are available for the transaction identifier name attribute.
|
|
27
|
-
*/
|
|
28
|
-
'transactionIdentifierNameOptions'?: Array<AttributeOption>;
|
|
29
|
-
/**
|
|
30
|
-
* A list of all the options that are available for the transaction type attribute.
|
|
31
|
-
*/
|
|
32
|
-
'transactionTypeOptions'?: Array<AttributeOption>;
|
|
33
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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 object that contains the `documentId` and an S3 pre-signed URL that you can use to download the specified file.
|
|
14
|
-
*/
|
|
15
|
-
export interface InvoicesDocument {
|
|
16
|
-
/**
|
|
17
|
-
* The identifier of the export document.
|
|
18
|
-
*/
|
|
19
|
-
'invoicesDocumentId'?: string;
|
|
20
|
-
/**
|
|
21
|
-
* A pre-signed URL that you can use to download the invoices document in zip format. This URL expires after 30 seconds.
|
|
22
|
-
*/
|
|
23
|
-
'invoicesDocumentUrl'?: string;
|
|
24
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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
|
-
* The error response that is 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
|
-
* Additional details that can help the caller understand or fix the issue.
|
|
22
|
-
*/
|
|
23
|
-
'details'?: string;
|
|
24
|
-
/**
|
|
25
|
-
* A message that describes the error condition.
|
|
26
|
-
*/
|
|
27
|
-
'message': string;
|
|
28
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Invoices.
|
|
3
|
-
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-19
|
|
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
|
-
* The identifier for a transaction.
|
|
14
|
-
*/
|
|
15
|
-
export interface TransactionIdentifier {
|
|
16
|
-
/**
|
|
17
|
-
* The transaction identifier name. Use the `getInvoicesAttributes` operation to check `transactionIdentifierName` options.
|
|
18
|
-
*/
|
|
19
|
-
'name'?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The transaction identifier.
|
|
22
|
-
*/
|
|
23
|
-
'id'?: string;
|
|
24
|
-
}
|
package/dist/types/client.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
-
import { InvoicesApi } from './api-model';
|
|
3
|
-
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class InvoicesApiClient extends InvoicesApi {
|
|
5
|
-
constructor(configuration: ClientConfiguration);
|
|
6
|
-
}
|
package/dist/types/index.d.ts
DELETED