@carthooks/arcubase-cli 0.1.20 → 0.1.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 (60) hide show
  1. package/bundle/arcubase-admin.mjs +1669 -163
  2. package/bundle/arcubase.mjs +1669 -163
  3. package/dist/generated/command_registry.generated.d.ts +300 -0
  4. package/dist/generated/command_registry.generated.d.ts.map +1 -1
  5. package/dist/generated/command_registry.generated.js +416 -0
  6. package/dist/generated/help_examples.generated.d.ts +191 -0
  7. package/dist/generated/help_examples.generated.d.ts.map +1 -1
  8. package/dist/generated/help_examples.generated.js +277 -0
  9. package/dist/generated/type_index.generated.d.ts +44 -1
  10. package/dist/generated/type_index.generated.d.ts.map +1 -1
  11. package/dist/generated/type_index.generated.js +46 -1
  12. package/dist/generated/zod_registry.generated.d.ts +32 -1
  13. package/dist/generated/zod_registry.generated.d.ts.map +1 -1
  14. package/dist/generated/zod_registry.generated.js +41 -0
  15. package/dist/runtime/dev_sdk_gen.d.ts +9 -0
  16. package/dist/runtime/dev_sdk_gen.d.ts.map +1 -0
  17. package/dist/runtime/dev_sdk_gen.js +319 -0
  18. package/dist/runtime/execute.d.ts.map +1 -1
  19. package/dist/runtime/execute.js +384 -32
  20. package/dist/runtime/zod_registry.d.ts.map +1 -1
  21. package/dist/runtime/zod_registry.js +66 -0
  22. package/package.json +1 -1
  23. package/sdk-dist/api/admin/index.ts +1 -0
  24. package/sdk-dist/api/admin/ingress.ts +11 -0
  25. package/sdk-dist/api/admin/public-link.ts +48 -0
  26. package/sdk-dist/api/shared-link/form.ts +42 -1
  27. package/sdk-dist/api/user/index.ts +0 -1
  28. package/sdk-dist/docs/runtime-reference/access-rule.md +19 -0
  29. package/sdk-dist/docs/runtime-reference/dashboard.md +15 -0
  30. package/sdk-dist/docs/runtime-reference/dev-sdk-gen.md +41 -0
  31. package/sdk-dist/docs/runtime-reference/help-examples/admin/access-rule/bulk-apply.json +105 -0
  32. package/sdk-dist/docs/runtime-reference/help-examples/admin/dashboard/update-layout.json +16 -0
  33. package/sdk-dist/docs/runtime-reference/help-examples/admin/widget/create.json +33 -0
  34. package/sdk-dist/docs/runtime-reference/help-examples/admin/widget/preview-data.json +42 -0
  35. package/sdk-dist/docs/runtime-reference/widgets.md +40 -0
  36. package/sdk-dist/generated/command_registry.generated.ts +416 -0
  37. package/sdk-dist/generated/help_examples.generated.ts +277 -0
  38. package/sdk-dist/generated/type_index.generated.ts +46 -1
  39. package/sdk-dist/generated/zod_registry.generated.ts +62 -0
  40. package/sdk-dist/types/app.ts +37 -1
  41. package/sdk-dist/types/common.ts +77 -35
  42. package/sdk-dist/types/index.ts +1 -1
  43. package/sdk-dist/types/ingress.ts +31 -0
  44. package/sdk-dist/types/public-link.ts +10 -0
  45. package/sdk-dist/types/shared-link.ts +16 -1
  46. package/sdk-dist/types/user-action.ts +1 -43
  47. package/src/generated/command_registry.generated.ts +416 -0
  48. package/src/generated/help_examples.generated.ts +277 -0
  49. package/src/generated/type_index.generated.ts +46 -1
  50. package/src/generated/zod_registry.generated.ts +62 -0
  51. package/src/runtime/dev_sdk_gen.ts +360 -0
  52. package/src/runtime/execute.ts +484 -52
  53. package/src/runtime/zod_registry.ts +66 -0
  54. package/src/tests/command_registry.test.ts +21 -2
  55. package/src/tests/dev_sdk_gen.test.ts +226 -0
  56. package/src/tests/docs_readability.test.ts +15 -0
  57. package/src/tests/execute_validation.test.ts +215 -0
  58. package/src/tests/help.test.ts +83 -0
  59. package/sdk-dist/api/user/copilot.ts +0 -20
  60. package/sdk-dist/types/copilot.ts +0 -34
