@giosg/types 8.0.2 → 10.0.0

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 (82) hide show
  1. package/lib/cjs/GiosgTCApi.d.ts +3 -3
  2. package/lib/cjs/GiosgTCApi.d.ts.map +1 -1
  3. package/lib/cjs/actions.d.ts +4 -4
  4. package/lib/cjs/actions.d.ts.map +1 -1
  5. package/lib/cjs/apps.d.ts +1 -1
  6. package/lib/cjs/apps.d.ts.map +1 -1
  7. package/lib/cjs/bugReport.d.ts +7 -0
  8. package/lib/cjs/bugReport.d.ts.map +1 -0
  9. package/lib/cjs/bugReport.js +2 -0
  10. package/lib/cjs/call.d.ts +3 -3
  11. package/lib/cjs/call.d.ts.map +1 -1
  12. package/lib/cjs/chat.d.ts +10 -10
  13. package/lib/cjs/chat.d.ts.map +1 -1
  14. package/lib/cjs/common.d.ts +3 -3
  15. package/lib/cjs/common.d.ts.map +1 -1
  16. package/lib/cjs/conditions.d.ts +3 -3
  17. package/lib/cjs/conditions.d.ts.map +1 -1
  18. package/lib/cjs/goals.d.ts +6 -0
  19. package/lib/cjs/goals.d.ts.map +1 -1
  20. package/lib/cjs/index.d.ts +2 -0
  21. package/lib/cjs/index.d.ts.map +1 -1
  22. package/lib/cjs/linkpreview.d.ts +1 -1
  23. package/lib/cjs/linkpreview.d.ts.map +1 -1
  24. package/lib/cjs/liveStream.d.ts +25 -0
  25. package/lib/cjs/liveStream.d.ts.map +1 -0
  26. package/lib/cjs/liveStream.js +2 -0
  27. package/lib/cjs/oath.d.ts +6 -6
  28. package/lib/cjs/oath.d.ts.map +1 -1
  29. package/lib/cjs/public.d.ts +4 -4
  30. package/lib/cjs/public.d.ts.map +1 -1
  31. package/lib/cjs/rooms.d.ts +1 -1
  32. package/lib/cjs/rooms.d.ts.map +1 -1
  33. package/lib/cjs/routers.d.ts +2 -2
  34. package/lib/cjs/routers.d.ts.map +1 -1
  35. package/lib/cjs/sharing.d.ts +2 -2
  36. package/lib/cjs/sharing.d.ts.map +1 -1
  37. package/lib/cjs/types.d.ts +71 -71
  38. package/lib/cjs/types.d.ts.map +1 -1
  39. package/lib/cjs/visitor.d.ts +2 -2
  40. package/lib/cjs/visitor.d.ts.map +1 -1
  41. package/lib/mjs/GiosgTCApi.d.ts +3 -3
  42. package/lib/mjs/GiosgTCApi.d.ts.map +1 -1
  43. package/lib/mjs/actions.d.ts +4 -4
  44. package/lib/mjs/actions.d.ts.map +1 -1
  45. package/lib/mjs/apps.d.ts +1 -1
  46. package/lib/mjs/apps.d.ts.map +1 -1
  47. package/lib/mjs/bugReport.d.ts +7 -0
  48. package/lib/mjs/bugReport.d.ts.map +1 -0
  49. package/lib/mjs/bugReport.js +1 -0
  50. package/lib/mjs/call.d.ts +3 -3
  51. package/lib/mjs/call.d.ts.map +1 -1
  52. package/lib/mjs/chat.d.ts +10 -10
  53. package/lib/mjs/chat.d.ts.map +1 -1
  54. package/lib/mjs/common.d.ts +3 -3
  55. package/lib/mjs/common.d.ts.map +1 -1
  56. package/lib/mjs/conditions.d.ts +3 -3
  57. package/lib/mjs/conditions.d.ts.map +1 -1
  58. package/lib/mjs/goals.d.ts +6 -0
  59. package/lib/mjs/goals.d.ts.map +1 -1
  60. package/lib/mjs/index.d.ts +2 -0
  61. package/lib/mjs/index.d.ts.map +1 -1
  62. package/lib/mjs/linkpreview.d.ts +1 -1
  63. package/lib/mjs/linkpreview.d.ts.map +1 -1
  64. package/lib/mjs/liveStream.d.ts +25 -0
  65. package/lib/mjs/liveStream.d.ts.map +1 -0
  66. package/lib/mjs/liveStream.js +1 -0
  67. package/lib/mjs/oath.d.ts +6 -6
  68. package/lib/mjs/oath.d.ts.map +1 -1
  69. package/lib/mjs/public.d.ts +4 -4
  70. package/lib/mjs/public.d.ts.map +1 -1
  71. package/lib/mjs/rooms.d.ts +1 -1
  72. package/lib/mjs/rooms.d.ts.map +1 -1
  73. package/lib/mjs/routers.d.ts +2 -2
  74. package/lib/mjs/routers.d.ts.map +1 -1
  75. package/lib/mjs/sharing.d.ts +2 -2
  76. package/lib/mjs/sharing.d.ts.map +1 -1
  77. package/lib/mjs/types.d.ts +71 -71
  78. package/lib/mjs/types.d.ts.map +1 -1
  79. package/lib/mjs/visitor.d.ts +2 -2
  80. package/lib/mjs/visitor.d.ts.map +1 -1
  81. package/package.json +4 -4
  82. package/CHANGELOG.md +0 -287
