shoal-web-sdk 1.0.76 → 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.
@@ -344,6 +344,10 @@ export type EnvironmentOverview = {
344
344
  * When this environment is due to be purged. Only present while softDelete is true.
345
345
  */
346
346
  scheduleDeleteAt?: string;
347
+ /**
348
+ * The environment this one was cloned from. Absent when the environment was not created by cloning or when the parent has since been deleted.
349
+ */
350
+ parent?: string;
347
351
  };
348
352
  export type AccountIdentity = {
349
353
  id: string;
@@ -769,6 +773,14 @@ export type QueueNodeProps = {
769
773
  * Minimum duration to retain unacknowledged messages on the topic, as a GCP duration string (e.g. "604800s"). Omitted/null uses the provider default.
770
774
  */
771
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;
772
784
  subscriptions: Array<QueueSubscriptionProps>;
773
785
  };
774
786
  export type QueueSubscriptionProps = {
@@ -789,6 +801,10 @@ export type QueueSubscriptionProps = {
789
801
  * Optional filter expression evaluated against message attributes.
790
802
  */
791
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;
792
808
  };
793
809
  export type ProxyNodeProps = {
794
810
  subdomain?: string;
@@ -385,6 +385,7 @@ export declare const zEnvironmentOverview: z.ZodObject<{
385
385
  blueprintId: z.ZodOptional<z.ZodUUID>;
386
386
  softDelete: z.ZodOptional<z.ZodBoolean>;
387
387
  scheduleDeleteAt: z.ZodOptional<z.ZodISODateTime>;
388
+ parent: z.ZodOptional<z.ZodUUID>;
388
389
  }, z.core.$strip>;
389
390
  export declare const zPaginatedEnvironments: z.ZodIntersection<z.ZodObject<{
390
391
  page: z.ZodInt;
@@ -402,6 +403,7 @@ export declare const zPaginatedEnvironments: z.ZodIntersection<z.ZodObject<{
402
403
  blueprintId: z.ZodOptional<z.ZodUUID>;
403
404
  softDelete: z.ZodOptional<z.ZodBoolean>;
404
405
  scheduleDeleteAt: z.ZodOptional<z.ZodISODateTime>;
406
+ parent: z.ZodOptional<z.ZodUUID>;
405
407
  }, z.core.$strip>>;
406
408
  }, z.core.$strip>>;
407
409
  export declare const zAccountIdentity: z.ZodObject<{
@@ -941,9 +943,12 @@ export declare const zQueueSubscriptionProps: z.ZodObject<{
941
943
  enableMessageOrdering: z.ZodBoolean;
942
944
  enableExactlyOnceDelivery: z.ZodBoolean;
943
945
  messageFilter: z.ZodOptional<z.ZodString>;
946
+ subscriptionId: z.ZodOptional<z.ZodString>;
944
947
  }, z.core.$strip>;
945
948
  export declare const zQueueNodeProps: z.ZodObject<{
946
949
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
950
+ topicId: z.ZodOptional<z.ZodString>;
951
+ saEmail: z.ZodOptional<z.ZodString>;
947
952
  subscriptions: z.ZodArray<z.ZodObject<{
948
953
  name: z.ZodString;
949
954
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -953,6 +958,7 @@ export declare const zQueueNodeProps: z.ZodObject<{
953
958
  enableMessageOrdering: z.ZodBoolean;
954
959
  enableExactlyOnceDelivery: z.ZodBoolean;
955
960
  messageFilter: z.ZodOptional<z.ZodString>;
961
+ subscriptionId: z.ZodOptional<z.ZodString>;
956
962
  }, z.core.$strip>>;
957
963
  }, z.core.$strip>;
958
964
  export declare const zProxyNodeProps: z.ZodObject<{
@@ -1186,6 +1192,8 @@ export declare const zNode: z.ZodObject<{
1186
1192
  typ: z.ZodLiteral<"queue">;
1187
1193
  }, z.core.$strip>, z.ZodObject<{
1188
1194
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
1195
+ topicId: z.ZodOptional<z.ZodString>;
1196
+ saEmail: z.ZodOptional<z.ZodString>;
1189
1197
  subscriptions: z.ZodArray<z.ZodObject<{
1190
1198
  name: z.ZodString;
1191
1199
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -1195,6 +1203,7 @@ export declare const zNode: z.ZodObject<{
1195
1203
  enableMessageOrdering: z.ZodBoolean;
1196
1204
  enableExactlyOnceDelivery: z.ZodBoolean;
1197
1205
  messageFilter: z.ZodOptional<z.ZodString>;
1206
+ subscriptionId: z.ZodOptional<z.ZodString>;
1198
1207
  }, z.core.$strip>>;
1199
1208
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1200
1209
  typ: z.ZodLiteral<"proxy">;
@@ -1428,6 +1437,8 @@ export declare const zNodes: z.ZodObject<{
1428
1437
  typ: z.ZodLiteral<"queue">;
1429
1438
  }, z.core.$strip>, z.ZodObject<{
1430
1439
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
1440
+ topicId: z.ZodOptional<z.ZodString>;
1441
+ saEmail: z.ZodOptional<z.ZodString>;
1431
1442
  subscriptions: z.ZodArray<z.ZodObject<{
1432
1443
  name: z.ZodString;
1433
1444
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -1437,6 +1448,7 @@ export declare const zNodes: z.ZodObject<{
1437
1448
  enableMessageOrdering: z.ZodBoolean;
1438
1449
  enableExactlyOnceDelivery: z.ZodBoolean;
1439
1450
  messageFilter: z.ZodOptional<z.ZodString>;
1451
+ subscriptionId: z.ZodOptional<z.ZodString>;
1440
1452
  }, z.core.$strip>>;
1441
1453
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1442
1454
  typ: z.ZodLiteral<"proxy">;
@@ -1673,6 +1685,8 @@ export declare const zGraph: z.ZodObject<{
1673
1685
  typ: z.ZodLiteral<"queue">;
1674
1686
  }, z.core.$strip>, z.ZodObject<{
1675
1687
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
1688
+ topicId: z.ZodOptional<z.ZodString>;
1689
+ saEmail: z.ZodOptional<z.ZodString>;
1676
1690
  subscriptions: z.ZodArray<z.ZodObject<{
1677
1691
  name: z.ZodString;
1678
1692
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -1682,6 +1696,7 @@ export declare const zGraph: z.ZodObject<{
1682
1696
  enableMessageOrdering: z.ZodBoolean;
1683
1697
  enableExactlyOnceDelivery: z.ZodBoolean;
1684
1698
  messageFilter: z.ZodOptional<z.ZodString>;
1699
+ subscriptionId: z.ZodOptional<z.ZodString>;
1685
1700
  }, z.core.$strip>>;
1686
1701
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1687
1702
  typ: z.ZodLiteral<"proxy">;
@@ -1923,6 +1938,8 @@ export declare const zBlueprintDetail: z.ZodObject<{
1923
1938
  typ: z.ZodLiteral<"queue">;
1924
1939
  }, z.core.$strip>, z.ZodObject<{
1925
1940
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
1941
+ topicId: z.ZodOptional<z.ZodString>;
1942
+ saEmail: z.ZodOptional<z.ZodString>;
1926
1943
  subscriptions: z.ZodArray<z.ZodObject<{
1927
1944
  name: z.ZodString;
1928
1945
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -1932,6 +1949,7 @@ export declare const zBlueprintDetail: z.ZodObject<{
1932
1949
  enableMessageOrdering: z.ZodBoolean;
1933
1950
  enableExactlyOnceDelivery: z.ZodBoolean;
1934
1951
  messageFilter: z.ZodOptional<z.ZodString>;
1952
+ subscriptionId: z.ZodOptional<z.ZodString>;
1935
1953
  }, z.core.$strip>>;
1936
1954
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1937
1955
  typ: z.ZodLiteral<"proxy">;
@@ -2811,6 +2829,8 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
2811
2829
  typ: z.ZodLiteral<"queue">;
2812
2830
  }, z.core.$strip>, z.ZodObject<{
2813
2831
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
2832
+ topicId: z.ZodOptional<z.ZodString>;
2833
+ saEmail: z.ZodOptional<z.ZodString>;
2814
2834
  subscriptions: z.ZodArray<z.ZodObject<{
2815
2835
  name: z.ZodString;
2816
2836
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -2820,6 +2840,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
2820
2840
  enableMessageOrdering: z.ZodBoolean;
2821
2841
  enableExactlyOnceDelivery: z.ZodBoolean;
2822
2842
  messageFilter: z.ZodOptional<z.ZodString>;
2843
+ subscriptionId: z.ZodOptional<z.ZodString>;
2823
2844
  }, z.core.$strip>>;
2824
2845
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2825
2846
  typ: z.ZodLiteral<"proxy">;
@@ -3055,6 +3076,8 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
3055
3076
  typ: z.ZodLiteral<"queue">;
3056
3077
  }, z.core.$strip>, z.ZodObject<{
3057
3078
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
3079
+ topicId: z.ZodOptional<z.ZodString>;
3080
+ saEmail: z.ZodOptional<z.ZodString>;
3058
3081
  subscriptions: z.ZodArray<z.ZodObject<{
3059
3082
  name: z.ZodString;
3060
3083
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -3064,6 +3087,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
3064
3087
  enableMessageOrdering: z.ZodBoolean;
3065
3088
  enableExactlyOnceDelivery: z.ZodBoolean;
3066
3089
  messageFilter: z.ZodOptional<z.ZodString>;
3090
+ subscriptionId: z.ZodOptional<z.ZodString>;
3067
3091
  }, z.core.$strip>>;
3068
3092
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3069
3093
  typ: z.ZodLiteral<"proxy">;
@@ -3316,6 +3340,8 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
3316
3340
  typ: z.ZodLiteral<"queue">;
3317
3341
  }, z.core.$strip>, z.ZodObject<{
3318
3342
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
3343
+ topicId: z.ZodOptional<z.ZodString>;
3344
+ saEmail: z.ZodOptional<z.ZodString>;
3319
3345
  subscriptions: z.ZodArray<z.ZodObject<{
3320
3346
  name: z.ZodString;
3321
3347
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -3325,6 +3351,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
3325
3351
  enableMessageOrdering: z.ZodBoolean;
3326
3352
  enableExactlyOnceDelivery: z.ZodBoolean;
3327
3353
  messageFilter: z.ZodOptional<z.ZodString>;
3354
+ subscriptionId: z.ZodOptional<z.ZodString>;
3328
3355
  }, z.core.$strip>>;
3329
3356
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3330
3357
  typ: z.ZodLiteral<"proxy">;
@@ -3558,6 +3585,8 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
3558
3585
  typ: z.ZodLiteral<"queue">;
3559
3586
  }, z.core.$strip>, z.ZodObject<{
3560
3587
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
3588
+ topicId: z.ZodOptional<z.ZodString>;
3589
+ saEmail: z.ZodOptional<z.ZodString>;
3561
3590
  subscriptions: z.ZodArray<z.ZodObject<{
3562
3591
  name: z.ZodString;
3563
3592
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -3567,6 +3596,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
3567
3596
  enableMessageOrdering: z.ZodBoolean;
3568
3597
  enableExactlyOnceDelivery: z.ZodBoolean;
3569
3598
  messageFilter: z.ZodOptional<z.ZodString>;
3599
+ subscriptionId: z.ZodOptional<z.ZodString>;
3570
3600
  }, z.core.$strip>>;
3571
3601
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3572
3602
  typ: z.ZodLiteral<"proxy">;
@@ -3869,6 +3899,8 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
3869
3899
  typ: z.ZodLiteral<"queue">;
3870
3900
  }, z.core.$strip>, z.ZodObject<{
3871
3901
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
3902
+ topicId: z.ZodOptional<z.ZodString>;
3903
+ saEmail: z.ZodOptional<z.ZodString>;
3872
3904
  subscriptions: z.ZodArray<z.ZodObject<{
3873
3905
  name: z.ZodString;
3874
3906
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -3878,6 +3910,7 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
3878
3910
  enableMessageOrdering: z.ZodBoolean;
3879
3911
  enableExactlyOnceDelivery: z.ZodBoolean;
3880
3912
  messageFilter: z.ZodOptional<z.ZodString>;
3913
+ subscriptionId: z.ZodOptional<z.ZodString>;
3881
3914
  }, z.core.$strip>>;
3882
3915
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3883
3916
  typ: z.ZodLiteral<"proxy">;
@@ -4774,6 +4807,8 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
4774
4807
  typ: z.ZodLiteral<"queue">;
4775
4808
  }, z.core.$strip>, z.ZodObject<{
4776
4809
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
4810
+ topicId: z.ZodOptional<z.ZodString>;
4811
+ saEmail: z.ZodOptional<z.ZodString>;
4777
4812
  subscriptions: z.ZodArray<z.ZodObject<{
4778
4813
  name: z.ZodString;
4779
4814
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -4783,6 +4818,7 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
4783
4818
  enableMessageOrdering: z.ZodBoolean;
4784
4819
  enableExactlyOnceDelivery: z.ZodBoolean;
4785
4820
  messageFilter: z.ZodOptional<z.ZodString>;
4821
+ subscriptionId: z.ZodOptional<z.ZodString>;
4786
4822
  }, z.core.$strip>>;
4787
4823
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4788
4824
  typ: z.ZodLiteral<"proxy">;
@@ -5325,6 +5361,7 @@ export declare const zGetProjectEnvironmentsResponse: z.ZodIntersection<z.ZodObj
5325
5361
  blueprintId: z.ZodOptional<z.ZodUUID>;
5326
5362
  softDelete: z.ZodOptional<z.ZodBoolean>;
5327
5363
  scheduleDeleteAt: z.ZodOptional<z.ZodISODateTime>;
5364
+ parent: z.ZodOptional<z.ZodUUID>;
5328
5365
  }, z.core.$strip>>;
5329
5366
  }, z.core.$strip>>;
5330
5367
  export declare const zCreateEnvironmentData: z.ZodObject<{
@@ -5354,6 +5391,7 @@ export declare const zCreateEnvironmentResponse: z.ZodObject<{
5354
5391
  blueprintId: z.ZodOptional<z.ZodUUID>;
5355
5392
  softDelete: z.ZodOptional<z.ZodBoolean>;
5356
5393
  scheduleDeleteAt: z.ZodOptional<z.ZodISODateTime>;
5394
+ parent: z.ZodOptional<z.ZodUUID>;
5357
5395
  }, z.core.$strip>;
5358
5396
  export declare const zCreateSecretData: z.ZodObject<{
5359
5397
  body: z.ZodObject<{
@@ -5429,6 +5467,7 @@ export declare const zGetEnvironmentOverviewResponse: z.ZodObject<{
5429
5467
  blueprintId: z.ZodOptional<z.ZodUUID>;
5430
5468
  softDelete: z.ZodOptional<z.ZodBoolean>;
5431
5469
  scheduleDeleteAt: z.ZodOptional<z.ZodISODateTime>;
5470
+ parent: z.ZodOptional<z.ZodUUID>;
5432
5471
  }, z.core.$strip>;
5433
5472
  export declare const zGetEnvironmentVersionsData: z.ZodObject<{
5434
5473
  body: z.ZodOptional<z.ZodNever>;
@@ -5726,6 +5765,7 @@ export declare const zCloneEnvironmentResponse: z.ZodObject<{
5726
5765
  blueprintId: z.ZodOptional<z.ZodUUID>;
5727
5766
  softDelete: z.ZodOptional<z.ZodBoolean>;
5728
5767
  scheduleDeleteAt: z.ZodOptional<z.ZodISODateTime>;
5768
+ parent: z.ZodOptional<z.ZodUUID>;
5729
5769
  }, z.core.$strip>;
5730
5770
  export declare const zGetGraphOverviewData: z.ZodObject<{
5731
5771
  body: z.ZodOptional<z.ZodNever>;
@@ -5906,6 +5946,8 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
5906
5946
  typ: z.ZodLiteral<"queue">;
5907
5947
  }, z.core.$strip>, z.ZodObject<{
5908
5948
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
5949
+ topicId: z.ZodOptional<z.ZodString>;
5950
+ saEmail: z.ZodOptional<z.ZodString>;
5909
5951
  subscriptions: z.ZodArray<z.ZodObject<{
5910
5952
  name: z.ZodString;
5911
5953
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -5915,6 +5957,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
5915
5957
  enableMessageOrdering: z.ZodBoolean;
5916
5958
  enableExactlyOnceDelivery: z.ZodBoolean;
5917
5959
  messageFilter: z.ZodOptional<z.ZodString>;
5960
+ subscriptionId: z.ZodOptional<z.ZodString>;
5918
5961
  }, z.core.$strip>>;
5919
5962
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5920
5963
  typ: z.ZodLiteral<"proxy">;
@@ -6150,6 +6193,8 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
6150
6193
  typ: z.ZodLiteral<"queue">;
6151
6194
  }, z.core.$strip>, z.ZodObject<{
6152
6195
  messageRetentionDuration: z.ZodOptional<z.ZodString>;
6196
+ topicId: z.ZodOptional<z.ZodString>;
6197
+ saEmail: z.ZodOptional<z.ZodString>;
6153
6198
  subscriptions: z.ZodArray<z.ZodObject<{
6154
6199
  name: z.ZodString;
6155
6200
  pushEndpoint: z.ZodOptional<z.ZodString>;
@@ -6159,6 +6204,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
6159
6204
  enableMessageOrdering: z.ZodBoolean;
6160
6205
  enableExactlyOnceDelivery: z.ZodBoolean;
6161
6206
  messageFilter: z.ZodOptional<z.ZodString>;
6207
+ subscriptionId: z.ZodOptional<z.ZodString>;
6162
6208
  }, z.core.$strip>>;
6163
6209
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
6164
6210
  typ: z.ZodLiteral<"proxy">;
@@ -286,7 +286,8 @@ export const zEnvironmentOverview = z.object({
286
286
  versions: z.int(),
287
287
  blueprintId: z.optional(z.uuid()),
288
288
  softDelete: z.optional(z.boolean()),
289
- scheduleDeleteAt: z.optional(z.iso.datetime())
289
+ scheduleDeleteAt: z.optional(z.iso.datetime()),
290
+ parent: z.optional(z.uuid())
290
291
  });
291
292
  export const zPaginatedEnvironments = zPagination.and(z.object({
292
293
  environments: z.array(zEnvironmentOverview)
@@ -682,10 +683,13 @@ export const zQueueSubscriptionProps = z.object({
682
683
  retainAckedMessages: z.boolean(),
683
684
  enableMessageOrdering: z.boolean(),
684
685
  enableExactlyOnceDelivery: z.boolean(),
685
- messageFilter: z.optional(z.string())
686
+ messageFilter: z.optional(z.string()),
687
+ subscriptionId: z.optional(z.string())
686
688
  });
687
689
  export const zQueueNodeProps = z.object({
688
690
  messageRetentionDuration: z.optional(z.string()),
691
+ topicId: z.optional(z.string()),
692
+ saEmail: z.optional(z.string()),
689
693
  subscriptions: z.array(zQueueSubscriptionProps)
690
694
  });
691
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.76",
3
+ "version": "1.0.78",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",