@pubnio/sdk 0.2.7 → 0.2.9

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/dist/internal.js CHANGED
@@ -4568,6 +4568,33 @@ var WebhookEvent = Schema27.Union([
4568
4568
  nextAction: Schema27.String
4569
4569
  })
4570
4570
  }),
4571
+ Schema27.Struct({
4572
+ ...envelope,
4573
+ type: Schema27.Literals(["ads.campaign.activated", "ads.campaign.paused"]),
4574
+ data: Schema27.Struct({
4575
+ operationId: AdOperationId,
4576
+ accountId: AccountId,
4577
+ campaignId: AdCampaignId
4578
+ })
4579
+ }),
4580
+ Schema27.Struct({
4581
+ ...envelope,
4582
+ type: Schema27.Literal("ads.budget.changed"),
4583
+ data: Schema27.Union([
4584
+ Schema27.Struct({
4585
+ operationId: AdOperationId,
4586
+ accountId: AccountId,
4587
+ level: Schema27.Literal("campaign"),
4588
+ campaignId: AdCampaignId
4589
+ }),
4590
+ Schema27.Struct({
4591
+ operationId: AdOperationId,
4592
+ accountId: AccountId,
4593
+ level: Schema27.Literal("ad_group"),
4594
+ adGroupId: AdGroupId
4595
+ })
4596
+ ])
4597
+ }),
4571
4598
  Schema27.Struct({
4572
4599
  ...envelope,
4573
4600
  type: Schema27.Literal("ads.kill_switch.activated"),
@@ -6086,7 +6113,7 @@ import { ProblemDetails } from "effect/http";
6086
6113
  // package.json
6087
6114
  var package_default = {
6088
6115
  name: "@pubnio/sdk",
6089
- version: "0.2.7",
6116
+ version: "0.2.9",
6090
6117
  description: "JavaScript and TypeScript client for the PubNio API",
6091
6118
  type: "module",
6092
6119
  exports: {
package/dist/solid.cjs CHANGED
@@ -4765,6 +4765,33 @@ var WebhookEvent = import_effect27.Schema.Union([
4765
4765
  nextAction: import_effect27.Schema.String
4766
4766
  })
4767
4767
  }),
4768
+ import_effect27.Schema.Struct({
4769
+ ...envelope,
4770
+ type: import_effect27.Schema.Literals(["ads.campaign.activated", "ads.campaign.paused"]),
4771
+ data: import_effect27.Schema.Struct({
4772
+ operationId: AdOperationId,
4773
+ accountId: AccountId,
4774
+ campaignId: AdCampaignId
4775
+ })
4776
+ }),
4777
+ import_effect27.Schema.Struct({
4778
+ ...envelope,
4779
+ type: import_effect27.Schema.Literal("ads.budget.changed"),
4780
+ data: import_effect27.Schema.Union([
4781
+ import_effect27.Schema.Struct({
4782
+ operationId: AdOperationId,
4783
+ accountId: AccountId,
4784
+ level: import_effect27.Schema.Literal("campaign"),
4785
+ campaignId: AdCampaignId
4786
+ }),
4787
+ import_effect27.Schema.Struct({
4788
+ operationId: AdOperationId,
4789
+ accountId: AccountId,
4790
+ level: import_effect27.Schema.Literal("ad_group"),
4791
+ adGroupId: AdGroupId
4792
+ })
4793
+ ])
4794
+ }),
4768
4795
  import_effect27.Schema.Struct({
4769
4796
  ...envelope,
4770
4797
  type: import_effect27.Schema.Literal("ads.kill_switch.activated"),
@@ -6283,7 +6310,7 @@ var import_http = require("effect/http");
6283
6310
  // package.json
6284
6311
  var package_default = {
6285
6312
  name: "@pubnio/sdk",
6286
- version: "0.2.7",
6313
+ version: "0.2.9",
6287
6314
  description: "JavaScript and TypeScript client for the PubNio API",
6288
6315
  type: "module",
6289
6316
  exports: {
package/dist/solid.js CHANGED
@@ -4575,6 +4575,33 @@ var WebhookEvent = Schema27.Union([
4575
4575
  nextAction: Schema27.String
4576
4576
  })
4577
4577
  }),
4578
+ Schema27.Struct({
4579
+ ...envelope,
4580
+ type: Schema27.Literals(["ads.campaign.activated", "ads.campaign.paused"]),
4581
+ data: Schema27.Struct({
4582
+ operationId: AdOperationId,
4583
+ accountId: AccountId,
4584
+ campaignId: AdCampaignId
4585
+ })
4586
+ }),
4587
+ Schema27.Struct({
4588
+ ...envelope,
4589
+ type: Schema27.Literal("ads.budget.changed"),
4590
+ data: Schema27.Union([
4591
+ Schema27.Struct({
4592
+ operationId: AdOperationId,
4593
+ accountId: AccountId,
4594
+ level: Schema27.Literal("campaign"),
4595
+ campaignId: AdCampaignId
4596
+ }),
4597
+ Schema27.Struct({
4598
+ operationId: AdOperationId,
4599
+ accountId: AccountId,
4600
+ level: Schema27.Literal("ad_group"),
4601
+ adGroupId: AdGroupId
4602
+ })
4603
+ ])
4604
+ }),
4578
4605
  Schema27.Struct({
4579
4606
  ...envelope,
4580
4607
  type: Schema27.Literal("ads.kill_switch.activated"),
@@ -6093,7 +6120,7 @@ import { ProblemDetails } from "effect/http";
6093
6120
  // package.json
6094
6121
  var package_default = {
6095
6122
  name: "@pubnio/sdk",
6096
- version: "0.2.7",
6123
+ version: "0.2.9",
6097
6124
  description: "JavaScript and TypeScript client for the PubNio API",
6098
6125
  type: "module",
6099
6126
  exports: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pubnio/sdk",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "JavaScript and TypeScript client for the PubNio API",
5
5
  "homepage": "https://pubnio.com",
6
6
  "keywords": [