@scaleway/sdk 2.55.0 → 2.57.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.
- package/dist/api/applesilicon/v1alpha1/content.gen.cjs +2 -1
- package/dist/api/applesilicon/v1alpha1/content.gen.js +2 -1
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/audit_trail/index.gen.cjs +4 -0
- package/dist/api/audit_trail/index.gen.d.ts +5 -0
- package/dist/api/audit_trail/index.gen.js +4 -0
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +59 -0
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +30 -0
- package/dist/api/audit_trail/v1alpha1/api.gen.js +59 -0
- package/dist/api/audit_trail/v1alpha1/index.gen.cjs +6 -0
- package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +3 -0
- package/dist/api/audit_trail/v1alpha1/index.gen.js +6 -0
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +155 -0
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.d.ts +5 -0
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +155 -0
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +142 -0
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.cjs +19 -0
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.d.ts +16 -0
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.js +19 -0
- package/dist/api/billing/v2beta1/types.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +5 -1
- package/dist/api/iam/v1alpha1/api.gen.cjs +14 -0
- package/dist/api/iam/v1alpha1/api.gen.d.ts +8 -1
- package/dist/api/iam/v1alpha1/api.gen.js +15 -1
- package/dist/api/iam/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +27 -0
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +2 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +27 -0
- package/dist/api/iam/v1alpha1/types.gen.d.ts +21 -0
- package/dist/api/index.gen.d.ts +2 -1
- package/dist/api/instance/v1/api.gen.cjs +43 -14
- package/dist/api/instance/v1/api.gen.d.ts +34 -15
- package/dist/api/instance/v1/api.gen.js +44 -15
- package/dist/api/instance/v1/index.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.cjs +5 -1
- package/dist/api/instance/v1/marshalling.gen.d.ts +2 -1
- package/dist/api/instance/v1/marshalling.gen.js +5 -1
- package/dist/api/instance/v1/types.gen.d.ts +27 -15
- package/dist/api/ipam/v1/types.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/validation-rules.gen.cjs +6 -0
- package/dist/api/jobs/v1alpha1/validation-rules.gen.d.ts +6 -0
- package/dist/api/jobs/v1alpha1/validation-rules.gen.js +6 -0
- package/dist/api/k8s/v1/marshalling.gen.cjs +2 -1
- package/dist/api/k8s/v1/marshalling.gen.js +2 -1
- package/dist/api/k8s/v1/types.gen.d.ts +1 -0
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -0
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +10 -1
- package/dist/api/mongodb/v1alpha1/api.gen.js +20 -1
- package/dist/api/mongodb/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +10 -4
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +3 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +10 -4
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +17 -6
- package/dist/api/rdb/v1/types.gen.d.ts +15 -3
- package/dist/index.cjs +46 -44
- package/dist/index.js +46 -44
- package/dist/scw/client.cjs +4 -1
- package/dist/scw/client.d.ts +1 -2
- package/dist/scw/client.js +5 -2
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -93,18 +93,18 @@ export interface Setting {
|
|
|
93
93
|
/** Maximum value for float types. */
|
|
94
94
|
floatMax?: number;
|
|
95
95
|
}
|
|
96
|
-
export interface CreateInstanceRequestVolumeDetails {
|
|
97
|
-
/** Volume size. */
|
|
98
|
-
volumeSize: number;
|
|
99
|
-
/** Type of volume where data is stored. */
|
|
100
|
-
volumeType: VolumeType;
|
|
101
|
-
}
|
|
102
96
|
export interface EndpointSpec {
|
|
103
97
|
/** One-of ('details'): at most one of 'public', 'privateNetwork' could be set. */
|
|
104
98
|
public?: EndpointSpecPublicDetails;
|
|
105
99
|
/** One-of ('details'): at most one of 'public', 'privateNetwork' could be set. */
|
|
106
100
|
privateNetwork?: EndpointSpecPrivateNetworkDetails;
|
|
107
101
|
}
|
|
102
|
+
export interface CreateInstanceRequestVolumeDetails {
|
|
103
|
+
/** Volume size. */
|
|
104
|
+
volumeSize: number;
|
|
105
|
+
/** Type of volume where data is stored. */
|
|
106
|
+
volumeType: VolumeType;
|
|
107
|
+
}
|
|
108
108
|
export interface Instance {
|
|
109
109
|
/** UUID of the Database Instance. */
|
|
110
110
|
id: string;
|
|
@@ -199,6 +199,17 @@ export interface RestoreSnapshotRequestVolumeDetails {
|
|
|
199
199
|
/** Type of volume where data is stored. */
|
|
200
200
|
volumeType: VolumeType;
|
|
201
201
|
}
|
|
202
|
+
export type CreateEndpointRequest = {
|
|
203
|
+
/**
|
|
204
|
+
* Region to target. If none is passed will use default region from the
|
|
205
|
+
* config.
|
|
206
|
+
*/
|
|
207
|
+
region?: Region;
|
|
208
|
+
/** UUID of the Database Instance. */
|
|
209
|
+
instanceId: string;
|
|
210
|
+
/** EndpointSpec used to expose your Database Instance. */
|
|
211
|
+
endpoint: EndpointSpec;
|
|
212
|
+
};
|
|
202
213
|
export type CreateInstanceRequest = {
|
|
203
214
|
/**
|
|
204
215
|
* Region to target. If none is passed will use default region from the
|
|
@@ -650,7 +650,11 @@ export type CreateInstanceRequest = {
|
|
|
650
650
|
engine: string;
|
|
651
651
|
/** Username created when the Database Instance is created. */
|
|
652
652
|
userName: string;
|
|
653
|
-
/**
|
|
653
|
+
/**
|
|
654
|
+
* Password of the user. Password must be between 8 and 128 characters,
|
|
655
|
+
* contain at least one digit, one uppercase, one lowercase and one special
|
|
656
|
+
* character.
|
|
657
|
+
*/
|
|
654
658
|
password: string;
|
|
655
659
|
/** Type of node to use for the Database Instance. */
|
|
656
660
|
nodeType: string;
|
|
@@ -729,7 +733,11 @@ export type CreateUserRequest = {
|
|
|
729
733
|
instanceId: string;
|
|
730
734
|
/** Name of the user you want to create. */
|
|
731
735
|
name: string;
|
|
732
|
-
/**
|
|
736
|
+
/**
|
|
737
|
+
* Password of the user you want to create. Password must be between 8 and 128
|
|
738
|
+
* characters, contain at least one digit, one uppercase, one lowercase and
|
|
739
|
+
* one special character.
|
|
740
|
+
*/
|
|
733
741
|
password: string;
|
|
734
742
|
/** Defines whether the user will have administrative privileges. */
|
|
735
743
|
isAdmin: boolean;
|
|
@@ -1344,7 +1352,11 @@ export type UpdateUserRequest = {
|
|
|
1344
1352
|
instanceId: string;
|
|
1345
1353
|
/** Name of the database user. */
|
|
1346
1354
|
name: string;
|
|
1347
|
-
/**
|
|
1355
|
+
/**
|
|
1356
|
+
* Password of the database user. Password must be between 8 and 128
|
|
1357
|
+
* characters, contain at least one digit, one uppercase, one lowercase and
|
|
1358
|
+
* one special character.
|
|
1359
|
+
*/
|
|
1348
1360
|
password?: string;
|
|
1349
1361
|
/** Defines whether or not this user got administrative privileges. */
|
|
1350
1362
|
isAdmin?: boolean;
|
package/dist/index.cjs
CHANGED
|
@@ -15,43 +15,44 @@ const marshalling = require("./helpers/marshalling.cjs");
|
|
|
15
15
|
const resourcePaginator = require("./scw/fetch/resource-paginator.cjs");
|
|
16
16
|
const index_gen$g = require("./api/account/index.gen.cjs");
|
|
17
17
|
const index_gen = require("./api/applesilicon/index.gen.cjs");
|
|
18
|
+
const index_gen$h = require("./api/audit_trail/index.gen.cjs");
|
|
18
19
|
const index_gen$1 = require("./api/baremetal/index.gen.cjs");
|
|
19
|
-
const index_gen$
|
|
20
|
-
const index_gen$
|
|
21
|
-
const index_gen$
|
|
22
|
-
const index_gen$
|
|
23
|
-
const index_gen$
|
|
20
|
+
const index_gen$i = require("./api/billing/index.gen.cjs");
|
|
21
|
+
const index_gen$j = require("./api/block/index.gen.cjs");
|
|
22
|
+
const index_gen$k = require("./api/cockpit/index.gen.cjs");
|
|
23
|
+
const index_gen$l = require("./api/container/index.gen.cjs");
|
|
24
|
+
const index_gen$m = require("./api/dedibox/index.gen.cjs");
|
|
24
25
|
const index_gen$2 = require("./api/document_db/index.gen.cjs");
|
|
25
|
-
const index_gen$
|
|
26
|
-
const index_gen$
|
|
26
|
+
const index_gen$n = require("./api/domain/index.gen.cjs");
|
|
27
|
+
const index_gen$o = require("./api/edge_services/index.gen.cjs");
|
|
27
28
|
const index_gen$3 = require("./api/flexibleip/index.gen.cjs");
|
|
28
|
-
const index_gen$
|
|
29
|
+
const index_gen$p = require("./api/function/index.gen.cjs");
|
|
29
30
|
const index_gen$4 = require("./api/iam/index.gen.cjs");
|
|
30
|
-
const index_gen$
|
|
31
|
-
const index_gen$
|
|
31
|
+
const index_gen$q = require("./api/inference/index.gen.cjs");
|
|
32
|
+
const index_gen$r = require("./api/instance/index.gen.cjs");
|
|
32
33
|
const index_gen$5 = require("./api/iot/index.gen.cjs");
|
|
33
34
|
const index_gen$6 = require("./api/ipam/index.gen.cjs");
|
|
34
35
|
const index_gen$7 = require("./api/ipfs/index.gen.cjs");
|
|
35
|
-
const index_gen$
|
|
36
|
-
const index_gen$
|
|
37
|
-
const index_gen$
|
|
36
|
+
const index_gen$s = require("./api/jobs/index.gen.cjs");
|
|
37
|
+
const index_gen$t = require("./api/k8s/index.gen.cjs");
|
|
38
|
+
const index_gen$u = require("./api/key_manager/index.gen.cjs");
|
|
38
39
|
const index_gen$8 = require("./api/lb/index.gen.cjs");
|
|
39
40
|
const index_gen$9 = require("./api/llm_inference/index.gen.cjs");
|
|
40
|
-
const index_gen$
|
|
41
|
+
const index_gen$v = require("./api/marketplace/index.gen.cjs");
|
|
41
42
|
const index_gen$a = require("./api/mnq/index.gen.cjs");
|
|
42
|
-
const index_gen$
|
|
43
|
-
const index_gen$
|
|
43
|
+
const index_gen$w = require("./api/mongodb/index.gen.cjs");
|
|
44
|
+
const index_gen$x = require("./api/qaas/index.gen.cjs");
|
|
44
45
|
const index_gen$b = require("./api/rdb/index.gen.cjs");
|
|
45
|
-
const index_gen$
|
|
46
|
-
const index_gen$
|
|
47
|
-
const index_gen$
|
|
46
|
+
const index_gen$y = require("./api/redis/index.gen.cjs");
|
|
47
|
+
const index_gen$z = require("./api/registry/index.gen.cjs");
|
|
48
|
+
const index_gen$A = require("./api/secret/index.gen.cjs");
|
|
48
49
|
const index_gen$c = require("./api/serverless_sqldb/index.gen.cjs");
|
|
49
|
-
const index_gen$
|
|
50
|
+
const index_gen$B = require("./api/std/index.gen.cjs");
|
|
50
51
|
const index_gen$d = require("./api/tem/index.gen.cjs");
|
|
51
|
-
const index_gen$
|
|
52
|
+
const index_gen$C = require("./api/test/index.gen.cjs");
|
|
52
53
|
const index_gen$e = require("./api/vpc/index.gen.cjs");
|
|
53
54
|
const index_gen$f = require("./api/vpcgw/index.gen.cjs");
|
|
54
|
-
const index_gen$
|
|
55
|
+
const index_gen$D = require("./api/webhosting/index.gen.cjs");
|
|
55
56
|
exports.enableConsoleLogger = index.enableConsoleLogger;
|
|
56
57
|
exports.setLogger = index.setLogger;
|
|
57
58
|
exports.createAdvancedClient = client.createAdvancedClient;
|
|
@@ -92,55 +93,56 @@ exports.enrichForPagination = resourcePaginator.enrichForPagination;
|
|
|
92
93
|
exports.Account = index_gen$g;
|
|
93
94
|
exports.AppleSilicon = index_gen;
|
|
94
95
|
exports.Applesilicon = index_gen;
|
|
96
|
+
exports.AuditTrail = index_gen$h;
|
|
95
97
|
exports.BareMetal = index_gen$1;
|
|
96
98
|
exports.Baremetal = index_gen$1;
|
|
97
|
-
exports.Billing = index_gen$
|
|
98
|
-
exports.Block = index_gen$
|
|
99
|
-
exports.Cockpit = index_gen$
|
|
100
|
-
exports.Container = index_gen$
|
|
101
|
-
exports.Dedibox = index_gen$
|
|
99
|
+
exports.Billing = index_gen$i;
|
|
100
|
+
exports.Block = index_gen$j;
|
|
101
|
+
exports.Cockpit = index_gen$k;
|
|
102
|
+
exports.Container = index_gen$l;
|
|
103
|
+
exports.Dedibox = index_gen$m;
|
|
102
104
|
exports.DocumentDB = index_gen$2;
|
|
103
105
|
exports.DocumentDb = index_gen$2;
|
|
104
|
-
exports.Domain = index_gen$
|
|
105
|
-
exports.EdgeServices = index_gen$
|
|
106
|
+
exports.Domain = index_gen$n;
|
|
107
|
+
exports.EdgeServices = index_gen$o;
|
|
106
108
|
exports.FlexibleIP = index_gen$3;
|
|
107
109
|
exports.Flexibleip = index_gen$3;
|
|
108
|
-
exports.Function = index_gen$
|
|
110
|
+
exports.Function = index_gen$p;
|
|
109
111
|
exports.IAM = index_gen$4;
|
|
110
112
|
exports.Iam = index_gen$4;
|
|
111
|
-
exports.Inference = index_gen$
|
|
112
|
-
exports.Instance = index_gen$
|
|
113
|
+
exports.Inference = index_gen$q;
|
|
114
|
+
exports.Instance = index_gen$r;
|
|
113
115
|
exports.IOT = index_gen$5;
|
|
114
116
|
exports.Iot = index_gen$5;
|
|
115
117
|
exports.IPAM = index_gen$6;
|
|
116
118
|
exports.Ipam = index_gen$6;
|
|
117
119
|
exports.IPFS = index_gen$7;
|
|
118
120
|
exports.Ipfs = index_gen$7;
|
|
119
|
-
exports.Jobs = index_gen$
|
|
120
|
-
exports.K8s = index_gen$
|
|
121
|
-
exports.KeyManager = index_gen$
|
|
121
|
+
exports.Jobs = index_gen$s;
|
|
122
|
+
exports.K8s = index_gen$t;
|
|
123
|
+
exports.KeyManager = index_gen$u;
|
|
122
124
|
exports.LB = index_gen$8;
|
|
123
125
|
exports.Lb = index_gen$8;
|
|
124
126
|
exports.LLMInference = index_gen$9;
|
|
125
127
|
exports.LlmInference = index_gen$9;
|
|
126
|
-
exports.Marketplace = index_gen$
|
|
128
|
+
exports.Marketplace = index_gen$v;
|
|
127
129
|
exports.MNQ = index_gen$a;
|
|
128
130
|
exports.Mnq = index_gen$a;
|
|
129
|
-
exports.Mongodb = index_gen$
|
|
130
|
-
exports.Qaas = index_gen$
|
|
131
|
+
exports.Mongodb = index_gen$w;
|
|
132
|
+
exports.Qaas = index_gen$x;
|
|
131
133
|
exports.RDB = index_gen$b;
|
|
132
134
|
exports.Rdb = index_gen$b;
|
|
133
|
-
exports.Redis = index_gen$
|
|
134
|
-
exports.Registry = index_gen$
|
|
135
|
-
exports.Secret = index_gen$
|
|
135
|
+
exports.Redis = index_gen$y;
|
|
136
|
+
exports.Registry = index_gen$z;
|
|
137
|
+
exports.Secret = index_gen$A;
|
|
136
138
|
exports.ServerlessSQLDB = index_gen$c;
|
|
137
139
|
exports.ServerlessSqldb = index_gen$c;
|
|
138
|
-
exports.Std = index_gen$
|
|
140
|
+
exports.Std = index_gen$B;
|
|
139
141
|
exports.Tem = index_gen$d;
|
|
140
142
|
exports.TransactionalEmail = index_gen$d;
|
|
141
|
-
exports.Test = index_gen$
|
|
143
|
+
exports.Test = index_gen$C;
|
|
142
144
|
exports.VPC = index_gen$e;
|
|
143
145
|
exports.Vpc = index_gen$e;
|
|
144
146
|
exports.VPCGW = index_gen$f;
|
|
145
147
|
exports.Vpcgw = index_gen$f;
|
|
146
|
-
exports.Webhosting = index_gen$
|
|
148
|
+
exports.Webhosting = index_gen$D;
|
package/dist/index.js
CHANGED
|
@@ -13,102 +13,104 @@ import { resolveOneOf, unmarshalArrayOfObject, unmarshalDate, unmarshalMapOfObje
|
|
|
13
13
|
import { enrichForPagination } from "./scw/fetch/resource-paginator.js";
|
|
14
14
|
import * as index_gen$g from "./api/account/index.gen.js";
|
|
15
15
|
import * as index_gen from "./api/applesilicon/index.gen.js";
|
|
16
|
+
import * as index_gen$h from "./api/audit_trail/index.gen.js";
|
|
16
17
|
import * as index_gen$1 from "./api/baremetal/index.gen.js";
|
|
17
|
-
import * as index_gen$
|
|
18
|
-
import * as index_gen$
|
|
19
|
-
import * as index_gen$
|
|
20
|
-
import * as index_gen$
|
|
21
|
-
import * as index_gen$
|
|
18
|
+
import * as index_gen$i from "./api/billing/index.gen.js";
|
|
19
|
+
import * as index_gen$j from "./api/block/index.gen.js";
|
|
20
|
+
import * as index_gen$k from "./api/cockpit/index.gen.js";
|
|
21
|
+
import * as index_gen$l from "./api/container/index.gen.js";
|
|
22
|
+
import * as index_gen$m from "./api/dedibox/index.gen.js";
|
|
22
23
|
import * as index_gen$2 from "./api/document_db/index.gen.js";
|
|
23
|
-
import * as index_gen$
|
|
24
|
-
import * as index_gen$
|
|
24
|
+
import * as index_gen$n from "./api/domain/index.gen.js";
|
|
25
|
+
import * as index_gen$o from "./api/edge_services/index.gen.js";
|
|
25
26
|
import * as index_gen$3 from "./api/flexibleip/index.gen.js";
|
|
26
|
-
import * as index_gen$
|
|
27
|
+
import * as index_gen$p from "./api/function/index.gen.js";
|
|
27
28
|
import * as index_gen$4 from "./api/iam/index.gen.js";
|
|
28
|
-
import * as index_gen$
|
|
29
|
-
import * as index_gen$
|
|
29
|
+
import * as index_gen$q from "./api/inference/index.gen.js";
|
|
30
|
+
import * as index_gen$r from "./api/instance/index.gen.js";
|
|
30
31
|
import * as index_gen$5 from "./api/iot/index.gen.js";
|
|
31
32
|
import * as index_gen$6 from "./api/ipam/index.gen.js";
|
|
32
33
|
import * as index_gen$7 from "./api/ipfs/index.gen.js";
|
|
33
|
-
import * as index_gen$
|
|
34
|
-
import * as index_gen$
|
|
35
|
-
import * as index_gen$
|
|
34
|
+
import * as index_gen$s from "./api/jobs/index.gen.js";
|
|
35
|
+
import * as index_gen$t from "./api/k8s/index.gen.js";
|
|
36
|
+
import * as index_gen$u from "./api/key_manager/index.gen.js";
|
|
36
37
|
import * as index_gen$8 from "./api/lb/index.gen.js";
|
|
37
38
|
import * as index_gen$9 from "./api/llm_inference/index.gen.js";
|
|
38
|
-
import * as index_gen$
|
|
39
|
+
import * as index_gen$v from "./api/marketplace/index.gen.js";
|
|
39
40
|
import * as index_gen$a from "./api/mnq/index.gen.js";
|
|
40
|
-
import * as index_gen$
|
|
41
|
-
import * as index_gen$
|
|
41
|
+
import * as index_gen$w from "./api/mongodb/index.gen.js";
|
|
42
|
+
import * as index_gen$x from "./api/qaas/index.gen.js";
|
|
42
43
|
import * as index_gen$b from "./api/rdb/index.gen.js";
|
|
43
|
-
import * as index_gen$
|
|
44
|
-
import * as index_gen$
|
|
45
|
-
import * as index_gen$
|
|
44
|
+
import * as index_gen$y from "./api/redis/index.gen.js";
|
|
45
|
+
import * as index_gen$z from "./api/registry/index.gen.js";
|
|
46
|
+
import * as index_gen$A from "./api/secret/index.gen.js";
|
|
46
47
|
import * as index_gen$c from "./api/serverless_sqldb/index.gen.js";
|
|
47
|
-
import * as index_gen$
|
|
48
|
+
import * as index_gen$B from "./api/std/index.gen.js";
|
|
48
49
|
import * as index_gen$d from "./api/tem/index.gen.js";
|
|
49
|
-
import * as index_gen$
|
|
50
|
+
import * as index_gen$C from "./api/test/index.gen.js";
|
|
50
51
|
import * as index_gen$e from "./api/vpc/index.gen.js";
|
|
51
52
|
import * as index_gen$f from "./api/vpcgw/index.gen.js";
|
|
52
|
-
import * as index_gen$
|
|
53
|
+
import * as index_gen$D from "./api/webhosting/index.gen.js";
|
|
53
54
|
export {
|
|
54
55
|
API,
|
|
55
56
|
index_gen$g as Account,
|
|
56
57
|
index_gen as AppleSilicon,
|
|
57
58
|
index_gen as Applesilicon,
|
|
59
|
+
index_gen$h as AuditTrail,
|
|
58
60
|
index_gen$1 as BareMetal,
|
|
59
61
|
index_gen$1 as Baremetal,
|
|
60
|
-
index_gen$
|
|
61
|
-
index_gen$
|
|
62
|
-
index_gen$
|
|
63
|
-
index_gen$
|
|
62
|
+
index_gen$i as Billing,
|
|
63
|
+
index_gen$j as Block,
|
|
64
|
+
index_gen$k as Cockpit,
|
|
65
|
+
index_gen$l as Container,
|
|
64
66
|
Decimal,
|
|
65
|
-
index_gen$
|
|
67
|
+
index_gen$m as Dedibox,
|
|
66
68
|
index_gen$2 as DocumentDB,
|
|
67
69
|
index_gen$2 as DocumentDb,
|
|
68
|
-
index_gen$
|
|
69
|
-
index_gen$
|
|
70
|
+
index_gen$n as Domain,
|
|
71
|
+
index_gen$o as EdgeServices,
|
|
70
72
|
index as Errors,
|
|
71
73
|
index_gen$3 as FlexibleIP,
|
|
72
74
|
index_gen$3 as Flexibleip,
|
|
73
|
-
index_gen$
|
|
75
|
+
index_gen$p as Function,
|
|
74
76
|
index_gen$4 as IAM,
|
|
75
77
|
index_gen$5 as IOT,
|
|
76
78
|
index_gen$6 as IPAM,
|
|
77
79
|
index_gen$7 as IPFS,
|
|
78
80
|
index_gen$4 as Iam,
|
|
79
|
-
index_gen$
|
|
80
|
-
index_gen$
|
|
81
|
+
index_gen$q as Inference,
|
|
82
|
+
index_gen$r as Instance,
|
|
81
83
|
index_gen$5 as Iot,
|
|
82
84
|
index_gen$6 as Ipam,
|
|
83
85
|
index_gen$7 as Ipfs,
|
|
84
|
-
index_gen$
|
|
85
|
-
index_gen$
|
|
86
|
-
index_gen$
|
|
86
|
+
index_gen$s as Jobs,
|
|
87
|
+
index_gen$t as K8s,
|
|
88
|
+
index_gen$u as KeyManager,
|
|
87
89
|
index_gen$8 as LB,
|
|
88
90
|
index_gen$9 as LLMInference,
|
|
89
91
|
index_gen$8 as Lb,
|
|
90
92
|
index_gen$9 as LlmInference,
|
|
91
93
|
index_gen$a as MNQ,
|
|
92
|
-
index_gen$
|
|
94
|
+
index_gen$v as Marketplace,
|
|
93
95
|
index_gen$a as Mnq,
|
|
94
|
-
index_gen$
|
|
95
|
-
index_gen$
|
|
96
|
+
index_gen$w as Mongodb,
|
|
97
|
+
index_gen$x as Qaas,
|
|
96
98
|
index_gen$b as RDB,
|
|
97
99
|
index_gen$b as Rdb,
|
|
98
|
-
index_gen$
|
|
99
|
-
index_gen$
|
|
100
|
-
index_gen$
|
|
100
|
+
index_gen$y as Redis,
|
|
101
|
+
index_gen$z as Registry,
|
|
102
|
+
index_gen$A as Secret,
|
|
101
103
|
index_gen$c as ServerlessSQLDB,
|
|
102
104
|
index_gen$c as ServerlessSqldb,
|
|
103
|
-
index_gen$
|
|
105
|
+
index_gen$B as Std,
|
|
104
106
|
index_gen$d as Tem,
|
|
105
|
-
index_gen$
|
|
107
|
+
index_gen$C as Test,
|
|
106
108
|
index_gen$d as TransactionalEmail,
|
|
107
109
|
index_gen$e as VPC,
|
|
108
110
|
index_gen$f as VPCGW,
|
|
109
111
|
index_gen$e as Vpc,
|
|
110
112
|
index_gen$f as Vpcgw,
|
|
111
|
-
index_gen$
|
|
113
|
+
index_gen$D as Webhosting,
|
|
112
114
|
addAsyncHeaderInterceptor,
|
|
113
115
|
authenticateWithSessionToken,
|
|
114
116
|
createAdvancedClient,
|
package/dist/scw/client.cjs
CHANGED
|
@@ -23,6 +23,9 @@ const createAdvancedClient = (...configs) => {
|
|
|
23
23
|
settings
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
const createClient = (
|
|
26
|
+
const createClient = (settings = {}) => createAdvancedClient(
|
|
27
|
+
clientIniFactory.withProfile(settings),
|
|
28
|
+
clientIniFactory.withAdditionalInterceptors(settings.interceptors ?? [])
|
|
29
|
+
);
|
|
27
30
|
exports.createAdvancedClient = createAdvancedClient;
|
|
28
31
|
exports.createClient = createClient;
|
package/dist/scw/client.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ClientConfig } from './client-ini-factory';
|
|
2
|
-
import type { Profile } from './client-ini-profile';
|
|
3
2
|
import type { Settings } from './client-settings';
|
|
4
3
|
import type { Fetcher } from './fetch/build-fetcher';
|
|
5
4
|
/**
|
|
@@ -69,4 +68,4 @@ export declare const createAdvancedClient: (...configs: ClientConfig[]) => Clien
|
|
|
69
68
|
*
|
|
70
69
|
* @public
|
|
71
70
|
*/
|
|
72
|
-
export declare const createClient: (
|
|
71
|
+
export declare const createClient: (settings?: Partial<Settings>) => Client;
|
package/dist/scw/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getLogger } from "../internal/logger/index.js";
|
|
2
|
-
import { withLegacyInterceptors, withProfile } from "./client-ini-factory.js";
|
|
2
|
+
import { withLegacyInterceptors, withAdditionalInterceptors, withProfile } from "./client-ini-factory.js";
|
|
3
3
|
import { assertValidSettings } from "./client-settings.js";
|
|
4
4
|
import { version, userAgent } from "./constants.js";
|
|
5
5
|
import { buildFetcher } from "./fetch/build-fetcher.js";
|
|
@@ -21,7 +21,10 @@ const createAdvancedClient = (...configs) => {
|
|
|
21
21
|
settings
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
const createClient = (
|
|
24
|
+
const createClient = (settings = {}) => createAdvancedClient(
|
|
25
|
+
withProfile(settings),
|
|
26
|
+
withAdditionalInterceptors(settings.interceptors ?? [])
|
|
27
|
+
);
|
|
25
28
|
export {
|
|
26
29
|
createAdvancedClient,
|
|
27
30
|
createClient
|
package/dist/scw/constants.cjs
CHANGED
package/dist/scw/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "v2.
|
|
2
|
-
export declare const userAgent = "scaleway-sdk-js/v2.
|
|
1
|
+
export declare const version = "v2.56.0";
|
|
2
|
+
export declare const userAgent = "scaleway-sdk-js/v2.56.0";
|
package/dist/scw/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.57.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Scaleway SDK.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"bundledDependencies": [
|
|
40
40
|
"@scaleway/random-name"
|
|
41
41
|
],
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "f862c338853321a98d5d14686092625862ffdf5f"
|
|
43
43
|
}
|