@cossistant/next 0.0.5 → 0.0.7

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 (108) hide show
  1. package/conversation-timeline.d.ts +2 -1
  2. package/conversation-timeline.d.ts.map +1 -1
  3. package/conversation.d.ts +47 -3
  4. package/conversation.d.ts.map +1 -1
  5. package/conversation2.d.ts +7 -0
  6. package/conversation2.d.ts.map +1 -0
  7. package/enums.d.ts +11 -0
  8. package/enums.d.ts.map +1 -0
  9. package/hooks/index.d.ts +1 -1
  10. package/identify-visitor2.d.ts +1 -0
  11. package/identify-visitor2.d.ts.map +1 -1
  12. package/index.d.ts +3 -3
  13. package/index10.d.ts +3 -0
  14. package/index2.d.ts +19 -24
  15. package/index2.d.ts.map +1 -0
  16. package/index2.parts.d.ts +2 -2
  17. package/index3.d.ts +24 -4
  18. package/index4.d.ts +1 -10
  19. package/index5.d.ts +13 -5
  20. package/index6.d.ts +5 -2
  21. package/index7.d.ts +2 -37
  22. package/index8.d.ts +1 -3
  23. package/index9.d.ts +39 -0
  24. package/index9.d.ts.map +1 -0
  25. package/keys.d.ts +2 -0
  26. package/keys.d.ts.map +1 -1
  27. package/package.json +3 -2
  28. package/primitives/index.d.ts +2 -2
  29. package/provider2.d.ts +3 -0
  30. package/provider2.d.ts.map +1 -1
  31. package/provider3.d.ts +1 -0
  32. package/provider3.d.ts.map +1 -1
  33. package/realtime/index.d.ts +1 -1
  34. package/realtime-events.d.ts +126 -0
  35. package/realtime-events.d.ts.map +1 -0
  36. package/schemas.d.ts +34 -0
  37. package/schemas.d.ts.map +1 -0
  38. package/seen-store.d.ts +4 -0
  39. package/seen-store.d.ts.map +1 -1
  40. package/support/index.d.ts +1 -1
  41. package/support-config2.d.ts +1 -0
  42. package/support-config2.d.ts.map +1 -1
  43. package/support-store.d.ts +4 -15
  44. package/support-store.d.ts.map +1 -1
  45. package/support.css +1 -1
  46. package/tailwind.css +404 -0
  47. package/timeline-item-group.d.ts +3 -1
  48. package/timeline-item-group.d.ts.map +1 -1
  49. package/timeline-item.d.ts +107 -50
  50. package/timeline-item.d.ts.map +1 -1
  51. package/timeline-item2.d.ts +55 -0
  52. package/timeline-item2.d.ts.map +1 -0
  53. package/typing-indicator.d.ts +1 -0
  54. package/typing-indicator.d.ts.map +1 -1
  55. package/typing-store.d.ts +3 -0
  56. package/typing-store.d.ts.map +1 -1
  57. package/typing.d.ts +2 -1
  58. package/typing.d.ts.map +1 -1
  59. package/use-client-query.d.ts +2 -0
  60. package/use-client-query.d.ts.map +1 -1
  61. package/use-conversation-auto-seen.d.ts +3 -1
  62. package/use-conversation-auto-seen.d.ts.map +1 -1
  63. package/use-conversation-history-page.d.ts +2 -0
  64. package/use-conversation-history-page.d.ts.map +1 -1
  65. package/use-conversation-page.d.ts +2 -0
  66. package/use-conversation-page.d.ts.map +1 -1
  67. package/use-conversation-preview.d.ts +2 -0
  68. package/use-conversation-preview.d.ts.map +1 -1
  69. package/use-conversation-seen.d.ts +2 -0
  70. package/use-conversation-seen.d.ts.map +1 -1
  71. package/use-conversation-timeline-items.d.ts +3 -1
  72. package/use-conversation-timeline-items.d.ts.map +1 -1
  73. package/use-conversation-timeline.d.ts +1 -0
  74. package/use-conversation-timeline.d.ts.map +1 -1
  75. package/use-conversation-typing.d.ts +2 -0
  76. package/use-conversation-typing.d.ts.map +1 -1
  77. package/use-conversation.d.ts +2 -0
  78. package/use-conversation.d.ts.map +1 -1
  79. package/use-conversations.d.ts +3 -1
  80. package/use-conversations.d.ts.map +1 -1
  81. package/use-create-conversation.d.ts +5 -1
  82. package/use-create-conversation.d.ts.map +1 -1
  83. package/use-default-messages.d.ts +2 -0
  84. package/use-default-messages.d.ts.map +1 -1
  85. package/use-grouped-messages.d.ts +4 -1
  86. package/use-grouped-messages.d.ts.map +1 -1
  87. package/use-home-page.d.ts +2 -0
  88. package/use-home-page.d.ts.map +1 -1
  89. package/use-message-composer.d.ts +2 -0
  90. package/use-message-composer.d.ts.map +1 -1
  91. package/use-realtime-support.d.ts +2 -0
  92. package/use-realtime-support.d.ts.map +1 -1
  93. package/use-realtime.d.ts +1 -0
  94. package/use-realtime.d.ts.map +1 -1
  95. package/use-rest-client.d.ts +2 -0
  96. package/use-rest-client.d.ts.map +1 -1
  97. package/use-send-message.d.ts +4 -1
  98. package/use-send-message.d.ts.map +1 -1
  99. package/use-visitor.d.ts +2 -0
  100. package/use-visitor.d.ts.map +1 -1
  101. package/utils/index.d.ts +2 -2
  102. package/visitor.d.ts +72 -0
  103. package/visitor.d.ts.map +1 -0
  104. package/website.d.ts +49 -0
  105. package/website.d.ts.map +1 -0
  106. package/websocket.d.ts +2 -1
  107. package/websocket.d.ts.map +1 -1
  108. package/index7.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"website.d.ts","names":["z","createWebsiteRequestSchema","ZodString","ZodULID","ZodEnum","core","$strip","ZodObject","CreateWebsiteRequest","infer","websiteApiKeySchema","ZodNullable","ZodBoolean","WebsiteApiKey","websiteSummarySchema","ZodURL","ZodArray","WebsiteSummary","websiteDeveloperSettingsResponseSchema","WebsiteDeveloperSettingsResponse","createWebsiteApiKeyRequestSchema","CreateWebsiteApiKeyRequest","revokeWebsiteApiKeyRequestSchema","RevokeWebsiteApiKeyRequest","updateWebsiteRequestSchema","ZodOptional","UpdateWebsiteRequest","createWebsiteResponseSchema","CreateWebsiteResponse","checkWebsiteDomainRequestSchema","CheckWebsiteDomainRequest","availableHumanAgentSchema","AvailableAIAgentSchema","publicWebsiteResponseSchema","PublicWebsiteResponse","AvailableHumanAgent","AvailableAIAgent","listByOrganizationRequestSchema","ListByOrganizationRequest","websiteListItemSchema","WebsiteListItem"],"sources":["../../types/dist/api/website.d.ts"],"sourcesContent":["import { z } from \"@hono/zod-openapi\";\n\n//#region src/api/website.d.ts\n\n/**\n * Website creation request schema\n */\ndeclare const createWebsiteRequestSchema: z.ZodObject<{\n name: z.ZodString;\n domain: z.ZodString;\n organizationId: z.ZodULID;\n installationTarget: z.ZodEnum<any>;\n}, z.core.$strip>;\ntype CreateWebsiteRequest = z.infer<typeof createWebsiteRequestSchema>;\ndeclare const websiteApiKeySchema: z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n key: z.ZodNullable<z.ZodString>;\n keyType: z.ZodEnum<{\n [x: string]: any;\n }>;\n isTest: z.ZodBoolean;\n isActive: z.ZodBoolean;\n createdAt: z.ZodString;\n lastUsedAt: z.ZodNullable<z.ZodString>;\n revokedAt: z.ZodNullable<z.ZodString>;\n}, z.core.$strip>;\ntype WebsiteApiKey = z.infer<typeof websiteApiKeySchema>;\ndeclare const websiteSummarySchema: z.ZodObject<{\n id: z.ZodULID;\n slug: z.ZodString;\n name: z.ZodString;\n domain: z.ZodString;\n contactEmail: z.ZodNullable<z.ZodString>;\n logoUrl: z.ZodNullable<z.ZodString>;\n organizationId: z.ZodULID;\n whitelistedDomains: z.ZodArray<z.ZodURL>;\n}, z.core.$strip>;\ntype WebsiteSummary = z.infer<typeof websiteSummarySchema>;\ndeclare const websiteDeveloperSettingsResponseSchema: z.ZodObject<{\n website: z.ZodObject<{\n id: z.ZodULID;\n slug: z.ZodString;\n name: z.ZodString;\n domain: z.ZodString;\n contactEmail: z.ZodNullable<z.ZodString>;\n logoUrl: z.ZodNullable<z.ZodString>;\n organizationId: z.ZodULID;\n whitelistedDomains: z.ZodArray<z.ZodURL>;\n }, z.core.$strip>;\n apiKeys: z.ZodArray<z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n key: z.ZodNullable<z.ZodString>;\n keyType: z.ZodEnum<{\n [x: string]: any;\n }>;\n isTest: z.ZodBoolean;\n isActive: z.ZodBoolean;\n createdAt: z.ZodString;\n lastUsedAt: z.ZodNullable<z.ZodString>;\n revokedAt: z.ZodNullable<z.ZodString>;\n }, z.core.$strip>>;\n}, z.core.$strip>;\ntype WebsiteDeveloperSettingsResponse = z.infer<typeof websiteDeveloperSettingsResponseSchema>;\ndeclare const createWebsiteApiKeyRequestSchema: z.ZodObject<{\n organizationId: z.ZodULID;\n websiteId: z.ZodULID;\n name: z.ZodString;\n keyType: z.ZodEnum<{\n [x: string]: any;\n }>;\n isTest: z.ZodBoolean;\n}, z.core.$strip>;\ntype CreateWebsiteApiKeyRequest = z.infer<typeof createWebsiteApiKeyRequestSchema>;\ndeclare const revokeWebsiteApiKeyRequestSchema: z.ZodObject<{\n organizationId: z.ZodULID;\n websiteId: z.ZodULID;\n apiKeyId: z.ZodULID;\n}, z.core.$strip>;\ntype RevokeWebsiteApiKeyRequest = z.infer<typeof revokeWebsiteApiKeyRequestSchema>;\ndeclare const updateWebsiteRequestSchema: z.ZodObject<{\n organizationId: z.ZodULID;\n websiteId: z.ZodULID;\n data: z.ZodObject<{\n name: z.ZodOptional<z.ZodString>;\n slug: z.ZodOptional<z.ZodString>;\n domain: z.ZodOptional<z.ZodString>;\n contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;\n description: z.ZodOptional<z.ZodNullable<z.ZodString>>;\n logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;\n whitelistedDomains: z.ZodOptional<z.ZodArray<z.ZodURL>>;\n installationTarget: z.ZodOptional<z.ZodEnum<any>>;\n status: z.ZodOptional<z.ZodEnum<{\n [x: string]: any;\n }>>;\n teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;\n }, z.core.$strip>;\n}, z.core.$strip>;\ntype UpdateWebsiteRequest = z.infer<typeof updateWebsiteRequestSchema>;\n/**\n * Website creation response schema\n */\ndeclare const createWebsiteResponseSchema: z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n slug: z.ZodString;\n whitelistedDomains: z.ZodArray<z.ZodURL>;\n organizationId: z.ZodULID;\n apiKeys: z.ZodArray<z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n key: z.ZodNullable<z.ZodString>;\n keyType: z.ZodEnum<{\n [x: string]: any;\n }>;\n isTest: z.ZodBoolean;\n isActive: z.ZodBoolean;\n createdAt: z.ZodString;\n lastUsedAt: z.ZodNullable<z.ZodString>;\n revokedAt: z.ZodNullable<z.ZodString>;\n }, z.core.$strip>>;\n}, z.core.$strip>;\ntype CreateWebsiteResponse = z.infer<typeof createWebsiteResponseSchema>;\n/**\n * Website domain validation request schema\n */\ndeclare const checkWebsiteDomainRequestSchema: z.ZodObject<{\n domain: z.ZodString;\n}, z.core.$strip>;\ntype CheckWebsiteDomainRequest = z.infer<typeof checkWebsiteDomainRequestSchema>;\ndeclare const availableHumanAgentSchema: z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n image: z.ZodNullable<z.ZodString>;\n lastSeenAt: z.ZodNullable<z.ZodString>;\n}, z.core.$strip>;\ndeclare const AvailableAIAgentSchema: z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n image: z.ZodNullable<z.ZodString>;\n}, z.core.$strip>;\n/**\n * Website information response schema\n */\ndeclare const publicWebsiteResponseSchema: z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n domain: z.ZodString;\n description: z.ZodNullable<z.ZodString>;\n logoUrl: z.ZodNullable<z.ZodString>;\n organizationId: z.ZodULID;\n status: z.ZodString;\n lastOnlineAt: z.ZodNullable<z.ZodString>;\n availableHumanAgents: z.ZodArray<z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n image: z.ZodNullable<z.ZodString>;\n lastSeenAt: z.ZodNullable<z.ZodString>;\n }, z.core.$strip>>;\n availableAIAgents: z.ZodArray<z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n image: z.ZodNullable<z.ZodString>;\n }, z.core.$strip>>;\n visitor: any;\n}, z.core.$strip>;\ntype PublicWebsiteResponse = z.infer<typeof publicWebsiteResponseSchema>;\ntype AvailableHumanAgent = z.infer<typeof availableHumanAgentSchema>;\ntype AvailableAIAgent = z.infer<typeof AvailableAIAgentSchema>;\n/**\n * List websites by organization request schema\n */\ndeclare const listByOrganizationRequestSchema: z.ZodObject<{\n organizationId: z.ZodULID;\n}, z.core.$strip>;\ntype ListByOrganizationRequest = z.infer<typeof listByOrganizationRequestSchema>;\n/**\n * Website list item schema - simplified website info for listing\n */\ndeclare const websiteListItemSchema: z.ZodObject<{\n id: z.ZodULID;\n name: z.ZodString;\n slug: z.ZodString;\n logoUrl: z.ZodNullable<z.ZodString>;\n domain: z.ZodString;\n organizationId: z.ZodULID;\n}, z.core.$strip>;\ntype WebsiteListItem = z.infer<typeof websiteListItemSchema>;\n//#endregion\nexport { AvailableAIAgent, AvailableAIAgentSchema, AvailableHumanAgent, CheckWebsiteDomainRequest, CreateWebsiteApiKeyRequest, CreateWebsiteRequest, CreateWebsiteResponse, ListByOrganizationRequest, PublicWebsiteResponse, RevokeWebsiteApiKeyRequest, UpdateWebsiteRequest, WebsiteApiKey, WebsiteDeveloperSettingsResponse, WebsiteListItem, WebsiteSummary, availableHumanAgentSchema, checkWebsiteDomainRequestSchema, createWebsiteApiKeyRequestSchema, createWebsiteRequestSchema, createWebsiteResponseSchema, listByOrganizationRequestSchema, publicWebsiteResponseSchema, revokeWebsiteApiKeyRequestSchema, updateWebsiteRequestSchema, websiteApiKeySchema, websiteDeveloperSettingsResponseSchema, websiteListItemSchema, websiteSummarySchema };\n//# sourceMappingURL=website.d.ts.map"],"mappings":";;;;cAmIc+B,2BAA2B/B,CAAAA,CAAEO;MACrCP,CAAAA,CAAEG;QACAH,CAAAA,CAAEE;SACDF,CAAAA,CAAEW,YAAYX,CAAAA,CAAEE;cACXF,CAAAA,CAAEW,YAAYX,CAAAA,CAAEE;GAC3BF,CAAAA,CAAEK,IAAAA,CAAKC;cACI0B,wBAAwBhC,CAAAA,CAAEO;MAClCP,CAAAA,CAAEG;QACAH,CAAAA,CAAEE;SACDF,CAAAA,CAAEW,YAAYX,CAAAA,CAAEE;GACtBF,CAAAA,CAAEK,IAAAA,CAAKC;;;;cAII2B,6BAA6BjC,CAAAA,CAAEO;MACvCP,CAAAA,CAAEG;QACAH,CAAAA,CAAEE;UACAF,CAAAA,CAAEE;eACGF,CAAAA,CAAEW,YAAYX,CAAAA,CAAEE;WACpBF,CAAAA,CAAEW,YAAYX,CAAAA,CAAEE;kBACTF,CAAAA,CAAEG;UACVH,CAAAA,CAAEE;gBACIF,CAAAA,CAAEW,YAAYX,CAAAA,CAAEE;wBACRF,CAAAA,CAAEgB,SAAShB,CAAAA,CAAEO;QAC7BP,CAAAA,CAAEG;UACAH,CAAAA,CAAEE;WACDF,CAAAA,CAAEW,YAAYX,CAAAA,CAAEE;gBACXF,CAAAA,CAAEW,YAAYX,CAAAA,CAAEE;KAC3BF,CAAAA,CAAEK,IAAAA,CAAKC;qBACSN,CAAAA,CAAEgB,SAAShB,CAAAA,CAAEO;QAC1BP,CAAAA,CAAEG;UACAH,CAAAA,CAAEE;WACDF,CAAAA,CAAEW,YAAYX,CAAAA,CAAEE;KACtBF,CAAAA,CAAEK,IAAAA,CAAKC;;GAETN,CAAAA,CAAEK,IAAAA,CAAKC;KACL4B,qBAAAA,GAAwBlC,CAAAA,CAAES,aAAawB;KACvCE,mBAAAA,GAAsBnC,CAAAA,CAAES,aAAasB;KACrCK,gBAAAA,GAAmBpC,CAAAA,CAAES,aAAauB"}
