@dynamic-labs/sdk-api-core 0.0.1068 → 0.0.1069
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 +62 -0
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +26 -1
- package/src/apis/SDKApi.js +62 -0
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +1 -1
- package/src/apis/WaasApi.js +1 -1
- package/src/index.cjs +4 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/models/AddBusinessAccountSignerSdkRequest.cjs +7 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.cjs.map +1 -1
- package/src/models/AddBusinessAccountSignerSdkRequest.d.ts +20 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.js +7 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.js.map +1 -1
- package/src/models/InlineObject5.cjs +35 -0
- package/src/models/InlineObject5.cjs.map +1 -0
- package/src/models/InlineObject5.d.ts +33 -0
- package/src/models/InlineObject5.js +29 -0
- package/src/models/InlineObject5.js.map +1 -0
- package/src/models/index.d.ts +1 -0
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -7,6 +7,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
7
7
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
8
8
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
9
9
|
require('../models/BusinessAccountSignerType.cjs');
|
|
10
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
10
11
|
require('../models/ChainEnum.cjs');
|
|
11
12
|
require('../models/FlowSourceTypeEnum.cjs');
|
|
12
13
|
require('../models/AttestationConveyancePreference.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/HardwareWalletEnum.cjs');
|
|
|
29
30
|
require('../models/PasswordSourceTypeEnum.cjs');
|
|
30
31
|
require('../models/ProviderEntryPointVersionEnum.cjs');
|
|
31
32
|
require('../models/ProviderKernelVersionEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/WaasWalletShareSetType.cjs');
|
|
34
34
|
require('../models/WalletProviderEnum.cjs');
|
|
35
35
|
require('../models/MfaBackupCodeAcknowledgement.cjs');
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -3,6 +3,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
3
3
|
import '../models/BusinessAccountMemberRole.js';
|
|
4
4
|
import '../models/UserIdentifierTypeEnum.js';
|
|
5
5
|
import '../models/BusinessAccountSignerType.js';
|
|
6
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
6
7
|
import '../models/ChainEnum.js';
|
|
7
8
|
import '../models/FlowSourceTypeEnum.js';
|
|
8
9
|
import '../models/AttestationConveyancePreference.js';
|
|
@@ -25,7 +26,6 @@ import '../models/HardwareWalletEnum.js';
|
|
|
25
26
|
import '../models/PasswordSourceTypeEnum.js';
|
|
26
27
|
import '../models/ProviderEntryPointVersionEnum.js';
|
|
27
28
|
import '../models/ProviderKernelVersionEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/WaasWalletShareSetType.js';
|
|
30
30
|
import '../models/WalletProviderEnum.js';
|
|
31
31
|
import '../models/MfaBackupCodeAcknowledgement.js';
|
package/src/index.cjs
CHANGED
|
@@ -220,6 +220,7 @@ var InlineObject1 = require('./models/InlineObject1.cjs');
|
|
|
220
220
|
var InlineObject2 = require('./models/InlineObject2.cjs');
|
|
221
221
|
var InlineObject3 = require('./models/InlineObject3.cjs');
|
|
222
222
|
var InlineObject4 = require('./models/InlineObject4.cjs');
|
|
223
|
+
var InlineObject5 = require('./models/InlineObject5.cjs');
|
|
223
224
|
var InlineResponse200 = require('./models/InlineResponse200.cjs');
|
|
224
225
|
var InlineResponse2001 = require('./models/InlineResponse2001.cjs');
|
|
225
226
|
var InlineResponse2001AllowedPrograms = require('./models/InlineResponse2001AllowedPrograms.cjs');
|
|
@@ -1406,6 +1407,9 @@ Object.defineProperty(exports, 'InlineObject4NetworkEnum', {
|
|
|
1406
1407
|
get: function () { return InlineObject4.InlineObject4NetworkEnum; }
|
|
1407
1408
|
});
|
|
1408
1409
|
exports.InlineObject4ToJSON = InlineObject4.InlineObject4ToJSON;
|
|
1410
|
+
exports.InlineObject5FromJSON = InlineObject5.InlineObject5FromJSON;
|
|
1411
|
+
exports.InlineObject5FromJSONTyped = InlineObject5.InlineObject5FromJSONTyped;
|
|
1412
|
+
exports.InlineObject5ToJSON = InlineObject5.InlineObject5ToJSON;
|
|
1409
1413
|
exports.InlineResponse200FromJSON = InlineResponse200.InlineResponse200FromJSON;
|
|
1410
1414
|
exports.InlineResponse200FromJSONTyped = InlineResponse200.InlineResponse200FromJSONTyped;
|
|
1411
1415
|
exports.InlineResponse200ToJSON = InlineResponse200.InlineResponse200ToJSON;
|
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
|
@@ -216,6 +216,7 @@ export { InlineObject1FromJSON, InlineObject1FromJSONTyped, InlineObject1Network
|
|
|
216
216
|
export { InlineObject2FromJSON, InlineObject2FromJSONTyped, InlineObject2NetworkEnum, InlineObject2ToJSON } from './models/InlineObject2.js';
|
|
217
217
|
export { InlineObject3FromJSON, InlineObject3FromJSONTyped, InlineObject3NetworkEnum, InlineObject3ToJSON } from './models/InlineObject3.js';
|
|
218
218
|
export { InlineObject4FromJSON, InlineObject4FromJSONTyped, InlineObject4NetworkEnum, InlineObject4ToJSON } from './models/InlineObject4.js';
|
|
219
|
+
export { InlineObject5FromJSON, InlineObject5FromJSONTyped, InlineObject5ToJSON } from './models/InlineObject5.js';
|
|
219
220
|
export { InlineResponse200FromJSON, InlineResponse200FromJSONTyped, InlineResponse200ToJSON } from './models/InlineResponse200.js';
|
|
220
221
|
export { InlineResponse2001FromJSON, InlineResponse2001FromJSONTyped, InlineResponse2001ToJSON } from './models/InlineResponse2001.js';
|
|
221
222
|
export { InlineResponse2001AllowedProgramsFromJSON, InlineResponse2001AllowedProgramsFromJSONTyped, InlineResponse2001AllowedProgramsToJSON } from './models/InlineResponse2001AllowedPrograms.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var BusinessAccountSignerType = require('./BusinessAccountSignerType.cjs');
|
|
7
|
+
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
7
8
|
var UserIdentifierTypeEnum = require('./UserIdentifierTypeEnum.cjs');
|
|
8
9
|
|
|
9
10
|
/* tslint:disable */
|
|
@@ -19,6 +20,9 @@ function AddBusinessAccountSignerSdkRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
19
20
|
'userId': !runtime.exists(json, 'userId') ? undefined : json['userId'],
|
|
20
21
|
'identifier': !runtime.exists(json, 'identifier') ? undefined : json['identifier'],
|
|
21
22
|
'type': !runtime.exists(json, 'type') ? undefined : UserIdentifierTypeEnum.UserIdentifierTypeEnumFromJSON(json['type']),
|
|
23
|
+
'clientKeygenIds': json['clientKeygenIds'],
|
|
24
|
+
'oldThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['oldThresholdSignatureScheme']),
|
|
25
|
+
'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
28
|
function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
@@ -33,6 +37,9 @@ function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
|
33
37
|
'userId': value.userId,
|
|
34
38
|
'identifier': value.identifier,
|
|
35
39
|
'type': UserIdentifierTypeEnum.UserIdentifierTypeEnumToJSON(value.type),
|
|
40
|
+
'clientKeygenIds': value.clientKeygenIds,
|
|
41
|
+
'oldThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.oldThresholdSignatureScheme),
|
|
42
|
+
'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
|
|
36
43
|
};
|
|
37
44
|
}
|
|
38
45
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddBusinessAccountSignerSdkRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/AddBusinessAccountSignerSdkRequest.ts"],"sourcesContent":null,"names":["BusinessAccountSignerTypeFromJSON","exists","UserIdentifierTypeEnumFromJSON","BusinessAccountSignerTypeToJSON","UserIdentifierTypeEnumToJSON"],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddBusinessAccountSignerSdkRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/AddBusinessAccountSignerSdkRequest.ts"],"sourcesContent":null,"names":["BusinessAccountSignerTypeFromJSON","exists","UserIdentifierTypeEnumFromJSON","ThresholdSignatureSchemeFromJSON","BusinessAccountSignerTypeToJSON","UserIdentifierTypeEnumToJSON","ThresholdSignatureSchemeToJSON"],"mappings":";;;;;;;;;AAAA;AAqFM,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,I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CAAC,2BAA2B,CAAC;KACnG,CAAC;AACN;;;;;;"}
|
|
@@ -10,9 +10,11 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { BusinessAccountSignerType } from './BusinessAccountSignerType';
|
|
13
|
+
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
13
14
|
import { UserIdentifierTypeEnum } from './UserIdentifierTypeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* SDK addSigner body. Same user resolution shape as addMember (userId OR identifier + type), plus `signerType` for the signer-role enum (endUser/server). `type` here is the user-resolution type, NOT the signer type — `signerType` lives on a dedicated field.
|
|
17
|
+
* The remaining fields parameterise the reshare ceremony that runs after the pending signer row is written. `clientKeygenIds` come from the caller's local MPC state; the threshold scheme fields describe the source share set (old) and the destination share set (new) that the ceremony produces.
|
|
16
18
|
* @export
|
|
17
19
|
* @interface AddBusinessAccountSignerSdkRequest
|
|
18
20
|
*/
|
|
@@ -41,6 +43,24 @@ export interface AddBusinessAccountSignerSdkRequest {
|
|
|
41
43
|
* @memberof AddBusinessAccountSignerSdkRequest
|
|
42
44
|
*/
|
|
43
45
|
type?: UserIdentifierTypeEnum;
|
|
46
|
+
/**
|
|
47
|
+
* Caller's MPC keygen IDs participating in the reshare.
|
|
48
|
+
* @type {Array<string>}
|
|
49
|
+
* @memberof AddBusinessAccountSignerSdkRequest
|
|
50
|
+
*/
|
|
51
|
+
clientKeygenIds: Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {ThresholdSignatureScheme}
|
|
55
|
+
* @memberof AddBusinessAccountSignerSdkRequest
|
|
56
|
+
*/
|
|
57
|
+
oldThresholdSignatureScheme: ThresholdSignatureScheme;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {ThresholdSignatureScheme}
|
|
61
|
+
* @memberof AddBusinessAccountSignerSdkRequest
|
|
62
|
+
*/
|
|
63
|
+
newThresholdSignatureScheme: ThresholdSignatureScheme;
|
|
44
64
|
}
|
|
45
65
|
export declare function AddBusinessAccountSignerSdkRequestFromJSON(json: any): AddBusinessAccountSignerSdkRequest;
|
|
46
66
|
export declare function AddBusinessAccountSignerSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddBusinessAccountSignerSdkRequest;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { BusinessAccountSignerTypeFromJSON, BusinessAccountSignerTypeToJSON } from './BusinessAccountSignerType.js';
|
|
3
|
+
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
3
4
|
import { UserIdentifierTypeEnumFromJSON, UserIdentifierTypeEnumToJSON } from './UserIdentifierTypeEnum.js';
|
|
4
5
|
|
|
5
6
|
/* tslint:disable */
|
|
@@ -15,6 +16,9 @@ function AddBusinessAccountSignerSdkRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
15
16
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
16
17
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
|
17
18
|
'type': !exists(json, 'type') ? undefined : UserIdentifierTypeEnumFromJSON(json['type']),
|
|
19
|
+
'clientKeygenIds': json['clientKeygenIds'],
|
|
20
|
+
'oldThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['oldThresholdSignatureScheme']),
|
|
21
|
+
'newThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
|
|
18
22
|
};
|
|
19
23
|
}
|
|
20
24
|
function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
@@ -29,6 +33,9 @@ function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
|
29
33
|
'userId': value.userId,
|
|
30
34
|
'identifier': value.identifier,
|
|
31
35
|
'type': UserIdentifierTypeEnumToJSON(value.type),
|
|
36
|
+
'clientKeygenIds': value.clientKeygenIds,
|
|
37
|
+
'oldThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.oldThresholdSignatureScheme),
|
|
38
|
+
'newThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
|
|
32
39
|
};
|
|
33
40
|
}
|
|
34
41
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddBusinessAccountSignerSdkRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/AddBusinessAccountSignerSdkRequest.ts"],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddBusinessAccountSignerSdkRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/AddBusinessAccountSignerSdkRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;AAAA;AAqFM,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;AAEH,QAAA,YAAY,EAAE,iCAAiC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AACnE,QAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC9D,QAAA,YAAY,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QAC1E,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,8BAA8B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACxF,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;KACvG,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;AAEH,QAAA,YAAY,EAAE,+BAA+B,CAAC,KAAK,CAAC,UAAU,CAAC;QAC/D,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,MAAM,EAAE,4BAA4B,CAAC,KAAK,CAAC,IAAI,CAAC;QAChD,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;KACnG,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function InlineObject5FromJSON(json) {
|
|
9
|
+
return InlineObject5FromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function InlineObject5FromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'walletId': json['walletId'],
|
|
17
|
+
'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function InlineObject5ToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'walletId': value.walletId,
|
|
29
|
+
'businessAccountId': value.businessAccountId,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.InlineObject5FromJSON = InlineObject5FromJSON;
|
|
34
|
+
exports.InlineObject5FromJSONTyped = InlineObject5FromJSONTyped;
|
|
35
|
+
exports.InlineObject5ToJSON = InlineObject5ToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineObject5.cjs","sources":["../../../../../libs/sdk-api-core/src/models/InlineObject5.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AAmCM,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,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,mBAAmB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,mBAAmB,CAAC;KAClG,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,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;KAC/C,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InlineObject5
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject5 {
|
|
18
|
+
/**
|
|
19
|
+
* The existing wallet (Wallets.id) to add.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject5
|
|
22
|
+
*/
|
|
23
|
+
walletId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Target business account. Omit to find-or-create the per-wallet business account.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject5
|
|
28
|
+
*/
|
|
29
|
+
businessAccountId?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function InlineObject5FromJSON(json: any): InlineObject5;
|
|
32
|
+
export declare function InlineObject5FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject5;
|
|
33
|
+
export declare function InlineObject5ToJSON(value?: InlineObject5 | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function InlineObject5FromJSON(json) {
|
|
5
|
+
return InlineObject5FromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function InlineObject5FromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'walletId': json['walletId'],
|
|
13
|
+
'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function InlineObject5ToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'walletId': value.walletId,
|
|
25
|
+
'businessAccountId': value.businessAccountId,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { InlineObject5FromJSON, InlineObject5FromJSONTyped, InlineObject5ToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineObject5.js","sources":["../../../../../libs/sdk-api-core/src/models/InlineObject5.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAmCM,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,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,mBAAmB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,mBAAmB,CAAC;KAClG,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,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;KAC/C,CAAC;AACN;;;;"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -213,6 +213,7 @@ export * from './InlineObject1';
|
|
|
213
213
|
export * from './InlineObject2';
|
|
214
214
|
export * from './InlineObject3';
|
|
215
215
|
export * from './InlineObject4';
|
|
216
|
+
export * from './InlineObject5';
|
|
216
217
|
export * from './InlineResponse200';
|
|
217
218
|
export * from './InlineResponse2001';
|
|
218
219
|
export * from './InlineResponse2001AllowedPrograms';
|