@dynamic-labs/sdk-api-core 0.47.0 → 0.48.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/index.cjs +4 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/models/CreateWaasAccountRequest.cjs +2 -0
- package/src/models/CreateWaasAccountRequest.cjs.map +1 -1
- package/src/models/CreateWaasAccountRequest.d.ts +6 -0
- package/src/models/CreateWaasAccountRequest.js +2 -0
- package/src/models/CreateWaasAccountRequest.js.map +1 -1
- package/src/models/EncryptedWalletApiKey.cjs +43 -0
- package/src/models/EncryptedWalletApiKey.cjs.map +1 -0
- package/src/models/EncryptedWalletApiKey.d.ts +57 -0
- package/src/models/EncryptedWalletApiKey.js +37 -0
- package/src/models/EncryptedWalletApiKey.js.map +1 -0
- package/src/models/OpenRoomResponseWithServerKeygenIds.cjs +3 -0
- package/src/models/OpenRoomResponseWithServerKeygenIds.cjs.map +1 -1
- package/src/models/OpenRoomResponseWithServerKeygenIds.d.ts +7 -0
- package/src/models/OpenRoomResponseWithServerKeygenIds.js +3 -0
- package/src/models/OpenRoomResponseWithServerKeygenIds.js.map +1 -1
- package/src/models/OpenRoomResponseWithServerKeygenIdsAllOf.cjs +3 -0
- package/src/models/OpenRoomResponseWithServerKeygenIdsAllOf.cjs.map +1 -1
- package/src/models/OpenRoomResponseWithServerKeygenIdsAllOf.d.ts +7 -0
- package/src/models/OpenRoomResponseWithServerKeygenIdsAllOf.js +3 -0
- package/src/models/OpenRoomResponseWithServerKeygenIdsAllOf.js.map +1 -1
- package/src/models/RefreshKeySharesResponse.cjs +3 -0
- package/src/models/RefreshKeySharesResponse.cjs.map +1 -1
- package/src/models/RefreshKeySharesResponse.d.ts +7 -0
- package/src/models/RefreshKeySharesResponse.js +3 -0
- package/src/models/RefreshKeySharesResponse.js.map +1 -1
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -160,6 +160,7 @@ var EmbeddedWalletSecretWithUpdatedJwt = require('./models/EmbeddedWalletSecretW
|
|
|
160
160
|
var EmbeddedWalletSecretWithUpdatedJwtAllOf = require('./models/EmbeddedWalletSecretWithUpdatedJwtAllOf.cjs');
|
|
161
161
|
var EmbeddedWalletSecurityMethod = require('./models/EmbeddedWalletSecurityMethod.cjs');
|
|
162
162
|
var EmbeddedWalletVersionEnum = require('./models/EmbeddedWalletVersionEnum.cjs');
|
|
163
|
+
var EncryptedWalletApiKey = require('./models/EncryptedWalletApiKey.cjs');
|
|
163
164
|
var EnvironmentEnum = require('./models/EnvironmentEnum.cjs');
|
|
164
165
|
var ErrorMessageWithCode = require('./models/ErrorMessageWithCode.cjs');
|
|
165
166
|
var Exchange = require('./models/Exchange.cjs');
|
|
@@ -1279,6 +1280,9 @@ Object.defineProperty(exports, 'EmbeddedWalletVersionEnum', {
|
|
|
1279
1280
|
exports.EmbeddedWalletVersionEnumFromJSON = EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON;
|
|
1280
1281
|
exports.EmbeddedWalletVersionEnumFromJSONTyped = EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSONTyped;
|
|
1281
1282
|
exports.EmbeddedWalletVersionEnumToJSON = EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON;
|
|
1283
|
+
exports.EncryptedWalletApiKeyFromJSON = EncryptedWalletApiKey.EncryptedWalletApiKeyFromJSON;
|
|
1284
|
+
exports.EncryptedWalletApiKeyFromJSONTyped = EncryptedWalletApiKey.EncryptedWalletApiKeyFromJSONTyped;
|
|
1285
|
+
exports.EncryptedWalletApiKeyToJSON = EncryptedWalletApiKey.EncryptedWalletApiKeyToJSON;
|
|
1282
1286
|
Object.defineProperty(exports, 'EnvironmentEnum', {
|
|
1283
1287
|
enumerable: true,
|
|
1284
1288
|
get: function () { return EnvironmentEnum.EnvironmentEnum; }
|
package/src/index.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/src/index.js
CHANGED
|
@@ -156,6 +156,7 @@ export { EmbeddedWalletSecretWithUpdatedJwtFromJSON, EmbeddedWalletSecretWithUpd
|
|
|
156
156
|
export { EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSON, EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSONTyped, EmbeddedWalletSecretWithUpdatedJwtAllOfToJSON } from './models/EmbeddedWalletSecretWithUpdatedJwtAllOf.js';
|
|
157
157
|
export { EmbeddedWalletSecurityMethod, EmbeddedWalletSecurityMethodFromJSON, EmbeddedWalletSecurityMethodFromJSONTyped, EmbeddedWalletSecurityMethodToJSON } from './models/EmbeddedWalletSecurityMethod.js';
|
|
158
158
|
export { EmbeddedWalletVersionEnum, EmbeddedWalletVersionEnumFromJSON, EmbeddedWalletVersionEnumFromJSONTyped, EmbeddedWalletVersionEnumToJSON } from './models/EmbeddedWalletVersionEnum.js';
|
|
159
|
+
export { EncryptedWalletApiKeyFromJSON, EncryptedWalletApiKeyFromJSONTyped, EncryptedWalletApiKeyToJSON } from './models/EncryptedWalletApiKey.js';
|
|
159
160
|
export { EnvironmentEnum, EnvironmentEnumFromJSON, EnvironmentEnumFromJSONTyped, EnvironmentEnumToJSON } from './models/EnvironmentEnum.js';
|
|
160
161
|
export { ErrorMessageWithCodeFromJSON, ErrorMessageWithCodeFromJSONTyped, ErrorMessageWithCodeToJSON } from './models/ErrorMessageWithCode.js';
|
|
161
162
|
export { ExchangeFromJSON, ExchangeFromJSONTyped, ExchangeToJSON } from './models/Exchange.js';
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -22,6 +22,7 @@ function CreateWaasAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
'skipLock': !runtime.exists(json, 'skipLock') ? undefined : json['skipLock'],
|
|
23
23
|
'addressType': !runtime.exists(json, 'addressType') ? undefined : json['addressType'],
|
|
24
24
|
'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
25
|
+
'delegateToProjectEnvironment': !runtime.exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
|
|
25
26
|
'variant': !runtime.exists(json, 'variant') ? undefined : Ed25519Variant.Ed25519VariantFromJSON(json['variant']),
|
|
26
27
|
};
|
|
27
28
|
}
|
|
@@ -39,6 +40,7 @@ function CreateWaasAccountRequestToJSON(value) {
|
|
|
39
40
|
'skipLock': value.skipLock,
|
|
40
41
|
'addressType': value.addressType,
|
|
41
42
|
'businessAccountId': value.businessAccountId,
|
|
43
|
+
'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
|
|
42
44
|
'variant': Ed25519Variant.Ed25519VariantToJSON(value.variant),
|
|
43
45
|
};
|
|
44
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateWaasAccountRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/CreateWaasAccountRequest.ts"],"sourcesContent":null,"names":["WaasChainEnumFromJSON","exists","ThresholdSignatureSchemeFromJSON","Ed25519VariantFromJSON","WaasChainEnumToJSON","ThresholdSignatureSchemeToJSON","Ed25519VariantToJSON"],"mappings":";;;;;;;;;AAAA;
|
|
1
|
+
{"version":3,"file":"CreateWaasAccountRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/CreateWaasAccountRequest.ts"],"sourcesContent":null,"names":["WaasChainEnumFromJSON","exists","ThresholdSignatureSchemeFromJSON","Ed25519VariantFromJSON","WaasChainEnumToJSON","ThresholdSignatureSchemeToJSON","Ed25519VariantToJSON"],"mappings":";;;;;;;;;AAAA;AA0FM,SAAU,gCAAgC,CAAC,IAAS,EAAA;AACtD,IAAA,OAAO,qCAAqC,CAAC,IAAW,CAAC,CAAC;AAC9D,CAAC;AAEe,SAAA,qCAAqC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAEA,mCAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC7C,QAAA,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;QAC1C,0BAA0B,EAAE,CAACC,cAAM,CAAC,IAAI,EAAE,0BAA0B,CAAC,GAAG,SAAS,GAAGC,yDAAgC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;AACtJ,QAAA,UAAU,EAAE,CAACD,c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est {
|
|
|
54
54
|
* @memberof CreateWaasAccountRequest
|
|
55
55
|
*/
|
|
56
56
|
businessAccountId?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* When true, the enclave also mints a walletApiKey for the new wallet and returns it as `encryptedWalletApiKey`, sealed to the environment's delegated-access RSA key. Off by default: a wallet whose EAC carries no walletApiKey cannot be used on the delegated sign route at all, and that stays true unless the creator asks otherwise. 422s when the environment has no active delegated-access encryption key, rather than creating a wallet the caller cannot delegate against.
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof CreateWaasAccountRequest
|
|
61
|
+
*/
|
|
62
|
+
delegateToProjectEnvironment?: boolean;
|
|
57
63
|
/**
|
|
58
64
|
*
|
|
59
65
|
* @type {Ed25519Variant}
|
|
@@ -18,6 +18,7 @@ function CreateWaasAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
'skipLock': !exists(json, 'skipLock') ? undefined : json['skipLock'],
|
|
19
19
|
'addressType': !exists(json, 'addressType') ? undefined : json['addressType'],
|
|
20
20
|
'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
21
|
+
'delegateToProjectEnvironment': !exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
|
|
21
22
|
'variant': !exists(json, 'variant') ? undefined : Ed25519VariantFromJSON(json['variant']),
|
|
22
23
|
};
|
|
23
24
|
}
|
|
@@ -35,6 +36,7 @@ function CreateWaasAccountRequestToJSON(value) {
|
|
|
35
36
|
'skipLock': value.skipLock,
|
|
36
37
|
'addressType': value.addressType,
|
|
37
38
|
'businessAccountId': value.businessAccountId,
|
|
39
|
+
'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
|
|
38
40
|
'variant': Ed25519VariantToJSON(value.variant),
|
|
39
41
|
};
|
|
40
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateWaasAccountRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/CreateWaasAccountRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;AAAA;
|
|
1
|
+
{"version":3,"file":"CreateWaasAccountRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/CreateWaasAccountRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;AAAA;AA0FM,SAAU,gCAAgC,CAAC,IAAS,EAAA;AACtD,IAAA,OAAO,qCAAqC,CAAC,IAAW,CAAC,CAAC;AAC9D,CAAC;AAEe,SAAA,qCAAqC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAE,qBAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC7C,QAAA,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;QAC1C,0BAA0B,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,0BAA0B,CAAC,GAAG,SAAS,GAAG,gCAAgC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;AACtJ,QAAA,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;AACpE,QAAA,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;AAC7E,QAAA,mBAAmB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,mBAAmB,CAAC;AAC/F,QAAA,8BAA8B,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,8BAA8B,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,8BAA8B,CAAC;QAChI,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,sBAAsB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC5F,CAAC;AACN,CAAC;AAEK,SAAU,8BAA8B,CAAC,KAAuC,EAAA;AAClF,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;AAEH,QAAA,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,KAAK,CAAC;QACzC,iBAAiB,EAAE,KAAK,CAAC,eAAe;AACxC,QAAA,0BAA0B,EAAE,8BAA8B,CAAC,KAAK,CAAC,wBAAwB,CAAC;QAC1F,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;QAC5C,8BAA8B,EAAE,KAAK,CAAC,4BAA4B;AAClE,QAAA,SAAS,EAAE,oBAAoB,CAAC,KAAK,CAAC,OAAO,CAAC;KACjD,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function EncryptedWalletApiKeyFromJSON(json) {
|
|
9
|
+
return EncryptedWalletApiKeyFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function EncryptedWalletApiKeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'alg': json['alg'],
|
|
17
|
+
'iv': json['iv'],
|
|
18
|
+
'ct': json['ct'],
|
|
19
|
+
'tag': json['tag'],
|
|
20
|
+
'ek': json['ek'],
|
|
21
|
+
'kid': !runtime.exists(json, 'kid') ? undefined : json['kid'],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function EncryptedWalletApiKeyToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'alg': value.alg,
|
|
33
|
+
'iv': value.iv,
|
|
34
|
+
'ct': value.ct,
|
|
35
|
+
'tag': value.tag,
|
|
36
|
+
'ek': value.ek,
|
|
37
|
+
'kid': value.kid,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.EncryptedWalletApiKeyFromJSON = EncryptedWalletApiKeyFromJSON;
|
|
42
|
+
exports.EncryptedWalletApiKeyFromJSONTyped = EncryptedWalletApiKeyFromJSONTyped;
|
|
43
|
+
exports.EncryptedWalletApiKeyToJSON = EncryptedWalletApiKeyToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EncryptedWalletApiKey.cjs","sources":["../../../../../libs/sdk-api-core/src/models/EncryptedWalletApiKey.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AA2DM,SAAU,6BAA6B,CAAC,IAAS,EAAA;AACnD,IAAA,OAAO,kCAAkC,CAAC,IAAW,CAAC,CAAC;AAC3D,CAAC;AAEe,SAAA,kCAAkC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACtF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;AAClB,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;AAChB,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;AAChB,QAAA,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;AAClB,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;AAChB,QAAA,KAAK,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC;KACxD,CAAC;AACN,CAAC;AAEK,SAAU,2BAA2B,CAAC,KAAoC,EAAA;AAC5E,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,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,KAAK,EAAE,KAAK,CAAC,GAAG;KACnB,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
* A payload sealed by the enclave to the environment's delegated-access RSA public key (HYBRID-RSA-AES-256). Only the developer's private key opens it; redcoast stores and relays it without ever resolving the contents. Structurally identical to DelegatedShareDeliveryRequest's inline `encryptedDelegatedShare` below — the two should be merged into this one the next time the generated `DelegatedShareDeliveryRequestEncryptedDelegatedShare` type can be renamed across its call sites.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EncryptedWalletApiKey
|
|
16
|
+
*/
|
|
17
|
+
export interface EncryptedWalletApiKey {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EncryptedWalletApiKey
|
|
22
|
+
*/
|
|
23
|
+
alg: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EncryptedWalletApiKey
|
|
28
|
+
*/
|
|
29
|
+
iv: string;
|
|
30
|
+
/**
|
|
31
|
+
* A string with a max length of 4096 characters
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EncryptedWalletApiKey
|
|
34
|
+
*/
|
|
35
|
+
ct: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EncryptedWalletApiKey
|
|
40
|
+
*/
|
|
41
|
+
tag: string;
|
|
42
|
+
/**
|
|
43
|
+
* A string with a max length of 4096 characters
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EncryptedWalletApiKey
|
|
46
|
+
*/
|
|
47
|
+
ek: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EncryptedWalletApiKey
|
|
52
|
+
*/
|
|
53
|
+
kid?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function EncryptedWalletApiKeyFromJSON(json: any): EncryptedWalletApiKey;
|
|
56
|
+
export declare function EncryptedWalletApiKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): EncryptedWalletApiKey;
|
|
57
|
+
export declare function EncryptedWalletApiKeyToJSON(value?: EncryptedWalletApiKey | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function EncryptedWalletApiKeyFromJSON(json) {
|
|
5
|
+
return EncryptedWalletApiKeyFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function EncryptedWalletApiKeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'alg': json['alg'],
|
|
13
|
+
'iv': json['iv'],
|
|
14
|
+
'ct': json['ct'],
|
|
15
|
+
'tag': json['tag'],
|
|
16
|
+
'ek': json['ek'],
|
|
17
|
+
'kid': !exists(json, 'kid') ? undefined : json['kid'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function EncryptedWalletApiKeyToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'alg': value.alg,
|
|
29
|
+
'iv': value.iv,
|
|
30
|
+
'ct': value.ct,
|
|
31
|
+
'tag': value.tag,
|
|
32
|
+
'ek': value.ek,
|
|
33
|
+
'kid': value.kid,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { EncryptedWalletApiKeyFromJSON, EncryptedWalletApiKeyFromJSONTyped, EncryptedWalletApiKeyToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EncryptedWalletApiKey.js","sources":["../../../../../libs/sdk-api-core/src/models/EncryptedWalletApiKey.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AA2DM,SAAU,6BAA6B,CAAC,IAAS,EAAA;AACnD,IAAA,OAAO,kCAAkC,CAAC,IAAW,CAAC,CAAC;AAC3D,CAAC;AAEe,SAAA,kCAAkC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACtF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;AAClB,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;AAChB,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;AAChB,QAAA,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;AAClB,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;AAChB,QAAA,KAAK,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC;KACxD,CAAC;AACN,CAAC;AAEK,SAAU,2BAA2B,CAAC,KAAoC,EAAA;AAC5E,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,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,KAAK,EAAE,KAAK,CAAC,GAAG;KACnB,CAAC;AACN;;;;"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var EncryptedWalletApiKey = require('./EncryptedWalletApiKey.cjs');
|
|
6
7
|
var WaasWalletShareSetType = require('./WaasWalletShareSetType.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
@@ -19,6 +20,7 @@ function OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json, ignoreDiscrimina
|
|
|
19
20
|
'newServerKeygenIds': !runtime.exists(json, 'newServerKeygenIds') ? undefined : json['newServerKeygenIds'],
|
|
20
21
|
'walletId': !runtime.exists(json, 'walletId') ? undefined : json['walletId'],
|
|
21
22
|
'accountAddress': !runtime.exists(json, 'accountAddress') ? undefined : json['accountAddress'],
|
|
23
|
+
'encryptedWalletApiKey': !runtime.exists(json, 'encryptedWalletApiKey') ? undefined : EncryptedWalletApiKey.EncryptedWalletApiKeyFromJSON(json['encryptedWalletApiKey']),
|
|
22
24
|
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
23
25
|
'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
24
26
|
};
|
|
@@ -36,6 +38,7 @@ function OpenRoomResponseWithServerKeygenIdsToJSON(value) {
|
|
|
36
38
|
'newServerKeygenIds': value.newServerKeygenIds,
|
|
37
39
|
'walletId': value.walletId,
|
|
38
40
|
'accountAddress': value.accountAddress,
|
|
41
|
+
'encryptedWalletApiKey': EncryptedWalletApiKey.EncryptedWalletApiKeyToJSON(value.encryptedWalletApiKey),
|
|
39
42
|
'shareSetId': value.shareSetId,
|
|
40
43
|
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
41
44
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenRoomResponseWithServerKeygenIds.cjs","sources":["../../../../../libs/sdk-api-core/src/models/OpenRoomResponseWithServerKeygenIds.ts"],"sourcesContent":null,"names":["exists","WaasWalletShareSetTypeFromJSON","WaasWalletShareSetTypeToJSON"],"mappings":"
|
|
1
|
+
{"version":3,"file":"OpenRoomResponseWithServerKeygenIds.cjs","sources":["../../../../../libs/sdk-api-core/src/models/OpenRoomResponseWithServerKeygenIds.ts"],"sourcesContent":null,"names":["exists","EncryptedWalletApiKeyFromJSON","WaasWalletShareSetTypeFromJSON","EncryptedWalletApiKeyToJSON","WaasWalletShareSetTypeToJSON"],"mappings":";;;;;;;;AAAA;AAgGM,SAAU,2CAA2C,CAAC,IAAS,EAAA;AACjE,IAAA,OAAO,gDAAgD,CAAC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f;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,iBAAiB,EAAE,KAAK,CAAC,eAAe;QACxC,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;QAC9C,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,gBAAgB,EAAE,KAAK,CAAC,cAAc;AACtC,QAAA,uBAAuB,EAAEC,iDAA2B,CAAC,KAAK,CAAC,qBAAqB,CAAC;QACjF,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,cAAc,EAAEC,mDAA4B,CAAC,KAAK,CAAC,YAAY,CAAC;KACnE,CAAC;AACN;;;;;;"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { EncryptedWalletApiKey } from './EncryptedWalletApiKey';
|
|
12
13
|
import { WaasWalletShareSetType } from './WaasWalletShareSetType';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -46,6 +47,12 @@ export interface OpenRoomResponseWithServerKeygenIds {
|
|
|
46
47
|
* @memberof OpenRoomResponseWithServerKeygenIds
|
|
47
48
|
*/
|
|
48
49
|
accountAddress?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Present only on a create that set `delegateToProjectEnvironment`. Inherited by RefreshKeySharesResponse through this schema, where it is never set.
|
|
52
|
+
* @type {EncryptedWalletApiKey}
|
|
53
|
+
* @memberof OpenRoomResponseWithServerKeygenIds
|
|
54
|
+
*/
|
|
55
|
+
encryptedWalletApiKey?: EncryptedWalletApiKey | null;
|
|
49
56
|
/**
|
|
50
57
|
* Identifier of the new share set produced by this ceremony.
|
|
51
58
|
* @type {string}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { EncryptedWalletApiKeyFromJSON, EncryptedWalletApiKeyToJSON } from './EncryptedWalletApiKey.js';
|
|
2
3
|
import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -15,6 +16,7 @@ function OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json, ignoreDiscrimina
|
|
|
15
16
|
'newServerKeygenIds': !exists(json, 'newServerKeygenIds') ? undefined : json['newServerKeygenIds'],
|
|
16
17
|
'walletId': !exists(json, 'walletId') ? undefined : json['walletId'],
|
|
17
18
|
'accountAddress': !exists(json, 'accountAddress') ? undefined : json['accountAddress'],
|
|
19
|
+
'encryptedWalletApiKey': !exists(json, 'encryptedWalletApiKey') ? undefined : EncryptedWalletApiKeyFromJSON(json['encryptedWalletApiKey']),
|
|
18
20
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
19
21
|
'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
20
22
|
};
|
|
@@ -32,6 +34,7 @@ function OpenRoomResponseWithServerKeygenIdsToJSON(value) {
|
|
|
32
34
|
'newServerKeygenIds': value.newServerKeygenIds,
|
|
33
35
|
'walletId': value.walletId,
|
|
34
36
|
'accountAddress': value.accountAddress,
|
|
37
|
+
'encryptedWalletApiKey': EncryptedWalletApiKeyToJSON(value.encryptedWalletApiKey),
|
|
35
38
|
'shareSetId': value.shareSetId,
|
|
36
39
|
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
37
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenRoomResponseWithServerKeygenIds.js","sources":["../../../../../libs/sdk-api-core/src/models/OpenRoomResponseWithServerKeygenIds.ts"],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OpenRoomResponseWithServerKeygenIds.js","sources":["../../../../../libs/sdk-api-core/src/models/OpenRoomResponseWithServerKeygenIds.ts"],"sourcesContent":null,"names":[],"mappings":";;;;AAAA;AAgGM,SAAU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KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,iBAAiB,EAAE,KAAK,CAAC,eAAe;QACxC,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;QAC9C,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,gBAAgB,EAAE,KAAK,CAAC,cAAc;AACtC,QAAA,uBAAuB,EAAE,2BAA2B,CAAC,KAAK,CAAC,qBAAqB,CAAC;QACjF,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,cAAc,EAAE,4BAA4B,CAAC,KAAK,CAAC,YAAY,CAAC;KACnE,CAAC;AACN;;;;"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var EncryptedWalletApiKey = require('./EncryptedWalletApiKey.cjs');
|
|
6
7
|
var WaasWalletShareSetType = require('./WaasWalletShareSetType.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
@@ -15,6 +16,7 @@ function OpenRoomResponseWithServerKeygenIdsAllOfFromJSONTyped(json, ignoreDiscr
|
|
|
15
16
|
}
|
|
16
17
|
return {
|
|
17
18
|
'accountAddress': !runtime.exists(json, 'accountAddress') ? undefined : json['accountAddress'],
|
|
19
|
+
'encryptedWalletApiKey': !runtime.exists(json, 'encryptedWalletApiKey') ? undefined : EncryptedWalletApiKey.EncryptedWalletApiKeyFromJSON(json['encryptedWalletApiKey']),
|
|
18
20
|
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
19
21
|
'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
20
22
|
};
|
|
@@ -28,6 +30,7 @@ function OpenRoomResponseWithServerKeygenIdsAllOfToJSON(value) {
|
|
|
28
30
|
}
|
|
29
31
|
return {
|
|
30
32
|
'accountAddress': value.accountAddress,
|
|
33
|
+
'encryptedWalletApiKey': EncryptedWalletApiKey.EncryptedWalletApiKeyToJSON(value.encryptedWalletApiKey),
|
|
31
34
|
'shareSetId': value.shareSetId,
|
|
32
35
|
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
33
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenRoomResponseWithServerKeygenIdsAllOf.cjs","sources":["../../../../../libs/sdk-api-core/src/models/OpenRoomResponseWithServerKeygenIdsAllOf.ts"],"sourcesContent":null,"names":["exists","WaasWalletShareSetTypeFromJSON","WaasWalletShareSetTypeToJSON"],"mappings":"
|
|
1
|
+
{"version":3,"file":"OpenRoomResponseWithServerKeygenIdsAllOf.cjs","sources":["../../../../../libs/sdk-api-core/src/models/OpenRoomResponseWithServerKeygenIdsAllOf.ts"],"sourcesContent":null,"names":["exists","EncryptedWalletApiKeyFromJSON","WaasWalletShareSetTypeFromJSON","EncryptedWalletApiKeyToJSON","WaasWalletShareSetTypeToJSON"],"mappings":";;;;;;;;AAAA;AA4DM,SAAU,gDAAgD,CAAC,IAAS,EAAA;AACtE,IAAA,OAAO,qDAAqD,CAAC,IAAW,CAAC,CAAC;AAC9E,CAAC;AAEe,SAAA,qDAAqD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,gBAAgB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC;QACtF,uBAAuB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAGC,mDAA6B,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC1I,QAAA,YAAY,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QAC1E,cAAc,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,cAAc,CAAC,GAAG,SAAS,GAAGE,qDAA8B,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KACnH,CAAC;AACN,CAAC;AAEK,SAAU,8CAA8C,CAAC,KAAuD,EAAA;AAClH,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,gBAAgB,EAAE,KAAK,CAAC,cAAc;AACtC,QAAA,uBAAuB,EAAEC,iDAA2B,CAAC,KAAK,CAAC,qBAAqB,CAAC;QACjF,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,cAAc,EAAEC,mDAA4B,CAAC,KAAK,CAAC,YAAY,CAAC;KACnE,CAAC;AACN;;;;;;"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { EncryptedWalletApiKey } from './EncryptedWalletApiKey';
|
|
12
13
|
import { WaasWalletShareSetType } from './WaasWalletShareSetType';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -22,6 +23,12 @@ export interface OpenRoomResponseWithServerKeygenIdsAllOf {
|
|
|
22
23
|
* @memberof OpenRoomResponseWithServerKeygenIdsAllOf
|
|
23
24
|
*/
|
|
24
25
|
accountAddress?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Present only on a create that set `delegateToProjectEnvironment`. Inherited by RefreshKeySharesResponse through this schema, where it is never set.
|
|
28
|
+
* @type {EncryptedWalletApiKey}
|
|
29
|
+
* @memberof OpenRoomResponseWithServerKeygenIdsAllOf
|
|
30
|
+
*/
|
|
31
|
+
encryptedWalletApiKey?: EncryptedWalletApiKey | null;
|
|
25
32
|
/**
|
|
26
33
|
* Identifier of the new share set produced by this ceremony.
|
|
27
34
|
* @type {string}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { EncryptedWalletApiKeyFromJSON, EncryptedWalletApiKeyToJSON } from './EncryptedWalletApiKey.js';
|
|
2
3
|
import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -11,6 +12,7 @@ function OpenRoomResponseWithServerKeygenIdsAllOfFromJSONTyped(json, ignoreDiscr
|
|
|
11
12
|
}
|
|
12
13
|
return {
|
|
13
14
|
'accountAddress': !exists(json, 'accountAddress') ? undefined : json['accountAddress'],
|
|
15
|
+
'encryptedWalletApiKey': !exists(json, 'encryptedWalletApiKey') ? undefined : EncryptedWalletApiKeyFromJSON(json['encryptedWalletApiKey']),
|
|
14
16
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
15
17
|
'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
16
18
|
};
|
|
@@ -24,6 +26,7 @@ function OpenRoomResponseWithServerKeygenIdsAllOfToJSON(value) {
|
|
|
24
26
|
}
|
|
25
27
|
return {
|
|
26
28
|
'accountAddress': value.accountAddress,
|
|
29
|
+
'encryptedWalletApiKey': EncryptedWalletApiKeyToJSON(value.encryptedWalletApiKey),
|
|
27
30
|
'shareSetId': value.shareSetId,
|
|
28
31
|
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
29
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenRoomResponseWithServerKeygenIdsAllOf.js","sources":["../../../../../libs/sdk-api-core/src/models/OpenRoomResponseWithServerKeygenIdsAllOf.ts"],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OpenRoomResponseWithServerKeygenIdsAllOf.js","sources":["../../../../../libs/sdk-api-core/src/models/OpenRoomResponseWithServerKeygenIdsAllOf.ts"],"sourcesContent":null,"names":[],"mappings":";;;;AAAA;AA4DM,SAAU,gDAAgD,CAAC,IAAS,EAAA;AACtE,IAAA,OAAO,qDAAqD,CAAC,IAAW,CAAC,CAAC;AAC9E,CAAC;AAEe,SAAA,qDAAqD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,gBAAgB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC;QACtF,uBAAuB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAG,6BAA6B,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC1I,QAAA,YAAY,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QAC1E,cAAc,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,GAAG,SAAS,GAAG,8BAA8B,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KACnH,CAAC;AACN,CAAC;AAEK,SAAU,8CAA8C,CAAC,KAAuD,EAAA;AAClH,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,gBAAgB,EAAE,KAAK,CAAC,cAAc;AACtC,QAAA,uBAAuB,EAAE,2BAA2B,CAAC,KAAK,CAAC,qBAAqB,CAAC;QACjF,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,cAAc,EAAE,4BAA4B,CAAC,KAAK,CAAC,YAAY,CAAC;KACnE,CAAC;AACN;;;;"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var EncryptedWalletApiKey = require('./EncryptedWalletApiKey.cjs');
|
|
6
7
|
var WaasWalletShareSetType = require('./WaasWalletShareSetType.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
@@ -19,6 +20,7 @@ function RefreshKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
20
|
'newServerKeygenIds': !runtime.exists(json, 'newServerKeygenIds') ? undefined : json['newServerKeygenIds'],
|
|
20
21
|
'walletId': !runtime.exists(json, 'walletId') ? undefined : json['walletId'],
|
|
21
22
|
'accountAddress': !runtime.exists(json, 'accountAddress') ? undefined : json['accountAddress'],
|
|
23
|
+
'encryptedWalletApiKey': !runtime.exists(json, 'encryptedWalletApiKey') ? undefined : EncryptedWalletApiKey.EncryptedWalletApiKeyFromJSON(json['encryptedWalletApiKey']),
|
|
22
24
|
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
23
25
|
'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
24
26
|
};
|
|
@@ -36,6 +38,7 @@ function RefreshKeySharesResponseToJSON(value) {
|
|
|
36
38
|
'newServerKeygenIds': value.newServerKeygenIds,
|
|
37
39
|
'walletId': value.walletId,
|
|
38
40
|
'accountAddress': value.accountAddress,
|
|
41
|
+
'encryptedWalletApiKey': EncryptedWalletApiKey.EncryptedWalletApiKeyToJSON(value.encryptedWalletApiKey),
|
|
39
42
|
'shareSetId': value.shareSetId,
|
|
40
43
|
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
41
44
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RefreshKeySharesResponse.cjs","sources":["../../../../../libs/sdk-api-core/src/models/RefreshKeySharesResponse.ts"],"sourcesContent":null,"names":["exists","WaasWalletShareSetTypeFromJSON","WaasWalletShareSetTypeToJSON"],"mappings":"
|
|
1
|
+
{"version":3,"file":"RefreshKeySharesResponse.cjs","sources":["../../../../../libs/sdk-api-core/src/models/RefreshKeySharesResponse.ts"],"sourcesContent":null,"names":["exists","EncryptedWalletApiKeyFromJSON","WaasWalletShareSetTypeFromJSON","EncryptedWalletApiKeyToJSON","WaasWalletShareSetTypeToJSON"],"mappings":";;;;;;;;AAAA;AA0FM,SAAU,gCAAgC,CAAC,IAAS,EAAA;AACtD,IAAA,OAAO,qCAAqC,CAAC,IAAW,CAAC,CAAC;AAC9D,CAAC;AAEe,SAAA,qCAAqC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;AAC1C,QAAA,oBAAoB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,oBAAoB,CAAC;AAClG,QAAA,UAAU,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;AACpE,QAAA,gBAAgB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC;QACtF,uBAAuB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAGC,mDAA6B,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC1I,QAAA,YAAY,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QAC1E,cAAc,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,cAAc,CAAC,GAAG,SAAS,GAAGE,qDAA8B,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KACnH,CAAC;AACN,CAAC;AAEK,SAAU,8BAA8B,CAAC,KAAuC,EAAA;AAClF,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,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,iBAAiB,EAAE,KAAK,CAAC,eAAe;QACxC,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;QAC9C,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,gBAAgB,EAAE,KAAK,CAAC,cAAc;AACtC,QAAA,uBAAuB,EAAEC,iDAA2B,CAAC,KAAK,CAAC,qBAAqB,CAAC;QACjF,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,cAAc,EAAEC,mDAA4B,CAAC,KAAK,CAAC,YAAY,CAAC;KACnE,CAAC;AACN;;;;;;"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { EncryptedWalletApiKey } from './EncryptedWalletApiKey';
|
|
12
13
|
import { WaasWalletShareSetType } from './WaasWalletShareSetType';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -46,6 +47,12 @@ export interface RefreshKeySharesResponse {
|
|
|
46
47
|
* @memberof RefreshKeySharesResponse
|
|
47
48
|
*/
|
|
48
49
|
accountAddress?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Present only on a create that set `delegateToProjectEnvironment`. Inherited by RefreshKeySharesResponse through this schema, where it is never set.
|
|
52
|
+
* @type {EncryptedWalletApiKey}
|
|
53
|
+
* @memberof RefreshKeySharesResponse
|
|
54
|
+
*/
|
|
55
|
+
encryptedWalletApiKey?: EncryptedWalletApiKey | null;
|
|
49
56
|
/**
|
|
50
57
|
* Identifier of the new share set produced by this ceremony.
|
|
51
58
|
* @type {string}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { EncryptedWalletApiKeyFromJSON, EncryptedWalletApiKeyToJSON } from './EncryptedWalletApiKey.js';
|
|
2
3
|
import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -15,6 +16,7 @@ function RefreshKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
16
|
'newServerKeygenIds': !exists(json, 'newServerKeygenIds') ? undefined : json['newServerKeygenIds'],
|
|
16
17
|
'walletId': !exists(json, 'walletId') ? undefined : json['walletId'],
|
|
17
18
|
'accountAddress': !exists(json, 'accountAddress') ? undefined : json['accountAddress'],
|
|
19
|
+
'encryptedWalletApiKey': !exists(json, 'encryptedWalletApiKey') ? undefined : EncryptedWalletApiKeyFromJSON(json['encryptedWalletApiKey']),
|
|
18
20
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
19
21
|
'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
20
22
|
};
|
|
@@ -32,6 +34,7 @@ function RefreshKeySharesResponseToJSON(value) {
|
|
|
32
34
|
'newServerKeygenIds': value.newServerKeygenIds,
|
|
33
35
|
'walletId': value.walletId,
|
|
34
36
|
'accountAddress': value.accountAddress,
|
|
37
|
+
'encryptedWalletApiKey': EncryptedWalletApiKeyToJSON(value.encryptedWalletApiKey),
|
|
35
38
|
'shareSetId': value.shareSetId,
|
|
36
39
|
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
37
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RefreshKeySharesResponse.js","sources":["../../../../../libs/sdk-api-core/src/models/RefreshKeySharesResponse.ts"],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RefreshKeySharesResponse.js","sources":["../../../../../libs/sdk-api-core/src/models/RefreshKeySharesResponse.ts"],"sourcesContent":null,"names":[],"mappings":";;;;AAAA;AA0FM,SAAU,gCAAgC,CAAC,IAAS,EAAA;AACtD,IAAA,OAAO,qCAAqC,CAAC,IAAW,CAAC,CAAC;AAC9D,CAAC;AAEe,SAAA,qCAAqC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;AAC1C,QAAA,oBAAoB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,oBAAoB,CAAC;AAClG,QAAA,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;AACpE,QAAA,gBAAgB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC;QACtF,uBAAuB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAG,6BAA6B,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC1I,QAAA,YAAY,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QAC1E,cAAc,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,GAAG,SAAS,GAAG,8BAA8B,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KACnH,CAAC;AACN,CAAC;AAEK,SAAU,8BAA8B,CAAC,KAAuC,EAAA;AAClF,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,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,iBAAiB,EAAE,KAAK,CAAC,eAAe;QACxC,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;QAC9C,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,gBAAgB,EAAE,KAAK,CAAC,cAAc;AACtC,QAAA,uBAAuB,EAAE,2BAA2B,CAAC,KAAK,CAAC,qBAAqB,CAAC;QACjF,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,cAAc,EAAE,4BAA4B,CAAC,KAAK,CAAC,YAAY,CAAC;KACnE,CAAC;AACN;;;;"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -153,6 +153,7 @@ export * from './EmbeddedWalletSecretWithUpdatedJwt';
|
|
|
153
153
|
export * from './EmbeddedWalletSecretWithUpdatedJwtAllOf';
|
|
154
154
|
export * from './EmbeddedWalletSecurityMethod';
|
|
155
155
|
export * from './EmbeddedWalletVersionEnum';
|
|
156
|
+
export * from './EncryptedWalletApiKey';
|
|
156
157
|
export * from './EnvironmentEnum';
|
|
157
158
|
export * from './ErrorMessageWithCode';
|
|
158
159
|
export * from './Exchange';
|