package/CHANGELOG.md DELETED
@@ -1,287 +0,0 @@
1
- # Changelog
2
-
3
- Hint: use `git diff <commithash>..HEAD src/` to see changes
4
-
5
- ## x.x.x (Not published yet)
6
-
7
-
8
- ## 8.0.2
9
- - Remove unused fields from BarChat interface.
10
-
11
- ## 8.0.1
12
- - Add JitsiToken interface.
13
-
14
- ## 8.0.0
15
- - Remove pipeline fields from RoomVisitor
16
-
17
- ## 7.3.1
18
-
19
- - Add new `identified` chat type.
20
-
21
- ## 7.3.0
22
-
23
- - Add new HIDE_INTERACTION rule action type.
24
-
25
- ## 7.2.0
26
-
27
- - Add new message types to CHAT_DATA_MESSAGE_TYPES.
28
-
29
- ## 7.1.0
30
-
31
- - Update GiosgBrand type with new fields.
32
-
33
- ## 7.0.1
34
-
35
- - Added interfaces for the brand editor
36
-
37
- ## 7.0.0
38
-
39
- - Added support for CommonJS
40
- - Changed import paths by adding `cjs` and `esm` directories to the package - some imports in dependent projects may need to be updated.
41
-
42
- ## 6.10.0
43
-
44
- - Added the `GiosgBrand` interface
45
-
46
- ## 6.9.0
47
-
48
- - Removed Reporting Target
49
-
50
- ## 6.8.0
51
-
52
- - Removed Cobrowse Reporting
53
-
54
- ## 6.7.0
55
-
56
- - Added `is_user_deleted` field to `ChatMembershipUser` interface
57
-
58
- ## 6.6.0
59
-
60
- - Added types for giosg Transparency&Consent API
61
-
62
- ## 6.5.0
63
-
64
- - Renamed `screen_sharing_state` field to `cobrowser_state` at `InCallStatus` interface
65
-
66
- ## 6.4.0
67
-
68
- - Modified types for call status
69
- - Added `screen_sharing_state` field to `InCallStatus` interface
70
-
71
- ## 6.3.0
72
-
73
- - Added type for call status
74
-
75
- ## 6.2.2
76
-
77
- - Fixed type of `brand` field in `PublicRoom` types
78
- - Chat button asset fields added to the `Brand` interface
79
-
80
- ## 6.2.1
81
-
82
- - Changed typescript `module` option from `commonjs` to `es2015` to allow treeshaking
83
-
84
- ## 6.2.0
85
-
86
- - Added `client_type` field to `UserClientPayload`
87
-
88
- ## 6.1.2
89
-
90
- - Added `client_type` field to `UserClient`
91
-
92
- ## 6.1.1
93
-
94
- - Changed Typescript version to `^4.0.3`.
95
-
96
- ## 6.0.1
97
-
98
- - Added field `index` to `RuleActionPayload`
99
-
100
- ## 6.0.0
101
-
102
- - Updated `WebhookRequestLogEntry` field `status` type with actual status choices instead of `string`.
103
-
104
- ## 5.0.0
105
-
106
- - Rename `VISITOR_BELONGS_TO_AN_TARGET_EXPERIMENT_GROUP` to `VISITOR_BELONGS_TO_A_TARGET_EXPERIMENT_GROUP`.
107
- - Add `ComposingStatus`, `ChatWithRoom`, `ChatMessageWithChat` and `RulePrediction`.
108
- - Correctly mark the domain on `NestedRoom` as a potentially `null` value.
109
-
110
- ## 4.6.0
111
-
112
- - Add `is_removed` field for `BarChats`.
113
- - ConditionHasChattedSettings type was removed
114
-
115
- ## 4.5.0
116
-
117
- - Add `is_available` field for `BarChats`.
118
-
119
- ## 4.4.5
120
-
121
- - Fixed type of `PublicRoom` interface field `legacy_id` to be `RoomLegacyToken` instead of `RoomLegacyId`.
122
- - Added is_email_confirmed to `User`interface.
123
-
124
- ## 4.4.4
125
-
126
- - Add new rule condition
127
-
128
- ## 4.4.3
129
-
130
- - Added `estimated_waiting_time` into public room
131
-
132
- ## 4.4.2
133
-
134
- - Added `is_bot` field to `ChatMembershipUser` interface
135
- - Removed deprecated `RoomCreate` interface
136
- - Add visitor_avatar url
137
- - Add new chat type=task
138
- - Add new message types
139
-
140
- ## 4.3.1
141
-
142
- - Fix nullability of accepted_by_user/accepted_by_user_id
143
-
144
- ## 4.3.0
145
-
146
- - Added `OutgoingTeamShare`, `IncomingTeamShare` and `TeamSharePayload` interfaces.
147
-
148
- ## 4.2.0
149
-
150
- - Added the email request interface
151
-
152
- ## 4.1.0
153
-
154
- - Added `is_connected_to_room` field to `Team` interface.
155
- - Added `is_staff` field to `NestedUser` interface.
156
- - Added `chat_end_with_msgs` as a possible type to `GiosgAppTriggerCondition` interface.
157
- - Added `is_bot` field to `UserPayload` interface.
158
-
159
- ## 4.0.0
160
-
161
- ### Breaking changes
162
-
163
- - Removed `unread_message_count` from `BarChat` interface.
164
- - Removed `is_participating` from `BarChat` interface.
165
-
166
- ## 3.4.0
167
-
168
- - Added `minimal_bar_version` field to `OAuthResponseSuccess` interface.
169
-
170
- ## 3.3.0
171
-
172
- - Added `group_chat_id` in `Team` interface.
173
-
174
- ## 3.2.3
175
-
176
- - Renamed `Room.public_key` to `Room.public_key_id`.
177
- - Removed `null` from `Room.is_chat_encryption_enabled`.
178
-
179
- ## 3.2.2
180
-
181
- - Fixed `value` type in `VisitorVariable` interface. It can not be type of `string[]`.
182
-
183
- ## 3.2.1
184
-
185
- - Deprecated `unread_message_count` in `BarChat` interface.
186
-
187
- ## 3.2.0
188
-
189
- - Added `unread_message_count` to `ChatMembership`.
190
- - Changed `Chat` `chat_session_latest_message` to `ChatMessage`.
191
-
192
- ## 3.1.0
193
-
194
- - Added `router` and `legacy_chat_dialog_id` fields to `OrganizationRoomSettings`.
195
- - Added `is_chat_encryption_enabled`, `public_key_id`, and `sensitive_data_purge_ttl` fields to `Room`.
196
- - Added `LegacyChatDialogUid` and `PublicKeyUid`.
197
-
198
- ## 3.0.0
199
-
200
- - Added `sla` field to `StaffCustomership` and `StaffCustomershipPayload`.
201
- - Added `is_auto_tagging_enabled` boolean field to `OrganizationRoomSettings` and `OrganizationRoomSettingsPayload` interfaces.
202
-
203
- ### Breaking changes
204
-
205
- - Merged `RoomVisitorVariable` and `ChatVisitorVariable` to `VisitorVariable`
206
- - Merged `RoomVisitorVariablePayload` and `ChatVisitorVariablePayload` to `VisitorVariablePayload`
207
-
208
- ## 2.0.1
209
-
210
- - Exported `ChatMembershipUser` and `ChatMembershipVisitor`.
211
-
212
- ## 2.0.0
213
-
214
- - Added new interfaces `GiosgAppInstance`, `GiosgApp`, `GiosgAppPayload`, `InstalledGiosgApp`, `NestedGiosgApp`, `Brand`, `BrandPayload`, `PublicBrand`, `CannedAnswerIncrement`,`CannedAnswer`, `CannedAnswerPayload`, `ChatAssignment`, `LeadFormData`, `LeadFormDataPayload` `AppShare`, `AppSharePayload`, `ShoppingCartProduct`, `ShoppingCart`, `EndpointMethod` `Endpoint`, `Language`, `NestedTargetRule`, `NestedTargetConfig`, `TargetConfig`, `TargetExperiment`, `TargetedAction`, `TargetedActionPayload`, `VisitorPredictionList`, `VisitorPrediction`, `VisitorPredictionPayload`, `VisitorSessionPrediction`, `VisitorSessionPredictionPayload`, `RoomVisitorVariable`, `RoomVisitorVariablePayload`, `NestedWebhookChannelSubscription`, `NestedWebhookChannelSubscriptionPayload`, `WebhookRequestLogEntry`, `Webhook`, `WebhookPayload`
215
-
216
- ### Breaking changes
217
-
218
- - Renamed `VisitorSessionId` to `VisitorSessionCid`.
219
- - Renamed `VisitorGlobalSessionId` to `VisitorSessionGid`.
220
- - Renamed `VisitorGlobalId` to `VisitorGid`.
221
- - Removed `GiosgSessionId`, it was duplicate of `VisitorGlobalSessionId`.
222
-
223
- ## 1.3.2
224
-
225
- - Added new chat_type option `group` to `Chat` interface.
226
- - Standardized chat types, added `ChatType` type.
227
-
228
- ## 1.3.1
229
-
230
- - Added new chat_type option `group` to `BarChat` interface.
231
- - Added new interfaces `OutgoingRoomShare`, `IncomingRoomShare`, `NestedRouter`, and `RoomSharePayload`.
232
- - Fixed `BarChat` interface, `chat_session_latest_message` can be null.
233
- - Fixed `attachment_template` field type across all types. It can be null.
234
-
235
- ## 1.3.0
236
-
237
- - Added new interfaces `Router`, `RouterPayload`, `RouterStep`, `RouterStepPayload`, and `RouterStepPrecondition`.
238
-
239
- ## 1.2.26
240
-
241
- - Added new interfaces `Upload` and `UploadPayload`.
242
-
243
- ## 1.2.25
244
-
245
- - Added new field for `LinkPreviewResponse`.
246
-
247
- ## 1.2.24
248
-
249
- - Added `LinkPreviewResponse` type.
250
- - Updated `DEVELOPMENT.md`.
251
-
252
- ## 1.2.23
253
-
254
- - Vasilii add changes you made here!
255
-
256
- ## 1.2.22
257
-
258
- - Nominal types are using uuids to make it easier to resolve versions conflicts.
259
-
260
- ## 1.2.17
261
-
262
- - ChatMessage and DecryptedChatMessage interfaces are divided into DataMessages and StatusMessages.
263
-
264
- ## 1.2.11
265
-
266
- - CHANGELOG added.
267
- - Id`s a set to be nominal types.
268
- - Actions standardized.
269
- - Asset interfaces added.
270
- - Chat interfaces added.
271
- - Timezone, currency and Language standardization.
272
- - Conditions standardized.
273
- - Customer interfaces added.
274
- - Customership interfaces added.
275
- - Experiments interfaces added.
276
- - Goal interfaces added.
277
- - Authentication interfaces added.
278
- - Partnership interfaces added.
279
- - Permission interfaces added.
280
- - Public interfaces added.
281
- - Room interfaces added.
282
- - Rules interfaces added.
283
- - User client interfaces added.
284
- - Visitor interfaces added.
285
- - Index added.
286
- - Auto generation of index file added.
287
- - Package published as `@giosg/types`.