@wix/auto_sdk_containers_plans 1.0.4 → 1.0.5
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 +110 -1
- package/build/cjs/index.js +21 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +21 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +110 -1
- package/build/cjs/meta.js +21 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +110 -1
- package/build/es/index.mjs +19 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +19 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +110 -1
- package/build/es/meta.mjs +19 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +9 -9
- package/build/internal/cjs/index.typings.d.ts +118 -9
- package/build/internal/cjs/meta.d.ts +110 -1
- package/build/internal/es/index.d.mts +9 -9
- package/build/internal/es/index.typings.d.mts +118 -9
- package/build/internal/es/meta.d.mts +110 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -113,7 +113,116 @@ interface BusinessContext {
|
|
|
113
113
|
* @format WEB_URL
|
|
114
114
|
*/
|
|
115
115
|
publicSiteUrl?: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* What the server learned from the site's content before the first plan was generated: the
|
|
118
|
+
* business, its goal and the content an app can show. Absent for older plans, when the analysis
|
|
119
|
+
* is off for the site, or when it did not finish.
|
|
120
|
+
* @readonly
|
|
121
|
+
*/
|
|
122
|
+
analysis?: BusinessAnalysis;
|
|
116
123
|
}
|
|
124
|
+
/** A short analysis of the business, made from the site's content for the planning agent. */
|
|
125
|
+
interface BusinessAnalysis {
|
|
126
|
+
/**
|
|
127
|
+
* Industry of the business, for example "yoga studio".
|
|
128
|
+
* @maxLength 200
|
|
129
|
+
*/
|
|
130
|
+
industry?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Short factual summary of the business and what its site offers.
|
|
133
|
+
* @maxLength 2000
|
|
134
|
+
*/
|
|
135
|
+
summary?: string;
|
|
136
|
+
/**
|
|
137
|
+
* The main outcome the business wants from its customers, for example "Get more class bookings".
|
|
138
|
+
* @maxLength 500
|
|
139
|
+
*/
|
|
140
|
+
businessGoal?: string;
|
|
141
|
+
/** How strongly the site's content supports business_goal. */
|
|
142
|
+
businessGoalConfidence?: BusinessGoalConfidenceWithLiterals;
|
|
143
|
+
/**
|
|
144
|
+
* Who the business's customers are.
|
|
145
|
+
* @maxLength 500
|
|
146
|
+
*/
|
|
147
|
+
audience?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Main products or services the business offers, as named on the site.
|
|
150
|
+
* @maxSize 6
|
|
151
|
+
* @maxLength 200
|
|
152
|
+
*/
|
|
153
|
+
keyOfferings?: string[];
|
|
154
|
+
/**
|
|
155
|
+
* Site content of each kind that the generated app can show.
|
|
156
|
+
* @maxSize 10
|
|
157
|
+
*/
|
|
158
|
+
usableContent?: UsableContent[];
|
|
159
|
+
/**
|
|
160
|
+
* Names of the Wix business apps installed on the site, for example "Wix Bookings".
|
|
161
|
+
* @maxSize 30
|
|
162
|
+
* @maxLength 100
|
|
163
|
+
*/
|
|
164
|
+
installedVerticals?: string[];
|
|
165
|
+
/**
|
|
166
|
+
* Short points the app should focus on to serve business_goal.
|
|
167
|
+
* @maxSize 3
|
|
168
|
+
* @maxLength 300
|
|
169
|
+
*/
|
|
170
|
+
appFocus?: string[];
|
|
171
|
+
/**
|
|
172
|
+
* How the site's own text sounds to its customers, so the app's text can sound the same, for
|
|
173
|
+
* example "Warm and homely; short sentences; speaks to the customer as 'you'".
|
|
174
|
+
* @maxLength 500
|
|
175
|
+
*/
|
|
176
|
+
toneOfVoice?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Up to three short phrases quoted from the site that show its tone of voice.
|
|
179
|
+
* @maxSize 3
|
|
180
|
+
* @maxLength 200
|
|
181
|
+
*/
|
|
182
|
+
toneExamples?: string[];
|
|
183
|
+
}
|
|
184
|
+
declare enum BusinessGoalConfidence {
|
|
185
|
+
/** The site gives little or conflicting evidence for the goal. */
|
|
186
|
+
LOW = "LOW",
|
|
187
|
+
/** The goal is a reasonable inference from the site. */
|
|
188
|
+
MEDIUM = "MEDIUM",
|
|
189
|
+
/** The goal follows directly from strong evidence, such as a booking app with services. */
|
|
190
|
+
HIGH = "HIGH"
|
|
191
|
+
}
|
|
192
|
+
/** @enumType */
|
|
193
|
+
type BusinessGoalConfidenceWithLiterals = BusinessGoalConfidence | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
194
|
+
/** Site content of one kind that the generated app can show. */
|
|
195
|
+
interface UsableContent {
|
|
196
|
+
/** Where the content comes from. */
|
|
197
|
+
source?: ContentSourceWithLiterals;
|
|
198
|
+
/**
|
|
199
|
+
* What the content is, for example "12 yoga and pilates classes with prices".
|
|
200
|
+
* @maxLength 500
|
|
201
|
+
*/
|
|
202
|
+
description?: string;
|
|
203
|
+
/** Number of items found, when known. */
|
|
204
|
+
itemCount?: number | null;
|
|
205
|
+
}
|
|
206
|
+
declare enum ContentSource {
|
|
207
|
+
/** Wix Stores products. */
|
|
208
|
+
STORES = "STORES",
|
|
209
|
+
/** Wix Bookings services. */
|
|
210
|
+
BOOKINGS = "BOOKINGS",
|
|
211
|
+
/** Wix Events events. */
|
|
212
|
+
EVENTS = "EVENTS",
|
|
213
|
+
/** Wix Blog posts. */
|
|
214
|
+
BLOG = "BLOG",
|
|
215
|
+
/** Wix Pricing Plans plans. */
|
|
216
|
+
PRICING_PLANS = "PRICING_PLANS",
|
|
217
|
+
/** Wix Restaurants menu items. */
|
|
218
|
+
RESTAURANTS = "RESTAURANTS",
|
|
219
|
+
/** Wix CMS (Wix Data) collections. */
|
|
220
|
+
CMS = "CMS",
|
|
221
|
+
/** Text of the published site's home page. */
|
|
222
|
+
SITE_TEXT = "SITE_TEXT"
|
|
223
|
+
}
|
|
224
|
+
/** @enumType */
|
|
225
|
+
type ContentSourceWithLiterals = ContentSource | 'STORES' | 'BOOKINGS' | 'EVENTS' | 'BLOG' | 'PRICING_PLANS' | 'RESTAURANTS' | 'CMS' | 'SITE_TEXT';
|
|
117
226
|
/**
|
|
118
227
|
* Visual identity extracted from the user's existing website. Serves as an editable
|
|
119
228
|
* starting point for the generated app.
|
|
@@ -720,4 +829,4 @@ interface ModifyPlanOptions {
|
|
|
720
829
|
planEditContext?: PlanEditContext;
|
|
721
830
|
}
|
|
722
831
|
|
|
723
|
-
export { type AccountInfo, type ActionEvent, type AnsweredQuestion, type AppSpec, type BrandIdentity, type BusinessContext, type CreateAndGeneratePlanRequest, type CreateAndGeneratePlanResponse, type CreatePlanRequest, type CreatePlanResponse, type DeletePlanRequest, type DeletePlanResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Feature, type FinalizePlanRequest, type FinalizePlanResponse, type FollowUpQuestion, type GeneratePlanRequest, type GeneratePlanResponse, type GetPlanByProjectIdRequest, type GetPlanByProjectIdResponse, type GetPlanRequest, type GetPlanResponse, type IdentificationData, type IdentificationDataIdOneOf, type Integration, type MessageEnvelope, type ModifyPlanOptions, type ModifyPlanRequest, type ModifyPlanResponse, type Plan, type PlanEditContext, type PlanFinalized, PlanPartType, type PlanPartTypeWithLiterals, PlanStatus, type PlanStatusWithLiterals, Platform, type PlatformWithLiterals, type RegenerateIconRequest, type RegenerateIconResponse, type RestoreInfo, type UpdatePlan, type UpdatePlanRequest, type UpdatePlanResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals };
|
|
832
|
+
export { type AccountInfo, type ActionEvent, type AnsweredQuestion, type AppSpec, type BrandIdentity, type BusinessAnalysis, type BusinessContext, BusinessGoalConfidence, type BusinessGoalConfidenceWithLiterals, ContentSource, type ContentSourceWithLiterals, type CreateAndGeneratePlanRequest, type CreateAndGeneratePlanResponse, type CreatePlanRequest, type CreatePlanResponse, type DeletePlanRequest, type DeletePlanResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Feature, type FinalizePlanRequest, type FinalizePlanResponse, type FollowUpQuestion, type GeneratePlanRequest, type GeneratePlanResponse, type GetPlanByProjectIdRequest, type GetPlanByProjectIdResponse, type GetPlanRequest, type GetPlanResponse, type IdentificationData, type IdentificationDataIdOneOf, type Integration, type MessageEnvelope, type ModifyPlanOptions, type ModifyPlanRequest, type ModifyPlanResponse, type Plan, type PlanEditContext, type PlanFinalized, PlanPartType, type PlanPartTypeWithLiterals, PlanStatus, type PlanStatusWithLiterals, Platform, type PlatformWithLiterals, type RegenerateIconRequest, type RegenerateIconResponse, type RestoreInfo, type UpdatePlan, type UpdatePlanRequest, type UpdatePlanResponse, type UsableContent, WebhookIdentityType, type WebhookIdentityTypeWithLiterals };
|
package/build/cjs/index.js
CHANGED
|
@@ -20,6 +20,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
+
BusinessGoalConfidence: () => BusinessGoalConfidence,
|
|
24
|
+
ContentSource: () => ContentSource,
|
|
23
25
|
PlanPartType: () => PlanPartType,
|
|
24
26
|
PlanStatus: () => PlanStatus,
|
|
25
27
|
Platform: () => Platform,
|
|
@@ -356,6 +358,23 @@ var PlanStatus = /* @__PURE__ */ ((PlanStatus2) => {
|
|
|
356
358
|
PlanStatus2["FINALIZED"] = "FINALIZED";
|
|
357
359
|
return PlanStatus2;
|
|
358
360
|
})(PlanStatus || {});
|
|
361
|
+
var BusinessGoalConfidence = /* @__PURE__ */ ((BusinessGoalConfidence2) => {
|
|
362
|
+
BusinessGoalConfidence2["LOW"] = "LOW";
|
|
363
|
+
BusinessGoalConfidence2["MEDIUM"] = "MEDIUM";
|
|
364
|
+
BusinessGoalConfidence2["HIGH"] = "HIGH";
|
|
365
|
+
return BusinessGoalConfidence2;
|
|
366
|
+
})(BusinessGoalConfidence || {});
|
|
367
|
+
var ContentSource = /* @__PURE__ */ ((ContentSource2) => {
|
|
368
|
+
ContentSource2["STORES"] = "STORES";
|
|
369
|
+
ContentSource2["BOOKINGS"] = "BOOKINGS";
|
|
370
|
+
ContentSource2["EVENTS"] = "EVENTS";
|
|
371
|
+
ContentSource2["BLOG"] = "BLOG";
|
|
372
|
+
ContentSource2["PRICING_PLANS"] = "PRICING_PLANS";
|
|
373
|
+
ContentSource2["RESTAURANTS"] = "RESTAURANTS";
|
|
374
|
+
ContentSource2["CMS"] = "CMS";
|
|
375
|
+
ContentSource2["SITE_TEXT"] = "SITE_TEXT";
|
|
376
|
+
return ContentSource2;
|
|
377
|
+
})(ContentSource || {});
|
|
359
378
|
var PlanPartType = /* @__PURE__ */ ((PlanPartType2) => {
|
|
360
379
|
PlanPartType2["APP_NAME"] = "APP_NAME";
|
|
361
380
|
PlanPartType2["APP_DESCRIPTION"] = "APP_DESCRIPTION";
|
|
@@ -718,6 +737,8 @@ var regenerateIcon4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)
|
|
|
718
737
|
var finalizePlan4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(finalizePlan3);
|
|
719
738
|
// Annotate the CommonJS export names for ESM import in node:
|
|
720
739
|
0 && (module.exports = {
|
|
740
|
+
BusinessGoalConfidence,
|
|
741
|
+
ContentSource,
|
|
721
742
|
PlanPartType,
|
|
722
743
|
PlanStatus,
|
|
723
744
|
Platform,
|