@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 CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  This repository contains the OpenAPI specification for the Approvio backend, the tooling to generate the TypeScript API client, and TypeScript validators for the generated models using `fp-ts`.
4
4
 
5
-
6
5
  ## Project Structure
7
6
 
8
7
  - `openapi.yaml`: Main entry point for the OpenAPI 3.0 specification.
@@ -1,4 +1,4 @@
1
- import { a as Workflow, d as UserSummary, f as ListGroups200Response, h as GroupInfo, i as ListWorkflows200Response, m as Group, n as User, p as Pagination, r as TokenResponse, t as WorkflowCreate } from "../workflow-create-Ng_I-FfX.cjs";
1
+ import { a as Workflow, d as UserSummary, f as ListGroups200Response, h as GroupInfo, i as ListWorkflows200Response, m as Group, n as User, p as Pagination, r as TokenResponse, t as WorkflowCreate } from "../workflow-create-COE72Khd.cjs";
2
2
 
3
3
  //#region mocks/user.fixtures.d.ts
4
4
  declare const MOCK_USER_ID = "e6e08687-2189-4710-91b5-479cd25a9119";
@@ -1,4 +1,4 @@
1
- import { a as Workflow, d as UserSummary, f as ListGroups200Response, h as GroupInfo, i as ListWorkflows200Response, m as Group, n as User, p as Pagination, r as TokenResponse, t as WorkflowCreate } from "../workflow-create-DL0bZ2df.mjs";
1
+ import { a as Workflow, d as UserSummary, f as ListGroups200Response, h as GroupInfo, i as ListWorkflows200Response, m as Group, n as User, p as Pagination, r as TokenResponse, t as WorkflowCreate } from "../workflow-create-D4c1cIa_.mjs";
2
2
 
3
3
  //#region mocks/user.fixtures.d.ts
4
4
  declare const MOCK_USER_ID = "e6e08687-2189-4710-91b5-479cd25a9119";
@@ -45,6 +45,57 @@ let EmailAction;
45
45
  _EmailAction.TypeEnum = { Email: "EMAIL" };
46
46
  })(EmailAction || (EmailAction = {}));
47
47
  //#endregion
48
+ //#region generated/openapi/model/global-quota.ts
49
+ let GlobalQuota;
50
+ (function(_GlobalQuota) {
51
+ _GlobalQuota.QuotaTypeEnum = {
52
+ MaxGroups: "MAX_GROUPS",
53
+ MaxSpaces: "MAX_SPACES"
54
+ };
55
+ _GlobalQuota.ScopeEnum = { Global: "GLOBAL" };
56
+ })(GlobalQuota || (GlobalQuota = {}));
57
+ //#endregion
58
+ //#region generated/openapi/model/global-quota-base.ts
59
+ let GlobalQuotaBase;
60
+ (function(_GlobalQuotaBase) {
61
+ _GlobalQuotaBase.ScopeEnum = { Global: "GLOBAL" };
62
+ _GlobalQuotaBase.QuotaTypeEnum = {
63
+ MaxGroups: "MAX_GROUPS",
64
+ MaxSpaces: "MAX_SPACES"
65
+ };
66
+ })(GlobalQuotaBase || (GlobalQuotaBase = {}));
67
+ //#endregion
68
+ //#region generated/openapi/model/global-quota-create.ts
69
+ let GlobalQuotaCreate;
70
+ (function(_GlobalQuotaCreate) {
71
+ _GlobalQuotaCreate.QuotaTypeEnum = {
72
+ MaxGroups: "MAX_GROUPS",
73
+ MaxSpaces: "MAX_SPACES"
74
+ };
75
+ _GlobalQuotaCreate.ScopeEnum = { Global: "GLOBAL" };
76
+ })(GlobalQuotaCreate || (GlobalQuotaCreate = {}));
77
+ //#endregion
78
+ //#region generated/openapi/model/group-quota.ts
79
+ let GroupQuota;
80
+ (function(_GroupQuota) {
81
+ _GroupQuota.QuotaTypeEnum = { MaxEntitiesPerGroup: "MAX_ENTITIES_PER_GROUP" };
82
+ _GroupQuota.ScopeEnum = { Group: "GROUP" };
83
+ })(GroupQuota || (GroupQuota = {}));
84
+ //#endregion
85
+ //#region generated/openapi/model/group-quota-base.ts
86
+ let GroupQuotaBase;
87
+ (function(_GroupQuotaBase) {
88
+ _GroupQuotaBase.ScopeEnum = { Group: "GROUP" };
89
+ _GroupQuotaBase.QuotaTypeEnum = { MaxEntitiesPerGroup: "MAX_ENTITIES_PER_GROUP" };
90
+ })(GroupQuotaBase || (GroupQuotaBase = {}));
91
+ //#endregion
92
+ //#region generated/openapi/model/group-quota-create.ts
93
+ let GroupQuotaCreate;
94
+ (function(_GroupQuotaCreate) {
95
+ _GroupQuotaCreate.QuotaTypeEnum = { MaxEntitiesPerGroup: "MAX_ENTITIES_PER_GROUP" };
96
+ _GroupQuotaCreate.ScopeEnum = { Group: "GROUP" };
97
+ })(GroupQuotaCreate || (GroupQuotaCreate = {}));
98
+ //#endregion
48
99
  //#region generated/openapi/model/group-requirement-rule.ts
