@scaleway/sdk-edge-services 1.0.5 → 1.2.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.
@@ -371,7 +371,7 @@ class API extends sdkClient.API {
371
371
  marshalling_gen.unmarshalCacheStage
372
372
  );
373
373
  /**
374
- * Update cache stage. Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl` and `backend_stage_id`.
374
+ * Update cache stage. Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl`, `include_cookies` and `backend_stage_id`.
375
375
  *
376
376
  * @param request - The request {@link UpdateCacheStageRequest}
377
377
  * @returns A Promise of CacheStage
@@ -721,6 +721,29 @@ class API extends sdkClient.API {
721
721
  },
722
722
  marshalling_gen.unmarshalAddRouteRulesResponse
723
723
  );
724
+ /**
725
+ * List route rules. List all route rules of an organization or project.
726
+ *
727
+ * @param request - The request {@link SearchRouteRulesRequest}
728
+ * @returns A Promise of ListRouteRulesResponse
729
+ */
730
+ searchRouteRules = (request = {}) => this.client.fetch(
731
+ {
732
+ method: "GET",
733
+ path: `/edge-services/v1beta1/search-route-rules`,
734
+ urlParams: sdkClient.urlParams(
735
+ ["order_by", request.orderBy],
736
+ ["organization_id", request.organizationId],
737
+ ["page", request.page],
738
+ [
739
+ "page_size",
740
+ request.pageSize ?? this.client.settings.defaultPageSize
741
+ ],
742
+ ["project_id", request.projectId]
743
+ )
744
+ },
745
+ marshalling_gen.unmarshalListRouteRulesResponse
746
+ );
724
747
  checkDomain = (request) => this.client.fetch(
725
748
  {
726
749
  body: JSON.stringify(
@@ -1,6 +1,6 @@
1
- import { API as ParentAPI } from '@scaleway/sdk-client';
2
1
  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, CreateWafStageRequest, DNSStage, DeleteBackendStageRequest, DeleteCacheStageRequest, DeleteCurrentPlanRequest, DeleteDNSStageRequest, DeletePipelineRequest, DeleteRouteStageRequest, DeleteTLSStageRequest, DeleteWafStageRequest, 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, SearchWafStagesRequest, SelectPlanRequest, SetHeadStageRequest, SetRouteRulesRequest, SetRouteRulesResponse, TLSStage, UpdateBackendStageRequest, UpdateCacheStageRequest, UpdateDNSStageRequest, UpdatePipelineRequest, UpdateRouteStageRequest, UpdateTLSStageRequest, UpdateWafStageRequest, WafStage } from './types.gen';
2
+ 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';
4
4
  /**
5
5
  * Edge Services API.
6
6
  */
@@ -170,7 +170,7 @@ export declare class API extends ParentAPI {
170
170
  */
171
171
  getCacheStage: (request: Readonly<GetCacheStageRequest>) => Promise<CacheStage>;
172
172
  /**
173
- * Update cache stage. Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl` and `backend_stage_id`.
173
+ * Update cache stage. Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl`, `include_cookies` and `backend_stage_id`.
174
174
  *
175
175
  * @param request - The request {@link UpdateCacheStageRequest}
176
176
  * @returns A Promise of CacheStage
@@ -319,6 +319,13 @@ export declare class API extends ParentAPI {
319
319
  * @returns A Promise of AddRouteRulesResponse
320
320
  */
321
321
  addRouteRules: (request: Readonly<AddRouteRulesRequest>) => Promise<AddRouteRulesResponse>;
322
+ /**
323
+ * List route rules. List all route rules of an organization or project.
324
+ *
325
+ * @param request - The request {@link SearchRouteRulesRequest}
326
+ * @returns A Promise of ListRouteRulesResponse
327
+ */
328
+ searchRouteRules: (request?: Readonly<SearchRouteRulesRequest>) => Promise<ListRouteRulesResponse>;
322
329
  checkDomain: (request: Readonly<CheckDomainRequest>) => Promise<CheckDomainResponse>;
323
330
  checkPEMChain: (request: Readonly<CheckPEMChainRequest>) => Promise<CheckPEMChainResponse>;
324
331
  protected pageOfListPurgeRequests: (request?: Readonly<ListPurgeRequestsRequest>) => Promise<ListPurgeRequestsResponse>;
@@ -369,7 +369,7 @@ class API extends API$1 {
369
369
  unmarshalCacheStage
370
370
  );
371
371
  /**
372
- * Update cache stage. Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl` and `backend_stage_id`.
372
+ * Update cache stage. Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl`, `include_cookies` and `backend_stage_id`.
373
373
  *
374
374
  * @param request - The request {@link UpdateCacheStageRequest}
375
375
  * @returns A Promise of CacheStage
@@ -719,6 +719,29 @@ class API extends API$1 {
719
719
  },
720
720
  unmarshalAddRouteRulesResponse
721
721
  );
722
+ /**
723
+ * List route rules. List all route rules of an organization or project.
724
+ *
725
+ * @param request - The request {@link SearchRouteRulesRequest}
726
+ * @returns A Promise of ListRouteRulesResponse
727
+ */
728
+ searchRouteRules = (request = {}) => this.client.fetch(
729
+ {
730
+ method: "GET",
731
+ path: `/edge-services/v1beta1/search-route-rules`,
732
+ urlParams: urlParams(
733
+ ["order_by", request.orderBy],
734
+ ["organization_id", request.organizationId],
735
+ ["page", request.page],
736
+ [
737
+ "page_size",
738
+ request.pageSize ?? this.client.settings.defaultPageSize
739
+ ],
740
+ ["project_id", request.projectId]
741
+ )
742
+ },
743
+ unmarshalListRouteRulesResponse
744
+ );
722
745
  checkDomain = (request) => this.client.fetch(
723
746
  {
724
747
  body: JSON.stringify(
@@ -1,5 +1,5 @@
1
1
  export { API } from './api.gen';
2
2
  export * from './content.gen';
3
3
  export * from './marshalling.gen';
4
- export type { AddRouteRulesRequest, AddRouteRulesResponse, BackendStage, CacheStage, CheckDomainRequest, CheckDomainResponse, CheckLbOriginRequest, CheckLbOriginResponse, CheckPEMChainRequest, CheckPEMChainRequestSecretChain, CheckPEMChainResponse, CreateBackendStageRequest, CreateCacheStageRequest, CreateDNSStageRequest, CreatePipelineRequest, CreatePurgeRequestRequest, CreateRouteStageRequest, CreateTLSStageRequest, CreateWafStageRequest, DNSStage, DNSStageType, DeleteBackendStageRequest, DeleteCacheStageRequest, DeleteCurrentPlanRequest, DeleteDNSStageRequest, DeletePipelineRequest, DeleteRouteStageRequest, DeleteTLSStageRequest, DeleteWafStageRequest, 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, RuleHttpMatchMethodFilter, RuleHttpMatchPathFilter, RuleHttpMatchPathFilterPathFilterType, ScalewayLb, ScalewayLbBackendConfig, ScalewayS3BackendConfig, SearchBackendStagesRequest, SearchBackendStagesRequestOrderBy, SearchWafStagesRequest, SearchWafStagesRequestOrderBy, SelectPlanRequest, SetHeadStageRequest, SetHeadStageRequestAddNewHeadStage, SetHeadStageRequestRemoveHeadStage, SetHeadStageRequestSwapHeadStage, SetRouteRulesRequest, SetRouteRulesRequestRouteRule, SetRouteRulesResponse, TLSSecret, TLSSecretsConfig, TLSStage, UpdateBackendStageRequest, UpdateCacheStageRequest, UpdateDNSStageRequest, UpdatePipelineRequest, UpdateRouteStageRequest, UpdateTLSStageRequest, UpdateWafStageRequest, WafStage, WafStageMode, } from './types.gen';
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, RuleHttpMatchMethodFilter, RuleHttpMatchPathFilter, RuleHttpMatchPathFilterPathFilterType, ScalewayLb, ScalewayLbBackendConfig, ScalewayS3BackendConfig, SearchBackendStagesRequest, SearchBackendStagesRequestOrderBy, SearchRouteRulesRequest, SearchRouteRulesRequestOrderBy, SearchWafStagesRequest, SearchWafStagesRequestOrderBy, SelectPlanRequest, SetHeadStageRequest, SetHeadStageRequestAddNewHeadStage, SetHeadStageRequestRemoveHeadStage, SetHeadStageRequestSwapHeadStage, SetRouteRulesRequest, SetRouteRulesRequestRouteRule, SetRouteRulesResponse, TLSSecret, TLSSecretsConfig, TLSStage, UpdateBackendStageRequest, UpdateCacheStageRequest, UpdateDNSStageRequest, UpdatePipelineRequest, UpdateRouteStageRequest, UpdateTLSStageRequest, UpdateWafStageRequest, WafStage, WafStageMode, } from './types.gen';
5
5
  export * as ValidationRules from './validation-rules.gen';
@@ -63,6 +63,7 @@ const unmarshalCacheStage = (data) => {
63
63
  createdAt: sdkClient.unmarshalDate(data.created_at),
64
64
  fallbackTtl: data.fallback_ttl,
65
65
  id: data.id,
66
+ includeCookies: data.include_cookies,
66
67
  pipelineId: data.pipeline_id,
67
68
  routeStageId: data.route_stage_id,
68
69
  updatedAt: sdkClient.unmarshalDate(data.updated_at),
@@ -470,7 +471,8 @@ const unmarshalListRouteRulesResponse = (data) => {
470
471
  );
471
472
  }
472
473
  return {
473
- routeRules: sdkClient.unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule)
474
+ routeRules: sdkClient.unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule),
475
+ totalCount: data.total_count
474
476
  };
475
477
  };
476
478
  const unmarshalListRouteStagesResponse = (data) => {
@@ -606,6 +608,7 @@ const marshalCreateBackendStageRequest = (request, defaults) => ({
606
608
  });
607
609
  const marshalCreateCacheStageRequest = (request, defaults) => ({
608
610
  fallback_ttl: request.fallbackTtl,
611
+ include_cookies: request.includeCookies,
609
612
  ...sdkClient.resolveOneOf([
610
613
  { param: "backend_stage_id", value: request.backendStageId },
611
614
  { param: "waf_stage_id", value: request.wafStageId },
@@ -712,6 +715,7 @@ const marshalUpdateBackendStageRequest = (request, defaults) => ({
712
715
  });
713
716
  const marshalUpdateCacheStageRequest = (request, defaults) => ({
714
717
  fallback_ttl: request.fallbackTtl,
718
+ include_cookies: request.includeCookies,
715
719
  ...sdkClient.resolveOneOf([
716
720
  { param: "backend_stage_id", value: request.backendStageId },
717
721
  { param: "waf_stage_id", value: request.wafStageId },
@@ -61,6 +61,7 @@ const unmarshalCacheStage = (data) => {
61
61
  createdAt: unmarshalDate(data.created_at),
62
62
  fallbackTtl: data.fallback_ttl,
63
63
  id: data.id,
64
+ includeCookies: data.include_cookies,
64
65
  pipelineId: data.pipeline_id,
65
66
  routeStageId: data.route_stage_id,
66
67
  updatedAt: unmarshalDate(data.updated_at),
@@ -468,7 +469,8 @@ const unmarshalListRouteRulesResponse = (data) => {
468
469
  );
469
470
  }
470
471
  return {
471
- routeRules: unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule)
472
+ routeRules: unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule),
473
+ totalCount: data.total_count
472
474
  };
473
475
  };
474
476
  const unmarshalListRouteStagesResponse = (data) => {
@@ -604,6 +606,7 @@ const marshalCreateBackendStageRequest = (request, defaults) => ({
604
606
  });
605
607
  const marshalCreateCacheStageRequest = (request, defaults) => ({
606
608
  fallback_ttl: request.fallbackTtl,
609
+ include_cookies: request.includeCookies,
607
610
  ...resolveOneOf([
608
611
  { param: "backend_stage_id", value: request.backendStageId },
609
612
  { param: "waf_stage_id", value: request.wafStageId },
@@ -710,6 +713,7 @@ const marshalUpdateBackendStageRequest = (request, defaults) => ({
710
713
  });
711
714
  const marshalUpdateCacheStageRequest = (request, defaults) => ({
712
715
  fallback_ttl: request.fallbackTtl,
716
+ include_cookies: request.includeCookies,
713
717
  ...resolveOneOf([
714
718
  { param: "backend_stage_id", value: request.backendStageId },
715
719
  { param: "waf_stage_id", value: request.wafStageId },
@@ -20,6 +20,7 @@ export type PurgeRequestStatus = 'unknown_status' | 'done' | 'error' | 'pending'
20
20
  export type RuleHttpMatchMethodFilter = 'unknown_method_filter' | 'get' | 'post' | 'put' | 'patch' | 'delete' | 'head' | 'options';
21
21
  export type RuleHttpMatchPathFilterPathFilterType = 'unknown_path_filter' | 'regex';
22
22
  export type SearchBackendStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
23
+ export type SearchRouteRulesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
23
24
  export type SearchWafStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
24
25
  export type WafStageMode = 'unknown_mode' | 'disable' | 'log_only' | 'enable';
25
26
  export interface ScalewayLb {
@@ -144,6 +145,10 @@ export interface CacheStage {
144
145
  * Time To Live (TTL) in seconds. Defines how long content is cached.
145
146
  */
146
147
  fallbackTtl?: string;
148
+ /**
149
+ * Defines whether responses to requests with cookies must be stored in the cache.
150
+ */
151
+ includeCookies: boolean;
147
152
  /**
148
153
  * Date the cache stage was created.
149
154
  */
@@ -583,6 +588,10 @@ export type CreateCacheStageRequest = {
583
588
  * Time To Live (TTL) in seconds. Defines how long content is cached.
584
589
  */
585
590
  fallbackTtl?: string;
591
+ /**
592
+ * Defines whether responses to requests with cookies must be stored in the cache.
593
+ */
594
+ includeCookies?: boolean;
586
595
  /**
587
596
  * Backend stage ID the cache stage will be linked to.
588
597
  *
@@ -1114,6 +1123,10 @@ export interface ListRouteRulesResponse {
1114
1123
  * List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
1115
1124
  */
1116
1125
  routeRules: RouteRule[];
1126
+ /**
1127
+ * Count of all route rules matching the requested criteria.
1128
+ */
1129
+ totalCount: number;
1117
1130
  }
1118
1131
  export type ListRouteStagesRequest = {
1119
1132
  /**
@@ -1219,6 +1232,13 @@ export type SearchBackendStagesRequest = {
1219
1232
  bucketRegion?: string;
1220
1233
  lbId?: string;
1221
1234
  };
1235
+ export type SearchRouteRulesRequest = {
1236
+ orderBy?: SearchRouteRulesRequestOrderBy;
1237
+ page?: number;
1238
+ pageSize?: number;
1239
+ organizationId?: string;
1240
+ projectId?: string;
1241
+ };
1222
1242
  export type SearchWafStagesRequest = {
1223
1243
  orderBy?: SearchWafStagesRequestOrderBy;
1224
1244
  page?: number;
@@ -1300,6 +1320,10 @@ export type UpdateCacheStageRequest = {
1300
1320
  * Time To Live (TTL) in seconds. Defines how long content is cached.
1301
1321
  */
1302
1322
  fallbackTtl?: string;
1323
+ /**
1324
+ * Defines whether responses to requests with cookies must be stored in the cache.
1325
+ */
1326
+ includeCookies?: boolean;
1303
1327
  /**
1304
1328
  * Backend stage ID the cache stage will be linked to.
1305
1329
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-edge-services",
3
- "version": "1.0.5",
3
+ "version": "1.2.0",
4
4
  "description": "Scaleway SDK edge-services",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -26,17 +26,17 @@
26
26
  "directory": "packages_generated/edge-services"
27
27
  },
28
28
  "engines": {
29
- "node": ">=20.19.1"
29
+ "node": ">=20.19.4"
30
30
  },
31
31
  "dependencies": {
32
- "@scaleway/random-name": "5.1.1",
33
- "@scaleway/sdk-std": "1.0.5"
32
+ "@scaleway/random-name": "5.1.2",
33
+ "@scaleway/sdk-std": "1.0.6"
34
34
  },
35
35
  "peerDependencies": {
36
- "@scaleway/sdk-client": "^1.3.0"
36
+ "@scaleway/sdk-client": "^1.3.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@scaleway/sdk-client": "^1.3.0"
39
+ "@scaleway/sdk-client": "^1.3.1"
40
40
  },
41
41
  "scripts": {
42
42
  "package:check": "pnpm publint",