@dynamic-labs/sdk-api 0.82.0 → 0.84.0

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 (146) 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/BusinessAccountsApi.cjs +1 -0
  11. package/src/apis/BusinessAccountsApi.js +1 -0
  12. package/src/apis/CaptchaApi.cjs +1 -0
  13. package/src/apis/CaptchaApi.js +1 -0
  14. package/src/apis/ChainalysisApi.cjs +1 -0
  15. package/src/apis/ChainalysisApi.js +1 -0
  16. package/src/apis/ChainsApi.cjs +1 -0
  17. package/src/apis/ChainsApi.js +1 -0
  18. package/src/apis/CheckoutApi.cjs +1 -0
  19. package/src/apis/CheckoutApi.js +1 -0
  20. package/src/apis/ClientGrantApi.cjs +1 -0
  21. package/src/apis/ClientGrantApi.js +1 -0
  22. package/src/apis/CustomFieldsApi.cjs +1 -0
  23. package/src/apis/CustomFieldsApi.js +1 -0
  24. package/src/apis/CustomHostnamesApi.cjs +1 -0
  25. package/src/apis/CustomHostnamesApi.js +1 -0
  26. package/src/apis/CustomNetworksApi.cjs +1 -0
  27. package/src/apis/CustomNetworksApi.js +1 -0
  28. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  29. package/src/apis/DeeplinkUrlsApi.js +1 -0
  30. package/src/apis/EnvironmentsApi.cjs +1 -0
  31. package/src/apis/EnvironmentsApi.js +1 -0
  32. package/src/apis/EventsApi.cjs +1 -0
  33. package/src/apis/EventsApi.js +1 -0
  34. package/src/apis/ExchangesApi.cjs +1 -0
  35. package/src/apis/ExchangesApi.js +1 -0
  36. package/src/apis/ExportsApi.cjs +1 -0
  37. package/src/apis/ExportsApi.js +1 -0
  38. package/src/apis/ExternalJwtApi.cjs +1 -0
  39. package/src/apis/ExternalJwtApi.js +1 -0
  40. package/src/apis/FlowAnalyticsApi.cjs +1 -0
  41. package/src/apis/FlowAnalyticsApi.js +1 -0
  42. package/src/apis/GaslessApi.cjs +1 -0
  43. package/src/apis/GaslessApi.js +1 -0
  44. package/src/apis/GatesApi.cjs +1 -0
  45. package/src/apis/GatesApi.js +1 -0
  46. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  47. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  48. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  49. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  50. package/src/apis/GlobalWalletsApi.cjs +1 -0
  51. package/src/apis/GlobalWalletsApi.js +1 -0
  52. package/src/apis/InvitesApi.cjs +1 -0
  53. package/src/apis/InvitesApi.js +1 -0
  54. package/src/apis/KybApi.cjs +1 -0
  55. package/src/apis/KybApi.js +1 -0
  56. package/src/apis/MembersApi.cjs +1 -0
  57. package/src/apis/MembersApi.js +1 -0
  58. package/src/apis/MfaSettingsApi.cjs +1 -0
  59. package/src/apis/MfaSettingsApi.js +1 -0
  60. package/src/apis/NameServicesApi.cjs +1 -0
  61. package/src/apis/NameServicesApi.js +1 -0
  62. package/src/apis/OrganizationSettingsApi.cjs +1 -0
  63. package/src/apis/OrganizationSettingsApi.js +1 -0
  64. package/src/apis/OrganizationsApi.cjs +1 -0
  65. package/src/apis/OrganizationsApi.js +1 -0
  66. package/src/apis/OriginsApi.cjs +1 -0
  67. package/src/apis/OriginsApi.js +1 -0
  68. package/src/apis/ProjectsApi.cjs +1 -0
  69. package/src/apis/ProjectsApi.js +1 -0
  70. package/src/apis/ProvidersApi.cjs +1 -0
  71. package/src/apis/ProvidersApi.js +1 -0
  72. package/src/apis/SDKApi.cjs +1 -0
  73. package/src/apis/SDKApi.js +1 -0
  74. package/src/apis/SDKViewsApi.cjs +1 -0
  75. package/src/apis/SDKViewsApi.js +1 -0
  76. package/src/apis/ScreeningPoliciesApi.cjs +9 -8
  77. package/src/apis/ScreeningPoliciesApi.d.ts +8 -8
  78. package/src/apis/ScreeningPoliciesApi.js +9 -8
  79. package/src/apis/ServerApi.cjs +1 -0
  80. package/src/apis/ServerApi.js +1 -0
  81. package/src/apis/SessionsApi.cjs +1 -0
  82. package/src/apis/SessionsApi.js +1 -0
  83. package/src/apis/TestAccountApi.cjs +1 -0
  84. package/src/apis/TestAccountApi.js +1 -0
  85. package/src/apis/TokensApi.cjs +1 -0
  86. package/src/apis/TokensApi.js +1 -0
  87. package/src/apis/UserApiTokensApi.cjs +1 -0
  88. package/src/apis/UserApiTokensApi.js +1 -0
  89. package/src/apis/UsersApi.cjs +1 -0
  90. package/src/apis/UsersApi.js +1 -0
  91. package/src/apis/VisitsApi.cjs +1 -0
  92. package/src/apis/VisitsApi.js +1 -0
  93. package/src/apis/WaasApi.cjs +116 -0
  94. package/src/apis/WaasApi.d.ts +52 -1
  95. package/src/apis/WaasApi.js +116 -0
  96. package/src/apis/WalletConnectApi.cjs +1 -0
  97. package/src/apis/WalletConnectApi.js +1 -0
  98. package/src/apis/WalletsApi.cjs +1 -0
  99. package/src/apis/WalletsApi.js +1 -0
  100. package/src/apis/WebhooksApi.cjs +1 -0
  101. package/src/apis/WebhooksApi.js +1 -0
  102. package/src/apis/YieldApi.cjs +1 -0
  103. package/src/apis/YieldApi.js +1 -0
  104. package/src/apis/ZendeskApi.cjs +1 -0
  105. package/src/apis/ZendeskApi.js +1 -0
  106. package/src/index.cjs +24 -0
  107. package/src/index.js +5 -0
  108. package/src/models/RegisterServerSigningKeyRequest.cjs +37 -0
  109. package/src/models/RegisterServerSigningKeyRequest.d.ts +39 -0
  110. package/src/models/RegisterServerSigningKeyRequest.js +31 -0
  111. package/src/models/RevokedServerSigningKeyResponse.cjs +37 -0
  112. package/src/models/RevokedServerSigningKeyResponse.d.ts +40 -0
  113. package/src/models/RevokedServerSigningKeyResponse.js +31 -0
  114. package/src/models/SanctionsWalletBlockedEventPayload.d.ts +2 -2
  115. package/src/models/ScreeningCoreField.cjs +1 -1
  116. package/src/models/ScreeningCoreField.d.ts +1 -1
  117. package/src/models/ScreeningCoreField.js +1 -1
  118. package/src/models/ScreeningPolicy.d.ts +5 -5
  119. package/src/models/ScreeningPolicyAddress.d.ts +3 -2
  120. package/src/models/ScreeningPolicyAddressCreateRequest.d.ts +1 -1
  121. package/src/models/ScreeningPolicyAddressesResponse.d.ts +1 -1
  122. package/src/models/ScreeningPolicyProviderEnum.cjs +2 -2
  123. package/src/models/ScreeningPolicyProviderEnum.d.ts +2 -2
  124. package/src/models/ScreeningPolicyProviderEnum.js +2 -2
  125. package/src/models/ScreeningPolicyScopeEnum.cjs +4 -4
  126. package/src/models/ScreeningPolicyScopeEnum.d.ts +4 -4
  127. package/src/models/ScreeningPolicyScopeEnum.js +4 -4
  128. package/src/models/ScreeningPolicyUpdateRequest.d.ts +4 -4
  129. package/src/models/ScreeningPreScreenAction.cjs +1 -1
  130. package/src/models/ScreeningPreScreenAction.d.ts +1 -1
  131. package/src/models/ScreeningPreScreenAction.js +1 -1
  132. package/src/models/ScreeningPreScreenNode.d.ts +3 -3
  133. package/src/models/ScreeningPreScreenRule.d.ts +1 -1
  134. package/src/models/ScreeningReason.d.ts +6 -6
  135. package/src/models/ServerSigningKeyStatus.cjs +41 -0
  136. package/src/models/ServerSigningKeyStatus.d.ts +24 -0
  137. package/src/models/ServerSigningKeyStatus.js +35 -0
  138. package/src/models/ServerSigningKeySummary.cjs +45 -0
  139. package/src/models/ServerSigningKeySummary.d.ts +64 -0
  140. package/src/models/ServerSigningKeySummary.js +39 -0
  141. package/src/models/ServerSigningKeySummaryList.cjs +33 -0
  142. package/src/models/ServerSigningKeySummaryList.d.ts +28 -0
  143. package/src/models/ServerSigningKeySummaryList.js +27 -0
  144. package/src/models/WalletAddressScreeningAlertedEventPayload.d.ts +2 -2
  145. package/src/models/WalletAddressScreeningBlockedEventPayload.d.ts +2 -2
  146. package/src/models/index.d.ts +5 -0
