@randock/nameshift-api-client 0.0.91 → 0.0.93

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 (62) hide show
  1. package/.openapi-generator/FILES +5 -6
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +10 -11
  4. package/dist/apis/AccountsApi.js +27 -30
  5. package/dist/apis/StripePublicApi.d.ts +28 -0
  6. package/dist/apis/StripePublicApi.js +124 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/AccountDto.d.ts +7 -0
  10. package/dist/models/AccountDto.js +5 -0
  11. package/dist/models/AccountPaymentProviderSessionDto.d.ts +31 -0
  12. package/dist/models/AccountPaymentProviderSessionDto.js +46 -0
  13. package/dist/models/BuyerLeadListItemDto.d.ts +6 -0
  14. package/dist/models/BuyerLeadListItemDto.js +4 -0
  15. package/dist/models/CreateAccountPaymentProviderInput.d.ts +31 -0
  16. package/dist/models/CreateAccountPaymentProviderInput.js +46 -0
  17. package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +69 -0
  18. package/dist/models/{IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js → IntersectionAccountDtoWithSettingsDto.js} +14 -19
  19. package/dist/models/PaymentProviderDto.d.ts +45 -0
  20. package/dist/models/PaymentProviderDto.js +58 -0
  21. package/dist/models/index.d.ts +4 -6
  22. package/dist/models/index.js +4 -6
  23. package/package.json +1 -1
  24. package/src/apis/AccountsApi.ts +44 -54
  25. package/src/apis/AccountsPublicApi.ts +0 -3
  26. package/src/apis/AdminApi.ts +0 -3
  27. package/src/apis/BuyersApi.ts +0 -3
  28. package/src/apis/BuyersPublicApi.ts +0 -3
  29. package/src/apis/DashboardApi.ts +0 -3
  30. package/src/apis/DomainsApi.ts +0 -3
  31. package/src/apis/DomainsPublicApi.ts +0 -3
  32. package/src/apis/LeadsApi.ts +0 -3
  33. package/src/apis/LeadsPublicApi.ts +0 -3
  34. package/src/apis/OrdersPublicApi.ts +0 -3
  35. package/src/apis/StripePublicApi.ts +70 -0
  36. package/src/apis/UsersApi.ts +0 -3
  37. package/src/apis/UsersPublicApi.ts +0 -3
  38. package/src/apis/index.ts +1 -0
  39. package/src/models/AccountDto.ts +16 -0
  40. package/src/models/AccountPaymentProviderSessionDto.ts +61 -0
  41. package/src/models/BuyerLeadListItemDto.ts +9 -0
  42. package/src/models/CreateAccountPaymentProviderInput.ts +61 -0
  43. package/src/models/IntersectionAccountDtoWithSettingsDto.ts +128 -0
  44. package/src/models/PaymentProviderDto.ts +81 -0
  45. package/src/models/index.ts +4 -6
  46. package/dist/models/AccountAddressDto.d.ts +0 -68
  47. package/dist/models/AccountAddressDto.js +0 -71
  48. package/dist/models/AccountAddressInput.d.ts +0 -68
  49. package/dist/models/AccountAddressInput.js +0 -71
  50. package/dist/models/AccountFinancialInput.d.ts +0 -49
  51. package/dist/models/AccountFinancialInput.js +0 -58
  52. package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts +0 -76
  53. package/dist/models/ThrottlerException.d.ts +0 -43
  54. package/dist/models/ThrottlerException.js +0 -54
  55. package/dist/models/WithFinancialDtoInner.d.ts +0 -49
  56. package/dist/models/WithFinancialDtoInner.js +0 -58
  57. package/src/models/AccountAddressDto.ts +0 -115
  58. package/src/models/AccountAddressInput.ts +0 -115
  59. package/src/models/AccountFinancialInput.ts +0 -88
  60. package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +0 -143
  61. package/src/models/ThrottlerException.ts +0 -79
  62. package/src/models/WithFinancialDtoInner.ts +0 -88
@@ -1,9 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export * from './AccountAddressDto';
4
- export * from './AccountAddressInput';
5
3
  export * from './AccountDto';
6
- export * from './AccountFinancialInput';
4
+ export * from './AccountPaymentProviderSessionDto';
7
5
  export * from './AccountSettingsInput';
