@randock/nameshift-api-client 0.0.441 → 0.0.442

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 (40) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +49 -1
  4. package/dist/apis/AdminApi.js +187 -0
  5. package/dist/models/AdminBankDepositAccountBankAccountDto.d.ts +39 -0
  6. package/dist/models/AdminBankDepositAccountBankAccountDto.js +56 -0
  7. package/dist/models/AdminBankDepositAccountDto.d.ts +38 -0
  8. package/dist/models/AdminBankDepositAccountDto.js +55 -0
  9. package/dist/models/AdminBankDepositDto.d.ts +76 -0
  10. package/dist/models/AdminBankDepositDto.js +81 -0
  11. package/dist/models/AdminBankDepositInvoiceDto.d.ts +54 -0
  12. package/dist/models/AdminBankDepositInvoiceDto.js +69 -0
  13. package/dist/models/AdminBankDepositInvoiceTransactionDto.d.ts +39 -0
  14. package/dist/models/AdminBankDepositInvoiceTransactionDto.js +56 -0
  15. package/dist/models/AirwallexBankAccountDetailsDto.d.ts +1 -1
  16. package/dist/models/LinkBankDepositToBankAccountInput.d.ts +32 -0
  17. package/dist/models/LinkBankDepositToBankAccountInput.js +51 -0
  18. package/dist/models/LinkBankDepositToInvoiceInput.d.ts +32 -0
  19. package/dist/models/LinkBankDepositToInvoiceInput.js +51 -0
  20. package/dist/models/ListBankDeposits200Response.d.ts +47 -0
  21. package/dist/models/ListBankDeposits200Response.js +62 -0
  22. package/dist/models/OrderListItemDto.d.ts +1 -1
  23. package/dist/models/OrderListItemDtoTransaction.d.ts +95 -6
  24. package/dist/models/OrderListItemDtoTransaction.js +93 -8
  25. package/dist/models/index.d.ts +8 -0
  26. package/dist/models/index.js +8 -0
  27. package/package.json +1 -1
  28. package/src/apis/AdminApi.ts +192 -0
  29. package/src/models/AdminBankDepositAccountBankAccountDto.ts +83 -0
  30. package/src/models/AdminBankDepositAccountDto.ts +75 -0
  31. package/src/models/AdminBankDepositDto.ts +144 -0
  32. package/src/models/AdminBankDepositInvoiceDto.ts +97 -0
  33. package/src/models/AdminBankDepositInvoiceTransactionDto.ts +83 -0
  34. package/src/models/AirwallexBankAccountDetailsDto.ts +1 -1
  35. package/src/models/LinkBankDepositToBankAccountInput.ts +66 -0
  36. package/src/models/LinkBankDepositToInvoiceInput.ts +66 -0
  37. package/src/models/ListBankDeposits200Response.ts +106 -0
  38. package/src/models/OrderListItemDto.ts +1 -1
  39. package/src/models/OrderListItemDtoTransaction.ts +106 -19
  40. package/src/models/index.ts +8 -0
@@ -13,14 +13,6 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { AdminVerificationDepositDto } from './AdminVerificationDepositDto';
17
- import {
18
- AdminVerificationDepositDtoFromJSON,
19
- AdminVerificationDepositDtoFromJSONTyped,
20
- AdminVerificationDepositDtoToJSON,
21
- AdminVerificationDepositDtoToJSONTyped,
22
- } from './AdminVerificationDepositDto';
23
-
24
16
  /**
25
17
  *
26
18
  * @export
@@ -33,6 +25,12 @@ export interface OrderListItemDtoTransaction {
33
25
  * @memberof OrderListItemDtoTransaction
34
26
  */
35
27
  id: string;
28
+ /**
29
+ * Invoice transaction status.
30
+ * @type {string}
31
+ * @memberof OrderListItemDtoTransaction
32
+ */
33
+ status: OrderListItemDtoTransactionStatusEnum;
36
34
  /**
37
35
  * Payment gateway.
38
36
  * @type {string}
@@ -40,20 +38,33 @@ export interface OrderListItemDtoTransaction {
40
38
  */
41
39
  gateway: OrderListItemDtoTransactionGatewayEnum;
42
40
  /**
43
- * Gateway customer ID, if available.
41
+ * Selected payment method.
44
42
  * @type {string}
45
43
  * @memberof OrderListItemDtoTransaction
46
44
  */
