graphlit-client 1.0.20241201001 → 1.0.20241203001

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/client.d.ts CHANGED
@@ -17,7 +17,7 @@ declare class Graphlit {
17
17
  lookupProjectCredits(correlationId: string): Promise<Types.LookupCreditsQuery>;
18
18
  queryProjectUsage(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryUsageQuery>;
19
19
  queryProjectCredits(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryCreditsQuery>;
20
- searchWeb(text: string, service?: Types.SearchServiceTypes, limit?: number): Promise<Types.SearchWebQuery>;
20
+ searchWeb(text: string, service?: Types.SearchServiceTypes, limit?: number, correlationId?: string): Promise<Types.SearchWebQuery>;
21
21
  createAlert(alert: Types.AlertInput, correlationId?: string): Promise<Types.CreateAlertMutation>;
22
22
  updateAlert(alert: Types.AlertUpdateInput): Promise<Types.UpdateAlertMutation>;
23
23
  deleteAlert(id: string): Promise<Types.DeleteAlertMutation>;
package/dist/client.js CHANGED
@@ -143,9 +143,9 @@ class Graphlit {
143
143
  return this.queryAndCheckError(Documents.QueryCredits, { startDate: startDate, duration: duration });
144
144
  });
145
145
  }
146
- searchWeb(text, service, limit) {
146
+ searchWeb(text, service, limit, correlationId) {
147
147
  return __awaiter(this, void 0, void 0, function* () {
148
- return this.queryAndCheckError(Documents.SearchWeb, { text: text, service: service, limit: limit });
148
+ return this.queryAndCheckError(Documents.SearchWeb, { text: text, service: service, limit: limit, correlationId: correlationId });
149
149
  });
150
150
  }
151
151
  createAlert(alert, correlationId) {
@@ -6032,8 +6032,13 @@ exports.UpdateRepo = (0, graphql_tag_1.default) `
6032
6032
  }
6033
6033
  `;
6034
6034
  exports.SearchWeb = (0, graphql_tag_1.default) `
6035
- query SearchWeb($text: String!, $service: SearchServiceTypes, $limit: Int) {
6036
- searchWeb(text: $text, service: $service, limit: $limit) {
6035
+ query SearchWeb($text: String!, $service: SearchServiceTypes, $limit: Int, $correlationId: String) {
6036
+ searchWeb(
6037
+ text: $text
6038
+ service: $service
6039
+ limit: $limit
6040
+ correlationId: $correlationId
6041
+ ) {
6037
6042
  results {
6038
6043
  uri
6039
6044
  text
@@ -3828,8 +3828,13 @@ export declare enum GroqModels {
3828
3828
  Llama_3_2_11BTextPreview = "LLAMA_3_2_11B_TEXT_PREVIEW",
3829
3829
  /** LLaMA 3.2 11b Vision Preview */
3830
3830
  Llama_3_2_11BVisionPreview = "LLAMA_3_2_11B_VISION_PREVIEW",
3831
- /** LLaMA 3.2 90b Text Preview */
3831
+ /**
3832
+ * LLaMA 3.2 90b Text Preview
3833
+ * @deprecated Use Llama 3.2 90b Vision Preview instead.
3834
+ */
3832
3835
  Llama_3_2_90BTextPreview = "LLAMA_3_2_90B_TEXT_PREVIEW",
3836
+ /** LLaMA 3.2 90b Vision Preview */
3837
+ Llama_3_2_90BVisionPreview = "LLAMA_3_2_90B_VISION_PREVIEW",
3833
3838
  /** LLaMA 3 8b */
3834
3839
  Llama_3_8B = "LLAMA_3_8B",
3835
3840
  /** LLaMA 3 70b */
@@ -18948,6 +18953,7 @@ export type SearchWebQueryVariables = Exact<{
18948
18953
  text: Scalars['String']['input'];
18949
18954
  service?: InputMaybe<SearchServiceTypes>;
18950
18955
  limit?: InputMaybe<Scalars['Int']['input']>;
18956
+ correlationId?: InputMaybe<Scalars['String']['input']>;
18951
18957
  }>;
18952
18958
  export type SearchWebQuery = {
18953
18959
  __typename?: 'Query';
@@ -776,8 +776,13 @@ var GroqModels;
776
776
  GroqModels["Llama_3_2_11BTextPreview"] = "LLAMA_3_2_11B_TEXT_PREVIEW";
777
777
  /** LLaMA 3.2 11b Vision Preview */
778
778
  GroqModels["Llama_3_2_11BVisionPreview"] = "LLAMA_3_2_11B_VISION_PREVIEW";
779
- /** LLaMA 3.2 90b Text Preview */
779
+ /**
780
+ * LLaMA 3.2 90b Text Preview
781
+ * @deprecated Use Llama 3.2 90b Vision Preview instead.
782
+ */
780
783
  GroqModels["Llama_3_2_90BTextPreview"] = "LLAMA_3_2_90B_TEXT_PREVIEW";
784
+ /** LLaMA 3.2 90b Vision Preview */
785
+ GroqModels["Llama_3_2_90BVisionPreview"] = "LLAMA_3_2_90B_VISION_PREVIEW";
781
786
  /** LLaMA 3 8b */
782
787
  GroqModels["Llama_3_8B"] = "LLAMA_3_8B";
783
788
  /** LLaMA 3 70b */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20241201001",
3
+ "version": "1.0.20241203001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",