shoal-web-sdk 1.0.93 → 1.0.95

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.
@@ -44,7 +44,7 @@ export type PlanResponse = {
44
44
  githubOrganizationIntegration?: BooleanPlanFeatureResponse;
45
45
  };
46
46
  pricing?: PricesResponse;
47
- allowances: AllowancesResponse;
47
+ categories?: CategoriesResponse;
48
48
  trial?: PlanTrialResponse;
49
49
  readonly isSelfServe: boolean;
50
50
  readonly isActive: boolean;
@@ -58,17 +58,20 @@ export type PlanPriceResponse = {
58
58
  readonly currency: string;
59
59
  readonly amount: number;
60
60
  };
61
- export type AllowancesResponse = {
62
- default: AllowanceResponse;
61
+ export type CategoriesResponse = {
62
+ default: CategoryResponse;
63
63
  };
64
- export type AllowanceResponse = {
65
- readonly displayName: string;
66
- readonly displayDescription?: string;
64
+ export type CategoryAllowanceResponse = {
67
65
  readonly refreshAmount: number;
68
- refreshPeriod: AllowancePeriodResponse;
66
+ refreshPeriod: CategoryPeriodResponse;
69
67
  readonly isActive: boolean;
70
68
  readonly isCarryOver: boolean;
71
69
  };
70
+ export type CategoryResponse = {
71
+ readonly displayName: string;
72
+ readonly displayDescription?: string;
73
+ allowance: CategoryAllowanceResponse;
74
+ };
72
75
  export type PlanTrialResponse = {
73
76
  readonly lengthInDays: number;
74
77
  readonly startingBonusCents: number;
@@ -78,7 +81,7 @@ export type PlanFeatureResponse = {
78
81
  readonly displayDescription?: string;
79
82
  readonly displayName: string;
80
83
  };
81
- export type AllowancePeriodResponse = 'day' | 'week' | 'month' | 'year' | 'onetime';
84
+ export type CategoryPeriodResponse = 'day' | 'week' | 'month' | 'year' | 'onetime';
82
85
  export type BillingInterval = 'monthly' | 'annual';
83
86
  export type UpdatePlan = {
84
87
  plan: string;
@@ -112,6 +115,7 @@ export type InvoiceListResponse = {
112
115
  export type CustomerPlanResponse = {
113
116
  readonly key: string;
114
117
  readonly displayName: string;
118
+ readonly displayDescription?: string;
115
119
  readonly rank: number;
116
120
  interval?: BillingInterval;
117
121
  readonly currency?: string;
@@ -176,17 +180,20 @@ export type PlanResponseWritable = {
176
180
  maximumEnvironments?: IntegerPlanFeatureResponseWritable;
177
181
  githubOrganizationIntegration?: BooleanPlanFeatureResponseWritable;
178
182
  };
179
- allowances: AllowancesResponseWritable;
183
+ categories?: CategoriesResponseWritable;
180
184
  };
181
185
  export type PricesResponseWritable = {
182
186
  [key: string]: unknown;
183
187
  };
184
- export type AllowancesResponseWritable = {
185
- default: AllowanceResponseWritable;
188
+ export type CategoriesResponseWritable = {
189
+ default: CategoryResponseWritable;
186
190
  };
187
- export type AllowanceResponseWritable = {
191
+ export type CategoryAllowanceResponseWritable = {
188
192
  [key: string]: unknown;
189
193
  };
194
+ export type CategoryResponseWritable = {
195
+ allowance: CategoryAllowanceResponseWritable;
196
+ };
190
197
  export type CustomerPlanResponseWritable = {
191
198
  interval?: BillingInterval;
192
199
  };
@@ -103,16 +103,14 @@ export declare const zBooleanPlanFeatureResponse: z.ZodUnion<readonly [z.ZodInte
103
103
  disabled: "disabled";
104
104
  }>;
105
105
  }, z.core.$strip>>>]>;
106
- export declare const zAllowancePeriodResponse: z.ZodEnum<{
106
+ export declare const zCategoryPeriodResponse: z.ZodEnum<{
107
107
  day: "day";
108
108
  week: "week";
109
109
  month: "month";
110
110
  year: "year";
111
111
  onetime: "onetime";
112
112
  }>;
113
- export declare const zAllowanceResponse: z.ZodObject<{
114
- displayName: z.ZodReadonly<z.ZodString>;
115
- displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
113
+ export declare const zCategoryAllowanceResponse: z.ZodObject<{
116
114
  refreshAmount: z.ZodReadonly<z.ZodInt>;
117
115
  refreshPeriod: z.ZodEnum<{
118
116
  day: "day";
@@ -124,10 +122,10 @@ export declare const zAllowanceResponse: z.ZodObject<{
124
122
  isActive: z.ZodReadonly<z.ZodBoolean>;
125
123
  isCarryOver: z.ZodReadonly<z.ZodBoolean>;
126
124
  }, z.core.$strip>;
127
- export declare const zAllowancesResponse: z.ZodObject<{
128
- default: z.ZodObject<{
129
- displayName: z.ZodReadonly<z.ZodString>;
130
- displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
125
+ export declare const zCategoryResponse: z.ZodObject<{
126
+ displayName: z.ZodReadonly<z.ZodString>;
127
+ displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
128
+ allowance: z.ZodObject<{
131
129
  refreshAmount: z.ZodReadonly<z.ZodInt>;
132
130
  refreshPeriod: z.ZodEnum<{
133
131
  day: "day";
@@ -140,6 +138,24 @@ export declare const zAllowancesResponse: z.ZodObject<{
140
138
  isCarryOver: z.ZodReadonly<z.ZodBoolean>;
141
139
  }, z.core.$strip>;
142
140
  }, z.core.$strip>;
141
+ export declare const zCategoriesResponse: z.ZodObject<{
142
+ default: z.ZodObject<{
143
+ displayName: z.ZodReadonly<z.ZodString>;
144
+ displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
145
+ allowance: z.ZodObject<{
146
+ refreshAmount: z.ZodReadonly<z.ZodInt>;
147
+ refreshPeriod: z.ZodEnum<{
148
+ day: "day";
149
+ week: "week";
150
+ month: "month";
151
+ year: "year";
152
+ onetime: "onetime";
153
+ }>;
154
+ isActive: z.ZodReadonly<z.ZodBoolean>;
155
+ isCarryOver: z.ZodReadonly<z.ZodBoolean>;
156
+ }, z.core.$strip>;
157
+ }, z.core.$strip>;
158
+ }, z.core.$strip>;
143
159
  export declare const zPlanResponse: z.ZodObject<{
144
160
  key: z.ZodReadonly<z.ZodString>;
145
161
  rank: z.ZodReadonly<z.ZodInt>;
@@ -236,22 +252,24 @@ export declare const zPlanResponse: z.ZodObject<{
236
252
  amount: z.ZodReadonly<z.ZodInt>;
237
253
  }, z.core.$strip>;
238
254
  }, z.core.$strip>>;
239
- allowances: z.ZodObject<{
255
+ categories: z.ZodOptional<z.ZodObject<{
240
256
  default: z.ZodObject<{
241
257
  displayName: z.ZodReadonly<z.ZodString>;
242
258
  displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
243
- refreshAmount: z.ZodReadonly<z.ZodInt>;
244
- refreshPeriod: z.ZodEnum<{
245
- day: "day";
246
- week: "week";
247
- month: "month";
248
- year: "year";
249
- onetime: "onetime";
250
- }>;
251
- isActive: z.ZodReadonly<z.ZodBoolean>;
252
- isCarryOver: z.ZodReadonly<z.ZodBoolean>;
259
+ allowance: z.ZodObject<{
260
+ refreshAmount: z.ZodReadonly<z.ZodInt>;
261
+ refreshPeriod: z.ZodEnum<{
262
+ day: "day";
263
+ week: "week";
264
+ month: "month";
265
+ year: "year";
266
+ onetime: "onetime";
267
+ }>;
268
+ isActive: z.ZodReadonly<z.ZodBoolean>;
269
+ isCarryOver: z.ZodReadonly<z.ZodBoolean>;
270
+ }, z.core.$strip>;
253
271
  }, z.core.$strip>;
254
- }, z.core.$strip>;
272
+ }, z.core.$strip>>;
255
273
  trial: z.ZodOptional<z.ZodObject<{
256
274
  lengthInDays: z.ZodReadonly<z.ZodInt>;
257
275
  startingBonusCents: z.ZodReadonly<z.ZodInt>;
@@ -358,22 +376,24 @@ export declare const zCatalogResponse: z.ZodObject<{
358
376
  amount: z.ZodReadonly<z.ZodInt>;
359
377
  }, z.core.$strip>;
360
378
  }, z.core.$strip>>;
361
- allowances: z.ZodObject<{
379
+ categories: z.ZodOptional<z.ZodObject<{
362
380
  default: z.ZodObject<{
363
381
  displayName: z.ZodReadonly<z.ZodString>;
364
382
  displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
365
- refreshAmount: z.ZodReadonly<z.ZodInt>;
366
- refreshPeriod: z.ZodEnum<{
367
- day: "day";
368
- week: "week";
369
- month: "month";
370
- year: "year";
371
- onetime: "onetime";
372
- }>;
373
- isActive: z.ZodReadonly<z.ZodBoolean>;
374
- isCarryOver: z.ZodReadonly<z.ZodBoolean>;
383
+ allowance: z.ZodObject<{
384
+ refreshAmount: z.ZodReadonly<z.ZodInt>;
385
+ refreshPeriod: z.ZodEnum<{
386
+ day: "day";
387
+ week: "week";
388
+ month: "month";
389
+ year: "year";
390
+ onetime: "onetime";
391
+ }>;
392
+ isActive: z.ZodReadonly<z.ZodBoolean>;
393
+ isCarryOver: z.ZodReadonly<z.ZodBoolean>;
394
+ }, z.core.$strip>;
375
395
  }, z.core.$strip>;
376
- }, z.core.$strip>;
396
+ }, z.core.$strip>>;
377
397
  trial: z.ZodOptional<z.ZodObject<{
378
398
  lengthInDays: z.ZodReadonly<z.ZodInt>;
379
399
  startingBonusCents: z.ZodReadonly<z.ZodInt>;
@@ -439,6 +459,7 @@ export declare const zInvoiceListResponse: z.ZodObject<{
439
459
  export declare const zCustomerPlanResponse: z.ZodObject<{
440
460
  key: z.ZodReadonly<z.ZodString>;
441
461
  displayName: z.ZodReadonly<z.ZodString>;
462
+ displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
442
463
  rank: z.ZodReadonly<z.ZodInt>;
443
464
  interval: z.ZodOptional<z.ZodEnum<{
444
465
  monthly: "monthly";
@@ -563,6 +584,7 @@ export declare const zCustomerResponse: z.ZodObject<{
563
584
  currentPlan: z.ZodObject<{
564
585
  key: z.ZodReadonly<z.ZodString>;
565
586
  displayName: z.ZodReadonly<z.ZodString>;
587
+ displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
566
588
  rank: z.ZodReadonly<z.ZodInt>;
567
589
  interval: z.ZodOptional<z.ZodEnum<{
568
590
  monthly: "monthly";
@@ -655,6 +677,7 @@ export declare const zCustomerResponse: z.ZodObject<{
655
677
  pendingPlan: z.ZodOptional<z.ZodObject<{
656
678
  key: z.ZodReadonly<z.ZodString>;
657
679
  displayName: z.ZodReadonly<z.ZodString>;
680
+ displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
658
681
  rank: z.ZodReadonly<z.ZodInt>;
659
682
  interval: z.ZodOptional<z.ZodEnum<{
660
683
  monthly: "monthly";
@@ -807,9 +830,14 @@ export declare const zBooleanPlanFeatureResponseWritable: z.ZodUnion<readonly [z
807
830
  }>;
808
831
  }, z.core.$strip>>]>;
809
832
  export declare const zPricesResponseWritable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
810
- export declare const zAllowanceResponseWritable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
811
- export declare const zAllowancesResponseWritable: z.ZodObject<{
812
- default: z.ZodRecord<z.ZodString, z.ZodUnknown>;
833
+ export declare const zCategoryAllowanceResponseWritable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
834
+ export declare const zCategoryResponseWritable: z.ZodObject<{
835
+ allowance: z.ZodRecord<z.ZodString, z.ZodUnknown>;
836
+ }, z.core.$strip>;
837
+ export declare const zCategoriesResponseWritable: z.ZodObject<{
838
+ default: z.ZodObject<{
839
+ allowance: z.ZodRecord<z.ZodString, z.ZodUnknown>;
840
+ }, z.core.$strip>;
813
841
  }, z.core.$strip>;
814
842
  export declare const zPlanResponseWritable: z.ZodObject<{
815
843
  features: z.ZodObject<{
@@ -869,9 +897,11 @@ export declare const zPlanResponseWritable: z.ZodObject<{
869
897
  }>;
870
898
  }, z.core.$strip>>]>>;
871
899
  }, z.core.$strip>;
872
- allowances: z.ZodObject<{
873
- default: z.ZodRecord<z.ZodString, z.ZodUnknown>;
874
- }, z.core.$strip>;
900
+ categories: z.ZodOptional<z.ZodObject<{
901
+ default: z.ZodObject<{
902
+ allowance: z.ZodRecord<z.ZodString, z.ZodUnknown>;
903
+ }, z.core.$strip>;
904
+ }, z.core.$strip>>;
875
905
  }, z.core.$strip>;
876
906
  export declare const zCustomerPlanResponseWritable: z.ZodObject<{
877
907
  interval: z.ZodOptional<z.ZodEnum<{
@@ -933,6 +963,7 @@ export declare const zGetCustomerResponse: z.ZodObject<{
933
963
  currentPlan: z.ZodObject<{
934
964
  key: z.ZodReadonly<z.ZodString>;
935
965
  displayName: z.ZodReadonly<z.ZodString>;
966
+ displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
936
967
  rank: z.ZodReadonly<z.ZodInt>;
937
968
  interval: z.ZodOptional<z.ZodEnum<{
938
969
  monthly: "monthly";
@@ -1025,6 +1056,7 @@ export declare const zGetCustomerResponse: z.ZodObject<{
1025
1056
  pendingPlan: z.ZodOptional<z.ZodObject<{
1026
1057
  key: z.ZodReadonly<z.ZodString>;
1027
1058
  displayName: z.ZodReadonly<z.ZodString>;
1059
+ displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
1028
1060
  rank: z.ZodReadonly<z.ZodInt>;
1029
1061
  interval: z.ZodOptional<z.ZodEnum<{
1030
1062
  monthly: "monthly";
@@ -1232,22 +1264,24 @@ export declare const zGetPlansResponse: z.ZodObject<{
1232
1264
  amount: z.ZodReadonly<z.ZodInt>;
1233
1265
  }, z.core.$strip>;
1234
1266
  }, z.core.$strip>>;
1235
- allowances: z.ZodObject<{
1267
+ categories: z.ZodOptional<z.ZodObject<{
1236
1268
  default: z.ZodObject<{
1237
1269
  displayName: z.ZodReadonly<z.ZodString>;
1238
1270
  displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
1239
- refreshAmount: z.ZodReadonly<z.ZodInt>;
1240
- refreshPeriod: z.ZodEnum<{
1241
- day: "day";
1242
- week: "week";
1243
- month: "month";
1244
- year: "year";
1245
- onetime: "onetime";
1246
- }>;
1247
- isActive: z.ZodReadonly<z.ZodBoolean>;
1248
- isCarryOver: z.ZodReadonly<z.ZodBoolean>;
1271
+ allowance: z.ZodObject<{
1272
+ refreshAmount: z.ZodReadonly<z.ZodInt>;
1273
+ refreshPeriod: z.ZodEnum<{
1274
+ day: "day";
1275
+ week: "week";
1276
+ month: "month";
1277
+ year: "year";
1278
+ onetime: "onetime";
1279
+ }>;
1280
+ isActive: z.ZodReadonly<z.ZodBoolean>;
1281
+ isCarryOver: z.ZodReadonly<z.ZodBoolean>;
1282
+ }, z.core.$strip>;
1249
1283
  }, z.core.$strip>;
1250
- }, z.core.$strip>;
1284
+ }, z.core.$strip>>;
1251
1285
  trial: z.ZodOptional<z.ZodObject<{
1252
1286
  lengthInDays: z.ZodReadonly<z.ZodInt>;
1253
1287
  startingBonusCents: z.ZodReadonly<z.ZodInt>;
@@ -1364,6 +1398,7 @@ export declare const zM2mGetCustomerResponse: z.ZodObject<{
1364
1398
  currentPlan: z.ZodObject<{
1365
1399
  key: z.ZodReadonly<z.ZodString>;
1366
1400
  displayName: z.ZodReadonly<z.ZodString>;
1401
+ displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
1367
1402
  rank: z.ZodReadonly<z.ZodInt>;
1368
1403
  interval: z.ZodOptional<z.ZodEnum<{
1369
1404
  monthly: "monthly";
@@ -1456,6 +1491,7 @@ export declare const zM2mGetCustomerResponse: z.ZodObject<{
1456
1491
  pendingPlan: z.ZodOptional<z.ZodObject<{
1457
1492
  key: z.ZodReadonly<z.ZodString>;
1458
1493
  displayName: z.ZodReadonly<z.ZodString>;
1494
+ displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
1459
1495
  rank: z.ZodReadonly<z.ZodInt>;
1460
1496
  interval: z.ZodOptional<z.ZodEnum<{
1461
1497
  monthly: "monthly";
@@ -59,23 +59,26 @@ export const zBooleanPlanFeatureResponse = z.union([
59
59
  type: z.literal('disabled')
60
60
  }).and(zDisabledBooleanPlanFeatureResponse)
61
61
  ]);
62
- export const zAllowancePeriodResponse = z.enum([
62
+ export const zCategoryPeriodResponse = z.enum([
63
63
  'day',
64
64
  'week',
65
65
  'month',
66
66
  'year',
67
67
  'onetime'
68
68
  ]);
69
- export const zAllowanceResponse = z.object({
70
- displayName: z.string().readonly(),
71
- displayDescription: z.optional(z.string().readonly()),
69
+ export const zCategoryAllowanceResponse = z.object({
72
70
  refreshAmount: z.int().readonly(),
73
- refreshPeriod: zAllowancePeriodResponse,
71
+ refreshPeriod: zCategoryPeriodResponse,
74
72
  isActive: z.boolean().readonly(),
75
73
  isCarryOver: z.boolean().readonly()
76
74
  });
77
- export const zAllowancesResponse = z.object({
78
- default: zAllowanceResponse
75
+ export const zCategoryResponse = z.object({
76
+ displayName: z.string().readonly(),
77
+ displayDescription: z.optional(z.string().readonly()),
78
+ allowance: zCategoryAllowanceResponse
79
+ });
80
+ export const zCategoriesResponse = z.object({
81
+ default: zCategoryResponse
79
82
  });
80
83
  export const zPlanResponse = z.object({
81
84
  key: z.string().readonly(),
@@ -89,7 +92,7 @@ export const zPlanResponse = z.object({
89
92
  githubOrganizationIntegration: z.optional(zBooleanPlanFeatureResponse)
90
93
  }),
91
94
  pricing: z.optional(zPricesResponse),
92
- allowances: zAllowancesResponse,
95
+ categories: z.optional(zCategoriesResponse),
93
96
  trial: z.optional(zPlanTrialResponse),
94
97
  isSelfServe: z.boolean().readonly(),
95
98
  isActive: z.boolean().readonly(),
@@ -134,6 +137,7 @@ export const zInvoiceListResponse = z.object({
134
137
  export const zCustomerPlanResponse = z.object({
135
138
  key: z.string().readonly(),
136
139
  displayName: z.string().readonly(),
140
+ displayDescription: z.optional(z.string().readonly()),
137
141
  rank: z.int().readonly(),
138
142
  interval: z.optional(zBillingInterval),
139
143
  currency: z.optional(z.string().readonly()),
@@ -210,9 +214,12 @@ export const zBooleanPlanFeatureResponseWritable = z.union([
210
214
  }).and(zDisabledBooleanPlanFeatureResponseWritable)
211
215
  ]);
212
216
  export const zPricesResponseWritable = z.record(z.string(), z.unknown());
213
- export const zAllowanceResponseWritable = z.record(z.string(), z.unknown());
214
- export const zAllowancesResponseWritable = z.object({
215
- default: zAllowanceResponseWritable
217
+ export const zCategoryAllowanceResponseWritable = z.record(z.string(), z.unknown());
218
+ export const zCategoryResponseWritable = z.object({
219
+ allowance: zCategoryAllowanceResponseWritable
220
+ });
221
+ export const zCategoriesResponseWritable = z.object({
222
+ default: zCategoryResponseWritable
216
223
  });
217
224
  export const zPlanResponseWritable = z.object({
218
225
  features: z.object({
@@ -221,7 +228,7 @@ export const zPlanResponseWritable = z.object({
221
228
  maximumEnvironments: z.optional(zIntegerPlanFeatureResponseWritable),
222
229
  githubOrganizationIntegration: z.optional(zBooleanPlanFeatureResponseWritable)
223
230
  }),
224
- allowances: zAllowancesResponseWritable
231
+ categories: z.optional(zCategoriesResponseWritable)
225
232
  });
226
233
  export const zCustomerPlanResponseWritable = z.object({
227
234
  interval: z.optional(zBillingInterval)
@@ -658,6 +658,8 @@ export type Node = {
658
658
  } & NeonDbNodeProps) | ({
659
659
  typ: 'mongodb';
660
660
  } & MongoDbNodeProps) | ({
661
+ typ: 'cloudsql';
662
+ } & CloudSqlNodeProps) | ({
661
663
  typ: 'queue';
662
664
  } & QueueNodeProps) | ({
663
665
  typ: 'proxy';
@@ -668,7 +670,7 @@ export type Node = {
668
670
  } & SchedulerNodeProps);
669
671
  };
670
672
  export type EdgeType = 'network' | 'route' | 'output';
671
- export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'neondb' | 'mongodb' | 'queue' | 'proxy' | 'vm' | 'scheduler';
673
+ export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'neondb' | 'mongodb' | 'cloudsql' | 'queue' | 'proxy' | 'vm' | 'scheduler';
672
674
  export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
673
675
  export type CommentNodeProps = {
674
676
  comment?: string;
@@ -707,6 +709,8 @@ export type ContainerNodeProps = {
707
709
  };
708
710
  export type DesiredStatus = 'TERMINATED' | 'SUSPENDED' | 'RUNNING';
709
711
  export type DiskType = 'pd-standard' | 'pd-balanced' | 'pd-ssd' | 'pd-extreme' | 'hyperdisk-balanced' | 'hyperdisk-extreme' | 'hyperdisk-throughput';
712
+ export type CloudSqlTier = 'db-custom-1-3840' | 'db-custom-2-7680' | 'db-custom-4-15360' | 'db-custom-8-30720';
713
+ export type CloudSqlDbVersion = 'POSTGRES_15' | 'POSTGRES_16' | 'POSTGRES_17';
710
714
  export type MachineType = 'e2-micro' | 'e2-small' | 'e2-medium' | 'e2-standard-2' | 'e2-standard-4' | 'e2-standard-8';
711
715
  export type ImageVersion = 'debian-cloud/debian-12' | 'debian-cloud/debian-11' | 'ubuntu-os-cloud/ubuntu-2404-lts' | 'ubuntu-os-cloud/ubuntu-2204-lts' | 'cos-cloud/cos-stable' | 'cos-cloud/cos-beta' | 'cos-cloud/cos-arm64-stable' | 'cos-cloud/cos-arm64-beta';
712
716
  export type Region = 'europe-west2';
@@ -775,6 +779,22 @@ export type MongoDbNodeProps = {
775
779
  */
776
780
  connectionString?: string;
777
781
  };
782
+ export type CloudSqlNodeProps = {
783
+ /**
784
+ * Cloud SQL instance name, assigned when the instance is provisioned.
785
+ */
786
+ instanceName?: string;
787
+ region?: Region;
788
+ tier?: CloudSqlTier;
789
+ dbVersion?: CloudSqlDbVersion;
790
+ dbName?: string;
791
+ storageSizeGb?: number;
792
+ /**
793
+ * CIDR ranges allowed to connect to the instance. Use 0.0.0.0/0 to allow any address.
794
+ */
795
+ allowedIps?: Array<string>;
796
+ connectionUri?: string;
797
+ };
778
798
  export type NodePingResponse = {
779
799
  /**
780
800
  * Whether the underlying provider resource is reachable and in a healthy state.
@@ -789,6 +789,7 @@ export declare const zNodeType: z.ZodEnum<{
789
789
  database: "database";
790
790
  neondb: "neondb";
791
791
  mongodb: "mongodb";
792
+ cloudsql: "cloudsql";
792
793
  queue: "queue";
793
794
  proxy: "proxy";
794
795
  vm: "vm";
@@ -839,6 +840,17 @@ export declare const zDiskType: z.ZodEnum<{
839
840
  "hyperdisk-extreme": "hyperdisk-extreme";
840
841
  "hyperdisk-throughput": "hyperdisk-throughput";
841
842
  }>;
843
+ export declare const zCloudSqlTier: z.ZodEnum<{
844
+ "db-custom-1-3840": "db-custom-1-3840";
845
+ "db-custom-2-7680": "db-custom-2-7680";
846
+ "db-custom-4-15360": "db-custom-4-15360";
847
+ "db-custom-8-30720": "db-custom-8-30720";
848
+ }>;
849
+ export declare const zCloudSqlDbVersion: z.ZodEnum<{
850
+ POSTGRES_15: "POSTGRES_15";
851
+ POSTGRES_16: "POSTGRES_16";
852
+ POSTGRES_17: "POSTGRES_17";
853
+ }>;
842
854
  export declare const zMachineType: z.ZodEnum<{
843
855
  "e2-micro": "e2-micro";
844
856
  "e2-small": "e2-small";
@@ -944,6 +956,27 @@ export declare const zMongoDbNodeProps: z.ZodObject<{
944
956
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
945
957
  connectionString: z.ZodOptional<z.ZodString>;
946
958
  }, z.core.$strip>;
959
+ export declare const zCloudSqlNodeProps: z.ZodObject<{
960
+ instanceName: z.ZodOptional<z.ZodString>;
961
+ region: z.ZodOptional<z.ZodEnum<{
962
+ "europe-west2": "europe-west2";
963
+ }>>;
964
+ tier: z.ZodOptional<z.ZodEnum<{
965
+ "db-custom-1-3840": "db-custom-1-3840";
966
+ "db-custom-2-7680": "db-custom-2-7680";
967
+ "db-custom-4-15360": "db-custom-4-15360";
968
+ "db-custom-8-30720": "db-custom-8-30720";
969
+ }>>;
970
+ dbVersion: z.ZodOptional<z.ZodEnum<{
971
+ POSTGRES_15: "POSTGRES_15";
972
+ POSTGRES_16: "POSTGRES_16";
973
+ POSTGRES_17: "POSTGRES_17";
974
+ }>>;
975
+ dbName: z.ZodOptional<z.ZodString>;
976
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
977
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
978
+ connectionUri: z.ZodOptional<z.ZodString>;
979
+ }, z.core.$strip>;
947
980
  export declare const zNodePingResponse: z.ZodObject<{
948
981
  healthy: z.ZodBoolean;
949
982
  status: z.ZodOptional<z.ZodString>;
@@ -1120,6 +1153,7 @@ export declare const zNode: z.ZodObject<{
1120
1153
  database: "database";
1121
1154
  neondb: "neondb";
1122
1155
  mongodb: "mongodb";
1156
+ cloudsql: "cloudsql";
1123
1157
  queue: "queue";
1124
1158
  proxy: "proxy";
1125
1159
  vm: "vm";
@@ -1234,6 +1268,28 @@ export declare const zNode: z.ZodObject<{
1234
1268
  clusterType: z.ZodOptional<z.ZodString>;
1235
1269
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
1236
1270
  connectionString: z.ZodOptional<z.ZodString>;
1271
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1272
+ typ: z.ZodLiteral<"cloudsql">;
1273
+ }, z.core.$strip>, z.ZodObject<{
1274
+ instanceName: z.ZodOptional<z.ZodString>;
1275
+ region: z.ZodOptional<z.ZodEnum<{
1276
+ "europe-west2": "europe-west2";
1277
+ }>>;
1278
+ tier: z.ZodOptional<z.ZodEnum<{
1279
+ "db-custom-1-3840": "db-custom-1-3840";
1280
+ "db-custom-2-7680": "db-custom-2-7680";
1281
+ "db-custom-4-15360": "db-custom-4-15360";
1282
+ "db-custom-8-30720": "db-custom-8-30720";
1283
+ }>>;
1284
+ dbVersion: z.ZodOptional<z.ZodEnum<{
1285
+ POSTGRES_15: "POSTGRES_15";
1286
+ POSTGRES_16: "POSTGRES_16";
1287
+ POSTGRES_17: "POSTGRES_17";
1288
+ }>>;
1289
+ dbName: z.ZodOptional<z.ZodString>;
1290
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
1291
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1292
+ connectionUri: z.ZodOptional<z.ZodString>;
1237
1293
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1238
1294
  typ: z.ZodLiteral<"queue">;
1239
1295
  }, z.core.$strip>, z.ZodObject<{
@@ -1365,6 +1421,7 @@ export declare const zNodes: z.ZodObject<{
1365
1421
  database: "database";
1366
1422
  neondb: "neondb";
1367
1423
  mongodb: "mongodb";
1424
+ cloudsql: "cloudsql";
1368
1425
  queue: "queue";
1369
1426
  proxy: "proxy";
1370
1427
  vm: "vm";
@@ -1479,6 +1536,28 @@ export declare const zNodes: z.ZodObject<{
1479
1536
  clusterType: z.ZodOptional<z.ZodString>;
1480
1537
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
1481
1538
  connectionString: z.ZodOptional<z.ZodString>;
1539
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1540
+ typ: z.ZodLiteral<"cloudsql">;
1541
+ }, z.core.$strip>, z.ZodObject<{
1542
+ instanceName: z.ZodOptional<z.ZodString>;
1543
+ region: z.ZodOptional<z.ZodEnum<{
1544
+ "europe-west2": "europe-west2";
1545
+ }>>;
1546
+ tier: z.ZodOptional<z.ZodEnum<{
1547
+ "db-custom-1-3840": "db-custom-1-3840";
1548
+ "db-custom-2-7680": "db-custom-2-7680";
1549
+ "db-custom-4-15360": "db-custom-4-15360";
1550
+ "db-custom-8-30720": "db-custom-8-30720";
1551
+ }>>;
1552
+ dbVersion: z.ZodOptional<z.ZodEnum<{
1553
+ POSTGRES_15: "POSTGRES_15";
1554
+ POSTGRES_16: "POSTGRES_16";
1555
+ POSTGRES_17: "POSTGRES_17";
1556
+ }>>;
1557
+ dbName: z.ZodOptional<z.ZodString>;
1558
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
1559
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1560
+ connectionUri: z.ZodOptional<z.ZodString>;
1482
1561
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1483
1562
  typ: z.ZodLiteral<"queue">;
1484
1563
  }, z.core.$strip>, z.ZodObject<{
@@ -1613,6 +1692,7 @@ export declare const zGraph: z.ZodObject<{
1613
1692
  database: "database";
1614
1693
  neondb: "neondb";
1615
1694
  mongodb: "mongodb";
1695
+ cloudsql: "cloudsql";
1616
1696
  queue: "queue";
1617
1697
  proxy: "proxy";
1618
1698
  vm: "vm";
@@ -1727,6 +1807,28 @@ export declare const zGraph: z.ZodObject<{
1727
1807
  clusterType: z.ZodOptional<z.ZodString>;
1728
1808
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
1729
1809
  connectionString: z.ZodOptional<z.ZodString>;
1810
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1811
+ typ: z.ZodLiteral<"cloudsql">;
1812
+ }, z.core.$strip>, z.ZodObject<{
1813
+ instanceName: z.ZodOptional<z.ZodString>;
1814
+ region: z.ZodOptional<z.ZodEnum<{
1815
+ "europe-west2": "europe-west2";
1816
+ }>>;
1817
+ tier: z.ZodOptional<z.ZodEnum<{
1818
+ "db-custom-1-3840": "db-custom-1-3840";
1819
+ "db-custom-2-7680": "db-custom-2-7680";
1820
+ "db-custom-4-15360": "db-custom-4-15360";
1821
+ "db-custom-8-30720": "db-custom-8-30720";
1822
+ }>>;
1823
+ dbVersion: z.ZodOptional<z.ZodEnum<{
1824
+ POSTGRES_15: "POSTGRES_15";
1825
+ POSTGRES_16: "POSTGRES_16";
1826
+ POSTGRES_17: "POSTGRES_17";
1827
+ }>>;
1828
+ dbName: z.ZodOptional<z.ZodString>;
1829
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
1830
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1831
+ connectionUri: z.ZodOptional<z.ZodString>;
1730
1832
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1731
1833
  typ: z.ZodLiteral<"queue">;
1732
1834
  }, z.core.$strip>, z.ZodObject<{
@@ -1866,6 +1968,7 @@ export declare const zBlueprintDetail: z.ZodObject<{
1866
1968
  database: "database";
1867
1969
  neondb: "neondb";
1868
1970
  mongodb: "mongodb";
1971
+ cloudsql: "cloudsql";
1869
1972
  queue: "queue";
1870
1973
  proxy: "proxy";
1871
1974
  vm: "vm";
@@ -1980,6 +2083,28 @@ export declare const zBlueprintDetail: z.ZodObject<{
1980
2083
  clusterType: z.ZodOptional<z.ZodString>;
1981
2084
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
1982
2085
  connectionString: z.ZodOptional<z.ZodString>;
2086
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2087
+ typ: z.ZodLiteral<"cloudsql">;
2088
+ }, z.core.$strip>, z.ZodObject<{
2089
+ instanceName: z.ZodOptional<z.ZodString>;
2090
+ region: z.ZodOptional<z.ZodEnum<{
2091
+ "europe-west2": "europe-west2";
2092
+ }>>;
2093
+ tier: z.ZodOptional<z.ZodEnum<{
2094
+ "db-custom-1-3840": "db-custom-1-3840";
2095
+ "db-custom-2-7680": "db-custom-2-7680";
2096
+ "db-custom-4-15360": "db-custom-4-15360";
2097
+ "db-custom-8-30720": "db-custom-8-30720";
2098
+ }>>;
2099
+ dbVersion: z.ZodOptional<z.ZodEnum<{
2100
+ POSTGRES_15: "POSTGRES_15";
2101
+ POSTGRES_16: "POSTGRES_16";
2102
+ POSTGRES_17: "POSTGRES_17";
2103
+ }>>;
2104
+ dbName: z.ZodOptional<z.ZodString>;
2105
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
2106
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
2107
+ connectionUri: z.ZodOptional<z.ZodString>;
1983
2108
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1984
2109
  typ: z.ZodLiteral<"queue">;
1985
2110
  }, z.core.$strip>, z.ZodObject<{
@@ -2788,6 +2913,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
2788
2913
  database: "database";
2789
2914
  neondb: "neondb";
2790
2915
  mongodb: "mongodb";
2916
+ cloudsql: "cloudsql";
2791
2917
  queue: "queue";
2792
2918
  proxy: "proxy";
2793
2919
  vm: "vm";
@@ -2902,6 +3028,28 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
2902
3028
  clusterType: z.ZodOptional<z.ZodString>;
2903
3029
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
2904
3030
  connectionString: z.ZodOptional<z.ZodString>;
3031
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3032
+ typ: z.ZodLiteral<"cloudsql">;
3033
+ }, z.core.$strip>, z.ZodObject<{
3034
+ instanceName: z.ZodOptional<z.ZodString>;
3035
+ region: z.ZodOptional<z.ZodEnum<{
3036
+ "europe-west2": "europe-west2";
3037
+ }>>;
3038
+ tier: z.ZodOptional<z.ZodEnum<{
3039
+ "db-custom-1-3840": "db-custom-1-3840";
3040
+ "db-custom-2-7680": "db-custom-2-7680";
3041
+ "db-custom-4-15360": "db-custom-4-15360";
3042
+ "db-custom-8-30720": "db-custom-8-30720";
3043
+ }>>;
3044
+ dbVersion: z.ZodOptional<z.ZodEnum<{
3045
+ POSTGRES_15: "POSTGRES_15";
3046
+ POSTGRES_16: "POSTGRES_16";
3047
+ POSTGRES_17: "POSTGRES_17";
3048
+ }>>;
3049
+ dbName: z.ZodOptional<z.ZodString>;
3050
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
3051
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
3052
+ connectionUri: z.ZodOptional<z.ZodString>;
2905
3053
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2906
3054
  typ: z.ZodLiteral<"queue">;
2907
3055
  }, z.core.$strip>, z.ZodObject<{
@@ -3035,6 +3183,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
3035
3183
  database: "database";
3036
3184
  neondb: "neondb";
3037
3185
  mongodb: "mongodb";
3186
+ cloudsql: "cloudsql";
3038
3187
  queue: "queue";
3039
3188
  proxy: "proxy";
3040
3189
  vm: "vm";
@@ -3149,6 +3298,28 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
3149
3298
  clusterType: z.ZodOptional<z.ZodString>;
3150
3299
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
3151
3300
  connectionString: z.ZodOptional<z.ZodString>;
3301
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3302
+ typ: z.ZodLiteral<"cloudsql">;
3303
+ }, z.core.$strip>, z.ZodObject<{
3304
+ instanceName: z.ZodOptional<z.ZodString>;
3305
+ region: z.ZodOptional<z.ZodEnum<{
3306
+ "europe-west2": "europe-west2";
3307
+ }>>;
3308
+ tier: z.ZodOptional<z.ZodEnum<{
3309
+ "db-custom-1-3840": "db-custom-1-3840";
3310
+ "db-custom-2-7680": "db-custom-2-7680";
3311
+ "db-custom-4-15360": "db-custom-4-15360";
3312
+ "db-custom-8-30720": "db-custom-8-30720";
3313
+ }>>;
3314
+ dbVersion: z.ZodOptional<z.ZodEnum<{
3315
+ POSTGRES_15: "POSTGRES_15";
3316
+ POSTGRES_16: "POSTGRES_16";
3317
+ POSTGRES_17: "POSTGRES_17";
3318
+ }>>;
3319
+ dbName: z.ZodOptional<z.ZodString>;
3320
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
3321
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
3322
+ connectionUri: z.ZodOptional<z.ZodString>;
3152
3323
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3153
3324
  typ: z.ZodLiteral<"queue">;
3154
3325
  }, z.core.$strip>, z.ZodObject<{
@@ -3299,6 +3470,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
3299
3470
  database: "database";
3300
3471
  neondb: "neondb";
3301
3472
  mongodb: "mongodb";
3473
+ cloudsql: "cloudsql";
3302
3474
  queue: "queue";
3303
3475
  proxy: "proxy";
3304
3476
  vm: "vm";
@@ -3413,6 +3585,28 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
3413
3585
  clusterType: z.ZodOptional<z.ZodString>;
3414
3586
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
3415
3587
  connectionString: z.ZodOptional<z.ZodString>;
3588
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3589
+ typ: z.ZodLiteral<"cloudsql">;
3590
+ }, z.core.$strip>, z.ZodObject<{
3591
+ instanceName: z.ZodOptional<z.ZodString>;
3592
+ region: z.ZodOptional<z.ZodEnum<{
3593
+ "europe-west2": "europe-west2";
3594
+ }>>;
3595
+ tier: z.ZodOptional<z.ZodEnum<{
3596
+ "db-custom-1-3840": "db-custom-1-3840";
3597
+ "db-custom-2-7680": "db-custom-2-7680";
3598
+ "db-custom-4-15360": "db-custom-4-15360";
3599
+ "db-custom-8-30720": "db-custom-8-30720";
3600
+ }>>;
3601
+ dbVersion: z.ZodOptional<z.ZodEnum<{
3602
+ POSTGRES_15: "POSTGRES_15";
3603
+ POSTGRES_16: "POSTGRES_16";
3604
+ POSTGRES_17: "POSTGRES_17";
3605
+ }>>;
3606
+ dbName: z.ZodOptional<z.ZodString>;
3607
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
3608
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
3609
+ connectionUri: z.ZodOptional<z.ZodString>;
3416
3610
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3417
3611
  typ: z.ZodLiteral<"queue">;
3418
3612
  }, z.core.$strip>, z.ZodObject<{
@@ -3544,6 +3738,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
3544
3738
  database: "database";
3545
3739
  neondb: "neondb";
3546
3740
  mongodb: "mongodb";
3741
+ cloudsql: "cloudsql";
3547
3742
  queue: "queue";
3548
3743
  proxy: "proxy";
3549
3744
  vm: "vm";
@@ -3658,6 +3853,28 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
3658
3853
  clusterType: z.ZodOptional<z.ZodString>;
3659
3854
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
3660
3855
  connectionString: z.ZodOptional<z.ZodString>;
3856
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3857
+ typ: z.ZodLiteral<"cloudsql">;
3858
+ }, z.core.$strip>, z.ZodObject<{
3859
+ instanceName: z.ZodOptional<z.ZodString>;
3860
+ region: z.ZodOptional<z.ZodEnum<{
3861
+ "europe-west2": "europe-west2";
3862
+ }>>;
3863
+ tier: z.ZodOptional<z.ZodEnum<{
3864
+ "db-custom-1-3840": "db-custom-1-3840";
3865
+ "db-custom-2-7680": "db-custom-2-7680";
3866
+ "db-custom-4-15360": "db-custom-4-15360";
3867
+ "db-custom-8-30720": "db-custom-8-30720";
3868
+ }>>;
3869
+ dbVersion: z.ZodOptional<z.ZodEnum<{
3870
+ POSTGRES_15: "POSTGRES_15";
3871
+ POSTGRES_16: "POSTGRES_16";
3872
+ POSTGRES_17: "POSTGRES_17";
3873
+ }>>;
3874
+ dbName: z.ZodOptional<z.ZodString>;
3875
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
3876
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
3877
+ connectionUri: z.ZodOptional<z.ZodString>;
3661
3878
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3662
3879
  typ: z.ZodLiteral<"queue">;
3663
3880
  }, z.core.$strip>, z.ZodObject<{
@@ -3858,6 +4075,7 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
3858
4075
  database: "database";
3859
4076
  neondb: "neondb";
3860
4077
  mongodb: "mongodb";
4078
+ cloudsql: "cloudsql";
3861
4079
  queue: "queue";
3862
4080
  proxy: "proxy";
3863
4081
  vm: "vm";
@@ -3972,6 +4190,28 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
3972
4190
  clusterType: z.ZodOptional<z.ZodString>;
3973
4191
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
3974
4192
  connectionString: z.ZodOptional<z.ZodString>;
4193
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4194
+ typ: z.ZodLiteral<"cloudsql">;
4195
+ }, z.core.$strip>, z.ZodObject<{
4196
+ instanceName: z.ZodOptional<z.ZodString>;
4197
+ region: z.ZodOptional<z.ZodEnum<{
4198
+ "europe-west2": "europe-west2";
4199
+ }>>;
4200
+ tier: z.ZodOptional<z.ZodEnum<{
4201
+ "db-custom-1-3840": "db-custom-1-3840";
4202
+ "db-custom-2-7680": "db-custom-2-7680";
4203
+ "db-custom-4-15360": "db-custom-4-15360";
4204
+ "db-custom-8-30720": "db-custom-8-30720";
4205
+ }>>;
4206
+ dbVersion: z.ZodOptional<z.ZodEnum<{
4207
+ POSTGRES_15: "POSTGRES_15";
4208
+ POSTGRES_16: "POSTGRES_16";
4209
+ POSTGRES_17: "POSTGRES_17";
4210
+ }>>;
4211
+ dbName: z.ZodOptional<z.ZodString>;
4212
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
4213
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
4214
+ connectionUri: z.ZodOptional<z.ZodString>;
3975
4215
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3976
4216
  typ: z.ZodLiteral<"queue">;
3977
4217
  }, z.core.$strip>, z.ZodObject<{
@@ -4766,6 +5006,7 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
4766
5006
  database: "database";
4767
5007
  neondb: "neondb";
4768
5008
  mongodb: "mongodb";
5009
+ cloudsql: "cloudsql";
4769
5010
  queue: "queue";
4770
5011
  proxy: "proxy";
4771
5012
  vm: "vm";
@@ -4880,6 +5121,28 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
4880
5121
  clusterType: z.ZodOptional<z.ZodString>;
4881
5122
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
4882
5123
  connectionString: z.ZodOptional<z.ZodString>;
5124
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5125
+ typ: z.ZodLiteral<"cloudsql">;
5126
+ }, z.core.$strip>, z.ZodObject<{
5127
+ instanceName: z.ZodOptional<z.ZodString>;
5128
+ region: z.ZodOptional<z.ZodEnum<{
5129
+ "europe-west2": "europe-west2";
5130
+ }>>;
5131
+ tier: z.ZodOptional<z.ZodEnum<{
5132
+ "db-custom-1-3840": "db-custom-1-3840";
5133
+ "db-custom-2-7680": "db-custom-2-7680";
5134
+ "db-custom-4-15360": "db-custom-4-15360";
5135
+ "db-custom-8-30720": "db-custom-8-30720";
5136
+ }>>;
5137
+ dbVersion: z.ZodOptional<z.ZodEnum<{
5138
+ POSTGRES_15: "POSTGRES_15";
5139
+ POSTGRES_16: "POSTGRES_16";
5140
+ POSTGRES_17: "POSTGRES_17";
5141
+ }>>;
5142
+ dbName: z.ZodOptional<z.ZodString>;
5143
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
5144
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
5145
+ connectionUri: z.ZodOptional<z.ZodString>;
4883
5146
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4884
5147
  typ: z.ZodLiteral<"queue">;
4885
5148
  }, z.core.$strip>, z.ZodObject<{
@@ -5917,6 +6180,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
5917
6180
  database: "database";
5918
6181
  neondb: "neondb";
5919
6182
  mongodb: "mongodb";
6183
+ cloudsql: "cloudsql";
5920
6184
  queue: "queue";
5921
6185
  proxy: "proxy";
5922
6186
  vm: "vm";
@@ -6031,6 +6295,28 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
6031
6295
  clusterType: z.ZodOptional<z.ZodString>;
6032
6296
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
6033
6297
  connectionString: z.ZodOptional<z.ZodString>;
6298
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
6299
+ typ: z.ZodLiteral<"cloudsql">;
6300
+ }, z.core.$strip>, z.ZodObject<{
6301
+ instanceName: z.ZodOptional<z.ZodString>;
6302
+ region: z.ZodOptional<z.ZodEnum<{
6303
+ "europe-west2": "europe-west2";
6304
+ }>>;
6305
+ tier: z.ZodOptional<z.ZodEnum<{
6306
+ "db-custom-1-3840": "db-custom-1-3840";
6307
+ "db-custom-2-7680": "db-custom-2-7680";
6308
+ "db-custom-4-15360": "db-custom-4-15360";
6309
+ "db-custom-8-30720": "db-custom-8-30720";
6310
+ }>>;
6311
+ dbVersion: z.ZodOptional<z.ZodEnum<{
6312
+ POSTGRES_15: "POSTGRES_15";
6313
+ POSTGRES_16: "POSTGRES_16";
6314
+ POSTGRES_17: "POSTGRES_17";
6315
+ }>>;
6316
+ dbName: z.ZodOptional<z.ZodString>;
6317
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
6318
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
6319
+ connectionUri: z.ZodOptional<z.ZodString>;
6034
6320
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
6035
6321
  typ: z.ZodLiteral<"queue">;
6036
6322
  }, z.core.$strip>, z.ZodObject<{
@@ -6164,6 +6450,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
6164
6450
  database: "database";
6165
6451
  neondb: "neondb";
6166
6452
  mongodb: "mongodb";
6453
+ cloudsql: "cloudsql";
6167
6454
  queue: "queue";
6168
6455
  proxy: "proxy";
6169
6456
  vm: "vm";
@@ -6278,6 +6565,28 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
6278
6565
  clusterType: z.ZodOptional<z.ZodString>;
6279
6566
  backupEnabled: z.ZodOptional<z.ZodBoolean>;
6280
6567
  connectionString: z.ZodOptional<z.ZodString>;
6568
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
6569
+ typ: z.ZodLiteral<"cloudsql">;
6570
+ }, z.core.$strip>, z.ZodObject<{
6571
+ instanceName: z.ZodOptional<z.ZodString>;
6572
+ region: z.ZodOptional<z.ZodEnum<{
6573
+ "europe-west2": "europe-west2";
6574
+ }>>;
6575
+ tier: z.ZodOptional<z.ZodEnum<{
6576
+ "db-custom-1-3840": "db-custom-1-3840";
6577
+ "db-custom-2-7680": "db-custom-2-7680";
6578
+ "db-custom-4-15360": "db-custom-4-15360";
6579
+ "db-custom-8-30720": "db-custom-8-30720";
6580
+ }>>;
6581
+ dbVersion: z.ZodOptional<z.ZodEnum<{
6582
+ POSTGRES_15: "POSTGRES_15";
6583
+ POSTGRES_16: "POSTGRES_16";
6584
+ POSTGRES_17: "POSTGRES_17";
6585
+ }>>;
6586
+ dbName: z.ZodOptional<z.ZodString>;
6587
+ storageSizeGb: z.ZodOptional<z.ZodInt>;
6588
+ allowedIps: z.ZodOptional<z.ZodArray<z.ZodString>>;
6589
+ connectionUri: z.ZodOptional<z.ZodString>;
6281
6590
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
6282
6591
  typ: z.ZodLiteral<"queue">;
6283
6592
  }, z.core.$strip>, z.ZodObject<{
@@ -546,6 +546,7 @@ export const zNodeType = z.enum([
546
546
  'function',
547
547
  'neondb',
548
548
  'mongodb',
549
+ 'cloudsql',
549
550
  'queue',
550
551
  'proxy',
551
552
  'vm',
@@ -588,6 +589,17 @@ export const zDiskType = z.enum([
588
589
  'hyperdisk-extreme',
589
590
  'hyperdisk-throughput'
590
591
  ]);
592
+ export const zCloudSqlTier = z.enum([
593
+ 'db-custom-1-3840',
594
+ 'db-custom-2-7680',
595
+ 'db-custom-4-15360',
596
+ 'db-custom-8-30720'
597
+ ]);
598
+ export const zCloudSqlDbVersion = z.enum([
599
+ 'POSTGRES_15',
600
+ 'POSTGRES_16',
601
+ 'POSTGRES_17'
602
+ ]);
591
603
  export const zMachineType = z.enum([
592
604
  'e2-micro',
593
605
  'e2-small',
@@ -680,6 +692,16 @@ export const zMongoDbNodeProps = z.object({
680
692
  backupEnabled: z.optional(z.boolean()),
681
693
  connectionString: z.optional(z.string())
682
694
  });
695
+ export const zCloudSqlNodeProps = z.object({
696
+ instanceName: z.optional(z.string()),
697
+ region: z.optional(zRegion),
698
+ tier: z.optional(zCloudSqlTier),
699
+ dbVersion: z.optional(zCloudSqlDbVersion),
700
+ dbName: z.optional(z.string()),
701
+ storageSizeGb: z.optional(z.int().gte(10)),
702
+ allowedIps: z.optional(z.array(z.string())),
703
+ connectionUri: z.optional(z.string())
704
+ });
683
705
  export const zNodePingResponse = z.object({
684
706
  healthy: z.boolean(),
685
707
  status: z.optional(z.string()),
@@ -788,6 +810,9 @@ export const zNode = z.object({
788
810
  z.object({
789
811
  typ: z.literal('mongodb')
790
812
  }).and(zMongoDbNodeProps),
813
+ z.object({
814
+ typ: z.literal('cloudsql')
815
+ }).and(zCloudSqlNodeProps),
791
816
  z.object({
792
817
  typ: z.literal('queue')
793
818
  }).and(zQueueNodeProps),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.93",
3
+ "version": "1.0.95",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",