@scaleway/sdk-edge-services 2.13.1 → 2.15.0

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.
@@ -1,6 +1,6 @@
1
- import type { WaitForOptions } from '@scaleway/sdk-client';
2
1
  import { API as ParentAPI } from '@scaleway/sdk-client';
3
- import type { AddRouteRulesRequest, AddRouteRulesResponse, BackendStage, CacheStage, CheckDomainRequest, CheckDomainResponse, CheckLbOriginRequest, CheckLbOriginResponse, CheckPEMChainRequest, CheckPEMChainResponse, CreateBackendStageRequest, CreateCacheStageRequest, CreateDNSStageRequest, CreatePipelineRequest, CreatePurgeRequestRequest, CreateRouteStageRequest, CreateTLSStageRequest, CreateWafStageRequest, DeleteBackendStageRequest, DeleteCacheStageRequest, DeleteCurrentPlanRequest, DeleteDNSStageRequest, DeletePipelineRequest, DeleteRouteStageRequest, DeleteTLSStageRequest, DeleteWafStageRequest, DNSStage, GetBackendStageRequest, GetBillingRequest, GetBillingResponse, GetCacheStageRequest, GetCurrentPlanRequest, GetDNSStageRequest, GetPipelineRequest, GetPurgeRequestRequest, GetRouteStageRequest, GetTLSStageRequest, GetWafStageRequest, HeadStageResponse, ListBackendStagesRequest, ListBackendStagesResponse, ListCacheStagesRequest, ListCacheStagesResponse, ListDNSStagesRequest, ListDNSStagesResponse, ListHeadStagesRequest, ListHeadStagesResponse, ListPipelinesRequest, ListPipelinesResponse, ListPipelinesWithStagesRequest, ListPipelinesWithStagesResponse, ListPlansResponse, ListPurgeRequestsRequest, ListPurgeRequestsResponse, ListRouteRulesRequest, ListRouteRulesResponse, ListRouteStagesRequest, ListRouteStagesResponse, ListTLSStagesRequest, ListTLSStagesResponse, ListWafStagesRequest, ListWafStagesResponse, Pipeline, Plan, PurgeRequest, RouteStage, SearchBackendStagesRequest, SearchRouteRulesRequest, SearchWafStagesRequest, SelectPlanRequest, SetHeadStageRequest, SetRouteRulesRequest, SetRouteRulesResponse, TLSStage, UpdateBackendStageRequest, UpdateCacheStageRequest, UpdateDNSStageRequest, UpdatePipelineRequest, UpdateRouteStageRequest, UpdateTLSStageRequest, UpdateWafStageRequest, WafStage } from './types.gen.js';
2
+ import type { WaitForOptions } from '@scaleway/sdk-client';
3
+ import type { AddRouteRulesRequest, AddRouteRulesResponse, BackendStage, CacheStage, CheckDomainRequest, CheckDomainResponse, CheckLbOriginRequest, CheckLbOriginResponse, CheckPEMChainRequest, CheckPEMChainResponse, CreateBackendStageRequest, CreateCacheStageRequest, CreateDNSStageRequest, CreatePipelineRequest, CreatePurgeRequestRequest, CreateRouteStageRequest, CreateTLSStageRequest, CreateVPCEndpointRequest, CreateWafStageRequest, DNSStage, DeleteBackendStageRequest, DeleteCacheStageRequest, DeleteCurrentPlanRequest, DeleteDNSStageRequest, DeletePipelineRequest, DeleteRouteStageRequest, DeleteTLSStageRequest, DeleteVPCEndpointRequest, DeleteWafStageRequest, GetBackendStageRequest, GetBillingRequest, GetBillingResponse, GetCacheStageRequest, GetCurrentPlanRequest, GetDNSStageRequest, GetPipelineRequest, GetPurgeRequestRequest, GetRouteStageRequest, GetTLSStageRequest, GetVPCEndpointRequest, GetWafStageRequest, HeadStageResponse, ListBackendStagesRequest, ListBackendStagesResponse, ListCacheStagesRequest, ListCacheStagesResponse, ListDNSStagesRequest, ListDNSStagesResponse, ListHeadStagesRequest, ListHeadStagesResponse, ListPipelinesRequest, ListPipelinesResponse, ListPipelinesWithStagesRequest, ListPipelinesWithStagesResponse, ListPlansResponse, ListPurgeRequestsRequest, ListPurgeRequestsResponse, ListRouteRulesRequest, ListRouteRulesResponse, ListRouteStagesRequest, ListRouteStagesResponse, ListTLSStagesRequest, ListTLSStagesResponse, ListVPCEndpointsRequest, ListVPCEndpointsResponse, ListWafStagesRequest, ListWafStagesResponse, Pipeline, Plan, PurgeRequest, RouteStage, SearchBackendStagesRequest, SearchRouteRulesRequest, SearchWafStagesRequest, SelectPlanRequest, SetHeadStageRequest, SetPipelineVPCEndpointsRequest, SetPipelineVPCEndpointsResponse, SetRouteRulesRequest, SetRouteRulesResponse, TLSStage, UpdateBackendStageRequest, UpdateCacheStageRequest, UpdateDNSStageRequest, UpdatePipelineRequest, UpdateRouteStageRequest, UpdateTLSStageRequest, UpdateWafStageRequest, VPCEndpoint, WafStage } from './types.gen.js';
4
4
  /**
5
5
  * Edge Services API.
6
6
  */
