@scaleway/sdk-autoscaling 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.
Files changed (36) hide show
  1. package/LICENSE +191 -0
  2. package/dist/_virtual/_rolldown/runtime.js +11 -6
  3. package/dist/index.gen.d.ts +3 -6
  4. package/dist/index.gen.js +2 -1
  5. package/dist/metadata.gen.d.ts +7 -5
  6. package/dist/metadata.gen.js +2 -1
  7. package/dist/v1alpha1/api.gen.d.ts +131 -128
  8. package/dist/v1alpha1/api.gen.js +5 -3
  9. package/dist/v1alpha1/index.gen.d.ts +9 -4
  10. package/dist/v1alpha1/index.gen.js +3 -1
  11. package/dist/v1alpha1/marshalling.gen.d.ts +4 -2
  12. package/dist/v1alpha1/marshalling.gen.js +3 -1
  13. package/dist/v1alpha1/metadata.gen.d.ts +79 -77
  14. package/dist/v1alpha1/metadata.gen.js +2 -1
  15. package/dist/v1alpha1/types.gen.d.ts +694 -692
  16. package/dist/v1alpha1/validation-rules.gen.d.ts +94 -89
  17. package/dist/v1alpha1/validation-rules.gen.js +3 -1
  18. package/dist/v1alpha2/api.gen.d.ts +50 -48
  19. package/dist/v1alpha2/api.gen.js +5 -3
  20. package/dist/v1alpha2/constants.gen.d.ts +3 -1
  21. package/dist/v1alpha2/constants.gen.js +2 -1
  22. package/dist/v1alpha2/content.gen.d.ts +3 -1
  23. package/dist/v1alpha2/content.gen.js +2 -1
  24. package/dist/v1alpha2/index.gen.d.ts +11 -6
  25. package/dist/v1alpha2/index.gen.js +3 -1
  26. package/dist/v1alpha2/marshalling.gen.d.ts +4 -2
  27. package/dist/v1alpha2/marshalling.gen.js +3 -1
  28. package/dist/v1alpha2/metadata.gen.d.ts +75 -73
  29. package/dist/v1alpha2/metadata.gen.js +2 -1
  30. package/dist/v1alpha2/types.gen.d.ts +445 -443
  31. package/dist/v1alpha2/validation-rules.gen.d.ts +29 -24
  32. package/dist/v1alpha2/validation-rules.gen.js +3 -1
  33. package/package.json +5 -7
  34. package/dist/.vite/license.md +0 -3
  35. package/dist/v1alpha1/types.gen.js +0 -0
  36. package/dist/v1alpha2/types.gen.js +0 -0
@@ -1,119 +1,124 @@
1
+ declare namespace validation_rules_gen_d_exports {
2
+ export { Capacity, CreateInstanceGroupRequest, CreateInstancePolicyRequest, CreateInstanceTemplateRequest, ListInstanceGroupEventsRequest, ListInstanceGroupsRequest, ListInstancePoliciesRequest, ListInstanceTemplatesRequest, Metric, UpdateInstanceGroupRequest, UpdateInstanceGroupRequestCapacity, UpdateInstancePolicyRequest, UpdateInstancePolicyRequestMetric, UpdateInstanceTemplateRequest, VolumeInstanceTemplate };
3
+ }
1
4
  export declare const Capacity: {
2
- maxReplicas: {
3
- greaterThanOrEqual: number;
4
- };
5
- minReplicas: {
6
- greaterThanOrEqual: number;
7
- };
5
+ maxReplicas: {
6
+ greaterThanOrEqual: number;
7
+ };
8
+ minReplicas: {
9
+ greaterThanOrEqual: number;
10
+ };
8
11
  };
9
12
  export declare const CreateInstanceGroupRequest: {
10
- name: {
11
- maxLength: number;
12
- minLength: number;
13
- };
13
+ name: {
14
+ maxLength: number;
15
+ minLength: number;
16
+ };
14
17
  };
15
18
  export declare const CreateInstancePolicyRequest: {
16
- name: {
17
- maxLength: number;
18
- minLength: number;
19
- };
20
- value: {
21
- greaterThanOrEqual: number;
22
- };
19
+ name: {
20
+ maxLength: number;
21
+ minLength: number;
22
+ };
23
+ value: {
24
+ greaterThanOrEqual: number;
25
+ };
23
26
  };
