@dynamic-labs/sdk-api-core 0.0.826 → 0.0.828

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.
Files changed (51) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +149 -0
  3. package/src/apis/SDKApi.d.ts +49 -1
  4. package/src/apis/SDKApi.js +149 -0
  5. package/src/apis/WaasApi.cjs +5 -0
  6. package/src/apis/WaasApi.js +5 -0
  7. package/src/index.cjs +76 -0
  8. package/src/index.js +14 -0
  9. package/src/models/CoinbaseOnrampFee.cjs +37 -0
  10. package/src/models/CoinbaseOnrampFee.d.ts +40 -0
  11. package/src/models/CoinbaseOnrampFee.js +31 -0
  12. package/src/models/CoinbaseOnrampFeeType.cjs +40 -0
  13. package/src/models/CoinbaseOnrampFeeType.d.ts +23 -0
  14. package/src/models/CoinbaseOnrampFeeType.js +34 -0
  15. package/src/models/CoinbaseOnrampOrder.cjs +66 -0
  16. package/src/models/CoinbaseOnrampOrder.d.ts +120 -0
  17. package/src/models/CoinbaseOnrampOrder.js +60 -0
  18. package/src/models/CoinbaseOnrampOrderCreateRequest.cjs +54 -0
  19. package/src/models/CoinbaseOnrampOrderCreateRequest.d.ts +88 -0
  20. package/src/models/CoinbaseOnrampOrderCreateRequest.js +48 -0
  21. package/src/models/CoinbaseOnrampOrderPaymentLinkType.cjs +39 -0
  22. package/src/models/CoinbaseOnrampOrderPaymentLinkType.d.ts +22 -0
  23. package/src/models/CoinbaseOnrampOrderPaymentLinkType.js +33 -0
  24. package/src/models/CoinbaseOnrampOrderPaymentMethod.cjs +39 -0
  25. package/src/models/CoinbaseOnrampOrderPaymentMethod.d.ts +22 -0
  26. package/src/models/CoinbaseOnrampOrderPaymentMethod.js +33 -0
  27. package/src/models/CoinbaseOnrampOrderResponse.cjs +37 -0
  28. package/src/models/CoinbaseOnrampOrderResponse.d.ts +35 -0
  29. package/src/models/CoinbaseOnrampOrderResponse.js +31 -0
  30. package/src/models/CoinbaseOnrampOrderResponsePaymentLink.cjs +35 -0
  31. package/src/models/CoinbaseOnrampOrderResponsePaymentLink.d.ts +34 -0
  32. package/src/models/CoinbaseOnrampOrderResponsePaymentLink.js +29 -0
  33. package/src/models/CoinbaseOnrampOrderStatus.cjs +43 -0
  34. package/src/models/CoinbaseOnrampOrderStatus.d.ts +26 -0
  35. package/src/models/CoinbaseOnrampOrderStatus.js +37 -0
  36. package/src/models/CreateRoomsRequest.cjs +36 -0
  37. package/src/models/CreateRoomsRequest.d.ts +34 -0
  38. package/src/models/CreateRoomsRequest.js +30 -0
  39. package/src/models/CreateRoomsResponse.cjs +43 -0
  40. package/src/models/CreateRoomsResponse.d.ts +27 -0
  41. package/src/models/CreateRoomsResponse.js +37 -0
  42. package/src/models/CreateRoomsWithoutWalletIdRequest.cjs +39 -0
  43. package/src/models/CreateRoomsWithoutWalletIdRequest.d.ts +41 -0
  44. package/src/models/CreateRoomsWithoutWalletIdRequest.js +33 -0
  45. package/src/models/CreateRoomsWithoutWalletIdResponse.cjs +43 -0
  46. package/src/models/CreateRoomsWithoutWalletIdResponse.d.ts +27 -0
  47. package/src/models/CreateRoomsWithoutWalletIdResponse.js +37 -0
  48. package/src/models/RoomTypeEnum.cjs +40 -0
  49. package/src/models/RoomTypeEnum.d.ts +23 -0
  50. package/src/models/RoomTypeEnum.js +34 -0
  51. package/src/models/index.d.ts +14 -0
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateRoomsResponse
16
+ */
17
+ export interface CreateRoomsResponse {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof CreateRoomsResponse
22
+ */
23
+ roomIds: Array<string>;
24
+ }
25
+ export declare function CreateRoomsResponseFromJSON(json: any): CreateRoomsResponse;
26
+ export declare function CreateRoomsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRoomsResponse;
27
+ export declare function CreateRoomsResponseToJSON(value?: CreateRoomsResponse | null): any;
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function CreateRoomsResponseFromJSON(json) {
15
+ return CreateRoomsResponseFromJSONTyped(json);
16
+ }
17
+ function CreateRoomsResponseFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'roomIds': json['roomIds'],
23
+ };
24
+ }
25
+ function CreateRoomsResponseToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'roomIds': value.roomIds,
34
+ };
35
+ }
36
+
37
+ export { CreateRoomsResponseFromJSON, CreateRoomsResponseFromJSONTyped, CreateRoomsResponseToJSON };
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var RoomTypeEnum = require('./RoomTypeEnum.cjs');
7
+ var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
8
+
9
+ /* tslint:disable */
10
+ function CreateRoomsWithoutWalletIdRequestFromJSON(json) {
11
+ return CreateRoomsWithoutWalletIdRequestFromJSONTyped(json);
12
+ }
13
+ function CreateRoomsWithoutWalletIdRequestFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'roomType': RoomTypeEnum.RoomTypeEnumFromJSON(json['roomType']),
19
+ 'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
20
+ 'roomCount': !runtime.exists(json, 'roomCount') ? undefined : json['roomCount'],
21
+ };
22
+ }
23
+ function CreateRoomsWithoutWalletIdRequestToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'roomType': RoomTypeEnum.RoomTypeEnumToJSON(value.roomType),
32
+ 'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
33
+ 'roomCount': value.roomCount,
34
+ };
35
+ }
36
+
37
+ exports.CreateRoomsWithoutWalletIdRequestFromJSON = CreateRoomsWithoutWalletIdRequestFromJSON;
38
+ exports.CreateRoomsWithoutWalletIdRequestFromJSONTyped = CreateRoomsWithoutWalletIdRequestFromJSONTyped;
39
+ exports.CreateRoomsWithoutWalletIdRequestToJSON = CreateRoomsWithoutWalletIdRequestToJSON;
@@ -0,0 +1,41 @@
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 { RoomTypeEnum } from './RoomTypeEnum';
13
+ import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreateRoomsWithoutWalletIdRequest
18
+ */
19
+ export interface CreateRoomsWithoutWalletIdRequest {
20
+ /**
21
+ *
22
+ * @type {RoomTypeEnum}
23
+ * @memberof CreateRoomsWithoutWalletIdRequest
24
+ */
25
+ roomType: RoomTypeEnum;
26
+ /**
27
+ *
28
+ * @type {ThresholdSignatureScheme}
29
+ * @memberof CreateRoomsWithoutWalletIdRequest
30
+ */
31
+ thresholdSignatureScheme: ThresholdSignatureScheme;
32
+ /**
33
+ * Number of rooms to create
34
+ * @type {number}
35
+ * @memberof CreateRoomsWithoutWalletIdRequest
36
+ */
37
+ roomCount?: number;
38
+ }
39
+ export declare function CreateRoomsWithoutWalletIdRequestFromJSON(json: any): CreateRoomsWithoutWalletIdRequest;
40
+ export declare function CreateRoomsWithoutWalletIdRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRoomsWithoutWalletIdRequest;
41
+ export declare function CreateRoomsWithoutWalletIdRequestToJSON(value?: CreateRoomsWithoutWalletIdRequest | null): any;
@@ -0,0 +1,33 @@
1
+ import { exists } from '../runtime.js';
2
+ import { RoomTypeEnumFromJSON, RoomTypeEnumToJSON } from './RoomTypeEnum.js';
3
+ import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
4
+
5
+ /* tslint:disable */
6
+ function CreateRoomsWithoutWalletIdRequestFromJSON(json) {
7
+ return CreateRoomsWithoutWalletIdRequestFromJSONTyped(json);
8
+ }
9
+ function CreateRoomsWithoutWalletIdRequestFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'roomType': RoomTypeEnumFromJSON(json['roomType']),
15
+ 'thresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
16
+ 'roomCount': !exists(json, 'roomCount') ? undefined : json['roomCount'],
17
+ };
18
+ }
19
+ function CreateRoomsWithoutWalletIdRequestToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'roomType': RoomTypeEnumToJSON(value.roomType),
28
+ 'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
29
+ 'roomCount': value.roomCount,
30
+ };
31
+ }
32
+
33
+ export { CreateRoomsWithoutWalletIdRequestFromJSON, CreateRoomsWithoutWalletIdRequestFromJSONTyped, CreateRoomsWithoutWalletIdRequestToJSON };
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function CreateRoomsWithoutWalletIdResponseFromJSON(json) {
19
+ return CreateRoomsWithoutWalletIdResponseFromJSONTyped(json);
20
+ }
21
+ function CreateRoomsWithoutWalletIdResponseFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'roomIds': json['roomIds'],
27
+ };
28
+ }
29
+ function CreateRoomsWithoutWalletIdResponseToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'roomIds': value.roomIds,
38
+ };
39
+ }
40
+
41
+ exports.CreateRoomsWithoutWalletIdResponseFromJSON = CreateRoomsWithoutWalletIdResponseFromJSON;
42
+ exports.CreateRoomsWithoutWalletIdResponseFromJSONTyped = CreateRoomsWithoutWalletIdResponseFromJSONTyped;
43
+ exports.CreateRoomsWithoutWalletIdResponseToJSON = CreateRoomsWithoutWalletIdResponseToJSON;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateRoomsWithoutWalletIdResponse
16
+ */
17
+ export interface CreateRoomsWithoutWalletIdResponse {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof CreateRoomsWithoutWalletIdResponse
22
+ */
23
+ roomIds: Array<string>;
24
+ }
25
+ export declare function CreateRoomsWithoutWalletIdResponseFromJSON(json: any): CreateRoomsWithoutWalletIdResponse;
26
+ export declare function CreateRoomsWithoutWalletIdResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRoomsWithoutWalletIdResponse;
27
+ export declare function CreateRoomsWithoutWalletIdResponseToJSON(value?: CreateRoomsWithoutWalletIdResponse | null): any;
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function CreateRoomsWithoutWalletIdResponseFromJSON(json) {
15
+ return CreateRoomsWithoutWalletIdResponseFromJSONTyped(json);
16
+ }
17
+ function CreateRoomsWithoutWalletIdResponseFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'roomIds': json['roomIds'],
23
+ };
24
+ }
25
+ function CreateRoomsWithoutWalletIdResponseToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'roomIds': value.roomIds,
34
+ };
35
+ }
36
+
37
+ export { CreateRoomsWithoutWalletIdResponseFromJSON, CreateRoomsWithoutWalletIdResponseFromJSONTyped, CreateRoomsWithoutWalletIdResponseToJSON };
@@ -0,0 +1,40 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ /**
19
+ *
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.RoomTypeEnum = void 0;
24
+ (function (RoomTypeEnum) {
25
+ RoomTypeEnum["Threshold"] = "threshold";
26
+ RoomTypeEnum["Full"] = "full";
27
+ })(exports.RoomTypeEnum || (exports.RoomTypeEnum = {}));
28
+ function RoomTypeEnumFromJSON(json) {
29
+ return RoomTypeEnumFromJSONTyped(json);
30
+ }
31
+ function RoomTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ function RoomTypeEnumToJSON(value) {
35
+ return value;
36
+ }
37
+
38
+ exports.RoomTypeEnumFromJSON = RoomTypeEnumFromJSON;
39
+ exports.RoomTypeEnumFromJSONTyped = RoomTypeEnumFromJSONTyped;
40
+ exports.RoomTypeEnumToJSON = RoomTypeEnumToJSON;
@@ -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
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum RoomTypeEnum {
18
+ Threshold = "threshold",
19
+ Full = "full"
20
+ }
21
+ export declare function RoomTypeEnumFromJSON(json: any): RoomTypeEnum;
22
+ export declare function RoomTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoomTypeEnum;
23
+ export declare function RoomTypeEnumToJSON(value?: RoomTypeEnum | 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
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var RoomTypeEnum;
20
+ (function (RoomTypeEnum) {
21
+ RoomTypeEnum["Threshold"] = "threshold";
22
+ RoomTypeEnum["Full"] = "full";
23
+ })(RoomTypeEnum || (RoomTypeEnum = {}));
24
+ function RoomTypeEnumFromJSON(json) {
25
+ return RoomTypeEnumFromJSONTyped(json);
26
+ }
27
+ function RoomTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
28
+ return json;
29
+ }
30
+ function RoomTypeEnumToJSON(value) {
31
+ return value;
32
+ }
33
+
34
+ export { RoomTypeEnum, RoomTypeEnumFromJSON, RoomTypeEnumFromJSONTyped, RoomTypeEnumToJSON };
@@ -31,6 +31,15 @@ export * from './BlockaidValidation';
31
31
  export * from './ChainConfiguration';
32
32
  export * from './ChainEnum';
33
33
  export * from './CoinbaseMpcWalletProperties';
34
+ export * from './CoinbaseOnrampFee';
35
+ export * from './CoinbaseOnrampFeeType';
36
+ export * from './CoinbaseOnrampOrder';
37
+ export * from './CoinbaseOnrampOrderCreateRequest';
38
+ export * from './CoinbaseOnrampOrderPaymentLinkType';
39
+ export * from './CoinbaseOnrampOrderPaymentMethod';
40
+ export * from './CoinbaseOnrampOrderResponse';
41
+ export * from './CoinbaseOnrampOrderResponsePaymentLink';
42
+ export * from './CoinbaseOnrampOrderStatus';
34
43
  export * from './CompletePasskeyRecoveryRequest';
35
44
  export * from './ConnectRequest';
36
45
  export * from './CreateEmbeddedWalletParams';
@@ -39,6 +48,10 @@ export * from './CreateEmbeddedWalletsRequest';
39
48
  export * from './CreateExchangeTransferRequest';
40
49
  export * from './CreateExchangeTransferRequestNetworkObject';
41
50
  export * from './CreateMfaToken';
51
+ export * from './CreateRoomsRequest';
52
+ export * from './CreateRoomsResponse';
53
+ export * from './CreateRoomsWithoutWalletIdRequest';
54
+ export * from './CreateRoomsWithoutWalletIdResponse';
42
55
  export * from './CreateTurnkeyEmbeddedWalletSpecificOpts';
43
56
  export * from './CreateUserEmbeddedWalletsFromFarcasterRequest';
44
57
  export * from './CreateUserEmbeddedWalletsRequest';
@@ -248,6 +261,7 @@ export * from './RegisterEmbeddedWalletSessionKeyResponse';
248
261
  export * from './RegisterSessionKeyRequest';
249
262
  export * from './ReshareRequest';
250
263
  export * from './ResidentKeyRequirement';
264
+ export * from './RoomTypeEnum';
251
265
  export * from './ScanWebsiteUrlRequest';
252
266
  export * from './ScanWebsiteUrlResponse';
253
267
  export * from './SdkSettingsRequest';