@randock/nameshift-api-client 0.0.486 → 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 +38 -3
- package/dist/apis/AdminApi.js +132 -2
- 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/AccountAliasDto.d.ts +18 -3
- package/dist/models/AccountAliasDto.js +13 -0
- package/dist/models/AccountSettingsAliasDto.d.ts +18 -3
- package/dist/models/AccountSettingsAliasDto.js +13 -0
- package/dist/models/AdminDomainAppraisalRequestListItemDto.d.ts +118 -0
- package/dist/models/AdminDomainAppraisalRequestListItemDto.js +109 -0
- package/dist/models/AdminListAccountDto.d.ts +16 -1
- package/dist/models/AdminListAccountDto.js +13 -1
- 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/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- 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/CustomerSuccessListAccountDto.d.ts +16 -1
- package/dist/models/CustomerSuccessListAccountDto.js +13 -1
- 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/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- 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 +130 -2
- 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/AccountAliasDto.ts +24 -3
- package/src/models/AccountSettingsAliasDto.ts +24 -3
- package/src/models/AdminDomainAppraisalRequestListItemDto.ts +209 -0
- package/src/models/AdminListAccountDto.ts +20 -1
- package/src/models/BuyerDomainAppraisalRequestCheckoutDto.ts +411 -0
- package/src/models/BuyerInvoiceDto.ts +2 -2
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/BuyerSessionDto.ts +9 -0
- package/src/models/CreateAccountPaymentInput.ts +2 -1
- package/src/models/CreateBuyerDomainAppraisalRequestInput.ts +84 -0
- package/src/models/CustomerSuccessListAccountDto.ts +20 -1
- 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/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfCreateBuyerDomainAppraisalRequestInput = instanceOfCreateBuyerDomainAppraisalRequestInput;
|
|
17
|
+
exports.CreateBuyerDomainAppraisalRequestInputFromJSON = CreateBuyerDomainAppraisalRequestInputFromJSON;
|
|
18
|
+
exports.CreateBuyerDomainAppraisalRequestInputFromJSONTyped = CreateBuyerDomainAppraisalRequestInputFromJSONTyped;
|
|
19
|
+
exports.CreateBuyerDomainAppraisalRequestInputToJSON = CreateBuyerDomainAppraisalRequestInputToJSON;
|
|
20
|
+
exports.CreateBuyerDomainAppraisalRequestInputToJSONTyped = CreateBuyerDomainAppraisalRequestInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateBuyerDomainAppraisalRequestInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateBuyerDomainAppraisalRequestInput(value) {
|
|
25
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function CreateBuyerDomainAppraisalRequestInputFromJSON(json) {
|
|
34
|
+
return CreateBuyerDomainAppraisalRequestInputFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function CreateBuyerDomainAppraisalRequestInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'email': json['email'],
|
|
42
|
+
'locale': json['locale'],
|
|
43
|
+
'domainName': json['domainName'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function CreateBuyerDomainAppraisalRequestInputToJSON(json) {
|
|
47
|
+
return CreateBuyerDomainAppraisalRequestInputToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function CreateBuyerDomainAppraisalRequestInputToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'email': value['email'],
|
|
56
|
+
'locale': value['locale'],
|
|
57
|
+
'domainName': value['domainName'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -75,11 +75,17 @@ export interface CustomerSuccessListAccountDto {
|
|
|
75
75
|
*/
|
|
76
76
|
alias: string | null;
|
|
77
77
|
/**
|
|
78
|
-
* Whether the alias is verified.
|
|
78
|
+
* Deprecated, use aliasStatus. Whether the alias is verified.
|
|
79
79
|
* @type {boolean}
|
|
80
80
|
* @memberof CustomerSuccessListAccountDto
|
|
81
81
|
*/
|
|
82
82
|
aliasVerified: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Review status of the alias: pending review, verified or rejected. Null when no alias is set.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CustomerSuccessListAccountDto
|
|
87
|
+
*/
|
|
88
|
+
aliasStatus: CustomerSuccessListAccountDtoAliasStatusEnum | null;
|
|
83
89
|
/**
|
|
84
90
|
* Account metrics.
|
|
85
91
|
* @type {CustomerSuccessListAccountMetricsDto}
|
|
@@ -147,6 +153,15 @@ export interface CustomerSuccessListAccountDto {
|
|
|
147
153
|
*/
|
|
148
154
|
challengeRewardBalance: ChallengeRewardBalanceDto;
|
|
149
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* @export
|
|
158
|
+
*/
|
|
159
|
+
export declare const CustomerSuccessListAccountDtoAliasStatusEnum: {
|
|
160
|
+
readonly PENDING: "pending";
|
|
161
|
+
readonly VERIFIED: "verified";
|
|
162
|
+
readonly REJECTED: "rejected";
|
|
163
|
+
};
|
|
164
|
+
export type CustomerSuccessListAccountDtoAliasStatusEnum = typeof CustomerSuccessListAccountDtoAliasStatusEnum[keyof typeof CustomerSuccessListAccountDtoAliasStatusEnum];
|
|
150
165
|
/**
|
|
151
166
|
* @export
|
|
152
167
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CustomerSuccessListAccountDtoPayoutProviderEnum = exports.CustomerSuccessListAccountDtoOnboardingStatusEnum = exports.CustomerSuccessListAccountDtoOnboardingProviderEnum = void 0;
|
|
16
|
+
exports.CustomerSuccessListAccountDtoPayoutProviderEnum = exports.CustomerSuccessListAccountDtoOnboardingStatusEnum = exports.CustomerSuccessListAccountDtoOnboardingProviderEnum = exports.CustomerSuccessListAccountDtoAliasStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfCustomerSuccessListAccountDto = instanceOfCustomerSuccessListAccountDto;
|
|
18
18
|
exports.CustomerSuccessListAccountDtoFromJSON = CustomerSuccessListAccountDtoFromJSON;
|
|
19
19
|
exports.CustomerSuccessListAccountDtoFromJSONTyped = CustomerSuccessListAccountDtoFromJSONTyped;
|
|
@@ -24,6 +24,14 @@ var ChallengeRewardBalanceDto_1 = require("./ChallengeRewardBalanceDto");
|
|
|
24
24
|
var CustomerSuccessListAccountMetricsDto_1 = require("./CustomerSuccessListAccountMetricsDto");
|
|
25
25
|
var CustomerSuccessListAccountPortfolioSizeDto_1 = require("./CustomerSuccessListAccountPortfolioSizeDto");
|
|
26
26
|
var AccountBankAccountSummaryDto_1 = require("./AccountBankAccountSummaryDto");
|
|
27
|
+
/**
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
exports.CustomerSuccessListAccountDtoAliasStatusEnum = {
|
|
31
|
+
PENDING: 'pending',
|
|
32
|
+
VERIFIED: 'verified',
|
|
33
|
+
REJECTED: 'rejected'
|
|
34
|
+
};
|
|
27
35
|
/**
|
|
28
36
|
* @export
|
|
29
37
|
*/
|
|
@@ -70,6 +78,8 @@ function instanceOfCustomerSuccessListAccountDto(value) {
|
|
|
70
78
|
return false;
|
|
71
79
|
if (!('aliasVerified' in value) || value['aliasVerified'] === undefined)
|
|
72
80
|
return false;
|
|
81
|
+
if (!('aliasStatus' in value) || value['aliasStatus'] === undefined)
|
|
82
|
+
return false;
|
|
73
83
|
if (!('metrics' in value) || value['metrics'] === undefined)
|
|
74
84
|
return false;
|
|
75
85
|
if (!('lastOnline' in value) || value['lastOnline'] === undefined)
|
|
@@ -112,6 +122,7 @@ function CustomerSuccessListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
112
122
|
'type': json['type'],
|
|
113
123
|
'alias': json['alias'],
|
|
114
124
|
'aliasVerified': json['aliasVerified'],
|
|
125
|
+
'aliasStatus': json['aliasStatus'],
|
|
115
126
|
'metrics': (0, CustomerSuccessListAccountMetricsDto_1.CustomerSuccessListAccountMetricsDtoFromJSON)(json['metrics']),
|
|
116
127
|
'lastOnline': (new Date(json['lastOnline'])),
|
|
117
128
|
'users': (json['users'].map(CustomerSuccessListAccountUserDto_1.CustomerSuccessListAccountUserDtoFromJSON)),
|
|
@@ -144,6 +155,7 @@ function CustomerSuccessListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
144
155
|
'type': value['type'],
|
|
145
156
|
'alias': value['alias'],
|
|
146
157
|
'aliasVerified': value['aliasVerified'],
|
|
158
|
+
'aliasStatus': value['aliasStatus'],
|
|
147
159
|
'metrics': (0, CustomerSuccessListAccountMetricsDto_1.CustomerSuccessListAccountMetricsDtoToJSON)(value['metrics']),
|
|
148
160
|
'lastOnline': ((value['lastOnline']).toISOString()),
|
|
149
161
|
'users': (value['users'].map(CustomerSuccessListAccountUserDto_1.CustomerSuccessListAccountUserDtoToJSON)),
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
import type { DomainAppraisalRequester } from './DomainAppraisalRequester';
|
|
13
|
+
import type { DomainAppraisalRequestStatus } from './DomainAppraisalRequestStatus';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DomainAppraisalRequestListItemDto
|
|
18
|
+
*/
|
|
19
|
+
export interface DomainAppraisalRequestListItemDto {
|
|
20
|
+
/**
|
|
21
|
+
* Domain appraisal request identifier.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Appraised domain identifier.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
30
|
+
*/
|
|
31
|
+
domainId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Appraised domain name (Unicode).
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
36
|
+
*/
|
|
37
|
+
domainName: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether a buyer or the seller of the domain requested it.
|
|
40
|
+
* @type {DomainAppraisalRequester}
|
|
41
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
42
|
+
*/
|
|
43
|
+
requester: DomainAppraisalRequester;
|
|
44
|
+
/**
|
|
45
|
+
* Domain appraisal request status.
|
|
46
|
+
* @type {DomainAppraisalRequestStatus}
|
|
47
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
48
|
+
*/
|
|
49
|
+
status: DomainAppraisalRequestStatus;
|
|
50
|
+
/**
|
|
51
|
+
* Appraised amount in EUR, once appraised.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
54
|
+
*/
|
|
55
|
+
appraisedAmountEur: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* When it was appraised.
|
|
58
|
+
* @type {Date}
|
|
59
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
60
|
+
*/
|
|
61
|
+
appraisedAt: Date | null;
|
|
62
|
+
/**
|
|
63
|
+
* When it was sent to be appraised, after payment.
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
66
|
+
*/
|
|
67
|
+
requestedAt: Date | null;
|
|
68
|
+
/**
|
|
69
|
+
* When it was created.
|
|
70
|
+
* @type {Date}
|
|
71
|
+
* @memberof DomainAppraisalRequestListItemDto
|
|
72
|
+
*/
|
|
73
|
+
createdAt: Date;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the DomainAppraisalRequestListItemDto interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfDomainAppraisalRequestListItemDto(value: object): value is DomainAppraisalRequestListItemDto;
|
|
79
|
+
export declare function DomainAppraisalRequestListItemDtoFromJSON(json: any): DomainAppraisalRequestListItemDto;
|
|
80
|
+
export declare function DomainAppraisalRequestListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAppraisalRequestListItemDto;
|
|
81
|
+
export declare function DomainAppraisalRequestListItemDtoToJSON(json: any): DomainAppraisalRequestListItemDto;
|
|
82
|
+
export declare function DomainAppraisalRequestListItemDtoToJSONTyped(value?: DomainAppraisalRequestListItemDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
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.instanceOfDomainAppraisalRequestListItemDto = instanceOfDomainAppraisalRequestListItemDto;
|
|
17
|
+
exports.DomainAppraisalRequestListItemDtoFromJSON = DomainAppraisalRequestListItemDtoFromJSON;
|
|
18
|
+
exports.DomainAppraisalRequestListItemDtoFromJSONTyped = DomainAppraisalRequestListItemDtoFromJSONTyped;
|
|
19
|
+
exports.DomainAppraisalRequestListItemDtoToJSON = DomainAppraisalRequestListItemDtoToJSON;
|
|
20
|
+
exports.DomainAppraisalRequestListItemDtoToJSONTyped = DomainAppraisalRequestListItemDtoToJSONTyped;
|
|
21
|
+
var DomainAppraisalRequester_1 = require("./DomainAppraisalRequester");
|
|
22
|
+
var DomainAppraisalRequestStatus_1 = require("./DomainAppraisalRequestStatus");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the DomainAppraisalRequestListItemDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfDomainAppraisalRequestListItemDto(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('domainId' in value) || value['domainId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('requester' in value) || value['requester'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('appraisedAmountEur' in value) || value['appraisedAmountEur'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('appraisedAt' in value) || value['appraisedAt'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('requestedAt' in value) || value['requestedAt'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function DomainAppraisalRequestListItemDtoFromJSON(json) {
|
|
48
|
+
return DomainAppraisalRequestListItemDtoFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function DomainAppraisalRequestListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': json['id'],
|
|
56
|
+
'domainId': json['domainId'],
|
|
57
|
+
'domainName': json['domainName'],
|
|
58
|
+
'requester': (0, DomainAppraisalRequester_1.DomainAppraisalRequesterFromJSON)(json['requester']),
|
|
59
|
+
'status': (0, DomainAppraisalRequestStatus_1.DomainAppraisalRequestStatusFromJSON)(json['status']),
|
|
60
|
+
'appraisedAmountEur': json['appraisedAmountEur'],
|
|
61
|
+
'appraisedAt': (json['appraisedAt'] == null ? null : new Date(json['appraisedAt'])),
|
|
62
|
+
'requestedAt': (json['requestedAt'] == null ? null : new Date(json['requestedAt'])),
|
|
63
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function DomainAppraisalRequestListItemDtoToJSON(json) {
|
|
67
|
+
return DomainAppraisalRequestListItemDtoToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function DomainAppraisalRequestListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
70
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'domainId': value['domainId'],
|
|
77
|
+
'domainName': value['domainName'],
|
|
78
|
+
'requester': (0, DomainAppraisalRequester_1.DomainAppraisalRequesterToJSON)(value['requester']),
|
|
79
|
+
'status': (0, DomainAppraisalRequestStatus_1.DomainAppraisalRequestStatusToJSON)(value['status']),
|
|
80
|
+
'appraisedAmountEur': value['appraisedAmountEur'],
|
|
81
|
+
'appraisedAt': (value['appraisedAt'] == null ? null : value['appraisedAt'].toISOString()),
|
|
82
|
+
'requestedAt': (value['requestedAt'] == null ? null : value['requestedAt'].toISOString()),
|
|
83
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
* Domain appraisal request status.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const DomainAppraisalRequestStatus: {
|
|
17
|
+
readonly PENDING: "pending";
|
|
18
|
+
readonly REQUESTED: "requested";
|
|
19
|
+
readonly APPRAISED: "appraised";
|
|
20
|
+
readonly CANCELLED: "cancelled";
|
|
21
|
+
};
|
|
22
|
+
export type DomainAppraisalRequestStatus = typeof DomainAppraisalRequestStatus[keyof typeof DomainAppraisalRequestStatus];
|
|
23
|
+
export declare function instanceOfDomainAppraisalRequestStatus(value: any): boolean;
|
|
24
|
+
export declare function DomainAppraisalRequestStatusFromJSON(json: any): DomainAppraisalRequestStatus;
|
|
25
|
+
export declare function DomainAppraisalRequestStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAppraisalRequestStatus;
|
|
26
|
+
export declare function DomainAppraisalRequestStatusToJSON(value?: DomainAppraisalRequestStatus | null): any;
|
|
27
|
+
export declare function DomainAppraisalRequestStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): DomainAppraisalRequestStatus;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.DomainAppraisalRequestStatus = void 0;
|
|
17
|
+
exports.instanceOfDomainAppraisalRequestStatus = instanceOfDomainAppraisalRequestStatus;
|
|
18
|
+
exports.DomainAppraisalRequestStatusFromJSON = DomainAppraisalRequestStatusFromJSON;
|
|
19
|
+
exports.DomainAppraisalRequestStatusFromJSONTyped = DomainAppraisalRequestStatusFromJSONTyped;
|
|
20
|
+
exports.DomainAppraisalRequestStatusToJSON = DomainAppraisalRequestStatusToJSON;
|
|
21
|
+
exports.DomainAppraisalRequestStatusToJSONTyped = DomainAppraisalRequestStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Domain appraisal request status.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.DomainAppraisalRequestStatus = {
|
|
27
|
+
PENDING: 'pending',
|
|
28
|
+
REQUESTED: 'requested',
|
|
29
|
+
APPRAISED: 'appraised',
|
|
30
|
+
CANCELLED: 'cancelled'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfDomainAppraisalRequestStatus(value) {
|
|
33
|
+
for (var key in exports.DomainAppraisalRequestStatus) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.DomainAppraisalRequestStatus, key)) {
|
|
35
|
+
if (exports.DomainAppraisalRequestStatus[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function DomainAppraisalRequestStatusFromJSON(json) {
|
|
43
|
+
return DomainAppraisalRequestStatusFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function DomainAppraisalRequestStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function DomainAppraisalRequestStatusToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function DomainAppraisalRequestStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
* Whether a buyer or the seller of the domain requested it.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const DomainAppraisalRequester: {
|
|
17
|
+
readonly BUYER: "buyer";
|
|
18
|
+
readonly SELLER: "seller";
|
|
19
|
+
};
|
|
20
|
+
export type DomainAppraisalRequester = typeof DomainAppraisalRequester[keyof typeof DomainAppraisalRequester];
|
|
21
|
+
export declare function instanceOfDomainAppraisalRequester(value: any): boolean;
|
|
22
|
+
export declare function DomainAppraisalRequesterFromJSON(json: any): DomainAppraisalRequester;
|
|
23
|
+
export declare function DomainAppraisalRequesterFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAppraisalRequester;
|
|
24
|
+
export declare function DomainAppraisalRequesterToJSON(value?: DomainAppraisalRequester | null): any;
|
|
25
|
+
export declare function DomainAppraisalRequesterToJSONTyped(value: any, ignoreDiscriminator: boolean): DomainAppraisalRequester;
|
|
@@ -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.DomainAppraisalRequester = void 0;
|
|
17
|
+
exports.instanceOfDomainAppraisalRequester = instanceOfDomainAppraisalRequester;
|
|
18
|
+
exports.DomainAppraisalRequesterFromJSON = DomainAppraisalRequesterFromJSON;
|
|
19
|
+
exports.DomainAppraisalRequesterFromJSONTyped = DomainAppraisalRequesterFromJSONTyped;
|
|
20
|
+
exports.DomainAppraisalRequesterToJSON = DomainAppraisalRequesterToJSON;
|
|
21
|
+
exports.DomainAppraisalRequesterToJSONTyped = DomainAppraisalRequesterToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Whether a buyer or the seller of the domain requested it.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.DomainAppraisalRequester = {
|
|
27
|
+
BUYER: 'buyer',
|
|
28
|
+
SELLER: 'seller'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfDomainAppraisalRequester(value) {
|
|
31
|
+
for (var key in exports.DomainAppraisalRequester) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.DomainAppraisalRequester, key)) {
|
|
33
|
+
if (exports.DomainAppraisalRequester[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function DomainAppraisalRequesterFromJSON(json) {
|
|
41
|
+
return DomainAppraisalRequesterFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function DomainAppraisalRequesterFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function DomainAppraisalRequesterToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function DomainAppraisalRequesterToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -112,6 +112,12 @@ export interface DomainSalesInformationDto {
|
|
|
112
112
|
* @memberof DomainSalesInformationDto
|
|
113
113
|
*/
|
|
114
114
|
leadBuyerSettings: LeadBuyerConfigDto | null;
|
|
115
|
+
/**
|
|
116
|
+
* Whether anyone can request a domain appraisal of this domain from its landing page.
|
|
117
|
+
* @type {boolean}
|
|
118
|
+
* @memberof DomainSalesInformationDto
|
|
119
|
+
*/
|
|
120
|
+
domainAppraisalRequestEnabled: boolean;
|
|
115
121
|
/**
|
|
116
122
|
*
|
|
117
123
|
* @type {DomainSalesInformationDtoLandingPageDesign}
|
|
@@ -59,6 +59,8 @@ function instanceOfDomainSalesInformationDto(value) {
|
|
|
59
59
|
return false;
|
|
60
60
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined)
|
|
61
61
|
return false;
|
|
62
|
+
if (!('domainAppraisalRequestEnabled' in value) || value['domainAppraisalRequestEnabled'] === undefined)
|
|
63
|
+
return false;
|
|
62
64
|
if (!('landingPageDesign' in value) || value['landingPageDesign'] === undefined)
|
|
63
65
|
return false;
|
|
64
66
|
return true;
|
|
@@ -86,6 +88,7 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
88
|
'auctionId': json['auctionId'],
|
|
87
89
|
'locked': json['locked'],
|
|
88
90
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoFromJSON)(json['leadBuyerSettings']),
|
|
91
|
+
'domainAppraisalRequestEnabled': json['domainAppraisalRequestEnabled'],
|
|
89
92
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignFromJSON)(json['landingPageDesign']),
|
|
90
93
|
};
|
|
91
94
|
}
|
|
@@ -113,6 +116,7 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
113
116
|
'auctionId': value['auctionId'],
|
|
114
117
|
'locked': value['locked'],
|
|
115
118
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoToJSON)(value['leadBuyerSettings']),
|
|
119
|
+
'domainAppraisalRequestEnabled': value['domainAppraisalRequestEnabled'],
|
|
116
120
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignToJSON)(value['landingPageDesign']),
|
|
117
121
|
};
|
|
118
122
|
}
|
|
@@ -93,6 +93,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
|
|
|
93
93
|
readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
|
|
94
94
|
readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
|
|
95
95
|
readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
|
|
96
|
+
readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
|
|
96
97
|
};
|
|
97
98
|
export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
|
|
98
99
|
/**
|
|
@@ -53,7 +53,8 @@ exports.FeatureFlagListItemDtoNameEnum = {
|
|
|
53
53
|
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
54
54
|
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
55
55
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
56
|
-
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
|
|
56
|
+
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
57
|
+
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
|
|
57
58
|
};
|
|
58
59
|
/**
|
|
59
60
|
* Check if a given object implements the FeatureFlagListItemDto interface.
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { AdminDomainAppraisalRequestListItemDto } from './AdminDomainAppraisalRequestListItemDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetAdminDomainAppraisalRequests200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface GetAdminDomainAppraisalRequests200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<AdminDomainAppraisalRequestListItemDto>}
|
|
24
|
+
* @memberof GetAdminDomainAppraisalRequests200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<AdminDomainAppraisalRequestListItemDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof GetAdminDomainAppraisalRequests200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof GetAdminDomainAppraisalRequests200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetAdminDomainAppraisalRequests200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetAdminDomainAppraisalRequests200Response(value: object): value is GetAdminDomainAppraisalRequests200Response;
|
|
44
|
+
export declare function GetAdminDomainAppraisalRequests200ResponseFromJSON(json: any): GetAdminDomainAppraisalRequests200Response;
|
|
45
|
+
export declare function GetAdminDomainAppraisalRequests200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAdminDomainAppraisalRequests200Response;
|
|
46
|
+
export declare function GetAdminDomainAppraisalRequests200ResponseToJSON(json: any): GetAdminDomainAppraisalRequests200Response;
|
|
47
|
+
export declare function GetAdminDomainAppraisalRequests200ResponseToJSONTyped(value?: GetAdminDomainAppraisalRequests200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfGetAdminDomainAppraisalRequests200Response = instanceOfGetAdminDomainAppraisalRequests200Response;
|
|
17
|
+
exports.GetAdminDomainAppraisalRequests200ResponseFromJSON = GetAdminDomainAppraisalRequests200ResponseFromJSON;
|
|
18
|
+
exports.GetAdminDomainAppraisalRequests200ResponseFromJSONTyped = GetAdminDomainAppraisalRequests200ResponseFromJSONTyped;
|
|
19
|
+
exports.GetAdminDomainAppraisalRequests200ResponseToJSON = GetAdminDomainAppraisalRequests200ResponseToJSON;
|
|
20
|
+
exports.GetAdminDomainAppraisalRequests200ResponseToJSONTyped = GetAdminDomainAppraisalRequests200ResponseToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var AdminDomainAppraisalRequestListItemDto_1 = require("./AdminDomainAppraisalRequestListItemDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GetAdminDomainAppraisalRequests200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGetAdminDomainAppraisalRequests200Response(value) {
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function GetAdminDomainAppraisalRequests200ResponseFromJSON(json) {
|
|
37
|
+
return GetAdminDomainAppraisalRequests200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetAdminDomainAppraisalRequests200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(AdminDomainAppraisalRequestListItemDto_1.AdminDomainAppraisalRequestListItemDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetAdminDomainAppraisalRequests200ResponseToJSON(json) {
|
|
50
|
+
return GetAdminDomainAppraisalRequests200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetAdminDomainAppraisalRequests200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(AdminDomainAppraisalRequestListItemDto_1.AdminDomainAppraisalRequestListItemDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|