@kl1/contracts 1.1.47-uat → 1.1.49-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 +92 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +83 -1
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +7252 -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
@@ -36,18 +36,25 @@ __export(src_exports, {
|
|
36
36
|
botContract: () => botContract,
|
37
37
|
botpressContract: () => botpressContract,
|
38
38
|
businessCalendarContract: () => businessCalendarContract2,
|
39
|
+
businessCalendarSettingContract: () => businessCalendarSettingContract,
|
40
|
+
caseLogSettingContract: () => caseLogSettingContract,
|
39
41
|
categoryContract: () => categoryContract,
|
42
|
+
categorySettingContract: () => categorySettingContract,
|
40
43
|
channelBotContract: () => channelBotContract,
|
41
44
|
channelContract: () => channelContract,
|
42
45
|
chatContract: () => chatContract2,
|
43
46
|
commentActivityContract: () => commentActivityContract,
|
44
47
|
commentContract: () => commentContract,
|
45
48
|
companyContract: () => companyContract,
|
49
|
+
companySettingContract: () => companySettingContract,
|
46
50
|
contactContract: () => contactContract2,
|
51
|
+
contactLabelSettingContract: () => contactLabelSettingContract,
|
52
|
+
contactSettingContract: () => contactSettingContract,
|
47
53
|
cxLogContract: () => cxLogContract,
|
48
54
|
dashboardContract: () => dashboardContract,
|
49
55
|
evaluateFormContract: () => evaluateFormContract,
|
50
56
|
extensionContract: () => extensionContract2,
|
57
|
+
generalTagSettingContract: () => generalTagSettingContract,
|
51
58
|
mailApiContract: () => mailApiContract,
|
52
59
|
mailContract: () => mailContract,
|
53
60
|
notificationContract: () => notificationContract,
|
@@ -58,11 +65,13 @@ __export(src_exports, {
|
|
58
65
|
publicApiContract: () => publicApiContract2,
|
59
66
|
receiveMessageContract: () => receiveMessageContract,
|
60
67
|
snippetContract: () => snippetContract,
|
68
|
+
snippetSettingContract: () => snippetSettingContract,
|
61
69
|
subscriptionContract: () => subscriptionContract,
|
62
70
|
tagContract: () => tagContract,
|
63
71
|
telephonyCdrContract: () => telephonyCdrContract,
|
64
72
|
telephonyContract: () => telephonyContract,
|
65
73
|
ticketContract: () => ticketContract2,
|
74
|
+
ticketSettingContract: () => ticketSettingContract,
|
66
75
|
uploadContract: () => uploadContract,
|
67
76
|
userContract: () => userContract,
|
68
77
|
userNotificationContract: () => userNotificationContract,
|
@@ -1519,7 +1528,6 @@ var ReconnectMessengerSchema = ChannelSchema.merge(
|
|
1519
1528
|
})
|
1520
1529
|
);
|
1521
1530
|
var SetBotPersistentMenuSchema = import_zod30.default.object({
|
1522
|
-
psid: import_zod30.default.string(),
|
1523
1531
|
pageAccessToken: import_zod30.default.string()
|
1524
1532
|
});
|
1525
1533
|
|
@@ -5766,6 +5774,7 @@ var ExportAllTicketQuerySchema = import_zod82.default.object({
|
|
5766
5774
|
description: import_zod82.default.string(),
|
5767
5775
|
status: import_zod82.default.array(import_zod82.default.string()),
|
5768
5776
|
priority: import_zod82.default.array(import_zod82.default.string()),
|
5777
|
+
assignee: import_zod82.default.array(import_zod82.default.string().uuid()),
|
5769
5778
|
channel: import_zod82.default.array(import_zod82.default.string()),
|
5770
5779
|
type: import_zod82.default.array(import_zod82.default.string()),
|
5771
5780
|
ticketType: import_zod82.default.array(import_zod82.default.string()),
|
@@ -7926,6 +7935,79 @@ var workflowContract = (0, import_core43.initContract)().router(
|
|
7926
7935
|
pathPrefix: "workflow/"
|
7927
7936
|
}
|
7928
7937
|
);
|
7938
|
+
var settingsPathPrefix = "settings/";
|
7939
|
+
var ticketSettingContract = (0, import_core43.initContract)().router(
|
7940
|
+
{
|
7941
|
+
ticketSetting: attributeContract
|
7942
|
+
},
|
7943
|
+
{
|
7944
|
+
pathPrefix: `${settingsPathPrefix}/ticket/`
|
7945
|
+
}
|
7946
|
+
);
|
7947
|
+
var contactSettingContract = (0, import_core43.initContract)().router(
|
7948
|
+
{
|
7949
|
+
contactSetting: attributeContract
|
7950
|
+
},
|
7951
|
+
{
|
7952
|
+
pathPrefix: `${settingsPathPrefix}/contact/`
|
7953
|
+
}
|
7954
|
+
);
|
7955
|
+
var companySettingContract = (0, import_core43.initContract)().router(
|
7956
|
+
{
|
7957
|
+
companySetting: attributeContract
|
7958
|
+
},
|
7959
|
+
{
|
7960
|
+
pathPrefix: `${settingsPathPrefix}/company/`
|
7961
|
+
}
|
7962
|
+
);
|
7963
|
+
var caseLogSettingContract = (0, import_core43.initContract)().router(
|
7964
|
+
{
|
7965
|
+
caseLogSetting: attributeContract
|
7966
|
+
},
|
7967
|
+
{
|
7968
|
+
pathPrefix: `${settingsPathPrefix}/case_log/`
|
7969
|
+
}
|
7970
|
+
);
|
7971
|
+
var generalTagSettingContract = (0, import_core43.initContract)().router(
|
7972
|
+
{
|
7973
|
+
generalTag: tagContract
|
7974
|
+
},
|
7975
|
+
{
|
7976
|
+
pathPrefix: `${settingsPathPrefix}/general_tag/`
|
7977
|
+
}
|
7978
|
+
);
|
7979
|
+
var contactLabelSettingContract = (0, import_core43.initContract)().router(
|
7980
|
+
{
|
7981
|
+
contactLabel: tagContract
|
7982
|
+
},
|
7983
|
+
{
|
7984
|
+
pathPrefix: `${settingsPathPrefix}/contact_label/`
|
7985
|
+
}
|
7986
|
+
);
|
7987
|
+
var categorySettingContract = (0, import_core43.initContract)().router(
|
7988
|
+
{
|
7989
|
+
category: categoryContract
|
7990
|
+
},
|
7991
|
+
{
|
7992
|
+
pathPrefix: settingsPathPrefix
|
7993
|
+
}
|
7994
|
+
);
|
7995
|
+
var snippetSettingContract = (0, import_core43.initContract)().router(
|
7996
|
+
{
|
7997
|
+
snippet: snippetContract
|
7998
|
+
},
|
7999
|
+
{
|
8000
|
+
pathPrefix: settingsPathPrefix
|
8001
|
+
}
|
8002
|
+
);
|
8003
|
+
var businessCalendarSettingContract = (0, import_core43.initContract)().router(
|
8004
|
+
{
|
8005
|
+
businessCalendar: businessCalendarContract
|
8006
|
+
},
|
8007
|
+
{
|
8008
|
+
pathPrefix: settingsPathPrefix
|
8009
|
+
}
|
8010
|
+
);
|
7929
8011
|
|
7930
8012
|
// src/chat/index.ts
|
7931
8013
|
var import_core44 = require("@ts-rest/core");
|
@@ -8223,18 +8305,25 @@ var platformWebchatContract = (0, import_core45.initContract)().router({
|
|
8223
8305
|
botContract,
|
8224
8306
|
botpressContract,
|
8225
8307
|
businessCalendarContract,
|
8308
|
+
businessCalendarSettingContract,
|
8309
|
+
caseLogSettingContract,
|
8226
8310
|
categoryContract,
|
8311
|
+
categorySettingContract,
|
8227
8312
|
channelBotContract,
|
8228
8313
|
channelContract,
|
8229
8314
|
chatContract,
|
8230
8315
|
commentActivityContract,
|
8231
8316
|
commentContract,
|
8232
8317
|
companyContract,
|
8318
|
+
companySettingContract,
|
8233
8319
|
contactContract,
|
8320
|
+
contactLabelSettingContract,
|
8321
|
+
contactSettingContract,
|
8234
8322
|
cxLogContract,
|
8235
8323
|
dashboardContract,
|
8236
8324
|
evaluateFormContract,
|
8237
8325
|
extensionContract,
|
8326
|
+
generalTagSettingContract,
|
8238
8327
|
mailApiContract,
|
8239
8328
|
mailContract,
|
8240
8329
|
notificationContract,
|
@@ -8245,11 +8334,13 @@ var platformWebchatContract = (0, import_core45.initContract)().router({
|
|
8245
8334
|
publicApiContract,
|
8246
8335
|
receiveMessageContract,
|
8247
8336
|
snippetContract,
|
8337
|
+
snippetSettingContract,
|
8248
8338
|
subscriptionContract,
|
8249
8339
|
tagContract,
|
8250
8340
|
telephonyCdrContract,
|
8251
8341
|
telephonyContract,
|
8252
8342
|
ticketContract,
|
8343
|
+
ticketSettingContract,
|
8253
8344
|
uploadContract,
|
8254
8345
|
userContract,
|
8255
8346
|
userNotificationContract,
|