@dynamic-labs/sdk-api 0.0.1016 → 0.0.1018

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 (99) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +1 -0
  3. package/src/apis/AdminActionsApi.js +1 -0
  4. package/src/apis/AllowlistsApi.cjs +1 -0
  5. package/src/apis/AllowlistsApi.js +1 -0
  6. package/src/apis/AnalyticsApi.cjs +1 -0
  7. package/src/apis/AnalyticsApi.js +1 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +1 -0
  9. package/src/apis/AuthorizedClientsApi.js +1 -0
  10. package/src/apis/ChainalysisApi.cjs +1 -0
  11. package/src/apis/ChainalysisApi.js +1 -0
  12. package/src/apis/ChainsApi.cjs +1 -0
  13. package/src/apis/ChainsApi.js +1 -0
  14. package/src/apis/CheckoutApi.cjs +1 -0
  15. package/src/apis/CheckoutApi.js +1 -0
  16. package/src/apis/ClientGrantApi.cjs +1 -0
  17. package/src/apis/ClientGrantApi.js +1 -0
  18. package/src/apis/CustomFieldsApi.cjs +1 -0
  19. package/src/apis/CustomFieldsApi.js +1 -0
  20. package/src/apis/CustomHostnamesApi.cjs +1 -0
  21. package/src/apis/CustomHostnamesApi.js +1 -0
  22. package/src/apis/CustomNetworksApi.cjs +1 -0
  23. package/src/apis/CustomNetworksApi.js +1 -0
  24. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  25. package/src/apis/DeeplinkUrlsApi.js +1 -0
  26. package/src/apis/EnvironmentsApi.cjs +1 -0
  27. package/src/apis/EnvironmentsApi.js +1 -0
  28. package/src/apis/EventsApi.cjs +1 -0
  29. package/src/apis/EventsApi.js +1 -0
  30. package/src/apis/ExchangesApi.cjs +1 -0
  31. package/src/apis/ExchangesApi.js +1 -0
  32. package/src/apis/ExportsApi.cjs +1 -0
  33. package/src/apis/ExportsApi.js +1 -0
  34. package/src/apis/ExternalJwtApi.cjs +1 -0
  35. package/src/apis/ExternalJwtApi.js +1 -0
  36. package/src/apis/GatesApi.cjs +1 -0
  37. package/src/apis/GatesApi.js +1 -0
  38. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  39. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  40. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  41. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  42. package/src/apis/GlobalWalletsApi.cjs +1 -0
  43. package/src/apis/GlobalWalletsApi.js +1 -0
  44. package/src/apis/InvitesApi.cjs +1 -0
  45. package/src/apis/InvitesApi.js +1 -0
  46. package/src/apis/MembersApi.cjs +1 -0
  47. package/src/apis/MembersApi.js +1 -0
  48. package/src/apis/MfaSettingsApi.cjs +1 -0
  49. package/src/apis/MfaSettingsApi.js +1 -0
  50. package/src/apis/NameServicesApi.cjs +1 -0
  51. package/src/apis/NameServicesApi.js +1 -0
  52. package/src/apis/OrganizationSettingsApi.cjs +1 -0
  53. package/src/apis/OrganizationSettingsApi.js +1 -0
  54. package/src/apis/OrganizationsApi.cjs +1 -0
  55. package/src/apis/OrganizationsApi.js +1 -0
  56. package/src/apis/OriginsApi.cjs +1 -0
  57. package/src/apis/OriginsApi.js +1 -0
  58. package/src/apis/ProjectsApi.cjs +1 -0
  59. package/src/apis/ProjectsApi.js +1 -0
  60. package/src/apis/ProvidersApi.cjs +1 -0
  61. package/src/apis/ProvidersApi.js +1 -0
  62. package/src/apis/SDKApi.cjs +1 -0
  63. package/src/apis/SDKApi.js +1 -0
  64. package/src/apis/SDKViewsApi.cjs +1 -0
  65. package/src/apis/SDKViewsApi.js +1 -0
  66. package/src/apis/SessionsApi.cjs +1 -0
  67. package/src/apis/SessionsApi.js +1 -0
  68. package/src/apis/TestAccountApi.cjs +1 -0
  69. package/src/apis/TestAccountApi.js +1 -0
  70. package/src/apis/TokensApi.cjs +1 -0
  71. package/src/apis/TokensApi.js +1 -0
  72. package/src/apis/UserApiTokensApi.cjs +1 -0
  73. package/src/apis/UserApiTokensApi.js +1 -0
  74. package/src/apis/UsersApi.cjs +1 -0
  75. package/src/apis/UsersApi.js +1 -0
  76. package/src/apis/VisitsApi.cjs +1 -0
  77. package/src/apis/VisitsApi.js +1 -0
  78. package/src/apis/WaasApi.cjs +1 -0
  79. package/src/apis/WaasApi.js +1 -0
  80. package/src/apis/WalletConnectApi.cjs +1 -0
  81. package/src/apis/WalletConnectApi.js +1 -0
  82. package/src/apis/WalletsApi.cjs +1 -0
  83. package/src/apis/WalletsApi.js +1 -0
  84. package/src/apis/WebhooksApi.cjs +1 -0
  85. package/src/apis/WebhooksApi.js +1 -0
  86. package/src/index.cjs +8 -0
  87. package/src/index.js +1 -0
  88. package/src/models/ReshareKind.cjs +59 -0
  89. package/src/models/ReshareKind.d.ts +42 -0
  90. package/src/models/ReshareKind.js +53 -0
  91. package/src/models/ReshareRequest.cjs +3 -0
  92. package/src/models/ReshareRequest.d.ts +8 -0
  93. package/src/models/ReshareRequest.js +3 -0
  94. package/src/models/SignMessageWithWaasRequest.d.ts +1 -1
  95. package/src/models/UnprocessableEntityErrorCode.cjs +1 -1
  96. package/src/models/UnprocessableEntityErrorCode.d.ts +2 -2
  97. package/src/models/UnprocessableEntityErrorCode.js +1 -1
  98. package/src/models/WaasDelegateSignMessageRequest.d.ts +1 -1
  99. package/src/models/index.d.ts +1 -0
