@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.
Files changed (30) hide show
  1. package/.openapi-generator/FILES +1 -1
  2. package/README.md +3 -3
  3. package/dist/models/CreateOrderInput.d.ts +12 -0
  4. package/dist/models/CreateOrderInput.js +4 -0
  5. package/dist/models/CreateSubscriptionInput.d.ts +12 -0
  6. package/dist/models/CreateSubscriptionInput.js +4 -0
  7. package/dist/models/{IntersectionDomainDtoWithSeoMetricsDto.d.ts → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts} +61 -43
  8. package/dist/models/{IntersectionDomainDtoWithSeoMetricsDto.js → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js} +30 -15
  9. package/dist/models/List200Response2.d.ts +3 -3
  10. package/dist/models/List200Response2.js +3 -3
  11. package/dist/models/OrderCompanyTaxIdDto.d.ts +7 -1
  12. package/dist/models/OrderCompanyTaxIdDto.js +1 -0
  13. package/dist/models/SubscriptionCompanyTaxIdDto.d.ts +7 -1
  14. package/dist/models/SubscriptionCompanyTaxIdDto.js +1 -0
  15. package/dist/models/UpdateOrderInput.d.ts +12 -0
  16. package/dist/models/UpdateOrderInput.js +4 -0
  17. package/dist/models/UpdateSubscriptionInput.d.ts +12 -0
  18. package/dist/models/UpdateSubscriptionInput.js +4 -0
  19. package/dist/models/index.d.ts +1 -1
  20. package/dist/models/index.js +1 -1
  21. package/package.json +1 -1
  22. package/src/models/CreateOrderInput.ts +16 -0
  23. package/src/models/CreateSubscriptionInput.ts +16 -0
  24. package/src/models/{IntersectionDomainDtoWithSeoMetricsDto.ts → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts} +67 -45
  25. package/src/models/List200Response2.ts +10 -10
  26. package/src/models/OrderCompanyTaxIdDto.ts +8 -1
  27. package/src/models/SubscriptionCompanyTaxIdDto.ts +8 -1
  28. package/src/models/UpdateOrderInput.ts +16 -0
  29. package/src/models/UpdateSubscriptionInput.ts +16 -0
  30. package/src/models/index.ts +1 -1
@@ -107,6 +107,18 @@ export interface UpdateSubscriptionInput {
107
107
  * @memberof UpdateSubscriptionInput
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 UpdateSubscriptionInput
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 UpdateSubscriptionInput
120
+ */
121
+ payAction?: boolean;
110
122
  }
111
123
  /**
112
124
  * Check if a given object implements the UpdateSubscriptionInput interface.
@@ -49,6 +49,8 @@ function UpdateSubscriptionInputFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'companyInfo': json['companyInfo'] == null ? undefined : (0, SubscriptionCompanyInfoDto_1.SubscriptionCompanyInfoDtoFromJSON)(json['companyInfo']),
50
50
  'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
51
51
  'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
52
+ 'forceValidateVatId': json['forceValidateVatId'] == null ? undefined : json['forceValidateVatId'],
53
+ 'payAction': json['payAction'] == null ? undefined : json['payAction'],
52
54
  };
53
55
  }
54
56
  function UpdateSubscriptionInputToJSON(json) {
@@ -75,5 +77,7 @@ function UpdateSubscriptionInputToJSONTyped(value, ignoreDiscriminator) {
75
77
  'companyInfo': (0, SubscriptionCompanyInfoDto_1.SubscriptionCompanyInfoDtoToJSON)(value['companyInfo']),
76
78
  'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
77
79
  'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
80
+ 'forceValidateVatId': value['forceValidateVatId'],
81
+ 'payAction': value['payAction'],
78
82
  };
79
83
  }
@@ -256,7 +256,7 @@ export * from './HttpException';
256
256
  export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
257
257
  export * from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
258
258
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
259
- export * from './IntersectionDomainDtoWithSeoMetricsDto';
259
+ export * from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
260
260
  export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
261
261
  export * from './IntersectionTaskListTaskDto';
262
262
  export * from './IntersectionTaskListTaskDtoData';
@@ -274,7 +274,7 @@ __exportStar(require("./HttpException"), exports);
274
274
  __exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto"), exports);
275
275
  __exportStar(require("./IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto"), exports);
276
276
  __exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
277
- __exportStar(require("./IntersectionDomainDtoWithSeoMetricsDto"), exports);
277
+ __exportStar(require("./IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto"), exports);
278
278
  __exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto"), exports);
279
279
  __exportStar(require("./IntersectionTaskListTaskDto"), exports);
280
280
  __exportStar(require("./IntersectionTaskListTaskDtoData"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.452",
3
+ "version": "0.0.454",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -105,6 +105,18 @@ export interface CreateOrderInput {
105
105
  * @memberof CreateOrderInput
106
106
  */
