@kl1/contracts 1.0.89 → 1.0.91
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 +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +9 -0
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +3 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +5 -5
- package/dist/src/chat/validation.d.ts +5 -5
- package/dist/src/contract.d.ts +18 -0
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +9 -0
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +6 -0
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -2393,6 +2393,7 @@ export declare const channelContract: {
|
|
2393
2393
|
}>;
|
2394
2394
|
platformId: z.ZodString;
|
2395
2395
|
connectedUserId: z.ZodString;
|
2396
|
+
connectedUserName: z.ZodOptional<z.ZodString>;
|
2396
2397
|
}, "strip", z.ZodTypeAny, {
|
2397
2398
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2398
2399
|
name: string;
|
@@ -2405,6 +2406,7 @@ export declare const channelContract: {
|
|
2405
2406
|
};
|
2406
2407
|
platformId: string;
|
2407
2408
|
connectedUserId: string;
|
2409
|
+
connectedUserName?: string | undefined;
|
2408
2410
|
}, {
|
2409
2411
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2410
2412
|
name: string;
|
@@ -2417,6 +2419,7 @@ export declare const channelContract: {
|
|
2417
2419
|
};
|
2418
2420
|
platformId: string;
|
2419
2421
|
connectedUserId: string;
|
2422
|
+
connectedUserName?: string | undefined;
|
2420
2423
|
}>;
|
2421
2424
|
summary: "Relogin message channel";
|
2422
2425
|
method: "POST";
|
@@ -3162,6 +3165,7 @@ export declare const channelContract: {
|
|
3162
3165
|
}>;
|
3163
3166
|
platformId: z.ZodString;
|
3164
3167
|
connectedUserId: z.ZodString;
|
3168
|
+
connectedUserName: z.ZodOptional<z.ZodString>;
|
3165
3169
|
}, "strip", z.ZodTypeAny, {
|
3166
3170
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3167
3171
|
name: string;
|
@@ -3174,6 +3178,7 @@ export declare const channelContract: {
|
|
3174
3178
|
};
|
3175
3179
|
platformId: string;
|
3176
3180
|
connectedUserId: string;
|
3181
|
+
connectedUserName?: string | undefined;
|
3177
3182
|
}, {
|
3178
3183
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3179
3184
|
name: string;
|
@@ -3186,6 +3191,7 @@ export declare const channelContract: {
|
|
3186
3191
|
};
|
3187
3192
|
platformId: string;
|
3188
3193
|
connectedUserId: string;
|
3194
|
+
connectedUserName?: string | undefined;
|
3189
3195
|
}>;
|
3190
3196
|
summary: "Connect message channel";
|
3191
3197
|
method: "POST";
|
@@ -4492,6 +4498,7 @@ export declare const channelContract: {
|
|
4492
4498
|
}>;
|
4493
4499
|
platformId: z.ZodString;
|
4494
4500
|
connectedUserId: z.ZodString;
|
4501
|
+
connectedUserName: z.ZodOptional<z.ZodString>;
|
4495
4502
|
}, "strip", z.ZodTypeAny, {
|
4496
4503
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
4497
4504
|
name: string;
|
@@ -4504,6 +4511,7 @@ export declare const channelContract: {
|
|
4504
4511
|
};
|
4505
4512
|
platformId: string;
|
4506
4513
|
connectedUserId: string;
|
4514
|
+
connectedUserName?: string | undefined;
|
4507
4515
|
}, {
|
4508
4516
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
4509
4517
|
name: string;
|
@@ -4516,6 +4524,7 @@ export declare const channelContract: {
|
|
4516
4524
|
};
|
4517
4525
|
platformId: string;
|
4518
4526
|
connectedUserId: string;
|
4527
|
+
connectedUserName?: string | undefined;
|
4519
4528
|
}>;
|
4520
4529
|
summary: "Connect message channel";
|
4521
4530
|
method: "POST";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/channel/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAUpB,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGzC,OAAO,EACL,oBAAoB,EAEpB,yBAAyB,EACzB,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC1E,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACpD,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,yBAAyB,CACjC,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AA2GjE,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/channel/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAUpB,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGzC,OAAO,EACL,oBAAoB,EAEpB,yBAAyB,EACzB,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC1E,MAAM,MAAM,OAAO,GAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsG3B,CAAC"}
|
@@ -23,6 +23,7 @@ export declare const ConnectChannelSchema: z.ZodObject<{
|
|
23
23
|
}>;
|
24
24
|
platformId: z.ZodString;
|
25
25
|
connectedUserId: z.ZodString;
|
26
|
+
connectedUserName: z.ZodOptional<z.ZodString>;
|
26
27
|
}, "strip", z.ZodTypeAny, {
|
27
28
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
28
29
|
name: string;
|
@@ -35,6 +36,7 @@ export declare const ConnectChannelSchema: z.ZodObject<{
|
|
35
36
|
};
|
36
37
|
platformId: string;
|
37
38
|
connectedUserId: string;
|
39
|
+
connectedUserName?: string | undefined;
|
38
40
|
}, {
|
39
41
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
40
42
|
name: string;
|
@@ -47,6 +49,7 @@ export declare const ConnectChannelSchema: z.ZodObject<{
|
|
47
49
|
};
|
48
50
|
platformId: string;
|
49
51
|
connectedUserId: string;
|
52
|
+
connectedUserName?: string | undefined;
|
50
53
|
}>;
|
51
54
|
export declare const ConnectLineChannelSchema: z.ZodObject<{
|
52
55
|
lineId: z.ZodOptional<z.ZodString>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/channel/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,oBAAoB
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/channel/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO/B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;EAMnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAC"}
|
package/dist/src/chat/index.d.ts
CHANGED
@@ -32,7 +32,7 @@ export declare const receiveMessageContract: {
|
|
32
32
|
metadata: z.ZodAny;
|
33
33
|
platformId: z.ZodString;
|
34
34
|
platformMessageId: z.ZodString;
|
35
|
-
replyPlatformMessageId: z.
|
35
|
+
replyPlatformMessageId: z.ZodNullable<z.ZodString>;
|
36
36
|
template: z.ZodAny;
|
37
37
|
locale: z.ZodNullable<z.ZodEnum<["mm", "en", "th", ""]>>;
|
38
38
|
url: z.ZodOptional<z.ZodString>;
|
@@ -3101,10 +3101,10 @@ export declare const receiveMessageContract: {
|
|
3101
3101
|
} | undefined;
|
3102
3102
|
} | null;
|
3103
3103
|
platformMessageId: string;
|
3104
|
+
replyPlatformMessageId: string | null;
|
3104
3105
|
locale: "" | "th" | "mm" | "en" | null;
|
3105
3106
|
message?: string | undefined;
|
3106
3107
|
metadata?: any;
|
3107
|
-
replyPlatformMessageId?: string | undefined;
|
3108
3108
|
template?: any;
|
3109
3109
|
url?: string | undefined;
|
3110
3110
|
previewUrl?: string | undefined;
|
@@ -3534,10 +3534,10 @@ export declare const receiveMessageContract: {
|
|
3534
3534
|
} | undefined;
|
3535
3535
|
} | null;
|
3536
3536
|
platformMessageId: string;
|
3537
|
+
replyPlatformMessageId: string | null;
|
3537
3538
|
locale: "" | "th" | "mm" | "en" | null;
|
3538
3539
|
message?: string | undefined;
|
3539
3540
|
metadata?: any;
|
3540
|
-
replyPlatformMessageId?: string | undefined;
|
3541
3541
|
template?: any;
|
3542
3542
|
url?: string | undefined;
|
3543
3543
|
previewUrl?: string | undefined;
|
@@ -3969,10 +3969,10 @@ export declare const receiveMessageContract: {
|
|
3969
3969
|
} | undefined;
|
3970
3970
|
} | null;
|
3971
3971
|
platformMessageId: string;
|
3972
|
+
replyPlatformMessageId: string | null;
|
3972
3973
|
locale: "" | "th" | "mm" | "en" | null;
|
3973
3974
|
message?: string | undefined;
|
3974
3975
|
metadata?: any;
|
3975
|
-
replyPlatformMessageId?: string | undefined;
|
3976
3976
|
template?: any;
|
3977
3977
|
url?: string | undefined;
|
3978
3978
|
previewUrl?: string | undefined;
|
@@ -4404,10 +4404,10 @@ export declare const receiveMessageContract: {
|
|
4404
4404
|
} | undefined;
|
4405
4405
|
} | null;
|
4406
4406
|
platformMessageId: string;
|
4407
|
+
replyPlatformMessageId: string | null;
|
4407
4408
|
locale: "" | "th" | "mm" | "en" | null;
|
4408
4409
|
message?: string | undefined;
|
4409
4410
|
metadata?: any;
|
4410
|
-
replyPlatformMessageId?: string | undefined;
|
4411
4411
|
template?: any;
|
4412
4412
|
url?: string | undefined;
|
4413
4413
|
previewUrl?: string | undefined;
|
@@ -8292,7 +8292,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8292
8292
|
metadata: z.ZodAny;
|
8293
8293
|
platformId: z.ZodString;
|
8294
8294
|
platformMessageId: z.ZodString;
|
8295
|
-
replyPlatformMessageId: z.
|
8295
|
+
replyPlatformMessageId: z.ZodNullable<z.ZodString>;
|
8296
8296
|
template: z.ZodAny;
|
8297
8297
|
locale: z.ZodNullable<z.ZodEnum<["mm", "en", "th", ""]>>;
|
8298
8298
|
url: z.ZodOptional<z.ZodString>;
|
@@ -11361,10 +11361,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11361
11361
|
} | undefined;
|
11362
11362
|
} | null;
|
11363
11363
|
platformMessageId: string;
|
11364
|
+
replyPlatformMessageId: string | null;
|
11364
11365
|
locale: "" | "th" | "mm" | "en" | null;
|
11365
11366
|
message?: string | undefined;
|
11366
11367
|
metadata?: any;
|
11367
|
-
replyPlatformMessageId?: string | undefined;
|
11368
11368
|
template?: any;
|
11369
11369
|
url?: string | undefined;
|
11370
11370
|
previewUrl?: string | undefined;
|
@@ -11794,10 +11794,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11794
11794
|
} | undefined;
|
11795
11795
|
} | null;
|
11796
11796
|
platformMessageId: string;
|
11797
|
+
replyPlatformMessageId: string | null;
|
11797
11798
|
locale: "" | "th" | "mm" | "en" | null;
|
11798
11799
|
message?: string | undefined;
|
11799
11800
|
metadata?: any;
|
11800
|
-
replyPlatformMessageId?: string | undefined;
|
11801
11801
|
template?: any;
|
11802
11802
|
url?: string | undefined;
|
11803
11803
|
previewUrl?: string | undefined;
|
@@ -12229,10 +12229,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12229
12229
|
} | undefined;
|
12230
12230
|
} | null;
|
12231
12231
|
platformMessageId: string;
|
12232
|
+
replyPlatformMessageId: string | null;
|
12232
12233
|
locale: "" | "th" | "mm" | "en" | null;
|
12233
12234
|
message?: string | undefined;
|
12234
12235
|
metadata?: any;
|
12235
|
-
replyPlatformMessageId?: string | undefined;
|
12236
12236
|
template?: any;
|
12237
12237
|
url?: string | undefined;
|
12238
12238
|
previewUrl?: string | undefined;
|
@@ -12664,10 +12664,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12664
12664
|
} | undefined;
|
12665
12665
|
} | null;
|
12666
12666
|
platformMessageId: string;
|
12667
|
+
replyPlatformMessageId: string | null;
|
12667
12668
|
locale: "" | "th" | "mm" | "en" | null;
|
12668
12669
|
message?: string | undefined;
|
12669
12670
|
metadata?: any;
|
12670
|
-
replyPlatformMessageId?: string | undefined;
|
12671
12671
|
template?: any;
|
12672
12672
|
url?: string | undefined;
|
12673
12673
|
previewUrl?: string | undefined;
|
package/dist/src/contract.d.ts
CHANGED
@@ -32206,6 +32206,7 @@ export declare const apiContract: {
|
|
32206
32206
|
}>;
|
32207
32207
|
platformId: import("zod").ZodString;
|
32208
32208
|
connectedUserId: import("zod").ZodString;
|
32209
|
+
connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
|
32209
32210
|
}, "strip", import("zod").ZodTypeAny, {
|
32210
32211
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
32211
32212
|
name: string;
|
@@ -32218,6 +32219,7 @@ export declare const apiContract: {
|
|
32218
32219
|
};
|
32219
32220
|
platformId: string;
|
32220
32221
|
connectedUserId: string;
|
32222
|
+
connectedUserName?: string | undefined;
|
32221
32223
|
}, {
|
32222
32224
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
32223
32225
|
name: string;
|
@@ -32230,6 +32232,7 @@ export declare const apiContract: {
|
|
32230
32232
|
};
|
32231
32233
|
platformId: string;
|
32232
32234
|
connectedUserId: string;
|
32235
|
+
connectedUserName?: string | undefined;
|
32233
32236
|
}>;
|
32234
32237
|
summary: "Relogin message channel";
|
32235
32238
|
method: "POST";
|
@@ -32975,6 +32978,7 @@ export declare const apiContract: {
|
|
32975
32978
|
}>;
|
32976
32979
|
platformId: import("zod").ZodString;
|
32977
32980
|
connectedUserId: import("zod").ZodString;
|
32981
|
+
connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
|
32978
32982
|
}, "strip", import("zod").ZodTypeAny, {
|
32979
32983
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
32980
32984
|
name: string;
|
@@ -32987,6 +32991,7 @@ export declare const apiContract: {
|
|
32987
32991
|
};
|
32988
32992
|
platformId: string;
|
32989
32993
|
connectedUserId: string;
|
32994
|
+
connectedUserName?: string | undefined;
|
32990
32995
|
}, {
|
32991
32996
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
32992
32997
|
name: string;
|
@@ -32999,6 +33004,7 @@ export declare const apiContract: {
|
|
32999
33004
|
};
|
33000
33005
|
platformId: string;
|
33001
33006
|
connectedUserId: string;
|
33007
|
+
connectedUserName?: string | undefined;
|
33002
33008
|
}>;
|
33003
33009
|
summary: "Connect message channel";
|
33004
33010
|
method: "POST";
|
@@ -34305,6 +34311,7 @@ export declare const apiContract: {
|
|
34305
34311
|
}>;
|
34306
34312
|
platformId: import("zod").ZodString;
|
34307
34313
|
connectedUserId: import("zod").ZodString;
|
34314
|
+
connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
|
34308
34315
|
}, "strip", import("zod").ZodTypeAny, {
|
34309
34316
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
34310
34317
|
name: string;
|
@@ -34317,6 +34324,7 @@ export declare const apiContract: {
|
|
34317
34324
|
};
|
34318
34325
|
platformId: string;
|
34319
34326
|
connectedUserId: string;
|
34327
|
+
connectedUserName?: string | undefined;
|
34320
34328
|
}, {
|
34321
34329
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
34322
34330
|
name: string;
|
@@ -34329,6 +34337,7 @@ export declare const apiContract: {
|
|
34329
34337
|
};
|
34330
34338
|
platformId: string;
|
34331
34339
|
connectedUserId: string;
|
34340
|
+
connectedUserName?: string | undefined;
|
34332
34341
|
}>;
|
34333
34342
|
summary: "Connect message channel";
|
34334
34343
|
method: "POST";
|
@@ -158234,6 +158243,7 @@ export declare const telephonyContract: {
|
|
158234
158243
|
callFrom: import("zod").ZodOptional<import("zod").ZodString>;
|
158235
158244
|
callTo: import("zod").ZodOptional<import("zod").ZodString>;
|
158236
158245
|
trunk: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
158246
|
+
queueStatus: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
158237
158247
|
}, "strip", import("zod").ZodTypeAny, {
|
158238
158248
|
page: number;
|
158239
158249
|
pageSize: number;
|
@@ -158243,6 +158253,7 @@ export declare const telephonyContract: {
|
|
158243
158253
|
callFrom?: string | undefined;
|
158244
158254
|
callTo?: string | undefined;
|
158245
158255
|
trunk?: string[] | undefined;
|
158256
|
+
queueStatus?: boolean | undefined;
|
158246
158257
|
}, {
|
158247
158258
|
page?: number | undefined;
|
158248
158259
|
pageSize?: number | undefined;
|
@@ -158252,6 +158263,7 @@ export declare const telephonyContract: {
|
|
158252
158263
|
callFrom?: string | undefined;
|
158253
158264
|
callTo?: string | undefined;
|
158254
158265
|
trunk?: string[] | undefined;
|
158266
|
+
queueStatus?: boolean | undefined;
|
158255
158267
|
}>;
|
158256
158268
|
responses: {
|
158257
158269
|
200: import("zod").ZodObject<{
|
@@ -160955,6 +160967,7 @@ export declare const telephonyContract: {
|
|
160955
160967
|
callFrom: import("zod").ZodOptional<import("zod").ZodString>;
|
160956
160968
|
callTo: import("zod").ZodOptional<import("zod").ZodString>;
|
160957
160969
|
trunk: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
160970
|
+
queueStatus: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
160958
160971
|
}, "strip", import("zod").ZodTypeAny, {
|
160959
160972
|
page: number;
|
160960
160973
|
pageSize: number;
|
@@ -160964,6 +160977,7 @@ export declare const telephonyContract: {
|
|
160964
160977
|
callFrom?: string | undefined;
|
160965
160978
|
callTo?: string | undefined;
|
160966
160979
|
trunk?: string[] | undefined;
|
160980
|
+
queueStatus?: boolean | undefined;
|
160967
160981
|
}, {
|
160968
160982
|
page?: number | undefined;
|
160969
160983
|
pageSize?: number | undefined;
|
@@ -160973,6 +160987,7 @@ export declare const telephonyContract: {
|
|
160973
160987
|
callFrom?: string | undefined;
|
160974
160988
|
callTo?: string | undefined;
|
160975
160989
|
trunk?: string[] | undefined;
|
160990
|
+
queueStatus?: boolean | undefined;
|
160976
160991
|
}>;
|
160977
160992
|
responses: {
|
160978
160993
|
200: import("zod").ZodObject<{
|
@@ -166413,6 +166428,7 @@ export declare const telephonyContract: {
|
|
166413
166428
|
callTo: import("zod").ZodOptional<import("zod").ZodString>;
|
166414
166429
|
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
166415
166430
|
trunk: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
166431
|
+
queueStatus: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
166416
166432
|
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
166417
166433
|
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
166418
166434
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -166422,6 +166438,7 @@ export declare const telephonyContract: {
|
|
166422
166438
|
callTo?: string | undefined;
|
166423
166439
|
selectedDate?: string | undefined;
|
166424
166440
|
trunk?: string[] | undefined;
|
166441
|
+
queueStatus?: boolean | undefined;
|
166425
166442
|
page?: number | undefined;
|
166426
166443
|
pageSize?: number | undefined;
|
166427
166444
|
}, {
|
@@ -166431,6 +166448,7 @@ export declare const telephonyContract: {
|
|
166431
166448
|
callTo?: string | undefined;
|
166432
166449
|
selectedDate?: string | undefined;
|
166433
166450
|
trunk?: string[] | undefined;
|
166451
|
+
queueStatus?: boolean | undefined;
|
166434
166452
|
page?: number | undefined;
|
166435
166453
|
pageSize?: number | undefined;
|
166436
166454
|
}>;
|