@dynamic-labs/sdk-api-core 0.0.1111 → 0.0.1113
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 +63 -0
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +26 -1
- package/src/apis/SDKApi.js +63 -0
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +44 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +10 -0
- package/src/index.js.map +1 -1
- package/src/models/FlowQuote.cjs +5 -0
- package/src/models/FlowQuote.cjs.map +1 -1
- package/src/models/FlowQuote.d.ts +13 -0
- package/src/models/FlowQuote.js +5 -0
- package/src/models/FlowQuote.js.map +1 -1
- package/src/models/FlowTokenInfo.cjs +39 -0
- package/src/models/FlowTokenInfo.cjs.map +1 -0
- package/src/models/FlowTokenInfo.d.ts +45 -0
- package/src/models/FlowTokenInfo.js +33 -0
- package/src/models/FlowTokenInfo.js.map +1 -0
- package/src/models/ScreenTransactionRequest.cjs +41 -0
- package/src/models/ScreenTransactionRequest.cjs.map +1 -0
- package/src/models/ScreenTransactionRequest.d.ts +47 -0
- package/src/models/ScreenTransactionRequest.js +35 -0
- package/src/models/ScreenTransactionRequest.js.map +1 -0
- package/src/models/ScreenTransactionRequestContext.cjs +49 -0
- package/src/models/ScreenTransactionRequestContext.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContext.d.ts +63 -0
- package/src/models/ScreenTransactionRequestContext.js +43 -0
- package/src/models/ScreenTransactionRequestContext.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.cjs +37 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.d.ts +39 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.js +31 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.cjs +33 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.js +27 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.js.map +1 -0
- package/src/models/ScreenTransactionResponse.cjs +46 -0
- package/src/models/ScreenTransactionResponse.cjs.map +1 -0
- package/src/models/ScreenTransactionResponse.d.ts +47 -0
- package/src/models/ScreenTransactionResponse.js +40 -0
- package/src/models/ScreenTransactionResponse.js.map +1 -0
- package/src/models/index.d.ts +10 -0
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -101,6 +101,7 @@ require('../models/PublishEventsEvents.cjs');
|
|
|
101
101
|
require('../models/ReshareKind.cjs');
|
|
102
102
|
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
103
103
|
require('../models/WaasPolicyRuleType.cjs');
|
|
104
|
+
require('../models/ScreenTransactionResponse.cjs');
|
|
104
105
|
require('../models/SignMessageRawSign.cjs');
|
|
105
106
|
require('../models/SsoProviderEnum.cjs');
|
|
106
107
|
require('../models/SsoProviderCheckResponse.cjs');
|
package/src/apis/WaasApi.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasApi.cjs","sources":["../../../../../libs/sdk-api-core/src/apis/WaasApi.ts"],"sourcesContent":null,"names":["runtime.BaseAPI","runtime.RequiredError","runtime.JSONApiResponse","DelegatedAccessEncryptionPublicKeyResponseFromJSON","runtime.VoidApiResponse"],"mappings":"
|
|
1
|
+
{"version":3,"file":"WaasApi.cjs","sources":["../../../../../libs/sdk-api-core/src/apis/WaasApi.ts"],"sourcesContent":null,"names":["runtime.BaseAPI","runtime.RequiredError","runtime.JSONApiResponse","DelegatedAccessEncryptionPublicKeyResponseFromJSON","runtime.VoidApiResponse"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AA0CA;;AAEG;AACU,MAAA,OAAQ,SAAQA,eAAe,CAAA;AAExC;;;AAGG;AACH,IAAA,MAAM,wCAAwC,CAAC,iBAA+D,EAAE,aAA2B,EAAA;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MAAM,gBAAgB,GAAwB,EAAE,CAAC;AAEjD,QAAA,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;AAChC,YAAA,IAAI,EAAE,CAA+D,6DAAA,CAAA,CAAC,OAAO,CAAC,CAAA,CAAA,EAAI,eAAe,CAAG,CAAA,CAAA,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC,CAAC;AAClK,YAAA,MAAM,EAAE,SAAS;AACjB,YAAA,OAAO,EAAE,gBAAgB;AACzB,YAAA,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;AAElB,QAAA,OAAO,IAAIG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;KAChD;AAED;;;AAGG;AACH,IAAA,MAAM,yCAAyC,CAAC,iBAAmE,EAAE,aAA2B,EAAA;QAC5I,MAAM,IAAI,CAAC,4CAA4C,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;KAC7F;AAEJ;;;;"}
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -97,6 +97,7 @@ import '../models/PublishEventsEvents.js';
|
|
|
97
97
|
import '../models/ReshareKind.js';
|
|
98
98
|
import '../models/WaasPolicyConstraintCondition.js';
|
|
99
99
|
import '../models/WaasPolicyRuleType.js';
|
|
100
|
+
import '../models/ScreenTransactionResponse.js';
|
|
100
101
|
import '../models/SignMessageRawSign.js';
|
|
101
102
|
import '../models/SsoProviderEnum.js';
|
|
102
103
|
import '../models/SsoProviderCheckResponse.js';
|
package/src/apis/WaasApi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasApi.js","sources":["../../../../../libs/sdk-api-core/src/apis/WaasApi.ts"],"sourcesContent":null,"names":["runtime.BaseAPI","runtime.RequiredError","runtime.JSONApiResponse","runtime.VoidApiResponse"],"mappings":"
|
|
1
|
+
{"version":3,"file":"WaasApi.js","sources":["../../../../../libs/sdk-api-core/src/apis/WaasApi.ts"],"s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ACvG,QAAA,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;KACjC;AAED;;;AAGG;AACH,IAAA,MAAM,4CAA4C,CAAC,iBAAmE,EAAE,aAA2B,EAAA;AAC/I,QAAA,IAAI,iBAAiB,CAAC,aAAa,KAAK,IAAI,IAAI,iBAAiB,CAAC,aAAa,KAAK,SAAS,EAAE;YAC3F,MAAM,IAAID,aAAqB,CAAC,eAAe,EAAC,kIAAkI,CAAC,CAAC;SACvL;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;AAEjD,QAAA,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;AAChC,YAAA,IAAI,EAAE,CAA+D,6DAAA,CAAA,CAAC,OAAO,CAAC,CAAA,CAAA,EAAI,eAAe,CAAG,CAAA,CAAA,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC,CAAC;AAClK,YAAA,MAAM,EAAE,SAAS;AACjB,YAAA,OAAO,EAAE,gBAAgB;AACzB,YAAA,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;AAElB,QAAA,OAAO,IAAIE,eAAuB,CAAC,QAAQ,CAAC,CAAC;KAChD;AAED;;;AAGG;AACH,IAAA,MAAM,yCAAyC,CAAC,iBAAmE,EAAE,aAA2B,EAAA;QAC5I,MAAM,IAAI,CAAC,4CAA4C,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;KAC7F;AAEJ;;;;"}
|
package/src/index.cjs
CHANGED
|
@@ -189,6 +189,7 @@ var FlowSettlementData = require('./models/FlowSettlementData.cjs');
|
|
|
189
189
|
var FlowSettlementStateEnum = require('./models/FlowSettlementStateEnum.cjs');
|
|
190
190
|
var FlowSourceResponse = require('./models/FlowSourceResponse.cjs');
|
|
191
191
|
var FlowSourceTypeEnum = require('./models/FlowSourceTypeEnum.cjs');
|
|
192
|
+
var FlowTokenInfo = require('./models/FlowTokenInfo.cjs');
|
|
192
193
|
var Forbidden = require('./models/Forbidden.cjs');
|
|
193
194
|
var ForbiddenErrorPayload = require('./models/ForbiddenErrorPayload.cjs');
|
|
194
195
|
var ForbiddenWithErrorAndPayload = require('./models/ForbiddenWithErrorAndPayload.cjs');
|
|
@@ -379,6 +380,15 @@ var ResidentKeyRequirement = require('./models/ResidentKeyRequirement.cjs');
|
|
|
379
380
|
var RoomTypeEnum = require('./models/RoomTypeEnum.cjs');
|
|
380
381
|
var ScanWebsiteUrlRequest = require('./models/ScanWebsiteUrlRequest.cjs');
|
|
381
382
|
var ScanWebsiteUrlResponse = require('./models/ScanWebsiteUrlResponse.cjs');
|
|
383
|
+
var ScreenTransactionRequest = require('./models/ScreenTransactionRequest.cjs');
|
|
384
|
+
var ScreenTransactionRequestContext = require('./models/ScreenTransactionRequestContext.cjs');
|
|
385
|
+
var ScreenTransactionRequestContextBtcTransaction = require('./models/ScreenTransactionRequestContextBtcTransaction.cjs');
|
|
386
|
+
var ScreenTransactionRequestContextEvmTransaction = require('./models/ScreenTransactionRequestContextEvmTransaction.cjs');
|
|
387
|
+
var ScreenTransactionRequestContextStellarTransaction = require('./models/ScreenTransactionRequestContextStellarTransaction.cjs');
|
|
388
|
+
var ScreenTransactionRequestContextSuiTransaction = require('./models/ScreenTransactionRequestContextSuiTransaction.cjs');
|
|
389
|
+
var ScreenTransactionRequestContextSvmTransaction = require('./models/ScreenTransactionRequestContextSvmTransaction.cjs');
|
|
390
|
+
var ScreenTransactionRequestContextTronTransaction = require('./models/ScreenTransactionRequestContextTronTransaction.cjs');
|
|
391
|
+
var ScreenTransactionResponse = require('./models/ScreenTransactionResponse.cjs');
|
|
382
392
|
var SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses = require('./models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.cjs');
|
|
383
393
|
var SdkSettingsRequest = require('./models/SdkSettingsRequest.cjs');
|
|
384
394
|
var SdkUser = require('./models/SdkUser.cjs');
|
|
@@ -1319,6 +1329,9 @@ Object.defineProperty(exports, 'FlowSourceTypeEnum', {
|
|
|
1319
1329
|
exports.FlowSourceTypeEnumFromJSON = FlowSourceTypeEnum.FlowSourceTypeEnumFromJSON;
|
|
1320
1330
|
exports.FlowSourceTypeEnumFromJSONTyped = FlowSourceTypeEnum.FlowSourceTypeEnumFromJSONTyped;
|
|
1321
1331
|
exports.FlowSourceTypeEnumToJSON = FlowSourceTypeEnum.FlowSourceTypeEnumToJSON;
|
|
1332
|
+
exports.FlowTokenInfoFromJSON = FlowTokenInfo.FlowTokenInfoFromJSON;
|
|
1333
|
+
exports.FlowTokenInfoFromJSONTyped = FlowTokenInfo.FlowTokenInfoFromJSONTyped;
|
|
1334
|
+
exports.FlowTokenInfoToJSON = FlowTokenInfo.FlowTokenInfoToJSON;
|
|
1322
1335
|
exports.ForbiddenFromJSON = Forbidden.ForbiddenFromJSON;
|
|
1323
1336
|
exports.ForbiddenFromJSONTyped = Forbidden.ForbiddenFromJSONTyped;
|
|
1324
1337
|
exports.ForbiddenToJSON = Forbidden.ForbiddenToJSON;
|
|
@@ -2037,6 +2050,37 @@ exports.ScanWebsiteUrlRequestToJSON = ScanWebsiteUrlRequest.ScanWebsiteUrlReques
|
|
|
2037
2050
|
exports.ScanWebsiteUrlResponseFromJSON = ScanWebsiteUrlResponse.ScanWebsiteUrlResponseFromJSON;
|
|
2038
2051
|
exports.ScanWebsiteUrlResponseFromJSONTyped = ScanWebsiteUrlResponse.ScanWebsiteUrlResponseFromJSONTyped;
|
|
2039
2052
|
exports.ScanWebsiteUrlResponseToJSON = ScanWebsiteUrlResponse.ScanWebsiteUrlResponseToJSON;
|
|
2053
|
+
exports.ScreenTransactionRequestFromJSON = ScreenTransactionRequest.ScreenTransactionRequestFromJSON;
|
|
2054
|
+
exports.ScreenTransactionRequestFromJSONTyped = ScreenTransactionRequest.ScreenTransactionRequestFromJSONTyped;
|
|
2055
|
+
exports.ScreenTransactionRequestToJSON = ScreenTransactionRequest.ScreenTransactionRequestToJSON;
|
|
2056
|
+
exports.ScreenTransactionRequestContextFromJSON = ScreenTransactionRequestContext.ScreenTransactionRequestContextFromJSON;
|
|
2057
|
+
exports.ScreenTransactionRequestContextFromJSONTyped = ScreenTransactionRequestContext.ScreenTransactionRequestContextFromJSONTyped;
|
|
2058
|
+
exports.ScreenTransactionRequestContextToJSON = ScreenTransactionRequestContext.ScreenTransactionRequestContextToJSON;
|
|
2059
|
+
exports.ScreenTransactionRequestContextBtcTransactionFromJSON = ScreenTransactionRequestContextBtcTransaction.ScreenTransactionRequestContextBtcTransactionFromJSON;
|
|
2060
|
+
exports.ScreenTransactionRequestContextBtcTransactionFromJSONTyped = ScreenTransactionRequestContextBtcTransaction.ScreenTransactionRequestContextBtcTransactionFromJSONTyped;
|
|
2061
|
+
exports.ScreenTransactionRequestContextBtcTransactionToJSON = ScreenTransactionRequestContextBtcTransaction.ScreenTransactionRequestContextBtcTransactionToJSON;
|
|
2062
|
+
exports.ScreenTransactionRequestContextEvmTransactionFromJSON = ScreenTransactionRequestContextEvmTransaction.ScreenTransactionRequestContextEvmTransactionFromJSON;
|
|
2063
|
+
exports.ScreenTransactionRequestContextEvmTransactionFromJSONTyped = ScreenTransactionRequestContextEvmTransaction.ScreenTransactionRequestContextEvmTransactionFromJSONTyped;
|
|
2064
|
+
exports.ScreenTransactionRequestContextEvmTransactionToJSON = ScreenTransactionRequestContextEvmTransaction.ScreenTransactionRequestContextEvmTransactionToJSON;
|
|
2065
|
+
exports.ScreenTransactionRequestContextStellarTransactionFromJSON = ScreenTransactionRequestContextStellarTransaction.ScreenTransactionRequestContextStellarTransactionFromJSON;
|
|
2066
|
+
exports.ScreenTransactionRequestContextStellarTransactionFromJSONTyped = ScreenTransactionRequestContextStellarTransaction.ScreenTransactionRequestContextStellarTransactionFromJSONTyped;
|
|
2067
|
+
exports.ScreenTransactionRequestContextStellarTransactionToJSON = ScreenTransactionRequestContextStellarTransaction.ScreenTransactionRequestContextStellarTransactionToJSON;
|
|
2068
|
+
exports.ScreenTransactionRequestContextSuiTransactionFromJSON = ScreenTransactionRequestContextSuiTransaction.ScreenTransactionRequestContextSuiTransactionFromJSON;
|
|
2069
|
+
exports.ScreenTransactionRequestContextSuiTransactionFromJSONTyped = ScreenTransactionRequestContextSuiTransaction.ScreenTransactionRequestContextSuiTransactionFromJSONTyped;
|
|
2070
|
+
exports.ScreenTransactionRequestContextSuiTransactionToJSON = ScreenTransactionRequestContextSuiTransaction.ScreenTransactionRequestContextSuiTransactionToJSON;
|
|
2071
|
+
exports.ScreenTransactionRequestContextSvmTransactionFromJSON = ScreenTransactionRequestContextSvmTransaction.ScreenTransactionRequestContextSvmTransactionFromJSON;
|
|
2072
|
+
exports.ScreenTransactionRequestContextSvmTransactionFromJSONTyped = ScreenTransactionRequestContextSvmTransaction.ScreenTransactionRequestContextSvmTransactionFromJSONTyped;
|
|
2073
|
+
exports.ScreenTransactionRequestContextSvmTransactionToJSON = ScreenTransactionRequestContextSvmTransaction.ScreenTransactionRequestContextSvmTransactionToJSON;
|
|
2074
|
+
exports.ScreenTransactionRequestContextTronTransactionFromJSON = ScreenTransactionRequestContextTronTransaction.ScreenTransactionRequestContextTronTransactionFromJSON;
|
|
2075
|
+
exports.ScreenTransactionRequestContextTronTransactionFromJSONTyped = ScreenTransactionRequestContextTronTransaction.ScreenTransactionRequestContextTronTransactionFromJSONTyped;
|
|
2076
|
+
exports.ScreenTransactionRequestContextTronTransactionToJSON = ScreenTransactionRequestContextTronTransaction.ScreenTransactionRequestContextTronTransactionToJSON;
|
|
2077
|
+
Object.defineProperty(exports, 'ScreenTransactionResponseDecisionEnum', {
|
|
2078
|
+
enumerable: true,
|
|
2079
|
+
get: function () { return ScreenTransactionResponse.ScreenTransactionResponseDecisionEnum; }
|
|
2080
|
+
});
|
|
2081
|
+
exports.ScreenTransactionResponseFromJSON = ScreenTransactionResponse.ScreenTransactionResponseFromJSON;
|
|
2082
|
+
exports.ScreenTransactionResponseFromJSONTyped = ScreenTransactionResponse.ScreenTransactionResponseFromJSONTyped;
|
|
2083
|
+
exports.ScreenTransactionResponseToJSON = ScreenTransactionResponse.ScreenTransactionResponseToJSON;
|
|
2040
2084
|
exports.SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSON = SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSON;
|
|
2041
2085
|
exports.SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSONTyped = SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSONTyped;
|
|
2042
2086
|
exports.SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSON = SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSON;
|
package/src/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/src/index.js
CHANGED
|
@@ -185,6 +185,7 @@ export { FlowSettlementDataFromJSON, FlowSettlementDataFromJSONTyped, FlowSettle
|
|
|
185
185
|
export { FlowSettlementStateEnum, FlowSettlementStateEnumFromJSON, FlowSettlementStateEnumFromJSONTyped, FlowSettlementStateEnumToJSON } from './models/FlowSettlementStateEnum.js';
|
|
186
186
|
export { FlowSourceResponseFromJSON, FlowSourceResponseFromJSONTyped, FlowSourceResponseToJSON } from './models/FlowSourceResponse.js';
|
|
187
187
|
export { FlowSourceTypeEnum, FlowSourceTypeEnumFromJSON, FlowSourceTypeEnumFromJSONTyped, FlowSourceTypeEnumToJSON } from './models/FlowSourceTypeEnum.js';
|
|
188
|
+
export { FlowTokenInfoFromJSON, FlowTokenInfoFromJSONTyped, FlowTokenInfoToJSON } from './models/FlowTokenInfo.js';
|
|
188
189
|
export { ForbiddenFromJSON, ForbiddenFromJSONTyped, ForbiddenToJSON } from './models/Forbidden.js';
|
|
189
190
|
export { ForbiddenErrorPayloadFromJSON, ForbiddenErrorPayloadFromJSONTyped, ForbiddenErrorPayloadToJSON } from './models/ForbiddenErrorPayload.js';
|
|
190
191
|
export { ForbiddenWithErrorAndPayloadFromJSON, ForbiddenWithErrorAndPayloadFromJSONTyped, ForbiddenWithErrorAndPayloadToJSON } from './models/ForbiddenWithErrorAndPayload.js';
|
|
@@ -375,6 +376,15 @@ export { ResidentKeyRequirement, ResidentKeyRequirementFromJSON, ResidentKeyRequ
|
|
|
375
376
|
export { RoomTypeEnum, RoomTypeEnumFromJSON, RoomTypeEnumFromJSONTyped, RoomTypeEnumToJSON } from './models/RoomTypeEnum.js';
|
|
376
377
|
export { ScanWebsiteUrlRequestFromJSON, ScanWebsiteUrlRequestFromJSONTyped, ScanWebsiteUrlRequestToJSON } from './models/ScanWebsiteUrlRequest.js';
|
|
377
378
|
export { ScanWebsiteUrlResponseFromJSON, ScanWebsiteUrlResponseFromJSONTyped, ScanWebsiteUrlResponseToJSON } from './models/ScanWebsiteUrlResponse.js';
|
|
379
|
+
export { ScreenTransactionRequestFromJSON, ScreenTransactionRequestFromJSONTyped, ScreenTransactionRequestToJSON } from './models/ScreenTransactionRequest.js';
|
|
380
|
+
export { ScreenTransactionRequestContextFromJSON, ScreenTransactionRequestContextFromJSONTyped, ScreenTransactionRequestContextToJSON } from './models/ScreenTransactionRequestContext.js';
|
|
381
|
+
export { ScreenTransactionRequestContextBtcTransactionFromJSON, ScreenTransactionRequestContextBtcTransactionFromJSONTyped, ScreenTransactionRequestContextBtcTransactionToJSON } from './models/ScreenTransactionRequestContextBtcTransaction.js';
|
|
382
|
+
export { ScreenTransactionRequestContextEvmTransactionFromJSON, ScreenTransactionRequestContextEvmTransactionFromJSONTyped, ScreenTransactionRequestContextEvmTransactionToJSON } from './models/ScreenTransactionRequestContextEvmTransaction.js';
|
|
383
|
+
export { ScreenTransactionRequestContextStellarTransactionFromJSON, ScreenTransactionRequestContextStellarTransactionFromJSONTyped, ScreenTransactionRequestContextStellarTransactionToJSON } from './models/ScreenTransactionRequestContextStellarTransaction.js';
|
|
384
|
+
export { ScreenTransactionRequestContextSuiTransactionFromJSON, ScreenTransactionRequestContextSuiTransactionFromJSONTyped, ScreenTransactionRequestContextSuiTransactionToJSON } from './models/ScreenTransactionRequestContextSuiTransaction.js';
|
|
385
|
+
export { ScreenTransactionRequestContextSvmTransactionFromJSON, ScreenTransactionRequestContextSvmTransactionFromJSONTyped, ScreenTransactionRequestContextSvmTransactionToJSON } from './models/ScreenTransactionRequestContextSvmTransaction.js';
|
|
386
|
+
export { ScreenTransactionRequestContextTronTransactionFromJSON, ScreenTransactionRequestContextTronTransactionFromJSONTyped, ScreenTransactionRequestContextTronTransactionToJSON } from './models/ScreenTransactionRequestContextTronTransaction.js';
|
|
387
|
+
export { ScreenTransactionResponseDecisionEnum, ScreenTransactionResponseFromJSON, ScreenTransactionResponseFromJSONTyped, ScreenTransactionResponseToJSON } from './models/ScreenTransactionResponse.js';
|
|
378
388
|
export { SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSON, SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJSONTyped, SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSON, SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesTypeEnum } from './models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.js';
|
|
379
389
|
export { SdkSettingsRequestFromJSON, SdkSettingsRequestFromJSONTyped, SdkSettingsRequestToJSON } from './models/SdkSettingsRequest.js';
|
|
380
390
|
export { SdkUserFromJSON, SdkUserFromJSONTyped, SdkUserToJSON } from './models/SdkUser.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/src/models/FlowQuote.cjs
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var FlowFeeBreakdown = require('./FlowFeeBreakdown.cjs');
|
|
7
|
+
var FlowTokenInfo = require('./FlowTokenInfo.cjs');
|
|
7
8
|
var SwapSigningPayload = require('./SwapSigningPayload.cjs');
|
|
8
9
|
|
|
9
10
|
/* tslint:disable */
|
|
@@ -23,6 +24,8 @@ function FlowQuoteFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
24
|
'signingPayload': !runtime.exists(json, 'signingPayload') ? undefined : SwapSigningPayload.SwapSigningPayloadFromJSON(json['signingPayload']),
|
|
24
25
|
'createdAt': (new Date(json['createdAt'])),
|
|
25
26
|
'expiresAt': (new Date(json['expiresAt'])),
|
|
27
|
+
'fromTokenInfo': !runtime.exists(json, 'fromTokenInfo') ? undefined : FlowTokenInfo.FlowTokenInfoFromJSON(json['fromTokenInfo']),
|
|
28
|
+
'toTokenInfo': !runtime.exists(json, 'toTokenInfo') ? undefined : FlowTokenInfo.FlowTokenInfoFromJSON(json['toTokenInfo']),
|
|
26
29
|
};
|
|
27
30
|
}
|
|
28
31
|
function FlowQuoteToJSON(value) {
|
|
@@ -41,6 +44,8 @@ function FlowQuoteToJSON(value) {
|
|
|
41
44
|
'signingPayload': SwapSigningPayload.SwapSigningPayloadToJSON(value.signingPayload),
|
|
42
45
|
'createdAt': (value.createdAt.toISOString()),
|
|
43
46
|
'expiresAt': (value.expiresAt.toISOString()),
|
|
47
|
+
'fromTokenInfo': FlowTokenInfo.FlowTokenInfoToJSON(value.fromTokenInfo),
|
|
48
|
+
'toTokenInfo': FlowTokenInfo.FlowTokenInfoToJSON(value.toTokenInfo),
|
|
44
49
|
};
|
|
45
50
|
}
|
|
46
51
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowQuote.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowQuote.ts"],"sourcesContent":null,"names":["exists","FlowFeeBreakdownFromJSON","SwapSigningPayloadFromJSON","FlowFeeBreakdownToJSON","SwapSigningPayloadToJSON"],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlowQuote.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowQuote.ts"],"sourcesContent":null,"names":["exists","FlowFeeBreakdownFromJSON","SwapSigningPayloadFromJSON","FlowTokenInfoFromJSON","FlowFeeBreakdownToJSON","SwapSigningPayloadToJSON","FlowTokenInfoToJSON"],"mappings":";;;;;;;;;AAAA;AAsGM,SAAU,iBAAiB,CAAC,IAAS,EAAA;AACvC,IAAA,OAAO,sBAAsB,CAAC,IAAW,CAAC,CAAC;AAC/C,CAAC;AAEe,SAAA,sBAAsB,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC1E,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;AAC1B,QAAA,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;AAChC,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,C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AAgB,EAAEC,2CAAwB,CAAC,KAAK,CAAC,cAAc,CAAC;QAChE,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC5C,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;AAC5C,QAAA,eAAe,EAAEC,iCAAmB,CAAC,KAAK,CAAC,aAAa,CAAC;AACzD,QAAA,aAAa,EAAEA,iCAAmB,CAAC,KAAK,CAAC,WAAW,CAAC;KACxD,CAAC;AACN;;;;;;"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { FlowFeeBreakdown } from './FlowFeeBreakdown';
|
|
13
|
+
import { FlowTokenInfo } from './FlowTokenInfo';
|
|
13
14
|
import { SwapSigningPayload } from './SwapSigningPayload';
|
|
14
15
|
/**
|
|
15
16
|
* A versioned quote snapshot stored on a flow.
|
|
@@ -65,6 +66,18 @@ export interface FlowQuote {
|
|
|
65
66
|
* @memberof FlowQuote
|
|
66
67
|
*/
|
|
67
68
|
expiresAt: Date;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {FlowTokenInfo}
|
|
72
|
+
* @memberof FlowQuote
|
|
73
|
+
*/
|
|
74
|
+
fromTokenInfo?: FlowTokenInfo;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {FlowTokenInfo}
|
|
78
|
+
* @memberof FlowQuote
|
|
79
|
+
*/
|
|
80
|
+
toTokenInfo?: FlowTokenInfo;
|
|
68
81
|
}
|
|
69
82
|
export declare function FlowQuoteFromJSON(json: any): FlowQuote;
|
|
70
83
|
export declare function FlowQuoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowQuote;
|
package/src/models/FlowQuote.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { FlowFeeBreakdownFromJSON, FlowFeeBreakdownToJSON } from './FlowFeeBreakdown.js';
|
|
3
|
+
import { FlowTokenInfoFromJSON, FlowTokenInfoToJSON } from './FlowTokenInfo.js';
|
|
3
4
|
import { SwapSigningPayloadFromJSON, SwapSigningPayloadToJSON } from './SwapSigningPayload.js';
|
|
4
5
|
|
|
5
6
|
/* tslint:disable */
|
|
@@ -19,6 +20,8 @@ function FlowQuoteFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
20
|
'signingPayload': !exists(json, 'signingPayload') ? undefined : SwapSigningPayloadFromJSON(json['signingPayload']),
|
|
20
21
|
'createdAt': (new Date(json['createdAt'])),
|
|
21
22
|
'expiresAt': (new Date(json['expiresAt'])),
|
|
23
|
+
'fromTokenInfo': !exists(json, 'fromTokenInfo') ? undefined : FlowTokenInfoFromJSON(json['fromTokenInfo']),
|
|
24
|
+
'toTokenInfo': !exists(json, 'toTokenInfo') ? undefined : FlowTokenInfoFromJSON(json['toTokenInfo']),
|
|
22
25
|
};
|
|
23
26
|
}
|
|
24
27
|
function FlowQuoteToJSON(value) {
|
|
@@ -37,6 +40,8 @@ function FlowQuoteToJSON(value) {
|
|
|
37
40
|
'signingPayload': SwapSigningPayloadToJSON(value.signingPayload),
|
|
38
41
|
'createdAt': (value.createdAt.toISOString()),
|
|
39
42
|
'expiresAt': (value.expiresAt.toISOString()),
|
|
43
|
+
'fromTokenInfo': FlowTokenInfoToJSON(value.fromTokenInfo),
|
|
44
|
+
'toTokenInfo': FlowTokenInfoToJSON(value.toTokenInfo),
|
|
40
45
|
};
|
|
41
46
|
}
|
|
42
47
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowQuote.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowQuote.ts"],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlowQuote.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowQuote.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;AAAA;AAsGM,SAAU,iBAAiB,CAAC,IAAS,E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I,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,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,UAAU,EAAE,KAAK,CAAC,QAAQ;AAC1B,QAAA,MAAM,EAAE,sBAAsB,CAAC,KAAK,CAAC,IAAI,CAAC;QAC1C,kBAAkB,EAAE,KAAK,CAAC,gBAAgB;AAC1C,QAAA,gBAAgB,EAAE,wBAAwB,CAAC,KAAK,CAAC,cAAc,CAAC;QAChE,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC5C,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;AAC5C,QAAA,eAAe,EAAE,mBAAmB,CAAC,KAAK,CAAC,aAAa,CAAC;AACzD,QAAA,aAAa,EAAE,mBAAmB,CAAC,KAAK,CAAC,WAAW,CAAC;KACxD,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function FlowTokenInfoFromJSON(json) {
|
|
9
|
+
return FlowTokenInfoFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function FlowTokenInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'symbol': json['symbol'],
|
|
17
|
+
'decimals': json['decimals'],
|
|
18
|
+
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
19
|
+
'logoURI': !runtime.exists(json, 'logoURI') ? undefined : json['logoURI'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function FlowTokenInfoToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'symbol': value.symbol,
|
|
31
|
+
'decimals': value.decimals,
|
|
32
|
+
'name': value.name,
|
|
33
|
+
'logoURI': value.logoURI,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.FlowTokenInfoFromJSON = FlowTokenInfoFromJSON;
|
|
38
|
+
exports.FlowTokenInfoFromJSONTyped = FlowTokenInfoFromJSONTyped;
|
|
39
|
+
exports.FlowTokenInfoToJSON = FlowTokenInfoToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowTokenInfo.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowTokenInfo.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AA+CM,SAAU,qBAAqB,CAAC,IAAS,EAAA;AAC3C,IAAA,OAAO,0BAA0B,CAAC,IAAW,CAAC,CAAC;AACnD,CAAC;AAEe,SAAA,0BAA0B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC9E,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,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,MAAM,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC;AACxD,QAAA,SAAS,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;KACpE,CAAC;AACN,CAAC;AAEK,SAAU,mBAAmB,CAAC,KAA4B,EAAA;AAC5D,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,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* Token metadata returned alongside a flow quote.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FlowTokenInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowTokenInfo {
|
|
18
|
+
/**
|
|
19
|
+
* Token symbol (e.g. USDC, ETH)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FlowTokenInfo
|
|
22
|
+
*/
|
|
23
|
+
symbol: string;
|
|
24
|
+
/**
|
|
25
|
+
* Number of decimal places for this token
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof FlowTokenInfo
|
|
28
|
+
*/
|
|
29
|
+
decimals: number;
|
|
30
|
+
/**
|
|
31
|
+
* Human-readable token name (e.g. USD Coin, Ether)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FlowTokenInfo
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
* URL to the token logo image
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FlowTokenInfo
|
|
40
|
+
*/
|
|
41
|
+
logoURI?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function FlowTokenInfoFromJSON(json: any): FlowTokenInfo;
|
|
44
|
+
export declare function FlowTokenInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowTokenInfo;
|
|
45
|
+
export declare function FlowTokenInfoToJSON(value?: FlowTokenInfo | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function FlowTokenInfoFromJSON(json) {
|
|
5
|
+
return FlowTokenInfoFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function FlowTokenInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'symbol': json['symbol'],
|
|
13
|
+
'decimals': json['decimals'],
|
|
14
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
15
|
+
'logoURI': !exists(json, 'logoURI') ? undefined : json['logoURI'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function FlowTokenInfoToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'symbol': value.symbol,
|
|
27
|
+
'decimals': value.decimals,
|
|
28
|
+
'name': value.name,
|
|
29
|
+
'logoURI': value.logoURI,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { FlowTokenInfoFromJSON, FlowTokenInfoFromJSONTyped, FlowTokenInfoToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowTokenInfo.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowTokenInfo.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AA+CM,SAAU,qBAAqB,CAAC,IAAS,EAAA;AAC3C,IAAA,OAAO,0BAA0B,CAAC,IAAW,CAAC,CAAC;AACnD,CAAC;AAEe,SAAA,0BAA0B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC9E,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,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC;AACxD,QAAA,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;KACpE,CAAC;AACN,CAAC;AAEK,SAAU,mBAAmB,CAAC,KAA4B,EAAA;AAC5D,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,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
7
|
+
var ScreenTransactionRequestContext = require('./ScreenTransactionRequestContext.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function ScreenTransactionRequestFromJSON(json) {
|
|
11
|
+
return ScreenTransactionRequestFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function ScreenTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'chain': ChainEnum.ChainEnumFromJSON(json['chain']),
|
|
19
|
+
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
20
|
+
'senderAddress': !runtime.exists(json, 'senderAddress') ? undefined : json['senderAddress'],
|
|
21
|
+
'context': ScreenTransactionRequestContext.ScreenTransactionRequestContextFromJSON(json['context']),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function ScreenTransactionRequestToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'chain': ChainEnum.ChainEnumToJSON(value.chain),
|
|
33
|
+
'chainId': value.chainId,
|
|
34
|
+
'senderAddress': value.senderAddress,
|
|
35
|
+
'context': ScreenTransactionRequestContext.ScreenTransactionRequestContextToJSON(value.context),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.ScreenTransactionRequestFromJSON = ScreenTransactionRequestFromJSON;
|
|
40
|
+
exports.ScreenTransactionRequestFromJSONTyped = ScreenTransactionRequestFromJSONTyped;
|
|
41
|
+
exports.ScreenTransactionRequestToJSON = ScreenTransactionRequestToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenTransactionRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/ScreenTransactionRequest.ts"],"sourcesContent":null,"names":["ChainEnumFromJSON","exists","ScreenTransactionRequestContextFromJSON","ChainEnumToJSON","ScreenTransactionRequestContextToJSON"],"mappings":";;;;;;;;AAAA;AA4DM,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,2BAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AACzC,QAAA,SAAS,EAAE,CAACC,cAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AACjE,QAAA,eAAe,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,eAAe,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC;AACnF,QAAA,SAAS,EAAEC,uEAAuC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KACtE,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,EAAEC,yBAAe,CAAC,KAAK,CAAC,KAAK,CAAC;QACrC,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,eAAe,EAAE,KAAK,CAAC,aAAa;AACpC,QAAA,SAAS,EAAEC,qEAAqC,CAAC,KAAK,CAAC,OAAO,CAAC;KAClE,CAAC;AACN;;;;;;"}
|
|
@@ -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
|
+
import { ChainEnum } from './ChainEnum';
|
|
13
|
+
import { ScreenTransactionRequestContext } from './ScreenTransactionRequestContext';
|
|
14
|
+
/**
|
|
15
|
+
* The sender and statically-encoded envelope destinations are extracted and screened server-side.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ScreenTransactionRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface ScreenTransactionRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ChainEnum}
|
|
23
|
+
* @memberof ScreenTransactionRequest
|
|
24
|
+
*/
|
|
25
|
+
chain: ChainEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Network identifier, recorded for audit/logging only — screening is per chain family.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ScreenTransactionRequest
|
|
30
|
+
*/
|
|
31
|
+
chainId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The transaction sender; screened alongside the extracted destinations.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ScreenTransactionRequest
|
|
36
|
+
*/
|
|
37
|
+
senderAddress?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ScreenTransactionRequestContext}
|
|
41
|
+
* @memberof ScreenTransactionRequest
|
|
42
|
+
*/
|
|
43
|
+
context: ScreenTransactionRequestContext;
|
|
44
|
+
}
|
|
45
|
+
export declare function ScreenTransactionRequestFromJSON(json: any): ScreenTransactionRequest;
|
|
46
|
+
export declare function ScreenTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenTransactionRequest;
|
|
47
|
+
export declare function ScreenTransactionRequestToJSON(value?: ScreenTransactionRequest | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
3
|
+
import { ScreenTransactionRequestContextFromJSON, ScreenTransactionRequestContextToJSON } from './ScreenTransactionRequestContext.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function ScreenTransactionRequestFromJSON(json) {
|
|
7
|
+
return ScreenTransactionRequestFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function ScreenTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'chain': ChainEnumFromJSON(json['chain']),
|
|
15
|
+
'chainId': !exists(json, 'chainId') ? undefined : json['chainId'],
|
|
16
|
+
'senderAddress': !exists(json, 'senderAddress') ? undefined : json['senderAddress'],
|
|
17
|
+
'context': ScreenTransactionRequestContextFromJSON(json['context']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function ScreenTransactionRequestToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'chain': ChainEnumToJSON(value.chain),
|
|
29
|
+
'chainId': value.chainId,
|
|
30
|
+
'senderAddress': value.senderAddress,
|
|
31
|
+
'context': ScreenTransactionRequestContextToJSON(value.context),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { ScreenTransactionRequestFromJSON, ScreenTransactionRequestFromJSONTyped, ScreenTransactionRequestToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenTransactionRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/ScreenTransactionRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;AAAA;AA4DM,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,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AACzC,QAAA,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AACjE,QAAA,eAAe,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC;AACnF,QAAA,SAAS,EAAE,uCAAuC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KACtE,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,eAAe,CAAC,KAAK,CAAC,KAAK,CAAC;QACrC,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,eAAe,EAAE,KAAK,CAAC,aAAa;AACpC,QAAA,SAAS,EAAE,qCAAqC,CAAC,KAAK,CAAC,OAAO,CAAC;KAClE,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ScreenTransactionRequestContextBtcTransaction = require('./ScreenTransactionRequestContextBtcTransaction.cjs');
|
|
7
|
+
var ScreenTransactionRequestContextEvmTransaction = require('./ScreenTransactionRequestContextEvmTransaction.cjs');
|
|
8
|
+
var ScreenTransactionRequestContextStellarTransaction = require('./ScreenTransactionRequestContextStellarTransaction.cjs');
|
|
9
|
+
var ScreenTransactionRequestContextSuiTransaction = require('./ScreenTransactionRequestContextSuiTransaction.cjs');
|
|
10
|
+
var ScreenTransactionRequestContextSvmTransaction = require('./ScreenTransactionRequestContextSvmTransaction.cjs');
|
|
11
|
+
var ScreenTransactionRequestContextTronTransaction = require('./ScreenTransactionRequestContextTronTransaction.cjs');
|
|
12
|
+
|
|
13
|
+
/* tslint:disable */
|
|
14
|
+
function ScreenTransactionRequestContextFromJSON(json) {
|
|
15
|
+
return ScreenTransactionRequestContextFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function ScreenTransactionRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'btcTransaction': !runtime.exists(json, 'btcTransaction') ? undefined : ScreenTransactionRequestContextBtcTransaction.ScreenTransactionRequestContextBtcTransactionFromJSON(json['btcTransaction']),
|
|
23
|
+
'evmTransaction': !runtime.exists(json, 'evmTransaction') ? undefined : ScreenTransactionRequestContextEvmTransaction.ScreenTransactionRequestContextEvmTransactionFromJSON(json['evmTransaction']),
|
|
24
|
+
'stellarTransaction': !runtime.exists(json, 'stellarTransaction') ? undefined : ScreenTransactionRequestContextStellarTransaction.ScreenTransactionRequestContextStellarTransactionFromJSON(json['stellarTransaction']),
|
|
25
|
+
'suiTransaction': !runtime.exists(json, 'suiTransaction') ? undefined : ScreenTransactionRequestContextSuiTransaction.ScreenTransactionRequestContextSuiTransactionFromJSON(json['suiTransaction']),
|
|
26
|
+
'svmTransaction': !runtime.exists(json, 'svmTransaction') ? undefined : ScreenTransactionRequestContextSvmTransaction.ScreenTransactionRequestContextSvmTransactionFromJSON(json['svmTransaction']),
|
|
27
|
+
'tronTransaction': !runtime.exists(json, 'tronTransaction') ? undefined : ScreenTransactionRequestContextTronTransaction.ScreenTransactionRequestContextTronTransactionFromJSON(json['tronTransaction']),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function ScreenTransactionRequestContextToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'btcTransaction': ScreenTransactionRequestContextBtcTransaction.ScreenTransactionRequestContextBtcTransactionToJSON(value.btcTransaction),
|
|
39
|
+
'evmTransaction': ScreenTransactionRequestContextEvmTransaction.ScreenTransactionRequestContextEvmTransactionToJSON(value.evmTransaction),
|
|
40
|
+
'stellarTransaction': ScreenTransactionRequestContextStellarTransaction.ScreenTransactionRequestContextStellarTransactionToJSON(value.stellarTransaction),
|
|
41
|
+
'suiTransaction': ScreenTransactionRequestContextSuiTransaction.ScreenTransactionRequestContextSuiTransactionToJSON(value.suiTransaction),
|
|
42
|
+
'svmTransaction': ScreenTransactionRequestContextSvmTransaction.ScreenTransactionRequestContextSvmTransactionToJSON(value.svmTransaction),
|
|
43
|
+
'tronTransaction': ScreenTransactionRequestContextTronTransaction.ScreenTransactionRequestContextTronTransactionToJSON(value.tronTransaction),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.ScreenTransactionRequestContextFromJSON = ScreenTransactionRequestContextFromJSON;
|
|
48
|
+
exports.ScreenTransactionRequestContextFromJSONTyped = ScreenTransactionRequestContextFromJSONTyped;
|
|
49
|
+
exports.ScreenTransactionRequestContextToJSON = ScreenTransactionRequestContextToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenTransactionRequestContext.cjs","sources":["../../../../../libs/sdk-api-core/src/models/ScreenTransactionRequestContext.ts"],"sourcesContent":null,"names":["exists","ScreenTransactionRequestContextBtcTransactionFromJSON","ScreenTransactionRequestContextEvmTransactionFromJSON","ScreenTransactionRequestContextStellarTransactionFromJSON","ScreenTransactionRequestContextSuiTransactionFromJSON","ScreenTransactionRequestContextSvmTransactionFromJSON","ScreenTransactionRequestContextTronTransactionFromJSON","ScreenTransactionRequestContextBtcTransactionToJSON","ScreenTransactionRequestContextEvmTransactionToJSON","ScreenTransactionRequestContextStellarTransactionToJSON","ScreenTransactionRequestContextSuiTransactionToJSON","ScreenTransactionRequestContextSvmTransactionToJSON","ScreenTransactionRequestContextTronTransactionToJSON"],"mappings":";;;;;;;;;;;;AAAA;AAgGM,SAAU,uCAAuC,CAAC,IAAS,EAAA;AAC7D,IAAA,OAAO,4CAA4C,CAAC,IAAW,CAAC,CAAC;AACrE,CAAC;AAEe,SAAA,4CAA4C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,gBAAgB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,GAAG,SAAS,GAAGC,mGAAqD,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC7I,gBAAgB,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,GAAG,SAAS,GAAGE,mGAAqD,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC7I,oB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