@serverlessworkflow/sdk 1.0.0-alpha5.0 → 1.0.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.
Files changed (100) hide show
  1. package/README.md +6 -6
  2. package/esm/index.esm.js +2040 -1121
  3. package/esm/index.esm.js.map +1 -1
  4. package/esm/index.esm.min.js +7 -7
  5. package/esm/index.esm.min.js.map +1 -1
  6. package/lib/generated/builders/any-event-consumption-strategy-until-builder.d.ts +14 -0
  7. package/lib/generated/builders/any-event-consumption-strategy-until-builder.d.ts.map +1 -0
  8. package/lib/generated/builders/any-event-until-consumed-builder.d.ts +14 -0
  9. package/lib/generated/builders/any-event-until-consumed-builder.d.ts.map +1 -0
  10. package/lib/generated/builders/container-lifetime-builder.d.ts +14 -0
  11. package/lib/generated/builders/container-lifetime-builder.d.ts.map +1 -0
  12. package/lib/generated/builders/error-filter-builder.d.ts +14 -0
  13. package/lib/generated/builders/error-filter-builder.d.ts.map +1 -0
  14. package/lib/generated/builders/event-data-builder.d.ts +14 -0
  15. package/lib/generated/builders/event-data-builder.d.ts.map +1 -0
  16. package/lib/generated/builders/http-body-builder.d.ts +14 -0
  17. package/lib/generated/builders/http-body-builder.d.ts.map +1 -0
  18. package/lib/generated/builders/http-headers-builder.d.ts +14 -0
  19. package/lib/generated/builders/http-headers-builder.d.ts.map +1 -0
  20. package/lib/generated/builders/http-query-builder.d.ts +14 -0
  21. package/lib/generated/builders/http-query-builder.d.ts.map +1 -0
  22. package/lib/generated/builders/index.d.ts +11 -6
  23. package/lib/generated/builders/index.d.ts.map +1 -1
  24. package/lib/generated/builders/raise-task-error-builder.d.ts +14 -0
  25. package/lib/generated/builders/raise-task-error-builder.d.ts.map +1 -0
  26. package/lib/generated/builders/subscription-iterator-builder.d.ts +14 -0
  27. package/lib/generated/builders/subscription-iterator-builder.d.ts.map +1 -0
  28. package/lib/generated/builders/task-timeout-builder.d.ts +14 -0
  29. package/lib/generated/builders/task-timeout-builder.d.ts.map +1 -0
  30. package/lib/generated/classes/any-event-consumption-strategy-until.d.ts +39 -0
  31. package/lib/generated/classes/any-event-consumption-strategy-until.d.ts.map +1 -0
  32. package/lib/generated/classes/any-event-consumption-strategy.d.ts.map +1 -1
  33. package/lib/generated/classes/any-event-until-consumed.d.ts +39 -0
  34. package/lib/generated/classes/any-event-until-consumed.d.ts.map +1 -0
  35. package/lib/generated/classes/async-api-arguments.d.ts +5 -0
  36. package/lib/generated/classes/async-api-arguments.d.ts.map +1 -1
  37. package/lib/generated/classes/call-async-api.d.ts.map +1 -1
  38. package/lib/generated/classes/catch-errors.d.ts +0 -5
  39. package/lib/generated/classes/catch-errors.d.ts.map +1 -1
  40. package/lib/generated/classes/container-lifetime.d.ts +39 -0
  41. package/lib/generated/classes/container-lifetime.d.ts.map +1 -0
  42. package/lib/generated/classes/container.d.ts.map +1 -1
  43. package/lib/generated/classes/error-filter.d.ts +44 -0
  44. package/lib/generated/classes/error-filter.d.ts.map +1 -0
  45. package/lib/generated/classes/event-consumption-strategy.d.ts.map +1 -1
  46. package/lib/generated/classes/event-data.d.ts +44 -0
  47. package/lib/generated/classes/event-data.d.ts.map +1 -0
  48. package/lib/generated/classes/http-body.d.ts +44 -0
  49. package/lib/generated/classes/http-body.d.ts.map +1 -0
  50. package/lib/generated/classes/http-headers.d.ts +44 -0
  51. package/lib/generated/classes/http-headers.d.ts.map +1 -0
  52. package/lib/generated/classes/http-query.d.ts +44 -0
  53. package/lib/generated/classes/http-query.d.ts.map +1 -0
  54. package/lib/generated/classes/index.d.ts +11 -6
  55. package/lib/generated/classes/index.d.ts.map +1 -1
  56. package/lib/generated/classes/listen-task.d.ts.map +1 -1
  57. package/lib/generated/classes/raise-task-error.d.ts +44 -0
  58. package/lib/generated/classes/raise-task-error.d.ts.map +1 -0
  59. package/lib/generated/classes/subscription-iterator.d.ts +39 -0
  60. package/lib/generated/classes/subscription-iterator.d.ts.map +1 -0
  61. package/lib/generated/classes/task-timeout.d.ts +39 -0
  62. package/lib/generated/classes/task-timeout.d.ts.map +1 -0
  63. package/lib/generated/classes/task.d.ts.map +1 -1
  64. package/lib/generated/definitions/specification.d.ts +105 -44
  65. package/lib/generated/definitions/specification.d.ts.map +1 -1
  66. package/lib/generated/validation/validation-pointers.d.ts +11 -6
  67. package/lib/generated/validation/validation-pointers.d.ts.map +1 -1
  68. package/package.json +2 -2
  69. package/systemjs/index.systemjs.js +2039 -1120
  70. package/systemjs/index.systemjs.js.map +1 -1
  71. package/systemjs/index.systemjs.min.js +4 -4
  72. package/systemjs/index.systemjs.min.js.map +1 -1
  73. package/umd/index.umd.js +2050 -1126
  74. package/umd/index.umd.js.map +1 -1
  75. package/umd/index.umd.min.js +4 -4
  76. package/umd/index.umd.min.js.map +1 -1
  77. package/lib/generated/builders/raise-task-raise-error-builder.d.ts +0 -14
  78. package/lib/generated/builders/raise-task-raise-error-builder.d.ts.map +0 -1
  79. package/lib/generated/builders/task-base-timeout-builder.d.ts +0 -14
  80. package/lib/generated/builders/task-base-timeout-builder.d.ts.map +0 -1
  81. package/lib/generated/builders/with-async-api-payload-builder.d.ts +0 -14
  82. package/lib/generated/builders/with-async-api-payload-builder.d.ts.map +0 -1
  83. package/lib/generated/builders/with-http-body-builder.d.ts +0 -14
  84. package/lib/generated/builders/with-http-body-builder.d.ts.map +0 -1
  85. package/lib/generated/builders/with-http-headers-builder.d.ts +0 -14
  86. package/lib/generated/builders/with-http-headers-builder.d.ts.map +0 -1
  87. package/lib/generated/builders/with-http-query-builder.d.ts +0 -14
  88. package/lib/generated/builders/with-http-query-builder.d.ts.map +0 -1
  89. package/lib/generated/classes/raise-task-raise-error.d.ts +0 -44
  90. package/lib/generated/classes/raise-task-raise-error.d.ts.map +0 -1
  91. package/lib/generated/classes/task-base-timeout.d.ts +0 -39
  92. package/lib/generated/classes/task-base-timeout.d.ts.map +0 -1
  93. package/lib/generated/classes/with-async-api-payload.d.ts +0 -44
  94. package/lib/generated/classes/with-async-api-payload.d.ts.map +0 -1
  95. package/lib/generated/classes/with-http-body.d.ts +0 -44
  96. package/lib/generated/classes/with-http-body.d.ts.map +0 -1
  97. package/lib/generated/classes/with-http-headers.d.ts +0 -44
  98. package/lib/generated/classes/with-http-headers.d.ts.map +0 -1
  99. package/lib/generated/classes/with-http-query.d.ts +0 -44
  100. package/lib/generated/classes/with-http-query.d.ts.map +0 -1