24
27
  export declare const CreateInstanceTemplateRequest: {
25
- name: {
26
- maxLength: number;
27
- minLength: number;
28
- };
28
+ name: {
29
+ maxLength: number;
30
+ minLength: number;
31
+ };
29
32
  };
30
33
  export declare const ListInstanceGroupEventsRequest: {
31
- page: {
32
- greaterThanOrEqual: number;
33
- };
34
- pageSize: {
35
- greaterThanOrEqual: number;
36
- lessThanOrEqual: number;
37
- };
34
+ page: {
35
+ greaterThanOrEqual: number;
36
+ };
37
+ pageSize: {
38
+ greaterThanOrEqual: number;
39
+ lessThanOrEqual: number;
40
+ };
38
41
  };
39
42
  export declare const ListInstanceGroupsRequest: {
40
- page: {
41
- greaterThanOrEqual: number;
42
- };
43
- pageSize: {
44
- greaterThanOrEqual: number;
45
- lessThanOrEqual: number;
46
- };
43
+ page: {
44
+ greaterThanOrEqual: number;
45
+ };
46
+ pageSize: {
47
+ greaterThanOrEqual: number;
48
+ lessThanOrEqual: number;
49
+ };
47
50
  };
48
51
  export declare const ListInstancePoliciesRequest: {
49
- page: {
50
- greaterThanOrEqual: number;
51
- };
52
- pageSize: {
53
- greaterThanOrEqual: number;
54
- lessThanOrEqual: number;
55
- };
52
+ page: {
53
+ greaterThanOrEqual: number;
54
+ };
55
+ pageSize: {
56
+ greaterThanOrEqual: number;
57
+ lessThanOrEqual: number;
58
+ };
56
59
  };
57
60
  export declare const ListInstanceTemplatesRequest: {
58
- page: {
59
- greaterThanOrEqual: number;
60
- };
61
- pageSize: {
62
- greaterThanOrEqual: number;
63
- lessThanOrEqual: number;
64
- };
61
+ page: {
62
+ greaterThanOrEqual: number;
63
+ };
64
+ pageSize: {
65
+ greaterThanOrEqual: number;
66
+ lessThanOrEqual: number;
67
+ };
65
68
  };
66
69
  export declare const Metric: {
67
- name: {
68
- maxLength: number;
69
- minLength: number;
70
- };
71
- samplingRangeMin: {
72
- greaterThanOrEqual: number;
73
- lessThanOrEqual: number;
74
- };
70
+ name: {
71
+ maxLength: number;
72
+ minLength: number;
73
+ };
74
+ samplingRangeMin: {
75
+ greaterThanOrEqual: number;
76
+ lessThanOrEqual: number;
77
+ };
75
78
  };
76
79
  export declare const UpdateInstanceGroupRequest: {
77
- name: {
78
- maxLength: number;
79
- minLength: number;
80
- };
80
+ name: {
81
+ maxLength: number;
82
+ minLength: number;
83
+ };
81
84
  };
82
85
  export declare const UpdateInstanceGroupRequestCapacity: {
83
- maxReplicas: {
84
- greaterThanOrEqual: number;
85
- };
86
- minReplicas: {
87
- greaterThanOrEqual: number;
88
- };
86
+ maxReplicas: {
87
+ greaterThanOrEqual: number;
88
+ };
89
+ minReplicas: {
90
+ greaterThanOrEqual: number;
91
+ };
89
92
  };
90
93
  export declare const UpdateInstancePolicyRequest: {
91
- name: {
92
- maxLength: number;
93
- minLength: number;
94
- };
95
- value: {
96
- greaterThanOrEqual: number;
97
- };
94
+ name: {
95
+ maxLength: number;
96
+ minLength: number;
97
+ };
98
+ value: {
99
+ greaterThanOrEqual: number;
100
+ };
98
101
  };
99
102
  export declare const UpdateInstancePolicyRequestMetric: {
100
- name: {
101
- maxLength: number;
102
- minLength: number;
103
- };
104
- samplingRangeMin: {
105
- greaterThanOrEqual: number;
106
- lessThanOrEqual: number;
107
- };
103
+ name: {
104
+ maxLength: number;
105
+ minLength: number;
106
+ };
107
+ samplingRangeMin: {
108
+ greaterThanOrEqual: number;
109
+ lessThanOrEqual: number;
110
+ };
108
111
  };
