@dynamic-labs/sdk-api-core 0.119.0 → 0.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/SDKApi.js +2 -0
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.js +2 -0
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.js +3 -0
- package/src/index.js.map +1 -1
- package/src/models/BadRequest.d.ts +1 -1
- package/src/models/Flow.d.ts +1 -1
- package/src/models/FlowCreateRequest.d.ts +1 -1
- package/src/models/FlowExchange.d.ts +40 -0
- package/src/models/FlowExchange.js +31 -0
- package/src/models/FlowExchange.js.map +1 -0
- package/src/models/FlowExchangesResponse.d.ts +3 -3
- package/src/models/FlowExchangesResponse.js +3 -3
- package/src/models/FlowExchangesResponse.js.map +1 -1
- package/src/models/FlowQuoteAmountCurrencyEnum.d.ts +23 -0
- package/src/models/FlowQuoteAmountCurrencyEnum.js +34 -0
- package/src/models/FlowQuoteAmountCurrencyEnum.js.map +1 -0
- package/src/models/FlowQuoteRequest.d.ts +13 -0
- package/src/models/FlowQuoteRequest.js +5 -0
- package/src/models/FlowQuoteRequest.js.map +1 -1
- package/src/models/ReshareRequest.d.ts +7 -0
- package/src/models/ReshareRequest.js +3 -0
- package/src/models/ReshareRequest.js.map +1 -1
- package/src/models/ReshareRequestOfflineRecoveryEncryptionKey.d.ts +45 -0
- package/src/models/ReshareRequestOfflineRecoveryEncryptionKey.js +47 -0
- package/src/models/ReshareRequestOfflineRecoveryEncryptionKey.js.map +1 -0
- package/src/models/index.d.ts +3 -0
- package/src/version.js +1 -1
package/src/apis/WaasApi.js
CHANGED
|
@@ -75,6 +75,7 @@ import '../models/ExternalWalletFundingDefaultChain.js';
|
|
|
75
75
|
import '../models/ExternalWalletFundingTokenRule.js';
|
|
76
76
|
import '../models/FlowModeEnum.js';
|
|
77
77
|
import '../models/FlowCurrencyEnum.js';
|
|
78
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
78
79
|
import '../models/OnrampProviders.js';
|
|
79
80
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
80
81
|
import '../models/PasskeyTransport.js';
|
|
@@ -109,6 +110,7 @@ import '../models/SdkViewType.js';
|
|
|
109
110
|
import '../models/ZerodevBundlerProvider.js';
|
|
110
111
|
import '../models/PublishEventsEvents.js';
|
|
111
112
|
import '../models/ReshareKind.js';
|
|
113
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
112
114
|
import '../models/ScreenTransactionResponse.js';
|
|
113
115
|
import '../models/ScreeningActionEnum.js';
|
|
114
116
|
import '../models/ScreeningPolicyScopeEnum.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"],"sourcesContent":null,"names":["runtime.BaseAPI","runtime.RequiredError","runtime.JSONApiResponse","runtime.VoidApiResponse"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AA0CA;;AAEG;AACU,MAAA,OAAQ,SAAQA,OAAe,CAAA;AAExC;;;AAGG;AACH,IAAA,MAAM,wCAAwC,CAAC,iBAA+D,EAAE,aAA2B,EAAA;AACvI,QAAA,IAAI,iBAAiB,CAAC,aAAa,KAAK,IAAI,IAAI,iBAAiB,CAAC,aAAa,KAAK,SAAS,EAAE;YAC3F,MAAM,IAAIC,aAAqB,CAAC,eAAe,EAAC,8HAA8H,CAAC,CAAC;SACnL;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,KAAK;AACb,YAAA,OAAO,EAAE,gBAAgB;AACzB,YAAA,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;AAElB,QAAA,OAAO,IAAIC,eAAuB,CAAC,QAAQ,EAAE,CAAC,SAAS,KAAK,kDAAkD,CAAC,SAAS,CAAC,CAAC,CAAC;KAC9H;AAED;;;AAGG;AACH,IAAA,MAAM,qCAAqC,CAAC,iBAA+D,EAAE,aAA2B,EAAA;QACpI,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,wCAAwC,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;AACvG,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.js
CHANGED
|
@@ -194,6 +194,7 @@ export { FlowAttachSourceRequestFromJSON, FlowAttachSourceRequestFromJSONTyped,
|
|
|
194
194
|
export { FlowCreateRequestFromJSON, FlowCreateRequestFromJSONTyped, FlowCreateRequestToJSON } from './models/FlowCreateRequest.js';
|
|
195
195
|
export { FlowCreateResponseFromJSON, FlowCreateResponseFromJSONTyped, FlowCreateResponseToJSON } from './models/FlowCreateResponse.js';
|
|
196
196
|
export { FlowCurrencyEnum, FlowCurrencyEnumFromJSON, FlowCurrencyEnumFromJSONTyped, FlowCurrencyEnumToJSON } from './models/FlowCurrencyEnum.js';
|
|
197
|
+
export { FlowExchangeFromJSON, FlowExchangeFromJSONTyped, FlowExchangeToJSON } from './models/FlowExchange.js';
|
|
197
198
|
export { FlowExchangeSourceFromJSON, FlowExchangeSourceFromJSONTyped, FlowExchangeSourceToJSON } from './models/FlowExchangeSource.js';
|
|
198
199
|
export { FlowExchangesResponseFromJSON, FlowExchangesResponseFromJSONTyped, FlowExchangesResponseToJSON } from './models/FlowExchangesResponse.js';
|
|
199
200
|
export { FlowExecutionStateEnum, FlowExecutionStateEnumFromJSON, FlowExecutionStateEnumFromJSONTyped, FlowExecutionStateEnumToJSON } from './models/FlowExecutionStateEnum.js';
|
|
@@ -212,6 +213,7 @@ export { FlowGasEstimateFromJSON, FlowGasEstimateFromJSONTyped, FlowGasEstimateT
|
|
|
212
213
|
export { FlowModeEnum, FlowModeEnumFromJSON, FlowModeEnumFromJSONTyped, FlowModeEnumToJSON } from './models/FlowModeEnum.js';
|
|
213
214
|
export { FlowPrepareSigningRequestFromJSON, FlowPrepareSigningRequestFromJSONTyped, FlowPrepareSigningRequestToJSON } from './models/FlowPrepareSigningRequest.js';
|
|
214
215
|
export { FlowQuoteFromJSON, FlowQuoteFromJSONTyped, FlowQuoteToJSON } from './models/FlowQuote.js';
|
|
216
|
+
export { FlowQuoteAmountCurrencyEnum, FlowQuoteAmountCurrencyEnumFromJSON, FlowQuoteAmountCurrencyEnumFromJSONTyped, FlowQuoteAmountCurrencyEnumToJSON } from './models/FlowQuoteAmountCurrencyEnum.js';
|
|
215
217
|
export { FlowQuoteRequestFromJSON, FlowQuoteRequestFromJSONTyped, FlowQuoteRequestToJSON } from './models/FlowQuoteRequest.js';
|
|
216
218
|
export { FlowRecordBroadcastRequestFromJSON, FlowRecordBroadcastRequestFromJSONTyped, FlowRecordBroadcastRequestToJSON } from './models/FlowRecordBroadcastRequest.js';
|
|
217
219
|
export { FlowRiskStateEnum, FlowRiskStateEnumFromJSON, FlowRiskStateEnumFromJSONTyped, FlowRiskStateEnumToJSON } from './models/FlowRiskStateEnum.js';
|
|
@@ -411,6 +413,7 @@ export { RemoveBusinessAccountSignerSdkRequestFromJSON, RemoveBusinessAccountSig
|
|
|
411
413
|
export { RemoveBusinessAccountWalletSdkRequestFromJSON, RemoveBusinessAccountWalletSdkRequestFromJSONTyped, RemoveBusinessAccountWalletSdkRequestToJSON } from './models/RemoveBusinessAccountWalletSdkRequest.js';
|
|
412
414
|
export { ReshareKind, ReshareKindFromJSON, ReshareKindFromJSONTyped, ReshareKindToJSON } from './models/ReshareKind.js';
|
|
413
415
|
export { ReshareRequestFromJSON, ReshareRequestFromJSONTyped, ReshareRequestToJSON } from './models/ReshareRequest.js';
|
|
416
|
+
export { ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum, ReshareRequestOfflineRecoveryEncryptionKeyFromJSON, ReshareRequestOfflineRecoveryEncryptionKeyFromJSONTyped, ReshareRequestOfflineRecoveryEncryptionKeyToJSON } from './models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
414
417
|
export { ResidentKeyRequirement, ResidentKeyRequirementFromJSON, ResidentKeyRequirementFromJSONTyped, ResidentKeyRequirementToJSON } from './models/ResidentKeyRequirement.js';
|
|
415
418
|
export { RoomTypeEnum, RoomTypeEnumFromJSON, RoomTypeEnumFromJSONTyped, RoomTypeEnumToJSON } from './models/RoomTypeEnum.js';
|
|
416
419
|
export { ScanWebsiteUrlRequestFromJSON, ScanWebsiteUrlRequestFromJSONTyped, ScanWebsiteUrlRequestToJSON } from './models/ScanWebsiteUrlRequest.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,7 +22,7 @@ export interface BadRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
error?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Machine-readable reason for the 400, set only by endpoints that distinguish rejections.
|
|
25
|
+
* Machine-readable reason for the 400, set only by endpoints that distinguish rejections.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof BadRequest
|
|
28
28
|
*/
|
package/src/models/Flow.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface Flow {
|
|
|
42
42
|
*/
|
|
43
43
|
mode: FlowModeEnum;
|
|
44
44
|
/**
|
|
45
|
-
* Amount in the specified currency. Set
|
|
45
|
+
* Amount in the specified currency. Set at create by the API-key caller. Immutable for payment and withdraw flows; for deposit flows it is a suggested amount the payer can change when quoting.
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof Flow
|
|
48
48
|
*/
|
|
@@ -15,7 +15,7 @@ import { FlowFeeConfig } from './FlowFeeConfig';
|
|
|
15
15
|
import { FlowUIConfig } from './FlowUIConfig';
|
|
16
16
|
import { SettlementConfigInput } from './SettlementConfigInput';
|
|
17
17
|
/**
|
|
18
|
-
* Create-time payload for a flow.
|
|
18
|
+
* Create-time payload for a flow. currency, settlementConfig and destinationConfig are written once here (by a trusted API-key caller) and are accepted by no later endpoint; so is amount, except that a deposit flow's payer can change it when quoting. mode is supplied in the URL path.
|
|
19
19
|
* @export
|
|
20
20
|
* @interface FlowCreateRequest
|
|
21
21
|
*/
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ExchangeKeyEnum } from './ExchangeKeyEnum';
|
|
13
|
+
/**
|
|
14
|
+
* An exchange a flow can be paid with, ready to display.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FlowExchange
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowExchange {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ExchangeKeyEnum}
|
|
22
|
+
* @memberof FlowExchange
|
|
23
|
+
*/
|
|
24
|
+
key: ExchangeKeyEnum;
|
|
25
|
+
/**
|
|
26
|
+
* The exchange's display name, e.g. "Coinbase".
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FlowExchange
|
|
29
|
+
*/
|
|
30
|
+
label: string;
|
|
31
|
+
/**
|
|
32
|
+
* Absolute HTTPS URL of the exchange's logo.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof FlowExchange
|
|
35
|
+
*/
|
|
36
|
+
iconUrl: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function FlowExchangeFromJSON(json: any): FlowExchange;
|
|
39
|
+
export declare function FlowExchangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowExchange;
|
|
40
|
+
export declare function FlowExchangeToJSON(value?: FlowExchange | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ExchangeKeyEnumFromJSON, ExchangeKeyEnumToJSON } from './ExchangeKeyEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function FlowExchangeFromJSON(json) {
|
|
5
|
+
return FlowExchangeFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function FlowExchangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'key': ExchangeKeyEnumFromJSON(json['key']),
|
|
13
|
+
'label': json['label'],
|
|
14
|
+
'iconUrl': json['iconUrl'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function FlowExchangeToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'key': ExchangeKeyEnumToJSON(value.key),
|
|
26
|
+
'label': value.label,
|
|
27
|
+
'iconUrl': value.iconUrl,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { FlowExchangeFromJSON, FlowExchangeFromJSONTyped, FlowExchangeToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowExchange.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowExchange.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAgDM,SAAU,oBAAoB,CAAC,IAAS,EAAA;AAC1C,IAAA,OAAO,yBAAyB,CAAC,IAAW,CAAC,CAAC;AAClD,CAAC;AAEe,SAAA,yBAAyB,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC7E,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,KAAK,EAAE,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC3C,QAAA,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;AACtB,QAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;KAC7B,CAAC;AACN,CAAC;AAEK,SAAU,kBAAkB,CAAC,KAA2B,EAAA;AAC1D,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,KAAK,EAAE,qBAAqB,CAAC,KAAK,CAAC,GAAG,CAAC;QACvC,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN;;;;"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { FlowExchange } from './FlowExchange';
|
|
13
13
|
/**
|
|
14
14
|
* The exchanges a flow can be paid with.
|
|
15
15
|
* @export
|
|
@@ -18,10 +18,10 @@ import { ExchangeKeyEnum } from './ExchangeKeyEnum';
|
|
|
18
18
|
export interface FlowExchangesResponse {
|
|
19
19
|
/**
|
|
20
20
|
* Exchanges that can be attached as the flow's source.
|
|
21
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<FlowExchange>}
|
|
22
22
|
* @memberof FlowExchangesResponse
|
|
23
23
|
*/
|
|
24
|
-
exchanges: Array<
|
|
24
|
+
exchanges: Array<FlowExchange>;
|
|
25
25
|
}
|
|
26
26
|
export declare function FlowExchangesResponseFromJSON(json: any): FlowExchangesResponse;
|
|
27
27
|
export declare function FlowExchangesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowExchangesResponse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlowExchangeFromJSON, FlowExchangeToJSON } from './FlowExchange.js';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
function FlowExchangesResponseFromJSON(json) {
|
|
@@ -9,7 +9,7 @@ function FlowExchangesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
|
-
'exchanges': (json['exchanges'].map(
|
|
12
|
+
'exchanges': (json['exchanges'].map(FlowExchangeFromJSON)),
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
function FlowExchangesResponseToJSON(value) {
|
|
@@ -20,7 +20,7 @@ function FlowExchangesResponseToJSON(value) {
|
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
-
'exchanges': (value.exchanges.map(
|
|
23
|
+
'exchanges': (value.exchanges.map(FlowExchangeToJSON)),
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowExchangesResponse.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowExchangesResponse.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAoCM,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;QAEH,WAAW,GAAI,IAAI,CAAC,WAAW,CAAgB,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"FlowExchangesResponse.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowExchangesResponse.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAoCM,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;QAEH,WAAW,GAAI,IAAI,CAAC,WAAW,CAAgB,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;KAC7E,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,WAAW,GAAI,KAAK,CAAC,SAAwB,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;KACzE,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Currency a quote-time amount is denominated in. USD prices the amount against the source token. SOURCE_TOKEN denominates it directly in the source token (e.g. "1" for 1 ETH, not wei).
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum FlowQuoteAmountCurrencyEnum {
|
|
18
|
+
Usd = "USD",
|
|
19
|
+
SourceToken = "SOURCE_TOKEN"
|
|
20
|
+
}
|
|
21
|
+
export declare function FlowQuoteAmountCurrencyEnumFromJSON(json: any): FlowQuoteAmountCurrencyEnum;
|
|
22
|
+
export declare function FlowQuoteAmountCurrencyEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowQuoteAmountCurrencyEnum;
|
|
23
|
+
export declare function FlowQuoteAmountCurrencyEnumToJSON(value?: FlowQuoteAmountCurrencyEnum | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Currency a quote-time amount is denominated in. USD prices the amount against the source token. SOURCE_TOKEN denominates it directly in the source token (e.g. "1" for 1 ETH, not wei).
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var FlowQuoteAmountCurrencyEnum;
|
|
20
|
+
(function (FlowQuoteAmountCurrencyEnum) {
|
|
21
|
+
FlowQuoteAmountCurrencyEnum["Usd"] = "USD";
|
|
22
|
+
FlowQuoteAmountCurrencyEnum["SourceToken"] = "SOURCE_TOKEN";
|
|
23
|
+
})(FlowQuoteAmountCurrencyEnum || (FlowQuoteAmountCurrencyEnum = {}));
|
|
24
|
+
function FlowQuoteAmountCurrencyEnumFromJSON(json) {
|
|
25
|
+
return FlowQuoteAmountCurrencyEnumFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function FlowQuoteAmountCurrencyEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function FlowQuoteAmountCurrencyEnumToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { FlowQuoteAmountCurrencyEnum, FlowQuoteAmountCurrencyEnumFromJSON, FlowQuoteAmountCurrencyEnumFromJSONTyped, FlowQuoteAmountCurrencyEnumToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowQuoteAmountCurrencyEnum.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowQuoteAmountCurrencyEnum.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AAEH;;;;AAIG;IACS,4BAGX;AAHD,CAAA,UAAY,2BAA2B,EAAA;AACnC,IAAA,2BAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,2BAAA,CAAA,aAAA,CAAA,GAAA,cAA4B,CAAA;AAChC,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,GAGtC,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,mCAAmC,CAAC,IAAS,EAAA;AACzD,IAAA,OAAO,wCAAwC,CAAC,IAAW,CAAC,CAAC;AACjE,CAAC;AAEe,SAAA,wCAAwC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC5F,IAAA,OAAO,IAAmC,CAAC;AAC/C,CAAC;AAEK,SAAU,iCAAiC,CAAC,KAA0C,EAAA;AACxF,IAAA,OAAO,KAAY,CAAC;AACxB;;;;"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { FlowQuoteAmountCurrencyEnum } from './FlowQuoteAmountCurrencyEnum';
|
|
12
13
|
/**
|
|
13
14
|
* Request body for fetching a quote on a flow.
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,18 @@ export interface FlowQuoteRequest {
|
|
|
33
34
|
* @memberof FlowQuoteRequest
|
|
34
35
|
*/
|
|
35
36
|
slippage?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Amount to deposit, replacing the flow's suggested amount. Deposit flows with a wallet or deposit-address source only. A positive decimal in `amountCurrency` units. When omitted, the quote uses the flow's current (USD) amount, so resend a SOURCE_TOKEN amount on every re-quote to keep the deposit fixed in the source token.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FlowQuoteRequest
|
|
41
|
+
*/
|
|
42
|
+
amount?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Currency `amount` is denominated in. Defaults to USD.
|
|
45
|
+
* @type {FlowQuoteAmountCurrencyEnum}
|
|
46
|
+
* @memberof FlowQuoteRequest
|
|
47
|
+
*/
|
|
48
|
+
amountCurrency?: FlowQuoteAmountCurrencyEnum | null;
|
|
36
49
|
}
|
|
37
50
|
export declare function FlowQuoteRequestFromJSON(json: any): FlowQuoteRequest;
|
|
38
51
|
export declare function FlowQuoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowQuoteRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { FlowQuoteAmountCurrencyEnumFromJSON, FlowQuoteAmountCurrencyEnumToJSON } from './FlowQuoteAmountCurrencyEnum.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function FlowQuoteRequestFromJSON(json) {
|
|
@@ -12,6 +13,8 @@ function FlowQuoteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
'fromTokenAddress': !exists(json, 'fromTokenAddress') ? undefined : json['fromTokenAddress'],
|
|
13
14
|
'fromChainId': !exists(json, 'fromChainId') ? undefined : json['fromChainId'],
|
|
14
15
|
'slippage': !exists(json, 'slippage') ? undefined : json['slippage'],
|
|
16
|
+
'amount': !exists(json, 'amount') ? undefined : json['amount'],
|
|
17
|
+
'amountCurrency': !exists(json, 'amountCurrency') ? undefined : FlowQuoteAmountCurrencyEnumFromJSON(json['amountCurrency']),
|
|
15
18
|
};
|
|
16
19
|
}
|
|
17
20
|
function FlowQuoteRequestToJSON(value) {
|
|
@@ -25,6 +28,8 @@ function FlowQuoteRequestToJSON(value) {
|
|
|
25
28
|
'fromTokenAddress': value.fromTokenAddress,
|
|
26
29
|
'fromChainId': value.fromChainId,
|
|
27
30
|
'slippage': value.slippage,
|
|
31
|
+
'amount': value.amount,
|
|
32
|
+
'amountCurrency': FlowQuoteAmountCurrencyEnumToJSON(value.amountCurrency),
|
|
28
33
|
};
|
|
29
34
|
}
|
|
30
35
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowQuoteRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowQuoteRequest.ts"],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlowQuoteRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowQuoteRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AA4DM,SAAU,wBAAwB,CAAC,IAAS,EAAA;AAC9C,IAAA,OAAO,6BAA6B,CAAC,IAAW,CAAC,CAAC;AACtD,CAAC;AAEe,SAAA,6BAA6B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACjF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,kBAAkB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,kBAAkB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,kBAAkB,CAAC;AAC5F,QAAA,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;AAC7E,QAAA,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;AACpE,QAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC9D,gBAAgB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,GAAG,SAAS,GAAG,mCAAmC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;KAC9H,CAAC;AACN,CAAC;AAEK,SAAU,sBAAsB,CAAC,KAA+B,EAAA;AAClE,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,kBAAkB,EAAE,KAAK,CAAC,gBAAgB;QAC1C,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,QAAQ,EAAE,KAAK,CAAC,MAAM;AACtB,QAAA,gBAAgB,EAAE,iCAAiC,CAAC,KAAK,CAAC,cAAc,CAAC;KAC5E,CAAC;AACN;;;;"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ReshareKind } from './ReshareKind';
|
|
13
|
+
import { ReshareRequestOfflineRecoveryEncryptionKey } from './ReshareRequestOfflineRecoveryEncryptionKey';
|
|
13
14
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
14
15
|
import { WaasPolicyRule } from './WaasPolicyRule';
|
|
15
16
|
/**
|
|
@@ -73,6 +74,12 @@ export interface ReshareRequest {
|
|
|
73
74
|
* @memberof ReshareRequest
|
|
74
75
|
*/
|
|
75
76
|
initialSignerRules?: Array<WaasPolicyRule>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {ReshareRequestOfflineRecoveryEncryptionKey}
|
|
80
|
+
* @memberof ReshareRequest
|
|
81
|
+
*/
|
|
82
|
+
offlineRecoveryEncryptionKey?: ReshareRequestOfflineRecoveryEncryptionKey;
|
|
76
83
|
}
|
|
77
84
|
export declare function ReshareRequestFromJSON(json: any): ReshareRequest;
|
|
78
85
|
export declare function ReshareRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReshareRequest;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { ReshareKindFromJSON, ReshareKindToJSON } from './ReshareKind.js';
|
|
3
|
+
import { ReshareRequestOfflineRecoveryEncryptionKeyFromJSON, ReshareRequestOfflineRecoveryEncryptionKeyToJSON } from './ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
3
4
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
4
5
|
import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
|
|
5
6
|
|
|
@@ -20,6 +21,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
21
|
'reshareKind': !exists(json, 'reshareKind') ? undefined : ReshareKindFromJSON(json['reshareKind']),
|
|
21
22
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
22
23
|
'initialSignerRules': !exists(json, 'initialSignerRules') ? undefined : (json['initialSignerRules'].map(WaasPolicyRuleFromJSON)),
|
|
24
|
+
'offlineRecoveryEncryptionKey': !exists(json, 'offlineRecoveryEncryptionKey') ? undefined : ReshareRequestOfflineRecoveryEncryptionKeyFromJSON(json['offlineRecoveryEncryptionKey']),
|
|
23
25
|
};
|
|
24
26
|
}
|
|
25
27
|
function ReshareRequestToJSON(value) {
|
|
@@ -38,6 +40,7 @@ function ReshareRequestToJSON(value) {
|
|
|
38
40
|
'reshareKind': ReshareKindToJSON(value.reshareKind),
|
|
39
41
|
'shareSetId': value.shareSetId,
|
|
40
42
|
'initialSignerRules': value.initialSignerRules === undefined ? undefined : (value.initialSignerRules.map(WaasPolicyRuleToJSON)),
|
|
43
|
+
'offlineRecoveryEncryptionKey': ReshareRequestOfflineRecoveryEncryptionKeyToJSON(value.offlineRecoveryEncryptionKey),
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReshareRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/ReshareRequest.ts"],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReshareRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/ReshareRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;;AAAA;AA6GM,SAAU,sBAAsB,CAAC,IAAS,EAAA;AAC5C,IAAA,OAAO,2BAA2B,CAAC,IAAW,CAAC,CAAC;AACpD,CAAC;AAEe,SAAA,2BAA2B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC/E,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;AAC1C,QAAA,6BAA6B,EAAE,gCAAgC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACpG,QAAA,6BAA6B,EAAE,gCAAgC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACpG,QAAA,8BAA8B,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,8BAA8B,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,8BAA8B,CAAC;AAChI,QAAA,kBAAkB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,kBAAkB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,kBAAkB,CAAC;QAC5F,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,mBAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAClG,QAAA,YAAY,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QAC1E,oBAAoB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,GAAG,SAAS,IAAK,IAAI,CAAC,oBAAoB,CAAgB,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;QAChJ,8BAA8B,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,8BAA8B,CAAC,GAAG,SAAS,GAAG,kDAAkD,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;KACvL,CAAC;AACN,CAAC;AAEK,SAAU,oBAAoB,CAAC,KAA6B,EAAA;AAC9D,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,iBAAiB,EAAE,KAAK,CAAC,eAAe;AACxC,QAAA,6BAA6B,EAAE,8BAA8B,CAAC,KAAK,CAAC,2BAA2B,CAAC;AAChG,QAAA,6BAA6B,EAAE,8BAA8B,CAAC,KAAK,CAAC,2BAA2B,CAAC;QAChG,8BAA8B,EAAE,KAAK,CAAC,4BAA4B;QAClE,kBAAkB,EAAE,KAAK,CAAC,gBAAgB;AAC1C,QAAA,aAAa,EAAE,iBAAiB,CAAC,KAAK,CAAC,WAAW,CAAC;QACnD,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,oBAAoB,EAAE,KAAK,CAAC,kBAAkB,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,kBAAiC,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;AAC/I,QAAA,8BAA8B,EAAE,gDAAgD,CAAC,KAAK,CAAC,4BAA4B,CAAC;KACvH,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
|
+
* Caller-supplied RSA public key to encrypt the recovery share to on an
|
|
14
|
+
* `offlineRecovery` reshare — e.g. a per-wallet or per-user key whose
|
|
15
|
+
* private key lives with the end user. When provided, the recovery share
|
|
16
|
+
* delivered via the `wallet.offlineRecovery.created` webhook is encrypted
|
|
17
|
+
* to this key instead of the env's delegated-access key. Rejected on any
|
|
18
|
+
* other reshare kind.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ReshareRequestOfflineRecoveryEncryptionKey
|
|
21
|
+
*/
|
|
22
|
+
export interface ReshareRequestOfflineRecoveryEncryptionKey {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ReshareRequestOfflineRecoveryEncryptionKey
|
|
27
|
+
*/
|
|
28
|
+
alg: ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Base64-encoded RSA public key (full PEM or raw key data).
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ReshareRequestOfflineRecoveryEncryptionKey
|
|
33
|
+
*/
|
|
34
|
+
publicKeyPemB64: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
export declare enum ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum {
|
|
41
|
+
HybridRsaAes256 = "HYBRID-RSA-AES-256"
|
|
42
|
+
}
|
|
43
|
+
export declare function ReshareRequestOfflineRecoveryEncryptionKeyFromJSON(json: any): ReshareRequestOfflineRecoveryEncryptionKey;
|
|
44
|
+
export declare function ReshareRequestOfflineRecoveryEncryptionKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReshareRequestOfflineRecoveryEncryptionKey;
|
|
45
|
+
export declare function ReshareRequestOfflineRecoveryEncryptionKeyToJSON(value?: ReshareRequestOfflineRecoveryEncryptionKey | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum;
|
|
19
|
+
(function (ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum) {
|
|
20
|
+
ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum["HybridRsaAes256"] = "HYBRID-RSA-AES-256";
|
|
21
|
+
})(ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum || (ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum = {}));
|
|
22
|
+
function ReshareRequestOfflineRecoveryEncryptionKeyFromJSON(json) {
|
|
23
|
+
return ReshareRequestOfflineRecoveryEncryptionKeyFromJSONTyped(json);
|
|
24
|
+
}
|
|
25
|
+
function ReshareRequestOfflineRecoveryEncryptionKeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'alg': json['alg'],
|
|
31
|
+
'publicKeyPemB64': json['publicKeyPemB64'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function ReshareRequestOfflineRecoveryEncryptionKeyToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'alg': value.alg,
|
|
43
|
+
'publicKeyPemB64': value.publicKeyPemB64,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum, ReshareRequestOfflineRecoveryEncryptionKeyFromJSON, ReshareRequestOfflineRecoveryEncryptionKeyFromJSONTyped, ReshareRequestOfflineRecoveryEncryptionKeyToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReshareRequestOfflineRecoveryEncryptionKey.js","sources":["../../../../../libs/sdk-api-core/src/models/ReshareRequestOfflineRecoveryEncryptionKey.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AA4BH;;;AAGE;IACU,kDAEX;AAFD,CAAA,UAAY,iDAAiD,EAAA;AACzD,IAAA,iDAAA,CAAA,iBAAA,CAAA,GAAA,oBAAsC,CAAA;AAC1C,CAAC,EAFW,iDAAiD,KAAjD,iDAAiD,GAE5D,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,kDAAkD,CAAC,IAAS,EAAA;AACxE,IAAA,OAAO,uDAAuD,CAAC,IAAW,CAAC,CAAC;AAChF,CAAC;AAEe,SAAA,uDAAuD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC3G,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,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;KAC7C,CAAC;AACN,CAAC;AAEK,SAAU,gDAAgD,CAAC,KAAyD,EAAA;AACtH,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,iBAAiB,EAAE,KAAK,CAAC,eAAe;KAC3C,CAAC;AACN;;;;"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -191,6 +191,7 @@ export * from './FlowAttachSourceRequest';
|
|
|
191
191
|
export * from './FlowCreateRequest';
|
|
192
192
|
export * from './FlowCreateResponse';
|
|
193
193
|
export * from './FlowCurrencyEnum';
|
|
194
|
+
export * from './FlowExchange';
|
|
194
195
|
export * from './FlowExchangeSource';
|
|
195
196
|
export * from './FlowExchangesResponse';
|
|
196
197
|
export * from './FlowExecutionStateEnum';
|
|
@@ -209,6 +210,7 @@ export * from './FlowGasEstimate';
|
|
|
209
210
|
export * from './FlowModeEnum';
|
|
210
211
|
export * from './FlowPrepareSigningRequest';
|
|
211
212
|
export * from './FlowQuote';
|
|
213
|
+
export * from './FlowQuoteAmountCurrencyEnum';
|
|
212
214
|
export * from './FlowQuoteRequest';
|
|
213
215
|
export * from './FlowRecordBroadcastRequest';
|
|
214
216
|
export * from './FlowRiskStateEnum';
|
|
@@ -408,6 +410,7 @@ export * from './RemoveBusinessAccountSignerSdkRequest';
|
|
|
408
410
|
export * from './RemoveBusinessAccountWalletSdkRequest';
|
|
409
411
|
export * from './ReshareKind';
|
|
410
412
|
export * from './ReshareRequest';
|
|
413
|
+
export * from './ReshareRequestOfflineRecoveryEncryptionKey';
|
|
411
414
|
export * from './ResidentKeyRequirement';
|
|
412
415
|
export * from './RoomTypeEnum';
|
|
413
416
|
export * from './ScanWebsiteUrlRequest';
|
package/src/version.js
CHANGED