@wix/auto_sdk_containers_plans 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,678 @@
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.mjs';
2
+
3
+ interface Plan {
4
+ /**
5
+ * Plan ID.
6
+ * @format GUID
7
+ * @readonly
8
+ */
9
+ id?: string | null;
10
+ /**
11
+ * Revision number, which increments by 1 each time the Plan is updated.
12
+ * @readonly
13
+ */
14
+ revision?: string | null;
15
+ /**
16
+ * Date and time the Plan was created.
17
+ * @readonly
18
+ */
19
+ createdDate?: Date | null;
20
+ /**
21
+ * Date and time the Plan was last updated.
22
+ * @readonly
23
+ */
24
+ updatedDate?: Date | null;
25
+ /**
26
+ * The user's initial free-text prompt that started the plan.
27
+ * @maxLength 10000
28
+ */
29
+ initialPrompt?: string;
30
+ /** Generation platform for the app. */
31
+ platform?: PlatformWithLiterals;
32
+ /** Lifecycle status of the Plan. */
33
+ status?: PlanStatusWithLiterals;
34
+ /**
35
+ * Template chosen for generation. A Code Store `containers-templates` catalog GUID, or (for
36
+ * HIMALAYA_MOBILE) a himi starter template name (e.g. "branded-lite") that does not resolve to
37
+ * a catalog entry — see `PlansService.resolveTemplate`/`validateTemplatePlatform`, which treat a
38
+ * non-GUID value as an opaque template name rather than a catalog reference.
39
+ * @maxLength 200
40
+ */
41
+ selectedTemplateId?: string | null;
42
+ /**
43
+ * The project this plan belongs to. Supplied by the client at creation.
44
+ * @format GUID
45
+ */
46
+ projectId?: string | null;
47
+ /**
48
+ * Facts extracted from the existing business/site. Derived server-side and read-only to clients.
49
+ * @readonly
50
+ */
51
+ businessContext?: BusinessContext;
52
+ /** Visual identity extracted from the user's website. A starting point the user can edit. */
53
+ brandIdentity?: BrandIdentity;
54
+ /** The specification of the app to generate, produced from the plan prompt. */
55
+ appSpec?: AppSpec;
56
+ }
57
+ declare enum Platform {
58
+ /**
59
+ * Himalaya Mobile (Wix SDUI/OTA content package): mobile apps built headlessly on the
60
+ * on-demand remote machine via the himi CLI, instead of native iOS/Android pods.
61
+ */
62
+ HIMALAYA_MOBILE = "HIMALAYA_MOBILE"
63
+ }
64
+ /** @enumType */
65
+ type PlatformWithLiterals = Platform | 'HIMALAYA_MOBILE';
66
+ declare enum PlanStatus {
67
+ /** Plan is being assembled by the planning agent and the user. */
68
+ DRAFT = "DRAFT",
69
+ /** Plan is complete and approved; ready for the generation pipeline. */
70
+ FINALIZED = "FINALIZED"
71
+ }
72
+ /** @enumType */
73
+ type PlanStatusWithLiterals = PlanStatus | 'DRAFT' | 'FINALIZED';
74
+ /**
75
+ * Facts the server extracts about the existing business/site. The client reads these
76
+ * to inform the app spec, but does not write them.
77
+ */
78
+ interface BusinessContext {
79
+ /**
80
+ * Business name as configured on the site.
81
+ * @maxLength 200
82
+ */
83
+ businessName?: string;
84
+ /**
85
+ * Business logo image URL, extracted from the site (empty if it has none). Used as a reference
86
+ * image when generating the app icon (see AppSpec.app_icon_url).
87
+ * @maxLength 2000
88
+ */
89
+ businessLogoUrl?: string;
90
+ /**
91
+ * Business description as configured on the site.
92
+ * @maxLength 5000
93
+ */
94
+ businessDescription?: string;
95
+ /**
96
+ * Primary language code of the site (for example "en").
97
+ * @maxLength 20
98
+ */
99
+ language?: string;
100
+ /**
101
+ * Country code of the site (for example "IE").
102
+ * @maxLength 20
103
+ */
104
+ country?: string;
105
+ /**
106
+ * App definition IDs of Wix apps installed on the site (for example Bookings, eCommerce).
107
+ * @maxSize 100
108
+ * @maxLength 200
109
+ */
110
+ wixIntegrations?: string[];
111
+ }
112
+ /**
113
+ * Visual identity extracted from the user's existing website. Serves as an editable
114
+ * starting point for the generated app.
115
+ */
116
+ interface BrandIdentity {
117
+ /**
118
+ * Primary brand color.
119
+ * @maxLength 100
120
+ */
121
+ primaryColor?: string;
122
+ /**
123
+ * Background color.
124
+ * @maxLength 100
125
+ */
126
+ backgroundColor?: string;
127
+ /**
128
+ * Content (foreground) color.
129
+ * @maxLength 100
130
+ */
131
+ contentColor?: string;
132
+ /**
133
+ * Heading typography / font.
134
+ * @maxLength 100
135
+ */
136
+ headingFont?: string;
137
+ /**
138
+ * Body typography / font.
139
+ * @maxLength 100
140
+ */
141
+ bodyFont?: string;
142
+ }
143
+ /**
144
+ * The specification of the app to generate, produced from the plan prompt and confirmed
145
+ * by the user.
146
+ */
147
+ interface AppSpec {
148
+ /**
149
+ * Display name of the app to generate.
150
+ * @maxLength 200
151
+ */
152
+ appName?: string;
153
+ /**
154
+ * Description of the app to generate.
155
+ * @maxLength 5000
156
+ */
157
+ appDescription?: string;
158
+ /**
159
+ * The business goal the app should serve.
160
+ * @maxLength 2000
161
+ */
162
+ businessGoal?: string;
163
+ /**
164
+ * The target audience for the app.
165
+ * @maxLength 2000
166
+ */
167
+ audience?: string;
168
+ /**
169
+ * Wix integrations to include, each with a display name, description, and capability tags.
170
+ * @maxSize 100
171
+ */
172
+ wixIntegrations?: Integration[];
173
+ /**
174
+ * Third-party integrations to include, each with a display name, description, and capability tags.
175
+ * @maxSize 100
176
+ */
177
+ thirdPartyIntegrations?: Integration[];
178
+ /**
179
+ * Features the app should provide, each with a title and description.
180
+ * @maxSize 200
181
+ */
182
+ features?: Feature[];
183
+ /**
184
+ * Navigation screens for the app.
185
+ * @maxSize 100
186
+ * @maxLength 200
187
+ */
188
+ navigation?: string[];
189
+ /**
190
+ * Icon URL for the app to generate. Seeded at plan creation from the business's real logo, or
191
+ * a best-effort generated placeholder if it has none. The client can replace it later with a
192
+ * RegenerateIcon result they've accepted, via UpdatePlan.
193
+ * @format WEB_URL
194
+ * @maxLength 2000
195
+ */
196
+ appIconUrl?: string;
197
+ }
198
+ /**
199
+ * An integration (Wix or third-party) the generated app should include, produced by the
200
+ * planning agent from the prompt.
201
+ */
202
+ interface Integration {
203
+ /**
204
+ * Display name, for example "Wix Stores".
205
+ * @maxLength 200
206
+ */
207
+ displayName?: string;
208
+ /**
209
+ * What the integration provides / why it is included.
210
+ * @maxLength 2000
211
+ */
212
+ description?: string;
213
+ /**
214
+ * Sub-capabilities the integration includes, rendered as tags (for example "Storefront",
215
+ * "Cart & Checkout").
216
+ * @maxSize 50
217
+ * @maxLength 100
218
+ */
219
+ tags?: string[];
220
+ /**
221
+ * Stable integration id / slug (for example "wix-stores"). For Wix integrations this is chosen
222
+ * by the planning agent from the server-provided catalog of supported Wix integrations; empty
223
+ * for free-form third-party integrations. The client keys the integration's icon off this id.
224
+ * @maxLength 200
225
+ */
226
+ id?: string;
227
+ }
228
+ /** A capability the app should provide, produced by the planning agent from the prompt. */
229
+ interface Feature {
230
+ /**
231
+ * Short feature title.
232
+ * @maxLength 200
233
+ */
234
+ title?: string;
235
+ /**
236
+ * What the feature does, shown under the title.
237
+ * @maxLength 2000
238
+ */
239
+ description?: string;
240
+ }
241
+ interface PlanFinalized {
242
+ /**
243
+ * ID of the Plan that was finalized.
244
+ * @format GUID
245
+ */
246
+ planId?: string;
247
+ /**
248
+ * ID of the Project this plan belongs to. containers-projects reads the finalized plan back by
249
+ * this id (one plan per project) when creating the initial generation job.
250
+ * @format GUID
251
+ */
252
+ projectId?: string;
253
+ /**
254
+ * ID of the conversation that led to this plan being finalized.
255
+ * @format GUID
256
+ */
257
+ conversationId?: string;
258
+ }
259
+ interface CreatePlanRequest {
260
+ /** Plan to be created. */
261
+ plan: Plan;
262
+ }
263
+ interface CreatePlanResponse {
264
+ /** The created Plan. */
265
+ plan?: Plan;
266
+ }
267
+ interface CreateAndGeneratePlanRequest {
268
+ /** Plan to be created and generated. */
269
+ plan: Plan;
270
+ }
271
+ interface CreateAndGeneratePlanResponse {
272
+ /** The generated Plan. */
273
+ plan?: Plan;
274
+ /**
275
+ * Follow-up questions from the planning agent to further build the plan.
276
+ * @maxSize 50
277
+ * @maxLength 4000
278
+ */
279
+ followUpQuestions?: string[];
280
+ /**
281
+ * Structured follow-up questions with selectable answer options. Superseding follow_up_questions;
282
+ * that field is kept and populated in parallel for callers that have not migrated to this one.
283
+ * @maxSize 4
284
+ */
285
+ followUpQuestionOptions?: FollowUpQuestion[];
286
+ }
287
+ /** A follow-up question paired with selectable answer options, shown as quick-reply choices. */
288
+ interface FollowUpQuestion {
289
+ /**
290
+ * The question text.
291
+ * @maxLength 4000
292
+ */
293
+ question?: string;
294
+ /**
295
+ * Selectable answer options for this question.
296
+ * @maxSize 10
297
+ * @maxLength 200
298
+ */
299
+ options?: string[];
300
+ }
301
+ interface GetPlanRequest {
302
+ /**
303
+ * ID of the Plan to retrieve.
304
+ * @format GUID
305
+ */
306
+ planId: string;
307
+ }
308
+ interface GetPlanResponse {
309
+ /** The requested Plan. */
310
+ plan?: Plan;
311
+ }
312
+ interface GetPlanByProjectIdRequest {
313
+ /**
314
+ * ID of the project whose Plan to retrieve.
315
+ * @format GUID
316
+ */
317
+ projectId: string;
318
+ }
319
+ interface GetPlanByProjectIdResponse {
320
+ /** The project's Plan. */
321
+ plan?: Plan;
322
+ }
323
+ interface UpdatePlanRequest {
324
+ /** Plan to be updated, may be partial. */
325
+ plan: Plan;
326
+ }
327
+ interface UpdatePlanResponse {
328
+ /** The updated Plan. */
329
+ plan?: Plan;
330
+ }
331
+ interface DeletePlanRequest {
332
+ /**
333
+ * ID of the Plan to delete.
334
+ * @format GUID
335
+ */
336
+ planId: string;
337
+ }
338
+ interface DeletePlanResponse {
339
+ }
340
+ interface GeneratePlanRequest {
341
+ /**
342
+ * ID of the Plan to generate.
343
+ * @format GUID
344
+ */
345
+ planId: string;
346
+ }
347
+ interface GeneratePlanResponse {
348
+ /** The generated Plan. */
349
+ plan?: Plan;
350
+ /**
351
+ * Follow-up questions from the planning agent to further build the plan.
352
+ * @maxSize 50
353
+ * @maxLength 4000
354
+ */
355
+ followUpQuestions?: string[];
356
+ /**
357
+ * Structured follow-up questions with selectable answer options. Superseding follow_up_questions;
358
+ * that field is kept and populated in parallel for callers that have not migrated to this one.
359
+ * @maxSize 4
360
+ */
361
+ followUpQuestionOptions?: FollowUpQuestion[];
362
+ }
363
+ interface ModifyPlanRequest {
364
+ /**
365
+ * ID of the Plan to modify.
366
+ * @format GUID
367
+ */
368
+ planId: string;
369
+ /**
370
+ * The user's answers to the previous iteration's follow-up questions.
371
+ * @maxSize 50
372
+ */
373
+ answeredQuestions?: AnsweredQuestion[];
374
+ /**
375
+ * Optional additional request from the user to further shape the plan.
376
+ * @maxLength 10000
377
+ */
378
+ userPrompt?: string | null;
379
+ /**
380
+ * Optional selected plan part. When present, only this boundary may change.
381
+ * When absent, ModifyPlan keeps its existing whole-plan behavior.
382
+ */
383
+ planEditContext?: PlanEditContext;
384
+ }
385
+ /** A follow-up question from a previous iteration paired with the user's answer. */
386
+ interface AnsweredQuestion {
387
+ /**
388
+ * The follow-up question that was asked.
389
+ * @maxLength 4000
390
+ */
391
+ question?: string;
392
+ /**
393
+ * The user's answer to the question.
394
+ * @maxLength 10000
395
+ */
396
+ answer?: string;
397
+ }
398
+ /**
399
+ * Identifies one editable part of a plan. Optional on chat and plan-edit requests; when absent,
400
+ * plan editing keeps its existing whole-plan behavior.
401
+ */
402
+ interface PlanEditContext {
403
+ /** Kind of plan part selected by the user. */
404
+ type?: PlanPartTypeWithLiterals;
405
+ /**
406
+ * Zero-based item index. Set only for repeated parts such as features, screens, or integrations.
407
+ * @max 199
408
+ */
409
+ index?: number | null;
410
+ /**
411
+ * Plan revision shown when the user selected the part. Used to reject stale edits.
412
+ * @min 1
413
+ */
414
+ planRevision?: string | null;
415
+ }
416
+ declare enum PlanPartType {
417
+ APP_NAME = "APP_NAME",
418
+ APP_DESCRIPTION = "APP_DESCRIPTION",
419
+ BUSINESS_GOAL = "BUSINESS_GOAL",
420
+ AUDIENCE = "AUDIENCE",
421
+ FEATURE = "FEATURE",
422
+ SCREEN = "SCREEN",
423
+ WIX_INTEGRATION = "WIX_INTEGRATION",
424
+ THIRD_PARTY_INTEGRATION = "THIRD_PARTY_INTEGRATION",
425
+ BRAND_IDENTITY = "BRAND_IDENTITY",
426
+ /** Color fields within brand_identity; fonts are preserved by the service. */
427
+ COLOR_THEME = "COLOR_THEME",
428
+ /** Font fields within brand_identity; colors are preserved by the service. */
429
+ TEXT_THEME = "TEXT_THEME"
430
+ }
431
+ /** @enumType */
432
+ type PlanPartTypeWithLiterals = PlanPartType | 'APP_NAME' | 'APP_DESCRIPTION' | 'BUSINESS_GOAL' | 'AUDIENCE' | 'FEATURE' | 'SCREEN' | 'WIX_INTEGRATION' | 'THIRD_PARTY_INTEGRATION' | 'BRAND_IDENTITY' | 'COLOR_THEME' | 'TEXT_THEME';
433
+ interface ModifyPlanResponse {
434
+ /** The modified Plan. */
435
+ plan?: Plan;
436
+ /**
437
+ * Follow-up questions the agent wants to ask to further refine the plan.
438
+ * @maxSize 50
439
+ * @maxLength 4000
440
+ */
441
+ followUpQuestions?: string[];
442
+ /**
443
+ * Structured follow-up questions with selectable answer options. Superseding follow_up_questions;
444
+ * that field is kept and populated in parallel for callers that have not migrated to this one.
445
+ * @maxSize 4
446
+ */
447
+ followUpQuestionOptions?: FollowUpQuestion[];
448
+ }
449
+ interface RegenerateIconRequest {
450
+ /**
451
+ * ID of the Plan whose icon to regenerate.
452
+ * @format GUID
453
+ */
454
+ planId: string;
455
+ /**
456
+ * Free-text description of the desired icon, passed to the icon-generation prompt.
457
+ * @maxLength 4000
458
+ */
459
+ prompt: string;
460
+ }
461
+ interface RegenerateIconResponse {
462
+ /**
463
+ * The generated icon URL. Not persisted — apply via UpdatePlan (app_spec.app_icon_url).
464
+ * @maxLength 2000
465
+ */
466
+ iconUrl?: string;
467
+ }
468
+ interface FinalizePlanRequest {
469
+ /**
470
+ * ID of the Plan to finalize. Its project_id and selected_template_id (set at creation)
471
+ * are used to drive generation.
472
+ * @format GUID
473
+ */
474
+ planId: string;
475
+ /**
476
+ * ID of the conversation that led to this plan being finalized.
477
+ * @format GUID
478
+ */
479
+ conversationId: string;
480
+ }
481
+ interface FinalizePlanResponse {
482
+ /** The finalized Plan. */
483
+ plan?: Plan;
484
+ }
485
+ interface DomainEvent extends DomainEventBodyOneOf {
486
+ createdEvent?: EntityCreatedEvent;
487
+ updatedEvent?: EntityUpdatedEvent;
488
+ deletedEvent?: EntityDeletedEvent;
489
+ actionEvent?: ActionEvent;
490
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
491
+ id?: string;
492
+ /**
493
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
494
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
495
+ */
496
+ entityFqdn?: string;
497
+ /**
498
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
499
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
500
+ */
501
+ slug?: string;
502
+ /** ID of the entity associated with the event. */
503
+ entityId?: string;
504
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
505
+ eventTime?: Date | null;
506
+ /**
507
+ * Whether the event was triggered as a result of a privacy regulation application
508
+ * (for example, GDPR).
509
+ */
510
+ triggeredByAnonymizeRequest?: boolean | null;
511
+ /** If present, indicates the action that triggered the event. */
512
+ originatedFrom?: string | null;
513
+ /**
514
+ * 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.
515
+ * 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.
516
+ */
517
+ entityEventSequence?: string | null;
518
+ }
519
+ /** @oneof */
520
+ interface DomainEventBodyOneOf {
521
+ createdEvent?: EntityCreatedEvent;
522
+ updatedEvent?: EntityUpdatedEvent;
523
+ deletedEvent?: EntityDeletedEvent;
524
+ actionEvent?: ActionEvent;
525
+ }
526
+ interface EntityCreatedEvent {
527
+ entityAsJson?: string;
528
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
529
+ restoreInfo?: RestoreInfo;
530
+ }
531
+ interface RestoreInfo {
532
+ deletedDate?: Date | null;
533
+ }
534
+ interface EntityUpdatedEvent {
535
+ /**
536
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
537
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
538
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
539
+ */
540
+ currentEntityAsJson?: string;
541
+ }
542
+ interface EntityDeletedEvent {
543
+ /** Entity that was deleted. */
544
+ deletedEntityAsJson?: string | null;
545
+ }
546
+ interface ActionEvent {
547
+ bodyAsJson?: string;
548
+ }
549
+ interface MessageEnvelope {
550
+ /**
551
+ * App instance ID.
552
+ * @format GUID
553
+ */
554
+ instanceId?: string | null;
555
+ /**
556
+ * Event type.
557
+ * @maxLength 150
558
+ */
559
+ eventType?: string;
560
+ /** The identification type and identity data. */
561
+ identity?: IdentificationData;
562
+ /** Stringify payload. */
563
+ data?: string;
564
+ /** Details related to the account */
565
+ accountInfo?: AccountInfo;
566
+ }
567
+ interface IdentificationData extends IdentificationDataIdOneOf {
568
+ /**
569
+ * ID of a site visitor that has not logged in to the site.
570
+ * @format GUID
571
+ */
572
+ anonymousVisitorId?: string;
573
+ /**
574
+ * ID of a site visitor that has logged in to the site.
575
+ * @format GUID
576
+ */
577
+ memberId?: string;
578
+ /**
579
+ * ID of a Wix user (site owner, contributor, etc.).
580
+ * @format GUID
581
+ */
582
+ wixUserId?: string;
583
+ /**
584
+ * ID of an app.
585
+ * @format GUID
586
+ */
587
+ appId?: string;
588
+ /** @readonly */
589
+ identityType?: WebhookIdentityTypeWithLiterals;
590
+ }
591
+ /** @oneof */
592
+ interface IdentificationDataIdOneOf {
593
+ /**
594
+ * ID of a site visitor that has not logged in to the site.
595
+ * @format GUID
596
+ */
597
+ anonymousVisitorId?: string;
598
+ /**
599
+ * ID of a site visitor that has logged in to the site.
600
+ * @format GUID
601
+ */
602
+ memberId?: string;
603
+ /**
604
+ * ID of a Wix user (site owner, contributor, etc.).
605
+ * @format GUID
606
+ */
607
+ wixUserId?: string;
608
+ /**
609
+ * ID of an app.
610
+ * @format GUID
611
+ */
612
+ appId?: string;
613
+ }
614
+ declare enum WebhookIdentityType {
615
+ UNKNOWN = "UNKNOWN",
616
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
617
+ MEMBER = "MEMBER",
618
+ WIX_USER = "WIX_USER",
619
+ APP = "APP"
620
+ }
621
+ /** @enumType */
622
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
623
+ interface AccountInfo {
624
+ /**
625
+ * ID of the Wix account associated with the event.
626
+ * @format GUID
627
+ */
628
+ accountId?: string | null;
629
+ /**
630
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
631
+ * @format GUID
632
+ */
633
+ parentAccountId?: string | null;
634
+ /**
635
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
636
+ * @format GUID
637
+ */
638
+ siteId?: string | null;
639
+ }
640
+
641
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
642
+ getUrl: (context: any) => string;
643
+ httpMethod: K;
644
+ path: string;
645
+ pathParams: M;
646
+ __requestType: T;
647
+ __originalRequestType: S;
648
+ __responseType: Q;
649
+ __originalResponseType: R;
650
+ };
651
+ declare function createPlan(): __PublicMethodMetaInfo<'POST', {}, CreatePlanRequest$1, CreatePlanRequest, CreatePlanResponse$1, CreatePlanResponse>;
652
+ declare function createAndGeneratePlan(): __PublicMethodMetaInfo<'POST', {}, CreateAndGeneratePlanRequest$1, CreateAndGeneratePlanRequest, CreateAndGeneratePlanResponse$1, CreateAndGeneratePlanResponse>;
653
+ declare function getPlan(): __PublicMethodMetaInfo<'GET', {
654
+ planId: string;
655
+ }, GetPlanRequest$1, GetPlanRequest, GetPlanResponse$1, GetPlanResponse>;
656
+ declare function getPlanByProjectId(): __PublicMethodMetaInfo<'GET', {
657
+ projectId: string;
658
+ }, GetPlanByProjectIdRequest$1, GetPlanByProjectIdRequest, GetPlanByProjectIdResponse$1, GetPlanByProjectIdResponse>;
659
+ declare function updatePlan(): __PublicMethodMetaInfo<'PATCH', {
660
+ planId: string;
661
+ }, UpdatePlanRequest$1, UpdatePlanRequest, UpdatePlanResponse$1, UpdatePlanResponse>;
662
+ declare function deletePlan(): __PublicMethodMetaInfo<'DELETE', {
663
+ planId: string;
664
+ }, DeletePlanRequest$1, DeletePlanRequest, DeletePlanResponse$1, DeletePlanResponse>;
665
+ declare function generatePlan(): __PublicMethodMetaInfo<'POST', {
666
+ planId: string;
667
+ }, GeneratePlanRequest$1, GeneratePlanRequest, GeneratePlanResponse$1, GeneratePlanResponse>;
668
+ declare function modifyPlan(): __PublicMethodMetaInfo<'POST', {
669
+ planId: string;
670
+ }, ModifyPlanRequest$1, ModifyPlanRequest, ModifyPlanResponse$1, ModifyPlanResponse>;
671
+ declare function regenerateIcon(): __PublicMethodMetaInfo<'POST', {
672
+ planId: string;
673
+ }, RegenerateIconRequest$1, RegenerateIconRequest, RegenerateIconResponse$1, RegenerateIconResponse>;
674
+ declare function finalizePlan(): __PublicMethodMetaInfo<'POST', {
675
+ planId: string;
676
+ }, FinalizePlanRequest$1, FinalizePlanRequest, FinalizePlanResponse$1, FinalizePlanResponse>;
677
+
678
+ 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 };