asfur 1.0.82 → 1.0.83

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/types.d.ts CHANGED
@@ -669,3 +669,21 @@ export type CronScheduleResponseType = z.infer<typeof zodCronScheduleResponseSch
669
669
  export type GeoType = z.infer<typeof zodGeoSchema>;
670
670
  export type GeoSelectionType = z.infer<typeof zodGeoSelectionSchema>;
671
671
  export type ApiKeyType = z.infer<typeof zodApiKeySchema>;
672
+ export type UserPublicMetadata = {
673
+ is_admin?: boolean;
674
+ regions?: {
675
+ name: string;
676
+ _id: string;
677
+ }[];
678
+ notes?: string;
679
+ };
680
+ export type MessageMetaData = {
681
+ geoLocations?: string[];
682
+ startDate?: string;
683
+ endDate?: string;
684
+ documents?: number;
685
+ userInstructions?: string;
686
+ sourceDocumentCounts?: {
687
+ [key: string]: number;
688
+ };
689
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asfur",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "description": "SDK for interacting with the Asfur API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -243,4 +243,22 @@ export type CronScheduleResponseType = z.infer<
243
243
  >;
244
244
  export type GeoType = z.infer<typeof zodGeoSchema>;
245
245
  export type GeoSelectionType = z.infer<typeof zodGeoSelectionSchema>;
246
- export type ApiKeyType = z.infer<typeof zodApiKeySchema>;
246
+ export type ApiKeyType = z.infer<typeof zodApiKeySchema>;
247
+
248
+ export type UserPublicMetadata = {
249
+ is_admin?: boolean;
250
+ regions?: {
251
+ name: string;
252
+ _id: string;
253
+ }[];
254
+ notes?: string;
255
+ };
256
+
257
+ export type MessageMetaData = {
258
+ geoLocations?: string[];
259
+ startDate?: string;
260
+ endDate?: string;
261
+ documents?: number;
262
+ userInstructions?: string;
263
+ sourceDocumentCounts?: { [key: string]: number };
264
+ };