@randock/nameshift-api-client 0.0.562 → 0.0.564
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 +16 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +28 -1
- package/dist/apis/AdminApi.js +113 -0
- package/dist/apis/BuyersApi.d.ts +14 -1
- package/dist/apis/BuyersApi.js +57 -0
- package/dist/apis/BuyersPublicApi.d.ts +100 -1
- package/dist/apis/BuyersPublicApi.js +426 -0
- package/dist/apis/LeadsApi.d.ts +28 -1
- package/dist/apis/LeadsApi.js +129 -0
- package/dist/apis/LeadsPublicApi.d.ts +5 -5
- package/dist/apis/LeadsPublicApi.js +6 -4
- package/dist/models/AcceptHighestBuyerLeadOfferInput.d.ts +32 -0
- package/dist/models/AcceptHighestBuyerLeadOfferInput.js +51 -0
- package/dist/models/BuyerCheckoutProfileDto.d.ts +116 -0
- package/dist/models/BuyerCheckoutProfileDto.js +107 -0
- package/dist/models/BuyerCheckoutProfileSummaryDto.d.ts +74 -0
- package/dist/models/BuyerCheckoutProfileSummaryDto.js +79 -0
- package/dist/models/BuyerLandingSessionOutput.d.ts +68 -0
- package/dist/models/BuyerLandingSessionOutput.js +75 -0
- 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/BuyerSessionEstablishTicketOutput.d.ts +32 -0
- package/dist/models/BuyerSessionEstablishTicketOutput.js +51 -0
- package/dist/models/BuyerSessionPurchaseTypeEnum.d.ts +26 -0
- package/dist/models/BuyerSessionPurchaseTypeEnum.js +52 -0
- package/dist/models/CreateBuyerSessionEstablishTicketInput.d.ts +38 -0
- package/dist/models/CreateBuyerSessionEstablishTicketInput.js +55 -0
- package/dist/models/CreateBuyerSessionFromPurchaseInput.d.ts +39 -0
- package/dist/models/CreateBuyerSessionFromPurchaseInput.js +56 -0
- package/dist/models/CreateDashboardBuyerSessionInput.d.ts +32 -0
- package/dist/models/CreateDashboardBuyerSessionInput.js +51 -0
- package/dist/models/ExchangeBuyerSessionCodeInput.d.ts +38 -0
- package/dist/models/ExchangeBuyerSessionCodeInput.js +55 -0
- package/dist/models/LeadEmailVerificationResultOutput.d.ts +33 -0
- package/dist/models/LeadEmailVerificationResultOutput.js +52 -0
- package/dist/models/LeadOfferSummaryCannotAcceptReason.d.ts +29 -0
- package/dist/models/LeadOfferSummaryCannotAcceptReason.js +55 -0
- package/dist/models/LeadOfferSummaryDto.d.ts +52 -0
- package/dist/models/LeadOfferSummaryDto.js +65 -0
- package/dist/models/LeadOfferSummaryItemDto.d.ts +61 -0
- package/dist/models/LeadOfferSummaryItemDto.js +74 -0
- package/dist/models/LeadPhoneVerificationResultOutput.d.ts +47 -0
- package/dist/models/LeadPhoneVerificationResultOutput.js +62 -0
- 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/VerifyBuyerSessionEmailOtpInput.d.ts +32 -0
- package/dist/models/VerifyBuyerSessionEmailOtpInput.js +51 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +110 -0
- package/src/apis/BuyersApi.ts +56 -0
- package/src/apis/BuyersPublicApi.ts +378 -0
- package/src/apis/LeadsApi.ts +118 -0
- package/src/apis/LeadsPublicApi.ts +14 -7
- package/src/models/AcceptHighestBuyerLeadOfferInput.ts +66 -0
- package/src/models/BuyerCheckoutProfileDto.ts +192 -0
- package/src/models/BuyerCheckoutProfileSummaryDto.ts +129 -0
- package/src/models/BuyerLandingSessionOutput.ts +120 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/BuyerSessionEstablishTicketOutput.ts +66 -0
- package/src/models/BuyerSessionPurchaseTypeEnum.ts +54 -0
- package/src/models/CreateBuyerSessionEstablishTicketInput.ts +75 -0
- package/src/models/CreateBuyerSessionFromPurchaseInput.ts +85 -0
- package/src/models/CreateDashboardBuyerSessionInput.ts +66 -0
- package/src/models/ExchangeBuyerSessionCodeInput.ts +75 -0
- package/src/models/LeadEmailVerificationResultOutput.ts +74 -0
- package/src/models/LeadOfferSummaryCannotAcceptReason.ts +57 -0
- package/src/models/LeadOfferSummaryDto.ts +110 -0
- package/src/models/LeadOfferSummaryItemDto.ts +114 -0
- package/src/models/LeadPhoneVerificationResultOutput.ts +106 -0
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/VerifyBuyerSessionEmailOtpInput.ts +66 -0
- package/src/models/index.ts +16 -0
|
@@ -0,0 +1,75 @@
|
|
|
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.instanceOfBuyerLandingSessionOutput = instanceOfBuyerLandingSessionOutput;
|
|
17
|
+
exports.BuyerLandingSessionOutputFromJSON = BuyerLandingSessionOutputFromJSON;
|
|
18
|
+
exports.BuyerLandingSessionOutputFromJSONTyped = BuyerLandingSessionOutputFromJSONTyped;
|
|
19
|
+
exports.BuyerLandingSessionOutputToJSON = BuyerLandingSessionOutputToJSON;
|
|
20
|
+
exports.BuyerLandingSessionOutputToJSONTyped = BuyerLandingSessionOutputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BuyerLandingSessionOutput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBuyerLandingSessionOutput(value) {
|
|
25
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('emailVerified' in value) || value['emailVerified'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('phoneNumber' in value) || value['phoneNumber'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function BuyerLandingSessionOutputFromJSON(json) {
|
|
42
|
+
return BuyerLandingSessionOutputFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function BuyerLandingSessionOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'token': json['token'],
|
|
50
|
+
'email': json['email'],
|
|
51
|
+
'emailVerified': json['emailVerified'],
|
|
52
|
+
'firstName': json['firstName'],
|
|
53
|
+
'lastName': json['lastName'],
|
|
54
|
+
'companyName': json['companyName'],
|
|
55
|
+
'phoneNumber': json['phoneNumber'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function BuyerLandingSessionOutputToJSON(json) {
|
|
59
|
+
return BuyerLandingSessionOutputToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function BuyerLandingSessionOutputToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'token': value['token'],
|
|
68
|
+
'email': value['email'],
|
|
69
|
+
'emailVerified': value['emailVerified'],
|
|
70
|
+
'firstName': value['firstName'],
|
|
71
|
+
'lastName': value['lastName'],
|
|
72
|
+
'companyName': value['companyName'],
|
|
73
|
+
'phoneNumber': value['phoneNumber'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -102,6 +102,7 @@ export declare const BuyerNotificationDtoTypeEnum: {
|
|
|
102
102
|
readonly DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_verified_buyer_access_link_email";
|
|
103
103
|
readonly DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_received_buyer_access_link_email";
|
|
104
104
|
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_offer_accepted_continue_order_email";
|
|
105
|
+
readonly DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_earlier_offer_accepted_continue_order_email";
|
|
105
106
|
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: "domain_offer_accepted_continue_lease_to_own_email";
|
|
106
107
|
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: "domain_offer_accepted_continue_lease_to_own_email_installments_range";
|
|
107
108
|
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: "domain_offer_accepted_continue_rent_email";
|
|
@@ -63,6 +63,7 @@ exports.BuyerNotificationDtoTypeEnum = {
|
|
|
63
63
|
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
64
64
|
DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
|
|
65
65
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
66
|
+
DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_earlier_offer_accepted_continue_order_email',
|
|
66
67
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
67
68
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
68
69
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
|
|
@@ -95,6 +95,7 @@ export declare const BuyerNotificationListItemDtoTypeEnum: {
|
|
|
95
95
|
readonly DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_verified_buyer_access_link_email";
|
|
96
96
|
readonly DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_received_buyer_access_link_email";
|
|
97
97
|
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_offer_accepted_continue_order_email";
|
|
98
|
+
readonly DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_earlier_offer_accepted_continue_order_email";
|
|
98
99
|
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: "domain_offer_accepted_continue_lease_to_own_email";
|
|
99
100
|
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: "domain_offer_accepted_continue_lease_to_own_email_installments_range";
|
|
100
101
|
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: "domain_offer_accepted_continue_rent_email";
|
|
@@ -62,6 +62,7 @@ exports.BuyerNotificationListItemDtoTypeEnum = {
|
|
|
62
62
|
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
63
63
|
DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
|
|
64
64
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
65
|
+
DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_earlier_offer_accepted_continue_order_email',
|
|
65
66
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
66
67
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
67
68
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BuyerSessionEstablishTicketOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerSessionEstablishTicketOutput {
|
|
18
|
+
/**
|
|
19
|
+
* One-time ticket to open GET /buyers/session/establish with.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BuyerSessionEstablishTicketOutput
|
|
22
|
+
*/
|
|
23
|
+
ticket: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BuyerSessionEstablishTicketOutput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBuyerSessionEstablishTicketOutput(value: object): value is BuyerSessionEstablishTicketOutput;
|
|
29
|
+
export declare function BuyerSessionEstablishTicketOutputFromJSON(json: any): BuyerSessionEstablishTicketOutput;
|
|
30
|
+
export declare function BuyerSessionEstablishTicketOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerSessionEstablishTicketOutput;
|
|
31
|
+
export declare function BuyerSessionEstablishTicketOutputToJSON(json: any): BuyerSessionEstablishTicketOutput;
|
|
32
|
+
export declare function BuyerSessionEstablishTicketOutputToJSONTyped(value?: BuyerSessionEstablishTicketOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfBuyerSessionEstablishTicketOutput = instanceOfBuyerSessionEstablishTicketOutput;
|
|
17
|
+
exports.BuyerSessionEstablishTicketOutputFromJSON = BuyerSessionEstablishTicketOutputFromJSON;
|
|
18
|
+
exports.BuyerSessionEstablishTicketOutputFromJSONTyped = BuyerSessionEstablishTicketOutputFromJSONTyped;
|
|
19
|
+
exports.BuyerSessionEstablishTicketOutputToJSON = BuyerSessionEstablishTicketOutputToJSON;
|
|
20
|
+
exports.BuyerSessionEstablishTicketOutputToJSONTyped = BuyerSessionEstablishTicketOutputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BuyerSessionEstablishTicketOutput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBuyerSessionEstablishTicketOutput(value) {
|
|
25
|
+
if (!('ticket' in value) || value['ticket'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function BuyerSessionEstablishTicketOutputFromJSON(json) {
|
|
30
|
+
return BuyerSessionEstablishTicketOutputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function BuyerSessionEstablishTicketOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'ticket': json['ticket'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function BuyerSessionEstablishTicketOutputToJSON(json) {
|
|
41
|
+
return BuyerSessionEstablishTicketOutputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function BuyerSessionEstablishTicketOutputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'ticket': value['ticket'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* Kind of purchase the buyer just paid.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const BuyerSessionPurchaseTypeEnum: {
|
|
17
|
+
readonly ORDER: "order";
|
|
18
|
+
readonly SUBSCRIPTION: "subscription";
|
|
19
|
+
readonly DOMAIN_APPRAISAL_REQUEST: "domain_appraisal_request";
|
|
20
|
+
};
|
|
21
|
+
export type BuyerSessionPurchaseTypeEnum = typeof BuyerSessionPurchaseTypeEnum[keyof typeof BuyerSessionPurchaseTypeEnum];
|
|
22
|
+
export declare function instanceOfBuyerSessionPurchaseTypeEnum(value: any): boolean;
|
|
23
|
+
export declare function BuyerSessionPurchaseTypeEnumFromJSON(json: any): BuyerSessionPurchaseTypeEnum;
|
|
24
|
+
export declare function BuyerSessionPurchaseTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerSessionPurchaseTypeEnum;
|
|
25
|
+
export declare function BuyerSessionPurchaseTypeEnumToJSON(value?: BuyerSessionPurchaseTypeEnum | null): any;
|
|
26
|
+
export declare function BuyerSessionPurchaseTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): BuyerSessionPurchaseTypeEnum;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.BuyerSessionPurchaseTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfBuyerSessionPurchaseTypeEnum = instanceOfBuyerSessionPurchaseTypeEnum;
|
|
18
|
+
exports.BuyerSessionPurchaseTypeEnumFromJSON = BuyerSessionPurchaseTypeEnumFromJSON;
|
|
19
|
+
exports.BuyerSessionPurchaseTypeEnumFromJSONTyped = BuyerSessionPurchaseTypeEnumFromJSONTyped;
|
|
20
|
+
exports.BuyerSessionPurchaseTypeEnumToJSON = BuyerSessionPurchaseTypeEnumToJSON;
|
|
21
|
+
exports.BuyerSessionPurchaseTypeEnumToJSONTyped = BuyerSessionPurchaseTypeEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Kind of purchase the buyer just paid.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.BuyerSessionPurchaseTypeEnum = {
|
|
27
|
+
ORDER: 'order',
|
|
28
|
+
SUBSCRIPTION: 'subscription',
|
|
29
|
+
DOMAIN_APPRAISAL_REQUEST: 'domain_appraisal_request'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfBuyerSessionPurchaseTypeEnum(value) {
|
|
32
|
+
for (var key in exports.BuyerSessionPurchaseTypeEnum) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.BuyerSessionPurchaseTypeEnum, key)) {
|
|
34
|
+
if (exports.BuyerSessionPurchaseTypeEnum[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function BuyerSessionPurchaseTypeEnumFromJSON(json) {
|
|
42
|
+
return BuyerSessionPurchaseTypeEnumFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function BuyerSessionPurchaseTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function BuyerSessionPurchaseTypeEnumToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function BuyerSessionPurchaseTypeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateBuyerSessionEstablishTicketInput
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBuyerSessionEstablishTicketInput {
|
|
18
|
+
/**
|
|
19
|
+
* Domain whose landing the browser returns to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBuyerSessionEstablishTicketInput
|
|
22
|
+
*/
|
|
23
|
+
domainName: string;
|
|
24
|
+
/**
|
|
25
|
+
* Locale of the landing page.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateBuyerSessionEstablishTicketInput
|
|
28
|
+
*/
|
|
29
|
+
locale: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CreateBuyerSessionEstablishTicketInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCreateBuyerSessionEstablishTicketInput(value: object): value is CreateBuyerSessionEstablishTicketInput;
|
|
35
|
+
export declare function CreateBuyerSessionEstablishTicketInputFromJSON(json: any): CreateBuyerSessionEstablishTicketInput;
|
|
36
|
+
export declare function CreateBuyerSessionEstablishTicketInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBuyerSessionEstablishTicketInput;
|
|
37
|
+
export declare function CreateBuyerSessionEstablishTicketInputToJSON(json: any): CreateBuyerSessionEstablishTicketInput;
|
|
38
|
+
export declare function CreateBuyerSessionEstablishTicketInputToJSONTyped(value?: CreateBuyerSessionEstablishTicketInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfCreateBuyerSessionEstablishTicketInput = instanceOfCreateBuyerSessionEstablishTicketInput;
|
|
17
|
+
exports.CreateBuyerSessionEstablishTicketInputFromJSON = CreateBuyerSessionEstablishTicketInputFromJSON;
|
|
18
|
+
exports.CreateBuyerSessionEstablishTicketInputFromJSONTyped = CreateBuyerSessionEstablishTicketInputFromJSONTyped;
|
|
19
|
+
exports.CreateBuyerSessionEstablishTicketInputToJSON = CreateBuyerSessionEstablishTicketInputToJSON;
|
|
20
|
+
exports.CreateBuyerSessionEstablishTicketInputToJSONTyped = CreateBuyerSessionEstablishTicketInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateBuyerSessionEstablishTicketInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateBuyerSessionEstablishTicketInput(value) {
|
|
25
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CreateBuyerSessionEstablishTicketInputFromJSON(json) {
|
|
32
|
+
return CreateBuyerSessionEstablishTicketInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CreateBuyerSessionEstablishTicketInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'domainName': json['domainName'],
|
|
40
|
+
'locale': json['locale'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CreateBuyerSessionEstablishTicketInputToJSON(json) {
|
|
44
|
+
return CreateBuyerSessionEstablishTicketInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CreateBuyerSessionEstablishTicketInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'domainName': value['domainName'],
|
|
53
|
+
'locale': value['locale'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { BuyerSessionPurchaseTypeEnum } from './BuyerSessionPurchaseTypeEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateBuyerSessionFromPurchaseInput
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateBuyerSessionFromPurchaseInput {
|
|
19
|
+
/**
|
|
20
|
+
* Kind of purchase the buyer just paid.
|
|
21
|
+
* @type {BuyerSessionPurchaseTypeEnum}
|
|
22
|
+
* @memberof CreateBuyerSessionFromPurchaseInput
|
|
23
|
+
*/
|
|
24
|
+
type: BuyerSessionPurchaseTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Identifier of the purchase.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateBuyerSessionFromPurchaseInput
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the CreateBuyerSessionFromPurchaseInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfCreateBuyerSessionFromPurchaseInput(value: object): value is CreateBuyerSessionFromPurchaseInput;
|
|
36
|
+
export declare function CreateBuyerSessionFromPurchaseInputFromJSON(json: any): CreateBuyerSessionFromPurchaseInput;
|
|
37
|
+
export declare function CreateBuyerSessionFromPurchaseInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBuyerSessionFromPurchaseInput;
|
|
38
|
+
export declare function CreateBuyerSessionFromPurchaseInputToJSON(json: any): CreateBuyerSessionFromPurchaseInput;
|
|
39
|
+
export declare function CreateBuyerSessionFromPurchaseInputToJSONTyped(value?: CreateBuyerSessionFromPurchaseInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfCreateBuyerSessionFromPurchaseInput = instanceOfCreateBuyerSessionFromPurchaseInput;
|
|
17
|
+
exports.CreateBuyerSessionFromPurchaseInputFromJSON = CreateBuyerSessionFromPurchaseInputFromJSON;
|
|
18
|
+
exports.CreateBuyerSessionFromPurchaseInputFromJSONTyped = CreateBuyerSessionFromPurchaseInputFromJSONTyped;
|
|
19
|
+
exports.CreateBuyerSessionFromPurchaseInputToJSON = CreateBuyerSessionFromPurchaseInputToJSON;
|
|
20
|
+
exports.CreateBuyerSessionFromPurchaseInputToJSONTyped = CreateBuyerSessionFromPurchaseInputToJSONTyped;
|
|
21
|
+
var BuyerSessionPurchaseTypeEnum_1 = require("./BuyerSessionPurchaseTypeEnum");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateBuyerSessionFromPurchaseInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateBuyerSessionFromPurchaseInput(value) {
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function CreateBuyerSessionFromPurchaseInputFromJSON(json) {
|
|
33
|
+
return CreateBuyerSessionFromPurchaseInputFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CreateBuyerSessionFromPurchaseInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'type': (0, BuyerSessionPurchaseTypeEnum_1.BuyerSessionPurchaseTypeEnumFromJSON)(json['type']),
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CreateBuyerSessionFromPurchaseInputToJSON(json) {
|
|
45
|
+
return CreateBuyerSessionFromPurchaseInputToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CreateBuyerSessionFromPurchaseInputToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'type': (0, BuyerSessionPurchaseTypeEnum_1.BuyerSessionPurchaseTypeEnumToJSON)(value['type']),
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateDashboardBuyerSessionInput
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateDashboardBuyerSessionInput {
|
|
18
|
+
/**
|
|
19
|
+
* Locale of the dashboard page.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateDashboardBuyerSessionInput
|
|
22
|
+
*/
|
|
23
|
+
locale: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateDashboardBuyerSessionInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateDashboardBuyerSessionInput(value: object): value is CreateDashboardBuyerSessionInput;
|
|
29
|
+
export declare function CreateDashboardBuyerSessionInputFromJSON(json: any): CreateDashboardBuyerSessionInput;
|
|
30
|
+
export declare function CreateDashboardBuyerSessionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDashboardBuyerSessionInput;
|
|
31
|
+
export declare function CreateDashboardBuyerSessionInputToJSON(json: any): CreateDashboardBuyerSessionInput;
|
|
32
|
+
export declare function CreateDashboardBuyerSessionInputToJSONTyped(value?: CreateDashboardBuyerSessionInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCreateDashboardBuyerSessionInput = instanceOfCreateDashboardBuyerSessionInput;
|
|
17
|
+
exports.CreateDashboardBuyerSessionInputFromJSON = CreateDashboardBuyerSessionInputFromJSON;
|
|
18
|
+
exports.CreateDashboardBuyerSessionInputFromJSONTyped = CreateDashboardBuyerSessionInputFromJSONTyped;
|
|
19
|
+
exports.CreateDashboardBuyerSessionInputToJSON = CreateDashboardBuyerSessionInputToJSON;
|
|
20
|
+
exports.CreateDashboardBuyerSessionInputToJSONTyped = CreateDashboardBuyerSessionInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateDashboardBuyerSessionInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateDashboardBuyerSessionInput(value) {
|
|
25
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreateDashboardBuyerSessionInputFromJSON(json) {
|
|
30
|
+
return CreateDashboardBuyerSessionInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreateDashboardBuyerSessionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'locale': json['locale'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function CreateDashboardBuyerSessionInputToJSON(json) {
|
|
41
|
+
return CreateDashboardBuyerSessionInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CreateDashboardBuyerSessionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'locale': value['locale'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExchangeBuyerSessionCodeInput
|
|
16
|
+
*/
|
|
17
|
+
export interface ExchangeBuyerSessionCodeInput {
|
|
18
|
+
/**
|
|
19
|
+
* Code the API sent back to the landing after the redirect.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExchangeBuyerSessionCodeInput
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* PKCE verifier whose SHA-256, in base64url, was sent as codeChallenge.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExchangeBuyerSessionCodeInput
|
|
28
|
+
*/
|
|
29
|
+
codeVerifier: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ExchangeBuyerSessionCodeInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfExchangeBuyerSessionCodeInput(value: object): value is ExchangeBuyerSessionCodeInput;
|
|
35
|
+
export declare function ExchangeBuyerSessionCodeInputFromJSON(json: any): ExchangeBuyerSessionCodeInput;
|
|
36
|
+
export declare function ExchangeBuyerSessionCodeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeBuyerSessionCodeInput;
|
|
37
|
+
export declare function ExchangeBuyerSessionCodeInputToJSON(json: any): ExchangeBuyerSessionCodeInput;
|
|
38
|
+
export declare function ExchangeBuyerSessionCodeInputToJSONTyped(value?: ExchangeBuyerSessionCodeInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfExchangeBuyerSessionCodeInput = instanceOfExchangeBuyerSessionCodeInput;
|
|
17
|
+
exports.ExchangeBuyerSessionCodeInputFromJSON = ExchangeBuyerSessionCodeInputFromJSON;
|
|
18
|
+
exports.ExchangeBuyerSessionCodeInputFromJSONTyped = ExchangeBuyerSessionCodeInputFromJSONTyped;
|
|
19
|
+
exports.ExchangeBuyerSessionCodeInputToJSON = ExchangeBuyerSessionCodeInputToJSON;
|
|
20
|
+
exports.ExchangeBuyerSessionCodeInputToJSONTyped = ExchangeBuyerSessionCodeInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ExchangeBuyerSessionCodeInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfExchangeBuyerSessionCodeInput(value) {
|
|
25
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('codeVerifier' in value) || value['codeVerifier'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ExchangeBuyerSessionCodeInputFromJSON(json) {
|
|
32
|
+
return ExchangeBuyerSessionCodeInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ExchangeBuyerSessionCodeInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'code': json['code'],
|
|
40
|
+
'codeVerifier': json['codeVerifier'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ExchangeBuyerSessionCodeInputToJSON(json) {
|
|
44
|
+
return ExchangeBuyerSessionCodeInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ExchangeBuyerSessionCodeInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'code': value['code'],
|
|
53
|
+
'codeVerifier': value['codeVerifier'],
|
|
54
|
+
};
|
|
55
|
+
}
|