@app-studio/web 0.9.20 → 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 (76) 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/components/adk/AgentChat/AgentChat/AgentChat.props.d.ts +26 -3
  5. package/dist/components/adk/AgentChat/examples/default.d.ts +1 -1
  6. package/dist/components/adk/AgentEval/AgentEval/AgentEval.props.d.ts +33 -2
  7. package/dist/components/adk/AgentSession/AgentSession/AgentSession.props.d.ts +23 -1
  8. package/dist/components/adk/AgentSession/examples/default.d.ts +6 -0
  9. package/dist/components/adk/AgentTrace/AgentTrace/AgentTrace.props.d.ts +38 -3
  10. package/dist/services/api/index.d.ts +6 -17
  11. package/dist/services/api/models/ActionListParam.d.ts +18 -0
  12. package/dist/services/api/models/CheckRatingParams.d.ts +1 -1
  13. package/dist/services/api/models/CreateActionParams.d.ts +1 -13
  14. package/dist/services/api/models/CreateAnalyticParams.d.ts +1 -1
  15. package/dist/services/api/models/CreateCommentAnswerParams.d.ts +1 -1
  16. package/dist/services/api/models/CreateCommentParams.d.ts +1 -1
  17. package/dist/services/api/models/CreateRatingParams.d.ts +1 -1
  18. package/dist/services/api/models/CreateReportParams.d.ts +1 -1
  19. package/dist/services/api/models/EditLogoParams.d.ts +22 -0
  20. package/dist/services/api/models/EditPageStreamParams.d.ts +6 -0
  21. package/dist/services/api/models/FindCommentParams.d.ts +1 -1
  22. package/dist/services/api/models/FindReportParams.d.ts +1 -1
  23. package/dist/services/api/models/FindUserParams.d.ts +1 -1
  24. package/dist/services/api/models/GenerateProjectParams.d.ts +0 -4
  25. package/dist/services/api/models/GetAnalyticViewParams.d.ts +1 -1
  26. package/dist/services/api/models/ListCommentParams.d.ts +1 -1
  27. package/dist/services/api/models/SetAnalyticViewParams.d.ts +1 -1
  28. package/dist/services/api/models/UpdateActionParams.d.ts +2 -2
  29. package/dist/services/api/models/UpdateObjectDto.d.ts +1 -0
  30. package/dist/services/api/models/UpdateUserParams.d.ts +14 -6
  31. package/dist/services/api/services/ActionService.d.ts +90 -30
  32. package/dist/services/api/services/AssistantService.d.ts +12 -0
  33. package/dist/services/api/services/ComponentService.d.ts +22 -38
  34. package/dist/services/api/services/FieldService.d.ts +2 -2
  35. package/dist/services/api/services/ItemService.d.ts +13 -0
  36. package/dist/services/api/services/NewsletterService.d.ts +2 -2
  37. package/dist/services/api/services/ObjectService.d.ts +74 -0
  38. package/dist/services/api/services/PageService.d.ts +0 -60
  39. package/dist/services/api/services/SeedService.d.ts +4 -4
  40. package/dist/services/api/services/UploadService.d.ts +55 -0
  41. package/dist/services/api/services/WorkflowService.d.ts +24 -25
  42. package/dist/utils/apiConfig.d.ts +24 -0
  43. package/dist/web.cjs.development.js +85 -12
  44. package/dist/web.cjs.development.js.map +1 -1
  45. package/dist/web.cjs.production.min.js +1 -1
  46. package/dist/web.cjs.production.min.js.map +1 -1
  47. package/dist/web.esm.js +85 -12
  48. package/dist/web.esm.js.map +1 -1
  49. package/dist/web.umd.development.js +85 -12
  50. package/dist/web.umd.development.js.map +1 -1
  51. package/dist/web.umd.production.min.js +1 -1
  52. package/dist/web.umd.production.min.js.map +1 -1
  53. package/docs/README.md +21 -14
  54. package/docs/adk-customization-guide.md +204 -0
  55. package/docs/adk-customization-summary.md +157 -0
  56. package/docs/documentation-system.md +90 -0
  57. package/package.json +2 -1
  58. package/dist/services/api/models/CreateApplicationParams.d.ts +0 -10
  59. package/dist/services/api/models/CreateGrantParams.d.ts +0 -10
  60. package/dist/services/api/models/CreateProjectParams.d.ts +0 -10
  61. package/dist/services/api/models/FindApplicationParams.d.ts +0 -19
  62. package/dist/services/api/models/FindPageParams.d.ts +0 -22
  63. package/dist/services/api/models/FixPageParams.d.ts +0 -10
  64. package/dist/services/api/models/UpdateApplicationParams.d.ts +0 -6
  65. package/dist/services/api/models/UpdateComponentPropsParams.d.ts +0 -10
  66. package/dist/services/api/models/UpdateGrantParams.d.ts +0 -6
  67. package/dist/services/api/models/UpdatePageParams.d.ts +0 -14
  68. package/dist/services/api/models/UpdateProjectParams.d.ts +0 -10
  69. package/dist/services/api/services/ApplicationService.d.ts +0 -83
  70. package/dist/services/api/services/ComponentRevisionService.d.ts +0 -25
  71. package/dist/services/api/services/FileService.d.ts +0 -30
  72. package/dist/services/api/services/GrantService.d.ts +0 -100
  73. package/dist/services/api/services/ProjectService.d.ts +0 -59
  74. package/dist/services/api/services/PromptService.d.ts +0 -18
  75. package/docs/guide.md +0 -550
  76. package/docs/integration-guide.md +0 -449
