@randock/nameshift-api-client 0.0.210 → 0.0.211
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 -2
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +3 -3
- package/dist/apis/AccountsApi.js +1 -1
- package/dist/apis/AdminApi.d.ts +12 -1
- package/dist/apis/AdminApi.js +53 -0
- package/dist/apis/BankAccountsApi.d.ts +78 -0
- package/dist/apis/BankAccountsApi.js +356 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountBankAccountDto.d.ts +68 -0
- package/dist/models/AccountBankAccountDto.js +75 -0
- package/dist/models/AccountDto.d.ts +10 -3
- package/dist/models/AccountDto.js +9 -4
- package/dist/models/AccountOnboardingDto.d.ts +65 -0
- package/dist/models/AccountOnboardingDto.js +77 -0
- package/dist/models/AccountOnboardingSessionDto.d.ts +32 -0
- package/dist/models/AccountOnboardingSessionDto.js +51 -0
- package/dist/models/AccountPayoutDto.d.ts +46 -0
- package/dist/models/AccountPayoutDto.js +63 -0
- package/dist/models/AccountSettingsDto.d.ts +0 -6
- package/dist/models/AccountSettingsDto.js +0 -4
- package/dist/models/CreateBankAccountInput.d.ts +56 -0
- package/dist/models/CreateBankAccountInput.js +63 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +11 -3
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +11 -5
- package/dist/models/UpdateBankAccountInput.d.ts +56 -0
- package/dist/models/UpdateBankAccountInput.js +63 -0
- package/dist/models/index.d.ts +6 -2
- package/dist/models/index.js +6 -2
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +6 -6
- package/src/apis/AdminApi.ts +48 -0
- package/src/apis/BankAccountsApi.ts +309 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AccountBankAccountDto.ts +120 -0
- package/src/models/AccountDto.ts +27 -11
- package/src/models/AccountOnboardingDto.ts +112 -0
- package/src/models/AccountOnboardingSessionDto.ts +66 -0
- package/src/models/AccountPayoutDto.ts +86 -0
- package/src/models/AccountSettingsDto.ts +0 -9
- package/src/models/CreateBankAccountInput.ts +100 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +29 -12
- package/src/models/UpdateBankAccountInput.ts +100 -0
- package/src/models/index.ts +6 -2
- package/dist/models/AccountPaymentProviderSessionDto.d.ts +0 -32
- package/dist/models/AccountPaymentProviderSessionDto.js +0 -51
- package/dist/models/PaymentProviderDto.d.ts +0 -52
- package/dist/models/PaymentProviderDto.js +0 -67
- package/src/models/AccountPaymentProviderSessionDto.ts +0 -66
- package/src/models/PaymentProviderDto.ts +0 -95
|
@@ -0,0 +1,86 @@
|
|
|
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 AccountPayoutDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AccountPayoutDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof AccountPayoutDto
|
|
26
|
+
*/
|
|
27
|
+
automatic: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AccountPayoutDto
|
|
32
|
+
*/
|
|
33
|
+
provider: AccountPayoutDtoProviderEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const AccountPayoutDtoProviderEnum = {
|
|
41
|
+
STRIPE: 'stripe',
|
|
42
|
+
BANK_ACCOUNT: 'bank_account'
|
|
43
|
+
} as const;
|
|
44
|
+
export type AccountPayoutDtoProviderEnum = typeof AccountPayoutDtoProviderEnum[keyof typeof AccountPayoutDtoProviderEnum];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the AccountPayoutDto interface.
|
|
49
|
+
*/
|
|
50
|
+
export function instanceOfAccountPayoutDto(value: object): value is AccountPayoutDto {
|
|
51
|
+
if (!('automatic' in value) || value['automatic'] === undefined) return false;
|
|
52
|
+
if (!('provider' in value) || value['provider'] === undefined) return false;
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AccountPayoutDtoFromJSON(json: any): AccountPayoutDto {
|
|
57
|
+
return AccountPayoutDtoFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AccountPayoutDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountPayoutDto {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'automatic': json['automatic'],
|
|
67
|
+
'provider': json['provider'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function AccountPayoutDtoToJSON(json: any): AccountPayoutDto {
|
|
72
|
+
return AccountPayoutDtoToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function AccountPayoutDtoToJSONTyped(value?: AccountPayoutDto | null, ignoreDiscriminator: boolean = false): any {
|
|
76
|
+
if (value == null) {
|
|
77
|
+
return value;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'automatic': value['automatic'],
|
|
83
|
+
'provider': value['provider'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -66,12 +66,6 @@ export interface AccountSettingsDto {
|
|
|
66
66
|
* @memberof AccountSettingsDto
|
|
67
67
|
*/
|
|
68
68
|
defaultCurrencyCode: string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {boolean}
|
|
72
|
-
* @memberof AccountSettingsDto
|
|
73
|
-
*/
|
|
74
|
-
automaticPayouts: boolean;
|
|
75
69
|
/**
|
|
76
70
|
*
|
|
77
71
|
* @type {AccountSettingsLeaseToOwnConfigurationDto}
|
|
@@ -111,7 +105,6 @@ export function instanceOfAccountSettingsDto(value: object): value is AccountSet
|
|
|
111
105
|
if (!('defaultStartingOffer' in value) || value['defaultStartingOffer'] === undefined) return false;
|
|
112
106
|
if (!('minBuyNow' in value) || value['minBuyNow'] === undefined) return false;
|
|
113
107
|
if (!('defaultCurrencyCode' in value) || value['defaultCurrencyCode'] === undefined) return false;
|
|
114
|
-
if (!('automaticPayouts' in value) || value['automaticPayouts'] === undefined) return false;
|
|
115
108
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
116
109
|
if (!('landing' in value) || value['landing'] === undefined) return false;
|
|
117
110
|
if (!('sidn' in value) || value['sidn'] === undefined) return false;
|
|
@@ -133,7 +126,6 @@ export function AccountSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
133
126
|
'defaultStartingOffer': MoneyDtoFromJSON(json['defaultStartingOffer']),
|
|
134
127
|
'minBuyNow': MoneyDtoFromJSON(json['minBuyNow']),
|
|
135
128
|
'defaultCurrencyCode': json['defaultCurrencyCode'],
|
|
136
|
-
'automaticPayouts': json['automaticPayouts'],
|
|
137
129
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
138
130
|
'landing': LandingPageSettingsDtoFromJSON(json['landing']),
|
|
139
131
|
'sidn': AccountSettingsSidnDtoFromJSON(json['sidn']),
|
|
@@ -156,7 +148,6 @@ export function AccountSettingsDtoToJSONTyped(value?: AccountSettingsDto | null,
|
|
|
156
148
|
'defaultStartingOffer': MoneyDtoToJSON(value['defaultStartingOffer']),
|
|
157
149
|
'minBuyNow': MoneyDtoToJSON(value['minBuyNow']),
|
|
158
150
|
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
159
|
-
'automaticPayouts': value['automaticPayouts'],
|
|
160
151
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
161
152
|
'landing': LandingPageSettingsDtoToJSON(value['landing']),
|
|
162
153
|
'sidn': AccountSettingsSidnDtoToJSON(value['sidn']),
|
|
@@ -0,0 +1,100 @@
|
|
|
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 CreateBankAccountInput
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateBankAccountInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateBankAccountInput
|
|
26
|
+
*/
|
|
27
|
+
currencyCode: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateBankAccountInput
|
|
32
|
+
*/
|
|
33
|
+
countryCode: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CreateBankAccountInput
|
|
38
|
+
*/
|
|
39
|
+
bic: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CreateBankAccountInput
|
|
44
|
+
*/
|
|
45
|
+
iban?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof CreateBankAccountInput
|
|
50
|
+
*/
|
|
51
|
+
bban?: string | null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the CreateBankAccountInput interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfCreateBankAccountInput(value: object): value is CreateBankAccountInput {
|
|
58
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
59
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
60
|
+
if (!('bic' in value) || value['bic'] === undefined) return false;
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CreateBankAccountInputFromJSON(json: any): CreateBankAccountInput {
|
|
65
|
+
return CreateBankAccountInputFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function CreateBankAccountInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBankAccountInput {
|
|
69
|
+
if (json == null) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'currencyCode': json['currencyCode'],
|
|
75
|
+
'countryCode': json['countryCode'],
|
|
76
|
+
'bic': json['bic'],
|
|
77
|
+
'iban': json['iban'] == null ? undefined : json['iban'],
|
|
78
|
+
'bban': json['bban'] == null ? undefined : json['bban'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function CreateBankAccountInputToJSON(json: any): CreateBankAccountInput {
|
|
83
|
+
return CreateBankAccountInputToJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function CreateBankAccountInputToJSONTyped(value?: CreateBankAccountInput | null, ignoreDiscriminator: boolean = false): any {
|
|
87
|
+
if (value == null) {
|
|
88
|
+
return value;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'currencyCode': value['currencyCode'],
|
|
94
|
+
'countryCode': value['countryCode'],
|
|
95
|
+
'bic': value['bic'],
|
|
96
|
+
'iban': value['iban'],
|
|
97
|
+
'bban': value['bban'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -13,13 +13,20 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { AccountPayoutDto } from './AccountPayoutDto';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
AccountPayoutDtoFromJSON,
|
|
19
|
+
AccountPayoutDtoFromJSONTyped,
|
|
20
|
+
AccountPayoutDtoToJSON,
|
|
21
|
+
AccountPayoutDtoToJSONTyped,
|
|
22
|
+
} from './AccountPayoutDto';
|
|
23
|
+
import type { AccountOnboardingDto } from './AccountOnboardingDto';
|
|
24
|
+
import {
|
|
25
|
+
AccountOnboardingDtoFromJSON,
|
|
26
|
+
AccountOnboardingDtoFromJSONTyped,
|
|
27
|
+
AccountOnboardingDtoToJSON,
|
|
28
|
+
AccountOnboardingDtoToJSONTyped,
|
|
29
|
+
} from './AccountOnboardingDto';
|
|
23
30
|
import type { WithSettingsInner } from './WithSettingsInner';
|
|
24
31
|
import {
|
|
25
32
|
WithSettingsInnerFromJSON,
|
|
@@ -81,10 +88,16 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
81
88
|
metrics: AccountMetricsDto;
|
|
82
89
|
/**
|
|
83
90
|
*
|
|
84
|
-
* @type {
|
|
91
|
+
* @type {AccountOnboardingDto}
|
|
92
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
93
|
+
*/
|
|
94
|
+
onboarding: AccountOnboardingDto | null;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {AccountPayoutDto}
|
|
85
98
|
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
86
99
|
*/
|
|
87
|
-
|
|
100
|
+
payout: AccountPayoutDto;
|
|
88
101
|
/**
|
|
89
102
|
*
|
|
90
103
|
* @type {BillingInformationDto}
|
|
@@ -117,7 +130,8 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
117
130
|
*/
|
|
118
131
|
export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = {
|
|
119
132
|
LEASE_TO_OWN: 'LEASE_TO_OWN',
|
|
120
|
-
SEO_METRICS: 'SEO_METRICS'
|
|
133
|
+
SEO_METRICS: 'SEO_METRICS',
|
|
134
|
+
BANK_PAYOUTS: 'BANK_PAYOUTS'
|
|
121
135
|
} as const;
|
|
122
136
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
123
137
|
|
|
@@ -130,7 +144,8 @@ export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotifications
|
|
|
130
144
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
131
145
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
132
146
|
if (!('metrics' in value) || value['metrics'] === undefined) return false;
|
|
133
|
-
if (!('
|
|
147
|
+
if (!('onboarding' in value) || value['onboarding'] === undefined) return false;
|
|
148
|
+
if (!('payout' in value) || value['payout'] === undefined) return false;
|
|
134
149
|
if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
|
|
135
150
|
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
136
151
|
if (!('notifications' in value) || value['notifications'] === undefined) return false;
|
|
@@ -152,7 +167,8 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFea
|
|
|
152
167
|
'identifier': json['identifier'],
|
|
153
168
|
'name': json['name'],
|
|
154
169
|
'metrics': AccountMetricsDtoFromJSON(json['metrics']),
|
|
155
|
-
'
|
|
170
|
+
'onboarding': AccountOnboardingDtoFromJSON(json['onboarding']),
|
|
171
|
+
'payout': AccountPayoutDtoFromJSON(json['payout']),
|
|
156
172
|
'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
|
|
157
173
|
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
158
174
|
'notifications': ((json['notifications'] as Array<any>).map(AccountNotificationDtoFromJSON)),
|
|
@@ -175,7 +191,8 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFea
|
|
|
175
191
|
'identifier': value['identifier'],
|
|
176
192
|
'name': value['name'],
|
|
177
193
|
'metrics': AccountMetricsDtoToJSON(value['metrics']),
|
|
178
|
-
'
|
|
194
|
+
'onboarding': AccountOnboardingDtoToJSON(value['onboarding']),
|
|
195
|
+
'payout': AccountPayoutDtoToJSON(value['payout']),
|
|
179
196
|
'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
|
|
180
197
|
'settings': WithSettingsInnerToJSON(value['settings']),
|
|
181
198
|
'notifications': ((value['notifications'] as Array<any>).map(AccountNotificationDtoToJSON)),
|
|
@@ -0,0 +1,100 @@
|
|
|
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 UpdateBankAccountInput
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateBankAccountInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateBankAccountInput
|
|
26
|
+
*/
|
|
27
|
+
currencyCode: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateBankAccountInput
|
|
32
|
+
*/
|
|
33
|
+
countryCode: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateBankAccountInput
|
|
38
|
+
*/
|
|
39
|
+
bic: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateBankAccountInput
|
|
44
|
+
*/
|
|
45
|
+
iban?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UpdateBankAccountInput
|
|
50
|
+
*/
|
|
51
|
+
bban?: string | null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the UpdateBankAccountInput interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfUpdateBankAccountInput(value: object): value is UpdateBankAccountInput {
|
|
58
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
59
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
60
|
+
if (!('bic' in value) || value['bic'] === undefined) return false;
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function UpdateBankAccountInputFromJSON(json: any): UpdateBankAccountInput {
|
|
65
|
+
return UpdateBankAccountInputFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function UpdateBankAccountInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBankAccountInput {
|
|
69
|
+
if (json == null) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'currencyCode': json['currencyCode'],
|
|
75
|
+
'countryCode': json['countryCode'],
|
|
76
|
+
'bic': json['bic'],
|
|
77
|
+
'iban': json['iban'] == null ? undefined : json['iban'],
|
|
78
|
+
'bban': json['bban'] == null ? undefined : json['bban'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function UpdateBankAccountInputToJSON(json: any): UpdateBankAccountInput {
|
|
83
|
+
return UpdateBankAccountInputToJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function UpdateBankAccountInputToJSONTyped(value?: UpdateBankAccountInput | null, ignoreDiscriminator: boolean = false): any {
|
|
87
|
+
if (value == null) {
|
|
88
|
+
return value;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'currencyCode': value['currencyCode'],
|
|
94
|
+
'countryCode': value['countryCode'],
|
|
95
|
+
'bic': value['bic'],
|
|
96
|
+
'iban': value['iban'],
|
|
97
|
+
'bban': value['bban'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './AccountBankAccountDto';
|
|
3
4
|
export * from './AccountDto';
|
|
4
5
|
export * from './AccountMetricsDto';
|
|
5
6
|
export * from './AccountNotificationDto';
|
|
6
7
|
export * from './AccountNotificationReadStatusDto';
|
|
7
|
-
export * from './
|
|
8
|
+
export * from './AccountOnboardingDto';
|
|
9
|
+
export * from './AccountOnboardingSessionDto';
|
|
10
|
+
export * from './AccountPayoutDto';
|
|
8
11
|
export * from './AccountSettingsDto';
|
|
9
12
|
export * from './AccountSettingsInput';
|
|
10
13
|
export * from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
@@ -38,6 +41,7 @@ export * from './CompanyInformationDto';
|
|
|
38
41
|
export * from './CompanyTaxIdDto';
|
|
39
42
|
export * from './ConcreteDomainTransferTaskData';
|
|
40
43
|
export * from './ConflictException';
|
|
44
|
+
export * from './CreateBankAccountInput';
|
|
41
45
|
export * from './CreateBuyerLeadMessageInput';
|
|
42
46
|
export * from './CreateLeadInput';
|
|
43
47
|
export * from './CreateLeadMessageInput';
|
|
@@ -137,7 +141,6 @@ export * from './PaginateResponse';
|
|
|
137
141
|
export * from './PaginateResponseLinks';
|
|
138
142
|
export * from './PaginateResponseMeta';
|
|
139
143
|
export * from './ParsedDomainDto';
|
|
140
|
-
export * from './PaymentProviderDto';
|
|
141
144
|
export * from './PublicDomainDto';
|
|
142
145
|
export * from './PublicDomainDtoSeo';
|
|
143
146
|
export * from './PublicDomainDtoSeoMoz';
|
|
@@ -181,6 +184,7 @@ export * from './TaskListDomainTransferDto';
|
|
|
181
184
|
export * from './TaskListLeadDto';
|
|
182
185
|
export * from './ThrottlerException';
|
|
183
186
|
export * from './UpdateAccountBillingInformationInput';
|
|
187
|
+
export * from './UpdateBankAccountInput';
|
|
184
188
|
export * from './UpdateDomainInput';
|
|
185
189
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
186
190
|
export * from './UpdateLeadInput';
|
|
@@ -1,32 +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 AccountPaymentProviderSessionDto
|
|
16
|
-
*/
|
|
17
|
-
export interface AccountPaymentProviderSessionDto {
|
|
18
|
-
/**
|
|
19
|
-
* Account payment provider session token
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AccountPaymentProviderSessionDto
|
|
22
|
-
*/
|
|
23
|
-
accessToken: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the AccountPaymentProviderSessionDto interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfAccountPaymentProviderSessionDto(value: object): value is AccountPaymentProviderSessionDto;
|
|
29
|
-
export declare function AccountPaymentProviderSessionDtoFromJSON(json: any): AccountPaymentProviderSessionDto;
|
|
30
|
-
export declare function AccountPaymentProviderSessionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountPaymentProviderSessionDto;
|
|
31
|
-
export declare function AccountPaymentProviderSessionDtoToJSON(json: any): AccountPaymentProviderSessionDto;
|
|
32
|
-
export declare function AccountPaymentProviderSessionDtoToJSONTyped(value?: AccountPaymentProviderSessionDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +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.instanceOfAccountPaymentProviderSessionDto = instanceOfAccountPaymentProviderSessionDto;
|
|
17
|
-
exports.AccountPaymentProviderSessionDtoFromJSON = AccountPaymentProviderSessionDtoFromJSON;
|
|
18
|
-
exports.AccountPaymentProviderSessionDtoFromJSONTyped = AccountPaymentProviderSessionDtoFromJSONTyped;
|
|
19
|
-
exports.AccountPaymentProviderSessionDtoToJSON = AccountPaymentProviderSessionDtoToJSON;
|
|
20
|
-
exports.AccountPaymentProviderSessionDtoToJSONTyped = AccountPaymentProviderSessionDtoToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AccountPaymentProviderSessionDto interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAccountPaymentProviderSessionDto(value) {
|
|
25
|
-
if (!('accessToken' in value) || value['accessToken'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function AccountPaymentProviderSessionDtoFromJSON(json) {
|
|
30
|
-
return AccountPaymentProviderSessionDtoFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function AccountPaymentProviderSessionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'accessToken': json['accessToken'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function AccountPaymentProviderSessionDtoToJSON(json) {
|
|
41
|
-
return AccountPaymentProviderSessionDtoToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function AccountPaymentProviderSessionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'accessToken': value['accessToken'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,52 +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 PaymentProviderDto
|
|
16
|
-
*/
|
|
17
|
-
export interface PaymentProviderDto {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PaymentProviderDto
|
|
22
|
-
*/
|
|
23
|
-
accountId: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PaymentProviderDto
|
|
28
|
-
*/
|
|
29
|
-
status: PaymentProviderDtoStatusEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof PaymentProviderDto
|
|
34
|
-
*/
|
|
35
|
-
onboardingFinished: boolean;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const PaymentProviderDtoStatusEnum: {
|
|
41
|
-
readonly PENDING: "pending";
|
|
42
|
-
readonly ACTIVE: "active";
|
|
43
|
-
};
|
|
44
|
-
export type PaymentProviderDtoStatusEnum = typeof PaymentProviderDtoStatusEnum[keyof typeof PaymentProviderDtoStatusEnum];
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the PaymentProviderDto interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfPaymentProviderDto(value: object): value is PaymentProviderDto;
|
|
49
|
-
export declare function PaymentProviderDtoFromJSON(json: any): PaymentProviderDto;
|
|
50
|
-
export declare function PaymentProviderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentProviderDto;
|
|
51
|
-
export declare function PaymentProviderDtoToJSON(json: any): PaymentProviderDto;
|
|
52
|
-
export declare function PaymentProviderDtoToJSONTyped(value?: PaymentProviderDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,67 +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.PaymentProviderDtoStatusEnum = void 0;
|
|
17
|
-
exports.instanceOfPaymentProviderDto = instanceOfPaymentProviderDto;
|
|
18
|
-
exports.PaymentProviderDtoFromJSON = PaymentProviderDtoFromJSON;
|
|
19
|
-
exports.PaymentProviderDtoFromJSONTyped = PaymentProviderDtoFromJSONTyped;
|
|
20
|
-
exports.PaymentProviderDtoToJSON = PaymentProviderDtoToJSON;
|
|
21
|
-
exports.PaymentProviderDtoToJSONTyped = PaymentProviderDtoToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.PaymentProviderDtoStatusEnum = {
|
|
26
|
-
PENDING: 'pending',
|
|
27
|
-
ACTIVE: 'active'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Check if a given object implements the PaymentProviderDto interface.
|
|
31
|
-
*/
|
|
32
|
-
function instanceOfPaymentProviderDto(value) {
|
|
33
|
-
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('onboardingFinished' in value) || value['onboardingFinished'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
function PaymentProviderDtoFromJSON(json) {
|
|
42
|
-
return PaymentProviderDtoFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function PaymentProviderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
if (json == null) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'accountId': json['accountId'],
|
|
50
|
-
'status': json['status'],
|
|
51
|
-
'onboardingFinished': json['onboardingFinished'],
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
function PaymentProviderDtoToJSON(json) {
|
|
55
|
-
return PaymentProviderDtoToJSONTyped(json, false);
|
|
56
|
-
}
|
|
57
|
-
function PaymentProviderDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
-
if (value == null) {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
'accountId': value['accountId'],
|
|
64
|
-
'status': value['status'],
|
|
65
|
-
'onboardingFinished': value['onboardingFinished'],
|
|
66
|
-
};
|
|
67
|
-
}
|