@randock/nameshift-api-client 0.0.441 → 0.0.443
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.
- package/.openapi-generator/FILES +20 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +49 -1
- package/dist/apis/AdminApi.js +187 -0
- package/dist/models/AdminBankDepositAccountBankAccountDto.d.ts +39 -0
- package/dist/models/AdminBankDepositAccountBankAccountDto.js +56 -0
- package/dist/models/AdminBankDepositAccountDto.d.ts +38 -0
- package/dist/models/AdminBankDepositAccountDto.js +55 -0
- package/dist/models/AdminBankDepositDto.d.ts +76 -0
- package/dist/models/AdminBankDepositDto.js +81 -0
- package/dist/models/AdminBankDepositInvoiceDto.d.ts +54 -0
- package/dist/models/AdminBankDepositInvoiceDto.js +69 -0
- package/dist/models/AdminBankDepositInvoiceTransactionDto.d.ts +39 -0
- package/dist/models/AdminBankDepositInvoiceTransactionDto.js +56 -0
- package/dist/models/AirwallexBankAccountDetailsDto.d.ts +1 -1
- package/dist/models/DomainMinimalLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainMinimalLandingPageDesignDto.js +63 -0
- package/dist/models/DomainModernLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainModernLandingPageDesignDto.js +63 -0
- package/dist/models/DomainOriginalLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainOriginalLandingPageDesignDto.js +63 -0
- package/dist/models/DomainSalesInformationDto.d.ts +7 -24
- package/dist/models/DomainSalesInformationDto.js +5 -16
- package/dist/models/DomainSalesInformationDtoLandingPageDesign.d.ts +30 -0
- package/dist/models/DomainSalesInformationDtoLandingPageDesign.js +59 -0
- package/dist/models/DomainSellerDto.d.ts +0 -6
- package/dist/models/DomainSellerDto.js +0 -4
- package/dist/models/LandingPageDesignSettingsDto.d.ts +47 -0
- package/dist/models/LandingPageDesignSettingsDto.js +62 -0
- package/dist/models/LandingPageDesignSettingsInput.d.ts +47 -0
- package/dist/models/LandingPageDesignSettingsInput.js +56 -0
- package/dist/models/LandingPageInput.d.ts +6 -47
- package/dist/models/LandingPageInput.js +3 -16
- package/dist/models/LandingPageMinimalDesignSettingsDto.d.ts +32 -0
- package/dist/models/LandingPageMinimalDesignSettingsDto.js +51 -0
- package/dist/models/LandingPageMinimalDesignSettingsInput.d.ts +32 -0
- package/dist/models/LandingPageMinimalDesignSettingsInput.js +49 -0
- package/dist/models/LandingPageModernDesignSettingsDto.d.ts +74 -0
- package/dist/models/LandingPageModernDesignSettingsDto.js +79 -0
- package/dist/models/LandingPageModernDesignSettingsInput.d.ts +74 -0
- package/dist/models/LandingPageModernDesignSettingsInput.js +63 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.d.ts +74 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.js +79 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.d.ts +74 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.js +63 -0
- package/dist/models/LandingPageSettingsDto.d.ts +6 -47
- package/dist/models/LandingPageSettingsDto.js +5 -32
- package/dist/models/LinkBankDepositToBankAccountInput.d.ts +32 -0
- package/dist/models/LinkBankDepositToBankAccountInput.js +51 -0
- package/dist/models/LinkBankDepositToInvoiceInput.d.ts +32 -0
- package/dist/models/LinkBankDepositToInvoiceInput.js +51 -0
- package/dist/models/ListBankDeposits200Response.d.ts +47 -0
- package/dist/models/ListBankDeposits200Response.js +62 -0
- package/dist/models/OrderListItemDto.d.ts +1 -1
- package/dist/models/OrderListItemDtoTransaction.d.ts +95 -6
- package/dist/models/OrderListItemDtoTransaction.js +93 -8
- package/dist/models/WithSettingsInner.d.ts +0 -24
- package/dist/models/WithSettingsInner.js +0 -16
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +20 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +192 -0
- package/src/models/AdminBankDepositAccountBankAccountDto.ts +83 -0
- package/src/models/AdminBankDepositAccountDto.ts +75 -0
- package/src/models/AdminBankDepositDto.ts +144 -0
- package/src/models/AdminBankDepositInvoiceDto.ts +97 -0
- package/src/models/AdminBankDepositInvoiceTransactionDto.ts +83 -0
- package/src/models/AirwallexBankAccountDetailsDto.ts +1 -1
- package/src/models/DomainMinimalLandingPageDesignDto.ts +93 -0
- package/src/models/DomainModernLandingPageDesignDto.ts +93 -0
- package/src/models/DomainOriginalLandingPageDesignDto.ts +93 -0
- package/src/models/DomainSalesInformationDto.ts +16 -36
- package/src/models/DomainSalesInformationDtoLandingPageDesign.ts +84 -0
- package/src/models/DomainSellerDto.ts +0 -9
- package/src/models/LandingPageDesignSettingsDto.ts +106 -0
- package/src/models/LandingPageDesignSettingsInput.ts +103 -0
- package/src/models/LandingPageInput.ts +15 -63
- package/src/models/LandingPageMinimalDesignSettingsDto.ts +66 -0
- package/src/models/LandingPageMinimalDesignSettingsInput.ts +65 -0
- package/src/models/LandingPageModernDesignSettingsDto.ts +129 -0
- package/src/models/LandingPageModernDesignSettingsInput.ts +121 -0
- package/src/models/LandingPageOriginalDesignSettingsDto.ts +129 -0
- package/src/models/LandingPageOriginalDesignSettingsInput.ts +121 -0
- package/src/models/LandingPageSettingsDto.ts +16 -71
- package/src/models/LinkBankDepositToBankAccountInput.ts +66 -0
- package/src/models/LinkBankDepositToInvoiceInput.ts +66 -0
- package/src/models/ListBankDeposits200Response.ts +106 -0
- package/src/models/OrderListItemDto.ts +1 -1
- package/src/models/OrderListItemDtoTransaction.ts +106 -19
- package/src/models/WithSettingsInner.ts +0 -36
- package/src/models/index.ts +20 -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
|
|
74
|
+
* Bank transfer payment reference the buyer should use (shortIdentifier).
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @memberof AirwallexBankAccountDetailsDto
|
|
77
77
|
*/
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { LandingPageMinimalDesignSettingsDto } from './LandingPageMinimalDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageMinimalDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageMinimalDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageMinimalDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageMinimalDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageMinimalDesignSettingsDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainMinimalLandingPageDesignDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainMinimalLandingPageDesignDto {
|
|
30
|
+
/**
|
|
31
|
+
* Active landing page design.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainMinimalLandingPageDesignDto
|
|
34
|
+
*/
|
|
35
|
+
design: DomainMinimalLandingPageDesignDtoDesignEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Resolved settings for the minimal design.
|
|
38
|
+
* @type {LandingPageMinimalDesignSettingsDto}
|
|
39
|
+
* @memberof DomainMinimalLandingPageDesignDto
|
|
40
|
+
*/
|
|
41
|
+
settings: LandingPageMinimalDesignSettingsDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DomainMinimalLandingPageDesignDtoDesignEnum = {
|
|
49
|
+
MINIMAL: 'minimal'
|
|
50
|
+
} as const;
|
|
51
|
+
export type DomainMinimalLandingPageDesignDtoDesignEnum = typeof DomainMinimalLandingPageDesignDtoDesignEnum[keyof typeof DomainMinimalLandingPageDesignDtoDesignEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the DomainMinimalLandingPageDesignDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfDomainMinimalLandingPageDesignDto(value: object): value is DomainMinimalLandingPageDesignDto {
|
|
58
|
+
if (!('design' in value) || value['design'] === undefined) return false;
|
|
59
|
+
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainMinimalLandingPageDesignDtoFromJSON(json: any): DomainMinimalLandingPageDesignDto {
|
|
64
|
+
return DomainMinimalLandingPageDesignDtoFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DomainMinimalLandingPageDesignDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainMinimalLandingPageDesignDto {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'design': json['design'],
|
|
74
|
+
'settings': LandingPageMinimalDesignSettingsDtoFromJSON(json['settings']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function DomainMinimalLandingPageDesignDtoToJSON(json: any): DomainMinimalLandingPageDesignDto {
|
|
79
|
+
return DomainMinimalLandingPageDesignDtoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function DomainMinimalLandingPageDesignDtoToJSONTyped(value?: DomainMinimalLandingPageDesignDto | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'design': value['design'],
|
|
90
|
+
'settings': LandingPageMinimalDesignSettingsDtoToJSON(value['settings']),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { LandingPageModernDesignSettingsDto } from './LandingPageModernDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageModernDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageModernDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageModernDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageModernDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageModernDesignSettingsDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainModernLandingPageDesignDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainModernLandingPageDesignDto {
|
|
30
|
+
/**
|
|
31
|
+
* Active landing page design.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainModernLandingPageDesignDto
|
|
34
|
+
*/
|
|
35
|
+
design: DomainModernLandingPageDesignDtoDesignEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Resolved settings for the modern design.
|
|
38
|
+
* @type {LandingPageModernDesignSettingsDto}
|
|
39
|
+
* @memberof DomainModernLandingPageDesignDto
|
|
40
|
+
*/
|
|
41
|
+
settings: LandingPageModernDesignSettingsDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DomainModernLandingPageDesignDtoDesignEnum = {
|
|
49
|
+
MODERN: 'modern'
|
|
50
|
+
} as const;
|
|
51
|
+
export type DomainModernLandingPageDesignDtoDesignEnum = typeof DomainModernLandingPageDesignDtoDesignEnum[keyof typeof DomainModernLandingPageDesignDtoDesignEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the DomainModernLandingPageDesignDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfDomainModernLandingPageDesignDto(value: object): value is DomainModernLandingPageDesignDto {
|
|
58
|
+
if (!('design' in value) || value['design'] === undefined) return false;
|
|
59
|
+
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainModernLandingPageDesignDtoFromJSON(json: any): DomainModernLandingPageDesignDto {
|
|
64
|
+
return DomainModernLandingPageDesignDtoFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DomainModernLandingPageDesignDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainModernLandingPageDesignDto {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'design': json['design'],
|
|
74
|
+
'settings': LandingPageModernDesignSettingsDtoFromJSON(json['settings']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function DomainModernLandingPageDesignDtoToJSON(json: any): DomainModernLandingPageDesignDto {
|
|
79
|
+
return DomainModernLandingPageDesignDtoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function DomainModernLandingPageDesignDtoToJSONTyped(value?: DomainModernLandingPageDesignDto | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'design': value['design'],
|
|
90
|
+
'settings': LandingPageModernDesignSettingsDtoToJSON(value['settings']),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { LandingPageOriginalDesignSettingsDto } from './LandingPageOriginalDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageOriginalDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageOriginalDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageOriginalDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageOriginalDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageOriginalDesignSettingsDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainOriginalLandingPageDesignDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainOriginalLandingPageDesignDto {
|
|
30
|
+
/**
|
|
31
|
+
* Active landing page design.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainOriginalLandingPageDesignDto
|
|
34
|
+
*/
|
|
35
|
+
design: DomainOriginalLandingPageDesignDtoDesignEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Resolved settings for the original design.
|
|
38
|
+
* @type {LandingPageOriginalDesignSettingsDto}
|
|
39
|
+
* @memberof DomainOriginalLandingPageDesignDto
|
|
40
|
+
*/
|
|
41
|
+
settings: LandingPageOriginalDesignSettingsDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DomainOriginalLandingPageDesignDtoDesignEnum = {
|
|
49
|
+
ORIGINAL: 'original'
|
|
50
|
+
} as const;
|
|
51
|
+
export type DomainOriginalLandingPageDesignDtoDesignEnum = typeof DomainOriginalLandingPageDesignDtoDesignEnum[keyof typeof DomainOriginalLandingPageDesignDtoDesignEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the DomainOriginalLandingPageDesignDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfDomainOriginalLandingPageDesignDto(value: object): value is DomainOriginalLandingPageDesignDto {
|
|
58
|
+
if (!('design' in value) || value['design'] === undefined) return false;
|
|
59
|
+
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainOriginalLandingPageDesignDtoFromJSON(json: any): DomainOriginalLandingPageDesignDto {
|
|
64
|
+
return DomainOriginalLandingPageDesignDtoFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DomainOriginalLandingPageDesignDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainOriginalLandingPageDesignDto {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'design': json['design'],
|
|
74
|
+
'settings': LandingPageOriginalDesignSettingsDtoFromJSON(json['settings']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function DomainOriginalLandingPageDesignDtoToJSON(json: any): DomainOriginalLandingPageDesignDto {
|
|
79
|
+
return DomainOriginalLandingPageDesignDtoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function DomainOriginalLandingPageDesignDtoToJSONTyped(value?: DomainOriginalLandingPageDesignDto | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'design': value['design'],
|
|
90
|
+
'settings': LandingPageOriginalDesignSettingsDtoToJSON(value['settings']),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|