@approvio/api 0.0.41 → 0.0.42

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 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-DyEyaGqO.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-D4c1cIa_.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.36
9
+ * The version of the OpenAPI document: 0.0.37
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.36
39
+ * The version of the OpenAPI document: 0.0.37
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.36
78
+ * The version of the OpenAPI document: 0.0.37
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.36
97
+ * The version of the OpenAPI document: 0.0.37
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.36
116
+ * The version of the OpenAPI document: 0.0.37
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.36
147
+ * The version of the OpenAPI document: 0.0.37
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.36
166
+ * The version of the OpenAPI document: 0.0.37
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.36
201
+ * The version of the OpenAPI document: 0.0.37
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.36
224
+ * The version of the OpenAPI document: 0.0.37
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.36
261
+ * The version of the OpenAPI document: 0.0.37
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.36
284
+ * The version of the OpenAPI document: 0.0.37
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.36
329
+ * The version of the OpenAPI document: 0.0.37
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.36
348
+ * The version of the OpenAPI document: 0.0.37
349
349
  *
350
350
  *
351
351
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -384,12 +384,128 @@ interface GetWorkflowVotes200Response {
384
384
  votes: Array<WorkflowVote>;
385
385
  }
386
386
  //#endregion
387
+ //#region generated/openapi/model/global-quota.d.ts
388
+ /**
389
+ * Workflow Approval System API
390
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
391
+ *
392
+ * The version of the OpenAPI document: 0.0.37
393
+ *
394
+ *
395
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
396
+ * https://openapi-generator.tech
397
+ * Do not edit the class manually.
398
+ */
399
+ interface GlobalQuota {
400
+ /**
401
+ * The unique identifier of the quota
402
+ */
403
+ readonly id?: string;
404
+ /**
405
+ * The maximum value allowed for this quota
406
+ */
407
+ limit: number;
408
+ quotaType: GlobalQuota.QuotaTypeEnum;
409
+ scope: GlobalQuota.ScopeEnum;
410
+ /**
411
+ * When the quota was created
412
+ */
413
+ readonly createdAt?: string;
414
+ /**
415
+ * When the quota was last updated
416
+ */
417
+ readonly updatedAt?: string;
418
+ }
419
+ declare namespace GlobalQuota {
420
+ type QuotaTypeEnum = 'MAX_GROUPS' | 'MAX_SPACES';
421
+ const QuotaTypeEnum: {
422
+ MaxGroups: QuotaTypeEnum;
423
+ MaxSpaces: QuotaTypeEnum;
424
+ };
425
+ type ScopeEnum = 'GLOBAL';
426
+ const ScopeEnum: {
427
+ Global: ScopeEnum;
428
+ };
429
+ }
430
+ //#endregion
431
+ //#region generated/openapi/model/global-quota-base.d.ts
432
+ /**
433
+ * Workflow Approval System API
434
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
435
+ *
436
+ * The version of the OpenAPI document: 0.0.37
437
+ *
438
+ *
439
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
440
+ * https://openapi-generator.tech
441
+ * Do not edit the class manually.
442
+ */
443
+ interface GlobalQuotaBase {
444
+ scope?: GlobalQuotaBase.ScopeEnum;
445
+ quotaType?: GlobalQuotaBase.QuotaTypeEnum;
446
+ }
447
+ declare namespace GlobalQuotaBase {
448
+ type ScopeEnum = 'GLOBAL';
449
+ const ScopeEnum: {
450
+ Global: ScopeEnum;
451
+ };
452
+ type QuotaTypeEnum = 'MAX_GROUPS' | 'MAX_SPACES';
453
+ const QuotaTypeEnum: {
454
+ MaxGroups: QuotaTypeEnum;
455
+ MaxSpaces: QuotaTypeEnum;
456
+ };
457
+ }
458
+ //#endregion
459
+ //#region generated/openapi/model/global-quota-create.d.ts
460
+ /**
461
+ * Workflow Approval System API
462
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
463
+ *
464
+ * The version of the OpenAPI document: 0.0.37
465
+ *
466
+ *
467
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
468
+ * https://openapi-generator.tech
469
+ * Do not edit the class manually.
470
+ */
471
+ interface GlobalQuotaCreate {
472
+ /**
473
+ * The unique identifier of the quota
474
+ */
475
+ readonly id?: string;
476
+ /**
477
+ * The maximum value allowed for this quota
478
+ */
479
+ limit: number;
480
+ quotaType: GlobalQuotaCreate.QuotaTypeEnum;
481
+ scope: GlobalQuotaCreate.ScopeEnum;
482
+ /**
483
+ * When the quota was created
484
+ */
485
+ readonly createdAt?: string;
486
+ /**
487
+ * When the quota was last updated
488
+ */
489
+ readonly updatedAt?: string;
490
+ }
491
+ declare namespace GlobalQuotaCreate {
492
+ type QuotaTypeEnum = 'MAX_GROUPS' | 'MAX_SPACES';
493
+ const QuotaTypeEnum: {
494
+ MaxGroups: QuotaTypeEnum;
495
+ MaxSpaces: QuotaTypeEnum;
496
+ };
497
+ type ScopeEnum = 'GLOBAL';
498
+ const ScopeEnum: {
499
+ Global: ScopeEnum;
500
+ };
501
+ }
502
+ //#endregion
387
503
  //#region generated/openapi/model/group-create.d.ts
