@scaleway/sdk 2.73.0 → 2.74.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 (89) hide show
  1. package/dist/api/account/v3/index.gen.d.ts +1 -1
  2. package/dist/api/account/v3/marshalling.gen.cjs +94 -65
  3. package/dist/api/account/v3/marshalling.gen.js +94 -65
  4. package/dist/api/account/v3/types.gen.d.ts +79 -61
  5. package/dist/api/baremetal/v1/types.gen.d.ts +1 -1
  6. package/dist/api/cockpit/v1/api.gen.cjs +35 -3
  7. package/dist/api/cockpit/v1/api.gen.d.ts +17 -5
  8. package/dist/api/cockpit/v1/api.gen.js +36 -4
  9. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  10. package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
  11. package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
  12. package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
  13. package/dist/api/cockpit/v1/types.gen.d.ts +63 -2
  14. package/dist/api/dedibox/v1/types.gen.d.ts +3 -3
  15. package/dist/api/edge_services/v1beta1/api.gen.cjs +41 -22
  16. package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
  17. package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
  18. package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
  19. package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
  20. package/dist/api/file/index.gen.cjs +4 -0
  21. package/dist/api/file/index.gen.d.ts +5 -0
  22. package/dist/api/file/index.gen.js +4 -0
  23. package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
  24. package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
  25. package/dist/api/file/v1alpha1/api.gen.js +142 -0
  26. package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
  27. package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
  28. package/dist/api/file/v1alpha1/content.gen.js +7 -0
  29. package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
  30. package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
  31. package/dist/api/file/v1alpha1/index.gen.js +8 -0
  32. package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
  33. package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
  34. package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
  35. package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
  36. package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
  37. package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
  38. package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
  39. package/dist/api/function/v1beta1/types.gen.d.ts +6 -6
  40. package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
  41. package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
  42. package/dist/api/iam/v1alpha1/api.gen.js +4 -4
  43. package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
  44. package/dist/api/index.gen.d.ts +3 -1
  45. package/dist/api/inference/v1beta1/api.gen.cjs +1 -1
  46. package/dist/api/inference/v1beta1/api.gen.d.ts +1 -1
  47. package/dist/api/inference/v1beta1/api.gen.js +1 -1
  48. package/dist/api/instance/v1/marshalling.gen.cjs +4 -1
  49. package/dist/api/instance/v1/marshalling.gen.js +4 -1
  50. package/dist/api/instance/v1/types.gen.d.ts +16 -1
  51. package/dist/api/interlink/v1beta1/api.gen.cjs +1 -1
  52. package/dist/api/interlink/v1beta1/api.gen.d.ts +1 -1
  53. package/dist/api/interlink/v1beta1/api.gen.js +1 -1
  54. package/dist/api/iot/v1/types.gen.d.ts +1 -1
  55. package/dist/api/lb/v1/marshalling.gen.cjs +4 -2
  56. package/dist/api/lb/v1/marshalling.gen.js +4 -2
  57. package/dist/api/lb/v1/types.gen.d.ts +4 -0
  58. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +1 -1
  59. package/dist/api/product_catalog/index.gen.cjs +4 -0
  60. package/dist/api/product_catalog/index.gen.d.ts +5 -0
  61. package/dist/api/product_catalog/index.gen.js +4 -0
  62. package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
  63. package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
  64. package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
  65. package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
  66. package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
  67. package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
  68. package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
  69. package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
  70. package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
  71. package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
  72. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
  73. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
  74. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
  75. package/dist/api/qaas/v1alpha1/types.gen.d.ts +2 -2
  76. package/dist/api/rdb/v1/api.gen.cjs +1 -1
  77. package/dist/api/rdb/v1/api.gen.d.ts +1 -1
  78. package/dist/api/rdb/v1/api.gen.js +1 -1
  79. package/dist/api/rdb/v1/types.gen.d.ts +2 -2
  80. package/dist/api/redis/v1/api.gen.cjs +1 -1
  81. package/dist/api/redis/v1/api.gen.d.ts +1 -1
  82. package/dist/api/redis/v1/api.gen.js +1 -1
  83. package/dist/api/registry/v1/types.gen.d.ts +1 -1
  84. package/dist/api/vpcgw/v1/api.gen.cjs +37 -0
  85. package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
  86. package/dist/api/vpcgw/v1/api.gen.js +37 -0
  87. package/dist/index.cjs +36 -32
  88. package/dist/index.js +36 -32
  89. package/package.json +2 -2
