@kl1/contracts 1.3.32 → 1.3.34

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.
Files changed (24) hide show
  1. package/dist/api-contracts/src/botpress/index.d.ts +3 -3
  2. package/dist/api-contracts/src/channel/index.d.ts +10 -10
  3. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/contract.d.ts +1067 -501
  5. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  6. package/dist/api-contracts/src/presence-status/index.d.ts +542 -50
  7. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  8. package/dist/api-contracts/src/presence-status/schema.d.ts +385 -10
  9. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/presence-status/validation.d.ts +30 -12
  11. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  12. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +85 -34
  13. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +25 -10
  15. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  16. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +40 -16
  17. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +50 -20
  19. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  20. package/dist/index.js +77 -42
  21. package/dist/index.js.map +1 -1
  22. package/dist/index.mjs +77 -42
  23. package/dist/index.mjs.map +1 -1
  24. package/package.json +1 -1
@@ -763,7 +763,7 @@ export declare const apiContract: {
763
763
  requestId: string;
764
764
  }>;
765
765
  };
766
- path: "ms//channel";
766
+ path: "ms/channel";
767
767
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
768
768
  'x-tenant': import("zod").ZodString;
769
769
  'x-service-token': import("zod").ZodString;
@@ -1180,7 +1180,7 @@ export declare const apiContract: {
1180
1180
  error?: any;
1181
1181
  }>;
1182
1182
  };
1183
- path: "ms/ms/channel/disconnect/:channelId";
1183
+ path: "ms/channel/disconnect/:channelId";
1184
1184
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1185
1185
  'x-tenant': import("zod").ZodString;
1186
1186
  'x-service-token': import("zod").ZodString;
@@ -1972,7 +1972,7 @@ export declare const apiContract: {
1972
1972
  error?: any;
1973
1973
  }>;
1974
1974
  };
1975
- path: "ms/ms/channel/delete/:channelId";
1975
+ path: "ms/channel/delete/:channelId";
1976
1976
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1977
1977
  'x-tenant': import("zod").ZodString;
1978
1978
  'x-service-token': import("zod").ZodString;
@@ -2770,7 +2770,7 @@ export declare const apiContract: {
2770
2770
  error?: any;
2771
2771
  }>;
2772
2772
  };
2773
- path: "ms/ms/channel/rename/:channelId";
2773
+ path: "ms/channel/rename/:channelId";
2774
2774
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2775
2775
  'x-tenant': import("zod").ZodString;
2776
2776
  'x-service-token': import("zod").ZodString;
@@ -3568,7 +3568,7 @@ export declare const apiContract: {
3568
3568
  error?: any;
3569
3569
  }>;
3570
3570
  };
3571
- path: "ms/ms/channel/reconnect/:channelId";
3571
+ path: "ms/channel/reconnect/:channelId";
3572
3572
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
3573
3573
  'x-tenant': import("zod").ZodString;
3574
3574
  'x-service-token': import("zod").ZodString;
@@ -4558,7 +4558,7 @@ export declare const apiContract: {
4558
4558
  error?: any;
4559
4559
  }>;
4560
4560
  };
4561
- path: "ms/ms/channel/relogin";
4561
+ path: "ms/channel/relogin";
4562
4562
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
4563
4563
  'x-tenant': import("zod").ZodString;
4564
4564
  'x-service-token': import("zod").ZodString;
@@ -4616,7 +4616,7 @@ export declare const apiContract: {
4616
4616
  error?: any;
4617
4617
  }>;
4618
4618
  };
4619
- path: "ms/ms/channel/check-new-tenant";
4619
+ path: "ms/channel/check-new-tenant";
4620
4620
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
4621
4621
  'x-tenant': import("zod").ZodString;
4622
4622
  'x-service-token': import("zod").ZodString;
@@ -4669,7 +4669,7 @@ export declare const apiContract: {
4669
4669
  error?: any;
4670
4670
  }>;
4671
4671
  };
4672
- path: "ms/ms/channel/update-new-tenant";
4672
+ path: "ms/channel/update-new-tenant";
4673
4673
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
4674
4674
  'x-tenant': import("zod").ZodString;
4675
4675
  'x-service-token': import("zod").ZodString;
@@ -34421,25 +34421,34 @@ export declare const apiContract: {
34421
34421
  createdAt: import("zod").ZodDate;
34422
34422
  updatedAt: import("zod").ZodDate;
34423
34423
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
34424
- status: import("zod").ZodString;
34425
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
34424
+ systemName: import("zod").ZodString;
34425
+ displayName: import("zod").ZodString;
34426
+ description: import("zod").ZodNullable<import("zod").ZodString>;
34426
34427
  position: import("zod").ZodNumber;
34428
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
34429
+ 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">;
34427
34430
  }, "strip", import("zod").ZodTypeAny, {
34431
+ emoji: string | null;
34428
34432
  id: string;
34429
34433
  position: number;
34430
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34431
- status: string;
34434
+ description: string | null;
34432
34435
  createdAt: Date;
34433
34436
  updatedAt: Date;
34434
34437
  deletedAt: Date | null;
34438
+ systemName: string;
34439
+ displayName: string;
34440
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
34435
34441
  }, {
34442
+ emoji: string | null;
34436
34443
  id: string;
34437
34444
  position: number;
34438
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34439
- status: string;
34445
+ description: string | null;
34440
34446
  createdAt: Date;
34441
34447
  updatedAt: Date;
34442
34448
  deletedAt: Date | null;
34449
+ systemName: string;
34450
+ displayName: string;
34451
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
34443
34452
  }>;
34444
34453
  customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
