@distilled.cloud/cloudflare 0.21.4 → 0.21.5

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.
@@ -831,7 +831,7 @@ export interface CreateBetaWorkerVersionRequest {
831
831
  } | {
832
832
  name: string;
833
833
  type: "durable_object_namespace";
834
- className?: string;
834
+ className: string;
835
835
  environment?: string;
836
836
  namespaceId?: string;
837
837
  scriptName?: string;
@@ -919,7 +919,7 @@ export interface CreateBetaWorkerVersionRequest {
919
919
  name: string;
920
920
  type: "workflow";
921
921
  workflowName: string;
922
- className?: string;
922
+ className: string;
923
923
  scriptName?: string;
924
924
  } | {
925
925
  name: string;
@@ -1966,7 +1966,7 @@ export interface PutScriptRequest {
1966
1966
  } | {
1967
1967
  name: string;
1968
1968
  type: "durable_object_namespace";
1969
- className?: string;
1969
+ className: string;
1970
1970
  environment?: string;
1971
1971
  namespaceId?: string;
1972
1972
  scriptName?: string;
@@ -2054,7 +2054,7 @@ export interface PutScriptRequest {
2054
2054
  name: string;
2055
2055
  type: "workflow";
2056
2056
  workflowName: string;
2057
- className?: string;
2057
+ className: string;
2058
2058
  scriptName?: string;
2059
2059
  } | {
2060
2060
  name: string;
@@ -2575,6 +2575,7 @@ export interface CreateScriptEdgePreviewRequest {
2575
2575
  type: "d1";
2576
2576
  name: string;
2577
2577
  id: string;
2578
+ internalEnv?: string;
2578
2579
  raw?: boolean;
2579
2580
  } | {
2580
2581
  type: "queue";
@@ -2588,6 +2589,7 @@ export interface CreateScriptEdgePreviewRequest {
2588
2589
  service: string;
2589
2590
  environment?: string;
2590
2591
  entrypoint?: string;
2592
+ crossAccountGrant?: string;
2591
2593
  } | {
2592
2594
  type: "ai";
2593
2595
  name: string;
@@ -2605,6 +2607,7 @@ export interface CreateScriptEdgePreviewRequest {
2605
2607
  type: "vectorize";
2606
2608
  name: string;
2607
2609
  indexName: string;
2610
+ internalEnv?: string;
2608
2611
  raw?: boolean;
2609
2612
  } | {
2610
2613
  type: "workflow";
@@ -2700,6 +2703,27 @@ export interface CreateScriptEdgePreviewRequest {
2700
2703
  limit: number;
2701
2704
  period: "10" | "60";
2702
2705
  };
2706
+ } | {
2707
+ type: "artifacts";
2708
+ name: string;
2709
+ namespace: string;
2710
+ } | {
2711
+ type: "unsafe_hello_world";
2712
+ name: string;
2713
+ enableTimer?: boolean;
2714
+ } | {
2715
+ type: "flagship";
2716
+ name: string;
2717
+ appId: string;
2718
+ } | {
2719
+ type: "vpc_service";
2720
+ name: string;
2721
+ serviceId: string;
2722
+ } | {
2723
+ type: "vpc_network";
2724
+ name: string;
2725
+ tunnelId?: string;
2726
+ networkId?: string;
2703
2727
  } | {
2704
2728
  type: "inherit";
2705
2729
  name: string;
@@ -3059,7 +3083,7 @@ export interface PatchScriptScriptAndVersionSettingRequest {
3059
3083
  } | {
3060
3084
  name: string;
3061
3085
  type: "durable_object_namespace";
3062
- className?: string;
3086
+ className: string;
3063
3087
  environment?: string;
3064
3088
  namespaceId?: string;
3065
3089
  scriptName?: string;
@@ -3147,7 +3171,7 @@ export interface PatchScriptScriptAndVersionSettingRequest {
3147
3171
  name: string;
3148
3172
  type: "workflow";
3149
3173
  workflowName: string;
3150
- className?: string;
3174
+ className: string;
3151
3175
  scriptName?: string;
3152
3176
  } | {
3153
3177
  name: string;
@@ -3962,7 +3986,7 @@ export interface CreateScriptVersionRequest {
3962
3986
  } | {
3963
3987
  name: string;
3964
3988
  type: "durable_object_namespace";
3965
- className?: string;
3989
+ className: string;
3966
3990
  environment?: string;
3967
3991
  namespaceId?: string;
3968
3992
  scriptName?: string;
@@ -4050,7 +4074,7 @@ export interface CreateScriptVersionRequest {
4050
4074
  name: string;
4051
4075
  type: "workflow";
4052
4076
  workflowName: string;
4053
- className?: string;
4077
+ className: string;
4054
4078
  scriptName?: string;
4055
4079
  } | {
4056
4080
  name: string;
@@ -4292,6 +4316,7 @@ export interface CreateServiceEdgePreviewRequest {
4292
4316
  type: "d1";
4293
4317
  name: string;
4294
4318
  id: string;
4319
+ internalEnv?: string;
4295
4320
  raw?: boolean;
4296
4321
  } | {
4297
4322
  type: "queue";
@@ -4305,6 +4330,7 @@ export interface CreateServiceEdgePreviewRequest {
4305
4330
  service: string;
4306
4331
  environment?: string;
4307
4332
  entrypoint?: string;
4333
+ crossAccountGrant?: string;
4308
4334
  } | {
4309
4335
  type: "ai";
4310
4336
  name: string;
@@ -4322,6 +4348,7 @@ export interface CreateServiceEdgePreviewRequest {
4322
4348
  type: "vectorize";
4323
4349
  name: string;
4324
4350
  indexName: string;
4351
+ internalEnv?: string;
4325
4352
  raw?: boolean;
4326
4353
  } | {
4327
4354
  type: "workflow";
@@ -4417,6 +4444,27 @@ export interface CreateServiceEdgePreviewRequest {
4417
4444
  limit: number;
4418
4445
  period: "10" | "60";
4419
4446
  };
4447
+ } | {
4448
+ type: "artifacts";
4449
+ name: string;
4450
+ namespace: string;
4451
+ } | {
4452
+ type: "unsafe_hello_world";
4453
+ name: string;
4454
+ enableTimer?: boolean;
4455
+ } | {
4456
+ type: "flagship";
4457
+ name: string;
4458
+ appId: string;
4459
+ } | {
4460
+ type: "vpc_service";
4461
+ name: string;
4462
+ serviceId: string;
4463
+ } | {
4464
+ type: "vpc_network";
4465
+ name: string;
4466
+ tunnelId?: string;
4467
+ networkId?: string;
4420
4468
  } | {
4421
4469
  type: "inherit";
4422
4470
  name: string;