47
- gatewayCustomerId: string | null;
45
+ paymentMethod: OrderListItemDtoTransactionPaymentMethodEnum;
48
46
  /**
49
- * Linked payment provider deposits for this transaction.
50
- * @type {Array<AdminVerificationDepositDto>}
47
+ * Processed bank deposit ID linked to this transaction, if any.
48
+ * @type {string}
51
49
  * @memberof OrderListItemDtoTransaction
52
50
  */
53
- airwallexDeposits: Array<AdminVerificationDepositDto>;
51
+ depositId: string | null;
54
52
  }
55
53
 
56
54
 
55
+ /**
56
+ * @export
57
+ */
58
+ export const OrderListItemDtoTransactionStatusEnum = {
59
+ OPEN: 'open',
60
+ PAID: 'paid',
61
+ PENDING: 'pending',
62
+ ERROR: 'error',
63
+ CANCELLED: 'cancelled',
64
+ REFUNDED: 'refunded'
65
+ } as const;
66
+ export type OrderListItemDtoTransactionStatusEnum = typeof OrderListItemDtoTransactionStatusEnum[keyof typeof OrderListItemDtoTransactionStatusEnum];
67
+
57
68
  /**
58
69
  * @export
59
70
  */
@@ -65,15 +76,89 @@ export const OrderListItemDtoTransactionGatewayEnum = {
65
76
  } as const;
66
77
  export type OrderListItemDtoTransactionGatewayEnum = typeof OrderListItemDtoTransactionGatewayEnum[keyof typeof OrderListItemDtoTransactionGatewayEnum];
67
78
 
79
+ /**
80
+ * @export
81
+ */
82
+ export const OrderListItemDtoTransactionPaymentMethodEnum = {
83
+ ACSS_DEBIT: 'acss_debit',
84
+ AFFIRM: 'affirm',
85
+ AFTERPAY_CLEARPAY: 'afterpay_clearpay',
86
+ ALIPAY: 'alipay',
87
+ ALMA: 'alma',
88
+ AMAZON_PAY: 'amazon_pay',
89
+ APPLE_PAY: 'apple_pay',
90
+ AU_BECS_DEBIT: 'au_becs_debit',
91
+ BACS_DEBIT: 'bacs_debit',
92
+ BANCOMAT_PAY: 'bancomat_pay',
93
+ BANCONTACT: 'bancontact',
94
+ BELFIUS: 'belfius',
95
+ BILLIE: 'billie',
96
+ BLIK: 'blik',
97
+ BOLETO: 'boleto',
98
+ BANK_TRANSFER: 'bank_transfer',
99
+ CARD: 'card',
100
+ CARD_PRESENT: 'card_present',
101
+ CASHAPP: 'cashapp',
102
+ CUSTOMER_BALANCE: 'customer_balance',
103
+ EPS: 'eps',
104
+ FPX: 'fpx',
105
+ GIFTCARD: 'giftcard',
106
+ GIROPAY: 'giropay',
107
+ GOOGLE_PAY: 'google_pay',
108
+ GOPAY: 'gopay',
109
+ GRABPAY: 'grabpay',
110
+ ID_BANK_TRANSFER: 'id_bank_transfer',
111
+ IDEAL: 'ideal',
112
+ IN3: 'in3',
113
+ INTERAC_PRESENT: 'interac_present',
114
+ KAKAO_PAY: 'kakao_pay',
115
+ KBC: 'kbc',
116
+ KLARNA: 'klarna',
117
+ KONBINI: 'konbini',
118
+ KR_CARD: 'kr_card',
119
+ LINK: 'link',
120
+ MB_WAY: 'mb_way',
121
+ MOBILEPAY: 'mobilepay',
122
+ MULTIBANCO: 'multibanco',
123
+ NAVER_PAY: 'naver_pay',
124
+ NZ_BANK_ACCOUNT: 'nz_bank_account',
125
+ OXXO: 'oxxo',
126
+ PAY_BY_BANK: 'pay_by_bank',
127
+ PAYCO: 'payco',
128
+ PAYNOW: 'paynow',
129
+ PAYPAL: 'paypal',
130
+ PAYTO: 'payto',
131
+ PIX: 'pix',
132
+ PROMPTPAY: 'promptpay',
133
+ PRZELEWY24: 'przelewy24',
134
+ QRIS: 'qris',
135
+ RECHNUNG: 'rechnung',
136
+ REVOLUT_PAY: 'revolut_pay',
137
+ SAMSUNG_PAY: 'samsung_pay',
138
+ SATISPAY: 'satispay',
139
+ SEPA_DEBIT: 'sepa_debit',
140
+ SHOPEEPAY: 'shopeepay',
141
+ SOFORT: 'sofort',
142
+ STRIPE_BALANCE: 'stripe_balance',
143
+ SWISH: 'swish',
144
+ TWINT: 'twint',
145
+ US_BANK_ACCOUNT: 'us_bank_account',
146
+ VOUCHER: 'voucher',
147
+ WECHAT_PAY: 'wechat_pay',
148
+ ZIP: 'zip'
149
+ } as const;
150
+ export type OrderListItemDtoTransactionPaymentMethodEnum = typeof OrderListItemDtoTransactionPaymentMethodEnum[keyof typeof OrderListItemDtoTransactionPaymentMethodEnum];
151
+
68
152
 
