@wix/auto_sdk_containers_plans 1.0.4 → 1.0.6

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.
@@ -1,4 +1,4 @@
1
- import { CreatePlanRequest as CreatePlanRequest$1, CreatePlanResponse as CreatePlanResponse$1, CreateAndGeneratePlanRequest as CreateAndGeneratePlanRequest$1, CreateAndGeneratePlanResponse as CreateAndGeneratePlanResponse$1, GetPlanRequest as GetPlanRequest$1, GetPlanResponse as GetPlanResponse$1, GetPlanByProjectIdRequest as GetPlanByProjectIdRequest$1, GetPlanByProjectIdResponse as GetPlanByProjectIdResponse$1, UpdatePlanRequest as UpdatePlanRequest$1, UpdatePlanResponse as UpdatePlanResponse$1, DeletePlanRequest as DeletePlanRequest$1, DeletePlanResponse as DeletePlanResponse$1, GeneratePlanRequest as GeneratePlanRequest$1, GeneratePlanResponse as GeneratePlanResponse$1, ModifyPlanRequest as ModifyPlanRequest$1, ModifyPlanResponse as ModifyPlanResponse$1, RegenerateIconRequest as RegenerateIconRequest$1, RegenerateIconResponse as RegenerateIconResponse$1, FinalizePlanRequest as FinalizePlanRequest$1, FinalizePlanResponse as FinalizePlanResponse$1 } from './index.js';
1
+ import { CreatePlanRequest as CreatePlanRequest$1, CreatePlanResponse as CreatePlanResponse$1, CreateAndGeneratePlanRequest as CreateAndGeneratePlanRequest$1, CreateAndGeneratePlanResponse as CreateAndGeneratePlanResponse$1, GetPlanRequest as GetPlanRequest$1, GetPlanResponse as GetPlanResponse$1, GetPlanByProjectIdRequest as GetPlanByProjectIdRequest$1, GetPlanByProjectIdResponse as GetPlanByProjectIdResponse$1, UpdatePlanRequest as UpdatePlanRequest$1, UpdatePlanResponse as UpdatePlanResponse$1, DeletePlanRequest as DeletePlanRequest$1, DeletePlanResponse as DeletePlanResponse$1, GeneratePlanRequest as GeneratePlanRequest$1, GeneratePlanResponse as GeneratePlanResponse$1, ModifyPlanRequest as ModifyPlanRequest$1, ModifyPlanResponse as ModifyPlanResponse$1, RegenerateIconRequest as RegenerateIconRequest$1, RegenerateIconResponse as RegenerateIconResponse$1, FinalizePlanRequest as FinalizePlanRequest$1, FinalizePlanResponse as FinalizePlanResponse$1, GetPromptSuggestionsRequest as GetPromptSuggestionsRequest$1, GetPromptSuggestionsResponse as GetPromptSuggestionsResponse$1 } from './index.js';
2
2
 
3
3
  interface Plan {
4
4
  /**
@@ -115,7 +115,116 @@ interface BusinessContext {
115
115
  * @format WEB_URL
116
116
  */
117
117
  publicSiteUrl?: string | null;
118
+ /**
119
+ * What the server learned from the site's content before the first plan was generated: the
120
+ * business, its goal and the content an app can show. Absent for older plans, when the analysis
121
+ * is off for the site, or when it did not finish.
122
+ * @readonly
123
+ */
124
+ analysis?: BusinessAnalysis;
125
+ }
126
+ /** A short analysis of the business, made from the site's content for the planning agent. */
127
+ interface BusinessAnalysis {
128
+ /**
129
+ * Industry of the business, for example "yoga studio".
130
+ * @maxLength 200
131
+ */
132
+ industry?: string;
133
+ /**
134
+ * Short factual summary of the business and what its site offers.
135
+ * @maxLength 2000
136
+ */
137
+ summary?: string;
138
+ /**
139
+ * The main outcome the business wants from its customers, for example "Get more class bookings".
140
+ * @maxLength 500
141
+ */
142
+ businessGoal?: string;
143
+ /** How strongly the site's content supports business_goal. */
144
+ businessGoalConfidence?: BusinessGoalConfidenceWithLiterals;
145
+ /**
146
+ * Who the business's customers are.
147
+ * @maxLength 500
148
+ */
149
+ audience?: string;
150
+ /**
151
+ * Main products or services the business offers, as named on the site.
152
+ * @maxSize 6
153
+ * @maxLength 200
154
+ */
155
+ keyOfferings?: string[];
156
+ /**
157
+ * Site content of each kind that the generated app can show.
158
+ * @maxSize 10
159
+ */
160
+ usableContent?: UsableContent[];
161
+ /**
162
+ * Names of the Wix business apps installed on the site, for example "Wix Bookings".
163
+ * @maxSize 30
164
+ * @maxLength 100
165
+ */
166
+ installedVerticals?: string[];
167
+ /**
168
+ * Short points the app should focus on to serve business_goal.
169
+ * @maxSize 3
170
+ * @maxLength 300
171
+ */
172
+ appFocus?: string[];
173
+ /**
174
+ * How the site's own text sounds to its customers, so the app's text can sound the same, for
175
+ * example "Warm and homely; short sentences; speaks to the customer as 'you'".
176
+ * @maxLength 500
177
+ */
178
+ toneOfVoice?: string;
179
+ /**
180
+ * Up to three short phrases quoted from the site that show its tone of voice.
181
+ * @maxSize 3
182
+ * @maxLength 200
183
+ */
184
+ toneExamples?: string[];
185
+ }
186
+ declare enum BusinessGoalConfidence {
187
+ /** The site gives little or conflicting evidence for the goal. */
188
+ LOW = "LOW",
189
+ /** The goal is a reasonable inference from the site. */
190
+ MEDIUM = "MEDIUM",
191
+ /** The goal follows directly from strong evidence, such as a booking app with services. */
192
+ HIGH = "HIGH"
193
+ }
194
+ /** @enumType */
195
+ type BusinessGoalConfidenceWithLiterals = BusinessGoalConfidence | 'LOW' | 'MEDIUM' | 'HIGH';
196
+ /** Site content of one kind that the generated app can show. */
197
+ interface UsableContent {
198
+ /** Where the content comes from. */
199
+ source?: ContentSourceWithLiterals;
200
+ /**
201
+ * What the content is, for example "12 yoga and pilates classes with prices".
202
+ * @maxLength 500
203
+ */
204
+ description?: string;
205
+ /** Number of items found, when known. */
206
+ itemCount?: number | null;
207
+ }
208
+ declare enum ContentSource {
209
+ /** Wix Stores products. */
210
+ STORES = "STORES",
211
+ /** Wix Bookings services. */
212
+ BOOKINGS = "BOOKINGS",
213
+ /** Wix Events events. */
214
+ EVENTS = "EVENTS",
215
+ /** Wix Blog posts. */
216
+ BLOG = "BLOG",
217
+ /** Wix Pricing Plans plans. */
218
+ PRICING_PLANS = "PRICING_PLANS",
219
+ /** Wix Restaurants menu items. */
220
+ RESTAURANTS = "RESTAURANTS",
221
+ /** Wix CMS (Wix Data) collections. */
222
+ CMS = "CMS",
223
+ /** Text of the published site's home page. */
224
+ SITE_TEXT = "SITE_TEXT"
118
225
  }
226
+ /** @enumType */
227
+ type ContentSourceWithLiterals = ContentSource | 'STORES' | 'BOOKINGS' | 'EVENTS' | 'BLOG' | 'PRICING_PLANS' | 'RESTAURANTS' | 'CMS' | 'SITE_TEXT';
119
228
  /**
120
229
  * Visual identity extracted from the user's existing website. Serves as an editable
121
230
  * starting point for the generated app.
@@ -497,6 +606,48 @@ interface FinalizePlanResponse {
497
606
  /** The finalized Plan. */
498
607
  plan?: Plan;
499
608
  }
