@approvio/api 0.0.1 → 0.0.2
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 +1 -2
- package/{generated/openapi/model/add-group-entities-request.ts → dist/add-group-entities-request.d.ts} +3 -6
- package/dist/add-group-entities-request.js +3 -0
- package/dist/add-group-entities-request.js.map +1 -0
- package/{generated/openapi/model/and-rule.ts → dist/and-rule.d.ts} +7 -11
- package/dist/and-rule.js +10 -0
- package/dist/and-rule.js.map +1 -0
- package/{generated/openapi/model/api-error-details-inner.ts → dist/api-error-details-inner.d.ts} +3 -6
- package/dist/api-error-details-inner.js +14 -0
- package/dist/api-error-details-inner.js.map +1 -0
- package/{generated/openapi/model/api-error.ts → dist/api-error.d.ts} +3 -6
- package/dist/api-error.js +3 -0
- package/dist/api-error.js.map +1 -0
- package/{generated/openapi/model/approval-rule.ts → dist/approval-rule.d.ts} +4 -7
- package/dist/approval-rule.js +3 -0
- package/dist/approval-rule.js.map +1 -0
- package/{generated/openapi/model/can-vote-response.ts → dist/can-vote-response.d.ts} +4 -7
- package/dist/can-vote-response.js +14 -0
- package/dist/can-vote-response.js.map +1 -0
- package/{generated/openapi/model/entity-membership-add.ts → dist/entity-membership-add.d.ts} +3 -6
- package/dist/entity-membership-add.js +3 -0
- package/dist/entity-membership-add.js.map +1 -0
- package/{generated/openapi/model/entity-membership-remove.ts → dist/entity-membership-remove.d.ts} +3 -6
- package/dist/entity-membership-remove.js +3 -0
- package/dist/entity-membership-remove.js.map +1 -0
- package/{generated/openapi/model/entity-reference.ts → dist/entity-reference.d.ts} +3 -6
- package/dist/entity-reference.js +14 -0
- package/dist/entity-reference.js.map +1 -0
- package/{generated/openapi/model/group-create.ts → dist/group-create.d.ts} +3 -6
- package/dist/group-create.js +14 -0
- package/dist/group-create.js.map +1 -0
- package/{generated/openapi/model/group-membership.ts → dist/group-membership.d.ts} +3 -6
- package/dist/group-membership.js +3 -0
- package/dist/group-membership.js.map +1 -0
- package/{generated/openapi/model/group-requirement-rule.ts → dist/group-requirement-rule.d.ts} +7 -11
- package/dist/group-requirement-rule.js +21 -0
- package/dist/group-requirement-rule.js.map +1 -0
- package/{generated/openapi/model/group.ts → dist/group.d.ts} +3 -6
- package/dist/group.js +14 -0
- package/dist/group.js.map +1 -0
- package/{generated/openapi/model/index.ts → dist/index.d.ts} +0 -2
- package/dist/index.js +46 -0
- package/dist/index.js.map +1 -0
- package/{generated/openapi/model/list-group-entities-200-response.ts → dist/list-group-entities-200-response.d.ts} +3 -6
- package/dist/list-group-entities-200-response.js +3 -0
- package/dist/list-group-entities-200-response.js.map +1 -0
- package/{generated/openapi/model/list-groups-200-response.ts → dist/list-groups-200-response.d.ts} +3 -6
- package/dist/list-groups-200-response.js +3 -0
- package/dist/list-groups-200-response.js.map +1 -0
- package/{generated/openapi/model/list-users-200-response.ts → dist/list-users-200-response.d.ts} +3 -6
- package/dist/list-users-200-response.js +3 -0
- package/dist/list-users-200-response.js.map +1 -0
- package/{generated/openapi/model/list-workflows-200-response.ts → dist/list-workflows-200-response.d.ts} +3 -6
- package/dist/list-workflows-200-response.js +3 -0
- package/dist/list-workflows-200-response.js.map +1 -0
- package/dist/models.js +44 -0
- package/dist/models.js.map +1 -0
- package/{generated/openapi/model/or-rule.ts → dist/or-rule.d.ts} +7 -11
- package/dist/or-rule.js +10 -0
- package/dist/or-rule.js.map +1 -0
- package/{generated/openapi/model/pagination.ts → dist/pagination.d.ts} +3 -6
- package/dist/pagination.js +14 -0
- package/dist/pagination.js.map +1 -0
- package/{generated/openapi/model/remove-group-entities-request.ts → dist/remove-group-entities-request.d.ts} +3 -6
- package/dist/remove-group-entities-request.js +3 -0
- package/dist/remove-group-entities-request.js.map +1 -0
- package/{generated/openapi/model/user-create.ts → dist/user-create.d.ts} +3 -6
- package/dist/user-create.js +14 -0
- package/dist/user-create.js.map +1 -0
- package/{generated/openapi/model/user-summary.ts → dist/user-summary.d.ts} +3 -6
- package/dist/user-summary.js +14 -0
- package/dist/user-summary.js.map +1 -0
- package/{generated/openapi/model/user.ts → dist/user.d.ts} +3 -6
- package/dist/user.js +14 -0
- package/dist/user.js.map +1 -0
- package/{generated/openapi/model/vote-mode.ts → dist/vote-mode.d.ts} +4 -7
- package/dist/vote-mode.js +14 -0
- package/dist/vote-mode.js.map +1 -0
- package/{generated/openapi/model/workflow-create.ts → dist/workflow-create.d.ts} +3 -6
- package/dist/workflow-create.js +3 -0
- package/dist/workflow-create.js.map +1 -0
- package/{generated/openapi/model/workflow-vote-request.ts → dist/workflow-vote-request.d.ts} +3 -6
- package/dist/workflow-vote-request.js +3 -0
- package/dist/workflow-vote-request.js.map +1 -0
- package/{generated/openapi/model/workflow.ts → dist/workflow.d.ts} +3 -6
- package/dist/workflow.js +3 -0
- package/dist/workflow.js.map +1 -0
- package/package.json +11 -6
- /package/{generated/openapi/model/models.ts → dist/models.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-group-entities-200-response.js","sourceRoot":"","sources":["../generated/openapi/model/list-group-entities-200-response.ts"],"names":[],"mappings":""}
|
package/{generated/openapi/model/list-groups-200-response.ts → dist/list-groups-200-response.d.ts}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Group } from './group';
|
|
13
13
|
import { Pagination } from './pagination';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export interface ListGroups200Response {
|
|
14
|
+
export interface ListGroups200Response {
|
|
17
15
|
groups: Array<Group>;
|
|
18
16
|
pagination: Pagination;
|
|
19
17
|
}
|
|
20
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-groups-200-response.js","sourceRoot":"","sources":["../generated/openapi/model/list-groups-200-response.ts"],"names":[],"mappings":""}
|
package/{generated/openapi/model/list-users-200-response.ts → dist/list-users-200-response.d.ts}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Pagination } from './pagination';
|
|
13
13
|
import { UserSummary } from './user-summary';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export interface ListUsers200Response {
|
|
14
|
+
export interface ListUsers200Response {
|
|
17
15
|
users: Array<UserSummary>;
|
|
18
16
|
pagination: Pagination;
|
|
19
17
|
}
|
|
20
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-users-200-response.js","sourceRoot":"","sources":["../generated/openapi/model/list-users-200-response.ts"],"names":[],"mappings":""}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Pagination } from './pagination';
|
|
13
13
|
import { Workflow } from './workflow';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export interface ListWorkflows200Response {
|
|
14
|
+
export interface ListWorkflows200Response {
|
|
17
15
|
data: Array<Workflow>;
|
|
18
16
|
pagination: Pagination;
|
|
19
17
|
}
|
|
20
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-workflows-200-response.js","sourceRoot":"","sources":["../generated/openapi/model/list-workflows-200-response.ts"],"names":[],"mappings":""}
|
package/dist/models.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./api-error"), exports);
|
|
18
|
+
__exportStar(require("./api-error-details-inner"), exports);
|
|
19
|
+
__exportStar(require("./add-group-entities-request"), exports);
|
|
20
|
+
__exportStar(require("./and-rule"), exports);
|
|
21
|
+
__exportStar(require("./approval-rule"), exports);
|
|
22
|
+
__exportStar(require("./can-vote-response"), exports);
|
|
23
|
+
__exportStar(require("./entity-membership-add"), exports);
|
|
24
|
+
__exportStar(require("./entity-membership-remove"), exports);
|
|
25
|
+
__exportStar(require("./entity-reference"), exports);
|
|
26
|
+
__exportStar(require("./group"), exports);
|
|
27
|
+
__exportStar(require("./group-create"), exports);
|
|
28
|
+
__exportStar(require("./group-membership"), exports);
|
|
29
|
+
__exportStar(require("./group-requirement-rule"), exports);
|
|
30
|
+
__exportStar(require("./list-group-entities-200-response"), exports);
|
|
31
|
+
__exportStar(require("./list-groups-200-response"), exports);
|
|
32
|
+
__exportStar(require("./list-users-200-response"), exports);
|
|
33
|
+
__exportStar(require("./list-workflows-200-response"), exports);
|
|
34
|
+
__exportStar(require("./or-rule"), exports);
|
|
35
|
+
__exportStar(require("./pagination"), exports);
|
|
36
|
+
__exportStar(require("./remove-group-entities-request"), exports);
|
|
37
|
+
__exportStar(require("./user"), exports);
|
|
38
|
+
__exportStar(require("./user-create"), exports);
|
|
39
|
+
__exportStar(require("./user-summary"), exports);
|
|
40
|
+
__exportStar(require("./vote-mode"), exports);
|
|
41
|
+
__exportStar(require("./workflow"), exports);
|
|
42
|
+
__exportStar(require("./workflow-create"), exports);
|
|
43
|
+
__exportStar(require("./workflow-vote-request"), exports);
|
|
44
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../generated/openapi/model/models.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,4DAA0C;AAC1C,+DAA6C;AAC7C,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,0CAAwB;AACxB,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC;AACzC,qEAAmD;AACnD,6DAA2C;AAC3C,4DAA0C;AAC1C,gEAA8C;AAC9C,4CAA0B;AAC1B,+CAA6B;AAC7B,kEAAgD;AAChD,yCAAuB;AACvB,gDAA8B;AAC9B,iDAA+B;AAC/B,8CAA4B;AAC5B,6CAA2B;AAC3B,oDAAkC;AAClC,0DAAwC"}
|
|
@@ -2,20 +2,18 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ApprovalRule } from './approval-rule';
|
|
13
|
-
|
|
14
|
-
|
|
15
13
|
/**
|
|
16
14
|
* An OR rule requiring at least one of the nested rules to be satisfied.
|
|
17
15
|
*/
|
|
18
|
-
export interface OrRule {
|
|
16
|
+
export interface OrRule {
|
|
19
17
|
/**
|
|
20
18
|
* Rule type (OR)
|
|
21
19
|
*/
|
|
@@ -25,11 +23,9 @@ export interface OrRule {
|
|
|
25
23
|
*/
|
|
26
24
|
rules: Array<ApprovalRule>;
|
|
27
25
|
}
|
|
28
|
-
export namespace OrRule {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Or:
|
|
26
|
+
export declare namespace OrRule {
|
|
27
|
+
type TypeEnum = 'OR';
|
|
28
|
+
const TypeEnum: {
|
|
29
|
+
Or: TypeEnum;
|
|
32
30
|
};
|
|
33
31
|
}
|
|
34
|
-
|
|
35
|
-
|
package/dist/or-rule.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrRule = void 0;
|
|
4
|
+
var OrRule;
|
|
5
|
+
(function (OrRule) {
|
|
6
|
+
OrRule.TypeEnum = {
|
|
7
|
+
Or: 'OR'
|
|
8
|
+
};
|
|
9
|
+
})(OrRule || (exports.OrRule = OrRule = {}));
|
|
10
|
+
//# sourceMappingURL=or-rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"or-rule.js","sourceRoot":"","sources":["../generated/openapi/model/or-rule.ts"],"names":[],"mappings":";;;AA2BA,IAAiB,MAAM,CAKtB;AALD,WAAiB,MAAM;IAEN,eAAQ,GAAG;QACpB,EAAE,EAAE,IAAgB;KACvB,CAAC;AACN,CAAC,EALgB,MAAM,sBAAN,MAAM,QAKtB"}
|
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface Pagination {
|
|
12
|
+
export interface Pagination {
|
|
15
13
|
/**
|
|
16
14
|
* Total number of items
|
|
17
15
|
*/
|
|
@@ -25,4 +23,3 @@ export interface Pagination {
|
|
|
25
23
|
*/
|
|
26
24
|
limit: number;
|
|
27
25
|
}
|
|
28
|
-
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.1
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=pagination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.js","sourceRoot":"","sources":["../generated/openapi/model/pagination.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -2,23 +2,20 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { EntityMembershipRemove } from './entity-membership-remove';
|
|
13
|
-
|
|
14
|
-
|
|
15
13
|
/**
|
|
16
14
|
* Defines operations to remove entities within a group
|
|
17
15
|
*/
|
|
18
|
-
export interface RemoveGroupEntitiesRequest {
|
|
16
|
+
export interface RemoveGroupEntitiesRequest {
|
|
19
17
|
/**
|
|
20
18
|
* List of entities to remove from the group.
|
|
21
19
|
*/
|
|
22
20
|
entities: Array<EntityMembershipRemove>;
|
|
23
21
|
}
|
|
24
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-group-entities-request.js","sourceRoot":"","sources":["../generated/openapi/model/remove-group-entities-request.ts"],"names":[],"mappings":""}
|
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface UserCreate {
|
|
12
|
+
export interface UserCreate {
|
|
15
13
|
/**
|
|
16
14
|
* User\'s display name.
|
|
17
15
|
*/
|
|
@@ -25,4 +23,3 @@ export interface UserCreate {
|
|
|
25
23
|
*/
|
|
26
24
|
orgRole: string;
|
|
27
25
|
}
|
|
28
|
-
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.1
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=user-create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-create.js","sourceRoot":"","sources":["../generated/openapi/model/user-create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface UserSummary {
|
|
12
|
+
export interface UserSummary {
|
|
15
13
|
/**
|
|
16
14
|
* Internal unique identifier for the user.
|
|
17
15
|
*/
|
|
@@ -25,4 +23,3 @@ export interface UserSummary {
|
|
|
25
23
|
*/
|
|
26
24
|
email: string;
|
|
27
25
|
}
|
|
28
|
-
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.1
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=user-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-summary.js","sourceRoot":"","sources":["../generated/openapi/model/user-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface User {
|
|
12
|
+
export interface User {
|
|
15
13
|
/**
|
|
16
14
|
* Internal unique identifier for the user.
|
|
17
15
|
*/
|
|
@@ -29,4 +27,3 @@ export interface User {
|
|
|
29
27
|
*/
|
|
30
28
|
readonly createdAt: string;
|
|
31
29
|
}
|
|
32
|
-
|
package/dist/user.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.1
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=user.js.map
|
package/dist/user.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../generated/openapi/model/user.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -2,19 +2,16 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface VoteMode {
|
|
12
|
+
export interface VoteMode {
|
|
15
13
|
/**
|
|
16
|
-
* Specifies the mode of voting. VOTE_FOR_ALL means the vote applies based on the user\'s direct eligibility. VOTE_FOR_GROUPS (future) would imply voting on behalf of specific groups.
|
|
14
|
+
* Specifies the mode of voting. VOTE_FOR_ALL means the vote applies based on the user\'s direct eligibility. VOTE_FOR_GROUPS (future) would imply voting on behalf of specific groups.
|
|
17
15
|
*/
|
|
18
16
|
type: string;
|
|
19
17
|
}
|
|
20
|
-
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.1
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=vote-mode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vote-mode.js","sourceRoot":"","sources":["../generated/openapi/model/vote-mode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -2,17 +2,15 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ApprovalRule } from './approval-rule';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export interface WorkflowCreate {
|
|
13
|
+
export interface WorkflowCreate {
|
|
16
14
|
/**
|
|
17
15
|
* User-friendly name for the workflow
|
|
18
16
|
*/
|
|
@@ -27,4 +25,3 @@ export interface WorkflowCreate {
|
|
|
27
25
|
metadata?: object;
|
|
28
26
|
approvalRule: ApprovalRule;
|
|
29
27
|
}
|
|
30
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-create.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-create.ts"],"names":[],"mappings":""}
|
package/{generated/openapi/model/workflow-vote-request.ts → dist/workflow-vote-request.d.ts}
RENAMED
|
@@ -2,17 +2,15 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { VoteMode } from './vote-mode';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export interface WorkflowVoteRequest {
|
|
13
|
+
export interface WorkflowVoteRequest {
|
|
16
14
|
/**
|
|
17
15
|
* The type of vote to cast.
|
|
18
16
|
*/
|
|
@@ -23,4 +21,3 @@ export interface WorkflowVoteRequest {
|
|
|
23
21
|
*/
|
|
24
22
|
reason?: string;
|
|
25
23
|
}
|
|
26
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-vote-request.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-vote-request.ts"],"names":[],"mappings":""}
|
|
@@ -2,17 +2,15 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ApprovalRule } from './approval-rule';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export interface Workflow {
|
|
13
|
+
export interface Workflow {
|
|
16
14
|
/**
|
|
17
15
|
* Unique identifier for the workflow
|
|
18
16
|
*/
|
|
@@ -43,4 +41,3 @@ export interface Workflow {
|
|
|
43
41
|
*/
|
|
44
42
|
updatedAt: string;
|
|
45
43
|
}
|
|
46
|
-
|
package/dist/workflow.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../generated/openapi/model/workflow.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -2,23 +2,28 @@
|
|
|
2
2
|
"name": "@approvio/api",
|
|
3
3
|
"author": "Giovanni Baratta",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.2",
|
|
6
6
|
"private": false,
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
7
9
|
"files": [
|
|
8
|
-
"
|
|
10
|
+
"dist"
|
|
9
11
|
],
|
|
10
12
|
"repository": {
|
|
11
13
|
"type": "git",
|
|
12
14
|
"url": "https://github.com/giovannibaratta/approvio-api"
|
|
13
15
|
},
|
|
14
16
|
"scripts": {
|
|
15
|
-
"generate:api": "openapi-generator-cli generate --openapitools openapitools.json && yarn generate:index",
|
|
17
|
+
"generate:api": "openapi-generator-cli generate --openapitools openapitools.json && yarn generate:index && yarn build",
|
|
16
18
|
"generate:index": "./scripts/generate-index.sh",
|
|
17
|
-
"lint:api": "spectral lint openapi.yaml --ruleset .spectral.yaml"
|
|
19
|
+
"lint:api": "spectral lint openapi.yaml --ruleset .spectral.yaml",
|
|
20
|
+
"build": "tsc -p tsconfig.build.json",
|
|
21
|
+
"prepublishOnly": "yarn generate:api"
|
|
18
22
|
},
|
|
19
23
|
"devDependencies": {
|
|
20
24
|
"@openapitools/openapi-generator-cli": "2.20.2",
|
|
21
|
-
"@stoplight/spectral-cli": "6.15.0"
|
|
25
|
+
"@stoplight/spectral-cli": "6.15.0",
|
|
26
|
+
"typescript": "5.7.3"
|
|
22
27
|
},
|
|
23
28
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
24
|
-
}
|
|
29
|
+
}
|
|
File without changes
|