@persei/perseed-api 5.0.19 → 5.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +780 -71
- package/dist/client.cjs.map +1 -1
- package/dist/client.mjs +781 -72
- package/dist/client.mjs.map +1 -1
- package/dist/ecosystem-action-system.cjs +506 -0
- package/dist/ecosystem-action-system.cjs.map +1 -0
- package/dist/ecosystem-action-system.d.ts +1 -0
- package/dist/ecosystem-action-system.mjs +506 -0
- package/dist/ecosystem-action-system.mjs.map +1 -0
- package/dist/lib/src/client/customFetch.d.ts +51 -0
- package/dist/lib/src/client/customFetch.d.ts.map +1 -0
- package/dist/lib/src/client/customFetch.test.d.ts +2 -0
- package/dist/lib/src/client/customFetch.test.d.ts.map +1 -0
- package/dist/lib/src/client/index.d.ts +1 -0
- package/dist/lib/src/client/index.d.ts.map +1 -1
- package/dist/lib/src/generated/client.d.ts +4742 -678
- package/dist/lib/src/generated/client.d.ts.map +1 -1
- package/dist/src/Services/AuthenticationSecurityService.d.ts +1 -1
- package/dist/src/Services/MobileService.d.ts +26 -1
- package/dist/src/Services/MobileService.d.ts.map +1 -1
- package/dist/src/Services/ProcessLogService.d.ts.map +1 -1
- package/dist/src/Services/ProjectService.d.ts.map +1 -1
- package/dist/src/Services/RedisQueueService.d.ts +16 -0
- package/dist/src/Services/RedisQueueService.d.ts.map +1 -1
- package/dist/src/Services/TriggerProcessLogService.d.ts +90 -0
- package/dist/src/Services/TriggerProcessLogService.d.ts.map +1 -0
- package/dist/src/Services/TriggerService.d.ts +16 -11
- package/dist/src/Services/TriggerService.d.ts.map +1 -1
- package/dist/src/Services/trigger-process-log-service.test.d.ts +2 -0
- package/dist/src/Services/trigger-process-log-service.test.d.ts.map +1 -0
- package/dist/src/controllers/AuthController.d.ts.map +1 -1
- package/dist/src/controllers/FormController.d.ts.map +1 -1
- package/dist/src/helpers/error.d.ts +12 -0
- package/dist/src/helpers/error.d.ts.map +1 -1
- package/dist/src/lib.d.ts +1 -0
- package/dist/src/lib.d.ts.map +1 -1
- package/dist/src/models/ecosystem/ProcessLog.d.ts +11 -0
- package/dist/src/models/ecosystem/ProcessLog.d.ts.map +1 -1
- package/dist/src/models/ecosystem/ProcessLog.test.d.ts +2 -0
- package/dist/src/models/ecosystem/ProcessLog.test.d.ts.map +1 -0
- package/dist/src/models/project/DesignerCrf.d.ts +3 -2
- package/dist/src/models/project/DesignerCrf.d.ts.map +1 -1
- package/dist/src/models/project/designer-crf-after-save.test.d.ts +2 -0
- package/dist/src/models/project/designer-crf-after-save.test.d.ts.map +1 -0
- package/dist/src/module.d.ts +5 -0
- package/dist/src/schemas/notification_configuration/types.d.ts +19 -8
- package/dist/src/schemas/notification_configuration/types.d.ts.map +1 -1
- package/dist/src/schemas/process_log/create_process_log_payload.schema.json +4 -0
- package/dist/src/schemas/process_log/types.d.ts +3 -0
- package/dist/src/schemas/process_log/types.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/action-system.controller.e2e.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/action-system.controller.e2e.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/action-system.controller.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/action-system.controller.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/action.controller.d.ts +3 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/action.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/automatic-trigger.controller.d.ts +3 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/automatic-trigger.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/index.d.ts +6 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/index.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/manual-trigger.controller.d.ts +3 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/manual-trigger.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/action-system.helper.d.ts +127 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/action-system.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/action-system.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/action-system.helper.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/conditions-matcher.helper.d.ts +5 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/conditions-matcher.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/conditions-matcher.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/conditions-matcher.helper.test.d.ts.map +1 -0
- package/dist/src/{Services/ConditionsMatcher/CustomConditionsFormat.d.ts → v2/modules/ecosystem/action-system/action-system.helper/custom-conditions-format.helper.d.ts} +2 -2
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/custom-conditions-format.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/custom-conditions-format.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/custom-conditions-format.helper.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/index.d.ts +4 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/index.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.model.d.ts +121 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.model.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.schema.d.ts +579 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action-system.service.d.ts +37 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action-system.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action-system.service.e2e.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action-system.service.e2e.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action-system.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action-system.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action.service.d.ts +18 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/action.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/automatic-trigger.service.d.ts +137 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/automatic-trigger.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/automatic-trigger.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/automatic-trigger.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/index.d.ts +8 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/index.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger-engine.service.d.ts +28 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger-engine.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger-engine.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger-engine.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger.service.d.ts +137 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-actions.service.d.ts +31 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-actions.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-actions.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-actions.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.d.ts +52 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/index.d.ts +6 -0
- package/dist/src/v2/modules/ecosystem/action-system/index.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/lib.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/lib.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-error/api-error.schema.d.ts +9 -0
- package/dist/src/v2/modules/global/api-error/api-error.schema.d.ts.map +1 -1
- package/dist/src/v2/modules/global/e2e-operation/e2e-operation.service.d.ts.map +1 -1
- package/dist/src/v2/modules/global/request-log/request-log.middleware.d.ts.map +1 -1
- package/dist/src/v2/modules/project/document/document.controller.d.ts.map +1 -1
- package/dist/src/v2/modules/project/thryve/thryve.controller.d.ts.map +1 -1
- package/dist/src/v2/modules/project/thryve/thryve.service.d.ts +16 -4
- package/dist/src/v2/modules/project/thryve/thryve.service.d.ts.map +1 -1
- package/dist/src/v2/routes/v2/e2e/index.d.ts.map +1 -1
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/action/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/action/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/automatic-trigger/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/automatic-trigger/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/manual-trigger/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/manual-trigger/index.d.ts.map +1 -0
- package/dist/v1/perseed-api.cjs +8 -11
- package/dist/v1/perseed-api.cjs.map +1 -1
- package/dist/v1/perseed-api.mjs +7 -10
- package/dist/v1/perseed-api.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/src/Services/ConditionsMatcher/CustomConditionsFormat.d.ts.map +0 -1
- package/dist/src/Services/ConditionsMatcher/index.d.ts +0 -4
- package/dist/src/Services/ConditionsMatcher/index.d.ts.map +0 -1
- package/dist/src/Services/conditions-matcher.test.d.ts +0 -2
- package/dist/src/Services/conditions-matcher.test.d.ts.map +0 -1
- package/dist/src/Services/custom-conditions-format.test.d.ts +0 -2
- package/dist/src/Services/custom-conditions-format.test.d.ts.map +0 -1
package/dist/client.cjs
CHANGED
|
@@ -1,5 +1,133 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
class GeneratedClientError extends Error {
|
|
4
|
+
status;
|
|
5
|
+
body;
|
|
6
|
+
constructor(status, body) {
|
|
7
|
+
super(`Request failed with status ${status}`);
|
|
8
|
+
Object.setPrototypeOf(this, GeneratedClientError.prototype);
|
|
9
|
+
this.name = "GeneratedClientError";
|
|
10
|
+
this.status = status;
|
|
11
|
+
this.body = body;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
let runtimeConfig;
|
|
15
|
+
function configureGeneratedClient(cfg) {
|
|
16
|
+
runtimeConfig = cfg;
|
|
17
|
+
}
|
|
18
|
+
function getRuntimeConfig() {
|
|
19
|
+
if (!runtimeConfig) {
|
|
20
|
+
throw new Error(
|
|
21
|
+
"Generated API client used before configuration. Call configureGeneratedClient({ baseUrl, getToken }) first."
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
return runtimeConfig;
|
|
25
|
+
}
|
|
26
|
+
async function customFetch(url, options) {
|
|
27
|
+
const { baseUrl, getToken } = getRuntimeConfig();
|
|
28
|
+
const token = getToken?.();
|
|
29
|
+
const headers = { ...options.headers };
|
|
30
|
+
if (token) {
|
|
31
|
+
headers.Authorization = `Bearer ${token}`;
|
|
32
|
+
}
|
|
33
|
+
const res = await fetch(`${baseUrl}${url}`, { ...options, headers });
|
|
34
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
35
|
+
const data = body ? JSON.parse(body) : {};
|
|
36
|
+
if (!res.ok) {
|
|
37
|
+
throw new GeneratedClientError(res.status, data);
|
|
38
|
+
}
|
|
39
|
+
return { data, status: res.status, headers: res.headers };
|
|
40
|
+
}
|
|
41
|
+
const ListActions200ResultsItemType = {
|
|
42
|
+
ApiAction: "ApiAction"
|
|
43
|
+
};
|
|
44
|
+
const ListActions403AllOfThreeStatusCode = {
|
|
45
|
+
NUMBER_403: 403
|
|
46
|
+
};
|
|
47
|
+
const ListActions403AllOfThreeError = {
|
|
48
|
+
"forbidden-error": "forbidden-error"
|
|
49
|
+
};
|
|
50
|
+
const ListActions404AllOfThreeStatusCode = {
|
|
51
|
+
NUMBER_404: 404
|
|
52
|
+
};
|
|
53
|
+
const ListActions404AllOfThreeError = {
|
|
54
|
+
"not-found": "not-found"
|
|
55
|
+
};
|
|
56
|
+
const CreateActionBodyType = {
|
|
57
|
+
ApiAction: "ApiAction"
|
|
58
|
+
};
|
|
59
|
+
const CreateAction200Type = {
|
|
60
|
+
ApiAction: "ApiAction"
|
|
61
|
+
};
|
|
62
|
+
const CreateAction400AllOfThreeStatusCode = {
|
|
63
|
+
NUMBER_400: 400
|
|
64
|
+
};
|
|
65
|
+
const CreateAction400AllOfThreeError = {
|
|
66
|
+
"bad-request": "bad-request"
|
|
67
|
+
};
|
|
68
|
+
const CreateAction403AllOfThreeStatusCode = {
|
|
69
|
+
NUMBER_403: 403
|
|
70
|
+
};
|
|
71
|
+
const CreateAction403AllOfThreeError = {
|
|
72
|
+
"forbidden-error": "forbidden-error"
|
|
73
|
+
};
|
|
74
|
+
const CreateAction404AllOfThreeStatusCode = {
|
|
75
|
+
NUMBER_404: 404
|
|
76
|
+
};
|
|
77
|
+
const CreateAction404AllOfThreeError = {
|
|
78
|
+
"not-found": "not-found"
|
|
79
|
+
};
|
|
80
|
+
const GetAction200Type = {
|
|
81
|
+
ApiAction: "ApiAction"
|
|
82
|
+
};
|
|
83
|
+
const GetAction403AllOfThreeStatusCode = {
|
|
84
|
+
NUMBER_403: 403
|
|
85
|
+
};
|
|
86
|
+
const GetAction403AllOfThreeError = {
|
|
87
|
+
"forbidden-error": "forbidden-error"
|
|
88
|
+
};
|
|
89
|
+
const GetAction404AllOfThreeStatusCode = {
|
|
90
|
+
NUMBER_404: 404
|
|
91
|
+
};
|
|
92
|
+
const GetAction404AllOfThreeError = {
|
|
93
|
+
"not-found": "not-found"
|
|
94
|
+
};
|
|
95
|
+
const UpdateActionBodyType = {
|
|
96
|
+
ApiAction: "ApiAction"
|
|
97
|
+
};
|
|
98
|
+
const UpdateAction200Type = {
|
|
99
|
+
ApiAction: "ApiAction"
|
|
100
|
+
};
|
|
101
|
+
const UpdateAction400AllOfThreeStatusCode = {
|
|
102
|
+
NUMBER_400: 400
|
|
103
|
+
};
|
|
104
|
+
const UpdateAction400AllOfThreeError = {
|
|
105
|
+
"bad-request": "bad-request"
|
|
106
|
+
};
|
|
107
|
+
const UpdateAction403AllOfThreeStatusCode = {
|
|
108
|
+
NUMBER_403: 403
|
|
109
|
+
};
|
|
110
|
+
const UpdateAction403AllOfThreeError = {
|
|
111
|
+
"forbidden-error": "forbidden-error"
|
|
112
|
+
};
|
|
113
|
+
const UpdateAction404AllOfThreeStatusCode = {
|
|
114
|
+
NUMBER_404: 404
|
|
115
|
+
};
|
|
116
|
+
const UpdateAction404AllOfThreeError = {
|
|
117
|
+
"not-found": "not-found"
|
|
118
|
+
};
|
|
119
|
+
const DeleteAction403AllOfThreeStatusCode = {
|
|
120
|
+
NUMBER_403: 403
|
|
121
|
+
};
|
|
122
|
+
const DeleteAction403AllOfThreeError = {
|
|
123
|
+
"forbidden-error": "forbidden-error"
|
|
124
|
+
};
|
|
125
|
+
const DeleteAction404AllOfThreeStatusCode = {
|
|
126
|
+
NUMBER_404: 404
|
|
127
|
+
};
|
|
128
|
+
const DeleteAction404AllOfThreeError = {
|
|
129
|
+
"not-found": "not-found"
|
|
130
|
+
};
|
|
3
131
|
const ListAvailableActions403AllOfThreeStatusCode = {
|
|
4
132
|
NUMBER_403: 403
|
|
5
133
|
};
|
|
@@ -12,6 +140,126 @@ const ListAvailableActions404AllOfThreeStatusCode = {
|
|
|
12
140
|
const ListAvailableActions404AllOfThreeError = {
|
|
13
141
|
"not-found": "not-found"
|
|
14
142
|
};
|
|
143
|
+
const ListAutomaticTriggers200ResultsItemAllOfSource = {
|
|
144
|
+
model: "model",
|
|
145
|
+
designer: "designer",
|
|
146
|
+
displayer: "displayer"
|
|
147
|
+
};
|
|
148
|
+
const ListAutomaticTriggers200ResultsItemAllOfOneoneActionsItemType = {
|
|
149
|
+
ApiAction: "ApiAction"
|
|
150
|
+
};
|
|
151
|
+
const ListAutomaticTriggers403AllOfThreeStatusCode = {
|
|
152
|
+
NUMBER_403: 403
|
|
153
|
+
};
|
|
154
|
+
const ListAutomaticTriggers403AllOfThreeError = {
|
|
155
|
+
"forbidden-error": "forbidden-error"
|
|
156
|
+
};
|
|
157
|
+
const ListAutomaticTriggers404AllOfThreeStatusCode = {
|
|
158
|
+
NUMBER_404: 404
|
|
159
|
+
};
|
|
160
|
+
const ListAutomaticTriggers404AllOfThreeError = {
|
|
161
|
+
"not-found": "not-found"
|
|
162
|
+
};
|
|
163
|
+
const CreateAutomaticTriggerBodySource = {
|
|
164
|
+
model: "model",
|
|
165
|
+
designer: "designer",
|
|
166
|
+
displayer: "displayer"
|
|
167
|
+
};
|
|
168
|
+
const CreateAutomaticTriggerBodyActionsItemAnyOfType = {
|
|
169
|
+
ApiAction: "ApiAction"
|
|
170
|
+
};
|
|
171
|
+
const CreateAutomaticTriggerBodyActionsItemAnyOfNineType = {
|
|
172
|
+
ApiAction: "ApiAction"
|
|
173
|
+
};
|
|
174
|
+
const CreateAutomaticTrigger200AllOfSource = {
|
|
175
|
+
model: "model",
|
|
176
|
+
designer: "designer",
|
|
177
|
+
displayer: "displayer"
|
|
178
|
+
};
|
|
179
|
+
const CreateAutomaticTrigger200AllOfOneoneActionsItemType = {
|
|
180
|
+
ApiAction: "ApiAction"
|
|
181
|
+
};
|
|
182
|
+
const CreateAutomaticTrigger403AllOfThreeStatusCode = {
|
|
183
|
+
NUMBER_403: 403
|
|
184
|
+
};
|
|
185
|
+
const CreateAutomaticTrigger403AllOfThreeError = {
|
|
186
|
+
"forbidden-error": "forbidden-error"
|
|
187
|
+
};
|
|
188
|
+
const CreateAutomaticTrigger404AllOfThreeStatusCode = {
|
|
189
|
+
NUMBER_404: 404
|
|
190
|
+
};
|
|
191
|
+
const CreateAutomaticTrigger404AllOfThreeError = {
|
|
192
|
+
"not-found": "not-found"
|
|
193
|
+
};
|
|
194
|
+
const GetAutomaticTrigger200AllOfSource = {
|
|
195
|
+
model: "model",
|
|
196
|
+
designer: "designer",
|
|
197
|
+
displayer: "displayer"
|
|
198
|
+
};
|
|
199
|
+
const GetAutomaticTrigger200AllOfOneoneActionsItemType = {
|
|
200
|
+
ApiAction: "ApiAction"
|
|
201
|
+
};
|
|
202
|
+
const GetAutomaticTrigger403AllOfThreeStatusCode = {
|
|
203
|
+
NUMBER_403: 403
|
|
204
|
+
};
|
|
205
|
+
const GetAutomaticTrigger403AllOfThreeError = {
|
|
206
|
+
"forbidden-error": "forbidden-error"
|
|
207
|
+
};
|
|
208
|
+
const GetAutomaticTrigger404AllOfThreeStatusCode = {
|
|
209
|
+
NUMBER_404: 404
|
|
210
|
+
};
|
|
211
|
+
const GetAutomaticTrigger404AllOfThreeError = {
|
|
212
|
+
"not-found": "not-found"
|
|
213
|
+
};
|
|
214
|
+
const UpdateAutomaticTriggerBodySource = {
|
|
215
|
+
model: "model",
|
|
216
|
+
designer: "designer",
|
|
217
|
+
displayer: "displayer"
|
|
218
|
+
};
|
|
219
|
+
const UpdateAutomaticTriggerBodyActionsItemAnyOfType = {
|
|
220
|
+
ApiAction: "ApiAction"
|
|
221
|
+
};
|
|
222
|
+
const UpdateAutomaticTriggerBodyActionsItemAnyOfNineType = {
|
|
223
|
+
ApiAction: "ApiAction"
|
|
224
|
+
};
|
|
225
|
+
const UpdateAutomaticTrigger200AllOfSource = {
|
|
226
|
+
model: "model",
|
|
227
|
+
designer: "designer",
|
|
228
|
+
displayer: "displayer"
|
|
229
|
+
};
|
|
230
|
+
const UpdateAutomaticTrigger200AllOfOneoneActionsItemType = {
|
|
231
|
+
ApiAction: "ApiAction"
|
|
232
|
+
};
|
|
233
|
+
const UpdateAutomaticTrigger400AllOfThreeStatusCode = {
|
|
234
|
+
NUMBER_400: 400
|
|
235
|
+
};
|
|
236
|
+
const UpdateAutomaticTrigger400AllOfThreeError = {
|
|
237
|
+
"bad-request": "bad-request"
|
|
238
|
+
};
|
|
239
|
+
const UpdateAutomaticTrigger403AllOfThreeStatusCode = {
|
|
240
|
+
NUMBER_403: 403
|
|
241
|
+
};
|
|
242
|
+
const UpdateAutomaticTrigger403AllOfThreeError = {
|
|
243
|
+
"forbidden-error": "forbidden-error"
|
|
244
|
+
};
|
|
245
|
+
const UpdateAutomaticTrigger404AllOfThreeStatusCode = {
|
|
246
|
+
NUMBER_404: 404
|
|
247
|
+
};
|
|
248
|
+
const UpdateAutomaticTrigger404AllOfThreeError = {
|
|
249
|
+
"not-found": "not-found"
|
|
250
|
+
};
|
|
251
|
+
const DeleteAutomaticTrigger403AllOfThreeStatusCode = {
|
|
252
|
+
NUMBER_403: 403
|
|
253
|
+
};
|
|
254
|
+
const DeleteAutomaticTrigger403AllOfThreeError = {
|
|
255
|
+
"forbidden-error": "forbidden-error"
|
|
256
|
+
};
|
|
257
|
+
const DeleteAutomaticTrigger404AllOfThreeStatusCode = {
|
|
258
|
+
NUMBER_404: 404
|
|
259
|
+
};
|
|
260
|
+
const DeleteAutomaticTrigger404AllOfThreeError = {
|
|
261
|
+
"not-found": "not-found"
|
|
262
|
+
};
|
|
15
263
|
const ListDocuments403AllOfThreeStatusCode = {
|
|
16
264
|
NUMBER_403: 403
|
|
17
265
|
};
|
|
@@ -168,6 +416,155 @@ const GetFormsData404AllOfThreeStatusCode = {
|
|
|
168
416
|
const GetFormsData404AllOfThreeError = {
|
|
169
417
|
"not-found": "not-found"
|
|
170
418
|
};
|
|
419
|
+
const ListManualTriggers200ResultsItemAllOfSource = {
|
|
420
|
+
model: "model",
|
|
421
|
+
designer: "designer",
|
|
422
|
+
displayer: "displayer"
|
|
423
|
+
};
|
|
424
|
+
const ListManualTriggers200ResultsItemAllOfNineActionsItemType = {
|
|
425
|
+
ApiAction: "ApiAction"
|
|
426
|
+
};
|
|
427
|
+
const ListManualTriggers403AllOfThreeStatusCode = {
|
|
428
|
+
NUMBER_403: 403
|
|
429
|
+
};
|
|
430
|
+
const ListManualTriggers403AllOfThreeError = {
|
|
431
|
+
"forbidden-error": "forbidden-error"
|
|
432
|
+
};
|
|
433
|
+
const ListManualTriggers404AllOfThreeStatusCode = {
|
|
434
|
+
NUMBER_404: 404
|
|
435
|
+
};
|
|
436
|
+
const ListManualTriggers404AllOfThreeError = {
|
|
437
|
+
"not-found": "not-found"
|
|
438
|
+
};
|
|
439
|
+
const CreateManualTriggerBodySource = {
|
|
440
|
+
model: "model",
|
|
441
|
+
designer: "designer",
|
|
442
|
+
displayer: "displayer"
|
|
443
|
+
};
|
|
444
|
+
const CreateManualTriggerBodyActionsItemAnyOfType = {
|
|
445
|
+
ApiAction: "ApiAction"
|
|
446
|
+
};
|
|
447
|
+
const CreateManualTriggerBodyActionsItemAnyOfNineType = {
|
|
448
|
+
ApiAction: "ApiAction"
|
|
449
|
+
};
|
|
450
|
+
const CreateManualTrigger200AllOfSource = {
|
|
451
|
+
model: "model",
|
|
452
|
+
designer: "designer",
|
|
453
|
+
displayer: "displayer"
|
|
454
|
+
};
|
|
455
|
+
const CreateManualTrigger200AllOfNineActionsItemType = {
|
|
456
|
+
ApiAction: "ApiAction"
|
|
457
|
+
};
|
|
458
|
+
const CreateManualTrigger403AllOfThreeStatusCode = {
|
|
459
|
+
NUMBER_403: 403
|
|
460
|
+
};
|
|
461
|
+
const CreateManualTrigger403AllOfThreeError = {
|
|
462
|
+
"forbidden-error": "forbidden-error"
|
|
463
|
+
};
|
|
464
|
+
const CreateManualTrigger404AllOfThreeStatusCode = {
|
|
465
|
+
NUMBER_404: 404
|
|
466
|
+
};
|
|
467
|
+
const CreateManualTrigger404AllOfThreeError = {
|
|
468
|
+
"not-found": "not-found"
|
|
469
|
+
};
|
|
470
|
+
const ListAvailableManualTriggersSource = {
|
|
471
|
+
model: "model",
|
|
472
|
+
designer: "designer",
|
|
473
|
+
displayer: "displayer"
|
|
474
|
+
};
|
|
475
|
+
const ListAvailableManualTriggers403AllOfThreeStatusCode = {
|
|
476
|
+
NUMBER_403: 403
|
|
477
|
+
};
|
|
478
|
+
const ListAvailableManualTriggers403AllOfThreeError = {
|
|
479
|
+
"forbidden-error": "forbidden-error"
|
|
480
|
+
};
|
|
481
|
+
const ListAvailableManualTriggers404AllOfThreeStatusCode = {
|
|
482
|
+
NUMBER_404: 404
|
|
483
|
+
};
|
|
484
|
+
const ListAvailableManualTriggers404AllOfThreeError = {
|
|
485
|
+
"not-found": "not-found"
|
|
486
|
+
};
|
|
487
|
+
const GetManualTrigger200AllOfSource = {
|
|
488
|
+
model: "model",
|
|
489
|
+
designer: "designer",
|
|
490
|
+
displayer: "displayer"
|
|
491
|
+
};
|
|
492
|
+
const GetManualTrigger200AllOfNineActionsItemType = {
|
|
493
|
+
ApiAction: "ApiAction"
|
|
494
|
+
};
|
|
495
|
+
const GetManualTrigger403AllOfThreeStatusCode = {
|
|
496
|
+
NUMBER_403: 403
|
|
497
|
+
};
|
|
498
|
+
const GetManualTrigger403AllOfThreeError = {
|
|
499
|
+
"forbidden-error": "forbidden-error"
|
|
500
|
+
};
|
|
501
|
+
const GetManualTrigger404AllOfThreeStatusCode = {
|
|
502
|
+
NUMBER_404: 404
|
|
503
|
+
};
|
|
504
|
+
const GetManualTrigger404AllOfThreeError = {
|
|
505
|
+
"not-found": "not-found"
|
|
506
|
+
};
|
|
507
|
+
const UpdateManualTriggerBodySource = {
|
|
508
|
+
model: "model",
|
|
509
|
+
designer: "designer",
|
|
510
|
+
displayer: "displayer"
|
|
511
|
+
};
|
|
512
|
+
const UpdateManualTriggerBodyActionsItemAnyOfType = {
|
|
513
|
+
ApiAction: "ApiAction"
|
|
514
|
+
};
|
|
515
|
+
const UpdateManualTriggerBodyActionsItemAnyOfNineType = {
|
|
516
|
+
ApiAction: "ApiAction"
|
|
517
|
+
};
|
|
518
|
+
const UpdateManualTrigger200AllOfSource = {
|
|
519
|
+
model: "model",
|
|
520
|
+
designer: "designer",
|
|
521
|
+
displayer: "displayer"
|
|
522
|
+
};
|
|
523
|
+
const UpdateManualTrigger200AllOfNineActionsItemType = {
|
|
524
|
+
ApiAction: "ApiAction"
|
|
525
|
+
};
|
|
526
|
+
const UpdateManualTrigger400AllOfThreeStatusCode = {
|
|
527
|
+
NUMBER_400: 400
|
|
528
|
+
};
|
|
529
|
+
const UpdateManualTrigger400AllOfThreeError = {
|
|
530
|
+
"bad-request": "bad-request"
|
|
531
|
+
};
|
|
532
|
+
const UpdateManualTrigger403AllOfThreeStatusCode = {
|
|
533
|
+
NUMBER_403: 403
|
|
534
|
+
};
|
|
535
|
+
const UpdateManualTrigger403AllOfThreeError = {
|
|
536
|
+
"forbidden-error": "forbidden-error"
|
|
537
|
+
};
|
|
538
|
+
const UpdateManualTrigger404AllOfThreeStatusCode = {
|
|
539
|
+
NUMBER_404: 404
|
|
540
|
+
};
|
|
541
|
+
const UpdateManualTrigger404AllOfThreeError = {
|
|
542
|
+
"not-found": "not-found"
|
|
543
|
+
};
|
|
544
|
+
const DeleteManualTrigger403AllOfThreeStatusCode = {
|
|
545
|
+
NUMBER_403: 403
|
|
546
|
+
};
|
|
547
|
+
const DeleteManualTrigger403AllOfThreeError = {
|
|
548
|
+
"forbidden-error": "forbidden-error"
|
|
549
|
+
};
|
|
550
|
+
const DeleteManualTrigger404AllOfThreeStatusCode = {
|
|
551
|
+
NUMBER_404: 404
|
|
552
|
+
};
|
|
553
|
+
const DeleteManualTrigger404AllOfThreeError = {
|
|
554
|
+
"not-found": "not-found"
|
|
555
|
+
};
|
|
556
|
+
const RunManualTrigger403AllOfThreeStatusCode = {
|
|
557
|
+
NUMBER_403: 403
|
|
558
|
+
};
|
|
559
|
+
const RunManualTrigger403AllOfThreeError = {
|
|
560
|
+
"forbidden-error": "forbidden-error"
|
|
561
|
+
};
|
|
562
|
+
const RunManualTrigger404AllOfThreeStatusCode = {
|
|
563
|
+
NUMBER_404: 404
|
|
564
|
+
};
|
|
565
|
+
const RunManualTrigger404AllOfThreeError = {
|
|
566
|
+
"not-found": "not-found"
|
|
567
|
+
};
|
|
171
568
|
const GetThryveIframeUrl403AllOfThreeStatusCode = {
|
|
172
569
|
NUMBER_403: 403
|
|
173
570
|
};
|
|
@@ -196,13 +593,66 @@ const getPostV2AuthLoginGlobalUrl = () => {
|
|
|
196
593
|
return `/v2/auth/login/global`;
|
|
197
594
|
};
|
|
198
595
|
const postV2AuthLoginGlobal = async (options) => {
|
|
199
|
-
|
|
596
|
+
return customFetch(getPostV2AuthLoginGlobalUrl(), {
|
|
200
597
|
...options,
|
|
201
598
|
method: "POST"
|
|
202
599
|
});
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
600
|
+
};
|
|
601
|
+
const getListActionsUrl = (ecosystemName, projectName, params) => {
|
|
602
|
+
const normalizedParams = new URLSearchParams();
|
|
603
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
604
|
+
if (value !== void 0) {
|
|
605
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
const stringifiedParams = normalizedParams.toString();
|
|
609
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/`;
|
|
610
|
+
};
|
|
611
|
+
const listActions = async (ecosystemName, projectName, params, options) => {
|
|
612
|
+
return customFetch(getListActionsUrl(ecosystemName, projectName, params), {
|
|
613
|
+
...options,
|
|
614
|
+
method: "GET"
|
|
615
|
+
});
|
|
616
|
+
};
|
|
617
|
+
const getCreateActionUrl = (ecosystemName, projectName) => {
|
|
618
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/`;
|
|
619
|
+
};
|
|
620
|
+
const createAction = async (ecosystemName, projectName, createActionBody, options) => {
|
|
621
|
+
return customFetch(getCreateActionUrl(ecosystemName, projectName), {
|
|
622
|
+
...options,
|
|
623
|
+
method: "POST",
|
|
624
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
625
|
+
body: JSON.stringify(createActionBody)
|
|
626
|
+
});
|
|
627
|
+
};
|
|
628
|
+
const getGetActionUrl = (ecosystemName, projectName, id) => {
|
|
629
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/${id}`;
|
|
630
|
+
};
|
|
631
|
+
const getAction = async (ecosystemName, projectName, id, options) => {
|
|
632
|
+
return customFetch(getGetActionUrl(ecosystemName, projectName, id), {
|
|
633
|
+
...options,
|
|
634
|
+
method: "GET"
|
|
635
|
+
});
|
|
636
|
+
};
|
|
637
|
+
const getUpdateActionUrl = (ecosystemName, projectName, id) => {
|
|
638
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/${id}`;
|
|
639
|
+
};
|
|
640
|
+
const updateAction = async (ecosystemName, projectName, id, updateActionBody, options) => {
|
|
641
|
+
return customFetch(getUpdateActionUrl(ecosystemName, projectName, id), {
|
|
642
|
+
...options,
|
|
643
|
+
method: "PATCH",
|
|
644
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
645
|
+
body: JSON.stringify(updateActionBody)
|
|
646
|
+
});
|
|
647
|
+
};
|
|
648
|
+
const getDeleteActionUrl = (ecosystemName, projectName, id) => {
|
|
649
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/${id}`;
|
|
650
|
+
};
|
|
651
|
+
const deleteAction = async (ecosystemName, projectName, id, options) => {
|
|
652
|
+
return customFetch(getDeleteActionUrl(ecosystemName, projectName, id), {
|
|
653
|
+
...options,
|
|
654
|
+
method: "DELETE"
|
|
655
|
+
});
|
|
206
656
|
};
|
|
207
657
|
const getListAvailableActionsUrl = (ecosystemName, projectName, params) => {
|
|
208
658
|
const normalizedParams = new URLSearchParams();
|
|
@@ -215,13 +665,73 @@ const getListAvailableActionsUrl = (ecosystemName, projectName, params) => {
|
|
|
215
665
|
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/actions/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/actions/`;
|
|
216
666
|
};
|
|
217
667
|
const listAvailableActions = async (ecosystemName, projectName, params, options) => {
|
|
218
|
-
|
|
668
|
+
return customFetch(getListAvailableActionsUrl(ecosystemName, projectName, params), {
|
|
219
669
|
...options,
|
|
220
670
|
method: "GET"
|
|
221
671
|
});
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
672
|
+
};
|
|
673
|
+
const getListAutomaticTriggersUrl = (ecosystemName, projectName, params) => {
|
|
674
|
+
const normalizedParams = new URLSearchParams();
|
|
675
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
676
|
+
if (value !== void 0) {
|
|
677
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
678
|
+
}
|
|
679
|
+
});
|
|
680
|
+
const stringifiedParams = normalizedParams.toString();
|
|
681
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/`;
|
|
682
|
+
};
|
|
683
|
+
const listAutomaticTriggers = async (ecosystemName, projectName, params, options) => {
|
|
684
|
+
return customFetch(getListAutomaticTriggersUrl(ecosystemName, projectName, params), {
|
|
685
|
+
...options,
|
|
686
|
+
method: "GET"
|
|
687
|
+
});
|
|
688
|
+
};
|
|
689
|
+
const getCreateAutomaticTriggerUrl = (ecosystemName, projectName) => {
|
|
690
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/`;
|
|
691
|
+
};
|
|
692
|
+
const createAutomaticTrigger = async (ecosystemName, projectName, createAutomaticTriggerBody, options) => {
|
|
693
|
+
return customFetch(getCreateAutomaticTriggerUrl(ecosystemName, projectName), {
|
|
694
|
+
...options,
|
|
695
|
+
method: "POST",
|
|
696
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
697
|
+
body: JSON.stringify(createAutomaticTriggerBody)
|
|
698
|
+
});
|
|
699
|
+
};
|
|
700
|
+
const getGetAutomaticTriggerUrl = (ecosystemName, projectName, id, params) => {
|
|
701
|
+
const normalizedParams = new URLSearchParams();
|
|
702
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
703
|
+
if (value !== void 0) {
|
|
704
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
const stringifiedParams = normalizedParams.toString();
|
|
708
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/${id}?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/${id}`;
|
|
709
|
+
};
|
|
710
|
+
const getAutomaticTrigger = async (ecosystemName, projectName, id, params, options) => {
|
|
711
|
+
return customFetch(getGetAutomaticTriggerUrl(ecosystemName, projectName, id, params), {
|
|
712
|
+
...options,
|
|
713
|
+
method: "GET"
|
|
714
|
+
});
|
|
715
|
+
};
|
|
716
|
+
const getUpdateAutomaticTriggerUrl = (ecosystemName, projectName, id) => {
|
|
717
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/${id}`;
|
|
718
|
+
};
|
|
719
|
+
const updateAutomaticTrigger = async (ecosystemName, projectName, id, updateAutomaticTriggerBody, options) => {
|
|
720
|
+
return customFetch(getUpdateAutomaticTriggerUrl(ecosystemName, projectName, id), {
|
|
721
|
+
...options,
|
|
722
|
+
method: "PATCH",
|
|
723
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
724
|
+
body: JSON.stringify(updateAutomaticTriggerBody)
|
|
725
|
+
});
|
|
726
|
+
};
|
|
727
|
+
const getDeleteAutomaticTriggerUrl = (ecosystemName, projectName, id) => {
|
|
728
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/${id}`;
|
|
729
|
+
};
|
|
730
|
+
const deleteAutomaticTrigger = async (ecosystemName, projectName, id, options) => {
|
|
731
|
+
return customFetch(getDeleteAutomaticTriggerUrl(ecosystemName, projectName, id), {
|
|
732
|
+
...options,
|
|
733
|
+
method: "DELETE"
|
|
734
|
+
});
|
|
225
735
|
};
|
|
226
736
|
const getListDocumentsUrl = (ecosystemName, projectName, params) => {
|
|
227
737
|
const normalizedParams = new URLSearchParams();
|
|
@@ -234,91 +744,73 @@ const getListDocumentsUrl = (ecosystemName, projectName, params) => {
|
|
|
234
744
|
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/`;
|
|
235
745
|
};
|
|
236
746
|
const listDocuments = async (ecosystemName, projectName, params, options) => {
|
|
237
|
-
|
|
747
|
+
return customFetch(getListDocumentsUrl(ecosystemName, projectName, params), {
|
|
238
748
|
...options,
|
|
239
749
|
method: "GET"
|
|
240
750
|
});
|
|
241
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
242
|
-
const data = body ? JSON.parse(body) : {};
|
|
243
|
-
return { data, status: res.status, headers: res.headers };
|
|
244
751
|
};
|
|
245
752
|
const getCreateDocumentUrl = (ecosystemName, projectName) => {
|
|
246
753
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/`;
|
|
247
754
|
};
|
|
248
755
|
const createDocument = async (ecosystemName, projectName, createDocumentBody, options) => {
|
|
249
|
-
|
|
756
|
+
return customFetch(getCreateDocumentUrl(ecosystemName, projectName), {
|
|
250
757
|
...options,
|
|
251
758
|
method: "POST",
|
|
252
759
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
253
760
|
body: JSON.stringify(createDocumentBody)
|
|
254
761
|
});
|
|
255
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
256
|
-
const data = body ? JSON.parse(body) : {};
|
|
257
|
-
return { data, status: res.status, headers: res.headers };
|
|
258
762
|
};
|
|
259
763
|
const getGetDocumentUrl = (ecosystemName, projectName, id) => {
|
|
260
764
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`;
|
|
261
765
|
};
|
|
262
766
|
const getDocument = async (ecosystemName, projectName, id, options) => {
|
|
263
|
-
|
|
767
|
+
return customFetch(getGetDocumentUrl(ecosystemName, projectName, id), {
|
|
264
768
|
...options,
|
|
265
769
|
method: "GET"
|
|
266
770
|
});
|
|
267
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
268
|
-
const data = body ? JSON.parse(body) : {};
|
|
269
|
-
return { data, status: res.status, headers: res.headers };
|
|
270
771
|
};
|
|
271
772
|
const getUpdateDocumentUrl = (ecosystemName, projectName, id) => {
|
|
272
773
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`;
|
|
273
774
|
};
|
|
274
775
|
const updateDocument = async (ecosystemName, projectName, id, updateDocumentBody, options) => {
|
|
275
|
-
|
|
776
|
+
return customFetch(getUpdateDocumentUrl(ecosystemName, projectName, id), {
|
|
276
777
|
...options,
|
|
277
778
|
method: "PATCH",
|
|
278
779
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
279
780
|
body: JSON.stringify(updateDocumentBody)
|
|
280
781
|
});
|
|
281
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
282
|
-
const data = body ? JSON.parse(body) : {};
|
|
283
|
-
return { data, status: res.status, headers: res.headers };
|
|
284
782
|
};
|
|
285
783
|
const getDeleteDocumentUrl = (ecosystemName, projectName, id) => {
|
|
286
784
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`;
|
|
287
785
|
};
|
|
288
786
|
const deleteDocument = async (ecosystemName, projectName, id, options) => {
|
|
289
|
-
|
|
787
|
+
return customFetch(getDeleteDocumentUrl(ecosystemName, projectName, id), {
|
|
290
788
|
...options,
|
|
291
789
|
method: "DELETE"
|
|
292
790
|
});
|
|
293
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
294
|
-
const data = body ? JSON.parse(body) : {};
|
|
295
|
-
return { data, status: res.status, headers: res.headers };
|
|
296
791
|
};
|
|
297
792
|
const getAddCategoryToDocumentUrl = (ecosystemName, projectName, id) => {
|
|
298
793
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}/categories`;
|
|
299
794
|
};
|
|
300
795
|
const addCategoryToDocument = async (ecosystemName, projectName, id, addCategoryToDocumentBody, options) => {
|
|
301
|
-
|
|
796
|
+
return customFetch(getAddCategoryToDocumentUrl(ecosystemName, projectName, id), {
|
|
302
797
|
...options,
|
|
303
798
|
method: "POST",
|
|
304
799
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
305
800
|
body: JSON.stringify(addCategoryToDocumentBody)
|
|
306
801
|
});
|
|
307
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
308
|
-
const data = body ? JSON.parse(body) : {};
|
|
309
|
-
return { data, status: res.status, headers: res.headers };
|
|
310
802
|
};
|
|
311
803
|
const getRemoveCategoryFromDocumentUrl = (ecosystemName, projectName, documentId, categoryId) => {
|
|
312
804
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${documentId}/categories/${categoryId}`;
|
|
313
805
|
};
|
|
314
806
|
const removeCategoryFromDocument = async (ecosystemName, projectName, documentId, categoryId, options) => {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
807
|
+
return customFetch(
|
|
808
|
+
getRemoveCategoryFromDocumentUrl(ecosystemName, projectName, documentId, categoryId),
|
|
809
|
+
{
|
|
810
|
+
...options,
|
|
811
|
+
method: "DELETE"
|
|
812
|
+
}
|
|
813
|
+
);
|
|
322
814
|
};
|
|
323
815
|
const getListDocumentCategoriesUrl = (ecosystemName, projectName, params) => {
|
|
324
816
|
const normalizedParams = new URLSearchParams();
|
|
@@ -331,65 +823,50 @@ const getListDocumentCategoriesUrl = (ecosystemName, projectName, params) => {
|
|
|
331
823
|
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`;
|
|
332
824
|
};
|
|
333
825
|
const listDocumentCategories = async (ecosystemName, projectName, params, options) => {
|
|
334
|
-
|
|
826
|
+
return customFetch(getListDocumentCategoriesUrl(ecosystemName, projectName, params), {
|
|
335
827
|
...options,
|
|
336
828
|
method: "GET"
|
|
337
829
|
});
|
|
338
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
339
|
-
const data = body ? JSON.parse(body) : {};
|
|
340
|
-
return { data, status: res.status, headers: res.headers };
|
|
341
830
|
};
|
|
342
831
|
const getCreateDocumentCategoryUrl = (ecosystemName, projectName) => {
|
|
343
832
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`;
|
|
344
833
|
};
|
|
345
834
|
const createDocumentCategory = async (ecosystemName, projectName, createDocumentCategoryBody, options) => {
|
|
346
|
-
|
|
835
|
+
return customFetch(getCreateDocumentCategoryUrl(ecosystemName, projectName), {
|
|
347
836
|
...options,
|
|
348
837
|
method: "POST",
|
|
349
838
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
350
839
|
body: JSON.stringify(createDocumentCategoryBody)
|
|
351
840
|
});
|
|
352
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
353
|
-
const data = body ? JSON.parse(body) : {};
|
|
354
|
-
return { data, status: res.status, headers: res.headers };
|
|
355
841
|
};
|
|
356
842
|
const getGetDocumentCategoryUrl = (ecosystemName, projectName, id) => {
|
|
357
843
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`;
|
|
358
844
|
};
|
|
359
845
|
const getDocumentCategory = async (ecosystemName, projectName, id, options) => {
|
|
360
|
-
|
|
846
|
+
return customFetch(getGetDocumentCategoryUrl(ecosystemName, projectName, id), {
|
|
361
847
|
...options,
|
|
362
848
|
method: "GET"
|
|
363
849
|
});
|
|
364
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
365
|
-
const data = body ? JSON.parse(body) : {};
|
|
366
|
-
return { data, status: res.status, headers: res.headers };
|
|
367
850
|
};
|
|
368
851
|
const getUpdateDocumentCategoryUrl = (ecosystemName, projectName, id) => {
|
|
369
852
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`;
|
|
370
853
|
};
|
|
371
854
|
const updateDocumentCategory = async (ecosystemName, projectName, id, updateDocumentCategoryBody, options) => {
|
|
372
|
-
|
|
855
|
+
return customFetch(getUpdateDocumentCategoryUrl(ecosystemName, projectName, id), {
|
|
373
856
|
...options,
|
|
374
857
|
method: "PATCH",
|
|
375
858
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
376
859
|
body: JSON.stringify(updateDocumentCategoryBody)
|
|
377
860
|
});
|
|
378
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
379
|
-
const data = body ? JSON.parse(body) : {};
|
|
380
|
-
return { data, status: res.status, headers: res.headers };
|
|
381
861
|
};
|
|
382
862
|
const getDeleteDocumentCategoryUrl = (ecosystemName, projectName, id) => {
|
|
383
863
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`;
|
|
384
864
|
};
|
|
385
865
|
const deleteDocumentCategory = async (ecosystemName, projectName, id, options) => {
|
|
386
|
-
|
|
866
|
+
return customFetch(getDeleteDocumentCategoryUrl(ecosystemName, projectName, id), {
|
|
387
867
|
...options,
|
|
388
868
|
method: "DELETE"
|
|
389
869
|
});
|
|
390
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
391
|
-
const data = body ? JSON.parse(body) : {};
|
|
392
|
-
return { data, status: res.status, headers: res.headers };
|
|
393
870
|
};
|
|
394
871
|
const getGetFormsDataUrl = (ecosystemName, projectName, params) => {
|
|
395
872
|
const normalizedParams = new URLSearchParams();
|
|
@@ -402,42 +879,143 @@ const getGetFormsDataUrl = (ecosystemName, projectName, params) => {
|
|
|
402
879
|
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/forms-data/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/forms-data/`;
|
|
403
880
|
};
|
|
404
881
|
const getFormsData = async (ecosystemName, projectName, params, options) => {
|
|
405
|
-
|
|
882
|
+
return customFetch(getGetFormsDataUrl(ecosystemName, projectName, params), {
|
|
883
|
+
...options,
|
|
884
|
+
method: "GET"
|
|
885
|
+
});
|
|
886
|
+
};
|
|
887
|
+
const getListManualTriggersUrl = (ecosystemName, projectName, params) => {
|
|
888
|
+
const normalizedParams = new URLSearchParams();
|
|
889
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
890
|
+
if (value !== void 0) {
|
|
891
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
892
|
+
}
|
|
893
|
+
});
|
|
894
|
+
const stringifiedParams = normalizedParams.toString();
|
|
895
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/`;
|
|
896
|
+
};
|
|
897
|
+
const listManualTriggers = async (ecosystemName, projectName, params, options) => {
|
|
898
|
+
return customFetch(getListManualTriggersUrl(ecosystemName, projectName, params), {
|
|
899
|
+
...options,
|
|
900
|
+
method: "GET"
|
|
901
|
+
});
|
|
902
|
+
};
|
|
903
|
+
const getCreateManualTriggerUrl = (ecosystemName, projectName) => {
|
|
904
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/`;
|
|
905
|
+
};
|
|
906
|
+
const createManualTrigger = async (ecosystemName, projectName, createManualTriggerBody, options) => {
|
|
907
|
+
return customFetch(getCreateManualTriggerUrl(ecosystemName, projectName), {
|
|
908
|
+
...options,
|
|
909
|
+
method: "POST",
|
|
910
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
911
|
+
body: JSON.stringify(createManualTriggerBody)
|
|
912
|
+
});
|
|
913
|
+
};
|
|
914
|
+
const getListAvailableManualTriggersUrl = (ecosystemName, projectName, params) => {
|
|
915
|
+
const normalizedParams = new URLSearchParams();
|
|
916
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
917
|
+
if (value !== void 0) {
|
|
918
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
919
|
+
}
|
|
920
|
+
});
|
|
921
|
+
const stringifiedParams = normalizedParams.toString();
|
|
922
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/available?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/available`;
|
|
923
|
+
};
|
|
924
|
+
const listAvailableManualTriggers = async (ecosystemName, projectName, params, options) => {
|
|
925
|
+
return customFetch(
|
|
926
|
+
getListAvailableManualTriggersUrl(ecosystemName, projectName, params),
|
|
927
|
+
{
|
|
928
|
+
...options,
|
|
929
|
+
method: "GET"
|
|
930
|
+
}
|
|
931
|
+
);
|
|
932
|
+
};
|
|
933
|
+
const getGetManualTriggerUrl = (ecosystemName, projectName, id, params) => {
|
|
934
|
+
const normalizedParams = new URLSearchParams();
|
|
935
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
936
|
+
if (value !== void 0) {
|
|
937
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
938
|
+
}
|
|
939
|
+
});
|
|
940
|
+
const stringifiedParams = normalizedParams.toString();
|
|
941
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}`;
|
|
942
|
+
};
|
|
943
|
+
const getManualTrigger = async (ecosystemName, projectName, id, params, options) => {
|
|
944
|
+
return customFetch(getGetManualTriggerUrl(ecosystemName, projectName, id, params), {
|
|
406
945
|
...options,
|
|
407
946
|
method: "GET"
|
|
408
947
|
});
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
return {
|
|
948
|
+
};
|
|
949
|
+
const getUpdateManualTriggerUrl = (ecosystemName, projectName, id) => {
|
|
950
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}`;
|
|
951
|
+
};
|
|
952
|
+
const updateManualTrigger = async (ecosystemName, projectName, id, updateManualTriggerBody, options) => {
|
|
953
|
+
return customFetch(getUpdateManualTriggerUrl(ecosystemName, projectName, id), {
|
|
954
|
+
...options,
|
|
955
|
+
method: "PATCH",
|
|
956
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
957
|
+
body: JSON.stringify(updateManualTriggerBody)
|
|
958
|
+
});
|
|
959
|
+
};
|
|
960
|
+
const getDeleteManualTriggerUrl = (ecosystemName, projectName, id) => {
|
|
961
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}`;
|
|
962
|
+
};
|
|
963
|
+
const deleteManualTrigger = async (ecosystemName, projectName, id, options) => {
|
|
964
|
+
return customFetch(getDeleteManualTriggerUrl(ecosystemName, projectName, id), {
|
|
965
|
+
...options,
|
|
966
|
+
method: "DELETE"
|
|
967
|
+
});
|
|
968
|
+
};
|
|
969
|
+
const getRunManualTriggerUrl = (ecosystemName, projectName, id) => {
|
|
970
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}/run`;
|
|
971
|
+
};
|
|
972
|
+
const runManualTrigger = async (ecosystemName, projectName, id, runManualTriggerBody, options) => {
|
|
973
|
+
return customFetch(getRunManualTriggerUrl(ecosystemName, projectName, id), {
|
|
974
|
+
...options,
|
|
975
|
+
method: "POST",
|
|
976
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
977
|
+
body: JSON.stringify(runManualTriggerBody)
|
|
978
|
+
});
|
|
412
979
|
};
|
|
413
980
|
const getGetThryveIframeUrlUrl = (ecosystemName, projectName) => {
|
|
414
981
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/thryve/iframe-url`;
|
|
415
982
|
};
|
|
416
983
|
const getThryveIframeUrl = async (ecosystemName, projectName, options) => {
|
|
417
|
-
|
|
984
|
+
return customFetch(getGetThryveIframeUrlUrl(ecosystemName, projectName), {
|
|
418
985
|
...options,
|
|
419
986
|
method: "GET"
|
|
420
987
|
});
|
|
421
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
422
|
-
const data = body ? JSON.parse(body) : {};
|
|
423
|
-
return { data, status: res.status, headers: res.headers };
|
|
424
988
|
};
|
|
425
989
|
const getGetThryveIsAuthorizedUrl = (ecosystemName, projectName) => {
|
|
426
990
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/thryve/is-authorized`;
|
|
427
991
|
};
|
|
428
992
|
const getThryveIsAuthorized = async (ecosystemName, projectName, options) => {
|
|
429
|
-
|
|
993
|
+
return customFetch(getGetThryveIsAuthorizedUrl(ecosystemName, projectName), {
|
|
430
994
|
...options,
|
|
431
995
|
method: "GET"
|
|
432
996
|
});
|
|
433
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
434
|
-
const data = body ? JSON.parse(body) : {};
|
|
435
|
-
return { data, status: res.status, headers: res.headers };
|
|
436
997
|
};
|
|
437
998
|
exports.AddCategoryToDocument403AllOfThreeError = AddCategoryToDocument403AllOfThreeError;
|
|
438
999
|
exports.AddCategoryToDocument403AllOfThreeStatusCode = AddCategoryToDocument403AllOfThreeStatusCode;
|
|
439
1000
|
exports.AddCategoryToDocument404AllOfThreeError = AddCategoryToDocument404AllOfThreeError;
|
|
440
1001
|
exports.AddCategoryToDocument404AllOfThreeStatusCode = AddCategoryToDocument404AllOfThreeStatusCode;
|
|
1002
|
+
exports.CreateAction200Type = CreateAction200Type;
|
|
1003
|
+
exports.CreateAction400AllOfThreeError = CreateAction400AllOfThreeError;
|
|
1004
|
+
exports.CreateAction400AllOfThreeStatusCode = CreateAction400AllOfThreeStatusCode;
|
|
1005
|
+
exports.CreateAction403AllOfThreeError = CreateAction403AllOfThreeError;
|
|
1006
|
+
exports.CreateAction403AllOfThreeStatusCode = CreateAction403AllOfThreeStatusCode;
|
|
1007
|
+
exports.CreateAction404AllOfThreeError = CreateAction404AllOfThreeError;
|
|
1008
|
+
exports.CreateAction404AllOfThreeStatusCode = CreateAction404AllOfThreeStatusCode;
|
|
1009
|
+
exports.CreateActionBodyType = CreateActionBodyType;
|
|
1010
|
+
exports.CreateAutomaticTrigger200AllOfOneoneActionsItemType = CreateAutomaticTrigger200AllOfOneoneActionsItemType;
|
|
1011
|
+
exports.CreateAutomaticTrigger200AllOfSource = CreateAutomaticTrigger200AllOfSource;
|
|
1012
|
+
exports.CreateAutomaticTrigger403AllOfThreeError = CreateAutomaticTrigger403AllOfThreeError;
|
|
1013
|
+
exports.CreateAutomaticTrigger403AllOfThreeStatusCode = CreateAutomaticTrigger403AllOfThreeStatusCode;
|
|
1014
|
+
exports.CreateAutomaticTrigger404AllOfThreeError = CreateAutomaticTrigger404AllOfThreeError;
|
|
1015
|
+
exports.CreateAutomaticTrigger404AllOfThreeStatusCode = CreateAutomaticTrigger404AllOfThreeStatusCode;
|
|
1016
|
+
exports.CreateAutomaticTriggerBodyActionsItemAnyOfNineType = CreateAutomaticTriggerBodyActionsItemAnyOfNineType;
|
|
1017
|
+
exports.CreateAutomaticTriggerBodyActionsItemAnyOfType = CreateAutomaticTriggerBodyActionsItemAnyOfType;
|
|
1018
|
+
exports.CreateAutomaticTriggerBodySource = CreateAutomaticTriggerBodySource;
|
|
441
1019
|
exports.CreateDocument403AllOfThreeError = CreateDocument403AllOfThreeError;
|
|
442
1020
|
exports.CreateDocument403AllOfThreeStatusCode = CreateDocument403AllOfThreeStatusCode;
|
|
443
1021
|
exports.CreateDocument404AllOfThreeError = CreateDocument404AllOfThreeError;
|
|
@@ -446,6 +1024,23 @@ exports.CreateDocumentCategory403AllOfThreeError = CreateDocumentCategory403AllO
|
|
|
446
1024
|
exports.CreateDocumentCategory403AllOfThreeStatusCode = CreateDocumentCategory403AllOfThreeStatusCode;
|
|
447
1025
|
exports.CreateDocumentCategory404AllOfThreeError = CreateDocumentCategory404AllOfThreeError;
|
|
448
1026
|
exports.CreateDocumentCategory404AllOfThreeStatusCode = CreateDocumentCategory404AllOfThreeStatusCode;
|
|
1027
|
+
exports.CreateManualTrigger200AllOfNineActionsItemType = CreateManualTrigger200AllOfNineActionsItemType;
|
|
1028
|
+
exports.CreateManualTrigger200AllOfSource = CreateManualTrigger200AllOfSource;
|
|
1029
|
+
exports.CreateManualTrigger403AllOfThreeError = CreateManualTrigger403AllOfThreeError;
|
|
1030
|
+
exports.CreateManualTrigger403AllOfThreeStatusCode = CreateManualTrigger403AllOfThreeStatusCode;
|
|
1031
|
+
exports.CreateManualTrigger404AllOfThreeError = CreateManualTrigger404AllOfThreeError;
|
|
1032
|
+
exports.CreateManualTrigger404AllOfThreeStatusCode = CreateManualTrigger404AllOfThreeStatusCode;
|
|
1033
|
+
exports.CreateManualTriggerBodyActionsItemAnyOfNineType = CreateManualTriggerBodyActionsItemAnyOfNineType;
|
|
1034
|
+
exports.CreateManualTriggerBodyActionsItemAnyOfType = CreateManualTriggerBodyActionsItemAnyOfType;
|
|
1035
|
+
exports.CreateManualTriggerBodySource = CreateManualTriggerBodySource;
|
|
1036
|
+
exports.DeleteAction403AllOfThreeError = DeleteAction403AllOfThreeError;
|
|
1037
|
+
exports.DeleteAction403AllOfThreeStatusCode = DeleteAction403AllOfThreeStatusCode;
|
|
1038
|
+
exports.DeleteAction404AllOfThreeError = DeleteAction404AllOfThreeError;
|
|
1039
|
+
exports.DeleteAction404AllOfThreeStatusCode = DeleteAction404AllOfThreeStatusCode;
|
|
1040
|
+
exports.DeleteAutomaticTrigger403AllOfThreeError = DeleteAutomaticTrigger403AllOfThreeError;
|
|
1041
|
+
exports.DeleteAutomaticTrigger403AllOfThreeStatusCode = DeleteAutomaticTrigger403AllOfThreeStatusCode;
|
|
1042
|
+
exports.DeleteAutomaticTrigger404AllOfThreeError = DeleteAutomaticTrigger404AllOfThreeError;
|
|
1043
|
+
exports.DeleteAutomaticTrigger404AllOfThreeStatusCode = DeleteAutomaticTrigger404AllOfThreeStatusCode;
|
|
449
1044
|
exports.DeleteDocument403AllOfThreeError = DeleteDocument403AllOfThreeError;
|
|
450
1045
|
exports.DeleteDocument403AllOfThreeStatusCode = DeleteDocument403AllOfThreeStatusCode;
|
|
451
1046
|
exports.DeleteDocument404AllOfThreeError = DeleteDocument404AllOfThreeError;
|
|
@@ -454,6 +1049,22 @@ exports.DeleteDocumentCategory403AllOfThreeError = DeleteDocumentCategory403AllO
|
|
|
454
1049
|
exports.DeleteDocumentCategory403AllOfThreeStatusCode = DeleteDocumentCategory403AllOfThreeStatusCode;
|
|
455
1050
|
exports.DeleteDocumentCategory404AllOfThreeError = DeleteDocumentCategory404AllOfThreeError;
|
|
456
1051
|
exports.DeleteDocumentCategory404AllOfThreeStatusCode = DeleteDocumentCategory404AllOfThreeStatusCode;
|
|
1052
|
+
exports.DeleteManualTrigger403AllOfThreeError = DeleteManualTrigger403AllOfThreeError;
|
|
1053
|
+
exports.DeleteManualTrigger403AllOfThreeStatusCode = DeleteManualTrigger403AllOfThreeStatusCode;
|
|
1054
|
+
exports.DeleteManualTrigger404AllOfThreeError = DeleteManualTrigger404AllOfThreeError;
|
|
1055
|
+
exports.DeleteManualTrigger404AllOfThreeStatusCode = DeleteManualTrigger404AllOfThreeStatusCode;
|
|
1056
|
+
exports.GeneratedClientError = GeneratedClientError;
|
|
1057
|
+
exports.GetAction200Type = GetAction200Type;
|
|
1058
|
+
exports.GetAction403AllOfThreeError = GetAction403AllOfThreeError;
|
|
1059
|
+
exports.GetAction403AllOfThreeStatusCode = GetAction403AllOfThreeStatusCode;
|
|
1060
|
+
exports.GetAction404AllOfThreeError = GetAction404AllOfThreeError;
|
|
1061
|
+
exports.GetAction404AllOfThreeStatusCode = GetAction404AllOfThreeStatusCode;
|
|
1062
|
+
exports.GetAutomaticTrigger200AllOfOneoneActionsItemType = GetAutomaticTrigger200AllOfOneoneActionsItemType;
|
|
1063
|
+
exports.GetAutomaticTrigger200AllOfSource = GetAutomaticTrigger200AllOfSource;
|
|
1064
|
+
exports.GetAutomaticTrigger403AllOfThreeError = GetAutomaticTrigger403AllOfThreeError;
|
|
1065
|
+
exports.GetAutomaticTrigger403AllOfThreeStatusCode = GetAutomaticTrigger403AllOfThreeStatusCode;
|
|
1066
|
+
exports.GetAutomaticTrigger404AllOfThreeError = GetAutomaticTrigger404AllOfThreeError;
|
|
1067
|
+
exports.GetAutomaticTrigger404AllOfThreeStatusCode = GetAutomaticTrigger404AllOfThreeStatusCode;
|
|
457
1068
|
exports.GetDocument403AllOfThreeError = GetDocument403AllOfThreeError;
|
|
458
1069
|
exports.GetDocument403AllOfThreeStatusCode = GetDocument403AllOfThreeStatusCode;
|
|
459
1070
|
exports.GetDocument404AllOfThreeError = GetDocument404AllOfThreeError;
|
|
@@ -466,6 +1077,12 @@ exports.GetFormsData403AllOfThreeError = GetFormsData403AllOfThreeError;
|
|
|
466
1077
|
exports.GetFormsData403AllOfThreeStatusCode = GetFormsData403AllOfThreeStatusCode;
|
|
467
1078
|
exports.GetFormsData404AllOfThreeError = GetFormsData404AllOfThreeError;
|
|
468
1079
|
exports.GetFormsData404AllOfThreeStatusCode = GetFormsData404AllOfThreeStatusCode;
|
|
1080
|
+
exports.GetManualTrigger200AllOfNineActionsItemType = GetManualTrigger200AllOfNineActionsItemType;
|
|
1081
|
+
exports.GetManualTrigger200AllOfSource = GetManualTrigger200AllOfSource;
|
|
1082
|
+
exports.GetManualTrigger403AllOfThreeError = GetManualTrigger403AllOfThreeError;
|
|
1083
|
+
exports.GetManualTrigger403AllOfThreeStatusCode = GetManualTrigger403AllOfThreeStatusCode;
|
|
1084
|
+
exports.GetManualTrigger404AllOfThreeError = GetManualTrigger404AllOfThreeError;
|
|
1085
|
+
exports.GetManualTrigger404AllOfThreeStatusCode = GetManualTrigger404AllOfThreeStatusCode;
|
|
469
1086
|
exports.GetThryveIframeUrl403AllOfThreeError = GetThryveIframeUrl403AllOfThreeError;
|
|
470
1087
|
exports.GetThryveIframeUrl403AllOfThreeStatusCode = GetThryveIframeUrl403AllOfThreeStatusCode;
|
|
471
1088
|
exports.GetThryveIframeUrl404AllOfThreeError = GetThryveIframeUrl404AllOfThreeError;
|
|
@@ -474,10 +1091,26 @@ exports.GetThryveIsAuthorized403AllOfThreeError = GetThryveIsAuthorized403AllOfT
|
|
|
474
1091
|
exports.GetThryveIsAuthorized403AllOfThreeStatusCode = GetThryveIsAuthorized403AllOfThreeStatusCode;
|
|
475
1092
|
exports.GetThryveIsAuthorized404AllOfThreeError = GetThryveIsAuthorized404AllOfThreeError;
|
|
476
1093
|
exports.GetThryveIsAuthorized404AllOfThreeStatusCode = GetThryveIsAuthorized404AllOfThreeStatusCode;
|
|
1094
|
+
exports.ListActions200ResultsItemType = ListActions200ResultsItemType;
|
|
1095
|
+
exports.ListActions403AllOfThreeError = ListActions403AllOfThreeError;
|
|
1096
|
+
exports.ListActions403AllOfThreeStatusCode = ListActions403AllOfThreeStatusCode;
|
|
1097
|
+
exports.ListActions404AllOfThreeError = ListActions404AllOfThreeError;
|
|
1098
|
+
exports.ListActions404AllOfThreeStatusCode = ListActions404AllOfThreeStatusCode;
|
|
1099
|
+
exports.ListAutomaticTriggers200ResultsItemAllOfOneoneActionsItemType = ListAutomaticTriggers200ResultsItemAllOfOneoneActionsItemType;
|
|
1100
|
+
exports.ListAutomaticTriggers200ResultsItemAllOfSource = ListAutomaticTriggers200ResultsItemAllOfSource;
|
|
1101
|
+
exports.ListAutomaticTriggers403AllOfThreeError = ListAutomaticTriggers403AllOfThreeError;
|
|
1102
|
+
exports.ListAutomaticTriggers403AllOfThreeStatusCode = ListAutomaticTriggers403AllOfThreeStatusCode;
|
|
1103
|
+
exports.ListAutomaticTriggers404AllOfThreeError = ListAutomaticTriggers404AllOfThreeError;
|
|
1104
|
+
exports.ListAutomaticTriggers404AllOfThreeStatusCode = ListAutomaticTriggers404AllOfThreeStatusCode;
|
|
477
1105
|
exports.ListAvailableActions403AllOfThreeError = ListAvailableActions403AllOfThreeError;
|
|
478
1106
|
exports.ListAvailableActions403AllOfThreeStatusCode = ListAvailableActions403AllOfThreeStatusCode;
|
|
479
1107
|
exports.ListAvailableActions404AllOfThreeError = ListAvailableActions404AllOfThreeError;
|
|
480
1108
|
exports.ListAvailableActions404AllOfThreeStatusCode = ListAvailableActions404AllOfThreeStatusCode;
|
|
1109
|
+
exports.ListAvailableManualTriggers403AllOfThreeError = ListAvailableManualTriggers403AllOfThreeError;
|
|
1110
|
+
exports.ListAvailableManualTriggers403AllOfThreeStatusCode = ListAvailableManualTriggers403AllOfThreeStatusCode;
|
|
1111
|
+
exports.ListAvailableManualTriggers404AllOfThreeError = ListAvailableManualTriggers404AllOfThreeError;
|
|
1112
|
+
exports.ListAvailableManualTriggers404AllOfThreeStatusCode = ListAvailableManualTriggers404AllOfThreeStatusCode;
|
|
1113
|
+
exports.ListAvailableManualTriggersSource = ListAvailableManualTriggersSource;
|
|
481
1114
|
exports.ListDocumentCategories403AllOfThreeError = ListDocumentCategories403AllOfThreeError;
|
|
482
1115
|
exports.ListDocumentCategories403AllOfThreeStatusCode = ListDocumentCategories403AllOfThreeStatusCode;
|
|
483
1116
|
exports.ListDocumentCategories404AllOfThreeError = ListDocumentCategories404AllOfThreeError;
|
|
@@ -486,10 +1119,39 @@ exports.ListDocuments403AllOfThreeError = ListDocuments403AllOfThreeError;
|
|
|
486
1119
|
exports.ListDocuments403AllOfThreeStatusCode = ListDocuments403AllOfThreeStatusCode;
|
|
487
1120
|
exports.ListDocuments404AllOfThreeError = ListDocuments404AllOfThreeError;
|
|
488
1121
|
exports.ListDocuments404AllOfThreeStatusCode = ListDocuments404AllOfThreeStatusCode;
|
|
1122
|
+
exports.ListManualTriggers200ResultsItemAllOfNineActionsItemType = ListManualTriggers200ResultsItemAllOfNineActionsItemType;
|
|
1123
|
+
exports.ListManualTriggers200ResultsItemAllOfSource = ListManualTriggers200ResultsItemAllOfSource;
|
|
1124
|
+
exports.ListManualTriggers403AllOfThreeError = ListManualTriggers403AllOfThreeError;
|
|
1125
|
+
exports.ListManualTriggers403AllOfThreeStatusCode = ListManualTriggers403AllOfThreeStatusCode;
|
|
1126
|
+
exports.ListManualTriggers404AllOfThreeError = ListManualTriggers404AllOfThreeError;
|
|
1127
|
+
exports.ListManualTriggers404AllOfThreeStatusCode = ListManualTriggers404AllOfThreeStatusCode;
|
|
489
1128
|
exports.RemoveCategoryFromDocument403AllOfThreeError = RemoveCategoryFromDocument403AllOfThreeError;
|
|
490
1129
|
exports.RemoveCategoryFromDocument403AllOfThreeStatusCode = RemoveCategoryFromDocument403AllOfThreeStatusCode;
|
|
491
1130
|
exports.RemoveCategoryFromDocument404AllOfThreeError = RemoveCategoryFromDocument404AllOfThreeError;
|
|
492
1131
|
exports.RemoveCategoryFromDocument404AllOfThreeStatusCode = RemoveCategoryFromDocument404AllOfThreeStatusCode;
|
|
1132
|
+
exports.RunManualTrigger403AllOfThreeError = RunManualTrigger403AllOfThreeError;
|
|
1133
|
+
exports.RunManualTrigger403AllOfThreeStatusCode = RunManualTrigger403AllOfThreeStatusCode;
|
|
1134
|
+
exports.RunManualTrigger404AllOfThreeError = RunManualTrigger404AllOfThreeError;
|
|
1135
|
+
exports.RunManualTrigger404AllOfThreeStatusCode = RunManualTrigger404AllOfThreeStatusCode;
|
|
1136
|
+
exports.UpdateAction200Type = UpdateAction200Type;
|
|
1137
|
+
exports.UpdateAction400AllOfThreeError = UpdateAction400AllOfThreeError;
|
|
1138
|
+
exports.UpdateAction400AllOfThreeStatusCode = UpdateAction400AllOfThreeStatusCode;
|
|
1139
|
+
exports.UpdateAction403AllOfThreeError = UpdateAction403AllOfThreeError;
|
|
1140
|
+
exports.UpdateAction403AllOfThreeStatusCode = UpdateAction403AllOfThreeStatusCode;
|
|
1141
|
+
exports.UpdateAction404AllOfThreeError = UpdateAction404AllOfThreeError;
|
|
1142
|
+
exports.UpdateAction404AllOfThreeStatusCode = UpdateAction404AllOfThreeStatusCode;
|
|
1143
|
+
exports.UpdateActionBodyType = UpdateActionBodyType;
|
|
1144
|
+
exports.UpdateAutomaticTrigger200AllOfOneoneActionsItemType = UpdateAutomaticTrigger200AllOfOneoneActionsItemType;
|
|
1145
|
+
exports.UpdateAutomaticTrigger200AllOfSource = UpdateAutomaticTrigger200AllOfSource;
|
|
1146
|
+
exports.UpdateAutomaticTrigger400AllOfThreeError = UpdateAutomaticTrigger400AllOfThreeError;
|
|
1147
|
+
exports.UpdateAutomaticTrigger400AllOfThreeStatusCode = UpdateAutomaticTrigger400AllOfThreeStatusCode;
|
|
1148
|
+
exports.UpdateAutomaticTrigger403AllOfThreeError = UpdateAutomaticTrigger403AllOfThreeError;
|
|
1149
|
+
exports.UpdateAutomaticTrigger403AllOfThreeStatusCode = UpdateAutomaticTrigger403AllOfThreeStatusCode;
|
|
1150
|
+
exports.UpdateAutomaticTrigger404AllOfThreeError = UpdateAutomaticTrigger404AllOfThreeError;
|
|
1151
|
+
exports.UpdateAutomaticTrigger404AllOfThreeStatusCode = UpdateAutomaticTrigger404AllOfThreeStatusCode;
|
|
1152
|
+
exports.UpdateAutomaticTriggerBodyActionsItemAnyOfNineType = UpdateAutomaticTriggerBodyActionsItemAnyOfNineType;
|
|
1153
|
+
exports.UpdateAutomaticTriggerBodyActionsItemAnyOfType = UpdateAutomaticTriggerBodyActionsItemAnyOfType;
|
|
1154
|
+
exports.UpdateAutomaticTriggerBodySource = UpdateAutomaticTriggerBodySource;
|
|
493
1155
|
exports.UpdateDocument403AllOfThreeError = UpdateDocument403AllOfThreeError;
|
|
494
1156
|
exports.UpdateDocument403AllOfThreeStatusCode = UpdateDocument403AllOfThreeStatusCode;
|
|
495
1157
|
exports.UpdateDocument404AllOfThreeError = UpdateDocument404AllOfThreeError;
|
|
@@ -498,38 +1160,85 @@ exports.UpdateDocumentCategory403AllOfThreeError = UpdateDocumentCategory403AllO
|
|
|
498
1160
|
exports.UpdateDocumentCategory403AllOfThreeStatusCode = UpdateDocumentCategory403AllOfThreeStatusCode;
|
|
499
1161
|
exports.UpdateDocumentCategory404AllOfThreeError = UpdateDocumentCategory404AllOfThreeError;
|
|
500
1162
|
exports.UpdateDocumentCategory404AllOfThreeStatusCode = UpdateDocumentCategory404AllOfThreeStatusCode;
|
|
1163
|
+
exports.UpdateManualTrigger200AllOfNineActionsItemType = UpdateManualTrigger200AllOfNineActionsItemType;
|
|
1164
|
+
exports.UpdateManualTrigger200AllOfSource = UpdateManualTrigger200AllOfSource;
|
|
1165
|
+
exports.UpdateManualTrigger400AllOfThreeError = UpdateManualTrigger400AllOfThreeError;
|
|
1166
|
+
exports.UpdateManualTrigger400AllOfThreeStatusCode = UpdateManualTrigger400AllOfThreeStatusCode;
|
|
1167
|
+
exports.UpdateManualTrigger403AllOfThreeError = UpdateManualTrigger403AllOfThreeError;
|
|
1168
|
+
exports.UpdateManualTrigger403AllOfThreeStatusCode = UpdateManualTrigger403AllOfThreeStatusCode;
|
|
1169
|
+
exports.UpdateManualTrigger404AllOfThreeError = UpdateManualTrigger404AllOfThreeError;
|
|
1170
|
+
exports.UpdateManualTrigger404AllOfThreeStatusCode = UpdateManualTrigger404AllOfThreeStatusCode;
|
|
1171
|
+
exports.UpdateManualTriggerBodyActionsItemAnyOfNineType = UpdateManualTriggerBodyActionsItemAnyOfNineType;
|
|
1172
|
+
exports.UpdateManualTriggerBodyActionsItemAnyOfType = UpdateManualTriggerBodyActionsItemAnyOfType;
|
|
1173
|
+
exports.UpdateManualTriggerBodySource = UpdateManualTriggerBodySource;
|
|
501
1174
|
exports.addCategoryToDocument = addCategoryToDocument;
|
|
1175
|
+
exports.configureGeneratedClient = configureGeneratedClient;
|
|
1176
|
+
exports.createAction = createAction;
|
|
1177
|
+
exports.createAutomaticTrigger = createAutomaticTrigger;
|
|
502
1178
|
exports.createDocument = createDocument;
|
|
503
1179
|
exports.createDocumentCategory = createDocumentCategory;
|
|
1180
|
+
exports.createManualTrigger = createManualTrigger;
|
|
1181
|
+
exports.customFetch = customFetch;
|
|
1182
|
+
exports.deleteAction = deleteAction;
|
|
1183
|
+
exports.deleteAutomaticTrigger = deleteAutomaticTrigger;
|
|
504
1184
|
exports.deleteDocument = deleteDocument;
|
|
505
1185
|
exports.deleteDocumentCategory = deleteDocumentCategory;
|
|
1186
|
+
exports.deleteManualTrigger = deleteManualTrigger;
|
|
1187
|
+
exports.getAction = getAction;
|
|
506
1188
|
exports.getAddCategoryToDocumentUrl = getAddCategoryToDocumentUrl;
|
|
1189
|
+
exports.getAutomaticTrigger = getAutomaticTrigger;
|
|
1190
|
+
exports.getCreateActionUrl = getCreateActionUrl;
|
|
1191
|
+
exports.getCreateAutomaticTriggerUrl = getCreateAutomaticTriggerUrl;
|
|
507
1192
|
exports.getCreateDocumentCategoryUrl = getCreateDocumentCategoryUrl;
|
|
508
1193
|
exports.getCreateDocumentUrl = getCreateDocumentUrl;
|
|
1194
|
+
exports.getCreateManualTriggerUrl = getCreateManualTriggerUrl;
|
|
1195
|
+
exports.getDeleteActionUrl = getDeleteActionUrl;
|
|
1196
|
+
exports.getDeleteAutomaticTriggerUrl = getDeleteAutomaticTriggerUrl;
|
|
509
1197
|
exports.getDeleteDocumentCategoryUrl = getDeleteDocumentCategoryUrl;
|
|
510
1198
|
exports.getDeleteDocumentUrl = getDeleteDocumentUrl;
|
|
1199
|
+
exports.getDeleteManualTriggerUrl = getDeleteManualTriggerUrl;
|
|
511
1200
|
exports.getDocument = getDocument;
|
|
512
1201
|
exports.getDocumentCategory = getDocumentCategory;
|
|
513
1202
|
exports.getFormsData = getFormsData;
|
|
1203
|
+
exports.getGetActionUrl = getGetActionUrl;
|
|
1204
|
+
exports.getGetAutomaticTriggerUrl = getGetAutomaticTriggerUrl;
|
|
514
1205
|
exports.getGetDocumentCategoryUrl = getGetDocumentCategoryUrl;
|
|
515
1206
|
exports.getGetDocumentUrl = getGetDocumentUrl;
|
|
516
1207
|
exports.getGetFormsDataUrl = getGetFormsDataUrl;
|
|
1208
|
+
exports.getGetManualTriggerUrl = getGetManualTriggerUrl;
|
|
517
1209
|
exports.getGetThryveIframeUrlUrl = getGetThryveIframeUrlUrl;
|
|
518
1210
|
exports.getGetThryveIsAuthorizedUrl = getGetThryveIsAuthorizedUrl;
|
|
1211
|
+
exports.getListActionsUrl = getListActionsUrl;
|
|
1212
|
+
exports.getListAutomaticTriggersUrl = getListAutomaticTriggersUrl;
|
|
519
1213
|
exports.getListAvailableActionsUrl = getListAvailableActionsUrl;
|
|
1214
|
+
exports.getListAvailableManualTriggersUrl = getListAvailableManualTriggersUrl;
|
|
520
1215
|
exports.getListDocumentCategoriesUrl = getListDocumentCategoriesUrl;
|
|
521
1216
|
exports.getListDocumentsUrl = getListDocumentsUrl;
|
|
1217
|
+
exports.getListManualTriggersUrl = getListManualTriggersUrl;
|
|
1218
|
+
exports.getManualTrigger = getManualTrigger;
|
|
522
1219
|
exports.getPostV2AuthLoginGlobalUrl = getPostV2AuthLoginGlobalUrl;
|
|
523
1220
|
exports.getRemoveCategoryFromDocumentUrl = getRemoveCategoryFromDocumentUrl;
|
|
1221
|
+
exports.getRunManualTriggerUrl = getRunManualTriggerUrl;
|
|
524
1222
|
exports.getThryveIframeUrl = getThryveIframeUrl;
|
|
525
1223
|
exports.getThryveIsAuthorized = getThryveIsAuthorized;
|
|
1224
|
+
exports.getUpdateActionUrl = getUpdateActionUrl;
|
|
1225
|
+
exports.getUpdateAutomaticTriggerUrl = getUpdateAutomaticTriggerUrl;
|
|
526
1226
|
exports.getUpdateDocumentCategoryUrl = getUpdateDocumentCategoryUrl;
|
|
527
1227
|
exports.getUpdateDocumentUrl = getUpdateDocumentUrl;
|
|
1228
|
+
exports.getUpdateManualTriggerUrl = getUpdateManualTriggerUrl;
|
|
1229
|
+
exports.listActions = listActions;
|
|
1230
|
+
exports.listAutomaticTriggers = listAutomaticTriggers;
|
|
528
1231
|
exports.listAvailableActions = listAvailableActions;
|
|
1232
|
+
exports.listAvailableManualTriggers = listAvailableManualTriggers;
|
|
529
1233
|
exports.listDocumentCategories = listDocumentCategories;
|
|
530
1234
|
exports.listDocuments = listDocuments;
|
|
1235
|
+
exports.listManualTriggers = listManualTriggers;
|
|
531
1236
|
exports.postV2AuthLoginGlobal = postV2AuthLoginGlobal;
|
|
532
1237
|
exports.removeCategoryFromDocument = removeCategoryFromDocument;
|
|
1238
|
+
exports.runManualTrigger = runManualTrigger;
|
|
1239
|
+
exports.updateAction = updateAction;
|
|
1240
|
+
exports.updateAutomaticTrigger = updateAutomaticTrigger;
|
|
533
1241
|
exports.updateDocument = updateDocument;
|
|
534
1242
|
exports.updateDocumentCategory = updateDocumentCategory;
|
|
1243
|
+
exports.updateManualTrigger = updateManualTrigger;
|
|
535
1244
|
//# sourceMappingURL=client.cjs.map
|