@kl1/contracts 1.3.37 → 1.3.39

Sign up to get free protection for your applications and to get access to all the features.
@@ -333015,6 +333015,425 @@ export declare const presenceStatusContract: {
333015
333015
  'x-client-timezone'?: string | undefined;
333016
333016
  }>>>;
333017
333017
  };
333018
+ getAllUserPresenceStatus: {
333019
+ summary: "Get all users presence status";
333020
+ method: "GET";
333021
+ responses: {
333022
+ 200: import("zod").ZodArray<import("zod").ZodObject<{
333023
+ id: import("zod").ZodString;
333024
+ createdAt: import("zod").ZodDate;
333025
+ updatedAt: import("zod").ZodDate;
333026
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
333027
+ userId: import("zod").ZodString;
333028
+ user: import("zod").ZodObject<{
333029
+ name: import("zod").ZodString;
333030
+ id: import("zod").ZodString;
333031
+ address: import("zod").ZodNullable<import("zod").ZodString>;
333032
+ email: import("zod").ZodString;
333033
+ createdAt: import("zod").ZodDate;
333034
+ updatedAt: import("zod").ZodDate;
333035
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
333036
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
333037
+ password: import("zod").ZodString;
333038
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
333039
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
333040
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
333041
+ id: import("zod").ZodString;
333042
+ createdAt: import("zod").ZodDate;
333043
+ updatedAt: import("zod").ZodDate;
333044
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
333045
+ systemName: import("zod").ZodString;
333046
+ displayName: import("zod").ZodString;
333047
+ description: import("zod").ZodNullable<import("zod").ZodString>;
333048
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
333049
+ id: import("zod").ZodString;
333050
+ createdAt: import("zod").ZodDate;
333051
+ updatedAt: import("zod").ZodDate;
333052
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
333053
+ systemName: import("zod").ZodString;
333054
+ displayName: import("zod").ZodString;
333055
+ description: import("zod").ZodNullable<import("zod").ZodString>;
333056
+ }, "strip", import("zod").ZodTypeAny, {
333057
+ id: string;
333058
+ description: string | null;
333059
+ createdAt: Date;
333060
+ updatedAt: Date;
333061
+ deletedAt: Date | null;
333062
+ systemName: string;
333063
+ displayName: string;
333064
+ }, {
333065
+ id: string;
333066
+ description: string | null;
333067
+ createdAt: Date;
333068
+ updatedAt: Date;
333069
+ deletedAt: Date | null;
333070
+ systemName: string;
333071
+ displayName: string;
333072
+ }>, "many">;
333073
+ }, "strip", import("zod").ZodTypeAny, {
333074
+ id: string;
333075
+ description: string | null;
333076
+ createdAt: Date;
333077
+ updatedAt: Date;
333078
+ deletedAt: Date | null;
333079
+ systemName: string;
333080
+ displayName: string;
333081
+ permissions: {
333082
+ id: string;
333083
+ description: string | null;
333084
+ createdAt: Date;
333085
+ updatedAt: Date;
333086
+ deletedAt: Date | null;
333087
+ systemName: string;
333088
+ displayName: string;
333089
+ }[];
333090
+ }, {
333091
+ id: string;
333092
+ description: string | null;
333093
+ createdAt: Date;
333094
+ updatedAt: Date;
333095
+ deletedAt: Date | null;
333096
+ systemName: string;
333097
+ displayName: string;
333098
+ permissions: {
333099
+ id: string;
333100
+ description: string | null;
333101
+ createdAt: Date;
333102
+ updatedAt: Date;
333103
+ deletedAt: Date | null;
333104
+ systemName: string;
333105
+ displayName: string;
333106
+ }[];
333107
+ }>, "many">;
333108
+ extension: import("zod").ZodObject<{
333109
+ id: import("zod").ZodString;
333110
+ createdAt: import("zod").ZodDate;
333111
+ updatedAt: import("zod").ZodDate;
333112
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
333113
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
333114
+ sipServerUrl: import("zod").ZodString;
333115
+ sipUserName: import("zod").ZodString;
333116
+ webphoneLoginUser: import("zod").ZodString;
333117
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
333118
+ extensionName: import("zod").ZodString;
333119
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
333120
+ }, "strip", import("zod").ZodTypeAny, {
333121
+ id: string;
333122
+ createdAt: Date;
333123
+ updatedAt: Date;
333124
+ deletedAt: Date | null;
333125
+ userId: string | null;
333126
+ sipServerUrl: string;
333127
+ sipUserName: string;
333128
+ webphoneLoginUser: string;
333129
+ extensionId: string | null;
333130
+ extensionName: string;
333131
+ telephonySignature: string | null;
333132
+ }, {
333133
+ id: string;
333134
+ createdAt: Date;
333135
+ updatedAt: Date;
333136
+ deletedAt: Date | null;
333137
+ userId: string | null;
333138
+ sipServerUrl: string;
333139
+ sipUserName: string;
333140
+ webphoneLoginUser: string;
333141
+ extensionId: string | null;
333142
+ extensionName: string;
333143
+ telephonySignature: string | null;
333144
+ }>;
333145
+ }, "strip", import("zod").ZodTypeAny, {
333146
+ name: string;
333147
+ id: string;
333148
+ address: string | null;
333149
+ email: string;
333150
+ createdAt: Date;
333151
+ updatedAt: Date;
333152
+ deletedAt: Date | null;
333153
+ emailVerifiedAt: Date | null;
333154
+ password: string;
333155
+ phone: string | null;
333156
+ notificationCount: number | null;
333157
+ roles: {
333158
+ id: string;
333159
+ description: string | null;
333160
+ createdAt: Date;
333161
+ updatedAt: Date;
333162
+ deletedAt: Date | null;
333163
+ systemName: string;
333164
+ displayName: string;
333165
+ permissions: {
333166
+ id: string;
333167
+ description: string | null;
333168
+ createdAt: Date;
333169
+ updatedAt: Date;
333170
+ deletedAt: Date | null;
333171
+ systemName: string;
333172
+ displayName: string;
333173
+ }[];
333174
+ }[];
333175
+ extension: {
333176
+ id: string;
333177
+ createdAt: Date;
333178
+ updatedAt: Date;
333179
+ deletedAt: Date | null;
333180
+ userId: string | null;
333181
+ sipServerUrl: string;
333182
+ sipUserName: string;
333183
+ webphoneLoginUser: string;
333184
+ extensionId: string | null;
333185
+ extensionName: string;
333186
+ telephonySignature: string | null;
333187
+ };
333188
+ }, {
333189
+ name: string;
333190
+ id: string;
333191
+ address: string | null;
333192
+ email: string;
333193
+ createdAt: Date;
333194
+ updatedAt: Date;
333195
+ deletedAt: Date | null;
333196
+ emailVerifiedAt: Date | null;
333197
+ password: string;
333198
+ phone: string | null;
333199
+ notificationCount: number | null;
333200
+ roles: {
333201
+ id: string;
333202
+ description: string | null;
333203
+ createdAt: Date;
333204
+ updatedAt: Date;
333205
+ deletedAt: Date | null;
333206
+ systemName: string;
333207
+ displayName: string;
333208
+ permissions: {
333209
+ id: string;
333210
+ description: string | null;
333211
+ createdAt: Date;
333212
+ updatedAt: Date;
333213
+ deletedAt: Date | null;
333214
+ systemName: string;
333215
+ displayName: string;
333216
+ }[];
333217
+ }[];
333218
+ extension: {
333219
+ id: string;
333220
+ createdAt: Date;
333221
+ updatedAt: Date;
333222
+ deletedAt: Date | null;
333223
+ userId: string | null;
333224
+ sipServerUrl: string;
333225
+ sipUserName: string;
333226
+ webphoneLoginUser: string;
333227
+ extensionId: string | null;
333228
+ extensionName: string;
333229
+ telephonySignature: string | null;
333230
+ };
333231
+ }>;
333232
+ presenceStatus: import("zod").ZodObject<{
333233
+ id: import("zod").ZodString;
333234
+ createdAt: import("zod").ZodDate;
333235
+ updatedAt: import("zod").ZodDate;
333236
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
333237
+ systemName: import("zod").ZodString;
333238
+ displayName: import("zod").ZodString;
333239
+ description: import("zod").ZodNullable<import("zod").ZodString>;
333240
+ position: import("zod").ZodNumber;
333241
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
333242
+ presenceStatusOption: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"receive_call">, import("zod").ZodLiteral<"do_not_receive_call">, import("zod").ZodLiteral<"receive_chat_message">, import("zod").ZodLiteral<"do_not_receive_chat_message">]>, "many">;
333243
+ }, "strip", import("zod").ZodTypeAny, {
333244
+ emoji: string | null;
333245
+ id: string;
333246
+ position: number;
333247
+ description: string | null;
333248
+ createdAt: Date;
333249
+ updatedAt: Date;
333250
+ deletedAt: Date | null;
333251
+ systemName: string;
333252
+ displayName: string;
333253
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
333254
+ }, {
333255
+ emoji: string | null;
333256
+ id: string;
333257
+ position: number;
333258
+ description: string | null;
333259
+ createdAt: Date;
333260
+ updatedAt: Date;
333261
+ deletedAt: Date | null;
333262
+ systemName: string;
333263
+ displayName: string;
333264
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
333265
+ }>;
333266
+ }, "strip", import("zod").ZodTypeAny, {
333267
+ id: string;
333268
+ user: {
333269
+ name: string;
333270
+ id: string;
333271
+ address: string | null;
333272
+ email: string;
333273
+ createdAt: Date;
333274
+ updatedAt: Date;
333275
+ deletedAt: Date | null;
333276
+ emailVerifiedAt: Date | null;
333277
+ password: string;
333278
+ phone: string | null;
333279
+ notificationCount: number | null;
333280
+ roles: {
333281
+ id: string;
333282
+ description: string | null;
333283
+ createdAt: Date;
333284
+ updatedAt: Date;
333285
+ deletedAt: Date | null;
333286
+ systemName: string;
333287
+ displayName: string;
333288
+ permissions: {
333289
+ id: string;
333290
+ description: string | null;
333291
+ createdAt: Date;
333292
+ updatedAt: Date;
333293
+ deletedAt: Date | null;
333294
+ systemName: string;
333295
+ displayName: string;
333296
+ }[];
333297
+ }[];
333298
+ extension: {
333299
+ id: string;
333300
+ createdAt: Date;
333301
+ updatedAt: Date;
333302
+ deletedAt: Date | null;
333303
+ userId: string | null;
333304
+ sipServerUrl: string;
333305
+ sipUserName: string;
333306
+ webphoneLoginUser: string;
333307
+ extensionId: string | null;
333308
+ extensionName: string;
333309
+ telephonySignature: string | null;
333310
+ };
333311
+ };
333312
+ createdAt: Date;
333313
+ updatedAt: Date;
333314
+ deletedAt: Date | null;
333315
+ userId: string;
333316
+ presenceStatus: {
333317
+ emoji: string | null;
333318
+ id: string;
333319
+ position: number;
333320
+ description: string | null;
333321
+ createdAt: Date;
333322
+ updatedAt: Date;
333323
+ deletedAt: Date | null;
333324
+ systemName: string;
333325
+ displayName: string;
333326
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
333327
+ };
333328
+ }, {
333329
+ id: string;
333330
+ user: {
333331
+ name: string;
333332
+ id: string;
333333
+ address: string | null;
333334
+ email: string;
333335
+ createdAt: Date;
333336
+ updatedAt: Date;
333337
+ deletedAt: Date | null;
333338
+ emailVerifiedAt: Date | null;
333339
+ password: string;
333340
+ phone: string | null;
333341
+ notificationCount: number | null;
333342
+ roles: {
333343
+ id: string;
333344
+ description: string | null;
333345
+ createdAt: Date;
333346
+ updatedAt: Date;
333347
+ deletedAt: Date | null;
333348
+ systemName: string;
333349
+ displayName: string;
333350
+ permissions: {
333351
+ id: string;
333352
+ description: string | null;
333353
+ createdAt: Date;
333354
+ updatedAt: Date;
333355
+ deletedAt: Date | null;
333356
+ systemName: string;
333357
+ displayName: string;
333358
+ }[];
333359
+ }[];
333360
+ extension: {
333361
+ id: string;
333362
+ createdAt: Date;
333363
+ updatedAt: Date;
333364
+ deletedAt: Date | null;
333365
+ userId: string | null;
333366
+ sipServerUrl: string;
333367
+ sipUserName: string;
333368
+ webphoneLoginUser: string;
333369
+ extensionId: string | null;
333370
+ extensionName: string;
333371
+ telephonySignature: string | null;
333372
+ };
333373
+ };
333374
+ createdAt: Date;
333375
+ updatedAt: Date;
333376
+ deletedAt: Date | null;
333377
+ userId: string;
333378
+ presenceStatus: {
333379
+ emoji: string | null;
333380
+ id: string;
333381
+ position: number;
333382
+ description: string | null;
333383
+ createdAt: Date;
333384
+ updatedAt: Date;
333385
+ deletedAt: Date | null;
333386
+ systemName: string;
333387
+ displayName: string;
333388
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
333389
+ };
333390
+ }>, "many">;
333391
+ 400: import("zod").ZodObject<{
333392
+ message: import("zod").ZodString;
333393
+ }, "strip", import("zod").ZodTypeAny, {
333394
+ message: string;
333395
+ }, {
333396
+ message: string;
333397
+ }>;
333398
+ 401: import("zod").ZodObject<{
333399
+ message: import("zod").ZodString;
333400
+ error: import("zod").ZodAny;
333401
+ }, "strip", import("zod").ZodTypeAny, {
333402
+ message: string;
333403
+ error?: any;
333404
+ }, {
333405
+ message: string;
333406
+ error?: any;
333407
+ }>;
333408
+ 500: import("zod").ZodObject<{
333409
+ message: import("zod").ZodString;
333410
+ error: import("zod").ZodAny;
333411
+ }, "strip", import("zod").ZodTypeAny, {
333412
+ message: string;
333413
+ error?: any;
333414
+ }, {
333415
+ message: string;
333416
+ error?: any;
333417
+ }>;
333418
+ };
333419
+ path: "ms/presence_status/ps/user-presence-status";
333420
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
333421
+ 'x-tenant': import("zod").ZodString;
333422
+ 'x-service-token': import("zod").ZodString;
333423
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
333424
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
333425
+ }, "strip", import("zod").ZodTypeAny, {
333426
+ 'x-tenant': string;
333427
+ 'x-service-token': string;
333428
+ 'x-client-timezone': string;
333429
+ 'x-code'?: string | undefined;
333430
+ }, {
333431
+ 'x-tenant': string;
333432
+ 'x-service-token': string;
333433
+ 'x-code'?: string | undefined;
333434
+ 'x-client-timezone'?: string | undefined;
333435
+ }>>>;
333436
+ };
333018
333437
  createPresenceStatus: {
333019
333438
  body: import("zod").ZodObject<{
333020
333439
  systemName: import("zod").ZodString;