388
504
  /**
389
505
  * Workflow Approval System API
390
506
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
391
507
  *
392
- * The version of the OpenAPI document: 0.0.36
508
+ * The version of the OpenAPI document: 0.0.37
393
509
  *
394
510
  *
395
511
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -416,12 +532,137 @@ interface GroupMembership {
416
532
  readonly addedAt: string;
417
533
  }
418
534
  //#endregion
535
+ //#region generated/openapi/model/group-quota.d.ts
536
+ /**
537
+ * Workflow Approval System API
538
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
539
+ *
540
+ * The version of the OpenAPI document: 0.0.37
541
+ *
542
+ *
543
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
544
+ * https://openapi-generator.tech
545
+ * Do not edit the class manually.
546
+ */
547
+ interface GroupQuota {
548
+ /**
549
+ * The unique identifier of the quota
550
+ */
551
+ readonly id?: string;
552
+ /**
553
+ * The maximum value allowed for this quota
554
+ */
555
+ limit: number;
556
+ quotaType: GroupQuota.QuotaTypeEnum;
557
+ scope: GroupQuota.ScopeEnum;
558
+ /**
559
+ * When the quota was created
560
+ */
561
+ readonly createdAt?: string;
562
+ /**
563
+ * When the quota was last updated
564
+ */
565
+ readonly updatedAt?: string;
566
+ /**
567
+ * The ID of the group this quota applies to.
568
+ */
569
+ targetId: string;
570
+ }
571
+ declare namespace GroupQuota {
572
+ type QuotaTypeEnum = 'MAX_ENTITIES_PER_GROUP';
573
+ const QuotaTypeEnum: {
574
+ MaxEntitiesPerGroup: QuotaTypeEnum;
575
+ };
576
+ type ScopeEnum = 'GROUP';
577
+ const ScopeEnum: {
578
+ Group: ScopeEnum;
579
+ };
580
+ }
581
+ //#endregion
582
+ //#region generated/openapi/model/group-quota-base.d.ts
583
+ /**
584
+ * Workflow Approval System API
585
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
586
+ *
587
+ * The version of the OpenAPI document: 0.0.37
588
+ *
589
+ *
590
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
591
+ * https://openapi-generator.tech
592
+ * Do not edit the class manually.
593
+ */
594
+ interface GroupQuotaBase {
595
+ scope?: GroupQuotaBase.ScopeEnum;
596
+ quotaType?: GroupQuotaBase.QuotaTypeEnum;
597
+ /**
598
+ * The ID of the group this quota applies to.
599
+ */
600
+ targetId: string;
601
+ }
602
+ declare namespace GroupQuotaBase {
603
+ type ScopeEnum = 'GROUP';
604
+ const ScopeEnum: {
605
+ Group: ScopeEnum;
606
+ };
607
+ type QuotaTypeEnum = 'MAX_ENTITIES_PER_GROUP';
608
+ const QuotaTypeEnum: {
609
+ MaxEntitiesPerGroup: QuotaTypeEnum;
610
+ };
611
+ }
612
+ //#endregion
613
+ //#region generated/openapi/model/group-quota-create.d.ts
614
+ /**
615
+ * Workflow Approval System API
616
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
617
+ *
618
+ * The version of the OpenAPI document: 0.0.37
619
+ *
620
+ *
621
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
622
+ * https://openapi-generator.tech
623
+ * Do not edit the class manually.
624
+ */
625
+ interface GroupQuotaCreate {
626
+ /**
627
+ * The unique identifier of the quota
628
+ */
629
+ readonly id?: string;
630
+ /**
631
+ * The maximum value allowed for this quota
632
+ */
633
+ limit: number;
634
+ quotaType: GroupQuotaCreate.QuotaTypeEnum;
635
+ scope: GroupQuotaCreate.ScopeEnum;
636
+ /**
637
+ * When the quota was created
638
+ */
639
+ readonly createdAt?: string;
640
+ /**
641
+ * When the quota was last updated
642
+ */
643
+ readonly updatedAt?: string;
644
+ /**
645
+ * The ID of the group this quota applies to.
646
+ */
647
+ targetId: string;
648
+ }
649
+ declare namespace GroupQuotaCreate {
650
+ type QuotaTypeEnum = 'MAX_ENTITIES_PER_GROUP';
651
+ const QuotaTypeEnum: {
652
+ MaxEntitiesPerGroup: QuotaTypeEnum;
653
+ };
654
+ type ScopeEnum = 'GROUP';
655
+ const ScopeEnum: {
656
+ Group: ScopeEnum;
657
+ };
658
+ }
659
+ //#endregion
419
660
  //#region generated/openapi/model/group-scope.d.ts
