@randock/nameshift-api-client 0.0.562 → 0.0.563
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 +12 -0
- package/README.md +3 -3
- 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/LeadsPublicApi.d.ts +5 -5
- package/dist/apis/LeadsPublicApi.js +6 -4
- 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/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/LeadPhoneVerificationResultOutput.d.ts +47 -0
- package/dist/models/LeadPhoneVerificationResultOutput.js +62 -0
- package/dist/models/VerifyBuyerSessionEmailOtpInput.d.ts +32 -0
- package/dist/models/VerifyBuyerSessionEmailOtpInput.js +51 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +56 -0
- package/src/apis/BuyersPublicApi.ts +378 -0
- package/src/apis/LeadsPublicApi.ts +14 -7
- package/src/models/BuyerCheckoutProfileDto.ts +192 -0
- package/src/models/BuyerCheckoutProfileSummaryDto.ts +129 -0
- package/src/models/BuyerLandingSessionOutput.ts +120 -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/LeadPhoneVerificationResultOutput.ts +106 -0
- package/src/models/VerifyBuyerSessionEmailOtpInput.ts +66 -0
- package/src/models/index.ts +12 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { BuyerSessionPurchaseTypeEnum } from './BuyerSessionPurchaseTypeEnum';
|
|
17
|
+
import {
|
|
18
|
+
BuyerSessionPurchaseTypeEnumFromJSON,
|
|
19
|
+
BuyerSessionPurchaseTypeEnumFromJSONTyped,
|
|
20
|
+
BuyerSessionPurchaseTypeEnumToJSON,
|
|
21
|
+
BuyerSessionPurchaseTypeEnumToJSONTyped,
|
|
22
|
+
} from './BuyerSessionPurchaseTypeEnum';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface CreateBuyerSessionFromPurchaseInput
|
|
28
|
+
*/
|
|
29
|
+
export interface CreateBuyerSessionFromPurchaseInput {
|
|
30
|
+
/**
|
|
31
|
+
* Kind of purchase the buyer just paid.
|
|
32
|
+
* @type {BuyerSessionPurchaseTypeEnum}
|
|
33
|
+
* @memberof CreateBuyerSessionFromPurchaseInput
|
|
34
|
+
*/
|
|
35
|
+
type: BuyerSessionPurchaseTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Identifier of the purchase.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateBuyerSessionFromPurchaseInput
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the CreateBuyerSessionFromPurchaseInput interface.
|
|
48
|
+
*/
|
|
49
|
+
export function instanceOfCreateBuyerSessionFromPurchaseInput(value: object): value is CreateBuyerSessionFromPurchaseInput {
|
|
50
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
51
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function CreateBuyerSessionFromPurchaseInputFromJSON(json: any): CreateBuyerSessionFromPurchaseInput {
|
|
56
|
+
return CreateBuyerSessionFromPurchaseInputFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function CreateBuyerSessionFromPurchaseInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBuyerSessionFromPurchaseInput {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'type': BuyerSessionPurchaseTypeEnumFromJSON(json['type']),
|
|
66
|
+
'id': json['id'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function CreateBuyerSessionFromPurchaseInputToJSON(json: any): CreateBuyerSessionFromPurchaseInput {
|
|
71
|
+
return CreateBuyerSessionFromPurchaseInputToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function CreateBuyerSessionFromPurchaseInputToJSONTyped(value?: CreateBuyerSessionFromPurchaseInput | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'type': BuyerSessionPurchaseTypeEnumToJSON(value['type']),
|
|
82
|
+
'id': value['id'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CreateDashboardBuyerSessionInput
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateDashboardBuyerSessionInput {
|
|
22
|
+
/**
|
|
23
|
+
* Locale of the dashboard page.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateDashboardBuyerSessionInput
|
|
26
|
+
*/
|
|
27
|
+
locale: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CreateDashboardBuyerSessionInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfCreateDashboardBuyerSessionInput(value: object): value is CreateDashboardBuyerSessionInput {
|
|
34
|
+
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function CreateDashboardBuyerSessionInputFromJSON(json: any): CreateDashboardBuyerSessionInput {
|
|
39
|
+
return CreateDashboardBuyerSessionInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function CreateDashboardBuyerSessionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDashboardBuyerSessionInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'locale': json['locale'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CreateDashboardBuyerSessionInputToJSON(json: any): CreateDashboardBuyerSessionInput {
|
|
53
|
+
return CreateDashboardBuyerSessionInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CreateDashboardBuyerSessionInputToJSONTyped(value?: CreateDashboardBuyerSessionInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'locale': value['locale'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ExchangeBuyerSessionCodeInput
|
|
20
|
+
*/
|
|
21
|
+
export interface ExchangeBuyerSessionCodeInput {
|
|
22
|
+
/**
|
|
23
|
+
* Code the API sent back to the landing after the redirect.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ExchangeBuyerSessionCodeInput
|
|
26
|
+
*/
|
|
27
|
+
code: string;
|
|
28
|
+
/**
|
|
29
|
+
* PKCE verifier whose SHA-256, in base64url, was sent as codeChallenge.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ExchangeBuyerSessionCodeInput
|
|
32
|
+
*/
|
|
33
|
+
codeVerifier: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ExchangeBuyerSessionCodeInput interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfExchangeBuyerSessionCodeInput(value: object): value is ExchangeBuyerSessionCodeInput {
|
|
40
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
41
|
+
if (!('codeVerifier' in value) || value['codeVerifier'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ExchangeBuyerSessionCodeInputFromJSON(json: any): ExchangeBuyerSessionCodeInput {
|
|
46
|
+
return ExchangeBuyerSessionCodeInputFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ExchangeBuyerSessionCodeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeBuyerSessionCodeInput {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'code': json['code'],
|
|
56
|
+
'codeVerifier': json['codeVerifier'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ExchangeBuyerSessionCodeInputToJSON(json: any): ExchangeBuyerSessionCodeInput {
|
|
61
|
+
return ExchangeBuyerSessionCodeInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ExchangeBuyerSessionCodeInputToJSONTyped(value?: ExchangeBuyerSessionCodeInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'code': value['code'],
|
|
72
|
+
'codeVerifier': value['codeVerifier'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { BuyerLandingSessionOutput } from './BuyerLandingSessionOutput';
|
|
17
|
+
import {
|
|
18
|
+
BuyerLandingSessionOutputFromJSON,
|
|
19
|
+
BuyerLandingSessionOutputFromJSONTyped,
|
|
20
|
+
BuyerLandingSessionOutputToJSON,
|
|
21
|
+
BuyerLandingSessionOutputToJSONTyped,
|
|
22
|
+
} from './BuyerLandingSessionOutput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LeadEmailVerificationResultOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface LeadEmailVerificationResultOutput {
|
|
30
|
+
/**
|
|
31
|
+
* Buyer session for the landing that sent the request.
|
|
32
|
+
* @type {BuyerLandingSessionOutput}
|
|
33
|
+
* @memberof LeadEmailVerificationResultOutput
|
|
34
|
+
*/
|
|
35
|
+
session: BuyerLandingSessionOutput | null;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the LeadEmailVerificationResultOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfLeadEmailVerificationResultOutput(value: object): value is LeadEmailVerificationResultOutput {
|
|
42
|
+
if (!('session' in value) || value['session'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function LeadEmailVerificationResultOutputFromJSON(json: any): LeadEmailVerificationResultOutput {
|
|
47
|
+
return LeadEmailVerificationResultOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function LeadEmailVerificationResultOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEmailVerificationResultOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'session': BuyerLandingSessionOutputFromJSON(json['session']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function LeadEmailVerificationResultOutputToJSON(json: any): LeadEmailVerificationResultOutput {
|
|
61
|
+
return LeadEmailVerificationResultOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function LeadEmailVerificationResultOutputToJSONTyped(value?: LeadEmailVerificationResultOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'session': BuyerLandingSessionOutputToJSON(value['session']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LeadEmailVerificationDto } from './LeadEmailVerificationDto';
|
|
17
|
+
import {
|
|
18
|
+
LeadEmailVerificationDtoFromJSON,
|
|
19
|
+
LeadEmailVerificationDtoFromJSONTyped,
|
|
20
|
+
LeadEmailVerificationDtoToJSON,
|
|
21
|
+
LeadEmailVerificationDtoToJSONTyped,
|
|
22
|
+
} from './LeadEmailVerificationDto';
|
|
23
|
+
import type { BuyerLandingSessionOutput } from './BuyerLandingSessionOutput';
|
|
24
|
+
import {
|
|
25
|
+
BuyerLandingSessionOutputFromJSON,
|
|
26
|
+
BuyerLandingSessionOutputFromJSONTyped,
|
|
27
|
+
BuyerLandingSessionOutputToJSON,
|
|
28
|
+
BuyerLandingSessionOutputToJSONTyped,
|
|
29
|
+
} from './BuyerLandingSessionOutput';
|
|
30
|
+
import type { LeadPhoneVerificationDto } from './LeadPhoneVerificationDto';
|
|
31
|
+
import {
|
|
32
|
+
LeadPhoneVerificationDtoFromJSON,
|
|
33
|
+
LeadPhoneVerificationDtoFromJSONTyped,
|
|
34
|
+
LeadPhoneVerificationDtoToJSON,
|
|
35
|
+
LeadPhoneVerificationDtoToJSONTyped,
|
|
36
|
+
} from './LeadPhoneVerificationDto';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface LeadPhoneVerificationResultOutput
|
|
42
|
+
*/
|
|
43
|
+
export interface LeadPhoneVerificationResultOutput {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {LeadEmailVerificationDto}
|
|
47
|
+
* @memberof LeadPhoneVerificationResultOutput
|
|
48
|
+
*/
|
|
49
|
+
email: LeadEmailVerificationDto;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {LeadPhoneVerificationDto}
|
|
53
|
+
* @memberof LeadPhoneVerificationResultOutput
|
|
54
|
+
*/
|
|
55
|
+
phone: LeadPhoneVerificationDto;
|
|
56
|
+
/**
|
|
57
|
+
* Buyer session for the landing that sent the request.
|
|
58
|
+
* @type {BuyerLandingSessionOutput}
|
|
59
|
+
* @memberof LeadPhoneVerificationResultOutput
|
|
60
|
+
*/
|
|
61
|
+
session: BuyerLandingSessionOutput | null;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the LeadPhoneVerificationResultOutput interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfLeadPhoneVerificationResultOutput(value: object): value is LeadPhoneVerificationResultOutput {
|
|
68
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
69
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
70
|
+
if (!('session' in value) || value['session'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function LeadPhoneVerificationResultOutputFromJSON(json: any): LeadPhoneVerificationResultOutput {
|
|
75
|
+
return LeadPhoneVerificationResultOutputFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function LeadPhoneVerificationResultOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadPhoneVerificationResultOutput {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'email': LeadEmailVerificationDtoFromJSON(json['email']),
|
|
85
|
+
'phone': LeadPhoneVerificationDtoFromJSON(json['phone']),
|
|
86
|
+
'session': BuyerLandingSessionOutputFromJSON(json['session']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function LeadPhoneVerificationResultOutputToJSON(json: any): LeadPhoneVerificationResultOutput {
|
|
91
|
+
return LeadPhoneVerificationResultOutputToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function LeadPhoneVerificationResultOutputToJSONTyped(value?: LeadPhoneVerificationResultOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'email': LeadEmailVerificationDtoToJSON(value['email']),
|
|
102
|
+
'phone': LeadPhoneVerificationDtoToJSON(value['phone']),
|
|
103
|
+
'session': BuyerLandingSessionOutputToJSON(value['session']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VerifyBuyerSessionEmailOtpInput
|
|
20
|
+
*/
|
|
21
|
+
export interface VerifyBuyerSessionEmailOtpInput {
|
|
22
|
+
/**
|
|
23
|
+
* Code emailed to the buyer.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof VerifyBuyerSessionEmailOtpInput
|
|
26
|
+
*/
|
|
27
|
+
code: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the VerifyBuyerSessionEmailOtpInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfVerifyBuyerSessionEmailOtpInput(value: object): value is VerifyBuyerSessionEmailOtpInput {
|
|
34
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function VerifyBuyerSessionEmailOtpInputFromJSON(json: any): VerifyBuyerSessionEmailOtpInput {
|
|
39
|
+
return VerifyBuyerSessionEmailOtpInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function VerifyBuyerSessionEmailOtpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyBuyerSessionEmailOtpInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'code': json['code'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function VerifyBuyerSessionEmailOtpInputToJSON(json: any): VerifyBuyerSessionEmailOtpInput {
|
|
53
|
+
return VerifyBuyerSessionEmailOtpInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function VerifyBuyerSessionEmailOtpInputToJSONTyped(value?: VerifyBuyerSessionEmailOtpInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'code': value['code'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -183,6 +183,8 @@ export * from './BuyerAuctionDetailDtoDomain';
|
|
|
183
183
|
export * from './BuyerAuctionListItemDto';
|
|
184
184
|
export * from './BuyerAuctionListItemDtoDomainInformation';
|
|
185
185
|
export * from './BuyerAuctionListItemDtoSellerAccount';
|
|
186
|
+
export * from './BuyerCheckoutProfileDto';
|
|
187
|
+
export * from './BuyerCheckoutProfileSummaryDto';
|
|
186
188
|
export * from './BuyerDomainAppraisalRequestCheckoutDto';
|
|
187
189
|
export * from './BuyerDomainNameserverItemDto';
|
|
188
190
|
export * from './BuyerDomainRecordItemDto';
|
|
@@ -195,6 +197,7 @@ export * from './BuyerExperienceEnum';
|
|
|
195
197
|
export * from './BuyerInvoiceDomainDto';
|
|
196
198
|
export * from './BuyerInvoiceDto';
|
|
197
199
|
export * from './BuyerInvoiceSellerAccountDto';
|
|
200
|
+
export * from './BuyerLandingSessionOutput';
|
|
198
201
|
export * from './BuyerLeadListItemDomainDto';
|
|
199
202
|
export * from './BuyerLeadListItemDto';
|
|
200
203
|
export * from './BuyerLoginDto';
|
|
@@ -205,6 +208,8 @@ export * from './BuyerNotificationSettingsDto';
|
|
|
205
208
|
export * from './BuyerPaymentEnum';
|
|
206
209
|
export * from './BuyerSecurityUserDto';
|
|
207
210
|
export * from './BuyerSessionDto';
|
|
211
|
+
export * from './BuyerSessionEstablishTicketOutput';
|
|
212
|
+
export * from './BuyerSessionPurchaseTypeEnum';
|
|
208
213
|
export * from './BuyerSubscriptionListItemDto';
|
|
209
214
|
export * from './BuyerSubscriptionListItemDtoDomainInformation';
|
|
210
215
|
export * from './BuyerTaskDetailsDto';
|
|
@@ -254,7 +259,10 @@ export * from './CreateBankAccountInput';
|
|
|
254
259
|
export * from './CreateBrokeredLeadInput';
|
|
255
260
|
export * from './CreateBuyerDomainAppraisalRequestInput';
|
|
256
261
|
export * from './CreateBuyerLeadMessageInput';
|
|
262
|
+
export * from './CreateBuyerSessionEstablishTicketInput';
|
|
263
|
+
export * from './CreateBuyerSessionFromPurchaseInput';
|
|
257
264
|
export * from './CreateChallengeInput';
|
|
265
|
+
export * from './CreateDashboardBuyerSessionInput';
|
|
258
266
|
export * from './CreateInformationRequestLeadInput';
|
|
259
267
|
export * from './CreateLeadInput';
|
|
260
268
|
export * from './CreateLeadMessageInput';
|
|
@@ -333,6 +341,7 @@ export * from './DomainTransferWorkflowDto';
|
|
|
333
341
|
export * from './DomainUrlDto';
|
|
334
342
|
export * from './DomainVerificationStatusDto';
|
|
335
343
|
export * from './EppBatchUpdateInput';
|
|
344
|
+
export * from './ExchangeBuyerSessionCodeInput';
|
|
336
345
|
export * from './FeatureFlagListItemDto';
|
|
337
346
|
export * from './FixedCommissionPayloadDto';
|
|
338
347
|
export * from './FixedCommissionPayloadInput';
|
|
@@ -405,6 +414,7 @@ export * from './LeadBuyerConfigDto';
|
|
|
405
414
|
export * from './LeadDomainDto';
|
|
406
415
|
export * from './LeadDto';
|
|
407
416
|
export * from './LeadEmailVerificationDto';
|
|
417
|
+
export * from './LeadEmailVerificationResultOutput';
|
|
408
418
|
export * from './LeadEnrichmentActivityDto';
|
|
409
419
|
export * from './LeadEnrichmentCompanyDto';
|
|
410
420
|
export * from './LeadEnrichmentDomainDto';
|
|
@@ -431,6 +441,7 @@ export * from './LeadOfferExpirationDurationInput';
|
|
|
431
441
|
export * from './LeadPhoneVerificationDeliveryDto';
|
|
432
442
|
export * from './LeadPhoneVerificationDto';
|
|
433
443
|
export * from './LeadPhoneVerificationReason';
|
|
444
|
+
export * from './LeadPhoneVerificationResultOutput';
|
|
434
445
|
export * from './LeadPhoneVerificationSummaryDto';
|
|
435
446
|
export * from './LeadPhoneVerificationTooSoonOutput';
|
|
436
447
|
export * from './LeadPhoneVerificationUnavailableOutput';
|
|
@@ -737,6 +748,7 @@ export * from './ValidateTaxNumberDto';
|
|
|
737
748
|
export * from './ValidateTaxNumberInput';
|
|
738
749
|
export * from './ValidationError';
|
|
739
750
|
export * from './ValidationException';
|
|
751
|
+
export * from './VerifyBuyerSessionEmailOtpInput';
|
|
740
752
|
export * from './VerifyEmailOtpInput';
|
|
741
753
|
export * from './VerifyLeadInput';
|
|
742
754
|
export * from './VerifyLeadPhoneInput';
|