@novu/framework 2.9.0 → 2.10.0-alpha.1

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 (66) hide show
  1. package/dist/cjs/base.schema.types-BApIn9jr.d.cts +135 -0
  2. package/dist/cjs/{health-check.types-D_KcRiM_.d.cts → health-check.types-CBl2aQ8k.d.cts} +21 -131
  3. package/dist/cjs/{index-S0QKfWxm.d.cts → index-D3UJoqjc.d.cts} +5 -1
  4. package/dist/cjs/index.cjs +37 -38
  5. package/dist/cjs/index.d.cts +4 -2
  6. package/dist/cjs/internal/index.cjs +1 -2
  7. package/dist/cjs/internal/index.d.cts +13 -67
  8. package/dist/cjs/servers/express.cjs +65 -66
  9. package/dist/cjs/servers/express.d.cts +5 -3
  10. package/dist/cjs/servers/h3.cjs +37 -38
  11. package/dist/cjs/servers/h3.d.cts +5 -3
  12. package/dist/cjs/servers/lambda.cjs +51 -52
  13. package/dist/cjs/servers/lambda.d.cts +6 -4
  14. package/dist/cjs/servers/nest.cjs +57 -58
  15. package/dist/cjs/servers/nest.d.cts +6 -4
  16. package/dist/cjs/servers/next.cjs +72 -73
  17. package/dist/cjs/servers/next.d.cts +5 -3
  18. package/dist/cjs/servers/nuxt.cjs +37 -38
  19. package/dist/cjs/servers/nuxt.d.cts +5 -3
  20. package/dist/cjs/servers/remix.cjs +37 -38
  21. package/dist/cjs/servers/remix.d.cts +5 -3
  22. package/dist/cjs/servers/sveltekit.cjs +35 -36
  23. package/dist/cjs/servers/sveltekit.d.cts +5 -3
  24. package/dist/cjs/step-resolver.cjs +1 -0
  25. package/dist/cjs/step-resolver.d.cts +32 -0
  26. package/dist/cjs/validator.types-BeoiKdnR.d.cts +66 -0
  27. package/dist/cjs/validators.cjs +1 -0
  28. package/dist/cjs/validators.d.cts +23 -0
  29. package/dist/esm/base.schema.types-BApIn9jr.d.ts +135 -0
  30. package/dist/esm/chunk-7YRWUU4W.js +95 -0
  31. package/dist/esm/chunk-AZJKOVFF.js +1 -0
  32. package/dist/esm/chunk-C734BFYR.js +1 -0
  33. package/dist/esm/{chunk-YLCZR2QR.js → chunk-HQVOLRIB.js} +4 -5
  34. package/dist/esm/chunk-JFMDTNSL.js +1 -0
  35. package/dist/esm/chunk-PLPQUHX6.js +1 -0
  36. package/dist/esm/{health-check.types-D_KcRiM_.d.ts → health-check.types-23Z3Ne4i.d.ts} +21 -131
  37. package/dist/esm/{index-CmEcpAEO.d.ts → index-B6Kq7kjS.d.ts} +5 -1
  38. package/dist/esm/index.d.ts +4 -2
  39. package/dist/esm/index.js +1 -1
  40. package/dist/esm/internal/index.d.ts +13 -67
  41. package/dist/esm/internal/index.js +1 -1
  42. package/dist/esm/servers/express.d.ts +5 -3
  43. package/dist/esm/servers/express.js +1 -1
  44. package/dist/esm/servers/h3.d.ts +5 -3
  45. package/dist/esm/servers/h3.js +1 -1
  46. package/dist/esm/servers/lambda.d.ts +6 -4
  47. package/dist/esm/servers/lambda.js +1 -1
  48. package/dist/esm/servers/nest.d.ts +6 -4
  49. package/dist/esm/servers/nest.js +1 -1
  50. package/dist/esm/servers/next.d.ts +5 -3
  51. package/dist/esm/servers/next.js +1 -1
  52. package/dist/esm/servers/nuxt.d.ts +5 -3
  53. package/dist/esm/servers/nuxt.js +1 -1
  54. package/dist/esm/servers/remix.d.ts +5 -3
  55. package/dist/esm/servers/remix.js +1 -1
  56. package/dist/esm/servers/sveltekit.d.ts +5 -3
  57. package/dist/esm/servers/sveltekit.js +1 -1
  58. package/dist/esm/step-resolver.d.ts +32 -0
  59. package/dist/esm/step-resolver.js +1 -0
  60. package/dist/esm/validator.types-BIQli_m1.d.ts +66 -0
  61. package/dist/esm/validators.d.ts +23 -0
  62. package/dist/esm/validators.js +1 -0
  63. package/package.json +24 -2
  64. package/step-resolver/package.json +4 -0
  65. package/validators/package.json +4 -0
  66. package/dist/esm/chunk-ZF4VXELU.js +0 -95