420
661
  /**
421
662
  * Workflow Approval System API
422
663
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
423
664
  *
424
- * The version of the OpenAPI document: 0.0.36
665
+ * The version of the OpenAPI document: 0.0.37
425
666
  *
426
667
  *
427
668
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -453,7 +694,7 @@ declare namespace GroupScope {
453
694
  * Workflow Approval System API
454
695
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
455
696
  *
456
- * The version of the OpenAPI document: 0.0.36
697
+ * The version of the OpenAPI document: 0.0.37
457
698
  *
458
699
  *
459
700
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -476,7 +717,7 @@ interface HealthResponse {
476
717
  * Workflow Approval System API
477
718
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
478
719
  *
479
- * The version of the OpenAPI document: 0.0.36
720
+ * The version of the OpenAPI document: 0.0.37
480
721
  *
481
722
  *
482
723
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -492,7 +733,7 @@ interface InitiateCliLogin200Response {
492
733
  * Workflow Approval System API
493
734
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
494
735
  *
495
- * The version of the OpenAPI document: 0.0.36
736
+ * The version of the OpenAPI document: 0.0.37
496
737
  *
497
738
  *
498
739
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -517,7 +758,7 @@ interface ListAgents200Response {
517
758
  * Workflow Approval System API
518
759
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
519
760
  *
520
- * The version of the OpenAPI document: 0.0.36
761
+ * The version of the OpenAPI document: 0.0.37
521
762
  *
522
763
  *
523
764
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -546,7 +787,7 @@ interface ListGroupEntities200Response {
546
787
  * Workflow Approval System API
547
788
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
548
789
  *
549
- * The version of the OpenAPI document: 0.0.36
790
+ * The version of the OpenAPI document: 0.0.37
550
791
  *
551
792
  *
552
793
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -573,7 +814,7 @@ interface ListGroupsParams {
573
814
  * Workflow Approval System API
574
815
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
575
816
  *
576
- * The version of the OpenAPI document: 0.0.36
817
+ * The version of the OpenAPI document: 0.0.37
577
818
  *
578
819
  *
579
820
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -601,12 +842,234 @@ interface ListOrganizationAdminsForOrg200Response {
601
842
  pagination: Pagination;
602
843
  }
603
844
  //#endregion
845
+ //#region generated/openapi/model/template-quota.d.ts
846
+ /**
847
+ * Workflow Approval System API
848
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
849
+ *
850
+ * The version of the OpenAPI document: 0.0.37
851
+ *
852
+ *
853
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
854
+ * https://openapi-generator.tech
855
+ * Do not edit the class manually.
856
+ */
857
+ interface TemplateQuota {
858
+ /**
859
+ * The unique identifier of the quota
860
+ */
861
+ readonly id?: string;
862
+ /**
863
+ * The maximum value allowed for this quota
864
+ */
865
+ limit: number;
866
+ quotaType: TemplateQuota.QuotaTypeEnum;
867
+ scope: TemplateQuota.ScopeEnum;
868
+ /**
869
+ * When the quota was created
870
+ */
871
+ readonly createdAt?: string;
872
+ /**
873
+ * When the quota was last updated
874
+ */
875
+ readonly updatedAt?: string;
876
+ /**
877
+ * The ID of the template this quota applies to.
878
+ */
879
+ targetId: string;
880
+ }
881
+ declare namespace TemplateQuota {
882
+ type QuotaTypeEnum = 'MAX_CONCURRENT_WORKFLOWS';
883
+ const QuotaTypeEnum: {
884
+ MaxConcurrentWorkflows: QuotaTypeEnum;
885
+ };
886
+ type ScopeEnum = 'TEMPLATE';
887
+ const ScopeEnum: {
888
+ Template: ScopeEnum;
889
+ };
890
+ }
891
+ //#endregion
892
+ //#region generated/openapi/model/space-quota.d.ts
893
+ /**
894
+ * Workflow Approval System API
895
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
896
+ *
897
+ * The version of the OpenAPI document: 0.0.37
898
+ *
899
+ *
900
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
901
+ * https://openapi-generator.tech
902
+ * Do not edit the class manually.
903
+ */
904
+ interface SpaceQuota {
905
+ /**
906
+ * The unique identifier of the quota
907
+ */
908
+ readonly id?: string;
909
+ /**
910
+ * The maximum value allowed for this quota
911
+ */
912
+ limit: number;
913
+ quotaType: SpaceQuota.QuotaTypeEnum;
914
+ scope: SpaceQuota.ScopeEnum;
915
+ /**
916
+ * When the quota was created
917
+ */
918
+ readonly createdAt?: string;
919
+ /**
920
+ * When the quota was last updated
921
+ */
922
+ readonly updatedAt?: string;
923
+ /**
924
+ * The ID of the space this quota applies to.
925
+ */
926
+ targetId: string;
927
+ }
928
+ declare namespace SpaceQuota {
929
+ type QuotaTypeEnum = 'MAX_TEMPLATES';
930
+ const QuotaTypeEnum: {
931
+ MaxTemplates: QuotaTypeEnum;
932
+ };
933
+ type ScopeEnum = 'SPACE';
934
+ const ScopeEnum: {
935
+ Space: ScopeEnum;
936
+ };
937
+ }
938
+ //#endregion
939
+ //#region generated/openapi/model/user-quota.d.ts
940
+ /**
941
+ * Workflow Approval System API
942
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
943
+ *
944
+ * The version of the OpenAPI document: 0.0.37
945
+ *
946
+ *
947
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
948
+ * https://openapi-generator.tech
949
+ * Do not edit the class manually.
950
+ */
951
+ interface UserQuota {
952
+ /**
953
+ * The unique identifier of the quota
954
+ */
955
+ readonly id?: string;
956
+ /**
957
+ * The maximum value allowed for this quota
958
+ */
959
+ limit: number;
960
+ quotaType: UserQuota.QuotaTypeEnum;
961
+ scope: UserQuota.ScopeEnum;
962
+ /**
963
+ * When the quota was created
964
+ */
965
+ readonly createdAt?: string;
966
+ /**
967
+ * When the quota was last updated
968
+ */
969
+ readonly updatedAt?: string;
970
+ /**
971
+ * The ID of the user this quota applies to.
972
+ */
973
+ targetId: string;
974
+ }
975
+ declare namespace UserQuota {
976
+ type QuotaTypeEnum = 'MAX_ROLES_PER_USER';
977
+ const QuotaTypeEnum: {
978
+ MaxRolesPerUser: QuotaTypeEnum;
979
+ };
980
+ type ScopeEnum = 'USER';
981
+ const ScopeEnum: {
982
+ User: ScopeEnum;
983
+ };
984
+ }
985
+ //#endregion
986
+ //#region generated/openapi/model/quota.d.ts
987
+ /**
988
+ * @type Quota
989
+ * @export
990
+ */
991
+ type Quota = GlobalQuota | GroupQuota | SpaceQuota | TemplateQuota | UserQuota;
992
+ //#endregion
993
+ //#region generated/openapi/model/list-quotas-200-response.d.ts
994
+ interface ListQuotas200Response {
995
+ data: Array<Quota>;
996
+ pagination: Pagination;
997
+ }
998
+ //#endregion
999
+ //#region generated/openapi/model/quota-scope.d.ts
1000
+ /**
1001
+ * Workflow Approval System API
1002
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1003
+ *
1004
+ * The version of the OpenAPI document: 0.0.37
1005
+ *
1006
+ *
1007
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1008
+ * https://openapi-generator.tech
1009
+ * Do not edit the class manually.
1010
+ */
1011
+ /**
1012
+ * The scope at which this quota applies.
1013
+ */
1014
+ type QuotaScope = 'GLOBAL' | 'SPACE' | 'USER' | 'GROUP' | 'TEMPLATE';
1015
+ declare const QuotaScope: {
1016
+ Global: QuotaScope;
1017
+ Space: QuotaScope;
1018
+ User: QuotaScope;
1019
+ Group: QuotaScope;
1020
+ Template: QuotaScope;
1021
+ };
1022
+ //#endregion
1023
+ //#region generated/openapi/model/quota-type.d.ts
1024
+ /**
1025
+ * Workflow Approval System API
1026
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1027
+ *
1028
+ * The version of the OpenAPI document: 0.0.37
1029
+ *
1030
+ *
1031
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1032
+ * https://openapi-generator.tech
1033
+ * Do not edit the class manually.
1034
+ */
1035
+ /**
1036
+ * The type of metric that this quota enforces.
1037
+ */
1038
+ type QuotaType = 'MAX_ENTITIES_PER_GROUP' | 'MAX_CONCURRENT_WORKFLOWS' | 'MAX_ROLES_PER_USER' | 'MAX_GROUPS' | 'MAX_SPACES' | 'MAX_TEMPLATES';
1039
+ declare const QuotaType: {
1040
+ MaxEntitiesPerGroup: QuotaType;
1041
+ MaxConcurrentWorkflows: QuotaType;
1042
+ MaxRolesPerUser: QuotaType;
1043
+ MaxGroups: QuotaType;
1044
+ MaxSpaces: QuotaType;
1045
+ MaxTemplates: QuotaType;
1046
+ };
1047
+ //#endregion
1048
+ //#region generated/openapi/model/list-quotas-params.d.ts
1049
+ interface ListQuotasParams {
1050
+ /**
1051
+ * Page number for pagination (1-indexed)
1052
+ */
1053
+ page?: number;
1054
+ /**
1055
+ * Number of results per page
1056
+ */
1057
+ limit?: number;
1058
+ scope?: QuotaScope;
1059
+ /**
1060
+ * Filter by target identifier
1061
+ */
1062
+ targetId?: string;
1063
+ quotaType?: QuotaType;
1064
+ }
1065
+ declare namespace ListQuotasParams {}
1066
+ //#endregion
604
1067
  //#region generated/openapi/model/role-template.d.ts