@@ -6,19 +6,19 @@ import { UseRequestOption, UseRequestProperties } from '@app-studio/react-reques
6
6
  * @returns any Redirection done
7
7
  * @throws ApiError
8
8
  */
9
- export declare const seedControllerSeed: (seed: 'dynamicFieldToRead' | 'dynamicFieldToDelete' | 'fieldDynamic' | 'user' | 'creatorEvent' | 'admin' | 'test' | 'userPasswordForgot' | 'userWantingToChangePassword' | 'userAlreadyRegistered' | 'profileToRead' | 'profileToUpdate' | 'adminPasswordForgot' | 'adminWantingToChangePassword' | 'adminToUpdate' | 'adminToRead' | 'adminToDelete' | 'adminToFind1' | 'adminToFind2' | 'exempleToUpdate' | 'exempleToRead' | 'exempleToDelete' | 'exempleToFind1' | 'exempleToFind2' | 'adminUserDisplayedCount' | 'newsToShowOnHome' | 'likeOnNews' | 'likeOnProfile' | 'ratingOnFormation' | 'ratingToRead' | 'ratingOnFormationModule' | 'newsToDelete' | 'newsToFind' | 'newsToRead' | 'newsToUpdate' | 'contentToUpdate' | 'contentToRead' | 'contentToDelete' | 'contentToFind1' | 'contentToFind2' | 'commentToDelete' | 'commentToFind1' | 'commentToFind2' | 'commentToRead' | 'commentToUpdate' | 'commentToUpdateByAdmin' | 'commentToDeleteByAdmin' | 'commentToReport' | 'homeToUpdate' | 'homeToDelete' | 'homeToList' | 'homeToRead' | 'highlightToUpdate' | 'highlightToDelete' | 'highlightToList' | 'highlightToRead' | 'analyticToDelete' | 'analyticToFind1' | 'analyticToFind2' | 'analyticToRead' | 'analyticToUpdate' | 'notificationToRead' | 'projectToGenerate' | 'pageToCreate' | 'userToUpdate' | 'itemToRead' | 'itemTextToUpdate') => CancelablePromise<any>;
9
+ export declare const seedControllerSeed: (seed: 'dynamicFieldToRead' | 'dynamicFieldToDelete' | 'fieldDynamic' | 'user' | 'creatorEvent' | 'admin' | 'test' | 'userPasswordForgot' | 'userWantingToChangePassword' | 'userAlreadyRegistered' | 'profileToRead' | 'profileToUpdate' | 'adminPasswordForgot' | 'adminWantingToChangePassword' | 'adminToUpdate' | 'adminToRead' | 'adminToDelete' | 'adminToFind1' | 'adminToFind2' | 'exempleToUpdate' | 'exempleToRead' | 'exempleToDelete' | 'exempleToFind1' | 'exempleToFind2' | 'adminUserDisplayedCount' | 'newsToShowOnHome' | 'likeOnNews' | 'likeOnProfile' | 'ratingOnFormation' | 'ratingToRead' | 'ratingOnFormationModule' | 'newsToDelete' | 'newsToFind' | 'newsToRead' | 'newsToUpdate' | 'contentToUpdate' | 'contentToRead' | 'contentToDelete' | 'contentToFind1' | 'contentToFind2' | 'commentToDelete' | 'commentToFind1' | 'commentToFind2' | 'commentToRead' | 'commentToUpdate' | 'commentToUpdateByAdmin' | 'commentToDeleteByAdmin' | 'commentToReport' | 'homeToUpdate' | 'homeToDelete' | 'homeToList' | 'homeToRead' | 'highlightToUpdate' | 'highlightToDelete' | 'highlightToList' | 'highlightToRead' | 'analyticToDelete' | 'analyticToFind1' | 'analyticToFind2' | 'analyticToRead' | 'analyticToUpdate' | 'notificationToRead' | 'projectToGenerate' | 'userToUpdate' | 'itemToRead' | 'itemTextToUpdate' | 'pageToCreate') => CancelablePromise<any>;
10
10
  /**
11
11
  * get seed data
12
12
  * @param seed Seed a service
13
13
  * @returns any Redirection done
14
14
  * @throws ApiError
15
15
  */