@@ -103,6 +103,7 @@ import '../models/NextViewEnum.js';
103
103
  import '../models/OauthResultStatus.js';
104
104
  import '../models/WhenToImplementEnum.js';
105
105
  import '../models/PublishEventsEvents.js';
106
+ import '../models/ReshareKind.js';
106
107
  import '../models/SdkViewSectionAlignment.js';
107
108
  import '../models/SdkViewSectionType.js';
108
109
  import '../models/SdkViewType.js';
@@ -110,6 +110,7 @@ require('../models/NextViewEnum.cjs');
110
110
  require('../models/OauthResultStatus.cjs');
111
111
  require('../models/WhenToImplementEnum.cjs');
112
112
  require('../models/PublishEventsEvents.cjs');
113
+ require('../models/ReshareKind.cjs');
113
114
  var RevokeAllSessionsResponse = require('../models/RevokeAllSessionsResponse.cjs');
114
115
  require('../models/SsoProviderEnum.cjs');
115
116
  require('../models/SsoProviderCheckResponse.cjs');
@@ -106,6 +106,7 @@ import '../models/NextViewEnum.js';
106
106
  import '../models/OauthResultStatus.js';
107
107
  import '../models/WhenToImplementEnum.js';
108
108
  import '../models/PublishEventsEvents.js';
109
+ import '../models/ReshareKind.js';
109
110
  import { RevokeAllSessionsResponseFromJSON } from '../models/RevokeAllSessionsResponse.js';
110
111
  import '../models/SsoProviderEnum.js';
111
112
  import '../models/SsoProviderCheckResponse.js';
@@ -109,6 +109,7 @@ require('../models/NextViewEnum.cjs');
109
109
  require('../models/OauthResultStatus.cjs');
110
110
  require('../models/WhenToImplementEnum.cjs');
111
111
  require('../models/PublishEventsEvents.cjs');
112
+ require('../models/ReshareKind.cjs');
112
113
  require('../models/SsoProviderEnum.cjs');
113
114
  require('../models/SsoProviderCheckResponse.cjs');
114
115
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
@@ -105,6 +105,7 @@ import '../models/NextViewEnum.js';
105
105
  import '../models/OauthResultStatus.js';
106
106
  import '../models/WhenToImplementEnum.js';
107
107
  import '../models/PublishEventsEvents.js';
