@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
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LandingPageDesignSettingsDto } from './LandingPageDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageDesignSettingsDto';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -25,48 +33,6 @@ export interface LandingPageSettingsDto {
|
|
|
25
33
|
* @memberof LandingPageSettingsDto
|
|
26
34
|
*/
|
|
27
35
|
anonymous: boolean | null;
|
|
28
|
-
/**
|
|
29
|
-
* Whether related domains are shown on the landing page.
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof LandingPageSettingsDto
|
|
32
|
-
*/
|
|
33
|
-
showRelatedDomains: boolean | null;
|
|
34
|
-
/**
|
|
35
|
-
* Whether SEO metrics are displayed on the landing page.
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof LandingPageSettingsDto
|
|
38
|
-
*/
|
|
39
|
-
seoMetrics: boolean | null;
|
|
40
|
-
/**
|
|
41
|
-
* Whether visitor statistics are displayed on the landing page.
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
* @memberof LandingPageSettingsDto
|
|
44
|
-
*/
|
|
45
|
-
visitorStats: boolean | null;
|
|
46
|
-
/**
|
|
47
|
-
* Minimum Moz domain authority required to display SEO metrics.
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof LandingPageSettingsDto
|
|
50
|
-
*/
|
|
51
|
-
minDomainAuthority: number | null;
|
|
52
|
-
/**
|
|
53
|
-
* Whether the seller last-online indicator is shown.
|
|
54
|
-
* @type {boolean}
|
|
55
|
-
* @memberof LandingPageSettingsDto
|
|
56
|
-
*/
|
|
57
|
-
showLastOnline: boolean | null;
|
|
58
|
-
/**
|
|
59
|
-
* Whether the estimated delivery time is shown.
|
|
60
|
-
* @type {boolean}
|
|
61
|
-
* @memberof LandingPageSettingsDto
|
|
62
|
-
*/
|
|
63
|
-
showDeliversIn: boolean | null;
|
|
64
|
-
/**
|
|
65
|
-
* Whether the Trustpilot widget is shown.
|
|
66
|
-
* @type {boolean}
|
|
67
|
-
* @memberof LandingPageSettingsDto
|
|
68
|
-
*/
|
|
69
|
-
showTrustpilot: boolean | null;
|
|
70
36
|
/**
|
|
71
37
|
* Whether DNSSEC status is displayed on the landing page.
|
|
72
38
|
* @type {boolean}
|
|
@@ -86,17 +52,17 @@ export interface LandingPageSettingsDto {
|
|
|
86
52
|
*/
|
|
87
53
|
requestLeadBuyerPhoneNumber: LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum | null;
|
|
88
54
|
/**
|
|
89
|
-
*
|
|
55
|
+
* Landing page UI design variant.
|
|
90
56
|
* @type {string}
|
|
91
57
|
* @memberof LandingPageSettingsDto
|
|
92
58
|
*/
|
|
93
|
-
|
|
59
|
+
design: LandingPageSettingsDtoDesignEnum | null;
|
|
94
60
|
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {
|
|
61
|
+
* Settings grouped by landing page design.
|
|
62
|
+
* @type {LandingPageDesignSettingsDto}
|
|
97
63
|
* @memberof LandingPageSettingsDto
|
|
98
64
|
*/
|
|
99
|
-
|
|
65
|
+
designSettings: LandingPageDesignSettingsDto;
|
|
100
66
|
}
|
|
101
67
|
|
|
102
68
|
|
|
@@ -126,18 +92,11 @@ export type LandingPageSettingsDtoDesignEnum = typeof LandingPageSettingsDtoDesi
|
|
|
126
92
|
*/
|
|
127
93
|
export function instanceOfLandingPageSettingsDto(value: object): value is LandingPageSettingsDto {
|
|
128
94
|
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
129
|
-
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
130
|
-
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
131
|
-
if (!('visitorStats' in value) || value['visitorStats'] === undefined) return false;
|
|
132
|
-
if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined) return false;
|
|
133
|
-
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
|
|
134
|
-
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
|
|
135
|
-
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined) return false;
|
|
136
95
|
if (!('dnssec' in value) || value['dnssec'] === undefined) return false;
|
|
137
96
|
if (!('requestLeadBuyerCompanyName' in value) || value['requestLeadBuyerCompanyName'] === undefined) return false;
|
|
138
97
|
if (!('requestLeadBuyerPhoneNumber' in value) || value['requestLeadBuyerPhoneNumber'] === undefined) return false;
|
|
139
|
-
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
140
98
|
if (!('design' in value) || value['design'] === undefined) return false;
|
|
99
|
+
if (!('designSettings' in value) || value['designSettings'] === undefined) return false;
|
|
141
100
|
return true;
|
|
142
101
|
}
|
|
143
102
|
|
|
@@ -152,18 +111,11 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
152
111
|
return {
|
|
153
112
|
|
|
154
113
|
'anonymous': json['anonymous'],
|
|
155
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
156
|
-
'seoMetrics': json['seoMetrics'],
|
|
157
|
-
'visitorStats': json['visitorStats'],
|
|
158
|
-
'minDomainAuthority': json['minDomainAuthority'],
|
|
159
|
-
'showLastOnline': json['showLastOnline'],
|
|
160
|
-
'showDeliversIn': json['showDeliversIn'],
|
|
161
|
-
'showTrustpilot': json['showTrustpilot'],
|
|
162
114
|
'dnssec': json['dnssec'],
|
|
163
115
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'],
|
|
164
116
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'],
|
|
165
|
-
'externalLink': json['externalLink'],
|
|
166
117
|
'design': json['design'],
|
|
118
|
+
'designSettings': LandingPageDesignSettingsDtoFromJSON(json['designSettings']),
|
|
167
119
|
};
|
|
168
120
|
}
|
|
169
121
|
|
|
@@ -179,18 +131,11 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
179
131
|
return {
|
|
180
132
|
|
|
181
133
|
'anonymous': value['anonymous'],
|
|
182
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
183
|
-
'seoMetrics': value['seoMetrics'],
|
|
184
|
-
'visitorStats': value['visitorStats'],
|
|
185
|
-
'minDomainAuthority': value['minDomainAuthority'],
|
|
186
|
-
'showLastOnline': value['showLastOnline'],
|
|
187
|
-
'showDeliversIn': value['showDeliversIn'],
|
|
188
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
189
134
|
'dnssec': value['dnssec'],
|
|
190
135
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
191
136
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
192
|
-
'externalLink': value['externalLink'],
|
|
193
137
|
'design': value['design'],
|
|
138
|
+
'designSettings': LandingPageDesignSettingsDtoToJSON(value['designSettings']),
|
|
194
139
|
};
|
|
195
140
|
}
|
|
196
141
|
|
|
@@ -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
|
-
*
|
|
143
|
+
* Paid invoice transaction when available, otherwise the latest transaction.
|
|
144
144
|
* @type {OrderListItemDtoTransaction}
|
|
145
145
|
* @memberof OrderListItemDto
|
|
146
146
|
*/
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { AdminVerificationDepositDto } from './AdminVerificationDepositDto';
|
|
17
|
-
import {
|
|
18
|
-
AdminVerificationDepositDtoFromJSON,
|
|
19
|
-
AdminVerificationDepositDtoFromJSONTyped,
|
|
20
|
-
AdminVerificationDepositDtoToJSON,
|
|
21
|
-
AdminVerificationDepositDtoToJSONTyped,
|
|
22
|
-
} from './AdminVerificationDepositDto';
|
|
23
|
-
|
|
24
16
|
/**
|
|
25
17
|
*
|
|
26
18
|
* @export
|
|
@@ -33,6 +25,12 @@ export interface OrderListItemDtoTransaction {
|
|
|
33
25
|
* @memberof OrderListItemDtoTransaction
|
|
34
26
|
*/
|
|
35
27
|
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Invoice transaction status.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof OrderListItemDtoTransaction
|
|
32
|
+
*/
|
|
33
|
+
status: OrderListItemDtoTransactionStatusEnum;
|
|
36
34
|
/**
|
|
37
35
|
* Payment gateway.
|
|
38
36
|
* @type {string}
|
|
@@ -40,20 +38,33 @@ export interface OrderListItemDtoTransaction {
|
|
|
40
38
|
*/
|
|
41
39
|
gateway: OrderListItemDtoTransactionGatewayEnum;
|
|
42
40
|
/**
|
|
43
|
-
*
|
|
41
|
+
* Selected payment method.
|
|
44
42
|
* @type {string}
|
|
45
43
|
* @memberof OrderListItemDtoTransaction
|
|
46
44
|
*/
|
|
47
|
-
|
|
45
|
+
paymentMethod: OrderListItemDtoTransactionPaymentMethodEnum;
|
|
48
46
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {
|
|
47
|
+
* Processed bank deposit ID linked to this transaction, if any.
|
|
48
|
+
* @type {string}
|
|
51
49
|
* @memberof OrderListItemDtoTransaction
|
|
52
50
|
*/
|
|
53
|
-
|
|
51
|
+
depositId: string | null;
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export const OrderListItemDtoTransactionStatusEnum = {
|
|
59
|
+
OPEN: 'open',
|
|
60
|
+
PAID: 'paid',
|
|
61
|
+
PENDING: 'pending',
|
|
62
|
+
ERROR: 'error',
|
|
63
|
+
CANCELLED: 'cancelled',
|
|
64
|
+
REFUNDED: 'refunded'
|
|
65
|
+
} as const;
|
|
66
|
+
export type OrderListItemDtoTransactionStatusEnum = typeof OrderListItemDtoTransactionStatusEnum[keyof typeof OrderListItemDtoTransactionStatusEnum];
|
|
67
|
+
|
|
57
68
|
/**
|
|
58
69
|
* @export
|
|
59
70
|
*/
|
|
@@ -65,15 +76,89 @@ export const OrderListItemDtoTransactionGatewayEnum = {
|
|
|
65
76
|
} as const;
|
|
66
77
|
export type OrderListItemDtoTransactionGatewayEnum = typeof OrderListItemDtoTransactionGatewayEnum[keyof typeof OrderListItemDtoTransactionGatewayEnum];
|
|
67
78
|
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const OrderListItemDtoTransactionPaymentMethodEnum = {
|
|
83
|
+
ACSS_DEBIT: 'acss_debit',
|
|
84
|
+
AFFIRM: 'affirm',
|
|
85
|
+
AFTERPAY_CLEARPAY: 'afterpay_clearpay',
|
|
86
|
+
ALIPAY: 'alipay',
|
|
87
|
+
ALMA: 'alma',
|
|
88
|
+
AMAZON_PAY: 'amazon_pay',
|
|
89
|
+
APPLE_PAY: 'apple_pay',
|
|
90
|
+
AU_BECS_DEBIT: 'au_becs_debit',
|
|
91
|
+
BACS_DEBIT: 'bacs_debit',
|
|
92
|
+
BANCOMAT_PAY: 'bancomat_pay',
|
|
93
|
+
BANCONTACT: 'bancontact',
|
|
94
|
+
BELFIUS: 'belfius',
|
|
95
|
+
BILLIE: 'billie',
|
|
96
|
+
BLIK: 'blik',
|
|
97
|
+
BOLETO: 'boleto',
|
|
98
|
+
BANK_TRANSFER: 'bank_transfer',
|
|
99
|
+
CARD: 'card',
|
|
100
|
+
CARD_PRESENT: 'card_present',
|
|
101
|
+
CASHAPP: 'cashapp',
|
|
102
|
+
CUSTOMER_BALANCE: 'customer_balance',
|
|
103
|
+
EPS: 'eps',
|
|
104
|
+
FPX: 'fpx',
|
|
105
|
+
GIFTCARD: 'giftcard',
|
|
106
|
+
GIROPAY: 'giropay',
|
|
107
|
+
GOOGLE_PAY: 'google_pay',
|
|
108
|
+
GOPAY: 'gopay',
|
|
109
|
+
GRABPAY: 'grabpay',
|
|
110
|
+
ID_BANK_TRANSFER: 'id_bank_transfer',
|
|
111
|
+
IDEAL: 'ideal',
|
|
112
|
+
IN3: 'in3',
|
|
113
|
+
INTERAC_PRESENT: 'interac_present',
|
|
114
|
+
KAKAO_PAY: 'kakao_pay',
|
|
115
|
+
KBC: 'kbc',
|
|
116
|
+
KLARNA: 'klarna',
|
|
117
|
+
KONBINI: 'konbini',
|
|
118
|
+
KR_CARD: 'kr_card',
|
|
119
|
+
LINK: 'link',
|
|
120
|
+
MB_WAY: 'mb_way',
|
|
121
|
+
MOBILEPAY: 'mobilepay',
|
|
122
|
+
MULTIBANCO: 'multibanco',
|
|
123
|
+
NAVER_PAY: 'naver_pay',
|
|
124
|
+
NZ_BANK_ACCOUNT: 'nz_bank_account',
|
|
125
|
+
OXXO: 'oxxo',
|
|
126
|
+
PAY_BY_BANK: 'pay_by_bank',
|
|
127
|
+
PAYCO: 'payco',
|
|
128
|
+
PAYNOW: 'paynow',
|
|
129
|
+
PAYPAL: 'paypal',
|
|
130
|
+
PAYTO: 'payto',
|
|
131
|
+
PIX: 'pix',
|
|
132
|
+
PROMPTPAY: 'promptpay',
|
|
133
|
+
PRZELEWY24: 'przelewy24',
|
|
134
|
+
QRIS: 'qris',
|
|
135
|
+
RECHNUNG: 'rechnung',
|
|
136
|
+
REVOLUT_PAY: 'revolut_pay',
|
|
137
|
+
SAMSUNG_PAY: 'samsung_pay',
|
|
138
|
+
SATISPAY: 'satispay',
|
|
139
|
+
SEPA_DEBIT: 'sepa_debit',
|
|
140
|
+
SHOPEEPAY: 'shopeepay',
|
|
141
|
+
SOFORT: 'sofort',
|
|
142
|
+
STRIPE_BALANCE: 'stripe_balance',
|
|
143
|
+
SWISH: 'swish',
|
|
144
|
+
TWINT: 'twint',
|
|
145
|
+
US_BANK_ACCOUNT: 'us_bank_account',
|
|
146
|
+
VOUCHER: 'voucher',
|
|
147
|
+
WECHAT_PAY: 'wechat_pay',
|
|
148
|
+
ZIP: 'zip'
|
|
149
|
+
} as const;
|
|
150
|
+
export type OrderListItemDtoTransactionPaymentMethodEnum = typeof OrderListItemDtoTransactionPaymentMethodEnum[keyof typeof OrderListItemDtoTransactionPaymentMethodEnum];
|
|
151
|
+
|
|
68
152
|
|
|
69
153
|
/**
|
|
70
154
|
* Check if a given object implements the OrderListItemDtoTransaction interface.
|
|
71
155
|
*/
|
|
72
156
|
export function instanceOfOrderListItemDtoTransaction(value: object): value is OrderListItemDtoTransaction {
|
|
73
157
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
158
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
74
159
|
if (!('gateway' in value) || value['gateway'] === undefined) return false;
|
|
75
|
-
if (!('
|
|
76
|
-
if (!('
|
|
160
|
+
if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
|
|
161
|
+
if (!('depositId' in value) || value['depositId'] === undefined) return false;
|
|
77
162
|
return true;
|
|
78
163
|
}
|
|
79
164
|
|
|
@@ -88,9 +173,10 @@ export function OrderListItemDtoTransactionFromJSONTyped(json: any, ignoreDiscri
|
|
|
88
173
|
return {
|
|
89
174
|
|
|
90
175
|
'id': json['id'],
|
|
176
|
+
'status': json['status'],
|
|
91
177
|
'gateway': json['gateway'],
|
|
92
|
-
'
|
|
93
|
-
'
|
|
178
|
+
'paymentMethod': json['paymentMethod'],
|
|
179
|
+
'depositId': json['depositId'],
|
|
94
180
|
};
|
|
95
181
|
}
|
|
96
182
|
|
|
@@ -106,9 +192,10 @@ export function OrderListItemDtoTransactionToJSONTyped(value?: OrderListItemDtoT
|
|
|
106
192
|
return {
|
|
107
193
|
|
|
108
194
|
'id': value['id'],
|
|
195
|
+
'status': value['status'],
|
|
109
196
|
'gateway': value['gateway'],
|
|
110
|
-
'
|
|
111
|
-
'
|
|
197
|
+
'paymentMethod': value['paymentMethod'],
|
|
198
|
+
'depositId': value['depositId'],
|
|
112
199
|
};
|
|
113
200
|
}
|
|
114
201
|
|
|
@@ -115,30 +115,6 @@ export interface WithSettingsInner {
|
|
|
115
115
|
* @memberof WithSettingsInner
|
|
116
116
|
*/
|
|
117
117
|
anonymous: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* Whether related domains are shown on domain pages.
|
|
120
|
-
* @type {boolean}
|
|
121
|
-
* @memberof WithSettingsInner
|
|
122
|
-
*/
|
|
123
|
-
showRelatedDomains: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Whether last-online status is shown publicly.
|
|
126
|
-
* @type {boolean}
|
|
127
|
-
* @memberof WithSettingsInner
|
|
128
|
-
*/
|
|
129
|
-
showLastOnline: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Whether delivery time is shown on domain pages.
|
|
132
|
-
* @type {boolean}
|
|
133
|
-
* @memberof WithSettingsInner
|
|
134
|
-
*/
|
|
135
|
-
showDeliversIn: boolean;
|
|
136
|
-
/**
|
|
137
|
-
* Whether Trustpilot widget is shown on domain pages.
|
|
138
|
-
* @type {boolean}
|
|
139
|
-
* @memberof WithSettingsInner
|
|
140
|
-
*/
|
|
141
|
-
showTrustpilot: boolean;
|
|
142
118
|
/**
|
|
143
119
|
* Whether DNSSEC is enabled for domains.
|
|
144
120
|
* @type {boolean}
|
|
@@ -250,10 +226,6 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
|
|
|
250
226
|
if (!('defaultCurrencyCode' in value) || value['defaultCurrencyCode'] === undefined) return false;
|
|
251
227
|
if (!('defaultStartingOffer' in value) || value['defaultStartingOffer'] === undefined) return false;
|
|
252
228
|
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
253
|
-
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
254
|
-
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
|
|
255
|
-
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
|
|
256
|
-
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined) return false;
|
|
257
229
|
if (!('dnssec' in value) || value['dnssec'] === undefined) return false;
|
|
258
230
|
if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined) return false;
|
|
259
231
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
@@ -287,10 +259,6 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
287
259
|
'defaultCurrencyCode': json['defaultCurrencyCode'],
|
|
288
260
|
'defaultStartingOffer': MoneyDtoFromJSON(json['defaultStartingOffer']),
|
|
289
261
|
'anonymous': json['anonymous'],
|
|
290
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
291
|
-
'showLastOnline': json['showLastOnline'],
|
|
292
|
-
'showDeliversIn': json['showDeliversIn'],
|
|
293
|
-
'showTrustpilot': json['showTrustpilot'],
|
|
294
262
|
'dnssec': json['dnssec'],
|
|
295
263
|
'sidnIdcode': json['sidnIdcode'],
|
|
296
264
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
@@ -325,10 +293,6 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
325
293
|
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
326
294
|
'defaultStartingOffer': MoneyDtoToJSON(value['defaultStartingOffer']),
|
|
327
295
|
'anonymous': value['anonymous'],
|
|
328
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
329
|
-
'showLastOnline': value['showLastOnline'],
|
|
330
|
-
'showDeliversIn': value['showDeliversIn'],
|
|
331
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
332
296
|
'dnssec': value['dnssec'],
|
|
333
297
|
'sidnIdcode': value['sidnIdcode'],
|
|
334
298
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|