@dynamic-labs/sdk-api 0.20.0 → 0.22.0
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/package.json +1 -1
- package/src/apis/AdminActionsApi.cjs +1 -0
- package/src/apis/AdminActionsApi.js +1 -0
- package/src/apis/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/AuthorizedClientsApi.cjs +1 -0
- package/src/apis/AuthorizedClientsApi.js +1 -0
- package/src/apis/BusinessAccountsApi.cjs +300 -0
- package/src/apis/BusinessAccountsApi.d.ts +64 -0
- package/src/apis/BusinessAccountsApi.js +296 -0
- package/src/apis/CaptchaApi.cjs +1 -0
- package/src/apis/CaptchaApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CheckoutApi.cjs +1 -0
- package/src/apis/CheckoutApi.js +1 -0
- package/src/apis/ClientGrantApi.cjs +1 -0
- package/src/apis/ClientGrantApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExchangesApi.cjs +1 -0
- package/src/apis/ExchangesApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/FlowAnalyticsApi.cjs +1 -0
- package/src/apis/FlowAnalyticsApi.js +1 -0
- package/src/apis/GaslessApi.cjs +1 -0
- package/src/apis/GaslessApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/KybApi.cjs +1 -0
- package/src/apis/KybApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationSettingsApi.cjs +1 -0
- package/src/apis/OrganizationSettingsApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/ProvidersApi.cjs +1 -0
- package/src/apis/ProvidersApi.js +1 -0
- package/src/apis/SDKApi.cjs +2 -1
- package/src/apis/SDKApi.js +2 -1
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ServerApi.cjs +1 -0
- package/src/apis/ServerApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WalletConnectApi.cjs +1 -0
- package/src/apis/WalletConnectApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/apis/YieldApi.cjs +1 -0
- package/src/apis/YieldApi.js +1 -0
- package/src/apis/ZendeskApi.cjs +1 -0
- package/src/apis/ZendeskApi.js +1 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +38 -0
- package/src/index.js +9 -0
- package/src/models/BusinessAccountActionEnum.cjs +55 -0
- package/src/models/BusinessAccountActionEnum.d.ts +38 -0
- package/src/models/BusinessAccountActionEnum.js +49 -0
- package/src/models/BusinessAccountActivityEntry.cjs +46 -0
- package/src/models/BusinessAccountActivityEntry.d.ts +64 -0
- package/src/models/BusinessAccountActivityEntry.js +40 -0
- package/src/models/BusinessAccountActivityResponse.cjs +35 -0
- package/src/models/BusinessAccountActivityResponse.d.ts +34 -0
- package/src/models/BusinessAccountActivityResponse.js +29 -0
- package/src/models/BusinessAccountAdminDetail.cjs +64 -0
- package/src/models/BusinessAccountAdminDetail.d.ts +114 -0
- package/src/models/BusinessAccountAdminDetail.js +58 -0
- package/src/models/BusinessAccountAdminDetailAllOf.cjs +39 -0
- package/src/models/BusinessAccountAdminDetailAllOf.d.ts +42 -0
- package/src/models/BusinessAccountAdminDetailAllOf.js +33 -0
- package/src/models/BusinessAccountSummary.cjs +55 -0
- package/src/models/BusinessAccountSummary.d.ts +93 -0
- package/src/models/BusinessAccountSummary.js +49 -0
- package/src/models/BusinessAccountSummaryAllOf.cjs +41 -0
- package/src/models/BusinessAccountSummaryAllOf.d.ts +51 -0
- package/src/models/BusinessAccountSummaryAllOf.js +35 -0
- package/src/models/BusinessAccountsResponse.cjs +40 -0
- package/src/models/BusinessAccountsResponse.d.ts +46 -0
- package/src/models/BusinessAccountsResponse.js +34 -0
- package/src/models/Flow.cjs +2 -0
- package/src/models/Flow.d.ts +6 -0
- package/src/models/Flow.js +2 -0
- package/src/models/FlowCreateRequest.cjs +2 -0
- package/src/models/FlowCreateRequest.d.ts +6 -0
- package/src/models/FlowCreateRequest.js +2 -0
- package/src/models/FlowPaymentLinkCreateRequest.cjs +2 -0
- package/src/models/FlowPaymentLinkCreateRequest.d.ts +6 -0
- package/src/models/FlowPaymentLinkCreateRequest.js +2 -0
- package/src/models/ScreeningPreScreenNode.cjs +2 -0
- package/src/models/ScreeningPreScreenNode.d.ts +19 -2
- package/src/models/ScreeningPreScreenNode.js +2 -0
- package/src/models/ScreeningPreScreenRule.d.ts +4 -1
- package/src/models/index.d.ts +8 -0
package/src/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export { AdminActionsApi } from './apis/AdminActionsApi.js';
|
|
|
3
3
|
export { AllowlistsApi } from './apis/AllowlistsApi.js';
|
|
4
4
|
export { AnalyticsApi, GetAnalyticsOverviewGranularityEnum } from './apis/AnalyticsApi.js';
|
|
5
5
|
export { AuthorizedClientsApi } from './apis/AuthorizedClientsApi.js';
|
|
6
|
+
export { BusinessAccountsApi } from './apis/BusinessAccountsApi.js';
|
|
6
7
|
export { CaptchaApi } from './apis/CaptchaApi.js';
|
|
7
8
|
export { ChainalysisApi } from './apis/ChainalysisApi.js';
|
|
8
9
|
export { ChainsApi } from './apis/ChainsApi.js';
|
|
@@ -133,6 +134,11 @@ export { BlockaidValidationFromJSON, BlockaidValidationFromJSONTyped, BlockaidVa
|
|
|
133
134
|
export { BulkUserCreateResponseFromJSON, BulkUserCreateResponseFromJSONTyped, BulkUserCreateResponseToJSON } from './models/BulkUserCreateResponse.js';
|
|
134
135
|
export { BulkUserCreateResponseFailedFromJSON, BulkUserCreateResponseFailedFromJSONTyped, BulkUserCreateResponseFailedToJSON } from './models/BulkUserCreateResponseFailed.js';
|
|
135
136
|
export { BusinessAccountFromJSON, BusinessAccountFromJSONTyped, BusinessAccountToJSON } from './models/BusinessAccount.js';
|
|
137
|
+
export { BusinessAccountActionEnum, BusinessAccountActionEnumFromJSON, BusinessAccountActionEnumFromJSONTyped, BusinessAccountActionEnumToJSON } from './models/BusinessAccountActionEnum.js';
|
|
138
|
+
export { BusinessAccountActivityEntryFromJSON, BusinessAccountActivityEntryFromJSONTyped, BusinessAccountActivityEntryToJSON } from './models/BusinessAccountActivityEntry.js';
|
|
139
|
+
export { BusinessAccountActivityResponseFromJSON, BusinessAccountActivityResponseFromJSONTyped, BusinessAccountActivityResponseToJSON } from './models/BusinessAccountActivityResponse.js';
|
|
140
|
+
export { BusinessAccountAdminDetailFromJSON, BusinessAccountAdminDetailFromJSONTyped, BusinessAccountAdminDetailToJSON } from './models/BusinessAccountAdminDetail.js';
|
|
141
|
+
export { BusinessAccountAdminDetailAllOfFromJSON, BusinessAccountAdminDetailAllOfFromJSONTyped, BusinessAccountAdminDetailAllOfToJSON } from './models/BusinessAccountAdminDetailAllOf.js';
|
|
136
142
|
export { BusinessAccountDetailFromJSON, BusinessAccountDetailFromJSONTyped, BusinessAccountDetailToJSON } from './models/BusinessAccountDetail.js';
|
|
137
143
|
export { BusinessAccountDetailAllOfFromJSON, BusinessAccountDetailAllOfFromJSONTyped, BusinessAccountDetailAllOfToJSON } from './models/BusinessAccountDetailAllOf.js';
|
|
138
144
|
export { BusinessAccountListFromJSON, BusinessAccountListFromJSONTyped, BusinessAccountListToJSON } from './models/BusinessAccountList.js';
|
|
@@ -141,7 +147,10 @@ export { BusinessAccountMemberRole, BusinessAccountMemberRoleFromJSON, BusinessA
|
|
|
141
147
|
export { BusinessAccountPropertiesFromJSON, BusinessAccountPropertiesFromJSONTyped, BusinessAccountPropertiesToJSON } from './models/BusinessAccountProperties.js';
|
|
142
148
|
export { BusinessAccountSignerFromJSON, BusinessAccountSignerFromJSONTyped, BusinessAccountSignerToJSON } from './models/BusinessAccountSigner.js';
|
|
143
149
|
export { BusinessAccountSignerType, BusinessAccountSignerTypeFromJSON, BusinessAccountSignerTypeFromJSONTyped, BusinessAccountSignerTypeToJSON } from './models/BusinessAccountSignerType.js';
|
|
150
|
+
export { BusinessAccountSummaryFromJSON, BusinessAccountSummaryFromJSONTyped, BusinessAccountSummaryToJSON } from './models/BusinessAccountSummary.js';
|
|
151
|
+
export { BusinessAccountSummaryAllOfFromJSON, BusinessAccountSummaryAllOfFromJSONTyped, BusinessAccountSummaryAllOfToJSON } from './models/BusinessAccountSummaryAllOf.js';
|
|
144
152
|
export { BusinessAccountWalletFromJSON, BusinessAccountWalletFromJSONTyped, BusinessAccountWalletToJSON } from './models/BusinessAccountWallet.js';
|
|
153
|
+
export { BusinessAccountsResponseFromJSON, BusinessAccountsResponseFromJSONTyped, BusinessAccountsResponseToJSON } from './models/BusinessAccountsResponse.js';
|
|
145
154
|
export { CaptchaProviderEnum, CaptchaProviderEnumFromJSON, CaptchaProviderEnumFromJSONTyped, CaptchaProviderEnumToJSON } from './models/CaptchaProviderEnum.js';
|
|
146
155
|
export { CaptchaSettingsFromJSON, CaptchaSettingsFromJSONTyped, CaptchaSettingsToJSON } from './models/CaptchaSettings.js';
|
|
147
156
|
export { CaptchaSettingsCreateRequestFromJSON, CaptchaSettingsCreateRequestFromJSONTyped, CaptchaSettingsCreateRequestToJSON } from './models/CaptchaSettingsCreateRequest.js';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Audited business account action
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.BusinessAccountActionEnum = void 0;
|
|
24
|
+
(function (BusinessAccountActionEnum) {
|
|
25
|
+
BusinessAccountActionEnum["BusinessAccountCreated"] = "businessAccountCreated";
|
|
26
|
+
BusinessAccountActionEnum["BusinessAccountRenamed"] = "businessAccountRenamed";
|
|
27
|
+
BusinessAccountActionEnum["BusinessAccountDeleted"] = "businessAccountDeleted";
|
|
28
|
+
BusinessAccountActionEnum["MemberAdded"] = "memberAdded";
|
|
29
|
+
BusinessAccountActionEnum["MemberRoleChanged"] = "memberRoleChanged";
|
|
30
|
+
BusinessAccountActionEnum["MemberRemoved"] = "memberRemoved";
|
|
31
|
+
BusinessAccountActionEnum["OwnershipTransferred"] = "ownershipTransferred";
|
|
32
|
+
BusinessAccountActionEnum["SignerAdded"] = "signerAdded";
|
|
33
|
+
BusinessAccountActionEnum["SignerRevoked"] = "signerRevoked";
|
|
34
|
+
BusinessAccountActionEnum["SignerExpired"] = "signerExpired";
|
|
35
|
+
BusinessAccountActionEnum["WalletAttached"] = "walletAttached";
|
|
36
|
+
BusinessAccountActionEnum["WalletDetached"] = "walletDetached";
|
|
37
|
+
BusinessAccountActionEnum["WalletTransferred"] = "walletTransferred";
|
|
38
|
+
BusinessAccountActionEnum["ShareSetCreated"] = "shareSetCreated";
|
|
39
|
+
BusinessAccountActionEnum["ShareSetReshared"] = "shareSetReshared";
|
|
40
|
+
BusinessAccountActionEnum["ShareSetRefreshed"] = "shareSetRefreshed";
|
|
41
|
+
BusinessAccountActionEnum["ShareSetRevoked"] = "shareSetRevoked";
|
|
42
|
+
})(exports.BusinessAccountActionEnum || (exports.BusinessAccountActionEnum = {}));
|
|
43
|
+
function BusinessAccountActionEnumFromJSON(json) {
|
|
44
|
+
return BusinessAccountActionEnumFromJSONTyped(json);
|
|
45
|
+
}
|
|
46
|
+
function BusinessAccountActionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
function BusinessAccountActionEnumToJSON(value) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
exports.BusinessAccountActionEnumFromJSON = BusinessAccountActionEnumFromJSON;
|
|
54
|
+
exports.BusinessAccountActionEnumFromJSONTyped = BusinessAccountActionEnumFromJSONTyped;
|
|
55
|
+
exports.BusinessAccountActionEnumToJSON = BusinessAccountActionEnumToJSON;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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
|
+
* Audited business account action
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum BusinessAccountActionEnum {
|
|
18
|
+
BusinessAccountCreated = "businessAccountCreated",
|
|
19
|
+
BusinessAccountRenamed = "businessAccountRenamed",
|
|
20
|
+
BusinessAccountDeleted = "businessAccountDeleted",
|
|
21
|
+
MemberAdded = "memberAdded",
|
|
22
|
+
MemberRoleChanged = "memberRoleChanged",
|
|
23
|
+
MemberRemoved = "memberRemoved",
|
|
24
|
+
OwnershipTransferred = "ownershipTransferred",
|
|
25
|
+
SignerAdded = "signerAdded",
|
|
26
|
+
SignerRevoked = "signerRevoked",
|
|
27
|
+
SignerExpired = "signerExpired",
|
|
28
|
+
WalletAttached = "walletAttached",
|
|
29
|
+
WalletDetached = "walletDetached",
|
|
30
|
+
WalletTransferred = "walletTransferred",
|
|
31
|
+
ShareSetCreated = "shareSetCreated",
|
|
32
|
+
ShareSetReshared = "shareSetReshared",
|
|
33
|
+
ShareSetRefreshed = "shareSetRefreshed",
|
|
34
|
+
ShareSetRevoked = "shareSetRevoked"
|
|
35
|
+
}
|
|
36
|
+
export declare function BusinessAccountActionEnumFromJSON(json: any): BusinessAccountActionEnum;
|
|
37
|
+
export declare function BusinessAccountActionEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountActionEnum;
|
|
38
|
+
export declare function BusinessAccountActionEnumToJSON(value?: BusinessAccountActionEnum | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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
|
+
* Audited business account action
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var BusinessAccountActionEnum;
|
|
20
|
+
(function (BusinessAccountActionEnum) {
|
|
21
|
+
BusinessAccountActionEnum["BusinessAccountCreated"] = "businessAccountCreated";
|
|
22
|
+
BusinessAccountActionEnum["BusinessAccountRenamed"] = "businessAccountRenamed";
|
|
23
|
+
BusinessAccountActionEnum["BusinessAccountDeleted"] = "businessAccountDeleted";
|
|
24
|
+
BusinessAccountActionEnum["MemberAdded"] = "memberAdded";
|
|
25
|
+
BusinessAccountActionEnum["MemberRoleChanged"] = "memberRoleChanged";
|
|
26
|
+
BusinessAccountActionEnum["MemberRemoved"] = "memberRemoved";
|
|
27
|
+
BusinessAccountActionEnum["OwnershipTransferred"] = "ownershipTransferred";
|
|
28
|
+
BusinessAccountActionEnum["SignerAdded"] = "signerAdded";
|
|
29
|
+
BusinessAccountActionEnum["SignerRevoked"] = "signerRevoked";
|
|
30
|
+
BusinessAccountActionEnum["SignerExpired"] = "signerExpired";
|
|
31
|
+
BusinessAccountActionEnum["WalletAttached"] = "walletAttached";
|
|
32
|
+
BusinessAccountActionEnum["WalletDetached"] = "walletDetached";
|
|
33
|
+
BusinessAccountActionEnum["WalletTransferred"] = "walletTransferred";
|
|
34
|
+
BusinessAccountActionEnum["ShareSetCreated"] = "shareSetCreated";
|
|
35
|
+
BusinessAccountActionEnum["ShareSetReshared"] = "shareSetReshared";
|
|
36
|
+
BusinessAccountActionEnum["ShareSetRefreshed"] = "shareSetRefreshed";
|
|
37
|
+
BusinessAccountActionEnum["ShareSetRevoked"] = "shareSetRevoked";
|
|
38
|
+
})(BusinessAccountActionEnum || (BusinessAccountActionEnum = {}));
|
|
39
|
+
function BusinessAccountActionEnumFromJSON(json) {
|
|
40
|
+
return BusinessAccountActionEnumFromJSONTyped(json);
|
|
41
|
+
}
|
|
42
|
+
function BusinessAccountActionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function BusinessAccountActionEnumToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export { BusinessAccountActionEnum, BusinessAccountActionEnumFromJSON, BusinessAccountActionEnumFromJSONTyped, BusinessAccountActionEnumToJSON };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BusinessAccountActionEnum = require('./BusinessAccountActionEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function BusinessAccountActivityEntryFromJSON(json) {
|
|
10
|
+
return BusinessAccountActivityEntryFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function BusinessAccountActivityEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'id': json['id'],
|
|
18
|
+
'businessAccountId': json['businessAccountId'],
|
|
19
|
+
'action': BusinessAccountActionEnum.BusinessAccountActionEnumFromJSON(json['action']),
|
|
20
|
+
'takenByUserId': !runtime.exists(json, 'takenByUserId') ? undefined : json['takenByUserId'],
|
|
21
|
+
'takenByEmail': !runtime.exists(json, 'takenByEmail') ? undefined : json['takenByEmail'],
|
|
22
|
+
'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
|
|
23
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function BusinessAccountActivityEntryToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': value.id,
|
|
35
|
+
'businessAccountId': value.businessAccountId,
|
|
36
|
+
'action': BusinessAccountActionEnum.BusinessAccountActionEnumToJSON(value.action),
|
|
37
|
+
'takenByUserId': value.takenByUserId,
|
|
38
|
+
'takenByEmail': value.takenByEmail,
|
|
39
|
+
'metadata': value.metadata,
|
|
40
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
exports.BusinessAccountActivityEntryFromJSON = BusinessAccountActivityEntryFromJSON;
|
|
45
|
+
exports.BusinessAccountActivityEntryFromJSONTyped = BusinessAccountActivityEntryFromJSONTyped;
|
|
46
|
+
exports.BusinessAccountActivityEntryToJSON = BusinessAccountActivityEntryToJSON;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { BusinessAccountActionEnum } from './BusinessAccountActionEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BusinessAccountActivityEntry
|
|
17
|
+
*/
|
|
18
|
+
export interface BusinessAccountActivityEntry {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BusinessAccountActivityEntry
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BusinessAccountActivityEntry
|
|
29
|
+
*/
|
|
30
|
+
businessAccountId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {BusinessAccountActionEnum}
|
|
34
|
+
* @memberof BusinessAccountActivityEntry
|
|
35
|
+
*/
|
|
36
|
+
action: BusinessAccountActionEnum;
|
|
37
|
+
/**
|
|
38
|
+
* Null when the action was system-triggered
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof BusinessAccountActivityEntry
|
|
41
|
+
*/
|
|
42
|
+
takenByUserId?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Verified email of the actor, when they have one
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BusinessAccountActivityEntry
|
|
47
|
+
*/
|
|
48
|
+
takenByEmail?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Per-action context, such as target identifiers and changed values
|
|
51
|
+
* @type {object}
|
|
52
|
+
* @memberof BusinessAccountActivityEntry
|
|
53
|
+
*/
|
|
54
|
+
metadata?: object;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof BusinessAccountActivityEntry
|
|
59
|
+
*/
|
|
60
|
+
createdAt: Date;
|
|
61
|
+
}
|
|
62
|
+
export declare function BusinessAccountActivityEntryFromJSON(json: any): BusinessAccountActivityEntry;
|
|
63
|
+
export declare function BusinessAccountActivityEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountActivityEntry;
|
|
64
|
+
export declare function BusinessAccountActivityEntryToJSON(value?: BusinessAccountActivityEntry | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountActionEnumFromJSON, BusinessAccountActionEnumToJSON } from './BusinessAccountActionEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function BusinessAccountActivityEntryFromJSON(json) {
|
|
6
|
+
return BusinessAccountActivityEntryFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function BusinessAccountActivityEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'id': json['id'],
|
|
14
|
+
'businessAccountId': json['businessAccountId'],
|
|
15
|
+
'action': BusinessAccountActionEnumFromJSON(json['action']),
|
|
16
|
+
'takenByUserId': !exists(json, 'takenByUserId') ? undefined : json['takenByUserId'],
|
|
17
|
+
'takenByEmail': !exists(json, 'takenByEmail') ? undefined : json['takenByEmail'],
|
|
18
|
+
'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
|
|
19
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function BusinessAccountActivityEntryToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': value.id,
|
|
31
|
+
'businessAccountId': value.businessAccountId,
|
|
32
|
+
'action': BusinessAccountActionEnumToJSON(value.action),
|
|
33
|
+
'takenByUserId': value.takenByUserId,
|
|
34
|
+
'takenByEmail': value.takenByEmail,
|
|
35
|
+
'metadata': value.metadata,
|
|
36
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { BusinessAccountActivityEntryFromJSON, BusinessAccountActivityEntryFromJSONTyped, BusinessAccountActivityEntryToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var BusinessAccountActivityEntry = require('./BusinessAccountActivityEntry.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function BusinessAccountActivityResponseFromJSON(json) {
|
|
9
|
+
return BusinessAccountActivityResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function BusinessAccountActivityResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'entries': (json['entries'].map(BusinessAccountActivityEntry.BusinessAccountActivityEntryFromJSON)),
|
|
17
|
+
'nextCursor': json['nextCursor'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function BusinessAccountActivityResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'entries': (value.entries.map(BusinessAccountActivityEntry.BusinessAccountActivityEntryToJSON)),
|
|
29
|
+
'nextCursor': value.nextCursor,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.BusinessAccountActivityResponseFromJSON = BusinessAccountActivityResponseFromJSON;
|
|
34
|
+
exports.BusinessAccountActivityResponseFromJSONTyped = BusinessAccountActivityResponseFromJSONTyped;
|
|
35
|
+
exports.BusinessAccountActivityResponseToJSON = BusinessAccountActivityResponseToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { BusinessAccountActivityEntry } from './BusinessAccountActivityEntry';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BusinessAccountActivityResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface BusinessAccountActivityResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<BusinessAccountActivityEntry>}
|
|
22
|
+
* @memberof BusinessAccountActivityResponse
|
|
23
|
+
*/
|
|
24
|
+
entries: Array<BusinessAccountActivityEntry>;
|
|
25
|
+
/**
|
|
26
|
+
* Cursor for fetching the next page, null if no more pages
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BusinessAccountActivityResponse
|
|
29
|
+
*/
|
|
30
|
+
nextCursor: string | null;
|
|
31
|
+
}
|
|
32
|
+
export declare function BusinessAccountActivityResponseFromJSON(json: any): BusinessAccountActivityResponse;
|
|
33
|
+
export declare function BusinessAccountActivityResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountActivityResponse;
|
|
34
|
+
export declare function BusinessAccountActivityResponseToJSON(value?: BusinessAccountActivityResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BusinessAccountActivityEntryFromJSON, BusinessAccountActivityEntryToJSON } from './BusinessAccountActivityEntry.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function BusinessAccountActivityResponseFromJSON(json) {
|
|
5
|
+
return BusinessAccountActivityResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function BusinessAccountActivityResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'entries': (json['entries'].map(BusinessAccountActivityEntryFromJSON)),
|
|
13
|
+
'nextCursor': json['nextCursor'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function BusinessAccountActivityResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'entries': (value.entries.map(BusinessAccountActivityEntryToJSON)),
|
|
25
|
+
'nextCursor': value.nextCursor,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { BusinessAccountActivityResponseFromJSON, BusinessAccountActivityResponseFromJSONTyped, BusinessAccountActivityResponseToJSON };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BusinessAccountMember = require('./BusinessAccountMember.cjs');
|
|
7
|
+
var BusinessAccountSigner = require('./BusinessAccountSigner.cjs');
|
|
8
|
+
var BusinessAccountWallet = require('./BusinessAccountWallet.cjs');
|
|
9
|
+
|
|
10
|
+
/* tslint:disable */
|
|
11
|
+
function BusinessAccountAdminDetailFromJSON(json) {
|
|
12
|
+
return BusinessAccountAdminDetailFromJSONTyped(json);
|
|
13
|
+
}
|
|
14
|
+
function BusinessAccountAdminDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if ((json === undefined) || (json === null)) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
'id': json['id'],
|
|
20
|
+
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
21
|
+
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
22
|
+
'externalRef': !runtime.exists(json, 'externalRef') ? undefined : json['externalRef'],
|
|
23
|
+
'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
|
|
24
|
+
'createdAt': !runtime.exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
25
|
+
'updatedAt': !runtime.exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
26
|
+
'memberCount': json['memberCount'],
|
|
27
|
+
'signerCount': json['signerCount'],
|
|
28
|
+
'walletCount': json['walletCount'],
|
|
29
|
+
'rbacVersion': !runtime.exists(json, 'rbacVersion') ? undefined : json['rbacVersion'],
|
|
30
|
+
'rbacSignedAt': !runtime.exists(json, 'rbacSignedAt') ? undefined : (json['rbacSignedAt'] === null ? null : new Date(json['rbacSignedAt'])),
|
|
31
|
+
'members': (json['members'].map(BusinessAccountMember.BusinessAccountMemberFromJSON)),
|
|
32
|
+
'signers': (json['signers'].map(BusinessAccountSigner.BusinessAccountSignerFromJSON)),
|
|
33
|
+
'wallets': (json['wallets'].map(BusinessAccountWallet.BusinessAccountWalletFromJSON)),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function BusinessAccountAdminDetailToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': value.id,
|
|
45
|
+
'projectEnvironmentId': value.projectEnvironmentId,
|
|
46
|
+
'name': value.name,
|
|
47
|
+
'externalRef': value.externalRef,
|
|
48
|
+
'metadata': value.metadata,
|
|
49
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
50
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
51
|
+
'memberCount': value.memberCount,
|
|
52
|
+
'signerCount': value.signerCount,
|
|
53
|
+
'walletCount': value.walletCount,
|
|
54
|
+
'rbacVersion': value.rbacVersion,
|
|
55
|
+
'rbacSignedAt': value.rbacSignedAt === undefined ? undefined : (value.rbacSignedAt === null ? null : value.rbacSignedAt.toISOString()),
|
|
56
|
+
'members': (value.members.map(BusinessAccountMember.BusinessAccountMemberToJSON)),
|
|
57
|
+
'signers': (value.signers.map(BusinessAccountSigner.BusinessAccountSignerToJSON)),
|
|
58
|
+
'wallets': (value.wallets.map(BusinessAccountWallet.BusinessAccountWalletToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
exports.BusinessAccountAdminDetailFromJSON = BusinessAccountAdminDetailFromJSON;
|
|
63
|
+
exports.BusinessAccountAdminDetailFromJSONTyped = BusinessAccountAdminDetailFromJSONTyped;
|
|
64
|
+
exports.BusinessAccountAdminDetailToJSON = BusinessAccountAdminDetailToJSON;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { BusinessAccountMember } from './BusinessAccountMember';
|
|
13
|
+
import { BusinessAccountSigner } from './BusinessAccountSigner';
|
|
14
|
+
import { BusinessAccountWallet } from './BusinessAccountWallet';
|
|
15
|
+
/**
|
|
16
|
+
* Business account with its members, signers, and wallets for the dashboard detail view
|
|
17
|
+
* @export
|
|
18
|
+
* @interface BusinessAccountAdminDetail
|
|
19
|
+
*/
|
|
20
|
+
export interface BusinessAccountAdminDetail {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof BusinessAccountAdminDetail
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof BusinessAccountAdminDetail
|
|
31
|
+
*/
|
|
32
|
+
projectEnvironmentId: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof BusinessAccountAdminDetail
|
|
37
|
+
*/
|
|
38
|
+
name?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Developer-supplied stable ID inside the env
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof BusinessAccountAdminDetail
|
|
43
|
+
*/
|
|
44
|
+
externalRef?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {object}
|
|
48
|
+
* @memberof BusinessAccountAdminDetail
|
|
49
|
+
*/
|
|
50
|
+
metadata?: object;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Date}
|
|
54
|
+
* @memberof BusinessAccountAdminDetail
|
|
55
|
+
*/
|
|
56
|
+
createdAt?: Date;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Date}
|
|
60
|
+
* @memberof BusinessAccountAdminDetail
|
|
61
|
+
*/
|
|
62
|
+
updatedAt?: Date;
|
|
63
|
+
/**
|
|
64
|
+
* Number of active members
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof BusinessAccountAdminDetail
|
|
67
|
+
*/
|
|
68
|
+
memberCount: number;
|
|
69
|
+
/**
|
|
70
|
+
* Number of active, unrevoked signers
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof BusinessAccountAdminDetail
|
|
73
|
+
*/
|
|
74
|
+
signerCount: number;
|
|
75
|
+
/**
|
|
76
|
+
* Number of active wallets bound to the business account
|
|
77
|
+
* @type {number}
|
|
78
|
+
* @memberof BusinessAccountAdminDetail
|
|
79
|
+
*/
|
|
80
|
+
walletCount: number;
|
|
81
|
+
/**
|
|
82
|
+
* Version of the signed role-based access control document
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof BusinessAccountAdminDetail
|
|
85
|
+
*/
|
|
86
|
+
rbacVersion?: number | null;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {Date}
|
|
90
|
+
* @memberof BusinessAccountAdminDetail
|
|
91
|
+
*/
|
|
92
|
+
rbacSignedAt?: Date | null;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {Array<BusinessAccountMember>}
|
|
96
|
+
* @memberof BusinessAccountAdminDetail
|
|
97
|
+
*/
|
|
98
|
+
members: Array<BusinessAccountMember>;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {Array<BusinessAccountSigner>}
|
|
102
|
+
* @memberof BusinessAccountAdminDetail
|
|
103
|
+
*/
|
|
104
|
+
signers: Array<BusinessAccountSigner>;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {Array<BusinessAccountWallet>}
|
|
108
|
+
* @memberof BusinessAccountAdminDetail
|
|
109
|
+
*/
|
|
110
|
+
wallets: Array<BusinessAccountWallet>;
|
|
111
|
+
}
|
|
112
|
+
export declare function BusinessAccountAdminDetailFromJSON(json: any): BusinessAccountAdminDetail;
|
|
113
|
+
export declare function BusinessAccountAdminDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountAdminDetail;
|
|
114
|
+
export declare function BusinessAccountAdminDetailToJSON(value?: BusinessAccountAdminDetail | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountMemberFromJSON, BusinessAccountMemberToJSON } from './BusinessAccountMember.js';
|
|
3
|
+
import { BusinessAccountSignerFromJSON, BusinessAccountSignerToJSON } from './BusinessAccountSigner.js';
|
|
4
|
+
import { BusinessAccountWalletFromJSON, BusinessAccountWalletToJSON } from './BusinessAccountWallet.js';
|
|
5
|
+
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
function BusinessAccountAdminDetailFromJSON(json) {
|
|
8
|
+
return BusinessAccountAdminDetailFromJSONTyped(json);
|
|
9
|
+
}
|
|
10
|
+
function BusinessAccountAdminDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if ((json === undefined) || (json === null)) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
'id': json['id'],
|
|
16
|
+
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
17
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
18
|
+
'externalRef': !exists(json, 'externalRef') ? undefined : json['externalRef'],
|
|
19
|
+
'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
|
|
20
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
21
|
+
'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
22
|
+
'memberCount': json['memberCount'],
|
|
23
|
+
'signerCount': json['signerCount'],
|
|
24
|
+
'walletCount': json['walletCount'],
|
|
25
|
+
'rbacVersion': !exists(json, 'rbacVersion') ? undefined : json['rbacVersion'],
|
|
26
|
+
'rbacSignedAt': !exists(json, 'rbacSignedAt') ? undefined : (json['rbacSignedAt'] === null ? null : new Date(json['rbacSignedAt'])),
|
|
27
|
+
'members': (json['members'].map(BusinessAccountMemberFromJSON)),
|
|
28
|
+
'signers': (json['signers'].map(BusinessAccountSignerFromJSON)),
|
|
29
|
+
'wallets': (json['wallets'].map(BusinessAccountWalletFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function BusinessAccountAdminDetailToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': value.id,
|
|
41
|
+
'projectEnvironmentId': value.projectEnvironmentId,
|
|
42
|
+
'name': value.name,
|
|
43
|
+
'externalRef': value.externalRef,
|
|
44
|
+
'metadata': value.metadata,
|
|
45
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
46
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
47
|
+
'memberCount': value.memberCount,
|
|
48
|
+
'signerCount': value.signerCount,
|
|
49
|
+
'walletCount': value.walletCount,
|
|
50
|
+
'rbacVersion': value.rbacVersion,
|
|
51
|
+
'rbacSignedAt': value.rbacSignedAt === undefined ? undefined : (value.rbacSignedAt === null ? null : value.rbacSignedAt.toISOString()),
|
|
52
|
+
'members': (value.members.map(BusinessAccountMemberToJSON)),
|
|
53
|
+
'signers': (value.signers.map(BusinessAccountSignerToJSON)),
|
|
54
|
+
'wallets': (value.wallets.map(BusinessAccountWalletToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { BusinessAccountAdminDetailFromJSON, BusinessAccountAdminDetailFromJSONTyped, BusinessAccountAdminDetailToJSON };
|