@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
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.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 UtilitiesPaginationMeta
|
|
16
|
+
*/
|
|
17
|
+
export interface UtilitiesPaginationMeta {
|
|
18
|
+
/**
|
|
19
|
+
* Order direcction: desc or asc
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UtilitiesPaginationMeta
|
|
22
|
+
*/
|
|
23
|
+
order: string;
|
|
24
|
+
/**
|
|
25
|
+
* Field by which ordering is done
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UtilitiesPaginationMeta
|
|
28
|
+
*/
|
|
29
|
+
order_by: string;
|
|
30
|
+
/**
|
|
31
|
+
* Defines whether the ordering direction is taken from request parameters or is the default value
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof UtilitiesPaginationMeta
|
|
34
|
+
*/
|
|
35
|
+
order_from_params: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Page number
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UtilitiesPaginationMeta
|
|
40
|
+
*/
|
|
41
|
+
page: number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of pages
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof UtilitiesPaginationMeta
|
|
46
|
+
*/
|
|
47
|
+
page_count: number;
|
|
48
|
+
/**
|
|
49
|
+
* Records per page
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof UtilitiesPaginationMeta
|
|
52
|
+
*/
|
|
53
|
+
per_page: number;
|
|
54
|
+
/**
|
|
55
|
+
* Defines whether the the number of recors is taken from request parameters or is the default value
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof UtilitiesPaginationMeta
|
|
58
|
+
*/
|
|
59
|
+
per_page_from_params: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Total number of metrics
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof UtilitiesPaginationMeta
|
|
64
|
+
*/
|
|
65
|
+
records_count: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the UtilitiesPaginationMeta interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfUtilitiesPaginationMeta(value: object): boolean;
|
|
71
|
+
export declare function UtilitiesPaginationMetaFromJSON(json: any): UtilitiesPaginationMeta;
|
|
72
|
+
export declare function UtilitiesPaginationMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtilitiesPaginationMeta;
|
|
73
|
+
export declare function UtilitiesPaginationMetaToJSON(value?: UtilitiesPaginationMeta | null): any;
|
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
export interface VaultInvitation {
|
|
18
18
|
/**
|
|
19
19
|
* Type of the connection. Currently it can be
|
|
20
|
-
* * `member` - a connection between an organization agent and a member
|
|
21
|
-
* * `service`- a connection between a service user and a user of the service
|
|
22
20
|
* * `delegate`- a connection between users where current user acts as delegate of a resource owner
|
|
23
21
|
* * `NULL` - a connection between two human users
|
|
24
22
|
* @type {string}
|
|
@@ -58,24 +56,6 @@ export interface VaultInvitation {
|
|
|
58
56
|
* @memberof VaultInvitation
|
|
59
57
|
*/
|
|
60
58
|
delegation_token: string | null;
|
|
61
|
-
/**
|
|
62
|
-
* In the invitation is a membership invitation from an organisation, this field contains the ID of the organisation
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof VaultInvitation
|
|
65
|
-
*/
|
|
66
|
-
organization_id: string | null;
|
|
67
|
-
/**
|
|
68
|
-
* In the invitation is a membership invitation from an organisation, this field contains the membership role, it can be `admin` or `owner`
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof VaultInvitation
|
|
71
|
-
*/
|
|
72
|
-
organization_member_role: string | null;
|
|
73
|
-
/**
|
|
74
|
-
* In the invitation is from an organisation service, this field contains the ID of the service
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof VaultInvitation
|
|
77
|
-
*/
|
|
78
|
-
service_id: string | null;
|
|
79
59
|
/**
|
|
80
60
|
* Decentralized identifier of the invitation sender
|
|
81
61
|
* @type {string}
|
|
@@ -171,8 +151,6 @@ export interface VaultInvitation {
|
|
|
171
151
|
* @export
|
|
172
152
|
*/
|
|
173
153
|
export declare const VaultInvitationConnectionTypeEnum: {
|
|
174
|
-
readonly Member: "member";
|
|
175
|
-
readonly Service: "service";
|
|
176
154
|
readonly Delegate: "delegate";
|
|
177
155
|
readonly Null: "null";
|
|
178
156
|
};
|
|
@@ -42,16 +42,8 @@ export interface VaultOwnConnectionData {
|
|
|
42
42
|
* @memberof VaultOwnConnectionData
|
|
43
43
|
*/
|
|
44
44
|
delegation_role: VaultOwnConnectionDataDelegationRoleEnum;
|
|
45
|
-
/**
|
|
46
|
-
* In a membership connection `organization_member_id` contains an ID of an `organization_members` record
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof VaultOwnConnectionData
|
|
49
|
-
*/
|
|
50
|
-
organization_member_id: string | null;
|
|
51
45
|
/**
|
|
52
46
|
* Type of the connection. Currently it can be
|
|
53
|
-
* * `member` - a connection between an organization agent and a member
|
|
54
|
-
* * `service`- a connection between a service user and a user of the service
|
|
55
47
|
* * `delegate`- a connection between users where current user acts as delegate of a resource owner
|
|
56
48
|
* * `NULL` - a connection between two human users
|
|
57
49
|
* @type {string}
|
|
@@ -65,7 +57,7 @@ export interface VaultOwnConnectionData {
|
|
|
65
57
|
*/
|
|
66
58
|
user_id: string;
|
|
67
59
|
/**
|
|
68
|
-
* Type of the user. Currently can be `human`, `
|
|
60
|
+
* Type of the user. Currently can be `human`, `org`
|
|
69
61
|
* @type {string}
|
|
70
62
|
* @memberof VaultOwnConnectionData
|
|
71
63
|
*/
|
|
@@ -109,8 +101,6 @@ export type VaultOwnConnectionDataDelegationRoleEnum = typeof VaultOwnConnection
|
|
|
109
101
|
* @export
|
|
110
102
|
*/
|
|
111
103
|
export declare const VaultOwnConnectionDataConnectionTypeEnum: {
|
|
112
|
-
readonly Member: "member";
|
|
113
|
-
readonly Service: "service";
|
|
114
104
|
readonly Delegate: "delegate";
|
|
115
105
|
readonly Null: "null";
|
|
116
106
|
};
|
|
@@ -120,8 +110,7 @@ export type VaultOwnConnectionDataConnectionTypeEnum = typeof VaultOwnConnection
|
|
|
120
110
|
*/
|
|
121
111
|
export declare const VaultOwnConnectionDataUserTypeEnum: {
|
|
122
112
|
readonly Human: "human";
|
|
123
|
-
readonly
|
|
124
|
-
readonly ServiceAgent: "service_agent";
|
|
113
|
+
readonly Org: "org";
|
|
125
114
|
};
|
|
126
115
|
export type VaultOwnConnectionDataUserTypeEnum = typeof VaultOwnConnectionDataUserTypeEnum[keyof typeof VaultOwnConnectionDataUserTypeEnum];
|
|
127
116
|
/**
|
|
@@ -36,16 +36,8 @@ export interface VaultTheOtherConnectedUserData {
|
|
|
36
36
|
* @memberof VaultTheOtherConnectedUserData
|
|
37
37
|
*/
|
|
38
38
|
delegation_role: VaultTheOtherConnectedUserDataDelegationRoleEnum;
|
|
39
|
-
/**
|
|
40
|
-
* In a membership connection `organization_member_id` contains an ID of an `organization_members` record
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof VaultTheOtherConnectedUserData
|
|
43
|
-
*/
|
|
44
|
-
organization_member_id: string | null;
|
|
45
39
|
/**
|
|
46
40
|
* Type of the connection. Currently it can be
|
|
47
|
-
* * `member` - a connection between an organization agent and a member
|
|
48
|
-
* * `service`- a connection between a service user and a user of the service
|
|
49
41
|
* * `delegate`- a connection between users where the user on the other side of a connection is a delegate of a resource owner
|
|
50
42
|
* * `NULL` - a connection between two human users
|
|
51
43
|
* @type {string}
|
|
@@ -59,7 +51,7 @@ export interface VaultTheOtherConnectedUserData {
|
|
|
59
51
|
*/
|
|
60
52
|
user_id: string;
|
|
61
53
|
/**
|
|
62
|
-
* Type of the user on the other side of the connection. Currently can be `human`, `
|
|
54
|
+
* Type of the user on the other side of the connection. Currently can be `human`, `org`
|
|
63
55
|
* @type {string}
|
|
64
56
|
* @memberof VaultTheOtherConnectedUserData
|
|
65
57
|
*/
|
|
@@ -97,8 +89,6 @@ export type VaultTheOtherConnectedUserDataDelegationRoleEnum = typeof VaultTheOt
|
|
|
97
89
|
* @export
|
|
98
90
|
*/
|
|
99
91
|
export declare const VaultTheOtherConnectedUserDataConnectionTypeEnum: {
|
|
100
|
-
readonly Member: "member";
|
|
101
|
-
readonly Service: "service";
|
|
102
92
|
readonly Delegate: "delegate";
|
|
103
93
|
readonly Null: "null";
|
|
104
94
|
};
|
|
@@ -108,8 +98,7 @@ export type VaultTheOtherConnectedUserDataConnectionTypeEnum = typeof VaultTheOt
|
|
|
108
98
|
*/
|
|
109
99
|
export declare const VaultTheOtherConnectedUserDataUserTypeEnum: {
|
|
110
100
|
readonly Human: "human";
|
|
111
|
-
readonly
|
|
112
|
-
readonly ServiceAgent: "service_agent";
|
|
101
|
+
readonly Org: "org";
|
|
113
102
|
};
|
|
114
103
|
export type VaultTheOtherConnectedUserDataUserTypeEnum = typeof VaultTheOtherConnectedUserDataUserTypeEnum[keyof typeof VaultTheOtherConnectedUserDataUserTypeEnum];
|
|
115
104
|
/**
|
|
@@ -82,7 +82,7 @@ export interface VaultUser {
|
|
|
82
82
|
*/
|
|
83
83
|
broken_attachments_present: boolean;
|
|
84
84
|
/**
|
|
85
|
-
* Type of the user currently can be `human`, `
|
|
85
|
+
* Type of the user currently can be `human`, `org`. Defaults to `human`
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof VaultUser
|
|
88
88
|
*/
|
|
@@ -93,8 +93,7 @@ export interface VaultUser {
|
|
|
93
93
|
*/
|
|
94
94
|
export declare const VaultUserUserTypeEnum: {
|
|
95
95
|
readonly Human: "human";
|
|
96
|
-
readonly
|
|
97
|
-
readonly ServiceAgent: "service_agent";
|
|
96
|
+
readonly Org: "org";
|
|
98
97
|
};
|
|
99
98
|
export type VaultUserUserTypeEnum = typeof VaultUserUserTypeEnum[keyof typeof VaultUserUserTypeEnum];
|
|
100
99
|
/**
|
|
@@ -23,18 +23,6 @@ export interface VaultUserConnectionsReport {
|
|
|
23
23
|
* @memberof VaultUserConnectionsReport
|
|
24
24
|
*/
|
|
25
25
|
all_connections: number;
|
|
26
|
-
/**
|
|
27
|
-
* number of member connections
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof VaultUserConnectionsReport
|
|
30
|
-
*/
|
|
31
|
-
member_connections: number;
|
|
32
|
-
/**
|
|
33
|
-
* number of service connections
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof VaultUserConnectionsReport
|
|
36
|
-
*/
|
|
37
|
-
service_connections: number;
|
|
38
26
|
/**
|
|
39
27
|
*
|
|
40
28
|
* @type {VaultUserConnectionsReportConnectionsGrantingDelegationAccessToYourAccount}
|
|
@@ -194,13 +194,13 @@ export * from './PutTasksRequest';
|
|
|
194
194
|
export * from './ReconfigureShareParamsInner';
|
|
195
195
|
export * from './ReconfigureSharesResponse';
|
|
196
196
|
export * from './SchemasIdVersionSchemaJsonGet200Response';
|
|
197
|
+
export * from './ShareIntentListResponse';
|
|
197
198
|
export * from './ShareIntentParam';
|
|
198
199
|
export * from './ShareIntentRequest';
|
|
199
200
|
export * from './ShareIntentResponse';
|
|
200
201
|
export * from './ShareIntentsResponse';
|
|
201
202
|
export * from './SharesIncomingResponse';
|
|
202
203
|
export * from './SharesOutgoingResponse';
|
|
203
|
-
export * from './ShreIntentListResponse';
|
|
204
204
|
export * from './UpdateDelegationsRequest';
|
|
205
205
|
export * from './UtilitiesApplicationVersion';
|
|
206
206
|
export * from './UtilitiesBlobInfo';
|
|
@@ -209,7 +209,13 @@ export * from './UtilitiesBlobPublicInfo';
|
|
|
209
209
|
export * from './UtilitiesBlobPublicInfoResponse';
|
|
210
210
|
export * from './UtilitiesBlobUploadUrlRequest';
|
|
211
211
|
export * from './UtilitiesComponent';
|
|
212
|
+
export * from './UtilitiesDeployment';
|
|
213
|
+
export * from './UtilitiesDeploymentWithoutLog';
|
|
212
214
|
export * from './UtilitiesError';
|
|
215
|
+
export * from './UtilitiesOwDeploymentRequest';
|
|
216
|
+
export * from './UtilitiesOwDeploymentRequestOw';
|
|
217
|
+
export * from './UtilitiesPaginatedDeployments';
|
|
218
|
+
export * from './UtilitiesPaginationMeta';
|
|
213
219
|
export * from './VCCnfDto';
|
|
214
220
|
export * from './VCComponent';
|
|
215
221
|
export * from './VCConstraintsDto';
|
|
@@ -541,7 +541,7 @@ class ConnectionsApi extends runtime.BaseAPI {
|
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
543
|
/**
|
|
544
|
-
* 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
|
|
544
|
+
* 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.
|
|
545
545
|
* Create an invitation
|
|
546
546
|
*/
|
|
547
547
|
invitationsPostRaw(requestParameters, initOverrides) {
|
|
@@ -573,7 +573,7 @@ class ConnectionsApi extends runtime.BaseAPI {
|
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
575
|
/**
|
|
576
|
-
* 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
|
|
576
|
+
* 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.
|
|
577
577
|
* Create an invitation
|
|
578
578
|
*/
|
|
579
579
|
invitationsPost(meecoDelegationId, meecoOrganisationId, postInvitationsRequest, initOverrides) {
|
|
@@ -45,7 +45,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.HelpersApi = void 0;
|
|
48
|
+
exports.DeploymentsOwGetOrderEnum = exports.HelpersApi = void 0;
|
|
49
49
|
const runtime = __importStar(require("../runtime"));
|
|
50
50
|
const models_1 = require("../models");
|
|
51
51
|
/**
|
|
@@ -230,6 +230,160 @@ class HelpersApi extends runtime.BaseAPI {
|
|
|
230
230
|
return yield response.value();
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
|
+
/**
|
|
234
|
+
* Returns a paginated list of all OW deployments
|
|
235
|
+
* List all OW deployments
|
|
236
|
+
*/
|
|
237
|
+
deploymentsOwGetRaw(requestParameters, initOverrides) {
|
|
238
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
239
|
+
const queryParameters = {};
|
|
240
|
+
if (requestParameters.perPage !== undefined) {
|
|
241
|
+
queryParameters['per_page'] = requestParameters.perPage;
|
|
242
|
+
}
|
|
243
|
+
if (requestParameters.page !== undefined) {
|
|
244
|
+
queryParameters['page'] = requestParameters.page;
|
|
245
|
+
}
|
|
246
|
+
if (requestParameters.order !== undefined) {
|
|
247
|
+
queryParameters['order'] = requestParameters.order;
|
|
248
|
+
}
|
|
249
|
+
const headerParameters = {};
|
|
250
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
251
|
+
const token = this.configuration.accessToken;
|
|
252
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
253
|
+
if (tokenString) {
|
|
254
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
const response = yield this.request({
|
|
258
|
+
path: `/deployments/ow`,
|
|
259
|
+
method: 'GET',
|
|
260
|
+
headers: headerParameters,
|
|
261
|
+
query: queryParameters,
|
|
262
|
+
}, initOverrides);
|
|
263
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.UtilitiesPaginatedDeploymentsFromJSON)(jsonValue));
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Returns a paginated list of all OW deployments
|
|
268
|
+
* List all OW deployments
|
|
269
|
+
*/
|
|
270
|
+
deploymentsOwGet(perPage, page, order, initOverrides) {
|
|
271
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
272
|
+
const response = yield this.deploymentsOwGetRaw({ perPage: perPage, page: page, order: order }, initOverrides);
|
|
273
|
+
return yield response.value();
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Deletes a specific deployment by organization ID
|
|
278
|
+
* Delete deployment by organization ID
|
|
279
|
+
*/
|
|
280
|
+
deploymentsOwIdDeleteRaw(requestParameters, initOverrides) {
|
|
281
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
282
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
283
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deploymentsOwIdDelete.');
|
|
284
|
+
}
|
|
285
|
+
const queryParameters = {};
|
|
286
|
+
const headerParameters = {};
|
|
287
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
288
|
+
const token = this.configuration.accessToken;
|
|
289
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
290
|
+
if (tokenString) {
|
|
291
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
const response = yield this.request({
|
|
295
|
+
path: `/deployments/ow/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
296
|
+
method: 'DELETE',
|
|
297
|
+
headers: headerParameters,
|
|
298
|
+
query: queryParameters,
|
|
299
|
+
}, initOverrides);
|
|
300
|
+
return new runtime.VoidApiResponse(response);
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Deletes a specific deployment by organization ID
|
|
305
|
+
* Delete deployment by organization ID
|
|
306
|
+
*/
|
|
307
|
+
deploymentsOwIdDelete(id, initOverrides) {
|
|
308
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
309
|
+
yield this.deploymentsOwIdDeleteRaw({ id: id }, initOverrides);
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Returns a specific deployment by organization ID
|
|
314
|
+
* Get deployment by organization ID
|
|
315
|
+
*/
|
|
316
|
+
deploymentsOwIdGetRaw(requestParameters, initOverrides) {
|
|
317
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
318
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
319
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deploymentsOwIdGet.');
|
|
320
|
+
}
|
|
321
|
+
const queryParameters = {};
|
|
322
|
+
const headerParameters = {};
|
|
323
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
324
|
+
const token = this.configuration.accessToken;
|
|
325
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
326
|
+
if (tokenString) {
|
|
327
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
const response = yield this.request({
|
|
331
|
+
path: `/deployments/ow/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
332
|
+
method: 'GET',
|
|
333
|
+
headers: headerParameters,
|
|
334
|
+
query: queryParameters,
|
|
335
|
+
}, initOverrides);
|
|
336
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.UtilitiesDeploymentWithoutLogFromJSON)(jsonValue));
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Returns a specific deployment by organization ID
|
|
341
|
+
* Get deployment by organization ID
|
|
342
|
+
*/
|
|
343
|
+
deploymentsOwIdGet(id, initOverrides) {
|
|
344
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
345
|
+
const response = yield this.deploymentsOwIdGetRaw({ id: id }, initOverrides);
|
|
346
|
+
return yield response.value();
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Create an OW deployment
|
|
351
|
+
* Create an OW deployment
|
|
352
|
+
*/
|
|
353
|
+
deploymentsOwPostRaw(requestParameters, initOverrides) {
|
|
354
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
355
|
+
if (requestParameters.utilitiesOwDeploymentRequest === null || requestParameters.utilitiesOwDeploymentRequest === undefined) {
|
|
356
|
+
throw new runtime.RequiredError('utilitiesOwDeploymentRequest', 'Required parameter requestParameters.utilitiesOwDeploymentRequest was null or undefined when calling deploymentsOwPost.');
|
|
357
|
+
}
|
|
358
|
+
const queryParameters = {};
|
|
359
|
+
const headerParameters = {};
|
|
360
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
361
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
362
|
+
const token = this.configuration.accessToken;
|
|
363
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
364
|
+
if (tokenString) {
|
|
365
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
const response = yield this.request({
|
|
369
|
+
path: `/deployments/ow`,
|
|
370
|
+
method: 'POST',
|
|
371
|
+
headers: headerParameters,
|
|
372
|
+
query: queryParameters,
|
|
373
|
+
body: (0, models_1.UtilitiesOwDeploymentRequestToJSON)(requestParameters.utilitiesOwDeploymentRequest),
|
|
374
|
+
}, initOverrides);
|
|
375
|
+
return new runtime.VoidApiResponse(response);
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* Create an OW deployment
|
|
380
|
+
* Create an OW deployment
|
|
381
|
+
*/
|
|
382
|
+
deploymentsOwPost(utilitiesOwDeploymentRequest, initOverrides) {
|
|
383
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
384
|
+
yield this.deploymentsOwPostRaw({ utilitiesOwDeploymentRequest: utilitiesOwDeploymentRequest }, initOverrides);
|
|
385
|
+
});
|
|
386
|
+
}
|
|
233
387
|
/**
|
|
234
388
|
* Redirect to the logo of an organisation. This endpoint is public and it only requires the organisation ID in the URL.
|
|
235
389
|
* Redirect to the logo of an organisation
|
|
@@ -290,3 +444,10 @@ class HelpersApi extends runtime.BaseAPI {
|
|
|
290
444
|
}
|
|
291
445
|
}
|
|
292
446
|
exports.HelpersApi = HelpersApi;
|
|
447
|
+
/**
|
|
448
|
+
* @export
|
|
449
|
+
*/
|
|
450
|
+
exports.DeploymentsOwGetOrderEnum = {
|
|
451
|
+
Asc: 'asc',
|
|
452
|
+
Desc: 'desc'
|
|
453
|
+
};
|
|
@@ -587,7 +587,7 @@ class SharesApi extends runtime.BaseAPI {
|
|
|
587
587
|
headers: headerParameters,
|
|
588
588
|
query: queryParameters,
|
|
589
589
|
}, initOverrides);
|
|
590
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.
|
|
590
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.ShareIntentListResponseFromJSON)(jsonValue));
|
|
591
591
|
});
|
|
592
592
|
}
|
|
593
593
|
/**
|
|
@@ -13,25 +13,25 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ShareIntentListResponseToJSON = exports.ShareIntentListResponseFromJSONTyped = exports.ShareIntentListResponseFromJSON = exports.instanceOfShareIntentListResponse = void 0;
|
|
17
17
|
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
18
18
|
const VaultShareIntent_1 = require("./VaultShareIntent");
|
|
19
19
|
/**
|
|
20
|
-
* Check if a given object implements the
|
|
20
|
+
* Check if a given object implements the ShareIntentListResponse interface.
|
|
21
21
|
*/
|
|
22
|
-
function
|
|
22
|
+
function instanceOfShareIntentListResponse(value) {
|
|
23
23
|
let isInstance = true;
|
|
24
24
|
isInstance = isInstance && "next_page_after" in value;
|
|
25
25
|
isInstance = isInstance && "share_intents" in value;
|
|
26
26
|
isInstance = isInstance && "meta" in value;
|
|
27
27
|
return isInstance;
|
|
28
28
|
}
|
|
29
|
-
exports.
|
|
30
|
-
function
|
|
31
|
-
return
|
|
29
|
+
exports.instanceOfShareIntentListResponse = instanceOfShareIntentListResponse;
|
|
30
|
+
function ShareIntentListResponseFromJSON(json) {
|
|
31
|
+
return ShareIntentListResponseFromJSONTyped(json, false);
|
|
32
32
|
}
|
|
33
|
-
exports.
|
|
34
|
-
function
|
|
33
|
+
exports.ShareIntentListResponseFromJSON = ShareIntentListResponseFromJSON;
|
|
34
|
+
function ShareIntentListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
35
|
if ((json === undefined) || (json === null)) {
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
@@ -41,8 +41,8 @@ function ShreIntentListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
exports.
|
|
45
|
-
function
|
|
44
|
+
exports.ShareIntentListResponseFromJSONTyped = ShareIntentListResponseFromJSONTyped;
|
|
45
|
+
function ShareIntentListResponseToJSON(value) {
|
|
46
46
|
if (value === undefined) {
|
|
47
47
|
return undefined;
|
|
48
48
|
}
|
|
@@ -55,4 +55,4 @@ function ShreIntentListResponseToJSON(value) {
|
|
|
55
55
|
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
exports.
|
|
58
|
+
exports.ShareIntentListResponseToJSON = ShareIntentListResponseToJSON;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UtilitiesDeploymentToJSON = exports.UtilitiesDeploymentFromJSONTyped = exports.UtilitiesDeploymentFromJSON = exports.instanceOfUtilitiesDeployment = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UtilitiesDeployment interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUtilitiesDeployment(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "inserted_at" in value;
|
|
25
|
+
isInstance = isInstance && "log" in value;
|
|
26
|
+
isInstance = isInstance && "org_id" in value;
|
|
27
|
+
isInstance = isInstance && "org_name" in value;
|
|
28
|
+
isInstance = isInstance && "redis_db" in value;
|
|
29
|
+
isInstance = isInstance && "status" in value;
|
|
30
|
+
return isInstance;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfUtilitiesDeployment = instanceOfUtilitiesDeployment;
|
|
33
|
+
function UtilitiesDeploymentFromJSON(json) {
|
|
34
|
+
return UtilitiesDeploymentFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.UtilitiesDeploymentFromJSON = UtilitiesDeploymentFromJSON;
|
|
37
|
+
function UtilitiesDeploymentFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'inserted_at': (new Date(json['inserted_at'])),
|
|
44
|
+
'log': json['log'],
|
|
45
|
+
'org_id': json['org_id'],
|
|
46
|
+
'org_name': json['org_name'],
|
|
47
|
+
'public_host': !(0, runtime_1.exists)(json, 'public_host') ? undefined : json['public_host'],
|
|
48
|
+
'redis_db': json['redis_db'],
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.UtilitiesDeploymentFromJSONTyped = UtilitiesDeploymentFromJSONTyped;
|
|
53
|
+
function UtilitiesDeploymentToJSON(value) {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': value.id,
|
|
62
|
+
'inserted_at': (value.inserted_at.toISOString()),
|
|
63
|
+
'log': value.log,
|
|
64
|
+
'org_id': value.org_id,
|
|
65
|
+
'org_name': value.org_name,
|
|
66
|
+
'public_host': value.public_host,
|
|
67
|
+
'redis_db': value.redis_db,
|
|
68
|
+
'status': value.status,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.UtilitiesDeploymentToJSON = UtilitiesDeploymentToJSON;
|