@wildix/xbees-users-client 4.0.6 → 4.0.7

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WorkspaceType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.SearchThresholdValue = exports.SearchStrategy = exports.BotSessionTimeoutMinutes = exports.PbxLicenseType = void 0;
3
+ exports.WorkspaceType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.SearchThresholdValue = exports.SearchStrategy = exports.PbxLicenseType = void 0;
4
4
  exports.PbxLicenseType = {
5
5
  BASIC: "basic",
6
6
  BUSINESS: "business",
@@ -8,13 +8,6 @@ exports.PbxLicenseType = {
8
8
  PREMIUM: "premium",
9
9
  WIZYCONF: "wizyconf",
10
10
  };
11
- var BotSessionTimeoutMinutes;
12
- (function (BotSessionTimeoutMinutes) {
13
- BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["MINUTES_15"] = 15] = "MINUTES_15";
14
- BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["MINUTES_30"] = 30] = "MINUTES_30";
15
- BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["HOUR_1"] = 60] = "HOUR_1";
16
- BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["HOURS_2"] = 120] = "HOURS_2";
17
- })(BotSessionTimeoutMinutes || (exports.BotSessionTimeoutMinutes = BotSessionTimeoutMinutes = {}));
18
11
  exports.SearchStrategy = {
19
12
  BM25: "bm25",
20
13
  HYBRID: "hybrid",
@@ -304,8 +304,8 @@ const _ht = "http";
304
304
  const _i = "id";
305
305
  const _iAKC = "integrationApiKeysCount";
306
306
  const _iT = "integrationType";
307
- const _id = "identities";
308
- const _ide = "identity";
307
+ const _id = "identity";
308
+ const _ide = "identities";
309
309
  const _in = "instructions";
310
310
  const _inf = "info";
311
311
  const _int = "integration";
@@ -373,7 +373,6 @@ const _sL = "searchLimit";
373
373
  const _sP = "sipPassword";
374
374
  const _sS = "searchStrategy";
375
375
  const _sT = "searchThreshold";
376
- const _sTM = "sessionTimeoutMinutes";
377
376
  const _sU = "streamUser";
378
377
  const _sc = "scope";
379
378
  const _se = "searchable";
@@ -606,8 +605,8 @@ exports.BatchGetUsersPbxLinkDataV1Output$ = [3, n3, _BGUPLDVO,
606
605
  ];
607
606
  exports.Bot$ = [3, n3, _B,
608
607
  0,
609
- [_n, _i, _iT, _iAKC, _cA, _ca, _pi, _se, _a, _gI, _sTM, _up],
610
- [0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 1, 0], 5
608
+ [_n, _i, _iT, _iAKC, _cA, _ca, _pi, _se, _a, _gI, _up],
609
+ [0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0], 5
611
610
  ];
612
611
  exports.BotApiKey$ = [3, n3, _BAK,
613
612
  0,
@@ -771,8 +770,8 @@ exports.CreateBotApiKeyOutput$ = [3, n3, _CBAKO,
771
770
  ];
772
771
  exports.CreateBotInput$ = [3, n3, _CBI,
773
772
  0,
774
- [_n, _cal, _ca, _pi, _se, _a, _gI, _sTM, _co],
775
- [0, () => exports.BotCallback$, 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
773
+ [_n, _cal, _ca, _pi, _se, _a, _gI, _co],
774
+ [0, () => exports.BotCallback$, 0, 0, 2, 0, 0, [0, { [_hQ]: _co }]], 2
776
775
  ];
777
776
  exports.CreateBotOutput$ = [3, n3, _CBO,
778
777
  0,
@@ -821,8 +820,8 @@ exports.GetAccountInput$ = [3, n3, _GAI,
821
820
  ];
822
821
  exports.GetAccountOutput$ = [3, n3, _GAO,
823
822
  0,
824
- [_ac, _w, _id],
825
- [() => exports.Account$, () => WorkspaceList, () => IdentityList], 3
823
+ [_ac],
824
+ [() => exports.Account$], 1
826
825
  ];
827
826
  exports.GetAppVersionInput$ = [3, n3, _GAVI,
828
827
  0,
@@ -906,7 +905,7 @@ exports.GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
906
905
  ];
907
906
  exports.Identity$ = [3, n3, _I,
908
907
  0,
909
- [_ide, _ac, _ver],
908
+ [_id, _ac, _ver],
910
909
  [0, 0, 2], 2
911
910
  ];
912
911
  exports.IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -931,12 +930,12 @@ exports.InviteOutput$ = [3, n3, _IO,
931
930
  ];
932
931
  exports.LinkIdentityInput$ = [3, n3, _LII,
933
932
  0,
934
- [_aIc, _ide],
933
+ [_aIc, _id],
935
934
  [[0, 1], 0], 2
936
935
  ];
937
936
  exports.LinkIdentityOutput$ = [3, n3, _LIO,
938
937
  0,
939
- [_ide],
938
+ [_id],
940
939
  [() => exports.Identity$], 1
941
940
  ];
942
941
  exports.ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -966,7 +965,7 @@ exports.ListIdentitiesInput$ = [3, n3, _LIIi,
966
965
  ];
967
966
  exports.ListIdentitiesOutput$ = [3, n3, _LIOi,
968
967
  0,
969
- [_id],
968
+ [_ide],
970
969
  [() => IdentityList], 1
971
970
  ];
972
971
  exports.ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1061,7 +1060,7 @@ exports.ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1061
1060
  ];
1062
1061
  exports.UnlinkIdentityInput$ = [3, n3, _UII,
1063
1062
  0,
1064
- [_aIc, _ide],
1063
+ [_aIc, _id],
1065
1064
  [[0, 1], [0, 1]], 2
1066
1065
  ];
1067
1066
  exports.UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1101,8 +1100,8 @@ exports.UpdateBotCallbackOutput$ = [3, n3, _UBCO,
1101
1100
  ];
1102
1101
  exports.UpdateBotInput$ = [3, n3, _UBI,
1103
1102
  0,
1104
- [_n, _bI, _ca, _pi, _se, _a, _gI, _sTM, _co],
1105
- [0, [0, 1], 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
1103
+ [_n, _bI, _ca, _pi, _se, _a, _gI, _co],
1104
+ [0, [0, 1], 0, 0, 2, 0, 0, [0, { [_hQ]: _co }]], 2
1106
1105
  ];
1107
1106
  exports.UpdateBotOutput$ = [3, n3, _UBO,
1108
1107
  0,
@@ -1216,12 +1215,12 @@ exports.VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1216
1215
  ];
1217
1216
  exports.VerifyIdentityInput$ = [3, n3, _VII,
1218
1217
  0,
1219
- [_aIc, _ide, _o],
1218
+ [_aIc, _id, _o],
1220
1219
  [[0, 1], 0, 0], 3
1221
1220
  ];
1222
1221
  exports.VerifyIdentityOutput$ = [3, n3, _VIO,
1223
1222
  0,
1224
- [_ide],
1223
+ [_id],
1225
1224
  [() => exports.Identity$], 1
1226
1225
  ];
1227
1226
  exports.Workspace$ = [3, n3, _W,
@@ -5,13 +5,6 @@ export const PbxLicenseType = {
5
5
  PREMIUM: "premium",
6
6
  WIZYCONF: "wizyconf",
7
7
  };
8
- export var BotSessionTimeoutMinutes;
9
- (function (BotSessionTimeoutMinutes) {
10
- BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["MINUTES_15"] = 15] = "MINUTES_15";
11
- BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["MINUTES_30"] = 30] = "MINUTES_30";
12
- BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["HOUR_1"] = 60] = "HOUR_1";
13
- BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["HOURS_2"] = 120] = "HOURS_2";
14
- })(BotSessionTimeoutMinutes || (BotSessionTimeoutMinutes = {}));
15
8
  export const SearchStrategy = {
16
9
  BM25: "bm25",
17
10
  HYBRID: "hybrid",
@@ -297,8 +297,8 @@ const _ht = "http";
297
297
  const _i = "id";
298
298
  const _iAKC = "integrationApiKeysCount";
299
299
  const _iT = "integrationType";
300
- const _id = "identities";
301
- const _ide = "identity";
300
+ const _id = "identity";
301
+ const _ide = "identities";
302
302
  const _in = "instructions";
303
303
  const _inf = "info";
304
304
  const _int = "integration";
@@ -366,7 +366,6 @@ const _sL = "searchLimit";
366
366
  const _sP = "sipPassword";
367
367
  const _sS = "searchStrategy";
368
368
  const _sT = "searchThreshold";
369
- const _sTM = "sessionTimeoutMinutes";
370
369
  const _sU = "streamUser";
371
370
  const _sc = "scope";
372
371
  const _se = "searchable";
@@ -599,8 +598,8 @@ export var BatchGetUsersPbxLinkDataV1Output$ = [3, n3, _BGUPLDVO,
599
598
  ];
600
599
  export var Bot$ = [3, n3, _B,
601
600
  0,
602
- [_n, _i, _iT, _iAKC, _cA, _ca, _pi, _se, _a, _gI, _sTM, _up],
603
- [0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 1, 0], 5
601
+ [_n, _i, _iT, _iAKC, _cA, _ca, _pi, _se, _a, _gI, _up],
602
+ [0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0], 5
604
603
  ];
605
604
  export var BotApiKey$ = [3, n3, _BAK,
606
605
  0,
@@ -764,8 +763,8 @@ export var CreateBotApiKeyOutput$ = [3, n3, _CBAKO,
764
763
  ];
765
764
  export var CreateBotInput$ = [3, n3, _CBI,
766
765
  0,
767
- [_n, _cal, _ca, _pi, _se, _a, _gI, _sTM, _co],
768
- [0, () => BotCallback$, 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
766
+ [_n, _cal, _ca, _pi, _se, _a, _gI, _co],
767
+ [0, () => BotCallback$, 0, 0, 2, 0, 0, [0, { [_hQ]: _co }]], 2
769
768
  ];
770
769
  export var CreateBotOutput$ = [3, n3, _CBO,
771
770
  0,
@@ -814,8 +813,8 @@ export var GetAccountInput$ = [3, n3, _GAI,
814
813
  ];
815
814
  export var GetAccountOutput$ = [3, n3, _GAO,
816
815
  0,
817
- [_ac, _w, _id],
818
- [() => Account$, () => WorkspaceList, () => IdentityList], 3
816
+ [_ac],
817
+ [() => Account$], 1
819
818
  ];
820
819
  export var GetAppVersionInput$ = [3, n3, _GAVI,
821
820
  0,
@@ -899,7 +898,7 @@ export var GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
899
898
  ];
900
899
  export var Identity$ = [3, n3, _I,
901
900
  0,
902
- [_ide, _ac, _ver],
901
+ [_id, _ac, _ver],
903
902
  [0, 0, 2], 2
904
903
  ];
905
904
  export var IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -924,12 +923,12 @@ export var InviteOutput$ = [3, n3, _IO,
924
923
  ];
925
924
  export var LinkIdentityInput$ = [3, n3, _LII,
926
925
  0,
927
- [_aIc, _ide],
926
+ [_aIc, _id],
928
927
  [[0, 1], 0], 2
929
928
  ];
930
929
  export var LinkIdentityOutput$ = [3, n3, _LIO,
931
930
  0,
932
- [_ide],
931
+ [_id],
933
932
  [() => Identity$], 1
934
933
  ];
935
934
  export var ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -959,7 +958,7 @@ export var ListIdentitiesInput$ = [3, n3, _LIIi,
959
958
  ];
960
959
  export var ListIdentitiesOutput$ = [3, n3, _LIOi,
961
960
  0,
962
- [_id],
961
+ [_ide],
963
962
  [() => IdentityList], 1
964
963
  ];
965
964
  export var ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1054,7 +1053,7 @@ export var ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1054
1053
  ];
1055
1054
  export var UnlinkIdentityInput$ = [3, n3, _UII,
1056
1055
  0,
1057
- [_aIc, _ide],
1056
+ [_aIc, _id],
1058
1057
  [[0, 1], [0, 1]], 2
1059
1058
  ];
1060
1059
  export var UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1094,8 +1093,8 @@ export var UpdateBotCallbackOutput$ = [3, n3, _UBCO,
1094
1093
  ];
1095
1094
  export var UpdateBotInput$ = [3, n3, _UBI,
1096
1095
  0,
1097
- [_n, _bI, _ca, _pi, _se, _a, _gI, _sTM, _co],
1098
- [0, [0, 1], 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
1096
+ [_n, _bI, _ca, _pi, _se, _a, _gI, _co],
1097
+ [0, [0, 1], 0, 0, 2, 0, 0, [0, { [_hQ]: _co }]], 2
1099
1098
  ];
1100
1099
  export var UpdateBotOutput$ = [3, n3, _UBO,
1101
1100
  0,
@@ -1209,12 +1208,12 @@ export var VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1209
1208
  ];
1210
1209
  export var VerifyIdentityInput$ = [3, n3, _VII,
1211
1210
  0,
1212
- [_aIc, _ide, _o],
1211
+ [_aIc, _id, _o],
1213
1212
  [[0, 1], 0, 0], 3
1214
1213
  ];
1215
1214
  export var VerifyIdentityOutput$ = [3, n3, _VIO,
1216
1215
  0,
1217
- [_ide],
1216
+ [_id],
1218
1217
  [() => Identity$], 1
1219
1218
  ];
1220
1219
  export var Workspace$ = [3, n3, _W,
@@ -51,7 +51,6 @@ declare const CreateBotApiKeyCommand_base: {
51
51
  * // searchable: true || false,
52
52
  * // access: "EVERYBODY" || "ORGANIZATION",
53
53
  * // groupId: "STRING_VALUE",
54
- * // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
55
54
  * // id: "STRING_VALUE", // required
56
55
  * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
57
56
  * // integrationApiKeysCount: Number("int"), // required
@@ -43,7 +43,6 @@ declare const CreateBotCommand_base: {
43
43
  * searchable: true || false,
44
44
  * access: "EVERYBODY" || "ORGANIZATION",
45
45
  * groupId: "STRING_VALUE",
46
- * sessionTimeoutMinutes: 15 || 30 || 60 || 120,
47
46
  * company: "STRING_VALUE",
48
47
  * callback: { // BotCallback
49
48
  * endpoint: { // BotEndpoint Union: only one key present
@@ -229,7 +228,6 @@ declare const CreateBotCommand_base: {
229
228
  * // searchable: true || false,
230
229
  * // access: "EVERYBODY" || "ORGANIZATION",
231
230
  * // groupId: "STRING_VALUE",
232
- * // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
233
231
  * // id: "STRING_VALUE", // required
234
232
  * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
235
233
  * // integrationApiKeysCount: Number("int"), // required
@@ -27,7 +27,7 @@ declare const GetAccountCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Retrieves the current account with identities and workspaces.
30
+ * Retrieves the account.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -47,96 +47,6 @@ declare const GetAccountCommand_base: {
47
47
  * // defaultWorkspace: "STRING_VALUE",
48
48
  * // primaryIdentity: "STRING_VALUE",
49
49
  * // },
50
- * // workspaces: [ // WorkspaceList // required
51
- * // { // Workspace
52
- * // companyId: "STRING_VALUE",
53
- * // pbxUser: { // UserPbxLinkData
54
- * // id: "STRING_VALUE", // required
55
- * // company: "STRING_VALUE", // required
56
- * // companyName: "STRING_VALUE",
57
- * // domain: "STRING_VALUE", // required
58
- * // email: "STRING_VALUE",
59
- * // info: { // UserPersonalInfo
60
- * // dn: "STRING_VALUE", // required
61
- * // id: "STRING_VALUE", // required
62
- * // name: "STRING_VALUE", // required
63
- * // extension: "STRING_VALUE", // required
64
- * // officePhone: "STRING_VALUE",
65
- * // mobilePhone: "STRING_VALUE",
66
- * // faxNumber: "STRING_VALUE",
67
- * // email: "STRING_VALUE",
68
- * // role: "STRING_VALUE", // required
69
- * // language: "STRING_VALUE", // required
70
- * // dialplan: "STRING_VALUE", // required
71
- * // faxDialplan: "STRING_VALUE", // required
72
- * // departament: "STRING_VALUE",
73
- * // picture: "STRING_VALUE", // required
74
- * // groupDn: "STRING_VALUE", // required
75
- * // groupName: "STRING_VALUE", // required
76
- * // jid: "STRING_VALUE", // required
77
- * // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
78
- * // login: "STRING_VALUE",
79
- * // pbx: "STRING_VALUE",
80
- * // pbxDn: "STRING_VALUE", // required
81
- * // sourceId: "STRING_VALUE",
82
- * // sipPassword: "STRING_VALUE",
83
- * // },
84
- * // pbx: { // UserPbxInfo
85
- * // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
86
- * // "STRING_VALUE",
87
- * // ],
88
- * // ports: [ // UserPbxInfoPorts // required
89
- * // "STRING_VALUE",
90
- * // ],
91
- * // externalLinePrefix: "STRING_VALUE",
92
- * // version: "STRING_VALUE", // required
93
- * // serial: "STRING_VALUE", // required
94
- * // },
95
- * // picture: "STRING_VALUE", // required
96
- * // pictureDeleted: true || false,
97
- * // port: "STRING_VALUE", // required
98
- * // serial: "STRING_VALUE", // required
99
- * // services: { // UserPbxServices
100
- * // xcaracal: true || false,
101
- * // wizyWebinar: true || false,
102
- * // },
103
- * // personalSettings: {},
104
- * // dialplanSettings: {},
105
- * // awsRegion: "STRING_VALUE",
106
- * // updatedAt: "STRING_VALUE",
107
- * // },
108
- * // streamUser: { // User
109
- * // id: "STRING_VALUE", // required
110
- * // name: "STRING_VALUE",
111
- * // email: "STRING_VALUE",
112
- * // phone: "STRING_VALUE",
113
- * // picture: "STRING_VALUE",
114
- * // locale: "STRING_VALUE",
115
- * // timeZone: "STRING_VALUE",
116
- * // company: "STRING_VALUE",
117
- * // bot: true || false,
118
- * // pbxDomain: "STRING_VALUE",
119
- * // pbxPort: "STRING_VALUE",
120
- * // pbxExtension: "STRING_VALUE",
121
- * // pbxSerial: "STRING_VALUE",
122
- * // pbxUserId: "STRING_VALUE",
123
- * // pbxGroupId: "STRING_VALUE",
124
- * // createdAt: "STRING_VALUE",
125
- * // updatedAt: "STRING_VALUE",
126
- * // },
127
- * // type: "personal" || "work" || "support",
128
- * // id: "STRING_VALUE", // required
129
- * // accountId: "STRING_VALUE", // required
130
- * // active: true || false, // required
131
- * // },
132
- * // ],
133
- * // identities: [ // IdentityList // required
134
- * // { // Identity
135
- * // identity: "STRING_VALUE", // required
136
- * // account: "STRING_VALUE", // required
137
- * // verified: true || false,
138
- * // },
139
- * // ],
140
50
  * // };
141
51
  *
142
52
  * ```
@@ -50,7 +50,6 @@ declare const GetBotCommand_base: {
50
50
  * // searchable: true || false,
51
51
  * // access: "EVERYBODY" || "ORGANIZATION",
52
52
  * // groupId: "STRING_VALUE",
53
- * // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
54
53
  * // id: "STRING_VALUE", // required
55
54
  * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
56
55
  * // integrationApiKeysCount: Number("int"), // required
@@ -50,7 +50,6 @@ declare const ListBotsCommand_base: {
50
50
  * // searchable: true || false,
51
51
  * // access: "EVERYBODY" || "ORGANIZATION",
52
52
  * // groupId: "STRING_VALUE",
53
- * // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
54
53
  * // id: "STRING_VALUE", // required
55
54
  * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
56
55
  * // integrationApiKeysCount: Number("int"), // required
@@ -43,7 +43,6 @@ declare const UpdateBotCommand_base: {
43
43
  * searchable: true || false,
44
44
  * access: "EVERYBODY" || "ORGANIZATION",
45
45
  * groupId: "STRING_VALUE",
46
- * sessionTimeoutMinutes: 15 || 30 || 60 || 120,
47
46
  * company: "STRING_VALUE",
48
47
  * botId: "STRING_VALUE", // required
49
48
  * };
@@ -57,7 +56,6 @@ declare const UpdateBotCommand_base: {
57
56
  * // searchable: true || false,
58
57
  * // access: "EVERYBODY" || "ORGANIZATION",
59
58
  * // groupId: "STRING_VALUE",
60
- * // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
61
59
  * // id: "STRING_VALUE", // required
62
60
  * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
63
61
  * // integrationApiKeysCount: Number("int"), // required
@@ -13,12 +13,6 @@ export declare const PbxLicenseType: {
13
13
  * @public
14
14
  */
15
15
  export type PbxLicenseType = (typeof PbxLicenseType)[keyof typeof PbxLicenseType];
16
- export declare enum BotSessionTimeoutMinutes {
17
- MINUTES_15 = 15,
18
- MINUTES_30 = 30,
19
- HOUR_1 = 60,
20
- HOURS_2 = 120
21
- }
22
16
  /**
23
17
  * @public
24
18
  * @enum
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, BotSessionTimeoutMinutes, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
2
+ import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -552,11 +552,6 @@ export interface Bot {
552
552
  * @public
553
553
  */
554
554
  groupId?: string | undefined;
555
- /**
556
- * Closes the chat session after this many minutes of inactivity. When omitted, the session closes at the end of the local day.
557
- * @public
558
- */
559
- sessionTimeoutMinutes?: BotSessionTimeoutMinutes | undefined;
560
555
  id: string;
561
556
  integrationType: BotIntegrationType;
562
557
  integrationApiKeysCount: number;
@@ -1211,11 +1206,6 @@ export interface CreateBotInput {
1211
1206
  * @public
1212
1207
  */
1213
1208
  groupId?: string | undefined;
1214
- /**
1215
- * Closes the chat session after this many minutes of inactivity. When omitted, the session closes at the end of the local day.
1216
- * @public
1217
- */
1218
- sessionTimeoutMinutes?: BotSessionTimeoutMinutes | undefined;
1219
1209
  company?: string | undefined;
1220
1210
  callback: BotCallback;
1221
1211
  }
@@ -1306,73 +1296,11 @@ export interface GetAccountInput {
1306
1296
  */
1307
1297
  accountId: string;
1308
1298
  }
1309
- /**
1310
- * @public
1311
- */
1312
- export interface Identity {
1313
- /**
1314
- * The identity value (email address or phone number in E.164)
1315
- * @public
1316
- */
1317
- identity: string;
1318
- /**
1319
- * The unique identifier of the account.
1320
- * @public
1321
- */
1322
- account: string;
1323
- /**
1324
- * Indicates if the identity is verified.
1325
- * @public
1326
- */
1327
- verified?: boolean | undefined;
1328
- }
1329
- /**
1330
- * @public
1331
- */
1332
- export interface Workspace {
1333
- /**
1334
- * The unique identifier of the tenant (company).
1335
- * @public
1336
- */
1337
- companyId?: string | undefined;
1338
- /**
1339
- * PBX information where user connected to.
1340
- * @public
1341
- */
1342
- pbxUser?: UserPbxLinkData | undefined;
1343
- /**
1344
- * Personal information of the user. If user is not logged in yet, this field will might be empty.
1345
- * @public
1346
- */
1347
- streamUser?: User | undefined;
1348
- /**
1349
- * The type of workspace.
1350
- * @public
1351
- */
1352
- type?: WorkspaceType | undefined;
1353
- /**
1354
- * The unique identifier
1355
- * @public
1356
- */
1357
- id: string;
1358
- /**
1359
- * The unique identifier of the account.
1360
- * @public
1361
- */
1362
- accountId: string;
1363
- /**
1364
- * Indicates if the workspace is active.
1365
- * @public
1366
- */
1367
- active: boolean;
1368
- }
1369
1299
  /**
1370
1300
  * @public
1371
1301
  */
1372
1302
  export interface GetAccountOutput {
1373
1303
  account: Account;
1374
- workspaces: Workspace[];
1375
- identities: Identity[];
1376
1304
  }
1377
1305
  /**
1378
1306
  * @public
@@ -1515,6 +1443,26 @@ export interface GetUserPbxLinkSuggestionV1Output {
1515
1443
  */
1516
1444
  suggestion?: UserPbxLinkSuggestion | undefined;
1517
1445
  }
1446
+ /**
1447
+ * @public
1448
+ */
1449
+ export interface Identity {
1450
+ /**
1451
+ * The identity value (email address or phone number in E.164)
1452
+ * @public
1453
+ */
1454
+ identity: string;
1455
+ /**
1456
+ * The unique identifier of the account.
1457
+ * @public
1458
+ */
1459
+ account: string;
1460
+ /**
1461
+ * Indicates if the identity is verified.
1462
+ * @public
1463
+ */
1464
+ verified?: boolean | undefined;
1465
+ }
1518
1466
  /**
1519
1467
  * @public
1520
1468
  */
@@ -1643,6 +1591,46 @@ export interface ListWorkspacesInput {
1643
1591
  */
1644
1592
  accountId: string;
1645
1593
  }
1594
+ /**
1595
+ * @public
1596
+ */
1597
+ export interface Workspace {
1598
+ /**
1599
+ * The unique identifier of the tenant (company).
1600
+ * @public
1601
+ */
1602
+ companyId?: string | undefined;
1603
+ /**
1604
+ * PBX information where user connected to.
1605
+ * @public
1606
+ */
1607
+ pbxUser?: UserPbxLinkData | undefined;
1608
+ /**
1609
+ * Personal information of the user. If user is not logged in yet, this field will might be empty.
1610
+ * @public
1611
+ */
1612
+ streamUser?: User | undefined;
1613
+ /**
1614
+ * The type of workspace.
1615
+ * @public
1616
+ */
1617
+ type?: WorkspaceType | undefined;
1618
+ /**
1619
+ * The unique identifier
1620
+ * @public
1621
+ */
1622
+ id: string;
1623
+ /**
1624
+ * The unique identifier of the account.
1625
+ * @public
1626
+ */
1627
+ accountId: string;
1628
+ /**
1629
+ * Indicates if the workspace is active.
1630
+ * @public
1631
+ */
1632
+ active: boolean;
1633
+ }
1646
1634
  /**
1647
1635
  * @public
1648
1636
  */
@@ -1965,11 +1953,6 @@ export interface UpdateBotInput {
1965
1953
  * @public
1966
1954
  */
1967
1955
  groupId?: string | undefined;
1968
- /**
1969
- * Closes the chat session after this many minutes of inactivity. When omitted, the session closes at the end of the local day.
1970
- * @public
1971
- */
1972
- sessionTimeoutMinutes?: BotSessionTimeoutMinutes | undefined;
1973
1956
  company?: string | undefined;
1974
1957
  botId: string;
1975
1958
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-users-client",
3
3
  "description": "@wildix/xbees-users-client client",
4
- "version": "4.0.6",
4
+ "version": "4.0.7",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -56,4 +56,4 @@
56
56
  "browser": {
57
57
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
58
58
  }
59
- }
59
+ }