@5minds/processcube_engine_client 5.0.0-develop-3288b1-lo4454tw → 5.0.0-develop-da7c64-lo7e3wg3

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.
Files changed (55) hide show
  1. package/dist/Client.d.ts +0 -4
  2. package/dist/ClientFactory.d.ts +1 -3
  3. package/dist/Clients/CronjobHttpClient.d.ts +0 -18
  4. package/dist/Clients/ExternalTaskApiHttpClient.d.ts +1 -9
  5. package/dist/Clients/Lib/Mappers.d.ts +1 -6
  6. package/dist/Clients/index.d.ts +0 -2
  7. package/dist/Types/RestSettings.d.ts +0 -30
  8. package/dist/amd/Client.js +0 -10
  9. package/dist/amd/Client.js.map +1 -1
  10. package/dist/amd/ClientFactory.js +0 -4
  11. package/dist/amd/ClientFactory.js.map +1 -1
  12. package/dist/amd/Clients/CronjobHttpClient.js +0 -26
  13. package/dist/amd/Clients/CronjobHttpClient.js.map +1 -1
  14. package/dist/amd/Clients/ExternalTaskApiHttpClient.js +0 -26
  15. package/dist/amd/Clients/ExternalTaskApiHttpClient.js.map +1 -1
  16. package/dist/amd/Clients/Lib/Mappers.js +1 -40
  17. package/dist/amd/Clients/Lib/Mappers.js.map +1 -1
  18. package/dist/amd/Clients/index.js +1 -3
  19. package/dist/amd/Clients/index.js.map +1 -1
  20. package/dist/amd/ExternalTaskWorker.js +2 -2
  21. package/dist/amd/ExternalTaskWorker.js.map +1 -1
  22. package/dist/amd/Types/RestSettings.js +0 -30
  23. package/dist/amd/Types/RestSettings.js.map +1 -1
  24. package/dist/commonjs/Client.js +0 -10
  25. package/dist/commonjs/Client.js.map +1 -1
  26. package/dist/commonjs/ClientFactory.js +0 -4
  27. package/dist/commonjs/ClientFactory.js.map +1 -1
  28. package/dist/commonjs/Clients/CronjobHttpClient.js +0 -26
  29. package/dist/commonjs/Clients/CronjobHttpClient.js.map +1 -1
  30. package/dist/commonjs/Clients/ExternalTaskApiHttpClient.js +0 -26
  31. package/dist/commonjs/Clients/ExternalTaskApiHttpClient.js.map +1 -1
  32. package/dist/commonjs/Clients/Lib/Mappers.js +1 -40
  33. package/dist/commonjs/Clients/Lib/Mappers.js.map +1 -1
  34. package/dist/commonjs/Clients/index.js +0 -2
  35. package/dist/commonjs/Clients/index.js.map +1 -1
  36. package/dist/commonjs/ExternalTaskWorker.js +2 -2
  37. package/dist/commonjs/ExternalTaskWorker.js.map +1 -1
  38. package/dist/commonjs/Types/RestSettings.js +0 -30
  39. package/dist/commonjs/Types/RestSettings.js.map +1 -1
  40. package/package.json +2 -2
  41. package/dist/Clients/AnonymousSessionHttpClient.d.ts +0 -7
  42. package/dist/Clients/UserMetadataStorageHttpClient.d.ts +0 -26
  43. package/dist/Types/CronjobsDeprecated.d.ts +0 -65
  44. package/dist/amd/Clients/AnonymousSessionHttpClient.js +0 -29
  45. package/dist/amd/Clients/AnonymousSessionHttpClient.js.map +0 -1
  46. package/dist/amd/Clients/UserMetadataStorageHttpClient.js +0 -46
  47. package/dist/amd/Clients/UserMetadataStorageHttpClient.js.map +0 -1
  48. package/dist/amd/Types/CronjobsDeprecated.js +0 -18
  49. package/dist/amd/Types/CronjobsDeprecated.js.map +0 -1
  50. package/dist/commonjs/Clients/AnonymousSessionHttpClient.js +0 -30
  51. package/dist/commonjs/Clients/AnonymousSessionHttpClient.js.map +0 -1
  52. package/dist/commonjs/Clients/UserMetadataStorageHttpClient.js +0 -46
  53. package/dist/commonjs/Clients/UserMetadataStorageHttpClient.js.map +0 -1
  54. package/dist/commonjs/Types/CronjobsDeprecated.js +0 -16
  55. package/dist/commonjs/Types/CronjobsDeprecated.js.map +0 -1