108
+ import '../models/ReshareKind.js';
108
109
  import '../models/SsoProviderEnum.js';
109
110
  import '../models/SsoProviderCheckResponse.js';
110
111
  import '../models/SubscriptionAdvancedScopeEnum.js';
@@ -110,6 +110,7 @@ require('../models/OauthResultStatus.cjs');
110
110
  require('../models/WhenToImplementEnum.cjs');
111
111
  var PostTokenFields = require('../models/PostTokenFields.cjs');
112
112
  require('../models/PublishEventsEvents.cjs');
113
+ require('../models/ReshareKind.cjs');
113
114
  require('../models/SsoProviderEnum.cjs');
114
115
  require('../models/SsoProviderCheckResponse.cjs');
115
116
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
@@ -106,6 +106,7 @@ import '../models/OauthResultStatus.js';
106
106
  import '../models/WhenToImplementEnum.js';
107
107
  import { PostTokenFieldsToJSON } from '../models/PostTokenFields.js';
108
108
  import '../models/PublishEventsEvents.js';
109
+ import '../models/ReshareKind.js';
109
110
  import '../models/SsoProviderEnum.js';
110
111
  import '../models/SsoProviderCheckResponse.js';
111
112
  import '../models/SubscriptionAdvancedScopeEnum.js';
@@ -110,6 +110,7 @@ require('../models/OauthResultStatus.cjs');
110
110
  require('../models/WhenToImplementEnum.cjs');
111
111
  var PostTokenFields = require('../models/PostTokenFields.cjs');
112
112
  require('../models/PublishEventsEvents.cjs');
113
+ require('../models/ReshareKind.cjs');
113
114
  require('../models/SsoProviderEnum.cjs');
114
115
  require('../models/SsoProviderCheckResponse.cjs');
115
116
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
@@ -106,6 +106,7 @@ import '../models/OauthResultStatus.js';
106
106
  import '../models/WhenToImplementEnum.js';
107
107
  import { PostTokenFieldsToJSON } from '../models/PostTokenFields.js';
108
108
  import '../models/PublishEventsEvents.js';
109
+ import '../models/ReshareKind.js';
109
110
  import '../models/SsoProviderEnum.js';
110
111
  import '../models/SsoProviderCheckResponse.js';
111
112
  import '../models/SubscriptionAdvancedScopeEnum.js';
@@ -113,6 +113,7 @@ require('../models/NextViewEnum.cjs');
113
113
  require('../models/OauthResultStatus.cjs');
114
114
  require('../models/WhenToImplementEnum.cjs');
115
115
  require('../models/PublishEventsEvents.cjs');
116
+ require('../models/ReshareKind.cjs');
116
117
  var SessionsResponse = require('../models/SessionsResponse.cjs');
117
118
  require('../models/SsoProviderEnum.cjs');
118
119
  require('../models/SsoProviderCheckResponse.cjs');
@@ -109,6 +109,7 @@ import '../models/NextViewEnum.js';
109
109
  import '../models/OauthResultStatus.js';
110
110
  import '../models/WhenToImplementEnum.js';
111
111
  import '../models/PublishEventsEvents.js';
112
+ import '../models/ReshareKind.js';
112
113
  import { SessionsResponseFromJSON } from '../models/SessionsResponse.js';
113
114
  import '../models/SsoProviderEnum.js';
114
115
  import '../models/SsoProviderCheckResponse.js';
@@ -109,6 +109,7 @@ require('../models/NextViewEnum.cjs');
109
109
  require('../models/OauthResultStatus.cjs');
110
110
  require('../models/WhenToImplementEnum.cjs');
111
111
  require('../models/PublishEventsEvents.cjs');
112
+ require('../models/ReshareKind.cjs');
112
113
  require('../models/SsoProviderEnum.cjs');
113
114
  require('../models/SsoProviderCheckResponse.cjs');
114
115
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
@@ -105,6 +105,7 @@ import '../models/NextViewEnum.js';
105
105
  import '../models/OauthResultStatus.js';
106
106
  import '../models/WhenToImplementEnum.js';
107
107
  import '../models/PublishEventsEvents.js';
108
+ import '../models/ReshareKind.js';
108
109
  import '../models/SsoProviderEnum.js';
109
110
  import '../models/SsoProviderCheckResponse.js';
110
111
  import '../models/SubscriptionAdvancedScopeEnum.js';