@@ -151,6 +151,7 @@ import { OrganizationResponseFromJSON } from '../models/OrganizationResponse.js'
151
151
  import { OrganizationsResponseFromJSON } from '../models/OrganizationsResponse.js';
152
152
  import '../models/PublishEventsEvents.js';
153
153
  import '../models/ReshareKind.js';
154
+ import '../models/ServerSigningKeyStatus.js';
154
155
  import '../models/SanctionsWalletBlockedEventPayload.js';
155
156
  import '../models/ScreenTransactionResponse.js';
156
157
  import '../models/ScreeningActionEnum.js';
@@ -151,6 +151,7 @@ require('../models/WhenToImplementEnum.cjs');
151
151
  var OriginsResponse = require('../models/OriginsResponse.cjs');
152
152
  require('../models/PublishEventsEvents.cjs');
153
153
  require('../models/ReshareKind.cjs');
154
+ require('../models/ServerSigningKeyStatus.cjs');
154
155
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
155
156
  require('../models/ScreenTransactionResponse.cjs');
156
157
  require('../models/ScreeningActionEnum.cjs');
@@ -147,6 +147,7 @@ import '../models/WhenToImplementEnum.js';
147
147
  import { OriginsResponseFromJSON } from '../models/OriginsResponse.js';
148
148
  import '../models/PublishEventsEvents.js';
149
149
  import '../models/ReshareKind.js';
150
+ import '../models/ServerSigningKeyStatus.js';
150
151
  import '../models/SanctionsWalletBlockedEventPayload.js';
151
152
  import '../models/ScreenTransactionResponse.js';
152
153
  import '../models/ScreeningActionEnum.js';
@@ -152,6 +152,7 @@ var ProjectRequest = require('../models/ProjectRequest.cjs');
152
152
  var ProjectsResponse = require('../models/ProjectsResponse.cjs');
153
153
  require('../models/PublishEventsEvents.cjs');
154
154
  require('../models/ReshareKind.cjs');
155
+ require('../models/ServerSigningKeyStatus.cjs');
155
156
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
156
157
  require('../models/ScreenTransactionResponse.cjs');
157
158
  require('../models/ScreeningActionEnum.cjs');
@@ -148,6 +148,7 @@ import { ProjectRequestToJSON } from '../models/ProjectRequest.js';
148
148
  import { ProjectsResponseFromJSON } from '../models/ProjectsResponse.js';
