@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,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
|
+
}
|
|
@@ -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 { DomainAppraisalRequestListItemDto } from './DomainAppraisalRequestListItemDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetBuyerDomainAppraisalRequests200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface GetBuyerDomainAppraisalRequests200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<DomainAppraisalRequestListItemDto>}
|
|
24
|
+
* @memberof GetBuyerDomainAppraisalRequests200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<DomainAppraisalRequestListItemDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof GetBuyerDomainAppraisalRequests200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof GetBuyerDomainAppraisalRequests200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetBuyerDomainAppraisalRequests200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetBuyerDomainAppraisalRequests200Response(value: object): value is GetBuyerDomainAppraisalRequests200Response;
|
|
44
|
+
export declare function GetBuyerDomainAppraisalRequests200ResponseFromJSON(json: any): GetBuyerDomainAppraisalRequests200Response;
|
|
45
|
+
export declare function GetBuyerDomainAppraisalRequests200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBuyerDomainAppraisalRequests200Response;
|
|
46
|
+
export declare function GetBuyerDomainAppraisalRequests200ResponseToJSON(json: any): GetBuyerDomainAppraisalRequests200Response;
|
|
47
|
+
export declare function GetBuyerDomainAppraisalRequests200ResponseToJSONTyped(value?: GetBuyerDomainAppraisalRequests200Response | 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.instanceOfGetBuyerDomainAppraisalRequests200Response = instanceOfGetBuyerDomainAppraisalRequests200Response;
|
|
17
|
+
exports.GetBuyerDomainAppraisalRequests200ResponseFromJSON = GetBuyerDomainAppraisalRequests200ResponseFromJSON;
|
|
18
|
+
exports.GetBuyerDomainAppraisalRequests200ResponseFromJSONTyped = GetBuyerDomainAppraisalRequests200ResponseFromJSONTyped;
|
|
19
|
+
exports.GetBuyerDomainAppraisalRequests200ResponseToJSON = GetBuyerDomainAppraisalRequests200ResponseToJSON;
|
|
20
|
+
exports.GetBuyerDomainAppraisalRequests200ResponseToJSONTyped = GetBuyerDomainAppraisalRequests200ResponseToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var DomainAppraisalRequestListItemDto_1 = require("./DomainAppraisalRequestListItemDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GetBuyerDomainAppraisalRequests200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGetBuyerDomainAppraisalRequests200Response(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 GetBuyerDomainAppraisalRequests200ResponseFromJSON(json) {
|
|
37
|
+
return GetBuyerDomainAppraisalRequests200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetBuyerDomainAppraisalRequests200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(DomainAppraisalRequestListItemDto_1.DomainAppraisalRequestListItemDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetBuyerDomainAppraisalRequests200ResponseToJSON(json) {
|
|
50
|
+
return GetBuyerDomainAppraisalRequests200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetBuyerDomainAppraisalRequests200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(DomainAppraisalRequestListItemDto_1.DomainAppraisalRequestListItemDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -136,6 +136,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
|
|
|
136
136
|
readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
|
|
137
137
|
readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
|
|
138
138
|
readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
|
|
139
|
+
readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
|
|
139
140
|
};
|
|
140
141
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
141
142
|
/**
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -60,7 +60,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
|
|
|
60
60
|
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
61
61
|
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
62
62
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
63
|
-
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
|
|
63
|
+
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
64
|
+
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
|
|
64
65
|
};
|
|
65
66
|
/**
|
|
66
67
|
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
|
|
@@ -62,11 +62,11 @@ export interface InvoiceDto {
|
|
|
62
62
|
*/
|
|
63
63
|
target: InvoiceDtoTargetEnum;
|
|
64
64
|
/**
|
|
65
|
-
* Seller account information.
|
|
65
|
+
* Seller account information; null only for the invoice of a buyer's domain appraisal, which Nameshift sells.
|
|
66
66
|
* @type {InvoiceSellerAccountDto}
|
|
67
67
|
* @memberof InvoiceDto
|
|
68
68
|
*/
|
|
69
|
-
sellerAccount: InvoiceSellerAccountDto;
|
|
69
|
+
sellerAccount: InvoiceSellerAccountDto | null;
|
|
70
70
|
/**
|
|
71
71
|
* Parent invoice ID, if this is a child invoice.
|
|
72
72
|
* @type {string}
|
|
@@ -142,6 +142,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
|
|
|
142
142
|
readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
|
|
143
143
|
readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
|
|
144
144
|
readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
|
|
145
|
+
readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
|
|
145
146
|
};
|
|
146
147
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
147
148
|
/**
|
|
@@ -60,7 +60,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
60
60
|
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
61
61
|
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
62
62
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
63
|
-
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU'
|
|
63
|
+
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
64
|
+
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
|
|
64
65
|
};
|
|
65
66
|
/**
|
|
66
67
|
* Check if a given object implements the PrivateAccountGetMeResponse interface.
|
package/dist/models/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export * from './AdminChallengeListItemDto';
|
|
|
59
59
|
export * from './AdminCompanyStatsDto';
|
|
60
60
|
export * from './AdminCompanyStatsLedger';
|
|
61
61
|
export * from './AdminDashboardStatsDto';
|
|
62
|
+
export * from './AdminDomainAppraisalRequestListItemDto';
|
|
62
63
|
export * from './AdminDomainListItemDto';
|
|
63
64
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
64
65
|
export * from './AdminLeadListItemBuyerDto';
|
|
@@ -114,6 +115,7 @@ export * from './BuyerAuctionDetailDtoDomain';
|
|
|
114
115
|
export * from './BuyerAuctionListItemDto';
|
|
115
116
|
export * from './BuyerAuctionListItemDtoDomainInformation';
|
|
116
117
|
export * from './BuyerAuctionListItemDtoSellerAccount';
|
|
118
|
+
export * from './BuyerDomainAppraisalRequestCheckoutDto';
|
|
117
119
|
export * from './BuyerDomainNameserverItemDto';
|
|
118
120
|
export * from './BuyerDomainRecordItemDto';
|
|
119
121
|
export * from './BuyerDomainRecordsDto';
|
|
@@ -175,6 +177,7 @@ export * from './CreateAccountPaymentInput';
|
|
|
175
177
|
export * from './CreateAccountPaymentManualTransactionInput';
|
|
176
178
|
export * from './CreateApiKeyInput';
|
|
177
179
|
export * from './CreateBankAccountInput';
|
|
180
|
+
export * from './CreateBuyerDomainAppraisalRequestInput';
|
|
178
181
|
export * from './CreateBuyerLeadMessageInput';
|
|
179
182
|
export * from './CreateChallengeInput';
|
|
180
183
|
export * from './CreateLeadInput';
|
|
@@ -195,6 +198,9 @@ export * from './CustomerSuccessListAccountMetricsDto';
|
|
|
195
198
|
export * from './CustomerSuccessListAccountPortfolioSizeDto';
|
|
196
199
|
export * from './CustomerSuccessListAccountUserDto';
|
|
197
200
|
export * from './DeleteDomainsInput';
|
|
201
|
+
export * from './DomainAppraisalRequestListItemDto';
|
|
202
|
+
export * from './DomainAppraisalRequestStatus';
|
|
203
|
+
export * from './DomainAppraisalRequester';
|
|
198
204
|
export * from './DomainAuctionDto';
|
|
199
205
|
export * from './DomainCategoryItemDto';
|
|
200
206
|
export * from './DomainEditPreviewDto';
|
|
@@ -252,6 +258,7 @@ export * from './ForbiddenException';
|
|
|
252
258
|
export * from './ForgotPasswordRequestInput';
|
|
253
259
|
export * from './GetAccountChallengeRewardUsagesListDto';
|
|
254
260
|
export * from './GetAccountNameshiftCommissionsResponseDto';
|
|
261
|
+
export * from './GetAdminDomainAppraisalRequests200Response';
|
|
255
262
|
export * from './GetAllAffiliateCommissions200Response';
|
|
256
263
|
export * from './GetAllAuctions200Response';
|
|
257
264
|
export * from './GetAllAuctions200Response1';
|
|
@@ -264,6 +271,7 @@ export * from './GetAllReferrals200Response';
|
|
|
264
271
|
export * from './GetAllSubscriptions200Response';
|
|
265
272
|
export * from './GetAllSubscriptions200Response1';
|
|
266
273
|
export * from './GetBuyerAuctions200Response';
|
|
274
|
+
export * from './GetBuyerDomainAppraisalRequests200Response';
|
|
267
275
|
export * from './GetBuyerInvoices200Response';
|
|
268
276
|
export * from './GetBuyerLeads200Response';
|
|
269
277
|
export * from './GetBuyerSubscriptions200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -77,6 +77,7 @@ __exportStar(require("./AdminChallengeListItemDto"), exports);
|
|
|
77
77
|
__exportStar(require("./AdminCompanyStatsDto"), exports);
|
|
78
78
|
__exportStar(require("./AdminCompanyStatsLedger"), exports);
|
|
79
79
|
__exportStar(require("./AdminDashboardStatsDto"), exports);
|
|
80
|
+
__exportStar(require("./AdminDomainAppraisalRequestListItemDto"), exports);
|
|
80
81
|
__exportStar(require("./AdminDomainListItemDto"), exports);
|
|
81
82
|
__exportStar(require("./AdminGetAllDomainTransfers200Response"), exports);
|
|
82
83
|
__exportStar(require("./AdminLeadListItemBuyerDto"), exports);
|
|
@@ -132,6 +133,7 @@ __exportStar(require("./BuyerAuctionDetailDtoDomain"), exports);
|
|
|
132
133
|
__exportStar(require("./BuyerAuctionListItemDto"), exports);
|
|
133
134
|
__exportStar(require("./BuyerAuctionListItemDtoDomainInformation"), exports);
|
|
134
135
|
__exportStar(require("./BuyerAuctionListItemDtoSellerAccount"), exports);
|
|
136
|
+
__exportStar(require("./BuyerDomainAppraisalRequestCheckoutDto"), exports);
|
|
135
137
|
__exportStar(require("./BuyerDomainNameserverItemDto"), exports);
|
|
136
138
|
__exportStar(require("./BuyerDomainRecordItemDto"), exports);
|
|
137
139
|
__exportStar(require("./BuyerDomainRecordsDto"), exports);
|
|
@@ -193,6 +195,7 @@ __exportStar(require("./CreateAccountPaymentInput"), exports);
|
|
|
193
195
|
__exportStar(require("./CreateAccountPaymentManualTransactionInput"), exports);
|
|
194
196
|
__exportStar(require("./CreateApiKeyInput"), exports);
|
|
195
197
|
__exportStar(require("./CreateBankAccountInput"), exports);
|
|
198
|
+
__exportStar(require("./CreateBuyerDomainAppraisalRequestInput"), exports);
|
|
196
199
|
__exportStar(require("./CreateBuyerLeadMessageInput"), exports);
|
|
197
200
|
__exportStar(require("./CreateChallengeInput"), exports);
|
|
198
201
|
__exportStar(require("./CreateLeadInput"), exports);
|
|
@@ -213,6 +216,9 @@ __exportStar(require("./CustomerSuccessListAccountMetricsDto"), exports);
|
|
|
213
216
|
__exportStar(require("./CustomerSuccessListAccountPortfolioSizeDto"), exports);
|
|
214
217
|
__exportStar(require("./CustomerSuccessListAccountUserDto"), exports);
|
|
215
218
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
219
|
+
__exportStar(require("./DomainAppraisalRequestListItemDto"), exports);
|
|
220
|
+
__exportStar(require("./DomainAppraisalRequestStatus"), exports);
|
|
221
|
+
__exportStar(require("./DomainAppraisalRequester"), exports);
|
|
216
222
|
__exportStar(require("./DomainAuctionDto"), exports);
|
|
217
223
|
__exportStar(require("./DomainCategoryItemDto"), exports);
|
|
218
224
|
__exportStar(require("./DomainEditPreviewDto"), exports);
|
|
@@ -270,6 +276,7 @@ __exportStar(require("./ForbiddenException"), exports);
|
|
|
270
276
|
__exportStar(require("./ForgotPasswordRequestInput"), exports);
|
|
271
277
|
__exportStar(require("./GetAccountChallengeRewardUsagesListDto"), exports);
|
|
272
278
|
__exportStar(require("./GetAccountNameshiftCommissionsResponseDto"), exports);
|
|
279
|
+
__exportStar(require("./GetAdminDomainAppraisalRequests200Response"), exports);
|
|
273
280
|
__exportStar(require("./GetAllAffiliateCommissions200Response"), exports);
|
|
274
281
|
__exportStar(require("./GetAllAuctions200Response"), exports);
|
|
275
282
|
__exportStar(require("./GetAllAuctions200Response1"), exports);
|
|
@@ -282,6 +289,7 @@ __exportStar(require("./GetAllReferrals200Response"), exports);
|
|
|
282
289
|
__exportStar(require("./GetAllSubscriptions200Response"), exports);
|
|
283
290
|
__exportStar(require("./GetAllSubscriptions200Response1"), exports);
|
|
284
291
|
__exportStar(require("./GetBuyerAuctions200Response"), exports);
|
|
292
|
+
__exportStar(require("./GetBuyerDomainAppraisalRequests200Response"), exports);
|
|
285
293
|
__exportStar(require("./GetBuyerInvoices200Response"), exports);
|
|
286
294
|
__exportStar(require("./GetBuyerLeads200Response"), exports);
|
|
287
295
|
__exportStar(require("./GetBuyerSubscriptions200Response"), exports);
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -43,6 +43,7 @@ import type {
|
|
|
43
43
|
DomainTransferDetailsDto,
|
|
44
44
|
ForbiddenException,
|
|
45
45
|
GetAccountChallengeRewardUsagesListDto,
|
|
46
|
+
GetAdminDomainAppraisalRequests200Response,
|
|
46
47
|
GetAllAuctions200Response,
|
|
47
48
|
GetAllFeatureFlags200Response,
|
|
48
49
|
GetAllInvoices200Response,
|
|
@@ -138,6 +139,8 @@ import {
|
|
|
138
139
|
ForbiddenExceptionToJSON,
|
|
139
140
|
GetAccountChallengeRewardUsagesListDtoFromJSON,
|
|
140
141
|
GetAccountChallengeRewardUsagesListDtoToJSON,
|
|
142
|
+
GetAdminDomainAppraisalRequests200ResponseFromJSON,
|
|
143
|
+
GetAdminDomainAppraisalRequests200ResponseToJSON,
|
|
141
144
|
GetAllAuctions200ResponseFromJSON,
|
|
142
145
|
GetAllAuctions200ResponseToJSON,
|
|
143
146
|
GetAllFeatureFlags200ResponseFromJSON,
|
|
@@ -318,6 +321,17 @@ export interface AdminApiGetAdminDashboardStatsRequest {
|
|
|
318
321
|
dateRange?: StatsFilterInputDateRange | null;
|
|
319
322
|
}
|
|
320
323
|
|
|
324
|
+
export interface AdminApiGetAdminDomainAppraisalRequestsRequest {
|
|
325
|
+
filter?: { [key: string]: string; };
|
|
326
|
+
page?: number;
|
|
327
|
+
limit?: number;
|
|
328
|
+
sortBy?: Array<string>;
|
|
329
|
+
filterStatus?: string;
|
|
330
|
+
filterDomainName?: string;
|
|
331
|
+
filterBuyer?: string;
|
|
332
|
+
filterAccount?: string;
|
|
333
|
+
}
|
|
334
|
+
|
|
321
335
|
export interface AdminApiGetAdminDomainTransferDetailsRequest {
|
|
322
336
|
domainTransferId: string;
|
|
323
337
|
}
|
|
@@ -1682,6 +1696,74 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1682
1696
|
return await response.value();
|
|
1683
1697
|
}
|
|
1684
1698
|
|
|
1699
|
+
/**
|
|
1700
|
+
* Lists every domain appraisal bought by buyers and sellers, with its state in the domain appraisals API.
|
|
1701
|
+
* List domain appraisal requests
|
|
1702
|
+
*/
|
|
1703
|
+
async getAdminDomainAppraisalRequestsRaw(requestParameters: AdminApiGetAdminDomainAppraisalRequestsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAdminDomainAppraisalRequests200Response>> {
|
|
1704
|
+
const queryParameters: any = {};
|
|
1705
|
+
|
|
1706
|
+
if (requestParameters['filter'] != null) {
|
|
1707
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
if (requestParameters['page'] != null) {
|
|
1711
|
+
queryParameters['page'] = requestParameters['page'];
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
if (requestParameters['limit'] != null) {
|
|
1715
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
if (requestParameters['sortBy'] != null) {
|
|
1719
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
if (requestParameters['filterStatus'] != null) {
|
|
1723
|
+
queryParameters['filter[status]'] = requestParameters['filterStatus'];
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
if (requestParameters['filterDomainName'] != null) {
|
|
1727
|
+
queryParameters['filter[domain.name]'] = requestParameters['filterDomainName'];
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
if (requestParameters['filterBuyer'] != null) {
|
|
1731
|
+
queryParameters['filter[buyer]'] = requestParameters['filterBuyer'];
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
if (requestParameters['filterAccount'] != null) {
|
|
1735
|
+
queryParameters['filter[account]'] = requestParameters['filterAccount'];
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1739
|
+
|
|
1740
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1741
|
+
const token = this.configuration.accessToken;
|
|
1742
|
+
const tokenString = await token("bearer", []);
|
|
1743
|
+
|
|
1744
|
+
if (tokenString) {
|
|
1745
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
const response = await this.request({
|
|
1749
|
+
path: `/admin/domain-appraisal-requests`,
|
|
1750
|
+
method: 'GET',
|
|
1751
|
+
headers: headerParameters,
|
|
1752
|
+
query: queryParameters,
|
|
1753
|
+
}, initOverrides);
|
|
1754
|
+
|
|
1755
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetAdminDomainAppraisalRequests200ResponseFromJSON(jsonValue));
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* Lists every domain appraisal bought by buyers and sellers, with its state in the domain appraisals API.
|
|
1760
|
+
* List domain appraisal requests
|
|
1761
|
+
*/
|
|
1762
|
+
async getAdminDomainAppraisalRequests(requestParameters: AdminApiGetAdminDomainAppraisalRequestsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAdminDomainAppraisalRequests200Response> {
|
|
1763
|
+
const response = await this.getAdminDomainAppraisalRequestsRaw(requestParameters, initOverrides);
|
|
1764
|
+
return await response.value();
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1685
1767
|
/**
|
|
1686
1768
|
* Returns domain transfer information.
|
|
1687
1769
|
* Get domain transfer details
|