@randock/nameshift-api-client 0.0.331 → 0.0.333
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 +20 -0
- package/README.md +3 -3
- package/dist/apis/AccountsPublicApi.d.ts +1 -0
- package/dist/apis/AccountsPublicApi.js +3 -0
- package/dist/apis/AuctionsPublicApi.d.ts +29 -0
- package/dist/apis/AuctionsPublicApi.js +124 -0
- package/dist/apis/BuyersApi.d.ts +54 -1
- package/dist/apis/BuyersApi.js +267 -0
- package/dist/apis/BuyersPublicApi.d.ts +23 -1
- package/dist/apis/BuyersPublicApi.js +90 -0
- package/dist/apis/DomainsApi.d.ts +13 -1
- package/dist/apis/DomainsApi.js +56 -0
- package/dist/apis/LeadsApi.d.ts +2 -5
- package/dist/apis/LeadsApi.js +4 -8
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AuctionBidDto.d.ts +51 -0
- package/dist/models/AuctionBidDto.js +64 -0
- package/dist/models/AuctionBidInput.d.ts +32 -0
- package/dist/models/AuctionBidInput.js +51 -0
- package/dist/models/AuctionBuyerDto.d.ts +74 -0
- package/dist/models/AuctionBuyerDto.js +79 -0
- package/dist/models/AuctionBuyerWithTokenDto.d.ts +39 -0
- package/dist/models/AuctionBuyerWithTokenDto.js +56 -0
- package/dist/models/AuctionDto.d.ts +82 -0
- package/dist/models/AuctionDto.js +85 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +23 -0
- package/dist/models/BuyerLeadListItemDto.js +19 -1
- package/dist/models/DomainAuctionDto.d.ts +63 -0
- package/dist/models/DomainAuctionDto.js +72 -0
- package/dist/models/DomainSalesInformationDto.d.ts +12 -0
- package/dist/models/DomainSalesInformationDto.js +8 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +5 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +36 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +28 -1
- package/dist/models/LeadDto.d.ts +43 -0
- package/dist/models/LeadDto.js +33 -1
- package/dist/models/LeadLeaseToOwnConfigurationDto.d.ts +50 -0
- package/dist/models/LeadLeaseToOwnConfigurationDto.js +63 -0
- package/dist/models/LeadMessageData.d.ts +7 -0
- package/dist/models/LeadMessageData.js +5 -0
- package/dist/models/LeadMessageDataLeaseToOwn.d.ts +38 -0
- package/dist/models/LeadMessageDataLeaseToOwn.js +55 -0
- package/dist/models/LeadMessageDto.d.ts +16 -0
- package/dist/models/LeadMessageDto.js +14 -1
- package/dist/models/LeadOfferDto.d.ts +72 -0
- package/dist/models/LeadOfferDto.js +84 -0
- package/dist/models/LeadRentConfigurationDto.d.ts +38 -0
- package/dist/models/LeadRentConfigurationDto.js +55 -0
- package/dist/models/ListLeadsResultItem.d.ts +43 -0
- package/dist/models/ListLeadsResultItem.js +33 -1
- package/dist/models/ManualLeadLeaseToOwnDto.d.ts +12 -0
- package/dist/models/ManualLeadLeaseToOwnDto.js +8 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/PutBuyerLeadOfferInput.d.ts +22 -0
- package/dist/models/PutBuyerLeadOfferInput.js +14 -0
- package/dist/models/PutLeadOfferInput.d.ts +23 -1
- package/dist/models/PutLeadOfferInput.js +15 -3
- package/dist/models/RegisterAuctionBuyerPhoneInput.d.ts +47 -0
- package/dist/models/RegisterAuctionBuyerPhoneInput.js +64 -0
- package/dist/models/RegisterInput.d.ts +38 -0
- package/dist/models/RegisterInput.js +55 -0
- package/dist/models/RequestEmailOtpInput.d.ts +38 -0
- package/dist/models/RequestEmailOtpInput.js +55 -0
- package/dist/models/SellerLeadDetails.d.ts +43 -0
- package/dist/models/SellerLeadDetails.js +33 -1
- package/dist/models/StartAuctionInput.d.ts +51 -0
- package/dist/models/StartAuctionInput.js +62 -0
- package/dist/models/TaskListLeadDto.d.ts +43 -0
- package/dist/models/TaskListLeadDto.js +33 -1
- package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.d.ts +50 -0
- package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.js +63 -0
- package/dist/models/TaskListLeadOfferDto.d.ts +72 -0
- package/dist/models/TaskListLeadOfferDto.js +84 -0
- package/dist/models/TaskListLeadRentConfigurationDto.d.ts +38 -0
- package/dist/models/TaskListLeadRentConfigurationDto.js +55 -0
- package/dist/models/VerifyEmailOtpInput.d.ts +38 -0
- package/dist/models/VerifyEmailOtpInput.js +55 -0
- package/dist/models/VerifyPhoneOtpInput.d.ts +32 -0
- package/dist/models/VerifyPhoneOtpInput.js +51 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/package.json +1 -1
- package/src/apis/AccountsPublicApi.ts +5 -0
- package/src/apis/AuctionsPublicApi.ts +67 -0
- package/src/apis/BuyersApi.ts +249 -0
- package/src/apis/BuyersPublicApi.ts +88 -0
- package/src/apis/DomainsApi.ts +58 -0
- package/src/apis/LeadsApi.ts +3 -11
- package/src/apis/index.ts +1 -0
- package/src/models/AuctionBidDto.ts +101 -0
- package/src/models/AuctionBidInput.ts +66 -0
- package/src/models/AuctionBuyerDto.ts +129 -0
- package/src/models/AuctionBuyerWithTokenDto.ts +83 -0
- package/src/models/AuctionDto.ts +153 -0
- package/src/models/BuyerLeadListItemDto.ts +36 -0
- package/src/models/DomainAuctionDto.ts +119 -0
- package/src/models/DomainSalesInformationDto.ts +18 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +16 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +61 -0
- package/src/models/LeadDto.ts +77 -0
- package/src/models/LeadLeaseToOwnConfigurationDto.ts +93 -0
- package/src/models/LeadMessageData.ts +16 -0
- package/src/models/LeadMessageDataLeaseToOwn.ts +75 -0
- package/src/models/LeadMessageDto.ts +20 -0
- package/src/models/LeadOfferDto.ts +132 -0
- package/src/models/LeadRentConfigurationDto.ts +75 -0
- package/src/models/ListLeadsResultItem.ts +77 -0
- package/src/models/ManualLeadLeaseToOwnDto.ts +18 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/PutBuyerLeadOfferInput.ts +29 -0
- package/src/models/PutLeadOfferInput.ts +31 -3
- package/src/models/RegisterAuctionBuyerPhoneInput.ts +87 -0
- package/src/models/RegisterInput.ts +75 -0
- package/src/models/RequestEmailOtpInput.ts +75 -0
- package/src/models/SellerLeadDetails.ts +77 -0
- package/src/models/StartAuctionInput.ts +100 -0
- package/src/models/TaskListLeadDto.ts +77 -0
- package/src/models/TaskListLeadLeaseToOwnConfigurationDto.ts +93 -0
- package/src/models/TaskListLeadOfferDto.ts +132 -0
- package/src/models/TaskListLeadRentConfigurationDto.ts +75 -0
- package/src/models/VerifyEmailOtpInput.ts +75 -0
- package/src/models/VerifyPhoneOtpInput.ts +66 -0
- package/src/models/index.ts +19 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 { LeadMessageDataLeaseToOwn } from './LeadMessageDataLeaseToOwn';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface TaskListLeadOfferDto
|
|
18
|
+
*/
|
|
19
|
+
export interface TaskListLeadOfferDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {MoneyDto}
|
|
23
|
+
* @memberof TaskListLeadOfferDto
|
|
24
|
+
*/
|
|
25
|
+
offer: MoneyDto;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof TaskListLeadOfferDto
|
|
30
|
+
*/
|
|
31
|
+
offerBy: TaskListLeadOfferDtoOfferByEnum;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof TaskListLeadOfferDto
|
|
36
|
+
*/
|
|
37
|
+
offerType: TaskListLeadOfferDtoOfferTypeEnum;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {LeadMessageDataLeaseToOwn}
|
|
41
|
+
* @memberof TaskListLeadOfferDto
|
|
42
|
+
*/
|
|
43
|
+
leaseToOwn: LeadMessageDataLeaseToOwn | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const TaskListLeadOfferDtoOfferByEnum: {
|
|
49
|
+
readonly BUYER: "buyer";
|
|
50
|
+
readonly SELLER: "seller";
|
|
51
|
+
readonly AI: "ai";
|
|
52
|
+
readonly ADMIN: "admin";
|
|
53
|
+
};
|
|
54
|
+
export type TaskListLeadOfferDtoOfferByEnum = typeof TaskListLeadOfferDtoOfferByEnum[keyof typeof TaskListLeadOfferDtoOfferByEnum];
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const TaskListLeadOfferDtoOfferTypeEnum: {
|
|
59
|
+
readonly LEAD: "lead";
|
|
60
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
61
|
+
readonly RENT: "rent";
|
|
62
|
+
readonly AUCTION: "auction";
|
|
63
|
+
};
|
|
64
|
+
export type TaskListLeadOfferDtoOfferTypeEnum = typeof TaskListLeadOfferDtoOfferTypeEnum[keyof typeof TaskListLeadOfferDtoOfferTypeEnum];
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the TaskListLeadOfferDto interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfTaskListLeadOfferDto(value: object): value is TaskListLeadOfferDto;
|
|
69
|
+
export declare function TaskListLeadOfferDtoFromJSON(json: any): TaskListLeadOfferDto;
|
|
70
|
+
export declare function TaskListLeadOfferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskListLeadOfferDto;
|
|
71
|
+
export declare function TaskListLeadOfferDtoToJSON(json: any): TaskListLeadOfferDto;
|
|
72
|
+
export declare function TaskListLeadOfferDtoToJSONTyped(value?: TaskListLeadOfferDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.TaskListLeadOfferDtoOfferTypeEnum = exports.TaskListLeadOfferDtoOfferByEnum = void 0;
|
|
17
|
+
exports.instanceOfTaskListLeadOfferDto = instanceOfTaskListLeadOfferDto;
|
|
18
|
+
exports.TaskListLeadOfferDtoFromJSON = TaskListLeadOfferDtoFromJSON;
|
|
19
|
+
exports.TaskListLeadOfferDtoFromJSONTyped = TaskListLeadOfferDtoFromJSONTyped;
|
|
20
|
+
exports.TaskListLeadOfferDtoToJSON = TaskListLeadOfferDtoToJSON;
|
|
21
|
+
exports.TaskListLeadOfferDtoToJSONTyped = TaskListLeadOfferDtoToJSONTyped;
|
|
22
|
+
var LeadMessageDataLeaseToOwn_1 = require("./LeadMessageDataLeaseToOwn");
|
|
23
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.TaskListLeadOfferDtoOfferByEnum = {
|
|
28
|
+
BUYER: 'buyer',
|
|
29
|
+
SELLER: 'seller',
|
|
30
|
+
AI: 'ai',
|
|
31
|
+
ADMIN: 'admin'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.TaskListLeadOfferDtoOfferTypeEnum = {
|
|
37
|
+
LEAD: 'lead',
|
|
38
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
39
|
+
RENT: 'rent',
|
|
40
|
+
AUCTION: 'auction'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the TaskListLeadOfferDto interface.
|
|
44
|
+
*/
|
|
45
|
+
function instanceOfTaskListLeadOfferDto(value) {
|
|
46
|
+
if (!('offer' in value) || value['offer'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('offerBy' in value) || value['offerBy'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('offerType' in value) || value['offerType'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
function TaskListLeadOfferDtoFromJSON(json) {
|
|
57
|
+
return TaskListLeadOfferDtoFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function TaskListLeadOfferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
|
|
65
|
+
'offerBy': json['offerBy'],
|
|
66
|
+
'offerType': json['offerType'],
|
|
67
|
+
'leaseToOwn': (0, LeadMessageDataLeaseToOwn_1.LeadMessageDataLeaseToOwnFromJSON)(json['leaseToOwn']),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function TaskListLeadOfferDtoToJSON(json) {
|
|
71
|
+
return TaskListLeadOfferDtoToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
function TaskListLeadOfferDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
74
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
|
|
80
|
+
'offerBy': value['offerBy'],
|
|
81
|
+
'offerType': value['offerType'],
|
|
82
|
+
'leaseToOwn': (0, LeadMessageDataLeaseToOwn_1.LeadMessageDataLeaseToOwnToJSON)(value['leaseToOwn']),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 TaskListLeadRentConfigurationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface TaskListLeadRentConfigurationDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof TaskListLeadRentConfigurationDto
|
|
22
|
+
*/
|
|
23
|
+
recurringMarkupPercentage: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TaskListLeadRentConfigurationDto
|
|
28
|
+
*/
|
|
29
|
+
minMonthPriceEur: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the TaskListLeadRentConfigurationDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfTaskListLeadRentConfigurationDto(value: object): value is TaskListLeadRentConfigurationDto;
|
|
35
|
+
export declare function TaskListLeadRentConfigurationDtoFromJSON(json: any): TaskListLeadRentConfigurationDto;
|
|
36
|
+
export declare function TaskListLeadRentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskListLeadRentConfigurationDto;
|
|
37
|
+
export declare function TaskListLeadRentConfigurationDtoToJSON(json: any): TaskListLeadRentConfigurationDto;
|
|
38
|
+
export declare function TaskListLeadRentConfigurationDtoToJSONTyped(value?: TaskListLeadRentConfigurationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.instanceOfTaskListLeadRentConfigurationDto = instanceOfTaskListLeadRentConfigurationDto;
|
|
17
|
+
exports.TaskListLeadRentConfigurationDtoFromJSON = TaskListLeadRentConfigurationDtoFromJSON;
|
|
18
|
+
exports.TaskListLeadRentConfigurationDtoFromJSONTyped = TaskListLeadRentConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.TaskListLeadRentConfigurationDtoToJSON = TaskListLeadRentConfigurationDtoToJSON;
|
|
20
|
+
exports.TaskListLeadRentConfigurationDtoToJSONTyped = TaskListLeadRentConfigurationDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the TaskListLeadRentConfigurationDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfTaskListLeadRentConfigurationDto(value) {
|
|
25
|
+
if (!('recurringMarkupPercentage' in value) || value['recurringMarkupPercentage'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('minMonthPriceEur' in value) || value['minMonthPriceEur'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function TaskListLeadRentConfigurationDtoFromJSON(json) {
|
|
32
|
+
return TaskListLeadRentConfigurationDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function TaskListLeadRentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'recurringMarkupPercentage': json['recurringMarkupPercentage'],
|
|
40
|
+
'minMonthPriceEur': json['minMonthPriceEur'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function TaskListLeadRentConfigurationDtoToJSON(json) {
|
|
44
|
+
return TaskListLeadRentConfigurationDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function TaskListLeadRentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'recurringMarkupPercentage': value['recurringMarkupPercentage'],
|
|
53
|
+
'minMonthPriceEur': value['minMonthPriceEur'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 VerifyEmailOtpInput
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifyEmailOtpInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifyEmailOtpInput
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VerifyEmailOtpInput
|
|
28
|
+
*/
|
|
29
|
+
otp: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the VerifyEmailOtpInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfVerifyEmailOtpInput(value: object): value is VerifyEmailOtpInput;
|
|
35
|
+
export declare function VerifyEmailOtpInputFromJSON(json: any): VerifyEmailOtpInput;
|
|
36
|
+
export declare function VerifyEmailOtpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyEmailOtpInput;
|
|
37
|
+
export declare function VerifyEmailOtpInputToJSON(json: any): VerifyEmailOtpInput;
|
|
38
|
+
export declare function VerifyEmailOtpInputToJSONTyped(value?: VerifyEmailOtpInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.instanceOfVerifyEmailOtpInput = instanceOfVerifyEmailOtpInput;
|
|
17
|
+
exports.VerifyEmailOtpInputFromJSON = VerifyEmailOtpInputFromJSON;
|
|
18
|
+
exports.VerifyEmailOtpInputFromJSONTyped = VerifyEmailOtpInputFromJSONTyped;
|
|
19
|
+
exports.VerifyEmailOtpInputToJSON = VerifyEmailOtpInputToJSON;
|
|
20
|
+
exports.VerifyEmailOtpInputToJSONTyped = VerifyEmailOtpInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VerifyEmailOtpInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVerifyEmailOtpInput(value) {
|
|
25
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('otp' in value) || value['otp'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function VerifyEmailOtpInputFromJSON(json) {
|
|
32
|
+
return VerifyEmailOtpInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function VerifyEmailOtpInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'email': json['email'],
|
|
40
|
+
'otp': json['otp'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function VerifyEmailOtpInputToJSON(json) {
|
|
44
|
+
return VerifyEmailOtpInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function VerifyEmailOtpInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'email': value['email'],
|
|
53
|
+
'otp': value['otp'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 VerifyPhoneOtpInput
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifyPhoneOtpInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifyPhoneOtpInput
|
|
22
|
+
*/
|
|
23
|
+
otp: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the VerifyPhoneOtpInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfVerifyPhoneOtpInput(value: object): value is VerifyPhoneOtpInput;
|
|
29
|
+
export declare function VerifyPhoneOtpInputFromJSON(json: any): VerifyPhoneOtpInput;
|
|
30
|
+
export declare function VerifyPhoneOtpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyPhoneOtpInput;
|
|
31
|
+
export declare function VerifyPhoneOtpInputToJSON(json: any): VerifyPhoneOtpInput;
|
|
32
|
+
export declare function VerifyPhoneOtpInputToJSONTyped(value?: VerifyPhoneOtpInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.instanceOfVerifyPhoneOtpInput = instanceOfVerifyPhoneOtpInput;
|
|
17
|
+
exports.VerifyPhoneOtpInputFromJSON = VerifyPhoneOtpInputFromJSON;
|
|
18
|
+
exports.VerifyPhoneOtpInputFromJSONTyped = VerifyPhoneOtpInputFromJSONTyped;
|
|
19
|
+
exports.VerifyPhoneOtpInputToJSON = VerifyPhoneOtpInputToJSON;
|
|
20
|
+
exports.VerifyPhoneOtpInputToJSONTyped = VerifyPhoneOtpInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VerifyPhoneOtpInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVerifyPhoneOtpInput(value) {
|
|
25
|
+
if (!('otp' in value) || value['otp'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function VerifyPhoneOtpInputFromJSON(json) {
|
|
30
|
+
return VerifyPhoneOtpInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function VerifyPhoneOtpInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'otp': json['otp'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function VerifyPhoneOtpInputToJSON(json) {
|
|
41
|
+
return VerifyPhoneOtpInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function VerifyPhoneOtpInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'otp': value['otp'],
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -39,6 +39,11 @@ export * from './AirwallexBankAccountDetailsDtoLocalMethodCode';
|
|
|
39
39
|
export * from './AirwallexDepositDto';
|
|
40
40
|
export * from './AirwallexDepositDtoFee';
|
|
41
41
|
export * from './AuBankAccountDetails';
|
|
42
|
+
export * from './AuctionBidDto';
|
|
43
|
+
export * from './AuctionBidInput';
|
|
44
|
+
export * from './AuctionBuyerDto';
|
|
45
|
+
export * from './AuctionBuyerWithTokenDto';
|
|
46
|
+
export * from './AuctionDto';
|
|
42
47
|
export * from './BadRequestException';
|
|
43
48
|
export * from './BatchDeleteBuyerLeadsInput';
|
|
44
49
|
export * from './BatchImportPreviewDto';
|
|
@@ -87,6 +92,7 @@ export * from './CreateSubscriptionInput';
|
|
|
87
92
|
export * from './CursorBasedPageInfo';
|
|
88
93
|
export * from './CursorBasedPaginationResponse';
|
|
89
94
|
export * from './DeleteDomainsInput';
|
|
95
|
+
export * from './DomainAuctionDto';
|
|
90
96
|
export * from './DomainExchangeRateDto';
|
|
91
97
|
export * from './DomainFiltersDto';
|
|
92
98
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
@@ -157,10 +163,14 @@ export * from './LeadBuyerConfigDto';
|
|
|
157
163
|
export * from './LeadDomainDto';
|
|
158
164
|
export * from './LeadDto';
|
|
159
165
|
export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
|
|
166
|
+
export * from './LeadLeaseToOwnConfigurationDto';
|
|
160
167
|
export * from './LeadMessageData';
|
|
168
|
+
export * from './LeadMessageDataLeaseToOwn';
|
|
161
169
|
export * from './LeadMessageDto';
|
|
170
|
+
export * from './LeadOfferDto';
|
|
162
171
|
export * from './LeadPriceNegotiatorAiAgentConfigurationDto';
|
|
163
172
|
export * from './LeadPriceNegotiatorAiAgentConfigurationInput';
|
|
173
|
+
export * from './LeadRentConfigurationDto';
|
|
164
174
|
export * from './LeadStatusDto';
|
|
165
175
|
export * from './LeaseToOwnConfigurationDto';
|
|
166
176
|
export * from './LeaseToOwnConfigurationInput';
|
|
@@ -220,6 +230,8 @@ export * from './PublicSalesDto';
|
|
|
220
230
|
export * from './PutBuyerLeadOfferInput';
|
|
221
231
|
export * from './PutLeadOfferInput';
|
|
222
232
|
export * from './RegisterAccountInput';
|
|
233
|
+
export * from './RegisterAuctionBuyerPhoneInput';
|
|
234
|
+
export * from './RegisterInput';
|
|
223
235
|
export * from './RelatedDomainsDto';
|
|
224
236
|
export * from './RelatedSellerDomain';
|
|
225
237
|
export * from './RentConfigurationDto';
|
|
@@ -227,6 +239,7 @@ export * from './RentConfigurationInput';
|
|
|
227
239
|
export * from './RentConfigurationPresetsDto';
|
|
228
240
|
export * from './RentDto';
|
|
229
241
|
export * from './RequestAccessTokenInput';
|
|
242
|
+
export * from './RequestEmailOtpInput';
|
|
230
243
|
export * from './SellerAccountReferralListItemDto';
|
|
231
244
|
export * from './SellerAffiliateCommissionDto';
|
|
232
245
|
export * from './SellerDomainAffiliateCommissionDto';
|
|
@@ -259,6 +272,7 @@ export * from './SetDomainTransferConfirmationInput';
|
|
|
259
272
|
export * from './SetNewPasswordInput';
|
|
260
273
|
export * from './SetPayoutProviderInput';
|
|
261
274
|
export * from './SortDto';
|
|
275
|
+
export * from './StartAuctionInput';
|
|
262
276
|
export * from './StatsFilterInputDateRange';
|
|
263
277
|
export * from './StoreBuyerLocaleInput';
|
|
264
278
|
export * from './StoreUserLocaleInput';
|
|
@@ -282,6 +296,9 @@ export * from './TaskDetailsDto';
|
|
|
282
296
|
export * from './TaskListDomainDto';
|
|
283
297
|
export * from './TaskListDomainTransferDto';
|
|
284
298
|
export * from './TaskListLeadDto';
|
|
299
|
+
export * from './TaskListLeadLeaseToOwnConfigurationDto';
|
|
300
|
+
export * from './TaskListLeadOfferDto';
|
|
301
|
+
export * from './TaskListLeadRentConfigurationDto';
|
|
285
302
|
export * from './TimeTableConfigurationDto';
|
|
286
303
|
export * from './TimeTableConfigurationInput';
|
|
287
304
|
export * from './UkBankAccountDetails';
|
|
@@ -312,5 +329,7 @@ export * from './ValidateTaxNumberDto';
|
|
|
312
329
|
export * from './ValidateTaxNumberInput';
|
|
313
330
|
export * from './ValidationError';
|
|
314
331
|
export * from './ValidationException';
|
|
332
|
+
export * from './VerifyEmailOtpInput';
|
|
315
333
|
export * from './VerifyLeadInput';
|
|
334
|
+
export * from './VerifyPhoneOtpInput';
|
|
316
335
|
export * from './WithSettingsInner';
|
package/dist/models/index.js
CHANGED
|
@@ -57,6 +57,11 @@ __exportStar(require("./AirwallexBankAccountDetailsDtoLocalMethodCode"), exports
|
|
|
57
57
|
__exportStar(require("./AirwallexDepositDto"), exports);
|
|
58
58
|
__exportStar(require("./AirwallexDepositDtoFee"), exports);
|
|
59
59
|
__exportStar(require("./AuBankAccountDetails"), exports);
|
|
60
|
+
__exportStar(require("./AuctionBidDto"), exports);
|
|
61
|
+
__exportStar(require("./AuctionBidInput"), exports);
|
|
62
|
+
__exportStar(require("./AuctionBuyerDto"), exports);
|
|
63
|
+
__exportStar(require("./AuctionBuyerWithTokenDto"), exports);
|
|
64
|
+
__exportStar(require("./AuctionDto"), exports);
|
|
60
65
|
__exportStar(require("./BadRequestException"), exports);
|
|
61
66
|
__exportStar(require("./BatchDeleteBuyerLeadsInput"), exports);
|
|
62
67
|
__exportStar(require("./BatchImportPreviewDto"), exports);
|
|
@@ -105,6 +110,7 @@ __exportStar(require("./CreateSubscriptionInput"), exports);
|
|
|
105
110
|
__exportStar(require("./CursorBasedPageInfo"), exports);
|
|
106
111
|
__exportStar(require("./CursorBasedPaginationResponse"), exports);
|
|
107
112
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
113
|
+
__exportStar(require("./DomainAuctionDto"), exports);
|
|
108
114
|
__exportStar(require("./DomainExchangeRateDto"), exports);
|
|
109
115
|
__exportStar(require("./DomainFiltersDto"), exports);
|
|
110
116
|
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), exports);
|
|
@@ -175,10 +181,14 @@ __exportStar(require("./LeadBuyerConfigDto"), exports);
|
|
|
175
181
|
__exportStar(require("./LeadDomainDto"), exports);
|
|
176
182
|
__exportStar(require("./LeadDto"), exports);
|
|
177
183
|
__exportStar(require("./LeadLeaseToOwnAndRentConfigurationPresetsDto"), exports);
|
|
184
|
+
__exportStar(require("./LeadLeaseToOwnConfigurationDto"), exports);
|
|
178
185
|
__exportStar(require("./LeadMessageData"), exports);
|
|
186
|
+
__exportStar(require("./LeadMessageDataLeaseToOwn"), exports);
|
|
179
187
|
__exportStar(require("./LeadMessageDto"), exports);
|
|
188
|
+
__exportStar(require("./LeadOfferDto"), exports);
|
|
180
189
|
__exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationDto"), exports);
|
|
181
190
|
__exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationInput"), exports);
|
|
191
|
+
__exportStar(require("./LeadRentConfigurationDto"), exports);
|
|
182
192
|
__exportStar(require("./LeadStatusDto"), exports);
|
|
183
193
|
__exportStar(require("./LeaseToOwnConfigurationDto"), exports);
|
|
184
194
|
__exportStar(require("./LeaseToOwnConfigurationInput"), exports);
|
|
@@ -238,6 +248,8 @@ __exportStar(require("./PublicSalesDto"), exports);
|
|
|
238
248
|
__exportStar(require("./PutBuyerLeadOfferInput"), exports);
|
|
239
249
|
__exportStar(require("./PutLeadOfferInput"), exports);
|
|
240
250
|
__exportStar(require("./RegisterAccountInput"), exports);
|
|
251
|
+
__exportStar(require("./RegisterAuctionBuyerPhoneInput"), exports);
|
|
252
|
+
__exportStar(require("./RegisterInput"), exports);
|
|
241
253
|
__exportStar(require("./RelatedDomainsDto"), exports);
|
|
242
254
|
__exportStar(require("./RelatedSellerDomain"), exports);
|
|
243
255
|
__exportStar(require("./RentConfigurationDto"), exports);
|
|
@@ -245,6 +257,7 @@ __exportStar(require("./RentConfigurationInput"), exports);
|
|
|
245
257
|
__exportStar(require("./RentConfigurationPresetsDto"), exports);
|
|
246
258
|
__exportStar(require("./RentDto"), exports);
|
|
247
259
|
__exportStar(require("./RequestAccessTokenInput"), exports);
|
|
260
|
+
__exportStar(require("./RequestEmailOtpInput"), exports);
|
|
248
261
|
__exportStar(require("./SellerAccountReferralListItemDto"), exports);
|
|
249
262
|
__exportStar(require("./SellerAffiliateCommissionDto"), exports);
|
|
250
263
|
__exportStar(require("./SellerDomainAffiliateCommissionDto"), exports);
|
|
@@ -277,6 +290,7 @@ __exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
|
277
290
|
__exportStar(require("./SetNewPasswordInput"), exports);
|
|
278
291
|
__exportStar(require("./SetPayoutProviderInput"), exports);
|
|
279
292
|
__exportStar(require("./SortDto"), exports);
|
|
293
|
+
__exportStar(require("./StartAuctionInput"), exports);
|
|
280
294
|
__exportStar(require("./StatsFilterInputDateRange"), exports);
|
|
281
295
|
__exportStar(require("./StoreBuyerLocaleInput"), exports);
|
|
282
296
|
__exportStar(require("./StoreUserLocaleInput"), exports);
|
|
@@ -300,6 +314,9 @@ __exportStar(require("./TaskDetailsDto"), exports);
|
|
|
300
314
|
__exportStar(require("./TaskListDomainDto"), exports);
|
|
301
315
|
__exportStar(require("./TaskListDomainTransferDto"), exports);
|
|
302
316
|
__exportStar(require("./TaskListLeadDto"), exports);
|
|
317
|
+
__exportStar(require("./TaskListLeadLeaseToOwnConfigurationDto"), exports);
|
|
318
|
+
__exportStar(require("./TaskListLeadOfferDto"), exports);
|
|
319
|
+
__exportStar(require("./TaskListLeadRentConfigurationDto"), exports);
|
|
303
320
|
__exportStar(require("./TimeTableConfigurationDto"), exports);
|
|
304
321
|
__exportStar(require("./TimeTableConfigurationInput"), exports);
|
|
305
322
|
__exportStar(require("./UkBankAccountDetails"), exports);
|
|
@@ -330,5 +347,7 @@ __exportStar(require("./ValidateTaxNumberDto"), exports);
|
|
|
330
347
|
__exportStar(require("./ValidateTaxNumberInput"), exports);
|
|
331
348
|
__exportStar(require("./ValidationError"), exports);
|
|
332
349
|
__exportStar(require("./ValidationException"), exports);
|
|
350
|
+
__exportStar(require("./VerifyEmailOtpInput"), exports);
|
|
333
351
|
__exportStar(require("./VerifyLeadInput"), exports);
|
|
352
|
+
__exportStar(require("./VerifyPhoneOtpInput"), exports);
|
|
334
353
|
__exportStar(require("./WithSettingsInner"), exports);
|
package/package.json
CHANGED
|
@@ -40,6 +40,7 @@ export interface AccountsPublicApiGetAccountInformationRequest {
|
|
|
40
40
|
|
|
41
41
|
export interface AccountsPublicApiRegisterRequest {
|
|
42
42
|
registerAccountInput: RegisterAccountInput;
|
|
43
|
+
xRecaptchaToken?: string;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
/**
|
|
@@ -97,6 +98,10 @@ export class AccountsPublicApi extends runtime.BaseAPI {
|
|
|
97
98
|
|
|
98
99
|
headerParameters['Content-Type'] = 'application/json';
|
|
99
100
|
|
|
101
|
+
if (requestParameters['xRecaptchaToken'] != null) {
|
|
102
|
+
headerParameters['x-recaptcha-token'] = String(requestParameters['xRecaptchaToken']);
|
|
103
|
+
}
|
|
104
|
+
|
|
100
105
|
const response = await this.request({
|
|
101
106
|
path: `/accounts/register`,
|
|
102
107
|
method: 'POST',
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
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
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
AuctionDto,
|
|
19
|
+
} from '../models/index';
|
|
20
|
+
import {
|
|
21
|
+
AuctionDtoFromJSON,
|
|
22
|
+
AuctionDtoToJSON,
|
|
23
|
+
} from '../models/index';
|
|
24
|
+
|
|
25
|
+
export interface AuctionsPublicApiGetAuctionRequest {
|
|
26
|
+
auctionId: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export class AuctionsPublicApi extends runtime.BaseAPI {
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
async getAuctionRaw(requestParameters: AuctionsPublicApiGetAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuctionDto>> {
|
|
38
|
+
if (requestParameters['auctionId'] == null) {
|
|
39
|
+
throw new runtime.RequiredError(
|
|
40
|
+
'auctionId',
|
|
41
|
+
'Required parameter "auctionId" was null or undefined when calling getAuction().'
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const queryParameters: any = {};
|
|
46
|
+
|
|
47
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
48
|
+
|
|
49
|
+
const response = await this.request({
|
|
50
|
+
path: `/auctions/{auctionId}`.replace(`{${"auctionId"}}`, encodeURIComponent(String(requestParameters['auctionId']))),
|
|
51
|
+
method: 'GET',
|
|
52
|
+
headers: headerParameters,
|
|
53
|
+
query: queryParameters,
|
|
54
|
+
}, initOverrides);
|
|
55
|
+
|
|
56
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AuctionDtoFromJSON(jsonValue));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
async getAuction(requestParameters: AuctionsPublicApiGetAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuctionDto> {
|
|
63
|
+
const response = await this.getAuctionRaw(requestParameters, initOverrides);
|
|
64
|
+
return await response.value();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
}
|