@randock/nameshift-api-client 0.0.183 → 0.0.185
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/AccountsApi.d.ts +9 -1
- package/dist/apis/AccountsApi.js +50 -0
- package/dist/apis/AdminApi.d.ts +27 -1
- package/dist/apis/AdminApi.js +119 -0
- package/dist/apis/DomainsApi.d.ts +3 -3
- package/dist/apis/DomainsApi.js +1 -1
- package/dist/apis/DomainsPublicApi.d.ts +1 -0
- package/dist/apis/DomainsPublicApi.js +3 -0
- package/dist/apis/SubscriptionsPublicApi.d.ts +52 -0
- package/dist/apis/SubscriptionsPublicApi.js +217 -0
- package/dist/apis/TasksApi.d.ts +3 -3
- package/dist/apis/TasksApi.js +1 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountSettingsDto.d.ts +21 -0
- package/dist/models/AccountSettingsDto.js +15 -0
- package/dist/models/AccountSettingsInput.d.ts +7 -0
- package/dist/models/AccountSettingsInput.js +3 -0
- package/dist/models/AccountSettingsLandingDto.d.ts +38 -0
- package/dist/models/AccountSettingsLandingDto.js +55 -0
- package/dist/models/AccountSettingsLeaseToOwnConfigurationDto.d.ts +51 -0
- package/dist/models/AccountSettingsLeaseToOwnConfigurationDto.js +64 -0
- package/dist/models/AccountSettingsSidnDto.d.ts +32 -0
- package/dist/models/AccountSettingsSidnDto.js +51 -0
- package/dist/models/ChangeSubscriptionStatusInput.d.ts +42 -0
- package/dist/models/ChangeSubscriptionStatusInput.js +61 -0
- package/dist/models/CreateSubscriptionInput.d.ts +132 -0
- package/dist/models/CreateSubscriptionInput.js +102 -0
- package/dist/models/DomainDto.d.ts +7 -0
- package/dist/models/DomainDto.js +5 -0
- package/dist/models/DomainSalesInformationLeaseToOwnConfigurationDto.d.ts +57 -0
- package/dist/models/DomainSalesInformationLeaseToOwnConfigurationDto.js +68 -0
- package/dist/models/GetAllSubscriptions200Response.d.ts +47 -0
- package/dist/models/GetAllSubscriptions200Response.js +62 -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/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +7 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +5 -0
- package/dist/models/LeaseToOwnConfigurationDto.d.ts +51 -0
- package/dist/models/LeaseToOwnConfigurationDto.js +64 -0
- package/dist/models/LeaseToOwnConfigurationInput.d.ts +44 -0
- package/dist/models/LeaseToOwnConfigurationInput.js +53 -0
- package/dist/models/LeaseToOwnConfigurationPresetsDto.d.ts +44 -0
- package/dist/models/LeaseToOwnConfigurationPresetsDto.js +59 -0
- package/dist/models/List200Response1.d.ts +3 -3
- package/dist/models/List200Response1.js +3 -3
- package/dist/models/List200Response2.d.ts +3 -3
- package/dist/models/List200Response2.js +3 -3
- package/dist/models/SubscriptionCompanyInfoDto.d.ts +39 -0
- package/dist/models/SubscriptionCompanyInfoDto.js +56 -0
- package/dist/models/SubscriptionCompanyTaxIdDto.d.ts +44 -0
- package/dist/models/SubscriptionCompanyTaxIdDto.js +59 -0
- package/dist/models/SubscriptionDomainDto.d.ts +38 -0
- package/dist/models/SubscriptionDomainDto.js +55 -0
- package/dist/models/SubscriptionDto.d.ts +165 -0
- package/dist/models/SubscriptionDto.js +148 -0
- package/dist/models/SubscriptionListItemDto.d.ts +102 -0
- package/dist/models/SubscriptionListItemDto.js +104 -0
- package/dist/models/SubscriptionListItemDtoBuyerInformation.d.ts +64 -0
- package/dist/models/SubscriptionListItemDtoBuyerInformation.js +73 -0
- package/dist/models/SubscriptionListItemDtoDomainInformation.d.ts +44 -0
- package/dist/models/SubscriptionListItemDtoDomainInformation.js +59 -0
- package/dist/models/SubscriptionListItemDtoSellerAccount.d.ts +50 -0
- package/dist/models/SubscriptionListItemDtoSellerAccount.js +63 -0
- package/dist/models/UpdateDomainInput.d.ts +7 -0
- package/dist/models/UpdateDomainInput.js +3 -0
- package/dist/models/UpdateSubscriptionInput.d.ts +112 -0
- package/dist/models/UpdateSubscriptionInput.js +81 -0
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +37 -0
- package/src/apis/AdminApi.ts +118 -0
- package/src/apis/DomainsApi.ts +9 -6
- package/src/apis/DomainsPublicApi.ts +5 -0
- package/src/apis/SubscriptionsPublicApi.ts +175 -0
- package/src/apis/TasksApi.ts +6 -6
- package/src/apis/index.ts +1 -0
- package/src/models/AccountSettingsDto.ts +48 -0
- package/src/models/AccountSettingsInput.ts +15 -0
- package/src/models/AccountSettingsLandingDto.ts +75 -0
- package/src/models/AccountSettingsLeaseToOwnConfigurationDto.ts +101 -0
- package/src/models/AccountSettingsSidnDto.ts +66 -0
- package/src/models/ChangeSubscriptionStatusInput.ts +79 -0
- package/src/models/CreateSubscriptionInput.ts +209 -0
- package/src/models/DomainDto.ts +16 -0
- package/src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts +110 -0
- package/src/models/GetAllSubscriptions200Response.ts +106 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +16 -0
- package/src/models/LeaseToOwnConfigurationDto.ts +101 -0
- package/src/models/LeaseToOwnConfigurationInput.ts +81 -0
- package/src/models/LeaseToOwnConfigurationPresetsDto.ts +84 -0
- package/src/models/List200Response1.ts +10 -10
- package/src/models/List200Response2.ts +10 -10
- package/src/models/SubscriptionCompanyInfoDto.ts +83 -0
- package/src/models/SubscriptionCompanyTaxIdDto.ts +84 -0
- package/src/models/SubscriptionDomainDto.ts +75 -0
- package/src/models/SubscriptionDto.ts +292 -0
- package/src/models/SubscriptionListItemDto.ts +189 -0
- package/src/models/SubscriptionListItemDtoBuyerInformation.ts +126 -0
- package/src/models/SubscriptionListItemDtoDomainInformation.ts +84 -0
- package/src/models/SubscriptionListItemDtoSellerAccount.ts +93 -0
- package/src/models/UpdateDomainInput.ts +15 -0
- package/src/models/UpdateSubscriptionInput.ts +179 -0
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +19 -0
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SubscriptionListItemDtoSellerAccount
|
|
20
|
+
*/
|
|
21
|
+
export interface SubscriptionListItemDtoSellerAccount {
|
|
22
|
+
/**
|
|
23
|
+
* The subscription seller account ID
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof SubscriptionListItemDtoSellerAccount
|
|
26
|
+
*/
|
|
27
|
+
accountId: object;
|
|
28
|
+
/**
|
|
29
|
+
* The subscription seller account ID
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SubscriptionListItemDtoSellerAccount
|
|
32
|
+
*/
|
|
33
|
+
identifier: string;
|
|
34
|
+
/**
|
|
35
|
+
* The subscription seller account name
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SubscriptionListItemDtoSellerAccount
|
|
38
|
+
*/
|
|
39
|
+
name: string;
|
|
40
|
+
/**
|
|
41
|
+
* Indicates if subscription seller account is a business or not
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof SubscriptionListItemDtoSellerAccount
|
|
44
|
+
*/
|
|
45
|
+
isBusiness: boolean | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the SubscriptionListItemDtoSellerAccount interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfSubscriptionListItemDtoSellerAccount(value: object): value is SubscriptionListItemDtoSellerAccount {
|
|
52
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
53
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
54
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
55
|
+
if (!('isBusiness' in value) || value['isBusiness'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SubscriptionListItemDtoSellerAccountFromJSON(json: any): SubscriptionListItemDtoSellerAccount {
|
|
60
|
+
return SubscriptionListItemDtoSellerAccountFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SubscriptionListItemDtoSellerAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionListItemDtoSellerAccount {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'accountId': json['accountId'],
|
|
70
|
+
'identifier': json['identifier'],
|
|
71
|
+
'name': json['name'],
|
|
72
|
+
'isBusiness': json['isBusiness'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function SubscriptionListItemDtoSellerAccountToJSON(json: any): SubscriptionListItemDtoSellerAccount {
|
|
77
|
+
return SubscriptionListItemDtoSellerAccountToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function SubscriptionListItemDtoSellerAccountToJSONTyped(value?: SubscriptionListItemDtoSellerAccount | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'accountId': value['accountId'],
|
|
88
|
+
'identifier': value['identifier'],
|
|
89
|
+
'name': value['name'],
|
|
90
|
+
'isBusiness': value['isBusiness'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
MoneyDtoToJSON,
|
|
21
21
|
MoneyDtoToJSONTyped,
|
|
22
22
|
} from './MoneyDto';
|
|
23
|
+
import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
|
|
24
|
+
import {
|
|
25
|
+
LeaseToOwnConfigurationInputFromJSON,
|
|
26
|
+
LeaseToOwnConfigurationInputFromJSONTyped,
|
|
27
|
+
LeaseToOwnConfigurationInputToJSON,
|
|
28
|
+
LeaseToOwnConfigurationInputToJSONTyped,
|
|
29
|
+
} from './LeaseToOwnConfigurationInput';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
@@ -45,6 +52,12 @@ export interface UpdateDomainInput {
|
|
|
45
52
|
* @memberof UpdateDomainInput
|
|
46
53
|
*/
|
|
47
54
|
currencyCode?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {LeaseToOwnConfigurationInput}
|
|
58
|
+
* @memberof UpdateDomainInput
|
|
59
|
+
*/
|
|
60
|
+
leaseToOwn?: LeaseToOwnConfigurationInput;
|
|
48
61
|
}
|
|
49
62
|
|
|
50
63
|
/**
|
|
@@ -67,6 +80,7 @@ export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
67
80
|
'bin': json['bin'] == null ? undefined : MoneyDtoFromJSON(json['bin']),
|
|
68
81
|
'minOffer': json['minOffer'] == null ? undefined : MoneyDtoFromJSON(json['minOffer']),
|
|
69
82
|
'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
|
|
83
|
+
'leaseToOwn': json['leaseToOwn'] == null ? undefined : LeaseToOwnConfigurationInputFromJSON(json['leaseToOwn']),
|
|
70
84
|
};
|
|
71
85
|
}
|
|
72
86
|
|
|
@@ -84,6 +98,7 @@ export function UpdateDomainInputToJSONTyped(value?: UpdateDomainInput | null, i
|
|
|
84
98
|
'bin': MoneyDtoToJSON(value['bin']),
|
|
85
99
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
86
100
|
'currencyCode': value['currencyCode'],
|
|
101
|
+
'leaseToOwn': LeaseToOwnConfigurationInputToJSON(value['leaseToOwn']),
|
|
87
102
|
};
|
|
88
103
|
}
|
|
89
104
|
|
|
@@ -0,0 +1,179 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { SubscriptionCompanyInfoDto } from './SubscriptionCompanyInfoDto';
|
|
17
|
+
import {
|
|
18
|
+
SubscriptionCompanyInfoDtoFromJSON,
|
|
19
|
+
SubscriptionCompanyInfoDtoFromJSONTyped,
|
|
20
|
+
SubscriptionCompanyInfoDtoToJSON,
|
|
21
|
+
SubscriptionCompanyInfoDtoToJSONTyped,
|
|
22
|
+
} from './SubscriptionCompanyInfoDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateSubscriptionInput
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateSubscriptionInput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateSubscriptionInput
|
|
34
|
+
*/
|
|
35
|
+
locale?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UpdateSubscriptionInput
|
|
40
|
+
*/
|
|
41
|
+
periodicity?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateSubscriptionInput
|
|
46
|
+
*/
|
|
47
|
+
periodicityUnit?: UpdateSubscriptionInputPeriodicityUnitEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateSubscriptionInput
|
|
52
|
+
*/
|
|
53
|
+
email?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UpdateSubscriptionInput
|
|
58
|
+
*/
|
|
59
|
+
firstName?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateSubscriptionInput
|
|
64
|
+
*/
|
|
65
|
+
lastName?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof UpdateSubscriptionInput
|
|
70
|
+
*/
|
|
71
|
+
addressCountryCode?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof UpdateSubscriptionInput
|
|
76
|
+
*/
|
|
77
|
+
addressStateCode?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof UpdateSubscriptionInput
|
|
82
|
+
*/
|
|
83
|
+
addressLine1?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof UpdateSubscriptionInput
|
|
88
|
+
*/
|
|
89
|
+
addressLine2?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof UpdateSubscriptionInput
|
|
94
|
+
*/
|
|
95
|
+
addressPostalCode?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof UpdateSubscriptionInput
|
|
100
|
+
*/
|
|
101
|
+
addressCity?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {SubscriptionCompanyInfoDto}
|
|
105
|
+
* @memberof UpdateSubscriptionInput
|
|
106
|
+
*/
|
|
107
|
+
companyInfo?: SubscriptionCompanyInfoDto | null;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export const UpdateSubscriptionInputPeriodicityUnitEnum = {
|
|
115
|
+
MONTH: 'month'
|
|
116
|
+
} as const;
|
|
117
|
+
export type UpdateSubscriptionInputPeriodicityUnitEnum = typeof UpdateSubscriptionInputPeriodicityUnitEnum[keyof typeof UpdateSubscriptionInputPeriodicityUnitEnum];
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Check if a given object implements the UpdateSubscriptionInput interface.
|
|
122
|
+
*/
|
|
123
|
+
export function instanceOfUpdateSubscriptionInput(value: object): value is UpdateSubscriptionInput {
|
|
124
|
+
return true;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function UpdateSubscriptionInputFromJSON(json: any): UpdateSubscriptionInput {
|
|
128
|
+
return UpdateSubscriptionInputFromJSONTyped(json, false);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function UpdateSubscriptionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSubscriptionInput {
|
|
132
|
+
if (json == null) {
|
|
133
|
+
return json;
|
|
134
|
+
}
|
|
135
|
+
return {
|
|
136
|
+
|
|
137
|
+
'locale': json['locale'] == null ? undefined : json['locale'],
|
|
138
|
+
'periodicity': json['periodicity'] == null ? undefined : json['periodicity'],
|
|
139
|
+
'periodicityUnit': json['periodicityUnit'] == null ? undefined : json['periodicityUnit'],
|
|
140
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
141
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
142
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
143
|
+
'addressCountryCode': json['addressCountryCode'] == null ? undefined : json['addressCountryCode'],
|
|
144
|
+
'addressStateCode': json['addressStateCode'] == null ? undefined : json['addressStateCode'],
|
|
145
|
+
'addressLine1': json['addressLine1'] == null ? undefined : json['addressLine1'],
|
|
146
|
+
'addressLine2': json['addressLine2'] == null ? undefined : json['addressLine2'],
|
|
147
|
+
'addressPostalCode': json['addressPostalCode'] == null ? undefined : json['addressPostalCode'],
|
|
148
|
+
'addressCity': json['addressCity'] == null ? undefined : json['addressCity'],
|
|
149
|
+
'companyInfo': json['companyInfo'] == null ? undefined : SubscriptionCompanyInfoDtoFromJSON(json['companyInfo']),
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export function UpdateSubscriptionInputToJSON(json: any): UpdateSubscriptionInput {
|
|
154
|
+
return UpdateSubscriptionInputToJSONTyped(json, false);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export function UpdateSubscriptionInputToJSONTyped(value?: UpdateSubscriptionInput | null, ignoreDiscriminator: boolean = false): any {
|
|
158
|
+
if (value == null) {
|
|
159
|
+
return value;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
return {
|
|
163
|
+
|
|
164
|
+
'locale': value['locale'],
|
|
165
|
+
'periodicity': value['periodicity'],
|
|
166
|
+
'periodicityUnit': value['periodicityUnit'],
|
|
167
|
+
'email': value['email'],
|
|
168
|
+
'firstName': value['firstName'],
|
|
169
|
+
'lastName': value['lastName'],
|
|
170
|
+
'addressCountryCode': value['addressCountryCode'],
|
|
171
|
+
'addressStateCode': value['addressStateCode'],
|
|
172
|
+
'addressLine1': value['addressLine1'],
|
|
173
|
+
'addressLine2': value['addressLine2'],
|
|
174
|
+
'addressPostalCode': value['addressPostalCode'],
|
|
175
|
+
'addressCity': value['addressCity'],
|
|
176
|
+
'companyInfo': SubscriptionCompanyInfoDtoToJSON(value['companyInfo']),
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
MoneyDtoToJSON,
|
|
21
21
|
MoneyDtoToJSONTyped,
|
|
22
22
|
} from './MoneyDto';
|
|
23
|
+
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
24
|
+
import {
|
|
25
|
+
AccountSettingsLeaseToOwnConfigurationDtoFromJSON,
|
|
26
|
+
AccountSettingsLeaseToOwnConfigurationDtoFromJSONTyped,
|
|
27
|
+
AccountSettingsLeaseToOwnConfigurationDtoToJSON,
|
|
28
|
+
AccountSettingsLeaseToOwnConfigurationDtoToJSONTyped,
|
|
29
|
+
} from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
@@ -57,6 +64,12 @@ export interface WithSettingsInner {
|
|
|
57
64
|
* @memberof WithSettingsInner
|
|
58
65
|
*/
|
|
59
66
|
sidnIdcode: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {AccountSettingsLeaseToOwnConfigurationDto}
|
|
70
|
+
* @memberof WithSettingsInner
|
|
71
|
+
*/
|
|
72
|
+
leaseToOwn: AccountSettingsLeaseToOwnConfigurationDto;
|
|
60
73
|
}
|
|
61
74
|
|
|
62
75
|
/**
|
|
@@ -68,6 +81,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
|
|
|
68
81
|
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
69
82
|
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
70
83
|
if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined) return false;
|
|
84
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
71
85
|
return true;
|
|
72
86
|
}
|
|
73
87
|
|
|
@@ -86,6 +100,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
86
100
|
'anonymous': json['anonymous'],
|
|
87
101
|
'showRelatedDomains': json['showRelatedDomains'],
|
|
88
102
|
'sidnIdcode': json['sidnIdcode'],
|
|
103
|
+
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
89
104
|
};
|
|
90
105
|
}
|
|
91
106
|
|
|
@@ -105,6 +120,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
105
120
|
'anonymous': value['anonymous'],
|
|
106
121
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
107
122
|
'sidnIdcode': value['sidnIdcode'],
|
|
123
|
+
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
108
124
|
};
|
|
109
125
|
}
|
|
110
126
|
|
package/src/models/index.ts
CHANGED
|
@@ -7,6 +7,9 @@ export * from './AccountNotificationReadStatusDto';
|
|
|
7
7
|
export * from './AccountPaymentProviderSessionDto';
|
|
8
8
|
export * from './AccountSettingsDto';
|
|
9
9
|
export * from './AccountSettingsInput';
|
|
10
|
+
export * from './AccountSettingsLandingDto';
|
|
11
|
+
export * from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
12
|
+
export * from './AccountSettingsSidnDto';
|
|
10
13
|
export * from './AddressDto';
|
|
11
14
|
export * from './AdminAccountSettingsInput';
|
|
12
15
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
@@ -26,6 +29,7 @@ export * from './BuyerLeadListItemDomainDto';
|
|
|
26
29
|
export * from './BuyerLeadListItemDto';
|
|
27
30
|
export * from './BuyerSecurityUserDto';
|
|
28
31
|
export * from './ChangeOrderStatusInput';
|
|
32
|
+
export * from './ChangeSubscriptionStatusInput';
|
|
29
33
|
export * from './ChartDataPoint';
|
|
30
34
|
export * from './CompanyInformationDto';
|
|
31
35
|
export * from './CompanyTaxIdDto';
|
|
@@ -36,8 +40,10 @@ export * from './CreateLeadInput';
|
|
|
36
40
|
export * from './CreateLeadMessageInput';
|
|
37
41
|
export * from './CreateManualLeadInput';
|
|
38
42
|
export * from './CreateOrderInput';
|
|
43
|
+
export * from './CreateSubscriptionInput';
|
|
39
44
|
export * from './DeleteDomainsInput';
|
|
40
45
|
export * from './DomainDto';
|
|
46
|
+
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
41
47
|
export * from './DomainSellerDto';
|
|
42
48
|
export * from './DomainStats';
|
|
43
49
|
export * from './DomainTransferAgentDto';
|
|
@@ -64,6 +70,7 @@ export * from './GetAllDomainTransfers200Response';
|
|
|
64
70
|
export * from './GetAllInvoices200Response';
|
|
65
71
|
export * from './GetAllOrders200Response';
|
|
66
72
|
export * from './GetAllOwnedDomains200Response';
|
|
73
|
+
export * from './GetAllSubscriptions200Response';
|
|
67
74
|
export * from './GetBuyerLeads200Response';
|
|
68
75
|
export * from './GetBuyerTransfers200Response';
|
|
69
76
|
export * from './HttpException';
|
|
@@ -85,6 +92,9 @@ export * from './LeadDto';
|
|
|
85
92
|
export * from './LeadMessageData';
|
|
86
93
|
export * from './LeadMessageDto';
|
|
87
94
|
export * from './LeadStatusDto';
|
|
95
|
+
export * from './LeaseToOwnConfigurationDto';
|
|
96
|
+
export * from './LeaseToOwnConfigurationInput';
|
|
97
|
+
export * from './LeaseToOwnConfigurationPresetsDto';
|
|
88
98
|
export * from './List200Response';
|
|
89
99
|
export * from './List200Response1';
|
|
90
100
|
export * from './List200Response2';
|
|
@@ -133,6 +143,14 @@ export * from './SetDomainTransferConfirmationInput';
|
|
|
133
143
|
export * from './SetNewPasswordInput';
|
|
134
144
|
export * from './StoreBuyerLocaleInput';
|
|
135
145
|
export * from './StoreUserLocaleInput';
|
|
146
|
+
export * from './SubscriptionCompanyInfoDto';
|
|
147
|
+
export * from './SubscriptionCompanyTaxIdDto';
|
|
148
|
+
export * from './SubscriptionDomainDto';
|
|
149
|
+
export * from './SubscriptionDto';
|
|
150
|
+
export * from './SubscriptionListItemDto';
|
|
151
|
+
export * from './SubscriptionListItemDtoBuyerInformation';
|
|
152
|
+
export * from './SubscriptionListItemDtoDomainInformation';
|
|
153
|
+
export * from './SubscriptionListItemDtoSellerAccount';
|
|
136
154
|
export * from './TaskListDomainDto';
|
|
137
155
|
export * from './TaskListDomainTransferDto';
|
|
138
156
|
export * from './TaskListLeadDto';
|
|
@@ -142,6 +160,7 @@ export * from './UpdateDomainInput';
|
|
|
142
160
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
143
161
|
export * from './UpdateLeadInput';
|
|
144
162
|
export * from './UpdateOrderInput';
|
|
163
|
+
export * from './UpdateSubscriptionInput';
|
|
145
164
|
export * from './UserPasswordResetDto';
|
|
146
165
|
export * from './ValidationError';
|
|
147
166
|
export * from './ValidationException';
|