@randock/nameshift-api-client 0.0.487 → 0.0.488
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +10 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +23 -1
- package/dist/apis/AdminApi.js +77 -0
- package/dist/apis/BuyersApi.d.ts +33 -1
- package/dist/apis/BuyersApi.js +121 -0
- package/dist/apis/DomainAppraisalRequestsApi.d.ts +50 -0
- package/dist/apis/DomainAppraisalRequestsApi.js +217 -0
- package/dist/apis/DomainAppraisalRequestsPublicApi.d.ts +86 -0
- package/dist/apis/DomainAppraisalRequestsPublicApi.js +321 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AdminDomainAppraisalRequestListItemDto.d.ts +118 -0
- package/dist/models/AdminDomainAppraisalRequestListItemDto.js +109 -0
- package/dist/models/BuyerDomainAppraisalRequestCheckoutDto.d.ts +268 -0
- package/dist/models/BuyerDomainAppraisalRequestCheckoutDto.js +237 -0
- package/dist/models/BuyerInvoiceDto.d.ts +2 -2
- package/dist/models/BuyerSessionDto.d.ts +6 -0
- package/dist/models/BuyerSessionDto.js +4 -0
- package/dist/models/CreateAccountPaymentInput.d.ts +1 -0
- package/dist/models/CreateAccountPaymentInput.js +2 -1
- package/dist/models/CreateBuyerDomainAppraisalRequestInput.d.ts +44 -0
- package/dist/models/CreateBuyerDomainAppraisalRequestInput.js +59 -0
- package/dist/models/DomainAppraisalRequestListItemDto.d.ts +82 -0
- package/dist/models/DomainAppraisalRequestListItemDto.js +85 -0
- package/dist/models/DomainAppraisalRequestStatus.d.ts +27 -0
- package/dist/models/DomainAppraisalRequestStatus.js +53 -0
- package/dist/models/DomainAppraisalRequester.d.ts +25 -0
- package/dist/models/DomainAppraisalRequester.js +51 -0
- package/dist/models/DomainSalesInformationDto.d.ts +6 -0
- package/dist/models/DomainSalesInformationDto.js +4 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/GetAdminDomainAppraisalRequests200Response.d.ts +47 -0
- package/dist/models/GetAdminDomainAppraisalRequests200Response.js +62 -0
- package/dist/models/GetBuyerDomainAppraisalRequests200Response.d.ts +47 -0
- package/dist/models/GetBuyerDomainAppraisalRequests200Response.js +62 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/InvoiceDto.d.ts +2 -2
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +82 -0
- package/src/apis/BuyersApi.ts +113 -0
- package/src/apis/DomainAppraisalRequestsApi.ts +157 -0
- package/src/apis/DomainAppraisalRequestsPublicApi.ts +271 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AdminDomainAppraisalRequestListItemDto.ts +209 -0
- package/src/models/BuyerDomainAppraisalRequestCheckoutDto.ts +411 -0
- package/src/models/BuyerInvoiceDto.ts +2 -2
- package/src/models/BuyerSessionDto.ts +9 -0
- package/src/models/CreateAccountPaymentInput.ts +2 -1
- package/src/models/CreateBuyerDomainAppraisalRequestInput.ts +84 -0
- package/src/models/DomainAppraisalRequestListItemDto.ts +155 -0
- package/src/models/DomainAppraisalRequestStatus.ts +55 -0
- package/src/models/DomainAppraisalRequester.ts +53 -0
- package/src/models/DomainSalesInformationDto.ts +9 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/GetAdminDomainAppraisalRequests200Response.ts +106 -0
- package/src/models/GetBuyerDomainAppraisalRequests200Response.ts +106 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/InvoiceDto.ts +2 -2
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,84 @@
|
|
|
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 CreateBuyerDomainAppraisalRequestInput
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateBuyerDomainAppraisalRequestInput {
|
|
22
|
+
/**
|
|
23
|
+
* Email of the buyer requesting the domain appraisal
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateBuyerDomainAppraisalRequestInput
|
|
26
|
+
*/
|
|
27
|
+
email: string;
|
|
28
|
+
/**
|
|
29
|
+
* Locale for the domain appraisal request and invoice communications
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateBuyerDomainAppraisalRequestInput
|
|
32
|
+
*/
|
|
33
|
+
locale: string;
|
|
34
|
+
/**
|
|
35
|
+
* Full name of the domain to appraise
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CreateBuyerDomainAppraisalRequestInput
|
|
38
|
+
*/
|
|
39
|
+
domainName: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the CreateBuyerDomainAppraisalRequestInput interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfCreateBuyerDomainAppraisalRequestInput(value: object): value is CreateBuyerDomainAppraisalRequestInput {
|
|
46
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
47
|
+
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
48
|
+
if (!('domainName' in value) || value['domainName'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CreateBuyerDomainAppraisalRequestInputFromJSON(json: any): CreateBuyerDomainAppraisalRequestInput {
|
|
53
|
+
return CreateBuyerDomainAppraisalRequestInputFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CreateBuyerDomainAppraisalRequestInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBuyerDomainAppraisalRequestInput {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'email': json['email'],
|
|
63
|
+
'locale': json['locale'],
|
|
64
|
+
'domainName': json['domainName'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function CreateBuyerDomainAppraisalRequestInputToJSON(json: any): CreateBuyerDomainAppraisalRequestInput {
|
|
69
|
+
return CreateBuyerDomainAppraisalRequestInputToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function CreateBuyerDomainAppraisalRequestInputToJSONTyped(value?: CreateBuyerDomainAppraisalRequestInput | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'email': value['email'],
|
|
80
|
+
'locale': value['locale'],
|
|
81
|
+
'domainName': value['domainName'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { DomainAppraisalRequester } from './DomainAppraisalRequester';
|
|
17
|
+
import {
|
|
18
|
+
DomainAppraisalRequesterFromJSON,
|
|
19
|
+
DomainAppraisalRequesterFromJSONTyped,
|
|
20
|
+
DomainAppraisalRequesterToJSON,
|
|
21
|
+
DomainAppraisalRequesterToJSONTyped,
|
|
22
|
+
} from './DomainAppraisalRequester';
|
|
23
|
+
import type { DomainAppraisalRequestStatus } from './DomainAppraisalRequestStatus';
|
|
24
|
+
import {
|
|
25
|
+
DomainAppraisalRequestStatusFromJSON,
|
|
26
|
+
DomainAppraisalRequestStatusFromJSONTyped,
|
|
27
|
+
DomainAppraisalRequestStatusToJSON,
|
|
28
|
+
DomainAppraisalRequestStatusToJSONTyped,
|
|
29
|
+
} from './DomainAppraisalRequestStatus';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface DomainAppraisalRequestListItemDto
|
|
35
|
+
*/
|
|
36
|
+
export interface DomainAppraisalRequestListItemDto {
|
|
37
|
+
/**
|
|
38
|
+
* Domain appraisal request identifier.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
41
|
+
*/
|
|
42
|
+
id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Appraised domain identifier.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
47
|
+
*/
|
|
48
|
+
domainId: string;
|
|
49
|
+
/**
|
|
50
|
+
* Appraised domain name (Unicode).
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
53
|
+
*/
|
|
54
|
+
domainName: string;
|
|
55
|
+
/**
|
|
56
|
+
* Whether a buyer or the seller of the domain requested it.
|
|
57
|
+
* @type {DomainAppraisalRequester}
|
|
58
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
59
|
+
*/
|
|
60
|
+
requester: DomainAppraisalRequester;
|
|
61
|
+
/**
|
|
62
|
+
* Domain appraisal request status.
|
|
63
|
+
* @type {DomainAppraisalRequestStatus}
|
|
64
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
65
|
+
*/
|
|
66
|
+
status: DomainAppraisalRequestStatus;
|
|
67
|
+
/**
|
|
68
|
+
* Appraised amount in EUR, once appraised.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
71
|
+
*/
|
|
72
|
+
appraisedAmountEur: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* When it was appraised.
|
|
75
|
+
* @type {Date}
|
|
76
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
77
|
+
*/
|
|
78
|
+
appraisedAt: Date | null;
|
|
79
|
+
/**
|
|
80
|
+
* When it was sent to be appraised, after payment.
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
83
|
+
*/
|
|
84
|
+
requestedAt: Date | null;
|
|
85
|
+
/**
|
|
86
|
+
* When it was created.
|
|
87
|
+
* @type {Date}
|
|
88
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
89
|
+
*/
|
|
90
|
+
createdAt: Date;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Check if a given object implements the DomainAppraisalRequestListItemDto interface.
|
|
97
|
+
*/
|
|
98
|
+
export function instanceOfDomainAppraisalRequestListItemDto(value: object): value is DomainAppraisalRequestListItemDto {
|
|
99
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
100
|
+
if (!('domainId' in value) || value['domainId'] === undefined) return false;
|
|
101
|
+
if (!('domainName' in value) || value['domainName'] === undefined) return false;
|
|
102
|
+
if (!('requester' in value) || value['requester'] === undefined) return false;
|
|
103
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
104
|
+
if (!('appraisedAmountEur' in value) || value['appraisedAmountEur'] === undefined) return false;
|
|
105
|
+
if (!('appraisedAt' in value) || value['appraisedAt'] === undefined) return false;
|
|
106
|
+
if (!('requestedAt' in value) || value['requestedAt'] === undefined) return false;
|
|
107
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function DomainAppraisalRequestListItemDtoFromJSON(json: any): DomainAppraisalRequestListItemDto {
|
|
112
|
+
return DomainAppraisalRequestListItemDtoFromJSONTyped(json, false);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function DomainAppraisalRequestListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAppraisalRequestListItemDto {
|
|
116
|
+
if (json == null) {
|
|
117
|
+
return json;
|
|
118
|
+
}
|
|
119
|
+
return {
|
|
120
|
+
|
|
121
|
+
'id': json['id'],
|
|
122
|
+
'domainId': json['domainId'],
|
|
123
|
+
'domainName': json['domainName'],
|
|
124
|
+
'requester': DomainAppraisalRequesterFromJSON(json['requester']),
|
|
125
|
+
'status': DomainAppraisalRequestStatusFromJSON(json['status']),
|
|
126
|
+
'appraisedAmountEur': json['appraisedAmountEur'],
|
|
127
|
+
'appraisedAt': (json['appraisedAt'] == null ? null : new Date(json['appraisedAt'])),
|
|
128
|
+
'requestedAt': (json['requestedAt'] == null ? null : new Date(json['requestedAt'])),
|
|
129
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function DomainAppraisalRequestListItemDtoToJSON(json: any): DomainAppraisalRequestListItemDto {
|
|
134
|
+
return DomainAppraisalRequestListItemDtoToJSONTyped(json, false);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function DomainAppraisalRequestListItemDtoToJSONTyped(value?: DomainAppraisalRequestListItemDto | null, ignoreDiscriminator: boolean = false): any {
|
|
138
|
+
if (value == null) {
|
|
139
|
+
return value;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
return {
|
|
143
|
+
|
|
144
|
+
'id': value['id'],
|
|
145
|
+
'domainId': value['domainId'],
|
|
146
|
+
'domainName': value['domainName'],
|
|
147
|
+
'requester': DomainAppraisalRequesterToJSON(value['requester']),
|
|
148
|
+
'status': DomainAppraisalRequestStatusToJSON(value['status']),
|
|
149
|
+
'appraisedAmountEur': value['appraisedAmountEur'],
|
|
150
|
+
'appraisedAt': (value['appraisedAt'] == null ? null : (value['appraisedAt'] as any).toISOString()),
|
|
151
|
+
'requestedAt': (value['requestedAt'] == null ? null : (value['requestedAt'] as any).toISOString()),
|
|
152
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Domain appraisal request status.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const DomainAppraisalRequestStatus = {
|
|
21
|
+
PENDING: 'pending',
|
|
22
|
+
REQUESTED: 'requested',
|
|
23
|
+
APPRAISED: 'appraised',
|
|
24
|
+
CANCELLED: 'cancelled'
|
|
25
|
+
} as const;
|
|
26
|
+
export type DomainAppraisalRequestStatus = typeof DomainAppraisalRequestStatus[keyof typeof DomainAppraisalRequestStatus];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function instanceOfDomainAppraisalRequestStatus(value: any): boolean {
|
|
30
|
+
for (const key in DomainAppraisalRequestStatus) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(DomainAppraisalRequestStatus, key)) {
|
|
32
|
+
if (DomainAppraisalRequestStatus[key as keyof typeof DomainAppraisalRequestStatus] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function DomainAppraisalRequestStatusFromJSON(json: any): DomainAppraisalRequestStatus {
|
|
41
|
+
return DomainAppraisalRequestStatusFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function DomainAppraisalRequestStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAppraisalRequestStatus {
|
|
45
|
+
return json as DomainAppraisalRequestStatus;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function DomainAppraisalRequestStatusToJSON(value?: DomainAppraisalRequestStatus | null): any {
|
|
49
|
+
return value as any;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function DomainAppraisalRequestStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): DomainAppraisalRequestStatus {
|
|
53
|
+
return value as DomainAppraisalRequestStatus;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Whether a buyer or the seller of the domain requested it.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const DomainAppraisalRequester = {
|
|
21
|
+
BUYER: 'buyer',
|
|
22
|
+
SELLER: 'seller'
|
|
23
|
+
} as const;
|
|
24
|
+
export type DomainAppraisalRequester = typeof DomainAppraisalRequester[keyof typeof DomainAppraisalRequester];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfDomainAppraisalRequester(value: any): boolean {
|
|
28
|
+
for (const key in DomainAppraisalRequester) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(DomainAppraisalRequester, key)) {
|
|
30
|
+
if (DomainAppraisalRequester[key as keyof typeof DomainAppraisalRequester] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function DomainAppraisalRequesterFromJSON(json: any): DomainAppraisalRequester {
|
|
39
|
+
return DomainAppraisalRequesterFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function DomainAppraisalRequesterFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAppraisalRequester {
|
|
43
|
+
return json as DomainAppraisalRequester;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function DomainAppraisalRequesterToJSON(value?: DomainAppraisalRequester | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function DomainAppraisalRequesterToJSONTyped(value: any, ignoreDiscriminator: boolean): DomainAppraisalRequester {
|
|
51
|
+
return value as DomainAppraisalRequester;
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -159,6 +159,12 @@ export interface DomainSalesInformationDto {
|
|
|
159
159
|
* @memberof DomainSalesInformationDto
|
|
160
160
|
*/
|
|
161
161
|
leadBuyerSettings: LeadBuyerConfigDto | null;
|
|
162
|
+
/**
|
|
163
|
+
* Whether anyone can request a domain appraisal of this domain from its landing page.
|
|
164
|
+
* @type {boolean}
|
|
165
|
+
* @memberof DomainSalesInformationDto
|
|
166
|
+
*/
|
|
167
|
+
domainAppraisalRequestEnabled: boolean;
|
|
162
168
|
/**
|
|
163
169
|
*
|
|
164
170
|
* @type {DomainSalesInformationDtoLandingPageDesign}
|
|
@@ -186,6 +192,7 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
186
192
|
if (!('auctionId' in value) || value['auctionId'] === undefined) return false;
|
|
187
193
|
if (!('locked' in value) || value['locked'] === undefined) return false;
|
|
188
194
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined) return false;
|
|
195
|
+
if (!('domainAppraisalRequestEnabled' in value) || value['domainAppraisalRequestEnabled'] === undefined) return false;
|
|
189
196
|
if (!('landingPageDesign' in value) || value['landingPageDesign'] === undefined) return false;
|
|
190
197
|
return true;
|
|
191
198
|
}
|
|
@@ -215,6 +222,7 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
215
222
|
'auctionId': json['auctionId'],
|
|
216
223
|
'locked': json['locked'],
|
|
217
224
|
'leadBuyerSettings': LeadBuyerConfigDtoFromJSON(json['leadBuyerSettings']),
|
|
225
|
+
'domainAppraisalRequestEnabled': json['domainAppraisalRequestEnabled'],
|
|
218
226
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignFromJSON(json['landingPageDesign']),
|
|
219
227
|
};
|
|
220
228
|
}
|
|
@@ -245,6 +253,7 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
245
253
|
'auctionId': value['auctionId'],
|
|
246
254
|
'locked': value['locked'],
|
|
247
255
|
'leadBuyerSettings': LeadBuyerConfigDtoToJSON(value['leadBuyerSettings']),
|
|
256
|
+
'domainAppraisalRequestEnabled': value['domainAppraisalRequestEnabled'],
|
|
248
257
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignToJSON(value['landingPageDesign']),
|
|
249
258
|
};
|
|
250
259
|
}
|
|
@@ -98,7 +98,8 @@ export const FeatureFlagListItemDtoNameEnum = {
|
|
|
98
98
|
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
99
99
|
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
100
100
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
101
|
-
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
|
|
101
|
+
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
102
|
+
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
|
|
102
103
|
} as const;
|
|
103
104
|
export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
|
|
104
105
|
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { AdminDomainAppraisalRequestListItemDto } from './AdminDomainAppraisalRequestListItemDto';
|
|
24
|
+
import {
|
|
25
|
+
AdminDomainAppraisalRequestListItemDtoFromJSON,
|
|
26
|
+
AdminDomainAppraisalRequestListItemDtoFromJSONTyped,
|
|
27
|
+
AdminDomainAppraisalRequestListItemDtoToJSON,
|
|
28
|
+
AdminDomainAppraisalRequestListItemDtoToJSONTyped,
|
|
29
|
+
} from './AdminDomainAppraisalRequestListItemDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetAdminDomainAppraisalRequests200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface GetAdminDomainAppraisalRequests200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<AdminDomainAppraisalRequestListItemDto>}
|
|
47
|
+
* @memberof GetAdminDomainAppraisalRequests200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<AdminDomainAppraisalRequestListItemDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof GetAdminDomainAppraisalRequests200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof GetAdminDomainAppraisalRequests200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the GetAdminDomainAppraisalRequests200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfGetAdminDomainAppraisalRequests200Response(value: object): value is GetAdminDomainAppraisalRequests200Response {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function GetAdminDomainAppraisalRequests200ResponseFromJSON(json: any): GetAdminDomainAppraisalRequests200Response {
|
|
75
|
+
return GetAdminDomainAppraisalRequests200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function GetAdminDomainAppraisalRequests200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAdminDomainAppraisalRequests200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(AdminDomainAppraisalRequestListItemDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function GetAdminDomainAppraisalRequests200ResponseToJSON(json: any): GetAdminDomainAppraisalRequests200Response {
|
|
91
|
+
return GetAdminDomainAppraisalRequests200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function GetAdminDomainAppraisalRequests200ResponseToJSONTyped(value?: GetAdminDomainAppraisalRequests200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(AdminDomainAppraisalRequestListItemDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { DomainAppraisalRequestListItemDto } from './DomainAppraisalRequestListItemDto';
|
|
24
|
+
import {
|
|
25
|
+
DomainAppraisalRequestListItemDtoFromJSON,
|
|
26
|
+
DomainAppraisalRequestListItemDtoFromJSONTyped,
|
|
27
|
+
DomainAppraisalRequestListItemDtoToJSON,
|
|
28
|
+
DomainAppraisalRequestListItemDtoToJSONTyped,
|
|
29
|
+
} from './DomainAppraisalRequestListItemDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetBuyerDomainAppraisalRequests200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface GetBuyerDomainAppraisalRequests200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<DomainAppraisalRequestListItemDto>}
|
|
47
|
+
* @memberof GetBuyerDomainAppraisalRequests200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<DomainAppraisalRequestListItemDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof GetBuyerDomainAppraisalRequests200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof GetBuyerDomainAppraisalRequests200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the GetBuyerDomainAppraisalRequests200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfGetBuyerDomainAppraisalRequests200Response(value: object): value is GetBuyerDomainAppraisalRequests200Response {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function GetBuyerDomainAppraisalRequests200ResponseFromJSON(json: any): GetBuyerDomainAppraisalRequests200Response {
|
|
75
|
+
return GetBuyerDomainAppraisalRequests200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function GetBuyerDomainAppraisalRequests200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBuyerDomainAppraisalRequests200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(DomainAppraisalRequestListItemDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function GetBuyerDomainAppraisalRequests200ResponseToJSON(json: any): GetBuyerDomainAppraisalRequests200Response {
|
|
91
|
+
return GetBuyerDomainAppraisalRequests200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function GetBuyerDomainAppraisalRequests200ResponseToJSONTyped(value?: GetBuyerDomainAppraisalRequests200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(DomainAppraisalRequestListItemDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -184,7 +184,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
|
|
|
184
184
|
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
185
185
|
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
186
186
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
187
|
-
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
|
|
187
|
+
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
188
|
+
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
|
|
188
189
|
} as const;
|
|
189
190
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
190
191
|
|
package/src/models/InvoiceDto.ts
CHANGED
|
@@ -91,11 +91,11 @@ export interface InvoiceDto {
|
|
|
91
91
|
*/
|
|
92
92
|
target: InvoiceDtoTargetEnum;
|
|
93
93
|
/**
|
|
94
|
-
* Seller account information.
|
|
94
|
+
* Seller account information; null only for the invoice of a buyer's domain appraisal, which Nameshift sells.
|
|
95
95
|
* @type {InvoiceSellerAccountDto}
|
|
96
96
|
* @memberof InvoiceDto
|
|
97
97
|
*/
|
|
98
|
-
sellerAccount: InvoiceSellerAccountDto;
|
|
98
|
+
sellerAccount: InvoiceSellerAccountDto | null;
|
|
99
99
|
/**
|
|
100
100
|
* Parent invoice ID, if this is a child invoice.
|
|
101
101
|
* @type {string}
|
|
@@ -190,7 +190,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
190
190
|
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
191
191
|
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
192
192
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
193
|
-
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
|
|
193
|
+
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
194
|
+
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
|
|
194
195
|
} as const;
|
|
195
196
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
196
197
|
|