@randock/nameshift-api-client 0.0.440 → 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 (68) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +1 -0
  4. package/dist/apis/AccountsApi.js +2 -1
  5. package/dist/apis/AdminApi.d.ts +49 -1
  6. package/dist/apis/AdminApi.js +187 -0
  7. package/dist/models/AccountPaymentMethodProfileDto.d.ts +1 -0
  8. package/dist/models/AccountPaymentMethodProfileDto.js +2 -1
  9. package/dist/models/AdminBankDepositAccountBankAccountDto.d.ts +39 -0
  10. package/dist/models/AdminBankDepositAccountBankAccountDto.js +56 -0
  11. package/dist/models/AdminBankDepositAccountDto.d.ts +38 -0
  12. package/dist/models/AdminBankDepositAccountDto.js +55 -0
  13. package/dist/models/AdminBankDepositDto.d.ts +76 -0
  14. package/dist/models/AdminBankDepositDto.js +81 -0
  15. package/dist/models/AdminBankDepositInvoiceDto.d.ts +54 -0
  16. package/dist/models/AdminBankDepositInvoiceDto.js +69 -0
  17. package/dist/models/AdminBankDepositInvoiceTransactionDto.d.ts +39 -0
  18. package/dist/models/AdminBankDepositInvoiceTransactionDto.js +56 -0
  19. package/dist/models/AdminVerificationDepositDto.d.ts +18 -0
  20. package/dist/models/AdminVerificationDepositDto.js +12 -0
  21. package/dist/models/AirwallexBankAccountDetailsDto.d.ts +6 -0
  22. package/dist/models/AirwallexBankAccountDetailsDto.js +2 -0
  23. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  24. package/dist/models/FeatureFlagListItemDto.js +2 -1
  25. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  26. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  27. package/dist/models/InvoiceDtoTransaction.d.ts +8 -0
  28. package/dist/models/InvoiceDtoTransaction.js +7 -1
  29. package/dist/models/InvoiceTransactionDto.d.ts +8 -0
  30. package/dist/models/InvoiceTransactionDto.js +7 -1
  31. package/dist/models/LinkBankDepositToBankAccountInput.d.ts +32 -0
  32. package/dist/models/LinkBankDepositToBankAccountInput.js +51 -0
  33. package/dist/models/LinkBankDepositToInvoiceInput.d.ts +32 -0
  34. package/dist/models/LinkBankDepositToInvoiceInput.js +51 -0
  35. package/dist/models/ListBankDeposits200Response.d.ts +47 -0
  36. package/dist/models/ListBankDeposits200Response.js +62 -0
  37. package/dist/models/OrderListItemDto.d.ts +1 -1
  38. package/dist/models/OrderListItemDtoTransaction.d.ts +99 -2
  39. package/dist/models/OrderListItemDtoTransaction.js +96 -5
  40. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  41. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  42. package/dist/models/SubscriptionListItemDtoTransaction.d.ts +1 -0
  43. package/dist/models/SubscriptionListItemDtoTransaction.js +2 -1
  44. package/dist/models/index.d.ts +8 -0
  45. package/dist/models/index.js +8 -0
  46. package/package.json +1 -1
  47. package/src/apis/AccountsApi.ts +2 -1
  48. package/src/apis/AdminApi.ts +192 -0
  49. package/src/models/AccountPaymentMethodProfileDto.ts +2 -1
  50. package/src/models/AdminBankDepositAccountBankAccountDto.ts +83 -0
  51. package/src/models/AdminBankDepositAccountDto.ts +75 -0
  52. package/src/models/AdminBankDepositDto.ts +144 -0
  53. package/src/models/AdminBankDepositInvoiceDto.ts +97 -0
  54. package/src/models/AdminBankDepositInvoiceTransactionDto.ts +83 -0
  55. package/src/models/AdminVerificationDepositDto.ts +27 -0
  56. package/src/models/AirwallexBankAccountDetailsDto.ts +8 -0
  57. package/src/models/FeatureFlagListItemDto.ts +2 -1
  58. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  59. package/src/models/InvoiceDtoTransaction.ts +19 -1
  60. package/src/models/InvoiceTransactionDto.ts +19 -1
  61. package/src/models/LinkBankDepositToBankAccountInput.ts +66 -0
  62. package/src/models/LinkBankDepositToInvoiceInput.ts +66 -0
  63. package/src/models/ListBankDeposits200Response.ts +106 -0
  64. package/src/models/OrderListItemDto.ts +1 -1
  65. package/src/models/OrderListItemDtoTransaction.ts +111 -6
  66. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  67. package/src/models/SubscriptionListItemDtoTransaction.ts +2 -1
  68. package/src/models/index.ts +8 -0