605
1068
  /**
606
1069
  * Workflow Approval System API
607
1070
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
608
1071
  *
609
- * The version of the OpenAPI document: 0.0.36
1072
+ * The version of the OpenAPI document: 0.0.37
610
1073
  *
611
1074
  *
612
1075
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -638,7 +1101,7 @@ interface ListRoleTemplates200Response {
638
1101
  * Workflow Approval System API
639
1102
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
640
1103
  *
641
- * The version of the OpenAPI document: 0.0.36
1104
+ * The version of the OpenAPI document: 0.0.37
642
1105
  *
643
1106
  *
644
1107
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -679,7 +1142,7 @@ interface ListSpaces200Response {
679
1142
  * Workflow Approval System API
680
1143
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
681
1144
  *
682
- * The version of the OpenAPI document: 0.0.36
1145
+ * The version of the OpenAPI document: 0.0.37
683
1146
  *
684
1147
  *
685
1148
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -712,7 +1175,7 @@ interface ListUsers200Response {
712
1175
  * Workflow Approval System API
713
1176
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
714
1177
  *
715
- * The version of the OpenAPI document: 0.0.36
1178
+ * The version of the OpenAPI document: 0.0.37
716
1179
  *
717
1180
  *
718
1181
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -811,7 +1274,7 @@ interface ListWorkflowTemplatesParams {
811
1274
  * Workflow Approval System API
812
1275
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
813
1276
  *
814
- * The version of the OpenAPI document: 0.0.36
1277
+ * The version of the OpenAPI document: 0.0.37
815
1278
  *
816
1279
  *
817
1280
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -845,7 +1308,7 @@ declare namespace ListWorkflowVotesParams {
845
1308
  * Workflow Approval System API
846
1309
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
847
1310
  *
848
- * The version of the OpenAPI document: 0.0.36
1311
+ * The version of the OpenAPI document: 0.0.37
849
1312
  *
850
1313
  *
851
1314
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -897,7 +1360,7 @@ declare namespace ListWorkflowsParams {
897
1360
  * Workflow Approval System API
898
1361
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
899
1362
  *
900
- * The version of the OpenAPI document: 0.0.36
1363
+ * The version of the OpenAPI document: 0.0.37
901
1364
  *
902
1365
  *
903
1366
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -920,7 +1383,7 @@ interface OidcCallbackRequest {
920
1383
  * Workflow Approval System API
921
1384
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
922
1385
  *
923
- * The version of the OpenAPI document: 0.0.36
1386
+ * The version of the OpenAPI document: 0.0.37
924
1387
  *
925
1388
  *
926
1389
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -948,7 +1411,7 @@ declare namespace OrgScope {
948
1411
  * Workflow Approval System API
949
1412
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
950
1413
  *
951
- * The version of the OpenAPI document: 0.0.36
1414
+ * The version of the OpenAPI document: 0.0.37
952
1415
  *
953
1416
  *
954
1417
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -967,7 +1430,7 @@ interface OrganizationAdminCreate {
967
1430
  * Workflow Approval System API
968
1431
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
969
1432
  *
970
- * The version of the OpenAPI document: 0.0.36
1433
+ * The version of the OpenAPI document: 0.0.37
971
1434
  *
972
1435
  *
973
1436
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -986,7 +1449,7 @@ interface OrganizationAdminRemove {
986
1449
  * Workflow Approval System API
987
1450
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
988
1451
  *
989
- * The version of the OpenAPI document: 0.0.36
1452
+ * The version of the OpenAPI document: 0.0.37
990
1453
  *
991
1454
  *
992
1455
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1017,7 +1480,7 @@ interface PrivilegedTokenExchangeRequest {
1017
1480
  * Workflow Approval System API
1018
1481
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1019
1482
  *
1020
- * The version of the OpenAPI document: 0.0.36
1483
+ * The version of the OpenAPI document: 0.0.37
1021
1484
  *
1022
1485
  *
1023
1486
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1031,12 +1494,202 @@ interface PrivilegedTokenResponse {
1031
1494
  accessToken: string;
1032
1495
  }
1033
1496
  //#endregion
1497
+ //#region generated/openapi/model/quota-base.d.ts
1498
+ interface QuotaBase {
1499
+ /**
1500
+ * The unique identifier of the quota
1501
+ */
1502
+ readonly id?: string;
1503
+ /**
1504
+ * The maximum value allowed for this quota
1505
+ */
1506
+ limit: number;
1507
+ quotaType: QuotaType;
1508
+ scope: QuotaScope;
1509
+ /**
1510
+ * When the quota was created
1511
+ */
1512
+ readonly createdAt?: string;
1513
+ /**
1514
+ * When the quota was last updated
1515
+ */
1516
+ readonly updatedAt?: string;
1517
+ }
1518
+ declare namespace QuotaBase {}
1519
+ //#endregion
1520
+ //#region generated/openapi/model/space-quota-create.d.ts
1521
+ /**
1522
+ * Workflow Approval System API
1523
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1524
+ *
1525
+ * The version of the OpenAPI document: 0.0.37
1526
+ *
1527
+ *
1528
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1529
+ * https://openapi-generator.tech
1530
+ * Do not edit the class manually.
1531
+ */
1532
+ interface SpaceQuotaCreate {
1533
+ /**
1534
+ * The unique identifier of the quota
1535
+ */
1536
+ readonly id?: string;
1537
+ /**
1538
+ * The maximum value allowed for this quota
1539
+ */
1540
+ limit: number;
1541
+ quotaType: SpaceQuotaCreate.QuotaTypeEnum;
1542
+ scope: SpaceQuotaCreate.ScopeEnum;
1543
+ /**
1544
+ * When the quota was created
1545
+ */
1546
+ readonly createdAt?: string;
1547
+ /**
1548
+ * When the quota was last updated
1549
+ */
1550
+ readonly updatedAt?: string;
1551
+ /**
1552
+ * The ID of the space this quota applies to.
1553
+ */
1554
+ targetId: string;
1555
+ }
1556
+ declare namespace SpaceQuotaCreate {
1557
+ type QuotaTypeEnum = 'MAX_TEMPLATES';
1558
+ const QuotaTypeEnum: {
1559
+ MaxTemplates: QuotaTypeEnum;
1560
+ };
1561
+ type ScopeEnum = 'SPACE';
1562
+ const ScopeEnum: {
1563
+ Space: ScopeEnum;
1564
+ };
1565
+ }
1566
+ //#endregion
1567
+ //#region generated/openapi/model/user-quota-create.d.ts
1568
+ /**
1569
+ * Workflow Approval System API
1570
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1571
+ *
1572
+ * The version of the OpenAPI document: 0.0.37
1573
+ *
1574
+ *
1575
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1576
+ * https://openapi-generator.tech
1577
+ * Do not edit the class manually.
1578
+ */
1579
+ interface UserQuotaCreate {
1580
+ /**
1581
+ * The unique identifier of the quota
1582
+ */
1583
+ readonly id?: string;
1584
+ /**
1585
+ * The maximum value allowed for this quota
1586
+ */
1587
+ limit: number;
1588
+ quotaType: UserQuotaCreate.QuotaTypeEnum;
1589
+ scope: UserQuotaCreate.ScopeEnum;
1590
+ /**
1591
+ * When the quota was created
1592
+ */
1593
+ readonly createdAt?: string;
1594
+ /**
1595
+ * When the quota was last updated
1596
+ */
1597
+ readonly updatedAt?: string;
1598
+ /**
1599
+ * The ID of the user this quota applies to.
1600
+ */
1601
+ targetId: string;
1602
+ }
1603
+ declare namespace UserQuotaCreate {
1604
+ type QuotaTypeEnum = 'MAX_ROLES_PER_USER';
1605
+ const QuotaTypeEnum: {
1606
+ MaxRolesPerUser: QuotaTypeEnum;
1607
+ };
1608
+ type ScopeEnum = 'USER';
1609
+ const ScopeEnum: {
1610
+ User: ScopeEnum;
1611
+ };
1612
+ }
1613
+ //#endregion
1614
+ //#region generated/openapi/model/template-quota-create.d.ts
1615
+ /**
1616
+ * Workflow Approval System API
1617
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1618
+ *
1619
+ * The version of the OpenAPI document: 0.0.37
1620
+ *
1621
+ *
1622
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1623
+ * https://openapi-generator.tech
1624
+ * Do not edit the class manually.
1625
+ */
1626
+ interface TemplateQuotaCreate {
1627
+ /**
1628
+ * The unique identifier of the quota
1629
+ */
1630
+ readonly id?: string;
1631
+ /**
1632
+ * The maximum value allowed for this quota
1633
+ */
1634
+ limit: number;
1635
+ quotaType: TemplateQuotaCreate.QuotaTypeEnum;
1636
+ scope: TemplateQuotaCreate.ScopeEnum;
1637
+ /**
1638
+ * When the quota was created
1639
+ */
1640
+ readonly createdAt?: string;
1641
+ /**
1642
+ * When the quota was last updated
1643
+ */
1644
+ readonly updatedAt?: string;
1645
+ /**
1646
+ * The ID of the template this quota applies to.
1647
+ */
1648
+ targetId: string;
1649
+ }
1650
+ declare namespace TemplateQuotaCreate {
1651
+ type QuotaTypeEnum = 'MAX_CONCURRENT_WORKFLOWS';
1652
+ const QuotaTypeEnum: {
1653
+ MaxConcurrentWorkflows: QuotaTypeEnum;
1654
+ };
1655
+ type ScopeEnum = 'TEMPLATE';
1656
+ const ScopeEnum: {
1657
+ Template: ScopeEnum;
1658
+ };
1659
+ }
1660
+ //#endregion
1661
+ //#region generated/openapi/model/quota-create.d.ts
1662
+ /**
1663
+ * @type QuotaCreate
1664
+ * @export
1665
+ */
1666
+ type QuotaCreate = GlobalQuotaCreate | GroupQuotaCreate | SpaceQuotaCreate | TemplateQuotaCreate | UserQuotaCreate;
1667
+ //#endregion
1668
+ //#region generated/openapi/model/quota-update.d.ts
1669
+ /**
1670
+ * Workflow Approval System API
1671
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1672
+ *
1673
+ * The version of the OpenAPI document: 0.0.37
1674
+ *
1675
+ *
1676
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1677
+ * https://openapi-generator.tech
1678
+ * Do not edit the class manually.
1679
+ */
1680
+ interface QuotaUpdate {
1681
+ /**
1682
+ * The maximum value allowed for this quota
1683
+ */
1684
+ limit?: number;
1685
+ }
1686
+ //#endregion
1034
1687
  //#region generated/openapi/model/refresh-token-request.d.ts
