@randock/nameshift-api-client 0.0.452 → 0.0.454
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 +1 -1
- package/README.md +3 -3
- package/dist/models/CreateOrderInput.d.ts +12 -0
- package/dist/models/CreateOrderInput.js +4 -0
- package/dist/models/CreateSubscriptionInput.d.ts +12 -0
- package/dist/models/CreateSubscriptionInput.js +4 -0
- package/dist/models/{IntersectionDomainDtoWithSeoMetricsDto.d.ts → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts} +61 -43
- package/dist/models/{IntersectionDomainDtoWithSeoMetricsDto.js → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js} +30 -15
- package/dist/models/List200Response2.d.ts +3 -3
- package/dist/models/List200Response2.js +3 -3
- package/dist/models/OrderCompanyTaxIdDto.d.ts +7 -1
- package/dist/models/OrderCompanyTaxIdDto.js +1 -0
- package/dist/models/SubscriptionCompanyTaxIdDto.d.ts +7 -1
- package/dist/models/SubscriptionCompanyTaxIdDto.js +1 -0
- package/dist/models/UpdateOrderInput.d.ts +12 -0
- package/dist/models/UpdateOrderInput.js +4 -0
- package/dist/models/UpdateSubscriptionInput.d.ts +12 -0
- package/dist/models/UpdateSubscriptionInput.js +4 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/models/CreateOrderInput.ts +16 -0
- package/src/models/CreateSubscriptionInput.ts +16 -0
- package/src/models/{IntersectionDomainDtoWithSeoMetricsDto.ts → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts} +67 -45
- package/src/models/List200Response2.ts +10 -10
- package/src/models/OrderCompanyTaxIdDto.ts +8 -1
- package/src/models/SubscriptionCompanyTaxIdDto.ts +8 -1
- package/src/models/UpdateOrderInput.ts +16 -0
- package/src/models/UpdateSubscriptionInput.ts +16 -0
- package/src/models/index.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -295,7 +295,7 @@ src/models/HttpException.ts
|
|
|
295
295
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
296
296
|
src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts
|
|
297
297
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
298
|
-
src/models/
|
|
298
|
+
src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts
|
|
299
299
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts
|
|
300
300
|
src/models/IntersectionTaskListTaskDto.ts
|
|
301
301
|
src/models/IntersectionTaskListTaskDtoData.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.454
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.454 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
5b8bb0cacdf2e5c77d1ab6862de7d940e23828cfaaa2d961ae97b216e6a11166444598d7f51511251452ee730ca22924
|
|
@@ -94,6 +94,18 @@ export interface CreateOrderInput {
|
|
|
94
94
|
* @memberof CreateOrderInput
|
|
95
95
|
*/
|
|
96
96
|
forceUpdatePaymentMethods?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Controls VAT ID validation for business buyers. true: force validation even if business status and tax ID did not change. false: never validate VAT ID on this update. omit/undefined: validate only when business status or tax ID changed.
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof CreateOrderInput
|
|
101
|
+
*/
|
|
102
|
+
forceValidateVatId?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* When true, invalid VAT ID validation errors are treated as blocking (throws). When omitted/false, invalid VAT is stored as validated=false and the update continues.
|
|
105
|
+
* @type {boolean}
|
|
106
|
+
* @memberof CreateOrderInput
|
|
107
|
+
*/
|
|
108
|
+
payAction?: boolean;
|
|
97
109
|
/**
|
|
98
110
|
* Full domain name to purchase
|
|
99
111
|
* @type {string}
|
|
@@ -48,6 +48,8 @@ function CreateOrderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'companyInfo': json['companyInfo'] == null ? undefined : (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoFromJSON)(json['companyInfo']),
|
|
49
49
|
'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
|
|
50
50
|
'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
|
|
51
|
+
'forceValidateVatId': json['forceValidateVatId'] == null ? undefined : json['forceValidateVatId'],
|
|
52
|
+
'payAction': json['payAction'] == null ? undefined : json['payAction'],
|
|
51
53
|
'domainName': json['domainName'],
|
|
52
54
|
'leadId': json['leadId'] == null ? undefined : json['leadId'],
|
|
53
55
|
'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
|
|
@@ -75,6 +77,8 @@ function CreateOrderInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
77
|
'companyInfo': (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoToJSON)(value['companyInfo']),
|
|
76
78
|
'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
|
|
77
79
|
'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
|
|
80
|
+
'forceValidateVatId': value['forceValidateVatId'],
|
|
81
|
+
'payAction': value['payAction'],
|
|
78
82
|
'domainName': value['domainName'],
|
|
79
83
|
'leadId': value['leadId'],
|
|
80
84
|
'affiliateId': value['affiliateId'],
|
|
@@ -107,6 +107,18 @@ export interface CreateSubscriptionInput {
|
|
|
107
107
|
* @memberof CreateSubscriptionInput
|
|
108
108
|
*/
|
|
109
109
|
forceUpdatePaymentMethods?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Controls VAT ID validation for business buyers. true: force validation even if business status and tax ID did not change. false: never validate VAT ID on this update. omit/undefined: validate only when business status or tax ID changed.
|
|
112
|
+
* @type {boolean}
|
|
113
|
+
* @memberof CreateSubscriptionInput
|
|
114
|
+
*/
|
|
115
|
+
forceValidateVatId?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* When true, invalid VAT ID validation errors are treated as blocking (throws). When omitted/false, invalid VAT is stored as validated=false and the update continues.
|
|
118
|
+
* @type {boolean}
|
|
119
|
+
* @memberof CreateSubscriptionInput
|
|
120
|
+
*/
|
|
121
|
+
payAction?: boolean;
|
|
110
122
|
/**
|
|
111
123
|
* Full domain name for the subscription
|
|
112
124
|
* @type {string}
|
|
@@ -61,6 +61,8 @@ function CreateSubscriptionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'companyInfo': json['companyInfo'] == null ? undefined : (0, SubscriptionCompanyInfoDto_1.SubscriptionCompanyInfoDtoFromJSON)(json['companyInfo']),
|
|
62
62
|
'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
|
|
63
63
|
'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
|
|
64
|
+
'forceValidateVatId': json['forceValidateVatId'] == null ? undefined : json['forceValidateVatId'],
|
|
65
|
+
'payAction': json['payAction'] == null ? undefined : json['payAction'],
|
|
64
66
|
'domainName': json['domainName'],
|
|
65
67
|
'subscriptionType': json['subscriptionType'],
|
|
66
68
|
'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
|
|
@@ -90,6 +92,8 @@ function CreateSubscriptionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
90
92
|
'companyInfo': (0, SubscriptionCompanyInfoDto_1.SubscriptionCompanyInfoDtoToJSON)(value['companyInfo']),
|
|
91
93
|
'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
|
|
92
94
|
'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
|
|
95
|
+
'forceValidateVatId': value['forceValidateVatId'],
|
|
96
|
+
'payAction': value['payAction'],
|
|
93
97
|
'domainName': value['domainName'],
|
|
94
98
|
'subscriptionType': value['subscriptionType'],
|
|
95
99
|
'affiliateId': value['affiliateId'],
|
|
@@ -19,206 +19,224 @@ import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainL
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
* @export
|
|
22
|
-
* @interface
|
|
22
|
+
* @interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
25
25
|
/**
|
|
26
26
|
* Unique identifier of the domain.
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
29
29
|
*/
|
|
30
30
|
id: string;
|
|
31
31
|
/**
|
|
32
32
|
* Account ID of the domain owner.
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
35
35
|
*/
|
|
36
36
|
accountId: string;
|
|
37
37
|
/**
|
|
38
38
|
* Account ID of the hijacker managing the domain on behalf of the owner, if any.
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
43
|
/**
|
|
44
44
|
* Top-level domain suffix (e.g. com, nl).
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
47
47
|
*/
|
|
48
48
|
tld: string;
|
|
49
49
|
/**
|
|
50
50
|
* Whether the domain ownership is verified by the owner (via NS3 or TXT record).
|
|
51
51
|
* @type {boolean}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
53
53
|
*/
|
|
54
54
|
verified: boolean;
|
|
55
55
|
/**
|
|
56
56
|
* Whether the required nameservers (NS1, NS2) are configured.
|
|
57
57
|
* @type {boolean}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
59
59
|
*/
|
|
60
60
|
nameservers: boolean;
|
|
61
61
|
/**
|
|
62
62
|
* Timestamp of the last nameserver verification check.
|
|
63
63
|
* @type {Date}
|
|
64
|
-
* @memberof
|
|
64
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
65
65
|
*/
|
|
66
66
|
nameserversUpdatedAt: Date | null;
|
|
67
67
|
/**
|
|
68
68
|
* Whether the domain currently points to the platform server.
|
|
69
69
|
* @type {boolean}
|
|
70
|
-
* @memberof
|
|
70
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
71
71
|
*/
|
|
72
72
|
pointsToOurServer: boolean | null;
|
|
73
73
|
/**
|
|
74
74
|
* Timestamp of the last check whether the domain points to the platform server.
|
|
75
75
|
* @type {Date}
|
|
76
|
-
* @memberof
|
|
76
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
77
77
|
*/
|
|
78
78
|
pointsToOurServerUpdatedAt: Date | null;
|
|
79
79
|
/**
|
|
80
80
|
* ASCII punycode domain name (e.g. example.com, xn--maana-pta.com).
|
|
81
81
|
* @type {string}
|
|
82
|
-
* @memberof
|
|
82
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
83
83
|
*/
|
|
84
84
|
name: string;
|
|
85
85
|
/**
|
|
86
86
|
* Unicode display domain name (e.g. example.com, mañana.com).
|
|
87
87
|
* @type {string}
|
|
88
|
-
* @memberof
|
|
88
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
89
89
|
*/
|
|
90
90
|
displayName: string;
|
|
91
91
|
/**
|
|
92
92
|
* ISO 4217 currency code used for domain pricing.
|
|
93
93
|
* @type {string}
|
|
94
|
-
* @memberof
|
|
94
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
95
95
|
*/
|
|
96
96
|
currencyCode: string;
|
|
97
97
|
/**
|
|
98
98
|
* Buy-it-now (BIN) price for immediate purchase.
|
|
99
99
|
* @type {MoneyDto}
|
|
100
|
-
* @memberof
|
|
100
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
101
101
|
*/
|
|
102
102
|
buyNow: MoneyDto;
|
|
103
103
|
/**
|
|
104
104
|
* Lease-to-own payment plan configuration.
|
|
105
105
|
* @type {LeaseToOwnConfigurationDto}
|
|
106
|
-
* @memberof
|
|
106
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
107
107
|
*/
|
|
108
108
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
109
109
|
/**
|
|
110
110
|
* Monthly rent subscription configuration.
|
|
111
111
|
* @type {RentConfigurationDto}
|
|
112
|
-
* @memberof
|
|
112
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
113
113
|
*/
|
|
114
114
|
rent: RentConfigurationDto;
|
|
115
115
|
/**
|
|
116
116
|
* Public landing page display and lead capture settings.
|
|
117
117
|
* @type {LandingPageSettingsDto}
|
|
118
|
-
* @memberof
|
|
118
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
119
119
|
*/
|
|
120
120
|
landingPageSettings: LandingPageSettingsDto;
|
|
121
121
|
/**
|
|
122
122
|
* Minimum offer amount buyers may submit.
|
|
123
123
|
* @type {MoneyDto}
|
|
124
|
-
* @memberof
|
|
124
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
125
125
|
*/
|
|
126
126
|
minOffer: MoneyDto;
|
|
127
127
|
/**
|
|
128
128
|
* Timestamp when the domain was created in the platform.
|
|
129
129
|
* @type {Date}
|
|
130
|
-
* @memberof
|
|
130
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
131
131
|
*/
|
|
132
132
|
createdAt: Date;
|
|
133
133
|
/**
|
|
134
134
|
* Timestamp when the domain was deleted, if applicable.
|
|
135
135
|
* @type {Date}
|
|
136
|
-
* @memberof
|
|
136
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
137
137
|
*/
|
|
138
138
|
deletedAt: Date | null;
|
|
139
139
|
/**
|
|
140
140
|
* Total pageviews tracked for this domain, or zero if none are tracked.
|
|
141
141
|
* @type {number}
|
|
142
|
-
* @memberof
|
|
142
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
143
143
|
*/
|
|
144
144
|
pageviews: number;
|
|
145
145
|
/**
|
|
146
146
|
* Whether third-party sales data sharing is enabled for this domain.
|
|
147
147
|
* @type {boolean}
|
|
148
|
-
* @memberof
|
|
148
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
149
149
|
*/
|
|
150
150
|
allowThirdPartySalesDataSharing: boolean | null;
|
|
151
151
|
/**
|
|
152
152
|
* Per-domain AI price negotiator agent configuration.
|
|
153
153
|
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
|
|
154
|
-
* @memberof
|
|
154
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
155
155
|
*/
|
|
156
156
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
157
157
|
/**
|
|
158
158
|
* Active or most recent auction details, when present.
|
|
159
159
|
* @type {DomainAuctionDto}
|
|
160
|
-
* @memberof
|
|
160
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
161
161
|
*/
|
|
162
162
|
auction: DomainAuctionDto | null;
|
|
163
163
|
/**
|
|
164
164
|
* Fee charged to the seller for running a paid auction.
|
|
165
165
|
* @type {MoneyDto}
|
|
166
|
-
* @memberof
|
|
166
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
167
167
|
*/
|
|
168
168
|
paidAuctionPrice: MoneyDto;
|
|
169
169
|
/**
|
|
170
170
|
* Whether the domain currently has an accepted lead.
|
|
171
171
|
* @type {boolean}
|
|
172
|
-
* @memberof
|
|
172
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
173
173
|
*/
|
|
174
174
|
hasAcceptedLead: boolean;
|
|
175
175
|
/**
|
|
176
176
|
* Whether a new auction can be created for this domain.
|
|
177
177
|
* @type {boolean}
|
|
178
|
-
* @memberof
|
|
178
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
179
179
|
*/
|
|
180
180
|
canCreateAuction: boolean;
|
|
181
181
|
/**
|
|
182
182
|
* Whether the domain can be deleted by the seller.
|
|
183
183
|
* @type {boolean}
|
|
184
|
-
* @memberof
|
|
184
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
185
185
|
*/
|
|
186
186
|
isDeleteable: boolean;
|
|
187
187
|
/**
|
|
188
188
|
* Whether the domain is currently locked from other sales.
|
|
189
189
|
* @type {boolean}
|
|
190
|
-
* @memberof
|
|
190
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
191
191
|
*/
|
|
192
192
|
isLocked: boolean;
|
|
193
193
|
/**
|
|
194
194
|
* End date of the current continuous lock period, or null if not locked.
|
|
195
195
|
* @type {Date}
|
|
196
|
-
* @memberof
|
|
196
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
197
197
|
*/
|
|
198
198
|
lockedUntil: Date | null;
|
|
199
199
|
/**
|
|
200
200
|
* Whether an admin picked this domain for the public showcase on the website.
|
|
201
201
|
* @type {boolean}
|
|
202
|
-
* @memberof
|
|
202
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
203
203
|
*/
|
|
204
204
|
showcased: boolean;
|
|
205
205
|
/**
|
|
206
206
|
* Marketplace this domain resolves to on our nameservers, overriding the account default. Null means the account default applies; "nameshift" means the domain opts out of it and stays on our own landing page.
|
|
207
207
|
* @type {string}
|
|
208
|
-
* @memberof
|
|
208
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
209
209
|
*/
|
|
210
|
-
marketplace:
|
|
210
|
+
marketplace: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum | null;
|
|
211
211
|
/**
|
|
212
212
|
* SEO metrics for the domain from Moz, Majestic, and historical sources.
|
|
213
213
|
* @type {SeoMetricsDto}
|
|
214
|
-
* @memberof
|
|
214
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
215
215
|
*/
|
|
216
216
|
seoMetrics: SeoMetricsDto | null;
|
|
217
|
+
/**
|
|
218
|
+
* Marketplace this domain resolves to with the account default already applied, so a consumer never has to combine the two. Null means we serve the domain ourselves, whether it inherited that or opted out of a default with "nameshift".
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
221
|
+
*/
|
|
222
|
+
routedTo: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum | null;
|
|
217
223
|
}
|
|
218
224
|
/**
|
|
219
225
|
* @export
|
|
220
226
|
*/
|
|
221
|
-
export declare const
|
|
227
|
+
export declare const IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum: {
|
|
228
|
+
readonly NAMESHIFT: "nameshift";
|
|
229
|
+
readonly SEDO: "sedo";
|
|
230
|
+
readonly AFTERNIC: "afternic";
|
|
231
|
+
readonly ATOM: "atom";
|
|
232
|
+
readonly SPACESHIP: "spaceship";
|
|
233
|
+
readonly NAMECLUB: "nameclub";
|
|
234
|
+
};
|
|
235
|
+
export type IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum];
|
|
236
|
+
/**
|
|
237
|
+
* @export
|
|
238
|
+
*/
|
|
239
|
+
export declare const IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum: {
|
|
222
240
|
readonly NAMESHIFT: "nameshift";
|
|
223
241
|
readonly SEDO: "sedo";
|
|
224
242
|
readonly AFTERNIC: "afternic";
|
|
@@ -226,12 +244,12 @@ export declare const IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum: {
|
|
|
226
244
|
readonly SPACESHIP: "spaceship";
|
|
227
245
|
readonly NAMECLUB: "nameclub";
|
|
228
246
|
};
|
|
229
|
-
export type
|
|
247
|
+
export type IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum];
|
|
230
248
|
/**
|
|
231
|
-
* Check if a given object implements the
|
|
249
|
+
* Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto interface.
|
|
232
250
|
*/
|
|
233
|
-
export declare function
|
|
234
|
-
export declare function
|
|
235
|
-
export declare function
|
|
236
|
-
export declare function
|
|
237
|
-
export declare function
|
|
251
|
+
export declare function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(value: object): value is IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto;
|
|
252
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON(json: any): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto;
|
|
253
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto;
|
|
254
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON(json: any): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto;
|
|
255
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(value?: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum = exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum = void 0;
|
|
17
|
+
exports.instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto = instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto;
|
|
18
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON;
|
|
19
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped;
|
|
20
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON;
|
|
21
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped;
|
|
22
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
23
|
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
24
24
|
var DomainAuctionDto_1 = require("./DomainAuctionDto");
|
|
@@ -29,7 +29,7 @@ var DomainLeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./DomainLeadPr
|
|
|
29
29
|
/**
|
|
30
30
|
* @export
|
|
31
31
|
*/
|
|
32
|
-
exports.
|
|
32
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum = {
|
|
33
33
|
NAMESHIFT: 'nameshift',
|
|
34
34
|
SEDO: 'sedo',
|
|
35
35
|
AFTERNIC: 'afternic',
|
|
@@ -38,9 +38,20 @@ exports.IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = {
|
|
|
38
38
|
NAMECLUB: 'nameclub'
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* @export
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum = {
|
|
44
|
+
NAMESHIFT: 'nameshift',
|
|
45
|
+
SEDO: 'sedo',
|
|
46
|
+
AFTERNIC: 'afternic',
|
|
47
|
+
ATOM: 'atom',
|
|
48
|
+
SPACESHIP: 'spaceship',
|
|
49
|
+
NAMECLUB: 'nameclub'
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto interface.
|
|
53
|
+
*/
|
|
54
|
+
function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(value) {
|
|
44
55
|
if (!('id' in value) || value['id'] === undefined)
|
|
45
56
|
return false;
|
|
46
57
|
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
@@ -105,12 +116,14 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
|
|
|
105
116
|
return false;
|
|
106
117
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
107
118
|
return false;
|
|
119
|
+
if (!('routedTo' in value) || value['routedTo'] === undefined)
|
|
120
|
+
return false;
|
|
108
121
|
return true;
|
|
109
122
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
123
|
+
function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON(json) {
|
|
124
|
+
return IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json, false);
|
|
112
125
|
}
|
|
113
|
-
function
|
|
126
|
+
function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
114
127
|
if (json == null) {
|
|
115
128
|
return json;
|
|
116
129
|
}
|
|
@@ -147,12 +160,13 @@ function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscrim
|
|
|
147
160
|
'showcased': json['showcased'],
|
|
148
161
|
'marketplace': json['marketplace'],
|
|
149
162
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seoMetrics']),
|
|
163
|
+
'routedTo': json['routedTo'],
|
|
150
164
|
};
|
|
151
165
|
}
|
|
152
|
-
function
|
|
153
|
-
return
|
|
166
|
+
function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON(json) {
|
|
167
|
+
return IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(json, false);
|
|
154
168
|
}
|
|
155
|
-
function
|
|
169
|
+
function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
156
170
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
157
171
|
if (value == null) {
|
|
158
172
|
return value;
|
|
@@ -190,5 +204,6 @@ function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscrimi
|
|
|
190
204
|
'showcased': value['showcased'],
|
|
191
205
|
'marketplace': value['marketplace'],
|
|
192
206
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seoMetrics']),
|
|
207
|
+
'routedTo': value['routedTo'],
|
|
193
208
|
};
|
|
194
209
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
-
import type {
|
|
13
|
+
import type { IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto } from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
|
|
14
14
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
|
20
20
|
export interface List200Response2 {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {Array<
|
|
23
|
+
* @type {Array<IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto>}
|
|
24
24
|
* @memberof List200Response2
|
|
25
25
|
*/
|
|
26
|
-
data: Array<
|
|
26
|
+
data: Array<IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {PaginateResponseMeta}
|
|
@@ -19,7 +19,7 @@ exports.List200Response2FromJSONTyped = List200Response2FromJSONTyped;
|
|
|
19
19
|
exports.List200Response2ToJSON = List200Response2ToJSON;
|
|
20
20
|
exports.List200Response2ToJSONTyped = List200Response2ToJSONTyped;
|
|
21
21
|
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
-
var
|
|
22
|
+
var IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto_1 = require("./IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto");
|
|
23
23
|
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the List200Response2 interface.
|
|
@@ -41,7 +41,7 @@ function List200Response2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'data': (json['data'].map(
|
|
44
|
+
'data': (json['data'].map(IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto_1.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON)),
|
|
45
45
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
46
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
47
|
};
|
|
@@ -55,7 +55,7 @@ function List200Response2ToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
|
-
'data': (value['data'].map(
|
|
58
|
+
'data': (value['data'].map(IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto_1.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON)),
|
|
59
59
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
60
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
61
|
};
|
|
@@ -33,6 +33,12 @@ export interface OrderCompanyTaxIdDto {
|
|
|
33
33
|
* @memberof OrderCompanyTaxIdDto
|
|
34
34
|
*/
|
|
35
35
|
countryCode: string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the tax ID passed validation.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof OrderCompanyTaxIdDto
|
|
40
|
+
*/
|
|
41
|
+
readonly isValid?: boolean | null;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the OrderCompanyTaxIdDto interface.
|
|
@@ -41,4 +47,4 @@ export declare function instanceOfOrderCompanyTaxIdDto(value: object): value is
|
|
|
41
47
|
export declare function OrderCompanyTaxIdDtoFromJSON(json: any): OrderCompanyTaxIdDto;
|
|
42
48
|
export declare function OrderCompanyTaxIdDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderCompanyTaxIdDto;
|
|
43
49
|
export declare function OrderCompanyTaxIdDtoToJSON(json: any): OrderCompanyTaxIdDto;
|
|
44
|
-
export declare function OrderCompanyTaxIdDtoToJSONTyped(value?: OrderCompanyTaxIdDto | null, ignoreDiscriminator?: boolean): any;
|
|
50
|
+
export declare function OrderCompanyTaxIdDtoToJSONTyped(value?: Omit<OrderCompanyTaxIdDto, 'isValid'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -41,6 +41,7 @@ function OrderCompanyTaxIdDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'value': json['value'],
|
|
42
42
|
'type': json['type'],
|
|
43
43
|
'countryCode': json['countryCode'],
|
|
44
|
+
'isValid': json['isValid'] == null ? undefined : json['isValid'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
function OrderCompanyTaxIdDtoToJSON(json) {
|
|
@@ -33,6 +33,12 @@ export interface SubscriptionCompanyTaxIdDto {
|
|
|
33
33
|
* @memberof SubscriptionCompanyTaxIdDto
|
|
34
34
|
*/
|
|
35
35
|
countryCode: string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the tax ID passed validation.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SubscriptionCompanyTaxIdDto
|
|
40
|
+
*/
|
|
41
|
+
readonly isValid?: boolean | null;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the SubscriptionCompanyTaxIdDto interface.
|
|
@@ -41,4 +47,4 @@ export declare function instanceOfSubscriptionCompanyTaxIdDto(value: object): va
|
|
|
41
47
|
export declare function SubscriptionCompanyTaxIdDtoFromJSON(json: any): SubscriptionCompanyTaxIdDto;
|
|
42
48
|
export declare function SubscriptionCompanyTaxIdDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionCompanyTaxIdDto;
|
|
43
49
|
export declare function SubscriptionCompanyTaxIdDtoToJSON(json: any): SubscriptionCompanyTaxIdDto;
|
|
44
|
-
export declare function SubscriptionCompanyTaxIdDtoToJSONTyped(value?: SubscriptionCompanyTaxIdDto | null, ignoreDiscriminator?: boolean): any;
|
|
50
|
+
export declare function SubscriptionCompanyTaxIdDtoToJSONTyped(value?: Omit<SubscriptionCompanyTaxIdDto, 'isValid'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -41,6 +41,7 @@ function SubscriptionCompanyTaxIdDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'value': json['value'],
|
|
42
42
|
'type': json['type'],
|
|
43
43
|
'countryCode': json['countryCode'],
|
|
44
|
+
'isValid': json['isValid'] == null ? undefined : json['isValid'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
function SubscriptionCompanyTaxIdDtoToJSON(json) {
|
|
@@ -94,6 +94,18 @@ export interface UpdateOrderInput {
|
|
|
94
94
|
* @memberof UpdateOrderInput
|
|
95
95
|
*/
|
|
96
96
|
forceUpdatePaymentMethods?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Controls VAT ID validation for business buyers. true: force validation even if business status and tax ID did not change. false: never validate VAT ID on this update. omit/undefined: validate only when business status or tax ID changed.
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof UpdateOrderInput
|
|
101
|
+
*/
|
|
102
|
+
forceValidateVatId?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* When true, invalid VAT ID validation errors are treated as blocking (throws). When omitted/false, invalid VAT is stored as validated=false and the update continues.
|
|
105
|
+
* @type {boolean}
|
|
106
|
+
* @memberof UpdateOrderInput
|
|
107
|
+
*/
|
|
108
|
+
payAction?: boolean;
|
|
97
109
|
}
|
|
98
110
|
/**
|
|
99
111
|
* Check if a given object implements the UpdateOrderInput interface.
|
|
@@ -46,6 +46,8 @@ function UpdateOrderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'companyInfo': json['companyInfo'] == null ? undefined : (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoFromJSON)(json['companyInfo']),
|
|
47
47
|
'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
|
|
48
48
|
'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
|
|
49
|
+
'forceValidateVatId': json['forceValidateVatId'] == null ? undefined : json['forceValidateVatId'],
|
|
50
|
+
'payAction': json['payAction'] == null ? undefined : json['payAction'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
function UpdateOrderInputToJSON(json) {
|
|
@@ -70,5 +72,7 @@ function UpdateOrderInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
70
72
|
'companyInfo': (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoToJSON)(value['companyInfo']),
|
|
71
73
|
'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
|
|
72
74
|
'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
|
|
75
|
+
'forceValidateVatId': value['forceValidateVatId'],
|
|
76
|
+
'payAction': value['payAction'],
|
|
73
77
|
};
|
|
74
78
|
}
|