@kl1/contracts 1.2.57-uat → 1.2.58-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +5 -62
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/contract.d.ts +150 -863
  4. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  5. package/dist/api-contracts/src/dashboard/index.d.ts +0 -187
  6. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/dashboard/schema.d.ts +0 -37
  8. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/line/index.d.ts +2 -2
  10. package/dist/api-contracts/src/presence-status/index.d.ts +74 -50
  11. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/presence-status/schema.d.ts +11 -8
  13. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/presence-status/validation.d.ts +18 -12
  15. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  16. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +36 -439
  17. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +15 -13
  19. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  21. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +24 -16
  23. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +30 -20
  25. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/whatsapp/index.d.ts +6 -47
  27. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  28. package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -3
  29. package/dist/index.js +1486 -1575
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.mjs +1486 -1575
  32. package/dist/index.mjs.map +1 -1
  33. package/package.json +1 -1
@@ -12567,17 +12567,14 @@ export declare const apiContract: {
12567
12567
  closed: import("zod").ZodNullable<import("zod").ZodNumber>;
12568
12568
  unassignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
12569
12569
  assignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
12570
- hold: import("zod").ZodNumber;
12571
12570
  }, "strip", import("zod").ZodTypeAny, {
12572
12571
  total: number | null;
12573
12572
  closed: number | null;
12574
- hold: number;
12575
12573
  unassignedOpen: number | null;
12576
12574
  assignedOpen: number | null;
12577
12575
  }, {
12578
12576
  total: number | null;
12579
12577
  closed: number | null;
12580
- hold: number;
12581
12578
  unassignedOpen: number | null;
12582
12579
  assignedOpen: number | null;
12583
12580
  }>;
@@ -12586,7 +12583,6 @@ export declare const apiContract: {
12586
12583
  roomStatusCountByStatus: {
12587
12584
  total: number | null;
12588
12585
  closed: number | null;
12589
- hold: number;
12590
12586
  unassignedOpen: number | null;
12591
12587
  assignedOpen: number | null;
12592
12588
  };
@@ -12595,7 +12591,6 @@ export declare const apiContract: {
12595
12591
  roomStatusCountByStatus: {
12596
12592
  total: number | null;
12597
12593
  closed: number | null;
12598
- hold: number;
12599
12594
  unassignedOpen: number | null;
12600
12595
  assignedOpen: number | null;
12601
12596
  };
@@ -13131,188 +13126,6 @@ export declare const apiContract: {
13131
13126
  };
13132
13127
  path: "dashboard/call-counts";
13133
13128
  };
13134
- getAllQueueSLA: {
13135
- method: "GET";
13136
- query: import("zod").ZodObject<{
13137
- selectedDate: import("zod").ZodString;
13138
- }, "strip", import("zod").ZodTypeAny, {
13139
- selectedDate: string;
13140
- }, {
13141
- selectedDate: string;
13142
- }>;
13143
- responses: {
13144
- 200: import("zod").ZodObject<{
13145
- requestId: import("zod").ZodString;
13146
- allQueueSLA: import("zod").ZodNumber;
13147
- }, "strip", import("zod").ZodTypeAny, {
13148
- requestId: string;
13149
- allQueueSLA: number;
13150
- }, {
13151
- requestId: string;
13152
- allQueueSLA: number;
13153
- }>;
13154
- };
13155
- path: "dashboard/all-queue-sla";
13156
- };
13157
- getAllMessageQueueData: {
13158
- method: "GET";
13159
- query: import("zod").ZodObject<{
13160
- selectedDate: import("zod").ZodString;
13161
- }, "strip", import("zod").ZodTypeAny, {
13162
- selectedDate: string;
13163
- }, {
13164
- selectedDate: string;
13165
- }>;
13166
- responses: {
13167
- 200: import("zod").ZodObject<{
13168
- requestId: import("zod").ZodString;
13169
- allMessageQueueData: import("zod").ZodArray<import("zod").ZodObject<{
13170
- id: import("zod").ZodNullable<import("zod").ZodString>;
13171
- name: import("zod").ZodString;
13172
- sla: import("zod").ZodNumber;
13173
- newContactCount: import("zod").ZodNumber;
13174
- existingContactCount: import("zod").ZodNumber;
13175
- totalRoomCount: import("zod").ZodNumber;
13176
- closedRoomCount: import("zod").ZodNumber;
13177
- unassignedRoomCount: import("zod").ZodNumber;
13178
- assignedRoomCount: import("zod").ZodNumber;
13179
- holdRoomCount: import("zod").ZodNumber;
13180
- }, "strip", import("zod").ZodTypeAny, {
13181
- name: string;
13182
- id: string | null;
13183
- sla: number;
13184
- newContactCount: number;
13185
- existingContactCount: number;
13186
- totalRoomCount: number;
13187
- closedRoomCount: number;
13188
- unassignedRoomCount: number;
13189
- assignedRoomCount: number;
13190
- holdRoomCount: number;
13191
- }, {
13192
- name: string;
13193
- id: string | null;
13194
- sla: number;
13195
- newContactCount: number;
13196
- existingContactCount: number;
13197
- totalRoomCount: number;
13198
- closedRoomCount: number;
13199
- unassignedRoomCount: number;
13200
- assignedRoomCount: number;
13201
- holdRoomCount: number;
13202
- }>, "many">;
13203
- }, "strip", import("zod").ZodTypeAny, {
13204
- requestId: string;
13205
- allMessageQueueData: {
13206
- name: string;
13207
- id: string | null;
13208
- sla: number;
13209
- newContactCount: number;
13210
- existingContactCount: number;
13211
- totalRoomCount: number;
13212
- closedRoomCount: number;
13213
- unassignedRoomCount: number;
13214
- assignedRoomCount: number;
13215
- holdRoomCount: number;
13216
- }[];
13217
- }, {
13218
- requestId: string;
13219
- allMessageQueueData: {
13220
- name: string;
13221
- id: string | null;
13222
- sla: number;
13223
- newContactCount: number;
13224
- existingContactCount: number;
13225
- totalRoomCount: number;
13226
- closedRoomCount: number;
13227
- unassignedRoomCount: number;
13228
- assignedRoomCount: number;
13229
- holdRoomCount: number;
13230
- }[];
13231
- }>;
13232
- };
13233
- path: "dashboard/all-message-queue-data";
13234
- };
13235
- getMessageQueueData: {
13236
- method: "GET";
13237
- query: import("zod").ZodObject<{
13238
- automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
13239
- selectedDate: import("zod").ZodString;
13240
- }, "strip", import("zod").ZodTypeAny, {
13241
- selectedDate: string;
13242
- automationQueueId?: string | undefined;
13243
- }, {
13244
- selectedDate: string;
13245
- automationQueueId?: string | undefined;
13246
- }>;
13247
- responses: {
13248
- 200: import("zod").ZodObject<{
13249
- requestId: import("zod").ZodString;
13250
- messageQueueData: import("zod").ZodObject<{
13251
- id: import("zod").ZodNullable<import("zod").ZodString>;
13252
- name: import("zod").ZodString;
13253
- sla: import("zod").ZodNumber;
13254
- newContactCount: import("zod").ZodNumber;
13255
- existingContactCount: import("zod").ZodNumber;
13256
- totalRoomCount: import("zod").ZodNumber;
13257
- closedRoomCount: import("zod").ZodNumber;
13258
- unassignedRoomCount: import("zod").ZodNumber;
13259
- assignedRoomCount: import("zod").ZodNumber;
13260
- holdRoomCount: import("zod").ZodNumber;
13261
- }, "strip", import("zod").ZodTypeAny, {
13262
- name: string;
13263
- id: string | null;
13264
- sla: number;
13265
- newContactCount: number;
13266
- existingContactCount: number;
13267
- totalRoomCount: number;
13268
- closedRoomCount: number;
13269
- unassignedRoomCount: number;
13270
- assignedRoomCount: number;
13271
- holdRoomCount: number;
13272
- }, {
13273
- name: string;
13274
- id: string | null;
13275
- sla: number;
13276
- newContactCount: number;
13277
- existingContactCount: number;
13278
- totalRoomCount: number;
13279
- closedRoomCount: number;
13280
- unassignedRoomCount: number;
13281
- assignedRoomCount: number;
13282
- holdRoomCount: number;
13283
- }>;
13284
- }, "strip", import("zod").ZodTypeAny, {
13285
- requestId: string;
13286
- messageQueueData: {
13287
- name: string;
13288
- id: string | null;
13289
- sla: number;
13290
- newContactCount: number;
13291
- existingContactCount: number;
13292
- totalRoomCount: number;
13293
- closedRoomCount: number;
13294
- unassignedRoomCount: number;
13295
- assignedRoomCount: number;
13296
- holdRoomCount: number;
13297
- };
13298
- }, {
13299
- requestId: string;
13300
- messageQueueData: {
13301
- name: string;
13302
- id: string | null;
13303
- sla: number;
13304
- newContactCount: number;
13305
- existingContactCount: number;
13306
- totalRoomCount: number;
13307
- closedRoomCount: number;
13308
- unassignedRoomCount: number;
13309
- assignedRoomCount: number;
13310
- holdRoomCount: number;
13311
- };
13312
- }>;
13313
- };
13314
- path: "dashboard/message-queue-data";
13315
- };
13316
13129
  };