@@ -114,6 +114,7 @@ require('../models/OauthResultStatus.cjs');
114
114
  var OpenRoomResponse = require('../models/OpenRoomResponse.cjs');
115
115
  require('../models/WhenToImplementEnum.cjs');
116
116
  require('../models/PublishEventsEvents.cjs');
117
+ require('../models/ReshareKind.cjs');
117
118
  var RevokeDelegatedAccessRequest = require('../models/RevokeDelegatedAccessRequest.cjs');
118
119
  var RevokeDelegatedAccessResponse = require('../models/RevokeDelegatedAccessResponse.cjs');
119
120
  require('../models/SsoProviderEnum.cjs');
@@ -110,6 +110,7 @@ import '../models/OauthResultStatus.js';
110
110
  import { OpenRoomResponseFromJSON } from '../models/OpenRoomResponse.js';
111
111
  import '../models/WhenToImplementEnum.js';
112
112
  import '../models/PublishEventsEvents.js';
113
+ import '../models/ReshareKind.js';
113
114
  import { RevokeDelegatedAccessRequestToJSON } from '../models/RevokeDelegatedAccessRequest.js';
114
115
  import { RevokeDelegatedAccessResponseFromJSON } from '../models/RevokeDelegatedAccessResponse.js';
115
116
  import '../models/SsoProviderEnum.js';
@@ -109,6 +109,7 @@ require('../models/NextViewEnum.cjs');
109
109
  require('../models/OauthResultStatus.cjs');
110
110
  require('../models/WhenToImplementEnum.cjs');
111
111
  require('../models/PublishEventsEvents.cjs');
112
+ require('../models/ReshareKind.cjs');
112
113
  require('../models/SsoProviderEnum.cjs');
113
114
  require('../models/SsoProviderCheckResponse.cjs');
114
115
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
@@ -105,6 +105,7 @@ import '../models/NextViewEnum.js';
105
105
  import '../models/OauthResultStatus.js';
106
106
  import '../models/WhenToImplementEnum.js';
107
107
  import '../models/PublishEventsEvents.js';
108
+ import '../models/ReshareKind.js';
108
109
  import '../models/SsoProviderEnum.js';
109
110
  import '../models/SsoProviderCheckResponse.js';
110
111
  import '../models/SubscriptionAdvancedScopeEnum.js';
@@ -113,6 +113,7 @@ require('../models/NextViewEnum.cjs');
113
113
  require('../models/OauthResultStatus.cjs');
114
114
  require('../models/WhenToImplementEnum.cjs');
115
115
  require('../models/PublishEventsEvents.cjs');
116
+ require('../models/ReshareKind.cjs');
116
117
  require('../models/SsoProviderEnum.cjs');
117
118
  require('../models/SsoProviderCheckResponse.cjs');
118
119
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
@@ -109,6 +109,7 @@ import '../models/NextViewEnum.js';
109
109
  import '../models/OauthResultStatus.js';
110
110
  import '../models/WhenToImplementEnum.js';
111
111
  import '../models/PublishEventsEvents.js';
112
+ import '../models/ReshareKind.js';
112
113
  import '../models/SsoProviderEnum.js';
113
114
  import '../models/SsoProviderCheckResponse.js';
114
115
  import '../models/SubscriptionAdvancedScopeEnum.js';
@@ -109,6 +109,7 @@ require('../models/NextViewEnum.cjs');
109
109
  require('../models/OauthResultStatus.cjs');
110
110
  require('../models/WhenToImplementEnum.cjs');
111
111
  require('../models/PublishEventsEvents.cjs');
112
+ require('../models/ReshareKind.cjs');
112
113
  require('../models/SsoProviderEnum.cjs');
113
114
  require('../models/SsoProviderCheckResponse.cjs');
114
115
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
@@ -105,6 +105,7 @@ import '../models/NextViewEnum.js';
105
105
  import '../models/OauthResultStatus.js';
106
106
  import '../models/WhenToImplementEnum.js';
107
107
  import '../models/PublishEventsEvents.js';
108
+ import '../models/ReshareKind.js';
108
109
  import '../models/SsoProviderEnum.js';
109
110
  import '../models/SsoProviderCheckResponse.js';
110
111
  import '../models/SubscriptionAdvancedScopeEnum.js';
