@adobe/aio-commerce-lib-app 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/actions/index.cjs +815 -170
  3. package/dist/cjs/actions/index.d.cts +2 -2
  4. package/dist/cjs/app-Dx0ca6oL.d.cts +181 -0
  5. package/dist/cjs/commands/generate/actions/templates/business-configuration/get-config-schema.js.template +63 -0
  6. package/dist/cjs/commands/generate/actions/templates/business-configuration/get-configuration.js.template +104 -0
  7. package/dist/cjs/commands/generate/actions/templates/business-configuration/get-scope-tree.js.template +69 -0
  8. package/dist/cjs/commands/generate/actions/templates/business-configuration/set-configuration.js.template +125 -0
  9. package/dist/cjs/commands/generate/actions/templates/business-configuration/set-custom-scope-tree.js.template +83 -0
  10. package/dist/cjs/commands/generate/actions/templates/business-configuration/sync-commerce-scopes.js.template +113 -0
  11. package/dist/cjs/commands/generate/actions/templates/business-configuration/unsync-commerce-scopes.js.template +56 -0
  12. package/dist/cjs/commands/index.cjs +1075 -119
  13. package/dist/cjs/config/index.cjs +20 -1
  14. package/dist/cjs/config/index.d.cts +532 -3
  15. package/dist/cjs/config-JQ_n-5Nk.cjs +565 -0
  16. package/dist/cjs/error-Byj1DVHZ.cjs +344 -0
  17. package/dist/cjs/{index-DS3IlISO.d.cts → index-C5SutkJQ.d.cts} +1 -1
  18. package/dist/cjs/logging-DYwr5WQk.cjs +25 -0
  19. package/dist/cjs/management/index.cjs +9 -1
  20. package/dist/cjs/management/index.d.cts +1 -1
  21. package/dist/cjs/management-Dm5h0E6l.cjs +1246 -0
  22. package/dist/es/actions/index.d.mts +2 -2
  23. package/dist/es/actions/index.mjs +813 -170
  24. package/dist/es/app-Cx1-6dn0.d.mts +181 -0
  25. package/dist/es/commands/generate/actions/templates/business-configuration/get-config-schema.js.template +63 -0
  26. package/dist/es/commands/generate/actions/templates/business-configuration/get-configuration.js.template +104 -0
  27. package/dist/es/commands/generate/actions/templates/business-configuration/get-scope-tree.js.template +69 -0
  28. package/dist/es/commands/generate/actions/templates/business-configuration/set-configuration.js.template +125 -0
  29. package/dist/es/commands/generate/actions/templates/business-configuration/set-custom-scope-tree.js.template +83 -0
  30. package/dist/es/commands/generate/actions/templates/business-configuration/sync-commerce-scopes.js.template +113 -0
  31. package/dist/es/commands/generate/actions/templates/business-configuration/unsync-commerce-scopes.js.template +56 -0
  32. package/dist/es/commands/index.mjs +1070 -119
  33. package/dist/es/config/index.d.mts +532 -3
  34. package/dist/es/config/index.mjs +4 -1
  35. package/dist/es/config-BSGerqCG.mjs +457 -0
  36. package/dist/es/error-P7JgUTds.mjs +251 -0
  37. package/dist/es/{index-DQepSWYP.d.mts → index-Bxr3zvCT.d.mts} +2 -2
  38. package/dist/es/logging-VgerMhp6.mjs +18 -0
  39. package/dist/es/management/index.d.mts +2 -2
  40. package/dist/es/management/index.mjs +3 -1
  41. package/dist/es/management-Y7pwEbNI.mjs +1204 -0
  42. package/package.json +20 -8
  43. package/dist/cjs/app-C4HhkXbP.d.cts +0 -451
  44. package/dist/cjs/error-yAk1zzvx.cjs +0 -1
  45. package/dist/cjs/management-CE3_DJw4.cjs +0 -2
  46. package/dist/cjs/parser-Dovux8ce.cjs +0 -1
  47. package/dist/cjs/schemas-CdaP-Exw.cjs +0 -1
  48. package/dist/es/app-CMpx3D7Y.d.mts +0 -451
  49. package/dist/es/chunk-VmiN0kV1.mjs +0 -1
  50. package/dist/es/error-hBHRgZ9R.mjs +0 -1
  51. package/dist/es/management-BM2WcbV6.mjs +0 -2
  52. package/dist/es/parser-DOVfvr9l.mjs +0 -1
  53. package/dist/es/schemas-eemlD-xS.mjs +0 -1
  54. /package/dist/cjs/commands/generate/actions/templates/{custom-scripts.js.template → app-management/custom-scripts.js.template} +0 -0
  55. /package/dist/cjs/commands/generate/actions/templates/{get-app-config.js.template → app-management/get-app-config.js.template} +0 -0
  56. /package/dist/cjs/commands/generate/actions/templates/{installation.js.template → app-management/installation.js.template} +0 -0
  57. /package/dist/es/commands/generate/actions/templates/{custom-scripts.js.template → app-management/custom-scripts.js.template} +0 -0
  58. /package/dist/es/commands/generate/actions/templates/{get-app-config.js.template → app-management/get-app-config.js.template} +0 -0
  59. /package/dist/es/commands/generate/actions/templates/{installation.js.template → app-management/installation.js.template} +0 -0