16
- export declare const seedControllerGet: (seed: 'dynamicFieldToRead' | 'dynamicFieldToDelete' | 'fieldDynamic' | 'user' | 'creatorEvent' | 'admin' | 'test' | 'userPasswordForgot' | 'userWantingToChangePassword' | 'userAlreadyRegistered' | 'profileToRead' | 'profileToUpdate' | 'adminPasswordForgot' | 'adminWantingToChangePassword' | 'adminToUpdate' | 'adminToRead' | 'adminToDelete' | 'adminToFind1' | 'adminToFind2' | 'exempleToUpdate' | 'exempleToRead' | 'exempleToDelete' | 'exempleToFind1' | 'exempleToFind2' | 'adminUserDisplayedCount' | 'newsToShowOnHome' | 'likeOnNews' | 'likeOnProfile' | 'ratingOnFormation' | 'ratingToRead' | 'ratingOnFormationModule' | 'newsToDelete' | 'newsToFind' | 'newsToRead' | 'newsToUpdate' | 'contentToUpdate' | 'contentToRead' | 'contentToDelete' | 'contentToFind1' | 'contentToFind2' | 'commentToDelete' | 'commentToFind1' | 'commentToFind2' | 'commentToRead' | 'commentToUpdate' | 'commentToUpdateByAdmin' | 'commentToDeleteByAdmin' | 'commentToReport' | 'homeToUpdate' | 'homeToDelete' | 'homeToList' | 'homeToRead' | 'highlightToUpdate' | 'highlightToDelete' | 'highlightToList' | 'highlightToRead' | 'analyticToDelete' | 'analyticToFind1' | 'analyticToFind2' | 'analyticToRead' | 'analyticToUpdate' | 'notificationToRead' | 'projectToGenerate' | 'pageToCreate' | 'userToUpdate' | 'itemToRead' | 'itemTextToUpdate') => CancelablePromise<any>;
16
+ export declare const seedControllerGet: (seed: 'dynamicFieldToRead' | 'dynamicFieldToDelete' | 'fieldDynamic' | 'user' | 'creatorEvent' | 'admin' | 'test' | 'userPasswordForgot' | 'userWantingToChangePassword' | 'userAlreadyRegistered' | 'profileToRead' | 'profileToUpdate' | 'adminPasswordForgot' | 'adminWantingToChangePassword' | 'adminToUpdate' | 'adminToRead' | 'adminToDelete' | 'adminToFind1' | 'adminToFind2' | 'exempleToUpdate' | 'exempleToRead' | 'exempleToDelete' | 'exempleToFind1' | 'exempleToFind2' | 'adminUserDisplayedCount' | 'newsToShowOnHome' | 'likeOnNews' | 'likeOnProfile' | 'ratingOnFormation' | 'ratingToRead' | 'ratingOnFormationModule' | 'newsToDelete' | 'newsToFind' | 'newsToRead' | 'newsToUpdate' | 'contentToUpdate' | 'contentToRead' | 'contentToDelete' | 'contentToFind1' | 'contentToFind2' | 'commentToDelete' | 'commentToFind1' | 'commentToFind2' | 'commentToRead' | 'commentToUpdate' | 'commentToUpdateByAdmin' | 'commentToDeleteByAdmin' | 'commentToReport' | 'homeToUpdate' | 'homeToDelete' | 'homeToList' | 'homeToRead' | 'highlightToUpdate' | 'highlightToDelete' | 'highlightToList' | 'highlightToRead' | 'analyticToDelete' | 'analyticToFind1' | 'analyticToFind2' | 'analyticToRead' | 'analyticToUpdate' | 'notificationToRead' | 'projectToGenerate' | 'userToUpdate' | 'itemToRead' | 'itemTextToUpdate' | 'pageToCreate') => CancelablePromise<any>;
17
17
  export declare const useSeedControllerSeedService: ({ method, ...options }?: UseRequestOption) => {
18
- run: (seed: 'dynamicFieldToRead' | 'dynamicFieldToDelete' | 'fieldDynamic' | 'user' | 'creatorEvent' | 'admin' | 'test' | 'userPasswordForgot' | 'userWantingToChangePassword' | 'userAlreadyRegistered' | 'profileToRead' | 'profileToUpdate' | 'adminPasswordForgot' | 'adminWantingToChangePassword' | 'adminToUpdate' | 'adminToRead' | 'adminToDelete' | 'adminToFind1' | 'adminToFind2' | 'exempleToUpdate' | 'exempleToRead' | 'exempleToDelete' | 'exempleToFind1' | 'exempleToFind2' | 'adminUserDisplayedCount' | 'newsToShowOnHome' | 'likeOnNews' | 'likeOnProfile' | 'ratingOnFormation' | 'ratingToRead' | 'ratingOnFormationModule' | 'newsToDelete' | 'newsToFind' | 'newsToRead' | 'newsToUpdate' | 'contentToUpdate' | 'contentToRead' | 'contentToDelete' | 'contentToFind1' | 'contentToFind2' | 'commentToDelete' | 'commentToFind1' | 'commentToFind2' | 'commentToRead' | 'commentToUpdate' | 'commentToUpdateByAdmin' | 'commentToDeleteByAdmin' | 'commentToReport' | 'homeToUpdate' | 'homeToDelete' | 'homeToList' | 'homeToRead' | 'highlightToUpdate' | 'highlightToDelete' | 'highlightToList' | 'highlightToRead' | 'analyticToDelete' | 'analyticToFind1' | 'analyticToFind2' | 'analyticToRead' | 'analyticToUpdate' | 'notificationToRead' | 'projectToGenerate' | 'pageToCreate' | 'userToUpdate' | 'itemToRead' | 'itemTextToUpdate') => void;
18
+ run: (seed: 'dynamicFieldToRead' | 'dynamicFieldToDelete' | 'fieldDynamic' | 'user' | 'creatorEvent' | 'admin' | 'test' | 'userPasswordForgot' | 'userWantingToChangePassword' | 'userAlreadyRegistered' | 'profileToRead' | 'profileToUpdate' | 'adminPasswordForgot' | 'adminWantingToChangePassword' | 'adminToUpdate' | 'adminToRead' | 'adminToDelete' | 'adminToFind1' | 'adminToFind2' | 'exempleToUpdate' | 'exempleToRead' | 'exempleToDelete' | 'exempleToFind1' | 'exempleToFind2' | 'adminUserDisplayedCount' | 'newsToShowOnHome' | 'likeOnNews' | 'likeOnProfile' | 'ratingOnFormation' | 'ratingToRead' | 'ratingOnFormationModule' | 'newsToDelete' | 'newsToFind' | 'newsToRead' | 'newsToUpdate' | 'contentToUpdate' | 'contentToRead' | 'contentToDelete' | 'contentToFind1' | 'contentToFind2' | 'commentToDelete' | 'commentToFind1' | 'commentToFind2' | 'commentToRead' | 'commentToUpdate' | 'commentToUpdateByAdmin' | 'commentToDeleteByAdmin' | 'commentToReport' | 'homeToUpdate' | 'homeToDelete' | 'homeToList' | 'homeToRead' | 'highlightToUpdate' | 'highlightToDelete' | 'highlightToList' | 'highlightToRead' | 'analyticToDelete' | 'analyticToFind1' | 'analyticToFind2' | 'analyticToRead' | 'analyticToUpdate' | 'notificationToRead' | 'projectToGenerate' | 'userToUpdate' | 'itemToRead' | 'itemTextToUpdate' | 'pageToCreate') => void;
19
19
  data: any;
20
20
  } & UseRequestProperties;
