@dynamic-labs/sdk-api 0.0.1074 → 0.0.1076
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 +2 -0
- package/src/apis/AdminActionsApi.js +2 -0
- package/src/apis/AllowlistsApi.cjs +2 -0
- package/src/apis/AllowlistsApi.js +2 -0
- package/src/apis/AnalyticsApi.cjs +2 -0
- package/src/apis/AnalyticsApi.js +2 -0
- package/src/apis/AuthorizedClientsApi.cjs +2 -0
- package/src/apis/AuthorizedClientsApi.js +2 -0
- package/src/apis/CaptchaApi.cjs +2 -0
- package/src/apis/CaptchaApi.js +2 -0
- package/src/apis/ChainalysisApi.cjs +2 -0
- package/src/apis/ChainalysisApi.js +2 -0
- package/src/apis/ChainsApi.cjs +2 -0
- package/src/apis/ChainsApi.js +2 -0
- package/src/apis/CheckoutApi.cjs +2 -0
- package/src/apis/CheckoutApi.js +2 -0
- package/src/apis/ClientGrantApi.cjs +2 -0
- package/src/apis/ClientGrantApi.js +2 -0
- package/src/apis/CustomFieldsApi.cjs +2 -0
- package/src/apis/CustomFieldsApi.js +2 -0
- package/src/apis/CustomHostnamesApi.cjs +2 -0
- package/src/apis/CustomHostnamesApi.js +2 -0
- package/src/apis/CustomNetworksApi.cjs +2 -0
- package/src/apis/CustomNetworksApi.js +2 -0
- package/src/apis/DeeplinkUrlsApi.cjs +2 -0
- package/src/apis/DeeplinkUrlsApi.js +2 -0
- package/src/apis/EnvironmentsApi.cjs +2 -0
- package/src/apis/EnvironmentsApi.js +2 -0
- package/src/apis/EventsApi.cjs +2 -0
- package/src/apis/EventsApi.js +2 -0
- package/src/apis/ExchangesApi.cjs +2 -0
- package/src/apis/ExchangesApi.js +2 -0
- package/src/apis/ExportsApi.cjs +2 -0
- package/src/apis/ExportsApi.js +2 -0
- package/src/apis/ExternalJwtApi.cjs +2 -0
- package/src/apis/ExternalJwtApi.js +2 -0
- package/src/apis/FlowAnalyticsApi.cjs +2 -0
- package/src/apis/FlowAnalyticsApi.js +2 -0
- package/src/apis/GatesApi.cjs +2 -0
- package/src/apis/GatesApi.js +2 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +2 -0
- package/src/apis/GlobalWalletAccessControlApi.js +2 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +2 -0
- package/src/apis/GlobalWalletConnectionsApi.js +2 -0
- package/src/apis/GlobalWalletsApi.cjs +2 -0
- package/src/apis/GlobalWalletsApi.js +2 -0
- package/src/apis/InvitesApi.cjs +2 -0
- package/src/apis/InvitesApi.js +2 -0
- package/src/apis/MembersApi.cjs +2 -0
- package/src/apis/MembersApi.js +2 -0
- package/src/apis/MfaSettingsApi.cjs +2 -0
- package/src/apis/MfaSettingsApi.js +2 -0
- package/src/apis/NameServicesApi.cjs +2 -0
- package/src/apis/NameServicesApi.js +2 -0
- package/src/apis/OrganizationSettingsApi.cjs +2 -0
- package/src/apis/OrganizationSettingsApi.js +2 -0
- package/src/apis/OrganizationsApi.cjs +2 -0
- package/src/apis/OrganizationsApi.js +2 -0
- package/src/apis/OriginsApi.cjs +2 -0
- package/src/apis/OriginsApi.js +2 -0
- package/src/apis/ProjectsApi.cjs +2 -0
- package/src/apis/ProjectsApi.js +2 -0
- package/src/apis/ProvidersApi.cjs +2 -0
- package/src/apis/ProvidersApi.js +2 -0
- package/src/apis/SDKApi.cjs +186 -3
- package/src/apis/SDKApi.d.ts +76 -5
- package/src/apis/SDKApi.js +186 -3
- package/src/apis/SDKViewsApi.cjs +2 -0
- package/src/apis/SDKViewsApi.js +2 -0
- package/src/apis/SessionsApi.cjs +2 -0
- package/src/apis/SessionsApi.js +2 -0
- package/src/apis/TestAccountApi.cjs +2 -0
- package/src/apis/TestAccountApi.js +2 -0
- package/src/apis/TokensApi.cjs +2 -0
- package/src/apis/TokensApi.js +2 -0
- package/src/apis/UserApiTokensApi.cjs +2 -0
- package/src/apis/UserApiTokensApi.js +2 -0
- package/src/apis/UsersApi.cjs +2 -0
- package/src/apis/UsersApi.js +2 -0
- package/src/apis/VisitsApi.cjs +2 -0
- package/src/apis/VisitsApi.js +2 -0
- package/src/apis/WaasApi.cjs +67 -1
- package/src/apis/WaasApi.d.ts +30 -1
- package/src/apis/WaasApi.js +67 -1
- package/src/apis/WalletConnectApi.cjs +2 -0
- package/src/apis/WalletConnectApi.js +2 -0
- package/src/apis/WalletsApi.cjs +2 -0
- package/src/apis/WalletsApi.js +2 -0
- package/src/apis/WebhooksApi.cjs +2 -0
- package/src/apis/WebhooksApi.js +2 -0
- package/src/index.cjs +32 -0
- package/src/index.js +6 -0
- package/src/models/InlineResponse2008.cjs +3 -3
- package/src/models/InlineResponse2008.d.ts +3 -3
- package/src/models/InlineResponse2008.js +3 -3
- package/src/models/InlineResponse2009.cjs +33 -0
- package/src/models/InlineResponse2009.d.ts +28 -0
- package/src/models/InlineResponse2009.js +27 -0
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.cjs +43 -0
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.d.ts +27 -0
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.js +37 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.cjs +52 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.d.ts +35 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.js +46 -0
- package/src/models/WaasPolicyLayerResponse.cjs +40 -0
- package/src/models/WaasPolicyLayerResponse.d.ts +46 -0
- package/src/models/WaasPolicyLayerResponse.js +34 -0
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs +34 -0
- package/src/models/WaasPolicyLayerResponseLayerContent.d.ts +28 -0
- package/src/models/WaasPolicyLayerResponseLayerContent.js +28 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs +47 -0
- package/src/models/WaasPolicyLayerUpdateRequest.d.ts +48 -0
- package/src/models/WaasPolicyLayerUpdateRequest.js +41 -0
- package/src/models/index.d.ts +6 -0
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
function TransferBusinessAccountOwnershipSdkRequestFromJSON(json) {
|
|
15
|
+
return TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'newOwnerUserId': json['newOwnerUserId'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function TransferBusinessAccountOwnershipSdkRequestToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'newOwnerUserId': value.newOwnerUserId,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { TransferBusinessAccountOwnershipSdkRequestFromJSON, TransferBusinessAccountOwnershipSdkRequestFromJSONTyped, TransferBusinessAccountOwnershipSdkRequestToJSON };
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.UpdateBusinessAccountMemberRoleSdkRequestRoleEnum = void 0;
|
|
23
|
+
(function (UpdateBusinessAccountMemberRoleSdkRequestRoleEnum) {
|
|
24
|
+
UpdateBusinessAccountMemberRoleSdkRequestRoleEnum["Admin"] = "admin";
|
|
25
|
+
UpdateBusinessAccountMemberRoleSdkRequestRoleEnum["Viewer"] = "viewer";
|
|
26
|
+
})(exports.UpdateBusinessAccountMemberRoleSdkRequestRoleEnum || (exports.UpdateBusinessAccountMemberRoleSdkRequestRoleEnum = {}));
|
|
27
|
+
function UpdateBusinessAccountMemberRoleSdkRequestFromJSON(json) {
|
|
28
|
+
return UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'role': json['role'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function UpdateBusinessAccountMemberRoleSdkRequestToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'role': value.role,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
exports.UpdateBusinessAccountMemberRoleSdkRequestFromJSON = UpdateBusinessAccountMemberRoleSdkRequestFromJSON;
|
|
51
|
+
exports.UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped = UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped;
|
|
52
|
+
exports.UpdateBusinessAccountMemberRoleSdkRequestToJSON = UpdateBusinessAccountMemberRoleSdkRequestToJSON;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
* SDK updateMemberRole body. Changes a member's role between admin and viewer. Owner is never a target — ownership moves via transferOwnership.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateBusinessAccountMemberRoleSdkRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateBusinessAccountMemberRoleSdkRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateBusinessAccountMemberRoleSdkRequest
|
|
22
|
+
*/
|
|
23
|
+
role: UpdateBusinessAccountMemberRoleSdkRequestRoleEnum;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
* @enum {string}
|
|
28
|
+
*/
|
|
29
|
+
export declare enum UpdateBusinessAccountMemberRoleSdkRequestRoleEnum {
|
|
30
|
+
Admin = "admin",
|
|
31
|
+
Viewer = "viewer"
|
|
32
|
+
}
|
|
33
|
+
export declare function UpdateBusinessAccountMemberRoleSdkRequestFromJSON(json: any): UpdateBusinessAccountMemberRoleSdkRequest;
|
|
34
|
+
export declare function UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBusinessAccountMemberRoleSdkRequest;
|
|
35
|
+
export declare function UpdateBusinessAccountMemberRoleSdkRequestToJSON(value?: UpdateBusinessAccountMemberRoleSdkRequest | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var UpdateBusinessAccountMemberRoleSdkRequestRoleEnum;
|
|
19
|
+
(function (UpdateBusinessAccountMemberRoleSdkRequestRoleEnum) {
|
|
20
|
+
UpdateBusinessAccountMemberRoleSdkRequestRoleEnum["Admin"] = "admin";
|
|
21
|
+
UpdateBusinessAccountMemberRoleSdkRequestRoleEnum["Viewer"] = "viewer";
|
|
22
|
+
})(UpdateBusinessAccountMemberRoleSdkRequestRoleEnum || (UpdateBusinessAccountMemberRoleSdkRequestRoleEnum = {}));
|
|
23
|
+
function UpdateBusinessAccountMemberRoleSdkRequestFromJSON(json) {
|
|
24
|
+
return UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'role': json['role'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function UpdateBusinessAccountMemberRoleSdkRequestToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'role': value.role,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { UpdateBusinessAccountMemberRoleSdkRequestFromJSON, UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped, UpdateBusinessAccountMemberRoleSdkRequestRoleEnum, UpdateBusinessAccountMemberRoleSdkRequestToJSON };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasPolicyLayerResponseLayerContent = require('./WaasPolicyLayerResponseLayerContent.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function WaasPolicyLayerResponseFromJSON(json) {
|
|
10
|
+
return WaasPolicyLayerResponseFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function WaasPolicyLayerResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'message': !runtime.exists(json, 'message') ? undefined : json['message'],
|
|
18
|
+
'layerId': json['layerId'],
|
|
19
|
+
'layerContent': WaasPolicyLayerResponseLayerContent.WaasPolicyLayerResponseLayerContentFromJSON(json['layerContent']),
|
|
20
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function WaasPolicyLayerResponseToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'message': value.message,
|
|
32
|
+
'layerId': value.layerId,
|
|
33
|
+
'layerContent': WaasPolicyLayerResponseLayerContent.WaasPolicyLayerResponseLayerContentToJSON(value.layerContent),
|
|
34
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.WaasPolicyLayerResponseFromJSON = WaasPolicyLayerResponseFromJSON;
|
|
39
|
+
exports.WaasPolicyLayerResponseFromJSONTyped = WaasPolicyLayerResponseFromJSONTyped;
|
|
40
|
+
exports.WaasPolicyLayerResponseToJSON = WaasPolicyLayerResponseToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { WaasPolicyLayerResponseLayerContent } from './WaasPolicyLayerResponseLayerContent';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasPolicyLayerResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasPolicyLayerResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Message describing the operation result
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WaasPolicyLayerResponse
|
|
23
|
+
*/
|
|
24
|
+
message?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the wallet-Layer
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WaasPolicyLayerResponse
|
|
29
|
+
*/
|
|
30
|
+
layerId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {WaasPolicyLayerResponseLayerContent}
|
|
34
|
+
* @memberof WaasPolicyLayerResponse
|
|
35
|
+
*/
|
|
36
|
+
layerContent: WaasPolicyLayerResponseLayerContent;
|
|
37
|
+
/**
|
|
38
|
+
* ISO 8601 timestamp of when the wallet-Layer was last updated
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof WaasPolicyLayerResponse
|
|
41
|
+
*/
|
|
42
|
+
updatedAt: Date;
|
|
43
|
+
}
|
|
44
|
+
export declare function WaasPolicyLayerResponseFromJSON(json: any): WaasPolicyLayerResponse;
|
|
45
|
+
export declare function WaasPolicyLayerResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerResponse;
|
|
46
|
+
export declare function WaasPolicyLayerResponseToJSON(value?: WaasPolicyLayerResponse | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasPolicyLayerResponseLayerContentFromJSON, WaasPolicyLayerResponseLayerContentToJSON } from './WaasPolicyLayerResponseLayerContent.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function WaasPolicyLayerResponseFromJSON(json) {
|
|
6
|
+
return WaasPolicyLayerResponseFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function WaasPolicyLayerResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'message': !exists(json, 'message') ? undefined : json['message'],
|
|
14
|
+
'layerId': json['layerId'],
|
|
15
|
+
'layerContent': WaasPolicyLayerResponseLayerContentFromJSON(json['layerContent']),
|
|
16
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function WaasPolicyLayerResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'message': value.message,
|
|
28
|
+
'layerId': value.layerId,
|
|
29
|
+
'layerContent': WaasPolicyLayerResponseLayerContentToJSON(value.layerContent),
|
|
30
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { WaasPolicyLayerResponseFromJSON, WaasPolicyLayerResponseFromJSONTyped, WaasPolicyLayerResponseToJSON };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasPolicyRule = require('./WaasPolicyRule.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function WaasPolicyLayerResponseLayerContentFromJSON(json) {
|
|
10
|
+
return WaasPolicyLayerResponseLayerContentFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function WaasPolicyLayerResponseLayerContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'rules': !runtime.exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyRule.WaasPolicyRuleFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyRule.WaasPolicyRuleToJSON)),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
exports.WaasPolicyLayerResponseLayerContentFromJSON = WaasPolicyLayerResponseLayerContentFromJSON;
|
|
33
|
+
exports.WaasPolicyLayerResponseLayerContentFromJSONTyped = WaasPolicyLayerResponseLayerContentFromJSONTyped;
|
|
34
|
+
exports.WaasPolicyLayerResponseLayerContentToJSON = WaasPolicyLayerResponseLayerContentToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { WaasPolicyRule } from './WaasPolicyRule';
|
|
13
|
+
/**
|
|
14
|
+
* The decrypted, mutated wallet-Layer document
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasPolicyLayerResponseLayerContent
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasPolicyLayerResponseLayerContent {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<WaasPolicyRule>}
|
|
22
|
+
* @memberof WaasPolicyLayerResponseLayerContent
|
|
23
|
+
*/
|
|
24
|
+
rules?: Array<WaasPolicyRule>;
|
|
25
|
+
}
|
|
26
|
+
export declare function WaasPolicyLayerResponseLayerContentFromJSON(json: any): WaasPolicyLayerResponseLayerContent;
|
|
27
|
+
export declare function WaasPolicyLayerResponseLayerContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerResponseLayerContent;
|
|
28
|
+
export declare function WaasPolicyLayerResponseLayerContentToJSON(value?: WaasPolicyLayerResponseLayerContent | null): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function WaasPolicyLayerResponseLayerContentFromJSON(json) {
|
|
6
|
+
return WaasPolicyLayerResponseLayerContentFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function WaasPolicyLayerResponseLayerContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'rules': !exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyRuleFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyRuleToJSON)),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { WaasPolicyLayerResponseLayerContentFromJSON, WaasPolicyLayerResponseLayerContentFromJSONTyped, WaasPolicyLayerResponseLayerContentToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasPolicyRule = require('./WaasPolicyRule.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
/**
|
|
10
|
+
* @export
|
|
11
|
+
* @enum {string}
|
|
12
|
+
*/
|
|
13
|
+
exports.WaasPolicyLayerUpdateRequestOpEnum = void 0;
|
|
14
|
+
(function (WaasPolicyLayerUpdateRequestOpEnum) {
|
|
15
|
+
WaasPolicyLayerUpdateRequestOpEnum["Upsert"] = "upsert";
|
|
16
|
+
WaasPolicyLayerUpdateRequestOpEnum["Remove"] = "remove";
|
|
17
|
+
})(exports.WaasPolicyLayerUpdateRequestOpEnum || (exports.WaasPolicyLayerUpdateRequestOpEnum = {}));
|
|
18
|
+
function WaasPolicyLayerUpdateRequestFromJSON(json) {
|
|
19
|
+
return WaasPolicyLayerUpdateRequestFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function WaasPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'op': json['op'],
|
|
27
|
+
'rule': !runtime.exists(json, 'rule') ? undefined : WaasPolicyRule.WaasPolicyRuleFromJSON(json['rule']),
|
|
28
|
+
'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function WaasPolicyLayerUpdateRequestToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'op': value.op,
|
|
40
|
+
'rule': WaasPolicyRule.WaasPolicyRuleToJSON(value.rule),
|
|
41
|
+
'ruleId': value.ruleId,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.WaasPolicyLayerUpdateRequestFromJSON = WaasPolicyLayerUpdateRequestFromJSON;
|
|
46
|
+
exports.WaasPolicyLayerUpdateRequestFromJSONTyped = WaasPolicyLayerUpdateRequestFromJSONTyped;
|
|
47
|
+
exports.WaasPolicyLayerUpdateRequestToJSON = WaasPolicyLayerUpdateRequestToJSON;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { WaasPolicyRule } from './WaasPolicyRule';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasPolicyLayerUpdateRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasPolicyLayerUpdateRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The per-Rule operation to apply to the wallet-Layer
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WaasPolicyLayerUpdateRequest
|
|
23
|
+
*/
|
|
24
|
+
op: WaasPolicyLayerUpdateRequestOpEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {WaasPolicyRule}
|
|
28
|
+
* @memberof WaasPolicyLayerUpdateRequest
|
|
29
|
+
*/
|
|
30
|
+
rule?: WaasPolicyRule;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WaasPolicyLayerUpdateRequest
|
|
35
|
+
*/
|
|
36
|
+
ruleId?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
export declare enum WaasPolicyLayerUpdateRequestOpEnum {
|
|
43
|
+
Upsert = "upsert",
|
|
44
|
+
Remove = "remove"
|
|
45
|
+
}
|
|
46
|
+
export declare function WaasPolicyLayerUpdateRequestFromJSON(json: any): WaasPolicyLayerUpdateRequest;
|
|
47
|
+
export declare function WaasPolicyLayerUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerUpdateRequest;
|
|
48
|
+
export declare function WaasPolicyLayerUpdateRequestToJSON(value?: WaasPolicyLayerUpdateRequest | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var WaasPolicyLayerUpdateRequestOpEnum;
|
|
10
|
+
(function (WaasPolicyLayerUpdateRequestOpEnum) {
|
|
11
|
+
WaasPolicyLayerUpdateRequestOpEnum["Upsert"] = "upsert";
|
|
12
|
+
WaasPolicyLayerUpdateRequestOpEnum["Remove"] = "remove";
|
|
13
|
+
})(WaasPolicyLayerUpdateRequestOpEnum || (WaasPolicyLayerUpdateRequestOpEnum = {}));
|
|
14
|
+
function WaasPolicyLayerUpdateRequestFromJSON(json) {
|
|
15
|
+
return WaasPolicyLayerUpdateRequestFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function WaasPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'op': json['op'],
|
|
23
|
+
'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
|
|
24
|
+
'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function WaasPolicyLayerUpdateRequestToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'op': value.op,
|
|
36
|
+
'rule': WaasPolicyRuleToJSON(value.rule),
|
|
37
|
+
'ruleId': value.ruleId,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { WaasPolicyLayerUpdateRequestFromJSON, WaasPolicyLayerUpdateRequestFromJSONTyped, WaasPolicyLayerUpdateRequestOpEnum, WaasPolicyLayerUpdateRequestToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -363,6 +363,7 @@ export * from './InlineResponse2005';
|
|
|
363
363
|
export * from './InlineResponse2006';
|
|
364
364
|
export * from './InlineResponse2007';
|
|
365
365
|
export * from './InlineResponse2008';
|
|
366
|
+
export * from './InlineResponse2009';
|
|
366
367
|
export * from './InlineResponse201';
|
|
367
368
|
export * from './InlineResponse400';
|
|
368
369
|
export * from './IntegrationSetting';
|
|
@@ -665,6 +666,7 @@ export * from './TokensResponse';
|
|
|
665
666
|
export * from './TooManyRequests';
|
|
666
667
|
export * from './TransactionFeeEstimateRequest';
|
|
667
668
|
export * from './TransactionFeeEstimateResponse';
|
|
669
|
+
export * from './TransferBusinessAccountOwnershipSdkRequest';
|
|
668
670
|
export * from './TransferDestination';
|
|
669
671
|
export * from './TransferDestinationResponse';
|
|
670
672
|
export * from './TurnkeyCreateWalletAccountsRequestBody';
|
|
@@ -680,6 +682,7 @@ export * from './UnprocessableEntity';
|
|
|
680
682
|
export * from './UnprocessableEntityErrorCode';
|
|
681
683
|
export * from './UnprocessableEntityErrorPayload';
|
|
682
684
|
export * from './UpdateAuthorizedClientRequest';
|
|
685
|
+
export * from './UpdateBusinessAccountMemberRoleSdkRequest';
|
|
683
686
|
export * from './UpdateProjectRequest';
|
|
684
687
|
export * from './UpdateProjectResponse';
|
|
685
688
|
export * from './UpdateRecoveryEmailRequest';
|
|
@@ -728,6 +731,9 @@ export * from './WaasPolicyArgumentConstraint';
|
|
|
728
731
|
export * from './WaasPolicyConstraintCondition';
|
|
729
732
|
export * from './WaasPolicyCreateRequest';
|
|
730
733
|
export * from './WaasPolicyDeleteRequest';
|
|
734
|
+
export * from './WaasPolicyLayerResponse';
|
|
735
|
+
export * from './WaasPolicyLayerResponseLayerContent';
|
|
736
|
+
export * from './WaasPolicyLayerUpdateRequest';
|
|
731
737
|
export * from './WaasPolicyResponse';
|
|
732
738
|
export * from './WaasPolicyRule';
|
|
733
739
|
export * from './WaasPolicyRuleOperationRestrictions';
|