8
6
  export * from './AdminGetAllDomainTransfers200Response';
9
7
  export * from './BadRequestException';
@@ -19,6 +17,7 @@ export * from './BuyerUserDto';
19
17
  export * from './ChangeOrderStatusInput';
20
18
  export * from './ChartDataPoint';
21
19
  export * from './ConflictException';
20
+ export * from './CreateAccountPaymentProviderInput';
22
21
  export * from './CreateBuyerLeadMessageInput';
23
22
  export * from './CreateLeadInput';
24
23
  export * from './CreateLeadMessageInput';
@@ -48,7 +47,7 @@ export * from './GetAllOrders200Response';
48
47
  export * from './GetBuyerLeads200Response';
49
48
  export * from './GetBuyerTransfers200Response';
50
49
  export * from './HttpException';
51
- export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
50
+ export * from './IntersectionAccountDtoWithSettingsDto';
52
51
  export * from './IntersectionDomainDtoWithAccountDto';
53
52
  export * from './IntersectionDomainDtoWithDomainUrlDto';
54
53
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
@@ -78,6 +77,7 @@ export * from './OrderListItemDtoSellerAccount';
78
77
  export * from './PaginateResponse';
79
78
  export * from './PaginateResponseLinks';
80
79
  export * from './PaginateResponseMeta';
80
+ export * from './PaymentProviderDto';
81
81
  export * from './PublicLeadBuyerDto';
82
82
  export * from './PublicLeadDto';
83
83
  export * from './PutBuyerLeadOfferInput';
@@ -95,7 +95,6 @@ export * from './SetDomainTransferConfirmationInput';
95
95
  export * from './SetNewPasswordInput';
96
96
  export * from './StoreBuyerLocaleInput';
97
97
  export * from './StoreUserLocaleInput';
98
- export * from './ThrottlerException';
99
98
  export * from './UpdateDomainInput';
100
99
  export * from './UpdateDomainTransferAuthCodeInput';
101
100
  export * from './UpdateLeadInput';
@@ -104,5 +103,4 @@ export * from './UserPasswordResetDto';
104
103
  export * from './ValidationError';
105
104
  export * from './ValidationException';
106
105
  export * from './VerifyLeadInput';
107
- export * from './WithFinancialDtoInner';
108
106
  export * from './WithSettingsInner';