34445
34454
  }, "strip", import("zod").ZodTypeAny, {
@@ -34492,13 +34501,16 @@ export declare const apiContract: {
34492
34501
  updatedAt: Date;
34493
34502
  deletedAt: Date | null;
34494
34503
  presenceStatus: {
34504
+ emoji: string | null;
34495
34505
  id: string;
34496
34506
  position: number;
34497
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34498
- status: string;
34507
+ description: string | null;
34499
34508
  createdAt: Date;
34500
34509
  updatedAt: Date;
34501
34510
  deletedAt: Date | null;
34511
+ systemName: string;
34512
+ displayName: string;
34513
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
34502
34514
  };
34503
34515
  customPresenceStatus?: string | null | undefined;
34504
34516
  }, {
@@ -34551,13 +34563,16 @@ export declare const apiContract: {
34551
34563
  updatedAt: Date;
34552
34564
  deletedAt: Date | null;
34553
34565
  presenceStatus: {
34566
+ emoji: string | null;
34554
34567
  id: string;
34555
34568
  position: number;
34556
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34557
- status: string;
34569
+ description: string | null;
34558
34570
  createdAt: Date;
34559
34571
  updatedAt: Date;
34560
34572
  deletedAt: Date | null;
34573
+ systemName: string;
34574
+ displayName: string;
34575
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
34561
34576
  };
34562
34577
  customPresenceStatus?: string | null | undefined;
34563
34578
  }>, "many">;
@@ -34832,25 +34847,34 @@ export declare const apiContract: {
34832
34847
  createdAt: import("zod").ZodDate;
34833
34848
  updatedAt: import("zod").ZodDate;
34834
34849
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
34835
- status: import("zod").ZodString;
34836
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
34850
+ systemName: import("zod").ZodString;
34851
+ displayName: import("zod").ZodString;
34852
+ description: import("zod").ZodNullable<import("zod").ZodString>;
34837
34853
  position: import("zod").ZodNumber;
34854
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
34855
+ 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">;
34838
34856
  }, "strip", import("zod").ZodTypeAny, {
34857
+ emoji: string | null;
34839
34858
  id: string;
34840
34859
  position: number;
34841
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34842
- status: string;
34860
+ description: string | null;
34843
34861
  createdAt: Date;
34844
34862
  updatedAt: Date;
34845
34863
  deletedAt: Date | null;
34864
+ systemName: string;
34865
+ displayName: string;
34866
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
34846
34867
  }, {
34868
+ emoji: string | null;
34847
34869
  id: string;
34848
34870
  position: number;
34849
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34850
- status: string;
34871
+ description: string | null;
34851
34872
  createdAt: Date;
34852
34873
  updatedAt: Date;
34853
34874
  deletedAt: Date | null;
34875
+ systemName: string;
34876
+ displayName: string;
34877
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
34854
34878
  }>;
34855
34879
  customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
34856
34880
  }, "strip", import("zod").ZodTypeAny, {
@@ -34903,13 +34927,16 @@ export declare const apiContract: {
34903
34927
  updatedAt: Date;
34904
34928
  deletedAt: Date | null;
34905
34929
  presenceStatus: {
34930
+ emoji: string | null;
34906
34931
  id: string;
34907
34932
  position: number;
34908
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34909
- status: string;
34933
+ description: string | null;
34910
34934
  createdAt: Date;
34911
34935
  updatedAt: Date;
34912
34936
  deletedAt: Date | null;
34937
+ systemName: string;
34938
+ displayName: string;
34939
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
34913
34940
  };
34914
34941
  customPresenceStatus?: string | null | undefined;
34915
34942
  }, {
@@ -34962,13 +34989,16 @@ export declare const apiContract: {
34962
34989
  updatedAt: Date;
34963
34990
  deletedAt: Date | null;
34964
34991
  presenceStatus: {
34992
+ emoji: string | null;
34965
34993
  id: string;
34966
34994
  position: number;
34967
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34968
- status: string;
34995
+ description: string | null;
34969
34996
  createdAt: Date;
34970
34997
  updatedAt: Date;
34971
34998
  deletedAt: Date | null;
34999
+ systemName: string;
35000
+ displayName: string;
35001
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
34972
35002
  };
34973
35003
  customPresenceStatus?: string | null | undefined;
34974
35004
  }>;
@@ -35254,25 +35284,34 @@ export declare const apiContract: {
35254
35284
  createdAt: import("zod").ZodDate;
35255
35285
  updatedAt: import("zod").ZodDate;
35256
35286
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
35257
- status: import("zod").ZodString;
35258
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
35287
+ systemName: import("zod").ZodString;
35288
+ displayName: import("zod").ZodString;
35289
+ description: import("zod").ZodNullable<import("zod").ZodString>;
35259
35290
  position: import("zod").ZodNumber;
35291
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
35292
+ 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">;
35260
35293
  }, "strip", import("zod").ZodTypeAny, {
35294
+ emoji: string | null;
35261
35295
  id: string;
35262
35296
  position: number;
35263
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35264
- status: string;
35297
+ description: string | null;
35265
35298
  createdAt: Date;
35266
35299
  updatedAt: Date;
35267
35300
  deletedAt: Date | null;
35301
+ systemName: string;
35302
+ displayName: string;
35303
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35268
35304
  }, {
35305
+ emoji: string | null;
35269
35306
  id: string;
35270
35307
  position: number;
35271
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35272
- status: string;
35308
+ description: string | null;
35273
35309
  createdAt: Date;
35274
35310
  updatedAt: Date;
35275
35311
  deletedAt: Date | null;
35312
+ systemName: string;
35313
+ displayName: string;
35314
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35276
35315
  }>;
35277
35316
  customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
35278
35317
  }, "strip", import("zod").ZodTypeAny, {
@@ -35325,13 +35364,16 @@ export declare const apiContract: {
35325
35364
  updatedAt: Date;
35326
35365
  deletedAt: Date | null;
35327
35366
  presenceStatus: {
35367
+ emoji: string | null;
35328
35368
  id: string;
35329
35369
  position: number;
35330
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35331
- status: string;
35370
+ description: string | null;
35332
35371
  createdAt: Date;
35333
35372
  updatedAt: Date;
35334
35373
  deletedAt: Date | null;
35374
+ systemName: string;
35375
+ displayName: string;
35376
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35335
35377
  };
35336
35378
  customPresenceStatus?: string | null | undefined;
35337
35379
  }, {
@@ -35384,13 +35426,16 @@ export declare const apiContract: {
35384
35426
  updatedAt: Date;
35385
35427
  deletedAt: Date | null;
35386
35428
  presenceStatus: {
35429
+ emoji: string | null;
35387
35430
  id: string;
35388
35431
  position: number;
35389
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35390
- status: string;
35432
+ description: string | null;
35391
35433
  createdAt: Date;
35392
35434
  updatedAt: Date;
35393
35435
  deletedAt: Date | null;
35436
+ systemName: string;
35437
+ displayName: string;
35438
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35394
35439
  };
35395
35440
  customPresenceStatus?: string | null | undefined;
35396
35441
  }>;
@@ -35446,13 +35491,16 @@ export declare const apiContract: {
35446
35491
  updatedAt: Date;
35447
35492
  deletedAt: Date | null;
35448
35493
  presenceStatus: {
35494
+ emoji: string | null;
35449
35495
  id: string;
35450
35496
  position: number;
35451
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35452
- status: string;
35497
+ description: string | null;
35453
35498
  createdAt: Date;
35454
35499
  updatedAt: Date;
35455
35500
  deletedAt: Date | null;
35501
+ systemName: string;
35502
+ displayName: string;
35503
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35456
35504
  };
35457
35505
  customPresenceStatus?: string | null | undefined;
35458
35506
  };
@@ -35508,13 +35556,16 @@ export declare const apiContract: {
35508
35556
  updatedAt: Date;
35509
35557
  deletedAt: Date | null;
35510
35558
  presenceStatus: {
35559
+ emoji: string | null;
35511
35560
  id: string;
35512
35561
  position: number;
35513
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35514
- status: string;
35562
+ description: string | null;
35515
35563
  createdAt: Date;
35516
35564
  updatedAt: Date;
35517
35565
  deletedAt: Date | null;
35566
+ systemName: string;
35567
+ displayName: string;
35568
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35518
35569
  };
35519
35570
  customPresenceStatus?: string | null | undefined;
35520
35571
  };
@@ -35640,234 +35691,258 @@ export declare const apiContract: {
35640
35691
  updatedAt: Date;
35641
35692
  deletedAt: Date | null;
35642
35693
  previousPresenceStatus: {
35694
+ emoji: string | null;
35643
35695
  id: string;
35644
35696
  position: number;
35645
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35646
- status: string;
35647
- createdAt: Date;
35648
- updatedAt: Date;
35649
- deletedAt: Date | null;
35650
- };
35651
- newPresenceStatus: {
35652
- id: string;
35653
- position: number;
35654
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35655
- status: string;
35656
- createdAt: Date;
35657
- updatedAt: Date;
35658
- deletedAt: Date | null;
35659
- };
35660
- }, import("zod").ZodTypeDef, {
35661
- reason: string;
35662
- id: string;
35663
- user: {
35664
- name: string;
35665
- id: string;
35666
- address: string | null;
35667
- email: string;
35668
- createdAt: Date;
35669
- updatedAt: Date;
35670
- deletedAt: Date | null;
35671
- emailVerifiedAt: Date | null;
35672
- password: string;
35673
- phone: string | null;
35674
- notificationCount: number | null;
35675
- roles: {
35676
- id: string;
35677
- description: string | null;
35678
- createdAt: Date;
35679
- updatedAt: Date;
35680
- deletedAt: Date | null;
35681
- systemName: string;
35682
- displayName: string;
35683
- permissions: {
35684
- id: string;
35685
- description: string | null;
35686
- createdAt: Date;
35687
- updatedAt: Date;
35688
- deletedAt: Date | null;
35689
- systemName: string;
35690
- displayName: string;
35691
- }[];
35692
- }[];
35693
- extension: {
35694
- id: string;
35695
- createdAt: Date;
35696
- updatedAt: Date;
35697
- deletedAt: Date | null;
35698
- userId: string | null;
35699
- sipServerUrl: string;
35700
- sipUserName: string;
35701
- webphoneLoginUser: string;
35702
- extensionId: string | null;
35703
- extensionName: string;
35704
- telephonySignature: string | null;
35705
- };
35706
- };
35707
- createdAt: Date;
35708
- updatedAt: Date;
35709
- deletedAt: Date | null;
35710
- previousPresenceStatus: {
35711
- id: string;
35712
- position: number;
35713
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35714
- status: string;
35715
- createdAt: Date;
35716
- updatedAt: Date;
35717
- deletedAt: Date | null;
35718
- };
35719
- newPresenceStatus: {
35720
- id: string;
35721
- position: number;
35722
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35723
- status: string;
35724
- createdAt: Date;
35725
- updatedAt: Date;
35726
- deletedAt: Date | null;
35727
- };
35728
- }>, "many">;
35729
- }, "strip", import("zod").ZodTypeAny, {
35730
- data: {
35731
- reason: string;
35732
- id: string;
35733
- user: {
35734
- name: string;
35735
- id: string;
35736
- address: string | null;
35737
- email: string;
35738
- createdAt: Date;
35739
- updatedAt: Date;
35740
- deletedAt: Date | null;
35741
- emailVerifiedAt: Date | null;
35742
- password: string;
35743
- phone: string | null;
35744
- notificationCount: number | null;
35745
- roles: {
35746
- id: string;
35747
- description: string | null;
35748
- createdAt: Date;
35749
- updatedAt: Date;
35750
- deletedAt: Date | null;
35751
- systemName: string;
35752
- displayName: string;
35753
- permissions: {
35754
- id: string;
35755
- description: string | null;
35756
- createdAt: Date;
35757
- updatedAt: Date;
35758
- deletedAt: Date | null;
35759
- systemName: string;
35760
- displayName: string;
35761
- }[];
35762
- }[];
35763
- extension: {
35764
- id: string;
35765
- createdAt: Date;
35766
- updatedAt: Date;
35767
- deletedAt: Date | null;
35768
- userId: string | null;
35769
- sipServerUrl: string;
35770
- sipUserName: string;
35771
- webphoneLoginUser: string;
35772
- extensionId: string | null;
35773
- extensionName: string;
35774
- telephonySignature: string | null;
35775
- };
35776
- };
35777
- createdAt: Date;
35778
- updatedAt: Date;
35779
- deletedAt: Date | null;
35780
- previousPresenceStatus: {
35781
- id: string;
35782
- position: number;
35783
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35784
- status: string;
35785
- createdAt: Date;
35786
- updatedAt: Date;
35787
- deletedAt: Date | null;
35788
- };
35789
- newPresenceStatus: {
35790
- id: string;
35791
- position: number;
35792
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35793
- status: string;
35794
- createdAt: Date;
35795
- updatedAt: Date;
35796
- deletedAt: Date | null;
35797
- };
35798
- }[];
35799
- total: number;
35800
- page: number;
35801
- pageSize: number;
35802
- lastPage?: number | null | undefined;
35803
- }, {
35804
- data: {
35805
- reason: string;
35806
- id: string;
35807
- user: {
35808
- name: string;
35809
- id: string;
35810
- address: string | null;
35811
- email: string;
35812
- createdAt: Date;
35813
- updatedAt: Date;
35814
- deletedAt: Date | null;
35815
- emailVerifiedAt: Date | null;
35816
- password: string;
35817
- phone: string | null;
35818
- notificationCount: number | null;
35819
- roles: {
35820
- id: string;
35821
- description: string | null;
35822
- createdAt: Date;
35823
- updatedAt: Date;
35824
- deletedAt: Date | null;
35825
- systemName: string;
35826
- displayName: string;
35827
- permissions: {
35828
- id: string;
35829
- description: string | null;
35830
- createdAt: Date;
35831
- updatedAt: Date;
35832
- deletedAt: Date | null;
35833
- systemName: string;
35834
- displayName: string;
35835
- }[];
35836
- }[];
35837
- extension: {
35838
- id: string;
35839
- createdAt: Date;
35840
- updatedAt: Date;
35841
- deletedAt: Date | null;
35842
- userId: string | null;
35843
- sipServerUrl: string;
35844
- sipUserName: string;
35845
- webphoneLoginUser: string;
35846
- extensionId: string | null;
35847
- extensionName: string;
35848
- telephonySignature: string | null;
35849
- };
35850
- };
35851
- createdAt: Date;
35852
- updatedAt: Date;
35853
- deletedAt: Date | null;
35854
- previousPresenceStatus: {
35855
- id: string;
35856
- position: number;
35857
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35858
- status: string;
35697
+ description: string | null;
35859
35698
  createdAt: Date;
35860
35699
  updatedAt: Date;
35861
35700
  deletedAt: Date | null;
35701
+ systemName: string;
35702
+ displayName: string;
35703
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35862
35704
  };
35863
35705
  newPresenceStatus: {
35706
+ emoji: string | null;
35864
35707
  id: string;
35865
35708
  position: number;
35866
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35867
- status: string;
35709
+ description: string | null;
35710
+ createdAt: Date;
35711
+ updatedAt: Date;
35712
+ deletedAt: Date | null;
35713
+ systemName: string;
35714
+ displayName: string;
35715
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35716
+ };
35717
+ }, import("zod").ZodTypeDef, {
35718
+ reason: string;
35719
+ id: string;
35720
+ user: {
35721
+ name: string;
35722
+ id: string;
35723
+ address: string | null;
35724
+ email: string;
35725
+ createdAt: Date;
35726
+ updatedAt: Date;
35727
+ deletedAt: Date | null;
35728
+ emailVerifiedAt: Date | null;
35729
+ password: string;
35730
+ phone: string | null;
35731
+ notificationCount: number | null;
35732
+ roles: {
35733
+ id: string;
35734
+ description: string | null;
35735
+ createdAt: Date;
35736
+ updatedAt: Date;
35737
+ deletedAt: Date | null;
35738
+ systemName: string;
35739
+ displayName: string;
35740
+ permissions: {
35741
+ id: string;
35742
+ description: string | null;
35743
+ createdAt: Date;
35744
+ updatedAt: Date;
35745
+ deletedAt: Date | null;
35746
+ systemName: string;
35747
+ displayName: string;
35748
+ }[];
35749
+ }[];
35750
+ extension: {
35751
+ id: string;
35752
+ createdAt: Date;
35753
+ updatedAt: Date;
35754
+ deletedAt: Date | null;
35755
+ userId: string | null;
35756
+ sipServerUrl: string;
35757
+ sipUserName: string;
35758
+ webphoneLoginUser: string;
35759
+ extensionId: string | null;
35760
+ extensionName: string;
35761
+ telephonySignature: string | null;
35762
+ };
35763
+ };
35764
+ createdAt: Date;
35765
+ updatedAt: Date;
35766
+ deletedAt: Date | null;
35767
+ previousPresenceStatus: {
35768
+ emoji: string | null;
35769
+ id: string;
35770
+ position: number;
35771
+ description: string | null;
35772
+ createdAt: Date;
35773
+ updatedAt: Date;
35774
+ deletedAt: Date | null;
35775
+ systemName: string;
35776
+ displayName: string;
35777
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35778
+ };
35779
+ newPresenceStatus: {
35780
+ emoji: string | null;
35781
+ id: string;
35782
+ position: number;
35783
+ description: string | null;
35784
+ createdAt: Date;
35785
+ updatedAt: Date;
35786
+ deletedAt: Date | null;
35787
+ systemName: string;
35788
+ displayName: string;
35789
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35790
+ };
35791
+ }>, "many">;
35792
+ }, "strip", import("zod").ZodTypeAny, {
35793
+ data: {
35794
+ reason: string;
35795
+ id: string;
35796
+ user: {
35797
+ name: string;
35798
+ id: string;
35799
+ address: string | null;
35800
+ email: string;
35801
+ createdAt: Date;
35802
+ updatedAt: Date;
35803
+ deletedAt: Date | null;
35804
+ emailVerifiedAt: Date | null;
35805
+ password: string;
35806
+ phone: string | null;
35807
+ notificationCount: number | null;
35808
+ roles: {
35809
+ id: string;
35810
+ description: string | null;
35811
+ createdAt: Date;
35812
+ updatedAt: Date;
35813
+ deletedAt: Date | null;
35814
+ systemName: string;
35815
+ displayName: string;
35816
+ permissions: {
35817
+ id: string;
35818
+ description: string | null;
35819
+ createdAt: Date;
35820
+ updatedAt: Date;
35821
+ deletedAt: Date | null;
35822
+ systemName: string;
35823
+ displayName: string;
35824
+ }[];
35825
+ }[];
35826
+ extension: {
35827
+ id: string;
35828
+ createdAt: Date;
35829
+ updatedAt: Date;
35830
+ deletedAt: Date | null;
35831
+ userId: string | null;
35832
+ sipServerUrl: string;
35833
+ sipUserName: string;
35834
+ webphoneLoginUser: string;
35835
+ extensionId: string | null;
35836
+ extensionName: string;
35837
+ telephonySignature: string | null;
35838
+ };
35839
+ };
35840
+ createdAt: Date;
35841
+ updatedAt: Date;
35842
+ deletedAt: Date | null;
35843
+ previousPresenceStatus: {
35844
+ emoji: string | null;
35845
+ id: string;
35846
+ position: number;
35847
+ description: string | null;
35848
+ createdAt: Date;
35849
+ updatedAt: Date;
35850
+ deletedAt: Date | null;
35851
+ systemName: string;
35852
+ displayName: string;
35853
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35854
+ };
35855
+ newPresenceStatus: {
35856
+ emoji: string | null;
35857
+ id: string;
35858
+ position: number;
35859
+ description: string | null;
35860
+ createdAt: Date;
35861
+ updatedAt: Date;
35862
+ deletedAt: Date | null;
35863
+ systemName: string;
35864
+ displayName: string;
35865
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35866
+ };
35867
+ }[];
35868
+ total: number;
35869
+ page: number;
35870
+ pageSize: number;
35871
+ lastPage?: number | null | undefined;
35872
+ }, {
35873
+ data: {
35874
+ reason: string;
35875
+ id: string;
35876
+ user: {
35877
+ name: string;
35878
+ id: string;
35879
+ address: string | null;
35880
+ email: string;
35881
+ createdAt: Date;
35882
+ updatedAt: Date;
35883
+ deletedAt: Date | null;
35884
+ emailVerifiedAt: Date | null;
35885
+ password: string;
35886
+ phone: string | null;
35887
+ notificationCount: number | null;
35888
+ roles: {
35889
+ id: string;
35890
+ description: string | null;
35891
+ createdAt: Date;
35892
+ updatedAt: Date;
35893
+ deletedAt: Date | null;
35894
+ systemName: string;
35895
+ displayName: string;
35896
+ permissions: {
35897
+ id: string;
35898
+ description: string | null;
35899
+ createdAt: Date;
35900
+ updatedAt: Date;
35901
+ deletedAt: Date | null;
35902
+ systemName: string;
35903
+ displayName: string;
35904
+ }[];
35905
+ }[];
35906
+ extension: {
35907
+ id: string;
35908
+ createdAt: Date;
35909
+ updatedAt: Date;
35910
+ deletedAt: Date | null;
35911
+ userId: string | null;
35912
+ sipServerUrl: string;
35913
+ sipUserName: string;
35914
+ webphoneLoginUser: string;
35915
+ extensionId: string | null;
35916
+ extensionName: string;
35917
+ telephonySignature: string | null;
35918
+ };
35919
+ };
35920
+ createdAt: Date;
35921
+ updatedAt: Date;
35922
+ deletedAt: Date | null;
35923
+ previousPresenceStatus: {
35924
+ emoji: string | null;
35925
+ id: string;
35926
+ position: number;
35927
+ description: string | null;
35868
35928
  createdAt: Date;
35869
35929
  updatedAt: Date;
35870
35930
  deletedAt: Date | null;
35931
+ systemName: string;
35932
+ displayName: string;
35933
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35934
+ };
35935
+ newPresenceStatus: {
35936
+ emoji: string | null;
35937
+ id: string;
35938
+ position: number;
35939
+ description: string | null;
35940
+ createdAt: Date;
35941
+ updatedAt: Date;
35942
+ deletedAt: Date | null;
35943
+ systemName: string;
35944
+ displayName: string;
35945
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
35871
35946
  };
35872
35947
  }[];
35873
35948
  total: number;
@@ -193953,7 +194028,7 @@ export declare const platformBotpressContract: {
193953
194028
  error?: any;
193954
194029
  }>;
193955
194030
  };
193956
- path: "/bots/";
194031
+ path: "bots/";
193957
194032
  };
193958
194033
  getBots: {
193959
194034
  method: "GET";
@@ -194009,7 +194084,7 @@ export declare const platformBotpressContract: {
194009
194084
  error?: any;
194010
194085
  }>;
194011
194086
  };
194012
- path: "/bots/";
194087
+ path: "bots/";
194013
194088
  };
194014
194089
  sendMessage: {
194015
194090
  body: import("zod").ZodObject<{
@@ -194226,7 +194301,7 @@ export declare const platformBotpressContract: {
194226
194301
  error?: any;
194227
194302
  }>;
194228
194303
  };
194229
- path: "/bots/send-message";
194304
+ path: "bots/send-message";
194230
194305
  };
194231
194306
  };
