@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,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.instanceOfLeadRentConfigurationDto = instanceOfLeadRentConfigurationDto;
|
|
17
|
+
exports.LeadRentConfigurationDtoFromJSON = LeadRentConfigurationDtoFromJSON;
|
|
18
|
+
exports.LeadRentConfigurationDtoFromJSONTyped = LeadRentConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.LeadRentConfigurationDtoToJSON = LeadRentConfigurationDtoToJSON;
|
|
20
|
+
exports.LeadRentConfigurationDtoToJSONTyped = LeadRentConfigurationDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LeadRentConfigurationDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLeadRentConfigurationDto(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 LeadRentConfigurationDtoFromJSON(json) {
|
|
32
|
+
return LeadRentConfigurationDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function LeadRentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'recurringMarkupPercentage': json['recurringMarkupPercentage'],
|
|
40
|
+
'minMonthPriceEur': json['minMonthPriceEur'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function LeadRentConfigurationDtoToJSON(json) {
|
|
44
|
+
return LeadRentConfigurationDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function LeadRentConfigurationDtoToJSONTyped(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
|
+
}
|
|
@@ -9,9 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LeadLeaseToOwnConfigurationDto } from './LeadLeaseToOwnConfigurationDto';
|
|
12
13
|
import type { LeadMessageData } from './LeadMessageData';
|
|
13
14
|
import type { LeadDomainDto } from './LeadDomainDto';
|
|
14
15
|
import type { MoneyDto } from './MoneyDto';
|
|
16
|
+
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
17
|
+
import type { LeadOfferDto } from './LeadOfferDto';
|
|
15
18
|
/**
|
|
16
19
|
*
|
|
17
20
|
* @export
|
|
@@ -42,6 +45,12 @@ export interface ListLeadsResultItem {
|
|
|
42
45
|
* @memberof ListLeadsResultItem
|
|
43
46
|
*/
|
|
44
47
|
lastOfferBy: ListLeadsResultItemLastOfferByEnum | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ListLeadsResultItem
|
|
52
|
+
*/
|
|
53
|
+
lastOfferType: ListLeadsResultItemLastOfferTypeEnum | null;
|
|
45
54
|
/**
|
|
46
55
|
*
|
|
47
56
|
* @type {string}
|
|
@@ -138,6 +147,30 @@ export interface ListLeadsResultItem {
|
|
|
138
147
|
* @memberof ListLeadsResultItem
|
|
139
148
|
*/
|
|
140
149
|
manualType: ListLeadsResultItemManualTypeEnum | null;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {LeadLeaseToOwnConfigurationDto}
|
|
153
|
+
* @memberof ListLeadsResultItem
|
|
154
|
+
*/
|
|
155
|
+
leaseToOwn: LeadLeaseToOwnConfigurationDto | null;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {LeadRentConfigurationDto}
|
|
159
|
+
* @memberof ListLeadsResultItem
|
|
160
|
+
*/
|
|
161
|
+
rent: LeadRentConfigurationDto;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {LeadOfferDto}
|
|
165
|
+
* @memberof ListLeadsResultItem
|
|
166
|
+
*/
|
|
167
|
+
lastBuyerOffer: LeadOfferDto | null;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {LeadOfferDto}
|
|
171
|
+
* @memberof ListLeadsResultItem
|
|
172
|
+
*/
|
|
173
|
+
lastSellerOffer: LeadOfferDto | null;
|
|
141
174
|
/**
|
|
142
175
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
143
176
|
* @type {string}
|
|
@@ -172,6 +205,16 @@ export declare const ListLeadsResultItemLastOfferByEnum: {
|
|
|
172
205
|
readonly ADMIN: "admin";
|
|
173
206
|
};
|
|
174
207
|
export type ListLeadsResultItemLastOfferByEnum = typeof ListLeadsResultItemLastOfferByEnum[keyof typeof ListLeadsResultItemLastOfferByEnum];
|
|
208
|
+
/**
|
|
209
|
+
* @export
|
|
210
|
+
*/
|
|
211
|
+
export declare const ListLeadsResultItemLastOfferTypeEnum: {
|
|
212
|
+
readonly LEAD: "lead";
|
|
213
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
214
|
+
readonly RENT: "rent";
|
|
215
|
+
readonly AUCTION: "auction";
|
|
216
|
+
};
|
|
217
|
+
export type ListLeadsResultItemLastOfferTypeEnum = typeof ListLeadsResultItemLastOfferTypeEnum[keyof typeof ListLeadsResultItemLastOfferTypeEnum];
|
|
175
218
|
/**
|
|
176
219
|
* @export
|
|
177
220
|
*/
|
|
@@ -13,15 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ListLeadsResultItemManualTypeEnum = exports.ListLeadsResultItemLastMessageTypeEnum = exports.ListLeadsResultItemLastMessageFromEnum = exports.ListLeadsResultItemLastOfferByEnum = exports.ListLeadsResultItemStatusEnum = void 0;
|
|
16
|
+
exports.ListLeadsResultItemManualTypeEnum = exports.ListLeadsResultItemLastMessageTypeEnum = exports.ListLeadsResultItemLastMessageFromEnum = exports.ListLeadsResultItemLastOfferTypeEnum = exports.ListLeadsResultItemLastOfferByEnum = exports.ListLeadsResultItemStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfListLeadsResultItem = instanceOfListLeadsResultItem;
|
|
18
18
|
exports.ListLeadsResultItemFromJSON = ListLeadsResultItemFromJSON;
|
|
19
19
|
exports.ListLeadsResultItemFromJSONTyped = ListLeadsResultItemFromJSONTyped;
|
|
20
20
|
exports.ListLeadsResultItemToJSON = ListLeadsResultItemToJSON;
|
|
21
21
|
exports.ListLeadsResultItemToJSONTyped = ListLeadsResultItemToJSONTyped;
|
|
22
|
+
var LeadLeaseToOwnConfigurationDto_1 = require("./LeadLeaseToOwnConfigurationDto");
|
|
22
23
|
var LeadMessageData_1 = require("./LeadMessageData");
|
|
23
24
|
var LeadDomainDto_1 = require("./LeadDomainDto");
|
|
24
25
|
var MoneyDto_1 = require("./MoneyDto");
|
|
26
|
+
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
27
|
+
var LeadOfferDto_1 = require("./LeadOfferDto");
|
|
25
28
|
/**
|
|
26
29
|
* @export
|
|
27
30
|
*/
|
|
@@ -41,6 +44,15 @@ exports.ListLeadsResultItemLastOfferByEnum = {
|
|
|
41
44
|
AI: 'ai',
|
|
42
45
|
ADMIN: 'admin'
|
|
43
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
exports.ListLeadsResultItemLastOfferTypeEnum = {
|
|
51
|
+
LEAD: 'lead',
|
|
52
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
53
|
+
RENT: 'rent',
|
|
54
|
+
AUCTION: 'auction'
|
|
55
|
+
};
|
|
44
56
|
/**
|
|
45
57
|
* @export
|
|
46
58
|
*/
|
|
@@ -81,6 +93,8 @@ function instanceOfListLeadsResultItem(value) {
|
|
|
81
93
|
return false;
|
|
82
94
|
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
|
|
83
95
|
return false;
|
|
96
|
+
if (!('lastOfferType' in value) || value['lastOfferType'] === undefined)
|
|
97
|
+
return false;
|
|
84
98
|
if (!('buyerInitials' in value) || value['buyerInitials'] === undefined)
|
|
85
99
|
return false;
|
|
86
100
|
if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined)
|
|
@@ -113,6 +127,14 @@ function instanceOfListLeadsResultItem(value) {
|
|
|
113
127
|
return false;
|
|
114
128
|
if (!('manualType' in value) || value['manualType'] === undefined)
|
|
115
129
|
return false;
|
|
130
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
131
|
+
return false;
|
|
132
|
+
if (!('rent' in value) || value['rent'] === undefined)
|
|
133
|
+
return false;
|
|
134
|
+
if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined)
|
|
135
|
+
return false;
|
|
136
|
+
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
|
|
137
|
+
return false;
|
|
116
138
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
|
|
117
139
|
return false;
|
|
118
140
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
|
|
@@ -131,6 +153,7 @@ function ListLeadsResultItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
131
153
|
'status': json['status'],
|
|
132
154
|
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
133
155
|
'lastOfferBy': json['lastOfferBy'],
|
|
156
|
+
'lastOfferType': json['lastOfferType'],
|
|
134
157
|
'buyerInitials': json['buyerInitials'],
|
|
135
158
|
'buyerIpCountryCode': json['buyerIpCountryCode'],
|
|
136
159
|
'lastMessageFrom': json['lastMessageFrom'],
|
|
@@ -147,6 +170,10 @@ function ListLeadsResultItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
147
170
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
148
171
|
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
149
172
|
'manualType': json['manualType'],
|
|
173
|
+
'leaseToOwn': (0, LeadLeaseToOwnConfigurationDto_1.LeadLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
174
|
+
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
|
|
175
|
+
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
|
|
176
|
+
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
|
|
150
177
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
151
178
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
152
179
|
};
|
|
@@ -164,6 +191,7 @@ function ListLeadsResultItemToJSONTyped(value, ignoreDiscriminator) {
|
|
|
164
191
|
'status': value['status'],
|
|
165
192
|
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
166
193
|
'lastOfferBy': value['lastOfferBy'],
|
|
194
|
+
'lastOfferType': value['lastOfferType'],
|
|
167
195
|
'buyerInitials': value['buyerInitials'],
|
|
168
196
|
'buyerIpCountryCode': value['buyerIpCountryCode'],
|
|
169
197
|
'lastMessageFrom': value['lastMessageFrom'],
|
|
@@ -180,6 +208,10 @@ function ListLeadsResultItemToJSONTyped(value, ignoreDiscriminator) {
|
|
|
180
208
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
181
209
|
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
182
210
|
'manualType': value['manualType'],
|
|
211
|
+
'leaseToOwn': (0, LeadLeaseToOwnConfigurationDto_1.LeadLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
212
|
+
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
|
|
213
|
+
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
|
|
214
|
+
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
|
|
183
215
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
184
216
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
185
217
|
};
|
|
@@ -27,6 +27,18 @@ export interface ManualLeadLeaseToOwnDto {
|
|
|
27
27
|
* @memberof ManualLeadLeaseToOwnDto
|
|
28
28
|
*/
|
|
29
29
|
maxMonths: number | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ManualLeadLeaseToOwnDto
|
|
34
|
+
*/
|
|
35
|
+
kickBackPercentage: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ManualLeadLeaseToOwnDto
|
|
40
|
+
*/
|
|
41
|
+
markupComissionPercentage: number | null;
|
|
30
42
|
}
|
|
31
43
|
/**
|
|
32
44
|
* Check if a given object implements the ManualLeadLeaseToOwnDto interface.
|
|
@@ -26,6 +26,10 @@ function instanceOfManualLeadLeaseToOwnDto(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('maxMonths' in value) || value['maxMonths'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('kickBackPercentage' in value) || value['kickBackPercentage'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('markupComissionPercentage' in value) || value['markupComissionPercentage'] === undefined)
|
|
32
|
+
return false;
|
|
29
33
|
return true;
|
|
30
34
|
}
|
|
31
35
|
function ManualLeadLeaseToOwnDtoFromJSON(json) {
|
|
@@ -38,6 +42,8 @@ function ManualLeadLeaseToOwnDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
42
|
return {
|
|
39
43
|
'minMonths': json['minMonths'],
|
|
40
44
|
'maxMonths': json['maxMonths'],
|
|
45
|
+
'kickBackPercentage': json['kickBackPercentage'],
|
|
46
|
+
'markupComissionPercentage': json['markupComissionPercentage'],
|
|
41
47
|
};
|
|
42
48
|
}
|
|
43
49
|
function ManualLeadLeaseToOwnDtoToJSON(json) {
|
|
@@ -51,5 +57,7 @@ function ManualLeadLeaseToOwnDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
57
|
return {
|
|
52
58
|
'minMonths': value['minMonths'],
|
|
53
59
|
'maxMonths': value['maxMonths'],
|
|
60
|
+
'kickBackPercentage': value['kickBackPercentage'],
|
|
61
|
+
'markupComissionPercentage': value['markupComissionPercentage'],
|
|
54
62
|
};
|
|
55
63
|
}
|
|
@@ -110,6 +110,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
|
|
|
110
110
|
readonly SELLER_STATS_DASHBOARD: "SELLER_STATS_DASHBOARD";
|
|
111
111
|
readonly SELLER_TRANSFER_COSTS_PAYMENT: "SELLER_TRANSFER_COSTS_PAYMENT";
|
|
112
112
|
readonly NOTIFICATIONS_MANAGER: "NOTIFICATIONS_MANAGER";
|
|
113
|
+
readonly DOMAIN_AUCTIONS: "DOMAIN_AUCTIONS";
|
|
113
114
|
};
|
|
114
115
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
115
116
|
/**
|
|
@@ -40,7 +40,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
40
40
|
DOMAIN_AFFILIATE_PROGRAM: 'DOMAIN_AFFILIATE_PROGRAM',
|
|
41
41
|
SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
|
|
42
42
|
SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
|
|
43
|
-
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER'
|
|
43
|
+
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
44
|
+
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* Check if a given object implements the PrivateAccountGetMeResponse interface.
|
|
@@ -22,7 +22,29 @@ export interface PutBuyerLeadOfferInput {
|
|
|
22
22
|
* @memberof PutBuyerLeadOfferInput
|
|
23
23
|
*/
|
|
24
24
|
offer: MoneyDto | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PutBuyerLeadOfferInput
|
|
29
|
+
*/
|
|
30
|
+
offerType?: PutBuyerLeadOfferInputOfferTypeEnum | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PutBuyerLeadOfferInput
|
|
35
|
+
*/
|
|
36
|
+
leaseToOwnMonths?: number | null;
|
|
25
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const PutBuyerLeadOfferInputOfferTypeEnum: {
|
|
42
|
+
readonly LEAD: "lead";
|
|
43
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
44
|
+
readonly RENT: "rent";
|
|
45
|
+
readonly AUCTION: "auction";
|
|
46
|
+
};
|
|
47
|
+
export type PutBuyerLeadOfferInputOfferTypeEnum = typeof PutBuyerLeadOfferInputOfferTypeEnum[keyof typeof PutBuyerLeadOfferInputOfferTypeEnum];
|
|
26
48
|
/**
|
|
27
49
|
* Check if a given object implements the PutBuyerLeadOfferInput interface.
|
|
28
50
|
*/
|
|
@@ -13,12 +13,22 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PutBuyerLeadOfferInputOfferTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfPutBuyerLeadOfferInput = instanceOfPutBuyerLeadOfferInput;
|
|
17
18
|
exports.PutBuyerLeadOfferInputFromJSON = PutBuyerLeadOfferInputFromJSON;
|
|
18
19
|
exports.PutBuyerLeadOfferInputFromJSONTyped = PutBuyerLeadOfferInputFromJSONTyped;
|
|
19
20
|
exports.PutBuyerLeadOfferInputToJSON = PutBuyerLeadOfferInputToJSON;
|
|
20
21
|
exports.PutBuyerLeadOfferInputToJSONTyped = PutBuyerLeadOfferInputToJSONTyped;
|
|
21
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.PutBuyerLeadOfferInputOfferTypeEnum = {
|
|
27
|
+
LEAD: 'lead',
|
|
28
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
29
|
+
RENT: 'rent',
|
|
30
|
+
AUCTION: 'auction'
|
|
31
|
+
};
|
|
22
32
|
/**
|
|
23
33
|
* Check if a given object implements the PutBuyerLeadOfferInput interface.
|
|
24
34
|
*/
|
|
@@ -36,6 +46,8 @@ function PutBuyerLeadOfferInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
46
|
}
|
|
37
47
|
return {
|
|
38
48
|
'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
|
|
49
|
+
'offerType': json['offerType'] == null ? undefined : json['offerType'],
|
|
50
|
+
'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
|
|
39
51
|
};
|
|
40
52
|
}
|
|
41
53
|
function PutBuyerLeadOfferInputToJSON(json) {
|
|
@@ -48,5 +60,7 @@ function PutBuyerLeadOfferInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
48
60
|
}
|
|
49
61
|
return {
|
|
50
62
|
'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
|
|
63
|
+
'offerType': value['offerType'],
|
|
64
|
+
'leaseToOwnMonths': value['leaseToOwnMonths'],
|
|
51
65
|
};
|
|
52
66
|
}
|
|
@@ -21,8 +21,30 @@ export interface PutLeadOfferInput {
|
|
|
21
21
|
* @type {MoneyDto}
|
|
22
22
|
* @memberof PutLeadOfferInput
|
|
23
23
|
*/
|
|
24
|
-
offer
|
|
24
|
+
offer?: MoneyDto | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PutLeadOfferInput
|
|
29
|
+
*/
|
|
30
|
+
offerType?: PutLeadOfferInputOfferTypeEnum | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PutLeadOfferInput
|
|
35
|
+
*/
|
|
36
|
+
leaseToOwnMonths?: number | null;
|
|
25
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const PutLeadOfferInputOfferTypeEnum: {
|
|
42
|
+
readonly LEAD: "lead";
|
|
43
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
44
|
+
readonly RENT: "rent";
|
|
45
|
+
readonly AUCTION: "auction";
|
|
46
|
+
};
|
|
47
|
+
export type PutLeadOfferInputOfferTypeEnum = typeof PutLeadOfferInputOfferTypeEnum[keyof typeof PutLeadOfferInputOfferTypeEnum];
|
|
26
48
|
/**
|
|
27
49
|
* Check if a given object implements the PutLeadOfferInput interface.
|
|
28
50
|
*/
|
|
@@ -13,18 +13,26 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PutLeadOfferInputOfferTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfPutLeadOfferInput = instanceOfPutLeadOfferInput;
|
|
17
18
|
exports.PutLeadOfferInputFromJSON = PutLeadOfferInputFromJSON;
|
|
18
19
|
exports.PutLeadOfferInputFromJSONTyped = PutLeadOfferInputFromJSONTyped;
|
|
19
20
|
exports.PutLeadOfferInputToJSON = PutLeadOfferInputToJSON;
|
|
20
21
|
exports.PutLeadOfferInputToJSONTyped = PutLeadOfferInputToJSONTyped;
|
|
21
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.PutLeadOfferInputOfferTypeEnum = {
|
|
27
|
+
LEAD: 'lead',
|
|
28
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
29
|
+
RENT: 'rent',
|
|
30
|
+
AUCTION: 'auction'
|
|
31
|
+
};
|
|
22
32
|
/**
|
|
23
33
|
* Check if a given object implements the PutLeadOfferInput interface.
|
|
24
34
|
*/
|
|
25
35
|
function instanceOfPutLeadOfferInput(value) {
|
|
26
|
-
if (!('offer' in value) || value['offer'] === undefined)
|
|
27
|
-
return false;
|
|
28
36
|
return true;
|
|
29
37
|
}
|
|
30
38
|
function PutLeadOfferInputFromJSON(json) {
|
|
@@ -35,7 +43,9 @@ function PutLeadOfferInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
43
|
return json;
|
|
36
44
|
}
|
|
37
45
|
return {
|
|
38
|
-
'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
|
|
46
|
+
'offer': json['offer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
|
|
47
|
+
'offerType': json['offerType'] == null ? undefined : json['offerType'],
|
|
48
|
+
'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
|
|
39
49
|
};
|
|
40
50
|
}
|
|
41
51
|
function PutLeadOfferInputToJSON(json) {
|
|
@@ -48,5 +58,7 @@ function PutLeadOfferInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
48
58
|
}
|
|
49
59
|
return {
|
|
50
60
|
'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
|
|
61
|
+
'offerType': value['offerType'],
|
|
62
|
+
'leaseToOwnMonths': value['leaseToOwnMonths'],
|
|
51
63
|
};
|
|
52
64
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 RegisterAuctionBuyerPhoneInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RegisterAuctionBuyerPhoneInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegisterAuctionBuyerPhoneInput
|
|
22
|
+
*/
|
|
23
|
+
phone: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegisterAuctionBuyerPhoneInput
|
|
28
|
+
*/
|
|
29
|
+
channel: RegisterAuctionBuyerPhoneInputChannelEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const RegisterAuctionBuyerPhoneInputChannelEnum: {
|
|
35
|
+
readonly SMS: "sms";
|
|
36
|
+
readonly CALL: "call";
|
|
37
|
+
readonly WHATSAPP: "whatsapp";
|
|
38
|
+
};
|
|
39
|
+
export type RegisterAuctionBuyerPhoneInputChannelEnum = typeof RegisterAuctionBuyerPhoneInputChannelEnum[keyof typeof RegisterAuctionBuyerPhoneInputChannelEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the RegisterAuctionBuyerPhoneInput interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfRegisterAuctionBuyerPhoneInput(value: object): value is RegisterAuctionBuyerPhoneInput;
|
|
44
|
+
export declare function RegisterAuctionBuyerPhoneInputFromJSON(json: any): RegisterAuctionBuyerPhoneInput;
|
|
45
|
+
export declare function RegisterAuctionBuyerPhoneInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterAuctionBuyerPhoneInput;
|
|
46
|
+
export declare function RegisterAuctionBuyerPhoneInputToJSON(json: any): RegisterAuctionBuyerPhoneInput;
|
|
47
|
+
export declare function RegisterAuctionBuyerPhoneInputToJSONTyped(value?: RegisterAuctionBuyerPhoneInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.RegisterAuctionBuyerPhoneInputChannelEnum = void 0;
|
|
17
|
+
exports.instanceOfRegisterAuctionBuyerPhoneInput = instanceOfRegisterAuctionBuyerPhoneInput;
|
|
18
|
+
exports.RegisterAuctionBuyerPhoneInputFromJSON = RegisterAuctionBuyerPhoneInputFromJSON;
|
|
19
|
+
exports.RegisterAuctionBuyerPhoneInputFromJSONTyped = RegisterAuctionBuyerPhoneInputFromJSONTyped;
|
|
20
|
+
exports.RegisterAuctionBuyerPhoneInputToJSON = RegisterAuctionBuyerPhoneInputToJSON;
|
|
21
|
+
exports.RegisterAuctionBuyerPhoneInputToJSONTyped = RegisterAuctionBuyerPhoneInputToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.RegisterAuctionBuyerPhoneInputChannelEnum = {
|
|
26
|
+
SMS: 'sms',
|
|
27
|
+
CALL: 'call',
|
|
28
|
+
WHATSAPP: 'whatsapp'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the RegisterAuctionBuyerPhoneInput interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfRegisterAuctionBuyerPhoneInput(value) {
|
|
34
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('channel' in value) || value['channel'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function RegisterAuctionBuyerPhoneInputFromJSON(json) {
|
|
41
|
+
return RegisterAuctionBuyerPhoneInputFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function RegisterAuctionBuyerPhoneInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'phone': json['phone'],
|
|
49
|
+
'channel': json['channel'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function RegisterAuctionBuyerPhoneInputToJSON(json) {
|
|
53
|
+
return RegisterAuctionBuyerPhoneInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function RegisterAuctionBuyerPhoneInputToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'phone': value['phone'],
|
|
62
|
+
'channel': value['channel'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -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 RegisterInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RegisterInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegisterInput
|
|
22
|
+
*/
|
|
23
|
+
firstname: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegisterInput
|
|
28
|
+
*/
|
|
29
|
+
lastname: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the RegisterInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfRegisterInput(value: object): value is RegisterInput;
|
|
35
|
+
export declare function RegisterInputFromJSON(json: any): RegisterInput;
|
|
36
|
+
export declare function RegisterInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterInput;
|
|
37
|
+
export declare function RegisterInputToJSON(json: any): RegisterInput;
|
|
38
|
+
export declare function RegisterInputToJSONTyped(value?: RegisterInput | 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.instanceOfRegisterInput = instanceOfRegisterInput;
|
|
17
|
+
exports.RegisterInputFromJSON = RegisterInputFromJSON;
|
|
18
|
+
exports.RegisterInputFromJSONTyped = RegisterInputFromJSONTyped;
|
|
19
|
+
exports.RegisterInputToJSON = RegisterInputToJSON;
|
|
20
|
+
exports.RegisterInputToJSONTyped = RegisterInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RegisterInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRegisterInput(value) {
|
|
25
|
+
if (!('firstname' in value) || value['firstname'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('lastname' in value) || value['lastname'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function RegisterInputFromJSON(json) {
|
|
32
|
+
return RegisterInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function RegisterInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'firstname': json['firstname'],
|
|
40
|
+
'lastname': json['lastname'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function RegisterInputToJSON(json) {
|
|
44
|
+
return RegisterInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function RegisterInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'firstname': value['firstname'],
|
|
53
|
+
'lastname': value['lastname'],
|
|
54
|
+
};
|
|
55
|
+
}
|