@@ -0,0 +1,230 @@
1
+ import "../../../client/dist/internal/logger/index.js";
2
+ import { isJSONObject } from "../../../client/dist/helpers/json.js";
3
+ import { unmarshalMoney } from "../../../client/dist/scw/custom-marshalling.js";
4
+ import { unmarshalArrayOfObject } from "../../../client/dist/helpers/marshalling.js";
5
+ const unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical = (data) => {
6
+ if (!isJSONObject(data)) {
7
+ throw new TypeError(
8
+ `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareCPUPhysical' failed as data isn't a dictionary.`
9
+ );
10
+ }
11
+ return {
12
+ benchmark: data.benchmark,
13
+ coresPerSocket: data.cores_per_socket,
14
+ frequency: data.frequency,
15
+ sockets: data.sockets,
16
+ threadsPerCore: data.threads_per_core
17
+ };
18
+ };
19
+ const unmarshalPublicCatalogProductPropertiesHardwareCPUVirtual = (data) => {
20
+ if (!isJSONObject(data)) {
21
+ throw new TypeError(
22
+ `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareCPUVirtual' failed as data isn't a dictionary.`
23
+ );
24
+ }
25
+ return {
26
+ count: data.count
27
+ };
28
+ };
29
+ const unmarshalPublicCatalogProductPropertiesHardwareCPU = (data) => {
30
+ if (!isJSONObject(data)) {
31
+ throw new TypeError(
32
+ `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareCPU' failed as data isn't a dictionary.`
33
+ );
34
+ }
35
+ return {
36
+ arch: data.arch,
37
+ description: data.description,
38
+ physical: data.physical ? unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical(
39
+ data.physical
40
+ ) : void 0,
41
+ threads: data.threads,
42
+ type: data.type,
43
+ virtual: data.virtual ? unmarshalPublicCatalogProductPropertiesHardwareCPUVirtual(data.virtual) : void 0
44
+ };
45
+ };
46
+ const unmarshalPublicCatalogProductPropertiesHardwareGPU = (data) => {
47
+ if (!isJSONObject(data)) {
48
+ throw new TypeError(
49
+ `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareGPU' failed as data isn't a dictionary.`
50
+ );
51
+ }
52
+ return {
53
+ count: data.count,
54
+ description: data.description,
55
+ type: data.type
56
+ };
57
+ };
58
+ const unmarshalPublicCatalogProductPropertiesHardwareNetwork = (data) => {
59
+ if (!isJSONObject(data)) {
60
+ throw new TypeError(
61
+ `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareNetwork' failed as data isn't a dictionary.`
62
+ );
63
+ }
64
+ return {
65
+ description: data.description,
66
+ internalBandwidth: data.internal_bandwidth,
67
+ maxPublicBandwidth: data.max_public_bandwidth,
68
+ publicBandwidth: data.public_bandwidth
69
+ };
70
+ };
71
+ const unmarshalPublicCatalogProductPropertiesHardwareRAM = (data) => {
72
+ if (!isJSONObject(data)) {
73
+ throw new TypeError(
74
+ `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareRAM' failed as data isn't a dictionary.`
75
+ );
76
+ }
77
+ return {
78
+ description: data.description,
79
+ size: data.size,
80
+ type: data.type
81
+ };
82
+ };
83
+ const unmarshalPublicCatalogProductPropertiesHardwareStorage = (data) => {
84
+ if (!isJSONObject(data)) {
85
+ throw new TypeError(
86
+ `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareStorage' failed as data isn't a dictionary.`
87
+ );
88
+ }
89
+ return {
90
+ description: data.description,
91
+ total: data.total
92
+ };
93
+ };
94
+ const unmarshalPublicCatalogProductPriceUnitOfMeasure = (data) => {
95
+ if (!isJSONObject(data)) {
96
+ throw new TypeError(
97
+ `Unmarshalling the type 'PublicCatalogProductPriceUnitOfMeasure' failed as data isn't a dictionary.`
98
+ );
99
+ }
100
+ return {
101
+ size: data.size,
102
+ unit: data.unit
103
+ };
104
+ };
105
+ const unmarshalPublicCatalogProductPropertiesAppleSilicon = (data) => {
106
+ if (!isJSONObject(data)) {
107
+ throw new TypeError(
108
+ `Unmarshalling the type 'PublicCatalogProductPropertiesAppleSilicon' failed as data isn't a dictionary.`
109
+ );
110
+ }
111
+ return {
112
+ range: data.range
113
+ };
114
+ };
115
+ const unmarshalPublicCatalogProductPropertiesDedibox = (data) => {
116
+ if (!isJSONObject(data)) {
117
+ throw new TypeError(
118
+ `Unmarshalling the type 'PublicCatalogProductPropertiesDedibox' failed as data isn't a dictionary.`
119
+ );
120
+ }
121
+ return {
122
+ range: data.range
123
+ };
124
+ };
125
+ const unmarshalPublicCatalogProductPropertiesElasticMetal = (data) => {
126
+ if (!isJSONObject(data)) {
127
+ throw new TypeError(
128
+ `Unmarshalling the type 'PublicCatalogProductPropertiesElasticMetal' failed as data isn't a dictionary.`
129
+ );
130
+ }
131
+ return {
132
+ range: data.range
133
+ };
134
+ };
135
+ const unmarshalPublicCatalogProductPropertiesHardware = (data) => {
136
+ if (!isJSONObject(data)) {
137
+ throw new TypeError(
138
+ `Unmarshalling the type 'PublicCatalogProductPropertiesHardware' failed as data isn't a dictionary.`
139
+ );
140
+ }
141
+ return {
142
+ cpu: data.cpu ? unmarshalPublicCatalogProductPropertiesHardwareCPU(data.cpu) : void 0,
143
+ gpu: data.gpu ? unmarshalPublicCatalogProductPropertiesHardwareGPU(data.gpu) : void 0,
144
+ network: data.network ? unmarshalPublicCatalogProductPropertiesHardwareNetwork(data.network) : void 0,
145
+ ram: data.ram ? unmarshalPublicCatalogProductPropertiesHardwareRAM(data.ram) : void 0,
146
+ storage: data.storage ? unmarshalPublicCatalogProductPropertiesHardwareStorage(data.storage) : void 0
147
+ };
148
+ };
149
+ const unmarshalPublicCatalogProductPropertiesInstance = (data) => {
150
+ if (!isJSONObject(data)) {
151
+ throw new TypeError(
152
+ `Unmarshalling the type 'PublicCatalogProductPropertiesInstance' failed as data isn't a dictionary.`
153
+ );
154
+ }
155
+ return {
156
+ range: data.range
157
+ };
158
+ };
159
+ const unmarshalPublicCatalogProductLocality = (data) => {
160
+ if (!isJSONObject(data)) {
161
+ throw new TypeError(
162
+ `Unmarshalling the type 'PublicCatalogProductLocality' failed as data isn't a dictionary.`
163
+ );
164
+ }
165
+ return {
166
+ datacenter: data.datacenter,
167
+ global: data.global,
168
+ region: data.region,
169
+ zone: data.zone
170
+ };
171
+ };
172
+ const unmarshalPublicCatalogProductPrice = (data) => {
173
+ if (!isJSONObject(data)) {
174
+ throw new TypeError(
175
+ `Unmarshalling the type 'PublicCatalogProductPrice' failed as data isn't a dictionary.`
176
+ );
177
+ }
178
+ return {
179
+ retailPrice: data.retail_price ? unmarshalMoney(data.retail_price) : void 0,
180
+ unitOfMeasure: data.unit_of_measure ? unmarshalPublicCatalogProductPriceUnitOfMeasure(data.unit_of_measure) : void 0
181
+ };
182
+ };
183
+ const unmarshalPublicCatalogProductProperties = (data) => {
184
+ if (!isJSONObject(data)) {
185
+ throw new TypeError(
186
+ `Unmarshalling the type 'PublicCatalogProductProperties' failed as data isn't a dictionary.`
187
+ );
188
+ }
189
+ return {
190
+ appleSilicon: data.apple_silicon ? unmarshalPublicCatalogProductPropertiesAppleSilicon(data.apple_silicon) : void 0,
191
+ dedibox: data.dedibox ? unmarshalPublicCatalogProductPropertiesDedibox(data.dedibox) : void 0,
192
+ elasticMetal: data.elastic_metal ? unmarshalPublicCatalogProductPropertiesElasticMetal(data.elastic_metal) : void 0,
193
+ hardware: data.hardware ? unmarshalPublicCatalogProductPropertiesHardware(data.hardware) : void 0,
194
+ instance: data.instance ? unmarshalPublicCatalogProductPropertiesInstance(data.instance) : void 0
195
+ };
196
+ };
197
+ const unmarshalPublicCatalogProduct = (data) => {
198
+ if (!isJSONObject(data)) {
199
+ throw new TypeError(
200
+ `Unmarshalling the type 'PublicCatalogProduct' failed as data isn't a dictionary.`
201
+ );
202
+ }
203
+ return {
204
+ description: data.description,
205
+ locality: data.locality ? unmarshalPublicCatalogProductLocality(data.locality) : void 0,
206
+ price: data.price ? unmarshalPublicCatalogProductPrice(data.price) : void 0,
207
+ product: data.product,
208
+ properties: data.properties ? unmarshalPublicCatalogProductProperties(data.properties) : void 0,
209
+ serviceCategory: data.service_category,
210
+ sku: data.sku,
211
+ variant: data.variant
212
+ };
213
+ };
214
+ const unmarshalListPublicCatalogProductsResponse = (data) => {
215
+ if (!isJSONObject(data)) {
216
+ throw new TypeError(
217
+ `Unmarshalling the type 'ListPublicCatalogProductsResponse' failed as data isn't a dictionary.`
218
+ );
219
+ }
220
+ return {
221
+ products: unmarshalArrayOfObject(
222
+ data.products,
223
+ unmarshalPublicCatalogProduct
224
+ ),
225
+ totalCount: data.total_count
226
+ };
227
+ };
228
+ export {
229
+ unmarshalListPublicCatalogProductsResponse
230
+ };
@@ -0,0 +1,293 @@
1
+ import type { Money, Region as ScwRegion, Zone as ScwZone } from '@scaleway/sdk-client';
2
+ export type PublicCatalogProductPriceUnitOfMeasureCountableUnit = 'unknown_countable_unit' | 'chunk' | 'core' | 'currency' | 'device' | 'domain' | 'email' | 'gb_s' | 'gigabyte' | 'hour' | 'iops_gigabyte' | 'ip' | 'month' | 'node' | 'plan' | 'query' | 'request' | 'session' | 'vcpu_s' | 'version' | 'year' | 'key' | 'token' | 'minute' | 'setup' | 'day';
3
+ export type PublicCatalogProductPropertiesHardwareCPUArch = 'unknown_arch' | 'x64' | 'arm64' | 'riscv' | 'apple_silicon';
4
+ export interface PublicCatalogProductPropertiesHardwareCPUPhysical {
5
+ /**
6
+ * The number of sockets of the CPU.
7
+ */
8
+ sockets: number;
9
+ /**
10
+ * The number of cores per socket.
11
+ */
12
+ coresPerSocket: number;
13
+ /**
14
+ * The number of threads per core.
15
+ */
16
+ threadsPerCore: number;
17
+ /**
18
+ * The frequency of the CPU in Hertz.
19
+ */
20
+ frequency: number;
21
+ /**
22
+ * The benchmark score of the CPU.
23
+ */
24
+ benchmark: number;
25
+ }
26
+ export interface PublicCatalogProductPropertiesHardwareCPUVirtual {
27
+ /**
28
+ * The number of vCPUs.
29
+ */
30
+ count: number;
31
+ }
32
+ export interface PublicCatalogProductPropertiesHardwareCPU {
33
+ /**
34
+ * A human readable description of the CPU.
35
+ */
36
+ description: string;
37
+ /**
38
+ * The architecture of the CPU.
39
+ */
40
+ arch: PublicCatalogProductPropertiesHardwareCPUArch;
41
+ /**
42
+ * The type of the CPU.
43
+ */
44
+ type: string;
45
+ /**
46
+ * Properties if the CPU is virtual.
47
+ *
48
+ * One-of ('computeUnit'): at most one of 'virtual', 'physical' could be set.
49
+ */
50
+ virtual?: PublicCatalogProductPropertiesHardwareCPUVirtual;
51
+ /**
52
+ * Properties if the CPU is physical.
53
+ *
54
+ * One-of ('computeUnit'): at most one of 'virtual', 'physical' could be set.
55
+ */
56
+ physical?: PublicCatalogProductPropertiesHardwareCPUPhysical;
57
+ /**
58
+ * The total number of threads.
59
+ */
60
+ threads: number;
61
+ }
62
+ export interface PublicCatalogProductPropertiesHardwareGPU {
63
+ /**
64
+ * A human-readable description of the GPU.
65
+ */
66
+ description: string;
67
+ /**
68
+ * The number of GPUs.
69
+ */
70
+ count: number;
71
+ /**
72
+ * The type of the GPU.
73
+ */
74
+ type: string;
75
+ }
76
+ export interface PublicCatalogProductPropertiesHardwareNetwork {
77
+ /**
78
+ * A human-readable description of the network.
79
+ */
80
+ description: string;
81
+ /**
82
+ * The internal bandwidth in bits per second.
83
+ */
84
+ internalBandwidth: number;
85
+ /**
86
+ * The default public bandwidth in bits per second.
87
+ */
88
+ publicBandwidth: number;
89
+ /**
90
+ * The maximum public bandwidth in bits per second (may require subscription to options).
91
+ */
92
+ maxPublicBandwidth: number;
93
+ }
94
+ export interface PublicCatalogProductPropertiesHardwareRAM {
95
+ /**
96
+ * A human-readable description of the RAM.
97
+ */
98
+ description: string;
99
+ /**
100
+ * The size of the RAM in bytes.
101
+ */
102
+ size: number;
103
+ /**
104
+ * The type of the RAM.
105
+ */
106
+ type: string;
107
+ }
108
+ export interface PublicCatalogProductPropertiesHardwareStorage {
109
+ /**
110
+ * A human-readable description of the storage.
111
+ */
112
+ description: string;
113
+ /**
114
+ * The total size of the storage in bytes.
115
+ */
116
+ total: number;
117
+ }
118
+ export interface PublicCatalogProductPriceUnitOfMeasure {
119
+ /**
120
+ * The unit of measure.
121
+ */
122
+ unit: PublicCatalogProductPriceUnitOfMeasureCountableUnit;
123
+ /**
124
+ * The size of the unit.
125
+ */
126
+ size: number;
127
+ }
128
+ export interface PublicCatalogProductPropertiesAppleSilicon {
129
+ /**
130
+ * The range of the Apple Silicon server.
131
+ */
132
+ range: string;
133
+ }
134
+ export interface PublicCatalogProductPropertiesDedibox {
135
+ /**
136
+ * The range of the Dedibox server.
137
+ */
138
+ range: string;
139
+ }
140
+ export interface PublicCatalogProductPropertiesElasticMetal {
141
+ /**
142
+ * The range of the Elastic Metal server.
143
+ */
144
+ range: string;
145
+ }
146
+ export interface PublicCatalogProductPropertiesHardware {
147
+ /**
148
+ * The CPU hardware properties.
149
+ */
150
+ cpu?: PublicCatalogProductPropertiesHardwareCPU;
151
+ /**
152
+ * The RAM hardware properties.
153
+ */
154
+ ram?: PublicCatalogProductPropertiesHardwareRAM;
155
+ /**
156
+ * The storage hardware properties.
157
+ */
158
+ storage?: PublicCatalogProductPropertiesHardwareStorage;
159
+ /**
160
+ * The network hardware properties.
161
+ */
162
+ network?: PublicCatalogProductPropertiesHardwareNetwork;
163
+ /**
164
+ * The GPU hardware properties.
165
+ */
166
+ gpu?: PublicCatalogProductPropertiesHardwareGPU;
167
+ }
168
+ export interface PublicCatalogProductPropertiesInstance {
169
+ /**
170
+ * The range of the Instance server.
171
+ */
172
+ range: string;
173
+ }
174
+ export interface PublicCatalogProductLocality {
175
+ /**
176
+ * Whether or not the product is global.
177
+ *
178
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
179
+ */
180
+ global?: boolean;
181
+ /**
182
+ * The region of the product.
183
+ *
184
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
185
+ */
186
+ region?: ScwRegion;
187
+ /**
188
+ * The zone of the product.
189
+ *
190
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
191
+ */
192
+ zone?: ScwZone;
193
+ /**
194
+ * The datacenter of the product.
195
+ *
196
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
197
+ */
198
+ datacenter?: string;
199
+ }
200
+ export interface PublicCatalogProductPrice {
201
+ /**
202
+ * The retail price of the product.
203
+ */
204
+ retailPrice?: Money;
205
+ /**
206
+ * The unit of measure of the price.
207
+ */
208
+ unitOfMeasure?: PublicCatalogProductPriceUnitOfMeasure;
209
+ }
210
+ export interface PublicCatalogProductProperties {
211
+ /**
212
+ * The hardware properties of the product (if supported).
213
+ */
214
+ hardware?: PublicCatalogProductPropertiesHardware;
215
+ /**
216
+ * The properties of Dedibox products.
217
+ *
218
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
219
+ */
220
+ dedibox?: PublicCatalogProductPropertiesDedibox;
221
+ /**
222
+ * The properties of Elastic Metal products.
223
+ *
224
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
225
+ */
226
+ elasticMetal?: PublicCatalogProductPropertiesElasticMetal;
227
+ /**
228
+ * The properties of Apple Silicon products.
229
+ *
230
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
231
+ */
232
+ appleSilicon?: PublicCatalogProductPropertiesAppleSilicon;
233
+ /**
234
+ * The properties of Instance products.
235
+ *
236
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
237
+ */
238
+ instance?: PublicCatalogProductPropertiesInstance;
239
+ }
240
+ export interface PublicCatalogProduct {
241
+ /**
242
+ * The unique identifier of the product.
243
+ */
244
+ sku: string;
245
+ /**
246
+ * The category of the product.
247
+ */
248
+ serviceCategory: string;
249
+ /**
250
+ * The product name.
251
+ */
252
+ product: string;
253
+ /**
254
+ * The product variant.
255
+ */
256
+ variant: string;
257
+ /**
258
+ * The product description.
259
+ */
260
+ description: string;
261
+ /**
262
+ * The locality of the product.
263
+ */
264
+ locality?: PublicCatalogProductLocality;
265
+ /**
266
+ * The price of the product.
267
+ */
268
+ price?: PublicCatalogProductPrice;
269
+ /**
270
+ * The properties of the product.
271
+ */
272
+ properties?: PublicCatalogProductProperties;
273
+ }
274
+ export interface ListPublicCatalogProductsResponse {
275
+ /**
276
+ * The list of products.
277
+ */
278
+ products: PublicCatalogProduct[];
279
+ /**
280
+ * The total number of products in the catalog.
281
+ */
282
+ totalCount: number;
283
+ }
284
+ export type PublicCatalogApiListPublicCatalogProductsRequest = {
285
+ /**
286
+ * Number of the page. Value must be greater or equal to 1.
287
+ */
288
+ page?: number;
289
+ /**
290
+ * The number of products per page. Value must be greater or equal to 1.
291
+ */
292
+ pageSize?: number;
293
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const PublicCatalogApiListPublicCatalogProductsRequest = {
4
+ page: {
5
+ greaterThanOrEqual: 1
6
+ },
7
+ pageSize: {
8
+ greaterThanOrEqual: 1
9
+ }
10
+ };
11
+ exports.PublicCatalogApiListPublicCatalogProductsRequest = PublicCatalogApiListPublicCatalogProductsRequest;
@@ -0,0 +1,8 @@
1
+ export declare const PublicCatalogApiListPublicCatalogProductsRequest: {
2
+ page: {
3
+ greaterThanOrEqual: number;
4
+ };
5
+ pageSize: {
6
+ greaterThanOrEqual: number;
7
+ };
8
+ };
@@ -0,0 +1,11 @@
1
+ const PublicCatalogApiListPublicCatalogProductsRequest = {
2
+ page: {
3
+ greaterThanOrEqual: 1
4
+ },
5
+ pageSize: {
6
+ greaterThanOrEqual: 1
7
+ }
8
+ };
9
+ export {
10
+ PublicCatalogApiListPublicCatalogProductsRequest
11
+ };
@@ -148,7 +148,7 @@ export interface Platform {
148
148
  */
149
149
  id: string;
150
150
  /**
151
- * Verison of the platform.
151
+ * Version of the platform.
152
152
  */
153
153
  version: string;
154
154
  /**
@@ -184,7 +184,7 @@ export interface Platform {
184
184
  */
185
185
  metadata: string;
186
186
  /**
187
- * Price to be payed per hour (excluding free tiers).
187
+ * Price to be paid per hour (excluding free tiers).
188
188
  */
189
189
  pricePerHour?: Money;
190
190
  /**
@@ -620,7 +620,7 @@ class API extends api.API {
620
620
  marshalling_gen.unmarshalDeleteInstanceSettingsResponse
621
621
  );
622
622
  /**
623
- * Set Database Instance advanced settings. Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
623
+ * Set Database Instance advanced settings. Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated.
624
624
  *
625
625
  * @param request - The request {@link SetInstanceSettingsRequest}
626
626
  * @returns A Promise of SetInstanceSettingsResponse
@@ -288,7 +288,7 @@ export declare class API extends ParentAPI {
288
288
  */
289
289
  deleteInstanceSettings: (request: Readonly<DeleteInstanceSettingsRequest>) => Promise<DeleteInstanceSettingsResponse>;
290
290
  /**
291
- * Set Database Instance advanced settings. Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
291
+ * Set Database Instance advanced settings. Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated.
292
292
  *
293
293
  * @param request - The request {@link SetInstanceSettingsRequest}
294
294
  * @returns A Promise of SetInstanceSettingsResponse
@@ -618,7 +618,7 @@ class API extends API$1 {
618
618
  unmarshalDeleteInstanceSettingsResponse
619
619
  );
620
620
  /**
621
- * Set Database Instance advanced settings. Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
621
+ * Set Database Instance advanced settings. Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated.
622
622
  *
623
623
  * @param request - The request {@link SetInstanceSettingsRequest}
624
624
  * @returns A Promise of SetInstanceSettingsResponse
@@ -308,7 +308,7 @@ export interface Volume {
308
308
  }
309
309
  export interface NodeTypeVolumeConstraintSizes {
310
310
  /**
311
- * [deprecated] Mimimum size required for the Volume.
311
+ * [deprecated] Minimum size required for the Volume.
312
312
  */
313
313
  minSize: number;
314
314
  /**
@@ -326,7 +326,7 @@ export interface NodeTypeVolumeType {
326
326
  */
327
327
  description: string;
328
328
  /**
329
- * Mimimum size required for the Volume.
329
+ * Minimum size required for the Volume.
330
330
  */
331
331
  minSize: number;
332
332
  /**
@@ -263,7 +263,7 @@ class API extends api.API {
263
263
  marshalling_gen.unmarshalCluster
264
264
  );
265
265
  /**
266
- * Set advanced settings. Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
266
+ * Set advanced settings. Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated.
267
267
  *
268
268
  * @param request - The request {@link SetClusterSettingsRequest}
269
269
  * @returns A Promise of ClusterSettingsResponse
@@ -121,7 +121,7 @@ export declare class API extends ParentAPI {
121
121
  */
122
122
  deleteClusterSetting: (request: Readonly<DeleteClusterSettingRequest>) => Promise<Cluster>;
123
123
  /**
124
- * Set advanced settings. Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
124
+ * Set advanced settings. Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated.
125
125
  *
126
126
  * @param request - The request {@link SetClusterSettingsRequest}
127
127
  * @returns A Promise of ClusterSettingsResponse
@@ -261,7 +261,7 @@ class API extends API$1 {
261
261
  unmarshalCluster
262
262
  );
263
263
  /**
264
- * Set advanced settings. Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
264
+ * Set advanced settings. Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated.
265
265
  *
266
266
  * @param request - The request {@link SetClusterSettingsRequest}
267
267
  * @returns A Promise of ClusterSettingsResponse
@@ -54,7 +54,7 @@ export interface Namespace {
54
54
  */
55
55
  id: string;
56
56
  /**
57
- * Name of the namespace, unique in a region accross all organizations.
57
+ * Name of the namespace, unique in a region across all organizations.
58
58
  */
59
59
  name: string;
60
60
  /**