13317
13130
  permission: {
13318
13131
  getPermissions: {
@@ -32433,7 +32246,7 @@ export declare const apiContract: {
32433
32246
  error?: any;
32434
32247
  }>;
32435
32248
  };
32436
- path: "channel/whatsapp/mobile";
32249
+ path: "channel/whatsapp/waapi";
32437
32250
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
32438
32251
  'x-tenant': import("zod").ZodString;
32439
32252
  'x-service-token': import("zod").ZodString;
@@ -32454,11 +32267,11 @@ export declare const apiContract: {
32454
32267
  getWaapiQr: {
32455
32268
  method: "GET";
32456
32269
  query: import("zod").ZodObject<{
32457
- instanceId: import("zod").ZodString;
32270
+ channelId: import("zod").ZodString;
32458
32271
  }, "strip", import("zod").ZodTypeAny, {
32459
- instanceId: string;
32272
+ channelId: string;
32460
32273
  }, {
32461
- instanceId: string;
32274
+ channelId: string;
32462
32275
  }>;
32463
32276
  responses: {
32464
32277
  200: import("zod").ZodObject<{
@@ -32507,64 +32320,7 @@ export declare const apiContract: {
32507
32320
  error?: any;
32508
32321
  }>;
32509
32322
  };
32510
- path: "channel/whatsapp/mobile/qr";
32511
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
32512
- 'x-tenant': import("zod").ZodString;
32513
- 'x-service-token': import("zod").ZodString;
32514
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
32515
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
32516
- }, "strip", import("zod").ZodTypeAny, {
32517
- 'x-tenant': string;
32518
- 'x-service-token': string;
32519
- 'x-client-timezone': string;
32520
- 'x-code'?: string | undefined;
32521
- }, {
32522
- 'x-tenant': string;
32523
- 'x-service-token': string;
32524
- 'x-code'?: string | undefined;
32525
- 'x-client-timezone'?: string | undefined;
32526
- }>>>;
32527
- };
32528
- deleteWaapi: {
32529
- body: import("zod").ZodOptional<import("zod").ZodAny>;
32530
- method: "DELETE";
32531
- pathParams: import("zod").ZodObject<{
32532
- instanceId: import("zod").ZodString;
32533
- }, "strip", import("zod").ZodTypeAny, {
32534
- instanceId: string;
32535
- }, {
32536
- instanceId: string;
32537
- }>;
32538
- responses: {
32539
- 200: import("zod").ZodObject<{
32540
- requestId: import("zod").ZodString;
32541
- }, "strip", import("zod").ZodTypeAny, {
32542
- requestId: string;
32543
- }, {
32544
- requestId: string;
32545
- }>;
32546
- 500: import("zod").ZodObject<{
32547
- message: import("zod").ZodString;
32548
- error: import("zod").ZodAny;
32549
- }, "strip", import("zod").ZodTypeAny, {
32550
- message: string;
32551
- error?: any;
32552
- }, {
32553
- message: string;
32554
- error?: any;
32555
- }>;
32556
- 400: import("zod").ZodObject<{
32557
- message: import("zod").ZodString;
32558
- error: import("zod").ZodAny;
32559
- }, "strip", import("zod").ZodTypeAny, {
32560
- message: string;
32561
- error?: any;
32562
- }, {
32563
- message: string;
32564
- error?: any;
32565
- }>;
32566
- };
32567
- path: "channel/whatsapp/mobile/:instanceId";
32323
+ path: "channel/whatsapp/waapi/qr";
32568
32324
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
32569
32325
  'x-tenant': import("zod").ZodString;
32570
32326
  'x-service-token': import("zod").ZodString;
@@ -32761,410 +32517,6 @@ export declare const apiContract: {
32761
32517
  };
32762
32518
  };
32763
32519
  agentPresenceStatus: {
32764
- getAllAgentStatus: {
32765
- summary: "Get all user presence status list.";
32766
- method: "GET";
32767
- responses: {
32768
- 200: import("zod").ZodArray<import("zod").ZodObject<{
32769
- id: import("zod").ZodString;
32770
- createdAt: import("zod").ZodDate;
32771
- updatedAt: import("zod").ZodDate;
32772
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32773
- user: import("zod").ZodObject<{
32774
- id: import("zod").ZodString;
32775
- createdAt: import("zod").ZodDate;
32776
- updatedAt: import("zod").ZodDate;
32777
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32778
- name: import("zod").ZodString;
32779
- email: import("zod").ZodString;
32780
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32781
- password: import("zod").ZodString;
32782
- address: import("zod").ZodNullable<import("zod").ZodString>;
32783
- phone: import("zod").ZodNullable<import("zod").ZodString>;
32784
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
32785
- roles: import("zod").ZodArray<import("zod").ZodObject<{
32786
- id: import("zod").ZodString;
32787
- createdAt: import("zod").ZodDate;
32788
- updatedAt: import("zod").ZodDate;
32789
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32790
- systemName: import("zod").ZodString;
32791
- displayName: import("zod").ZodString;
32792
- description: import("zod").ZodNullable<import("zod").ZodString>;
32793
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
32794
- id: import("zod").ZodString;
32795
- createdAt: import("zod").ZodDate;
32796
- updatedAt: import("zod").ZodDate;
32797
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32798
- systemName: import("zod").ZodString;
32799
- displayName: import("zod").ZodString;
32800
- description: import("zod").ZodNullable<import("zod").ZodString>;
32801
- }, "strip", import("zod").ZodTypeAny, {
32802
- id: string;
32803
- description: string | null;
32804
- createdAt: Date;
32805
- updatedAt: Date;
32806
- deletedAt: Date | null;
32807
- systemName: string;
32808
- displayName: string;
32809
- }, {
32810
- id: string;
32811
- description: string | null;
32812
- createdAt: Date;
32813
- updatedAt: Date;
32814
- deletedAt: Date | null;
32815
- systemName: string;
32816
- displayName: string;
32817
- }>, "many">;
32818
- }, "strip", import("zod").ZodTypeAny, {
32819
- id: string;
32820
- description: string | null;
32821
- createdAt: Date;
32822
- updatedAt: Date;
32823
- deletedAt: Date | null;
32824
- systemName: string;
32825
- displayName: string;
32826
- permissions: {
32827
- id: string;
32828
- description: string | null;
32829
- createdAt: Date;
32830
- updatedAt: Date;
32831
- deletedAt: Date | null;
32832
- systemName: string;
32833
- displayName: string;
32834
- }[];
32835
- }, {
32836
- id: string;
32837
- description: string | null;
32838
- createdAt: Date;
32839
- updatedAt: Date;
32840
- deletedAt: Date | null;
32841
- systemName: string;
32842
- displayName: string;
32843
- permissions: {
32844
- id: string;
32845
- description: string | null;
32846
- createdAt: Date;
32847
- updatedAt: Date;
32848
- deletedAt: Date | null;
32849
- systemName: string;
32850
- displayName: string;
32851
- }[];
32852
- }>, "many">;
32853
- extension: import("zod").ZodObject<{
32854
- id: import("zod").ZodString;
32855
- createdAt: import("zod").ZodDate;
32856
- updatedAt: import("zod").ZodDate;
32857
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32858
- userId: import("zod").ZodNullable<import("zod").ZodString>;
32859
- sipServerUrl: import("zod").ZodString;
32860
- sipUserName: import("zod").ZodString;
32861
- webphoneLoginUser: import("zod").ZodString;
32862
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
32863
- extensionName: import("zod").ZodString;
32864
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
32865
- }, "strip", import("zod").ZodTypeAny, {
32866
- id: string;
32867
- createdAt: Date;
32868
- updatedAt: Date;
32869
- deletedAt: Date | null;
32870
- userId: string | null;
32871
- sipServerUrl: string;
32872
- sipUserName: string;
32873
- webphoneLoginUser: string;
32874
- extensionId: string | null;
32875
- extensionName: string;
32876
- telephonySignature: string | null;
32877
- }, {
32878
- id: string;
32879
- createdAt: Date;
32880
- updatedAt: Date;
32881
- deletedAt: Date | null;
32882
- userId: string | null;
32883
- sipServerUrl: string;
32884
- sipUserName: string;
32885
- webphoneLoginUser: string;
32886
- extensionId: string | null;
32887
- extensionName: string;
32888
- telephonySignature: string | null;
32889
- }>;
32890
- }, "strip", import("zod").ZodTypeAny, {
32891
- name: string;
32892
- id: string;
32893
- address: string | null;
32894
- email: string;
32895
- createdAt: Date;
32896
- updatedAt: Date;
32897
- deletedAt: Date | null;
32898
- emailVerifiedAt: Date | null;
32899
- password: string;
32900
- phone: string | null;
32901
- notificationCount: number | null;
32902
- roles: {
32903
- id: string;
32904
- description: string | null;
32905
- createdAt: Date;
32906
- updatedAt: Date;
32907
- deletedAt: Date | null;
32908
- systemName: string;
32909
- displayName: string;
32910
- permissions: {
32911
- id: string;
32912
- description: string | null;
32913
- createdAt: Date;
32914
- updatedAt: Date;
32915
- deletedAt: Date | null;
32916
- systemName: string;
32917
- displayName: string;
32918
- }[];
32919
- }[];
32920
- extension: {
32921
- id: string;
32922
- createdAt: Date;
32923
- updatedAt: Date;
32924
- deletedAt: Date | null;
32925
- userId: string | null;
32926
- sipServerUrl: string;
32927
- sipUserName: string;
32928
- webphoneLoginUser: string;
32929
- extensionId: string | null;
32930
- extensionName: string;
32931
- telephonySignature: string | null;
32932
- };
32933
- }, {
32934
- name: string;
32935
- id: string;
32936
- address: string | null;
32937
- email: string;
32938
- createdAt: Date;
32939
- updatedAt: Date;
32940
- deletedAt: Date | null;
32941
- emailVerifiedAt: Date | null;
32942
- password: string;
32943
- phone: string | null;
32944
- notificationCount: number | null;
32945
- roles: {
32946
- id: string;
32947
- description: string | null;
32948
- createdAt: Date;
32949
- updatedAt: Date;
32950
- deletedAt: Date | null;
32951
- systemName: string;
32952
- displayName: string;
32953
- permissions: {
32954
- id: string;
32955
- description: string | null;
32956
- createdAt: Date;
32957
- updatedAt: Date;
32958
- deletedAt: Date | null;
32959
- systemName: string;
32960
- displayName: string;
32961
- }[];
32962
- }[];
32963
- extension: {
32964
- id: string;
32965
- createdAt: Date;
32966
- updatedAt: Date;
32967
- deletedAt: Date | null;
32968
- userId: string | null;
32969
- sipServerUrl: string;
32970
- sipUserName: string;
32971
- webphoneLoginUser: string;
32972
- extensionId: string | null;
32973
- extensionName: string;
32974
- telephonySignature: string | null;
32975
- };
32976
- }>;
32977
- presenceStatus: import("zod").ZodObject<{
32978
- id: import("zod").ZodString;
32979
- createdAt: import("zod").ZodDate;
32980
- updatedAt: import("zod").ZodDate;
32981
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32982
- status: import("zod").ZodString;
32983
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
32984
- position: import("zod").ZodNumber;
32985
- }, "strip", import("zod").ZodTypeAny, {
32986
- id: string;
32987
- position: number;
32988
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
32989
- status: string;
32990
- createdAt: Date;
32991
- updatedAt: Date;
32992
- deletedAt: Date | null;
32993
- }, {
32994
- id: string;
32995
- position: number;
32996
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
32997
- status: string;
32998
- createdAt: Date;
32999
- updatedAt: Date;
33000
- deletedAt: Date | null;
33001
- }>;
33002
- customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
33003
- }, "strip", import("zod").ZodTypeAny, {
33004
- id: string;
33005
- user: {
33006
- name: string;
33007
- id: string;
33008
- address: string | null;
33009
- email: string;
33010
- createdAt: Date;
33011
- updatedAt: Date;
33012
- deletedAt: Date | null;
33013
- emailVerifiedAt: Date | null;
33014
- password: string;
33015
- phone: string | null;
33016
- notificationCount: number | null;
33017
- roles: {
33018
- id: string;
33019
- description: string | null;
33020
- createdAt: Date;
33021
- updatedAt: Date;
33022
- deletedAt: Date | null;
33023
- systemName: string;
33024
- displayName: string;
33025
- permissions: {
33026
- id: string;
33027
- description: string | null;
33028
- createdAt: Date;
33029
- updatedAt: Date;
33030
- deletedAt: Date | null;
33031
- systemName: string;
33032
- displayName: string;
33033
- }[];
33034
- }[];
33035
- extension: {
33036
- id: string;
33037
- createdAt: Date;
33038
- updatedAt: Date;
33039
- deletedAt: Date | null;
33040
- userId: string | null;
33041
- sipServerUrl: string;
33042
- sipUserName: string;
33043
- webphoneLoginUser: string;
33044
- extensionId: string | null;
33045
- extensionName: string;
33046
- telephonySignature: string | null;
33047
- };
33048
- };
33049
- createdAt: Date;
33050
- updatedAt: Date;
33051
- deletedAt: Date | null;
33052
- presenceStatus: {
33053
- id: string;
33054
- position: number;
33055
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33056
- status: string;
33057
- createdAt: Date;
33058
- updatedAt: Date;
33059
- deletedAt: Date | null;
33060
- };
33061
- customPresenceStatus?: string | null | undefined;
33062
- }, {
33063
- id: string;
33064
- user: {
33065
- name: string;
33066
- id: string;
33067
- address: string | null;
33068
- email: string;
33069
- createdAt: Date;
33070
- updatedAt: Date;
33071
- deletedAt: Date | null;
33072
- emailVerifiedAt: Date | null;
33073
- password: string;
33074
- phone: string | null;
33075
- notificationCount: number | null;
33076
- roles: {
33077
- id: string;
33078
- description: string | null;
33079
- createdAt: Date;
33080
- updatedAt: Date;
33081
- deletedAt: Date | null;
33082
- systemName: string;
33083
- displayName: string;
33084
- permissions: {
33085
- id: string;
33086
- description: string | null;
33087
- createdAt: Date;
33088
- updatedAt: Date;
33089
- deletedAt: Date | null;
33090
- systemName: string;
33091
- displayName: string;
33092
- }[];
33093
- }[];
33094
- extension: {
33095
- id: string;
33096
- createdAt: Date;
33097
- updatedAt: Date;
33098
- deletedAt: Date | null;
33099
- userId: string | null;
33100
- sipServerUrl: string;
33101
- sipUserName: string;
33102
- webphoneLoginUser: string;
33103
- extensionId: string | null;
33104
- extensionName: string;
33105
- telephonySignature: string | null;
33106
- };
33107
- };
33108
- createdAt: Date;
33109
- updatedAt: Date;
33110
- deletedAt: Date | null;
33111
- presenceStatus: {
33112
- id: string;
33113
- position: number;
33114
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33115
- status: string;
33116
- createdAt: Date;
33117
- updatedAt: Date;
33118
- deletedAt: Date | null;
33119
- };
33120
- customPresenceStatus?: string | null | undefined;
33121
- }>, "many">;
33122
- 400: import("zod").ZodObject<{
33123
- message: import("zod").ZodString;
33124
- }, "strip", import("zod").ZodTypeAny, {
33125
- message: string;
33126
- }, {
33127
- message: string;
33128
- }>;
33129
- 401: import("zod").ZodObject<{
33130
- message: import("zod").ZodString;
33131
- error: import("zod").ZodAny;
33132
- }, "strip", import("zod").ZodTypeAny, {
33133
- message: string;
33134
- error?: any;
33135
- }, {
33136
- message: string;
33137
- error?: any;
33138
- }>;
33139
- 500: import("zod").ZodObject<{
33140
- message: import("zod").ZodString;
33141
- error: import("zod").ZodAny;
33142
- }, "strip", import("zod").ZodTypeAny, {
33143
- message: string;
33144
- error?: any;
33145
- }, {
33146
- message: string;
33147
- error?: any;
33148
- }>;
33149
- };
33150
- path: "telephony/agents/presence_status";
33151
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
33152
- 'x-tenant': import("zod").ZodString;
33153
- 'x-service-token': import("zod").ZodString;
33154
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
33155
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
33156
- }, "strip", import("zod").ZodTypeAny, {
33157
- 'x-tenant': string;
33158
- 'x-service-token': string;
33159
- 'x-client-timezone': string;
33160
- 'x-code'?: string | undefined;
33161
- }, {
33162
- 'x-tenant': string;
33163
- 'x-service-token': string;
33164
- 'x-code'?: string | undefined;
33165
- 'x-client-timezone'?: string | undefined;
33166
- }>>>;
33167
- };
33168
32520
  getAgentStatus: {
33169
32521
  summary: "Check and update user agent status before getting from telephony server.";
33170
32522
  method: "GET";
@@ -33390,27 +32742,29 @@ export declare const apiContract: {
33390
32742
  createdAt: import("zod").ZodDate;
33391
32743
  updatedAt: import("zod").ZodDate;
33392
32744
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33393
- status: import("zod").ZodString;
33394
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
32745
+ status: import("zod").ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
32746
+ statusName: import("zod").ZodString;
33395
32747
  position: import("zod").ZodNumber;
32748
+ emoji: import("zod").ZodString;
33396
32749
  }, "strip", import("zod").ZodTypeAny, {
32750
+ emoji: string;
33397
32751
  id: string;
33398
32752
  position: number;
33399
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33400
- status: string;
32753
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
33401
32754
  createdAt: Date;
33402
32755
  updatedAt: Date;
33403
32756
  deletedAt: Date | null;
32757
+ statusName: string;
33404
32758
  }, {
32759
+ emoji: string;
33405
32760
  id: string;
33406
32761
  position: number;
33407
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33408
- status: string;
32762
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
33409
32763
  createdAt: Date;
33410
32764
  updatedAt: Date;
33411
32765
  deletedAt: Date | null;
32766
+ statusName: string;
33412
32767
  }>;
33413
- customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
33414
32768
  }, "strip", import("zod").ZodTypeAny, {
33415
32769
  id: string;
33416
32770
  user: {
@@ -33461,15 +32815,15 @@ export declare const apiContract: {
33461
32815
  updatedAt: Date;
33462
32816
  deletedAt: Date | null;
33463
32817
  presenceStatus: {
32818
+ emoji: string;
33464
32819
  id: string;
33465
32820
  position: number;
33466
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33467
- status: string;
32821
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
33468
32822
  createdAt: Date;
33469
32823
  updatedAt: Date;
33470
32824
  deletedAt: Date | null;
32825
+ statusName: string;
33471
32826
  };
33472
- customPresenceStatus?: string | null | undefined;
33473
32827
  }, {
33474
32828
  id: string;
33475
32829
  user: {
@@ -33520,15 +32874,15 @@ export declare const apiContract: {
33520
32874
  updatedAt: Date;
33521
32875
  deletedAt: Date | null;
33522
32876
  presenceStatus: {
32877
+ emoji: string;
33523
32878
  id: string;
33524
32879
  position: number;
33525
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33526
- status: string;
32880
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
33527
32881
  createdAt: Date;
33528
32882
  updatedAt: Date;
33529
32883
  deletedAt: Date | null;
32884
+ statusName: string;
33530
32885
  };
33531
- customPresenceStatus?: string | null | undefined;
33532
32886
  }>;
33533
32887
  400: import("zod").ZodObject<{
33534
32888
  message: import("zod").ZodString;
@@ -33580,18 +32934,15 @@ export declare const apiContract: {
33580
32934
  body: import("zod").ZodObject<{
33581
32935
  userId: import("zod").ZodString;
33582
32936
  presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
33583
- customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
33584
32937
  reason: import("zod").ZodString;
33585
32938
  }, "strip", import("zod").ZodTypeAny, {
33586
32939
  reason: string;
33587
32940
  userId: string;
33588
32941
  presenceStatusId?: string | null | undefined;
33589
- customPreseneStatus?: string | null | undefined;
33590
32942
  }, {
33591
32943
  reason: string;
33592
32944
  userId: string;
33593
32945
  presenceStatusId?: string | null | undefined;
33594
- customPreseneStatus?: string | null | undefined;
33595
32946
  }>;
33596
32947
  summary: "Update presence status";
33597
32948
  method: "POST";
@@ -33812,27 +33163,29 @@ export declare const apiContract: {
33812
33163
  createdAt: import("zod").ZodDate;
33813
33164
  updatedAt: import("zod").ZodDate;
33814
33165
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33815
- status: import("zod").ZodString;
33816
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
33166
+ status: import("zod").ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
33167
+ statusName: import("zod").ZodString;
33817
33168
  position: import("zod").ZodNumber;
33169
+ emoji: import("zod").ZodString;
33818
33170
  }, "strip", import("zod").ZodTypeAny, {
33171
+ emoji: string;
33819
33172
  id: string;
33820
33173
  position: number;
33821
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33822
- status: string;
33174
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
33823
33175
  createdAt: Date;
33824
33176
  updatedAt: Date;
33825
33177
  deletedAt: Date | null;
33178
+ statusName: string;
33826
33179
  }, {
33180
+ emoji: string;
33827
33181
  id: string;
33828
33182
  position: number;
33829
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33830
- status: string;
33183
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
33831
33184
  createdAt: Date;
33832
33185
  updatedAt: Date;
33833
33186
  deletedAt: Date | null;
33187
+ statusName: string;
33834
33188
  }>;
33835
- customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
33836
33189
  }, "strip", import("zod").ZodTypeAny, {
33837
33190
  id: string;
33838
33191
  user: {
@@ -33883,15 +33236,15 @@ export declare const apiContract: {
33883
33236
  updatedAt: Date;
33884
33237
  deletedAt: Date | null;
33885
33238
  presenceStatus: {
33239
+ emoji: string;
33886
33240
  id: string;
33887
33241
  position: number;
33888
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33889
- status: string;
33242
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
33890
33243
  createdAt: Date;
33891
33244
  updatedAt: Date;
33892
33245
  deletedAt: Date | null;
33246
+ statusName: string;
33893
33247
  };
33894
- customPresenceStatus?: string | null | undefined;
33895
33248
  }, {
33896
33249
  id: string;
33897
33250
  user: {
@@ -33942,15 +33295,15 @@ export declare const apiContract: {
33942
33295
  updatedAt: Date;
33943
33296
  deletedAt: Date | null;
33944
33297
  presenceStatus: {
33298
+ emoji: string;
33945
33299
  id: string;
33946
33300
  position: number;
33947
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
33948
- status: string;
33301
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
33949
33302
  createdAt: Date;
33950
33303
  updatedAt: Date;
33951
33304
  deletedAt: Date | null;
33305
+ statusName: string;
33952
33306
  };
33953
- customPresenceStatus?: string | null | undefined;
33954
33307
  }>;
33955
33308
  }, "strip", import("zod").ZodTypeAny, {
33956
33309
  requestId: string;
@@ -34004,15 +33357,15 @@ export declare const apiContract: {
34004
33357
  updatedAt: Date;
34005
33358
  deletedAt: Date | null;
34006
33359
  presenceStatus: {
33360
+ emoji: string;
34007
33361
  id: string;
34008
33362
  position: number;
34009
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34010
- status: string;
33363
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34011
33364
  createdAt: Date;
34012
33365
  updatedAt: Date;
34013
33366
  deletedAt: Date | null;
33367
+ statusName: string;
34014
33368
  };
34015
- customPresenceStatus?: string | null | undefined;
34016
33369
  };
34017
33370
  }, {
34018
33371
  requestId: string;
@@ -34066,15 +33419,15 @@ export declare const apiContract: {
34066
33419
  updatedAt: Date;
34067
33420
  deletedAt: Date | null;
34068
33421
  presenceStatus: {
33422
+ emoji: string;
34069
33423
  id: string;
34070
33424
  position: number;
34071
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34072
- status: string;
33425
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34073
33426
  createdAt: Date;
34074
33427
  updatedAt: Date;
34075
33428
  deletedAt: Date | null;
33429
+ statusName: string;
34076
33430
  };
34077
- customPresenceStatus?: string | null | undefined;
34078
33431
  };
34079
33432
  }>;
34080
33433
  400: import("zod").ZodObject<{
@@ -34198,22 +33551,24 @@ export declare const apiContract: {
34198
33551
  updatedAt: Date;
34199
33552
  deletedAt: Date | null;
34200
33553
  previousPresenceStatus: {
33554
+ emoji: string;
34201
33555
  id: string;
34202
33556
  position: number;
34203
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34204
- status: string;
33557
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34205
33558
  createdAt: Date;
34206
33559
  updatedAt: Date;
34207
33560
  deletedAt: Date | null;
33561
+ statusName: string;
34208
33562
  };
34209
33563
  newPresenceStatus: {
33564
+ emoji: string;
34210
33565
  id: string;
34211
33566
  position: number;
34212
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34213
- status: string;
33567
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34214
33568
  createdAt: Date;
34215
33569
  updatedAt: Date;
34216
33570
  deletedAt: Date | null;
33571
+ statusName: string;
34217
33572
  };
34218
33573
  }, import("zod").ZodTypeDef, {
34219
33574
  reason: string;
@@ -34266,22 +33621,24 @@ export declare const apiContract: {
34266
33621
  updatedAt: Date;
34267
33622
  deletedAt: Date | null;
34268
33623
  previousPresenceStatus: {
33624
+ emoji: string;
34269
33625
  id: string;
34270
33626
  position: number;
34271
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34272
- status: string;
33627
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34273
33628
  createdAt: Date;
34274
33629
  updatedAt: Date;
34275
33630
  deletedAt: Date | null;
33631
+ statusName: string;
34276
33632
  };
34277
33633
  newPresenceStatus: {
33634
+ emoji: string;
34278
33635
  id: string;
34279
33636
  position: number;
34280
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34281
- status: string;
33637
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34282
33638
  createdAt: Date;
34283
33639
  updatedAt: Date;
34284
33640
  deletedAt: Date | null;
33641
+ statusName: string;
34285
33642
  };
34286
33643
  }>, "many">;
34287
33644
  }, "strip", import("zod").ZodTypeAny, {
@@ -34336,22 +33693,24 @@ export declare const apiContract: {
34336
33693
  updatedAt: Date;
34337
33694
  deletedAt: Date | null;
34338
33695
  previousPresenceStatus: {
33696
+ emoji: string;
34339
33697
  id: string;
34340
33698
  position: number;
34341
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34342
- status: string;
33699
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34343
33700
  createdAt: Date;
34344
33701
  updatedAt: Date;
34345
33702
  deletedAt: Date | null;
33703
+ statusName: string;
34346
33704
  };
34347
33705
  newPresenceStatus: {
33706
+ emoji: string;
34348
33707
  id: string;
34349
33708
  position: number;
34350
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34351
- status: string;
33709
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34352
33710
  createdAt: Date;
34353
33711
  updatedAt: Date;
34354
33712
  deletedAt: Date | null;
33713
+ statusName: string;
34355
33714
  };
34356
33715
  }[];
34357
33716
  total: number;
@@ -34410,22 +33769,24 @@ export declare const apiContract: {
34410
33769
  updatedAt: Date;
34411
33770
  deletedAt: Date | null;
34412
33771
  previousPresenceStatus: {
33772
+ emoji: string;
34413
33773
  id: string;
34414
33774
  position: number;
34415
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34416
- status: string;
33775
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34417
33776
  createdAt: Date;
34418
33777
  updatedAt: Date;
34419
33778
  deletedAt: Date | null;
33779
+ statusName: string;
34420
33780
  };
34421
33781
  newPresenceStatus: {
33782
+ emoji: string;
34422
33783
  id: string;
34423
33784
  position: number;
34424
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
34425
- status: string;
33785
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34426
33786
  createdAt: Date;
34427
33787
  updatedAt: Date;
34428
33788
  deletedAt: Date | null;
33789
+ statusName: string;
34429
33790
  };
34430
33791
  }[];
34431
33792
  total: number;
@@ -86818,7 +86179,7 @@ export declare const platformContract: {
86818
86179
  }>;
86819
86180
  method: "POST";
86820
86181
  responses: {
86821
- 200: import("zod").ZodObject<{
86182
+ 200: import("zod").ZodUnion<[import("zod").ZodObject<{
86822
86183
  requestId: import("zod").ZodString;
86823
86184
  data: import("zod").ZodObject<{
86824
86185
  type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
@@ -104700,7 +104061,7 @@ export declare const platformContract: {
104700
104061
  } | null | undefined;
104701
104062
  };
104702
104063
  requestId: string;
104703
- }>;
104064
+ }>, import("zod").ZodLiteral<"TALK TO AGENT">]>;
104704
104065
  500: import("zod").ZodObject<{
104705
104066
  message: import("zod").ZodString;
104706
104067
  error: import("zod").ZodAny;
@@ -217514,16 +216875,16 @@ export declare const platformWhatsappContract: {
217514
216875
  error?: any;
217515
216876
  }>;
217516
216877
  };
217517
- path: "/mobile";
216878
+ path: "/waapi";
217518
216879
  };
217519
216880
  getWaapiQr: {
217520
216881
  method: "GET";
217521
216882
  query: import("zod").ZodObject<{
217522
- instanceId: import("zod").ZodString;
216883
+ channelId: import("zod").ZodString;
217523
216884
  }, "strip", import("zod").ZodTypeAny, {
217524
- instanceId: string;
216885
+ channelId: string;
217525
216886
  }, {
217526
- instanceId: string;
216887
+ channelId: string;
217527
216888
  }>;
217528
216889
  responses: {
217529
216890
  200: import("zod").ZodObject<{
@@ -217572,48 +216933,7 @@ export declare const platformWhatsappContract: {
217572
216933
  error?: any;
217573
216934
  }>;
217574
216935
  };
217575
- path: "/mobile/qr";
217576
- };
217577
- deleteWaapi: {
217578
- body: import("zod").ZodOptional<import("zod").ZodAny>;
217579
- method: "DELETE";
217580
- pathParams: import("zod").ZodObject<{
217581
- instanceId: import("zod").ZodString;
217582
- }, "strip", import("zod").ZodTypeAny, {
217583
- instanceId: string;
217584
- }, {
217585
- instanceId: string;
217586
- }>;
217587
- responses: {
217588
- 200: import("zod").ZodObject<{
217589
- requestId: import("zod").ZodString;
217590
- }, "strip", import("zod").ZodTypeAny, {
217591
- requestId: string;
217592
- }, {
217593
- requestId: string;
217594
- }>;
217595
- 500: import("zod").ZodObject<{
217596
- message: import("zod").ZodString;
217597
- error: import("zod").ZodAny;
217598
- }, "strip", import("zod").ZodTypeAny, {
217599
- message: string;
217600
- error?: any;
217601
- }, {
217602
- message: string;
217603
- error?: any;
217604
- }>;
217605
- 400: import("zod").ZodObject<{
217606
- message: import("zod").ZodString;
217607
- error: import("zod").ZodAny;
217608
- }, "strip", import("zod").ZodTypeAny, {
217609
- message: string;
217610
- error?: any;
217611
- }, {
217612
- message: string;
217613
- error?: any;
217614
- }>;
217615
- };
217616
- path: "/mobile/:instanceId";
216936
+ path: "/waapi/qr";
217617
216937
  };
217618
216938
  sendSeenToWaapi: {
217619
216939
  body: import("zod").ZodObject<{
@@ -217669,7 +216989,7 @@ export declare const platformWhatsappContract: {
217669
216989
  error?: any;
217670
216990
  }>;
217671
216991
  };
217672
- path: "/mobile/send-seen";
216992
+ path: "/waapi/send-seen";
217673
216993
  };
217674
216994
  };
217675
216995
  };
@@ -318975,7 +318295,7 @@ export declare const channelSettingContract: {
318975
318295
  error?: any;
318976
318296
  }>;
318977
318297
  };
318978
- path: "settings/channel/whatsapp/mobile";
318298
+ path: "settings/channel/whatsapp/waapi";
318979
318299
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
318980
318300
  'x-tenant': import("zod").ZodString;
318981
318301
  'x-service-token': import("zod").ZodString;
@@ -318996,11 +318316,11 @@ export declare const channelSettingContract: {
318996
318316
  getWaapiQr: {
318997
318317
  method: "GET";
318998
318318
  query: import("zod").ZodObject<{
318999
- instanceId: import("zod").ZodString;
318319
+ channelId: import("zod").ZodString;
319000
318320
  }, "strip", import("zod").ZodTypeAny, {
319001
- instanceId: string;
318321
+ channelId: string;
319002
318322
  }, {
319003
- instanceId: string;
318323
+ channelId: string;
319004
318324
  }>;
319005
318325
  responses: {
319006
318326
  200: import("zod").ZodObject<{
@@ -319049,64 +318369,7 @@ export declare const channelSettingContract: {
319049
318369
  error?: any;
319050
318370
  }>;
319051
318371
  };
319052
- path: "settings/channel/whatsapp/mobile/qr";
319053
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
319054
- 'x-tenant': import("zod").ZodString;
319055
- 'x-service-token': import("zod").ZodString;
319056
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
319057
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
319058
- }, "strip", import("zod").ZodTypeAny, {
319059
- 'x-tenant': string;
319060
- 'x-service-token': string;
319061
- 'x-client-timezone': string;
319062
- 'x-code'?: string | undefined;
319063
- }, {
319064
- 'x-tenant': string;
319065
- 'x-service-token': string;
319066
- 'x-code'?: string | undefined;
319067
- 'x-client-timezone'?: string | undefined;
319068
- }>>>;
319069
- };
319070
- deleteWaapi: {
319071
- body: import("zod").ZodOptional<import("zod").ZodAny>;
319072
- method: "DELETE";
319073
- pathParams: import("zod").ZodObject<{
319074
- instanceId: import("zod").ZodString;
319075
- }, "strip", import("zod").ZodTypeAny, {
319076
- instanceId: string;
319077
- }, {
319078
- instanceId: string;
319079
- }>;
319080
- responses: {
319081
- 200: import("zod").ZodObject<{
319082
- requestId: import("zod").ZodString;
319083
- }, "strip", import("zod").ZodTypeAny, {
319084
- requestId: string;
319085
- }, {
319086
- requestId: string;
319087
- }>;
319088
- 500: import("zod").ZodObject<{
319089
- message: import("zod").ZodString;
319090
- error: import("zod").ZodAny;
319091
- }, "strip", import("zod").ZodTypeAny, {
319092
- message: string;
319093
- error?: any;
319094
- }, {
319095
- message: string;
319096
- error?: any;
319097
- }>;
319098
- 400: import("zod").ZodObject<{
319099
- message: import("zod").ZodString;
319100
- error: import("zod").ZodAny;
319101
- }, "strip", import("zod").ZodTypeAny, {
319102
- message: string;
319103
- error?: any;
319104
- }, {
319105
- message: string;
319106
- error?: any;
319107
- }>;
319108
- };
319109
- path: "settings/channel/whatsapp/mobile/:instanceId";
318372
+ path: "settings/channel/whatsapp/waapi/qr";
319110
318373
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
319111
318374
  'x-tenant': import("zod").ZodString;
319112
318375
  'x-service-token': import("zod").ZodString;
@@ -322638,46 +321901,51 @@ export declare const presenceStatusContract: {
322638
321901
  createdAt: import("zod").ZodDate;
322639
321902
  updatedAt: import("zod").ZodDate;
322640
321903
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
322641
- status: import("zod").ZodString;
322642
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
321904
+ status: import("zod").ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
321905
+ statusName: import("zod").ZodString;
322643
321906
  position: import("zod").ZodNumber;
321907
+ emoji: import("zod").ZodString;
322644
321908
  }, "strip", import("zod").ZodTypeAny, {
321909
+ emoji: string;
322645
321910
  id: string;
322646
321911
  position: number;
322647
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322648
- status: string;
321912
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322649
321913
  createdAt: Date;
322650
321914
  updatedAt: Date;
322651
321915
  deletedAt: Date | null;
321916
+ statusName: string;
322652
321917
  }, {
321918
+ emoji: string;
322653
321919
  id: string;
322654
321920
  position: number;
322655
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322656
- status: string;
321921
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322657
321922
  createdAt: Date;
322658
321923
  updatedAt: Date;
322659
321924
  deletedAt: Date | null;
321925
+ statusName: string;
322660
321926
  }>, "many">;
322661
321927
  }, "strip", import("zod").ZodTypeAny, {
322662
321928
  data: {
321929
+ emoji: string;
322663
321930
  id: string;
322664
321931
  position: number;
322665
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322666
- status: string;
321932
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322667
321933
  createdAt: Date;
322668
321934
  updatedAt: Date;
322669
321935
  deletedAt: Date | null;
321936
+ statusName: string;
322670
321937
  }[];
322671
321938
  total: number;
322672
321939
  }, {
322673
321940
  data: {
321941
+ emoji: string;
322674
321942
  id: string;
322675
321943
  position: number;
322676
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322677
- status: string;
321944
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322678
321945
  createdAt: Date;
322679
321946
  updatedAt: Date;
322680
321947
  deletedAt: Date | null;
321948
+ statusName: string;
322681
321949
  }[];
322682
321950
  total: number;
322683
321951
  }>;
@@ -322729,17 +321997,20 @@ export declare const presenceStatusContract: {
322729
321997
  };
322730
321998
  createPresenceStatus: {
322731
321999
  body: import("zod").ZodObject<{
322732
- status: import("zod").ZodString;
322733
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
322000
+ status: import("zod").ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
322001
+ statusName: import("zod").ZodString;
322734
322002
  position: import("zod").ZodNumber;
322003
+ emoji: import("zod").ZodString;
322735
322004
  }, "strip", import("zod").ZodTypeAny, {
322005
+ emoji: string;
322736
322006
  position: number;
322737
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322738
- status: string;
322007
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322008
+ statusName: string;
322739
322009
  }, {
322010
+ emoji: string;
322740
322011
  position: number;
322741
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322742
- status: string;
322012
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322013
+ statusName: string;
322743
322014
  }>;
322744
322015
  summary: "Create a new presence status.";
322745
322016
  method: "POST";
@@ -322751,47 +322022,52 @@ export declare const presenceStatusContract: {
322751
322022
  createdAt: import("zod").ZodDate;
322752
322023
  updatedAt: import("zod").ZodDate;
322753
322024
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
322754
- status: import("zod").ZodString;
322755
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
322025
+ status: import("zod").ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
322026
+ statusName: import("zod").ZodString;
322756
322027
  position: import("zod").ZodNumber;
322028
+ emoji: import("zod").ZodString;
322757
322029
  }, "strip", import("zod").ZodTypeAny, {
322030
+ emoji: string;
322758
322031
  id: string;
322759
322032
  position: number;
322760
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322761
- status: string;
322033
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322762
322034
  createdAt: Date;
322763
322035
  updatedAt: Date;
322764
322036
  deletedAt: Date | null;
322037
+ statusName: string;
322765
322038
  }, {
322039
+ emoji: string;
322766
322040
  id: string;
322767
322041
  position: number;
322768
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322769
- status: string;
322042
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322770
322043
  createdAt: Date;
322771
322044
  updatedAt: Date;
322772
322045
  deletedAt: Date | null;
322046
+ statusName: string;
322773
322047
  }>;
322774
322048
  }, "strip", import("zod").ZodTypeAny, {
322775
322049
  requestId: string;
322776
322050
  presenceStatus: {
322051
+ emoji: string;
322777
322052
  id: string;
322778
322053
  position: number;
322779
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322780
- status: string;
322054
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322781
322055
  createdAt: Date;
322782
322056
  updatedAt: Date;
322783
322057
  deletedAt: Date | null;
322058
+ statusName: string;
322784
322059
  };
322785
322060
  }, {
322786
322061
  requestId: string;
322787
322062
  presenceStatus: {
322063
+ emoji: string;
322788
322064
  id: string;
322789
322065
  position: number;
322790
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322791
- status: string;
322066
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322792
322067
  createdAt: Date;
322793
322068
  updatedAt: Date;
322794
322069
  deletedAt: Date | null;
322070
+ statusName: string;
322795
322071
  };
322796
322072
  }>;
322797
322073
  400: import("zod").ZodObject<{
@@ -322876,25 +322152,28 @@ export declare const presenceStatusContract: {
322876
322152
  createdAt: import("zod").ZodDate;
322877
322153
  updatedAt: import("zod").ZodDate;
322878
322154
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
322879
- status: import("zod").ZodString;
322880
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
322155
+ status: import("zod").ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
322156
+ statusName: import("zod").ZodString;
322881
322157
  position: import("zod").ZodNumber;
322158
+ emoji: import("zod").ZodString;
322882
322159
  }, "strip", import("zod").ZodTypeAny, {
322160
+ emoji: string;
322883
322161
  id: string;
322884
322162
  position: number;
322885
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322886
- status: string;
322163
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322887
322164
  createdAt: Date;
322888
322165
  updatedAt: Date;
322889
322166
  deletedAt: Date | null;
322167
+ statusName: string;
322890
322168
  }, {
322169
+ emoji: string;
322891
322170
  id: string;
322892
322171
  position: number;
322893
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322894
- status: string;
322172
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322895
322173
  createdAt: Date;
322896
322174
  updatedAt: Date;
322897
322175
  deletedAt: Date | null;
322176
+ statusName: string;
322898
322177
  }>;
322899
322178
  400: import("zod").ZodObject<{
322900
322179
  message: import("zod").ZodString;
@@ -322964,17 +322243,20 @@ export declare const presenceStatusContract: {
322964
322243
  };
322965
322244
  updatePresenceStatus: {
322966
322245
  body: import("zod").ZodObject<{
322967
- status: import("zod").ZodString;
322968
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
322246
+ status: import("zod").ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
322247
+ statusName: import("zod").ZodString;
322969
322248
  position: import("zod").ZodNumber;
322249
+ emoji: import("zod").ZodString;
322970
322250
  }, "strip", import("zod").ZodTypeAny, {
322251
+ emoji: string;
322971
322252
  position: number;
322972
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322973
- status: string;
322253
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322254
+ statusName: string;
322974
322255
  }, {
322256
+ emoji: string;
322975
322257
  position: number;
322976
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
322977
- status: string;
322258
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322259
+ statusName: string;
322978
322260
  }>;
322979
322261
  summary: "Update a presence status.";
322980
322262
  method: "PATCH";
@@ -322993,47 +322275,52 @@ export declare const presenceStatusContract: {
322993
322275
  createdAt: import("zod").ZodDate;
322994
322276
  updatedAt: import("zod").ZodDate;
322995
322277
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
322996
- status: import("zod").ZodString;
322997
- description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
322278
+ status: import("zod").ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
322279
+ statusName: import("zod").ZodString;
322998
322280
  position: import("zod").ZodNumber;
322281
+ emoji: import("zod").ZodString;
322999
322282
  }, "strip", import("zod").ZodTypeAny, {
322283
+ emoji: string;
323000
322284
  id: string;
323001
322285
  position: number;
323002
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
323003
- status: string;
322286
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
323004
322287
  createdAt: Date;
323005
322288
  updatedAt: Date;
323006
322289
  deletedAt: Date | null;
322290
+ statusName: string;
323007
322291
  }, {
322292
+ emoji: string;
323008
322293
  id: string;
323009
322294
  position: number;
323010
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
323011
- status: string;
322295
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
323012
322296
  createdAt: Date;
323013
322297
  updatedAt: Date;
323014
322298
  deletedAt: Date | null;
322299
+ statusName: string;
323015
322300
  }>;
323016
322301
  }, "strip", import("zod").ZodTypeAny, {
323017
322302
  requestId: string;
323018
322303
  presenceStatus: {
322304
+ emoji: string;
323019
322305
  id: string;
323020
322306
  position: number;
323021
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
323022
- status: string;
322307
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
323023
322308
  createdAt: Date;
323024
322309
  updatedAt: Date;
323025
322310
  deletedAt: Date | null;
322311
+ statusName: string;
323026
322312
  };
323027
322313
  }, {
323028
322314
  requestId: string;
323029
322315
  presenceStatus: {
322316
+ emoji: string;
323030
322317
  id: string;
323031
322318
  position: number;
323032
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
323033
- status: string;
322319
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
323034
322320
  createdAt: Date;
323035
322321
  updatedAt: Date;
323036
322322
  deletedAt: Date | null;
322323
+ statusName: string;
323037
322324
  };
323038
322325
  }>;
323039
322326
  400: import("zod").ZodObject<{