@kl1/contracts 1.0.90 → 1.0.92
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.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 +9 -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
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
@@ -158243,6 +158243,7 @@ export declare const telephonyContract: {
|
|
158243
158243
|
callFrom: import("zod").ZodOptional<import("zod").ZodString>;
|
158244
158244
|
callTo: import("zod").ZodOptional<import("zod").ZodString>;
|
158245
158245
|
trunk: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
158246
|
+
queueStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
158246
158247
|
}, "strip", import("zod").ZodTypeAny, {
|
158247
158248
|
page: number;
|
158248
158249
|
pageSize: number;
|
@@ -158252,6 +158253,7 @@ export declare const telephonyContract: {
|
|
158252
158253
|
callFrom?: string | undefined;
|
158253
158254
|
callTo?: string | undefined;
|
158254
158255
|
trunk?: string[] | undefined;
|
158256
|
+
queueStatus?: string | undefined;
|
158255
158257
|
}, {
|
158256
158258
|
page?: number | undefined;
|
158257
158259
|
pageSize?: number | undefined;
|
@@ -158261,6 +158263,7 @@ export declare const telephonyContract: {
|
|
158261
158263
|
callFrom?: string | undefined;
|
158262
158264
|
callTo?: string | undefined;
|
158263
158265
|
trunk?: string[] | undefined;
|
158266
|
+
queueStatus?: string | undefined;
|
158264
158267
|
}>;
|
158265
158268
|
responses: {
|
158266
158269
|
200: import("zod").ZodObject<{
|
@@ -160964,6 +160967,7 @@ export declare const telephonyContract: {
|
|
160964
160967
|
callFrom: import("zod").ZodOptional<import("zod").ZodString>;
|
160965
160968
|
callTo: import("zod").ZodOptional<import("zod").ZodString>;
|
160966
160969
|
trunk: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
160970
|
+
queueStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
160967
160971
|
}, "strip", import("zod").ZodTypeAny, {
|
160968
160972
|
page: number;
|
160969
160973
|
pageSize: number;
|
@@ -160973,6 +160977,7 @@ export declare const telephonyContract: {
|
|
160973
160977
|
callFrom?: string | undefined;
|
160974
160978
|
callTo?: string | undefined;
|
160975
160979
|
trunk?: string[] | undefined;
|
160980
|
+
queueStatus?: string | undefined;
|
160976
160981
|
}, {
|
160977
160982
|
page?: number | undefined;
|
160978
160983
|
pageSize?: number | undefined;
|
@@ -160982,6 +160987,7 @@ export declare const telephonyContract: {
|
|
160982
160987
|
callFrom?: string | undefined;
|
160983
160988
|
callTo?: string | undefined;
|
160984
160989
|
trunk?: string[] | undefined;
|
160990
|
+
queueStatus?: string | undefined;
|
160985
160991
|
}>;
|
160986
160992
|
responses: {
|
160987
160993
|
200: import("zod").ZodObject<{
|
@@ -166422,6 +166428,7 @@ export declare const telephonyContract: {
|
|
166422
166428
|
callTo: import("zod").ZodOptional<import("zod").ZodString>;
|
166423
166429
|
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
166424
166430
|
trunk: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
166431
|
+
queueStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
166425
166432
|
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
166426
166433
|
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
166427
166434
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -166431,6 +166438,7 @@ export declare const telephonyContract: {
|
|
166431
166438
|
callTo?: string | undefined;
|
166432
166439
|
selectedDate?: string | undefined;
|
166433
166440
|
trunk?: string[] | undefined;
|
166441
|
+
queueStatus?: string | undefined;
|
166434
166442
|
page?: number | undefined;
|
166435
166443
|
pageSize?: number | undefined;
|
166436
166444
|
}, {
|
@@ -166440,6 +166448,7 @@ export declare const telephonyContract: {
|
|
166440
166448
|
callTo?: string | undefined;
|
166441
166449
|
selectedDate?: string | undefined;
|
166442
166450
|
trunk?: string[] | undefined;
|
166451
|
+
queueStatus?: string | undefined;
|
166443
166452
|
page?: number | undefined;
|
166444
166453
|
pageSize?: number | undefined;
|
166445
166454
|
}>;
|