@@ -0,0 +1,344 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+ let valibot = require("valibot");
29
+ valibot = __toESM(valibot);
30
+ let _adobe_aio_commerce_lib_core_error = require("@adobe/aio-commerce-lib-core/error");
31
+
32
+ //#region ../../packages-private/common-utils/source/valibot/schemas.ts
33
+ const ALPHANUMERIC_OR_UNDERSCORE_REGEX = {
34
+ any: /^[a-zA-Z0-9_]+$/,
35
+ lowercase: /^[a-z0-9_]+$/,
36
+ uppercase: /^[A-Z0-9_]+$/
37
+ };
38
+ const ALPHANUMERIC_OR_HYPHEN_REGEX = {
39
+ any: /^[a-zA-Z0-9-]+$/,
40
+ lowercase: /^[a-z0-9-]+$/,
41
+ uppercase: /^[A-Z0-9-]+$/
42
+ };
43
+ /**
44
+ * A schema for a string value.
45
+ * @param name The name of the field this schema refers to.
46
+ */
47
+ function stringValueSchema(name) {
48
+ return valibot.string(`Expected a string value for '${name}'`);
49
+ }
50
+ /**
51
+ * A schema for a non-empty string value.
52
+ * @param name The name of the field this schema refers to.
53
+ */
54
+ function nonEmptyStringValueSchema(name) {
55
+ return valibot.pipe(stringValueSchema(name), valibot.nonEmpty(`The value of "${name}" must not be empty`));
56
+ }
57
+ /**
58
+ * A schema for a boolean value.
59
+ * @param name The name of the field this schema refers to.
60
+ */
61
+ function booleanValueSchema(name) {
62
+ return valibot.boolean(`Expected a boolean value for '${name}'`);
63
+ }
64
+ /**
65
+ * A schema for a string that only contains alphanumeric characters and underscores.
66
+ * @param name The name of the field this schema refers to.
67
+ * @param casing The allowed casing for the string (default: "any").
68
+ */
69
+ function alphaNumericOrUnderscoreSchema(name, casing = "any") {
70
+ const casingLabel = casing === "any" ? "" : ` (${casing} only)`;
71
+ return valibot.pipe(stringValueSchema(name), valibot.regex(ALPHANUMERIC_OR_UNDERSCORE_REGEX[casing], `Only alphanumeric characters and underscores are allowed in string value of "${name}"${casingLabel}`));
72
+ }
73
+ /**
74
+ * A schema for a string that only contains alphanumeric characters and hyphens.
75
+ * @param name The name of the field this schema refers to.
76
+ * @param casing The allowed casing for the string (default: "any").
77
+ */
78
+ function alphaNumericOrHyphenSchema(name, casing = "any") {
79
+ const casingLabel = casing === "any" ? "" : ` (${casing} only)`;
80
+ return valibot.pipe(stringValueSchema(name), valibot.regex(ALPHANUMERIC_OR_HYPHEN_REGEX[casing], `Only alphanumeric characters and hyphens are allowed in string value of "${name}"${casingLabel}`));
81
+ }
82
+
83
+ //#endregion
84
+ //#region source/config/schema/installation.ts
85
+ const MAX_DESCRIPTION_LENGTH$1 = 255;
86
+ const MAX_NAME_LENGTH = 255;
87
+ const MAX_MESSAGE_LENGTH = 1e3;
88
+ /**
89
+ * Regex for script paths that can be relative or absolute.
90
+ * Must end with .js extension
91
+ * Examples:
92
+ * - "./scripts/setup.js"
93
+ * - "./setup.js"
94
+ * - "../../scripts/setup.js"
95
+ */
96
+ const SCRIPT_PATH_REGEX = /^(?:\.{0,2}\/)*[\w-/]*[\w-]+\.js$/;
97
+ /**
98
+ * Schema for custom installation step configuration
99
+ */
100
+ const CustomInstallationStepSchema = valibot.object({
101
+ script: valibot.pipe(nonEmptyStringValueSchema("script path"), valibot.regex(SCRIPT_PATH_REGEX, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")")),
102
+ name: valibot.pipe(nonEmptyStringValueSchema("step name"), valibot.maxLength(MAX_NAME_LENGTH, `The step name must not be longer than ${MAX_NAME_LENGTH} characters`)),
103
+ description: valibot.pipe(nonEmptyStringValueSchema("step description"), valibot.maxLength(MAX_DESCRIPTION_LENGTH$1, `The step description must not be longer than ${MAX_DESCRIPTION_LENGTH$1} characters`))
104
+ });
105
+ /**
106
+ * Schema for installation messages configuration
107
+ */
108
+ const MessagesSchema = valibot.object({
109
+ preInstallation: valibot.optional(valibot.pipe(nonEmptyStringValueSchema("preInstallation message"), valibot.maxLength(MAX_MESSAGE_LENGTH, `The preInstallation message must not be longer than ${MAX_MESSAGE_LENGTH} characters`))),
110
+ postInstallation: valibot.optional(valibot.pipe(nonEmptyStringValueSchema("postInstallation message"), valibot.maxLength(MAX_MESSAGE_LENGTH, `The postInstallation message must not be longer than ${MAX_MESSAGE_LENGTH} characters`)))
111
+ });
112
+ /**
113
+ * Schema for installation configuration
114
+ */
115
+ const InstallationSchema = valibot.object({
116
+ messages: valibot.optional(MessagesSchema),
117
+ customInstallationSteps: valibot.pipe(valibot.optional(valibot.array(CustomInstallationStepSchema, "Expected an array of custom installation steps")), valibot.check((input) => {
118
+ const steps = input || [];
119
+ return new Set(steps.map((step) => step.name)).size === steps.length;
120
+ }, "Duplicate step names detected in custom installation steps. Each step must have a unique name."))
121
+ });
122
+ /**
123
+ * Check if config has custom installation settings.
124
+ * @param config - The configuration to check.
125
+ */
126
+ function hasCustomInstallation(config) {
127
+ return config.installation !== void 0;
128
+ }
129
+ /**
130
+ * Check if config has custom installation steps.
131
+ * @param config - The configuration to check.
132
+ */
133
+ function hasCustomInstallationSteps(config) {
134
+ return Array.isArray(config?.installation?.customInstallationSteps) && config.installation.customInstallationSteps.length > 0;
135
+ }
136
+
137
+ //#endregion
138
+ //#region source/config/schema/eventing.ts
139
+ const MAX_DESCRIPTION_LENGTH = 255;
140
+ const MAX_LABEL_LENGTH = 100;
141
+ const MAX_KEY_LENGTH = 50;
142
+ /**
143
+ * Regex for Commerce event names that must start with "plugin." or "observer."
144
+ * followed by lowercase letters and underscores only.
145
+ * Examples: "plugin.order_placed", "observer.catalog_update"
146
+ */
147
+ const COMMERCE_EVENT_NAME_REGEX = /^(?:plugin|observer)\.[a-z_]+$/;
148
+ /**
149
+ * Regex for field names according to XSD fieldName pattern.
150
+ * Field name can either contain only [a-zA-Z0-9_\-\.\[\]] or be set to *.
151
+ */
152
+ const FIELD_NAME_REGEX = /^([a-zA-Z0-9_\-.[\]]+|\*)$/;
153
+ /**
154
+ * Schema for Commerce event names.
155
+ * Validates that the event name starts with "plugin." or "observer."
156
+ * followed by lowercase letters and underscores only.
157
+ */
158
+ function commerceEventNameSchema() {
159
+ return valibot.pipe(nonEmptyStringValueSchema("event name"), valibot.regex(COMMERCE_EVENT_NAME_REGEX, "Event name must start with \"plugin.\" or \"observer.\" followed by lowercase letters and underscores only (e.g., \"plugin.order_placed\")"));
160
+ }
161
+ /**
162
+ * Schema for field names.
163
+ * Validates that the field name matches the XSD fieldName pattern:
164
+ * can either contain only [a-zA-Z0-9_\-\.\[\]] or be set to *.
165
+ */
166
+ function fieldNameSchema() {
167
+ return valibot.pipe(nonEmptyStringValueSchema("field name"), valibot.regex(FIELD_NAME_REGEX, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\""));
168
+ }
169
+ /**
170
+ * Schema for field objects in Commerce events.
171
+ * Each field has a required name and an optional source.
172
+ */
173
+ function commerceEventFieldSchema() {
174
+ return valibot.object({
175
+ name: fieldNameSchema(),
176
+ source: valibot.optional(stringValueSchema("field source"))
177
+ });
178
+ }
179
+ /** Schema for event provider configuration */
180
+ const ProviderSchema = valibot.object({
181
+ label: valibot.pipe(nonEmptyStringValueSchema("provider label"), valibot.maxLength(MAX_LABEL_LENGTH, `The provider label must not be longer than ${MAX_LABEL_LENGTH} characters`)),
182
+ description: valibot.pipe(nonEmptyStringValueSchema("provider description"), valibot.maxLength(MAX_DESCRIPTION_LENGTH, `The provider description must not be longer than ${MAX_DESCRIPTION_LENGTH} characters`)),
183
+ key: valibot.optional(valibot.pipe(alphaNumericOrHyphenSchema("provider key"), valibot.maxLength(MAX_KEY_LENGTH, `The provider key must not be longer than ${MAX_KEY_LENGTH} characters`)))
184
+ });
185
+ /** Schema for base shared properties between event types. */
186
+ const BaseEventSchema = valibot.object({
187
+ label: valibot.pipe(nonEmptyStringValueSchema("event label"), valibot.maxLength(MAX_LABEL_LENGTH, `The event label must not be longer than ${MAX_LABEL_LENGTH} characters`)),
188
+ description: valibot.pipe(nonEmptyStringValueSchema("event description"), valibot.maxLength(MAX_DESCRIPTION_LENGTH, `The event description must not be longer than ${MAX_DESCRIPTION_LENGTH} characters`)),
189
+ runtimeActions: valibot.array(valibot.pipe(nonEmptyStringValueSchema("runtime action"), valibot.regex(/^[a-z0-9-]+\/[a-z0-9-]+$/, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")")), "Expected an array of runtime actions in the format <package>/<action>")
190
+ });
191
+ /**
192
+ * Schema for rule operator values.
193
+ * Valid operators for Commerce event filtering rules.
194
+ */
195
+ const OPERATORS = [
196
+ "greaterThan",
197
+ "lessThan",
198
+ "equal",
199
+ "regex",
200
+ "in",
201
+ "onChange"
202
+ ];
203
+ const ruleOperatorSchema = valibot.union(OPERATORS.map((op) => valibot.literal(op)), `Operator must be one of: ${OPERATORS.join(", ")}`);
204
+ /** Schema for Commerce event rule configuration */
205
+ const CommerceEventRuleSchema = valibot.object({
206
+ field: nonEmptyStringValueSchema("rule field"),
207
+ operator: ruleOperatorSchema,
208
+ value: nonEmptyStringValueSchema("rule value")
209
+ });
210
+ /** Schema for Commerce event configuration */
211
+ const CommerceEventSchema = valibot.object({
212
+ ...BaseEventSchema.entries,
213
+ name: commerceEventNameSchema(),
214
+ fields: valibot.array(commerceEventFieldSchema(), "Expected an array of event field objects with a 'name' property"),
215
+ rules: valibot.optional(valibot.array(CommerceEventRuleSchema, "Expected an array of event rules with field, operator, and value")),
216
+ destination: valibot.optional(nonEmptyStringValueSchema("destination")),
217
+ hipaaAuditRequired: valibot.optional(booleanValueSchema("hipaaAuditRequired")),
218
+ prioritary: valibot.optional(booleanValueSchema("prioritary")),
219
+ force: valibot.optional(booleanValueSchema("force"))
220
+ });
221
+ /** Schema for external event configuration */
222
+ const ExternalEventSchema = valibot.object({
223
+ ...BaseEventSchema.entries,
224
+ name: alphaNumericOrUnderscoreSchema("event name", "lowercase")
225
+ });
226
+ /** Schema for Commerce event source configuration */
227
+ const CommerceEventSourceSchema = valibot.object({
228
+ provider: ProviderSchema,
229
+ events: valibot.array(CommerceEventSchema, "Expected an array of Commerce events")
230
+ });
231
+ /** Schema for external event source configuration */
232
+ const ExternalEventSourceSchema = valibot.object({
233
+ provider: ProviderSchema,
234
+ events: valibot.array(ExternalEventSchema, "Expected an array of external events")
235
+ });
236
+ /** Schema for eventing configuration with separate commerce and external arrays */
237
+ const EventingSchema = valibot.object({
238
+ commerce: valibot.optional(valibot.array(CommerceEventSourceSchema, "Expected an array of Commerce event sources")),
239
+ external: valibot.optional(valibot.array(ExternalEventSourceSchema, "Expected an array of external event sources"))
240
+ });
241
+ /**
242
+ * Check if config has commerce event sources.
243
+ * @param config - The configuration to check.
244
+ */
245
+ function hasCommerceEvents(config) {
246
+ return Array.isArray(config?.eventing?.commerce) && config.eventing.commerce.length > 0;
247
+ }
248
+ /**
249
+ * Check if config has external event sources.
250
+ * @param config - The configuration to check.
251
+ */
252
+ function hasExternalEvents(config) {
253
+ return Array.isArray(config?.eventing?.external) && config.eventing.external.length > 0;
254
+ }
255
+ /**
256
+ * Check if config has any eventing configuration.
257
+ * @param config - The configuration to check.
258
+ */
259
+ function hasEventing(config) {
260
+ return config.eventing !== void 0;
261
+ }
262
+
263
+ //#endregion
264
+ //#region ../../packages-private/scripting-utils/source/error.ts
265
+ /**
266
+ * This module exports shared error utilities for the AIO Commerce SDK.
267
+ * @packageDocumentation
268
+ */
269
+ /**
270
+ * Stringify an error to a human-friendly string.
271
+ * @param error - The error to stringify.
272
+ */
273
+ function stringifyError(error) {
274
+ if (error instanceof _adobe_aio_commerce_lib_core_error.CommerceSdkValidationError) return error.display();
275
+ return error instanceof Error ? error.message : String(error);
276
+ }
277
+
278
+ //#endregion
279
+ Object.defineProperty(exports, 'EventingSchema', {
280
+ enumerable: true,
281
+ get: function () {
282
+ return EventingSchema;
283
+ }
284
+ });
285
+ Object.defineProperty(exports, 'InstallationSchema', {
286
+ enumerable: true,
287
+ get: function () {
288
+ return InstallationSchema;
289
+ }
290
+ });
291
+ Object.defineProperty(exports, '__toESM', {
292
+ enumerable: true,
293
+ get: function () {
294
+ return __toESM;
295
+ }
296
+ });
297
+ Object.defineProperty(exports, 'alphaNumericOrHyphenSchema', {
298
+ enumerable: true,
299
+ get: function () {
300
+ return alphaNumericOrHyphenSchema;
301
+ }
302
+ });
303
+ Object.defineProperty(exports, 'hasCommerceEvents', {
304
+ enumerable: true,
305
+ get: function () {
306
+ return hasCommerceEvents;
307
+ }
308
+ });
309
+ Object.defineProperty(exports, 'hasCustomInstallation', {
310
+ enumerable: true,
311
+ get: function () {
312
+ return hasCustomInstallation;
313
+ }
314
+ });
315
+ Object.defineProperty(exports, 'hasCustomInstallationSteps', {
316
+ enumerable: true,
317
+ get: function () {
318
+ return hasCustomInstallationSteps;
319
+ }
320
+ });
321
+ Object.defineProperty(exports, 'hasEventing', {
322
+ enumerable: true,
323
+ get: function () {
324
+ return hasEventing;
325
+ }
326
+ });
327
+ Object.defineProperty(exports, 'hasExternalEvents', {
328
+ enumerable: true,
329
+ get: function () {
330
+ return hasExternalEvents;
331
+ }
332
+ });
333
+ Object.defineProperty(exports, 'nonEmptyStringValueSchema', {
334
+ enumerable: true,
335
+ get: function () {
336
+ return nonEmptyStringValueSchema;
337
+ }
338
+ });
339
+ Object.defineProperty(exports, 'stringifyError', {
340
+ enumerable: true,
341
+ get: function () {
342
+ return stringifyError;
343
+ }
344
+ });
@@ -1,4 +1,4 @@
1
- import { r as CommerceAppConfigOutputModel } from "./app-C4HhkXbP.cjs";
1
+ import { n as CommerceAppConfigOutputModel } from "./app-Dx0ca6oL.cjs";
2
2
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
3
3
  import * as v from "valibot";
