@jumoo/processing 17.5.0 → 18.3.0
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.js +104 -123
- package/dist/api/client/index.d.ts +2 -0
- package/dist/api/client/types.gen.d.ts +6 -3
- package/dist/api/client/utils.gen.d.ts +8 -4
- package/dist/api/client/utils.gen.js +3 -3
- package/dist/api/client.gen.d.ts +2 -2
- package/dist/api/client.gen.js +1 -2
- package/dist/api/core/auth.gen.d.ts +7 -0
- package/dist/api/core/params.gen.d.ts +2 -2
- package/dist/api/core/params.gen.js +23 -14
- package/dist/api/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/api/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/api/core/serverSentEvents.gen.js +3 -4
- package/dist/api/core/types.gen.d.ts +5 -0
- package/dist/api/index.d.ts +2 -3
- package/dist/api/index.js +1 -2
- package/dist/api/sdk.gen.d.ts +26 -30
- package/dist/api/sdk.gen.js +103 -141
- package/dist/api/types.gen.d.ts +292 -168
- package/dist/api/types.gen.js +1 -0
- package/dist/index.js +9 -1
- package/dist/pipeline/components/pipeline-table.element.d.ts +2 -1
- package/dist/pipeline/components/pipeline-table.element.js +3 -1
- package/dist/pipeline/modal/errors/error-modal.element.js +1 -1
- package/dist/pipeline/modal/pipeline-modal.element.js +1 -1
- package/dist/pipeline/pipeline.context.d.ts +2 -2
- package/dist/pipeline/pipeline.context.js +1 -1
- package/dist/pipeline/pipeline.element.js +4 -4
- package/dist/pipeline/pipeline.repository.d.ts +33 -18
- package/dist/pipeline/pipeline.source.d.ts +80 -30
- package/dist/pipeline/pipeline.source.js +11 -11
- package/dist/pipeline/pipelines.context.d.ts +1 -1
- package/dist/pipeline/workspace/views/default-pipeline-view.js +1 -1
- package/dist/queue/queue.context.d.ts +1 -1
- package/dist/queue/queue.repository.d.ts +3 -3
- package/dist/queue/queue.repository.js +5 -5
- package/package.json +9 -8
- package/dist/hey-api.d.ts +0 -11
- package/dist/hey-api.js +0 -14
package/dist/api/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
|
-
import type {
|
|
1
|
+
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
|
|
2
|
+
import type { DeleteProcessingDeleteQueueByKeyData, DeleteProcessingDeleteQueueByKeyErrors, DeleteProcessingDeleteQueueByKeyResponses, GetProcessingGetPipelineByIdData, GetProcessingGetPipelineByIdErrors, GetProcessingGetPipelineByIdResponses, GetProcessingGetProcessorsData, GetProcessingGetProcessorsErrors, GetProcessingGetProcessorsResponses, GetProcessingGetResultsByIdData, GetProcessingGetResultsByIdErrors, GetProcessingGetResultsByIdResponses, GetProcessingListPipelinesByStatusData, GetProcessingListPipelinesByStatusErrors, GetProcessingListPipelinesByStatusResponses, GetProcessingListPipelinesByStrategyByStrategyByStatusData, GetProcessingListPipelinesByStrategyByStrategyByStatusErrors, GetProcessingListPipelinesByStrategyByStrategyByStatusResponses, GetProcessingListQueueData, GetProcessingListQueueErrors, GetProcessingListQueueResponses, GetProcessingPeekItemData, GetProcessingPeekItemErrors, GetProcessingPeekItemResponses, GetProcessingPipelineStatusByIdData, GetProcessingPipelineStatusByIdErrors, GetProcessingPipelineStatusByIdResponses, PostProcessingCancelPipelineByIdData, PostProcessingCancelPipelineByIdErrors, PostProcessingCancelPipelineByIdResponses, PostProcessingClearPipelineByIdData, PostProcessingClearPipelineByIdErrors, PostProcessingClearPipelineByIdResponses, PostProcessingCreatePipelineData, PostProcessingCreatePipelineErrors, PostProcessingCreatePipelineResponses, PostProcessingProcessPipelineByIdData, PostProcessingProcessPipelineByIdErrors, PostProcessingProcessPipelineByIdResponses, PostProcessingProcessQueueByKeyData, PostProcessingProcessQueueByKeyErrors, PostProcessingProcessQueueByKeyResponses, PostProcessingReattachPipelineByIdData, PostProcessingReattachPipelineByIdErrors, PostProcessingReattachPipelineByIdResponses, PostProcessingStartPipelineData, PostProcessingStartPipelineErrors, PostProcessingStartPipelineResponses, PostProcessingUpdatePipelineByIdData, PostProcessingUpdatePipelineByIdErrors, PostProcessingUpdatePipelineByIdResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -11,32 +11,28 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
11
11
|
* You can pass arbitrary values through the `meta` object. This can be
|
|
12
12
|
* used to access values that aren't defined as part of the SDK function.
|
|
13
13
|
*/
|
|
14
|
-
meta?: Record<string, unknown
|
|
14
|
+
meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
|
|
15
15
|
};
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
* Takes an item off the queue, removes the schedule date and puts it back
|
|
40
|
-
*/
|
|
41
|
-
static process<ThrowOnError extends boolean = true>(options: Options<ProcessData, ThrowOnError>): import("./client").RequestResult<ProcessResponses, ProcessErrors, ThrowOnError, "fields">;
|
|
42
|
-
}
|
|
16
|
+
export declare const postProcessingCancelPipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingCancelPipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingCancelPipelineByIdResponses, PostProcessingCancelPipelineByIdErrors, ThrowOnError>;
|
|
17
|
+
export declare const postProcessingClearPipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingClearPipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingClearPipelineByIdResponses, PostProcessingClearPipelineByIdErrors, ThrowOnError>;
|
|
18
|
+
export declare const postProcessingCreatePipeline: <ThrowOnError extends boolean = false>(options: Options<PostProcessingCreatePipelineData, ThrowOnError>) => RequestResult<PostProcessingCreatePipelineResponses, PostProcessingCreatePipelineErrors, ThrowOnError>;
|
|
19
|
+
export declare const getProcessingGetPipelineById: <ThrowOnError extends boolean = false>(options: Options<GetProcessingGetPipelineByIdData, ThrowOnError>) => RequestResult<GetProcessingGetPipelineByIdResponses, GetProcessingGetPipelineByIdErrors, ThrowOnError>;
|
|
20
|
+
export declare const getProcessingGetProcessors: <ThrowOnError extends boolean = false>(options?: Options<GetProcessingGetProcessorsData, ThrowOnError>) => RequestResult<GetProcessingGetProcessorsResponses, GetProcessingGetProcessorsErrors, ThrowOnError>;
|
|
21
|
+
export declare const getProcessingGetResultsById: <ThrowOnError extends boolean = false>(options: Options<GetProcessingGetResultsByIdData, ThrowOnError>) => RequestResult<GetProcessingGetResultsByIdResponses, GetProcessingGetResultsByIdErrors, ThrowOnError>;
|
|
22
|
+
export declare const getProcessingListPipelinesByStatus: <ThrowOnError extends boolean = false>(options: Options<GetProcessingListPipelinesByStatusData, ThrowOnError>) => RequestResult<GetProcessingListPipelinesByStatusResponses, GetProcessingListPipelinesByStatusErrors, ThrowOnError>;
|
|
23
|
+
export declare const getProcessingListPipelinesByStrategyByStrategyByStatus: <ThrowOnError extends boolean = false>(options: Options<GetProcessingListPipelinesByStrategyByStrategyByStatusData, ThrowOnError>) => RequestResult<GetProcessingListPipelinesByStrategyByStrategyByStatusResponses, GetProcessingListPipelinesByStrategyByStrategyByStatusErrors, ThrowOnError>;
|
|
24
|
+
export declare const getProcessingPipelineStatusById: <ThrowOnError extends boolean = false>(options: Options<GetProcessingPipelineStatusByIdData, ThrowOnError>) => RequestResult<GetProcessingPipelineStatusByIdResponses, GetProcessingPipelineStatusByIdErrors, ThrowOnError>;
|
|
25
|
+
export declare const postProcessingProcessPipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingProcessPipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingProcessPipelineByIdResponses, PostProcessingProcessPipelineByIdErrors, ThrowOnError>;
|
|
26
|
+
export declare const postProcessingReattachPipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingReattachPipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingReattachPipelineByIdResponses, PostProcessingReattachPipelineByIdErrors, ThrowOnError>;
|
|
27
|
+
export declare const postProcessingStartPipeline: <ThrowOnError extends boolean = false>(options: Options<PostProcessingStartPipelineData, ThrowOnError>) => RequestResult<PostProcessingStartPipelineResponses, PostProcessingStartPipelineErrors, ThrowOnError>;
|
|
28
|
+
export declare const postProcessingUpdatePipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingUpdatePipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingUpdatePipelineByIdResponses, PostProcessingUpdatePipelineByIdErrors, ThrowOnError>;
|
|
29
|
+
export declare const deleteProcessingDeleteQueueByKey: <ThrowOnError extends boolean = false>(options: Options<DeleteProcessingDeleteQueueByKeyData, ThrowOnError>) => RequestResult<DeleteProcessingDeleteQueueByKeyResponses, DeleteProcessingDeleteQueueByKeyErrors, ThrowOnError>;
|
|
30
|
+
export declare const getProcessingListQueue: <ThrowOnError extends boolean = false>(options?: Options<GetProcessingListQueueData, ThrowOnError>) => RequestResult<GetProcessingListQueueResponses, GetProcessingListQueueErrors, ThrowOnError>;
|
|
31
|
+
/**
|
|
32
|
+
* Peek an item from the queue
|
|
33
|
+
*/
|
|
34
|
+
export declare const getProcessingPeekItem: <ThrowOnError extends boolean = false>(options?: Options<GetProcessingPeekItemData, ThrowOnError>) => RequestResult<GetProcessingPeekItemResponses, GetProcessingPeekItemErrors, ThrowOnError>;
|
|
35
|
+
/**
|
|
36
|
+
* Takes an item off the queue, removes the schedule date and puts it back
|
|
37
|
+
*/
|
|
38
|
+
export declare const postProcessingProcessQueueByKey: <ThrowOnError extends boolean = false>(options: Options<PostProcessingProcessQueueByKeyData, ThrowOnError>) => RequestResult<PostProcessingProcessQueueByKeyResponses, PostProcessingProcessQueueByKeyErrors, ThrowOnError>;
|
package/dist/api/sdk.gen.js
CHANGED
|
@@ -1,143 +1,105 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { client } from './client.gen';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
export class QueuesService {
|
|
109
|
-
static delete(options) {
|
|
110
|
-
return (options.client ?? client).delete({
|
|
111
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
112
|
-
url: '/umbraco/jumoo/api/v1/processing/DeleteQueue/{key}',
|
|
113
|
-
...options
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
static listQueue(options) {
|
|
117
|
-
return (options?.client ?? client).get({
|
|
118
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
119
|
-
url: '/umbraco/jumoo/api/v1/processing/ListQueue',
|
|
120
|
-
...options
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Peek an item from the queue
|
|
125
|
-
*/
|
|
126
|
-
static peekItem(options) {
|
|
127
|
-
return (options?.client ?? client).get({
|
|
128
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
129
|
-
url: '/umbraco/jumoo/api/v1/processing/PeekItem',
|
|
130
|
-
...options
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Takes an item off the queue, removes the schedule date and puts it back
|
|
135
|
-
*/
|
|
136
|
-
static process(options) {
|
|
137
|
-
return (options.client ?? client).post({
|
|
138
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
139
|
-
url: '/umbraco/jumoo/api/v1/processing/ProcessQueue/{key}',
|
|
140
|
-
...options
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
}
|
|
3
|
+
export const postProcessingCancelPipelineById = (options) => (options.client ?? client).post({
|
|
4
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
5
|
+
url: '/umbraco/jumoo/api/v1/processing/CancelPipeline/{id}',
|
|
6
|
+
...options
|
|
7
|
+
});
|
|
8
|
+
export const postProcessingClearPipelineById = (options) => (options.client ?? client).post({
|
|
9
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
10
|
+
url: '/umbraco/jumoo/api/v1/processing/ClearPipeline/{id}',
|
|
11
|
+
...options
|
|
12
|
+
});
|
|
13
|
+
export const postProcessingCreatePipeline = (options) => (options.client ?? client).post({
|
|
14
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
15
|
+
url: '/umbraco/jumoo/api/v1/processing/CreatePipeline',
|
|
16
|
+
...options,
|
|
17
|
+
headers: {
|
|
18
|
+
'Content-Type': 'application/json',
|
|
19
|
+
...options.headers
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export const getProcessingGetPipelineById = (options) => (options.client ?? client).get({
|
|
23
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
24
|
+
url: '/umbraco/jumoo/api/v1/processing/GetPipeline/{id}',
|
|
25
|
+
...options
|
|
26
|
+
});
|
|
27
|
+
export const getProcessingGetProcessors = (options) => (options?.client ?? client).get({
|
|
28
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
29
|
+
url: '/umbraco/jumoo/api/v1/processing/GetProcessors',
|
|
30
|
+
...options
|
|
31
|
+
});
|
|
32
|
+
export const getProcessingGetResultsById = (options) => (options.client ?? client).get({
|
|
33
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
34
|
+
url: '/umbraco/jumoo/api/v1/processing/GetResults/{id}',
|
|
35
|
+
...options
|
|
36
|
+
});
|
|
37
|
+
export const getProcessingListPipelinesByStatus = (options) => (options.client ?? client).get({
|
|
38
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
39
|
+
url: '/umbraco/jumoo/api/v1/processing/ListPipelines/{status}',
|
|
40
|
+
...options
|
|
41
|
+
});
|
|
42
|
+
export const getProcessingListPipelinesByStrategyByStrategyByStatus = (options) => (options.client ?? client).get({
|
|
43
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
44
|
+
url: '/umbraco/jumoo/api/v1/processing/ListPipelinesByStrategy/{strategy}/{status}',
|
|
45
|
+
...options
|
|
46
|
+
});
|
|
47
|
+
export const getProcessingPipelineStatusById = (options) => (options.client ?? client).get({
|
|
48
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
49
|
+
url: '/umbraco/jumoo/api/v1/processing/PipelineStatus/{id}',
|
|
50
|
+
...options
|
|
51
|
+
});
|
|
52
|
+
export const postProcessingProcessPipelineById = (options) => (options.client ?? client).post({
|
|
53
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
54
|
+
url: '/umbraco/jumoo/api/v1/processing/ProcessPipeline/{id}',
|
|
55
|
+
...options
|
|
56
|
+
});
|
|
57
|
+
export const postProcessingReattachPipelineById = (options) => (options.client ?? client).post({
|
|
58
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
59
|
+
url: '/umbraco/jumoo/api/v1/processing/ReattachPipeline/{id}',
|
|
60
|
+
...options
|
|
61
|
+
});
|
|
62
|
+
export const postProcessingStartPipeline = (options) => (options.client ?? client).post({
|
|
63
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
64
|
+
url: '/umbraco/jumoo/api/v1/processing/StartPipeline',
|
|
65
|
+
...options,
|
|
66
|
+
headers: {
|
|
67
|
+
'Content-Type': 'application/json',
|
|
68
|
+
...options.headers
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
export const postProcessingUpdatePipelineById = (options) => (options.client ?? client).post({
|
|
72
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
73
|
+
url: '/umbraco/jumoo/api/v1/processing/UpdatePipeline/{id}',
|
|
74
|
+
...options,
|
|
75
|
+
headers: {
|
|
76
|
+
'Content-Type': 'application/json',
|
|
77
|
+
...options.headers
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
export const deleteProcessingDeleteQueueByKey = (options) => (options.client ?? client).delete({
|
|
81
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
82
|
+
url: '/umbraco/jumoo/api/v1/processing/DeleteQueue/{key}',
|
|
83
|
+
...options
|
|
84
|
+
});
|
|
85
|
+
export const getProcessingListQueue = (options) => (options?.client ?? client).get({
|
|
86
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
87
|
+
url: '/umbraco/jumoo/api/v1/processing/ListQueue',
|
|
88
|
+
...options
|
|
89
|
+
});
|
|
90
|
+
/**
|
|
91
|
+
* Peek an item from the queue
|
|
92
|
+
*/
|
|
93
|
+
export const getProcessingPeekItem = (options) => (options?.client ?? client).get({
|
|
94
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
95
|
+
url: '/umbraco/jumoo/api/v1/processing/PeekItem',
|
|
96
|
+
...options
|
|
97
|
+
});
|
|
98
|
+
/**
|
|
99
|
+
* Takes an item off the queue, removes the schedule date and puts it back
|
|
100
|
+
*/
|
|
101
|
+
export const postProcessingProcessQueueByKey = (options) => (options.client ?? client).post({
|
|
102
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
103
|
+
url: '/umbraco/jumoo/api/v1/processing/ProcessQueue/{key}',
|
|
104
|
+
...options
|
|
105
|
+
});
|