@app-studio/web 0.9.21 → 0.9.22

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.
Files changed (68) hide show
  1. package/README.md +17 -1
  2. package/dist/components/ChatInput/ChatInput/ChatInput.props.d.ts +9 -0
  3. package/dist/components/ChatInput/EditableInput.d.ts +1 -1
  4. package/dist/services/api/index.d.ts +6 -17
  5. package/dist/services/api/models/ActionListParam.d.ts +18 -0
  6. package/dist/services/api/models/CheckRatingParams.d.ts +1 -1
  7. package/dist/services/api/models/CreateActionParams.d.ts +1 -13
  8. package/dist/services/api/models/CreateAnalyticParams.d.ts +1 -1
  9. package/dist/services/api/models/CreateCommentAnswerParams.d.ts +1 -1
  10. package/dist/services/api/models/CreateCommentParams.d.ts +1 -1
  11. package/dist/services/api/models/CreateRatingParams.d.ts +1 -1
  12. package/dist/services/api/models/CreateReportParams.d.ts +1 -1
  13. package/dist/services/api/models/EditLogoParams.d.ts +22 -0
  14. package/dist/services/api/models/EditPageStreamParams.d.ts +6 -0
  15. package/dist/services/api/models/FindCommentParams.d.ts +1 -1
  16. package/dist/services/api/models/FindReportParams.d.ts +1 -1
  17. package/dist/services/api/models/FindUserParams.d.ts +1 -1
  18. package/dist/services/api/models/GenerateProjectParams.d.ts +0 -4
  19. package/dist/services/api/models/GetAnalyticViewParams.d.ts +1 -1
  20. package/dist/services/api/models/ListCommentParams.d.ts +1 -1
  21. package/dist/services/api/models/SetAnalyticViewParams.d.ts +1 -1
  22. package/dist/services/api/models/UpdateActionParams.d.ts +2 -2
  23. package/dist/services/api/models/UpdateObjectDto.d.ts +1 -0
  24. package/dist/services/api/models/UpdateUserParams.d.ts +14 -6
  25. package/dist/services/api/services/ActionService.d.ts +90 -30
  26. package/dist/services/api/services/AssistantService.d.ts +12 -0
  27. package/dist/services/api/services/ComponentService.d.ts +22 -38
  28. package/dist/services/api/services/FieldService.d.ts +2 -2
  29. package/dist/services/api/services/ItemService.d.ts +13 -0
  30. package/dist/services/api/services/NewsletterService.d.ts +2 -2
  31. package/dist/services/api/services/ObjectService.d.ts +74 -0
  32. package/dist/services/api/services/PageService.d.ts +0 -60
  33. package/dist/services/api/services/SeedService.d.ts +4 -4
  34. package/dist/services/api/services/UploadService.d.ts +55 -0
  35. package/dist/services/api/services/WorkflowService.d.ts +24 -25
  36. package/dist/utils/apiConfig.d.ts +24 -0
  37. package/dist/web.cjs.development.js +4 -7
  38. package/dist/web.cjs.development.js.map +1 -1
  39. package/dist/web.cjs.production.min.js +1 -1
  40. package/dist/web.cjs.production.min.js.map +1 -1
  41. package/dist/web.esm.js +4 -7
  42. package/dist/web.esm.js.map +1 -1
  43. package/dist/web.umd.development.js +4 -7
  44. package/dist/web.umd.development.js.map +1 -1
  45. package/dist/web.umd.production.min.js +1 -1
  46. package/dist/web.umd.production.min.js.map +1 -1
  47. package/docs/README.md +21 -14
  48. package/docs/documentation-system.md +90 -0
  49. package/package.json +2 -1
  50. package/dist/services/api/models/CreateApplicationParams.d.ts +0 -10
  51. package/dist/services/api/models/CreateGrantParams.d.ts +0 -10
  52. package/dist/services/api/models/CreateProjectParams.d.ts +0 -10
  53. package/dist/services/api/models/FindApplicationParams.d.ts +0 -19
  54. package/dist/services/api/models/FindPageParams.d.ts +0 -22
  55. package/dist/services/api/models/FixPageParams.d.ts +0 -10
  56. package/dist/services/api/models/UpdateApplicationParams.d.ts +0 -6
  57. package/dist/services/api/models/UpdateComponentPropsParams.d.ts +0 -10
  58. package/dist/services/api/models/UpdateGrantParams.d.ts +0 -6
  59. package/dist/services/api/models/UpdatePageParams.d.ts +0 -14
  60. package/dist/services/api/models/UpdateProjectParams.d.ts +0 -10
  61. package/dist/services/api/services/ApplicationService.d.ts +0 -83
  62. package/dist/services/api/services/ComponentRevisionService.d.ts +0 -25
  63. package/dist/services/api/services/FileService.d.ts +0 -30
  64. package/dist/services/api/services/GrantService.d.ts +0 -100
  65. package/dist/services/api/services/ProjectService.d.ts +0 -59
  66. package/dist/services/api/services/PromptService.d.ts +0 -18
  67. package/docs/guide.md +0 -550
  68. package/docs/integration-guide.md +0 -449
