cliodot 1.2.2 → 1.2.4

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 (147) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +81 -0
  3. package/dist/AuthAppClient.d.ts +1 -0
  4. package/dist/AuthAppClient.d.ts.map +1 -1
  5. package/dist/AuthAppClient.js +199 -1
  6. package/dist/CommercialAppClient.d.ts +178 -0
  7. package/dist/CommercialAppClient.d.ts.map +1 -0
  8. package/dist/CommercialAppClient.js +576 -0
  9. package/dist/ConnectorBuilder.js +104 -1
  10. package/dist/Events.d.ts +2 -0
  11. package/dist/Events.d.ts.map +1 -1
  12. package/dist/Events.js +325 -1
  13. package/dist/Flosync.js +296 -1
  14. package/dist/FlosyncClient.js +429 -1
  15. package/dist/FunctionBuilder.js +65 -1
  16. package/dist/IdentityAppClient.d.ts +23 -0
  17. package/dist/IdentityAppClient.d.ts.map +1 -0
  18. package/dist/IdentityAppClient.js +197 -0
  19. package/dist/MemoryAppClient.d.ts +28 -0
  20. package/dist/MemoryAppClient.d.ts.map +1 -0
  21. package/dist/MemoryAppClient.js +149 -0
  22. package/dist/MemoryClient.d.ts +8 -0
  23. package/dist/MemoryClient.d.ts.map +1 -0
  24. package/dist/MemoryClient.js +20 -0
  25. package/dist/OAuthAppClient.d.ts +1 -0
  26. package/dist/OAuthAppClient.d.ts.map +1 -1
  27. package/dist/OAuthAppClient.js +269 -1
  28. package/dist/ProviderServicesClient.d.ts +24 -0
  29. package/dist/ProviderServicesClient.d.ts.map +1 -0
  30. package/dist/ProviderServicesClient.js +158 -0
  31. package/dist/Surface.d.ts +2 -0
  32. package/dist/Surface.d.ts.map +1 -1
  33. package/dist/Surface.js +255 -1
  34. package/dist/ValidatorBuilder.js +24 -1
  35. package/dist/Webhooks.d.ts +20 -0
  36. package/dist/Webhooks.d.ts.map +1 -0
  37. package/dist/Webhooks.js +61 -0
  38. package/dist/WorkflowBuilder.js +279 -1
  39. package/dist/__tests__/CommercialAppClient.test.d.ts +2 -0
  40. package/dist/__tests__/CommercialAppClient.test.d.ts.map +1 -0
  41. package/dist/__tests__/CommercialAppClient.test.js +217 -0
  42. package/dist/__tests__/Events.test.js +191 -1
  43. package/dist/__tests__/IdentityAppClient.test.d.ts +2 -0
  44. package/dist/__tests__/IdentityAppClient.test.d.ts.map +1 -0
  45. package/dist/__tests__/IdentityAppClient.test.js +232 -0
  46. package/dist/__tests__/OAuthAppClient.test.js +300 -1
  47. package/dist/__tests__/ProviderServicesClient.test.d.ts +2 -0
  48. package/dist/__tests__/ProviderServicesClient.test.d.ts.map +1 -0
  49. package/dist/__tests__/ProviderServicesClient.test.js +131 -0
  50. package/dist/__tests__/Surface.test.js +150 -1
  51. package/dist/__tests__/errors.test.js +54 -1
  52. package/dist/__tests__/function.test.js +58 -1
  53. package/dist/__tests__/helpers.d.ts +5 -0
  54. package/dist/__tests__/helpers.d.ts.map +1 -0
  55. package/dist/__tests__/helpers.js +10 -0
  56. package/dist/__tests__/localhost-lookup.test.d.ts +2 -0
  57. package/dist/__tests__/localhost-lookup.test.d.ts.map +1 -0
  58. package/dist/__tests__/localhost-lookup.test.js +26 -0
  59. package/dist/__tests__/parse-api-error.test.js +26 -1
  60. package/dist/__tests__/runner.test.js +156 -1
  61. package/dist/connectors/builtin.js +354 -1
  62. package/dist/connectors/registry.js +300 -1
  63. package/dist/decorators/build.js +105 -1
  64. package/dist/decorators/connector.js +56 -1
  65. package/dist/decorators/index.js +34 -1
  66. package/dist/decorators/metadata.js +338 -1
  67. package/dist/decorators/steps.js +220 -1
  68. package/dist/decorators/workflow.js +52 -1
  69. package/dist/errors.js +76 -1
  70. package/dist/http/__tests__/cliodot-request.environment.test.d.ts +2 -0
  71. package/dist/http/__tests__/cliodot-request.environment.test.d.ts.map +1 -0
  72. package/dist/http/__tests__/cliodot-request.environment.test.js +37 -0
  73. package/dist/http/__tests__/cliodot-result.test.d.ts +2 -0
  74. package/dist/http/__tests__/cliodot-result.test.d.ts.map +1 -0
  75. package/dist/http/__tests__/cliodot-result.test.js +57 -0
  76. package/dist/http/__tests__/events-instance-id.test.d.ts +2 -0
  77. package/dist/http/__tests__/events-instance-id.test.d.ts.map +1 -0
  78. package/dist/http/__tests__/events-instance-id.test.js +45 -0
  79. package/dist/http/cliodot-request.d.ts +35 -0
  80. package/dist/http/cliodot-request.d.ts.map +1 -0
  81. package/dist/http/cliodot-request.js +105 -0
  82. package/dist/http/cliodot-result.d.ts +40 -0
  83. package/dist/http/cliodot-result.d.ts.map +1 -0
  84. package/dist/http/cliodot-result.js +139 -0
  85. package/dist/http/create-client.d.ts +3 -0
  86. package/dist/http/create-client.d.ts.map +1 -0
  87. package/dist/http/create-client.js +14 -0
  88. package/dist/http/events-instance-id.d.ts +11 -0
  89. package/dist/http/events-instance-id.d.ts.map +1 -0
  90. package/dist/http/events-instance-id.js +86 -0
  91. package/dist/http/localhost-lookup.d.ts +12 -0
  92. package/dist/http/localhost-lookup.d.ts.map +1 -0
  93. package/dist/http/localhost-lookup.js +67 -0
  94. package/dist/http/parse-api-error.js +56 -1
  95. package/dist/http/sanitize-execution-headers.js +79 -1
  96. package/dist/identity-offline-verify.d.ts +6 -0
  97. package/dist/identity-offline-verify.d.ts.map +1 -0
  98. package/dist/identity-offline-verify.js +174 -0
  99. package/dist/identity-token-cache.d.ts +6 -0
  100. package/dist/identity-token-cache.d.ts.map +1 -0
  101. package/dist/identity-token-cache.js +51 -0
  102. package/dist/index.d.ts +10 -0
  103. package/dist/index.d.ts.map +1 -1
  104. package/dist/index.js +108 -1
  105. package/dist/runner/ProcessorEngine.js +1311 -1
  106. package/dist/runner/connector.executor.js +1786 -1
  107. package/dist/runner/utilities/math.executor.js +153 -1
  108. package/dist/runner/utilities/random.executor.js +151 -1
  109. package/dist/runner/utilities/string.executor.js +825 -1
  110. package/dist/template.js +127 -1
  111. package/dist/transformers/StepsToNodesTransformer.js +214 -1
  112. package/dist/transformers/WorkflowTransformer.js +189 -1
  113. package/dist/types/auth-app.api.d.ts +2 -0
  114. package/dist/types/auth-app.api.d.ts.map +1 -1
  115. package/dist/types/auth-app.api.js +2 -1
  116. package/dist/types/builtin.js +2 -1
  117. package/dist/types/client.api.js +2 -1
  118. package/dist/types/commercial-app.api.d.ts +963 -0
  119. package/dist/types/commercial-app.api.d.ts.map +1 -0
  120. package/dist/types/commercial-app.api.js +2 -0
  121. package/dist/types/connector.js +2 -1
  122. package/dist/types/context.js +2 -1
  123. package/dist/types/event-app.api.d.ts +8 -0
  124. package/dist/types/event-app.api.d.ts.map +1 -1
  125. package/dist/types/event-app.api.js +2 -1
  126. package/dist/types/function.js +2 -1
  127. package/dist/types/identity-app.api.d.ts +99 -0
  128. package/dist/types/identity-app.api.d.ts.map +1 -0
  129. package/dist/types/identity-app.api.js +2 -0
  130. package/dist/types/index.js +23 -1
  131. package/dist/types/memory-app.api.d.ts +140 -0
  132. package/dist/types/memory-app.api.d.ts.map +1 -0
  133. package/dist/types/memory-app.api.js +2 -0
  134. package/dist/types/oauth-app.api.d.ts +2 -0
  135. package/dist/types/oauth-app.api.d.ts.map +1 -1
  136. package/dist/types/oauth-app.api.js +105 -1
  137. package/dist/types/provider-services.api.d.ts +98 -0
  138. package/dist/types/provider-services.api.d.ts.map +1 -0
  139. package/dist/types/provider-services.api.js +2 -0
  140. package/dist/types/validator.js +2 -1
  141. package/dist/types/webhook-app.api.d.ts +2 -0
  142. package/dist/types/webhook-app.api.d.ts.map +1 -0
  143. package/dist/types/webhook-app.api.js +2 -0
  144. package/dist/types/workflow.js +33 -1
  145. package/dist/validators/validators.js +478 -1
  146. package/dist/variable.js +37 -1
  147. package/package.json +3 -2