107
107
  forceUpdatePaymentMethods?: boolean;
108
+ /**
109
+ * 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.
110
+ * @type {boolean}
111
+ * @memberof CreateOrderInput
112
+ */
113
+ forceValidateVatId?: boolean;
114
+ /**
115
+ * 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.
116
+ * @type {boolean}
117
+ * @memberof CreateOrderInput
118
+ */
119
+ payAction?: boolean;
108
120
  /**
109
121
  * Full domain name to purchase
110
122
  * @type {string}
@@ -156,6 +168,8 @@ export function CreateOrderInputFromJSONTyped(json: any, ignoreDiscriminator: bo
156
168
  'companyInfo': json['companyInfo'] == null ? undefined : OrderCompanyInfoDtoFromJSON(json['companyInfo']),
157
169
  'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
158
170
  'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
171
+ 'forceValidateVatId': json['forceValidateVatId'] == null ? undefined : json['forceValidateVatId'],
172
+ 'payAction': json['payAction'] == null ? undefined : json['payAction'],
159
173
  'domainName': json['domainName'],
160
174
  'leadId': json['leadId'] == null ? undefined : json['leadId'],
161
175
  'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
@@ -186,6 +200,8 @@ export function CreateOrderInputToJSONTyped(value?: CreateOrderInput | null, ign
186
200
  'companyInfo': OrderCompanyInfoDtoToJSON(value['companyInfo']),
187
201
  'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
188
202
  'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
203
+ 'forceValidateVatId': value['forceValidateVatId'],
204
+ 'payAction': value['payAction'],
189
205
  'domainName': value['domainName'],
190
206
  'leadId': value['leadId'],
191
207
  'affiliateId': value['affiliateId'],
@@ -124,6 +124,18 @@ export interface CreateSubscriptionInput {
124
124
  * @memberof CreateSubscriptionInput
125
125
  */
126
126
  forceUpdatePaymentMethods?: boolean;
127
+ /**
128
+ * 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.
129
+ * @type {boolean}
130
+ * @memberof CreateSubscriptionInput
131
+ */
132
+ forceValidateVatId?: boolean;
133
+ /**
134
+ * 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.
135
+ * @type {boolean}
136
+ * @memberof CreateSubscriptionInput
137
+ */
138
+ payAction?: boolean;
127
139
  /**
128
140
  * Full domain name for the subscription
129
141
  * @type {string}
@@ -189,6 +201,8 @@ export function CreateSubscriptionInputFromJSONTyped(json: any, ignoreDiscrimina
189
201
  'companyInfo': json['companyInfo'] == null ? undefined : SubscriptionCompanyInfoDtoFromJSON(json['companyInfo']),
190
202
  'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
191
203
  'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
204
+ 'forceValidateVatId': json['forceValidateVatId'] == null ? undefined : json['forceValidateVatId'],
205
+ 'payAction': json['payAction'] == null ? undefined : json['payAction'],
192
206
  'domainName': json['domainName'],
193
207
  'subscriptionType': json['subscriptionType'],
194
208
  'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
@@ -221,6 +235,8 @@ export function CreateSubscriptionInputToJSONTyped(value?: CreateSubscriptionInp
221
235
  'companyInfo': SubscriptionCompanyInfoDtoToJSON(value['companyInfo']),
222
236
  'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
223
237
  'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
238
+ 'forceValidateVatId': value['forceValidateVatId'],
239
+ 'payAction': value['payAction'],
224
240
  'domainName': value['domainName'],
225
241
  'subscriptionType': value['subscriptionType'],
226
242
  'affiliateId': value['affiliateId'],
@@ -66,208 +66,227 @@ import {
66
66
  /**
67
67
  *
68
68
  * @export
69
- * @interface IntersectionDomainDtoWithSeoMetricsDto
69
+ * @interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
70
70
  */
