Skip to content

Commit 083bddb

Browse files
bizon-bottusbar
andauthored
feat(clients): update models as of 2025-08-29 (#1574)
Co-authored-by: tusbar <[email protected]>
1 parent 1fff550 commit 083bddb

File tree

5 files changed

+87
-1
lines changed

5 files changed

+87
-1
lines changed

clients/shipment-invoicing-api-v0/src/api-model/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import type { Configuration } from './configuration';
1919
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
2020
import globalAxios from 'axios';
2121

22-
export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
22+
export const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
2323

2424
export const COLLECTION_FORMATS = {
2525
csv: ",",

clients/shipment-invoicing-api-v0/src/api-model/models/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ export * from './get-shipment-details-response';
66
export * from './marketplace-tax-info';
77
export * from './model-error';
88
export * from './money';
9+
export * from './payment-information';
10+
export * from './payment-method-enum';
911
export * from './shipment-detail';
1012
export * from './shipment-invoice-status';
1113
export * from './shipment-invoice-status-info';
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Selling Partner API for Shipment Invoicing
5+
* The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.
6+
*
7+
* The version of the OpenAPI document: v0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import type { Money } from './money';
19+
// May contain unused imports in some cases
20+
// @ts-ignore
21+
import type { PaymentMethodEnum } from './payment-method-enum';
22+
23+
/**
24+
* Payment transaction information
25+
*/
26+
export interface PaymentInformation {
27+
'PaymentMethod'?: PaymentMethodEnum;
28+
/**
29+
* Government ID of acquirer
30+
*/
31+
'AcquirerId'?: string;
32+
/**
33+
* Credit card brand (if payment method is CreditCard)
34+
*/
35+
'CardBrand'?: string;
36+
'PaymentValue'?: Money;
37+
/**
38+
* Authorization code for this payment
39+
*/
40+
'AuthorizationCode'?: string;
41+
}
42+
43+
44+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Selling Partner API for Shipment Invoicing
5+
* The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.
6+
*
7+
* The version of the OpenAPI document: v0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
17+
/**
18+
* Payment methods
19+
*/
20+
21+
export const PaymentMethodEnum = {
22+
CreditCard: 'CreditCard',
23+
DebitCard: 'DebitCard',
24+
Pix: 'Pix',
25+
BankSlip: 'BankSlip',
26+
GiftCard: 'GiftCard',
27+
Other: 'Other'
28+
} as const;
29+
30+
export type PaymentMethodEnum = typeof PaymentMethodEnum[keyof typeof PaymentMethodEnum];
31+
32+
33+

clients/shipment-invoicing-api-v0/src/api-model/models/shipment-detail.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ import type { BuyerTaxInfo } from './buyer-tax-info';
2424
import type { MarketplaceTaxInfo } from './marketplace-tax-info';
2525
// May contain unused imports in some cases
2626
// @ts-ignore
27+
import type { PaymentInformation } from './payment-information';
28+
// May contain unused imports in some cases
29+
// @ts-ignore
2730
import type { ShipmentItem } from './shipment-item';
2831

2932
/**
@@ -51,6 +54,10 @@ export interface ShipmentDetail {
5154
* The list of payment method details.
5255
*/
5356
'PaymentMethodDetails'?: Array<string>;
57+
/**
58+
* List of payment transactions
59+
*/
60+
'Payments'?: Array<PaymentInformation>;
5461
/**
5562
* The identifier for the marketplace where the order was placed.
5663
*/

0 commit comments

Comments
 (0)