@randock/nameshift-api-client 0.0.439 → 0.0.441

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 (41) hide show
  1. package/README.md +3 -3
  2. package/dist/apis/AccountsApi.d.ts +1 -0
  3. package/dist/apis/AccountsApi.js +2 -1
  4. package/dist/models/AccountPaymentMethodProfileDto.d.ts +1 -0
  5. package/dist/models/AccountPaymentMethodProfileDto.js +2 -1
  6. package/dist/models/AdminVerificationDepositDto.d.ts +18 -0
  7. package/dist/models/AdminVerificationDepositDto.js +12 -0
  8. package/dist/models/AirwallexBankAccountDetailsDto.d.ts +6 -0
  9. package/dist/models/AirwallexBankAccountDetailsDto.js +2 -0
  10. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  11. package/dist/models/FeatureFlagListItemDto.js +2 -1
  12. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  13. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  14. package/dist/models/InvoiceDtoTransaction.d.ts +8 -0
  15. package/dist/models/InvoiceDtoTransaction.js +7 -1
  16. package/dist/models/InvoiceTransactionDto.d.ts +8 -0
  17. package/dist/models/InvoiceTransactionDto.js +7 -1
  18. package/dist/models/LandingPageInput.d.ts +15 -0
  19. package/dist/models/LandingPageInput.js +11 -1
  20. package/dist/models/LandingPageSettingsDto.d.ts +15 -0
  21. package/dist/models/LandingPageSettingsDto.js +13 -1
  22. package/dist/models/OrderListItemDtoTransaction.d.ts +8 -0
  23. package/dist/models/OrderListItemDtoTransaction.js +7 -1
  24. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  25. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  26. package/dist/models/SubscriptionListItemDtoTransaction.d.ts +1 -0
  27. package/dist/models/SubscriptionListItemDtoTransaction.js +2 -1
  28. package/package.json +1 -1
  29. package/src/apis/AccountsApi.ts +2 -1
  30. package/src/models/AccountPaymentMethodProfileDto.ts +2 -1
  31. package/src/models/AdminVerificationDepositDto.ts +27 -0
  32. package/src/models/AirwallexBankAccountDetailsDto.ts +8 -0
  33. package/src/models/FeatureFlagListItemDto.ts +2 -1
  34. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  35. package/src/models/InvoiceDtoTransaction.ts +19 -1
  36. package/src/models/InvoiceTransactionDto.ts +19 -1
  37. package/src/models/LandingPageInput.ts +18 -0
  38. package/src/models/LandingPageSettingsDto.ts +19 -0
  39. package/src/models/OrderListItemDtoTransaction.ts +19 -1
  40. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  41. package/src/models/SubscriptionListItemDtoTransaction.ts +2 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.439
1
+ ## @randock/nameshift-api-client@0.0.441
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.439 --save
39
+ npm install @randock/nameshift-api-client@0.0.441 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 52670249d4cb5cc17deebcee3d4a76975352dddd0c7bb60e56dfdbb76320d22089fe17011e449cf4e7e0804afd41d024
47
+ c0e400a4ea098ef76871c3474077d0dfaf23fd47884b20a41a4a3142d8d45a789061d214438d4002d8c1e31a2bdfb3ca
@@ -271,5 +271,6 @@ export declare const GetAccountPaymentMethodsGatewayEnum: {
271
271
  readonly STRIPE: "stripe";
272
272
  readonly MOLLIE: "mollie";
273
273
  readonly NICKY: "nicky";
274
+ readonly AIRWALLEX: "airwallex";
274
275
  };
275
276
  export type GetAccountPaymentMethodsGatewayEnum = typeof GetAccountPaymentMethodsGatewayEnum[keyof typeof GetAccountPaymentMethodsGatewayEnum];
@@ -1139,5 +1139,6 @@ exports.AccountsApi = AccountsApi;
1139
1139
  exports.GetAccountPaymentMethodsGatewayEnum = {
1140
1140
  STRIPE: 'stripe',
1141
1141
  MOLLIE: 'mollie',
1142
- NICKY: 'nicky'
1142
+ NICKY: 'nicky',
1143
+ AIRWALLEX: 'airwallex'
1143
1144
  };
@@ -60,6 +60,7 @@ export declare const AccountPaymentMethodProfileDtoGatewayEnum: {
60
60
  readonly STRIPE: "stripe";
61
61
  readonly MOLLIE: "mollie";
62
62
  readonly NICKY: "nicky";
63
+ readonly AIRWALLEX: "airwallex";
63
64
  };
64
65
  export type AccountPaymentMethodProfileDtoGatewayEnum = typeof AccountPaymentMethodProfileDtoGatewayEnum[keyof typeof AccountPaymentMethodProfileDtoGatewayEnum];
65
66
  /**
@@ -26,7 +26,8 @@ var AccountPaymentMethodDto_1 = require("./AccountPaymentMethodDto");
26
26
  exports.AccountPaymentMethodProfileDtoGatewayEnum = {
27
27
  STRIPE: 'stripe',
28
28
  MOLLIE: 'mollie',
29
- NICKY: 'nicky'
29
+ NICKY: 'nicky',
30
+ AIRWALLEX: 'airwallex'
30
31
  };
31
32
  /**
32
33
  * Check if a given object implements the AccountPaymentMethodProfileDto interface.
@@ -22,6 +22,24 @@ export interface AdminVerificationDepositDto {
22
22
  * @memberof AdminVerificationDepositDto
23
23
  */
24
24
  id: string;
25
+ /**
26
+ * Deposit creation date.
27
+ * @type {Date}
28
+ * @memberof AdminVerificationDepositDto
29
+ */
30
+ createdAt: Date;
31
+ /**
32
+ * External transaction ID from the payment provider.
33
+ * @type {string}
34
+ * @memberof AdminVerificationDepositDto
35
+ */
36
+ externalTransactionId: string;
37
+ /**
38
+ * Whether the deposit has been processed.
39
+ * @type {boolean}
40
+ * @memberof AdminVerificationDepositDto
41
+ */
42
+ processed: boolean;
25
43
  /**
26
44
  * Raw deposit payload.
27
45
  * @type {AirwallexDepositDto}
@@ -25,6 +25,12 @@ var AirwallexDepositDto_1 = require("./AirwallexDepositDto");
25
25
  function instanceOfAdminVerificationDepositDto(value) {
26
26
  if (!('id' in value) || value['id'] === undefined)
27
27
  return false;
28
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
29
+ return false;
30
+ if (!('externalTransactionId' in value) || value['externalTransactionId'] === undefined)
31
+ return false;
32
+ if (!('processed' in value) || value['processed'] === undefined)
33
+ return false;
28
34
  if (!('raw' in value) || value['raw'] === undefined)
29
35
  return false;
30
36
  return true;
@@ -38,6 +44,9 @@ function AdminVerificationDepositDtoFromJSONTyped(json, ignoreDiscriminator) {
38
44
  }
39
45
  return {
40
46
  'id': json['id'],
47
+ 'createdAt': (new Date(json['createdAt'])),
48
+ 'externalTransactionId': json['externalTransactionId'],
49
+ 'processed': json['processed'],
41
50
  'raw': (0, AirwallexDepositDto_1.AirwallexDepositDtoFromJSON)(json['raw']),
42
51
  };
43
52
  }
@@ -51,6 +60,9 @@ function AdminVerificationDepositDtoToJSONTyped(value, ignoreDiscriminator) {
51
60
  }
52
61
  return {
53
62
  'id': value['id'],
63
+ 'createdAt': ((value['createdAt']).toISOString()),
64
+ 'externalTransactionId': value['externalTransactionId'],
65
+ 'processed': value['processed'],
54
66
  'raw': (0, AirwallexDepositDto_1.AirwallexDepositDtoToJSON)(value['raw']),
55
67
  };
56
68
  }
@@ -53,6 +53,12 @@ export interface AirwallexBankAccountDetailsDto {
53
53
  * @memberof AirwallexBankAccountDetailsDto
54
54
  */
55
55
  localMethods: Array<AirwallexBankAccountDetailsDtoLocalMethod>;
56
+ /**
57
+ * Bank transfer payment reference the buyer should use (shortIdentifier - domain name).
58
+ * @type {string}
59
+ * @memberof AirwallexBankAccountDetailsDto
60
+ */
61
+ reference?: string | null;
56
62
  }
57
63
  /**
58
64
  * Check if a given object implements the AirwallexBankAccountDetailsDto interface.
@@ -46,6 +46,7 @@ function AirwallexBankAccountDetailsDtoFromJSONTyped(json, ignoreDiscriminator)
46
46
  'swiftBic': json['swift_bic'] == null ? undefined : json['swift_bic'],
47
47
  'institution': (0, AirwallexBankAccountDetailsDtoInstitution_1.AirwallexBankAccountDetailsDtoInstitutionFromJSON)(json['institution']),
48
48
  'localMethods': (json['local_methods'].map(AirwallexBankAccountDetailsDtoLocalMethod_1.AirwallexBankAccountDetailsDtoLocalMethodFromJSON)),
49
+ 'reference': json['reference'] == null ? undefined : json['reference'],
49
50
  };
50
51
  }
51
52
  function AirwallexBankAccountDetailsDtoToJSON(json) {
@@ -63,5 +64,6 @@ function AirwallexBankAccountDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
63
64
  'swift_bic': value['swiftBic'],
64
65
  'institution': (0, AirwallexBankAccountDetailsDtoInstitution_1.AirwallexBankAccountDetailsDtoInstitutionToJSON)(value['institution']),
65
66
  'local_methods': (value['localMethods'].map(AirwallexBankAccountDetailsDtoLocalMethod_1.AirwallexBankAccountDetailsDtoLocalMethodToJSON)),
67
+ 'reference': value['reference'],
66
68
  };
67
69
  }
@@ -87,6 +87,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
87
87
  readonly ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: "ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE";
88
88
  readonly USE_MAILER_FALLBACK_URL: "USE_MAILER_FALLBACK_URL";
89
89
  readonly USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: "USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST";
90
+ readonly AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: "AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD";
90
91
  };
91
92
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
92
93
  /**
@@ -47,7 +47,8 @@ exports.FeatureFlagListItemDtoNameEnum = {
47
47
  ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
48
48
  ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
49
49
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
50
- USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST'
50
+ USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
51
+ AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
51
52
  };
52
53
  /**
53
54
  * Check if a given object implements the FeatureFlagListItemDto interface.
@@ -130,6 +130,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
130
130
  readonly ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: "ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE";
131
131
  readonly USE_MAILER_FALLBACK_URL: "USE_MAILER_FALLBACK_URL";
132
132
  readonly USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: "USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST";
133
+ readonly AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: "AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD";
133
134
  };
134
135
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
135
136
  /**
@@ -54,7 +54,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
54
54
  ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
55
55
  ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
56
56
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
57
- USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST'
57
+ USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
58
+ AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
58
59
  };
59
60
  /**
60
61
  * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { AdminVerificationDepositDto } from './AdminVerificationDepositDto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -33,6 +34,12 @@ export interface InvoiceDtoTransaction {
33
34
  * @memberof InvoiceDtoTransaction
34
35
  */
35
36
  gatewayCustomerId: string | null;
37
+ /**
38
+ * Linked payment provider deposits for this transaction.
39
+ * @type {Array<AdminVerificationDepositDto>}
40
+ * @memberof InvoiceDtoTransaction
41
+ */
42
+ airwallexDeposits: Array<AdminVerificationDepositDto>;
36
43
  }
37
44
  /**
38
45
  * @export
@@ -41,6 +48,7 @@ export declare const InvoiceDtoTransactionGatewayEnum: {
41
48
  readonly STRIPE: "stripe";
42
49
  readonly MOLLIE: "mollie";
43
50
  readonly NICKY: "nicky";
51
+ readonly AIRWALLEX: "airwallex";
44
52
  };
45
53
  export type InvoiceDtoTransactionGatewayEnum = typeof InvoiceDtoTransactionGatewayEnum[keyof typeof InvoiceDtoTransactionGatewayEnum];
46
54
  /**
@@ -19,13 +19,15 @@ exports.InvoiceDtoTransactionFromJSON = InvoiceDtoTransactionFromJSON;
19
19
  exports.InvoiceDtoTransactionFromJSONTyped = InvoiceDtoTransactionFromJSONTyped;
20
20
  exports.InvoiceDtoTransactionToJSON = InvoiceDtoTransactionToJSON;
21
21
  exports.InvoiceDtoTransactionToJSONTyped = InvoiceDtoTransactionToJSONTyped;
22
+ var AdminVerificationDepositDto_1 = require("./AdminVerificationDepositDto");
22
23
  /**
23
24
  * @export
24
25
  */
25
26
  exports.InvoiceDtoTransactionGatewayEnum = {
26
27
  STRIPE: 'stripe',
27
28
  MOLLIE: 'mollie',
28
- NICKY: 'nicky'
29
+ NICKY: 'nicky',
30
+ AIRWALLEX: 'airwallex'
29
31
  };
30
32
  /**
31
33
  * Check if a given object implements the InvoiceDtoTransaction interface.
@@ -37,6 +39,8 @@ function instanceOfInvoiceDtoTransaction(value) {
37
39
  return false;
38
40
  if (!('gatewayCustomerId' in value) || value['gatewayCustomerId'] === undefined)
39
41
  return false;
42
+ if (!('airwallexDeposits' in value) || value['airwallexDeposits'] === undefined)
43
+ return false;
40
44
  return true;
41
45
  }
42
46
  function InvoiceDtoTransactionFromJSON(json) {
@@ -50,6 +54,7 @@ function InvoiceDtoTransactionFromJSONTyped(json, ignoreDiscriminator) {
50
54
  'id': json['id'],
51
55
  'gateway': json['gateway'],
52
56
  'gatewayCustomerId': json['gatewayCustomerId'],
57
+ 'airwallexDeposits': (json['airwallexDeposits'].map(AdminVerificationDepositDto_1.AdminVerificationDepositDtoFromJSON)),
53
58
  };
54
59
  }
55
60
  function InvoiceDtoTransactionToJSON(json) {
@@ -64,5 +69,6 @@ function InvoiceDtoTransactionToJSONTyped(value, ignoreDiscriminator) {
64
69
  'id': value['id'],
65
70
  'gateway': value['gateway'],
66
71
  'gatewayCustomerId': value['gatewayCustomerId'],
72
+ 'airwallexDeposits': (value['airwallexDeposits'].map(AdminVerificationDepositDto_1.AdminVerificationDepositDtoToJSON)),
67
73
  };
68
74
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { AirwallexBankAccountDetailsDto } from './AirwallexBankAccountDetailsDto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -57,6 +58,12 @@ export interface InvoiceTransactionDto {
57
58
  * @memberof InvoiceTransactionDto
58
59
  */
59
60
  selectedPaymentMethod: InvoiceTransactionDtoSelectedPaymentMethodEnum;
61
+ /**
62
+ * Bank transfer payment details when paying via Airwallex. Null for other gateways.
63
+ * @type {AirwallexBankAccountDetailsDto}
64
+ * @memberof InvoiceTransactionDto
65
+ */
66
+ paymentDetails: AirwallexBankAccountDetailsDto | null;
60
67
  }
61
68
  /**
62
69
  * @export
@@ -65,6 +72,7 @@ export declare const InvoiceTransactionDtoGatewayEnum: {
65
72
  readonly STRIPE: "stripe";
66
73
  readonly MOLLIE: "mollie";
67
74
  readonly NICKY: "nicky";
75
+ readonly AIRWALLEX: "airwallex";
68
76
  };
69
77
  export type InvoiceTransactionDtoGatewayEnum = typeof InvoiceTransactionDtoGatewayEnum[keyof typeof InvoiceTransactionDtoGatewayEnum];
70
78
  /**
@@ -19,13 +19,15 @@ exports.InvoiceTransactionDtoFromJSON = InvoiceTransactionDtoFromJSON;
19
19
  exports.InvoiceTransactionDtoFromJSONTyped = InvoiceTransactionDtoFromJSONTyped;
20
20
  exports.InvoiceTransactionDtoToJSON = InvoiceTransactionDtoToJSON;
21
21
  exports.InvoiceTransactionDtoToJSONTyped = InvoiceTransactionDtoToJSONTyped;
22
+ var AirwallexBankAccountDetailsDto_1 = require("./AirwallexBankAccountDetailsDto");
22
23
  /**
23
24
  * @export
24
25
  */
25
26
  exports.InvoiceTransactionDtoGatewayEnum = {
26
27
  STRIPE: 'stripe',
27
28
  MOLLIE: 'mollie',
28
- NICKY: 'nicky'
29
+ NICKY: 'nicky',
30
+ AIRWALLEX: 'airwallex'
29
31
  };
30
32
  /**
31
33
  * @export
@@ -134,6 +136,8 @@ function instanceOfInvoiceTransactionDto(value) {
134
136
  return false;
135
137
  if (!('selectedPaymentMethod' in value) || value['selectedPaymentMethod'] === undefined)
136
138
  return false;
139
+ if (!('paymentDetails' in value) || value['paymentDetails'] === undefined)
140
+ return false;
137
141
  return true;
138
142
  }
139
143
  function InvoiceTransactionDtoFromJSON(json) {
@@ -151,6 +155,7 @@ function InvoiceTransactionDtoFromJSONTyped(json, ignoreDiscriminator) {
151
155
  'status': json['status'],
152
156
  'redirectUrl': json['redirectUrl'],
153
157
  'selectedPaymentMethod': json['selectedPaymentMethod'],
158
+ 'paymentDetails': (0, AirwallexBankAccountDetailsDto_1.AirwallexBankAccountDetailsDtoFromJSON)(json['paymentDetails']),
154
159
  };
155
160
  }
156
161
  function InvoiceTransactionDtoToJSON(json) {
@@ -169,5 +174,6 @@ function InvoiceTransactionDtoToJSONTyped(value, ignoreDiscriminator) {
169
174
  'status': value['status'],
170
175
  'redirectUrl': value['redirectUrl'],
171
176
  'selectedPaymentMethod': value['selectedPaymentMethod'],
177
+ 'paymentDetails': (0, AirwallexBankAccountDetailsDto_1.AirwallexBankAccountDetailsDtoToJSON)(value['paymentDetails']),
172
178
  };
173
179
  }
@@ -87,6 +87,12 @@ export interface LandingPageInput {
87
87
  * @memberof LandingPageInput
88
88
  */
89
89
  externalLink?: string | null;
90
+ /**
91
+ * Landing page UI design variant
92
+ * @type {string}
93
+ * @memberof LandingPageInput
94
+ */
95
+ design?: LandingPageInputDesignEnum | null;
90
96
  }
91
97
  /**
92
98
  * @export
@@ -97,6 +103,15 @@ export declare const LandingPageInputRequestLeadBuyerPhoneNumberEnum: {
97
103
  readonly OPTIONAL: "optional";
98
104
  };
99
105
  export type LandingPageInputRequestLeadBuyerPhoneNumberEnum = typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum];
106
+ /**
107
+ * @export
108
+ */
109
+ export declare const LandingPageInputDesignEnum: {
110
+ readonly ORIGINAL: "original";
111
+ readonly MODERN: "modern";
112
+ readonly MINIMAL: "minimal";
113
+ };
114
+ export type LandingPageInputDesignEnum = typeof LandingPageInputDesignEnum[keyof typeof LandingPageInputDesignEnum];
100
115
  /**
101
116
  * Check if a given object implements the LandingPageInput interface.
102
117
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = void 0;
16
+ exports.LandingPageInputDesignEnum = exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = void 0;
17
17
  exports.instanceOfLandingPageInput = instanceOfLandingPageInput;
18
18
  exports.LandingPageInputFromJSON = LandingPageInputFromJSON;
19
19
  exports.LandingPageInputFromJSONTyped = LandingPageInputFromJSONTyped;
@@ -27,6 +27,14 @@ exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = {
27
27
  REQUIRED: 'required',
28
28
  OPTIONAL: 'optional'
29
29
  };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.LandingPageInputDesignEnum = {
34
+ ORIGINAL: 'original',
35
+ MODERN: 'modern',
36
+ MINIMAL: 'minimal'
37
+ };
30
38
  /**
31
39
  * Check if a given object implements the LandingPageInput interface.
32
40
  */
@@ -53,6 +61,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
53
61
  'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'] == null ? undefined : json['requestLeadBuyerCompanyName'],
54
62
  'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'] == null ? undefined : json['requestLeadBuyerPhoneNumber'],
55
63
  'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
64
+ 'design': json['design'] == null ? undefined : json['design'],
56
65
  };
57
66
  }
58
67
  function LandingPageInputToJSON(json) {
@@ -76,5 +85,6 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
76
85
  'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
77
86
  'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
78
87
  'externalLink': value['externalLink'],
88
+ 'design': value['design'],
79
89
  };
80
90
  }
@@ -87,6 +87,12 @@ export interface LandingPageSettingsDto {
87
87
  * @memberof LandingPageSettingsDto
88
88
  */
89
89
  externalLink: string | null;
90
+ /**
91
+ * Landing page UI design variant.
92
+ * @type {string}
93
+ * @memberof LandingPageSettingsDto
94
+ */
95
+ design: LandingPageSettingsDtoDesignEnum | null;
90
96
  }
91
97
  /**
92
98
  * @export
@@ -97,6 +103,15 @@ export declare const LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum: {
97
103
  readonly OPTIONAL: "optional";
98
104
  };
99
105
  export type LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum];
106
+ /**
107
+ * @export
108
+ */
109
+ export declare const LandingPageSettingsDtoDesignEnum: {
110
+ readonly ORIGINAL: "original";
111
+ readonly MODERN: "modern";
112
+ readonly MINIMAL: "minimal";
113
+ };
114
+ export type LandingPageSettingsDtoDesignEnum = typeof LandingPageSettingsDtoDesignEnum[keyof typeof LandingPageSettingsDtoDesignEnum];
100
115
  /**
101
116
  * Check if a given object implements the LandingPageSettingsDto interface.
102
117
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = void 0;
16
+ exports.LandingPageSettingsDtoDesignEnum = exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = void 0;
17
17
  exports.instanceOfLandingPageSettingsDto = instanceOfLandingPageSettingsDto;
18
18
  exports.LandingPageSettingsDtoFromJSON = LandingPageSettingsDtoFromJSON;
19
19
  exports.LandingPageSettingsDtoFromJSONTyped = LandingPageSettingsDtoFromJSONTyped;
@@ -27,6 +27,14 @@ exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = {
27
27
  REQUIRED: 'required',
28
28
  OPTIONAL: 'optional'
29
29
  };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.LandingPageSettingsDtoDesignEnum = {
34
+ ORIGINAL: 'original',
35
+ MODERN: 'modern',
36
+ MINIMAL: 'minimal'
37
+ };
30
38
  /**
31
39
  * Check if a given object implements the LandingPageSettingsDto interface.
32
40
  */
@@ -55,6 +63,8 @@ function instanceOfLandingPageSettingsDto(value) {
55
63
  return false;
56
64
  if (!('externalLink' in value) || value['externalLink'] === undefined)
57
65
  return false;
66
+ if (!('design' in value) || value['design'] === undefined)
67
+ return false;
58
68
  return true;
59
69
  }
60
70
  function LandingPageSettingsDtoFromJSON(json) {
@@ -77,6 +87,7 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
77
87
  'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'],
78
88
  'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'],
79
89
  'externalLink': json['externalLink'],
90
+ 'design': json['design'],
80
91
  };
81
92
  }
82
93
  function LandingPageSettingsDtoToJSON(json) {
@@ -100,5 +111,6 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
100
111
  'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
101
112
  'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
102
113
  'externalLink': value['externalLink'],
114
+ 'design': value['design'],
103
115
  };
104
116
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { AdminVerificationDepositDto } from './AdminVerificationDepositDto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -33,6 +34,12 @@ export interface OrderListItemDtoTransaction {
33
34
  * @memberof OrderListItemDtoTransaction
34
35
  */
35
36
  gatewayCustomerId: string | null;
37
+ /**
38
+ * Linked payment provider deposits for this transaction.
39
+ * @type {Array<AdminVerificationDepositDto>}
40
+ * @memberof OrderListItemDtoTransaction
41
+ */
42
+ airwallexDeposits: Array<AdminVerificationDepositDto>;
36
43
  }
37
44
  /**
38
45
  * @export
@@ -41,6 +48,7 @@ export declare const OrderListItemDtoTransactionGatewayEnum: {
41
48
  readonly STRIPE: "stripe";
42
49
  readonly MOLLIE: "mollie";
43
50
  readonly NICKY: "nicky";
51
+ readonly AIRWALLEX: "airwallex";
44
52
  };
45
53
  export type OrderListItemDtoTransactionGatewayEnum = typeof OrderListItemDtoTransactionGatewayEnum[keyof typeof OrderListItemDtoTransactionGatewayEnum];
46
54
  /**
@@ -19,13 +19,15 @@ exports.OrderListItemDtoTransactionFromJSON = OrderListItemDtoTransactionFromJSO
19
19
  exports.OrderListItemDtoTransactionFromJSONTyped = OrderListItemDtoTransactionFromJSONTyped;
20
20
  exports.OrderListItemDtoTransactionToJSON = OrderListItemDtoTransactionToJSON;
21
21
  exports.OrderListItemDtoTransactionToJSONTyped = OrderListItemDtoTransactionToJSONTyped;
22
+ var AdminVerificationDepositDto_1 = require("./AdminVerificationDepositDto");
22
23
  /**
23
24
  * @export
24
25
  */
25
26
  exports.OrderListItemDtoTransactionGatewayEnum = {
26
27
  STRIPE: 'stripe',
27
28
  MOLLIE: 'mollie',
28
- NICKY: 'nicky'
29
+ NICKY: 'nicky',
30
+ AIRWALLEX: 'airwallex'
29
31
  };
30
32
  /**
31
33
  * Check if a given object implements the OrderListItemDtoTransaction interface.
@@ -37,6 +39,8 @@ function instanceOfOrderListItemDtoTransaction(value) {
37
39
  return false;
38
40
  if (!('gatewayCustomerId' in value) || value['gatewayCustomerId'] === undefined)
39
41
  return false;
42
+ if (!('airwallexDeposits' in value) || value['airwallexDeposits'] === undefined)
43
+ return false;
40
44
  return true;
41
45
  }
42
46
  function OrderListItemDtoTransactionFromJSON(json) {
@@ -50,6 +54,7 @@ function OrderListItemDtoTransactionFromJSONTyped(json, ignoreDiscriminator) {
50
54
  'id': json['id'],
51
55
  'gateway': json['gateway'],
52
56
  'gatewayCustomerId': json['gatewayCustomerId'],
57
+ 'airwallexDeposits': (json['airwallexDeposits'].map(AdminVerificationDepositDto_1.AdminVerificationDepositDtoFromJSON)),
53
58
  };
54
59
  }
55
60
  function OrderListItemDtoTransactionToJSON(json) {
@@ -64,5 +69,6 @@ function OrderListItemDtoTransactionToJSONTyped(value, ignoreDiscriminator) {
64
69
  'id': value['id'],
65
70
  'gateway': value['gateway'],
66
71
  'gatewayCustomerId': value['gatewayCustomerId'],
72
+ 'airwallexDeposits': (value['airwallexDeposits'].map(AdminVerificationDepositDto_1.AdminVerificationDepositDtoToJSON)),
67
73
  };
68
74
  }
@@ -136,6 +136,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
136
136
  readonly ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: "ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE";
137
137
  readonly USE_MAILER_FALLBACK_URL: "USE_MAILER_FALLBACK_URL";
138
138
  readonly USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: "USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST";
139
+ readonly AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: "AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD";
139
140
  };
140
141
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
141
142
  /**
@@ -54,7 +54,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
54
54
  ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
55
55
  ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
56
56
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
57
- USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST'
57
+ USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
58
+ AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
58
59
  };
59
60
  /**
60
61
  * Check if a given object implements the PrivateAccountGetMeResponse interface.
@@ -41,6 +41,7 @@ export declare const SubscriptionListItemDtoTransactionGatewayEnum: {
41
41
  readonly STRIPE: "stripe";
42
42
  readonly MOLLIE: "mollie";
43
43
  readonly NICKY: "nicky";
44
+ readonly AIRWALLEX: "airwallex";
44
45
  };
45
46
  export type SubscriptionListItemDtoTransactionGatewayEnum = typeof SubscriptionListItemDtoTransactionGatewayEnum[keyof typeof SubscriptionListItemDtoTransactionGatewayEnum];
46
47
  /**
@@ -25,7 +25,8 @@ exports.SubscriptionListItemDtoTransactionToJSONTyped = SubscriptionListItemDtoT
25
25
  exports.SubscriptionListItemDtoTransactionGatewayEnum = {
26
26
  STRIPE: 'stripe',
27
27
  MOLLIE: 'mollie',
28
- NICKY: 'nicky'
28
+ NICKY: 'nicky',
29
+ AIRWALLEX: 'airwallex'
29
30
  };
30
31
  /**
31
32
  * Check if a given object implements the SubscriptionListItemDtoTransaction interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.439",
3
+ "version": "0.0.441",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -1061,6 +1061,7 @@ export class AccountsApi extends runtime.BaseAPI {
1061
1061
  export const GetAccountPaymentMethodsGatewayEnum = {
1062
1062
  STRIPE: 'stripe',
1063
1063
  MOLLIE: 'mollie',
1064
- NICKY: 'nicky'
1064
+ NICKY: 'nicky',
1065
+ AIRWALLEX: 'airwallex'
1065
1066
  } as const;
1066
1067
  export type GetAccountPaymentMethodsGatewayEnum = typeof GetAccountPaymentMethodsGatewayEnum[keyof typeof GetAccountPaymentMethodsGatewayEnum];
@@ -72,7 +72,8 @@ export interface AccountPaymentMethodProfileDto {
72
72
  export const AccountPaymentMethodProfileDtoGatewayEnum = {
73
73
  STRIPE: 'stripe',
74
74
  MOLLIE: 'mollie',
75
- NICKY: 'nicky'
75
+ NICKY: 'nicky',
76
+ AIRWALLEX: 'airwallex'
76
77
  } as const;
77
78
  export type AccountPaymentMethodProfileDtoGatewayEnum = typeof AccountPaymentMethodProfileDtoGatewayEnum[keyof typeof AccountPaymentMethodProfileDtoGatewayEnum];
78
79
 
@@ -33,6 +33,24 @@ export interface AdminVerificationDepositDto {
33
33
  * @memberof AdminVerificationDepositDto
34
34
  */
35
35
  id: string;
36
+ /**
37
+ * Deposit creation date.
38
+ * @type {Date}
39
+ * @memberof AdminVerificationDepositDto
40
+ */
41
+ createdAt: Date;
42
+ /**
43
+ * External transaction ID from the payment provider.
44
+ * @type {string}
45
+ * @memberof AdminVerificationDepositDto
46
+ */
47
+ externalTransactionId: string;
48
+ /**
49
+ * Whether the deposit has been processed.
50
+ * @type {boolean}
51
+ * @memberof AdminVerificationDepositDto
52
+ */
53
+ processed: boolean;
36
54
  /**
37
55
  * Raw deposit payload.
38
56
  * @type {AirwallexDepositDto}
@@ -46,6 +64,9 @@ export interface AdminVerificationDepositDto {
46
64
  */
47
65
  export function instanceOfAdminVerificationDepositDto(value: object): value is AdminVerificationDepositDto {
48
66
  if (!('id' in value) || value['id'] === undefined) return false;
67
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
68
+ if (!('externalTransactionId' in value) || value['externalTransactionId'] === undefined) return false;
69
+ if (!('processed' in value) || value['processed'] === undefined) return false;
49
70
  if (!('raw' in value) || value['raw'] === undefined) return false;
50
71
  return true;
51
72
  }
@@ -61,6 +82,9 @@ export function AdminVerificationDepositDtoFromJSONTyped(json: any, ignoreDiscri
61
82
  return {
62
83
 
63
84
  'id': json['id'],
85
+ 'createdAt': (new Date(json['createdAt'])),
86
+ 'externalTransactionId': json['externalTransactionId'],
87
+ 'processed': json['processed'],
64
88
  'raw': AirwallexDepositDtoFromJSON(json['raw']),
65
89
  };
66
90
  }
@@ -77,6 +101,9 @@ export function AdminVerificationDepositDtoToJSONTyped(value?: AdminVerification
77
101
  return {
78
102
 
79
103
  'id': value['id'],
104
+ 'createdAt': ((value['createdAt']).toISOString()),
105
+ 'externalTransactionId': value['externalTransactionId'],
106
+ 'processed': value['processed'],
80
107
  'raw': AirwallexDepositDtoToJSON(value['raw']),
81
108
  };
82
109
  }
@@ -70,6 +70,12 @@ export interface AirwallexBankAccountDetailsDto {
70
70
  * @memberof AirwallexBankAccountDetailsDto
71
71
  */
72
72
  localMethods: Array<AirwallexBankAccountDetailsDtoLocalMethod>;
73
+ /**
74
+ * Bank transfer payment reference the buyer should use (shortIdentifier - domain name).
75
+ * @type {string}
76
+ * @memberof AirwallexBankAccountDetailsDto
77
+ */
78
+ reference?: string | null;
73
79
  }
74
80
 
75
81
  /**
@@ -98,6 +104,7 @@ export function AirwallexBankAccountDetailsDtoFromJSONTyped(json: any, ignoreDis
98
104
  'swiftBic': json['swift_bic'] == null ? undefined : json['swift_bic'],
99
105
  'institution': AirwallexBankAccountDetailsDtoInstitutionFromJSON(json['institution']),
100
106
  'localMethods': ((json['local_methods'] as Array<any>).map(AirwallexBankAccountDetailsDtoLocalMethodFromJSON)),
107
+ 'reference': json['reference'] == null ? undefined : json['reference'],
101
108
  };
102
109
  }
103
110
 
@@ -118,6 +125,7 @@ export function AirwallexBankAccountDetailsDtoToJSONTyped(value?: AirwallexBankA
118
125
  'swift_bic': value['swiftBic'],
119
126
  'institution': AirwallexBankAccountDetailsDtoInstitutionToJSON(value['institution']),
120
127
  'local_methods': ((value['localMethods'] as Array<any>).map(AirwallexBankAccountDetailsDtoLocalMethodToJSON)),
128
+ 'reference': value['reference'],
121
129
  };
122
130
  }
123
131
 
@@ -92,7 +92,8 @@ export const FeatureFlagListItemDtoNameEnum = {
92
92
  ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
93
93
  ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
94
94
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
95
- USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST'
95
+ USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
96
+ AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
96
97
  } as const;
97
98
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
98
99
 
@@ -178,7 +178,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
178
178
  ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
179
179
  ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
180
180
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
181
- USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST'
181
+ USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
182
+ AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
182
183
  } as const;
183
184
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
184
185
 
@@ -13,6 +13,14 @@
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
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -37,6 +45,12 @@ export interface InvoiceDtoTransaction {
37
45
  * @memberof InvoiceDtoTransaction
38
46
  */
39
47
  gatewayCustomerId: string | null;
48
+ /**
49
+ * Linked payment provider deposits for this transaction.
50
+ * @type {Array<AdminVerificationDepositDto>}
51
+ * @memberof InvoiceDtoTransaction
52
+ */
53
+ airwallexDeposits: Array<AdminVerificationDepositDto>;
40
54
  }
41
55
 
42
56
 
@@ -46,7 +60,8 @@ export interface InvoiceDtoTransaction {
46
60
  export const InvoiceDtoTransactionGatewayEnum = {
47
61
  STRIPE: 'stripe',
48
62
  MOLLIE: 'mollie',
49
- NICKY: 'nicky'
63
+ NICKY: 'nicky',
64
+ AIRWALLEX: 'airwallex'
50
65
  } as const;
51
66
  export type InvoiceDtoTransactionGatewayEnum = typeof InvoiceDtoTransactionGatewayEnum[keyof typeof InvoiceDtoTransactionGatewayEnum];
52
67
 
@@ -58,6 +73,7 @@ export function instanceOfInvoiceDtoTransaction(value: object): value is Invoice
58
73
  if (!('id' in value) || value['id'] === undefined) return false;
59
74
  if (!('gateway' in value) || value['gateway'] === undefined) return false;
60
75
  if (!('gatewayCustomerId' in value) || value['gatewayCustomerId'] === undefined) return false;
76
+ if (!('airwallexDeposits' in value) || value['airwallexDeposits'] === undefined) return false;
61
77
  return true;
62
78
  }
63
79
 
@@ -74,6 +90,7 @@ export function InvoiceDtoTransactionFromJSONTyped(json: any, ignoreDiscriminato
74
90
  'id': json['id'],
75
91
  'gateway': json['gateway'],
76
92
  'gatewayCustomerId': json['gatewayCustomerId'],
93
+ 'airwallexDeposits': ((json['airwallexDeposits'] as Array<any>).map(AdminVerificationDepositDtoFromJSON)),
77
94
  };
78
95
  }
79
96
 
@@ -91,6 +108,7 @@ export function InvoiceDtoTransactionToJSONTyped(value?: InvoiceDtoTransaction |
91
108
  'id': value['id'],
92
109
  'gateway': value['gateway'],
93
110
  'gatewayCustomerId': value['gatewayCustomerId'],
111
+ 'airwallexDeposits': ((value['airwallexDeposits'] as Array<any>).map(AdminVerificationDepositDtoToJSON)),
94
112
  };
95
113
  }
96
114
 
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { AirwallexBankAccountDetailsDto } from './AirwallexBankAccountDetailsDto';
17
+ import {
18
+ AirwallexBankAccountDetailsDtoFromJSON,
19
+ AirwallexBankAccountDetailsDtoFromJSONTyped,
20
+ AirwallexBankAccountDetailsDtoToJSON,
21
+ AirwallexBankAccountDetailsDtoToJSONTyped,
22
+ } from './AirwallexBankAccountDetailsDto';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -61,6 +69,12 @@ export interface InvoiceTransactionDto {
61
69
  * @memberof InvoiceTransactionDto
62
70
  */
63
71
  selectedPaymentMethod: InvoiceTransactionDtoSelectedPaymentMethodEnum;
72
+ /**
73
+ * Bank transfer payment details when paying via Airwallex. Null for other gateways.
74
+ * @type {AirwallexBankAccountDetailsDto}
75
+ * @memberof InvoiceTransactionDto
76
+ */
77
+ paymentDetails: AirwallexBankAccountDetailsDto | null;
64
78
  }
65
79
 
66
80
 
@@ -70,7 +84,8 @@ export interface InvoiceTransactionDto {
70
84
  export const InvoiceTransactionDtoGatewayEnum = {
71
85
  STRIPE: 'stripe',
72
86
  MOLLIE: 'mollie',
73
- NICKY: 'nicky'
87
+ NICKY: 'nicky',
88
+ AIRWALLEX: 'airwallex'
74
89
  } as const;
75
90
  export type InvoiceTransactionDtoGatewayEnum = typeof InvoiceTransactionDtoGatewayEnum[keyof typeof InvoiceTransactionDtoGatewayEnum];
76
91
 
@@ -181,6 +196,7 @@ export function instanceOfInvoiceTransactionDto(value: object): value is Invoice
181
196
  if (!('status' in value) || value['status'] === undefined) return false;
182
197
  if (!('redirectUrl' in value) || value['redirectUrl'] === undefined) return false;
183
198
  if (!('selectedPaymentMethod' in value) || value['selectedPaymentMethod'] === undefined) return false;
199
+ if (!('paymentDetails' in value) || value['paymentDetails'] === undefined) return false;
184
200
  return true;
185
201
  }
186
202
 
@@ -201,6 +217,7 @@ export function InvoiceTransactionDtoFromJSONTyped(json: any, ignoreDiscriminato
201
217
  'status': json['status'],
202
218
  'redirectUrl': json['redirectUrl'],
203
219
  'selectedPaymentMethod': json['selectedPaymentMethod'],
220
+ 'paymentDetails': AirwallexBankAccountDetailsDtoFromJSON(json['paymentDetails']),
204
221
  };
205
222
  }
206
223
 
@@ -222,6 +239,7 @@ export function InvoiceTransactionDtoToJSONTyped(value?: InvoiceTransactionDto |
222
239
  'status': value['status'],
223
240
  'redirectUrl': value['redirectUrl'],
224
241
  'selectedPaymentMethod': value['selectedPaymentMethod'],
242
+ 'paymentDetails': AirwallexBankAccountDetailsDtoToJSON(value['paymentDetails']),
225
243
  };
226
244
  }
227
245
 
@@ -91,6 +91,12 @@ export interface LandingPageInput {
91
91
  * @memberof LandingPageInput
92
92
  */
93
93
  externalLink?: string | null;
94
+ /**
95
+ * Landing page UI design variant
96
+ * @type {string}
97
+ * @memberof LandingPageInput
98
+ */
99
+ design?: LandingPageInputDesignEnum | null;
94
100
  }
95
101
 
96
102
 
@@ -104,6 +110,16 @@ export const LandingPageInputRequestLeadBuyerPhoneNumberEnum = {
104
110
  } as const;
