@dynamic-labs/sdk-api 0.0.735 → 0.0.736

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 (89) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +1 -0
  3. package/src/apis/AllowlistsApi.js +1 -0
  4. package/src/apis/AnalyticsApi.cjs +1 -0
  5. package/src/apis/AnalyticsApi.js +1 -0
  6. package/src/apis/ChainalysisApi.cjs +1 -0
  7. package/src/apis/ChainalysisApi.js +1 -0
  8. package/src/apis/ChainsApi.cjs +1 -0
  9. package/src/apis/ChainsApi.js +1 -0
  10. package/src/apis/CustomFieldsApi.cjs +1 -0
  11. package/src/apis/CustomFieldsApi.js +1 -0
  12. package/src/apis/CustomHostnamesApi.cjs +1 -0
  13. package/src/apis/CustomHostnamesApi.js +1 -0
  14. package/src/apis/CustomNetworksApi.cjs +1 -0
  15. package/src/apis/CustomNetworksApi.js +1 -0
  16. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  17. package/src/apis/DeeplinkUrlsApi.js +1 -0
  18. package/src/apis/EnvironmentsApi.cjs +1 -0
  19. package/src/apis/EnvironmentsApi.js +1 -0
  20. package/src/apis/EventsApi.cjs +1 -0
  21. package/src/apis/EventsApi.js +1 -0
  22. package/src/apis/ExportsApi.cjs +1 -0
  23. package/src/apis/ExportsApi.js +1 -0
  24. package/src/apis/ExternalJwtApi.cjs +1 -0
  25. package/src/apis/ExternalJwtApi.js +1 -0
  26. package/src/apis/GatesApi.cjs +1 -0
  27. package/src/apis/GatesApi.js +1 -0
  28. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  29. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  30. package/src/apis/GlobalWalletConnectionsApi.cjs +142 -0
  31. package/src/apis/GlobalWalletConnectionsApi.d.ts +41 -0
  32. package/src/apis/GlobalWalletConnectionsApi.js +138 -0
  33. package/src/apis/GlobalWalletsApi.cjs +1 -0
  34. package/src/apis/GlobalWalletsApi.js +1 -0
  35. package/src/apis/InvitesApi.cjs +1 -0
  36. package/src/apis/InvitesApi.js +1 -0
  37. package/src/apis/MembersApi.cjs +1 -0
  38. package/src/apis/MembersApi.js +1 -0
  39. package/src/apis/MfaSettingsApi.cjs +1 -0
  40. package/src/apis/MfaSettingsApi.js +1 -0
  41. package/src/apis/NameServicesApi.cjs +1 -0
  42. package/src/apis/NameServicesApi.js +1 -0
  43. package/src/apis/OrganizationsApi.cjs +1 -0
  44. package/src/apis/OrganizationsApi.js +1 -0
  45. package/src/apis/OriginsApi.cjs +1 -0
  46. package/src/apis/OriginsApi.js +1 -0
  47. package/src/apis/ProjectsApi.cjs +1 -0
  48. package/src/apis/ProjectsApi.js +1 -0
  49. package/src/apis/SDKApi.cjs +138 -0
  50. package/src/apis/SDKApi.d.ts +48 -1
  51. package/src/apis/SDKApi.js +138 -0
  52. package/src/apis/SDKViewsApi.cjs +1 -0
  53. package/src/apis/SDKViewsApi.js +1 -0
  54. package/src/apis/SessionsApi.cjs +1 -0
  55. package/src/apis/SessionsApi.js +1 -0
  56. package/src/apis/SettingsApi.cjs +1 -0
  57. package/src/apis/SettingsApi.js +1 -0
  58. package/src/apis/TestAccountApi.cjs +1 -0
  59. package/src/apis/TestAccountApi.js +1 -0
  60. package/src/apis/TokensApi.cjs +1 -0
  61. package/src/apis/TokensApi.js +1 -0
  62. package/src/apis/UserApiTokensApi.cjs +1 -0
  63. package/src/apis/UserApiTokensApi.js +1 -0
  64. package/src/apis/UsersApi.cjs +1 -0
  65. package/src/apis/UsersApi.js +1 -0
  66. package/src/apis/VisitsApi.cjs +1 -0
  67. package/src/apis/VisitsApi.js +1 -0
  68. package/src/apis/WaasApi.cjs +1 -0
  69. package/src/apis/WaasApi.js +1 -0
  70. package/src/apis/WalletsApi.cjs +1 -0
  71. package/src/apis/WalletsApi.js +1 -0
  72. package/src/apis/WebhooksApi.cjs +1 -0
  73. package/src/apis/WebhooksApi.js +1 -0
  74. package/src/apis/index.d.ts +1 -0
  75. package/src/index.cjs +22 -0
  76. package/src/index.js +4 -0
  77. package/src/models/GlobalWalletConnection.cjs +48 -0
  78. package/src/models/GlobalWalletConnection.d.ts +70 -0
  79. package/src/models/GlobalWalletConnection.js +42 -0
  80. package/src/models/GlobalWalletConnectionCreateRequest.cjs +45 -0
  81. package/src/models/GlobalWalletConnectionCreateRequest.d.ts +33 -0
  82. package/src/models/GlobalWalletConnectionCreateRequest.js +39 -0
  83. package/src/models/GlobalWalletConnectionStatusEnum.cjs +40 -0
  84. package/src/models/GlobalWalletConnectionStatusEnum.d.ts +23 -0
  85. package/src/models/GlobalWalletConnectionStatusEnum.js +34 -0
  86. package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
  87. package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
  88. package/src/models/UnprocessableEntityErrorCode.js +1 -0
  89. package/src/models/index.d.ts +3 -0
@@ -67,6 +67,7 @@ require('../models/PasskeyCredentialHint.cjs');
67
67
  require('../models/PasskeyCredentialType.cjs');
68
68
  require('../models/PublicKeyCredentialType.cjs');
69
69
  require('../models/GlobalWalletAccessControlTypeEnum.cjs');
70
+ require('../models/GlobalWalletConnectionStatusEnum.cjs');
70
71
  require('../models/HealthcheckStatus.cjs');
71
72
  require('../models/InviteStatusEnum.cjs');
72
73
  require('../models/RoleEnum.cjs');
@@ -63,6 +63,7 @@ import '../models/PasskeyCredentialHint.js';
63
63
  import '../models/PasskeyCredentialType.js';
64
64
  import '../models/PublicKeyCredentialType.js';
65
65
  import '../models/GlobalWalletAccessControlTypeEnum.js';
66
+ import '../models/GlobalWalletConnectionStatusEnum.js';
66
67
  import '../models/HealthcheckStatus.js';
67
68
  import '../models/InviteStatusEnum.js';
68
69
  import '../models/RoleEnum.js';
@@ -67,6 +67,7 @@ require('../models/PasskeyCredentialHint.cjs');
67
67
  require('../models/PasskeyCredentialType.cjs');
68
68
  require('../models/PublicKeyCredentialType.cjs');
69
69
  require('../models/GlobalWalletAccessControlTypeEnum.cjs');
70
+ require('../models/GlobalWalletConnectionStatusEnum.cjs');
70
71
  require('../models/HealthcheckStatus.cjs');
71
72
  var InternalBulkUpdateUserFields = require('../models/InternalBulkUpdateUserFields.cjs');
72
73
  var InternalUpdatableUserFields = require('../models/InternalUpdatableUserFields.cjs');
@@ -63,6 +63,7 @@ import '../models/PasskeyCredentialHint.js';
63
63
  import '../models/PasskeyCredentialType.js';
64
64
  import '../models/PublicKeyCredentialType.js';
65
65
  import '../models/GlobalWalletAccessControlTypeEnum.js';
66
+ import '../models/GlobalWalletConnectionStatusEnum.js';
66
67
  import '../models/HealthcheckStatus.js';
67
68
  import { InternalBulkUpdateUserFieldsToJSON } from '../models/InternalBulkUpdateUserFields.js';
68
69
  import { InternalUpdatableUserFieldsToJSON } from '../models/InternalUpdatableUserFields.js';
@@ -66,6 +66,7 @@ require('../models/PasskeyCredentialHint.cjs');
66
66
  require('../models/PasskeyCredentialType.cjs');
67
67
  require('../models/PublicKeyCredentialType.cjs');
68
68
  require('../models/GlobalWalletAccessControlTypeEnum.cjs');
69
+ require('../models/GlobalWalletConnectionStatusEnum.cjs');
69
70
  require('../models/HealthcheckStatus.cjs');
70
71
  require('../models/InviteStatusEnum.cjs');
71
72
  require('../models/RoleEnum.cjs');
@@ -62,6 +62,7 @@ import '../models/PasskeyCredentialHint.js';
62
62
  import '../models/PasskeyCredentialType.js';
63
63
  import '../models/PublicKeyCredentialType.js';
64
64
  import '../models/GlobalWalletAccessControlTypeEnum.js';
65
+ import '../models/GlobalWalletConnectionStatusEnum.js';
65
66
  import '../models/HealthcheckStatus.js';
66
67
  import '../models/InviteStatusEnum.js';
67
68
  import '../models/RoleEnum.js';
@@ -66,6 +66,7 @@ require('../models/PasskeyCredentialHint.cjs');
66
66
  require('../models/PasskeyCredentialType.cjs');
67
67
  require('../models/PublicKeyCredentialType.cjs');
68
68
  require('../models/GlobalWalletAccessControlTypeEnum.cjs');
69
+ require('../models/GlobalWalletConnectionStatusEnum.cjs');
69
70
  require('../models/HealthcheckStatus.cjs');
70
71
  require('../models/InviteStatusEnum.cjs');
71
72
  require('../models/RoleEnum.cjs');
@@ -62,6 +62,7 @@ import '../models/PasskeyCredentialHint.js';
62
62
  import '../models/PasskeyCredentialType.js';
63
63
  import '../models/PublicKeyCredentialType.js';
64
64
  import '../models/GlobalWalletAccessControlTypeEnum.js';
65
+ import '../models/GlobalWalletConnectionStatusEnum.js';
65
66
  import '../models/HealthcheckStatus.js';
66
67
  import '../models/InviteStatusEnum.js';
67
68
  import '../models/RoleEnum.js';
@@ -69,6 +69,7 @@ require('../models/PasskeyCredentialHint.cjs');
69
69
  require('../models/PasskeyCredentialType.cjs');
70
70
  require('../models/PublicKeyCredentialType.cjs');
71
71
  require('../models/GlobalWalletAccessControlTypeEnum.cjs');
72
+ require('../models/GlobalWalletConnectionStatusEnum.cjs');
72
73
  require('../models/HealthcheckStatus.cjs');
73
74
  require('../models/InviteStatusEnum.cjs');
74
75
  require('../models/RoleEnum.cjs');
@@ -65,6 +65,7 @@ import '../models/PasskeyCredentialHint.js';
65
65
  import '../models/PasskeyCredentialType.js';
66
66
  import '../models/PublicKeyCredentialType.js';
67
67
  import '../models/GlobalWalletAccessControlTypeEnum.js';
68
+ import '../models/GlobalWalletConnectionStatusEnum.js';
68
69
  import '../models/HealthcheckStatus.js';
69
70
  import '../models/InviteStatusEnum.js';
70
71
  import '../models/RoleEnum.js';
@@ -66,6 +66,7 @@ require('../models/PasskeyCredentialHint.cjs');
66
66
  require('../models/PasskeyCredentialType.cjs');
67
67
  require('../models/PublicKeyCredentialType.cjs');
68
68
  require('../models/GlobalWalletAccessControlTypeEnum.cjs');
69
+ require('../models/GlobalWalletConnectionStatusEnum.cjs');
69
70
  require('../models/HealthcheckStatus.cjs');
70
71
  require('../models/InviteStatusEnum.cjs');
71
72
  require('../models/RoleEnum.cjs');
@@ -62,6 +62,7 @@ import '../models/PasskeyCredentialHint.js';
62
62
  import '../models/PasskeyCredentialType.js';
63
63
  import '../models/PublicKeyCredentialType.js';
64
64
  import '../models/GlobalWalletAccessControlTypeEnum.js';
65
+ import '../models/GlobalWalletConnectionStatusEnum.js';
65
66
  import '../models/HealthcheckStatus.js';
66
67
  import '../models/InviteStatusEnum.js';
67
68
  import '../models/RoleEnum.js';
@@ -12,6 +12,7 @@ export * from './ExportsApi';
12
12
  export * from './ExternalJwtApi';
13
13
  export * from './GatesApi';
14
14
  export * from './GlobalWalletAccessControlApi';
15
+ export * from './GlobalWalletConnectionsApi';
15
16
  export * from './GlobalWalletsApi';
16
17
  export * from './InvitesApi';
17
18
  export * from './MembersApi';
package/src/index.cjs CHANGED
@@ -17,6 +17,7 @@ var ExportsApi = require('./apis/ExportsApi.cjs');
17
17
  var ExternalJwtApi = require('./apis/ExternalJwtApi.cjs');
18
18
  var GatesApi = require('./apis/GatesApi.cjs');
19
19
  var GlobalWalletAccessControlApi = require('./apis/GlobalWalletAccessControlApi.cjs');