@@ -1,68 +0,0 @@
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 AccountAddressDto
16
- */
17
- export interface AccountAddressDto {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AccountAddressDto
22
- */
23
- type: AccountAddressDtoTypeEnum;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AccountAddressDto
28
- */
29
- address: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AccountAddressDto
34
- */
35
- postalCode: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof AccountAddressDto
40
- */
41
- city: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof AccountAddressDto
46
- */
47
- state?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof AccountAddressDto
52
- */
53
- country: string;
54
- }
55
- /**
56
- * @export
57
- */
58
- export declare const AccountAddressDtoTypeEnum: {
59
- readonly BILLING: "billing";
60
- };
61
- export type AccountAddressDtoTypeEnum = typeof AccountAddressDtoTypeEnum[keyof typeof AccountAddressDtoTypeEnum];
62
- /**
63
- * Check if a given object implements the AccountAddressDto interface.
64
- */
65
- export declare function instanceOfAccountAddressDto(value: object): value is AccountAddressDto;
66
- export declare function AccountAddressDtoFromJSON(json: any): AccountAddressDto;
67
- export declare function AccountAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressDto;
68
- export declare function AccountAddressDtoToJSON(value?: AccountAddressDto | null): any;
@@ -1,71 +0,0 @@
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.AccountAddressDtoTypeEnum = void 0;
17
- exports.instanceOfAccountAddressDto = instanceOfAccountAddressDto;
18
- exports.AccountAddressDtoFromJSON = AccountAddressDtoFromJSON;
19
- exports.AccountAddressDtoFromJSONTyped = AccountAddressDtoFromJSONTyped;
20
- exports.AccountAddressDtoToJSON = AccountAddressDtoToJSON;
21
- /**
22
- * @export
23
- */
24
- exports.AccountAddressDtoTypeEnum = {
25
- BILLING: 'billing'
26
- };
27
- /**
28
- * Check if a given object implements the AccountAddressDto interface.
29
- */
30
- function instanceOfAccountAddressDto(value) {
31
- if (!('type' in value) || value['type'] === undefined)
32
- return false;
33
- if (!('address' in value) || value['address'] === undefined)
34
- return false;
35
- if (!('postalCode' in value) || value['postalCode'] === undefined)
36
- return false;
37
- if (!('city' in value) || value['city'] === undefined)
38
- return false;
39
- if (!('country' in value) || value['country'] === undefined)
40
- return false;
41
- return true;
42
- }
43
- function AccountAddressDtoFromJSON(json) {
44
- return AccountAddressDtoFromJSONTyped(json, false);
45
- }
46
- function AccountAddressDtoFromJSONTyped(json, ignoreDiscriminator) {
47
- if (json == null) {
48
- return json;
49
- }
50
- return {
51
- 'type': json['type'],
52
- 'address': json['address'],
53
- 'postalCode': json['postalCode'],
54
- 'city': json['city'],
55
- 'state': json['state'] == null ? undefined : json['state'],
56
- 'country': json['country'],
57
- };
58
- }
59
- function AccountAddressDtoToJSON(value) {
60
- if (value == null) {
61
- return value;
62
- }
63
- return {
64
- 'type': value['type'],
65
- 'address': value['address'],
66
- 'postalCode': value['postalCode'],
67
- 'city': value['city'],
68
- 'state': value['state'],
69
- 'country': value['country'],
70
- };
71
- }
@@ -1,68 +0,0 @@
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 AccountAddressInput
16
- */
17
- export interface AccountAddressInput {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AccountAddressInput
22
- */
23
- type: AccountAddressInputTypeEnum;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AccountAddressInput
28
- */
29
- address: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AccountAddressInput
34
- */
35
- postalCode: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof AccountAddressInput
40
- */
41
- city: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof AccountAddressInput
46
- */
47
- state?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof AccountAddressInput
52
- */
53
- country: string;
54
- }
55
- /**
56
- * @export
57
- */
58
- export declare const AccountAddressInputTypeEnum: {
59
- readonly BILLING: "billing";
60
- };
61
- export type AccountAddressInputTypeEnum = typeof AccountAddressInputTypeEnum[keyof typeof AccountAddressInputTypeEnum];
62
- /**
63
- * Check if a given object implements the AccountAddressInput interface.
64
- */
65
- export declare function instanceOfAccountAddressInput(value: object): value is AccountAddressInput;
66
- export declare function AccountAddressInputFromJSON(json: any): AccountAddressInput;
67
- export declare function AccountAddressInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressInput;
68
- export declare function AccountAddressInputToJSON(value?: AccountAddressInput | null): any;
@@ -1,71 +0,0 @@
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.AccountAddressInputTypeEnum = void 0;
17
- exports.instanceOfAccountAddressInput = instanceOfAccountAddressInput;
18
- exports.AccountAddressInputFromJSON = AccountAddressInputFromJSON;
19
- exports.AccountAddressInputFromJSONTyped = AccountAddressInputFromJSONTyped;
20
- exports.AccountAddressInputToJSON = AccountAddressInputToJSON;
21
- /**
22
- * @export
23
- */
24
- exports.AccountAddressInputTypeEnum = {
25
- BILLING: 'billing'
26
- };
27
- /**
28
- * Check if a given object implements the AccountAddressInput interface.
29
- */
30
- function instanceOfAccountAddressInput(value) {
31
- if (!('type' in value) || value['type'] === undefined)
32
- return false;
33
- if (!('address' in value) || value['address'] === undefined)
34
- return false;
35
- if (!('postalCode' in value) || value['postalCode'] === undefined)
36
- return false;
37
- if (!('city' in value) || value['city'] === undefined)
38
- return false;
39
- if (!('country' in value) || value['country'] === undefined)
40
- return false;
41
- return true;
42
- }
43
- function AccountAddressInputFromJSON(json) {
44
- return AccountAddressInputFromJSONTyped(json, false);
45
- }
46
- function AccountAddressInputFromJSONTyped(json, ignoreDiscriminator) {
47
- if (json == null) {
48
- return json;
49
- }
50
- return {
51
- 'type': json['type'],
52
- 'address': json['address'],
53
- 'postalCode': json['postalCode'],
54
- 'city': json['city'],
55
- 'state': json['state'] == null ? undefined : json['state'],
56
- 'country': json['country'],
57
- };
58
- }
59
- function AccountAddressInputToJSON(value) {
60
- if (value == null) {
61
- return value;
62
- }
63
- return {
64
- 'type': value['type'],
65
- 'address': value['address'],
66
- 'postalCode': value['postalCode'],
67
- 'city': value['city'],
68
- 'state': value['state'],
69
- 'country': value['country'],
70
- };
71
- }
@@ -1,49 +0,0 @@
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 AccountFinancialInput
16
- */
17
- export interface AccountFinancialInput {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AccountFinancialInput
22
- */
23
- companyName: string | null;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AccountFinancialInput
28
- */
29
- companyVatNumber: string | null;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AccountFinancialInput
34
- */
35
- companyRegistrationNumber: string | null;
36
- /**
37
- *
38
- * @type {boolean}
39
- * @memberof AccountFinancialInput
40
- */
41
- company: boolean;
42
- }
43
- /**
44
- * Check if a given object implements the AccountFinancialInput interface.
45
- */
46
- export declare function instanceOfAccountFinancialInput(value: object): value is AccountFinancialInput;
47
- export declare function AccountFinancialInputFromJSON(json: any): AccountFinancialInput;
48
- export declare function AccountFinancialInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountFinancialInput;
49
- export declare function AccountFinancialInputToJSON(value?: AccountFinancialInput | null): any;
@@ -1,58 +0,0 @@
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.instanceOfAccountFinancialInput = instanceOfAccountFinancialInput;
17
- exports.AccountFinancialInputFromJSON = AccountFinancialInputFromJSON;
18
- exports.AccountFinancialInputFromJSONTyped = AccountFinancialInputFromJSONTyped;
19
- exports.AccountFinancialInputToJSON = AccountFinancialInputToJSON;
20
- /**
21
- * Check if a given object implements the AccountFinancialInput interface.
22
- */
23
- function instanceOfAccountFinancialInput(value) {
24
- if (!('companyName' in value) || value['companyName'] === undefined)
25
- return false;
26
- if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined)
27
- return false;
28
- if (!('companyRegistrationNumber' in value) || value['companyRegistrationNumber'] === undefined)
29
- return false;
30
- if (!('company' in value) || value['company'] === undefined)
31
- return false;
32
- return true;
33
- }
34
- function AccountFinancialInputFromJSON(json) {
35
- return AccountFinancialInputFromJSONTyped(json, false);
36
- }
37
- function AccountFinancialInputFromJSONTyped(json, ignoreDiscriminator) {
38
- if (json == null) {
39
- return json;
40
- }
41
- return {
42
- 'companyName': json['companyName'],
43
- 'companyVatNumber': json['companyVatNumber'],
44
- 'companyRegistrationNumber': json['companyRegistrationNumber'],
45
- 'company': json['company'],
46
- };
47
- }
48
- function AccountFinancialInputToJSON(value) {
49
- if (value == null) {
50
- return value;
51
- }
52
- return {
53
- 'companyName': value['companyName'],
54
- 'companyVatNumber': value['companyVatNumber'],
55
- 'companyRegistrationNumber': value['companyRegistrationNumber'],
56
- 'company': value['company'],
57
- };
58
- }
@@ -1,76 +0,0 @@
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 { WithSettingsInner } from './WithSettingsInner';
13
- import type { WithFinancialDtoInner } from './WithFinancialDtoInner';
14
- import type { AccountAddressDto } from './AccountAddressDto';
15
- /**
16
- *
17
- * @export
18
- * @interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
19
- */
20
- export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
25
- */
26
- id: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
31
- */
32
- identifier: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
37
- */
38
- name: string;
39
- /**
40
- *
41
- * @type {number}
42
- * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
43
- */
44
- activeDomainTransfersNumber: number;
45
- /**
46
- *
47
- * @type {number}
48
- * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
49
- */
50
- activeLeadsNumber: number;
51
- /**
52
- *
53
- * @type {WithFinancialDtoInner}
54
- * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
55
- */
56
- financial: WithFinancialDtoInner;
57
- /**
58
- *
59
- * @type {WithSettingsInner}
60
- * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
61
- */
62
- settings: WithSettingsInner;
63
- /**
64
- *
65
- * @type {Array<AccountAddressDto>}
66
- * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
67
- */
68
- addresses: Array<AccountAddressDto>;
69
- }
70
- /**
71
- * Check if a given object implements the IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto interface.
72
- */
73
- export declare function instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto(value: object): value is IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto;
74
- export declare function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSON(json: any): IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto;
75
- export declare function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto;
76
- export declare function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJSON(value?: IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto | null): any;
@@ -1,43 +0,0 @@
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 ThrottlerException
16
- */
17
- export interface ThrottlerException {
18
- /**
19
- * Exception name
20
- * @type {string}
21
- * @memberof ThrottlerException
22
- */
23
- name: string;
24
- /**
25
- * http status code
26
- * @type {number}
27
- * @memberof ThrottlerException
28
- */
29
- statusCode: number;
30
- /**
31
- * error message
32
- * @type {string}
33
- * @memberof ThrottlerException
34
- */
35
- message: string;
36
- }
37
- /**
38
- * Check if a given object implements the ThrottlerException interface.
39
- */
40
- export declare function instanceOfThrottlerException(value: object): value is ThrottlerException;
41
- export declare function ThrottlerExceptionFromJSON(json: any): ThrottlerException;
42
- export declare function ThrottlerExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ThrottlerException;
43
- export declare function ThrottlerExceptionToJSON(value?: ThrottlerException | null): any;
@@ -1,54 +0,0 @@
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.instanceOfThrottlerException = instanceOfThrottlerException;
17
- exports.ThrottlerExceptionFromJSON = ThrottlerExceptionFromJSON;
18
- exports.ThrottlerExceptionFromJSONTyped = ThrottlerExceptionFromJSONTyped;
19
- exports.ThrottlerExceptionToJSON = ThrottlerExceptionToJSON;
20
- /**
21
- * Check if a given object implements the ThrottlerException interface.
22
- */
23
- function instanceOfThrottlerException(value) {
24
- if (!('name' in value) || value['name'] === undefined)
25
- return false;
26
- if (!('statusCode' in value) || value['statusCode'] === undefined)
27
- return false;
28
- if (!('message' in value) || value['message'] === undefined)
29
- return false;
30
- return true;
31
- }
32
- function ThrottlerExceptionFromJSON(json) {
33
- return ThrottlerExceptionFromJSONTyped(json, false);
34
- }
35
- function ThrottlerExceptionFromJSONTyped(json, ignoreDiscriminator) {
36
- if (json == null) {
37
- return json;
38
- }
39
- return {
40
- 'name': json['name'],
41
- 'statusCode': json['statusCode'],
42
- 'message': json['message'],
43
- };
44
- }
45
- function ThrottlerExceptionToJSON(value) {
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'name': value['name'],
51
- 'statusCode': value['statusCode'],
52
- 'message': value['message'],
53
- };
54
- }
@@ -1,49 +0,0 @@
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 WithFinancialDtoInner
16
- */
17
- export interface WithFinancialDtoInner {
18
- /**
19
- *
20
- * @type {boolean}
21
- * @memberof WithFinancialDtoInner
22
- */
23
- company: boolean;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof WithFinancialDtoInner
28
- */
29
- companyName: string | null;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof WithFinancialDtoInner
34
- */
35
- companyVatNumber: string | null;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof WithFinancialDtoInner
40
- */
41
- companyRegistrationNumber: string | null;
42
- }
43
- /**
44
- * Check if a given object implements the WithFinancialDtoInner interface.
45
- */
46
- export declare function instanceOfWithFinancialDtoInner(value: object): value is WithFinancialDtoInner;
47
- export declare function WithFinancialDtoInnerFromJSON(json: any): WithFinancialDtoInner;
48
- export declare function WithFinancialDtoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WithFinancialDtoInner;
49
- export declare function WithFinancialDtoInnerToJSON(value?: WithFinancialDtoInner | null): any;