@scaleway/sdk 2.71.1 → 2.73.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/account/index.gen.d.ts +2 -2
- package/dist/api/account/v2/api.gen.cjs +5 -4
- package/dist/api/account/v2/api.gen.d.ts +1 -1
- package/dist/api/account/v2/api.gen.js +5 -4
- package/dist/api/account/v2/marshalling.gen.cjs +4 -3
- package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v2/marshalling.gen.js +4 -3
- package/dist/api/account/v3/api.gen.cjs +18 -36
- package/dist/api/account/v3/api.gen.d.ts +18 -37
- package/dist/api/account/v3/api.gen.js +18 -36
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +4 -3
- package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.js +4 -3
- package/dist/api/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +25 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +26 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.js +25 -51
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +311 -136
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +6 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +6 -10
- package/dist/api/audit_trail/v1alpha1/api.gen.js +6 -8
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +111 -83
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +34 -66
- package/dist/api/baremetal/v1/api.gen.d.ts +31 -62
- package/dist/api/baremetal/v1/api.gen.js +34 -66
- package/dist/api/baremetal/v1/api.utils.cjs +3 -1
- package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
- package/dist/api/baremetal/v1/api.utils.js +3 -1
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +866 -379
- package/dist/api/baremetal/v3/api.gen.cjs +12 -18
- package/dist/api/baremetal/v3/api.gen.d.ts +12 -17
- package/dist/api/baremetal/v3/api.gen.js +12 -18
- package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v3/types.gen.d.ts +83 -33
- package/dist/api/billing/index.gen.d.ts +2 -2
- package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
- package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2alpha1/api.gen.js +5 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.cjs +16 -24
- package/dist/api/billing/v2beta1/api.gen.d.ts +10 -20
- package/dist/api/billing/v2beta1/api.gen.js +16 -24
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2beta1/types.gen.d.ts +232 -103
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +43 -60
- package/dist/api/block/v1/api.gen.d.ts +21 -39
- package/dist/api/block/v1/api.gen.js +43 -60
- package/dist/api/block/v1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1/marshalling.gen.js +4 -3
- package/dist/api/block/v1/types.gen.d.ts +307 -126
- package/dist/api/block/v1alpha1/api.gen.cjs +51 -69
- package/dist/api/block/v1alpha1/api.gen.d.ts +24 -43
- package/dist/api/block/v1alpha1/api.gen.js +51 -69
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/block/v1alpha1/types.gen.d.ts +328 -133
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +105 -160
- package/dist/api/cockpit/v1/api.gen.d.ts +55 -114
- package/dist/api/cockpit/v1/api.gen.js +105 -160
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1/types.gen.d.ts +568 -247
- package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/container/index.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.cjs +13 -19
- package/dist/api/container/v1beta1/api.gen.d.ts +11 -18
- package/dist/api/container/v1beta1/api.gen.js +13 -19
- package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/container/v1beta1/types.gen.d.ts +649 -323
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +51 -74
- package/dist/api/dedibox/v1/api.gen.d.ts +54 -64
- package/dist/api/dedibox/v1/api.gen.js +51 -74
- package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
- package/dist/api/dedibox/v1/types.gen.d.ts +1766 -646
- package/dist/api/document_db/index.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
- package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.js +6 -5
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/domain/index.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.cjs +125 -183
- package/dist/api/domain/v2beta1/api.gen.d.ts +73 -132
- package/dist/api/domain/v2beta1/api.gen.js +125 -183
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/domain/v2beta1/types.gen.d.ts +412 -200
- package/dist/api/edge_services/index.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
- package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
- package/dist/api/flexibleip/index.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +16 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +14 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.js +16 -30
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +187 -79
- package/dist/api/function/index.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.cjs +20 -33
- package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
- package/dist/api/function/v1beta1/api.gen.js +20 -33
- package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
- package/dist/api/iam/index.gen.d.ts +2 -2
- package/dist/api/iam/v1alpha1/api.gen.cjs +49 -163
- package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
- package/dist/api/iam/v1alpha1/api.gen.js +49 -163
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/iam/v1alpha1/types.gen.d.ts +979 -372
- package/dist/api/index.gen.d.ts +2 -2
- package/dist/api/inference/index.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.cjs +14 -16
- package/dist/api/inference/v1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1/api.gen.js +14 -16
- package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1/types.gen.d.ts +331 -151
- package/dist/api/inference/v1beta1/api.gen.cjs +14 -16
- package/dist/api/inference/v1beta1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1beta1/api.gen.js +14 -16
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1beta1/types.gen.d.ts +342 -155
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +69 -117
- package/dist/api/instance/v1/api.gen.d.ts +56 -105
- package/dist/api/instance/v1/api.gen.js +69 -117
- package/dist/api/instance/v1/api.utils.cjs +4 -3
- package/dist/api/instance/v1/api.utils.d.ts +1 -1
- package/dist/api/instance/v1/api.utils.js +4 -3
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
- package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -3
- package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
- package/dist/api/instance/v1/types.gen.d.ts +1352 -599
- package/dist/api/instance/v1/types.private.gen.d.ts +132 -60
- package/dist/api/instance/v1/types.utils.d.ts +1 -1
- package/dist/api/interlink/index.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.cjs +107 -63
- package/dist/api/interlink/v1beta1/api.gen.d.ts +58 -65
- package/dist/api/interlink/v1beta1/api.gen.js +108 -64
- package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
- package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
- package/dist/api/interlink/v1beta1/content.gen.js +6 -0
- package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
- package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
- package/dist/api/interlink/v1beta1/index.gen.js +3 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +84 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +84 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +545 -195
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +25 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +23 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +25 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +43 -75
- package/dist/api/iot/v1/api.gen.d.ts +36 -69
- package/dist/api/iot/v1/api.gen.js +43 -75
- package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
- package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +4 -3
- package/dist/api/iot/v1/types.gen.d.ts +567 -322
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +11 -30
- package/dist/api/ipam/v1/api.gen.d.ts +10 -31
- package/dist/api/ipam/v1/api.gen.js +11 -30
- package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
- package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipam/v1/marshalling.gen.js +4 -3
- package/dist/api/ipam/v1/types.gen.d.ts +147 -106
- package/dist/api/ipfs/index.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/jobs/index.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.cjs +7 -8
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +6 -8
- package/dist/api/jobs/v1alpha1/api.gen.js +7 -8
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +166 -92
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +39 -83
- package/dist/api/k8s/v1/api.gen.d.ts +29 -74
- package/dist/api/k8s/v1/api.gen.js +39 -83
- package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
- package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +4 -3
- package/dist/api/k8s/v1/types.gen.d.ts +744 -507
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +26 -61
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +21 -58
- package/dist/api/key_manager/v1alpha1/api.gen.js +26 -61
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +197 -115
- package/dist/api/lb/index.gen.d.ts +2 -2
- package/dist/api/lb/v1/api.gen.cjs +68 -178
- package/dist/api/lb/v1/api.gen.d.ts +60 -176
- package/dist/api/lb/v1/api.gen.js +69 -179
- package/dist/api/lb/v1/api.utils.cjs +3 -1
- package/dist/api/lb/v1/api.utils.d.ts +1 -1
- package/dist/api/lb/v1/api.utils.js +3 -1
- package/dist/api/lb/v1/index.gen.d.ts +1 -1
- package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
- package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
- package/dist/api/lb/v1/marshalling.gen.js +9 -3
- package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
- package/dist/api/lb/v1/types.utils.d.ts +1 -1
- package/dist/api/llm_inference/index.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/marketplace/index.gen.d.ts +2 -2
- package/dist/api/marketplace/v2/api.gen.cjs +13 -25
- package/dist/api/marketplace/v2/api.gen.d.ts +11 -25
- package/dist/api/marketplace/v2/api.gen.js +13 -25
- package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
- package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
- package/dist/api/marketplace/v2/types.gen.d.ts +95 -42
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +29 -80
- package/dist/api/mnq/v1beta1/api.gen.d.ts +32 -84
- package/dist/api/mnq/v1beta1/api.gen.js +29 -80
- package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/mnq/v1beta1/types.gen.d.ts +343 -170
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +25 -67
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +23 -66
- package/dist/api/mongodb/v1alpha1/api.gen.js +25 -67
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +444 -190
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +23 -39
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +21 -38
- package/dist/api/qaas/v1alpha1/api.gen.js +23 -39
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +503 -175
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +68 -207
- package/dist/api/rdb/v1/api.gen.d.ts +62 -203
- package/dist/api/rdb/v1/api.gen.js +68 -207
- package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
- package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +4 -3
- package/dist/api/rdb/v1/types.gen.d.ts +1006 -525
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +29 -88
- package/dist/api/redis/v1/api.gen.d.ts +27 -87
- package/dist/api/redis/v1/api.gen.js +29 -88
- package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
- package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +4 -3
- package/dist/api/redis/v1/types.gen.d.ts +448 -171
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +18 -45
- package/dist/api/registry/v1/api.gen.d.ts +16 -44
- package/dist/api/registry/v1/api.gen.js +18 -45
- package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
- package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +4 -3
- package/dist/api/registry/v1/types.gen.d.ts +201 -117
- package/dist/api/secret/index.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.js +5 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/api.gen.cjs +24 -51
- package/dist/api/secret/v1beta1/api.gen.d.ts +23 -53
- package/dist/api/secret/v1beta1/api.gen.js +24 -51
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1beta1/types.gen.d.ts +360 -225
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +13 -31
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +169 -77
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +28 -63
- package/dist/api/tem/v1alpha1/api.gen.d.ts +26 -62
- package/dist/api/tem/v1alpha1/api.gen.js +28 -63
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/tem/v1alpha1/types.gen.d.ts +762 -339
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +14 -16
- package/dist/api/test/v1/api.gen.d.ts +8 -11
- package/dist/api/test/v1/api.gen.js +14 -16
- package/dist/api/test/v1/marshalling.gen.cjs +4 -3
- package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/test/v1/marshalling.gen.js +4 -3
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/api/vpc/index.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.cjs +5 -4
- package/dist/api/vpc/v1/api.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.js +5 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpc/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/v1/types.gen.d.ts +1 -1
- package/dist/api/vpc/v2/api.gen.cjs +18 -53
- package/dist/api/vpc/v2/api.gen.d.ts +18 -45
- package/dist/api/vpc/v2/api.gen.js +19 -54
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
- package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
- package/dist/api/vpc/v2/marshalling.gen.js +4 -18
- package/dist/api/vpc/v2/types.gen.d.ts +333 -200
- package/dist/api/vpcgw/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
- package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
- package/dist/api/vpcgw/v1/api.gen.js +42 -140
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
- package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
- package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
- package/dist/api/vpcgw/v2/api.gen.js +33 -93
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
- package/dist/api/webhosting/index.gen.d.ts +2 -2
- package/dist/api/webhosting/v1/api.gen.cjs +28 -55
- package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
- package/dist/api/webhosting/v1/api.gen.js +28 -55
- package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
- package/dist/client/dist/helpers/is-browser.cjs +4 -0
- package/dist/client/dist/helpers/is-browser.js +4 -0
- package/dist/{package.json.cjs → client/dist/package.json.cjs} +7 -16
- package/dist/{package.json.js → client/dist/package.json.js} +7 -16
- package/dist/client/dist/scw/constants.cjs +7 -0
- package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
- package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
- package/dist/index.cjs +16 -16
- package/dist/index.d.ts +1 -15
- package/dist/index.js +13 -13
- package/node_modules/@scaleway/sdk-client/README.md +36 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
- package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
- package/node_modules/@scaleway/sdk-client/package.json +36 -0
- package/package.json +6 -4
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
- /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/api.js +0 -0
- /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/auth.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
- /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client.js +0 -0
- /package/dist/{scw → client/dist/scw}/constants.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
require("../../../
|
|
7
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const intervalRetrier = require("../../../client/dist/internal/async/interval-retrier.cjs");
|
|
5
|
+
const api = require("../../../client/dist/scw/api.cjs");
|
|
6
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
7
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
8
|
+
const resourcePaginator = require("../../../client/dist/scw/fetch/resource-paginator.cjs");
|
|
8
9
|
const content_gen = require("./content.gen.cjs");
|
|
9
10
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
10
11
|
const jsonContentHeaders = {
|
|
@@ -12,8 +13,7 @@ const jsonContentHeaders = {
|
|
|
12
13
|
};
|
|
13
14
|
class API extends api.API {
|
|
14
15
|
/**
|
|
15
|
-
* Get job information. Retrieve information about the provided **job ID**,
|
|
16
|
-
* such as status, payload, and result.
|
|
16
|
+
* Get job information. Retrieve information about the provided **job ID**, such as status, payload, and result.
|
|
17
17
|
*
|
|
18
18
|
* @param request - The request {@link GetJobRequest}
|
|
19
19
|
* @returns A Promise of Job
|
|
@@ -65,8 +65,7 @@ class API extends api.API {
|
|
|
65
65
|
marshalling_gen.unmarshalListJobsResponse
|
|
66
66
|
);
|
|
67
67
|
/**
|
|
68
|
-
* List all jobs within a project or session. Retrieve information about all
|
|
69
|
-
* jobs within a given project or session.
|
|
68
|
+
* List all jobs within a project or session. Retrieve information about all jobs within a given project or session.
|
|
70
69
|
*
|
|
71
70
|
* @param request - The request {@link ListJobsRequest}
|
|
72
71
|
* @returns A Promise of ListJobsResponse
|
|
@@ -88,8 +87,7 @@ class API extends api.API {
|
|
|
88
87
|
marshalling_gen.unmarshalListJobResultsResponse
|
|
89
88
|
);
|
|
90
89
|
/**
|
|
91
|
-
* List all results of a job. Retrieve all intermediate and final results of a
|
|
92
|
-
* job.
|
|
90
|
+
* List all results of a job. Retrieve all intermediate and final results of a job.
|
|
93
91
|
*
|
|
94
92
|
* @param request - The request {@link ListJobResultsRequest}
|
|
95
93
|
* @returns A Promise of ListJobResultsResponse
|
|
@@ -113,8 +111,7 @@ class API extends api.API {
|
|
|
113
111
|
marshalling_gen.unmarshalJob
|
|
114
112
|
);
|
|
115
113
|
/**
|
|
116
|
-
* Update job information. Update job information about the provided **job
|
|
117
|
-
* ID**.
|
|
114
|
+
* Update job information. Update job information about the provided **job ID**.
|
|
118
115
|
*
|
|
119
116
|
* @param request - The request {@link UpdateJobRequest}
|
|
120
117
|
* @returns A Promise of Job
|
|
@@ -168,8 +165,7 @@ class API extends api.API {
|
|
|
168
165
|
marshalling_gen.unmarshalJobCircuit
|
|
169
166
|
);
|
|
170
167
|
/**
|
|
171
|
-
* Get platform information. Retrieve information about the provided
|
|
172
|
-
* **platform ID**, such as provider name, technology, and type.
|
|
168
|
+
* Get platform information. Retrieve information about the provided **platform ID**, such as provider name, technology, and type.
|
|
173
169
|
*
|
|
174
170
|
* @param request - The request {@link GetPlatformRequest}
|
|
175
171
|
* @returns A Promise of Platform
|
|
@@ -209,8 +205,7 @@ class API extends api.API {
|
|
|
209
205
|
*/
|
|
210
206
|
listPlatforms = (request = {}) => resourcePaginator.enrichForPagination("platforms", this.pageOfListPlatforms, request);
|
|
211
207
|
/**
|
|
212
|
-
* Get session infrormation. Retrieve information about the provided **session
|
|
213
|
-
* ID**, such as name, status, and number of executed jobs.
|
|
208
|
+
* Get session infrormation. Retrieve information about the provided **session ID**, such as name, status, and number of executed jobs.
|
|
214
209
|
*
|
|
215
210
|
* @param request - The request {@link GetSessionRequest}
|
|
216
211
|
* @returns A Promise of Session
|
|
@@ -283,8 +278,7 @@ class API extends api.API {
|
|
|
283
278
|
marshalling_gen.unmarshalSession
|
|
284
279
|
);
|
|
285
280
|
/**
|
|
286
|
-
* Update session information. Update session information of the provided
|
|
287
|
-
* **session ID**.
|
|
281
|
+
* Update session information. Update session information of the provided **session ID**.
|
|
288
282
|
*
|
|
289
283
|
* @param request - The request {@link UpdateSessionRequest}
|
|
290
284
|
* @returns A Promise of Session
|
|
@@ -301,8 +295,7 @@ class API extends api.API {
|
|
|
301
295
|
marshalling_gen.unmarshalSession
|
|
302
296
|
);
|
|
303
297
|
/**
|
|
304
|
-
* Terminate an existing session. Terminate a session by its unique ID and
|
|
305
|
-
* cancel all its attached jobs.
|
|
298
|
+
* Terminate an existing session. Terminate a session by its unique ID and cancel all its attached jobs.
|
|
306
299
|
*
|
|
307
300
|
* @param request - The request {@link TerminateSessionRequest}
|
|
308
301
|
* @returns A Promise of Session
|
|
@@ -317,8 +310,7 @@ class API extends api.API {
|
|
|
317
310
|
marshalling_gen.unmarshalSession
|
|
318
311
|
);
|
|
319
312
|
/**
|
|
320
|
-
* Delete an existing session. Delete a session by its unique ID and delete
|
|
321
|
-
* all its attached jobs.
|
|
313
|
+
* Delete an existing session. Delete a session by its unique ID and delete all its attached jobs.
|
|
322
314
|
*
|
|
323
315
|
* @param request - The request {@link DeleteSessionRequest}
|
|
324
316
|
*/
|
|
@@ -343,8 +335,7 @@ class API extends api.API {
|
|
|
343
335
|
);
|
|
344
336
|
listSessionACLs = (request) => resourcePaginator.enrichForPagination("acls", this.pageOfListSessionACLs, request);
|
|
345
337
|
/**
|
|
346
|
-
* Create a process. Create a new process for the specified application on a
|
|
347
|
-
* specified platform.
|
|
338
|
+
* Create a process. Create a new process for the specified application on a specified platform.
|
|
348
339
|
*
|
|
349
340
|
* @param request - The request {@link CreateProcessRequest}
|
|
350
341
|
* @returns A Promise of Process
|
|
@@ -361,8 +352,7 @@ class API extends api.API {
|
|
|
361
352
|
marshalling_gen.unmarshalProcess
|
|
362
353
|
);
|
|
363
354
|
/**
|
|
364
|
-
* Get process infrormation. Retrieve information about the provided **process
|
|
365
|
-
* ID**, such as name, status and progress.
|
|
355
|
+
* Get process infrormation. Retrieve information about the provided **process ID**, such as name, status and progress.
|
|
366
356
|
*
|
|
367
357
|
* @param request - The request {@link GetProcessRequest}
|
|
368
358
|
* @returns A Promise of Process
|
|
@@ -418,8 +408,7 @@ class API extends api.API {
|
|
|
418
408
|
*/
|
|
419
409
|
listProcesses = (request = {}) => resourcePaginator.enrichForPagination("processes", this.pageOfListProcesses, request);
|
|
420
410
|
/**
|
|
421
|
-
* Update process information. Update process information of the provided
|
|
422
|
-
* **process ID**.
|
|
411
|
+
* Update process information. Update process information of the provided **process ID**.
|
|
423
412
|
*
|
|
424
413
|
* @param request - The request {@link UpdateProcessRequest}
|
|
425
414
|
* @returns A Promise of Process
|
|
@@ -436,8 +425,7 @@ class API extends api.API {
|
|
|
436
425
|
marshalling_gen.unmarshalProcess
|
|
437
426
|
);
|
|
438
427
|
/**
|
|
439
|
-
* Cancel a running process. Cancel a process by its unique ID. Intermediate
|
|
440
|
-
* results are still available.
|
|
428
|
+
* Cancel a running process. Cancel a process by its unique ID. Intermediate results are still available.
|
|
441
429
|
*
|
|
442
430
|
* @param request - The request {@link CancelProcessRequest}
|
|
443
431
|
* @returns A Promise of Process
|
|
@@ -452,8 +440,7 @@ class API extends api.API {
|
|
|
452
440
|
marshalling_gen.unmarshalProcess
|
|
453
441
|
);
|
|
454
442
|
/**
|
|
455
|
-
* Delete an existing process. Delete a process by its unique ID and delete
|
|
456
|
-
* all its data.
|
|
443
|
+
* Delete an existing process. Delete a process by its unique ID and delete all its data.
|
|
457
444
|
*
|
|
458
445
|
* @param request - The request {@link DeleteProcessRequest}
|
|
459
446
|
*/
|
|
@@ -477,8 +464,7 @@ class API extends api.API {
|
|
|
477
464
|
marshalling_gen.unmarshalListProcessResultsResponse
|
|
478
465
|
);
|
|
479
466
|
/**
|
|
480
|
-
* List all results of a process. Retrieve all intermediate and final result
|
|
481
|
-
* of a process.
|
|
467
|
+
* List all results of a process. Retrieve all intermediate and final result of a process.
|
|
482
468
|
*
|
|
483
469
|
* @param request - The request {@link ListProcessResultsRequest}
|
|
484
470
|
* @returns A Promise of ListProcessResultsResponse
|
|
@@ -489,8 +475,7 @@ class API extends api.API {
|
|
|
489
475
|
request
|
|
490
476
|
);
|
|
491
477
|
/**
|
|
492
|
-
* Get application information. Retrieve information about the provided
|
|
493
|
-
* **applcation ID**, such as name, type and compatible platforms.
|
|
478
|
+
* Get application information. Retrieve information about the provided **applcation ID**, such as name, type and compatible platforms.
|
|
494
479
|
*
|
|
495
480
|
* @param request - The request {@link GetApplicationRequest}
|
|
496
481
|
* @returns A Promise of Application
|
|
@@ -520,8 +505,7 @@ class API extends api.API {
|
|
|
520
505
|
marshalling_gen.unmarshalListApplicationsResponse
|
|
521
506
|
);
|
|
522
507
|
/**
|
|
523
|
-
* List all available applications. Retrieve information about all
|
|
524
|
-
* applications.
|
|
508
|
+
* List all available applications. Retrieve information about all applications.
|
|
525
509
|
*
|
|
526
510
|
* @param request - The request {@link ListApplicationsRequest}
|
|
527
511
|
* @returns A Promise of ListApplicationsResponse
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { API as ParentAPI } from '
|
|
2
|
-
import type { WaitForOptions } from '
|
|
1
|
+
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { WaitForOptions } from '@scaleway/sdk-client';
|
|
3
3
|
import type { Application, CancelJobRequest, CancelProcessRequest, CreateJobRequest, CreateProcessRequest, CreateSessionRequest, DeleteJobRequest, DeleteProcessRequest, DeleteSessionRequest, GetApplicationRequest, GetJobCircuitRequest, GetJobRequest, GetPlatformRequest, GetProcessRequest, GetSessionRequest, Job, JobCircuit, ListApplicationsRequest, ListApplicationsResponse, ListJobResultsRequest, ListJobResultsResponse, ListJobsRequest, ListJobsResponse, ListPlatformsRequest, ListPlatformsResponse, ListProcessResultsRequest, ListProcessResultsResponse, ListProcessesRequest, ListProcessesResponse, ListSessionACLsRequest, ListSessionACLsResponse, ListSessionsRequest, ListSessionsResponse, Platform, Process, Session, TerminateSessionRequest, UpdateJobRequest, UpdateProcessRequest, UpdateSessionRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Quantum as a Service API.
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
This API allows you to manage Scaleway Quantum as a Service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/**
|
|
11
|
-
* Get job information. Retrieve information about the provided **job ID**,
|
|
12
|
-
* such as status, payload, and result.
|
|
11
|
+
* Get job information. Retrieve information about the provided **job ID**, such as status, payload, and result.
|
|
13
12
|
*
|
|
14
13
|
* @param request - The request {@link GetJobRequest}
|
|
15
14
|
* @returns A Promise of Job
|
|
@@ -25,8 +24,7 @@ export declare class API extends ParentAPI {
|
|
|
25
24
|
waitForJob: (request: Readonly<GetJobRequest>, options?: Readonly<WaitForOptions<Job>>) => Promise<Job>;
|
|
26
25
|
protected pageOfListJobs: (request?: Readonly<ListJobsRequest>) => Promise<ListJobsResponse>;
|
|
27
26
|
/**
|
|
28
|
-
* List all jobs within a project or session. Retrieve information about all
|
|
29
|
-
* jobs within a given project or session.
|
|
27
|
+
* List all jobs within a project or session. Retrieve information about all jobs within a given project or session.
|
|
30
28
|
*
|
|
31
29
|
* @param request - The request {@link ListJobsRequest}
|
|
32
30
|
* @returns A Promise of ListJobsResponse
|
|
@@ -37,8 +35,7 @@ export declare class API extends ParentAPI {
|
|
|
37
35
|
};
|
|
38
36
|
protected pageOfListJobResults: (request: Readonly<ListJobResultsRequest>) => Promise<ListJobResultsResponse>;
|
|
39
37
|
/**
|
|
40
|
-
* List all results of a job. Retrieve all intermediate and final results of a
|
|
41
|
-
* job.
|
|
38
|
+
* List all results of a job. Retrieve all intermediate and final results of a job.
|
|
42
39
|
*
|
|
43
40
|
* @param request - The request {@link ListJobResultsRequest}
|
|
44
41
|
* @returns A Promise of ListJobResultsResponse
|
|
@@ -55,8 +52,7 @@ export declare class API extends ParentAPI {
|
|
|
55
52
|
*/
|
|
56
53
|
createJob: (request: Readonly<CreateJobRequest>) => Promise<Job>;
|
|
57
54
|
/**
|
|
58
|
-
* Update job information. Update job information about the provided **job
|
|
59
|
-
* ID**.
|
|
55
|
+
* Update job information. Update job information about the provided **job ID**.
|
|
60
56
|
*
|
|
61
57
|
* @param request - The request {@link UpdateJobRequest}
|
|
62
58
|
* @returns A Promise of Job
|
|
@@ -83,8 +79,7 @@ export declare class API extends ParentAPI {
|
|
|
83
79
|
*/
|
|
84
80
|
getJobCircuit: (request: Readonly<GetJobCircuitRequest>) => Promise<JobCircuit>;
|
|
85
81
|
/**
|
|
86
|
-
* Get platform information. Retrieve information about the provided
|
|
87
|
-
* **platform ID**, such as provider name, technology, and type.
|
|
82
|
+
* Get platform information. Retrieve information about the provided **platform ID**, such as provider name, technology, and type.
|
|
88
83
|
*
|
|
89
84
|
* @param request - The request {@link GetPlatformRequest}
|
|
90
85
|
* @returns A Promise of Platform
|
|
@@ -102,8 +97,7 @@ export declare class API extends ParentAPI {
|
|
|
102
97
|
[Symbol.asyncIterator]: () => AsyncGenerator<Platform[], void, void>;
|
|
103
98
|
};
|
|
104
99
|
/**
|
|
105
|
-
* Get session infrormation. Retrieve information about the provided **session
|
|
106
|
-
* ID**, such as name, status, and number of executed jobs.
|
|
100
|
+
* Get session infrormation. Retrieve information about the provided **session ID**, such as name, status, and number of executed jobs.
|
|
107
101
|
*
|
|
108
102
|
* @param request - The request {@link GetSessionRequest}
|
|
109
103
|
* @returns A Promise of Session
|
|
@@ -136,24 +130,21 @@ export declare class API extends ParentAPI {
|
|
|
136
130
|
*/
|
|
137
131
|
createSession: (request: Readonly<CreateSessionRequest>) => Promise<Session>;
|
|
138
132
|
/**
|
|
139
|
-
* Update session information. Update session information of the provided
|
|
140
|
-
* **session ID**.
|
|
133
|
+
* Update session information. Update session information of the provided **session ID**.
|
|
141
134
|
*
|
|
142
135
|
* @param request - The request {@link UpdateSessionRequest}
|
|
143
136
|
* @returns A Promise of Session
|
|
144
137
|
*/
|
|
145
138
|
updateSession: (request: Readonly<UpdateSessionRequest>) => Promise<Session>;
|
|
146
139
|
/**
|
|
147
|
-
* Terminate an existing session. Terminate a session by its unique ID and
|
|
148
|
-
* cancel all its attached jobs.
|
|
140
|
+
* Terminate an existing session. Terminate a session by its unique ID and cancel all its attached jobs.
|
|
149
141
|
*
|
|
150
142
|
* @param request - The request {@link TerminateSessionRequest}
|
|
151
143
|
* @returns A Promise of Session
|
|
152
144
|
*/
|
|
153
145
|
terminateSession: (request: Readonly<TerminateSessionRequest>) => Promise<Session>;
|
|
154
146
|
/**
|
|
155
|
-
* Delete an existing session. Delete a session by its unique ID and delete
|
|
156
|
-
* all its attached jobs.
|
|
147
|
+
* Delete an existing session. Delete a session by its unique ID and delete all its attached jobs.
|
|
157
148
|
*
|
|
158
149
|
* @param request - The request {@link DeleteSessionRequest}
|
|
159
150
|
*/
|
|
@@ -164,16 +155,14 @@ export declare class API extends ParentAPI {
|
|
|
164
155
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").SessionAccess[], void, void>;
|
|
165
156
|
};
|
|
166
157
|
/**
|
|
167
|
-
* Create a process. Create a new process for the specified application on a
|
|
168
|
-
* specified platform.
|
|
158
|
+
* Create a process. Create a new process for the specified application on a specified platform.
|
|
169
159
|
*
|
|
170
160
|
* @param request - The request {@link CreateProcessRequest}
|
|
171
161
|
* @returns A Promise of Process
|
|
172
162
|
*/
|
|
173
163
|
createProcess: (request: Readonly<CreateProcessRequest>) => Promise<Process>;
|
|
174
164
|
/**
|
|
175
|
-
* Get process infrormation. Retrieve information about the provided **process
|
|
176
|
-
* ID**, such as name, status and progress.
|
|
165
|
+
* Get process infrormation. Retrieve information about the provided **process ID**, such as name, status and progress.
|
|
177
166
|
*
|
|
178
167
|
* @param request - The request {@link GetProcessRequest}
|
|
179
168
|
* @returns A Promise of Process
|
|
@@ -199,32 +188,28 @@ export declare class API extends ParentAPI {
|
|
|
199
188
|
[Symbol.asyncIterator]: () => AsyncGenerator<Process[], void, void>;
|
|
200
189
|
};
|
|
201
190
|
/**
|
|
202
|
-
* Update process information. Update process information of the provided
|
|
203
|
-
* **process ID**.
|
|
191
|
+
* Update process information. Update process information of the provided **process ID**.
|
|
204
192
|
*
|
|
205
193
|
* @param request - The request {@link UpdateProcessRequest}
|
|
206
194
|
* @returns A Promise of Process
|
|
207
195
|
*/
|
|
208
196
|
updateProcess: (request: Readonly<UpdateProcessRequest>) => Promise<Process>;
|
|
209
197
|
/**
|
|
210
|
-
* Cancel a running process. Cancel a process by its unique ID. Intermediate
|
|
211
|
-
* results are still available.
|
|
198
|
+
* Cancel a running process. Cancel a process by its unique ID. Intermediate results are still available.
|
|
212
199
|
*
|
|
213
200
|
* @param request - The request {@link CancelProcessRequest}
|
|
214
201
|
* @returns A Promise of Process
|
|
215
202
|
*/
|
|
216
203
|
cancelProcess: (request: Readonly<CancelProcessRequest>) => Promise<Process>;
|
|
217
204
|
/**
|
|
218
|
-
* Delete an existing process. Delete a process by its unique ID and delete
|
|
219
|
-
* all its data.
|
|
205
|
+
* Delete an existing process. Delete a process by its unique ID and delete all its data.
|
|
220
206
|
*
|
|
221
207
|
* @param request - The request {@link DeleteProcessRequest}
|
|
222
208
|
*/
|
|
223
209
|
deleteProcess: (request: Readonly<DeleteProcessRequest>) => Promise<void>;
|
|
224
210
|
protected pageOfListProcessResults: (request: Readonly<ListProcessResultsRequest>) => Promise<ListProcessResultsResponse>;
|
|
225
211
|
/**
|
|
226
|
-
* List all results of a process. Retrieve all intermediate and final result
|
|
227
|
-
* of a process.
|
|
212
|
+
* List all results of a process. Retrieve all intermediate and final result of a process.
|
|
228
213
|
*
|
|
229
214
|
* @param request - The request {@link ListProcessResultsRequest}
|
|
230
215
|
* @returns A Promise of ListProcessResultsResponse
|
|
@@ -234,8 +219,7 @@ export declare class API extends ParentAPI {
|
|
|
234
219
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").ProcessResult[], void, void>;
|
|
235
220
|
};
|
|
236
221
|
/**
|
|
237
|
-
* Get application information. Retrieve information about the provided
|
|
238
|
-
* **applcation ID**, such as name, type and compatible platforms.
|
|
222
|
+
* Get application information. Retrieve information about the provided **applcation ID**, such as name, type and compatible platforms.
|
|
239
223
|
*
|
|
240
224
|
* @param request - The request {@link GetApplicationRequest}
|
|
241
225
|
* @returns A Promise of Application
|
|
@@ -243,8 +227,7 @@ export declare class API extends ParentAPI {
|
|
|
243
227
|
getApplication: (request: Readonly<GetApplicationRequest>) => Promise<Application>;
|
|
244
228
|
protected pageOfListApplications: (request?: Readonly<ListApplicationsRequest>) => Promise<ListApplicationsResponse>;
|
|
245
229
|
/**
|
|
246
|
-
* List all available applications. Retrieve information about all
|
|
247
|
-
* applications.
|
|
230
|
+
* List all available applications. Retrieve information about all applications.
|
|
248
231
|
*
|
|
249
232
|
* @param request - The request {@link ListApplicationsRequest}
|
|
250
233
|
* @returns A Promise of ListApplicationsResponse
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "../../../
|
|
5
|
-
import
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { waitForResource } from "../../../client/dist/internal/async/interval-retrier.js";
|
|
3
|
+
import { API as API$1 } from "../../../client/dist/scw/api.js";
|
|
4
|
+
import { validatePathParam, urlParams, resolveOneOf } from "../../../client/dist/helpers/marshalling.js";
|
|
5
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
6
|
+
import { enrichForPagination } from "../../../client/dist/scw/fetch/resource-paginator.js";
|
|
6
7
|
import { JOB_TRANSIENT_STATUSES, SESSION_TRANSIENT_STATUSES, PROCESS_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
7
8
|
import { unmarshalJob, unmarshalListJobsResponse, unmarshalListJobResultsResponse, marshalCreateJobRequest, marshalUpdateJobRequest, unmarshalJobCircuit, unmarshalPlatform, unmarshalListPlatformsResponse, unmarshalSession, unmarshalListSessionsResponse, marshalCreateSessionRequest, marshalUpdateSessionRequest, unmarshalListSessionACLsResponse, marshalCreateProcessRequest, unmarshalProcess, unmarshalListProcessesResponse, marshalUpdateProcessRequest, unmarshalListProcessResultsResponse, unmarshalApplication, unmarshalListApplicationsResponse } from "./marshalling.gen.js";
|
|
8
9
|
const jsonContentHeaders = {
|
|
@@ -10,8 +11,7 @@ const jsonContentHeaders = {
|
|
|
10
11
|
};
|
|
11
12
|
class API extends API$1 {
|
|
12
13
|
/**
|
|
13
|
-
* Get job information. Retrieve information about the provided **job ID**,
|
|
14
|
-
* such as status, payload, and result.
|
|
14
|
+
* Get job information. Retrieve information about the provided **job ID**, such as status, payload, and result.
|
|
15
15
|
*
|
|
16
16
|
* @param request - The request {@link GetJobRequest}
|
|
17
17
|
* @returns A Promise of Job
|
|
@@ -63,8 +63,7 @@ class API extends API$1 {
|
|
|
63
63
|
unmarshalListJobsResponse
|
|
64
64
|
);
|
|
65
65
|
/**
|
|
66
|
-
* List all jobs within a project or session. Retrieve information about all
|
|
67
|
-
* jobs within a given project or session.
|
|
66
|
+
* List all jobs within a project or session. Retrieve information about all jobs within a given project or session.
|
|
68
67
|
*
|
|
69
68
|
* @param request - The request {@link ListJobsRequest}
|
|
70
69
|
* @returns A Promise of ListJobsResponse
|
|
@@ -86,8 +85,7 @@ class API extends API$1 {
|
|
|
86
85
|
unmarshalListJobResultsResponse
|
|
87
86
|
);
|
|
88
87
|
/**
|
|
89
|
-
* List all results of a job. Retrieve all intermediate and final results of a
|
|
90
|
-
* job.
|
|
88
|
+
* List all results of a job. Retrieve all intermediate and final results of a job.
|
|
91
89
|
*
|
|
92
90
|
* @param request - The request {@link ListJobResultsRequest}
|
|
93
91
|
* @returns A Promise of ListJobResultsResponse
|
|
@@ -111,8 +109,7 @@ class API extends API$1 {
|
|
|
111
109
|
unmarshalJob
|
|
112
110
|
);
|
|
113
111
|
/**
|
|
114
|
-
* Update job information. Update job information about the provided **job
|
|
115
|
-
* ID**.
|
|
112
|
+
* Update job information. Update job information about the provided **job ID**.
|
|
116
113
|
*
|
|
117
114
|
* @param request - The request {@link UpdateJobRequest}
|
|
118
115
|
* @returns A Promise of Job
|
|
@@ -166,8 +163,7 @@ class API extends API$1 {
|
|
|
166
163
|
unmarshalJobCircuit
|
|
167
164
|
);
|
|
168
165
|
/**
|
|
169
|
-
* Get platform information. Retrieve information about the provided
|
|
170
|
-
* **platform ID**, such as provider name, technology, and type.
|
|
166
|
+
* Get platform information. Retrieve information about the provided **platform ID**, such as provider name, technology, and type.
|
|
171
167
|
*
|
|
172
168
|
* @param request - The request {@link GetPlatformRequest}
|
|
173
169
|
* @returns A Promise of Platform
|
|
@@ -207,8 +203,7 @@ class API extends API$1 {
|
|
|
207
203
|
*/
|
|
208
204
|
listPlatforms = (request = {}) => enrichForPagination("platforms", this.pageOfListPlatforms, request);
|
|
209
205
|
/**
|
|
210
|
-
* Get session infrormation. Retrieve information about the provided **session
|
|
211
|
-
* ID**, such as name, status, and number of executed jobs.
|
|
206
|
+
* Get session infrormation. Retrieve information about the provided **session ID**, such as name, status, and number of executed jobs.
|
|
212
207
|
*
|
|
213
208
|
* @param request - The request {@link GetSessionRequest}
|
|
214
209
|
* @returns A Promise of Session
|
|
@@ -281,8 +276,7 @@ class API extends API$1 {
|
|
|
281
276
|
unmarshalSession
|
|
282
277
|
);
|
|
283
278
|
/**
|
|
284
|
-
* Update session information. Update session information of the provided
|
|
285
|
-
* **session ID**.
|
|
279
|
+
* Update session information. Update session information of the provided **session ID**.
|
|
286
280
|
*
|
|
287
281
|
* @param request - The request {@link UpdateSessionRequest}
|
|
288
282
|
* @returns A Promise of Session
|
|
@@ -299,8 +293,7 @@ class API extends API$1 {
|
|
|
299
293
|
unmarshalSession
|
|
300
294
|
);
|
|
301
295
|
/**
|
|
302
|
-
* Terminate an existing session. Terminate a session by its unique ID and
|
|
303
|
-
* cancel all its attached jobs.
|
|
296
|
+
* Terminate an existing session. Terminate a session by its unique ID and cancel all its attached jobs.
|
|
304
297
|
*
|
|
305
298
|
* @param request - The request {@link TerminateSessionRequest}
|
|
306
299
|
* @returns A Promise of Session
|
|
@@ -315,8 +308,7 @@ class API extends API$1 {
|
|
|
315
308
|
unmarshalSession
|
|
316
309
|
);
|
|
317
310
|
/**
|
|
318
|
-
* Delete an existing session. Delete a session by its unique ID and delete
|
|
319
|
-
* all its attached jobs.
|
|
311
|
+
* Delete an existing session. Delete a session by its unique ID and delete all its attached jobs.
|
|
320
312
|
*
|
|
321
313
|
* @param request - The request {@link DeleteSessionRequest}
|
|
322
314
|
*/
|
|
@@ -341,8 +333,7 @@ class API extends API$1 {
|
|
|
341
333
|
);
|
|
342
334
|
listSessionACLs = (request) => enrichForPagination("acls", this.pageOfListSessionACLs, request);
|
|
343
335
|
/**
|
|
344
|
-
* Create a process. Create a new process for the specified application on a
|
|
345
|
-
* specified platform.
|
|
336
|
+
* Create a process. Create a new process for the specified application on a specified platform.
|
|
346
337
|
*
|
|
347
338
|
* @param request - The request {@link CreateProcessRequest}
|
|
348
339
|
* @returns A Promise of Process
|
|
@@ -359,8 +350,7 @@ class API extends API$1 {
|
|
|
359
350
|
unmarshalProcess
|
|
360
351
|
);
|
|
361
352
|
/**
|
|
362
|
-
* Get process infrormation. Retrieve information about the provided **process
|
|
363
|
-
* ID**, such as name, status and progress.
|
|
353
|
+
* Get process infrormation. Retrieve information about the provided **process ID**, such as name, status and progress.
|
|
364
354
|
*
|
|
365
355
|
* @param request - The request {@link GetProcessRequest}
|
|
366
356
|
* @returns A Promise of Process
|
|
@@ -416,8 +406,7 @@ class API extends API$1 {
|
|
|
416
406
|
*/
|
|
417
407
|
listProcesses = (request = {}) => enrichForPagination("processes", this.pageOfListProcesses, request);
|
|
418
408
|
/**
|
|
419
|
-
* Update process information. Update process information of the provided
|
|
420
|
-
* **process ID**.
|
|
409
|
+
* Update process information. Update process information of the provided **process ID**.
|
|
421
410
|
*
|
|
422
411
|
* @param request - The request {@link UpdateProcessRequest}
|
|
423
412
|
* @returns A Promise of Process
|
|
@@ -434,8 +423,7 @@ class API extends API$1 {
|
|
|
434
423
|
unmarshalProcess
|
|
435
424
|
);
|
|
436
425
|
/**
|
|
437
|
-
* Cancel a running process. Cancel a process by its unique ID. Intermediate
|
|
438
|
-
* results are still available.
|
|
426
|
+
* Cancel a running process. Cancel a process by its unique ID. Intermediate results are still available.
|
|
439
427
|
*
|
|
440
428
|
* @param request - The request {@link CancelProcessRequest}
|
|
441
429
|
* @returns A Promise of Process
|
|
@@ -450,8 +438,7 @@ class API extends API$1 {
|
|
|
450
438
|
unmarshalProcess
|
|
451
439
|
);
|
|
452
440
|
/**
|
|
453
|
-
* Delete an existing process. Delete a process by its unique ID and delete
|
|
454
|
-
* all its data.
|
|
441
|
+
* Delete an existing process. Delete a process by its unique ID and delete all its data.
|
|
455
442
|
*
|
|
456
443
|
* @param request - The request {@link DeleteProcessRequest}
|
|
457
444
|
*/
|
|
@@ -475,8 +462,7 @@ class API extends API$1 {
|
|
|
475
462
|
unmarshalListProcessResultsResponse
|
|
476
463
|
);
|
|
477
464
|
/**
|
|
478
|
-
* List all results of a process. Retrieve all intermediate and final result
|
|
479
|
-
* of a process.
|
|
465
|
+
* List all results of a process. Retrieve all intermediate and final result of a process.
|
|
480
466
|
*
|
|
481
467
|
* @param request - The request {@link ListProcessResultsRequest}
|
|
482
468
|
* @returns A Promise of ListProcessResultsResponse
|
|
@@ -487,8 +473,7 @@ class API extends API$1 {
|
|
|
487
473
|
request
|
|
488
474
|
);
|
|
489
475
|
/**
|
|
490
|
-
* Get application information. Retrieve information about the provided
|
|
491
|
-
* **applcation ID**, such as name, type and compatible platforms.
|
|
476
|
+
* Get application information. Retrieve information about the provided **applcation ID**, such as name, type and compatible platforms.
|
|
492
477
|
*
|
|
493
478
|
* @param request - The request {@link GetApplicationRequest}
|
|
494
479
|
* @returns A Promise of Application
|
|
@@ -518,8 +503,7 @@ class API extends API$1 {
|
|
|
518
503
|
unmarshalListApplicationsResponse
|
|
519
504
|
);
|
|
520
505
|
/**
|
|
521
|
-
* List all available applications. Retrieve information about all
|
|
522
|
-
* applications.
|
|
506
|
+
* List all available applications. Retrieve information about all applications.
|
|
523
507
|
*
|
|
524
508
|
* @param request - The request {@link ListApplicationsRequest}
|
|
525
509
|
* @returns A Promise of ListApplicationsResponse
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const json = require("../../../client/dist/helpers/json.cjs");
|
|
5
|
+
const customMarshalling = require("../../../client/dist/scw/custom-marshalling.cjs");
|
|
6
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
7
|
const unmarshalJobCircuit = (data) => {
|
|
7
8
|
if (!json.isJSONObject(data)) {
|
|
8
9
|
throw new TypeError(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DefaultValues } from '
|
|
1
|
+
import type { DefaultValues } from '@scaleway/sdk-client';
|
|
2
2
|
import type { Application, CreateJobRequest, CreateProcessRequest, CreateSessionRequest, Job, JobCircuit, ListApplicationsResponse, ListJobResultsResponse, ListJobsResponse, ListPlatformsResponse, ListProcessResultsResponse, ListProcessesResponse, ListSessionACLsResponse, ListSessionsResponse, Platform, Process, Session, UpdateJobRequest, UpdateProcessRequest, UpdateSessionRequest } from './types.gen';
|
|
3
3
|
export declare const unmarshalJobCircuit: (data: unknown) => JobCircuit;
|
|
4
4
|
export declare const unmarshalApplication: (data: unknown) => Application;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { isJSONObject } from "../../../client/dist/helpers/json.js";
|
|
3
|
+
import { unmarshalMoney } from "../../../client/dist/scw/custom-marshalling.js";
|
|
4
|
+
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from "../../../client/dist/helpers/marshalling.js";
|
|
4
5
|
const unmarshalJobCircuit = (data) => {
|
|
5
6
|
if (!isJSONObject(data)) {
|
|
6
7
|
throw new TypeError(
|