71
- export interface IntersectionDomainDtoWithSeoMetricsDto {
71
+ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
72
72
  /**
73
73
  * Unique identifier of the domain.
74
74
  * @type {string}
75
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
75
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
76
76
  */
77
77
  id: string;
78
78
  /**
79
79
  * Account ID of the domain owner.
80
80
  * @type {string}
81
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
81
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
82
82
  */
83
83
  accountId: string;
84
84
  /**
85
85
  * Account ID of the hijacker managing the domain on behalf of the owner, if any.
86
86
  * @type {string}
87
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
87
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
88
88
  */
89
89
  hijackerId: string | null;
90
90
  /**
91
91
  * Top-level domain suffix (e.g. com, nl).
92
92
  * @type {string}
93
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
93
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
94
94
  */
95
95
  tld: string;
96
96
  /**
97
97
  * Whether the domain ownership is verified by the owner (via NS3 or TXT record).
98
98
  * @type {boolean}
99
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
99
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
100
100
  */
101
101
  verified: boolean;
102
102
  /**
103
103
  * Whether the required nameservers (NS1, NS2) are configured.
104
104
  * @type {boolean}
105
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
105
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
106
106
  */
107
107
  nameservers: boolean;
108
108
  /**
109
109
  * Timestamp of the last nameserver verification check.
110
110
  * @type {Date}
111
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
111
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
112
112
  */
113
113
  nameserversUpdatedAt: Date | null;
114
114
  /**
115
115
  * Whether the domain currently points to the platform server.
116
116
  * @type {boolean}
117
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
117
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
118
118
  */
119
119
  pointsToOurServer: boolean | null;
120
120
  /**
121
121
  * Timestamp of the last check whether the domain points to the platform server.
122
122
  * @type {Date}
123
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
123
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
124
124
  */
125
125
  pointsToOurServerUpdatedAt: Date | null;
126
126
  /**
127
127
  * ASCII punycode domain name (e.g. example.com, xn--maana-pta.com).
128
128
  * @type {string}
129
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
129
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
130
130
  */
131
131
  name: string;
132
132
  /**
133
133
  * Unicode display domain name (e.g. example.com, mañana.com).
134
134
  * @type {string}
135
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
135
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
136
136
  */
137
137
  displayName: string;
138
138
  /**
139
139
  * ISO 4217 currency code used for domain pricing.
140
140
  * @type {string}
141
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
141
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
142
142
  */
143
143
  currencyCode: string;
144
144
  /**
145
145
  * Buy-it-now (BIN) price for immediate purchase.
146
146
  * @type {MoneyDto}
147
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
147
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
148
148
  */
149
149
  buyNow: MoneyDto;
150
150
  /**
151
151
  * Lease-to-own payment plan configuration.
152
152
  * @type {LeaseToOwnConfigurationDto}
153
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
153
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
154
154
  */
155
155
  leaseToOwn: LeaseToOwnConfigurationDto;
156
156
  /**
157
157
  * Monthly rent subscription configuration.
158
158
  * @type {RentConfigurationDto}
159
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
159
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
160
160
  */
161
161
  rent: RentConfigurationDto;
162
162
  /**
163
163
  * Public landing page display and lead capture settings.
164
164
  * @type {LandingPageSettingsDto}
165
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
165
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
166
166
  */
167
167
  landingPageSettings: LandingPageSettingsDto;
168
168
  /**
169
169
  * Minimum offer amount buyers may submit.
170
170
  * @type {MoneyDto}
171
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
171
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
172
172
  */
173
173
  minOffer: MoneyDto;
174
174
  /**
175
175
  * Timestamp when the domain was created in the platform.
176
176
  * @type {Date}
177
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
177
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
178
178
  */
179
179
  createdAt: Date;
180
180
  /**
181
181
  * Timestamp when the domain was deleted, if applicable.
182
182
  * @type {Date}
183
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
183
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
184
184
  */
185
185
  deletedAt: Date | null;
186
186
  /**
187
187
  * Total pageviews tracked for this domain, or zero if none are tracked.
188
188
  * @type {number}
189
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
189
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
190
190
  */
191
191
  pageviews: number;
192
192
  /**
193
193
  * Whether third-party sales data sharing is enabled for this domain.
194
194
  * @type {boolean}
195
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
195
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
196
196
  */
197
197
  allowThirdPartySalesDataSharing: boolean | null;
198
198
  /**
199
199
  * Per-domain AI price negotiator agent configuration.
200
200
  * @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
201
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
201
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
202
202
  */
203
203
  leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
204
204
  /**
205
205
  * Active or most recent auction details, when present.
206
206
  * @type {DomainAuctionDto}
207
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
207
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
208
208
  */
209
209
  auction: DomainAuctionDto | null;
210
210
  /**
211
211
  * Fee charged to the seller for running a paid auction.
212
212
  * @type {MoneyDto}
213
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
213
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
214
214
  */
215
215
  paidAuctionPrice: MoneyDto;
216
216
  /**
217
217
  * Whether the domain currently has an accepted lead.
218
218
  * @type {boolean}
219
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
219
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
220
220
  */
221
221
  hasAcceptedLead: boolean;
222
222
  /**
223
223
  * Whether a new auction can be created for this domain.
224
224
  * @type {boolean}
225
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
225
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
226
226
  */
227
227
  canCreateAuction: boolean;
228
228
  /**
229
229
  * Whether the domain can be deleted by the seller.
230
230
  * @type {boolean}
231
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
231
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
232
232
  */
233
233
  isDeleteable: boolean;
234
234
  /**
235
235
  * Whether the domain is currently locked from other sales.
236
236
  * @type {boolean}
237
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
237
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
238
238
  */
239
239
  isLocked: boolean;
240
240
  /**
241
241
  * End date of the current continuous lock period, or null if not locked.
242
242
  * @type {Date}
243
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
243
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
244
244
  */
245
245
  lockedUntil: Date | null;
246
246
  /**
247
247
  * Whether an admin picked this domain for the public showcase on the website.
248
248
  * @type {boolean}
249
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
249
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
250
250
  */
251
251
  showcased: boolean;
252
252
  /**
253
253
  * 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.
254
254
  * @type {string}
255
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
255
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
256
256
  */
257
- marketplace: IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum | null;
257
+ marketplace: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum | null;
258
258
  /**
259
259
  * SEO metrics for the domain from Moz, Majestic, and historical sources.
260
260
  * @type {SeoMetricsDto}
261
- * @memberof IntersectionDomainDtoWithSeoMetricsDto
261
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
262
262
  */
263
263
  seoMetrics: SeoMetricsDto | null;
264
+ /**
265
+ * 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".
266
+ * @type {string}
267
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
268
+ */
269
+ routedTo: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum | null;
264
270
  }
