@dynamic-labs/sdk-api 0.0.958 → 0.0.960
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/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/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/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/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 +75 -1
- package/src/apis/SDKApi.d.ts +32 -4
- package/src/apis/SDKApi.js +75 -1
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.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/index.cjs +28 -0
- package/src/index.js +6 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.cjs +2 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.d.ts +8 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.js +2 -0
- package/src/models/InlineObject1.cjs +33 -0
- package/src/models/InlineObject1.d.ts +28 -0
- package/src/models/InlineObject1.js +27 -0
- package/src/models/InlineResponse2001.cjs +33 -0
- package/src/models/InlineResponse2001.d.ts +27 -0
- package/src/models/InlineResponse2001.js +27 -0
- package/src/models/RefreshKeySharesRequest.cjs +33 -0
- package/src/models/RefreshKeySharesRequest.d.ts +30 -0
- package/src/models/RefreshKeySharesRequest.js +27 -0
- package/src/models/RefreshKeySharesResponse.cjs +41 -0
- package/src/models/RefreshKeySharesResponse.d.ts +53 -0
- package/src/models/RefreshKeySharesResponse.js +35 -0
- package/src/models/RefreshKeySharesResponseAllOf.cjs +33 -0
- package/src/models/RefreshKeySharesResponseAllOf.d.ts +29 -0
- package/src/models/RefreshKeySharesResponseAllOf.js +27 -0
- package/src/models/ReshareRequest.cjs +2 -0
- package/src/models/ReshareRequest.d.ts +10 -0
- package/src/models/ReshareRequest.js +2 -0
- package/src/models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.cjs +57 -0
- package/src/models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.d.ts +48 -0
- package/src/models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.js +51 -0
- package/src/models/SignMessageWithWaasRequest.cjs +2 -0
- package/src/models/SignMessageWithWaasRequest.d.ts +8 -0
- package/src/models/SignMessageWithWaasRequest.js +2 -0
- package/src/models/SignTransactionWithWaasRequest.cjs +4 -12
- package/src/models/SignTransactionWithWaasRequest.d.ts +8 -0
- package/src/models/SignTransactionWithWaasRequest.js +4 -12
- package/src/models/UpdateWaasWalletSettingsRequest.cjs +4 -12
- package/src/models/UpdateWaasWalletSettingsRequest.d.ts +8 -0
- package/src/models/UpdateWaasWalletSettingsRequest.js +4 -12
- package/src/models/index.d.ts +6 -0
package/src/index.js
CHANGED
|
@@ -320,7 +320,9 @@ export { InitEmailAuthResponseFromJSON, InitEmailAuthResponseFromJSONTyped, Init
|
|
|
320
320
|
export { InitPasskeyRecoveryRequestFromJSON, InitPasskeyRecoveryRequestFromJSONTyped, InitPasskeyRecoveryRequestToJSON } from './models/InitPasskeyRecoveryRequest.js';
|
|
321
321
|
export { InitPasskeyRecoveryResponseFromJSON, InitPasskeyRecoveryResponseFromJSONTyped, InitPasskeyRecoveryResponseToJSON } from './models/InitPasskeyRecoveryResponse.js';
|
|
322
322
|
export { InlineObjectFromJSON, InlineObjectFromJSONTyped, InlineObjectToJSON } from './models/InlineObject.js';
|
|
323
|
+
export { InlineObject1FromJSON, InlineObject1FromJSONTyped, InlineObject1ToJSON } from './models/InlineObject1.js';
|
|
323
324
|
export { InlineResponse200FromJSON, InlineResponse200FromJSONTyped, InlineResponse200ToJSON } from './models/InlineResponse200.js';
|
|
325
|
+
export { InlineResponse2001FromJSON, InlineResponse2001FromJSONTyped, InlineResponse2001ToJSON } from './models/InlineResponse2001.js';
|
|
324
326
|
export { InlineResponse201FromJSON, InlineResponse201FromJSONTyped, InlineResponse201ToJSON } from './models/InlineResponse201.js';
|
|
325
327
|
export { InlineResponse400FromJSON, InlineResponse400FromJSONTyped, InlineResponse400ToJSON } from './models/InlineResponse400.js';
|
|
326
328
|
export { IntegrationSettingFromJSON, IntegrationSettingFromJSONTyped, IntegrationSettingToJSON } from './models/IntegrationSetting.js';
|
|
@@ -501,6 +503,9 @@ export { RealtimeAuthTokenResponseFromJSON, RealtimeAuthTokenResponseFromJSONTyp
|
|
|
501
503
|
export { RecordBroadcastRequestFromJSON, RecordBroadcastRequestFromJSONTyped, RecordBroadcastRequestToJSON } from './models/RecordBroadcastRequest.js';
|
|
502
504
|
export { RecoverMultipleClientKeySharesRequestFromJSON, RecoverMultipleClientKeySharesRequestFromJSONTyped, RecoverMultipleClientKeySharesRequestToJSON } from './models/RecoverMultipleClientKeySharesRequest.js';
|
|
503
505
|
export { RecoverMultipleClientKeySharesResponseFromJSON, RecoverMultipleClientKeySharesResponseFromJSONTyped, RecoverMultipleClientKeySharesResponseToJSON } from './models/RecoverMultipleClientKeySharesResponse.js';
|
|
506
|
+
export { RefreshKeySharesRequestFromJSON, RefreshKeySharesRequestFromJSONTyped, RefreshKeySharesRequestToJSON } from './models/RefreshKeySharesRequest.js';
|
|
507
|
+
export { RefreshKeySharesResponseFromJSON, RefreshKeySharesResponseFromJSONTyped, RefreshKeySharesResponseToJSON } from './models/RefreshKeySharesResponse.js';
|
|
508
|
+
export { RefreshKeySharesResponseAllOfFromJSON, RefreshKeySharesResponseAllOfFromJSONTyped, RefreshKeySharesResponseAllOfToJSON } from './models/RefreshKeySharesResponseAllOf.js';
|
|
504
509
|
export { RegisterEmbeddedWalletSessionKeyResponseFromJSON, RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped, RegisterEmbeddedWalletSessionKeyResponseToJSON } from './models/RegisterEmbeddedWalletSessionKeyResponse.js';
|
|
505
510
|
export { RegisterSessionKeyRequestFromJSON, RegisterSessionKeyRequestFromJSONTyped, RegisterSessionKeyRequestToJSON } from './models/RegisterSessionKeyRequest.js';
|
|
506
511
|
export { ReshareRequestFromJSON, ReshareRequestFromJSONTyped, ReshareRequestToJSON } from './models/ReshareRequest.js';
|
|
@@ -514,6 +519,7 @@ export { RoleEnum, RoleEnumFromJSON, RoleEnumFromJSONTyped, RoleEnumToJSON } fro
|
|
|
514
519
|
export { RoomTypeEnum, RoomTypeEnumFromJSON, RoomTypeEnumFromJSONTyped, RoomTypeEnumToJSON } from './models/RoomTypeEnum.js';
|
|
515
520
|
export { ScanWebsiteUrlRequestFromJSON, ScanWebsiteUrlRequestFromJSONTyped, ScanWebsiteUrlRequestToJSON } from './models/ScanWebsiteUrlRequest.js';
|
|
516
521
|
export { ScanWebsiteUrlResponseFromJSON, ScanWebsiteUrlResponseFromJSONTyped, ScanWebsiteUrlResponseToJSON } from './models/ScanWebsiteUrlResponse.js';
|
|
522
|
+
export { SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSON, SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSONTyped, SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSON, SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesTypeEnum } from './models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.js';
|
|
517
523
|
export { SdkSettingsRequestFromJSON, SdkSettingsRequestFromJSONTyped, SdkSettingsRequestToJSON } from './models/SdkSettingsRequest.js';
|
|
518
524
|
export { SdkUserFromJSON, SdkUserFromJSONTyped, SdkUserToJSON } from './models/SdkUser.js';
|
|
519
525
|
export { SdkViewFromJSON, SdkViewFromJSONTyped, SdkViewToJSON } from './models/SdkView.js';
|
|
@@ -15,6 +15,7 @@ function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
15
15
|
return {
|
|
16
16
|
'exportId': json['exportId'],
|
|
17
17
|
'addressType': !runtime.exists(json, 'addressType') ? undefined : json['addressType'],
|
|
18
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
function ExportWaasWalletPrivateKeyRequestToJSON(value) {
|
|
@@ -27,6 +28,7 @@ function ExportWaasWalletPrivateKeyRequestToJSON(value) {
|
|
|
27
28
|
return {
|
|
28
29
|
'exportId': value.exportId,
|
|
29
30
|
'addressType': value.addressType,
|
|
31
|
+
'shareSetId': value.shareSetId,
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
|
|
@@ -27,6 +27,14 @@ export interface ExportWaasWalletPrivateKeyRequest {
|
|
|
27
27
|
* @memberof ExportWaasWalletPrivateKeyRequest
|
|
28
28
|
*/
|
|
29
29
|
addressType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional identifier of the share set this operation targets. When
|
|
32
|
+
* omitted, the active rootUser share set for `walletId` is resolved
|
|
33
|
+
* server-side (backwards-compat fallback for older SDKs).
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ExportWaasWalletPrivateKeyRequest
|
|
36
|
+
*/
|
|
37
|
+
shareSetId?: string | null;
|
|
30
38
|
}
|
|
31
39
|
export declare function ExportWaasWalletPrivateKeyRequestFromJSON(json: any): ExportWaasWalletPrivateKeyRequest;
|
|
32
40
|
export declare function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportWaasWalletPrivateKeyRequest;
|
|
@@ -11,6 +11,7 @@ function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
11
11
|
return {
|
|
12
12
|
'exportId': json['exportId'],
|
|
13
13
|
'addressType': !exists(json, 'addressType') ? undefined : json['addressType'],
|
|
14
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
14
15
|
};
|
|
15
16
|
}
|
|
16
17
|
function ExportWaasWalletPrivateKeyRequestToJSON(value) {
|
|
@@ -23,6 +24,7 @@ function ExportWaasWalletPrivateKeyRequestToJSON(value) {
|
|
|
23
24
|
return {
|
|
24
25
|
'exportId': value.exportId,
|
|
25
26
|
'addressType': value.addressType,
|
|
27
|
+
'shareSetId': value.shareSetId,
|
|
26
28
|
};
|
|
27
29
|
}
|
|
28
30
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses = require('./SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function InlineObject1FromJSON(json) {
|
|
9
|
+
return InlineObject1FromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function InlineObject1FromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'additionalAddresses': (json['additionalAddresses'].map(SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSON)),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function InlineObject1ToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'additionalAddresses': (value.additionalAddresses.map(SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.InlineObject1FromJSON = InlineObject1FromJSON;
|
|
32
|
+
exports.InlineObject1FromJSONTyped = InlineObject1FromJSONTyped;
|
|
33
|
+
exports.InlineObject1ToJSON = InlineObject1ToJSON;
|
|
@@ -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 { SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses } from './SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InlineObject1
|
|
17
|
+
*/
|
|
18
|
+
export interface InlineObject1 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses>}
|
|
22
|
+
* @memberof InlineObject1
|
|
23
|
+
*/
|
|
24
|
+
additionalAddresses: Array<SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses>;
|
|
25
|
+
}
|
|
26
|
+
export declare function InlineObject1FromJSON(json: any): InlineObject1;
|
|
27
|
+
export declare function InlineObject1FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject1;
|
|
28
|
+
export declare function InlineObject1ToJSON(value?: InlineObject1 | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSON, SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSON } from './SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function InlineObject1FromJSON(json) {
|
|
5
|
+
return InlineObject1FromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function InlineObject1FromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'additionalAddresses': (json['additionalAddresses'].map(SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSON)),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function InlineObject1ToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'additionalAddresses': (value.additionalAddresses.map(SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSON)),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { InlineObject1FromJSON, InlineObject1FromJSONTyped, InlineObject1ToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function InlineResponse2001FromJSON(json) {
|
|
9
|
+
return InlineResponse2001FromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function InlineResponse2001FromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'success': !runtime.exists(json, 'success') ? undefined : json['success'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function InlineResponse2001ToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'success': value.success,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.InlineResponse2001FromJSON = InlineResponse2001FromJSON;
|
|
32
|
+
exports.InlineResponse2001FromJSONTyped = InlineResponse2001FromJSONTyped;
|
|
33
|
+
exports.InlineResponse2001ToJSON = InlineResponse2001ToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InlineResponse2001
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse2001 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof InlineResponse2001
|
|
22
|
+
*/
|
|
23
|
+
success?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function InlineResponse2001FromJSON(json: any): InlineResponse2001;
|
|
26
|
+
export declare function InlineResponse2001FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2001;
|
|
27
|
+
export declare function InlineResponse2001ToJSON(value?: InlineResponse2001 | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function InlineResponse2001FromJSON(json) {
|
|
5
|
+
return InlineResponse2001FromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function InlineResponse2001FromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'success': !exists(json, 'success') ? undefined : json['success'],
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function InlineResponse2001ToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'success': value.success,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { InlineResponse2001FromJSON, InlineResponse2001FromJSONTyped, InlineResponse2001ToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function RefreshKeySharesRequestFromJSON(json) {
|
|
9
|
+
return RefreshKeySharesRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function RefreshKeySharesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function RefreshKeySharesRequestToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'shareSetId': value.shareSetId,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.RefreshKeySharesRequestFromJSON = RefreshKeySharesRequestFromJSON;
|
|
32
|
+
exports.RefreshKeySharesRequestFromJSONTyped = RefreshKeySharesRequestFromJSONTyped;
|
|
33
|
+
exports.RefreshKeySharesRequestToJSON = RefreshKeySharesRequestToJSON;
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RefreshKeySharesRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RefreshKeySharesRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Identifier of the active share set to refresh. Optional for backwards
|
|
20
|
+
* compatibility — when omitted, the active rootUser share set is
|
|
21
|
+
* resolved from walletId. SDKs that already receive shareSetId from
|
|
22
|
+
* getWallet() should pass it here to avoid the fallback lookup.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof RefreshKeySharesRequest
|
|
25
|
+
*/
|
|
26
|
+
shareSetId?: string | null;
|
|
27
|
+
}
|
|
28
|
+
export declare function RefreshKeySharesRequestFromJSON(json: any): RefreshKeySharesRequest;
|
|
29
|
+
export declare function RefreshKeySharesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshKeySharesRequest;
|
|
30
|
+
export declare function RefreshKeySharesRequestToJSON(value?: RefreshKeySharesRequest | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function RefreshKeySharesRequestFromJSON(json) {
|
|
5
|
+
return RefreshKeySharesRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function RefreshKeySharesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function RefreshKeySharesRequestToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'shareSetId': value.shareSetId,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { RefreshKeySharesRequestFromJSON, RefreshKeySharesRequestFromJSONTyped, RefreshKeySharesRequestToJSON };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function RefreshKeySharesResponseFromJSON(json) {
|
|
9
|
+
return RefreshKeySharesResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function RefreshKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'roomId': json['roomId'],
|
|
17
|
+
'serverKeygenIds': json['serverKeygenIds'],
|
|
18
|
+
'newServerKeygenIds': !runtime.exists(json, 'newServerKeygenIds') ? undefined : json['newServerKeygenIds'],
|
|
19
|
+
'walletId': !runtime.exists(json, 'walletId') ? undefined : json['walletId'],
|
|
20
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function RefreshKeySharesResponseToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'roomId': value.roomId,
|
|
32
|
+
'serverKeygenIds': value.serverKeygenIds,
|
|
33
|
+
'newServerKeygenIds': value.newServerKeygenIds,
|
|
34
|
+
'walletId': value.walletId,
|
|
35
|
+
'shareSetId': value.shareSetId,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.RefreshKeySharesResponseFromJSON = RefreshKeySharesResponseFromJSON;
|
|
40
|
+
exports.RefreshKeySharesResponseFromJSONTyped = RefreshKeySharesResponseFromJSONTyped;
|
|
41
|
+
exports.RefreshKeySharesResponseToJSON = RefreshKeySharesResponseToJSON;
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RefreshKeySharesResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RefreshKeySharesResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the opened MPC room
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RefreshKeySharesResponse
|
|
22
|
+
*/
|
|
23
|
+
roomId: string;
|
|
24
|
+
/**
|
|
25
|
+
* List of existing server-side key generation identifiers
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof RefreshKeySharesResponse
|
|
28
|
+
*/
|
|
29
|
+
serverKeygenIds: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* List of newly generated server-side key generation identifiers
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof RefreshKeySharesResponse
|
|
34
|
+
*/
|
|
35
|
+
newServerKeygenIds?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RefreshKeySharesResponse
|
|
40
|
+
*/
|
|
41
|
+
walletId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Identifier of the new pending share set produced by this refresh
|
|
44
|
+
* ceremony. The SDK must echo this value back on the follow-up
|
|
45
|
+
* backup call so the atomic swap targets the correct row.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof RefreshKeySharesResponse
|
|
48
|
+
*/
|
|
49
|
+
shareSetId?: string | null;
|
|
50
|
+
}
|
|
51
|
+
export declare function RefreshKeySharesResponseFromJSON(json: any): RefreshKeySharesResponse;
|
|
52
|
+
export declare function RefreshKeySharesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshKeySharesResponse;
|
|
53
|
+
export declare function RefreshKeySharesResponseToJSON(value?: RefreshKeySharesResponse | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function RefreshKeySharesResponseFromJSON(json) {
|
|
5
|
+
return RefreshKeySharesResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function RefreshKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'roomId': json['roomId'],
|
|
13
|
+
'serverKeygenIds': json['serverKeygenIds'],
|
|
14
|
+
'newServerKeygenIds': !exists(json, 'newServerKeygenIds') ? undefined : json['newServerKeygenIds'],
|
|
15
|
+
'walletId': !exists(json, 'walletId') ? undefined : json['walletId'],
|
|
16
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function RefreshKeySharesResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'roomId': value.roomId,
|
|
28
|
+
'serverKeygenIds': value.serverKeygenIds,
|
|
29
|
+
'newServerKeygenIds': value.newServerKeygenIds,
|
|
30
|
+
'walletId': value.walletId,
|
|
31
|
+
'shareSetId': value.shareSetId,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { RefreshKeySharesResponseFromJSON, RefreshKeySharesResponseFromJSONTyped, RefreshKeySharesResponseToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function RefreshKeySharesResponseAllOfFromJSON(json) {
|
|
9
|
+
return RefreshKeySharesResponseAllOfFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function RefreshKeySharesResponseAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function RefreshKeySharesResponseAllOfToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'shareSetId': value.shareSetId,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.RefreshKeySharesResponseAllOfFromJSON = RefreshKeySharesResponseAllOfFromJSON;
|
|
32
|
+
exports.RefreshKeySharesResponseAllOfFromJSONTyped = RefreshKeySharesResponseAllOfFromJSONTyped;
|
|
33
|
+
exports.RefreshKeySharesResponseAllOfToJSON = RefreshKeySharesResponseAllOfToJSON;
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RefreshKeySharesResponseAllOf
|
|
16
|
+
*/
|
|
17
|
+
export interface RefreshKeySharesResponseAllOf {
|
|
18
|
+
/**
|
|
19
|
+
* Identifier of the new pending share set produced by this refresh
|
|
20
|
+
* ceremony. The SDK must echo this value back on the follow-up
|
|
21
|
+
* backup call so the atomic swap targets the correct row.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof RefreshKeySharesResponseAllOf
|
|
24
|
+
*/
|
|
25
|
+
shareSetId?: string | null;
|
|
26
|
+
}
|
|
27
|
+
export declare function RefreshKeySharesResponseAllOfFromJSON(json: any): RefreshKeySharesResponseAllOf;
|
|
28
|
+
export declare function RefreshKeySharesResponseAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshKeySharesResponseAllOf;
|
|
29
|
+
export declare function RefreshKeySharesResponseAllOfToJSON(value?: RefreshKeySharesResponseAllOf | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function RefreshKeySharesResponseAllOfFromJSON(json) {
|
|
5
|
+
return RefreshKeySharesResponseAllOfFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function RefreshKeySharesResponseAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function RefreshKeySharesResponseAllOfToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'shareSetId': value.shareSetId,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { RefreshKeySharesResponseAllOfFromJSON, RefreshKeySharesResponseAllOfFromJSONTyped, RefreshKeySharesResponseAllOfToJSON };
|
|
@@ -19,6 +19,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
|
|
20
20
|
'delegateToProjectEnvironment': !runtime.exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
|
|
21
21
|
'revokeDelegation': !runtime.exists(json, 'revokeDelegation') ? undefined : json['revokeDelegation'],
|
|
22
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function ReshareRequestToJSON(value) {
|
|
@@ -34,6 +35,7 @@ function ReshareRequestToJSON(value) {
|
|
|
34
35
|
'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
|
|
35
36
|
'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
|
|
36
37
|
'revokeDelegation': value.revokeDelegation,
|
|
38
|
+
'shareSetId': value.shareSetId,
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
|
|
@@ -46,6 +46,16 @@ export interface ReshareRequest {
|
|
|
46
46
|
* @memberof ReshareRequest
|
|
47
47
|
*/
|
|
48
48
|
revokeDelegation?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Identifier of the active share set this reshare ceremony runs against.
|
|
51
|
+
* Optional for backwards compatibility — when omitted, the active
|
|
52
|
+
* rootUser share set is resolved from walletId. SDKs that already
|
|
53
|
+
* receive shareSetId from getWallet() should pass it here to avoid the
|
|
54
|
+
* fallback lookup.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ReshareRequest
|
|
57
|
+
*/
|
|
58
|
+
shareSetId?: string | null;
|
|
49
59
|
}
|
|
50
60
|
export declare function ReshareRequestFromJSON(json: any): ReshareRequest;
|
|
51
61
|
export declare function ReshareRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReshareRequest;
|
|
@@ -15,6 +15,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
'newThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
|
|
16
16
|
'delegateToProjectEnvironment': !exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
|
|
17
17
|
'revokeDelegation': !exists(json, 'revokeDelegation') ? undefined : json['revokeDelegation'],
|
|
18
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
function ReshareRequestToJSON(value) {
|
|
@@ -30,6 +31,7 @@ function ReshareRequestToJSON(value) {
|
|
|
30
31
|
'newThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
|
|
31
32
|
'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
|
|
32
33
|
'revokeDelegation': value.revokeDelegation,
|
|
34
|
+
'shareSetId': value.shareSetId,
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
|