49
100
  let GroupRequirementRule;
50
101
  (function(_GroupRequirementRule) {
@@ -57,6 +108,26 @@ let GroupScope;
57
108
  _GroupScope.TypeEnum = { Group: "group" };
58
109
  })(GroupScope || (GroupScope = {}));
59
110
  //#endregion
111
+ //#region generated/openapi/model/list-workflow-votes-params.ts
112
+ let ListWorkflowVotesParams;
113
+ (function(_ListWorkflowVotesParams) {
114
+ _ListWorkflowVotesParams.OrderByEnum = {
115
+ TimestampAsc: "TIMESTAMP:ASC",
116
+ TimestampDesc: "TIMESTAMP:DESC"
117
+ };
118
+ })(ListWorkflowVotesParams || (ListWorkflowVotesParams = {}));
119
+ //#endregion
120
+ //#region generated/openapi/model/list-workflows-params.ts
121
+ let ListWorkflowsParams;
122
+ (function(_ListWorkflowsParams) {
123
+ _ListWorkflowsParams.OrderByEnum = {
124
+ CreatedAtAsc: "CREATED_AT:ASC",
125
+ CreatedAtDesc: "CREATED_AT:DESC",
126
+ UpdatedAtAsc: "UPDATED_AT:ASC",
127
+ UpdatedAtDesc: "UPDATED_AT:DESC"
128
+ };
129
+ })(ListWorkflowsParams || (ListWorkflowsParams = {}));
130
+ //#endregion
60
131
  //#region generated/openapi/model/or-rule.ts
61
132
  let OrRule;
62
133
  (function(_OrRule) {
@@ -69,12 +140,94 @@ let OrgScope;
69
140
  _OrgScope.TypeEnum = { Org: "org" };
70
141
  })(OrgScope || (OrgScope = {}));
71
142
  //#endregion