265
271
 
266
272
 
267
273
  /**
268
274
  * @export
269
275
  */
270
- export const IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = {
276
+ export const IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum = {
277
+ NAMESHIFT: 'nameshift',
278
+ SEDO: 'sedo',
279
+ AFTERNIC: 'afternic',
280
+ ATOM: 'atom',
281
+ SPACESHIP: 'spaceship',
282
+ NAMECLUB: 'nameclub'
283
+ } as const;
284
+ export type IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum];
285
+
286
+ /**
287
+ * @export
288
+ */
289
+ export const IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum = {
271
290
  NAMESHIFT: 'nameshift',
272
291
  SEDO: 'sedo',
273
292
  AFTERNIC: 'afternic',
@@ -275,13 +294,13 @@ export const IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = {
275
294
  SPACESHIP: 'spaceship',
276
295
  NAMECLUB: 'nameclub'
277
296
  } as const;
278
- export type IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum];
297
+ export type IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum];
279
298
 
280
299
 
281
300
  /**
282
- * Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDto interface.
301
+ * Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto interface.
283
302
  */
284
- export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object): value is IntersectionDomainDtoWithSeoMetricsDto {
303
+ export function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(value: object): value is IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
285
304
  if (!('id' in value) || value['id'] === undefined) return false;
286
305
  if (!('accountId' in value) || value['accountId'] === undefined) return false;
287
306
  if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
@@ -314,14 +333,15 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
314
333
  if (!('showcased' in value) || value['showcased'] === undefined) return false;
315
334
  if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
316
335
  if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
336
+ if (!('routedTo' in value) || value['routedTo'] === undefined) return false;
317
337
  return true;
318
338
  }
