@approvio/api 0.0.41 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mocks/index.d.cts +1 -1
- package/dist/mocks/index.d.mts +1 -1
- package/dist/src/index.cjs +273 -0
- package/dist/src/index.d.cts +685 -45
- package/dist/src/index.d.mts +685 -45
- package/dist/src/index.mjs +198 -1
- package/dist/{workflow-create-CSCUMfYW.d.cts → workflow-create-DJP5QYfz.d.cts} +12 -12
- package/dist/{workflow-create-DyEyaGqO.d.mts → workflow-create-uX4n87mS.d.mts} +12 -12
- package/package.json +7 -6
package/dist/src/index.d.mts
CHANGED
|
@@ -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-
|
|
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-uX4n87mS.mjs";
|
|
2
2
|
import { Either } from "fp-ts/Either";
|
|
3
3
|
|
|
4
4
|
//#region generated/openapi/model/api-error-details-inner.d.ts
|
|
@@ -6,7 +6,7 @@ import { Either } from "fp-ts/Either";
|
|
|
6
6
|
* Workflow Approval System API
|
|
7
7
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
8
8
|
*
|
|
9
|
-
* The version of the OpenAPI document: 0.0.
|
|
9
|
+
* The version of the OpenAPI document: 0.0.38
|
|
10
10
|
*
|
|
11
11
|
*
|
|
12
12
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -36,7 +36,7 @@ interface APIError {
|
|
|
36
36
|
* Workflow Approval System API
|
|
37
37
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
38
38
|
*
|
|
39
|
-
* The version of the OpenAPI document: 0.0.
|
|
39
|
+
* The version of the OpenAPI document: 0.0.38
|
|
40
40
|
*
|
|
41
41
|
*
|
|
42
42
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -75,7 +75,7 @@ interface AddGroupEntitiesRequest {
|
|
|
75
75
|
* Workflow Approval System API
|
|
76
76
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
77
77
|
*
|
|
78
|
-
* The version of the OpenAPI document: 0.0.
|
|
78
|
+
* The version of the OpenAPI document: 0.0.38
|
|
79
79
|
*
|
|
80
80
|
*
|
|
81
81
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -94,7 +94,7 @@ interface AgentChallengeRequest {
|
|
|
94
94
|
* Workflow Approval System API
|
|
95
95
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
96
96
|
*
|
|
97
|
-
* The version of the OpenAPI document: 0.0.
|
|
97
|
+
* The version of the OpenAPI document: 0.0.38
|
|
98
98
|
*
|
|
99
99
|
*
|
|
100
100
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -113,7 +113,7 @@ interface AgentChallengeResponse {
|
|
|
113
113
|
* Workflow Approval System API
|
|
114
114
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
115
115
|
*
|
|
116
|
-
* The version of the OpenAPI document: 0.0.
|
|
116
|
+
* The version of the OpenAPI document: 0.0.38
|
|
117
117
|
*
|
|
118
118
|
*
|
|
119
119
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -144,7 +144,7 @@ interface AgentGet200Response {
|
|
|
144
144
|
* Workflow Approval System API
|
|
145
145
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
146
146
|
*
|
|
147
|
-
* The version of the OpenAPI document: 0.0.
|
|
147
|
+
* The version of the OpenAPI document: 0.0.38
|
|
148
148
|
*
|
|
149
149
|
*
|
|
150
150
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -163,7 +163,7 @@ interface AgentRegistrationRequest {
|
|
|
163
163
|
* Workflow Approval System API
|
|
164
164
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
165
165
|
*
|
|
166
|
-
* The version of the OpenAPI document: 0.0.
|
|
166
|
+
* The version of the OpenAPI document: 0.0.38
|
|
167
167
|
*
|
|
168
168
|
*
|
|
169
169
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -198,7 +198,7 @@ interface AgentRegistrationResponse {
|
|
|
198
198
|
* Workflow Approval System API
|
|
199
199
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
200
200
|
*
|
|
201
|
-
* The version of the OpenAPI document: 0.0.
|
|
201
|
+
* The version of the OpenAPI document: 0.0.38
|
|
202
202
|
*
|
|
203
203
|
*
|
|
204
204
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -221,7 +221,7 @@ interface AgentSummary {
|
|
|
221
221
|
* Workflow Approval System API
|
|
222
222
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
223
223
|
*
|
|
224
|
-
* The version of the OpenAPI document: 0.0.
|
|
224
|
+
* The version of the OpenAPI document: 0.0.38
|
|
225
225
|
*
|
|
226
226
|
*
|
|
227
227
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -258,7 +258,7 @@ declare namespace AgentTokenRequest {
|
|
|
258
258
|
* Workflow Approval System API
|
|
259
259
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
260
260
|
*
|
|
261
|
-
* The version of the OpenAPI document: 0.0.
|
|
261
|
+
* The version of the OpenAPI document: 0.0.38
|
|
262
262
|
*
|
|
263
263
|
*
|
|
264
264
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -281,7 +281,7 @@ interface AgentTokenResponse {
|
|
|
281
281
|
* Workflow Approval System API
|
|
282
282
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
283
283
|
*
|
|
284
|
-
* The version of the OpenAPI document: 0.0.
|
|
284
|
+
* The version of the OpenAPI document: 0.0.38
|
|
285
285
|
*
|
|
286
286
|
*
|
|
287
287
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -326,7 +326,7 @@ interface GetEntityInfo200Response {
|
|
|
326
326
|
* Workflow Approval System API
|
|
327
327
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
328
328
|
*
|
|
329
|
-
* The version of the OpenAPI document: 0.0.
|
|
329
|
+
* The version of the OpenAPI document: 0.0.38
|
|
330
330
|
*
|
|
331
331
|
*
|
|
332
332
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -345,7 +345,7 @@ interface GetWorkflowParams {
|
|
|
345
345
|
* Workflow Approval System API
|
|
346
346
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
347
347
|
*
|
|
348
|
-
* The version of the OpenAPI document: 0.0.
|
|
348
|
+
* The version of the OpenAPI document: 0.0.38
|
|
349
349
|
*
|
|
350
350
|
*
|
|
351
351
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -384,12 +384,140 @@ 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.38
|
|
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' | 'MAX_ROLES_PER_USER' | 'MAX_ENTITIES_PER_GROUP' | 'MAX_TEMPLATES' | 'MAX_CONCURRENT_WORKFLOWS';
|
|
421
|
+
const QuotaTypeEnum: {
|
|
422
|
+
MaxGroups: QuotaTypeEnum;
|
|
423
|
+
MaxSpaces: QuotaTypeEnum;
|
|
424
|
+
MaxRolesPerUser: QuotaTypeEnum;
|
|
425
|
+
MaxEntitiesPerGroup: QuotaTypeEnum;
|
|
426
|
+
MaxTemplates: QuotaTypeEnum;
|
|
427
|
+
MaxConcurrentWorkflows: QuotaTypeEnum;
|
|
428
|
+
};
|
|
429
|
+
type ScopeEnum = 'GLOBAL';
|
|
430
|
+
const ScopeEnum: {
|
|
431
|
+
Global: ScopeEnum;
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
//#endregion
|
|
435
|
+
//#region generated/openapi/model/global-quota-base.d.ts
|
|
436
|
+
/**
|
|
437
|
+
* Workflow Approval System API
|
|
438
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
439
|
+
*
|
|
440
|
+
* The version of the OpenAPI document: 0.0.38
|
|
441
|
+
*
|
|
442
|
+
*
|
|
443
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
444
|
+
* https://openapi-generator.tech
|
|
445
|
+
* Do not edit the class manually.
|
|
446
|
+
*/
|
|
447
|
+
interface GlobalQuotaBase {
|
|
448
|
+
scope?: GlobalQuotaBase.ScopeEnum;
|
|
449
|
+
quotaType?: GlobalQuotaBase.QuotaTypeEnum;
|
|
450
|
+
}
|
|
451
|
+
declare namespace GlobalQuotaBase {
|
|
452
|
+
type ScopeEnum = 'GLOBAL';
|
|
453
|
+
const ScopeEnum: {
|
|
454
|
+
Global: ScopeEnum;
|
|
455
|
+
};
|
|
456
|
+
type QuotaTypeEnum = 'MAX_GROUPS' | 'MAX_SPACES' | 'MAX_ROLES_PER_USER' | 'MAX_ENTITIES_PER_GROUP' | 'MAX_TEMPLATES' | 'MAX_CONCURRENT_WORKFLOWS';
|
|
457
|
+
const QuotaTypeEnum: {
|
|
458
|
+
MaxGroups: QuotaTypeEnum;
|
|
459
|
+
MaxSpaces: QuotaTypeEnum;
|
|
460
|
+
MaxRolesPerUser: QuotaTypeEnum;
|
|
461
|
+
MaxEntitiesPerGroup: QuotaTypeEnum;
|
|
462
|
+
MaxTemplates: QuotaTypeEnum;
|
|
463
|
+
MaxConcurrentWorkflows: QuotaTypeEnum;
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
//#endregion
|
|
467
|
+
//#region generated/openapi/model/global-quota-create.d.ts
|
|
468
|
+
/**
|
|
469
|
+
* Workflow Approval System API
|
|
470
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
471
|
+
*
|
|
472
|
+
* The version of the OpenAPI document: 0.0.38
|
|
473
|
+
*
|
|
474
|
+
*
|
|
475
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
476
|
+
* https://openapi-generator.tech
|
|
477
|
+
* Do not edit the class manually.
|
|
478
|
+
*/
|
|
479
|
+
interface GlobalQuotaCreate {
|
|
480
|
+
/**
|
|
481
|
+
* The unique identifier of the quota
|
|
482
|
+
*/
|
|
483
|
+
readonly id?: string;
|
|
484
|
+
/**
|
|
485
|
+
* The maximum value allowed for this quota
|
|
486
|
+
*/
|
|
487
|
+
limit: number;
|
|
488
|
+
quotaType: GlobalQuotaCreate.QuotaTypeEnum;
|
|
489
|
+
scope: GlobalQuotaCreate.ScopeEnum;
|
|
490
|
+
/**
|
|
491
|
+
* When the quota was created
|
|
492
|
+
*/
|
|
493
|
+
readonly createdAt?: string;
|
|
494
|
+
/**
|
|
495
|
+
* When the quota was last updated
|
|
496
|
+
*/
|
|
497
|
+
readonly updatedAt?: string;
|
|
498
|
+
}
|
|
499
|
+
declare namespace GlobalQuotaCreate {
|
|
500
|
+
type QuotaTypeEnum = 'MAX_GROUPS' | 'MAX_SPACES' | 'MAX_ROLES_PER_USER' | 'MAX_ENTITIES_PER_GROUP' | 'MAX_TEMPLATES' | 'MAX_CONCURRENT_WORKFLOWS';
|
|
501
|
+
const QuotaTypeEnum: {
|
|
502
|
+
MaxGroups: QuotaTypeEnum;
|
|
503
|
+
MaxSpaces: QuotaTypeEnum;
|
|
504
|
+
MaxRolesPerUser: QuotaTypeEnum;
|
|
505
|
+
MaxEntitiesPerGroup: QuotaTypeEnum;
|
|
506
|
+
MaxTemplates: QuotaTypeEnum;
|
|
507
|
+
MaxConcurrentWorkflows: QuotaTypeEnum;
|
|
508
|
+
};
|
|
509
|
+
type ScopeEnum = 'GLOBAL';
|
|
510
|
+
const ScopeEnum: {
|
|
511
|
+
Global: ScopeEnum;
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
//#endregion
|
|
387
515
|
//#region generated/openapi/model/group-create.d.ts
|
|
388
516
|
/**
|
|
389
517
|
* Workflow Approval System API
|
|
390
518
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
391
519
|
*
|
|
392
|
-
* The version of the OpenAPI document: 0.0.
|
|
520
|
+
* The version of the OpenAPI document: 0.0.38
|
|
393
521
|
*
|
|
394
522
|
*
|
|
395
523
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -416,12 +544,137 @@ interface GroupMembership {
|
|
|
416
544
|
readonly addedAt: string;
|
|
417
545
|
}
|
|
418
546
|
//#endregion
|
|
547
|
+
//#region generated/openapi/model/group-quota.d.ts
|
|
548
|
+
/**
|
|
549
|
+
* Workflow Approval System API
|
|
550
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
551
|
+
*
|
|
552
|
+
* The version of the OpenAPI document: 0.0.38
|
|
553
|
+
*
|
|
554
|
+
*
|
|
555
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
556
|
+
* https://openapi-generator.tech
|
|
557
|
+
* Do not edit the class manually.
|
|
558
|
+
*/
|
|
559
|
+
interface GroupQuota {
|
|
560
|
+
/**
|
|
561
|
+
* The unique identifier of the quota
|
|
562
|
+
*/
|
|
563
|
+
readonly id?: string;
|
|
564
|
+
/**
|
|
565
|
+
* The maximum value allowed for this quota
|
|
566
|
+
*/
|
|
567
|
+
limit: number;
|
|
568
|
+
quotaType: GroupQuota.QuotaTypeEnum;
|
|
569
|
+
scope: GroupQuota.ScopeEnum;
|
|
570
|
+
/**
|
|
571
|
+
* When the quota was created
|
|
572
|
+
*/
|
|
573
|
+
readonly createdAt?: string;
|
|
574
|
+
/**
|
|
575
|
+
* When the quota was last updated
|
|
576
|
+
*/
|
|
577
|
+
readonly updatedAt?: string;
|
|
578
|
+
/**
|
|
579
|
+
* The ID of the group this quota applies to.
|
|
580
|
+
*/
|
|
581
|
+
targetId: string;
|
|
582
|
+
}
|
|
583
|
+
declare namespace GroupQuota {
|
|
584
|
+
type QuotaTypeEnum = 'MAX_ENTITIES_PER_GROUP';
|
|
585
|
+
const QuotaTypeEnum: {
|
|
586
|
+
MaxEntitiesPerGroup: QuotaTypeEnum;
|
|
587
|
+
};
|
|
588
|
+
type ScopeEnum = 'GROUP';
|
|
589
|
+
const ScopeEnum: {
|
|
590
|
+
Group: ScopeEnum;
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
//#endregion
|
|
594
|
+
//#region generated/openapi/model/group-quota-base.d.ts
|
|
595
|
+
/**
|
|
596
|
+
* Workflow Approval System API
|
|
597
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
598
|
+
*
|
|
599
|
+
* The version of the OpenAPI document: 0.0.38
|
|
600
|
+
*
|
|
601
|
+
*
|
|
602
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
603
|
+
* https://openapi-generator.tech
|
|
604
|
+
* Do not edit the class manually.
|
|
605
|
+
*/
|
|
606
|
+
interface GroupQuotaBase {
|
|
607
|
+
scope?: GroupQuotaBase.ScopeEnum;
|
|
608
|
+
quotaType?: GroupQuotaBase.QuotaTypeEnum;
|
|
609
|
+
/**
|
|
610
|
+
* The ID of the group this quota applies to.
|
|
611
|
+
*/
|
|
612
|
+
targetId: string;
|
|
613
|
+
}
|
|
614
|
+
declare namespace GroupQuotaBase {
|
|
615
|
+
type ScopeEnum = 'GROUP';
|
|
616
|
+
const ScopeEnum: {
|
|
617
|
+
Group: ScopeEnum;
|
|
618
|
+
};
|
|
619
|
+
type QuotaTypeEnum = 'MAX_ENTITIES_PER_GROUP';
|
|
620
|
+
const QuotaTypeEnum: {
|
|
621
|
+
MaxEntitiesPerGroup: QuotaTypeEnum;
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
//#endregion
|
|
625
|
+
//#region generated/openapi/model/group-quota-create.d.ts
|
|
626
|
+
/**
|
|
627
|
+
* Workflow Approval System API
|
|
628
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
629
|
+
*
|
|
630
|
+
* The version of the OpenAPI document: 0.0.38
|
|
631
|
+
*
|
|
632
|
+
*
|
|
633
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
634
|
+
* https://openapi-generator.tech
|
|
635
|
+
* Do not edit the class manually.
|
|
636
|
+
*/
|
|
637
|
+
interface GroupQuotaCreate {
|
|
638
|
+
/**
|
|
639
|
+
* The unique identifier of the quota
|
|
640
|
+
*/
|
|
641
|
+
readonly id?: string;
|
|
642
|
+
/**
|
|
643
|
+
* The maximum value allowed for this quota
|
|
644
|
+
*/
|
|
645
|
+
limit: number;
|
|
646
|
+
quotaType: GroupQuotaCreate.QuotaTypeEnum;
|
|
647
|
+
scope: GroupQuotaCreate.ScopeEnum;
|
|
648
|
+
/**
|
|
649
|
+
* When the quota was created
|
|
650
|
+
*/
|
|
651
|
+
readonly createdAt?: string;
|
|
652
|
+
/**
|
|
653
|
+
* When the quota was last updated
|
|
654
|
+
*/
|
|
655
|
+
readonly updatedAt?: string;
|
|
656
|
+
/**
|
|
657
|
+
* The ID of the group this quota applies to.
|
|
658
|
+
*/
|
|
659
|
+
targetId: string;
|
|
660
|
+
}
|
|
661
|
+
declare namespace GroupQuotaCreate {
|
|
662
|
+
type QuotaTypeEnum = 'MAX_ENTITIES_PER_GROUP';
|
|
663
|
+
const QuotaTypeEnum: {
|
|
664
|
+
MaxEntitiesPerGroup: QuotaTypeEnum;
|
|
665
|
+
};
|
|
666
|
+
type ScopeEnum = 'GROUP';
|
|
667
|
+
const ScopeEnum: {
|
|
668
|
+
Group: ScopeEnum;
|
|
669
|
+
};
|
|
670
|
+
}
|
|
671
|
+
//#endregion
|
|
419
672
|
//#region generated/openapi/model/group-scope.d.ts
|
|
420
673
|
/**
|
|
421
674
|
* Workflow Approval System API
|
|
422
675
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
423
676
|
*
|
|
424
|
-
* The version of the OpenAPI document: 0.0.
|
|
677
|
+
* The version of the OpenAPI document: 0.0.38
|
|
425
678
|
*
|
|
426
679
|
*
|
|
427
680
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -453,7 +706,7 @@ declare namespace GroupScope {
|
|
|
453
706
|
* Workflow Approval System API
|
|
454
707
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
455
708
|
*
|
|
456
|
-
* The version of the OpenAPI document: 0.0.
|
|
709
|
+
* The version of the OpenAPI document: 0.0.38
|
|
457
710
|
*
|
|
458
711
|
*
|
|
459
712
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -476,7 +729,7 @@ interface HealthResponse {
|
|
|
476
729
|
* Workflow Approval System API
|
|
477
730
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
478
731
|
*
|
|
479
|
-
* The version of the OpenAPI document: 0.0.
|
|
732
|
+
* The version of the OpenAPI document: 0.0.38
|
|
480
733
|
*
|
|
481
734
|
*
|
|
482
735
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -492,7 +745,7 @@ interface InitiateCliLogin200Response {
|
|
|
492
745
|
* Workflow Approval System API
|
|
493
746
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
494
747
|
*
|
|
495
|
-
* The version of the OpenAPI document: 0.0.
|
|
748
|
+
* The version of the OpenAPI document: 0.0.38
|
|
496
749
|
*
|
|
497
750
|
*
|
|
498
751
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -517,7 +770,7 @@ interface ListAgents200Response {
|
|
|
517
770
|
* Workflow Approval System API
|
|
518
771
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
519
772
|
*
|
|
520
|
-
* The version of the OpenAPI document: 0.0.
|
|
773
|
+
* The version of the OpenAPI document: 0.0.38
|
|
521
774
|
*
|
|
522
775
|
*
|
|
523
776
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -546,7 +799,7 @@ interface ListGroupEntities200Response {
|
|
|
546
799
|
* Workflow Approval System API
|
|
547
800
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
548
801
|
*
|
|
549
|
-
* The version of the OpenAPI document: 0.0.
|
|
802
|
+
* The version of the OpenAPI document: 0.0.38
|
|
550
803
|
*
|
|
551
804
|
*
|
|
552
805
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -573,7 +826,7 @@ interface ListGroupsParams {
|
|
|
573
826
|
* Workflow Approval System API
|
|
574
827
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
575
828
|
*
|
|
576
|
-
* The version of the OpenAPI document: 0.0.
|
|
829
|
+
* The version of the OpenAPI document: 0.0.38
|
|
577
830
|
*
|
|
578
831
|
*
|
|
579
832
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -601,12 +854,187 @@ interface ListOrganizationAdminsForOrg200Response {
|
|
|
601
854
|
pagination: Pagination;
|
|
602
855
|
}
|
|
603
856
|
//#endregion
|
|
857
|
+
//#region generated/openapi/model/template-quota.d.ts
|
|
858
|
+
/**
|
|
859
|
+
* Workflow Approval System API
|
|
860
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
861
|
+
*
|
|
862
|
+
* The version of the OpenAPI document: 0.0.38
|
|
863
|
+
*
|
|
864
|
+
*
|
|
865
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
866
|
+
* https://openapi-generator.tech
|
|
867
|
+
* Do not edit the class manually.
|
|
868
|
+
*/
|
|
869
|
+
interface TemplateQuota {
|
|
870
|
+
/**
|
|
871
|
+
* The unique identifier of the quota
|
|
872
|
+
*/
|
|
873
|
+
readonly id?: string;
|
|
874
|
+
/**
|
|
875
|
+
* The maximum value allowed for this quota
|
|
876
|
+
*/
|
|
877
|
+
limit: number;
|
|
878
|
+
quotaType: TemplateQuota.QuotaTypeEnum;
|
|
879
|
+
scope: TemplateQuota.ScopeEnum;
|
|
880
|
+
/**
|
|
881
|
+
* When the quota was created
|
|
882
|
+
*/
|
|
883
|
+
readonly createdAt?: string;
|
|
884
|
+
/**
|
|
885
|
+
* When the quota was last updated
|
|
886
|
+
*/
|
|
887
|
+
readonly updatedAt?: string;
|
|
888
|
+
/**
|
|
889
|
+
* The ID of the template this quota applies to.
|
|
890
|
+
*/
|
|
891
|
+
targetId: string;
|
|
892
|
+
}
|
|
893
|
+
declare namespace TemplateQuota {
|
|
894
|
+
type QuotaTypeEnum = 'MAX_CONCURRENT_WORKFLOWS';
|
|
895
|
+
const QuotaTypeEnum: {
|
|
896
|
+
MaxConcurrentWorkflows: QuotaTypeEnum;
|
|
897
|
+
};
|
|
898
|
+
type ScopeEnum = 'TEMPLATE';
|
|
899
|
+
const ScopeEnum: {
|
|
900
|
+
Template: ScopeEnum;
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
//#endregion
|
|
904
|
+
//#region generated/openapi/model/space-quota.d.ts
|
|
905
|
+
/**
|
|
906
|
+
* Workflow Approval System API
|
|
907
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
908
|
+
*
|
|
909
|
+
* The version of the OpenAPI document: 0.0.38
|
|
910
|
+
*
|
|
911
|
+
*
|
|
912
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
913
|
+
* https://openapi-generator.tech
|
|
914
|
+
* Do not edit the class manually.
|
|
915
|
+
*/
|
|
916
|
+
interface SpaceQuota {
|
|
917
|
+
/**
|
|
918
|
+
* The unique identifier of the quota
|
|
919
|
+
*/
|
|
920
|
+
readonly id?: string;
|
|
921
|
+
/**
|
|
922
|
+
* The maximum value allowed for this quota
|
|
923
|
+
*/
|
|
924
|
+
limit: number;
|
|
925
|
+
quotaType: SpaceQuota.QuotaTypeEnum;
|
|
926
|
+
scope: SpaceQuota.ScopeEnum;
|
|
927
|
+
/**
|
|
928
|
+
* When the quota was created
|
|
929
|
+
*/
|
|
930
|
+
readonly createdAt?: string;
|
|
931
|
+
/**
|
|
932
|
+
* When the quota was last updated
|
|
933
|
+
*/
|
|
934
|
+
readonly updatedAt?: string;
|
|
935
|
+
/**
|
|
936
|
+
* The ID of the space this quota applies to.
|
|
937
|
+
*/
|
|
938
|
+
targetId: string;
|
|
939
|
+
}
|
|
940
|
+
declare namespace SpaceQuota {
|
|
941
|
+
type QuotaTypeEnum = 'MAX_TEMPLATES' | 'MAX_CONCURRENT_WORKFLOWS';
|
|
942
|
+
const QuotaTypeEnum: {
|
|
943
|
+
MaxTemplates: QuotaTypeEnum;
|
|
944
|
+
MaxConcurrentWorkflows: QuotaTypeEnum;
|
|
945
|
+
};
|
|
946
|
+
type ScopeEnum = 'SPACE';
|
|
947
|
+
const ScopeEnum: {
|
|
948
|
+
Space: ScopeEnum;
|
|
949
|
+
};
|
|
950
|
+
}
|
|
951
|
+
//#endregion
|
|
952
|
+
//#region generated/openapi/model/quota.d.ts
|
|
953
|
+
/**
|
|
954
|
+
* @type Quota
|
|
955
|
+
* @export
|
|
956
|
+
*/
|
|
957
|
+
type Quota = GlobalQuota | GroupQuota | SpaceQuota | TemplateQuota;
|
|
958
|
+
//#endregion
|
|
959
|
+
//#region generated/openapi/model/list-quotas-200-response.d.ts
|
|
960
|
+
interface ListQuotas200Response {
|
|
961
|
+
data: Array<Quota>;
|
|
962
|
+
pagination: Pagination;
|
|
963
|
+
}
|
|
964
|
+
//#endregion
|
|
965
|
+
//#region generated/openapi/model/quota-scope.d.ts
|
|
966
|
+
/**
|
|
967
|
+
* Workflow Approval System API
|
|
968
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
969
|
+
*
|
|
970
|
+
* The version of the OpenAPI document: 0.0.38
|
|
971
|
+
*
|
|
972
|
+
*
|
|
973
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
974
|
+
* https://openapi-generator.tech
|
|
975
|
+
* Do not edit the class manually.
|
|
976
|
+
*/
|
|
977
|
+
/**
|
|
978
|
+
* The scope at which this quota applies.
|
|
979
|
+
*/
|
|
980
|
+
type QuotaScope = 'GLOBAL' | 'SPACE' | 'GROUP' | 'TEMPLATE';
|
|
981
|
+
declare const QuotaScope: {
|
|
982
|
+
Global: QuotaScope;
|
|
983
|
+
Space: QuotaScope;
|
|
984
|
+
Group: QuotaScope;
|
|
985
|
+
Template: QuotaScope;
|
|
986
|
+
};
|
|
987
|
+
//#endregion
|
|
988
|
+
//#region generated/openapi/model/quota-type.d.ts
|
|
989
|
+
/**
|
|
990
|
+
* Workflow Approval System API
|
|
991
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
992
|
+
*
|
|
993
|
+
* The version of the OpenAPI document: 0.0.38
|
|
994
|
+
*
|
|
995
|
+
*
|
|
996
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
997
|
+
* https://openapi-generator.tech
|
|
998
|
+
* Do not edit the class manually.
|
|
999
|
+
*/
|
|
1000
|
+
/**
|
|
1001
|
+
* The type of metric that this quota enforces.
|
|
1002
|
+
*/
|
|
1003
|
+
type QuotaType = 'MAX_ENTITIES_PER_GROUP' | 'MAX_CONCURRENT_WORKFLOWS' | 'MAX_ROLES_PER_USER' | 'MAX_GROUPS' | 'MAX_SPACES' | 'MAX_TEMPLATES';
|
|
1004
|
+
declare const QuotaType: {
|
|
1005
|
+
MaxEntitiesPerGroup: QuotaType;
|
|
1006
|
+
MaxConcurrentWorkflows: QuotaType;
|
|
1007
|
+
MaxRolesPerUser: QuotaType;
|
|
1008
|
+
MaxGroups: QuotaType;
|
|
1009
|
+
MaxSpaces: QuotaType;
|
|
1010
|
+
MaxTemplates: QuotaType;
|
|
1011
|
+
};
|
|
1012
|
+
//#endregion
|
|
1013
|
+
//#region generated/openapi/model/list-quotas-params.d.ts
|
|
1014
|
+
interface ListQuotasParams {
|
|
1015
|
+
/**
|
|
1016
|
+
* Page number for pagination (1-indexed)
|
|
1017
|
+
*/
|
|
1018
|
+
page?: number;
|
|
1019
|
+
/**
|
|
1020
|
+
* Number of results per page
|
|
1021
|
+
*/
|
|
1022
|
+
limit?: number;
|
|
1023
|
+
scope?: QuotaScope;
|
|
1024
|
+
/**
|
|
1025
|
+
* Filter by target identifier
|
|
1026
|
+
*/
|
|
1027
|
+
targetId?: string;
|
|
1028
|
+
quotaType?: QuotaType;
|
|
1029
|
+
}
|
|
1030
|
+
declare namespace ListQuotasParams {}
|
|
1031
|
+
//#endregion
|
|
604
1032
|
//#region generated/openapi/model/role-template.d.ts
|
|
605
1033
|
/**
|
|
606
1034
|
* Workflow Approval System API
|
|
607
1035
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
608
1036
|
*
|
|
609
|
-
* The version of the OpenAPI document: 0.0.
|
|
1037
|
+
* The version of the OpenAPI document: 0.0.38
|
|
610
1038
|
*
|
|
611
1039
|
*
|
|
612
1040
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -638,7 +1066,7 @@ interface ListRoleTemplates200Response {
|
|
|
638
1066
|
* Workflow Approval System API
|
|
639
1067
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
640
1068
|
*
|
|
641
|
-
* The version of the OpenAPI document: 0.0.
|
|
1069
|
+
* The version of the OpenAPI document: 0.0.38
|
|
642
1070
|
*
|
|
643
1071
|
*
|
|
644
1072
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -679,7 +1107,7 @@ interface ListSpaces200Response {
|
|
|
679
1107
|
* Workflow Approval System API
|
|
680
1108
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
681
1109
|
*
|
|
682
|
-
* The version of the OpenAPI document: 0.0.
|
|
1110
|
+
* The version of the OpenAPI document: 0.0.38
|
|
683
1111
|
*
|
|
684
1112
|
*
|
|
685
1113
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -712,7 +1140,7 @@ interface ListUsers200Response {
|
|
|
712
1140
|
* Workflow Approval System API
|
|
713
1141
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
714
1142
|
*
|
|
715
|
-
* The version of the OpenAPI document: 0.0.
|
|
1143
|
+
* The version of the OpenAPI document: 0.0.38
|
|
716
1144
|
*
|
|
717
1145
|
*
|
|
718
1146
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -811,7 +1239,7 @@ interface ListWorkflowTemplatesParams {
|
|
|
811
1239
|
* Workflow Approval System API
|
|
812
1240
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
813
1241
|
*
|
|
814
|
-
* The version of the OpenAPI document: 0.0.
|
|
1242
|
+
* The version of the OpenAPI document: 0.0.38
|
|
815
1243
|
*
|
|
816
1244
|
*
|
|
817
1245
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -845,7 +1273,7 @@ declare namespace ListWorkflowVotesParams {
|
|
|
845
1273
|
* Workflow Approval System API
|
|
846
1274
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
847
1275
|
*
|
|
848
|
-
* The version of the OpenAPI document: 0.0.
|
|
1276
|
+
* The version of the OpenAPI document: 0.0.38
|
|
849
1277
|
*
|
|
850
1278
|
*
|
|
851
1279
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -897,7 +1325,7 @@ declare namespace ListWorkflowsParams {
|
|
|
897
1325
|
* Workflow Approval System API
|
|
898
1326
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
899
1327
|
*
|
|
900
|
-
* The version of the OpenAPI document: 0.0.
|
|
1328
|
+
* The version of the OpenAPI document: 0.0.38
|
|
901
1329
|
*
|
|
902
1330
|
*
|
|
903
1331
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -920,7 +1348,7 @@ interface OidcCallbackRequest {
|
|
|
920
1348
|
* Workflow Approval System API
|
|
921
1349
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
922
1350
|
*
|
|
923
|
-
* The version of the OpenAPI document: 0.0.
|
|
1351
|
+
* The version of the OpenAPI document: 0.0.38
|
|
924
1352
|
*
|
|
925
1353
|
*
|
|
926
1354
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -948,7 +1376,7 @@ declare namespace OrgScope {
|
|
|
948
1376
|
* Workflow Approval System API
|
|
949
1377
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
950
1378
|
*
|
|
951
|
-
* The version of the OpenAPI document: 0.0.
|
|
1379
|
+
* The version of the OpenAPI document: 0.0.38
|
|
952
1380
|
*
|
|
953
1381
|
*
|
|
954
1382
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -967,7 +1395,7 @@ interface OrganizationAdminCreate {
|
|
|
967
1395
|
* Workflow Approval System API
|
|
968
1396
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
969
1397
|
*
|
|
970
|
-
* The version of the OpenAPI document: 0.0.
|
|
1398
|
+
* The version of the OpenAPI document: 0.0.38
|
|
971
1399
|
*
|
|
972
1400
|
*
|
|
973
1401
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -986,7 +1414,7 @@ interface OrganizationAdminRemove {
|
|
|
986
1414
|
* Workflow Approval System API
|
|
987
1415
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
988
1416
|
*
|
|
989
|
-
* The version of the OpenAPI document: 0.0.
|
|
1417
|
+
* The version of the OpenAPI document: 0.0.38
|
|
990
1418
|
*
|
|
991
1419
|
*
|
|
992
1420
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1017,7 +1445,7 @@ interface PrivilegedTokenExchangeRequest {
|
|
|
1017
1445
|
* Workflow Approval System API
|
|
1018
1446
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1019
1447
|
*
|
|
1020
|
-
* The version of the OpenAPI document: 0.0.
|
|
1448
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1021
1449
|
*
|
|
1022
1450
|
*
|
|
1023
1451
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1031,12 +1459,156 @@ interface PrivilegedTokenResponse {
|
|
|
1031
1459
|
accessToken: string;
|
|
1032
1460
|
}
|
|
1033
1461
|
//#endregion
|
|
1462
|
+
//#region generated/openapi/model/quota-base.d.ts
|
|
1463
|
+
interface QuotaBase {
|
|
1464
|
+
/**
|
|
1465
|
+
* The unique identifier of the quota
|
|
1466
|
+
*/
|
|
1467
|
+
readonly id?: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* The maximum value allowed for this quota
|
|
1470
|
+
*/
|
|
1471
|
+
limit: number;
|
|
1472
|
+
quotaType: QuotaType;
|
|
1473
|
+
scope: QuotaScope;
|
|
1474
|
+
/**
|
|
1475
|
+
* When the quota was created
|
|
1476
|
+
*/
|
|
1477
|
+
readonly createdAt?: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* When the quota was last updated
|
|
1480
|
+
*/
|
|
1481
|
+
readonly updatedAt?: string;
|
|
1482
|
+
}
|
|
1483
|
+
declare namespace QuotaBase {}
|
|
1484
|
+
//#endregion
|
|
1485
|
+
//#region generated/openapi/model/space-quota-create.d.ts
|
|
1486
|
+
/**
|
|
1487
|
+
* Workflow Approval System API
|
|
1488
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1489
|
+
*
|
|
1490
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1491
|
+
*
|
|
1492
|
+
*
|
|
1493
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1494
|
+
* https://openapi-generator.tech
|
|
1495
|
+
* Do not edit the class manually.
|
|
1496
|
+
*/
|
|
1497
|
+
interface SpaceQuotaCreate {
|
|
1498
|
+
/**
|
|
1499
|
+
* The unique identifier of the quota
|
|
1500
|
+
*/
|
|
1501
|
+
readonly id?: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* The maximum value allowed for this quota
|
|
1504
|
+
*/
|
|
1505
|
+
limit: number;
|
|
1506
|
+
quotaType: SpaceQuotaCreate.QuotaTypeEnum;
|
|
1507
|
+
scope: SpaceQuotaCreate.ScopeEnum;
|
|
1508
|
+
/**
|
|
1509
|
+
* When the quota was created
|
|
1510
|
+
*/
|
|
1511
|
+
readonly createdAt?: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* When the quota was last updated
|
|
1514
|
+
*/
|
|
1515
|
+
readonly updatedAt?: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* The ID of the space this quota applies to.
|
|
1518
|
+
*/
|
|
1519
|
+
targetId: string;
|
|
1520
|
+
}
|
|
1521
|
+
declare namespace SpaceQuotaCreate {
|
|
1522
|
+
type QuotaTypeEnum = 'MAX_TEMPLATES' | 'MAX_CONCURRENT_WORKFLOWS';
|
|
1523
|
+
const QuotaTypeEnum: {
|
|
1524
|
+
MaxTemplates: QuotaTypeEnum;
|
|
1525
|
+
MaxConcurrentWorkflows: QuotaTypeEnum;
|
|
1526
|
+
};
|
|
1527
|
+
type ScopeEnum = 'SPACE';
|
|
1528
|
+
const ScopeEnum: {
|
|
1529
|
+
Space: ScopeEnum;
|
|
1530
|
+
};
|
|
1531
|
+
}
|
|
1532
|
+
//#endregion
|
|
1533
|
+
//#region generated/openapi/model/template-quota-create.d.ts
|
|
1534
|
+
/**
|
|
1535
|
+
* Workflow Approval System API
|
|
1536
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1537
|
+
*
|
|
1538
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1539
|
+
*
|
|
1540
|
+
*
|
|
1541
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1542
|
+
* https://openapi-generator.tech
|
|
1543
|
+
* Do not edit the class manually.
|
|
1544
|
+
*/
|
|
1545
|
+
interface TemplateQuotaCreate {
|
|
1546
|
+
/**
|
|
1547
|
+
* The unique identifier of the quota
|
|
1548
|
+
*/
|
|
1549
|
+
readonly id?: string;
|
|
1550
|
+
/**
|
|
1551
|
+
* The maximum value allowed for this quota
|
|
1552
|
+
*/
|
|
1553
|
+
limit: number;
|
|
1554
|
+
quotaType: TemplateQuotaCreate.QuotaTypeEnum;
|
|
1555
|
+
scope: TemplateQuotaCreate.ScopeEnum;
|
|
1556
|
+
/**
|
|
1557
|
+
* When the quota was created
|
|
1558
|
+
*/
|
|
1559
|
+
readonly createdAt?: string;
|
|
1560
|
+
/**
|
|
1561
|
+
* When the quota was last updated
|
|
1562
|
+
*/
|
|
1563
|
+
readonly updatedAt?: string;
|
|
1564
|
+
/**
|
|
1565
|
+
* The ID of the template this quota applies to.
|
|
1566
|
+
*/
|
|
1567
|
+
targetId: string;
|
|
1568
|
+
}
|
|
1569
|
+
declare namespace TemplateQuotaCreate {
|
|
1570
|
+
type QuotaTypeEnum = 'MAX_CONCURRENT_WORKFLOWS';
|
|
1571
|
+
const QuotaTypeEnum: {
|
|
1572
|
+
MaxConcurrentWorkflows: QuotaTypeEnum;
|
|
1573
|
+
};
|
|
1574
|
+
type ScopeEnum = 'TEMPLATE';
|
|
1575
|
+
const ScopeEnum: {
|
|
1576
|
+
Template: ScopeEnum;
|
|
1577
|
+
};
|
|
1578
|
+
}
|
|
1579
|
+
//#endregion
|
|
1580
|
+
//#region generated/openapi/model/quota-create.d.ts
|
|
1581
|
+
/**
|
|
1582
|
+
* @type QuotaCreate
|
|
1583
|
+
* @export
|
|
1584
|
+
*/
|
|
1585
|
+
type QuotaCreate = GlobalQuotaCreate | GroupQuotaCreate | SpaceQuotaCreate | TemplateQuotaCreate;
|
|
1586
|
+
//#endregion
|
|
1587
|
+
//#region generated/openapi/model/quota-update.d.ts
|
|
1588
|
+
/**
|
|
1589
|
+
* Workflow Approval System API
|
|
1590
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1591
|
+
*
|
|
1592
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1593
|
+
*
|
|
1594
|
+
*
|
|
1595
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1596
|
+
* https://openapi-generator.tech
|
|
1597
|
+
* Do not edit the class manually.
|
|
1598
|
+
*/
|
|
1599
|
+
interface QuotaUpdate {
|
|
1600
|
+
/**
|
|
1601
|
+
* The maximum value allowed for this quota
|
|
1602
|
+
*/
|
|
1603
|
+
limit?: number;
|
|
1604
|
+
}
|
|
1605
|
+
//#endregion
|
|
1034
1606
|
//#region generated/openapi/model/refresh-token-request.d.ts
|
|
1035
1607
|
/**
|
|
1036
1608
|
* Workflow Approval System API
|
|
1037
1609
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1038
1610
|
*
|
|
1039
|
-
* The version of the OpenAPI document: 0.0.
|
|
1611
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1040
1612
|
*
|
|
1041
1613
|
*
|
|
1042
1614
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1066,7 +1638,7 @@ interface RemoveGroupEntitiesRequest {
|
|
|
1066
1638
|
* Workflow Approval System API
|
|
1067
1639
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1068
1640
|
*
|
|
1069
|
-
* The version of the OpenAPI document: 0.0.
|
|
1641
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1070
1642
|
*
|
|
1071
1643
|
*
|
|
1072
1644
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1098,7 +1670,7 @@ declare namespace SpaceScope {
|
|
|
1098
1670
|
* Workflow Approval System API
|
|
1099
1671
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1100
1672
|
*
|
|
1101
|
-
* The version of the OpenAPI document: 0.0.
|
|
1673
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1102
1674
|
*
|
|
1103
1675
|
*
|
|
1104
1676
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1186,7 +1758,7 @@ interface RoleRemovalRequest {
|
|
|
1186
1758
|
* Workflow Approval System API
|
|
1187
1759
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1188
1760
|
*
|
|
1189
|
-
* The version of the OpenAPI document: 0.0.
|
|
1761
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1190
1762
|
*
|
|
1191
1763
|
*
|
|
1192
1764
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1204,12 +1776,75 @@ interface SpaceCreate {
|
|
|
1204
1776
|
description?: string;
|
|
1205
1777
|
}
|
|
1206
1778
|
//#endregion
|
|
1779
|
+
//#region generated/openapi/model/space-quota-base.d.ts
|
|
1780
|
+
/**
|
|
1781
|
+
* Workflow Approval System API
|
|
1782
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1783
|
+
*
|
|
1784
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1785
|
+
*
|
|
1786
|
+
*
|
|
1787
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1788
|
+
* https://openapi-generator.tech
|
|
1789
|
+
* Do not edit the class manually.
|
|
1790
|
+
*/
|
|
1791
|
+
interface SpaceQuotaBase {
|
|
1792
|
+
scope?: SpaceQuotaBase.ScopeEnum;
|
|
1793
|
+
quotaType?: SpaceQuotaBase.QuotaTypeEnum;
|
|
1794
|
+
/**
|
|
1795
|
+
* The ID of the space this quota applies to.
|
|
1796
|
+
*/
|
|
1797
|
+
targetId: string;
|
|
1798
|
+
}
|
|
1799
|
+
declare namespace SpaceQuotaBase {
|
|
1800
|
+
type ScopeEnum = 'SPACE';
|
|
1801
|
+
const ScopeEnum: {
|
|
1802
|
+
Space: ScopeEnum;
|
|
1803
|
+
};
|
|
1804
|
+
type QuotaTypeEnum = 'MAX_TEMPLATES' | 'MAX_CONCURRENT_WORKFLOWS';
|
|
1805
|
+
const QuotaTypeEnum: {
|
|
1806
|
+
MaxTemplates: QuotaTypeEnum;
|
|
1807
|
+
MaxConcurrentWorkflows: QuotaTypeEnum;
|
|
1808
|
+
};
|
|
1809
|
+
}
|
|
1810
|
+
//#endregion
|
|
1811
|
+
//#region generated/openapi/model/template-quota-base.d.ts
|
|
1812
|
+
/**
|
|
1813
|
+
* Workflow Approval System API
|
|
1814
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1815
|
+
*
|
|
1816
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1817
|
+
*
|
|
1818
|
+
*
|
|
1819
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1820
|
+
* https://openapi-generator.tech
|
|
1821
|
+
* Do not edit the class manually.
|
|
1822
|
+
*/
|
|
1823
|
+
interface TemplateQuotaBase {
|
|
1824
|
+
scope?: TemplateQuotaBase.ScopeEnum;
|
|
1825
|
+
quotaType?: TemplateQuotaBase.QuotaTypeEnum;
|
|
1826
|
+
/**
|
|
1827
|
+
* The ID of the template this quota applies to.
|
|
1828
|
+
*/
|
|
1829
|
+
targetId: string;
|
|
1830
|
+
}
|
|
1831
|
+
declare namespace TemplateQuotaBase {
|
|
1832
|
+
type ScopeEnum = 'TEMPLATE';
|
|
1833
|
+
const ScopeEnum: {
|
|
1834
|
+
Template: ScopeEnum;
|
|
1835
|
+
};
|
|
1836
|
+
type QuotaTypeEnum = 'MAX_CONCURRENT_WORKFLOWS';
|
|
1837
|
+
const QuotaTypeEnum: {
|
|
1838
|
+
MaxConcurrentWorkflows: QuotaTypeEnum;
|
|
1839
|
+
};
|
|
1840
|
+
}
|
|
1841
|
+
//#endregion
|
|
1207
1842
|
//#region generated/openapi/model/token-request.d.ts
|
|
1208
1843
|
/**
|
|
1209
1844
|
* Workflow Approval System API
|
|
1210
1845
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1211
1846
|
*
|
|
1212
|
-
* The version of the OpenAPI document: 0.0.
|
|
1847
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1213
1848
|
*
|
|
1214
1849
|
*
|
|
1215
1850
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1232,7 +1867,7 @@ interface TokenRequest {
|
|
|
1232
1867
|
* Workflow Approval System API
|
|
1233
1868
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1234
1869
|
*
|
|
1235
|
-
* The version of the OpenAPI document: 0.0.
|
|
1870
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1236
1871
|
*
|
|
1237
1872
|
*
|
|
1238
1873
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1259,7 +1894,7 @@ interface UserCreate {
|
|
|
1259
1894
|
* Workflow Approval System API
|
|
1260
1895
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1261
1896
|
*
|
|
1262
|
-
* The version of the OpenAPI document: 0.0.
|
|
1897
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1263
1898
|
*
|
|
1264
1899
|
*
|
|
1265
1900
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1288,7 +1923,7 @@ declare namespace VoteApprove {
|
|
|
1288
1923
|
* Workflow Approval System API
|
|
1289
1924
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1290
1925
|
*
|
|
1291
|
-
* The version of the OpenAPI document: 0.0.
|
|
1926
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1292
1927
|
*
|
|
1293
1928
|
*
|
|
1294
1929
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1313,7 +1948,7 @@ declare namespace VoteVeto {
|
|
|
1313
1948
|
* Workflow Approval System API
|
|
1314
1949
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1315
1950
|
*
|
|
1316
|
-
* The version of the OpenAPI document: 0.0.
|
|
1951
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1317
1952
|
*
|
|
1318
1953
|
*
|
|
1319
1954
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1367,7 +2002,7 @@ interface WorkflowTemplateCreate {
|
|
|
1367
2002
|
* Workflow Approval System API
|
|
1368
2003
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1369
2004
|
*
|
|
1370
|
-
* The version of the OpenAPI document: 0.0.
|
|
2005
|
+
* The version of the OpenAPI document: 0.0.38
|
|
1371
2006
|
*
|
|
1372
2007
|
*
|
|
1373
2008
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1607,4 +2242,9 @@ type APIErrorValidationError = "malformed_object" | "missing_code" | "invalid_co
|
|
|
1607
2242
|
declare function validateAPIError(object: unknown): Either<APIErrorValidationError, APIError>;
|
|
1608
2243
|
declare function isAPIError(object: unknown): object is APIError;
|
|
1609
2244
|
//#endregion
|
|
1610
|
-
|
|
2245
|
+
//#region src/validators/quota.validator.d.ts
|
|
2246
|
+
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";
|
|
2247
|
+
declare function validateQuotaCreate(object: unknown): Either<QuotaValidationError, QuotaCreate>;
|
|
2248
|
+
declare function validateQuotaUpdate(object: unknown): Either<QuotaValidationError, QuotaUpdate>;
|
|
2249
|
+
//#endregion
|
|
2250
|
+
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, 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 };
|