@approvio/api 0.0.38 → 0.0.40

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.
@@ -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-Du4B7X9Z.mjs";
1
+ import { _ as ConcurrencyControl, a as Workflow, b as GroupRequirementRule, c as WorkflowAction, d as UserSummary, f as ListGroups200Response, g as EmailAction, h as GroupInfo, i as ListWorkflows200Response, l as WebhookAction, m as Group, n as User, o as WorkflowRef, p as Pagination, r as TokenResponse, s as WorkflowTemplate, t as WorkflowCreate, u as WorkflowTemplateStatus, v as AndRule, x as OrRule, y as ApprovalRule } from "../workflow-create-DL0bZ2df.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.33
9
+ * The version of the OpenAPI document: 0.0.35
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.33
39
+ * The version of the OpenAPI document: 0.0.35
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.33
78
+ * The version of the OpenAPI document: 0.0.35
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.33
97
+ * The version of the OpenAPI document: 0.0.35
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.33
116
+ * The version of the OpenAPI document: 0.0.35
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.33
147
+ * The version of the OpenAPI document: 0.0.35
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.33
166
+ * The version of the OpenAPI document: 0.0.35
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.33
201
+ * The version of the OpenAPI document: 0.0.35
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.33
224
+ * The version of the OpenAPI document: 0.0.35
225
225
  *
226
226
  *
