@dynamic-labs/sdk-api 0.0.772 → 0.0.774
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/AllowlistsApi.cjs +2 -0
- package/src/apis/AllowlistsApi.js +2 -0
- package/src/apis/AnalyticsApi.cjs +2 -0
- package/src/apis/AnalyticsApi.js +2 -0
- package/src/apis/ChainalysisApi.cjs +2 -0
- package/src/apis/ChainalysisApi.js +2 -0
- package/src/apis/ChainsApi.cjs +2 -0
- package/src/apis/ChainsApi.js +2 -0
- package/src/apis/CustomFieldsApi.cjs +2 -0
- package/src/apis/CustomFieldsApi.js +2 -0
- package/src/apis/CustomHostnamesApi.cjs +2 -0
- package/src/apis/CustomHostnamesApi.js +2 -0
- package/src/apis/CustomNetworksApi.cjs +2 -0
- package/src/apis/CustomNetworksApi.js +2 -0
- package/src/apis/DeeplinkUrlsApi.cjs +2 -0
- package/src/apis/DeeplinkUrlsApi.js +2 -0
- package/src/apis/EnvironmentsApi.cjs +2 -0
- package/src/apis/EnvironmentsApi.js +2 -0
- package/src/apis/EventsApi.cjs +2 -0
- package/src/apis/EventsApi.js +2 -0
- package/src/apis/ExportsApi.cjs +2 -0
- package/src/apis/ExportsApi.js +2 -0
- package/src/apis/ExternalJwtApi.cjs +2 -0
- package/src/apis/ExternalJwtApi.js +2 -0
- package/src/apis/GatesApi.cjs +2 -0
- package/src/apis/GatesApi.js +2 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +2 -0
- package/src/apis/GlobalWalletAccessControlApi.js +2 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +2 -0
- package/src/apis/GlobalWalletConnectionsApi.js +2 -0
- package/src/apis/GlobalWalletsApi.cjs +2 -0
- package/src/apis/GlobalWalletsApi.js +2 -0
- package/src/apis/InvitesApi.cjs +2 -0
- package/src/apis/InvitesApi.js +2 -0
- package/src/apis/MembersApi.cjs +2 -0
- package/src/apis/MembersApi.js +2 -0
- package/src/apis/MfaSettingsApi.cjs +2 -0
- package/src/apis/MfaSettingsApi.js +2 -0
- package/src/apis/NameServicesApi.cjs +2 -0
- package/src/apis/NameServicesApi.js +2 -0
- package/src/apis/OrganizationsApi.cjs +2 -0
- package/src/apis/OrganizationsApi.js +2 -0
- package/src/apis/OriginsApi.cjs +2 -0
- package/src/apis/OriginsApi.js +2 -0
- package/src/apis/ProjectsApi.cjs +2 -0
- package/src/apis/ProjectsApi.js +2 -0
- package/src/apis/SDKApi.cjs +78 -0
- package/src/apis/SDKApi.d.ts +28 -1
- package/src/apis/SDKApi.js +78 -0
- package/src/apis/SDKViewsApi.cjs +2 -0
- package/src/apis/SDKViewsApi.js +2 -0
- package/src/apis/SessionsApi.cjs +2 -0
- package/src/apis/SessionsApi.js +2 -0
- package/src/apis/SettingsApi.cjs +2 -0
- package/src/apis/SettingsApi.js +2 -0
- package/src/apis/TestAccountApi.cjs +2 -0
- package/src/apis/TestAccountApi.js +2 -0
- package/src/apis/TokensApi.cjs +2 -0
- package/src/apis/TokensApi.js +2 -0
- package/src/apis/UserApiTokensApi.cjs +2 -0
- package/src/apis/UserApiTokensApi.js +2 -0
- package/src/apis/UsersApi.cjs +2 -0
- package/src/apis/UsersApi.js +2 -0
- package/src/apis/VisitsApi.cjs +2 -0
- package/src/apis/VisitsApi.js +2 -0
- package/src/apis/WaasApi.cjs +36 -0
- package/src/apis/WaasApi.d.ts +13 -1
- package/src/apis/WaasApi.js +36 -0
- package/src/apis/WalletsApi.cjs +2 -0
- package/src/apis/WalletsApi.js +2 -0
- package/src/apis/WebhooksApi.cjs +2 -0
- package/src/apis/WebhooksApi.js +2 -0
- package/src/index.cjs +24 -0
- package/src/index.js +4 -0
- package/src/models/DelegatedShareDeliveryRequest.cjs +43 -0
- package/src/models/DelegatedShareDeliveryRequest.d.ts +27 -0
- package/src/models/DelegatedShareDeliveryRequest.js +37 -0
- package/src/models/DelegatedShareDeliveryResponse.cjs +46 -0
- package/src/models/DelegatedShareDeliveryResponse.d.ts +47 -0
- package/src/models/DelegatedShareDeliveryResponse.js +40 -0
- package/src/models/WaasDelegationCredentialsRequest.cjs +35 -0
- package/src/models/WaasDelegationCredentialsRequest.d.ts +33 -0
- package/src/models/WaasDelegationCredentialsRequest.js +29 -0
- package/src/models/WaasDelegationCredentialsResponse.cjs +59 -0
- package/src/models/WaasDelegationCredentialsResponse.d.ts +58 -0
- package/src/models/WaasDelegationCredentialsResponse.js +53 -0
- package/src/models/index.d.ts +4 -0
package/src/apis/UsersApi.cjs
CHANGED
|
@@ -44,6 +44,7 @@ require('../models/CustomHostnameUsageEnum.cjs');
|
|
|
44
44
|
require('../models/CustomHostnameVerificationType.cjs');
|
|
45
45
|
require('../models/DnsRecordType.cjs');
|
|
46
46
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
47
|
+
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
47
48
|
require('../models/TimeUnitEnum.cjs');
|
|
48
49
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
49
50
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
@@ -87,6 +88,7 @@ var UserOauthAccessTokenResponse = require('../models/UserOauthAccessTokenRespon
|
|
|
87
88
|
var UserResponse = require('../models/UserResponse.cjs');
|
|
88
89
|
var UsersResponse = require('../models/UsersResponse.cjs');
|
|
89
90
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
91
|
+
require('../models/WaasDelegationCredentialsResponse.cjs');
|
|
90
92
|
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
91
93
|
require('../models/WaasPolicyRuleType.cjs');
|
|
92
94
|
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -40,6 +40,7 @@ import '../models/CustomHostnameUsageEnum.js';
|
|
|
40
40
|
import '../models/CustomHostnameVerificationType.js';
|
|
41
41
|
import '../models/DnsRecordType.js';
|
|
42
42
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
43
|
+
import '../models/DelegatedShareDeliveryResponse.js';
|
|
43
44
|
import '../models/TimeUnitEnum.js';
|
|
44
45
|
import '../models/EmbeddedWalletAuthType.js';
|
|
45
46
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
@@ -83,6 +84,7 @@ import { UserOauthAccessTokenResponseFromJSON } from '../models/UserOauthAccessT
|
|
|
83
84
|
import { UserResponseFromJSON } from '../models/UserResponse.js';
|
|
84
85
|
import { UsersResponseFromJSON } from '../models/UsersResponse.js';
|
|
85
86
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
87
|
+
import '../models/WaasDelegationCredentialsResponse.js';
|
|
86
88
|
import '../models/WaasPolicyConstraintCondition.js';
|
|
87
89
|
import '../models/WaasPolicyRuleType.js';
|
|
88
90
|
|
package/src/apis/VisitsApi.cjs
CHANGED
|
@@ -43,6 +43,7 @@ require('../models/CustomHostnameUsageEnum.cjs');
|
|
|
43
43
|
require('../models/CustomHostnameVerificationType.cjs');
|
|
44
44
|
require('../models/DnsRecordType.cjs');
|
|
45
45
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
46
|
+
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
46
47
|
require('../models/TimeUnitEnum.cjs');
|
|
47
48
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
48
49
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
@@ -81,6 +82,7 @@ require('../models/UserFieldsCheckEnum.cjs');
|
|
|
81
82
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
82
83
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
83
84
|
var VisitorsResponse = require('../models/VisitorsResponse.cjs');
|
|
85
|
+
require('../models/WaasDelegationCredentialsResponse.cjs');
|
|
84
86
|
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
85
87
|
require('../models/WaasPolicyRuleType.cjs');
|
|
86
88
|
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -39,6 +39,7 @@ import '../models/CustomHostnameUsageEnum.js';
|
|
|
39
39
|
import '../models/CustomHostnameVerificationType.js';
|
|
40
40
|
import '../models/DnsRecordType.js';
|
|
41
41
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
42
|
+
import '../models/DelegatedShareDeliveryResponse.js';
|
|
42
43
|
import '../models/TimeUnitEnum.js';
|
|
43
44
|
import '../models/EmbeddedWalletAuthType.js';
|
|
44
45
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
@@ -77,6 +78,7 @@ import '../models/UserFieldsCheckEnum.js';
|
|
|
77
78
|
import '../models/UserFilterableFieldsEnum.js';
|
|
78
79
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
79
80
|
import { VisitorsResponseFromJSON } from '../models/VisitorsResponse.js';
|
|
81
|
+
import '../models/WaasDelegationCredentialsResponse.js';
|
|
80
82
|
import '../models/WaasPolicyConstraintCondition.js';
|
|
81
83
|
import '../models/WaasPolicyRuleType.js';
|
|
82
84
|
|
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -45,6 +45,7 @@ require('../models/DnsRecordType.cjs');
|
|
|
45
45
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
46
46
|
var DelegatedAccessEncryptionPublicKeyResponse = require('../models/DelegatedAccessEncryptionPublicKeyResponse.cjs');
|
|
47
47
|
var DelegatedAccessEncryptionPublicKeysUnifiedResponse = require('../models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.cjs');
|
|
48
|
+
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
48
49
|
require('../models/TimeUnitEnum.cjs');
|
|
49
50
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
50
51
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
@@ -85,6 +86,8 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
85
86
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
86
87
|
var WaasAuthenticateResponse = require('../models/WaasAuthenticateResponse.cjs');
|
|
87
88
|
var WaasDelegateSignMessageRequest = require('../models/WaasDelegateSignMessageRequest.cjs');
|
|
89
|
+
var WaasDelegationCredentialsRequest = require('../models/WaasDelegationCredentialsRequest.cjs');
|
|
90
|
+
var WaasDelegationCredentialsResponse = require('../models/WaasDelegationCredentialsResponse.cjs');
|
|
88
91
|
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
89
92
|
var WaasPolicyCreateRequest = require('../models/WaasPolicyCreateRequest.cjs');
|
|
90
93
|
var WaasPolicyDeleteRequest = require('../models/WaasPolicyDeleteRequest.cjs');
|
|
@@ -132,6 +135,39 @@ class WaasApi extends runtime.BaseAPI {
|
|
|
132
135
|
return yield response.value();
|
|
133
136
|
});
|
|
134
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Create credentials for waas wallet delegation
|
|
140
|
+
*/
|
|
141
|
+
createDelegatedCredentialsRaw(requestParameters, initOverrides) {
|
|
142
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
144
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling createDelegatedCredentials.');
|
|
145
|
+
}
|
|
146
|
+
if (requestParameters.waasDelegationCredentialsRequest === null || requestParameters.waasDelegationCredentialsRequest === undefined) {
|
|
147
|
+
throw new runtime.RequiredError('waasDelegationCredentialsRequest', 'Required parameter requestParameters.waasDelegationCredentialsRequest was null or undefined when calling createDelegatedCredentials.');
|
|
148
|
+
}
|
|
149
|
+
const queryParameters = {};
|
|
150
|
+
const headerParameters = {};
|
|
151
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
152
|
+
const response = yield this.request({
|
|
153
|
+
path: `/environments/{environmentId}/waas/delegatedAccess/encryptionPublicKeys`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
154
|
+
method: 'POST',
|
|
155
|
+
headers: headerParameters,
|
|
156
|
+
query: queryParameters,
|
|
157
|
+
body: WaasDelegationCredentialsRequest.WaasDelegationCredentialsRequestToJSON(requestParameters.waasDelegationCredentialsRequest),
|
|
158
|
+
}, initOverrides);
|
|
159
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WaasDelegationCredentialsResponse.WaasDelegationCredentialsResponseFromJSON(jsonValue));
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Create credentials for waas wallet delegation
|
|
164
|
+
*/
|
|
165
|
+
createDelegatedCredentials(requestParameters, initOverrides) {
|
|
166
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
const response = yield this.createDelegatedCredentialsRaw(requestParameters, initOverrides);
|
|
168
|
+
return yield response.value();
|
|
169
|
+
});
|
|
170
|
+
}
|
|
135
171
|
/**
|
|
136
172
|
* Create a new WAAS policy for an environment or add new rules to an existing policy
|
|
137
173
|
*/
|
package/src/apis/WaasApi.d.ts
CHANGED
|
@@ -10,10 +10,14 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyResponse, WaasPolicyUpdateRequest } from '../models';
|
|
13
|
+
import { DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasDelegationCredentialsRequest, WaasDelegationCredentialsResponse, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyResponse, WaasPolicyUpdateRequest } from '../models';
|
|
14
14
|
export interface AuthenticateWaasRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
}
|
|
17
|
+
export interface CreateDelegatedCredentialsRequest {
|
|
18
|
+
environmentId: string;
|
|
19
|
+
waasDelegationCredentialsRequest: WaasDelegationCredentialsRequest;
|
|
20
|
+
}
|
|
17
21
|
export interface CreateWaasPolicyRequest {
|
|
18
22
|
environmentId: string;
|
|
19
23
|
waasPolicyCreateRequest: WaasPolicyCreateRequest;
|
|
@@ -54,6 +58,14 @@ export declare class WaasApi extends runtime.BaseAPI {
|
|
|
54
58
|
* Authenticate for WAAS using api key
|
|
55
59
|
*/
|
|
56
60
|
authenticateWaas(requestParameters: AuthenticateWaasRequest, initOverrides?: RequestInit): Promise<WaasAuthenticateResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Create credentials for waas wallet delegation
|
|
63
|
+
*/
|
|
64
|
+
createDelegatedCredentialsRaw(requestParameters: CreateDelegatedCredentialsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasDelegationCredentialsResponse>>;
|
|
65
|
+
/**
|
|
66
|
+
* Create credentials for waas wallet delegation
|
|
67
|
+
*/
|
|
68
|
+
createDelegatedCredentials(requestParameters: CreateDelegatedCredentialsRequest, initOverrides?: RequestInit): Promise<WaasDelegationCredentialsResponse>;
|
|
57
69
|
/**
|
|
58
70
|
* Create a new WAAS policy for an environment or add new rules to an existing policy
|
|
59
71
|
*/
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -41,6 +41,7 @@ import '../models/DnsRecordType.js';
|
|
|
41
41
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
42
42
|
import { DelegatedAccessEncryptionPublicKeyResponseFromJSON } from '../models/DelegatedAccessEncryptionPublicKeyResponse.js';
|
|
43
43
|
import { DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSON } from '../models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.js';
|
|
44
|
+
import '../models/DelegatedShareDeliveryResponse.js';
|
|
44
45
|
import '../models/TimeUnitEnum.js';
|
|
45
46
|
import '../models/EmbeddedWalletAuthType.js';
|
|
46
47
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
@@ -81,6 +82,8 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
81
82
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
82
83
|
import { WaasAuthenticateResponseFromJSON } from '../models/WaasAuthenticateResponse.js';
|
|
83
84
|
import { WaasDelegateSignMessageRequestToJSON } from '../models/WaasDelegateSignMessageRequest.js';
|
|
85
|
+
import { WaasDelegationCredentialsRequestToJSON } from '../models/WaasDelegationCredentialsRequest.js';
|
|
86
|
+
import { WaasDelegationCredentialsResponseFromJSON } from '../models/WaasDelegationCredentialsResponse.js';
|
|
84
87
|
import '../models/WaasPolicyConstraintCondition.js';
|
|
85
88
|
import { WaasPolicyCreateRequestToJSON } from '../models/WaasPolicyCreateRequest.js';
|
|
86
89
|
import { WaasPolicyDeleteRequestToJSON } from '../models/WaasPolicyDeleteRequest.js';
|
|
@@ -128,6 +131,39 @@ class WaasApi extends BaseAPI {
|
|
|
128
131
|
return yield response.value();
|
|
129
132
|
});
|
|
130
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* Create credentials for waas wallet delegation
|
|
136
|
+
*/
|
|
137
|
+
createDelegatedCredentialsRaw(requestParameters, initOverrides) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
140
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling createDelegatedCredentials.');
|
|
141
|
+
}
|
|
142
|
+
if (requestParameters.waasDelegationCredentialsRequest === null || requestParameters.waasDelegationCredentialsRequest === undefined) {
|
|
143
|
+
throw new RequiredError('waasDelegationCredentialsRequest', 'Required parameter requestParameters.waasDelegationCredentialsRequest was null or undefined when calling createDelegatedCredentials.');
|
|
144
|
+
}
|
|
145
|
+
const queryParameters = {};
|
|
146
|
+
const headerParameters = {};
|
|
147
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
148
|
+
const response = yield this.request({
|
|
149
|
+
path: `/environments/{environmentId}/waas/delegatedAccess/encryptionPublicKeys`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
150
|
+
method: 'POST',
|
|
151
|
+
headers: headerParameters,
|
|
152
|
+
query: queryParameters,
|
|
153
|
+
body: WaasDelegationCredentialsRequestToJSON(requestParameters.waasDelegationCredentialsRequest),
|
|
154
|
+
}, initOverrides);
|
|
155
|
+
return new JSONApiResponse(response, (jsonValue) => WaasDelegationCredentialsResponseFromJSON(jsonValue));
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Create credentials for waas wallet delegation
|
|
160
|
+
*/
|
|
161
|
+
createDelegatedCredentials(requestParameters, initOverrides) {
|
|
162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
const response = yield this.createDelegatedCredentialsRaw(requestParameters, initOverrides);
|
|
164
|
+
return yield response.value();
|
|
165
|
+
});
|
|
166
|
+
}
|
|
131
167
|
/**
|
|
132
168
|
* Create a new WAAS policy for an environment or add new rules to an existing policy
|
|
133
169
|
*/
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -46,6 +46,7 @@ require('../models/CustomHostnameUsageEnum.cjs');
|
|
|
46
46
|
require('../models/CustomHostnameVerificationType.cjs');
|
|
47
47
|
require('../models/DnsRecordType.cjs');
|
|
48
48
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
49
|
+
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
49
50
|
require('../models/TimeUnitEnum.cjs');
|
|
50
51
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
51
52
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
@@ -86,6 +87,7 @@ require('../models/UserIdentifierTypeEnum.cjs');
|
|
|
86
87
|
var UserResponse = require('../models/UserResponse.cjs');
|
|
87
88
|
var UserWalletsResponse = require('../models/UserWalletsResponse.cjs');
|
|
88
89
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
90
|
+
require('../models/WaasDelegationCredentialsResponse.cjs');
|
|
89
91
|
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
90
92
|
require('../models/WaasPolicyRuleType.cjs');
|
|
91
93
|
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -42,6 +42,7 @@ import '../models/CustomHostnameUsageEnum.js';
|
|
|
42
42
|
import '../models/CustomHostnameVerificationType.js';
|
|
43
43
|
import '../models/DnsRecordType.js';
|
|
44
44
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
45
|
+
import '../models/DelegatedShareDeliveryResponse.js';
|
|
45
46
|
import '../models/TimeUnitEnum.js';
|
|
46
47
|
import '../models/EmbeddedWalletAuthType.js';
|
|
47
48
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
@@ -82,6 +83,7 @@ import '../models/UserIdentifierTypeEnum.js';
|
|
|
82
83
|
import { UserResponseFromJSON } from '../models/UserResponse.js';
|
|
83
84
|
import { UserWalletsResponseFromJSON } from '../models/UserWalletsResponse.js';
|
|
84
85
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
86
|
+
import '../models/WaasDelegationCredentialsResponse.js';
|
|
85
87
|
import '../models/WaasPolicyConstraintCondition.js';
|
|
86
88
|
import '../models/WaasPolicyRuleType.js';
|
|
87
89
|
|
package/src/apis/WebhooksApi.cjs
CHANGED
|
@@ -43,6 +43,7 @@ require('../models/CustomHostnameUsageEnum.cjs');
|
|
|
43
43
|
require('../models/CustomHostnameVerificationType.cjs');
|
|
44
44
|
require('../models/DnsRecordType.cjs');
|
|
45
45
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
46
|
+
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
46
47
|
require('../models/TimeUnitEnum.cjs');
|
|
47
48
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
48
49
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
@@ -80,6 +81,7 @@ require('../models/SubscriptionFreeScopeEnum.cjs');
|
|
|
80
81
|
require('../models/UserFieldsCheckEnum.cjs');
|
|
81
82
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
82
83
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
84
|
+
require('../models/WaasDelegationCredentialsResponse.cjs');
|
|
83
85
|
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
84
86
|
require('../models/WaasPolicyRuleType.cjs');
|
|
85
87
|
var Webhook = require('../models/Webhook.cjs');
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -39,6 +39,7 @@ import '../models/CustomHostnameUsageEnum.js';
|
|
|
39
39
|
import '../models/CustomHostnameVerificationType.js';
|
|
40
40
|
import '../models/DnsRecordType.js';
|
|
41
41
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
42
|
+
import '../models/DelegatedShareDeliveryResponse.js';
|
|
42
43
|
import '../models/TimeUnitEnum.js';
|
|
43
44
|
import '../models/EmbeddedWalletAuthType.js';
|
|
44
45
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
@@ -76,6 +77,7 @@ import '../models/SubscriptionFreeScopeEnum.js';
|
|
|
76
77
|
import '../models/UserFieldsCheckEnum.js';
|
|
77
78
|
import '../models/UserFilterableFieldsEnum.js';
|
|
78
79
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
80
|
+
import '../models/WaasDelegationCredentialsResponse.js';
|
|
79
81
|
import '../models/WaasPolicyConstraintCondition.js';
|
|
80
82
|
import '../models/WaasPolicyRuleType.js';
|
|
81
83
|
import { WebhookFromJSON } from '../models/Webhook.js';
|
package/src/index.cjs
CHANGED
|
@@ -145,6 +145,8 @@ var DelegatedAccessEncryptionPublicKey = require('./models/DelegatedAccessEncryp
|
|
|
145
145
|
var DelegatedAccessEncryptionPublicKeyResponse = require('./models/DelegatedAccessEncryptionPublicKeyResponse.cjs');
|
|
146
146
|
var DelegatedAccessEncryptionPublicKeysResponse = require('./models/DelegatedAccessEncryptionPublicKeysResponse.cjs');
|
|
147
147
|
var DelegatedAccessEncryptionPublicKeysUnifiedResponse = require('./models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.cjs');
|
|
148
|
+
var DelegatedShareDeliveryRequest = require('./models/DelegatedShareDeliveryRequest.cjs');
|
|
149
|
+
var DelegatedShareDeliveryResponse = require('./models/DelegatedShareDeliveryResponse.cjs');
|
|
148
150
|
var DeleteEmbeddedWalletsRequest = require('./models/DeleteEmbeddedWalletsRequest.cjs');
|
|
149
151
|
var DeleteUserPasskeyRequest = require('./models/DeleteUserPasskeyRequest.cjs');
|
|
150
152
|
var DnsRecordType = require('./models/DnsRecordType.cjs');
|
|
@@ -531,6 +533,8 @@ var WaasAuthenticateResponseEncodedJwts = require('./models/WaasAuthenticateResp
|
|
|
531
533
|
var WaasBackupOptionsEnum = require('./models/WaasBackupOptionsEnum.cjs');
|
|
532
534
|
var WaasChainEnum = require('./models/WaasChainEnum.cjs');
|
|
533
535
|
var WaasDelegateSignMessageRequest = require('./models/WaasDelegateSignMessageRequest.cjs');
|
|
536
|
+
var WaasDelegationCredentialsRequest = require('./models/WaasDelegationCredentialsRequest.cjs');
|
|
537
|
+
var WaasDelegationCredentialsResponse = require('./models/WaasDelegationCredentialsResponse.cjs');
|
|
534
538
|
var WaasPolicyArgumentConstraint = require('./models/WaasPolicyArgumentConstraint.cjs');
|
|
535
539
|
var WaasPolicyConstraintCondition = require('./models/WaasPolicyConstraintCondition.cjs');
|
|
536
540
|
var WaasPolicyCreateRequest = require('./models/WaasPolicyCreateRequest.cjs');
|
|
@@ -1001,6 +1005,16 @@ exports.DelegatedAccessEncryptionPublicKeysResponseToJSON = DelegatedAccessEncry
|
|
|
1001
1005
|
exports.DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSON = DelegatedAccessEncryptionPublicKeysUnifiedResponse.DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSON;
|
|
1002
1006
|
exports.DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSONTyped = DelegatedAccessEncryptionPublicKeysUnifiedResponse.DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSONTyped;
|
|
1003
1007
|
exports.DelegatedAccessEncryptionPublicKeysUnifiedResponseToJSON = DelegatedAccessEncryptionPublicKeysUnifiedResponse.DelegatedAccessEncryptionPublicKeysUnifiedResponseToJSON;
|
|
1008
|
+
exports.DelegatedShareDeliveryRequestFromJSON = DelegatedShareDeliveryRequest.DelegatedShareDeliveryRequestFromJSON;
|
|
1009
|
+
exports.DelegatedShareDeliveryRequestFromJSONTyped = DelegatedShareDeliveryRequest.DelegatedShareDeliveryRequestFromJSONTyped;
|
|
1010
|
+
exports.DelegatedShareDeliveryRequestToJSON = DelegatedShareDeliveryRequest.DelegatedShareDeliveryRequestToJSON;
|
|
1011
|
+
exports.DelegatedShareDeliveryResponseFromJSON = DelegatedShareDeliveryResponse.DelegatedShareDeliveryResponseFromJSON;
|
|
1012
|
+
exports.DelegatedShareDeliveryResponseFromJSONTyped = DelegatedShareDeliveryResponse.DelegatedShareDeliveryResponseFromJSONTyped;
|
|
1013
|
+
Object.defineProperty(exports, 'DelegatedShareDeliveryResponseStatusEnum', {
|
|
1014
|
+
enumerable: true,
|
|
1015
|
+
get: function () { return DelegatedShareDeliveryResponse.DelegatedShareDeliveryResponseStatusEnum; }
|
|
1016
|
+
});
|
|
1017
|
+
exports.DelegatedShareDeliveryResponseToJSON = DelegatedShareDeliveryResponse.DelegatedShareDeliveryResponseToJSON;
|
|
1004
1018
|
exports.DeleteEmbeddedWalletsRequestFromJSON = DeleteEmbeddedWalletsRequest.DeleteEmbeddedWalletsRequestFromJSON;
|
|
1005
1019
|
exports.DeleteEmbeddedWalletsRequestFromJSONTyped = DeleteEmbeddedWalletsRequest.DeleteEmbeddedWalletsRequestFromJSONTyped;
|
|
1006
1020
|
exports.DeleteEmbeddedWalletsRequestToJSON = DeleteEmbeddedWalletsRequest.DeleteEmbeddedWalletsRequestToJSON;
|
|
@@ -2387,6 +2401,16 @@ exports.WaasChainEnumToJSON = WaasChainEnum.WaasChainEnumToJSON;
|
|
|
2387
2401
|
exports.WaasDelegateSignMessageRequestFromJSON = WaasDelegateSignMessageRequest.WaasDelegateSignMessageRequestFromJSON;
|
|
2388
2402
|
exports.WaasDelegateSignMessageRequestFromJSONTyped = WaasDelegateSignMessageRequest.WaasDelegateSignMessageRequestFromJSONTyped;
|
|
2389
2403
|
exports.WaasDelegateSignMessageRequestToJSON = WaasDelegateSignMessageRequest.WaasDelegateSignMessageRequestToJSON;
|
|
2404
|
+
exports.WaasDelegationCredentialsRequestFromJSON = WaasDelegationCredentialsRequest.WaasDelegationCredentialsRequestFromJSON;
|
|
2405
|
+
exports.WaasDelegationCredentialsRequestFromJSONTyped = WaasDelegationCredentialsRequest.WaasDelegationCredentialsRequestFromJSONTyped;
|
|
2406
|
+
exports.WaasDelegationCredentialsRequestToJSON = WaasDelegationCredentialsRequest.WaasDelegationCredentialsRequestToJSON;
|
|
2407
|
+
Object.defineProperty(exports, 'WaasDelegationCredentialsResponseAlgEnum', {
|
|
2408
|
+
enumerable: true,
|
|
2409
|
+
get: function () { return WaasDelegationCredentialsResponse.WaasDelegationCredentialsResponseAlgEnum; }
|
|
2410
|
+
});
|
|
2411
|
+
exports.WaasDelegationCredentialsResponseFromJSON = WaasDelegationCredentialsResponse.WaasDelegationCredentialsResponseFromJSON;
|
|
2412
|
+
exports.WaasDelegationCredentialsResponseFromJSONTyped = WaasDelegationCredentialsResponse.WaasDelegationCredentialsResponseFromJSONTyped;
|
|
2413
|
+
exports.WaasDelegationCredentialsResponseToJSON = WaasDelegationCredentialsResponse.WaasDelegationCredentialsResponseToJSON;
|
|
2390
2414
|
exports.WaasPolicyArgumentConstraintFromJSON = WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintFromJSON;
|
|
2391
2415
|
exports.WaasPolicyArgumentConstraintFromJSONTyped = WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintFromJSONTyped;
|
|
2392
2416
|
exports.WaasPolicyArgumentConstraintToJSON = WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintToJSON;
|
package/src/index.js
CHANGED
|
@@ -141,6 +141,8 @@ export { DelegatedAccessEncryptionPublicKeyAlgEnum, DelegatedAccessEncryptionPub
|
|
|
141
141
|
export { DelegatedAccessEncryptionPublicKeyResponseFromJSON, DelegatedAccessEncryptionPublicKeyResponseFromJSONTyped, DelegatedAccessEncryptionPublicKeyResponseToJSON } from './models/DelegatedAccessEncryptionPublicKeyResponse.js';
|
|
142
142
|
export { DelegatedAccessEncryptionPublicKeysResponseFromJSON, DelegatedAccessEncryptionPublicKeysResponseFromJSONTyped, DelegatedAccessEncryptionPublicKeysResponseToJSON } from './models/DelegatedAccessEncryptionPublicKeysResponse.js';
|
|
143
143
|
export { DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSON, DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSONTyped, DelegatedAccessEncryptionPublicKeysUnifiedResponseToJSON } from './models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.js';
|
|
144
|
+
export { DelegatedShareDeliveryRequestFromJSON, DelegatedShareDeliveryRequestFromJSONTyped, DelegatedShareDeliveryRequestToJSON } from './models/DelegatedShareDeliveryRequest.js';
|
|
145
|
+
export { DelegatedShareDeliveryResponseFromJSON, DelegatedShareDeliveryResponseFromJSONTyped, DelegatedShareDeliveryResponseStatusEnum, DelegatedShareDeliveryResponseToJSON } from './models/DelegatedShareDeliveryResponse.js';
|
|
144
146
|
export { DeleteEmbeddedWalletsRequestFromJSON, DeleteEmbeddedWalletsRequestFromJSONTyped, DeleteEmbeddedWalletsRequestToJSON } from './models/DeleteEmbeddedWalletsRequest.js';
|
|
145
147
|
export { DeleteUserPasskeyRequestFromJSON, DeleteUserPasskeyRequestFromJSONTyped, DeleteUserPasskeyRequestToJSON } from './models/DeleteUserPasskeyRequest.js';
|
|
146
148
|
export { DnsRecordType, DnsRecordTypeFromJSON, DnsRecordTypeFromJSONTyped, DnsRecordTypeToJSON } from './models/DnsRecordType.js';
|
|
@@ -527,6 +529,8 @@ export { WaasAuthenticateResponseEncodedJwtsFromJSON, WaasAuthenticateResponseEn
|
|
|
527
529
|
export { WaasBackupOptionsEnum, WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumFromJSONTyped, WaasBackupOptionsEnumToJSON } from './models/WaasBackupOptionsEnum.js';
|
|
528
530
|
export { WaasChainEnum, WaasChainEnumFromJSON, WaasChainEnumFromJSONTyped, WaasChainEnumToJSON } from './models/WaasChainEnum.js';
|
|
529
531
|
export { WaasDelegateSignMessageRequestFromJSON, WaasDelegateSignMessageRequestFromJSONTyped, WaasDelegateSignMessageRequestToJSON } from './models/WaasDelegateSignMessageRequest.js';
|
|
532
|
+
export { WaasDelegationCredentialsRequestFromJSON, WaasDelegationCredentialsRequestFromJSONTyped, WaasDelegationCredentialsRequestToJSON } from './models/WaasDelegationCredentialsRequest.js';
|
|
533
|
+
export { WaasDelegationCredentialsResponseAlgEnum, WaasDelegationCredentialsResponseFromJSON, WaasDelegationCredentialsResponseFromJSONTyped, WaasDelegationCredentialsResponseToJSON } from './models/WaasDelegationCredentialsResponse.js';
|
|
530
534
|
export { WaasPolicyArgumentConstraintFromJSON, WaasPolicyArgumentConstraintFromJSONTyped, WaasPolicyArgumentConstraintToJSON } from './models/WaasPolicyArgumentConstraint.js';
|
|
531
535
|
export { WaasPolicyConstraintCondition, WaasPolicyConstraintConditionFromJSON, WaasPolicyConstraintConditionFromJSONTyped, WaasPolicyConstraintConditionToJSON } from './models/WaasPolicyConstraintCondition.js';
|
|
532
536
|
export { WaasPolicyCreateRequestFromJSON, WaasPolicyCreateRequestFromJSONTyped, WaasPolicyCreateRequestToJSON } from './models/WaasPolicyCreateRequest.js';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function DelegatedShareDeliveryRequestFromJSON(json) {
|
|
19
|
+
return DelegatedShareDeliveryRequestFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function DelegatedShareDeliveryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'encryptedDelegatedShare': json['encryptedDelegatedShare'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function DelegatedShareDeliveryRequestToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'encryptedDelegatedShare': value.encryptedDelegatedShare,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.DelegatedShareDeliveryRequestFromJSON = DelegatedShareDeliveryRequestFromJSON;
|
|
42
|
+
exports.DelegatedShareDeliveryRequestFromJSONTyped = DelegatedShareDeliveryRequestFromJSONTyped;
|
|
43
|
+
exports.DelegatedShareDeliveryRequestToJSON = DelegatedShareDeliveryRequestToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DelegatedShareDeliveryRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface DelegatedShareDeliveryRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Base64-encoded encrypted delegated share ciphertext.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DelegatedShareDeliveryRequest
|
|
22
|
+
*/
|
|
23
|
+
encryptedDelegatedShare: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function DelegatedShareDeliveryRequestFromJSON(json: any): DelegatedShareDeliveryRequest;
|
|
26
|
+
export declare function DelegatedShareDeliveryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DelegatedShareDeliveryRequest;
|
|
27
|
+
export declare function DelegatedShareDeliveryRequestToJSON(value?: DelegatedShareDeliveryRequest | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function DelegatedShareDeliveryRequestFromJSON(json) {
|
|
15
|
+
return DelegatedShareDeliveryRequestFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function DelegatedShareDeliveryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'encryptedDelegatedShare': json['encryptedDelegatedShare'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function DelegatedShareDeliveryRequestToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'encryptedDelegatedShare': value.encryptedDelegatedShare,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { DelegatedShareDeliveryRequestFromJSON, DelegatedShareDeliveryRequestFromJSONTyped, DelegatedShareDeliveryRequestToJSON };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
/**
|
|
9
|
+
* @export
|
|
10
|
+
* @enum {string}
|
|
11
|
+
*/
|
|
12
|
+
exports.DelegatedShareDeliveryResponseStatusEnum = void 0;
|
|
13
|
+
(function (DelegatedShareDeliveryResponseStatusEnum) {
|
|
14
|
+
DelegatedShareDeliveryResponseStatusEnum["Accepted"] = "accepted";
|
|
15
|
+
DelegatedShareDeliveryResponseStatusEnum["Queued"] = "queued";
|
|
16
|
+
})(exports.DelegatedShareDeliveryResponseStatusEnum || (exports.DelegatedShareDeliveryResponseStatusEnum = {}));
|
|
17
|
+
function DelegatedShareDeliveryResponseFromJSON(json) {
|
|
18
|
+
return DelegatedShareDeliveryResponseFromJSONTyped(json);
|
|
19
|
+
}
|
|
20
|
+
function DelegatedShareDeliveryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
21
|
+
if ((json === undefined) || (json === null)) {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'delegatedShareDeliveryId': json['delegatedShareDeliveryId'],
|
|
26
|
+
'status': json['status'],
|
|
27
|
+
'message': !runtime.exists(json, 'message') ? undefined : json['message'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function DelegatedShareDeliveryResponseToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'delegatedShareDeliveryId': value.delegatedShareDeliveryId,
|
|
39
|
+
'status': value.status,
|
|
40
|
+
'message': value.message,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
exports.DelegatedShareDeliveryResponseFromJSON = DelegatedShareDeliveryResponseFromJSON;
|
|
45
|
+
exports.DelegatedShareDeliveryResponseFromJSONTyped = DelegatedShareDeliveryResponseFromJSONTyped;
|
|
46
|
+
exports.DelegatedShareDeliveryResponseToJSON = DelegatedShareDeliveryResponseToJSON;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DelegatedShareDeliveryResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface DelegatedShareDeliveryResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for this delivery, used for tracking and correlation
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DelegatedShareDeliveryResponse
|
|
22
|
+
*/
|
|
23
|
+
delegatedShareDeliveryId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Current status of the delegated share delivery
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DelegatedShareDeliveryResponse
|
|
28
|
+
*/
|
|
29
|
+
status: DelegatedShareDeliveryResponseStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Human-readable status message
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DelegatedShareDeliveryResponse
|
|
34
|
+
*/
|
|
35
|
+
message?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum DelegatedShareDeliveryResponseStatusEnum {
|
|
42
|
+
Accepted = "accepted",
|
|
43
|
+
Queued = "queued"
|
|
44
|
+
}
|
|
45
|
+
export declare function DelegatedShareDeliveryResponseFromJSON(json: any): DelegatedShareDeliveryResponse;
|
|
46
|
+
export declare function DelegatedShareDeliveryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DelegatedShareDeliveryResponse;
|
|
47
|
+
export declare function DelegatedShareDeliveryResponseToJSON(value?: DelegatedShareDeliveryResponse | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var DelegatedShareDeliveryResponseStatusEnum;
|
|
9
|
+
(function (DelegatedShareDeliveryResponseStatusEnum) {
|
|
10
|
+
DelegatedShareDeliveryResponseStatusEnum["Accepted"] = "accepted";
|
|
11
|
+
DelegatedShareDeliveryResponseStatusEnum["Queued"] = "queued";
|
|
12
|
+
})(DelegatedShareDeliveryResponseStatusEnum || (DelegatedShareDeliveryResponseStatusEnum = {}));
|
|
13
|
+
function DelegatedShareDeliveryResponseFromJSON(json) {
|
|
14
|
+
return DelegatedShareDeliveryResponseFromJSONTyped(json);
|
|
15
|
+
}
|
|
16
|
+
function DelegatedShareDeliveryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
+
if ((json === undefined) || (json === null)) {
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
'delegatedShareDeliveryId': json['delegatedShareDeliveryId'],
|
|
22
|
+
'status': json['status'],
|
|
23
|
+
'message': !exists(json, 'message') ? undefined : json['message'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function DelegatedShareDeliveryResponseToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'delegatedShareDeliveryId': value.delegatedShareDeliveryId,
|
|
35
|
+
'status': value.status,
|
|
36
|
+
'message': value.message,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { DelegatedShareDeliveryResponseFromJSON, DelegatedShareDeliveryResponseFromJSONTyped, DelegatedShareDeliveryResponseStatusEnum, DelegatedShareDeliveryResponseToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function WaasDelegationCredentialsRequestFromJSON(json) {
|
|
9
|
+
return WaasDelegationCredentialsRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WaasDelegationCredentialsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'publicKey': json['publicKey'],
|
|
17
|
+
'alg': !runtime.exists(json, 'alg') ? undefined : json['alg'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function WaasDelegationCredentialsRequestToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'publicKey': value.publicKey,
|
|
29
|
+
'alg': value.alg,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.WaasDelegationCredentialsRequestFromJSON = WaasDelegationCredentialsRequestFromJSON;
|
|
34
|
+
exports.WaasDelegationCredentialsRequestFromJSONTyped = WaasDelegationCredentialsRequestFromJSONTyped;
|
|
35
|
+
exports.WaasDelegationCredentialsRequestToJSON = WaasDelegationCredentialsRequestToJSON;
|