69
153
  /**
70
154
  * Check if a given object implements the OrderListItemDtoTransaction interface.
71
155
  */
72
156
  export function instanceOfOrderListItemDtoTransaction(value: object): value is OrderListItemDtoTransaction {
73
157
  if (!('id' in value) || value['id'] === undefined) return false;
158
+ if (!('status' in value) || value['status'] === undefined) return false;
74
159
  if (!('gateway' in value) || value['gateway'] === undefined) return false;
75
- if (!('gatewayCustomerId' in value) || value['gatewayCustomerId'] === undefined) return false;
76
- if (!('airwallexDeposits' in value) || value['airwallexDeposits'] === undefined) return false;
160
+ if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
161
+ if (!('depositId' in value) || value['depositId'] === undefined) return false;
77
162
  return true;
78
163
  }
79
164
 
@@ -88,9 +173,10 @@ export function OrderListItemDtoTransactionFromJSONTyped(json: any, ignoreDiscri
88
173
  return {
89
174
 
90
175
  'id': json['id'],
176
+ 'status': json['status'],
91
177
  'gateway': json['gateway'],
92
- 'gatewayCustomerId': json['gatewayCustomerId'],
93
- 'airwallexDeposits': ((json['airwallexDeposits'] as Array<any>).map(AdminVerificationDepositDtoFromJSON)),
178
+ 'paymentMethod': json['paymentMethod'],
179
+ 'depositId': json['depositId'],
94
180
  };
95
181
  }
96
182
 
@@ -106,9 +192,10 @@ export function OrderListItemDtoTransactionToJSONTyped(value?: OrderListItemDtoT
106
192
  return {
107
193
 
108
194
  'id': value['id'],
195
+ 'status': value['status'],
109
196
  'gateway': value['gateway'],
110
- 'gatewayCustomerId': value['gatewayCustomerId'],
111
- 'airwallexDeposits': ((value['airwallexDeposits'] as Array<any>).map(AdminVerificationDepositDtoToJSON)),
197
+ 'paymentMethod': value['paymentMethod'],
198
+ 'depositId': value['depositId'],
112
199
  };
113
200
  }
114
201
 
@@ -45,6 +45,11 @@ export * from './AdminAccountSettingsInput';
45
45
  export * from './AdminAuctionCommissionByDateRangeInput';
46
46
  export * from './AdminAuctionConfigurationInput';
47
47
  export * from './AdminBankAccountDto';
48
+ export * from './AdminBankDepositAccountBankAccountDto';
49
+ export * from './AdminBankDepositAccountDto';
50
+ export * from './AdminBankDepositDto';
51
+ export * from './AdminBankDepositInvoiceDto';
52
+ export * from './AdminBankDepositInvoiceTransactionDto';
48
53
  export * from './AdminBuyerLoginDto';
49
54
  export * from './AdminChallengeListDto';
50
55
  export * from './AdminChallengeListItemDto';
@@ -273,6 +278,8 @@ export * from './LeaseToOwnDto';
273
278
  export * from './LedgerMutationAttachmentDto';
274
279
  export * from './LedgerMutationDto';
275
280
  export * from './LedgerMutationsDto';
281
+ export * from './LinkBankDepositToBankAccountInput';
282
+ export * from './LinkBankDepositToInvoiceInput';
276
283
  export * from './List200Response';
277
284
  export * from './List200Response1';
278
285
  export * from './List200Response2';
@@ -284,6 +291,7 @@ export * from './ListAccountUserDto';
284
291
  export * from './ListAccounts200Response';
285
292
  export * from './ListAuctions200Response';
286
293
  export * from './ListBankAccounts200Response';
294
+ export * from './ListBankDeposits200Response';
287
295
  export * from './ListBuyerNotifications200Response';
288
296
  export * from './ListDomains200Response';
289
297
  export * from './ListDomainsWithUpdatedPricing200Response';