227
227
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -245,11 +245,11 @@ interface AgentTokenRequest {
245
245
  declare namespace AgentTokenRequest {
246
246
  type GrantTypeEnum = 'urn:ietf:params:oauth:grant-type:jwt-bearer';
247
247
  const GrantTypeEnum: {
248
- UrnietfparamsoauthgrantTypejwtBearer: GrantTypeEnum;
248
+ UrnIetfParamsOauthGrantTypeJwtBearer: GrantTypeEnum;
249
249
  };
250
250
  type ClientAssertionTypeEnum = 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer';
251
251
  const ClientAssertionTypeEnum: {
252
- UrnietfparamsoauthclientAssertionTypejwtBearer: ClientAssertionTypeEnum;
252
+ UrnIetfParamsOauthClientAssertionTypeJwtBearer: ClientAssertionTypeEnum;
253
253
  };
254
254
  }
255
255
  //#endregion
@@ -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.33
261
+ * The version of the OpenAPI document: 0.0.35
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.33
284
+ * The version of the OpenAPI document: 0.0.35
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.33
329
+ * The version of the OpenAPI document: 0.0.35
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.33
348
+ * The version of the OpenAPI document: 0.0.35
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.33
392
+ * The version of the OpenAPI document: 0.0.35
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.33
424
+ * The version of the OpenAPI document: 0.0.35
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.33
456
+ * The version of the OpenAPI document: 0.0.35
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.33
479
+ * The version of the OpenAPI document: 0.0.35
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.33
495
+ * The version of the OpenAPI document: 0.0.35
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.33
520
+ * The version of the OpenAPI document: 0.0.35
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.33
549
+ * The version of the OpenAPI document: 0.0.35
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.33
576
+ * The version of the OpenAPI document: 0.0.35
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.33
609
+ * The version of the OpenAPI document: 0.0.35
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.33
641
+ * The version of the OpenAPI document: 0.0.35
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.33
682
+ * The version of the OpenAPI document: 0.0.35
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.33
715
+ * The version of the OpenAPI document: 0.0.35
716
716
  *
717
717
  *
718
718
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -735,17 +735,6 @@ interface ListUsersParams {
735
735
  }
736
736
  //#endregion
737
737
  //#region generated/openapi/model/workflow-template-summary.d.ts
738
- /**
739
- * Workflow Approval System API
740
- * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
741
- *
742
- * The version of the OpenAPI document: 0.0.33
743
- *
744
- *
745
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
746
- * https://openapi-generator.tech
747
- * Do not edit the class manually.
748
- */
749
738
  interface WorkflowTemplateSummary {
750
739
  /**
751
740
  * Internal unique identifier for the workflow template.
@@ -763,6 +752,7 @@ interface WorkflowTemplateSummary {
763
752
  * Detailed description of the workflow template.
764
753
  */
765
754
  description?: string;
755
+ status: WorkflowTemplateStatus;
766
756
  /**
767
757
  * Timestamp when the workflow template was created.
768
758
  */
@@ -772,6 +762,7 @@ interface WorkflowTemplateSummary {
772
762
  */
773
763
  readonly updatedAt: string;
774
764
  }
765
+ declare namespace WorkflowTemplateSummary {}
775
766
  //#endregion
776
767
  //#region generated/openapi/model/list-workflow-templates-200-response.d.ts
777
768
  interface ListWorkflowTemplates200Response {
@@ -780,17 +771,6 @@ interface ListWorkflowTemplates200Response {
780
771
  }
781
772
  //#endregion
782
773
  //#region generated/openapi/model/list-workflow-templates-params.d.ts
783
- /**
784
- * Workflow Approval System API
785
- * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
786
- *
787
- * The version of the OpenAPI document: 0.0.33
788
- *
789
- *
790
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
791
- * https://openapi-generator.tech
792
- * Do not edit the class manually.
793
- */
794
774
  interface ListWorkflowTemplatesParams {
795
775
  /**
796
776
  * Page number for pagination (1-indexed)
@@ -812,10 +792,18 @@ interface ListWorkflowTemplatesParams {
812
792
  * Optional space identifier (UUID or name) to filter workflow templates.
813
793
  */
814
794
  spaceIdentifier?: string;
795
+ /**
796
+ * 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.
797
+ */
798
+ sortBy?: Array<string>;
799
+ /**
800
+ * The sort directions that correspond to the sortBy parameters in order. If specified, must not have more items than sortBy.
801
+ */
802
+ sortDirection?: Array<string>;
815
803
  /**
816
804
  * Filter by workflow template status. Can provide multiple values. Defaults to returning only ACTIVE templates.
817
805
  */
818
- status?: Array<string>;
806
+ status?: Array<WorkflowTemplateStatus>;
819
807
  }
820
808
  //#endregion
821
809
  //#region generated/openapi/model/list-workflows-params.d.ts
@@ -823,7 +811,7 @@ interface ListWorkflowTemplatesParams {
823
811
  * Workflow Approval System API
824
812
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
825
813
  *
826
- * The version of the OpenAPI document: 0.0.33
814
+ * The version of the OpenAPI document: 0.0.35
827
815
  *
828
816
  *
829
817
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -858,7 +846,7 @@ interface ListWorkflowsParams {
858
846
  * Workflow Approval System API
859
847
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
860
848
  *
861
- * The version of the OpenAPI document: 0.0.33
849
+ * The version of the OpenAPI document: 0.0.35
862
850
  *
863
851
  *
864
852
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -881,7 +869,7 @@ interface OidcCallbackRequest {
881
869
  * Workflow Approval System API
882
870
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
883
871
  *
884
- * The version of the OpenAPI document: 0.0.33
872
+ * The version of the OpenAPI document: 0.0.35
885
873
  *
886
874
  *
887
875
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -909,7 +897,7 @@ declare namespace OrgScope {
909
897
  * Workflow Approval System API
910
898
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
911
899
  *
912
- * The version of the OpenAPI document: 0.0.33
900
+ * The version of the OpenAPI document: 0.0.35
913
901
  *
914
902
  *
915
903
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -928,7 +916,7 @@ interface OrganizationAdminCreate {
928
916
  * Workflow Approval System API
929
917
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
930
918
  *
931
- * The version of the OpenAPI document: 0.0.33
919
+ * The version of the OpenAPI document: 0.0.35
932
920
  *
933
921
  *
934
922
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -947,7 +935,7 @@ interface OrganizationAdminRemove {
947
935
  * Workflow Approval System API
948
936
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
949
937
  *
950
- * The version of the OpenAPI document: 0.0.33
938
+ * The version of the OpenAPI document: 0.0.35
951
939
  *
952
940
  *
953
941
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -978,7 +966,7 @@ interface PrivilegedTokenExchangeRequest {
978
966
  * Workflow Approval System API
979
967
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
980
968
  *
981
- * The version of the OpenAPI document: 0.0.33
969
+ * The version of the OpenAPI document: 0.0.35
982
970
  *
983
971
  *
984
972
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -997,7 +985,7 @@ interface PrivilegedTokenResponse {
997
985
  * Workflow Approval System API
998
986
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
999
987
  *
1000
- * The version of the OpenAPI document: 0.0.33
988
+ * The version of the OpenAPI document: 0.0.35
1001
989
  *
1002
990
  *
1003
991
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1027,7 +1015,7 @@ interface RemoveGroupEntitiesRequest {
1027
1015
  * Workflow Approval System API
1028
1016
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1029
1017
  *
1030
- * The version of the OpenAPI document: 0.0.33
1018
+ * The version of the OpenAPI document: 0.0.35
1031
1019
  *
1032
1020
  *
1033
1021
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1059,7 +1047,7 @@ declare namespace SpaceScope {
1059
1047
  * Workflow Approval System API
1060
1048
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1061
1049
  *
1062
- * The version of the OpenAPI document: 0.0.33
1050
+ * The version of the OpenAPI document: 0.0.35
1063
1051
  *
1064
1052
  *
1065
1053
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1147,7 +1135,7 @@ interface RoleRemovalRequest {
1147
1135
  * Workflow Approval System API
1148
1136
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1149
1137
  *
1150
- * The version of the OpenAPI document: 0.0.33
1138
+ * The version of the OpenAPI document: 0.0.35
1151
1139
  *
1152
1140
  *
1153
1141
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1170,7 +1158,7 @@ interface SpaceCreate {
1170
1158
  * Workflow Approval System API
1171
1159
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1172
1160
  *
1173
- * The version of the OpenAPI document: 0.0.33
1161
+ * The version of the OpenAPI document: 0.0.35
1174
1162
  *
1175
1163
  *
1176
1164
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1193,7 +1181,7 @@ interface TokenRequest {
1193
1181
  * Workflow Approval System API
1194
1182
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1195
1183
  *
1196
- * The version of the OpenAPI document: 0.0.33
1184
+ * The version of the OpenAPI document: 0.0.35
1197
1185
  *
1198
1186
  *
1199
1187
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1220,7 +1208,7 @@ interface UserCreate {
1220
1208
  * Workflow Approval System API
1221
1209
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1222
1210
  *
1223
- * The version of the OpenAPI document: 0.0.33
1211
+ * The version of the OpenAPI document: 0.0.35
1224
1212
  *
1225
1213
  *
1226
1214
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1249,7 +1237,7 @@ declare namespace VoteApprove {
1249
1237
  * Workflow Approval System API
1250
1238
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1251
1239
  *
1252
- * The version of the OpenAPI document: 0.0.33
1240
+ * The version of the OpenAPI document: 0.0.35
1253
1241
  *
1254
1242
  *
1255
1243
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1274,7 +1262,7 @@ declare namespace VoteVeto {
1274
1262
  * Workflow Approval System API
1275
1263
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1276
1264
  *
1277
- * The version of the OpenAPI document: 0.0.33
1265
+ * The version of the OpenAPI document: 0.0.35
1278
1266
  *
1279
1267
  *
1280
1268
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1328,7 +1316,7 @@ interface WorkflowTemplateCreate {
1328
1316
  * Workflow Approval System API
1329
1317
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1330
1318
  *
1331
- * The version of the OpenAPI document: 0.0.33
1319
+ * The version of the OpenAPI document: 0.0.35
1332
1320
  *
1333
1321
  *
1334
1322
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1365,6 +1353,7 @@ interface WorkflowTemplateUpdate {
1365
1353
  * If true, all in-progress workflows associated with this template will be canceled when creating a new version. This affects the allowVotingOnDeprecatedTemplate setting: when true, voting is disabled on the deprecated template.
1366
1354
  */
1367
1355
  cancelWorkflows?: boolean;
1356
+ concurrencyControl: ConcurrencyControl;
1368
1357
  }
1369
1358
  //#endregion
1370
1359
  //#region generated/openapi/model/workflow-vote-request-vote-type.d.ts
@@ -1467,21 +1456,31 @@ declare function validateGetEntityInfo200Response(object: unknown): Either<GetEn
1467
1456
  type PrefixUnion<TPrefix extends string, TUnion extends string> = `${TPrefix}_${TUnion}`;
1468
1457
  //#endregion
1469
1458
  //#region src/validators/workflow-templates.validators.d.ts
1470
- type WorkflowTemplateValidationError = "malformed_object" | "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";
1459
+ type WorkflowTemplateValidationError = "malformed_object" | "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_concurrency_control";
1471
1460
  declare function validateWorkflowTemplate(object: unknown): Either<WorkflowTemplateValidationError, WorkflowTemplate>;
1472
1461
  type WorkflowTemplateCreateValidationError = "malformed_object" | "invalid_name" | "missing_approval_rule" | "invalid_approval_rule" | "invalid_space_id" | "invalid_description" | "invalid_metadata" | "invalid_actions" | "invalid_actions_element" | "invalid_default_expires_in_hours";
1473
1462
  declare function validateWorkflowTemplateCreate(object: unknown): Either<WorkflowTemplateCreateValidationError, WorkflowTemplateCreate>;
1474
- type WorkflowTemplateUpdateValidationError = "malformed_object" | "invalid_description" | "invalid_metadata" | "invalid_approval_rule" | "invalid_actions" | "invalid_actions_element" | "invalid_default_expires_in_hours" | "invalid_cancel_workflows";
1463
+ type WorkflowTemplateUpdateValidationError = "malformed_object" | "invalid_description" | "invalid_metadata" | "invalid_approval_rule" | "invalid_actions" | "invalid_actions_element" | "invalid_default_expires_in_hours" | "invalid_cancel_workflows" | "invalid_concurrency_control";
1475
1464
  declare function validateWorkflowTemplateUpdate(object: unknown): Either<WorkflowTemplateUpdateValidationError, WorkflowTemplateUpdate>;
1476
1465
  type WorkflowTemplateDeprecateValidationError = "malformed_object" | "invalid_cancel_workflows";
1477
1466
  declare function validateWorkflowTemplateDeprecate(object: unknown): Either<WorkflowTemplateDeprecateValidationError, WorkflowTemplateDeprecate>;
1478
1467
  type WorkflowTemplateScopeValidationError = "malformed_object" | "invalid_type" | "invalid_workflow_template_id";
1479
1468
  declare function validateWorkflowTemplateScope(object: unknown): Either<WorkflowTemplateScopeValidationError, WorkflowTemplateScope>;
1480
- type WorkflowTemplateSummaryValidationError = "malformed_object" | "invalid_id" | "invalid_name" | "invalid_version" | "invalid_created_at" | "invalid_updated_at" | "invalid_description";
1469
+ type WorkflowTemplateSummaryValidationError = "malformed_object" | "invalid_id" | "invalid_name" | "invalid_version" | "invalid_created_at" | "invalid_updated_at" | "invalid_status" | "invalid_description";
1481
1470
  type ListWorkflowTemplates200ResponseValidationError = "malformed_object" | "invalid_data" | "invalid_pagination" | "missing_pagination" | PrefixUnion<"data_item", WorkflowTemplateSummaryValidationError>;
1482
1471
  declare function validateListWorkflowTemplates200Response(object: unknown): Either<ListWorkflowTemplates200ResponseValidationError, ListWorkflowTemplates200Response>;
1483
- type ListWorkflowTemplatesParamsValidationError = ListParamsValidationError | "invalid_space_identifier" | "invalid_status" | "invalid_search_mode" | "invalid_search_length";
1472
+ 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";
1473
+ declare enum SortBy {
1474
+ VERSION = "VERSION",
1475
+ UPDATED_AT = "UPDATED_AT",
1476
+ CREATED_AT = "CREATED_AT"
1477
+ }
1478
+ declare enum SortDirection {
1479
+ ASC = "ASC",
1480
+ DESC = "DESC"
1481
+ }
1484
1482
  declare function validateListWorkflowTemplatesParams(object: unknown): Either<ListWorkflowTemplatesParamsValidationError, ListWorkflowTemplatesParams>;
1483
+ declare function validateConcurrencyControl(object: unknown): Either<"invalid_concurrency_control", ConcurrencyControl>;
1485
1484
  //#endregion
1486
1485
  //#region src/validators/spaces.validators.d.ts
1487
1486
  type SpaceValidationError = "malformed_object" | "missing_id" | "invalid_id" | "missing_name" | "invalid_name" | "invalid_description" | "missing_created_at" | "invalid_created_at" | "missing_updated_at" | "invalid_updated_at";
@@ -1555,4 +1554,4 @@ type APIErrorValidationError = "malformed_object" | "missing_code" | "invalid_co
1555
1554
  declare function validateAPIError(object: unknown): Either<APIErrorValidationError, APIError>;
1556
1555
  declare function isAPIError(object: unknown): object is APIError;
1557
1556
  //#endregion
1558
- 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 };
1557
+ 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, ConcurrencyControl, 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, WorkflowTemplateStatus, WorkflowTemplateSummary, WorkflowTemplateUpdate, WorkflowTemplateUpdateValidationError, WorkflowTemplateValidationError, WorkflowValidationError, WorkflowVote, WorkflowVoteRequest, WorkflowVoteRequestValidationError, WorkflowVoteRequestVoteType, WorkflowVoteRequestVoteTypeValidationError, WorkflowVoteValidationError, isAPIError, validateAPIError, validateAddGroupEntitiesRequest, validateAgentChallengeRequest, validateAgentChallengeResponse, validateAgentGet200Response, validateAgentRegistrationRequest, validateAgentRegistrationResponse, validateAgentTokenRequest, validateAgentTokenResponse, validateCanVoteResponse, validateConcurrencyControl, 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 };