21
21
  export declare const useSeedControllerGetService: ({ method, ...options }?: UseRequestOption) => {
22
- run: (seed: 'dynamicFieldToRead' | 'dynamicFieldToDelete' | 'fieldDynamic' | 'user' | 'creatorEvent' | 'admin' | 'test' | 'userPasswordForgot' | 'userWantingToChangePassword' | 'userAlreadyRegistered' | 'profileToRead' | 'profileToUpdate' | 'adminPasswordForgot' | 'adminWantingToChangePassword' | 'adminToUpdate' | 'adminToRead' | 'adminToDelete' | 'adminToFind1' | 'adminToFind2' | 'exempleToUpdate' | 'exempleToRead' | 'exempleToDelete' | 'exempleToFind1' | 'exempleToFind2' | 'adminUserDisplayedCount' | 'newsToShowOnHome' | 'likeOnNews' | 'likeOnProfile' | 'ratingOnFormation' | 'ratingToRead' | 'ratingOnFormationModule' | 'newsToDelete' | 'newsToFind' | 'newsToRead' | 'newsToUpdate' | 'contentToUpdate' | 'contentToRead' | 'contentToDelete' | 'contentToFind1' | 'contentToFind2' | 'commentToDelete' | 'commentToFind1' | 'commentToFind2' | 'commentToRead' | 'commentToUpdate' | 'commentToUpdateByAdmin' | 'commentToDeleteByAdmin' | 'commentToReport' | 'homeToUpdate' | 'homeToDelete' | 'homeToList' | 'homeToRead' | 'highlightToUpdate' | 'highlightToDelete' | 'highlightToList' | 'highlightToRead' | 'analyticToDelete' | 'analyticToFind1' | 'analyticToFind2' | 'analyticToRead' | 'analyticToUpdate' | 'notificationToRead' | 'projectToGenerate' | 'pageToCreate' | 'userToUpdate' | 'itemToRead' | 'itemTextToUpdate') => void;
22
+ run: (seed: 'dynamicFieldToRead' | 'dynamicFieldToDelete' | 'fieldDynamic' | 'user' | 'creatorEvent' | 'admin' | 'test' | 'userPasswordForgot' | 'userWantingToChangePassword' | 'userAlreadyRegistered' | 'profileToRead' | 'profileToUpdate' | 'adminPasswordForgot' | 'adminWantingToChangePassword' | 'adminToUpdate' | 'adminToRead' | 'adminToDelete' | 'adminToFind1' | 'adminToFind2' | 'exempleToUpdate' | 'exempleToRead' | 'exempleToDelete' | 'exempleToFind1' | 'exempleToFind2' | 'adminUserDisplayedCount' | 'newsToShowOnHome' | 'likeOnNews' | 'likeOnProfile' | 'ratingOnFormation' | 'ratingToRead' | 'ratingOnFormationModule' | 'newsToDelete' | 'newsToFind' | 'newsToRead' | 'newsToUpdate' | 'contentToUpdate' | 'contentToRead' | 'contentToDelete' | 'contentToFind1' | 'contentToFind2' | 'commentToDelete' | 'commentToFind1' | 'commentToFind2' | 'commentToRead' | 'commentToUpdate' | 'commentToUpdateByAdmin' | 'commentToDeleteByAdmin' | 'commentToReport' | 'homeToUpdate' | 'homeToDelete' | 'homeToList' | 'homeToRead' | 'highlightToUpdate' | 'highlightToDelete' | 'highlightToList' | 'highlightToRead' | 'analyticToDelete' | 'analyticToFind1' | 'analyticToFind2' | 'analyticToRead' | 'analyticToUpdate' | 'notificationToRead' | 'projectToGenerate' | 'userToUpdate' | 'itemToRead' | 'itemTextToUpdate' | 'pageToCreate') => void;
23
23
  data: any;
24
24
  } & UseRequestProperties;