1035
1688
  /**
1036
1689
  * Workflow Approval System API
1037
1690
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1038
1691
  *
1039
- * The version of the OpenAPI document: 0.0.36
1692
+ * The version of the OpenAPI document: 0.0.37
1040
1693
  *
1041
1694
  *
1042
1695
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1066,7 +1719,7 @@ interface RemoveGroupEntitiesRequest {
1066
1719
  * Workflow Approval System API
1067
1720
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1068
1721
  *
1069
- * The version of the OpenAPI document: 0.0.36
1722
+ * The version of the OpenAPI document: 0.0.37
1070
1723
  *
1071
1724
  *
1072
1725
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1098,7 +1751,7 @@ declare namespace SpaceScope {
1098
1751
  * Workflow Approval System API
1099
1752
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1100
1753
  *
1101
- * The version of the OpenAPI document: 0.0.36
1754
+ * The version of the OpenAPI document: 0.0.37
1102
1755
  *
1103
1756
  *
1104
1757
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1186,7 +1839,7 @@ interface RoleRemovalRequest {
1186
1839
  * Workflow Approval System API
1187
1840
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1188
1841
  *
1189
- * The version of the OpenAPI document: 0.0.36
1842
+ * The version of the OpenAPI document: 0.0.37
1190
1843
  *
1191
1844
  *
1192
1845
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1204,12 +1857,74 @@ interface SpaceCreate {
1204
1857
  description?: string;
1205
1858
  }
1206
1859
  //#endregion
1860
+ //#region generated/openapi/model/space-quota-base.d.ts
1861
+ /**
1862
+ * Workflow Approval System API
1863
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1864
+ *
1865
+ * The version of the OpenAPI document: 0.0.37
1866
+ *
1867
+ *
1868
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1869
+ * https://openapi-generator.tech
1870
+ * Do not edit the class manually.
1871
+ */
1872
+ interface SpaceQuotaBase {
1873
+ scope?: SpaceQuotaBase.ScopeEnum;
1874
+ quotaType?: SpaceQuotaBase.QuotaTypeEnum;
1875
+ /**
1876
+ * The ID of the space this quota applies to.
1877
+ */
1878
+ targetId: string;
1879
+ }
1880
+ declare namespace SpaceQuotaBase {
1881
+ type ScopeEnum = 'SPACE';
1882
+ const ScopeEnum: {
1883
+ Space: ScopeEnum;
1884
+ };
1885
+ type QuotaTypeEnum = 'MAX_TEMPLATES';
1886
+ const QuotaTypeEnum: {
1887
+ MaxTemplates: QuotaTypeEnum;
1888
+ };
1889
+ }
1890
+ //#endregion
1891
+ //#region generated/openapi/model/template-quota-base.d.ts
1892
+ /**
1893
+ * Workflow Approval System API
1894
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1895
+ *
1896
+ * The version of the OpenAPI document: 0.0.37
1897
+ *
1898
+ *
1899
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1900
+ * https://openapi-generator.tech
1901
+ * Do not edit the class manually.
1902
+ */
1903
+ interface TemplateQuotaBase {
1904
+ scope?: TemplateQuotaBase.ScopeEnum;
1905
+ quotaType?: TemplateQuotaBase.QuotaTypeEnum;
1906
+ /**
1907
+ * The ID of the template this quota applies to.
1908
+ */
1909
+ targetId: string;
1910
+ }
1911
+ declare namespace TemplateQuotaBase {
1912
+ type ScopeEnum = 'TEMPLATE';
1913
+ const ScopeEnum: {
1914
+ Template: ScopeEnum;
1915
+ };
1916
+ type QuotaTypeEnum = 'MAX_CONCURRENT_WORKFLOWS';
1917
+ const QuotaTypeEnum: {
1918
+ MaxConcurrentWorkflows: QuotaTypeEnum;
1919
+ };
1920
+ }
1921
+ //#endregion
1207
1922
  //#region generated/openapi/model/token-request.d.ts