@@ -0,0 +1,135 @@
1
+ import { JSONSchema, FromSchema as FromSchema$1 } from 'json-schema-to-ts';
2
+ import zod from 'zod';
3
+
4
+ /**
5
+ * A minimal JSON schema type.
6
+ *
7
+ * This type is used to narrow the type of a JSON schema to a minimal type
8
+ * that is compatible with the `json-schema-to-ts` library.
9
+ */
10
+ type JsonSchemaMinimal = {
11
+ type: 'object';
12
+ } | {
13
+ anyOf: unknown[];
14
+ } | {
15
+ allOf: unknown[];
16
+ } | {
17
+ oneOf: unknown[];
18
+ };
19
+ /**
20
+ * A JSON schema
21
+ */
22
+ type JsonSchema = Exclude<JSONSchema, boolean> & JsonSchemaMinimal;
23
+ /**
24
+ * Infer the data type of a JsonSchema.
25
+ *
26
+ * @param T - The `JsonSchema` to infer the data type of.
27
+ * @param Options - Configuration options for the type inference. The `validated` flag determines whether the schema has been validated. If `validated` is true, all properties are required unless specified otherwise. If false, properties with default values are optional.
28
+ *
29
+ * @returns The inferred type.
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const mySchema = {
34
+ * type: 'object',
35
+ * properties: {
36
+ * name: { type: 'string' },
37
+ * email: { type: 'string' },
38
+ * },
39
+ * required: ['name'],
40
+ * additionalProperties: false,
41
+ * } as const satisfies JsonSchema;
42
+ *
43
+ * // has type { name: string, email?: string }
44
+ * type MySchema = InferJsonSchema<typeof mySchema, { validated: true }>;
45
+ * ```
46
+ */
47
+ type InferJsonSchema<T, Options extends {
48
+ validated: boolean;
49
+ }> = T extends JsonSchemaMinimal ? T extends JSONSchema ? Options['validated'] extends true ? FromSchema$1<T> : FromSchema$1<T, {
50
+ keepDefaultedPropertiesOptional: true;
51
+ }> : never : never;
52
+
53
+ /**
54
+ * A ZodSchema used to validate a JSON object.
55
+ */
56
+ type ZodSchema = zod.ZodType<Record<string, unknown>, zod.ZodTypeDef, Record<string, unknown>>;
57
+ /**
58
+ * A minimal ZodSchema type.
59
+ *
60
+ * It is necessary to define a minimal ZodSchema type to enable correct inference
61
+ * when Zod is not available, as Typescript doesn't support detection of module
62
+ * availability via `typeof import('zod')`.
63
+ */
64
+ type ZodSchemaMinimal = {
65
+ readonly safeParseAsync: unknown;
66
+ };
67
+ /**
68
+ * Infer the data type of a ZodSchema.
69
+ *
70
+ * @param T - The ZodSchema to infer the data type of.
71
+ * @param Options - Configuration options for the type inference. The `validated` flag determines whether the schema has been validated. If `validated` is true, all properties are required unless specified otherwise. If false, properties with default values are optional.
72
+ *
73
+ * @example
74
+ * ```ts
75
+ * const mySchema = z.object({
76
+ * name: z.string(),
77
+ * email: z.string().optional(),
78
+ * });
79
+ *
80
+ * // has type { name: string, email?: string }
81
+ * type MySchema = InferZodSchema<typeof mySchema>;
82
+ * ```
83
+ */
84
+ type InferZodSchema<T, Options extends {
85
+ validated: boolean;
86
+ }> = T extends ZodSchemaMinimal ? T extends {
87
+ readonly _output: infer Output extends Record<string, unknown>;
88
+ readonly _input: infer Input extends Record<string, unknown>;
89
+ } ? Options['validated'] extends true ? Output : Input : never : never;
90
+
91
+ /**
92
+ * A schema used to validate a JSON object.
93
+ */
94
+ type Schema = JsonSchemaMinimal | ZodSchemaMinimal;
95
+ /**
96
+ * Main utility type for schema inference
97
+ *
98
+ * @param T - The Schema to infer the type of.
99
+ * @param Options - Configuration options for the type inference. The `validated` flag determines whether the schema has been validated. If `validated` is true, all properties are required unless specified otherwise. If false, properties with default values are optional.
100
+ */
101
+ type InferSchema<T extends Schema, Options extends {
102
+ validated: boolean;
103
+ }> = InferJsonSchema<T, Options> | InferZodSchema<T, Options>;
104
+ /**
105
+ * Infer the type of a Schema for unvalidated data.
106
+ *
107
+ * The resulting type has default properties set to optional,
108
+ * reflecting the fact that the data is unvalidated and has
109
+ * not had default properties set.
110
+ *
111
+ * @example
112
+ * ```ts
113
+ * type MySchema = FromSchemaUnvalidated<typeof mySchema>;
114
+ * ```
115
+ */
116
+ type FromSchemaUnvalidated<T extends Schema> = InferSchema<T, {
117
+ validated: false;
118
+ }>;
119
+ /**
120
+ * Infer the type of a Schema for validated data.
121
+ *
122
+ * The resulting type has default properties set to required,
123
+ * reflecting the fact that the data has been validated and
124
+ * default properties have been set.
125
+ *
126
+ * @example
127
+ * ```ts
128
+ * type MySchema = FromSchema<typeof mySchema>;
129
+ * ```
130
+ */
131
+ type FromSchema<T extends Schema> = InferSchema<T, {
132
+ validated: true;
133
+ }>;
134
+
135
+ export type { FromSchemaUnvalidated as F, JsonSchema as J, Schema as S, ZodSchema as Z, FromSchema as a, ZodSchemaMinimal as b };
@@ -1,5 +1,4 @@
1
- import { JSONSchema, FromSchema as FromSchema$1 } from 'json-schema-to-ts';
2
- import zod from 'zod';
1
+ import { F as FromSchemaUnvalidated, S as Schema, a as FromSchema, J as JsonSchema } from './base.schema.types-BApIn9jr.cjs';
3
2
 