609
+ interface GetPromptSuggestionsRequest {
610
+ }
611
+ interface GetPromptSuggestionsResponse {
612
+ /**
613
+ * Name of the business the suggestions are for. Empty when unknown.
614
+ * @maxLength 200
615
+ */
616
+ businessName?: string;
617
+ /**
618
+ * The owner's first request, ready to send or to edit. Empty when there are no suggestions.
619
+ * @maxLength 500
620
+ */
621
+ defaultPrompt?: string;
622
+ /**
623
+ * App ideas for this business, strongest first: none, or 3 to 5.
624
+ * @maxSize 5
625
+ */
626
+ suggestions?: PromptSuggestion[];
627
+ /** Where the suggestions come from. */
628
+ source?: PromptSuggestionsSourceWithLiterals;
629
+ }
630
+ /** One suggestion chip. */
631
+ interface PromptSuggestion {
632
+ /**
633
+ * Short chip text, one line on a phone, for example "Workshop booking app".
634
+ * @maxLength 42
635
+ */
636
+ label?: string;
637
+ /**
638
+ * The owner's full request that the chip puts in the prompt box.
639
+ * @maxLength 400
640
+ */
641
+ prompt?: string;
642
+ }
643
+ declare enum PromptSuggestionsSource {
644
+ /** Made from the site's business profile. */
645
+ BUSINESS_PROFILE = "BUSINESS_PROFILE",
646
+ /** No suggestions: show the static first prompt. */
647
+ NO_SUGGESTIONS = "NO_SUGGESTIONS"
648
+ }
649
+ /** @enumType */
650
+ type PromptSuggestionsSourceWithLiterals = PromptSuggestionsSource | 'BUSINESS_PROFILE' | 'NO_SUGGESTIONS';
500
651
  interface DomainEvent extends DomainEventBodyOneOf {
501
652
  createdEvent?: EntityCreatedEvent;
502
653
  updatedEvent?: EntityUpdatedEvent;
@@ -689,5 +840,6 @@ declare function regenerateIcon(): __PublicMethodMetaInfo<'POST', {
689
840
  declare function finalizePlan(): __PublicMethodMetaInfo<'POST', {
690
841
  planId: string;
691
842
  }, FinalizePlanRequest$1, FinalizePlanRequest, FinalizePlanResponse$1, FinalizePlanResponse>;
843
+ declare function getPromptSuggestions(): __PublicMethodMetaInfo<'GET', {}, GetPromptSuggestionsRequest$1, GetPromptSuggestionsRequest, GetPromptSuggestionsResponse$1, GetPromptSuggestionsResponse>;
692
844
 
693
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AnsweredQuestion as AnsweredQuestionOriginal, type AppSpec as AppSpecOriginal, type BrandIdentity as BrandIdentityOriginal, type BusinessContext as BusinessContextOriginal, type CreateAndGeneratePlanRequest as CreateAndGeneratePlanRequestOriginal, type CreateAndGeneratePlanResponse as CreateAndGeneratePlanResponseOriginal, type CreatePlanRequest as CreatePlanRequestOriginal, type CreatePlanResponse as CreatePlanResponseOriginal, type DeletePlanRequest as DeletePlanRequestOriginal, type DeletePlanResponse as DeletePlanResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type Feature as FeatureOriginal, type FinalizePlanRequest as FinalizePlanRequestOriginal, type FinalizePlanResponse as FinalizePlanResponseOriginal, type FollowUpQuestion as FollowUpQuestionOriginal, type GeneratePlanRequest as GeneratePlanRequestOriginal, type GeneratePlanResponse as GeneratePlanResponseOriginal, type GetPlanByProjectIdRequest as GetPlanByProjectIdRequestOriginal, type GetPlanByProjectIdResponse as GetPlanByProjectIdResponseOriginal, type GetPlanRequest as GetPlanRequestOriginal, type GetPlanResponse as GetPlanResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Integration as IntegrationOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifyPlanRequest as ModifyPlanRequestOriginal, type ModifyPlanResponse as ModifyPlanResponseOriginal, type PlanEditContext as PlanEditContextOriginal, type PlanFinalized as PlanFinalizedOriginal, type Plan as PlanOriginal, PlanPartType as PlanPartTypeOriginal, type PlanPartTypeWithLiterals as PlanPartTypeWithLiteralsOriginal, PlanStatus as PlanStatusOriginal, type PlanStatusWithLiterals as PlanStatusWithLiteralsOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type RegenerateIconRequest as RegenerateIconRequestOriginal, type RegenerateIconResponse as RegenerateIconResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type UpdatePlanRequest as UpdatePlanRequestOriginal, type UpdatePlanResponse as UpdatePlanResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, createAndGeneratePlan, createPlan, deletePlan, finalizePlan, generatePlan, getPlan, getPlanByProjectId, modifyPlan, regenerateIcon, updatePlan };
845
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AnsweredQuestion as AnsweredQuestionOriginal, type AppSpec as AppSpecOriginal, type BrandIdentity as BrandIdentityOriginal, type BusinessAnalysis as BusinessAnalysisOriginal, type BusinessContext as BusinessContextOriginal, BusinessGoalConfidence as BusinessGoalConfidenceOriginal, type BusinessGoalConfidenceWithLiterals as BusinessGoalConfidenceWithLiteralsOriginal, ContentSource as ContentSourceOriginal, type ContentSourceWithLiterals as ContentSourceWithLiteralsOriginal, type CreateAndGeneratePlanRequest as CreateAndGeneratePlanRequestOriginal, type CreateAndGeneratePlanResponse as CreateAndGeneratePlanResponseOriginal, type CreatePlanRequest as CreatePlanRequestOriginal, type CreatePlanResponse as CreatePlanResponseOriginal, type DeletePlanRequest as DeletePlanRequestOriginal, type DeletePlanResponse as DeletePlanResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type Feature as FeatureOriginal, type FinalizePlanRequest as FinalizePlanRequestOriginal, type FinalizePlanResponse as FinalizePlanResponseOriginal, type FollowUpQuestion as FollowUpQuestionOriginal, type GeneratePlanRequest as GeneratePlanRequestOriginal, type GeneratePlanResponse as GeneratePlanResponseOriginal, type GetPlanByProjectIdRequest as GetPlanByProjectIdRequestOriginal, type GetPlanByProjectIdResponse as GetPlanByProjectIdResponseOriginal, type GetPlanRequest as GetPlanRequestOriginal, type GetPlanResponse as GetPlanResponseOriginal, type GetPromptSuggestionsRequest as GetPromptSuggestionsRequestOriginal, type GetPromptSuggestionsResponse as GetPromptSuggestionsResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Integration as IntegrationOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifyPlanRequest as ModifyPlanRequestOriginal, type ModifyPlanResponse as ModifyPlanResponseOriginal, type PlanEditContext as PlanEditContextOriginal, type PlanFinalized as PlanFinalizedOriginal, type Plan as PlanOriginal, PlanPartType as PlanPartTypeOriginal, type PlanPartTypeWithLiterals as PlanPartTypeWithLiteralsOriginal, PlanStatus as PlanStatusOriginal, type PlanStatusWithLiterals as PlanStatusWithLiteralsOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type PromptSuggestion as PromptSuggestionOriginal, PromptSuggestionsSource as PromptSuggestionsSourceOriginal, type PromptSuggestionsSourceWithLiterals as PromptSuggestionsSourceWithLiteralsOriginal, type RegenerateIconRequest as RegenerateIconRequestOriginal, type RegenerateIconResponse as RegenerateIconResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type UpdatePlanRequest as UpdatePlanRequestOriginal, type UpdatePlanResponse as UpdatePlanResponseOriginal, type UsableContent as UsableContentOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, createAndGeneratePlan, createPlan, deletePlan, finalizePlan, generatePlan, getPlan, getPlanByProjectId, getPromptSuggestions, modifyPlan, regenerateIcon, updatePlan };
package/build/cjs/meta.js CHANGED
@@ -20,9 +20,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // meta.ts
21
21
  var meta_exports = {};