@@ -0,0 +1,44 @@
1
+ /*****************************************************************************************
2
+ *
3
+ * /!\ This file is computer generated. Any manual modification can and will be lost. /!\
4
+ *
5
+ *****************************************************************************************/
6
+ import { ObjectHydrator } from '../../hydrator';
7
+ import { Specification } from '../definitions';
8
+ /**
9
+ * Represents the intersection between the EventData class and type
10
+ */
11
+ export type EventDataIntersection = EventData & Specification.EventData;
12
+ /**
13
+ * Represents a constructor for the intersection of the EventData class and type
14
+ */
15
+ export interface EventDataConstructor {
16
+ new (model?: Partial<Specification.EventData>): EventDataIntersection;
17
+ }
18
+ /**
19
+ * Represents a EventData with methods for validation and normalization.
20
+ * Inherits from ObjectHydrator which provides functionality for hydrating the state based on a model.
21
+ */
22
+ export declare class EventData extends ObjectHydrator<Specification.EventData> {
23
+ /**
24
+ * Instanciates a new instance of the EventData class.
25
+ * Initializes properties based on the provided model if it is an object.
26
+ *
27
+ * @param model - Optional partial model object to initialize the EventData.
28
+ */
29
+ constructor(model?: Partial<Specification.EventData>);
30
+ /**
31
+ * Validates the current instance of the EventData.
32
+ * Throws if invalid.
33
+ */
34
+ validate(workflow?: Partial<Specification.Workflow>): void;
35
+ /**
36
+ * Normalizes the current instance of the EventData.
37
+ * Creates a copy of the EventData, invokes normalization hooks if available, and returns the normalized copy.
38
+ *
39
+ * @returns A normalized version of the EventData instance.
40
+ */
41
+ normalize(): EventData & Specification.EventData;
42
+ }
43
+ export declare const _EventData: EventDataConstructor;
44
+ //# sourceMappingURL=event-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-data.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/event-data.ts"],"names":[],"mappings":"AAgBA;;;;2FAI2F;AAE3F,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAI/C;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC;AAExE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,qBAAqB,CAAC;CACvE;AAED;;;GAGG;AACH,qBAAa,SAAU,SAAQ,cAAc,CAAC,aAAa,CAAC,SAAS,CAAC;IACpE;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,SAAS,CAAC;IAMpD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,SAAS,GAAG,aAAa,CAAC,SAAS;CAIjD;AAED,eAAO,MAAM,UAAU,EAAgB,oBAAoB,CAAC"}
@@ -0,0 +1,44 @@
1
+ /*****************************************************************************************
2
+ *
3
+ * /!\ This file is computer generated. Any manual modification can and will be lost. /!\
4
+ *
5
+ *****************************************************************************************/
6
+ import { ObjectHydrator } from '../../hydrator';
7
+ import { Specification } from '../definitions';
8
+ /**
9
+ * Represents the intersection between the HTTPBody class and type
10
+ */
11
+ export type HTTPBodyIntersection = HTTPBody & Specification.HTTPBody;
12
+ /**
13
+ * Represents a constructor for the intersection of the HTTPBody class and type
14
+ */
15
+ export interface HTTPBodyConstructor {
16
+ new (model?: Partial<Specification.HTTPBody>): HTTPBodyIntersection;
17
+ }
18
+ /**
19
+ * Represents a HTTPBody with methods for validation and normalization.
20
+ * Inherits from ObjectHydrator which provides functionality for hydrating the state based on a model.
21
+ */
22
+ export declare class HTTPBody extends ObjectHydrator<Specification.HTTPBody> {
23
+ /**
24
+ * Instanciates a new instance of the HTTPBody class.
25
+ * Initializes properties based on the provided model if it is an object.
26
+ *
27
+ * @param model - Optional partial model object to initialize the HTTPBody.
28
+ */
29
+ constructor(model?: Partial<Specification.HTTPBody>);
30
+ /**
31
+ * Validates the current instance of the HTTPBody.
32
+ * Throws if invalid.
33
+ */
34
+ validate(workflow?: Partial<Specification.Workflow>): void;
35
+ /**
36
+ * Normalizes the current instance of the HTTPBody.
37
+ * Creates a copy of the HTTPBody, invokes normalization hooks if available, and returns the normalized copy.
38
+ *
39
+ * @returns A normalized version of the HTTPBody instance.
40
+ */
41
+ normalize(): HTTPBody & Specification.HTTPBody;
42
+ }
43
+ export declare const _HTTPBody: HTTPBodyConstructor;
44
+ //# sourceMappingURL=http-body.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-body.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/http-body.ts"],"names":[],"mappings":"AAgBA;;;;2FAI2F;AAE3F,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAI/C;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,aAAa,CAAC,QAAQ,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,oBAAoB,CAAC;CACrE;AAED;;;GAGG;AACH,qBAAa,QAAS,SAAQ,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC;IAClE;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAMnD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,QAAQ,GAAG,aAAa,CAAC,QAAQ;CAI/C;AAED,eAAO,MAAM,SAAS,EAAe,mBAAmB,CAAC"}
@@ -0,0 +1,44 @@
1
+ /*****************************************************************************************
2
+ *
3
+ * /!\ This file is computer generated. Any manual modification can and will be lost. /!\
4
+ *
5
+ *****************************************************************************************/
6
+ import { ObjectHydrator } from '../../hydrator';
7
+ import { Specification } from '../definitions';
8
+ /**
9
+ * Represents the intersection between the HTTPHeaders class and type
10
+ */
11
+ export type HTTPHeadersIntersection = HTTPHeaders & Specification.HTTPHeaders;
12
+ /**
13
+ * Represents a constructor for the intersection of the HTTPHeaders class and type
14
+ */
15
+ export interface HTTPHeadersConstructor {
16
+ new (model?: Partial<Specification.HTTPHeaders>): HTTPHeadersIntersection;
17
+ }
18
+ /**
19
+ * Represents a HTTPHeaders with methods for validation and normalization.
20
+ * Inherits from ObjectHydrator which provides functionality for hydrating the state based on a model.
21
+ */
22
+ export declare class HTTPHeaders extends ObjectHydrator<Specification.HTTPHeaders> {
23
+ /**
24
+ * Instanciates a new instance of the HTTPHeaders class.
25
+ * Initializes properties based on the provided model if it is an object.
26
+ *
27
+ * @param model - Optional partial model object to initialize the HTTPHeaders.
28
+ */
29
+ constructor(model?: Partial<Specification.HTTPHeaders>);
30
+ /**
31
+ * Validates the current instance of the HTTPHeaders.
32
+ * Throws if invalid.
33
+ */
34
+ validate(workflow?: Partial<Specification.Workflow>): void;
35
+ /**
36
+ * Normalizes the current instance of the HTTPHeaders.
37
+ * Creates a copy of the HTTPHeaders, invokes normalization hooks if available, and returns the normalized copy.
38
+ *
39
+ * @returns A normalized version of the HTTPHeaders instance.
40
+ */
41
+ normalize(): HTTPHeaders & Specification.HTTPHeaders;
42
+ }
43
+ export declare const _HTTPHeaders: HTTPHeadersConstructor;
44
+ //# sourceMappingURL=http-headers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-headers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/http-headers.ts"],"names":[],"mappings":"AAgBA;;;;2FAI2F;AAE3F,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAI/C;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,uBAAuB,CAAC;CAC3E;AAED;;;GAGG;AACH,qBAAa,WAAY,SAAQ,cAAc,CAAC,aAAa,CAAC,WAAW,CAAC;IACxE;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC;IAMtD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,WAAW,GAAG,aAAa,CAAC,WAAW;CAIrD;AAED,eAAO,MAAM,YAAY,EAAkB,sBAAsB,CAAC"}
@@ -0,0 +1,44 @@
1
+ /*****************************************************************************************
2
+ *
3
+ * /!\ This file is computer generated. Any manual modification can and will be lost. /!\
4
+ *
5
+ *****************************************************************************************/
6
+ import { ObjectHydrator } from '../../hydrator';
7
+ import { Specification } from '../definitions';
8
+ /**
9
+ * Represents the intersection between the HTTPQuery class and type
10
+ */
11
+ export type HTTPQueryIntersection = HTTPQuery & Specification.HTTPQuery;
12
+ /**
13
+ * Represents a constructor for the intersection of the HTTPQuery class and type
14
+ */
15
+ export interface HTTPQueryConstructor {
16
+ new (model?: Partial<Specification.HTTPQuery>): HTTPQueryIntersection;
17
+ }
18
+ /**
19
+ * Represents a HTTPQuery with methods for validation and normalization.
20
+ * Inherits from ObjectHydrator which provides functionality for hydrating the state based on a model.
21
+ */
22
+ export declare class HTTPQuery extends ObjectHydrator<Specification.HTTPQuery> {
23
+ /**
24
+ * Instanciates a new instance of the HTTPQuery class.
25
+ * Initializes properties based on the provided model if it is an object.
26
+ *
27
+ * @param model - Optional partial model object to initialize the HTTPQuery.
28
+ */
29
+ constructor(model?: Partial<Specification.HTTPQuery>);
30
+ /**
31
+ * Validates the current instance of the HTTPQuery.
32
+ * Throws if invalid.
33
+ */
34
+ validate(workflow?: Partial<Specification.Workflow>): void;
35
+ /**
36
+ * Normalizes the current instance of the HTTPQuery.
37
+ * Creates a copy of the HTTPQuery, invokes normalization hooks if available, and returns the normalized copy.
38
+ *
39
+ * @returns A normalized version of the HTTPQuery instance.
40
+ */
41
+ normalize(): HTTPQuery & Specification.HTTPQuery;
42
+ }
43
+ export declare const _HTTPQuery: HTTPQueryConstructor;
44
+ //# sourceMappingURL=http-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-query.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/http-query.ts"],"names":[],"mappings":"AAgBA;;;;2FAI2F;AAE3F,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAI/C;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC;AAExE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,qBAAqB,CAAC;CACvE;AAED;;;GAGG;AACH,qBAAa,SAAU,SAAQ,cAAc,CAAC,aAAa,CAAC,SAAS,CAAC;IACpE;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,SAAS,CAAC;IAMpD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,SAAS,GAAG,aAAa,CAAC,SAAS;CAIjD;AAED,eAAO,MAAM,UAAU,EAAgB,oBAAoB,CAAC"}
@@ -3,6 +3,8 @@ export declare const Classes: {
3
3
  AllEventConsumptionStrategyConfiguration: import("./all-event-consumption-strategy-configuration").AllEventConsumptionStrategyConfigurationConstructor;
4
4
  AnyEventConsumptionStrategy: import("./any-event-consumption-strategy").AnyEventConsumptionStrategyConstructor;
5
5
  AnyEventConsumptionStrategyConfiguration: import("./any-event-consumption-strategy-configuration").AnyEventConsumptionStrategyConfigurationConstructor;
6
+ AnyEventConsumptionStrategyUntil: import("./any-event-consumption-strategy-until").AnyEventConsumptionStrategyUntilConstructor;
7
+ AnyEventUntilConsumed: import("./any-event-until-consumed").AnyEventUntilConsumedConstructor;
6
8
  AsyncApiArguments: import("./async-api-arguments").AsyncApiArgumentsConstructor;
7
9
  AuthenticationPolicy: import("./authentication-policy").AuthenticationPolicyConstructor;
8
10
  AuthenticationPolicyReference: import("./authentication-policy-reference").AuthenticationPolicyReferenceConstructor;
@@ -23,6 +25,7 @@ export declare const Classes: {
23
25
  ConstantBackoff: import("./constant-backoff").ConstantBackoffConstructor;
24
26
  Container: import("./container").ContainerConstructor;
25
27
  ContainerEnvironment: import("./container-environment").ContainerEnvironmentConstructor;
28
+ ContainerLifetime: import("./container-lifetime").ContainerLifetimeConstructor;
26
29
  ContainerPorts: import("./container-ports").ContainerPortsConstructor;
27
30
  ContainerVolumes: import("./container-volumes").ContainerVolumesConstructor;
28
31
  DigestAuthenticationPolicy: import("./digest-authentication-policy").DigestAuthenticationPolicyConstructor;
@@ -40,9 +43,11 @@ export declare const Classes: {
40
43
  EndpointConfiguration: import("./endpoint-configuration").EndpointConfigurationConstructor;
41
44
  EndpointUri: import("./endpoint-uri").EndpointUriConstructor;
42
45
  Error: import("./error").ErrorConstructor;
46
+ ErrorFilter: import("./error-filter").ErrorFilterConstructor;
43
47
  ErrorInstance: import("./error-instance").ErrorInstanceConstructor;
44
48
  ErrorType: import("./error-type").ErrorTypeConstructor;
45
49
  EventConsumptionStrategy: import("./event-consumption-strategy").EventConsumptionStrategyConstructor;
50
+ EventData: import("./event-data").EventDataConstructor;
46
51
  EventDataschema: import("./event-dataschema").EventDataschemaConstructor;
47
52
  EventFilter: import("./event-filter").EventFilterConstructor;
48
53
  EventFilterCorrelate: import("./event-filter-correlate").EventFilterCorrelateConstructor;
@@ -63,6 +68,9 @@ export declare const Classes: {
63
68
  FunctionArguments: import("./function-arguments").FunctionArgumentsConstructor;
64
69
  GRPCArguments: import("./grpc-arguments").GRPCArgumentsConstructor;
65
70
  HTTPArguments: import("./http-arguments").HTTPArgumentsConstructor;
71
+ HTTPBody: import("./http-body").HTTPBodyConstructor;
72
+ HTTPHeaders: import("./http-headers").HTTPHeadersConstructor;
73
+ HTTPQuery: import("./http-query").HTTPQueryConstructor;
66
74
  InlineScript: import("./inline-script").InlineScriptConstructor;
67
75
  Input: import("./input").InputConstructor;
68
76
  InputFrom: import("./input-from").InputFromConstructor;
@@ -89,7 +97,7 @@ export declare const Classes: {
89
97
  OutputAs: import("./output-as").OutputAsConstructor;
90
98
  RaiseTask: import("./raise-task").RaiseTaskConstructor;
91
99
  RaiseTaskConfiguration: import("./raise-task-configuration").RaiseTaskConfigurationConstructor;
92
- RaiseTaskRaiseError: import("./raise-task-raise-error").RaiseTaskRaiseErrorConstructor;
100
+ RaiseTaskError: import("./raise-task-error").RaiseTaskErrorConstructor;
93
101
  ReferenceableAuthenticationPolicy: import("./referenceable-authentication-policy").ReferenceableAuthenticationPolicyConstructor;
94
102
  RetryBackoff: import("./retry-backoff").RetryBackoffConstructor;
95
103
  RetryLimit: import("./retry-limit").RetryLimitConstructor;
@@ -116,6 +124,7 @@ export declare const Classes: {
116
124
  ShellEnvironment: import("./shell-environment").ShellEnvironmentConstructor;
117
125
  SubflowConfiguration: import("./subflow-configuration").SubflowConfigurationConstructor;
118
126
  SubflowInput: import("./subflow-input").SubflowInputConstructor;
127
+ SubscriptionIterator: import("./subscription-iterator").SubscriptionIteratorConstructor;
119
128
  SwitchCase: import("./switch-case").SwitchCaseConstructor;
120
129
  SwitchItem: import("./switch-item").SwitchItemConstructor;
121
130
  SwitchTask: import("./switch-task").SwitchTaskConstructor;
@@ -123,10 +132,10 @@ export declare const Classes: {
123
132
  Task: import("./task").TaskConstructor;
124
133
  TaskBase: import("./task-base").TaskBaseConstructor;
125
134
  TaskBaseIf: import("./task-base-if").TaskBaseIfConstructor;
126
- TaskBaseTimeout: import("./task-base-timeout").TaskBaseTimeoutConstructor;
127
135
  TaskItem: import("./task-item").TaskItemConstructor;
128
136
  TaskList: import("./task-list").TaskListConstructor;
129
137
  TaskMetadata: import("./task-metadata").TaskMetadataConstructor;
138
+ TaskTimeout: import("./task-timeout").TaskTimeoutConstructor;
130
139
  Timeout: import("./timeout").TimeoutConstructor;
131
140
  TryTask: import("./try-task").TryTaskConstructor;
132
141
  TryTaskCatch: import("./try-task-catch").TryTaskCatchConstructor;
@@ -142,13 +151,9 @@ export declare const Classes: {
142
151
  UseSecrets: import("./use-secrets").UseSecretsConstructor;
143
152
  UseTimeouts: import("./use-timeouts").UseTimeoutsConstructor;
144
153
  WaitTask: import("./wait-task").WaitTaskConstructor;
145
- WithAsyncAPIPayload: import("./with-async-api-payload").WithAsyncAPIPayloadConstructor;
146
154
  WithEvent: import("./with-event").WithEventConstructor;
147
155
  WithGRPCArguments: import("./with-grpc-arguments").WithGRPCArgumentsConstructor;
148
156
  WithGRPCService: import("./with-grpc-service").WithGRPCServiceConstructor;
149
- WithHTTPBody: import("./with-http-body").WithHTTPBodyConstructor;
150
- WithHTTPHeaders: import("./with-http-headers").WithHTTPHeadersConstructor;
151
- WithHTTPQuery: import("./with-http-query").WithHTTPQueryConstructor;
152
157
  WithOpenAPIParameters: import("./with-open-api-parameters").WithOpenAPIParametersConstructor;
153
158
  Workflow: import("./workflow").WorkflowConstructor & {
154
159
  deserialize(text: string): import("./workflow").WorkflowIntersection;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/index.ts"],"names":[],"mappings":"AA4KA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4JnB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/index.ts"],"names":[],"mappings":"AAiLA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiKnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"listen-task.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/listen-task.ts"],"names":[],"mappings":"AA4BA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,sBAAsB,CAAC;CACzE;AAED;;;GAGG;AACH,qBAAa,UAAW,SAAQ,SAAS;IACvC;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC;IAcrD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,UAAU,GAAG,aAAa,CAAC,UAAU;CAInD;AAED,eAAO,MAAM,WAAW,EAAiB,qBAAqB,CAAC"}
1
+ {"version":3,"file":"listen-task.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/listen-task.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,sBAAsB,CAAC;CACzE;AAED;;;GAGG;AACH,qBAAa,UAAW,SAAQ,SAAS;IACvC;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC;IAerD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,UAAU,GAAG,aAAa,CAAC,UAAU;CAInD;AAED,eAAO,MAAM,WAAW,EAAiB,qBAAqB,CAAC"}
@@ -0,0 +1,44 @@
1
+ /*****************************************************************************************
2
+ *
3
+ * /!\ This file is computer generated. Any manual modification can and will be lost. /!\
4
+ *
5
+ *****************************************************************************************/
6
+ import { ObjectHydrator } from '../../hydrator';
7
+ import { Specification } from '../definitions';
8
+ /**
9
+ * Represents the intersection between the RaiseTaskError class and type
10
+ */
11
+ export type RaiseTaskErrorIntersection = RaiseTaskError & Specification.RaiseTaskError;
12
+ /**
13
+ * Represents a constructor for the intersection of the RaiseTaskError class and type
14
+ */
15
+ export interface RaiseTaskErrorConstructor {
16
+ new (model?: Partial<Specification.RaiseTaskError>): RaiseTaskErrorIntersection;
17
+ }
18
+ /**
19
+ * Represents a RaiseTaskError with methods for validation and normalization.
20
+ * Inherits from ObjectHydrator which provides functionality for hydrating the state based on a model.
21
+ */
22
+ export declare class RaiseTaskError extends ObjectHydrator<Specification.RaiseTaskError> {
23
+ /**
24
+ * Instanciates a new instance of the RaiseTaskError class.
25
+ * Initializes properties based on the provided model if it is an object.
26
+ *
27
+ * @param model - Optional partial model object to initialize the RaiseTaskError.
28
+ */
29
+ constructor(model?: Partial<Specification.RaiseTaskError>);
30
+ /**
31
+ * Validates the current instance of the RaiseTaskError.
32
+ * Throws if invalid.
33
+ */
34
+ validate(workflow?: Partial<Specification.Workflow>): void;
35
+ /**
36
+ * Normalizes the current instance of the RaiseTaskError.
37
+ * Creates a copy of the RaiseTaskError, invokes normalization hooks if available, and returns the normalized copy.
38
+ *
39
+ * @returns A normalized version of the RaiseTaskError instance.
40
+ */
41
+ normalize(): RaiseTaskError & Specification.RaiseTaskError;
42
+ }
43
+ export declare const _RaiseTaskError: RaiseTaskErrorConstructor;
44
+ //# sourceMappingURL=raise-task-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"raise-task-error.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/raise-task-error.ts"],"names":[],"mappings":"AAgBA;;;;2FAI2F;AAE3F,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAI/C;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,cAAc,GAAG,aAAa,CAAC,cAAc,CAAC;AAEvF;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,cAAc,CAAC,GAAG,0BAA0B,CAAC;CACjF;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,cAAc,CAAC,aAAa,CAAC,cAAc,CAAC;IAC9E;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,cAAc,CAAC;IAMzD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,cAAc,GAAG,aAAa,CAAC,cAAc;CAI3D;AAED,eAAO,MAAM,eAAe,EAAqB,yBAAyB,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { ObjectHydrator } from '../../hydrator';
2
+ import { Specification } from '../definitions';
3
+ /**
4
+ * Represents the intersection between the SubscriptionIterator class and type
5
+ */
6
+ export type SubscriptionIteratorIntersection = SubscriptionIterator & Specification.SubscriptionIterator;
7
+ /**
8
+ * Represents a constructor for the intersection of the SubscriptionIterator class and type
9
+ */
10
+ export interface SubscriptionIteratorConstructor {
11
+ new (model?: Partial<Specification.SubscriptionIterator>): SubscriptionIteratorIntersection;
12
+ }
13
+ /**
14
+ * Represents a SubscriptionIterator with methods for validation and normalization.
15
+ * Inherits from ObjectHydrator which provides functionality for hydrating the state based on a model.
16
+ */
17
+ export declare class SubscriptionIterator extends ObjectHydrator<Specification.SubscriptionIterator> {
18
+ /**
19
+ * Instanciates a new instance of the SubscriptionIterator class.
20
+ * Initializes properties based on the provided model if it is an object.
21
+ *
22
+ * @param model - Optional partial model object to initialize the SubscriptionIterator.
23
+ */
24
+ constructor(model?: Partial<Specification.SubscriptionIterator>);
25
+ /**
26
+ * Validates the current instance of the SubscriptionIterator.
27
+ * Throws if invalid.
28
+ */
29
+ validate(workflow?: Partial<Specification.Workflow>): void;
30
+ /**
31
+ * Normalizes the current instance of the SubscriptionIterator.
32
+ * Creates a copy of the SubscriptionIterator, invokes normalization hooks if available, and returns the normalized copy.
33
+ *
34
+ * @returns A normalized version of the SubscriptionIterator instance.
35
+ */
36
+ normalize(): SubscriptionIterator & Specification.SubscriptionIterator;
37
+ }
38
+ export declare const _SubscriptionIterator: SubscriptionIteratorConstructor;
39
+ //# sourceMappingURL=subscription-iterator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription-iterator.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/subscription-iterator.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG,oBAAoB,GAAG,aAAa,CAAC,oBAAoB,CAAC;AAEzG;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,oBAAoB,CAAC,GAAG,gCAAgC,CAAC;CAC7F;AAED;;;GAGG;AACH,qBAAa,oBAAqB,SAAQ,cAAc,CAAC,aAAa,CAAC,oBAAoB,CAAC;IAC1F;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,oBAAoB,CAAC;IAW/D;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,oBAAoB,GAAG,aAAa,CAAC,oBAAoB;CAIvE;AAED,eAAO,MAAM,qBAAqB,EAA2B,+BAA+B,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { ObjectHydrator } from '../../hydrator';
2
+ import { Specification } from '../definitions';
3
+ /**
4
+ * Represents the intersection between the TaskTimeout class and type
5
+ */
6
+ export type TaskTimeoutIntersection = TaskTimeout & Specification.TaskTimeout;
7
+ /**
8
+ * Represents a constructor for the intersection of the TaskTimeout class and type
9
+ */
10
+ export interface TaskTimeoutConstructor {
11
+ new (model?: Partial<Specification.TaskTimeout>): TaskTimeoutIntersection;
12
+ }
13
+ /**
14
+ * Represents a TaskTimeout with methods for validation and normalization.
15
+ * Inherits from ObjectHydrator which provides functionality for hydrating the state based on a model.
16
+ */
17
+ export declare class TaskTimeout extends ObjectHydrator<Specification.TaskTimeout> {
18
+ /**
19
+ * Instanciates a new instance of the TaskTimeout class.
20
+ * Initializes properties based on the provided model if it is an object.
21
+ *
22
+ * @param model - Optional partial model object to initialize the TaskTimeout.
23
+ */
24
+ constructor(model?: Partial<Specification.TaskTimeout>);
25
+ /**
26
+ * Validates the current instance of the TaskTimeout.
27
+ * Throws if invalid.
28
+ */
29
+ validate(workflow?: Partial<Specification.Workflow>): void;
30
+ /**
31
+ * Normalizes the current instance of the TaskTimeout.
32
+ * Creates a copy of the TaskTimeout, invokes normalization hooks if available, and returns the normalized copy.
33
+ *
34
+ * @returns A normalized version of the TaskTimeout instance.
35
+ */
36
+ normalize(): TaskTimeout & Specification.TaskTimeout;
37
+ }
38
+ export declare const _TaskTimeout: TaskTimeoutConstructor;
39
+ //# sourceMappingURL=task-timeout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task-timeout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/task-timeout.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,uBAAuB,CAAC;CAC3E;AAED;;;GAGG;AACH,qBAAa,WAAY,SAAQ,cAAc,CAAC,aAAa,CAAC,WAAW,CAAC;IACxE;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC;IAYtD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,WAAW,GAAG,aAAa,CAAC,WAAW;CAIrD;AAED,eAAO,MAAM,YAAY,EAAkB,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/task.ts"],"names":[],"mappings":"AAsCA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC;CAC7D;AAED;;;GAGG;AACH,qBAAa,IAAK,SAAQ,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC;IAC1D;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC;IAyH/C;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,IAAI,GAAG,aAAa,CAAC,IAAI;CAIvC;AAED,eAAO,MAAM,KAAK,EAAW,eAAe,CAAC"}
1
+ {"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/classes/task.ts"],"names":[],"mappings":"AAuCA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC;CAC7D;AAED;;;GAGG;AACH,qBAAa,IAAK,SAAQ,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC;IAC1D;;;;;OAKG;gBACS,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC;IAiK/C;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;IAKnD;;;;;OAKG;IACH,SAAS,IAAI,IAAI,GAAG,aAAa,CAAC,IAAI;CAIvC;AAED,eAAO,MAAM,KAAK,EAAW,eAAe,CAAC"}