@kl1/contracts 1.1.53-uat → 1.1.54-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 +28 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -0
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +295 -0
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +45 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/role/index.d.ts +125 -0
- package/dist/src/role/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -9620,6 +9620,51 @@ export declare const apiContract: {
|
|
9620
9620
|
'x-client-timezone'?: string | undefined;
|
9621
9621
|
}>>>;
|
9622
9622
|
};
|
9623
|
+
syncSla: {
|
9624
|
+
body: null;
|
9625
|
+
summary: "Export cx-logs";
|
9626
|
+
method: "POST";
|
9627
|
+
responses: {
|
9628
|
+
200: null;
|
9629
|
+
401: import("zod").ZodObject<{
|
9630
|
+
message: import("zod").ZodString;
|
9631
|
+
error: import("zod").ZodAny;
|
9632
|
+
}, "strip", import("zod").ZodTypeAny, {
|
9633
|
+
message: string;
|
9634
|
+
error?: any;
|
9635
|
+
}, {
|
9636
|
+
message: string;
|
9637
|
+
error?: any;
|
9638
|
+
}>;
|
9639
|
+
500: import("zod").ZodObject<{
|
9640
|
+
message: import("zod").ZodString;
|
9641
|
+
error: import("zod").ZodAny;
|
9642
|
+
}, "strip", import("zod").ZodTypeAny, {
|
9643
|
+
message: string;
|
9644
|
+
error?: any;
|
9645
|
+
}, {
|
9646
|
+
message: string;
|
9647
|
+
error?: any;
|
9648
|
+
}>;
|
9649
|
+
};
|
9650
|
+
path: "/cx-logs/sync-sla";
|
9651
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
9652
|
+
'x-tenant': import("zod").ZodString;
|
9653
|
+
authorization: import("zod").ZodString;
|
9654
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
9655
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
9656
|
+
}, "strip", import("zod").ZodTypeAny, {
|
9657
|
+
'x-tenant': string;
|
9658
|
+
authorization: string;
|
9659
|
+
'x-client-timezone': string;
|
9660
|
+
'x-code'?: string | undefined;
|
9661
|
+
}, {
|
9662
|
+
'x-tenant': string;
|
9663
|
+
authorization: string;
|
9664
|
+
'x-code'?: string | undefined;
|
9665
|
+
'x-client-timezone'?: string | undefined;
|
9666
|
+
}>>>;
|
9667
|
+
};
|
9623
9668
|
updateSla: {
|
9624
9669
|
body: import("zod").ZodObject<{
|
9625
9670
|
roomId: import("zod").ZodString;
|
@@ -12262,6 +12307,131 @@ export declare const apiContract: {
|
|
12262
12307
|
'x-client-timezone'?: string | undefined;
|
12263
12308
|
}>>>;
|
12264
12309
|
};
|
12310
|
+
getRoleById: {
|
12311
|
+
summary: "Get role by Id";
|
12312
|
+
method: "GET";
|
12313
|
+
pathParams: import("zod").ZodObject<{
|
12314
|
+
id: import("zod").ZodString;
|
12315
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12316
|
+
id: string;
|
12317
|
+
}, {
|
12318
|
+
id: string;
|
12319
|
+
}>;
|
12320
|
+
responses: {
|
12321
|
+
200: import("zod").ZodObject<{
|
12322
|
+
id: import("zod").ZodString;
|
12323
|
+
createdAt: import("zod").ZodDate;
|
12324
|
+
updatedAt: import("zod").ZodDate;
|
12325
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
12326
|
+
systemName: import("zod").ZodString;
|
12327
|
+
displayName: import("zod").ZodString;
|
12328
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
12329
|
+
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
12330
|
+
id: import("zod").ZodString;
|
12331
|
+
createdAt: import("zod").ZodDate;
|
12332
|
+
updatedAt: import("zod").ZodDate;
|
12333
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
12334
|
+
systemName: import("zod").ZodString;
|
12335
|
+
displayName: import("zod").ZodString;
|
12336
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
12337
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12338
|
+
id: string;
|
12339
|
+
description: string | null;
|
12340
|
+
createdAt: Date;
|
12341
|
+
updatedAt: Date;
|
12342
|
+
deletedAt: Date | null;
|
12343
|
+
systemName: string;
|
12344
|
+
displayName: string;
|
12345
|
+
}, {
|
12346
|
+
id: string;
|
12347
|
+
description: string | null;
|
12348
|
+
createdAt: Date;
|
12349
|
+
updatedAt: Date;
|
12350
|
+
deletedAt: Date | null;
|
12351
|
+
systemName: string;
|
12352
|
+
displayName: string;
|
12353
|
+
}>, "many">;
|
12354
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12355
|
+
id: string;
|
12356
|
+
description: string | null;
|
12357
|
+
createdAt: Date;
|
12358
|
+
updatedAt: Date;
|
12359
|
+
deletedAt: Date | null;
|
12360
|
+
systemName: string;
|
12361
|
+
displayName: string;
|
12362
|
+
permissions: {
|
12363
|
+
id: string;
|
12364
|
+
description: string | null;
|
12365
|
+
createdAt: Date;
|
12366
|
+
updatedAt: Date;
|
12367
|
+
deletedAt: Date | null;
|
12368
|
+
systemName: string;
|
12369
|
+
displayName: string;
|
12370
|
+
}[];
|
12371
|
+
}, {
|
12372
|
+
id: string;
|
12373
|
+
description: string | null;
|
12374
|
+
createdAt: Date;
|
12375
|
+
updatedAt: Date;
|
12376
|
+
deletedAt: Date | null;
|
12377
|
+
systemName: string;
|
12378
|
+
displayName: string;
|
12379
|
+
permissions: {
|
12380
|
+
id: string;
|
12381
|
+
description: string | null;
|
12382
|
+
createdAt: Date;
|
12383
|
+
updatedAt: Date;
|
12384
|
+
deletedAt: Date | null;
|
12385
|
+
systemName: string;
|
12386
|
+
displayName: string;
|
12387
|
+
}[];
|
12388
|
+
}>;
|
12389
|
+
400: import("zod").ZodObject<{
|
12390
|
+
message: import("zod").ZodString;
|
12391
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12392
|
+
message: string;
|
12393
|
+
}, {
|
12394
|
+
message: string;
|
12395
|
+
}>;
|
12396
|
+
401: import("zod").ZodObject<{
|
12397
|
+
message: import("zod").ZodString;
|
12398
|
+
error: import("zod").ZodAny;
|
12399
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12400
|
+
message: string;
|
12401
|
+
error?: any;
|
12402
|
+
}, {
|
12403
|
+
message: string;
|
12404
|
+
error?: any;
|
12405
|
+
}>;
|
12406
|
+
500: import("zod").ZodObject<{
|
12407
|
+
message: import("zod").ZodString;
|
12408
|
+
error: import("zod").ZodAny;
|
12409
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12410
|
+
message: string;
|
12411
|
+
error?: any;
|
12412
|
+
}, {
|
12413
|
+
message: string;
|
12414
|
+
error?: any;
|
12415
|
+
}>;
|
12416
|
+
};
|
12417
|
+
path: "role/:id";
|
12418
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
12419
|
+
'x-tenant': import("zod").ZodString;
|
12420
|
+
authorization: import("zod").ZodString;
|
12421
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
12422
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
12423
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12424
|
+
'x-tenant': string;
|
12425
|
+
authorization: string;
|
12426
|
+
'x-client-timezone': string;
|
12427
|
+
'x-code'?: string | undefined;
|
12428
|
+
}, {
|
12429
|
+
'x-tenant': string;
|
12430
|
+
authorization: string;
|
12431
|
+
'x-code'?: string | undefined;
|
12432
|
+
'x-client-timezone'?: string | undefined;
|
12433
|
+
}>>>;
|
12434
|
+
};
|
12265
12435
|
};
|
12266
12436
|
user: {
|
12267
12437
|
createUser: {
|
@@ -352704,6 +352874,131 @@ export declare const roleSettingContract: {
|
|
352704
352874
|
'x-client-timezone'?: string | undefined;
|
352705
352875
|
}>>>;
|
352706
352876
|
};
|
352877
|
+
getRoleById: {
|
352878
|
+
summary: "Get role by Id";
|
352879
|
+
method: "GET";
|
352880
|
+
pathParams: import("zod").ZodObject<{
|
352881
|
+
id: import("zod").ZodString;
|
352882
|
+
}, "strip", import("zod").ZodTypeAny, {
|
352883
|
+
id: string;
|
352884
|
+
}, {
|
352885
|
+
id: string;
|
352886
|
+
}>;
|
352887
|
+
responses: {
|
352888
|
+
200: import("zod").ZodObject<{
|
352889
|
+
id: import("zod").ZodString;
|
352890
|
+
createdAt: import("zod").ZodDate;
|
352891
|
+
updatedAt: import("zod").ZodDate;
|
352892
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
352893
|
+
systemName: import("zod").ZodString;
|
352894
|
+
displayName: import("zod").ZodString;
|
352895
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
352896
|
+
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
352897
|
+
id: import("zod").ZodString;
|
352898
|
+
createdAt: import("zod").ZodDate;
|
352899
|
+
updatedAt: import("zod").ZodDate;
|
352900
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
352901
|
+
systemName: import("zod").ZodString;
|
352902
|
+
displayName: import("zod").ZodString;
|
352903
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
352904
|
+
}, "strip", import("zod").ZodTypeAny, {
|
352905
|
+
id: string;
|
352906
|
+
description: string | null;
|
352907
|
+
createdAt: Date;
|
352908
|
+
updatedAt: Date;
|
352909
|
+
deletedAt: Date | null;
|
352910
|
+
systemName: string;
|
352911
|
+
displayName: string;
|
352912
|
+
}, {
|
352913
|
+
id: string;
|
352914
|
+
description: string | null;
|
352915
|
+
createdAt: Date;
|
352916
|
+
updatedAt: Date;
|
352917
|
+
deletedAt: Date | null;
|
352918
|
+
systemName: string;
|
352919
|
+
displayName: string;
|
352920
|
+
}>, "many">;
|
352921
|
+
}, "strip", import("zod").ZodTypeAny, {
|
352922
|
+
id: string;
|
352923
|
+
description: string | null;
|
352924
|
+
createdAt: Date;
|
352925
|
+
updatedAt: Date;
|
352926
|
+
deletedAt: Date | null;
|
352927
|
+
systemName: string;
|
352928
|
+
displayName: string;
|
352929
|
+
permissions: {
|
352930
|
+
id: string;
|
352931
|
+
description: string | null;
|
352932
|
+
createdAt: Date;
|
352933
|
+
updatedAt: Date;
|
352934
|
+
deletedAt: Date | null;
|
352935
|
+
systemName: string;
|
352936
|
+
displayName: string;
|
352937
|
+
}[];
|
352938
|
+
}, {
|
352939
|
+
id: string;
|
352940
|
+
description: string | null;
|
352941
|
+
createdAt: Date;
|
352942
|
+
updatedAt: Date;
|
352943
|
+
deletedAt: Date | null;
|
352944
|
+
systemName: string;
|
352945
|
+
displayName: string;
|
352946
|
+
permissions: {
|
352947
|
+
id: string;
|
352948
|
+
description: string | null;
|
352949
|
+
createdAt: Date;
|
352950
|
+
updatedAt: Date;
|
352951
|
+
deletedAt: Date | null;
|
352952
|
+
systemName: string;
|
352953
|
+
displayName: string;
|
352954
|
+
}[];
|
352955
|
+
}>;
|
352956
|
+
400: import("zod").ZodObject<{
|
352957
|
+
message: import("zod").ZodString;
|
352958
|
+
}, "strip", import("zod").ZodTypeAny, {
|
352959
|
+
message: string;
|
352960
|
+
}, {
|
352961
|
+
message: string;
|
352962
|
+
}>;
|
352963
|
+
401: import("zod").ZodObject<{
|
352964
|
+
message: import("zod").ZodString;
|
352965
|
+
error: import("zod").ZodAny;
|
352966
|
+
}, "strip", import("zod").ZodTypeAny, {
|
352967
|
+
message: string;
|
352968
|
+
error?: any;
|
352969
|
+
}, {
|
352970
|
+
message: string;
|
352971
|
+
error?: any;
|
352972
|
+
}>;
|
352973
|
+
500: import("zod").ZodObject<{
|
352974
|
+
message: import("zod").ZodString;
|
352975
|
+
error: import("zod").ZodAny;
|
352976
|
+
}, "strip", import("zod").ZodTypeAny, {
|
352977
|
+
message: string;
|
352978
|
+
error?: any;
|
352979
|
+
}, {
|
352980
|
+
message: string;
|
352981
|
+
error?: any;
|
352982
|
+
}>;
|
352983
|
+
};
|
352984
|
+
path: "settings/role/:id";
|
352985
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
352986
|
+
'x-tenant': import("zod").ZodString;
|
352987
|
+
authorization: import("zod").ZodString;
|
352988
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
352989
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
352990
|
+
}, "strip", import("zod").ZodTypeAny, {
|
352991
|
+
'x-tenant': string;
|
352992
|
+
authorization: string;
|
352993
|
+
'x-client-timezone': string;
|
352994
|
+
'x-code'?: string | undefined;
|
352995
|
+
}, {
|
352996
|
+
'x-tenant': string;
|
352997
|
+
authorization: string;
|
352998
|
+
'x-code'?: string | undefined;
|
352999
|
+
'x-client-timezone'?: string | undefined;
|
353000
|
+
}>>>;
|
353001
|
+
};
|
352707
353002
|
};
|
352708
353003
|
};
|
352709
353004
|
export declare const permissionSettingContract: {
|