109
112
  export declare const UpdateInstanceTemplateRequest: {
110
- name: {
111
- maxLength: number;
112
- minLength: number;
113
- };
113
+ name: {
114
+ maxLength: number;
115
+ minLength: number;
116
+ };
114
117
  };
115
118
  export declare const VolumeInstanceTemplate: {
116
- name: {
117
- minLength: number;
118
- };
119
+ name: {
120
+ minLength: number;
121
+ };
119
122
  };
123
+ //#endregion
124
+ export { validation_rules_gen_d_exports };
@@ -1,4 +1,5 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
+
2
3
  //#region src/v1alpha1/validation-rules.gen.ts
3
4
  var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
4
5
  Capacity: () => Capacity,
@@ -104,5 +105,6 @@ const UpdateInstanceTemplateRequest = { name: {
104
105
  minLength: 1
105
106
  } };
106
107
  const VolumeInstanceTemplate = { name: { minLength: 1 } };
108
+
107
109
  //#endregion
108
- export { Capacity, CreateInstanceGroupRequest, CreateInstancePolicyRequest, CreateInstanceTemplateRequest, ListInstanceGroupEventsRequest, ListInstanceGroupsRequest, ListInstancePoliciesRequest, ListInstanceTemplatesRequest, Metric, UpdateInstanceGroupRequest, UpdateInstanceGroupRequestCapacity, UpdateInstancePolicyRequest, UpdateInstancePolicyRequestMetric, UpdateInstanceTemplateRequest, VolumeInstanceTemplate, validation_rules_gen_exports };
110
+ export { Capacity, CreateInstanceGroupRequest, CreateInstancePolicyRequest, CreateInstanceTemplateRequest, ListInstanceGroupEventsRequest, ListInstanceGroupsRequest, ListInstancePoliciesRequest, ListInstanceTemplatesRequest, Metric, UpdateInstanceGroupRequest, UpdateInstanceGroupRequestCapacity, UpdateInstancePolicyRequest, UpdateInstancePolicyRequestMetric, UpdateInstanceTemplateRequest, VolumeInstanceTemplate, validation_rules_gen_exports };
@@ -1,39 +1,39 @@
1
- import { API as ParentAPI } from '@scaleway/sdk-client';
2
- import type { WaitForOptions, ApiLocality } from '@scaleway/sdk-client';
3
- import type { CreateGroupRequest, DeleteGroupRequest, GetGroupRequest, Group, ListAlertsRequest, ListAlertsResponse, ListGroupsRequest, ListGroupsResponse, ListLogsRequest, ListLogsResponse, ListServersRequest, ListServersResponse, UpdateGroupRequest } from './types.gen.js';
1
+ import { CreateGroupRequest, DeleteGroupRequest, GetGroupRequest, Group, ListAlertsRequest, ListAlertsResponse, ListGroupsRequest, ListGroupsResponse, ListLogsRequest, ListLogsResponse, ListServersRequest, ListServersResponse, UpdateGroupRequest } from "./types.gen.js";
2
+ import { API, ApiLocality, WaitForOptions } from "@scaleway/sdk-client";
3
+ //#region src/v1alpha2/api.gen.d.ts
4
4
  /**
5
5
  * Autoscaling Groups API.
6
6
  */