@@ -25,6 +25,12 @@ export interface OrderListItemDtoTransaction {
25
25
  * @memberof OrderListItemDtoTransaction
26
26
  */
27
27
  id: string;
28
+ /**
29
+ * Invoice transaction status.
30
+ * @type {string}
31
+ * @memberof OrderListItemDtoTransaction
32
+ */
33
+ status: OrderListItemDtoTransactionStatusEnum;
28
34
  /**
29
35
  * Payment gateway.
30
36
  * @type {string}
@@ -32,32 +38,127 @@ export interface OrderListItemDtoTransaction {
32
38
  */
33
39
  gateway: OrderListItemDtoTransactionGatewayEnum;
34
40
  /**
35
- * Gateway customer ID, if available.
41
+ * Selected payment method.
36
42
  * @type {string}
37
43
  * @memberof OrderListItemDtoTransaction
38
44
  */
39
- gatewayCustomerId: string | null;
45
+ paymentMethod: OrderListItemDtoTransactionPaymentMethodEnum;
46
+ /**
47
+ * Processed bank deposit ID linked to this transaction, if any.
48
+ * @type {string}
49
+ * @memberof OrderListItemDtoTransaction
50
+ */
51
+ depositId: string | null;
40
52
  }
41
53
 
42
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
+
43
68
  /**
44
69
  * @export
45
70
  */
46
71
  export const OrderListItemDtoTransactionGatewayEnum = {
47
72
  STRIPE: 'stripe',
48
73
  MOLLIE: 'mollie',
49
- NICKY: 'nicky'
74
+ NICKY: 'nicky',
75
+ AIRWALLEX: 'airwallex'
50
76
  } as const;
51
77
  export type OrderListItemDtoTransactionGatewayEnum = typeof OrderListItemDtoTransactionGatewayEnum[keyof typeof OrderListItemDtoTransactionGatewayEnum];
52
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
+
53
152
 
54
153
  /**
55
154
  * Check if a given object implements the OrderListItemDtoTransaction interface.
56
155
  */
57
156
  export function instanceOfOrderListItemDtoTransaction(value: object): value is OrderListItemDtoTransaction {
58
157
  if (!('id' in value) || value['id'] === undefined) return false;
158
+ if (!('status' in value) || value['status'] === undefined) return false;
59
159
  if (!('gateway' in value) || value['gateway'] === undefined) return false;
60
- if (!('gatewayCustomerId' in value) || value['gatewayCustomerId'] === undefined) return false;
160
+ if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
161
+ if (!('depositId' in value) || value['depositId'] === undefined) return false;
61
162
  return true;
62
163
  }
63
164
 
@@ -72,8 +173,10 @@ export function OrderListItemDtoTransactionFromJSONTyped(json: any, ignoreDiscri
72
173
  return {
73
174
 
74
175
  'id': json['id'],
176
+ 'status': json['status'],
75
177
  'gateway': json['gateway'],
76
- 'gatewayCustomerId': json['gatewayCustomerId'],
178
+ 'paymentMethod': json['paymentMethod'],
179
+ 'depositId': json['depositId'],
77
180
  };
78
181
  }
79
182
 
@@ -89,8 +192,10 @@ export function OrderListItemDtoTransactionToJSONTyped(value?: OrderListItemDtoT
89
192
  return {
90
193
 
91
194
  'id': value['id'],
195
+ 'status': value['status'],
92
196
  'gateway': value['gateway'],
93
- 'gatewayCustomerId': value['gatewayCustomerId'],
197
+ 'paymentMethod': value['paymentMethod'],
198
+ 'depositId': value['depositId'],
94
199
  };
95
200
  }
96
201
 
@@ -184,7 +184,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
184
184
  ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
185
185
  ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
186
186
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
187
- USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST'
187
+ USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
188
+ AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
188
189
  } as const;
189
190
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
190
191
 
@@ -46,7 +46,8 @@ export interface SubscriptionListItemDtoTransaction {
46
46
  export const SubscriptionListItemDtoTransactionGatewayEnum = {
47
47
  STRIPE: 'stripe',
48
48
  MOLLIE: 'mollie',
49
- NICKY: 'nicky'
49
+ NICKY: 'nicky',
50
+ AIRWALLEX: 'airwallex'
50
51
  } as const;
51
52
  export type SubscriptionListItemDtoTransactionGatewayEnum = typeof SubscriptionListItemDtoTransactionGatewayEnum[keyof typeof SubscriptionListItemDtoTransactionGatewayEnum];
52
53
 
@@ -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';