lancer-shared 1.2.220 → 1.2.221

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.
@@ -6545,7 +6545,7 @@ const ROUTES = {
6545
6545
  BASE: (id) => `organizations/${id}/onboarding`,
6546
6546
  PROGRESS: (id) => `organizations/${id}/onboarding/progress`,
6547
6547
  },
6548
- AI_CONFIG: (id) => `organizations/${id}/settings/ai-config-v2`,
6548
+ AI_CONFIG: (id) => `organizations/${id}/settings/ai-config-v3`,
6549
6549
  COVER_LETTER: {
6550
6550
  BASE: (id) => `organizations/${id}/cover-letter`,
6551
6551
  BY_ID: (id, coverLetterId) => `organizations/${id}/cover-letter/${coverLetterId}`,
@@ -13048,8 +13048,7 @@ const trackUsagePayloadSchema = objectType({
13048
13048
  const questionRulesSchema = objectType({
13049
13049
  question: stringType(),
13050
13050
  answer: stringType(),
13051
- category: stringType(),
13052
- type: stringType(),
13051
+ exampleAnswer: stringType().optional(),
13053
13052
  });
13054
13053
  const aiConfigSchema = objectType({
13055
13054
  questionHandling: z.string().nullable(),
@@ -885,18 +885,15 @@ export declare const trackUsagePayloadSchema: z.ZodObject<{
885
885
  export declare const questionRulesSchema: z.ZodObject<{
886
886
  question: z.ZodString;
887
887
  answer: z.ZodString;
888
- category: z.ZodString;
889
- type: z.ZodString;
888
+ exampleAnswer: z.ZodOptional<z.ZodString>;
890
889
  }, "strip", z.ZodTypeAny, {
891
- type: string;
892
890
  question: string;
893
891
  answer: string;
894
- category: string;
892
+ exampleAnswer?: string | undefined;
895
893
  }, {
896
- type: string;
897
894
  question: string;
898
895
  answer: string;
899
- category: string;
896
+ exampleAnswer?: string | undefined;
900
897
  }>;
901
898
  export type QuestionRules = z.infer<typeof questionRulesSchema>;
902
899
  export declare const aiConfigSchema: z.ZodObject<{
@@ -904,38 +901,33 @@ export declare const aiConfigSchema: z.ZodObject<{
904
901
  questionRules: z.ZodNullable<z.ZodArray<z.ZodObject<{
905
902
  question: z.ZodString;
906
903
  answer: z.ZodString;
907
- category: z.ZodString;
908
- type: z.ZodString;
904
+ exampleAnswer: z.ZodOptional<z.ZodString>;
909
905
  }, "strip", z.ZodTypeAny, {
910
- type: string;
911
906
  question: string;
912
907
  answer: string;
913
- category: string;
908
+ exampleAnswer?: string | undefined;
914
909
  }, {
915
- type: string;
916
910
  question: string;
917
911
  answer: string;
918
- category: string;
912
+ exampleAnswer?: string | undefined;
919
913
  }>, "many">>;
920
914
  disqualifierRules: z.ZodNullable<z.ZodString>;
921
915
  userInstructions: z.ZodNullable<z.ZodString>;
922
916
  }, "strip", z.ZodTypeAny, {
923
917
  questionHandling: string | null;
924
918
  questionRules: {
925
- type: string;
926
919
  question: string;
927
920
  answer: string;
928
- category: string;
921
+ exampleAnswer?: string | undefined;
929
922
  }[] | null;
930
923
  disqualifierRules: string | null;
931
924
  userInstructions: string | null;
932
925
  }, {
933
926
  questionHandling: string | null;
934
927
  questionRules: {
935
- type: string;
936
928
  question: string;
937
929
  answer: string;
938
- category: string;
930
+ exampleAnswer?: string | undefined;
939
931
  }[] | null;
940
932
  disqualifierRules: string | null;
941
933
  userInstructions: string | null;
@@ -959,38 +951,33 @@ export declare const organizationSettingsSchema: z.ZodObject<{
959
951
  questionRules: z.ZodNullable<z.ZodArray<z.ZodObject<{
960
952
  question: z.ZodString;
961
953
  answer: z.ZodString;
962
- category: z.ZodString;
963
- type: z.ZodString;
954
+ exampleAnswer: z.ZodOptional<z.ZodString>;
964
955
  }, "strip", z.ZodTypeAny, {
965
- type: string;
966
956
  question: string;
967
957
  answer: string;
968
- category: string;
958
+ exampleAnswer?: string | undefined;
969
959
  }, {
970
- type: string;
971
960
  question: string;
972
961
  answer: string;
973
- category: string;
962
+ exampleAnswer?: string | undefined;
974
963
  }>, "many">>;
975
964
  disqualifierRules: z.ZodNullable<z.ZodString>;
976
965
  userInstructions: z.ZodNullable<z.ZodString>;
977
966
  }, "strip", z.ZodTypeAny, {
978
967
  questionHandling: string | null;
979
968
  questionRules: {
980
- type: string;
981
969
  question: string;
982
970
  answer: string;
983
- category: string;
971
+ exampleAnswer?: string | undefined;
984
972
  }[] | null;
985
973
  disqualifierRules: string | null;
986
974
  userInstructions: string | null;
987
975
  }, {
988
976
  questionHandling: string | null;
989
977
  questionRules: {
990
- type: string;
991
978
  question: string;
992
979
  answer: string;
993
- category: string;
980
+ exampleAnswer?: string | undefined;
994
981
  }[] | null;
995
982
  disqualifierRules: string | null;
996
983
  userInstructions: string | null;
@@ -999,10 +986,9 @@ export declare const organizationSettingsSchema: z.ZodObject<{
999
986
  aiConfig: {
1000
987
  questionHandling: string | null;
1001
988
  questionRules: {
1002
- type: string;
1003
989
  question: string;
1004
990
  answer: string;
1005
- category: string;
991
+ exampleAnswer?: string | undefined;
1006
992
  }[] | null;
1007
993
  disqualifierRules: string | null;
1008
994
  userInstructions: string | null;
@@ -1011,10 +997,9 @@ export declare const organizationSettingsSchema: z.ZodObject<{
1011
997
  aiConfig: {
1012
998
  questionHandling: string | null;
1013
999
  questionRules: {
1014
- type: string;
1015
1000
  question: string;
1016
1001
  answer: string;
1017
- category: string;
1002
+ exampleAnswer?: string | undefined;
1018
1003
  }[] | null;
1019
1004
  disqualifierRules: string | null;
1020
1005
  userInstructions: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.220",
3
+ "version": "1.2.221",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",