194232
194307
  };
@@ -310755,7 +310830,7 @@ export declare const channelSettingContract: {
310755
310830
  requestId: string;
310756
310831
  }>;
310757
310832
  };
310758
- path: "ms/settings//channel";
310833
+ path: "ms/settings/channel";
310759
310834
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
310760
310835
  'x-tenant': import("zod").ZodString;
310761
310836
  'x-service-token': import("zod").ZodString;
@@ -311172,7 +311247,7 @@ export declare const channelSettingContract: {
311172
311247
  error?: any;
311173
311248
  }>;
311174
311249
  };
311175
- path: "ms/settings/ms/channel/disconnect/:channelId";
311250
+ path: "ms/settings/channel/disconnect/:channelId";
311176
311251
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
311177
311252
  'x-tenant': import("zod").ZodString;
311178
311253
  'x-service-token': import("zod").ZodString;
@@ -311964,7 +312039,7 @@ export declare const channelSettingContract: {
311964
312039
  error?: any;
311965
312040
  }>;
311966
312041
  };
311967
- path: "ms/settings/ms/channel/delete/:channelId";
312042
+ path: "ms/settings/channel/delete/:channelId";
311968
312043
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
311969
312044
  'x-tenant': import("zod").ZodString;
311970
312045
  'x-service-token': import("zod").ZodString;