319
339
 
320
- export function IntersectionDomainDtoWithSeoMetricsDtoFromJSON(json: any): IntersectionDomainDtoWithSeoMetricsDto {
321
- return IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, false);
340
+ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON(json: any): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
341
+ return IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json, false);
322
342
  }
323
343
 
324
- export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithSeoMetricsDto {
344
+ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
325
345
  if (json == null) {
326
346
  return json;
327
347
  }
@@ -359,14 +379,15 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
359
379
  'showcased': json['showcased'],
360
380
  'marketplace': json['marketplace'],
361
381
  'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
382
+ 'routedTo': json['routedTo'],
362
383
  };
363
384
  }
364
385
 
365
- export function IntersectionDomainDtoWithSeoMetricsDtoToJSON(json: any): IntersectionDomainDtoWithSeoMetricsDto {
366
- return IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(json, false);
386
+ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON(json: any): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
387
+ return IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(json, false);
367
388
  }
368
389
 
369
- export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: IntersectionDomainDtoWithSeoMetricsDto | null, ignoreDiscriminator: boolean = false): any {
390
+ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(value?: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto | null, ignoreDiscriminator: boolean = false): any {
370
391
  if (value == null) {
371
392
  return value;
372
393
  }
@@ -405,6 +426,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
405
426
  'showcased': value['showcased'],
406
427
  'marketplace': value['marketplace'],
407
428
  'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
429
+ 'routedTo': value['routedTo'],
408
430
  };
409
431
  }
410
432
 
@@ -20,13 +20,13 @@ import {
20
20
  PaginateResponseLinksToJSON,
21
21
  PaginateResponseLinksToJSONTyped,
22
22
  } from './PaginateResponseLinks';