package/README.md CHANGED
@@ -7,9 +7,25 @@
7
7
 
8
8
  A comprehensive, accessible, and customizable React component library built with TypeScript and App Studio. This library provides a wide range of UI components designed to help you build beautiful and functional web applications quickly and efficiently.
9
9
 
10
- ## Features
10
+ ## 🚀 What's Included
11
+
12
+ - **40+ UI Components**: Complete component library for modern web applications
13
+ - **ADK Agent Components**: Specialized components for Agent Development Kit integration
14
+ - **Full TypeScript Support**: Complete type definitions and IntelliSense
15
+ - **Production Ready**: Battle-tested components used in real applications
16
+
17
+ ## 📚 Documentation
18
+
19
+ - **[Getting Started](./docs/getting-started/introduction.md)** - Quick introduction and setup
20
+ - **[Component Library](./docs/README.md)** - Complete component documentation
21
+ - **[ADK Components](./README-ADK.md)** - Agent Development Kit integration
22
+ - **[API Integration](./docs/api-integration.md)** - Backend integration guide
23
+ - **[Development Guide](./docs/component-development/guide.md)** - Contributing and development
24
+
25
+ ## ✨ Features
11
26
 
12
27
  - **40+ UI Components**: From basic elements to complex interactive components
28
+ - **ADK Agent Integration**: Complete Agent Development Kit compatibility
13
29
  - **Fully Typed**: Built with TypeScript for better developer experience
14
30
  - **Accessible**: Follows WCAG guidelines for accessibility
15
31
  - **Customizable**: Easily theme and style components to match your brand
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ViewProps } from 'app-studio';
3
3
  import { ChatInputStyles, ModelOption, PromptExample, Shape, Size, UploadedFile, Variant } from './ChatInput.type';
4
+ import { Suggestion } from '../EditableInput';
4
5
  /**
5
6
  * Props for the ChatInput component
6
7
  */