@@ -9,7 +9,6 @@ export * from './dashboard'
9
9
  export * from './oauth'
10
10
  export * from './oauth-authorize'
11
11
  export * from './platform-setup'
12
- export * from './copilot'
13
12
  export * from './extension'
14
13
  export * from './automate-rule'
15
14
  export * from './business-hooks'
@@ -24,3 +23,4 @@ export * from './widgets'
24
23
  export * from './ingress'
25
24
  export * from './workflow'
26
25
  export * from './openapi'
26
+ export * from './public-link'
@@ -53,6 +53,37 @@ export interface AppIngressBlockVO {
53
53
  content?: string;
54
54
  }
55
55
 
56
+ export interface AppIngressBulkApplyItemRespVO {
57
+ enabled?: boolean;
58
+ index?: number;
59
+ name?: string;
60
+ operation?: string;
61
+ rule_id?: number;
62
+ table_id?: number;
63
+ }
64
+
65
+ export interface AppIngressBulkApplyItemVO {
66
+ enabled?: boolean;
67
+ name?: string;
68
+ options?: EntityIngressOptions;
69
+ rule_id?: number;
70
+ table_id?: number;
71
+ type?: string;
72
+ }
73
+
74
+ export interface AppIngressBulkApplyReqVO {
75
+ dry_run?: boolean;
76
+ items?: AppIngressBulkApplyItemVO[];
77
+ mode?: string;
78
+ }
79
+
80
+ export interface AppIngressBulkApplyRespVO {
81
+ app_id?: number;
82
+ applied_count?: number;
83
+ dry_run?: boolean;
84
+ items?: AppIngressBulkApplyItemRespVO[];
85
+ }
86
+
56
87
  export interface AppIngressCreateReqVO {
57
88
  enabled?: boolean;
58
89
  entity_id?: number;
@@ -0,0 +1,10 @@
1
+ export type {
2
+ EntityPublicLinkOptions,
3
+ EntityPublicQuerySort,
4
+ PublicLinkConfigItemVO,
5
+ PublicLinkConfigReqVO,
6
+ PublicLinkConfigRespVO,
7
+ PublicRecordLinkRespVO
8
+ } from './app'
9
+
10
+ export type EntityPublicLinkType = 'form_create' | 'form_public_query' | 'record_read'
@@ -10,7 +10,8 @@
10
10
  * ---------------------------------------------------------------
11
11
  */
12
12
 
13
- import type { EntityValidateUniqFieldVO, EntityValidateUniqReqVO, EntityValidateUniqRespVO, UploadPreviewReqVO } from './common'
13
+ /** @format int32 */
14
+ import type { WorkflowStateType, PermitValueFrom, PermitEntityProp, PermitEntityEvent, NotificationPayloadMode, NotificationNotificationType, PronounsType, MagicStringPartType, AiOptions, ApiEndpoint, ApiEndpointParam, ApiOptions, Button, CustomAction, DataRecord, EntityFrontEvent, EntityOptions, EntityVO, Fields, MagicString, MagicStringPart, DataRecordProcess, DataRecordResource, DataRecordTrans, PermitConditionSet, PermitFieldPermit, PermitPolicy, PermitRecordCondition, PostqueryAppendData, PostqueryUserData, PostqueryAssetsData, PostqueryDepartmentData, PostqueryLinktoData, StorageUrlSets, EntityQueryLinkToValuesReqVO, EntityQueryRelationReqVO, EntityQueryRelationRespVO, EntityValidateUniqFieldVO, EntityValidateUniqReqVO, EntityValidateUniqRespVO, ErrorResponse, UploadPreviewReqVO } from './common'
14
15
 
15
16
  export interface SharedLinkGetUploadTokenRespVO {
16
17
  id?: number;
@@ -23,6 +24,20 @@ export interface SharedLinkInitRespVO {
23
24
  type?: string;
24
25
  }
25
26
 
27
+ export interface SharedLinkPublicQueryReqVO {
28
+ limit?: number;
29
+ offset?: number;
30
+ search?: string[];
31
+ }
32
+
33
+ export interface SharedLinkPublicQueryRespVO {
34
+ additional?: any;
35
+ items?: DataRecord[];
36
+ limit?: number;
37
+ offset?: number;
38
+ total?: number;
39
+ }
40
+
26
41
  export interface SharedLinkPushMobileUploadReqVO {
27
42
  file?: string;
28
43
  file_name?: string;
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  /** @format int32 */
14
- import type { WorkflowStateType, PermitValueFrom, PermitEntityProp, PermitEntityEvent, NotificationPayloadMode, NotificationNotificationType, WidgetsTypeCode, PronounsType, MagicStringPartType, CubeMeasureAggregate, GormDeletedAt, AiOptions, ApiEndpoint, ApiEndpointParam, ApiOptions, App, AppOptions, Assets, Button, ChartOption, CubeDimension, CubeMeasure, CustomAction, DashboardOptions, DashboardWidgets, DataRecord, EntityFrontEvent, EntityOptions, EntityPrintTemplate, EntityVO, Fields, IngressGroup, IngressItem, MagicString, MagicStringPart, Tenant, TenantDepartment, User, WidgetsListViewOptions, WidgetsOption, DataRecordProcess, DataRecordResource, DataRecordTrans, I18NText, PermitColumn, PermitConditionSet, PermitEntityListOptions, PermitEntityListTab, PermitEntityListWidget, PermitFieldPermit, PermitPolicy, PermitRecordCondition, PermitSearchColumn, PermitUserScope, PostqueryAppendData, PostqueryUserData, PostqueryAssetsData, PostqueryDepartmentData, PostqueryLinktoData, SqlNullTime, StorageUrlSets, CommonPagination, EntityValidateUniqFieldVO, EntityValidateUniqReqVO, EntityValidateUniqRespVO, EntityWorkflowNodeVO, EntityWorkflowVersionVO, ErrorResponse, UploadPreviewReqVO } from './common'
14
+ import type { WorkflowStateType, PermitValueFrom, PermitEntityProp, PermitEntityEvent, NotificationPayloadMode, NotificationNotificationType, WidgetsTypeCode, PronounsType, MagicStringPartType, CubeMeasureAggregate, GormDeletedAt, AiOptions, ApiEndpoint, ApiEndpointParam, ApiOptions, App, AppOptions, Assets, Button, ChartOption, CubeDimension, CubeMeasure, CustomAction, DashboardOptions, DashboardWidgets, DataRecord, EntityFrontEvent, EntityOptions, EntityPrintTemplate, EntityVO, Fields, IngressGroup, IngressItem, MagicString, MagicStringPart, Tenant, TenantDepartment, User, WidgetsListViewOptions, WidgetsOption, DataRecordProcess, DataRecordResource, DataRecordTrans, I18NText, PermitColumn, PermitConditionSet, PermitEntityListOptions, PermitEntityListTab, PermitEntityListWidget, PermitFieldPermit, PermitPermit, PermitPolicy, PermitRecordCondition, PermitSearchColumn, PermitUserScope, PostqueryAppendData, PostqueryUserData, PostqueryAssetsData, PostqueryDepartmentData, PostqueryLinktoData, SqlNullTime, StorageUrlSets, CommonPagination, EntityQueryLinkToValuesReqVO, EntityQueryRelationReqVO, EntityQueryRelationRespVO, EntityValidateUniqFieldVO, EntityValidateUniqReqVO, EntityValidateUniqRespVO, EntityWorkflowNodeVO, EntityWorkflowVersionVO, ErrorResponse, UploadPreviewReqVO } from './common'
15
15
 
16
16
  export enum EventTrigger {
17
17
  EventTriggerAutomate = 1,
@@ -149,12 +149,6 @@ export interface PermitFilterCond {
149
149
  number_in?: number[];
150
150
  }
151
151
 
152
- export interface PermitPermit {
153
- all_fields_read?: boolean;
154
- all_fields_write?: boolean;
155
- fields?: PermitFieldPermit[];
156
- }
157
-
158
152
  export interface AppDetailDashboardVO {
159
153
  id?: number;
160
154
  name?: string;
@@ -470,47 +464,11 @@ export interface EntityQueryFilterRespVO {
470
464
  items?: any;
471
465
  }
472
466
 
473
- export interface EntityQueryLinkToValuesReqVO {
474
- addition?: boolean;
475
- data?: Record<string, any>;
476
- entity?: boolean;
477
- field_id?: number;
478
- input?: string;
479
- limit?: number;
480
- offset?: number;
481
- policies?: boolean;
482
- query?: string;
483
- record_id?: number;
484
- total?: boolean;
485
- }
486
-
487
467
  export interface EntityQueryOrderVO {
488
468
  column?: string;
489
469
  order?: string;
490
470
  }
491
471
 
492
- export interface EntityQueryRelationReqVO {
493
- addition?: boolean;
494
- data?: Record<string, any>;
495
- entity?: boolean;
496
- field_id?: number;
497
- input?: string;
498
- limit?: number;
499
- offset?: number;
500
- policies?: boolean;
501
- query?: string;
502
- total?: boolean;
503
- }
504
-
505
- export interface EntityQueryRelationRespVO {
506
- add_policy?: PermitPolicy;
507
- addition?: PostqueryAppendData;
508
- entity?: EntityVO;
509
- records?: DataRecord[];
510
- total?: number;
511
- view_policy?: PermitPolicy;
512
- }
513
-
514
472
  export interface EntityQueryReqVO {
515
473
  limit?: number;
516
474
  offset?: number;
@@ -167,6 +167,148 @@ export const adminCommands = [
167
167
  "queryParams": [],
168
168
  "responseType": "boolean"
169
169
  },
170
+ {
171
+ "scope": "admin",
172
+ "module": "dashboard",
173
+ "functionName": "getDashboardList",
174
+ "commandPath": [
175
+ "dashboard",
176
+ "list"
177
+ ],
178
+ "method": "GET",
179
+ "endpoint": "/api/apps/:app_id/dashboard",
180
+ "pathParams": [
181
+ {
182
+ "param": "app_id",
183
+ "flag": "app-id"
184
+ }
185
+ ],
186
+ "controller": "Dashboard.GetList",
187
+ "requestType": null,
188
+ "queryParams": [],
189
+ "responseType": "DashboardGetListRespVO"
190
+ },
191
+ {
192
+ "scope": "admin",
193
+ "module": "dashboard",
194
+ "functionName": "createDashboard",
195
+ "commandPath": [
196
+ "dashboard",
197
+ "create"
198
+ ],
199
+ "method": "POST",
200
+ "endpoint": "/api/apps/:app_id/dashboard",
201
+ "pathParams": [
202
+ {
203
+ "param": "app_id",
204
+ "flag": "app-id"
205
+ }
206
+ ],
207
+ "controller": "Dashboard.Create",
208
+ "requestType": "DashboardCreateReqVO",
209
+ "queryParams": [],
210
+ "responseType": "DashboardCreateRespVO"
211
+ },
212
+ {
213
+ "scope": "admin",
214
+ "module": "dashboard",
215
+ "functionName": "getDashboardOptions",
216
+ "commandPath": [
217
+ "dashboard",
218
+ "get-options"
219
+ ],
220
+ "method": "GET",
221
+ "endpoint": "/api/apps/:app_id/dashboard/:dashboard_id/options",
222
+ "pathParams": [
223
+ {
224
+ "param": "app_id",
225
+ "flag": "app-id"
226
+ },
227
+ {
228
+ "param": "dashboard_id",
229
+ "flag": "dashboard-id"
230
+ }
231
+ ],
232
+ "controller": "Dashboard.FetchOptions",
233
+ "requestType": null,
234
+ "queryParams": [],
235
+ "responseType": "DashboardFetchOptionsRespVO"
236
+ },
237
+ {
238
+ "scope": "admin",
239
+ "module": "dashboard",
240
+ "functionName": "updateDashboardOptions",
241
+ "commandPath": [
242
+ "dashboard",
243
+ "update-options"
244
+ ],
245
+ "method": "PUT",
246
+ "endpoint": "/api/apps/:app_id/dashboard/:dashboard_id/options",
247
+ "pathParams": [
248
+ {
249
+ "param": "app_id",
250
+ "flag": "app-id"
251
+ },
252
+ {
253
+ "param": "dashboard_id",
254
+ "flag": "dashboard-id"
255
+ }
256
+ ],
257
+ "controller": "Dashboard.UpdateOptions",
258
+ "requestType": "DashboardUpdateOptionsReqVO",
259
+ "queryParams": [],
260
+ "responseType": "DashboardUpdateOptionsRespVO"
261
+ },
262
+ {
263
+ "scope": "admin",
264
+ "module": "dashboard",
265
+ "functionName": "updateDashboardLayout",
266
+ "commandPath": [
267
+ "dashboard",
268
+ "update-layout"
269
+ ],
270
+ "method": "PUT",
271
+ "endpoint": "/api/apps/:app_id/dashboard/:dashboard_id/layout",
272
+ "pathParams": [
273
+ {
274
+ "param": "app_id",
275
+ "flag": "app-id"
276
+ },
277
+ {
278
+ "param": "dashboard_id",
279
+ "flag": "dashboard-id"
280
+ }
281
+ ],
282
+ "controller": "Dashboard.UpdateLayout",
283
+ "requestType": "DashboardUpdateLayoutReqVO",
284
+ "queryParams": [],
285
+ "responseType": "DashboardUpdateLayoutRespVO"
286
+ },
287
+ {
288
+ "scope": "admin",
289
+ "module": "dashboard",
290
+ "functionName": "updateDashboardTitle",
291
+ "commandPath": [
292
+ "dashboard",
293
+ "rename"
294
+ ],
295
+ "method": "PUT",
296
+ "endpoint": "/api/apps/:app_id/dashboard/:dashboard_id/label",
297
+ "pathParams": [
298
+ {
299
+ "param": "app_id",
300
+ "flag": "app-id"
301
+ },
302
+ {
303
+ "param": "dashboard_id",
304
+ "flag": "dashboard-id"
305
+ }
306
+ ],
307
+ "controller": "Dashboard.UpdateTitle",
308
+ "requestType": "DashboardUpdateTitleReqVO",
309
+ "queryParams": [],
310
+ "responseType": "DashboardUpdateTitleRespVO"
311
+ },
170
312
  {
171
313
  "scope": "admin",
172
314
  "module": "table",
@@ -475,6 +617,27 @@ export const adminCommands = [
475
617
  "queryParams": [],
476
618
  "responseType": "AppIngressUpdateRespVO"
477
619
  },
620
+ {
621
+ "scope": "admin",
622
+ "module": "access-rule",
623
+ "functionName": "bulkApplyEntityIngress",
624
+ "commandPath": [
625
+ "access-rule",
626
+ "bulk-apply"
627
+ ],
628
+ "method": "POST",
629
+ "endpoint": "/api/apps/:app_id/access-rules/bulk-apply",
630
+ "pathParams": [
631
+ {
632
+ "param": "app_id",
633
+ "flag": "app-id"
634
+ }
635
+ ],
636
+ "controller": "App.IngressBulkApply",
637
+ "requestType": "AppIngressBulkApplyReqVO",
638
+ "queryParams": [],
639
+ "responseType": "AppIngressBulkApplyRespVO"
640
+ },
478
641
  {
479
642
  "scope": "admin",
480
643
  "module": "workflow",
@@ -581,6 +744,188 @@ export const adminCommands = [
581
744
  "requestType": "EntityWorkflowUpdateReqVO",
582
745
  "queryParams": [],
583
746
  "responseType": "EntityWorkflowUpdateRespVO"
747
+ },
748
+ {
749
+ "scope": "admin",
750
+ "module": "widget",
751
+ "functionName": "widgetsList",
752
+ "commandPath": [
753
+ "widget",
754
+ "list"
755
+ ],
756
+ "method": "GET",
757
+ "endpoint": "/api/apps/:app_id/widgets",
758
+ "pathParams": [
759
+ {
760
+ "param": "app_id",
761
+ "flag": "app-id"
762
+ }
763
+ ],
764
+ "controller": "App.WidgetsList",
765
+ "requestType": null,
766
+ "queryParams": [
767
+ {
768
+ "key": "type",
769
+ "flag": "type",
770
+ "type": "string",
771
+ "hasDefault": true
772
+ },
773
+ {
774
+ "key": "dashboard_id",
775
+ "flag": "dashboard-id",
776
+ "type": "number",
777
+ "hasDefault": true
778
+ },
779
+ {
780
+ "key": "ingress_id",
781
+ "flag": "ingress-id",
782
+ "type": "number",
783
+ "hasDefault": true
784
+ }
785
+ ],
786
+ "responseType": "AppWidgetsListRespVO"
787
+ },
788
+ {
789
+ "scope": "admin",
790
+ "module": "widget",
791
+ "functionName": "getWidgets",
792
+ "commandPath": [
793
+ "widget",
794
+ "get"
795
+ ],
796
+ "method": "GET",
797
+ "endpoint": "/api/apps/:app_id/widgets/:widgets_id",
798
+ "pathParams": [
799
+ {
800
+ "param": "app_id",
801
+ "flag": "app-id"
802
+ },
803
+ {
804
+ "param": "widgets_id",
805
+ "flag": "widget-id"
806
+ }
807
+ ],
808
+ "controller": "App.GetWidgets",
809
+ "requestType": null,
810
+ "queryParams": [],
811
+ "responseType": "AppGetWidgetsRespVO"
812
+ },
813
+ {
814
+ "scope": "admin",
815
+ "module": "widget",
816
+ "functionName": "newWidgets",
817
+ "commandPath": [
818
+ "widget",
819
+ "create"
820
+ ],
821
+ "method": "POST",
822
+ "endpoint": "/api/apps/:app_id/widgets",
823
+ "pathParams": [
824
+ {
825
+ "param": "app_id",
826
+ "flag": "app-id"
827
+ }
828
+ ],
829
+ "controller": "App.NewWidgets",
830
+ "requestType": "AppNewWidgetsReqVO",
831
+ "queryParams": [],
832
+ "responseType": "AppNewWidgetsRespVO"
833
+ },
834
+ {
835
+ "scope": "admin",
836
+ "module": "widget",
837
+ "functionName": "updateWidgets",
838
+ "commandPath": [
839
+ "widget",
840
+ "update"
841
+ ],
842
+ "method": "PUT",
843
+ "endpoint": "/api/apps/:app_id/widgets/:widgets_id",
844
+ "pathParams": [
845
+ {
846
+ "param": "app_id",
847
+ "flag": "app-id"
848
+ },
849
+ {
850
+ "param": "widgets_id",
851
+ "flag": "widget-id"
852
+ }
853
+ ],
854
+ "controller": "App.UpdateWidgets",
855
+ "requestType": "AppUpdateWidgetsReqVO",
856
+ "queryParams": [],
857
+ "responseType": "AppUpdateWidgetsRespVO"
858
+ },
859
+ {
860
+ "scope": "admin",
861
+ "module": "widget",
862
+ "functionName": "updateWidgetsIngressOptions",
863
+ "commandPath": [
864
+ "widget",
865
+ "update-ingress-options"
866
+ ],
867
+ "method": "PUT",
868
+ "endpoint": "/api/apps/:app_id/widgets/:widgets_id/ingress-options",
869
+ "pathParams": [
870
+ {
871
+ "param": "app_id",
872
+ "flag": "app-id"
873
+ },
874
+ {
875
+ "param": "widgets_id",
876
+ "flag": "widget-id"
877
+ }
878
+ ],
879
+ "controller": "App.UpdateWidgetsIngressOptions",
880
+ "requestType": "AppUpdateWidgetsIngressOptionsReqVO",
881
+ "queryParams": [],
882
+ "responseType": "AppUpdateWidgetsIngressOptionsRespVO"
883
+ },
884
+ {
885
+ "scope": "admin",
886
+ "module": "widget",
887
+ "functionName": "previewWidgetsData",
888
+ "commandPath": [
889
+ "widget",
890
+ "preview-data"
891
+ ],
892
+ "method": "POST",
893
+ "endpoint": "/api/apps/:app_id/widgets-preview",
894
+ "pathParams": [
895
+ {
896
+ "param": "app_id",
897
+ "flag": "app-id"
898
+ }
899
+ ],
900
+ "controller": "App.PreviewWidgetsData",
901
+ "requestType": "AppPreviewWidgetsDataReqVO",
902
+ "queryParams": [],
903
+ "responseType": "AppPreviewWidgetsDataRespVO"
904
+ },
905
+ {
906
+ "scope": "admin",
907
+ "module": "widget",
908
+ "functionName": "deleteWidgets",
909
+ "commandPath": [
910
+ "widget",
911
+ "delete"
912
+ ],
913
+ "method": "DELETE",
914
+ "endpoint": "/api/apps/:app_id/widgets/:widgets_id",
915
+ "pathParams": [
916
+ {
917
+ "param": "app_id",
918
+ "flag": "app-id"
919
+ },
920
+ {
921
+ "param": "widgets_id",
922
+ "flag": "widget-id"
923
+ }
924
+ ],
925
+ "controller": "App.DeleteWidgets",
926
+ "requestType": null,
927
+ "queryParams": [],
928
+ "responseType": "boolean"
584
929
  }
585
930
  ] as const
586
931
 
@@ -608,6 +953,56 @@ export const userCommands = [
608
953
  ],
609
954
  "responseType": "GlobalActionEntryRespVO"
610
955
  },
956
+ {
957
+ "scope": "user",
958
+ "module": "dashboard",
959
+ "functionName": "getDashboard",
960
+ "commandPath": [
961
+ "dashboard",
962
+ "get"
963
+ ],
964
+ "method": "GET",
965
+ "endpoint": "/api/dashboard/:app_id/:dashboard_id",
966
+ "pathParams": [
967
+ {
968
+ "param": "app_id",
969
+ "flag": "app-id"
970
+ },
971
+ {
972
+ "param": "dashboard_id",
973
+ "flag": "dashboard-id"
974
+ }
975
+ ],
976
+ "controller": "UserAction.DashboardGet",
977
+ "requestType": null,
978
+ "queryParams": [],
979
+ "responseType": "DashboardGetRespVO"
980
+ },
981
+ {
982
+ "scope": "user",
983
+ "module": "dashboard",
984
+ "functionName": "getDashboardWidgets",
985
+ "commandPath": [
986
+ "dashboard",
987
+ "widgets"
988
+ ],
989
+ "method": "GET",
990
+ "endpoint": "/api/dashboard/:app_id/:dashboard_id/widgets",
991
+ "pathParams": [
992
+ {
993
+ "param": "app_id",
994
+ "flag": "app-id"
995
+ },
996
+ {
997
+ "param": "dashboard_id",
998
+ "flag": "dashboard-id"
999
+ }
1000
+ ],
1001
+ "controller": "UserAction.DashboardWidgets",
1002
+ "requestType": null,
1003
+ "queryParams": [],
1004
+ "responseType": "DashboardWidgets[]"
1005
+ },
611
1006
  {
612
1007
  "scope": "user",
613
1008
  "module": "table",
@@ -1029,6 +1424,27 @@ export const userCommands = [
1029
1424
  "queryParams": [],
1030
1425
  "responseType": "MobileUploadCheckRespVO"
1031
1426
  },
1427
+ {
1428
+ "scope": "user",
1429
+ "module": "widget",
1430
+ "functionName": "fetchWidgetsData",
1431
+ "commandPath": [
1432
+ "widget",
1433
+ "data"
1434
+ ],
1435
+ "method": "POST",
1436
+ "endpoint": "/api/apps/:app_id/widgets-data",
1437
+ "pathParams": [
1438
+ {
1439
+ "param": "app_id",
1440
+ "flag": "app-id"
1441
+ }
1442
+ ],
1443
+ "controller": "UserAction.FetchWidgetsData",
1444
+ "requestType": "FetchWidgetsDataReqVO",
1445
+ "queryParams": [],
1446
+ "responseType": "FetchWidgetsDataRespVO"
1447
+ },
1032
1448
  {
1033
1449
  "scope": "user",
1034
1450
  "module": "profile",