@approvio/api 0.0.3 → 0.0.5

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.
Files changed (76) hide show
  1. package/dist/add-group-entities-request.d.ts +1 -1
  2. package/dist/and-rule.d.ts +1 -1
  3. package/dist/api-error-details-inner.d.ts +1 -1
  4. package/dist/api-error-details-inner.js +1 -1
  5. package/dist/api-error.d.ts +1 -1
  6. package/dist/approval-rule.d.ts +1 -1
  7. package/dist/can-vote-response.d.ts +1 -1
  8. package/dist/can-vote-response.js +1 -1
  9. package/dist/email-action.d.ts +30 -0
  10. package/dist/email-action.js +21 -0
  11. package/dist/email-action.js.map +1 -0
  12. package/dist/entity-membership-add.d.ts +1 -1
  13. package/dist/entity-membership-remove.d.ts +1 -1
  14. package/dist/entity-reference.d.ts +1 -1
  15. package/dist/entity-reference.js +1 -1
  16. package/dist/group-create.d.ts +1 -1
  17. package/dist/group-create.js +1 -1
  18. package/dist/group-membership.d.ts +1 -1
  19. package/dist/group-requirement-rule.d.ts +1 -1
  20. package/dist/group-requirement-rule.js +1 -1
  21. package/dist/group.d.ts +1 -1
  22. package/dist/group.js +1 -1
  23. package/dist/index.d.ts +8 -0
  24. package/dist/index.js +8 -0
  25. package/dist/index.js.map +1 -1
  26. package/dist/list-group-entities-200-response.d.ts +1 -1
  27. package/dist/list-groups-200-response.d.ts +1 -1
  28. package/dist/list-users-200-response.d.ts +1 -1
  29. package/dist/list-workflow-templates-200-response.d.ts +17 -0
  30. package/dist/list-workflow-templates-200-response.js +3 -0
  31. package/dist/list-workflow-templates-200-response.js.map +1 -0
  32. package/dist/list-workflows-200-response.d.ts +1 -1
  33. package/dist/models.d.ts +8 -0
  34. package/dist/models.js +8 -0
  35. package/dist/models.js.map +1 -1
  36. package/dist/or-rule.d.ts +1 -1
  37. package/dist/pagination.d.ts +1 -1
  38. package/dist/pagination.js +1 -1
  39. package/dist/remove-group-entities-request.d.ts +1 -1
  40. package/dist/user-create.d.ts +1 -1
  41. package/dist/user-create.js +1 -1
  42. package/dist/user-summary.d.ts +1 -1
  43. package/dist/user-summary.js +1 -1
  44. package/dist/user.d.ts +1 -1
  45. package/dist/user.js +1 -1
  46. package/dist/vote-approve.d.ts +1 -1
  47. package/dist/vote-approve.js +1 -1
  48. package/dist/vote-veto.d.ts +1 -1
  49. package/dist/vote-veto.js +1 -1
  50. package/dist/vote-withdraw.d.ts +1 -1
  51. package/dist/vote-withdraw.js +1 -1
  52. package/dist/workflow-action.d.ts +21 -0
  53. package/dist/workflow-action.js +3 -0
  54. package/dist/workflow-action.js.map +1 -0
  55. package/dist/workflow-create.d.ts +5 -3
  56. package/dist/workflow-create.js +11 -0
  57. package/dist/workflow-create.js.map +1 -1
  58. package/dist/workflow-ref.d.ts +18 -0
  59. package/dist/workflow-ref.js +3 -0
  60. package/dist/workflow-ref.js.map +1 -0
  61. package/dist/workflow-template-create.d.ts +36 -0
  62. package/dist/workflow-template-create.js +3 -0
  63. package/dist/workflow-template-create.js.map +1 -0
  64. package/dist/workflow-template-summary.d.ts +33 -0
  65. package/dist/workflow-template-summary.js +14 -0
  66. package/dist/workflow-template-summary.js.map +1 -0
  67. package/dist/workflow-template-update.d.ts +36 -0
  68. package/dist/workflow-template-update.js +3 -0
  69. package/dist/workflow-template-update.js.map +1 -0
  70. package/dist/workflow-template.d.ts +48 -0
  71. package/dist/workflow-template.js +3 -0
  72. package/dist/workflow-template.js.map +1 -0
  73. package/dist/workflow-vote-request-vote-type.d.ts +1 -1
  74. package/dist/workflow-vote-request.d.ts +1 -1
  75. package/dist/workflow.d.ts +7 -3
  76. package/package.json +1 -1
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Sends an email when workflow is approved
14
+ */
15
+ export interface EmailAction {
16
+ /**
17
+ * Action type (EMAIL)
18
+ */
19
+ type: EmailAction.TypeEnum;
20
+ /**
21
+ * List of email addresses to send the notification to
22
+ */
23
+ recipients: Array<string>;
24
+ }
25
+ export declare namespace EmailAction {
26
+ type TypeEnum = 'EMAIL';
27
+ const TypeEnum: {
28
+ Email: TypeEnum;
29
+ };
30
+ }
@@ -0,0 +1,21 @@
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.5
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
+ exports.EmailAction = void 0;
15
+ var EmailAction;
16
+ (function (EmailAction) {
17
+ EmailAction.TypeEnum = {
18
+ Email: 'EMAIL'
19
+ };
20
+ })(EmailAction || (exports.EmailAction = EmailAction = {}));
21
+ //# sourceMappingURL=email-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-action.js","sourceRoot":"","sources":["../generated/openapi/model/email-action.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAgBH,IAAiB,WAAW,CAK3B;AALD,WAAiB,WAAW;IAEX,oBAAQ,GAAG;QACpB,KAAK,EAAE,OAAmB;KAC7B,CAAC;AACN,CAAC,EALgB,WAAW,2BAAX,WAAW,QAK3B"}
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/group.d.ts CHANGED
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/group.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -4,16 +4,20 @@ export * from './group-create';
4
4
  export * from './pagination';
