@wix/auto_sdk_containers_plans 1.0.2 → 1.0.4
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.
- package/build/cjs/index.d.ts +25 -17
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +25 -17
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +25 -17
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +25 -17
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -1
- package/build/internal/cjs/index.typings.d.ts +28 -18
- package/build/internal/cjs/meta.d.ts +25 -17
- package/build/internal/es/index.d.mts +3 -1
- package/build/internal/es/index.typings.d.mts +28 -18
- package/build/internal/es/meta.d.mts +25 -17
- package/package.json +2 -2
|
@@ -83,8 +83,8 @@ interface BusinessContext {
|
|
|
83
83
|
*/
|
|
84
84
|
businessName?: string;
|
|
85
85
|
/**
|
|
86
|
-
* Business logo image URL, extracted from the site (empty if it has none).
|
|
87
|
-
*
|
|
86
|
+
* Business logo image URL, extracted from the site (empty if it has none).
|
|
87
|
+
* App icons are generated separately; AppSpec.app_icon_url stores the accepted app-icon reference.
|
|
88
88
|
* @maxLength 2000
|
|
89
89
|
*/
|
|
90
90
|
businessLogoUrl?: string;
|
|
@@ -195,9 +195,9 @@ interface AppSpec {
|
|
|
195
195
|
*/
|
|
196
196
|
navigation?: string[];
|
|
197
197
|
/**
|
|
198
|
-
* Icon URL for the app to generate.
|
|
199
|
-
*
|
|
200
|
-
*
|
|
198
|
+
* Icon URL for the app to generate. Generated at plan creation from the initial prompt and
|
|
199
|
+
* available business context. The client can replace it with an accepted RegenerateIcon result
|
|
200
|
+
* via UpdatePlan. FinalizePlan retries generation when the icon is missing before starting a build.
|
|
201
201
|
* @format WEB_URL
|
|
202
202
|
* @maxLength 2000
|
|
203
203
|
*/
|
|
@@ -292,15 +292,15 @@ interface CreateAndGeneratePlanResponse {
|
|
|
292
292
|
*/
|
|
293
293
|
followUpQuestionOptions?: FollowUpQuestion[];
|
|
294
294
|
}
|
|
295
|
-
/** A follow-up question
|
|
295
|
+
/** A suggested follow-up question with answer options that the user can select. */
|
|
296
296
|
interface FollowUpQuestion {
|
|
297
297
|
/**
|
|
298
|
-
*
|
|
298
|
+
* Question text.
|
|
299
299
|
* @maxLength 4000
|
|
300
300
|
*/
|
|
301
301
|
question?: string;
|
|
302
302
|
/**
|
|
303
|
-
*
|
|
303
|
+
* Answer options that the user can select.
|
|
304
304
|
* @maxSize 10
|
|
305
305
|
* @maxLength 200
|
|
306
306
|
*/
|
|
@@ -408,37 +408,45 @@ interface AnsweredQuestion {
|
|
|
408
408
|
*/
|
|
409
409
|
answer?: string;
|
|
410
410
|
}
|
|
411
|
-
/**
|
|
412
|
-
* Identifies one editable part of a plan. Optional on chat and plan-edit requests; when absent,
|
|
413
|
-
* plan editing keeps its existing whole-plan behavior.
|
|
414
|
-
*/
|
|
411
|
+
/** Identifies a part of the app plan. */
|
|
415
412
|
interface PlanEditContext {
|
|
416
|
-
/**
|
|
413
|
+
/** Plan part type. */
|
|
417
414
|
type?: PlanPartTypeWithLiterals;
|
|
418
415
|
/**
|
|
419
|
-
* Zero-based
|
|
416
|
+
* Zero-based index of the item within the plan part.
|
|
417
|
+
*
|
|
418
|
+
* Used only when `type` is `FEATURE`, `SCREEN`, `WIX_INTEGRATION`, or `THIRD_PARTY_INTEGRATION`.
|
|
420
419
|
* @max 199
|
|
421
420
|
*/
|
|
422
421
|
index?: number | null;
|
|
423
422
|
/**
|
|
424
|
-
*
|
|
423
|
+
* Revision of the plan that the user saw when they selected the part. Used to reject changes to an outdated plan.
|
|
425
424
|
* @min 1
|
|
426
425
|
*/
|
|
427
426
|
planRevision?: string | null;
|
|
428
427
|
}
|
|
429
428
|
declare enum PlanPartType {
|
|
429
|
+
/** App name. */
|
|
430
430
|
APP_NAME = "APP_NAME",
|
|
431
|
+
/** App description. */
|
|
431
432
|
APP_DESCRIPTION = "APP_DESCRIPTION",
|
|
433
|
+
/** Business goal of the app. */
|
|
432
434
|
BUSINESS_GOAL = "BUSINESS_GOAL",
|
|
435
|
+
/** Target audience of the app. */
|
|
433
436
|
AUDIENCE = "AUDIENCE",
|
|
437
|
+
/** A feature of the app. */
|
|
434
438
|
FEATURE = "FEATURE",
|
|
439
|
+
/** A screen of the app. */
|
|
435
440
|
SCREEN = "SCREEN",
|
|
441
|
+
/** An integration with a Wix app or service. */
|
|
436
442
|
WIX_INTEGRATION = "WIX_INTEGRATION",
|
|
443
|
+
/** An integration with a third-party service. */
|
|
437
444
|
THIRD_PARTY_INTEGRATION = "THIRD_PARTY_INTEGRATION",
|
|
445
|
+
/** Brand identity of the app, including colors and fonts. */
|
|
438
446
|
BRAND_IDENTITY = "BRAND_IDENTITY",
|
|
439
|
-
/**
|
|
447
|
+
/** Colors of the brand identity. Fonts don't change. */
|
|
440
448
|
COLOR_THEME = "COLOR_THEME",
|
|
441
|
-
/**
|
|
449
|
+
/** Fonts of the brand identity. Colors don't change. */
|
|
442
450
|
TEXT_THEME = "TEXT_THEME"
|
|
443
451
|
}
|
|
444
452
|
/** @enumType */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_containers_plans",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.containers.plans.v1.plan"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "b6af52024e348051f8e1a2da4f7f551a72c20034f69146f2310059e4"
|
|
54
54
|
}
|