4
4
  import AioLogger from "@adobe/aio-lib-core-logging";
@@ -0,0 +1,25 @@
1
+ const require_error = require('./error-Byj1DVHZ.cjs');
2
+ let util = require("util");
3
+ util = require_error.__toESM(util);
4
+
5
+ //#region ../../packages-private/common-utils/source/logging.ts
6
+ /**
7
+ * Shorthand to inspect an object.
8
+ *
9
+ * @param obj - The object to inspect.
10
+ * @returns A string representation of the object.
11
+ */
12
+ function inspect(obj, params = {}) {
13
+ return util.default.inspect(obj, {
14
+ depth: null,
15
+ ...params
16
+ });
17
+ }
18
+
19
+ //#endregion
20
+ Object.defineProperty(exports, 'inspect', {
21
+ enumerable: true,
22
+ get: function () {
23
+ return inspect;
24
+ }
25
+ });
@@ -1 +1,9 @@
1
- const require_error=require(`../error-yAk1zzvx.cjs`),require_management=require(`../management-CE3_DJw4.cjs`);exports.createInitialInstallationState=require_management.t,exports.defineCustomInstallationStep=require_management.r,exports.isCompletedState=require_management.i,exports.isFailedState=require_management.a,exports.isInProgressState=require_management.o,exports.isSucceededState=require_management.s,exports.runInstallation=require_management.n;
1
+ const require_management = require('../management-Dm5h0E6l.cjs');
2
+
3
+ exports.createInitialInstallationState = require_management.createInitialInstallationState;
4
+ exports.defineCustomInstallationStep = require_management.defineCustomInstallationStep;
5
+ exports.isCompletedState = require_management.isCompletedState;
6
+ exports.isFailedState = require_management.isFailedState;
7
+ exports.isInProgressState = require_management.isInProgressState;
8
+ exports.isSucceededState = require_management.isSucceededState;
9
+ exports.runInstallation = require_management.runInstallation;
@@ -1,2 +1,2 @@
1
- import { A as BranchStep, B as defineBranchStep, C as StepStatus, D as isInProgressState, E as isFailedState, F as LeafStep, H as isBranchStep, I as LeafStepOptions, L as Step, M as ExecutionContext, N as InferStepOutput, O as isSucceededState, P as InstallationContext, R as StepContextFactory, S as InstallationStatus, T as isCompletedState, U as isLeafStep, V as defineLeafStep, _ as FailedInstallationState, a as CustomInstallationStepHandler, b as InstallationError, c as ExecuteWorkflowOptions, d as InstallationHooks, f as StepEvent, g as ExecutionStatus, h as StepSucceededEvent, i as runInstallation, j as BranchStepOptions, k as AnyStep, l as createInitialState, m as StepStartedEvent, n as RunInstallationOptions, o as defineCustomInstallationStep, p as StepFailedEvent, r as createInitialInstallationState, s as CreateInitialStateOptions, t as CreateInitialInstallationStateOptions, u as executeWorkflow, v as InProgressInstallationState, w as SucceededInstallationState, x as InstallationState, y as InstallationData, z as StepMeta } from "../index-DS3IlISO.cjs";
1
+ import { A as BranchStep, B as defineBranchStep, C as StepStatus, D as isInProgressState, E as isFailedState, F as LeafStep, H as isBranchStep, I as LeafStepOptions, L as Step, M as ExecutionContext, N as InferStepOutput, O as isSucceededState, P as InstallationContext, R as StepContextFactory, S as InstallationStatus, T as isCompletedState, U as isLeafStep, V as defineLeafStep, _ as FailedInstallationState, a as CustomInstallationStepHandler, b as InstallationError, c as ExecuteWorkflowOptions, d as InstallationHooks, f as StepEvent, g as ExecutionStatus, h as StepSucceededEvent, i as runInstallation, j as BranchStepOptions, k as AnyStep, l as createInitialState, m as StepStartedEvent, n as RunInstallationOptions, o as defineCustomInstallationStep, p as StepFailedEvent, r as createInitialInstallationState, s as CreateInitialStateOptions, t as CreateInitialInstallationStateOptions, u as executeWorkflow, v as InProgressInstallationState, w as SucceededInstallationState, x as InstallationState, y as InstallationData, z as StepMeta } from "../index-C5SutkJQ.cjs";
2
2
  export { AnyStep, BranchStep, BranchStepOptions, CreateInitialInstallationStateOptions, CreateInitialStateOptions, CustomInstallationStepHandler, ExecuteWorkflowOptions, ExecutionContext, ExecutionStatus, FailedInstallationState, InProgressInstallationState, InferStepOutput, InstallationContext, InstallationData, InstallationError, InstallationHooks, InstallationState, InstallationStatus, LeafStep, LeafStepOptions, RunInstallationOptions, Step, StepContextFactory, StepEvent, StepFailedEvent, StepMeta, StepStartedEvent, StepStatus, StepSucceededEvent, SucceededInstallationState, createInitialInstallationState, createInitialState, defineBranchStep, defineCustomInstallationStep, defineLeafStep, executeWorkflow, isBranchStep, isCompletedState, isFailedState, isInProgressState, isLeafStep, isSucceededState, runInstallation };