@approvio/api 0.0.40 → 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.
- package/README.md +0 -1
- package/dist/mocks/index.d.cts +1 -1
- package/dist/mocks/index.d.mts +1 -1
- package/dist/src/index.cjs +399 -5
- package/dist/src/index.d.cts +849 -45
- package/dist/src/index.d.mts +849 -45
- package/dist/src/index.mjs +293 -6
- package/dist/{workflow-create-DL0bZ2df.d.mts → workflow-create-COE72Khd.d.cts} +12 -12
- package/dist/{workflow-create-Ng_I-FfX.d.cts → workflow-create-D4c1cIa_.d.mts} +12 -12
- package/package.json +1 -1
package/dist/src/index.d.cts
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-COE72Khd.cjs";
|
|
2
2
|
import { Either } from "fp-ts/Either";
|
|
3
3
|
|
|
4
4
|
//#region generated/openapi/model/api-error-details-inner.d.ts
|
|
@@ -6,7 +6,7 @@ import { Either } from "fp-ts/Either";
|
|
|
6
6
|
* Workflow Approval System API
|
|
7
7
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
8
8
|
*
|
|
9
|
-
* The version of the OpenAPI document: 0.0.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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).
|
|
@@ -806,12 +1269,46 @@ interface ListWorkflowTemplatesParams {
|
|
|
806
1269
|
status?: Array<WorkflowTemplateStatus>;
|
|
807
1270
|
}
|
|
808
1271
|
//#endregion
|
|
1272
|
+
//#region generated/openapi/model/list-workflow-votes-params.d.ts
|
|
1273
|
+
/**
|
|
1274
|
+
* Workflow Approval System API
|
|
1275
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1276
|
+
*
|
|
1277
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1278
|
+
*
|
|
1279
|
+
*
|
|
1280
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1281
|
+
* https://openapi-generator.tech
|
|
1282
|
+
* Do not edit the class manually.
|
|
1283
|
+
*/
|
|
1284
|
+
interface ListWorkflowVotesParams {
|
|
1285
|
+
/**
|
|
1286
|
+
* Page number for pagination (1-indexed)
|
|
1287
|
+
*/
|
|
1288
|
+
page?: number;
|
|
1289
|
+
/**
|
|
1290
|
+
* Number of results per page
|
|
1291
|
+
*/
|
|
1292
|
+
limit?: number;
|
|
1293
|
+
/**
|
|
1294
|
+
* Fields to order the results by, along with the order direction.
|
|
1295
|
+
*/
|
|
1296
|
+
orderBy?: Array<ListWorkflowVotesParams.OrderByEnum>;
|
|
1297
|
+
}
|
|
1298
|
+
declare namespace ListWorkflowVotesParams {
|
|
1299
|
+
type OrderByEnum = 'TIMESTAMP:ASC' | 'TIMESTAMP:DESC';
|
|
1300
|
+
const OrderByEnum: {
|
|
1301
|
+
TimestampAsc: OrderByEnum;
|
|
1302
|
+
TimestampDesc: OrderByEnum;
|
|
1303
|
+
};
|
|
1304
|
+
}
|
|
1305
|
+
//#endregion
|
|
809
1306
|
//#region generated/openapi/model/list-workflows-params.d.ts
|
|
810
1307
|
/**
|
|
811
1308
|
* Workflow Approval System API
|
|
812
1309
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
813
1310
|
*
|
|
814
|
-
* The version of the OpenAPI document: 0.0.
|
|
1311
|
+
* The version of the OpenAPI document: 0.0.37
|
|
815
1312
|
*
|
|
816
1313
|
*
|
|
817
1314
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -839,6 +1336,23 @@ interface ListWorkflowsParams {
|
|
|
839
1336
|
* Optional workflow template identifier (UUID or name) to filter workflows.
|
|
840
1337
|
*/
|
|
841
1338
|
workflowTemplateIdentifier?: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* Filter workflows that mentions at least one of the provided group UUIDs in their approval rule.
|
|
1341
|
+
*/
|
|
1342
|
+
includeGroups?: Array<string>;
|
|
1343
|
+
/**
|
|
1344
|
+
* Fields to order the results by, along with the order direction. Can specify multiple fields.
|
|
1345
|
+
*/
|
|
1346
|
+
orderBy?: Array<ListWorkflowsParams.OrderByEnum>;
|
|
1347
|
+
}
|
|
1348
|
+
declare namespace ListWorkflowsParams {
|
|
1349
|
+
type OrderByEnum = 'CREATED_AT:ASC' | 'CREATED_AT:DESC' | 'UPDATED_AT:ASC' | 'UPDATED_AT:DESC';
|
|
1350
|
+
const OrderByEnum: {
|
|
1351
|
+
CreatedAtAsc: OrderByEnum;
|
|
1352
|
+
CreatedAtDesc: OrderByEnum;
|
|
1353
|
+
UpdatedAtAsc: OrderByEnum;
|
|
1354
|
+
UpdatedAtDesc: OrderByEnum;
|
|
1355
|
+
};
|
|
842
1356
|
}
|
|
843
1357
|
//#endregion
|
|
844
1358
|
//#region generated/openapi/model/oidc-callback-request.d.ts
|
|
@@ -846,7 +1360,7 @@ interface ListWorkflowsParams {
|
|
|
846
1360
|
* Workflow Approval System API
|
|
847
1361
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
848
1362
|
*
|
|
849
|
-
* The version of the OpenAPI document: 0.0.
|
|
1363
|
+
* The version of the OpenAPI document: 0.0.37
|
|
850
1364
|
*
|
|
851
1365
|
*
|
|
852
1366
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -869,7 +1383,7 @@ interface OidcCallbackRequest {
|
|
|
869
1383
|
* Workflow Approval System API
|
|
870
1384
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
871
1385
|
*
|
|
872
|
-
* The version of the OpenAPI document: 0.0.
|
|
1386
|
+
* The version of the OpenAPI document: 0.0.37
|
|
873
1387
|
*
|
|
874
1388
|
*
|
|
875
1389
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -897,7 +1411,7 @@ declare namespace OrgScope {
|
|
|
897
1411
|
* Workflow Approval System API
|
|
898
1412
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
899
1413
|
*
|
|
900
|
-
* The version of the OpenAPI document: 0.0.
|
|
1414
|
+
* The version of the OpenAPI document: 0.0.37
|
|
901
1415
|
*
|
|
902
1416
|
*
|
|
903
1417
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -916,7 +1430,7 @@ interface OrganizationAdminCreate {
|
|
|
916
1430
|
* Workflow Approval System API
|
|
917
1431
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
918
1432
|
*
|
|
919
|
-
* The version of the OpenAPI document: 0.0.
|
|
1433
|
+
* The version of the OpenAPI document: 0.0.37
|
|
920
1434
|
*
|
|
921
1435
|
*
|
|
922
1436
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -935,7 +1449,7 @@ interface OrganizationAdminRemove {
|
|
|
935
1449
|
* Workflow Approval System API
|
|
936
1450
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
937
1451
|
*
|
|
938
|
-
* The version of the OpenAPI document: 0.0.
|
|
1452
|
+
* The version of the OpenAPI document: 0.0.37
|
|
939
1453
|
*
|
|
940
1454
|
*
|
|
941
1455
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -966,7 +1480,7 @@ interface PrivilegedTokenExchangeRequest {
|
|
|
966
1480
|
* Workflow Approval System API
|
|
967
1481
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
968
1482
|
*
|
|
969
|
-
* The version of the OpenAPI document: 0.0.
|
|
1483
|
+
* The version of the OpenAPI document: 0.0.37
|
|
970
1484
|
*
|
|
971
1485
|
*
|
|
972
1486
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -980,12 +1494,202 @@ interface PrivilegedTokenResponse {
|
|
|
980
1494
|
accessToken: string;
|
|
981
1495
|
}
|
|
982
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
|
|
983
1687
|
//#region generated/openapi/model/refresh-token-request.d.ts
|
|
984
1688
|
/**
|
|
985
1689
|
* Workflow Approval System API
|
|
986
1690
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
987
1691
|
*
|
|
988
|
-
* The version of the OpenAPI document: 0.0.
|
|
1692
|
+
* The version of the OpenAPI document: 0.0.37
|
|
989
1693
|
*
|
|
990
1694
|
*
|
|
991
1695
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1015,7 +1719,7 @@ interface RemoveGroupEntitiesRequest {
|
|
|
1015
1719
|
* Workflow Approval System API
|
|
1016
1720
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1017
1721
|
*
|
|
1018
|
-
* The version of the OpenAPI document: 0.0.
|
|
1722
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1019
1723
|
*
|
|
1020
1724
|
*
|
|
1021
1725
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1047,7 +1751,7 @@ declare namespace SpaceScope {
|
|
|
1047
1751
|
* Workflow Approval System API
|
|
1048
1752
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1049
1753
|
*
|
|
1050
|
-
* The version of the OpenAPI document: 0.0.
|
|
1754
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1051
1755
|
*
|
|
1052
1756
|
*
|
|
1053
1757
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1135,7 +1839,7 @@ interface RoleRemovalRequest {
|
|
|
1135
1839
|
* Workflow Approval System API
|
|
1136
1840
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1137
1841
|
*
|
|
1138
|
-
* The version of the OpenAPI document: 0.0.
|
|
1842
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1139
1843
|
*
|
|
1140
1844
|
*
|
|
1141
1845
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1153,12 +1857,74 @@ interface SpaceCreate {
|
|
|
1153
1857
|
description?: string;
|
|
1154
1858
|
}
|
|
1155
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
|
|
1156
1922
|
//#region generated/openapi/model/token-request.d.ts
|
|
1157
1923
|
/**
|
|
1158
1924
|
* Workflow Approval System API
|
|
1159
1925
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1160
1926
|
*
|
|
1161
|
-
* The version of the OpenAPI document: 0.0.
|
|
1927
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1162
1928
|
*
|
|
1163
1929
|
*
|
|
1164
1930
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1181,7 +1947,7 @@ interface TokenRequest {
|
|
|
1181
1947
|
* Workflow Approval System API
|
|
1182
1948
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1183
1949
|
*
|
|
1184
|
-
* The version of the OpenAPI document: 0.0.
|
|
1950
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1185
1951
|
*
|
|
1186
1952
|
*
|
|
1187
1953
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1203,12 +1969,43 @@ interface UserCreate {
|
|
|
1203
1969
|
orgRole: string;
|
|
1204
1970
|
}
|
|
1205
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
|
|
1206
2003
|
//#region generated/openapi/model/vote-approve.d.ts
|
|
1207
2004
|
/**
|
|
1208
2005
|
* Workflow Approval System API
|
|
1209
2006
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1210
2007
|
*
|
|
1211
|
-
* The version of the OpenAPI document: 0.0.
|
|
2008
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1212
2009
|
*
|
|
1213
2010
|
*
|
|
1214
2011
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1237,7 +2034,7 @@ declare namespace VoteApprove {
|
|
|
1237
2034
|
* Workflow Approval System API
|
|
1238
2035
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1239
2036
|
*
|
|
1240
|
-
* The version of the OpenAPI document: 0.0.
|
|
2037
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1241
2038
|
*
|
|
1242
2039
|
*
|
|
1243
2040
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1262,7 +2059,7 @@ declare namespace VoteVeto {
|
|
|
1262
2059
|
* Workflow Approval System API
|
|
1263
2060
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1264
2061
|
*
|
|
1265
|
-
* The version of the OpenAPI document: 0.0.
|
|
2062
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1266
2063
|
*
|
|
1267
2064
|
*
|
|
1268
2065
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1316,7 +2113,7 @@ interface WorkflowTemplateCreate {
|
|
|
1316
2113
|
* Workflow Approval System API
|
|
1317
2114
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
1318
2115
|
*
|
|
1319
|
-
* The version of the OpenAPI document: 0.0.
|
|
2116
|
+
* The version of the OpenAPI document: 0.0.37
|
|
1320
2117
|
*
|
|
1321
2118
|
*
|
|
1322
2119
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1399,7 +2196,7 @@ type WorkflowRefValidationError = "malformed_object" | "invalid_workflow_templat
|
|
|
1399
2196
|
type WorkflowValidationError = "malformed_object" | "missing_id" | "invalid_id" | "missing_name" | "invalid_name" | "invalid_description" | "missing_status" | "invalid_status" | "missing_workflow_template_id" | "invalid_workflow_template_id" | "missing_metadata" | "invalid_metadata" | "invalid_ref" | "missing_created_at" | "invalid_created_at" | "missing_updated_at" | "invalid_updated_at" | "invalid_expires_at";
|
|
1400
2197
|
type GetWorkflowParamsValidationError = "malformed_object" | "invalid_include";
|
|
1401
2198
|
declare function validateGetWorkflowParams(object: unknown): Either<GetWorkflowParamsValidationError, GetWorkflowParams>;
|
|
1402
|
-
type ListWorkflowsParamsValidationError = "malformed_object" | "invalid_page" | "invalid_limit" | "invalid_include" | "invalid_include_only_non_terminal_state" | "invalid_workflow_template_identifier";
|
|
2199
|
+
type ListWorkflowsParamsValidationError = "malformed_object" | "invalid_page" | "invalid_limit" | "invalid_include" | "invalid_include_only_non_terminal_state" | "invalid_workflow_template_identifier" | "invalid_include_groups" | "invalid_order_by" | "duplicate_order_by_fields" | "too_many_order_by_items";
|
|
1403
2200
|
declare function validateListWorkflowsParams(object: unknown): Either<ListWorkflowsParamsValidationError, ListWorkflowsParams>;
|
|
1404
2201
|
type ListWorkflows200ResponseValidationError = "malformed_object" | "missing_data" | "invalid_data" | "missing_pagination" | "invalid_pagination";
|
|
1405
2202
|
declare function validateListWorkflows200Response(object: unknown): Either<ListWorkflows200ResponseValidationError, ListWorkflows200Response>;
|
|
@@ -1414,6 +2211,8 @@ type CanVoteResponseValidationError = "malformed_object" | "missing_can_vote" |
|
|
|
1414
2211
|
declare function validateCanVoteResponse(object: unknown): Either<CanVoteResponseValidationError, CanVoteResponse>;
|
|
1415
2212
|
type GetWorkflowVotes200ResponseValidationError = "malformed_object" | "missing_votes" | "invalid_votes";
|
|
1416
2213
|
declare function validateGetWorkflowVotes200Response(object: unknown): Either<GetWorkflowVotes200ResponseValidationError, GetWorkflowVotes200Response>;
|
|
2214
|
+
type ListWorkflowVotesParamsValidationError = "malformed_object" | "invalid_page" | "invalid_limit" | "invalid_order_by" | "duplicate_order_by_fields" | "too_many_order_by_items";
|
|
2215
|
+
declare function validateListWorkflowVotesParams(object: unknown): Either<ListWorkflowVotesParamsValidationError, ListWorkflowVotesParams>;
|
|
1417
2216
|
//#endregion
|
|
1418
2217
|
//#region src/validators/users.validators.d.ts
|
|
1419
2218
|
type UserValidationError = "malformed_object" | "missing_id" | "invalid_id" | "missing_display_name" | "invalid_display_name" | "missing_email" | "invalid_email" | "missing_org_role" | "invalid_org_role" | "missing_created_at" | "invalid_created_at";
|
|
@@ -1554,4 +2353,9 @@ type APIErrorValidationError = "malformed_object" | "missing_code" | "invalid_co
|
|
|
1554
2353
|
declare function validateAPIError(object: unknown): Either<APIErrorValidationError, APIError>;
|
|
1555
2354
|
declare function isAPIError(object: unknown): object is APIError;
|
|
1556
2355
|
//#endregion
|
|
1557
|
-
|
|
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 };
|