@@ -0,0 +1,55 @@
1
+ import type { CancelablePromise } from '../core/CancelablePromise';
2
+ import { UseRequestOption, UseRequestProperties } from '@app-studio/react-request';
3
+ /**
4
+ * Update an exemple picture. Only image files are supported (mime type image/*).
5
+ * @param formData
6
+ * @returns any Media Upload Succeed
7
+ * @throws ApiError
8
+ */
9
+ export declare const uploadControllerPicture: (formData: {
10
+ file?: Blob;
11
+ }, onProgress: any) => CancelablePromise<any>;
12
+ /**
13
+ * Update an exemple picture. Only image files are supported (mime type image/*).
14
+ * @param formData
15
+ * @returns any File Upload Succeed
16
+ * @throws ApiError
17
+ */
18
+ export declare const uploadControllerFile: (formData: {
19
+ file?: Blob;
20
+ }, onProgress: any) => CancelablePromise<any>;
21
+ /**
22
+ * As a user, i want to list my files
23
+ * @param objectType
24
+ * @param objectId
25
+ * @returns any Files listed
26
+ * @throws ApiError
27
+ */
28
+ export declare const uploadControllerList: (objectType: string, objectId: string, onProgress: any) => CancelablePromise<any>;
29
+ /**
30
+ * As a user, i want to delete a file
31
+ * @param id
32
+ * @returns any file delete
33
+ * @throws ApiError
34
+ */
35
+ export declare const uploadControllerRemove: (id: string, onProgress: any) => CancelablePromise<any>;
36
+ export declare const useUploadControllerPictureService: ({ method, ...options }?: UseRequestOption) => {
37
+ run: (formData: {
38
+ file?: Blob;
39
+ }) => void;
40
+ data: any;
41
+ } & UseRequestProperties;
42
+ export declare const useUploadControllerFileService: ({ method, ...options }?: UseRequestOption) => {
43
+ run: (formData: {
44
+ file?: Blob;
45
+ }) => void;
46
+ data: any;
47
+ } & UseRequestProperties;
48
+ export declare const useUploadControllerListService: ({ method, ...options }?: UseRequestOption) => {
49
+ run: (objectType: string, objectId: string) => void;
50
+ data: any;
51
+ } & UseRequestProperties;
52
+ export declare const useUploadControllerRemoveService: ({ method, ...options }?: UseRequestOption) => {
53
+ run: (id: string) => void;
54
+ data: any;
55
+ } & UseRequestProperties;
@@ -1,9 +1,9 @@
1
- import type { CreateApplicationParams } from '../models/CreateApplicationParams';
2
1
  import type { createPageComponentParams } from '../models/createPageComponentParams';
3
2
  import type { CreatePageParams } from '../models/CreatePageParams';
4
3
  import type { DeployPageParams } from '../models/DeployPageParams';
5
4
  import type { DomainPageParams } from '../models/DomainPageParams';
6
5
  import type { EditComponentsParams } from '../models/EditComponentsParams';
6
+ import type { EditPageStreamParams } from '../models/EditPageStreamParams';
7
7
  import type { GenerateProjectParams } from '../models/GenerateProjectParams';
8
8
  import type { RequestTask } from '../models/RequestTask';
9
9
  import type { ResetTaskParams } from '../models/ResetTaskParams';
