shoal-web-sdk 1.0.77 → 1.0.78

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.
@@ -773,6 +773,14 @@ export type QueueNodeProps = {
773
773
  * Minimum duration to retain unacknowledged messages on the topic, as a GCP duration string (e.g. "604800s"). Omitted/null uses the provider default.
774
774
  */
775
775
  messageRetentionDuration?: string;
776
+ /**
777
+ * The provisioned GCP Pub/Sub topic id. Written back by the deployment job; null until the topic has been provisioned. Sending null leaves the stored value unchanged.
778
+ */
779
+ topicId?: string;
780
+ /**
781
+ * Email of the service account used to authenticate with GCP Pub/Sub. Written back by the deployment job; null until provisioned. Sending null leaves the stored value unchanged.
782
+ */
783
+ saEmail?: string;
776
784
  subscriptions: Array<QueueSubscriptionProps>;
777
785
  };
778
786
  export type QueueSubscriptionProps = {
@@ -793,6 +801,10 @@ export type QueueSubscriptionProps = {
793
801
  * Optional filter expression evaluated against message attributes.
794
802
  */
795
803
  messageFilter?: string;
804
+ /**
805
+ * The provisioned GCP Pub/Sub subscription id. Written back by the deployment job; null until the subscription has been provisioned. Sending null leaves the stored value unchanged.
806
+ */
807
+ subscriptionId?: string;
796
808
  };
797
809
  export type ProxyNodeProps = {
798
810
  subdomain?: string;
@@ -943,9 +943,12 @@ export declare const zQueueSubscriptionProps: z.ZodObject<{
943
943
  enableMessageOrdering: z.ZodBoolean;
944
944
  enableExactlyOnceDelivery: z.ZodBoolean;
945
945
  messageFilter: z.ZodOptional<z.ZodString>;
946
+ subscriptionId: z.ZodOptional<z.ZodString>;
946
947
  }, z.core.$strip>;
947
948
  export declare const zQueueNodeProps: z.ZodObject<{
948
949
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
950
+ topicId: z.ZodOptional<z.ZodString>;
951
+ saEmail: z.ZodOptional<z.ZodString>;
949
952
  subscriptions: z.ZodArray<z.ZodObject<{
950
953
  name: z.ZodString;
951
954
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -955,6 +958,7 @@ export declare const zQueueNodeProps: z.ZodObject<{
955
958
  enableMessageOrdering: z.ZodBoolean;
956
959
  enableExactlyOnceDelivery: z.ZodBoolean;
957
960
  messageFilter: z.ZodOptional<z.ZodString>;
961
+ subscriptionId: z.ZodOptional<z.ZodString>;
958
962
  }, z.core.$strip>>;
959
963
  }, z.core.$strip>;
960
964
  export declare const zProxyNodeProps: z.ZodObject<{
@@ -1188,6 +1192,8 @@ export declare const zNode: z.ZodObject<{
1188
1192
  typ: z.ZodLiteral<"queue">;
1189
1193
  }, z.core.$strip>, z.ZodObject<{
1190
1194
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
1195
+ topicId: z.ZodOptional<z.ZodString>;
1196
+ saEmail: z.ZodOptional<z.ZodString>;
1191
1197
  subscriptions: z.ZodArray<z.ZodObject<{
1192
1198
  name: z.ZodString;
1193
1199
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -1197,6 +1203,7 @@ export declare const zNode: z.ZodObject<{
1197
1203
  enableMessageOrdering: z.ZodBoolean;
1198
1204
  enableExactlyOnceDelivery: z.ZodBoolean;
1199
1205
  messageFilter: z.ZodOptional<z.ZodString>;
1206
+ subscriptionId: z.ZodOptional<z.ZodString>;
1200
1207
  }, z.core.$strip>>;
1201
1208
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1202
1209
  typ: z.ZodLiteral<"proxy">;
@@ -1430,6 +1437,8 @@ export declare const zNodes: z.ZodObject<{
1430
1437
  typ: z.ZodLiteral<"queue">;
1431
1438
  }, z.core.$strip>, z.ZodObject<{
1432
1439
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
1440
+ topicId: z.ZodOptional<z.ZodString>;
1441
+ saEmail: z.ZodOptional<z.ZodString>;
1433
1442
  subscriptions: z.ZodArray<z.ZodObject<{
1434
1443
  name: z.ZodString;
1435
1444
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -1439,6 +1448,7 @@ export declare const zNodes: z.ZodObject<{
1439
1448
  enableMessageOrdering: z.ZodBoolean;
1440
1449
  enableExactlyOnceDelivery: z.ZodBoolean;
1441
1450
  messageFilter: z.ZodOptional<z.ZodString>;
1451
+ subscriptionId: z.ZodOptional<z.ZodString>;
1442
1452
  }, z.core.$strip>>;
1443
1453
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1444
1454
  typ: z.ZodLiteral<"proxy">;
@@ -1675,6 +1685,8 @@ export declare const zGraph: z.ZodObject<{
1675
1685
  typ: z.ZodLiteral<"queue">;
1676
1686
  }, z.core.$strip>, z.ZodObject<{
1677
1687
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
1688
+ topicId: z.ZodOptional<z.ZodString>;
1689
+ saEmail: z.ZodOptional<z.ZodString>;
1678
1690
  subscriptions: z.ZodArray<z.ZodObject<{
1679
1691
  name: z.ZodString;
1680
1692
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -1684,6 +1696,7 @@ export declare const zGraph: z.ZodObject<{
1684
1696
  enableMessageOrdering: z.ZodBoolean;
1685
1697
  enableExactlyOnceDelivery: z.ZodBoolean;
1686
1698
  messageFilter: z.ZodOptional<z.ZodString>;
1699
+ subscriptionId: z.ZodOptional<z.ZodString>;
1687
1700
  }, z.core.$strip>>;
1688
1701
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1689
1702
  typ: z.ZodLiteral<"proxy">;
@@ -1925,6 +1938,8 @@ export declare const zBlueprintDetail: z.ZodObject<{
1925
1938
  typ: z.ZodLiteral<"queue">;
1926
1939
  }, z.core.$strip>, z.ZodObject<{
1927
1940
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
1941
+ topicId: z.ZodOptional<z.ZodString>;
1942
+ saEmail: z.ZodOptional<z.ZodString>;
1928
1943
  subscriptions: z.ZodArray<z.ZodObject<{
1929
1944
  name: z.ZodString;
1930
1945
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -1934,6 +1949,7 @@ export declare const zBlueprintDetail: z.ZodObject<{
1934
1949
  enableMessageOrdering: z.ZodBoolean;
1935
1950
  enableExactlyOnceDelivery: z.ZodBoolean;
1936
1951
  messageFilter: z.ZodOptional<z.ZodString>;
1952
+ subscriptionId: z.ZodOptional<z.ZodString>;
1937
1953
  }, z.core.$strip>>;
1938
1954
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1939
1955
  typ: z.ZodLiteral<"proxy">;
@@ -2813,6 +2829,8 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
2813
2829
  typ: z.ZodLiteral<"queue">;
2814
2830
  }, z.core.$strip>, z.ZodObject<{
2815
2831
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
2832
+ topicId: z.ZodOptional<z.ZodString>;
2833
+ saEmail: z.ZodOptional<z.ZodString>;
2816
2834
  subscriptions: z.ZodArray<z.ZodObject<{
2817
2835
  name: z.ZodString;
2818
2836
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -2822,6 +2840,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
2822
2840
  enableMessageOrdering: z.ZodBoolean;
2823
2841
  enableExactlyOnceDelivery: z.ZodBoolean;
2824
2842
  messageFilter: z.ZodOptional<z.ZodString>;
2843
+ subscriptionId: z.ZodOptional<z.ZodString>;
2825
2844
  }, z.core.$strip>>;
2826
2845
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2827
2846
  typ: z.ZodLiteral<"proxy">;
@@ -3057,6 +3076,8 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
3057
3076
  typ: z.ZodLiteral<"queue">;
3058
3077
  }, z.core.$strip>, z.ZodObject<{
3059
3078
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
3079
+ topicId: z.ZodOptional<z.ZodString>;
3080
+ saEmail: z.ZodOptional<z.ZodString>;
3060
3081
  subscriptions: z.ZodArray<z.ZodObject<{
3061
3082
  name: z.ZodString;
3062
3083
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -3066,6 +3087,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
3066
3087
  enableMessageOrdering: z.ZodBoolean;
3067
3088
  enableExactlyOnceDelivery: z.ZodBoolean;
3068
3089
  messageFilter: z.ZodOptional<z.ZodString>;
3090
+ subscriptionId: z.ZodOptional<z.ZodString>;
3069
3091
  }, z.core.$strip>>;
3070
3092
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3071
3093
  typ: z.ZodLiteral<"proxy">;
@@ -3318,6 +3340,8 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
3318
3340
  typ: z.ZodLiteral<"queue">;
3319
3341
  }, z.core.$strip>, z.ZodObject<{
3320
3342
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
3343
+ topicId: z.ZodOptional<z.ZodString>;
3344
+ saEmail: z.ZodOptional<z.ZodString>;
3321
3345
  subscriptions: z.ZodArray<z.ZodObject<{
3322
3346
  name: z.ZodString;
3323
3347
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -3327,6 +3351,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
3327
3351
  enableMessageOrdering: z.ZodBoolean;
3328
3352
  enableExactlyOnceDelivery: z.ZodBoolean;
3329
3353
  messageFilter: z.ZodOptional<z.ZodString>;
3354
+ subscriptionId: z.ZodOptional<z.ZodString>;
3330
3355
  }, z.core.$strip>>;
3331
3356
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3332
3357
  typ: z.ZodLiteral<"proxy">;
@@ -3560,6 +3585,8 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
3560
3585
  typ: z.ZodLiteral<"queue">;
3561
3586
  }, z.core.$strip>, z.ZodObject<{
3562
3587
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
3588
+ topicId: z.ZodOptional<z.ZodString>;
3589
+ saEmail: z.ZodOptional<z.ZodString>;
3563
3590
  subscriptions: z.ZodArray<z.ZodObject<{
3564
3591
  name: z.ZodString;
3565
3592
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -3569,6 +3596,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
3569
3596
  enableMessageOrdering: z.ZodBoolean;
3570
3597
  enableExactlyOnceDelivery: z.ZodBoolean;
3571
3598
  messageFilter: z.ZodOptional<z.ZodString>;
3599
+ subscriptionId: z.ZodOptional<z.ZodString>;
3572
3600
  }, z.core.$strip>>;
3573
3601
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3574
3602
  typ: z.ZodLiteral<"proxy">;
@@ -3871,6 +3899,8 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
3871
3899
  typ: z.ZodLiteral<"queue">;
3872
3900
  }, z.core.$strip>, z.ZodObject<{
3873
3901
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
3902
+ topicId: z.ZodOptional<z.ZodString>;
3903
+ saEmail: z.ZodOptional<z.ZodString>;
3874
3904
  subscriptions: z.ZodArray<z.ZodObject<{
3875
3905
  name: z.ZodString;
3876
3906
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -3880,6 +3910,7 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
3880
3910
  enableMessageOrdering: z.ZodBoolean;
3881
3911
  enableExactlyOnceDelivery: z.ZodBoolean;
3882
3912
  messageFilter: z.ZodOptional<z.ZodString>;
3913
+ subscriptionId: z.ZodOptional<z.ZodString>;
3883
3914
  }, z.core.$strip>>;
3884
3915
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3885
3916
  typ: z.ZodLiteral<"proxy">;
@@ -4776,6 +4807,8 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
4776
4807
  typ: z.ZodLiteral<"queue">;
4777
4808
  }, z.core.$strip>, z.ZodObject<{
4778
4809
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
4810
+ topicId: z.ZodOptional<z.ZodString>;
4811
+ saEmail: z.ZodOptional<z.ZodString>;
4779
4812
  subscriptions: z.ZodArray<z.ZodObject<{
4780
4813
  name: z.ZodString;
4781
4814
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -4785,6 +4818,7 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
4785
4818
  enableMessageOrdering: z.ZodBoolean;
4786
4819
  enableExactlyOnceDelivery: z.ZodBoolean;
4787
4820
  messageFilter: z.ZodOptional<z.ZodString>;
4821
+ subscriptionId: z.ZodOptional<z.ZodString>;
4788
4822
  }, z.core.$strip>>;
4789
4823
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4790
4824
  typ: z.ZodLiteral<"proxy">;
@@ -5912,6 +5946,8 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
5912
5946
  typ: z.ZodLiteral<"queue">;
5913
5947
  }, z.core.$strip>, z.ZodObject<{
5914
5948
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
5949
+ topicId: z.ZodOptional<z.ZodString>;
5950
+ saEmail: z.ZodOptional<z.ZodString>;
5915
5951
  subscriptions: z.ZodArray<z.ZodObject<{
5916
5952
  name: z.ZodString;
5917
5953
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -5921,6 +5957,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
5921
5957
  enableMessageOrdering: z.ZodBoolean;
5922
5958
  enableExactlyOnceDelivery: z.ZodBoolean;
5923
5959
  messageFilter: z.ZodOptional<z.ZodString>;
5960
+ subscriptionId: z.ZodOptional<z.ZodString>;
5924
5961
  }, z.core.$strip>>;
5925
5962
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5926
5963
  typ: z.ZodLiteral<"proxy">;
@@ -6156,6 +6193,8 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
6156
6193
  typ: z.ZodLiteral<"queue">;
6157
6194
  }, z.core.$strip>, z.ZodObject<{
6158
6195
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
6196
+ topicId: z.ZodOptional<z.ZodString>;
6197
+ saEmail: z.ZodOptional<z.ZodString>;
6159
6198
  subscriptions: z.ZodArray<z.ZodObject<{
6160
6199
  name: z.ZodString;
6161
6200
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -6165,6 +6204,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
6165
6204
  enableMessageOrdering: z.ZodBoolean;
6166
6205
  enableExactlyOnceDelivery: z.ZodBoolean;
6167
6206
  messageFilter: z.ZodOptional<z.ZodString>;
6207
+ subscriptionId: z.ZodOptional<z.ZodString>;
6168
6208
  }, z.core.$strip>>;
6169
6209
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
6170
6210
  typ: z.ZodLiteral<"proxy">;
@@ -683,10 +683,13 @@ export const zQueueSubscriptionProps = z.object({
683
683
  retainAckedMessages: z.boolean(),
684
684
  enableMessageOrdering: z.boolean(),
685
685
  enableExactlyOnceDelivery: z.boolean(),
686
- messageFilter: z.optional(z.string())
686
+ messageFilter: z.optional(z.string()),
687
+ subscriptionId: z.optional(z.string())
687
688
  });
688
689
  export const zQueueNodeProps = z.object({
689
690
  messageRetentionDuration: z.optional(z.string()),
691
+ topicId: z.optional(z.string()),
692
+ saEmail: z.optional(z.string()),
690
693
  subscriptions: z.array(zQueueSubscriptionProps)
691
694
  });
692
695
  export const zProxyNodeProps = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",