@@ -312762,7 +312837,7 @@ export declare const channelSettingContract: {
312762
312837
  error?: any;
312763
312838
  }>;
312764
312839
  };
312765
- path: "ms/settings/ms/channel/rename/:channelId";
312840
+ path: "ms/settings/channel/rename/:channelId";
312766
312841
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
312767
312842
  'x-tenant': import("zod").ZodString;
312768
312843
  'x-service-token': import("zod").ZodString;
@@ -313560,7 +313635,7 @@ export declare const channelSettingContract: {
313560
313635
  error?: any;
313561
313636
  }>;
313562
313637
  };
313563
- path: "ms/settings/ms/channel/reconnect/:channelId";
313638
+ path: "ms/settings/channel/reconnect/:channelId";
313564
313639
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
313565
313640
  'x-tenant': import("zod").ZodString;
313566
313641
  'x-service-token': import("zod").ZodString;
@@ -314550,7 +314625,7 @@ export declare const channelSettingContract: {
314550
314625
  error?: any;
314551
314626
  }>;
314552
314627
  };
314553
- path: "ms/settings/ms/channel/relogin";
314628
+ path: "ms/settings/channel/relogin";
314554
314629
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
314555
314630
  'x-tenant': import("zod").ZodString;
314556
314631
  'x-service-token': import("zod").ZodString;
@@ -314608,7 +314683,7 @@ export declare const channelSettingContract: {
314608
314683
  error?: any;
314609
314684
  }>;
314610
314685
  };
314611
- path: "ms/settings/ms/channel/check-new-tenant";
314686
+ path: "ms/settings/channel/check-new-tenant";
314612
314687
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
314613
314688
  'x-tenant': import("zod").ZodString;
314614
314689
  'x-service-token': import("zod").ZodString;
@@ -314661,7 +314736,7 @@ export declare const channelSettingContract: {
314661
314736
  error?: any;
314662
314737
  }>;
314663
314738
  };
314664
- path: "ms/settings/ms/channel/update-new-tenant";
314739
+ path: "ms/settings/channel/update-new-tenant";
314665
314740
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
314666
314741
  'x-tenant': import("zod").ZodString;
314667
314742
  'x-service-token': import("zod").ZodString;
@@ -326288,8 +326363,622 @@ export declare const memberSettingContract: {
326288
326363
  telephonySignature: string | null;
326289
326364
  };
326290
326365
  };
