@zernio/node 0.2.716 → 0.2.718
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 +10 -0
- package/dist/index.d.mts +483 -10
- package/dist/index.d.ts +483 -10
- package/dist/index.js +89 -1
- package/dist/index.mjs +89 -1
- package/package.json +1 -1
- package/src/client.ts +38 -0
- package/src/generated/sdk.gen.ts +190 -6
- package/src/generated/types.gen.ts +485 -9
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.718",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -1152,6 +1152,12 @@ var connectDiscordChannel = (options) => {
|
|
|
1152
1152
|
url: "/v1/connect/discord"
|
|
1153
1153
|
});
|
|
1154
1154
|
};
|
|
1155
|
+
var listSlackChannels = (options) => {
|
|
1156
|
+
return (options?.client ?? client).get({
|
|
1157
|
+
...options,
|
|
1158
|
+
url: "/v1/connect/slack"
|
|
1159
|
+
});
|
|
1160
|
+
};
|
|
1155
1161
|
var connectSlackChannel = (options) => {
|
|
1156
1162
|
return (options?.client ?? client).post({
|
|
1157
1163
|
...options,
|
|
@@ -3301,6 +3307,30 @@ var duplicateAdCampaign = (options) => {
|
|
|
3301
3307
|
url: "/v1/ads/campaigns/{campaignId}/duplicate"
|
|
3302
3308
|
});
|
|
3303
3309
|
};
|
|
3310
|
+
var getCampaignTargeting = (options) => {
|
|
3311
|
+
return (options?.client ?? client).get({
|
|
3312
|
+
...options,
|
|
3313
|
+
url: "/v1/ads/campaigns/{campaignId}/targeting"
|
|
3314
|
+
});
|
|
3315
|
+
};
|
|
3316
|
+
var updateCampaignTargeting = (options) => {
|
|
3317
|
+
return (options?.client ?? client).put({
|
|
3318
|
+
...options,
|
|
3319
|
+
url: "/v1/ads/campaigns/{campaignId}/targeting"
|
|
3320
|
+
});
|
|
3321
|
+
};
|
|
3322
|
+
var listAdSets = (options) => {
|
|
3323
|
+
return (options?.client ?? client).get({
|
|
3324
|
+
...options,
|
|
3325
|
+
url: "/v1/ads/ad-sets"
|
|
3326
|
+
});
|
|
3327
|
+
};
|
|
3328
|
+
var createAdSet = (options) => {
|
|
3329
|
+
return (options?.client ?? client).post({
|
|
3330
|
+
...options,
|
|
3331
|
+
url: "/v1/ads/ad-sets"
|
|
3332
|
+
});
|
|
3333
|
+
};
|
|
3304
3334
|
var duplicateAdSet = (options) => {
|
|
3305
3335
|
return (options?.client ?? client).post({
|
|
3306
3336
|
...options,
|
|
@@ -3583,6 +3613,24 @@ var deleteValueRuleSet = (options) => {
|
|
|
3583
3613
|
url: "/v1/ads/value-rule-sets/{valueRuleSetId}"
|
|
3584
3614
|
});
|
|
3585
3615
|
};
|
|
3616
|
+
var listAccountCallouts = (options) => {
|
|
3617
|
+
return (options?.client ?? client).get({
|
|
3618
|
+
...options,
|
|
3619
|
+
url: "/v1/ads/accounts/callouts"
|
|
3620
|
+
});
|
|
3621
|
+
};
|
|
3622
|
+
var addAccountCallouts = (options) => {
|
|
3623
|
+
return (options?.client ?? client).post({
|
|
3624
|
+
...options,
|
|
3625
|
+
url: "/v1/ads/accounts/callouts"
|
|
3626
|
+
});
|
|
3627
|
+
};
|
|
3628
|
+
var removeAccountCallout = (options) => {
|
|
3629
|
+
return (options?.client ?? client).delete({
|
|
3630
|
+
...options,
|
|
3631
|
+
url: "/v1/ads/accounts/callouts"
|
|
3632
|
+
});
|
|
3633
|
+
};
|
|
3586
3634
|
var getAdAccountFinance = (options) => {
|
|
3587
3635
|
return (options?.client ?? client).get({
|
|
3588
3636
|
...options,
|
|
@@ -3805,6 +3853,18 @@ var adjustConversions = (options) => {
|
|
|
3805
3853
|
url: "/v1/ads/conversions/adjustments"
|
|
3806
3854
|
});
|
|
3807
3855
|
};
|
|
3856
|
+
var listConversionActions = (options) => {
|
|
3857
|
+
return (options?.client ?? client).get({
|
|
3858
|
+
...options,
|
|
3859
|
+
url: "/v1/ads/conversions/actions"
|
|
3860
|
+
});
|
|
3861
|
+
};
|
|
3862
|
+
var createConversionAction = (options) => {
|
|
3863
|
+
return (options?.client ?? client).post({
|
|
3864
|
+
...options,
|
|
3865
|
+
url: "/v1/ads/conversions/actions"
|
|
3866
|
+
});
|
|
3867
|
+
};
|
|
3808
3868
|
var listConversionDestinations = (options) => {
|
|
3809
3869
|
return (options?.client ?? client).get({
|
|
3810
3870
|
...options,
|
|
@@ -4356,6 +4416,7 @@ var Zernio = class _Zernio {
|
|
|
4356
4416
|
completeWhatsAppPhoneSelection: this._bind(completeWhatsAppPhoneSelection),
|
|
4357
4417
|
connectWhatsAppEmbeddedSignup: this._bind(connectWhatsAppEmbeddedSignup),
|
|
4358
4418
|
connectDiscordChannel: this._bind(connectDiscordChannel),
|
|
4419
|
+
listSlackChannels: this._bind(listSlackChannels),
|
|
4359
4420
|
connectSlackChannel: this._bind(connectSlackChannel),
|
|
4360
4421
|
getFacebookPages: this._bind(getFacebookPages),
|
|
4361
4422
|
updateFacebookPage: this._bind(updateFacebookPage),
|
|
@@ -4882,6 +4943,10 @@ var Zernio = class _Zernio {
|
|
|
4882
4943
|
replaceCampaignNegativeKeywords: this._bind(replaceCampaignNegativeKeywords),
|
|
4883
4944
|
bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
|
|
4884
4945
|
duplicateAdCampaign: this._bind(duplicateAdCampaign),
|
|
4946
|
+
getCampaignTargeting: this._bind(getCampaignTargeting),
|
|
4947
|
+
updateCampaignTargeting: this._bind(updateCampaignTargeting),
|
|
4948
|
+
listAdSets: this._bind(listAdSets),
|
|
4949
|
+
createAdSet: this._bind(createAdSet),
|
|
4885
4950
|
duplicateAdSet: this._bind(duplicateAdSet),
|
|
4886
4951
|
duplicateAd: this._bind(duplicateAd),
|
|
4887
4952
|
getAdSetDetails: this._bind(getAdSetDetails),
|
|
@@ -4965,6 +5030,9 @@ var Zernio = class _Zernio {
|
|
|
4965
5030
|
getValueRuleSet: this._bind(getValueRuleSet),
|
|
4966
5031
|
updateValueRuleSet: this._bind(updateValueRuleSet),
|
|
4967
5032
|
deleteValueRuleSet: this._bind(deleteValueRuleSet),
|
|
5033
|
+
listAccountCallouts: this._bind(listAccountCallouts),
|
|
5034
|
+
addAccountCallouts: this._bind(addAccountCallouts),
|
|
5035
|
+
removeAccountCallout: this._bind(removeAccountCallout),
|
|
4968
5036
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
4969
5037
|
listAdAccounts: this._bind(listAdAccounts),
|
|
4970
5038
|
updateAdAccount: this._bind(updateAdAccount),
|
|
@@ -5029,6 +5097,8 @@ var Zernio = class _Zernio {
|
|
|
5029
5097
|
getConversionsQuality: this._bind(getConversionsQuality),
|
|
5030
5098
|
sendConversions: this._bind(sendConversions),
|
|
5031
5099
|
adjustConversions: this._bind(adjustConversions),
|
|
5100
|
+
listConversionActions: this._bind(listConversionActions),
|
|
5101
|
+
createConversionAction: this._bind(createConversionAction),
|
|
5032
5102
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
5033
5103
|
createConversionDestination: this._bind(createConversionDestination),
|
|
5034
5104
|
getConversionDestination: this._bind(getConversionDestination),
|
|
@@ -5104,6 +5174,14 @@ var Zernio = class _Zernio {
|
|
|
5104
5174
|
bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
|
|
5105
5175
|
/** @deprecated Use `zernio.adcampaigns.duplicateAdCampaign` instead. */
|
|
5106
5176
|
duplicateAdCampaign: this._bind(duplicateAdCampaign),
|
|
5177
|
+
/** @deprecated Use `zernio.adcampaigns.getCampaignTargeting` instead. */
|
|
5178
|
+
getCampaignTargeting: this._bind(getCampaignTargeting),
|
|
5179
|
+
/** @deprecated Use `zernio.adcampaigns.updateCampaignTargeting` instead. */
|
|
5180
|
+
updateCampaignTargeting: this._bind(updateCampaignTargeting),
|
|
5181
|
+
/** @deprecated Use `zernio.adcampaigns.listAdSets` instead. */
|
|
5182
|
+
listAdSets: this._bind(listAdSets),
|
|
5183
|
+
/** @deprecated Use `zernio.adcampaigns.createAdSet` instead. */
|
|
5184
|
+
createAdSet: this._bind(createAdSet),
|
|
5107
5185
|
/** @deprecated Use `zernio.adcampaigns.duplicateAdSet` instead. */
|
|
5108
5186
|
duplicateAdSet: this._bind(duplicateAdSet),
|
|
5109
5187
|
/** @deprecated Use `zernio.adcampaigns.duplicateAd` instead. */
|
|
@@ -5160,6 +5238,12 @@ var Zernio = class _Zernio {
|
|
|
5160
5238
|
updateValueRuleSet: this._bind(updateValueRuleSet),
|
|
5161
5239
|
/** @deprecated Use `zernio.adaccounts.deleteValueRuleSet` instead. */
|
|
5162
5240
|
deleteValueRuleSet: this._bind(deleteValueRuleSet),
|
|
5241
|
+
/** @deprecated Use `zernio.adaccounts.listAccountCallouts` instead. */
|
|
5242
|
+
listAccountCallouts: this._bind(listAccountCallouts),
|
|
5243
|
+
/** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
|
|
5244
|
+
addAccountCallouts: this._bind(addAccountCallouts),
|
|
5245
|
+
/** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
|
|
5246
|
+
removeAccountCallout: this._bind(removeAccountCallout),
|
|
5163
5247
|
/** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
|
|
5164
5248
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
5165
5249
|
/** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
|
|
@@ -5254,6 +5338,10 @@ var Zernio = class _Zernio {
|
|
|
5254
5338
|
sendConversions: this._bind(sendConversions),
|
|
5255
5339
|
/** @deprecated Use `zernio.conversions.adjustConversions` instead. */
|
|
5256
5340
|
adjustConversions: this._bind(adjustConversions),
|
|
5341
|
+
/** @deprecated Use `zernio.conversions.listConversionActions` instead. */
|
|
5342
|
+
listConversionActions: this._bind(listConversionActions),
|
|
5343
|
+
/** @deprecated Use `zernio.conversions.createConversionAction` instead. */
|
|
5344
|
+
createConversionAction: this._bind(createConversionAction),
|
|
5257
5345
|
/** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
|
|
5258
5346
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
5259
5347
|
/** @deprecated Use `zernio.conversions.createConversionDestination` instead. */
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.718",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -1121,6 +1121,12 @@ var connectDiscordChannel = (options) => {
|
|
|
1121
1121
|
url: "/v1/connect/discord"
|
|
1122
1122
|
});
|
|
1123
1123
|
};
|
|
1124
|
+
var listSlackChannels = (options) => {
|
|
1125
|
+
return (options?.client ?? client).get({
|
|
1126
|
+
...options,
|
|
1127
|
+
url: "/v1/connect/slack"
|
|
1128
|
+
});
|
|
1129
|
+
};
|
|
1124
1130
|
var connectSlackChannel = (options) => {
|
|
1125
1131
|
return (options?.client ?? client).post({
|
|
1126
1132
|
...options,
|
|
@@ -3270,6 +3276,30 @@ var duplicateAdCampaign = (options) => {
|
|
|
3270
3276
|
url: "/v1/ads/campaigns/{campaignId}/duplicate"
|
|
3271
3277
|
});
|
|
3272
3278
|
};
|
|
3279
|
+
var getCampaignTargeting = (options) => {
|
|
3280
|
+
return (options?.client ?? client).get({
|
|
3281
|
+
...options,
|
|
3282
|
+
url: "/v1/ads/campaigns/{campaignId}/targeting"
|
|
3283
|
+
});
|
|
3284
|
+
};
|
|
3285
|
+
var updateCampaignTargeting = (options) => {
|
|
3286
|
+
return (options?.client ?? client).put({
|
|
3287
|
+
...options,
|
|
3288
|
+
url: "/v1/ads/campaigns/{campaignId}/targeting"
|
|
3289
|
+
});
|
|
3290
|
+
};
|
|
3291
|
+
var listAdSets = (options) => {
|
|
3292
|
+
return (options?.client ?? client).get({
|
|
3293
|
+
...options,
|
|
3294
|
+
url: "/v1/ads/ad-sets"
|
|
3295
|
+
});
|
|
3296
|
+
};
|
|
3297
|
+
var createAdSet = (options) => {
|
|
3298
|
+
return (options?.client ?? client).post({
|
|
3299
|
+
...options,
|
|
3300
|
+
url: "/v1/ads/ad-sets"
|
|
3301
|
+
});
|
|
3302
|
+
};
|
|
3273
3303
|
var duplicateAdSet = (options) => {
|
|
3274
3304
|
return (options?.client ?? client).post({
|
|
3275
3305
|
...options,
|
|
@@ -3552,6 +3582,24 @@ var deleteValueRuleSet = (options) => {
|
|
|
3552
3582
|
url: "/v1/ads/value-rule-sets/{valueRuleSetId}"
|
|
3553
3583
|
});
|
|
3554
3584
|
};
|
|
3585
|
+
var listAccountCallouts = (options) => {
|
|
3586
|
+
return (options?.client ?? client).get({
|
|
3587
|
+
...options,
|
|
3588
|
+
url: "/v1/ads/accounts/callouts"
|
|
3589
|
+
});
|
|
3590
|
+
};
|
|
3591
|
+
var addAccountCallouts = (options) => {
|
|
3592
|
+
return (options?.client ?? client).post({
|
|
3593
|
+
...options,
|
|
3594
|
+
url: "/v1/ads/accounts/callouts"
|
|
3595
|
+
});
|
|
3596
|
+
};
|
|
3597
|
+
var removeAccountCallout = (options) => {
|
|
3598
|
+
return (options?.client ?? client).delete({
|
|
3599
|
+
...options,
|
|
3600
|
+
url: "/v1/ads/accounts/callouts"
|
|
3601
|
+
});
|
|
3602
|
+
};
|
|
3555
3603
|
var getAdAccountFinance = (options) => {
|
|
3556
3604
|
return (options?.client ?? client).get({
|
|
3557
3605
|
...options,
|
|
@@ -3774,6 +3822,18 @@ var adjustConversions = (options) => {
|
|
|
3774
3822
|
url: "/v1/ads/conversions/adjustments"
|
|
3775
3823
|
});
|
|
3776
3824
|
};
|
|
3825
|
+
var listConversionActions = (options) => {
|
|
3826
|
+
return (options?.client ?? client).get({
|
|
3827
|
+
...options,
|
|
3828
|
+
url: "/v1/ads/conversions/actions"
|
|
3829
|
+
});
|
|
3830
|
+
};
|
|
3831
|
+
var createConversionAction = (options) => {
|
|
3832
|
+
return (options?.client ?? client).post({
|
|
3833
|
+
...options,
|
|
3834
|
+
url: "/v1/ads/conversions/actions"
|
|
3835
|
+
});
|
|
3836
|
+
};
|
|
3777
3837
|
var listConversionDestinations = (options) => {
|
|
3778
3838
|
return (options?.client ?? client).get({
|
|
3779
3839
|
...options,
|
|
@@ -4325,6 +4385,7 @@ var Zernio = class _Zernio {
|
|
|
4325
4385
|
completeWhatsAppPhoneSelection: this._bind(completeWhatsAppPhoneSelection),
|
|
4326
4386
|
connectWhatsAppEmbeddedSignup: this._bind(connectWhatsAppEmbeddedSignup),
|
|
4327
4387
|
connectDiscordChannel: this._bind(connectDiscordChannel),
|
|
4388
|
+
listSlackChannels: this._bind(listSlackChannels),
|
|
4328
4389
|
connectSlackChannel: this._bind(connectSlackChannel),
|
|
4329
4390
|
getFacebookPages: this._bind(getFacebookPages),
|
|
4330
4391
|
updateFacebookPage: this._bind(updateFacebookPage),
|
|
@@ -4851,6 +4912,10 @@ var Zernio = class _Zernio {
|
|
|
4851
4912
|
replaceCampaignNegativeKeywords: this._bind(replaceCampaignNegativeKeywords),
|
|
4852
4913
|
bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
|
|
4853
4914
|
duplicateAdCampaign: this._bind(duplicateAdCampaign),
|
|
4915
|
+
getCampaignTargeting: this._bind(getCampaignTargeting),
|
|
4916
|
+
updateCampaignTargeting: this._bind(updateCampaignTargeting),
|
|
4917
|
+
listAdSets: this._bind(listAdSets),
|
|
4918
|
+
createAdSet: this._bind(createAdSet),
|
|
4854
4919
|
duplicateAdSet: this._bind(duplicateAdSet),
|
|
4855
4920
|
duplicateAd: this._bind(duplicateAd),
|
|
4856
4921
|
getAdSetDetails: this._bind(getAdSetDetails),
|
|
@@ -4934,6 +4999,9 @@ var Zernio = class _Zernio {
|
|
|
4934
4999
|
getValueRuleSet: this._bind(getValueRuleSet),
|
|
4935
5000
|
updateValueRuleSet: this._bind(updateValueRuleSet),
|
|
4936
5001
|
deleteValueRuleSet: this._bind(deleteValueRuleSet),
|
|
5002
|
+
listAccountCallouts: this._bind(listAccountCallouts),
|
|
5003
|
+
addAccountCallouts: this._bind(addAccountCallouts),
|
|
5004
|
+
removeAccountCallout: this._bind(removeAccountCallout),
|
|
4937
5005
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
4938
5006
|
listAdAccounts: this._bind(listAdAccounts),
|
|
4939
5007
|
updateAdAccount: this._bind(updateAdAccount),
|
|
@@ -4998,6 +5066,8 @@ var Zernio = class _Zernio {
|
|
|
4998
5066
|
getConversionsQuality: this._bind(getConversionsQuality),
|
|
4999
5067
|
sendConversions: this._bind(sendConversions),
|
|
5000
5068
|
adjustConversions: this._bind(adjustConversions),
|
|
5069
|
+
listConversionActions: this._bind(listConversionActions),
|
|
5070
|
+
createConversionAction: this._bind(createConversionAction),
|
|
5001
5071
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
5002
5072
|
createConversionDestination: this._bind(createConversionDestination),
|
|
5003
5073
|
getConversionDestination: this._bind(getConversionDestination),
|
|
@@ -5073,6 +5143,14 @@ var Zernio = class _Zernio {
|
|
|
5073
5143
|
bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
|
|
5074
5144
|
/** @deprecated Use `zernio.adcampaigns.duplicateAdCampaign` instead. */
|
|
5075
5145
|
duplicateAdCampaign: this._bind(duplicateAdCampaign),
|
|
5146
|
+
/** @deprecated Use `zernio.adcampaigns.getCampaignTargeting` instead. */
|
|
5147
|
+
getCampaignTargeting: this._bind(getCampaignTargeting),
|
|
5148
|
+
/** @deprecated Use `zernio.adcampaigns.updateCampaignTargeting` instead. */
|
|
5149
|
+
updateCampaignTargeting: this._bind(updateCampaignTargeting),
|
|
5150
|
+
/** @deprecated Use `zernio.adcampaigns.listAdSets` instead. */
|
|
5151
|
+
listAdSets: this._bind(listAdSets),
|
|
5152
|
+
/** @deprecated Use `zernio.adcampaigns.createAdSet` instead. */
|
|
5153
|
+
createAdSet: this._bind(createAdSet),
|
|
5076
5154
|
/** @deprecated Use `zernio.adcampaigns.duplicateAdSet` instead. */
|
|
5077
5155
|
duplicateAdSet: this._bind(duplicateAdSet),
|
|
5078
5156
|
/** @deprecated Use `zernio.adcampaigns.duplicateAd` instead. */
|
|
@@ -5129,6 +5207,12 @@ var Zernio = class _Zernio {
|
|
|
5129
5207
|
updateValueRuleSet: this._bind(updateValueRuleSet),
|
|
5130
5208
|
/** @deprecated Use `zernio.adaccounts.deleteValueRuleSet` instead. */
|
|
5131
5209
|
deleteValueRuleSet: this._bind(deleteValueRuleSet),
|
|
5210
|
+
/** @deprecated Use `zernio.adaccounts.listAccountCallouts` instead. */
|
|
5211
|
+
listAccountCallouts: this._bind(listAccountCallouts),
|
|
5212
|
+
/** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
|
|
5213
|
+
addAccountCallouts: this._bind(addAccountCallouts),
|
|
5214
|
+
/** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
|
|
5215
|
+
removeAccountCallout: this._bind(removeAccountCallout),
|
|
5132
5216
|
/** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
|
|
5133
5217
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
5134
5218
|
/** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
|
|
@@ -5223,6 +5307,10 @@ var Zernio = class _Zernio {
|
|
|
5223
5307
|
sendConversions: this._bind(sendConversions),
|
|
5224
5308
|
/** @deprecated Use `zernio.conversions.adjustConversions` instead. */
|
|
5225
5309
|
adjustConversions: this._bind(adjustConversions),
|
|
5310
|
+
/** @deprecated Use `zernio.conversions.listConversionActions` instead. */
|
|
5311
|
+
listConversionActions: this._bind(listConversionActions),
|
|
5312
|
+
/** @deprecated Use `zernio.conversions.createConversionAction` instead. */
|
|
5313
|
+
createConversionAction: this._bind(createConversionAction),
|
|
5226
5314
|
/** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
|
|
5227
5315
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
5228
5316
|
/** @deprecated Use `zernio.conversions.createConversionDestination` instead. */
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { createClient, createConfig, type Client } from '@hey-api/client-fetch';
|
|
|
3
3
|
import {
|
|
4
4
|
activateSequence,
|
|
5
5
|
activateWorkflow,
|
|
6
|
+
addAccountCallouts,
|
|
6
7
|
addAdKeywords,
|
|
7
8
|
addBroadcastRecipients,
|
|
8
9
|
addConversionAssociations,
|
|
@@ -50,6 +51,7 @@ import {
|
|
|
50
51
|
createAdCampaign,
|
|
51
52
|
createAdCreative,
|
|
52
53
|
createAdInsightsReport,
|
|
54
|
+
createAdSet,
|
|
53
55
|
createApiKey,
|
|
54
56
|
createBlog,
|
|
55
57
|
createBlogArticle,
|
|
@@ -57,6 +59,7 @@ import {
|
|
|
57
59
|
createCallAd,
|
|
58
60
|
createCommentAutomation,
|
|
59
61
|
createContact,
|
|
62
|
+
createConversionAction,
|
|
60
63
|
createConversionDestination,
|
|
61
64
|
createCtwaAd,
|
|
62
65
|
createCustomConversion,
|
|
@@ -201,6 +204,7 @@ import {
|
|
|
201
204
|
getCallRecording,
|
|
202
205
|
getCallsUsage,
|
|
203
206
|
getCampaignAnalytics,
|
|
207
|
+
getCampaignTargeting,
|
|
204
208
|
getCommentAutomation,
|
|
205
209
|
getConnectUrl,
|
|
206
210
|
getContact,
|
|
@@ -344,6 +348,7 @@ import {
|
|
|
344
348
|
initiateWhatsAppCall,
|
|
345
349
|
likeInboxComment,
|
|
346
350
|
likePost,
|
|
351
|
+
listAccountCallouts,
|
|
347
352
|
listAccountGroups,
|
|
348
353
|
listAccounts,
|
|
349
354
|
listAdAccounts,
|
|
@@ -355,6 +360,7 @@ import {
|
|
|
355
360
|
listAdImages,
|
|
356
361
|
listAdKeywords,
|
|
357
362
|
listAdLabels,
|
|
363
|
+
listAdSets,
|
|
358
364
|
listAdStudies,
|
|
359
365
|
listAdVideos,
|
|
360
366
|
listAds,
|
|
@@ -370,6 +376,7 @@ import {
|
|
|
370
376
|
listCommentAutomations,
|
|
371
377
|
listConnectedApps,
|
|
372
378
|
listContacts,
|
|
379
|
+
listConversionActions,
|
|
373
380
|
listConversionAssociations,
|
|
374
381
|
listConversionDestinations,
|
|
375
382
|
listCustomConversions,
|
|
@@ -409,6 +416,7 @@ import {
|
|
|
409
416
|
listSequenceEnrollments,
|
|
410
417
|
listSequences,
|
|
411
418
|
listSipTrunks,
|
|
419
|
+
listSlackChannels,
|
|
412
420
|
listSlackMembers,
|
|
413
421
|
listSmsOptOuts,
|
|
414
422
|
listSmsRegistrations,
|
|
@@ -454,6 +462,7 @@ import {
|
|
|
454
462
|
releaseWhatsAppPhoneNumber,
|
|
455
463
|
remediatePhoneNumber,
|
|
456
464
|
remediateWhatsAppNumber,
|
|
465
|
+
removeAccountCallout,
|
|
457
466
|
removeAdKeyword,
|
|
458
467
|
removeBookmark,
|
|
459
468
|
removeConversionAssociations,
|
|
@@ -550,6 +559,7 @@ import {
|
|
|
550
559
|
updateBlogArticle,
|
|
551
560
|
updateBlueskySettings,
|
|
552
561
|
updateBroadcast,
|
|
562
|
+
updateCampaignTargeting,
|
|
553
563
|
updateCommentAutomation,
|
|
554
564
|
updateContact,
|
|
555
565
|
updateConversionDestination,
|
|
@@ -986,6 +996,7 @@ export class Zernio {
|
|
|
986
996
|
completeWhatsAppPhoneSelection: this._bind(completeWhatsAppPhoneSelection),
|
|
987
997
|
connectWhatsAppEmbeddedSignup: this._bind(connectWhatsAppEmbeddedSignup),
|
|
988
998
|
connectDiscordChannel: this._bind(connectDiscordChannel),
|
|
999
|
+
listSlackChannels: this._bind(listSlackChannels),
|
|
989
1000
|
connectSlackChannel: this._bind(connectSlackChannel),
|
|
990
1001
|
getFacebookPages: this._bind(getFacebookPages),
|
|
991
1002
|
updateFacebookPage: this._bind(updateFacebookPage),
|
|
@@ -1547,6 +1558,10 @@ export class Zernio {
|
|
|
1547
1558
|
replaceCampaignNegativeKeywords: this._bind(replaceCampaignNegativeKeywords),
|
|
1548
1559
|
bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
|
|
1549
1560
|
duplicateAdCampaign: this._bind(duplicateAdCampaign),
|
|
1561
|
+
getCampaignTargeting: this._bind(getCampaignTargeting),
|
|
1562
|
+
updateCampaignTargeting: this._bind(updateCampaignTargeting),
|
|
1563
|
+
listAdSets: this._bind(listAdSets),
|
|
1564
|
+
createAdSet: this._bind(createAdSet),
|
|
1550
1565
|
duplicateAdSet: this._bind(duplicateAdSet),
|
|
1551
1566
|
duplicateAd: this._bind(duplicateAd),
|
|
1552
1567
|
getAdSetDetails: this._bind(getAdSetDetails),
|
|
@@ -1634,6 +1649,9 @@ export class Zernio {
|
|
|
1634
1649
|
getValueRuleSet: this._bind(getValueRuleSet),
|
|
1635
1650
|
updateValueRuleSet: this._bind(updateValueRuleSet),
|
|
1636
1651
|
deleteValueRuleSet: this._bind(deleteValueRuleSet),
|
|
1652
|
+
listAccountCallouts: this._bind(listAccountCallouts),
|
|
1653
|
+
addAccountCallouts: this._bind(addAccountCallouts),
|
|
1654
|
+
removeAccountCallout: this._bind(removeAccountCallout),
|
|
1637
1655
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
1638
1656
|
listAdAccounts: this._bind(listAdAccounts),
|
|
1639
1657
|
updateAdAccount: this._bind(updateAdAccount),
|
|
@@ -1704,6 +1722,8 @@ export class Zernio {
|
|
|
1704
1722
|
getConversionsQuality: this._bind(getConversionsQuality),
|
|
1705
1723
|
sendConversions: this._bind(sendConversions),
|
|
1706
1724
|
adjustConversions: this._bind(adjustConversions),
|
|
1725
|
+
listConversionActions: this._bind(listConversionActions),
|
|
1726
|
+
createConversionAction: this._bind(createConversionAction),
|
|
1707
1727
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
1708
1728
|
createConversionDestination: this._bind(createConversionDestination),
|
|
1709
1729
|
getConversionDestination: this._bind(getConversionDestination),
|
|
@@ -1783,6 +1803,14 @@ export class Zernio {
|
|
|
1783
1803
|
bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
|
|
1784
1804
|
/** @deprecated Use `zernio.adcampaigns.duplicateAdCampaign` instead. */
|
|
1785
1805
|
duplicateAdCampaign: this._bind(duplicateAdCampaign),
|
|
1806
|
+
/** @deprecated Use `zernio.adcampaigns.getCampaignTargeting` instead. */
|
|
1807
|
+
getCampaignTargeting: this._bind(getCampaignTargeting),
|
|
1808
|
+
/** @deprecated Use `zernio.adcampaigns.updateCampaignTargeting` instead. */
|
|
1809
|
+
updateCampaignTargeting: this._bind(updateCampaignTargeting),
|
|
1810
|
+
/** @deprecated Use `zernio.adcampaigns.listAdSets` instead. */
|
|
1811
|
+
listAdSets: this._bind(listAdSets),
|
|
1812
|
+
/** @deprecated Use `zernio.adcampaigns.createAdSet` instead. */
|
|
1813
|
+
createAdSet: this._bind(createAdSet),
|
|
1786
1814
|
/** @deprecated Use `zernio.adcampaigns.duplicateAdSet` instead. */
|
|
1787
1815
|
duplicateAdSet: this._bind(duplicateAdSet),
|
|
1788
1816
|
/** @deprecated Use `zernio.adcampaigns.duplicateAd` instead. */
|
|
@@ -1839,6 +1867,12 @@ export class Zernio {
|
|
|
1839
1867
|
updateValueRuleSet: this._bind(updateValueRuleSet),
|
|
1840
1868
|
/** @deprecated Use `zernio.adaccounts.deleteValueRuleSet` instead. */
|
|
1841
1869
|
deleteValueRuleSet: this._bind(deleteValueRuleSet),
|
|
1870
|
+
/** @deprecated Use `zernio.adaccounts.listAccountCallouts` instead. */
|
|
1871
|
+
listAccountCallouts: this._bind(listAccountCallouts),
|
|
1872
|
+
/** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
|
|
1873
|
+
addAccountCallouts: this._bind(addAccountCallouts),
|
|
1874
|
+
/** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
|
|
1875
|
+
removeAccountCallout: this._bind(removeAccountCallout),
|
|
1842
1876
|
/** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
|
|
1843
1877
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
1844
1878
|
/** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
|
|
@@ -1933,6 +1967,10 @@ export class Zernio {
|
|
|
1933
1967
|
sendConversions: this._bind(sendConversions),
|
|
1934
1968
|
/** @deprecated Use `zernio.conversions.adjustConversions` instead. */
|
|
1935
1969
|
adjustConversions: this._bind(adjustConversions),
|
|
1970
|
+
/** @deprecated Use `zernio.conversions.listConversionActions` instead. */
|
|
1971
|
+
listConversionActions: this._bind(listConversionActions),
|
|
1972
|
+
/** @deprecated Use `zernio.conversions.createConversionAction` instead. */
|
|
1973
|
+
createConversionAction: this._bind(createConversionAction),
|
|
1936
1974
|
/** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
|
|
1937
1975
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
1938
1976
|
/** @deprecated Use `zernio.conversions.createConversionDestination` instead. */
|