23
- import type { IntersectionDomainDtoWithSeoMetricsDto } from './IntersectionDomainDtoWithSeoMetricsDto';
23
+ import type { IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto } from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
24
24
  import {
25
- IntersectionDomainDtoWithSeoMetricsDtoFromJSON,
26
- IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped,
27
- IntersectionDomainDtoWithSeoMetricsDtoToJSON,
28
- IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped,
29
- } from './IntersectionDomainDtoWithSeoMetricsDto';
25
+ IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON,
26
+ IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped,
27
+ IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON,
28
+ IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped,
29
+ } from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
30
30
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
31
  import {
32
32
  PaginateResponseMetaFromJSON,
@@ -43,10 +43,10 @@ import {
43
43
  export interface List200Response2 {
44
44
  /**
45
45
  *
46
- * @type {Array<IntersectionDomainDtoWithSeoMetricsDto>}
46
+ * @type {Array<IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto>}
47
47
  * @memberof List200Response2
48
48
  */
49
- data: Array<IntersectionDomainDtoWithSeoMetricsDto>;
49
+ data: Array<IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto>;
50
50
  /**
51
51
  *
52
52
  * @type {PaginateResponseMeta}
@@ -81,7 +81,7 @@ export function List200Response2FromJSONTyped(json: any, ignoreDiscriminator: bo
81
81
  }
82
82
  return {
83
83
 
84
- 'data': ((json['data'] as Array<any>).map(IntersectionDomainDtoWithSeoMetricsDtoFromJSON)),
84
+ 'data': ((json['data'] as Array<any>).map(IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON)),
85
85
  'meta': PaginateResponseMetaFromJSON(json['meta']),
86
86
  'links': PaginateResponseLinksFromJSON(json['links']),
87
87
  };
@@ -98,7 +98,7 @@ export function List200Response2ToJSONTyped(value?: List200Response2 | null, ign
98
98
 
99
99
  return {
100
100
 
101
- 'data': ((value['data'] as Array<any>).map(IntersectionDomainDtoWithSeoMetricsDtoToJSON)),
101
+ 'data': ((value['data'] as Array<any>).map(IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON)),
102
102
  'meta': PaginateResponseMetaToJSON(value['meta']),
103
103
  'links': PaginateResponseLinksToJSON(value['links']),
104
104
  };
@@ -37,6 +37,12 @@ export interface OrderCompanyTaxIdDto {
37
37
  * @memberof OrderCompanyTaxIdDto
38
38
  */
39
39
  countryCode: string;
40
+ /**
41
+ * Whether the tax ID passed validation.
42
+ * @type {boolean}
43
+ * @memberof OrderCompanyTaxIdDto
44
+ */
45
+ readonly isValid?: boolean | null;
40
46
  }
41
47
 
42
48
  /**
@@ -62,6 +68,7 @@ export function OrderCompanyTaxIdDtoFromJSONTyped(json: any, ignoreDiscriminator
62
68
  'value': json['value'],
63
69
  'type': json['type'],
64
70
  'countryCode': json['countryCode'],
71
+ 'isValid': json['isValid'] == null ? undefined : json['isValid'],
65
72
  };
66
73
  }
67
74
 
@@ -69,7 +76,7 @@ export function OrderCompanyTaxIdDtoToJSON(json: any): OrderCompanyTaxIdDto {
69
76
  return OrderCompanyTaxIdDtoToJSONTyped(json, false);
70
77
  }
71
78
 
72
- export function OrderCompanyTaxIdDtoToJSONTyped(value?: OrderCompanyTaxIdDto | null, ignoreDiscriminator: boolean = false): any {
79
+ export function OrderCompanyTaxIdDtoToJSONTyped(value?: Omit<OrderCompanyTaxIdDto, 'isValid'> | null, ignoreDiscriminator: boolean = false): any {
73
80
  if (value == null) {
74
81
  return value;
75
82
  }
@@ -37,6 +37,12 @@ export interface SubscriptionCompanyTaxIdDto {
37
37
  * @memberof SubscriptionCompanyTaxIdDto
38
38
  */
39
39
  countryCode: string;
40
+ /**
41
+ * Whether the tax ID passed validation.
42
+ * @type {boolean}
43
+ * @memberof SubscriptionCompanyTaxIdDto
44
+ */
45
+ readonly isValid?: boolean | null;
40
46
  }
41
47
 
42
48
  /**
@@ -62,6 +68,7 @@ export function SubscriptionCompanyTaxIdDtoFromJSONTyped(json: any, ignoreDiscri
62
68
  'value': json['value'],
63
69
  'type': json['type'],
64
70
  'countryCode': json['countryCode'],
71
+ 'isValid': json['isValid'] == null ? undefined : json['isValid'],
65
72
  };
66
73
  }
67
74
 
@@ -69,7 +76,7 @@ export function SubscriptionCompanyTaxIdDtoToJSON(json: any): SubscriptionCompan
69
76
  return SubscriptionCompanyTaxIdDtoToJSONTyped(json, false);
70
77
  }
71
78
 
72
- export function SubscriptionCompanyTaxIdDtoToJSONTyped(value?: SubscriptionCompanyTaxIdDto | null, ignoreDiscriminator: boolean = false): any {
79
+ export function SubscriptionCompanyTaxIdDtoToJSONTyped(value?: Omit<SubscriptionCompanyTaxIdDto, 'isValid'> | null, ignoreDiscriminator: boolean = false): any {
73
80
  if (value == null) {
74
81
  return value;
75
82
  }
@@ -105,6 +105,18 @@ export interface UpdateOrderInput {
105
105
  * @memberof UpdateOrderInput
106
106
  */
107
107
  forceUpdatePaymentMethods?: boolean;
108
+ /**
109
+ * 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.
110
+ * @type {boolean}
111
+ * @memberof UpdateOrderInput
112
+ */
113
+ forceValidateVatId?: boolean;
114
+ /**
115
+ * 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.
116
+ * @type {boolean}
117
+ * @memberof UpdateOrderInput
118
+ */
119
+ payAction?: boolean;
108
120
  }
