@approvio/api 0.0.31 → 0.0.33
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 +96 -47
- package/dist/src/index.d.cts +154 -53
- package/dist/src/index.d.mts +154 -53
- package/dist/src/index.mjs +69 -48
- package/dist/{workflow-create-DVgNnx0X.d.mts → workflow-create-B9_eIGcu.d.mts} +11 -11
- package/dist/{workflow-create-Dgj7wWZs.d.cts → workflow-create-Bmi0J-Dc.d.cts} +11 -11
- package/package.json +1 -1
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-B9_eIGcu.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.31
|
|
10
10
|
*
|
|
11
11
|
*
|
|
12
12
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,8 +14,8 @@ import { Either } from "fp-ts/Either";
|
|
|
14
14
|
* Do not edit the class manually.
|
|
15
15
|
*/
|
|
16
16
|
interface APIErrorDetailsInner {
|
|
17
|
-
field
|
|
18
|
-
message
|
|
17
|
+
field: string;
|
|
18
|
+
message: string;
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region generated/openapi/model/api-error.d.ts
|
|
@@ -23,11 +23,11 @@ interface APIError {
|
|
|
23
23
|
/**
|
|
24
24
|
* Error code
|
|
25
25
|
*/
|
|
26
|
-
code
|
|
26
|
+
code: string;
|
|
27
27
|
/**
|
|
28
28
|
* Error message
|
|
29
29
|
*/
|
|
30
|
-
message
|
|
30
|
+
message: string;
|
|
31
31
|
details?: Array<APIErrorDetailsInner>;
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
@@ -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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
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.31
|
|
521
521
|
*
|
|
522
522
|
*
|
|
523
523
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -526,7 +526,7 @@ interface ListAgents200Response {
|
|
|
526
526
|
*/
|
|
527
527
|
interface ListAgentsParams {
|
|
528
528
|
/**
|
|
529
|
-
* Page number for pagination
|
|
529
|
+
* Page number for pagination (1-indexed)
|
|
530
530
|
*/
|
|
531
531
|
page?: number;
|
|
532
532
|
/**
|
|
@@ -541,12 +541,39 @@ interface ListGroupEntities200Response {
|
|
|
541
541
|
pagination: Pagination;
|
|
542
542
|
}
|
|
543
543
|
//#endregion
|
|
544
|
+
//#region generated/openapi/model/list-groups-params.d.ts
|
|
545
|
+
/**
|
|
546
|
+
* Workflow Approval System API
|
|
547
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
548
|
+
*
|
|
549
|
+
* The version of the OpenAPI document: 0.0.31
|
|
550
|
+
*
|
|
551
|
+
*
|
|
552
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
553
|
+
* https://openapi-generator.tech
|
|
554
|
+
* Do not edit the class manually.
|
|
555
|
+
*/
|
|
556
|
+
interface ListGroupsParams {
|
|
557
|
+
/**
|
|
558
|
+
* Page number for pagination (1-indexed)
|
|
559
|
+
*/
|
|
560
|
+
page?: number;
|
|
561
|
+
/**
|
|
562
|
+
* Number of results per page
|
|
563
|
+
*/
|
|
564
|
+
limit?: number;
|
|
565
|
+
/**
|
|
566
|
+
* Fuzzy search term for group name.
|
|
567
|
+
*/
|
|
568
|
+
search?: string;
|
|
569
|
+
}
|
|
570
|
+
//#endregion
|
|
544
571
|
//#region generated/openapi/model/organization-admin.d.ts
|
|
545
572
|
/**
|
|
546
573
|
* Workflow Approval System API
|
|
547
574
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
548
575
|
*
|
|
549
|
-
* The version of the OpenAPI document: 0.0.
|
|
576
|
+
* The version of the OpenAPI document: 0.0.31
|
|
550
577
|
*
|
|
551
578
|
*
|
|
552
579
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -579,7 +606,7 @@ interface ListOrganizationAdminsForOrg200Response {
|
|
|
579
606
|
* Workflow Approval System API
|
|
580
607
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
581
608
|
*
|
|
582
|
-
* The version of the OpenAPI document: 0.0.
|
|
609
|
+
* The version of the OpenAPI document: 0.0.31
|
|
583
610
|
*
|
|
584
611
|
*
|
|
585
612
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -611,7 +638,7 @@ interface ListRoleTemplates200Response {
|
|
|
611
638
|
* Workflow Approval System API
|
|
612
639
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
613
640
|
*
|
|
614
|
-
* The version of the OpenAPI document: 0.0.
|
|
641
|
+
* The version of the OpenAPI document: 0.0.31
|
|
615
642
|
*
|
|
616
643
|
*
|
|
617
644
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -647,18 +674,72 @@ interface ListSpaces200Response {
|
|
|
647
674
|
pagination: Pagination;
|
|
648
675
|
}
|
|
649
676
|
//#endregion
|
|
677
|
+
//#region generated/openapi/model/list-spaces-params.d.ts
|
|
678
|
+
/**
|
|
679
|
+
* Workflow Approval System API
|
|
680
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
681
|
+
*
|
|
682
|
+
* The version of the OpenAPI document: 0.0.31
|
|
683
|
+
*
|
|
684
|
+
*
|
|
685
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
686
|
+
* https://openapi-generator.tech
|
|
687
|
+
* Do not edit the class manually.
|
|
688
|
+
*/
|
|
689
|
+
interface ListSpacesParams {
|
|
690
|
+
/**
|
|
691
|
+
* Page number for pagination (1-indexed)
|
|
692
|
+
*/
|
|
693
|
+
page?: number;
|
|
694
|
+
/**
|
|
695
|
+
* Number of results per page
|
|
696
|
+
*/
|
|
697
|
+
limit?: number;
|
|
698
|
+
/**
|
|
699
|
+
* Fuzzy search term for space name.
|
|
700
|
+
*/
|
|
701
|
+
search?: string;
|
|
702
|
+
}
|
|
703
|
+
//#endregion
|
|
650
704
|
//#region generated/openapi/model/list-users-200-response.d.ts
|
|
651
705
|
interface ListUsers200Response {
|
|
652
706
|
users: Array<UserSummary>;
|
|
653
707
|
pagination: Pagination;
|
|
654
708
|
}
|
|
655
709
|
//#endregion
|
|
710
|
+
//#region generated/openapi/model/list-users-params.d.ts
|
|
711
|
+
/**
|
|
712
|
+
* Workflow Approval System API
|
|
713
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
714
|
+
*
|
|
715
|
+
* The version of the OpenAPI document: 0.0.31
|
|
716
|
+
*
|
|
717
|
+
*
|
|
718
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
719
|
+
* https://openapi-generator.tech
|
|
720
|
+
* Do not edit the class manually.
|
|
721
|
+
*/
|
|
722
|
+
interface ListUsersParams {
|
|
723
|
+
/**
|
|
724
|
+
* Page number for pagination (1-indexed)
|
|
725
|
+
*/
|
|
726
|
+
page?: number;
|
|
727
|
+
/**
|
|
728
|
+
* Number of results per page
|
|
729
|
+
*/
|
|
730
|
+
limit?: number;
|
|
731
|
+
/**
|
|
732
|
+
* Fuzzy search term for user display name or email.
|
|
733
|
+
*/
|
|
734
|
+
search?: string;
|
|
735
|
+
}
|
|
736
|
+
//#endregion
|
|
656
737
|
//#region generated/openapi/model/workflow-template-summary.d.ts
|
|
657
738
|
/**
|
|
658
739
|
* Workflow Approval System API
|
|
659
740
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
660
741
|
*
|
|
661
|
-
* The version of the OpenAPI document: 0.0.
|
|
742
|
+
* The version of the OpenAPI document: 0.0.31
|
|
662
743
|
*
|
|
663
744
|
*
|
|
664
745
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -703,7 +784,7 @@ interface ListWorkflowTemplates200Response {
|
|
|
703
784
|
* Workflow Approval System API
|
|
704
785
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
705
786
|
*
|
|
706
|
-
* The version of the OpenAPI document: 0.0.
|
|
787
|
+
* The version of the OpenAPI document: 0.0.31
|
|
707
788
|
*
|
|
708
789
|
*
|
|
709
790
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -712,13 +793,17 @@ interface ListWorkflowTemplates200Response {
|
|
|
712
793
|
*/
|
|
713
794
|
interface ListWorkflowTemplatesParams {
|
|
714
795
|
/**
|
|
715
|
-
* Page number for pagination
|
|
796
|
+
* Page number for pagination (1-indexed)
|
|
716
797
|
*/
|
|
717
798
|
page?: number;
|
|
718
799
|
/**
|
|
719
800
|
* Number of results per page
|
|
720
801
|
*/
|
|
721
802
|
limit?: number;
|
|
803
|
+
/**
|
|
804
|
+
* Fuzzy search term for workflow template name.
|
|
805
|
+
*/
|
|
806
|
+
search?: string;
|
|
722
807
|
/**
|
|
723
808
|
* Optional space identifier (UUID or name) to filter workflow templates.
|
|
724
809
|
*/
|
|
@@ -730,7 +815,7 @@ interface ListWorkflowTemplatesParams {
|
|
|
730
815
|
* Workflow Approval System API
|
|
731
816
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
732
817
|
*
|
|
733
|
-
* The version of the OpenAPI document: 0.0.
|
|
818
|
+
* The version of the OpenAPI document: 0.0.31
|
|
734
819
|
*
|
|
735
820
|
*
|
|
736
821
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -739,7 +824,7 @@ interface ListWorkflowTemplatesParams {
|
|
|
739
824
|
*/
|
|
740
825
|
interface ListWorkflowsParams {
|
|
741
826
|
/**
|
|
742
|
-
* Page number for pagination
|
|
827
|
+
* Page number for pagination (1-indexed)
|
|
743
828
|
*/
|
|
744
829
|
page?: number;
|
|
745
830
|
/**
|
|
@@ -765,7 +850,7 @@ interface ListWorkflowsParams {
|
|
|
765
850
|
* Workflow Approval System API
|
|
766
851
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
767
852
|
*
|
|
768
|
-
* The version of the OpenAPI document: 0.0.
|
|
853
|
+
* The version of the OpenAPI document: 0.0.31
|
|
769
854
|
*
|
|
770
855
|
*
|
|
771
856
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -788,7 +873,7 @@ interface OidcCallbackRequest {
|
|
|
788
873
|
* Workflow Approval System API
|
|
789
874
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
790
875
|
*
|
|
791
|
-
* The version of the OpenAPI document: 0.0.
|
|
876
|
+
* The version of the OpenAPI document: 0.0.31
|
|
792
877
|
*
|
|
793
878
|
*
|
|
794
879
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -816,7 +901,7 @@ declare namespace OrgScope {
|
|
|
816
901
|
* Workflow Approval System API
|
|
817
902
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
818
903
|
*
|
|
819
|
-
* The version of the OpenAPI document: 0.0.
|
|
904
|
+
* The version of the OpenAPI document: 0.0.31
|
|
820
905
|
*
|
|
821
906
|
*
|
|
822
907
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -835,7 +920,7 @@ interface OrganizationAdminCreate {
|
|
|
835
920
|
* Workflow Approval System API
|
|
836
921
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
837
922
|
*
|
|
838
|
-
* The version of the OpenAPI document: 0.0.
|
|
923
|
+
* The version of the OpenAPI document: 0.0.31
|
|
839
924
|
*
|
|
840
925
|
*
|
|
841
926
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -854,7 +939,7 @@ interface OrganizationAdminRemove {
|
|
|
854
939
|
* Workflow Approval System API
|
|
855
940
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
856
941
|
*
|
|
857
|
-
* The version of the OpenAPI document: 0.0.
|
|
942
|
+
* The version of the OpenAPI document: 0.0.31
|
|
858
943
|
*
|
|
859
944
|
*
|
|
860
945
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -885,7 +970,7 @@ interface PrivilegedTokenExchangeRequest {
|
|
|
885
970
|
* Workflow Approval System API
|
|
886
971
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
887
972
|
*
|
|
888
|
-
* The version of the OpenAPI document: 0.0.
|
|
973
|
+
* The version of the OpenAPI document: 0.0.31
|
|
889
974
|
*
|
|
890
975
|
*
|
|
891
976
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -904,7 +989,7 @@ interface PrivilegedTokenResponse {
|
|
|
904
989
|
* Workflow Approval System API
|
|
905
990
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
906
991
|
*
|
|
907
|
-
* The version of the OpenAPI document: 0.0.
|
|
992
|
+
* The version of the OpenAPI document: 0.0.31
|
|
908
993
|
*
|
|
909
994
|
*
|
|
910
995
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -934,7 +1019,7 @@ interface RemoveGroupEntitiesRequest {
|
|
|
934
1019
|
* Workflow Approval System API
|
|
935
1020
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
936
1021
|
*
|
|
937
|
-
* The version of the OpenAPI document: 0.0.
|
|
1022
|
+
* The version of the OpenAPI document: 0.0.31
|
|
938
1023
|
*
|
|
939
1024
|
*
|
|
940
1025
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -966,7 +1051,7 @@ declare namespace SpaceScope {
|
|
|
966
1051
|
* Workflow Approval System API
|
|
967
1052
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
968
1053
|
*
|
|
969
|
-
* The version of the OpenAPI document: 0.0.
|
|
1054
|
+
* The version of the OpenAPI document: 0.0.31
|
|
970
1055
|
*
|
|
971
1056
|
*
|
|
972
1057
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1054,7 +1139,7 @@ interface RoleRemovalRequest {
|
|
|
1054
1139
|
* Workflow Approval System API
|
|
1055
1140
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1056
1141
|
*
|
|
1057
|
-
* The version of the OpenAPI document: 0.0.
|
|
1142
|
+
* The version of the OpenAPI document: 0.0.31
|
|
1058
1143
|
*
|
|
1059
1144
|
*
|
|
1060
1145
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1077,7 +1162,7 @@ interface SpaceCreate {
|
|
|
1077
1162
|
* Workflow Approval System API
|
|
1078
1163
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1079
1164
|
*
|
|
1080
|
-
* The version of the OpenAPI document: 0.0.
|
|
1165
|
+
* The version of the OpenAPI document: 0.0.31
|
|
1081
1166
|
*
|
|
1082
1167
|
*
|
|
1083
1168
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1100,7 +1185,7 @@ interface TokenRequest {
|
|
|
1100
1185
|
* Workflow Approval System API
|
|
1101
1186
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1102
1187
|
*
|
|
1103
|
-
* The version of the OpenAPI document: 0.0.
|
|
1188
|
+
* The version of the OpenAPI document: 0.0.31
|
|
1104
1189
|
*
|
|
1105
1190
|
*
|
|
1106
1191
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1127,7 +1212,7 @@ interface UserCreate {
|
|
|
1127
1212
|
* Workflow Approval System API
|
|
1128
1213
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1129
1214
|
*
|
|
1130
|
-
* The version of the OpenAPI document: 0.0.
|
|
1215
|
+
* The version of the OpenAPI document: 0.0.31
|
|
1131
1216
|
*
|
|
1132
1217
|
*
|
|
1133
1218
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1156,7 +1241,7 @@ declare namespace VoteApprove {
|
|
|
1156
1241
|
* Workflow Approval System API
|
|
1157
1242
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1158
1243
|
*
|
|
1159
|
-
* The version of the OpenAPI document: 0.0.
|
|
1244
|
+
* The version of the OpenAPI document: 0.0.31
|
|
1160
1245
|
*
|
|
1161
1246
|
*
|
|
1162
1247
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1181,7 +1266,7 @@ declare namespace VoteVeto {
|
|
|
1181
1266
|
* Workflow Approval System API
|
|
1182
1267
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1183
1268
|
*
|
|
1184
|
-
* The version of the OpenAPI document: 0.0.
|
|
1269
|
+
* The version of the OpenAPI document: 0.0.31
|
|
1185
1270
|
*
|
|
1186
1271
|
*
|
|
1187
1272
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1235,7 +1320,7 @@ interface WorkflowTemplateCreate {
|
|
|
1235
1320
|
* Workflow Approval System API
|
|
1236
1321
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1237
1322
|
*
|
|
1238
|
-
* The version of the OpenAPI document: 0.0.
|
|
1323
|
+
* The version of the OpenAPI document: 0.0.31
|
|
1239
1324
|
*
|
|
1240
1325
|
*
|
|
1241
1326
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1346,9 +1431,11 @@ declare function validateUserCreate(object: unknown): Either<UserCreateValidatio
|
|
|
1346
1431
|
declare function validateListUsers200Response(object: unknown): Either<ListUsers200ResponseValidationError, ListUsers200Response>;
|
|
1347
1432
|
declare function validateRoleAssignmentRequest(object: unknown): Either<RoleOperationRequestValidationError, RoleAssignmentRequest>;
|
|
1348
1433
|
declare function validateRoleRemovalRequest(object: unknown): Either<RoleOperationRequestValidationError, RoleRemovalRequest>;
|
|
1434
|
+
type ListUsersParamsValidationError = "malformed_object" | "invalid_page" | "invalid_limit" | "invalid_search";
|
|
1435
|
+
declare function validateListUsersParams(object: unknown): Either<ListUsersParamsValidationError, ListUsersParams>;
|
|
1349
1436
|
//#endregion
|
|
1350
1437
|
//#region src/validators/workflow-templates.validators.d.ts
|
|
1351
|
-
type ValidationError =
|
|
1438
|
+
type ValidationError = "malformed_object" | "invalid_type" | "invalid_recipients" | "invalid_recipients_element" | "invalid_url" | "invalid_method" | "invalid_headers" | "invalid_headers_element" | "invalid_workflow_action_type" | "invalid_group_id" | "invalid_min_count" | "invalid_require_high_privilege" | "invalid_rules" | "invalid_rules_element" | "invalid_approval_rule_type" | "invalid_id" | "invalid_name" | "invalid_version" | "invalid_status" | "invalid_allow_voting" | "missing_approval_rule" | "invalid_approval_rule" | "invalid_space_id" | "invalid_created_at" | "invalid_updated_at" | "invalid_description" | "invalid_metadata" | "invalid_actions" | "invalid_actions_element" | "invalid_default_expires_in_hours" | "invalid_cancel_workflows" | "invalid_workflow_template_id" | "invalid_data" | "invalid_data_element" | "missing_pagination" | "invalid_pagination" | "invalid_page" | "invalid_limit" | "invalid_space_identifier" | "invalid_search";
|
|
1352
1439
|
declare function validateWorkflowTemplate(object: unknown): Either<ValidationError, WorkflowTemplate>;
|
|
1353
1440
|
declare function validateWorkflowTemplateCreate(object: unknown): Either<ValidationError, WorkflowTemplateCreate>;
|
|
1354
1441
|
declare function validateWorkflowTemplateUpdate(object: unknown): Either<ValidationError, WorkflowTemplateUpdate>;
|
|
@@ -1359,10 +1446,15 @@ declare function validateListWorkflowTemplatesParams(object: unknown): Either<Va
|
|
|
1359
1446
|
//#endregion
|
|
1360
1447
|
//#region src/validators/common.validators.d.ts
|
|
1361
1448
|
type PaginationValidationError = "malformed_object" | "missing_total" | "invalid_total" | "missing_page" | "invalid_page" | "missing_limit" | "invalid_limit";
|
|
1449
|
+
type ListParamsValidationError = "malformed_object" | "invalid_page" | "invalid_limit" | "invalid_search";
|
|
1450
|
+
interface ValidatedListParams {
|
|
1451
|
+
page?: number;
|
|
1452
|
+
limit?: number;
|
|
1453
|
+
search?: string;
|
|
1454
|
+
}
|
|
1455
|
+
declare function validateSharedListParams(object: unknown): Either<ListParamsValidationError, ValidatedListParams>;
|
|
1362
1456
|
declare function validatePagination(object: unknown): Either<PaginationValidationError, Pagination>;
|
|
1363
1457
|
type APIErrorDetailsInnerValidationError = "malformed_object" | "invalid_field" | "invalid_message";
|
|
1364
|
-
type APIErrorValidationError = "malformed_object" | "invalid_code" | "invalid_message" | "invalid_details";
|
|
1365
|
-
declare function validateAPIError(object: unknown): Either<APIErrorValidationError, APIError>;
|
|
1366
1458
|
type HealthResponseValidationError = "malformed_object" | "missing_status" | "invalid_status" | "invalid_message";
|
|
1367
1459
|
declare function validateHealthResponse(object: unknown): Either<HealthResponseValidationError, HealthResponse>;
|
|
1368
1460
|
type GetEntityInfo200ResponseValidationError = "malformed_object" | "missing_entity_type" | "invalid_entity_type" | "missing_groups" | "invalid_groups";
|
|
@@ -1376,6 +1468,8 @@ type ListSpaces200ResponseValidationError = "malformed_object" | "missing_data"
|
|
|
1376
1468
|
declare function validateListSpaces200Response(object: unknown): Either<ListSpaces200ResponseValidationError, ListSpaces200Response>;
|
|
1377
1469
|
type SpaceScopeValidationError = "malformed_object" | "missing_type" | "invalid_type" | "missing_space_id" | "invalid_space_id";
|
|
1378
1470
|
declare function validateSpaceScope(object: unknown): Either<SpaceScopeValidationError, SpaceScope>;
|
|
1471
|
+
type ListSpacesParamsValidationError = "malformed_object" | "invalid_page" | "invalid_limit" | "invalid_search";
|
|
1472
|
+
declare function validateListSpacesParams(object: unknown): Either<ListSpacesParamsValidationError, ListSpacesParams>;
|
|
1379
1473
|
//#endregion
|
|
1380
1474
|
//#region src/validators/groups.validators.d.ts
|
|
1381
1475
|
type GroupValidationError = "malformed_object" | "missing_id" | "invalid_id" | "missing_name" | "invalid_name" | "invalid_description" | "missing_entities_count" | "invalid_entities_count" | "missing_created_at" | "invalid_created_at" | "missing_updated_at" | "invalid_updated_at";
|
|
@@ -1385,6 +1479,8 @@ type ListGroups200ResponseValidationError = "malformed_object" | "missing_groups
|
|
|
1385
1479
|
declare function validateListGroups200Response(object: unknown): Either<ListGroups200ResponseValidationError, ListGroups200Response>;
|
|
1386
1480
|
type GroupScopeValidationError = "malformed_object" | "missing_type" | "invalid_type" | "missing_group_id" | "invalid_group_id";
|
|
1387
1481
|
declare function validateGroupScope(object: unknown): Either<GroupScopeValidationError, GroupScope>;
|
|
1482
|
+
type ListGroupsParamsValidationError = "malformed_object" | "invalid_page" | "invalid_limit" | "invalid_search";
|
|
1483
|
+
declare function validateListGroupsParams(object: unknown): Either<ListGroupsParamsValidationError, ListGroupsParams>;
|
|
1388
1484
|
type GroupInfoValidationError = "malformed_object" | "missing_group_id" | "invalid_group_id" | "missing_group_name" | "invalid_group_name";
|
|
1389
1485
|
declare function validateGroupInfo(object: unknown): Either<GroupInfoValidationError, GroupInfo>;
|
|
1390
1486
|
type EntityReferenceValidationError = "malformed_object" | "missing_entity_type" | "invalid_entity_type" | "missing_entity_id" | "invalid_entity_id";
|
|
@@ -1431,4 +1527,9 @@ type RoleTemplateValidationError = "malformed_object" | "missing_name" | "invali
|
|
|
1431
1527
|
type ListRoleTemplates200ResponseValidationError = "malformed_object" | "missing_roles" | "invalid_roles";
|
|
1432
1528
|
declare function validateListRoleTemplates200Response(object: unknown): Either<ListRoleTemplates200ResponseValidationError, ListRoleTemplates200Response>;
|
|
1433
1529
|
//#endregion
|
|
1434
|
-
|
|
1530
|
+
//#region src/validators/api-error.validators.d.ts
|
|
1531
|
+
type APIErrorValidationError = "malformed_object" | "missing_code" | "invalid_code" | "missing_message" | "invalid_message" | "malformed_details";
|
|
1532
|
+
declare function validateAPIError(object: unknown): Either<APIErrorValidationError, APIError>;
|
|
1533
|
+
declare function isAPIError(object: unknown): object is APIError;
|
|
1534
|
+
//#endregion
|
|
1535
|
+
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, ListWorkflowTemplatesParams, 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, ValidationError, VoteApprove, VoteApproveValidationError, VoteVeto, VoteVetoValidationError, VoteWithdraw, VoteWithdrawValidationError, WebhookAction, Workflow, WorkflowAction, WorkflowCreate, WorkflowCreateValidationError, WorkflowRef, WorkflowRefValidationError, WorkflowTemplate, WorkflowTemplateCreate, WorkflowTemplateDeprecate, WorkflowTemplateScope, WorkflowTemplateSummary, WorkflowTemplateUpdate, 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 };
|