@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
@@ -5,13 +5,16 @@ export type ListModelsRequestOrderBy = 'display_rank_asc' | 'created_at_asc' | '
5
5
  export type ModelStatus = 'unknown_status' | 'preparing' | 'downloading' | 'ready' | 'error';
6
6
  export type NodeTypeStock = 'unknown_stock' | 'low_stock' | 'out_of_stock' | 'available';
7
7
  export interface ModelSupportedQuantization {
8
- /** Number of bits for this supported quantization. */
8
+ /**
9
+ * Number of bits for this supported quantization.
10
+ */
9
11
  quantizationBits: number;
10
- /** Tells whether this quantization is allowed for this node type. */
12
+ /**
13
+ * Tells whether this quantization is allowed for this node type.
14
+ */
11
15
  allowed: boolean;
12
16
  /**
13
- * Maximum inference context size available for this node type and
14
- * quantization.
17
+ * Maximum inference context size available for this node type and quantization.
15
18
  */
16
19
  maxContextSize: number;
17
20
  }
@@ -21,377 +24,554 @@ export interface EndpointPrivateNetworkDetails {
21
24
  export interface EndpointPublicNetworkDetails {
22
25
  }
23
26
  export interface ModelSupportedNode {
24
- /** Supported node type. */
27
+ /**
28
+ * Supported node type.
29
+ */
25
30
  nodeTypeName: string;
26
- /** Supported quantizations. */
31
+ /**
32
+ * Supported quantizations.
33
+ */
27
34
  quantizations: ModelSupportedQuantization[];
28
35
  }
29
36
  export interface DeploymentQuantization {
30
37
  /**
31
- * The number of bits each model parameter should be quantized to. The
32
- * quantization method is chosen based on this value.
38
+ * The number of bits each model parameter should be quantized to. The quantization method is chosen based on this value.
33
39
  */
34
40
  bits: number;
35
41
  }
36
42
  export interface Endpoint {
37
- /** Unique identifier. */
43
+ /**
44
+ * Unique identifier.
45
+ */
38
46
  id: string;
39
47
  /**
40
- * For private endpoints, the URL will be accessible only from the Private
41
- * Network. In addition, private endpoints will expose a CA certificate that
42
- * can be used to verify the server's identity. This CA certificate can be
43
- * retrieved using the `GetDeploymentCertificate` API call.
48
+ * For private endpoints, the URL will be accessible only from the Private Network.
49
+ In addition, private endpoints will expose a CA certificate that can be used to verify the server's identity.
50
+ This CA certificate can be retrieved using the `GetDeploymentCertificate` API call.
44
51
  */
45
52
  url: string;
46
53
  /**
47
54
  * Defines whether the endpoint is public.
48
55
  *
49
- * One-of ('details'): at most one of 'publicNetwork', 'privateNetwork' could
50
- * be set.
56
+ * One-of ('details'): at most one of 'publicNetwork', 'privateNetwork' could be set.
51
57
  */
52
58
  publicNetwork?: EndpointPublicNetworkDetails;
53
59
  /**
54
60
  * Details of the Private Network.
55
61
  *
56
- * One-of ('details'): at most one of 'publicNetwork', 'privateNetwork' could
57
- * be set.
62
+ * One-of ('details'): at most one of 'publicNetwork', 'privateNetwork' could be set.
58
63
  */
59
64
  privateNetwork?: EndpointPrivateNetworkDetails;
60
- /** Defines whether the authentication is disabled. */
65
+ /**
66
+ * Defines whether the authentication is disabled.
67
+ */
61
68
  disableAuth: boolean;
62
69
  }
63
70
  export interface ModelSupportInfo {
64
- /** List of supported node types. */
71
+ /**
72
+ * List of supported node types.
73
+ */
65
74
  nodes: ModelSupportedNode[];
66
75
  }
67
76
  export interface EndpointSpec {
68
77
  /**
69
78
  * Set the endpoint as public.
70
79
  *
71
- * One-of ('details'): at most one of 'publicNetwork', 'privateNetwork' could
72
- * be set.
80
+ * One-of ('details'): at most one of 'publicNetwork', 'privateNetwork' could be set.
73
81
  */
74
82
  publicNetwork?: EndpointPublicNetworkDetails;
75
83
  /**
76
84
  * Private endpoints are only accessible from the Private Network.
77
85
  *
78
- * One-of ('details'): at most one of 'publicNetwork', 'privateNetwork' could
79
- * be set.
86
+ * One-of ('details'): at most one of 'publicNetwork', 'privateNetwork' could be set.
80
87
  */
81
88
  privateNetwork?: EndpointPrivateNetworkDetails;
82
89
  /**
83
- * By default, deployments are protected by IAM authentication. When setting
84
- * this field to true, the authentication will be disabled.
90
+ * By default, deployments are protected by IAM authentication.
91
+ When setting this field to true, the authentication will be disabled.
85
92
  */
86
93
  disableAuth: boolean;
87
94
  }
88
95
  export interface ModelSource {
89
96
  url: string;
90
- /** One-of ('credentials'): at most one of 'secret' could be set. */
97
+ /**
98
+ *
99
+ * One-of ('credentials'): at most one of 'secret' could be set.
100
+ */
91
101
  secret?: string;
92
102
  }
93
103
  export interface Deployment {
94
- /** Unique identifier. */
104
+ /**
105
+ * Unique identifier.
106
+ */
95
107
  id: string;
96
- /** Name of the deployment. */
108
+ /**
109
+ * Name of the deployment.
110
+ */
97
111
  name: string;
98
- /** Project ID. */
112
+ /**
113
+ * Project ID.
114
+ */
99
115
  projectId: string;
100
- /** Status of the deployment. */
116
+ /**
117
+ * Status of the deployment.
118
+ */
101
119
  status: DeploymentStatus;
102
- /** List of tags applied to the deployment. */
120
+ /**
121
+ * List of tags applied to the deployment.
122
+ */
103
123
  tags: string[];
104
- /** Node type of the deployment. */
124
+ /**
125
+ * Node type of the deployment.
126
+ */
105
127
  nodeTypeName: string;
106
- /** List of endpoints. */
128
+ /**
129
+ * List of endpoints.
130
+ */
107
131
  endpoints: Endpoint[];
108
- /** Current size of the pool. */
132
+ /**
133
+ * Current size of the pool.
134
+ */
109
135
  size: number;
110
- /** Defines the minimum size of the pool. */
136
+ /**
137
+ * Defines the minimum size of the pool.
138
+ */
111
139
  minSize: number;
112
- /** Defines the maximum size of the pool. */
140
+ /**
141
+ * Defines the maximum size of the pool.
142
+ */
113
143
  maxSize: number;
114
- /** Displays information if your deployment is in error state. */
144
+ /**
145
+ * Displays information if your deployment is in error state.
146
+ */
115
147
  errorMessage?: string;
116
- /** ID of the model used for the deployment. */
148
+ /**
149
+ * ID of the model used for the deployment.
150
+ */
117
151
  modelId: string;
118
- /** Quantization parameters for this deployment. */
152
+ /**
153
+ * Quantization parameters for this deployment.
154
+ */
119
155
  quantization?: DeploymentQuantization;
120
- /** Name of the deployed model. */
156
+ /**
157
+ * Name of the deployed model.
158
+ */
121
159
  modelName: string;
122
- /** Creation date of the deployment. */
160
+ /**
161
+ * Creation date of the deployment.
162
+ */
123
163
  createdAt?: Date;
124
- /** Last modification date of the deployment. */
164
+ /**
165
+ * Last modification date of the deployment.
166
+ */
125
167
  updatedAt?: Date;
126
- /** Region of the deployment. */
168
+ /**
169
+ * Region of the deployment.
170
+ */
127
171
  region: ScwRegion;
128
172
  }
129
173
  export interface Model {
130
- /** Unique identifier. */
174
+ /**
175
+ * Unique identifier.
176
+ */
131
177
  id: string;
132
- /** Unique Name identifier. */
178
+ /**
179
+ * Unique Name identifier.
180
+ */
133
181
  name: string;
134
- /** Project ID. */
182
+ /**
183
+ * Project ID.
184
+ */
135
185
  projectId: string;
136
- /** List of tags applied to the model. */
186
+ /**
187
+ * List of tags applied to the model.
188
+ */
137
189
  tags: string[];
138
- /** Status of the model. */
190
+ /**
191
+ * Status of the model.
192
+ */
139
193
  status: ModelStatus;
140
- /** Purpose of the model. */
194
+ /**
195
+ * Purpose of the model.
196
+ */
141
197
  description: string;
142
- /** Displays information if your model is in error state. */
198
+ /**
199
+ * Displays information if your model is in error state.
200
+ */
143
201
  errorMessage?: string;
144
- /** Defines whether the model has an end user license agreement. */
202
+ /**
203
+ * Defines whether the model has an end user license agreement.
204
+ */
145
205
  hasEula: boolean;
146
- /** Creation date of the model. */
206
+ /**
207
+ * Creation date of the model.
208
+ */
147
209
  createdAt?: Date;
148
- /** Last modification date of the model. */
210
+ /**
211
+ * Last modification date of the model.
212
+ */
149
213
  updatedAt?: Date;
150
- /** Region of the model. */
214
+ /**
215
+ * Region of the model.
216
+ */
151
217
  region: ScwRegion;
152
- /** Supported nodes types with quantization options and context lengths. */
218
+ /**
219
+ * Supported nodes types with quantization options and context lengths.
220
+ */
153
221
  nodesSupport: ModelSupportInfo[];
154
- /** Size, in bits, of the model parameters. */
222
+ /**
223
+ * Size, in bits, of the model parameters.
224
+ */
155
225
  parameterSizeBits: number;
156
- /** Total size, in bytes, of the model files. */
226
+ /**
227
+ * Total size, in bytes, of the model files.
228
+ */
157
229
  sizeBytes: number;
158
230
  }
159
231
  export interface NodeType {
160
- /** Name of the node type. */
232
+ /**
233
+ * Name of the node type.
234
+ */
161
235
  name: string;
162
- /** Current stock status for the node type. */
236
+ /**
237
+ * Current stock status for the node type.
238
+ */
163
239
  stockStatus: NodeTypeStock;
164
- /** Current specs of the offer. */
240
+ /**
241
+ * Current specs of the offer.
242
+ */
165
243
  description: string;
166
- /** Number of virtual CPUs. */
244
+ /**
245
+ * Number of virtual CPUs.
246
+ */
167
247
  vcpus: number;
168
- /** Quantity of RAM. */
248
+ /**
249
+ * Quantity of RAM.
250
+ */
169
251
  memory: number;
170
- /** Quantity of GPU RAM. */
252
+ /**
253
+ * Quantity of GPU RAM.
254
+ */
171
255
  vram: number;
172
- /** The node type is currently disabled. */
256
+ /**
257
+ * The node type is currently disabled.
258
+ */
173
259
  disabled: boolean;
174
- /** The node type is currently in beta. */
260
+ /**
261
+ * The node type is currently in beta.
262
+ */
175
263
  beta: boolean;
176
- /** Creation date of the node type. */
264
+ /**
265
+ * Creation date of the node type.
266
+ */
177
267
  createdAt?: Date;
178
- /** Last modification date of the node type. */
268
+ /**
269
+ * Last modification date of the node type.
270
+ */
179
271
  updatedAt?: Date;
180
- /** Number of GPUs. */
272
+ /**
273
+ * Number of GPUs.
274
+ */
181
275
  gpus: number;
182
- /** Region of the node type. */
276
+ /**
277
+ * Region of the node type.
278
+ */
183
279
  region: ScwRegion;
184
280
  }
185
281
  export type CreateDeploymentRequest = {
186
282
  /**
187
- * Region to target. If none is passed will use default region from the
188
- * config.
283
+ * Region to target. If none is passed will use default region from the config.
189
284
  */
190
285
  region?: ScwRegion;
191
- /** Name of the deployment. */
286
+ /**
287
+ * Name of the deployment.
288
+ */
192
289
  name?: string;
193
- /** ID of the Project to create the deployment in. */
290
+ /**
291
+ * ID of the Project to create the deployment in.
292
+ */
194
293
  projectId?: string;
195
- /** ID of the model to use. */
294
+ /**
295
+ * ID of the model to use.
296
+ */
196
297
  modelId: string;
197
298
  /**
198
- * If the model has an EULA, you must accept it before proceeding. The terms
199
- * of the EULA can be retrieved using the `GetModelEula` API call.
299
+ * If the model has an EULA, you must accept it before proceeding.
300
+ The terms of the EULA can be retrieved using the `GetModelEula` API call.
200
301
  */
201
302
  acceptEula?: boolean;
202
- /** Name of the node type to use. */
303
+ /**
304
+ * Name of the node type to use.
305
+ */
203
306
  nodeTypeName: string;
204
- /** List of tags to apply to the deployment. */
307
+ /**
308
+ * List of tags to apply to the deployment.
309
+ */
205
310
  tags?: string[];
206
- /** Defines the minimum size of the pool. */
311
+ /**
312
+ * Defines the minimum size of the pool.
313
+ */
207
314
  minSize?: number;
208
- /** Defines the maximum size of the pool. */
315
+ /**
316
+ * Defines the maximum size of the pool.
317
+ */
209
318
  maxSize?: number;
210
- /** List of endpoints to create. */
319
+ /**
320
+ * List of endpoints to create.
321
+ */
211
322
  endpoints: EndpointSpec[];
212
- /** Quantization settings to apply to this deployment. */
323
+ /**
324
+ * Quantization settings to apply to this deployment.
325
+ */
213
326
  quantization?: DeploymentQuantization;
214
327
  };
215
328
  export type CreateEndpointRequest = {
216
329
  /**
217
- * Region to target. If none is passed will use default region from the
218
- * config.
330
+ * Region to target. If none is passed will use default region from the config.
219
331
  */
220
332
  region?: ScwRegion;
221
- /** ID of the deployment to create the endpoint for. */
333
+ /**
334
+ * ID of the deployment to create the endpoint for.
335
+ */
222
336
  deploymentId: string;
223
- /** Specification of the endpoint. */
337
+ /**
338
+ * Specification of the endpoint.
339
+ */
224
340
  endpoint: EndpointSpec;
225
341
  };
226
342
  export type CreateModelRequest = {
227
343
  /**
228
- * Region to target. If none is passed will use default region from the
229
- * config.
344
+ * Region to target. If none is passed will use default region from the config.
230
345
  */
231
346
  region?: ScwRegion;
232
- /** Name of the model. */
347
+ /**
348
+ * Name of the model.
349
+ */
233
350
  name?: string;
234
- /** ID of the Project to import the model in. */
351
+ /**
352
+ * ID of the Project to import the model in.
353
+ */
235
354
  projectId?: string;
236
- /** Where to import the model from. */
355
+ /**
356
+ * Where to import the model from.
357
+ */
237
358
  source: ModelSource;
238
359
  };
239
360
  export type DeleteDeploymentRequest = {
240
361
  /**
241
- * Region to target. If none is passed will use default region from the
242
- * config.
362
+ * Region to target. If none is passed will use default region from the config.
243
363
  */
244
364
  region?: ScwRegion;
245
- /** ID of the deployment to delete. */
365
+ /**
366
+ * ID of the deployment to delete.
367
+ */
246
368
  deploymentId: string;
247
369
  };
248
370
  export type DeleteEndpointRequest = {
249
371
  /**
250
- * Region to target. If none is passed will use default region from the
251
- * config.
372
+ * Region to target. If none is passed will use default region from the config.
252
373
  */
253
374
  region?: ScwRegion;
254
- /** ID of the endpoint to delete. */
375
+ /**
376
+ * ID of the endpoint to delete.
377
+ */
255
378
  endpointId: string;
256
379
  };
257
380
  export type DeleteModelRequest = {
258
381
  /**
259
- * Region to target. If none is passed will use default region from the
260
- * config.
382
+ * Region to target. If none is passed will use default region from the config.
261
383
  */
262
384
  region?: ScwRegion;
263
- /** ID of the model to delete. */
385
+ /**
386
+ * ID of the model to delete.
387
+ */
264
388
  modelId: string;
265
389
  };
266
390
  export type GetDeploymentCertificateRequest = {
267
391
  /**
268
- * Region to target. If none is passed will use default region from the
269
- * config.
392
+ * Region to target. If none is passed will use default region from the config.
270
393
  */
271
394
  region?: ScwRegion;
272
395
  deploymentId: string;
273
396
  };
274
397
  export type GetDeploymentRequest = {
275
398
  /**
276
- * Region to target. If none is passed will use default region from the
277
- * config.
399
+ * Region to target. If none is passed will use default region from the config.
278
400
  */
279
401
  region?: ScwRegion;
280
- /** ID of the deployment to get. */
402
+ /**
403
+ * ID of the deployment to get.
404
+ */
281
405
  deploymentId: string;
282
406
  };
283
407
  export type GetModelRequest = {
284
408
  /**
285
- * Region to target. If none is passed will use default region from the
286
- * config.
409
+ * Region to target. If none is passed will use default region from the config.
287
410
  */
288
411
  region?: ScwRegion;
289
- /** ID of the model to get. */
412
+ /**
413
+ * ID of the model to get.
414
+ */
290
415
  modelId: string;
291
416
  };
292
417
  export type ListDeploymentsRequest = {
293
418
  /**
294
- * Region to target. If none is passed will use default region from the
295
- * config.
419
+ * Region to target. If none is passed will use default region from the config.
296
420
  */
297
421
  region?: ScwRegion;
298
- /** Page number to return. */
422
+ /**
423
+ * Page number to return.
424
+ */
299
425
  page?: number;
300
- /** Maximum number of deployments to return per page. */
426
+ /**
427
+ * Maximum number of deployments to return per page.
428
+ */
301
429
  pageSize?: number;
302
- /** Order in which to return results. */
430
+ /**
431
+ * Order in which to return results.
432
+ */
303
433
  orderBy?: ListDeploymentsRequestOrderBy;
304
- /** Filter by Project ID. */
434
+ /**
435
+ * Filter by Project ID.
436
+ */
305
437
  projectId?: string;
306
- /** Filter by Organization ID. */
438
+ /**
439
+ * Filter by Organization ID.
440
+ */
307
441
  organizationId?: string;
308
- /** Filter by deployment name. */
442
+ /**
443
+ * Filter by deployment name.
444
+ */
309
445
  name?: string;
310
- /** Filter by tags. */
446
+ /**
447
+ * Filter by tags.
448
+ */
311
449
  tags?: string[];
312
450
  };
313
451
  export interface ListDeploymentsResponse {
314
- /** List of deployments on the current page. */
452
+ /**
453
+ * List of deployments on the current page.
454
+ */
315
455
  deployments: Deployment[];
316
- /** Total number of deployments. */
456
+ /**
457
+ * Total number of deployments.
458
+ */
317
459
  totalCount: number;
318
460
  }
319
461
  export type ListModelsRequest = {
320
462
  /**
321
- * Region to target. If none is passed will use default region from the
322
- * config.
463
+ * Region to target. If none is passed will use default region from the config.
323
464
  */
324
465
  region?: ScwRegion;
325
- /** Order in which to return results. */
466
+ /**
467
+ * Order in which to return results.
468
+ */
326
469
  orderBy?: ListModelsRequestOrderBy;
327
- /** Page number to return. */
470
+ /**
471
+ * Page number to return.
472
+ */
328
473
  page?: number;
329
- /** Maximum number of models to return per page. */
474
+ /**
475
+ * Maximum number of models to return per page.
476
+ */
330
477
  pageSize?: number;
331
- /** Filter by Project ID. */
478
+ /**
479
+ * Filter by Project ID.
480
+ */
332
481
  projectId?: string;
333
- /** Filter by model name. */
482
+ /**
483
+ * Filter by model name.
484
+ */
334
485
  name?: string;
335
- /** Filter by tags. */
486
+ /**
487
+ * Filter by tags.
488
+ */
336
489
  tags?: string[];
337
490
  };
338
491
  export interface ListModelsResponse {
339
- /** List of models on the current page. */
492
+ /**
493
+ * List of models on the current page.
494
+ */
340
495
  models: Model[];
341
- /** Total number of models. */
496
+ /**
497
+ * Total number of models.
498
+ */
342
499
  totalCount: number;
343
500
  }
344
501
  export type ListNodeTypesRequest = {
345
502
  /**
346
- * Region to target. If none is passed will use default region from the
347
- * config.
503
+ * Region to target. If none is passed will use default region from the config.
348
504
  */
349
505
  region?: ScwRegion;
350
- /** Page number to return. */
506
+ /**
507
+ * Page number to return.
508
+ */
351
509
  page?: number;
352
- /** Maximum number of node types to return per page. */
510
+ /**
511
+ * Maximum number of node types to return per page.
512
+ */
353
513
  pageSize?: number;
354
- /** Include disabled node types in the response. */
514
+ /**
515
+ * Include disabled node types in the response.
516
+ */
355
517
  includeDisabledTypes: boolean;
356
518
  };
357
519
  export interface ListNodeTypesResponse {
358
- /** List of node types. */
520
+ /**
521
+ * List of node types.
522
+ */
359
523
  nodeTypes: NodeType[];
360
- /** Total number of node types. */
524
+ /**
525
+ * Total number of node types.
526
+ */
361
527
  totalCount: number;
362
528
  }
363
529
  export type UpdateDeploymentRequest = {
364
530
  /**
365
- * Region to target. If none is passed will use default region from the
366
- * config.
531
+ * Region to target. If none is passed will use default region from the config.
367
532
  */
368
533
  region?: ScwRegion;
369
- /** ID of the deployment to update. */
534
+ /**
535
+ * ID of the deployment to update.
536
+ */
370
537
  deploymentId: string;
371
- /** Name of the deployment. */
538
+ /**
539
+ * Name of the deployment.
540
+ */
372
541
  name?: string;
373
- /** List of tags to apply to the deployment. */
542
+ /**
543
+ * List of tags to apply to the deployment.
544
+ */
374
545
  tags?: string[];
375
- /** Defines the new minimum size of the pool. */
546
+ /**
547
+ * Defines the new minimum size of the pool.
548
+ */
376
549
  minSize?: number;
377
- /** Defines the new maximum size of the pool. */
550
+ /**
551
+ * Defines the new maximum size of the pool.
552
+ */
378
553
  maxSize?: number;
379
- /** Id of the model to set to the deployment. */
554
+ /**
555
+ * Id of the model to set to the deployment.
556
+ */
380
557
  modelId?: string;
381
- /** Quantization to use to the deployment. */
558
+ /**
559
+ * Quantization to use to the deployment.
560
+ */
382
561
  quantization?: DeploymentQuantization;
383
562
  };
384
563
  export type UpdateEndpointRequest = {
385
564
  /**
386
- * Region to target. If none is passed will use default region from the
387
- * config.
565
+ * Region to target. If none is passed will use default region from the config.
388
566
  */
389
567
  region?: ScwRegion;
390
- /** ID of the endpoint to update. */
568
+ /**
569
+ * ID of the endpoint to update.
570
+ */
391
571
  endpointId: string;
392
572
  /**
393
- * By default, deployments are protected by IAM authentication. When setting
394
- * this field to true, the authentication will be disabled.
573
+ * By default, deployments are protected by IAM authentication.
574
+ When setting this field to true, the authentication will be disabled.
395
575
  */
396
576
  disableAuth?: boolean;
397
577
  };