326291
- requestId: string;
326366
+ requestId: string;
326367
+ }, {
326368
+ user: {
326369
+ name: string;
326370
+ id: string;
326371
+ address: string | null;
326372
+ email: string;
326373
+ createdAt: Date;
326374
+ updatedAt: Date;
326375
+ deletedAt: Date | null;
326376
+ emailVerifiedAt: Date | null;
326377
+ password: string;
326378
+ phone: string | null;
326379
+ notificationCount: number | null;
326380
+ roles: {
326381
+ id: string;
326382
+ description: string | null;
326383
+ createdAt: Date;
326384
+ updatedAt: Date;
326385
+ deletedAt: Date | null;
326386
+ systemName: string;
326387
+ displayName: string;
326388
+ permissions: {
326389
+ id: string;
326390
+ description: string | null;
326391
+ createdAt: Date;
326392
+ updatedAt: Date;
326393
+ deletedAt: Date | null;
326394
+ systemName: string;
326395
+ displayName: string;
326396
+ }[];
326397
+ }[];
326398
+ extension: {
326399
+ id: string;
326400
+ createdAt: Date;
326401
+ updatedAt: Date;
326402
+ deletedAt: Date | null;
326403
+ userId: string | null;
326404
+ sipServerUrl: string;
326405
+ sipUserName: string;
326406
+ webphoneLoginUser: string;
326407
+ extensionId: string | null;
326408
+ extensionName: string;
326409
+ telephonySignature: string | null;
326410
+ };
326411
+ };
326412
+ requestId: string;
326413
+ }>;
326414
+ 400: import("zod").ZodObject<{
326415
+ message: import("zod").ZodString;
326416
+ }, "strip", import("zod").ZodTypeAny, {
326417
+ message: string;
326418
+ }, {
326419
+ message: string;
326420
+ }>;
326421
+ 401: import("zod").ZodObject<{
326422
+ message: import("zod").ZodString;
326423
+ error: import("zod").ZodAny;
326424
+ }, "strip", import("zod").ZodTypeAny, {
326425
+ message: string;
326426
+ error?: any;
326427
+ }, {
326428
+ message: string;
326429
+ error?: any;
326430
+ }>;
326431
+ 404: import("zod").ZodObject<{
326432
+ message: import("zod").ZodString;
326433
+ error: import("zod").ZodAny;
326434
+ }, "strip", import("zod").ZodTypeAny, {
326435
+ message: string;
326436
+ error?: any;
326437
+ }, {
326438
+ message: string;
326439
+ error?: any;
326440
+ }>;
326441
+ 422: import("zod").ZodObject<{
326442
+ message: import("zod").ZodString;
326443
+ error: import("zod").ZodAny;
326444
+ }, "strip", import("zod").ZodTypeAny, {
326445
+ message: string;
326446
+ error?: any;
326447
+ }, {
326448
+ message: string;
326449
+ error?: any;
326450
+ }>;
326451
+ 500: import("zod").ZodObject<{
326452
+ message: import("zod").ZodString;
326453
+ error: import("zod").ZodAny;
326454
+ }, "strip", import("zod").ZodTypeAny, {
326455
+ message: string;
326456
+ error?: any;
326457
+ }, {
326458
+ message: string;
326459
+ error?: any;
326460
+ }>;
326461
+ };
326462
+ path: "ms/settings/ms/user/profile/:id";
326463
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
326464
+ 'x-tenant': import("zod").ZodString;
326465
+ 'x-service-token': import("zod").ZodString;
326466
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
326467
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
326468
+ }, "strip", import("zod").ZodTypeAny, {
326469
+ 'x-tenant': string;
326470
+ 'x-service-token': string;
326471
+ 'x-client-timezone': string;
326472
+ 'x-code'?: string | undefined;
326473
+ }, {
326474
+ 'x-tenant': string;
326475
+ 'x-service-token': string;
326476
+ 'x-code'?: string | undefined;
326477
+ 'x-client-timezone'?: string | undefined;
326478
+ }>>>;
326479
+ };
326480
+ deleteUser: {
326481
+ body: null;
326482
+ summary: "Delete a user.";
326483
+ method: "DELETE";
326484
+ pathParams: import("zod").ZodObject<{
326485
+ id: import("zod").ZodString;
326486
+ }, "strip", import("zod").ZodTypeAny, {
326487
+ id: string;
326488
+ }, {
326489
+ id: string;
326490
+ }>;
326491
+ responses: {
326492
+ 200: import("zod").ZodObject<{
326493
+ requestId: import("zod").ZodString;
326494
+ message: import("zod").ZodString;
326495
+ }, "strip", import("zod").ZodTypeAny, {
326496
+ message: string;
326497
+ requestId: string;
326498
+ }, {
326499
+ message: string;
326500
+ requestId: string;
326501
+ }>;
326502
+ 404: import("zod").ZodObject<{
326503
+ message: import("zod").ZodString;
326504
+ error: import("zod").ZodAny;
326505
+ }, "strip", import("zod").ZodTypeAny, {
326506
+ message: string;
326507
+ error?: any;
326508
+ }, {
326509
+ message: string;
326510
+ error?: any;
326511
+ }>;
326512
+ 422: import("zod").ZodObject<{
326513
+ message: import("zod").ZodString;
326514
+ error: import("zod").ZodAny;
326515
+ }, "strip", import("zod").ZodTypeAny, {
326516
+ message: string;
326517
+ error?: any;
326518
+ }, {
326519
+ message: string;
326520
+ error?: any;
326521
+ }>;
326522
+ 500: import("zod").ZodObject<{
326523
+ message: import("zod").ZodString;
326524
+ error: import("zod").ZodAny;
326525
+ }, "strip", import("zod").ZodTypeAny, {
326526
+ message: string;
326527
+ error?: any;
326528
+ }, {
326529
+ message: string;
326530
+ error?: any;
326531
+ }>;
326532
+ };
326533
+ path: "ms/settings/ms/user/:id";
326534
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
326535
+ 'x-tenant': import("zod").ZodString;
326536
+ 'x-service-token': import("zod").ZodString;
326537
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
326538
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
326539
+ }, "strip", import("zod").ZodTypeAny, {
326540
+ 'x-tenant': string;
326541
+ 'x-service-token': string;
326542
+ 'x-client-timezone': string;
326543
+ 'x-code'?: string | undefined;
326544
+ }, {
326545
+ 'x-tenant': string;
326546
+ 'x-service-token': string;
326547
+ 'x-code'?: string | undefined;
326548
+ 'x-client-timezone'?: string | undefined;
326549
+ }>>>;
326550
+ };
326551
+ };
326552
+ };
326553
+ export declare const presenceStatusContract: {
326554
+ presenceStatus: {
326555
+ getAllStatus: {
326556
+ summary: "Get all presence status list.";
326557
+ method: "GET";
326558
+ responses: {
326559
+ 200: import("zod").ZodObject<{
326560
+ total: import("zod").ZodNumber;
326561
+ data: import("zod").ZodArray<import("zod").ZodObject<{
326562
+ id: import("zod").ZodString;
326563
+ createdAt: import("zod").ZodDate;
326564
+ updatedAt: import("zod").ZodDate;
326565
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326566
+ systemName: import("zod").ZodString;
326567
+ displayName: import("zod").ZodString;
326568
+ description: import("zod").ZodNullable<import("zod").ZodString>;
326569
+ position: import("zod").ZodNumber;
326570
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
326571
+ 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">;
326572
+ }, "strip", import("zod").ZodTypeAny, {
326573
+ emoji: string | null;
326574
+ id: string;
326575
+ position: number;
326576
+ description: string | null;
326577
+ createdAt: Date;
326578
+ updatedAt: Date;
326579
+ deletedAt: Date | null;
326580
+ systemName: string;
326581
+ displayName: string;
326582
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326583
+ }, {
326584
+ emoji: string | null;
326585
+ id: string;
326586
+ position: number;
326587
+ description: string | null;
326588
+ createdAt: Date;
326589
+ updatedAt: Date;
326590
+ deletedAt: Date | null;
326591
+ systemName: string;
326592
+ displayName: string;
326593
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326594
+ }>, "many">;
326595
+ }, "strip", import("zod").ZodTypeAny, {
326596
+ data: {
326597
+ emoji: string | null;
326598
+ id: string;
326599
+ position: number;
326600
+ description: string | null;
326601
+ createdAt: Date;
326602
+ updatedAt: Date;
326603
+ deletedAt: Date | null;
326604
+ systemName: string;
326605
+ displayName: string;
326606
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326607
+ }[];
326608
+ total: number;
326609
+ }, {
326610
+ data: {
326611
+ emoji: string | null;
326612
+ id: string;
326613
+ position: number;
326614
+ description: string | null;
326615
+ createdAt: Date;
326616
+ updatedAt: Date;
326617
+ deletedAt: Date | null;
326618
+ systemName: string;
326619
+ displayName: string;
326620
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326621
+ }[];
326622
+ total: number;
326623
+ }>;
326624
+ 400: import("zod").ZodObject<{
326625
+ message: import("zod").ZodString;
326626
+ }, "strip", import("zod").ZodTypeAny, {
326627
+ message: string;
326628
+ }, {
326629
+ message: string;
326630
+ }>;
326631
+ 401: import("zod").ZodObject<{
326632
+ message: import("zod").ZodString;
326633
+ error: import("zod").ZodAny;
326634
+ }, "strip", import("zod").ZodTypeAny, {
326635
+ message: string;
326636
+ error?: any;
326637
+ }, {
326638
+ message: string;
326639
+ error?: any;
326640
+ }>;
326641
+ 500: import("zod").ZodObject<{
326642
+ message: import("zod").ZodString;
326643
+ error: import("zod").ZodAny;
326644
+ }, "strip", import("zod").ZodTypeAny, {
326645
+ message: string;
326646
+ error?: any;
326647
+ }, {
326648
+ message: string;
326649
+ error?: any;
326650
+ }>;
326651
+ };
326652
+ path: "ms/presence_status";
326653
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
326654
+ 'x-tenant': import("zod").ZodString;
326655
+ 'x-service-token': import("zod").ZodString;
326656
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
326657
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
326658
+ }, "strip", import("zod").ZodTypeAny, {
326659
+ 'x-tenant': string;
326660
+ 'x-service-token': string;
326661
+ 'x-client-timezone': string;
326662
+ 'x-code'?: string | undefined;
326663
+ }, {
326664
+ 'x-tenant': string;
326665
+ 'x-service-token': string;
326666
+ 'x-code'?: string | undefined;
326667
+ 'x-client-timezone'?: string | undefined;
326668
+ }>>>;
326669
+ };
326670
+ getAllUserPresenceStatus: {
326671
+ summary: "Get all users presence status";
326672
+ method: "GET";
326673
+ responses: {
326674
+ 200: import("zod").ZodArray<import("zod").ZodObject<{
326675
+ id: import("zod").ZodString;
326676
+ createdAt: import("zod").ZodDate;
326677
+ updatedAt: import("zod").ZodDate;
326678
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326679
+ userId: import("zod").ZodString;
326680
+ user: import("zod").ZodObject<{
326681
+ name: import("zod").ZodString;
326682
+ id: import("zod").ZodString;
326683
+ address: import("zod").ZodNullable<import("zod").ZodString>;
326684
+ email: import("zod").ZodString;
326685
+ createdAt: import("zod").ZodDate;
326686
+ updatedAt: import("zod").ZodDate;
326687
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326688
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326689
+ password: import("zod").ZodString;
326690
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
326691
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
326692
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
326693
+ id: import("zod").ZodString;
326694
+ createdAt: import("zod").ZodDate;
326695
+ updatedAt: import("zod").ZodDate;
326696
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326697
+ systemName: import("zod").ZodString;
326698
+ displayName: import("zod").ZodString;
326699
+ description: import("zod").ZodNullable<import("zod").ZodString>;
326700
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
326701
+ id: import("zod").ZodString;
326702
+ createdAt: import("zod").ZodDate;
326703
+ updatedAt: import("zod").ZodDate;
326704
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326705
+ systemName: import("zod").ZodString;
326706
+ displayName: import("zod").ZodString;
326707
+ description: import("zod").ZodNullable<import("zod").ZodString>;
326708
+ }, "strip", import("zod").ZodTypeAny, {
326709
+ id: string;
326710
+ description: string | null;
326711
+ createdAt: Date;
326712
+ updatedAt: Date;
326713
+ deletedAt: Date | null;
326714
+ systemName: string;
326715
+ displayName: string;
326716
+ }, {
326717
+ id: string;
326718
+ description: string | null;
326719
+ createdAt: Date;
326720
+ updatedAt: Date;
326721
+ deletedAt: Date | null;
326722
+ systemName: string;
326723
+ displayName: string;
326724
+ }>, "many">;
326725
+ }, "strip", import("zod").ZodTypeAny, {
326726
+ id: string;
326727
+ description: string | null;
326728
+ createdAt: Date;
326729
+ updatedAt: Date;
326730
+ deletedAt: Date | null;
326731
+ systemName: string;
326732
+ displayName: string;
326733
+ permissions: {
326734
+ id: string;
326735
+ description: string | null;
326736
+ createdAt: Date;
326737
+ updatedAt: Date;
326738
+ deletedAt: Date | null;
326739
+ systemName: string;
326740
+ displayName: string;
326741
+ }[];
326742
+ }, {
326743
+ id: string;
326744
+ description: string | null;
326745
+ createdAt: Date;
326746
+ updatedAt: Date;
326747
+ deletedAt: Date | null;
326748
+ systemName: string;
326749
+ displayName: string;
326750
+ permissions: {
326751
+ id: string;
326752
+ description: string | null;
326753
+ createdAt: Date;
326754
+ updatedAt: Date;
326755
+ deletedAt: Date | null;
326756
+ systemName: string;
326757
+ displayName: string;
326758
+ }[];
326759
+ }>, "many">;
326760
+ extension: import("zod").ZodObject<{
326761
+ id: import("zod").ZodString;
326762
+ createdAt: import("zod").ZodDate;
326763
+ updatedAt: import("zod").ZodDate;
326764
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326765
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
326766
+ sipServerUrl: import("zod").ZodString;
326767
+ sipUserName: import("zod").ZodString;
326768
+ webphoneLoginUser: import("zod").ZodString;
326769
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
326770
+ extensionName: import("zod").ZodString;
326771
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
326772
+ }, "strip", import("zod").ZodTypeAny, {
326773
+ id: string;
326774
+ createdAt: Date;
326775
+ updatedAt: Date;
326776
+ deletedAt: Date | null;
326777
+ userId: string | null;
326778
+ sipServerUrl: string;
326779
+ sipUserName: string;
326780
+ webphoneLoginUser: string;
326781
+ extensionId: string | null;
326782
+ extensionName: string;
326783
+ telephonySignature: string | null;
326784
+ }, {
326785
+ id: string;
326786
+ createdAt: Date;
326787
+ updatedAt: Date;
326788
+ deletedAt: Date | null;
326789
+ userId: string | null;
326790
+ sipServerUrl: string;
326791
+ sipUserName: string;
326792
+ webphoneLoginUser: string;
326793
+ extensionId: string | null;
326794
+ extensionName: string;
326795
+ telephonySignature: string | null;
326796
+ }>;
326797
+ }, "strip", import("zod").ZodTypeAny, {
326798
+ name: string;
326799
+ id: string;
326800
+ address: string | null;
326801
+ email: string;
326802
+ createdAt: Date;
326803
+ updatedAt: Date;
326804
+ deletedAt: Date | null;
326805
+ emailVerifiedAt: Date | null;
326806
+ password: string;
326807
+ phone: string | null;
326808
+ notificationCount: number | null;
326809
+ roles: {
326810
+ id: string;
326811
+ description: string | null;
326812
+ createdAt: Date;
326813
+ updatedAt: Date;
326814
+ deletedAt: Date | null;
326815
+ systemName: string;
326816
+ displayName: string;
326817
+ permissions: {
326818
+ id: string;
326819
+ description: string | null;
326820
+ createdAt: Date;
326821
+ updatedAt: Date;
326822
+ deletedAt: Date | null;
326823
+ systemName: string;
326824
+ displayName: string;
326825
+ }[];
326826
+ }[];
326827
+ extension: {
326828
+ id: string;
326829
+ createdAt: Date;
326830
+ updatedAt: Date;
326831
+ deletedAt: Date | null;
326832
+ userId: string | null;
326833
+ sipServerUrl: string;
326834
+ sipUserName: string;
326835
+ webphoneLoginUser: string;
326836
+ extensionId: string | null;
326837
+ extensionName: string;
326838
+ telephonySignature: string | null;
326839
+ };
326840
+ }, {
326841
+ name: string;
326842
+ id: string;
326843
+ address: string | null;
326844
+ email: string;
326845
+ createdAt: Date;
326846
+ updatedAt: Date;
326847
+ deletedAt: Date | null;
326848
+ emailVerifiedAt: Date | null;
326849
+ password: string;
326850
+ phone: string | null;
326851
+ notificationCount: number | null;
326852
+ roles: {
326853
+ id: string;
326854
+ description: string | null;
326855
+ createdAt: Date;
326856
+ updatedAt: Date;
326857
+ deletedAt: Date | null;
326858
+ systemName: string;
326859
+ displayName: string;
326860
+ permissions: {
326861
+ id: string;
326862
+ description: string | null;
326863
+ createdAt: Date;
326864
+ updatedAt: Date;
326865
+ deletedAt: Date | null;
326866
+ systemName: string;
326867
+ displayName: string;
326868
+ }[];
326869
+ }[];
326870
+ extension: {
326871
+ id: string;
326872
+ createdAt: Date;
326873
+ updatedAt: Date;
326874
+ deletedAt: Date | null;
326875
+ userId: string | null;
326876
+ sipServerUrl: string;
326877
+ sipUserName: string;
326878
+ webphoneLoginUser: string;
326879
+ extensionId: string | null;
326880
+ extensionName: string;
326881
+ telephonySignature: string | null;
326882
+ };
326883
+ }>;
326884
+ presenceStatus: import("zod").ZodObject<{
326885
+ id: import("zod").ZodString;
326886
+ createdAt: import("zod").ZodDate;
326887
+ updatedAt: import("zod").ZodDate;
326888
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326889
+ systemName: import("zod").ZodString;
326890
+ displayName: import("zod").ZodString;
326891
+ description: import("zod").ZodNullable<import("zod").ZodString>;
326892
+ position: import("zod").ZodNumber;
326893
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
326894
+ 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">;
326895
+ }, "strip", import("zod").ZodTypeAny, {
326896
+ emoji: string | null;
326897
+ id: string;
326898
+ position: number;
326899
+ description: string | null;
326900
+ createdAt: Date;
326901
+ updatedAt: Date;
326902
+ deletedAt: Date | null;
326903
+ systemName: string;
326904
+ displayName: string;
326905
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326906
+ }, {
326907
+ emoji: string | null;
326908
+ id: string;
326909
+ position: number;
326910
+ description: string | null;
326911
+ createdAt: Date;
326912
+ updatedAt: Date;
326913
+ deletedAt: Date | null;
326914
+ systemName: string;
326915
+ displayName: string;
326916
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326917
+ }>;
326918
+ }, "strip", import("zod").ZodTypeAny, {
326919
+ id: string;
326920
+ user: {
326921
+ name: string;
326922
+ id: string;
326923
+ address: string | null;
326924
+ email: string;
326925
+ createdAt: Date;
326926
+ updatedAt: Date;
326927
+ deletedAt: Date | null;
326928
+ emailVerifiedAt: Date | null;
326929
+ password: string;
326930
+ phone: string | null;
326931
+ notificationCount: number | null;
326932
+ roles: {
326933
+ id: string;
326934
+ description: string | null;
326935
+ createdAt: Date;
326936
+ updatedAt: Date;
326937
+ deletedAt: Date | null;
326938
+ systemName: string;
326939
+ displayName: string;
326940
+ permissions: {
326941
+ id: string;
326942
+ description: string | null;
326943
+ createdAt: Date;
326944
+ updatedAt: Date;
326945
+ deletedAt: Date | null;
326946
+ systemName: string;
326947
+ displayName: string;
326948
+ }[];
326949
+ }[];
326950
+ extension: {
326951
+ id: string;
326952
+ createdAt: Date;
326953
+ updatedAt: Date;
326954
+ deletedAt: Date | null;
326955
+ userId: string | null;
326956
+ sipServerUrl: string;
326957
+ sipUserName: string;
326958
+ webphoneLoginUser: string;
326959
+ extensionId: string | null;
326960
+ extensionName: string;
326961
+ telephonySignature: string | null;
326962
+ };
326963
+ };
326964
+ createdAt: Date;
326965
+ updatedAt: Date;
326966
+ deletedAt: Date | null;
326967
+ userId: string;
326968
+ presenceStatus: {
326969
+ emoji: string | null;
326970
+ id: string;
326971
+ position: number;
326972
+ description: string | null;
326973
+ createdAt: Date;
326974
+ updatedAt: Date;
326975
+ deletedAt: Date | null;
326976
+ systemName: string;
326977
+ displayName: string;
326978
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326979
+ };
326292
326980
  }, {
326981
+ id: string;
326293
326982
  user: {
326294
326983
  name: string;
326295
326984
  id: string;
@@ -326334,203 +327023,23 @@ export declare const memberSettingContract: {
326334
327023
  telephonySignature: string | null;
326335
327024
  };
326336
327025
  };
326337
- requestId: string;
326338
- }>;
326339
- 400: import("zod").ZodObject<{
326340
- message: import("zod").ZodString;
326341
- }, "strip", import("zod").ZodTypeAny, {
326342
- message: string;
326343
- }, {
326344
- message: string;
326345
- }>;
326346
- 401: import("zod").ZodObject<{
326347
- message: import("zod").ZodString;
326348
- error: import("zod").ZodAny;
326349
- }, "strip", import("zod").ZodTypeAny, {
326350
- message: string;
326351
- error?: any;
326352
- }, {
326353
- message: string;
326354
- error?: any;
326355
- }>;
326356
- 404: import("zod").ZodObject<{
326357
- message: import("zod").ZodString;
326358
- error: import("zod").ZodAny;
326359
- }, "strip", import("zod").ZodTypeAny, {
326360
- message: string;
326361
- error?: any;
326362
- }, {
326363
- message: string;
326364
- error?: any;
326365
- }>;
326366
- 422: import("zod").ZodObject<{
326367
- message: import("zod").ZodString;
326368
- error: import("zod").ZodAny;
326369
- }, "strip", import("zod").ZodTypeAny, {
326370
- message: string;
326371
- error?: any;
326372
- }, {
326373
- message: string;
326374
- error?: any;
326375
- }>;
326376
- 500: import("zod").ZodObject<{
326377
- message: import("zod").ZodString;
326378
- error: import("zod").ZodAny;
326379
- }, "strip", import("zod").ZodTypeAny, {
326380
- message: string;
326381
- error?: any;
326382
- }, {
326383
- message: string;
326384
- error?: any;
326385
- }>;
326386
- };
326387
- path: "ms/settings/ms/user/profile/:id";
326388
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
326389
- 'x-tenant': import("zod").ZodString;
326390
- 'x-service-token': import("zod").ZodString;
326391
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
326392
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
326393
- }, "strip", import("zod").ZodTypeAny, {
326394
- 'x-tenant': string;
326395
- 'x-service-token': string;
326396
- 'x-client-timezone': string;
326397
- 'x-code'?: string | undefined;
326398
- }, {
326399
- 'x-tenant': string;
326400
- 'x-service-token': string;
326401
- 'x-code'?: string | undefined;
326402
- 'x-client-timezone'?: string | undefined;
326403
- }>>>;
326404
- };
326405
- deleteUser: {
326406
- body: null;
326407
- summary: "Delete a user.";
326408
- method: "DELETE";
326409
- pathParams: import("zod").ZodObject<{
326410
- id: import("zod").ZodString;
326411
- }, "strip", import("zod").ZodTypeAny, {
326412
- id: string;
326413
- }, {
326414
- id: string;
326415
- }>;
326416
- responses: {
326417
- 200: import("zod").ZodObject<{
326418
- requestId: import("zod").ZodString;
326419
- message: import("zod").ZodString;
326420
- }, "strip", import("zod").ZodTypeAny, {
326421
- message: string;
326422
- requestId: string;
326423
- }, {
326424
- message: string;
326425
- requestId: string;
326426
- }>;
326427
- 404: import("zod").ZodObject<{
326428
- message: import("zod").ZodString;
326429
- error: import("zod").ZodAny;
326430
- }, "strip", import("zod").ZodTypeAny, {
326431
- message: string;
326432
- error?: any;
326433
- }, {
326434
- message: string;
326435
- error?: any;
326436
- }>;
326437
- 422: import("zod").ZodObject<{
326438
- message: import("zod").ZodString;
326439
- error: import("zod").ZodAny;
326440
- }, "strip", import("zod").ZodTypeAny, {
326441
- message: string;
326442
- error?: any;
326443
- }, {
326444
- message: string;
326445
- error?: any;
326446
- }>;
326447
- 500: import("zod").ZodObject<{
326448
- message: import("zod").ZodString;
326449
- error: import("zod").ZodAny;
326450
- }, "strip", import("zod").ZodTypeAny, {
326451
- message: string;
326452
- error?: any;
326453
- }, {
326454
- message: string;
326455
- error?: any;
326456
- }>;
326457
- };
326458
- path: "ms/settings/ms/user/:id";
326459
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
326460
- 'x-tenant': import("zod").ZodString;
326461
- 'x-service-token': import("zod").ZodString;
326462
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
326463
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
326464
- }, "strip", import("zod").ZodTypeAny, {
326465
- 'x-tenant': string;
326466
- 'x-service-token': string;
326467
- 'x-client-timezone': string;
326468
- 'x-code'?: string | undefined;
326469
- }, {
326470
- 'x-tenant': string;
326471
- 'x-service-token': string;
326472
- 'x-code'?: string | undefined;
326473
- 'x-client-timezone'?: string | undefined;
326474
- }>>>;
326475
- };
326476
- };
326477
- };
326478
- export declare const presenceStatusContract: {
326479
- presenceStatus: {
326480
- getAllStatus: {
326481
- summary: "Get all presence status list.";
326482
- method: "GET";
326483
- responses: {
326484
- 200: import("zod").ZodObject<{
326485
- total: import("zod").ZodNumber;
326486
- data: import("zod").ZodArray<import("zod").ZodObject<{
326487
- id: import("zod").ZodString;
326488
- createdAt: import("zod").ZodDate;
326489
- updatedAt: import("zod").ZodDate;
326490
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326491
- status: import("zod").ZodString;
326492
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
326493
- position: import("zod").ZodNumber;
326494
- }, "strip", import("zod").ZodTypeAny, {
326495
- id: string;
326496
- position: number;
326497
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326498
- status: string;
326499
- createdAt: Date;
326500
- updatedAt: Date;
326501
- deletedAt: Date | null;
326502
- }, {
326503
- id: string;
326504
- position: number;
326505
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326506
- status: string;
326507
- createdAt: Date;
326508
- updatedAt: Date;
326509
- deletedAt: Date | null;
326510
- }>, "many">;
326511
- }, "strip", import("zod").ZodTypeAny, {
326512
- data: {
326513
- id: string;
326514
- position: number;
326515
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326516
- status: string;
326517
- createdAt: Date;
326518
- updatedAt: Date;
326519
- deletedAt: Date | null;
326520
- }[];
326521
- total: number;
326522
- }, {
326523
- data: {
327026
+ createdAt: Date;
327027
+ updatedAt: Date;
327028
+ deletedAt: Date | null;
327029
+ userId: string;
327030
+ presenceStatus: {
327031
+ emoji: string | null;
326524
327032
  id: string;
326525
327033
  position: number;
326526
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326527
- status: string;
327034
+ description: string | null;
326528
327035
  createdAt: Date;
326529
327036
  updatedAt: Date;
326530
327037
  deletedAt: Date | null;
326531
- }[];
326532
- total: number;
326533
- }>;
327038
+ systemName: string;
327039
+ displayName: string;
327040
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
327041
+ };
327042
+ }>, "many">;
326534
327043
  400: import("zod").ZodObject<{
326535
327044
  message: import("zod").ZodString;
326536
327045
  }, "strip", import("zod").ZodTypeAny, {
@@ -326559,7 +327068,7 @@ export declare const presenceStatusContract: {
326559
327068
  error?: any;
326560
327069
  }>;
326561
327070
  };
326562
- path: "ms/presence_status";
327071
+ path: "ms/presence_status/ps/user-presence-status";
326563
327072
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
326564
327073
  'x-tenant': import("zod").ZodString;
326565
327074
  'x-service-token': import("zod").ZodString;
@@ -326579,17 +327088,26 @@ export declare const presenceStatusContract: {
326579
327088
  };
326580
327089
  createPresenceStatus: {
326581
327090
  body: import("zod").ZodObject<{
326582
- status: import("zod").ZodString;
326583
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
327091
+ systemName: import("zod").ZodString;
327092
+ displayName: import("zod").ZodString;
327093
+ description: import("zod").ZodOptional<import("zod").ZodString>;
326584
327094
  position: import("zod").ZodNumber;
327095
+ emoji: import("zod").ZodString;
327096
+ 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">;
326585
327097
  }, "strip", import("zod").ZodTypeAny, {
327098
+ emoji: string;
326586
327099
  position: number;
326587
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326588
- status: string;
327100
+ systemName: string;
327101
+ displayName: string;
327102
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
327103
+ description?: string | undefined;
326589
327104
  }, {
327105
+ emoji: string;
326590
327106
  position: number;
326591
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326592
- status: string;
327107
+ systemName: string;
327108
+ displayName: string;
327109
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
327110
+ description?: string | undefined;
326593
327111
  }>;
326594
327112
  summary: "Create a new presence status.";
326595
327113
  method: "POST";
@@ -326601,47 +327119,62 @@ export declare const presenceStatusContract: {
326601
327119
  createdAt: import("zod").ZodDate;
326602
327120
  updatedAt: import("zod").ZodDate;
326603
327121
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326604
- status: import("zod").ZodString;
326605
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
327122
+ systemName: import("zod").ZodString;
327123
+ displayName: import("zod").ZodString;
327124
+ description: import("zod").ZodNullable<import("zod").ZodString>;
326606
327125
  position: import("zod").ZodNumber;
327126
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
327127
+ 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">;
326607
327128
  }, "strip", import("zod").ZodTypeAny, {
327129
+ emoji: string | null;
326608
327130
  id: string;
326609
327131
  position: number;
326610
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326611
- status: string;
327132
+ description: string | null;
326612
327133
  createdAt: Date;
326613
327134
  updatedAt: Date;
326614
327135
  deletedAt: Date | null;
327136
+ systemName: string;
327137
+ displayName: string;
327138
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326615
327139
  }, {
327140
+ emoji: string | null;
326616
327141
  id: string;
326617
327142
  position: number;
326618
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326619
- status: string;
327143
+ description: string | null;
326620
327144
  createdAt: Date;
326621
327145
  updatedAt: Date;
326622
327146
  deletedAt: Date | null;
327147
+ systemName: string;
327148
+ displayName: string;
327149
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326623
327150
  }>;
326624
327151
  }, "strip", import("zod").ZodTypeAny, {
326625
327152
  requestId: string;
326626
327153
  presenceStatus: {
327154
+ emoji: string | null;
326627
327155
  id: string;
326628
327156
  position: number;
326629
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326630
- status: string;
327157
+ description: string | null;
326631
327158
  createdAt: Date;
326632
327159
  updatedAt: Date;
326633
327160
  deletedAt: Date | null;
327161
+ systemName: string;
327162
+ displayName: string;
327163
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326634
327164
  };
326635
327165
  }, {
326636
327166
  requestId: string;
326637
327167
  presenceStatus: {
327168
+ emoji: string | null;
326638
327169
  id: string;
326639
327170
  position: number;
326640
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326641
- status: string;
327171
+ description: string | null;
326642
327172
  createdAt: Date;
326643
327173
  updatedAt: Date;
326644
327174
  deletedAt: Date | null;
327175
+ systemName: string;
327176
+ displayName: string;
327177
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326645
327178
  };
326646
327179
  }>;
326647
327180
  400: import("zod").ZodObject<{
@@ -326726,25 +327259,34 @@ export declare const presenceStatusContract: {
326726
327259
  createdAt: import("zod").ZodDate;
326727
327260
  updatedAt: import("zod").ZodDate;
326728
327261
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326729
- status: import("zod").ZodString;
326730
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
327262
+ systemName: import("zod").ZodString;
327263
+ displayName: import("zod").ZodString;
327264
+ description: import("zod").ZodNullable<import("zod").ZodString>;
326731
327265
  position: import("zod").ZodNumber;
327266
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
327267
+ 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">;
326732
327268
  }, "strip", import("zod").ZodTypeAny, {
327269
+ emoji: string | null;
326733
327270
  id: string;
326734
327271
  position: number;
326735
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326736
- status: string;
327272
+ description: string | null;
326737
327273
  createdAt: Date;
326738
327274
  updatedAt: Date;
326739
327275
  deletedAt: Date | null;
327276
+ systemName: string;
327277
+ displayName: string;
327278
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326740
327279
  }, {
327280
+ emoji: string | null;
326741
327281
  id: string;
326742
327282
  position: number;
326743
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326744
- status: string;
327283
+ description: string | null;
326745
327284
  createdAt: Date;
326746
327285
  updatedAt: Date;
326747
327286
  deletedAt: Date | null;
327287
+ systemName: string;
327288
+ displayName: string;
327289
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326748
327290
  }>;
326749
327291
  400: import("zod").ZodObject<{
326750
327292
  message: import("zod").ZodString;
@@ -326814,17 +327356,26 @@ export declare const presenceStatusContract: {
326814
327356
  };
326815
327357
  updatePresenceStatus: {
326816
327358
  body: import("zod").ZodObject<{
326817
- status: import("zod").ZodString;
326818
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
327359
+ systemName: import("zod").ZodString;
327360
+ displayName: import("zod").ZodString;
327361
+ description: import("zod").ZodOptional<import("zod").ZodString>;
326819
327362
  position: import("zod").ZodNumber;
327363
+ emoji: import("zod").ZodString;
327364
+ 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">;
326820
327365
  }, "strip", import("zod").ZodTypeAny, {
327366
+ emoji: string;
326821
327367
  position: number;
326822
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326823
- status: string;
327368
+ systemName: string;
327369
+ displayName: string;
327370
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
327371
+ description?: string | undefined;
326824
327372
  }, {
327373
+ emoji: string;
326825
327374
  position: number;
326826
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326827
- status: string;
327375
+ systemName: string;
327376
+ displayName: string;
327377
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
327378
+ description?: string | undefined;
326828
327379
  }>;
326829
327380
  summary: "Update a presence status.";
326830
327381
  method: "PATCH";
@@ -326843,47 +327394,62 @@ export declare const presenceStatusContract: {
326843
327394
  createdAt: import("zod").ZodDate;
326844
327395
  updatedAt: import("zod").ZodDate;
326845
327396
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
326846
- status: import("zod").ZodString;
326847
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
327397
+ systemName: import("zod").ZodString;
327398
+ displayName: import("zod").ZodString;
327399
+ description: import("zod").ZodNullable<import("zod").ZodString>;
326848
327400
  position: import("zod").ZodNumber;
327401
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
327402
+ 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">;
326849
327403
  }, "strip", import("zod").ZodTypeAny, {
327404
+ emoji: string | null;
326850
327405
  id: string;
326851
327406
  position: number;
326852
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326853
- status: string;
327407
+ description: string | null;
326854
327408
  createdAt: Date;
326855
327409
  updatedAt: Date;
326856
327410
  deletedAt: Date | null;
327411
+ systemName: string;
327412
+ displayName: string;
327413
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326857
327414
  }, {
327415
+ emoji: string | null;
326858
327416
  id: string;
326859
327417
  position: number;
326860
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326861
- status: string;
327418
+ description: string | null;
326862
327419
  createdAt: Date;
326863
327420
  updatedAt: Date;
326864
327421
  deletedAt: Date | null;
327422
+ systemName: string;
327423
+ displayName: string;
327424
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326865
327425
  }>;
326866
327426
  }, "strip", import("zod").ZodTypeAny, {
326867
327427
  requestId: string;
326868
327428
  presenceStatus: {
327429
+ emoji: string | null;
326869
327430
  id: string;
326870
327431
  position: number;
326871
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326872
- status: string;
327432
+ description: string | null;
326873
327433
  createdAt: Date;
326874
327434
  updatedAt: Date;
326875
327435
  deletedAt: Date | null;
327436
+ systemName: string;
327437
+ displayName: string;
327438
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326876
327439
  };
326877
327440
  }, {
326878
327441
  requestId: string;
326879
327442
  presenceStatus: {
327443
+ emoji: string | null;
326880
327444
  id: string;
326881
327445
  position: number;
326882
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
326883
- status: string;
327446
+ description: string | null;
326884
327447
  createdAt: Date;
326885
327448
  updatedAt: Date;
326886
327449
  deletedAt: Date | null;
327450
+ systemName: string;
327451
+ displayName: string;
327452
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
326887
327453
  };
326888
327454
  }>;
326889
327455
  400: import("zod").ZodObject<{