@randock/nameshift-api-client 0.0.182 → 0.0.184

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.
Files changed (82) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +9 -1
  4. package/dist/apis/AccountsApi.js +50 -0
  5. package/dist/apis/DomainsPublicApi.d.ts +1 -0
  6. package/dist/apis/DomainsPublicApi.js +3 -0
  7. package/dist/apis/SubscriptionsPublicApi.d.ts +52 -0
  8. package/dist/apis/SubscriptionsPublicApi.js +217 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/models/AccountSettingsDto.d.ts +21 -0
  12. package/dist/models/AccountSettingsDto.js +15 -0
  13. package/dist/models/AccountSettingsInput.d.ts +7 -0
  14. package/dist/models/AccountSettingsInput.js +3 -0
  15. package/dist/models/AccountSettingsLandingDto.d.ts +38 -0
  16. package/dist/models/AccountSettingsLandingDto.js +55 -0
  17. package/dist/models/AccountSettingsLeaseToOwnConfigurationDto.d.ts +51 -0
  18. package/dist/models/AccountSettingsLeaseToOwnConfigurationDto.js +64 -0
  19. package/dist/models/AccountSettingsSidnDto.d.ts +32 -0
  20. package/dist/models/AccountSettingsSidnDto.js +51 -0
  21. package/dist/models/CreateSubscriptionInput.d.ts +132 -0
  22. package/dist/models/CreateSubscriptionInput.js +102 -0
  23. package/dist/models/DomainDto.d.ts +7 -0
  24. package/dist/models/DomainDto.js +5 -0
  25. package/dist/models/DomainSalesInformationLeaseToOwnConfigurationDto.d.ts +57 -0
  26. package/dist/models/DomainSalesInformationLeaseToOwnConfigurationDto.js +68 -0
  27. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  28. package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
  29. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  30. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  31. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +7 -0
  32. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +5 -0
  33. package/dist/models/LeaseToOwnConfigurationDto.d.ts +51 -0
  34. package/dist/models/LeaseToOwnConfigurationDto.js +64 -0
  35. package/dist/models/LeaseToOwnConfigurationInput.d.ts +44 -0
  36. package/dist/models/LeaseToOwnConfigurationInput.js +53 -0
  37. package/dist/models/LeaseToOwnConfigurationPresetsDto.d.ts +44 -0
  38. package/dist/models/LeaseToOwnConfigurationPresetsDto.js +59 -0
  39. package/dist/models/SubscriptionCompanyInfoDto.d.ts +39 -0
  40. package/dist/models/SubscriptionCompanyInfoDto.js +56 -0
  41. package/dist/models/SubscriptionCompanyTaxIdDto.d.ts +44 -0
  42. package/dist/models/SubscriptionCompanyTaxIdDto.js +59 -0
  43. package/dist/models/SubscriptionDomainDto.d.ts +38 -0
  44. package/dist/models/SubscriptionDomainDto.js +55 -0
  45. package/dist/models/SubscriptionDto.d.ts +165 -0
  46. package/dist/models/SubscriptionDto.js +148 -0
  47. package/dist/models/UpdateDomainInput.d.ts +7 -0
  48. package/dist/models/UpdateDomainInput.js +3 -0
  49. package/dist/models/UpdateSubscriptionInput.d.ts +112 -0
  50. package/dist/models/UpdateSubscriptionInput.js +81 -0
  51. package/dist/models/WithSettingsInner.d.ts +7 -0
  52. package/dist/models/WithSettingsInner.js +5 -0
  53. package/dist/models/index.d.ts +13 -0
  54. package/dist/models/index.js +13 -0
  55. package/package.json +1 -1
  56. package/src/apis/AccountsApi.ts +37 -0
  57. package/src/apis/DomainsApi.ts +3 -0
  58. package/src/apis/DomainsPublicApi.ts +5 -0
  59. package/src/apis/SubscriptionsPublicApi.ts +175 -0
  60. package/src/apis/index.ts +1 -0
  61. package/src/models/AccountSettingsDto.ts +48 -0
  62. package/src/models/AccountSettingsInput.ts +15 -0
  63. package/src/models/AccountSettingsLandingDto.ts +75 -0
  64. package/src/models/AccountSettingsLeaseToOwnConfigurationDto.ts +101 -0
  65. package/src/models/AccountSettingsSidnDto.ts +66 -0
  66. package/src/models/CreateSubscriptionInput.ts +209 -0
  67. package/src/models/DomainDto.ts +16 -0
  68. package/src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts +110 -0
  69. package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
  70. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  71. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +16 -0
  72. package/src/models/LeaseToOwnConfigurationDto.ts +101 -0
  73. package/src/models/LeaseToOwnConfigurationInput.ts +81 -0
  74. package/src/models/LeaseToOwnConfigurationPresetsDto.ts +84 -0
  75. package/src/models/SubscriptionCompanyInfoDto.ts +83 -0
  76. package/src/models/SubscriptionCompanyTaxIdDto.ts +84 -0
  77. package/src/models/SubscriptionDomainDto.ts +75 -0
  78. package/src/models/SubscriptionDto.ts +292 -0
  79. package/src/models/UpdateDomainInput.ts +15 -0
  80. package/src/models/UpdateSubscriptionInput.ts +179 -0
  81. package/src/models/WithSettingsInner.ts +16 -0
  82. package/src/models/index.ts +13 -0