149
149
  import '../models/PublishEventsEvents.js';
150
150
  import '../models/ReshareKind.js';
151
+ import '../models/ServerSigningKeyStatus.js';
151
152
  import '../models/SanctionsWalletBlockedEventPayload.js';
152
153
  import '../models/ScreenTransactionResponse.js';
153
154
  import '../models/ScreeningActionEnum.js';
@@ -152,6 +152,7 @@ var ProviderUrlsResponse = require('../models/ProviderUrlsResponse.cjs');
152
152
  var ProvidersResponse = require('../models/ProvidersResponse.cjs');
153
153
  require('../models/PublishEventsEvents.cjs');
154
154
  require('../models/ReshareKind.cjs');
155
+ require('../models/ServerSigningKeyStatus.cjs');
155
156
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
156
157
  require('../models/ScreenTransactionResponse.cjs');
157
158
  require('../models/ScreeningActionEnum.cjs');
@@ -148,6 +148,7 @@ import { ProviderUrlsResponseFromJSON } from '../models/ProviderUrlsResponse.js'
148
148
  import { ProvidersResponseFromJSON } from '../models/ProvidersResponse.js';
149
149
  import '../models/PublishEventsEvents.js';
150
150
  import '../models/ReshareKind.js';
151
+ import '../models/ServerSigningKeyStatus.js';
151
152
  import '../models/SanctionsWalletBlockedEventPayload.js';
152
153
  import '../models/ScreenTransactionResponse.js';
153
154
  import '../models/ScreeningActionEnum.js';