5
5
  export * from './and-rule';
6
6
  export * from './entity-membership-add';
7
+ export * from './email-action';
7
8
  export * from './can-vote-response';
8
9
  export * from './list-group-entities-200-response';
10
+ export * from './workflow-template-update';
9
11
  export * from './api-error';
10
12
  export * from './approval-rule';
11
13
  export * from './user';
12
14
  export * from './user-create';
13
15
  export * from './workflow-vote-request';
14
16
  export * from './api-error-details-inner';
17
+ export * from './workflow-ref';
15
18
  export * from './remove-group-entities-request';
16
19
  export * from './add-group-entities-request';
20
+ export * from './workflow-template-create';
17
21
  export * from './models';
18
22
  export * from './group';
19
23
  export * from './group-requirement-rule';
@@ -21,12 +25,16 @@ export * from './vote-veto';
21
25
  export * from './vote-withdraw';
22
26
  export * from './list-workflows-200-response';
23
27
  export * from './group-membership';
28
+ export * from './list-workflow-templates-200-response';
24
29
  export * from './list-groups-200-response';
25
30
  export * from './workflow-vote-request-vote-type';
26
31
  export * from './vote-mode';
27
32
  export * from './entity-membership-remove';
28
33
  export * from './workflow';
34
+ export * from './workflow-action';
29
35
  export * from './or-rule';
30
36
  export * from './user-summary';
31
37
  export * from './entity-reference';
32
38
  export * from './vote-approve';
39
+ export * from './workflow-template';
40
+ export * from './workflow-template-summary';
package/dist/index.js CHANGED
@@ -21,16 +21,20 @@ __exportStar(require("./group-create"), exports);
21
21
  __exportStar(require("./pagination"), exports);
22
22
  __exportStar(require("./and-rule"), exports);
