@randock/nameshift-api-client 0.0.474 → 0.0.476
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 +71 -1
- package/dist/apis/AdminApi.js +288 -0
- package/dist/apis/BuyersApi.d.ts +15 -1
- package/dist/apis/BuyersApi.js +58 -0
- package/dist/apis/CustomerSuccessApi.d.ts +57 -1
- package/dist/apis/CustomerSuccessApi.js +230 -0
- package/dist/models/AccountNoteAuthorDto.d.ts +50 -0
- package/dist/models/AccountNoteAuthorDto.js +63 -0
- package/dist/models/AccountNoteDto.d.ts +63 -0
- package/dist/models/AccountNoteDto.js +72 -0
- package/dist/models/AccountNoteListDto.d.ts +33 -0
- package/dist/models/AccountNoteListDto.js +52 -0
- package/dist/models/AdminListAccountDto.d.ts +12 -0
- package/dist/models/AdminListAccountDto.js +8 -0
- package/dist/models/BuyerSubscriptionListItemDto.d.ts +7 -0
- package/dist/models/BuyerSubscriptionListItemDto.js +5 -0
- package/dist/models/CompanyInformationDto.d.ts +2 -2
- package/dist/models/CreateAccountNoteInput.d.ts +32 -0
- package/dist/models/CreateAccountNoteInput.js +51 -0
- package/dist/models/CustomerSuccessListAccountDto.d.ts +12 -0
- package/dist/models/CustomerSuccessListAccountDto.js +8 -0
- package/dist/models/ForbiddenException.d.ts +44 -0
- package/dist/models/ForbiddenException.js +59 -0
- package/dist/models/SubscriptionDetailsDto.d.ts +7 -0
- package/dist/models/SubscriptionDetailsDto.js +5 -0
- package/dist/models/UpdateAccountNoteInput.d.ts +32 -0
- package/dist/models/UpdateAccountNoteInput.js +51 -0
- package/dist/models/UpdateSubscriptionBuyerInformationInput.d.ts +33 -0
- package/dist/models/UpdateSubscriptionBuyerInformationInput.js +52 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +3 -0
- package/src/apis/AdminApi.ts +295 -0
- package/src/apis/BuyersApi.ts +63 -0
- package/src/apis/CustomerSuccessApi.ts +238 -0
- package/src/apis/DomainsApi.ts +3 -0
- package/src/models/AccountNoteAuthorDto.ts +93 -0
- package/src/models/AccountNoteDto.ts +119 -0
- package/src/models/AccountNoteListDto.ts +74 -0
- package/src/models/AdminListAccountDto.ts +18 -0
- package/src/models/BuyerSubscriptionListItemDto.ts +16 -0
- package/src/models/CompanyInformationDto.ts +2 -2
- package/src/models/CreateAccountNoteInput.ts +66 -0
- package/src/models/CustomerSuccessListAccountDto.ts +18 -0
- package/src/models/ForbiddenException.ts +84 -0
- package/src/models/SubscriptionDetailsDto.ts +16 -0
- package/src/models/UpdateAccountNoteInput.ts +66 -0
- package/src/models/UpdateSubscriptionBuyerInformationInput.ts +74 -0
- package/src/models/index.ts +7 -0
|
@@ -34,11 +34,11 @@ export interface CompanyInformationDto {
|
|
|
34
34
|
*/
|
|
35
35
|
name: string;
|
|
36
36
|
/**
|
|
37
|
-
* Company tax identification details.
|
|
37
|
+
* Company tax identification details. A company is not required to have one.
|
|
38
38
|
* @type {CompanyTaxIdDto}
|
|
39
39
|
* @memberof CompanyInformationDto
|
|
40
40
|
*/
|
|
41
|
-
taxId: CompanyTaxIdDto;
|
|
41
|
+
taxId: CompanyTaxIdDto | null;
|
|
42
42
|
/**
|
|
43
43
|
* Optional company registration or chamber of commerce ID.
|
|
44
44
|
* @type {string}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 CreateAccountNoteInput
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateAccountNoteInput {
|
|
22
|
+
/**
|
|
23
|
+
* Note body as HTML. It is sanitized before being stored, so any tag outside the editor schema is dropped.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateAccountNoteInput
|
|
26
|
+
*/
|
|
27
|
+
body: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CreateAccountNoteInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfCreateAccountNoteInput(value: object): value is CreateAccountNoteInput {
|
|
34
|
+
if (!('body' in value) || value['body'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function CreateAccountNoteInputFromJSON(json: any): CreateAccountNoteInput {
|
|
39
|
+
return CreateAccountNoteInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function CreateAccountNoteInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAccountNoteInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'body': json['body'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CreateAccountNoteInputToJSON(json: any): CreateAccountNoteInput {
|
|
53
|
+
return CreateAccountNoteInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CreateAccountNoteInputToJSONTyped(value?: CreateAccountNoteInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'body': value['body'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -60,6 +60,18 @@ export interface CustomerSuccessListAccountDto {
|
|
|
60
60
|
* @memberof CustomerSuccessListAccountDto
|
|
61
61
|
*/
|
|
62
62
|
identifier: string;
|
|
63
|
+
/**
|
|
64
|
+
* Number of private notes written about the account.
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof CustomerSuccessListAccountDto
|
|
67
|
+
*/
|
|
68
|
+
notesNumber: number;
|
|
69
|
+
/**
|
|
70
|
+
* When any of the account notes was last written or edited. Null when there are none.
|
|
71
|
+
* @type {Date}
|
|
72
|
+
* @memberof CustomerSuccessListAccountDto
|
|
73
|
+
*/
|
|
74
|
+
notesLastUpdatedAt: Date | null;
|
|
63
75
|
/**
|
|
64
76
|
* Account creation date.
|
|
65
77
|
* @type {Date}
|
|
@@ -194,6 +206,8 @@ export type CustomerSuccessListAccountDtoPayoutProviderEnum = typeof CustomerSuc
|
|
|
194
206
|
export function instanceOfCustomerSuccessListAccountDto(value: object): value is CustomerSuccessListAccountDto {
|
|
195
207
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
196
208
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
209
|
+
if (!('notesNumber' in value) || value['notesNumber'] === undefined) return false;
|
|
210
|
+
if (!('notesLastUpdatedAt' in value) || value['notesLastUpdatedAt'] === undefined) return false;
|
|
197
211
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
198
212
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
199
213
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
@@ -225,6 +239,8 @@ export function CustomerSuccessListAccountDtoFromJSONTyped(json: any, ignoreDisc
|
|
|
225
239
|
|
|
226
240
|
'id': json['id'],
|
|
227
241
|
'identifier': json['identifier'],
|
|
242
|
+
'notesNumber': json['notesNumber'],
|
|
243
|
+
'notesLastUpdatedAt': (json['notesLastUpdatedAt'] == null ? null : new Date(json['notesLastUpdatedAt'])),
|
|
228
244
|
'createdAt': (new Date(json['createdAt'])),
|
|
229
245
|
'name': json['name'],
|
|
230
246
|
'type': json['type'],
|
|
@@ -257,6 +273,8 @@ export function CustomerSuccessListAccountDtoToJSONTyped(value?: CustomerSuccess
|
|
|
257
273
|
|
|
258
274
|
'id': value['id'],
|
|
259
275
|
'identifier': value['identifier'],
|
|
276
|
+
'notesNumber': value['notesNumber'],
|
|
277
|
+
'notesLastUpdatedAt': (value['notesLastUpdatedAt'] == null ? null : (value['notesLastUpdatedAt'] as any).toISOString()),
|
|
260
278
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
261
279
|
'name': value['name'],
|
|
262
280
|
'type': value['type'],
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 ForbiddenException
|
|
20
|
+
*/
|
|
21
|
+
export interface ForbiddenException {
|
|
22
|
+
/**
|
|
23
|
+
* Exception name.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ForbiddenException
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* HTTP status code.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ForbiddenException
|
|
32
|
+
*/
|
|
33
|
+
statusCode: number;
|
|
34
|
+
/**
|
|
35
|
+
* error message
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ForbiddenException
|
|
38
|
+
*/
|
|
39
|
+
message: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ForbiddenException interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfForbiddenException(value: object): value is ForbiddenException {
|
|
46
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
48
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ForbiddenExceptionFromJSON(json: any): ForbiddenException {
|
|
53
|
+
return ForbiddenExceptionFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ForbiddenExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForbiddenException {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'statusCode': json['statusCode'],
|
|
64
|
+
'message': json['message'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ForbiddenExceptionToJSON(json: any): ForbiddenException {
|
|
69
|
+
return ForbiddenExceptionToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ForbiddenExceptionToJSONTyped(value?: ForbiddenException | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'name': value['name'],
|
|
80
|
+
'statusCode': value['statusCode'],
|
|
81
|
+
'message': value['message'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -76,6 +76,13 @@ import {
|
|
|
76
76
|
SubscriptionDetailsDomainSellerDtoToJSON,
|
|
77
77
|
SubscriptionDetailsDomainSellerDtoToJSONTyped,
|
|
78
78
|
} from './SubscriptionDetailsDomainSellerDto';
|
|
79
|
+
import type { BillingInformationDto } from './BillingInformationDto';
|
|
80
|
+
import {
|
|
81
|
+
BillingInformationDtoFromJSON,
|
|
82
|
+
BillingInformationDtoFromJSONTyped,
|
|
83
|
+
BillingInformationDtoToJSON,
|
|
84
|
+
BillingInformationDtoToJSONTyped,
|
|
85
|
+
} from './BillingInformationDto';
|
|
79
86
|
|
|
80
87
|
/**
|
|
81
88
|
*
|
|
@@ -173,6 +180,12 @@ export interface SubscriptionDetailsDto {
|
|
|
173
180
|
* @memberof SubscriptionDetailsDto
|
|
174
181
|
*/
|
|
175
182
|
companyInfo: SubscriptionCompanyInfoDto | null;
|
|
183
|
+
/**
|
|
184
|
+
* Buyer billing information as stored on the subscription. It is the editable one, used to build the invoices of the upcoming renewals.
|
|
185
|
+
* @type {BillingInformationDto}
|
|
186
|
+
* @memberof SubscriptionDetailsDto
|
|
187
|
+
*/
|
|
188
|
+
buyerInformation: BillingInformationDto;
|
|
176
189
|
/**
|
|
177
190
|
* Subscribed domain.
|
|
178
191
|
* @type {SubscriptionDetailsDomainDto}
|
|
@@ -406,6 +419,7 @@ export function instanceOfSubscriptionDetailsDto(value: object): value is Subscr
|
|
|
406
419
|
if (!('address' in value) || value['address'] === undefined) return false;
|
|
407
420
|
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
408
421
|
if (!('companyInfo' in value) || value['companyInfo'] === undefined) return false;
|
|
422
|
+
if (!('buyerInformation' in value) || value['buyerInformation'] === undefined) return false;
|
|
409
423
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
410
424
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
411
425
|
if (!('installments' in value) || value['installments'] === undefined) return false;
|
|
@@ -457,6 +471,7 @@ export function SubscriptionDetailsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
457
471
|
'address': AddressDtoFromJSON(json['address']),
|
|
458
472
|
'locale': json['locale'],
|
|
459
473
|
'companyInfo': SubscriptionCompanyInfoDtoFromJSON(json['companyInfo']),
|
|
474
|
+
'buyerInformation': BillingInformationDtoFromJSON(json['buyerInformation']),
|
|
460
475
|
'domain': SubscriptionDetailsDomainDtoFromJSON(json['domain']),
|
|
461
476
|
'type': json['type'],
|
|
462
477
|
'installments': json['installments'],
|
|
@@ -509,6 +524,7 @@ export function SubscriptionDetailsDtoToJSONTyped(value?: SubscriptionDetailsDto
|
|
|
509
524
|
'address': AddressDtoToJSON(value['address']),
|
|
510
525
|
'locale': value['locale'],
|
|
511
526
|
'companyInfo': SubscriptionCompanyInfoDtoToJSON(value['companyInfo']),
|
|
527
|
+
'buyerInformation': BillingInformationDtoToJSON(value['buyerInformation']),
|
|
512
528
|
'domain': SubscriptionDetailsDomainDtoToJSON(value['domain']),
|
|
513
529
|
'type': value['type'],
|
|
514
530
|
'installments': value['installments'],
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 UpdateAccountNoteInput
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateAccountNoteInput {
|
|
22
|
+
/**
|
|
23
|
+
* New note body as HTML. It is sanitized before being stored.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateAccountNoteInput
|
|
26
|
+
*/
|
|
27
|
+
body: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateAccountNoteInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateAccountNoteInput(value: object): value is UpdateAccountNoteInput {
|
|
34
|
+
if (!('body' in value) || value['body'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function UpdateAccountNoteInputFromJSON(json: any): UpdateAccountNoteInput {
|
|
39
|
+
return UpdateAccountNoteInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function UpdateAccountNoteInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAccountNoteInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'body': json['body'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdateAccountNoteInputToJSON(json: any): UpdateAccountNoteInput {
|
|
53
|
+
return UpdateAccountNoteInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdateAccountNoteInputToJSONTyped(value?: UpdateAccountNoteInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'body': value['body'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 { BillingInformationDto } from './BillingInformationDto';
|
|
17
|
+
import {
|
|
18
|
+
BillingInformationDtoFromJSON,
|
|
19
|
+
BillingInformationDtoFromJSONTyped,
|
|
20
|
+
BillingInformationDtoToJSON,
|
|
21
|
+
BillingInformationDtoToJSONTyped,
|
|
22
|
+
} from './BillingInformationDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateSubscriptionBuyerInformationInput
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateSubscriptionBuyerInformationInput {
|
|
30
|
+
/**
|
|
31
|
+
* Billing information to store on the subscription. It is used to build the invoices of the upcoming renewals and does not modify the already issued ones.
|
|
32
|
+
* @type {BillingInformationDto}
|
|
33
|
+
* @memberof UpdateSubscriptionBuyerInformationInput
|
|
34
|
+
*/
|
|
35
|
+
billingInformation: BillingInformationDto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the UpdateSubscriptionBuyerInformationInput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfUpdateSubscriptionBuyerInformationInput(value: object): value is UpdateSubscriptionBuyerInformationInput {
|
|
42
|
+
if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function UpdateSubscriptionBuyerInformationInputFromJSON(json: any): UpdateSubscriptionBuyerInformationInput {
|
|
47
|
+
return UpdateSubscriptionBuyerInformationInputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function UpdateSubscriptionBuyerInformationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSubscriptionBuyerInformationInput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function UpdateSubscriptionBuyerInformationInputToJSON(json: any): UpdateSubscriptionBuyerInformationInput {
|
|
61
|
+
return UpdateSubscriptionBuyerInformationInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function UpdateSubscriptionBuyerInformationInputToJSONTyped(value?: UpdateSubscriptionBuyerInformationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -17,6 +17,9 @@ export * from './AccountNameshiftCommissionByTypeDto';
|
|
|
17
17
|
export * from './AccountNameshiftCommissionItemDto';
|
|
18
18
|
export * from './AccountNameshiftCommissionReasonDto';
|
|
19
19
|
export * from './AccountNameshiftCommissionSubtypeCurrentDto';
|
|
20
|
+
export * from './AccountNoteAuthorDto';
|
|
21
|
+
export * from './AccountNoteDto';
|
|
22
|
+
export * from './AccountNoteListDto';
|
|
20
23
|
export * from './AccountNotificationDto';
|
|
21
24
|
export * from './AccountNotificationReadStatusDto';
|
|
22
25
|
export * from './AccountOnboardingDto';
|
|
@@ -168,6 +171,7 @@ export * from './CommissionsStatsDto';
|
|
|
168
171
|
export * from './CompanyInformationDto';
|
|
169
172
|
export * from './CompanyTaxIdDto';
|
|
170
173
|
export * from './ConflictException';
|
|
174
|
+
export * from './CreateAccountNoteInput';
|
|
171
175
|
export * from './CreateAccountPaymentInput';
|
|
172
176
|
export * from './CreateAccountPaymentManualTransactionInput';
|
|
173
177
|
export * from './CreateApiKeyInput';
|
|
@@ -244,6 +248,7 @@ export * from './FixedCommissionPayloadDto';
|
|
|
244
248
|
export * from './FixedCommissionPayloadInput';
|
|
245
249
|
export * from './FixedCommissionPayloadSimulationInput';
|
|
246
250
|
export * from './FixedCommissionReasonPayloadDto';
|
|
251
|
+
export * from './ForbiddenException';
|
|
247
252
|
export * from './ForgotPasswordRequestInput';
|
|
248
253
|
export * from './GetAccountChallengeRewardUsagesListDto';
|
|
249
254
|
export * from './GetAccountNameshiftCommissionsResponseDto';
|
|
@@ -518,6 +523,7 @@ export * from './TranslateDomainSearchInput';
|
|
|
518
523
|
export * from './UkBankAccountDetails';
|
|
519
524
|
export * from './UpdateAccountBillingInformationInput';
|
|
520
525
|
export * from './UpdateAccountChallengeRewardBalanceInput';
|
|
526
|
+
export * from './UpdateAccountNoteInput';
|
|
521
527
|
export * from './UpdateApiKeyInput';
|
|
522
528
|
export * from './UpdateAuctionMuteStatusInput';
|
|
523
529
|
export * from './UpdateBuyerDomainTransferBuyerInfoInput';
|
|
@@ -536,6 +542,7 @@ export * from './UpdateMarketplaceInput';
|
|
|
536
542
|
export * from './UpdateOrderInput';
|
|
537
543
|
export * from './UpdateRentConfigurationDto';
|
|
538
544
|
export * from './UpdateSubscriptionBillingPeriodicityInput';
|
|
545
|
+
export * from './UpdateSubscriptionBuyerInformationInput';
|
|
539
546
|
export * from './UpdateSubscriptionDomainNameserversInput';
|
|
540
547
|
export * from './UpdateSubscriptionDomainRecordInput';
|
|
541
548
|
export * from './UpdateSubscriptionInput';
|