@randock/nameshift-api-client 0.0.441 → 0.0.442

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +49 -1
  4. package/dist/apis/AdminApi.js +187 -0
  5. package/dist/models/AdminBankDepositAccountBankAccountDto.d.ts +39 -0
  6. package/dist/models/AdminBankDepositAccountBankAccountDto.js +56 -0
  7. package/dist/models/AdminBankDepositAccountDto.d.ts +38 -0
  8. package/dist/models/AdminBankDepositAccountDto.js +55 -0
  9. package/dist/models/AdminBankDepositDto.d.ts +76 -0
  10. package/dist/models/AdminBankDepositDto.js +81 -0
  11. package/dist/models/AdminBankDepositInvoiceDto.d.ts +54 -0
  12. package/dist/models/AdminBankDepositInvoiceDto.js +69 -0
  13. package/dist/models/AdminBankDepositInvoiceTransactionDto.d.ts +39 -0
  14. package/dist/models/AdminBankDepositInvoiceTransactionDto.js +56 -0
  15. package/dist/models/AirwallexBankAccountDetailsDto.d.ts +1 -1
  16. package/dist/models/LinkBankDepositToBankAccountInput.d.ts +32 -0
  17. package/dist/models/LinkBankDepositToBankAccountInput.js +51 -0
  18. package/dist/models/LinkBankDepositToInvoiceInput.d.ts +32 -0
  19. package/dist/models/LinkBankDepositToInvoiceInput.js +51 -0
  20. package/dist/models/ListBankDeposits200Response.d.ts +47 -0
  21. package/dist/models/ListBankDeposits200Response.js +62 -0
  22. package/dist/models/OrderListItemDto.d.ts +1 -1
  23. package/dist/models/OrderListItemDtoTransaction.d.ts +95 -6
  24. package/dist/models/OrderListItemDtoTransaction.js +93 -8
  25. package/dist/models/index.d.ts +8 -0
  26. package/dist/models/index.js +8 -0
  27. package/package.json +1 -1
  28. package/src/apis/AdminApi.ts +192 -0
  29. package/src/models/AdminBankDepositAccountBankAccountDto.ts +83 -0
  30. package/src/models/AdminBankDepositAccountDto.ts +75 -0
  31. package/src/models/AdminBankDepositDto.ts +144 -0
  32. package/src/models/AdminBankDepositInvoiceDto.ts +97 -0
  33. package/src/models/AdminBankDepositInvoiceTransactionDto.ts +83 -0
  34. package/src/models/AirwallexBankAccountDetailsDto.ts +1 -1
  35. package/src/models/LinkBankDepositToBankAccountInput.ts +66 -0
  36. package/src/models/LinkBankDepositToInvoiceInput.ts +66 -0
  37. package/src/models/ListBankDeposits200Response.ts +106 -0
  38. package/src/models/OrderListItemDto.ts +1 -1
  39. package/src/models/OrderListItemDtoTransaction.ts +106 -19
  40. package/src/models/index.ts +8 -0
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AdminBankDepositAccountDto
20
+ */
21
+ export interface AdminBankDepositAccountDto {
22
+ /**
23
+ * Account ID.
24
+ * @type {string}
25
+ * @memberof AdminBankDepositAccountDto
26
+ */
27
+ id: string;
28
+ /**
29
+ * Account identifier.
30
+ * @type {object}
31
+ * @memberof AdminBankDepositAccountDto
32
+ */
33
+ identifier: object;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the AdminBankDepositAccountDto interface.
38
+ */
39
+ export function instanceOfAdminBankDepositAccountDto(value: object): value is AdminBankDepositAccountDto {
40
+ if (!('id' in value) || value['id'] === undefined) return false;
41
+ if (!('identifier' in value) || value['identifier'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function AdminBankDepositAccountDtoFromJSON(json: any): AdminBankDepositAccountDto {
46
+ return AdminBankDepositAccountDtoFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function AdminBankDepositAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankDepositAccountDto {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'id': json['id'],
56
+ 'identifier': json['identifier'],
57
+ };
58
+ }
59
+
60
+ export function AdminBankDepositAccountDtoToJSON(json: any): AdminBankDepositAccountDto {
61
+ return AdminBankDepositAccountDtoToJSONTyped(json, false);
62
+ }
63
+
64
+ export function AdminBankDepositAccountDtoToJSONTyped(value?: AdminBankDepositAccountDto | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'id': value['id'],
72
+ 'identifier': value['identifier'],
73
+ };
74
+ }
75
+
@@ -0,0 +1,144 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { AdminBankDepositInvoiceTransactionDto } from './AdminBankDepositInvoiceTransactionDto';
17
+ import {
18
+ AdminBankDepositInvoiceTransactionDtoFromJSON,
19
+ AdminBankDepositInvoiceTransactionDtoFromJSONTyped,
20
+ AdminBankDepositInvoiceTransactionDtoToJSON,
21
+ AdminBankDepositInvoiceTransactionDtoToJSONTyped,
22
+ } from './AdminBankDepositInvoiceTransactionDto';
23
+ import type { AdminBankDepositAccountBankAccountDto } from './AdminBankDepositAccountBankAccountDto';
24
+ import {
25
+ AdminBankDepositAccountBankAccountDtoFromJSON,
26
+ AdminBankDepositAccountBankAccountDtoFromJSONTyped,
27
+ AdminBankDepositAccountBankAccountDtoToJSON,
28
+ AdminBankDepositAccountBankAccountDtoToJSONTyped,
29
+ } from './AdminBankDepositAccountBankAccountDto';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface AdminBankDepositDto
35
+ */
36
+ export interface AdminBankDepositDto {
37
+ /**
38
+ * Bank deposit ID.
39
+ * @type {string}
40
+ * @memberof AdminBankDepositDto
41
+ */
42
+ id: string;
43
+ /**
44
+ * Deposit creation date.
45
+ * @type {Date}
46
+ * @memberof AdminBankDepositDto
47
+ */
48
+ createdAt: Date;
49
+ /**
50
+ * External transaction ID from the payment provider.
51
+ * @type {string}
52
+ * @memberof AdminBankDepositDto
53
+ */
54
+ externalTransactionId: string;
55
+ /**
56
+ * Deposit has been processed.
57
+ * @type {boolean}
58
+ * @memberof AdminBankDepositDto
59
+ */
60
+ processed: boolean;
61
+ /**
62
+ * Associated bank account, if any.
63
+ * @type {AdminBankDepositAccountBankAccountDto}
64
+ * @memberof AdminBankDepositDto
65
+ */
66
+ accountBankAccount: AdminBankDepositAccountBankAccountDto | null;
67
+ /**
68
+ * Associated invoice transaction ID, if any.
69
+ * @type {string}
70
+ * @memberof AdminBankDepositDto
71
+ */
72
+ invoiceTransactionId: string | null;
73
+ /**
74
+ * Linked invoice transaction (if available).
75
+ * @type {AdminBankDepositInvoiceTransactionDto}
76
+ * @memberof AdminBankDepositDto
77
+ */
78
+ invoiceTransaction: AdminBankDepositInvoiceTransactionDto | null;
79
+ /**
80
+ * Raw deposit payload from the payment provider.
81
+ * @type {object}
82
+ * @memberof AdminBankDepositDto
83
+ */
84
+ raw: object;
85
+ }
86
+
87
+ /**
88
+ * Check if a given object implements the AdminBankDepositDto interface.
89
+ */
90
+ export function instanceOfAdminBankDepositDto(value: object): value is AdminBankDepositDto {
91
+ if (!('id' in value) || value['id'] === undefined) return false;
92
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
93
+ if (!('externalTransactionId' in value) || value['externalTransactionId'] === undefined) return false;
94
+ if (!('processed' in value) || value['processed'] === undefined) return false;
95
+ if (!('accountBankAccount' in value) || value['accountBankAccount'] === undefined) return false;
96
+ if (!('invoiceTransactionId' in value) || value['invoiceTransactionId'] === undefined) return false;
97
+ if (!('invoiceTransaction' in value) || value['invoiceTransaction'] === undefined) return false;
98
+ if (!('raw' in value) || value['raw'] === undefined) return false;
99
+ return true;
100
+ }
101
+
102
+ export function AdminBankDepositDtoFromJSON(json: any): AdminBankDepositDto {
103
+ return AdminBankDepositDtoFromJSONTyped(json, false);
104
+ }
105
+
106
+ export function AdminBankDepositDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankDepositDto {
107
+ if (json == null) {
108
+ return json;
109
+ }
110
+ return {
111
+
112
+ 'id': json['id'],
113
+ 'createdAt': (new Date(json['createdAt'])),
114
+ 'externalTransactionId': json['externalTransactionId'],
115
+ 'processed': json['processed'],
116
+ 'accountBankAccount': AdminBankDepositAccountBankAccountDtoFromJSON(json['accountBankAccount']),
117
+ 'invoiceTransactionId': json['invoiceTransactionId'],
118
+ 'invoiceTransaction': AdminBankDepositInvoiceTransactionDtoFromJSON(json['invoiceTransaction']),
119
+ 'raw': json['raw'],
120
+ };
121
+ }
122
+
123
+ export function AdminBankDepositDtoToJSON(json: any): AdminBankDepositDto {
124
+ return AdminBankDepositDtoToJSONTyped(json, false);
125
+ }
126
+
127
+ export function AdminBankDepositDtoToJSONTyped(value?: AdminBankDepositDto | null, ignoreDiscriminator: boolean = false): any {
128
+ if (value == null) {
129
+ return value;
130
+ }
131
+
132
+ return {
133
+
134
+ 'id': value['id'],
135
+ 'createdAt': ((value['createdAt']).toISOString()),
136
+ 'externalTransactionId': value['externalTransactionId'],
137
+ 'processed': value['processed'],
138
+ 'accountBankAccount': AdminBankDepositAccountBankAccountDtoToJSON(value['accountBankAccount']),
139
+ 'invoiceTransactionId': value['invoiceTransactionId'],
140
+ 'invoiceTransaction': AdminBankDepositInvoiceTransactionDtoToJSON(value['invoiceTransaction']),
141
+ 'raw': value['raw'],
142
+ };
143
+ }
144
+
@@ -0,0 +1,97 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AdminBankDepositInvoiceDto
20
+ */
21
+ export interface AdminBankDepositInvoiceDto {
22
+ /**
23
+ * Invoice ID.
24
+ * @type {string}
25
+ * @memberof AdminBankDepositInvoiceDto
26
+ */
27
+ id: string;
28
+ /**
29
+ * Invoice status.
30
+ * @type {string}
31
+ * @memberof AdminBankDepositInvoiceDto
32
+ */
33
+ status: AdminBankDepositInvoiceDtoStatusEnum;
34
+ /**
35
+ * Invoice number.
36
+ * @type {string}
37
+ * @memberof AdminBankDepositInvoiceDto
38
+ */
39
+ invoiceNumber: string | null;
40
+ }
41
+
42
+
43
+ /**
44
+ * @export
45
+ */
46
+ export const AdminBankDepositInvoiceDtoStatusEnum = {
47
+ DRAFT: 'draft',
48
+ PENDING_PAYMENT: 'pending_payment',
49
+ PAID: 'paid',
50
+ CANCELLED: 'cancelled'
51
+ } as const;
52
+ export type AdminBankDepositInvoiceDtoStatusEnum = typeof AdminBankDepositInvoiceDtoStatusEnum[keyof typeof AdminBankDepositInvoiceDtoStatusEnum];
53
+
54
+
55
+ /**
56
+ * Check if a given object implements the AdminBankDepositInvoiceDto interface.
57
+ */
58
+ export function instanceOfAdminBankDepositInvoiceDto(value: object): value is AdminBankDepositInvoiceDto {
59
+ if (!('id' in value) || value['id'] === undefined) return false;
60
+ if (!('status' in value) || value['status'] === undefined) return false;
61
+ if (!('invoiceNumber' in value) || value['invoiceNumber'] === undefined) return false;
62
+ return true;
63
+ }
64
+
65
+ export function AdminBankDepositInvoiceDtoFromJSON(json: any): AdminBankDepositInvoiceDto {
66
+ return AdminBankDepositInvoiceDtoFromJSONTyped(json, false);
67
+ }
68
+
69
+ export function AdminBankDepositInvoiceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankDepositInvoiceDto {
70
+ if (json == null) {
71
+ return json;
72
+ }
73
+ return {
74
+
75
+ 'id': json['id'],
76
+ 'status': json['status'],
77
+ 'invoiceNumber': json['invoiceNumber'],
78
+ };
79
+ }
80
+
81
+ export function AdminBankDepositInvoiceDtoToJSON(json: any): AdminBankDepositInvoiceDto {
82
+ return AdminBankDepositInvoiceDtoToJSONTyped(json, false);
83
+ }
84
+
85
+ export function AdminBankDepositInvoiceDtoToJSONTyped(value?: AdminBankDepositInvoiceDto | null, ignoreDiscriminator: boolean = false): any {
86
+ if (value == null) {
87
+ return value;
88
+ }
89
+
90
+ return {
91
+
92
+ 'id': value['id'],
93
+ 'status': value['status'],
94
+ 'invoiceNumber': value['invoiceNumber'],
95
+ };
96
+ }
97
+
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { AdminBankDepositInvoiceDto } from './AdminBankDepositInvoiceDto';
17
+ import {
18
+ AdminBankDepositInvoiceDtoFromJSON,
19
+ AdminBankDepositInvoiceDtoFromJSONTyped,
20
+ AdminBankDepositInvoiceDtoToJSON,
21
+ AdminBankDepositInvoiceDtoToJSONTyped,
22
+ } from './AdminBankDepositInvoiceDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface AdminBankDepositInvoiceTransactionDto
28
+ */
29
+ export interface AdminBankDepositInvoiceTransactionDto {
30
+ /**
31
+ * Invoice transaction ID.
32
+ * @type {string}
33
+ * @memberof AdminBankDepositInvoiceTransactionDto
34
+ */
35
+ id: string;
36
+ /**
37
+ * Linked invoice.
38
+ * @type {AdminBankDepositInvoiceDto}
39
+ * @memberof AdminBankDepositInvoiceTransactionDto
40
+ */
41
+ invoice: AdminBankDepositInvoiceDto;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the AdminBankDepositInvoiceTransactionDto interface.
46
+ */
47
+ export function instanceOfAdminBankDepositInvoiceTransactionDto(value: object): value is AdminBankDepositInvoiceTransactionDto {
48
+ if (!('id' in value) || value['id'] === undefined) return false;
49
+ if (!('invoice' in value) || value['invoice'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function AdminBankDepositInvoiceTransactionDtoFromJSON(json: any): AdminBankDepositInvoiceTransactionDto {
54
+ return AdminBankDepositInvoiceTransactionDtoFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function AdminBankDepositInvoiceTransactionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankDepositInvoiceTransactionDto {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'id': json['id'],
64
+ 'invoice': AdminBankDepositInvoiceDtoFromJSON(json['invoice']),
65
+ };
66
+ }
67
+
68
+ export function AdminBankDepositInvoiceTransactionDtoToJSON(json: any): AdminBankDepositInvoiceTransactionDto {
69
+ return AdminBankDepositInvoiceTransactionDtoToJSONTyped(json, false);
70
+ }
71
+
72
+ export function AdminBankDepositInvoiceTransactionDtoToJSONTyped(value?: AdminBankDepositInvoiceTransactionDto | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'id': value['id'],
80
+ 'invoice': AdminBankDepositInvoiceDtoToJSON(value['invoice']),
81
+ };
82
+ }
83
+
@@ -71,7 +71,7 @@ export interface AirwallexBankAccountDetailsDto {
71
71
  */
72
72
  localMethods: Array<AirwallexBankAccountDetailsDtoLocalMethod>;
73
73
  /**
74
- * Bank transfer payment reference the buyer should use (shortIdentifier - domain name).
74
+ * Bank transfer payment reference the buyer should use (shortIdentifier).
75
75
  * @type {string}
76
76
  * @memberof AirwallexBankAccountDetailsDto
77
77
  */
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface LinkBankDepositToBankAccountInput
20
+ */
21
+ export interface LinkBankDepositToBankAccountInput {
22
+ /**
23
+ * Account bank account UUID to link to the deposit
24
+ * @type {string}
25
+ * @memberof LinkBankDepositToBankAccountInput
26
+ */
27
+ accountBankAccountId: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the LinkBankDepositToBankAccountInput interface.
32
+ */
33
+ export function instanceOfLinkBankDepositToBankAccountInput(value: object): value is LinkBankDepositToBankAccountInput {
34
+ if (!('accountBankAccountId' in value) || value['accountBankAccountId'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function LinkBankDepositToBankAccountInputFromJSON(json: any): LinkBankDepositToBankAccountInput {
39
+ return LinkBankDepositToBankAccountInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function LinkBankDepositToBankAccountInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LinkBankDepositToBankAccountInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'accountBankAccountId': json['accountBankAccountId'],
49
+ };
50
+ }
51
+
52
+ export function LinkBankDepositToBankAccountInputToJSON(json: any): LinkBankDepositToBankAccountInput {
53
+ return LinkBankDepositToBankAccountInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function LinkBankDepositToBankAccountInputToJSONTyped(value?: LinkBankDepositToBankAccountInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'accountBankAccountId': value['accountBankAccountId'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface LinkBankDepositToInvoiceInput
20
+ */
21
+ export interface LinkBankDepositToInvoiceInput {
22
+ /**
23
+ * Invoice UUID to link to the deposit
24
+ * @type {string}
25
+ * @memberof LinkBankDepositToInvoiceInput
26
+ */
27
+ invoiceId: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the LinkBankDepositToInvoiceInput interface.
32
+ */
33
+ export function instanceOfLinkBankDepositToInvoiceInput(value: object): value is LinkBankDepositToInvoiceInput {
34
+ if (!('invoiceId' in value) || value['invoiceId'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function LinkBankDepositToInvoiceInputFromJSON(json: any): LinkBankDepositToInvoiceInput {
39
+ return LinkBankDepositToInvoiceInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function LinkBankDepositToInvoiceInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LinkBankDepositToInvoiceInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'invoiceId': json['invoiceId'],
49
+ };
50
+ }
51
+
52
+ export function LinkBankDepositToInvoiceInputToJSON(json: any): LinkBankDepositToInvoiceInput {
53
+ return LinkBankDepositToInvoiceInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function LinkBankDepositToInvoiceInputToJSONTyped(value?: LinkBankDepositToInvoiceInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'invoiceId': value['invoiceId'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,106 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { PaginateResponseLinks } from './PaginateResponseLinks';
17
+ import {
18
+ PaginateResponseLinksFromJSON,
19
+ PaginateResponseLinksFromJSONTyped,
20
+ PaginateResponseLinksToJSON,
21
+ PaginateResponseLinksToJSONTyped,
22
+ } from './PaginateResponseLinks';
23
+ import type { AdminBankDepositDto } from './AdminBankDepositDto';
24
+ import {
25
+ AdminBankDepositDtoFromJSON,
26
+ AdminBankDepositDtoFromJSONTyped,
27
+ AdminBankDepositDtoToJSON,
28
+ AdminBankDepositDtoToJSONTyped,
29
+ } from './AdminBankDepositDto';
30
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
+ import {
32
+ PaginateResponseMetaFromJSON,
33
+ PaginateResponseMetaFromJSONTyped,
34
+ PaginateResponseMetaToJSON,
35
+ PaginateResponseMetaToJSONTyped,
36
+ } from './PaginateResponseMeta';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface ListBankDeposits200Response
42
+ */
43
+ export interface ListBankDeposits200Response {
44
+ /**
45
+ *
46
+ * @type {Array<AdminBankDepositDto>}
47
+ * @memberof ListBankDeposits200Response
48
+ */
49
+ data: Array<AdminBankDepositDto>;
50
+ /**
51
+ *
52
+ * @type {PaginateResponseMeta}
53
+ * @memberof ListBankDeposits200Response
54
+ */
55
+ meta: PaginateResponseMeta;
56
+ /**
57
+ *
58
+ * @type {PaginateResponseLinks}
59
+ * @memberof ListBankDeposits200Response
60
+ */
61
+ links: PaginateResponseLinks;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the ListBankDeposits200Response interface.
66
+ */
67
+ export function instanceOfListBankDeposits200Response(value: object): value is ListBankDeposits200Response {
68
+ if (!('data' in value) || value['data'] === undefined) return false;
69
+ if (!('meta' in value) || value['meta'] === undefined) return false;
70
+ if (!('links' in value) || value['links'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function ListBankDeposits200ResponseFromJSON(json: any): ListBankDeposits200Response {
75
+ return ListBankDeposits200ResponseFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function ListBankDeposits200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListBankDeposits200Response {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'data': ((json['data'] as Array<any>).map(AdminBankDepositDtoFromJSON)),
85
+ 'meta': PaginateResponseMetaFromJSON(json['meta']),
86
+ 'links': PaginateResponseLinksFromJSON(json['links']),
87
+ };
88
+ }
89
+
90
+ export function ListBankDeposits200ResponseToJSON(json: any): ListBankDeposits200Response {
91
+ return ListBankDeposits200ResponseToJSONTyped(json, false);
92
+ }
93
+
94
+ export function ListBankDeposits200ResponseToJSONTyped(value?: ListBankDeposits200Response | null, ignoreDiscriminator: boolean = false): any {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+
99
+ return {
100
+
101
+ 'data': ((value['data'] as Array<any>).map(AdminBankDepositDtoToJSON)),
102
+ 'meta': PaginateResponseMetaToJSON(value['meta']),
103
+ 'links': PaginateResponseLinksToJSON(value['links']),
104
+ };
105
+ }
106
+
@@ -140,7 +140,7 @@ export interface OrderListItemDto {
140
140
  */
141
141
  domainTransferId: string | null;
142
142
  /**
143
- * The selected invoice transaction data (paid one or latest fallback).
143
+ * Paid invoice transaction when available, otherwise the latest transaction.
144
144
  * @type {OrderListItemDtoTransaction}
145
145
  * @memberof OrderListItemDto
146
146
  */