23
23
  __exportStar(require("./entity-membership-add"), exports);
24
+ __exportStar(require("./email-action"), exports);
24
25
  __exportStar(require("./can-vote-response"), exports);
25
26
  __exportStar(require("./list-group-entities-200-response"), exports);
27
+ __exportStar(require("./workflow-template-update"), exports);
26
28
  __exportStar(require("./api-error"), exports);
27
29
  __exportStar(require("./approval-rule"), exports);
28
30
  __exportStar(require("./user"), exports);
29
31
  __exportStar(require("./user-create"), exports);
30
32
  __exportStar(require("./workflow-vote-request"), exports);
31
33
  __exportStar(require("./api-error-details-inner"), exports);
34
+ __exportStar(require("./workflow-ref"), exports);
32
35
  __exportStar(require("./remove-group-entities-request"), exports);
33
36
  __exportStar(require("./add-group-entities-request"), exports);
37
+ __exportStar(require("./workflow-template-create"), exports);
34
38
  __exportStar(require("./models"), exports);
35
39
  __exportStar(require("./group"), exports);
36
40
  __exportStar(require("./group-requirement-rule"), exports);
@@ -38,13 +42,17 @@ __exportStar(require("./vote-veto"), exports);
38
42
  __exportStar(require("./vote-withdraw"), exports);
39
43
  __exportStar(require("./list-workflows-200-response"), exports);
40
44
  __exportStar(require("./group-membership"), exports);
45
+ __exportStar(require("./list-workflow-templates-200-response"), exports);
41
46
  __exportStar(require("./list-groups-200-response"), exports);
42
47
  __exportStar(require("./workflow-vote-request-vote-type"), exports);
43
48
  __exportStar(require("./vote-mode"), exports);
44
49
  __exportStar(require("./entity-membership-remove"), exports);
45
50
  __exportStar(require("./workflow"), exports);
51
+ __exportStar(require("./workflow-action"), exports);
46
52
  __exportStar(require("./or-rule"), exports);
47
53
  __exportStar(require("./user-summary"), exports);
48
54
  __exportStar(require("./entity-reference"), exports);
49
55
  __exportStar(require("./vote-approve"), exports);
