@scaleway/sdk 2.72.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 (209) hide show
  1. package/dist/api/account/v3/api.gen.cjs +13 -32
  2. package/dist/api/account/v3/api.gen.d.ts +17 -36
  3. package/dist/api/account/v3/api.gen.js +13 -32
  4. package/dist/api/account/v3/index.gen.d.ts +1 -1
  5. package/dist/api/account/v3/marshalling.gen.cjs +94 -65
  6. package/dist/api/account/v3/marshalling.gen.js +94 -65
  7. package/dist/api/account/v3/types.gen.d.ts +224 -104
  8. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  9. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  10. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  11. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  12. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  13. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  14. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  15. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  16. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  17. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  18. package/dist/api/baremetal/v1/api.gen.js +28 -61
  19. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  20. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  21. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  22. package/dist/api/baremetal/v3/api.gen.js +7 -14
  23. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  24. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  25. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  26. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  27. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  28. package/dist/api/block/v1/api.gen.cjs +37 -55
  29. package/dist/api/block/v1/api.gen.d.ts +19 -37
  30. package/dist/api/block/v1/api.gen.js +37 -55
  31. package/dist/api/block/v1/types.gen.d.ts +306 -125
  32. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  33. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  34. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  35. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  36. package/dist/api/cockpit/v1/api.gen.cjs +132 -156
  37. package/dist/api/cockpit/v1/api.gen.d.ts +66 -113
  38. package/dist/api/cockpit/v1/api.gen.js +133 -157
  39. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  40. package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
  41. package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
  42. package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
  43. package/dist/api/cockpit/v1/types.gen.d.ts +628 -246
  44. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  45. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  46. package/dist/api/container/v1beta1/api.gen.js +7 -14
  47. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  48. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  49. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  50. package/dist/api/dedibox/v1/api.gen.js +45 -69
  51. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  52. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  53. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  54. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  55. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  56. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  57. package/dist/api/edge_services/v1beta1/api.gen.cjs +41 -22
  58. package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
  59. package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
  60. package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
  61. package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
  62. package/dist/api/file/index.gen.cjs +4 -0
  63. package/dist/api/file/index.gen.d.ts +5 -0
  64. package/dist/api/file/index.gen.js +4 -0
  65. package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
  66. package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
  67. package/dist/api/file/v1alpha1/api.gen.js +142 -0
  68. package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
  69. package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
  70. package/dist/api/file/v1alpha1/content.gen.js +7 -0
  71. package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
  72. package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
  73. package/dist/api/file/v1alpha1/index.gen.js +8 -0
  74. package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
  75. package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
  76. package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
  77. package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
  78. package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
  79. package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
  80. package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
  81. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  82. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  83. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  84. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  85. package/dist/api/function/v1beta1/types.gen.d.ts +6 -6
  86. package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
  87. package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
  88. package/dist/api/iam/v1alpha1/api.gen.js +4 -4
  89. package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
  90. package/dist/api/index.gen.d.ts +3 -1
  91. package/dist/api/inference/v1/api.gen.cjs +8 -11
  92. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  93. package/dist/api/inference/v1/api.gen.js +8 -11
  94. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  95. package/dist/api/inference/v1beta1/api.gen.cjs +9 -12
  96. package/dist/api/inference/v1beta1/api.gen.d.ts +7 -10
  97. package/dist/api/inference/v1beta1/api.gen.js +9 -12
  98. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  99. package/dist/api/instance/v1/api.gen.cjs +64 -113
  100. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  101. package/dist/api/instance/v1/api.gen.js +64 -113
  102. package/dist/api/instance/v1/marshalling.gen.cjs +4 -1
  103. package/dist/api/instance/v1/marshalling.gen.js +4 -1
  104. package/dist/api/instance/v1/types.gen.d.ts +1368 -600
  105. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  106. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  107. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  108. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  109. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  110. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  111. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  112. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  113. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  114. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  115. package/dist/api/iot/v1/api.gen.cjs +37 -70
  116. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  117. package/dist/api/iot/v1/api.gen.js +37 -70
  118. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  119. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  120. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  121. package/dist/api/ipam/v1/api.gen.js +6 -26
  122. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  123. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  124. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  125. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  126. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  127. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  128. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  129. package/dist/api/k8s/v1/api.gen.js +33 -78
  130. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  131. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  132. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  133. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  134. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  135. package/dist/api/lb/v1/marshalling.gen.cjs +4 -2
  136. package/dist/api/lb/v1/marshalling.gen.js +4 -2
  137. package/dist/api/lb/v1/types.gen.d.ts +4 -0
  138. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  139. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  140. package/dist/api/marketplace/v2/api.gen.js +8 -21
  141. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  142. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  143. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  144. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  145. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  146. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  147. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  148. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  149. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  150. package/dist/api/product_catalog/index.gen.cjs +4 -0
  151. package/dist/api/product_catalog/index.gen.d.ts +5 -0
  152. package/dist/api/product_catalog/index.gen.js +4 -0
  153. package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
  154. package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
  155. package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
  156. package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
  157. package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
  158. package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
  159. package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
  160. package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
  161. package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
  162. package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
  163. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
  164. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
  165. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
  166. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  167. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  168. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  169. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  170. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  171. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  172. package/dist/api/rdb/v1/api.gen.js +62 -202
  173. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  174. package/dist/api/redis/v1/api.gen.cjs +23 -83
  175. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  176. package/dist/api/redis/v1/api.gen.js +23 -83
  177. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  178. package/dist/api/registry/v1/api.gen.cjs +12 -40
  179. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  180. package/dist/api/registry/v1/api.gen.js +12 -40
  181. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  182. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  183. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  184. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  185. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  186. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  187. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  188. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  189. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  190. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  191. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  192. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  193. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  194. package/dist/api/test/v1/api.gen.cjs +8 -11
  195. package/dist/api/test/v1/api.gen.d.ts +6 -9
  196. package/dist/api/test/v1/api.gen.js +8 -11
  197. package/dist/api/test/v1/types.gen.d.ts +21 -10
  198. package/dist/api/vpcgw/v1/api.gen.cjs +37 -0
  199. package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
  200. package/dist/api/vpcgw/v1/api.gen.js +37 -0
  201. package/dist/client/dist/package.json.cjs +1 -1
  202. package/dist/client/dist/package.json.js +1 -1
  203. package/dist/index.cjs +36 -32
  204. package/dist/index.js +36 -32
  205. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  206. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  207. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  208. package/package.json +2 -2
  209. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -4,42 +4,47 @@ export type ListDeploymentsRequestOrderBy = 'created_at_desc' | 'created_at_asc'