@@ -1,29 +0,0 @@
1
- define(["require", "exports", "../Types/index", "./BaseClient", "./Lib/Mappers"], function (require, exports, index_1, BaseClient_1, Mappers_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.AnonymousSessionHttpClient = void 0;
5
- class AnonymousSessionHttpClient extends BaseClient_1.BaseClient {
6
- async getAnonymousSessionById(sessionId) {
7
- const requestAuthHeaders = this.createRequestAuthHeaders(this.identity);
8
- const endpoint = index_1.restSettings.paths.getAnonymousSessionById.replace(index_1.restSettings.params.sessionId, sessionId);
9
- const url = this.buildUrl(endpoint);
10
- const httpResponse = await this.httpClient.get(url, requestAuthHeaders);
11
- return (0, Mappers_1.mapAnonymousSession)(httpResponse.result);
12
- }
13
- async getAnonymousSessionsByUserId(userId) {
14
- const requestAuthHeaders = this.createRequestAuthHeaders(this.identity);
15
- const endpoint = index_1.restSettings.paths.getAnonymousSessionsByUserId.replace(index_1.restSettings.params.userId, userId);
16
- const url = this.buildUrl(endpoint);
17
- const httpResponse = await this.httpClient.get(url, requestAuthHeaders);
18
- return httpResponse.result.map(Mappers_1.mapAnonymousSession);
19
- }
20
- async createAnonymousSessionForIdentity(identity) {
21
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
22
- const url = this.buildUrl(index_1.restSettings.paths.createAnonymousSession);
23
- const httpResponse = await this.httpClient.post(url, {}, requestAuthHeaders);
24
- return httpResponse.result.sessionId;
25
- }
26
- }
27
- exports.AnonymousSessionHttpClient = AnonymousSessionHttpClient;
28
- });
29
- //# sourceMappingURL=AnonymousSessionHttpClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnonymousSessionHttpClient.js","sourceRoot":"","sources":["../../../src/Clients/AnonymousSessionHttpClient.ts"],"names":[],"mappings":";;;;IAMA,MAAa,0BAA2B,SAAQ,uBAAU;QACjD,KAAK,CAAC,uBAAuB,CAAC,SAAiB;YACpD,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAExE,MAAM,QAAQ,GAAG,oBAAY,CAAC,KAAK,CAAC,uBAAuB,CAAC,OAAO,CAAC,oBAAY,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;YAE9G,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;YAEpC,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAmB,GAAG,EAAE,kBAAkB,CAAC,CAAC;YAE1F,OAAO,IAAA,6BAAmB,EAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAClD,CAAC;QAEM,KAAK,CAAC,4BAA4B,CAAC,MAAc;YACtD,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAExE,MAAM,QAAQ,GAAG,oBAAY,CAAC,KAAK,CAAC,4BAA4B,CAAC,OAAO,CAAC,oBAAY,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAE7G,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;YAEpC,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAA0B,GAAG,EAAE,kBAAkB,CAAC,CAAC;YAEjG,OAAO,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,6BAAmB,CAAC,CAAC;QACtD,CAAC;QAEM,KAAK,CAAC,iCAAiC,CAAC,QAAkB;YAC/D,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;YAEnE,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;YAErE,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8B,GAAG,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAC;YAE1G,OAAO,YAAY,CAAC,MAAM,CAAC,SAAS,CAAC;QACvC,CAAC;KACF;IAlCD,gEAkCC"}
@@ -1,46 +0,0 @@
1
- define(["require", "exports", "../Types/index", "./BaseClient"], function (require, exports, index_1, BaseClient_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.UserMetadataStorageHttpClient = void 0;
5
- /**
6
- * @deprecated This feature is no longer officially supported, since this is more of an App SDK Feature.
7
- * Therefore, this functionality will soon be moved to the App SDK entirely.
8
- */
9
- class UserMetadataStorageHttpClient extends BaseClient_1.BaseClient {
10
- async query(keys, identity, options) {
11
- const url = this.buildUrl(index_1.restSettings.paths.queryUserMetadata, options === null || options === void 0 ? void 0 : options.offset, options === null || options === void 0 ? void 0 : options.limit, {
12
- key: keys,
13
- processInstanceScope: options === null || options === void 0 ? void 0 : options.processInstanceScope,
14
- flowNodeInstanceScope: options === null || options === void 0 ? void 0 : options.flowNodeInstanceScope,
15
- });
16
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
17
- return (await this.httpClient.get(url, requestAuthHeaders)).result;
18
- }
19
- async get(key, identity, options) {
20
- const url = this.buildUrl(index_1.restSettings.paths.getUserMetadata.replace(index_1.restSettings.params.userMetadataKey, encodeURIComponent(key)), undefined, undefined, {
21
- processInstanceScope: options === null || options === void 0 ? void 0 : options.processInstanceScope,
22
- flowNodeInstanceScope: options === null || options === void 0 ? void 0 : options.flowNodeInstanceScope,
23
- });
24
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
25
- return (await this.httpClient.get(url, requestAuthHeaders)).result;
26
- }
27
- async set(key, value, identity, options) {
28
- const url = this.buildUrl(index_1.restSettings.paths.setUserMetadata.replace(index_1.restSettings.params.userMetadataKey, encodeURIComponent(key)), undefined, undefined, {
29
- processInstanceScope: options === null || options === void 0 ? void 0 : options.processInstanceScope,
30
- flowNodeInstanceScope: options === null || options === void 0 ? void 0 : options.flowNodeInstanceScope,
31
- });
32
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
33
- await this.httpClient.post(url, { value: value }, requestAuthHeaders);
34
- }
35
- async remove(key, identity, options) {
36
- const url = this.buildUrl(index_1.restSettings.paths.removeUserMetadata.replace(index_1.restSettings.params.userMetadataKey, encodeURIComponent(key)), undefined, undefined, {
37
- processInstanceScope: options === null || options === void 0 ? void 0 : options.processInstanceScope,
38
- flowNodeInstanceScope: options === null || options === void 0 ? void 0 : options.flowNodeInstanceScope,
39
- });
40
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
41
- await this.httpClient.delete(url, requestAuthHeaders);
42
- }
43
- }
44
- exports.UserMetadataStorageHttpClient = UserMetadataStorageHttpClient;
45
- });
46
- //# sourceMappingURL=UserMetadataStorageHttpClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserMetadataStorageHttpClient.js","sourceRoot":"","sources":["../../../src/Clients/UserMetadataStorageHttpClient.ts"],"names":[],"mappings":";;;;IAKA;;;OAGG;IACH,MAAa,6BAA8B,SAAQ,uBAAU;QACpD,KAAK,CAAC,KAAK,CAChB,IAA4B,EAC5B,QAAkB,EAClB,OAKC;YAED,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,iBAAiB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,EAAE;gBAC/F,GAAG,EAAE,IAAI;gBACT,oBAAoB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,oBAAoB;gBACnD,qBAAqB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,qBAAqB;aACtD,CAAC,CAAC;YAEH,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;YAEnE,OAAO,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAuE,GAAG,EAAE,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC;QAC3I,CAAC;QAEM,KAAK,CAAC,GAAG,CAAC,GAAW,EAAE,QAAkB,EAAE,OAA2E;YAC3H,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,oBAAY,CAAC,MAAM,CAAC,e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AM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE;gBAC3J,oBAAoB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,oBAAoB;gBACnD,qBAAqB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,qBAAqB;aACtD,CAAC,CAAC;YACH,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;YAEnE,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC;QACxD,CAAC;KACF;IAnDD,sEAmDC"}
@@ -1,18 +0,0 @@
1
- define(["require", "exports"], function (require, exports) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.CronjobHistorySortableColumns = void 0;
5
- /**
6
- * @deprecated
7
- */
8
- var CronjobHistorySortableColumns;
9
- (function (CronjobHistorySortableColumns) {
10
- CronjobHistorySortableColumns["processDefinitionId"] = "processDefinitionId";
11
- CronjobHistorySortableColumns["processModelId"] = "processModelId";
12
- CronjobHistorySortableColumns["startEventId"] = "startEventId";
13
- CronjobHistorySortableColumns["crontab"] = "crontab";
14
- CronjobHistorySortableColumns["createdAt"] = "createdAt";
15
- CronjobHistorySortableColumns["executedAt"] = "executedAt";
16
- })(CronjobHistorySortableColumns || (exports.CronjobHistorySortableColumns = CronjobHistorySortableColumns = {}));
17
- });
18
- //# sourceMappingURL=CronjobsDeprecated.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CronjobsDeprecated.js","sourceRoot":"","sources":["../../../src/Types/CronjobsDeprecated.ts"],"names":[],"mappings":";;;;IA4DA;;OAEG;IACH,IAAY,6BAOX;IAPD,WAAY,6BAA6B;QACvC,4EAA2C,CAAA;QAC3C,kEAAiC,CAAA;QACjC,8DAA6B,CAAA;QAC7B,oDAAmB,CAAA;QACnB,wDAAuB,CAAA;QACvB,0DAAyB,CAAA;IAC3B,CAAC,EAPW,6BAA6B,6CAA7B,6BAA6B,QAOxC"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AnonymousSessionHttpClient = void 0;
4
- const index_1 = require("../Types/index");
5
- const BaseClient_1 = require("./BaseClient");
6
- const Mappers_1 = require("./Lib/Mappers");
7
- class AnonymousSessionHttpClient extends BaseClient_1.BaseClient {
8
- async getAnonymousSessionById(sessionId) {
9
- const requestAuthHeaders = this.createRequestAuthHeaders(this.identity);
10
- const endpoint = index_1.restSettings.paths.getAnonymousSessionById.replace(index_1.restSettings.params.sessionId, sessionId);
11
- const url = this.buildUrl(endpoint);
12
- const httpResponse = await this.httpClient.get(url, requestAuthHeaders);
13
- return (0, Mappers_1.mapAnonymousSession)(httpResponse.result);
14
- }
15
- async getAnonymousSessionsByUserId(userId) {
16
- const requestAuthHeaders = this.createRequestAuthHeaders(this.identity);
17
- const endpoint = index_1.restSettings.paths.getAnonymousSessionsByUserId.replace(index_1.restSettings.params.userId, userId);
18
- const url = this.buildUrl(endpoint);
19
- const httpResponse = await this.httpClient.get(url, requestAuthHeaders);
20
- return httpResponse.result.map(Mappers_1.mapAnonymousSession);
21
- }
22
- async createAnonymousSessionForIdentity(identity) {
23
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
24
- const url = this.buildUrl(index_1.restSettings.paths.createAnonymousSession);
25
- const httpResponse = await this.httpClient.post(url, {}, requestAuthHeaders);
26
- return httpResponse.result.sessionId;
27
- }
28
- }
29
- exports.AnonymousSessionHttpClient = AnonymousSessionHttpClient;
30
- //# sourceMappingURL=AnonymousSessionHttpClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnonymousSessionHttpClient.js","sourceRoot":"","sources":["../../../src/Clients/AnonymousSessionHttpClient.ts"],"names":[],"mappings":";;;AAEA,0CAA8C;AAC9C,6CAA0C;AAC1C,2CAAoD;AAEpD,MAAa,0BAA2B,SAAQ,uBA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AM,YAAY,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8B,GAAG,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAC;QAE1G,OAAO,YAAY,CAAC,MAAM,CAAC,SAAS,CAAC;IACvC,CAAC;CACF;AAlCD,gEAkCC"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserMetadataStorageHttpClient = void 0;
4
- const index_1 = require("../Types/index");
5
- const BaseClient_1 = require("./BaseClient");
6
- /**
7
- * @deprecated This feature is no longer officially supported, since this is more of an App SDK Feature.
8
- * Therefore, this functionality will soon be moved to the App SDK entirely.
9
- */
10
- class UserMetadataStorageHttpClient extends BaseClient_1.BaseClient {
11
- async query(keys, identity, options) {
12
- const url = this.buildUrl(index_1.restSettings.paths.queryUserMetadata, options === null || options === void 0 ? void 0 : options.offset, options === null || options === void 0 ? void 0 : options.limit, {
13
- key: keys,
14
- processInstanceScope: options === null || options === void 0 ? void 0 : options.processInstanceScope,
15
- flowNodeInstanceScope: options === null || options === void 0 ? void 0 : options.flowNodeInstanceScope,
16
- });
17
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
18
- return (await this.httpClient.get(url, requestAuthHeaders)).result;
19
- }
20
- async get(key, identity, options) {
21
- const url = this.buildUrl(index_1.restSettings.paths.getUserMetadata.replace(index_1.restSettings.params.userMetadataKey, encodeURIComponent(key)), undefined, undefined, {
22
- processInstanceScope: options === null || options === void 0 ? void 0 : options.processInstanceScope,
23
- flowNodeInstanceScope: options === null || options === void 0 ? void 0 : options.flowNodeInstanceScope,
24
- });
25
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
26
- return (await this.httpClient.get(url, requestAuthHeaders)).result;
27
- }
28
- async set(key, value, identity, options) {
29
- const url = this.buildUrl(index_1.restSettings.paths.setUserMetadata.replace(index_1.restSettings.params.userMetadataKey, encodeURIComponent(key)), undefined, undefined, {
30
- processInstanceScope: options === null || options === void 0 ? void 0 : options.processInstanceScope,
31
- flowNodeInstanceScope: options === null || options === void 0 ? void 0 : options.flowNodeInstanceScope,
32
- });
33
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
34
- await this.httpClient.post(url, { value: value }, requestAuthHeaders);
35
- }
36
- async remove(key, identity, options) {
37
- const url = this.buildUrl(index_1.restSettings.paths.removeUserMetadata.replace(index_1.restSettings.params.userMetadataKey, encodeURIComponent(key)), undefined, undefined, {
38
- processInstanceScope: options === null || options === void 0 ? void 0 : options.processInstanceScope,
39
- flowNodeInstanceScope: options === null || options === void 0 ? void 0 : options.flowNodeInstanceScope,
40
- });
41
- const requestAuthHeaders = this.createRequestAuthHeaders(identity);
42
- await this.httpClient.delete(url, requestAuthHeaders);
43
- }
44
- }
45
- exports.UserMetadataStorageHttpClient = UserMetadataStorageHttpClient;
46
- //# sourceMappingURL=UserMetadataStorageHttpClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserMetadataStorageHttpClient.js","sourceRoot":"","sources":["../../../src/Clients/UserMetadataStorageHttpClient.ts"],"names":[],"mappings":";;;AAEA,0CAA8C;AAC9C,6CAA0C;AAE1C;;;GAGG;AACH,MAAa,6BAA8B,SAAQ,uBAAU;IACpD,KAAK,CAAC,KAAK,CAChB,IAA4B,EAC5B,QAAkB,EAClB,OAKC;QAED,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,iBAAiB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,EAAE;YAC/F,GAAG,EAAE,IAAI;YACT,oBAAoB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,oBAAoB;YACnD,qBAAqB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,qBAAqB;SACtD,CAAC,CAAC;QAEH,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,QAA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Q,CAAC,CAAC;QAEnE,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,kBAAkB,CAAC,CAAC;IACxE,CAAC;IAEM,KAAK,CAAC,MAAM,CAAC,GAAW,EAAE,QAAkB,EAAE,OAA2E;QAC9H,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,oBAAY,CAAC,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE;YAC3J,oBAAoB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,oBAAoB;YACnD,qBAAqB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,qBAAqB;SACtD,CAAC,CAAC;QACH,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;QAEnE,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC;IACxD,CAAC;CACF;AAnDD,sEAmDC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CronjobHistorySortableColumns = void 0;
4
- /**
5
- * @deprecated
6
- */
7
- var CronjobHistorySortableColumns;
8
- (function (CronjobHistorySortableColumns) {
9
- CronjobHistorySortableColumns["processDefinitionId"] = "processDefinitionId";
10
- CronjobHistorySortableColumns["processModelId"] = "processModelId";
11
- CronjobHistorySortableColumns["startEventId"] = "startEventId";
12
- CronjobHistorySortableColumns["crontab"] = "crontab";
13
- CronjobHistorySortableColumns["createdAt"] = "createdAt";
14
- CronjobHistorySortableColumns["executedAt"] = "executedAt";
15
- })(CronjobHistorySortableColumns || (exports.CronjobHistorySortableColumns = CronjobHistorySortableColumns = {}));
16
- //# sourceMappingURL=CronjobsDeprecated.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CronjobsDeprecated.js","sourceRoot":"","sources":["../../../src/Types/CronjobsDeprecated.ts"],"names":[],"mappings":";;;AA4DA;;GAEG;AACH,IAAY,6BAOX;AAPD,WAAY,6BAA6B;IACvC,4EAA2C,CAAA;IAC3C,kEAAiC,CAAA;IACjC,8DAA6B,CAAA;IAC7B,oDAAmB,CAAA;IACnB,wDAAuB,CAAA;IACvB,0DAAyB,CAAA;AAC3B,CAAC,EAPW,6BAA6B,6CAA7B,6BAA6B,QAOxC"}