@randock/nameshift-api-client 0.0.481 → 0.0.483

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 (33) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +29 -1
  4. package/dist/apis/AdminApi.js +116 -0
  5. package/dist/models/DomainTransferDetailsBuyerDto.d.ts +23 -0
  6. package/dist/models/DomainTransferDetailsBuyerDto.js +19 -0
  7. package/dist/models/DomainTransferDetailsBuyerInfoDto.d.ts +32 -0
  8. package/dist/models/DomainTransferDetailsBuyerInfoDto.js +51 -0
  9. package/dist/models/DomainTransferDetailsDto.d.ts +7 -0
  10. package/dist/models/DomainTransferDetailsDto.js +5 -0
  11. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  12. package/dist/models/FeatureFlagListItemDto.js +2 -1
  13. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  14. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  15. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  16. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  17. package/dist/models/UpdateAdminDomainTransferBuyerCompanyInfoInput.d.ts +32 -0
  18. package/dist/models/UpdateAdminDomainTransferBuyerCompanyInfoInput.js +51 -0
  19. package/dist/models/UpdateAdminDomainTransferBuyerInfoInput.d.ts +32 -0
  20. package/dist/models/UpdateAdminDomainTransferBuyerInfoInput.js +51 -0
  21. package/dist/models/index.d.ts +3 -0
  22. package/dist/models/index.js +3 -0
  23. package/package.json +1 -1
  24. package/src/apis/AdminApi.ts +120 -0
  25. package/src/models/DomainTransferDetailsBuyerDto.ts +39 -0
  26. package/src/models/DomainTransferDetailsBuyerInfoDto.ts +66 -0
  27. package/src/models/DomainTransferDetailsDto.ts +16 -0
  28. package/src/models/FeatureFlagListItemDto.ts +2 -1
  29. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  30. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  31. package/src/models/UpdateAdminDomainTransferBuyerCompanyInfoInput.ts +66 -0
  32. package/src/models/UpdateAdminDomainTransferBuyerInfoInput.ts +66 -0
  33. package/src/models/index.ts +3 -0
@@ -264,6 +264,7 @@ src/models/DomainTransferDetailWorkflowStepActionDto.ts
264
264
  src/models/DomainTransferDetailWorkflowStepDto.ts
265
265
  src/models/DomainTransferDetailsAuthCodeDto.ts
266
266
  src/models/DomainTransferDetailsBuyerDto.ts
267
+ src/models/DomainTransferDetailsBuyerInfoDto.ts
267
268
  src/models/DomainTransferDetailsDomainDto.ts
268
269
  src/models/DomainTransferDetailsDto.ts
269
270
  src/models/DomainTransferDetailsOrderDto.ts
@@ -565,6 +566,8 @@ src/models/UkBankAccountDetails.ts
565
566
  src/models/UpdateAccountBillingInformationInput.ts
566
567
  src/models/UpdateAccountChallengeRewardBalanceInput.ts
567
568
  src/models/UpdateAccountNoteInput.ts
569
+ src/models/UpdateAdminDomainTransferBuyerCompanyInfoInput.ts
570
+ src/models/UpdateAdminDomainTransferBuyerInfoInput.ts
568
571
  src/models/UpdateApiKeyInput.ts
569
572
  src/models/UpdateAuctionMuteStatusInput.ts
570
573
  src/models/UpdateBuyerDomainTransferBuyerInfoInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.481
