@simpleapps-com/augur-api 0.3.2 → 0.3.3

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.
@@ -275,7 +275,7 @@ export declare class GregorovichClient extends BaseServiceClient {
275
275
  }, import("zod").ZodTypeAny, "passthrough">) => Promise<{
276
276
  params: Record<string, unknown> | unknown[];
277
277
  data: {
278
- status?: "timeout" | "success" | "error" | "partial" | undefined;
278
+ status?: "timeout" | "success" | "partial" | "error" | undefined;
279
279
  response?: string | undefined;
280
280
  timestamp?: string | undefined;
281
281
  requestId?: string | undefined;
@@ -283,11 +283,10 @@ export declare class GregorovichClient extends BaseServiceClient {
283
283
  version?: string | undefined;
284
284
  warnings?: string[] | undefined;
285
285
  model?: string | undefined;
286
- context?: number[] | undefined;
287
- error?: string | undefined;
288
286
  created_at?: string | undefined;
289
287
  conversationId?: string | undefined;
290
288
  messageId?: string | undefined;
289
+ context?: number[] | undefined;
291
290
  done?: boolean | undefined;
292
291
  total_duration?: number | undefined;
293
292
  load_duration?: number | undefined;
@@ -300,6 +299,7 @@ export declare class GregorovichClient extends BaseServiceClient {
300
299
  completion_tokens?: number | undefined;
301
300
  total_tokens?: number | undefined;
302
301
  capabilities?: string[] | undefined;
302
+ error?: string | undefined;
303
303
  } & {
304
304
  [k: string]: unknown;
305
305
  };
@@ -570,7 +570,6 @@ export declare const ChatGptAskResponseSchema: z.ZodEffects<z.ZodObject<{
570
570
  question?: string | undefined;
571
571
  answer?: string | undefined;
572
572
  model?: string | undefined;
573
- context?: string[] | undefined;
574
573
  conversationId?: string | undefined;
575
574
  tokens?: number | undefined;
576
575
  completionTokens?: number | undefined;
@@ -585,6 +584,7 @@ export declare const ChatGptAskResponseSchema: z.ZodEffects<z.ZodObject<{
585
584
  promptTokens?: number | undefined;
586
585
  totalTokens?: number | undefined;
587
586
  } | undefined;
587
+ context?: string[] | undefined;
588
588
  sources?: string[] | undefined;
589
589
  } & {
590
590
  [k: string]: unknown;
@@ -602,7 +602,6 @@ export declare const ChatGptAskResponseSchema: z.ZodEffects<z.ZodObject<{
602
602
  question?: string | undefined;
603
603
  answer?: string | undefined;
604
604
  model?: string | undefined;
605
- context?: string[] | undefined;
606
605
  conversationId?: string | undefined;
607
606
  tokens?: number | undefined;
608
607
  completionTokens?: number | undefined;
@@ -617,6 +616,7 @@ export declare const ChatGptAskResponseSchema: z.ZodEffects<z.ZodObject<{
617
616
  promptTokens?: number | undefined;
618
617
  totalTokens?: number | undefined;
619
618
  } | undefined;
619
+ context?: string[] | undefined;
620
620
  sources?: string[] | undefined;
621
621
  } & {
622
622
  [k: string]: unknown;
@@ -634,7 +634,6 @@ export declare const ChatGptAskResponseSchema: z.ZodEffects<z.ZodObject<{
634
634
  question?: string | undefined;
635
635
  answer?: string | undefined;
636
636
  model?: string | undefined;
637
- context?: string[] | undefined;
638
637
  conversationId?: string | undefined;
639
638
  tokens?: number | undefined;
640
639
  completionTokens?: number | undefined;
@@ -649,6 +648,7 @@ export declare const ChatGptAskResponseSchema: z.ZodEffects<z.ZodObject<{
649
648
  promptTokens?: number | undefined;
650
649
  totalTokens?: number | undefined;
651
650
  } | undefined;
651
+ context?: string[] | undefined;
652
652
  sources?: string[] | undefined;
653
653
  } & {
654
654
  [k: string]: unknown;
@@ -666,7 +666,6 @@ export declare const ChatGptAskResponseSchema: z.ZodEffects<z.ZodObject<{
666
666
  question?: string | undefined;
667
667
  answer?: string | undefined;
668
668
  model?: string | undefined;
669
- context?: string[] | undefined;
670
669
  conversationId?: string | undefined;
671
670
  tokens?: number | undefined;
672
671
  completionTokens?: number | undefined;
@@ -681,6 +680,7 @@ export declare const ChatGptAskResponseSchema: z.ZodEffects<z.ZodObject<{
681
680
  promptTokens?: number | undefined;
682
681
  totalTokens?: number | undefined;
683
682
  } | undefined;
683
+ context?: string[] | undefined;
684
684
  sources?: string[] | undefined;
685
685
  } & {
686
686
  [k: string]: unknown;
@@ -1068,7 +1068,7 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1068
1068
  }, "strip", z.ZodTypeAny, {
1069
1069
  params: Record<string, unknown> | unknown[];
1070
1070
  data: {
1071
- status?: "timeout" | "success" | "error" | "partial" | undefined;
1071
+ status?: "timeout" | "success" | "partial" | "error" | undefined;
1072
1072
  response?: string | undefined;
1073
1073
  timestamp?: string | undefined;
1074
1074
  requestId?: string | undefined;
@@ -1076,11 +1076,10 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1076
1076
  version?: string | undefined;
1077
1077
  warnings?: string[] | undefined;
1078
1078
  model?: string | undefined;
1079
- context?: number[] | undefined;
1080
- error?: string | undefined;
1081
1079
  created_at?: string | undefined;
1082
1080
  conversationId?: string | undefined;
1083
1081
  messageId?: string | undefined;
1082
+ context?: number[] | undefined;
1084
1083
  done?: boolean | undefined;
1085
1084
  total_duration?: number | undefined;
1086
1085
  load_duration?: number | undefined;
@@ -1093,6 +1092,7 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1093
1092
  completion_tokens?: number | undefined;
1094
1093
  total_tokens?: number | undefined;
1095
1094
  capabilities?: string[] | undefined;
1095
+ error?: string | undefined;
1096
1096
  } & {
1097
1097
  [k: string]: unknown;
1098
1098
  };
@@ -1105,7 +1105,7 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1105
1105
  }, {
1106
1106
  params: Record<string, unknown> | unknown[];
1107
1107
  data: {
1108
- status?: "timeout" | "success" | "error" | "partial" | undefined;
1108
+ status?: "timeout" | "success" | "partial" | "error" | undefined;
1109
1109
  response?: string | undefined;
1110
1110
  timestamp?: string | undefined;
1111
1111
  requestId?: string | undefined;
@@ -1113,11 +1113,10 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1113
1113
  version?: string | undefined;
1114
1114
  warnings?: string[] | undefined;
1115
1115
  model?: string | undefined;
1116
- context?: number[] | undefined;
1117
- error?: string | undefined;
1118
1116
  created_at?: string | undefined;
1119
1117
  conversationId?: string | undefined;
1120
1118
  messageId?: string | undefined;
1119
+ context?: number[] | undefined;
1121
1120
  done?: boolean | undefined;
1122
1121
  total_duration?: number | undefined;
1123
1122
  load_duration?: number | undefined;
@@ -1130,6 +1129,7 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1130
1129
  completion_tokens?: number | undefined;
1131
1130
  total_tokens?: number | undefined;
1132
1131
  capabilities?: string[] | undefined;
1132
+ error?: string | undefined;
1133
1133
  } & {
1134
1134
  [k: string]: unknown;
1135
1135
  };
@@ -1142,7 +1142,7 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1142
1142
  }>, {
1143
1143
  params: Record<string, unknown> | unknown[];
1144
1144
  data: {
1145
- status?: "timeout" | "success" | "error" | "partial" | undefined;
1145
+ status?: "timeout" | "success" | "partial" | "error" | undefined;
1146
1146
  response?: string | undefined;
1147
1147
  timestamp?: string | undefined;
1148
1148
  requestId?: string | undefined;
@@ -1150,11 +1150,10 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1150
1150
  version?: string | undefined;
1151
1151
  warnings?: string[] | undefined;
1152
1152
  model?: string | undefined;
1153
- context?: number[] | undefined;
1154
- error?: string | undefined;
1155
1153
  created_at?: string | undefined;
1156
1154
  conversationId?: string | undefined;
1157
1155
  messageId?: string | undefined;
1156
+ context?: number[] | undefined;
1158
1157
  done?: boolean | undefined;
1159
1158
  total_duration?: number | undefined;
1160
1159
  load_duration?: number | undefined;
@@ -1167,6 +1166,7 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1167
1166
  completion_tokens?: number | undefined;
1168
1167
  total_tokens?: number | undefined;
1169
1168
  capabilities?: string[] | undefined;
1169
+ error?: string | undefined;
1170
1170
  } & {
1171
1171
  [k: string]: unknown;
1172
1172
  };
@@ -1179,7 +1179,7 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1179
1179
  }, {
1180
1180
  params: Record<string, unknown> | unknown[];
1181
1181
  data: {
1182
- status?: "timeout" | "success" | "error" | "partial" | undefined;
1182
+ status?: "timeout" | "success" | "partial" | "error" | undefined;
1183
1183
  response?: string | undefined;
1184
1184
  timestamp?: string | undefined;
1185
1185
  requestId?: string | undefined;
@@ -1187,11 +1187,10 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1187
1187
  version?: string | undefined;
1188
1188
  warnings?: string[] | undefined;
1189
1189
  model?: string | undefined;
1190
- context?: number[] | undefined;
1191
- error?: string | undefined;
1192
1190
  created_at?: string | undefined;
1193
1191
  conversationId?: string | undefined;
1194
1192
  messageId?: string | undefined;
1193
+ context?: number[] | undefined;
1195
1194
  done?: boolean | undefined;
1196
1195
  total_duration?: number | undefined;
1197
1196
  load_duration?: number | undefined;
@@ -1204,6 +1203,7 @@ export declare const OllamaGenerateResponseSchema: z.ZodEffects<z.ZodObject<{
1204
1203
  completion_tokens?: number | undefined;
1205
1204
  total_tokens?: number | undefined;
1206
1205
  capabilities?: string[] | undefined;
1206
+ error?: string | undefined;
1207
1207
  } & {
1208
1208
  [k: string]: unknown;
1209
1209
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpleapps-com/augur-api",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "TypeScript client library for Augur microservices API endpoints",
5
5
  "keywords": [
6
6
  "augur",
@@ -29,6 +29,7 @@
29
29
  "README.md",
30
30
  "QUICKSTART.md",
31
31
  "API-DISCOVERY.md",
32
+ "API-SERVICES.md",
32
33
  "AUTHENTICATION.md",
33
34
  "PERFORMANCE.md"
34
35
  ],