@cossistant/types 0.0.7 → 0.0.8

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 (137) hide show
  1. package/api/common.d.ts +47 -0
  2. package/api/common.d.ts.map +1 -0
  3. package/api/contact.d.ts +140 -0
  4. package/api/contact.d.ts.map +1 -0
  5. package/api/conversation.d.ts +95 -0
  6. package/api/conversation.d.ts.map +1 -0
  7. package/api/organization.d.ts +17 -0
  8. package/{dist/api → api}/organization.d.ts.map +1 -1
  9. package/api/timeline-item.d.ts +274 -0
  10. package/api/timeline-item.d.ts.map +1 -0
  11. package/api/upload.d.ts +103 -0
  12. package/api/upload.d.ts.map +1 -0
  13. package/api/user.d.ts +29 -0
  14. package/api/user.d.ts.map +1 -0
  15. package/api/visitor.d.ts +127 -0
  16. package/api/visitor.d.ts.map +1 -0
  17. package/api/website.d.ts +194 -0
  18. package/api/website.d.ts.map +1 -0
  19. package/api.d.ts +71 -0
  20. package/api.d.ts.map +1 -0
  21. package/checks.d.ts +189 -0
  22. package/checks.d.ts.map +1 -0
  23. package/coerce.d.ts +9 -0
  24. package/coerce.d.ts.map +1 -0
  25. package/core.d.ts +35 -0
  26. package/core.d.ts.map +1 -0
  27. package/errors.d.ts +121 -0
  28. package/errors.d.ts.map +1 -0
  29. package/errors2.d.ts +24 -0
  30. package/errors2.d.ts.map +1 -0
  31. package/index2.d.ts +4 -0
  32. package/index3.d.ts +1 -0
  33. package/metadata.d.ts +1 -0
  34. package/openapi-generator.d.ts +1 -0
  35. package/openapi-generator2.d.ts +1 -0
  36. package/openapi-generator3.d.ts +1 -0
  37. package/openapi30.d.ts +125 -0
  38. package/openapi30.d.ts.map +1 -0
  39. package/openapi31.d.ts +131 -0
  40. package/openapi31.d.ts.map +1 -0
  41. package/package.json +12 -16
  42. package/parse.d.ts +17 -0
  43. package/parse.d.ts.map +1 -0
  44. package/realtime-events.d.ts +138 -0
  45. package/realtime-events.d.ts.map +1 -0
  46. package/registries.d.ts +32 -0
  47. package/registries.d.ts.map +1 -0
  48. package/schemas.d.ts +46 -0
  49. package/schemas.d.ts.map +1 -0
  50. package/schemas2.d.ts +685 -0
  51. package/schemas2.d.ts.map +1 -0
  52. package/schemas3.d.ts +325 -0
  53. package/schemas3.d.ts.map +1 -0
  54. package/specification-extension.d.ts +9 -0
  55. package/specification-extension.d.ts.map +1 -0
  56. package/standard-schema.d.ts +59 -0
  57. package/standard-schema.d.ts.map +1 -0
  58. package/trpc/contact.d.ts +70 -0
  59. package/trpc/contact.d.ts.map +1 -0
  60. package/trpc/conversation.d.ts +141 -0
  61. package/trpc/conversation.d.ts.map +1 -0
  62. package/trpc/visitor.d.ts +55 -0
  63. package/trpc/visitor.d.ts.map +1 -0
  64. package/util.d.ts +41 -0
  65. package/util.d.ts.map +1 -0
  66. package/versions.d.ts +9 -0
  67. package/versions.d.ts.map +1 -0
  68. package/zod-extensions.d.ts +39 -0
  69. package/zod-extensions.d.ts.map +1 -0
  70. package/dist/api/common.d.ts +0 -44
  71. package/dist/api/common.d.ts.map +0 -1
  72. package/dist/api/contact.d.ts +0 -138
  73. package/dist/api/contact.d.ts.map +0 -1
  74. package/dist/api/conversation.d.ts +0 -91
  75. package/dist/api/conversation.d.ts.map +0 -1
  76. package/dist/api/organization.d.ts +0 -15
  77. package/dist/api/timeline-item.d.ts +0 -270
  78. package/dist/api/timeline-item.d.ts.map +0 -1
  79. package/dist/api/upload.d.ts +0 -100
  80. package/dist/api/upload.d.ts.map +0 -1
  81. package/dist/api/user.d.ts +0 -27
  82. package/dist/api/user.d.ts.map +0 -1
  83. package/dist/api/visitor.d.ts +0 -125
  84. package/dist/api/visitor.d.ts.map +0 -1
  85. package/dist/api/website.d.ts +0 -192
  86. package/dist/api/website.d.ts.map +0 -1
  87. package/dist/realtime-events.d.ts +0 -136
  88. package/dist/realtime-events.d.ts.map +0 -1
  89. package/dist/schemas.d.ts +0 -44
  90. package/dist/schemas.d.ts.map +0 -1
  91. package/dist/trpc/contact.d.ts +0 -68
  92. package/dist/trpc/contact.d.ts.map +0 -1
  93. package/dist/trpc/conversation.d.ts +0 -139
  94. package/dist/trpc/conversation.d.ts.map +0 -1
  95. package/dist/trpc/visitor.d.ts +0 -53
  96. package/dist/trpc/visitor.d.ts.map +0 -1
  97. /package/{dist/api → api}/common.js +0 -0
  98. /package/{dist/api → api}/common.js.map +0 -0
  99. /package/{dist/api → api}/contact.js +0 -0
  100. /package/{dist/api → api}/contact.js.map +0 -0
  101. /package/{dist/api → api}/conversation.js +0 -0
  102. /package/{dist/api → api}/conversation.js.map +0 -0
  103. /package/{dist/api → api}/index.d.ts +0 -0
  104. /package/{dist/api → api}/index.js +0 -0
  105. /package/{dist/api → api}/organization.js +0 -0
  106. /package/{dist/api → api}/organization.js.map +0 -0
  107. /package/{dist/api → api}/timeline-item.js +0 -0
  108. /package/{dist/api → api}/timeline-item.js.map +0 -0
  109. /package/{dist/api → api}/upload.js +0 -0
  110. /package/{dist/api → api}/upload.js.map +0 -0
  111. /package/{dist/api → api}/user.js +0 -0
  112. /package/{dist/api → api}/user.js.map +0 -0
  113. /package/{dist/api → api}/visitor.js +0 -0
  114. /package/{dist/api → api}/visitor.js.map +0 -0
  115. /package/{dist/api → api}/website.js +0 -0
  116. /package/{dist/api → api}/website.js.map +0 -0
  117. /package/{dist/enums.d.ts → enums.d.ts} +0 -0
  118. /package/{dist/enums.d.ts.map → enums.d.ts.map} +0 -0
  119. /package/{dist/enums.js → enums.js} +0 -0
  120. /package/{dist/enums.js.map → enums.js.map} +0 -0
  121. /package/{dist/index.d.ts → index.d.ts} +0 -0
  122. /package/{dist/index.d.ts.map → index.d.ts.map} +0 -0
  123. /package/{dist/index.js → index.js} +0 -0
  124. /package/{dist/presence.d.ts → presence.d.ts} +0 -0
  125. /package/{dist/presence.d.ts.map → presence.d.ts.map} +0 -0
  126. /package/{dist/presence.js → presence.js} +0 -0
  127. /package/{dist/presence.js.map → presence.js.map} +0 -0
  128. /package/{dist/realtime-events.js → realtime-events.js} +0 -0
  129. /package/{dist/realtime-events.js.map → realtime-events.js.map} +0 -0
  130. /package/{dist/schemas.js → schemas.js} +0 -0
  131. /package/{dist/schemas.js.map → schemas.js.map} +0 -0
  132. /package/{dist/trpc → trpc}/contact.js +0 -0
  133. /package/{dist/trpc → trpc}/contact.js.map +0 -0
  134. /package/{dist/trpc → trpc}/conversation.js +0 -0
  135. /package/{dist/trpc → trpc}/conversation.js.map +0 -0
  136. /package/{dist/trpc → trpc}/visitor.js +0 -0
  137. /package/{dist/trpc → trpc}/visitor.js.map +0 -0