package/src/index.cjs CHANGED
@@ -548,6 +548,7 @@ var RefreshKeySharesResponse = require('./models/RefreshKeySharesResponse.cjs');
548
548
  var RefreshKeySharesResponseAllOf = require('./models/RefreshKeySharesResponseAllOf.cjs');
549
549
  var RegisterEmbeddedWalletSessionKeyResponse = require('./models/RegisterEmbeddedWalletSessionKeyResponse.cjs');
550
550
  var RegisterSessionKeyRequest = require('./models/RegisterSessionKeyRequest.cjs');
551
+ var ReshareKind = require('./models/ReshareKind.cjs');
551
552
  var ReshareRequest = require('./models/ReshareRequest.cjs');
552
553
  var ResidentKeyRequirement = require('./models/ResidentKeyRequirement.cjs');
553
554
  var RetentionTrendResult = require('./models/RetentionTrendResult.cjs');
@@ -2703,6 +2704,13 @@ exports.RegisterEmbeddedWalletSessionKeyResponseToJSON = RegisterEmbeddedWalletS
2703
2704
  exports.RegisterSessionKeyRequestFromJSON = RegisterSessionKeyRequest.RegisterSessionKeyRequestFromJSON;
2704
2705
  exports.RegisterSessionKeyRequestFromJSONTyped = RegisterSessionKeyRequest.RegisterSessionKeyRequestFromJSONTyped;
2705
2706
  exports.RegisterSessionKeyRequestToJSON = RegisterSessionKeyRequest.RegisterSessionKeyRequestToJSON;
2707
+ Object.defineProperty(exports, 'ReshareKind', {
2708
+ enumerable: true,
2709
+ get: function () { return ReshareKind.ReshareKind; }
2710
+ });
2711
+ exports.ReshareKindFromJSON = ReshareKind.ReshareKindFromJSON;
2712
+ exports.ReshareKindFromJSONTyped = ReshareKind.ReshareKindFromJSONTyped;
2713
+ exports.ReshareKindToJSON = ReshareKind.ReshareKindToJSON;
2706
2714
  exports.ReshareRequestFromJSON = ReshareRequest.ReshareRequestFromJSON;
2707
2715
  exports.ReshareRequestFromJSONTyped = ReshareRequest.ReshareRequestFromJSONTyped;
2708
2716
  exports.ReshareRequestToJSON = ReshareRequest.ReshareRequestToJSON;
