@kl1/contracts 1.4.43 → 1.4.45
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/api-contracts/src/contract.d.ts +39 -33
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +6 -6
- package/dist/api-contracts/src/tag/index.d.ts +11 -10
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/validation.d.ts +9 -9
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +6 -0
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +6 -0
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -36120,13 +36120,13 @@ export declare const apiContract: {
|
|
36120
36120
|
createTag: {
|
36121
36121
|
body: import("zod").ZodObject<{
|
36122
36122
|
name: import("zod").ZodString;
|
36123
|
-
group: import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]>;
|
36123
|
+
group: import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"cdr">]>;
|
36124
36124
|
}, "strip", import("zod").ZodTypeAny, {
|
36125
36125
|
name: string;
|
36126
|
-
group: "general" | "contact";
|
36126
|
+
group: "general" | "contact" | "cdr";
|
36127
36127
|
}, {
|
36128
36128
|
name: string;
|
36129
|
-
group: "general" | "contact";
|
36129
|
+
group: "general" | "contact" | "cdr";
|
36130
36130
|
}>;
|
36131
36131
|
method: "POST";
|
36132
36132
|
responses: {
|
@@ -36202,14 +36202,14 @@ export declare const apiContract: {
|
|
36202
36202
|
getTags: {
|
36203
36203
|
method: "GET";
|
36204
36204
|
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
36205
|
-
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]
|
36206
|
-
keyword: import("zod").ZodOptional<import("zod").ZodString
|
36205
|
+
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"cdr">]>>>>;
|
36206
|
+
keyword: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
36207
36207
|
}, "strip", import("zod").ZodTypeAny, {
|
36208
|
-
group?: "general" | "contact" | undefined;
|
36209
|
-
keyword?: string | undefined;
|
36208
|
+
group?: "general" | "contact" | "cdr" | undefined;
|
36209
|
+
keyword?: string | null | undefined;
|
36210
36210
|
}, {
|
36211
|
-
group?: "general" | "contact" | undefined;
|
36212
|
-
keyword?: string | undefined;
|
36211
|
+
group?: "general" | "contact" | "cdr" | undefined;
|
36212
|
+
keyword?: string | null | undefined;
|
36213
36213
|
}>>;
|
36214
36214
|
responses: {
|
36215
36215
|
200: import("zod").ZodObject<{
|
@@ -275840,6 +275840,7 @@ export declare const telephonyContract: {
|
|
275840
275840
|
queueStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
275841
275841
|
agentCallsOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
275842
275842
|
recordingsOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
275843
|
+
tagIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
275843
275844
|
fileExtension: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>>>;
|
275844
275845
|
}, "strip", import("zod").ZodTypeAny, {
|
275845
275846
|
module: "cdrs" | "call-logs";
|
@@ -275857,6 +275858,7 @@ export declare const telephonyContract: {
|
|
275857
275858
|
queueStatus?: string | undefined;
|
275858
275859
|
agentCallsOnly?: boolean | undefined;
|
275859
275860
|
recordingsOnly?: boolean | undefined;
|
275861
|
+
tagIds?: string[] | undefined;
|
275860
275862
|
fileExtension?: "csv" | "xlsx" | undefined;
|
275861
275863
|
}, {
|
275862
275864
|
type?: string[] | undefined;
|
@@ -275874,6 +275876,7 @@ export declare const telephonyContract: {
|
|
275874
275876
|
queueStatus?: string | undefined;
|
275875
275877
|
agentCallsOnly?: boolean | undefined;
|
275876
275878
|
recordingsOnly?: boolean | undefined;
|
275879
|
+
tagIds?: string[] | undefined;
|
275877
275880
|
fileExtension?: "csv" | "xlsx" | undefined;
|
275878
275881
|
}>;
|
275879
275882
|
responses: {
|
@@ -279301,14 +279304,14 @@ export declare const publicApiContract: {
|
|
279301
279304
|
getAllTags: {
|
279302
279305
|
method: "GET";
|
279303
279306
|
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
279304
|
-
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]
|
279305
|
-
keyword: import("zod").ZodOptional<import("zod").ZodString
|
279307
|
+
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"cdr">]>>>>;
|
279308
|
+
keyword: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
279306
279309
|
}, "strip", import("zod").ZodTypeAny, {
|
279307
|
-
group?: "general" | "contact" | undefined;
|
279308
|
-
keyword?: string | undefined;
|
279310
|
+
group?: "general" | "contact" | "cdr" | undefined;
|
279311
|
+
keyword?: string | null | undefined;
|
279309
279312
|
}, {
|
279310
|
-
group?: "general" | "contact" | undefined;
|
279311
|
-
keyword?: string | undefined;
|
279313
|
+
group?: "general" | "contact" | "cdr" | undefined;
|
279314
|
+
keyword?: string | null | undefined;
|
279312
279315
|
}>>;
|
279313
279316
|
responses: {
|
279314
279317
|
200: import("zod").ZodObject<{
|
@@ -308120,13 +308123,13 @@ export declare const generalTagSettingContract: {
|
|
308120
308123
|
createTag: {
|
308121
308124
|
body: import("zod").ZodObject<{
|
308122
308125
|
name: import("zod").ZodString;
|
308123
|
-
group: import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]>;
|
308126
|
+
group: import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"cdr">]>;
|
308124
308127
|
}, "strip", import("zod").ZodTypeAny, {
|
308125
308128
|
name: string;
|
308126
|
-
group: "general" | "contact";
|
308129
|
+
group: "general" | "contact" | "cdr";
|
308127
308130
|
}, {
|
308128
308131
|
name: string;
|
308129
|
-
group: "general" | "contact";
|
308132
|
+
group: "general" | "contact" | "cdr";
|
308130
308133
|
}>;
|
308131
308134
|
method: "POST";
|
308132
308135
|
responses: {
|
@@ -308202,14 +308205,14 @@ export declare const generalTagSettingContract: {
|
|
308202
308205
|
getTags: {
|
308203
308206
|
method: "GET";
|
308204
308207
|
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
308205
|
-
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]
|
308206
|
-
keyword: import("zod").ZodOptional<import("zod").ZodString
|
308208
|
+
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"cdr">]>>>>;
|
308209
|
+
keyword: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
308207
308210
|
}, "strip", import("zod").ZodTypeAny, {
|
308208
|
-
group?: "general" | "contact" | undefined;
|
308209
|
-
keyword?: string | undefined;
|
308211
|
+
group?: "general" | "contact" | "cdr" | undefined;
|
308212
|
+
keyword?: string | null | undefined;
|
308210
308213
|
}, {
|
308211
|
-
group?: "general" | "contact" | undefined;
|
308212
|
-
keyword?: string | undefined;
|
308214
|
+
group?: "general" | "contact" | "cdr" | undefined;
|
308215
|
+
keyword?: string | null | undefined;
|
308213
308216
|
}>>;
|
308214
308217
|
responses: {
|
308215
308218
|
200: import("zod").ZodObject<{
|
@@ -308424,13 +308427,13 @@ export declare const contactLabelSettingContract: {
|
|
308424
308427
|
createTag: {
|
308425
308428
|
body: import("zod").ZodObject<{
|
308426
308429
|
name: import("zod").ZodString;
|
308427
|
-
group: import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]>;
|
308430
|
+
group: import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"cdr">]>;
|
308428
308431
|
}, "strip", import("zod").ZodTypeAny, {
|
308429
308432
|
name: string;
|
308430
|
-
group: "general" | "contact";
|
308433
|
+
group: "general" | "contact" | "cdr";
|
308431
308434
|
}, {
|
308432
308435
|
name: string;
|
308433
|
-
group: "general" | "contact";
|
308436
|
+
group: "general" | "contact" | "cdr";
|
308434
308437
|
}>;
|
308435
308438
|
method: "POST";
|
308436
308439
|
responses: {
|
@@ -308506,14 +308509,14 @@ export declare const contactLabelSettingContract: {
|
|
308506
308509
|
getTags: {
|
308507
308510
|
method: "GET";
|
308508
308511
|
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
308509
|
-
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]
|
308510
|
-
keyword: import("zod").ZodOptional<import("zod").ZodString
|
308512
|
+
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"cdr">]>>>>;
|
308513
|
+
keyword: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
308511
308514
|
}, "strip", import("zod").ZodTypeAny, {
|
308512
|
-
group?: "general" | "contact" | undefined;
|
308513
|
-
keyword?: string | undefined;
|
308515
|
+
group?: "general" | "contact" | "cdr" | undefined;
|
308516
|
+
keyword?: string | null | undefined;
|
308514
308517
|
}, {
|
308515
|
-
group?: "general" | "contact" | undefined;
|
308516
|
-
keyword?: string | undefined;
|
308518
|
+
group?: "general" | "contact" | "cdr" | undefined;
|
308519
|
+
keyword?: string | null | undefined;
|
308517
308520
|
}>>;
|
308518
308521
|
responses: {
|
308519
308522
|
200: import("zod").ZodObject<{
|
@@ -330482,6 +330485,7 @@ export declare const laravelServiceTelephonyCdrContract: {
|
|
330482
330485
|
agentCallsOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
330483
330486
|
contactId: import("zod").ZodOptional<import("zod").ZodString>;
|
330484
330487
|
recordingsOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
330488
|
+
tagIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
330485
330489
|
}, "strip", import("zod").ZodTypeAny, {
|
330486
330490
|
page: number;
|
330487
330491
|
pageSize: number;
|
@@ -330497,6 +330501,7 @@ export declare const laravelServiceTelephonyCdrContract: {
|
|
330497
330501
|
agentCallsOnly?: boolean | undefined;
|
330498
330502
|
contactId?: string | undefined;
|
330499
330503
|
recordingsOnly?: boolean | undefined;
|
330504
|
+
tagIds?: string[] | undefined;
|
330500
330505
|
}, {
|
330501
330506
|
page?: number | undefined;
|
330502
330507
|
pageSize?: number | undefined;
|
@@ -330512,6 +330517,7 @@ export declare const laravelServiceTelephonyCdrContract: {
|
|
330512
330517
|
agentCallsOnly?: boolean | undefined;
|
330513
330518
|
contactId?: string | undefined;
|
330514
330519
|
recordingsOnly?: boolean | undefined;
|
330520
|
+
tagIds?: string[] | undefined;
|
330515
330521
|
}>;
|
330516
330522
|
responses: {
|
330517
330523
|
200: import("zod").ZodObject<{
|