@@ -1,192 +0,0 @@
1
- import { z } from "@hono/zod-openapi";
2
-
3
- //#region src/api/website.d.ts
4
-
5
- /**
6
- * Website creation request schema
7
- */
8
- declare const createWebsiteRequestSchema: z.ZodObject<{
9
- name: z.ZodString;
10
- domain: z.ZodString;
11
- organizationId: z.ZodULID;
12
- installationTarget: z.ZodEnum<any>;
13
- }, z.core.$strip>;
14
- type CreateWebsiteRequest = z.infer<typeof createWebsiteRequestSchema>;
15
- declare const websiteApiKeySchema: z.ZodObject<{
16
- id: z.ZodULID;
17
- name: z.ZodString;
18
- key: z.ZodNullable<z.ZodString>;
19
- keyType: z.ZodEnum<{
20
- [x: string]: any;
21
- }>;
22
- isTest: z.ZodBoolean;
23
- isActive: z.ZodBoolean;
24
- createdAt: z.ZodString;
25
- lastUsedAt: z.ZodNullable<z.ZodString>;
26
- revokedAt: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strip>;
28
- type WebsiteApiKey = z.infer<typeof websiteApiKeySchema>;
29
- declare const websiteSummarySchema: z.ZodObject<{
30
- id: z.ZodULID;
31
- slug: z.ZodString;
32
- name: z.ZodString;
33
- domain: z.ZodString;
34
- contactEmail: z.ZodNullable<z.ZodString>;
35
- logoUrl: z.ZodNullable<z.ZodString>;
36
- organizationId: z.ZodULID;
37
- whitelistedDomains: z.ZodArray<z.ZodURL>;
38
- }, z.core.$strip>;
39
- type WebsiteSummary = z.infer<typeof websiteSummarySchema>;
40
- declare const websiteDeveloperSettingsResponseSchema: z.ZodObject<{
41
- website: z.ZodObject<{
42
- id: z.ZodULID;
43
- slug: z.ZodString;
44
- name: z.ZodString;
45
- domain: z.ZodString;
46
- contactEmail: z.ZodNullable<z.ZodString>;
47
- logoUrl: z.ZodNullable<z.ZodString>;
48
- organizationId: z.ZodULID;
49
- whitelistedDomains: z.ZodArray<z.ZodURL>;
50
- }, z.core.$strip>;
51
- apiKeys: z.ZodArray<z.ZodObject<{
52
- id: z.ZodULID;
53
- name: z.ZodString;
54
- key: z.ZodNullable<z.ZodString>;
55
- keyType: z.ZodEnum<{
56
- [x: string]: any;
57
- }>;
58
- isTest: z.ZodBoolean;
59
- isActive: z.ZodBoolean;
60
- createdAt: z.ZodString;
61
- lastUsedAt: z.ZodNullable<z.ZodString>;
62
- revokedAt: z.ZodNullable<z.ZodString>;
63
- }, z.core.$strip>>;
64
- }, z.core.$strip>;
65
- type WebsiteDeveloperSettingsResponse = z.infer<typeof websiteDeveloperSettingsResponseSchema>;
66
- declare const createWebsiteApiKeyRequestSchema: z.ZodObject<{
67
- organizationId: z.ZodULID;
68
- websiteId: z.ZodULID;
69
- name: z.ZodString;
70
- keyType: z.ZodEnum<{
71
- [x: string]: any;
72
- }>;
73
- isTest: z.ZodBoolean;
74
- }, z.core.$strip>;
75
- type CreateWebsiteApiKeyRequest = z.infer<typeof createWebsiteApiKeyRequestSchema>;
76
- declare const revokeWebsiteApiKeyRequestSchema: z.ZodObject<{
77
- organizationId: z.ZodULID;
78
- websiteId: z.ZodULID;
79
- apiKeyId: z.ZodULID;
80
- }, z.core.$strip>;
81
- type RevokeWebsiteApiKeyRequest = z.infer<typeof revokeWebsiteApiKeyRequestSchema>;
82
- declare const updateWebsiteRequestSchema: z.ZodObject<{
83
- organizationId: z.ZodULID;
84
- websiteId: z.ZodULID;
85
- data: z.ZodObject<{
86
- name: z.ZodOptional<z.ZodString>;
87
- slug: z.ZodOptional<z.ZodString>;
88
- domain: z.ZodOptional<z.ZodString>;
89
- contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
- logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
- whitelistedDomains: z.ZodOptional<z.ZodArray<z.ZodURL>>;
93
- installationTarget: z.ZodOptional<z.ZodEnum<any>>;
94
- status: z.ZodOptional<z.ZodEnum<{
95
- [x: string]: any;
96
- }>>;
97
- teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
- }, z.core.$strip>;
99
- }, z.core.$strip>;
100
- type UpdateWebsiteRequest = z.infer<typeof updateWebsiteRequestSchema>;
101
- /**
102
- * Website creation response schema
103
- */
104
- declare const createWebsiteResponseSchema: z.ZodObject<{
105
- id: z.ZodULID;
106
- name: z.ZodString;
107
- slug: z.ZodString;
108
- whitelistedDomains: z.ZodArray<z.ZodURL>;
109
- organizationId: z.ZodULID;
110
- apiKeys: z.ZodArray<z.ZodObject<{
111
- id: z.ZodULID;
112
- name: z.ZodString;
113
- key: z.ZodNullable<z.ZodString>;
114
- keyType: z.ZodEnum<{
115
- [x: string]: any;
116
- }>;
117
- isTest: z.ZodBoolean;
118
- isActive: z.ZodBoolean;
119
- createdAt: z.ZodString;
120
- lastUsedAt: z.ZodNullable<z.ZodString>;
121
- revokedAt: z.ZodNullable<z.ZodString>;
122
- }, z.core.$strip>>;
123
- }, z.core.$strip>;
124
- type CreateWebsiteResponse = z.infer<typeof createWebsiteResponseSchema>;
125
- /**
126
- * Website domain validation request schema
127
- */
128
- declare const checkWebsiteDomainRequestSchema: z.ZodObject<{
129
- domain: z.ZodString;
130
- }, z.core.$strip>;
131
- type CheckWebsiteDomainRequest = z.infer<typeof checkWebsiteDomainRequestSchema>;
132
- declare const availableHumanAgentSchema: z.ZodObject<{
133
- id: z.ZodULID;
134
- name: z.ZodString;
135
- image: z.ZodNullable<z.ZodString>;
136
- lastSeenAt: z.ZodNullable<z.ZodString>;
137
- }, z.core.$strip>;
138
- declare const AvailableAIAgentSchema: z.ZodObject<{
139
- id: z.ZodULID;
140
- name: z.ZodString;
141
- image: z.ZodNullable<z.ZodString>;
142
- }, z.core.$strip>;
143
- /**
144
- * Website information response schema
145
- */
146
- declare const publicWebsiteResponseSchema: z.ZodObject<{
147
- id: z.ZodULID;
148
- name: z.ZodString;
149
- domain: z.ZodString;
150
- description: z.ZodNullable<z.ZodString>;
151
- logoUrl: z.ZodNullable<z.ZodString>;
152
- organizationId: z.ZodULID;
153
- status: z.ZodString;
154
- lastOnlineAt: z.ZodNullable<z.ZodString>;
155
- availableHumanAgents: z.ZodArray<z.ZodObject<{
156
- id: z.ZodULID;
157
- name: z.ZodString;
158
- image: z.ZodNullable<z.ZodString>;
159
- lastSeenAt: z.ZodNullable<z.ZodString>;
160
- }, z.core.$strip>>;
161
- availableAIAgents: z.ZodArray<z.ZodObject<{
162
- id: z.ZodULID;
163
- name: z.ZodString;
164
- image: z.ZodNullable<z.ZodString>;
165
- }, z.core.$strip>>;
166
- visitor: any;
167
- }, z.core.$strip>;
168
- type PublicWebsiteResponse = z.infer<typeof publicWebsiteResponseSchema>;
169
- type AvailableHumanAgent = z.infer<typeof availableHumanAgentSchema>;
170
- type AvailableAIAgent = z.infer<typeof AvailableAIAgentSchema>;
171
- /**
172
- * List websites by organization request schema
173
- */
174
- declare const listByOrganizationRequestSchema: z.ZodObject<{
175
- organizationId: z.ZodULID;
176
- }, z.core.$strip>;
177
- type ListByOrganizationRequest = z.infer<typeof listByOrganizationRequestSchema>;
178
- /**
179
- * Website list item schema - simplified website info for listing
180
- */
181
- declare const websiteListItemSchema: z.ZodObject<{
182
- id: z.ZodULID;
183
- name: z.ZodString;
184
- slug: z.ZodString;
185
- logoUrl: z.ZodNullable<z.ZodString>;
186
- domain: z.ZodString;
187
- organizationId: z.ZodULID;
188
- }, z.core.$strip>;
189
- type WebsiteListItem = z.infer<typeof websiteListItemSchema>;
190
- //#endregion
191
- export { 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 };
192
- //# sourceMappingURL=website.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"website.d.ts","names":[],"sources":["../../src/api/website.ts"],"sourcesContent":[],"mappings":";;;;;;AAOA;cAAa,4BAA0B,CAAA,CAAA;;;;;CAAA,eAAA,CAAA;AAAA,KA8B3B,oBAAA,GAAuB,CAAA,CAAE,KA9BE,CAAA,OA8BW,0BA9BX,CAAA;AA8B3B,cASC,mBATqC,EASlB,CAAA,CAAA,SATkB,CAAA;EASrC,EAAA,WAAA;;;;;;;;;;;;KA6CD,aAAA,GAAgB,CAAA,CAAE,aAAa;cAE9B,sBAAoB,CAAA,CAAA;EA/CD,EAAA,WAAA;EAAA,IAAA,aAAA;EA6CpB,IAAA,aAAa;EAEZ,MAAA,aAAA;;;;;;KAuCD,cAAA,GAAiB,CAAA,CAAE,aAAa;cAE/B,wCAAsC,CAAA,CAAA;;;;;;IAzClB,YAAA,eAAA,YAAA,CAAA;IAAA,OAAA,eAAA,YAAA,CAAA;IAuCrB,cAAc,WAAkB;IAE/B,kBAAA,YAAA,SAQV,CAAA;;;;;;;;;;;;;;;;KAES,gCAAA,GAAmC,CAAA,CAAE,aACzC;cAGK,kCAAgC,CAAA,CAAA;;;;;;;;;KA2BjC,0BAAA,GAA6B,CAAA,CAAE,aACnC;cAGK,kCAAgC,CAAA,CAAA;;;EA7CM,QAAA,WAAA;CAAA,eAAA,CAAA;AAUvC,KAsDA,0BAAA,GAA6B,CAAA,CAAE,KAtDC,CAAA,OAuDpC,gCAtDA,CAAA;AAGK,cAuEA,0BA9CV,EA8CoC,CAAA,CAAA,SA9CpC,CAAA;;;;;;;IAzB0C,YAAA,eAAA,cAAA,YAAA,CAAA,CAAA;IAAA,WAAA,eAAA,cAAA,YAAA,CAAA,CAAA;IA2BjC,OAAA,eAAA,cAA0B,YAC9B,CAAA,CAAA;IAGK,kBAAA,eAiBV,WAAA,SAAA,CAAA,CAAA;;;;;IAjB0C,MAAA,eAAA,cAAA,YAAA,CAAA,CAAA;EAAA,CAAA,eAAA,CAAA;AAmB7C,CAAA,eAAY,CAAA;AAqBC,KAkBD,oBAAA,GAAuB,CAAA,CAAE,KAFlC,CAAA,OAE+C,0BAF/C,CAAA;;;;cAOU,6BAA2B,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;KAsC5B,qBAAA,GAAwB,CAAA,CAAE,aAAa;;;;cAKtC,iCAA+B,CAAA,CAAA;;;AAlEL,KA4E3B,yBAAA,GAA4B,CAAA,CAAE,KA5EH,CAAA,OA6E/B,+BA7E+B,CAAA;AAAA,cAgF1B,yBAhF0B,EAgFD,CAAA,CAAA,SAhFC,CAAA;EAkB3B,EAAA,WAAA;EAKC,IAAA,aAAA;;;;cA6EA,wBAAsB,CAAA,CAAA;;;;;;;;cAkBtB,6BAA2B,CAAA,CAAA;;;;;;;;;;;IA/FA,IAAA,aAAA;IAAA,KAAA,eAAA,YAAA,CAAA;IAsC5B,UAAA,eAAqB,YAAkB,CAAA;EAKtC,CAAA,eAAA,CAAA,CAAA;;;IAA+B,IAAA,aAAA;IAAA,KAAA,eAAA,YAAA,CAAA;EAUhC,CAAA,eAAA,CAAA,CAAA;EAIC,OAAA,EAAA,GAAA;;KA+ED,qBAAA,GAAwB,CAAA,CAAE,aAAa;KACvC,mBAAA,GAAsB,CAAA,CAAE,aAAa;KACrC,gBAAA,GAAmB,CAAA,CAAE,aAAa;;;;AAjFR,cAsFzB,+BAtFyB,EAsFM,CAAA,CAAA,SAtFN,CAAA;EAAA,cAAA,WAAA;AAoBtC,CAAA,eAAa,CAAA;KAyED,yBAAA,GAA4B,CAAA,CAAE,aAClC;;;;cAMK,uBAAqB,CAAA,CAAA;EAhFC,EAAA,WAAA;EAAA,IAAA,aAAA;EAkBtB,IAAA,aAAA;;;;;KAyFD,eAAA,GAAkB,CAAA,CAAE,aAAa"}
@@ -1,136 +0,0 @@
1
- import { z } from "zod";
2
-
3
- //#region src/realtime-events.d.ts
4
- declare const baseRealtimeEvent: z.ZodObject<{
5
- websiteId: z.ZodString;
6
- organizationId: z.ZodString;
7
- visitorId: z.ZodNullable<z.ZodString>;
8
- userId: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>;
10
- /**
11
- * Central event system for real-time communication
12
- * All WebSocket and Redis Pub/Sub events are defined here
13
- */
14
- declare const realtimeSchema: {
15
- readonly userConnected: z.ZodObject<{
16
- websiteId: z.ZodString;
17
- organizationId: z.ZodString;
18
- visitorId: z.ZodNullable<z.ZodString>;
19
- userId: z.ZodNullable<z.ZodString>;
20
- connectionId: z.ZodString;
21
- }, z.core.$strip>;
22
- readonly userDisconnected: z.ZodObject<{
23
- websiteId: z.ZodString;
24
- organizationId: z.ZodString;
25
- visitorId: z.ZodNullable<z.ZodString>;
26
- userId: z.ZodNullable<z.ZodString>;
27
- connectionId: z.ZodString;
28
- }, z.core.$strip>;
29
- readonly visitorConnected: z.ZodObject<{
30
- websiteId: z.ZodString;
31
- organizationId: z.ZodString;
32
- userId: z.ZodNullable<z.ZodString>;
33
- visitorId: z.ZodString;
34
- connectionId: z.ZodString;
35
- }, z.core.$strip>;
36
- readonly visitorDisconnected: z.ZodObject<{
37
- websiteId: z.ZodString;
38
- organizationId: z.ZodString;
39
- userId: z.ZodNullable<z.ZodString>;
40
- visitorId: z.ZodString;
41
- connectionId: z.ZodString;
42
- }, z.core.$strip>;
43
- readonly userPresenceUpdate: z.ZodObject<{
44
- websiteId: z.ZodString;
45
- organizationId: z.ZodString;
46
- visitorId: z.ZodNullable<z.ZodString>;
47
- userId: z.ZodString;
48
- status: z.ZodEnum<{
49
- online: "online";
50
- away: "away";
51
- offline: "offline";
52
- }>;
53
- lastSeen: z.ZodString;
54
- }, z.core.$strip>;
55
- readonly conversationSeen: z.ZodObject<{
56
- websiteId: z.ZodString;
57
- organizationId: z.ZodString;
58
- visitorId: z.ZodNullable<z.ZodString>;
59
- userId: z.ZodNullable<z.ZodString>;
60
- conversationId: z.ZodString;
61
- aiAgentId: z.ZodNullable<z.ZodString>;
62
- lastSeenAt: z.ZodString;
63
- }, z.core.$strip>;
64
- readonly conversationTyping: z.ZodObject<{
65
- websiteId: z.ZodString;
66
- organizationId: z.ZodString;
67
- visitorId: z.ZodNullable<z.ZodString>;
68
- userId: z.ZodNullable<z.ZodString>;
69
- conversationId: z.ZodString;
70
- aiAgentId: z.ZodNullable<z.ZodString>;
71
- isTyping: z.ZodBoolean;
72
- visitorPreview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- }, z.core.$strip>;
74
- readonly timelineItemCreated: z.ZodObject<{
75
- websiteId: z.ZodString;
76
- organizationId: z.ZodString;
77
- visitorId: z.ZodNullable<z.ZodString>;
78
- userId: z.ZodNullable<z.ZodString>;
79
- conversationId: z.ZodString;
80
- item: z.ZodObject<{
81
- id: z.ZodString;
82
- conversationId: z.ZodString;
83
- organizationId: z.ZodString;
84
- visibility: z.ZodEnum<{
85
- [x: string]: any;
86
- }>;
87
- type: z.ZodEnum<{
88
- [x: string]: any;
89
- }>;
90
- text: z.ZodNullable<z.ZodString>;
91
- parts: z.ZodArray<z.ZodUnknown>;
92
- userId: z.ZodNullable<z.ZodString>;
93
- visitorId: z.ZodNullable<z.ZodString>;
94
- aiAgentId: z.ZodNullable<z.ZodString>;
95
- createdAt: z.ZodString;
96
- deletedAt: z.ZodNullable<z.ZodString>;
97
- tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
- }, z.core.$strip>;
99
- }, z.core.$strip>;
100
- readonly conversationCreated: z.ZodObject<{
101
- websiteId: z.ZodString;
102
- organizationId: z.ZodString;
103
- visitorId: z.ZodNullable<z.ZodString>;
104
- userId: z.ZodNullable<z.ZodString>;
105
- conversationId: z.ZodString;
106
- conversation: any;
107
- header: any;
108
- }, z.core.$strip>;
109
- readonly visitorIdentified: z.ZodObject<{
110
- websiteId: z.ZodString;
111
- organizationId: z.ZodString;
112
- userId: z.ZodNullable<z.ZodString>;
113
- visitorId: z.ZodString;
114
- visitor: any;
115
- }, z.core.$strip>;
116
- };
117
- type RealtimeEventType = keyof typeof realtimeSchema;
118
- type RealtimeEventPayload<T extends RealtimeEventType> = z.infer<(typeof realtimeSchema)[T]>;
119
- type RealtimeEvent<T extends RealtimeEventType> = {
120
- type: T;
121
- payload: RealtimeEventPayload<T>;
122
- };
123
- type AnyRealtimeEvent = { [K in RealtimeEventType]: RealtimeEvent<K> }[RealtimeEventType];
124
- type RealtimeEventData<T extends RealtimeEventType> = RealtimeEventPayload<T>;
125
- /**
126
- * Validates an event against its schema
127
- */
128
- declare function validateRealtimeEvent<T extends RealtimeEventType>(type: T, data: unknown): RealtimeEventPayload<T>;
129
- /**
130
- * Type guard to check if a string is a valid event type
131
- */
132
- declare function isValidEventType(type: unknown): type is RealtimeEventType;
133
- declare function getEventPayload<T extends RealtimeEventType>(event: RealtimeEvent<T>): RealtimeEventPayload<T>;
134
- //#endregion
135
- export { AnyRealtimeEvent, RealtimeEvent, RealtimeEventData, RealtimeEventPayload, RealtimeEventType, baseRealtimeEvent, getEventPayload, isValidEventType, realtimeSchema, validateRealtimeEvent };
136
- //# sourceMappingURL=realtime-events.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"realtime-events.d.ts","names":[],"sources":["../src/realtime-events.ts"],"sourcesContent":[],"mappings":";;;cAMa,mBAAiB,CAAA,CAAA;;EAAjB,cAAA,aAKX;;;;;;;;AAL4B,cAWjB,cAXiB,EAAA;EAAA,SAAA,aAAA,aAAA,CAAA;IAWjB,SAAA,aAiEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEE,iBAAA,gBAAiC;KAEjC,+BAA+B,qBAAqB,CAAA,CAAE,cACzD,gBAAgB;KAGb,wBAAwB;QAC7B;WACG,qBAAqB;;KAGnB,gBAAA,WACL,oBAAoB,cAAc,KACvC;KAEU,4BAA4B,qBACvC,qBAAqB;;;;iBAKN,gCAAgC,yBACzC,mBAEJ,qBAAqB;;;;iBAQR,gBAAA,yBAAyC;iBAIzC,0BAA0B,0BAClC,cAAc,KACnB,qBAAqB"}
package/dist/schemas.d.ts DELETED
@@ -1,44 +0,0 @@
1
- import { z } from "zod";
2
-
3
- //#region src/schemas.d.ts
4
- declare const viewSchema: z.ZodObject<{
5
- id: z.ZodString;
6
- name: z.ZodString;
7
- description: z.ZodNullable<z.ZodString>;
8
- prompt: z.ZodNullable<z.ZodString>;
9
- organizationId: z.ZodString;
10
- websiteId: z.ZodString;
11
- createdAt: z.ZodString;
12
- updatedAt: z.ZodString;
13
- deletedAt: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>;
15
- type InboxView = z.infer<typeof viewSchema>;
16
- declare const conversationSchema: z.ZodObject<{
17
- id: z.ZodString;
18
- title: z.ZodOptional<z.ZodString>;
19
- createdAt: z.ZodString;
20
- updatedAt: z.ZodString;
21
- visitorId: z.ZodString;
22
- websiteId: z.ZodString;
23
- status: z.ZodDefault<z.ZodEnum<{
24
- [x: string]: any;
25
- }>>;
26
- deletedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
27
- lastTimelineItem: any;
28
- }, z.core.$strip>;
29
- type Conversation = z.infer<typeof conversationSchema>;
30
- declare const conversationSeenSchema: z.ZodObject<{
31
- id: z.ZodString;
32
- conversationId: z.ZodString;
33
- userId: z.ZodNullable<z.ZodString>;
34
- visitorId: z.ZodNullable<z.ZodString>;
35
- aiAgentId: z.ZodNullable<z.ZodString>;
36
- lastSeenAt: z.ZodString;
37
- createdAt: z.ZodString;
38
- updatedAt: z.ZodString;
39
- deletedAt: z.ZodNullable<z.ZodString>;
40
- }, z.core.$strip>;
41
- type ConversationSeen = z.infer<typeof conversationSeenSchema>;
42
- //#endregion
43
- export { Conversation, ConversationSeen, InboxView, conversationSchema, conversationSeenSchema, viewSchema };
44
- //# sourceMappingURL=schemas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schemas.d.ts","names":[],"sources":["../src/schemas.ts"],"sourcesContent":[],"mappings":";;;cAIa,YAAU,CAAA,CAAA;;EAAV,IAAA,aAUX;;;;;;;;;KAEU,SAAA,GAAY,CAAA,CAAE,aAAa;cAE1B,oBAAkB,CAAA,CAAA;;;;EAdR,SAAA,aAAA;EAAA,SAAA,aAAA;EAYX,SAAA,aAAS;EAER,MAAA,cAAA,UAgBX,CAAA;;;;;;KAEU,YAAA,GAAe,CAAA,CAAE,aAAa;cAE7B,wBAAsB,CAAA,CAAA;;;;;;;EApBJ,SAAA,aAAA;EAAA,SAAA,aAAA;EAkBnB,SAAA,eAAY,YAAkB,CAAA;AAE1C,CAAA,eAAa,CAAA;KAYD,gBAAA,GAAmB,CAAA,CAAE,aAAa"}
@@ -1,68 +0,0 @@
1
- import { z } from "zod";
2
-
3
- //#region src/trpc/contact.d.ts
4
- declare const contactListItemSchema: z.ZodObject<{
5
- id: z.ZodULID;
6
- name: z.ZodNullable<z.ZodString>;
7
- email: z.ZodNullable<z.ZodString>;
8
- image: z.ZodNullable<z.ZodString>;
9
- createdAt: z.ZodString;
10
- updatedAt: z.ZodString;
11
- visitorCount: z.ZodNumber;
12
- }, z.core.$strip>;
13
- type ContactListItem = z.infer<typeof contactListItemSchema>;
14
- declare const contactListVisitorStatusSchema: z.ZodEnum<{
15
- all: "all";
16
- withVisitors: "withVisitors";
17
- withoutVisitors: "withoutVisitors";
18
- }>;
19
- type ContactListVisitorStatus = z.infer<typeof contactListVisitorStatusSchema>;
20
- declare const listContactsResponseSchema: z.ZodObject<{
21
- items: z.ZodArray<z.ZodObject<{
22
- id: z.ZodULID;
23
- name: z.ZodNullable<z.ZodString>;
24
- email: z.ZodNullable<z.ZodString>;
25
- image: z.ZodNullable<z.ZodString>;
26
- createdAt: z.ZodString;
27
- updatedAt: z.ZodString;
28
- visitorCount: z.ZodNumber;
29
- }, z.core.$strip>>;
30
- page: z.ZodNumber;
31
- pageSize: z.ZodNumber;
32
- totalCount: z.ZodNumber;
33
- }, z.core.$strip>;
34
- type ListContactsResponse = z.infer<typeof listContactsResponseSchema>;
35
- declare const contactVisitorSummarySchema: z.ZodObject<{
36
- id: z.ZodULID;
37
- lastSeenAt: z.ZodNullable<z.ZodString>;
38
- createdAt: z.ZodString;
39
- browser: z.ZodNullable<z.ZodString>;
40
- device: z.ZodNullable<z.ZodString>;
41
- country: z.ZodNullable<z.ZodString>;
42
- city: z.ZodNullable<z.ZodString>;
43
- language: z.ZodNullable<z.ZodString>;
44
- blockedAt: z.ZodNullable<z.ZodString>;
45
- blockedByUserId: z.ZodNullable<z.ZodString>;
46
- isBlocked: z.ZodBoolean;
47
- }, z.core.$strip>;
48
- type ContactVisitorSummary = z.infer<typeof contactVisitorSummarySchema>;
49
- declare const contactDetailResponseSchema: z.ZodObject<{
50
- contact: any;
51
- visitors: z.ZodArray<z.ZodObject<{
52
- id: z.ZodULID;
53
- lastSeenAt: z.ZodNullable<z.ZodString>;
54
- createdAt: z.ZodString;
55
- browser: z.ZodNullable<z.ZodString>;
56
- device: z.ZodNullable<z.ZodString>;
57
- country: z.ZodNullable<z.ZodString>;
58
- city: z.ZodNullable<z.ZodString>;
59
- language: z.ZodNullable<z.ZodString>;
60
- blockedAt: z.ZodNullable<z.ZodString>;
61
- blockedByUserId: z.ZodNullable<z.ZodString>;
62
- isBlocked: z.ZodBoolean;
63
- }, z.core.$strip>>;
64
- }, z.core.$strip>;
65
- type ContactDetailResponse = z.infer<typeof contactDetailResponseSchema>;
66
- //#endregion
67
- export { ContactDetailResponse, ContactListItem, ContactListVisitorStatus, ContactVisitorSummary, ListContactsResponse, contactDetailResponseSchema, contactListItemSchema, contactListVisitorStatusSchema, contactVisitorSummarySchema, listContactsResponseSchema };
68
- //# sourceMappingURL=contact.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contact.d.ts","names":[],"sources":["../../src/trpc/contact.ts"],"sourcesContent":[],"mappings":";;;cAGa,uBAAqB,CAAA,CAAA;;EAArB,IAAA,eAAA,YAQX,CAAA;;;;;;;KAEU,eAAA,GAAkB,CAAA,CAAE,aAAa;cAEhC,gCAA8B,CAAA,CAAA;;;;CAZT,CAAA;AAAA,KAkBtB,wBAAA,GAA2B,CAAA,CAAE,KAlBP,CAAA,OAmB1B,8BAnB0B,CAAA;AAUtB,cAYC,0BAZgC,EAYN,CAAA,CAAA,SAZP,CAAA;EAEnB,KAAA,YAAA,YAAA,CAAA;IAMD,EAAA,WAAA;IAIC,IAAA,eAAA,YAKX,CAAA;;;;;;;;;;;KAEU,oBAAA,GAAuB,CAAA,CAAE,aAAa;cAErC,6BAA2B,CAAA,CAAA;;;;;;EATD,OAAA,eAAA,YAAA,CAAA;EAAA,IAAA,eAAA,YAAA,CAAA;EAO3B,QAAA,eAAoB,YAAkB,CAAA;EAErC,SAAA,eAAA,YAYX,CAAA;;;;KAEU,qBAAA,GAAwB,CAAA,CAAE,aAAa;cAEtC,6BAA2B,CAAA,CAAA;;;;;;;;;;;;;;;;AAhBA,KAqB5B,qBAAA,GAAwB,CAAA,CAAE,KArBE,CAAA,OAqBW,2BArBX,CAAA"}
@@ -1,139 +0,0 @@
1
- import { z } from "zod";
2
-
3
- //#region src/trpc/conversation.d.ts
4
- declare const conversationStatusSchema: z.ZodEnum<{
5
- [x: string]: any;
6
- }>;
7
- declare const conversationPrioritySchema: z.ZodEnum<{
8
- [x: string]: any;
9
- }>;
10
- declare const conversationSentimentSchema: z.ZodNullable<z.ZodEnum<{
11
- [x: string]: any;
12
- }>>;
13
- declare const conversationRecordSchema: z.ZodObject<{
14
- id: z.ZodString;
15
- organizationId: z.ZodString;
16
- visitorId: z.ZodString;
17
- websiteId: z.ZodString;
18
- status: z.ZodEnum<{
19
- [x: string]: any;
20
- }>;
21
- priority: z.ZodEnum<{
22
- [x: string]: any;
23
- }>;
24
- sentiment: z.ZodNullable<z.ZodEnum<{
25
- [x: string]: any;
26
- }>>;
27
- sentimentConfidence: z.ZodNullable<z.ZodNumber>;
28
- channel: z.ZodString;
29
- title: z.ZodNullable<z.ZodString>;
30
- resolutionTime: z.ZodNullable<z.ZodNumber>;
31
- startedAt: z.ZodNullable<z.ZodString>;
32
- firstResponseAt: z.ZodNullable<z.ZodString>;
33
- resolvedAt: z.ZodNullable<z.ZodString>;
34
- lastMessageAt: z.ZodNullable<z.ZodString>;
35
- lastMessageBy: z.ZodNullable<z.ZodString>;
36
- resolvedByUserId: z.ZodNullable<z.ZodString>;
37
- resolvedByAiAgentId: z.ZodNullable<z.ZodString>;
38
- createdAt: z.ZodString;
39
- updatedAt: z.ZodString;
40
- deletedAt: z.ZodNullable<z.ZodString>;
41
- }, z.core.$strip>;
42
- type ConversationRecordResponse = z.infer<typeof conversationRecordSchema>;
43
- declare const conversationMutationResponseSchema: z.ZodObject<{
44
- conversation: z.ZodObject<{
45
- id: z.ZodString;
46
- organizationId: z.ZodString;
47
- visitorId: z.ZodString;
48
- websiteId: z.ZodString;
49
- status: z.ZodEnum<{
50
- [x: string]: any;
51
- }>;
52
- priority: z.ZodEnum<{
53
- [x: string]: any;
54
- }>;
55
- sentiment: z.ZodNullable<z.ZodEnum<{
56
- [x: string]: any;
57
- }>>;
58
- sentimentConfidence: z.ZodNullable<z.ZodNumber>;
59
- channel: z.ZodString;
60
- title: z.ZodNullable<z.ZodString>;
61
- resolutionTime: z.ZodNullable<z.ZodNumber>;
62
- startedAt: z.ZodNullable<z.ZodString>;
63
- firstResponseAt: z.ZodNullable<z.ZodString>;
64
- resolvedAt: z.ZodNullable<z.ZodString>;
65
- lastMessageAt: z.ZodNullable<z.ZodString>;
66
- lastMessageBy: z.ZodNullable<z.ZodString>;
67
- resolvedByUserId: z.ZodNullable<z.ZodString>;
68
- resolvedByAiAgentId: z.ZodNullable<z.ZodString>;
69
- createdAt: z.ZodString;
70
- updatedAt: z.ZodString;
71
- deletedAt: z.ZodNullable<z.ZodString>;
72
- }, z.core.$strip>;
73
- }, z.core.$strip>;
74
- declare const conversationHeaderSchema: z.ZodObject<{
75
- id: z.ZodString;
76
- status: z.ZodEnum<{
77
- [x: string]: any;
78
- }>;
79
- priority: z.ZodEnum<{
80
- [x: string]: any;
81
- }>;
82
- organizationId: z.ZodString;
83
- visitorId: z.ZodString;
84
- visitor: any;
85
- websiteId: z.ZodString;
86
- channel: z.ZodString;
87
- title: z.ZodNullable<z.ZodString>;
88
- resolutionTime: z.ZodNullable<z.ZodNumber>;
89
- startedAt: z.ZodNullable<z.ZodString>;
90
- firstResponseAt: z.ZodNullable<z.ZodString>;
91
- resolvedAt: z.ZodNullable<z.ZodString>;
92
- resolvedByUserId: z.ZodNullable<z.ZodString>;
93
- resolvedByAiAgentId: z.ZodNullable<z.ZodString>;
94
- createdAt: z.ZodString;
95
- updatedAt: z.ZodString;
96
- deletedAt: z.ZodNullable<z.ZodString>;
97
- lastMessageAt: z.ZodNullable<z.ZodString>;
98
- lastSeenAt: z.ZodNullable<z.ZodString>;
99
- lastTimelineItem: any;
100
- viewIds: z.ZodArray<z.ZodString>;
101
- seenData: z.ZodArray<any>;
102
- }, z.core.$strip>;
103
- declare const listConversationHeadersResponseSchema: z.ZodObject<{
104
- items: z.ZodArray<z.ZodObject<{
105
- id: z.ZodString;
106
- status: z.ZodEnum<{
107
- [x: string]: any;
108
- }>;
109
- priority: z.ZodEnum<{
110
- [x: string]: any;
111
- }>;
112
- organizationId: z.ZodString;
113
- visitorId: z.ZodString;
114
- visitor: any;
115
- websiteId: z.ZodString;
116
- channel: z.ZodString;
117
- title: z.ZodNullable<z.ZodString>;
118
- resolutionTime: z.ZodNullable<z.ZodNumber>;
119
- startedAt: z.ZodNullable<z.ZodString>;
120
- firstResponseAt: z.ZodNullable<z.ZodString>;
121
- resolvedAt: z.ZodNullable<z.ZodString>;
122
- resolvedByUserId: z.ZodNullable<z.ZodString>;
123
- resolvedByAiAgentId: z.ZodNullable<z.ZodString>;
124
- createdAt: z.ZodString;
125
- updatedAt: z.ZodString;
126
- deletedAt: z.ZodNullable<z.ZodString>;
127
- lastMessageAt: z.ZodNullable<z.ZodString>;
128
- lastSeenAt: z.ZodNullable<z.ZodString>;
129
- lastTimelineItem: any;
130
- viewIds: z.ZodArray<z.ZodString>;
131
- seenData: z.ZodArray<any>;
132
- }, z.core.$strip>>;
133
- nextCursor: z.ZodNullable<z.ZodString>;
134
- }, z.core.$strip>;
135
- type ConversationMutationResponse = z.infer<typeof conversationMutationResponseSchema>;
136
- type ConversationHeader = z.infer<typeof conversationHeaderSchema>;
137
- //#endregion
138
- export { ConversationHeader, ConversationMutationResponse, ConversationRecordResponse, conversationHeaderSchema, conversationMutationResponseSchema, conversationPrioritySchema, conversationRecordSchema, conversationSentimentSchema, conversationStatusSchema, listConversationHeadersResponseSchema };
139
- //# sourceMappingURL=conversation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conversation.d.ts","names":[],"sources":["../../src/trpc/conversation.ts"],"sourcesContent":[],"mappings":";;;cAUa,0BAAwB,CAAA,CAAA;;AAArC,CAAA,CAAA;AAMa,cAAA,0BAA0B,EAAA,CAAA,CAAA,OAAA,CAAA;EAO1B,CAAA,CAAA,EAAA,MAAA,CAAA,EAAA,GAAA;AAQb,CAAA,CAAA;cARa,6BAA2B,CAAA,CAAA,YAAA,CAAA,CAAA;;;cAQ3B,0BAAwB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwBzB,0BAAA,GAA6B,CAAA,CAAE,aACnC;cAGK,oCAAkC,CAAA,CAAA;EA5BV,YAAA,aAAA,CAAA;IAAA,EAAA,aAAA;IAwBzB,cAAA,aAA0B;IAIzB,SAAA,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIA,0BAAwB,CAAA,CAAA;;;;;;;;;;EAJU,OAAA,EAAA,GAAA;EAAA,SAAA,aAAA;EAIlC,OAAA,aAAA;;;;;;;;;;;;;;;;;cA0BA,uCAAqC,CAAA,CAAA;;;;;;;;;;;;;;;;;IA1Bb,eAAA,eAAA,YAAA,CAAA;IAAA,UAAA,eAAA,YAAA,CAAA;IA0BxB,gBAAA,eAAA,YAGX,CAAA;;;;;;;;;;;;;KAEU,4BAAA,GAA+B,CAAA,CAAE,aACrC;KAGI,kBAAA,GAAqB,CAAA,CAAE,aAAa"}
@@ -1,53 +0,0 @@
1
- import { z } from "zod";
2
-
3
- //#region src/trpc/visitor.d.ts
4
- declare const blockVisitorResponseSchema: z.ZodObject<{
5
- conversation: any;
6
- visitor: any;
7
- }, z.core.$strip>;
8
- type BlockVisitorResponse = z.infer<typeof blockVisitorResponseSchema>;
9
- declare const visitorPresenceEntrySchema: z.ZodObject<{
10
- id: z.ZodULID;
11
- status: z.ZodEnum<{
12
- online: "online";
13
- away: "away";
14
- }>;
15
- lastSeenAt: z.ZodNullable<z.ZodString>;
16
- name: z.ZodNullable<z.ZodString>;
17
- email: z.ZodNullable<z.ZodString>;
18
- image: z.ZodNullable<z.ZodString>;
19
- city: z.ZodNullable<z.ZodString>;
20
- region: z.ZodNullable<z.ZodString>;
21
- country: z.ZodNullable<z.ZodString>;
22
- latitude: z.ZodNullable<z.ZodNumber>;
23
- longitude: z.ZodNullable<z.ZodNumber>;
24
- contactId: z.ZodNullable<z.ZodULID>;
25
- }, z.core.$strip>;
26
- declare const listVisitorPresenceResponseSchema: z.ZodObject<{
27
- visitors: z.ZodArray<z.ZodObject<{
28
- id: z.ZodULID;
29
- status: z.ZodEnum<{
30
- online: "online";
31
- away: "away";
32
- }>;
33
- lastSeenAt: z.ZodNullable<z.ZodString>;
34
- name: z.ZodNullable<z.ZodString>;
35
- email: z.ZodNullable<z.ZodString>;
36
- image: z.ZodNullable<z.ZodString>;
37
- city: z.ZodNullable<z.ZodString>;
38
- region: z.ZodNullable<z.ZodString>;
39
- country: z.ZodNullable<z.ZodString>;
40
- latitude: z.ZodNullable<z.ZodNumber>;
41
- longitude: z.ZodNullable<z.ZodNumber>;
42
- contactId: z.ZodNullable<z.ZodULID>;
43
- }, z.core.$strip>>;
44
- totals: z.ZodObject<{
45
- online: z.ZodNumber;
46
- away: z.ZodNumber;
47
- }, z.core.$strip>;
48
- }, z.core.$strip>;
49
- type VisitorPresenceEntry = z.infer<typeof visitorPresenceEntrySchema>;
50
- type ListVisitorPresenceResponse = z.infer<typeof listVisitorPresenceResponseSchema>;
51
- //#endregion
52
- export { BlockVisitorResponse, ListVisitorPresenceResponse, VisitorPresenceEntry, blockVisitorResponseSchema, listVisitorPresenceResponseSchema, visitorPresenceEntrySchema };
53
- //# sourceMappingURL=visitor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visitor.d.ts","names":[],"sources":["../../src/trpc/visitor.ts"],"sourcesContent":[],"mappings":";;;cAIa,4BAA0B,CAAA,CAAA;;EAA1B,OAAA,EAAA,GAAA;AAKb,CAAA,EAFE,CAAA,CAAA,IAAA,CAAA,MAEU,CAAA;AAEC,KAFD,oBAAA,GAAuB,CAAA,CAAE,KAenC,CAAA,OAfgD,0BAehD,CAAA;cAbW,4BAA0B,CAAA,CAAA;;;;;;;;;;;;;;;;;cAe1B,mCAAiC,CAAA,CAAA;;;;;;IAfP,CAAA,CAAA;IAAA,UAAA,eAAA,YAAA,CAAA;IAe1B,IAAA,eAAA,YAAA,CAMX;;;;;;;;;;;;;;;KAEU,oBAAA,GAAuB,CAAA,CAAE,aAAa;KACtC,2BAAA,GAA8B,CAAA,CAAE,aACpC"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes