@randock/nameshift-api-client 0.0.230 → 0.0.232
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 +7 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +11 -0
- package/dist/apis/AdminApi.js +51 -0
- package/dist/models/AccountSettingsDto.d.ts +7 -0
- package/dist/models/AccountSettingsDto.js +5 -0
- package/dist/models/AccountSettingsRentConfigurationDto.d.ts +33 -0
- package/dist/models/AccountSettingsRentConfigurationDto.js +52 -0
- package/dist/models/AdminVerificationDepositDto.d.ts +3 -2
- package/dist/models/AdminVerificationDepositDto.js +3 -2
- package/dist/models/AirwallexDepositDto.d.ts +63 -0
- package/dist/models/AirwallexDepositDto.js +72 -0
- package/dist/models/AirwallexDepositDtoFee.d.ts +38 -0
- package/dist/models/AirwallexDepositDtoFee.js +51 -0
- package/dist/models/BuyerSubscriptionListItemDto.d.ts +1 -1
- package/dist/models/CreateManualLeadInput.d.ts +1 -0
- package/dist/models/CreateManualLeadInput.js +2 -1
- package/dist/models/CreateSubscriptionInput.d.ts +1 -1
- package/dist/models/DomainDto.d.ts +7 -0
- package/dist/models/DomainDto.js +5 -0
- package/dist/models/DomainSalesInformationDto.d.ts +7 -0
- package/dist/models/DomainSalesInformationDto.js +5 -0
- package/dist/models/DomainSalesInformationRentConfigurationDto.d.ts +39 -0
- package/dist/models/DomainSalesInformationRentConfigurationDto.js +56 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +1 -0
- 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/RentConfigurationDto.d.ts +39 -0
- package/dist/models/RentConfigurationDto.js +56 -0
- package/dist/models/RentConfigurationInput.d.ts +39 -0
- package/dist/models/RentConfigurationInput.js +52 -0
- package/dist/models/RentConfigurationPresetsDto.d.ts +32 -0
- package/dist/models/RentConfigurationPresetsDto.js +51 -0
- package/dist/models/SellerSubscriptionListItemDto.d.ts +1 -1
- package/dist/models/SubscriptionDetailsDto.d.ts +1 -1
- package/dist/models/SubscriptionDto.d.ts +2 -2
- package/dist/models/SubscriptionListItemDto.d.ts +1 -1
- package/dist/models/UpdateDomainInput.d.ts +7 -0
- package/dist/models/UpdateDomainInput.js +3 -0
- package/dist/models/UpdateSubscriptionInput.d.ts +1 -1
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +44 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsRentConfigurationDto.ts +74 -0
- package/src/models/AdminVerificationDepositDto.ts +12 -4
- package/src/models/AirwallexDepositDto.ts +119 -0
- package/src/models/AirwallexDepositDtoFee.ts +73 -0
- package/src/models/BuyerSubscriptionListItemDto.ts +1 -1
- package/src/models/CreateManualLeadInput.ts +2 -1
- package/src/models/CreateSubscriptionInput.ts +1 -1
- package/src/models/DomainDto.ts +16 -0
- package/src/models/DomainSalesInformationDto.ts +16 -0
- package/src/models/DomainSalesInformationRentConfigurationDto.ts +83 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +1 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/RentConfigurationDto.ts +83 -0
- package/src/models/RentConfigurationInput.ts +81 -0
- package/src/models/RentConfigurationPresetsDto.ts +66 -0
- package/src/models/SellerSubscriptionListItemDto.ts +1 -1
- package/src/models/SubscriptionDetailsDto.ts +1 -1
- package/src/models/SubscriptionDto.ts +2 -2
- package/src/models/SubscriptionListItemDto.ts +1 -1
- package/src/models/UpdateDomainInput.ts +15 -0
- package/src/models/UpdateSubscriptionInput.ts +1 -1
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +7 -0
|
@@ -20,6 +20,7 @@ exports.DomainSalesInformationDtoToJSON = DomainSalesInformationDtoToJSON;
|
|
|
20
20
|
exports.DomainSalesInformationDtoToJSONTyped = DomainSalesInformationDtoToJSONTyped;
|
|
21
21
|
var DomainSellerDto_1 = require("./DomainSellerDto");
|
|
22
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
var DomainSalesInformationRentConfigurationDto_1 = require("./DomainSalesInformationRentConfigurationDto");
|
|
23
24
|
var DomainStatsDto_1 = require("./DomainStatsDto");
|
|
24
25
|
var DomainSalesInformationLeaseToOwnConfigurationDto_1 = require("./DomainSalesInformationLeaseToOwnConfigurationDto");
|
|
25
26
|
var SeoMetricsDto_1 = require("./SeoMetricsDto");
|
|
@@ -35,6 +36,8 @@ function instanceOfDomainSalesInformationDto(value) {
|
|
|
35
36
|
return false;
|
|
36
37
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
37
38
|
return false;
|
|
39
|
+
if (!('rent' in value) || value['rent'] === undefined)
|
|
40
|
+
return false;
|
|
38
41
|
if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined)
|
|
39
42
|
return false;
|
|
40
43
|
if (!('seller' in value) || value['seller'] === undefined)
|
|
@@ -61,6 +64,7 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
64
|
'domainDisplayName': json['domainDisplayName'],
|
|
62
65
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
|
|
63
66
|
'leaseToOwn': (0, DomainSalesInformationLeaseToOwnConfigurationDto_1.DomainSalesInformationLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
67
|
+
'rent': (0, DomainSalesInformationRentConfigurationDto_1.DomainSalesInformationRentConfigurationDtoFromJSON)(json['rent']),
|
|
64
68
|
'minOfferPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOfferPrice']),
|
|
65
69
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
|
|
66
70
|
'sold': json['sold'],
|
|
@@ -82,6 +86,7 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
82
86
|
'domainDisplayName': value['domainDisplayName'],
|
|
83
87
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
|
|
84
88
|
'leaseToOwn': (0, DomainSalesInformationLeaseToOwnConfigurationDto_1.DomainSalesInformationLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
89
|
+
'rent': (0, DomainSalesInformationRentConfigurationDto_1.DomainSalesInformationRentConfigurationDtoToJSON)(value['rent']),
|
|
85
90
|
'minOfferPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOfferPrice']),
|
|
86
91
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
|
|
87
92
|
'sold': value['sold'],
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DomainSalesInformationRentConfigurationDto
|
|
17
|
+
*/
|
|
18
|
+
export interface DomainSalesInformationRentConfigurationDto {
|
|
19
|
+
/**
|
|
20
|
+
* Enabled status of rent
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof DomainSalesInformationRentConfigurationDto
|
|
23
|
+
*/
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Rent price
|
|
27
|
+
* @type {MoneyDto}
|
|
28
|
+
* @memberof DomainSalesInformationRentConfigurationDto
|
|
29
|
+
*/
|
|
30
|
+
price: MoneyDto | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the DomainSalesInformationRentConfigurationDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfDomainSalesInformationRentConfigurationDto(value: object): value is DomainSalesInformationRentConfigurationDto;
|
|
36
|
+
export declare function DomainSalesInformationRentConfigurationDtoFromJSON(json: any): DomainSalesInformationRentConfigurationDto;
|
|
37
|
+
export declare function DomainSalesInformationRentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationRentConfigurationDto;
|
|
38
|
+
export declare function DomainSalesInformationRentConfigurationDtoToJSON(json: any): DomainSalesInformationRentConfigurationDto;
|
|
39
|
+
export declare function DomainSalesInformationRentConfigurationDtoToJSONTyped(value?: DomainSalesInformationRentConfigurationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfDomainSalesInformationRentConfigurationDto = instanceOfDomainSalesInformationRentConfigurationDto;
|
|
17
|
+
exports.DomainSalesInformationRentConfigurationDtoFromJSON = DomainSalesInformationRentConfigurationDtoFromJSON;
|
|
18
|
+
exports.DomainSalesInformationRentConfigurationDtoFromJSONTyped = DomainSalesInformationRentConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.DomainSalesInformationRentConfigurationDtoToJSON = DomainSalesInformationRentConfigurationDtoToJSON;
|
|
20
|
+
exports.DomainSalesInformationRentConfigurationDtoToJSONTyped = DomainSalesInformationRentConfigurationDtoToJSONTyped;
|
|
21
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DomainSalesInformationRentConfigurationDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDomainSalesInformationRentConfigurationDto(value) {
|
|
26
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function DomainSalesInformationRentConfigurationDtoFromJSON(json) {
|
|
33
|
+
return DomainSalesInformationRentConfigurationDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function DomainSalesInformationRentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'enabled': json['enabled'],
|
|
41
|
+
'price': (0, MoneyDto_1.MoneyDtoFromJSON)(json['price']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function DomainSalesInformationRentConfigurationDtoToJSON(json) {
|
|
45
|
+
return DomainSalesInformationRentConfigurationDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function DomainSalesInformationRentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'enabled': value['enabled'],
|
|
54
|
+
'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -93,6 +93,7 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
93
93
|
*/
|
|
94
94
|
export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum: {
|
|
95
95
|
readonly LEASE_TO_OWN: "LEASE_TO_OWN";
|
|
96
|
+
readonly RENT: "RENT";
|
|
96
97
|
readonly SEO_METRICS: "SEO_METRICS";
|
|
97
98
|
readonly BANK_PAYOUTS: "BANK_PAYOUTS";
|
|
98
99
|
};
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -30,6 +30,7 @@ var BillingInformationDto_1 = require("./BillingInformationDto");
|
|
|
30
30
|
*/
|
|
31
31
|
exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = {
|
|
32
32
|
LEASE_TO_OWN: 'LEASE_TO_OWN',
|
|
33
|
+
RENT: 'RENT',
|
|
33
34
|
SEO_METRICS: 'SEO_METRICS',
|
|
34
35
|
BANK_PAYOUTS: 'BANK_PAYOUTS'
|
|
35
36
|
};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
13
14
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
14
15
|
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
15
16
|
import type { AccountDto } from './AccountDto';
|
|
@@ -86,6 +87,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
86
87
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
87
88
|
*/
|
|
88
89
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
90
|
+
/**
|
|
91
|
+
* The rent configuration
|
|
92
|
+
* @type {RentConfigurationDto}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
94
|
+
*/
|
|
95
|
+
rent: RentConfigurationDto;
|
|
89
96
|
/**
|
|
90
97
|
* The lease to own configuration
|
|
91
98
|
* @type {LandingPageSettingsDto}
|
|
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithAccountDtoFromJSONTyped = IntersectionDomainDto
|
|
|
19
19
|
exports.IntersectionDomainDtoWithAccountDtoToJSON = IntersectionDomainDtoWithAccountDtoToJSON;
|
|
20
20
|
exports.IntersectionDomainDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithAccountDtoToJSONTyped;
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
22
23
|
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
23
24
|
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
24
25
|
var AccountDto_1 = require("./AccountDto");
|
|
@@ -48,6 +49,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
48
49
|
return false;
|
|
49
50
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
50
51
|
return false;
|
|
52
|
+
if (!('rent' in value) || value['rent'] === undefined)
|
|
53
|
+
return false;
|
|
51
54
|
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined)
|
|
52
55
|
return false;
|
|
53
56
|
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
@@ -81,6 +84,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
81
84
|
'currencyCode': json['currencyCode'],
|
|
82
85
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
83
86
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
87
|
+
'rent': (0, RentConfigurationDto_1.RentConfigurationDtoFromJSON)(json['rent']),
|
|
84
88
|
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landingPageSettings']),
|
|
85
89
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
86
90
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -109,6 +113,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
109
113
|
'currencyCode': value['currencyCode'],
|
|
110
114
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
111
115
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
116
|
+
'rent': (0, RentConfigurationDto_1.RentConfigurationDtoToJSON)(value['rent']),
|
|
112
117
|
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landingPageSettings']),
|
|
113
118
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
114
119
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
13
14
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
14
15
|
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
15
16
|
import type { AccountDto } from './AccountDto';
|
|
@@ -86,6 +87,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
86
87
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
87
88
|
*/
|
|
88
89
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
90
|
+
/**
|
|
91
|
+
* The rent configuration
|
|
92
|
+
* @type {RentConfigurationDto}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
94
|
+
*/
|
|
95
|
+
rent: RentConfigurationDto;
|
|
89
96
|
/**
|
|
90
97
|
* The lease to own configuration
|
|
91
98
|
* @type {LandingPageSettingsDto}
|
|
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped = Inters
|
|
|
19
19
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON;
|
|
20
20
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped;
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
22
23
|
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
23
24
|
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
24
25
|
var AccountDto_1 = require("./AccountDto");
|
|
@@ -48,6 +49,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
48
49
|
return false;
|
|
49
50
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
50
51
|
return false;
|
|
52
|
+
if (!('rent' in value) || value['rent'] === undefined)
|
|
53
|
+
return false;
|
|
51
54
|
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined)
|
|
52
55
|
return false;
|
|
53
56
|
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
@@ -83,6 +86,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
83
86
|
'currencyCode': json['currencyCode'],
|
|
84
87
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
85
88
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
89
|
+
'rent': (0, RentConfigurationDto_1.RentConfigurationDtoFromJSON)(json['rent']),
|
|
86
90
|
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landingPageSettings']),
|
|
87
91
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
88
92
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -112,6 +116,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
112
116
|
'currencyCode': value['currencyCode'],
|
|
113
117
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
114
118
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
119
|
+
'rent': (0, RentConfigurationDto_1.RentConfigurationDtoToJSON)(value['rent']),
|
|
115
120
|
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landingPageSettings']),
|
|
116
121
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
117
122
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RentConfigurationDto
|
|
17
|
+
*/
|
|
18
|
+
export interface RentConfigurationDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof RentConfigurationDto
|
|
23
|
+
*/
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {MoneyDto}
|
|
28
|
+
* @memberof RentConfigurationDto
|
|
29
|
+
*/
|
|
30
|
+
price: MoneyDto | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the RentConfigurationDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfRentConfigurationDto(value: object): value is RentConfigurationDto;
|
|
36
|
+
export declare function RentConfigurationDtoFromJSON(json: any): RentConfigurationDto;
|
|
37
|
+
export declare function RentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RentConfigurationDto;
|
|
38
|
+
export declare function RentConfigurationDtoToJSON(json: any): RentConfigurationDto;
|
|
39
|
+
export declare function RentConfigurationDtoToJSONTyped(value?: RentConfigurationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfRentConfigurationDto = instanceOfRentConfigurationDto;
|
|
17
|
+
exports.RentConfigurationDtoFromJSON = RentConfigurationDtoFromJSON;
|
|
18
|
+
exports.RentConfigurationDtoFromJSONTyped = RentConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.RentConfigurationDtoToJSON = RentConfigurationDtoToJSON;
|
|
20
|
+
exports.RentConfigurationDtoToJSONTyped = RentConfigurationDtoToJSONTyped;
|
|
21
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the RentConfigurationDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfRentConfigurationDto(value) {
|
|
26
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function RentConfigurationDtoFromJSON(json) {
|
|
33
|
+
return RentConfigurationDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function RentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'enabled': json['enabled'],
|
|
41
|
+
'price': (0, MoneyDto_1.MoneyDtoFromJSON)(json['price']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function RentConfigurationDtoToJSON(json) {
|
|
45
|
+
return RentConfigurationDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function RentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'enabled': value['enabled'],
|
|
54
|
+
'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RentConfigurationInput
|
|
17
|
+
*/
|
|
18
|
+
export interface RentConfigurationInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof RentConfigurationInput
|
|
23
|
+
*/
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {MoneyDto}
|
|
28
|
+
* @memberof RentConfigurationInput
|
|
29
|
+
*/
|
|
30
|
+
price?: MoneyDto;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the RentConfigurationInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfRentConfigurationInput(value: object): value is RentConfigurationInput;
|
|
36
|
+
export declare function RentConfigurationInputFromJSON(json: any): RentConfigurationInput;
|
|
37
|
+
export declare function RentConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RentConfigurationInput;
|
|
38
|
+
export declare function RentConfigurationInputToJSON(json: any): RentConfigurationInput;
|
|
39
|
+
export declare function RentConfigurationInputToJSONTyped(value?: RentConfigurationInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfRentConfigurationInput = instanceOfRentConfigurationInput;
|
|
17
|
+
exports.RentConfigurationInputFromJSON = RentConfigurationInputFromJSON;
|
|
18
|
+
exports.RentConfigurationInputFromJSONTyped = RentConfigurationInputFromJSONTyped;
|
|
19
|
+
exports.RentConfigurationInputToJSON = RentConfigurationInputToJSON;
|
|
20
|
+
exports.RentConfigurationInputToJSONTyped = RentConfigurationInputToJSONTyped;
|
|
21
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the RentConfigurationInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfRentConfigurationInput(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function RentConfigurationInputFromJSON(json) {
|
|
29
|
+
return RentConfigurationInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function RentConfigurationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
37
|
+
'price': json['price'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['price']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function RentConfigurationInputToJSON(json) {
|
|
41
|
+
return RentConfigurationInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function RentConfigurationInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'enabled': value['enabled'],
|
|
50
|
+
'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 RentConfigurationPresetsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RentConfigurationPresetsDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RentConfigurationPresetsDto
|
|
22
|
+
*/
|
|
23
|
+
minMonthPrice: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RentConfigurationPresetsDto interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRentConfigurationPresetsDto(value: object): value is RentConfigurationPresetsDto;
|
|
29
|
+
export declare function RentConfigurationPresetsDtoFromJSON(json: any): RentConfigurationPresetsDto;
|
|
30
|
+
export declare function RentConfigurationPresetsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RentConfigurationPresetsDto;
|
|
31
|
+
export declare function RentConfigurationPresetsDtoToJSON(json: any): RentConfigurationPresetsDto;
|
|
32
|
+
export declare function RentConfigurationPresetsDtoToJSONTyped(value?: RentConfigurationPresetsDto | 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.instanceOfRentConfigurationPresetsDto = instanceOfRentConfigurationPresetsDto;
|
|
17
|
+
exports.RentConfigurationPresetsDtoFromJSON = RentConfigurationPresetsDtoFromJSON;
|
|
18
|
+
exports.RentConfigurationPresetsDtoFromJSONTyped = RentConfigurationPresetsDtoFromJSONTyped;
|
|
19
|
+
exports.RentConfigurationPresetsDtoToJSON = RentConfigurationPresetsDtoToJSON;
|
|
20
|
+
exports.RentConfigurationPresetsDtoToJSONTyped = RentConfigurationPresetsDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RentConfigurationPresetsDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRentConfigurationPresetsDto(value) {
|
|
25
|
+
if (!('minMonthPrice' in value) || value['minMonthPrice'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function RentConfigurationPresetsDtoFromJSON(json) {
|
|
30
|
+
return RentConfigurationPresetsDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function RentConfigurationPresetsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'minMonthPrice': json['minMonthPrice'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function RentConfigurationPresetsDtoToJSON(json) {
|
|
41
|
+
return RentConfigurationPresetsDtoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function RentConfigurationPresetsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'minMonthPrice': value['minMonthPrice'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -124,7 +124,7 @@ export interface SubscriptionDto {
|
|
|
124
124
|
* @type {number}
|
|
125
125
|
* @memberof SubscriptionDto
|
|
126
126
|
*/
|
|
127
|
-
installments: number;
|
|
127
|
+
installments: number | null;
|
|
128
128
|
/**
|
|
129
129
|
*
|
|
130
130
|
* @type {number}
|
|
@@ -136,7 +136,7 @@ export interface SubscriptionDto {
|
|
|
136
136
|
* @type {number}
|
|
137
137
|
* @memberof SubscriptionDto
|
|
138
138
|
*/
|
|
139
|
-
expectedInstallmentsNumber: number;
|
|
139
|
+
expectedInstallmentsNumber: number | null;
|
|
140
140
|
/**
|
|
141
141
|
*
|
|
142
142
|
* @type {SubscriptionBillingPeriodicityDto}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
import type { LandingPageInput } from './LandingPageInput';
|
|
14
14
|
import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
|
|
15
|
+
import type { RentConfigurationInput } from './RentConfigurationInput';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
@@ -42,6 +43,12 @@ export interface UpdateDomainInput {
|
|
|
42
43
|
* @memberof UpdateDomainInput
|
|
43
44
|
*/
|
|
44
45
|
leaseToOwn?: LeaseToOwnConfigurationInput;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {RentConfigurationInput}
|
|
49
|
+
* @memberof UpdateDomainInput
|
|
50
|
+
*/
|
|
51
|
+
rent?: RentConfigurationInput;
|
|
45
52
|
/**
|
|
46
53
|
*
|
|
47
54
|
* @type {LandingPageInput}
|
|
@@ -21,6 +21,7 @@ exports.UpdateDomainInputToJSONTyped = UpdateDomainInputToJSONTyped;
|
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
22
|
var LandingPageInput_1 = require("./LandingPageInput");
|
|
23
23
|
var LeaseToOwnConfigurationInput_1 = require("./LeaseToOwnConfigurationInput");
|
|
24
|
+
var RentConfigurationInput_1 = require("./RentConfigurationInput");
|
|
24
25
|
/**
|
|
25
26
|
* Check if a given object implements the UpdateDomainInput interface.
|
|
26
27
|
*/
|
|
@@ -39,6 +40,7 @@ function UpdateDomainInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
'minOffer': json['minOffer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
40
41
|
'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
|
|
41
42
|
'leaseToOwn': json['leaseToOwn'] == null ? undefined : (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputFromJSON)(json['leaseToOwn']),
|
|
43
|
+
'rent': json['rent'] == null ? undefined : (0, RentConfigurationInput_1.RentConfigurationInputFromJSON)(json['rent']),
|
|
42
44
|
'landingPage': json['landingPage'] == null ? undefined : (0, LandingPageInput_1.LandingPageInputFromJSON)(json['landingPage']),
|
|
43
45
|
};
|
|
44
46
|
}
|
|
@@ -55,6 +57,7 @@ function UpdateDomainInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
57
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
56
58
|
'currencyCode': value['currencyCode'],
|
|
57
59
|
'leaseToOwn': (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputToJSON)(value['leaseToOwn']),
|
|
60
|
+
'rent': (0, RentConfigurationInput_1.RentConfigurationInputToJSON)(value['rent']),
|
|
58
61
|
'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
|
|
59
62
|
};
|
|
60
63
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
14
|
+
import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -65,6 +66,12 @@ export interface WithSettingsInner {
|
|
|
65
66
|
* @memberof WithSettingsInner
|
|
66
67
|
*/
|
|
67
68
|
leaseToOwn: AccountSettingsLeaseToOwnConfigurationDto;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {AccountSettingsRentConfigurationDto}
|
|
72
|
+
* @memberof WithSettingsInner
|
|
73
|
+
*/
|
|
74
|
+
rent: AccountSettingsRentConfigurationDto;
|
|
68
75
|
}
|
|
69
76
|
/**
|
|
70
77
|
* Check if a given object implements the WithSettingsInner interface.
|