@jumoo/processing 17.4.2
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/api/client/client.gen.d.ts +2 -0
- package/dist/api/client/client.gen.js +235 -0
- package/dist/api/client/index.d.ts +8 -0
- package/dist/api/client/index.js +6 -0
- package/dist/api/client/types.gen.d.ts +117 -0
- package/dist/api/client/types.gen.js +2 -0
- package/dist/api/client/utils.gen.d.ts +33 -0
- package/dist/api/client/utils.gen.js +230 -0
- package/dist/api/client.gen.d.ts +12 -0
- package/dist/api/client.gen.js +4 -0
- package/dist/api/core/auth.gen.d.ts +18 -0
- package/dist/api/core/auth.gen.js +14 -0
- package/dist/api/core/bodySerializer.gen.d.ts +25 -0
- package/dist/api/core/bodySerializer.gen.js +57 -0
- package/dist/api/core/params.gen.d.ts +43 -0
- package/dist/api/core/params.gen.js +100 -0
- package/dist/api/core/pathSerializer.gen.d.ts +33 -0
- package/dist/api/core/pathSerializer.gen.js +106 -0
- package/dist/api/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/api/core/queryKeySerializer.gen.js +92 -0
- package/dist/api/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/api/core/serverSentEvents.gen.js +133 -0
- package/dist/api/core/types.gen.d.ts +78 -0
- package/dist/api/core/types.gen.js +2 -0
- package/dist/api/core/utils.gen.d.ts +19 -0
- package/dist/api/core/utils.gen.js +87 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +4 -0
- package/dist/api/sdk.gen.d.ts +39 -0
- package/dist/api/sdk.gen.js +118 -0
- package/dist/api/types.gen.d.ts +547 -0
- package/dist/api/types.gen.js +18 -0
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +8 -0
- package/dist/exports.d.ts +6 -0
- package/dist/exports.js +6 -0
- package/dist/external/signalr/index.d.ts +4 -0
- package/dist/external/signalr/index.js +4 -0
- package/dist/hey-api.d.ts +11 -0
- package/dist/hey-api.js +14 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +12 -0
- package/dist/lang/files/en.d.ts +22 -0
- package/dist/lang/files/en.js +21 -0
- package/dist/lang/manifest.d.ts +1 -0
- package/dist/lang/manifest.js +11 -0
- package/dist/pipeline/components/background.element.d.ts +23 -0
- package/dist/pipeline/components/background.element.js +88 -0
- package/dist/pipeline/components/index.d.ts +6 -0
- package/dist/pipeline/components/index.js +6 -0
- package/dist/pipeline/components/pipeline-list.element.d.ts +32 -0
- package/dist/pipeline/components/pipeline-list.element.js +178 -0
- package/dist/pipeline/components/pipeline-table.element.d.ts +19 -0
- package/dist/pipeline/components/pipeline-table.element.js +149 -0
- package/dist/pipeline/components/process-error.element.d.ts +16 -0
- package/dist/pipeline/components/process-error.element.js +93 -0
- package/dist/pipeline/components/progress.element.d.ts +14 -0
- package/dist/pipeline/components/progress.element.js +177 -0
- package/dist/pipeline/components/progress.step.element.d.ts +15 -0
- package/dist/pipeline/components/progress.step.element.js +48 -0
- package/dist/pipeline/index.d.ts +8 -0
- package/dist/pipeline/index.js +8 -0
- package/dist/pipeline/modal/errors/error-modal.element.d.ts +13 -0
- package/dist/pipeline/modal/errors/error-modal.element.js +129 -0
- package/dist/pipeline/modal/errors/error-modal.token.d.ts +10 -0
- package/dist/pipeline/modal/errors/error-modal.token.js +8 -0
- package/dist/pipeline/modal/errors/index.d.ts +1 -0
- package/dist/pipeline/modal/errors/index.js +2 -0
- package/dist/pipeline/modal/errors/manifest.d.ts +1 -0
- package/dist/pipeline/modal/errors/manifest.js +7 -0
- package/dist/pipeline/modal/index.d.ts +2 -0
- package/dist/pipeline/modal/index.js +3 -0
- package/dist/pipeline/modal/manifest.d.ts +1 -0
- package/dist/pipeline/modal/manifest.js +8 -0
- package/dist/pipeline/modal/pipeline-modal.element.d.ts +20 -0
- package/dist/pipeline/modal/pipeline-modal.element.js +151 -0
- package/dist/pipeline/modal/pipeline-modal.token.d.ts +39 -0
- package/dist/pipeline/modal/pipeline-modal.token.js +38 -0
- package/dist/pipeline/pipeline.context.d.ts +53 -0
- package/dist/pipeline/pipeline.context.js +260 -0
- package/dist/pipeline/pipeline.element.d.ts +74 -0
- package/dist/pipeline/pipeline.element.js +260 -0
- package/dist/pipeline/pipeline.repository.d.ts +20 -0
- package/dist/pipeline/pipeline.repository.js +41 -0
- package/dist/pipeline/pipeline.source.d.ts +76 -0
- package/dist/pipeline/pipeline.source.js +79 -0
- package/dist/pipeline/pipelines.context.d.ts +12 -0
- package/dist/pipeline/pipelines.context.js +33 -0
- package/dist/pipeline/steps/index.d.ts +2 -0
- package/dist/pipeline/steps/index.js +2 -0
- package/dist/pipeline/steps/interfaces.d.ts +10 -0
- package/dist/pipeline/steps/interfaces.js +1 -0
- package/dist/pipeline/steps/models.d.ts +14 -0
- package/dist/pipeline/steps/models.js +24 -0
- package/dist/pipeline/workspace/manifest.d.ts +1 -0
- package/dist/pipeline/workspace/manifest.js +33 -0
- package/dist/pipeline/workspace/pipeline-workspace.context.d.ts +17 -0
- package/dist/pipeline/workspace/pipeline-workspace.context.js +58 -0
- package/dist/pipeline/workspace/pipeline-workspace.element.d.ts +6 -0
- package/dist/pipeline/workspace/pipeline-workspace.element.js +21 -0
- package/dist/pipeline/workspace/types.d.ts +6 -0
- package/dist/pipeline/workspace/types.js +10 -0
- package/dist/pipeline/workspace/views/default-pipeline-view.d.ts +20 -0
- package/dist/pipeline/workspace/views/default-pipeline-view.js +140 -0
- package/dist/queue/components/queue-list.element.d.ts +21 -0
- package/dist/queue/components/queue-list.element.js +72 -0
- package/dist/queue/components/queue-table.element.d.ts +24 -0
- package/dist/queue/components/queue-table.element.js +156 -0
- package/dist/queue/index.d.ts +3 -0
- package/dist/queue/index.js +3 -0
- package/dist/queue/queue.context.d.ts +13 -0
- package/dist/queue/queue.context.js +37 -0
- package/dist/queue/queue.repository.d.ts +10 -0
- package/dist/queue/queue.repository.js +32 -0
- package/dist/signalr/index.d.ts +2 -0
- package/dist/signalr/index.js +2 -0
- package/dist/signalr/signalr.context.d.ts +24 -0
- package/dist/signalr/signalr.context.js +99 -0
- package/dist/signalr/types.d.ts +12 -0
- package/dist/signalr/types.js +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1,547 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'http://localhost:41839' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type PagedModelQueuedItemModel = {
|
|
5
|
+
items: Array<QueuedItem>;
|
|
6
|
+
total: number;
|
|
7
|
+
};
|
|
8
|
+
export type Pipeline = {
|
|
9
|
+
id: string;
|
|
10
|
+
alias: string;
|
|
11
|
+
strategy: string;
|
|
12
|
+
state: PipelineState;
|
|
13
|
+
options: ProcessingOptions;
|
|
14
|
+
results?: ProcessingResults | null;
|
|
15
|
+
};
|
|
16
|
+
export type PipelineBackgroundState = {
|
|
17
|
+
isBackgroundRequest: boolean;
|
|
18
|
+
backgroundElement?: string | null;
|
|
19
|
+
completedElement?: string | null;
|
|
20
|
+
failedElement?: string | null;
|
|
21
|
+
clientId?: string | null;
|
|
22
|
+
};
|
|
23
|
+
export type PipelineCreateRequest = {
|
|
24
|
+
alias: string;
|
|
25
|
+
strategy: string;
|
|
26
|
+
options?: ProcessingOptions | null;
|
|
27
|
+
clientId?: string | null;
|
|
28
|
+
};
|
|
29
|
+
export type PipelineState = {
|
|
30
|
+
status: PipelineStatus;
|
|
31
|
+
childPipeline?: string | null;
|
|
32
|
+
elementName?: string | null;
|
|
33
|
+
currentRequest?: ProcessingRequest | null;
|
|
34
|
+
progress: ProgressInformation;
|
|
35
|
+
schedule?: string | null;
|
|
36
|
+
backgroundState?: PipelineBackgroundState | null;
|
|
37
|
+
isChildPipeline: boolean;
|
|
38
|
+
};
|
|
39
|
+
export declare enum PipelineStatus {
|
|
40
|
+
NOT_STARTED = "NotStarted",
|
|
41
|
+
RUNNING = "Running",
|
|
42
|
+
BACKGROUND = "Background",
|
|
43
|
+
WAITING = "Waiting",
|
|
44
|
+
SCHEDULED = "Scheduled",
|
|
45
|
+
COMPLETED = "Completed",
|
|
46
|
+
FAILED = "Failed"
|
|
47
|
+
}
|
|
48
|
+
export type ProblemDetails = {
|
|
49
|
+
type?: string | null;
|
|
50
|
+
title?: string | null;
|
|
51
|
+
status?: number | null;
|
|
52
|
+
detail?: string | null;
|
|
53
|
+
instance?: string | null;
|
|
54
|
+
[key: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
export type ProcessingChildRequestAction = {
|
|
57
|
+
alias: string;
|
|
58
|
+
stepAlias?: string | null;
|
|
59
|
+
page: number;
|
|
60
|
+
pageSize: number;
|
|
61
|
+
subStep?: string | null;
|
|
62
|
+
element?: string | null;
|
|
63
|
+
waitOnAction: boolean;
|
|
64
|
+
strategy: string;
|
|
65
|
+
processor: string;
|
|
66
|
+
options?: ProcessingOptions | null;
|
|
67
|
+
};
|
|
68
|
+
export type ProcessingErrorDetails = {
|
|
69
|
+
source: string;
|
|
70
|
+
strategy: string;
|
|
71
|
+
message: string;
|
|
72
|
+
action: string;
|
|
73
|
+
step?: string | null;
|
|
74
|
+
page: number;
|
|
75
|
+
subStep?: string | null;
|
|
76
|
+
key: string;
|
|
77
|
+
className?: string | null;
|
|
78
|
+
methodName?: string | null;
|
|
79
|
+
stackTrace?: string | null;
|
|
80
|
+
};
|
|
81
|
+
export type ProcessingOptions = {
|
|
82
|
+
[key: string]: unknown;
|
|
83
|
+
};
|
|
84
|
+
export type ProcessingOptionsResults = {
|
|
85
|
+
options?: ProcessingOptions | null;
|
|
86
|
+
};
|
|
87
|
+
export type ProcessingRequest = {
|
|
88
|
+
id: string;
|
|
89
|
+
clientId?: string | null;
|
|
90
|
+
isBackgroundRequest: boolean;
|
|
91
|
+
strategy: string;
|
|
92
|
+
action?: ProcessingChildRequestAction | ProcessingRequestAction | null;
|
|
93
|
+
user?: string | null;
|
|
94
|
+
title?: string | null;
|
|
95
|
+
source?: string | null;
|
|
96
|
+
options: {
|
|
97
|
+
[key: string]: unknown;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export type ProcessingRequestAction = {
|
|
101
|
+
alias: string;
|
|
102
|
+
stepAlias?: string | null;
|
|
103
|
+
page: number;
|
|
104
|
+
pageSize: number;
|
|
105
|
+
subStep?: string | null;
|
|
106
|
+
element?: string | null;
|
|
107
|
+
waitOnAction: boolean;
|
|
108
|
+
};
|
|
109
|
+
export type ProcessingResults = {
|
|
110
|
+
results: {
|
|
111
|
+
[key: string]: unknown;
|
|
112
|
+
};
|
|
113
|
+
error?: ProcessingErrorDetails | null;
|
|
114
|
+
};
|
|
115
|
+
export type ProgressInformation = {
|
|
116
|
+
isLastAction: boolean;
|
|
117
|
+
steps: Array<StepInfo>;
|
|
118
|
+
progress: number;
|
|
119
|
+
};
|
|
120
|
+
export type QueuedItem = {
|
|
121
|
+
id: number;
|
|
122
|
+
key: string;
|
|
123
|
+
immediate: boolean;
|
|
124
|
+
processor: string;
|
|
125
|
+
strategy: string;
|
|
126
|
+
submitted: string;
|
|
127
|
+
scheduled: string;
|
|
128
|
+
priority: number;
|
|
129
|
+
data?: string | null;
|
|
130
|
+
attempts: number;
|
|
131
|
+
userKey?: string | null;
|
|
132
|
+
userName?: string | null;
|
|
133
|
+
clientId?: string | null;
|
|
134
|
+
note?: string | null;
|
|
135
|
+
claimedBy?: string | null;
|
|
136
|
+
claimedUntil?: string | null;
|
|
137
|
+
};
|
|
138
|
+
export type StepInfo = {
|
|
139
|
+
icon: string;
|
|
140
|
+
name: string;
|
|
141
|
+
status: StepStatus;
|
|
142
|
+
};
|
|
143
|
+
export declare enum StepStatus {
|
|
144
|
+
NONE = "None",
|
|
145
|
+
RUNNING = "Running",
|
|
146
|
+
COMPLETE = "Complete",
|
|
147
|
+
ERROR = "Error"
|
|
148
|
+
}
|
|
149
|
+
export type ClearPipelineData = {
|
|
150
|
+
body?: never;
|
|
151
|
+
path: {
|
|
152
|
+
id: string;
|
|
153
|
+
};
|
|
154
|
+
query?: never;
|
|
155
|
+
url: '/umbraco/jumoo/api/v1/processing/ClearPipeline/{id}';
|
|
156
|
+
};
|
|
157
|
+
export type ClearPipelineErrors = {
|
|
158
|
+
/**
|
|
159
|
+
* Bad Request
|
|
160
|
+
*/
|
|
161
|
+
400: ProblemDetails;
|
|
162
|
+
/**
|
|
163
|
+
* The resource is protected and requires an authentication token
|
|
164
|
+
*/
|
|
165
|
+
401: unknown;
|
|
166
|
+
};
|
|
167
|
+
export type ClearPipelineError = ClearPipelineErrors[keyof ClearPipelineErrors];
|
|
168
|
+
export type ClearPipelineResponses = {
|
|
169
|
+
/**
|
|
170
|
+
* OK
|
|
171
|
+
*/
|
|
172
|
+
200: unknown;
|
|
173
|
+
};
|
|
174
|
+
export type CreatePipelineData = {
|
|
175
|
+
body?: PipelineCreateRequest;
|
|
176
|
+
path?: never;
|
|
177
|
+
query?: never;
|
|
178
|
+
url: '/umbraco/jumoo/api/v1/processing/CreatePipeline';
|
|
179
|
+
};
|
|
180
|
+
export type CreatePipelineErrors = {
|
|
181
|
+
/**
|
|
182
|
+
* Bad Request
|
|
183
|
+
*/
|
|
184
|
+
400: ProblemDetails;
|
|
185
|
+
/**
|
|
186
|
+
* The resource is protected and requires an authentication token
|
|
187
|
+
*/
|
|
188
|
+
401: unknown;
|
|
189
|
+
/**
|
|
190
|
+
* Not Found
|
|
191
|
+
*/
|
|
192
|
+
404: unknown;
|
|
193
|
+
};
|
|
194
|
+
export type CreatePipelineError = CreatePipelineErrors[keyof CreatePipelineErrors];
|
|
195
|
+
export type CreatePipelineResponses = {
|
|
196
|
+
/**
|
|
197
|
+
* OK
|
|
198
|
+
*/
|
|
199
|
+
200: string;
|
|
200
|
+
};
|
|
201
|
+
export type CreatePipelineResponse = CreatePipelineResponses[keyof CreatePipelineResponses];
|
|
202
|
+
export type GetPipelineData = {
|
|
203
|
+
body?: never;
|
|
204
|
+
path: {
|
|
205
|
+
id: string;
|
|
206
|
+
};
|
|
207
|
+
query?: never;
|
|
208
|
+
url: '/umbraco/jumoo/api/v1/processing/GetPipeline/{id}';
|
|
209
|
+
};
|
|
210
|
+
export type GetPipelineErrors = {
|
|
211
|
+
/**
|
|
212
|
+
* Bad Request
|
|
213
|
+
*/
|
|
214
|
+
400: ProblemDetails;
|
|
215
|
+
/**
|
|
216
|
+
* The resource is protected and requires an authentication token
|
|
217
|
+
*/
|
|
218
|
+
401: unknown;
|
|
219
|
+
/**
|
|
220
|
+
* Not Found
|
|
221
|
+
*/
|
|
222
|
+
404: unknown;
|
|
223
|
+
};
|
|
224
|
+
export type GetPipelineError = GetPipelineErrors[keyof GetPipelineErrors];
|
|
225
|
+
export type GetPipelineResponses = {
|
|
226
|
+
/**
|
|
227
|
+
* OK
|
|
228
|
+
*/
|
|
229
|
+
200: Pipeline;
|
|
230
|
+
};
|
|
231
|
+
export type GetPipelineResponse = GetPipelineResponses[keyof GetPipelineResponses];
|
|
232
|
+
export type GetProcessorsData = {
|
|
233
|
+
body?: never;
|
|
234
|
+
path?: never;
|
|
235
|
+
query?: never;
|
|
236
|
+
url: '/umbraco/jumoo/api/v1/processing/GetProcessors';
|
|
237
|
+
};
|
|
238
|
+
export type GetProcessorsErrors = {
|
|
239
|
+
/**
|
|
240
|
+
* Bad Request
|
|
241
|
+
*/
|
|
242
|
+
400: ProblemDetails;
|
|
243
|
+
/**
|
|
244
|
+
* The resource is protected and requires an authentication token
|
|
245
|
+
*/
|
|
246
|
+
401: unknown;
|
|
247
|
+
};
|
|
248
|
+
export type GetProcessorsError = GetProcessorsErrors[keyof GetProcessorsErrors];
|
|
249
|
+
export type GetProcessorsResponses = {
|
|
250
|
+
/**
|
|
251
|
+
* OK
|
|
252
|
+
*/
|
|
253
|
+
200: Array<string>;
|
|
254
|
+
};
|
|
255
|
+
export type GetProcessorsResponse = GetProcessorsResponses[keyof GetProcessorsResponses];
|
|
256
|
+
export type GetResultsData = {
|
|
257
|
+
body?: never;
|
|
258
|
+
path: {
|
|
259
|
+
id: string;
|
|
260
|
+
};
|
|
261
|
+
query?: never;
|
|
262
|
+
url: '/umbraco/jumoo/api/v1/processing/GetResults/{id}';
|
|
263
|
+
};
|
|
264
|
+
export type GetResultsErrors = {
|
|
265
|
+
/**
|
|
266
|
+
* Bad Request
|
|
267
|
+
*/
|
|
268
|
+
400: ProblemDetails;
|
|
269
|
+
/**
|
|
270
|
+
* The resource is protected and requires an authentication token
|
|
271
|
+
*/
|
|
272
|
+
401: unknown;
|
|
273
|
+
};
|
|
274
|
+
export type GetResultsError = GetResultsErrors[keyof GetResultsErrors];
|
|
275
|
+
export type GetResultsResponses = {
|
|
276
|
+
/**
|
|
277
|
+
* OK
|
|
278
|
+
*/
|
|
279
|
+
200: ProcessingResults;
|
|
280
|
+
};
|
|
281
|
+
export type GetResultsResponse = GetResultsResponses[keyof GetResultsResponses];
|
|
282
|
+
export type ListPipelinesData = {
|
|
283
|
+
body?: never;
|
|
284
|
+
path: {
|
|
285
|
+
status: PipelineStatus;
|
|
286
|
+
};
|
|
287
|
+
query?: never;
|
|
288
|
+
url: '/umbraco/jumoo/api/v1/processing/ListPipelines/{status}';
|
|
289
|
+
};
|
|
290
|
+
export type ListPipelinesErrors = {
|
|
291
|
+
/**
|
|
292
|
+
* Bad Request
|
|
293
|
+
*/
|
|
294
|
+
400: ProblemDetails;
|
|
295
|
+
/**
|
|
296
|
+
* The resource is protected and requires an authentication token
|
|
297
|
+
*/
|
|
298
|
+
401: unknown;
|
|
299
|
+
/**
|
|
300
|
+
* Not Found
|
|
301
|
+
*/
|
|
302
|
+
404: unknown;
|
|
303
|
+
};
|
|
304
|
+
export type ListPipelinesError = ListPipelinesErrors[keyof ListPipelinesErrors];
|
|
305
|
+
export type ListPipelinesResponses = {
|
|
306
|
+
/**
|
|
307
|
+
* OK
|
|
308
|
+
*/
|
|
309
|
+
200: Array<Pipeline>;
|
|
310
|
+
};
|
|
311
|
+
export type ListPipelinesResponse = ListPipelinesResponses[keyof ListPipelinesResponses];
|
|
312
|
+
export type ListPipelinesByStrategyData = {
|
|
313
|
+
body?: never;
|
|
314
|
+
path: {
|
|
315
|
+
strategy: string;
|
|
316
|
+
status: PipelineStatus;
|
|
317
|
+
};
|
|
318
|
+
query?: never;
|
|
319
|
+
url: '/umbraco/jumoo/api/v1/processing/ListPipelinesByStrategy/{strategy}/{status}';
|
|
320
|
+
};
|
|
321
|
+
export type ListPipelinesByStrategyErrors = {
|
|
322
|
+
/**
|
|
323
|
+
* Bad Request
|
|
324
|
+
*/
|
|
325
|
+
400: ProblemDetails;
|
|
326
|
+
/**
|
|
327
|
+
* The resource is protected and requires an authentication token
|
|
328
|
+
*/
|
|
329
|
+
401: unknown;
|
|
330
|
+
/**
|
|
331
|
+
* Not Found
|
|
332
|
+
*/
|
|
333
|
+
404: unknown;
|
|
334
|
+
};
|
|
335
|
+
export type ListPipelinesByStrategyError = ListPipelinesByStrategyErrors[keyof ListPipelinesByStrategyErrors];
|
|
336
|
+
export type ListPipelinesByStrategyResponses = {
|
|
337
|
+
/**
|
|
338
|
+
* OK
|
|
339
|
+
*/
|
|
340
|
+
200: Array<Pipeline>;
|
|
341
|
+
};
|
|
342
|
+
export type ListPipelinesByStrategyResponse = ListPipelinesByStrategyResponses[keyof ListPipelinesByStrategyResponses];
|
|
343
|
+
export type ProcessPipelineData = {
|
|
344
|
+
body?: never;
|
|
345
|
+
path: {
|
|
346
|
+
id: string;
|
|
347
|
+
};
|
|
348
|
+
query?: {
|
|
349
|
+
clientId?: string;
|
|
350
|
+
};
|
|
351
|
+
url: '/umbraco/jumoo/api/v1/processing/ProcessPipeline/{id}';
|
|
352
|
+
};
|
|
353
|
+
export type ProcessPipelineErrors = {
|
|
354
|
+
/**
|
|
355
|
+
* Bad Request
|
|
356
|
+
*/
|
|
357
|
+
400: ProblemDetails;
|
|
358
|
+
/**
|
|
359
|
+
* The resource is protected and requires an authentication token
|
|
360
|
+
*/
|
|
361
|
+
401: unknown;
|
|
362
|
+
};
|
|
363
|
+
export type ProcessPipelineError = ProcessPipelineErrors[keyof ProcessPipelineErrors];
|
|
364
|
+
export type ProcessPipelineResponses = {
|
|
365
|
+
/**
|
|
366
|
+
* OK
|
|
367
|
+
*/
|
|
368
|
+
200: Pipeline;
|
|
369
|
+
};
|
|
370
|
+
export type ProcessPipelineResponse = ProcessPipelineResponses[keyof ProcessPipelineResponses];
|
|
371
|
+
export type ReattachPipelineData = {
|
|
372
|
+
body?: never;
|
|
373
|
+
path: {
|
|
374
|
+
id: string;
|
|
375
|
+
};
|
|
376
|
+
query?: {
|
|
377
|
+
clientId?: string;
|
|
378
|
+
};
|
|
379
|
+
url: '/umbraco/jumoo/api/v1/processing/ReattachPipeline/{id}';
|
|
380
|
+
};
|
|
381
|
+
export type ReattachPipelineErrors = {
|
|
382
|
+
/**
|
|
383
|
+
* Bad Request
|
|
384
|
+
*/
|
|
385
|
+
400: ProblemDetails;
|
|
386
|
+
/**
|
|
387
|
+
* The resource is protected and requires an authentication token
|
|
388
|
+
*/
|
|
389
|
+
401: unknown;
|
|
390
|
+
/**
|
|
391
|
+
* Not Found
|
|
392
|
+
*/
|
|
393
|
+
404: unknown;
|
|
394
|
+
};
|
|
395
|
+
export type ReattachPipelineError = ReattachPipelineErrors[keyof ReattachPipelineErrors];
|
|
396
|
+
export type ReattachPipelineResponses = {
|
|
397
|
+
/**
|
|
398
|
+
* OK
|
|
399
|
+
*/
|
|
400
|
+
200: Pipeline;
|
|
401
|
+
};
|
|
402
|
+
export type ReattachPipelineResponse = ReattachPipelineResponses[keyof ReattachPipelineResponses];
|
|
403
|
+
export type UpdatePipelineData = {
|
|
404
|
+
body?: ProcessingOptions;
|
|
405
|
+
path: {
|
|
406
|
+
id: string;
|
|
407
|
+
};
|
|
408
|
+
query?: never;
|
|
409
|
+
url: '/umbraco/jumoo/api/v1/processing/UpdatePipeline/{id}';
|
|
410
|
+
};
|
|
411
|
+
export type UpdatePipelineErrors = {
|
|
412
|
+
/**
|
|
413
|
+
* Bad Request
|
|
414
|
+
*/
|
|
415
|
+
400: ProblemDetails;
|
|
416
|
+
/**
|
|
417
|
+
* The resource is protected and requires an authentication token
|
|
418
|
+
*/
|
|
419
|
+
401: unknown;
|
|
420
|
+
};
|
|
421
|
+
export type UpdatePipelineError = UpdatePipelineErrors[keyof UpdatePipelineErrors];
|
|
422
|
+
export type UpdatePipelineResponses = {
|
|
423
|
+
/**
|
|
424
|
+
* OK
|
|
425
|
+
*/
|
|
426
|
+
200: ProcessingOptionsResults;
|
|
427
|
+
};
|
|
428
|
+
export type UpdatePipelineResponse = UpdatePipelineResponses[keyof UpdatePipelineResponses];
|
|
429
|
+
export type DeleteData = {
|
|
430
|
+
body?: never;
|
|
431
|
+
path: {
|
|
432
|
+
key: string;
|
|
433
|
+
};
|
|
434
|
+
query?: never;
|
|
435
|
+
url: '/umbraco/jumoo/api/v1/processing/DeleteQueue/{key}';
|
|
436
|
+
};
|
|
437
|
+
export type DeleteErrors = {
|
|
438
|
+
/**
|
|
439
|
+
* Bad Request
|
|
440
|
+
*/
|
|
441
|
+
400: ProblemDetails;
|
|
442
|
+
/**
|
|
443
|
+
* The resource is protected and requires an authentication token
|
|
444
|
+
*/
|
|
445
|
+
401: unknown;
|
|
446
|
+
/**
|
|
447
|
+
* Not Found
|
|
448
|
+
*/
|
|
449
|
+
404: unknown;
|
|
450
|
+
};
|
|
451
|
+
export type DeleteError = DeleteErrors[keyof DeleteErrors];
|
|
452
|
+
export type DeleteResponses = {
|
|
453
|
+
/**
|
|
454
|
+
* OK
|
|
455
|
+
*/
|
|
456
|
+
200: unknown;
|
|
457
|
+
};
|
|
458
|
+
export type ListQueueData = {
|
|
459
|
+
body?: never;
|
|
460
|
+
path?: never;
|
|
461
|
+
query?: {
|
|
462
|
+
page?: number;
|
|
463
|
+
};
|
|
464
|
+
url: '/umbraco/jumoo/api/v1/processing/ListQueue';
|
|
465
|
+
};
|
|
466
|
+
export type ListQueueErrors = {
|
|
467
|
+
/**
|
|
468
|
+
* Bad Request
|
|
469
|
+
*/
|
|
470
|
+
400: ProblemDetails;
|
|
471
|
+
/**
|
|
472
|
+
* The resource is protected and requires an authentication token
|
|
473
|
+
*/
|
|
474
|
+
401: unknown;
|
|
475
|
+
/**
|
|
476
|
+
* Not Found
|
|
477
|
+
*/
|
|
478
|
+
404: unknown;
|
|
479
|
+
};
|
|
480
|
+
export type ListQueueError = ListQueueErrors[keyof ListQueueErrors];
|
|
481
|
+
export type ListQueueResponses = {
|
|
482
|
+
/**
|
|
483
|
+
* OK
|
|
484
|
+
*/
|
|
485
|
+
200: PagedModelQueuedItemModel;
|
|
486
|
+
};
|
|
487
|
+
export type ListQueueResponse = ListQueueResponses[keyof ListQueueResponses];
|
|
488
|
+
export type PeekItemData = {
|
|
489
|
+
body?: never;
|
|
490
|
+
path?: never;
|
|
491
|
+
query?: {
|
|
492
|
+
key?: string;
|
|
493
|
+
};
|
|
494
|
+
url: '/umbraco/jumoo/api/v1/processing/PeekItem';
|
|
495
|
+
};
|
|
496
|
+
export type PeekItemErrors = {
|
|
497
|
+
/**
|
|
498
|
+
* Bad Request
|
|
499
|
+
*/
|
|
500
|
+
400: ProblemDetails;
|
|
501
|
+
/**
|
|
502
|
+
* The resource is protected and requires an authentication token
|
|
503
|
+
*/
|
|
504
|
+
401: unknown;
|
|
505
|
+
/**
|
|
506
|
+
* Not Found
|
|
507
|
+
*/
|
|
508
|
+
404: unknown;
|
|
509
|
+
};
|
|
510
|
+
export type PeekItemError = PeekItemErrors[keyof PeekItemErrors];
|
|
511
|
+
export type PeekItemResponses = {
|
|
512
|
+
/**
|
|
513
|
+
* OK
|
|
514
|
+
*/
|
|
515
|
+
200: PagedModelQueuedItemModel;
|
|
516
|
+
};
|
|
517
|
+
export type PeekItemResponse = PeekItemResponses[keyof PeekItemResponses];
|
|
518
|
+
export type ProcessData = {
|
|
519
|
+
body?: never;
|
|
520
|
+
path: {
|
|
521
|
+
key: string;
|
|
522
|
+
};
|
|
523
|
+
query?: never;
|
|
524
|
+
url: '/umbraco/jumoo/api/v1/processing/ProcessQueue/{key}';
|
|
525
|
+
};
|
|
526
|
+
export type ProcessErrors = {
|
|
527
|
+
/**
|
|
528
|
+
* Bad Request
|
|
529
|
+
*/
|
|
530
|
+
400: ProblemDetails;
|
|
531
|
+
/**
|
|
532
|
+
* The resource is protected and requires an authentication token
|
|
533
|
+
*/
|
|
534
|
+
401: unknown;
|
|
535
|
+
/**
|
|
536
|
+
* Not Found
|
|
537
|
+
*/
|
|
538
|
+
404: unknown;
|
|
539
|
+
};
|
|
540
|
+
export type ProcessError = ProcessErrors[keyof ProcessErrors];
|
|
541
|
+
export type ProcessResponses = {
|
|
542
|
+
/**
|
|
543
|
+
* OK
|
|
544
|
+
*/
|
|
545
|
+
200: QueuedItem;
|
|
546
|
+
};
|
|
547
|
+
export type ProcessResponse = ProcessResponses[keyof ProcessResponses];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export var PipelineStatus;
|
|
3
|
+
(function (PipelineStatus) {
|
|
4
|
+
PipelineStatus["NOT_STARTED"] = "NotStarted";
|
|
5
|
+
PipelineStatus["RUNNING"] = "Running";
|
|
6
|
+
PipelineStatus["BACKGROUND"] = "Background";
|
|
7
|
+
PipelineStatus["WAITING"] = "Waiting";
|
|
8
|
+
PipelineStatus["SCHEDULED"] = "Scheduled";
|
|
9
|
+
PipelineStatus["COMPLETED"] = "Completed";
|
|
10
|
+
PipelineStatus["FAILED"] = "Failed";
|
|
11
|
+
})(PipelineStatus || (PipelineStatus = {}));
|
|
12
|
+
export var StepStatus;
|
|
13
|
+
(function (StepStatus) {
|
|
14
|
+
StepStatus["NONE"] = "None";
|
|
15
|
+
StepStatus["RUNNING"] = "Running";
|
|
16
|
+
StepStatus["COMPLETE"] = "Complete";
|
|
17
|
+
StepStatus["ERROR"] = "Error";
|
|
18
|
+
})(StepStatus || (StepStatus = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ProcessingTimeOptions: Intl.DateTimeFormatOptions;
|
package/dist/exports.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CreateClientConfig } from './api/client.gen';
|
|
2
|
+
/**
|
|
3
|
+
* Pre-configure the generated client by copying the Umbraco HTTP client's config.
|
|
4
|
+
*
|
|
5
|
+
* Called automatically by the generated client during initialization (via runtimeConfigPath).
|
|
6
|
+
* Inherits baseUrl, credentials, auth, and headers from umbHttpClient — which is already
|
|
7
|
+
* configured by the backoffice before extensions load.
|
|
8
|
+
*
|
|
9
|
+
* @see https://heyapi.dev/openapi-ts/clients/fetch#configuration
|
|
10
|
+
*/
|
|
11
|
+
export declare const createClientConfig: CreateClientConfig;
|
package/dist/hey-api.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { umbHttpClient } from '@umbraco-cms/backoffice/http-client';
|
|
2
|
+
/**
|
|
3
|
+
* Pre-configure the generated client by copying the Umbraco HTTP client's config.
|
|
4
|
+
*
|
|
5
|
+
* Called automatically by the generated client during initialization (via runtimeConfigPath).
|
|
6
|
+
* Inherits baseUrl, credentials, auth, and headers from umbHttpClient — which is already
|
|
7
|
+
* configured by the backoffice before extensions load.
|
|
8
|
+
*
|
|
9
|
+
* @see https://heyapi.dev/openapi-ts/clients/fetch#configuration
|
|
10
|
+
*/
|
|
11
|
+
export const createClientConfig = (config) => ({
|
|
12
|
+
...config,
|
|
13
|
+
...umbHttpClient.getConfig(),
|
|
14
|
+
});
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UmbEntryPointOnInit } from '@umbraco-cms/backoffice/extension-api';
|
|
2
|
+
import './pipeline/index.js';
|
|
3
|
+
import './signalr/index.js';
|
|
4
|
+
import './pipeline/components/index.js';
|
|
5
|
+
import './external/signalr/index.js';
|
|
6
|
+
import './api/index.js';
|
|
7
|
+
export * from './exports.js';
|
|
8
|
+
export declare const onInit: UmbEntryPointOnInit;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './pipeline/index.js';
|
|
2
|
+
import './signalr/index.js';
|
|
3
|
+
import './pipeline/components/index.js';
|
|
4
|
+
import './external/signalr/index.js';
|
|
5
|
+
import './api/index.js';
|
|
6
|
+
import { manifests as modals } from './pipeline/modal/manifest.js';
|
|
7
|
+
import { manifests as pipelines } from './pipeline/workspace/manifest.js';
|
|
8
|
+
import { manifests as localizations } from './lang/manifest.js';
|
|
9
|
+
export * from './exports.js';
|
|
10
|
+
export const onInit = (_host, extensions) => {
|
|
11
|
+
extensions.registerMany([...modals, ...pipelines, ...localizations]);
|
|
12
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
jumooProc: {
|
|
3
|
+
process: string;
|
|
4
|
+
};
|
|
5
|
+
jumooProcError: {
|
|
6
|
+
headline: string;
|
|
7
|
+
details: string;
|
|
8
|
+
source: string;
|
|
9
|
+
action: string;
|
|
10
|
+
step: string;
|
|
11
|
+
page: string;
|
|
12
|
+
class: string;
|
|
13
|
+
method: string;
|
|
14
|
+
stack: string;
|
|
15
|
+
};
|
|
16
|
+
jumooProcBackground: {
|
|
17
|
+
completed: string;
|
|
18
|
+
error: string;
|
|
19
|
+
running: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
jumooProc: {
|
|
3
|
+
process: 'Process',
|
|
4
|
+
},
|
|
5
|
+
jumooProcError: {
|
|
6
|
+
headline: 'Error details',
|
|
7
|
+
details: 'Details',
|
|
8
|
+
source: 'Source',
|
|
9
|
+
action: 'Action',
|
|
10
|
+
step: 'Step',
|
|
11
|
+
page: 'Page',
|
|
12
|
+
class: 'Class',
|
|
13
|
+
method: 'Method',
|
|
14
|
+
stack: 'Stack',
|
|
15
|
+
},
|
|
16
|
+
jumooProcBackground: {
|
|
17
|
+
completed: 'This process has completed in the background',
|
|
18
|
+
error: 'This process has errored in the background',
|
|
19
|
+
running: 'This process is running in the background, you can close this dialog and things will carry on.',
|
|
20
|
+
},
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: UmbExtensionManifest[];
|