@approvio/api 0.0.37 → 0.0.39
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/dist/mocks/index.d.cts +1 -1
- package/dist/mocks/index.d.mts +1 -1
- package/dist/src/index.cjs +57 -1
- package/dist/src/index.d.cts +69 -48
- package/dist/src/index.d.mts +69 -48
- package/dist/src/index.mjs +56 -2
- package/dist/{workflow-create-CnfcH7rt.d.mts → workflow-create-BWzcjT6i.d.mts} +10 -10
- package/dist/{workflow-create-TrS0XFqN.d.cts → workflow-create-YXAJ6Gr8.d.cts} +10 -10
- package/package.json +1 -1
package/dist/mocks/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Workflow, d as ListGroups200Response, f as Pagination, i as ListWorkflows200Response, m as GroupInfo, n as User, p as Group, r as TokenResponse, t as WorkflowCreate, u as UserSummary } from "../workflow-create-
|
|
1
|
+
import { a as Workflow, d as ListGroups200Response, f as Pagination, i as ListWorkflows200Response, m as GroupInfo, n as User, p as Group, r as TokenResponse, t as WorkflowCreate, u as UserSummary } from "../workflow-create-YXAJ6Gr8.cjs";
|
|
2
2
|
|
|
3
3
|
//#region mocks/user.fixtures.d.ts
|
|
4
4
|
declare const MOCK_USER_ID = "e6e08687-2189-4710-91b5-479cd25a9119";
|
package/dist/mocks/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Workflow, d as ListGroups200Response, f as Pagination, i as ListWorkflows200Response, m as GroupInfo, n as User, p as Group, r as TokenResponse, t as WorkflowCreate, u as UserSummary } from "../workflow-create-
|
|
1
|
+
import { a as Workflow, d as ListGroups200Response, f as Pagination, i as ListWorkflows200Response, m as GroupInfo, n as User, p as Group, r as TokenResponse, t as WorkflowCreate, u as UserSummary } from "../workflow-create-BWzcjT6i.mjs";
|
|
2
2
|
|
|
3
3
|
//#region mocks/user.fixtures.d.ts
|
|
4
4
|
declare const MOCK_USER_ID = "e6e08687-2189-4710-91b5-479cd25a9119";
|
package/dist/src/index.cjs
CHANGED
|
@@ -388,7 +388,7 @@ function validateSharedListParams(object) {
|
|
|
388
388
|
result.limit = limit;
|
|
389
389
|
}
|
|
390
390
|
if (hasOwnProperty(object, "search") && object.search !== void 0) {
|
|
391
|
-
if (typeof object.search !== "string"
|
|
391
|
+
if (typeof object.search !== "string") return (0, fp_ts_Either.left)("invalid_search");
|
|
392
392
|
result.search = object.search;
|
|
393
393
|
}
|
|
394
394
|
return (0, fp_ts_Either.right)(result);
|
|
@@ -732,11 +732,31 @@ function validateListWorkflowTemplates200Response(object) {
|
|
|
732
732
|
pagination: paginationValidation.right
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
|
+
let SortBy = /* @__PURE__ */ function(SortBy) {
|
|
736
|
+
SortBy["VERSION"] = "VERSION";
|
|
737
|
+
SortBy["UPDATED_AT"] = "UPDATED_AT";
|
|
738
|
+
SortBy["CREATED_AT"] = "CREATED_AT";
|
|
739
|
+
return SortBy;
|
|
740
|
+
}({});
|
|
741
|
+
let SortDirection = /* @__PURE__ */ function(SortDirection) {
|
|
742
|
+
SortDirection["ASC"] = "ASC";
|
|
743
|
+
SortDirection["DESC"] = "DESC";
|
|
744
|
+
return SortDirection;
|
|
745
|
+
}({});
|
|
735
746
|
function validateListWorkflowTemplatesParams(object) {
|
|
736
747
|
const sharedValidation = validateSharedListParams(object);
|
|
737
748
|
if ((0, fp_ts_Either.isLeft)(sharedValidation)) return (0, fp_ts_Either.left)(sharedValidation.left);
|
|
738
749
|
const result = sharedValidation.right;
|
|
739
750
|
if (typeof object !== "object" || object === null) return (0, fp_ts_Either.left)("malformed_object");
|
|
751
|
+
if (hasOwnProperty(object, "searchMode") && object.searchMode !== void 0) {
|
|
752
|
+
if (typeof object.searchMode !== "string") return (0, fp_ts_Either.left)("invalid_search_mode");
|
|
753
|
+
if (object.searchMode !== "CONTAINS" && object.searchMode !== "EXACT") return (0, fp_ts_Either.left)("invalid_search_mode");
|
|
754
|
+
result.searchMode = object.searchMode;
|
|
755
|
+
} else result.searchMode = "CONTAINS";
|
|
756
|
+
if (result.search !== void 0) {
|
|
757
|
+
if (result.searchMode === "CONTAINS" && result.search.length < 3) return (0, fp_ts_Either.left)("invalid_search_length");
|
|
758
|
+
if (result.searchMode === "EXACT" && result.search.length < 1) return (0, fp_ts_Either.left)("invalid_search_length");
|
|
759
|
+
}
|
|
740
760
|
if (hasOwnProperty(object, "spaceIdentifier") && object.spaceIdentifier !== void 0) {
|
|
741
761
|
if (!isNonEmptyString(object.spaceIdentifier)) return (0, fp_ts_Either.left)("invalid_space_identifier");
|
|
742
762
|
result.spaceIdentifier = object.spaceIdentifier;
|
|
@@ -751,6 +771,40 @@ function validateListWorkflowTemplatesParams(object) {
|
|
|
751
771
|
else return (0, fp_ts_Either.left)("invalid_status");
|
|
752
772
|
}
|
|
753
773
|
result.status = status;
|
|
774
|
+
if (hasOwnProperty(object, "sortBy") && object.sortBy !== void 0) {
|
|
775
|
+
const sortByVal = object.sortBy;
|
|
776
|
+
const values = [];
|
|
777
|
+
if (Array.isArray(sortByVal)) for (const unsafeSortBy of sortByVal) {
|
|
778
|
+
if (typeof unsafeSortBy !== "string") return (0, fp_ts_Either.left)("invalid_sort_by");
|
|
779
|
+
const sortBy = getStringAsEnum(unsafeSortBy, SortBy);
|
|
780
|
+
if (sortBy === void 0) return (0, fp_ts_Either.left)("invalid_sort_by");
|
|
781
|
+
values.push(sortBy);
|
|
782
|
+
}
|
|
783
|
+
else if (typeof sortByVal === "string") {
|
|
784
|
+
const sortBy = getStringAsEnum(sortByVal, SortBy);
|
|
785
|
+
if (sortBy === void 0) return (0, fp_ts_Either.left)("invalid_sort_by");
|
|
786
|
+
values.push(sortBy);
|
|
787
|
+
} else return (0, fp_ts_Either.left)("invalid_sort_by");
|
|
788
|
+
result.sortBy = values;
|
|
789
|
+
}
|
|
790
|
+
if (hasOwnProperty(object, "sortDirection") && object.sortDirection !== void 0) {
|
|
791
|
+
const sortDirectionVal = object.sortDirection;
|
|
792
|
+
const values = [];
|
|
793
|
+
if (Array.isArray(sortDirectionVal)) for (const item of sortDirectionVal) {
|
|
794
|
+
if (typeof item !== "string") return (0, fp_ts_Either.left)("invalid_sort_direction");
|
|
795
|
+
const sortDirection = getStringAsEnum(item, SortDirection);
|
|
796
|
+
if (sortDirection === void 0) return (0, fp_ts_Either.left)("invalid_sort_direction");
|
|
797
|
+
values.push(sortDirection);
|
|
798
|
+
}
|
|
799
|
+
else if (typeof sortDirectionVal === "string") {
|
|
800
|
+
const sortDirection = getStringAsEnum(sortDirectionVal, SortDirection);
|
|
801
|
+
if (sortDirection === void 0) return (0, fp_ts_Either.left)("invalid_sort_direction");
|
|
802
|
+
values.push(sortDirection);
|
|
803
|
+
} else return (0, fp_ts_Either.left)("invalid_sort_direction");
|
|
804
|
+
if (result.sortBy === void 0 || result.sortBy.length === 0) return (0, fp_ts_Either.left)("sort_direction_without_sort_by");
|
|
805
|
+
if (values.length > result.sortBy.length) return (0, fp_ts_Either.left)("sort_direction_length_mismatch");
|
|
806
|
+
result.sortDirection = values;
|
|
807
|
+
}
|
|
754
808
|
return (0, fp_ts_Either.right)(result);
|
|
755
809
|
}
|
|
756
810
|
//#endregion
|
|
@@ -1442,6 +1496,8 @@ Object.defineProperty(exports, "OrgScope", {
|
|
|
1442
1496
|
return OrgScope;
|
|
1443
1497
|
}
|
|
1444
1498
|
});
|
|
1499
|
+
exports.SortBy = SortBy;
|
|
1500
|
+
exports.SortDirection = SortDirection;
|
|
1445
1501
|
Object.defineProperty(exports, "SpaceScope", {
|
|
1446
1502
|
enumerable: true,
|
|
1447
1503
|
get: function() {
|
package/dist/src/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as ApprovalRule, a as Workflow, c as WorkflowAction, d as ListGroups200Response, f as Pagination, g as AndRule, h as EmailAction, i as ListWorkflows200Response, l as WebhookAction, m as GroupInfo, n as User, o as WorkflowRef, p as Group, r as TokenResponse, s as WorkflowTemplate, t as WorkflowCreate, u as UserSummary, v as GroupRequirementRule, y as OrRule } from "../workflow-create-
|
|
1
|
+
import { _ as ApprovalRule, a as Workflow, c as WorkflowAction, d as ListGroups200Response, f as Pagination, g as AndRule, h as EmailAction, i as ListWorkflows200Response, l as WebhookAction, m as GroupInfo, n as User, o as WorkflowRef, p as Group, r as TokenResponse, s as WorkflowTemplate, t as WorkflowCreate, u as UserSummary, v as GroupRequirementRule, y as OrRule } from "../workflow-create-YXAJ6Gr8.cjs";
|
|
2
2
|
import { Either } from "fp-ts/Either";
|
|
3
3
|
|
|
4
4
|
//#region generated/openapi/model/api-error-details-inner.d.ts
|
|
@@ -6,7 +6,7 @@ import { Either } from "fp-ts/Either";
|
|
|
6
6
|
* Workflow Approval System API
|
|
7
7
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
8
8
|
*
|
|
9
|
-
* The version of the OpenAPI document: 0.0.
|
|
9
|
+
* The version of the OpenAPI document: 0.0.34
|
|
10
10
|
*
|
|
11
11
|
*
|
|
12
12
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -36,7 +36,7 @@ interface APIError {
|
|
|
36
36
|
* Workflow Approval System API
|
|
37
37
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
38
38
|
*
|
|
39
|
-
* The version of the OpenAPI document: 0.0.
|
|
39
|
+
* The version of the OpenAPI document: 0.0.34
|
|
40
40
|
*
|
|
41
41
|
*
|
|
42
42
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -75,7 +75,7 @@ interface AddGroupEntitiesRequest {
|
|
|
75
75
|
* Workflow Approval System API
|
|
76
76
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
77
77
|
*
|
|
78
|
-
* The version of the OpenAPI document: 0.0.
|
|
78
|
+
* The version of the OpenAPI document: 0.0.34
|
|
79
79
|
*
|
|
80
80
|
*
|
|
81
81
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -94,7 +94,7 @@ interface AgentChallengeRequest {
|
|
|
94
94
|
* Workflow Approval System API
|
|
95
95
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
96
96
|
*
|
|
97
|
-
* The version of the OpenAPI document: 0.0.
|
|
97
|
+
* The version of the OpenAPI document: 0.0.34
|
|
98
98
|
*
|
|
99
99
|
*
|
|
100
100
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -113,7 +113,7 @@ interface AgentChallengeResponse {
|
|
|
113
113
|
* Workflow Approval System API
|
|
114
114
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
115
115
|
*
|
|
116
|
-
* The version of the OpenAPI document: 0.0.
|
|
116
|
+
* The version of the OpenAPI document: 0.0.34
|
|
117
117
|
*
|
|
118
118
|
*
|
|
119
119
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -144,7 +144,7 @@ interface AgentGet200Response {
|
|
|
144
144
|
* Workflow Approval System API
|
|
145
145
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
146
146
|
*
|
|
147
|
-
* The version of the OpenAPI document: 0.0.
|
|
147
|
+
* The version of the OpenAPI document: 0.0.34
|
|
148
148
|
*
|
|
149
149
|
*
|
|
150
150
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -163,7 +163,7 @@ interface AgentRegistrationRequest {
|
|
|
163
163
|
* Workflow Approval System API
|
|
164
164
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
165
165
|
*
|
|
166
|
-
* The version of the OpenAPI document: 0.0.
|
|
166
|
+
* The version of the OpenAPI document: 0.0.34
|
|
167
167
|
*
|
|
168
168
|
*
|
|
169
169
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -198,7 +198,7 @@ interface AgentRegistrationResponse {
|
|
|
198
198
|
* Workflow Approval System API
|
|
199
199
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
200
200
|
*
|
|
201
|
-
* The version of the OpenAPI document: 0.0.
|
|
201
|
+
* The version of the OpenAPI document: 0.0.34
|
|
202
202
|
*
|
|
203
203
|
*
|
|
204
204
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -221,7 +221,7 @@ interface AgentSummary {
|
|
|
221
221
|
* Workflow Approval System API
|
|
222
222
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
223
223
|
*
|
|
224
|
-
* The version of the OpenAPI document: 0.0.
|
|
224
|
+
* The version of the OpenAPI document: 0.0.34
|
|
225
225
|
*
|
|
226
226
|
*
|
|
227
227
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -258,7 +258,7 @@ declare namespace AgentTokenRequest {
|
|
|
258
258
|
* Workflow Approval System API
|
|
259
259
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
260
260
|
*
|
|
261
|
-
* The version of the OpenAPI document: 0.0.
|
|
261
|
+
* The version of the OpenAPI document: 0.0.34
|
|
262
262
|
*
|
|
263
263
|
*
|
|
264
264
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -281,7 +281,7 @@ interface AgentTokenResponse {
|
|
|
281
281
|
* Workflow Approval System API
|
|
282
282
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
283
283
|
*
|
|
284
|
-
* The version of the OpenAPI document: 0.0.
|
|
284
|
+
* The version of the OpenAPI document: 0.0.34
|
|
285
285
|
*
|
|
286
286
|
*
|
|
287
287
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -326,7 +326,7 @@ interface GetEntityInfo200Response {
|
|
|
326
326
|
* Workflow Approval System API
|
|
327
327
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
328
328
|
*
|
|
329
|
-
* The version of the OpenAPI document: 0.0.
|
|
329
|
+
* The version of the OpenAPI document: 0.0.34
|
|
330
330
|
*
|
|
331
331
|
*
|
|
332
332
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -345,7 +345,7 @@ interface GetWorkflowParams {
|
|
|
345
345
|
* Workflow Approval System API
|
|
346
346
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
347
347
|
*
|
|
348
|
-
* The version of the OpenAPI document: 0.0.
|
|
348
|
+
* The version of the OpenAPI document: 0.0.34
|
|
349
349
|
*
|
|
350
350
|
*
|
|
351
351
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -389,7 +389,7 @@ interface GetWorkflowVotes200Response {
|
|
|
389
389
|
* Workflow Approval System API
|
|
390
390
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
391
391
|
*
|
|
392
|
-
* The version of the OpenAPI document: 0.0.
|
|
392
|
+
* The version of the OpenAPI document: 0.0.34
|
|
393
393
|
*
|
|
394
394
|
*
|
|
395
395
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -421,7 +421,7 @@ interface GroupMembership {
|
|
|
421
421
|
* Workflow Approval System API
|
|
422
422
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
423
423
|
*
|
|
424
|
-
* The version of the OpenAPI document: 0.0.
|
|
424
|
+
* The version of the OpenAPI document: 0.0.34
|
|
425
425
|
*
|
|
426
426
|
*
|
|
427
427
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -453,7 +453,7 @@ declare namespace GroupScope {
|
|
|
453
453
|
* Workflow Approval System API
|
|
454
454
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
455
455
|
*
|
|
456
|
-
* The version of the OpenAPI document: 0.0.
|
|
456
|
+
* The version of the OpenAPI document: 0.0.34
|
|
457
457
|
*
|
|
458
458
|
*
|
|
459
459
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -476,7 +476,7 @@ interface HealthResponse {
|
|
|
476
476
|
* Workflow Approval System API
|
|
477
477
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
478
478
|
*
|
|
479
|
-
* The version of the OpenAPI document: 0.0.
|
|
479
|
+
* The version of the OpenAPI document: 0.0.34
|
|
480
480
|
*
|
|
481
481
|
*
|
|
482
482
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -492,7 +492,7 @@ interface InitiateCliLogin200Response {
|
|
|
492
492
|
* Workflow Approval System API
|
|
493
493
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
494
494
|
*
|
|
495
|
-
* The version of the OpenAPI document: 0.0.
|
|
495
|
+
* The version of the OpenAPI document: 0.0.34
|
|
496
496
|
*
|
|
497
497
|
*
|
|
498
498
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -517,7 +517,7 @@ interface ListAgents200Response {
|
|
|
517
517
|
* Workflow Approval System API
|
|
518
518
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
519
519
|
*
|
|
520
|
-
* The version of the OpenAPI document: 0.0.
|
|
520
|
+
* The version of the OpenAPI document: 0.0.34
|
|
521
521
|
*
|
|
522
522
|
*
|
|
523
523
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -546,7 +546,7 @@ interface ListGroupEntities200Response {
|
|
|
546
546
|
* Workflow Approval System API
|
|
547
547
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
548
548
|
*
|
|
549
|
-
* The version of the OpenAPI document: 0.0.
|
|
549
|
+
* The version of the OpenAPI document: 0.0.34
|
|
550
550
|
*
|
|
551
551
|
*
|
|
552
552
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -573,7 +573,7 @@ interface ListGroupsParams {
|
|
|
573
573
|
* Workflow Approval System API
|
|
574
574
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
575
575
|
*
|
|
576
|
-
* The version of the OpenAPI document: 0.0.
|
|
576
|
+
* The version of the OpenAPI document: 0.0.34
|
|
577
577
|
*
|
|
578
578
|
*
|
|
579
579
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -606,7 +606,7 @@ interface ListOrganizationAdminsForOrg200Response {
|
|
|
606
606
|
* Workflow Approval System API
|
|
607
607
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
608
608
|
*
|
|
609
|
-
* The version of the OpenAPI document: 0.0.
|
|
609
|
+
* The version of the OpenAPI document: 0.0.34
|
|
610
610
|
*
|
|
611
611
|
*
|
|
612
612
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -638,7 +638,7 @@ interface ListRoleTemplates200Response {
|
|
|
638
638
|
* Workflow Approval System API
|
|
639
639
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
640
640
|
*
|
|
641
|
-
* The version of the OpenAPI document: 0.0.
|
|
641
|
+
* The version of the OpenAPI document: 0.0.34
|
|
642
642
|
*
|
|
643
643
|
*
|
|
644
644
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -679,7 +679,7 @@ interface ListSpaces200Response {
|
|
|
679
679
|
* Workflow Approval System API
|
|
680
680
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
681
681
|
*
|
|
682
|
-
* The version of the OpenAPI document: 0.0.
|
|
682
|
+
* The version of the OpenAPI document: 0.0.34
|
|
683
683
|
*
|
|
684
684
|
*
|
|
685
685
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -712,7 +712,7 @@ interface ListUsers200Response {
|
|
|
712
712
|
* Workflow Approval System API
|
|
713
713
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
714
714
|
*
|
|
715
|
-
* The version of the OpenAPI document: 0.0.
|
|
715
|
+
* The version of the OpenAPI document: 0.0.34
|
|
716
716
|
*
|
|
717
717
|
*
|
|
718
718
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -739,7 +739,7 @@ interface ListUsersParams {
|
|
|
739
739
|
* Workflow Approval System API
|
|
740
740
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
741
741
|
*
|
|
742
|
-
* The version of the OpenAPI document: 0.0.
|
|
742
|
+
* The version of the OpenAPI document: 0.0.34
|
|
743
743
|
*
|
|
744
744
|
*
|
|
745
745
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -784,7 +784,7 @@ interface ListWorkflowTemplates200Response {
|
|
|
784
784
|
* Workflow Approval System API
|
|
785
785
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
786
786
|
*
|
|
787
|
-
* The version of the OpenAPI document: 0.0.
|
|
787
|
+
* The version of the OpenAPI document: 0.0.34
|
|
788
788
|
*
|
|
789
789
|
*
|
|
790
790
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -801,13 +801,25 @@ interface ListWorkflowTemplatesParams {
|
|
|
801
801
|
*/
|
|
802
802
|
limit?: number;
|
|
803
803
|
/**
|
|
804
|
-
*
|
|
804
|
+
* Search term for workflow template name.
|
|
805
805
|
*/
|
|
806
806
|
search?: string;
|
|
807
|
+
/**
|
|
808
|
+
* Mode for the search parameter. \'CONTAINS\' for partial matches, \'EXACT\' for exact matches.
|
|
809
|
+
*/
|
|
810
|
+
searchMode?: string;
|
|
807
811
|
/**
|
|
808
812
|
* Optional space identifier (UUID or name) to filter workflow templates.
|
|
809
813
|
*/
|
|
810
814
|
spaceIdentifier?: string;
|
|
815
|
+
/**
|
|
816
|
+
* Fields to sort the results by. Can be specified multiple times. For the \'VERSION\' field, sorting is numerical for versions that can be coerced to a number, and alphabetical for everything else. Non-numerical versions take precedence over numbers.
|
|
817
|
+
*/
|
|
818
|
+
sortBy?: Array<string>;
|
|
819
|
+
/**
|
|
820
|
+
* The sort directions that correspond to the sortBy parameters in order. If specified, must not have more items than sortBy.
|
|
821
|
+
*/
|
|
822
|
+
sortDirection?: Array<string>;
|
|
811
823
|
/**
|
|
812
824
|
* Filter by workflow template status. Can provide multiple values. Defaults to returning only ACTIVE templates.
|
|
813
825
|
*/
|
|
@@ -819,7 +831,7 @@ interface ListWorkflowTemplatesParams {
|
|
|
819
831
|
* Workflow Approval System API
|
|
820
832
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
821
833
|
*
|
|
822
|
-
* The version of the OpenAPI document: 0.0.
|
|
834
|
+
* The version of the OpenAPI document: 0.0.34
|
|
823
835
|
*
|
|
824
836
|
*
|
|
825
837
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -854,7 +866,7 @@ interface ListWorkflowsParams {
|
|
|
854
866
|
* Workflow Approval System API
|
|
855
867
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
856
868
|
*
|
|
857
|
-
* The version of the OpenAPI document: 0.0.
|
|
869
|
+
* The version of the OpenAPI document: 0.0.34
|
|
858
870
|
*
|
|
859
871
|
*
|
|
860
872
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -877,7 +889,7 @@ interface OidcCallbackRequest {
|
|
|
877
889
|
* Workflow Approval System API
|
|
878
890
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
879
891
|
*
|
|
880
|
-
* The version of the OpenAPI document: 0.0.
|
|
892
|
+
* The version of the OpenAPI document: 0.0.34
|
|
881
893
|
*
|
|
882
894
|
*
|
|
883
895
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -905,7 +917,7 @@ declare namespace OrgScope {
|
|
|
905
917
|
* Workflow Approval System API
|
|
906
918
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
907
919
|
*
|
|
908
|
-
* The version of the OpenAPI document: 0.0.
|
|
920
|
+
* The version of the OpenAPI document: 0.0.34
|
|
909
921
|
*
|
|
910
922
|
*
|
|
911
923
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -924,7 +936,7 @@ interface OrganizationAdminCreate {
|
|
|
924
936
|
* Workflow Approval System API
|
|
925
937
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
926
938
|
*
|
|
927
|
-
* The version of the OpenAPI document: 0.0.
|
|
939
|
+
* The version of the OpenAPI document: 0.0.34
|
|
928
940
|
*
|
|
929
941
|
*
|
|
930
942
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -943,7 +955,7 @@ interface OrganizationAdminRemove {
|
|
|
943
955
|
* Workflow Approval System API
|
|
944
956
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
945
957
|
*
|
|
946
|
-
* The version of the OpenAPI document: 0.0.
|
|
958
|
+
* The version of the OpenAPI document: 0.0.34
|
|
947
959
|
*
|
|
948
960
|
*
|
|
949
961
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -974,7 +986,7 @@ interface PrivilegedTokenExchangeRequest {
|
|
|
974
986
|
* Workflow Approval System API
|
|
975
987
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
976
988
|
*
|
|
977
|
-
* The version of the OpenAPI document: 0.0.
|
|
989
|
+
* The version of the OpenAPI document: 0.0.34
|
|
978
990
|
*
|
|
979
991
|
*
|
|
980
992
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -993,7 +1005,7 @@ interface PrivilegedTokenResponse {
|
|
|
993
1005
|
* Workflow Approval System API
|
|
994
1006
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
995
1007
|
*
|
|
996
|
-
* The version of the OpenAPI document: 0.0.
|
|
1008
|
+
* The version of the OpenAPI document: 0.0.34
|
|
997
1009
|
*
|
|
998
1010
|
*
|
|
999
1011
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1023,7 +1035,7 @@ interface RemoveGroupEntitiesRequest {
|
|
|
1023
1035
|
* Workflow Approval System API
|
|
1024
1036
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1025
1037
|
*
|
|
1026
|
-
* The version of the OpenAPI document: 0.0.
|
|
1038
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1027
1039
|
*
|
|
1028
1040
|
*
|
|
1029
1041
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1055,7 +1067,7 @@ declare namespace SpaceScope {
|
|
|
1055
1067
|
* Workflow Approval System API
|
|
1056
1068
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1057
1069
|
*
|
|
1058
|
-
* The version of the OpenAPI document: 0.0.
|
|
1070
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1059
1071
|
*
|
|
1060
1072
|
*
|
|
1061
1073
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1143,7 +1155,7 @@ interface RoleRemovalRequest {
|
|
|
1143
1155
|
* Workflow Approval System API
|
|
1144
1156
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1145
1157
|
*
|
|
1146
|
-
* The version of the OpenAPI document: 0.0.
|
|
1158
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1147
1159
|
*
|
|
1148
1160
|
*
|
|
1149
1161
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1166,7 +1178,7 @@ interface SpaceCreate {
|
|
|
1166
1178
|
* Workflow Approval System API
|
|
1167
1179
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1168
1180
|
*
|
|
1169
|
-
* The version of the OpenAPI document: 0.0.
|
|
1181
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1170
1182
|
*
|
|
1171
1183
|
*
|
|
1172
1184
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1189,7 +1201,7 @@ interface TokenRequest {
|
|
|
1189
1201
|
* Workflow Approval System API
|
|
1190
1202
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1191
1203
|
*
|
|
1192
|
-
* The version of the OpenAPI document: 0.0.
|
|
1204
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1193
1205
|
*
|
|
1194
1206
|
*
|
|
1195
1207
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1216,7 +1228,7 @@ interface UserCreate {
|
|
|
1216
1228
|
* Workflow Approval System API
|
|
1217
1229
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1218
1230
|
*
|
|
1219
|
-
* The version of the OpenAPI document: 0.0.
|
|
1231
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1220
1232
|
*
|
|
1221
1233
|
*
|
|
1222
1234
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1245,7 +1257,7 @@ declare namespace VoteApprove {
|
|
|
1245
1257
|
* Workflow Approval System API
|
|
1246
1258
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1247
1259
|
*
|
|
1248
|
-
* The version of the OpenAPI document: 0.0.
|
|
1260
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1249
1261
|
*
|
|
1250
1262
|
*
|
|
1251
1263
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1270,7 +1282,7 @@ declare namespace VoteVeto {
|
|
|
1270
1282
|
* Workflow Approval System API
|
|
1271
1283
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1272
1284
|
*
|
|
1273
|
-
* The version of the OpenAPI document: 0.0.
|
|
1285
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1274
1286
|
*
|
|
1275
1287
|
*
|
|
1276
1288
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1324,7 +1336,7 @@ interface WorkflowTemplateCreate {
|
|
|
1324
1336
|
* Workflow Approval System API
|
|
1325
1337
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1326
1338
|
*
|
|
1327
|
-
* The version of the OpenAPI document: 0.0.
|
|
1339
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1328
1340
|
*
|
|
1329
1341
|
*
|
|
1330
1342
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1476,7 +1488,16 @@ declare function validateWorkflowTemplateScope(object: unknown): Either<Workflow
|
|
|
1476
1488
|
type WorkflowTemplateSummaryValidationError = "malformed_object" | "invalid_id" | "invalid_name" | "invalid_version" | "invalid_created_at" | "invalid_updated_at" | "invalid_description";
|
|
1477
1489
|
type ListWorkflowTemplates200ResponseValidationError = "malformed_object" | "invalid_data" | "invalid_pagination" | "missing_pagination" | PrefixUnion<"data_item", WorkflowTemplateSummaryValidationError>;
|
|
1478
1490
|
declare function validateListWorkflowTemplates200Response(object: unknown): Either<ListWorkflowTemplates200ResponseValidationError, ListWorkflowTemplates200Response>;
|
|
1479
|
-
type ListWorkflowTemplatesParamsValidationError = ListParamsValidationError | "invalid_space_identifier" | "invalid_status";
|
|
1491
|
+
type ListWorkflowTemplatesParamsValidationError = ListParamsValidationError | "invalid_space_identifier" | "invalid_status" | "invalid_search_mode" | "invalid_search_length" | "invalid_sort_by" | "invalid_sort_direction" | "sort_direction_without_sort_by" | "sort_direction_length_mismatch";
|
|
1492
|
+
declare enum SortBy {
|
|
1493
|
+
VERSION = "VERSION",
|
|
1494
|
+
UPDATED_AT = "UPDATED_AT",
|
|
1495
|
+
CREATED_AT = "CREATED_AT"
|
|
1496
|
+
}
|
|
1497
|
+
declare enum SortDirection {
|
|
1498
|
+
ASC = "ASC",
|
|
1499
|
+
DESC = "DESC"
|
|
1500
|
+
}
|
|
1480
1501
|
declare function validateListWorkflowTemplatesParams(object: unknown): Either<ListWorkflowTemplatesParamsValidationError, ListWorkflowTemplatesParams>;
|
|
1481
1502
|
//#endregion
|
|
1482
1503
|
//#region src/validators/spaces.validators.d.ts
|
|
@@ -1551,4 +1572,4 @@ type APIErrorValidationError = "malformed_object" | "missing_code" | "invalid_co
|
|
|
1551
1572
|
declare function validateAPIError(object: unknown): Either<APIErrorValidationError, APIError>;
|
|
1552
1573
|
declare function isAPIError(object: unknown): object is APIError;
|
|
1553
1574
|
//#endregion
|
|
1554
|
-
export { APIError, APIErrorDetailsInner, APIErrorDetailsInnerValidationError, APIErrorValidationError, AddGroupEntitiesRequest, AddGroupEntitiesRequestValidationError, AgentChallengeRequest, AgentChallengeRequestValidationError, AgentChallengeResponse, AgentChallengeResponseValidationError, AgentGet200Response, AgentGet200ResponseValidationError, AgentRegistrationRequest, AgentRegistrationRequestValidationError, AgentRegistrationResponse, AgentRegistrationResponseValidationError, AgentSummary, AgentSummaryValidationError, AgentTokenRequest, AgentTokenRequestValidationError, AgentTokenResponse, AgentTokenResponseValidationError, AndRule, ApprovalRule, CanVoteResponse, CanVoteResponseValidationError, EmailAction, EntityMembershipAdd, EntityMembershipAddValidationError, EntityMembershipRemove, EntityMembershipRemoveValidationError, EntityReference, EntityReferenceValidationError, GetEntityInfo200Response, GetEntityInfo200ResponseValidationError, GetWorkflowParams, GetWorkflowParamsValidationError, GetWorkflowVotes200Response, GetWorkflowVotes200ResponseValidationError, Group, GroupCreate, GroupCreateValidationError, GroupInfo, GroupInfoValidationError, GroupMembership, GroupMembershipValidationError, GroupRequirementRule, GroupScope, GroupScopeValidationError, GroupValidationError, HealthResponse, HealthResponseValidationError, InitiateCliLogin200Response, InitiateCliLogin200ResponseValidationError, InitiateCliLoginRequest, InitiateCliLoginRequestValidationError, ListAgents200Response, ListAgents200ResponseValidationError, ListAgentsParams, ListAgentsParamsValidationError, ListGroupEntities200Response, ListGroupEntities200ResponseValidationError, ListGroups200Response, ListGroups200ResponseValidationError, ListGroupsParams, ListGroupsParamsValidationError, ListOrganizationAdminsForOrg200Response, ListOrganizationAdminsForOrg200ResponseValidationError, ListParamsValidationError, ListRoleTemplates200Response, ListRoleTemplates200ResponseValidationError, ListSpaces200Response, ListSpaces200ResponseValidationError, ListSpacesParams, ListSpacesParamsValidationError, ListUsers200Response, ListUsers200ResponseValidationError, ListUsersParams, ListUsersParamsValidationError, ListWorkflowTemplates200Response, ListWorkflowTemplates200ResponseValidationError, ListWorkflowTemplatesParams, ListWorkflowTemplatesParamsValidationError, ListWorkflows200Response, ListWorkflows200ResponseValidationError, ListWorkflowsParams, ListWorkflowsParamsValidationError, OidcCallbackRequest, OidcCallbackRequestValidationError, OrRule, OrgScope, OrganizationAdmin, OrganizationAdminCreate, OrganizationAdminCreateValidationError, OrganizationAdminRemove, OrganizationAdminRemoveValidationError, OrganizationAdminValidationError, Pagination, PaginationValidationError, PrivilegedTokenExchangeRequest, PrivilegedTokenExchangeRequestValidationError, PrivilegedTokenResponse, PrivilegedTokenResponseValidationError, RefreshTokenRequest, RefreshTokenRequestValidationError, RemoveGroupEntitiesRequest, RemoveGroupEntitiesRequestValidationError, RoleAssignmentRequest, RoleOperationItem, RoleOperationItemValidationError, RoleOperationRequest, RoleOperationRequestValidationError, RoleRemovalRequest, RoleScope, RoleScopeValidationError, RoleTemplate, RoleTemplateValidationError, Space, SpaceCreate, SpaceCreateValidationError, SpaceScope, SpaceScopeValidationError, SpaceValidationError, TokenRequest, TokenRequestValidationError, TokenResponse, TokenResponseValidationError, User, UserCreate, UserCreateValidationError, UserSummary, UserSummaryValidationError, UserValidationError, ValidatedListParams, VoteApprove, VoteApproveValidationError, VoteVeto, VoteVetoValidationError, VoteWithdraw, VoteWithdrawValidationError, WebhookAction, Workflow, WorkflowAction, WorkflowCreate, WorkflowCreateValidationError, WorkflowRef, WorkflowRefValidationError, WorkflowTemplate, WorkflowTemplateCreate, WorkflowTemplateCreateValidationError, WorkflowTemplateDeprecate, WorkflowTemplateDeprecateValidationError, WorkflowTemplateScope, WorkflowTemplateScopeValidationError, WorkflowTemplateSummary, WorkflowTemplateUpdate, WorkflowTemplateUpdateValidationError, WorkflowTemplateValidationError, WorkflowValidationError, WorkflowVote, WorkflowVoteRequest, WorkflowVoteRequestValidationError, WorkflowVoteRequestVoteType, WorkflowVoteRequestVoteTypeValidationError, WorkflowVoteValidationError, isAPIError, validateAPIError, validateAddGroupEntitiesRequest, validateAgentChallengeRequest, validateAgentChallengeResponse, validateAgentGet200Response, validateAgentRegistrationRequest, validateAgentRegistrationResponse, validateAgentTokenRequest, validateAgentTokenResponse, validateCanVoteResponse, validateGetEntityInfo200Response, validateGetWorkflowParams, validateGetWorkflowVotes200Response, validateGroupCreate, validateGroupInfo, validateGroupScope, validateHealthResponse, validateInitiateCliLogin200Response, validateInitiateCliLoginRequest, validateListAgents200Response, validateListAgentsParams, validateListGroupEntities200Response, validateListGroups200Response, validateListGroupsParams, validateListOrganizationAdminsForOrg200Response, validateListRoleTemplates200Response, validateListSpaces200Response, validateListSpacesParams, validateListUsers200Response, validateListUsersParams, validateListWorkflowTemplates200Response, validateListWorkflowTemplatesParams, validateListWorkflows200Response, validateListWorkflowsParams, validateOidcCallbackRequest, validateOrganizationAdminCreate, validateOrganizationAdminRemove, validatePagination, validatePrivilegedTokenExchangeRequest, validatePrivilegedTokenResponse, validateRefreshTokenRequest, validateRemoveGroupEntitiesRequest, validateRoleAssignmentRequest, validateRoleRemovalRequest, validateSharedListParams, validateSpaceCreate, validateSpaceScope, validateTokenRequest, validateTokenResponse, validateUser, validateUserCreate, validateWorkflowCreate, validateWorkflowTemplate, validateWorkflowTemplateCreate, validateWorkflowTemplateDeprecate, validateWorkflowTemplateScope, validateWorkflowTemplateUpdate, validateWorkflowVoteRequest };
|
|
1575
|
+
export { APIError, APIErrorDetailsInner, APIErrorDetailsInnerValidationError, APIErrorValidationError, AddGroupEntitiesRequest, AddGroupEntitiesRequestValidationError, AgentChallengeRequest, AgentChallengeRequestValidationError, AgentChallengeResponse, AgentChallengeResponseValidationError, AgentGet200Response, AgentGet200ResponseValidationError, AgentRegistrationRequest, AgentRegistrationRequestValidationError, AgentRegistrationResponse, AgentRegistrationResponseValidationError, AgentSummary, AgentSummaryValidationError, AgentTokenRequest, AgentTokenRequestValidationError, AgentTokenResponse, AgentTokenResponseValidationError, AndRule, ApprovalRule, CanVoteResponse, CanVoteResponseValidationError, EmailAction, EntityMembershipAdd, EntityMembershipAddValidationError, EntityMembershipRemove, EntityMembershipRemoveValidationError, EntityReference, EntityReferenceValidationError, GetEntityInfo200Response, GetEntityInfo200ResponseValidationError, GetWorkflowParams, GetWorkflowParamsValidationError, GetWorkflowVotes200Response, GetWorkflowVotes200ResponseValidationError, Group, GroupCreate, GroupCreateValidationError, GroupInfo, GroupInfoValidationError, GroupMembership, GroupMembershipValidationError, GroupRequirementRule, GroupScope, GroupScopeValidationError, GroupValidationError, HealthResponse, HealthResponseValidationError, InitiateCliLogin200Response, InitiateCliLogin200ResponseValidationError, InitiateCliLoginRequest, InitiateCliLoginRequestValidationError, ListAgents200Response, ListAgents200ResponseValidationError, ListAgentsParams, ListAgentsParamsValidationError, ListGroupEntities200Response, ListGroupEntities200ResponseValidationError, ListGroups200Response, ListGroups200ResponseValidationError, ListGroupsParams, ListGroupsParamsValidationError, ListOrganizationAdminsForOrg200Response, ListOrganizationAdminsForOrg200ResponseValidationError, ListParamsValidationError, ListRoleTemplates200Response, ListRoleTemplates200ResponseValidationError, ListSpaces200Response, ListSpaces200ResponseValidationError, ListSpacesParams, ListSpacesParamsValidationError, ListUsers200Response, ListUsers200ResponseValidationError, ListUsersParams, ListUsersParamsValidationError, ListWorkflowTemplates200Response, ListWorkflowTemplates200ResponseValidationError, ListWorkflowTemplatesParams, ListWorkflowTemplatesParamsValidationError, ListWorkflows200Response, ListWorkflows200ResponseValidationError, ListWorkflowsParams, ListWorkflowsParamsValidationError, OidcCallbackRequest, OidcCallbackRequestValidationError, OrRule, OrgScope, OrganizationAdmin, OrganizationAdminCreate, OrganizationAdminCreateValidationError, OrganizationAdminRemove, OrganizationAdminRemoveValidationError, OrganizationAdminValidationError, Pagination, PaginationValidationError, PrivilegedTokenExchangeRequest, PrivilegedTokenExchangeRequestValidationError, PrivilegedTokenResponse, PrivilegedTokenResponseValidationError, RefreshTokenRequest, RefreshTokenRequestValidationError, RemoveGroupEntitiesRequest, RemoveGroupEntitiesRequestValidationError, RoleAssignmentRequest, RoleOperationItem, RoleOperationItemValidationError, RoleOperationRequest, RoleOperationRequestValidationError, RoleRemovalRequest, RoleScope, RoleScopeValidationError, RoleTemplate, RoleTemplateValidationError, SortBy, SortDirection, Space, SpaceCreate, SpaceCreateValidationError, SpaceScope, SpaceScopeValidationError, SpaceValidationError, TokenRequest, TokenRequestValidationError, TokenResponse, TokenResponseValidationError, User, UserCreate, UserCreateValidationError, UserSummary, UserSummaryValidationError, UserValidationError, ValidatedListParams, VoteApprove, VoteApproveValidationError, VoteVeto, VoteVetoValidationError, VoteWithdraw, VoteWithdrawValidationError, WebhookAction, Workflow, WorkflowAction, WorkflowCreate, WorkflowCreateValidationError, WorkflowRef, WorkflowRefValidationError, WorkflowTemplate, WorkflowTemplateCreate, WorkflowTemplateCreateValidationError, WorkflowTemplateDeprecate, WorkflowTemplateDeprecateValidationError, WorkflowTemplateScope, WorkflowTemplateScopeValidationError, WorkflowTemplateSummary, WorkflowTemplateUpdate, WorkflowTemplateUpdateValidationError, WorkflowTemplateValidationError, WorkflowValidationError, WorkflowVote, WorkflowVoteRequest, WorkflowVoteRequestValidationError, WorkflowVoteRequestVoteType, WorkflowVoteRequestVoteTypeValidationError, WorkflowVoteValidationError, isAPIError, validateAPIError, validateAddGroupEntitiesRequest, validateAgentChallengeRequest, validateAgentChallengeResponse, validateAgentGet200Response, validateAgentRegistrationRequest, validateAgentRegistrationResponse, validateAgentTokenRequest, validateAgentTokenResponse, validateCanVoteResponse, validateGetEntityInfo200Response, validateGetWorkflowParams, validateGetWorkflowVotes200Response, validateGroupCreate, validateGroupInfo, validateGroupScope, validateHealthResponse, validateInitiateCliLogin200Response, validateInitiateCliLoginRequest, validateListAgents200Response, validateListAgentsParams, validateListGroupEntities200Response, validateListGroups200Response, validateListGroupsParams, validateListOrganizationAdminsForOrg200Response, validateListRoleTemplates200Response, validateListSpaces200Response, validateListSpacesParams, validateListUsers200Response, validateListUsersParams, validateListWorkflowTemplates200Response, validateListWorkflowTemplatesParams, validateListWorkflows200Response, validateListWorkflowsParams, validateOidcCallbackRequest, validateOrganizationAdminCreate, validateOrganizationAdminRemove, validatePagination, validatePrivilegedTokenExchangeRequest, validatePrivilegedTokenResponse, validateRefreshTokenRequest, validateRemoveGroupEntitiesRequest, validateRoleAssignmentRequest, validateRoleRemovalRequest, validateSharedListParams, validateSpaceCreate, validateSpaceScope, validateTokenRequest, validateTokenResponse, validateUser, validateUserCreate, validateWorkflowCreate, validateWorkflowTemplate, validateWorkflowTemplateCreate, validateWorkflowTemplateDeprecate, validateWorkflowTemplateScope, validateWorkflowTemplateUpdate, validateWorkflowVoteRequest };
|
package/dist/src/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as ApprovalRule, a as Workflow, c as WorkflowAction, d as ListGroups200Response, f as Pagination, g as AndRule, h as EmailAction, i as ListWorkflows200Response, l as WebhookAction, m as GroupInfo, n as User, o as WorkflowRef, p as Group, r as TokenResponse, s as WorkflowTemplate, t as WorkflowCreate, u as UserSummary, v as GroupRequirementRule, y as OrRule } from "../workflow-create-
|
|
1
|
+
import { _ as ApprovalRule, a as Workflow, c as WorkflowAction, d as ListGroups200Response, f as Pagination, g as AndRule, h as EmailAction, i as ListWorkflows200Response, l as WebhookAction, m as GroupInfo, n as User, o as WorkflowRef, p as Group, r as TokenResponse, s as WorkflowTemplate, t as WorkflowCreate, u as UserSummary, v as GroupRequirementRule, y as OrRule } from "../workflow-create-BWzcjT6i.mjs";
|
|
2
2
|
import { Either } from "fp-ts/Either";
|
|
3
3
|
|
|
4
4
|
//#region generated/openapi/model/api-error-details-inner.d.ts
|
|
@@ -6,7 +6,7 @@ import { Either } from "fp-ts/Either";
|
|
|
6
6
|
* Workflow Approval System API
|
|
7
7
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
8
8
|
*
|
|
9
|
-
* The version of the OpenAPI document: 0.0.
|
|
9
|
+
* The version of the OpenAPI document: 0.0.34
|
|
10
10
|
*
|
|
11
11
|
*
|
|
12
12
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -36,7 +36,7 @@ interface APIError {
|
|
|
36
36
|
* Workflow Approval System API
|
|
37
37
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
38
38
|
*
|
|
39
|
-
* The version of the OpenAPI document: 0.0.
|
|
39
|
+
* The version of the OpenAPI document: 0.0.34
|
|
40
40
|
*
|
|
41
41
|
*
|
|
42
42
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -75,7 +75,7 @@ interface AddGroupEntitiesRequest {
|
|
|
75
75
|
* Workflow Approval System API
|
|
76
76
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
77
77
|
*
|
|
78
|
-
* The version of the OpenAPI document: 0.0.
|
|
78
|
+
* The version of the OpenAPI document: 0.0.34
|
|
79
79
|
*
|
|
80
80
|
*
|
|
81
81
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -94,7 +94,7 @@ interface AgentChallengeRequest {
|
|
|
94
94
|
* Workflow Approval System API
|
|
95
95
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
96
96
|
*
|
|
97
|
-
* The version of the OpenAPI document: 0.0.
|
|
97
|
+
* The version of the OpenAPI document: 0.0.34
|
|
98
98
|
*
|
|
99
99
|
*
|
|
100
100
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -113,7 +113,7 @@ interface AgentChallengeResponse {
|
|
|
113
113
|
* Workflow Approval System API
|
|
114
114
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
115
115
|
*
|
|
116
|
-
* The version of the OpenAPI document: 0.0.
|
|
116
|
+
* The version of the OpenAPI document: 0.0.34
|
|
117
117
|
*
|
|
118
118
|
*
|
|
119
119
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -144,7 +144,7 @@ interface AgentGet200Response {
|
|
|
144
144
|
* Workflow Approval System API
|
|
145
145
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
146
146
|
*
|
|
147
|
-
* The version of the OpenAPI document: 0.0.
|
|
147
|
+
* The version of the OpenAPI document: 0.0.34
|
|
148
148
|
*
|
|
149
149
|
*
|
|
150
150
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -163,7 +163,7 @@ interface AgentRegistrationRequest {
|
|
|
163
163
|
* Workflow Approval System API
|
|
164
164
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
165
165
|
*
|
|
166
|
-
* The version of the OpenAPI document: 0.0.
|
|
166
|
+
* The version of the OpenAPI document: 0.0.34
|
|
167
167
|
*
|
|
168
168
|
*
|
|
169
169
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -198,7 +198,7 @@ interface AgentRegistrationResponse {
|
|
|
198
198
|
* Workflow Approval System API
|
|
199
199
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
200
200
|
*
|
|
201
|
-
* The version of the OpenAPI document: 0.0.
|
|
201
|
+
* The version of the OpenAPI document: 0.0.34
|
|
202
202
|
*
|
|
203
203
|
*
|
|
204
204
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -221,7 +221,7 @@ interface AgentSummary {
|
|
|
221
221
|
* Workflow Approval System API
|
|
222
222
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
223
223
|
*
|
|
224
|
-
* The version of the OpenAPI document: 0.0.
|
|
224
|
+
* The version of the OpenAPI document: 0.0.34
|
|
225
225
|
*
|
|
226
226
|
*
|
|
227
227
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -258,7 +258,7 @@ declare namespace AgentTokenRequest {
|
|
|
258
258
|
* Workflow Approval System API
|
|
259
259
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
260
260
|
*
|
|
261
|
-
* The version of the OpenAPI document: 0.0.
|
|
261
|
+
* The version of the OpenAPI document: 0.0.34
|
|
262
262
|
*
|
|
263
263
|
*
|
|
264
264
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -281,7 +281,7 @@ interface AgentTokenResponse {
|
|
|
281
281
|
* Workflow Approval System API
|
|
282
282
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
283
283
|
*
|
|
284
|
-
* The version of the OpenAPI document: 0.0.
|
|
284
|
+
* The version of the OpenAPI document: 0.0.34
|
|
285
285
|
*
|
|
286
286
|
*
|
|
287
287
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -326,7 +326,7 @@ interface GetEntityInfo200Response {
|
|
|
326
326
|
* Workflow Approval System API
|
|
327
327
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
328
328
|
*
|
|
329
|
-
* The version of the OpenAPI document: 0.0.
|
|
329
|
+
* The version of the OpenAPI document: 0.0.34
|
|
330
330
|
*
|
|
331
331
|
*
|
|
332
332
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -345,7 +345,7 @@ interface GetWorkflowParams {
|
|
|
345
345
|
* Workflow Approval System API
|
|
346
346
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
347
347
|
*
|
|
348
|
-
* The version of the OpenAPI document: 0.0.
|
|
348
|
+
* The version of the OpenAPI document: 0.0.34
|
|
349
349
|
*
|
|
350
350
|
*
|
|
351
351
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -389,7 +389,7 @@ interface GetWorkflowVotes200Response {
|
|
|
389
389
|
* Workflow Approval System API
|
|
390
390
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
391
391
|
*
|
|
392
|
-
* The version of the OpenAPI document: 0.0.
|
|
392
|
+
* The version of the OpenAPI document: 0.0.34
|
|
393
393
|
*
|
|
394
394
|
*
|
|
395
395
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -421,7 +421,7 @@ interface GroupMembership {
|
|
|
421
421
|
* Workflow Approval System API
|
|
422
422
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
423
423
|
*
|
|
424
|
-
* The version of the OpenAPI document: 0.0.
|
|
424
|
+
* The version of the OpenAPI document: 0.0.34
|
|
425
425
|
*
|
|
426
426
|
*
|
|
427
427
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -453,7 +453,7 @@ declare namespace GroupScope {
|
|
|
453
453
|
* Workflow Approval System API
|
|
454
454
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
455
455
|
*
|
|
456
|
-
* The version of the OpenAPI document: 0.0.
|
|
456
|
+
* The version of the OpenAPI document: 0.0.34
|
|
457
457
|
*
|
|
458
458
|
*
|
|
459
459
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -476,7 +476,7 @@ interface HealthResponse {
|
|
|
476
476
|
* Workflow Approval System API
|
|
477
477
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
478
478
|
*
|
|
479
|
-
* The version of the OpenAPI document: 0.0.
|
|
479
|
+
* The version of the OpenAPI document: 0.0.34
|
|
480
480
|
*
|
|
481
481
|
*
|
|
482
482
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -492,7 +492,7 @@ interface InitiateCliLogin200Response {
|
|
|
492
492
|
* Workflow Approval System API
|
|
493
493
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
494
494
|
*
|
|
495
|
-
* The version of the OpenAPI document: 0.0.
|
|
495
|
+
* The version of the OpenAPI document: 0.0.34
|
|
496
496
|
*
|
|
497
497
|
*
|
|
498
498
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -517,7 +517,7 @@ interface ListAgents200Response {
|
|
|
517
517
|
* Workflow Approval System API
|
|
518
518
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
519
519
|
*
|
|
520
|
-
* The version of the OpenAPI document: 0.0.
|
|
520
|
+
* The version of the OpenAPI document: 0.0.34
|
|
521
521
|
*
|
|
522
522
|
*
|
|
523
523
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -546,7 +546,7 @@ interface ListGroupEntities200Response {
|
|
|
546
546
|
* Workflow Approval System API
|
|
547
547
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
548
548
|
*
|
|
549
|
-
* The version of the OpenAPI document: 0.0.
|
|
549
|
+
* The version of the OpenAPI document: 0.0.34
|
|
550
550
|
*
|
|
551
551
|
*
|
|
552
552
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -573,7 +573,7 @@ interface ListGroupsParams {
|
|
|
573
573
|
* Workflow Approval System API
|
|
574
574
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
575
575
|
*
|
|
576
|
-
* The version of the OpenAPI document: 0.0.
|
|
576
|
+
* The version of the OpenAPI document: 0.0.34
|
|
577
577
|
*
|
|
578
578
|
*
|
|
579
579
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -606,7 +606,7 @@ interface ListOrganizationAdminsForOrg200Response {
|
|
|
606
606
|
* Workflow Approval System API
|
|
607
607
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
608
608
|
*
|
|
609
|
-
* The version of the OpenAPI document: 0.0.
|
|
609
|
+
* The version of the OpenAPI document: 0.0.34
|
|
610
610
|
*
|
|
611
611
|
*
|
|
612
612
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -638,7 +638,7 @@ interface ListRoleTemplates200Response {
|
|
|
638
638
|
* Workflow Approval System API
|
|
639
639
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
640
640
|
*
|
|
641
|
-
* The version of the OpenAPI document: 0.0.
|
|
641
|
+
* The version of the OpenAPI document: 0.0.34
|
|
642
642
|
*
|
|
643
643
|
*
|
|
644
644
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -679,7 +679,7 @@ interface ListSpaces200Response {
|
|
|
679
679
|
* Workflow Approval System API
|
|
680
680
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
681
681
|
*
|
|
682
|
-
* The version of the OpenAPI document: 0.0.
|
|
682
|
+
* The version of the OpenAPI document: 0.0.34
|
|
683
683
|
*
|
|
684
684
|
*
|
|
685
685
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -712,7 +712,7 @@ interface ListUsers200Response {
|
|
|
712
712
|
* Workflow Approval System API
|
|
713
713
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
714
714
|
*
|
|
715
|
-
* The version of the OpenAPI document: 0.0.
|
|
715
|
+
* The version of the OpenAPI document: 0.0.34
|
|
716
716
|
*
|
|
717
717
|
*
|
|
718
718
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -739,7 +739,7 @@ interface ListUsersParams {
|
|
|
739
739
|
* Workflow Approval System API
|
|
740
740
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
741
741
|
*
|
|
742
|
-
* The version of the OpenAPI document: 0.0.
|
|
742
|
+
* The version of the OpenAPI document: 0.0.34
|
|
743
743
|
*
|
|
744
744
|
*
|
|
745
745
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -784,7 +784,7 @@ interface ListWorkflowTemplates200Response {
|
|
|
784
784
|
* Workflow Approval System API
|
|
785
785
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
786
786
|
*
|
|
787
|
-
* The version of the OpenAPI document: 0.0.
|
|
787
|
+
* The version of the OpenAPI document: 0.0.34
|
|
788
788
|
*
|
|
789
789
|
*
|
|
790
790
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -801,13 +801,25 @@ interface ListWorkflowTemplatesParams {
|
|
|
801
801
|
*/
|
|
802
802
|
limit?: number;
|
|
803
803
|
/**
|
|
804
|
-
*
|
|
804
|
+
* Search term for workflow template name.
|
|
805
805
|
*/
|
|
806
806
|
search?: string;
|
|
807
|
+
/**
|
|
808
|
+
* Mode for the search parameter. \'CONTAINS\' for partial matches, \'EXACT\' for exact matches.
|
|
809
|
+
*/
|
|
810
|
+
searchMode?: string;
|
|
807
811
|
/**
|
|
808
812
|
* Optional space identifier (UUID or name) to filter workflow templates.
|
|
809
813
|
*/
|
|
810
814
|
spaceIdentifier?: string;
|
|
815
|
+
/**
|
|
816
|
+
* Fields to sort the results by. Can be specified multiple times. For the \'VERSION\' field, sorting is numerical for versions that can be coerced to a number, and alphabetical for everything else. Non-numerical versions take precedence over numbers.
|
|
817
|
+
*/
|
|
818
|
+
sortBy?: Array<string>;
|
|
819
|
+
/**
|
|
820
|
+
* The sort directions that correspond to the sortBy parameters in order. If specified, must not have more items than sortBy.
|
|
821
|
+
*/
|
|
822
|
+
sortDirection?: Array<string>;
|
|
811
823
|
/**
|
|
812
824
|
* Filter by workflow template status. Can provide multiple values. Defaults to returning only ACTIVE templates.
|
|
813
825
|
*/
|
|
@@ -819,7 +831,7 @@ interface ListWorkflowTemplatesParams {
|
|
|
819
831
|
* Workflow Approval System API
|
|
820
832
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
821
833
|
*
|
|
822
|
-
* The version of the OpenAPI document: 0.0.
|
|
834
|
+
* The version of the OpenAPI document: 0.0.34
|
|
823
835
|
*
|
|
824
836
|
*
|
|
825
837
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -854,7 +866,7 @@ interface ListWorkflowsParams {
|
|
|
854
866
|
* Workflow Approval System API
|
|
855
867
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
856
868
|
*
|
|
857
|
-
* The version of the OpenAPI document: 0.0.
|
|
869
|
+
* The version of the OpenAPI document: 0.0.34
|
|
858
870
|
*
|
|
859
871
|
*
|
|
860
872
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -877,7 +889,7 @@ interface OidcCallbackRequest {
|
|
|
877
889
|
* Workflow Approval System API
|
|
878
890
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
879
891
|
*
|
|
880
|
-
* The version of the OpenAPI document: 0.0.
|
|
892
|
+
* The version of the OpenAPI document: 0.0.34
|
|
881
893
|
*
|
|
882
894
|
*
|
|
883
895
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -905,7 +917,7 @@ declare namespace OrgScope {
|
|
|
905
917
|
* Workflow Approval System API
|
|
906
918
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
907
919
|
*
|
|
908
|
-
* The version of the OpenAPI document: 0.0.
|
|
920
|
+
* The version of the OpenAPI document: 0.0.34
|
|
909
921
|
*
|
|
910
922
|
*
|
|
911
923
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -924,7 +936,7 @@ interface OrganizationAdminCreate {
|
|
|
924
936
|
* Workflow Approval System API
|
|
925
937
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
926
938
|
*
|
|
927
|
-
* The version of the OpenAPI document: 0.0.
|
|
939
|
+
* The version of the OpenAPI document: 0.0.34
|
|
928
940
|
*
|
|
929
941
|
*
|
|
930
942
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -943,7 +955,7 @@ interface OrganizationAdminRemove {
|
|
|
943
955
|
* Workflow Approval System API
|
|
944
956
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
945
957
|
*
|
|
946
|
-
* The version of the OpenAPI document: 0.0.
|
|
958
|
+
* The version of the OpenAPI document: 0.0.34
|
|
947
959
|
*
|
|
948
960
|
*
|
|
949
961
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -974,7 +986,7 @@ interface PrivilegedTokenExchangeRequest {
|
|
|
974
986
|
* Workflow Approval System API
|
|
975
987
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
976
988
|
*
|
|
977
|
-
* The version of the OpenAPI document: 0.0.
|
|
989
|
+
* The version of the OpenAPI document: 0.0.34
|
|
978
990
|
*
|
|
979
991
|
*
|
|
980
992
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -993,7 +1005,7 @@ interface PrivilegedTokenResponse {
|
|
|
993
1005
|
* Workflow Approval System API
|
|
994
1006
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
995
1007
|
*
|
|
996
|
-
* The version of the OpenAPI document: 0.0.
|
|
1008
|
+
* The version of the OpenAPI document: 0.0.34
|
|
997
1009
|
*
|
|
998
1010
|
*
|
|
999
1011
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1023,7 +1035,7 @@ interface RemoveGroupEntitiesRequest {
|
|
|
1023
1035
|
* Workflow Approval System API
|
|
1024
1036
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1025
1037
|
*
|
|
1026
|
-
* The version of the OpenAPI document: 0.0.
|
|
1038
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1027
1039
|
*
|
|
1028
1040
|
*
|
|
1029
1041
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1055,7 +1067,7 @@ declare namespace SpaceScope {
|
|
|
1055
1067
|
* Workflow Approval System API
|
|
1056
1068
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1057
1069
|
*
|
|
1058
|
-
* The version of the OpenAPI document: 0.0.
|
|
1070
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1059
1071
|
*
|
|
1060
1072
|
*
|
|
1061
1073
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1143,7 +1155,7 @@ interface RoleRemovalRequest {
|
|
|
1143
1155
|
* Workflow Approval System API
|
|
1144
1156
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1145
1157
|
*
|
|
1146
|
-
* The version of the OpenAPI document: 0.0.
|
|
1158
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1147
1159
|
*
|
|
1148
1160
|
*
|
|
1149
1161
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1166,7 +1178,7 @@ interface SpaceCreate {
|
|
|
1166
1178
|
* Workflow Approval System API
|
|
1167
1179
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1168
1180
|
*
|
|
1169
|
-
* The version of the OpenAPI document: 0.0.
|
|
1181
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1170
1182
|
*
|
|
1171
1183
|
*
|
|
1172
1184
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1189,7 +1201,7 @@ interface TokenRequest {
|
|
|
1189
1201
|
* Workflow Approval System API
|
|
1190
1202
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1191
1203
|
*
|
|
1192
|
-
* The version of the OpenAPI document: 0.0.
|
|
1204
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1193
1205
|
*
|
|
1194
1206
|
*
|
|
1195
1207
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1216,7 +1228,7 @@ interface UserCreate {
|
|
|
1216
1228
|
* Workflow Approval System API
|
|
1217
1229
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1218
1230
|
*
|
|
1219
|
-
* The version of the OpenAPI document: 0.0.
|
|
1231
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1220
1232
|
*
|
|
1221
1233
|
*
|
|
1222
1234
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1245,7 +1257,7 @@ declare namespace VoteApprove {
|
|
|
1245
1257
|
* Workflow Approval System API
|
|
1246
1258
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1247
1259
|
*
|
|
1248
|
-
* The version of the OpenAPI document: 0.0.
|
|
1260
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1249
1261
|
*
|
|
1250
1262
|
*
|
|
1251
1263
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1270,7 +1282,7 @@ declare namespace VoteVeto {
|
|
|
1270
1282
|
* Workflow Approval System API
|
|
1271
1283
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1272
1284
|
*
|
|
1273
|
-
* The version of the OpenAPI document: 0.0.
|
|
1285
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1274
1286
|
*
|
|
1275
1287
|
*
|
|
1276
1288
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1324,7 +1336,7 @@ interface WorkflowTemplateCreate {
|
|
|
1324
1336
|
* Workflow Approval System API
|
|
1325
1337
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1326
1338
|
*
|
|
1327
|
-
* The version of the OpenAPI document: 0.0.
|
|
1339
|
+
* The version of the OpenAPI document: 0.0.34
|
|
1328
1340
|
*
|
|
1329
1341
|
*
|
|
1330
1342
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1476,7 +1488,16 @@ declare function validateWorkflowTemplateScope(object: unknown): Either<Workflow
|
|
|
1476
1488
|
type WorkflowTemplateSummaryValidationError = "malformed_object" | "invalid_id" | "invalid_name" | "invalid_version" | "invalid_created_at" | "invalid_updated_at" | "invalid_description";
|
|
1477
1489
|
type ListWorkflowTemplates200ResponseValidationError = "malformed_object" | "invalid_data" | "invalid_pagination" | "missing_pagination" | PrefixUnion<"data_item", WorkflowTemplateSummaryValidationError>;
|
|
1478
1490
|
declare function validateListWorkflowTemplates200Response(object: unknown): Either<ListWorkflowTemplates200ResponseValidationError, ListWorkflowTemplates200Response>;
|
|
1479
|
-
type ListWorkflowTemplatesParamsValidationError = ListParamsValidationError | "invalid_space_identifier" | "invalid_status";
|
|
1491
|
+
type ListWorkflowTemplatesParamsValidationError = ListParamsValidationError | "invalid_space_identifier" | "invalid_status" | "invalid_search_mode" | "invalid_search_length" | "invalid_sort_by" | "invalid_sort_direction" | "sort_direction_without_sort_by" | "sort_direction_length_mismatch";
|
|
1492
|
+
declare enum SortBy {
|
|
1493
|
+
VERSION = "VERSION",
|
|
1494
|
+
UPDATED_AT = "UPDATED_AT",
|
|
1495
|
+
CREATED_AT = "CREATED_AT"
|
|
1496
|
+
}
|
|
1497
|
+
declare enum SortDirection {
|
|
1498
|
+
ASC = "ASC",
|
|
1499
|
+
DESC = "DESC"
|
|
1500
|
+
}
|
|
1480
1501
|
declare function validateListWorkflowTemplatesParams(object: unknown): Either<ListWorkflowTemplatesParamsValidationError, ListWorkflowTemplatesParams>;
|
|
1481
1502
|
//#endregion
|
|
1482
1503
|
//#region src/validators/spaces.validators.d.ts
|
|
@@ -1551,4 +1572,4 @@ type APIErrorValidationError = "malformed_object" | "missing_code" | "invalid_co
|
|
|
1551
1572
|
declare function validateAPIError(object: unknown): Either<APIErrorValidationError, APIError>;
|
|
1552
1573
|
declare function isAPIError(object: unknown): object is APIError;
|
|
1553
1574
|
//#endregion
|
|
1554
|
-
export { APIError, APIErrorDetailsInner, APIErrorDetailsInnerValidationError, APIErrorValidationError, AddGroupEntitiesRequest, AddGroupEntitiesRequestValidationError, AgentChallengeRequest, AgentChallengeRequestValidationError, AgentChallengeResponse, AgentChallengeResponseValidationError, AgentGet200Response, AgentGet200ResponseValidationError, AgentRegistrationRequest, AgentRegistrationRequestValidationError, AgentRegistrationResponse, AgentRegistrationResponseValidationError, AgentSummary, AgentSummaryValidationError, AgentTokenRequest, AgentTokenRequestValidationError, AgentTokenResponse, AgentTokenResponseValidationError, AndRule, ApprovalRule, CanVoteResponse, CanVoteResponseValidationError, EmailAction, EntityMembershipAdd, EntityMembershipAddValidationError, EntityMembershipRemove, EntityMembershipRemoveValidationError, EntityReference, EntityReferenceValidationError, GetEntityInfo200Response, GetEntityInfo200ResponseValidationError, GetWorkflowParams, GetWorkflowParamsValidationError, GetWorkflowVotes200Response, GetWorkflowVotes200ResponseValidationError, Group, GroupCreate, GroupCreateValidationError, GroupInfo, GroupInfoValidationError, GroupMembership, GroupMembershipValidationError, GroupRequirementRule, GroupScope, GroupScopeValidationError, GroupValidationError, HealthResponse, HealthResponseValidationError, InitiateCliLogin200Response, InitiateCliLogin200ResponseValidationError, InitiateCliLoginRequest, InitiateCliLoginRequestValidationError, ListAgents200Response, ListAgents200ResponseValidationError, ListAgentsParams, ListAgentsParamsValidationError, ListGroupEntities200Response, ListGroupEntities200ResponseValidationError, ListGroups200Response, ListGroups200ResponseValidationError, ListGroupsParams, ListGroupsParamsValidationError, ListOrganizationAdminsForOrg200Response, ListOrganizationAdminsForOrg200ResponseValidationError, ListParamsValidationError, ListRoleTemplates200Response, ListRoleTemplates200ResponseValidationError, ListSpaces200Response, ListSpaces200ResponseValidationError, ListSpacesParams, ListSpacesParamsValidationError, ListUsers200Response, ListUsers200ResponseValidationError, ListUsersParams, ListUsersParamsValidationError, ListWorkflowTemplates200Response, ListWorkflowTemplates200ResponseValidationError, ListWorkflowTemplatesParams, ListWorkflowTemplatesParamsValidationError, ListWorkflows200Response, ListWorkflows200ResponseValidationError, ListWorkflowsParams, ListWorkflowsParamsValidationError, OidcCallbackRequest, OidcCallbackRequestValidationError, OrRule, OrgScope, OrganizationAdmin, OrganizationAdminCreate, OrganizationAdminCreateValidationError, OrganizationAdminRemove, OrganizationAdminRemoveValidationError, OrganizationAdminValidationError, Pagination, PaginationValidationError, PrivilegedTokenExchangeRequest, PrivilegedTokenExchangeRequestValidationError, PrivilegedTokenResponse, PrivilegedTokenResponseValidationError, RefreshTokenRequest, RefreshTokenRequestValidationError, RemoveGroupEntitiesRequest, RemoveGroupEntitiesRequestValidationError, RoleAssignmentRequest, RoleOperationItem, RoleOperationItemValidationError, RoleOperationRequest, RoleOperationRequestValidationError, RoleRemovalRequest, RoleScope, RoleScopeValidationError, RoleTemplate, RoleTemplateValidationError, Space, SpaceCreate, SpaceCreateValidationError, SpaceScope, SpaceScopeValidationError, SpaceValidationError, TokenRequest, TokenRequestValidationError, TokenResponse, TokenResponseValidationError, User, UserCreate, UserCreateValidationError, UserSummary, UserSummaryValidationError, UserValidationError, ValidatedListParams, VoteApprove, VoteApproveValidationError, VoteVeto, VoteVetoValidationError, VoteWithdraw, VoteWithdrawValidationError, WebhookAction, Workflow, WorkflowAction, WorkflowCreate, WorkflowCreateValidationError, WorkflowRef, WorkflowRefValidationError, WorkflowTemplate, WorkflowTemplateCreate, WorkflowTemplateCreateValidationError, WorkflowTemplateDeprecate, WorkflowTemplateDeprecateValidationError, WorkflowTemplateScope, WorkflowTemplateScopeValidationError, WorkflowTemplateSummary, WorkflowTemplateUpdate, WorkflowTemplateUpdateValidationError, WorkflowTemplateValidationError, WorkflowValidationError, WorkflowVote, WorkflowVoteRequest, WorkflowVoteRequestValidationError, WorkflowVoteRequestVoteType, WorkflowVoteRequestVoteTypeValidationError, WorkflowVoteValidationError, isAPIError, validateAPIError, validateAddGroupEntitiesRequest, validateAgentChallengeRequest, validateAgentChallengeResponse, validateAgentGet200Response, validateAgentRegistrationRequest, validateAgentRegistrationResponse, validateAgentTokenRequest, validateAgentTokenResponse, validateCanVoteResponse, validateGetEntityInfo200Response, validateGetWorkflowParams, validateGetWorkflowVotes200Response, validateGroupCreate, validateGroupInfo, validateGroupScope, validateHealthResponse, validateInitiateCliLogin200Response, validateInitiateCliLoginRequest, validateListAgents200Response, validateListAgentsParams, validateListGroupEntities200Response, validateListGroups200Response, validateListGroupsParams, validateListOrganizationAdminsForOrg200Response, validateListRoleTemplates200Response, validateListSpaces200Response, validateListSpacesParams, validateListUsers200Response, validateListUsersParams, validateListWorkflowTemplates200Response, validateListWorkflowTemplatesParams, validateListWorkflows200Response, validateListWorkflowsParams, validateOidcCallbackRequest, validateOrganizationAdminCreate, validateOrganizationAdminRemove, validatePagination, validatePrivilegedTokenExchangeRequest, validatePrivilegedTokenResponse, validateRefreshTokenRequest, validateRemoveGroupEntitiesRequest, validateRoleAssignmentRequest, validateRoleRemovalRequest, validateSharedListParams, validateSpaceCreate, validateSpaceScope, validateTokenRequest, validateTokenResponse, validateUser, validateUserCreate, validateWorkflowCreate, validateWorkflowTemplate, validateWorkflowTemplateCreate, validateWorkflowTemplateDeprecate, validateWorkflowTemplateScope, validateWorkflowTemplateUpdate, validateWorkflowVoteRequest };
|
|
1575
|
+
export { APIError, APIErrorDetailsInner, APIErrorDetailsInnerValidationError, APIErrorValidationError, AddGroupEntitiesRequest, AddGroupEntitiesRequestValidationError, AgentChallengeRequest, AgentChallengeRequestValidationError, AgentChallengeResponse, AgentChallengeResponseValidationError, AgentGet200Response, AgentGet200ResponseValidationError, AgentRegistrationRequest, AgentRegistrationRequestValidationError, AgentRegistrationResponse, AgentRegistrationResponseValidationError, AgentSummary, AgentSummaryValidationError, AgentTokenRequest, AgentTokenRequestValidationError, AgentTokenResponse, AgentTokenResponseValidationError, AndRule, ApprovalRule, CanVoteResponse, CanVoteResponseValidationError, EmailAction, EntityMembershipAdd, EntityMembershipAddValidationError, EntityMembershipRemove, EntityMembershipRemoveValidationError, EntityReference, EntityReferenceValidationError, GetEntityInfo200Response, GetEntityInfo200ResponseValidationError, GetWorkflowParams, GetWorkflowParamsValidationError, GetWorkflowVotes200Response, GetWorkflowVotes200ResponseValidationError, Group, GroupCreate, GroupCreateValidationError, GroupInfo, GroupInfoValidationError, GroupMembership, GroupMembershipValidationError, GroupRequirementRule, GroupScope, GroupScopeValidationError, GroupValidationError, HealthResponse, HealthResponseValidationError, InitiateCliLogin200Response, InitiateCliLogin200ResponseValidationError, InitiateCliLoginRequest, InitiateCliLoginRequestValidationError, ListAgents200Response, ListAgents200ResponseValidationError, ListAgentsParams, ListAgentsParamsValidationError, ListGroupEntities200Response, ListGroupEntities200ResponseValidationError, ListGroups200Response, ListGroups200ResponseValidationError, ListGroupsParams, ListGroupsParamsValidationError, ListOrganizationAdminsForOrg200Response, ListOrganizationAdminsForOrg200ResponseValidationError, ListParamsValidationError, ListRoleTemplates200Response, ListRoleTemplates200ResponseValidationError, ListSpaces200Response, ListSpaces200ResponseValidationError, ListSpacesParams, ListSpacesParamsValidationError, ListUsers200Response, ListUsers200ResponseValidationError, ListUsersParams, ListUsersParamsValidationError, ListWorkflowTemplates200Response, ListWorkflowTemplates200ResponseValidationError, ListWorkflowTemplatesParams, ListWorkflowTemplatesParamsValidationError, ListWorkflows200Response, ListWorkflows200ResponseValidationError, ListWorkflowsParams, ListWorkflowsParamsValidationError, OidcCallbackRequest, OidcCallbackRequestValidationError, OrRule, OrgScope, OrganizationAdmin, OrganizationAdminCreate, OrganizationAdminCreateValidationError, OrganizationAdminRemove, OrganizationAdminRemoveValidationError, OrganizationAdminValidationError, Pagination, PaginationValidationError, PrivilegedTokenExchangeRequest, PrivilegedTokenExchangeRequestValidationError, PrivilegedTokenResponse, PrivilegedTokenResponseValidationError, RefreshTokenRequest, RefreshTokenRequestValidationError, RemoveGroupEntitiesRequest, RemoveGroupEntitiesRequestValidationError, RoleAssignmentRequest, RoleOperationItem, RoleOperationItemValidationError, RoleOperationRequest, RoleOperationRequestValidationError, RoleRemovalRequest, RoleScope, RoleScopeValidationError, RoleTemplate, RoleTemplateValidationError, SortBy, SortDirection, Space, SpaceCreate, SpaceCreateValidationError, SpaceScope, SpaceScopeValidationError, SpaceValidationError, TokenRequest, TokenRequestValidationError, TokenResponse, TokenResponseValidationError, User, UserCreate, UserCreateValidationError, UserSummary, UserSummaryValidationError, UserValidationError, ValidatedListParams, VoteApprove, VoteApproveValidationError, VoteVeto, VoteVetoValidationError, VoteWithdraw, VoteWithdrawValidationError, WebhookAction, Workflow, WorkflowAction, WorkflowCreate, WorkflowCreateValidationError, WorkflowRef, WorkflowRefValidationError, WorkflowTemplate, WorkflowTemplateCreate, WorkflowTemplateCreateValidationError, WorkflowTemplateDeprecate, WorkflowTemplateDeprecateValidationError, WorkflowTemplateScope, WorkflowTemplateScopeValidationError, WorkflowTemplateSummary, WorkflowTemplateUpdate, WorkflowTemplateUpdateValidationError, WorkflowTemplateValidationError, WorkflowValidationError, WorkflowVote, WorkflowVoteRequest, WorkflowVoteRequestValidationError, WorkflowVoteRequestVoteType, WorkflowVoteRequestVoteTypeValidationError, WorkflowVoteValidationError, isAPIError, validateAPIError, validateAddGroupEntitiesRequest, validateAgentChallengeRequest, validateAgentChallengeResponse, validateAgentGet200Response, validateAgentRegistrationRequest, validateAgentRegistrationResponse, validateAgentTokenRequest, validateAgentTokenResponse, validateCanVoteResponse, validateGetEntityInfo200Response, validateGetWorkflowParams, validateGetWorkflowVotes200Response, validateGroupCreate, validateGroupInfo, validateGroupScope, validateHealthResponse, validateInitiateCliLogin200Response, validateInitiateCliLoginRequest, validateListAgents200Response, validateListAgentsParams, validateListGroupEntities200Response, validateListGroups200Response, validateListGroupsParams, validateListOrganizationAdminsForOrg200Response, validateListRoleTemplates200Response, validateListSpaces200Response, validateListSpacesParams, validateListUsers200Response, validateListUsersParams, validateListWorkflowTemplates200Response, validateListWorkflowTemplatesParams, validateListWorkflows200Response, validateListWorkflowsParams, validateOidcCallbackRequest, validateOrganizationAdminCreate, validateOrganizationAdminRemove, validatePagination, validatePrivilegedTokenExchangeRequest, validatePrivilegedTokenResponse, validateRefreshTokenRequest, validateRemoveGroupEntitiesRequest, validateRoleAssignmentRequest, validateRoleRemovalRequest, validateSharedListParams, validateSpaceCreate, validateSpaceScope, validateTokenRequest, validateTokenResponse, validateUser, validateUserCreate, validateWorkflowCreate, validateWorkflowTemplate, validateWorkflowTemplateCreate, validateWorkflowTemplateDeprecate, validateWorkflowTemplateScope, validateWorkflowTemplateUpdate, validateWorkflowVoteRequest };
|
package/dist/src/index.mjs
CHANGED
|
@@ -364,7 +364,7 @@ function validateSharedListParams(object) {
|
|
|
364
364
|
result.limit = limit;
|
|
365
365
|
}
|
|
366
366
|
if (hasOwnProperty(object, "search") && object.search !== void 0) {
|
|
367
|
-
if (typeof object.search !== "string"
|
|
367
|
+
if (typeof object.search !== "string") return left("invalid_search");
|
|
368
368
|
result.search = object.search;
|
|
369
369
|
}
|
|
370
370
|
return right(result);
|
|
@@ -708,11 +708,31 @@ function validateListWorkflowTemplates200Response(object) {
|
|
|
708
708
|
pagination: paginationValidation.right
|
|
709
709
|
});
|
|
710
710
|
}
|
|
711
|
+
let SortBy = /* @__PURE__ */ function(SortBy) {
|
|
712
|
+
SortBy["VERSION"] = "VERSION";
|
|
713
|
+
SortBy["UPDATED_AT"] = "UPDATED_AT";
|
|
714
|
+
SortBy["CREATED_AT"] = "CREATED_AT";
|
|
715
|
+
return SortBy;
|
|
716
|
+
}({});
|
|
717
|
+
let SortDirection = /* @__PURE__ */ function(SortDirection) {
|
|
718
|
+
SortDirection["ASC"] = "ASC";
|
|
719
|
+
SortDirection["DESC"] = "DESC";
|
|
720
|
+
return SortDirection;
|
|
721
|
+
}({});
|
|
711
722
|
function validateListWorkflowTemplatesParams(object) {
|
|
712
723
|
const sharedValidation = validateSharedListParams(object);
|
|
713
724
|
if (isLeft(sharedValidation)) return left(sharedValidation.left);
|
|
714
725
|
const result = sharedValidation.right;
|
|
715
726
|
if (typeof object !== "object" || object === null) return left("malformed_object");
|
|
727
|
+
if (hasOwnProperty(object, "searchMode") && object.searchMode !== void 0) {
|
|
728
|
+
if (typeof object.searchMode !== "string") return left("invalid_search_mode");
|
|
729
|
+
if (object.searchMode !== "CONTAINS" && object.searchMode !== "EXACT") return left("invalid_search_mode");
|
|
730
|
+
result.searchMode = object.searchMode;
|
|
731
|
+
} else result.searchMode = "CONTAINS";
|
|
732
|
+
if (result.search !== void 0) {
|
|
733
|
+
if (result.searchMode === "CONTAINS" && result.search.length < 3) return left("invalid_search_length");
|
|
734
|
+
if (result.searchMode === "EXACT" && result.search.length < 1) return left("invalid_search_length");
|
|
735
|
+
}
|
|
716
736
|
if (hasOwnProperty(object, "spaceIdentifier") && object.spaceIdentifier !== void 0) {
|
|
717
737
|
if (!isNonEmptyString(object.spaceIdentifier)) return left("invalid_space_identifier");
|
|
718
738
|
result.spaceIdentifier = object.spaceIdentifier;
|
|
@@ -727,6 +747,40 @@ function validateListWorkflowTemplatesParams(object) {
|
|
|
727
747
|
else return left("invalid_status");
|
|
728
748
|
}
|
|
729
749
|
result.status = status;
|
|
750
|
+
if (hasOwnProperty(object, "sortBy") && object.sortBy !== void 0) {
|
|
751
|
+
const sortByVal = object.sortBy;
|
|
752
|
+
const values = [];
|
|
753
|
+
if (Array.isArray(sortByVal)) for (const unsafeSortBy of sortByVal) {
|
|
754
|
+
if (typeof unsafeSortBy !== "string") return left("invalid_sort_by");
|
|
755
|
+
const sortBy = getStringAsEnum(unsafeSortBy, SortBy);
|
|
756
|
+
if (sortBy === void 0) return left("invalid_sort_by");
|
|
757
|
+
values.push(sortBy);
|
|
758
|
+
}
|
|
759
|
+
else if (typeof sortByVal === "string") {
|
|
760
|
+
const sortBy = getStringAsEnum(sortByVal, SortBy);
|
|
761
|
+
if (sortBy === void 0) return left("invalid_sort_by");
|
|
762
|
+
values.push(sortBy);
|
|
763
|
+
} else return left("invalid_sort_by");
|
|
764
|
+
result.sortBy = values;
|
|
765
|
+
}
|
|
766
|
+
if (hasOwnProperty(object, "sortDirection") && object.sortDirection !== void 0) {
|
|
767
|
+
const sortDirectionVal = object.sortDirection;
|
|
768
|
+
const values = [];
|
|
769
|
+
if (Array.isArray(sortDirectionVal)) for (const item of sortDirectionVal) {
|
|
770
|
+
if (typeof item !== "string") return left("invalid_sort_direction");
|
|
771
|
+
const sortDirection = getStringAsEnum(item, SortDirection);
|
|
772
|
+
if (sortDirection === void 0) return left("invalid_sort_direction");
|
|
773
|
+
values.push(sortDirection);
|
|
774
|
+
}
|
|
775
|
+
else if (typeof sortDirectionVal === "string") {
|
|
776
|
+
const sortDirection = getStringAsEnum(sortDirectionVal, SortDirection);
|
|
777
|
+
if (sortDirection === void 0) return left("invalid_sort_direction");
|
|
778
|
+
values.push(sortDirection);
|
|
779
|
+
} else return left("invalid_sort_direction");
|
|
780
|
+
if (result.sortBy === void 0 || result.sortBy.length === 0) return left("sort_direction_without_sort_by");
|
|
781
|
+
if (values.length > result.sortBy.length) return left("sort_direction_length_mismatch");
|
|
782
|
+
result.sortDirection = values;
|
|
783
|
+
}
|
|
730
784
|
return right(result);
|
|
731
785
|
}
|
|
732
786
|
//#endregion
|
|
@@ -1376,4 +1430,4 @@ function isAPIError(object) {
|
|
|
1376
1430
|
return E.isRight(validateAPIError(object));
|
|
1377
1431
|
}
|
|
1378
1432
|
//#endregion
|
|
1379
|
-
export { AgentTokenRequest, AndRule, EmailAction, GroupRequirementRule, GroupScope, OrRule, OrgScope, SpaceScope, VoteApprove, VoteVeto, VoteWithdraw, WebhookAction, WorkflowTemplate, WorkflowTemplateScope, isAPIError, validateAPIError, validateAddGroupEntitiesRequest, validateAgentChallengeRequest, validateAgentChallengeResponse, validateAgentGet200Response, validateAgentRegistrationRequest, validateAgentRegistrationResponse, validateAgentTokenRequest, validateAgentTokenResponse, validateCanVoteResponse, validateGetEntityInfo200Response, validateGetWorkflowParams, validateGetWorkflowVotes200Response, validateGroupCreate, validateGroupInfo, validateGroupScope, validateHealthResponse, validateInitiateCliLogin200Response, validateInitiateCliLoginRequest, validateListAgents200Response, validateListAgentsParams, validateListGroupEntities200Response, validateListGroups200Response, validateListGroupsParams, validateListOrganizationAdminsForOrg200Response, validateListRoleTemplates200Response, validateListSpaces200Response, validateListSpacesParams, validateListUsers200Response, validateListUsersParams, validateListWorkflowTemplates200Response, validateListWorkflowTemplatesParams, validateListWorkflows200Response, validateListWorkflowsParams, validateOidcCallbackRequest, validateOrganizationAdminCreate, validateOrganizationAdminRemove, validatePagination, validatePrivilegedTokenExchangeRequest, validatePrivilegedTokenResponse, validateRefreshTokenRequest, validateRemoveGroupEntitiesRequest, validateRoleAssignmentRequest, validateRoleRemovalRequest, validateSharedListParams, validateSpaceCreate, validateSpaceScope, validateTokenRequest, validateTokenResponse, validateUser, validateUserCreate, validateWorkflowCreate, validateWorkflowTemplate, validateWorkflowTemplateCreate, validateWorkflowTemplateDeprecate, validateWorkflowTemplateScope, validateWorkflowTemplateUpdate, validateWorkflowVoteRequest };
|
|
1433
|
+
export { AgentTokenRequest, AndRule, EmailAction, GroupRequirementRule, GroupScope, OrRule, OrgScope, SortBy, SortDirection, SpaceScope, VoteApprove, VoteVeto, VoteWithdraw, WebhookAction, WorkflowTemplate, WorkflowTemplateScope, isAPIError, validateAPIError, validateAddGroupEntitiesRequest, validateAgentChallengeRequest, validateAgentChallengeResponse, validateAgentGet200Response, validateAgentRegistrationRequest, validateAgentRegistrationResponse, validateAgentTokenRequest, validateAgentTokenResponse, validateCanVoteResponse, validateGetEntityInfo200Response, validateGetWorkflowParams, validateGetWorkflowVotes200Response, validateGroupCreate, validateGroupInfo, validateGroupScope, validateHealthResponse, validateInitiateCliLogin200Response, validateInitiateCliLoginRequest, validateListAgents200Response, validateListAgentsParams, validateListGroupEntities200Response, validateListGroups200Response, validateListGroupsParams, validateListOrganizationAdminsForOrg200Response, validateListRoleTemplates200Response, validateListSpaces200Response, validateListSpacesParams, validateListUsers200Response, validateListUsersParams, validateListWorkflowTemplates200Response, validateListWorkflowTemplatesParams, validateListWorkflows200Response, validateListWorkflowsParams, validateOidcCallbackRequest, validateOrganizationAdminCreate, validateOrganizationAdminRemove, validatePagination, validatePrivilegedTokenExchangeRequest, validatePrivilegedTokenResponse, validateRefreshTokenRequest, validateRemoveGroupEntitiesRequest, validateRoleAssignmentRequest, validateRoleRemovalRequest, validateSharedListParams, validateSpaceCreate, validateSpaceScope, validateTokenRequest, validateTokenResponse, validateUser, validateUserCreate, validateWorkflowCreate, validateWorkflowTemplate, validateWorkflowTemplateCreate, validateWorkflowTemplateDeprecate, validateWorkflowTemplateScope, validateWorkflowTemplateUpdate, validateWorkflowVoteRequest };
|
|
@@ -24,7 +24,7 @@ declare namespace OrRule {
|
|
|
24
24
|
* Workflow Approval System API
|
|
25
25
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
26
26
|
*
|
|
27
|
-
* The version of the OpenAPI document: 0.0.
|
|
27
|
+
* The version of the OpenAPI document: 0.0.34
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -96,7 +96,7 @@ declare namespace AndRule {
|
|
|
96
96
|
* Workflow Approval System API
|
|
97
97
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
98
98
|
*
|
|
99
|
-
* The version of the OpenAPI document: 0.0.
|
|
99
|
+
* The version of the OpenAPI document: 0.0.34
|
|
100
100
|
*
|
|
101
101
|
*
|
|
102
102
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -128,7 +128,7 @@ declare namespace EmailAction {
|
|
|
128
128
|
* Workflow Approval System API
|
|
129
129
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
130
130
|
*
|
|
131
|
-
* The version of the OpenAPI document: 0.0.
|
|
131
|
+
* The version of the OpenAPI document: 0.0.34
|
|
132
132
|
*
|
|
133
133
|
*
|
|
134
134
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -145,7 +145,7 @@ interface GroupInfo {
|
|
|
145
145
|
* Workflow Approval System API
|
|
146
146
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
147
147
|
*
|
|
148
|
-
* The version of the OpenAPI document: 0.0.
|
|
148
|
+
* The version of the OpenAPI document: 0.0.34
|
|
149
149
|
*
|
|
150
150
|
*
|
|
151
151
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -184,7 +184,7 @@ interface Group {
|
|
|
184
184
|
* Workflow Approval System API
|
|
185
185
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
186
186
|
*
|
|
187
|
-
* The version of the OpenAPI document: 0.0.
|
|
187
|
+
* The version of the OpenAPI document: 0.0.34
|
|
188
188
|
*
|
|
189
189
|
*
|
|
190
190
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -217,7 +217,7 @@ interface ListGroups200Response {
|
|
|
217
217
|
* Workflow Approval System API
|
|
218
218
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
219
219
|
*
|
|
220
|
-
* The version of the OpenAPI document: 0.0.
|
|
220
|
+
* The version of the OpenAPI document: 0.0.34
|
|
221
221
|
*
|
|
222
222
|
*
|
|
223
223
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -244,7 +244,7 @@ interface UserSummary {
|
|
|
244
244
|
* Workflow Approval System API
|
|
245
245
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
246
246
|
*
|
|
247
|
-
* The version of the OpenAPI document: 0.0.
|
|
247
|
+
* The version of the OpenAPI document: 0.0.34
|
|
248
248
|
*
|
|
249
249
|
*
|
|
250
250
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -419,7 +419,7 @@ interface ListWorkflows200Response {
|
|
|
419
419
|
* Workflow Approval System API
|
|
420
420
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
421
421
|
*
|
|
422
|
-
* The version of the OpenAPI document: 0.0.
|
|
422
|
+
* The version of the OpenAPI document: 0.0.34
|
|
423
423
|
*
|
|
424
424
|
*
|
|
425
425
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -442,7 +442,7 @@ interface TokenResponse {
|
|
|
442
442
|
* Workflow Approval System API
|
|
443
443
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
444
444
|
*
|
|
445
|
-
* The version of the OpenAPI document: 0.0.
|
|
445
|
+
* The version of the OpenAPI document: 0.0.34
|
|
446
446
|
*
|
|
447
447
|
*
|
|
448
448
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -477,7 +477,7 @@ interface User {
|
|
|
477
477
|
* Workflow Approval System API
|
|
478
478
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
479
479
|
*
|
|
480
|
-
* The version of the OpenAPI document: 0.0.
|
|
480
|
+
* The version of the OpenAPI document: 0.0.34
|
|
481
481
|
*
|
|
482
482
|
*
|
|
483
483
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ declare namespace OrRule {
|
|
|
24
24
|
* Workflow Approval System API
|
|
25
25
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
26
26
|
*
|
|
27
|
-
* The version of the OpenAPI document: 0.0.
|
|
27
|
+
* The version of the OpenAPI document: 0.0.34
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -96,7 +96,7 @@ declare namespace AndRule {
|
|
|
96
96
|
* Workflow Approval System API
|
|
97
97
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
98
98
|
*
|
|
99
|
-
* The version of the OpenAPI document: 0.0.
|
|
99
|
+
* The version of the OpenAPI document: 0.0.34
|
|
100
100
|
*
|
|
101
101
|
*
|
|
102
102
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -128,7 +128,7 @@ declare namespace EmailAction {
|
|
|
128
128
|
* Workflow Approval System API
|
|
129
129
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
130
130
|
*
|
|
131
|
-
* The version of the OpenAPI document: 0.0.
|
|
131
|
+
* The version of the OpenAPI document: 0.0.34
|
|
132
132
|
*
|
|
133
133
|
*
|
|
134
134
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -145,7 +145,7 @@ interface GroupInfo {
|
|
|
145
145
|
* Workflow Approval System API
|
|
146
146
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
147
147
|
*
|
|
148
|
-
* The version of the OpenAPI document: 0.0.
|
|
148
|
+
* The version of the OpenAPI document: 0.0.34
|
|
149
149
|
*
|
|
150
150
|
*
|
|
151
151
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -184,7 +184,7 @@ interface Group {
|
|
|
184
184
|
* Workflow Approval System API
|
|
185
185
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
186
186
|
*
|
|
187
|
-
* The version of the OpenAPI document: 0.0.
|
|
187
|
+
* The version of the OpenAPI document: 0.0.34
|
|
188
188
|
*
|
|
189
189
|
*
|
|
190
190
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -217,7 +217,7 @@ interface ListGroups200Response {
|
|
|
217
217
|
* Workflow Approval System API
|
|
218
218
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
219
219
|
*
|
|
220
|
-
* The version of the OpenAPI document: 0.0.
|
|
220
|
+
* The version of the OpenAPI document: 0.0.34
|
|
221
221
|
*
|
|
222
222
|
*
|
|
223
223
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -244,7 +244,7 @@ interface UserSummary {
|
|
|
244
244
|
* Workflow Approval System API
|
|
245
245
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
246
246
|
*
|
|
247
|
-
* The version of the OpenAPI document: 0.0.
|
|
247
|
+
* The version of the OpenAPI document: 0.0.34
|
|
248
248
|
*
|
|
249
249
|
*
|
|
250
250
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -419,7 +419,7 @@ interface ListWorkflows200Response {
|
|
|
419
419
|
* Workflow Approval System API
|
|
420
420
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
421
421
|
*
|
|
422
|
-
* The version of the OpenAPI document: 0.0.
|
|
422
|
+
* The version of the OpenAPI document: 0.0.34
|
|
423
423
|
*
|
|
424
424
|
*
|
|
425
425
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -442,7 +442,7 @@ interface TokenResponse {
|
|
|
442
442
|
* Workflow Approval System API
|
|
443
443
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
444
444
|
*
|
|
445
|
-
* The version of the OpenAPI document: 0.0.
|
|
445
|
+
* The version of the OpenAPI document: 0.0.34
|
|
446
446
|
*
|
|
447
447
|
*
|
|
448
448
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -477,7 +477,7 @@ interface User {
|
|
|
477
477
|
* Workflow Approval System API
|
|
478
478
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
479
479
|
*
|
|
480
|
-
* The version of the OpenAPI document: 0.0.
|
|
480
|
+
* The version of the OpenAPI document: 0.0.34
|
|
481
481
|
*
|
|
482
482
|
*
|
|
483
483
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|