@amazon-sp-api-release/amazon-sp-api-sdk-js 1.1.0 → 1.3.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 +2 -3
- package/helper/DefaultRateLimitMap.mjs +14 -1
- package/index.js +2 -0
- package/package.json +1 -1
- package/src/apluscontent_v2020_11_01/ApiClient.js +5 -1
- package/src/appintegrations_v2024_04_01/ApiClient.js +5 -1
- package/src/applications_v2023_11_30/ApiClient.js +5 -1
- package/src/awd_v2024_05_09/ApiClient.js +5 -1
- package/src/catalogitems_v2022_04_01/ApiClient.js +5 -1
- package/src/datakiosk_v2023_11_15/ApiClient.js +5 -1
- package/src/easyship_v2022_03_23/ApiClient.js +5 -1
- package/src/fbaeligibility_v1/ApiClient.js +5 -1
- package/src/fbainventory_v1/ApiClient.js +5 -1
- package/src/feeds_v2021_06_30/ApiClient.js +5 -1
- package/src/finances_2024_06_19/ApiClient.js +827 -0
- package/src/finances_2024_06_19/api/DefaultApi.js +125 -0
- package/src/finances_2024_06_19/index.js +168 -0
- package/src/finances_2024_06_19/model/AmazonPayContext.js +76 -0
- package/src/finances_2024_06_19/model/Breakdown.js +76 -0
- package/src/finances_2024_06_19/model/BusinessContext.js +76 -0
- package/src/finances_2024_06_19/model/Context.js +308 -0
- package/src/finances_2024_06_19/model/Currency.js +69 -0
- package/src/finances_2024_06_19/model/DeferredContext.js +69 -0
- package/src/finances_2024_06_19/model/Error.js +80 -0
- package/src/finances_2024_06_19/model/ErrorList.js +65 -0
- package/src/finances_2024_06_19/model/Item.js +93 -0
- package/src/finances_2024_06_19/model/ItemRelatedIdentifier.js +101 -0
- package/src/finances_2024_06_19/model/ListTransactionsResponse.js +62 -0
- package/src/finances_2024_06_19/model/MarketplaceDetails.js +69 -0
- package/src/finances_2024_06_19/model/PaymentsContext.js +83 -0
- package/src/finances_2024_06_19/model/ProductContext.js +83 -0
- package/src/finances_2024_06_19/model/RelatedIdentifier.js +137 -0
- package/src/finances_2024_06_19/model/SellingPartnerMetadata.js +76 -0
- package/src/finances_2024_06_19/model/TimeRangeContext.js +69 -0
- package/src/finances_2024_06_19/model/Transaction.js +143 -0
- package/src/finances_2024_06_19/model/TransactionsPayload.js +70 -0
- package/src/finances_v0/ApiClient.js +5 -1
- package/src/fulfillmentinbound_v0/ApiClient.js +5 -1
- package/src/fulfillmentinbound_v2024_03_20/ApiClient.js +5 -1
- package/src/fulfillmentoutbound_v2020_07_01/ApiClient.js +5 -1
- package/src/invoices_v2024_06_19/ApiClient.js +5 -1
- package/src/invoicing_v0/ApiClient.js +5 -1
- package/src/listingsitems_v2021_08_01/ApiClient.js +5 -1
- package/src/listingsitems_v2021_08_01/api/ListingsApi.js +6 -6
- package/src/listingsitems_v2021_08_01/model/FulfillmentAvailability.js +2 -2
- package/src/listingsitems_v2021_08_01/model/Issue.js +2 -2
- package/src/listingsitems_v2021_08_01/model/IssueExemption.js +1 -1
- package/src/listingsitems_v2021_08_01/model/ItemRelationship.js +1 -1
- package/src/listingsitems_v2021_08_01/model/ItemSearchResults.js +2 -2
- package/src/listingsitems_v2021_08_01/model/Pagination.js +1 -1
- package/src/listingsitems_v2021_08_01/model/PatchOperation.js +9 -3
- package/src/listingsrestrictions_v2021_08_01/ApiClient.js +5 -1
- package/src/merchantfulfillment_v0/ApiClient.js +5 -1
- package/src/messaging_v1/ApiClient.js +5 -1
- package/src/notifications_v1/ApiClient.js +5 -1
- package/src/orders_v0/ApiClient.js +5 -1
- package/src/orders_v0/api/OrdersV0Api.js +26 -26
- package/src/orders_v0/api/ShipmentApi.js +2 -2
- package/src/orders_v0/index.js +0 -7
- package/src/orders_v0/model/AmazonPrograms.js +3 -3
- package/src/orders_v0/model/OrderItem.js +0 -7
- package/src/orders_v0/model/OrdersList.js +1 -1
- package/src/orders_v0/model/PackageDetail.js +1 -1
- package/src/pricing_v0/ApiClient.js +5 -1
- package/src/pricing_v2022_05_01/ApiClient.js +5 -1
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryRequest.js +2 -2
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponseBody.js +2 -2
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequest.js +3 -3
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequestParams.js +2 -2
- package/src/pricing_v2022_05_01/model/FeaturedOfferSegment.js +7 -1
- package/src/pricing_v2022_05_01/model/LowestPricedOffersInput.js +2 -2
- package/src/pricing_v2022_05_01/model/OfferIdentifier.js +2 -2
- package/src/pricing_v2022_05_01/model/ReferencePrice.js +2 -2
- package/src/productfees_v0/ApiClient.js +5 -1
- package/src/producttypedefinitions_v2020_09_01/ApiClient.js +5 -1
- package/src/replenishment_v2022_11_07/ApiClient.js +5 -1
- package/src/reports_v2021_06_30/ApiClient.js +5 -1
- package/src/sales_v1/ApiClient.js +5 -1
- package/src/sales_v1/api/SalesApi.js +4 -1
- package/src/sellerWallet_2024_03_01/ApiClient.js +827 -0
- package/src/sellerWallet_2024_03_01/api/AccountsApi.js +212 -0
- package/src/sellerWallet_2024_03_01/api/TransactionsApi.js +233 -0
- package/src/sellerWallet_2024_03_01/api/TransferPreviewApi.js +144 -0
- package/src/sellerWallet_2024_03_01/api/TransferScheduleApi.js +347 -0
- package/src/sellerWallet_2024_03_01/index.js +322 -0
- package/src/sellerWallet_2024_03_01/model/AccountHolderAddress.js +114 -0
- package/src/sellerWallet_2024_03_01/model/Balance.js +98 -0
- package/src/sellerWallet_2024_03_01/model/BalanceListing.js +63 -0
- package/src/sellerWallet_2024_03_01/model/BalanceType.js +54 -0
- package/src/sellerWallet_2024_03_01/model/BankAccount.js +148 -0
- package/src/sellerWallet_2024_03_01/model/BankAccountHolderStatus.js +54 -0
- package/src/sellerWallet_2024_03_01/model/BankAccountListing.js +65 -0
- package/src/sellerWallet_2024_03_01/model/BankAccountNumberFormat.js +42 -0
- package/src/sellerWallet_2024_03_01/model/BankAccountOwnershipType.js +48 -0
- package/src/sellerWallet_2024_03_01/model/BankNumberFormat.js +42 -0
- package/src/sellerWallet_2024_03_01/model/Currency.js +69 -0
- package/src/sellerWallet_2024_03_01/model/DeleteTransferSchedule.js +80 -0
- package/src/sellerWallet_2024_03_01/model/Error.js +80 -0
- package/src/sellerWallet_2024_03_01/model/ErrorList.js +65 -0
- package/src/sellerWallet_2024_03_01/model/Fee.js +91 -0
- package/src/sellerWallet_2024_03_01/model/FeeType.js +48 -0
- package/src/sellerWallet_2024_03_01/model/FxRateDetails.js +91 -0
- package/src/sellerWallet_2024_03_01/model/PaymentPreference.js +73 -0
- package/src/sellerWallet_2024_03_01/model/PaymentPreferencePaymentType.js +42 -0
- package/src/sellerWallet_2024_03_01/model/RateDirection.js +42 -0
- package/src/sellerWallet_2024_03_01/model/RecurringFrequency.js +54 -0
- package/src/sellerWallet_2024_03_01/model/ScheduleExpression.js +71 -0
- package/src/sellerWallet_2024_03_01/model/ScheduleExpressionType.js +42 -0
- package/src/sellerWallet_2024_03_01/model/ScheduleTransferType.js +36 -0
- package/src/sellerWallet_2024_03_01/model/Transaction.js +187 -0
- package/src/sellerWallet_2024_03_01/model/TransactionAccount.js +112 -0
- package/src/sellerWallet_2024_03_01/model/TransactionInitiationRequest.js +121 -0
- package/src/sellerWallet_2024_03_01/model/TransactionInstrumentDetails.js +73 -0
- package/src/sellerWallet_2024_03_01/model/TransactionListing.js +72 -0
- package/src/sellerWallet_2024_03_01/model/TransactionStatus.js +66 -0
- package/src/sellerWallet_2024_03_01/model/TransactionType.js +42 -0
- package/src/sellerWallet_2024_03_01/model/TransferRatePreview.js +91 -0
- package/src/sellerWallet_2024_03_01/model/TransferSchedule.js +123 -0
- package/src/sellerWallet_2024_03_01/model/TransferScheduleFailures.js +73 -0
- package/src/sellerWallet_2024_03_01/model/TransferScheduleInformation.js +83 -0
- package/src/sellerWallet_2024_03_01/model/TransferScheduleListing.js +72 -0
- package/src/sellerWallet_2024_03_01/model/TransferScheduleRequest.js +125 -0
- package/src/sellerWallet_2024_03_01/model/TransferScheduleStatus.js +54 -0
- package/src/sellers_v1/ApiClient.js +5 -1
- package/src/services_v1/ApiClient.js +5 -1
- package/src/shipping_v2/ApiClient.js +5 -1
- package/src/solicitations_v1/ApiClient.js +5 -1
- package/src/supplysources_v2020_07_01/ApiClient.js +5 -1
- package/src/tokens_v2021_03_01/ApiClient.js +5 -1
- package/src/transfers_v2024_06_01/ApiClient.js +5 -1
- package/src/uploads_v2020_11_01/ApiClient.js +5 -1
- package/src/vehicles_v2024_11_01/ApiClient.js +5 -1
- package/src/vendordfinventory_v1/ApiClient.js +5 -1
- package/src/vendordforders_v2021_12_28/ApiClient.js +5 -1
- package/src/vendordfpayments_v1/ApiClient.js +5 -1
- package/src/vendordfshipping_v2021_12_28/ApiClient.js +5 -1
- package/src/vendordftransactions_v2021_12_28/ApiClient.js +5 -1
- package/src/vendorinvoices_v1/ApiClient.js +5 -1
- package/src/vendororders_v1/ApiClient.js +5 -1
- package/src/vendorshipments_v1/ApiClient.js +5 -1
- package/src/vendorshipments_v1/api/VendorShippingApi.js +2 -2
- package/src/vendorshipments_v1/model/Shipment.js +3 -3
- package/src/vendortransactionstatus_v1/ApiClient.js +5 -1
- package/src/orders_v0/model/ExportInfo.js +0 -69
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
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
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Enum class BankAccountOwnershipType.
|
|
18
|
+
* @enum {}
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
export class BankAccountOwnershipType {
|
|
22
|
+
/**
|
|
23
|
+
* value: "THIRD_PARTY"
|
|
24
|
+
* @const
|
|
25
|
+
*/
|
|
26
|
+
'THIRD_PARTY' = 'THIRD_PARTY'
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* value: "SELF"
|
|
30
|
+
* @const
|
|
31
|
+
*/
|
|
32
|
+
'SELF' = 'SELF'
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* value: "GOVERNMENT"
|
|
36
|
+
* @const
|
|
37
|
+
*/
|
|
38
|
+
'GOVERNMENT' = 'GOVERNMENT'
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Returns a <code>BankAccountOwnershipType</code> enum value from a Javascript object name.
|
|
42
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
43
|
+
* @return {module:sellerWallet_2024_03_01/model/BankAccountOwnershipType} The enum <code>BankAccountOwnershipType</code> value.
|
|
44
|
+
*/
|
|
45
|
+
static constructFromObject (object) {
|
|
46
|
+
return object
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
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
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Enum class BankNumberFormat.
|
|
18
|
+
* @enum {}
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
export class BankNumberFormat {
|
|
22
|
+
/**
|
|
23
|
+
* value: "BIC"
|
|
24
|
+
* @const
|
|
25
|
+
*/
|
|
26
|
+
'BIC' = 'BIC'
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* value: "BASIC"
|
|
30
|
+
* @const
|
|
31
|
+
*/
|
|
32
|
+
'BASIC' = 'BASIC'
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Returns a <code>BankNumberFormat</code> enum value from a Javascript object name.
|
|
36
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
37
|
+
* @return {module:sellerWallet_2024_03_01/model/BankNumberFormat} The enum <code>BankNumberFormat</code> value.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject (object) {
|
|
40
|
+
return object
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
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
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The Currency model module.
|
|
18
|
+
* @module sellerWallet_2024_03_01/model/Currency
|
|
19
|
+
* @version 2024-03-01
|
|
20
|
+
*/
|
|
21
|
+
export class Currency {
|
|
22
|
+
/**
|
|
23
|
+
* Constructs a new <code>Currency</code>.
|
|
24
|
+
* A currency type and amount.
|
|
25
|
+
* @alias module:sellerWallet_2024_03_01/model/Currency
|
|
26
|
+
* @class
|
|
27
|
+
*/
|
|
28
|
+
constructor () {
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Constructs a <code>Currency</code> from a plain JavaScript object, optionally creating a new instance.
|
|
33
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
34
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
35
|
+
* @param {module:sellerWallet_2024_03_01/model/Currency} obj Optional instance to populate.
|
|
36
|
+
* @return {module:sellerWallet_2024_03_01/model/Currency} The populated <code>Currency</code> instance.
|
|
37
|
+
*/
|
|
38
|
+
static constructFromObject (data, obj) {
|
|
39
|
+
if (data) {
|
|
40
|
+
switch (typeof data) {
|
|
41
|
+
case 'string':
|
|
42
|
+
obj = String(data)
|
|
43
|
+
break
|
|
44
|
+
case 'number':
|
|
45
|
+
obj = Number(data)
|
|
46
|
+
break
|
|
47
|
+
case 'boolean':
|
|
48
|
+
obj = Boolean(data)
|
|
49
|
+
break
|
|
50
|
+
}
|
|
51
|
+
obj = obj || new Currency()
|
|
52
|
+
if (data.hasOwnProperty('currencyCode')) { obj.currencyCode = ApiClient.convertToType(data.currencyCode, 'String') }
|
|
53
|
+
if (data.hasOwnProperty('currencyAmount')) { obj.currencyAmount = ApiClient.convertToType(data.currencyAmount, 'Number') }
|
|
54
|
+
}
|
|
55
|
+
return obj
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The three-digit currency code in ISO 4217 format.
|
|
61
|
+
* @member {String} currencyCode
|
|
62
|
+
*/
|
|
63
|
+
Currency.prototype.currencyCode = undefined
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* A decimal number, such as an amount or FX rate.
|
|
67
|
+
* @member {Number} currencyAmount
|
|
68
|
+
*/
|
|
69
|
+
Currency.prototype.currencyAmount = undefined
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
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
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The DeleteTransferSchedule model module.
|
|
18
|
+
* @module sellerWallet_2024_03_01/model/DeleteTransferSchedule
|
|
19
|
+
* @version 2024-03-01
|
|
20
|
+
*/
|
|
21
|
+
export class DeleteTransferSchedule {
|
|
22
|
+
/**
|
|
23
|
+
* Constructs a new <code>DeleteTransferSchedule</code>.
|
|
24
|
+
* The response returned when the schedule transfer's delete request is successful.
|
|
25
|
+
* @alias module:sellerWallet_2024_03_01/model/DeleteTransferSchedule
|
|
26
|
+
* @class
|
|
27
|
+
* @param code {String} A success code that specifies that the delete operation was successful. For example, HTTP 200.
|
|
28
|
+
* @param message {String} A message that describes the success condition of the delete schedule transaction.
|
|
29
|
+
*/
|
|
30
|
+
constructor (code, message) {
|
|
31
|
+
this.code = code
|
|
32
|
+
this.message = message
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a <code>DeleteTransferSchedule</code> from a plain JavaScript object, optionally creating a new instance.
|
|
37
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
38
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
39
|
+
* @param {module:sellerWallet_2024_03_01/model/DeleteTransferSchedule} obj Optional instance to populate.
|
|
40
|
+
* @return {module:sellerWallet_2024_03_01/model/DeleteTransferSchedule} The populated <code>DeleteTransferSchedule</code> instance.
|
|
41
|
+
*/
|
|
42
|
+
static constructFromObject (data, obj) {
|
|
43
|
+
if (data) {
|
|
44
|
+
switch (typeof data) {
|
|
45
|
+
case 'string':
|
|
46
|
+
obj = String(data)
|
|
47
|
+
break
|
|
48
|
+
case 'number':
|
|
49
|
+
obj = Number(data)
|
|
50
|
+
break
|
|
51
|
+
case 'boolean':
|
|
52
|
+
obj = Boolean(data)
|
|
53
|
+
break
|
|
54
|
+
}
|
|
55
|
+
obj = obj || new DeleteTransferSchedule()
|
|
56
|
+
if (data.hasOwnProperty('code')) { obj.code = ApiClient.convertToType(data.code, 'String') }
|
|
57
|
+
if (data.hasOwnProperty('message')) { obj.message = ApiClient.convertToType(data.message, 'String') }
|
|
58
|
+
if (data.hasOwnProperty('details')) { obj.details = ApiClient.convertToType(data.details, 'String') }
|
|
59
|
+
}
|
|
60
|
+
return obj
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* A success code that specifies that the delete operation was successful. For example, HTTP 200.
|
|
66
|
+
* @member {String} code
|
|
67
|
+
*/
|
|
68
|
+
DeleteTransferSchedule.prototype.code = undefined
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* A message that describes the success condition of the delete schedule transaction.
|
|
72
|
+
* @member {String} message
|
|
73
|
+
*/
|
|
74
|
+
DeleteTransferSchedule.prototype.message = undefined
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Additional details that can help the caller understand the operation execution.
|
|
78
|
+
* @member {String} details
|
|
79
|
+
*/
|
|
80
|
+
DeleteTransferSchedule.prototype.details = undefined
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
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
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The Error model module.
|
|
18
|
+
* @module sellerWallet_2024_03_01/model/Error
|
|
19
|
+
* @version 2024-03-01
|
|
20
|
+
*/
|
|
21
|
+
export class Error {
|
|
22
|
+
/**
|
|
23
|
+
* Constructs a new <code>Error</code>.
|
|
24
|
+
* Error response returned when the request is unsuccessful.
|
|
25
|
+
* @alias module:sellerWallet_2024_03_01/model/Error
|
|
26
|
+
* @class
|
|
27
|
+
* @param code {String} An error code that identifies the type of error that occurred.
|
|
28
|
+
* @param message {String} A message that describes the error condition.
|
|
29
|
+
*/
|
|
30
|
+
constructor (code, message) {
|
|
31
|
+
this.code = code
|
|
32
|
+
this.message = message
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a <code>Error</code> from a plain JavaScript object, optionally creating a new instance.
|
|
37
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
38
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
39
|
+
* @param {module:sellerWallet_2024_03_01/model/Error} obj Optional instance to populate.
|
|
40
|
+
* @return {module:sellerWallet_2024_03_01/model/Error} The populated <code>Error</code> instance.
|
|
41
|
+
*/
|
|
42
|
+
static constructFromObject (data, obj) {
|
|
43
|
+
if (data) {
|
|
44
|
+
switch (typeof data) {
|
|
45
|
+
case 'string':
|
|
46
|
+
obj = String(data)
|
|
47
|
+
break
|
|
48
|
+
case 'number':
|
|
49
|
+
obj = Number(data)
|
|
50
|
+
break
|
|
51
|
+
case 'boolean':
|
|
52
|
+
obj = Boolean(data)
|
|
53
|
+
break
|
|
54
|
+
}
|
|
55
|
+
obj = obj || new Error()
|
|
56
|
+
if (data.hasOwnProperty('code')) { obj.code = ApiClient.convertToType(data.code, 'String') }
|
|
57
|
+
if (data.hasOwnProperty('message')) { obj.message = ApiClient.convertToType(data.message, 'String') }
|
|
58
|
+
if (data.hasOwnProperty('details')) { obj.details = ApiClient.convertToType(data.details, 'String') }
|
|
59
|
+
}
|
|
60
|
+
return obj
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* An error code that identifies the type of error that occurred.
|
|
66
|
+
* @member {String} code
|
|
67
|
+
*/
|
|
68
|
+
Error.prototype.code = undefined
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* A message that describes the error condition.
|
|
72
|
+
* @member {String} message
|
|
73
|
+
*/
|
|
74
|
+
Error.prototype.message = undefined
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
78
|
+
* @member {String} details
|
|
79
|
+
*/
|
|
80
|
+
Error.prototype.details = undefined
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
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
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
import { Error } from './Error.js'
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The ErrorList model module.
|
|
19
|
+
* @module sellerWallet_2024_03_01/model/ErrorList
|
|
20
|
+
* @version 2024-03-01
|
|
21
|
+
*/
|
|
22
|
+
export class ErrorList {
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new <code>ErrorList</code>.
|
|
25
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
26
|
+
* @alias module:sellerWallet_2024_03_01/model/ErrorList
|
|
27
|
+
* @class
|
|
28
|
+
* @param errors {Array.<module:sellerWallet_2024_03_01/model/Error>} List of errors
|
|
29
|
+
*/
|
|
30
|
+
constructor (errors) {
|
|
31
|
+
this.errors = errors
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a <code>ErrorList</code> from a plain JavaScript object, optionally creating a new instance.
|
|
36
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
37
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
38
|
+
* @param {module:sellerWallet_2024_03_01/model/ErrorList} obj Optional instance to populate.
|
|
39
|
+
* @return {module:sellerWallet_2024_03_01/model/ErrorList} The populated <code>ErrorList</code> instance.
|
|
40
|
+
*/
|
|
41
|
+
static constructFromObject (data, obj) {
|
|
42
|
+
if (data) {
|
|
43
|
+
switch (typeof data) {
|
|
44
|
+
case 'string':
|
|
45
|
+
obj = String(data)
|
|
46
|
+
break
|
|
47
|
+
case 'number':
|
|
48
|
+
obj = Number(data)
|
|
49
|
+
break
|
|
50
|
+
case 'boolean':
|
|
51
|
+
obj = Boolean(data)
|
|
52
|
+
break
|
|
53
|
+
}
|
|
54
|
+
obj = obj || new ErrorList()
|
|
55
|
+
if (data.hasOwnProperty('errors')) { obj.errors = ApiClient.convertToType(data.errors, [Error]) }
|
|
56
|
+
}
|
|
57
|
+
return obj
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* List of errors
|
|
63
|
+
* @member {Array.<module:sellerWallet_2024_03_01/model/Error>} errors
|
|
64
|
+
*/
|
|
65
|
+
ErrorList.prototype.errors = undefined
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
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
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
import { Currency } from './Currency.js'
|
|
16
|
+
import { FeeType } from './FeeType.js'
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The Fee model module.
|
|
20
|
+
* @module sellerWallet_2024_03_01/model/Fee
|
|
21
|
+
* @version 2024-03-01
|
|
22
|
+
*/
|
|
23
|
+
export class Fee {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>Fee</code>.
|
|
26
|
+
* Details of the fee.
|
|
27
|
+
* @alias module:sellerWallet_2024_03_01/model/Fee
|
|
28
|
+
* @class
|
|
29
|
+
* @param feeId {String} The unique identifier assigned to the fee.
|
|
30
|
+
* @param feeType {module:sellerWallet_2024_03_01/model/FeeType}
|
|
31
|
+
* @param feeRateValue {Number} A decimal number, such as an amount or FX rate.
|
|
32
|
+
* @param feeAmount {module:sellerWallet_2024_03_01/model/Currency}
|
|
33
|
+
*/
|
|
34
|
+
constructor (feeId, feeType, feeRateValue, feeAmount) {
|
|
35
|
+
this.feeId = feeId
|
|
36
|
+
this.feeType = feeType
|
|
37
|
+
this.feeRateValue = feeRateValue
|
|
38
|
+
this.feeAmount = feeAmount
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Constructs a <code>Fee</code> from a plain JavaScript object, optionally creating a new instance.
|
|
43
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
44
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
45
|
+
* @param {module:sellerWallet_2024_03_01/model/Fee} obj Optional instance to populate.
|
|
46
|
+
* @return {module:sellerWallet_2024_03_01/model/Fee} The populated <code>Fee</code> instance.
|
|
47
|
+
*/
|
|
48
|
+
static constructFromObject (data, obj) {
|
|
49
|
+
if (data) {
|
|
50
|
+
switch (typeof data) {
|
|
51
|
+
case 'string':
|
|
52
|
+
obj = String(data)
|
|
53
|
+
break
|
|
54
|
+
case 'number':
|
|
55
|
+
obj = Number(data)
|
|
56
|
+
break
|
|
57
|
+
case 'boolean':
|
|
58
|
+
obj = Boolean(data)
|
|
59
|
+
break
|
|
60
|
+
}
|
|
61
|
+
obj = obj || new Fee()
|
|
62
|
+
if (data.hasOwnProperty('feeId')) { obj.feeId = ApiClient.convertToType(data.feeId, 'String') }
|
|
63
|
+
if (data.hasOwnProperty('feeType')) { obj.feeType = FeeType.constructFromObject(data.feeType) }
|
|
64
|
+
if (data.hasOwnProperty('feeRateValue')) { obj.feeRateValue = ApiClient.convertToType(data.feeRateValue, 'Number') }
|
|
65
|
+
if (data.hasOwnProperty('feeAmount')) { obj.feeAmount = Currency.constructFromObject(data.feeAmount) }
|
|
66
|
+
}
|
|
67
|
+
return obj
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The unique identifier assigned to the fee.
|
|
73
|
+
* @member {String} feeId
|
|
74
|
+
*/
|
|
75
|
+
Fee.prototype.feeId = undefined
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @member {module:sellerWallet_2024_03_01/model/FeeType} feeType
|
|
79
|
+
*/
|
|
80
|
+
Fee.prototype.feeType = undefined
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* A decimal number, such as an amount or FX rate.
|
|
84
|
+
* @member {Number} feeRateValue
|
|
85
|
+
*/
|
|
86
|
+
Fee.prototype.feeRateValue = undefined
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @member {module:sellerWallet_2024_03_01/model/Currency} feeAmount
|
|
90
|
+
*/
|
|
91
|
+
Fee.prototype.feeAmount = undefined
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
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
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Enum class FeeType.
|
|
18
|
+
* @enum {}
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
export class FeeType {
|
|
22
|
+
/**
|
|
23
|
+
* value: "MISCELLANEOUS_FEE"
|
|
24
|
+
* @const
|
|
25
|
+
*/
|
|
26
|
+
'MISCELLANEOUS_FEE' = 'MISCELLANEOUS_FEE'
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* value: "TAX"
|
|
30
|
+
* @const
|
|
31
|
+
*/
|
|
32
|
+
'TAX' = 'TAX'
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* value: "TRANSACTION_FEE"
|
|
36
|
+
* @const
|
|
37
|
+
*/
|
|
38
|
+
'TRANSACTION_FEE' = 'TRANSACTION_FEE'
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Returns a <code>FeeType</code> enum value from a Javascript object name.
|
|
42
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
43
|
+
* @return {module:sellerWallet_2024_03_01/model/FeeType} The enum <code>FeeType</code> value.
|
|
44
|
+
*/
|
|
45
|
+
static constructFromObject (object) {
|
|
46
|
+
return object
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
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
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
import { RateDirection } from './RateDirection.js'
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The FxRateDetails model module.
|
|
19
|
+
* @module sellerWallet_2024_03_01/model/FxRateDetails
|
|
20
|
+
* @version 2024-03-01
|
|
21
|
+
*/
|
|
22
|
+
export class FxRateDetails {
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new <code>FxRateDetails</code>.
|
|
25
|
+
* Foreign exchange rate details.
|
|
26
|
+
* @alias module:sellerWallet_2024_03_01/model/FxRateDetails
|
|
27
|
+
* @class
|
|
28
|
+
* @param fxRateId {String} The unique identifier assigned to the fees / foreign exchange rate of a transaction.
|
|
29
|
+
* @param baseRate {Number} A decimal number, such as an amount or FX rate.
|
|
30
|
+
* @param effectiveFxRate {Number} A decimal number, such as an amount or FX rate.
|
|
31
|
+
* @param rateDirection {module:sellerWallet_2024_03_01/model/RateDirection}
|
|
32
|
+
*/
|
|
33
|
+
constructor (fxRateId, baseRate, effectiveFxRate, rateDirection) {
|
|
34
|
+
this.fxRateId = fxRateId
|
|
35
|
+
this.baseRate = baseRate
|
|
36
|
+
this.effectiveFxRate = effectiveFxRate
|
|
37
|
+
this.rateDirection = rateDirection
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Constructs a <code>FxRateDetails</code> from a plain JavaScript object, optionally creating a new instance.
|
|
42
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
43
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
44
|
+
* @param {module:sellerWallet_2024_03_01/model/FxRateDetails} obj Optional instance to populate.
|
|
45
|
+
* @return {module:sellerWallet_2024_03_01/model/FxRateDetails} The populated <code>FxRateDetails</code> instance.
|
|
46
|
+
*/
|
|
47
|
+
static constructFromObject (data, obj) {
|
|
48
|
+
if (data) {
|
|
49
|
+
switch (typeof data) {
|
|
50
|
+
case 'string':
|
|
51
|
+
obj = String(data)
|
|
52
|
+
break
|
|
53
|
+
case 'number':
|
|
54
|
+
obj = Number(data)
|
|
55
|
+
break
|
|
56
|
+
case 'boolean':
|
|
57
|
+
obj = Boolean(data)
|
|
58
|
+
break
|
|
59
|
+
}
|
|
60
|
+
obj = obj || new FxRateDetails()
|
|
61
|
+
if (data.hasOwnProperty('fxRateId')) { obj.fxRateId = ApiClient.convertToType(data.fxRateId, 'String') }
|
|
62
|
+
if (data.hasOwnProperty('baseRate')) { obj.baseRate = ApiClient.convertToType(data.baseRate, 'Number') }
|
|
63
|
+
if (data.hasOwnProperty('effectiveFxRate')) { obj.effectiveFxRate = ApiClient.convertToType(data.effectiveFxRate, 'Number') }
|
|
64
|
+
if (data.hasOwnProperty('rateDirection')) { obj.rateDirection = RateDirection.constructFromObject(data.rateDirection) }
|
|
65
|
+
}
|
|
66
|
+
return obj
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* The unique identifier assigned to the fees / foreign exchange rate of a transaction.
|
|
72
|
+
* @member {String} fxRateId
|
|
73
|
+
*/
|
|
74
|
+
FxRateDetails.prototype.fxRateId = undefined
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* A decimal number, such as an amount or FX rate.
|
|
78
|
+
* @member {Number} baseRate
|
|
79
|
+
*/
|
|
80
|
+
FxRateDetails.prototype.baseRate = undefined
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* A decimal number, such as an amount or FX rate.
|
|
84
|
+
* @member {Number} effectiveFxRate
|
|
85
|
+
*/
|
|
86
|
+
FxRateDetails.prototype.effectiveFxRate = undefined
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @member {module:sellerWallet_2024_03_01/model/RateDirection} rateDirection
|
|
90
|
+
*/
|
|
91
|
+
FxRateDetails.prototype.rateDirection = undefined
|