@pubnio/sdk 0.2.9 → 0.2.11

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/index.cjs CHANGED
@@ -4425,6 +4425,19 @@ var WebhookEvent = import_effect27.Schema.Union([
4425
4425
  targets: import_effect27.Schema.Array(import_effect27.Schema.Struct(scheduledTargetData))
4426
4426
  })
4427
4427
  }),
4428
+ import_effect27.Schema.Struct({
4429
+ ...envelope,
4430
+ type: import_effect27.Schema.Literal("schedule.assignment.changed"),
4431
+ data: import_effect27.Schema.Struct({
4432
+ postId: PostId,
4433
+ targetId: TargetId,
4434
+ accountId: AccountId,
4435
+ attemptId: AttemptId,
4436
+ previousScheduledAt: import_effect27.Schema.NullOr(import_effect27.Schema.String),
4437
+ scheduledAt: import_effect27.Schema.NullOr(import_effect27.Schema.String),
4438
+ queueId: import_effect27.Schema.NullOr(QueueId)
4439
+ })
4440
+ }),
4428
4441
  import_effect27.Schema.Struct({
4429
4442
  ...envelope,
4430
4443
  type: import_effect27.Schema.Literal("post.published"),
@@ -6153,7 +6166,7 @@ var import_http = require("effect/http");
6153
6166
  // package.json
6154
6167
  var package_default = {
6155
6168
  name: "@pubnio/sdk",
6156
- version: "0.2.9",
6169
+ version: "0.2.11",
6157
6170
  description: "JavaScript and TypeScript client for the PubNio API",
6158
6171
  type: "module",
6159
6172
  exports: {
package/dist/index.d.cts CHANGED
@@ -13529,6 +13529,24 @@ export declare const WebhookEvent: Schema.Union<readonly [
13529
13529
  readonly workspaceId: Schema.brand<Schema.String, "WorkspaceId">;
13530
13530
  readonly profileId: Schema.optionalKey<Schema.brand<Schema.String, "ProfileId">>;
13531
13531
  }>,
13532
+ Schema.Struct<{
13533
+ readonly type: Schema.Literal<"schedule.assignment.changed">;
13534
+ readonly data: Schema.Struct<{
13535
+ readonly postId: Schema.brand<Schema.String, "PostId">;
13536
+ readonly targetId: Schema.brand<Schema.String, "TargetId">;
13537
+ readonly accountId: Schema.brand<Schema.String, "AccountId">;
13538
+ readonly attemptId: Schema.brand<Schema.String, "AttemptId">;
13539
+ readonly previousScheduledAt: Schema.NullOr<Schema.String>;
13540
+ readonly scheduledAt: Schema.NullOr<Schema.String>;
13541
+ /** The queue that now holds the target; null for an explicit time. */
13542
+ readonly queueId: Schema.NullOr<Schema.String>;
13543
+ }>;
13544
+ readonly id: Schema.String;
13545
+ readonly version: Schema.Literal<1>;
13546
+ readonly timestamp: Schema.String;
13547
+ readonly workspaceId: Schema.brand<Schema.String, "WorkspaceId">;
13548
+ readonly profileId: Schema.optionalKey<Schema.brand<Schema.String, "ProfileId">>;
13549
+ }>,
13532
13550
  Schema.Struct<{
13533
13551
  readonly type: Schema.Literal<"post.published">;
13534
13552
  readonly data: Schema.Struct<{
package/dist/index.d.ts CHANGED
@@ -13529,6 +13529,24 @@ export declare const WebhookEvent: Schema.Union<readonly [
13529
13529
  readonly workspaceId: Schema.brand<Schema.String, "WorkspaceId">;
13530
13530
  readonly profileId: Schema.optionalKey<Schema.brand<Schema.String, "ProfileId">>;
13531
13531
  }>,
13532
+ Schema.Struct<{
13533
+ readonly type: Schema.Literal<"schedule.assignment.changed">;
13534
+ readonly data: Schema.Struct<{
13535
+ readonly postId: Schema.brand<Schema.String, "PostId">;
13536
+ readonly targetId: Schema.brand<Schema.String, "TargetId">;
13537
+ readonly accountId: Schema.brand<Schema.String, "AccountId">;
13538
+ readonly attemptId: Schema.brand<Schema.String, "AttemptId">;
13539
+ readonly previousScheduledAt: Schema.NullOr<Schema.String>;
13540
+ readonly scheduledAt: Schema.NullOr<Schema.String>;
13541
+ /** The queue that now holds the target; null for an explicit time. */
13542
+ readonly queueId: Schema.NullOr<Schema.String>;
13543
+ }>;
13544
+ readonly id: Schema.String;
13545
+ readonly version: Schema.Literal<1>;
13546
+ readonly timestamp: Schema.String;
13547
+ readonly workspaceId: Schema.brand<Schema.String, "WorkspaceId">;
13548
+ readonly profileId: Schema.optionalKey<Schema.brand<Schema.String, "ProfileId">>;
13549
+ }>,
13532
13550
  Schema.Struct<{
13533
13551
  readonly type: Schema.Literal<"post.published">;
13534
13552
  readonly data: Schema.Struct<{
package/dist/index.js CHANGED
@@ -4385,6 +4385,19 @@ var WebhookEvent = Schema27.Union([
4385
4385
  targets: Schema27.Array(Schema27.Struct(scheduledTargetData))
4386
4386
  })
4387
4387
  }),
4388
+ Schema27.Struct({
4389
+ ...envelope,
4390
+ type: Schema27.Literal("schedule.assignment.changed"),
4391
+ data: Schema27.Struct({
4392
+ postId: PostId,
4393
+ targetId: TargetId,
4394
+ accountId: AccountId,
4395
+ attemptId: AttemptId,
4396
+ previousScheduledAt: Schema27.NullOr(Schema27.String),
4397
+ scheduledAt: Schema27.NullOr(Schema27.String),
4398
+ queueId: Schema27.NullOr(QueueId)
4399
+ })
4400
+ }),
4388
4401
  Schema27.Struct({
4389
4402
  ...envelope,
4390
4403
  type: Schema27.Literal("post.published"),
@@ -6113,7 +6126,7 @@ import { ProblemDetails } from "effect/http";
6113
6126
  // package.json
6114
6127
  var package_default = {
6115
6128
  name: "@pubnio/sdk",
6116
- version: "0.2.9",
6129
+ version: "0.2.11",
6117
6130
  description: "JavaScript and TypeScript client for the PubNio API",
6118
6131
  type: "module",
6119
6132
  exports: {
package/dist/internal.cjs CHANGED
@@ -4433,6 +4433,19 @@ var WebhookEvent = import_effect27.Schema.Union([
4433
4433
  targets: import_effect27.Schema.Array(import_effect27.Schema.Struct(scheduledTargetData))
4434
4434
  })
4435
4435
  }),
4436
+ import_effect27.Schema.Struct({
4437
+ ...envelope,
4438
+ type: import_effect27.Schema.Literal("schedule.assignment.changed"),
4439
+ data: import_effect27.Schema.Struct({
4440
+ postId: PostId,
4441
+ targetId: TargetId,
4442
+ accountId: AccountId,
4443
+ attemptId: AttemptId,
4444
+ previousScheduledAt: import_effect27.Schema.NullOr(import_effect27.Schema.String),
4445
+ scheduledAt: import_effect27.Schema.NullOr(import_effect27.Schema.String),
4446
+ queueId: import_effect27.Schema.NullOr(QueueId)
4447
+ })
4448
+ }),
4436
4449
  import_effect27.Schema.Struct({
4437
4450
  ...envelope,
4438
4451
  type: import_effect27.Schema.Literal("post.published"),
@@ -6161,7 +6174,7 @@ var import_http = require("effect/http");
6161
6174
  // package.json
6162
6175
  var package_default = {
6163
6176
  name: "@pubnio/sdk",
6164
- version: "0.2.9",
6177
+ version: "0.2.11",
6165
6178
  description: "JavaScript and TypeScript client for the PubNio API",
6166
6179
  type: "module",
6167
6180
  exports: {
package/dist/internal.js CHANGED
@@ -4385,6 +4385,19 @@ var WebhookEvent = Schema27.Union([
4385
4385
  targets: Schema27.Array(Schema27.Struct(scheduledTargetData))
4386
4386
  })
4387
4387
  }),
4388
+ Schema27.Struct({
4389
+ ...envelope,
4390
+ type: Schema27.Literal("schedule.assignment.changed"),
4391
+ data: Schema27.Struct({
4392
+ postId: PostId,
4393
+ targetId: TargetId,
4394
+ accountId: AccountId,
4395
+ attemptId: AttemptId,
4396
+ previousScheduledAt: Schema27.NullOr(Schema27.String),
4397
+ scheduledAt: Schema27.NullOr(Schema27.String),
4398
+ queueId: Schema27.NullOr(QueueId)
4399
+ })
4400
+ }),
4388
4401
  Schema27.Struct({
4389
4402
  ...envelope,
4390
4403
  type: Schema27.Literal("post.published"),
@@ -6113,7 +6126,7 @@ import { ProblemDetails } from "effect/http";
6113
6126
  // package.json
6114
6127
  var package_default = {
6115
6128
  name: "@pubnio/sdk",
6116
- version: "0.2.9",
6129
+ version: "0.2.11",
6117
6130
  description: "JavaScript and TypeScript client for the PubNio API",
6118
6131
  type: "module",
6119
6132
  exports: {
package/dist/solid.cjs CHANGED
@@ -4582,6 +4582,19 @@ var WebhookEvent = import_effect27.Schema.Union([
4582
4582
  targets: import_effect27.Schema.Array(import_effect27.Schema.Struct(scheduledTargetData))
4583
4583
  })
4584
4584
  }),
4585
+ import_effect27.Schema.Struct({
4586
+ ...envelope,
4587
+ type: import_effect27.Schema.Literal("schedule.assignment.changed"),
4588
+ data: import_effect27.Schema.Struct({
4589
+ postId: PostId,
4590
+ targetId: TargetId,
4591
+ accountId: AccountId,
4592
+ attemptId: AttemptId,
4593
+ previousScheduledAt: import_effect27.Schema.NullOr(import_effect27.Schema.String),
4594
+ scheduledAt: import_effect27.Schema.NullOr(import_effect27.Schema.String),
4595
+ queueId: import_effect27.Schema.NullOr(QueueId)
4596
+ })
4597
+ }),
4585
4598
  import_effect27.Schema.Struct({
4586
4599
  ...envelope,
4587
4600
  type: import_effect27.Schema.Literal("post.published"),
@@ -6310,7 +6323,7 @@ var import_http = require("effect/http");
6310
6323
  // package.json
6311
6324
  var package_default = {
6312
6325
  name: "@pubnio/sdk",
6313
- version: "0.2.9",
6326
+ version: "0.2.11",
6314
6327
  description: "JavaScript and TypeScript client for the PubNio API",
6315
6328
  type: "module",
6316
6329
  exports: {
package/dist/solid.js CHANGED
@@ -4392,6 +4392,19 @@ var WebhookEvent = Schema27.Union([
4392
4392
  targets: Schema27.Array(Schema27.Struct(scheduledTargetData))
4393
4393
  })
4394
4394
  }),
4395
+ Schema27.Struct({
4396
+ ...envelope,
4397
+ type: Schema27.Literal("schedule.assignment.changed"),
4398
+ data: Schema27.Struct({
4399
+ postId: PostId,
4400
+ targetId: TargetId,
4401
+ accountId: AccountId,
4402
+ attemptId: AttemptId,
4403
+ previousScheduledAt: Schema27.NullOr(Schema27.String),
4404
+ scheduledAt: Schema27.NullOr(Schema27.String),
4405
+ queueId: Schema27.NullOr(QueueId)
4406
+ })
4407
+ }),
4395
4408
  Schema27.Struct({
4396
4409
  ...envelope,
4397
4410
  type: Schema27.Literal("post.published"),
@@ -6120,7 +6133,7 @@ import { ProblemDetails } from "effect/http";
6120
6133
  // package.json
6121
6134
  var package_default = {
6122
6135
  name: "@pubnio/sdk",
6123
- version: "0.2.9",
6136
+ version: "0.2.11",
6124
6137
  description: "JavaScript and TypeScript client for the PubNio API",
6125
6138
  type: "module",
6126
6139
  exports: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pubnio/sdk",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "JavaScript and TypeScript client for the PubNio API",
5
5
  "homepage": "https://pubnio.com",
6
6
  "keywords": [