cf-service-sdk 0.1.43 → 0.1.45

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.
@@ -5246,6 +5246,8 @@ export type SegmentObject = {
5246
5246
  export type SemanticSearchConfigInput = {
5247
5247
  /** BM25 text relevance weight (0.0-1.0, default 0.4) */
5248
5248
  bm25Weight?: InputMaybe<Scalars['Float']['input']>;
5249
+ /** When true, run Claude over the raw query to extract structured filters (state, industries, metals, etc.) and rewrite the text with filter terms stripped. When false, skip extraction even if the server default has it on. When omitted, falls through to the USE_CF_SEARCH_FILTER_EXTRACTION env default. */
5250
+ extractFilters?: InputMaybe<Scalars['Boolean']['input']>;
5249
5251
  /** k-NN semantic similarity weight (0.0-1.0, default 0.6) */
5250
5252
  knnWeight?: InputMaybe<Scalars['Float']['input']>;
5251
5253
  /**
@@ -5255,6 +5257,10 @@ export type SemanticSearchConfigInput = {
5255
5257
  provider?: InputMaybe<Scalars['String']['input']>;
5256
5258
  /** Natural language search query. */
5257
5259
  query: Scalars['String']['input'];
5260
+ /** When true, re-rank top semantic hits via Claude (adds ~1-2s latency). When false, skip re-ranking even if the server default has it on. When omitted, falls through to the USE_CF_SEARCH_RERANK env default. */
5261
+ rerank?: InputMaybe<Scalars['Boolean']['input']>;
5262
+ /** When true, expand the raw query via Claude before embedding to improve recall on short/vague queries. When false, skip rewriting even if the server default has it on. When omitted, falls through to the USE_CF_SEARCH_QUERY_REWRITE env default. */
5263
+ rewriteQuery?: InputMaybe<Scalars['Boolean']['input']>;
5258
5264
  };
5259
5265
  export type SendEmailToContact = {
5260
5266
  __typename?: 'SendEmailToContact';
@@ -6063,6 +6069,7 @@ export declare enum UserBusinessProfileStateChoices {
6063
6069
  }
6064
6070
  /** UserProfileInput for updating user profile */
6065
6071
  export type UserProfileInput = {
6072
+ desktopNotificationsEnabled?: InputMaybe<Scalars['Boolean']['input']>;
6066
6073
  emailSignature?: InputMaybe<Scalars['String']['input']>;
6067
6074
  firstName?: InputMaybe<Scalars['String']['input']>;
6068
6075
  lastName?: InputMaybe<Scalars['String']['input']>;
@@ -6074,6 +6081,7 @@ export type UserProfileInput = {
6074
6081
  export type UserProfileType = {
6075
6082
  __typename?: 'UserProfileType';
6076
6083
  createdAt?: Maybe<Scalars['DateTime']['output']>;
6084
+ desktopNotificationsEnabled?: Maybe<Scalars['Boolean']['output']>;
6077
6085
  emailSignature?: Maybe<Scalars['String']['output']>;
6078
6086
  firstName?: Maybe<Scalars['String']['output']>;
6079
6087
  id?: Maybe<Scalars['ID']['output']>;
@@ -17251,6 +17259,7 @@ export type UpdateUserProfileMutation = {
17251
17259
  updatedAt?: any | null;
17252
17260
  emailSignature?: string | null;
17253
17261
  syncTasksToCalendar?: boolean | null;
17262
+ desktopNotificationsEnabled?: boolean | null;
17254
17263
  user?: {
17255
17264
  __typename?: 'UserType';
17256
17265
  id?: string | null;
@@ -30586,6 +30595,7 @@ export type UserProfileQuery = {
30586
30595
  updatedAt?: any | null;
30587
30596
  emailSignature?: string | null;
30588
30597
  syncTasksToCalendar?: boolean | null;
30598
+ desktopNotificationsEnabled?: boolean | null;
30589
30599
  user?: {
30590
30600
  __typename?: 'UserType';
30591
30601
  id?: string | null;
@@ -13777,6 +13777,7 @@ exports.UpdateUserProfileDocument = (0, client_1.gql) `
13777
13777
  picture
13778
13778
  }
13779
13779
  syncTasksToCalendar
13780
+ desktopNotificationsEnabled
13780
13781
  }
13781
13782
  success
13782
13783
  message
@@ -28798,6 +28799,7 @@ exports.UserProfileDocument = (0, client_1.gql) `
28798
28799
  picture
28799
28800
  }
28800
28801
  syncTasksToCalendar
28802
+ desktopNotificationsEnabled
28801
28803
  }
28802
28804
  }
28803
28805
  `;
package/dist/mutations.js CHANGED
@@ -7047,6 +7047,7 @@ mutation UpdateUserProfile($input: UserProfileInput!) {
7047
7047
  picture
7048
7048
  }
7049
7049
  syncTasksToCalendar
7050
+ desktopNotificationsEnabled
7050
7051
  }
7051
7052
  success
7052
7053
  message
package/dist/queries.js CHANGED
@@ -11846,6 +11846,7 @@ query UserProfile {
11846
11846
  picture
11847
11847
  }
11848
11848
  syncTasksToCalendar
11849
+ desktopNotificationsEnabled
11849
11850
  }
11850
11851
  }`;
11851
11852
  exports.ACCOUNT_PROFILE = (0, client_1.gql) `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",