@arbidocs/react 0.4.74 → 0.4.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -767,6 +767,37 @@ declare function useConversations(workspaceId: string | undefined, options?: {
767
767
  ui?: {
768
768
  [x: string]: unknown;
769
769
  } | null | undefined;
770
+ signals?: {
771
+ name: string;
772
+ when?: {
773
+ field?: string | null | undefined;
774
+ equals?: string | number | boolean | null | undefined;
775
+ contains?: string | null | undefined;
776
+ matches?: string | null | undefined;
777
+ approved?: boolean | null | undefined;
778
+ } | null | undefined;
779
+ }[] | undefined;
780
+ assignee?: {
781
+ user?: string | null | undefined;
782
+ run_owner?: true | null | undefined;
783
+ input?: string | null | undefined;
784
+ project_lead?: true | null | undefined;
785
+ } | null | undefined;
786
+ remind_after_hours?: number | null | undefined;
787
+ fields?: {
788
+ [x: string]: unknown;
789
+ name: string;
790
+ type: "text" | "longtext" | "boolean" | "select" | "number" | "date" | "scope" | "documents" | "person";
791
+ label?: string | null | undefined;
792
+ required: boolean;
793
+ options?: {
794
+ [x: string]: unknown;
795
+ value: string;
796
+ label?: string | null | undefined;
797
+ }[] | null | undefined;
798
+ min?: number | null | undefined;
799
+ max?: number | null | undefined;
800
+ }[] | null | undefined;
770
801
  }[];
771
802
  } | null | undefined;
772
803
  goal_state?: {
@@ -954,6 +985,10 @@ declare function useConversationThreads(workspaceId: string | undefined, convers
954
985
  run_id: string;
955
986
  status: "running" | "done" | "failed";
956
987
  };
988
+ } | {
989
+ name: "workflow_step";
990
+ description: string;
991
+ workflow_step: string;
957
992
  };
958
993
  } | undefined;
959
994
  config_ext_id?: string | null | undefined;