@@ -37,7 +37,7 @@ export declare class API extends ParentAPI {
37
37
  * @param options - The waiting options
38
38
  * @returns A Promise of Pipeline
39
39
  */
40
- waitForPipeline: (request: Readonly<GetPipelineRequest>, options?: Readonly<WaitForOptions<Pipeline>> | undefined) => Promise<Pipeline>;
40
+ waitForPipeline: (request: Readonly<GetPipelineRequest>, options?: Readonly<WaitForOptions<Pipeline>>) => Promise<Pipeline>;
41
41
  protected pageOfListPipelinesWithStages: (request?: Readonly<ListPipelinesWithStagesRequest>) => Promise<ListPipelinesWithStagesResponse>;
42
42
  listPipelinesWithStages: (request?: Readonly<ListPipelinesWithStagesRequest>) => Promise<ListPipelinesWithStagesResponse> & {
43
43
  all: () => Promise<import("./types.gen.js").PipelineStages[]>;
@@ -56,6 +56,44 @@ export declare class API extends ParentAPI {
56
56
  * @param request - The request {@link DeletePipelineRequest}
57
57
  */
58
58
  deletePipeline: (request: Readonly<DeletePipelineRequest>) => Promise<void>;
59
+ /**
60
+ * Get VPC Endpoint. Retrieve information about an existing VPC Endpoint, specified by its `vpc_endpoint_id`.
61
+ *
62
+ * @param request - The request {@link GetVPCEndpointRequest}
63
+ * @returns A Promise of VPCEndpoint
64
+ */
65
+ getVPCEndpoint: (request: Readonly<GetVPCEndpointRequest>) => Promise<VPCEndpoint>;
66
+ protected pageOfListVPCEndpoints: (request?: Readonly<ListVPCEndpointsRequest>) => Promise<ListVPCEndpointsResponse>;
67
+ /**
68
+ * List VPC Endpoints. List all VPC Endpoints, for a Scaleway Organization or Scaleway Project. By default, the VPC Endpoints returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
69
+ *
70
+ * @param request - The request {@link ListVPCEndpointsRequest}
71
+ * @returns A Promise of ListVPCEndpointsResponse
72
+ */
73
+ listVPCEndpoints: (request?: Readonly<ListVPCEndpointsRequest>) => Promise<ListVPCEndpointsResponse> & {
74
+ all: () => Promise<VPCEndpoint[]>;
75
+ [Symbol.asyncIterator]: () => AsyncGenerator<VPCEndpoint[], void, void>;
76
+ };
77
+ /**
78
+ * Create VPC Endpoint. Create a new VPC Endpoint. You must specify a `private_network_id` to define to which Private Network the VPC endpoint will be attached to.
79
+ *
80
+ * @param request - The request {@link CreateVPCEndpointRequest}
81
+ * @returns A Promise of VPCEndpoint
82
+ */
83
+ createVPCEndpoint: (request: Readonly<CreateVPCEndpointRequest>) => Promise<VPCEndpoint>;
84
+ /**
85
+ * Delete VPC Endpoint. Delete an existing VPC Endpoint, specified by its `vpc_endpoint_id`.
86
+ *
87
+ * @param request - The request {@link DeleteVPCEndpointRequest}
88
+ */
89
+ deleteVPCEndpoint: (request: Readonly<DeleteVPCEndpointRequest>) => Promise<void>;
90
+ /**
91
+ * Attach VPC Endpoints. Attach VPC Endpoint to the given Pipeline. You must specify a `pipeline_id` and `vpc_endpoint_ids` which contains the list of VPC Endpoints.
92
+ *
93
+ * @param request - The request {@link SetPipelineVPCEndpointsRequest}
94
+ * @returns A Promise of SetPipelineVPCEndpointsResponse
95
+ */
96
+ setPipelineVPCEndpoints: (request: Readonly<SetPipelineVPCEndpointsRequest>) => Promise<SetPipelineVPCEndpointsResponse>;
59
97
  protected pageOfListHeadStages: (request: Readonly<ListHeadStagesRequest>) => Promise<ListHeadStagesResponse>;
60
98
  /**
61
99
  * List Head stage for your pipeline.. List Head stage for your pipeline.
@@ -326,7 +364,7 @@ export declare class API extends ParentAPI {
326
364
  */
327
365
  addRouteRules: (request: Readonly<AddRouteRulesRequest>) => Promise<AddRouteRulesResponse>;
328
366
  /**
329
- * List route rules. List all route rules of an organization or project.
367
+ * Search route rules. List all route rules of an organization or project.
330
368
  *
331
369
  * @param request - The request {@link SearchRouteRulesRequest}
332
370
  * @returns A Promise of ListRouteRulesResponse
@@ -366,11 +404,33 @@ export declare class API extends ParentAPI {
366
404
  * @param options - The waiting options
367
405
  * @returns A Promise of PurgeRequest
368
406
  */
369
- waitForPurgeRequest: (request: Readonly<GetPurgeRequestRequest>, options?: Readonly<WaitForOptions<PurgeRequest>> | undefined) => Promise<PurgeRequest>;
407
+ waitForPurgeRequest: (request: Readonly<GetPurgeRequestRequest>, options?: Readonly<WaitForOptions<PurgeRequest>>) => Promise<PurgeRequest>;
370
408
  checkLbOrigin: (request?: Readonly<CheckLbOriginRequest>) => Promise<CheckLbOriginResponse>;
409
+ /**
410
+ * List plans. List all available Edge Services subscription plans.
411
+ *
412
+ * @returns A Promise of ListPlansResponse
413
+ */
371
414
  listPlans: () => Promise<ListPlansResponse>;
415
+ /**
416
+ * Select plan. Subscribe to the Edge Services subscription plan of your choice, for the given Scaleway Project.
417
+ *
418
+ * @param request - The request {@link SelectPlanRequest}
419
+ * @returns A Promise of Plan
420
+ */
372
421
  selectPlan: (request?: Readonly<SelectPlanRequest>) => Promise<Plan>;
422
+ /**
423
+ * Get plan. Get the current Edge Services subscription plan for your Scaleway Project.
424
+ *
425
+ * @param request - The request {@link GetCurrentPlanRequest}
426
+ * @returns A Promise of Plan
427
+ */
373
428
  getCurrentPlan: (request?: Readonly<GetCurrentPlanRequest>) => Promise<Plan>;
429
+ /**
430
+ * Delete plan. Unsubscribe from the current Edge Services subscription plan for your Scaleway Project.
431
+ *
432
+ * @param request - The request {@link DeleteCurrentPlanRequest}
433
+ */
374
434
  deleteCurrentPlan: (request?: Readonly<DeleteCurrentPlanRequest>) => Promise<void>;
375
435
  /**
376
436
  * Gives information on the currently selected Edge Services subscription plan, resource usage and associated billing information for this calendar month (including whether consumption falls within or exceeds the currently selected subscription plan.).
@@ -1,5 +1,5 @@
1
1
  import { PIPELINE_TRANSIENT_STATUSES, PURGE_REQUEST_TRANSIENT_STATUSES } from "./content.gen.js";
2
- import { marshalAddRouteRulesRequest, marshalCheckDomainRequest, marshalCheckLbOriginRequest, marshalCheckPEMChainRequest, marshalCreateBackendStageRequest, marshalCreateCacheStageRequest, marshalCreateDNSStageRequest, marshalCreatePipelineRequest, marshalCreatePurgeRequestRequest, marshalCreateRouteStageRequest, marshalCreateTLSStageRequest, marshalCreateWafStageRequest, marshalSelectPlanRequest, marshalSetHeadStageRequest, marshalSetRouteRulesRequest, marshalUpdateBackendStageRequest, marshalUpdateCacheStageRequest, marshalUpdateDNSStageRequest, marshalUpdatePipelineRequest, marshalUpdateRouteStageRequest, marshalUpdateTLSStageRequest, marshalUpdateWafStageRequest, unmarshalAddRouteRulesResponse, unmarshalBackendStage, unmarshalCacheStage, unmarshalCheckDomainResponse, unmarshalCheckLbOriginResponse, unmarshalCheckPEMChainResponse, unmarshalDNSStage, unmarshalGetBillingResponse, unmarshalHeadStageResponse, unmarshalListBackendStagesResponse, unmarshalListCacheStagesResponse, unmarshalListDNSStagesResponse, unmarshalListHeadStagesResponse, unmarshalListPipelinesResponse, unmarshalListPipelinesWithStagesResponse, unmarshalListPlansResponse, unmarshalListPurgeRequestsResponse, unmarshalListRouteRulesResponse, unmarshalListRouteStagesResponse, unmarshalListTLSStagesResponse, unmarshalListWafStagesResponse, unmarshalPipeline, unmarshalPlan, unmarshalPurgeRequest, unmarshalRouteStage, unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalWafStage } from "./marshalling.gen.js";
2
+ import { marshalAddRouteRulesRequest, marshalCheckDomainRequest, marshalCheckLbOriginRequest, marshalCheckPEMChainRequest, marshalCreateBackendStageRequest, marshalCreateCacheStageRequest, marshalCreateDNSStageRequest, marshalCreatePipelineRequest, marshalCreatePurgeRequestRequest, marshalCreateRouteStageRequest, marshalCreateTLSStageRequest, marshalCreateVPCEndpointRequest, marshalCreateWafStageRequest, marshalSelectPlanRequest, marshalSetHeadStageRequest, marshalSetRouteRulesRequest, marshalUpdateBackendStageRequest, marshalUpdateCacheStageRequest, marshalUpdateDNSStageRequest, marshalUpdatePipelineRequest, marshalUpdateRouteStageRequest, marshalUpdateTLSStageRequest, marshalUpdateWafStageRequest, unmarshalAddRouteRulesResponse, unmarshalBackendStage, unmarshalCacheStage, unmarshalCheckDomainResponse, unmarshalCheckLbOriginResponse, unmarshalCheckPEMChainResponse, unmarshalDNSStage, unmarshalGetBillingResponse, unmarshalHeadStageResponse, unmarshalListBackendStagesResponse, unmarshalListCacheStagesResponse, unmarshalListDNSStagesResponse, unmarshalListHeadStagesResponse, unmarshalListPipelinesResponse, unmarshalListPipelinesWithStagesResponse, unmarshalListPlansResponse, unmarshalListPurgeRequestsResponse, unmarshalListRouteRulesResponse, unmarshalListRouteStagesResponse, unmarshalListTLSStagesResponse, unmarshalListVPCEndpointsResponse, unmarshalListWafStagesResponse, unmarshalPipeline, unmarshalPlan, unmarshalPurgeRequest, unmarshalRouteStage, unmarshalSetPipelineVPCEndpointsResponse, unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalVPCEndpoint, unmarshalWafStage } from "./marshalling.gen.js";
3
3
  import { API as API$1, enrichForPagination, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
4
4
  //#region src/v1beta1/api.gen.ts
5
5
  const jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
@@ -42,6 +42,31 @@ var API = class extends API$1 {
42
42
  method: "DELETE",
43
43
  path: `/edge-services/v1beta1/pipelines/${validatePathParam("pipelineId", request.pipelineId)}`
44
44
  });
45
+ this.getVPCEndpoint = (request) => this.client.fetch({
46
+ method: "GET",
47
+ path: `/edge-services/v1beta1/vpc-endpoints/${validatePathParam("vpcEndpointId", request.vpcEndpointId)}`
48
+ }, unmarshalVPCEndpoint);
49
+ this.pageOfListVPCEndpoints = (request = {}) => this.client.fetch({
50
+ method: "GET",
51
+ path: `/edge-services/v1beta1/vpc-endpoints`,
52
+ urlParams: urlParams(["order_by", request.orderBy], ["organization_id", request.organizationId], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["project_id", request.projectId])
53
+ }, unmarshalListVPCEndpointsResponse);
54
+ this.listVPCEndpoints = (request = {}) => enrichForPagination("vpcEndpoints", this.pageOfListVPCEndpoints, request);
55
+ this.createVPCEndpoint = (request) => this.client.fetch({
56
+ body: JSON.stringify(marshalCreateVPCEndpointRequest(request, this.client.settings)),
57
+ headers: jsonContentHeaders,
58
+ method: "POST",
59
+ path: `/edge-services/v1beta1/vpc-endpoints`
60
+ }, unmarshalVPCEndpoint);
61
+ this.deleteVPCEndpoint = (request) => this.client.fetch({
62
+ method: "DELETE",
63
+ path: `/edge-services/v1beta1/vpc-endpoints/${validatePathParam("vpcEndpointId", request.vpcEndpointId)}`
64
+ });
65
+ this.setPipelineVPCEndpoints = (request) => this.client.fetch({
66
+ method: "PUT",
67
+ path: `/edge-services/v1beta1/pipelines/${validatePathParam("pipelineId", request.pipelineId)}/vpc-endpoints`,
68
+ urlParams: urlParams(["vpc_endpoint_ids", request.vpcEndpointIds])
69
+ }, unmarshalSetPipelineVPCEndpointsResponse);
45
70
  this.pageOfListHeadStages = (request) => this.client.fetch({
46
71
  method: "GET",
47
72
  path: `/edge-services/v1beta1/pipelines/${validatePathParam("pipelineId", request.pipelineId)}/head-stages`,
@@ -1,5 +1,5 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
3
  export * from './marshalling.gen.js';
4
- export type { AddRouteRulesRequest, AddRouteRulesResponse, BackendStage, CacheStage, CheckDomainRequest, CheckDomainResponse, CheckLbOriginRequest, CheckLbOriginResponse, CheckPEMChainRequest, CheckPEMChainRequestSecretChain, CheckPEMChainResponse, CreateBackendStageRequest, CreateCacheStageRequest, CreateDNSStageRequest, CreatePipelineRequest, CreatePurgeRequestRequest, CreateRouteStageRequest, CreateTLSStageRequest, CreateWafStageRequest, DeleteBackendStageRequest, DeleteCacheStageRequest, DeleteCurrentPlanRequest, DeleteDNSStageRequest, DeletePipelineRequest, DeleteRouteStageRequest, DeleteTLSStageRequest, DeleteWafStageRequest, DNSStage, DNSStageType, GetBackendStageRequest, GetBillingRequest, GetBillingResponse, GetCacheStageRequest, GetCurrentPlanRequest, GetDNSStageRequest, GetPipelineRequest, GetPurgeRequestRequest, GetRouteStageRequest, GetTLSStageRequest, GetWafStageRequest, HeadStageResponse, HeadStageResponseHeadStage, LbOriginError, ListBackendStagesRequest, ListBackendStagesRequestOrderBy, ListBackendStagesResponse, ListCacheStagesRequest, ListCacheStagesRequestOrderBy, ListCacheStagesResponse, ListDNSStagesRequest, ListDNSStagesRequestOrderBy, ListDNSStagesResponse, ListHeadStagesRequest, ListHeadStagesResponse, ListHeadStagesResponseHeadStage, ListPipelinesRequest, ListPipelinesRequestOrderBy, ListPipelinesResponse, ListPipelinesWithStagesRequest, ListPipelinesWithStagesRequestOrderBy, ListPipelinesWithStagesResponse, ListPlansResponse, ListPurgeRequestsRequest, ListPurgeRequestsRequestOrderBy, ListPurgeRequestsResponse, ListRouteRulesRequest, ListRouteRulesResponse, ListRouteStagesRequest, ListRouteStagesRequestOrderBy, ListRouteStagesResponse, ListTLSStagesRequest, ListTLSStagesRequestOrderBy, ListTLSStagesResponse, ListWafStagesRequest, ListWafStagesRequestOrderBy, ListWafStagesResponse, Pipeline, PipelineError, PipelineErrorCode, PipelineErrorSeverity, PipelineErrorStage, PipelineErrorType, PipelineStages, PipelineStatus, Plan, PlanDetails, PlanName, PlanUsageDetails, PurgeRequest, PurgeRequestStatus, RouteRule, RouteStage, RuleHttpMatch, RuleHttpMatchHostFilter, RuleHttpMatchHostFilterHostFilterType, RuleHttpMatchMethodFilter, RuleHttpMatchPathFilter, RuleHttpMatchPathFilterPathFilterType, ScalewayLb, ScalewayLbBackendConfig, ScalewayS3BackendConfig, ScalewayServerlessContainerBackendConfig, ScalewayServerlessFunctionBackendConfig, SearchBackendStagesRequest, SearchBackendStagesRequestOrderBy, SearchRouteRulesRequest, SearchRouteRulesRequestOrderBy, SearchWafStagesRequest, SearchWafStagesRequestOrderBy, SelectPlanRequest, SetHeadStageRequest, SetHeadStageRequestAddNewHeadStage, SetHeadStageRequestRemoveHeadStage, SetHeadStageRequestSwapHeadStage, SetRouteRulesRequest, SetRouteRulesRequestRouteRule, SetRouteRulesResponse, StageStatus, TLSSecret, TLSSecretsConfig, TLSStage, UpdateBackendStageRequest, UpdateCacheStageRequest, UpdateDNSStageRequest, UpdatePipelineRequest, UpdateRouteStageRequest, UpdateTLSStageRequest, UpdateWafStageRequest, WafStage, WafStageMode, } from './types.gen.js';
4
+ export type { AddRouteRulesRequest, AddRouteRulesResponse, BackendStage, CacheStage, CheckDomainRequest, CheckDomainResponse, CheckLbOriginRequest, CheckLbOriginResponse, CheckPEMChainRequest, CheckPEMChainRequestSecretChain, CheckPEMChainResponse, CreateBackendStageRequest, CreateCacheStageRequest, CreateDNSStageRequest, CreatePipelineRequest, CreatePurgeRequestRequest, CreateRouteStageRequest, CreateTLSStageRequest, CreateVPCEndpointRequest, CreateWafStageRequest, DNSStage, DNSStageType, DeleteBackendStageRequest, DeleteCacheStageRequest, DeleteCurrentPlanRequest, DeleteDNSStageRequest, DeletePipelineRequest, DeleteRouteStageRequest, DeleteTLSStageRequest, DeleteVPCEndpointRequest, DeleteWafStageRequest, GetBackendStageRequest, GetBillingRequest, GetBillingResponse, GetCacheStageRequest, GetCurrentPlanRequest, GetDNSStageRequest, GetPipelineRequest, GetPurgeRequestRequest, GetRouteStageRequest, GetTLSStageRequest, GetVPCEndpointRequest, GetWafStageRequest, HeadStageResponse, HeadStageResponseHeadStage, LbOriginError, ListBackendStagesRequest, ListBackendStagesRequestOrderBy, ListBackendStagesResponse, ListCacheStagesRequest, ListCacheStagesRequestOrderBy, ListCacheStagesResponse, ListDNSStagesRequest, ListDNSStagesRequestOrderBy, ListDNSStagesResponse, ListHeadStagesRequest, ListHeadStagesResponse, ListHeadStagesResponseHeadStage, ListPipelinesRequest, ListPipelinesRequestOrderBy, ListPipelinesResponse, ListPipelinesWithStagesRequest, ListPipelinesWithStagesRequestOrderBy, ListPipelinesWithStagesResponse, ListPlansResponse, ListPurgeRequestsRequest, ListPurgeRequestsRequestOrderBy, ListPurgeRequestsResponse, ListRouteRulesRequest, ListRouteRulesResponse, ListRouteStagesRequest, ListRouteStagesRequestOrderBy, ListRouteStagesResponse, ListTLSStagesRequest, ListTLSStagesRequestOrderBy, ListTLSStagesResponse, ListVPCEndpointsRequest, ListVPCEndpointsRequestOrderBy, ListVPCEndpointsResponse, ListWafStagesRequest, ListWafStagesRequestOrderBy, ListWafStagesResponse, Pipeline, PipelineError, PipelineErrorCode, PipelineErrorSeverity, PipelineErrorStage, PipelineErrorType, PipelineStages, PipelineStatus, Plan, PlanDetails, PlanName, PlanUsageDetails, PurgeRequest, PurgeRequestStatus, RouteRule, RouteStage, RuleHttpMatch, RuleHttpMatchHostFilter, RuleHttpMatchHostFilterHostFilterType, RuleHttpMatchMethodFilter, RuleHttpMatchPathFilter, RuleHttpMatchPathFilterPathFilterType, ScalewayLb, ScalewayLbBackendConfig, ScalewayS3BackendConfig, ScalewayServerlessContainerBackendConfig, ScalewayServerlessFunctionBackendConfig, SearchBackendStagesRequest, SearchBackendStagesRequestOrderBy, SearchRouteRulesRequest, SearchRouteRulesRequestOrderBy, SearchWafStagesRequest, SearchWafStagesRequestOrderBy, SelectPlanRequest, SetHeadStageRequest, SetHeadStageRequestAddNewHeadStage, SetHeadStageRequestRemoveHeadStage, SetHeadStageRequestSwapHeadStage, SetPipelineVPCEndpointsRequest, SetPipelineVPCEndpointsResponse, SetRouteRulesRequest, SetRouteRulesRequestRouteRule, SetRouteRulesResponse, StageStatus, TLSSecret, TLSSecretsConfig, TLSStage, UpdateBackendStageRequest, UpdateCacheStageRequest, UpdateDNSStageRequest, UpdatePipelineRequest, UpdateRouteStageRequest, UpdateTLSStageRequest, UpdateWafStageRequest, VPCEndpoint, WafStage, WafStageMode, } from './types.gen.js';
5
5
  export * as ValidationRules from './validation-rules.gen.js';
@@ -1,6 +1,6 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { PIPELINE_TRANSIENT_STATUSES, PURGE_REQUEST_TRANSIENT_STATUSES } from "./content.gen.js";
3
- import { marshalAddRouteRulesRequest, marshalCheckDomainRequest, marshalCheckLbOriginRequest, marshalCheckPEMChainRequest, marshalCreateBackendStageRequest, marshalCreateCacheStageRequest, marshalCreateDNSStageRequest, marshalCreatePipelineRequest, marshalCreatePurgeRequestRequest, marshalCreateRouteStageRequest, marshalCreateTLSStageRequest, marshalCreateWafStageRequest, marshalSelectPlanRequest, marshalSetHeadStageRequest, marshalSetRouteRulesRequest, marshalSetRouteRulesRequestRouteRule, marshalUpdateBackendStageRequest, marshalUpdateCacheStageRequest, marshalUpdateDNSStageRequest, marshalUpdatePipelineRequest, marshalUpdateRouteStageRequest, marshalUpdateTLSStageRequest, marshalUpdateWafStageRequest, unmarshalAddRouteRulesResponse, unmarshalBackendStage, unmarshalCacheStage, unmarshalCheckDomainResponse, unmarshalCheckLbOriginResponse, unmarshalCheckPEMChainResponse, unmarshalDNSStage, unmarshalGetBillingResponse, unmarshalHeadStageResponse, unmarshalListBackendStagesResponse, unmarshalListCacheStagesResponse, unmarshalListDNSStagesResponse, unmarshalListHeadStagesResponse, unmarshalListPipelinesResponse, unmarshalListPipelinesWithStagesResponse, unmarshalListPlansResponse, unmarshalListPurgeRequestsResponse, unmarshalListRouteRulesResponse, unmarshalListRouteStagesResponse, unmarshalListTLSStagesResponse, unmarshalListWafStagesResponse, unmarshalPipeline, unmarshalPipelineStages, unmarshalPlan, unmarshalPurgeRequest, unmarshalRouteStage, unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalWafStage } from "./marshalling.gen.js";
3
+ import { marshalAddRouteRulesRequest, marshalCheckDomainRequest, marshalCheckLbOriginRequest, marshalCheckPEMChainRequest, marshalCreateBackendStageRequest, marshalCreateCacheStageRequest, marshalCreateDNSStageRequest, marshalCreatePipelineRequest, marshalCreatePurgeRequestRequest, marshalCreateRouteStageRequest, marshalCreateTLSStageRequest, marshalCreateVPCEndpointRequest, marshalCreateWafStageRequest, marshalSelectPlanRequest, marshalSetHeadStageRequest, marshalSetRouteRulesRequest, marshalSetRouteRulesRequestRouteRule, marshalUpdateBackendStageRequest, marshalUpdateCacheStageRequest, marshalUpdateDNSStageRequest, marshalUpdatePipelineRequest, marshalUpdateRouteStageRequest, marshalUpdateTLSStageRequest, marshalUpdateWafStageRequest, unmarshalAddRouteRulesResponse, unmarshalBackendStage, unmarshalCacheStage, unmarshalCheckDomainResponse, unmarshalCheckLbOriginResponse, unmarshalCheckPEMChainResponse, unmarshalDNSStage, unmarshalGetBillingResponse, unmarshalHeadStageResponse, unmarshalListBackendStagesResponse, unmarshalListCacheStagesResponse, unmarshalListDNSStagesResponse, unmarshalListHeadStagesResponse, unmarshalListPipelinesResponse, unmarshalListPipelinesWithStagesResponse, unmarshalListPlansResponse, unmarshalListPurgeRequestsResponse, unmarshalListRouteRulesResponse, unmarshalListRouteStagesResponse, unmarshalListTLSStagesResponse, unmarshalListVPCEndpointsResponse, unmarshalListWafStagesResponse, unmarshalPipeline, unmarshalPipelineStages, unmarshalPlan, unmarshalPurgeRequest, unmarshalRouteStage, unmarshalSetPipelineVPCEndpointsResponse, unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalVPCEndpoint, unmarshalWafStage } from "./marshalling.gen.js";
4
4
  import { API } from "./api.gen.js";
5
5
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
6
6
  //#region src/v1beta1/index.gen.ts
@@ -20,6 +20,7 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
20
20
  marshalCreatePurgeRequestRequest: () => marshalCreatePurgeRequestRequest,
21
21
  marshalCreateRouteStageRequest: () => marshalCreateRouteStageRequest,
22
22
  marshalCreateTLSStageRequest: () => marshalCreateTLSStageRequest,
23
+ marshalCreateVPCEndpointRequest: () => marshalCreateVPCEndpointRequest,
23
24
  marshalCreateWafStageRequest: () => marshalCreateWafStageRequest,
24
25
  marshalSelectPlanRequest: () => marshalSelectPlanRequest,
25
26
  marshalSetHeadStageRequest: () => marshalSetHeadStageRequest,
@@ -52,15 +53,18 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
52
53
  unmarshalListRouteRulesResponse: () => unmarshalListRouteRulesResponse,
53
54
  unmarshalListRouteStagesResponse: () => unmarshalListRouteStagesResponse,
54
55
  unmarshalListTLSStagesResponse: () => unmarshalListTLSStagesResponse,
56
+ unmarshalListVPCEndpointsResponse: () => unmarshalListVPCEndpointsResponse,
55
57
  unmarshalListWafStagesResponse: () => unmarshalListWafStagesResponse,
56
58
  unmarshalPipeline: () => unmarshalPipeline,
57
59
  unmarshalPipelineStages: () => unmarshalPipelineStages,
58
60
  unmarshalPlan: () => unmarshalPlan,
59
61
  unmarshalPurgeRequest: () => unmarshalPurgeRequest,
60
62
  unmarshalRouteStage: () => unmarshalRouteStage,
63
+ unmarshalSetPipelineVPCEndpointsResponse: () => unmarshalSetPipelineVPCEndpointsResponse,
61
64
  unmarshalSetRouteRulesResponse: () => unmarshalSetRouteRulesResponse,
62
65
  unmarshalTLSStage: () => unmarshalTLSStage,
66
+ unmarshalVPCEndpoint: () => unmarshalVPCEndpoint,
63
67
  unmarshalWafStage: () => unmarshalWafStage
64
68
  });
65
69
  //#endregion
66
- export { API, PIPELINE_TRANSIENT_STATUSES, PURGE_REQUEST_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddRouteRulesRequest, marshalCheckDomainRequest, marshalCheckLbOriginRequest, marshalCheckPEMChainRequest, marshalCreateBackendStageRequest, marshalCreateCacheStageRequest, marshalCreateDNSStageRequest, marshalCreatePipelineRequest, marshalCreatePurgeRequestRequest, marshalCreateRouteStageRequest, marshalCreateTLSStageRequest, marshalCreateWafStageRequest, marshalSelectPlanRequest, marshalSetHeadStageRequest, marshalSetRouteRulesRequest, marshalSetRouteRulesRequestRouteRule, marshalUpdateBackendStageRequest, marshalUpdateCacheStageRequest, marshalUpdateDNSStageRequest, marshalUpdatePipelineRequest, marshalUpdateRouteStageRequest, marshalUpdateTLSStageRequest, marshalUpdateWafStageRequest, unmarshalAddRouteRulesResponse, unmarshalBackendStage, unmarshalCacheStage, unmarshalCheckDomainResponse, unmarshalCheckLbOriginResponse, unmarshalCheckPEMChainResponse, unmarshalDNSStage, unmarshalGetBillingResponse, unmarshalHeadStageResponse, unmarshalListBackendStagesResponse, unmarshalListCacheStagesResponse, unmarshalListDNSStagesResponse, unmarshalListHeadStagesResponse, unmarshalListPipelinesResponse, unmarshalListPipelinesWithStagesResponse, unmarshalListPlansResponse, unmarshalListPurgeRequestsResponse, unmarshalListRouteRulesResponse, unmarshalListRouteStagesResponse, unmarshalListTLSStagesResponse, unmarshalListWafStagesResponse, unmarshalPipeline, unmarshalPipelineStages, unmarshalPlan, unmarshalPurgeRequest, unmarshalRouteStage, unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalWafStage };
70
+ export { API, PIPELINE_TRANSIENT_STATUSES, PURGE_REQUEST_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddRouteRulesRequest, marshalCheckDomainRequest, marshalCheckLbOriginRequest, marshalCheckPEMChainRequest, marshalCreateBackendStageRequest, marshalCreateCacheStageRequest, marshalCreateDNSStageRequest, marshalCreatePipelineRequest, marshalCreatePurgeRequestRequest, marshalCreateRouteStageRequest, marshalCreateTLSStageRequest, marshalCreateVPCEndpointRequest, marshalCreateWafStageRequest, marshalSelectPlanRequest, marshalSetHeadStageRequest, marshalSetRouteRulesRequest, marshalSetRouteRulesRequestRouteRule, marshalUpdateBackendStageRequest, marshalUpdateCacheStageRequest, marshalUpdateDNSStageRequest, marshalUpdatePipelineRequest, marshalUpdateRouteStageRequest, marshalUpdateTLSStageRequest, marshalUpdateWafStageRequest, unmarshalAddRouteRulesResponse, unmarshalBackendStage, unmarshalCacheStage, unmarshalCheckDomainResponse, unmarshalCheckLbOriginResponse, unmarshalCheckPEMChainResponse, unmarshalDNSStage, unmarshalGetBillingResponse, unmarshalHeadStageResponse, unmarshalListBackendStagesResponse, unmarshalListCacheStagesResponse, unmarshalListDNSStagesResponse, unmarshalListHeadStagesResponse, unmarshalListPipelinesResponse, unmarshalListPipelinesWithStagesResponse, unmarshalListPlansResponse, unmarshalListPurgeRequestsResponse, unmarshalListRouteRulesResponse, unmarshalListRouteStagesResponse, unmarshalListTLSStagesResponse, unmarshalListVPCEndpointsResponse, unmarshalListWafStagesResponse, unmarshalPipeline, unmarshalPipelineStages, unmarshalPlan, unmarshalPurgeRequest, unmarshalRouteStage, unmarshalSetPipelineVPCEndpointsResponse, unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalVPCEndpoint, unmarshalWafStage };
@@ -1,5 +1,5 @@
1
1
  import type { DefaultValues } from '@scaleway/sdk-client';
2
- import type { AddRouteRulesRequest, AddRouteRulesResponse, BackendStage, CacheStage, CheckDomainRequest, CheckDomainResponse, CheckLbOriginRequest, CheckLbOriginResponse, CheckPEMChainRequest, CheckPEMChainResponse, CreateBackendStageRequest, CreateCacheStageRequest, CreateDNSStageRequest, CreatePipelineRequest, CreatePurgeRequestRequest, CreateRouteStageRequest, CreateTLSStageRequest, CreateWafStageRequest, DNSStage, GetBillingResponse, HeadStageResponse, ListBackendStagesResponse, ListCacheStagesResponse, ListDNSStagesResponse, ListHeadStagesResponse, ListPipelinesResponse, ListPipelinesWithStagesResponse, ListPlansResponse, ListPurgeRequestsResponse, ListRouteRulesResponse, ListRouteStagesResponse, ListTLSStagesResponse, ListWafStagesResponse, Pipeline, PipelineStages, Plan, PurgeRequest, RouteStage, SelectPlanRequest, SetHeadStageRequest, SetRouteRulesRequest, SetRouteRulesRequestRouteRule, SetRouteRulesResponse, TLSStage, UpdateBackendStageRequest, UpdateCacheStageRequest, UpdateDNSStageRequest, UpdatePipelineRequest, UpdateRouteStageRequest, UpdateTLSStageRequest, UpdateWafStageRequest, WafStage } from './types.gen.js';
2
+ import type { BackendStage, CacheStage, DNSStage, Pipeline, RouteStage, TLSStage, WafStage, PipelineStages, PurgeRequest, VPCEndpoint, AddRouteRulesResponse, CheckDomainResponse, CheckLbOriginResponse, CheckPEMChainResponse, GetBillingResponse, HeadStageResponse, ListBackendStagesResponse, ListCacheStagesResponse, ListDNSStagesResponse, ListHeadStagesResponse, ListPipelinesResponse, ListPipelinesWithStagesResponse, ListPlansResponse, ListPurgeRequestsResponse, ListRouteRulesResponse, ListRouteStagesResponse, ListTLSStagesResponse, ListVPCEndpointsResponse, ListWafStagesResponse, Plan, SetPipelineVPCEndpointsResponse, SetRouteRulesResponse, SetRouteRulesRequestRouteRule, AddRouteRulesRequest, CheckDomainRequest, CheckLbOriginRequest, CheckPEMChainRequest, CreateBackendStageRequest, CreateCacheStageRequest, CreateDNSStageRequest, CreatePipelineRequest, CreatePurgeRequestRequest, CreateRouteStageRequest, CreateTLSStageRequest, CreateVPCEndpointRequest, CreateWafStageRequest, SelectPlanRequest, SetHeadStageRequest, SetRouteRulesRequest, UpdateBackendStageRequest, UpdateCacheStageRequest, UpdateDNSStageRequest, UpdatePipelineRequest, UpdateRouteStageRequest, UpdateTLSStageRequest, UpdateWafStageRequest } from './types.gen.js';
3
3
  export declare const unmarshalBackendStage: (data: unknown) => BackendStage;
4
4
  export declare const unmarshalCacheStage: (data: unknown) => CacheStage;
5
5
  export declare const unmarshalDNSStage: (data: unknown) => DNSStage;
@@ -9,6 +9,7 @@ export declare const unmarshalTLSStage: (data: unknown) => TLSStage;
9
9
  export declare const unmarshalWafStage: (data: unknown) => WafStage;
10
10
  export declare const unmarshalPipelineStages: (data: unknown) => PipelineStages;
11
11
  export declare const unmarshalPurgeRequest: (data: unknown) => PurgeRequest;
12
+ export declare const unmarshalVPCEndpoint: (data: unknown) => VPCEndpoint;
12
13
  export declare const unmarshalAddRouteRulesResponse: (data: unknown) => AddRouteRulesResponse;
13
14
  export declare const unmarshalCheckDomainResponse: (data: unknown) => CheckDomainResponse;
14
15
  export declare const unmarshalCheckLbOriginResponse: (data: unknown) => CheckLbOriginResponse;
@@ -26,8 +27,10 @@ export declare const unmarshalListPurgeRequestsResponse: (data: unknown) => List
26
27
  export declare const unmarshalListRouteRulesResponse: (data: unknown) => ListRouteRulesResponse;
27
28
  export declare const unmarshalListRouteStagesResponse: (data: unknown) => ListRouteStagesResponse;
28
29
  export declare const unmarshalListTLSStagesResponse: (data: unknown) => ListTLSStagesResponse;
30
+ export declare const unmarshalListVPCEndpointsResponse: (data: unknown) => ListVPCEndpointsResponse;
29
31
  export declare const unmarshalListWafStagesResponse: (data: unknown) => ListWafStagesResponse;
30
32
  export declare const unmarshalPlan: (data: unknown) => Plan;
33
+ export declare const unmarshalSetPipelineVPCEndpointsResponse: (data: unknown) => SetPipelineVPCEndpointsResponse;
31
34
  export declare const unmarshalSetRouteRulesResponse: (data: unknown) => SetRouteRulesResponse;
32
35
  export declare const marshalSetRouteRulesRequestRouteRule: (request: SetRouteRulesRequestRouteRule, defaults: DefaultValues) => Record<string, unknown>;
33
36
  export declare const marshalAddRouteRulesRequest: (request: AddRouteRulesRequest, defaults: DefaultValues) => Record<string, unknown>;
@@ -41,6 +44,7 @@ export declare const marshalCreatePipelineRequest: (request: CreatePipelineReque
41
44
  export declare const marshalCreatePurgeRequestRequest: (request: CreatePurgeRequestRequest, defaults: DefaultValues) => Record<string, unknown>;
42
45
  export declare const marshalCreateRouteStageRequest: (request: CreateRouteStageRequest, defaults: DefaultValues) => Record<string, unknown>;
43
46
  export declare const marshalCreateTLSStageRequest: (request: CreateTLSStageRequest, defaults: DefaultValues) => Record<string, unknown>;
47
+ export declare const marshalCreateVPCEndpointRequest: (request: CreateVPCEndpointRequest, defaults: DefaultValues) => Record<string, unknown>;
44
48
  export declare const marshalCreateWafStageRequest: (request: CreateWafStageRequest, defaults: DefaultValues) => Record<string, unknown>;
45
49
  export declare const marshalSelectPlanRequest: (request: SelectPlanRequest, defaults: DefaultValues) => Record<string, unknown>;
46
50
  export declare const marshalSetHeadStageRequest: (request: SetHeadStageRequest, defaults: DefaultValues) => Record<string, unknown>;
@@ -8,6 +8,7 @@ const unmarshalScalewayLb = (data) => {
8
8
  hasWebsocket: data.has_websocket,
9
9
  id: data.id,
10
10
  isSsl: data.is_ssl,
11
+ privateNetworkId: data.private_network_id,
11
12
  zone: data.zone
12
13
  };
13
14
  };
@@ -73,7 +74,9 @@ const unmarshalDNSStage = (data) => {
73
74
  cacheStageId: data.cache_stage_id,
74
75
  createdAt: unmarshalDate(data.created_at),
75
76
  defaultFqdn: data.default_fqdn,
77
+ defaultPrivateFqdn: data.default_private_fqdn,
76
78
  fqdns: data.fqdns,
79
+ fullPrivate: data.full_private,
77
80
  id: data.id,
78
81
  pipelineId: data.pipeline_id,
79
82
  status: data.status,
@@ -104,7 +107,8 @@ const unmarshalPipeline = (data) => {
104
107
  organizationId: data.organization_id,
105
108
  projectId: data.project_id,
106
109
  status: data.status,
107
- updatedAt: unmarshalDate(data.updated_at)
110
+ updatedAt: unmarshalDate(data.updated_at),
111
+ vpcEndpointIds: data.vpc_endpoint_ids
108
112
  };
109
113
  };
110
114
  const unmarshalRouteStage = (data) => {
@@ -180,6 +184,17 @@ const unmarshalPurgeRequest = (data) => {
180
184
  updatedAt: unmarshalDate(data.updated_at)
181
185
  };
182
186
  };
187
+ const unmarshalVPCEndpoint = (data) => {
188
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'VPCEndpoint' failed as data isn't a dictionary.`);
189
+ return {
190
+ createdAt: unmarshalDate(data.created_at),
191
+ id: data.id,
192
+ privateNetworkId: data.private_network_id,
193
+ projectId: data.project_id,
194
+ region: data.region,
195
+ updatedAt: unmarshalDate(data.updated_at)
196
+ };
197
+ };
183
198
  const unmarshalRuleHttpMatchHostFilter = (data) => {
184
199
  if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RuleHttpMatchHostFilter' failed as data isn't a dictionary.`);
185
200
  return {
@@ -353,6 +368,13 @@ const unmarshalListTLSStagesResponse = (data) => {
353
368
  totalCount: data.total_count
354
369
  };
355
370
  };
371
+ const unmarshalListVPCEndpointsResponse = (data) => {
372
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListVPCEndpointsResponse' failed as data isn't a dictionary.`);
373
+ return {
374
+ totalCount: data.total_count,
375
+ vpcEndpoints: unmarshalArrayOfObject(data.vpc_endpoints, unmarshalVPCEndpoint)
376
+ };
377
+ };
356
378
  const unmarshalListWafStagesResponse = (data) => {
357
379
  if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListWafStagesResponse' failed as data isn't a dictionary.`);
358
380
  return {
@@ -364,6 +386,14 @@ const unmarshalPlan = (data) => {
364
386
  if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Plan' failed as data isn't a dictionary.`);
365
387
  return { planName: data.plan_name };
366
388
  };
389
+ const unmarshalSetPipelineVPCEndpointsResponse = (data) => {
390
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetPipelineVPCEndpointsResponse' failed as data isn't a dictionary.`);
391
+ return {
392
+ pipelineId: data.pipeline_id,
393
+ totalCount: data.total_count,
394
+ vpcEndpoints: unmarshalArrayOfObject(data.vpc_endpoints, unmarshalVPCEndpoint)
395
+ };
396
+ };
367
397
  const unmarshalSetRouteRulesResponse = (data) => {
368
398
  if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetRouteRulesResponse' failed as data isn't a dictionary.`);
369
399
  return { routeRules: unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule) };
@@ -415,6 +445,7 @@ const marshalScalewayLb = (request, defaults) => ({
415
445
  has_websocket: request.hasWebsocket,
416
446
  id: request.id,
417
447
  is_ssl: request.isSsl,
448
+ private_network_id: request.privateNetworkId,
418
449
  zone: request.zone
419
450
  });
420
451
  const marshalCheckLbOriginRequest = (request, defaults) => ({ lb: request.lb !== void 0 ? marshalScalewayLb(request.lb, defaults) : void 0 });
@@ -485,6 +516,7 @@ const marshalCreateCacheStageRequest = (request, defaults) => ({
485
516
  });
486
517
  const marshalCreateDNSStageRequest = (request, defaults) => ({
487
518
  fqdns: request.fqdns,
519
+ full_private: request.fullPrivate,
488
520
  wildcard_domain: request.wildcardDomain,
489
521
  ...resolveOneOf([
490
522
  {
@@ -549,6 +581,11 @@ const marshalCreateTLSStageRequest = (request, defaults) => ({
549
581
  }
550
582
  ])
551
583
  });
584
+ const marshalCreateVPCEndpointRequest = (request, defaults) => ({
585
+ private_network_id: request.privateNetworkId,
586
+ project_id: request.projectId ?? defaults.defaultProjectId,
587
+ region: request.region ?? defaults.defaultRegion
588
+ });
552
589
  const marshalCreateWafStageRequest = (request, defaults) => ({
553
590
  mode: request.mode,
554
591
  paranoia_level: request.paranoiaLevel,
@@ -623,6 +660,7 @@ const marshalUpdateCacheStageRequest = (request, defaults) => ({
623
660
  });
624
661
  const marshalUpdateDNSStageRequest = (request, defaults) => ({
625
662
  fqdns: request.fqdns,
663
+ full_private: request.fullPrivate,
626
664
  wildcard_domain: request.wildcardDomain,
627
665
  ...resolveOneOf([
628
666
  {
@@ -682,4 +720,4 @@ const marshalUpdateWafStageRequest = (request, defaults) => ({
682
720
  }])
683
721
  });
684
722
  //#endregion
685
- export { marshalAddRouteRulesRequest, marshalCheckDomainRequest, marshalCheckLbOriginRequest, marshalCheckPEMChainRequest, marshalCreateBackendStageRequest, marshalCreateCacheStageRequest, marshalCreateDNSStageRequest, marshalCreatePipelineRequest, marshalCreatePurgeRequestRequest, marshalCreateRouteStageRequest, marshalCreateTLSStageRequest, marshalCreateWafStageRequest, marshalSelectPlanRequest, marshalSetHeadStageRequest, marshalSetRouteRulesRequest, marshalSetRouteRulesRequestRouteRule, marshalUpdateBackendStageRequest, marshalUpdateCacheStageRequest, marshalUpdateDNSStageRequest, marshalUpdatePipelineRequest, marshalUpdateRouteStageRequest, marshalUpdateTLSStageRequest, marshalUpdateWafStageRequest, unmarshalAddRouteRulesResponse, unmarshalBackendStage, unmarshalCacheStage, unmarshalCheckDomainResponse, unmarshalCheckLbOriginResponse, unmarshalCheckPEMChainResponse, unmarshalDNSStage, unmarshalGetBillingResponse, unmarshalHeadStageResponse, unmarshalListBackendStagesResponse, unmarshalListCacheStagesResponse, unmarshalListDNSStagesResponse, unmarshalListHeadStagesResponse, unmarshalListPipelinesResponse, unmarshalListPipelinesWithStagesResponse, unmarshalListPlansResponse, unmarshalListPurgeRequestsResponse, unmarshalListRouteRulesResponse, unmarshalListRouteStagesResponse, unmarshalListTLSStagesResponse, unmarshalListWafStagesResponse, unmarshalPipeline, unmarshalPipelineStages, unmarshalPlan, unmarshalPurgeRequest, unmarshalRouteStage, unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalWafStage };
723
+ export { marshalAddRouteRulesRequest, marshalCheckDomainRequest, marshalCheckLbOriginRequest, marshalCheckPEMChainRequest, marshalCreateBackendStageRequest, marshalCreateCacheStageRequest, marshalCreateDNSStageRequest, marshalCreatePipelineRequest, marshalCreatePurgeRequestRequest, marshalCreateRouteStageRequest, marshalCreateTLSStageRequest, marshalCreateVPCEndpointRequest, marshalCreateWafStageRequest, marshalSelectPlanRequest, marshalSetHeadStageRequest, marshalSetRouteRulesRequest, marshalSetRouteRulesRequestRouteRule, marshalUpdateBackendStageRequest, marshalUpdateCacheStageRequest, marshalUpdateDNSStageRequest, marshalUpdatePipelineRequest, marshalUpdateRouteStageRequest, marshalUpdateTLSStageRequest, marshalUpdateWafStageRequest, unmarshalAddRouteRulesResponse, unmarshalBackendStage, unmarshalCacheStage, unmarshalCheckDomainResponse, unmarshalCheckLbOriginResponse, unmarshalCheckPEMChainResponse, unmarshalDNSStage, unmarshalGetBillingResponse, unmarshalHeadStageResponse, unmarshalListBackendStagesResponse, unmarshalListCacheStagesResponse, unmarshalListDNSStagesResponse, unmarshalListHeadStagesResponse, unmarshalListPipelinesResponse, unmarshalListPipelinesWithStagesResponse, unmarshalListPlansResponse, unmarshalListPurgeRequestsResponse, unmarshalListRouteRulesResponse, unmarshalListRouteStagesResponse, unmarshalListTLSStagesResponse, unmarshalListVPCEndpointsResponse, unmarshalListWafStagesResponse, unmarshalPipeline, unmarshalPipelineStages, unmarshalPlan, unmarshalPurgeRequest, unmarshalRouteStage, unmarshalSetPipelineVPCEndpointsResponse, unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalVPCEndpoint, unmarshalWafStage };
@@ -1,256 +1,276 @@
1
1
  export declare const queriesMetadata: {
2
- readonly namespace: "edge_services";
3
- readonly version: "v1beta1";
4
- readonly folderName: "edgeServicesv1beta1";
2
+ readonly namespace: 'edge_services';
3
+ readonly version: 'v1beta1';
4
+ readonly folderName: 'edgeServicesv1beta1';
5
5
  readonly services: readonly [{
6
- readonly apiClass: "API";
6
+ readonly apiClass: 'API';
7
7
  readonly methods: readonly [{
8
- readonly methodName: "listPipelines";
9
- readonly protoName: "ListPipelines";
10
- readonly paramsType: "ListPipelinesRequest";
11
- readonly returnType: "ListPipelinesResponse";
8
+ readonly methodName: 'listPipelines';
9
+ readonly protoName: 'ListPipelines';
10
+ readonly paramsType: 'ListPipelinesRequest';
11
+ readonly returnType: 'ListPipelinesResponse';
12
12
  readonly isList: true;
13
- readonly paginationType: "offset";
14
- readonly pageParamKey: "page";
15
- readonly listItemType: "Pipeline";
13
+ readonly paginationType: 'offset';
14
+ readonly pageParamKey: 'page';
15
+ readonly listItemType: 'Pipeline';
16
16
  readonly isPrivate: false;
17
- readonly description: "\"";
17
+ readonly description: '"';
18
18
  }, {
19
- readonly methodName: "getPipeline";
20
- readonly protoName: "GetPipeline";
21
- readonly paramsType: "GetPipelineRequest";
22
- readonly returnType: "Pipeline";
19
+ readonly methodName: 'getPipeline';
20
+ readonly protoName: 'GetPipeline';
21
+ readonly paramsType: 'GetPipelineRequest';
22
+ readonly returnType: 'Pipeline';
23
23
  readonly isList: false;
24
- readonly paginationType: "none";
24
+ readonly paginationType: 'none';
25
25
  readonly isPrivate: false;
26
- readonly description: "\"";
26
+ readonly description: '"';
27
27
  readonly hasWaiter: true;
28
28
  }, {
29
- readonly methodName: "listPipelinesWithStages";
30
- readonly protoName: "ListPipelinesWithStages";
31
- readonly paramsType: "ListPipelinesWithStagesRequest";
32
- readonly returnType: "ListPipelinesWithStagesResponse";
29
+ readonly methodName: 'listPipelinesWithStages';
30
+ readonly protoName: 'ListPipelinesWithStages';
31
+ readonly paramsType: 'ListPipelinesWithStagesRequest';
32
+ readonly returnType: 'ListPipelinesWithStagesResponse';
33
33
  readonly isList: true;
34
- readonly paginationType: "offset";
35
- readonly pageParamKey: "page";
36
- readonly listItemType: "PipelineStages";
34
+ readonly paginationType: 'offset';
35
+ readonly pageParamKey: 'page';
36
+ readonly listItemType: 'PipelineStages';
37
37
  readonly isPrivate: false;
38
- readonly description: "\"";
38
+ readonly description: '"';
39
39
  }, {
40
- readonly methodName: "listHeadStages";
41
- readonly protoName: "ListHeadStages";
42
- readonly paramsType: "ListHeadStagesRequest";
43
- readonly returnType: "ListHeadStagesResponse";
40
+ readonly methodName: 'getVPCEndpoint';
41
+ readonly protoName: 'GetVPCEndpoint';
42
+ readonly paramsType: 'GetVPCEndpointRequest';
43
+ readonly returnType: 'VPCEndpoint';
44
+ readonly isList: false;
45
+ readonly paginationType: 'none';
46
+ readonly isPrivate: false;
47
+ readonly description: '"';
48
+ }, {
49
+ readonly methodName: 'listVPCEndpoints';
50
+ readonly protoName: 'ListVPCEndpoints';
51
+ readonly paramsType: 'ListVPCEndpointsRequest';
52
+ readonly returnType: 'ListVPCEndpointsResponse';
53
+ readonly isList: true;
54
+ readonly paginationType: 'offset';
55
+ readonly pageParamKey: 'page';
56
+ readonly listItemType: 'VPCEndpoint';
57
+ readonly isPrivate: false;
58
+ readonly description: '"';
59
+ }, {
60
+ readonly methodName: 'listHeadStages';
61
+ readonly protoName: 'ListHeadStages';
62
+ readonly paramsType: 'ListHeadStagesRequest';
63
+ readonly returnType: 'ListHeadStagesResponse';
44
64
  readonly isList: true;
45
- readonly paginationType: "offset";
46
- readonly pageParamKey: "page";
47
- readonly listItemType: "ListHeadStagesResponseHeadStage";
65
+ readonly paginationType: 'offset';
66
+ readonly pageParamKey: 'page';
67
+ readonly listItemType: 'ListHeadStagesResponseHeadStage';
48
68
  readonly isPrivate: false;
49
- readonly description: "\"";
69
+ readonly description: '"';
50
70
  }, {
51
- readonly methodName: "listDNSStages";
52
- readonly protoName: "ListDNSStages";
53
- readonly paramsType: "ListDNSStagesRequest";
54
- readonly returnType: "ListDNSStagesResponse";
71
+ readonly methodName: 'listDNSStages';
72
+ readonly protoName: 'ListDNSStages';
73
+ readonly paramsType: 'ListDNSStagesRequest';
74
+ readonly returnType: 'ListDNSStagesResponse';
55
75
  readonly isList: true;
56
- readonly paginationType: "offset";
57
- readonly pageParamKey: "page";
58
- readonly listItemType: "DNSStage";
76
+ readonly paginationType: 'offset';
77
+ readonly pageParamKey: 'page';
78
+ readonly listItemType: 'DNSStage';
59
79
  readonly isPrivate: false;
60
- readonly description: "\"";
80
+ readonly description: '"';
61
81
  }, {
62
- readonly methodName: "getDNSStage";
63
- readonly protoName: "GetDNSStage";
64
- readonly paramsType: "GetDNSStageRequest";
65
- readonly returnType: "DNSStage";
82
+ readonly methodName: 'getDNSStage';
83
+ readonly protoName: 'GetDNSStage';
84
+ readonly paramsType: 'GetDNSStageRequest';
85
+ readonly returnType: 'DNSStage';
66
86
  readonly isList: false;
67
- readonly paginationType: "none";
87
+ readonly paginationType: 'none';
68
88
  readonly isPrivate: false;
69
- readonly description: "\"";
89
+ readonly description: '"';
70
90
  }, {
71
- readonly methodName: "listTLSStages";
72
- readonly protoName: "ListTLSStages";
73
- readonly paramsType: "ListTLSStagesRequest";
74
- readonly returnType: "ListTLSStagesResponse";
91
+ readonly methodName: 'listTLSStages';
92
+ readonly protoName: 'ListTLSStages';
93
+ readonly paramsType: 'ListTLSStagesRequest';
94
+ readonly returnType: 'ListTLSStagesResponse';
75
95
  readonly isList: true;
76
- readonly paginationType: "offset";
77
- readonly pageParamKey: "page";
78
- readonly listItemType: "TLSStage";
96
+ readonly paginationType: 'offset';
97
+ readonly pageParamKey: 'page';
98
+ readonly listItemType: 'TLSStage';
79
99
  readonly isPrivate: false;
80
- readonly description: "\"";
100
+ readonly description: '"';
81
101
  }, {
82
- readonly methodName: "getTLSStage";
83
- readonly protoName: "GetTLSStage";
84
- readonly paramsType: "GetTLSStageRequest";
85
- readonly returnType: "TLSStage";
102
+ readonly methodName: 'getTLSStage';
103
+ readonly protoName: 'GetTLSStage';
104
+ readonly paramsType: 'GetTLSStageRequest';
105
+ readonly returnType: 'TLSStage';
86
106
  readonly isList: false;
87
- readonly paginationType: "none";
107
+ readonly paginationType: 'none';
88
108
  readonly isPrivate: false;
89
- readonly description: "\"";
109
+ readonly description: '"';
90
110
  }, {
91
- readonly methodName: "listCacheStages";
92
- readonly protoName: "ListCacheStages";
93
- readonly paramsType: "ListCacheStagesRequest";
94
- readonly returnType: "ListCacheStagesResponse";
111
+ readonly methodName: 'listCacheStages';
112
+ readonly protoName: 'ListCacheStages';
113
+ readonly paramsType: 'ListCacheStagesRequest';
114
+ readonly returnType: 'ListCacheStagesResponse';
95
115
  readonly isList: true;
96
- readonly paginationType: "offset";
97
- readonly pageParamKey: "page";
98
- readonly listItemType: "CacheStage";
116
+ readonly paginationType: 'offset';
117
+ readonly pageParamKey: 'page';
118
+ readonly listItemType: 'CacheStage';
99
119
  readonly isPrivate: false;
100
- readonly description: "\"";
120
+ readonly description: '"';
101
121
  }, {
102
- readonly methodName: "getCacheStage";
103
- readonly protoName: "GetCacheStage";
104
- readonly paramsType: "GetCacheStageRequest";
105
- readonly returnType: "CacheStage";
122
+ readonly methodName: 'getCacheStage';
123
+ readonly protoName: 'GetCacheStage';
124
+ readonly paramsType: 'GetCacheStageRequest';
125
+ readonly returnType: 'CacheStage';
106
126
  readonly isList: false;
107
- readonly paginationType: "none";
127
+ readonly paginationType: 'none';
108
128
  readonly isPrivate: false;
109
- readonly description: "\"";
129
+ readonly description: '"';
110
130
  }, {
111
- readonly methodName: "listBackendStages";
112
- readonly protoName: "ListBackendStages";
113
- readonly paramsType: "ListBackendStagesRequest";
114
- readonly returnType: "ListBackendStagesResponse";
131
+ readonly methodName: 'listBackendStages';
132
+ readonly protoName: 'ListBackendStages';
133
+ readonly paramsType: 'ListBackendStagesRequest';
134
+ readonly returnType: 'ListBackendStagesResponse';
115
135
  readonly isList: true;
116
- readonly paginationType: "offset";
117
- readonly pageParamKey: "page";
118
- readonly listItemType: "BackendStage";
136
+ readonly paginationType: 'offset';
137
+ readonly pageParamKey: 'page';
138
+ readonly listItemType: 'BackendStage';
119
139
  readonly isPrivate: false;
120
- readonly description: "\"";
140
+ readonly description: '"';
121
141
  }, {
122
- readonly methodName: "getBackendStage";
123
- readonly protoName: "GetBackendStage";
124
- readonly paramsType: "GetBackendStageRequest";
125
- readonly returnType: "BackendStage";
142
+ readonly methodName: 'getBackendStage';
143
+ readonly protoName: 'GetBackendStage';
144
+ readonly paramsType: 'GetBackendStageRequest';
145
+ readonly returnType: 'BackendStage';
126
146
  readonly isList: false;
127
- readonly paginationType: "none";
147
+ readonly paginationType: 'none';
128
148
  readonly isPrivate: false;
129
- readonly description: "\"";
149
+ readonly description: '"';
130
150
  }, {
131
- readonly methodName: "searchBackendStages";
132
- readonly protoName: "SearchBackendStages";
133
- readonly paramsType: "SearchBackendStagesRequest";
134
- readonly returnType: "ListBackendStagesResponse";
151
+ readonly methodName: 'searchBackendStages';
152
+ readonly protoName: 'SearchBackendStages';
153
+ readonly paramsType: 'SearchBackendStagesRequest';
154
+ readonly returnType: 'ListBackendStagesResponse';
135
155
  readonly isList: false;
136
- readonly paginationType: "none";
156
+ readonly paginationType: 'none';
137
157
  readonly isPrivate: false;
138
- readonly description: "\"";
158
+ readonly description: '"';
139
159
  }, {
140
- readonly methodName: "listWafStages";
141
- readonly protoName: "ListWafStages";
142
- readonly paramsType: "ListWafStagesRequest";
143
- readonly returnType: "ListWafStagesResponse";
160
+ readonly methodName: 'listWafStages';
161
+ readonly protoName: 'ListWafStages';
162
+ readonly paramsType: 'ListWafStagesRequest';
163
+ readonly returnType: 'ListWafStagesResponse';
144
164
  readonly isList: true;
145
- readonly paginationType: "offset";
146
- readonly pageParamKey: "page";
147
- readonly listItemType: "WafStage";
165
+ readonly paginationType: 'offset';
166
+ readonly pageParamKey: 'page';
167
+ readonly listItemType: 'WafStage';
148
168
  readonly isPrivate: false;
149
- readonly description: "\"";
169
+ readonly description: '"';
150
170
  }, {
151
- readonly methodName: "getWafStage";
152
- readonly protoName: "GetWafStage";
153
- readonly paramsType: "GetWafStageRequest";
154
- readonly returnType: "WafStage";
171
+ readonly methodName: 'getWafStage';
172
+ readonly protoName: 'GetWafStage';
173
+ readonly paramsType: 'GetWafStageRequest';
174
+ readonly returnType: 'WafStage';
155
175
  readonly isList: false;
156
- readonly paginationType: "none";
176
+ readonly paginationType: 'none';
157
177
  readonly isPrivate: false;
158
- readonly description: "\"";
178
+ readonly description: '"';
159
179
  }, {
160
- readonly methodName: "searchWafStages";
161
- readonly protoName: "SearchWafStages";
162
- readonly paramsType: "SearchWafStagesRequest";
163
- readonly returnType: "ListWafStagesResponse";
180
+ readonly methodName: 'searchWafStages';
181
+ readonly protoName: 'SearchWafStages';
182
+ readonly paramsType: 'SearchWafStagesRequest';
183
+ readonly returnType: 'ListWafStagesResponse';
164
184
  readonly isList: false;
165
- readonly paginationType: "none";
185
+ readonly paginationType: 'none';
166
186
  readonly isPrivate: false;
167
- readonly description: "\"";
187
+ readonly description: '"';
168
188
  }, {
169
- readonly methodName: "listRouteStages";
170
- readonly protoName: "ListRouteStages";
171
- readonly paramsType: "ListRouteStagesRequest";
172
- readonly returnType: "ListRouteStagesResponse";
189
+ readonly methodName: 'listRouteStages';
190
+ readonly protoName: 'ListRouteStages';
191
+ readonly paramsType: 'ListRouteStagesRequest';
192
+ readonly returnType: 'ListRouteStagesResponse';
173
193
  readonly isList: true;
174
- readonly paginationType: "offset";
175
- readonly pageParamKey: "page";
176
- readonly listItemType: "RouteStage";
194
+ readonly paginationType: 'offset';
195
+ readonly pageParamKey: 'page';
196
+ readonly listItemType: 'RouteStage';
177
197
  readonly isPrivate: false;
178
- readonly description: "\"";
198
+ readonly description: '"';
179
199
  }, {
180
- readonly methodName: "getRouteStage";
181
- readonly protoName: "GetRouteStage";
182
- readonly paramsType: "GetRouteStageRequest";
183
- readonly returnType: "RouteStage";
200
+ readonly methodName: 'getRouteStage';
201
+ readonly protoName: 'GetRouteStage';
202
+ readonly paramsType: 'GetRouteStageRequest';
203
+ readonly returnType: 'RouteStage';
184
204
  readonly isList: false;
185
- readonly paginationType: "none";
205
+ readonly paginationType: 'none';
186
206
  readonly isPrivate: false;
187
- readonly description: "\"";
207
+ readonly description: '"';
188
208
  }, {
189
- readonly methodName: "listRouteRules";
190
- readonly protoName: "ListRouteRules";
191
- readonly paramsType: "ListRouteRulesRequest";
192
- readonly returnType: "ListRouteRulesResponse";
209
+ readonly methodName: 'listRouteRules';
210
+ readonly protoName: 'ListRouteRules';
211
+ readonly paramsType: 'ListRouteRulesRequest';
212
+ readonly returnType: 'ListRouteRulesResponse';
193
213
  readonly isList: false;
194
- readonly paginationType: "none";
214
+ readonly paginationType: 'none';
195
215
  readonly isPrivate: false;
196
- readonly description: "\"";
216
+ readonly description: '"';
197
217
  }, {
198
- readonly methodName: "searchRouteRules";
199
- readonly protoName: "SearchRouteRules";
200
- readonly paramsType: "SearchRouteRulesRequest";
201
- readonly returnType: "ListRouteRulesResponse";
218
+ readonly methodName: 'searchRouteRules';
219
+ readonly protoName: 'SearchRouteRules';
220
+ readonly paramsType: 'SearchRouteRulesRequest';
221
+ readonly returnType: 'ListRouteRulesResponse';
202
222
  readonly isList: false;
203
- readonly paginationType: "none";
223
+ readonly paginationType: 'none';
204
224
  readonly isPrivate: false;
205
- readonly description: "\"";
225
+ readonly description: '"';
206
226
  }, {
207
- readonly methodName: "listPurgeRequests";
208
- readonly protoName: "ListPurgeRequests";
209
- readonly paramsType: "ListPurgeRequestsRequest";
210
- readonly returnType: "ListPurgeRequestsResponse";
227
+ readonly methodName: 'listPurgeRequests';
228
+ readonly protoName: 'ListPurgeRequests';
229
+ readonly paramsType: 'ListPurgeRequestsRequest';
230
+ readonly returnType: 'ListPurgeRequestsResponse';
211
231
  readonly isList: true;
212
- readonly paginationType: "offset";
213
- readonly pageParamKey: "page";
214
- readonly listItemType: "PurgeRequest";
232
+ readonly paginationType: 'offset';
233
+ readonly pageParamKey: 'page';
234
+ readonly listItemType: 'PurgeRequest';
215
235
  readonly isPrivate: false;
216
- readonly description: "\"";
236
+ readonly description: '"';
217
237
  }, {
218
- readonly methodName: "getPurgeRequest";
219
- readonly protoName: "GetPurgeRequest";
220
- readonly paramsType: "GetPurgeRequestRequest";
221
- readonly returnType: "PurgeRequest";
238
+ readonly methodName: 'getPurgeRequest';
239
+ readonly protoName: 'GetPurgeRequest';
240
+ readonly paramsType: 'GetPurgeRequestRequest';
241
+ readonly returnType: 'PurgeRequest';
222
242
  readonly isList: false;
223
- readonly paginationType: "none";
243
+ readonly paginationType: 'none';
224
244
  readonly isPrivate: false;
225
- readonly description: "\"";
245
+ readonly description: '"';
226
246
  readonly hasWaiter: true;
227
247
  }, {
228
- readonly methodName: "listPlans";
229
- readonly protoName: "ListPlans";
230
- readonly paramsType: "";
231
- readonly returnType: "ListPlansResponse";
248
+ readonly methodName: 'listPlans';
249
+ readonly protoName: 'ListPlans';
250
+ readonly paramsType: '';
251
+ readonly returnType: 'ListPlansResponse';
232
252
  readonly isList: false;
233
- readonly paginationType: "none";
253
+ readonly paginationType: 'none';
234
254
  readonly isPrivate: false;
235
- readonly description: "\"";
255
+ readonly description: '"';
236
256
  }, {
237
- readonly methodName: "getCurrentPlan";
238
- readonly protoName: "GetCurrentPlan";
239
- readonly paramsType: "GetCurrentPlanRequest";
240
- readonly returnType: "Plan";
257
+ readonly methodName: 'getCurrentPlan';
258
+ readonly protoName: 'GetCurrentPlan';
259
+ readonly paramsType: 'GetCurrentPlanRequest';
260
+ readonly returnType: 'Plan';
241
261
  readonly isList: false;
242
- readonly paginationType: "none";
262
+ readonly paginationType: 'none';
243
263
  readonly isPrivate: false;
244
- readonly description: "\"";
264
+ readonly description: '"';
245
265
  }, {
246
- readonly methodName: "getBilling";
247
- readonly protoName: "GetBilling";
248
- readonly paramsType: "GetBillingRequest";
249
- readonly returnType: "GetBillingResponse";
266
+ readonly methodName: 'getBilling';
267
+ readonly protoName: 'GetBilling';
268
+ readonly paramsType: 'GetBillingRequest';
269
+ readonly returnType: 'GetBillingResponse';
250
270
  readonly isList: false;
251
- readonly paginationType: "none";
271
+ readonly paginationType: 'none';
252
272
  readonly isPrivate: false;
253
- readonly description: "\"";
273
+ readonly description: '"';
254
274
  }];
255
275
  }];
256
276
  };
@@ -41,6 +41,28 @@ const queriesMetadata = {
41
41
  isPrivate: false,
42
42
  description: "\""
43
43
  },
44
+ {
45
+ methodName: "getVPCEndpoint",
46
+ protoName: "GetVPCEndpoint",
47
+ paramsType: "GetVPCEndpointRequest",
48
+ returnType: "VPCEndpoint",
49
+ isList: false,
50
+ paginationType: "none",
51
+ isPrivate: false,
52
+ description: "\""
53
+ },
54
+ {
55
+ methodName: "listVPCEndpoints",
56
+ protoName: "ListVPCEndpoints",
57
+ paramsType: "ListVPCEndpointsRequest",
58
+ returnType: "ListVPCEndpointsResponse",
59
+ isList: true,
60
+ paginationType: "offset",
61
+ pageParamKey: "page",
62
+ listItemType: "VPCEndpoint",
63
+ isPrivate: false,
64
+ description: "\""
65
+ },
44
66
  {
45
67
  methodName: "listHeadStages",
46
68
  protoName: "ListHeadStages",
@@ -9,6 +9,7 @@ export type ListPipelinesWithStagesRequestOrderBy = 'created_at_asc' | 'created_
9
9
  export type ListPurgeRequestsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
10
10
  export type ListRouteStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
11
11
  export type ListTLSStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
12
+ export type ListVPCEndpointsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
12
13
  export type ListWafStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
13
14
  export type PipelineErrorCode = 'unknown_code' | 'dns_invalid_format' | 'dns_invalid_tld' | 'dns_forbidden_root_domain' | 'dns_forbidden_scw_cloud' | 'dns_domain_dont_exist' | 'dns_cname_dont_exist' | 'dns_cname_resolve' | 'dns_fqdn_already_exists' | 'dns_fqdn_already_in_use' | 'tls_cert_deleted' | 'tls_cert_disabled' | 'tls_cert_expired' | 'tls_cert_invalid_format' | 'tls_cert_missing' | 'tls_chain_order' | 'tls_key_invalid_format' | 'tls_key_missing' | 'tls_key_too_many' | 'tls_managed_domain_rate_limit' | 'tls_managed_internal' | 'tls_managed_unsupported' | 'tls_not_wildcard' | 'tls_pair_mismatch' | 'tls_root_inconsistent' | 'tls_root_incorrect' | 'tls_root_missing' | 'tls_san_mismatch' | 'tls_self_signed' | 'tls_caa_malfunction' | 'pipeline_invalid_workflow' | 'pipeline_missing_head_stage' | 'pipeline_websocket_limit';
14
15
  export type PipelineErrorSeverity = 'unknown_severity' | 'warning' | 'critical';
@@ -50,6 +51,7 @@ export interface ScalewayLb {
50
51
  * Defines whether to forward websocket requests to the load balancer.
51
52
  */
52
53
  hasWebsocket?: boolean;
54
+ privateNetworkId?: string;
53
55
  }
54
56
  export interface RuleHttpMatchHostFilter {
55
57
  hostFilterType: RuleHttpMatchHostFilterHostFilterType;
@@ -164,11 +166,13 @@ export interface BackendStage {
164
166
  */
165
167
  scalewayLb?: ScalewayLbBackendConfig;
166
168
  /**
169
+ * Scaleway Serverless container origin linked to the backend stage.
167
170
  *
168
171
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
169
172
  */
170
173
  scalewayServerlessContainer?: ScalewayServerlessContainerBackendConfig;
171
174
  /**
175
+ * Scaleway Serverless function origin linked to the backend stage.
172
176
  *
173
177
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
174
178
  */
@@ -229,6 +233,7 @@ export interface DNSStage {
229
233
  * Default Fully Qualified Domain Name attached to the stage.
230
234
  */
231
235
  defaultFqdn: string;
236
+ defaultPrivateFqdn: string;
232
237
  /**
233
238
  * List of additional (custom) Fully Qualified Domain Names attached to the stage.
234
239
  */
@@ -275,6 +280,10 @@ export interface DNSStage {
275
280
  * Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
276
281
  */
277
282
  wildcardDomain: boolean;
283
+ /**
284
+ * Fully Qualified Domain Names are accessible exclusively within the VPC.
285
+ */
286
+ fullPrivate: boolean;
278
287
  }
279
288
  export interface Pipeline {
280
289
  /**
@@ -313,6 +322,7 @@ export interface Pipeline {
313
322
  * Date the pipeline was last updated.
314
323
  */
315
324
  updatedAt?: Date;
325
+ vpcEndpointIds: string[];
316
326
  }
317
327
  export interface RouteStage {
318
328
  /**
@@ -581,6 +591,32 @@ export interface PurgeRequest {
581
591
  */
582
592
  updatedAt?: Date;
583
593
  }
594
+ export interface VPCEndpoint {
595
+ /**
596
+ * The VPC Endpoint ID.
597
+ */
598
+ id: string;
599
+ /**
600
+ * Project ID of the VPC Endpoint.
601
+ */
602
+ projectId: string;
603
+ /**
604
+ * Zone of the VPC Endpoint.
605
+ */
606
+ region: ScwRegion;
607
+ /**
608
+ * Private Network ID of the VPC Endpoint.
609
+ */
610
+ privateNetworkId: string;
611
+ /**
612
+ * Date the VPC Endpoint was created.
613
+ */
614
+ createdAt?: Date;
615
+ /**
616
+ * Date the VPC Endpoint was last updated.
617
+ */
618
+ updatedAt?: Date;
619
+ }
584
620
  export interface SetHeadStageRequestAddNewHeadStage {
585
621
  newStageId: string;
586
622
  }
@@ -675,11 +711,13 @@ export type CreateBackendStageRequest = {
675
711
  */
676
712
  scalewayLb?: ScalewayLbBackendConfig;
677
713
  /**
714
+ * Scaleway Serverless container origin linked to the backend stage.
678
715
  *
679
716
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
680
717
  */
681
718
  scalewayServerlessContainer?: ScalewayServerlessContainerBackendConfig;
682
719
  /**
720
+ * Scaleway Serverless function origin linked to the backend stage.
683
721
  *
684
722
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
685
723
  */
@@ -746,6 +784,10 @@ export type CreateDNSStageRequest = {
746
784
  * Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
747
785
  */
748
786
  wildcardDomain?: boolean;
787
+ /**
788
+ * When true, Fully Qualified Domain Names are accessible exclusively within the VPC.
789
+ */
790
+ fullPrivate?: boolean;
749
791
  };
750
792
  export type CreatePipelineRequest = {
751
793
  /**
@@ -833,6 +875,20 @@ export type CreateTLSStageRequest = {
833
875
  */
834
876
  wafStageId?: string;
835
877
  };
878
+ export type CreateVPCEndpointRequest = {
879
+ /**
880
+ * Project ID of the VPC Endpoint.
881
+ */
882
+ projectId?: string;
883
+ /**
884
+ * Zone of the VPC Endpoint.
885
+ */
886
+ region?: ScwRegion;
887
+ /**
888
+ * Private Network ID of the VPC Endpoint.
889
+ */
890
+ privateNetworkId: string;
891
+ };
836
892
  export type CreateWafStageRequest = {
837
893
  /**
838
894
  * Pipeline ID the WAF stage belongs to.
@@ -892,6 +948,12 @@ export type DeleteTLSStageRequest = {
892
948
  */
893
949
  tlsStageId: string;
894
950
  };
951
+ export type DeleteVPCEndpointRequest = {
952
+ /**
953
+ * The VPC Endpoint ID.
954
+ */
955
+ vpcEndpointId: string;
956
+ };
895
957
  export type DeleteWafStageRequest = {
896
958
  /**
897
959
  * ID of the WAF stage to delete.
@@ -1000,6 +1062,12 @@ export type GetTLSStageRequest = {
1000
1062
  */
1001
1063
  tlsStageId: string;
1002
1064
  };
1065
+ export type GetVPCEndpointRequest = {
1066
+ /**
1067
+ * The VPC Endpoint ID.
1068
+ */
1069
+ vpcEndpointId: string;
1070
+ };
1003
1071
  export type GetWafStageRequest = {
1004
1072
  /**
1005
1073
  * ID of the requested WAF stage.
@@ -1206,7 +1274,7 @@ export type ListPurgeRequestsRequest = {
1206
1274
  */
1207
1275
  pageSize?: number;
1208
1276
  /**
1209
- * Organization ID to filter for. Only purge requests from this Project will be returned.
1277
+ * Organization ID to filter for. Only purge requests from this Organization will be returned.
1210
1278
  */
1211
1279
  organizationId?: string;
1212
1280
  /**
@@ -1308,6 +1376,38 @@ export interface ListTLSStagesResponse {
1308
1376
  */
1309
1377
  totalCount: number;
1310
1378
  }
1379
+ export type ListVPCEndpointsRequest = {
1380
+ /**
1381
+ * Sort order of VPC Endpoints in the response.
1382
+ */
1383
+ orderBy?: ListVPCEndpointsRequestOrderBy;
1384
+ /**
1385
+ * Page number to return, from the paginated results.
1386
+ */
1387
+ page?: number;
1388
+ /**
1389
+ * Number of VPC Endpoints to return per page.
1390
+ */
1391
+ pageSize?: number;
1392
+ /**
1393
+ * Project ID to filter for. Only VPC Endpoints from this project will be returned.
1394
+ */
1395
+ projectId?: string;
1396
+ /**
1397
+ * Organization ID to filter for. Only VPC Endpoints from this Organization will be returned.
1398
+ */
1399
+ organizationId?: string;
1400
+ };
1401
+ export interface ListVPCEndpointsResponse {
1402
+ /**
1403
+ * Paginated list of VPC Endpoints.
1404
+ */
1405
+ vpcEndpoints: VPCEndpoint[];
1406
+ /**
1407
+ * Count of all VPC Endpoints matching the requested criteria.
1408
+ */
1409
+ totalCount: number;
1410
+ }
1311
1411
  export type ListWafStagesRequest = {
1312
1412
  /**
1313
1413
  * Pipeline ID to filter for. Only WAF stages from this pipeline will be returned.
@@ -1389,6 +1489,30 @@ export type SetHeadStageRequest = {
1389
1489
  */
1390
1490
  swapHeadStage?: SetHeadStageRequestSwapHeadStage;
1391
1491
  };
1492
+ export type SetPipelineVPCEndpointsRequest = {
1493
+ /**
1494
+ * Pipeline ID for which VPC Endpoints must be set.
1495
+ */
1496
+ pipelineId: string;
1497
+ /**
1498
+ * List of VPC Endpoints to attach.
1499
+ */
1500
+ vpcEndpointIds?: string[];
1501
+ };
1502
+ export interface SetPipelineVPCEndpointsResponse {
1503
+ /**
1504
+ * Pipeline ID.
1505
+ */
1506
+ pipelineId: string;
1507
+ /**
1508
+ * List of VPC Endpoints for the given Pipeline ID.
1509
+ */
1510
+ vpcEndpoints: VPCEndpoint[];
1511
+ /**
1512
+ * Count of all VPC Endpoints for the given Pipeline ID.
1513
+ */
1514
+ totalCount: number;
1515
+ }
1392
1516
  export type SetRouteRulesRequest = {
1393
1517
  /**
1394
1518
  * ID of the route stage to update.
@@ -1423,11 +1547,13 @@ export type UpdateBackendStageRequest = {
1423
1547
  */
1424
1548
  scalewayLb?: ScalewayLbBackendConfig;
1425
1549
  /**
1550
+ * Scaleway Serverless container origin linked to the backend stage.
1426
1551
  *
1427
1552
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
1428
1553
  */
1429
1554
  scalewayServerlessContainer?: ScalewayServerlessContainerBackendConfig;
1430
1555
  /**
1556
+ * Scaleway Serverless function origin linked to the backend stage.
1431
1557
  *
1432
1558
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
1433
1559
  */
@@ -1498,6 +1624,10 @@ export type UpdateDNSStageRequest = {
1498
1624
  * Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
1499
1625
  */
1500
1626
  wildcardDomain?: boolean;
1627
+ /**
1628
+ * When true, Fully Qualified Domain Names are accessible exclusively within the VPC.
1629
+ */
1630
+ fullPrivate?: boolean;
1501
1631
  };
1502
1632
  export type UpdatePipelineRequest = {
1503
1633
  /**
@@ -4,6 +4,15 @@ export declare const CreateWafStageRequest: {
4
4
  lessThanOrEqual: number;
5
5
  };
6
6
  };
7
+ export declare const ListVPCEndpointsRequest: {
8
+ page: {
9
+ greaterThanOrEqual: number;
10
+ };
11
+ pageSize: {
12
+ greaterThanOrEqual: number;
13
+ lessThanOrEqual: number;
14
+ };
15
+ };
7
16
  export declare const UpdateWafStageRequest: {
8
17
  paranoiaLevel: {
9
18
  greaterThanOrEqual: number;
@@ -2,6 +2,7 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  //#region src/v1beta1/validation-rules.gen.ts
3
3
  var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
4
4
  CreateWafStageRequest: () => CreateWafStageRequest,
5
+ ListVPCEndpointsRequest: () => ListVPCEndpointsRequest,
5
6
  UpdateWafStageRequest: () => UpdateWafStageRequest,
6
7
  WafStage: () => WafStage
7
8
  });
@@ -9,6 +10,13 @@ const CreateWafStageRequest = { paranoiaLevel: {
9
10
  greaterThanOrEqual: 1,
10
11
  lessThanOrEqual: 4
11
12
  } };
13
+ const ListVPCEndpointsRequest = {
14
+ page: { greaterThanOrEqual: 1 },
15
+ pageSize: {
16
+ greaterThanOrEqual: 0,
17
+ lessThanOrEqual: 1e3
18
+ }
19
+ };
12
20
  const UpdateWafStageRequest = { paranoiaLevel: {
13
21
  greaterThanOrEqual: 1,
14
22
  lessThanOrEqual: 4
@@ -18,4 +26,4 @@ const WafStage = { paranoiaLevel: {
18
26
  lessThanOrEqual: 4
19
27
  } };
20
28
  //#endregion
21
- export { CreateWafStageRequest, UpdateWafStageRequest, WafStage, validation_rules_gen_exports };
29
+ export { CreateWafStageRequest, ListVPCEndpointsRequest, UpdateWafStageRequest, WafStage, validation_rules_gen_exports };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-edge-services",
3
- "version": "2.13.1",
3
+ "version": "2.15.0",
4
4
  "description": "Scaleway SDK edge-services",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,17 +32,17 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@scaleway/random-name": "5.1.4",
35
- "@scaleway/sdk-std": "2.4.1"
35
+ "@scaleway/sdk-std": "2.4.2"
36
36
  },
37
37
  "devDependencies": {
38
- "@scaleway/sdk-client": "^2.3.1",
39
- "@repo/configs": "^0.1.1"
38
+ "@repo/configs": "^0.1.1",
39
+ "@scaleway/sdk-client": "^2.4.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@scaleway/sdk-client": "^2.3.1"
42
+ "@scaleway/sdk-client": "^2.4.0"
43
43
  },
44
44
  "engines": {
45
- "node": ">=20.19.6"
45
+ "node": ">=20.20.2"
46
46
  },
47
47
  "scripts": {
48
48
  "package:check": "pnpm publint",