@approvio/api 0.0.39 → 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-YXAJ6Gr8.cjs";
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-Ng_I-FfX.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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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.34
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)
@@ -823,7 +803,7 @@ interface ListWorkflowTemplatesParams {
823
803
  /**
824
804
  * Filter by workflow template status. Can provide multiple values. Defaults to returning only ACTIVE templates.
825
805
  */
826
- status?: Array<string>;
806
+ status?: Array<WorkflowTemplateStatus>;
827
807
  }
828
808
  //#endregion
829
809
  //#region generated/openapi/model/list-workflows-params.d.ts
@@ -831,7 +811,7 @@ interface ListWorkflowTemplatesParams {
831
811
  * Workflow Approval System API
832
812
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
833
813
  *
834
- * The version of the OpenAPI document: 0.0.34
814
+ * The version of the OpenAPI document: 0.0.35
835
815
  *
836
816
  *
837
817
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -866,7 +846,7 @@ interface ListWorkflowsParams {
866
846
  * Workflow Approval System API
867
847
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
868
848
  *
869
- * The version of the OpenAPI document: 0.0.34
849
+ * The version of the OpenAPI document: 0.0.35
870
850
  *
871
851
  *
872
852
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -889,7 +869,7 @@ interface OidcCallbackRequest {
889
869
  * Workflow Approval System API
890
870
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
891
871
  *
892
- * The version of the OpenAPI document: 0.0.34
872
+ * The version of the OpenAPI document: 0.0.35
893
873
  *
894
874
  *
895
875
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -917,7 +897,7 @@ declare namespace OrgScope {
917
897
  * Workflow Approval System API
918
898
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
919
899
  *
920
- * The version of the OpenAPI document: 0.0.34
900
+ * The version of the OpenAPI document: 0.0.35
921
901
  *
922
902
  *
923
903
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -936,7 +916,7 @@ interface OrganizationAdminCreate {
936
916
  * Workflow Approval System API
937
917
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
938
918
  *
939
- * The version of the OpenAPI document: 0.0.34
919
+ * The version of the OpenAPI document: 0.0.35
940
920
  *
941
921
  *
942
922
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -955,7 +935,7 @@ interface OrganizationAdminRemove {
955
935
  * Workflow Approval System API
956
936
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
957
937
  *
958
- * The version of the OpenAPI document: 0.0.34
938
+ * The version of the OpenAPI document: 0.0.35
959
939
  *
960
940
  *
961
941
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -986,7 +966,7 @@ interface PrivilegedTokenExchangeRequest {
986
966
  * Workflow Approval System API
987
967
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
988
968
  *
989
- * The version of the OpenAPI document: 0.0.34
969
+ * The version of the OpenAPI document: 0.0.35
990
970
  *
991
971
  *
992
972
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1005,7 +985,7 @@ interface PrivilegedTokenResponse {
1005
985
  * Workflow Approval System API
1006
986
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1007
987
  *
1008
- * The version of the OpenAPI document: 0.0.34
988
+ * The version of the OpenAPI document: 0.0.35
1009
989
  *
1010
990
  *
1011
991
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1035,7 +1015,7 @@ interface RemoveGroupEntitiesRequest {
1035
1015
  * Workflow Approval System API
1036
1016
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1037
1017
  *
1038
- * The version of the OpenAPI document: 0.0.34
1018
+ * The version of the OpenAPI document: 0.0.35
1039
1019
  *
1040
1020
  *
1041
1021
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1067,7 +1047,7 @@ declare namespace SpaceScope {
1067
1047
  * Workflow Approval System API
1068
1048
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1069
1049
  *
1070
- * The version of the OpenAPI document: 0.0.34
1050
+ * The version of the OpenAPI document: 0.0.35
1071
1051
  *
1072
1052
  *
1073
1053
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1155,7 +1135,7 @@ interface RoleRemovalRequest {
1155
1135
  * Workflow Approval System API
1156
1136
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1157
1137
  *
1158
- * The version of the OpenAPI document: 0.0.34
1138
+ * The version of the OpenAPI document: 0.0.35
1159
1139
  *
1160
1140
  *
1161
1141
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1178,7 +1158,7 @@ interface SpaceCreate {
1178
1158
  * Workflow Approval System API
1179
1159
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1180
1160
  *
1181
- * The version of the OpenAPI document: 0.0.34
1161
+ * The version of the OpenAPI document: 0.0.35
1182
1162
  *
1183
1163
  *
1184
1164
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1201,7 +1181,7 @@ interface TokenRequest {
1201
1181
  * Workflow Approval System API
1202
1182
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1203
1183
  *
1204
- * The version of the OpenAPI document: 0.0.34
1184
+ * The version of the OpenAPI document: 0.0.35
1205
1185
  *
1206
1186
  *
1207
1187
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1228,7 +1208,7 @@ interface UserCreate {
1228
1208
  * Workflow Approval System API
1229
1209
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1230
1210
  *
1231
- * The version of the OpenAPI document: 0.0.34
1211
+ * The version of the OpenAPI document: 0.0.35
1232
1212
  *
1233
1213
  *
1234
1214
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1257,7 +1237,7 @@ declare namespace VoteApprove {
1257
1237
  * Workflow Approval System API
1258
1238
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1259
1239
  *
1260
- * The version of the OpenAPI document: 0.0.34
1240
+ * The version of the OpenAPI document: 0.0.35
1261
1241
  *
1262
1242
  *
1263
1243
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1282,7 +1262,7 @@ declare namespace VoteVeto {
1282
1262
  * Workflow Approval System API
1283
1263
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1284
1264
  *
1285
- * The version of the OpenAPI document: 0.0.34
1265
+ * The version of the OpenAPI document: 0.0.35
1286
1266
  *
1287
1267
  *
1288
1268
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1336,7 +1316,7 @@ interface WorkflowTemplateCreate {
1336
1316
  * Workflow Approval System API
1337
1317
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1338
1318
  *
1339
- * The version of the OpenAPI document: 0.0.34
1319
+ * The version of the OpenAPI document: 0.0.35
1340
1320
  *
1341
1321
  *
1342
1322
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1373,6 +1353,7 @@ interface WorkflowTemplateUpdate {
1373
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.
1374
1354
  */
1375
1355
  cancelWorkflows?: boolean;
1356
+ concurrencyControl: ConcurrencyControl;
1376
1357
  }
1377
1358
  //#endregion
1378
1359
  //#region generated/openapi/model/workflow-vote-request-vote-type.d.ts
@@ -1475,17 +1456,17 @@ declare function validateGetEntityInfo200Response(object: unknown): Either<GetEn
1475
1456
  type PrefixUnion<TPrefix extends string, TUnion extends string> = `${TPrefix}_${TUnion}`;
1476
1457
  //#endregion
1477
1458
  //#region src/validators/workflow-templates.validators.d.ts
1478
- 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";
1479
1460
  declare function validateWorkflowTemplate(object: unknown): Either<WorkflowTemplateValidationError, WorkflowTemplate>;
1480
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";
1481
1462
  declare function validateWorkflowTemplateCreate(object: unknown): Either<WorkflowTemplateCreateValidationError, WorkflowTemplateCreate>;
1482
- 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";
1483
1464
  declare function validateWorkflowTemplateUpdate(object: unknown): Either<WorkflowTemplateUpdateValidationError, WorkflowTemplateUpdate>;
1484
1465
  type WorkflowTemplateDeprecateValidationError = "malformed_object" | "invalid_cancel_workflows";
1485
1466
  declare function validateWorkflowTemplateDeprecate(object: unknown): Either<WorkflowTemplateDeprecateValidationError, WorkflowTemplateDeprecate>;
1486
1467
  type WorkflowTemplateScopeValidationError = "malformed_object" | "invalid_type" | "invalid_workflow_template_id";
1487
1468
  declare function validateWorkflowTemplateScope(object: unknown): Either<WorkflowTemplateScopeValidationError, WorkflowTemplateScope>;
1488
- 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";
1489
1470
  type ListWorkflowTemplates200ResponseValidationError = "malformed_object" | "invalid_data" | "invalid_pagination" | "missing_pagination" | PrefixUnion<"data_item", WorkflowTemplateSummaryValidationError>;
1490
1471
  declare function validateListWorkflowTemplates200Response(object: unknown): Either<ListWorkflowTemplates200ResponseValidationError, ListWorkflowTemplates200Response>;
1491
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";
@@ -1499,6 +1480,7 @@ declare enum SortDirection {
1499
1480
  DESC = "DESC"
1500
1481
  }
1501
1482
  declare function validateListWorkflowTemplatesParams(object: unknown): Either<ListWorkflowTemplatesParamsValidationError, ListWorkflowTemplatesParams>;
1483
+ declare function validateConcurrencyControl(object: unknown): Either<"invalid_concurrency_control", ConcurrencyControl>;
1502
1484
  //#endregion
1503
1485
  //#region src/validators/spaces.validators.d.ts
1504
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";
@@ -1572,4 +1554,4 @@ type APIErrorValidationError = "malformed_object" | "missing_code" | "invalid_co
1572
1554
  declare function validateAPIError(object: unknown): Either<APIErrorValidationError, APIError>;
1573
1555
  declare function isAPIError(object: unknown): object is APIError;
1574
1556
  //#endregion
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 };
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 };