@randock/nameshift-api-client 0.0.263 → 0.0.264
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 +2 -0
- package/README.md +3 -3
- package/dist/models/AccountAliasDto.d.ts +32 -0
- package/dist/models/AccountAliasDto.js +51 -0
- package/dist/models/AccountAliasInput.d.ts +32 -0
- package/dist/models/AccountAliasInput.js +49 -0
- package/dist/models/AccountSettingsInput.d.ts +3 -2
- package/dist/models/AccountSettingsInput.js +3 -2
- package/dist/models/ListAccountDto.d.ts +55 -0
- package/dist/models/ListAccountDto.js +43 -0
- package/dist/models/WithSettingsInner.d.ts +3 -2
- package/dist/models/WithSettingsInner.js +3 -2
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/models/AccountAliasDto.ts +66 -0
- package/src/models/AccountAliasInput.ts +65 -0
- package/src/models/AccountSettingsInput.ts +11 -4
- package/src/models/ListAccountDto.ts +75 -0
- package/src/models/WithSettingsInner.ts +11 -4
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -25,6 +25,8 @@ src/apis/UsersApi.ts
|
|
|
25
25
|
src/apis/UsersPublicApi.ts
|
|
26
26
|
src/apis/index.ts
|
|
27
27
|
src/index.ts
|
|
28
|
+
src/models/AccountAliasDto.ts
|
|
29
|
+
src/models/AccountAliasInput.ts
|
|
28
30
|
src/models/AccountBankAccountDto.ts
|
|
29
31
|
src/models/AccountBankAccountDtoDetails.ts
|
|
30
32
|
src/models/AccountDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.264
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.264 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
82e6304b5f3be99fa7f224ac45d2828f1f676e57ed9f422ac11bc696642b7fb7eef19e0cffc1f4bb8a72db5f28a81018
|
|
@@ -0,0 +1,32 @@
|
|
|
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 AccountAliasDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountAliasDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccountAliasDto
|
|
22
|
+
*/
|
|
23
|
+
alias: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AccountAliasDto interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAccountAliasDto(value: object): value is AccountAliasDto;
|
|
29
|
+
export declare function AccountAliasDtoFromJSON(json: any): AccountAliasDto;
|
|
30
|
+
export declare function AccountAliasDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAliasDto;
|
|
31
|
+
export declare function AccountAliasDtoToJSON(json: any): AccountAliasDto;
|
|
32
|
+
export declare function AccountAliasDtoToJSONTyped(value?: AccountAliasDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfAccountAliasDto = instanceOfAccountAliasDto;
|
|
17
|
+
exports.AccountAliasDtoFromJSON = AccountAliasDtoFromJSON;
|
|
18
|
+
exports.AccountAliasDtoFromJSONTyped = AccountAliasDtoFromJSONTyped;
|
|
19
|
+
exports.AccountAliasDtoToJSON = AccountAliasDtoToJSON;
|
|
20
|
+
exports.AccountAliasDtoToJSONTyped = AccountAliasDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AccountAliasDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAccountAliasDto(value) {
|
|
25
|
+
if (!('alias' in value) || value['alias'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AccountAliasDtoFromJSON(json) {
|
|
30
|
+
return AccountAliasDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AccountAliasDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'alias': json['alias'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AccountAliasDtoToJSON(json) {
|
|
41
|
+
return AccountAliasDtoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AccountAliasDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'alias': value['alias'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 AccountAliasInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountAliasInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccountAliasInput
|
|
22
|
+
*/
|
|
23
|
+
alias?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AccountAliasInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAccountAliasInput(value: object): value is AccountAliasInput;
|
|
29
|
+
export declare function AccountAliasInputFromJSON(json: any): AccountAliasInput;
|
|
30
|
+
export declare function AccountAliasInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAliasInput;
|
|
31
|
+
export declare function AccountAliasInputToJSON(json: any): AccountAliasInput;
|
|
32
|
+
export declare function AccountAliasInputToJSONTyped(value?: AccountAliasInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.instanceOfAccountAliasInput = instanceOfAccountAliasInput;
|
|
17
|
+
exports.AccountAliasInputFromJSON = AccountAliasInputFromJSON;
|
|
18
|
+
exports.AccountAliasInputFromJSONTyped = AccountAliasInputFromJSONTyped;
|
|
19
|
+
exports.AccountAliasInputToJSON = AccountAliasInputToJSON;
|
|
20
|
+
exports.AccountAliasInputToJSONTyped = AccountAliasInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AccountAliasInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAccountAliasInput(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AccountAliasInputFromJSON(json) {
|
|
28
|
+
return AccountAliasInputFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AccountAliasInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'alias': json['alias'] == null ? undefined : json['alias'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function AccountAliasInputToJSON(json) {
|
|
39
|
+
return AccountAliasInputToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function AccountAliasInputToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'alias': value['alias'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -14,6 +14,7 @@ import type { LandingPageInput } from './LandingPageInput';
|
|
|
14
14
|
import type { TimeTableConfigurationInput } from './TimeTableConfigurationInput';
|
|
15
15
|
import type { LeadPriceNegotiatorAiAgentConfigurationInput } from './LeadPriceNegotiatorAiAgentConfigurationInput';
|
|
16
16
|
import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
|
|
17
|
+
import type { AccountAliasInput } from './AccountAliasInput';
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* @export
|
|
@@ -82,10 +83,10 @@ export interface AccountSettingsInput {
|
|
|
82
83
|
timezone?: string;
|
|
83
84
|
/**
|
|
84
85
|
*
|
|
85
|
-
* @type {
|
|
86
|
+
* @type {AccountAliasInput}
|
|
86
87
|
* @memberof AccountSettingsInput
|
|
87
88
|
*/
|
|
88
|
-
alias?:
|
|
89
|
+
alias?: AccountAliasInput;
|
|
89
90
|
}
|
|
90
91
|
/**
|
|
91
92
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
@@ -23,6 +23,7 @@ var LandingPageInput_1 = require("./LandingPageInput");
|
|
|
23
23
|
var TimeTableConfigurationInput_1 = require("./TimeTableConfigurationInput");
|
|
24
24
|
var LeadPriceNegotiatorAiAgentConfigurationInput_1 = require("./LeadPriceNegotiatorAiAgentConfigurationInput");
|
|
25
25
|
var LeaseToOwnConfigurationInput_1 = require("./LeaseToOwnConfigurationInput");
|
|
26
|
+
var AccountAliasInput_1 = require("./AccountAliasInput");
|
|
26
27
|
/**
|
|
27
28
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
28
29
|
*/
|
|
@@ -47,7 +48,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
48
|
'timeTable': json['timeTable'] == null ? undefined : (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputFromJSON)(json['timeTable']),
|
|
48
49
|
'leadPriceNegotiatorAiAgent': json['leadPriceNegotiatorAiAgent'] == null ? undefined : (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiatorAiAgent']),
|
|
49
50
|
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
50
|
-
'alias': json['alias'] == null ? undefined : json['alias'],
|
|
51
|
+
'alias': json['alias'] == null ? undefined : (0, AccountAliasInput_1.AccountAliasInputFromJSON)(json['alias']),
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
function AccountSettingsInputToJSON(json) {
|
|
@@ -69,6 +70,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
69
70
|
'timeTable': (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputToJSON)(value['timeTable']),
|
|
70
71
|
'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiatorAiAgent']),
|
|
71
72
|
'timezone': value['timezone'],
|
|
72
|
-
'alias': value['alias'],
|
|
73
|
+
'alias': (0, AccountAliasInput_1.AccountAliasInputToJSON)(value['alias']),
|
|
73
74
|
};
|
|
74
75
|
}
|
|
@@ -23,6 +23,36 @@ export interface ListAccountDto {
|
|
|
23
23
|
* @memberof ListAccountDto
|
|
24
24
|
*/
|
|
25
25
|
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ListAccountDto
|
|
30
|
+
*/
|
|
31
|
+
alias: string | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof ListAccountDto
|
|
36
|
+
*/
|
|
37
|
+
aliasVerified: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ListAccountDto
|
|
42
|
+
*/
|
|
43
|
+
onboardingProvider: ListAccountDtoOnboardingProviderEnum;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ListAccountDto
|
|
48
|
+
*/
|
|
49
|
+
onboardingStatus: ListAccountDtoOnboardingStatusEnum;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ListAccountDto
|
|
54
|
+
*/
|
|
55
|
+
payoutProvider: ListAccountDtoPayoutProviderEnum;
|
|
26
56
|
/**
|
|
27
57
|
*
|
|
28
58
|
* @type {string}
|
|
@@ -66,6 +96,31 @@ export interface ListAccountDto {
|
|
|
66
96
|
*/
|
|
67
97
|
users: Array<ListAccountUserDto>;
|
|
68
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* @export
|
|
101
|
+
*/
|
|
102
|
+
export declare const ListAccountDtoOnboardingProviderEnum: {
|
|
103
|
+
readonly STRIPE: "stripe";
|
|
104
|
+
readonly SUMSUB: "sumsub";
|
|
105
|
+
};
|
|
106
|
+
export type ListAccountDtoOnboardingProviderEnum = typeof ListAccountDtoOnboardingProviderEnum[keyof typeof ListAccountDtoOnboardingProviderEnum];
|
|
107
|
+
/**
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export declare const ListAccountDtoOnboardingStatusEnum: {
|
|
111
|
+
readonly PENDING: "pending";
|
|
112
|
+
readonly ACTIVE: "active";
|
|
113
|
+
readonly REJECTED: "rejected";
|
|
114
|
+
};
|
|
115
|
+
export type ListAccountDtoOnboardingStatusEnum = typeof ListAccountDtoOnboardingStatusEnum[keyof typeof ListAccountDtoOnboardingStatusEnum];
|
|
116
|
+
/**
|
|
117
|
+
* @export
|
|
118
|
+
*/
|
|
119
|
+
export declare const ListAccountDtoPayoutProviderEnum: {
|
|
120
|
+
readonly STRIPE: "stripe";
|
|
121
|
+
readonly BANK_ACCOUNT: "bank_account";
|
|
122
|
+
};
|
|
123
|
+
export type ListAccountDtoPayoutProviderEnum = typeof ListAccountDtoPayoutProviderEnum[keyof typeof ListAccountDtoPayoutProviderEnum];
|
|
69
124
|
/**
|
|
70
125
|
* Check if a given object implements the ListAccountDto interface.
|
|
71
126
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ListAccountDtoPayoutProviderEnum = exports.ListAccountDtoOnboardingStatusEnum = exports.ListAccountDtoOnboardingProviderEnum = void 0;
|
|
16
17
|
exports.instanceOfListAccountDto = instanceOfListAccountDto;
|
|
17
18
|
exports.ListAccountDtoFromJSON = ListAccountDtoFromJSON;
|
|
18
19
|
exports.ListAccountDtoFromJSONTyped = ListAccountDtoFromJSONTyped;
|
|
@@ -20,12 +21,44 @@ exports.ListAccountDtoToJSON = ListAccountDtoToJSON;
|
|
|
20
21
|
exports.ListAccountDtoToJSONTyped = ListAccountDtoToJSONTyped;
|
|
21
22
|
var ListAccountMetricsDto_1 = require("./ListAccountMetricsDto");
|
|
22
23
|
var ListAccountUserDto_1 = require("./ListAccountUserDto");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.ListAccountDtoOnboardingProviderEnum = {
|
|
28
|
+
STRIPE: 'stripe',
|
|
29
|
+
SUMSUB: 'sumsub'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.ListAccountDtoOnboardingStatusEnum = {
|
|
35
|
+
PENDING: 'pending',
|
|
36
|
+
ACTIVE: 'active',
|
|
37
|
+
REJECTED: 'rejected'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
exports.ListAccountDtoPayoutProviderEnum = {
|
|
43
|
+
STRIPE: 'stripe',
|
|
44
|
+
BANK_ACCOUNT: 'bank_account'
|
|
45
|
+
};
|
|
23
46
|
/**
|
|
24
47
|
* Check if a given object implements the ListAccountDto interface.
|
|
25
48
|
*/
|
|
26
49
|
function instanceOfListAccountDto(value) {
|
|
27
50
|
if (!('id' in value) || value['id'] === undefined)
|
|
28
51
|
return false;
|
|
52
|
+
if (!('alias' in value) || value['alias'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('aliasVerified' in value) || value['aliasVerified'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('onboardingProvider' in value) || value['onboardingProvider'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('onboardingStatus' in value) || value['onboardingStatus'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('payoutProvider' in value) || value['payoutProvider'] === undefined)
|
|
61
|
+
return false;
|
|
29
62
|
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
30
63
|
return false;
|
|
31
64
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -51,6 +84,11 @@ function ListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
84
|
}
|
|
52
85
|
return {
|
|
53
86
|
'id': json['id'],
|
|
87
|
+
'alias': json['alias'],
|
|
88
|
+
'aliasVerified': json['aliasVerified'],
|
|
89
|
+
'onboardingProvider': json['onboardingProvider'],
|
|
90
|
+
'onboardingStatus': json['onboardingStatus'],
|
|
91
|
+
'payoutProvider': json['payoutProvider'],
|
|
54
92
|
'identifier': json['identifier'],
|
|
55
93
|
'createdAt': (new Date(json['createdAt'])),
|
|
56
94
|
'name': json['name'],
|
|
@@ -70,6 +108,11 @@ function ListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
70
108
|
}
|
|
71
109
|
return {
|
|
72
110
|
'id': value['id'],
|
|
111
|
+
'alias': value['alias'],
|
|
112
|
+
'aliasVerified': value['aliasVerified'],
|
|
113
|
+
'onboardingProvider': value['onboardingProvider'],
|
|
114
|
+
'onboardingStatus': value['onboardingStatus'],
|
|
115
|
+
'payoutProvider': value['payoutProvider'],
|
|
73
116
|
'identifier': value['identifier'],
|
|
74
117
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
75
118
|
'name': value['name'],
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { LeadPriceNegotiatorAiAgentConfigurationDto } from './LeadPriceNegotiatorAiAgentConfigurationDto';
|
|
13
13
|
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
import type { AccountAliasDto } from './AccountAliasDto';
|
|
14
15
|
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
15
16
|
import type { TimeTableConfigurationDto } from './TimeTableConfigurationDto';
|
|
16
17
|
import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
|
|
@@ -94,10 +95,10 @@ export interface WithSettingsInner {
|
|
|
94
95
|
timezone: string;
|
|
95
96
|
/**
|
|
96
97
|
*
|
|
97
|
-
* @type {
|
|
98
|
+
* @type {AccountAliasDto}
|
|
98
99
|
* @memberof WithSettingsInner
|
|
99
100
|
*/
|
|
100
|
-
alias:
|
|
101
|
+
alias: AccountAliasDto;
|
|
101
102
|
/**
|
|
102
103
|
*
|
|
103
104
|
* @type {LeadPriceNegotiatorAiAgentConfigurationDto}
|
|
@@ -20,6 +20,7 @@ exports.WithSettingsInnerToJSON = WithSettingsInnerToJSON;
|
|
|
20
20
|
exports.WithSettingsInnerToJSONTyped = WithSettingsInnerToJSONTyped;
|
|
21
21
|
var LeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./LeadPriceNegotiatorAiAgentConfigurationDto");
|
|
22
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
var AccountAliasDto_1 = require("./AccountAliasDto");
|
|
23
24
|
var AccountSettingsLeaseToOwnConfigurationDto_1 = require("./AccountSettingsLeaseToOwnConfigurationDto");
|
|
24
25
|
var TimeTableConfigurationDto_1 = require("./TimeTableConfigurationDto");
|
|
25
26
|
var AccountSettingsRentConfigurationDto_1 = require("./AccountSettingsRentConfigurationDto");
|
|
@@ -77,7 +78,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
78
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
78
79
|
'timeTable': (0, TimeTableConfigurationDto_1.TimeTableConfigurationDtoFromJSON)(json['timeTable']),
|
|
79
80
|
'timezone': json['timezone'],
|
|
80
|
-
'alias': json['alias'],
|
|
81
|
+
'alias': (0, AccountAliasDto_1.AccountAliasDtoFromJSON)(json['alias']),
|
|
81
82
|
'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiatorAiAgent']),
|
|
82
83
|
};
|
|
83
84
|
}
|
|
@@ -102,7 +103,7 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
103
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
103
104
|
'timeTable': (0, TimeTableConfigurationDto_1.TimeTableConfigurationDtoToJSON)(value['timeTable']),
|
|
104
105
|
'timezone': value['timezone'],
|
|
105
|
-
'alias': value['alias'],
|
|
106
|
+
'alias': (0, AccountAliasDto_1.AccountAliasDtoToJSON)(value['alias']),
|
|
106
107
|
'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiatorAiAgent']),
|
|
107
108
|
};
|
|
108
109
|
}
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AccountAliasDto"), exports);
|
|
20
|
+
__exportStar(require("./AccountAliasInput"), exports);
|
|
19
21
|
__exportStar(require("./AccountBankAccountDto"), exports);
|
|
20
22
|
__exportStar(require("./AccountBankAccountDtoDetails"), exports);
|
|
21
23
|
__exportStar(require("./AccountDto"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,66 @@
|
|
|
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 AccountAliasDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AccountAliasDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AccountAliasDto
|
|
26
|
+
*/
|
|
27
|
+
alias: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AccountAliasDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfAccountAliasDto(value: object): value is AccountAliasDto {
|
|
34
|
+
if (!('alias' in value) || value['alias'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function AccountAliasDtoFromJSON(json: any): AccountAliasDto {
|
|
39
|
+
return AccountAliasDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function AccountAliasDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAliasDto {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'alias': json['alias'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AccountAliasDtoToJSON(json: any): AccountAliasDto {
|
|
53
|
+
return AccountAliasDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AccountAliasDtoToJSONTyped(value?: AccountAliasDto | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'alias': value['alias'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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 AccountAliasInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AccountAliasInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AccountAliasInput
|
|
26
|
+
*/
|
|
27
|
+
alias?: string | null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AccountAliasInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfAccountAliasInput(value: object): value is AccountAliasInput {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function AccountAliasInputFromJSON(json: any): AccountAliasInput {
|
|
38
|
+
return AccountAliasInputFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function AccountAliasInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAliasInput {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'alias': json['alias'] == null ? undefined : json['alias'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function AccountAliasInputToJSON(json: any): AccountAliasInput {
|
|
52
|
+
return AccountAliasInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function AccountAliasInputToJSONTyped(value?: AccountAliasInput | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'alias': value['alias'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
LeaseToOwnConfigurationInputToJSON,
|
|
49
49
|
LeaseToOwnConfigurationInputToJSONTyped,
|
|
50
50
|
} from './LeaseToOwnConfigurationInput';
|
|
51
|
+
import type { AccountAliasInput } from './AccountAliasInput';
|
|
52
|
+
import {
|
|
53
|
+
AccountAliasInputFromJSON,
|
|
54
|
+
AccountAliasInputFromJSONTyped,
|
|
55
|
+
AccountAliasInputToJSON,
|
|
56
|
+
AccountAliasInputToJSONTyped,
|
|
57
|
+
} from './AccountAliasInput';
|
|
51
58
|
|
|
52
59
|
/**
|
|
53
60
|
*
|
|
@@ -117,10 +124,10 @@ export interface AccountSettingsInput {
|
|
|
117
124
|
timezone?: string;
|
|
118
125
|
/**
|
|
119
126
|
*
|
|
120
|
-
* @type {
|
|
127
|
+
* @type {AccountAliasInput}
|
|
121
128
|
* @memberof AccountSettingsInput
|
|
122
129
|
*/
|
|
123
|
-
alias?:
|
|
130
|
+
alias?: AccountAliasInput;
|
|
124
131
|
}
|
|
125
132
|
|
|
126
133
|
/**
|
|
@@ -150,7 +157,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
150
157
|
'timeTable': json['timeTable'] == null ? undefined : TimeTableConfigurationInputFromJSON(json['timeTable']),
|
|
151
158
|
'leadPriceNegotiatorAiAgent': json['leadPriceNegotiatorAiAgent'] == null ? undefined : LeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json['leadPriceNegotiatorAiAgent']),
|
|
152
159
|
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
153
|
-
'alias': json['alias'] == null ? undefined : json['alias'],
|
|
160
|
+
'alias': json['alias'] == null ? undefined : AccountAliasInputFromJSON(json['alias']),
|
|
154
161
|
};
|
|
155
162
|
}
|
|
156
163
|
|
|
@@ -175,7 +182,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
|
|
|
175
182
|
'timeTable': TimeTableConfigurationInputToJSON(value['timeTable']),
|
|
176
183
|
'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationInputToJSON(value['leadPriceNegotiatorAiAgent']),
|
|
177
184
|
'timezone': value['timezone'],
|
|
178
|
-
'alias': value['alias'],
|
|
185
|
+
'alias': AccountAliasInputToJSON(value['alias']),
|
|
179
186
|
};
|
|
180
187
|
}
|
|
181
188
|
|
|
@@ -40,6 +40,36 @@ export interface ListAccountDto {
|
|
|
40
40
|
* @memberof ListAccountDto
|
|
41
41
|
*/
|
|
42
42
|
id: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ListAccountDto
|
|
47
|
+
*/
|
|
48
|
+
alias: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof ListAccountDto
|
|
53
|
+
*/
|
|
54
|
+
aliasVerified: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ListAccountDto
|
|
59
|
+
*/
|
|
60
|
+
onboardingProvider: ListAccountDtoOnboardingProviderEnum;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof ListAccountDto
|
|
65
|
+
*/
|
|
66
|
+
onboardingStatus: ListAccountDtoOnboardingStatusEnum;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ListAccountDto
|
|
71
|
+
*/
|
|
72
|
+
payoutProvider: ListAccountDtoPayoutProviderEnum;
|
|
43
73
|
/**
|
|
44
74
|
*
|
|
45
75
|
* @type {string}
|
|
@@ -84,11 +114,46 @@ export interface ListAccountDto {
|
|
|
84
114
|
users: Array<ListAccountUserDto>;
|
|
85
115
|
}
|
|
86
116
|
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @export
|
|
120
|
+
*/
|
|
121
|
+
export const ListAccountDtoOnboardingProviderEnum = {
|
|
122
|
+
STRIPE: 'stripe',
|
|
123
|
+
SUMSUB: 'sumsub'
|
|
124
|
+
} as const;
|
|
125
|
+
export type ListAccountDtoOnboardingProviderEnum = typeof ListAccountDtoOnboardingProviderEnum[keyof typeof ListAccountDtoOnboardingProviderEnum];
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @export
|
|
129
|
+
*/
|
|
130
|
+
export const ListAccountDtoOnboardingStatusEnum = {
|
|
131
|
+
PENDING: 'pending',
|
|
132
|
+
ACTIVE: 'active',
|
|
133
|
+
REJECTED: 'rejected'
|
|
134
|
+
} as const;
|
|
135
|
+
export type ListAccountDtoOnboardingStatusEnum = typeof ListAccountDtoOnboardingStatusEnum[keyof typeof ListAccountDtoOnboardingStatusEnum];
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @export
|
|
139
|
+
*/
|
|
140
|
+
export const ListAccountDtoPayoutProviderEnum = {
|
|
141
|
+
STRIPE: 'stripe',
|
|
142
|
+
BANK_ACCOUNT: 'bank_account'
|
|
143
|
+
} as const;
|
|
144
|
+
export type ListAccountDtoPayoutProviderEnum = typeof ListAccountDtoPayoutProviderEnum[keyof typeof ListAccountDtoPayoutProviderEnum];
|
|
145
|
+
|
|
146
|
+
|
|
87
147
|
/**
|
|
88
148
|
* Check if a given object implements the ListAccountDto interface.
|
|
89
149
|
*/
|
|
90
150
|
export function instanceOfListAccountDto(value: object): value is ListAccountDto {
|
|
91
151
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
152
|
+
if (!('alias' in value) || value['alias'] === undefined) return false;
|
|
153
|
+
if (!('aliasVerified' in value) || value['aliasVerified'] === undefined) return false;
|
|
154
|
+
if (!('onboardingProvider' in value) || value['onboardingProvider'] === undefined) return false;
|
|
155
|
+
if (!('onboardingStatus' in value) || value['onboardingStatus'] === undefined) return false;
|
|
156
|
+
if (!('payoutProvider' in value) || value['payoutProvider'] === undefined) return false;
|
|
92
157
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
93
158
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
94
159
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
@@ -110,6 +175,11 @@ export function ListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
110
175
|
return {
|
|
111
176
|
|
|
112
177
|
'id': json['id'],
|
|
178
|
+
'alias': json['alias'],
|
|
179
|
+
'aliasVerified': json['aliasVerified'],
|
|
180
|
+
'onboardingProvider': json['onboardingProvider'],
|
|
181
|
+
'onboardingStatus': json['onboardingStatus'],
|
|
182
|
+
'payoutProvider': json['payoutProvider'],
|
|
113
183
|
'identifier': json['identifier'],
|
|
114
184
|
'createdAt': (new Date(json['createdAt'])),
|
|
115
185
|
'name': json['name'],
|
|
@@ -132,6 +202,11 @@ export function ListAccountDtoToJSONTyped(value?: ListAccountDto | null, ignoreD
|
|
|
132
202
|
return {
|
|
133
203
|
|
|
134
204
|
'id': value['id'],
|
|
205
|
+
'alias': value['alias'],
|
|
206
|
+
'aliasVerified': value['aliasVerified'],
|
|
207
|
+
'onboardingProvider': value['onboardingProvider'],
|
|
208
|
+
'onboardingStatus': value['onboardingStatus'],
|
|
209
|
+
'payoutProvider': value['payoutProvider'],
|
|
135
210
|
'identifier': value['identifier'],
|
|
136
211
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
137
212
|
'name': value['name'],
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
MoneyDtoToJSON,
|
|
28
28
|
MoneyDtoToJSONTyped,
|
|
29
29
|
} from './MoneyDto';
|
|
30
|
+
import type { AccountAliasDto } from './AccountAliasDto';
|
|
31
|
+
import {
|
|
32
|
+
AccountAliasDtoFromJSON,
|
|
33
|
+
AccountAliasDtoFromJSONTyped,
|
|
34
|
+
AccountAliasDtoToJSON,
|
|
35
|
+
AccountAliasDtoToJSONTyped,
|
|
36
|
+
} from './AccountAliasDto';
|
|
30
37
|
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
31
38
|
import {
|
|
32
39
|
AccountSettingsLeaseToOwnConfigurationDtoFromJSON,
|
|
@@ -129,10 +136,10 @@ export interface WithSettingsInner {
|
|
|
129
136
|
timezone: string;
|
|
130
137
|
/**
|
|
131
138
|
*
|
|
132
|
-
* @type {
|
|
139
|
+
* @type {AccountAliasDto}
|
|
133
140
|
* @memberof WithSettingsInner
|
|
134
141
|
*/
|
|
135
|
-
alias:
|
|
142
|
+
alias: AccountAliasDto;
|
|
136
143
|
/**
|
|
137
144
|
*
|
|
138
145
|
* @type {LeadPriceNegotiatorAiAgentConfigurationDto}
|
|
@@ -184,7 +191,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
184
191
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
185
192
|
'timeTable': TimeTableConfigurationDtoFromJSON(json['timeTable']),
|
|
186
193
|
'timezone': json['timezone'],
|
|
187
|
-
'alias': json['alias'],
|
|
194
|
+
'alias': AccountAliasDtoFromJSON(json['alias']),
|
|
188
195
|
'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiatorAiAgent']),
|
|
189
196
|
};
|
|
190
197
|
}
|
|
@@ -212,7 +219,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
212
219
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
213
220
|
'timeTable': TimeTableConfigurationDtoToJSON(value['timeTable']),
|
|
214
221
|
'timezone': value['timezone'],
|
|
215
|
-
'alias': value['alias'],
|
|
222
|
+
'alias': AccountAliasDtoToJSON(value['alias']),
|
|
216
223
|
'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiatorAiAgent']),
|
|
217
224
|
};
|
|
218
225
|
}
|
package/src/models/index.ts
CHANGED