@wix/auto_sdk_containers_plans 1.0.5 → 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.
- package/build/cjs/index.d.ts +43 -1
- package/build/cjs/index.js +60 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +53 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +45 -2
- package/build/cjs/meta.js +48 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +43 -1
- package/build/es/index.mjs +58 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +51 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +45 -2
- package/build/es/meta.mjs +46 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +18 -3
- package/build/internal/cjs/index.typings.d.ts +56 -1
- package/build/internal/cjs/meta.d.ts +45 -2
- package/build/internal/es/index.d.mts +18 -3
- package/build/internal/es/index.typings.d.mts +56 -1
- package/build/internal/es/meta.d.mts +45 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { Plan, CreateAndGeneratePlanResponse, GetPlanByProjectIdResponse, UpdatePlan, GeneratePlanResponse, ModifyPlanOptions, ModifyPlanResponse, RegenerateIconResponse, FinalizePlanResponse } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, ActionEvent, AnsweredQuestion, AppSpec, BrandIdentity, BusinessAnalysis, BusinessContext, BusinessGoalConfidence, BusinessGoalConfidenceWithLiterals, ContentSource, ContentSourceWithLiterals, CreateAndGeneratePlanRequest, CreatePlanRequest, CreatePlanResponse, DeletePlanRequest, DeletePlanResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Feature, FinalizePlanRequest, FollowUpQuestion, GeneratePlanRequest, GetPlanByProjectIdRequest, GetPlanRequest, GetPlanResponse, IdentificationData, IdentificationDataIdOneOf, Integration, MessageEnvelope, ModifyPlanRequest, PlanEditContext, PlanFinalized, PlanPartType, PlanPartTypeWithLiterals, PlanStatus, PlanStatusWithLiterals, Platform, PlatformWithLiterals, RegenerateIconRequest, RestoreInfo, UpdatePlanRequest, UpdatePlanResponse, UsableContent, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
2
|
+
import { Plan, CreateAndGeneratePlanResponse, GetPlanByProjectIdResponse, UpdatePlan, GeneratePlanResponse, ModifyPlanOptions, ModifyPlanResponse, RegenerateIconResponse, FinalizePlanResponse, GetPromptSuggestionsResponse } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, AnsweredQuestion, AppSpec, BrandIdentity, BusinessAnalysis, BusinessContext, BusinessGoalConfidence, BusinessGoalConfidenceWithLiterals, ContentSource, ContentSourceWithLiterals, CreateAndGeneratePlanRequest, CreatePlanRequest, CreatePlanResponse, DeletePlanRequest, DeletePlanResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Feature, FinalizePlanRequest, FollowUpQuestion, GeneratePlanRequest, GetPlanByProjectIdRequest, GetPlanRequest, GetPlanResponse, GetPromptSuggestionsRequest, IdentificationData, IdentificationDataIdOneOf, Integration, MessageEnvelope, ModifyPlanRequest, PlanEditContext, PlanFinalized, PlanPartType, PlanPartTypeWithLiterals, PlanStatus, PlanStatusWithLiterals, Platform, PlatformWithLiterals, PromptSuggestion, PromptSuggestionsSource, PromptSuggestionsSourceWithLiterals, RegenerateIconRequest, RestoreInfo, UpdatePlanRequest, UpdatePlanResponse, UsableContent, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
/** @internal */
|
|
6
6
|
declare function createPlan$1(httpClient: HttpClient): CreatePlanSignature;
|
|
@@ -109,6 +109,19 @@ interface FinalizePlanSignature {
|
|
|
109
109
|
*/
|
|
110
110
|
(planId: string, conversationId: string): Promise<NonNullablePaths<FinalizePlanResponse, `plan.initialPrompt` | `plan.platform` | `plan.status` | `plan.businessContext.businessName` | `plan.businessContext.businessLogoUrl` | `plan.businessContext.businessDescription` | `plan.businessContext.language` | `plan.businessContext.country` | `plan.businessContext.wixIntegrations` | `plan.businessContext.analysis.industry` | `plan.businessContext.analysis.summary` | `plan.businessContext.analysis.businessGoal` | `plan.businessContext.analysis.businessGoalConfidence` | `plan.businessContext.analysis.audience` | `plan.businessContext.analysis.keyOfferings` | `plan.businessContext.analysis.usableContent` | `plan.businessContext.analysis.usableContent.${number}.source` | `plan.businessContext.analysis.usableContent.${number}.description` | `plan.businessContext.analysis.installedVerticals` | `plan.businessContext.analysis.appFocus` | `plan.businessContext.analysis.toneOfVoice` | `plan.businessContext.analysis.toneExamples` | `plan.brandIdentity.primaryColor` | `plan.brandIdentity.backgroundColor` | `plan.brandIdentity.contentColor` | `plan.brandIdentity.headingFont` | `plan.brandIdentity.bodyFont` | `plan.appSpec.appName` | `plan.appSpec.appDescription` | `plan.appSpec.businessGoal` | `plan.appSpec.audience` | `plan.appSpec.wixIntegrations` | `plan.appSpec.wixIntegrations.${number}.displayName` | `plan.appSpec.wixIntegrations.${number}.description` | `plan.appSpec.wixIntegrations.${number}._id` | `plan.appSpec.thirdPartyIntegrations` | `plan.appSpec.features` | `plan.appSpec.features.${number}.title` | `plan.appSpec.features.${number}.description` | `plan.appSpec.navigation` | `plan.appSpec.appIconUrl`, 5>>;
|
|
111
111
|
}
|
|
112
|
+
/** @internal */
|
|
113
|
+
declare function getPromptSuggestions$1(httpClient: HttpClient): GetPromptSuggestionsSignature;
|
|
114
|
+
interface GetPromptSuggestionsSignature {
|
|
115
|
+
/**
|
|
116
|
+
* Returns a first request and suggestion chips for the site in the call scope, made from the
|
|
117
|
+
* site's business: its content, business goal and tone. The server keeps one business profile per
|
|
118
|
+
* site, checks the site for changes at most every 30 days, and runs the analysis again only when
|
|
119
|
+
* the site changed or once a year. Empty, with source NO_SUGGESTIONS, when the feature is off for
|
|
120
|
+
* the site, the site gives nothing to use, or the first profile is not ready yet; then show the
|
|
121
|
+
* static first prompt.
|
|
122
|
+
*/
|
|
123
|
+
(): Promise<NonNullablePaths<GetPromptSuggestionsResponse, `businessName` | `defaultPrompt` | `suggestions` | `suggestions.${number}.label` | `suggestions.${number}.prompt` | `source`, 2>>;
|
|
124
|
+
}
|
|
112
125
|
|
|
113
126
|
/** @internal */
|
|
114
127
|
declare const createPlan: MaybeContext<BuildRESTFunction<typeof createPlan$1> & typeof createPlan$1>;
|
|
@@ -130,5 +143,7 @@ declare const modifyPlan: MaybeContext<BuildRESTFunction<typeof modifyPlan$1> &
|
|
|
130
143
|
declare const regenerateIcon: MaybeContext<BuildRESTFunction<typeof regenerateIcon$1> & typeof regenerateIcon$1>;
|
|
131
144
|
/** @internal */
|
|
132
145
|
declare const finalizePlan: MaybeContext<BuildRESTFunction<typeof finalizePlan$1> & typeof finalizePlan$1>;
|
|
146
|
+
/** @internal */
|
|
147
|
+
declare const getPromptSuggestions: MaybeContext<BuildRESTFunction<typeof getPromptSuggestions$1> & typeof getPromptSuggestions$1>;
|
|
133
148
|
|
|
134
|
-
export { CreateAndGeneratePlanResponse, FinalizePlanResponse, GeneratePlanResponse, GetPlanByProjectIdResponse, ModifyPlanOptions, ModifyPlanResponse, Plan, RegenerateIconResponse, UpdatePlan, createAndGeneratePlan, createPlan, deletePlan, finalizePlan, generatePlan, getPlan, getPlanByProjectId, modifyPlan, regenerateIcon, updatePlan };
|
|
149
|
+
export { CreateAndGeneratePlanResponse, FinalizePlanResponse, GeneratePlanResponse, GetPlanByProjectIdResponse, GetPromptSuggestionsResponse, ModifyPlanOptions, ModifyPlanResponse, Plan, RegenerateIconResponse, UpdatePlan, createAndGeneratePlan, createPlan, deletePlan, finalizePlan, generatePlan, getPlan, getPlanByProjectId, getPromptSuggestions, modifyPlan, regenerateIcon, updatePlan };
|
|
@@ -611,6 +611,48 @@ interface FinalizePlanResponse {
|
|
|
611
611
|
/** The finalized Plan. */
|
|
612
612
|
plan?: Plan;
|
|
613
613
|
}
|
|
614
|
+
interface GetPromptSuggestionsRequest {
|
|
615
|
+
}
|
|
616
|
+
interface GetPromptSuggestionsResponse {
|
|
617
|
+
/**
|
|
618
|
+
* Name of the business the suggestions are for. Empty when unknown.
|
|
619
|
+
* @maxLength 200
|
|
620
|
+
*/
|
|
621
|
+
businessName?: string;
|
|
622
|
+
/**
|
|
623
|
+
* The owner's first request, ready to send or to edit. Empty when there are no suggestions.
|
|
624
|
+
* @maxLength 500
|
|
625
|
+
*/
|
|
626
|
+
defaultPrompt?: string;
|
|
627
|
+
/**
|
|
628
|
+
* App ideas for this business, strongest first: none, or 3 to 5.
|
|
629
|
+
* @maxSize 5
|
|
630
|
+
*/
|
|
631
|
+
suggestions?: PromptSuggestion[];
|
|
632
|
+
/** Where the suggestions come from. */
|
|
633
|
+
source?: PromptSuggestionsSourceWithLiterals;
|
|
634
|
+
}
|
|
635
|
+
/** One suggestion chip. */
|
|
636
|
+
interface PromptSuggestion {
|
|
637
|
+
/**
|
|
638
|
+
* Short chip text, one line on a phone, for example "Workshop booking app".
|
|
639
|
+
* @maxLength 42
|
|
640
|
+
*/
|
|
641
|
+
label?: string;
|
|
642
|
+
/**
|
|
643
|
+
* The owner's full request that the chip puts in the prompt box.
|
|
644
|
+
* @maxLength 400
|
|
645
|
+
*/
|
|
646
|
+
prompt?: string;
|
|
647
|
+
}
|
|
648
|
+
declare enum PromptSuggestionsSource {
|
|
649
|
+
/** Made from the site's business profile. */
|
|
650
|
+
BUSINESS_PROFILE = "BUSINESS_PROFILE",
|
|
651
|
+
/** No suggestions: show the static first prompt. */
|
|
652
|
+
NO_SUGGESTIONS = "NO_SUGGESTIONS"
|
|
653
|
+
}
|
|
654
|
+
/** @enumType */
|
|
655
|
+
type PromptSuggestionsSourceWithLiterals = PromptSuggestionsSource | 'BUSINESS_PROFILE' | 'NO_SUGGESTIONS';
|
|
614
656
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
615
657
|
createdEvent?: EntityCreatedEvent;
|
|
616
658
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -964,5 +1006,18 @@ declare function regenerateIcon(planId: string, prompt: string): Promise<NonNull
|
|
|
964
1006
|
* @fqn wix.containers.plans.v1.ContainersPlans.FinalizePlan
|
|
965
1007
|
*/
|
|
966
1008
|
declare function finalizePlan(planId: string, conversationId: string): Promise<NonNullablePaths<FinalizePlanResponse, `plan.initialPrompt` | `plan.platform` | `plan.status` | `plan.businessContext.businessName` | `plan.businessContext.businessLogoUrl` | `plan.businessContext.businessDescription` | `plan.businessContext.language` | `plan.businessContext.country` | `plan.businessContext.wixIntegrations` | `plan.businessContext.analysis.industry` | `plan.businessContext.analysis.summary` | `plan.businessContext.analysis.businessGoal` | `plan.businessContext.analysis.businessGoalConfidence` | `plan.businessContext.analysis.audience` | `plan.businessContext.analysis.keyOfferings` | `plan.businessContext.analysis.usableContent` | `plan.businessContext.analysis.usableContent.${number}.source` | `plan.businessContext.analysis.usableContent.${number}.description` | `plan.businessContext.analysis.installedVerticals` | `plan.businessContext.analysis.appFocus` | `plan.businessContext.analysis.toneOfVoice` | `plan.businessContext.analysis.toneExamples` | `plan.brandIdentity.primaryColor` | `plan.brandIdentity.backgroundColor` | `plan.brandIdentity.contentColor` | `plan.brandIdentity.headingFont` | `plan.brandIdentity.bodyFont` | `plan.appSpec.appName` | `plan.appSpec.appDescription` | `plan.appSpec.businessGoal` | `plan.appSpec.audience` | `plan.appSpec.wixIntegrations` | `plan.appSpec.wixIntegrations.${number}.displayName` | `plan.appSpec.wixIntegrations.${number}.description` | `plan.appSpec.wixIntegrations.${number}._id` | `plan.appSpec.thirdPartyIntegrations` | `plan.appSpec.features` | `plan.appSpec.features.${number}.title` | `plan.appSpec.features.${number}.description` | `plan.appSpec.navigation` | `plan.appSpec.appIconUrl`, 5>>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Returns a first request and suggestion chips for the site in the call scope, made from the
|
|
1011
|
+
* site's business: its content, business goal and tone. The server keeps one business profile per
|
|
1012
|
+
* site, checks the site for changes at most every 30 days, and runs the analysis again only when
|
|
1013
|
+
* the site changed or once a year. Empty, with source NO_SUGGESTIONS, when the feature is off for
|
|
1014
|
+
* the site, the site gives nothing to use, or the first profile is not ready yet; then show the
|
|
1015
|
+
* static first prompt.
|
|
1016
|
+
* @internal
|
|
1017
|
+
* @documentationMaturity preview
|
|
1018
|
+
* @permissionId containers:plans:v1:plan:get_prompt_suggestions
|
|
1019
|
+
* @fqn wix.containers.plans.v1.ContainersPlans.GetPromptSuggestions
|
|
1020
|
+
*/
|
|
1021
|
+
declare function getPromptSuggestions(): Promise<NonNullablePaths<GetPromptSuggestionsResponse, `businessName` | `defaultPrompt` | `suggestions` | `suggestions.${number}.label` | `suggestions.${number}.prompt` | `source`, 2>>;
|
|
967
1022
|
|
|
968
|
-
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, createAndGeneratePlan, createPlan, deletePlan, finalizePlan, generatePlan, getPlan, getPlanByProjectId, modifyPlan, regenerateIcon, updatePlan };
|
|
1023
|
+
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 GetPromptSuggestionsRequest, type GetPromptSuggestionsResponse, 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 PromptSuggestion, PromptSuggestionsSource, type PromptSuggestionsSourceWithLiterals, type RegenerateIconRequest, type RegenerateIconResponse, type RestoreInfo, type UpdatePlan, type UpdatePlanRequest, type UpdatePlanResponse, type UsableContent, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createAndGeneratePlan, createPlan, deletePlan, finalizePlan, generatePlan, getPlan, getPlanByProjectId, getPromptSuggestions, modifyPlan, regenerateIcon, updatePlan };
|
|
@@ -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.typings.mjs';
|
|
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.typings.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface Plan {
|
|
@@ -612,6 +612,48 @@ interface FinalizePlanResponse {
|
|
|
612
612
|
/** The finalized Plan. */
|
|
613
613
|
plan?: Plan;
|
|
614
614
|
}
|
|
615
|
+
interface GetPromptSuggestionsRequest {
|
|
616
|
+
}
|
|
617
|
+
interface GetPromptSuggestionsResponse {
|
|
618
|
+
/**
|
|
619
|
+
* Name of the business the suggestions are for. Empty when unknown.
|
|
620
|
+
* @maxLength 200
|
|
621
|
+
*/
|
|
622
|
+
businessName?: string;
|
|
623
|
+
/**
|
|
624
|
+
* The owner's first request, ready to send or to edit. Empty when there are no suggestions.
|
|
625
|
+
* @maxLength 500
|
|
626
|
+
*/
|
|
627
|
+
defaultPrompt?: string;
|
|
628
|
+
/**
|
|
629
|
+
* App ideas for this business, strongest first: none, or 3 to 5.
|
|
630
|
+
* @maxSize 5
|
|
631
|
+
*/
|
|
632
|
+
suggestions?: PromptSuggestion[];
|
|
633
|
+
/** Where the suggestions come from. */
|
|
634
|
+
source?: PromptSuggestionsSourceWithLiterals;
|
|
635
|
+
}
|
|
636
|
+
/** One suggestion chip. */
|
|
637
|
+
interface PromptSuggestion {
|
|
638
|
+
/**
|
|
639
|
+
* Short chip text, one line on a phone, for example "Workshop booking app".
|
|
640
|
+
* @maxLength 42
|
|
641
|
+
*/
|
|
642
|
+
label?: string;
|
|
643
|
+
/**
|
|
644
|
+
* The owner's full request that the chip puts in the prompt box.
|
|
645
|
+
* @maxLength 400
|
|
646
|
+
*/
|
|
647
|
+
prompt?: string;
|
|
648
|
+
}
|
|
649
|
+
declare enum PromptSuggestionsSource {
|
|
650
|
+
/** Made from the site's business profile. */
|
|
651
|
+
BUSINESS_PROFILE = "BUSINESS_PROFILE",
|
|
652
|
+
/** No suggestions: show the static first prompt. */
|
|
653
|
+
NO_SUGGESTIONS = "NO_SUGGESTIONS"
|
|
654
|
+
}
|
|
655
|
+
/** @enumType */
|
|
656
|
+
type PromptSuggestionsSourceWithLiterals = PromptSuggestionsSource | 'BUSINESS_PROFILE' | 'NO_SUGGESTIONS';
|
|
615
657
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
616
658
|
createdEvent?: EntityCreatedEvent;
|
|
617
659
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -846,5 +888,6 @@ declare function regenerateIcon(): __PublicMethodMetaInfo<'POST', {
|
|
|
846
888
|
declare function finalizePlan(): __PublicMethodMetaInfo<'POST', {
|
|
847
889
|
planId: string;
|
|
848
890
|
}, FinalizePlanRequest$1, FinalizePlanRequest, FinalizePlanResponse$1, FinalizePlanResponse>;
|
|
891
|
+
declare function getPromptSuggestions(): __PublicMethodMetaInfo<'GET', {}, GetPromptSuggestionsRequest$1, GetPromptSuggestionsRequest, GetPromptSuggestionsResponse$1, GetPromptSuggestionsResponse>;
|
|
849
892
|
|
|
850
|
-
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 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, type UsableContent as UsableContentOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, createAndGeneratePlan, createPlan, deletePlan, finalizePlan, generatePlan, getPlan, getPlanByProjectId, modifyPlan, regenerateIcon, updatePlan };
|
|
893
|
+
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/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.6",
|
|
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": "849371ae2e6b7d6e48bcdcdccf071466d49c7b9458396d27a8cfbc1b"
|
|
54
54
|
}
|