@@ -989,6 +1024,16 @@ declare function useTags(workspaceId: string | undefined, options?: {
989
1024
  parent_ext_id?: string | null | undefined;
990
1025
  doctag_count: number;
991
1026
  facttag_count: number;
1027
+ fields?: {
1028
+ id: string;
1029
+ name: string;
1030
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person";
1031
+ options?: string[] | null | undefined;
1032
+ tag_ext_id: string;
1033
+ }[] | undefined;
1034
+ field_values?: {
1035
+ [x: string]: unknown;
1036
+ } | undefined;
992
1037
  created_by_ext_id: string;
993
1038
  updated_by_ext_id?: string | null | undefined;
994
1039
  created_at: string;
@@ -1193,6 +1238,24 @@ declare function useProjects(options?: {
1193
1238
  budget_reset_at?: number | null | undefined;
1194
1239
  };
1195
1240
  daily_cap_per_user?: number | null | undefined;
1241
+ budget?: {
1242
+ amount: number;
1243
+ currency: string;
1244
+ } | null | undefined;
1245
+ client?: string | null | undefined;
1246
+ client_ref?: string | null | undefined;
1247
+ stage?: string | null | undefined;
1248
+ stage_changed_at?: string | null | undefined;
1249
+ lead_user?: string | null | undefined;
1250
+ fields?: {
1251
+ [x: string]: unknown;
1252
+ } | undefined;
1253
+ field_schema?: {
1254
+ key: string;
1255
+ label?: string | null | undefined;
1256
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person";
1257
+ options?: string[] | null | undefined;
1258
+ }[] | null | undefined;
1196
1259
  plan_interval?: ("month" | "year") | null | undefined;
1197
1260
  packs: number;
1198
1261
  plan_change?: {
package/dist/index.d.ts CHANGED
@@ -767,6 +767,37 @@ declare function useConversations(workspaceId: string | undefined, options?: {
767
767
  ui?: {
768
768
  [x: string]: unknown;
769
769
  } | null | undefined;
770
+ signals?: {
771
+ name: string;
772
+ when?: {
773
+ field?: string | null | undefined;
774
+ equals?: string | number | boolean | null | undefined;
775
+ contains?: string | null | undefined;
776
+ matches?: string | null | undefined;
777
+ approved?: boolean | null | undefined;
778
+ } | null | undefined;
779
+ }[] | undefined;
780
+ assignee?: {
781
+ user?: string | null | undefined;
782
+ run_owner?: true | null | undefined;
783
+ input?: string | null | undefined;
784
+ project_lead?: true | null | undefined;
785
+ } | null | undefined;
786
+ remind_after_hours?: number | null | undefined;
787
+ fields?: {
788
+ [x: string]: unknown;
789
+ name: string;
790
+ type: "text" | "longtext" | "boolean" | "select" | "number" | "date" | "scope" | "documents" | "person";
791
+ label?: string | null | undefined;
792
+ required: boolean;
793
+ options?: {
794
+ [x: string]: unknown;
795
+ value: string;
796
+ label?: string | null | undefined;
797
+ }[] | null | undefined;
798
+ min?: number | null | undefined;
799
+ max?: number | null | undefined;
800
+ }[] | null | undefined;
770
801
  }[];
771
802
  } | null | undefined;
772
803
  goal_state?: {
@@ -954,6 +985,10 @@ declare function useConversationThreads(workspaceId: string | undefined, convers
954
985
  run_id: string;
955
986
  status: "running" | "done" | "failed";
956
987
  };
988
+ } | {
989
+ name: "workflow_step";
990
+ description: string;
991
+ workflow_step: string;
957
992
  };
958
993
  } | undefined;
959
994
  config_ext_id?: string | null | undefined;
@@ -989,6 +1024,16 @@ declare function useTags(workspaceId: string | undefined, options?: {
989
1024
  parent_ext_id?: string | null | undefined;
990
1025
  doctag_count: number;
991
1026
  facttag_count: number;
1027
+ fields?: {
1028
+ id: string;
1029
+ name: string;
1030
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person";
1031
+ options?: string[] | null | undefined;
1032
+ tag_ext_id: string;
1033
+ }[] | undefined;
1034
+ field_values?: {
1035
+ [x: string]: unknown;
1036
+ } | undefined;
992
1037
  created_by_ext_id: string;
993
1038
  updated_by_ext_id?: string | null | undefined;
994
1039
  created_at: string;
@@ -1193,6 +1238,24 @@ declare function useProjects(options?: {
1193
1238
  budget_reset_at?: number | null | undefined;
1194
1239
  };
1195
1240
  daily_cap_per_user?: number | null | undefined;
1241
+ budget?: {
1242
+ amount: number;
1243
+ currency: string;
1244
+ } | null | undefined;
1245
+ client?: string | null | undefined;
1246
+ client_ref?: string | null | undefined;
1247
+ stage?: string | null | undefined;
1248
+ stage_changed_at?: string | null | undefined;
1249
+ lead_user?: string | null | undefined;
1250
+ fields?: {
1251
+ [x: string]: unknown;
1252
+ } | undefined;
1253
+ field_schema?: {
1254
+ key: string;
1255
+ label?: string | null | undefined;
1256
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person";
1257
+ options?: string[] | null | undefined;
1258
+ }[] | null | undefined;
1196
1259
  plan_interval?: ("month" | "year") | null | undefined;
1197
1260
  packs: number;
1198
1261
  plan_change?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/react",
3
- "version": "0.4.74",
3
+ "version": "0.4.76",
4
4
  "description": "React hooks and provider for the ARBI SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -93,8 +93,8 @@
93
93
  "build-storybook": "storybook build"
94
94
  },
95
95
  "dependencies": {
96
- "@arbidocs/client": "0.4.74",
97
- "@arbidocs/sdk": "0.4.74",
96
+ "@arbidocs/client": "0.4.76",
97
+ "@arbidocs/sdk": "0.4.76",
98
98
  "@didit-protocol/sdk-web": "0.4.0",
99
99
  "@radix-ui/react-avatar": "^1.2.0",
100
100
  "@radix-ui/react-checkbox": "^1.3.5",