@webitel/ui-sdk 26.8.43 → 26.8.45

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.
@@ -16659,7 +16659,8 @@ m.array(xe), m.object({ deleted: m.array(m.object({
16659
16659
  })).optional().describe("List of conditions."),
16660
16660
  next: m.boolean().optional().describe("Have more records."),
16661
16661
  page: m.int().optional().describe("Page number of the partial result.")
16662
- }).describe("A list of Conditions."), m.object({ group_id: m.string().describe("The ID of the group to which the condition belongs.") }), m.object({
16662
+ }).describe("A list of Conditions."), m.object({ group_id: m.string().describe("The ID of the group to which the condition belongs.") });
16663
+ var Se = m.object({
16663
16664
  assignee: m.object({
16664
16665
  id: m.string().optional().describe("Reference Object unique ID."),
16665
16666
  name: m.string().optional().describe("Reference Object display name."),
@@ -16671,7 +16672,8 @@ m.array(xe), m.object({ deleted: m.array(m.object({
16671
16672
  name: m.string().optional().describe("Reference Object display name."),
16672
16673
  type: m.string().optional().describe("Reference Object well-known type.")
16673
16674
  }).optional().describe("The ID of the static group that should be assigned if the condition is met.")
16674
- }).describe("Request message for creating a new condition."), m.object({
16675
+ }).describe("Request message for creating a new condition.");
16676
+ m.object({
16675
16677
  assignee: m.object({
16676
16678
  id: m.string().optional().describe("Reference Object unique ID."),
16677
16679
  name: m.string().optional().describe("Reference Object display name."),
@@ -16919,7 +16921,8 @@ m.array(xe), m.object({ deleted: m.array(m.object({
16919
16921
  name: m.string().optional().describe("Reference Object display name."),
16920
16922
  type: m.string().optional().describe("Reference Object well-known type.")
16921
16923
  }).optional().describe("The user who performed the last update.")
16922
- }), m.object({ id: m.string().describe("The unique ID of the dynamic group to update.") }), m.object({
16924
+ }), m.object({ id: m.string().describe("The unique ID of the dynamic group to update.") });
16925
+ var Ce = m.object({
16923
16926
  defaultGroup: m.object({
16924
16927
  id: m.string().optional().describe("Reference Object unique ID."),
16925
16928
  name: m.string().optional().describe("Reference Object display name."),
@@ -16928,7 +16931,8 @@ m.array(xe), m.object({ deleted: m.array(m.object({
16928
16931
  description: m.string().optional().describe("The description of the dynamic group."),
16929
16932
  enabled: m.boolean().optional().describe("Enabled status of the dynamic group: active/inactive."),
16930
16933
  name: m.string().optional().describe("The name of the dynamic group.")
16931
- }).describe("Input message for creating/updating a dynamic group."), m.object({
16934
+ }).describe("Input message for creating/updating a dynamic group.");
16935
+ m.object({
16932
16936
  conditions: m.array(m.object({
16933
16937
  assignee: m.object({
16934
16938
  id: m.string().optional().describe("Reference Object unique ID."),
@@ -17377,7 +17381,7 @@ m.array(xe), m.object({ deleted: m.array(m.object({
17377
17381
  next: m.boolean().optional(),
17378
17382
  page: m.int().optional().describe("The page number of the partial result.")
17379
17383
  }).describe("Email dataset."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result of changes.") });
17380
- var Se = m.object({
17384
+ var we = m.object({
17381
17385
  email: m.string().describe("The email address."),
17382
17386
  etag: m.string().optional().describe("Unique ID of the latest version of an existing resorce."),
17383
17387
  primary: m.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -17388,7 +17392,7 @@ var Se = m.object({
17388
17392
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
17389
17393
  verified: m.boolean().optional()
17390
17394
  }).describe("Input of the Contact's email address.");
17391
- m.array(Se), m.object({
17395
+ m.array(we), m.object({
17392
17396
  data: m.array(m.object({
17393
17397
  createdAt: m.string().optional().describe("The user who created this Field."),
17394
17398
  createdBy: m.object({
@@ -17417,7 +17421,7 @@ m.array(Se), m.object({
17417
17421
  next: m.boolean().optional(),
17418
17422
  page: m.int().optional().describe("The page number of the partial result.")
17419
17423
  }).describe("Email dataset."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result of changes.") });
17420
- var Ce = m.object({
17424
+ var Te = m.object({
17421
17425
  email: m.string().describe("The email address."),
17422
17426
  etag: m.string().optional().describe("Unique ID of the latest version of an existing resorce."),
17423
17427
  primary: m.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -17428,7 +17432,7 @@ var Ce = m.object({
17428
17432
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
17429
17433
  verified: m.boolean().optional()
17430
17434
  }).describe("Input of the Contact's email address.");
17431
- m.array(Ce), m.object({
17435
+ m.array(Te), m.object({
17432
17436
  data: m.array(m.object({
17433
17437
  createdAt: m.string().optional().describe("The user who created this Field."),
17434
17438
  createdBy: m.object({
@@ -20441,11 +20445,13 @@ m.array(Ce), m.object({
20441
20445
  name: m.string().optional().describe("Reference Object display name."),
20442
20446
  type: m.string().optional().describe("Reference Object well-known type.")
20443
20447
  }).optional().describe("The user who performed the last update.")
20444
- }), m.object({ id: m.string().describe("The unique ID of the group to update.") }), m.object({
20448
+ }), m.object({ id: m.string().describe("The unique ID of the group to update.") });
20449
+ var Ee = m.object({
20445
20450
  description: m.string().optional().describe("The new description of the group."),
20446
20451
  enabled: m.boolean().optional().describe("The new enabled status of the group."),
20447
20452
  name: m.string().optional().describe("The new name of the group.")
20448
- }), m.object({
20453
+ });
20454
+ m.object({
20449
20455
  conditions: m.array(m.object({
20450
20456
  assignee: m.object({
20451
20457
  id: m.string().optional().describe("Reference Object unique ID."),
@@ -20778,11 +20784,11 @@ m.array(Ce), m.object({
20778
20784
  next: m.boolean().optional(),
20779
20785
  page: m.int().optional().describe("Page number of partial result.")
20780
20786
  }).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result.") });
20781
- var we = m.object({
20787
+ var De = m.object({
20782
20788
  etag: m.string().optional().describe("Unique ID of the latest version of an existing resorce."),
20783
20789
  label: m.string().optional().describe("REQUIRED. Hashtag value;\nNOTE: Keep in mind, hashtags are not case-sensitive,\nbut adding capital letters does make them easier to read:\n#MakeAWish vs. #makeawish.")
20784
20790
  }).describe("A Contact's associated Tag.\nOutput purpose only.");
20785
- m.array(we), m.object({
20791
+ m.array(De), m.object({
20786
20792
  data: m.array(m.object({
20787
20793
  createdAt: m.string().optional().describe("The user who created this Field."),
20788
20794
  createdBy: m.object({
@@ -20804,11 +20810,11 @@ m.array(we), m.object({
20804
20810
  next: m.boolean().optional(),
20805
20811
  page: m.int().optional().describe("Page number of partial result.")
20806
20812
  }).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result.") });
20807
- var Te = m.object({
20813
+ var Oe = m.object({
20808
20814
  etag: m.string().optional().describe("Unique ID of the latest version of an existing resorce."),
20809
20815
  label: m.string().optional().describe("REQUIRED. Hashtag value;\nNOTE: Keep in mind, hashtags are not case-sensitive,\nbut adding capital letters does make them easier to read:\n#MakeAWish vs. #makeawish.")
20810
20816
  }).describe("A Contact's associated Tag.\nOutput purpose only.");
20811
- m.array(Te), m.object({
20817
+ m.array(Oe), m.object({
20812
20818
  data: m.array(m.object({
20813
20819
  createdAt: m.string().optional().describe("The user who created this Field."),
20814
20820
  createdBy: m.object({
@@ -20899,12 +20905,12 @@ m.array(Te), m.object({
20899
20905
  next: m.boolean().optional(),
20900
20906
  page: m.int().optional().describe("Page number of partial result dataset records.")
20901
20907
  }).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved as a result.") });
20902
- var Ee = m.object({
20908
+ var ke = m.object({
20903
20909
  etag: m.string().describe("Unique ID of the latest version of an existing association."),
20904
20910
  primary: m.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
20905
20911
  tag: m.string().optional()
20906
20912
  }).describe("An input of the Contact's language.");
20907
- m.array(Ee), m.object({
20913
+ m.array(ke), m.object({
20908
20914
  data: m.array(m.object({
20909
20915
  code: m.string().optional(),
20910
20916
  createdAt: m.string().optional().describe("The user who created this Field."),
@@ -20932,12 +20938,12 @@ m.array(Ee), m.object({
20932
20938
  next: m.boolean().optional(),
20933
20939
  page: m.int().optional().describe("Page number of partial result dataset records.")
20934
20940
  }).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), m.object({ contact_id: m.string().describe("Contact ID associated with.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved as a result.") });
20935
- var De = m.object({
20941
+ var Ae = m.object({
20936
20942
  etag: m.string().describe("Unique ID of the latest version of an existing association."),
20937
20943
  primary: m.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
20938
20944
  tag: m.string().optional()
20939
20945
  }).describe("An input of the Contact's language.");
20940
- m.array(De), m.object({
20946
+ m.array(Ae), m.object({
20941
20947
  data: m.array(m.object({
20942
20948
  code: m.string().optional(),
20943
20949
  createdAt: m.string().optional().describe("The user who created this Field."),
@@ -22731,7 +22737,7 @@ m.array(De), m.object({
22731
22737
  fields: m.array(m.string()).optional().describe("Fields to be retrieved as a result."),
22732
22738
  etag: m.array(m.string()).describe("Set of unique ID(s) to remove.")
22733
22739
  });
22734
- var Oe = m.object({
22740
+ var je = m.object({
22735
22741
  createdAt: m.string().optional().describe("The user who created this Field."),
22736
22742
  createdBy: m.object({
22737
22743
  id: m.string().optional().describe("Reference Object unique ID."),
@@ -22754,7 +22760,7 @@ var Oe = m.object({
22754
22760
  }).optional().describe("Responsible User."),
22755
22761
  ver: m.int().optional().describe("Version of the latest update. Numeric sequence.")
22756
22762
  }).describe("Manager. The Contact's responsible User.");
22757
- m.array(Oe), m.object({ contact_id: m.string().describe("Contact ID associated with.") }), m.object({
22763
+ m.array(je), m.object({ contact_id: m.string().describe("Contact ID associated with.") }), m.object({
22758
22764
  page: m.int().optional().describe("Page number of result. offset = ((page-1)*size)"),
22759
22765
  size: m.int().optional().describe("Size of result page. limit = (size++)"),
22760
22766
  q: m.string().optional().describe("Search term: user name;\n`?` - matches any one character\n`*` - matches 0 or more characters"),
@@ -22788,7 +22794,7 @@ m.array(Oe), m.object({ contact_id: m.string().describe("Contact ID associated w
22788
22794
  next: m.boolean().optional(),
22789
22795
  page: m.int().optional().describe("The page number of the partial result.")
22790
22796
  }).describe("Manager dataset."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved as a result.") });
22791
- var ke = m.object({
22797
+ var Me = m.object({
22792
22798
  etag: m.string().describe("Unique ID of the latest version of an existing resource."),
22793
22799
  primary: m.boolean().optional().describe("Indicates whether this association must be default among others."),
22794
22800
  user: m.object({
@@ -22797,7 +22803,7 @@ var ke = m.object({
22797
22803
  type: m.string().optional().describe("Reference Object well-known type.")
22798
22804
  }).optional().describe("Responsible User.")
22799
22805
  });
22800
- m.array(ke), m.object({
22806
+ m.array(Me), m.object({
22801
22807
  data: m.array(m.object({
22802
22808
  createdAt: m.string().optional().describe("The user who created this Field."),
22803
22809
  createdBy: m.object({
@@ -22824,7 +22830,7 @@ m.array(ke), m.object({
22824
22830
  next: m.boolean().optional(),
22825
22831
  page: m.int().optional().describe("The page number of the partial result.")
22826
22832
  }).describe("Manager dataset."), m.object({ contact_id: m.string().describe("Contact ID associated with.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved as a result.") });
22827
- var Ae = m.object({
22833
+ var Ne = m.object({
22828
22834
  etag: m.string().describe("Unique ID of the latest version of an existing resource."),
22829
22835
  primary: m.boolean().optional().describe("Indicates whether this association must be default among others."),
22830
22836
  user: m.object({
@@ -22833,7 +22839,7 @@ var Ae = m.object({
22833
22839
  type: m.string().optional().describe("Reference Object well-known type.")
22834
22840
  }).optional().describe("Responsible User.")
22835
22841
  });
22836
- m.array(Ae), m.object({
22842
+ m.array(Ne), m.object({
22837
22843
  data: m.array(m.object({
22838
22844
  createdAt: m.string().optional().describe("The user who created this Field."),
22839
22845
  createdBy: m.object({
@@ -24198,7 +24204,7 @@ m.array(Ae), m.object({
24198
24204
  }), m.object({ status: m.string().optional() });
24199
24205
  //#endregion
24200
24206
  //#region packages/api-services/src/gen/messages/messages.ts
24201
- var je = (e = p) => ({
24207
+ var Pe = (e = p) => ({
24202
24208
  messagesServiceBroadcastMessage: (t, n) => e.post("/chat/broadcast", t, n),
24203
24209
  catalogGetCustomers: (t, n) => e.get("/chat/customers", {
24204
24210
  ...n,
@@ -24840,7 +24846,7 @@ m.object({
24840
24846
  next: m.boolean().optional(),
24841
24847
  page: m.int().optional()
24842
24848
  });
24843
- var Me = m.object({
24849
+ var Fe = m.object({
24844
24850
  authUrl: m.string().optional(),
24845
24851
  claims: m.array(m.object({
24846
24852
  type: m.string().optional(),
@@ -26087,7 +26093,7 @@ m.object({
26087
26093
  next: m.boolean().optional(),
26088
26094
  page: m.int().optional().describe("The page number of the partial result.")
26089
26095
  }).describe("PhoneNumber dataset."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result of changes.") });
26090
- var Ne = m.object({
26096
+ var Ie = m.object({
26091
26097
  etag: m.string().optional().describe("Unique ID of the latest version of an existing resorce."),
26092
26098
  number: m.string().describe("The phone number."),
26093
26099
  primary: m.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -26098,7 +26104,7 @@ var Ne = m.object({
26098
26104
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
26099
26105
  verified: m.boolean().optional()
26100
26106
  }).describe("Input of the contact phone number.");
26101
- m.array(Ne), m.object({
26107
+ m.array(Ie), m.object({
26102
26108
  data: m.array(m.object({
26103
26109
  createdAt: m.string().optional().describe("The user who created this Field."),
26104
26110
  createdBy: m.object({
@@ -26127,7 +26133,7 @@ m.array(Ne), m.object({
26127
26133
  next: m.boolean().optional(),
26128
26134
  page: m.int().optional().describe("The page number of the partial result.")
26129
26135
  }).describe("PhoneNumber dataset."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result of changes.") });
26130
- var Pe = m.object({
26136
+ var Le = m.object({
26131
26137
  etag: m.string().optional().describe("Unique ID of the latest version of an existing resorce."),
26132
26138
  number: m.string().describe("The phone number."),
26133
26139
  primary: m.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -26138,7 +26144,7 @@ var Pe = m.object({
26138
26144
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
26139
26145
  verified: m.boolean().optional()
26140
26146
  }).describe("Input of the contact phone number.");
26141
- m.array(Pe), m.object({
26147
+ m.array(Le), m.object({
26142
26148
  data: m.array(m.object({
26143
26149
  createdAt: m.string().optional().describe("The user who created this Field."),
26144
26150
  createdBy: m.object({
@@ -26358,13 +26364,13 @@ m.array(Pe), m.object({
26358
26364
  next: m.boolean().optional(),
26359
26365
  page: m.int().optional().describe("The page number of the partial result.")
26360
26366
  }).describe("Photo dataset."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result of changes.") });
26361
- var Fe = m.object({
26367
+ var Re = m.object({
26362
26368
  etag: m.string().optional().describe("Unique ID of the latest version of an existing association."),
26363
26369
  photoId: m.string().optional(),
26364
26370
  photoUrl: m.string().optional(),
26365
26371
  primary: m.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
26366
26372
  }).describe("Input of the photo.");
26367
- m.array(Fe), m.object({
26373
+ m.array(Re), m.object({
26368
26374
  data: m.array(m.object({
26369
26375
  createdAt: m.string().optional().describe("The user who created this Field."),
26370
26376
  createdBy: m.object({
@@ -26388,13 +26394,13 @@ m.array(Fe), m.object({
26388
26394
  next: m.boolean().optional(),
26389
26395
  page: m.int().optional().describe("The page number of the partial result.")
26390
26396
  }).describe("Photo dataset."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result of changes.") });
26391
- var Ie = m.object({
26397
+ var ze = m.object({
26392
26398
  etag: m.string().optional().describe("Unique ID of the latest version of an existing association."),
26393
26399
  photoId: m.string().optional(),
26394
26400
  photoUrl: m.string().optional(),
26395
26401
  primary: m.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
26396
26402
  }).describe("Input of the photo.");
26397
- m.array(Ie), m.object({
26403
+ m.array(ze), m.object({
26398
26404
  data: m.array(m.object({
26399
26405
  createdAt: m.string().optional().describe("The user who created this Field."),
26400
26406
  createdBy: m.object({
@@ -30973,13 +30979,13 @@ m.array(Ie), m.object({
30973
30979
  next: m.boolean().optional(),
30974
30980
  page: m.int().optional().describe("The page number of the partial result.")
30975
30981
  }), m.object({ fields: m.array(m.string()).optional().describe("Source Fields to return into result.") });
30976
- var Le = m.object({
30982
+ var Be = m.object({
30977
30983
  etag: m.string().optional().describe("Unique ID of the latest version of an existing resorce."),
30978
30984
  homePage: m.string().optional().describe("BIO. Short description about the space.\nOPTIONAL. Multi-lined text."),
30979
30985
  name: m.string().optional().describe("Represents the name of the knowledge base space."),
30980
30986
  state: m.boolean().optional().describe("The state of the space.")
30981
30987
  }).describe("The Space principal input.");
30982
- m.array(Le), m.object({
30988
+ m.array(Be), m.object({
30983
30989
  createdAt: m.string().optional().describe("The timestamp when the space was created (in Unix time)."),
30984
30990
  createdBy: m.object({
30985
30991
  id: m.string().optional().describe("Reference Object unique ID."),
@@ -32012,7 +32018,7 @@ m.array(Le), m.object({
32012
32018
  next: m.boolean().optional(),
32013
32019
  page: m.int().optional().describe("The page number of the partial result.")
32014
32020
  }).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved as a result.") });
32015
- var Re = m.object({
32021
+ var Ve = m.object({
32016
32022
  etag: m.string().describe("Unique ID of the latest version of an existing resource."),
32017
32023
  primary: m.boolean().optional().describe("Indicates whether this association must be default among others."),
32018
32024
  timezone: m.object({
@@ -32021,7 +32027,7 @@ var Re = m.object({
32021
32027
  type: m.string().optional().describe("Reference Object well-known type.")
32022
32028
  }).optional().describe("Timezone dictionary reference value associated.")
32023
32029
  }).describe("An input of the Contact's timezones.");
32024
- m.array(Re), m.object({
32030
+ m.array(Ve), m.object({
32025
32031
  data: m.array(m.object({
32026
32032
  createdAt: m.string().optional().describe("The user who created this Field."),
32027
32033
  createdBy: m.object({
@@ -32048,7 +32054,7 @@ m.array(Re), m.object({
32048
32054
  next: m.boolean().optional(),
32049
32055
  page: m.int().optional().describe("The page number of the partial result.")
32050
32056
  }).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result of changes.") });
32051
- var ze = m.object({
32057
+ var He = m.object({
32052
32058
  etag: m.string().describe("Unique ID of the latest version of an existing resource."),
32053
32059
  primary: m.boolean().optional().describe("Indicates whether this association must be default among others."),
32054
32060
  timezone: m.object({
@@ -32057,7 +32063,7 @@ var ze = m.object({
32057
32063
  type: m.string().optional().describe("Reference Object well-known type.")
32058
32064
  }).optional().describe("Timezone dictionary reference value associated.")
32059
32065
  }).describe("An input of the Contact's timezones.");
32060
- m.array(ze), m.object({
32066
+ m.array(He), m.object({
32061
32067
  data: m.array(m.object({
32062
32068
  createdAt: m.string().optional().describe("The user who created this Field."),
32063
32069
  createdBy: m.object({
@@ -33294,8 +33300,8 @@ m.array(ze), m.object({
33294
33300
  id: m.string().optional().describe("ONE /users/{id}"),
33295
33301
  permanent: m.boolean().optional()
33296
33302
  });
33297
- var Be = m.string();
33298
- m.array(Be), m.object({ deleted: m.array(m.object({
33303
+ var Ue = m.string();
33304
+ m.array(Ue), m.object({ deleted: m.array(m.object({
33299
33305
  chatName: m.string().optional().describe("The \"chat_name\" field is used to store the name displayed externally on the platform.\nFor example, \"chat_name\" is shown when an agent connects to chats with clients."),
33300
33306
  contact: m.object({
33301
33307
  id: m.string().optional(),
@@ -34178,12 +34184,12 @@ m.array(Be), m.object({ deleted: m.array(m.object({
34178
34184
  next: m.boolean().optional(),
34179
34185
  page: m.int().optional().describe("The page number of the partial result.")
34180
34186
  }).describe("Variable dataset."), m.object({ contact_id: m.string().describe("Link contact ID.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved as a result.") });
34181
- var Ve = m.object({
34187
+ var We = m.object({
34182
34188
  etag: m.string().optional().describe("Unique ID of the latest version of an existing resorce."),
34183
34189
  key: m.string().regex(/^\w+$/).describe("NEW Key."),
34184
34190
  value: m.unknown().optional().describe("NEW Value.")
34185
34191
  }).describe("Input of the Contact's variable.");
34186
- m.array(Ve), m.object({
34192
+ m.array(We), m.object({
34187
34193
  data: m.array(m.object({
34188
34194
  createdAt: m.string().optional().describe("The user who created this Field."),
34189
34195
  createdBy: m.object({
@@ -34206,12 +34212,12 @@ m.array(Ve), m.object({
34206
34212
  next: m.boolean().optional(),
34207
34213
  page: m.int().optional().describe("The page number of the partial result.")
34208
34214
  }).describe("Variable dataset."), m.object({ contact_id: m.string().describe("Contact ID associated with.") }), m.object({ fields: m.array(m.string()).optional().describe("Fields to be retrieved into result of changes.") });
34209
- var He = m.object({
34215
+ var Ge = m.object({
34210
34216
  etag: m.string().optional().describe("Unique ID of the latest version of an existing resorce."),
34211
34217
  key: m.string().regex(/^\w+$/).describe("NEW Key."),
34212
34218
  value: m.unknown().optional().describe("NEW Value.")
34213
34219
  }).describe("Input of the Contact's variable.");
34214
- m.array(He), m.object({
34220
+ m.array(Ge), m.object({
34215
34221
  data: m.array(m.object({
34216
34222
  createdAt: m.string().optional().describe("The user who created this Field."),
34217
34223
  createdBy: m.object({
@@ -38480,14 +38486,14 @@ m.array(He), m.object({
38480
38486
  }).optional() });
38481
38487
  //#endregion
38482
38488
  //#region packages/api-services/src/scripts/convertDuration/convertDuration.ts
38483
- var Ue = (e) => {
38489
+ var Ke = (e) => {
38484
38490
  if (!e) return "00:00:00";
38485
38491
  let t = `${Math.floor(e / 3600)}`, n = `${Math.floor(e % 3600 / 60)}`, r = `${Math.floor(e % 3600 % 60)}`;
38486
38492
  return t.length === 1 && (t = `0${t}`), n.length === 1 && (n = `0${n}`), r.length === 1 && (r = `0${r}`), `${t}:${n}:${r}`;
38487
- }, We = (e) => e > 3600 * 24 ? ">24:00:00" : Ue(e), Ge = async (e) => {
38493
+ }, qe = (e) => e > 3600 * 24 ? ">24:00:00" : Ke(e), Je = async (e) => {
38488
38494
  let t = (e) => e.map((e) => ({
38489
38495
  ...e,
38490
- statusDuration: We(e.statusDuration)
38496
+ statusDuration: qe(e.statusDuration)
38491
38497
  })), n = G(e, [
38492
38498
  K(),
38493
38499
  q(g()),
@@ -38526,7 +38532,7 @@ var Ue = (e) => {
38526
38532
  } catch (e) {
38527
38533
  throw G(e, [J]);
38528
38534
  }
38529
- }, Ke = async ({ itemId: e }) => {
38535
+ }, Ye = async ({ itemId: e }) => {
38530
38536
  let t = {
38531
38537
  user: {},
38532
38538
  team: {},
@@ -38545,7 +38551,7 @@ var Ue = (e) => {
38545
38551
  } catch (e) {
38546
38552
  throw G(e, [J]);
38547
38553
  }
38548
- }, qe = [
38554
+ }, Xe = [
38549
38555
  "user",
38550
38556
  "team",
38551
38557
  "supervisor",
@@ -38556,11 +38562,11 @@ var Ue = (e) => {
38556
38562
  "chatCount",
38557
38563
  "taskCount",
38558
38564
  "isSupervisor"
38559
- ], Je = {
38560
- getList: Ge,
38561
- get: Ke,
38565
+ ], Ze = {
38566
+ getList: Je,
38567
+ get: Ye,
38562
38568
  add: async ({ itemInstance: e }) => {
38563
- let t = G(e, [Y(qe), K()]);
38569
+ let t = G(e, [Y(Xe), K()]);
38564
38570
  try {
38565
38571
  return G((await $().createAgent(t)).data, [X()]);
38566
38572
  } catch (e) {
@@ -38568,7 +38574,7 @@ var Ue = (e) => {
38568
38574
  }
38569
38575
  },
38570
38576
  patch: async ({ changes: e, id: t }) => {
38571
- let n = G(e, [Y(qe), K()]);
38577
+ let n = G(e, [Y(Xe), K()]);
38572
38578
  try {
38573
38579
  return G((await $().patchAgent(String(t), n)).data, [X()]);
38574
38580
  } catch (e) {
@@ -38576,7 +38582,7 @@ var Ue = (e) => {
38576
38582
  }
38577
38583
  },
38578
38584
  update: async ({ itemInstance: e, itemId: t }) => {
38579
- let n = G(e, [Y(qe), K()]);
38585
+ let n = G(e, [Y(Xe), K()]);
38580
38586
  try {
38581
38587
  return G((await $().updateAgent(String(t), n)).data, [X()]);
38582
38588
  } catch (e) {
@@ -38590,7 +38596,7 @@ var Ue = (e) => {
38590
38596
  throw G(e, [J]);
38591
38597
  }
38592
38598
  },
38593
- getLookup: (e) => Ge({
38599
+ getLookup: (e) => Je({
38594
38600
  ...e,
38595
38601
  fields: e.fields || ["id", "name"]
38596
38602
  }),
@@ -38614,7 +38620,7 @@ var Ue = (e) => {
38614
38620
  throw G(e, [J]);
38615
38621
  }
38616
38622
  },
38617
- getRegularAgentsOptions: async (e) => Ge({
38623
+ getRegularAgentsOptions: async (e) => Je({
38618
38624
  ...e,
38619
38625
  isNotSupervisor: !0
38620
38626
  }),
@@ -38634,7 +38640,7 @@ var Ue = (e) => {
38634
38640
  throw G(e, [J]);
38635
38641
  }
38636
38642
  },
38637
- getSupervisorOptions: async (e) => Ge({
38643
+ getSupervisorOptions: async (e) => Je({
38638
38644
  ...e,
38639
38645
  isSupervisor: !0
38640
38646
  }),
@@ -38673,12 +38679,12 @@ U(), W(), { ...Q("/calendars") }, U(), W(), U(), W(), U(), W(), U(), W(), U(), W
38673
38679
  TELEGRAM: "telegram",
38674
38680
  MESSENGER: "messenger",
38675
38681
  EMAIL: "email"
38676
- }), U(), U(), W(), U(), W(), U(), W(), { ...Q("/contacts/groups") }, U(), W(), U(), U(), W(), U(), W(), U(), W(), U(), W(), localStorage.getItem("access-token"), i.create({ headers: { "content-type": "multipart/form-data" } });
38677
- var Ye = {
38682
+ }), U(), U(), W(), U(), W(), h(Ee), { ...Q("/contacts/groups") }, h(Se), h(Ce), U(), W(), U(), U(), W(), U(), W(), U(), W(), U(), W(), localStorage.getItem("access-token"), i.create({ headers: { "content-type": "multipart/form-data" } });
38683
+ var Qe = {
38678
38684
  patch: async (e) => {
38679
38685
  let t = G(e, [K()]);
38680
38686
  try {
38681
- return G((await je().messagesServiceBroadcastMessage(t)).data, [X()]);
38687
+ return G((await Pe().messagesServiceBroadcastMessage(t)).data, [X()]);
38682
38688
  } catch (e) {
38683
38689
  throw G(e, [J]);
38684
38690
  }
@@ -38686,7 +38692,7 @@ var Ye = {
38686
38692
  getChatHistory: async ({ chatId: e, ...t }) => {
38687
38693
  let n = G(t, [q(_()), K()]);
38688
38694
  try {
38689
- let { messages: t, peers: r, next: i } = G((await je().catalogGetHistory(String(e), n)).data, [X(), q(g())]);
38695
+ let { messages: t, peers: r, next: i } = G((await Pe().catalogGetHistory(String(e), n)).data, [X(), q(g())]);
38690
38696
  return {
38691
38697
  messages: t,
38692
38698
  peers: r,
@@ -38697,10 +38703,10 @@ var Ye = {
38697
38703
  }
38698
38704
  }
38699
38705
  };
38700
- h(Me), { ...Q("/oauth/apps") }, U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), { ...Q("/users") }, U();
38706
+ h(Fe), { ...Q("/oauth/apps") }, U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), { ...Q("/users") }, U();
38701
38707
  //#endregion
38702
38708
  //#region packages/api-services/src/api/clients/wtTypes/sysTypes/sysTypes.ts
38703
- var Xe = U(), Ze = async ({ path: e, display: t, primary: n, ...r }) => {
38709
+ var $e = U(), et = async ({ path: e, display: t, primary: n, ...r }) => {
38704
38710
  let i = G(r, [
38705
38711
  q(_()),
38706
38712
  Z("search"),
@@ -38725,7 +38731,7 @@ var Xe = U(), Ze = async ({ path: e, display: t, primary: n, ...r }) => {
38725
38731
  le(e)
38726
38732
  ]);
38727
38733
  try {
38728
- let { data: e, items: t, next: n } = G((await Xe.get(i)).data, [q(g())]);
38734
+ let { data: e, items: t, next: n } = G((await $e.get(i)).data, [q(g())]);
38729
38735
  return {
38730
38736
  items: G(e || t, []) ?? [],
38731
38737
  next: n
@@ -38733,9 +38739,9 @@ var Xe = U(), Ze = async ({ path: e, display: t, primary: n, ...r }) => {
38733
38739
  } catch (e) {
38734
38740
  throw G(e, [J]);
38735
38741
  }
38736
- }, Qe = {
38737
- getList: Ze,
38738
- getLookup: (e) => Ze({
38742
+ }, tt = {
38743
+ getList: et,
38744
+ getLookup: (e) => et({
38739
38745
  ...e,
38740
38746
  fields: e.fields || ["id", "name"]
38741
38747
  })
@@ -38748,4 +38754,4 @@ U(), W(), U(), W(), Object.freeze({
38748
38754
  DESTINATION: "destination"
38749
38755
  }), U(), W(), { ...Q("/contacts") };
38750
38756
  //#endregion
38751
- export { Ye as n, Je as r, Qe as t };
38757
+ export { Qe as n, Ze as r, tt as t };
@@ -6600,9 +6600,9 @@ var zl = {
6600
6600
  ])), [[r, d]]) : k("", !0)], 2);
6601
6601
  };
6602
6602
  }
6603
- }, [["__scopeId", "data-v-72aa56d0"]]), Wl = P(() => import("./wt-action-bar-HBm22ay5.js")), Gl = P(() => import("./wt-button-select-BnRHgJ4i.js")), Kl = P(() => import("./wt-confirm-dialog-DCUitG2v.js")), ql = P(() => import("./wt-context-menu-yW52oF-2.js")), Jl = P(() => import("./wt-copy-action-d9gVzAsB.js")), Yl = P(() => import("./wt-datepicker-C5LuZK-R.js")), Xl = P(() => import("./wt-dual-panel-BEGLGU7F.js")), Zl = P(() => import("./wt-dummy-CLjhRWZ6.js")), Ql = P(() => import("./wt-error-page-vhu4lIyF.js")), $l = P(() => import("./wt-expansion-panel-Br7JPc5X.js")), eu = P(() => import("./wt-expansion-card-CpmnVJ03.js")), tu = P(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), nu = P(() => import("./wt-galleria-DMCgiiju.js")), ru = P(() => import("./wt-notifications-bar-0o0yhR7P.js")), iu = P(() => import("./wt-page-header-CDbd4aOh.js")), au = P(() => import("./wt-pagination-G2ZGU4Pi.js")), ou = P(() => import("./wt-player-D_kVPIdJ.js")), su = P(() => import("./wt-popover-lP-AhF8l.js").then((e) => e.n)), cu = P(() => import("./wt-search-bar-Dnjkgro3.js")), lu = P(() => import("./wt-slider-BPzRTeYU.js").then((e) => e.n)), uu = P(() => import("./wt-status-select-B-N9Fvz4.js")), du = P(() => import("./wt-stepper-B6zpd1Uh.js")), fu = P(() => import("./wt-table-C4PZJ3rP.js")), pu = P(() => import("./wt-table-actions-4-peSVkc.js")), mu = P(() => import("./wt-table-column-select-D4c56HPB.js")), hu = P(() => import("./wt-tabs-DuOgj-lZ.js")), gu = P(() => import("./wt-time-input-BEBrSugB.js")), _u = P(() => import("./wt-timepicker-CAkO0jFY.js")), vu = P(() => import("./wt-tree-CMIpbXBo.js")), yu = P(() => import("./wt-tree-table-DJGISZ65.js")), bu = P(() => import("./wt-vidstack-player-Qb6Iy40j.js")), xu = P(() => import("./wt-call-media-action-Bn2bGCWs.js")), Su = P(() => import("./wt-chat-emoji-BB8ma_6l.js")), Cu = P(() => import("./wt-display-chip-items-CW6yvMVZ.js")), wu = P(() => import("./wt-navigation-menu-BMupOW07.js")), Tu = P(() => import("./wt-selection-popup-CjYw4ppb.js")), Eu = P(() => import("./wt-start-page-BFQExFUj.js"));
6604
- P(() => import("./wt-type-extension-value-input-ETQZwENL.js"));
6605
- var Du = P(() => import("./wt-screen-recordings-action-Dj6ITuhE.js")), Ou = P(() => import("./wt-send-message-popup-BkANy_C6.js")), ku = {
6603
+ }, [["__scopeId", "data-v-72aa56d0"]]), Wl = P(() => import("./wt-action-bar-HBm22ay5.js")), Gl = P(() => import("./wt-button-select-BnRHgJ4i.js")), Kl = P(() => import("./wt-confirm-dialog-DCUitG2v.js")), ql = P(() => import("./wt-context-menu-yW52oF-2.js")), Jl = P(() => import("./wt-copy-action-d9gVzAsB.js")), Yl = P(() => import("./wt-datepicker-D5Af57PB.js")), Xl = P(() => import("./wt-dual-panel-BEGLGU7F.js")), Zl = P(() => import("./wt-dummy-CLjhRWZ6.js")), Ql = P(() => import("./wt-error-page-vhu4lIyF.js")), $l = P(() => import("./wt-expansion-panel-Br7JPc5X.js")), eu = P(() => import("./wt-expansion-card-CpmnVJ03.js")), tu = P(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), nu = P(() => import("./wt-galleria-DMCgiiju.js")), ru = P(() => import("./wt-notifications-bar-0o0yhR7P.js")), iu = P(() => import("./wt-page-header-CDbd4aOh.js")), au = P(() => import("./wt-pagination-G2ZGU4Pi.js")), ou = P(() => import("./wt-player-D_kVPIdJ.js")), su = P(() => import("./wt-popover-lP-AhF8l.js").then((e) => e.n)), cu = P(() => import("./wt-search-bar-Dnjkgro3.js")), lu = P(() => import("./wt-slider-BPzRTeYU.js").then((e) => e.n)), uu = P(() => import("./wt-status-select-B-N9Fvz4.js")), du = P(() => import("./wt-stepper-B6zpd1Uh.js")), fu = P(() => import("./wt-table-C4PZJ3rP.js")), pu = P(() => import("./wt-table-actions-4-peSVkc.js")), mu = P(() => import("./wt-table-column-select-D4c56HPB.js")), hu = P(() => import("./wt-tabs-DuOgj-lZ.js")), gu = P(() => import("./wt-time-input-BEBrSugB.js")), _u = P(() => import("./wt-timepicker-CAkO0jFY.js")), vu = P(() => import("./wt-tree-CMIpbXBo.js")), yu = P(() => import("./wt-tree-table-DJGISZ65.js")), bu = P(() => import("./wt-vidstack-player-1mc2bsov.js")), xu = P(() => import("./wt-call-media-action-Bn2bGCWs.js")), Su = P(() => import("./wt-chat-emoji-BA1xkC5R.js")), Cu = P(() => import("./wt-display-chip-items-9N0X72Pw.js")), wu = P(() => import("./wt-navigation-menu-BMupOW07.js")), Tu = P(() => import("./wt-selection-popup-CjYw4ppb.js")), Eu = P(() => import("./wt-start-page-BFQExFUj.js"));
6604
+ P(() => import("./wt-type-extension-value-input-DpqAuKgv.js"));
6605
+ var Du = P(() => import("./wt-screen-recordings-action-Dj6ITuhE.js")), Ou = P(() => import("./wt-send-message-popup-6oNlX5JL.js")), ku = {
6606
6606
  WtActionBar: Wl,
6607
6607
  WtImage: po,
6608
6608
  WtEmpty: vo,