4
4
  export type ListModelsRequestOrderBy = 'display_rank_asc' | 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
5
5
  export type NodeTypeStock = 'unknown_stock' | 'low_stock' | 'out_of_stock' | 'available';
6
6
  export interface EndpointPrivateNetworkDetails {
7
- /** ID of the Private Network. */
7
+ /**
8
+ * ID of the Private Network.
9
+ */
8
10
  privateNetworkId: string;
9
11
  }
10
12
  export interface EndpointPublicAccessDetails {
11
13
  }
12
14
  export interface EndpointSpecPrivateNetwork {
13
- /** ID of the Private Network. */
15
+ /**
16
+ * ID of the Private Network.
17
+ */
14
18
  privateNetworkId: string;
15
19
  }
16
20
  export interface EndpointSpecPublic {
17
21
  }
18
22
  export interface Endpoint {
19
- /** Unique identifier. */
23
+ /**
24
+ * Unique identifier.
25
+ */
20
26
  id: string;
21
27
  /**
22
- * For private endpoints, the URL will be accessible only from the Private
23
- * Network. In addition, private endpoints will expose a CA certificate that
24
- * can be used to verify the server's identity. This CA certificate can be
25
- * retrieved using the `GetDeploymentCertificate` API call.
28
+ * For private endpoints, the URL will be accessible only from the Private Network.
29
+ In addition, private endpoints will expose a CA certificate that can be used to verify the server's identity.
30
+ This CA certificate can be retrieved using the `GetDeploymentCertificate` API call.
26
31
  */
27
32
  url: string;
28
33
  /**
29
34
  * Defines whether the endpoint is public.
30
35
  *
31
- * One-of ('details'): at most one of 'publicAccess', 'privateNetwork' could
32
- * be set.
36
+ * One-of ('details'): at most one of 'publicAccess', 'privateNetwork' could be set.
33
37
  */
34
38
  publicAccess?: EndpointPublicAccessDetails;
35
39
  /**
36
40
  * Details of the Private Network.
37
41
  *
38
- * One-of ('details'): at most one of 'publicAccess', 'privateNetwork' could
39
- * be set.
42
+ * One-of ('details'): at most one of 'publicAccess', 'privateNetwork' could be set.
40
43
  */
41
44
  privateNetwork?: EndpointPrivateNetworkDetails;
42
- /** Defines whether the authentication is disabled. */
45
+ /**
46
+ * Defines whether the authentication is disabled.
47
+ */
43
48
  disableAuth: boolean;
44
49
  }