package/src/index.js CHANGED
@@ -544,6 +544,7 @@ export { RefreshKeySharesResponseFromJSON, RefreshKeySharesResponseFromJSONTyped
544
544
  export { RefreshKeySharesResponseAllOfFromJSON, RefreshKeySharesResponseAllOfFromJSONTyped, RefreshKeySharesResponseAllOfToJSON } from './models/RefreshKeySharesResponseAllOf.js';
545
545
  export { RegisterEmbeddedWalletSessionKeyResponseFromJSON, RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped, RegisterEmbeddedWalletSessionKeyResponseToJSON } from './models/RegisterEmbeddedWalletSessionKeyResponse.js';
546
546
  export { RegisterSessionKeyRequestFromJSON, RegisterSessionKeyRequestFromJSONTyped, RegisterSessionKeyRequestToJSON } from './models/RegisterSessionKeyRequest.js';
547
+ export { ReshareKind, ReshareKindFromJSON, ReshareKindFromJSONTyped, ReshareKindToJSON } from './models/ReshareKind.js';
547
548
  export { ReshareRequestFromJSON, ReshareRequestFromJSONTyped, ReshareRequestToJSON } from './models/ReshareRequest.js';
548
549
  export { ResidentKeyRequirement, ResidentKeyRequirementFromJSON, ResidentKeyRequirementFromJSONTyped, ResidentKeyRequirementToJSON } from './models/ResidentKeyRequirement.js';
549
550
  export { RetentionTrendResultFromJSON, RetentionTrendResultFromJSONTyped, RetentionTrendResultToJSON } from './models/RetentionTrendResult.js';
@@ -0,0 +1,59 @@
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
+ * Discriminator for what kind of share this reshare ceremony is minting.
20
+ * Determines the destination of the new share, whether a webhook fires,
21
+ * and what BackupLocation tag is applied. Defaults to `rootUser` for
22
+ * backwards compatibility with clients that don't yet pass the field.
23
+ *
24
+ * * `rootUser` — refresh/rotate the user's primary shares (password
25
+ * change, key rotation). Shares stay on the user's device + Dynamic.
26
+ * * `cloudBackup` — add a cloud-stored share (Google Drive / iCloud).
27
+ * Encrypted with the user's password and uploaded to the third-party
28
+ * provider determined by request context.
29
+ * * `delegation` — add a delegated signing share. Encrypted with the
30
+ * env's delegated-access RSA key and POSTed to the env's
31
+ * `delegatedAccessEndpoint`. Includes an encrypted wallet API key so
32
+ * the developer can sign on behalf of the user.
33
+ * * `offlineRecovery` — add a non-signing recovery share. Same endpoint
34
+ * + RSA key as `delegation`, but no API key in the payload and the
35
+ * resulting share is tagged `BackupLocation: 'offlineRecovery'` so
36
+ * wallet-service refuses to use it for signing.
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ exports.ReshareKind = void 0;
41
+ (function (ReshareKind) {
42
+ ReshareKind["RootUser"] = "rootUser";
43
+ ReshareKind["CloudBackup"] = "cloudBackup";
44
+ ReshareKind["Delegation"] = "delegation";
45
+ ReshareKind["OfflineRecovery"] = "offlineRecovery";
46
+ })(exports.ReshareKind || (exports.ReshareKind = {}));
47
+ function ReshareKindFromJSON(json) {
48
+ return ReshareKindFromJSONTyped(json);
49
+ }
50
+ function ReshareKindFromJSONTyped(json, ignoreDiscriminator) {
51
+ return json;
52
+ }
53
+ function ReshareKindToJSON(value) {
54
+ return value;
55
+ }
56
+
57
+ exports.ReshareKindFromJSON = ReshareKindFromJSON;
58
+ exports.ReshareKindFromJSONTyped = ReshareKindFromJSONTyped;
59
+ exports.ReshareKindToJSON = ReshareKindToJSON;
@@ -0,0 +1,42 @@
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
+ * Discriminator for what kind of share this reshare ceremony is minting.
14
+ * Determines the destination of the new share, whether a webhook fires,
15
+ * and what BackupLocation tag is applied. Defaults to `rootUser` for
16
+ * backwards compatibility with clients that don't yet pass the field.
17
+ *
18
+ * * `rootUser` — refresh/rotate the user's primary shares (password
19
+ * change, key rotation). Shares stay on the user's device + Dynamic.
20
+ * * `cloudBackup` — add a cloud-stored share (Google Drive / iCloud).
21
+ * Encrypted with the user's password and uploaded to the third-party
22
+ * provider determined by request context.
23
+ * * `delegation` — add a delegated signing share. Encrypted with the
24
+ * env's delegated-access RSA key and POSTed to the env's
25
+ * `delegatedAccessEndpoint`. Includes an encrypted wallet API key so
26
+ * the developer can sign on behalf of the user.
27
+ * * `offlineRecovery` — add a non-signing recovery share. Same endpoint
28
+ * + RSA key as `delegation`, but no API key in the payload and the
29
+ * resulting share is tagged `BackupLocation: 'offlineRecovery'` so
30
+ * wallet-service refuses to use it for signing.
31
+ * @export
32
+ * @enum {string}
33
+ */
34
+ export declare enum ReshareKind {
35
+ RootUser = "rootUser",
36
+ CloudBackup = "cloudBackup",
37
+ Delegation = "delegation",
38
+ OfflineRecovery = "offlineRecovery"
39
+ }
40
+ export declare function ReshareKindFromJSON(json: any): ReshareKind;
41
+ export declare function ReshareKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReshareKind;
42
+ export declare function ReshareKindToJSON(value?: ReshareKind | null): any;
@@ -0,0 +1,53 @@
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
+ * Discriminator for what kind of share this reshare ceremony is minting.
16
+ * Determines the destination of the new share, whether a webhook fires,
17
+ * and what BackupLocation tag is applied. Defaults to `rootUser` for
18
+ * backwards compatibility with clients that don't yet pass the field.
19
+ *
20
+ * * `rootUser` — refresh/rotate the user's primary shares (password
21
+ * change, key rotation). Shares stay on the user's device + Dynamic.
22
+ * * `cloudBackup` — add a cloud-stored share (Google Drive / iCloud).
23
+ * Encrypted with the user's password and uploaded to the third-party
24
+ * provider determined by request context.
25
+ * * `delegation` — add a delegated signing share. Encrypted with the
26
+ * env's delegated-access RSA key and POSTed to the env's
27
+ * `delegatedAccessEndpoint`. Includes an encrypted wallet API key so
28
+ * the developer can sign on behalf of the user.
29
+ * * `offlineRecovery` — add a non-signing recovery share. Same endpoint
30
+ * + RSA key as `delegation`, but no API key in the payload and the
31
+ * resulting share is tagged `BackupLocation: 'offlineRecovery'` so
32
+ * wallet-service refuses to use it for signing.
33
+ * @export
34
+ * @enum {string}
35
+ */
36
+ var ReshareKind;
37
+ (function (ReshareKind) {
38
+ ReshareKind["RootUser"] = "rootUser";
39
+ ReshareKind["CloudBackup"] = "cloudBackup";
40
+ ReshareKind["Delegation"] = "delegation";
41
+ ReshareKind["OfflineRecovery"] = "offlineRecovery";
42
+ })(ReshareKind || (ReshareKind = {}));
43
+ function ReshareKindFromJSON(json) {
44
+ return ReshareKindFromJSONTyped(json);
45
+ }
46
+ function ReshareKindFromJSONTyped(json, ignoreDiscriminator) {
47
+ return json;
48
+ }
49
+ function ReshareKindToJSON(value) {
50
+ return value;
51
+ }
52
+
53
+ export { ReshareKind, ReshareKindFromJSON, ReshareKindFromJSONTyped, ReshareKindToJSON };
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var ReshareKind = require('./ReshareKind.cjs');
6
7
  var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
