@scaleway/sdk-search 1.10.0 → 1.11.1

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.
@@ -0,0 +1,9 @@
1
+ import type { ObsDatasourceInfoDataType, ObsExporterInfoDestinationType, ResourceType, SearchResourcesRequestOrderBy } from './types.gen.js';
2
+ /** Lists all values of the enum {@link ObsDatasourceInfoDataType}. */
3
+ export declare const OBS_DATASOURCE_INFO_DATA_TYPES: ObsDatasourceInfoDataType[];
4
+ /** Lists all values of the enum {@link ObsExporterInfoDestinationType}. */
5
+ export declare const OBS_EXPORTER_INFO_DESTINATION_TYPES: ObsExporterInfoDestinationType[];
6
+ /** Lists all values of the enum {@link ResourceType}. */
7
+ export declare const RESOURCE_TYPES: ResourceType[];
8
+ /** Lists all values of the enum {@link SearchResourcesRequestOrderBy}. */
9
+ export declare const SEARCH_RESOURCES_REQUEST_ORDER_BIES: SearchResourcesRequestOrderBy[];
@@ -0,0 +1,84 @@
1
+ //#region src/v1alpha1/constants.gen.ts
2
+ /** Lists all values of the enum {@link ObsDatasourceInfoDataType}. */
3
+ const OBS_DATASOURCE_INFO_DATA_TYPES = [
4
+ "unknown_data_type",
5
+ "metrics",
6
+ "logs",
7
+ "traces"
8
+ ];
9
+ /** Lists all values of the enum {@link ObsExporterInfoDestinationType}. */
10
+ const OBS_EXPORTER_INFO_DESTINATION_TYPES = [
11
+ "unknown_destination_type",
12
+ "datadog",
13
+ "otlp"
14
+ ];
15
+ /** Lists all values of the enum {@link ResourceType}. */
16
+ const RESOURCE_TYPES = [
17
+ "unknown_type",
18
+ "instance_server",
19
+ "instance_volume",
20
+ "instance_image",
21
+ "instance_security_group",
22
+ "instance_private_nic",
23
+ "instance_snapshot",
24
+ "instance_placement_group",
25
+ "instance_template",
26
+ "k8s_cluster",
27
+ "k8s_pool",
28
+ "k8s_node",
29
+ "domain_domain",
30
+ "dns_zone",
31
+ "vpc_private_network",
32
+ "vpc_vpc",
33
+ "vpg_gateway",
34
+ "apple_silicon_server",
35
+ "rdb_instance",
36
+ "rdb_snapshot",
37
+ "rdb_backup",
38
+ "baremetal_server",
39
+ "tem_domain",
40
+ "lb_server",
41
+ "serverless_functions_function",
42
+ "serverless_containers_container",
43
+ "wbh_hosting",
44
+ "redis_cluster",
45
+ "sm_secret",
46
+ "kms_key",
47
+ "edg_pipeline",
48
+ "mnq_nats_account",
49
+ "sbs_volume",
50
+ "sbs_snapshot",
51
+ "serverless_job_definition",
52
+ "serverless_sqldb_database",
53
+ "serverless_sqldb_backup",
54
+ "ddl_datalab",
55
+ "mgdb_instance",
56
+ "mgdb_snapshot",
57
+ "ifr_deployment",
58
+ "ifr_model",
59
+ "gapi_batch",
60
+ "dtwh_deployment",
61
+ "obs_datasource",
62
+ "obs_exporter",
63
+ "svpn_vpn_gateway",
64
+ "svpn_customer_gateway",
65
+ "svpn_connection",
66
+ "svpn_routing_policy",
67
+ "kafk_cluster",
68
+ "sedb_cluster",
69
+ "autoscaling_group"
70
+ ];
71
+ /** Lists all values of the enum {@link SearchResourcesRequestOrderBy}. */
72
+ const SEARCH_RESOURCES_REQUEST_ORDER_BIES = [
73
+ "relevance",
74
+ "created_at_asc",
75
+ "created_at_desc",
76
+ "modified_at_asc",
77
+ "modified_at_desc",
78
+ "name_asc",
79
+ "name_desc",
80
+ "type_asc",
81
+ "type_desc"
82
+ ];
83
+ //#endregion
84
+ export { OBS_DATASOURCE_INFO_DATA_TYPES, OBS_EXPORTER_INFO_DESTINATION_TYPES, RESOURCE_TYPES, SEARCH_RESOURCES_REQUEST_ORDER_BIES };
@@ -1,4 +1,5 @@
1
1
  export { API, } from './api.gen.js';
2
+ export * from './constants.gen.js';
2
3
  export * from './marshalling.gen.js';
3
4
  export type { BrmServerInfo, ObsDatasourceInfo, ObsDatasourceInfoDataType, ObsExporterInfo, ObsExporterInfoDestinationType, Resource, ResourceType, SearchResourcesRequest, SearchResourcesRequestOrderBy, SearchResourcesResponse, ServerlessContainersContainerInfo, ServerlessFunctionsFunctionInfo, ServerlessSqldbBackupInfo, VpcPrivateNetworkInfo, } from './types.gen.js';
4
5
  export * as ValidationRules from './validation-rules.gen.js';
@@ -1,12 +1,17 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { unmarshalSearchResourcesResponse } from "./marshalling.gen.js";
3
3
  import { API } from "./api.gen.js";
4
+ import { OBS_DATASOURCE_INFO_DATA_TYPES, OBS_EXPORTER_INFO_DESTINATION_TYPES, RESOURCE_TYPES, SEARCH_RESOURCES_REQUEST_ORDER_BIES } from "./constants.gen.js";
4
5
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
5
6
  //#region src/v1alpha1/index.gen.ts