4
3
  type CodeResult = {
5
4
  code: string;
@@ -28,6 +27,12 @@ type ClientOptions = {
28
27
  * Defaults to true.
29
28
  */
30
29
  strictAuthentication?: boolean;
30
+ /**
31
+ * Enable verbose logging for workflow discovery and execution.
32
+ * When set to `false`, discovery and execution logs will be suppressed.
33
+ * Defaults to `true` in development, `false` in production.
34
+ */
35
+ verbose?: boolean;
31
36
  };
32
37
 
33
38
  type ContextType = string;
@@ -191,6 +196,7 @@ declare enum CronExpression {
191
196
  EVERY_WEEKEND = "0 0 * * 6,0",
192
197
  EVERY_1ST_DAY_OF_MONTH_AT_MIDNIGHT = "0 0 1 * *",
193
198
  EVERY_1ST_DAY_OF_MONTH_AT_NOON = "0 12 1 * *",
199
+ EVERY_2ND_DAY_OF_MONTH_AT_10AM = "0 10 2 * *",
194
200
  EVERY_2ND_HOUR = "0 */2 * * *",
195
201
  EVERY_2ND_HOUR_FROM_1AM_THROUGH_11PM = "0 1-23/2 * * *",
196
202
  EVERY_2ND_MONTH = "0 0 1 */2 *",
@@ -4100,134 +4106,6 @@ declare const providerSchemas: {
4100
4106
  };
4101
4107
  };
4102
4108
 
4103
- /**
4104
- * A minimal JSON schema type.
4105
- *
4106
- * This type is used to narrow the type of a JSON schema to a minimal type
4107
- * that is compatible with the `json-schema-to-ts` library.
4108
- */
4109
- type JsonSchemaMinimal = {
4110
- type: 'object';
4111
- } | {
4112
- anyOf: unknown[];
4113
- } | {
4114
- allOf: unknown[];
4115
- } | {
4116
- oneOf: unknown[];
4117
- };
4118
- /**
4119
- * A JSON schema
4120
- */
4121
- type JsonSchema = Exclude<JSONSchema, boolean> & JsonSchemaMinimal;
4122
- /**
4123
- * Infer the data type of a JsonSchema.
4124
- *
4125
- * @param T - The `JsonSchema` to infer the data type of.
4126
- * @param Options - Configuration options for the type inference. The `validated` flag determines whether the schema has been validated. If `validated` is true, all properties are required unless specified otherwise. If false, properties with default values are optional.
4127
- *
4128
- * @returns The inferred type.
4129
- *
4130
- * @example
4131
- * ```ts
4132
- * const mySchema = {
4133
- * type: 'object',
4134
- * properties: {
4135
- * name: { type: 'string' },
4136
- * email: { type: 'string' },
4137
- * },
4138
- * required: ['name'],
4139
- * additionalProperties: false,
4140
- * } as const satisfies JsonSchema;
4141
- *
4142
- * // has type { name: string, email?: string }
4143
- * type MySchema = InferJsonSchema<typeof mySchema, { validated: true }>;
4144
- * ```
4145
- */
4146
- type InferJsonSchema<T, Options extends {
4147
- validated: boolean;
4148
- }> = T extends JsonSchemaMinimal ? T extends JSONSchema ? Options['validated'] extends true ? FromSchema$1<T> : FromSchema$1<T, {
4149
- keepDefaultedPropertiesOptional: true;
4150
- }> : never : never;
4151
-
4152
- /**
4153
- * A ZodSchema used to validate a JSON object.
4154
- */
4155
- type ZodSchema = zod.ZodType<Record<string, unknown>, zod.ZodTypeDef, Record<string, unknown>>;
4156
- /**
4157
- * A minimal ZodSchema type.
4158
- *
4159
- * It is necessary to define a minimal ZodSchema type to enable correct inference
4160
- * when Zod is not available, as Typescript doesn't support detection of module
4161
- * availability via `typeof import('zod')`.
4162
- */
4163
- type ZodSchemaMinimal = {
4164
- readonly safeParseAsync: unknown;
4165
- };
4166
- /**
4167
- * Infer the data type of a ZodSchema.
4168
- *
4169
- * @param T - The ZodSchema to infer the data type of.
4170
- * @param Options - Configuration options for the type inference. The `validated` flag determines whether the schema has been validated. If `validated` is true, all properties are required unless specified otherwise. If false, properties with default values are optional.
4171
- *
4172
- * @example
4173
- * ```ts
4174
- * const mySchema = z.object({
4175
- * name: z.string(),
4176
- * email: z.string().optional(),
4177
- * });
4178
- *
4179
- * // has type { name: string, email?: string }
4180
- * type MySchema = InferZodSchema<typeof mySchema>;
4181
- * ```
4182
- */
4183
- type InferZodSchema<T, Options extends {
4184
- validated: boolean;
4185
- }> = T extends ZodSchemaMinimal ? T extends ZodSchema ? Options['validated'] extends true ? zod.infer<T> : zod.input<T> : never : never;
4186
-
4187
- /**
4188
- * A schema used to validate a JSON object.
4189
- */
4190
- type Schema = JsonSchemaMinimal | ZodSchemaMinimal;
4191
- /**
4192
- * Main utility type for schema inference
4193
- *
4194
- * @param T - The Schema to infer the type of.
4195
- * @param Options - Configuration options for the type inference. The `validated` flag determines whether the schema has been validated. If `validated` is true, all properties are required unless specified otherwise. If false, properties with default values are optional.
4196
- */
4197
- type InferSchema<T extends Schema, Options extends {
4198
- validated: boolean;
4199
- }> = InferJsonSchema<T, Options> | InferZodSchema<T, Options>;
4200
- /**
4201
- * Infer the type of a Schema for unvalidated data.
4202
- *
4203
- * The resulting type has default properties set to optional,
4204
- * reflecting the fact that the data is unvalidated and has
4205
- * not had default properties set.
4206
- *
4207
- * @example
4208
- * ```ts
4209
- * type MySchema = FromSchemaUnvalidated<typeof mySchema>;
4210
- * ```
4211
- */
4212
- type FromSchemaUnvalidated<T extends Schema> = InferSchema<T, {
4213
- validated: false;
4214
- }>;
4215
- /**
4216
- * Infer the type of a Schema for validated data.
4217
- *
4218
- * The resulting type has default properties set to required,
4219
- * reflecting the fact that the data has been validated and
4220
- * default properties have been set.
4221
- *
4222
- * @example
4223
- * ```ts
4224
- * type MySchema = FromSchema<typeof mySchema>;
4225
- * ```
4226
- */
4227
- type FromSchema<T extends Schema> = InferSchema<T, {
4228
- validated: true;
4229
- }>;
4230
-
4231
4109
  type Passthrough = {
4232
4110
  body?: Record<string, unknown>;
4233
4111
  headers?: Record<string, string>;
@@ -4636,6 +4514,18 @@ declare const channelStepSchemas: {
4636
4514
  readonly body: {
4637
4515
  readonly type: "string";
4638
4516
  };
4517
+ readonly from: {
4518
+ readonly type: "object";
4519
+ readonly properties: {
4520
+ readonly email: {
4521
+ readonly type: "string";
4522
+ };
4523
+ readonly name: {
4524
+ readonly type: "string";
4525
+ };
4526
+ };
4527
+ readonly additionalProperties: false;
4528
+ };
4639
4529
  };
4640
4530
  readonly required: readonly ["subject", "body"];
4641
4531
  readonly additionalProperties: false;
@@ -5357,4 +5247,4 @@ type HealthCheck = {
5357
5247
  };
5358
5248
  };
5359
5249
 
5360
- export { type PushOutputUnvalidated as $, ActionStepEnum as A, type Skip as B, CronExpression as C, type DiscoverProviderOutput as D, type Either as E, type FromSchemaUnvalidated as F, GetActionEnum as G, type HealthCheck as H, type StepOptions as I, type JsonSchema as J, JobStatusEnum as K, type StepContext as L, type StepOutput as M, type ActionStep as N, type CustomStep as O, PostActionEnum as P, type ChannelStep as Q, type EmailOutput as R, SeverityLevelEnum as S, type EmailOutputUnvalidated as T, type EmailResult as U, type SmsOutput as V, type Workflow as W, type SmsOutputUnvalidated as X, type SmsResult as Y, type ZodSchema as Z, type PushOutput as _, type Schema as a, type PushResult as a0, type ChatOutput as a1, type ChatOutputUnvalidated as a2, type ChatResult as a3, type InAppOutput as a4, type InAppOutputUnvalidated as a5, type InAppResult as a6, type DelayRegularOutput as a7, type DelayRegularOutputUnvalidated as a8, type DelayTimedOutput as a9, type DeepPartial as aA, type DeepRequired as aB, type ExecuteInput as aC, type Execute as aD, type WorkflowPreference as aE, type ChannelPreference as aF, type WorkflowPreferences as aG, type WorkflowOptions as aH, type DelayTimedOutputUnvalidated as aa, type DelayDynamicOutput as ab, type DelayDynamicOutputUnvalidated as ac, type DelayOutput as ad, type DelayOutputUnvalidated as ae, type DelayResult as af, type DigestRegularOutput as ag, type DigestRegularOutputUnvalidated as ah, type DigestTimedOutput as ai, type DigestTimedOutputUnvalidated as aj, type DigestOutput as ak, type DigestOutputUnvalidated as al, type DigestResult as am, type ThrottleOutput as an, type ThrottleOutputUnvalidated as ao, type ThrottleResult as ap, type Step as aq, type Subscriber as ar, type Awaitable as as, type Prettify as at, type ConditionalPartial as au, type Indexable as av, type PickOptional as aw, type PickRequired as ax, type PickRequiredKeys as ay, type PickOptionalKeys as az, type FromSchema as b, actionStepSchemas as c, channelStepSchemas as d, ChannelStepEnum as e, WorkflowChannelEnum as f, type CodeResult as g, type ClientOptions as h, type ContextValue as i, type ContextPayload as j, type ContextResolved as k, type StepType as l, type DiscoverStepOutput as m, type DiscoverWorkflowOutput as n, type DiscoverOutput as o, providerSchemas as p, type EventTriggerResult as q, type EventTriggerParams as r, type EventTriggerResponse as s, type CancelEventTriggerResponse as t, type Event as u, type State as v, type ExecuteOutputMetadata as w, type ExecuteOutputOptions as x, type ExecuteOutput as y, type ZodSchemaMinimal as z };
5250
+ export { type InAppOutputUnvalidated as $, ActionStepEnum as A, type StepOutput as B, CronExpression as C, type DiscoverProviderOutput as D, type Either as E, type ActionStep as F, GetActionEnum as G, type HealthCheck as H, type CustomStep as I, JobStatusEnum as J, type ChannelStep as K, type EmailOutput as L, type EmailOutputUnvalidated as M, type EmailResult as N, type SmsOutput as O, PostActionEnum as P, type SmsOutputUnvalidated as Q, type SmsResult as R, SeverityLevelEnum as S, type PushOutput as T, type PushOutputUnvalidated as U, type PushResult as V, type Workflow as W, type ChatOutput as X, type ChatOutputUnvalidated as Y, type ChatResult as Z, type InAppOutput as _, type ClientOptions as a, type InAppResult as a0, type DelayRegularOutput as a1, type DelayRegularOutputUnvalidated as a2, type DelayTimedOutput as a3, type DelayTimedOutputUnvalidated as a4, type DelayDynamicOutput as a5, type DelayDynamicOutputUnvalidated as a6, type DelayOutput as a7, type DelayOutputUnvalidated as a8, type DelayResult as a9, type WorkflowPreferences as aA, type WorkflowOptions as aB, type DigestRegularOutput as aa, type DigestRegularOutputUnvalidated as ab, type DigestTimedOutput as ac, type DigestTimedOutputUnvalidated as ad, type DigestOutput as ae, type DigestOutputUnvalidated as af, type DigestResult as ag, type ThrottleOutput as ah, type ThrottleOutputUnvalidated as ai, type ThrottleResult as aj, type Step as ak, type Subscriber as al, type Awaitable as am, type Prettify as an, type ConditionalPartial as ao, type Indexable as ap, type PickOptional as aq, type PickRequired as ar, type PickRequiredKeys as as, type PickOptionalKeys as at, type DeepPartial as au, type DeepRequired as av, type ExecuteInput as aw, type Execute as ax, type WorkflowPreference as ay, type ChannelPreference as az, actionStepSchemas as b, channelStepSchemas as c, ChannelStepEnum as d, WorkflowChannelEnum as e, type CodeResult as f, type ContextValue as g, type ContextPayload as h, type ContextResolved as i, type StepType as j, type DiscoverStepOutput as k, type DiscoverWorkflowOutput as l, type DiscoverOutput as m, type EventTriggerResult as n, type EventTriggerParams as o, providerSchemas as p, type EventTriggerResponse as q, type CancelEventTriggerResponse as r, type Event as s, type State as t, type ExecuteOutputMetadata as u, type ExecuteOutputOptions as v, type ExecuteOutput as w, type Skip as x, type StepOptions as y, type StepContext as z };
@@ -1,4 +1,6 @@
1
- import { h as ClientOptions, W as Workflow, H as HealthCheck, o as DiscoverOutput, u as Event, y as ExecuteOutput, g as CodeResult, r as EventTriggerParams, as as Awaitable, a as Schema, b as FromSchema, F as FromSchemaUnvalidated, aD as Execute, aH as WorkflowOptions } from './health-check.types-D_KcRiM_.cjs';
1
+ import { a as ClientOptions, W as Workflow, H as HealthCheck, m as DiscoverOutput, s as Event, w as ExecuteOutput, f as CodeResult, o as EventTriggerParams, am as Awaitable, ax as Execute, aB as WorkflowOptions } from './health-check.types-CBl2aQ8k.cjs';
2
+ import { S as Schema, a as FromSchema, F as FromSchemaUnvalidated } from './base.schema.types-BApIn9jr.cjs';
3
+ import './step-resolver.cjs';
2
4
 
3
5
  declare class Client {
4
6
  private discoveredWorkflows;
@@ -8,8 +10,10 @@ declare class Client {
8
10
  apiUrl: string;
9
11
  version: string;
10
12
  strictAuthentication: boolean;
13
+ verbose: boolean;
11
14
  constructor(options?: ClientOptions);
12
15
  private buildOptions;
16
+ private log;
13
17
  /**
14
18
  * Adds workflows to the client.
15
19
  *