@@ -0,0 +1,292 @@
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 { InvoiceItemDto } from './InvoiceItemDto';
17
+ import {
18
+ InvoiceItemDtoFromJSON,
19
+ InvoiceItemDtoFromJSONTyped,
20
+ InvoiceItemDtoToJSON,
21
+ InvoiceItemDtoToJSONTyped,
22
+ } from './InvoiceItemDto';
23
+ import type { InvoiceTransactionDto } from './InvoiceTransactionDto';
24
+ import {
25
+ InvoiceTransactionDtoFromJSON,
26
+ InvoiceTransactionDtoFromJSONTyped,
27
+ InvoiceTransactionDtoToJSON,
28
+ InvoiceTransactionDtoToJSONTyped,
29
+ } from './InvoiceTransactionDto';
30
+ import type { MoneyDto } from './MoneyDto';
31
+ import {
32
+ MoneyDtoFromJSON,
33
+ MoneyDtoFromJSONTyped,
34
+ MoneyDtoToJSON,
35
+ MoneyDtoToJSONTyped,
36
+ } from './MoneyDto';
37
+ import type { SubscriptionDomainDto } from './SubscriptionDomainDto';
38
+ import {
39
+ SubscriptionDomainDtoFromJSON,
40
+ SubscriptionDomainDtoFromJSONTyped,
41
+ SubscriptionDomainDtoToJSON,
42
+ SubscriptionDomainDtoToJSONTyped,
43
+ } from './SubscriptionDomainDto';
44
+ import type { SubscriptionCompanyInfoDto } from './SubscriptionCompanyInfoDto';
45
+ import {
46
+ SubscriptionCompanyInfoDtoFromJSON,
47
+ SubscriptionCompanyInfoDtoFromJSONTyped,
48
+ SubscriptionCompanyInfoDtoToJSON,
49
+ SubscriptionCompanyInfoDtoToJSONTyped,
50
+ } from './SubscriptionCompanyInfoDto';
51
+ import type { AddressDto } from './AddressDto';
52
+ import {
53
+ AddressDtoFromJSON,
54
+ AddressDtoFromJSONTyped,
55
+ AddressDtoToJSON,
56
+ AddressDtoToJSONTyped,
57
+ } from './AddressDto';
58
+
59
+ /**
60
+ *
61
+ * @export
62
+ * @interface SubscriptionDto
63
+ */
64
+ export interface SubscriptionDto {
65
+ /**
66
+ * The uuid for this subscription.
67
+ * @type {string}
68
+ * @memberof SubscriptionDto
69
+ */
70
+ id: string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof SubscriptionDto
75
+ */
76
+ status: SubscriptionDtoStatusEnum;
77
+ /**
78
+ *
79
+ * @type {MoneyDto}
80
+ * @memberof SubscriptionDto
81
+ */
82
+ basePrice: MoneyDto;
83
+ /**
84
+ *
85
+ * @type {MoneyDto}
86
+ * @memberof SubscriptionDto
87
+ */
88
+ recurringPrice: MoneyDto;
89
+ /**
90
+ *
91
+ * @type {MoneyDto}
92
+ * @memberof SubscriptionDto
93
+ */
94
+ totalPrice: MoneyDto;
95
+ /**
96
+ *
97
+ * @type {Array<InvoiceItemDto>}
98
+ * @memberof SubscriptionDto
99
+ */
100
+ items: Array<InvoiceItemDto>;
101
+ /**
102
+ *
103
+ * @type {string}
104
+ * @memberof SubscriptionDto
105
+ */
106
+ firstName: string;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof SubscriptionDto
111
+ */
112
+ lastName: string;
113
+ /**
114
+ *
115
+ * @type {string}
116
+ * @memberof SubscriptionDto
117
+ */
118
+ email: string;
119
+ /**
120
+ *
121
+ * @type {string}
122
+ * @memberof SubscriptionDto
123
+ */
124
+ phone: string | null;
125
+ /**
126
+ *
127
+ * @type {AddressDto}
128
+ * @memberof SubscriptionDto
129
+ */
130
+ address: AddressDto | null;
131
+ /**
132
+ *
133
+ * @type {string}
134
+ * @memberof SubscriptionDto
135
+ */
136
+ locale: string;
137
+ /**
138
+ *
139
+ * @type {SubscriptionCompanyInfoDto}
140
+ * @memberof SubscriptionDto
141
+ */
142
+ companyInfo: SubscriptionCompanyInfoDto | null;
143
+ /**
144
+ *
145
+ * @type {InvoiceTransactionDto}
146
+ * @memberof SubscriptionDto
147
+ */
148
+ transaction: InvoiceTransactionDto;
149
+ /**
150
+ *
151
+ * @type {SubscriptionDomainDto}
152
+ * @memberof SubscriptionDto
153
+ */
154
+ domain: SubscriptionDomainDto;
155
+ /**
156
+ *
157
+ * @type {string}
158
+ * @memberof SubscriptionDto
159
+ */
160
+ type: SubscriptionDtoTypeEnum;
161
+ /**
162
+ *
163
+ * @type {number}
164
+ * @memberof SubscriptionDto
165
+ */
166
+ periodicity: number;
167
+ /**
168
+ *
169
+ * @type {string}
170
+ * @memberof SubscriptionDto
171
+ */
172
+ periodicityUnit: SubscriptionDtoPeriodicityUnitEnum;
173
+ }
174
+
175
+
176
+ /**
177
+ * @export
178
+ */
179
+ export const SubscriptionDtoStatusEnum = {
180
+ DRAFT: 'draft',
181
+ ACTIVE: 'active',
182
+ PAUSED: 'paused',
183
+ CANCELLED: 'cancelled'
184
+ } as const;
185
+ export type SubscriptionDtoStatusEnum = typeof SubscriptionDtoStatusEnum[keyof typeof SubscriptionDtoStatusEnum];
186
+
187
+ /**
188
+ * @export
189
+ */
190
+ export const SubscriptionDtoTypeEnum = {
191
+ RENT: 'rent',
192
+ LEASE_TO_OWN: 'lease_to_own'
193
+ } as const;
194
+ export type SubscriptionDtoTypeEnum = typeof SubscriptionDtoTypeEnum[keyof typeof SubscriptionDtoTypeEnum];
195
+
196
+ /**
197
+ * @export
198
+ */
199
+ export const SubscriptionDtoPeriodicityUnitEnum = {
200
+ MONTH: 'month'
201
+ } as const;
202
+ export type SubscriptionDtoPeriodicityUnitEnum = typeof SubscriptionDtoPeriodicityUnitEnum[keyof typeof SubscriptionDtoPeriodicityUnitEnum];
203
+
204
+
205
+ /**
206
+ * Check if a given object implements the SubscriptionDto interface.
207
+ */
208
+ export function instanceOfSubscriptionDto(value: object): value is SubscriptionDto {
209
+ if (!('id' in value) || value['id'] === undefined) return false;
210
+ if (!('status' in value) || value['status'] === undefined) return false;
211
+ if (!('basePrice' in value) || value['basePrice'] === undefined) return false;
212
+ if (!('recurringPrice' in value) || value['recurringPrice'] === undefined) return false;
213
+ if (!('totalPrice' in value) || value['totalPrice'] === undefined) return false;
214
+ if (!('items' in value) || value['items'] === undefined) return false;
215
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
216
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
217
+ if (!('email' in value) || value['email'] === undefined) return false;
218
+ if (!('phone' in value) || value['phone'] === undefined) return false;
219
+ if (!('address' in value) || value['address'] === undefined) return false;
220
+ if (!('locale' in value) || value['locale'] === undefined) return false;
221
+ if (!('companyInfo' in value) || value['companyInfo'] === undefined) return false;
222
+ if (!('transaction' in value) || value['transaction'] === undefined) return false;
223
+ if (!('domain' in value) || value['domain'] === undefined) return false;
224
+ if (!('type' in value) || value['type'] === undefined) return false;
225
+ if (!('periodicity' in value) || value['periodicity'] === undefined) return false;
226
+ if (!('periodicityUnit' in value) || value['periodicityUnit'] === undefined) return false;
227
+ return true;
228
+ }
229
+
230
+ export function SubscriptionDtoFromJSON(json: any): SubscriptionDto {
231
+ return SubscriptionDtoFromJSONTyped(json, false);
232
+ }
233
+
234
+ export function SubscriptionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionDto {
235
+ if (json == null) {
236
+ return json;
237
+ }
238
+ return {
239
+
240
+ 'id': json['id'],
241
+ 'status': json['status'],
242
+ 'basePrice': MoneyDtoFromJSON(json['basePrice']),
243
+ 'recurringPrice': MoneyDtoFromJSON(json['recurringPrice']),
244
+ 'totalPrice': MoneyDtoFromJSON(json['totalPrice']),
245
+ 'items': ((json['items'] as Array<any>).map(InvoiceItemDtoFromJSON)),
246
+ 'firstName': json['firstName'],
247
+ 'lastName': json['lastName'],
248
+ 'email': json['email'],
249
+ 'phone': json['phone'],
250
+ 'address': AddressDtoFromJSON(json['address']),
251
+ 'locale': json['locale'],
252
+ 'companyInfo': SubscriptionCompanyInfoDtoFromJSON(json['companyInfo']),
253
+ 'transaction': InvoiceTransactionDtoFromJSON(json['transaction']),
254
+ 'domain': SubscriptionDomainDtoFromJSON(json['domain']),
255
+ 'type': json['type'],
256
+ 'periodicity': json['periodicity'],
257
+ 'periodicityUnit': json['periodicityUnit'],
258
+ };
259
+ }
260
+
261
+ export function SubscriptionDtoToJSON(json: any): SubscriptionDto {
262
+ return SubscriptionDtoToJSONTyped(json, false);
263
+ }
264
+
265
+ export function SubscriptionDtoToJSONTyped(value?: SubscriptionDto | null, ignoreDiscriminator: boolean = false): any {
266
+ if (value == null) {
267
+ return value;
268
+ }
269
+
270
+ return {
271
+
272
+ 'id': value['id'],
273
+ 'status': value['status'],
274
+ 'basePrice': MoneyDtoToJSON(value['basePrice']),
275
+ 'recurringPrice': MoneyDtoToJSON(value['recurringPrice']),
276
+ 'totalPrice': MoneyDtoToJSON(value['totalPrice']),
277
+ 'items': ((value['items'] as Array<any>).map(InvoiceItemDtoToJSON)),
278
+ 'firstName': value['firstName'],
279
+ 'lastName': value['lastName'],
280
+ 'email': value['email'],
281
+ 'phone': value['phone'],
282
+ 'address': AddressDtoToJSON(value['address']),
283
+ 'locale': value['locale'],
284
+ 'companyInfo': SubscriptionCompanyInfoDtoToJSON(value['companyInfo']),
285
+ 'transaction': InvoiceTransactionDtoToJSON(value['transaction']),
286
+ 'domain': SubscriptionDomainDtoToJSON(value['domain']),
287
+ 'type': value['type'],
288
+ 'periodicity': value['periodicity'],
289
+ 'periodicityUnit': value['periodicityUnit'],
290
+ };
291
+ }
292
+
@@ -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
 