7
8
 
8
9
  /* tslint:disable */
@@ -19,6 +20,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
19
20
  'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
20
21
  'delegateToProjectEnvironment': !runtime.exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
21
22
  'revokeDelegation': !runtime.exists(json, 'revokeDelegation') ? undefined : json['revokeDelegation'],
23
+ 'reshareKind': !runtime.exists(json, 'reshareKind') ? undefined : ReshareKind.ReshareKindFromJSON(json['reshareKind']),
22
24
  'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
23
25
  };
24
26
  }
@@ -35,6 +37,7 @@ function ReshareRequestToJSON(value) {
35
37
  'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
36
38
  'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
37
39
  'revokeDelegation': value.revokeDelegation,
40
+ 'reshareKind': ReshareKind.ReshareKindToJSON(value.reshareKind),
38
41
  'shareSetId': value.shareSetId,
39
42
  };
40
43
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ReshareKind } from './ReshareKind';
12
13
  import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
13
14
  /**
14
15
  *
@@ -46,6 +47,13 @@ export interface ReshareRequest {
46
47
  * @memberof ReshareRequest
47
48
  */
48
49
  revokeDelegation?: boolean;
50
+ /**
51
+ * What kind of share this ceremony is minting. When omitted, defaults
52
+ * to `rootUser` for backwards compatibility.
53
+ * @type {ReshareKind}
54
+ * @memberof ReshareRequest
55
+ */
56
+ reshareKind?: ReshareKind | null;
49
57
  /**
50
58
  * Identifier of the active share set this reshare ceremony runs against.
51
59
  * Optional for backwards compatibility — when omitted, the active
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { ReshareKindFromJSON, ReshareKindToJSON } from './ReshareKind.js';
2
3
  import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
3
4
 
4
5
  /* tslint:disable */
@@ -15,6 +16,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
15
16
  'newThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
16
17
  'delegateToProjectEnvironment': !exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
17
18
  'revokeDelegation': !exists(json, 'revokeDelegation') ? undefined : json['revokeDelegation'],
19
+ 'reshareKind': !exists(json, 'reshareKind') ? undefined : ReshareKindFromJSON(json['reshareKind']),
18
20
  'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
19
21
  };
20
22
  }
@@ -31,6 +33,7 @@ function ReshareRequestToJSON(value) {
31
33
  'newThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
32
34
  'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
33
35
  'revokeDelegation': value.revokeDelegation,
36
+ 'reshareKind': ReshareKindToJSON(value.reshareKind),
34
37
  'shareSetId': value.shareSetId,
35
38
  };