143
+ //#region generated/openapi/model/quota-scope.ts
144
+ const QuotaScope = {
145
+ Global: "GLOBAL",
146
+ Space: "SPACE",
147
+ User: "USER",
148
+ Group: "GROUP",
149
+ Template: "TEMPLATE"
150
+ };
151
+ //#endregion
152
+ //#region generated/openapi/model/quota-type.ts
153
+ const QuotaType = {
154
+ MaxEntitiesPerGroup: "MAX_ENTITIES_PER_GROUP",
155
+ MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS",
156
+ MaxRolesPerUser: "MAX_ROLES_PER_USER",
157
+ MaxGroups: "MAX_GROUPS",
158
+ MaxSpaces: "MAX_SPACES",
159
+ MaxTemplates: "MAX_TEMPLATES"
160
+ };
161
+ //#endregion
162
+ //#region generated/openapi/model/space-quota.ts
163
+ let SpaceQuota;
164
+ (function(_SpaceQuota) {
165
+ _SpaceQuota.QuotaTypeEnum = { MaxTemplates: "MAX_TEMPLATES" };
166
+ _SpaceQuota.ScopeEnum = { Space: "SPACE" };
167
+ })(SpaceQuota || (SpaceQuota = {}));
168
+ //#endregion
169
+ //#region generated/openapi/model/space-quota-base.ts
170
+ let SpaceQuotaBase;
171
+ (function(_SpaceQuotaBase) {
172
+ _SpaceQuotaBase.ScopeEnum = { Space: "SPACE" };
173
+ _SpaceQuotaBase.QuotaTypeEnum = { MaxTemplates: "MAX_TEMPLATES" };
174
+ })(SpaceQuotaBase || (SpaceQuotaBase = {}));
175
+ //#endregion
176
+ //#region generated/openapi/model/space-quota-create.ts
177
+ let SpaceQuotaCreate;
178
+ (function(_SpaceQuotaCreate) {
179
+ _SpaceQuotaCreate.QuotaTypeEnum = { MaxTemplates: "MAX_TEMPLATES" };
180
+ _SpaceQuotaCreate.ScopeEnum = { Space: "SPACE" };
181
+ })(SpaceQuotaCreate || (SpaceQuotaCreate = {}));
182
+ //#endregion
72
183
  //#region generated/openapi/model/space-scope.ts
73
184
  let SpaceScope;
74
185
  (function(_SpaceScope) {
75
186
  _SpaceScope.TypeEnum = { Space: "space" };
76
187
  })(SpaceScope || (SpaceScope = {}));
77
188
  //#endregion