package/websocket.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ import { RealtimeEvent } from "./realtime-events.js";
1
2
  import { RealtimeContextValue } from "./provider3.js";
2
- import "./index5.js";
3
+ import "./index6.js";
3
4
  import React from "react";
4
5
 
5
6
  //#region ../react/src/support/context/websocket.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"websocket.d.ts","names":[],"sources":["../../react/src/support/context/websocket.tsx"],"sourcesContent":[],"mappings":";;;;;KAYK,qBAAA,GAAwB;KAExB,sBAAA;YACM,KAAA,CAAM;EAHZ,SAAA,CAAA,EAAA,MAAA;EAEA,SAAA,CAAA,EAAA,MAAA;EAsJQ,SAAA,CAAA,EAAA,MAAA;EA8BA,KAAA,CAAA,EAAA,MAAA;;;;oBA3KM;;;;;;cA6IN,mBAAmB,KAAA,CAAM,GAAG;;;;cA8B5B,oBAAmB"}
1
+ {"version":3,"file":"websocket.d.ts","names":[],"sources":["../../react/src/support/context/websocket.tsx"],"sourcesContent":[],"mappings":";;;;;;KAYK,qBAAA,GAAwB;KAExB,sBAAA;YACM,KAAA,CAAM;;EAHZ,SAAA,CAAA,EAAA,MAAA;EAEA,SAAA,CAAA,EAAA,MAAA;EAsJQ,KAAA,CAAA,EAAA,MAAA;EA8BA,WAAA,CAAA,EAAA,OAMZ;;;oBAjLkB;;;;;;cA6IN,mBAAmB,KAAA,CAAM,GAAG;;;;cA8B5B,oBAAmB"}
package/index7.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index7.d.ts","names":[],"sources":["../../react/src/support/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;KAYY,qCAAqC;;;EAArC,KAAA,CAAA,EAAA,OAAY,GAAA,MAAA;EAAyB,WAAA,CAAA,EAAA,OAAA,GAAA,UAAA;EAM9B,YAAA,CAAA,EAAA,MAAA,EAAA;EAET,eAAA,CAAA,EAFS,cAET,EAAA;EAC6B,WAAA,CAAA,EAAA,OAAA;EAA5B,MAAA,CAAA,EADD,MACC;EAA2B,OAAA,CAAA,EAA3B,2BAA2B,CAAC,MAAD,CAAA;AAStC,CAAA;;;;;;AAKC,iBALe,OAKf,CAAA,eAAA,MAAA,GAL+C,aAK/C,CAAA,CAAA;EAAA,SAAA;EAAA,QAAA;EAAA,KAAA;EAAA,WAAA;EAAA,YAAA;EAAA,eAAA;EAAA,WAAA;EAAA,MAAA;EAAA;AAAA,CAAA,EAKE,YALF,CAKe,MALf,CAAA,CAAA,EAKyB,YALzB,GAAA,IAAA"}