@dynamic-labs/sdk-api-core 0.0.961 → 0.0.964
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/SDKApi.cjs +613 -0
- package/src/apis/SDKApi.d.ts +258 -1
- package/src/apis/SDKApi.js +614 -1
- package/src/apis/WaasApi.cjs +4 -0
- package/src/apis/WaasApi.js +4 -0
- package/src/index.cjs +80 -0
- package/src/index.js +14 -1
- package/src/models/EmbeddedWalletChainEnum.cjs +1 -0
- package/src/models/EmbeddedWalletChainEnum.d.ts +2 -1
- package/src/models/EmbeddedWalletChainEnum.js +1 -0
- package/src/models/ExportAleoViewKeyRequest.cjs +43 -0
- package/src/models/ExportAleoViewKeyRequest.d.ts +27 -0
- package/src/models/ExportAleoViewKeyRequest.js +37 -0
- package/src/models/InlineObject1.cjs +46 -0
- package/src/models/InlineObject1.d.ts +47 -0
- package/src/models/InlineObject1.js +40 -0
- package/src/models/InlineObject2.cjs +56 -0
- package/src/models/InlineObject2.d.ts +47 -0
- package/src/models/InlineObject2.js +50 -0
- package/src/models/InlineObject3.cjs +54 -0
- package/src/models/InlineObject3.d.ts +43 -0
- package/src/models/InlineObject3.js +48 -0
- package/src/models/InlineObject4.cjs +54 -0
- package/src/models/InlineObject4.d.ts +41 -0
- package/src/models/InlineObject4.js +48 -0
- package/src/models/InlineResponse2001.cjs +34 -0
- package/src/models/InlineResponse2001.d.ts +28 -0
- package/src/models/InlineResponse2001.js +28 -0
- package/src/models/InlineResponse2001AllowedPrograms.cjs +35 -0
- package/src/models/InlineResponse2001AllowedPrograms.d.ts +33 -0
- package/src/models/InlineResponse2001AllowedPrograms.js +29 -0
- package/src/models/InlineResponse2002.cjs +43 -0
- package/src/models/InlineResponse2002.d.ts +27 -0
- package/src/models/InlineResponse2002.js +37 -0
- package/src/models/InlineResponse2003.cjs +43 -0
- package/src/models/InlineResponse2003.d.ts +27 -0
- package/src/models/InlineResponse2003.js +37 -0
- package/src/models/InlineResponse2004.cjs +45 -0
- package/src/models/InlineResponse2004.d.ts +33 -0
- package/src/models/InlineResponse2004.js +39 -0
- package/src/models/InlineResponse2005.cjs +43 -0
- package/src/models/InlineResponse2005.d.ts +27 -0
- package/src/models/InlineResponse2005.js +37 -0
- package/src/models/InlineResponse2006.cjs +43 -0
- package/src/models/InlineResponse2006.d.ts +29 -0
- package/src/models/InlineResponse2006.js +37 -0
- package/src/models/SignAleoRequestWithWaasRequest.cjs +43 -0
- package/src/models/SignAleoRequestWithWaasRequest.d.ts +29 -0
- package/src/models/SignAleoRequestWithWaasRequest.js +37 -0
- package/src/models/WaasChainEnum.cjs +1 -0
- package/src/models/WaasChainEnum.d.ts +2 -1
- package/src/models/WaasChainEnum.js +1 -0
- package/src/models/index.d.ts +13 -0
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -67,6 +67,10 @@ require('../models/GlobalWalletAccessControlTypeEnum.cjs');
|
|
|
67
67
|
require('../models/GlobalWalletConnectionStatusEnum.cjs');
|
|
68
68
|
require('../models/HealthcheckStatus.cjs');
|
|
69
69
|
require('../models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.cjs');
|
|
70
|
+
require('../models/InlineObject1.cjs');
|
|
71
|
+
require('../models/InlineObject2.cjs');
|
|
72
|
+
require('../models/InlineObject3.cjs');
|
|
73
|
+
require('../models/InlineObject4.cjs');
|
|
70
74
|
require('../models/JwtScope.cjs');
|
|
71
75
|
require('../models/MFAAction.cjs');
|
|
72
76
|
require('../models/MFADeviceType.cjs');
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -63,6 +63,10 @@ import '../models/GlobalWalletAccessControlTypeEnum.js';
|
|
|
63
63
|
import '../models/GlobalWalletConnectionStatusEnum.js';
|
|
64
64
|
import '../models/HealthcheckStatus.js';
|
|
65
65
|
import '../models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.js';
|
|
66
|
+
import '../models/InlineObject1.js';
|
|
67
|
+
import '../models/InlineObject2.js';
|
|
68
|
+
import '../models/InlineObject3.js';
|
|
69
|
+
import '../models/InlineObject4.js';
|
|
66
70
|
import '../models/JwtScope.js';
|
|
67
71
|
import '../models/MFAAction.js';
|
|
68
72
|
import '../models/MFADeviceType.js';
|
package/src/index.cjs
CHANGED
|
@@ -139,6 +139,7 @@ var ExchangeKeyEnum = require('./models/ExchangeKeyEnum.cjs');
|
|
|
139
139
|
var ExchangeOption = require('./models/ExchangeOption.cjs');
|
|
140
140
|
var ExchangeTransaction = require('./models/ExchangeTransaction.cjs');
|
|
141
141
|
var ExchangeTransferResponse = require('./models/ExchangeTransferResponse.cjs');
|
|
142
|
+
var ExportAleoViewKeyRequest = require('./models/ExportAleoViewKeyRequest.cjs');
|
|
142
143
|
var ExportEmbeddedWalletResponse = require('./models/ExportEmbeddedWalletResponse.cjs');
|
|
143
144
|
var ExportWaasWalletPrivateKeyRequest = require('./models/ExportWaasWalletPrivateKeyRequest.cjs');
|
|
144
145
|
var ExternalAuth = require('./models/ExternalAuth.cjs');
|
|
@@ -179,7 +180,18 @@ var InitEmailAuthResponse = require('./models/InitEmailAuthResponse.cjs');
|
|
|
179
180
|
var InitPasskeyRecoveryRequest = require('./models/InitPasskeyRecoveryRequest.cjs');
|
|
180
181
|
var InitPasskeyRecoveryResponse = require('./models/InitPasskeyRecoveryResponse.cjs');
|
|
181
182
|
var InlineObject = require('./models/InlineObject.cjs');
|
|
183
|
+
var InlineObject1 = require('./models/InlineObject1.cjs');
|
|
184
|
+
var InlineObject2 = require('./models/InlineObject2.cjs');
|
|
185
|
+
var InlineObject3 = require('./models/InlineObject3.cjs');
|
|
186
|
+
var InlineObject4 = require('./models/InlineObject4.cjs');
|
|
182
187
|
var InlineResponse200 = require('./models/InlineResponse200.cjs');
|
|
188
|
+
var InlineResponse2001 = require('./models/InlineResponse2001.cjs');
|
|
189
|
+
var InlineResponse2001AllowedPrograms = require('./models/InlineResponse2001AllowedPrograms.cjs');
|
|
190
|
+
var InlineResponse2002 = require('./models/InlineResponse2002.cjs');
|
|
191
|
+
var InlineResponse2003 = require('./models/InlineResponse2003.cjs');
|
|
192
|
+
var InlineResponse2004 = require('./models/InlineResponse2004.cjs');
|
|
193
|
+
var InlineResponse2005 = require('./models/InlineResponse2005.cjs');
|
|
194
|
+
var InlineResponse2006 = require('./models/InlineResponse2006.cjs');
|
|
183
195
|
var IntegrationSetting = require('./models/IntegrationSetting.cjs');
|
|
184
196
|
var InternalServerError = require('./models/InternalServerError.cjs');
|
|
185
197
|
var JwksKey = require('./models/JwksKey.cjs');
|
|
@@ -333,6 +345,7 @@ var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
|
|
|
333
345
|
var SecurityNotifications = require('./models/SecurityNotifications.cjs');
|
|
334
346
|
var SettlementConfigInput = require('./models/SettlementConfigInput.cjs');
|
|
335
347
|
var SettlementStrategyEnum = require('./models/SettlementStrategyEnum.cjs');
|
|
348
|
+
var SignAleoRequestWithWaasRequest = require('./models/SignAleoRequestWithWaasRequest.cjs');
|
|
336
349
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
337
350
|
var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizationSignature.cjs');
|
|
338
351
|
var SignMessageBtcTransaction = require('./models/SignMessageBtcTransaction.cjs');
|
|
@@ -474,6 +487,18 @@ exports.canConsumeForm = runtime.canConsumeForm;
|
|
|
474
487
|
exports.exists = runtime.exists;
|
|
475
488
|
exports.mapValues = runtime.mapValues;
|
|
476
489
|
exports.querystring = runtime.querystring;
|
|
490
|
+
Object.defineProperty(exports, 'GetAleoFeemasterPolicyNetworkEnum', {
|
|
491
|
+
enumerable: true,
|
|
492
|
+
get: function () { return SDKApi.GetAleoFeemasterPolicyNetworkEnum; }
|
|
493
|
+
});
|
|
494
|
+
Object.defineProperty(exports, 'GetAleoScannerPubkeyNetworkEnum', {
|
|
495
|
+
enumerable: true,
|
|
496
|
+
get: function () { return SDKApi.GetAleoScannerPubkeyNetworkEnum; }
|
|
497
|
+
});
|
|
498
|
+
Object.defineProperty(exports, 'IsAleoFeemasterCoveredNetworkEnum', {
|
|
499
|
+
enumerable: true,
|
|
500
|
+
get: function () { return SDKApi.IsAleoFeemasterCoveredNetworkEnum; }
|
|
501
|
+
});
|
|
477
502
|
exports.SDKApi = SDKApi.SDKApi;
|
|
478
503
|
exports.WaasApi = WaasApi.WaasApi;
|
|
479
504
|
exports.AccountFromJSON = Account.AccountFromJSON;
|
|
@@ -1006,6 +1031,9 @@ exports.ExchangeTransactionToJSON = ExchangeTransaction.ExchangeTransactionToJSO
|
|
|
1006
1031
|
exports.ExchangeTransferResponseFromJSON = ExchangeTransferResponse.ExchangeTransferResponseFromJSON;
|
|
1007
1032
|
exports.ExchangeTransferResponseFromJSONTyped = ExchangeTransferResponse.ExchangeTransferResponseFromJSONTyped;
|
|
1008
1033
|
exports.ExchangeTransferResponseToJSON = ExchangeTransferResponse.ExchangeTransferResponseToJSON;
|
|
1034
|
+
exports.ExportAleoViewKeyRequestFromJSON = ExportAleoViewKeyRequest.ExportAleoViewKeyRequestFromJSON;
|
|
1035
|
+
exports.ExportAleoViewKeyRequestFromJSONTyped = ExportAleoViewKeyRequest.ExportAleoViewKeyRequestFromJSONTyped;
|
|
1036
|
+
exports.ExportAleoViewKeyRequestToJSON = ExportAleoViewKeyRequest.ExportAleoViewKeyRequestToJSON;
|
|
1009
1037
|
exports.ExportEmbeddedWalletResponseFromJSON = ExportEmbeddedWalletResponse.ExportEmbeddedWalletResponseFromJSON;
|
|
1010
1038
|
exports.ExportEmbeddedWalletResponseFromJSONTyped = ExportEmbeddedWalletResponse.ExportEmbeddedWalletResponseFromJSONTyped;
|
|
1011
1039
|
exports.ExportEmbeddedWalletResponseToJSON = ExportEmbeddedWalletResponse.ExportEmbeddedWalletResponseToJSON;
|
|
@@ -1150,9 +1178,58 @@ exports.InitPasskeyRecoveryResponseToJSON = InitPasskeyRecoveryResponse.InitPass
|
|
|
1150
1178
|
exports.InlineObjectFromJSON = InlineObject.InlineObjectFromJSON;
|
|
1151
1179
|
exports.InlineObjectFromJSONTyped = InlineObject.InlineObjectFromJSONTyped;
|
|
1152
1180
|
exports.InlineObjectToJSON = InlineObject.InlineObjectToJSON;
|
|
1181
|
+
exports.InlineObject1FromJSON = InlineObject1.InlineObject1FromJSON;
|
|
1182
|
+
exports.InlineObject1FromJSONTyped = InlineObject1.InlineObject1FromJSONTyped;
|
|
1183
|
+
Object.defineProperty(exports, 'InlineObject1NetworkEnum', {
|
|
1184
|
+
enumerable: true,
|
|
1185
|
+
get: function () { return InlineObject1.InlineObject1NetworkEnum; }
|
|
1186
|
+
});
|
|
1187
|
+
exports.InlineObject1ToJSON = InlineObject1.InlineObject1ToJSON;
|
|
1188
|
+
exports.InlineObject2FromJSON = InlineObject2.InlineObject2FromJSON;
|
|
1189
|
+
exports.InlineObject2FromJSONTyped = InlineObject2.InlineObject2FromJSONTyped;
|
|
1190
|
+
Object.defineProperty(exports, 'InlineObject2NetworkEnum', {
|
|
1191
|
+
enumerable: true,
|
|
1192
|
+
get: function () { return InlineObject2.InlineObject2NetworkEnum; }
|
|
1193
|
+
});
|
|
1194
|
+
exports.InlineObject2ToJSON = InlineObject2.InlineObject2ToJSON;
|
|
1195
|
+
exports.InlineObject3FromJSON = InlineObject3.InlineObject3FromJSON;
|
|
1196
|
+
exports.InlineObject3FromJSONTyped = InlineObject3.InlineObject3FromJSONTyped;
|
|
1197
|
+
Object.defineProperty(exports, 'InlineObject3NetworkEnum', {
|
|
1198
|
+
enumerable: true,
|
|
1199
|
+
get: function () { return InlineObject3.InlineObject3NetworkEnum; }
|
|
1200
|
+
});
|
|
1201
|
+
exports.InlineObject3ToJSON = InlineObject3.InlineObject3ToJSON;
|
|
1202
|
+
exports.InlineObject4FromJSON = InlineObject4.InlineObject4FromJSON;
|
|
1203
|
+
exports.InlineObject4FromJSONTyped = InlineObject4.InlineObject4FromJSONTyped;
|
|
1204
|
+
Object.defineProperty(exports, 'InlineObject4NetworkEnum', {
|
|
1205
|
+
enumerable: true,
|
|
1206
|
+
get: function () { return InlineObject4.InlineObject4NetworkEnum; }
|
|
1207
|
+
});
|
|
1208
|
+
exports.InlineObject4ToJSON = InlineObject4.InlineObject4ToJSON;
|
|
1153
1209
|
exports.InlineResponse200FromJSON = InlineResponse200.InlineResponse200FromJSON;
|
|
1154
1210
|
exports.InlineResponse200FromJSONTyped = InlineResponse200.InlineResponse200FromJSONTyped;
|
|
1155
1211
|
exports.InlineResponse200ToJSON = InlineResponse200.InlineResponse200ToJSON;
|
|
1212
|
+
exports.InlineResponse2001FromJSON = InlineResponse2001.InlineResponse2001FromJSON;
|
|
1213
|
+
exports.InlineResponse2001FromJSONTyped = InlineResponse2001.InlineResponse2001FromJSONTyped;
|
|
1214
|
+
exports.InlineResponse2001ToJSON = InlineResponse2001.InlineResponse2001ToJSON;
|
|
1215
|
+
exports.InlineResponse2001AllowedProgramsFromJSON = InlineResponse2001AllowedPrograms.InlineResponse2001AllowedProgramsFromJSON;
|
|
1216
|
+
exports.InlineResponse2001AllowedProgramsFromJSONTyped = InlineResponse2001AllowedPrograms.InlineResponse2001AllowedProgramsFromJSONTyped;
|
|
1217
|
+
exports.InlineResponse2001AllowedProgramsToJSON = InlineResponse2001AllowedPrograms.InlineResponse2001AllowedProgramsToJSON;
|
|
1218
|
+
exports.InlineResponse2002FromJSON = InlineResponse2002.InlineResponse2002FromJSON;
|
|
1219
|
+
exports.InlineResponse2002FromJSONTyped = InlineResponse2002.InlineResponse2002FromJSONTyped;
|
|
1220
|
+
exports.InlineResponse2002ToJSON = InlineResponse2002.InlineResponse2002ToJSON;
|
|
1221
|
+
exports.InlineResponse2003FromJSON = InlineResponse2003.InlineResponse2003FromJSON;
|
|
1222
|
+
exports.InlineResponse2003FromJSONTyped = InlineResponse2003.InlineResponse2003FromJSONTyped;
|
|
1223
|
+
exports.InlineResponse2003ToJSON = InlineResponse2003.InlineResponse2003ToJSON;
|
|
1224
|
+
exports.InlineResponse2004FromJSON = InlineResponse2004.InlineResponse2004FromJSON;
|
|
1225
|
+
exports.InlineResponse2004FromJSONTyped = InlineResponse2004.InlineResponse2004FromJSONTyped;
|
|
1226
|
+
exports.InlineResponse2004ToJSON = InlineResponse2004.InlineResponse2004ToJSON;
|
|
1227
|
+
exports.InlineResponse2005FromJSON = InlineResponse2005.InlineResponse2005FromJSON;
|
|
1228
|
+
exports.InlineResponse2005FromJSONTyped = InlineResponse2005.InlineResponse2005FromJSONTyped;
|
|
1229
|
+
exports.InlineResponse2005ToJSON = InlineResponse2005.InlineResponse2005ToJSON;
|
|
1230
|
+
exports.InlineResponse2006FromJSON = InlineResponse2006.InlineResponse2006FromJSON;
|
|
1231
|
+
exports.InlineResponse2006FromJSONTyped = InlineResponse2006.InlineResponse2006FromJSONTyped;
|
|
1232
|
+
exports.InlineResponse2006ToJSON = InlineResponse2006.InlineResponse2006ToJSON;
|
|
1156
1233
|
exports.IntegrationSettingFromJSON = IntegrationSetting.IntegrationSettingFromJSON;
|
|
1157
1234
|
exports.IntegrationSettingFromJSONTyped = IntegrationSetting.IntegrationSettingFromJSONTyped;
|
|
1158
1235
|
exports.IntegrationSettingToJSON = IntegrationSetting.IntegrationSettingToJSON;
|
|
@@ -1728,6 +1805,9 @@ Object.defineProperty(exports, 'SettlementStrategyEnum', {
|
|
|
1728
1805
|
exports.SettlementStrategyEnumFromJSON = SettlementStrategyEnum.SettlementStrategyEnumFromJSON;
|
|
1729
1806
|
exports.SettlementStrategyEnumFromJSONTyped = SettlementStrategyEnum.SettlementStrategyEnumFromJSONTyped;
|
|
1730
1807
|
exports.SettlementStrategyEnumToJSON = SettlementStrategyEnum.SettlementStrategyEnumToJSON;
|
|
1808
|
+
exports.SignAleoRequestWithWaasRequestFromJSON = SignAleoRequestWithWaasRequest.SignAleoRequestWithWaasRequestFromJSON;
|
|
1809
|
+
exports.SignAleoRequestWithWaasRequestFromJSONTyped = SignAleoRequestWithWaasRequest.SignAleoRequestWithWaasRequestFromJSONTyped;
|
|
1810
|
+
exports.SignAleoRequestWithWaasRequestToJSON = SignAleoRequestWithWaasRequest.SignAleoRequestWithWaasRequestToJSON;
|
|
1731
1811
|
Object.defineProperty(exports, 'SignInProviderEnum', {
|
|
1732
1812
|
enumerable: true,
|
|
1733
1813
|
get: function () { return SignInProviderEnum.SignInProviderEnum; }
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, JSONApiResponse, RequiredError, TextApiResponse, VoidApiResponse, canConsumeForm, exists, mapValues, querystring } from './runtime.js';
|
|
2
|
-
export { SDKApi } from './apis/SDKApi.js';
|
|
2
|
+
export { GetAleoFeemasterPolicyNetworkEnum, GetAleoScannerPubkeyNetworkEnum, IsAleoFeemasterCoveredNetworkEnum, SDKApi } from './apis/SDKApi.js';
|
|
3
3
|
export { WaasApi } from './apis/WaasApi.js';
|
|
4
4
|
export { AccountFromJSON, AccountFromJSONTyped, AccountToJSON } from './models/Account.js';
|
|
5
5
|
export { AccountBalancesFromJSON, AccountBalancesFromJSONTyped, AccountBalancesToJSON } from './models/AccountBalances.js';
|
|
@@ -135,6 +135,7 @@ export { ExchangeKeyEnum, ExchangeKeyEnumFromJSON, ExchangeKeyEnumFromJSONTyped,
|
|
|
135
135
|
export { ExchangeOptionFromJSON, ExchangeOptionFromJSONTyped, ExchangeOptionToJSON } from './models/ExchangeOption.js';
|
|
136
136
|
export { ExchangeTransactionFromJSON, ExchangeTransactionFromJSONTyped, ExchangeTransactionToJSON } from './models/ExchangeTransaction.js';
|
|
137
137
|
export { ExchangeTransferResponseFromJSON, ExchangeTransferResponseFromJSONTyped, ExchangeTransferResponseToJSON } from './models/ExchangeTransferResponse.js';
|
|
138
|
+
export { ExportAleoViewKeyRequestFromJSON, ExportAleoViewKeyRequestFromJSONTyped, ExportAleoViewKeyRequestToJSON } from './models/ExportAleoViewKeyRequest.js';
|
|
138
139
|
export { ExportEmbeddedWalletResponseFromJSON, ExportEmbeddedWalletResponseFromJSONTyped, ExportEmbeddedWalletResponseToJSON } from './models/ExportEmbeddedWalletResponse.js';
|
|
139
140
|
export { ExportWaasWalletPrivateKeyRequestFromJSON, ExportWaasWalletPrivateKeyRequestFromJSONTyped, ExportWaasWalletPrivateKeyRequestToJSON } from './models/ExportWaasWalletPrivateKeyRequest.js';
|
|
140
141
|
export { ExternalAuthFromJSON, ExternalAuthFromJSONTyped, ExternalAuthToJSON } from './models/ExternalAuth.js';
|
|
@@ -175,7 +176,18 @@ export { InitEmailAuthResponseFromJSON, InitEmailAuthResponseFromJSONTyped, Init
|
|
|
175
176
|
export { InitPasskeyRecoveryRequestFromJSON, InitPasskeyRecoveryRequestFromJSONTyped, InitPasskeyRecoveryRequestToJSON } from './models/InitPasskeyRecoveryRequest.js';
|
|
176
177
|
export { InitPasskeyRecoveryResponseFromJSON, InitPasskeyRecoveryResponseFromJSONTyped, InitPasskeyRecoveryResponseToJSON } from './models/InitPasskeyRecoveryResponse.js';
|
|
177
178
|
export { InlineObjectFromJSON, InlineObjectFromJSONTyped, InlineObjectToJSON } from './models/InlineObject.js';
|
|
179
|
+
export { InlineObject1FromJSON, InlineObject1FromJSONTyped, InlineObject1NetworkEnum, InlineObject1ToJSON } from './models/InlineObject1.js';
|
|
180
|
+
export { InlineObject2FromJSON, InlineObject2FromJSONTyped, InlineObject2NetworkEnum, InlineObject2ToJSON } from './models/InlineObject2.js';
|
|
181
|
+
export { InlineObject3FromJSON, InlineObject3FromJSONTyped, InlineObject3NetworkEnum, InlineObject3ToJSON } from './models/InlineObject3.js';
|
|
182
|
+
export { InlineObject4FromJSON, InlineObject4FromJSONTyped, InlineObject4NetworkEnum, InlineObject4ToJSON } from './models/InlineObject4.js';
|
|
178
183
|
export { InlineResponse200FromJSON, InlineResponse200FromJSONTyped, InlineResponse200ToJSON } from './models/InlineResponse200.js';
|
|
184
|
+
export { InlineResponse2001FromJSON, InlineResponse2001FromJSONTyped, InlineResponse2001ToJSON } from './models/InlineResponse2001.js';
|
|
185
|
+
export { InlineResponse2001AllowedProgramsFromJSON, InlineResponse2001AllowedProgramsFromJSONTyped, InlineResponse2001AllowedProgramsToJSON } from './models/InlineResponse2001AllowedPrograms.js';
|
|
186
|
+
export { InlineResponse2002FromJSON, InlineResponse2002FromJSONTyped, InlineResponse2002ToJSON } from './models/InlineResponse2002.js';
|
|
187
|
+
export { InlineResponse2003FromJSON, InlineResponse2003FromJSONTyped, InlineResponse2003ToJSON } from './models/InlineResponse2003.js';
|
|
188
|
+
export { InlineResponse2004FromJSON, InlineResponse2004FromJSONTyped, InlineResponse2004ToJSON } from './models/InlineResponse2004.js';
|
|
189
|
+
export { InlineResponse2005FromJSON, InlineResponse2005FromJSONTyped, InlineResponse2005ToJSON } from './models/InlineResponse2005.js';
|
|
190
|
+
export { InlineResponse2006FromJSON, InlineResponse2006FromJSONTyped, InlineResponse2006ToJSON } from './models/InlineResponse2006.js';
|
|
179
191
|
export { IntegrationSettingFromJSON, IntegrationSettingFromJSONTyped, IntegrationSettingToJSON } from './models/IntegrationSetting.js';
|
|
180
192
|
export { InternalServerErrorFromJSON, InternalServerErrorFromJSONTyped, InternalServerErrorToJSON } from './models/InternalServerError.js';
|
|
181
193
|
export { JwksKeyFromJSON, JwksKeyFromJSONTyped, JwksKeyToJSON } from './models/JwksKey.js';
|
|
@@ -329,6 +341,7 @@ export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsRespon
|
|
|
329
341
|
export { SecurityNotificationsFromJSON, SecurityNotificationsFromJSONTyped, SecurityNotificationsToJSON } from './models/SecurityNotifications.js';
|
|
330
342
|
export { SettlementConfigInputFromJSON, SettlementConfigInputFromJSONTyped, SettlementConfigInputToJSON } from './models/SettlementConfigInput.js';
|
|
331
343
|
export { SettlementStrategyEnum, SettlementStrategyEnumFromJSON, SettlementStrategyEnumFromJSONTyped, SettlementStrategyEnumToJSON } from './models/SettlementStrategyEnum.js';
|
|
344
|
+
export { SignAleoRequestWithWaasRequestFromJSON, SignAleoRequestWithWaasRequestFromJSONTyped, SignAleoRequestWithWaasRequestToJSON } from './models/SignAleoRequestWithWaasRequest.js';
|
|
332
345
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
333
346
|
export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureFromJSONTyped, SignMessageAuthorizationSignatureToJSON } from './models/SignMessageAuthorizationSignature.js';
|
|
334
347
|
export { SignMessageBtcTransactionFromJSON, SignMessageBtcTransactionFromJSONTyped, SignMessageBtcTransactionToJSON } from './models/SignMessageBtcTransaction.js';
|
|
@@ -30,6 +30,7 @@ exports.EmbeddedWalletChainEnum = void 0;
|
|
|
30
30
|
EmbeddedWalletChainEnum["Ton"] = "TON";
|
|
31
31
|
EmbeddedWalletChainEnum["Stellar"] = "STELLAR";
|
|
32
32
|
EmbeddedWalletChainEnum["Tempo"] = "TEMPO";
|
|
33
|
+
EmbeddedWalletChainEnum["Aleo"] = "ALEO";
|
|
33
34
|
})(exports.EmbeddedWalletChainEnum || (exports.EmbeddedWalletChainEnum = {}));
|
|
34
35
|
function EmbeddedWalletChainEnumFromJSON(json) {
|
|
35
36
|
return EmbeddedWalletChainEnumFromJSONTyped(json);
|
|
@@ -22,7 +22,8 @@ export declare enum EmbeddedWalletChainEnum {
|
|
|
22
22
|
Btc = "BTC",
|
|
23
23
|
Ton = "TON",
|
|
24
24
|
Stellar = "STELLAR",
|
|
25
|
-
Tempo = "TEMPO"
|
|
25
|
+
Tempo = "TEMPO",
|
|
26
|
+
Aleo = "ALEO"
|
|
26
27
|
}
|
|
27
28
|
export declare function EmbeddedWalletChainEnumFromJSON(json: any): EmbeddedWalletChainEnum;
|
|
28
29
|
export declare function EmbeddedWalletChainEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletChainEnum;
|
|
@@ -26,6 +26,7 @@ var EmbeddedWalletChainEnum;
|
|
|
26
26
|
EmbeddedWalletChainEnum["Ton"] = "TON";
|
|
27
27
|
EmbeddedWalletChainEnum["Stellar"] = "STELLAR";
|
|
28
28
|
EmbeddedWalletChainEnum["Tempo"] = "TEMPO";
|
|
29
|
+
EmbeddedWalletChainEnum["Aleo"] = "ALEO";
|
|
29
30
|
})(EmbeddedWalletChainEnum || (EmbeddedWalletChainEnum = {}));
|
|
30
31
|
function EmbeddedWalletChainEnumFromJSON(json) {
|
|
31
32
|
return EmbeddedWalletChainEnumFromJSONTyped(json);
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
function ExportAleoViewKeyRequestFromJSON(json) {
|
|
19
|
+
return ExportAleoViewKeyRequestFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function ExportAleoViewKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'exportId': json['exportId'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function ExportAleoViewKeyRequestToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'exportId': value.exportId,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.ExportAleoViewKeyRequestFromJSON = ExportAleoViewKeyRequestFromJSON;
|
|
42
|
+
exports.ExportAleoViewKeyRequestFromJSONTyped = ExportAleoViewKeyRequestFromJSONTyped;
|
|
43
|
+
exports.ExportAleoViewKeyRequestToJSON = ExportAleoViewKeyRequestToJSON;
|
|
@@ -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 ExportAleoViewKeyRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ExportAleoViewKeyRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the view-key export session
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExportAleoViewKeyRequest
|
|
22
|
+
*/
|
|
23
|
+
exportId: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function ExportAleoViewKeyRequestFromJSON(json: any): ExportAleoViewKeyRequest;
|
|
26
|
+
export declare function ExportAleoViewKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportAleoViewKeyRequest;
|
|
27
|
+
export declare function ExportAleoViewKeyRequestToJSON(value?: ExportAleoViewKeyRequest | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function ExportAleoViewKeyRequestFromJSON(json) {
|
|
15
|
+
return ExportAleoViewKeyRequestFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function ExportAleoViewKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'exportId': json['exportId'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function ExportAleoViewKeyRequestToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'exportId': value.exportId,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { ExportAleoViewKeyRequestFromJSON, ExportAleoViewKeyRequestFromJSONTyped, ExportAleoViewKeyRequestToJSON };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
/**
|
|
9
|
+
* @export
|
|
10
|
+
* @enum {string}
|
|
11
|
+
*/
|
|
12
|
+
exports.InlineObject1NetworkEnum = void 0;
|
|
13
|
+
(function (InlineObject1NetworkEnum) {
|
|
14
|
+
InlineObject1NetworkEnum["Testnet"] = "testnet";
|
|
15
|
+
InlineObject1NetworkEnum["Mainnet"] = "mainnet";
|
|
16
|
+
})(exports.InlineObject1NetworkEnum || (exports.InlineObject1NetworkEnum = {}));
|
|
17
|
+
function InlineObject1FromJSON(json) {
|
|
18
|
+
return InlineObject1FromJSONTyped(json);
|
|
19
|
+
}
|
|
20
|
+
function InlineObject1FromJSONTyped(json, ignoreDiscriminator) {
|
|
21
|
+
if ((json === undefined) || (json === null)) {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'network': json['network'],
|
|
26
|
+
'authorization': json['authorization'],
|
|
27
|
+
'priorityFee': !runtime.exists(json, 'priorityFee') ? undefined : json['priorityFee'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function InlineObject1ToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'network': value.network,
|
|
39
|
+
'authorization': value.authorization,
|
|
40
|
+
'priorityFee': value.priorityFee,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
exports.InlineObject1FromJSON = InlineObject1FromJSON;
|
|
45
|
+
exports.InlineObject1FromJSONTyped = InlineObject1FromJSONTyped;
|
|
46
|
+
exports.InlineObject1ToJSON = InlineObject1ToJSON;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 InlineObject1
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject1 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject1
|
|
22
|
+
*/
|
|
23
|
+
network: InlineObject1NetworkEnum;
|
|
24
|
+
/**
|
|
25
|
+
* User Authorization serialized via `Authorization.toString()`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject1
|
|
28
|
+
*/
|
|
29
|
+
authorization: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional priority bid (credits, not microcredits).
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof InlineObject1
|
|
34
|
+
*/
|
|
35
|
+
priorityFee?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum InlineObject1NetworkEnum {
|
|
42
|
+
Testnet = "testnet",
|
|
43
|
+
Mainnet = "mainnet"
|
|
44
|
+
}
|
|
45
|
+
export declare function InlineObject1FromJSON(json: any): InlineObject1;
|
|
46
|
+
export declare function InlineObject1FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject1;
|
|
47
|
+
export declare function InlineObject1ToJSON(value?: InlineObject1 | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var InlineObject1NetworkEnum;
|
|
9
|
+
(function (InlineObject1NetworkEnum) {
|
|
10
|
+
InlineObject1NetworkEnum["Testnet"] = "testnet";
|
|
11
|
+
InlineObject1NetworkEnum["Mainnet"] = "mainnet";
|
|
12
|
+
})(InlineObject1NetworkEnum || (InlineObject1NetworkEnum = {}));
|
|
13
|
+
function InlineObject1FromJSON(json) {
|
|
14
|
+
return InlineObject1FromJSONTyped(json);
|
|
15
|
+
}
|
|
16
|
+
function InlineObject1FromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
+
if ((json === undefined) || (json === null)) {
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
'network': json['network'],
|
|
22
|
+
'authorization': json['authorization'],
|
|
23
|
+
'priorityFee': !exists(json, 'priorityFee') ? undefined : json['priorityFee'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function InlineObject1ToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'network': value.network,
|
|
35
|
+
'authorization': value.authorization,
|
|
36
|
+
'priorityFee': value.priorityFee,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { InlineObject1FromJSON, InlineObject1FromJSONTyped, InlineObject1NetworkEnum, InlineObject1ToJSON };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.InlineObject2NetworkEnum = void 0;
|
|
23
|
+
(function (InlineObject2NetworkEnum) {
|
|
24
|
+
InlineObject2NetworkEnum["Testnet"] = "testnet";
|
|
25
|
+
InlineObject2NetworkEnum["Mainnet"] = "mainnet";
|
|
26
|
+
})(exports.InlineObject2NetworkEnum || (exports.InlineObject2NetworkEnum = {}));
|
|
27
|
+
function InlineObject2FromJSON(json) {
|
|
28
|
+
return InlineObject2FromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function InlineObject2FromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'network': json['network'],
|
|
36
|
+
'keyId': json['key_id'],
|
|
37
|
+
'ciphertext': json['ciphertext'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function InlineObject2ToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'network': value.network,
|
|
49
|
+
'key_id': value.keyId,
|
|
50
|
+
'ciphertext': value.ciphertext,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
exports.InlineObject2FromJSON = InlineObject2FromJSON;
|
|
55
|
+
exports.InlineObject2FromJSONTyped = InlineObject2FromJSONTyped;
|
|
56
|
+
exports.InlineObject2ToJSON = InlineObject2ToJSON;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 InlineObject2
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject2 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject2
|
|
22
|
+
*/
|
|
23
|
+
network: InlineObject2NetworkEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject2
|
|
28
|
+
*/
|
|
29
|
+
keyId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InlineObject2
|
|
34
|
+
*/
|
|
35
|
+
ciphertext: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum InlineObject2NetworkEnum {
|
|
42
|
+
Testnet = "testnet",
|
|
43
|
+
Mainnet = "mainnet"
|
|
44
|
+
}
|
|
45
|
+
export declare function InlineObject2FromJSON(json: any): InlineObject2;
|
|
46
|
+
export declare function InlineObject2FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject2;
|
|
47
|
+
export declare function InlineObject2ToJSON(value?: InlineObject2 | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var InlineObject2NetworkEnum;
|
|
19
|
+
(function (InlineObject2NetworkEnum) {
|
|
20
|
+
InlineObject2NetworkEnum["Testnet"] = "testnet";
|
|
21
|
+
InlineObject2NetworkEnum["Mainnet"] = "mainnet";
|
|
22
|
+
})(InlineObject2NetworkEnum || (InlineObject2NetworkEnum = {}));
|
|
23
|
+
function InlineObject2FromJSON(json) {
|
|
24
|
+
return InlineObject2FromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function InlineObject2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'network': json['network'],
|
|
32
|
+
'keyId': json['key_id'],
|
|
33
|
+
'ciphertext': json['ciphertext'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function InlineObject2ToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'network': value.network,
|
|
45
|
+
'key_id': value.keyId,
|
|
46
|
+
'ciphertext': value.ciphertext,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { InlineObject2FromJSON, InlineObject2FromJSONTyped, InlineObject2NetworkEnum, InlineObject2ToJSON };
|