Skip to content

Commit 2cd3488

Browse files
committed
feat: adjust generation
1 parent 1a82477 commit 2cd3488

File tree

24 files changed

+91
-119
lines changed

24 files changed

+91
-119
lines changed

packages/clients/CHANGELOG.md

Lines changed: 19 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -3,68 +3,40 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
## [2.0.0-alpha.9](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2023-10-19)
7-
8-
**Note:** Version bump only for package @scaleway/sdk
9-
10-
## [2.0.0-alpha.8](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2023-10-19)
11-
12-
### Features
13-
14-
- update generation ([68ba3c0](https://github.com/scaleway/scaleway-sdk-js/commit/68ba3c02d6dad1f42f6940a2d847ae92517c8216))
15-
- update generation ([53f28f0](https://github.com/scaleway/scaleway-sdk-js/commit/53f28f0372131794e5ac5dfeb790f8848febed74))
16-
17-
## [2.0.0-alpha.7](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2023-10-17)
18-
19-
### Features
20-
21-
- explicit marshallers return type ([bff6aad](https://github.com/scaleway/scaleway-sdk-js/commit/bff6aaddbac61df49dcc595f203b9319836acafb))
22-
23-
## [2.0.0-alpha.6](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2023-10-16)
6+
## [1.37.0](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2023-10-16)
247

258
### Features
269

27-
- update generation ([da12495](https://github.com/scaleway/scaleway-sdk-js/commit/da124951e11889382dcf7604b1a87642e61f9335))
28-
- update generation ([431e593](https://github.com/scaleway/scaleway-sdk-js/commit/431e5939cf6e1b4d8354c1e64414c5f0f5c6b66e))
10+
- **ipfs:** add IPNS API ([#932](https://github.com/scaleway/scaleway-sdk-js/issues/932)) ([c919d46](https://github.com/scaleway/scaleway-sdk-js/commit/c919d46713d8c7e8af499bfc30dcf594cc88a58a))
11+
- **mnq:** allow long credentials name for serverless functions triggers compatibility ([#930](https://github.com/scaleway/scaleway-sdk-js/issues/930)) ([b1e9d0c](https://github.com/scaleway/scaleway-sdk-js/commit/b1e9d0c5e8b039af0e01998315b0c07e3922f1e2))
12+
- **serverless:** add mnq_nats_account_id in trigger responses ([#931](https://github.com/scaleway/scaleway-sdk-js/issues/931)) ([58501e2](https://github.com/scaleway/scaleway-sdk-js/commit/58501e217f253f3375416c2749e17c4235d3913e))
2913

30-
## [2.0.0-alpha.5](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/sdk@2.0.0-alpha.4...@scaleway/sdk@2.0.0-alpha.5) (2023-10-16)
14+
## [1.36.0](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/sdk@1.35.0...@scaleway/sdk@1.36.0) (2023-10-13)
3115

3216
### Features
3317

34-
- don't default to undefined for native types ([c3f6f41](https://github.com/scaleway/scaleway-sdk-js/commit/c3f6f41e2e3a8f26f82fc2caeda2719a56cc261c))
35-
- update generation ([a641316](https://github.com/scaleway/scaleway-sdk-js/commit/a641316db81f095b9f4f7294d391ea3115ba249c))
36-
- update generation ([e38e054](https://github.com/scaleway/scaleway-sdk-js/commit/e38e0540982218ffe577e87020f07201d9ae00be))
18+
- **block:** add snapshot import ([#922](https://github.com/scaleway/scaleway-sdk-js/issues/922)) ([3d74e31](https://github.com/scaleway/scaleway-sdk-js/commit/3d74e31aeaf87f1089413d16297396bcb8962b9e))
19+
- **cockpit:** list and get Grafana dashboards ([#916](https://github.com/scaleway/scaleway-sdk-js/issues/916)) ([3f695fa](https://github.com/scaleway/scaleway-sdk-js/commit/3f695fac15a4c27f7b5774104b8d08068d3303f5))
20+
- **instance:** add tags in Server.public_ips ([#919](https://github.com/scaleway/scaleway-sdk-js/issues/919)) ([fa230c6](https://github.com/scaleway/scaleway-sdk-js/commit/fa230c65fd186496067bb9ef26414e97fbca2377))
21+
- **instance:** modify UpdateServer public_ips and private_nics to match real implem ([#921](https://github.com/scaleway/scaleway-sdk-js/issues/921)) ([0f09608](https://github.com/scaleway/scaleway-sdk-js/commit/0f09608356edcde266a4324fbcc89ab673e399fe))
22+
- **instance:** sync endpoints about the feature OS image in SBS volume ([#920](https://github.com/scaleway/scaleway-sdk-js/issues/920)) ([d9ba798](https://github.com/scaleway/scaleway-sdk-js/commit/d9ba79876e637f0a7637a85f8aac4490db7a8d38))
23+
- **mnq:** add v1beta1 ([#917](https://github.com/scaleway/scaleway-sdk-js/issues/917)) ([9d6c414](https://github.com/scaleway/scaleway-sdk-js/commit/9d6c4145f3a5bc5f36bf9868022922d8ac8fd2ba))
24+
- **rdb:** expose SBS IOPS ([#918](https://github.com/scaleway/scaleway-sdk-js/issues/918)) ([91e1187](https://github.com/scaleway/scaleway-sdk-js/commit/91e1187494b8864d1d3b9e178635e1f7580392e9))
3725

38-
## [2.0.0-alpha.4](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/sdk@2.0.0-alpha.3...@scaleway/sdk@2.0.0-alpha.4) (2023-10-13)
26+
## [1.35.0](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/sdk@1.34.0...@scaleway/sdk@1.35.0) (2023-10-09)
3927

4028
### Features
4129

42-
- add deprecated fields ([d3cc5d6](https://github.com/scaleway/scaleway-sdk-js/commit/d3cc5d6ba6ce9a635b38297582fadbf952503155))
43-
- update generation ([a52a693](https://github.com/scaleway/scaleway-sdk-js/commit/a52a693abc3f49db39cc8f2c8b273e4987b08c15))
44-
45-
## [2.0.0-alpha.3](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2023-10-11)
46-
47-
### Features
48-
49-
- add line jumps ([066f846](https://github.com/scaleway/scaleway-sdk-js/commit/066f846fb8af965d743e9717d867ee7bce18e0b5))
50-
- update apis ([0108d89](https://github.com/scaleway/scaleway-sdk-js/commit/0108d89b86a6782e275ee984fe87981935282f49))
51-
52-
## [2.0.0-alpha.2](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2023-10-04)
53-
54-
### Features
55-
56-
- all optional messages should be optional ([29a761f](https://github.com/scaleway/scaleway-sdk-js/commit/29a761f85eee34b67139b6c3d1c0d976dfa81143))
57-
58-
## [2.0.0-alpha.1](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2023-10-04)
59-
60-
**Note:** Version bump only for package @scaleway/sdk
30+
- **cockpit:** add list datasource endpoint ([#906](https://github.com/scaleway/scaleway-sdk-js/issues/906)) ([8677e4a](https://github.com/scaleway/scaleway-sdk-js/commit/8677e4a8828eee2e3a9311c0b6395d0f37b06450))
31+
- **k8s:** expose `public_ip_disabled` field ([#907](https://github.com/scaleway/scaleway-sdk-js/issues/907)) ([58d4945](https://github.com/scaleway/scaleway-sdk-js/commit/58d4945faa568fa063e41d551b281f56ff143189))
32+
- **serverless:** prepare for MNQ API ([#908](https://github.com/scaleway/scaleway-sdk-js/issues/908)) ([ce611bf](https://github.com/scaleway/scaleway-sdk-js/commit/ce611bf8f868f933658b92b8b18c9d97d083398e))
6133

62-
## [2.0.0-alpha.0](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/sdk@2.0.0-alpha.0) (2023-10-04)
34+
## [1.34.0](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/sdk@1.34.0) (2023-10-04)
6335

6436
### Features
6537

66-
- don't export private types ([c3ec87c](https://github.com/scaleway/scaleway-sdk-js/commit/c3ec87c64ba9798ec1e442f425da47e79516c211))
67-
- v2 ([a0dbfed](https://github.com/scaleway/scaleway-sdk-js/commit/a0dbfedc5e429e0c345ecba2d414474f9dc48b94))
38+
- **instance:** add servers filter in ListServersRequest ([#903](https://github.com/scaleway/scaleway-sdk-js/issues/903)) ([a96eb9f](https://github.com/scaleway/scaleway-sdk-js/commit/a96eb9f9626dd3dd0f7c70858bc8adf172bcf7e7))
39+
- **lb:** add pl-waw-3 az ([#902](https://github.com/scaleway/scaleway-sdk-js/issues/902)) ([997aa1d](https://github.com/scaleway/scaleway-sdk-js/commit/997aa1da10e777e99c725f21fab37ece13730c27))
6840

6941
## [1.33.0](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2023-10-02)
7042

packages/clients/src/api/baremetal/v1/marshalling.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ export const marshalCreateServerRequest = (
565565
offer_id: request.offerId,
566566
option_ids: request.optionIds,
567567
tags: request.tags,
568-
...resolveOneOf<string>([
568+
...resolveOneOf([
569569
{
570570
default: defaults.defaultOrganizationId,
571571
param: 'organization_id',

packages/clients/src/api/block/v1alpha1/marshalling.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export const marshalCreateVolumeRequest = (
236236
name: request.name,
237237
project_id: request.projectId ?? defaults.defaultProjectId,
238238
tags: request.tags,
239-
...resolveOneOf<Record<string, unknown>>([
239+
...resolveOneOf([
240240
{
241241
param: 'from_empty',
242242
value:
@@ -255,7 +255,7 @@ export const marshalCreateVolumeRequest = (
255255
: undefined,
256256
},
257257
]),
258-
...resolveOneOf<number>([{ param: 'perf_iops', value: request.perfIops }]),
258+
...resolveOneOf([{ param: 'perf_iops', value: request.perfIops }]),
259259
})
260260

261261
export const marshalImportSnapshotFromS3Request = (

packages/clients/src/api/cockpit/v1beta1/marshalling.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ const marshalContactPoint = (
350350
request: ContactPoint,
351351
defaults: DefaultValues,
352352
): Record<string, unknown> => ({
353-
...resolveOneOf<Record<string, unknown>>([
353+
...resolveOneOf([
354354
{
355355
param: 'email',
356356
value:

packages/clients/src/api/container/v1beta1/api.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ export class API extends ParentAPI {
681681
urlParams: urlParams(
682682
['expires_at', request.expiresAt],
683683
...Object.entries(
684-
resolveOneOf<string>([
684+
resolveOneOf([
685685
{ param: 'container_id', value: request.containerId },
686686
{ param: 'namespace_id', value: request.namespaceId },
687687
]),
@@ -879,7 +879,7 @@ export class API extends ParentAPI {
879879
request.pageSize ?? this.client.settings.defaultPageSize,
880880
],
881881
...Object.entries(
882-
resolveOneOf<string>([
882+
resolveOneOf([
883883
{ param: 'container_id', value: request.containerId },
884884
{ param: 'namespace_id', value: request.namespaceId },
885885
{

packages/clients/src/api/container/v1beta1/marshalling.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ export const marshalCreateTokenRequest = (
447447
): Record<string, unknown> => ({
448448
description: request.description,
449449
expires_at: request.expiresAt,
450-
...resolveOneOf<string>([
450+
...resolveOneOf([
451451
{ param: 'container_id', value: request.containerId },
452452
{ param: 'namespace_id', value: request.namespaceId },
453453
]),
@@ -491,7 +491,7 @@ export const marshalCreateTriggerRequest = (
491491
container_id: request.containerId,
492492
description: request.description,
493493
name: request.name,
494-
...resolveOneOf<Record<string, unknown>>([
494+
...resolveOneOf([
495495
{
496496
param: 'scw_sqs_config',
497497
value:
@@ -589,7 +589,7 @@ export const marshalUpdateTriggerRequest = (
589589
): Record<string, unknown> => ({
590590
description: request.description,
591591
name: request.name,
592-
...resolveOneOf<Record<string, unknown>>([
592+
...resolveOneOf([
593593
{
594594
param: 'sqs_config',
595595
value:

packages/clients/src/api/document_db/v1beta1/marshalling.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ const marshalEndpointSpec = (
861861
request: EndpointSpec,
862862
defaults: DefaultValues,
863863
): Record<string, unknown> => ({
864-
...resolveOneOf<Record<string, unknown>>([
864+
...resolveOneOf([
865865
{
866866
param: 'load_balancer',
867867
value:
@@ -921,7 +921,7 @@ export const marshalCreateInstanceRequest = (
921921
user_name: request.userName,
922922
volume_size: request.volumeSize,
923923
volume_type: request.volumeType,
924-
...resolveOneOf<string>([
924+
...resolveOneOf([
925925
{
926926
default: defaults.defaultOrganizationId,
927927
param: 'organization_id',
@@ -969,7 +969,7 @@ const marshalReadReplicaEndpointSpec = (
969969
request: ReadReplicaEndpointSpec,
970970
defaults: DefaultValues,
971971
): Record<string, unknown> => ({
972-
...resolveOneOf<Record<string, unknown>>([
972+
...resolveOneOf([
973973
{
974974
param: 'direct_access',
975975
value:

packages/clients/src/api/domain/v2beta1/marshalling.gen.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ export const marshalImportProviderDNSZoneRequest = (
13481348
request: ImportProviderDNSZoneRequest,
13491349
defaults: DefaultValues,
13501350
): Record<string, unknown> => ({
1351-
...resolveOneOf<Record<string, unknown>>([
1351+
...resolveOneOf([
13521352
{
13531353
param: 'online_v1',
13541354
value:
@@ -1393,7 +1393,7 @@ export const marshalImportRawDNSZoneRequest = (
13931393
content: request.content,
13941394
format: request.format,
13951395
project_id: request.projectId ?? defaults.defaultProjectId,
1396-
...resolveOneOf<Record<string, unknown>>([
1396+
...resolveOneOf([
13971397
{
13981398
param: 'bind_source',
13991399
value:
@@ -1474,7 +1474,7 @@ const marshalContactExtensionFR = (
14741474
defaults: DefaultValues,
14751475
): Record<string, unknown> => ({
14761476
mode: request.mode,
1477-
...resolveOneOf<Record<string, unknown>>([
1477+
...resolveOneOf([
14781478
{
14791479
param: 'individual_info',
14801480
value:
@@ -1686,7 +1686,7 @@ export const marshalDSRecord = (
16861686
): Record<string, unknown> => ({
16871687
algorithm: request.algorithm,
16881688
key_id: request.keyId,
1689-
...resolveOneOf<Record<string, unknown>>([
1689+
...resolveOneOf([
16901690
{
16911691
param: 'digest',
16921692
value:
@@ -1982,7 +1982,7 @@ const marshalDomainRecord = (
19821982
priority: request.priority,
19831983
ttl: request.ttl,
19841984
type: request.type,
1985-
...resolveOneOf<Record<string, unknown>>([
1985+
...resolveOneOf([
19861986
{
19871987
param: 'geo_ip_config',
19881988
value:
@@ -2076,7 +2076,7 @@ const marshalRecordChange = (
20762076
request: RecordChange,
20772077
defaults: DefaultValues,
20782078
): Record<string, unknown> => ({
2079-
...resolveOneOf<Record<string, unknown>>([
2079+
...resolveOneOf([
20802080
{
20812081
param: 'add',
20822082
value:

packages/clients/src/api/function/v1beta1/api.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ export class API extends ParentAPI {
759759
urlParams: urlParams(
760760
['expires_at', request.expiresAt],
761761
...Object.entries(
762-
resolveOneOf<string>([
762+
resolveOneOf([
763763
{ param: 'function_id', value: request.functionId },
764764
{ param: 'namespace_id', value: request.namespaceId },
765765
]),
@@ -944,7 +944,7 @@ export class API extends ParentAPI {
944944
request.pageSize ?? this.client.settings.defaultPageSize,
945945
],
946946
...Object.entries(
947-
resolveOneOf<string>([
947+
resolveOneOf([
948948
{ param: 'function_id', value: request.functionId },
949949
{ param: 'namespace_id', value: request.namespaceId },
950950
{

packages/clients/src/api/function/v1beta1/marshalling.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ export const marshalCreateTokenRequest = (
510510
): Record<string, unknown> => ({
511511
description: request.description,
512512
expires_at: request.expiresAt,
513-
...resolveOneOf<string>([
513+
...resolveOneOf([
514514
{ param: 'function_id', value: request.functionId },
515515
{ param: 'namespace_id', value: request.namespaceId },
516516
]),
@@ -554,7 +554,7 @@ export const marshalCreateTriggerRequest = (
554554
description: request.description,
555555
function_id: request.functionId,
556556
name: request.name,
557-
...resolveOneOf<Record<string, unknown>>([
557+
...resolveOneOf([
558558
{
559559
param: 'scw_sqs_config',
560560
value:
@@ -649,7 +649,7 @@ export const marshalUpdateTriggerRequest = (
649649
): Record<string, unknown> => ({
650650
description: request.description,
651651
name: request.name,
652-
...resolveOneOf<Record<string, unknown>>([
652+
...resolveOneOf([
653653
{
654654
param: 'sqs_config',
655655
value:

0 commit comments

Comments
 (0)