6
7
  var index_gen_exports = /* @__PURE__ */ __exportAll({
7
8
  API: () => API,
9
+ OBS_DATASOURCE_INFO_DATA_TYPES: () => OBS_DATASOURCE_INFO_DATA_TYPES,
10
+ OBS_EXPORTER_INFO_DESTINATION_TYPES: () => OBS_EXPORTER_INFO_DESTINATION_TYPES,
11
+ RESOURCE_TYPES: () => RESOURCE_TYPES,
12
+ SEARCH_RESOURCES_REQUEST_ORDER_BIES: () => SEARCH_RESOURCES_REQUEST_ORDER_BIES,
8
13
  ValidationRules: () => validation_rules_gen_exports,
9
14
  unmarshalSearchResourcesResponse: () => unmarshalSearchResourcesResponse
10
15
  });
11
16
  //#endregion
12
- export { API, validation_rules_gen_exports as ValidationRules, index_gen_exports, unmarshalSearchResourcesResponse };
17
+ export { API, OBS_DATASOURCE_INFO_DATA_TYPES, OBS_EXPORTER_INFO_DESTINATION_TYPES, RESOURCE_TYPES, SEARCH_RESOURCES_REQUEST_ORDER_BIES, validation_rules_gen_exports as ValidationRules, index_gen_exports, unmarshalSearchResourcesResponse };
@@ -1,7 +1,7 @@
1
1
  import type { Region as ScwRegion, Zone as ScwZone } from '@scaleway/sdk-client';
2
2
  export type ObsDatasourceInfoDataType = 'unknown_data_type' | 'metrics' | 'logs' | 'traces';
3
3
  export type ObsExporterInfoDestinationType = 'unknown_destination_type' | 'datadog' | 'otlp';
4
- export type ResourceType = 'unknown_type' | 'instance_server' | 'instance_volume' | 'instance_image' | 'instance_security_group' | 'instance_private_nic' | 'instance_snapshot' | 'instance_placement_group' | 'instance_template' | 'k8s_cluster' | 'k8s_pool' | 'k8s_node' | 'domain_domain' | 'dns_zone' | 'vpc_private_network' | 'vpc_vpc' | 'vpg_gateway' | 'apple_silicon_server' | 'rdb_instance' | 'rdb_snapshot' | 'rdb_backup' | 'baremetal_server' | 'tem_domain' | 'lb_server' | 'serverless_functions_function' | 'serverless_containers_container' | 'wbh_hosting' | 'redis_cluster' | 'sm_secret' | 'kms_key' | 'edg_pipeline' | 'mnq_nats_account' | 'sbs_volume' | 'sbs_snapshot' | 'serverless_job_definition' | 'serverless_sqldb_database' | 'serverless_sqldb_backup' | 'ddl_datalab' | 'mgdb_instance' | 'mgdb_snapshot' | 'ifr_deployment' | 'ifr_model' | 'gapi_batch' | 'dtwh_deployment' | 'obs_datasource' | 'obs_exporter' | 'svpn_vpn_gateway' | 'svpn_customer_gateway' | 'svpn_connection' | 'svpn_routing_policy' | 'kafk_cluster' | 'iam_api_key' | 'iam_application' | 'iam_user' | 'iam_group' | 'iam_policy' | 'sedb_cluster' | 'autoscaling_group';
4
+ export type ResourceType = 'unknown_type' | 'instance_server' | 'instance_volume' | 'instance_image' | 'instance_security_group' | 'instance_private_nic' | 'instance_snapshot' | 'instance_placement_group' | 'instance_template' | 'k8s_cluster' | 'k8s_pool' | 'k8s_node' | 'domain_domain' | 'dns_zone' | 'vpc_private_network' | 'vpc_vpc' | 'vpg_gateway' | 'apple_silicon_server' | 'rdb_instance' | 'rdb_snapshot' | 'rdb_backup' | 'baremetal_server' | 'tem_domain' | 'lb_server' | 'serverless_functions_function' | 'serverless_containers_container' | 'wbh_hosting' | 'redis_cluster' | 'sm_secret' | 'kms_key' | 'edg_pipeline' | 'mnq_nats_account' | 'sbs_volume' | 'sbs_snapshot' | 'serverless_job_definition' | 'serverless_sqldb_database' | 'serverless_sqldb_backup' | 'ddl_datalab' | 'mgdb_instance' | 'mgdb_snapshot' | 'ifr_deployment' | 'ifr_model' | 'gapi_batch' | 'dtwh_deployment' | 'obs_datasource' | 'obs_exporter' | 'svpn_vpn_gateway' | 'svpn_customer_gateway' | 'svpn_connection' | 'svpn_routing_policy' | 'kafk_cluster' | 'sedb_cluster' | 'autoscaling_group';
5
5
  export type SearchResourcesRequestOrderBy = 'relevance' | 'created_at_asc' | 'created_at_desc' | 'modified_at_asc' | 'modified_at_desc' | 'name_asc' | 'name_desc' | 'type_asc' | 'type_desc';
6
6
  export interface BrmServerInfo {
7
7
  ip: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-search",
3
- "version": "1.10.0",
3
+ "version": "1.11.1",
4
4
  "description": "Scaleway SDK search",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.6.0"
36
+ "@scaleway/sdk-std": "2.7.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@scaleway/sdk-client": "^2.6.0"
39
+ "@scaleway/sdk-client": "^2.7.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@scaleway/sdk-client": "^2.6.0"
42
+ "@scaleway/sdk-client": "^2.7.0"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=20.20.2"