7
- export declare class API extends ParentAPI {
8
- /**
9
- * Locality of this API.
10
- * type ∈ {'zone','region','global','unspecified'}
11
- */
12
- static readonly LOCALITY: ApiLocality;
13
- /**
14
- * List autoscaling groups. List all autoscaling groups in a project.
15
- *
16
- * @param request - The request {@link ListGroupsRequest}
17
- * @returns A Promise of ListGroupsResponse
18
- */
19
- listGroups: (request?: Readonly<ListGroupsRequest>) => Promise<ListGroupsResponse>;
20
- /**
7
+ declare class API$1 extends API {
8
+ /**
9
+ * Locality of this API.
10
+ * type ∈ {'zone','region','global','unspecified'}
11
+ */
12
+ static readonly LOCALITY: ApiLocality;
13
+ /**
14
+ * List autoscaling groups. List all autoscaling groups in a project.
15
+ *
16
+ * @param request - The request {@link ListGroupsRequest}
17
+ * @returns A Promise of ListGroupsResponse
18
+ */
19
+ listGroups: (request?: Readonly<ListGroupsRequest>) => Promise<ListGroupsResponse>;
20
+ /**
21
21
  * Get an autoscaling group. Get details of a specified autoscaling group including its
22
22
  configuration, current size, and status.
23
23
  *
24
24
  * @param request - The request {@link GetGroupRequest}
25
25
  * @returns A Promise of Group
26
26
  */
27
- getGroup: (request: Readonly<GetGroupRequest>) => Promise<Group>;
28
- /**
29
- * Waits for {@link Group} to be in a final state.
30
- *
31
- * @param request - The request {@link GetGroupRequest}
32
- * @param options - The waiting options
33
- * @returns A Promise of Group
34
- */
35
- waitForGroup: (request: Readonly<GetGroupRequest>, options?: Readonly<WaitForOptions<Group>>) => Promise<Group>;
36
- /**
27
+ getGroup: (request: Readonly<GetGroupRequest>) => Promise<Group>;
28
+ /**
29
+ * Waits for {@link Group} to be in a final state.
30
+ *
31
+ * @param request - The request {@link GetGroupRequest}
32
+ * @param options - The waiting options
33
+ * @returns A Promise of Group
34
+ */
35
+ waitForGroup: (request: Readonly<GetGroupRequest>, options?: Readonly<WaitForOptions<Group>>) => Promise<Group>;
36
+ /**
37
37
  * Create an autoscaling group. Create a new autoscaling group with the specified configuration
38
38
  including template, scaling policy, and optional load balancer
39
39
  settings.
@@ -41,43 +41,45 @@ export declare class API extends ParentAPI {
41
41
  * @param request - The request {@link CreateGroupRequest}
42
42
  * @returns A Promise of Group
43
43
  */
44
- createGroup: (request: Readonly<CreateGroupRequest>) => Promise<Group>;
45
- /**
44
+ createGroup: (request: Readonly<CreateGroupRequest>) => Promise<Group>;
45
+ /**
46
46
  * Update an autoscaling group. Update the configuration of a specified autoscaling group including
47
47
  name, tags, template, scaling policy, and load balancer settings.
48
48
  *
49
49
  * @param request - The request {@link UpdateGroupRequest}
50
50
  * @returns A Promise of Group
51
51
  */
52
- updateGroup: (request: Readonly<UpdateGroupRequest>) => Promise<Group>;
53
- /**
52
+ updateGroup: (request: Readonly<UpdateGroupRequest>) => Promise<Group>;
53
+ /**
54
54
  * Delete an autoscaling group. Delete a specified autoscaling group and all its associated
55
55
  resources.
56
56
  *
57
57
  * @param request - The request {@link DeleteGroupRequest}
58
58
  * @returns A Promise of Group
59
59
  */
60
- deleteGroup: (request: Readonly<DeleteGroupRequest>) => Promise<Group>;
61
- /**
60
+ deleteGroup: (request: Readonly<DeleteGroupRequest>) => Promise<Group>;
61
+ /**
62
62
  * List autoscaling group logs. List logs for a specified autoscaling group to view scaling events
63
63
  and activities.
64
64
  *
65
65
  * @param request - The request {@link ListLogsRequest}
66
66
  * @returns A Promise of ListLogsResponse
67
67
  */
68
- listLogs: (request: Readonly<ListLogsRequest>) => Promise<ListLogsResponse>;
69
- /**
70
- * List autoscaling group servers. List all Instances belonging to a specified autoscaling group.
71
- *
72
- * @param request - The request {@link ListServersRequest}
73
- * @returns A Promise of ListServersResponse
74
- */
75
- listServers: (request: Readonly<ListServersRequest>) => Promise<ListServersResponse>;
76
- /**
77
- * List autoscaling group alerts. List active and historical alerts for a specified autoscaling group.
78
- *
79
- * @param request - The request {@link ListAlertsRequest}
80
- * @returns A Promise of ListAlertsResponse
81
- */
82
- listAlerts: (request?: Readonly<ListAlertsRequest>) => Promise<ListAlertsResponse>;
68
+ listLogs: (request: Readonly<ListLogsRequest>) => Promise<ListLogsResponse>;
69
+ /**
70
+ * List autoscaling group servers. List all Instances belonging to a specified autoscaling group.
71
+ *
72
+ * @param request - The request {@link ListServersRequest}
73
+ * @returns A Promise of ListServersResponse
74
+ */
75
+ listServers: (request: Readonly<ListServersRequest>) => Promise<ListServersResponse>;
76
+ /**
77
+ * List autoscaling group alerts. List active and historical alerts for a specified autoscaling group.
78
+ *
79
+ * @param request - The request {@link ListAlertsRequest}
80
+ * @returns A Promise of ListAlertsResponse
81
+ */
82
+ listAlerts: (request?: Readonly<ListAlertsRequest>) => Promise<ListAlertsResponse>;
83
83
  }
