@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
@@ -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.instanceOfUpdateAdminDomainTransferBuyerInfoInput = instanceOfUpdateAdminDomainTransferBuyerInfoInput;
17
+ exports.UpdateAdminDomainTransferBuyerInfoInputFromJSON = UpdateAdminDomainTransferBuyerInfoInputFromJSON;
18
+ exports.UpdateAdminDomainTransferBuyerInfoInputFromJSONTyped = UpdateAdminDomainTransferBuyerInfoInputFromJSONTyped;
19
+ exports.UpdateAdminDomainTransferBuyerInfoInputToJSON = UpdateAdminDomainTransferBuyerInfoInputToJSON;
20
+ exports.UpdateAdminDomainTransferBuyerInfoInputToJSONTyped = UpdateAdminDomainTransferBuyerInfoInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateAdminDomainTransferBuyerInfoInput interface.
23
+ */
24
+ function instanceOfUpdateAdminDomainTransferBuyerInfoInput(value) {
25
+ if (!('socialSecurityNumber' in value) || value['socialSecurityNumber'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function UpdateAdminDomainTransferBuyerInfoInputFromJSON(json) {
30
+ return UpdateAdminDomainTransferBuyerInfoInputFromJSONTyped(json, false);
31
+ }
32
+ function UpdateAdminDomainTransferBuyerInfoInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'socialSecurityNumber': json['socialSecurityNumber'],
38
+ };
39
+ }
40
+ function UpdateAdminDomainTransferBuyerInfoInputToJSON(json) {
41
+ return UpdateAdminDomainTransferBuyerInfoInputToJSONTyped(json, false);
42
+ }
43
+ function UpdateAdminDomainTransferBuyerInfoInputToJSONTyped(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
+ }
@@ -223,6 +223,7 @@ export * from './DomainTransferDetailWorkflowStepActionDto';
223
223
  export * from './DomainTransferDetailWorkflowStepDto';
224
224
  export * from './DomainTransferDetailsAuthCodeDto';
225
225
  export * from './DomainTransferDetailsBuyerDto';
226
+ export * from './DomainTransferDetailsBuyerInfoDto';
226
227
  export * from './DomainTransferDetailsDomainDto';
227
228
  export * from './DomainTransferDetailsDto';
228
229
  export * from './DomainTransferDetailsOrderDto';
@@ -524,6 +525,8 @@ export * from './UkBankAccountDetails';
524
525
  export * from './UpdateAccountBillingInformationInput';
525
526
  export * from './UpdateAccountChallengeRewardBalanceInput';
526
527
  export * from './UpdateAccountNoteInput';
528
+ export * from './UpdateAdminDomainTransferBuyerCompanyInfoInput';
529
+ export * from './UpdateAdminDomainTransferBuyerInfoInput';
527
530
  export * from './UpdateApiKeyInput';
528
531
  export * from './UpdateAuctionMuteStatusInput';
529
532
  export * from './UpdateBuyerDomainTransferBuyerInfoInput';
@@ -241,6 +241,7 @@ __exportStar(require("./DomainTransferDetailWorkflowStepActionDto"), exports);
241
241
  __exportStar(require("./DomainTransferDetailWorkflowStepDto"), exports);
242
242
  __exportStar(require("./DomainTransferDetailsAuthCodeDto"), exports);
243
243
  __exportStar(require("./DomainTransferDetailsBuyerDto"), exports);
244
+ __exportStar(require("./DomainTransferDetailsBuyerInfoDto"), exports);
244
245
  __exportStar(require("./DomainTransferDetailsDomainDto"), exports);
245
246
  __exportStar(require("./DomainTransferDetailsDto"), exports);
246
247
  __exportStar(require("./DomainTransferDetailsOrderDto"), exports);
@@ -542,6 +543,8 @@ __exportStar(require("./UkBankAccountDetails"), exports);
542
543
  __exportStar(require("./UpdateAccountBillingInformationInput"), exports);
543
544
  __exportStar(require("./UpdateAccountChallengeRewardBalanceInput"), exports);
544
545
  __exportStar(require("./UpdateAccountNoteInput"), exports);
546
+ __exportStar(require("./UpdateAdminDomainTransferBuyerCompanyInfoInput"), exports);
547
+ __exportStar(require("./UpdateAdminDomainTransferBuyerInfoInput"), exports);
545
548
  __exportStar(require("./UpdateApiKeyInput"), exports);
546
549
  __exportStar(require("./UpdateAuctionMuteStatusInput"), exports);
547
550
  __exportStar(require("./UpdateBuyerDomainTransferBuyerInfoInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.481",
3
+ "version": "0.0.483",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -73,6 +73,8 @@ import type {
73
73
  SubscriptionDetailsDto,
74
74
  UpdateAccountChallengeRewardBalanceInput,
75
75
  UpdateAccountNoteInput,
76
+ UpdateAdminDomainTransferBuyerCompanyInfoInput,
77
+ UpdateAdminDomainTransferBuyerInfoInput,
76
78
  UpdateChallengeInput,
77
79
  UpdateFeatureFlagInput,
78
80
  UpdateMarketplaceInput,
@@ -196,6 +198,10 @@ import {
196
198
  UpdateAccountChallengeRewardBalanceInputToJSON,
197
199
  UpdateAccountNoteInputFromJSON,
198
200
  UpdateAccountNoteInputToJSON,
201
+ UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSON,
202
+ UpdateAdminDomainTransferBuyerCompanyInfoInputToJSON,
203
+ UpdateAdminDomainTransferBuyerInfoInputFromJSON,
204
+ UpdateAdminDomainTransferBuyerInfoInputToJSON,
199
205
  UpdateChallengeInputFromJSON,
200
206
  UpdateChallengeInputToJSON,
201
207
  UpdateFeatureFlagInputFromJSON,
@@ -221,6 +227,16 @@ export interface AdminApiAdminGetAllDomainTransfersRequest {
221
227
  filterStatus?: string;
222
228
  }
223
229
 
230
+ export interface AdminApiAdminUpdateDomainTransferBuyerCompanyInfoRequest {
231
+ transferId: string;
232
+ updateAdminDomainTransferBuyerCompanyInfoInput: UpdateAdminDomainTransferBuyerCompanyInfoInput;
233
+ }
234
+
235
+ export interface AdminApiAdminUpdateDomainTransferBuyerInfoRequest {
236
+ transferId: string;
237
+ updateAdminDomainTransferBuyerInfoInput: UpdateAdminDomainTransferBuyerInfoInput;
238
+ }
239
+
224
240
  export interface AdminApiBulkCommissionActionsRequest {
225
241
  bulkCommissionActionsInput: BulkCommissionActionsInput;
226
242
  }
@@ -702,6 +718,110 @@ export class AdminApi extends runtime.BaseAPI {
702
718
  return await response.value();
703
719
  }
704
720
 
721
+ /**
722
+ * 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.
723
+ * Update the company id of the buyer
724
+ */
725
+ async adminUpdateDomainTransferBuyerCompanyInfoRaw(requestParameters: AdminApiAdminUpdateDomainTransferBuyerCompanyInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
726
+ if (requestParameters['transferId'] == null) {
727
+ throw new runtime.RequiredError(
728
+ 'transferId',
729
+ 'Required parameter "transferId" was null or undefined when calling adminUpdateDomainTransferBuyerCompanyInfo().'
730
+ );
731
+ }
732
+
733
+ if (requestParameters['updateAdminDomainTransferBuyerCompanyInfoInput'] == null) {
734
+ throw new runtime.RequiredError(
735
+ 'updateAdminDomainTransferBuyerCompanyInfoInput',
736
+ 'Required parameter "updateAdminDomainTransferBuyerCompanyInfoInput" was null or undefined when calling adminUpdateDomainTransferBuyerCompanyInfo().'
737
+ );
738
+ }
739
+
740
+ const queryParameters: any = {};
741
+
742
+ const headerParameters: runtime.HTTPHeaders = {};
743
+
744
+ headerParameters['Content-Type'] = 'application/json';
745
+
746
+ if (this.configuration && this.configuration.accessToken) {
747
+ const token = this.configuration.accessToken;
748
+ const tokenString = await token("bearer", []);
749
+
750
+ if (tokenString) {
751
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
752
+ }
753
+ }
754
+ const response = await this.request({
755
+ path: `/admin/domain-transfers/{transferId}/buyer-company-info`.replace(`{${"transferId"}}`, encodeURIComponent(String(requestParameters['transferId']))),
756
+ method: 'PATCH',
757
+ headers: headerParameters,
758
+ query: queryParameters,
759
+ body: UpdateAdminDomainTransferBuyerCompanyInfoInputToJSON(requestParameters['updateAdminDomainTransferBuyerCompanyInfoInput']),
760
+ }, initOverrides);
761
+
762
+ return new runtime.VoidApiResponse(response);
763
+ }
764
+
765
+ /**
766
+ * 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.
767
+ * Update the company id of the buyer
768
+ */
769
+ async adminUpdateDomainTransferBuyerCompanyInfo(requestParameters: AdminApiAdminUpdateDomainTransferBuyerCompanyInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
770
+ await this.adminUpdateDomainTransferBuyerCompanyInfoRaw(requestParameters, initOverrides);
771
+ }
772
+
773
+ /**
774
+ * 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.
775
+ * Correct the transfer info of the buyer
776
+ */
777
+ async adminUpdateDomainTransferBuyerInfoRaw(requestParameters: AdminApiAdminUpdateDomainTransferBuyerInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
778
+ if (requestParameters['transferId'] == null) {
779
+ throw new runtime.RequiredError(
780
+ 'transferId',
781
+ 'Required parameter "transferId" was null or undefined when calling adminUpdateDomainTransferBuyerInfo().'
782
+ );
783
+ }
784
+
785
+ if (requestParameters['updateAdminDomainTransferBuyerInfoInput'] == null) {
786
+ throw new runtime.RequiredError(
787
+ 'updateAdminDomainTransferBuyerInfoInput',
788
+ 'Required parameter "updateAdminDomainTransferBuyerInfoInput" was null or undefined when calling adminUpdateDomainTransferBuyerInfo().'
789
+ );
790
+ }
791
+
792
+ const queryParameters: any = {};
793
+
794
+ const headerParameters: runtime.HTTPHeaders = {};
795
+
796
+ headerParameters['Content-Type'] = 'application/json';
797
+
798
+ if (this.configuration && this.configuration.accessToken) {
799
+ const token = this.configuration.accessToken;
800
+ const tokenString = await token("bearer", []);
801
+
802
+ if (tokenString) {
803
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
804
+ }
805
+ }
806
+ const response = await this.request({
807
+ path: `/admin/domain-transfers/{transferId}/buyer-info`.replace(`{${"transferId"}}`, encodeURIComponent(String(requestParameters['transferId']))),
808
+ method: 'PATCH',
809
+ headers: headerParameters,
810
+ query: queryParameters,
811
+ body: UpdateAdminDomainTransferBuyerInfoInputToJSON(requestParameters['updateAdminDomainTransferBuyerInfoInput']),
812
+ }, initOverrides);
813
+
814
+ return new runtime.VoidApiResponse(response);
815
+ }
816
+
817
+ /**
818
+ * 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.
819
+ * Correct the transfer info of the buyer
820
+ */
821
+ async adminUpdateDomainTransferBuyerInfo(requestParameters: AdminApiAdminUpdateDomainTransferBuyerInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
822
+ await this.adminUpdateDomainTransferBuyerInfoRaw(requestParameters, initOverrides);
823
+ }
824
+
705
825
  /**
706
826
  * Executes multiple commission add, update, or delete actions in a single request.
707
827
  * Bulk commission actions
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { CompanyInformationDto } from './CompanyInformationDto';
17
+ import {
18
+ CompanyInformationDtoFromJSON,
19
+ CompanyInformationDtoFromJSONTyped,
20
+ CompanyInformationDtoToJSON,
21
+ CompanyInformationDtoToJSONTyped,
22
+ } from './CompanyInformationDto';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -25,6 +33,12 @@ export interface DomainTransferDetailsBuyerDto {
25
33
  * @memberof DomainTransferDetailsBuyerDto
26
34
  */
27
35
  id: string;
36
+ /**
37
+ * Whether the buyer invoice billing details represent a person or a company.
38
+ * @type {string}
39
+ * @memberof DomainTransferDetailsBuyerDto
40
+ */
41
+ type: DomainTransferDetailsBuyerDtoTypeEnum;
28
42
  /**
29
43
  * The buyer email address.
30
44
  * @type {string}
@@ -49,17 +63,38 @@ export interface DomainTransferDetailsBuyerDto {
49
63
  * @memberof DomainTransferDetailsBuyerDto
50
64
  */
51
65
  companyName: string | null;
66
+ /**
67
+ * The company details of the buyer invoice, when it is a company.
68
+ * @type {CompanyInformationDto}
69
+ * @memberof DomainTransferDetailsBuyerDto
70
+ */
71
+ companyInfo: CompanyInformationDto | null;
52
72
  }
53
73
 
74
+
75
+ /**
76
+ * @export
77
+ */
78
+ export const DomainTransferDetailsBuyerDtoTypeEnum = {
79
+ COMPANY: 'company',
80
+ GOVERNMENT_ENTITY: 'government_entity',
81
+ INDIVIDUAL: 'individual',
82
+ NON_PROFIT: 'non_profit'
83
+ } as const;
84
+ export type DomainTransferDetailsBuyerDtoTypeEnum = typeof DomainTransferDetailsBuyerDtoTypeEnum[keyof typeof DomainTransferDetailsBuyerDtoTypeEnum];
85
+
86
+
54
87
  /**
55
88
  * Check if a given object implements the DomainTransferDetailsBuyerDto interface.
56
89
  */
57
90
  export function instanceOfDomainTransferDetailsBuyerDto(value: object): value is DomainTransferDetailsBuyerDto {
58
91
  if (!('id' in value) || value['id'] === undefined) return false;
92
+ if (!('type' in value) || value['type'] === undefined) return false;
59
93
  if (!('email' in value) || value['email'] === undefined) return false;
60
94
  if (!('firstName' in value) || value['firstName'] === undefined) return false;
61
95
  if (!('lastName' in value) || value['lastName'] === undefined) return false;
62
96
  if (!('companyName' in value) || value['companyName'] === undefined) return false;
97
+ if (!('companyInfo' in value) || value['companyInfo'] === undefined) return false;
63
98
  return true;
64
99
  }
65
100
 
@@ -74,10 +109,12 @@ export function DomainTransferDetailsBuyerDtoFromJSONTyped(json: any, ignoreDisc
74
109
  return {
75
110
 
76
111
  'id': json['id'],
112
+ 'type': json['type'],
77
113
  'email': json['email'],
78
114
  'firstName': json['firstName'],
79
115
  'lastName': json['lastName'],
80
116
  'companyName': json['companyName'],
117
+ 'companyInfo': CompanyInformationDtoFromJSON(json['companyInfo']),
81
118
  };
82
119
  }
83
120
 
@@ -93,10 +130,12 @@ export function DomainTransferDetailsBuyerDtoToJSONTyped(value?: DomainTransferD
93
130
  return {
94
131
 
95
132
  'id': value['id'],
133
+ 'type': value['type'],
96
134
  'email': value['email'],
97
135
  'firstName': value['firstName'],
98
136
  'lastName': value['lastName'],
99
137
  'companyName': value['companyName'],
138
+ 'companyInfo': CompanyInformationDtoToJSON(value['companyInfo']),
100
139
  };
101
140
  }
102
141
 
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface DomainTransferDetailsBuyerInfoDto
20
+ */
21
+ export interface DomainTransferDetailsBuyerInfoDto {
22
+ /**
23
+ * The buyer social security number.
24
+ * @type {string}
25
+ * @memberof DomainTransferDetailsBuyerInfoDto
26
+ */
27
+ socialSecurityNumber: string | null;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the DomainTransferDetailsBuyerInfoDto interface.
32
+ */
33
+ export function instanceOfDomainTransferDetailsBuyerInfoDto(value: object): value is DomainTransferDetailsBuyerInfoDto {
34
+ if (!('socialSecurityNumber' in value) || value['socialSecurityNumber'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function DomainTransferDetailsBuyerInfoDtoFromJSON(json: any): DomainTransferDetailsBuyerInfoDto {
39
+ return DomainTransferDetailsBuyerInfoDtoFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function DomainTransferDetailsBuyerInfoDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsBuyerInfoDto {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'socialSecurityNumber': json['socialSecurityNumber'],
49
+ };
50
+ }
51
+
52
+ export function DomainTransferDetailsBuyerInfoDtoToJSON(json: any): DomainTransferDetailsBuyerInfoDto {
53
+ return DomainTransferDetailsBuyerInfoDtoToJSONTyped(json, false);
54
+ }
55
+
56
+ export function DomainTransferDetailsBuyerInfoDtoToJSONTyped(value?: DomainTransferDetailsBuyerInfoDto | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'socialSecurityNumber': value['socialSecurityNumber'],
64
+ };
65
+ }
66
+
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { DomainTransferDetailsBuyerInfoDto } from './DomainTransferDetailsBuyerInfoDto';
17
+ import {
18
+ DomainTransferDetailsBuyerInfoDtoFromJSON,
19
+ DomainTransferDetailsBuyerInfoDtoFromJSONTyped,
20
+ DomainTransferDetailsBuyerInfoDtoToJSON,
21
+ DomainTransferDetailsBuyerInfoDtoToJSONTyped,
22
+ } from './DomainTransferDetailsBuyerInfoDto';
16
23
  import type { DomainTransferDetailsSubscriptionDto } from './DomainTransferDetailsSubscriptionDto';
17
24
  import {
18
25
  DomainTransferDetailsSubscriptionDtoFromJSON,
@@ -93,6 +100,12 @@ export interface DomainTransferDetailsDto {
93
100
  * @memberof DomainTransferDetailsDto
94
101
  */
95
102
  subscription: DomainTransferDetailsSubscriptionDto | null;
103
+ /**
104
+ * The transfer information provided by the buyer.
105
+ * @type {DomainTransferDetailsBuyerInfoDto}
106
+ * @memberof DomainTransferDetailsDto
107
+ */
108
+ buyerInfo: DomainTransferDetailsBuyerInfoDto | null;
96
109
  /**
97
110
  * The domain transfer status.
98
111
  * @type {string}
@@ -179,6 +192,7 @@ export function instanceOfDomainTransferDetailsDto(value: object): value is Doma
179
192
  if (!('domain' in value) || value['domain'] === undefined) return false;
180
193
  if (!('order' in value) || value['order'] === undefined) return false;
181
194
  if (!('subscription' in value) || value['subscription'] === undefined) return false;
195
+ if (!('buyerInfo' in value) || value['buyerInfo'] === undefined) return false;
182
196
  if (!('status' in value) || value['status'] === undefined) return false;
183
197
  if (!('statusSeller' in value) || value['statusSeller'] === undefined) return false;
184
198
  if (!('authCode' in value) || value['authCode'] === undefined) return false;
@@ -204,6 +218,7 @@ export function DomainTransferDetailsDtoFromJSONTyped(json: any, ignoreDiscrimin
204
218
  'domain': DomainTransferDetailsDomainDtoFromJSON(json['domain']),
205
219
  'order': DomainTransferDetailsOrderDtoFromJSON(json['order']),
206
220
  'subscription': DomainTransferDetailsSubscriptionDtoFromJSON(json['subscription']),
221
+ 'buyerInfo': DomainTransferDetailsBuyerInfoDtoFromJSON(json['buyerInfo']),
207
222
  'status': json['status'],
208
223
  'statusSeller': json['statusSeller'],
209
224
  'authCode': DomainTransferDetailsAuthCodeDtoFromJSON(json['authCode']),
@@ -230,6 +245,7 @@ export function DomainTransferDetailsDtoToJSONTyped(value?: DomainTransferDetail
230
245
  'domain': DomainTransferDetailsDomainDtoToJSON(value['domain']),
231
246
  'order': DomainTransferDetailsOrderDtoToJSON(value['order']),
232
247
  'subscription': DomainTransferDetailsSubscriptionDtoToJSON(value['subscription']),
248
+ 'buyerInfo': DomainTransferDetailsBuyerInfoDtoToJSON(value['buyerInfo']),
233
249
  'status': value['status'],
234
250
  'statusSeller': value['statusSeller'],
235
251
  'authCode': DomainTransferDetailsAuthCodeDtoToJSON(value['authCode']),
@@ -97,7 +97,8 @@ export const FeatureFlagListItemDtoNameEnum = {
97
97
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
98
98
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
99
99
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
100
- LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
100
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
101
+ DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
101
102
  } as const;
102
103
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
103
104
 
@@ -183,7 +183,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
183
183
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
184
184
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
185
185
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
186
- LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
186
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
187
+ DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
187
188
  } as const;
188
189
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
189
190
 
@@ -189,7 +189,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
189
189
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
190
190
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
191
191
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
192
- LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
192
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
193
+ DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
193
194
  } as const;
194
195
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
195
196
 
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateAdminDomainTransferBuyerCompanyInfoInput
20
+ */
21
+ export interface UpdateAdminDomainTransferBuyerCompanyInfoInput {
22
+ /**
23
+ * Company registration or chamber of commerce ID of the buyer company. Null clears it.
24
+ * @type {string}
25
+ * @memberof UpdateAdminDomainTransferBuyerCompanyInfoInput
26
+ */
27
+ companyId: string | null;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the UpdateAdminDomainTransferBuyerCompanyInfoInput interface.
32
+ */
33
+ export function instanceOfUpdateAdminDomainTransferBuyerCompanyInfoInput(value: object): value is UpdateAdminDomainTransferBuyerCompanyInfoInput {
34
+ if (!('companyId' in value) || value['companyId'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSON(json: any): UpdateAdminDomainTransferBuyerCompanyInfoInput {
39
+ return UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function UpdateAdminDomainTransferBuyerCompanyInfoInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAdminDomainTransferBuyerCompanyInfoInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'companyId': json['companyId'],
49
+ };
50
+ }
51
+
52
+ export function UpdateAdminDomainTransferBuyerCompanyInfoInputToJSON(json: any): UpdateAdminDomainTransferBuyerCompanyInfoInput {
53
+ return UpdateAdminDomainTransferBuyerCompanyInfoInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function UpdateAdminDomainTransferBuyerCompanyInfoInputToJSONTyped(value?: UpdateAdminDomainTransferBuyerCompanyInfoInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'companyId': value['companyId'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateAdminDomainTransferBuyerInfoInput
20
+ */
21
+ export interface UpdateAdminDomainTransferBuyerInfoInput {
22
+ /**
23
+ * Corrected buyer social security number required by certain domain transfer workflows.
24
+ * @type {string}
25
+ * @memberof UpdateAdminDomainTransferBuyerInfoInput
26
+ */
27
+ socialSecurityNumber: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the UpdateAdminDomainTransferBuyerInfoInput interface.
32
+ */
33
+ export function instanceOfUpdateAdminDomainTransferBuyerInfoInput(value: object): value is UpdateAdminDomainTransferBuyerInfoInput {
34
+ if (!('socialSecurityNumber' in value) || value['socialSecurityNumber'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function UpdateAdminDomainTransferBuyerInfoInputFromJSON(json: any): UpdateAdminDomainTransferBuyerInfoInput {
39
+ return UpdateAdminDomainTransferBuyerInfoInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function UpdateAdminDomainTransferBuyerInfoInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAdminDomainTransferBuyerInfoInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'socialSecurityNumber': json['socialSecurityNumber'],
49
+ };
50
+ }
51
+
52
+ export function UpdateAdminDomainTransferBuyerInfoInputToJSON(json: any): UpdateAdminDomainTransferBuyerInfoInput {
53
+ return UpdateAdminDomainTransferBuyerInfoInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function UpdateAdminDomainTransferBuyerInfoInputToJSONTyped(value?: UpdateAdminDomainTransferBuyerInfoInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'socialSecurityNumber': value['socialSecurityNumber'],
64
+ };
65
+ }
66
+
@@ -225,6 +225,7 @@ export * from './DomainTransferDetailWorkflowStepActionDto';
225
225
  export * from './DomainTransferDetailWorkflowStepDto';
226
226
  export * from './DomainTransferDetailsAuthCodeDto';
227
227
  export * from './DomainTransferDetailsBuyerDto';
228
+ export * from './DomainTransferDetailsBuyerInfoDto';
228
229
  export * from './DomainTransferDetailsDomainDto';
229
230
  export * from './DomainTransferDetailsDto';
230
231
  export * from './DomainTransferDetailsOrderDto';
@@ -526,6 +527,8 @@ export * from './UkBankAccountDetails';
526
527
  export * from './UpdateAccountBillingInformationInput';
527
528
  export * from './UpdateAccountChallengeRewardBalanceInput';
528
529
  export * from './UpdateAccountNoteInput';
530
+ export * from './UpdateAdminDomainTransferBuyerCompanyInfoInput';
531
+ export * from './UpdateAdminDomainTransferBuyerInfoInput';
529
532
  export * from './UpdateApiKeyInput';
530
533
  export * from './UpdateAuctionMuteStatusInput';
531
534
  export * from './UpdateBuyerDomainTransferBuyerInfoInput';