45
50
  export interface ModelS3Model {
@@ -50,19 +55,26 @@ export interface ModelS3Model {
50
55
  }
51
56
  export interface ACLRuleRequest {
52
57
  /**
53
- * It can be specified as a single IP address or a range of IP addresses in
54
- * CIDR notation.
58
+ * It can be specified as a single IP address or a range of IP addresses in CIDR notation.
55
59
  */
56
60
  ip: string;
57
- /** Description of the ACL rule. */
61
+ /**
62
+ * Description of the ACL rule.
63
+ */
58
64
  description: string;
59
65
  }
60
66
  export interface ACLRule {
61
- /** Unique identifier. */
67
+ /**
68
+ * Unique identifier.
69
+ */
62
70
  id: string;
63
- /** Allowed IP address or CIDR range. */
71
+ /**
72
+ * Allowed IP address or CIDR range.
73
+ */
64
74
  ip: string;
65
- /** Description of the ACL rule. */
75
+ /**
76
+ * Description of the ACL rule.
77
+ */
66
78
  description: string;
67
79
  }
68
80
  export interface EndpointSpec {
@@ -79,65 +91,117 @@ export interface EndpointSpec {
79
91
  */
80
92
  privateNetwork?: EndpointSpecPrivateNetwork;
81
93
  /**
82
- * By default, deployments are protected by IAM authentication. When setting
83
- * this field to true, the authentication will be disabled.
94
+ * By default, deployments are protected by IAM authentication.
95
+ When setting this field to true, the authentication will be disabled.
84
96
  */
85
97
  disableAuth: boolean;
86
98
  }
87
99
  export interface Deployment {
88
- /** Unique identifier. */
100
+ /**
101
+ * Unique identifier.
102
+ */
89
103
  id: string;
90
- /** Name of the deployment. */
104
+ /**
105
+ * Name of the deployment.
106
+ */
91
107
  name: string;
92
- /** Project ID. */
108
+ /**
109
+ * Project ID.
110
+ */
93
111
  projectId: string;
94
- /** Status of the deployment. */
112
+ /**
113
+ * Status of the deployment.
114
+ */
95
115
  status: DeploymentStatus;
96
- /** List of tags applied to the deployment. */
116
+ /**
117
+ * List of tags applied to the deployment.
118
+ */
97
119
  tags: string[];
98
- /** Node type of the deployment. */
120
+ /**
121
+ * Node type of the deployment.
122
+ */
99
123
  nodeType: string;
100
- /** List of endpoints. */
124
+ /**
125
+ * List of endpoints.
126
+ */
101
127
  endpoints: Endpoint[];
102
- /** Current size of the pool. */
128
+ /**
129
+ * Current size of the pool.
130
+ */
103
131
  size: number;
104
- /** Defines the minimum size of the pool. */
132
+ /**
133
+ * Defines the minimum size of the pool.
134
+ */
105
135
  minSize: number;
106
- /** Defines the maximum size of the pool. */
136
+ /**
137
+ * Defines the maximum size of the pool.
138
+ */
107
139
  maxSize: number;
108
- /** Displays information if your deployment is in error state. */
140
+ /**
141
+ * Displays information if your deployment is in error state.
142
+ */
109
143
  errorMessage?: string;
110
- /** The inference model used for the deployment. */
144
+ /**
145
+ * The inference model used for the deployment.
146
+ */
111
147
  modelName: string;
112
- /** ID of the model used for the deployment. */
148
+ /**
149
+ * ID of the model used for the deployment.
150
+ */
113
151
  modelId: string;
114
- /** Creation date of the deployment. */
152
+ /**
153
+ * Creation date of the deployment.
154
+ */
115
155
  createdAt?: Date;
116
- /** Last modification date of the deployment. */
156
+ /**
157
+ * Last modification date of the deployment.
158
+ */
117
159
  updatedAt?: Date;
118
- /** Region of the deployment. */
160
+ /**
161
+ * Region of the deployment.
162
+ */
119
163
  region: ScwRegion;
120
164
  }
121
165
  export interface Model {
122
- /** Unique identifier. */
166
+ /**
167
+ * Unique identifier.
168
+ */
123
169
  id: string;
124
- /** Unique Name identifier. */
170
+ /**
171
+ * Unique Name identifier.
172
+ */
125
173
  name: string;
126
- /** Project ID. */
174
+ /**
175
+ * Project ID.
176
+ */
127
177
  projectId: string;
128
- /** Name of the model provider. */
178
+ /**
179
+ * Name of the model provider.
180
+ */
129
181
  provider: string;
130
- /** List of tags applied to the model. */
182
+ /**
183
+ * List of tags applied to the model.
184
+ */
131
185
  tags: string[];
132
- /** Purpose of the model. */
186
+ /**
187
+ * Purpose of the model.
188
+ */
133
189
  description: string;
134
- /** Defines whether the model has an end user license agreement. */
190
+ /**
191
+ * Defines whether the model has an end user license agreement.
192
+ */
135
193
  hasEula: boolean;
136
- /** Creation date of the model. */
194
+ /**
195
+ * Creation date of the model.
196
+ */
137
197
  createdAt?: Date;
138
- /** Last modification date of the model. */
198
+ /**
199
+ * Last modification date of the model.
200
+ */
139
201
  updatedAt?: Date;
140
- /** Region of the model. */
202
+ /**
203
+ * Region of the model.
204
+ */
141
205
  region: ScwRegion;
142
206
  /**
143
207
  * Object Storage URL pointing to the model source weight.
@@ -145,291 +209,414 @@ export interface Model {
145
209
  * One-of ('source'): at most one of 's3Model' could be set.
146
210
  */
147
211
  s3Model?: ModelS3Model;
148
- /** Defines whether the model is public or not. */
212
+ /**
213
+ * Defines whether the model is public or not.
214
+ */
149
215
  isPublic: boolean;
150
- /** Names of the node types compatible with the model. */
216
+ /**
217
+ * Names of the node types compatible with the model.
218
+ */
151
219
  compatibleNodeTypes: string[];
152
- /** Quantization level of the model. */
220
+ /**
221
+ * Quantization level of the model.
222
+ */
153
223
  quantizationLevel: string;
154
224
  }
155
225
  export interface NodeType {
156
- /** Name of the node type. */
226
+ /**
227
+ * Name of the node type.
228
+ */
157
229
  name: string;
158
- /** Current stock status for the node type. */
230
+ /**
231
+ * Current stock status for the node type.
232
+ */
159
233
  stockStatus: NodeTypeStock;
160
- /** Current specs of the offer. */
234
+ /**
235
+ * Current specs of the offer.
236
+ */
161
237
  description: string;
162
- /** Number of virtual CPUs. */
238
+ /**
239
+ * Number of virtual CPUs.
240
+ */
163
241
  vcpus: number;
164
- /** Quantity of RAM. */
242
+ /**
243
+ * Quantity of RAM.
244
+ */
165
245
  memory: number;
166
- /** Quantity of GPU RAM. */
246
+ /**
247
+ * Quantity of GPU RAM.
248
+ */
167
249
  vram: number;
168
- /** The node type is currently disabled. */
250
+ /**
251
+ * The node type is currently disabled.
252
+ */
169
253
  disabled: boolean;
170
- /** The node type is currently in beta. */
254
+ /**
255
+ * The node type is currently in beta.
256
+ */
171
257
  beta: boolean;
172
- /** Creation date of the node type. */
258
+ /**
259
+ * Creation date of the node type.
260
+ */
173
261
  createdAt?: Date;
174
- /** Last modification date of the node type. */
262
+ /**
263
+ * Last modification date of the node type.
264
+ */
175
265
  updatedAt?: Date;
176
- /** Number of GPUs. */
266
+ /**
267
+ * Number of GPUs.
268
+ */
177
269
  gpus: number;
178
- /** Region of the node type. */
270
+ /**
271
+ * Region of the node type.
272
+ */
179
273
  region: ScwRegion;
180
274
  }
181
275
  export type AddDeploymentACLRulesRequest = {
182
276
  /**
183
- * Region to target. If none is passed will use default region from the
184
- * config.
277
+ * Region to target. If none is passed will use default region from the config.
185
278
  */
186
279
  region?: ScwRegion;
187
- /** ID of the deployment to add ACL rules to. */
280
+ /**
281
+ * ID of the deployment to add ACL rules to.
282
+ */
188
283
  deploymentId: string;
189
- /** List of ACL rules to add. */
284
+ /**
285
+ * List of ACL rules to add.
286
+ */
190
287
  acls?: ACLRuleRequest[];
191
288
  };
192
289
  export interface AddDeploymentACLRulesResponse {
193
- /** List of ACL rules added. */
290
+ /**
291
+ * List of ACL rules added.
292
+ */
194
293
  rules: ACLRule[];
195
294
  }
196
295
  export type CreateDeploymentRequest = {
197
296
  /**
198
- * Region to target. If none is passed will use default region from the
199
- * config.
297
+ * Region to target. If none is passed will use default region from the config.
200
298
  */
201
299
  region?: ScwRegion;
202
- /** Name of the deployment. */
300
+ /**
301
+ * Name of the deployment.
302
+ */
203
303
  name?: string;
204
- /** ID of the Project to create the deployment in. */
304
+ /**
305
+ * ID of the Project to create the deployment in.
306
+ */
205
307
  projectId?: string;
206
- /** Name of the model to use. */
308
+ /**
309
+ * Name of the model to use.
310
+ */
207
311
  modelName: string;
208
312
  /**
209
- * If the model has an EULA, you must accept it before proceeding. The terms
210
- * of the EULA can be retrieved using the `GetModelEula` API call.
313
+ * If the model has an EULA, you must accept it before proceeding.
314
+ The terms of the EULA can be retrieved using the `GetModelEula` API call.
211
315
  */
212
316
  acceptEula?: boolean;
213
- /** Name of the node type to use. */
317
+ /**
318
+ * Name of the node type to use.
319
+ */
214
320
  nodeType: string;
215
- /** List of tags to apply to the deployment. */
321
+ /**
322
+ * List of tags to apply to the deployment.
323
+ */
216
324
  tags?: string[];
217
- /** Defines the minimum size of the pool. */
325
+ /**
326
+ * Defines the minimum size of the pool.
327
+ */
218
328
  minSize?: number;
219
- /** Defines the maximum size of the pool. */
329
+ /**
330
+ * Defines the maximum size of the pool.
331
+ */
220
332
  maxSize?: number;
221
- /** List of endpoints to create. */
333
+ /**
334
+ * List of endpoints to create.
335
+ */
222
336
  endpoints: EndpointSpec[];
223
337
  };
224
338
  export type CreateEndpointRequest = {
225
339
  /**
226
- * Region to target. If none is passed will use default region from the
227
- * config.
340
+ * Region to target. If none is passed will use default region from the config.
228
341
  */
229
342
  region?: ScwRegion;
230
- /** ID of the deployment to create the endpoint for. */
343
+ /**
344
+ * ID of the deployment to create the endpoint for.
345
+ */
231
346
  deploymentId: string;
232
- /** Specification of the endpoint. */
347
+ /**
348
+ * Specification of the endpoint.
349
+ */
233
350
  endpoint: EndpointSpec;
234
351
  };
235
352
  export type DeleteDeploymentACLRuleRequest = {
236
353
  /**
237
- * Region to target. If none is passed will use default region from the
238
- * config.
354
+ * Region to target. If none is passed will use default region from the config.
239
355
  */
240
356
  region?: ScwRegion;
241
- /** ID of the ACL rule to delete. */
357
+ /**
358
+ * ID of the ACL rule to delete.
359
+ */
242
360
  aclId: string;
243
361
  };
244
362
  export type DeleteDeploymentRequest = {
245
363
  /**
246
- * Region to target. If none is passed will use default region from the
247
- * config.
364
+ * Region to target. If none is passed will use default region from the config.
248
365
  */
249
366
  region?: ScwRegion;
250
- /** ID of the deployment to delete. */
367
+ /**
368
+ * ID of the deployment to delete.
369
+ */
251
370
  deploymentId: string;
252
371
  };
253
372
  export type DeleteEndpointRequest = {
254
373
  /**
255
- * Region to target. If none is passed will use default region from the
256
- * config.
374
+ * Region to target. If none is passed will use default region from the config.
257
375
  */
258
376
  region?: ScwRegion;
259
- /** ID of the endpoint to delete. */
377
+ /**
378
+ * ID of the endpoint to delete.
379
+ */
260
380
  endpointId: string;
261
381
  };
262
382
  export interface Eula {
263
- /** Content of the end user license agreement. */
383
+ /**
384
+ * Content of the end user license agreement.
385
+ */
264
386
  content: string;
265
387
  }
266
388
  export type GetDeploymentCertificateRequest = {
267
389
  /**
268
- * Region to target. If none is passed will use default region from the
269
- * config.
390
+ * Region to target. If none is passed will use default region from the config.
270
391
  */
271
392
  region?: ScwRegion;
272
393
  deploymentId: string;
273
394
  };
274
395
  export type GetDeploymentRequest = {
275
396
  /**
276
- * Region to target. If none is passed will use default region from the
277
- * config.
397
+ * Region to target. If none is passed will use default region from the config.
278
398
  */
279
399
  region?: ScwRegion;
280
- /** ID of the deployment to get. */
400
+ /**
401
+ * ID of the deployment to get.
402
+ */
281
403
  deploymentId: string;
282
404
  };
283
405
  export type GetModelEulaRequest = {
284
406
  /**
285
- * Region to target. If none is passed will use default region from the
286
- * config.
407
+ * Region to target. If none is passed will use default region from the config.
287
408
  */
288
409
  region?: ScwRegion;
289
410
  modelId: string;
290
411
  };
291
412
  export type GetModelRequest = {
292
413
  /**
293
- * Region to target. If none is passed will use default region from the
294
- * config.
414
+ * Region to target. If none is passed will use default region from the config.
295
415
  */
296
416
  region?: ScwRegion;
297
- /** ID of the model to get. */
417
+ /**
418
+ * ID of the model to get.
419
+ */
298
420
  modelId: string;
299
421
  };
300
422
  export type ListDeploymentACLRulesRequest = {
301
423
  /**
302
- * Region to target. If none is passed will use default region from the
303
- * config.
424
+ * Region to target. If none is passed will use default region from the config.
304
425
  */
305
426
  region?: ScwRegion;
306
- /** ID of the deployment to list ACL rules for. */
427
+ /**
428
+ * ID of the deployment to list ACL rules for.
429
+ */
307
430
  deploymentId: string;
308
- /** Page number to return. */
431
+ /**
432
+ * Page number to return.
433
+ */
309
434
  page?: number;
310
- /** Maximum number of ACL rules to return per page. */
435
+ /**
436
+ * Maximum number of ACL rules to return per page.
437
+ */
311
438
  pageSize?: number;
312
439
  };
313
440
  export interface ListDeploymentACLRulesResponse {
314
- /** List of ACL rules on the current page. */
441
+ /**
442
+ * List of ACL rules on the current page.
443
+ */
315
444
  rules: ACLRule[];
316
- /** Total number of ACL rules. */
445
+ /**
446
+ * Total number of ACL rules.
447
+ */
317
448
  totalCount: number;
318
449
  }
319
450
  export type ListDeploymentsRequest = {
320
451
  /**
321
- * Region to target. If none is passed will use default region from the
322
- * config.
452
+ * Region to target. If none is passed will use default region from the config.
323
453
  */
324
454
  region?: ScwRegion;
325
- /** Page number to return. */
455
+ /**
456
+ * Page number to return.
457
+ */
326
458
  page?: number;
327
- /** Maximum number of deployments to return per page. */
459
+ /**
460
+ * Maximum number of deployments to return per page.
461
+ */
328
462
  pageSize?: number;
329
- /** Order in which to return results. */
463
+ /**
464
+ * Order in which to return results.
465
+ */
330
466
  orderBy?: ListDeploymentsRequestOrderBy;
331
- /** Filter by Project ID. */
467
+ /**
468
+ * Filter by Project ID.
469
+ */
332
470
  projectId?: string;
333
- /** Filter by Organization ID. */
471
+ /**
472
+ * Filter by Organization ID.
473
+ */
334
474
  organizationId?: string;
335
- /** Filter by deployment name. */
475
+ /**
476
+ * Filter by deployment name.
477
+ */
336
478
  name?: string;
337
- /** Filter by tags. */
479
+ /**
480
+ * Filter by tags.
481
+ */
338
482
  tags?: string[];
339
483
  };
340
484
  export interface ListDeploymentsResponse {
341
- /** List of deployments on the current page. */
485
+ /**
486
+ * List of deployments on the current page.
487
+ */
342
488
  deployments: Deployment[];
343
- /** Total number of deployments. */
489
+ /**
490
+ * Total number of deployments.
491
+ */
344
492
  totalCount: number;
345
493
  }
346
494
  export type ListModelsRequest = {
347
495
  /**
348
- * Region to target. If none is passed will use default region from the
349
- * config.
496
+ * Region to target. If none is passed will use default region from the config.
350
497
  */
351
498
  region?: ScwRegion;
352
- /** Order in which to return results. */
499
+ /**
500
+ * Order in which to return results.
501
+ */
353
502
  orderBy?: ListModelsRequestOrderBy;
354
- /** Page number to return. */
503
+ /**
504
+ * Page number to return.
505
+ */
355
506
  page?: number;
356
- /** Maximum number of models to return per page. */
507
+ /**
508
+ * Maximum number of models to return per page.
509
+ */
357
510
  pageSize?: number;
358
- /** Filter by Project ID. */
511
+ /**
512
+ * Filter by Project ID.
513
+ */
359
514
  projectId?: string;
360
- /** Filter by model name. */
515
+ /**
516
+ * Filter by model name.
517
+ */
361
518
  name?: string;
362
- /** Filter by tags. */
519
+ /**
520
+ * Filter by tags.
521
+ */
363
522
  tags?: string[];
364
523
  };
365
524
  export interface ListModelsResponse {
366
- /** List of models on the current page. */
525
+ /**
526
+ * List of models on the current page.
527
+ */
367
528
  models: Model[];
368
- /** Total number of models. */
529
+ /**
530
+ * Total number of models.
531
+ */
369
532
  totalCount: number;
370
533
  }
371
534
  export type ListNodeTypesRequest = {
372
535
  /**
373
- * Region to target. If none is passed will use default region from the
374
- * config.
536
+ * Region to target. If none is passed will use default region from the config.
375
537
  */
376
538
  region?: ScwRegion;
377
- /** Page number to return. */
539
+ /**
540
+ * Page number to return.
541
+ */
378
542
  page?: number;
379
- /** Maximum number of node types to return per page. */
543
+ /**
544
+ * Maximum number of node types to return per page.
545
+ */
380
546
  pageSize?: number;
381
- /** Include disabled node types in the response. */
547
+ /**
548
+ * Include disabled node types in the response.
549
+ */
382
550
  includeDisabledTypes: boolean;
383
551
  };
384
552
  export interface ListNodeTypesResponse {
385
- /** List of node types. */
553
+ /**
554
+ * List of node types.
555
+ */
386
556
  nodeTypes: NodeType[];
387
- /** Total number of node types. */
557
+ /**
558
+ * Total number of node types.
559
+ */
388
560
  totalCount: number;
389
561
  }
390
562
  export type SetDeploymentACLRulesRequest = {
391
563
  /**
392
- * Region to target. If none is passed will use default region from the
393
- * config.
564
+ * Region to target. If none is passed will use default region from the config.
394
565
  */
395
566
  region?: ScwRegion;
396
- /** ID of the deployment to set ACL rules for. */
567
+ /**
568
+ * ID of the deployment to set ACL rules for.
569
+ */
397
570
  deploymentId: string;
398
- /** All existing ACL rules will be replaced by the new ones. */
571
+ /**
572
+ * All existing ACL rules will be replaced by the new ones.
573
+ */
399
574
  acls?: ACLRuleRequest[];
400
575
  };
401
576
  export interface SetDeploymentACLRulesResponse {
402
- /** List of ACL rules that were set. */
577
+ /**
578
+ * List of ACL rules that were set.
579
+ */
403
580
  rules: ACLRule[];
404
581
  }
405
582
  export type UpdateDeploymentRequest = {
406
583
  /**
407
- * Region to target. If none is passed will use default region from the
408
- * config.
584
+ * Region to target. If none is passed will use default region from the config.
409
585
  */
410
586
  region?: ScwRegion;
411
- /** ID of the deployment to update. */
587
+ /**
588
+ * ID of the deployment to update.
589
+ */
412
590
  deploymentId: string;
413
- /** Name of the deployment. */
591
+ /**
592
+ * Name of the deployment.
593
+ */
414
594
  name?: string;
415
- /** List of tags to apply to the deployment. */
595
+ /**
596
+ * List of tags to apply to the deployment.
597
+ */
416
598
  tags?: string[];
417
- /** Defines the new minimum size of the pool. */
599
+ /**
600
+ * Defines the new minimum size of the pool.
601
+ */
418
602
  minSize?: number;
419
- /** Defines the new maximum size of the pool. */
603
+ /**
604
+ * Defines the new maximum size of the pool.
605
+ */
420
606
  maxSize?: number;
421
607
  };
422
608
  export type UpdateEndpointRequest = {
423
609
  /**
424
- * Region to target. If none is passed will use default region from the
425
- * config.
610
+ * Region to target. If none is passed will use default region from the config.
426
611
  */
427
612
  region?: ScwRegion;
428
- /** ID of the endpoint to update. */
613
+ /**
614
+ * ID of the endpoint to update.
615
+ */
429
616
  endpointId: string;
430
617
  /**
431
- * By default, deployments are protected by IAM authentication. When setting
432
- * this field to true, the authentication will be disabled.
618
+ * By default, deployments are protected by IAM authentication.
619
+ When setting this field to true, the authentication will be disabled.
433
620
  */
434
621
  disableAuth?: boolean;
435
622
  };