84
+ //#endregion
85
+ export { API$1 as API };
@@ -1,12 +1,13 @@
1
1
  import { GROUP_GROUP_TRANSIENT_STATUSES } from "./content.gen.js";
2
2
  import { marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse } from "./marshalling.gen.js";
3
- import { API as API$1, resolveOneOf, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
3
+ import { API, resolveOneOf, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
4
+
4
5
  //#region src/v1alpha2/api.gen.ts
5
6
  const jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
6
7
  /**
7
8
  * Autoscaling Groups API.
8
9
  */
9
- var API = class extends API$1 {
10
+ var API$1 = class extends API {
10
11
  constructor(..._args) {
11
12
  super(..._args);
12
13
  this.listGroups = (request = {}) => this.client.fetch({
@@ -66,5 +67,6 @@ var API = class extends API$1 {
66
67
  ] });
67
68
  }
68
69
  };
70
+
69
71
  //#endregion
70
- export { API };
72
+ export { API$1 as API };
@@ -1,4 +1,5 @@
1
- import type { AlertAlertType, GroupGroupStatus, GroupLoadBalancerConfigurationBackendAddressFamily, GroupSummaryScalingPolicyTargetType, ListGroupsRequestOrderBy, LogLogLevel } from './types.gen.js';
1
+ import { AlertAlertType, GroupGroupStatus, GroupLoadBalancerConfigurationBackendAddressFamily, GroupSummaryScalingPolicyTargetType, ListGroupsRequestOrderBy, LogLogLevel } from "./types.gen.js";
2
+ //#region src/v1alpha2/constants.gen.d.ts
2
3
  /** Lists all values of the enum {@link AlertAlertType}. */
3
4
  export declare const ALERT_ALERT_TYPES: AlertAlertType[];
4
5
  /** Lists all values of the enum {@link GroupGroupStatus}. */
@@ -11,3 +12,4 @@ export declare const GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES: GroupSummaryScal
11
12
  export declare const LIST_GROUPS_REQUEST_ORDER_BIES: ListGroupsRequestOrderBy[];
12
13
  /** Lists all values of the enum {@link LogLogLevel}. */
13
14
  export declare const LOG_LOG_LEVELS: LogLogLevel[];
15
+ //#endregion
@@ -46,5 +46,6 @@ const LOG_LOG_LEVELS = [
46
46
  "warning",
47
47
  "error"
48
48
  ];
49
+
49
50
  //#endregion
50
- export { ALERT_ALERT_TYPES, GROUP_GROUP_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS };
51
+ export { ALERT_ALERT_TYPES, GROUP_GROUP_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS };
@@ -1,3 +1,5 @@
1
- import type { GroupGroupStatus } from './types.gen.js';
1
+ import { GroupGroupStatus } from "./types.gen.js";
2
+ //#region src/v1alpha2/content.gen.d.ts
2
3
  /** Lists transient statutes of the enum {@link GroupGroupStatus}. */
3
4
  export declare const GROUP_GROUP_TRANSIENT_STATUSES: GroupGroupStatus[];
5
+ //#endregion
@@ -7,5 +7,6 @@ const GROUP_GROUP_TRANSIENT_STATUSES = [
7
7
  "healing",
8
8
  "deleting"
9
9
  ];
10
+
10
11
  //#endregion
11
- export { GROUP_GROUP_TRANSIENT_STATUSES };
12
+ export { GROUP_GROUP_TRANSIENT_STATUSES };
@@ -1,6 +1,11 @@
1
- export { API, } from './api.gen.js';
2
- export * from './content.gen.js';
3
- export * from './constants.gen.js';
4
- export * from './marshalling.gen.js';
5
- export type { Alert, AlertAlertType, CreateGroupRequest, DeleteGroupRequest, GetGroupRequest, Group, GroupGroupStatus, GroupLoadBalancerConfiguration, GroupLoadBalancerConfigurationAutoHealing, GroupLoadBalancerConfigurationBackend, GroupLoadBalancerConfigurationBackendAddressFamily, GroupScalingPolicy, GroupScalingPolicyScalingPolicyCpuTarget, GroupScalingPolicyScalingPolicyFixedSize, GroupScalingPolicyScalingPolicyMemoryTarget, GroupSummary, GroupSummaryScalingPolicyTargetType, ListAlertsRequest, ListAlertsResponse, ListGroupsRequest, ListGroupsRequestOrderBy, ListGroupsResponse, ListLogsRequest, ListLogsResponse, ListServersRequest, ListServersResponse, LoadBalancerConfigurationSpec, LoadBalancerConfigurationSpecAutoHealing, LoadBalancerConfigurationSpecBackend, Log, LogLogLevel, ScalingPolicySpec, Server, UpdateGroupRequest, } from './types.gen.js';
6
- export * as ValidationRules from './validation-rules.gen.js';
1
+ import { Alert, AlertAlertType, CreateGroupRequest, DeleteGroupRequest, GetGroupRequest, Group, GroupGroupStatus, GroupLoadBalancerConfiguration, GroupLoadBalancerConfigurationAutoHealing, GroupLoadBalancerConfigurationBackend, GroupLoadBalancerConfigurationBackendAddressFamily, GroupScalingPolicy, GroupScalingPolicyScalingPolicyCpuTarget, GroupScalingPolicyScalingPolicyFixedSize, GroupScalingPolicyScalingPolicyMemoryTarget, GroupSummary, GroupSummaryScalingPolicyTargetType, ListAlertsRequest, ListAlertsResponse, ListGroupsRequest, ListGroupsRequestOrderBy, ListGroupsResponse, ListLogsRequest, ListLogsResponse, ListServersRequest, ListServersResponse, LoadBalancerConfigurationSpec, LoadBalancerConfigurationSpecAutoHealing, LoadBalancerConfigurationSpecBackend, Log, LogLogLevel, ScalingPolicySpec, Server, UpdateGroupRequest } from "./types.gen.js";
2
+ import { API } from "./api.gen.js";
3
+ import { GROUP_GROUP_TRANSIENT_STATUSES } from "./content.gen.js";
4
+ import { ALERT_ALERT_TYPES, GROUP_GROUP_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS } from "./constants.gen.js";
5
+ import { marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse } from "./marshalling.gen.js";
6
+ import { validation_rules_gen_d_exports } from "./validation-rules.gen.js";
7
+ declare namespace index_gen_d_exports {
8
+ export { ALERT_ALERT_TYPES, API, Alert, AlertAlertType, CreateGroupRequest, DeleteGroupRequest, GROUP_GROUP_STATUSES, GROUP_GROUP_TRANSIENT_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, GetGroupRequest, Group, GroupGroupStatus, GroupLoadBalancerConfiguration, GroupLoadBalancerConfigurationAutoHealing, GroupLoadBalancerConfigurationBackend, GroupLoadBalancerConfigurationBackendAddressFamily, GroupScalingPolicy, GroupScalingPolicyScalingPolicyCpuTarget, GroupScalingPolicyScalingPolicyFixedSize, GroupScalingPolicyScalingPolicyMemoryTarget, GroupSummary, GroupSummaryScalingPolicyTargetType, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS, ListAlertsRequest, ListAlertsResponse, ListGroupsRequest, ListGroupsRequestOrderBy, ListGroupsResponse, ListLogsRequest, ListLogsResponse, ListServersRequest, ListServersResponse, LoadBalancerConfigurationSpec, LoadBalancerConfigurationSpecAutoHealing, LoadBalancerConfigurationSpecBackend, Log, LogLogLevel, ScalingPolicySpec, Server, UpdateGroupRequest, validation_rules_gen_d_exports as ValidationRules, marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse };
9
+ }
10
+ //#endregion
11
+ export { ALERT_ALERT_TYPES, API, type Alert, type AlertAlertType, type CreateGroupRequest, type DeleteGroupRequest, GROUP_GROUP_STATUSES, GROUP_GROUP_TRANSIENT_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, type GetGroupRequest, type Group, type GroupGroupStatus, type GroupLoadBalancerConfiguration, type GroupLoadBalancerConfigurationAutoHealing, type GroupLoadBalancerConfigurationBackend, type GroupLoadBalancerConfigurationBackendAddressFamily, type GroupScalingPolicy, type GroupScalingPolicyScalingPolicyCpuTarget, type GroupScalingPolicyScalingPolicyFixedSize, type GroupScalingPolicyScalingPolicyMemoryTarget, type GroupSummary, type GroupSummaryScalingPolicyTargetType, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS, type ListAlertsRequest, type ListAlertsResponse, type ListGroupsRequest, type ListGroupsRequestOrderBy, type ListGroupsResponse, type ListLogsRequest, type ListLogsResponse, type ListServersRequest, type ListServersResponse, type LoadBalancerConfigurationSpec, type LoadBalancerConfigurationSpecAutoHealing, type LoadBalancerConfigurationSpecBackend, type Log, type LogLogLevel, type ScalingPolicySpec, type Server, type UpdateGroupRequest, validation_rules_gen_d_exports as ValidationRules, index_gen_d_exports, marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse };
@@ -4,6 +4,7 @@ import { marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, u
4
4
  import { API } from "./api.gen.js";
5
5
  import { ALERT_ALERT_TYPES, GROUP_GROUP_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS } from "./constants.gen.js";
6
6
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
7
+
7
8
  //#region src/v1alpha2/index.gen.ts
8
9
  var index_gen_exports = /* @__PURE__ */ __exportAll({
9
10
  ALERT_ALERT_TYPES: () => ALERT_ALERT_TYPES,
@@ -23,5 +24,6 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
23
24
  unmarshalListLogsResponse: () => unmarshalListLogsResponse,
24
25
  unmarshalListServersResponse: () => unmarshalListServersResponse
25
26
  });
27
+
26
28
  //#endregion
27
- export { ALERT_ALERT_TYPES, API, GROUP_GROUP_STATUSES, GROUP_GROUP_TRANSIENT_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse };
29
+ export { ALERT_ALERT_TYPES, API, GROUP_GROUP_STATUSES, GROUP_GROUP_TRANSIENT_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse };
@@ -1,5 +1,6 @@
1
- import type { DefaultValues } from '@scaleway/sdk-client';
2
- import type { Group, ListAlertsResponse, ListGroupsResponse, ListLogsResponse, ListServersResponse, CreateGroupRequest, UpdateGroupRequest } from './types.gen.js';
1
+ import { CreateGroupRequest, Group, ListAlertsResponse, ListGroupsResponse, ListLogsResponse, ListServersResponse, UpdateGroupRequest } from "./types.gen.js";
2
+ import { DefaultValues } from "@scaleway/sdk-client";
3
+ //#region src/v1alpha2/marshalling.gen.d.ts
3
4
  export declare const unmarshalGroup: (data: unknown) => Group;
4
5
  export declare const unmarshalListAlertsResponse: (data: unknown) => ListAlertsResponse;
5
6
  export declare const unmarshalListGroupsResponse: (data: unknown) => ListGroupsResponse;
@@ -7,3 +8,4 @@ export declare const unmarshalListLogsResponse: (data: unknown) => ListLogsRespo
7
8
  export declare const unmarshalListServersResponse: (data: unknown) => ListServersResponse;
8
9
  export declare const marshalCreateGroupRequest: (request: CreateGroupRequest, defaults: DefaultValues) => Record<string, unknown>;
9
10
  export declare const marshalUpdateGroupRequest: (request: UpdateGroupRequest, defaults: DefaultValues) => Record<string, unknown>;
11
+ //#endregion
@@ -1,4 +1,5 @@
1
1
  import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
2
+
2
3
  //#region src/v1alpha2/marshalling.gen.ts
3
4
  const unmarshalGroupLoadBalancerConfigurationAutoHealing = (data) => {
4
5
  if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GroupLoadBalancerConfigurationAutoHealing' failed as data isn't a dictionary.`);
@@ -197,5 +198,6 @@ const marshalUpdateGroupRequest = (request, defaults) => ({
197
198
  tags: request.tags,
198
199
  template_id: request.templateId
199
200
  });
201
+
200
202
  //#endregion
201
- export { marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse };
203
+ export { marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse };