@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
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAdminBankDepositDto = instanceOfAdminBankDepositDto;
17
+ exports.AdminBankDepositDtoFromJSON = AdminBankDepositDtoFromJSON;
18
+ exports.AdminBankDepositDtoFromJSONTyped = AdminBankDepositDtoFromJSONTyped;
19
+ exports.AdminBankDepositDtoToJSON = AdminBankDepositDtoToJSON;
20
+ exports.AdminBankDepositDtoToJSONTyped = AdminBankDepositDtoToJSONTyped;
21
+ var AdminBankDepositInvoiceTransactionDto_1 = require("./AdminBankDepositInvoiceTransactionDto");
22
+ var AdminBankDepositAccountBankAccountDto_1 = require("./AdminBankDepositAccountBankAccountDto");
23
+ /**
24
+ * Check if a given object implements the AdminBankDepositDto interface.
25
+ */
26
+ function instanceOfAdminBankDepositDto(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
30
+ return false;
31
+ if (!('externalTransactionId' in value) || value['externalTransactionId'] === undefined)
32
+ return false;
33
+ if (!('processed' in value) || value['processed'] === undefined)
34
+ return false;
35
+ if (!('accountBankAccount' in value) || value['accountBankAccount'] === undefined)
36
+ return false;
37
+ if (!('invoiceTransactionId' in value) || value['invoiceTransactionId'] === undefined)
38
+ return false;
39
+ if (!('invoiceTransaction' in value) || value['invoiceTransaction'] === undefined)
40
+ return false;
41
+ if (!('raw' in value) || value['raw'] === undefined)
42
+ return false;
43
+ return true;
44
+ }
45
+ function AdminBankDepositDtoFromJSON(json) {
46
+ return AdminBankDepositDtoFromJSONTyped(json, false);
47
+ }
48
+ function AdminBankDepositDtoFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'id': json['id'],
54
+ 'createdAt': (new Date(json['createdAt'])),
55
+ 'externalTransactionId': json['externalTransactionId'],
56
+ 'processed': json['processed'],
57
+ 'accountBankAccount': (0, AdminBankDepositAccountBankAccountDto_1.AdminBankDepositAccountBankAccountDtoFromJSON)(json['accountBankAccount']),
58
+ 'invoiceTransactionId': json['invoiceTransactionId'],
59
+ 'invoiceTransaction': (0, AdminBankDepositInvoiceTransactionDto_1.AdminBankDepositInvoiceTransactionDtoFromJSON)(json['invoiceTransaction']),
60
+ 'raw': json['raw'],
61
+ };
62
+ }
63
+ function AdminBankDepositDtoToJSON(json) {
64
+ return AdminBankDepositDtoToJSONTyped(json, false);
65
+ }
66
+ function AdminBankDepositDtoToJSONTyped(value, ignoreDiscriminator) {
67
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'id': value['id'],
73
+ 'createdAt': ((value['createdAt']).toISOString()),
74
+ 'externalTransactionId': value['externalTransactionId'],
75
+ 'processed': value['processed'],
76
+ 'accountBankAccount': (0, AdminBankDepositAccountBankAccountDto_1.AdminBankDepositAccountBankAccountDtoToJSON)(value['accountBankAccount']),
77
+ 'invoiceTransactionId': value['invoiceTransactionId'],
78
+ 'invoiceTransaction': (0, AdminBankDepositInvoiceTransactionDto_1.AdminBankDepositInvoiceTransactionDtoToJSON)(value['invoiceTransaction']),
79
+ 'raw': value['raw'],
80
+ };
81
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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
+ * @export
15
+ * @interface AdminBankDepositInvoiceDto
16
+ */
17
+ export interface AdminBankDepositInvoiceDto {
18
+ /**
19
+ * Invoice ID.
20
+ * @type {string}
21
+ * @memberof AdminBankDepositInvoiceDto
22
+ */
23
+ id: string;
24
+ /**
25
+ * Invoice status.
26
+ * @type {string}
27
+ * @memberof AdminBankDepositInvoiceDto
28
+ */
29
+ status: AdminBankDepositInvoiceDtoStatusEnum;
30
+ /**
31
+ * Invoice number.
32
+ * @type {string}
33
+ * @memberof AdminBankDepositInvoiceDto
34
+ */
35
+ invoiceNumber: string | null;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const AdminBankDepositInvoiceDtoStatusEnum: {
41
+ readonly DRAFT: "draft";
42
+ readonly PENDING_PAYMENT: "pending_payment";
43
+ readonly PAID: "paid";
44
+ readonly CANCELLED: "cancelled";
45
+ };
46
+ export type AdminBankDepositInvoiceDtoStatusEnum = typeof AdminBankDepositInvoiceDtoStatusEnum[keyof typeof AdminBankDepositInvoiceDtoStatusEnum];
47
+ /**
48
+ * Check if a given object implements the AdminBankDepositInvoiceDto interface.
49
+ */
50
+ export declare function instanceOfAdminBankDepositInvoiceDto(value: object): value is AdminBankDepositInvoiceDto;
51
+ export declare function AdminBankDepositInvoiceDtoFromJSON(json: any): AdminBankDepositInvoiceDto;
52
+ export declare function AdminBankDepositInvoiceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankDepositInvoiceDto;
53
+ export declare function AdminBankDepositInvoiceDtoToJSON(json: any): AdminBankDepositInvoiceDto;
54
+ export declare function AdminBankDepositInvoiceDtoToJSONTyped(value?: AdminBankDepositInvoiceDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AdminBankDepositInvoiceDtoStatusEnum = void 0;
17
+ exports.instanceOfAdminBankDepositInvoiceDto = instanceOfAdminBankDepositInvoiceDto;
18
+ exports.AdminBankDepositInvoiceDtoFromJSON = AdminBankDepositInvoiceDtoFromJSON;
19
+ exports.AdminBankDepositInvoiceDtoFromJSONTyped = AdminBankDepositInvoiceDtoFromJSONTyped;
20
+ exports.AdminBankDepositInvoiceDtoToJSON = AdminBankDepositInvoiceDtoToJSON;
21
+ exports.AdminBankDepositInvoiceDtoToJSONTyped = AdminBankDepositInvoiceDtoToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.AdminBankDepositInvoiceDtoStatusEnum = {
26
+ DRAFT: 'draft',
27
+ PENDING_PAYMENT: 'pending_payment',
28
+ PAID: 'paid',
29
+ CANCELLED: 'cancelled'
30
+ };
31
+ /**
32
+ * Check if a given object implements the AdminBankDepositInvoiceDto interface.
33
+ */
34
+ function instanceOfAdminBankDepositInvoiceDto(value) {
35
+ if (!('id' in value) || value['id'] === undefined)
36
+ return false;
37
+ if (!('status' in value) || value['status'] === undefined)
38
+ return false;
39
+ if (!('invoiceNumber' in value) || value['invoiceNumber'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function AdminBankDepositInvoiceDtoFromJSON(json) {
44
+ return AdminBankDepositInvoiceDtoFromJSONTyped(json, false);
45
+ }
46
+ function AdminBankDepositInvoiceDtoFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'id': json['id'],
52
+ 'status': json['status'],
53
+ 'invoiceNumber': json['invoiceNumber'],
54
+ };
55
+ }
56
+ function AdminBankDepositInvoiceDtoToJSON(json) {
57
+ return AdminBankDepositInvoiceDtoToJSONTyped(json, false);
58
+ }
59
+ function AdminBankDepositInvoiceDtoToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'id': value['id'],
66
+ 'status': value['status'],
67
+ 'invoiceNumber': value['invoiceNumber'],
68
+ };
69
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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
+ import type { AdminBankDepositInvoiceDto } from './AdminBankDepositInvoiceDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AdminBankDepositInvoiceTransactionDto
17
+ */
18
+ export interface AdminBankDepositInvoiceTransactionDto {
19
+ /**
20
+ * Invoice transaction ID.
21
+ * @type {string}
22
+ * @memberof AdminBankDepositInvoiceTransactionDto
23
+ */
24
+ id: string;
25
+ /**
26
+ * Linked invoice.
27
+ * @type {AdminBankDepositInvoiceDto}
28
+ * @memberof AdminBankDepositInvoiceTransactionDto
29
+ */
30
+ invoice: AdminBankDepositInvoiceDto;
31
+ }
32
+ /**
33
+ * Check if a given object implements the AdminBankDepositInvoiceTransactionDto interface.
34
+ */
35
+ export declare function instanceOfAdminBankDepositInvoiceTransactionDto(value: object): value is AdminBankDepositInvoiceTransactionDto;
36
+ export declare function AdminBankDepositInvoiceTransactionDtoFromJSON(json: any): AdminBankDepositInvoiceTransactionDto;
37
+ export declare function AdminBankDepositInvoiceTransactionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankDepositInvoiceTransactionDto;
38
+ export declare function AdminBankDepositInvoiceTransactionDtoToJSON(json: any): AdminBankDepositInvoiceTransactionDto;
39
+ export declare function AdminBankDepositInvoiceTransactionDtoToJSONTyped(value?: AdminBankDepositInvoiceTransactionDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAdminBankDepositInvoiceTransactionDto = instanceOfAdminBankDepositInvoiceTransactionDto;
17
+ exports.AdminBankDepositInvoiceTransactionDtoFromJSON = AdminBankDepositInvoiceTransactionDtoFromJSON;
18
+ exports.AdminBankDepositInvoiceTransactionDtoFromJSONTyped = AdminBankDepositInvoiceTransactionDtoFromJSONTyped;
19
+ exports.AdminBankDepositInvoiceTransactionDtoToJSON = AdminBankDepositInvoiceTransactionDtoToJSON;
20
+ exports.AdminBankDepositInvoiceTransactionDtoToJSONTyped = AdminBankDepositInvoiceTransactionDtoToJSONTyped;
21
+ var AdminBankDepositInvoiceDto_1 = require("./AdminBankDepositInvoiceDto");
22
+ /**
23
+ * Check if a given object implements the AdminBankDepositInvoiceTransactionDto interface.
24
+ */
25
+ function instanceOfAdminBankDepositInvoiceTransactionDto(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('invoice' in value) || value['invoice'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function AdminBankDepositInvoiceTransactionDtoFromJSON(json) {
33
+ return AdminBankDepositInvoiceTransactionDtoFromJSONTyped(json, false);
34
+ }
35
+ function AdminBankDepositInvoiceTransactionDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'id': json['id'],
41
+ 'invoice': (0, AdminBankDepositInvoiceDto_1.AdminBankDepositInvoiceDtoFromJSON)(json['invoice']),
42
+ };
43
+ }
44
+ function AdminBankDepositInvoiceTransactionDtoToJSON(json) {
45
+ return AdminBankDepositInvoiceTransactionDtoToJSONTyped(json, false);
46
+ }
47
+ function AdminBankDepositInvoiceTransactionDtoToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'id': value['id'],
54
+ 'invoice': (0, AdminBankDepositInvoiceDto_1.AdminBankDepositInvoiceDtoToJSON)(value['invoice']),
55
+ };
56
+ }
@@ -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).
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
  }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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
+ * @export
15
+ * @interface LinkBankDepositToBankAccountInput
16
+ */
17
+ export interface LinkBankDepositToBankAccountInput {
18
+ /**
19
+ * Account bank account UUID to link to the deposit
20
+ * @type {string}
21
+ * @memberof LinkBankDepositToBankAccountInput
22
+ */
23
+ accountBankAccountId: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the LinkBankDepositToBankAccountInput interface.
27
+ */
28
+ export declare function instanceOfLinkBankDepositToBankAccountInput(value: object): value is LinkBankDepositToBankAccountInput;
29
+ export declare function LinkBankDepositToBankAccountInputFromJSON(json: any): LinkBankDepositToBankAccountInput;
30
+ export declare function LinkBankDepositToBankAccountInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LinkBankDepositToBankAccountInput;
31
+ export declare function LinkBankDepositToBankAccountInputToJSON(json: any): LinkBankDepositToBankAccountInput;
32
+ export declare function LinkBankDepositToBankAccountInputToJSONTyped(value?: LinkBankDepositToBankAccountInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLinkBankDepositToBankAccountInput = instanceOfLinkBankDepositToBankAccountInput;
17
+ exports.LinkBankDepositToBankAccountInputFromJSON = LinkBankDepositToBankAccountInputFromJSON;
18
+ exports.LinkBankDepositToBankAccountInputFromJSONTyped = LinkBankDepositToBankAccountInputFromJSONTyped;
19
+ exports.LinkBankDepositToBankAccountInputToJSON = LinkBankDepositToBankAccountInputToJSON;
20
+ exports.LinkBankDepositToBankAccountInputToJSONTyped = LinkBankDepositToBankAccountInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LinkBankDepositToBankAccountInput interface.
23
+ */
24
+ function instanceOfLinkBankDepositToBankAccountInput(value) {
25
+ if (!('accountBankAccountId' in value) || value['accountBankAccountId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function LinkBankDepositToBankAccountInputFromJSON(json) {
30
+ return LinkBankDepositToBankAccountInputFromJSONTyped(json, false);
31
+ }
32
+ function LinkBankDepositToBankAccountInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'accountBankAccountId': json['accountBankAccountId'],
38
+ };
39
+ }
40
+ function LinkBankDepositToBankAccountInputToJSON(json) {
41
+ return LinkBankDepositToBankAccountInputToJSONTyped(json, false);
42
+ }
43
+ function LinkBankDepositToBankAccountInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'accountBankAccountId': value['accountBankAccountId'],
50
+ };
51
+ }