@approvio/api 0.0.42 → 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 +29 -57
- package/dist/src/index.d.cts +84 -195
- package/dist/src/index.d.mts +84 -195
- package/dist/src/index.mjs +30 -40
- package/dist/{workflow-create-COE72Khd.d.cts → workflow-create-DJP5QYfz.d.cts} +12 -12
- package/dist/{workflow-create-D4c1cIa_.d.mts → workflow-create-uX4n87mS.d.mts} +12 -12
- package/package.json +6 -5
package/dist/src/index.mjs
CHANGED
|
@@ -26,7 +26,11 @@ let GlobalQuota;
|
|
|
26
26
|
(function(_GlobalQuota) {
|
|
27
27
|
_GlobalQuota.QuotaTypeEnum = {
|
|
28
28
|
MaxGroups: "MAX_GROUPS",
|
|
29
|
-
MaxSpaces: "MAX_SPACES"
|
|
29
|
+
MaxSpaces: "MAX_SPACES",
|
|
30
|
+
MaxRolesPerUser: "MAX_ROLES_PER_USER",
|
|
31
|
+
MaxEntitiesPerGroup: "MAX_ENTITIES_PER_GROUP",
|
|
32
|
+
MaxTemplates: "MAX_TEMPLATES",
|
|
33
|
+
MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS"
|
|
30
34
|
};
|
|
31
35
|
_GlobalQuota.ScopeEnum = { Global: "GLOBAL" };
|
|
32
36
|
})(GlobalQuota || (GlobalQuota = {}));
|
|
@@ -37,7 +41,11 @@ let GlobalQuotaBase;
|
|
|
37
41
|
_GlobalQuotaBase.ScopeEnum = { Global: "GLOBAL" };
|
|
38
42
|
_GlobalQuotaBase.QuotaTypeEnum = {
|
|
39
43
|
MaxGroups: "MAX_GROUPS",
|
|
40
|
-
MaxSpaces: "MAX_SPACES"
|
|
44
|
+
MaxSpaces: "MAX_SPACES",
|
|
45
|
+
MaxRolesPerUser: "MAX_ROLES_PER_USER",
|
|
46
|
+
MaxEntitiesPerGroup: "MAX_ENTITIES_PER_GROUP",
|
|
47
|
+
MaxTemplates: "MAX_TEMPLATES",
|
|
48
|
+
MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS"
|
|
41
49
|
};
|
|
42
50
|
})(GlobalQuotaBase || (GlobalQuotaBase = {}));
|
|
43
51
|
//#endregion
|
|
@@ -46,7 +54,11 @@ let GlobalQuotaCreate;
|
|
|
46
54
|
(function(_GlobalQuotaCreate) {
|
|
47
55
|
_GlobalQuotaCreate.QuotaTypeEnum = {
|
|
48
56
|
MaxGroups: "MAX_GROUPS",
|
|
49
|
-
MaxSpaces: "MAX_SPACES"
|
|
57
|
+
MaxSpaces: "MAX_SPACES",
|
|
58
|
+
MaxRolesPerUser: "MAX_ROLES_PER_USER",
|
|
59
|
+
MaxEntitiesPerGroup: "MAX_ENTITIES_PER_GROUP",
|
|
60
|
+
MaxTemplates: "MAX_TEMPLATES",
|
|
61
|
+
MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS"
|
|
50
62
|
};
|
|
51
63
|
_GlobalQuotaCreate.ScopeEnum = { Global: "GLOBAL" };
|
|
52
64
|
})(GlobalQuotaCreate || (GlobalQuotaCreate = {}));
|
|
@@ -120,7 +132,6 @@ let OrgScope;
|
|
|
120
132
|
const QuotaScope = {
|
|
121
133
|
Global: "GLOBAL",
|
|
122
134
|
Space: "SPACE",
|
|
123
|
-
User: "USER",
|
|
124
135
|
Group: "GROUP",
|
|
125
136
|
Template: "TEMPLATE"
|
|
126
137
|
};
|
|
@@ -138,7 +149,10 @@ const QuotaType = {
|
|
|
138
149
|
//#region generated/openapi/model/space-quota.ts
|
|
139
150
|
let SpaceQuota;
|
|
140
151
|
(function(_SpaceQuota) {
|
|
141
|
-
_SpaceQuota.QuotaTypeEnum = {
|
|
152
|
+
_SpaceQuota.QuotaTypeEnum = {
|
|
153
|
+
MaxTemplates: "MAX_TEMPLATES",
|
|
154
|
+
MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS"
|
|
155
|
+
};
|
|
142
156
|
_SpaceQuota.ScopeEnum = { Space: "SPACE" };
|
|
143
157
|
})(SpaceQuota || (SpaceQuota = {}));
|
|
144
158
|
//#endregion
|
|
@@ -146,13 +160,19 @@ let SpaceQuota;
|
|
|
146
160
|
let SpaceQuotaBase;
|
|
147
161
|
(function(_SpaceQuotaBase) {
|
|
148
162
|
_SpaceQuotaBase.ScopeEnum = { Space: "SPACE" };
|
|
149
|
-
_SpaceQuotaBase.QuotaTypeEnum = {
|
|
163
|
+
_SpaceQuotaBase.QuotaTypeEnum = {
|
|
164
|
+
MaxTemplates: "MAX_TEMPLATES",
|
|
165
|
+
MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS"
|
|
166
|
+
};
|
|
150
167
|
})(SpaceQuotaBase || (SpaceQuotaBase = {}));
|
|
151
168
|
//#endregion
|
|
152
169
|
//#region generated/openapi/model/space-quota-create.ts
|
|
153
170
|
let SpaceQuotaCreate;
|
|
154
171
|
(function(_SpaceQuotaCreate) {
|
|
155
|
-
_SpaceQuotaCreate.QuotaTypeEnum = {
|
|
172
|
+
_SpaceQuotaCreate.QuotaTypeEnum = {
|
|
173
|
+
MaxTemplates: "MAX_TEMPLATES",
|
|
174
|
+
MaxConcurrentWorkflows: "MAX_CONCURRENT_WORKFLOWS"
|
|
175
|
+
};
|
|
156
176
|
_SpaceQuotaCreate.ScopeEnum = { Space: "SPACE" };
|
|
157
177
|
})(SpaceQuotaCreate || (SpaceQuotaCreate = {}));
|
|
158
178
|
//#endregion
|
|
@@ -183,27 +203,6 @@ let TemplateQuotaCreate;
|
|
|
183
203
|
_TemplateQuotaCreate.ScopeEnum = { Template: "TEMPLATE" };
|
|
184
204
|
})(TemplateQuotaCreate || (TemplateQuotaCreate = {}));
|
|
185
205
|
//#endregion
|
|
186
|
-
//#region generated/openapi/model/user-quota.ts
|
|
187
|
-
let UserQuota;
|
|
188
|
-
(function(_UserQuota) {
|
|
189
|
-
_UserQuota.QuotaTypeEnum = { MaxRolesPerUser: "MAX_ROLES_PER_USER" };
|
|
190
|
-
_UserQuota.ScopeEnum = { User: "USER" };
|
|
191
|
-
})(UserQuota || (UserQuota = {}));
|
|
192
|
-
//#endregion
|
|
193
|
-
//#region generated/openapi/model/user-quota-base.ts
|
|
194
|
-
let UserQuotaBase;
|
|
195
|
-
(function(_UserQuotaBase) {
|
|
196
|
-
_UserQuotaBase.ScopeEnum = { User: "USER" };
|
|
197
|
-
_UserQuotaBase.QuotaTypeEnum = { MaxRolesPerUser: "MAX_ROLES_PER_USER" };
|
|
198
|
-
})(UserQuotaBase || (UserQuotaBase = {}));
|
|
199
|
-
//#endregion
|
|
200
|
-
//#region generated/openapi/model/user-quota-create.ts
|
|
201
|
-
let UserQuotaCreate;
|
|
202
|
-
(function(_UserQuotaCreate) {
|
|
203
|
-
_UserQuotaCreate.QuotaTypeEnum = { MaxRolesPerUser: "MAX_ROLES_PER_USER" };
|
|
204
|
-
_UserQuotaCreate.ScopeEnum = { User: "USER" };
|
|
205
|
-
})(UserQuotaCreate || (UserQuotaCreate = {}));
|
|
206
|
-
//#endregion
|
|
207
206
|
//#region generated/openapi/model/vote-approve.ts
|
|
208
207
|
let VoteApprove;
|
|
209
208
|
(function(_VoteApprove) {
|
|
@@ -1693,7 +1692,7 @@ function validateQuotaCreate(object) {
|
|
|
1693
1692
|
const quotaType = getStringAsEnum(quotaTypeStr, QuotaType);
|
|
1694
1693
|
if (!quotaType) return left("invalid_quotaType");
|
|
1695
1694
|
if (scope === "GLOBAL") {
|
|
1696
|
-
if (quotaType !== "MAX_GROUPS" && quotaType !== "MAX_SPACES") return left("invalid_scope_quotaType_combination");
|
|
1695
|
+
if (quotaType !== "MAX_GROUPS" && quotaType !== "MAX_SPACES" && quotaType !== "MAX_ROLES_PER_USER" && quotaType !== "MAX_ENTITIES_PER_GROUP" && quotaType !== "MAX_TEMPLATES" && quotaType !== "MAX_CONCURRENT_WORKFLOWS") return left("invalid_scope_quotaType_combination");
|
|
1697
1696
|
if (hasOwnProperty(object, "targetId") && object.targetId !== void 0) return left("invalid_scope_targetId_combination");
|
|
1698
1697
|
return right({
|
|
1699
1698
|
limit,
|
|
@@ -1721,17 +1720,8 @@ function validateQuotaCreate(object) {
|
|
|
1721
1720
|
targetId: object.targetId
|
|
1722
1721
|
});
|
|
1723
1722
|
}
|
|
1724
|
-
if (scope === "USER") {
|
|
1725
|
-
if (quotaType !== "MAX_ROLES_PER_USER") return left("invalid_scope_quotaType_combination");
|
|
1726
|
-
return right({
|
|
1727
|
-
limit,
|
|
1728
|
-
scope,
|
|
1729
|
-
quotaType,
|
|
1730
|
-
targetId: object.targetId
|
|
1731
|
-
});
|
|
1732
|
-
}
|
|
1733
1723
|
if (scope === "SPACE") {
|
|
1734
|
-
if (quotaType !== "MAX_TEMPLATES") return left("invalid_scope_quotaType_combination");
|
|
1724
|
+
if (quotaType !== "MAX_TEMPLATES" && quotaType !== "MAX_CONCURRENT_WORKFLOWS") return left("invalid_scope_quotaType_combination");
|
|
1735
1725
|
return right({
|
|
1736
1726
|
limit,
|
|
1737
1727
|
scope,
|
|
@@ -1748,4 +1738,4 @@ function validateQuotaUpdate(object) {
|
|
|
1748
1738
|
return right({ limit: object.limit });
|
|
1749
1739
|
}
|
|
1750
1740
|
//#endregion
|
|
1751
|
-
export { AgentTokenRequest, AndRule, EmailAction, GlobalQuota, GlobalQuotaBase, GlobalQuotaCreate, GroupQuota, GroupQuotaBase, GroupQuotaCreate, GroupRequirementRule, GroupScope, ListWorkflowVotesParams, ListWorkflowsParams, OrRule, OrgScope, QuotaScope, QuotaType, SortBy, SortDirection, SpaceQuota, SpaceQuotaBase, SpaceQuotaCreate, SpaceScope, TemplateQuota, TemplateQuotaBase, TemplateQuotaCreate,
|
|
1741
|
+
export { AgentTokenRequest, AndRule, EmailAction, GlobalQuota, GlobalQuotaBase, GlobalQuotaCreate, GroupQuota, GroupQuotaBase, GroupQuotaCreate, GroupRequirementRule, GroupScope, ListWorkflowVotesParams, ListWorkflowsParams, OrRule, OrgScope, QuotaScope, QuotaType, SortBy, SortDirection, SpaceQuota, SpaceQuotaBase, SpaceQuotaCreate, SpaceScope, TemplateQuota, TemplateQuotaBase, TemplateQuotaCreate, VoteApprove, VoteVeto, VoteWithdraw, WebhookAction, WorkflowTemplateScope, WorkflowTemplateStatus, 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 };
|
|
@@ -24,7 +24,7 @@ declare namespace OrRule {
|
|
|
24
24
|
* Workflow Approval System API
|
|
25
25
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
26
26
|
*
|
|
27
|
-
* The version of the OpenAPI document: 0.0.
|
|
27
|
+
* The version of the OpenAPI document: 0.0.38
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -96,7 +96,7 @@ declare namespace AndRule {
|
|
|
96
96
|
* Workflow Approval System API
|
|
97
97
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
98
98
|
*
|
|
99
|
-
* The version of the OpenAPI document: 0.0.
|
|
99
|
+
* The version of the OpenAPI document: 0.0.38
|
|
100
100
|
*
|
|
101
101
|
*
|
|
102
102
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -115,7 +115,7 @@ interface ConcurrencyControl {
|
|
|
115
115
|
* Workflow Approval System API
|
|
116
116
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
117
117
|
*
|
|
118
|
-
* The version of the OpenAPI document: 0.0.
|
|
118
|
+
* The version of the OpenAPI document: 0.0.38
|
|
119
119
|
*
|
|
120
120
|
*
|
|
121
121
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -147,7 +147,7 @@ declare namespace EmailAction {
|
|
|
147
147
|
* Workflow Approval System API
|
|
148
148
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
149
149
|
*
|
|
150
|
-
* The version of the OpenAPI document: 0.0.
|
|
150
|
+
* The version of the OpenAPI document: 0.0.38
|
|
151
151
|
*
|
|
152
152
|
*
|
|
153
153
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -164,7 +164,7 @@ interface GroupInfo {
|
|
|
164
164
|
* Workflow Approval System API
|
|
165
165
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
166
166
|
*
|
|
167
|
-
* The version of the OpenAPI document: 0.0.
|
|
167
|
+
* The version of the OpenAPI document: 0.0.38
|
|
168
168
|
*
|
|
169
169
|
*
|
|
170
170
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -203,7 +203,7 @@ interface Group {
|
|
|
203
203
|
* Workflow Approval System API
|
|
204
204
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
205
205
|
*
|
|
206
|
-
* The version of the OpenAPI document: 0.0.
|
|
206
|
+
* The version of the OpenAPI document: 0.0.38
|
|
207
207
|
*
|
|
208
208
|
*
|
|
209
209
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -236,7 +236,7 @@ interface ListGroups200Response {
|
|
|
236
236
|
* Workflow Approval System API
|
|
237
237
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
238
238
|
*
|
|
239
|
-
* The version of the OpenAPI document: 0.0.
|
|
239
|
+
* The version of the OpenAPI document: 0.0.38
|
|
240
240
|
*
|
|
241
241
|
*
|
|
242
242
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -263,7 +263,7 @@ interface UserSummary {
|
|
|
263
263
|
* Workflow Approval System API
|
|
264
264
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
265
265
|
*
|
|
266
|
-
* The version of the OpenAPI document: 0.0.
|
|
266
|
+
* The version of the OpenAPI document: 0.0.38
|
|
267
267
|
*
|
|
268
268
|
*
|
|
269
269
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -285,7 +285,7 @@ declare const WorkflowTemplateStatus: {
|
|
|
285
285
|
* Workflow Approval System API
|
|
286
286
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
287
287
|
*
|
|
288
|
-
* The version of the OpenAPI document: 0.0.
|
|
288
|
+
* The version of the OpenAPI document: 0.0.38
|
|
289
289
|
*
|
|
290
290
|
*
|
|
291
291
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -451,7 +451,7 @@ interface ListWorkflows200Response {
|
|
|
451
451
|
* Workflow Approval System API
|
|
452
452
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
453
453
|
*
|
|
454
|
-
* The version of the OpenAPI document: 0.0.
|
|
454
|
+
* The version of the OpenAPI document: 0.0.38
|
|
455
455
|
*
|
|
456
456
|
*
|
|
457
457
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -474,7 +474,7 @@ interface TokenResponse {
|
|
|
474
474
|
* Workflow Approval System API
|
|
475
475
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
476
476
|
*
|
|
477
|
-
* The version of the OpenAPI document: 0.0.
|
|
477
|
+
* The version of the OpenAPI document: 0.0.38
|
|
478
478
|
*
|
|
479
479
|
*
|
|
480
480
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -509,7 +509,7 @@ interface User {
|
|
|
509
509
|
* Workflow Approval System API
|
|
510
510
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
511
511
|
*
|
|
512
|
-
* The version of the OpenAPI document: 0.0.
|
|
512
|
+
* The version of the OpenAPI document: 0.0.38
|
|
513
513
|
*
|
|
514
514
|
*
|
|
515
515
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ declare namespace OrRule {
|
|
|
24
24
|
* Workflow Approval System API
|
|
25
25
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
26
26
|
*
|
|
27
|
-
* The version of the OpenAPI document: 0.0.
|
|
27
|
+
* The version of the OpenAPI document: 0.0.38
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -96,7 +96,7 @@ declare namespace AndRule {
|
|
|
96
96
|
* Workflow Approval System API
|
|
97
97
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
98
98
|
*
|
|
99
|
-
* The version of the OpenAPI document: 0.0.
|
|
99
|
+
* The version of the OpenAPI document: 0.0.38
|
|
100
100
|
*
|
|
101
101
|
*
|
|
102
102
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -115,7 +115,7 @@ interface ConcurrencyControl {
|
|
|
115
115
|
* Workflow Approval System API
|
|
116
116
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
117
117
|
*
|
|
118
|
-
* The version of the OpenAPI document: 0.0.
|
|
118
|
+
* The version of the OpenAPI document: 0.0.38
|
|
119
119
|
*
|
|
120
120
|
*
|
|
121
121
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -147,7 +147,7 @@ declare namespace EmailAction {
|
|
|
147
147
|
* Workflow Approval System API
|
|
148
148
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
149
149
|
*
|
|
150
|
-
* The version of the OpenAPI document: 0.0.
|
|
150
|
+
* The version of the OpenAPI document: 0.0.38
|
|
151
151
|
*
|
|
152
152
|
*
|
|
153
153
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -164,7 +164,7 @@ interface GroupInfo {
|
|
|
164
164
|
* Workflow Approval System API
|
|
165
165
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
166
166
|
*
|
|
167
|
-
* The version of the OpenAPI document: 0.0.
|
|
167
|
+
* The version of the OpenAPI document: 0.0.38
|
|
168
168
|
*
|
|
169
169
|
*
|
|
170
170
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -203,7 +203,7 @@ interface Group {
|
|
|
203
203
|
* Workflow Approval System API
|
|
204
204
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
205
205
|
*
|
|
206
|
-
* The version of the OpenAPI document: 0.0.
|
|
206
|
+
* The version of the OpenAPI document: 0.0.38
|
|
207
207
|
*
|
|
208
208
|
*
|
|
209
209
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -236,7 +236,7 @@ interface ListGroups200Response {
|
|
|
236
236
|
* Workflow Approval System API
|
|
237
237
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
238
238
|
*
|
|
239
|
-
* The version of the OpenAPI document: 0.0.
|
|
239
|
+
* The version of the OpenAPI document: 0.0.38
|
|
240
240
|
*
|
|
241
241
|
*
|
|
242
242
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -263,7 +263,7 @@ interface UserSummary {
|
|
|
263
263
|
* Workflow Approval System API
|
|
264
264
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
265
265
|
*
|
|
266
|
-
* The version of the OpenAPI document: 0.0.
|
|
266
|
+
* The version of the OpenAPI document: 0.0.38
|
|
267
267
|
*
|
|
268
268
|
*
|
|
269
269
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -285,7 +285,7 @@ declare const WorkflowTemplateStatus: {
|
|
|
285
285
|
* Workflow Approval System API
|
|
286
286
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
287
287
|
*
|
|
288
|
-
* The version of the OpenAPI document: 0.0.
|
|
288
|
+
* The version of the OpenAPI document: 0.0.38
|
|
289
289
|
*
|
|
290
290
|
*
|
|
291
291
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -451,7 +451,7 @@ interface ListWorkflows200Response {
|
|
|
451
451
|
* Workflow Approval System API
|
|
452
452
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
453
453
|
*
|
|
454
|
-
* The version of the OpenAPI document: 0.0.
|
|
454
|
+
* The version of the OpenAPI document: 0.0.38
|
|
455
455
|
*
|
|
456
456
|
*
|
|
457
457
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -474,7 +474,7 @@ interface TokenResponse {
|
|
|
474
474
|
* Workflow Approval System API
|
|
475
475
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
476
476
|
*
|
|
477
|
-
* The version of the OpenAPI document: 0.0.
|
|
477
|
+
* The version of the OpenAPI document: 0.0.38
|
|
478
478
|
*
|
|
479
479
|
*
|
|
480
480
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -509,7 +509,7 @@ interface User {
|
|
|
509
509
|
* Workflow Approval System API
|
|
510
510
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
511
511
|
*
|
|
512
|
-
* The version of the OpenAPI document: 0.0.
|
|
512
|
+
* The version of the OpenAPI document: 0.0.38
|
|
513
513
|
*
|
|
514
514
|
*
|
|
515
515
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@approvio/api",
|
|
3
3
|
"author": "Giovanni Baratta",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.43",
|
|
6
6
|
"private": false,
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/src/index.cjs",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"lint:api": "spectral lint generated/openapi.yaml --ruleset .spectral.yaml",
|
|
40
40
|
"build": "yarn generate:api && tsdown src/index.ts mocks/index.ts --format esm,cjs --dts",
|
|
41
41
|
"generate:docs": "yarn bundle && redocly build-docs generated/openapi.yaml --output ./dist/index.html",
|
|
42
|
+
"serve:docs": "npx serve -l 10081 ./dist",
|
|
42
43
|
"prepublishOnly": "yarn build",
|
|
43
44
|
"format:prettier": "yarn prettier --config .prettierrc . --write",
|
|
44
45
|
"test": "yarn jest --maxWorkers=50%",
|
|
@@ -47,14 +48,14 @@
|
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"@eslint/js": "10.0.1",
|
|
49
50
|
"@openapitools/openapi-generator-cli": "^2.31.0",
|
|
50
|
-
"@redocly/cli": "
|
|
51
|
+
"@redocly/cli": "2.28.1",
|
|
51
52
|
"@stoplight/spectral-cli": "6.15.0",
|
|
52
53
|
"@types/jest": "30.0.0",
|
|
53
54
|
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
54
|
-
"@typescript-eslint/parser": "8.
|
|
55
|
-
"eslint": "10.
|
|
55
|
+
"@typescript-eslint/parser": "8.58.2",
|
|
56
|
+
"eslint": "10.2.1",
|
|
56
57
|
"eslint-config-prettier": "10.1.8",
|
|
57
|
-
"eslint-plugin-jest": "29.15.
|
|
58
|
+
"eslint-plugin-jest": "29.15.2",
|
|
58
59
|
"eslint-plugin-n": "17.24.0",
|
|
59
60
|
"eslint-plugin-prettier": "5.5.5",
|
|
60
61
|
"jest": "30.2.0",
|