@@ -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';
@@ -36,8 +39,10 @@ export * from './CreateLeadInput';
36
39
  export * from './CreateLeadMessageInput';
37
40
  export * from './CreateManualLeadInput';
38
41
  export * from './CreateOrderInput';
42
+ export * from './CreateSubscriptionInput';
39
43
  export * from './DeleteDomainsInput';
40
44
  export * from './DomainDto';
45
+ export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
41
46
  export * from './DomainSellerDto';
42
47
  export * from './DomainStats';
43
48
  export * from './DomainTransferAgentDto';
@@ -85,6 +90,9 @@ export * from './LeadDto';
85
90
  export * from './LeadMessageData';
86
91
  export * from './LeadMessageDto';
87
92
  export * from './LeadStatusDto';
93
+ export * from './LeaseToOwnConfigurationDto';
94
+ export * from './LeaseToOwnConfigurationInput';
95
+ export * from './LeaseToOwnConfigurationPresetsDto';
88
96
  export * from './List200Response';
89
97
  export * from './List200Response1';
90
98
  export * from './List200Response2';
@@ -133,6 +141,10 @@ export * from './SetDomainTransferConfirmationInput';
133
141
  export * from './SetNewPasswordInput';
134
142
  export * from './StoreBuyerLocaleInput';
135
143
  export * from './StoreUserLocaleInput';
144
+ export * from './SubscriptionCompanyInfoDto';
145
+ export * from './SubscriptionCompanyTaxIdDto';
146
+ export * from './SubscriptionDomainDto';
147
+ export * from './SubscriptionDto';
136
148
  export * from './TaskListDomainDto';
137
149
  export * from './TaskListDomainTransferDto';
138
150
  export * from './TaskListLeadDto';
@@ -142,6 +154,7 @@ export * from './UpdateDomainInput';
142
154
  export * from './UpdateDomainTransferAuthCodeInput';
143
155
  export * from './UpdateLeadInput';
144
156
  export * from './UpdateOrderInput';
157
+ export * from './UpdateSubscriptionInput';
145
158
  export * from './UserPasswordResetDto';
146
159
  export * from './ValidationError';
147
160
  export * from './ValidationException';