@@ -75,13 +75,6 @@ export declare const workflowControllerResetTaskImage: (requestBody: ResetTaskPa
75
75
  * @throws ApiError
76
76
  */
77
77
  export declare const workflowControllerUpdateTaskStatus: (requestBody: UpdateTaskStatus) => CancelablePromise<any>;
78
- /**
79
- * As a admin, i want to generate the project details
80
- * @param requestBody
81
- * @returns any Project Details generated successfully
82
- * @throws ApiError
83
- */
84
- export declare const projectWorkflowControllerCreate: (requestBody: GenerateProjectParams) => CancelablePromise<any>;
85
78
  /**
86
79
  * Create a component
87
80
  * @param requestBody
@@ -118,21 +111,27 @@ export declare const pageWorkflowControllerDomains: (requestBody: DomainPagePara
118
111
  */
119
112
  export declare const pageWorkflowControllerEditComponents: (requestBody: EditComponentsParams) => CancelablePromise<any>;
120
113
  /**
121
- * Validate grant
122
- * @param grantId
123
- * @param stepId
124
- * @returns any Workflow created
114
+ * Edit page via agent (streaming)
115
+ * @param pageId
116
+ * @param requestBody
117
+ * @returns any Streaming response started
125
118
  * @throws ApiError
126
119
  */
127
- export declare const grantWorkflowControllerValidateUploadGrantFiles: (grantId: string, stepId: string, onProgress: any) => CancelablePromise<any>;
120
+ export declare const pageWorkflowControllerEditPageStream: (pageId: string, requestBody: EditPageStreamParams) => CancelablePromise<any>;
128
121
  /**
129
- * Validate application
130
- * @param stepId
122
+ * As a admin, i want to generate the project details
131
123
  * @param requestBody
132
- * @returns any Workflow created
124
+ * @returns any Project Details generated successfully
125
+ * @throws ApiError
126
+ */
127
+ export declare const projectWorkflowControllerCreate: (requestBody: GenerateProjectParams) => CancelablePromise<any>;
128
+ /**
129
+ * As a admin, i want to generate the project details
130
+ * @param requestBody
131
+ * @returns any Project Details generated successfully
133
132
  * @throws ApiError
134
133
  */
135
- export declare const applicationWorkflowControllerFillApplication: (stepId: string, requestBody: CreateApplicationParams) => CancelablePromise<any>;
134
+ export declare const projectWorkflowControllerGenerate: (requestBody: GenerateProjectParams) => CancelablePromise<any>;
136
135
  export declare const useWorkflowControllerGetService: ({ method, ...options }?: UseRequestOption) => {
137
136
  run: (id: string) => void;
138
137
  data: any;
@@ -169,10 +168,6 @@ export declare const useWorkflowControllerUpdateTaskStatusService: ({ method, ..
169
168
  run: (requestBody: UpdateTaskStatus) => void;
170
169
  data: any;
171
170
  } & UseRequestProperties;
172
- export declare const useProjectWorkflowControllerCreateService: ({ method, ...options }?: UseRequestOption) => {
173
- run: (requestBody: GenerateProjectParams) => void;
174
- data: any;
175
- } & UseRequestProperties;
176
171
  export declare const usePageWorkflowControllerCreateComponentTaskService: ({ method, ...options }?: UseRequestOption) => {
177
172
  run: (requestBody: createPageComponentParams) => void;
178
173
  data: any;
@@ -193,11 +188,15 @@ export declare const usePageWorkflowControllerEditComponentsService: ({ method,
193
188
  run: (requestBody: EditComponentsParams) => void;
194
189
  data: any;
195
190
  } & UseRequestProperties;
196
- export declare const useGrantWorkflowControllerValidateUploadGrantFilesService: ({ method, ...options }?: UseRequestOption) => {
197
- run: (grantId: string, stepId: string) => void;
191
+ export declare const usePageWorkflowControllerEditPageStreamService: ({ method, ...options }?: UseRequestOption) => {
192
+ run: (pageId: string, requestBody: EditPageStreamParams) => void;
198
193
  data: any;
199
194
  } & UseRequestProperties;
200
- export declare const useApplicationWorkflowControllerFillApplicationService: ({ method, ...options }?: UseRequestOption) => {
201
- run: (stepId: string, requestBody: CreateApplicationParams) => void;
195
+ export declare const useProjectWorkflowControllerCreateService: ({ method, ...options }?: UseRequestOption) => {
196
+ run: (requestBody: GenerateProjectParams) => void;
197
+ data: any;
198
+ } & UseRequestProperties;
199
+ export declare const useProjectWorkflowControllerGenerateService: ({ method, ...options }?: UseRequestOption) => {
200
+ run: (requestBody: GenerateProjectParams) => void;
202
201
  data: any;
203
202
  } & UseRequestProperties;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Initialize OpenAPI configuration
3
+ * This sets up the base URL and other configuration for the generated API service
4
+ */
5
+ export declare function initializeApiConfig(): void;
6
+ /**
7
+ * Set authentication token for API requests
8
+ */
9
+ export declare function setApiToken(token: string): void;
10
+ /**
11
+ * Clear authentication token
12
+ */
13
+ export declare function clearApiToken(): void;
14
+ /**
15
+ * Get current API configuration
16
+ */
17
+ export declare function getApiConfig(): {
18
+ BASE: string;
19
+ TOKEN: string | ((options: import("../services/api/core/ApiRequestOptions").ApiRequestOptions) => Promise<string>) | undefined;
20
+ CORS: "cors" | "no-cors" | undefined;
21
+ WITH_CREDENTIALS: boolean;
22
+ CREDENTIALS: RequestCredentials;
23
+ HEADERS: Record<string, any> | ((options: import("../services/api/core/ApiRequestOptions").ApiRequestOptions) => Promise<Record<string, any>>) | undefined;
24
+ };
@@ -14223,7 +14223,7 @@ var PromptExamples = _ref => {
14223
14223
  }, views == null ? void 0 : views.text), example.text)))));
14224
14224
  };
14225
14225
 
