@meeco/svx-api-sdk 1.0.0-develop.20250908173109.36b8444 → 1.0.0-develop.20251014160718.b02efb1
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/.openapi-generator/FILES +7 -1
- package/lib/esm/apis/ConnectionsApi.js +2 -2
- package/lib/esm/apis/HelpersApi.js +162 -1
- package/lib/esm/apis/SharesApi.js +2 -2
- package/lib/esm/models/{ShreIntentListResponse.js → ShareIntentListResponse.js} +6 -6
- package/lib/esm/models/UtilitiesDeployment.js +64 -0
- package/lib/esm/models/UtilitiesDeploymentWithoutLog.js +61 -0
- package/lib/esm/models/UtilitiesOwDeploymentRequest.js +44 -0
- package/lib/esm/models/UtilitiesOwDeploymentRequestOw.js +55 -0
- package/lib/esm/models/UtilitiesPaginatedDeployments.js +48 -0
- package/lib/esm/models/UtilitiesPaginationMeta.js +64 -0
- package/lib/esm/models/VaultInvitation.js +0 -11
- package/lib/esm/models/VaultOwnConnectionData.js +1 -7
- package/lib/esm/models/VaultTheOtherConnectedUserData.js +1 -7
- package/lib/esm/models/VaultUser.js +1 -2
- package/lib/esm/models/VaultUserConnectionsReport.js +0 -6
- package/lib/esm/models/index.js +7 -1
- package/lib/types/apis/ConnectionsApi.d.ts +2 -2
- package/lib/types/apis/HelpersApi.d.ts +63 -1
- package/lib/types/apis/SharesApi.d.ts +3 -3
- package/lib/types/models/{ShreIntentListResponse.d.ts → ShareIntentListResponse.d.ts} +10 -10
- package/lib/types/models/UtilitiesDeployment.d.ts +73 -0
- package/lib/types/models/UtilitiesDeploymentWithoutLog.d.ts +67 -0
- package/lib/types/models/UtilitiesOwDeploymentRequest.d.ts +32 -0
- package/lib/types/models/UtilitiesOwDeploymentRequestOw.d.ts +55 -0
- package/lib/types/models/UtilitiesPaginatedDeployments.d.ts +39 -0
- package/lib/types/models/UtilitiesPaginationMeta.d.ts +73 -0
- package/lib/types/models/VaultInvitation.d.ts +0 -22
- package/lib/types/models/VaultOwnConnectionData.d.ts +2 -13
- package/lib/types/models/VaultTheOtherConnectedUserData.d.ts +2 -13
- package/lib/types/models/VaultUser.d.ts +2 -3
- package/lib/types/models/VaultUserConnectionsReport.d.ts +0 -12
- package/lib/types/models/index.d.ts +7 -1
- package/lib/umd/apis/ConnectionsApi.js +2 -2
- package/lib/umd/apis/HelpersApi.js +162 -1
- package/lib/umd/apis/SharesApi.js +1 -1
- package/lib/umd/models/{ShreIntentListResponse.js → ShareIntentListResponse.js} +11 -11
- package/lib/umd/models/UtilitiesDeployment.js +71 -0
- package/lib/umd/models/UtilitiesDeploymentWithoutLog.js +68 -0
- package/lib/umd/models/UtilitiesOwDeploymentRequest.js +51 -0
- package/lib/umd/models/UtilitiesOwDeploymentRequestOw.js +62 -0
- package/lib/umd/models/UtilitiesPaginatedDeployments.js +55 -0
- package/lib/umd/models/UtilitiesPaginationMeta.js +71 -0
- package/lib/umd/models/VaultInvitation.js +0 -11
- package/lib/umd/models/VaultOwnConnectionData.js +1 -7
- package/lib/umd/models/VaultTheOtherConnectedUserData.js +1 -7
- package/lib/umd/models/VaultUser.js +1 -2
- package/lib/umd/models/VaultUserConnectionsReport.js +0 -6
- package/lib/umd/models/index.js +7 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -214,13 +214,13 @@ models/PutTasksRequest.ts
|
|
|
214
214
|
models/ReconfigureShareParamsInner.ts
|
|
215
215
|
models/ReconfigureSharesResponse.ts
|
|
216
216
|
models/SchemasIdVersionSchemaJsonGet200Response.ts
|
|
217
|
+
models/ShareIntentListResponse.ts
|
|
217
218
|
models/ShareIntentParam.ts
|
|
218
219
|
models/ShareIntentRequest.ts
|
|
219
220
|
models/ShareIntentResponse.ts
|
|
220
221
|
models/ShareIntentsResponse.ts
|
|
221
222
|
models/SharesIncomingResponse.ts
|
|
222
223
|
models/SharesOutgoingResponse.ts
|
|
223
|
-
models/ShreIntentListResponse.ts
|
|
224
224
|
models/UpdateDelegationsRequest.ts
|
|
225
225
|
models/UtilitiesApplicationVersion.ts
|
|
226
226
|
models/UtilitiesBlobInfo.ts
|
|
@@ -229,7 +229,13 @@ models/UtilitiesBlobPublicInfo.ts
|
|
|
229
229
|
models/UtilitiesBlobPublicInfoResponse.ts
|
|
230
230
|
models/UtilitiesBlobUploadUrlRequest.ts
|
|
231
231
|
models/UtilitiesComponent.ts
|
|
232
|
+
models/UtilitiesDeployment.ts
|
|
233
|
+
models/UtilitiesDeploymentWithoutLog.ts
|
|
232
234
|
models/UtilitiesError.ts
|
|
235
|
+
models/UtilitiesOwDeploymentRequest.ts
|
|
236
|
+
models/UtilitiesOwDeploymentRequestOw.ts
|
|
237
|
+
models/UtilitiesPaginatedDeployments.ts
|
|
238
|
+
models/UtilitiesPaginationMeta.ts
|
|
233
239
|
models/VCCnfDto.ts
|
|
234
240
|
models/VCComponent.ts
|
|
235
241
|
models/VCConstraintsDto.ts
|
|
@@ -515,7 +515,7 @@ export class ConnectionsApi extends runtime.BaseAPI {
|
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
517
|
/**
|
|
518
|
-
* Invite another user to connect. An invitation does not specify a recipient directly, instead the result of this operation is an invitation token which can then be sent to a recipient by a client application or some other means, mand the recipient can create a connection using this token and endpoint `POST /connections` --- Invitations and connections have 3 special use-cases: 1. a connection between an organization agent and an organization member 2. a connection between a service agent and a user of the service 3. a connection between a user and a delegate user who has been granted permissions to act on behalf of the user Blindly accepting an invitation by submitting an invitation token to `POST /connections` might have serious consequences, so client applications are advised to first read the invitation with `GET /invitations/{token}`before creating a connection. The intent of an invitation is in JSON field `integration_data`. --- For the
|
|
518
|
+
* Invite another user to connect. An invitation does not specify a recipient directly, instead the result of this operation is an invitation token which can then be sent to a recipient by a client application or some other means, mand the recipient can create a connection using this token and endpoint `POST /connections` --- Invitations and connections have 3 special use-cases: 1. a connection between an organization agent and an organization member 2. a connection between a service agent and a user of the service 3. a connection between a user and a delegate user who has been granted permissions to act on behalf of the user Blindly accepting an invitation by submitting an invitation token to `POST /connections` might have serious consequences, so client applications are advised to first read the invitation with `GET /invitations/{token}`before creating a connection. The intent of an invitation is in JSON field `integration_data`. --- For the delegation connection parameters `delegate_role` and `delegation_token` are mandatory. `delegation_token` should be obtained by running `POST /delegations` in the keystore. If `delegate_role` and `delegation_token` are present, a recipient is invited to become a delegate user who has rights to perform actions on behalf of the user who has created the invitation. Currently there are three delegate roles: * `owner` * `admin` * `reader` --- The vault supports two invitations workflows: * Simple - a sender creates an invitation. A recipient then accepts the invitation, and a connection is created. * Multistep - a sender creates an invitation. A recipient then accepts the invitation, no connection is created yet. The recipient then confirms the invitation, and a connection is created. An invitation is marked as belonging to one of these two workflows when created, boolean parameter `multistep_workflow` can be used for this. Values \'1\' and \'true\' are interpreted as true, as multistep invitation workflow. Each vault instance is configured to have a default invitation workflow. In case `multistep_workflow` is not submitted or is `null`, the default workflow is used.
|
|
519
519
|
* Create an invitation
|
|
520
520
|
*/
|
|
521
521
|
invitationsPostRaw(requestParameters, initOverrides) {
|
|
@@ -547,7 +547,7 @@ export class ConnectionsApi extends runtime.BaseAPI {
|
|
|
547
547
|
});
|
|
548
548
|
}
|
|
549
549
|
/**
|
|
550
|
-
* Invite another user to connect. An invitation does not specify a recipient directly, instead the result of this operation is an invitation token which can then be sent to a recipient by a client application or some other means, mand the recipient can create a connection using this token and endpoint `POST /connections` --- Invitations and connections have 3 special use-cases: 1. a connection between an organization agent and an organization member 2. a connection between a service agent and a user of the service 3. a connection between a user and a delegate user who has been granted permissions to act on behalf of the user Blindly accepting an invitation by submitting an invitation token to `POST /connections` might have serious consequences, so client applications are advised to first read the invitation with `GET /invitations/{token}`before creating a connection. The intent of an invitation is in JSON field `integration_data`. --- For the
|
|
550
|
+
* Invite another user to connect. An invitation does not specify a recipient directly, instead the result of this operation is an invitation token which can then be sent to a recipient by a client application or some other means, mand the recipient can create a connection using this token and endpoint `POST /connections` --- Invitations and connections have 3 special use-cases: 1. a connection between an organization agent and an organization member 2. a connection between a service agent and a user of the service 3. a connection between a user and a delegate user who has been granted permissions to act on behalf of the user Blindly accepting an invitation by submitting an invitation token to `POST /connections` might have serious consequences, so client applications are advised to first read the invitation with `GET /invitations/{token}`before creating a connection. The intent of an invitation is in JSON field `integration_data`. --- For the delegation connection parameters `delegate_role` and `delegation_token` are mandatory. `delegation_token` should be obtained by running `POST /delegations` in the keystore. If `delegate_role` and `delegation_token` are present, a recipient is invited to become a delegate user who has rights to perform actions on behalf of the user who has created the invitation. Currently there are three delegate roles: * `owner` * `admin` * `reader` --- The vault supports two invitations workflows: * Simple - a sender creates an invitation. A recipient then accepts the invitation, and a connection is created. * Multistep - a sender creates an invitation. A recipient then accepts the invitation, no connection is created yet. The recipient then confirms the invitation, and a connection is created. An invitation is marked as belonging to one of these two workflows when created, boolean parameter `multistep_workflow` can be used for this. Values \'1\' and \'true\' are interpreted as true, as multistep invitation workflow. Each vault instance is configured to have a default invitation workflow. In case `multistep_workflow` is not submitted or is `null`, the default workflow is used.
|
|
551
551
|
* Create an invitation
|
|
552
552
|
*/
|
|
553
553
|
invitationsPost(meecoDelegationId, meecoOrganisationId, postInvitationsRequest, initOverrides) {
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { UtilitiesBlobInfoResponseFromJSON, UtilitiesBlobPublicInfoResponseFromJSON, UtilitiesBlobUploadUrlRequestToJSON, } from '../models';
|
|
24
|
+
import { UtilitiesBlobInfoResponseFromJSON, UtilitiesBlobPublicInfoResponseFromJSON, UtilitiesBlobUploadUrlRequestToJSON, UtilitiesDeploymentWithoutLogFromJSON, UtilitiesOwDeploymentRequestToJSON, UtilitiesPaginatedDeploymentsFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -204,6 +204,160 @@ export class HelpersApi extends runtime.BaseAPI {
|
|
|
204
204
|
return yield response.value();
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* Returns a paginated list of all OW deployments
|
|
209
|
+
* List all OW deployments
|
|
210
|
+
*/
|
|
211
|
+
deploymentsOwGetRaw(requestParameters, initOverrides) {
|
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
const queryParameters = {};
|
|
214
|
+
if (requestParameters.perPage !== undefined) {
|
|
215
|
+
queryParameters['per_page'] = requestParameters.perPage;
|
|
216
|
+
}
|
|
217
|
+
if (requestParameters.page !== undefined) {
|
|
218
|
+
queryParameters['page'] = requestParameters.page;
|
|
219
|
+
}
|
|
220
|
+
if (requestParameters.order !== undefined) {
|
|
221
|
+
queryParameters['order'] = requestParameters.order;
|
|
222
|
+
}
|
|
223
|
+
const headerParameters = {};
|
|
224
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
225
|
+
const token = this.configuration.accessToken;
|
|
226
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
227
|
+
if (tokenString) {
|
|
228
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
const response = yield this.request({
|
|
232
|
+
path: `/deployments/ow`,
|
|
233
|
+
method: 'GET',
|
|
234
|
+
headers: headerParameters,
|
|
235
|
+
query: queryParameters,
|
|
236
|
+
}, initOverrides);
|
|
237
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UtilitiesPaginatedDeploymentsFromJSON(jsonValue));
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Returns a paginated list of all OW deployments
|
|
242
|
+
* List all OW deployments
|
|
243
|
+
*/
|
|
244
|
+
deploymentsOwGet(perPage, page, order, initOverrides) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
const response = yield this.deploymentsOwGetRaw({ perPage: perPage, page: page, order: order }, initOverrides);
|
|
247
|
+
return yield response.value();
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Deletes a specific deployment by organization ID
|
|
252
|
+
* Delete deployment by organization ID
|
|
253
|
+
*/
|
|
254
|
+
deploymentsOwIdDeleteRaw(requestParameters, initOverrides) {
|
|
255
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
256
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
257
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deploymentsOwIdDelete.');
|
|
258
|
+
}
|
|
259
|
+
const queryParameters = {};
|
|
260
|
+
const headerParameters = {};
|
|
261
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
262
|
+
const token = this.configuration.accessToken;
|
|
263
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
264
|
+
if (tokenString) {
|
|
265
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
const response = yield this.request({
|
|
269
|
+
path: `/deployments/ow/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
270
|
+
method: 'DELETE',
|
|
271
|
+
headers: headerParameters,
|
|
272
|
+
query: queryParameters,
|
|
273
|
+
}, initOverrides);
|
|
274
|
+
return new runtime.VoidApiResponse(response);
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Deletes a specific deployment by organization ID
|
|
279
|
+
* Delete deployment by organization ID
|
|
280
|
+
*/
|
|
281
|
+
deploymentsOwIdDelete(id, initOverrides) {
|
|
282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
283
|
+
yield this.deploymentsOwIdDeleteRaw({ id: id }, initOverrides);
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Returns a specific deployment by organization ID
|
|
288
|
+
* Get deployment by organization ID
|
|
289
|
+
*/
|
|
290
|
+
deploymentsOwIdGetRaw(requestParameters, initOverrides) {
|
|
291
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
292
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
293
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deploymentsOwIdGet.');
|
|
294
|
+
}
|
|
295
|
+
const queryParameters = {};
|
|
296
|
+
const headerParameters = {};
|
|
297
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
298
|
+
const token = this.configuration.accessToken;
|
|
299
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
300
|
+
if (tokenString) {
|
|
301
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
const response = yield this.request({
|
|
305
|
+
path: `/deployments/ow/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
306
|
+
method: 'GET',
|
|
307
|
+
headers: headerParameters,
|
|
308
|
+
query: queryParameters,
|
|
309
|
+
}, initOverrides);
|
|
310
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UtilitiesDeploymentWithoutLogFromJSON(jsonValue));
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Returns a specific deployment by organization ID
|
|
315
|
+
* Get deployment by organization ID
|
|
316
|
+
*/
|
|
317
|
+
deploymentsOwIdGet(id, initOverrides) {
|
|
318
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
319
|
+
const response = yield this.deploymentsOwIdGetRaw({ id: id }, initOverrides);
|
|
320
|
+
return yield response.value();
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Create an OW deployment
|
|
325
|
+
* Create an OW deployment
|
|
326
|
+
*/
|
|
327
|
+
deploymentsOwPostRaw(requestParameters, initOverrides) {
|
|
328
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
329
|
+
if (requestParameters.utilitiesOwDeploymentRequest === null || requestParameters.utilitiesOwDeploymentRequest === undefined) {
|
|
330
|
+
throw new runtime.RequiredError('utilitiesOwDeploymentRequest', 'Required parameter requestParameters.utilitiesOwDeploymentRequest was null or undefined when calling deploymentsOwPost.');
|
|
331
|
+
}
|
|
332
|
+
const queryParameters = {};
|
|
333
|
+
const headerParameters = {};
|
|
334
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
335
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
336
|
+
const token = this.configuration.accessToken;
|
|
337
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
338
|
+
if (tokenString) {
|
|
339
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
const response = yield this.request({
|
|
343
|
+
path: `/deployments/ow`,
|
|
344
|
+
method: 'POST',
|
|
345
|
+
headers: headerParameters,
|
|
346
|
+
query: queryParameters,
|
|
347
|
+
body: UtilitiesOwDeploymentRequestToJSON(requestParameters.utilitiesOwDeploymentRequest),
|
|
348
|
+
}, initOverrides);
|
|
349
|
+
return new runtime.VoidApiResponse(response);
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Create an OW deployment
|
|
354
|
+
* Create an OW deployment
|
|
355
|
+
*/
|
|
356
|
+
deploymentsOwPost(utilitiesOwDeploymentRequest, initOverrides) {
|
|
357
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
358
|
+
yield this.deploymentsOwPostRaw({ utilitiesOwDeploymentRequest: utilitiesOwDeploymentRequest }, initOverrides);
|
|
359
|
+
});
|
|
360
|
+
}
|
|
207
361
|
/**
|
|
208
362
|
* Redirect to the logo of an organisation. This endpoint is public and it only requires the organisation ID in the URL.
|
|
209
363
|
* Redirect to the logo of an organisation
|
|
@@ -263,3 +417,10 @@ export class HelpersApi extends runtime.BaseAPI {
|
|
|
263
417
|
});
|
|
264
418
|
}
|
|
265
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* @export
|
|
422
|
+
*/
|
|
423
|
+
export const DeploymentsOwGetOrderEnum = {
|
|
424
|
+
Asc: 'asc',
|
|
425
|
+
Desc: 'desc'
|
|
426
|
+
};
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { CreateDeleteReconfigureSharesRequestToJSON, CreateDeleteReconfigureSharesServiceResponseFromJSON, GetItemSharesResponseFromJSON, ItemSharesUpdateResponseFromJSON, ListOfReconfigureShareParamsToJSON, PostItemEncryptRequestToJSON, PostItemSharesRequestToJSON, PutItemSharesRequestToJSON, ReconfigureSharesResponseFromJSON, ShareIntentRequestToJSON, ShareIntentResponseFromJSON, ShareIntentsResponseFromJSON, SharesIncomingResponseFromJSON, SharesOutgoingResponseFromJSON,
|
|
24
|
+
import { CreateDeleteReconfigureSharesRequestToJSON, CreateDeleteReconfigureSharesServiceResponseFromJSON, GetItemSharesResponseFromJSON, ItemSharesUpdateResponseFromJSON, ListOfReconfigureShareParamsToJSON, PostItemEncryptRequestToJSON, PostItemSharesRequestToJSON, PutItemSharesRequestToJSON, ReconfigureSharesResponseFromJSON, ShareIntentListResponseFromJSON, ShareIntentRequestToJSON, ShareIntentResponseFromJSON, ShareIntentsResponseFromJSON, SharesIncomingResponseFromJSON, SharesOutgoingResponseFromJSON, VaultGetShareResponseFromJSON, VaultItemResponseFromJSON, VaultShareWithItemDataFromJSON, VaultSharesCreateResponseFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -561,7 +561,7 @@ export class SharesApi extends runtime.BaseAPI {
|
|
|
561
561
|
headers: headerParameters,
|
|
562
562
|
query: queryParameters,
|
|
563
563
|
}, initOverrides);
|
|
564
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
564
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ShareIntentListResponseFromJSON(jsonValue));
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
567
|
/**
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
15
15
|
import { VaultShareIntentFromJSON, VaultShareIntentToJSON, } from './VaultShareIntent';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the ShareIntentListResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfShareIntentListResponse(value) {
|
|
20
20
|
let isInstance = true;
|
|
21
21
|
isInstance = isInstance && "next_page_after" in value;
|
|
22
22
|
isInstance = isInstance && "share_intents" in value;
|
|
23
23
|
isInstance = isInstance && "meta" in value;
|
|
24
24
|
return isInstance;
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
27
|
-
return
|
|
26
|
+
export function ShareIntentListResponseFromJSON(json) {
|
|
27
|
+
return ShareIntentListResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function ShareIntentListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if ((json === undefined) || (json === null)) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
@@ -36,7 +36,7 @@ export function ShreIntentListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
39
|
+
export function ShareIntentListResponseToJSON(value) {
|
|
40
40
|
if (value === undefined) {
|
|
41
41
|
return undefined;
|
|
42
42
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
import { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UtilitiesDeployment interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUtilitiesDeployment(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "id" in value;
|
|
21
|
+
isInstance = isInstance && "inserted_at" in value;
|
|
22
|
+
isInstance = isInstance && "log" in value;
|
|
23
|
+
isInstance = isInstance && "org_id" in value;
|
|
24
|
+
isInstance = isInstance && "org_name" in value;
|
|
25
|
+
isInstance = isInstance && "redis_db" in value;
|
|
26
|
+
isInstance = isInstance && "status" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
export function UtilitiesDeploymentFromJSON(json) {
|
|
30
|
+
return UtilitiesDeploymentFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function UtilitiesDeploymentFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'inserted_at': (new Date(json['inserted_at'])),
|
|
39
|
+
'log': json['log'],
|
|
40
|
+
'org_id': json['org_id'],
|
|
41
|
+
'org_name': json['org_name'],
|
|
42
|
+
'public_host': !exists(json, 'public_host') ? undefined : json['public_host'],
|
|
43
|
+
'redis_db': json['redis_db'],
|
|
44
|
+
'status': json['status'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function UtilitiesDeploymentToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value.id,
|
|
56
|
+
'inserted_at': (value.inserted_at.toISOString()),
|
|
57
|
+
'log': value.log,
|
|
58
|
+
'org_id': value.org_id,
|
|
59
|
+
'org_name': value.org_name,
|
|
60
|
+
'public_host': value.public_host,
|
|
61
|
+
'redis_db': value.redis_db,
|
|
62
|
+
'status': value.status,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
import { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UtilitiesDeploymentWithoutLog interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUtilitiesDeploymentWithoutLog(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "id" in value;
|
|
21
|
+
isInstance = isInstance && "inserted_at" in value;
|
|
22
|
+
isInstance = isInstance && "org_id" in value;
|
|
23
|
+
isInstance = isInstance && "org_name" in value;
|
|
24
|
+
isInstance = isInstance && "redis_db" in value;
|
|
25
|
+
isInstance = isInstance && "status" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
export function UtilitiesDeploymentWithoutLogFromJSON(json) {
|
|
29
|
+
return UtilitiesDeploymentWithoutLogFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function UtilitiesDeploymentWithoutLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'inserted_at': (new Date(json['inserted_at'])),
|
|
38
|
+
'org_id': json['org_id'],
|
|
39
|
+
'org_name': json['org_name'],
|
|
40
|
+
'public_host': !exists(json, 'public_host') ? undefined : json['public_host'],
|
|
41
|
+
'redis_db': json['redis_db'],
|
|
42
|
+
'status': json['status'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function UtilitiesDeploymentWithoutLogToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value.id,
|
|
54
|
+
'inserted_at': (value.inserted_at.toISOString()),
|
|
55
|
+
'org_id': value.org_id,
|
|
56
|
+
'org_name': value.org_name,
|
|
57
|
+
'public_host': value.public_host,
|
|
58
|
+
'redis_db': value.redis_db,
|
|
59
|
+
'status': value.status,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
import { UtilitiesOwDeploymentRequestOwFromJSON, UtilitiesOwDeploymentRequestOwToJSON, } from './UtilitiesOwDeploymentRequestOw';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UtilitiesOwDeploymentRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUtilitiesOwDeploymentRequest(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "ow" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function UtilitiesOwDeploymentRequestFromJSON(json) {
|
|
24
|
+
return UtilitiesOwDeploymentRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function UtilitiesOwDeploymentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'ow': UtilitiesOwDeploymentRequestOwFromJSON(json['ow']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function UtilitiesOwDeploymentRequestToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'ow': UtilitiesOwDeploymentRequestOwToJSON(value.ow),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the UtilitiesOwDeploymentRequestOw interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUtilitiesOwDeploymentRequestOw(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "app_client_id" in value;
|
|
20
|
+
isInstance = isInstance && "app_client_secret" in value;
|
|
21
|
+
isInstance = isInstance && "org_id" in value;
|
|
22
|
+
isInstance = isInstance && "org_name" in value;
|
|
23
|
+
isInstance = isInstance && "org_passphrase" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
export function UtilitiesOwDeploymentRequestOwFromJSON(json) {
|
|
27
|
+
return UtilitiesOwDeploymentRequestOwFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function UtilitiesOwDeploymentRequestOwFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'app_client_id': json['app_client_id'],
|
|
35
|
+
'app_client_secret': json['app_client_secret'],
|
|
36
|
+
'org_id': json['org_id'],
|
|
37
|
+
'org_name': json['org_name'],
|
|
38
|
+
'org_passphrase': json['org_passphrase'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function UtilitiesOwDeploymentRequestOwToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'app_client_id': value.app_client_id,
|
|
50
|
+
'app_client_secret': value.app_client_secret,
|
|
51
|
+
'org_id': value.org_id,
|
|
52
|
+
'org_name': value.org_name,
|
|
53
|
+
'org_passphrase': value.org_passphrase,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
import { UtilitiesDeploymentFromJSON, UtilitiesDeploymentToJSON, } from './UtilitiesDeployment';
|
|
15
|
+
import { UtilitiesPaginationMetaFromJSON, UtilitiesPaginationMetaToJSON, } from './UtilitiesPaginationMeta';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the UtilitiesPaginatedDeployments interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfUtilitiesPaginatedDeployments(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "deployments" in value;
|
|
22
|
+
isInstance = isInstance && "meta" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function UtilitiesPaginatedDeploymentsFromJSON(json) {
|
|
26
|
+
return UtilitiesPaginatedDeploymentsFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function UtilitiesPaginatedDeploymentsFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'deployments': (json['deployments'].map(UtilitiesDeploymentFromJSON)),
|
|
34
|
+
'meta': UtilitiesPaginationMetaFromJSON(json['meta']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function UtilitiesPaginatedDeploymentsToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'deployments': (value.deployments.map(UtilitiesDeploymentToJSON)),
|
|
46
|
+
'meta': UtilitiesPaginationMetaToJSON(value.meta),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the UtilitiesPaginationMeta interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUtilitiesPaginationMeta(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "order" in value;
|
|
20
|
+
isInstance = isInstance && "order_by" in value;
|
|
21
|
+
isInstance = isInstance && "order_from_params" in value;
|
|
22
|
+
isInstance = isInstance && "page" in value;
|
|
23
|
+
isInstance = isInstance && "page_count" in value;
|
|
24
|
+
isInstance = isInstance && "per_page" in value;
|
|
25
|
+
isInstance = isInstance && "per_page_from_params" in value;
|
|
26
|
+
isInstance = isInstance && "records_count" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
export function UtilitiesPaginationMetaFromJSON(json) {
|
|
30
|
+
return UtilitiesPaginationMetaFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function UtilitiesPaginationMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'order': json['order'],
|
|
38
|
+
'order_by': json['order_by'],
|
|
39
|
+
'order_from_params': json['order_from_params'],
|
|
40
|
+
'page': json['page'],
|
|
41
|
+
'page_count': json['page_count'],
|
|
42
|
+
'per_page': json['per_page'],
|
|
43
|
+
'per_page_from_params': json['per_page_from_params'],
|
|
44
|
+
'records_count': json['records_count'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function UtilitiesPaginationMetaToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'order': value.order,
|
|
56
|
+
'order_by': value.order_by,
|
|
57
|
+
'order_from_params': value.order_from_params,
|
|
58
|
+
'page': value.page,
|
|
59
|
+
'page_count': value.page_count,
|
|
60
|
+
'per_page': value.per_page,
|
|
61
|
+
'per_page_from_params': value.per_page_from_params,
|
|
62
|
+
'records_count': value.records_count,
|
|
63
|
+
};
|
|
64
|
+
}
|