1208
1923
  /**
1209
1924
  * Workflow Approval System API
1210
1925
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1211
1926
  *
1212
- * The version of the OpenAPI document: 0.0.36
1927
+ * The version of the OpenAPI document: 0.0.37
1213
1928
  *
1214
1929
  *
1215
1930
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1232,7 +1947,7 @@ interface TokenRequest {
1232
1947
  * Workflow Approval System API
1233
1948
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1234
1949
  *
1235
- * The version of the OpenAPI document: 0.0.36
1950
+ * The version of the OpenAPI document: 0.0.37
1236
1951
  *
1237
1952
  *
1238
1953
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1254,12 +1969,43 @@ interface UserCreate {
1254
1969
  orgRole: string;
1255
1970
  }
1256
1971
  //#endregion
1972
+ //#region generated/openapi/model/user-quota-base.d.ts
1973
+ /**
1974
+ * Workflow Approval System API
1975
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1976
+ *
1977
+ * The version of the OpenAPI document: 0.0.37
1978
+ *
1979
+ *
1980
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1981
+ * https://openapi-generator.tech
1982
+ * Do not edit the class manually.
1983
+ */
1984
+ interface UserQuotaBase {
1985
+ scope?: UserQuotaBase.ScopeEnum;
1986
+ quotaType?: UserQuotaBase.QuotaTypeEnum;
1987
+ /**
1988
+ * The ID of the user this quota applies to.
1989
+ */
1990
+ targetId: string;
1991
+ }
1992
+ declare namespace UserQuotaBase {
1993
+ type ScopeEnum = 'USER';
1994
+ const ScopeEnum: {
1995
+ User: ScopeEnum;
1996
+ };
1997
+ type QuotaTypeEnum = 'MAX_ROLES_PER_USER';
1998
+ const QuotaTypeEnum: {
1999
+ MaxRolesPerUser: QuotaTypeEnum;
2000
+ };
2001
+ }
2002
+ //#endregion
1257
2003
  //#region generated/openapi/model/vote-approve.d.ts
