@dynamic-labs/sdk-api 0.191.0 → 0.193.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 +1 -0
- package/src/apis/BusinessAccountsApi.js +1 -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 +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ScreeningPoliciesApi.cjs +1 -0
- package/src/apis/ScreeningPoliciesApi.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/index.cjs +20 -0
- package/src/index.js +4 -0
- package/src/models/BusinessAccountAddSignerCeremonyComplete.cjs +48 -0
- package/src/models/BusinessAccountAddSignerCeremonyComplete.d.ts +71 -0
- package/src/models/BusinessAccountAddSignerCeremonyComplete.js +42 -0
- package/src/models/BusinessAccountAddSignerTargetType.cjs +40 -0
- package/src/models/BusinessAccountAddSignerTargetType.d.ts +23 -0
- package/src/models/BusinessAccountAddSignerTargetType.js +34 -0
- package/src/models/WaasCreateCeremonyComplete.cjs +43 -0
- package/src/models/WaasCreateCeremonyComplete.d.ts +53 -0
- package/src/models/WaasCreateCeremonyComplete.js +37 -0
- package/src/models/WaasShareSetCeremonyComplete.cjs +37 -0
- package/src/models/WaasShareSetCeremonyComplete.d.ts +40 -0
- package/src/models/WaasShareSetCeremonyComplete.js +31 -0
- package/src/models/index.d.ts +4 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { BusinessAccountAddSignerTargetTypeFromJSON, BusinessAccountAddSignerTargetTypeToJSON } from './BusinessAccountAddSignerTargetType.js';
|
|
2
|
+
import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function BusinessAccountAddSignerCeremonyCompleteFromJSON(json) {
|
|
6
|
+
return BusinessAccountAddSignerCeremonyCompleteFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function BusinessAccountAddSignerCeremonyCompleteFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'businessAccountId': json['businessAccountId'],
|
|
14
|
+
'walletId': json['walletId'],
|
|
15
|
+
'signerId': json['signerId'],
|
|
16
|
+
'shareSetId': json['shareSetId'],
|
|
17
|
+
'shareSetType': WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
18
|
+
'targetType': BusinessAccountAddSignerTargetTypeFromJSON(json['targetType']),
|
|
19
|
+
'targetUserId': json['targetUserId'],
|
|
20
|
+
'clientKeyshareBackupGrant': json['clientKeyshareBackupGrant'],
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function BusinessAccountAddSignerCeremonyCompleteToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'businessAccountId': value.businessAccountId,
|
|
32
|
+
'walletId': value.walletId,
|
|
33
|
+
'signerId': value.signerId,
|
|
34
|
+
'shareSetId': value.shareSetId,
|
|
35
|
+
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
36
|
+
'targetType': BusinessAccountAddSignerTargetTypeToJSON(value.targetType),
|
|
37
|
+
'targetUserId': value.targetUserId,
|
|
38
|
+
'clientKeyshareBackupGrant': value.clientKeyshareBackupGrant,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { BusinessAccountAddSignerCeremonyCompleteFromJSON, BusinessAccountAddSignerCeremonyCompleteFromJSONTyped, BusinessAccountAddSignerCeremonyCompleteToJSON };
|
|
@@ -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
|
+
* Kind of signer an addSigner ceremony added. `user` is a Dynamic user (default); `request-signer` is a server identity whose reshared client share the SDK must also deliver to the developer.
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.BusinessAccountAddSignerTargetType = void 0;
|
|
24
|
+
(function (BusinessAccountAddSignerTargetType) {
|
|
25
|
+
BusinessAccountAddSignerTargetType["User"] = "user";
|
|
26
|
+
BusinessAccountAddSignerTargetType["RequestSigner"] = "request-signer";
|
|
27
|
+
})(exports.BusinessAccountAddSignerTargetType || (exports.BusinessAccountAddSignerTargetType = {}));
|
|
28
|
+
function BusinessAccountAddSignerTargetTypeFromJSON(json) {
|
|
29
|
+
return BusinessAccountAddSignerTargetTypeFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function BusinessAccountAddSignerTargetTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function BusinessAccountAddSignerTargetTypeToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.BusinessAccountAddSignerTargetTypeFromJSON = BusinessAccountAddSignerTargetTypeFromJSON;
|
|
39
|
+
exports.BusinessAccountAddSignerTargetTypeFromJSONTyped = BusinessAccountAddSignerTargetTypeFromJSONTyped;
|
|
40
|
+
exports.BusinessAccountAddSignerTargetTypeToJSON = BusinessAccountAddSignerTargetTypeToJSON;
|
|
@@ -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
|
+
* Kind of signer an addSigner ceremony added. `user` is a Dynamic user (default); `request-signer` is a server identity whose reshared client share the SDK must also deliver to the developer.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum BusinessAccountAddSignerTargetType {
|
|
18
|
+
User = "user",
|
|
19
|
+
RequestSigner = "request-signer"
|
|
20
|
+
}
|
|
21
|
+
export declare function BusinessAccountAddSignerTargetTypeFromJSON(json: any): BusinessAccountAddSignerTargetType;
|
|
22
|
+
export declare function BusinessAccountAddSignerTargetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountAddSignerTargetType;
|
|
23
|
+
export declare function BusinessAccountAddSignerTargetTypeToJSON(value?: BusinessAccountAddSignerTargetType | 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
|
+
* Kind of signer an addSigner ceremony added. `user` is a Dynamic user (default); `request-signer` is a server identity whose reshared client share the SDK must also deliver to the developer.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var BusinessAccountAddSignerTargetType;
|
|
20
|
+
(function (BusinessAccountAddSignerTargetType) {
|
|
21
|
+
BusinessAccountAddSignerTargetType["User"] = "user";
|
|
22
|
+
BusinessAccountAddSignerTargetType["RequestSigner"] = "request-signer";
|
|
23
|
+
})(BusinessAccountAddSignerTargetType || (BusinessAccountAddSignerTargetType = {}));
|
|
24
|
+
function BusinessAccountAddSignerTargetTypeFromJSON(json) {
|
|
25
|
+
return BusinessAccountAddSignerTargetTypeFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function BusinessAccountAddSignerTargetTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function BusinessAccountAddSignerTargetTypeToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { BusinessAccountAddSignerTargetType, BusinessAccountAddSignerTargetTypeFromJSON, BusinessAccountAddSignerTargetTypeFromJSONTyped, BusinessAccountAddSignerTargetTypeToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var EncryptedWalletApiKey = require('./EncryptedWalletApiKey.cjs');
|
|
7
|
+
var WaasWalletShareSetType = require('./WaasWalletShareSetType.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function WaasCreateCeremonyCompleteFromJSON(json) {
|
|
11
|
+
return WaasCreateCeremonyCompleteFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function WaasCreateCeremonyCompleteFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'accountAddress': json['accountAddress'],
|
|
19
|
+
'walletId': json['walletId'],
|
|
20
|
+
'shareSetId': json['shareSetId'],
|
|
21
|
+
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
22
|
+
'encryptedWalletApiKey': !runtime.exists(json, 'encryptedWalletApiKey') ? undefined : EncryptedWalletApiKey.EncryptedWalletApiKeyFromJSON(json['encryptedWalletApiKey']),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function WaasCreateCeremonyCompleteToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'accountAddress': value.accountAddress,
|
|
34
|
+
'walletId': value.walletId,
|
|
35
|
+
'shareSetId': value.shareSetId,
|
|
36
|
+
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
37
|
+
'encryptedWalletApiKey': EncryptedWalletApiKey.EncryptedWalletApiKeyToJSON(value.encryptedWalletApiKey),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.WaasCreateCeremonyCompleteFromJSON = WaasCreateCeremonyCompleteFromJSON;
|
|
42
|
+
exports.WaasCreateCeremonyCompleteFromJSONTyped = WaasCreateCeremonyCompleteFromJSONTyped;
|
|
43
|
+
exports.WaasCreateCeremonyCompleteToJSON = WaasCreateCeremonyCompleteToJSON;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { EncryptedWalletApiKey } from './EncryptedWalletApiKey';
|
|
13
|
+
import { WaasWalletShareSetType } from './WaasWalletShareSetType';
|
|
14
|
+
/**
|
|
15
|
+
* Data of the `ceremony_complete` event that ends the create-wallet (and import-key) `text/event-stream` response, sent once the wallet and its first share set exist.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WaasCreateCeremonyComplete
|
|
18
|
+
*/
|
|
19
|
+
export interface WaasCreateCeremonyComplete {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof WaasCreateCeremonyComplete
|
|
24
|
+
*/
|
|
25
|
+
accountAddress: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof WaasCreateCeremonyComplete
|
|
30
|
+
*/
|
|
31
|
+
walletId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof WaasCreateCeremonyComplete
|
|
36
|
+
*/
|
|
37
|
+
shareSetId: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {WaasWalletShareSetType}
|
|
41
|
+
* @memberof WaasCreateCeremonyComplete
|
|
42
|
+
*/
|
|
43
|
+
shareSetType: WaasWalletShareSetType;
|
|
44
|
+
/**
|
|
45
|
+
* The per-wallet API key, sealed to the developer's delegated-access key so only the SDK can open it. Omitted when the wallet has none.
|
|
46
|
+
* @type {EncryptedWalletApiKey}
|
|
47
|
+
* @memberof WaasCreateCeremonyComplete
|
|
48
|
+
*/
|
|
49
|
+
encryptedWalletApiKey?: EncryptedWalletApiKey | null;
|
|
50
|
+
}
|
|
51
|
+
export declare function WaasCreateCeremonyCompleteFromJSON(json: any): WaasCreateCeremonyComplete;
|
|
52
|
+
export declare function WaasCreateCeremonyCompleteFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasCreateCeremonyComplete;
|
|
53
|
+
export declare function WaasCreateCeremonyCompleteToJSON(value?: WaasCreateCeremonyComplete | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { EncryptedWalletApiKeyFromJSON, EncryptedWalletApiKeyToJSON } from './EncryptedWalletApiKey.js';
|
|
3
|
+
import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function WaasCreateCeremonyCompleteFromJSON(json) {
|
|
7
|
+
return WaasCreateCeremonyCompleteFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function WaasCreateCeremonyCompleteFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'accountAddress': json['accountAddress'],
|
|
15
|
+
'walletId': json['walletId'],
|
|
16
|
+
'shareSetId': json['shareSetId'],
|
|
17
|
+
'shareSetType': WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
18
|
+
'encryptedWalletApiKey': !exists(json, 'encryptedWalletApiKey') ? undefined : EncryptedWalletApiKeyFromJSON(json['encryptedWalletApiKey']),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function WaasCreateCeremonyCompleteToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'accountAddress': value.accountAddress,
|
|
30
|
+
'walletId': value.walletId,
|
|
31
|
+
'shareSetId': value.shareSetId,
|
|
32
|
+
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
33
|
+
'encryptedWalletApiKey': EncryptedWalletApiKeyToJSON(value.encryptedWalletApiKey),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { WaasCreateCeremonyCompleteFromJSON, WaasCreateCeremonyCompleteFromJSONTyped, WaasCreateCeremonyCompleteToJSON };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var WaasWalletShareSetType = require('./WaasWalletShareSetType.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function WaasShareSetCeremonyCompleteFromJSON(json) {
|
|
9
|
+
return WaasShareSetCeremonyCompleteFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WaasShareSetCeremonyCompleteFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'walletId': json['walletId'],
|
|
17
|
+
'shareSetId': json['shareSetId'],
|
|
18
|
+
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function WaasShareSetCeremonyCompleteToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'walletId': value.walletId,
|
|
30
|
+
'shareSetId': value.shareSetId,
|
|
31
|
+
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.WaasShareSetCeremonyCompleteFromJSON = WaasShareSetCeremonyCompleteFromJSON;
|
|
36
|
+
exports.WaasShareSetCeremonyCompleteFromJSONTyped = WaasShareSetCeremonyCompleteFromJSONTyped;
|
|
37
|
+
exports.WaasShareSetCeremonyCompleteToJSON = WaasShareSetCeremonyCompleteToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { WaasWalletShareSetType } from './WaasWalletShareSetType';
|
|
13
|
+
/**
|
|
14
|
+
* Data of the `ceremony_complete` event that ends a refresh or reshare `text/event-stream` response. The new share set is still pending: the SDK echoes `shareSetId` on the follow-up backup call that activates it.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasShareSetCeremonyComplete
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasShareSetCeremonyComplete {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WaasShareSetCeremonyComplete
|
|
23
|
+
*/
|
|
24
|
+
walletId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WaasShareSetCeremonyComplete
|
|
29
|
+
*/
|
|
30
|
+
shareSetId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {WaasWalletShareSetType}
|
|
34
|
+
* @memberof WaasShareSetCeremonyComplete
|
|
35
|
+
*/
|
|
36
|
+
shareSetType: WaasWalletShareSetType;
|
|
37
|
+
}
|
|
38
|
+
export declare function WaasShareSetCeremonyCompleteFromJSON(json: any): WaasShareSetCeremonyComplete;
|
|
39
|
+
export declare function WaasShareSetCeremonyCompleteFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasShareSetCeremonyComplete;
|
|
40
|
+
export declare function WaasShareSetCeremonyCompleteToJSON(value?: WaasShareSetCeremonyComplete | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WaasShareSetCeremonyCompleteFromJSON(json) {
|
|
5
|
+
return WaasShareSetCeremonyCompleteFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WaasShareSetCeremonyCompleteFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'walletId': json['walletId'],
|
|
13
|
+
'shareSetId': json['shareSetId'],
|
|
14
|
+
'shareSetType': WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function WaasShareSetCeremonyCompleteToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'walletId': value.walletId,
|
|
26
|
+
'shareSetId': value.shareSetId,
|
|
27
|
+
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { WaasShareSetCeremonyCompleteFromJSON, WaasShareSetCeremonyCompleteFromJSONTyped, WaasShareSetCeremonyCompleteToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -97,6 +97,8 @@ export * from './BusinessAccountActivityEntry';
|
|
|
97
97
|
export * from './BusinessAccountActivityExport';
|
|
98
98
|
export * from './BusinessAccountActivityExportRequest';
|
|
99
99
|
export * from './BusinessAccountActivityResponse';
|
|
100
|
+
export * from './BusinessAccountAddSignerCeremonyComplete';
|
|
101
|
+
export * from './BusinessAccountAddSignerTargetType';
|
|
100
102
|
export * from './BusinessAccountAdminDetail';
|
|
101
103
|
export * from './BusinessAccountAdminDetailAllOf';
|
|
102
104
|
export * from './BusinessAccountApprovalRequirement';
|
|
@@ -969,6 +971,7 @@ export * from './WaasConfidentialAccountState';
|
|
|
969
971
|
export * from './WaasConfidentialSeedCreateRequest';
|
|
970
972
|
export * from './WaasConfidentialSeedResponse';
|
|
971
973
|
export * from './WaasConfidentialTransferOperation';
|
|
974
|
+
export * from './WaasCreateCeremonyComplete';
|
|
972
975
|
export * from './WaasDelegateSignMessageRequest';
|
|
973
976
|
export * from './WaasDelegatedAccessEncryptionPublicKeyType';
|
|
974
977
|
export * from './WaasDelegationCredentialsRequest';
|
|
@@ -1006,6 +1009,7 @@ export * from './WaasPolicyUpdateRequest';
|
|
|
1006
1009
|
export * from './WaasReshareApprovalQuorum';
|
|
1007
1010
|
export * from './WaasReshareIntent';
|
|
1008
1011
|
export * from './WaasShareSet';
|
|
1012
|
+
export * from './WaasShareSetCeremonyComplete';
|
|
1009
1013
|
export * from './WaasSignAndBroadcastRequest';
|
|
1010
1014
|
export * from './WaasSignConfidentialTransactionsRequest';
|
|
1011
1015
|
export * from './WaasSignConfidentialTransactionsResponse';
|