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