@pubnio/sdk 0.0.1 → 0.1.2
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 +7 -5
- package/dist/index.js +7 -5
- package/dist/solid.cjs +7 -5
- package/dist/solid.js +7 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -79,6 +79,8 @@ var InboxMentionId = import_effect.Schema.brand("InboxMentionId")(uuid);
|
|
|
79
79
|
var InboxReviewId = import_effect.Schema.brand("InboxReviewId")(uuid);
|
|
80
80
|
var InboxAttachmentId = import_effect.Schema.brand("InboxAttachmentId")(uuid);
|
|
81
81
|
var InboxActionId = import_effect.Schema.brand("InboxActionId")(uuid);
|
|
82
|
+
var InboundEventId = import_effect.Schema.brand("InboundEventId")(uuid);
|
|
83
|
+
var WebhookDeliveryId = import_effect.Schema.brand("WebhookDeliveryId")(uuid);
|
|
82
84
|
var AdCampaignId = import_effect.Schema.brand("AdCampaignId")(uuid);
|
|
83
85
|
var AdGroupId = import_effect.Schema.brand("AdGroupId")(uuid);
|
|
84
86
|
var AdCreativeId = import_effect.Schema.brand("AdCreativeId")(uuid);
|
|
@@ -3821,7 +3823,7 @@ var WorkspaceEventEnvelope = import_effect26.Schema.Struct({
|
|
|
3821
3823
|
}).annotate({ identifier: "WorkspaceEventEnvelope" });
|
|
3822
3824
|
|
|
3823
3825
|
// ../protocol/src/webhooks.ts
|
|
3824
|
-
var
|
|
3826
|
+
var WebhookDeliveryId2 = import_effect27.Schema.String.check(import_effect27.Schema.isUUID());
|
|
3825
3827
|
var EventId = import_effect27.Schema.String.check(import_effect27.Schema.isUUID());
|
|
3826
3828
|
var WebhookSubscriptionType = WorkspaceEventType;
|
|
3827
3829
|
var WebhookEventType = import_effect27.Schema.Literals([
|
|
@@ -4363,7 +4365,7 @@ var WebhookEndpointRef = import_effect27.Schema.Struct({
|
|
|
4363
4365
|
});
|
|
4364
4366
|
var WebhookDeliveryRef = import_effect27.Schema.Struct({
|
|
4365
4367
|
...WebhookEndpointRef.fields,
|
|
4366
|
-
deliveryId:
|
|
4368
|
+
deliveryId: WebhookDeliveryId2
|
|
4367
4369
|
});
|
|
4368
4370
|
var CreateWebhookEndpoint = import_effect27.Schema.Struct({
|
|
4369
4371
|
name: WebhookEndpointName,
|
|
@@ -4412,7 +4414,7 @@ var WebhookEndpointList = import_effect27.Schema.Struct({
|
|
|
4412
4414
|
}).annotate({ identifier: "WebhookEndpointList" });
|
|
4413
4415
|
var WebhookDeleted = import_effect27.Schema.Struct({ deleted: import_effect27.Schema.Literal(true) });
|
|
4414
4416
|
var WebhookTestAccepted = import_effect27.Schema.Struct({
|
|
4415
|
-
deliveryId:
|
|
4417
|
+
deliveryId: WebhookDeliveryId2
|
|
4416
4418
|
});
|
|
4417
4419
|
var WebhookDeliveryState = import_effect27.Schema.Literals([
|
|
4418
4420
|
"pending",
|
|
@@ -4432,7 +4434,7 @@ var WebhookDeliveryError = import_effect27.Schema.Literals([
|
|
|
4432
4434
|
"attempts_exhausted"
|
|
4433
4435
|
]);
|
|
4434
4436
|
var WebhookDelivery = import_effect27.Schema.Struct({
|
|
4435
|
-
id:
|
|
4437
|
+
id: WebhookDeliveryId2,
|
|
4436
4438
|
workspaceId: WorkspaceId,
|
|
4437
4439
|
endpointId: WebhookEndpointId,
|
|
4438
4440
|
eventId: EventId,
|
|
@@ -5647,7 +5649,7 @@ var import_http = require("effect/http");
|
|
|
5647
5649
|
// package.json
|
|
5648
5650
|
var package_default = {
|
|
5649
5651
|
name: "@pubnio/sdk",
|
|
5650
|
-
version: "0.
|
|
5652
|
+
version: "0.1.2",
|
|
5651
5653
|
description: "JavaScript and TypeScript client for the PubNio API",
|
|
5652
5654
|
type: "module",
|
|
5653
5655
|
exports: {
|
package/dist/index.js
CHANGED
|
@@ -24,6 +24,8 @@ var InboxMentionId = Schema.brand("InboxMentionId")(uuid);
|
|
|
24
24
|
var InboxReviewId = Schema.brand("InboxReviewId")(uuid);
|
|
25
25
|
var InboxAttachmentId = Schema.brand("InboxAttachmentId")(uuid);
|
|
26
26
|
var InboxActionId = Schema.brand("InboxActionId")(uuid);
|
|
27
|
+
var InboundEventId = Schema.brand("InboundEventId")(uuid);
|
|
28
|
+
var WebhookDeliveryId = Schema.brand("WebhookDeliveryId")(uuid);
|
|
27
29
|
var AdCampaignId = Schema.brand("AdCampaignId")(uuid);
|
|
28
30
|
var AdGroupId = Schema.brand("AdGroupId")(uuid);
|
|
29
31
|
var AdCreativeId = Schema.brand("AdCreativeId")(uuid);
|
|
@@ -3766,7 +3768,7 @@ var WorkspaceEventEnvelope = Schema26.Struct({
|
|
|
3766
3768
|
}).annotate({ identifier: "WorkspaceEventEnvelope" });
|
|
3767
3769
|
|
|
3768
3770
|
// ../protocol/src/webhooks.ts
|
|
3769
|
-
var
|
|
3771
|
+
var WebhookDeliveryId2 = Schema27.String.check(Schema27.isUUID());
|
|
3770
3772
|
var EventId = Schema27.String.check(Schema27.isUUID());
|
|
3771
3773
|
var WebhookSubscriptionType = WorkspaceEventType;
|
|
3772
3774
|
var WebhookEventType = Schema27.Literals([
|
|
@@ -4308,7 +4310,7 @@ var WebhookEndpointRef = Schema27.Struct({
|
|
|
4308
4310
|
});
|
|
4309
4311
|
var WebhookDeliveryRef = Schema27.Struct({
|
|
4310
4312
|
...WebhookEndpointRef.fields,
|
|
4311
|
-
deliveryId:
|
|
4313
|
+
deliveryId: WebhookDeliveryId2
|
|
4312
4314
|
});
|
|
4313
4315
|
var CreateWebhookEndpoint = Schema27.Struct({
|
|
4314
4316
|
name: WebhookEndpointName,
|
|
@@ -4357,7 +4359,7 @@ var WebhookEndpointList = Schema27.Struct({
|
|
|
4357
4359
|
}).annotate({ identifier: "WebhookEndpointList" });
|
|
4358
4360
|
var WebhookDeleted = Schema27.Struct({ deleted: Schema27.Literal(true) });
|
|
4359
4361
|
var WebhookTestAccepted = Schema27.Struct({
|
|
4360
|
-
deliveryId:
|
|
4362
|
+
deliveryId: WebhookDeliveryId2
|
|
4361
4363
|
});
|
|
4362
4364
|
var WebhookDeliveryState = Schema27.Literals([
|
|
4363
4365
|
"pending",
|
|
@@ -4377,7 +4379,7 @@ var WebhookDeliveryError = Schema27.Literals([
|
|
|
4377
4379
|
"attempts_exhausted"
|
|
4378
4380
|
]);
|
|
4379
4381
|
var WebhookDelivery = Schema27.Struct({
|
|
4380
|
-
id:
|
|
4382
|
+
id: WebhookDeliveryId2,
|
|
4381
4383
|
workspaceId: WorkspaceId,
|
|
4382
4384
|
endpointId: WebhookEndpointId,
|
|
4383
4385
|
eventId: EventId,
|
|
@@ -5592,7 +5594,7 @@ import { ProblemDetails } from "effect/http";
|
|
|
5592
5594
|
// package.json
|
|
5593
5595
|
var package_default = {
|
|
5594
5596
|
name: "@pubnio/sdk",
|
|
5595
|
-
version: "0.
|
|
5597
|
+
version: "0.1.2",
|
|
5596
5598
|
description: "JavaScript and TypeScript client for the PubNio API",
|
|
5597
5599
|
type: "module",
|
|
5598
5600
|
exports: {
|
package/dist/solid.cjs
CHANGED
|
@@ -220,6 +220,8 @@ var InboxMentionId = import_effect.Schema.brand("InboxMentionId")(uuid);
|
|
|
220
220
|
var InboxReviewId = import_effect.Schema.brand("InboxReviewId")(uuid);
|
|
221
221
|
var InboxAttachmentId = import_effect.Schema.brand("InboxAttachmentId")(uuid);
|
|
222
222
|
var InboxActionId = import_effect.Schema.brand("InboxActionId")(uuid);
|
|
223
|
+
var InboundEventId = import_effect.Schema.brand("InboundEventId")(uuid);
|
|
224
|
+
var WebhookDeliveryId = import_effect.Schema.brand("WebhookDeliveryId")(uuid);
|
|
223
225
|
var AdCampaignId = import_effect.Schema.brand("AdCampaignId")(uuid);
|
|
224
226
|
var AdGroupId = import_effect.Schema.brand("AdGroupId")(uuid);
|
|
225
227
|
var AdCreativeId = import_effect.Schema.brand("AdCreativeId")(uuid);
|
|
@@ -3962,7 +3964,7 @@ var WorkspaceEventEnvelope = import_effect26.Schema.Struct({
|
|
|
3962
3964
|
}).annotate({ identifier: "WorkspaceEventEnvelope" });
|
|
3963
3965
|
|
|
3964
3966
|
// ../protocol/src/webhooks.ts
|
|
3965
|
-
var
|
|
3967
|
+
var WebhookDeliveryId2 = import_effect27.Schema.String.check(import_effect27.Schema.isUUID());
|
|
3966
3968
|
var EventId = import_effect27.Schema.String.check(import_effect27.Schema.isUUID());
|
|
3967
3969
|
var WebhookSubscriptionType = WorkspaceEventType;
|
|
3968
3970
|
var WebhookEventType = import_effect27.Schema.Literals([
|
|
@@ -4504,7 +4506,7 @@ var WebhookEndpointRef = import_effect27.Schema.Struct({
|
|
|
4504
4506
|
});
|
|
4505
4507
|
var WebhookDeliveryRef = import_effect27.Schema.Struct({
|
|
4506
4508
|
...WebhookEndpointRef.fields,
|
|
4507
|
-
deliveryId:
|
|
4509
|
+
deliveryId: WebhookDeliveryId2
|
|
4508
4510
|
});
|
|
4509
4511
|
var CreateWebhookEndpoint = import_effect27.Schema.Struct({
|
|
4510
4512
|
name: WebhookEndpointName,
|
|
@@ -4553,7 +4555,7 @@ var WebhookEndpointList = import_effect27.Schema.Struct({
|
|
|
4553
4555
|
}).annotate({ identifier: "WebhookEndpointList" });
|
|
4554
4556
|
var WebhookDeleted = import_effect27.Schema.Struct({ deleted: import_effect27.Schema.Literal(true) });
|
|
4555
4557
|
var WebhookTestAccepted = import_effect27.Schema.Struct({
|
|
4556
|
-
deliveryId:
|
|
4558
|
+
deliveryId: WebhookDeliveryId2
|
|
4557
4559
|
});
|
|
4558
4560
|
var WebhookDeliveryState = import_effect27.Schema.Literals([
|
|
4559
4561
|
"pending",
|
|
@@ -4573,7 +4575,7 @@ var WebhookDeliveryError = import_effect27.Schema.Literals([
|
|
|
4573
4575
|
"attempts_exhausted"
|
|
4574
4576
|
]);
|
|
4575
4577
|
var WebhookDelivery = import_effect27.Schema.Struct({
|
|
4576
|
-
id:
|
|
4578
|
+
id: WebhookDeliveryId2,
|
|
4577
4579
|
workspaceId: WorkspaceId,
|
|
4578
4580
|
endpointId: WebhookEndpointId,
|
|
4579
4581
|
eventId: EventId,
|
|
@@ -5788,7 +5790,7 @@ var import_http = require("effect/http");
|
|
|
5788
5790
|
// package.json
|
|
5789
5791
|
var package_default = {
|
|
5790
5792
|
name: "@pubnio/sdk",
|
|
5791
|
-
version: "0.
|
|
5793
|
+
version: "0.1.2",
|
|
5792
5794
|
description: "JavaScript and TypeScript client for the PubNio API",
|
|
5793
5795
|
type: "module",
|
|
5794
5796
|
exports: {
|
package/dist/solid.js
CHANGED
|
@@ -31,6 +31,8 @@ var InboxMentionId = Schema.brand("InboxMentionId")(uuid);
|
|
|
31
31
|
var InboxReviewId = Schema.brand("InboxReviewId")(uuid);
|
|
32
32
|
var InboxAttachmentId = Schema.brand("InboxAttachmentId")(uuid);
|
|
33
33
|
var InboxActionId = Schema.brand("InboxActionId")(uuid);
|
|
34
|
+
var InboundEventId = Schema.brand("InboundEventId")(uuid);
|
|
35
|
+
var WebhookDeliveryId = Schema.brand("WebhookDeliveryId")(uuid);
|
|
34
36
|
var AdCampaignId = Schema.brand("AdCampaignId")(uuid);
|
|
35
37
|
var AdGroupId = Schema.brand("AdGroupId")(uuid);
|
|
36
38
|
var AdCreativeId = Schema.brand("AdCreativeId")(uuid);
|
|
@@ -3773,7 +3775,7 @@ var WorkspaceEventEnvelope = Schema26.Struct({
|
|
|
3773
3775
|
}).annotate({ identifier: "WorkspaceEventEnvelope" });
|
|
3774
3776
|
|
|
3775
3777
|
// ../protocol/src/webhooks.ts
|
|
3776
|
-
var
|
|
3778
|
+
var WebhookDeliveryId2 = Schema27.String.check(Schema27.isUUID());
|
|
3777
3779
|
var EventId = Schema27.String.check(Schema27.isUUID());
|
|
3778
3780
|
var WebhookSubscriptionType = WorkspaceEventType;
|
|
3779
3781
|
var WebhookEventType = Schema27.Literals([
|
|
@@ -4315,7 +4317,7 @@ var WebhookEndpointRef = Schema27.Struct({
|
|
|
4315
4317
|
});
|
|
4316
4318
|
var WebhookDeliveryRef = Schema27.Struct({
|
|
4317
4319
|
...WebhookEndpointRef.fields,
|
|
4318
|
-
deliveryId:
|
|
4320
|
+
deliveryId: WebhookDeliveryId2
|
|
4319
4321
|
});
|
|
4320
4322
|
var CreateWebhookEndpoint = Schema27.Struct({
|
|
4321
4323
|
name: WebhookEndpointName,
|
|
@@ -4364,7 +4366,7 @@ var WebhookEndpointList = Schema27.Struct({
|
|
|
4364
4366
|
}).annotate({ identifier: "WebhookEndpointList" });
|
|
4365
4367
|
var WebhookDeleted = Schema27.Struct({ deleted: Schema27.Literal(true) });
|
|
4366
4368
|
var WebhookTestAccepted = Schema27.Struct({
|
|
4367
|
-
deliveryId:
|
|
4369
|
+
deliveryId: WebhookDeliveryId2
|
|
4368
4370
|
});
|
|
4369
4371
|
var WebhookDeliveryState = Schema27.Literals([
|
|
4370
4372
|
"pending",
|
|
@@ -4384,7 +4386,7 @@ var WebhookDeliveryError = Schema27.Literals([
|
|
|
4384
4386
|
"attempts_exhausted"
|
|
4385
4387
|
]);
|
|
4386
4388
|
var WebhookDelivery = Schema27.Struct({
|
|
4387
|
-
id:
|
|
4389
|
+
id: WebhookDeliveryId2,
|
|
4388
4390
|
workspaceId: WorkspaceId,
|
|
4389
4391
|
endpointId: WebhookEndpointId,
|
|
4390
4392
|
eventId: EventId,
|
|
@@ -5599,7 +5601,7 @@ import { ProblemDetails } from "effect/http";
|
|
|
5599
5601
|
// package.json
|
|
5600
5602
|
var package_default = {
|
|
5601
5603
|
name: "@pubnio/sdk",
|
|
5602
|
-
version: "0.
|
|
5604
|
+
version: "0.1.2",
|
|
5603
5605
|
description: "JavaScript and TypeScript client for the PubNio API",
|
|
5604
5606
|
type: "module",
|
|
5605
5607
|
exports: {
|