14226
- var _excluded$H = ["onSubmit", "placeholder", "loading", "disabled", "isAgentRunning", "leftButtons", "rightButtons", "onStopAgent", "loadingText", "autoFocus", "sandboxId", "hideAttachments", "attachmentText", "promptExamples", "showReferenceImageButton", "errorMessage", "size", "shape", "variant", "views", "mentionData", "mentionTrigger", "onMentionSelect", "value", "handleChange", "handleSubmit", "editableRef", "fileInputRef", "isUploading", "isDraggingOver", "uploadedFiles", "removeUploadedFile", "setPendingFiles", "setUploadedFiles", "setIsUploading", "selectedModel", "handleModelChange", "modelOptions", "subscriptionStatus", "canAccessModel", "isGuideTipShown", "hideGuideTip", "isReferenceImageModalShown", "toggleReferenceImageModal", "handlePromptExampleSelect", "handleDragOver", "handleDragLeave", "handleReferenceImageUpload", "removeReferenceImage", "setFileAsReference"];
14226
+ var _excluded$H = ["onSubmit", "placeholder", "loading", "disabled", "isAgentRunning", "leftButtons", "rightButtons", "onStopAgent", "loadingText", "autoFocus", "sandboxId", "hideAttachments", "attachmentText", "promptExamples", "suggestions", "showReferenceImageButton", "errorMessage", "size", "shape", "variant", "views", "mentionData", "mentionTrigger", "onMentionSelect", "value", "handleChange", "handleSubmit", "editableRef", "fileInputRef", "isUploading", "isDraggingOver", "uploadedFiles", "removeUploadedFile", "setPendingFiles", "setUploadedFiles", "setIsUploading", "selectedModel", "handleModelChange", "modelOptions", "subscriptionStatus", "canAccessModel", "isGuideTipShown", "hideGuideTip", "isReferenceImageModalShown", "toggleReferenceImageModal", "handlePromptExampleSelect", "handleDragOver", "handleDragLeave", "handleReferenceImageUpload", "removeReferenceImage", "setFileAsReference"];
14227
14227
  var ChatInputView = _ref => {
14228
14228
  var _value$trim$length;
14229
14229
  var {
@@ -14240,6 +14240,7 @@ var ChatInputView = _ref => {
14240
14240
  hideAttachments = false,
14241
14241
  attachmentText = '',
14242
14242
  promptExamples = [],
14243
+ suggestions = [],
14243
14244
  showReferenceImageButton = false,
14244
14245
  errorMessage,
14245
14246
  size = 'md',
@@ -14393,12 +14394,8 @@ var ChatInputView = _ref => {
14393
14394
  placeholder: placeholder,
14394
14395
  disabled: disabled && !isAgentRunning,
14395
14396
  autoFocus: autoFocus,
14396
- suggestions: (promptExamples == null ? void 0 : promptExamples.map(example => ({
14397
- id: example.id,
14398
- text: example.text,
14399
- description: undefined
14400
- }))) || [],
14401
- showSuggestions: promptExamples && promptExamples.length > 0 && !value,
14397
+ suggestions: suggestions || [],
14398
+ showSuggestions: suggestions && suggestions.length > 0 && !value,
14402
14399
  onSuggestionSelect: suggestion => {
14403
14400
  handleChange(suggestion.text);
14404
14401
  },
@@ -28420,7 +28417,7 @@ var MessageAttachmentPreview = _ref => {
28420
28417
  }, formatFileSize(file.size)))));
28421
28418
  };
28422
28419
 
28423
- var _excluded$1i = ["placeholder", "showTimestamps", "showAvatars", "showTypingIndicator", "autoScroll", "enableFileUpload", "enableAudioRecording", "enableVideoRecording", "views", "ariaLabel", "ariaDescribedBy", "messages", "currentSession", "isLoading", "isTyping", "error", "inputValue", "selectedFiles", "sessionId", "sendMessage", "setInputValue", "handleFileSelect", "removeFile", "messagesEndRef", "setError", "setSelectedFiles"];
28420
+ var _excluded$1i = ["placeholder", "showTimestamps", "showAvatars", "showTypingIndicator", "autoScroll", "enableFileUpload", "enableAudioRecording", "enableVideoRecording", "views", "containerProps", "colorScheme", "compact", "rounded", "ariaLabel", "ariaDescribedBy", "messages", "currentSession", "isLoading", "isTyping", "error", "inputValue", "selectedFiles", "sessionId", "sendMessage", "setInputValue", "handleFileSelect", "removeFile", "messagesEndRef", "setError", "setSelectedFiles"];
28424
28421
  /**
28425
28422
  * AgentChat View Component
28426
28423
  *
@@ -28438,6 +28435,10 @@ var AgentChatView = _ref => {
28438
28435
  enableAudioRecording = false,
28439
28436
  enableVideoRecording = false,
28440
28437
  views,
28438
+ containerProps,
28439
+ colorScheme = 'blue',
28440
+ compact = false,
28441
+ rounded = true,
28441
28442
  ariaLabel = 'Agent Chat',
28442
28443
  ariaDescribedBy,
28443
28444
  // State from hook
@@ -28471,7 +28472,7 @@ var AgentChatView = _ref => {
28471
28472
  * Handle message send from ChatInput
28472
28473
  */