@@ -282,6 +282,7 @@ var RemoveBusinessAccountSignerSdkRequest = require('../models/RemoveBusinessAcc
282
282
  var RemoveBusinessAccountWalletSdkRequest = require('../models/RemoveBusinessAccountWalletSdkRequest.cjs');
283
283
  require('../models/ReshareKind.cjs');
284
284
  var ReshareRequest = require('../models/ReshareRequest.cjs');
285
+ require('../models/ServerSigningKeyStatus.cjs');
285
286
  require('../models/RoomTypeEnum.cjs');
286
287
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
287
288
  var ScanWebsiteUrlRequest = require('../models/ScanWebsiteUrlRequest.cjs');
@@ -278,6 +278,7 @@ import { RemoveBusinessAccountSignerSdkRequestToJSON } from '../models/RemoveBus
278
278
  import { RemoveBusinessAccountWalletSdkRequestToJSON } from '../models/RemoveBusinessAccountWalletSdkRequest.js';
279
279
  import '../models/ReshareKind.js';
280
280
  import { ReshareRequestToJSON } from '../models/ReshareRequest.js';
281
+ import '../models/ServerSigningKeyStatus.js';
281
282
  import '../models/RoomTypeEnum.js';
282
283
  import '../models/SanctionsWalletBlockedEventPayload.js';
283
284
  import { ScanWebsiteUrlRequestToJSON } from '../models/ScanWebsiteUrlRequest.js';
@@ -146,6 +146,7 @@ require('../models/OauthResultStatus.cjs');
146
146
  require('../models/WhenToImplementEnum.cjs');
147
147
  require('../models/PublishEventsEvents.cjs');
148
148
  require('../models/ReshareKind.cjs');
149
+ require('../models/ServerSigningKeyStatus.cjs');
149
150
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
150
151
  require('../models/ScreenTransactionResponse.cjs');
151
152
  require('../models/ScreeningActionEnum.cjs');
@@ -142,6 +142,7 @@ import '../models/OauthResultStatus.js';
142
142
  import '../models/WhenToImplementEnum.js';
143
143
  import '../models/PublishEventsEvents.js';
144
144
  import '../models/ReshareKind.js';
145
+ import '../models/ServerSigningKeyStatus.js';
145
146
  import '../models/SanctionsWalletBlockedEventPayload.js';
146
147
  import '../models/ScreenTransactionResponse.js';
147
148
  import '../models/ScreeningActionEnum.js';
@@ -148,6 +148,7 @@ require('../models/OauthResultStatus.cjs');
148
148
  require('../models/WhenToImplementEnum.cjs');
149
149
  require('../models/PublishEventsEvents.cjs');
150
150
  require('../models/ReshareKind.cjs');
151
+ require('../models/ServerSigningKeyStatus.cjs');
151
152
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
152
153
  require('../models/ScreenTransactionResponse.cjs');
153
154
  require('../models/ScreeningActionEnum.cjs');
@@ -248,7 +249,7 @@ class ScreeningPoliciesApi extends runtime.BaseAPI {
248
249
  return await response.value();
249
250
  }
250
251
  /**
251
- * Removes the environment\'s policy for this vendor. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
252
+ * Removes the environment\'s policy for this provider. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
252
253
  * Delete the screening policy for a vendor
253
254
  */
254
255
  async deleteScreeningPolicyRaw(requestParameters, initOverrides) {
@@ -279,7 +280,7 @@ class ScreeningPoliciesApi extends runtime.BaseAPI {
279
280
  return new runtime.VoidApiResponse(response);
280
281
  }
281
282
  /**
282
- * Removes the environment\'s policy for this vendor. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
283
+ * Removes the environment\'s policy for this provider. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
283
284
  * Delete the screening policy for a vendor
284
285
  */
285
286
  async deleteScreeningPolicy(requestParameters, initOverrides) {
@@ -324,7 +325,7 @@ class ScreeningPoliciesApi extends runtime.BaseAPI {
324
325
  await this.deleteScreeningPolicyAddressRaw(requestParameters, initOverrides);
325
326
  }
326
327
  /**
327
- * Returns the environment\'s stored screening policy for the specified vendor, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
328
+ * Returns the environment\'s stored screening policy for the specified provider, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
328
329
  * Get the screening policy for a vendor
329
330
  */
330
331
  async getScreeningPolicyRaw(requestParameters, initOverrides) {
@@ -355,7 +356,7 @@ class ScreeningPoliciesApi extends runtime.BaseAPI {
355
356
  return new runtime.JSONApiResponse(response, (jsonValue) => ScreeningPolicy.ScreeningPolicyFromJSON(jsonValue));
356
357
  }
357
358
  /**
358
- * Returns the environment\'s stored screening policy for the specified vendor, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
359
+ * Returns the environment\'s stored screening policy for the specified provider, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
359
360
  * Get the screening policy for a vendor
360
361
  */
361
362
  async getScreeningPolicy(requestParameters, initOverrides) {
@@ -363,7 +364,7 @@ class ScreeningPoliciesApi extends runtime.BaseAPI {
363
364
  return await response.value();
364
365
  }
365
366
  /**
366
- * Returns the environment\'s address allow and deny entries for this vendor. The list is shared by both of the vendor\'s policies; each entry states which scopes it applies to.
367
+ * Returns the environment\'s address allow and deny entries for this provider. The list is shared by both of the provider\'s policies; each entry states which scopes it applies to.
367
368
  * List the address exceptions for a screening vendor
368
369
  */
369
370
  async getScreeningPolicyAddressesRaw(requestParameters, initOverrides) {
@@ -397,7 +398,7 @@ class ScreeningPoliciesApi extends runtime.BaseAPI {
397
398
  return new runtime.JSONApiResponse(response, (jsonValue) => ScreeningPolicyAddressesResponse.ScreeningPolicyAddressesResponseFromJSON(jsonValue));
398
399
  }
399
400
  /**
400
- * Returns the environment\'s address allow and deny entries for this vendor. The list is shared by both of the vendor\'s policies; each entry states which scopes it applies to.
401
+ * Returns the environment\'s address allow and deny entries for this provider. The list is shared by both of the provider\'s policies; each entry states which scopes it applies to.
401
402
  * List the address exceptions for a screening vendor
402
403
  */
403
404
  async getScreeningPolicyAddresses(requestParameters, initOverrides) {
@@ -405,7 +406,7 @@ class ScreeningPoliciesApi extends runtime.BaseAPI {
405
406
  return await response.value();
406
407
  }
407
408
  /**
408
- * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this vendor. Edits take effect within the policy cache TTL.
409
+ * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this provider. Edits take effect within the policy cache TTL.
409
410
  * Create or replace the screening policy for a vendor
410
411
  */
411
412
  async replaceScreeningPolicyRaw(requestParameters, initOverrides) {
@@ -441,7 +442,7 @@ class ScreeningPoliciesApi extends runtime.BaseAPI {
441
442
  return new runtime.JSONApiResponse(response, (jsonValue) => ScreeningPolicy.ScreeningPolicyFromJSON(jsonValue));
442
443
  }
443
444
  /**
444
- * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this vendor. Edits take effect within the policy cache TTL.
445
+ * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this provider. Edits take effect within the policy cache TTL.
445
446
  * Create or replace the screening policy for a vendor
446
447
  */
447
448
  async replaceScreeningPolicy(requestParameters, initOverrides) {
@@ -58,12 +58,12 @@ export declare class ScreeningPoliciesApi extends runtime.BaseAPI {
58
58
  */
59
59
  createScreeningPolicyAddress(requestParameters: CreateScreeningPolicyAddressRequest, initOverrides?: RequestInit): Promise<ScreeningPolicyAddress>;
60
60
  /**
61
- * Removes the environment\'s policy for this vendor. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
61
+ * Removes the environment\'s policy for this provider. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
62
62
  * Delete the screening policy for a vendor
63
63
  */
64
64
  deleteScreeningPolicyRaw(requestParameters: DeleteScreeningPolicyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
65
65
  /**
66
- * Removes the environment\'s policy for this vendor. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
66
+ * Removes the environment\'s policy for this provider. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
67
67
  * Delete the screening policy for a vendor
68
68
  */
69
69
  deleteScreeningPolicy(requestParameters: DeleteScreeningPolicyRequest, initOverrides?: RequestInit): Promise<void>;
@@ -78,32 +78,32 @@ export declare class ScreeningPoliciesApi extends runtime.BaseAPI {
78
78
  */
79
79
  deleteScreeningPolicyAddress(requestParameters: DeleteScreeningPolicyAddressRequest, initOverrides?: RequestInit): Promise<void>;
80
80
  /**
81
- * Returns the environment\'s stored screening policy for the specified vendor, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
81
+ * Returns the environment\'s stored screening policy for the specified provider, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
82
82
  * Get the screening policy for a vendor
83
83
  */
84
84
  getScreeningPolicyRaw(requestParameters: GetScreeningPolicyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ScreeningPolicy>>;
85
85
  /**
86
- * Returns the environment\'s stored screening policy for the specified vendor, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
86
+ * Returns the environment\'s stored screening policy for the specified provider, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
87
87
  * Get the screening policy for a vendor
88
88
  */
89
89
  getScreeningPolicy(requestParameters: GetScreeningPolicyRequest, initOverrides?: RequestInit): Promise<ScreeningPolicy>;
90
90
  /**
91
- * Returns the environment\'s address allow and deny entries for this vendor. The list is shared by both of the vendor\'s policies; each entry states which scopes it applies to.
91
+ * Returns the environment\'s address allow and deny entries for this provider. The list is shared by both of the provider\'s policies; each entry states which scopes it applies to.
92
92
  * List the address exceptions for a screening vendor
93
93
  */
94
94
  getScreeningPolicyAddressesRaw(requestParameters: GetScreeningPolicyAddressesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ScreeningPolicyAddressesResponse>>;
95
95
  /**
96
- * Returns the environment\'s address allow and deny entries for this vendor. The list is shared by both of the vendor\'s policies; each entry states which scopes it applies to.
96
+ * Returns the environment\'s address allow and deny entries for this provider. The list is shared by both of the provider\'s policies; each entry states which scopes it applies to.
97
97
  * List the address exceptions for a screening vendor
98
98
  */
99
99
  getScreeningPolicyAddresses(requestParameters: GetScreeningPolicyAddressesRequest, initOverrides?: RequestInit): Promise<ScreeningPolicyAddressesResponse>;
100
100
  /**
101
- * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this vendor. Edits take effect within the policy cache TTL.
101
+ * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this provider. Edits take effect within the policy cache TTL.
102
102
  * Create or replace the screening policy for a vendor
103
103
  */
104
104
  replaceScreeningPolicyRaw(requestParameters: ReplaceScreeningPolicyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ScreeningPolicy>>;
105
105
  /**
106
- * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this vendor. Edits take effect within the policy cache TTL.
106
+ * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this provider. Edits take effect within the policy cache TTL.
107
107
  * Create or replace the screening policy for a vendor
108
108
  */
109
109
  replaceScreeningPolicy(requestParameters: ReplaceScreeningPolicyRequest, initOverrides?: RequestInit): Promise<ScreeningPolicy>;
@@ -144,6 +144,7 @@ import '../models/OauthResultStatus.js';
144
144
  import '../models/WhenToImplementEnum.js';
145
145
  import '../models/PublishEventsEvents.js';
146
146
  import '../models/ReshareKind.js';
147
+ import '../models/ServerSigningKeyStatus.js';
147
148
  import '../models/SanctionsWalletBlockedEventPayload.js';
148
149
  import '../models/ScreenTransactionResponse.js';
149
150
  import '../models/ScreeningActionEnum.js';
@@ -244,7 +245,7 @@ class ScreeningPoliciesApi extends BaseAPI {
244
245
  return await response.value();
245
246
  }
246
247
  /**
247
- * Removes the environment\'s policy for this vendor. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
248
+ * Removes the environment\'s policy for this provider. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
248
249
  * Delete the screening policy for a vendor
249
250
  */
250
251
  async deleteScreeningPolicyRaw(requestParameters, initOverrides) {
@@ -275,7 +276,7 @@ class ScreeningPoliciesApi extends BaseAPI {
275
276
  return new VoidApiResponse(response);
276
277
  }
277
278
  /**
278
- * Removes the environment\'s policy for this vendor. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
279
+ * Removes the environment\'s policy for this provider. Screening reverts to the sanctions floor alone, which is what an environment with no policy has always done.
279
280
  * Delete the screening policy for a vendor
280
281
  */
281
282
  async deleteScreeningPolicy(requestParameters, initOverrides) {
@@ -320,7 +321,7 @@ class ScreeningPoliciesApi extends BaseAPI {
320
321
  await this.deleteScreeningPolicyAddressRaw(requestParameters, initOverrides);
321
322
  }
322
323
  /**
323
- * Returns the environment\'s stored screening policy for the specified vendor, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
324
+ * Returns the environment\'s stored screening policy for the specified provider, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
324
325
  * Get the screening policy for a vendor
325
326
  */
326
327
  async getScreeningPolicyRaw(requestParameters, initOverrides) {
@@ -351,7 +352,7 @@ class ScreeningPoliciesApi extends BaseAPI {
351
352
  return new JSONApiResponse(response, (jsonValue) => ScreeningPolicyFromJSON(jsonValue));
352
353
  }
353
354
  /**
354
- * Returns the environment\'s stored screening policy for the specified vendor, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
355
+ * Returns the environment\'s stored screening policy for the specified provider, including the `revision` an edit must echo back. The sanctions floor is not part of the response: it is generated from code on every screen.
355
356
  * Get the screening policy for a vendor
356
357
  */
357
358
  async getScreeningPolicy(requestParameters, initOverrides) {
@@ -359,7 +360,7 @@ class ScreeningPoliciesApi extends BaseAPI {
359
360
  return await response.value();
360
361
  }
361
362
  /**
362
- * Returns the environment\'s address allow and deny entries for this vendor. The list is shared by both of the vendor\'s policies; each entry states which scopes it applies to.
363
+ * Returns the environment\'s address allow and deny entries for this provider. The list is shared by both of the provider\'s policies; each entry states which scopes it applies to.
363
364
  * List the address exceptions for a screening vendor
364
365
  */
365
366
  async getScreeningPolicyAddressesRaw(requestParameters, initOverrides) {
@@ -393,7 +394,7 @@ class ScreeningPoliciesApi extends BaseAPI {
393
394
  return new JSONApiResponse(response, (jsonValue) => ScreeningPolicyAddressesResponseFromJSON(jsonValue));
394
395
  }
395
396
  /**
396
- * Returns the environment\'s address allow and deny entries for this vendor. The list is shared by both of the vendor\'s policies; each entry states which scopes it applies to.
397
+ * Returns the environment\'s address allow and deny entries for this provider. The list is shared by both of the provider\'s policies; each entry states which scopes it applies to.
397
398
  * List the address exceptions for a screening vendor
398
399
  */
399
400
  async getScreeningPolicyAddresses(requestParameters, initOverrides) {
@@ -401,7 +402,7 @@ class ScreeningPoliciesApi extends BaseAPI {
401
402
  return await response.value();
402
403
  }
403
404
  /**
404
- * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this vendor. Edits take effect within the policy cache TTL.
405
+ * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this provider. Edits take effect within the policy cache TTL.
405
406
  * Create or replace the screening policy for a vendor
406
407
  */
407
408
  async replaceScreeningPolicyRaw(requestParameters, initOverrides) {
@@ -437,7 +438,7 @@ class ScreeningPoliciesApi extends BaseAPI {
437
438
  return new JSONApiResponse(response, (jsonValue) => ScreeningPolicyFromJSON(jsonValue));
438
439
  }
439
440
  /**
440
- * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this vendor. Edits take effect within the policy cache TTL.
441
+ * Replaces the whole rule blob, storing it exactly as sent. Send the `revision` returned by the GET; a stale one is rejected with a 409 rather than overwriting an edit made elsewhere. Omit `revision` only to create the first policy for this provider. Edits take effect within the policy cache TTL.
441
442
  * Create or replace the screening policy for a vendor
442
443
  */
443
444
  async replaceScreeningPolicy(requestParameters, initOverrides) {
@@ -165,6 +165,7 @@ require('../models/OauthResultStatus.cjs');
165
165
  require('../models/WhenToImplementEnum.cjs');
166
166
  require('../models/PublishEventsEvents.cjs');
167
167
  require('../models/ReshareKind.cjs');
168
+ require('../models/ServerSigningKeyStatus.cjs');
168
169
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
169
170
  require('../models/ScreenTransactionResponse.cjs');
170
171
  require('../models/ScreeningActionEnum.cjs');
@@ -161,6 +161,7 @@ import '../models/OauthResultStatus.js';
161
161
  import '../models/WhenToImplementEnum.js';
162
162
  import '../models/PublishEventsEvents.js';
163
163
  import '../models/ReshareKind.js';
164
+ import '../models/ServerSigningKeyStatus.js';
164
165
  import '../models/SanctionsWalletBlockedEventPayload.js';
165
166
  import '../models/ScreenTransactionResponse.js';
166
167
  import '../models/ScreeningActionEnum.js';
@@ -150,6 +150,7 @@ require('../models/WhenToImplementEnum.cjs');
150
150
  require('../models/PublishEventsEvents.cjs');
151
151
  require('../models/ReshareKind.cjs');
152
152
  var RevokeAllSessionsResponse = require('../models/RevokeAllSessionsResponse.cjs');
153
+ require('../models/ServerSigningKeyStatus.cjs');
153
154
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
154
155
  require('../models/ScreenTransactionResponse.cjs');
155
156
  require('../models/ScreeningActionEnum.cjs');
@@ -146,6 +146,7 @@ import '../models/WhenToImplementEnum.js';
146
146
  import '../models/PublishEventsEvents.js';
147
147
  import '../models/ReshareKind.js';
148
148
  import { RevokeAllSessionsResponseFromJSON } from '../models/RevokeAllSessionsResponse.js';
149
+ import '../models/ServerSigningKeyStatus.js';
149
150
  import '../models/SanctionsWalletBlockedEventPayload.js';
150
151
  import '../models/ScreenTransactionResponse.js';
151
152
  import '../models/ScreeningActionEnum.js';
@@ -148,6 +148,7 @@ require('../models/OauthResultStatus.cjs');
148
148
  require('../models/WhenToImplementEnum.cjs');
149
149
  require('../models/PublishEventsEvents.cjs');
150
150
  require('../models/ReshareKind.cjs');
151
+ require('../models/ServerSigningKeyStatus.cjs');
151
152
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
152
153
  require('../models/ScreenTransactionResponse.cjs');
153
154
  require('../models/ScreeningActionEnum.cjs');
@@ -144,6 +144,7 @@ import '../models/OauthResultStatus.js';
144
144
  import '../models/WhenToImplementEnum.js';
145
145
  import '../models/PublishEventsEvents.js';
146
146
  import '../models/ReshareKind.js';
147
+ import '../models/ServerSigningKeyStatus.js';
147
148
  import '../models/SanctionsWalletBlockedEventPayload.js';
148
149
  import '../models/ScreenTransactionResponse.js';
149
150
  import '../models/ScreeningActionEnum.js';
@@ -150,6 +150,7 @@ var PostEnvironmentTokenFields = require('../models/PostEnvironmentTokenFields.c
150
150
  require('../models/TokenScopes.cjs');
151
151
  require('../models/PublishEventsEvents.cjs');
152
152
  require('../models/ReshareKind.cjs');
153
+ require('../models/ServerSigningKeyStatus.cjs');
153
154
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
154
155
  require('../models/ScreenTransactionResponse.cjs');
155
156
  require('../models/ScreeningActionEnum.cjs');
@@ -146,6 +146,7 @@ import { PostEnvironmentTokenFieldsToJSON } from '../models/PostEnvironmentToken
146
146
  import '../models/TokenScopes.js';
147
147
  import '../models/PublishEventsEvents.js';
148
148
  import '../models/ReshareKind.js';
149
+ import '../models/ServerSigningKeyStatus.js';
149
150
  import '../models/SanctionsWalletBlockedEventPayload.js';
150
151
  import '../models/ScreenTransactionResponse.js';
151
152
  import '../models/ScreeningActionEnum.js';
@@ -150,6 +150,7 @@ require('../models/TokenScopes.cjs');
150
150
  var PostTokenFields = require('../models/PostTokenFields.cjs');
151
151
  require('../models/PublishEventsEvents.cjs');
152
152
  require('../models/ReshareKind.cjs');
153
+ require('../models/ServerSigningKeyStatus.cjs');
153
154
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
154
155
  require('../models/ScreenTransactionResponse.cjs');
155
156
  require('../models/ScreeningActionEnum.cjs');
@@ -146,6 +146,7 @@ import '../models/TokenScopes.js';
146
146
  import { PostTokenFieldsToJSON } from '../models/PostTokenFields.js';
147
147
  import '../models/PublishEventsEvents.js';
148
148
  import '../models/ReshareKind.js';
149
+ import '../models/ServerSigningKeyStatus.js';
149
150
  import '../models/SanctionsWalletBlockedEventPayload.js';
150
151
  import '../models/ScreenTransactionResponse.js';
151
152
  import '../models/ScreeningActionEnum.js';
@@ -152,6 +152,7 @@ require('../models/OauthResultStatus.cjs');
152
152
  require('../models/WhenToImplementEnum.cjs');
153
153
  require('../models/PublishEventsEvents.cjs');
154
154
  require('../models/ReshareKind.cjs');
155
+ require('../models/ServerSigningKeyStatus.cjs');
155
156
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
156
157
  require('../models/ScreenTransactionResponse.cjs');
157
158
  require('../models/ScreeningActionEnum.cjs');
@@ -148,6 +148,7 @@ import '../models/OauthResultStatus.js';
148
148
  import '../models/WhenToImplementEnum.js';
149
149
  import '../models/PublishEventsEvents.js';
150
150
  import '../models/ReshareKind.js';
151
+ import '../models/ServerSigningKeyStatus.js';
151
152
  import '../models/SanctionsWalletBlockedEventPayload.js';
152
153
  import '../models/ScreenTransactionResponse.js';
153
154
  import '../models/ScreeningActionEnum.js';
@@ -148,6 +148,7 @@ require('../models/OauthResultStatus.cjs');
148
148
  require('../models/WhenToImplementEnum.cjs');
149
149
  require('../models/PublishEventsEvents.cjs');
150
150
  require('../models/ReshareKind.cjs');
151
+ require('../models/ServerSigningKeyStatus.cjs');
151
152
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
152
153
  require('../models/ScreenTransactionResponse.cjs');
153
154
  require('../models/ScreeningActionEnum.cjs');
@@ -144,6 +144,7 @@ import '../models/OauthResultStatus.js';
144
144
  import '../models/WhenToImplementEnum.js';
145
145
  import '../models/PublishEventsEvents.js';
146
146
  import '../models/ReshareKind.js';
147
+ import '../models/ServerSigningKeyStatus.js';
147
148
  import '../models/SanctionsWalletBlockedEventPayload.js';
148
149
  import '../models/ScreenTransactionResponse.js';
149
150
  import '../models/ScreeningActionEnum.js';
@@ -152,9 +152,11 @@ require('../models/OauthResultStatus.cjs');
152
152
  var OpenRoomResponse = require('../models/OpenRoomResponse.cjs');
153
153
  require('../models/WhenToImplementEnum.cjs');
154
154
  require('../models/PublishEventsEvents.cjs');
155
+ var RegisterServerSigningKeyRequest = require('../models/RegisterServerSigningKeyRequest.cjs');
155
156
  require('../models/ReshareKind.cjs');
156
157
  var RevokeDelegatedAccessRequest = require('../models/RevokeDelegatedAccessRequest.cjs');
157
158
  var RevokeDelegatedAccessResponse = require('../models/RevokeDelegatedAccessResponse.cjs');
159
+ var RevokedServerSigningKeyResponse = require('../models/RevokedServerSigningKeyResponse.cjs');
158
160
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
159
161
  require('../models/ScreenTransactionResponse.cjs');
160
162
  require('../models/ScreeningActionEnum.cjs');
@@ -163,6 +165,9 @@ require('../models/ScreeningAddressScopeEnum.cjs');
163
165
  require('../models/ScreeningPolicyProviderEnum.cjs');
164
166
  require('../models/ScreeningPolicyScopeEnum.cjs');
165
167
  require('../models/ScreeningReason.cjs');
168
+ require('../models/ServerSigningKeyStatus.cjs');
169
+ var ServerSigningKeySummary = require('../models/ServerSigningKeySummary.cjs');
170
+ var ServerSigningKeySummaryList = require('../models/ServerSigningKeySummaryList.cjs');
166
171
  require('../models/SignMessageApprovalQuorumIntent.cjs');
167
172
  require('../models/SignMessageApprovalQuorumRawSign.cjs');
168
173
  require('../models/SignMessageApprovalQuorumSvmTransactionOperation.cjs');
@@ -728,6 +733,33 @@ class WaasApi extends runtime.BaseAPI {
728
733
  const response = await this.getEnvWaasPolicyLayerForDashboardRaw(requestParameters, initOverrides);
729
734
  return await response.value();
730
735
  }
736
+ /**
737
+ * Get one of the environment\'s Server Signing Keys
738
+ */
739
+ async getServerSigningKeyRaw(requestParameters, initOverrides) {
740
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
741
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getServerSigningKey.');
742
+ }
743
+ if (requestParameters.keyId === null || requestParameters.keyId === undefined) {
744
+ throw new runtime.RequiredError('keyId', 'Required parameter requestParameters.keyId was null or undefined when calling getServerSigningKey.');
745
+ }
746
+ const queryParameters = {};
747
+ const headerParameters = {};
748
+ const response = await this.request({
749
+ path: `/environments/{environmentId}/serverSigning/keys/{keyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"keyId"}}`, encodeURIComponent(String(requestParameters.keyId))),
750
+ method: 'GET',
751
+ headers: headerParameters,
752
+ query: queryParameters,
753
+ }, initOverrides);
754
+ return new runtime.JSONApiResponse(response, (jsonValue) => ServerSigningKeySummary.ServerSigningKeySummaryFromJSON(jsonValue));
755
+ }
756
+ /**
757
+ * Get one of the environment\'s Server Signing Keys
758
+ */
759
+ async getServerSigningKey(requestParameters, initOverrides) {
760
+ const response = await this.getServerSigningKeyRaw(requestParameters, initOverrides);
761
+ return await response.value();
762
+ }
731
763
  /**
732
764
  * Returns the WaaS policy for the specified environment.
733
765
  * Get the WAAS policy for an environment
@@ -867,6 +899,30 @@ class WaasApi extends runtime.BaseAPI {
867
899
  const response = await this.getWaasWalletByWalletIdRaw(requestParameters, initOverrides);
868
900
  return await response.value();
869
901
  }
902
+ /**
903
+ * List the environment\'s Server Signing Keys
904
+ */
905
+ async listServerSigningKeysRaw(requestParameters, initOverrides) {
906
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
907
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling listServerSigningKeys.');
908
+ }
909
+ const queryParameters = {};
910
+ const headerParameters = {};
911
+ const response = await this.request({
912
+ path: `/environments/{environmentId}/serverSigning/keys`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
913
+ method: 'GET',
914
+ headers: headerParameters,
915
+ query: queryParameters,
916
+ }, initOverrides);
917
+ return new runtime.JSONApiResponse(response, (jsonValue) => ServerSigningKeySummaryList.ServerSigningKeySummaryListFromJSON(jsonValue));
918
+ }
919
+ /**
920
+ * List the environment\'s Server Signing Keys
921
+ */
922
+ async listServerSigningKeys(requestParameters, initOverrides) {
923
+ const response = await this.listServerSigningKeysRaw(requestParameters, initOverrides);
924
+ return await response.value();
925
+ }
870
926
  /**
871
927
  * Returns the allowed HTTP methods and CORS headers for this endpoint.
872
928
  * Get CORS and allowed methods for delegated access encryption public keys endpoint
@@ -892,6 +948,37 @@ class WaasApi extends runtime.BaseAPI {
892
948
  async optionsDelegatedAccessEncryptionPublicKey(requestParameters, initOverrides) {
893
949
  await this.optionsDelegatedAccessEncryptionPublicKeyRaw(requestParameters, initOverrides);
894
950
  }
951
+ /**
952
+ * Registers a P-256 public key for the named server identity (`serverId`). Dashboard admin JWT only; API tokens are rejected. The server fetches its own assertion on first use. Revoked keys cannot be re-registered.
953
+ * Register a Server Signing Key for a server identity
954
+ */
955
+ async registerServerSigningKeyRaw(requestParameters, initOverrides) {
956
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
957
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling registerServerSigningKey.');
958
+ }
959
+ if (requestParameters.registerServerSigningKeyRequest === null || requestParameters.registerServerSigningKeyRequest === undefined) {
960
+ throw new runtime.RequiredError('registerServerSigningKeyRequest', 'Required parameter requestParameters.registerServerSigningKeyRequest was null or undefined when calling registerServerSigningKey.');
961
+ }
962
+ const queryParameters = {};
963
+ const headerParameters = {};
964
+ headerParameters['Content-Type'] = 'application/json';
965
+ const response = await this.request({
966
+ path: `/environments/{environmentId}/serverSigning/keys`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
967
+ method: 'POST',
968
+ headers: headerParameters,
969
+ query: queryParameters,
970
+ body: RegisterServerSigningKeyRequest.RegisterServerSigningKeyRequestToJSON(requestParameters.registerServerSigningKeyRequest),
971
+ }, initOverrides);
972
+ return new runtime.JSONApiResponse(response, (jsonValue) => ServerSigningKeySummary.ServerSigningKeySummaryFromJSON(jsonValue));
973
+ }
974
+ /**
975
+ * Registers a P-256 public key for the named server identity (`serverId`). Dashboard admin JWT only; API tokens are rejected. The server fetches its own assertion on first use. Revoked keys cannot be re-registered.
976
+ * Register a Server Signing Key for a server identity
977
+ */
978
+ async registerServerSigningKey(requestParameters, initOverrides) {
979
+ const response = await this.registerServerSigningKeyRaw(requestParameters, initOverrides);
980
+ return await response.value();
981
+ }
895
982
  /**
896
983
  * Allows developers to revoke their own delegated access
897
984
  * Revoke delegated access for one or more wallets
@@ -923,6 +1010,35 @@ class WaasApi extends runtime.BaseAPI {
923
1010
  const response = await this.revokeDelegatedAccessRaw(requestParameters, initOverrides);
924
1011
  return await response.value();
925
1012
  }
1013
+ /**
1014
+ * Revocation is terminal and idempotent.
1015
+ * Revoke one of the environment\'s Server Signing Keys
1016
+ */
1017
+ async revokeServerSigningKeyRaw(requestParameters, initOverrides) {
1018
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1019
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling revokeServerSigningKey.');
1020
+ }
1021
+ if (requestParameters.keyId === null || requestParameters.keyId === undefined) {
1022
+ throw new runtime.RequiredError('keyId', 'Required parameter requestParameters.keyId was null or undefined when calling revokeServerSigningKey.');
1023
+ }
1024
+ const queryParameters = {};
1025
+ const headerParameters = {};
1026
+ const response = await this.request({
1027
+ path: `/environments/{environmentId}/serverSigning/keys/{keyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"keyId"}}`, encodeURIComponent(String(requestParameters.keyId))),
1028
+ method: 'DELETE',
1029
+ headers: headerParameters,
1030
+ query: queryParameters,
1031
+ }, initOverrides);
1032
+ return new runtime.JSONApiResponse(response, (jsonValue) => RevokedServerSigningKeyResponse.RevokedServerSigningKeyResponseFromJSON(jsonValue));
1033
+ }
1034
+ /**
1035
+ * Revocation is terminal and idempotent.
1036
+ * Revoke one of the environment\'s Server Signing Keys
1037
+ */
1038
+ async revokeServerSigningKey(requestParameters, initOverrides) {
1039
+ const response = await this.revokeServerSigningKeyRaw(requestParameters, initOverrides);
1040
+ return await response.value();
1041
+ }
926
1042
  /**
927
1043
  * Drives a dry-run request through the same crypto and timeout machinery as the production signing path, against either the saved config or an override supplied in the body. No events are emitted and no signing is affected. Useful for verifying the customer\'s webhook responds correctly to each transaction shape before enabling enforcement.
928
1044
  * Send a synthetic transaction review request to the configured webhook