20
+ var GlobalWalletConnectionsApi = require('./apis/GlobalWalletConnectionsApi.cjs');
20
21
  var GlobalWalletsApi = require('./apis/GlobalWalletsApi.cjs');
21
22
  var InvitesApi = require('./apis/InvitesApi.cjs');
22
23
  var MembersApi = require('./apis/MembersApi.cjs');
@@ -217,6 +218,9 @@ var GlobalWalletAccessControlDomainResponse = require('./models/GlobalWalletAcce
217
218
  var GlobalWalletAccessControlResponse = require('./models/GlobalWalletAccessControlResponse.cjs');
218
219
  var GlobalWalletAccessControlTypeEnum = require('./models/GlobalWalletAccessControlTypeEnum.cjs');
219
220
  var GlobalWalletAccessControlUpdateRequest = require('./models/GlobalWalletAccessControlUpdateRequest.cjs');
221
+ var GlobalWalletConnection = require('./models/GlobalWalletConnection.cjs');
222
+ var GlobalWalletConnectionCreateRequest = require('./models/GlobalWalletConnectionCreateRequest.cjs');
223
+ var GlobalWalletConnectionStatusEnum = require('./models/GlobalWalletConnectionStatusEnum.cjs');
220
224
  var GlobalWalletSettings = require('./models/GlobalWalletSettings.cjs');
221
225
  var GlobalWalletSettingsCreateRequest = require('./models/GlobalWalletSettingsCreateRequest.cjs');
222
226
  var GlobalWalletSettingsCreateRequestCustomMenuLinks = require('./models/GlobalWalletSettingsCreateRequestCustomMenuLinks.cjs');
@@ -571,6 +575,11 @@ exports.ExportsApi = ExportsApi.ExportsApi;
571
575
  exports.ExternalJwtApi = ExternalJwtApi.ExternalJwtApi;
572
576
  exports.GatesApi = GatesApi.GatesApi;
573
577
  exports.GlobalWalletAccessControlApi = GlobalWalletAccessControlApi.GlobalWalletAccessControlApi;
578
+ Object.defineProperty(exports, 'GetGlobalWalletConnectionsStatusEnum', {
579
+ enumerable: true,
580
+ get: function () { return GlobalWalletConnectionsApi.GetGlobalWalletConnectionsStatusEnum; }
581
+ });
582
+ exports.GlobalWalletConnectionsApi = GlobalWalletConnectionsApi.GlobalWalletConnectionsApi;
574
583
  exports.GlobalWalletsApi = GlobalWalletsApi.GlobalWalletsApi;
575
584
  exports.InvitesApi = InvitesApi.InvitesApi;
576
585
  exports.MembersApi = MembersApi.MembersApi;
@@ -1249,6 +1258,19 @@ exports.GlobalWalletAccessControlTypeEnumToJSON = GlobalWalletAccessControlTypeE
1249
1258
  exports.GlobalWalletAccessControlUpdateRequestFromJSON = GlobalWalletAccessControlUpdateRequest.GlobalWalletAccessControlUpdateRequestFromJSON;
1250
1259
  exports.GlobalWalletAccessControlUpdateRequestFromJSONTyped = GlobalWalletAccessControlUpdateRequest.GlobalWalletAccessControlUpdateRequestFromJSONTyped;
1251
1260
  exports.GlobalWalletAccessControlUpdateRequestToJSON = GlobalWalletAccessControlUpdateRequest.GlobalWalletAccessControlUpdateRequestToJSON;
1261
+ exports.GlobalWalletConnectionFromJSON = GlobalWalletConnection.GlobalWalletConnectionFromJSON;
1262
+ exports.GlobalWalletConnectionFromJSONTyped = GlobalWalletConnection.GlobalWalletConnectionFromJSONTyped;
1263
+ exports.GlobalWalletConnectionToJSON = GlobalWalletConnection.GlobalWalletConnectionToJSON;
1264
+ exports.GlobalWalletConnectionCreateRequestFromJSON = GlobalWalletConnectionCreateRequest.GlobalWalletConnectionCreateRequestFromJSON;
1265
+ exports.GlobalWalletConnectionCreateRequestFromJSONTyped = GlobalWalletConnectionCreateRequest.GlobalWalletConnectionCreateRequestFromJSONTyped;
1266
+ exports.GlobalWalletConnectionCreateRequestToJSON = GlobalWalletConnectionCreateRequest.GlobalWalletConnectionCreateRequestToJSON;
1267
+ Object.defineProperty(exports, 'GlobalWalletConnectionStatusEnum', {
1268
+ enumerable: true,
1269
+ get: function () { return GlobalWalletConnectionStatusEnum.GlobalWalletConnectionStatusEnum; }
1270
+ });
1271
+ exports.GlobalWalletConnectionStatusEnumFromJSON = GlobalWalletConnectionStatusEnum.GlobalWalletConnectionStatusEnumFromJSON;
1272
+ exports.GlobalWalletConnectionStatusEnumFromJSONTyped = GlobalWalletConnectionStatusEnum.GlobalWalletConnectionStatusEnumFromJSONTyped;
1273
+ exports.GlobalWalletConnectionStatusEnumToJSON = GlobalWalletConnectionStatusEnum.GlobalWalletConnectionStatusEnumToJSON;
1252
1274
  exports.GlobalWalletSettingsFromJSON = GlobalWalletSettings.GlobalWalletSettingsFromJSON;
1253
1275
  exports.GlobalWalletSettingsFromJSONTyped = GlobalWalletSettings.GlobalWalletSettingsFromJSONTyped;
1254
1276
  exports.GlobalWalletSettingsToJSON = GlobalWalletSettings.GlobalWalletSettingsToJSON;
package/src/index.js CHANGED
@@ -13,6 +13,7 @@ export { ExportsApi } from './apis/ExportsApi.js';
13
13
  export { ExternalJwtApi } from './apis/ExternalJwtApi.js';
14
14
  export { GatesApi } from './apis/GatesApi.js';
15
15
  export { GlobalWalletAccessControlApi } from './apis/GlobalWalletAccessControlApi.js';
16
+ export { GetGlobalWalletConnectionsStatusEnum, GlobalWalletConnectionsApi } from './apis/GlobalWalletConnectionsApi.js';
16
17
  export { GlobalWalletsApi } from './apis/GlobalWalletsApi.js';
17
18
  export { InvitesApi } from './apis/InvitesApi.js';
18
19
  export { MembersApi } from './apis/MembersApi.js';
@@ -213,6 +214,9 @@ export { GlobalWalletAccessControlDomainResponseFromJSON, GlobalWalletAccessCont
213
214
  export { GlobalWalletAccessControlResponseFromJSON, GlobalWalletAccessControlResponseFromJSONTyped, GlobalWalletAccessControlResponseToJSON } from './models/GlobalWalletAccessControlResponse.js';
214
215
  export { GlobalWalletAccessControlTypeEnum, GlobalWalletAccessControlTypeEnumFromJSON, GlobalWalletAccessControlTypeEnumFromJSONTyped, GlobalWalletAccessControlTypeEnumToJSON } from './models/GlobalWalletAccessControlTypeEnum.js';
215
216
  export { GlobalWalletAccessControlUpdateRequestFromJSON, GlobalWalletAccessControlUpdateRequestFromJSONTyped, GlobalWalletAccessControlUpdateRequestToJSON } from './models/GlobalWalletAccessControlUpdateRequest.js';
217
+ export { GlobalWalletConnectionFromJSON, GlobalWalletConnectionFromJSONTyped, GlobalWalletConnectionToJSON } from './models/GlobalWalletConnection.js';
218
+ export { GlobalWalletConnectionCreateRequestFromJSON, GlobalWalletConnectionCreateRequestFromJSONTyped, GlobalWalletConnectionCreateRequestToJSON } from './models/GlobalWalletConnectionCreateRequest.js';
219
+ export { GlobalWalletConnectionStatusEnum, GlobalWalletConnectionStatusEnumFromJSON, GlobalWalletConnectionStatusEnumFromJSONTyped, GlobalWalletConnectionStatusEnumToJSON } from './models/GlobalWalletConnectionStatusEnum.js';
216
220
  export { GlobalWalletSettingsFromJSON, GlobalWalletSettingsFromJSONTyped, GlobalWalletSettingsToJSON } from './models/GlobalWalletSettings.js';
217
221
  export { GlobalWalletSettingsCreateRequestFromJSON, GlobalWalletSettingsCreateRequestFromJSONTyped, GlobalWalletSettingsCreateRequestToJSON } from './models/GlobalWalletSettingsCreateRequest.js';
218
222
  export { GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON, GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped, GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON } from './models/GlobalWalletSettingsCreateRequestCustomMenuLinks.js';
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var GlobalWalletConnectionStatusEnum = require('./GlobalWalletConnectionStatusEnum.cjs');
7
+
8
+ /* tslint:disable */
9
+ function GlobalWalletConnectionFromJSON(json) {
10
+ return GlobalWalletConnectionFromJSONTyped(json);
11
+ }
12
+ function GlobalWalletConnectionFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'id': json['id'],
18
+ 'userId': json['userId'],
19
+ 'connectionId': json['connectionId'],
20
+ 'appUrl': json['appUrl'],
21
+ 'status': GlobalWalletConnectionStatusEnum.GlobalWalletConnectionStatusEnumFromJSON(json['status']),
22
+ 'expiresAt': !runtime.exists(json, 'expiresAt') ? undefined : (json['expiresAt'] === null ? null : new Date(json['expiresAt'])),
23
+ 'createdAt': (new Date(json['createdAt'])),
24
+ 'updatedAt': !runtime.exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
25
+ };
26
+ }
27
+ function GlobalWalletConnectionToJSON(value) {
28
+ if (value === undefined) {
29
+ return undefined;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ 'id': value.id,
36
+ 'userId': value.userId,
37
+ 'connectionId': value.connectionId,
38
+ 'appUrl': value.appUrl,
39
+ 'status': GlobalWalletConnectionStatusEnum.GlobalWalletConnectionStatusEnumToJSON(value.status),
40
+ 'expiresAt': value.expiresAt === undefined ? undefined : (value.expiresAt === null ? null : value.expiresAt.toISOString()),
41
+ 'createdAt': (value.createdAt.toISOString()),
42
+ 'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
43
+ };
44
+ }
45
+
46
+ exports.GlobalWalletConnectionFromJSON = GlobalWalletConnectionFromJSON;
47
+ exports.GlobalWalletConnectionFromJSONTyped = GlobalWalletConnectionFromJSONTyped;
48
+ exports.GlobalWalletConnectionToJSON = GlobalWalletConnectionToJSON;
@@ -0,0 +1,70 @@
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 { GlobalWalletConnectionStatusEnum } from './GlobalWalletConnectionStatusEnum';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GlobalWalletConnection
17
+ */
18
+ export interface GlobalWalletConnection {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof GlobalWalletConnection
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GlobalWalletConnection
29
+ */
30
+ userId: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof GlobalWalletConnection
35
+ */
36
+ connectionId: string;
37
+ /**
38
+ * An [RFC 6454](https://www.rfc-editor.org/rfc/rfc6454) valid url. Must not include any paths. A single wildcard (*) can be used as the first subdomain.
39
+ * @type {string}
40
+ * @memberof GlobalWalletConnection
41
+ */
42
+ appUrl: string;
43
+ /**
44
+ *
45
+ * @type {GlobalWalletConnectionStatusEnum}
46
+ * @memberof GlobalWalletConnection
47
+ */
48
+ status: GlobalWalletConnectionStatusEnum;
49
+ /**
50
+ * If global wallet connection status is connected, then this timestamp will be present.
51
+ * @type {Date}
52
+ * @memberof GlobalWalletConnection
53
+ */
54
+ expiresAt?: Date | null;
55
+ /**
56
+ *
57
+ * @type {Date}
58
+ * @memberof GlobalWalletConnection
59
+ */
60
+ createdAt: Date;
61
+ /**
62
+ *
63
+ * @type {Date}
64
+ * @memberof GlobalWalletConnection
65
+ */
66
+ updatedAt?: Date;
67
+ }
68
+ export declare function GlobalWalletConnectionFromJSON(json: any): GlobalWalletConnection;
69
+ export declare function GlobalWalletConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletConnection;
70
+ export declare function GlobalWalletConnectionToJSON(value?: GlobalWalletConnection | null): any;
@@ -0,0 +1,42 @@
1
+ import { exists } from '../runtime.js';
2
+ import { GlobalWalletConnectionStatusEnumFromJSON, GlobalWalletConnectionStatusEnumToJSON } from './GlobalWalletConnectionStatusEnum.js';
3
+
4
+ /* tslint:disable */
5
+ function GlobalWalletConnectionFromJSON(json) {
6
+ return GlobalWalletConnectionFromJSONTyped(json);
7
+ }
8
+ function GlobalWalletConnectionFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'id': json['id'],
14
+ 'userId': json['userId'],
15
+ 'connectionId': json['connectionId'],
16
+ 'appUrl': json['appUrl'],
17
+ 'status': GlobalWalletConnectionStatusEnumFromJSON(json['status']),
18
+ 'expiresAt': !exists(json, 'expiresAt') ? undefined : (json['expiresAt'] === null ? null : new Date(json['expiresAt'])),
19
+ 'createdAt': (new Date(json['createdAt'])),
20
+ 'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
21
+ };
22
+ }
23
+ function GlobalWalletConnectionToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'id': value.id,
32
+ 'userId': value.userId,
33
+ 'connectionId': value.connectionId,
34
+ 'appUrl': value.appUrl,
35
+ 'status': GlobalWalletConnectionStatusEnumToJSON(value.status),
36
+ 'expiresAt': value.expiresAt === undefined ? undefined : (value.expiresAt === null ? null : value.expiresAt.toISOString()),
37
+ 'createdAt': (value.createdAt.toISOString()),
38
+ 'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
39
+ };
40
+ }
41
+
42
+ export { GlobalWalletConnectionFromJSON, GlobalWalletConnectionFromJSONTyped, GlobalWalletConnectionToJSON };
@@ -0,0 +1,45 @@
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 GlobalWalletConnectionCreateRequestFromJSON(json) {
19
+ return GlobalWalletConnectionCreateRequestFromJSONTyped(json);
20
+ }
21
+ function GlobalWalletConnectionCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'connectionId': json['connectionId'],
27
+ 'expiresAt': (new Date(json['expiresAt'])),
28
+ };
29
+ }
30
+ function GlobalWalletConnectionCreateRequestToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'connectionId': value.connectionId,
39
+ 'expiresAt': (value.expiresAt.toISOString()),
40
+ };
41
+ }
42
+
43
+ exports.GlobalWalletConnectionCreateRequestFromJSON = GlobalWalletConnectionCreateRequestFromJSON;
44
+ exports.GlobalWalletConnectionCreateRequestFromJSONTyped = GlobalWalletConnectionCreateRequestFromJSONTyped;
45
+ exports.GlobalWalletConnectionCreateRequestToJSON = GlobalWalletConnectionCreateRequestToJSON;
@@ -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 GlobalWalletConnectionCreateRequest
16
+ */
17
+ export interface GlobalWalletConnectionCreateRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GlobalWalletConnectionCreateRequest
22
+ */
23
+ connectionId: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof GlobalWalletConnectionCreateRequest
28
+ */
29
+ expiresAt: Date;
30
+ }
31
+ export declare function GlobalWalletConnectionCreateRequestFromJSON(json: any): GlobalWalletConnectionCreateRequest;
32
+ export declare function GlobalWalletConnectionCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletConnectionCreateRequest;
33
+ export declare function GlobalWalletConnectionCreateRequestToJSON(value?: GlobalWalletConnectionCreateRequest | null): any;
@@ -0,0 +1,39 @@
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 GlobalWalletConnectionCreateRequestFromJSON(json) {
15
+ return GlobalWalletConnectionCreateRequestFromJSONTyped(json);
16
+ }
17
+ function GlobalWalletConnectionCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'connectionId': json['connectionId'],
23
+ 'expiresAt': (new Date(json['expiresAt'])),
24
+ };
25
+ }
26
+ function GlobalWalletConnectionCreateRequestToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'connectionId': value.connectionId,
35
+ 'expiresAt': (value.expiresAt.toISOString()),
36
+ };
37
+ }
38
+
39
+ export { GlobalWalletConnectionCreateRequestFromJSON, GlobalWalletConnectionCreateRequestFromJSONTyped, GlobalWalletConnectionCreateRequestToJSON };
@@ -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.GlobalWalletConnectionStatusEnum = void 0;
24
+ (function (GlobalWalletConnectionStatusEnum) {
25
+ GlobalWalletConnectionStatusEnum["Connected"] = "connected";
26
+ GlobalWalletConnectionStatusEnum["Disconnected"] = "disconnected";
27
+ })(exports.GlobalWalletConnectionStatusEnum || (exports.GlobalWalletConnectionStatusEnum = {}));
28
+ function GlobalWalletConnectionStatusEnumFromJSON(json) {
29
+ return GlobalWalletConnectionStatusEnumFromJSONTyped(json);
30
+ }
31
+ function GlobalWalletConnectionStatusEnumFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ function GlobalWalletConnectionStatusEnumToJSON(value) {
35
+ return value;
36
+ }
37
+
38
+ exports.GlobalWalletConnectionStatusEnumFromJSON = GlobalWalletConnectionStatusEnumFromJSON;
39
+ exports.GlobalWalletConnectionStatusEnumFromJSONTyped = GlobalWalletConnectionStatusEnumFromJSONTyped;
40
+ exports.GlobalWalletConnectionStatusEnumToJSON = GlobalWalletConnectionStatusEnumToJSON;
@@ -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 GlobalWalletConnectionStatusEnum {
18
+ Connected = "connected",
19
+ Disconnected = "disconnected"
20
+ }
21
+ export declare function GlobalWalletConnectionStatusEnumFromJSON(json: any): GlobalWalletConnectionStatusEnum;
22
+ export declare function GlobalWalletConnectionStatusEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletConnectionStatusEnum;
23
+ export declare function GlobalWalletConnectionStatusEnumToJSON(value?: GlobalWalletConnectionStatusEnum | 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 GlobalWalletConnectionStatusEnum;
20
+ (function (GlobalWalletConnectionStatusEnum) {
21
+ GlobalWalletConnectionStatusEnum["Connected"] = "connected";
22
+ GlobalWalletConnectionStatusEnum["Disconnected"] = "disconnected";
23
+ })(GlobalWalletConnectionStatusEnum || (GlobalWalletConnectionStatusEnum = {}));
24
+ function GlobalWalletConnectionStatusEnumFromJSON(json) {
25
+ return GlobalWalletConnectionStatusEnumFromJSONTyped(json);
26
+ }
27
+ function GlobalWalletConnectionStatusEnumFromJSONTyped(json, ignoreDiscriminator) {
28
+ return json;
29
+ }
30
+ function GlobalWalletConnectionStatusEnumToJSON(value) {
31
+ return value;
32
+ }
33
+
34
+ export { GlobalWalletConnectionStatusEnum, GlobalWalletConnectionStatusEnumFromJSON, GlobalWalletConnectionStatusEnumFromJSONTyped, GlobalWalletConnectionStatusEnumToJSON };
@@ -134,6 +134,7 @@ exports.UnprocessableEntityErrorCode = void 0;
134
134
  UnprocessableEntityErrorCode["KeyShareAlreadyBackedUp"] = "key_share_already_backed_up";
135
135
  UnprocessableEntityErrorCode["InvalidKeySharesLength"] = "invalid_key_shares_length";
136
136
  UnprocessableEntityErrorCode["WalletServiceConnectionError"] = "wallet_service_connection_error";
137
+ UnprocessableEntityErrorCode["NoGlobalWalletFound"] = "no_global_wallet_found";
137
138
  })(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
138
139
  function UnprocessableEntityErrorCodeFromJSON(json) {
139
140
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -126,7 +126,8 @@ export declare enum UnprocessableEntityErrorCode {
126
126
  EmbeddedWalletAddressAlreadyLinked = "embedded_wallet_address_already_linked",
127
127
  KeyShareAlreadyBackedUp = "key_share_already_backed_up",
128
128
  InvalidKeySharesLength = "invalid_key_shares_length",
129
- WalletServiceConnectionError = "wallet_service_connection_error"
129
+ WalletServiceConnectionError = "wallet_service_connection_error",
130
+ NoGlobalWalletFound = "no_global_wallet_found"
130
131
  }
131
132
  export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
132
133
  export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
@@ -130,6 +130,7 @@ var UnprocessableEntityErrorCode;
130
130
  UnprocessableEntityErrorCode["KeyShareAlreadyBackedUp"] = "key_share_already_backed_up";
131
131
  UnprocessableEntityErrorCode["InvalidKeySharesLength"] = "invalid_key_shares_length";
132
132
  UnprocessableEntityErrorCode["WalletServiceConnectionError"] = "wallet_service_connection_error";
133
+ UnprocessableEntityErrorCode["NoGlobalWalletFound"] = "no_global_wallet_found";
133
134
  })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
134
135
  function UnprocessableEntityErrorCodeFromJSON(json) {
135
136
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -177,6 +177,9 @@ export * from './GlobalWalletAccessControlDomainResponse';
177
177
  export * from './GlobalWalletAccessControlResponse';
178
178
  export * from './GlobalWalletAccessControlTypeEnum';
179
179
  export * from './GlobalWalletAccessControlUpdateRequest';
180
+ export * from './GlobalWalletConnection';
181
+ export * from './GlobalWalletConnectionCreateRequest';
182
+ export * from './GlobalWalletConnectionStatusEnum';
180
183
  export * from './GlobalWalletSettings';
181
184
  export * from './GlobalWalletSettingsCreateRequest';
182
185
  export * from './GlobalWalletSettingsCreateRequestCustomMenuLinks';