22
22
  __export(meta_exports, {
23
+ BusinessGoalConfidenceOriginal: () => BusinessGoalConfidence,
24
+ ContentSourceOriginal: () => ContentSource,
23
25
  PlanPartTypeOriginal: () => PlanPartType,
24
26
  PlanStatusOriginal: () => PlanStatus,
25
27
  PlatformOriginal: () => Platform,
28
+ PromptSuggestionsSourceOriginal: () => PromptSuggestionsSource,
26
29
  WebhookIdentityTypeOriginal: () => WebhookIdentityType,
27
30
  createAndGeneratePlan: () => createAndGeneratePlan2,
28
31
  createPlan: () => createPlan2,
@@ -31,6 +34,7 @@ __export(meta_exports, {
31
34
  generatePlan: () => generatePlan2,
32
35
  getPlan: () => getPlan2,
33
36
  getPlanByProjectId: () => getPlanByProjectId2,
37
+ getPromptSuggestions: () => getPromptSuggestions2,
34
38
  modifyPlan: () => modifyPlan2,
35
39
  regenerateIcon: () => regenerateIcon2,
36
40
  updatePlan: () => updatePlan2
@@ -341,6 +345,27 @@ function finalizePlan(payload) {
341
345
  }
342
346
  return __finalizePlan;
343
347
  }
348
+ function getPromptSuggestions(payload) {
349
+ function __getPromptSuggestions({ host }) {
350
+ const metadata = {
351
+ entityFqdn: "wix.containers.plans.v1.plan",
352
+ method: "GET",
353
+ methodFqn: "wix.containers.plans.v1.ContainersPlans.GetPromptSuggestions",
354
+ packageName: PACKAGE_NAME,
355
+ migrationOptions: {
356
+ optInTransformResponse: true
357
+ },
358
+ url: resolveWixContainersPlansV1ContainersPlansUrl({
359
+ protoPath: "/v1/prompt-suggestions",
360
+ data: payload,
361
+ host
362
+ }),
363
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
364
+ };
365
+ return metadata;
366
+ }
367
+ return __getPromptSuggestions;
368
+ }
344
369
 
345
370
  // src/containers-plans-v1-plan-plans.types.ts
346
371
  var Platform = /* @__PURE__ */ ((Platform2) => {
@@ -352,6 +377,23 @@ var PlanStatus = /* @__PURE__ */ ((PlanStatus2) => {
352
377
  PlanStatus2["FINALIZED"] = "FINALIZED";
353
378
  return PlanStatus2;
354
379
  })(PlanStatus || {});
380
+ var BusinessGoalConfidence = /* @__PURE__ */ ((BusinessGoalConfidence2) => {
381
+ BusinessGoalConfidence2["LOW"] = "LOW";
382
+ BusinessGoalConfidence2["MEDIUM"] = "MEDIUM";
383
+ BusinessGoalConfidence2["HIGH"] = "HIGH";
384
+ return BusinessGoalConfidence2;
385
+ })(BusinessGoalConfidence || {});
386
+ var ContentSource = /* @__PURE__ */ ((ContentSource2) => {
387
+ ContentSource2["STORES"] = "STORES";
388
+ ContentSource2["BOOKINGS"] = "BOOKINGS";
389
+ ContentSource2["EVENTS"] = "EVENTS";
390
+ ContentSource2["BLOG"] = "BLOG";
391
+ ContentSource2["PRICING_PLANS"] = "PRICING_PLANS";
392
+ ContentSource2["RESTAURANTS"] = "RESTAURANTS";
393
+ ContentSource2["CMS"] = "CMS";
394
+ ContentSource2["SITE_TEXT"] = "SITE_TEXT";
395
+ return ContentSource2;
396
+ })(ContentSource || {});
355
397
  var PlanPartType = /* @__PURE__ */ ((PlanPartType2) => {
356
398
  PlanPartType2["APP_NAME"] = "APP_NAME";
357
399
  PlanPartType2["APP_DESCRIPTION"] = "APP_DESCRIPTION";
@@ -366,6 +408,11 @@ var PlanPartType = /* @__PURE__ */ ((PlanPartType2) => {
366
408
  PlanPartType2["TEXT_THEME"] = "TEXT_THEME";
367
409
  return PlanPartType2;
368
410
  })(PlanPartType || {});
411
+ var PromptSuggestionsSource = /* @__PURE__ */ ((PromptSuggestionsSource2) => {
412
+ PromptSuggestionsSource2["BUSINESS_PROFILE"] = "BUSINESS_PROFILE";
413
+ PromptSuggestionsSource2["NO_SUGGESTIONS"] = "NO_SUGGESTIONS";
414
+ return PromptSuggestionsSource2;
415
+ })(PromptSuggestionsSource || {});
369
416
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
370
417
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
371
418
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -556,11 +603,32 @@ function finalizePlan2() {
556
603
  __originalResponseType: null
557
604
  };
558
605
  }
606
+ function getPromptSuggestions2() {
607
+ const payload = {};
608
+ const getRequestOptions = getPromptSuggestions(payload);
609
+ const getUrl = (context) => {
610
+ const { url } = getRequestOptions(context);
611
+ return url;
612
+ };
613
+ return {
614
+ getUrl,
615
+ httpMethod: "GET",
616
+ path: "/v1/prompt-suggestions",
617
+ pathParams: {},
618
+ __requestType: null,
619
+ __originalRequestType: null,
620
+ __responseType: null,
621
+ __originalResponseType: null
622
+ };
623
+ }
559
624
  // Annotate the CommonJS export names for ESM import in node:
560
625
  0 && (module.exports = {
626
+ BusinessGoalConfidenceOriginal,
627
+ ContentSourceOriginal,
561
628
  PlanPartTypeOriginal,
562
629
  PlanStatusOriginal,
563
630
  PlatformOriginal,
631
+ PromptSuggestionsSourceOriginal,
564
632
  WebhookIdentityTypeOriginal,
565
633
  createAndGeneratePlan,
566
634
  createPlan,
@@ -569,6 +637,7 @@ function finalizePlan2() {
569
637
  generatePlan,
570
638
  getPlan,
571
639
  getPlanByProjectId,
640
+ getPromptSuggestions,
572
641
  modifyPlan,
573
642
  regenerateIcon,
574
643
  updatePlan
@@ -1 +1 @@
1
- {"version":3,"sources":["../../meta.ts","../../src/containers-plans-v1-plan-plans.http.ts","../../src/containers-plans-v1-plan-plans.types.ts","../../src/containers-plans-v1-plan-plans.meta.ts"],"sourcesContent":["export * from './src/containers-plans-v1-plan-plans.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'plan.createdDate' },\n { path: 'plan.updatedDate' },\n];\nconst TRANSFORM_PATHS_1 = [{ path: 'fieldMask' }];\n\nfunction resolveWixContainersPlansV1ContainersPlansUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/containers-plans',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_containers_plans';\n\n/** Creates a new Plan. */\nexport function createPlan(payload: object): RequestOptionsFactory<any> {\n function __createPlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.CreatePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createPlan;\n}\n\n/** Creates a new Plan and immediately generates it using the planning agent. */\nexport function createAndGeneratePlan(\n payload: object\n): RequestOptionsFactory<any> {\n function __createAndGeneratePlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn:\n 'wix.containers.plans.v1.ContainersPlans.CreateAndGeneratePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/create-and-generate',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createAndGeneratePlan;\n}\n\n/** Retrieves a Plan by its ID. */\nexport function getPlan(payload: object): RequestOptionsFactory<any> {\n function __getPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'GET' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.GetPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPlan;\n}\n\n/**\n * Retrieves the (single) Plan for a project. Server-to-server: containers-projects uses this to\n * read the finalized plan when creating the initial generation job.\n */\nexport function getPlanByProjectId(\n payload: object\n): RequestOptionsFactory<any> {\n function __getPlanByProjectId({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'GET' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.GetPlanByProjectId',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/by-project/{projectId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPlanByProjectId;\n}\n\n/** Updates a Plan. The current revision must be passed for optimistic locking. */\nexport function updatePlan(payload: object): RequestOptionsFactory<any> {\n function __updatePlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_1,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'PATCH' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.UpdatePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{plan.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePlan;\n}\n\n/** Deletes a Plan. */\nexport function deletePlan(payload: object): RequestOptionsFactory<any> {\n function __deletePlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'DELETE' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.DeletePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deletePlan;\n}\n\n/**\n * Generates the plan for an already-created Plan using the planning agent, from the plan's\n * extracted business context + brand identity, the initial prompt, the platform, and the\n * selected template. Populates app_spec (and brand_identity) and returns follow-up questions.\n */\nexport function generatePlan(payload: object): RequestOptionsFactory<any> {\n function __generatePlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.GeneratePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}/generate',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __generatePlan;\n}\n\n/**\n * Modifies an existing Plan based on the user's answers to the previous iteration's\n * follow-up questions plus an optional additional prompt. Returns the updated plan and\n * any new follow-up questions.\n */\nexport function modifyPlan(payload: object): RequestOptionsFactory<any> {\n function __modifyPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.ModifyPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}/modify',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __modifyPlan;\n}\n\n/**\n * Generates a candidate icon for a Plan from user-provided text via PromptHub. The current\n * business_context (including any existing icon, sent as a reference image) is resolved\n * server-side; the caller supplies only the prompt. Does not persist the result — the caller\n * saves an accepted icon with UpdatePlan (app_spec.app_icon_url).\n */\nexport function regenerateIcon(payload: object): RequestOptionsFactory<any> {\n function __regenerateIcon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.RegenerateIcon',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}/regenerate-icon',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __regenerateIcon;\n}\n\n/**\n * Finalizes a Plan for generation, transitioning it to FINALIZED and emitting a PlanFinalized\n * action event that drives the linked Project into BUILDING. Generates an icon first if it is\n * missing. If icon generation fails, the Plan stays editable and finalization can be retried;\n * RegenerateIcon and UpdatePlan can also be used to accept an icon independently.\n */\nexport function finalizePlan(payload: object): RequestOptionsFactory<any> {\n function __finalizePlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.FinalizePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}/finalize',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __finalizePlan;\n}\n","export interface Plan {\n /**\n * Plan ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the Plan is updated.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the Plan was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the Plan was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * The user's initial free-text prompt that started the plan.\n * @maxLength 10000\n */\n initialPrompt?: string;\n /** Generation platform for the app. */\n platform?: PlatformWithLiterals;\n /** Lifecycle status of the Plan. */\n status?: PlanStatusWithLiterals;\n /**\n * Template chosen for generation. A Code Store `containers-templates` catalog GUID, or (for\n * HIMALAYA_MOBILE) a himi starter template name (e.g. \"branded-lite\") that does not resolve to\n * a catalog entry — see `PlansService.resolveTemplate`/`validateTemplatePlatform`, which treat a\n * non-GUID value as an opaque template name rather than a catalog reference.\n * @maxLength 200\n */\n selectedTemplateId?: string | null;\n /**\n * The project this plan belongs to. Supplied by the client at creation.\n * @format GUID\n */\n projectId?: string | null;\n /**\n * Facts extracted from the existing business/site. Derived server-side and read-only to clients.\n * @readonly\n */\n businessContext?: BusinessContext;\n /** Visual identity extracted from the user's website. A starting point the user can edit. */\n brandIdentity?: BrandIdentity;\n /** The specification of the app to generate, produced from the plan prompt. */\n appSpec?: AppSpec;\n}\n\nexport enum Platform {\n /**\n * Himalaya Mobile (Wix SDUI/OTA content package): mobile apps built headlessly on the\n * on-demand remote machine via the himi CLI, instead of native iOS/Android pods.\n */\n HIMALAYA_MOBILE = 'HIMALAYA_MOBILE',\n}\n\n/** @enumType */\nexport type PlatformWithLiterals = Platform | 'HIMALAYA_MOBILE';\n\nexport enum PlanStatus {\n /** Plan is being assembled by the planning agent and the user. */\n DRAFT = 'DRAFT',\n /** Plan is complete and approved; ready for the generation pipeline. */\n FINALIZED = 'FINALIZED',\n}\n\n/** @enumType */\nexport type PlanStatusWithLiterals = PlanStatus | 'DRAFT' | 'FINALIZED';\n\n/**\n * Facts the server extracts about the existing business/site. The client reads these\n * to inform the app spec, but does not write them.\n */\nexport interface BusinessContext {\n /**\n * Business name as configured on the site.\n * @maxLength 200\n */\n businessName?: string;\n /**\n * Business logo image URL, extracted from the site (empty if it has none).\n * App icons are generated separately; AppSpec.app_icon_url stores the accepted app-icon reference.\n * @maxLength 2000\n */\n businessLogoUrl?: string;\n /**\n * Business description as configured on the site.\n * @maxLength 5000\n */\n businessDescription?: string;\n /**\n * Primary language code of the site (for example \"en\").\n * @maxLength 20\n */\n language?: string;\n /**\n * Country code of the site (for example \"IE\").\n * @maxLength 20\n */\n country?: string;\n /**\n * App definition IDs of Wix apps installed on the site (for example Bookings, eCommerce).\n * @maxSize 100\n * @maxLength 200\n */\n wixIntegrations?: string[];\n /**\n * Primary published URL of the current site, resolved by the server during plan creation.\n * Absent for older plans, unpublished sites, or when the URL cannot be resolved.\n * @readonly\n * @format WEB_URL\n */\n publicSiteUrl?: string | null;\n}\n\n/**\n * Visual identity extracted from the user's existing website. Serves as an editable\n * starting point for the generated app.\n */\nexport interface BrandIdentity {\n /**\n * Primary brand color.\n * @maxLength 100\n */\n primaryColor?: string;\n /**\n * Background color.\n * @maxLength 100\n */\n backgroundColor?: string;\n /**\n * Content (foreground) color.\n * @maxLength 100\n */\n contentColor?: string;\n /**\n * Heading typography / font.\n * @maxLength 100\n */\n headingFont?: string;\n /**\n * Body typography / font.\n * @maxLength 100\n */\n bodyFont?: string;\n}\n\n/**\n * The specification of the app to generate, produced from the plan prompt and confirmed\n * by the user.\n */\nexport interface AppSpec {\n /**\n * Display name of the app to generate.\n * @maxLength 200\n */\n appName?: string;\n /**\n * Description of the app to generate.\n * @maxLength 5000\n */\n appDescription?: string;\n /**\n * The business goal the app should serve.\n * @maxLength 2000\n */\n businessGoal?: string;\n /**\n * The target audience for the app.\n * @maxLength 2000\n */\n audience?: string;\n /**\n * Wix integrations to include, each with a display name, description, and capability tags.\n * @maxSize 100\n */\n wixIntegrations?: Integration[];\n /**\n * Third-party integrations to include, each with a display name, description, and capability tags.\n * @maxSize 100\n */\n thirdPartyIntegrations?: Integration[];\n /**\n * Features the app should provide, each with a title and description.\n * @maxSize 200\n */\n features?: Feature[];\n /**\n * Navigation screens for the app.\n * @maxSize 100\n * @maxLength 200\n */\n navigation?: string[];\n /**\n * Icon URL for the app to generate. Generated at plan creation from the initial prompt and\n * available business context. The client can replace it with an accepted RegenerateIcon result\n * via UpdatePlan. FinalizePlan retries generation when the icon is missing before starting a build.\n * @format WEB_URL\n * @maxLength 2000\n */\n appIconUrl?: string;\n}\n\n/**\n * An integration (Wix or third-party) the generated app should include, produced by the\n * planning agent from the prompt.\n */\nexport interface Integration {\n /**\n * Display name, for example \"Wix Stores\".\n * @maxLength 200\n */\n displayName?: string;\n /**\n * What the integration provides / why it is included.\n * @maxLength 2000\n */\n description?: string;\n /**\n * Sub-capabilities the integration includes, rendered as tags (for example \"Storefront\",\n * \"Cart & Checkout\").\n * @maxSize 50\n * @maxLength 100\n */\n tags?: string[];\n /**\n * Stable integration id / slug (for example \"wix-stores\"). For Wix integrations this is chosen\n * by the planning agent from the server-provided catalog of supported Wix integrations; empty\n * for free-form third-party integrations. The client keys the integration's icon off this id.\n * @maxLength 200\n */\n id?: string;\n}\n\n/** A capability the app should provide, produced by the planning agent from the prompt. */\nexport interface Feature {\n /**\n * Short feature title.\n * @maxLength 200\n */\n title?: string;\n /**\n * What the feature does, shown under the title.\n * @maxLength 2000\n */\n description?: string;\n}\n\nexport interface PlanFinalized {\n /**\n * ID of the Plan that was finalized.\n * @format GUID\n */\n planId?: string;\n /**\n * ID of the Project this plan belongs to. containers-projects reads the finalized plan back by\n * this id (one plan per project) when creating the initial generation job.\n * @format GUID\n */\n projectId?: string;\n /**\n * ID of the conversation that led to this plan being finalized.\n * @format GUID\n */\n conversationId?: string;\n}\n\nexport interface CreatePlanRequest {\n /** Plan to be created. */\n plan: Plan;\n}\n\nexport interface CreatePlanResponse {\n /** The created Plan. */\n plan?: Plan;\n}\n\nexport interface CreateAndGeneratePlanRequest {\n /** Plan to be created and generated. */\n plan: Plan;\n}\n\nexport interface CreateAndGeneratePlanResponse {\n /** The generated Plan. */\n plan?: Plan;\n /**\n * Follow-up questions from the planning agent to further build the plan.\n * @maxSize 50\n * @maxLength 4000\n */\n followUpQuestions?: string[];\n /**\n * Structured follow-up questions with selectable answer options. Superseding follow_up_questions;\n * that field is kept and populated in parallel for callers that have not migrated to this one.\n * @maxSize 4\n */\n followUpQuestionOptions?: FollowUpQuestion[];\n}\n\n/** A suggested follow-up question with answer options that the user can select. */\nexport interface FollowUpQuestion {\n /**\n * Question text.\n * @maxLength 4000\n */\n question?: string;\n /**\n * Answer options that the user can select.\n * @maxSize 10\n * @maxLength 200\n */\n options?: string[];\n}\n\nexport interface GetPlanRequest {\n /**\n * ID of the Plan to retrieve.\n * @format GUID\n */\n planId: string;\n}\n\nexport interface GetPlanResponse {\n /** The requested Plan. */\n plan?: Plan;\n}\n\nexport interface GetPlanByProjectIdRequest {\n /**\n * ID of the project whose Plan to retrieve.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface GetPlanByProjectIdResponse {\n /** The project's Plan. */\n plan?: Plan;\n}\n\nexport interface UpdatePlanRequest {\n /** Plan to be updated, may be partial. */\n plan: Plan;\n /**\n * Set of fields to update. Fields not in the mask are ignored.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdatePlanResponse {\n /** The updated Plan. */\n plan?: Plan;\n}\n\nexport interface DeletePlanRequest {\n /**\n * ID of the Plan to delete.\n * @format GUID\n */\n planId: string;\n}\n\nexport interface DeletePlanResponse {}\n\nexport interface GeneratePlanRequest {\n /**\n * ID of the Plan to generate.\n * @format GUID\n */\n planId: string;\n}\n\nexport interface GeneratePlanResponse {\n /** The generated Plan. */\n plan?: Plan;\n /**\n * Follow-up questions from the planning agent to further build the plan.\n * @maxSize 50\n * @maxLength 4000\n */\n followUpQuestions?: string[];\n /**\n * Structured follow-up questions with selectable answer options. Superseding follow_up_questions;\n * that field is kept and populated in parallel for callers that have not migrated to this one.\n * @maxSize 4\n */\n followUpQuestionOptions?: FollowUpQuestion[];\n}\n\nexport interface ModifyPlanRequest {\n /**\n * ID of the Plan to modify.\n * @format GUID\n */\n planId: string;\n /**\n * The user's answers to the previous iteration's follow-up questions.\n * @maxSize 50\n */\n answeredQuestions?: AnsweredQuestion[];\n /**\n * Optional additional request from the user to further shape the plan.\n * @maxLength 10000\n */\n userPrompt?: string | null;\n /**\n * Optional selected plan part. When present, only this boundary may change.\n * When absent, ModifyPlan keeps its existing whole-plan behavior.\n */\n planEditContext?: PlanEditContext;\n}\n\n/** A follow-up question from a previous iteration paired with the user's answer. */\nexport interface AnsweredQuestion {\n /**\n * The follow-up question that was asked.\n * @maxLength 4000\n */\n question?: string;\n /**\n * The user's answer to the question.\n * @maxLength 10000\n */\n answer?: string;\n}\n\n/** Identifies a part of the app plan. */\nexport interface PlanEditContext {\n /** Plan part type. */\n type?: PlanPartTypeWithLiterals;\n /**\n * Zero-based index of the item within the plan part.\n *\n * Used only when `type` is `FEATURE`, `SCREEN`, `WIX_INTEGRATION`, or `THIRD_PARTY_INTEGRATION`.\n * @max 199\n */\n index?: number | null;\n /**\n * Revision of the plan that the user saw when they selected the part. Used to reject changes to an outdated plan.\n * @min 1\n */\n planRevision?: string | null;\n}\n\nexport enum PlanPartType {\n /** App name. */\n APP_NAME = 'APP_NAME',\n /** App description. */\n APP_DESCRIPTION = 'APP_DESCRIPTION',\n /** Business goal of the app. */\n BUSINESS_GOAL = 'BUSINESS_GOAL',\n /** Target audience of the app. */\n AUDIENCE = 'AUDIENCE',\n /** A feature of the app. */\n FEATURE = 'FEATURE',\n /** A screen of the app. */\n SCREEN = 'SCREEN',\n /** An integration with a Wix app or service. */\n WIX_INTEGRATION = 'WIX_INTEGRATION',\n /** An integration with a third-party service. */\n THIRD_PARTY_INTEGRATION = 'THIRD_PARTY_INTEGRATION',\n /** Brand identity of the app, including colors and fonts. */\n BRAND_IDENTITY = 'BRAND_IDENTITY',\n /** Colors of the brand identity. Fonts don't change. */\n COLOR_THEME = 'COLOR_THEME',\n /** Fonts of the brand identity. Colors don't change. */\n TEXT_THEME = 'TEXT_THEME',\n}\n\n/** @enumType */\nexport type PlanPartTypeWithLiterals =\n | PlanPartType\n | 'APP_NAME'\n | 'APP_DESCRIPTION'\n | 'BUSINESS_GOAL'\n | 'AUDIENCE'\n | 'FEATURE'\n | 'SCREEN'\n | 'WIX_INTEGRATION'\n | 'THIRD_PARTY_INTEGRATION'\n | 'BRAND_IDENTITY'\n | 'COLOR_THEME'\n | 'TEXT_THEME';\n\nexport interface ModifyPlanResponse {\n /** The modified Plan. */\n plan?: Plan;\n /**\n * Follow-up questions the agent wants to ask to further refine the plan.\n * @maxSize 50\n * @maxLength 4000\n */\n followUpQuestions?: string[];\n /**\n * Structured follow-up questions with selectable answer options. Superseding follow_up_questions;\n * that field is kept and populated in parallel for callers that have not migrated to this one.\n * @maxSize 4\n */\n followUpQuestionOptions?: FollowUpQuestion[];\n}\n\nexport interface RegenerateIconRequest {\n /**\n * ID of the Plan whose icon to regenerate.\n * @format GUID\n */\n planId: string;\n /**\n * Free-text description of the desired icon, passed to the icon-generation prompt.\n * @maxLength 4000\n */\n prompt: string;\n}\n\nexport interface RegenerateIconResponse {\n /**\n * The generated icon URL. Not persisted — apply via UpdatePlan (app_spec.app_icon_url).\n * @maxLength 2000\n */\n iconUrl?: string;\n}\n\nexport interface FinalizePlanRequest {\n /**\n * ID of the Plan to finalize. Its project_id and selected_template_id (set at creation)\n * are used to drive generation.\n * @format GUID\n */\n planId: string;\n /**\n * ID of the conversation that led to this plan being finalized.\n * @format GUID\n */\n conversationId: string;\n}\n\nexport interface FinalizePlanResponse {\n /** The finalized Plan. */\n plan?: Plan;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n","import * as ambassadorWixContainersPlansV1Plan from './containers-plans-v1-plan-plans.http.js';\nimport * as ambassadorWixContainersPlansV1PlanTypes from './containers-plans-v1-plan-plans.types.js';\nimport * as ambassadorWixContainersPlansV1PlanUniversalTypes from './containers-plans-v1-plan-plans.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createPlan(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixContainersPlansV1PlanUniversalTypes.CreatePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.CreatePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.CreatePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.CreatePlanResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.createPlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function createAndGeneratePlan(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixContainersPlansV1PlanUniversalTypes.CreateAndGeneratePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.CreateAndGeneratePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.CreateAndGeneratePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.CreateAndGeneratePlanResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.createAndGeneratePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/create-and-generate',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPlan(): __PublicMethodMetaInfo<\n 'GET',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.GetPlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.GetPlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions = ambassadorWixContainersPlansV1Plan.getPlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/plans/{planId}',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPlanByProjectId(): __PublicMethodMetaInfo<\n 'GET',\n { projectId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPlanByProjectIdRequest,\n ambassadorWixContainersPlansV1PlanTypes.GetPlanByProjectIdRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPlanByProjectIdResponse,\n ambassadorWixContainersPlansV1PlanTypes.GetPlanByProjectIdResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.getPlanByProjectId(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/plans/by-project/{projectId}',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updatePlan(): __PublicMethodMetaInfo<\n 'PATCH',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.UpdatePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.UpdatePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.UpdatePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.UpdatePlanResponse\n> {\n const payload = { plan: { id: ':planId' } } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.updatePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/plans/{plan.id}',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deletePlan(): __PublicMethodMetaInfo<\n 'DELETE',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.DeletePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.DeletePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.DeletePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.DeletePlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.deletePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/plans/{planId}',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function generatePlan(): __PublicMethodMetaInfo<\n 'POST',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.GeneratePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.GeneratePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.GeneratePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.GeneratePlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.generatePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/{planId}/generate',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function modifyPlan(): __PublicMethodMetaInfo<\n 'POST',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.ModifyPlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.ModifyPlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.ModifyPlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.ModifyPlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.modifyPlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/{planId}/modify',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function regenerateIcon(): __PublicMethodMetaInfo<\n 'POST',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.RegenerateIconRequest,\n ambassadorWixContainersPlansV1PlanTypes.RegenerateIconRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.RegenerateIconResponse,\n ambassadorWixContainersPlansV1PlanTypes.RegenerateIconResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.regenerateIcon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/{planId}/regenerate-icon',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function finalizePlan(): __PublicMethodMetaInfo<\n 'POST',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.FinalizePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.FinalizePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.FinalizePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.FinalizePlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.finalizePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/{planId}/finalize',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Plan as PlanOriginal,\n Platform as PlatformOriginal,\n PlatformWithLiterals as PlatformWithLiteralsOriginal,\n PlanStatus as PlanStatusOriginal,\n PlanStatusWithLiterals as PlanStatusWithLiteralsOriginal,\n BusinessContext as BusinessContextOriginal,\n BrandIdentity as BrandIdentityOriginal,\n AppSpec as AppSpecOriginal,\n Integration as IntegrationOriginal,\n Feature as FeatureOriginal,\n PlanFinalized as PlanFinalizedOriginal,\n CreatePlanRequest as CreatePlanRequestOriginal,\n CreatePlanResponse as CreatePlanResponseOriginal,\n CreateAndGeneratePlanRequest as CreateAndGeneratePlanRequestOriginal,\n CreateAndGeneratePlanResponse as CreateAndGeneratePlanResponseOriginal,\n FollowUpQuestion as FollowUpQuestionOriginal,\n GetPlanRequest as GetPlanRequestOriginal,\n GetPlanResponse as GetPlanResponseOriginal,\n GetPlanByProjectIdRequest as GetPlanByProjectIdRequestOriginal,\n GetPlanByProjectIdResponse as GetPlanByProjectIdResponseOriginal,\n UpdatePlanRequest as UpdatePlanRequestOriginal,\n UpdatePlanResponse as UpdatePlanResponseOriginal,\n DeletePlanRequest as DeletePlanRequestOriginal,\n DeletePlanResponse as DeletePlanResponseOriginal,\n GeneratePlanRequest as GeneratePlanRequestOriginal,\n GeneratePlanResponse as GeneratePlanResponseOriginal,\n ModifyPlanRequest as ModifyPlanRequestOriginal,\n AnsweredQuestion as AnsweredQuestionOriginal,\n PlanEditContext as PlanEditContextOriginal,\n PlanPartType as PlanPartTypeOriginal,\n PlanPartTypeWithLiterals as PlanPartTypeWithLiteralsOriginal,\n ModifyPlanResponse as ModifyPlanResponseOriginal,\n RegenerateIconRequest as RegenerateIconRequestOriginal,\n RegenerateIconResponse as RegenerateIconResponseOriginal,\n FinalizePlanRequest as FinalizePlanRequestOriginal,\n FinalizePlanResponse as FinalizePlanResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n} from './containers-plans-v1-plan-plans.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+BAAAA;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,eAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,kBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,mBAAmB;AAAA,EAC3B,EAAE,MAAM,mBAAmB;AAC7B;AACA,IAAM,oBAAoB,CAAC,EAAE,MAAM,YAAY,CAAC;AAEhD,SAAS,8CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,aAAO,iCAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,WAAW,SAA6C;AACtE,WAAS,aAAa,EAAE,KAAK,GAAQ;AACnC,UAAM,qBAAiB,uCAAe,SAAS;AAAA,MAC7C;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,MACT;AAAA,IACF,CAAC;AACD,U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oBAC+B,eAAe,OAAO;AAE3D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gBAOd;AACA,QAAM,UAAU,EAAE,QAAQ,UAAU;AAEpC,QAAM,oBAC+B,aAAa,OAAO;AAEzD,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["createAndGeneratePlan","createPlan","deletePlan","finalizePlan","generatePlan","getPlan","getPlanByProjectId","modifyPlan","regenerateIcon","updatePlan","import_timestamp","import_rest_modules","payload","Platform","PlanStatus","PlanPartType","WebhookIdentityType","createPlan","createAndGeneratePlan","getPlan","getPlanByProjectId","updatePlan","deletePlan","generatePlan","modifyPlan","regenerateIcon","finalizePlan"]}
1
+ {"version":3,"sources":["../../meta.ts","../../src/containers-plans-v1-plan-plans.http.ts","../../src/containers-plans-v1-plan-plans.types.ts","../../src/containers-plans-v1-plan-plans.meta.ts"],"sourcesContent":["export * from './src/containers-plans-v1-plan-plans.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'plan.createdDate' },\n { path: 'plan.updatedDate' },\n];\nconst TRANSFORM_PATHS_1 = [{ path: 'fieldMask' }];\n\nfunction resolveWixContainersPlansV1ContainersPlansUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/containers-plans',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_containers_plans';\n\n/** Creates a new Plan. */\nexport function createPlan(payload: object): RequestOptionsFactory<any> {\n function __createPlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.CreatePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createPlan;\n}\n\n/** Creates a new Plan and immediately generates it using the planning agent. */\nexport function createAndGeneratePlan(\n payload: object\n): RequestOptionsFactory<any> {\n function __createAndGeneratePlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn:\n 'wix.containers.plans.v1.ContainersPlans.CreateAndGeneratePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/create-and-generate',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createAndGeneratePlan;\n}\n\n/** Retrieves a Plan by its ID. */\nexport function getPlan(payload: object): RequestOptionsFactory<any> {\n function __getPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'GET' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.GetPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPlan;\n}\n\n/**\n * Retrieves the (single) Plan for a project. Server-to-server: containers-projects uses this to\n * read the finalized plan when creating the initial generation job.\n */\nexport function getPlanByProjectId(\n payload: object\n): RequestOptionsFactory<any> {\n function __getPlanByProjectId({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'GET' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.GetPlanByProjectId',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/by-project/{projectId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPlanByProjectId;\n}\n\n/** Updates a Plan. The current revision must be passed for optimistic locking. */\nexport function updatePlan(payload: object): RequestOptionsFactory<any> {\n function __updatePlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_1,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'PATCH' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.UpdatePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{plan.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePlan;\n}\n\n/** Deletes a Plan. */\nexport function deletePlan(payload: object): RequestOptionsFactory<any> {\n function __deletePlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'DELETE' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.DeletePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deletePlan;\n}\n\n/**\n * Generates the plan for an already-created Plan using the planning agent, from the plan's\n * extracted business context + brand identity, the initial prompt, the platform, and the\n * selected template. Populates app_spec (and brand_identity) and returns follow-up questions.\n */\nexport function generatePlan(payload: object): RequestOptionsFactory<any> {\n function __generatePlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.GeneratePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}/generate',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __generatePlan;\n}\n\n/**\n * Modifies an existing Plan based on the user's answers to the previous iteration's\n * follow-up questions plus an optional additional prompt. Returns the updated plan and\n * any new follow-up questions.\n */\nexport function modifyPlan(payload: object): RequestOptionsFactory<any> {\n function __modifyPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.ModifyPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}/modify',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __modifyPlan;\n}\n\n/**\n * Generates a candidate icon for a Plan from user-provided text via PromptHub. The current\n * business_context (including any existing icon, sent as a reference image) is resolved\n * server-side; the caller supplies only the prompt. Does not persist the result — the caller\n * saves an accepted icon with UpdatePlan (app_spec.app_icon_url).\n */\nexport function regenerateIcon(payload: object): RequestOptionsFactory<any> {\n function __regenerateIcon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.RegenerateIcon',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}/regenerate-icon',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __regenerateIcon;\n}\n\n/**\n * Finalizes a Plan for generation, transitioning it to FINALIZED and emitting a PlanFinalized\n * action event that drives the linked Project into BUILDING. Generates an icon first if it is\n * missing. If icon generation fails, the Plan stays editable and finalization can be retried;\n * RegenerateIcon and UpdatePlan can also be used to accept an icon independently.\n */\nexport function finalizePlan(payload: object): RequestOptionsFactory<any> {\n function __finalizePlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'POST' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.FinalizePlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/plans/{planId}/finalize',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __finalizePlan;\n}\n\n/**\n * Returns a first request and suggestion chips for the site in the call scope, made from the\n * site's business: its content, business goal and tone. The server keeps one business profile per\n * site, checks the site for changes at most every 30 days, and runs the analysis again only when\n * the site changed or once a year. Empty, with source NO_SUGGESTIONS, when the feature is off for\n * the site, the site gives nothing to use, or the first profile is not ready yet; then show the\n * static first prompt.\n */\nexport function getPromptSuggestions(\n payload: object\n): RequestOptionsFactory<any> {\n function __getPromptSuggestions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.plans.v1.plan',\n method: 'GET' as any,\n methodFqn: 'wix.containers.plans.v1.ContainersPlans.GetPromptSuggestions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersPlansV1ContainersPlansUrl({\n protoPath: '/v1/prompt-suggestions',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getPromptSuggestions;\n}\n","export interface Plan {\n /**\n * Plan ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the Plan is updated.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the Plan was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the Plan was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * The user's initial free-text prompt that started the plan.\n * @maxLength 10000\n */\n initialPrompt?: string;\n /** Generation platform for the app. */\n platform?: PlatformWithLiterals;\n /** Lifecycle status of the Plan. */\n status?: PlanStatusWithLiterals;\n /**\n * Template chosen for generation. A Code Store `containers-templates` catalog GUID, or (for\n * HIMALAYA_MOBILE) a himi starter template name (e.g. \"branded-lite\") that does not resolve to\n * a catalog entry — see `PlansService.resolveTemplate`/`validateTemplatePlatform`, which treat a\n * non-GUID value as an opaque template name rather than a catalog reference.\n * @maxLength 200\n */\n selectedTemplateId?: string | null;\n /**\n * The project this plan belongs to. Supplied by the client at creation.\n * @format GUID\n */\n projectId?: string | null;\n /**\n * Facts extracted from the existing business/site. Derived server-side and read-only to clients.\n * @readonly\n */\n businessContext?: BusinessContext;\n /** Visual identity extracted from the user's website. A starting point the user can edit. */\n brandIdentity?: BrandIdentity;\n /** The specification of the app to generate, produced from the plan prompt. */\n appSpec?: AppSpec;\n}\n\nexport enum Platform {\n /**\n * Himalaya Mobile (Wix SDUI/OTA content package): mobile apps built headlessly on the\n * on-demand remote machine via the himi CLI, instead of native iOS/Android pods.\n */\n HIMALAYA_MOBILE = 'HIMALAYA_MOBILE',\n}\n\n/** @enumType */\nexport type PlatformWithLiterals = Platform | 'HIMALAYA_MOBILE';\n\nexport enum PlanStatus {\n /** Plan is being assembled by the planning agent and the user. */\n DRAFT = 'DRAFT',\n /** Plan is complete and approved; ready for the generation pipeline. */\n FINALIZED = 'FINALIZED',\n}\n\n/** @enumType */\nexport type PlanStatusWithLiterals = PlanStatus | 'DRAFT' | 'FINALIZED';\n\n/**\n * Facts the server extracts about the existing business/site. The client reads these\n * to inform the app spec, but does not write them.\n */\nexport interface BusinessContext {\n /**\n * Business name as configured on the site.\n * @maxLength 200\n */\n businessName?: string;\n /**\n * Business logo image URL, extracted from the site (empty if it has none).\n * App icons are generated separately; AppSpec.app_icon_url stores the accepted app-icon reference.\n * @maxLength 2000\n */\n businessLogoUrl?: string;\n /**\n * Business description as configured on the site.\n * @maxLength 5000\n */\n businessDescription?: string;\n /**\n * Primary language code of the site (for example \"en\").\n * @maxLength 20\n */\n language?: string;\n /**\n * Country code of the site (for example \"IE\").\n * @maxLength 20\n */\n country?: string;\n /**\n * App definition IDs of Wix apps installed on the site (for example Bookings, eCommerce).\n * @maxSize 100\n * @maxLength 200\n */\n wixIntegrations?: string[];\n /**\n * Primary published URL of the current site, resolved by the server during plan creation.\n * Absent for older plans, unpublished sites, or when the URL cannot be resolved.\n * @readonly\n * @format WEB_URL\n */\n publicSiteUrl?: string | null;\n /**\n * What the server learned from the site's content before the first plan was generated: the\n * business, its goal and the content an app can show. Absent for older plans, when the analysis\n * is off for the site, or when it did not finish.\n * @readonly\n */\n analysis?: BusinessAnalysis;\n}\n\n/** A short analysis of the business, made from the site's content for the planning agent. */\nexport interface BusinessAnalysis {\n /**\n * Industry of the business, for example \"yoga studio\".\n * @maxLength 200\n */\n industry?: string;\n /**\n * Short factual summary of the business and what its site offers.\n * @maxLength 2000\n */\n summary?: string;\n /**\n * The main outcome the business wants from its customers, for example \"Get more class bookings\".\n * @maxLength 500\n */\n businessGoal?: string;\n /** How strongly the site's content supports business_goal. */\n businessGoalConfidence?: BusinessGoalConfidenceWithLiterals;\n /**\n * Who the business's customers are.\n * @maxLength 500\n */\n audience?: string;\n /**\n * Main products or services the business offers, as named on the site.\n * @maxSize 6\n * @maxLength 200\n */\n keyOfferings?: string[];\n /**\n * Site content of each kind that the generated app can show.\n * @maxSize 10\n */\n usableContent?: UsableContent[];\n /**\n * Names of the Wix business apps installed on the site, for example \"Wix Bookings\".\n * @maxSize 30\n * @maxLength 100\n */\n installedVerticals?: string[];\n /**\n * Short points the app should focus on to serve business_goal.\n * @maxSize 3\n * @maxLength 300\n */\n appFocus?: string[];\n /**\n * How the site's own text sounds to its customers, so the app's text can sound the same, for\n * example \"Warm and homely; short sentences; speaks to the customer as 'you'\".\n * @maxLength 500\n */\n toneOfVoice?: string;\n /**\n * Up to three short phrases quoted from the site that show its tone of voice.\n * @maxSize 3\n * @maxLength 200\n */\n toneExamples?: string[];\n}\n\nexport enum BusinessGoalConfidence {\n /** The site gives little or conflicting evidence for the goal. */\n LOW = 'LOW',\n /** The goal is a reasonable inference from the site. */\n MEDIUM = 'MEDIUM',\n /** The goal follows directly from strong evidence, such as a booking app with services. */\n HIGH = 'HIGH',\n}\n\n/** @enumType */\nexport type BusinessGoalConfidenceWithLiterals =\n | BusinessGoalConfidence\n | 'LOW'\n | 'MEDIUM'\n | 'HIGH';\n\n/** Site content of one kind that the generated app can show. */\nexport interface UsableContent {\n /** Where the content comes from. */\n source?: ContentSourceWithLiterals;\n /**\n * What the content is, for example \"12 yoga and pilates classes with prices\".\n * @maxLength 500\n */\n description?: string;\n /** Number of items found, when known. */\n itemCount?: number | null;\n}\n\nexport enum ContentSource {\n /** Wix Stores products. */\n STORES = 'STORES',\n /** Wix Bookings services. */\n BOOKINGS = 'BOOKINGS',\n /** Wix Events events. */\n EVENTS = 'EVENTS',\n /** Wix Blog posts. */\n BLOG = 'BLOG',\n /** Wix Pricing Plans plans. */\n PRICING_PLANS = 'PRICING_PLANS',\n /** Wix Restaurants menu items. */\n RESTAURANTS = 'RESTAURANTS',\n /** Wix CMS (Wix Data) collections. */\n CMS = 'CMS',\n /** Text of the published site's home page. */\n SITE_TEXT = 'SITE_TEXT',\n}\n\n/** @enumType */\nexport type ContentSourceWithLiterals =\n | ContentSource\n | 'STORES'\n | 'BOOKINGS'\n | 'EVENTS'\n | 'BLOG'\n | 'PRICING_PLANS'\n | 'RESTAURANTS'\n | 'CMS'\n | 'SITE_TEXT';\n\n/**\n * Visual identity extracted from the user's existing website. Serves as an editable\n * starting point for the generated app.\n */\nexport interface BrandIdentity {\n /**\n * Primary brand color.\n * @maxLength 100\n */\n primaryColor?: string;\n /**\n * Background color.\n * @maxLength 100\n */\n backgroundColor?: string;\n /**\n * Content (foreground) color.\n * @maxLength 100\n */\n contentColor?: string;\n /**\n * Heading typography / font.\n * @maxLength 100\n */\n headingFont?: string;\n /**\n * Body typography / font.\n * @maxLength 100\n */\n bodyFont?: string;\n}\n\n/**\n * The specification of the app to generate, produced from the plan prompt and confirmed\n * by the user.\n */\nexport interface AppSpec {\n /**\n * Display name of the app to generate.\n * @maxLength 200\n */\n appName?: string;\n /**\n * Description of the app to generate.\n * @maxLength 5000\n */\n appDescription?: string;\n /**\n * The business goal the app should serve.\n * @maxLength 2000\n */\n businessGoal?: string;\n /**\n * The target audience for the app.\n * @maxLength 2000\n */\n audience?: string;\n /**\n * Wix integrations to include, each with a display name, description, and capability tags.\n * @maxSize 100\n */\n wixIntegrations?: Integration[];\n /**\n * Third-party integrations to include, each with a display name, description, and capability tags.\n * @maxSize 100\n */\n thirdPartyIntegrations?: Integration[];\n /**\n * Features the app should provide, each with a title and description.\n * @maxSize 200\n */\n features?: Feature[];\n /**\n * Navigation screens for the app.\n * @maxSize 100\n * @maxLength 200\n */\n navigation?: string[];\n /**\n * Icon URL for the app to generate. Generated at plan creation from the initial prompt and\n * available business context. The client can replace it with an accepted RegenerateIcon result\n * via UpdatePlan. FinalizePlan retries generation when the icon is missing before starting a build.\n * @format WEB_URL\n * @maxLength 2000\n */\n appIconUrl?: string;\n}\n\n/**\n * An integration (Wix or third-party) the generated app should include, produced by the\n * planning agent from the prompt.\n */\nexport interface Integration {\n /**\n * Display name, for example \"Wix Stores\".\n * @maxLength 200\n */\n displayName?: string;\n /**\n * What the integration provides / why it is included.\n * @maxLength 2000\n */\n description?: string;\n /**\n * Sub-capabilities the integration includes, rendered as tags (for example \"Storefront\",\n * \"Cart & Checkout\").\n * @maxSize 50\n * @maxLength 100\n */\n tags?: string[];\n /**\n * Stable integration id / slug (for example \"wix-stores\"). For Wix integrations this is chosen\n * by the planning agent from the server-provided catalog of supported Wix integrations; empty\n * for free-form third-party integrations. The client keys the integration's icon off this id.\n * @maxLength 200\n */\n id?: string;\n}\n\n/** A capability the app should provide, produced by the planning agent from the prompt. */\nexport interface Feature {\n /**\n * Short feature title.\n * @maxLength 200\n */\n title?: string;\n /**\n * What the feature does, shown under the title.\n * @maxLength 2000\n */\n description?: string;\n}\n\nexport interface PlanFinalized {\n /**\n * ID of the Plan that was finalized.\n * @format GUID\n */\n planId?: string;\n /**\n * ID of the Project this plan belongs to. containers-projects reads the finalized plan back by\n * this id (one plan per project) when creating the initial generation job.\n * @format GUID\n */\n projectId?: string;\n /**\n * ID of the conversation that led to this plan being finalized.\n * @format GUID\n */\n conversationId?: string;\n}\n\nexport interface CreatePlanRequest {\n /** Plan to be created. */\n plan: Plan;\n}\n\nexport interface CreatePlanResponse {\n /** The created Plan. */\n plan?: Plan;\n}\n\nexport interface CreateAndGeneratePlanRequest {\n /** Plan to be created and generated. */\n plan: Plan;\n}\n\nexport interface CreateAndGeneratePlanResponse {\n /** The generated Plan. */\n plan?: Plan;\n /**\n * Follow-up questions from the planning agent to further build the plan.\n * @maxSize 50\n * @maxLength 4000\n */\n followUpQuestions?: string[];\n /**\n * Structured follow-up questions with selectable answer options. Superseding follow_up_questions;\n * that field is kept and populated in parallel for callers that have not migrated to this one.\n * @maxSize 4\n */\n followUpQuestionOptions?: FollowUpQuestion[];\n}\n\n/** A suggested follow-up question with answer options that the user can select. */\nexport interface FollowUpQuestion {\n /**\n * Question text.\n * @maxLength 4000\n */\n question?: string;\n /**\n * Answer options that the user can select.\n * @maxSize 10\n * @maxLength 200\n */\n options?: string[];\n}\n\nexport interface GetPlanRequest {\n /**\n * ID of the Plan to retrieve.\n * @format GUID\n */\n planId: string;\n}\n\nexport interface GetPlanResponse {\n /** The requested Plan. */\n plan?: Plan;\n}\n\nexport interface GetPlanByProjectIdRequest {\n /**\n * ID of the project whose Plan to retrieve.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface GetPlanByProjectIdResponse {\n /** The project's Plan. */\n plan?: Plan;\n}\n\nexport interface UpdatePlanRequest {\n /** Plan to be updated, may be partial. */\n plan: Plan;\n /**\n * Set of fields to update. Fields not in the mask are ignored.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdatePlanResponse {\n /** The updated Plan. */\n plan?: Plan;\n}\n\nexport interface DeletePlanRequest {\n /**\n * ID of the Plan to delete.\n * @format GUID\n */\n planId: string;\n}\n\nexport interface DeletePlanResponse {}\n\nexport interface GeneratePlanRequest {\n /**\n * ID of the Plan to generate.\n * @format GUID\n */\n planId: string;\n}\n\nexport interface GeneratePlanResponse {\n /** The generated Plan. */\n plan?: Plan;\n /**\n * Follow-up questions from the planning agent to further build the plan.\n * @maxSize 50\n * @maxLength 4000\n */\n followUpQuestions?: string[];\n /**\n * Structured follow-up questions with selectable answer options. Superseding follow_up_questions;\n * that field is kept and populated in parallel for callers that have not migrated to this one.\n * @maxSize 4\n */\n followUpQuestionOptions?: FollowUpQuestion[];\n}\n\nexport interface ModifyPlanRequest {\n /**\n * ID of the Plan to modify.\n * @format GUID\n */\n planId: string;\n /**\n * The user's answers to the previous iteration's follow-up questions.\n * @maxSize 50\n */\n answeredQuestions?: AnsweredQuestion[];\n /**\n * Optional additional request from the user to further shape the plan.\n * @maxLength 10000\n */\n userPrompt?: string | null;\n /**\n * Optional selected plan part. When present, only this boundary may change.\n * When absent, ModifyPlan keeps its existing whole-plan behavior.\n */\n planEditContext?: PlanEditContext;\n}\n\n/** A follow-up question from a previous iteration paired with the user's answer. */\nexport interface AnsweredQuestion {\n /**\n * The follow-up question that was asked.\n * @maxLength 4000\n */\n question?: string;\n /**\n * The user's answer to the question.\n * @maxLength 10000\n */\n answer?: string;\n}\n\n/** Identifies a part of the app plan. */\nexport interface PlanEditContext {\n /** Plan part type. */\n type?: PlanPartTypeWithLiterals;\n /**\n * Zero-based index of the item within the plan part.\n *\n * Used only when `type` is `FEATURE`, `SCREEN`, `WIX_INTEGRATION`, or `THIRD_PARTY_INTEGRATION`.\n * @max 199\n */\n index?: number | null;\n /**\n * Revision of the plan that the user saw when they selected the part. Used to reject changes to an outdated plan.\n * @min 1\n */\n planRevision?: string | null;\n}\n\nexport enum PlanPartType {\n /** App name. */\n APP_NAME = 'APP_NAME',\n /** App description. */\n APP_DESCRIPTION = 'APP_DESCRIPTION',\n /** Business goal of the app. */\n BUSINESS_GOAL = 'BUSINESS_GOAL',\n /** Target audience of the app. */\n AUDIENCE = 'AUDIENCE',\n /** A feature of the app. */\n FEATURE = 'FEATURE',\n /** A screen of the app. */\n SCREEN = 'SCREEN',\n /** An integration with a Wix app or service. */\n WIX_INTEGRATION = 'WIX_INTEGRATION',\n /** An integration with a third-party service. */\n THIRD_PARTY_INTEGRATION = 'THIRD_PARTY_INTEGRATION',\n /** Brand identity of the app, including colors and fonts. */\n BRAND_IDENTITY = 'BRAND_IDENTITY',\n /** Colors of the brand identity. Fonts don't change. */\n COLOR_THEME = 'COLOR_THEME',\n /** Fonts of the brand identity. Colors don't change. */\n TEXT_THEME = 'TEXT_THEME',\n}\n\n/** @enumType */\nexport type PlanPartTypeWithLiterals =\n | PlanPartType\n | 'APP_NAME'\n | 'APP_DESCRIPTION'\n | 'BUSINESS_GOAL'\n | 'AUDIENCE'\n | 'FEATURE'\n | 'SCREEN'\n | 'WIX_INTEGRATION'\n | 'THIRD_PARTY_INTEGRATION'\n | 'BRAND_IDENTITY'\n | 'COLOR_THEME'\n | 'TEXT_THEME';\n\nexport interface ModifyPlanResponse {\n /** The modified Plan. */\n plan?: Plan;\n /**\n * Follow-up questions the agent wants to ask to further refine the plan.\n * @maxSize 50\n * @maxLength 4000\n */\n followUpQuestions?: string[];\n /**\n * Structured follow-up questions with selectable answer options. Superseding follow_up_questions;\n * that field is kept and populated in parallel for callers that have not migrated to this one.\n * @maxSize 4\n */\n followUpQuestionOptions?: FollowUpQuestion[];\n}\n\nexport interface RegenerateIconRequest {\n /**\n * ID of the Plan whose icon to regenerate.\n * @format GUID\n */\n planId: string;\n /**\n * Free-text description of the desired icon, passed to the icon-generation prompt.\n * @maxLength 4000\n */\n prompt: string;\n}\n\nexport interface RegenerateIconResponse {\n /**\n * The generated icon URL. Not persisted — apply via UpdatePlan (app_spec.app_icon_url).\n * @maxLength 2000\n */\n iconUrl?: string;\n}\n\nexport interface FinalizePlanRequest {\n /**\n * ID of the Plan to finalize. Its project_id and selected_template_id (set at creation)\n * are used to drive generation.\n * @format GUID\n */\n planId: string;\n /**\n * ID of the conversation that led to this plan being finalized.\n * @format GUID\n */\n conversationId: string;\n}\n\nexport interface FinalizePlanResponse {\n /** The finalized Plan. */\n plan?: Plan;\n}\n\nexport interface GetPromptSuggestionsRequest {}\n\nexport interface GetPromptSuggestionsResponse {\n /**\n * Name of the business the suggestions are for. Empty when unknown.\n * @maxLength 200\n */\n businessName?: string;\n /**\n * The owner's first request, ready to send or to edit. Empty when there are no suggestions.\n * @maxLength 500\n */\n defaultPrompt?: string;\n /**\n * App ideas for this business, strongest first: none, or 3 to 5.\n * @maxSize 5\n */\n suggestions?: PromptSuggestion[];\n /** Where the suggestions come from. */\n source?: PromptSuggestionsSourceWithLiterals;\n}\n\n/** One suggestion chip. */\nexport interface PromptSuggestion {\n /**\n * Short chip text, one line on a phone, for example \"Workshop booking app\".\n * @maxLength 42\n */\n label?: string;\n /**\n * The owner's full request that the chip puts in the prompt box.\n * @maxLength 400\n */\n prompt?: string;\n}\n\nexport enum PromptSuggestionsSource {\n /** Made from the site's business profile. */\n BUSINESS_PROFILE = 'BUSINESS_PROFILE',\n /** No suggestions: show the static first prompt. */\n NO_SUGGESTIONS = 'NO_SUGGESTIONS',\n}\n\n/** @enumType */\nexport type PromptSuggestionsSourceWithLiterals =\n | PromptSuggestionsSource\n | 'BUSINESS_PROFILE'\n | 'NO_SUGGESTIONS';\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n","import * as ambassadorWixContainersPlansV1Plan from './containers-plans-v1-plan-plans.http.js';\nimport * as ambassadorWixContainersPlansV1PlanTypes from './containers-plans-v1-plan-plans.types.js';\nimport * as ambassadorWixContainersPlansV1PlanUniversalTypes from './containers-plans-v1-plan-plans.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createPlan(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixContainersPlansV1PlanUniversalTypes.CreatePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.CreatePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.CreatePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.CreatePlanResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.createPlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function createAndGeneratePlan(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixContainersPlansV1PlanUniversalTypes.CreateAndGeneratePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.CreateAndGeneratePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.CreateAndGeneratePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.CreateAndGeneratePlanResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.createAndGeneratePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/create-and-generate',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPlan(): __PublicMethodMetaInfo<\n 'GET',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.GetPlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.GetPlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions = ambassadorWixContainersPlansV1Plan.getPlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/plans/{planId}',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPlanByProjectId(): __PublicMethodMetaInfo<\n 'GET',\n { projectId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPlanByProjectIdRequest,\n ambassadorWixContainersPlansV1PlanTypes.GetPlanByProjectIdRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPlanByProjectIdResponse,\n ambassadorWixContainersPlansV1PlanTypes.GetPlanByProjectIdResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.getPlanByProjectId(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/plans/by-project/{projectId}',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updatePlan(): __PublicMethodMetaInfo<\n 'PATCH',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.UpdatePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.UpdatePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.UpdatePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.UpdatePlanResponse\n> {\n const payload = { plan: { id: ':planId' } } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.updatePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/plans/{plan.id}',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deletePlan(): __PublicMethodMetaInfo<\n 'DELETE',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.DeletePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.DeletePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.DeletePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.DeletePlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.deletePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/plans/{planId}',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function generatePlan(): __PublicMethodMetaInfo<\n 'POST',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.GeneratePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.GeneratePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.GeneratePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.GeneratePlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.generatePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/{planId}/generate',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function modifyPlan(): __PublicMethodMetaInfo<\n 'POST',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.ModifyPlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.ModifyPlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.ModifyPlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.ModifyPlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.modifyPlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/{planId}/modify',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function regenerateIcon(): __PublicMethodMetaInfo<\n 'POST',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.RegenerateIconRequest,\n ambassadorWixContainersPlansV1PlanTypes.RegenerateIconRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.RegenerateIconResponse,\n ambassadorWixContainersPlansV1PlanTypes.RegenerateIconResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.regenerateIcon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/{planId}/regenerate-icon',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function finalizePlan(): __PublicMethodMetaInfo<\n 'POST',\n { planId: string },\n ambassadorWixContainersPlansV1PlanUniversalTypes.FinalizePlanRequest,\n ambassadorWixContainersPlansV1PlanTypes.FinalizePlanRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.FinalizePlanResponse,\n ambassadorWixContainersPlansV1PlanTypes.FinalizePlanResponse\n> {\n const payload = { planId: ':planId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.finalizePlan(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/plans/{planId}/finalize',\n pathParams: { planId: 'planId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPromptSuggestions(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPromptSuggestionsRequest,\n ambassadorWixContainersPlansV1PlanTypes.GetPromptSuggestionsRequest,\n ambassadorWixContainersPlansV1PlanUniversalTypes.GetPromptSuggestionsResponse,\n ambassadorWixContainersPlansV1PlanTypes.GetPromptSuggestionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixContainersPlansV1Plan.getPromptSuggestions(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/prompt-suggestions',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Plan as PlanOriginal,\n Platform as PlatformOriginal,\n PlatformWithLiterals as PlatformWithLiteralsOriginal,\n PlanStatus as PlanStatusOriginal,\n PlanStatusWithLiterals as PlanStatusWithLiteralsOriginal,\n BusinessContext as BusinessContextOriginal,\n BusinessAnalysis as BusinessAnalysisOriginal,\n BusinessGoalConfidence as BusinessGoalConfidenceOriginal,\n BusinessGoalConfidenceWithLiterals as BusinessGoalConfidenceWithLiteralsOriginal,\n UsableContent as UsableContentOriginal,\n ContentSource as ContentSourceOriginal,\n ContentSourceWithLiterals as ContentSourceWithLiteralsOriginal,\n BrandIdentity as BrandIdentityOriginal,\n AppSpec as AppSpecOriginal,\n Integration as IntegrationOriginal,\n Feature as FeatureOriginal,\n PlanFinalized as PlanFinalizedOriginal,\n CreatePlanRequest as CreatePlanRequestOriginal,\n CreatePlanResponse as CreatePlanResponseOriginal,\n CreateAndGeneratePlanRequest as CreateAndGeneratePlanRequestOriginal,\n CreateAndGeneratePlanResponse as CreateAndGeneratePlanResponseOriginal,\n FollowUpQuestion as FollowUpQuestionOriginal,\n GetPlanRequest as GetPlanRequestOriginal,\n GetPlanResponse as GetPlanResponseOriginal,\n GetPlanByProjectIdRequest as GetPlanByProjectIdRequestOriginal,\n GetPlanByProjectIdResponse as GetPlanByProjectIdResponseOriginal,\n UpdatePlanRequest as UpdatePlanRequestOriginal,\n UpdatePlanResponse as UpdatePlanResponseOriginal,\n DeletePlanRequest as DeletePlanRequestOriginal,\n DeletePlanResponse as DeletePlanResponseOriginal,\n GeneratePlanRequest as GeneratePlanRequestOriginal,\n GeneratePlanResponse as GeneratePlanResponseOriginal,\n ModifyPlanRequest as ModifyPlanRequestOriginal,\n AnsweredQuestion as AnsweredQuestionOriginal,\n PlanEditContext as PlanEditContextOriginal,\n PlanPartType as PlanPartTypeOriginal,\n PlanPartTypeWithLiterals as PlanPartTypeWithLiteralsOriginal,\n ModifyPlanResponse as ModifyPlanResponseOriginal,\n RegenerateIconRequest as RegenerateIconRequestOriginal,\n RegenerateIconResponse as RegenerateIconResponseOriginal,\n FinalizePlanRequest as FinalizePlanRequestOriginal,\n FinalizePlanResponse as FinalizePlanResponseOriginal,\n GetPromptSuggestionsRequest as GetPromptSuggestionsRequestOriginal,\n GetPromptSuggestionsResponse as GetPromptSuggestionsResponseOriginal,\n PromptSuggestion as PromptSuggestionOriginal,\n PromptSuggestionsSource as PromptSuggestionsSourceOriginal,\n PromptSuggestionsSourceWithLiterals as PromptSuggestionsSourceWithLiteralsOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n} from './containers-plans-v1-plan-plans.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+BAAAA;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,eAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,kBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,mBAAmB;AAAA,EAC3B,EAAE,MAAM,mBAAmB;AAC7B;AACA,IAAM,oBAAoB,CAAC,EAAE,MAAM,YAAY,CAAC;AAEhD,SAAS,8CACP,MACA;AACA,QAAM,mBAAmB;AAAA,I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AAE,QAAQ,UAAU;AAEpC,QAAM,oBAC+B,eAAe,OAAO;AAE3D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gBAOd;AACA,QAAM,UAAU,EAAE,QAAQ,UAAU;AAEpC,QAAM,oBAC+B,aAAa,OAAO;AAEzD,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,qBAAqB,OAAO;AAEjE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["createAndGeneratePlan","createPlan","deletePlan","finalizePlan","generatePlan","getPlan","getPlanByProjectId","getPromptSuggestions","modifyPlan","regenerateIcon","updatePlan","import_timestamp","import_rest_modules","payload","Platform","PlanStatus","BusinessGoalConfidence","ContentSource","PlanPartType","PromptSuggestionsSource","WebhookIdentityType","createPlan","createAndGeneratePlan","getPlan","getPlanByProjectId","updatePlan","deletePlan","generatePlan","modifyPlan","regenerateIcon","finalizePlan","getPromptSuggestions"]}