@liip/liipgpt 3.9.0 → 3.9.2

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.
Files changed (47) hide show
  1. package/LICENSE +88 -0
  2. package/button/liipgpt-button.iife.js +11 -71
  3. package/chat/liipgpt-chat.iife.js +12 -12
  4. package/config/index.cjs +947 -946
  5. package/config/index.d.ts +6 -0
  6. package/config/index.js +947 -946
  7. package/configurator/_app/env.js +1 -1
  8. package/configurator/_app/immutable/chunks/7mY4OJGU.js +1 -0
  9. package/configurator/_app/immutable/chunks/B7iNpEKB.js +143 -0
  10. package/configurator/_app/immutable/chunks/B9Sj_kOF.js +2 -0
  11. package/configurator/_app/immutable/chunks/Bo_I9OnC.js +1 -0
  12. package/configurator/_app/immutable/chunks/C4jvtK34.js +1 -0
  13. package/configurator/_app/immutable/chunks/C5QUeOT4.js +16 -0
  14. package/configurator/_app/immutable/chunks/{DGbgqVw-.js → CA38AHEC.js} +2 -2
  15. package/configurator/_app/immutable/chunks/CFeIeoV1.js +1 -0
  16. package/configurator/_app/immutable/chunks/{CW8XT_f0.js → D1JxtiVt.js} +1 -1
  17. package/configurator/_app/immutable/chunks/{CzlKx6Dn.js → DGQ954rx.js} +1 -1
  18. package/configurator/_app/immutable/chunks/DY91rqbt.js +61 -0
  19. package/configurator/_app/immutable/chunks/{BiMiaf32.js → DYa1ApbB.js} +1 -1
  20. package/configurator/_app/immutable/chunks/{BoSlghYU.js → Qr3QoTpa.js} +1 -1
  21. package/configurator/_app/immutable/chunks/{kfKo0Lxm.js → ZVK8Dk3M.js} +1 -1
  22. package/configurator/_app/immutable/chunks/hdHt6us6.js +1 -0
  23. package/configurator/_app/immutable/entry/{app.CwqfSUK4.js → app.CNOaE4a-.js} +2 -2
  24. package/configurator/_app/immutable/entry/start.Dt2jlaUG.js +1 -0
  25. package/configurator/_app/immutable/nodes/{0.WsdkbKsV.js → 0.5_GG2VVz.js} +1 -1
  26. package/configurator/_app/immutable/nodes/{1.2qVIdLFb.js → 1.CC4YG4vs.js} +1 -1
  27. package/configurator/_app/immutable/nodes/{2.zFWWXwja.js → 2.Bsn6JT-r.js} +5 -5
  28. package/configurator/_app/immutable/nodes/{3.YVKriLPj.js → 3.BGFB6L4G.js} +1 -1
  29. package/configurator/_app/version.json +1 -1
  30. package/configurator/index.html +6 -6
  31. package/configurator/sidebar.html +6 -6
  32. package/index.cjs +1263 -3510
  33. package/index.d.ts +34 -0
  34. package/index.js +1230 -3479
  35. package/package.json +2 -2
  36. package/search-summary/liipgpt-search-summary.iife.js +6 -6
  37. package/configurator/_app/immutable/chunks/BKESH8zC.js +0 -1
  38. package/configurator/_app/immutable/chunks/BKZTsJMz.js +0 -1
  39. package/configurator/_app/immutable/chunks/C8BUw-Wc.js +0 -61
  40. package/configurator/_app/immutable/chunks/CWvh3_h0.js +0 -16
  41. package/configurator/_app/immutable/chunks/CqCdl07t.js +0 -1
  42. package/configurator/_app/immutable/chunks/DWxJNFvO.js +0 -143
  43. package/configurator/_app/immutable/chunks/Dn_5PWao.js +0 -2
  44. package/configurator/_app/immutable/chunks/IPBcm7Y9.js +0 -1
  45. package/configurator/_app/immutable/chunks/cE02ifhd.js +0 -1
  46. package/configurator/_app/immutable/entry/start.C9g5qB7o.js +0 -1
  47. package/configurator/bs.png +0 -0
package/index.d.ts CHANGED
@@ -5077,6 +5077,40 @@ export declare class ChatResultBuilder {
5077
5077
  getReadableStore(): Readable<ChatContent>;
5078
5078
  getPromise(): Promise<ChatContent>;
5079
5079
  }
5080
+ declare const piiTranslationSchema: z.ZodObject<{
5081
+ email: z.ZodString;
5082
+ creditCard: z.ZodString;
5083
+ ahv: z.ZodString;
5084
+ phoneSwiss: z.ZodString;
5085
+ phoneInternational: z.ZodString;
5086
+ swissPassport: z.ZodString;
5087
+ longNumber: z.ZodString;
5088
+ }, z.core.$strip>;
5089
+ export type PiiTranslation = z.infer<typeof piiTranslationSchema>;
5090
+ export type PiiKeys = keyof PiiTranslation;
5091
+ export declare const PiiChecks: ({
5092
+ type: "email";
5093
+ check: (input: string) => boolean;
5094
+ } | {
5095
+ type: "creditCard";
5096
+ check: (input: string) => boolean;
5097
+ } | {
5098
+ type: "ahv";
5099
+ check: (input: string) => boolean;
5100
+ } | {
5101
+ type: "phoneSwiss";
5102
+ check: (input: string) => boolean;
5103
+ } | {
5104
+ type: "phoneInternational";
5105
+ check: (input: string) => boolean;
5106
+ } | {
5107
+ type: "swissPassport";
5108
+ check: (input: string) => boolean;
5109
+ } | {
5110
+ type: "longNumber";
5111
+ check: (input: string) => boolean;
5112
+ })[];
5113
+ export declare const checkForPii: (input: string) => PiiKeys | undefined;
5080
5114
  export declare const menuItemSchema: z.ZodObject<{
5081
5115
  label: z.ZodString;
5082
5116
  icon: z.ZodString;