56
+ __exportStar(require("./workflow-template"), exports);
57
+ __exportStar(require("./workflow-template-summary"), exports);
50
58
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../generated/openapi/model/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;;;;;;;;;;;;;;;;AAE5B,oDAAkC;AAClC,4DAA0C;AAC1C,iDAA+B;AAC/B,+CAA6B;AAC7B,6CAA2B;AAC3B,0DAAwC;AACxC,sDAAoC;AACpC,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,yCAAuB;AACvB,gDAA8B;AAC9B,0DAAwC;AACxC,4DAA0C;AAC1C,kEAAgD;AAChD,+DAA6C;AAC7C,2CAAyB;AACzB,0CAAwB;AACxB,2DAAyC;AACzC,8CAA4B;AAC5B,kDAAgC;AAChC,gEAA8C;AAC9C,qDAAmC;AACnC,6DAA2C;AAC3C,oEAAkD;AAClD,8CAA4B;AAC5B,6DAA2C;AAC3C,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../generated/openapi/model/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;;;;;;;;;;;;;;;;AAE5B,oDAAkC;AAClC,4DAA0C;AAC1C,iDAA+B;AAC/B,+CAA6B;AAC7B,6CAA2B;AAC3B,0DAAwC;AACxC,iDAA+B;AAC/B,sDAAoC;AACpC,qEAAmD;AACnD,6DAA2C;AAC3C,8CAA4B;AAC5B,kDAAgC;AAChC,yCAAuB;AACvB,gDAA8B;AAC9B,0DAAwC;AACxC,4DAA0C;AAC1C,iDAA+B;AAC/B,kEAAgD;AAChD,+DAA6C;AAC7C,6DAA2C;AAC3C,2CAAyB;AACzB,0CAAwB;AACxB,2DAAyC;AACzC,8CAA4B;AAC5B,kDAAgC;AAChC,gEAA8C;AAC9C,qDAAmC;AACnC,yEAAuD;AACvD,6DAA2C;AAC3C,oEAAkD;AAClD,8CAA4B;AAC5B,6DAA2C;AAC3C,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,8DAA4C"}
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Pagination } from './pagination';
13
+ import { WorkflowTemplateSummary } from './workflow-template-summary';
14
+ export interface ListWorkflowTemplates200Response {
15
+ data: Array<WorkflowTemplateSummary>;
16
+ pagination: Pagination;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=list-workflow-templates-200-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-workflow-templates-200-response.js","sourceRoot":"","sources":["../generated/openapi/model/list-workflow-templates-200-response.ts"],"names":[],"mappings":""}
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/models.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './add-group-entities-request';
4
4
  export * from './and-rule';
5
5
  export * from './approval-rule';
6
6
  export * from './can-vote-response';
7
+ export * from './email-action';
7
8
  export * from './entity-membership-add';
8
9
  export * from './entity-membership-remove';
9
10
  export * from './entity-reference';
@@ -14,6 +15,7 @@ export * from './group-requirement-rule';
14
15
  export * from './list-group-entities-200-response';
15
16
  export * from './list-groups-200-response';
16
17
  export * from './list-users-200-response';
18
+ export * from './list-workflow-templates-200-response';
17
19
  export * from './list-workflows-200-response';
18
20
  export * from './or-rule';
19
21
  export * from './pagination';
@@ -25,6 +27,12 @@ export * from './vote-approve';
25
27
  export * from './vote-veto';
26
28
  export * from './vote-withdraw';
27
29
  export * from './workflow';
30
+ export * from './workflow-action';
28
31
  export * from './workflow-create';
32
+ export * from './workflow-ref';
33
+ export * from './workflow-template';
34
+ export * from './workflow-template-create';
35
+ export * from './workflow-template-summary';
36
+ export * from './workflow-template-update';
29
37
  export * from './workflow-vote-request';
30
38
  export * from './workflow-vote-request-vote-type';
package/dist/models.js CHANGED
@@ -20,6 +20,7 @@ __exportStar(require("./add-group-entities-request"), exports);
20
20
  __exportStar(require("./and-rule"), exports);
21
21
  __exportStar(require("./approval-rule"), exports);
22
22
  __exportStar(require("./can-vote-response"), exports);
23
+ __exportStar(require("./email-action"), exports);
23
24
  __exportStar(require("./entity-membership-add"), exports);
24
25
  __exportStar(require("./entity-membership-remove"), exports);
25
26
  __exportStar(require("./entity-reference"), exports);
@@ -30,6 +31,7 @@ __exportStar(require("./group-requirement-rule"), exports);
30
31
  __exportStar(require("./list-group-entities-200-response"), exports);
31
32
  __exportStar(require("./list-groups-200-response"), exports);
32
33
  __exportStar(require("./list-users-200-response"), exports);
34
+ __exportStar(require("./list-workflow-templates-200-response"), exports);
33
35
  __exportStar(require("./list-workflows-200-response"), exports);
34
36
  __exportStar(require("./or-rule"), exports);
35
37
  __exportStar(require("./pagination"), exports);
@@ -41,7 +43,13 @@ __exportStar(require("./vote-approve"), exports);
41
43
  __exportStar(require("./vote-veto"), exports);
42
44
  __exportStar(require("./vote-withdraw"), exports);
43
45
  __exportStar(require("./workflow"), exports);
46
+ __exportStar(require("./workflow-action"), exports);
44
47
  __exportStar(require("./workflow-create"), exports);
48
+ __exportStar(require("./workflow-ref"), exports);
49
+ __exportStar(require("./workflow-template"), exports);
50
+ __exportStar(require("./workflow-template-create"), exports);
51
+ __exportStar(require("./workflow-template-summary"), exports);
52
+ __exportStar(require("./workflow-template-update"), exports);
45
53
  __exportStar(require("./workflow-vote-request"), exports);
46
54
  __exportStar(require("./workflow-vote-request-vote-type"), exports);
47
55
  //# sourceMappingURL=models.js.map
@@ -1 +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,iDAA+B;AAC/B,8CAA4B;AAC5B,kDAAgC;AAChC,6CAA2B;AAC3B,oDAAkC;AAClC,0DAAwC;AACxC,oEAAkD"}
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,iDAA+B;AAC/B,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,0CAAwB;AACxB,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC;AACzC,qEAAmD;AACnD,6DAA2C;AAC3C,4DAA0C;AAC1C,yEAAuD;AACvD,gEAA8C;AAC9C,4CAA0B;AAC1B,+CAA6B;AAC7B,kEAAgD;AAChD,yCAAuB;AACvB,gDAA8B;AAC9B,iDAA+B;AAC/B,iDAA+B;AAC/B,8CAA4B;AAC5B,kDAAgC;AAChC,6CAA2B;AAC3B,oDAAkC;AAClC,oDAAkC;AAClC,iDAA+B;AAC/B,sDAAoC;AACpC,6DAA2C;AAC3C,8DAA4C;AAC5C,6DAA2C;AAC3C,0DAAwC;AACxC,oEAAkD"}
package/dist/or-rule.d.ts CHANGED
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/user.d.ts CHANGED
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/user.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/vote-veto.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.3
6
+ * The version of the OpenAPI document: 0.0.5
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { EmailAction } from './email-action';
13
+ /**
14
+ * Configuration for actions to be executed when workflow is approved. Currently supports email actions.
15
+ */
16
+ /**
17
+ * @type WorkflowAction
18
+ * Configuration for actions to be executed when workflow is approved. Currently supports email actions.
19
+ * @export
20
+ */
21
+ export type WorkflowAction = EmailAction;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workflow-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-action.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-action.ts"],"names":[],"mappings":""}
@@ -2,14 +2,13 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
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
- import { ApprovalRule } from './approval-rule';
13
12
  export interface WorkflowCreate {
14
13
  /**
15
14
  * User-friendly name for the workflow
@@ -23,5 +22,8 @@ export interface WorkflowCreate {
23
22
  * Additional custom metadata for the workflow
24
23
  */
25
24
  metadata?: object;
26
- approvalRule: ApprovalRule;
25
+ /**
26
+ * The unique identifier of the workflow template to use as parent
27
+ */
28
+ workflowTemplateId: string;
27
29
  }
@@ -1,3 +1,14 @@
1
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.5
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
+ */
2
13
  Object.defineProperty(exports, "__esModule", { value: true });
3
14
  //# sourceMappingURL=workflow-create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-create.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-create.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"workflow-create.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { WorkflowTemplate } from './workflow-template';
13
+ /**
14
+ * Referenced objects (optional, controlled by include query parameters)
15
+ */
16
+ export interface WorkflowRef {
17
+ workflowTemplate?: WorkflowTemplate;
18
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workflow-ref.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-ref.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-ref.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { WorkflowAction } from './workflow-action';
13
+ import { ApprovalRule } from './approval-rule';
14
+ export interface WorkflowTemplateCreate {
15
+ /**
16
+ * User-friendly name for the workflow template
17
+ */
18
+ name: string;
19
+ /**
20
+ * Detailed description of the workflow template
21
+ */
22
+ description?: string;
23
+ /**
24
+ * Additional custom metadata for the workflow template
25
+ */
26
+ metadata?: object;
27
+ approvalRule: ApprovalRule;
28
+ /**
29
+ * Actions to be executed when workflow is approved
30
+ */
31
+ actions?: Array<WorkflowAction>;
32
+ /**
33
+ * Default expiry time for workflows created from this template (in hours, max 1 year)
34
+ */
35
+ defaultExpiresInHours?: number;
36
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workflow-template-create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-template-create.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template-create.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface WorkflowTemplateSummary {
13
+ /**
14
+ * Internal unique identifier for the workflow template.
15
+ */
16
+ readonly id: string;
17
+ /**
18
+ * User-friendly name for the workflow template.
19
+ */
20
+ name: string;
21
+ /**
22
+ * Detailed description of the workflow template.
23
+ */
24
+ description?: string;
25
+ /**
26
+ * Timestamp when the workflow template was created.
27
+ */
28
+ readonly createdAt: string;
29
+ /**
30
+ * Timestamp when the workflow template was last updated.
31
+ */
32
+ readonly updatedAt: string;
33
+ }
@@ -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.5
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=workflow-template-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-template-summary.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { WorkflowAction } from './workflow-action';
13
+ import { ApprovalRule } from './approval-rule';
14
+ export interface WorkflowTemplateUpdate {
15
+ /**
16
+ * User-friendly name for the workflow template
17
+ */
18
+ name?: string;
19
+ /**
20
+ * Detailed description of the workflow template
21
+ */
22
+ description?: string;
23
+ /**
24
+ * Additional custom metadata for the workflow template
25
+ */
26
+ metadata?: object;
27
+ approvalRule?: ApprovalRule;
28
+ /**
29
+ * Actions to be executed when workflow is approved
30
+ */
31
+ actions?: Array<WorkflowAction>;
32
+ /**
33
+ * Default expiry time for workflows created from this template (in hours, max 1 year)
34
+ */
35
+ defaultExpiresInHours?: number;
36
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workflow-template-update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-template-update.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template-update.ts"],"names":[],"mappings":""}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { WorkflowAction } from './workflow-action';
13
+ import { ApprovalRule } from './approval-rule';
14
+ export interface WorkflowTemplate {
15
+ /**
16
+ * Unique identifier for the workflow template
17
+ */
18
+ id: string;
19
+ /**
20
+ * User-friendly name for the workflow template
21
+ */
22
+ name: string;
23
+ /**
24
+ * Detailed description of the workflow template
25
+ */
26
+ description?: string;
27
+ approvalRule: ApprovalRule;
28
+ /**
29
+ * Additional custom metadata for the workflow template
30
+ */
31
+ metadata?: object;
32
+ /**
33
+ * Actions to be executed when workflow is approved
34
+ */
35
+ actions?: Array<WorkflowAction>;
36
+ /**
37
+ * Default expiry time for workflows created from this template (in hours, max 1 year)
38
+ */
39
+ defaultExpiresInHours?: number;
40
+ /**
41
+ * Creation timestamp
42
+ */
43
+ createdAt: string;
44
+ /**
45
+ * Last update timestamp
46
+ */
47
+ updatedAt: string;
48
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workflow-template.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-template.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template.ts"],"names":[],"mappings":""}
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,14 +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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.5
6
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
- import { ApprovalRule } from './approval-rule';
12
+ import { WorkflowRef } from './workflow-ref';
13
13
  export interface Workflow {
14
14
  /**
15
15
  * Unique identifier for the workflow
@@ -27,11 +27,15 @@ export interface Workflow {
27
27
  * Current status of the workflow
28
28
  */
29
29
  status: string;
30
- approvalRule: ApprovalRule;
30
+ /**
31
+ * The unique identifier of the workflow template used as parent
32
+ */
33
+ workflowTemplateId: string;
31
34
  /**
32
35
  * Additional custom metadata for the workflow
33
36
  */
34
37
  metadata: object;
38
+ ref?: WorkflowRef;
35
39
  /**
36
40
  * Creation timestamp
37
41
  */
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.3",
5
+ "version": "0.0.5",
6
6
  "private": false,
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",