189
+ //#region generated/openapi/model/template-quota.ts
190
+ let TemplateQuota;
191
+ (function(_TemplateQuota) {
192
+ _TemplateQuota.QuotaTypeEnum = { MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS" };
193
+ _TemplateQuota.ScopeEnum = { Template: "TEMPLATE" };
194
+ })(TemplateQuota || (TemplateQuota = {}));
195
+ //#endregion
196
+ //#region generated/openapi/model/template-quota-base.ts
197
+ let TemplateQuotaBase;
198
+ (function(_TemplateQuotaBase) {
199
+ _TemplateQuotaBase.ScopeEnum = { Template: "TEMPLATE" };
200
+ _TemplateQuotaBase.QuotaTypeEnum = { MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS" };
201
+ })(TemplateQuotaBase || (TemplateQuotaBase = {}));
202
+ //#endregion
203
+ //#region generated/openapi/model/template-quota-create.ts
204
+ let TemplateQuotaCreate;
205
+ (function(_TemplateQuotaCreate) {
206
+ _TemplateQuotaCreate.QuotaTypeEnum = { MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS" };
207
+ _TemplateQuotaCreate.ScopeEnum = { Template: "TEMPLATE" };
208
+ })(TemplateQuotaCreate || (TemplateQuotaCreate = {}));
209
+ //#endregion
210
+ //#region generated/openapi/model/user-quota.ts
211
+ let UserQuota;
212
+ (function(_UserQuota) {
213
+ _UserQuota.QuotaTypeEnum = { MaxRolesPerUser: "MAX_ROLES_PER_USER" };
214
+ _UserQuota.ScopeEnum = { User: "USER" };
215
+ })(UserQuota || (UserQuota = {}));
216
+ //#endregion
217
+ //#region generated/openapi/model/user-quota-base.ts
218
+ let UserQuotaBase;
219
+ (function(_UserQuotaBase) {
220
+ _UserQuotaBase.ScopeEnum = { User: "USER" };
221
+ _UserQuotaBase.QuotaTypeEnum = { MaxRolesPerUser: "MAX_ROLES_PER_USER" };
222
+ })(UserQuotaBase || (UserQuotaBase = {}));
223
+ //#endregion
224
+ //#region generated/openapi/model/user-quota-create.ts
225
+ let UserQuotaCreate;
226
+ (function(_UserQuotaCreate) {
227
+ _UserQuotaCreate.QuotaTypeEnum = { MaxRolesPerUser: "MAX_ROLES_PER_USER" };
228
+ _UserQuotaCreate.ScopeEnum = { User: "USER" };
229
+ })(UserQuotaCreate || (UserQuotaCreate = {}));
230
+ //#endregion
78
231
  //#region generated/openapi/model/vote-approve.ts
79
232
  let VoteApprove;
80
233
  (function(_VoteApprove) {
@@ -139,6 +292,8 @@ function isStringBigInt(value) {
139
292
  }
140
293
  return true;
141
294
  }
295
+ const UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
296
+ const isUUIDv4 = (value) => value.match(UUID_REGEX) !== null;
142
297
  //#endregion
143
298
  //#region src/validators/auth.validators.ts
144
299
  function validateTokenResponse(object) {
@@ -227,6 +382,11 @@ function validateOidcCallbackRequest(object) {
227
382
  });
228
383
  }
229
384
  //#endregion
385
+ //#region src/utils/enum.ts
386
+ function getStringAsEnum(str, enumType) {
387
+ if (Object.values(enumType).includes(str)) return str;
388
+ }
389
+ //#endregion
230
390
  //#region src/validators/groups.validators.ts
231
391
  function validateGroup(object) {
232
392
  if (typeof object !== "object" || object === null) return (0, fp_ts_Either.left)("malformed_object");
@@ -439,11 +599,6 @@ function validateGetEntityInfo200Response(object) {
439
599
  });
440
600
  }
441
601
  //#endregion
442
- //#region src/utils/enum.ts
443
- function getStringAsEnum(str, enumType) {
444
- if (Object.values(enumType).includes(str)) return str;
445
- }
446
- //#endregion
447
602
  //#region src/utils/types.ts
448
603
  function prefixLeft(prefix, value) {
449
604
  return `${prefix}_${value}`;
@@ -954,9 +1109,41 @@ function validateListWorkflowsParams(object) {
954
1109
  if (typeof val !== "string") return (0, fp_ts_Either.left)("invalid_workflow_template_identifier");
955
1110
  workflowTemplateIdentifier = val;
956
1111
  }
1112
+ let includeGroups = void 0;
1113
+ if (hasOwnProperty(object, "includeGroups")) {
1114
+ const includeGroupsVal = typeof object.includeGroups === "string" ? [object.includeGroups] : object.includeGroups;
1115
+ if (!isArray(includeGroupsVal)) return (0, fp_ts_Either.left)("invalid_include_groups");
1116
+ const validatedIncludeGroups = [];
1117
+ for (const item of includeGroupsVal) {
1118
+ if (typeof item !== "string") return (0, fp_ts_Either.left)("invalid_include_groups");
1119
+ if (!isUUIDv4(item)) return (0, fp_ts_Either.left)("invalid_include_groups");
1120
+ validatedIncludeGroups.push(item);
1121
+ }
1122
+ includeGroups = validatedIncludeGroups;
1123
+ }
1124
+ let orderBy = void 0;
1125
+ if (hasOwnProperty(object, "orderBy")) {
1126
+ const orderByVal = typeof object.orderBy === "string" ? [object.orderBy] : object.orderBy;
1127
+ if (!isArray(orderByVal)) return (0, fp_ts_Either.left)("invalid_order_by");
1128
+ if (orderByVal.length > 3) return (0, fp_ts_Either.left)("too_many_order_by_items");
1129
+ const validatedOrderBy = [];
1130
+ const seenFields = /* @__PURE__ */ new Set();
1131
+ for (const item of orderByVal) {
1132
+ if (typeof item !== "string") return (0, fp_ts_Either.left)("invalid_order_by");
1133
+ const enumVal = getStringAsEnum(item, ListWorkflowsParams.OrderByEnum);
1134
+ if (enumVal === void 0) return (0, fp_ts_Either.left)("invalid_order_by");
1135
+ const field = enumVal.split(":")[0];
1136
+ if (seenFields.has(field)) return (0, fp_ts_Either.left)("duplicate_order_by_fields");
1137
+ seenFields.add(field);
1138
+ validatedOrderBy.push(enumVal);
1139
+ }
1140
+ orderBy = validatedOrderBy;
1141
+ }
957
1142
  if (include !== void 0) result.include = include;
958
1143
  if (includeOnlyNonTerminalState !== void 0) result.includeOnlyNonTerminalState = includeOnlyNonTerminalState;
959
1144
  if (workflowTemplateIdentifier !== void 0) result.workflowTemplateIdentifier = workflowTemplateIdentifier;
1145
+ if (includeGroups !== void 0) result.includeGroups = includeGroups;
1146
+ if (orderBy !== void 0) result.orderBy = orderBy;
960
1147
  return (0, fp_ts_Either.right)(result);
961
1148
  }
962
1149
  function validateListWorkflows200Response(object) {
@@ -1099,6 +1286,32 @@ function validateGetWorkflowVotes200Response(object) {
1099
1286
  }
1100
1287
  return (0, fp_ts_Either.right)({ votes });
1101
1288
  }
1289
+ function validateListWorkflowVotesParams(object) {
1290
+ const sharedValidation = (0, fp_ts_function.pipe)(validateSharedListParams(object), (0, fp_ts_Either.mapLeft)((error) => error === "invalid_search" ? "malformed_object" : error));
1291
+ if ((0, fp_ts_Either.isLeft)(sharedValidation)) return (0, fp_ts_Either.left)(sharedValidation.left);
1292
+ const result = sharedValidation.right;
1293
+ if (typeof object !== "object" || object === null) return (0, fp_ts_Either.left)("malformed_object");
1294
+ let orderBy = void 0;
1295
+ if (hasOwnProperty(object, "orderBy")) {
1296
+ const orderByVal = typeof object.orderBy === "string" ? [object.orderBy] : object.orderBy;
1297
+ if (!isArray(orderByVal)) return (0, fp_ts_Either.left)("invalid_order_by");
1298
+ if (orderByVal.length > 3) return (0, fp_ts_Either.left)("too_many_order_by_items");
1299
+ const validatedOrderBy = [];
1300
+ const seenFields = /* @__PURE__ */ new Set();
1301
+ for (const item of orderByVal) {
1302
+ if (typeof item !== "string") return (0, fp_ts_Either.left)("invalid_order_by");
1303
+ const enumVal = getStringAsEnum(item, ListWorkflowVotesParams.OrderByEnum);
1304
+ if (enumVal === void 0) return (0, fp_ts_Either.left)("invalid_order_by");
1305
+ const field = enumVal.split(":")[0];
1306
+ if (seenFields.has(field)) return (0, fp_ts_Either.left)("duplicate_order_by_fields");
1307
+ seenFields.add(field);
1308
+ validatedOrderBy.push(enumVal);
1309
+ }
1310
+ orderBy = validatedOrderBy;
1311
+ }
1312
+ if (orderBy !== void 0) result.orderBy = orderBy;
1313
+ return (0, fp_ts_Either.right)(result);
1314
+ }
1102
1315
  //#endregion
1103
1316
  //#region src/validators/users.validators.ts
1104
1317
  function validateUser(object) {
@@ -1485,6 +1698,80 @@ function isAPIError(object) {
1485
1698
  return fp_ts_Either.isRight(validateAPIError(object));
1486
1699
  }
1487
1700
  //#endregion
1701
+ //#region src/validators/quota.validator.ts
1702
+ function validateQuotaCreate(object) {
1703
+ if (typeof object !== "object" || object === null) return (0, fp_ts_Either.left)("malformed_object");
1704
+ if (!hasOwnProperty(object, "limit")) return (0, fp_ts_Either.left)("missing_limit");
1705
+ if (!isNumber(object.limit) || !Number.isInteger(object.limit) || object.limit < 0) return (0, fp_ts_Either.left)("invalid_limit");
1706
+ if (!hasOwnProperty(object, "scope")) return (0, fp_ts_Either.left)("missing_scope");
1707
+ if (!isNonEmptyString(object.scope)) return (0, fp_ts_Either.left)("invalid_scope");
1708
+ if (!hasOwnProperty(object, "quotaType")) return (0, fp_ts_Either.left)("missing_quotaType");
1709
+ if (!isNonEmptyString(object.quotaType)) return (0, fp_ts_Either.left)("invalid_quotaType");
1710
+ const limit = object.limit;
1711
+ const scopeStr = object.scope;
1712
+ if (typeof scopeStr !== "string") return (0, fp_ts_Either.left)("invalid_scope");
1713
+ const scope = getStringAsEnum(scopeStr, QuotaScope);
1714
+ if (!scope) return (0, fp_ts_Either.left)("invalid_scope");
1715
+ const quotaTypeStr = object.quotaType;
1716
+ if (typeof quotaTypeStr !== "string") return (0, fp_ts_Either.left)("invalid_quotaType");
1717
+ const quotaType = getStringAsEnum(quotaTypeStr, QuotaType);
1718
+ if (!quotaType) return (0, fp_ts_Either.left)("invalid_quotaType");
1719
+ if (scope === "GLOBAL") {
1720
+ if (quotaType !== "MAX_GROUPS" && quotaType !== "MAX_SPACES") return (0, fp_ts_Either.left)("invalid_scope_quotaType_combination");
1721
+ if (hasOwnProperty(object, "targetId") && object.targetId !== void 0) return (0, fp_ts_Either.left)("invalid_scope_targetId_combination");
1722
+ return (0, fp_ts_Either.right)({
1723
+ limit,
1724
+ scope,
1725
+ quotaType
1726
+ });
1727
+ }
1728
+ if (!hasOwnProperty(object, "targetId")) return (0, fp_ts_Either.left)("missing_targetId");
1729
+ if (!isNonEmptyString(object.targetId) || !isUUIDv4(object.targetId)) return (0, fp_ts_Either.left)("invalid_targetId");
1730
+ if (scope === "GROUP") {
1731
+ if (quotaType !== "MAX_ENTITIES_PER_GROUP") return (0, fp_ts_Either.left)("invalid_scope_quotaType_combination");
1732
+ return (0, fp_ts_Either.right)({
1733
+ limit,
1734
+ scope,
1735
+ quotaType,
1736
+ targetId: object.targetId
1737
+ });
1738
+ }
1739
+ if (scope === "TEMPLATE") {
1740
+ if (quotaType !== "MAX_CONCURRENT_WORKFLOWS") return (0, fp_ts_Either.left)("invalid_scope_quotaType_combination");
1741
+ return (0, fp_ts_Either.right)({
1742
+ limit,
1743
+ scope,
1744
+ quotaType,
1745
+ targetId: object.targetId
1746
+ });
1747
+ }
1748
+ if (scope === "USER") {
1749
+ if (quotaType !== "MAX_ROLES_PER_USER") return (0, fp_ts_Either.left)("invalid_scope_quotaType_combination");
1750
+ return (0, fp_ts_Either.right)({
1751
+ limit,
1752
+ scope,
1753
+ quotaType,
1754
+ targetId: object.targetId
1755
+ });
1756
+ }
1757
+ if (scope === "SPACE") {
1758
+ if (quotaType !== "MAX_TEMPLATES") return (0, fp_ts_Either.left)("invalid_scope_quotaType_combination");
1759
+ return (0, fp_ts_Either.right)({
1760
+ limit,
1761
+ scope,
1762
+ quotaType,
1763
+ targetId: object.targetId
1764
+ });
1765
+ }
1766
+ return (0, fp_ts_Either.left)("invalid_scope_quotaType_combination");
1767
+ }
1768
+ function validateQuotaUpdate(object) {
1769
+ if (typeof object !== "object" || object === null) return (0, fp_ts_Either.left)("malformed_object");
1770
+ if (!hasOwnProperty(object, "limit") || object.limit === void 0) return (0, fp_ts_Either.right)({});
1771
+ if (!isNumber(object.limit) || !Number.isInteger(object.limit) || object.limit < 0) return (0, fp_ts_Either.left)("invalid_limit");
1772
+ return (0, fp_ts_Either.right)({ limit: object.limit });
1773
+ }
1774
+ //#endregion
1488
1775
  Object.defineProperty(exports, "AgentTokenRequest", {
1489
1776
  enumerable: true,
1490
1777
  get: function() {
@@ -1503,6 +1790,42 @@ Object.defineProperty(exports, "EmailAction", {
1503
1790
  return EmailAction;
1504
1791
  }
1505
1792
  });
1793
+ Object.defineProperty(exports, "GlobalQuota", {
1794
+ enumerable: true,
1795
+ get: function() {
1796
+ return GlobalQuota;
1797
+ }
1798
+ });
1799
+ Object.defineProperty(exports, "GlobalQuotaBase", {
1800
+ enumerable: true,
1801
+ get: function() {
1802
+ return GlobalQuotaBase;
1803
+ }
1804
+ });
1805
+ Object.defineProperty(exports, "GlobalQuotaCreate", {
1806
+ enumerable: true,
1807
+ get: function() {
1808
+ return GlobalQuotaCreate;
1809
+ }
1810
+ });
1811
+ Object.defineProperty(exports, "GroupQuota", {
1812
+ enumerable: true,
1813
+ get: function() {
1814
+ return GroupQuota;
1815
+ }
1816
+ });
1817
+ Object.defineProperty(exports, "GroupQuotaBase", {
1818
+ enumerable: true,
1819
+ get: function() {
1820
+ return GroupQuotaBase;
1821
+ }
1822
+ });
1823
+ Object.defineProperty(exports, "GroupQuotaCreate", {
1824
+ enumerable: true,
1825
+ get: function() {
1826
+ return GroupQuotaCreate;
1827
+ }
1828
+ });
1506
1829
  Object.defineProperty(exports, "GroupRequirementRule", {
1507
1830
  enumerable: true,
1508
1831
  get: function() {
@@ -1515,6 +1838,18 @@ Object.defineProperty(exports, "GroupScope", {
1515
1838
  return GroupScope;
1516
1839
  }
1517
1840
  });
1841
+ Object.defineProperty(exports, "ListWorkflowVotesParams", {
1842
+ enumerable: true,
1843
+ get: function() {
1844
+ return ListWorkflowVotesParams;
1845
+ }
1846
+ });
1847
+ Object.defineProperty(exports, "ListWorkflowsParams", {
1848
+ enumerable: true,
1849
+ get: function() {
1850
+ return ListWorkflowsParams;
1851
+ }
1852
+ });
1518
1853
  Object.defineProperty(exports, "OrRule", {
1519
1854
  enumerable: true,
1520
1855
  get: function() {
@@ -1527,14 +1862,70 @@ Object.defineProperty(exports, "OrgScope", {
1527
1862
  return OrgScope;
1528
1863
  }
1529
1864
  });
1865
+ exports.QuotaScope = QuotaScope;
1866
+ exports.QuotaType = QuotaType;
1530
1867
  exports.SortBy = SortBy;
1531
1868
  exports.SortDirection = SortDirection;
1869
+ Object.defineProperty(exports, "SpaceQuota", {
1870
+ enumerable: true,
1871
+ get: function() {
1872
+ return SpaceQuota;
1873
+ }
1874
+ });
1875
+ Object.defineProperty(exports, "SpaceQuotaBase", {
1876
+ enumerable: true,
1877
+ get: function() {
1878
+ return SpaceQuotaBase;
1879
+ }
1880
+ });
1881
+ Object.defineProperty(exports, "SpaceQuotaCreate", {
1882
+ enumerable: true,
1883
+ get: function() {
1884
+ return SpaceQuotaCreate;
1885
+ }
1886
+ });
1532
1887
  Object.defineProperty(exports, "SpaceScope", {
1533
1888
  enumerable: true,
1534
1889
  get: function() {
1535
1890
  return SpaceScope;
1536
1891
  }
1537
1892
  });
1893
+ Object.defineProperty(exports, "TemplateQuota", {
1894
+ enumerable: true,
1895
+ get: function() {
1896
+ return TemplateQuota;
1897
+ }
1898
+ });
1899
+ Object.defineProperty(exports, "TemplateQuotaBase", {
1900
+ enumerable: true,
1901
+ get: function() {
1902
+ return TemplateQuotaBase;
1903
+ }
1904
+ });
1905
+ Object.defineProperty(exports, "TemplateQuotaCreate", {
1906
+ enumerable: true,
1907
+ get: function() {
1908
+ return TemplateQuotaCreate;
1909
+ }
1910
+ });
1911
+ Object.defineProperty(exports, "UserQuota", {
1912
+ enumerable: true,
1913
+ get: function() {
1914
+ return UserQuota;
1915
+ }
1916
+ });
1917
+ Object.defineProperty(exports, "UserQuotaBase", {
1918
+ enumerable: true,
1919
+ get: function() {
1920
+ return UserQuotaBase;
1921
+ }
1922
+ });
1923
+ Object.defineProperty(exports, "UserQuotaCreate", {
1924
+ enumerable: true,
1925
+ get: function() {
1926
+ return UserQuotaCreate;
1927
+ }
1928
+ });
1538
1929
  Object.defineProperty(exports, "VoteApprove", {
1539
1930
  enumerable: true,
1540
1931
  get: function() {
@@ -1600,6 +1991,7 @@ exports.validateListUsers200Response = validateListUsers200Response;
1600
1991
  exports.validateListUsersParams = validateListUsersParams;
1601
1992
  exports.validateListWorkflowTemplates200Response = validateListWorkflowTemplates200Response;
1602
1993
  exports.validateListWorkflowTemplatesParams = validateListWorkflowTemplatesParams;
1994
+ exports.validateListWorkflowVotesParams = validateListWorkflowVotesParams;
1603
1995
  exports.validateListWorkflows200Response = validateListWorkflows200Response;
1604
1996
  exports.validateListWorkflowsParams = validateListWorkflowsParams;
1605
1997
  exports.validateOidcCallbackRequest = validateOidcCallbackRequest;
@@ -1608,6 +2000,8 @@ exports.validateOrganizationAdminRemove = validateOrganizationAdminRemove;
1608
2000
  exports.validatePagination = validatePagination;
1609
2001
  exports.validatePrivilegedTokenExchangeRequest = validatePrivilegedTokenExchangeRequest;
1610
2002
  exports.validatePrivilegedTokenResponse = validatePrivilegedTokenResponse;
2003
+ exports.validateQuotaCreate = validateQuotaCreate;
2004
+ exports.validateQuotaUpdate = validateQuotaUpdate;
1611
2005
  exports.validateRefreshTokenRequest = validateRefreshTokenRequest;
1612
2006
  exports.validateRemoveGroupEntitiesRequest = validateRemoveGroupEntitiesRequest;
1613
2007
  exports.validateRoleAssignmentRequest = validateRoleAssignmentRequest;