@@ -0,0 +1,98 @@
1
+ import type { CliodotFail, CliodotMethodResult } from "../http/cliodot-result";
2
+ export type ProviderServicesClientConfig = {
3
+ baseUrl: string;
4
+ appId: string;
5
+ apiKey?: string;
6
+ appApiKey?: string;
7
+ appSecret?: string;
8
+ debug?: boolean;
9
+ timeoutMs?: number;
10
+ /** Pin project env bag for connector auth templates. Omit to follow the project switch. */
11
+ environment?: "dev" | "prod" | "development" | "production";
12
+ };
13
+ /** Optional execute modifiers (routing pin + version). */
14
+ export type ProviderExecuteOptions = {
15
+ /** Operation version; defaults to the catalog current version. */
16
+ version?: string;
17
+ /**
18
+ * Pin a named provider binding (e.g. `paystack`).
19
+ * Honored only when routing `pin_allowed` is true for the operation.
20
+ * Omit to use `default_provider` + `fallback[]` order.
21
+ */
22
+ provider?: string;
23
+ /** Forward-compatible; accepted by the API and ignored in phase 1. */
24
+ idempotency_key?: string;
25
+ };
26
+ export type ProviderExecuteInput = ProviderExecuteOptions & {
27
+ service: string;
28
+ operation: string;
29
+ input?: Record<string, unknown>;
30
+ };
31
+ export type ProviderExecuteError = {
32
+ code: string;
33
+ message?: string;
34
+ errors?: Array<{
35
+ path: string;
36
+ message: string;
37
+ keyword?: string;
38
+ params?: Record<string, unknown>;
39
+ }>;
40
+ mapped?: unknown;
41
+ provider_response?: unknown;
42
+ };
43
+ export type ProviderExecuteAttempt = {
44
+ provider: string;
45
+ ok: boolean;
46
+ error?: ProviderExecuteError;
47
+ };
48
+ export type ProviderExecuteResult<TResult = Record<string, unknown>> = {
49
+ ok: boolean;
50
+ service: string;
51
+ operation: string;
52
+ version: string;
53
+ provider?: string;
54
+ attempts: ProviderExecuteAttempt[];
55
+ result?: TResult;
56
+ error?: ProviderExecuteError;
57
+ };
58
+ export type ProviderCatalogPublicError = {
59
+ code: string;
60
+ message?: string;
61
+ kind: "retryable" | "terminal";
62
+ };
63
+ export type ProviderCatalogPublicOperation = {
64
+ key: string;
65
+ name: string;
66
+ current_version: string;
67
+ versions: Array<{
68
+ version: string;
69
+ input_schema?: Record<string, unknown>;
70
+ output_schema?: Record<string, unknown>;
71
+ errors: ProviderCatalogPublicError[];
72
+ async?: boolean;
73
+ idempotency_required?: boolean;
74
+ }>;
75
+ };
76
+ export type ProviderCatalogPublicService = {
77
+ key: string;
78
+ name: string;
79
+ operations: ProviderCatalogPublicOperation[];
80
+ };
81
+ export type ProviderCatalogResponse = {
82
+ ok: true;
83
+ catalog: ProviderCatalogPublicService[];
84
+ };
85
+ export type ProviderSdkTypesArtifact = {
86
+ typescript: string;
87
+ filename: string;
88
+ export_name: string;
89
+ };
90
+ export type ProviderSdkTypesResponse = ProviderSdkTypesArtifact & {
91
+ ok: true;
92
+ };
93
+ export type ProviderExecuteResponse<TResult = Record<string, unknown>> = ProviderExecuteResult<TResult> | CliodotFail;
94
+ export type ProviderCatalogMethodResult = CliodotMethodResult<ProviderCatalogResponse>;
95
+ export type ProviderSdkTypesMethodResult = CliodotMethodResult<ProviderSdkTypesArtifact & {
96
+ ok: true;
97
+ }>;
98
+ //# sourceMappingURL=provider-services.api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-services.api.d.ts","sourceRoot":"","sources":["../../src/types/provider-services.api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE/E,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2FAA2F;IAC3F,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,aAAa,GAAG,YAAY,CAAC;CAC7D,CAAC;AAEF,0DAA0D;AAC1D,MAAM,MAAM,sBAAsB,GAAG;IACnC,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,M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E,IAAI,CAAA;CAAE,CACxC,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- 'use strict';function _0x4e70(_0x1ded2c,_0x3f65c5){_0x1ded2c=_0x1ded2c-0x1dd;var _0x2a2702=_0x2a27();var _0x4e70b9=_0x2a2702[_0x1ded2c];if(_0x4e70['wodRBU']===undefined){var _0x51271e=function(_0x37580e){var _0x307302='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xed6cba='',_0x335690='';for(var _0x47919f=0x0,_0x3c5714,_0x47f189,_0x488789=0x0;_0x47f189=_0x37580e['charAt'](_0x488789++);~_0x47f189&&(_0x3c5714=_0x47919f%0x4?_0x3c5714*0x40+_0x47f189:_0x47f189,_0x47919f++%0x4)?_0xed6cba+=String['fromCharCode'](0xff&_0x3c5714>>(-0x2*_0x47919f&0x6)):0x0){_0x47f189=_0x307302['indexOf'](_0x47f189);}for(var _0x4a30a2=0x0,_0x1d968d=_0xed6cba['length'];_0x4a30a2<_0x1d968d;_0x4a30a2++){_0x335690+='%'+('00'+_0xed6cba['charCodeAt'](_0x4a30a2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x335690);};_0x4e70['EbcfwO']=_0x51271e,_0x4e70['lugYWt']={},_0x4e70['wodRBU']=!![];}var _0x2fb9d6=_0x2a2702[0x0],_0x3f509b=_0x1ded2c+_0x2fb9d6,_0x372864=_0x4e70['lugYWt'][_0x3f509b];return!_0x372864?(_0x4e70b9=_0x4e70['EbcfwO'](_0x4e70b9),_0x4e70['lugYWt'][_0x3f509b]=_0x4e70b9):_0x4e70b9=_0x372864,_0x4e70b9;}var _0x3513ea=_0x4e70;(function(_0x529935,_0x16720b){var _0x4b0baf=_0x4e70,_0x1d3d34=_0x529935();while(!![]){try{var _0x47d4e4=parseInt(_0x4b0baf(0x1dd))/0x1+-parseInt(_0x4b0baf(0x1e1))/0x2*(-parseInt(_0x4b0baf(0x1e4))/0x3)+parseInt(_0x4b0baf(0x1de))/0x4*(parseInt(_0x4b0baf(0x1e3))/0x5)+parseInt(_0x4b0baf(0x1e0))/0x6+parseInt(_0x4b0baf(0x1e6))/0x7+parseInt(_0x4b0baf(0x1df))/0x8+-parseInt(_0x4b0baf(0x1e2))/0x9;if(_0x47d4e4===_0x16720b)break;else _0x1d3d34['push'](_0x1d3d34['shift']());}catch(_0x2f64e0){_0x1d3d34['push'](_0x1d3d34['shift']());}}}(_0x2a27,0x3a95a));function _0x2a27(){var _0x30b086=['zgvMAw5LuhjVCgvYDhK','mtC1mdmWmvbUt0Pruq','mZy3mZDHvwvvvgO','mtq2ogPLvNHgyq','mJeZnda2neHhy3HXwa','mtq2ndG3mgniCLPfAq','mti0D0vTtLvl','odmYodK5nK95DvLTyq','mtCZnvLXtg5qrW','mte2mZfQtgL3rKC'];_0x2a27=function(){return _0x30b086;};return _0x2a27();}Object[_0x3513ea(0x1e5)](exports,'__esModule',{'value':!![]});
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export type { WebhooksConfig, } from "../Webhooks";
2
+ //# sourceMappingURL=webhook-app.api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-app.api.d.ts","sourceRoot":"","sources":["../../src/types/webhook-app.api.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,cAAc,GACf,MAAM,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,33 @@
1
- 'use strict';var _0x3ec43e=_0x3026;(function(_0x424bd6,_0x556d55){var _0x561c5d=_0x3026,_0x726d52=_0x424bd6();while(!![]){try{var _0x44877c=parseInt(_0x561c5d(0x154))/0x1*(-parseInt(_0x561c5d(0x148))/0x2)+-parseInt(_0x561c5d(0x156))/0x3*(-parseInt(_0x561c5d(0x14c))/0x4)+parseInt(_0x561c5d(0x157))/0x5+-parseInt(_0x561c5d(0x165))/0x6*(-parseInt(_0x561c5d(0x164))/0x7)+-parseInt(_0x561c5d(0x15e))/0x8*(-parseInt(_0x561c5d(0x166))/0x9)+-parseInt(_0x561c5d(0x15f))/0xa+-parseInt(_0x561c5d(0x153))/0xb;if(_0x44877c===_0x556d55)break;else _0x726d52['push'](_0x726d52['shift']());}catch(_0x45bdfb){_0x726d52['push'](_0x726d52['shift']());}}}(_0x3d61,0x2c0bf));Object[_0x3ec43e(0x141)](exports,'__esModule',{'value':!![]}),exports[_0x3ec43e(0x14d)]=exports[_0x3ec43e(0x161)]=void 0x0;var WorkflowTriggerType;(function(_0x2e8536){var _0x20ded6=_0x3ec43e;_0x2e8536[_0x20ded6(0x13c)]=_0x20ded6(0x14f),_0x2e8536[_0x20ded6(0x149)]=_0x20ded6(0x13a),_0x2e8536[_0x20ded6(0x15d)]='job',_0x2e8536['SCHEDULE']=_0x20ded6(0x155),_0x2e8536[_0x20ded6(0x163)]=_0x20ded6(0x144),_0x2e8536[_0x20ded6(0x13b)]='manual';}(WorkflowTriggerType||(exports[_0x3ec43e(0x161)]=WorkflowTriggerType={})));var WorkflowStepType;function _0x3026(_0x1c7595,_0x321350){_0x1c7595=_0x1c7595-0x139;var _0x3d61f0=_0x3d61();var _0x3026ba=_0x3d61f0[_0x1c7595];if(_0x3026['bXttin']===undefined){var _0x2b0e34=function(_0x511f90){var _0x2d3813='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2e8536='',_0x4b405f='';for(var _0x887a33=0x0,_0x183dc6,_0x52b8ac,_0x46dc5c=0x0;_0x52b8ac=_0x511f90['charAt'](_0x46dc5c++);~_0x52b8ac&&(_0x183dc6=_0x887a33%0x4?_0x183dc6*0x40+_0x52b8ac:_0x52b8ac,_0x887a33++%0x4)?_0x2e8536+=String['fromCharCode'](0xff&_0x183dc6>>(-0x2*_0x887a33&0x6)):0x0){_0x52b8ac=_0x2d3813['indexOf'](_0x52b8ac);}for(var _0x5d1d14=0x0,_0x4bfed6=_0x2e8536['length'];_0x5d1d14<_0x4bfed6;_0x5d1d14++){_0x4b405f+='%'+('00'+_0x2e8536['charCodeAt'](_0x5d1d14)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4b405f);};_0x3026['rMfEcK']=_0x2b0e34,_0x3026['hpSwiZ']={},_0x3026['bXttin']=!![];}var _0x7bc672=_0x3d61f0[0x0],_0x34092f=_0x1c7595+_0x7bc672,_0x297984=_0x3026['hpSwiZ'][_0x34092f];return!_0x297984?(_0x3026ba=_0x3026['rMfEcK'](_0x3026ba),_0x3026['hpSwiZ'][_0x34092f]=_0x3026ba):_0x3026ba=_0x297984,_0x3026ba;}function _0x3d61(){var _0x4cf63b=['y29Kzq','y3vZDg9T','zgvMAw5LuhjVCgvYDhK','rLvoq1rjt04','rKvuq0G','zxzLBNq','zxH0zxjUywXFyxbP','vKfmsurbve9s','DMfSAwrHDg9Y','mZroDNnPwNy','v0vcse9psW','y29UzgL0Aw9U','yxbPx2nHBgW','ngvpwK9cDW','v29YA2zSB3DtDgvWvhLWzq','Bg9N','Ahr0Ca','revmqvK','BM90Awz5','zMv0y2G','nJqWmdGXmMHsBvfIyG','mta0mZHewhLcz1G','C2nOzwr1Bgu','nZK1mZC4q0rpEgX3','odC2odmWwe9xsuHd','te9pua','q09oreLusu9o','qvvusevoveLdqvrjt04','qvbjx0nbteW','tK9usuzz','sK9c','mJiWmhndrg52Ea','ntG3mZGWu0HuDwv5','zw5JCNLWDgLVBG','v29YA2zSB3DuCMLNz2vYvhLWzq','uKvtue9orevs','rvzftLq','mJqWnJqXofnJAMnvAq','nMPmAvzptq','nZaXmw1euwDcuG','q09erq','ru5duLLqveLptG','te9h','DhjHBNnMB3jT','D2vIAg9VAW','tufovufm','sfruua','q1vtve9n','zgvSyxK'];_0x3d61=function(){return _0x4cf63b;};return _0x3d61();}(function(_0x4b405f){var _0x2cd31d=_0x3ec43e;_0x4b405f[_0x2cd31d(0x143)]=_0x2cd31d(0x152),_0x4b405f['TRANSFORM']=_0x2cd31d(0x139),_0x4b405f[_0x2cd31d(0x146)]=_0x2cd31d(0x147),_0x4b405f[_0x2cd31d(0x159)]=_0x2cd31d(0x14a),_0x4b405f[_0x2cd31d(0x158)]='loop',_0x4b405f[_0x2cd31d(0x15b)]=_0x2cd31d(0x14b),_0x4b405f[_0x2cd31d(0x15a)]='authentication',_0x4b405f['EXTERNAL_API']=_0x2cd31d(0x145),_0x4b405f['DB']='db',_0x4b405f[_0x2cd31d(0x168)]=_0x2cd31d(0x160),_0x4b405f[_0x2cd31d(0x15c)]=_0x2cd31d(0x151),_0x4b405f[_0x2cd31d(0x150)]=_0x2cd31d(0x13e),_0x4b405f[_0x2cd31d(0x169)]=_0x2cd31d(0x14e),_0x4b405f[_0x2cd31d(0x162)]='responder',_0x4b405f[_0x2cd31d(0x167)]=_0x2cd31d(0x13f),_0x4b405f[_0x2cd31d(0x142)]='function',_0x4b405f['CALL_WORKFLOW']='call_workflow',_0x4b405f[_0x2cd31d(0x13d)]=_0x2cd31d(0x140);}(WorkflowStepType||(exports[_0x3ec43e(0x14d)]=WorkflowStepType={})));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkflowStepType = exports.WorkflowTriggerType = void 0;
4
+ var WorkflowTriggerType;
5
+ (function (WorkflowTriggerType) {
6
+ WorkflowTriggerType["HTTP"] = "http";
7
+ WorkflowTriggerType["WEBHOOK"] = "webhook";
8
+ WorkflowTriggerType["JOB"] = "job";
9
+ WorkflowTriggerType["SCHEDULE"] = "schedule";
10
+ WorkflowTriggerType["EVENT"] = "event";
11
+ WorkflowTriggerType["MANUAL"] = "manual";
12
+ })(WorkflowTriggerType || (exports.WorkflowTriggerType = WorkflowTriggerType = {}));
13
+ var WorkflowStepType;
14
+ (function (WorkflowStepType) {
15
+ WorkflowStepType["FETCH"] = "fetch";
16
+ WorkflowStepType["TRANSFORM"] = "transform";
17
+ WorkflowStepType["VALIDATOR"] = "validator";
18
+ WorkflowStepType["CONDITION"] = "condition";
19
+ WorkflowStepType["LOOP"] = "loop";
20
+ WorkflowStepType["API_CALL"] = "api_call";
21
+ WorkflowStepType["AUTHENTICATION"] = "authentication";
22
+ WorkflowStepType["EXTERNAL_API"] = "external_api";
23
+ WorkflowStepType["DB"] = "db";
24
+ WorkflowStepType["ENCRYPTION"] = "encryption";
25
+ WorkflowStepType["NOTIFY"] = "notify";
26
+ WorkflowStepType["DELAY"] = "delay";
27
+ WorkflowStepType["LOG"] = "log";
28
+ WorkflowStepType["RESPONDER"] = "responder";
29
+ WorkflowStepType["CODE"] = "code";
30
+ WorkflowStepType["FUNCTION"] = "function";
31
+ WorkflowStepType["CALL_WORKFLOW"] = "call_workflow";
32
+ WorkflowStepType["CUSTOM"] = "custom";
33
+ })(WorkflowStepType || (exports.WorkflowStepType = WorkflowStepType = {}));