36
39
  }
@@ -24,7 +24,7 @@ export interface SignMessageWithWaasRequest {
24
24
  */
25
25
  message: string;
26
26
  /**
27
- * Whether the message is pre-formatted for signing
27
+ * When true, `message` is treated as a pre-computed 32-byte hash (64 hex characters, optionally with a leading `0x`) and signed by the MPC server as-is ("raw signing"). When false or omitted, the SDK hashes the message bytes using the chain's standard algorithm (e.g. keccak256 for EVM).
28
28
  * @type {boolean}
29
29
  * @memberof SignMessageWithWaasRequest
30
30
  */
@@ -143,8 +143,8 @@ exports.UnprocessableEntityErrorCode = void 0;
143
143
  UnprocessableEntityErrorCode["CannotDeletePasskeyLinkedToEmbeddedWallet"] = "cannot_delete_passkey_linked_to_embedded_wallet";
144
144
  UnprocessableEntityErrorCode["CannotDeleteLastSignInVerifiedCredential"] = "cannot_delete_last_sign_in_verified_credential";
145
145
  UnprocessableEntityErrorCode["CredentialNotEnabledForSignIn"] = "credential_not_enabled_for_sign_in";
146
- UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
147
146
  UnprocessableEntityErrorCode["ShareSetIdRequired"] = "share_set_id_required";
147
+ UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
148
148
  })(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
149
149
  function UnprocessableEntityErrorCodeFromJSON(json) {
150
150
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -136,8 +136,8 @@ export declare enum UnprocessableEntityErrorCode {
136
136
  CannotDeletePasskeyLinkedToEmbeddedWallet = "cannot_delete_passkey_linked_to_embedded_wallet",
137
137
  CannotDeleteLastSignInVerifiedCredential = "cannot_delete_last_sign_in_verified_credential",
138
138
  CredentialNotEnabledForSignIn = "credential_not_enabled_for_sign_in",
139
- UnsupportedChain = "unsupported_chain",
140
- ShareSetIdRequired = "share_set_id_required"
139
+ ShareSetIdRequired = "share_set_id_required",
140
+ UnsupportedChain = "unsupported_chain"
141
141
  }
142
142
  export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
143
143
  export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
@@ -139,8 +139,8 @@ var UnprocessableEntityErrorCode;
139
139
  UnprocessableEntityErrorCode["CannotDeletePasskeyLinkedToEmbeddedWallet"] = "cannot_delete_passkey_linked_to_embedded_wallet";
140
140
  UnprocessableEntityErrorCode["CannotDeleteLastSignInVerifiedCredential"] = "cannot_delete_last_sign_in_verified_credential";
141
141
  UnprocessableEntityErrorCode["CredentialNotEnabledForSignIn"] = "credential_not_enabled_for_sign_in";
142
- UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
143
142
  UnprocessableEntityErrorCode["ShareSetIdRequired"] = "share_set_id_required";
143
+ UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
144
144
  })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
145
145
  function UnprocessableEntityErrorCodeFromJSON(json) {
146
146
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -22,7 +22,7 @@ export interface WaasDelegateSignMessageRequest {
22
22
  */
23
23
  message: string;
24
24
  /**
25
- * When true, the message is prefixed with the chain's standard format (e.g. EIP-191 for EVM)
25
+ * When true, `message` is treated as a pre-computed 32-byte hash (64 hex characters, optionally with a leading `0x`) and signed by the MPC server as-is ("raw signing"). When false or omitted, the SDK hashes the message bytes using the chain's standard algorithm (e.g. keccak256 for EVM).
26
26
  * @type {boolean}
27
27
  * @memberof WaasDelegateSignMessageRequest
28
28
  */
@@ -500,6 +500,7 @@ export * from './RefreshKeySharesResponse';
500
500
  export * from './RefreshKeySharesResponseAllOf';
501
501
  export * from './RegisterEmbeddedWalletSessionKeyResponse';
502
502
  export * from './RegisterSessionKeyRequest';
503
+ export * from './ReshareKind';
503
504
  export * from './ReshareRequest';
504
505
  export * from './ResidentKeyRequirement';
505
506
  export * from './RetentionTrendResult';