28473
28474
  var handleSubmit = /*#__PURE__*/function () {
28474
- var _ref2 = _asyncToGenerator(function* (message, options) {
28475
+ var _ref2 = _asyncToGenerator(function* (message, _options) {
28475
28476
  if (message.trim() || selectedFiles.length > 0) {
28476
28477
  yield sendMessage(message, selectedFiles);
28477
28478
  }
@@ -28493,7 +28494,37 @@ var AgentChatView = _ref => {
28493
28494
  selectedFiles.forEach(file => URL.revokeObjectURL(file.url));
28494
28495
  setSelectedFiles([]);
28495
28496
  };
28496
- return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, DefaultAgentChatStyles.container, views == null ? void 0 : views.container, props, {
28497
+ /**
28498
+ * Get dynamic styles based on theme props
28499
+ */
28500
+ var getThemeStyles = () => {
28501
+ var baseStyles = {
28502
+ borderRadius: rounded ? '12px' : '4px',
28503
+ padding: compact ? '8px' : '16px'
28504
+ };
28505
+ var colorStyles = {
28506
+ blue: {
28507
+ borderColor: 'color.blue.200'
28508
+ },
28509
+ purple: {
28510
+ borderColor: 'color.purple.200'
28511
+ },
28512
+ green: {
28513
+ borderColor: 'color.green.200'
28514
+ },
28515
+ orange: {
28516
+ borderColor: 'color.orange.200'
28517
+ },
28518
+ red: {
28519
+ borderColor: 'color.red.200'
28520
+ },
28521
+ gray: {
28522
+ borderColor: 'color.gray.200'
28523
+ }
28524
+ };
28525
+ return Object.assign({}, baseStyles, colorStyles[colorScheme]);
28526
+ };
28527
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, DefaultAgentChatStyles.container, getThemeStyles(), containerProps, views == null ? void 0 : views.container, props, {
28497
28528
  "aria-label": ariaLabel,
28498
28529
  "aria-describedby": ariaDescribedBy
28499
28530
  }), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, DefaultAgentChatStyles.header, views == null ? void 0 : views.header), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, {
@@ -29479,7 +29510,7 @@ var SessionFilters = _ref => {
29479
29510
  }, "Clear all filters")))));
29480
29511
  };
29481
29512
 
29482
- var _excluded$1j = ["showSessionHistory", "enableSessionImport", "enableSessionExport", "enableSessionDelete", "enableSessionSearch", "showSessionInfo", "showSessionActions", "showCreateButton", "showRefreshButton", "compactMode", "views", "ariaLabel", "ariaDescribedBy", "sessions", "selectedSession", "isLoading", "isCreating", "error", "searchQuery", "filters", "sortOptions", "fetchSessions", "createSession", "selectSession", "deleteSession", "exportSession", "handleFileImport", "setSearchQuery", "setFilters", "setSortOptions", "setError", "fileInputRef", "handleFileSelect"];
29513
+ var _excluded$1j = ["showSessionHistory", "enableSessionImport", "enableSessionExport", "enableSessionDelete", "enableSessionSearch", "showSessionInfo", "showSessionActions", "showCreateButton", "showRefreshButton", "compactMode", "views", "containerProps", "colorScheme", "layout", "showPreviews", "ariaLabel", "ariaDescribedBy", "sessions", "selectedSession", "isLoading", "isCreating", "error", "searchQuery", "filters", "sortOptions", "fetchSessions", "createSession", "selectSession", "deleteSession", "exportSession", "handleFileImport", "setSearchQuery", "setFilters", "setSortOptions", "setError", "fileInputRef", "handleFileSelect"];
29483
29514
  /**
29484
29515
  * AgentSession View Component
29485
29516
  *
@@ -29499,6 +29530,10 @@ var AgentSessionView = _ref => {
29499
29530
  showRefreshButton = true,
29500
29531
  compactMode = false,
29501
29532
  views,
29533
+ containerProps,
29534
+ colorScheme = 'blue',
29535
+ layout = 'list',
29536
+ showPreviews = true,
29502
29537
  ariaLabel = 'Agent Session Manager',
29503
29538
  ariaDescribedBy,
29504
29539
  // State from hook
@@ -29582,7 +29617,45 @@ var AgentSessionView = _ref => {
29582
29617
  minute: '2-digit'
29583
29618
  });
29584
29619
  };
29585
- return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, DefaultAgentSessionStyles.container, views == null ? void 0 : views.container, props, {
29620
+ /**
29621
+ * Get dynamic styles based on theme props
29622
+ */
29623
+ var getThemeStyles = () => {
29624
+ var colorStyles = {
29625
+ blue: {
29626
+ borderColor: 'color.blue.200'
29627
+ },
29628
+ purple: {
29629
+ borderColor: 'color.purple.200'
29630
+ },
29631
+ green: {
29632
+ borderColor: 'color.green.200'
29633
+ },
29634
+ orange: {
29635
+ borderColor: 'color.orange.200'
29636
+ },
29637
+ red: {
29638
+ borderColor: 'color.red.200'
29639
+ },
29640
+ gray: {
29641
+ borderColor: 'color.gray.200'
29642
+ }
29643
+ };
29644
+ var layoutStyles = {
29645
+ list: {
29646
+ flexDirection: 'column'
29647
+ },
29648
+ grid: {
29649
+ flexDirection: 'row',
29650
+ flexWrap: 'wrap'
29651
+ },
29652
+ compact: {
29653
+ padding: '8px'
29654
+ }
29655
+ };
29656
+ return Object.assign({}, colorStyles[colorScheme], layoutStyles[layout]);
29657
+ };
29658
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, DefaultAgentSessionStyles.container, getThemeStyles(), containerProps, views == null ? void 0 : views.container, props, {
29586
29659
  "aria-label": ariaLabel,
29587
29660
  "aria-describedby": ariaDescribedBy
29588
29661
  }), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, DefaultAgentSessionStyles.header, views == null ? void 0 : views.header), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, {