@dynamic-labs/sdk-api-core 0.0.1059 → 0.0.1060
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.d.ts +2 -2
- package/src/index.cjs +4 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +1 -1
- package/src/models/BackupKeySharesToLocationsResponse.cjs +22 -8
- package/src/models/BackupKeySharesToLocationsResponse.cjs.map +1 -1
- package/src/models/BackupKeySharesToLocationsResponse.d.ts +30 -9
- package/src/models/BackupKeySharesToLocationsResponse.js +23 -9
- package/src/models/BackupKeySharesToLocationsResponse.js.map +1 -1
- package/src/models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.cjs +4 -4
- package/src/models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.cjs.map +1 -1
- package/src/models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.d.ts +4 -4
- package/src/models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.js +4 -4
- package/src/models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.js.map +1 -1
- package/src/models/FlowAttachSourceRequest.cjs +0 -2
- package/src/models/FlowAttachSourceRequest.cjs.map +1 -1
- package/src/models/FlowAttachSourceRequest.d.ts +1 -7
- package/src/models/FlowAttachSourceRequest.js +0 -2
- package/src/models/FlowAttachSourceRequest.js.map +1 -1
package/package.json
CHANGED
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -660,7 +660,7 @@ export interface GetWalletTransactionsRequest {
|
|
|
660
660
|
environmentId: string;
|
|
661
661
|
chainName: ChainEnum;
|
|
662
662
|
address: string;
|
|
663
|
-
networkId:
|
|
663
|
+
networkId: string;
|
|
664
664
|
limit?: number;
|
|
665
665
|
offset?: string;
|
|
666
666
|
tokenAddress?: string;
|
|
@@ -669,7 +669,7 @@ export interface GetWalletTransactionsOptionsRequest {
|
|
|
669
669
|
environmentId: string;
|
|
670
670
|
chainName: ChainEnum;
|
|
671
671
|
address: string;
|
|
672
|
-
networkId:
|
|
672
|
+
networkId: string;
|
|
673
673
|
limit?: number;
|
|
674
674
|
offset?: string;
|
|
675
675
|
tokenAddress?: string;
|
package/src/index.cjs
CHANGED
|
@@ -657,6 +657,10 @@ Object.defineProperty(exports, 'BackupKeySharesToLocationsResponsePasswordUpdate
|
|
|
657
657
|
enumerable: true,
|
|
658
658
|
get: function () { return BackupKeySharesToLocationsResponse.BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum; }
|
|
659
659
|
});
|
|
660
|
+
Object.defineProperty(exports, 'BackupKeySharesToLocationsResponseShareSetTypeEnum', {
|
|
661
|
+
enumerable: true,
|
|
662
|
+
get: function () { return BackupKeySharesToLocationsResponse.BackupKeySharesToLocationsResponseShareSetTypeEnum; }
|
|
663
|
+
});
|
|
660
664
|
exports.BackupKeySharesToLocationsResponseToJSON = BackupKeySharesToLocationsResponse.BackupKeySharesToLocationsResponseToJSON;
|
|
661
665
|
exports.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON = BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON;
|
|
662
666
|
exports.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSONTyped = BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSONTyped;
|
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
|
@@ -28,7 +28,7 @@ export { AuthenticatorTransportProtocol, AuthenticatorTransportProtocolFromJSON,
|
|
|
28
28
|
export { BackupKeySharesToLocationsPendingResponseFromJSON, BackupKeySharesToLocationsPendingResponseFromJSONTyped, BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum, BackupKeySharesToLocationsPendingResponseToJSON } from './models/BackupKeySharesToLocationsPendingResponse.js';
|
|
29
29
|
export { BackupKeySharesToLocationsRequestFromJSON, BackupKeySharesToLocationsRequestFromJSONTyped, BackupKeySharesToLocationsRequestToJSON } from './models/BackupKeySharesToLocationsRequest.js';
|
|
30
30
|
export { BackupKeySharesToLocationsRequestLocationsFromJSON, BackupKeySharesToLocationsRequestLocationsFromJSONTyped, BackupKeySharesToLocationsRequestLocationsToJSON, BackupKeySharesToLocationsRequestLocationsTokenSourceEnum } from './models/BackupKeySharesToLocationsRequestLocations.js';
|
|
31
|
-
export { BackupKeySharesToLocationsResponseFromJSON, BackupKeySharesToLocationsResponseFromJSONTyped, BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum, BackupKeySharesToLocationsResponseToJSON } from './models/BackupKeySharesToLocationsResponse.js';
|
|
31
|
+
export { BackupKeySharesToLocationsResponseFromJSON, BackupKeySharesToLocationsResponseFromJSONTyped, BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum, BackupKeySharesToLocationsResponseShareSetTypeEnum, BackupKeySharesToLocationsResponseToJSON } from './models/BackupKeySharesToLocationsResponse.js';
|
|
32
32
|
export { BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON, BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSONTyped, BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON } from './models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.js';
|
|
33
33
|
export { BadGatewayFromJSON, BadGatewayFromJSONTyped, BadGatewayToJSON } from './models/BadGateway.js';
|
|
34
34
|
export { BadRequestFromJSON, BadRequestFromJSONTyped, BadRequestToJSON } from './models/BadRequest.js';
|
|
@@ -12,9 +12,19 @@ var BackupKeySharesToLocationsResponseLocationsWithKeyShares = require('./Backup
|
|
|
12
12
|
*/
|
|
13
13
|
exports.BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum = void 0;
|
|
14
14
|
(function (BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum) {
|
|
15
|
-
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Pending"] = "pending";
|
|
16
15
|
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Activated"] = "activated";
|
|
17
|
-
|
|
16
|
+
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Pending"] = "pending";
|
|
17
|
+
})(exports.BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum || (exports.BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum = {})); /**
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
exports.BackupKeySharesToLocationsResponseShareSetTypeEnum = void 0;
|
|
22
|
+
(function (BackupKeySharesToLocationsResponseShareSetTypeEnum) {
|
|
23
|
+
BackupKeySharesToLocationsResponseShareSetTypeEnum["Delegated"] = "delegated";
|
|
24
|
+
BackupKeySharesToLocationsResponseShareSetTypeEnum["RootUser"] = "rootUser";
|
|
25
|
+
BackupKeySharesToLocationsResponseShareSetTypeEnum["Server"] = "server";
|
|
26
|
+
BackupKeySharesToLocationsResponseShareSetTypeEnum["BusinessAccountUser"] = "businessAccountUser";
|
|
27
|
+
})(exports.BackupKeySharesToLocationsResponseShareSetTypeEnum || (exports.BackupKeySharesToLocationsResponseShareSetTypeEnum = {}));
|
|
18
28
|
function BackupKeySharesToLocationsResponseFromJSON(json) {
|
|
19
29
|
return BackupKeySharesToLocationsResponseFromJSONTyped(json);
|
|
20
30
|
}
|
|
@@ -23,11 +33,13 @@ function BackupKeySharesToLocationsResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
23
33
|
return json;
|
|
24
34
|
}
|
|
25
35
|
return {
|
|
36
|
+
'locationsWithKeyShares': (json['locationsWithKeyShares'].map(BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON)),
|
|
26
37
|
'message': json['message'],
|
|
27
|
-
'walletId': json['walletId'],
|
|
28
|
-
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
29
38
|
'passwordUpdateStatus': !runtime.exists(json, 'passwordUpdateStatus') ? undefined : json['passwordUpdateStatus'],
|
|
30
|
-
'
|
|
39
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
40
|
+
'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : json['shareSetType'],
|
|
41
|
+
'walletActive': !runtime.exists(json, 'walletActive') ? undefined : json['walletActive'],
|
|
42
|
+
'walletId': json['walletId'],
|
|
31
43
|
};
|
|
32
44
|
}
|
|
33
45
|
function BackupKeySharesToLocationsResponseToJSON(value) {
|
|
@@ -38,11 +50,13 @@ function BackupKeySharesToLocationsResponseToJSON(value) {
|
|
|
38
50
|
return null;
|
|
39
51
|
}
|
|
40
52
|
return {
|
|
53
|
+
'locationsWithKeyShares': (value.locationsWithKeyShares.map(BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON)),
|
|
41
54
|
'message': value.message,
|
|
42
|
-
'walletId': value.walletId,
|
|
43
|
-
'shareSetId': value.shareSetId,
|
|
44
55
|
'passwordUpdateStatus': value.passwordUpdateStatus,
|
|
45
|
-
'
|
|
56
|
+
'shareSetId': value.shareSetId,
|
|
57
|
+
'shareSetType': value.shareSetType,
|
|
58
|
+
'walletActive': value.walletActive,
|
|
59
|
+
'walletId': value.walletId,
|
|
46
60
|
};
|
|
47
61
|
}
|
|
48
62
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackupKeySharesToLocationsResponse.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BackupKeySharesToLocationsResponse.ts"],"sourcesContent":null,"names":["BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum","
|
|
1
|
+
{"version":3,"file":"BackupKeySharesToLocationsResponse.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BackupKeySharesToLocationsResponse.ts"],"sourcesContent":null,"names":["BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum","BackupKeySharesToLocationsResponseShareSetTypeEnum","BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON","exists","BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON"],"mappings":";;;;;;;AAAA;AAwEA;;;AAGE;AACUA,4EAGX;AAHD,CAAA,UAAY,0DAA0D,EAAA;AAClE,IAAA,0DAAA,CAAA,WAAA,CAAA,GAAA,WAAuB,CAAA;AACvB,IAAA,0DAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACvB,CAAC,EAHWA,kEAA0D,KAA1DA,kEAA0D,QAGrE;;;AAGC;AACUC,oEAKX;AALD,CAAA,UAAY,kDAAkD,EAAA;AAC1D,IAAA,kDAAA,CAAA,WAAA,CAAA,GAAA,WAAuB,CAAA;AACvB,IAAA,kDAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,kDAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,kDAAA,CAAA,qBAAA,CAAA,GAAA,qBAA2C,CAAA;AAC/C,CAAC,EALWA,0DAAkD,KAAlDA,0DAAkD,GAK7D,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,0CAA0C,CAAC,IAAS,EAA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E,KAAK,CAAC,oBAAoB;QAClD,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN;;;;;;"}
|
|
@@ -16,6 +16,12 @@ import { BackupKeySharesToLocationsResponseLocationsWithKeyShares } from './Back
|
|
|
16
16
|
* @interface BackupKeySharesToLocationsResponse
|
|
17
17
|
*/
|
|
18
18
|
export interface BackupKeySharesToLocationsResponse {
|
|
19
|
+
/**
|
|
20
|
+
* List of backup locations paired with their key share identifiers
|
|
21
|
+
* @type {Array<BackupKeySharesToLocationsResponseLocationsWithKeyShares>}
|
|
22
|
+
* @memberof BackupKeySharesToLocationsResponse
|
|
23
|
+
*/
|
|
24
|
+
locationsWithKeyShares: Array<BackupKeySharesToLocationsResponseLocationsWithKeyShares>;
|
|
19
25
|
/**
|
|
20
26
|
* Human-readable status message for the backup operation
|
|
21
27
|
* @type {string}
|
|
@@ -23,11 +29,11 @@ export interface BackupKeySharesToLocationsResponse {
|
|
|
23
29
|
*/
|
|
24
30
|
message: string;
|
|
25
31
|
/**
|
|
26
|
-
*
|
|
32
|
+
* Current status of the password update process
|
|
27
33
|
* @type {string}
|
|
28
34
|
* @memberof BackupKeySharesToLocationsResponse
|
|
29
35
|
*/
|
|
30
|
-
|
|
36
|
+
passwordUpdateStatus?: BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum;
|
|
31
37
|
/**
|
|
32
38
|
* Identifier of the share set that was activated by this backup.
|
|
33
39
|
* @type {string}
|
|
@@ -35,25 +41,40 @@ export interface BackupKeySharesToLocationsResponse {
|
|
|
35
41
|
*/
|
|
36
42
|
shareSetId?: string | null;
|
|
37
43
|
/**
|
|
38
|
-
*
|
|
44
|
+
* Role of the active share set for this wallet, or null if no active wallet exists.
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @memberof BackupKeySharesToLocationsResponse
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
shareSetType?: BackupKeySharesToLocationsResponseShareSetTypeEnum;
|
|
43
49
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {
|
|
50
|
+
* Whether the wallet has an active root-user share set.
|
|
51
|
+
* @type {boolean}
|
|
46
52
|
* @memberof BackupKeySharesToLocationsResponse
|
|
47
53
|
*/
|
|
48
|
-
|
|
54
|
+
walletActive?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof BackupKeySharesToLocationsResponse
|
|
59
|
+
*/
|
|
60
|
+
walletId: string;
|
|
49
61
|
}
|
|
50
62
|
/**
|
|
51
63
|
* @export
|
|
52
64
|
* @enum {string}
|
|
53
65
|
*/
|
|
54
66
|
export declare enum BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum {
|
|
55
|
-
|
|
56
|
-
|
|
67
|
+
Activated = "activated",
|
|
68
|
+
Pending = "pending"
|
|
69
|
+
} /**
|
|
70
|
+
* @export
|
|
71
|
+
* @enum {string}
|
|
72
|
+
*/
|
|
73
|
+
export declare enum BackupKeySharesToLocationsResponseShareSetTypeEnum {
|
|
74
|
+
Delegated = "delegated",
|
|
75
|
+
RootUser = "rootUser",
|
|
76
|
+
Server = "server",
|
|
77
|
+
BusinessAccountUser = "businessAccountUser"
|
|
57
78
|
}
|
|
58
79
|
export declare function BackupKeySharesToLocationsResponseFromJSON(json: any): BackupKeySharesToLocationsResponse;
|
|
59
80
|
export declare function BackupKeySharesToLocationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationsResponse;
|
|
@@ -8,9 +8,19 @@ import { BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON, Backu
|
|
|
8
8
|
*/
|
|
9
9
|
var BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum;
|
|
10
10
|
(function (BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum) {
|
|
11
|
-
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Pending"] = "pending";
|
|
12
11
|
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Activated"] = "activated";
|
|
13
|
-
|
|
12
|
+
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Pending"] = "pending";
|
|
13
|
+
})(BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum || (BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum = {})); /**
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
var BackupKeySharesToLocationsResponseShareSetTypeEnum;
|
|
18
|
+
(function (BackupKeySharesToLocationsResponseShareSetTypeEnum) {
|
|
19
|
+
BackupKeySharesToLocationsResponseShareSetTypeEnum["Delegated"] = "delegated";
|
|
20
|
+
BackupKeySharesToLocationsResponseShareSetTypeEnum["RootUser"] = "rootUser";
|
|
21
|
+
BackupKeySharesToLocationsResponseShareSetTypeEnum["Server"] = "server";
|
|
22
|
+
BackupKeySharesToLocationsResponseShareSetTypeEnum["BusinessAccountUser"] = "businessAccountUser";
|
|
23
|
+
})(BackupKeySharesToLocationsResponseShareSetTypeEnum || (BackupKeySharesToLocationsResponseShareSetTypeEnum = {}));
|
|
14
24
|
function BackupKeySharesToLocationsResponseFromJSON(json) {
|
|
15
25
|
return BackupKeySharesToLocationsResponseFromJSONTyped(json);
|
|
16
26
|
}
|
|
@@ -19,11 +29,13 @@ function BackupKeySharesToLocationsResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
19
29
|
return json;
|
|
20
30
|
}
|
|
21
31
|
return {
|
|
32
|
+
'locationsWithKeyShares': (json['locationsWithKeyShares'].map(BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON)),
|
|
22
33
|
'message': json['message'],
|
|
23
|
-
'walletId': json['walletId'],
|
|
24
|
-
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
25
34
|
'passwordUpdateStatus': !exists(json, 'passwordUpdateStatus') ? undefined : json['passwordUpdateStatus'],
|
|
26
|
-
'
|
|
35
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
36
|
+
'shareSetType': !exists(json, 'shareSetType') ? undefined : json['shareSetType'],
|
|
37
|
+
'walletActive': !exists(json, 'walletActive') ? undefined : json['walletActive'],
|
|
38
|
+
'walletId': json['walletId'],
|
|
27
39
|
};
|
|
28
40
|
}
|
|
29
41
|
function BackupKeySharesToLocationsResponseToJSON(value) {
|
|
@@ -34,12 +46,14 @@ function BackupKeySharesToLocationsResponseToJSON(value) {
|
|
|
34
46
|
return null;
|
|
35
47
|
}
|
|
36
48
|
return {
|
|
49
|
+
'locationsWithKeyShares': (value.locationsWithKeyShares.map(BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON)),
|
|
37
50
|
'message': value.message,
|
|
38
|
-
'walletId': value.walletId,
|
|
39
|
-
'shareSetId': value.shareSetId,
|
|
40
51
|
'passwordUpdateStatus': value.passwordUpdateStatus,
|
|
41
|
-
'
|
|
52
|
+
'shareSetId': value.shareSetId,
|
|
53
|
+
'shareSetType': value.shareSetType,
|
|
54
|
+
'walletActive': value.walletActive,
|
|
55
|
+
'walletId': value.walletId,
|
|
42
56
|
};
|
|
43
57
|
}
|
|
44
58
|
|
|
45
|
-
export { BackupKeySharesToLocationsResponseFromJSON, BackupKeySharesToLocationsResponseFromJSONTyped, BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum, BackupKeySharesToLocationsResponseToJSON };
|
|
59
|
+
export { BackupKeySharesToLocationsResponseFromJSON, BackupKeySharesToLocationsResponseFromJSONTyped, BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum, BackupKeySharesToLocationsResponseShareSetTypeEnum, BackupKeySharesToLocationsResponseToJSON };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackupKeySharesToLocationsResponse.js","sources":["../../../../../libs/sdk-api-core/src/models/BackupKeySharesToLocationsResponse.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;
|
|
1
|
+
{"version":3,"file":"BackupKeySharesToLocationsResponse.js","sources":["../../../../../libs/sdk-api-core/src/models/BackupKeySharesToLocationsResponse.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AAwEA;;;AAGE;IACU,2DAGX;AAHD,CAAA,UAAY,0DAA0D,EAAA;AAClE,IAAA,0DAAA,CAAA,WAAA,CAAA,GAAA,WAAuB,CAAA;AACvB,IAAA,0DAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACvB,CAAC,EAHW,0DAA0D,KAA1D,0DAA0D,QAGrE;;;AAGC;IACU,mDAKX;AALD,CAAA,UAAY,kDAAkD,EAAA;AAC1D,IAAA,kDAAA,CAAA,WAAA,CAAA,GAAA,WAAuB,CAAA;AACvB,IAAA,kDAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,kDAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,kDAAA,CAAA,qBAAA,CAAA,GAAA,qBAA2C,CAAA;AAC/C,CAAC,EALW,kDAAkD,KAAlD,kDAAkD,GAK7D,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,0CAA0C,CAAC,IAAS,EAAA;AAChE,IAAA,OAAO,+CAA+C,CAAC,IAAW,CAAC,CAAC;AACxE,CAAC;AAEe,SAAA,+CAA+C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,wBAAwB,GAAI,IAAI,CAAC,wBAAwB,CAAgB,CAAC,GAAG,CAAC,gEAAgE,CAAC,CAAC;AAChJ,QAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;AAC1B,QAAA,sBAAsB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAsB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,sBAAsB,CAAC;AACxG,QAAA,YAAY,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;AAC1E,QAAA,cAAc,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC;AAChF,QAAA,cAAc,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC;AAChF,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;KAC/B,CAAC;AACN,CAAC;AAEK,SAAU,wCAAwC,CAAC,KAAiD,EAAA;AACtG,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,wBAAwB,GAAI,KAAK,CAAC,sBAAqC,CAAC,GAAG,CAAC,8DAA8D,CAAC,CAAC;QAC5I,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,sBAAsB,EAAE,KAAK,CAAC,oBAAoB;QAClD,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN;;;;"}
|
|
@@ -13,9 +13,9 @@ function BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSONTyped(j
|
|
|
13
13
|
return json;
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
|
-
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON(json['location']),
|
|
17
|
-
'keyShareId': json['keyShareId'],
|
|
18
16
|
'externalKeyShareId': json['externalKeyShareId'],
|
|
17
|
+
'keyShareId': json['keyShareId'],
|
|
18
|
+
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON(json['location']),
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
function BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON(value) {
|
|
@@ -26,9 +26,9 @@ function BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON(value) {
|
|
|
26
26
|
return null;
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
|
-
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumToJSON(value.location),
|
|
30
|
-
'keyShareId': value.keyShareId,
|
|
31
29
|
'externalKeyShareId': value.externalKeyShareId,
|
|
30
|
+
'keyShareId': value.keyShareId,
|
|
31
|
+
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumToJSON(value.location),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackupKeySharesToLocationsResponseLocationsWithKeyShares.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.ts"],"sourcesContent":null,"names":["WaasBackupOptionsEnumFromJSON","WaasBackupOptionsEnumToJSON"],"mappings":";;;;;;AAAA;AAgDM,SAAU,gEAAgE,CAAC,IAAS,EAAA;AACtF,IAAA,OAAO,qEAAqE,CAAC,IAAW,CAAC,CAAC;AAC9F,CAAC;AAEe,SAAA,qEAAqE,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzH,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,
|
|
1
|
+
{"version":3,"file":"BackupKeySharesToLocationsResponseLocationsWithKeyShares.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.ts"],"sourcesContent":null,"names":["WaasBackupOptionsEnumFromJSON","WaasBackupOptionsEnumToJSON"],"mappings":";;;;;;AAAA;AAgDM,SAAU,gEAAgE,CAAC,IAAS,EAAA;AACtF,IAAA,OAAO,qEAAqE,CAAC,IAAW,CAAC,CAAC;AAC9F,CAAC;AAEe,SAAA,qEAAqE,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzH,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,CAAC;AAChD,QAAA,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;AAChC,QAAA,UAAU,EAAEA,mDAA6B,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;KAC9D,CAAC;AACN,CAAC;AAEK,SAAU,8DAA8D,CAAC,KAAuE,EAAA;AAClJ,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,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;QAC9C,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,UAAU,EAAEC,iDAA2B,CAAC,KAAK,CAAC,QAAQ,CAAC;KAC1D,CAAC;AACN;;;;;;"}
|
|
@@ -18,10 +18,10 @@ import { WaasBackupOptionsEnum } from './WaasBackupOptionsEnum';
|
|
|
18
18
|
export interface BackupKeySharesToLocationsResponseLocationsWithKeyShares {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {string}
|
|
22
22
|
* @memberof BackupKeySharesToLocationsResponseLocationsWithKeyShares
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
externalKeyShareId: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
@@ -30,10 +30,10 @@ export interface BackupKeySharesToLocationsResponseLocationsWithKeyShares {
|
|
|
30
30
|
keyShareId: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {WaasBackupOptionsEnum}
|
|
34
34
|
* @memberof BackupKeySharesToLocationsResponseLocationsWithKeyShares
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
location: WaasBackupOptionsEnum;
|
|
37
37
|
}
|
|
38
38
|
export declare function BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON(json: any): BackupKeySharesToLocationsResponseLocationsWithKeyShares;
|
|
39
39
|
export declare function BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationsResponseLocationsWithKeyShares;
|
|
@@ -9,9 +9,9 @@ function BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSONTyped(j
|
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
|
-
'location': WaasBackupOptionsEnumFromJSON(json['location']),
|
|
13
|
-
'keyShareId': json['keyShareId'],
|
|
14
12
|
'externalKeyShareId': json['externalKeyShareId'],
|
|
13
|
+
'keyShareId': json['keyShareId'],
|
|
14
|
+
'location': WaasBackupOptionsEnumFromJSON(json['location']),
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
function BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON(value) {
|
|
@@ -22,9 +22,9 @@ function BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON(value) {
|
|
|
22
22
|
return null;
|
|
23
23
|
}
|
|
24
24
|
return {
|
|
25
|
-
'location': WaasBackupOptionsEnumToJSON(value.location),
|
|
26
|
-
'keyShareId': value.keyShareId,
|
|
27
25
|
'externalKeyShareId': value.externalKeyShareId,
|
|
26
|
+
'keyShareId': value.keyShareId,
|
|
27
|
+
'location': WaasBackupOptionsEnumToJSON(value.location),
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackupKeySharesToLocationsResponseLocationsWithKeyShares.js","sources":["../../../../../libs/sdk-api-core/src/models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAgDM,SAAU,gEAAgE,CAAC,IAAS,EAAA;AACtF,IAAA,OAAO,qEAAqE,CAAC,IAAW,CAAC,CAAC;AAC9F,CAAC;AAEe,SAAA,qEAAqE,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzH,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,
|
|
1
|
+
{"version":3,"file":"BackupKeySharesToLocationsResponseLocationsWithKeyShares.js","sources":["../../../../../libs/sdk-api-core/src/models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAgDM,SAAU,gEAAgE,CAAC,IAAS,EAAA;AACtF,IAAA,OAAO,qEAAqE,CAAC,IAAW,CAAC,CAAC;AAC9F,CAAC;AAEe,SAAA,qEAAqE,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzH,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,CAAC;AAChD,QAAA,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;AAChC,QAAA,UAAU,EAAE,6BAA6B,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;KAC9D,CAAC;AACN,CAAC;AAEK,SAAU,8DAA8D,CAAC,KAAuE,EAAA;AAClJ,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,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;QAC9C,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,UAAU,EAAE,2BAA2B,CAAC,KAAK,CAAC,QAAQ,CAAC;KAC1D,CAAC;AACN;;;;"}
|
|
@@ -21,7 +21,6 @@ function FlowAttachSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
21
|
'fromChainId': !runtime.exists(json, 'fromChainId') ? undefined : json['fromChainId'],
|
|
22
22
|
'fromChainName': !runtime.exists(json, 'fromChainName') ? undefined : ChainEnum.ChainEnumFromJSON(json['fromChainName']),
|
|
23
23
|
'exchangeProvider': !runtime.exists(json, 'exchangeProvider') ? undefined : ExchangeKeyEnum.ExchangeKeyEnumFromJSON(json['exchangeProvider']),
|
|
24
|
-
'refundAddress': !runtime.exists(json, 'refundAddress') ? undefined : json['refundAddress'],
|
|
25
24
|
};
|
|
26
25
|
}
|
|
27
26
|
function FlowAttachSourceRequestToJSON(value) {
|
|
@@ -37,7 +36,6 @@ function FlowAttachSourceRequestToJSON(value) {
|
|
|
37
36
|
'fromChainId': value.fromChainId,
|
|
38
37
|
'fromChainName': ChainEnum.ChainEnumToJSON(value.fromChainName),
|
|
39
38
|
'exchangeProvider': ExchangeKeyEnum.ExchangeKeyEnumToJSON(value.exchangeProvider),
|
|
40
|
-
'refundAddress': value.refundAddress,
|
|
41
39
|
};
|
|
42
40
|
}
|
|
43
41
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowAttachSourceRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowAttachSourceRequest.ts"],"sourcesContent":null,"names":["FlowSourceTypeEnumFromJSON","exists","ChainEnumFromJSON","ExchangeKeyEnumFromJSON","FlowSourceTypeEnumToJSON","ChainEnumToJSON","ExchangeKeyEnumToJSON"],"mappings":";;;;;;;;;AAAA;
|
|
1
|
+
{"version":3,"file":"FlowAttachSourceRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowAttachSourceRequest.ts"],"sourcesContent":null,"names":["FlowSourceTypeEnumFromJSON","exists","ChainEnumFromJSON","ExchangeKeyEnumFromJSON","FlowSourceTypeEnumToJSON","ChainEnumToJSON","ExchangeKeyEnumToJSON"],"mappings":";;;;;;;;;AAAA;AAwEM,SAAU,+BAA+B,CAAC,IAAS,EAAA;AACrD,IAAA,OAAO,oCAAoC,CAAC,IAAW,CAAC,CAAC;AAC7D,CAAC;AAEe,SAAA,oCAAoC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACxF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,YAAY,EAAEA,6CAA0B,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAC5D,QAAA,aAAa,EAAE,CAACC,cAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;AAC7E,QAAA,aAAa,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;QAC7E,eAAe,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,eAAe,CAAC,GAAG,SAAS,GAAGC,2BAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACtG,kBAAkB,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,kBAAkB,CAAC,GAAG,SAAS,GAAGE,uCAAuB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;KACxH,CAAC;AACN,CAAC;AAEK,SAAU,6BAA6B,CAAC,KAAsC,EAAA;AAChF,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,YAAY,EAAEC,2CAAwB,CAAC,KAAK,CAAC,UAAU,CAAC;QACxD,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,aAAa,EAAE,KAAK,CAAC,WAAW;AAChC,QAAA,eAAe,EAAEC,yBAAe,CAAC,KAAK,CAAC,aAAa,CAAC;AACrD,QAAA,kBAAkB,EAAEC,qCAAqB,CAAC,KAAK,CAAC,gBAAgB,CAAC;KACpE,CAAC;AACN;;;;;;"}
|
|
@@ -13,7 +13,7 @@ import { ChainEnum } from './ChainEnum';
|
|
|
13
13
|
import { ExchangeKeyEnum } from './ExchangeKeyEnum';
|
|
14
14
|
import { FlowSourceTypeEnum } from './FlowSourceTypeEnum';
|
|
15
15
|
/**
|
|
16
|
-
* fromAddress, fromChainId, and fromChainName are required when sourceType is 'wallet'. When sourceType is 'exchange', they are optional; pass exchangeProvider to generate the buy URL and create the exchange source record server-side. When sourceType is 'deposit_address', fromChainId and fromChainName are required; fromAddress is
|
|
16
|
+
* fromAddress, fromChainId, and fromChainName are required when sourceType is 'wallet'. When sourceType is 'exchange', they are optional; pass exchangeProvider to generate the buy URL and create the exchange source record server-side. When sourceType is 'deposit_address', fromChainId and fromChainName are required so the bridge provider knows the source chain; fromAddress is optional (omit when the customer pays from a CEX with no connected wallet).
|
|
17
17
|
* @export
|
|
18
18
|
* @interface FlowAttachSourceRequest
|
|
19
19
|
*/
|
|
@@ -48,12 +48,6 @@ export interface FlowAttachSourceRequest {
|
|
|
48
48
|
* @memberof FlowAttachSourceRequest
|
|
49
49
|
*/
|
|
50
50
|
exchangeProvider?: ExchangeKeyEnum;
|
|
51
|
-
/**
|
|
52
|
-
* Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof FlowAttachSourceRequest
|
|
55
|
-
*/
|
|
56
|
-
refundAddress?: string;
|
|
57
51
|
}
|
|
58
52
|
export declare function FlowAttachSourceRequestFromJSON(json: any): FlowAttachSourceRequest;
|
|
59
53
|
export declare function FlowAttachSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowAttachSourceRequest;
|
|
@@ -17,7 +17,6 @@ function FlowAttachSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'fromChainId': !exists(json, 'fromChainId') ? undefined : json['fromChainId'],
|
|
18
18
|
'fromChainName': !exists(json, 'fromChainName') ? undefined : ChainEnumFromJSON(json['fromChainName']),
|
|
19
19
|
'exchangeProvider': !exists(json, 'exchangeProvider') ? undefined : ExchangeKeyEnumFromJSON(json['exchangeProvider']),
|
|
20
|
-
'refundAddress': !exists(json, 'refundAddress') ? undefined : json['refundAddress'],
|
|
21
20
|
};
|
|
22
21
|
}
|
|
23
22
|
function FlowAttachSourceRequestToJSON(value) {
|
|
@@ -33,7 +32,6 @@ function FlowAttachSourceRequestToJSON(value) {
|
|
|
33
32
|
'fromChainId': value.fromChainId,
|
|
34
33
|
'fromChainName': ChainEnumToJSON(value.fromChainName),
|
|
35
34
|
'exchangeProvider': ExchangeKeyEnumToJSON(value.exchangeProvider),
|
|
36
|
-
'refundAddress': value.refundAddress,
|
|
37
35
|
};
|
|
38
36
|
}
|
|
39
37
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowAttachSourceRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowAttachSourceRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;AAAA;
|
|
1
|
+
{"version":3,"file":"FlowAttachSourceRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowAttachSourceRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;AAAA;AAwEM,SAAU,+BAA+B,CAAC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