1
+ ## @randock/nameshift-api-client@0.0.483
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.481 --save
39
+ npm install @randock/nameshift-api-client@0.0.483 --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
- 79cf49af01cfc60025b24287635d70fd0d6029bb0b310f6d54257b9a8c5e65006136d8dd2f1c643492395f14f188ecf6
47
+ cd050331965a0d89b08993f33d99695a8295fa0a05771e5d748af2f2f16ac3e3472a2deaaa2cb3d19597925ce495a4d5
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminMarketplaceDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateAccountNoteInput, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ObjectId, SellerLeadDetails, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
13
+ import type { AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminMarketplaceDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateAccountNoteInput, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ObjectId, SellerLeadDetails, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
14
14
  export interface AdminApiAdminDeleteAuctionRequest {
15
15
  auctionId: string;
16
16
  }
@@ -24,6 +24,14 @@ export interface AdminApiAdminGetAllDomainTransfersRequest {
24
24
  filterSearchTerm?: string;
25
25
  filterStatus?: string;
26
26
  }
27
+ export interface AdminApiAdminUpdateDomainTransferBuyerCompanyInfoRequest {
28
+ transferId: string;
29
+ updateAdminDomainTransferBuyerCompanyInfoInput: UpdateAdminDomainTransferBuyerCompanyInfoInput;
30
+ }
31
+ export interface AdminApiAdminUpdateDomainTransferBuyerInfoRequest {
32
+ transferId: string;
33
+ updateAdminDomainTransferBuyerInfoInput: UpdateAdminDomainTransferBuyerInfoInput;
34
+ }
27
35
  export interface AdminApiBulkCommissionActionsRequest {
28
36
  bulkCommissionActionsInput: BulkCommissionActionsInput;
29
37
  }
@@ -374,6 +382,26 @@ export declare class AdminApi extends runtime.BaseAPI {
374
382
  * List all domain transfers
375
383
  */
376
384
  adminGetAllDomainTransfers(requestParameters?: AdminApiAdminGetAllDomainTransfersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminGetAllDomainTransfers200Response>;
385
+ /**
386
+ * Corrects the company registration id stored on the active buyer invoice of the domain transfer. The registry contact of the transfer is built from it; the issued invoice and its taxes are left untouched.
387
+ * Update the company id of the buyer
388
+ */
389
+ adminUpdateDomainTransferBuyerCompanyInfoRaw(requestParameters: AdminApiAdminUpdateDomainTransferBuyerCompanyInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
390
+ /**
391
+ * Corrects the company registration id stored on the active buyer invoice of the domain transfer. The registry contact of the transfer is built from it; the issued invoice and its taxes are left untouched.
392
+ * Update the company id of the buyer
393
+ */
394
+ adminUpdateDomainTransferBuyerCompanyInfo(requestParameters: AdminApiAdminUpdateDomainTransferBuyerCompanyInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
395
+ /**
396
+ * Corrects the transfer information the buyer provided for the domain transfer, such as the social security number some registries require. Unlike the buyer endpoint, it is allowed at any point of the workflow, but only once the buyer has provided a value.
397
+ * Correct the transfer info of the buyer
398
+ */
399
+ adminUpdateDomainTransferBuyerInfoRaw(requestParameters: AdminApiAdminUpdateDomainTransferBuyerInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
400
+ /**
401
+ * Corrects the transfer information the buyer provided for the domain transfer, such as the social security number some registries require. Unlike the buyer endpoint, it is allowed at any point of the workflow, but only once the buyer has provided a value.
402
+ * Correct the transfer info of the buyer
403
+ */
404
+ adminUpdateDomainTransferBuyerInfo(requestParameters: AdminApiAdminUpdateDomainTransferBuyerInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
377
405
  /**
378
406
  * Executes multiple commission add, update, or delete actions in a single request.
379
407
  * Bulk commission actions
@@ -199,6 +199,122 @@ var AdminApi = /** @class */ (function (_super) {
199
199
  });
200
200
  });
201
201
  };
202
+ /**
203
+ * Corrects the company registration id stored on the active buyer invoice of the domain transfer. The registry contact of the transfer is built from it; the issued invoice and its taxes are left untouched.
204
+ * Update the company id of the buyer
205
+ */
206
+ AdminApi.prototype.adminUpdateDomainTransferBuyerCompanyInfoRaw = function (requestParameters, initOverrides) {
207
+ return __awaiter(this, void 0, void 0, function () {
208
+ var queryParameters, headerParameters, token, tokenString, response;
209
+ return __generator(this, function (_a) {
210
+ switch (_a.label) {
211
+ case 0:
212
+ if (requestParameters['transferId'] == null) {
213
+ throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling adminUpdateDomainTransferBuyerCompanyInfo().');
214
+ }
215
+ if (requestParameters['updateAdminDomainTransferBuyerCompanyInfoInput'] == null) {
216
+ throw new runtime.RequiredError('updateAdminDomainTransferBuyerCompanyInfoInput', 'Required parameter "updateAdminDomainTransferBuyerCompanyInfoInput" was null or undefined when calling adminUpdateDomainTransferBuyerCompanyInfo().');
217
+ }
218
+ queryParameters = {};
219
+ headerParameters = {};
220
+ headerParameters['Content-Type'] = 'application/json';
221
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
222
+ token = this.configuration.accessToken;
223
+ return [4 /*yield*/, token("bearer", [])];
224
+ case 1:
225
+ tokenString = _a.sent();
226
+ if (tokenString) {
227
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
228
+ }
229
+ _a.label = 2;
230
+ case 2: return [4 /*yield*/, this.request({
231
+ path: "/admin/domain-transfers/{transferId}/buyer-company-info".replace("{".concat("transferId", "}"), encodeURIComponent(String(requestParameters['transferId']))),
232
+ method: 'PATCH',
233
+ headers: headerParameters,
234
+ query: queryParameters,
235
+ body: (0, index_1.UpdateAdminDomainTransferBuyerCompanyInfoInputToJSON)(requestParameters['updateAdminDomainTransferBuyerCompanyInfoInput']),
236
+ }, initOverrides)];
237
+ case 3:
238
+ response = _a.sent();
239
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
240
+ }
241
+ });
242
+ });
243
+ };
244
+ /**
245
+ * Corrects the company registration id stored on the active buyer invoice of the domain transfer. The registry contact of the transfer is built from it; the issued invoice and its taxes are left untouched.
246
+ * Update the company id of the buyer
247
+ */
248
+ AdminApi.prototype.adminUpdateDomainTransferBuyerCompanyInfo = function (requestParameters, initOverrides) {
249
+ return __awaiter(this, void 0, void 0, function () {
250
+ return __generator(this, function (_a) {
251
+ switch (_a.label) {
252
+ case 0: return [4 /*yield*/, this.adminUpdateDomainTransferBuyerCompanyInfoRaw(requestParameters, initOverrides)];
253
+ case 1:
254
+ _a.sent();
255
+ return [2 /*return*/];
256
+ }
257
+ });
258
+ });
259
+ };
260
+ /**
261
+ * Corrects the transfer information the buyer provided for the domain transfer, such as the social security number some registries require. Unlike the buyer endpoint, it is allowed at any point of the workflow, but only once the buyer has provided a value.
262
+ * Correct the transfer info of the buyer
263
+ */
264
+ AdminApi.prototype.adminUpdateDomainTransferBuyerInfoRaw = function (requestParameters, initOverrides) {
265
+ return __awaiter(this, void 0, void 0, function () {
266
+ var queryParameters, headerParameters, token, tokenString, response;
267
+ return __generator(this, function (_a) {
268
+ switch (_a.label) {
269
+ case 0:
270
+ if (requestParameters['transferId'] == null) {
271
+ throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling adminUpdateDomainTransferBuyerInfo().');
272
+ }
273
+ if (requestParameters['updateAdminDomainTransferBuyerInfoInput'] == null) {
274
+ throw new runtime.RequiredError('updateAdminDomainTransferBuyerInfoInput', 'Required parameter "updateAdminDomainTransferBuyerInfoInput" was null or undefined when calling adminUpdateDomainTransferBuyerInfo().');
275
+ }
276
+ queryParameters = {};
277
+ headerParameters = {};
278
+ headerParameters['Content-Type'] = 'application/json';
279
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
280
+ token = this.configuration.accessToken;
281
+ return [4 /*yield*/, token("bearer", [])];
282
+ case 1:
283
+ tokenString = _a.sent();
284
+ if (tokenString) {
285
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
286
+ }
287
+ _a.label = 2;
288
+ case 2: return [4 /*yield*/, this.request({
289
+ path: "/admin/domain-transfers/{transferId}/buyer-info".replace("{".concat("transferId", "}"), encodeURIComponent(String(requestParameters['transferId']))),
290
+ method: 'PATCH',
291
+ headers: headerParameters,
292
+ query: queryParameters,
293
+ body: (0, index_1.UpdateAdminDomainTransferBuyerInfoInputToJSON)(requestParameters['updateAdminDomainTransferBuyerInfoInput']),
294
+ }, initOverrides)];
295
+ case 3:
296
+ response = _a.sent();
297
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
298
+ }
299
+ });
300
+ });
301
+ };
302
+ /**
303
+ * Corrects the transfer information the buyer provided for the domain transfer, such as the social security number some registries require. Unlike the buyer endpoint, it is allowed at any point of the workflow, but only once the buyer has provided a value.
304
+ * Correct the transfer info of the buyer
305
+ */
306
+ AdminApi.prototype.adminUpdateDomainTransferBuyerInfo = function (requestParameters, initOverrides) {
307
+ return __awaiter(this, void 0, void 0, function () {
308
+ return __generator(this, function (_a) {
309
+ switch (_a.label) {
310
+ case 0: return [4 /*yield*/, this.adminUpdateDomainTransferBuyerInfoRaw(requestParameters, initOverrides)];
311
+ case 1:
312
+ _a.sent();
313
+ return [2 /*return*/];
314
+ }
315
+ });
316
+ });
317
+ };
202
318
  /**
203
319
  * Executes multiple commission add, update, or delete actions in a single request.
204
320
  * Bulk commission actions
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { CompanyInformationDto } from './CompanyInformationDto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -21,6 +22,12 @@ export interface DomainTransferDetailsBuyerDto {
21
22
  * @memberof DomainTransferDetailsBuyerDto
22
23
  */
23
24
  id: string;
25
+ /**
26
+ * Whether the buyer invoice billing details represent a person or a company.
27
+ * @type {string}
28
+ * @memberof DomainTransferDetailsBuyerDto
29
+ */
30
+ type: DomainTransferDetailsBuyerDtoTypeEnum;
24
31
  /**
25
32
  * The buyer email address.
26
33
  * @type {string}
@@ -45,7 +52,23 @@ export interface DomainTransferDetailsBuyerDto {
45
52
  * @memberof DomainTransferDetailsBuyerDto
46
53
  */
47
54
  companyName: string | null;
55
+ /**
56
+ * The company details of the buyer invoice, when it is a company.
57
+ * @type {CompanyInformationDto}
58
+ * @memberof DomainTransferDetailsBuyerDto
59
+ */
60
+ companyInfo: CompanyInformationDto | null;
48
61
  }
62
+ /**
63
+ * @export
64
+ */
65
+ export declare const DomainTransferDetailsBuyerDtoTypeEnum: {
66
+ readonly COMPANY: "company";
67
+ readonly GOVERNMENT_ENTITY: "government_entity";
68
+ readonly INDIVIDUAL: "individual";
69
+ readonly NON_PROFIT: "non_profit";
70
+ };
71
+ export type DomainTransferDetailsBuyerDtoTypeEnum = typeof DomainTransferDetailsBuyerDtoTypeEnum[keyof typeof DomainTransferDetailsBuyerDtoTypeEnum];
49
72
  /**
50
73
  * Check if a given object implements the DomainTransferDetailsBuyerDto interface.
51
74
  */
@@ -13,17 +13,30 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.DomainTransferDetailsBuyerDtoTypeEnum = void 0;
16
17
  exports.instanceOfDomainTransferDetailsBuyerDto = instanceOfDomainTransferDetailsBuyerDto;
17
18
  exports.DomainTransferDetailsBuyerDtoFromJSON = DomainTransferDetailsBuyerDtoFromJSON;
18
19
  exports.DomainTransferDetailsBuyerDtoFromJSONTyped = DomainTransferDetailsBuyerDtoFromJSONTyped;
19
20
  exports.DomainTransferDetailsBuyerDtoToJSON = DomainTransferDetailsBuyerDtoToJSON;
20
21
  exports.DomainTransferDetailsBuyerDtoToJSONTyped = DomainTransferDetailsBuyerDtoToJSONTyped;
22
+ var CompanyInformationDto_1 = require("./CompanyInformationDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.DomainTransferDetailsBuyerDtoTypeEnum = {
27
+ COMPANY: 'company',
28
+ GOVERNMENT_ENTITY: 'government_entity',
29
+ INDIVIDUAL: 'individual',
30
+ NON_PROFIT: 'non_profit'
31
+ };
21
32
  /**
22
33
  * Check if a given object implements the DomainTransferDetailsBuyerDto interface.
23
34
  */
24
35
  function instanceOfDomainTransferDetailsBuyerDto(value) {
25
36
  if (!('id' in value) || value['id'] === undefined)
26
37
  return false;
38
+ if (!('type' in value) || value['type'] === undefined)
39
+ return false;
27
40
  if (!('email' in value) || value['email'] === undefined)
28
41
  return false;
29
42
  if (!('firstName' in value) || value['firstName'] === undefined)
@@ -32,6 +45,8 @@ function instanceOfDomainTransferDetailsBuyerDto(value) {
32
45
  return false;
33
46
  if (!('companyName' in value) || value['companyName'] === undefined)
34
47
  return false;
48
+ if (!('companyInfo' in value) || value['companyInfo'] === undefined)
49
+ return false;
35
50
  return true;
36
51
  }
37
52
  function DomainTransferDetailsBuyerDtoFromJSON(json) {
@@ -43,10 +58,12 @@ function DomainTransferDetailsBuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
43
58
  }
44
59
  return {
45
60
  'id': json['id'],
61
+ 'type': json['type'],
46
62
  'email': json['email'],
47
63
  'firstName': json['firstName'],
48
64
  'lastName': json['lastName'],
49
65
  'companyName': json['companyName'],
66
+ 'companyInfo': (0, CompanyInformationDto_1.CompanyInformationDtoFromJSON)(json['companyInfo']),
50
67
  };
51
68
  }
52
69
  function DomainTransferDetailsBuyerDtoToJSON(json) {
@@ -59,9 +76,11 @@ function DomainTransferDetailsBuyerDtoToJSONTyped(value, ignoreDiscriminator) {
59
76
  }
60
77
  return {
61
78
  'id': value['id'],
79
+ 'type': value['type'],
62
80
  'email': value['email'],
63
81
  'firstName': value['firstName'],
64
82
  'lastName': value['lastName'],
65
83
  'companyName': value['companyName'],
84
+ 'companyInfo': (0, CompanyInformationDto_1.CompanyInformationDtoToJSON)(value['companyInfo']),
66
85
  };
67
86
  }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DomainTransferDetailsBuyerInfoDto
16
+ */
17
+ export interface DomainTransferDetailsBuyerInfoDto {
18
+ /**
19
+ * The buyer social security number.
20
+ * @type {string}
21
+ * @memberof DomainTransferDetailsBuyerInfoDto
22
+ */
23
+ socialSecurityNumber: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the DomainTransferDetailsBuyerInfoDto interface.
27
+ */
28
+ export declare function instanceOfDomainTransferDetailsBuyerInfoDto(value: object): value is DomainTransferDetailsBuyerInfoDto;
29
+ export declare function DomainTransferDetailsBuyerInfoDtoFromJSON(json: any): DomainTransferDetailsBuyerInfoDto;
30
+ export declare function DomainTransferDetailsBuyerInfoDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsBuyerInfoDto;
31
+ export declare function DomainTransferDetailsBuyerInfoDtoToJSON(json: any): DomainTransferDetailsBuyerInfoDto;
32
+ export declare function DomainTransferDetailsBuyerInfoDtoToJSONTyped(value?: DomainTransferDetailsBuyerInfoDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfDomainTransferDetailsBuyerInfoDto = instanceOfDomainTransferDetailsBuyerInfoDto;
17
+ exports.DomainTransferDetailsBuyerInfoDtoFromJSON = DomainTransferDetailsBuyerInfoDtoFromJSON;
18
+ exports.DomainTransferDetailsBuyerInfoDtoFromJSONTyped = DomainTransferDetailsBuyerInfoDtoFromJSONTyped;
19
+ exports.DomainTransferDetailsBuyerInfoDtoToJSON = DomainTransferDetailsBuyerInfoDtoToJSON;
20
+ exports.DomainTransferDetailsBuyerInfoDtoToJSONTyped = DomainTransferDetailsBuyerInfoDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the DomainTransferDetailsBuyerInfoDto interface.
23
+ */
24
+ function instanceOfDomainTransferDetailsBuyerInfoDto(value) {
25
+ if (!('socialSecurityNumber' in value) || value['socialSecurityNumber'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function DomainTransferDetailsBuyerInfoDtoFromJSON(json) {
30
+ return DomainTransferDetailsBuyerInfoDtoFromJSONTyped(json, false);
31
+ }
32
+ function DomainTransferDetailsBuyerInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'socialSecurityNumber': json['socialSecurityNumber'],
38
+ };
39
+ }
40
+ function DomainTransferDetailsBuyerInfoDtoToJSON(json) {
41
+ return DomainTransferDetailsBuyerInfoDtoToJSONTyped(json, false);
42
+ }
43
+ function DomainTransferDetailsBuyerInfoDtoToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'socialSecurityNumber': value['socialSecurityNumber'],
50
+ };
51
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { DomainTransferDetailsBuyerInfoDto } from './DomainTransferDetailsBuyerInfoDto';
12
13
  import type { DomainTransferDetailsSubscriptionDto } from './DomainTransferDetailsSubscriptionDto';
13
14
  import type { DomainTransferDetailsOrderDto } from './DomainTransferDetailsOrderDto';
14
15
  import type { DomainTransferDetailSellerPayoutInvoiceDto } from './DomainTransferDetailSellerPayoutInvoiceDto';
@@ -46,6 +47,12 @@ export interface DomainTransferDetailsDto {
46
47
  * @memberof DomainTransferDetailsDto
47
48
  */
48
49
  subscription: DomainTransferDetailsSubscriptionDto | null;
50
+ /**
51
+ * The transfer information provided by the buyer.
52
+ * @type {DomainTransferDetailsBuyerInfoDto}
53
+ * @memberof DomainTransferDetailsDto
54
+ */
55
+ buyerInfo: DomainTransferDetailsBuyerInfoDto | null;
49
56
  /**
50
57
  * The domain transfer status.
51
58
  * @type {string}
@@ -19,6 +19,7 @@ exports.DomainTransferDetailsDtoFromJSON = DomainTransferDetailsDtoFromJSON;
19
19
  exports.DomainTransferDetailsDtoFromJSONTyped = DomainTransferDetailsDtoFromJSONTyped;
20
20
  exports.DomainTransferDetailsDtoToJSON = DomainTransferDetailsDtoToJSON;
21
21
  exports.DomainTransferDetailsDtoToJSONTyped = DomainTransferDetailsDtoToJSONTyped;
22
+ var DomainTransferDetailsBuyerInfoDto_1 = require("./DomainTransferDetailsBuyerInfoDto");
22
23
  var DomainTransferDetailsSubscriptionDto_1 = require("./DomainTransferDetailsSubscriptionDto");
23
24
  var DomainTransferDetailsOrderDto_1 = require("./DomainTransferDetailsOrderDto");
24
25
  var DomainTransferDetailSellerPayoutInvoiceDto_1 = require("./DomainTransferDetailSellerPayoutInvoiceDto");
@@ -60,6 +61,8 @@ function instanceOfDomainTransferDetailsDto(value) {
60
61
  return false;
61
62
  if (!('subscription' in value) || value['subscription'] === undefined)
62
63
  return false;
64
+ if (!('buyerInfo' in value) || value['buyerInfo'] === undefined)
65
+ return false;
63
66
  if (!('status' in value) || value['status'] === undefined)
64
67
  return false;
65
68
  if (!('statusSeller' in value) || value['statusSeller'] === undefined)
@@ -90,6 +93,7 @@ function DomainTransferDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
90
93
  'domain': (0, DomainTransferDetailsDomainDto_1.DomainTransferDetailsDomainDtoFromJSON)(json['domain']),
91
94
  'order': (0, DomainTransferDetailsOrderDto_1.DomainTransferDetailsOrderDtoFromJSON)(json['order']),
92
95
  'subscription': (0, DomainTransferDetailsSubscriptionDto_1.DomainTransferDetailsSubscriptionDtoFromJSON)(json['subscription']),
96
+ 'buyerInfo': (0, DomainTransferDetailsBuyerInfoDto_1.DomainTransferDetailsBuyerInfoDtoFromJSON)(json['buyerInfo']),
93
97
  'status': json['status'],
94
98
  'statusSeller': json['statusSeller'],
95
99
  'authCode': (0, DomainTransferDetailsAuthCodeDto_1.DomainTransferDetailsAuthCodeDtoFromJSON)(json['authCode']),
@@ -113,6 +117,7 @@ function DomainTransferDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
113
117
  'domain': (0, DomainTransferDetailsDomainDto_1.DomainTransferDetailsDomainDtoToJSON)(value['domain']),
114
118
  'order': (0, DomainTransferDetailsOrderDto_1.DomainTransferDetailsOrderDtoToJSON)(value['order']),
115
119
  'subscription': (0, DomainTransferDetailsSubscriptionDto_1.DomainTransferDetailsSubscriptionDtoToJSON)(value['subscription']),
120
+ 'buyerInfo': (0, DomainTransferDetailsBuyerInfoDto_1.DomainTransferDetailsBuyerInfoDtoToJSON)(value['buyerInfo']),
116
121
  'status': value['status'],
117
122
  'statusSeller': value['statusSeller'],
118
123
  'authCode': (0, DomainTransferDetailsAuthCodeDto_1.DomainTransferDetailsAuthCodeDtoToJSON)(value['authCode']),
@@ -92,6 +92,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
92
92
  readonly AI_DOMAIN_EDIT: "AI_DOMAIN_EDIT";
93
93
  readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
94
94
  readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
95
+ readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
95
96
  };
96
97
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
97
98
  /**
@@ -52,7 +52,8 @@ exports.FeatureFlagListItemDtoNameEnum = {
52
52
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
53
53
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
54
54
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
55
- LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
55
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
56
+ DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
56
57
  };
57
58
  /**
58
59
  * Check if a given object implements the FeatureFlagListItemDto interface.
@@ -135,6 +135,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
135
135
  readonly AI_DOMAIN_EDIT: "AI_DOMAIN_EDIT";
136
136
  readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
137
137
  readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
138
+ readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
138
139
  };
139
140
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
140
141
  /**
@@ -59,7 +59,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
59
59
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
60
60
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
61
61
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
62
- LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
62
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
63
+ DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
63
64
  };
64
65
  /**
65
66
  * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
@@ -141,6 +141,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
141
141
  readonly AI_DOMAIN_EDIT: "AI_DOMAIN_EDIT";
142
142
  readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
143
143
  readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
144
+ readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
144
145
  };
145
146
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
146
147
  /**
@@ -59,7 +59,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
59
59
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
60
60
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
61
61
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
62
- LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
62
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
63
+ DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
63
64
  };
64
65
  /**
65
66
  * Check if a given object implements the PrivateAccountGetMeResponse interface.
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateAdminDomainTransferBuyerCompanyInfoInput
16
+ */
17
+ export interface UpdateAdminDomainTransferBuyerCompanyInfoInput {
18
+ /**
19
+ * Company registration or chamber of commerce ID of the buyer company. Null clears it.
20
+ * @type {string}
21
+ * @memberof UpdateAdminDomainTransferBuyerCompanyInfoInput
22
+ */
23
+ companyId: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UpdateAdminDomainTransferBuyerCompanyInfoInput interface.
27
+ */
28
+ export declare function instanceOfUpdateAdminDomainTransferBuyerCompanyInfoInput(value: object): value is UpdateAdminDomainTransferBuyerCompanyInfoInput;
29
+ export declare function UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSON(json: any): UpdateAdminDomainTransferBuyerCompanyInfoInput;
30
+ export declare function UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAdminDomainTransferBuyerCompanyInfoInput;
31
+ export declare function UpdateAdminDomainTransferBuyerCompanyInfoInputToJSON(json: any): UpdateAdminDomainTransferBuyerCompanyInfoInput;
32
+ export declare function UpdateAdminDomainTransferBuyerCompanyInfoInputToJSONTyped(value?: UpdateAdminDomainTransferBuyerCompanyInfoInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfUpdateAdminDomainTransferBuyerCompanyInfoInput = instanceOfUpdateAdminDomainTransferBuyerCompanyInfoInput;
17
+ exports.UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSON = UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSON;
18
+ exports.UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSONTyped = UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSONTyped;
19
+ exports.UpdateAdminDomainTransferBuyerCompanyInfoInputToJSON = UpdateAdminDomainTransferBuyerCompanyInfoInputToJSON;
20
+ exports.UpdateAdminDomainTransferBuyerCompanyInfoInputToJSONTyped = UpdateAdminDomainTransferBuyerCompanyInfoInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateAdminDomainTransferBuyerCompanyInfoInput interface.
23
+ */
24
+ function instanceOfUpdateAdminDomainTransferBuyerCompanyInfoInput(value) {
25
+ if (!('companyId' in value) || value['companyId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSON(json) {
30
+ return UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSONTyped(json, false);
31
+ }
32
+ function UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'companyId': json['companyId'],
38
+ };
39
+ }
40
+ function UpdateAdminDomainTransferBuyerCompanyInfoInputToJSON(json) {
41
+ return UpdateAdminDomainTransferBuyerCompanyInfoInputToJSONTyped(json, false);
42
+ }
43
+ function UpdateAdminDomainTransferBuyerCompanyInfoInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'companyId': value['companyId'],
50
+ };
51
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateAdminDomainTransferBuyerInfoInput
16
+ */
17
+ export interface UpdateAdminDomainTransferBuyerInfoInput {
18
+ /**
19
+ * Corrected buyer social security number required by certain domain transfer workflows.
20
+ * @type {string}
21
+ * @memberof UpdateAdminDomainTransferBuyerInfoInput
22
+ */
23
+ socialSecurityNumber: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UpdateAdminDomainTransferBuyerInfoInput interface.
27
+ */
28
+ export declare function instanceOfUpdateAdminDomainTransferBuyerInfoInput(value: object): value is UpdateAdminDomainTransferBuyerInfoInput;
29
+ export declare function UpdateAdminDomainTransferBuyerInfoInputFromJSON(json: any): UpdateAdminDomainTransferBuyerInfoInput;
30
+ export declare function UpdateAdminDomainTransferBuyerInfoInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAdminDomainTransferBuyerInfoInput;
31
+ export declare function UpdateAdminDomainTransferBuyerInfoInputToJSON(json: any): UpdateAdminDomainTransferBuyerInfoInput;
32
+ export declare function UpdateAdminDomainTransferBuyerInfoInputToJSONTyped(value?: UpdateAdminDomainTransferBuyerInfoInput | null, ignoreDiscriminator?: boolean): any;