@approvio/api 0.0.29 → 0.0.31
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 +12 -1
- package/dist/mocks/index.cjs +137 -0
- package/dist/mocks/index.d.cts +44 -0
- package/dist/mocks/index.d.mts +44 -0
- package/dist/mocks/index.mjs +118 -0
- package/dist/src/index.cjs +1494 -0
- package/dist/src/index.d.cts +1434 -0
- package/dist/src/index.d.mts +1434 -0
- package/dist/src/index.mjs +1356 -0
- package/dist/workflow-create-DVgNnx0X.d.mts +506 -0
- package/dist/workflow-create-Dgj7wWZs.d.cts +506 -0
- package/package.json +54 -13
- package/dist/add-group-entities-request.d.ts +0 -21
- package/dist/add-group-entities-request.js +0 -3
- package/dist/add-group-entities-request.js.map +0 -1
- package/dist/agent-challenge-request.d.ts +0 -17
- package/dist/agent-challenge-request.js +0 -14
- package/dist/agent-challenge-request.js.map +0 -1
- package/dist/agent-challenge-response.d.ts +0 -17
- package/dist/agent-challenge-response.js +0 -14
- package/dist/agent-challenge-response.js.map +0 -1
- package/dist/agent-get200-response.d.ts +0 -29
- package/dist/agent-get200-response.js +0 -14
- package/dist/agent-get200-response.js.map +0 -1
- package/dist/agent-public-details.d.ts +0 -29
- package/dist/agent-public-details.js +0 -14
- package/dist/agent-public-details.js.map +0 -1
- package/dist/agent-registration-request.d.ts +0 -17
- package/dist/agent-registration-request.js +0 -14
- package/dist/agent-registration-request.js.map +0 -1
- package/dist/agent-registration-response.d.ts +0 -33
- package/dist/agent-registration-response.js +0 -14
- package/dist/agent-registration-response.js.map +0 -1
- package/dist/agent-summary.d.ts +0 -21
- package/dist/agent-summary.js +0 -14
- package/dist/agent-summary.js.map +0 -1
- package/dist/agent-token-request.d.ts +0 -35
- package/dist/agent-token-request.js +0 -24
- package/dist/agent-token-request.js.map +0 -1
- package/dist/agent-token-response.d.ts +0 -21
- package/dist/agent-token-response.js +0 -14
- package/dist/agent-token-response.js.map +0 -1
- package/dist/and-rule.d.ts +0 -31
- package/dist/and-rule.js +0 -10
- package/dist/and-rule.js.map +0 -1
- package/dist/api-error-details-inner.d.ts +0 -15
- package/dist/api-error-details-inner.js +0 -14
- package/dist/api-error-details-inner.js.map +0 -1
- package/dist/api-error.d.ts +0 -23
- package/dist/api-error.js +0 -3
- package/dist/api-error.js.map +0 -1
- package/dist/approval-rule.d.ts +0 -23
- package/dist/approval-rule.js +0 -3
- package/dist/approval-rule.js.map +0 -1
- package/dist/auth-message-response.d.ts +0 -29
- package/dist/auth-message-response.js +0 -14
- package/dist/auth-message-response.js.map +0 -1
- package/dist/bound-role.d.ts +0 -34
- package/dist/bound-role.js +0 -3
- package/dist/bound-role.js.map +0 -1
- package/dist/can-vote-response.d.ts +0 -29
- package/dist/can-vote-response.js +0 -14
- package/dist/can-vote-response.js.map +0 -1
- package/dist/email-action.d.ts +0 -30
- package/dist/email-action.js +0 -21
- package/dist/email-action.js.map +0 -1
- package/dist/entity-membership-add.d.ts +0 -15
- package/dist/entity-membership-add.js +0 -3
- package/dist/entity-membership-add.js.map +0 -1
- package/dist/entity-membership-remove.d.ts +0 -15
- package/dist/entity-membership-remove.js +0 -3
- package/dist/entity-membership-remove.js.map +0 -1
- package/dist/entity-reference.d.ts +0 -21
- package/dist/entity-reference.js +0 -14
- package/dist/entity-reference.js.map +0 -1
- package/dist/failed-auth-response.d.ts +0 -17
- package/dist/failed-auth-response.js +0 -14
- package/dist/failed-auth-response.js.map +0 -1
- package/dist/get-entity-info-200-response.d.ts +0 -19
- package/dist/get-entity-info-200-response.js +0 -3
- package/dist/get-entity-info-200-response.js.map +0 -1
- package/dist/get-user-info-200-response.d.ts +0 -19
- package/dist/get-user-info-200-response.js +0 -3
- package/dist/get-user-info-200-response.js.map +0 -1
- package/dist/get-workflow-params.d.ts +0 -17
- package/dist/get-workflow-params.js +0 -14
- package/dist/get-workflow-params.js.map +0 -1
- package/dist/get-workflow-votes-200-response.d.ts +0 -15
- package/dist/get-workflow-votes-200-response.js +0 -3
- package/dist/get-workflow-votes-200-response.js.map +0 -1
- package/dist/group-create.d.ts +0 -21
- package/dist/group-create.js +0 -14
- package/dist/group-create.js.map +0 -1
- package/dist/group-info.d.ts +0 -15
- package/dist/group-info.js +0 -14
- package/dist/group-info.js.map +0 -1
- package/dist/group-membership.d.ts +0 -19
- package/dist/group-membership.js +0 -3
- package/dist/group-membership.js.map +0 -1
- package/dist/group-requirement-rule.d.ts +0 -38
- package/dist/group-requirement-rule.js +0 -21
- package/dist/group-requirement-rule.js.map +0 -1
- package/dist/group-scope.d.ts +0 -30
- package/dist/group-scope.js +0 -21
- package/dist/group-scope.js.map +0 -1
- package/dist/group.d.ts +0 -37
- package/dist/group.js +0 -14
- package/dist/group.js.map +0 -1
- package/dist/health-response.d.ts +0 -21
- package/dist/health-response.js +0 -14
- package/dist/health-response.js.map +0 -1
- package/dist/index.d.ts +0 -99
- package/dist/index.html +0 -1274
- package/dist/index.js +0 -117
- package/dist/index.js.map +0 -1
- package/dist/initiate-cli-login-200-response.d.ts +0 -14
- package/dist/initiate-cli-login-200-response.js +0 -14
- package/dist/initiate-cli-login-200-response.js.map +0 -1
- package/dist/initiate-cli-login-request.d.ts +0 -17
- package/dist/initiate-cli-login-request.js +0 -14
- package/dist/initiate-cli-login-request.js.map +0 -1
- package/dist/list-agents-200-response.d.ts +0 -17
- package/dist/list-agents-200-response.js +0 -3
- package/dist/list-agents-200-response.js.map +0 -1
- package/dist/list-agents-params.d.ts +0 -21
- package/dist/list-agents-params.js +0 -14
- package/dist/list-agents-params.js.map +0 -1
- package/dist/list-group-entities-200-response.d.ts +0 -17
- package/dist/list-group-entities-200-response.js +0 -3
- package/dist/list-group-entities-200-response.js.map +0 -1
- package/dist/list-groups-200-response.d.ts +0 -17
- package/dist/list-groups-200-response.js +0 -3
- package/dist/list-groups-200-response.js.map +0 -1
- package/dist/list-organization-admins-200-response.d.ts +0 -17
- package/dist/list-organization-admins-200-response.js +0 -3
- package/dist/list-organization-admins-200-response.js.map +0 -1
- package/dist/list-organization-admins-for-org-200-response.d.ts +0 -17
- package/dist/list-organization-admins-for-org-200-response.js +0 -3
- package/dist/list-organization-admins-for-org-200-response.js.map +0 -1
- package/dist/list-role-templates-200-response.d.ts +0 -15
- package/dist/list-role-templates-200-response.js +0 -3
- package/dist/list-role-templates-200-response.js.map +0 -1
- package/dist/list-spaces-200-response.d.ts +0 -17
- package/dist/list-spaces-200-response.js +0 -3
- package/dist/list-spaces-200-response.js.map +0 -1
- package/dist/list-users-200-response.d.ts +0 -17
- package/dist/list-users-200-response.js +0 -3
- package/dist/list-users-200-response.js.map +0 -1
- package/dist/list-workflow-templates-200-response.d.ts +0 -17
- package/dist/list-workflow-templates-200-response.js +0 -3
- package/dist/list-workflow-templates-200-response.js.map +0 -1
- package/dist/list-workflow-templates-params.d.ts +0 -25
- package/dist/list-workflow-templates-params.js +0 -14
- package/dist/list-workflow-templates-params.js.map +0 -1
- package/dist/list-workflows-200-response.d.ts +0 -17
- package/dist/list-workflows-200-response.js +0 -3
- package/dist/list-workflows-200-response.js.map +0 -1
- package/dist/list-workflows-params.d.ts +0 -33
- package/dist/list-workflows-params.js +0 -14
- package/dist/list-workflows-params.js.map +0 -1
- package/dist/models.d.ts +0 -86
- package/dist/models.js +0 -103
- package/dist/models.js.map +0 -1
- package/dist/oidc-callback-request.d.ts +0 -21
- package/dist/oidc-callback-request.js +0 -14
- package/dist/oidc-callback-request.js.map +0 -1
- package/dist/or-rule.d.ts +0 -31
- package/dist/or-rule.js +0 -10
- package/dist/or-rule.js.map +0 -1
- package/dist/org-scope.d.ts +0 -26
- package/dist/org-scope.js +0 -21
- package/dist/org-scope.js.map +0 -1
- package/dist/organization-admin-create.d.ts +0 -17
- package/dist/organization-admin-create.js +0 -14
- package/dist/organization-admin-create.js.map +0 -1
- package/dist/organization-admin-remove.d.ts +0 -17
- package/dist/organization-admin-remove.js +0 -14
- package/dist/organization-admin-remove.js.map +0 -1
- package/dist/organization-admin.d.ts +0 -25
- package/dist/organization-admin.js +0 -14
- package/dist/organization-admin.js.map +0 -1
- package/dist/pagination.d.ts +0 -25
- package/dist/pagination.js +0 -14
- package/dist/pagination.js.map +0 -1
- package/dist/privileged-token-exchange-request.d.ts +0 -29
- package/dist/privileged-token-exchange-request.js +0 -14
- package/dist/privileged-token-exchange-request.js.map +0 -1
- package/dist/privileged-token-response.d.ts +0 -17
- package/dist/privileged-token-response.js +0 -14
- package/dist/privileged-token-response.js.map +0 -1
- package/dist/refresh-token-request.d.ts +0 -17
- package/dist/refresh-token-request.js +0 -14
- package/dist/refresh-token-request.js.map +0 -1
- package/dist/remove-group-entities-request.d.ts +0 -21
- package/dist/remove-group-entities-request.js +0 -3
- package/dist/remove-group-entities-request.js.map +0 -1
- package/dist/role-assignment-item.d.ts +0 -22
- package/dist/role-assignment-item.js +0 -3
- package/dist/role-assignment-item.js.map +0 -1
- package/dist/role-assignment-request.d.ts +0 -21
- package/dist/role-assignment-request.js +0 -3
- package/dist/role-assignment-request.js.map +0 -1
- package/dist/role-operation-item.d.ts +0 -22
- package/dist/role-operation-item.js +0 -3
- package/dist/role-operation-item.js.map +0 -1
- package/dist/role-operation-request.d.ts +0 -21
- package/dist/role-operation-request.js +0 -3
- package/dist/role-operation-request.js.map +0 -1
- package/dist/role-removal-request.d.ts +0 -21
- package/dist/role-removal-request.js +0 -3
- package/dist/role-removal-request.js.map +0 -1
- package/dist/role-scope.d.ts +0 -24
- package/dist/role-scope.js +0 -3
- package/dist/role-scope.js.map +0 -1
- package/dist/role-template.d.ts +0 -25
- package/dist/role-template.js +0 -14
- package/dist/role-template.js.map +0 -1
- package/dist/role.d.ts +0 -26
- package/dist/role.js +0 -3
- package/dist/role.js.map +0 -1
- package/dist/space-create.d.ts +0 -21
- package/dist/space-create.js +0 -14
- package/dist/space-create.js.map +0 -1
- package/dist/space-scope.d.ts +0 -30
- package/dist/space-scope.js +0 -21
- package/dist/space-scope.js.map +0 -1
- package/dist/space.d.ts +0 -33
- package/dist/space.js +0 -14
- package/dist/space.js.map +0 -1
- package/dist/step-up-operation.d.ts +0 -19
- package/dist/step-up-operation.js +0 -19
- package/dist/step-up-operation.js.map +0 -1
- package/dist/step-up-token-request.d.ts +0 -25
- package/dist/step-up-token-request.js +0 -3
- package/dist/step-up-token-request.js.map +0 -1
- package/dist/successful-auth-response.d.ts +0 -29
- package/dist/successful-auth-response.js +0 -14
- package/dist/successful-auth-response.js.map +0 -1
- package/dist/token-request.d.ts +0 -21
- package/dist/token-request.js +0 -14
- package/dist/token-request.js.map +0 -1
- package/dist/token-response.d.ts +0 -21
- package/dist/token-response.js +0 -14
- package/dist/token-response.js.map +0 -1
- package/dist/user-create.d.ts +0 -25
- package/dist/user-create.js +0 -14
- package/dist/user-create.js.map +0 -1
- package/dist/user-summary.d.ts +0 -25
- package/dist/user-summary.js +0 -14
- package/dist/user-summary.js.map +0 -1
- package/dist/user.d.ts +0 -33
- package/dist/user.js +0 -14
- package/dist/user.js.map +0 -1
- package/dist/vote-approve.d.ts +0 -27
- package/dist/vote-approve.js +0 -21
- package/dist/vote-approve.js.map +0 -1
- package/dist/vote-mode.d.ts +0 -17
- package/dist/vote-mode.js +0 -14
- package/dist/vote-mode.js.map +0 -1
- package/dist/vote-veto.d.ts +0 -23
- package/dist/vote-veto.js +0 -21
- package/dist/vote-veto.js.map +0 -1
- package/dist/vote-withdraw.d.ts +0 -23
- package/dist/vote-withdraw.js +0 -21
- package/dist/vote-withdraw.js.map +0 -1
- package/dist/webhook-action.d.ts +0 -46
- package/dist/webhook-action.js +0 -26
- package/dist/webhook-action.js.map +0 -1
- package/dist/workflow-action.d.ts +0 -22
- package/dist/workflow-action.js +0 -3
- package/dist/workflow-action.js.map +0 -1
- package/dist/workflow-create.d.ts +0 -29
- package/dist/workflow-create.js +0 -14
- package/dist/workflow-create.js.map +0 -1
- package/dist/workflow-include.d.ts +0 -18
- package/dist/workflow-include.js +0 -18
- package/dist/workflow-include.js.map +0 -1
- package/dist/workflow-ref.d.ts +0 -18
- package/dist/workflow-ref.js +0 -3
- package/dist/workflow-ref.js.map +0 -1
- package/dist/workflow-template-create.d.ts +0 -40
- package/dist/workflow-template-create.js +0 -3
- package/dist/workflow-template-create.js.map +0 -1
- package/dist/workflow-template-delete.d.ts +0 -17
- package/dist/workflow-template-delete.js +0 -14
- package/dist/workflow-template-delete.js.map +0 -1
- package/dist/workflow-template-deprecate.d.ts +0 -17
- package/dist/workflow-template-deprecate.js +0 -14
- package/dist/workflow-template-deprecate.js.map +0 -1
- package/dist/workflow-template-scope.d.ts +0 -30
- package/dist/workflow-template-scope.js +0 -21
- package/dist/workflow-template-scope.js.map +0 -1
- package/dist/workflow-template-summary.d.ts +0 -37
- package/dist/workflow-template-summary.js +0 -14
- package/dist/workflow-template-summary.js.map +0 -1
- package/dist/workflow-template-update.d.ts +0 -36
- package/dist/workflow-template-update.js +0 -3
- package/dist/workflow-template-update.js.map +0 -1
- package/dist/workflow-template.d.ts +0 -72
- package/dist/workflow-template.js +0 -12
- package/dist/workflow-template.js.map +0 -1
- package/dist/workflow-vote-request-vote-type.d.ts +0 -19
- package/dist/workflow-vote-request-vote-type.js +0 -3
- package/dist/workflow-vote-request-vote-type.js.map +0 -1
- package/dist/workflow-vote-request.d.ts +0 -19
- package/dist/workflow-vote-request.js +0 -3
- package/dist/workflow-vote-request.js.map +0 -1
- package/dist/workflow-vote.d.ts +0 -37
- package/dist/workflow-vote.js +0 -14
- package/dist/workflow-vote.js.map +0 -1
- package/dist/workflow.d.ts +0 -51
- package/dist/workflow.js +0 -3
- package/dist/workflow.js.map +0 -1
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
//#region generated/openapi/model/or-rule.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* An OR rule requiring at least one of the nested rules to be satisfied.
|
|
4
|
+
*/
|
|
5
|
+
interface OrRule {
|
|
6
|
+
/**
|
|
7
|
+
* Rule type (OR)
|
|
8
|
+
*/
|
|
9
|
+
type: OrRule.TypeEnum;
|
|
10
|
+
/**
|
|
11
|
+
* List of rules where at least one must be satisfied. Cannot be empty.
|
|
12
|
+
*/
|
|
13
|
+
rules: Array<ApprovalRule>;
|
|
14
|
+
}
|
|
15
|
+
declare namespace OrRule {
|
|
16
|
+
type TypeEnum = 'OR';
|
|
17
|
+
const TypeEnum: {
|
|
18
|
+
Or: TypeEnum;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region generated/openapi/model/group-requirement-rule.d.ts
|
|
23
|
+
/**
|
|
24
|
+
* Workflow Approval System API
|
|
25
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
26
|
+
*
|
|
27
|
+
* The version of the OpenAPI document: 0.0.29
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
31
|
+
* https://openapi-generator.tech
|
|
32
|
+
* Do not edit the class manually.
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* Requires a minimum number of approvals from a specific group.
|
|
36
|
+
*/
|
|
37
|
+
interface GroupRequirementRule {
|
|
38
|
+
/**
|
|
39
|
+
* Rule type (GROUP_REQUIREMENT)
|
|
40
|
+
*/
|
|
41
|
+
type: GroupRequirementRule.TypeEnum;
|
|
42
|
+
/**
|
|
43
|
+
* ID of the approver group.
|
|
44
|
+
*/
|
|
45
|
+
groupId: string;
|
|
46
|
+
/**
|
|
47
|
+
* Minimum number of approvals required from the group. Must be at least 1.
|
|
48
|
+
*/
|
|
49
|
+
minCount: number;
|
|
50
|
+
/**
|
|
51
|
+
* Indicates whether a high-privilege token is required for votes fulfilling this rule.
|
|
52
|
+
*/
|
|
53
|
+
requireHighPrivilege?: boolean;
|
|
54
|
+
}
|
|
55
|
+
declare namespace GroupRequirementRule {
|
|
56
|
+
type TypeEnum = 'GROUP_REQUIREMENT';
|
|
57
|
+
const TypeEnum: {
|
|
58
|
+
GroupRequirement: TypeEnum;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region generated/openapi/model/approval-rule.d.ts
|
|
63
|
+
/**
|
|
64
|
+
* Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* @type ApprovalRule
|
|
68
|
+
* Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
type ApprovalRule = AndRule | GroupRequirementRule | OrRule;
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region generated/openapi/model/and-rule.d.ts
|
|
74
|
+
/**
|
|
75
|
+
* An AND rule requiring all nested rules to be satisfied.
|
|
76
|
+
*/
|
|
77
|
+
interface AndRule {
|
|
78
|
+
/**
|
|
79
|
+
* Rule type (AND)
|
|
80
|
+
*/
|
|
81
|
+
type: AndRule.TypeEnum;
|
|
82
|
+
/**
|
|
83
|
+
* List of rules that must all be satisfied. Cannot be empty.
|
|
84
|
+
*/
|
|
85
|
+
rules: Array<ApprovalRule>;
|
|
86
|
+
}
|
|
87
|
+
declare namespace AndRule {
|
|
88
|
+
type TypeEnum = 'AND';
|
|
89
|
+
const TypeEnum: {
|
|
90
|
+
And: TypeEnum;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region generated/openapi/model/email-action.d.ts
|
|
95
|
+
/**
|
|
96
|
+
* Workflow Approval System API
|
|
97
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
98
|
+
*
|
|
99
|
+
* The version of the OpenAPI document: 0.0.29
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
103
|
+
* https://openapi-generator.tech
|
|
104
|
+
* Do not edit the class manually.
|
|
105
|
+
*/
|
|
106
|
+
/**
|
|
107
|
+
* Sends an email when workflow is approved
|
|
108
|
+
*/
|
|
109
|
+
interface EmailAction {
|
|
110
|
+
/**
|
|
111
|
+
* Action type (EMAIL)
|
|
112
|
+
*/
|
|
113
|
+
type: EmailAction.TypeEnum;
|
|
114
|
+
/**
|
|
115
|
+
* List of email addresses to send the notification to
|
|
116
|
+
*/
|
|
117
|
+
recipients: Array<string>;
|
|
118
|
+
}
|
|
119
|
+
declare namespace EmailAction {
|
|
120
|
+
type TypeEnum = 'EMAIL';
|
|
121
|
+
const TypeEnum: {
|
|
122
|
+
Email: TypeEnum;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region generated/openapi/model/group-info.d.ts
|
|
127
|
+
/**
|
|
128
|
+
* Workflow Approval System API
|
|
129
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
130
|
+
*
|
|
131
|
+
* The version of the OpenAPI document: 0.0.29
|
|
132
|
+
*
|
|
133
|
+
*
|
|
134
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
135
|
+
* https://openapi-generator.tech
|
|
136
|
+
* Do not edit the class manually.
|
|
137
|
+
*/
|
|
138
|
+
interface GroupInfo {
|
|
139
|
+
groupId: string;
|
|
140
|
+
groupName: string;
|
|
141
|
+
}
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region generated/openapi/model/group.d.ts
|
|
144
|
+
/**
|
|
145
|
+
* Workflow Approval System API
|
|
146
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
147
|
+
*
|
|
148
|
+
* The version of the OpenAPI document: 0.0.29
|
|
149
|
+
*
|
|
150
|
+
*
|
|
151
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
152
|
+
* https://openapi-generator.tech
|
|
153
|
+
* Do not edit the class manually.
|
|
154
|
+
*/
|
|
155
|
+
interface Group {
|
|
156
|
+
/**
|
|
157
|
+
* Unique identifier for the group
|
|
158
|
+
*/
|
|
159
|
+
id: string;
|
|
160
|
+
/**
|
|
161
|
+
* Name of the group
|
|
162
|
+
*/
|
|
163
|
+
name: string;
|
|
164
|
+
/**
|
|
165
|
+
* Description of the group
|
|
166
|
+
*/
|
|
167
|
+
description?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Number of entities in the group
|
|
170
|
+
*/
|
|
171
|
+
entitiesCount: number;
|
|
172
|
+
/**
|
|
173
|
+
* Creation timestamp
|
|
174
|
+
*/
|
|
175
|
+
createdAt: string;
|
|
176
|
+
/**
|
|
177
|
+
* Last update timestamp
|
|
178
|
+
*/
|
|
179
|
+
updatedAt: string;
|
|
180
|
+
}
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region generated/openapi/model/pagination.d.ts
|
|
183
|
+
/**
|
|
184
|
+
* Workflow Approval System API
|
|
185
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
186
|
+
*
|
|
187
|
+
* The version of the OpenAPI document: 0.0.29
|
|
188
|
+
*
|
|
189
|
+
*
|
|
190
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
191
|
+
* https://openapi-generator.tech
|
|
192
|
+
* Do not edit the class manually.
|
|
193
|
+
*/
|
|
194
|
+
interface Pagination {
|
|
195
|
+
/**
|
|
196
|
+
* Total number of items
|
|
197
|
+
*/
|
|
198
|
+
total: number;
|
|
199
|
+
/**
|
|
200
|
+
* Current page number
|
|
201
|
+
*/
|
|
202
|
+
page: number;
|
|
203
|
+
/**
|
|
204
|
+
* Items per page
|
|
205
|
+
*/
|
|
206
|
+
limit: number;
|
|
207
|
+
}
|
|
208
|
+
//#endregion
|
|
209
|
+
//#region generated/openapi/model/list-groups-200-response.d.ts
|
|
210
|
+
interface ListGroups200Response {
|
|
211
|
+
groups: Array<Group>;
|
|
212
|
+
pagination: Pagination;
|
|
213
|
+
}
|
|
214
|
+
//#endregion
|
|
215
|
+
//#region generated/openapi/model/user-summary.d.ts
|
|
216
|
+
/**
|
|
217
|
+
* Workflow Approval System API
|
|
218
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
219
|
+
*
|
|
220
|
+
* The version of the OpenAPI document: 0.0.29
|
|
221
|
+
*
|
|
222
|
+
*
|
|
223
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
224
|
+
* https://openapi-generator.tech
|
|
225
|
+
* Do not edit the class manually.
|
|
226
|
+
*/
|
|
227
|
+
interface UserSummary {
|
|
228
|
+
/**
|
|
229
|
+
* Internal unique identifier for the user.
|
|
230
|
+
*/
|
|
231
|
+
readonly id: string;
|
|
232
|
+
/**
|
|
233
|
+
* User\'s display name.
|
|
234
|
+
*/
|
|
235
|
+
displayName: string;
|
|
236
|
+
/**
|
|
237
|
+
* User\'s email address.
|
|
238
|
+
*/
|
|
239
|
+
email: string;
|
|
240
|
+
}
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region generated/openapi/model/webhook-action.d.ts
|
|
243
|
+
/**
|
|
244
|
+
* Workflow Approval System API
|
|
245
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
246
|
+
*
|
|
247
|
+
* The version of the OpenAPI document: 0.0.29
|
|
248
|
+
*
|
|
249
|
+
*
|
|
250
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
251
|
+
* https://openapi-generator.tech
|
|
252
|
+
* Do not edit the class manually.
|
|
253
|
+
*/
|
|
254
|
+
/**
|
|
255
|
+
* Calls a webhook when workflow is approved
|
|
256
|
+
*/
|
|
257
|
+
interface WebhookAction {
|
|
258
|
+
/**
|
|
259
|
+
* Action type (WEBHOOK)
|
|
260
|
+
*/
|
|
261
|
+
type: WebhookAction.TypeEnum;
|
|
262
|
+
/**
|
|
263
|
+
* The URL to call
|
|
264
|
+
*/
|
|
265
|
+
url: string;
|
|
266
|
+
/**
|
|
267
|
+
* HTTP method to use
|
|
268
|
+
*/
|
|
269
|
+
method?: WebhookAction.MethodEnum;
|
|
270
|
+
/**
|
|
271
|
+
* Optional headers to send with the request
|
|
272
|
+
*/
|
|
273
|
+
headers?: {
|
|
274
|
+
[key: string]: string;
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
declare namespace WebhookAction {
|
|
278
|
+
type TypeEnum = 'WEBHOOK';
|
|
279
|
+
const TypeEnum: {
|
|
280
|
+
Webhook: TypeEnum;
|
|
281
|
+
};
|
|
282
|
+
type MethodEnum = 'POST' | 'PUT' | 'GET';
|
|
283
|
+
const MethodEnum: {
|
|
284
|
+
Post: MethodEnum;
|
|
285
|
+
Put: MethodEnum;
|
|
286
|
+
Get: MethodEnum;
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region generated/openapi/model/workflow-action.d.ts
|
|
291
|
+
/**
|
|
292
|
+
* Configuration for actions to be executed when workflow is approved. Currently supports email actions.
|
|
293
|
+
*/
|
|
294
|
+
/**
|
|
295
|
+
* @type WorkflowAction
|
|
296
|
+
* Configuration for actions to be executed when workflow is approved. Currently supports email actions.
|
|
297
|
+
* @export
|
|
298
|
+
*/
|
|
299
|
+
type WorkflowAction = EmailAction | WebhookAction;
|
|
300
|
+
//#endregion
|
|
301
|
+
//#region generated/openapi/model/workflow-template.d.ts
|
|
302
|
+
interface WorkflowTemplate {
|
|
303
|
+
/**
|
|
304
|
+
* Unique identifier for the workflow template
|
|
305
|
+
*/
|
|
306
|
+
id: string;
|
|
307
|
+
/**
|
|
308
|
+
* User-friendly name for the workflow template
|
|
309
|
+
*/
|
|
310
|
+
name: string;
|
|
311
|
+
/**
|
|
312
|
+
* Version of the workflow template. \"latest\" for active templates, numeric for versioned templates
|
|
313
|
+
*/
|
|
314
|
+
version: string;
|
|
315
|
+
/**
|
|
316
|
+
* Detailed description of the workflow template
|
|
317
|
+
*/
|
|
318
|
+
description?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Lifecycle status of the template: * ACTIVE - Template can be referenced to create new workflows * PENDING_DEPRECATION - Template has been deprecated but there are still active workflows (intermediate status for async deprecation) * DEPRECATED - Template cannot be referenced for new workflows, voting may still be allowed based on settings
|
|
321
|
+
*/
|
|
322
|
+
status: WorkflowTemplate.StatusEnum;
|
|
323
|
+
/**
|
|
324
|
+
* Whether voting is allowed on workflows using this template when it\'s deprecated
|
|
325
|
+
*/
|
|
326
|
+
allowVotingOnDeprecatedTemplate: boolean;
|
|
327
|
+
approvalRule: ApprovalRule;
|
|
328
|
+
/**
|
|
329
|
+
* Additional custom metadata for the workflow template
|
|
330
|
+
*/
|
|
331
|
+
metadata?: object;
|
|
332
|
+
/**
|
|
333
|
+
* Actions to be executed when workflow is approved
|
|
334
|
+
*/
|
|
335
|
+
actions?: Array<WorkflowAction>;
|
|
336
|
+
/**
|
|
337
|
+
* Default expiry time for workflows created from this template (in hours, max 1 year)
|
|
338
|
+
*/
|
|
339
|
+
defaultExpiresInHours?: number;
|
|
340
|
+
/**
|
|
341
|
+
* ID of the space to which this workflow template belongs
|
|
342
|
+
*/
|
|
343
|
+
spaceId: string;
|
|
344
|
+
/**
|
|
345
|
+
* Creation timestamp
|
|
346
|
+
*/
|
|
347
|
+
createdAt: string;
|
|
348
|
+
/**
|
|
349
|
+
* Last update timestamp
|
|
350
|
+
*/
|
|
351
|
+
updatedAt: string;
|
|
352
|
+
}
|
|
353
|
+
declare namespace WorkflowTemplate {
|
|
354
|
+
type StatusEnum = 'ACTIVE' | 'PENDING_DEPRECATION' | 'DEPRECATED';
|
|
355
|
+
const StatusEnum: {
|
|
356
|
+
Active: StatusEnum;
|
|
357
|
+
PendingDeprecation: StatusEnum;
|
|
358
|
+
Deprecated: StatusEnum;
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
//#endregion
|
|
362
|
+
//#region generated/openapi/model/workflow-ref.d.ts
|
|
363
|
+
/**
|
|
364
|
+
* Referenced objects (optional, controlled by include query parameters)
|
|
365
|
+
*/
|
|
366
|
+
interface WorkflowRef {
|
|
367
|
+
workflowTemplate?: WorkflowTemplate;
|
|
368
|
+
}
|
|
369
|
+
//#endregion
|
|
370
|
+
//#region generated/openapi/model/workflow.d.ts
|
|
371
|
+
interface Workflow {
|
|
372
|
+
/**
|
|
373
|
+
* Unique identifier for the workflow
|
|
374
|
+
*/
|
|
375
|
+
id: string;
|
|
376
|
+
/**
|
|
377
|
+
* User-friendly name for the workflow
|
|
378
|
+
*/
|
|
379
|
+
name: string;
|
|
380
|
+
/**
|
|
381
|
+
* Detailed description of the workflow
|
|
382
|
+
*/
|
|
383
|
+
description?: string;
|
|
384
|
+
/**
|
|
385
|
+
* Current status of the workflow
|
|
386
|
+
*/
|
|
387
|
+
status: string;
|
|
388
|
+
/**
|
|
389
|
+
* The unique identifier of the workflow template used as parent
|
|
390
|
+
*/
|
|
391
|
+
workflowTemplateId: string;
|
|
392
|
+
/**
|
|
393
|
+
* Additional custom metadata for the workflow
|
|
394
|
+
*/
|
|
395
|
+
metadata: object;
|
|
396
|
+
ref?: WorkflowRef;
|
|
397
|
+
/**
|
|
398
|
+
* Creation timestamp
|
|
399
|
+
*/
|
|
400
|
+
createdAt: string;
|
|
401
|
+
/**
|
|
402
|
+
* Last update timestamp
|
|
403
|
+
*/
|
|
404
|
+
updatedAt: string;
|
|
405
|
+
/**
|
|
406
|
+
* Expiry timestamp
|
|
407
|
+
*/
|
|
408
|
+
readonly expiresAt?: string;
|
|
409
|
+
}
|
|
410
|
+
//#endregion
|
|
411
|
+
//#region generated/openapi/model/list-workflows-200-response.d.ts
|
|
412
|
+
interface ListWorkflows200Response {
|
|
413
|
+
data: Array<Workflow>;
|
|
414
|
+
pagination: Pagination;
|
|
415
|
+
}
|
|
416
|
+
//#endregion
|
|
417
|
+
//#region generated/openapi/model/token-response.d.ts
|
|
418
|
+
/**
|
|
419
|
+
* Workflow Approval System API
|
|
420
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
421
|
+
*
|
|
422
|
+
* The version of the OpenAPI document: 0.0.29
|
|
423
|
+
*
|
|
424
|
+
*
|
|
425
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
426
|
+
* https://openapi-generator.tech
|
|
427
|
+
* Do not edit the class manually.
|
|
428
|
+
*/
|
|
429
|
+
interface TokenResponse {
|
|
430
|
+
/**
|
|
431
|
+
* Access token for the authenticated user
|
|
432
|
+
*/
|
|
433
|
+
accessToken: string;
|
|
434
|
+
/**
|
|
435
|
+
* Refresh token used to obtain a new access token
|
|
436
|
+
*/
|
|
437
|
+
refreshToken: string;
|
|
438
|
+
}
|
|
439
|
+
//#endregion
|
|
440
|
+
//#region generated/openapi/model/user.d.ts
|
|
441
|
+
/**
|
|
442
|
+
* Workflow Approval System API
|
|
443
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
444
|
+
*
|
|
445
|
+
* The version of the OpenAPI document: 0.0.29
|
|
446
|
+
*
|
|
447
|
+
*
|
|
448
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
449
|
+
* https://openapi-generator.tech
|
|
450
|
+
* Do not edit the class manually.
|
|
451
|
+
*/
|
|
452
|
+
interface User {
|
|
453
|
+
/**
|
|
454
|
+
* Internal unique identifier for the user.
|
|
455
|
+
*/
|
|
456
|
+
readonly id: string;
|
|
457
|
+
/**
|
|
458
|
+
* User\'s display name.
|
|
459
|
+
*/
|
|
460
|
+
displayName: string;
|
|
461
|
+
/**
|
|
462
|
+
* User\'s email address.
|
|
463
|
+
*/
|
|
464
|
+
email: string;
|
|
465
|
+
/**
|
|
466
|
+
* Role assigned to the user within the organization.
|
|
467
|
+
*/
|
|
468
|
+
orgRole: string;
|
|
469
|
+
/**
|
|
470
|
+
* Timestamp when the user was created.
|
|
471
|
+
*/
|
|
472
|
+
readonly createdAt: string;
|
|
473
|
+
}
|
|
474
|
+
//#endregion
|
|
475
|
+
//#region generated/openapi/model/workflow-create.d.ts
|
|
476
|
+
/**
|
|
477
|
+
* Workflow Approval System API
|
|
478
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
479
|
+
*
|
|
480
|
+
* The version of the OpenAPI document: 0.0.29
|
|
481
|
+
*
|
|
482
|
+
*
|
|
483
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
484
|
+
* https://openapi-generator.tech
|
|
485
|
+
* Do not edit the class manually.
|
|
486
|
+
*/
|
|
487
|
+
interface WorkflowCreate {
|
|
488
|
+
/**
|
|
489
|
+
* User-friendly name for the workflow
|
|
490
|
+
*/
|
|
491
|
+
name: string;
|
|
492
|
+
/**
|
|
493
|
+
* Detailed description of the workflow
|
|
494
|
+
*/
|
|
495
|
+
description?: string;
|
|
496
|
+
/**
|
|
497
|
+
* Additional custom metadata for the workflow
|
|
498
|
+
*/
|
|
499
|
+
metadata?: object;
|
|
500
|
+
/**
|
|
501
|
+
* The unique identifier of the workflow template to use as parent
|
|
502
|
+
*/
|
|
503
|
+
workflowTemplateId: string;
|
|
504
|
+
}
|
|
505
|
+
//#endregion
|
|
506
|
+
export { ApprovalRule as _, Workflow as a, WorkflowAction as c, ListGroups200Response as d, Pagination as f, AndRule as g, EmailAction as h, ListWorkflows200Response as i, WebhookAction as l, GroupInfo as m, User as n, WorkflowRef as o, Group as p, TokenResponse as r, WorkflowTemplate as s, WorkflowCreate as t, UserSummary as u, GroupRequirementRule as v, OrRule as y };
|
package/package.json
CHANGED
|
@@ -2,10 +2,24 @@
|
|
|
2
2
|
"name": "@approvio/api",
|
|
3
3
|
"author": "Giovanni Baratta",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.31",
|
|
6
6
|
"private": false,
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/src/index.cjs",
|
|
9
|
+
"module": "./dist/src/index.mjs",
|
|
10
|
+
"types": "./dist/src/index.d.mts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/src/index.d.mts",
|
|
14
|
+
"import": "./dist/src/index.mjs",
|
|
15
|
+
"require": "./dist/src/index.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./mocks": {
|
|
18
|
+
"types": "./dist/mocks/index.d.mts",
|
|
19
|
+
"import": "./dist/mocks/index.mjs",
|
|
20
|
+
"require": "./dist/mocks/index.cjs"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
9
23
|
"files": [
|
|
10
24
|
"dist"
|
|
11
25
|
],
|
|
@@ -13,19 +27,46 @@
|
|
|
13
27
|
"type": "git",
|
|
14
28
|
"url": "https://github.com/giovannibaratta/approvio-api"
|
|
15
29
|
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": "22"
|
|
32
|
+
},
|
|
16
33
|
"scripts": {
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
34
|
+
"clean": "rm -rf dist generated/openapi/model generated/openapi/.openapi-generator generated/openapi.yaml",
|
|
35
|
+
"bundle": "yarn redocly bundle openapi.yaml -o generated/openapi.yaml",
|
|
36
|
+
"generate:api": "yarn clean && yarn bundle && openapi-generator-cli generate --openapitools openapitools.json",
|
|
37
|
+
"lint": "yarn lint:code && yarn lint:api",
|
|
38
|
+
"lint:code": "yarn eslint --cache --fix .",
|
|
39
|
+
"lint:api": "spectral lint generated/openapi.yaml --ruleset .spectral.yaml",
|
|
40
|
+
"build": "yarn generate:api && tsdown src/index.ts mocks/index.ts --format esm,cjs --dts",
|
|
41
|
+
"generate:docs": "yarn bundle && redocly build-docs generated/openapi.yaml --output ./dist/index.html",
|
|
42
|
+
"prepublishOnly": "yarn build",
|
|
43
|
+
"format:prettier": "yarn prettier --config .prettierrc . --write",
|
|
44
|
+
"test": "yarn jest --maxWorkers=50%",
|
|
45
|
+
"test:all": "yarn jest --maxWorkers=50% app/**/*.test.ts"
|
|
23
46
|
},
|
|
24
47
|
"devDependencies": {
|
|
25
|
-
"@
|
|
48
|
+
"@eslint/js": "10.0.1",
|
|
49
|
+
"@openapitools/openapi-generator-cli": "^2.30.2",
|
|
26
50
|
"@redocly/cli": "1.34.4",
|
|
27
51
|
"@stoplight/spectral-cli": "6.15.0",
|
|
28
|
-
"
|
|
52
|
+
"@types/jest": "30.0.0",
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
54
|
+
"@typescript-eslint/parser": "8.56.1",
|
|
55
|
+
"eslint": "10.0.2",
|
|
56
|
+
"eslint-config-prettier": "10.1.8",
|
|
57
|
+
"eslint-plugin-jest": "29.15.0",
|
|
58
|
+
"eslint-plugin-n": "17.24.0",
|
|
59
|
+
"eslint-plugin-prettier": "5.5.5",
|
|
60
|
+
"jest": "30.2.0",
|
|
61
|
+
"prettier": "3.8.1",
|
|
62
|
+
"ts-jest": "29.4.6",
|
|
63
|
+
"typescript": "5.7.3",
|
|
64
|
+
"typescript-eslint": "8.56.1",
|
|
65
|
+
"fp-ts": "2.16.11",
|
|
66
|
+
"tsdown": "0.21.4"
|
|
29
67
|
},
|
|
30
|
-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
31
|
-
|
|
68
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"fp-ts": "^2.0.0"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -1,21 +0,0 @@
|
|
|
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.29
|
|
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 { EntityMembershipAdd } from './entity-membership-add';
|
|
13
|
-
/**
|
|
14
|
-
* Defines operations to add entities within a group
|
|
15
|
-
*/
|
|
16
|
-
export interface AddGroupEntitiesRequest {
|
|
17
|
-
/**
|
|
18
|
-
* List of entities to add to the group.
|
|
19
|
-
*/
|
|
20
|
-
entities: Array<EntityMembershipAdd>;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-group-entities-request.js","sourceRoot":"","sources":["../generated/openapi/model/add-group-entities-request.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
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.29
|
|
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 AgentChallengeRequest {
|
|
13
|
-
/**
|
|
14
|
-
* Name of the agent requesting authentication
|
|
15
|
-
*/
|
|
16
|
-
agentName: string;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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.29
|
|
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=agent-challenge-request.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-challenge-request.js","sourceRoot":"","sources":["../generated/openapi/model/agent-challenge-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -1,17 +0,0 @@
|
|
|
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.29
|
|
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 AgentChallengeResponse {
|
|
13
|
-
/**
|
|
14
|
-
* Base64 encoded encrypted challenge that must be signed by the agent. **Decrypted Format (JSON object):** ```json { \"audience\": \"agent-name\", \"expires_at\": \"2025-04-15T12:15:00Z\", \"issuer\": \"Approvio\", \"nonce\": \"random-string-challenge\" } ```
|
|
15
|
-
*/
|
|
16
|
-
challenge: string;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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.29
|
|
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=agent-challenge-response.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-challenge-response.js","sourceRoot":"","sources":["../generated/openapi/model/agent-challenge-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|