1258
2004
  /**
1259
2005
  * Workflow Approval System API
1260
2006
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1261
2007
  *
1262
- * The version of the OpenAPI document: 0.0.36
2008
+ * The version of the OpenAPI document: 0.0.37
1263
2009
  *
1264
2010
  *
1265
2011
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1288,7 +2034,7 @@ declare namespace VoteApprove {
1288
2034
  * Workflow Approval System API
1289
2035
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1290
2036
  *
1291
- * The version of the OpenAPI document: 0.0.36
2037
+ * The version of the OpenAPI document: 0.0.37
1292
2038
  *
1293
2039
  *
1294
2040
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1313,7 +2059,7 @@ declare namespace VoteVeto {
1313
2059
  * Workflow Approval System API
1314
2060
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1315
2061
  *
1316
- * The version of the OpenAPI document: 0.0.36
2062
+ * The version of the OpenAPI document: 0.0.37
1317
2063
  *
1318
2064
  *
1319
2065
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1367,7 +2113,7 @@ interface WorkflowTemplateCreate {
1367
2113
  * Workflow Approval System API
1368
2114
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
1369
2115
  *
1370
- * The version of the OpenAPI document: 0.0.36
2116
+ * The version of the OpenAPI document: 0.0.37
1371
2117
  *
1372
2118
  *
1373
2119
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1607,4 +2353,9 @@ type APIErrorValidationError = "malformed_object" | "missing_code" | "invalid_co
1607
2353
  declare function validateAPIError(object: unknown): Either<APIErrorValidationError, APIError>;
1608
2354
  declare function isAPIError(object: unknown): object is APIError;
1609
2355
  //#endregion
1610
- 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, ListWorkflowVotesParams, ListWorkflowVotesParamsValidationError, 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, validateListWorkflowVotesParams, 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 };
2356
+ //#region src/validators/quota.validator.d.ts
2357
+ type QuotaValidationError = "malformed_object" | "missing_limit" | "invalid_limit" | "missing_scope" | "invalid_scope" | "missing_quotaType" | "invalid_quotaType" | "missing_targetId" | "invalid_targetId" | "invalid_scope_quotaType_combination" | "invalid_scope_targetId_combination";
2358
+ declare function validateQuotaCreate(object: unknown): Either<QuotaValidationError, QuotaCreate>;
2359
+ declare function validateQuotaUpdate(object: unknown): Either<QuotaValidationError, QuotaUpdate>;
2360
+ //#endregion
2361
+ 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, GlobalQuota, GlobalQuotaBase, GlobalQuotaCreate, Group, GroupCreate, GroupCreateValidationError, GroupInfo, GroupInfoValidationError, GroupMembership, GroupMembershipValidationError, GroupQuota, GroupQuotaBase, GroupQuotaCreate, GroupRequirementRule, GroupScope, GroupScopeValidationError, GroupValidationError, HealthResponse, HealthResponseValidationError, InitiateCliLogin200Response, InitiateCliLogin200ResponseValidationError, InitiateCliLoginRequest, InitiateCliLoginRequestValidationError, ListAgents200Response, ListAgents200ResponseValidationError, ListAgentsParams, ListAgentsParamsValidationError, ListGroupEntities200Response, ListGroupEntities200ResponseValidationError, ListGroups200Response, ListGroups200ResponseValidationError, ListGroupsParams, ListGroupsParamsValidationError, ListOrganizationAdminsForOrg200Response, ListOrganizationAdminsForOrg200ResponseValidationError, ListParamsValidationError, ListQuotas200Response, ListQuotasParams, ListRoleTemplates200Response, ListRoleTemplates200ResponseValidationError, ListSpaces200Response, ListSpaces200ResponseValidationError, ListSpacesParams, ListSpacesParamsValidationError, ListUsers200Response, ListUsers200ResponseValidationError, ListUsersParams, ListUsersParamsValidationError, ListWorkflowTemplates200Response, ListWorkflowTemplates200ResponseValidationError, ListWorkflowTemplatesParams, ListWorkflowTemplatesParamsValidationError, ListWorkflowVotesParams, ListWorkflowVotesParamsValidationError, ListWorkflows200Response, ListWorkflows200ResponseValidationError, ListWorkflowsParams, ListWorkflowsParamsValidationError, OidcCallbackRequest, OidcCallbackRequestValidationError, OrRule, OrgScope, OrganizationAdmin, OrganizationAdminCreate, OrganizationAdminCreateValidationError, OrganizationAdminRemove, OrganizationAdminRemoveValidationError, OrganizationAdminValidationError, Pagination, PaginationValidationError, PrivilegedTokenExchangeRequest, PrivilegedTokenExchangeRequestValidationError, PrivilegedTokenResponse, PrivilegedTokenResponseValidationError, Quota, QuotaBase, QuotaCreate, QuotaScope, QuotaType, QuotaUpdate, QuotaValidationError, RefreshTokenRequest, RefreshTokenRequestValidationError, RemoveGroupEntitiesRequest, RemoveGroupEntitiesRequestValidationError, RoleAssignmentRequest, RoleOperationItem, RoleOperationItemValidationError, RoleOperationRequest, RoleOperationRequestValidationError, RoleRemovalRequest, RoleScope, RoleScopeValidationError, RoleTemplate, RoleTemplateValidationError, SortBy, SortDirection, Space, SpaceCreate, SpaceCreateValidationError, SpaceQuota, SpaceQuotaBase, SpaceQuotaCreate, SpaceScope, SpaceScopeValidationError, SpaceValidationError, TemplateQuota, TemplateQuotaBase, TemplateQuotaCreate, TokenRequest, TokenRequestValidationError, TokenResponse, TokenResponseValidationError, User, UserCreate, UserCreateValidationError, UserQuota, UserQuotaBase, UserQuotaCreate, 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, validateListWorkflowVotesParams, validateListWorkflows200Response, validateListWorkflowsParams, validateOidcCallbackRequest, validateOrganizationAdminCreate, validateOrganizationAdminRemove, validatePagination, validatePrivilegedTokenExchangeRequest, validatePrivilegedTokenResponse, validateQuotaCreate, validateQuotaUpdate, validateRefreshTokenRequest, validateRemoveGroupEntitiesRequest, validateRoleAssignmentRequest, validateRoleRemovalRequest, validateSharedListParams, validateSpaceCreate, validateSpaceScope, validateTokenRequest, validateTokenResponse, validateUser, validateUserCreate, validateWorkflowCreate, validateWorkflowTemplate, validateWorkflowTemplateCreate, validateWorkflowTemplateDeprecate, validateWorkflowTemplateScope, validateWorkflowTemplateUpdate, validateWorkflowVoteRequest };