@dynamic-labs/sdk-api-core 0.0.1060 → 0.0.1061
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/SDKApi.cjs +301 -0
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +119 -1
- package/src/apis/SDKApi.js +301 -0
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +3 -1
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +3 -1
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +52 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +11 -0
- package/src/index.js.map +1 -1
- package/src/models/AddBusinessAccountMemberSdkRequest.cjs +41 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.cjs.map +1 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.d.ts +47 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.js +35 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.js.map +1 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.cjs +41 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.cjs.map +1 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.d.ts +47 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.js +35 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.js.map +1 -0
- package/src/models/BusinessAccount.cjs +45 -0
- package/src/models/BusinessAccount.cjs.map +1 -0
- package/src/models/BusinessAccount.d.ts +63 -0
- package/src/models/BusinessAccount.js +39 -0
- package/src/models/BusinessAccount.js.map +1 -0
- package/src/models/BusinessAccountDetail.cjs +51 -0
- package/src/models/BusinessAccountDetail.cjs.map +1 -0
- package/src/models/BusinessAccountDetail.d.ts +77 -0
- package/src/models/BusinessAccountDetail.js +45 -0
- package/src/models/BusinessAccountDetail.js.map +1 -0
- package/src/models/BusinessAccountDetailAllOf.cjs +36 -0
- package/src/models/BusinessAccountDetailAllOf.cjs.map +1 -0
- package/src/models/BusinessAccountDetailAllOf.d.ts +35 -0
- package/src/models/BusinessAccountDetailAllOf.js +30 -0
- package/src/models/BusinessAccountDetailAllOf.js.map +1 -0
- package/src/models/BusinessAccountList.cjs +36 -0
- package/src/models/BusinessAccountList.cjs.map +1 -0
- package/src/models/BusinessAccountList.d.ts +34 -0
- package/src/models/BusinessAccountList.js +30 -0
- package/src/models/BusinessAccountList.js.map +1 -0
- package/src/models/BusinessAccountMember.cjs +44 -0
- package/src/models/BusinessAccountMember.cjs.map +1 -0
- package/src/models/BusinessAccountMember.d.ts +58 -0
- package/src/models/BusinessAccountMember.js +38 -0
- package/src/models/BusinessAccountMember.js.map +1 -0
- package/src/models/BusinessAccountMemberRole.cjs +41 -0
- package/src/models/BusinessAccountMemberRole.cjs.map +1 -0
- package/src/models/BusinessAccountMemberRole.d.ts +24 -0
- package/src/models/BusinessAccountMemberRole.js +35 -0
- package/src/models/BusinessAccountMemberRole.js.map +1 -0
- package/src/models/BusinessAccountSigner.cjs +54 -0
- package/src/models/BusinessAccountSigner.cjs.map +1 -0
- package/src/models/BusinessAccountSigner.d.ts +88 -0
- package/src/models/BusinessAccountSigner.js +48 -0
- package/src/models/BusinessAccountSigner.js.map +1 -0
- package/src/models/BusinessAccountSignerType.cjs +40 -0
- package/src/models/BusinessAccountSignerType.cjs.map +1 -0
- package/src/models/BusinessAccountSignerType.d.ts +23 -0
- package/src/models/BusinessAccountSignerType.js +34 -0
- package/src/models/BusinessAccountSignerType.js.map +1 -0
- package/src/models/CreateBusinessAccountSdkRequest.cjs +37 -0
- package/src/models/CreateBusinessAccountSdkRequest.cjs.map +1 -0
- package/src/models/CreateBusinessAccountSdkRequest.d.ts +39 -0
- package/src/models/CreateBusinessAccountSdkRequest.js +31 -0
- package/src/models/CreateBusinessAccountSdkRequest.js.map +1 -0
- package/src/models/index.d.ts +11 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountMemberRole.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountMemberRole.ts"],"sourcesContent":null,"names":["BusinessAccountMemberRole"],"mappings":";;;;AAAA;AACA;AACA;;;;;;;;;;AAUG;AAEH;;;;AAIG;AACSA,2CAIX;AAJD,CAAA,UAAY,yBAAyB,EAAA;AACjC,IAAA,yBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,yBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,yBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EAJWA,iCAAyB,KAAzBA,iCAAyB,GAIpC,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,iCAAiC,CAAC,IAAS,EAAA;AACvD,IAAA,OAAO,sCAAsC,CAAC,IAAW,CAAC,CAAC;AAC/D,CAAC;AAEe,SAAA,sCAAsC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC1F,IAAA,OAAO,IAAiC,CAAC;AAC7C,CAAC;AAEK,SAAU,+BAA+B,CAAC,KAAwC,EAAA;AACpF,IAAA,OAAO,KAAY,CAAC;AACxB;;;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* Role of a business account member (admin reach)
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum BusinessAccountMemberRole {
|
|
18
|
+
Owner = "owner",
|
|
19
|
+
Admin = "admin",
|
|
20
|
+
Viewer = "viewer"
|
|
21
|
+
}
|
|
22
|
+
export declare function BusinessAccountMemberRoleFromJSON(json: any): BusinessAccountMemberRole;
|
|
23
|
+
export declare function BusinessAccountMemberRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountMemberRole;
|
|
24
|
+
export declare function BusinessAccountMemberRoleToJSON(value?: BusinessAccountMemberRole | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
* Role of a business account member (admin reach)
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var BusinessAccountMemberRole;
|
|
20
|
+
(function (BusinessAccountMemberRole) {
|
|
21
|
+
BusinessAccountMemberRole["Owner"] = "owner";
|
|
22
|
+
BusinessAccountMemberRole["Admin"] = "admin";
|
|
23
|
+
BusinessAccountMemberRole["Viewer"] = "viewer";
|
|
24
|
+
})(BusinessAccountMemberRole || (BusinessAccountMemberRole = {}));
|
|
25
|
+
function BusinessAccountMemberRoleFromJSON(json) {
|
|
26
|
+
return BusinessAccountMemberRoleFromJSONTyped(json);
|
|
27
|
+
}
|
|
28
|
+
function BusinessAccountMemberRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
function BusinessAccountMemberRoleToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { BusinessAccountMemberRole, BusinessAccountMemberRoleFromJSON, BusinessAccountMemberRoleFromJSONTyped, BusinessAccountMemberRoleToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountMemberRole.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountMemberRole.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AAEH;;;;AAIG;IACS,0BAIX;AAJD,CAAA,UAAY,yBAAyB,EAAA;AACjC,IAAA,yBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,yBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,yBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,GAIpC,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,iCAAiC,CAAC,IAAS,EAAA;AACvD,IAAA,OAAO,sCAAsC,CAAC,IAAW,CAAC,CAAC;AAC/D,CAAC;AAEe,SAAA,sCAAsC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC1F,IAAA,OAAO,IAAiC,CAAC;AAC7C,CAAC;AAEK,SAAU,+BAA+B,CAAC,KAAwC,EAAA;AACpF,IAAA,OAAO,KAAY,CAAC;AACxB;;;;"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BusinessAccountSignerType = require('./BusinessAccountSignerType.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function BusinessAccountSignerFromJSON(json) {
|
|
10
|
+
return BusinessAccountSignerFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function BusinessAccountSignerFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'id': json['id'],
|
|
18
|
+
'businessAccountId': json['businessAccountId'],
|
|
19
|
+
'userId': !runtime.exists(json, 'userId') ? undefined : json['userId'],
|
|
20
|
+
'walletId': json['walletId'],
|
|
21
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
22
|
+
'derivedFromUserId': !runtime.exists(json, 'derivedFromUserId') ? undefined : json['derivedFromUserId'],
|
|
23
|
+
'type': BusinessAccountSignerType.BusinessAccountSignerTypeFromJSON(json['type']),
|
|
24
|
+
'apiKeyIdentityRef': !runtime.exists(json, 'apiKeyIdentityRef') ? undefined : json['apiKeyIdentityRef'],
|
|
25
|
+
'expiresAt': !runtime.exists(json, 'expiresAt') ? undefined : (json['expiresAt'] === null ? null : new Date(json['expiresAt'])),
|
|
26
|
+
'revokedAt': !runtime.exists(json, 'revokedAt') ? undefined : (json['revokedAt'] === null ? null : new Date(json['revokedAt'])),
|
|
27
|
+
'createdAt': !runtime.exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function BusinessAccountSignerToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'id': value.id,
|
|
39
|
+
'businessAccountId': value.businessAccountId,
|
|
40
|
+
'userId': value.userId,
|
|
41
|
+
'walletId': value.walletId,
|
|
42
|
+
'shareSetId': value.shareSetId,
|
|
43
|
+
'derivedFromUserId': value.derivedFromUserId,
|
|
44
|
+
'type': BusinessAccountSignerType.BusinessAccountSignerTypeToJSON(value.type),
|
|
45
|
+
'apiKeyIdentityRef': value.apiKeyIdentityRef,
|
|
46
|
+
'expiresAt': value.expiresAt === undefined ? undefined : (value.expiresAt === null ? null : value.expiresAt.toISOString()),
|
|
47
|
+
'revokedAt': value.revokedAt === undefined ? undefined : (value.revokedAt === null ? null : value.revokedAt.toISOString()),
|
|
48
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
exports.BusinessAccountSignerFromJSON = BusinessAccountSignerFromJSON;
|
|
53
|
+
exports.BusinessAccountSignerFromJSONTyped = BusinessAccountSignerFromJSONTyped;
|
|
54
|
+
exports.BusinessAccountSignerToJSON = BusinessAccountSignerToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountSigner.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountSigner.ts"],"sourcesContent":null,"names":["exists","BusinessAccountSignerTypeFromJSON","BusinessAccountSignerTypeToJSON"],"mappings":"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"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 { BusinessAccountSignerType } from './BusinessAccountSignerType';
|
|
13
|
+
/**
|
|
14
|
+
* Signing-reach assignment (per signer-wallet pair)
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BusinessAccountSigner
|
|
17
|
+
*/
|
|
18
|
+
export interface BusinessAccountSigner {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BusinessAccountSigner
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BusinessAccountSigner
|
|
29
|
+
*/
|
|
30
|
+
businessAccountId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Required when type=endUser; null for type=server
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BusinessAccountSigner
|
|
35
|
+
*/
|
|
36
|
+
userId?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof BusinessAccountSigner
|
|
41
|
+
*/
|
|
42
|
+
walletId: string;
|
|
43
|
+
/**
|
|
44
|
+
* Set after reshare ceremony completes
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BusinessAccountSigner
|
|
47
|
+
*/
|
|
48
|
+
shareSetId?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof BusinessAccountSigner
|
|
53
|
+
*/
|
|
54
|
+
derivedFromUserId?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {BusinessAccountSignerType}
|
|
58
|
+
* @memberof BusinessAccountSigner
|
|
59
|
+
*/
|
|
60
|
+
type: BusinessAccountSignerType;
|
|
61
|
+
/**
|
|
62
|
+
* Required when type=server
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof BusinessAccountSigner
|
|
65
|
+
*/
|
|
66
|
+
apiKeyIdentityRef?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof BusinessAccountSigner
|
|
71
|
+
*/
|
|
72
|
+
expiresAt?: Date | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Date}
|
|
76
|
+
* @memberof BusinessAccountSigner
|
|
77
|
+
*/
|
|
78
|
+
revokedAt?: Date | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof BusinessAccountSigner
|
|
83
|
+
*/
|
|
84
|
+
createdAt?: Date;
|
|
85
|
+
}
|
|
86
|
+
export declare function BusinessAccountSignerFromJSON(json: any): BusinessAccountSigner;
|
|
87
|
+
export declare function BusinessAccountSignerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountSigner;
|
|
88
|
+
export declare function BusinessAccountSignerToJSON(value?: BusinessAccountSigner | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountSignerTypeFromJSON, BusinessAccountSignerTypeToJSON } from './BusinessAccountSignerType.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function BusinessAccountSignerFromJSON(json) {
|
|
6
|
+
return BusinessAccountSignerFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function BusinessAccountSignerFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'id': json['id'],
|
|
14
|
+
'businessAccountId': json['businessAccountId'],
|
|
15
|
+
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
16
|
+
'walletId': json['walletId'],
|
|
17
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
18
|
+
'derivedFromUserId': !exists(json, 'derivedFromUserId') ? undefined : json['derivedFromUserId'],
|
|
19
|
+
'type': BusinessAccountSignerTypeFromJSON(json['type']),
|
|
20
|
+
'apiKeyIdentityRef': !exists(json, 'apiKeyIdentityRef') ? undefined : json['apiKeyIdentityRef'],
|
|
21
|
+
'expiresAt': !exists(json, 'expiresAt') ? undefined : (json['expiresAt'] === null ? null : new Date(json['expiresAt'])),
|
|
22
|
+
'revokedAt': !exists(json, 'revokedAt') ? undefined : (json['revokedAt'] === null ? null : new Date(json['revokedAt'])),
|
|
23
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function BusinessAccountSignerToJSON(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
|
+
'userId': value.userId,
|
|
37
|
+
'walletId': value.walletId,
|
|
38
|
+
'shareSetId': value.shareSetId,
|
|
39
|
+
'derivedFromUserId': value.derivedFromUserId,
|
|
40
|
+
'type': BusinessAccountSignerTypeToJSON(value.type),
|
|
41
|
+
'apiKeyIdentityRef': value.apiKeyIdentityRef,
|
|
42
|
+
'expiresAt': value.expiresAt === undefined ? undefined : (value.expiresAt === null ? null : value.expiresAt.toISOString()),
|
|
43
|
+
'revokedAt': value.revokedAt === undefined ? undefined : (value.revokedAt === null ? null : value.revokedAt.toISOString()),
|
|
44
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { BusinessAccountSignerFromJSON, BusinessAccountSignerFromJSONTyped, BusinessAccountSignerToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountSigner.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountSigner.ts"],"sourcesContent":null,"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
* Type of a business account signer
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.BusinessAccountSignerType = void 0;
|
|
24
|
+
(function (BusinessAccountSignerType) {
|
|
25
|
+
BusinessAccountSignerType["EndUser"] = "endUser";
|
|
26
|
+
BusinessAccountSignerType["Server"] = "server";
|
|
27
|
+
})(exports.BusinessAccountSignerType || (exports.BusinessAccountSignerType = {}));
|
|
28
|
+
function BusinessAccountSignerTypeFromJSON(json) {
|
|
29
|
+
return BusinessAccountSignerTypeFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function BusinessAccountSignerTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function BusinessAccountSignerTypeToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.BusinessAccountSignerTypeFromJSON = BusinessAccountSignerTypeFromJSON;
|
|
39
|
+
exports.BusinessAccountSignerTypeFromJSONTyped = BusinessAccountSignerTypeFromJSONTyped;
|
|
40
|
+
exports.BusinessAccountSignerTypeToJSON = BusinessAccountSignerTypeToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountSignerType.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountSignerType.ts"],"sourcesContent":null,"names":["BusinessAccountSignerType"],"mappings":";;;;AAAA;AACA;AACA;;;;;;;;;;AAUG;AAEH;;;;AAIG;AACSA,2CAGX;AAHD,CAAA,UAAY,yBAAyB,EAAA;AACjC,IAAA,yBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,yBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EAHWA,iCAAyB,KAAzBA,iCAAyB,GAGpC,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,iCAAiC,CAAC,IAAS,EAAA;AACvD,IAAA,OAAO,sCAAsC,CAAC,IAAW,CAAC,CAAC;AAC/D,CAAC;AAEe,SAAA,sCAAsC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC1F,IAAA,OAAO,IAAiC,CAAC;AAC7C,CAAC;AAEK,SAAU,+BAA+B,CAAC,KAAwC,EAAA;AACpF,IAAA,OAAO,KAAY,CAAC;AACxB;;;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* Type of a business account signer
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum BusinessAccountSignerType {
|
|
18
|
+
EndUser = "endUser",
|
|
19
|
+
Server = "server"
|
|
20
|
+
}
|
|
21
|
+
export declare function BusinessAccountSignerTypeFromJSON(json: any): BusinessAccountSignerType;
|
|
22
|
+
export declare function BusinessAccountSignerTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountSignerType;
|
|
23
|
+
export declare function BusinessAccountSignerTypeToJSON(value?: BusinessAccountSignerType | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
* Type of a business account signer
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var BusinessAccountSignerType;
|
|
20
|
+
(function (BusinessAccountSignerType) {
|
|
21
|
+
BusinessAccountSignerType["EndUser"] = "endUser";
|
|
22
|
+
BusinessAccountSignerType["Server"] = "server";
|
|
23
|
+
})(BusinessAccountSignerType || (BusinessAccountSignerType = {}));
|
|
24
|
+
function BusinessAccountSignerTypeFromJSON(json) {
|
|
25
|
+
return BusinessAccountSignerTypeFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function BusinessAccountSignerTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function BusinessAccountSignerTypeToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { BusinessAccountSignerType, BusinessAccountSignerTypeFromJSON, BusinessAccountSignerTypeFromJSONTyped, BusinessAccountSignerTypeToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountSignerType.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountSignerType.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AAEH;;;;AAIG;IACS,0BAGX;AAHD,CAAA,UAAY,yBAAyB,EAAA;AACjC,IAAA,yBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,yBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,GAGpC,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,iCAAiC,CAAC,IAAS,EAAA;AACvD,IAAA,OAAO,sCAAsC,CAAC,IAAW,CAAC,CAAC;AAC/D,CAAC;AAEe,SAAA,sCAAsC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC1F,IAAA,OAAO,IAAiC,CAAC;AAC7C,CAAC;AAEK,SAAU,+BAA+B,CAAC,KAAwC,EAAA;AACpF,IAAA,OAAO,KAAY,CAAC;AACxB;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function CreateBusinessAccountSdkRequestFromJSON(json) {
|
|
9
|
+
return CreateBusinessAccountSdkRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function CreateBusinessAccountSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
17
|
+
'externalRef': !runtime.exists(json, 'externalRef') ? undefined : json['externalRef'],
|
|
18
|
+
'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function CreateBusinessAccountSdkRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'name': value.name,
|
|
30
|
+
'externalRef': value.externalRef,
|
|
31
|
+
'metadata': value.metadata,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.CreateBusinessAccountSdkRequestFromJSON = CreateBusinessAccountSdkRequestFromJSON;
|
|
36
|
+
exports.CreateBusinessAccountSdkRequestFromJSONTyped = CreateBusinessAccountSdkRequestFromJSONTyped;
|
|
37
|
+
exports.CreateBusinessAccountSdkRequestToJSON = CreateBusinessAccountSdkRequestToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBusinessAccountSdkRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/CreateBusinessAccountSdkRequest.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AAyCM,SAAU,uCAAuC,CAAC,IAAS,EAAA;AAC7D,IAAA,OAAO,4CAA4C,CAAC,IAAW,CAAC,CAAC;AACrE,CAAC;AAEe,SAAA,4CAA4C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,MAAM,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC;AACxD,QAAA,aAAa,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;AAC7E,QAAA,UAAU,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AAEK,SAAU,qCAAqC,CAAC,KAA8C,EAAA;AAChG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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-side create-workspace request. Caller becomes the first owner.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateBusinessAccountSdkRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBusinessAccountSdkRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBusinessAccountSdkRequest
|
|
22
|
+
*/
|
|
23
|
+
name?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Developer-supplied stable ID inside the env
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateBusinessAccountSdkRequest
|
|
28
|
+
*/
|
|
29
|
+
externalRef?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof CreateBusinessAccountSdkRequest
|
|
34
|
+
*/
|
|
35
|
+
metadata?: object;
|
|
36
|
+
}
|
|
37
|
+
export declare function CreateBusinessAccountSdkRequestFromJSON(json: any): CreateBusinessAccountSdkRequest;
|
|
38
|
+
export declare function CreateBusinessAccountSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBusinessAccountSdkRequest;
|
|
39
|
+
export declare function CreateBusinessAccountSdkRequestToJSON(value?: CreateBusinessAccountSdkRequest | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function CreateBusinessAccountSdkRequestFromJSON(json) {
|
|
5
|
+
return CreateBusinessAccountSdkRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function CreateBusinessAccountSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
13
|
+
'externalRef': !exists(json, 'externalRef') ? undefined : json['externalRef'],
|
|
14
|
+
'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function CreateBusinessAccountSdkRequestToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'name': value.name,
|
|
26
|
+
'externalRef': value.externalRef,
|
|
27
|
+
'metadata': value.metadata,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { CreateBusinessAccountSdkRequestFromJSON, CreateBusinessAccountSdkRequestFromJSONTyped, CreateBusinessAccountSdkRequestToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBusinessAccountSdkRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/CreateBusinessAccountSdkRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAyCM,SAAU,uCAAuC,CAAC,IAAS,EAAA;AAC7D,IAAA,OAAO,4CAA4C,CAAC,IAAW,CAAC,CAAC;AACrE,CAAC;AAEe,SAAA,4CAA4C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC;AACxD,QAAA,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;AAC7E,QAAA,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AAEK,SAAU,qCAAqC,CAAC,KAA8C,EAAA;AAChG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN;;;;"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './Account';
|
|
2
2
|
export * from './AccountBalances';
|
|
3
|
+
export * from './AddBusinessAccountMemberSdkRequest';
|
|
4
|
+
export * from './AddBusinessAccountSignerSdkRequest';
|
|
3
5
|
export * from './AleoCuratedPricesResponse';
|
|
4
6
|
export * from './AleoCuratedPricesResponseResult';
|
|
5
7
|
export * from './AleoCuratedTokenPrice';
|
|
@@ -31,6 +33,14 @@ export * from './BadGateway';
|
|
|
31
33
|
export * from './BadRequest';
|
|
32
34
|
export * from './BaseUser';
|
|
33
35
|
export * from './BlockaidValidation';
|
|
36
|
+
export * from './BusinessAccount';
|
|
37
|
+
export * from './BusinessAccountDetail';
|
|
38
|
+
export * from './BusinessAccountDetailAllOf';
|
|
39
|
+
export * from './BusinessAccountList';
|
|
40
|
+
export * from './BusinessAccountMember';
|
|
41
|
+
export * from './BusinessAccountMemberRole';
|
|
42
|
+
export * from './BusinessAccountSigner';
|
|
43
|
+
export * from './BusinessAccountSignerType';
|
|
34
44
|
export * from './ChainConfiguration';
|
|
35
45
|
export * from './ChainDestinationConfig';
|
|
36
46
|
export * from './ChainEnum';
|
|
@@ -60,6 +70,7 @@ export * from './CoinbaseOnrampOrderStatus';
|
|
|
60
70
|
export * from './CompletePasskeyRecoveryRequest';
|
|
61
71
|
export * from './Conflict';
|
|
62
72
|
export * from './ConnectRequest';
|
|
73
|
+
export * from './CreateBusinessAccountSdkRequest';
|
|
63
74
|
export * from './CreateEmbeddedWalletParams';
|
|
64
75
|
export * from './CreateEmbeddedWalletSpecificOpts';
|
|
65
76
|
export * from './CreateEmbeddedWalletsRequest';
|