@kl1/contracts 1.1.47-uat → 1.1.48-uat
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.
- package/dist/index.js +52 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +47 -1
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +4053 -3
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +0 -3
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +0 -3
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +3 -0
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +3 -0
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -33,10 +33,13 @@ __export(src_exports, {
|
|
33
33
|
activityLogContract: () => activityLogContract,
|
34
34
|
apiContract: () => apiContract,
|
35
35
|
attributeContract: () => attributeContract,
|
36
|
+
attributeSettingContact: () => attributeSettingContact,
|
36
37
|
botContract: () => botContract,
|
37
38
|
botpressContract: () => botpressContract,
|
38
39
|
businessCalendarContract: () => businessCalendarContract2,
|
40
|
+
businessCalendarSettingContract: () => businessCalendarSettingContract,
|
39
41
|
categoryContract: () => categoryContract,
|
42
|
+
categorySettingContract: () => categorySettingContract,
|
40
43
|
channelBotContract: () => channelBotContract,
|
41
44
|
channelContract: () => channelContract,
|
42
45
|
chatContract: () => chatContract2,
|
@@ -58,8 +61,10 @@ __export(src_exports, {
|
|
58
61
|
publicApiContract: () => publicApiContract2,
|
59
62
|
receiveMessageContract: () => receiveMessageContract,
|
60
63
|
snippetContract: () => snippetContract,
|
64
|
+
snippetSettingContract: () => snippetSettingContract,
|
61
65
|
subscriptionContract: () => subscriptionContract,
|
62
66
|
tagContract: () => tagContract,
|
67
|
+
tagSettingContract: () => tagSettingContract,
|
63
68
|
telephonyCdrContract: () => telephonyCdrContract,
|
64
69
|
telephonyContract: () => telephonyContract,
|
65
70
|
ticketContract: () => ticketContract2,
|
@@ -1519,7 +1524,6 @@ var ReconnectMessengerSchema = ChannelSchema.merge(
|
|
1519
1524
|
})
|
1520
1525
|
);
|
1521
1526
|
var SetBotPersistentMenuSchema = import_zod30.default.object({
|
1522
|
-
psid: import_zod30.default.string(),
|
1523
1527
|
pageAccessToken: import_zod30.default.string()
|
1524
1528
|
});
|
1525
1529
|
|
@@ -5766,6 +5770,7 @@ var ExportAllTicketQuerySchema = import_zod82.default.object({
|
|
5766
5770
|
description: import_zod82.default.string(),
|
5767
5771
|
status: import_zod82.default.array(import_zod82.default.string()),
|
5768
5772
|
priority: import_zod82.default.array(import_zod82.default.string()),
|
5773
|
+
assignee: import_zod82.default.array(import_zod82.default.string().uuid()),
|
5769
5774
|
channel: import_zod82.default.array(import_zod82.default.string()),
|
5770
5775
|
type: import_zod82.default.array(import_zod82.default.string()),
|
5771
5776
|
ticketType: import_zod82.default.array(import_zod82.default.string()),
|
@@ -7926,6 +7931,47 @@ var workflowContract = (0, import_core43.initContract)().router(
|
|
7926
7931
|
pathPrefix: "workflow/"
|
7927
7932
|
}
|
7928
7933
|
);
|
7934
|
+
var settingsPathPrefix = "settings/";
|
7935
|
+
var attributeSettingContact = (0, import_core43.initContract)().router(
|
7936
|
+
{
|
7937
|
+
attribute: attributeContract
|
7938
|
+
},
|
7939
|
+
{
|
7940
|
+
pathPrefix: settingsPathPrefix
|
7941
|
+
}
|
7942
|
+
);
|
7943
|
+
var tagSettingContract = (0, import_core43.initContract)().router(
|
7944
|
+
{
|
7945
|
+
tag: tagContract
|
7946
|
+
},
|
7947
|
+
{
|
7948
|
+
pathPrefix: settingsPathPrefix
|
7949
|
+
}
|
7950
|
+
);
|
7951
|
+
var categorySettingContract = (0, import_core43.initContract)().router(
|
7952
|
+
{
|
7953
|
+
category: categoryContract
|
7954
|
+
},
|
7955
|
+
{
|
7956
|
+
pathPrefix: settingsPathPrefix
|
7957
|
+
}
|
7958
|
+
);
|
7959
|
+
var snippetSettingContract = (0, import_core43.initContract)().router(
|
7960
|
+
{
|
7961
|
+
snippet: snippetContract
|
7962
|
+
},
|
7963
|
+
{
|
7964
|
+
pathPrefix: settingsPathPrefix
|
7965
|
+
}
|
7966
|
+
);
|
7967
|
+
var businessCalendarSettingContract = (0, import_core43.initContract)().router(
|
7968
|
+
{
|
7969
|
+
businessCalendar: businessCalendarContract
|
7970
|
+
},
|
7971
|
+
{
|
7972
|
+
pathPrefix: settingsPathPrefix
|
7973
|
+
}
|
7974
|
+
);
|
7929
7975
|
|
7930
7976
|
// src/chat/index.ts
|
7931
7977
|
var import_core44 = require("@ts-rest/core");
|
@@ -8220,10 +8266,13 @@ var platformWebchatContract = (0, import_core45.initContract)().router({
|
|
8220
8266
|
activityLogContract,
|
8221
8267
|
apiContract,
|
8222
8268
|
attributeContract,
|
8269
|
+
attributeSettingContact,
|
8223
8270
|
botContract,
|
8224
8271
|
botpressContract,
|
8225
8272
|
businessCalendarContract,
|
8273
|
+
businessCalendarSettingContract,
|
8226
8274
|
categoryContract,
|
8275
|
+
categorySettingContract,
|
8227
8276
|
channelBotContract,
|
8228
8277
|
channelContract,
|
8229
8278
|
chatContract,
|
@@ -8245,8 +8294,10 @@ var platformWebchatContract = (0, import_core45.initContract)().router({
|
|
8245
8294
|
publicApiContract,
|
8246
8295
|
receiveMessageContract,
|
8247
8296
|
snippetContract,
|
8297
|
+
snippetSettingContract,
|
8248
8298
|
subscriptionContract,
|
8249
8299
|
tagContract,
|
8300
|
+
tagSettingContract,
|
8250
8301
|
telephonyCdrContract,
|
8251
8302
|
telephonyContract,
|
8252
8303
|
ticketContract,
|