109
121
 
110
122
  /**
@@ -137,6 +149,8 @@ export function UpdateOrderInputFromJSONTyped(json: any, ignoreDiscriminator: bo
137
149
  'companyInfo': json['companyInfo'] == null ? undefined : OrderCompanyInfoDtoFromJSON(json['companyInfo']),
138
150
  'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
139
151
  'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
152
+ 'forceValidateVatId': json['forceValidateVatId'] == null ? undefined : json['forceValidateVatId'],
153
+ 'payAction': json['payAction'] == null ? undefined : json['payAction'],
140
154
  };
141
155
  }
142
156
 
@@ -164,6 +178,8 @@ export function UpdateOrderInputToJSONTyped(value?: UpdateOrderInput | null, ign
164
178
  'companyInfo': OrderCompanyInfoDtoToJSON(value['companyInfo']),
165
179
  'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
166
180
  'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
181
+ 'forceValidateVatId': value['forceValidateVatId'],
182
+ 'payAction': value['payAction'],
167
183
  };
168
184
  }
169
185
 
@@ -124,6 +124,18 @@ export interface UpdateSubscriptionInput {
124
124
  * @memberof UpdateSubscriptionInput
125
125
  */
126
126
  forceUpdatePaymentMethods?: boolean;
127
+ /**
128
+ * 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.
129
+ * @type {boolean}
130
+ * @memberof UpdateSubscriptionInput
131
+ */
132
+ forceValidateVatId?: boolean;
133
+ /**
134
+ * 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.
135
+ * @type {boolean}
136
+ * @memberof UpdateSubscriptionInput
137
+ */
138
+ payAction?: boolean;
127
139
  }
128
140
 
129
141
  /**
@@ -158,6 +170,8 @@ export function UpdateSubscriptionInputFromJSONTyped(json: any, ignoreDiscrimina
158
170
  'companyInfo': json['companyInfo'] == null ? undefined : SubscriptionCompanyInfoDtoFromJSON(json['companyInfo']),
159
171
  'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
160
172
  'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
173
+ 'forceValidateVatId': json['forceValidateVatId'] == null ? undefined : json['forceValidateVatId'],
174
+ 'payAction': json['payAction'] == null ? undefined : json['payAction'],
161
175
  };
162
176
  }
163
177
 
@@ -187,6 +201,8 @@ export function UpdateSubscriptionInputToJSONTyped(value?: UpdateSubscriptionInp
187
201
  'companyInfo': SubscriptionCompanyInfoDtoToJSON(value['companyInfo']),
188
202
  'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
189
203
  'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
204
+ 'forceValidateVatId': value['forceValidateVatId'],
205
+ 'payAction': value['payAction'],
190
206
  };
191
207
  }
192
208