@zernio/node 0.2.725 → 0.2.727
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.
- package/README.md +71 -8
- package/dist/index.d.mts +2452 -740
- package/dist/index.d.ts +2452 -740
- package/dist/index.js +419 -1
- package/dist/index.mjs +419 -1
- package/package.json +1 -1
- package/src/client.ts +124 -0
- package/src/generated/sdk.gen.ts +1020 -277
- package/src/generated/types.gen.ts +2416 -549
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.727",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -780,6 +780,18 @@ var registerWhatsAppNumber = (options) => {
|
|
|
780
780
|
url: "/v1/accounts/{accountId}/whatsapp/register"
|
|
781
781
|
});
|
|
782
782
|
};
|
|
783
|
+
var requestWhatsAppVerificationCode = (options) => {
|
|
784
|
+
return (options?.client ?? client).post({
|
|
785
|
+
...options,
|
|
786
|
+
url: "/v1/accounts/{accountId}/whatsapp/request-code"
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
var verifyWhatsAppNumber = (options) => {
|
|
790
|
+
return (options?.client ?? client).post({
|
|
791
|
+
...options,
|
|
792
|
+
url: "/v1/accounts/{accountId}/whatsapp/verify-code"
|
|
793
|
+
});
|
|
794
|
+
};
|
|
783
795
|
var getAccountHealth = (options) => {
|
|
784
796
|
return (options?.client ?? client).get({
|
|
785
797
|
...options,
|
|
@@ -1146,6 +1158,12 @@ var connectWhatsAppEmbeddedSignup = (options) => {
|
|
|
1146
1158
|
url: "/v1/connect/whatsapp/embedded-signup"
|
|
1147
1159
|
});
|
|
1148
1160
|
};
|
|
1161
|
+
var getWhatsAppSdkConfig = (options) => {
|
|
1162
|
+
return (options?.client ?? client).get({
|
|
1163
|
+
...options,
|
|
1164
|
+
url: "/v1/connect/whatsapp/sdk-config"
|
|
1165
|
+
});
|
|
1166
|
+
};
|
|
1149
1167
|
var connectDiscordChannel = (options) => {
|
|
1150
1168
|
return (options?.client ?? client).post({
|
|
1151
1169
|
...options,
|
|
@@ -1680,6 +1698,12 @@ var sendTypingIndicator = (options) => {
|
|
|
1680
1698
|
url: "/v1/inbox/conversations/{conversationId}/typing"
|
|
1681
1699
|
});
|
|
1682
1700
|
};
|
|
1701
|
+
var setConversationThreadControl = (options) => {
|
|
1702
|
+
return (options?.client ?? client).post({
|
|
1703
|
+
...options,
|
|
1704
|
+
url: "/v1/inbox/conversations/{conversationId}/thread-control"
|
|
1705
|
+
});
|
|
1706
|
+
};
|
|
1683
1707
|
var markConversationRead = (options) => {
|
|
1684
1708
|
return (options?.client ?? client).post({
|
|
1685
1709
|
...options,
|
|
@@ -3985,6 +4009,336 @@ var createCustomConversion = (options) => {
|
|
|
3985
4009
|
url: "/v1/accounts/{accountId}/custom-conversions"
|
|
3986
4010
|
});
|
|
3987
4011
|
};
|
|
4012
|
+
var getBusinessAgentStatus = (options) => {
|
|
4013
|
+
return (options?.client ?? client).get({
|
|
4014
|
+
...options,
|
|
4015
|
+
url: "/v1/accounts/{accountId}/business-agent"
|
|
4016
|
+
});
|
|
4017
|
+
};
|
|
4018
|
+
var onboardBusinessAgent = (options) => {
|
|
4019
|
+
return (options?.client ?? client).post({
|
|
4020
|
+
...options,
|
|
4021
|
+
url: "/v1/accounts/{accountId}/business-agent/onboard"
|
|
4022
|
+
});
|
|
4023
|
+
};
|
|
4024
|
+
var listBusinessAgentSettings = (options) => {
|
|
4025
|
+
return (options?.client ?? client).get({
|
|
4026
|
+
...options,
|
|
4027
|
+
url: "/v1/accounts/{accountId}/business-agent/settings"
|
|
4028
|
+
});
|
|
4029
|
+
};
|
|
4030
|
+
var updateBusinessAgentSettings = (options) => {
|
|
4031
|
+
return (options?.client ?? client).patch({
|
|
4032
|
+
...options,
|
|
4033
|
+
url: "/v1/accounts/{accountId}/business-agent/settings"
|
|
4034
|
+
});
|
|
4035
|
+
};
|
|
4036
|
+
var listBusinessAgentAllowlist = (options) => {
|
|
4037
|
+
return (options?.client ?? client).get({
|
|
4038
|
+
...options,
|
|
4039
|
+
url: "/v1/accounts/{accountId}/business-agent/allowlist"
|
|
4040
|
+
});
|
|
4041
|
+
};
|
|
4042
|
+
var addBusinessAgentAllowlistEntry = (options) => {
|
|
4043
|
+
return (options?.client ?? client).post({
|
|
4044
|
+
...options,
|
|
4045
|
+
url: "/v1/accounts/{accountId}/business-agent/allowlist"
|
|
4046
|
+
});
|
|
4047
|
+
};
|
|
4048
|
+
var removeBusinessAgentAllowlistEntry = (options) => {
|
|
4049
|
+
return (options?.client ?? client).delete({
|
|
4050
|
+
...options,
|
|
4051
|
+
url: "/v1/accounts/{accountId}/business-agent/allowlist/{entryId}"
|
|
4052
|
+
});
|
|
4053
|
+
};
|
|
4054
|
+
var getBusinessAgentBusinessInformation = (options) => {
|
|
4055
|
+
return (options?.client ?? client).get({
|
|
4056
|
+
...options,
|
|
4057
|
+
url: "/v1/accounts/{accountId}/business-agent/business-information"
|
|
4058
|
+
});
|
|
4059
|
+
};
|
|
4060
|
+
var replaceBusinessAgentBusinessInformation = (options) => {
|
|
4061
|
+
return (options?.client ?? client).put({
|
|
4062
|
+
...options,
|
|
4063
|
+
url: "/v1/accounts/{accountId}/business-agent/business-information"
|
|
4064
|
+
});
|
|
4065
|
+
};
|
|
4066
|
+
var resetBusinessAgentBusinessInformation = (options) => {
|
|
4067
|
+
return (options?.client ?? client).delete({
|
|
4068
|
+
...options,
|
|
4069
|
+
url: "/v1/accounts/{accountId}/business-agent/business-information"
|
|
4070
|
+
});
|
|
4071
|
+
};
|
|
4072
|
+
var listBusinessAgentFaqs = (options) => {
|
|
4073
|
+
return (options?.client ?? client).get({
|
|
4074
|
+
...options,
|
|
4075
|
+
url: "/v1/accounts/{accountId}/business-agent/faqs"
|
|
4076
|
+
});
|
|
4077
|
+
};
|
|
4078
|
+
var createBusinessAgentFaq = (options) => {
|
|
4079
|
+
return (options?.client ?? client).post({
|
|
4080
|
+
...options,
|
|
4081
|
+
url: "/v1/accounts/{accountId}/business-agent/faqs"
|
|
4082
|
+
});
|
|
4083
|
+
};
|
|
4084
|
+
var getBusinessAgentFaq = (options) => {
|
|
4085
|
+
return (options?.client ?? client).get({
|
|
4086
|
+
...options,
|
|
4087
|
+
url: "/v1/accounts/{accountId}/business-agent/faqs/{faqId}"
|
|
4088
|
+
});
|
|
4089
|
+
};
|
|
4090
|
+
var updateBusinessAgentFaq = (options) => {
|
|
4091
|
+
return (options?.client ?? client).put({
|
|
4092
|
+
...options,
|
|
4093
|
+
url: "/v1/accounts/{accountId}/business-agent/faqs/{faqId}"
|
|
4094
|
+
});
|
|
4095
|
+
};
|
|
4096
|
+
var deleteBusinessAgentFaq = (options) => {
|
|
4097
|
+
return (options?.client ?? client).delete({
|
|
4098
|
+
...options,
|
|
4099
|
+
url: "/v1/accounts/{accountId}/business-agent/faqs/{faqId}"
|
|
4100
|
+
});
|
|
4101
|
+
};
|
|
4102
|
+
var listBusinessAgentWebsites = (options) => {
|
|
4103
|
+
return (options?.client ?? client).get({
|
|
4104
|
+
...options,
|
|
4105
|
+
url: "/v1/accounts/{accountId}/business-agent/websites"
|
|
4106
|
+
});
|
|
4107
|
+
};
|
|
4108
|
+
var addBusinessAgentWebsite = (options) => {
|
|
4109
|
+
return (options?.client ?? client).post({
|
|
4110
|
+
...options,
|
|
4111
|
+
url: "/v1/accounts/{accountId}/business-agent/websites"
|
|
4112
|
+
});
|
|
4113
|
+
};
|
|
4114
|
+
var getBusinessAgentWebsite = (options) => {
|
|
4115
|
+
return (options?.client ?? client).get({
|
|
4116
|
+
...options,
|
|
4117
|
+
url: "/v1/accounts/{accountId}/business-agent/websites/{websiteId}"
|
|
4118
|
+
});
|
|
4119
|
+
};
|
|
4120
|
+
var updateBusinessAgentWebsite = (options) => {
|
|
4121
|
+
return (options?.client ?? client).put({
|
|
4122
|
+
...options,
|
|
4123
|
+
url: "/v1/accounts/{accountId}/business-agent/websites/{websiteId}"
|
|
4124
|
+
});
|
|
4125
|
+
};
|
|
4126
|
+
var deleteBusinessAgentWebsite = (options) => {
|
|
4127
|
+
return (options?.client ?? client).delete({
|
|
4128
|
+
...options,
|
|
4129
|
+
url: "/v1/accounts/{accountId}/business-agent/websites/{websiteId}"
|
|
4130
|
+
});
|
|
4131
|
+
};
|
|
4132
|
+
var listBusinessAgentFiles = (options) => {
|
|
4133
|
+
return (options?.client ?? client).get({
|
|
4134
|
+
...options,
|
|
4135
|
+
url: "/v1/accounts/{accountId}/business-agent/files"
|
|
4136
|
+
});
|
|
4137
|
+
};
|
|
4138
|
+
var uploadBusinessAgentFile = (options) => {
|
|
4139
|
+
return (options?.client ?? client).post({
|
|
4140
|
+
...options,
|
|
4141
|
+
url: "/v1/accounts/{accountId}/business-agent/files"
|
|
4142
|
+
});
|
|
4143
|
+
};
|
|
4144
|
+
var getBusinessAgentFile = (options) => {
|
|
4145
|
+
return (options?.client ?? client).get({
|
|
4146
|
+
...options,
|
|
4147
|
+
url: "/v1/accounts/{accountId}/business-agent/files/{fileId}"
|
|
4148
|
+
});
|
|
4149
|
+
};
|
|
4150
|
+
var deleteBusinessAgentFile = (options) => {
|
|
4151
|
+
return (options?.client ?? client).delete({
|
|
4152
|
+
...options,
|
|
4153
|
+
url: "/v1/accounts/{accountId}/business-agent/files/{fileId}"
|
|
4154
|
+
});
|
|
4155
|
+
};
|
|
4156
|
+
var listBusinessAgentSkills = (options) => {
|
|
4157
|
+
return (options?.client ?? client).get({
|
|
4158
|
+
...options,
|
|
4159
|
+
url: "/v1/accounts/{accountId}/business-agent/skills"
|
|
4160
|
+
});
|
|
4161
|
+
};
|
|
4162
|
+
var createBusinessAgentSkill = (options) => {
|
|
4163
|
+
return (options?.client ?? client).post({
|
|
4164
|
+
...options,
|
|
4165
|
+
url: "/v1/accounts/{accountId}/business-agent/skills"
|
|
4166
|
+
});
|
|
4167
|
+
};
|
|
4168
|
+
var getBusinessAgentSkill = (options) => {
|
|
4169
|
+
return (options?.client ?? client).get({
|
|
4170
|
+
...options,
|
|
4171
|
+
url: "/v1/accounts/{accountId}/business-agent/skills/{skillId}"
|
|
4172
|
+
});
|
|
4173
|
+
};
|
|
4174
|
+
var updateBusinessAgentSkill = (options) => {
|
|
4175
|
+
return (options?.client ?? client).put({
|
|
4176
|
+
...options,
|
|
4177
|
+
url: "/v1/accounts/{accountId}/business-agent/skills/{skillId}"
|
|
4178
|
+
});
|
|
4179
|
+
};
|
|
4180
|
+
var deleteBusinessAgentSkill = (options) => {
|
|
4181
|
+
return (options?.client ?? client).delete({
|
|
4182
|
+
...options,
|
|
4183
|
+
url: "/v1/accounts/{accountId}/business-agent/skills/{skillId}"
|
|
4184
|
+
});
|
|
4185
|
+
};
|
|
4186
|
+
var listBusinessAgentUiSkills = (options) => {
|
|
4187
|
+
return (options?.client ?? client).get({
|
|
4188
|
+
...options,
|
|
4189
|
+
url: "/v1/accounts/{accountId}/business-agent/ui-skills"
|
|
4190
|
+
});
|
|
4191
|
+
};
|
|
4192
|
+
var createBusinessAgentUiSkill = (options) => {
|
|
4193
|
+
return (options?.client ?? client).post({
|
|
4194
|
+
...options,
|
|
4195
|
+
url: "/v1/accounts/{accountId}/business-agent/ui-skills"
|
|
4196
|
+
});
|
|
4197
|
+
};
|
|
4198
|
+
var getBusinessAgentUiSkill = (options) => {
|
|
4199
|
+
return (options?.client ?? client).get({
|
|
4200
|
+
...options,
|
|
4201
|
+
url: "/v1/accounts/{accountId}/business-agent/ui-skills/{uiSkillId}"
|
|
4202
|
+
});
|
|
4203
|
+
};
|
|
4204
|
+
var updateBusinessAgentUiSkill = (options) => {
|
|
4205
|
+
return (options?.client ?? client).put({
|
|
4206
|
+
...options,
|
|
4207
|
+
url: "/v1/accounts/{accountId}/business-agent/ui-skills/{uiSkillId}"
|
|
4208
|
+
});
|
|
4209
|
+
};
|
|
4210
|
+
var deleteBusinessAgentUiSkill = (options) => {
|
|
4211
|
+
return (options?.client ?? client).delete({
|
|
4212
|
+
...options,
|
|
4213
|
+
url: "/v1/accounts/{accountId}/business-agent/ui-skills/{uiSkillId}"
|
|
4214
|
+
});
|
|
4215
|
+
};
|
|
4216
|
+
var listBusinessAgentConnectors = (options) => {
|
|
4217
|
+
return (options?.client ?? client).get({
|
|
4218
|
+
...options,
|
|
4219
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors"
|
|
4220
|
+
});
|
|
4221
|
+
};
|
|
4222
|
+
var createBusinessAgentConnector = (options) => {
|
|
4223
|
+
return (options?.client ?? client).post({
|
|
4224
|
+
...options,
|
|
4225
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors"
|
|
4226
|
+
});
|
|
4227
|
+
};
|
|
4228
|
+
var getBusinessAgentConnector = (options) => {
|
|
4229
|
+
return (options?.client ?? client).get({
|
|
4230
|
+
...options,
|
|
4231
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}"
|
|
4232
|
+
});
|
|
4233
|
+
};
|
|
4234
|
+
var updateBusinessAgentConnector = (options) => {
|
|
4235
|
+
return (options?.client ?? client).put({
|
|
4236
|
+
...options,
|
|
4237
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}"
|
|
4238
|
+
});
|
|
4239
|
+
};
|
|
4240
|
+
var deleteBusinessAgentConnector = (options) => {
|
|
4241
|
+
return (options?.client ?? client).delete({
|
|
4242
|
+
...options,
|
|
4243
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}"
|
|
4244
|
+
});
|
|
4245
|
+
};
|
|
4246
|
+
var setBusinessAgentConnectorCredentials = (options) => {
|
|
4247
|
+
return (options?.client ?? client).post({
|
|
4248
|
+
...options,
|
|
4249
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}/credentials"
|
|
4250
|
+
});
|
|
4251
|
+
};
|
|
4252
|
+
var refreshBusinessAgentConnectorTools = (options) => {
|
|
4253
|
+
return (options?.client ?? client).post({
|
|
4254
|
+
...options,
|
|
4255
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}/refresh-tools"
|
|
4256
|
+
});
|
|
4257
|
+
};
|
|
4258
|
+
var getBusinessAgentConnectorLogs = (options) => {
|
|
4259
|
+
return (options?.client ?? client).get({
|
|
4260
|
+
...options,
|
|
4261
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}/logs"
|
|
4262
|
+
});
|
|
4263
|
+
};
|
|
4264
|
+
var listBusinessAgentConnectorTools = (options) => {
|
|
4265
|
+
return (options?.client ?? client).get({
|
|
4266
|
+
...options,
|
|
4267
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}/tools"
|
|
4268
|
+
});
|
|
4269
|
+
};
|
|
4270
|
+
var createBusinessAgentConnectorTool = (options) => {
|
|
4271
|
+
return (options?.client ?? client).post({
|
|
4272
|
+
...options,
|
|
4273
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}/tools"
|
|
4274
|
+
});
|
|
4275
|
+
};
|
|
4276
|
+
var getBusinessAgentConnectorTool = (options) => {
|
|
4277
|
+
return (options?.client ?? client).get({
|
|
4278
|
+
...options,
|
|
4279
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}/tools/{toolId}"
|
|
4280
|
+
});
|
|
4281
|
+
};
|
|
4282
|
+
var updateBusinessAgentConnectorTool = (options) => {
|
|
4283
|
+
return (options?.client ?? client).put({
|
|
4284
|
+
...options,
|
|
4285
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}/tools/{toolId}"
|
|
4286
|
+
});
|
|
4287
|
+
};
|
|
4288
|
+
var deleteBusinessAgentConnectorTool = (options) => {
|
|
4289
|
+
return (options?.client ?? client).delete({
|
|
4290
|
+
...options,
|
|
4291
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}/tools/{toolId}"
|
|
4292
|
+
});
|
|
4293
|
+
};
|
|
4294
|
+
var runBusinessAgentConnectorTool = (options) => {
|
|
4295
|
+
return (options?.client ?? client).post({
|
|
4296
|
+
...options,
|
|
4297
|
+
url: "/v1/accounts/{accountId}/business-agent/connectors/{connectorId}/tools/{toolId}/run"
|
|
4298
|
+
});
|
|
4299
|
+
};
|
|
4300
|
+
var getBusinessAgentBudget = (options) => {
|
|
4301
|
+
return (options?.client ?? client).get({
|
|
4302
|
+
...options,
|
|
4303
|
+
url: "/v1/accounts/{accountId}/business-agent/budget"
|
|
4304
|
+
});
|
|
4305
|
+
};
|
|
4306
|
+
var replaceBusinessAgentBudget = (options) => {
|
|
4307
|
+
return (options?.client ?? client).put({
|
|
4308
|
+
...options,
|
|
4309
|
+
url: "/v1/accounts/{accountId}/business-agent/budget"
|
|
4310
|
+
});
|
|
4311
|
+
};
|
|
4312
|
+
var sendBusinessAgentTestMessage = (options) => {
|
|
4313
|
+
return (options?.client ?? client).post({
|
|
4314
|
+
...options,
|
|
4315
|
+
url: "/v1/accounts/{accountId}/business-agent/test-messages"
|
|
4316
|
+
});
|
|
4317
|
+
};
|
|
4318
|
+
var sendBusinessAgentEvent = (options) => {
|
|
4319
|
+
return (options?.client ?? client).post({
|
|
4320
|
+
...options,
|
|
4321
|
+
url: "/v1/accounts/{accountId}/business-agent/events"
|
|
4322
|
+
});
|
|
4323
|
+
};
|
|
4324
|
+
var getBusinessAgentEvent = (options) => {
|
|
4325
|
+
return (options?.client ?? client).get({
|
|
4326
|
+
...options,
|
|
4327
|
+
url: "/v1/accounts/{accountId}/business-agent/events/{eventId}"
|
|
4328
|
+
});
|
|
4329
|
+
};
|
|
4330
|
+
var readBusinessAgentEvals = (options) => {
|
|
4331
|
+
return (options?.client ?? client).get({
|
|
4332
|
+
...options,
|
|
4333
|
+
url: "/v1/accounts/{accountId}/business-agent/evals"
|
|
4334
|
+
});
|
|
4335
|
+
};
|
|
4336
|
+
var startBusinessAgentEvalRun = (options) => {
|
|
4337
|
+
return (options?.client ?? client).post({
|
|
4338
|
+
...options,
|
|
4339
|
+
url: "/v1/accounts/{accountId}/business-agent/evals"
|
|
4340
|
+
});
|
|
4341
|
+
};
|
|
3988
4342
|
var listTrackingTags = (options) => {
|
|
3989
4343
|
return (options?.client ?? client).get({
|
|
3990
4344
|
...options,
|
|
@@ -4360,6 +4714,8 @@ var Zernio = class _Zernio {
|
|
|
4360
4714
|
*/
|
|
4361
4715
|
this.whatsapp = {
|
|
4362
4716
|
registerWhatsAppNumber: this._bind(registerWhatsAppNumber),
|
|
4717
|
+
requestWhatsAppVerificationCode: this._bind(requestWhatsAppVerificationCode),
|
|
4718
|
+
verifyWhatsAppNumber: this._bind(verifyWhatsAppNumber),
|
|
4363
4719
|
getWhatsAppMedia: this._bind(getWhatsAppMedia),
|
|
4364
4720
|
getWhatsAppTemplates: this._bind(getWhatsAppTemplates),
|
|
4365
4721
|
createWhatsAppTemplate: this._bind(createWhatsAppTemplate),
|
|
@@ -4439,6 +4795,7 @@ var Zernio = class _Zernio {
|
|
|
4439
4795
|
listWhatsAppPhoneNumbers: this._bind(listWhatsAppPhoneNumbers),
|
|
4440
4796
|
completeWhatsAppPhoneSelection: this._bind(completeWhatsAppPhoneSelection),
|
|
4441
4797
|
connectWhatsAppEmbeddedSignup: this._bind(connectWhatsAppEmbeddedSignup),
|
|
4798
|
+
getWhatsAppSdkConfig: this._bind(getWhatsAppSdkConfig),
|
|
4442
4799
|
connectDiscordChannel: this._bind(connectDiscordChannel),
|
|
4443
4800
|
listSlackChannels: this._bind(listSlackChannels),
|
|
4444
4801
|
connectSlackChannel: this._bind(connectSlackChannel),
|
|
@@ -4633,6 +4990,7 @@ var Zernio = class _Zernio {
|
|
|
4633
4990
|
editInboxMessage: this._bind(editInboxMessage),
|
|
4634
4991
|
deleteInboxMessage: this._bind(deleteInboxMessage),
|
|
4635
4992
|
sendTypingIndicator: this._bind(sendTypingIndicator),
|
|
4993
|
+
setConversationThreadControl: this._bind(setConversationThreadControl),
|
|
4636
4994
|
markConversationRead: this._bind(markConversationRead),
|
|
4637
4995
|
addMessageReaction: this._bind(addMessageReaction),
|
|
4638
4996
|
removeMessageReaction: this._bind(removeMessageReaction),
|
|
@@ -5145,6 +5503,66 @@ var Zernio = class _Zernio {
|
|
|
5145
5503
|
createCallAd: this._bind(createCallAd),
|
|
5146
5504
|
createCtwaAd: this._bind(createCtwaAd)
|
|
5147
5505
|
};
|
|
5506
|
+
/**
|
|
5507
|
+
* businessagent API
|
|
5508
|
+
*/
|
|
5509
|
+
this.businessagent = {
|
|
5510
|
+
getBusinessAgentStatus: this._bind(getBusinessAgentStatus),
|
|
5511
|
+
onboardBusinessAgent: this._bind(onboardBusinessAgent),
|
|
5512
|
+
listBusinessAgentSettings: this._bind(listBusinessAgentSettings),
|
|
5513
|
+
updateBusinessAgentSettings: this._bind(updateBusinessAgentSettings),
|
|
5514
|
+
listBusinessAgentAllowlist: this._bind(listBusinessAgentAllowlist),
|
|
5515
|
+
addBusinessAgentAllowlistEntry: this._bind(addBusinessAgentAllowlistEntry),
|
|
5516
|
+
removeBusinessAgentAllowlistEntry: this._bind(removeBusinessAgentAllowlistEntry),
|
|
5517
|
+
getBusinessAgentBusinessInformation: this._bind(getBusinessAgentBusinessInformation),
|
|
5518
|
+
replaceBusinessAgentBusinessInformation: this._bind(replaceBusinessAgentBusinessInformation),
|
|
5519
|
+
resetBusinessAgentBusinessInformation: this._bind(resetBusinessAgentBusinessInformation),
|
|
5520
|
+
listBusinessAgentFaqs: this._bind(listBusinessAgentFaqs),
|
|
5521
|
+
createBusinessAgentFaq: this._bind(createBusinessAgentFaq),
|
|
5522
|
+
getBusinessAgentFaq: this._bind(getBusinessAgentFaq),
|
|
5523
|
+
updateBusinessAgentFaq: this._bind(updateBusinessAgentFaq),
|
|
5524
|
+
deleteBusinessAgentFaq: this._bind(deleteBusinessAgentFaq),
|
|
5525
|
+
listBusinessAgentWebsites: this._bind(listBusinessAgentWebsites),
|
|
5526
|
+
addBusinessAgentWebsite: this._bind(addBusinessAgentWebsite),
|
|
5527
|
+
getBusinessAgentWebsite: this._bind(getBusinessAgentWebsite),
|
|
5528
|
+
updateBusinessAgentWebsite: this._bind(updateBusinessAgentWebsite),
|
|
5529
|
+
deleteBusinessAgentWebsite: this._bind(deleteBusinessAgentWebsite),
|
|
5530
|
+
listBusinessAgentFiles: this._bind(listBusinessAgentFiles),
|
|
5531
|
+
uploadBusinessAgentFile: this._bind(uploadBusinessAgentFile),
|
|
5532
|
+
getBusinessAgentFile: this._bind(getBusinessAgentFile),
|
|
5533
|
+
deleteBusinessAgentFile: this._bind(deleteBusinessAgentFile),
|
|
5534
|
+
listBusinessAgentSkills: this._bind(listBusinessAgentSkills),
|
|
5535
|
+
createBusinessAgentSkill: this._bind(createBusinessAgentSkill),
|
|
5536
|
+
getBusinessAgentSkill: this._bind(getBusinessAgentSkill),
|
|
5537
|
+
updateBusinessAgentSkill: this._bind(updateBusinessAgentSkill),
|
|
5538
|
+
deleteBusinessAgentSkill: this._bind(deleteBusinessAgentSkill),
|
|
5539
|
+
listBusinessAgentUiSkills: this._bind(listBusinessAgentUiSkills),
|
|
5540
|
+
createBusinessAgentUiSkill: this._bind(createBusinessAgentUiSkill),
|
|
5541
|
+
getBusinessAgentUiSkill: this._bind(getBusinessAgentUiSkill),
|
|
5542
|
+
updateBusinessAgentUiSkill: this._bind(updateBusinessAgentUiSkill),
|
|
5543
|
+
deleteBusinessAgentUiSkill: this._bind(deleteBusinessAgentUiSkill),
|
|
5544
|
+
listBusinessAgentConnectors: this._bind(listBusinessAgentConnectors),
|
|
5545
|
+
createBusinessAgentConnector: this._bind(createBusinessAgentConnector),
|
|
5546
|
+
getBusinessAgentConnector: this._bind(getBusinessAgentConnector),
|
|
5547
|
+
updateBusinessAgentConnector: this._bind(updateBusinessAgentConnector),
|
|
5548
|
+
deleteBusinessAgentConnector: this._bind(deleteBusinessAgentConnector),
|
|
5549
|
+
setBusinessAgentConnectorCredentials: this._bind(setBusinessAgentConnectorCredentials),
|
|
5550
|
+
refreshBusinessAgentConnectorTools: this._bind(refreshBusinessAgentConnectorTools),
|
|
5551
|
+
getBusinessAgentConnectorLogs: this._bind(getBusinessAgentConnectorLogs),
|
|
5552
|
+
listBusinessAgentConnectorTools: this._bind(listBusinessAgentConnectorTools),
|
|
5553
|
+
createBusinessAgentConnectorTool: this._bind(createBusinessAgentConnectorTool),
|
|
5554
|
+
getBusinessAgentConnectorTool: this._bind(getBusinessAgentConnectorTool),
|
|
5555
|
+
updateBusinessAgentConnectorTool: this._bind(updateBusinessAgentConnectorTool),
|
|
5556
|
+
deleteBusinessAgentConnectorTool: this._bind(deleteBusinessAgentConnectorTool),
|
|
5557
|
+
runBusinessAgentConnectorTool: this._bind(runBusinessAgentConnectorTool),
|
|
5558
|
+
getBusinessAgentBudget: this._bind(getBusinessAgentBudget),
|
|
5559
|
+
replaceBusinessAgentBudget: this._bind(replaceBusinessAgentBudget),
|
|
5560
|
+
sendBusinessAgentTestMessage: this._bind(sendBusinessAgentTestMessage),
|
|
5561
|
+
sendBusinessAgentEvent: this._bind(sendBusinessAgentEvent),
|
|
5562
|
+
getBusinessAgentEvent: this._bind(getBusinessAgentEvent),
|
|
5563
|
+
readBusinessAgentEvals: this._bind(readBusinessAgentEvals),
|
|
5564
|
+
startBusinessAgentEvalRun: this._bind(startBusinessAgentEvalRun)
|
|
5565
|
+
};
|
|
5148
5566
|
/**
|
|
5149
5567
|
* blogs API
|
|
5150
5568
|
*/
|