@persei/perseed-api 5.0.19 → 5.0.21
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 +875 -71
- package/dist/client.cjs.map +1 -1
- package/dist/client.mjs +876 -72
- package/dist/client.mjs.map +1 -1
- package/dist/ecosystem-action-system.cjs +586 -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 +586 -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 +5251 -670
- 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 +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/QueryService.d.ts +24 -1
- package/dist/src/Services/QueryService.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/NotificationConfiguration.d.ts +1 -1
- package/dist/src/models/ecosystem/NotificationConfiguration.d.ts.map +1 -1
- package/dist/src/models/ecosystem/User.d.ts +17 -0
- package/dist/src/models/ecosystem/User.d.ts.map +1 -1
- package/dist/src/models/ecosystem/User.getProjectUser.test.d.ts +2 -0
- package/dist/src/models/ecosystem/User.getProjectUser.test.d.ts.map +1 -0
- package/dist/src/models/perseed/PerseedEcosystem.d.ts +2 -0
- package/dist/src/models/perseed/PerseedEcosystem.d.ts.map +1 -1
- 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/api_action/ApiActionTypes.d.ts +11 -0
- package/dist/src/schemas/api_action/ApiActionTypes.d.ts.map +1 -1
- package/dist/src/schemas/index.d.ts +1 -0
- package/dist/src/schemas/index.d.ts.map +1 -1
- 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/schemas/project_user/index.d.ts +2 -0
- package/dist/src/schemas/project_user/index.d.ts.map +1 -0
- package/dist/src/schemas/project_user/types.d.ts +44 -0
- package/dist/src/schemas/project_user/types.d.ts.map +1 -0
- 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 +149 -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 +5 -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.helper/manual-trigger.helper.d.ts +13 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/manual-trigger.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/manual-trigger.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/manual-trigger.helper.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.model.d.ts +122 -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 +744 -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 +34 -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 +179 -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 +57 -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/ecosystem/process-log/index.d.ts +3 -0
- package/dist/src/v2/modules/ecosystem/process-log/index.d.ts.map +1 -0
- package/dist/src/{models/ecosystem/ProcessLog.d.ts → v2/modules/ecosystem/process-log/process-log.model.d.ts} +16 -5
- package/dist/src/v2/modules/ecosystem/process-log/process-log.model.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.model.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.model.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.d.ts +20 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.e2e.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.e2e.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.test.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.controller.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/src/models/ecosystem/ProcessLog.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,231 @@ 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 ListManualTriggers200ResultsItemAllOfConfigAnyOfUnmatchedBehavior = {
|
|
423
|
+
hide: "hide",
|
|
424
|
+
disable: "disable"
|
|
425
|
+
};
|
|
426
|
+
const ListManualTriggers200ResultsItemAllOfConfigAnyOfStylesIconPosition = {
|
|
427
|
+
left: "left",
|
|
428
|
+
right: "right"
|
|
429
|
+
};
|
|
430
|
+
const ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfIconPosition = {
|
|
431
|
+
left: "left",
|
|
432
|
+
right: "right"
|
|
433
|
+
};
|
|
434
|
+
const ListManualTriggers200ResultsItemAllOfTwozeroActionsItemType = {
|
|
435
|
+
ApiAction: "ApiAction"
|
|
436
|
+
};
|
|
437
|
+
const ListManualTriggers403AllOfThreeStatusCode = {
|
|
438
|
+
NUMBER_403: 403
|
|
439
|
+
};
|
|
440
|
+
const ListManualTriggers403AllOfThreeError = {
|
|
441
|
+
"forbidden-error": "forbidden-error"
|
|
442
|
+
};
|
|
443
|
+
const ListManualTriggers404AllOfThreeStatusCode = {
|
|
444
|
+
NUMBER_404: 404
|
|
445
|
+
};
|
|
446
|
+
const ListManualTriggers404AllOfThreeError = {
|
|
447
|
+
"not-found": "not-found"
|
|
448
|
+
};
|
|
449
|
+
const CreateManualTriggerBodySource = {
|
|
450
|
+
model: "model",
|
|
451
|
+
designer: "designer",
|
|
452
|
+
displayer: "displayer"
|
|
453
|
+
};
|
|
454
|
+
const CreateManualTriggerBodyConfigAnyOfUnmatchedBehavior = {
|
|
455
|
+
hide: "hide",
|
|
456
|
+
disable: "disable"
|
|
457
|
+
};
|
|
458
|
+
const CreateManualTriggerBodyConfigAnyOfStylesIconPosition = {
|
|
459
|
+
left: "left",
|
|
460
|
+
right: "right"
|
|
461
|
+
};
|
|
462
|
+
const CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition = {
|
|
463
|
+
left: "left",
|
|
464
|
+
right: "right"
|
|
465
|
+
};
|
|
466
|
+
const CreateManualTriggerBodyActionsItemAnyOfType = {
|
|
467
|
+
ApiAction: "ApiAction"
|
|
468
|
+
};
|
|
469
|
+
const CreateManualTriggerBodyActionsItemAnyOfNineType = {
|
|
470
|
+
ApiAction: "ApiAction"
|
|
471
|
+
};
|
|
472
|
+
const CreateManualTrigger200AllOfSource = {
|
|
473
|
+
model: "model",
|
|
474
|
+
designer: "designer",
|
|
475
|
+
displayer: "displayer"
|
|
476
|
+
};
|
|
477
|
+
const CreateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior = {
|
|
478
|
+
hide: "hide",
|
|
479
|
+
disable: "disable"
|
|
480
|
+
};
|
|
481
|
+
const CreateManualTrigger200AllOfConfigAnyOfStylesIconPosition = {
|
|
482
|
+
left: "left",
|
|
483
|
+
right: "right"
|
|
484
|
+
};
|
|
485
|
+
const CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition = {
|
|
486
|
+
left: "left",
|
|
487
|
+
right: "right"
|
|
488
|
+
};
|
|
489
|
+
const CreateManualTrigger200AllOfTwozeroActionsItemType = {
|
|
490
|
+
ApiAction: "ApiAction"
|
|
491
|
+
};
|
|
492
|
+
const CreateManualTrigger403AllOfThreeStatusCode = {
|
|
493
|
+
NUMBER_403: 403
|
|
494
|
+
};
|
|
495
|
+
const CreateManualTrigger403AllOfThreeError = {
|
|
496
|
+
"forbidden-error": "forbidden-error"
|
|
497
|
+
};
|
|
498
|
+
const CreateManualTrigger404AllOfThreeStatusCode = {
|
|
499
|
+
NUMBER_404: 404
|
|
500
|
+
};
|
|
501
|
+
const CreateManualTrigger404AllOfThreeError = {
|
|
502
|
+
"not-found": "not-found"
|
|
503
|
+
};
|
|
504
|
+
const ListAvailableManualTriggersSource = {
|
|
505
|
+
model: "model",
|
|
506
|
+
designer: "designer",
|
|
507
|
+
displayer: "displayer"
|
|
508
|
+
};
|
|
509
|
+
const ListAvailableManualTriggers200ResultsItemStyleIconPosition = {
|
|
510
|
+
left: "left",
|
|
511
|
+
right: "right"
|
|
512
|
+
};
|
|
513
|
+
const ListAvailableManualTriggers403AllOfThreeStatusCode = {
|
|
514
|
+
NUMBER_403: 403
|
|
515
|
+
};
|
|
516
|
+
const ListAvailableManualTriggers403AllOfThreeError = {
|
|
517
|
+
"forbidden-error": "forbidden-error"
|
|
518
|
+
};
|
|
519
|
+
const ListAvailableManualTriggers404AllOfThreeStatusCode = {
|
|
520
|
+
NUMBER_404: 404
|
|
521
|
+
};
|
|
522
|
+
const ListAvailableManualTriggers404AllOfThreeError = {
|
|
523
|
+
"not-found": "not-found"
|
|
524
|
+
};
|
|
525
|
+
const GetManualTrigger200AllOfSource = {
|
|
526
|
+
model: "model",
|
|
527
|
+
designer: "designer",
|
|
528
|
+
displayer: "displayer"
|
|
529
|
+
};
|
|
530
|
+
const GetManualTrigger200AllOfConfigAnyOfUnmatchedBehavior = {
|
|
531
|
+
hide: "hide",
|
|
532
|
+
disable: "disable"
|
|
533
|
+
};
|
|
534
|
+
const GetManualTrigger200AllOfConfigAnyOfStylesIconPosition = {
|
|
535
|
+
left: "left",
|
|
536
|
+
right: "right"
|
|
537
|
+
};
|
|
538
|
+
const GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition = {
|
|
539
|
+
left: "left",
|
|
540
|
+
right: "right"
|
|
541
|
+
};
|
|
542
|
+
const GetManualTrigger200AllOfTwozeroActionsItemType = {
|
|
543
|
+
ApiAction: "ApiAction"
|
|
544
|
+
};
|
|
545
|
+
const GetManualTrigger403AllOfThreeStatusCode = {
|
|
546
|
+
NUMBER_403: 403
|
|
547
|
+
};
|
|
548
|
+
const GetManualTrigger403AllOfThreeError = {
|
|
549
|
+
"forbidden-error": "forbidden-error"
|
|
550
|
+
};
|
|
551
|
+
const GetManualTrigger404AllOfThreeStatusCode = {
|
|
552
|
+
NUMBER_404: 404
|
|
553
|
+
};
|
|
554
|
+
const GetManualTrigger404AllOfThreeError = {
|
|
555
|
+
"not-found": "not-found"
|
|
556
|
+
};
|
|
557
|
+
const UpdateManualTriggerBodySource = {
|
|
558
|
+
model: "model",
|
|
559
|
+
designer: "designer",
|
|
560
|
+
displayer: "displayer"
|
|
561
|
+
};
|
|
562
|
+
const UpdateManualTriggerBodyConfigAnyOfUnmatchedBehavior = {
|
|
563
|
+
hide: "hide",
|
|
564
|
+
disable: "disable"
|
|
565
|
+
};
|
|
566
|
+
const UpdateManualTriggerBodyConfigAnyOfStylesIconPosition = {
|
|
567
|
+
left: "left",
|
|
568
|
+
right: "right"
|
|
569
|
+
};
|
|
570
|
+
const UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition = {
|
|
571
|
+
left: "left",
|
|
572
|
+
right: "right"
|
|
573
|
+
};
|
|
574
|
+
const UpdateManualTriggerBodyActionsItemAnyOfType = {
|
|
575
|
+
ApiAction: "ApiAction"
|
|
576
|
+
};
|
|
577
|
+
const UpdateManualTriggerBodyActionsItemAnyOfNineType = {
|
|
578
|
+
ApiAction: "ApiAction"
|
|
579
|
+
};
|
|
580
|
+
const UpdateManualTrigger200AllOfSource = {
|
|
581
|
+
model: "model",
|
|
582
|
+
designer: "designer",
|
|
583
|
+
displayer: "displayer"
|
|
584
|
+
};
|
|
585
|
+
const UpdateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior = {
|
|
586
|
+
hide: "hide",
|
|
587
|
+
disable: "disable"
|
|
588
|
+
};
|
|
589
|
+
const UpdateManualTrigger200AllOfConfigAnyOfStylesIconPosition = {
|
|
590
|
+
left: "left",
|
|
591
|
+
right: "right"
|
|
592
|
+
};
|
|
593
|
+
const UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition = {
|
|
594
|
+
left: "left",
|
|
595
|
+
right: "right"
|
|
596
|
+
};
|
|
597
|
+
const UpdateManualTrigger200AllOfTwozeroActionsItemType = {
|
|
598
|
+
ApiAction: "ApiAction"
|
|
599
|
+
};
|
|
600
|
+
const UpdateManualTrigger400AllOfThreeStatusCode = {
|
|
601
|
+
NUMBER_400: 400
|
|
602
|
+
};
|
|
603
|
+
const UpdateManualTrigger400AllOfThreeError = {
|
|
604
|
+
"bad-request": "bad-request"
|
|
605
|
+
};
|
|
606
|
+
const UpdateManualTrigger403AllOfThreeStatusCode = {
|
|
607
|
+
NUMBER_403: 403
|
|
608
|
+
};
|
|
609
|
+
const UpdateManualTrigger403AllOfThreeError = {
|
|
610
|
+
"forbidden-error": "forbidden-error"
|
|
611
|
+
};
|
|
612
|
+
const UpdateManualTrigger404AllOfThreeStatusCode = {
|
|
613
|
+
NUMBER_404: 404
|
|
614
|
+
};
|
|
615
|
+
const UpdateManualTrigger404AllOfThreeError = {
|
|
616
|
+
"not-found": "not-found"
|
|
617
|
+
};
|
|
618
|
+
const DeleteManualTrigger403AllOfThreeStatusCode = {
|
|
619
|
+
NUMBER_403: 403
|
|
620
|
+
};
|
|
621
|
+
const DeleteManualTrigger403AllOfThreeError = {
|
|
622
|
+
"forbidden-error": "forbidden-error"
|
|
623
|
+
};
|
|
624
|
+
const DeleteManualTrigger404AllOfThreeStatusCode = {
|
|
625
|
+
NUMBER_404: 404
|
|
626
|
+
};
|
|
627
|
+
const DeleteManualTrigger404AllOfThreeError = {
|
|
628
|
+
"not-found": "not-found"
|
|
629
|
+
};
|
|
630
|
+
const RunManualTrigger403AllOfThreeStatusCode = {
|
|
631
|
+
NUMBER_403: 403
|
|
632
|
+
};
|
|
633
|
+
const RunManualTrigger403AllOfThreeError = {
|
|
634
|
+
"forbidden-error": "forbidden-error"
|
|
635
|
+
};
|
|
636
|
+
const RunManualTrigger404AllOfThreeStatusCode = {
|
|
637
|
+
NUMBER_404: 404
|
|
638
|
+
};
|
|
639
|
+
const RunManualTrigger404AllOfThreeError = {
|
|
640
|
+
"not-found": "not-found"
|
|
641
|
+
};
|
|
169
642
|
const GetThryveIframeUrl403AllOfThreeStatusCode = {
|
|
170
643
|
NUMBER_403: 403
|
|
171
644
|
};
|
|
@@ -194,13 +667,66 @@ const getPostV2AuthLoginGlobalUrl = () => {
|
|
|
194
667
|
return `/v2/auth/login/global`;
|
|
195
668
|
};
|
|
196
669
|
const postV2AuthLoginGlobal = async (options) => {
|
|
197
|
-
|
|
670
|
+
return customFetch(getPostV2AuthLoginGlobalUrl(), {
|
|
198
671
|
...options,
|
|
199
672
|
method: "POST"
|
|
200
673
|
});
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
674
|
+
};
|
|
675
|
+
const getListActionsUrl = (ecosystemName, projectName, params) => {
|
|
676
|
+
const normalizedParams = new URLSearchParams();
|
|
677
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
678
|
+
if (value !== void 0) {
|
|
679
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
680
|
+
}
|
|
681
|
+
});
|
|
682
|
+
const stringifiedParams = normalizedParams.toString();
|
|
683
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/`;
|
|
684
|
+
};
|
|
685
|
+
const listActions = async (ecosystemName, projectName, params, options) => {
|
|
686
|
+
return customFetch(getListActionsUrl(ecosystemName, projectName, params), {
|
|
687
|
+
...options,
|
|
688
|
+
method: "GET"
|
|
689
|
+
});
|
|
690
|
+
};
|
|
691
|
+
const getCreateActionUrl = (ecosystemName, projectName) => {
|
|
692
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/`;
|
|
693
|
+
};
|
|
694
|
+
const createAction = async (ecosystemName, projectName, createActionBody, options) => {
|
|
695
|
+
return customFetch(getCreateActionUrl(ecosystemName, projectName), {
|
|
696
|
+
...options,
|
|
697
|
+
method: "POST",
|
|
698
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
699
|
+
body: JSON.stringify(createActionBody)
|
|
700
|
+
});
|
|
701
|
+
};
|
|
702
|
+
const getGetActionUrl = (ecosystemName, projectName, id) => {
|
|
703
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/${id}`;
|
|
704
|
+
};
|
|
705
|
+
const getAction = async (ecosystemName, projectName, id, options) => {
|
|
706
|
+
return customFetch(getGetActionUrl(ecosystemName, projectName, id), {
|
|
707
|
+
...options,
|
|
708
|
+
method: "GET"
|
|
709
|
+
});
|
|
710
|
+
};
|
|
711
|
+
const getUpdateActionUrl = (ecosystemName, projectName, id) => {
|
|
712
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/${id}`;
|
|
713
|
+
};
|
|
714
|
+
const updateAction = async (ecosystemName, projectName, id, updateActionBody, options) => {
|
|
715
|
+
return customFetch(getUpdateActionUrl(ecosystemName, projectName, id), {
|
|
716
|
+
...options,
|
|
717
|
+
method: "PATCH",
|
|
718
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
719
|
+
body: JSON.stringify(updateActionBody)
|
|
720
|
+
});
|
|
721
|
+
};
|
|
722
|
+
const getDeleteActionUrl = (ecosystemName, projectName, id) => {
|
|
723
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/action/${id}`;
|
|
724
|
+
};
|
|
725
|
+
const deleteAction = async (ecosystemName, projectName, id, options) => {
|
|
726
|
+
return customFetch(getDeleteActionUrl(ecosystemName, projectName, id), {
|
|
727
|
+
...options,
|
|
728
|
+
method: "DELETE"
|
|
729
|
+
});
|
|
204
730
|
};
|
|
205
731
|
const getListAvailableActionsUrl = (ecosystemName, projectName, params) => {
|
|
206
732
|
const normalizedParams = new URLSearchParams();
|
|
@@ -213,13 +739,73 @@ const getListAvailableActionsUrl = (ecosystemName, projectName, params) => {
|
|
|
213
739
|
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/actions/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/actions/`;
|
|
214
740
|
};
|
|
215
741
|
const listAvailableActions = async (ecosystemName, projectName, params, options) => {
|
|
216
|
-
|
|
742
|
+
return customFetch(getListAvailableActionsUrl(ecosystemName, projectName, params), {
|
|
217
743
|
...options,
|
|
218
744
|
method: "GET"
|
|
219
745
|
});
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
746
|
+
};
|
|
747
|
+
const getListAutomaticTriggersUrl = (ecosystemName, projectName, params) => {
|
|
748
|
+
const normalizedParams = new URLSearchParams();
|
|
749
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
750
|
+
if (value !== void 0) {
|
|
751
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
752
|
+
}
|
|
753
|
+
});
|
|
754
|
+
const stringifiedParams = normalizedParams.toString();
|
|
755
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/`;
|
|
756
|
+
};
|
|
757
|
+
const listAutomaticTriggers = async (ecosystemName, projectName, params, options) => {
|
|
758
|
+
return customFetch(getListAutomaticTriggersUrl(ecosystemName, projectName, params), {
|
|
759
|
+
...options,
|
|
760
|
+
method: "GET"
|
|
761
|
+
});
|
|
762
|
+
};
|
|
763
|
+
const getCreateAutomaticTriggerUrl = (ecosystemName, projectName) => {
|
|
764
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/`;
|
|
765
|
+
};
|
|
766
|
+
const createAutomaticTrigger = async (ecosystemName, projectName, createAutomaticTriggerBody, options) => {
|
|
767
|
+
return customFetch(getCreateAutomaticTriggerUrl(ecosystemName, projectName), {
|
|
768
|
+
...options,
|
|
769
|
+
method: "POST",
|
|
770
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
771
|
+
body: JSON.stringify(createAutomaticTriggerBody)
|
|
772
|
+
});
|
|
773
|
+
};
|
|
774
|
+
const getGetAutomaticTriggerUrl = (ecosystemName, projectName, id, params) => {
|
|
775
|
+
const normalizedParams = new URLSearchParams();
|
|
776
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
777
|
+
if (value !== void 0) {
|
|
778
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
779
|
+
}
|
|
780
|
+
});
|
|
781
|
+
const stringifiedParams = normalizedParams.toString();
|
|
782
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/${id}?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/${id}`;
|
|
783
|
+
};
|
|
784
|
+
const getAutomaticTrigger = async (ecosystemName, projectName, id, params, options) => {
|
|
785
|
+
return customFetch(getGetAutomaticTriggerUrl(ecosystemName, projectName, id, params), {
|
|
786
|
+
...options,
|
|
787
|
+
method: "GET"
|
|
788
|
+
});
|
|
789
|
+
};
|
|
790
|
+
const getUpdateAutomaticTriggerUrl = (ecosystemName, projectName, id) => {
|
|
791
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/${id}`;
|
|
792
|
+
};
|
|
793
|
+
const updateAutomaticTrigger = async (ecosystemName, projectName, id, updateAutomaticTriggerBody, options) => {
|
|
794
|
+
return customFetch(getUpdateAutomaticTriggerUrl(ecosystemName, projectName, id), {
|
|
795
|
+
...options,
|
|
796
|
+
method: "PATCH",
|
|
797
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
798
|
+
body: JSON.stringify(updateAutomaticTriggerBody)
|
|
799
|
+
});
|
|
800
|
+
};
|
|
801
|
+
const getDeleteAutomaticTriggerUrl = (ecosystemName, projectName, id) => {
|
|
802
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/automatic-trigger/${id}`;
|
|
803
|
+
};
|
|
804
|
+
const deleteAutomaticTrigger = async (ecosystemName, projectName, id, options) => {
|
|
805
|
+
return customFetch(getDeleteAutomaticTriggerUrl(ecosystemName, projectName, id), {
|
|
806
|
+
...options,
|
|
807
|
+
method: "DELETE"
|
|
808
|
+
});
|
|
223
809
|
};
|
|
224
810
|
const getListDocumentsUrl = (ecosystemName, projectName, params) => {
|
|
225
811
|
const normalizedParams = new URLSearchParams();
|
|
@@ -232,91 +818,73 @@ const getListDocumentsUrl = (ecosystemName, projectName, params) => {
|
|
|
232
818
|
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/`;
|
|
233
819
|
};
|
|
234
820
|
const listDocuments = async (ecosystemName, projectName, params, options) => {
|
|
235
|
-
|
|
821
|
+
return customFetch(getListDocumentsUrl(ecosystemName, projectName, params), {
|
|
236
822
|
...options,
|
|
237
823
|
method: "GET"
|
|
238
824
|
});
|
|
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
825
|
};
|
|
243
826
|
const getCreateDocumentUrl = (ecosystemName, projectName) => {
|
|
244
827
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/`;
|
|
245
828
|
};
|
|
246
829
|
const createDocument = async (ecosystemName, projectName, createDocumentBody, options) => {
|
|
247
|
-
|
|
830
|
+
return customFetch(getCreateDocumentUrl(ecosystemName, projectName), {
|
|
248
831
|
...options,
|
|
249
832
|
method: "POST",
|
|
250
833
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
251
834
|
body: JSON.stringify(createDocumentBody)
|
|
252
835
|
});
|
|
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
836
|
};
|
|
257
837
|
const getGetDocumentUrl = (ecosystemName, projectName, id) => {
|
|
258
838
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`;
|
|
259
839
|
};
|
|
260
840
|
const getDocument = async (ecosystemName, projectName, id, options) => {
|
|
261
|
-
|
|
841
|
+
return customFetch(getGetDocumentUrl(ecosystemName, projectName, id), {
|
|
262
842
|
...options,
|
|
263
843
|
method: "GET"
|
|
264
844
|
});
|
|
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
845
|
};
|
|
269
846
|
const getUpdateDocumentUrl = (ecosystemName, projectName, id) => {
|
|
270
847
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`;
|
|
271
848
|
};
|
|
272
849
|
const updateDocument = async (ecosystemName, projectName, id, updateDocumentBody, options) => {
|
|
273
|
-
|
|
850
|
+
return customFetch(getUpdateDocumentUrl(ecosystemName, projectName, id), {
|
|
274
851
|
...options,
|
|
275
852
|
method: "PATCH",
|
|
276
853
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
277
854
|
body: JSON.stringify(updateDocumentBody)
|
|
278
855
|
});
|
|
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
856
|
};
|
|
283
857
|
const getDeleteDocumentUrl = (ecosystemName, projectName, id) => {
|
|
284
858
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`;
|
|
285
859
|
};
|
|
286
860
|
const deleteDocument = async (ecosystemName, projectName, id, options) => {
|
|
287
|
-
|
|
861
|
+
return customFetch(getDeleteDocumentUrl(ecosystemName, projectName, id), {
|
|
288
862
|
...options,
|
|
289
863
|
method: "DELETE"
|
|
290
864
|
});
|
|
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
865
|
};
|
|
295
866
|
const getAddCategoryToDocumentUrl = (ecosystemName, projectName, id) => {
|
|
296
867
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}/categories`;
|
|
297
868
|
};
|
|
298
869
|
const addCategoryToDocument = async (ecosystemName, projectName, id, addCategoryToDocumentBody, options) => {
|
|
299
|
-
|
|
870
|
+
return customFetch(getAddCategoryToDocumentUrl(ecosystemName, projectName, id), {
|
|
300
871
|
...options,
|
|
301
872
|
method: "POST",
|
|
302
873
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
303
874
|
body: JSON.stringify(addCategoryToDocumentBody)
|
|
304
875
|
});
|
|
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
876
|
};
|
|
309
877
|
const getRemoveCategoryFromDocumentUrl = (ecosystemName, projectName, documentId, categoryId) => {
|
|
310
878
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${documentId}/categories/${categoryId}`;
|
|
311
879
|
};
|
|
312
880
|
const removeCategoryFromDocument = async (ecosystemName, projectName, documentId, categoryId, options) => {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
881
|
+
return customFetch(
|
|
882
|
+
getRemoveCategoryFromDocumentUrl(ecosystemName, projectName, documentId, categoryId),
|
|
883
|
+
{
|
|
884
|
+
...options,
|
|
885
|
+
method: "DELETE"
|
|
886
|
+
}
|
|
887
|
+
);
|
|
320
888
|
};
|
|
321
889
|
const getListDocumentCategoriesUrl = (ecosystemName, projectName, params) => {
|
|
322
890
|
const normalizedParams = new URLSearchParams();
|
|
@@ -329,65 +897,50 @@ const getListDocumentCategoriesUrl = (ecosystemName, projectName, params) => {
|
|
|
329
897
|
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`;
|
|
330
898
|
};
|
|
331
899
|
const listDocumentCategories = async (ecosystemName, projectName, params, options) => {
|
|
332
|
-
|
|
900
|
+
return customFetch(getListDocumentCategoriesUrl(ecosystemName, projectName, params), {
|
|
333
901
|
...options,
|
|
334
902
|
method: "GET"
|
|
335
903
|
});
|
|
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
904
|
};
|
|
340
905
|
const getCreateDocumentCategoryUrl = (ecosystemName, projectName) => {
|
|
341
906
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`;
|
|
342
907
|
};
|
|
343
908
|
const createDocumentCategory = async (ecosystemName, projectName, createDocumentCategoryBody, options) => {
|
|
344
|
-
|
|
909
|
+
return customFetch(getCreateDocumentCategoryUrl(ecosystemName, projectName), {
|
|
345
910
|
...options,
|
|
346
911
|
method: "POST",
|
|
347
912
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
348
913
|
body: JSON.stringify(createDocumentCategoryBody)
|
|
349
914
|
});
|
|
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
915
|
};
|
|
354
916
|
const getGetDocumentCategoryUrl = (ecosystemName, projectName, id) => {
|
|
355
917
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`;
|
|
356
918
|
};
|
|
357
919
|
const getDocumentCategory = async (ecosystemName, projectName, id, options) => {
|
|
358
|
-
|
|
920
|
+
return customFetch(getGetDocumentCategoryUrl(ecosystemName, projectName, id), {
|
|
359
921
|
...options,
|
|
360
922
|
method: "GET"
|
|
361
923
|
});
|
|
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
924
|
};
|
|
366
925
|
const getUpdateDocumentCategoryUrl = (ecosystemName, projectName, id) => {
|
|
367
926
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`;
|
|
368
927
|
};
|
|
369
928
|
const updateDocumentCategory = async (ecosystemName, projectName, id, updateDocumentCategoryBody, options) => {
|
|
370
|
-
|
|
929
|
+
return customFetch(getUpdateDocumentCategoryUrl(ecosystemName, projectName, id), {
|
|
371
930
|
...options,
|
|
372
931
|
method: "PATCH",
|
|
373
932
|
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
374
933
|
body: JSON.stringify(updateDocumentCategoryBody)
|
|
375
934
|
});
|
|
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
935
|
};
|
|
380
936
|
const getDeleteDocumentCategoryUrl = (ecosystemName, projectName, id) => {
|
|
381
937
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`;
|
|
382
938
|
};
|
|
383
939
|
const deleteDocumentCategory = async (ecosystemName, projectName, id, options) => {
|
|
384
|
-
|
|
940
|
+
return customFetch(getDeleteDocumentCategoryUrl(ecosystemName, projectName, id), {
|
|
385
941
|
...options,
|
|
386
942
|
method: "DELETE"
|
|
387
943
|
});
|
|
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
944
|
};
|
|
392
945
|
const getGetFormsDataUrl = (ecosystemName, projectName, params) => {
|
|
393
946
|
const normalizedParams = new URLSearchParams();
|
|
@@ -400,43 +953,144 @@ const getGetFormsDataUrl = (ecosystemName, projectName, params) => {
|
|
|
400
953
|
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/forms-data/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/forms-data/`;
|
|
401
954
|
};
|
|
402
955
|
const getFormsData = async (ecosystemName, projectName, params, options) => {
|
|
403
|
-
|
|
956
|
+
return customFetch(getGetFormsDataUrl(ecosystemName, projectName, params), {
|
|
404
957
|
...options,
|
|
405
958
|
method: "GET"
|
|
406
959
|
});
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
960
|
+
};
|
|
961
|
+
const getListManualTriggersUrl = (ecosystemName, projectName, params) => {
|
|
962
|
+
const normalizedParams = new URLSearchParams();
|
|
963
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
964
|
+
if (value !== void 0) {
|
|
965
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
966
|
+
}
|
|
967
|
+
});
|
|
968
|
+
const stringifiedParams = normalizedParams.toString();
|
|
969
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/`;
|
|
970
|
+
};
|
|
971
|
+
const listManualTriggers = async (ecosystemName, projectName, params, options) => {
|
|
972
|
+
return customFetch(getListManualTriggersUrl(ecosystemName, projectName, params), {
|
|
973
|
+
...options,
|
|
974
|
+
method: "GET"
|
|
975
|
+
});
|
|
976
|
+
};
|
|
977
|
+
const getCreateManualTriggerUrl = (ecosystemName, projectName) => {
|
|
978
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/`;
|
|
979
|
+
};
|
|
980
|
+
const createManualTrigger = async (ecosystemName, projectName, createManualTriggerBody, options) => {
|
|
981
|
+
return customFetch(getCreateManualTriggerUrl(ecosystemName, projectName), {
|
|
982
|
+
...options,
|
|
983
|
+
method: "POST",
|
|
984
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
985
|
+
body: JSON.stringify(createManualTriggerBody)
|
|
986
|
+
});
|
|
987
|
+
};
|
|
988
|
+
const getListAvailableManualTriggersUrl = (ecosystemName, projectName, params) => {
|
|
989
|
+
const normalizedParams = new URLSearchParams();
|
|
990
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
991
|
+
if (value !== void 0) {
|
|
992
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
993
|
+
}
|
|
994
|
+
});
|
|
995
|
+
const stringifiedParams = normalizedParams.toString();
|
|
996
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/available?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/available`;
|
|
997
|
+
};
|
|
998
|
+
const listAvailableManualTriggers = async (ecosystemName, projectName, params, options) => {
|
|
999
|
+
return customFetch(
|
|
1000
|
+
getListAvailableManualTriggersUrl(ecosystemName, projectName, params),
|
|
1001
|
+
{
|
|
1002
|
+
...options,
|
|
1003
|
+
method: "GET"
|
|
1004
|
+
}
|
|
1005
|
+
);
|
|
1006
|
+
};
|
|
1007
|
+
const getGetManualTriggerUrl = (ecosystemName, projectName, id, params) => {
|
|
1008
|
+
const normalizedParams = new URLSearchParams();
|
|
1009
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1010
|
+
if (value !== void 0) {
|
|
1011
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
1012
|
+
}
|
|
1013
|
+
});
|
|
1014
|
+
const stringifiedParams = normalizedParams.toString();
|
|
1015
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}`;
|
|
1016
|
+
};
|
|
1017
|
+
const getManualTrigger = async (ecosystemName, projectName, id, params, options) => {
|
|
1018
|
+
return customFetch(getGetManualTriggerUrl(ecosystemName, projectName, id, params), {
|
|
1019
|
+
...options,
|
|
1020
|
+
method: "GET"
|
|
1021
|
+
});
|
|
1022
|
+
};
|
|
1023
|
+
const getUpdateManualTriggerUrl = (ecosystemName, projectName, id) => {
|
|
1024
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}`;
|
|
1025
|
+
};
|
|
1026
|
+
const updateManualTrigger = async (ecosystemName, projectName, id, updateManualTriggerBody, options) => {
|
|
1027
|
+
return customFetch(getUpdateManualTriggerUrl(ecosystemName, projectName, id), {
|
|
1028
|
+
...options,
|
|
1029
|
+
method: "PATCH",
|
|
1030
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
1031
|
+
body: JSON.stringify(updateManualTriggerBody)
|
|
1032
|
+
});
|
|
1033
|
+
};
|
|
1034
|
+
const getDeleteManualTriggerUrl = (ecosystemName, projectName, id) => {
|
|
1035
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}`;
|
|
1036
|
+
};
|
|
1037
|
+
const deleteManualTrigger = async (ecosystemName, projectName, id, options) => {
|
|
1038
|
+
return customFetch(getDeleteManualTriggerUrl(ecosystemName, projectName, id), {
|
|
1039
|
+
...options,
|
|
1040
|
+
method: "DELETE"
|
|
1041
|
+
});
|
|
1042
|
+
};
|
|
1043
|
+
const getRunManualTriggerUrl = (ecosystemName, projectName, id) => {
|
|
1044
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/manual-trigger/${id}/run`;
|
|
1045
|
+
};
|
|
1046
|
+
const runManualTrigger = async (ecosystemName, projectName, id, runManualTriggerBody, options) => {
|
|
1047
|
+
return customFetch(getRunManualTriggerUrl(ecosystemName, projectName, id), {
|
|
1048
|
+
...options,
|
|
1049
|
+
method: "POST",
|
|
1050
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
1051
|
+
body: JSON.stringify(runManualTriggerBody)
|
|
1052
|
+
});
|
|
410
1053
|
};
|
|
411
1054
|
const getGetThryveIframeUrlUrl = (ecosystemName, projectName) => {
|
|
412
1055
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/thryve/iframe-url`;
|
|
413
1056
|
};
|
|
414
1057
|
const getThryveIframeUrl = async (ecosystemName, projectName, options) => {
|
|
415
|
-
|
|
1058
|
+
return customFetch(getGetThryveIframeUrlUrl(ecosystemName, projectName), {
|
|
416
1059
|
...options,
|
|
417
1060
|
method: "GET"
|
|
418
1061
|
});
|
|
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
1062
|
};
|
|
423
1063
|
const getGetThryveIsAuthorizedUrl = (ecosystemName, projectName) => {
|
|
424
1064
|
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/thryve/is-authorized`;
|
|
425
1065
|
};
|
|
426
1066
|
const getThryveIsAuthorized = async (ecosystemName, projectName, options) => {
|
|
427
|
-
|
|
1067
|
+
return customFetch(getGetThryveIsAuthorizedUrl(ecosystemName, projectName), {
|
|
428
1068
|
...options,
|
|
429
1069
|
method: "GET"
|
|
430
1070
|
});
|
|
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
1071
|
};
|
|
435
1072
|
export {
|
|
436
1073
|
AddCategoryToDocument403AllOfThreeError,
|
|
437
1074
|
AddCategoryToDocument403AllOfThreeStatusCode,
|
|
438
1075
|
AddCategoryToDocument404AllOfThreeError,
|
|
439
1076
|
AddCategoryToDocument404AllOfThreeStatusCode,
|
|
1077
|
+
CreateAction200Type,
|
|
1078
|
+
CreateAction400AllOfThreeError,
|
|
1079
|
+
CreateAction400AllOfThreeStatusCode,
|
|
1080
|
+
CreateAction403AllOfThreeError,
|
|
1081
|
+
CreateAction403AllOfThreeStatusCode,
|
|
1082
|
+
CreateAction404AllOfThreeError,
|
|
1083
|
+
CreateAction404AllOfThreeStatusCode,
|
|
1084
|
+
CreateActionBodyType,
|
|
1085
|
+
CreateAutomaticTrigger200AllOfOneoneActionsItemType,
|
|
1086
|
+
CreateAutomaticTrigger200AllOfSource,
|
|
1087
|
+
CreateAutomaticTrigger403AllOfThreeError,
|
|
1088
|
+
CreateAutomaticTrigger403AllOfThreeStatusCode,
|
|
1089
|
+
CreateAutomaticTrigger404AllOfThreeError,
|
|
1090
|
+
CreateAutomaticTrigger404AllOfThreeStatusCode,
|
|
1091
|
+
CreateAutomaticTriggerBodyActionsItemAnyOfNineType,
|
|
1092
|
+
CreateAutomaticTriggerBodyActionsItemAnyOfType,
|
|
1093
|
+
CreateAutomaticTriggerBodySource,
|
|
440
1094
|
CreateDocument403AllOfThreeError,
|
|
441
1095
|
CreateDocument403AllOfThreeStatusCode,
|
|
442
1096
|
CreateDocument404AllOfThreeError,
|
|
@@ -445,6 +1099,29 @@ export {
|
|
|
445
1099
|
CreateDocumentCategory403AllOfThreeStatusCode,
|
|
446
1100
|
CreateDocumentCategory404AllOfThreeError,
|
|
447
1101
|
CreateDocumentCategory404AllOfThreeStatusCode,
|
|
1102
|
+
CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition,
|
|
1103
|
+
CreateManualTrigger200AllOfConfigAnyOfStylesIconPosition,
|
|
1104
|
+
CreateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior,
|
|
1105
|
+
CreateManualTrigger200AllOfSource,
|
|
1106
|
+
CreateManualTrigger200AllOfTwozeroActionsItemType,
|
|
1107
|
+
CreateManualTrigger403AllOfThreeError,
|
|
1108
|
+
CreateManualTrigger403AllOfThreeStatusCode,
|
|
1109
|
+
CreateManualTrigger404AllOfThreeError,
|
|
1110
|
+
CreateManualTrigger404AllOfThreeStatusCode,
|
|
1111
|
+
CreateManualTriggerBodyActionsItemAnyOfNineType,
|
|
1112
|
+
CreateManualTriggerBodyActionsItemAnyOfType,
|
|
1113
|
+
CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition,
|
|
1114
|
+
CreateManualTriggerBodyConfigAnyOfStylesIconPosition,
|
|
1115
|
+
CreateManualTriggerBodyConfigAnyOfUnmatchedBehavior,
|
|
1116
|
+
CreateManualTriggerBodySource,
|
|
1117
|
+
DeleteAction403AllOfThreeError,
|
|
1118
|
+
DeleteAction403AllOfThreeStatusCode,
|
|
1119
|
+
DeleteAction404AllOfThreeError,
|
|
1120
|
+
DeleteAction404AllOfThreeStatusCode,
|
|
1121
|
+
DeleteAutomaticTrigger403AllOfThreeError,
|
|
1122
|
+
DeleteAutomaticTrigger403AllOfThreeStatusCode,
|
|
1123
|
+
DeleteAutomaticTrigger404AllOfThreeError,
|
|
1124
|
+
DeleteAutomaticTrigger404AllOfThreeStatusCode,
|
|
448
1125
|
DeleteDocument403AllOfThreeError,
|
|
449
1126
|
DeleteDocument403AllOfThreeStatusCode,
|
|
450
1127
|
DeleteDocument404AllOfThreeError,
|
|
@@ -453,6 +1130,22 @@ export {
|
|
|
453
1130
|
DeleteDocumentCategory403AllOfThreeStatusCode,
|
|
454
1131
|
DeleteDocumentCategory404AllOfThreeError,
|
|
455
1132
|
DeleteDocumentCategory404AllOfThreeStatusCode,
|
|
1133
|
+
DeleteManualTrigger403AllOfThreeError,
|
|
1134
|
+
DeleteManualTrigger403AllOfThreeStatusCode,
|
|
1135
|
+
DeleteManualTrigger404AllOfThreeError,
|
|
1136
|
+
DeleteManualTrigger404AllOfThreeStatusCode,
|
|
1137
|
+
GeneratedClientError,
|
|
1138
|
+
GetAction200Type,
|
|
1139
|
+
GetAction403AllOfThreeError,
|
|
1140
|
+
GetAction403AllOfThreeStatusCode,
|
|
1141
|
+
GetAction404AllOfThreeError,
|
|
1142
|
+
GetAction404AllOfThreeStatusCode,
|
|
1143
|
+
GetAutomaticTrigger200AllOfOneoneActionsItemType,
|
|
1144
|
+
GetAutomaticTrigger200AllOfSource,
|
|
1145
|
+
GetAutomaticTrigger403AllOfThreeError,
|
|
1146
|
+
GetAutomaticTrigger403AllOfThreeStatusCode,
|
|
1147
|
+
GetAutomaticTrigger404AllOfThreeError,
|
|
1148
|
+
GetAutomaticTrigger404AllOfThreeStatusCode,
|
|
456
1149
|
GetDocument403AllOfThreeError,
|
|
457
1150
|
GetDocument403AllOfThreeStatusCode,
|
|
458
1151
|
GetDocument404AllOfThreeError,
|
|
@@ -465,6 +1158,15 @@ export {
|
|
|
465
1158
|
GetFormsData403AllOfThreeStatusCode,
|
|
466
1159
|
GetFormsData404AllOfThreeError,
|
|
467
1160
|
GetFormsData404AllOfThreeStatusCode,
|
|
1161
|
+
GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition,
|
|
1162
|
+
GetManualTrigger200AllOfConfigAnyOfStylesIconPosition,
|
|
1163
|
+
GetManualTrigger200AllOfConfigAnyOfUnmatchedBehavior,
|
|
1164
|
+
GetManualTrigger200AllOfSource,
|
|
1165
|
+
GetManualTrigger200AllOfTwozeroActionsItemType,
|
|
1166
|
+
GetManualTrigger403AllOfThreeError,
|
|
1167
|
+
GetManualTrigger403AllOfThreeStatusCode,
|
|
1168
|
+
GetManualTrigger404AllOfThreeError,
|
|
1169
|
+
GetManualTrigger404AllOfThreeStatusCode,
|
|
468
1170
|
GetThryveIframeUrl403AllOfThreeError,
|
|
469
1171
|
GetThryveIframeUrl403AllOfThreeStatusCode,
|
|
470
1172
|
GetThryveIframeUrl404AllOfThreeError,
|
|
@@ -473,10 +1175,27 @@ export {
|
|
|
473
1175
|
GetThryveIsAuthorized403AllOfThreeStatusCode,
|
|
474
1176
|
GetThryveIsAuthorized404AllOfThreeError,
|
|
475
1177
|
GetThryveIsAuthorized404AllOfThreeStatusCode,
|
|
1178
|
+
ListActions200ResultsItemType,
|
|
1179
|
+
ListActions403AllOfThreeError,
|
|
1180
|
+
ListActions403AllOfThreeStatusCode,
|
|
1181
|
+
ListActions404AllOfThreeError,
|
|
1182
|
+
ListActions404AllOfThreeStatusCode,
|
|
1183
|
+
ListAutomaticTriggers200ResultsItemAllOfOneoneActionsItemType,
|
|
1184
|
+
ListAutomaticTriggers200ResultsItemAllOfSource,
|
|
1185
|
+
ListAutomaticTriggers403AllOfThreeError,
|
|
1186
|
+
ListAutomaticTriggers403AllOfThreeStatusCode,
|
|
1187
|
+
ListAutomaticTriggers404AllOfThreeError,
|
|
1188
|
+
ListAutomaticTriggers404AllOfThreeStatusCode,
|
|
476
1189
|
ListAvailableActions403AllOfThreeError,
|
|
477
1190
|
ListAvailableActions403AllOfThreeStatusCode,
|
|
478
1191
|
ListAvailableActions404AllOfThreeError,
|
|
479
1192
|
ListAvailableActions404AllOfThreeStatusCode,
|
|
1193
|
+
ListAvailableManualTriggers200ResultsItemStyleIconPosition,
|
|
1194
|
+
ListAvailableManualTriggers403AllOfThreeError,
|
|
1195
|
+
ListAvailableManualTriggers403AllOfThreeStatusCode,
|
|
1196
|
+
ListAvailableManualTriggers404AllOfThreeError,
|
|
1197
|
+
ListAvailableManualTriggers404AllOfThreeStatusCode,
|
|
1198
|
+
ListAvailableManualTriggersSource,
|
|
480
1199
|
ListDocumentCategories403AllOfThreeError,
|
|
481
1200
|
ListDocumentCategories403AllOfThreeStatusCode,
|
|
482
1201
|
ListDocumentCategories404AllOfThreeError,
|
|
@@ -485,10 +1204,42 @@ export {
|
|
|
485
1204
|
ListDocuments403AllOfThreeStatusCode,
|
|
486
1205
|
ListDocuments404AllOfThreeError,
|
|
487
1206
|
ListDocuments404AllOfThreeStatusCode,
|
|
1207
|
+
ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfIconPosition,
|
|
1208
|
+
ListManualTriggers200ResultsItemAllOfConfigAnyOfStylesIconPosition,
|
|
1209
|
+
ListManualTriggers200ResultsItemAllOfConfigAnyOfUnmatchedBehavior,
|
|
1210
|
+
ListManualTriggers200ResultsItemAllOfSource,
|
|
1211
|
+
ListManualTriggers200ResultsItemAllOfTwozeroActionsItemType,
|
|
1212
|
+
ListManualTriggers403AllOfThreeError,
|
|
1213
|
+
ListManualTriggers403AllOfThreeStatusCode,
|
|
1214
|
+
ListManualTriggers404AllOfThreeError,
|
|
1215
|
+
ListManualTriggers404AllOfThreeStatusCode,
|
|
488
1216
|
RemoveCategoryFromDocument403AllOfThreeError,
|
|
489
1217
|
RemoveCategoryFromDocument403AllOfThreeStatusCode,
|
|
490
1218
|
RemoveCategoryFromDocument404AllOfThreeError,
|
|
491
1219
|
RemoveCategoryFromDocument404AllOfThreeStatusCode,
|
|
1220
|
+
RunManualTrigger403AllOfThreeError,
|
|
1221
|
+
RunManualTrigger403AllOfThreeStatusCode,
|
|
1222
|
+
RunManualTrigger404AllOfThreeError,
|
|
1223
|
+
RunManualTrigger404AllOfThreeStatusCode,
|
|
1224
|
+
UpdateAction200Type,
|
|
1225
|
+
UpdateAction400AllOfThreeError,
|
|
1226
|
+
UpdateAction400AllOfThreeStatusCode,
|
|
1227
|
+
UpdateAction403AllOfThreeError,
|
|
1228
|
+
UpdateAction403AllOfThreeStatusCode,
|
|
1229
|
+
UpdateAction404AllOfThreeError,
|
|
1230
|
+
UpdateAction404AllOfThreeStatusCode,
|
|
1231
|
+
UpdateActionBodyType,
|
|
1232
|
+
UpdateAutomaticTrigger200AllOfOneoneActionsItemType,
|
|
1233
|
+
UpdateAutomaticTrigger200AllOfSource,
|
|
1234
|
+
UpdateAutomaticTrigger400AllOfThreeError,
|
|
1235
|
+
UpdateAutomaticTrigger400AllOfThreeStatusCode,
|
|
1236
|
+
UpdateAutomaticTrigger403AllOfThreeError,
|
|
1237
|
+
UpdateAutomaticTrigger403AllOfThreeStatusCode,
|
|
1238
|
+
UpdateAutomaticTrigger404AllOfThreeError,
|
|
1239
|
+
UpdateAutomaticTrigger404AllOfThreeStatusCode,
|
|
1240
|
+
UpdateAutomaticTriggerBodyActionsItemAnyOfNineType,
|
|
1241
|
+
UpdateAutomaticTriggerBodyActionsItemAnyOfType,
|
|
1242
|
+
UpdateAutomaticTriggerBodySource,
|
|
492
1243
|
UpdateDocument403AllOfThreeError,
|
|
493
1244
|
UpdateDocument403AllOfThreeStatusCode,
|
|
494
1245
|
UpdateDocument404AllOfThreeError,
|
|
@@ -497,39 +1248,92 @@ export {
|
|
|
497
1248
|
UpdateDocumentCategory403AllOfThreeStatusCode,
|
|
498
1249
|
UpdateDocumentCategory404AllOfThreeError,
|
|
499
1250
|
UpdateDocumentCategory404AllOfThreeStatusCode,
|
|
1251
|
+
UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition,
|
|
1252
|
+
UpdateManualTrigger200AllOfConfigAnyOfStylesIconPosition,
|
|
1253
|
+
UpdateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior,
|
|
1254
|
+
UpdateManualTrigger200AllOfSource,
|
|
1255
|
+
UpdateManualTrigger200AllOfTwozeroActionsItemType,
|
|
1256
|
+
UpdateManualTrigger400AllOfThreeError,
|
|
1257
|
+
UpdateManualTrigger400AllOfThreeStatusCode,
|
|
1258
|
+
UpdateManualTrigger403AllOfThreeError,
|
|
1259
|
+
UpdateManualTrigger403AllOfThreeStatusCode,
|
|
1260
|
+
UpdateManualTrigger404AllOfThreeError,
|
|
1261
|
+
UpdateManualTrigger404AllOfThreeStatusCode,
|
|
1262
|
+
UpdateManualTriggerBodyActionsItemAnyOfNineType,
|
|
1263
|
+
UpdateManualTriggerBodyActionsItemAnyOfType,
|
|
1264
|
+
UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition,
|
|
1265
|
+
UpdateManualTriggerBodyConfigAnyOfStylesIconPosition,
|
|
1266
|
+
UpdateManualTriggerBodyConfigAnyOfUnmatchedBehavior,
|
|
1267
|
+
UpdateManualTriggerBodySource,
|
|
500
1268
|
addCategoryToDocument,
|
|
1269
|
+
configureGeneratedClient,
|
|
1270
|
+
createAction,
|
|
1271
|
+
createAutomaticTrigger,
|
|
501
1272
|
createDocument,
|
|
502
1273
|
createDocumentCategory,
|
|
1274
|
+
createManualTrigger,
|
|
1275
|
+
customFetch,
|
|
1276
|
+
deleteAction,
|
|
1277
|
+
deleteAutomaticTrigger,
|
|
503
1278
|
deleteDocument,
|
|
504
1279
|
deleteDocumentCategory,
|
|
1280
|
+
deleteManualTrigger,
|
|
1281
|
+
getAction,
|
|
505
1282
|
getAddCategoryToDocumentUrl,
|
|
1283
|
+
getAutomaticTrigger,
|
|
1284
|
+
getCreateActionUrl,
|
|
1285
|
+
getCreateAutomaticTriggerUrl,
|
|
506
1286
|
getCreateDocumentCategoryUrl,
|
|
507
1287
|
getCreateDocumentUrl,
|
|
1288
|
+
getCreateManualTriggerUrl,
|
|
1289
|
+
getDeleteActionUrl,
|
|
1290
|
+
getDeleteAutomaticTriggerUrl,
|
|
508
1291
|
getDeleteDocumentCategoryUrl,
|
|
509
1292
|
getDeleteDocumentUrl,
|
|
1293
|
+
getDeleteManualTriggerUrl,
|
|
510
1294
|
getDocument,
|
|
511
1295
|
getDocumentCategory,
|
|
512
1296
|
getFormsData,
|
|
1297
|
+
getGetActionUrl,
|
|
1298
|
+
getGetAutomaticTriggerUrl,
|
|
513
1299
|
getGetDocumentCategoryUrl,
|
|
514
1300
|
getGetDocumentUrl,
|
|
515
1301
|
getGetFormsDataUrl,
|
|
1302
|
+
getGetManualTriggerUrl,
|
|
516
1303
|
getGetThryveIframeUrlUrl,
|
|
517
1304
|
getGetThryveIsAuthorizedUrl,
|
|
1305
|
+
getListActionsUrl,
|
|
1306
|
+
getListAutomaticTriggersUrl,
|
|
518
1307
|
getListAvailableActionsUrl,
|
|
1308
|
+
getListAvailableManualTriggersUrl,
|
|
519
1309
|
getListDocumentCategoriesUrl,
|
|
520
1310
|
getListDocumentsUrl,
|
|
1311
|
+
getListManualTriggersUrl,
|
|
1312
|
+
getManualTrigger,
|
|
521
1313
|
getPostV2AuthLoginGlobalUrl,
|
|
522
1314
|
getRemoveCategoryFromDocumentUrl,
|
|
1315
|
+
getRunManualTriggerUrl,
|
|
523
1316
|
getThryveIframeUrl,
|
|
524
1317
|
getThryveIsAuthorized,
|
|
1318
|
+
getUpdateActionUrl,
|
|
1319
|
+
getUpdateAutomaticTriggerUrl,
|
|
525
1320
|
getUpdateDocumentCategoryUrl,
|
|
526
1321
|
getUpdateDocumentUrl,
|
|
1322
|
+
getUpdateManualTriggerUrl,
|
|
1323
|
+
listActions,
|
|
1324
|
+
listAutomaticTriggers,
|
|
527
1325
|
listAvailableActions,
|
|
1326
|
+
listAvailableManualTriggers,
|
|
528
1327
|
listDocumentCategories,
|
|
529
1328
|
listDocuments,
|
|
1329
|
+
listManualTriggers,
|
|
530
1330
|
postV2AuthLoginGlobal,
|
|
531
1331
|
removeCategoryFromDocument,
|
|
1332
|
+
runManualTrigger,
|
|
1333
|
+
updateAction,
|
|
1334
|
+
updateAutomaticTrigger,
|
|
532
1335
|
updateDocument,
|
|
533
|
-
updateDocumentCategory
|
|
1336
|
+
updateDocumentCategory,
|
|
1337
|
+
updateManualTrigger
|
|
534
1338
|
};
|
|
535
1339
|
//# sourceMappingURL=client.mjs.map
|