@randock/nameshift-api-client 0.0.557 → 0.0.558
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 +15 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +38 -1
- package/dist/apis/AdminApi.js +165 -0
- package/dist/apis/BuyersApi.d.ts +3 -2
- package/dist/apis/BuyersApi.js +5 -2
- package/dist/apis/LeadsPublicApi.d.ts +43 -1
- package/dist/apis/LeadsPublicApi.js +151 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +2 -0
- package/dist/models/FeatureFlagListItemDto.js +3 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +2 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +3 -1
- package/dist/models/LeadDto.d.ts +7 -0
- package/dist/models/LeadDto.js +5 -0
- package/dist/models/LeadEmailVerificationDto.d.ts +38 -0
- package/dist/models/LeadEmailVerificationDto.js +55 -0
- package/dist/models/LeadPhoneVerificationDeliveryDto.d.ts +49 -0
- package/dist/models/LeadPhoneVerificationDeliveryDto.js +66 -0
- package/dist/models/LeadPhoneVerificationDto.d.ts +80 -0
- package/dist/models/LeadPhoneVerificationDto.js +89 -0
- package/dist/models/LeadPhoneVerificationReason.d.ts +35 -0
- package/dist/models/LeadPhoneVerificationReason.js +61 -0
- package/dist/models/LeadPhoneVerificationSummaryDto.d.ts +32 -0
- package/dist/models/LeadPhoneVerificationSummaryDto.js +51 -0
- package/dist/models/LeadPhoneVerificationTooSoonOutput.d.ts +51 -0
- package/dist/models/LeadPhoneVerificationTooSoonOutput.js +64 -0
- package/dist/models/LeadPhoneVerificationUnavailableOutput.d.ts +51 -0
- package/dist/models/LeadPhoneVerificationUnavailableOutput.js +64 -0
- package/dist/models/LeadVerificationDto.d.ts +40 -0
- package/dist/models/LeadVerificationDto.js +57 -0
- package/dist/models/LeadVerificationInput.d.ts +24 -0
- package/dist/models/LeadVerificationInput.js +8 -0
- package/dist/models/LeadVerificationSettingsDto.d.ts +24 -0
- package/dist/models/LeadVerificationSettingsDto.js +16 -0
- package/dist/models/ListLeadsResultItem.d.ts +7 -0
- package/dist/models/ListLeadsResultItem.js +5 -0
- package/dist/models/ManualLeadDetails.d.ts +7 -0
- package/dist/models/ManualLeadDetails.js +5 -0
- package/dist/models/PhoneMessageDeliveryStatus.d.ts +27 -0
- package/dist/models/PhoneMessageDeliveryStatus.js +53 -0
- package/dist/models/PlatformConfigurationBlock.d.ts +25 -0
- package/dist/models/PlatformConfigurationBlock.js +51 -0
- package/dist/models/PlatformConfigurationDto.d.ts +62 -0
- package/dist/models/PlatformConfigurationDto.js +69 -0
- package/dist/models/PlatformConfigurationUpdatedByDto.d.ts +44 -0
- package/dist/models/PlatformConfigurationUpdatedByDto.js +59 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +2 -0
- package/dist/models/PrivateAccountGetMeResponse.js +3 -1
- package/dist/models/PublicLeadDto.d.ts +7 -0
- package/dist/models/PublicLeadDto.js +5 -0
- package/dist/models/RegisterAuctionBuyerPhoneInput.d.ts +9 -2
- package/dist/models/RegisterAuctionBuyerPhoneInput.js +3 -3
- package/dist/models/RequestLeadPhoneVerificationCodeInput.d.ts +32 -0
- package/dist/models/RequestLeadPhoneVerificationCodeInput.js +49 -0
- package/dist/models/SellerLeadDetails.d.ts +7 -0
- package/dist/models/SellerLeadDetails.js +5 -0
- package/dist/models/UpdatePlatformConfigurationInput.d.ts +34 -0
- package/dist/models/UpdatePlatformConfigurationInput.js +51 -0
- package/dist/models/VerifyLeadPhoneInput.d.ts +32 -0
- package/dist/models/VerifyLeadPhoneInput.js +51 -0
- package/dist/models/VerifyPhoneOtpInput.d.ts +1 -1
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +149 -0
- package/src/apis/BuyersApi.ts +7 -2
- package/src/apis/LeadsPublicApi.ts +162 -0
- package/src/models/FeatureFlagListItemDto.ts +3 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +3 -1
- package/src/models/LeadDto.ts +16 -0
- package/src/models/LeadEmailVerificationDto.ts +75 -0
- package/src/models/LeadPhoneVerificationDeliveryDto.ts +96 -0
- package/src/models/LeadPhoneVerificationDto.ts +132 -0
- package/src/models/LeadPhoneVerificationReason.ts +63 -0
- package/src/models/LeadPhoneVerificationSummaryDto.ts +66 -0
- package/src/models/LeadPhoneVerificationTooSoonOutput.ts +103 -0
- package/src/models/LeadPhoneVerificationUnavailableOutput.ts +103 -0
- package/src/models/LeadVerificationDto.ts +90 -0
- package/src/models/LeadVerificationInput.ts +32 -0
- package/src/models/LeadVerificationSettingsDto.ts +36 -0
- package/src/models/ListLeadsResultItem.ts +16 -0
- package/src/models/ManualLeadDetails.ts +16 -0
- package/src/models/PhoneMessageDeliveryStatus.ts +55 -0
- package/src/models/PlatformConfigurationBlock.ts +53 -0
- package/src/models/PlatformConfigurationDto.ts +119 -0
- package/src/models/PlatformConfigurationUpdatedByDto.ts +84 -0
- package/src/models/PrivateAccountGetMeResponse.ts +3 -1
- package/src/models/PublicLeadDto.ts +16 -0
- package/src/models/RegisterAuctionBuyerPhoneInput.ts +12 -4
- package/src/models/RequestLeadPhoneVerificationCodeInput.ts +65 -0
- package/src/models/SellerLeadDetails.ts +16 -0
- package/src/models/UpdatePlatformConfigurationInput.ts +66 -0
- package/src/models/VerifyLeadPhoneInput.ts +66 -0
- package/src/models/VerifyPhoneOtpInput.ts +1 -1
- package/src/models/index.ts +15 -0
|
@@ -24,6 +24,7 @@ var LeadMessageData_1 = require("./LeadMessageData");
|
|
|
24
24
|
var LeadBrokeredDealDto_1 = require("./LeadBrokeredDealDto");
|
|
25
25
|
var LeadDomainDto_1 = require("./LeadDomainDto");
|
|
26
26
|
var MoneyDto_1 = require("./MoneyDto");
|
|
27
|
+
var LeadPhoneVerificationSummaryDto_1 = require("./LeadPhoneVerificationSummaryDto");
|
|
27
28
|
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
28
29
|
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
29
30
|
var LeadOfferDto_1 = require("./LeadOfferDto");
|
|
@@ -137,6 +138,8 @@ function instanceOfListLeadsResultItem(value) {
|
|
|
137
138
|
return false;
|
|
138
139
|
if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined)
|
|
139
140
|
return false;
|
|
141
|
+
if (!('phoneVerification' in value) || value['phoneVerification'] === undefined)
|
|
142
|
+
return false;
|
|
140
143
|
if (!('buyerInitials' in value) || value['buyerInitials'] === undefined)
|
|
141
144
|
return false;
|
|
142
145
|
if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined)
|
|
@@ -189,6 +192,7 @@ function ListLeadsResultItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
189
192
|
'canBeClosedBySeller': json['canBeClosedBySeller'],
|
|
190
193
|
'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
|
|
191
194
|
'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
|
|
195
|
+
'phoneVerification': (0, LeadPhoneVerificationSummaryDto_1.LeadPhoneVerificationSummaryDtoFromJSON)(json['phoneVerification']),
|
|
192
196
|
'buyerInitials': json['buyerInitials'],
|
|
193
197
|
'buyerIpCountryCode': json['buyerIpCountryCode'],
|
|
194
198
|
'lastMessageFrom': json['lastMessageFrom'],
|
|
@@ -233,6 +237,7 @@ function ListLeadsResultItemToJSONTyped(value, ignoreDiscriminator) {
|
|
|
233
237
|
'canBeClosedBySeller': value['canBeClosedBySeller'],
|
|
234
238
|
'acceptedAt': (value['acceptedAt'] == null ? null : value['acceptedAt'].toISOString()),
|
|
235
239
|
'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
|
|
240
|
+
'phoneVerification': (0, LeadPhoneVerificationSummaryDto_1.LeadPhoneVerificationSummaryDtoToJSON)(value['phoneVerification']),
|
|
236
241
|
'buyerInitials': value['buyerInitials'],
|
|
237
242
|
'buyerIpCountryCode': value['buyerIpCountryCode'],
|
|
238
243
|
'lastMessageFrom': value['lastMessageFrom'],
|
|
@@ -14,6 +14,7 @@ import type { ManualLeadBuyerDto } from './ManualLeadBuyerDto';
|
|
|
14
14
|
import type { ManualLeadLeaseToOwnDto } from './ManualLeadLeaseToOwnDto';
|
|
15
15
|
import type { MoneyDto } from './MoneyDto';
|
|
16
16
|
import type { IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto } from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
17
|
+
import type { LeadPhoneVerificationSummaryDto } from './LeadPhoneVerificationSummaryDto';
|
|
17
18
|
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
18
19
|
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
19
20
|
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
@@ -168,6 +169,12 @@ export interface ManualLeadDetails {
|
|
|
168
169
|
* @memberof ManualLeadDetails
|
|
169
170
|
*/
|
|
170
171
|
awaitingSellerFirstMessage: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* How the buyer phone number was confirmed. Null when the buyer did not confirm a phone code.
|
|
174
|
+
* @type {LeadPhoneVerificationSummaryDto}
|
|
175
|
+
* @memberof ManualLeadDetails
|
|
176
|
+
*/
|
|
177
|
+
phoneVerification: LeadPhoneVerificationSummaryDto | null;
|
|
171
178
|
/**
|
|
172
179
|
* Buyer details for the manually created lead.
|
|
173
180
|
* @type {ManualLeadBuyerDto}
|
|
@@ -24,6 +24,7 @@ var ManualLeadBuyerDto_1 = require("./ManualLeadBuyerDto");
|
|
|
24
24
|
var ManualLeadLeaseToOwnDto_1 = require("./ManualLeadLeaseToOwnDto");
|
|
25
25
|
var MoneyDto_1 = require("./MoneyDto");
|
|
26
26
|
var IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto_1 = require("./IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto");
|
|
27
|
+
var LeadPhoneVerificationSummaryDto_1 = require("./LeadPhoneVerificationSummaryDto");
|
|
27
28
|
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
28
29
|
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
29
30
|
var DomainLockConfigurationDto_1 = require("./DomainLockConfigurationDto");
|
|
@@ -118,6 +119,8 @@ function instanceOfManualLeadDetails(value) {
|
|
|
118
119
|
return false;
|
|
119
120
|
if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined)
|
|
120
121
|
return false;
|
|
122
|
+
if (!('phoneVerification' in value) || value['phoneVerification'] === undefined)
|
|
123
|
+
return false;
|
|
121
124
|
if (!('buyer' in value) || value['buyer'] === undefined)
|
|
122
125
|
return false;
|
|
123
126
|
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined)
|
|
@@ -158,6 +161,7 @@ function ManualLeadDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
158
161
|
'canBeClosedBySeller': json['canBeClosedBySeller'],
|
|
159
162
|
'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
|
|
160
163
|
'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
|
|
164
|
+
'phoneVerification': (0, LeadPhoneVerificationSummaryDto_1.LeadPhoneVerificationSummaryDtoFromJSON)(json['phoneVerification']),
|
|
161
165
|
'buyer': (0, ManualLeadBuyerDto_1.ManualLeadBuyerDtoFromJSON)(json['buyer']),
|
|
162
166
|
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
|
|
163
167
|
'brokeredDeal': (0, LeadBrokeredDealDto_1.LeadBrokeredDealDtoFromJSON)(json['brokeredDeal']),
|
|
@@ -196,6 +200,7 @@ function ManualLeadDetailsToJSONTyped(value, ignoreDiscriminator) {
|
|
|
196
200
|
'canBeClosedBySeller': value['canBeClosedBySeller'],
|
|
197
201
|
'acceptedAt': (value['acceptedAt'] == null ? null : value['acceptedAt'].toISOString()),
|
|
198
202
|
'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
|
|
203
|
+
'phoneVerification': (0, LeadPhoneVerificationSummaryDto_1.LeadPhoneVerificationSummaryDtoToJSON)(value['phoneVerification']),
|
|
199
204
|
'buyer': (0, ManualLeadBuyerDto_1.ManualLeadBuyerDtoToJSON)(value['buyer']),
|
|
200
205
|
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
|
|
201
206
|
'brokeredDeal': (0, LeadBrokeredDealDto_1.LeadBrokeredDealDtoToJSON)(value['brokeredDeal']),
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Whether the code is on its way, arrived, or could not arrive.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const PhoneMessageDeliveryStatus: {
|
|
17
|
+
readonly SENDING: "sending";
|
|
18
|
+
readonly SENT: "sent";
|
|
19
|
+
readonly DELIVERED: "delivered";
|
|
20
|
+
readonly UNDELIVERED: "undelivered";
|
|
21
|
+
};
|
|
22
|
+
export type PhoneMessageDeliveryStatus = typeof PhoneMessageDeliveryStatus[keyof typeof PhoneMessageDeliveryStatus];
|
|
23
|
+
export declare function instanceOfPhoneMessageDeliveryStatus(value: any): boolean;
|
|
24
|
+
export declare function PhoneMessageDeliveryStatusFromJSON(json: any): PhoneMessageDeliveryStatus;
|
|
25
|
+
export declare function PhoneMessageDeliveryStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhoneMessageDeliveryStatus;
|
|
26
|
+
export declare function PhoneMessageDeliveryStatusToJSON(value?: PhoneMessageDeliveryStatus | null): any;
|
|
27
|
+
export declare function PhoneMessageDeliveryStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): PhoneMessageDeliveryStatus;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PhoneMessageDeliveryStatus = void 0;
|
|
17
|
+
exports.instanceOfPhoneMessageDeliveryStatus = instanceOfPhoneMessageDeliveryStatus;
|
|
18
|
+
exports.PhoneMessageDeliveryStatusFromJSON = PhoneMessageDeliveryStatusFromJSON;
|
|
19
|
+
exports.PhoneMessageDeliveryStatusFromJSONTyped = PhoneMessageDeliveryStatusFromJSONTyped;
|
|
20
|
+
exports.PhoneMessageDeliveryStatusToJSON = PhoneMessageDeliveryStatusToJSON;
|
|
21
|
+
exports.PhoneMessageDeliveryStatusToJSONTyped = PhoneMessageDeliveryStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the code is on its way, arrived, or could not arrive.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.PhoneMessageDeliveryStatus = {
|
|
27
|
+
SENDING: 'sending',
|
|
28
|
+
SENT: 'sent',
|
|
29
|
+
DELIVERED: 'delivered',
|
|
30
|
+
UNDELIVERED: 'undelivered'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfPhoneMessageDeliveryStatus(value) {
|
|
33
|
+
for (var key in exports.PhoneMessageDeliveryStatus) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.PhoneMessageDeliveryStatus, key)) {
|
|
35
|
+
if (exports.PhoneMessageDeliveryStatus[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function PhoneMessageDeliveryStatusFromJSON(json) {
|
|
43
|
+
return PhoneMessageDeliveryStatusFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PhoneMessageDeliveryStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function PhoneMessageDeliveryStatusToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function PhoneMessageDeliveryStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Name of the configuration block.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const PlatformConfigurationBlock: {
|
|
17
|
+
readonly PHONE_VERIFICATION: "phone_verification";
|
|
18
|
+
readonly LEAD_PHONE_VERIFICATION: "lead_phone_verification";
|
|
19
|
+
};
|
|
20
|
+
export type PlatformConfigurationBlock = typeof PlatformConfigurationBlock[keyof typeof PlatformConfigurationBlock];
|
|
21
|
+
export declare function instanceOfPlatformConfigurationBlock(value: any): boolean;
|
|
22
|
+
export declare function PlatformConfigurationBlockFromJSON(json: any): PlatformConfigurationBlock;
|
|
23
|
+
export declare function PlatformConfigurationBlockFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlatformConfigurationBlock;
|
|
24
|
+
export declare function PlatformConfigurationBlockToJSON(value?: PlatformConfigurationBlock | null): any;
|
|
25
|
+
export declare function PlatformConfigurationBlockToJSONTyped(value: any, ignoreDiscriminator: boolean): PlatformConfigurationBlock;
|
|
@@ -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.PlatformConfigurationBlock = void 0;
|
|
17
|
+
exports.instanceOfPlatformConfigurationBlock = instanceOfPlatformConfigurationBlock;
|
|
18
|
+
exports.PlatformConfigurationBlockFromJSON = PlatformConfigurationBlockFromJSON;
|
|
19
|
+
exports.PlatformConfigurationBlockFromJSONTyped = PlatformConfigurationBlockFromJSONTyped;
|
|
20
|
+
exports.PlatformConfigurationBlockToJSON = PlatformConfigurationBlockToJSON;
|
|
21
|
+
exports.PlatformConfigurationBlockToJSONTyped = PlatformConfigurationBlockToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Name of the configuration block.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.PlatformConfigurationBlock = {
|
|
27
|
+
PHONE_VERIFICATION: 'phone_verification',
|
|
28
|
+
LEAD_PHONE_VERIFICATION: 'lead_phone_verification'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfPlatformConfigurationBlock(value) {
|
|
31
|
+
for (var key in exports.PlatformConfigurationBlock) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.PlatformConfigurationBlock, key)) {
|
|
33
|
+
if (exports.PlatformConfigurationBlock[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function PlatformConfigurationBlockFromJSON(json) {
|
|
41
|
+
return PlatformConfigurationBlockFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PlatformConfigurationBlockFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function PlatformConfigurationBlockToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function PlatformConfigurationBlockToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { PlatformConfigurationBlock } from './PlatformConfigurationBlock';
|
|
13
|
+
import type { PlatformConfigurationUpdatedByDto } from './PlatformConfigurationUpdatedByDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PlatformConfigurationDto
|
|
18
|
+
*/
|
|
19
|
+
export interface PlatformConfigurationDto {
|
|
20
|
+
/**
|
|
21
|
+
* Name of the configuration block.
|
|
22
|
+
* @type {PlatformConfigurationBlock}
|
|
23
|
+
* @memberof PlatformConfigurationDto
|
|
24
|
+
*/
|
|
25
|
+
name: PlatformConfigurationBlock;
|
|
26
|
+
/**
|
|
27
|
+
* JSON Schema of the block value.
|
|
28
|
+
* @type {{ [key: string]: any; }}
|
|
29
|
+
* @memberof PlatformConfigurationDto
|
|
30
|
+
*/
|
|
31
|
+
schema: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Values of the block.
|
|
36
|
+
* @type {{ [key: string]: any; }}
|
|
37
|
+
* @memberof PlatformConfigurationDto
|
|
38
|
+
*/
|
|
39
|
+
value: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* When the value last changed.
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof PlatformConfigurationDto
|
|
46
|
+
*/
|
|
47
|
+
updatedAt: Date;
|
|
48
|
+
/**
|
|
49
|
+
* Admin who saved the block last.
|
|
50
|
+
* @type {PlatformConfigurationUpdatedByDto}
|
|
51
|
+
* @memberof PlatformConfigurationDto
|
|
52
|
+
*/
|
|
53
|
+
updatedBy: PlatformConfigurationUpdatedByDto | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the PlatformConfigurationDto interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfPlatformConfigurationDto(value: object): value is PlatformConfigurationDto;
|
|
59
|
+
export declare function PlatformConfigurationDtoFromJSON(json: any): PlatformConfigurationDto;
|
|
60
|
+
export declare function PlatformConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlatformConfigurationDto;
|
|
61
|
+
export declare function PlatformConfigurationDtoToJSON(json: any): PlatformConfigurationDto;
|
|
62
|
+
export declare function PlatformConfigurationDtoToJSONTyped(value?: PlatformConfigurationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
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.instanceOfPlatformConfigurationDto = instanceOfPlatformConfigurationDto;
|
|
17
|
+
exports.PlatformConfigurationDtoFromJSON = PlatformConfigurationDtoFromJSON;
|
|
18
|
+
exports.PlatformConfigurationDtoFromJSONTyped = PlatformConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.PlatformConfigurationDtoToJSON = PlatformConfigurationDtoToJSON;
|
|
20
|
+
exports.PlatformConfigurationDtoToJSONTyped = PlatformConfigurationDtoToJSONTyped;
|
|
21
|
+
var PlatformConfigurationBlock_1 = require("./PlatformConfigurationBlock");
|
|
22
|
+
var PlatformConfigurationUpdatedByDto_1 = require("./PlatformConfigurationUpdatedByDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PlatformConfigurationDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPlatformConfigurationDto(value) {
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('schema' in value) || value['schema'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('updatedBy' in value) || value['updatedBy'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function PlatformConfigurationDtoFromJSON(json) {
|
|
40
|
+
return PlatformConfigurationDtoFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function PlatformConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'name': (0, PlatformConfigurationBlock_1.PlatformConfigurationBlockFromJSON)(json['name']),
|
|
48
|
+
'schema': json['schema'],
|
|
49
|
+
'value': json['value'],
|
|
50
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
51
|
+
'updatedBy': (0, PlatformConfigurationUpdatedByDto_1.PlatformConfigurationUpdatedByDtoFromJSON)(json['updatedBy']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function PlatformConfigurationDtoToJSON(json) {
|
|
55
|
+
return PlatformConfigurationDtoToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function PlatformConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'name': (0, PlatformConfigurationBlock_1.PlatformConfigurationBlockToJSON)(value['name']),
|
|
64
|
+
'schema': value['schema'],
|
|
65
|
+
'value': value['value'],
|
|
66
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
67
|
+
'updatedBy': (0, PlatformConfigurationUpdatedByDto_1.PlatformConfigurationUpdatedByDtoToJSON)(value['updatedBy']),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 PlatformConfigurationUpdatedByDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PlatformConfigurationUpdatedByDto {
|
|
18
|
+
/**
|
|
19
|
+
* User ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PlatformConfigurationUpdatedByDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* First name.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PlatformConfigurationUpdatedByDto
|
|
28
|
+
*/
|
|
29
|
+
firstname: string;
|
|
30
|
+
/**
|
|
31
|
+
* Last name.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PlatformConfigurationUpdatedByDto
|
|
34
|
+
*/
|
|
35
|
+
lastname: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PlatformConfigurationUpdatedByDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPlatformConfigurationUpdatedByDto(value: object): value is PlatformConfigurationUpdatedByDto;
|
|
41
|
+
export declare function PlatformConfigurationUpdatedByDtoFromJSON(json: any): PlatformConfigurationUpdatedByDto;
|
|
42
|
+
export declare function PlatformConfigurationUpdatedByDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlatformConfigurationUpdatedByDto;
|
|
43
|
+
export declare function PlatformConfigurationUpdatedByDtoToJSON(json: any): PlatformConfigurationUpdatedByDto;
|
|
44
|
+
export declare function PlatformConfigurationUpdatedByDtoToJSONTyped(value?: PlatformConfigurationUpdatedByDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPlatformConfigurationUpdatedByDto = instanceOfPlatformConfigurationUpdatedByDto;
|
|
17
|
+
exports.PlatformConfigurationUpdatedByDtoFromJSON = PlatformConfigurationUpdatedByDtoFromJSON;
|
|
18
|
+
exports.PlatformConfigurationUpdatedByDtoFromJSONTyped = PlatformConfigurationUpdatedByDtoFromJSONTyped;
|
|
19
|
+
exports.PlatformConfigurationUpdatedByDtoToJSON = PlatformConfigurationUpdatedByDtoToJSON;
|
|
20
|
+
exports.PlatformConfigurationUpdatedByDtoToJSONTyped = PlatformConfigurationUpdatedByDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PlatformConfigurationUpdatedByDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPlatformConfigurationUpdatedByDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('firstname' in value) || value['firstname'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('lastname' in value) || value['lastname'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PlatformConfigurationUpdatedByDtoFromJSON(json) {
|
|
34
|
+
return PlatformConfigurationUpdatedByDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PlatformConfigurationUpdatedByDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'firstname': json['firstname'],
|
|
43
|
+
'lastname': json['lastname'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function PlatformConfigurationUpdatedByDtoToJSON(json) {
|
|
47
|
+
return PlatformConfigurationUpdatedByDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function PlatformConfigurationUpdatedByDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'firstname': value['firstname'],
|
|
57
|
+
'lastname': value['lastname'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -167,6 +167,8 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
|
|
|
167
167
|
readonly WEBHOOKS: "WEBHOOKS";
|
|
168
168
|
readonly CUSTOM_LANDING_PAGE_CONTENT: "CUSTOM_LANDING_PAGE_CONTENT";
|
|
169
169
|
readonly AUTOMATIONS: "AUTOMATIONS";
|
|
170
|
+
readonly LEAD_PHONE_OTP: "LEAD_PHONE_OTP";
|
|
171
|
+
readonly PHONE_VERIFICATION_RECAPTCHA: "PHONE_VERIFICATION_RECAPTCHA";
|
|
170
172
|
};
|
|
171
173
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
172
174
|
/**
|
|
@@ -67,7 +67,9 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
67
67
|
MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
|
|
68
68
|
WEBHOOKS: 'WEBHOOKS',
|
|
69
69
|
CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT',
|
|
70
|
-
AUTOMATIONS: 'AUTOMATIONS'
|
|
70
|
+
AUTOMATIONS: 'AUTOMATIONS',
|
|
71
|
+
LEAD_PHONE_OTP: 'LEAD_PHONE_OTP',
|
|
72
|
+
PHONE_VERIFICATION_RECAPTCHA: 'PHONE_VERIFICATION_RECAPTCHA'
|
|
71
73
|
};
|
|
72
74
|
/**
|
|
73
75
|
* Check if a given object implements the PrivateAccountGetMeResponse interface.
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PublicLeadBuyerDto } from './PublicLeadBuyerDto';
|
|
13
|
+
import type { LeadVerificationDto } from './LeadVerificationDto';
|
|
13
14
|
import type { MoneyDto } from './MoneyDto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -47,6 +48,12 @@ export interface PublicLeadDto {
|
|
|
47
48
|
* @memberof PublicLeadDto
|
|
48
49
|
*/
|
|
49
50
|
domainName: string;
|
|
51
|
+
/**
|
|
52
|
+
* What the buyer has to confirm, and has confirmed.
|
|
53
|
+
* @type {LeadVerificationDto}
|
|
54
|
+
* @memberof PublicLeadDto
|
|
55
|
+
*/
|
|
56
|
+
verification: LeadVerificationDto;
|
|
50
57
|
}
|
|
51
58
|
/**
|
|
52
59
|
* @export
|
|
@@ -20,6 +20,7 @@ exports.PublicLeadDtoFromJSONTyped = PublicLeadDtoFromJSONTyped;
|
|
|
20
20
|
exports.PublicLeadDtoToJSON = PublicLeadDtoToJSON;
|
|
21
21
|
exports.PublicLeadDtoToJSONTyped = PublicLeadDtoToJSONTyped;
|
|
22
22
|
var PublicLeadBuyerDto_1 = require("./PublicLeadBuyerDto");
|
|
23
|
+
var LeadVerificationDto_1 = require("./LeadVerificationDto");
|
|
23
24
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
25
|
/**
|
|
25
26
|
* @export
|
|
@@ -46,6 +47,8 @@ function instanceOfPublicLeadDto(value) {
|
|
|
46
47
|
return false;
|
|
47
48
|
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
48
49
|
return false;
|
|
50
|
+
if (!('verification' in value) || value['verification'] === undefined)
|
|
51
|
+
return false;
|
|
49
52
|
return true;
|
|
50
53
|
}
|
|
51
54
|
function PublicLeadDtoFromJSON(json) {
|
|
@@ -61,6 +64,7 @@ function PublicLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
64
|
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
62
65
|
'buyer': (0, PublicLeadBuyerDto_1.PublicLeadBuyerDtoFromJSON)(json['buyer']),
|
|
63
66
|
'domainName': json['domainName'],
|
|
67
|
+
'verification': (0, LeadVerificationDto_1.LeadVerificationDtoFromJSON)(json['verification']),
|
|
64
68
|
};
|
|
65
69
|
}
|
|
66
70
|
function PublicLeadDtoToJSON(json) {
|
|
@@ -77,5 +81,6 @@ function PublicLeadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
77
81
|
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
78
82
|
'buyer': (0, PublicLeadBuyerDto_1.PublicLeadBuyerDtoToJSON)(value['buyer']),
|
|
79
83
|
'domainName': value['domainName'],
|
|
84
|
+
'verification': (0, LeadVerificationDto_1.LeadVerificationDtoToJSON)(value['verification']),
|
|
80
85
|
};
|
|
81
86
|
}
|
|
@@ -22,11 +22,18 @@ export interface RegisterAuctionBuyerPhoneInput {
|
|
|
22
22
|
*/
|
|
23
23
|
phone: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Ignored: the code goes out on the channels of the platform configuration.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RegisterAuctionBuyerPhoneInput
|
|
28
|
+
* @deprecated
|
|
28
29
|
*/
|
|
29
|
-
channel
|
|
30
|
+
channel?: RegisterAuctionBuyerPhoneInputChannelEnum;
|
|
31
|
+
/**
|
|
32
|
+
* Locale of the page the buyer reads (BCP 47 language tag), for the language of the code message.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RegisterAuctionBuyerPhoneInput
|
|
35
|
+
*/
|
|
36
|
+
locale?: string;
|
|
30
37
|
}
|
|
31
38
|
/**
|
|
32
39
|
* @export
|
|
@@ -33,8 +33,6 @@ exports.RegisterAuctionBuyerPhoneInputChannelEnum = {
|
|
|
33
33
|
function instanceOfRegisterAuctionBuyerPhoneInput(value) {
|
|
34
34
|
if (!('phone' in value) || value['phone'] === undefined)
|
|
35
35
|
return false;
|
|
36
|
-
if (!('channel' in value) || value['channel'] === undefined)
|
|
37
|
-
return false;
|
|
38
36
|
return true;
|
|
39
37
|
}
|
|
40
38
|
function RegisterAuctionBuyerPhoneInputFromJSON(json) {
|
|
@@ -46,7 +44,8 @@ function RegisterAuctionBuyerPhoneInputFromJSONTyped(json, ignoreDiscriminator)
|
|
|
46
44
|
}
|
|
47
45
|
return {
|
|
48
46
|
'phone': json['phone'],
|
|
49
|
-
'channel': json['channel'],
|
|
47
|
+
'channel': json['channel'] == null ? undefined : json['channel'],
|
|
48
|
+
'locale': json['locale'] == null ? undefined : json['locale'],
|
|
50
49
|
};
|
|
51
50
|
}
|
|
52
51
|
function RegisterAuctionBuyerPhoneInputToJSON(json) {
|
|
@@ -60,5 +59,6 @@ function RegisterAuctionBuyerPhoneInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
60
59
|
return {
|
|
61
60
|
'phone': value['phone'],
|
|
62
61
|
'channel': value['channel'],
|
|
62
|
+
'locale': value['locale'],
|
|
63
63
|
};
|
|
64
64
|
}
|
|
@@ -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 RequestLeadPhoneVerificationCodeInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestLeadPhoneVerificationCodeInput {
|
|
18
|
+
/**
|
|
19
|
+
* Locale of the page the buyer reads (BCP 47 language tag), for the language of the code message.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestLeadPhoneVerificationCodeInput
|
|
22
|
+
*/
|
|
23
|
+
locale?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RequestLeadPhoneVerificationCodeInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRequestLeadPhoneVerificationCodeInput(value: object): value is RequestLeadPhoneVerificationCodeInput;
|
|
29
|
+
export declare function RequestLeadPhoneVerificationCodeInputFromJSON(json: any): RequestLeadPhoneVerificationCodeInput;
|
|
30
|
+
export declare function RequestLeadPhoneVerificationCodeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestLeadPhoneVerificationCodeInput;
|
|
31
|
+
export declare function RequestLeadPhoneVerificationCodeInputToJSON(json: any): RequestLeadPhoneVerificationCodeInput;
|
|
32
|
+
export declare function RequestLeadPhoneVerificationCodeInputToJSONTyped(value?: RequestLeadPhoneVerificationCodeInput | null, ignoreDiscriminator?: boolean): any;
|