@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
@@ -1,83 +0,0 @@
1
- import type { CreateApplicationParams } from '../models/CreateApplicationParams';
2
- import type { FindApplicationParams } from '../models/FindApplicationParams';
3
- import type { UpdateApplicationParams } from '../models/UpdateApplicationParams';
4
- import type { CancelablePromise } from '../core/CancelablePromise';
5
- import { UseRequestOption, UseRequestProperties } from '@app-studio/react-request';
6
- /**
7
- * As a admin, i want to create a application
8
- * @param requestBody
9
- * @returns any Application created
10
- * @throws ApiError
11
- */
12
- export declare const applicationControllerCreate: (requestBody: CreateApplicationParams) => CancelablePromise<any>;
13
- /**
14
- * I want to read all the application
15
- * @returns any Application data
16
- * @throws ApiError
17
- */
18
- export declare const applicationControllerGetAll: () => CancelablePromise<any>;
19
- /**
20
- * I want to read an application
21
- * @param id
22
- * @returns any Application data
23
- * @throws ApiError
24
- */
25
- export declare const applicationControllerGet: (id: string) => CancelablePromise<any>;
26
- /**
27
- * As a admin, i want to delete a application
28
- * @param id
29
- * @returns any application delete
30
- * @throws ApiError
31
- */
32
- export declare const applicationControllerDelete: (id: string) => CancelablePromise<any>;
33
- /**
34
- * As a admin, i want to update a application
35
- * @param id
36
- * @param requestBody
37
- * @returns any Application Updated
38
- * @throws ApiError
39
- */
40
- export declare const applicationControllerUpdate: (id: string, requestBody: UpdateApplicationParams) => CancelablePromise<any>;
41
- /**
42
- * I want to find application by name
43
- * @param requestBody
44
- * @returns any Application found
45
- * @throws ApiError
46
- */
47
- export declare const applicationControllerFind: (requestBody: FindApplicationParams) => CancelablePromise<any>;
48
- /**
49
- * Validate application
50
- * @param stepId
51
- * @param requestBody
52
- * @returns any Workflow created
53
- * @throws ApiError
54
- */
55
- export declare const applicationWorkflowControllerFillApplication: (stepId: string, requestBody: CreateApplicationParams) => CancelablePromise<any>;
56
- export declare const useApplicationControllerCreateService: ({ method, ...options }?: UseRequestOption) => {
57
- run: (requestBody: CreateApplicationParams) => void;
58
- data: any;
59
- } & UseRequestProperties;
60
- export declare const useApplicationControllerGetAllService: ({ method, ...options }?: UseRequestOption) => {
61
- run: () => void;
62
- data: any;
63
- } & UseRequestProperties;
64
- export declare const useApplicationControllerGetService: ({ method, ...options }?: UseRequestOption) => {
65
- run: (id: string) => void;
66
- data: any;
67
- } & UseRequestProperties;
68
- export declare const useApplicationControllerDeleteService: ({ method, ...options }?: UseRequestOption) => {
69
- run: (id: string) => void;
70
- data: any;
71
- } & UseRequestProperties;
72
- export declare const useApplicationControllerUpdateService: ({ method, ...options }?: UseRequestOption) => {
73
- run: (id: string, requestBody: UpdateApplicationParams) => void;
74
- data: any;
75
- } & UseRequestProperties;
76
- export declare const useApplicationControllerFindService: ({ method, ...options }?: UseRequestOption) => {
77
- run: (requestBody: FindApplicationParams) => void;
78
- data: any;
79
- } & UseRequestProperties;
80
- export declare const useApplicationWorkflowControllerFillApplicationService: ({ method, ...options }?: UseRequestOption) => {
81
- run: (stepId: string, requestBody: CreateApplicationParams) => void;
82
- data: any;
83
- } & UseRequestProperties;
@@ -1,25 +0,0 @@
1
- import type { CreateComponentRevisionParams } from '../models/CreateComponentRevisionParams';
2
- import type { CancelablePromise } from '../core/CancelablePromise';
3
- import { UseRequestOption, UseRequestProperties } from '@app-studio/react-request';
4
- /**
5
- * As a user, i want to create a componentRevision
6
- * @param requestBody
7
- * @returns any ComponentRevision created
8
- * @throws ApiError
9
- */
10
- export declare const componentRevisionControllerCreate: (requestBody: CreateComponentRevisionParams) => CancelablePromise<any>;
11
- /**
12
- * As a user, i want to find by componentRevision based on a componentRevision identifier
13
- * @param id
14
- * @returns any ComponentRevision fetched successfully
15
- * @throws ApiError
16
- */
17
- export declare const componentRevisionControllerRead: (id: string) => CancelablePromise<any>;
18
- export declare const useComponentRevisionControllerCreateService: ({ method, ...options }?: UseRequestOption) => {
19
- run: (requestBody: CreateComponentRevisionParams) => void;
20
- data: any;
21
- } & UseRequestProperties;
22
- export declare const useComponentRevisionControllerReadService: ({ method, ...options }?: UseRequestOption) => {
23
- run: (id: string) => void;
24
- data: any;
25
- } & UseRequestProperties;
@@ -1,30 +0,0 @@
1
- import type { CancelablePromise } from '../core/CancelablePromise';
2
- import { UseRequestOption, UseRequestProperties } from '@app-studio/react-request';
3
- /**
4
- * Upload a file.
5
- * @param id
6
- * @param stepId
7
- * @param formData
8
- * @returns any File Upload Succeed
9
- * @throws ApiError
10
- */
11
- export declare const grantFileControllerCreate: (id: string, stepId: string, formData: {
12
- file?: Blob;
13
- }) => CancelablePromise<any>;
14
- /**
15
- * As a admin, i want to delete a grantFile
16
- * @param id
17
- * @returns any grantFile delete
18
- * @throws ApiError
19
- */
20
- export declare const grantFileControllerDelete: (id: string) => CancelablePromise<any>;
21
- export declare const useGrantFileControllerCreateService: ({ method, ...options }?: UseRequestOption) => {
22
- run: (id: string, stepId: string, formData: {
23
- file?: Blob;
24
- }) => void;
25
- data: any;
26
- } & UseRequestProperties;
27
- export declare const useGrantFileControllerDeleteService: ({ method, ...options }?: UseRequestOption) => {
28
- run: (id: string) => void;
29
- data: any;
30
- } & UseRequestProperties;
@@ -1,100 +0,0 @@
1
- import type { CreateGrantParams } from '../models/CreateGrantParams';
2
- import type { UpdateGrantParams } from '../models/UpdateGrantParams';
3
- import type { CancelablePromise } from '../core/CancelablePromise';
4
- import { UseRequestOption, UseRequestProperties } from '@app-studio/react-request';
5
- /**
6
- * Validate grant
7
- * @param grantId
8
- * @param stepId
9
- * @returns any Workflow created
10
- * @throws ApiError
11
- */
12
- export declare const grantWorkflowControllerValidateUploadGrantFiles: (grantId: string, stepId: string, onProgress: any) => CancelablePromise<any>;
13
- /**
14
- * Upload a file.
15
- * @param id
16
- * @param stepId
17
- * @param formData
18
- * @returns any File Upload Succeed
19
- * @throws ApiError
20
- */
21
- export declare const grantFileControllerCreate: (id: string, stepId: string, formData: {
22
- file?: Blob;
23
- }) => CancelablePromise<any>;
24
- /**
25
- * As a admin, i want to delete a grantFile
26
- * @param id
27
- * @returns any grantFile delete
28
- * @throws ApiError
29
- */
30
- export declare const grantFileControllerDelete: (id: string) => CancelablePromise<any>;
31
- /**
32
- * As a admin, i want to create a grant
33
- * @param requestBody
34
- * @returns any Grant created
35
- * @throws ApiError
36
- */
37
- export declare const grantControllerCreate: (requestBody: CreateGrantParams) => CancelablePromise<any>;
38
- /**
39
- * I want to read an grant
40
- * @param id
41
- * @returns any Grant data
42
- * @throws ApiError
43
- */
44
- export declare const grantControllerGet: (id: string) => CancelablePromise<any>;
45
- /**
46
- * As a admin, i want to delete a grant
47
- * @param id
48
- * @returns any grant delete
49
- * @throws ApiError
50
- */
51
- export declare const grantControllerDelete: (id: string) => CancelablePromise<any>;
52
- /**
53
- * As a admin, i want to update a grant
54
- * @param id
55
- * @param requestBody
56
- * @returns any Grant Updated
57
- * @throws ApiError
58
- */
59
- export declare const grantControllerUpdate: (id: string, requestBody: UpdateGrantParams) => CancelablePromise<any>;
60
- /**
61
- * I want to read all the grant
62
- * @param projectId
63
- * @returns any Grant data
64
- * @throws ApiError
65
- */
66
- export declare const grantControllerGetAll: (projectId: string) => CancelablePromise<any>;
67
- export declare const useGrantWorkflowControllerValidateUploadGrantFilesService: ({ method, ...options }?: UseRequestOption) => {
68
- run: (grantId: string, stepId: string) => void;
69
- data: any;
70
- } & UseRequestProperties;
71
- export declare const useGrantFileControllerCreateService: ({ method, ...options }?: UseRequestOption) => {
72
- run: (id: string, stepId: string, formData: {
73
- file?: Blob;
74
- }) => void;
75
- data: any;
76
- } & UseRequestProperties;
77
- export declare const useGrantFileControllerDeleteService: ({ method, ...options }?: UseRequestOption) => {
78
- run: (id: string) => void;
79
- data: any;
80
- } & UseRequestProperties;
81
- export declare const useGrantControllerCreateService: ({ method, ...options }?: UseRequestOption) => {
82
- run: (requestBody: CreateGrantParams) => void;
83
- data: any;
84
- } & UseRequestProperties;
85
- export declare const useGrantControllerGetService: ({ method, ...options }?: UseRequestOption) => {
86
- run: (id: string) => void;
87
- data: any;
88
- } & UseRequestProperties;
89
- export declare const useGrantControllerDeleteService: ({ method, ...options }?: UseRequestOption) => {
90
- run: (id: string) => void;
91
- data: any;
92
- } & UseRequestProperties;
93
- export declare const useGrantControllerUpdateService: ({ method, ...options }?: UseRequestOption) => {
94
- run: (id: string, requestBody: UpdateGrantParams) => void;
95
- data: any;
96
- } & UseRequestProperties;
97
- export declare const useGrantControllerGetAllService: ({ method, ...options }?: UseRequestOption) => {
98
- run: (projectId: string) => void;
99
- data: any;
100
- } & UseRequestProperties;
@@ -1,59 +0,0 @@
1
- import type { CreateProjectParams } from '../models/CreateProjectParams';
2
- import type { UpdateProjectParams } from '../models/UpdateProjectParams';
3
- import type { CancelablePromise } from '../core/CancelablePromise';
4
- import { UseRequestOption, UseRequestProperties } from '@app-studio/react-request';
5
- /**
6
- * As a admin, i want to create a project
7
- * @param requestBody
8
- * @returns any Project created
9
- * @throws ApiError
10
- */
11
- export declare const projectControllerCreate: (requestBody: CreateProjectParams) => CancelablePromise<any>;
12
- /**
13
- * I want to read all the project
14
- * @returns any Project data
15
- * @throws ApiError
16
- */
17
- export declare const projectControllerList: () => CancelablePromise<any>;
18
- /**
19
- * I want to read an project
20
- * @param id
21
- * @returns any Project data
22
- * @throws ApiError
23
- */
24
- export declare const projectControllerGet: (id: string) => CancelablePromise<any>;
25
- /**
26
- * As a admin, i want to delete a project
27
- * @param id
28
- * @returns any project delete
29
- * @throws ApiError
30
- */
31
- export declare const projectControllerRemove: (id: string) => CancelablePromise<any>;
32
- /**
33
- * As a admin, i want to update a project
34
- * @param id
35
- * @param requestBody
36
- * @returns any Project Updated
37
- * @throws ApiError
38
- */
39
- export declare const projectControllerUpdate: (id: string, requestBody: UpdateProjectParams) => CancelablePromise<any>;
40
- export declare const useProjectControllerCreateService: ({ method, ...options }?: UseRequestOption) => {
41
- run: (requestBody: CreateProjectParams) => void;
42
- data: any;
43
- } & UseRequestProperties;
44
- export declare const useProjectControllerListService: ({ method, ...options }?: UseRequestOption) => {
45
- run: () => void;
46
- data: any;
47
- } & UseRequestProperties;
48
- export declare const useProjectControllerGetService: ({ method, ...options }?: UseRequestOption) => {
49
- run: (id: string) => void;
50
- data: any;
51
- } & UseRequestProperties;
52
- export declare const useProjectControllerRemoveService: ({ method, ...options }?: UseRequestOption) => {
53
- run: (id: string) => void;
54
- data: any;
55
- } & UseRequestProperties;
56
- export declare const useProjectControllerUpdateService: ({ method, ...options }?: UseRequestOption) => {
57
- run: (id: string, requestBody: UpdateProjectParams) => void;
58
- data: any;
59
- } & UseRequestProperties;
@@ -1,18 +0,0 @@
1
- import type { CancelablePromise } from '../core/CancelablePromise';
2
- import { UseRequestOption, UseRequestProperties } from '@app-studio/react-request';
3
- /**
4
- * Upload a file for prompt attachment
5
- * Upload any file type to be attached to a prompt. Supports documents, images, and other file types up to 10MB.
6
- * @param formData
7
- * @returns any File uploaded successfully
8
- * @throws ApiError
9
- */
10
- export declare const promptUploadControllerUploadPromptFile: (formData: {
11
- file?: Blob;
12
- }, onProgress: any) => CancelablePromise<any>;
13
- export declare const usePromptUploadControllerUploadPromptFileService: ({ method, ...options }?: UseRequestOption) => {
14
- run: (formData: {
15
- file?: Blob;
16
- }) => void;
17
- data: any;
18
- } & UseRequestProperties;