@dynamic-labs/sdk-api 0.111.0 → 0.112.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.
- package/package.json +1 -1
- package/src/apis/AdminActionsApi.cjs +1 -0
- package/src/apis/AdminActionsApi.js +1 -0
- package/src/apis/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/AuthorizedClientsApi.cjs +1 -0
- package/src/apis/AuthorizedClientsApi.js +1 -0
- package/src/apis/BusinessAccountsApi.cjs +1 -0
- package/src/apis/BusinessAccountsApi.js +1 -0
- package/src/apis/CaptchaApi.cjs +1 -0
- package/src/apis/CaptchaApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CheckoutApi.cjs +1 -0
- package/src/apis/CheckoutApi.js +1 -0
- package/src/apis/ClientGrantApi.cjs +1 -0
- package/src/apis/ClientGrantApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExchangesApi.cjs +1 -0
- package/src/apis/ExchangesApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/FlowAnalyticsApi.cjs +1 -0
- package/src/apis/FlowAnalyticsApi.js +1 -0
- package/src/apis/GaslessApi.cjs +1 -0
- package/src/apis/GaslessApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/KybApi.cjs +1 -0
- package/src/apis/KybApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationSettingsApi.cjs +1 -0
- package/src/apis/OrganizationSettingsApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/ProvidersApi.cjs +1 -0
- package/src/apis/ProvidersApi.js +1 -0
- package/src/apis/SDKApi.cjs +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ScreeningPoliciesApi.cjs +1 -0
- package/src/apis/ScreeningPoliciesApi.js +1 -0
- package/src/apis/ServerApi.cjs +1 -0
- package/src/apis/ServerApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.cjs +3 -2
- package/src/apis/WaasApi.d.ts +2 -2
- package/src/apis/WaasApi.js +3 -2
- package/src/apis/WalletConnectApi.cjs +1 -0
- package/src/apis/WalletConnectApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/apis/YieldApi.cjs +1 -0
- package/src/apis/YieldApi.js +1 -0
- package/src/apis/ZendeskApi.cjs +1 -0
- package/src/apis/ZendeskApi.js +1 -0
- package/src/index.cjs +12 -0
- package/src/index.js +2 -0
- package/src/models/RegisterServerSigningKeyRequest.cjs +3 -0
- package/src/models/RegisterServerSigningKeyRequest.d.ts +8 -1
- package/src/models/RegisterServerSigningKeyRequest.js +3 -0
- package/src/models/ServerSigningRegistrationConsent.cjs +59 -0
- package/src/models/ServerSigningRegistrationConsent.d.ts +58 -0
- package/src/models/ServerSigningRegistrationConsent.js +53 -0
- package/src/models/ServerSigningRegistrationError.cjs +35 -0
- package/src/models/ServerSigningRegistrationError.d.ts +33 -0
- package/src/models/ServerSigningRegistrationError.js +29 -0
- package/src/models/index.d.ts +2 -0
|
@@ -155,6 +155,7 @@ import { OrganizationRequestToJSON } from '../models/OrganizationRequest.js';
|
|
|
155
155
|
import { OrganizationResponseFromJSON } from '../models/OrganizationResponse.js';
|
|
156
156
|
import { OrganizationsResponseFromJSON } from '../models/OrganizationsResponse.js';
|
|
157
157
|
import '../models/PublishEventsEvents.js';
|
|
158
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
158
159
|
import '../models/ReshareKind.js';
|
|
159
160
|
import '../models/ServerSigningKeyStatus.js';
|
|
160
161
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/OriginsApi.cjs
CHANGED
|
@@ -155,6 +155,7 @@ require('../models/OauthResultStatus.cjs');
|
|
|
155
155
|
require('../models/WhenToImplementEnum.cjs');
|
|
156
156
|
var OriginsResponse = require('../models/OriginsResponse.cjs');
|
|
157
157
|
require('../models/PublishEventsEvents.cjs');
|
|
158
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
158
159
|
require('../models/ReshareKind.cjs');
|
|
159
160
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
160
161
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/OriginsApi.js
CHANGED
|
@@ -151,6 +151,7 @@ import '../models/OauthResultStatus.js';
|
|
|
151
151
|
import '../models/WhenToImplementEnum.js';
|
|
152
152
|
import { OriginsResponseFromJSON } from '../models/OriginsResponse.js';
|
|
153
153
|
import '../models/PublishEventsEvents.js';
|
|
154
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
154
155
|
import '../models/ReshareKind.js';
|
|
155
156
|
import '../models/ServerSigningKeyStatus.js';
|
|
156
157
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/ProjectsApi.cjs
CHANGED
|
@@ -156,6 +156,7 @@ var Project = require('../models/Project.cjs');
|
|
|
156
156
|
var ProjectRequest = require('../models/ProjectRequest.cjs');
|
|
157
157
|
var ProjectsResponse = require('../models/ProjectsResponse.cjs');
|
|
158
158
|
require('../models/PublishEventsEvents.cjs');
|
|
159
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
159
160
|
require('../models/ReshareKind.cjs');
|
|
160
161
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
161
162
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/ProjectsApi.js
CHANGED
|
@@ -152,6 +152,7 @@ import { ProjectFromJSON } from '../models/Project.js';
|
|
|
152
152
|
import { ProjectRequestToJSON } from '../models/ProjectRequest.js';
|
|
153
153
|
import { ProjectsResponseFromJSON } from '../models/ProjectsResponse.js';
|
|
154
154
|
import '../models/PublishEventsEvents.js';
|
|
155
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
155
156
|
import '../models/ReshareKind.js';
|
|
156
157
|
import '../models/ServerSigningKeyStatus.js';
|
|
157
158
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
@@ -156,6 +156,7 @@ var ProviderUpdateRequest = require('../models/ProviderUpdateRequest.cjs');
|
|
|
156
156
|
var ProviderUrlsResponse = require('../models/ProviderUrlsResponse.cjs');
|
|
157
157
|
var ProvidersResponse = require('../models/ProvidersResponse.cjs');
|
|
158
158
|
require('../models/PublishEventsEvents.cjs');
|
|
159
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
159
160
|
require('../models/ReshareKind.cjs');
|
|
160
161
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
161
162
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/ProvidersApi.js
CHANGED
|
@@ -152,6 +152,7 @@ import { ProviderUpdateRequestToJSON } from '../models/ProviderUpdateRequest.js'
|
|
|
152
152
|
import { ProviderUrlsResponseFromJSON } from '../models/ProviderUrlsResponse.js';
|
|
153
153
|
import { ProvidersResponseFromJSON } from '../models/ProvidersResponse.js';
|
|
154
154
|
import '../models/PublishEventsEvents.js';
|
|
155
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
155
156
|
import '../models/ReshareKind.js';
|
|
156
157
|
import '../models/ServerSigningKeyStatus.js';
|
|
157
158
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -283,6 +283,7 @@ var RecoverMultipleClientKeySharesResponse = require('../models/RecoverMultipleC
|
|
|
283
283
|
var RefreshKeySharesRequest = require('../models/RefreshKeySharesRequest.cjs');
|
|
284
284
|
var RefreshKeySharesResponse = require('../models/RefreshKeySharesResponse.cjs');
|
|
285
285
|
var RegisterEmbeddedWalletSessionKeyResponse = require('../models/RegisterEmbeddedWalletSessionKeyResponse.cjs');
|
|
286
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
286
287
|
var RegisterSessionKeyRequest = require('../models/RegisterSessionKeyRequest.cjs');
|
|
287
288
|
var RemoveBusinessAccountMemberSdkRequest = require('../models/RemoveBusinessAccountMemberSdkRequest.cjs');
|
|
288
289
|
var RemoveBusinessAccountSignerSdkRequest = require('../models/RemoveBusinessAccountSignerSdkRequest.cjs');
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -279,6 +279,7 @@ import { RecoverMultipleClientKeySharesResponseFromJSON } from '../models/Recove
|
|
|
279
279
|
import { RefreshKeySharesRequestToJSON } from '../models/RefreshKeySharesRequest.js';
|
|
280
280
|
import { RefreshKeySharesResponseFromJSON } from '../models/RefreshKeySharesResponse.js';
|
|
281
281
|
import { RegisterEmbeddedWalletSessionKeyResponseFromJSON } from '../models/RegisterEmbeddedWalletSessionKeyResponse.js';
|
|
282
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
282
283
|
import { RegisterSessionKeyRequestToJSON } from '../models/RegisterSessionKeyRequest.js';
|
|
283
284
|
import { RemoveBusinessAccountMemberSdkRequestToJSON } from '../models/RemoveBusinessAccountMemberSdkRequest.js';
|
|
284
285
|
import { RemoveBusinessAccountSignerSdkRequestToJSON } from '../models/RemoveBusinessAccountSignerSdkRequest.js';
|
package/src/apis/SDKViewsApi.cjs
CHANGED
|
@@ -150,6 +150,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
150
150
|
require('../models/OauthResultStatus.cjs');
|
|
151
151
|
require('../models/WhenToImplementEnum.cjs');
|
|
152
152
|
require('../models/PublishEventsEvents.cjs');
|
|
153
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
153
154
|
require('../models/ReshareKind.cjs');
|
|
154
155
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
155
156
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/SDKViewsApi.js
CHANGED
|
@@ -146,6 +146,7 @@ import '../models/NextViewEnum.js';
|
|
|
146
146
|
import '../models/OauthResultStatus.js';
|
|
147
147
|
import '../models/WhenToImplementEnum.js';
|
|
148
148
|
import '../models/PublishEventsEvents.js';
|
|
149
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
149
150
|
import '../models/ReshareKind.js';
|
|
150
151
|
import '../models/ServerSigningKeyStatus.js';
|
|
151
152
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
@@ -152,6 +152,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
152
152
|
require('../models/OauthResultStatus.cjs');
|
|
153
153
|
require('../models/WhenToImplementEnum.cjs');
|
|
154
154
|
require('../models/PublishEventsEvents.cjs');
|
|
155
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
155
156
|
require('../models/ReshareKind.cjs');
|
|
156
157
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
157
158
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
|
@@ -148,6 +148,7 @@ import '../models/NextViewEnum.js';
|
|
|
148
148
|
import '../models/OauthResultStatus.js';
|
|
149
149
|
import '../models/WhenToImplementEnum.js';
|
|
150
150
|
import '../models/PublishEventsEvents.js';
|
|
151
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
151
152
|
import '../models/ReshareKind.js';
|
|
152
153
|
import '../models/ServerSigningKeyStatus.js';
|
|
153
154
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/ServerApi.cjs
CHANGED
|
@@ -169,6 +169,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
169
169
|
require('../models/OauthResultStatus.cjs');
|
|
170
170
|
require('../models/WhenToImplementEnum.cjs');
|
|
171
171
|
require('../models/PublishEventsEvents.cjs');
|
|
172
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
172
173
|
require('../models/ReshareKind.cjs');
|
|
173
174
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
174
175
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/ServerApi.js
CHANGED
|
@@ -165,6 +165,7 @@ import '../models/NextViewEnum.js';
|
|
|
165
165
|
import '../models/OauthResultStatus.js';
|
|
166
166
|
import '../models/WhenToImplementEnum.js';
|
|
167
167
|
import '../models/PublishEventsEvents.js';
|
|
168
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
168
169
|
import '../models/ReshareKind.js';
|
|
169
170
|
import '../models/ServerSigningKeyStatus.js';
|
|
170
171
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/SessionsApi.cjs
CHANGED
|
@@ -153,6 +153,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
153
153
|
require('../models/OauthResultStatus.cjs');
|
|
154
154
|
require('../models/WhenToImplementEnum.cjs');
|
|
155
155
|
require('../models/PublishEventsEvents.cjs');
|
|
156
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
156
157
|
require('../models/ReshareKind.cjs');
|
|
157
158
|
var RevokeAllSessionsResponse = require('../models/RevokeAllSessionsResponse.cjs');
|
|
158
159
|
require('../models/ServerSigningKeyStatus.cjs');
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -149,6 +149,7 @@ import '../models/NextViewEnum.js';
|
|
|
149
149
|
import '../models/OauthResultStatus.js';
|
|
150
150
|
import '../models/WhenToImplementEnum.js';
|
|
151
151
|
import '../models/PublishEventsEvents.js';
|
|
152
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
152
153
|
import '../models/ReshareKind.js';
|
|
153
154
|
import { RevokeAllSessionsResponseFromJSON } from '../models/RevokeAllSessionsResponse.js';
|
|
154
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
@@ -152,6 +152,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
152
152
|
require('../models/OauthResultStatus.cjs');
|
|
153
153
|
require('../models/WhenToImplementEnum.cjs');
|
|
154
154
|
require('../models/PublishEventsEvents.cjs');
|
|
155
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
155
156
|
require('../models/ReshareKind.cjs');
|
|
156
157
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
157
158
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
|
@@ -148,6 +148,7 @@ import '../models/NextViewEnum.js';
|
|
|
148
148
|
import '../models/OauthResultStatus.js';
|
|
149
149
|
import '../models/WhenToImplementEnum.js';
|
|
150
150
|
import '../models/PublishEventsEvents.js';
|
|
151
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
151
152
|
import '../models/ReshareKind.js';
|
|
152
153
|
import '../models/ServerSigningKeyStatus.js';
|
|
153
154
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/TokensApi.cjs
CHANGED
|
@@ -154,6 +154,7 @@ require('../models/WhenToImplementEnum.cjs');
|
|
|
154
154
|
var PostEnvironmentTokenFields = require('../models/PostEnvironmentTokenFields.cjs');
|
|
155
155
|
require('../models/TokenScopes.cjs');
|
|
156
156
|
require('../models/PublishEventsEvents.cjs');
|
|
157
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
157
158
|
require('../models/ReshareKind.cjs');
|
|
158
159
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
159
160
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/TokensApi.js
CHANGED
|
@@ -150,6 +150,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
150
150
|
import { PostEnvironmentTokenFieldsToJSON } from '../models/PostEnvironmentTokenFields.js';
|
|
151
151
|
import '../models/TokenScopes.js';
|
|
152
152
|
import '../models/PublishEventsEvents.js';
|
|
153
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
153
154
|
import '../models/ReshareKind.js';
|
|
154
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
155
156
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
@@ -154,6 +154,7 @@ require('../models/WhenToImplementEnum.cjs');
|
|
|
154
154
|
require('../models/TokenScopes.cjs');
|
|
155
155
|
var PostTokenFields = require('../models/PostTokenFields.cjs');
|
|
156
156
|
require('../models/PublishEventsEvents.cjs');
|
|
157
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
157
158
|
require('../models/ReshareKind.cjs');
|
|
158
159
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
159
160
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
|
@@ -150,6 +150,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
150
150
|
import '../models/TokenScopes.js';
|
|
151
151
|
import { PostTokenFieldsToJSON } from '../models/PostTokenFields.js';
|
|
152
152
|
import '../models/PublishEventsEvents.js';
|
|
153
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
153
154
|
import '../models/ReshareKind.js';
|
|
154
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
155
156
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/UsersApi.cjs
CHANGED
|
@@ -156,6 +156,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
156
156
|
require('../models/OauthResultStatus.cjs');
|
|
157
157
|
require('../models/WhenToImplementEnum.cjs');
|
|
158
158
|
require('../models/PublishEventsEvents.cjs');
|
|
159
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
159
160
|
require('../models/ReshareKind.cjs');
|
|
160
161
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
161
162
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -152,6 +152,7 @@ import '../models/NextViewEnum.js';
|
|
|
152
152
|
import '../models/OauthResultStatus.js';
|
|
153
153
|
import '../models/WhenToImplementEnum.js';
|
|
154
154
|
import '../models/PublishEventsEvents.js';
|
|
155
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
155
156
|
import '../models/ReshareKind.js';
|
|
156
157
|
import '../models/ServerSigningKeyStatus.js';
|
|
157
158
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/VisitsApi.cjs
CHANGED
|
@@ -152,6 +152,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
152
152
|
require('../models/OauthResultStatus.cjs');
|
|
153
153
|
require('../models/WhenToImplementEnum.cjs');
|
|
154
154
|
require('../models/PublishEventsEvents.cjs');
|
|
155
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
155
156
|
require('../models/ReshareKind.cjs');
|
|
156
157
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
157
158
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -148,6 +148,7 @@ import '../models/NextViewEnum.js';
|
|
|
148
148
|
import '../models/OauthResultStatus.js';
|
|
149
149
|
import '../models/WhenToImplementEnum.js';
|
|
150
150
|
import '../models/PublishEventsEvents.js';
|
|
151
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
151
152
|
import '../models/ReshareKind.js';
|
|
152
153
|
import '../models/ServerSigningKeyStatus.js';
|
|
153
154
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -173,6 +173,7 @@ require('../models/ScreeningReason.cjs');
|
|
|
173
173
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
174
174
|
var ServerSigningKeySummary = require('../models/ServerSigningKeySummary.cjs');
|
|
175
175
|
var ServerSigningKeySummaryList = require('../models/ServerSigningKeySummaryList.cjs');
|
|
176
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
176
177
|
require('../models/SignMessageApprovalQuorumIntent.cjs');
|
|
177
178
|
require('../models/SignMessageApprovalQuorumIntentLifetime.cjs');
|
|
178
179
|
require('../models/SignMessageApprovalQuorumRawSign.cjs');
|
|
@@ -827,7 +828,7 @@ class WaasApi extends runtime.BaseAPI {
|
|
|
827
828
|
await this.optionsDelegatedAccessEncryptionPublicKeyRaw(requestParameters, initOverrides);
|
|
828
829
|
}
|
|
829
830
|
/**
|
|
830
|
-
* Registers a P-256 public key for
|
|
831
|
+
* Registers a P-256 public key for the server signer named by the admin\'s signed `consent`, creating the signer if needed. auth-service verifies the consent, so a key the admin did not consent to cannot be registered. Dashboard admin JWT only. Registering the same key again returns it. An identifier used by another environment\'s signer is a 409, and revoked keys cannot be re-registered. An invalid consent (malformed, older than 5 minutes, unverified or mismatched) is a 400, with the reason in `code`.
|
|
831
832
|
* Register a Server Signing Key for a server identity
|
|
832
833
|
*/
|
|
833
834
|
async registerServerSigningKeyRaw(requestParameters, initOverrides) {
|
|
@@ -850,7 +851,7 @@ class WaasApi extends runtime.BaseAPI {
|
|
|
850
851
|
return new runtime.JSONApiResponse(response, (jsonValue) => ServerSigningKeySummary.ServerSigningKeySummaryFromJSON(jsonValue));
|
|
851
852
|
}
|
|
852
853
|
/**
|
|
853
|
-
* Registers a P-256 public key for
|
|
854
|
+
* Registers a P-256 public key for the server signer named by the admin\'s signed `consent`, creating the signer if needed. auth-service verifies the consent, so a key the admin did not consent to cannot be registered. Dashboard admin JWT only. Registering the same key again returns it. An identifier used by another environment\'s signer is a 409, and revoked keys cannot be re-registered. An invalid consent (malformed, older than 5 minutes, unverified or mismatched) is a 400, with the reason in `code`.
|
|
854
855
|
* Register a Server Signing Key for a server identity
|
|
855
856
|
*/
|
|
856
857
|
async registerServerSigningKey(requestParameters, initOverrides) {
|
package/src/apis/WaasApi.d.ts
CHANGED
|
@@ -329,12 +329,12 @@ export declare class WaasApi extends runtime.BaseAPI {
|
|
|
329
329
|
*/
|
|
330
330
|
optionsDelegatedAccessEncryptionPublicKey(requestParameters: OptionsDelegatedAccessEncryptionPublicKeyRequest, initOverrides?: RequestInit): Promise<void>;
|
|
331
331
|
/**
|
|
332
|
-
* Registers a P-256 public key for
|
|
332
|
+
* Registers a P-256 public key for the server signer named by the admin\'s signed `consent`, creating the signer if needed. auth-service verifies the consent, so a key the admin did not consent to cannot be registered. Dashboard admin JWT only. Registering the same key again returns it. An identifier used by another environment\'s signer is a 409, and revoked keys cannot be re-registered. An invalid consent (malformed, older than 5 minutes, unverified or mismatched) is a 400, with the reason in `code`.
|
|
333
333
|
* Register a Server Signing Key for a server identity
|
|
334
334
|
*/
|
|
335
335
|
registerServerSigningKeyRaw(requestParameters: RegisterServerSigningKeyOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ServerSigningKeySummary>>;
|
|
336
336
|
/**
|
|
337
|
-
* Registers a P-256 public key for
|
|
337
|
+
* Registers a P-256 public key for the server signer named by the admin\'s signed `consent`, creating the signer if needed. auth-service verifies the consent, so a key the admin did not consent to cannot be registered. Dashboard admin JWT only. Registering the same key again returns it. An identifier used by another environment\'s signer is a 409, and revoked keys cannot be re-registered. An invalid consent (malformed, older than 5 minutes, unverified or mismatched) is a 400, with the reason in `code`.
|
|
338
338
|
* Register a Server Signing Key for a server identity
|
|
339
339
|
*/
|
|
340
340
|
registerServerSigningKey(requestParameters: RegisterServerSigningKeyOperationRequest, initOverrides?: RequestInit): Promise<ServerSigningKeySummary>;
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -169,6 +169,7 @@ import '../models/ScreeningReason.js';
|
|
|
169
169
|
import '../models/ServerSigningKeyStatus.js';
|
|
170
170
|
import { ServerSigningKeySummaryFromJSON } from '../models/ServerSigningKeySummary.js';
|
|
171
171
|
import { ServerSigningKeySummaryListFromJSON } from '../models/ServerSigningKeySummaryList.js';
|
|
172
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
172
173
|
import '../models/SignMessageApprovalQuorumIntent.js';
|
|
173
174
|
import '../models/SignMessageApprovalQuorumIntentLifetime.js';
|
|
174
175
|
import '../models/SignMessageApprovalQuorumRawSign.js';
|
|
@@ -823,7 +824,7 @@ class WaasApi extends BaseAPI {
|
|
|
823
824
|
await this.optionsDelegatedAccessEncryptionPublicKeyRaw(requestParameters, initOverrides);
|
|
824
825
|
}
|
|
825
826
|
/**
|
|
826
|
-
* Registers a P-256 public key for
|
|
827
|
+
* Registers a P-256 public key for the server signer named by the admin\'s signed `consent`, creating the signer if needed. auth-service verifies the consent, so a key the admin did not consent to cannot be registered. Dashboard admin JWT only. Registering the same key again returns it. An identifier used by another environment\'s signer is a 409, and revoked keys cannot be re-registered. An invalid consent (malformed, older than 5 minutes, unverified or mismatched) is a 400, with the reason in `code`.
|
|
827
828
|
* Register a Server Signing Key for a server identity
|
|
828
829
|
*/
|
|
829
830
|
async registerServerSigningKeyRaw(requestParameters, initOverrides) {
|
|
@@ -846,7 +847,7 @@ class WaasApi extends BaseAPI {
|
|
|
846
847
|
return new JSONApiResponse(response, (jsonValue) => ServerSigningKeySummaryFromJSON(jsonValue));
|
|
847
848
|
}
|
|
848
849
|
/**
|
|
849
|
-
* Registers a P-256 public key for
|
|
850
|
+
* Registers a P-256 public key for the server signer named by the admin\'s signed `consent`, creating the signer if needed. auth-service verifies the consent, so a key the admin did not consent to cannot be registered. Dashboard admin JWT only. Registering the same key again returns it. An identifier used by another environment\'s signer is a 409, and revoked keys cannot be re-registered. An invalid consent (malformed, older than 5 minutes, unverified or mismatched) is a 400, with the reason in `code`.
|
|
850
851
|
* Register a Server Signing Key for a server identity
|
|
851
852
|
*/
|
|
852
853
|
async registerServerSigningKey(requestParameters, initOverrides) {
|
|
@@ -152,6 +152,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
152
152
|
require('../models/OauthResultStatus.cjs');
|
|
153
153
|
require('../models/WhenToImplementEnum.cjs');
|
|
154
154
|
require('../models/PublishEventsEvents.cjs');
|
|
155
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
155
156
|
require('../models/ReshareKind.cjs');
|
|
156
157
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
157
158
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
|
@@ -148,6 +148,7 @@ import '../models/NextViewEnum.js';
|
|
|
148
148
|
import '../models/OauthResultStatus.js';
|
|
149
149
|
import '../models/WhenToImplementEnum.js';
|
|
150
150
|
import '../models/PublishEventsEvents.js';
|
|
151
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
151
152
|
import '../models/ReshareKind.js';
|
|
152
153
|
import '../models/ServerSigningKeyStatus.js';
|
|
153
154
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -156,6 +156,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
156
156
|
require('../models/OauthResultStatus.cjs');
|
|
157
157
|
require('../models/WhenToImplementEnum.cjs');
|
|
158
158
|
require('../models/PublishEventsEvents.cjs');
|
|
159
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
159
160
|
require('../models/ReshareKind.cjs');
|
|
160
161
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
161
162
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -152,6 +152,7 @@ import '../models/NextViewEnum.js';
|
|
|
152
152
|
import '../models/OauthResultStatus.js';
|
|
153
153
|
import '../models/WhenToImplementEnum.js';
|
|
154
154
|
import '../models/PublishEventsEvents.js';
|
|
155
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
155
156
|
import '../models/ReshareKind.js';
|
|
156
157
|
import '../models/ServerSigningKeyStatus.js';
|
|
157
158
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/WebhooksApi.cjs
CHANGED
|
@@ -152,6 +152,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
152
152
|
require('../models/OauthResultStatus.cjs');
|
|
153
153
|
require('../models/WhenToImplementEnum.cjs');
|
|
154
154
|
require('../models/PublishEventsEvents.cjs');
|
|
155
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
155
156
|
require('../models/ReshareKind.cjs');
|
|
156
157
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
157
158
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -148,6 +148,7 @@ import '../models/NextViewEnum.js';
|
|
|
148
148
|
import '../models/OauthResultStatus.js';
|
|
149
149
|
import '../models/WhenToImplementEnum.js';
|
|
150
150
|
import '../models/PublishEventsEvents.js';
|
|
151
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
151
152
|
import '../models/ReshareKind.js';
|
|
152
153
|
import '../models/ServerSigningKeyStatus.js';
|
|
153
154
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/YieldApi.cjs
CHANGED
|
@@ -152,6 +152,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
152
152
|
require('../models/OauthResultStatus.cjs');
|
|
153
153
|
require('../models/WhenToImplementEnum.cjs');
|
|
154
154
|
require('../models/PublishEventsEvents.cjs');
|
|
155
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
155
156
|
require('../models/ReshareKind.cjs');
|
|
156
157
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
157
158
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/YieldApi.js
CHANGED
|
@@ -148,6 +148,7 @@ import '../models/NextViewEnum.js';
|
|
|
148
148
|
import '../models/OauthResultStatus.js';
|
|
149
149
|
import '../models/WhenToImplementEnum.js';
|
|
150
150
|
import '../models/PublishEventsEvents.js';
|
|
151
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
151
152
|
import '../models/ReshareKind.js';
|
|
152
153
|
import '../models/ServerSigningKeyStatus.js';
|
|
153
154
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/apis/ZendeskApi.cjs
CHANGED
|
@@ -152,6 +152,7 @@ require('../models/NextViewEnum.cjs');
|
|
|
152
152
|
require('../models/OauthResultStatus.cjs');
|
|
153
153
|
require('../models/WhenToImplementEnum.cjs');
|
|
154
154
|
require('../models/PublishEventsEvents.cjs');
|
|
155
|
+
require('../models/ServerSigningRegistrationConsent.cjs');
|
|
155
156
|
require('../models/ReshareKind.cjs');
|
|
156
157
|
require('../models/ServerSigningKeyStatus.cjs');
|
|
157
158
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
package/src/apis/ZendeskApi.js
CHANGED
|
@@ -148,6 +148,7 @@ import '../models/NextViewEnum.js';
|
|
|
148
148
|
import '../models/OauthResultStatus.js';
|
|
149
149
|
import '../models/WhenToImplementEnum.js';
|
|
150
150
|
import '../models/PublishEventsEvents.js';
|
|
151
|
+
import '../models/ServerSigningRegistrationConsent.js';
|
|
151
152
|
import '../models/ReshareKind.js';
|
|
152
153
|
import '../models/ServerSigningKeyStatus.js';
|
|
153
154
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
package/src/index.cjs
CHANGED
|
@@ -769,6 +769,8 @@ var ServerIdentityResponse = require('./models/ServerIdentityResponse.cjs');
|
|
|
769
769
|
var ServerSigningKeyStatus = require('./models/ServerSigningKeyStatus.cjs');
|
|
770
770
|
var ServerSigningKeySummary = require('./models/ServerSigningKeySummary.cjs');
|
|
771
771
|
var ServerSigningKeySummaryList = require('./models/ServerSigningKeySummaryList.cjs');
|
|
772
|
+
var ServerSigningRegistrationConsent = require('./models/ServerSigningRegistrationConsent.cjs');
|
|
773
|
+
var ServerSigningRegistrationError = require('./models/ServerSigningRegistrationError.cjs');
|
|
772
774
|
var Session = require('./models/Session.cjs');
|
|
773
775
|
var SessionsHeatmapResult = require('./models/SessionsHeatmapResult.cjs');
|
|
774
776
|
var SessionsResponse = require('./models/SessionsResponse.cjs');
|
|
@@ -3903,6 +3905,16 @@ exports.ServerSigningKeySummaryToJSON = ServerSigningKeySummary.ServerSigningKey
|
|
|
3903
3905
|
exports.ServerSigningKeySummaryListFromJSON = ServerSigningKeySummaryList.ServerSigningKeySummaryListFromJSON;
|
|
3904
3906
|
exports.ServerSigningKeySummaryListFromJSONTyped = ServerSigningKeySummaryList.ServerSigningKeySummaryListFromJSONTyped;
|
|
3905
3907
|
exports.ServerSigningKeySummaryListToJSON = ServerSigningKeySummaryList.ServerSigningKeySummaryListToJSON;
|
|
3908
|
+
Object.defineProperty(exports, 'ServerSigningRegistrationConsentActionEnum', {
|
|
3909
|
+
enumerable: true,
|
|
3910
|
+
get: function () { return ServerSigningRegistrationConsent.ServerSigningRegistrationConsentActionEnum; }
|
|
3911
|
+
});
|
|
3912
|
+
exports.ServerSigningRegistrationConsentFromJSON = ServerSigningRegistrationConsent.ServerSigningRegistrationConsentFromJSON;
|
|
3913
|
+
exports.ServerSigningRegistrationConsentFromJSONTyped = ServerSigningRegistrationConsent.ServerSigningRegistrationConsentFromJSONTyped;
|
|
3914
|
+
exports.ServerSigningRegistrationConsentToJSON = ServerSigningRegistrationConsent.ServerSigningRegistrationConsentToJSON;
|
|
3915
|
+
exports.ServerSigningRegistrationErrorFromJSON = ServerSigningRegistrationError.ServerSigningRegistrationErrorFromJSON;
|
|
3916
|
+
exports.ServerSigningRegistrationErrorFromJSONTyped = ServerSigningRegistrationError.ServerSigningRegistrationErrorFromJSONTyped;
|
|
3917
|
+
exports.ServerSigningRegistrationErrorToJSON = ServerSigningRegistrationError.ServerSigningRegistrationErrorToJSON;
|
|
3906
3918
|
exports.SessionFromJSON = Session.SessionFromJSON;
|
|
3907
3919
|
exports.SessionFromJSONTyped = Session.SessionFromJSONTyped;
|
|
3908
3920
|
exports.SessionToJSON = Session.SessionToJSON;
|
package/src/index.js
CHANGED
|
@@ -765,6 +765,8 @@ export { ServerIdentityResponseFromJSON, ServerIdentityResponseFromJSONTyped, Se
|
|
|
765
765
|
export { ServerSigningKeyStatus, ServerSigningKeyStatusFromJSON, ServerSigningKeyStatusFromJSONTyped, ServerSigningKeyStatusToJSON } from './models/ServerSigningKeyStatus.js';
|
|
766
766
|
export { ServerSigningKeySummaryFromJSON, ServerSigningKeySummaryFromJSONTyped, ServerSigningKeySummaryToJSON } from './models/ServerSigningKeySummary.js';
|
|
767
767
|
export { ServerSigningKeySummaryListFromJSON, ServerSigningKeySummaryListFromJSONTyped, ServerSigningKeySummaryListToJSON } from './models/ServerSigningKeySummaryList.js';
|
|
768
|
+
export { ServerSigningRegistrationConsentActionEnum, ServerSigningRegistrationConsentFromJSON, ServerSigningRegistrationConsentFromJSONTyped, ServerSigningRegistrationConsentToJSON } from './models/ServerSigningRegistrationConsent.js';
|
|
769
|
+
export { ServerSigningRegistrationErrorFromJSON, ServerSigningRegistrationErrorFromJSONTyped, ServerSigningRegistrationErrorToJSON } from './models/ServerSigningRegistrationError.js';
|
|
768
770
|
export { SessionFromJSON, SessionFromJSONTyped, SessionToJSON } from './models/Session.js';
|
|
769
771
|
export { SessionsHeatmapResultFromJSON, SessionsHeatmapResultFromJSONTyped, SessionsHeatmapResultToJSON } from './models/SessionsHeatmapResult.js';
|
|
770
772
|
export { SessionsResponseFromJSON, SessionsResponseFromJSONTyped, SessionsResponseToJSON } from './models/SessionsResponse.js';
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ServerSigningRegistrationConsent = require('./ServerSigningRegistrationConsent.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function RegisterServerSigningKeyRequestFromJSON(json) {
|
|
@@ -13,6 +14,7 @@ function RegisterServerSigningKeyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
13
14
|
return json;
|
|
14
15
|
}
|
|
15
16
|
return {
|
|
17
|
+
'consent': ServerSigningRegistrationConsent.ServerSigningRegistrationConsentFromJSON(json['consent']),
|
|
16
18
|
'serverIdentifier': !runtime.exists(json, 'serverIdentifier') ? undefined : json['serverIdentifier'],
|
|
17
19
|
'publicSigningKey': json['publicSigningKey'],
|
|
18
20
|
'label': !runtime.exists(json, 'label') ? undefined : json['label'],
|
|
@@ -26,6 +28,7 @@ function RegisterServerSigningKeyRequestToJSON(value) {
|
|
|
26
28
|
return null;
|
|
27
29
|
}
|
|
28
30
|
return {
|
|
31
|
+
'consent': ServerSigningRegistrationConsent.ServerSigningRegistrationConsentToJSON(value.consent),
|
|
29
32
|
'serverIdentifier': value.serverIdentifier,
|
|
30
33
|
'publicSigningKey': value.publicSigningKey,
|
|
31
34
|
'label': value.label,
|
|
@@ -9,12 +9,19 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ServerSigningRegistrationConsent } from './ServerSigningRegistrationConsent';
|
|
12
13
|
/**
|
|
13
|
-
*
|
|
14
|
+
* `publicSigningKey` and `serverIdentifier` must equal the ones in the signed `consent`.
|
|
14
15
|
* @export
|
|
15
16
|
* @interface RegisterServerSigningKeyRequest
|
|
16
17
|
*/
|
|
17
18
|
export interface RegisterServerSigningKeyRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ServerSigningRegistrationConsent}
|
|
22
|
+
* @memberof RegisterServerSigningKeyRequest
|
|
23
|
+
*/
|
|
24
|
+
consent: ServerSigningRegistrationConsent;
|
|
18
25
|
/**
|
|
19
26
|
*
|
|
20
27
|
* @type {string}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { ServerSigningRegistrationConsentFromJSON, ServerSigningRegistrationConsentToJSON } from './ServerSigningRegistrationConsent.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function RegisterServerSigningKeyRequestFromJSON(json) {
|
|
@@ -9,6 +10,7 @@ function RegisterServerSigningKeyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
9
10
|
return json;
|
|
10
11
|
}
|
|
11
12
|
return {
|
|
13
|
+
'consent': ServerSigningRegistrationConsentFromJSON(json['consent']),
|
|
12
14
|
'serverIdentifier': !exists(json, 'serverIdentifier') ? undefined : json['serverIdentifier'],
|
|
13
15
|
'publicSigningKey': json['publicSigningKey'],
|
|
14
16
|
'label': !exists(json, 'label') ? undefined : json['label'],
|
|
@@ -22,6 +24,7 @@ function RegisterServerSigningKeyRequestToJSON(value) {
|
|
|
22
24
|
return null;
|
|
23
25
|
}
|
|
24
26
|
return {
|
|
27
|
+
'consent': ServerSigningRegistrationConsentToJSON(value.consent),
|
|
25
28
|
'serverIdentifier': value.serverIdentifier,
|
|
26
29
|
'publicSigningKey': value.publicSigningKey,
|
|
27
30
|
'label': value.label,
|
|
@@ -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
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.ServerSigningRegistrationConsentActionEnum = void 0;
|
|
23
|
+
(function (ServerSigningRegistrationConsentActionEnum) {
|
|
24
|
+
ServerSigningRegistrationConsentActionEnum["Register"] = "register";
|
|
25
|
+
})(exports.ServerSigningRegistrationConsentActionEnum || (exports.ServerSigningRegistrationConsentActionEnum = {}));
|
|
26
|
+
function ServerSigningRegistrationConsentFromJSON(json) {
|
|
27
|
+
return ServerSigningRegistrationConsentFromJSONTyped(json);
|
|
28
|
+
}
|
|
29
|
+
function ServerSigningRegistrationConsentFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'action': json['action'],
|
|
35
|
+
'consentedAt': (new Date(json['consentedAt'])),
|
|
36
|
+
'environmentId': json['environmentId'],
|
|
37
|
+
'publicSigningKey': json['publicSigningKey'],
|
|
38
|
+
'serverIdentifier': json['serverIdentifier'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ServerSigningRegistrationConsentToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'action': value.action,
|
|
50
|
+
'consentedAt': (value.consentedAt.toISOString()),
|
|
51
|
+
'environmentId': value.environmentId,
|
|
52
|
+
'publicSigningKey': value.publicSigningKey,
|
|
53
|
+
'serverIdentifier': value.serverIdentifier,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.ServerSigningRegistrationConsentFromJSON = ServerSigningRegistrationConsentFromJSON;
|
|
58
|
+
exports.ServerSigningRegistrationConsentFromJSONTyped = ServerSigningRegistrationConsentFromJSONTyped;
|
|
59
|
+
exports.ServerSigningRegistrationConsentToJSON = ServerSigningRegistrationConsentToJSON;
|