105
111
  export type LandingPageInputRequestLeadBuyerPhoneNumberEnum = typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum];
106
112
 
113
+ /**
114
+ * @export
115
+ */
116
+ export const LandingPageInputDesignEnum = {
117
+ ORIGINAL: 'original',
118
+ MODERN: 'modern',
119
+ MINIMAL: 'minimal'
120
+ } as const;
121
+ export type LandingPageInputDesignEnum = typeof LandingPageInputDesignEnum[keyof typeof LandingPageInputDesignEnum];
122
+
107
123
 
108
124
  /**
109
125
  * Check if a given object implements the LandingPageInput interface.
@@ -134,6 +150,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
134
150
  'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'] == null ? undefined : json['requestLeadBuyerCompanyName'],
135
151
  'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'] == null ? undefined : json['requestLeadBuyerPhoneNumber'],
136
152
  'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
153
+ 'design': json['design'] == null ? undefined : json['design'],
137
154
  };
138
155
  }
139
156
 
@@ -160,6 +177,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
160
177
  'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
161
178
  'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
162
179
  'externalLink': value['externalLink'],
180
+ 'design': value['design'],
163
181
  };
164
182
  }
165
183
 
@@ -91,6 +91,12 @@ export interface LandingPageSettingsDto {
91
91
  * @memberof LandingPageSettingsDto
92
92
  */
93
93
  externalLink: string | null;
94
+ /**
95
+ * Landing page UI design variant.
96
+ * @type {string}
97
+ * @memberof LandingPageSettingsDto
98
+ */
99
+ design: LandingPageSettingsDtoDesignEnum | null;
94
100
  }
95
101
 
96
102
 
@@ -104,6 +110,16 @@ export const LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = {
104
110
  } as const;
105
111
  export type LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum];
106
112
 
113
+ /**
114
+ * @export
115
+ */
116
+ export const LandingPageSettingsDtoDesignEnum = {
117
+ ORIGINAL: 'original',
118
+ MODERN: 'modern',
119
+ MINIMAL: 'minimal'
120
+ } as const;
121
+ export type LandingPageSettingsDtoDesignEnum = typeof LandingPageSettingsDtoDesignEnum[keyof typeof LandingPageSettingsDtoDesignEnum];
122
+
107
123
 
108
124
  /**
109
125
  * Check if a given object implements the LandingPageSettingsDto interface.
@@ -121,6 +137,7 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
121
137
  if (!('requestLeadBuyerCompanyName' in value) || value['requestLeadBuyerCompanyName'] === undefined) return false;
122
138
  if (!('requestLeadBuyerPhoneNumber' in value) || value['requestLeadBuyerPhoneNumber'] === undefined) return false;
123
139
  if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
140
+ if (!('design' in value) || value['design'] === undefined) return false;
124
141
  return true;
125
142
  }
126
143
 
@@ -146,6 +163,7 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
146
163
  'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'],
147
164
  'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'],
148
165
  'externalLink': json['externalLink'],
166
+ 'design': json['design'],
149
167
  };
150
168
  }
151
169
 
@@ -172,6 +190,7 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
172
190
  'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
173
191
  'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
174
192
  'externalLink': value['externalLink'],
193
+ 'design': value['design'],
175
194
  };
176
195
  }
177
196
 
@@ -13,6 +13,14 @@
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
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -37,6 +45,12 @@ export interface OrderListItemDtoTransaction {
37
45
  * @memberof OrderListItemDtoTransaction
38
46
  */
39
47
  gatewayCustomerId: string | null;
48
+ /**
49
+ * Linked payment provider deposits for this transaction.
50
+ * @type {Array<AdminVerificationDepositDto>}
51
+ * @memberof OrderListItemDtoTransaction
52
+ */
53
+ airwallexDeposits: Array<AdminVerificationDepositDto>;
40
54
  }
41
55
 
42
56
 
@@ -46,7 +60,8 @@ export interface OrderListItemDtoTransaction {
46
60
  export const OrderListItemDtoTransactionGatewayEnum = {
47
61
  STRIPE: 'stripe',
48
62
  MOLLIE: 'mollie',
49
- NICKY: 'nicky'
63
+ NICKY: 'nicky',
64
+ AIRWALLEX: 'airwallex'
50
65
  } as const;
51
66
  export type OrderListItemDtoTransactionGatewayEnum = typeof OrderListItemDtoTransactionGatewayEnum[keyof typeof OrderListItemDtoTransactionGatewayEnum];
52
67
 
@@ -58,6 +73,7 @@ export function instanceOfOrderListItemDtoTransaction(value: object): value is O
58
73
  if (!('id' in value) || value['id'] === undefined) return false;
59
74
  if (!('gateway' in value) || value['gateway'] === undefined) return false;
60
75
  if (!('gatewayCustomerId' in value) || value['gatewayCustomerId'] === undefined) return false;
76
+ if (!('airwallexDeposits' in value) || value['airwallexDeposits'] === undefined) return false;
61
77
  return true;
62
78
  }
63
79
 
@@ -74,6 +90,7 @@ export function OrderListItemDtoTransactionFromJSONTyped(json: any, ignoreDiscri
74
90
  'id': json['id'],
75
91
  'gateway': json['gateway'],
76
92
  'gatewayCustomerId': json['gatewayCustomerId'],
93
+ 'airwallexDeposits': ((json['airwallexDeposits'] as Array<any>).map(AdminVerificationDepositDtoFromJSON)),
77
94
  };
78
95
  }
79
96
 
@@ -91,6 +108,7 @@ export function OrderListItemDtoTransactionToJSONTyped(value?: OrderListItemDtoT
91
108
  'id': value['id'],
92
109
  'gateway': value['gateway'],
93
110
  'gatewayCustomerId': value['gatewayCustomerId'],
111
+ 'airwallexDeposits': ((value['airwallexDeposits'] as Array<any>).map(AdminVerificationDepositDtoToJSON)),
94
112
  };
95
113
  }
96
114
 
@@ -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