@@ -84,6 +85,10 @@ export interface ChatInputProps extends ViewProps {
84
85
  * List of prompt examples
85
86
  */
86
87
  promptExamples?: PromptExample[];
88
+ /**
89
+ * List of suggestions for auto-completion
90
+ */
91
+ suggestions?: Suggestion[];
87
92
  /**
88
93
  * Callback function when a prompt example is selected
89
94
  */
@@ -253,4 +258,8 @@ export interface ChatInputViewProps extends ChatInputProps {
253
258
  * Callback function to set a file as reference image
254
259
  */
255
260
  setFileAsReference: (fileIndex: number) => void;
261
+ /**
262
+ * List of suggestions for auto-completion
263
+ */
264
+ suggestions?: Suggestion[];
256
265
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- interface Suggestion {
2
+ export interface Suggestion {
3
3
  id: string;
4
4
  text: string;
5
5
  description?: string;
@@ -1,6 +1,7 @@
1
1
  export { ApiError } from './core/ApiError';
2
2
  export { CancelablePromise, CancelError } from './core/CancelablePromise';
3
3
  export { OpenAPI } from './core/OpenAPI';
4
+ export type { ActionListParam } from './models/ActionListParam';
4
5
  export type { AgentMessage } from './models/AgentMessage';
5
6
  export type { AgentMessageResponse } from './models/AgentMessageResponse';
6
7
  export type { AgentRunRequest } from './models/AgentRunRequest';
@@ -11,7 +12,6 @@ export type { CheckRatingParams } from './models/CheckRatingParams';
11
12
  export type { CreateActionParams } from './models/CreateActionParams';
12
13
  export type { CreateAdminParams } from './models/CreateAdminParams';
13
14
  export type { CreateAnalyticParams } from './models/CreateAnalyticParams';
14
- export type { CreateApplicationParams } from './models/CreateApplicationParams';
15
15
  export type { CreateCommentAnswerParams } from './models/CreateCommentAnswerParams';
16
16
  export type { CreateCommentParams } from './models/CreateCommentParams';
17
17
  export type { CreateComponentRevisionParams } from './models/CreateComponentRevisionParams';
@@ -19,7 +19,6 @@ export type { CreateContentParams } from './models/CreateContentParams';
19
19
  export type { CreateEvaluationParams } from './models/CreateEvaluationParams';
20
20
  export type { CreateExempleParams } from './models/CreateExempleParams';
21
21
  export type { CreateFeedbackParams } from './models/CreateFeedbackParams';
22
- export type { CreateGrantParams } from './models/CreateGrantParams';
23
22
  export type { CreateHighlightParams } from './models/CreateHighlightParams';
24
23
  export type { CreateHomeParams } from './models/CreateHomeParams';
25
24
  export type { CreateItemParams } from './models/CreateItemParams';
@@ -30,7 +29,6 @@ export type { CreateNewsParams } from './models/CreateNewsParams';
30
29
  export type { createPageComponentParams } from './models/createPageComponentParams';
31
30
  export type { CreatePageParams } from './models/CreatePageParams';
32
31
  export type { CreatePaymentParams } from './models/CreatePaymentParams';
33
- export type { CreateProjectParams } from './models/CreateProjectParams';
34
32
  export type { CreateRatingParams } from './models/CreateRatingParams';
35
33
  export type { CreateReportParams } from './models/CreateReportParams';
36
34
  export type { CreateSessionParams } from './models/CreateSessionParams';
@@ -40,12 +38,13 @@ export type { DeployPageParams } from './models/DeployPageParams';
40
38
  export type { DomainPageParams } from './models/DomainPageParams';
41
39
  export type { EditComponentsParams } from './models/EditComponentsParams';
42
40
  export type { EditImageParams } from './models/EditImageParams';
41
+ export type { EditLogoParams } from './models/EditLogoParams';
42
+ export type { EditPageStreamParams } from './models/EditPageStreamParams';
43
43
  export type { EditTextParams } from './models/EditTextParams';
44
44
  export type { EvaluationResponse } from './models/EvaluationResponse';
45
45
  export type { FieldCreateOptionsParams } from './models/FieldCreateOptionsParams';
46
46
  export type { FindAdminParams } from './models/FindAdminParams';
47
47
  export type { FindAnalyticParams } from './models/FindAnalyticParams';
48
- export type { FindApplicationParams } from './models/FindApplicationParams';
49
48
  export type { FindCommentParams } from './models/FindCommentParams';
50
49
  export type { FindContentParams } from './models/FindContentParams';
51
50
  export type { FindExempleParams } from './models/FindExempleParams';
@@ -53,11 +52,9 @@ export type { FindFeedbackParams } from './models/FindFeedbackParams';
53
52
  export type { FindLikeParams } from './models/FindLikeParams';
54
53
  export type { FindNewsletterParams } from './models/FindNewsletterParams';
55
54
  export type { FindNewsParams } from './models/FindNewsParams';
56
- export type { FindPageParams } from './models/FindPageParams';
57
55
  export type { FindReportParams } from './models/FindReportParams';
58
56
  export type { FindUserParams } from './models/FindUserParams';
59
57
  export type { FixComponentParams } from './models/FixComponentParams';
60
- export type { FixPageParams } from './models/FixPageParams';
61
58
  export type { ForgotPasswordAdminParams } from './models/ForgotPasswordAdminParams';
62
59
  export type { ForgotPasswordParams } from './models/ForgotPasswordParams';
63
60
  export type { GenerateAssistantParams } from './models/GenerateAssistantParams';
@@ -85,14 +82,11 @@ export type { TraceMetrics } from './models/TraceMetrics';
85
82
  export type { UpdateAccountParams } from './models/UpdateAccountParams';
86
83
  export type { UpdateActionParams } from './models/UpdateActionParams';
87
84
  export type { UpdateAdminParams } from './models/UpdateAdminParams';
88
- export type { UpdateApplicationParams } from './models/UpdateApplicationParams';
89
85
  export type { UpdateCommentParams } from './models/UpdateCommentParams';
90
86
  export type { UpdateComponentParams } from './models/UpdateComponentParams';
91
- export type { UpdateComponentPropsParams } from './models/UpdateComponentPropsParams';
92
87
  export type { UpdateContentParams } from './models/UpdateContentParams';
93
88
  export type { UpdateExempleParams } from './models/UpdateExempleParams';
94
89
  export type { UpdateFeedbackParams } from './models/UpdateFeedbackParams';
95
- export type { UpdateGrantParams } from './models/UpdateGrantParams';
96
90
  export type { UpdateHighlightParams } from './models/UpdateHighlightParams';
97
91
  export type { UpdateHomeParams } from './models/UpdateHomeParams';
98
92
  export type { UpdateImagePropsParams } from './models/UpdateImagePropsParams';
@@ -103,11 +97,10 @@ export type { UpdateLikeParams } from './models/UpdateLikeParams';
103
97
  export type { UpdateNewsletterParams } from './models/UpdateNewsletterParams';
104
98
  export type { UpdateNewsletterSectionParams } from './models/UpdateNewsletterSectionParams';
105
99
  export type { UpdateNewsParams } from './models/UpdateNewsParams';
106
- export type { UpdatePageParams } from './models/UpdatePageParams';
100
+ export type { UpdateObjectDto } from './models/UpdateObjectDto';
107
101
  export type { UpdatePasswordAminParams } from './models/UpdatePasswordAminParams';
108
102
  export type { UpdatePasswordParams } from './models/UpdatePasswordParams';
109
103
  export type { UpdateProfileParams } from './models/UpdateProfileParams';
110
- export type { UpdateProjectParams } from './models/UpdateProjectParams';
111
104
  export type { UpdateReportParams } from './models/UpdateReportParams';
112
105
  export type { UpdateSourceParams } from './models/UpdateSourceParams';
113
106
  export type { UpdateTaskStatus } from './models/UpdateTaskStatus';
@@ -121,19 +114,15 @@ export * as AdkTraceService from './services/AdkTraceService';
121
114
  export * as AdminService from './services/AdminService';
122
115
  export * as AnalyticService from './services/AnalyticService';
123
116
  export * as AppService from './services/AppService';
124
- export * as ApplicationService from './services/ApplicationService';
125
117
  export * as AssistantService from './services/AssistantService';
126
118
  export * as AuthService from './services/AuthService';
127
119
  export * as CommentService from './services/CommentService';
128
120
  export * as ComponentService from './services/ComponentService';
129
- export * as ComponentRevisionService from './services/ComponentRevisionService';
130
121
  export * as ContentService from './services/ContentService';
131
122
  export * as CronService from './services/CronService';
132
123
  export * as ExempleService from './services/ExempleService';
133
124
  export * as FeedbackService from './services/FeedbackService';
134
125
  export * as FieldService from './services/FieldService';
135
- export * as FileService from './services/FileService';
136
- export * as GrantService from './services/GrantService';
137
126
  export * as HighlightService from './services/HighlightService';
138
127
  export * as HomeService from './services/HomeService';
139
128
  export * as IapService from './services/IapService';
@@ -143,14 +132,14 @@ export * as ItemTextsService from './services/ItemTextsService';
143
132
  export * as LikeService from './services/LikeService';
144
133
  export * as NewsService from './services/NewsService';
145
134
  export * as NewsletterService from './services/NewsletterService';
135
+ export * as ObjectService from './services/ObjectService';
146
136
  export * as PageService from './services/PageService';
147
137
  export * as PaymentService from './services/PaymentService';
148
138
  export * as ProfileService from './services/ProfileService';
149
- export * as ProjectService from './services/ProjectService';
150
- export * as PromptService from './services/PromptService';
151
139
  export * as RatingService from './services/RatingService';
152
140
  export * as ReportService from './services/ReportService';
153
141
  export * as SectionService from './services/SectionService';
154
142
  export * as SeedService from './services/SeedService';
143
+ export * as UploadService from './services/UploadService';
155
144
  export * as UserService from './services/UserService';
156
145
  export * as WorkflowService from './services/WorkflowService';
@@ -0,0 +1,18 @@
1
+ export declare type ActionListParam = {
2
+ /**
3
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
4
+ */
5
+ objectType: string;
6
+ /**
7
+ * Object Id
8
+ */
9
+ objectId: string;
10
+ /**
11
+ * Skill :project,finance,dev,brand,growth,community,design,ads,product
12
+ */
13
+ skill: string;
14
+ /**
15
+ * Project id
16
+ */
17
+ projectId: string;
18
+ };
@@ -1,7 +1,7 @@
1
1
  export declare type CheckRatingParams = {
2
2
  objectId: string;
3
3
  /**
4
- * ObjectType :profile,news,comment,feature,feedback
4
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
5
5
  */
6
6
  objectType: string;
7
7
  };
@@ -6,17 +6,5 @@ export declare type CreateActionParams = {
6
6
  /**
7
7
  * The ID of the project associated with the action
8
8
  */
9
- projectId: number;
10
- /**
11
- * The status of the action
12
- */
13
- status: 'PENDING' | 'ASSIGNED' | 'IN_PROGRESS' | 'COMPLETED' | 'ERROR';
14
- /**
15
- * The result of the action (optional JSON)
16
- */
17
- result?: any;
18
- /**
19
- * The requirements associated with the action (optional)
20
- */
21
- requirements?: any[];
9
+ projectId: string;
22
10
  };
@@ -8,7 +8,7 @@ export declare type CreateAnalyticParams = {
8
8
  */
9
9
  name?: string;
10
10
  /**
11
- * ObjectType :profile,news,comment,feature,feedback
11
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
12
12
  */
13
13
  objectType?: string;
14
14
  /**
@@ -3,7 +3,7 @@ export declare type CreateCommentAnswerParams = {
3
3
  text: string;
4
4
  objectId?: string;
5
5
  /**
6
- * ObjectType :profile,news,comment,feature,feedback
6
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
7
7
  */
8
8
  objectType: string;
9
9
  };
@@ -2,7 +2,7 @@ export declare type CreateCommentParams = {
2
2
  text: string;
3
3
  objectId: string;
4
4
  /**
5
- * ObjectType :profile,news,comment,feature,feedback
5
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
6
6
  */
7
7
  objectType: string;
8
8
  };
@@ -4,7 +4,7 @@ export declare type CreateRatingParams = {
4
4
  */
5
5
  objectId: string;
6
6
  /**
7
- * ObjectType :profile,news,comment,feature,feedback
7
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
8
8
  */
9
9
  objectType: string;
10
10
  /**
@@ -9,7 +9,7 @@ export declare type CreateReportParams = {
9
9
  content?: any;
10
10
  objectId: string;
11
11
  /**
12
- * objectType :profile,news,comment,feature,feedback
12
+ * objectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
13
13
  */
14
14
  objectType: string;
15
15
  };
@@ -0,0 +1,22 @@
1
+ export declare type EditLogoParams = {
2
+ /**
3
+ * The URL of the logo image to edit
4
+ */
5
+ imageUrl: string;
6
+ /**
7
+ * The prompt describing how to edit the logo
8
+ */
9
+ prompt: string;
10
+ /**
11
+ * Owner type for tracking purposes
12
+ */
13
+ ownerType?: string;
14
+ /**
15
+ * Specific model to use for logo editing
16
+ */
17
+ model?: string;
18
+ /**
19
+ * Specific provider to use for logo editing
20
+ */
21
+ provider?: string;
22
+ };
@@ -0,0 +1,6 @@
1
+ export declare type EditPageStreamParams = {
2
+ /**
3
+ * Prompt for editing the page using AI agent
4
+ */
5
+ prompt: string;
6
+ };
@@ -1,6 +1,6 @@
1
1
  export declare type FindCommentParams = {
2
2
  /**
3
- * ObjectType :profile,news,comment,feature,feedback
3
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
4
4
  */
5
5
  objectType: string;
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  export declare type FindReportParams = {
2
2
  /**
3
- * objectType :profile,news,comment,feature,feedback
3
+ * objectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
4
4
  */
5
5
  objectType: string;
6
6
  /**
@@ -7,7 +7,7 @@ export declare type FindUserParams = {
7
7
  /**
8
8
  * Order by field
9
9
  */
10
- sortField?: 'id' | 'name' | 'blocked' | 'inactive' | 'role' | 'language' | 'imageUrl' | 'image' | 'textModel' | 'textProvider' | 'textTemp' | 'textLanguage' | 'imageModel' | 'imageProvider' | 'imageTemp' | 'videoModel' | 'videoProvider' | 'videoTemp' | 'createdAt' | 'updatedAt';
10
+ sortField?: 'id' | 'name' | 'blocked' | 'inactive' | 'role' | 'language' | 'imageUrl' | 'image' | 'textModel' | 'textProvider' | 'textTemp' | 'textLanguage' | 'imageModel' | 'imageProvider' | 'imageTemp' | 'imageEditModel' | 'imageEditProvider' | 'videoModel' | 'videoProvider' | 'videoTemp' | 'createdAt' | 'updatedAt';
11
11
  /**
12
12
  * Order sort
13
13
  */
@@ -1,8 +1,4 @@
1
1
  export declare type GenerateProjectParams = {
2
- /**
3
- * The name of the project to be created.
4
- */
5
- name: string;
6
2
  /**
7
3
  * The description of the project to be created.
8
4
  */
@@ -1,6 +1,6 @@
1
1
  export declare type GetAnalyticViewParams = {
2
2
  /**
3
- * ObjectType :profile,news,comment,feature,feedback
3
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
4
4
  */
5
5
  objectType: string;
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  export declare type ListCommentParams = {
2
2
  /**
3
- * ObjectType :profile,news,comment,feature,feedback
3
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
4
4
  */
5
5
  objectType: string;
6
6
  objectId: string;
@@ -1,6 +1,6 @@
1
1
  export declare type SetAnalyticViewParams = {
2
2
  /**
3
- * ObjectType :profile,news,comment,feature,feedback
3
+ * ObjectType :profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
4
4
  */
5
5
  objectType: string;
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  export declare type UpdateActionParams = {
2
2
  /**
3
- * The new name of the action
3
+ * The new data of the action
4
4
  */
5
- name?: string;
5
+ field?: any;
6
6
  };
@@ -0,0 +1 @@
1
+ export declare type UpdateObjectDto = {};
@@ -18,27 +18,35 @@ export declare type UpdateUserParams = {
18
18
  */
19
19
  textLanguage?: string;
20
20
  /**
21
- * image Model
21
+ * Image Model
22
22
  */
23
23
  imageModel?: string;
24
24
  /**
25
- * image Provider
25
+ * Image Provider
26
26
  */
27
27
  imageProvider?: string;
28
28
  /**
29
- * image Temperature
29
+ * Image Temperature
30
30
  */
31
31
  imageTemp?: number;
32
32
  /**
33
- * video Model
33
+ * Image Edit Model
34
+ */
35
+ imageEditModel?: string;
36
+ /**
37
+ * Image Edit Provider
38
+ */
39
+ imageEditProvider?: string;
40
+ /**
41
+ * Video Model
34
42
  */
35
43
  videoModel?: string;
36
44
  /**
37
- * video Provider
45
+ * Video Provider
38
46
  */
39
47
  videoProvider?: string;
40
48
  /**
41
- * video Temperature
49
+ * Video Temperature
42
50
  */
43
51
  videoTemp?: number;
44
52
  };
@@ -1,72 +1,132 @@
1
+ import type { ActionListParam } from '../models/ActionListParam';
1
2
  import type { CreateActionParams } from '../models/CreateActionParams';
2
3
  import type { UpdateActionParams } from '../models/UpdateActionParams';
3
4
  import type { CancelablePromise } from '../core/CancelablePromise';
4
5
  import { UseRequestOption, UseRequestProperties } from '@app-studio/react-request';
5
6
  /**
6
- * As an admin, I want to create a action
7
+ * Create a product and its generation action
8
+ * @param objectType ObjectType: profile,news,comment,feature,feedback,project,action,page,component,grant,application,survey
7
9
  * @param requestBody
8
- * @returns any action created
10
+ * @returns any
9
11
  * @throws ApiError
10
12
  */
11
- export declare const actionControllerCreate: (requestBody: CreateActionParams) => CancelablePromise<any>;
13
+ export declare const actionControllerCreate: (objectType: 'profile' | 'news' | 'comment' | 'feature' | 'feedback' | 'project' | 'action' | 'page' | 'component' | 'grant' | 'application' | 'survey', requestBody: CreateActionParams) => CancelablePromise<any>;
12
14
  /**
13
15
  * As a user, I want to find a specific action by criteria
14
- * @param skill Skill
15
- * @param projectId Project id
16
+ * @param requestBody
16
17
  * @returns any Action found
17
18
  * @throws ApiError
18
19
  */
19
- export declare const actionControllerList: (skill?: "brand" | "design" | "finance" | "product" | "project" | "dev" | "growth" | "community" | "ads" | undefined, projectId?: string | undefined) => CancelablePromise<any>;
20
+ export declare const actionControllerList: (requestBody: ActionListParam) => CancelablePromise<any>;
21
+ /**
22
+ * As an admin, I want to update a action
23
+ * @param actionId
24
+ * @param stepId
25
+ * @param requestBody
26
+ * @returns any action updated
27
+ * @throws ApiError
28
+ */
29
+ export declare const actionControllerUpdateStepResult: (actionId: string, stepId: string, requestBody: UpdateActionParams) => CancelablePromise<any>;
30
+ /**
31
+ * As an admin, I want to update a action
32
+ * @param stepId
33
+ * @returns any action updated
34
+ * @throws ApiError
35
+ */
36
+ export declare const actionControllerUpdateStepStatus: (stepId: string) => CancelablePromise<any>;
37
+ /**
38
+ * @param actionId
39
+ * @returns any
40
+ * @throws ApiError
41
+ */
42
+ export declare const actionControllerAnalyze: (actionId: string) => CancelablePromise<any>;
43
+ /**
44
+ * Restart a failed workflow step
45
+ * @param actionId
46
+ * @param stepId
47
+ * @returns any Step restarted successfully
48
+ * @throws ApiError
49
+ */
50
+ export declare const actionControllerRestartStep: (actionId: string, stepId: string) => CancelablePromise<any>;
20
51
  /**
21
52
  * As a user, I want to read a specific action
22
- * @param id
53
+ * @param actionId
23
54
  * @returns any action details fetched
24
55
  * @throws ApiError
25
56
  */
26
- export declare const actionControllerRead: (id: string) => CancelablePromise<any>;
57
+ export declare const actionControllerGet: (actionId: string) => CancelablePromise<any>;
27
58
  /**
28
- * As an admin, I want to delete a action
29
- * @param id
30
- * @returns any action deleted
59
+ * Get action configuration for a specific object type
60
+ * @param objectType
61
+ * @returns any Action configuration retrieved successfully
31
62
  * @throws ApiError
32
63
  */
33
- export declare const actionControllerDelete: (id: string) => CancelablePromise<any>;
64
+ export declare const actionControllerGetActionConfig: (objectType: string) => CancelablePromise<any>;
34
65
  /**
35
- * As an admin, I want to update a action
36
- * @param id
37
- * @param requestBody
38
- * @returns any action updated
66
+ * Get form configuration for a step by action ID and step name
67
+ * @param actionId
68
+ * @param stepName
69
+ * @returns any Form configuration retrieved successfully
39
70
  * @throws ApiError
40
71
  */
41
- export declare const actionControllerUpdate: (id: string, requestBody: UpdateActionParams) => CancelablePromise<any>;
72
+ export declare const actionControllerGetFormConfigByStepName: (actionId: string, stepName: string) => CancelablePromise<any>;
42
73
  /**
43
- * As an admin, I want to update a action
74
+ * Get workflow steps configuration for a step by action ID and step name
75
+ * @param actionId
76
+ * @param stepName
77
+ * @returns any Workflow steps configuration retrieved successfully
78
+ * @throws ApiError
79
+ */
80
+ export declare const actionControllerGetWorkflowStepsByStepName: (actionId: string, stepName: string) => CancelablePromise<any>;
81
+ /**
82
+ * Generate product content based on analysis
83
+ * @param actionId
44
84
  * @param stepId
45
- * @returns any action updated
85
+ * @returns any
46
86
  * @throws ApiError
47
87
  */
48
- export declare const actionControllerUpdateStepStatus: (stepId: string) => CancelablePromise<any>;
88
+ export declare const actionControllerGenerate: (actionId: string, stepId: string) => CancelablePromise<any>;
49
89
  export declare const useActionControllerCreateService: ({ method, ...options }?: UseRequestOption) => {
50
- run: (requestBody: CreateActionParams) => void;
90
+ run: (objectType: 'profile' | 'news' | 'comment' | 'feature' | 'feedback' | 'project' | 'action' | 'page' | 'component' | 'grant' | 'application' | 'survey', requestBody: CreateActionParams) => void;
51
91
  data: any;
52
92
  } & UseRequestProperties;
53
93
  export declare const useActionControllerListService: ({ method, ...options }?: UseRequestOption) => {
54
- run: (skill?: "brand" | "design" | "finance" | "product" | "project" | "dev" | "growth" | "community" | "ads" | undefined, projectId?: string | undefined) => void;
94
+ run: (requestBody: ActionListParam) => void;
55
95
  data: any;
56
96
  } & UseRequestProperties;
57
- export declare const useActionControllerReadService: ({ method, ...options }?: UseRequestOption) => {
58
- run: (id: string) => void;
97
+ export declare const useActionControllerUpdateStepResultService: ({ method, ...options }?: UseRequestOption) => {
98
+ run: (actionId: string, stepId: string, requestBody: UpdateActionParams) => void;
59
99
  data: any;
60
100
  } & UseRequestProperties;
61
- export declare const useActionControllerDeleteService: ({ method, ...options }?: UseRequestOption) => {
62
- run: (id: string) => void;
101
+ export declare const useActionControllerUpdateStepStatusService: ({ method, ...options }?: UseRequestOption) => {
102
+ run: (stepId: string) => void;
63
103
  data: any;
64
104
  } & UseRequestProperties;
65
- export declare const useActionControllerUpdateService: ({ method, ...options }?: UseRequestOption) => {
66
- run: (id: string, requestBody: UpdateActionParams) => void;
105
+ export declare const useActionControllerAnalyzeService: ({ method, ...options }?: UseRequestOption) => {
106
+ run: (actionId: string) => void;
67
107
  data: any;
68
108
  } & UseRequestProperties;
69
- export declare const useActionControllerUpdateStepStatusService: ({ method, ...options }?: UseRequestOption) => {
70
- run: (stepId: string) => void;
109
+ export declare const useActionControllerRestartStepService: ({ method, ...options }?: UseRequestOption) => {
110
+ run: (actionId: string, stepId: string) => void;
111
+ data: any;
112
+ } & UseRequestProperties;
113
+ export declare const useActionControllerGetService: ({ method, ...options }?: UseRequestOption) => {
114
+ run: (actionId: string) => void;
115
+ data: any;
116
+ } & UseRequestProperties;
117
+ export declare const useActionControllerGetActionConfigService: ({ method, ...options }?: UseRequestOption) => {
118
+ run: (objectType: string) => void;
119
+ data: any;
120
+ } & UseRequestProperties;
121
+ export declare const useActionControllerGetFormConfigByStepNameService: ({ method, ...options }?: UseRequestOption) => {
122
+ run: (actionId: string, stepName: string) => void;
123
+ data: any;
124
+ } & UseRequestProperties;
125
+ export declare const useActionControllerGetWorkflowStepsByStepNameService: ({ method, ...options }?: UseRequestOption) => {
126
+ run: (actionId: string, stepName: string) => void;
127
+ data: any;
128
+ } & UseRequestProperties;
129
+ export declare const useActionControllerGenerateService: ({ method, ...options }?: UseRequestOption) => {
130
+ run: (actionId: string, stepId: string) => void;
71
131
  data: any;
72
132
  } & UseRequestProperties;
@@ -1,4 +1,5 @@
1
1
  import type { EditImageParams } from '../models/EditImageParams';
2
+ import type { EditLogoParams } from '../models/EditLogoParams';
2
3
  import type { EditTextParams } from '../models/EditTextParams';
3
4
  import type { GenerateAssistantParams } from '../models/GenerateAssistantParams';
4
5
  import type { GenerateJsonAssistantParams } from '../models/GenerateJsonAssistantParams';
@@ -25,6 +26,13 @@ export declare const assistantControllerGenerateAiJsonContent: (requestBody: Gen
25
26
  * @throws ApiError
26
27
  */
27
28
  export declare const assistantControllerEditImage: (requestBody: EditImageParams) => CancelablePromise<any>;
29
+ /**
30
+ * As a user, I want to edit an image using AI
31
+ * @param requestBody
32
+ * @returns any Image edited successfully
33
+ * @throws ApiError
34
+ */
35
+ export declare const assistantControllerEditLogo: (requestBody: EditLogoParams) => CancelablePromise<any>;
28
36
  /**
29
37
  * As a user, I want to edit text using AI
30
38
  * @param requestBody
@@ -44,6 +52,10 @@ export declare const useAssistantControllerEditImageService: ({ method, ...optio
44
52
  run: (requestBody: EditImageParams) => void;
45
53
  data: any;
46
54
  } & UseRequestProperties;
55
+ export declare const useAssistantControllerEditLogoService: ({ method, ...options }?: UseRequestOption) => {
56
+ run: (requestBody: EditLogoParams) => void;
57
+ data: any;
58
+ } & UseRequestProperties;
47
59
  export declare const useAssistantControllerEditTextService: ({ method, ...options }?: UseRequestOption) => {
48
60
  run: (requestBody: EditTextParams) => void;
49
61
  data: any;