@scaleway/sdk 2.74.0 → 2.75.1
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/index.gen.cjs +373 -0
- package/dist/index.gen.d.ts +320 -0
- package/dist/index.gen.js +283 -0
- package/package.json +73 -26
- package/README.md +0 -47
- package/dist/api/account/index.gen.cjs +0 -6
- package/dist/api/account/index.gen.d.ts +0 -6
- package/dist/api/account/index.gen.js +0 -6
- package/dist/api/account/v2/api.gen.cjs +0 -118
- package/dist/api/account/v2/api.gen.d.ts +0 -67
- package/dist/api/account/v2/api.gen.js +0 -118
- package/dist/api/account/v2/index.gen.cjs +0 -4
- package/dist/api/account/v2/index.gen.d.ts +0 -2
- package/dist/api/account/v2/index.gen.js +0 -4
- package/dist/api/account/v2/marshalling.gen.cjs +0 -46
- package/dist/api/account/v2/marshalling.gen.d.ts +0 -6
- package/dist/api/account/v2/marshalling.gen.js +0 -46
- package/dist/api/account/v2/types.gen.d.ts +0 -62
- package/dist/api/account/v3/api.gen.cjs +0 -218
- package/dist/api/account/v3/api.gen.d.ts +0 -100
- package/dist/api/account/v3/api.gen.js +0 -218
- package/dist/api/account/v3/index.gen.cjs +0 -7
- package/dist/api/account/v3/index.gen.d.ts +0 -3
- package/dist/api/account/v3/index.gen.js +0 -7
- package/dist/api/account/v3/marshalling.gen.cjs +0 -317
- package/dist/api/account/v3/marshalling.gen.d.ts +0 -13
- package/dist/api/account/v3/marshalling.gen.js +0 -317
- package/dist/api/account/v3/types.gen.d.ts +0 -356
- package/dist/api/account/v3/validation-rules.gen.cjs +0 -61
- package/dist/api/account/v3/validation-rules.gen.d.ts +0 -53
- package/dist/api/account/v3/validation-rules.gen.js +0 -61
- package/dist/api/applesilicon/index.gen.cjs +0 -4
- package/dist/api/applesilicon/index.gen.d.ts +0 -5
- package/dist/api/applesilicon/index.gen.js +0 -4
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +0 -337
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +0 -153
- package/dist/api/applesilicon/v1alpha1/api.gen.js +0 -337
- package/dist/api/applesilicon/v1alpha1/content.gen.cjs +0 -16
- package/dist/api/applesilicon/v1alpha1/content.gen.d.ts +0 -7
- package/dist/api/applesilicon/v1alpha1/content.gen.js +0 -16
- package/dist/api/applesilicon/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/applesilicon/v1alpha1/index.gen.js +0 -9
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +0 -301
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +0 -19
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +0 -301
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +0 -564
- package/dist/api/audit_trail/index.gen.cjs +0 -4
- package/dist/api/audit_trail/index.gen.d.ts +0 -5
- package/dist/api/audit_trail/index.gen.js +0 -4
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +0 -62
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +0 -26
- package/dist/api/audit_trail/v1alpha1/api.gen.js +0 -62
- package/dist/api/audit_trail/v1alpha1/index.gen.cjs +0 -6
- package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/audit_trail/v1alpha1/index.gen.js +0 -6
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +0 -183
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.d.ts +0 -5
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +0 -183
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +0 -246
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.cjs +0 -22
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.d.ts +0 -19
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.js +0 -22
- package/dist/api/baremetal/index.gen.cjs +0 -6
- package/dist/api/baremetal/index.gen.d.ts +0 -6
- package/dist/api/baremetal/index.gen.js +0 -6
- package/dist/api/baremetal/v1/api.gen.cjs +0 -595
- package/dist/api/baremetal/v1/api.gen.d.ts +0 -279
- package/dist/api/baremetal/v1/api.gen.js +0 -595
- package/dist/api/baremetal/v1/api.utils.cjs +0 -38
- package/dist/api/baremetal/v1/api.utils.d.ts +0 -13
- package/dist/api/baremetal/v1/api.utils.js +0 -38
- package/dist/api/baremetal/v1/content.gen.cjs +0 -19
- package/dist/api/baremetal/v1/content.gen.d.ts +0 -7
- package/dist/api/baremetal/v1/content.gen.js +0 -19
- package/dist/api/baremetal/v1/index.cjs +0 -12
- package/dist/api/baremetal/v1/index.d.ts +0 -5
- package/dist/api/baremetal/v1/index.gen.d.ts +0 -4
- package/dist/api/baremetal/v1/index.js +0 -12
- package/dist/api/baremetal/v1/marshalling.gen.cjs +0 -721
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +0 -33
- package/dist/api/baremetal/v1/marshalling.gen.js +0 -721
- package/dist/api/baremetal/v1/types.gen.d.ts +0 -1376
- package/dist/api/baremetal/v1/validation-rules.gen.cjs +0 -116
- package/dist/api/baremetal/v1/validation-rules.gen.d.ts +0 -104
- package/dist/api/baremetal/v1/validation-rules.gen.js +0 -116
- package/dist/api/baremetal/v3/api.gen.cjs +0 -103
- package/dist/api/baremetal/v3/api.gen.d.ts +0 -41
- package/dist/api/baremetal/v3/api.gen.js +0 -103
- package/dist/api/baremetal/v3/content.gen.cjs +0 -4
- package/dist/api/baremetal/v3/content.gen.d.ts +0 -3
- package/dist/api/baremetal/v3/content.gen.js +0 -4
- package/dist/api/baremetal/v3/index.gen.cjs +0 -6
- package/dist/api/baremetal/v3/index.gen.d.ts +0 -3
- package/dist/api/baremetal/v3/index.gen.js +0 -6
- package/dist/api/baremetal/v3/marshalling.gen.cjs +0 -63
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +0 -7
- package/dist/api/baremetal/v3/marshalling.gen.js +0 -63
- package/dist/api/baremetal/v3/types.gen.d.ts +0 -132
- package/dist/api/billing/index.gen.cjs +0 -6
- package/dist/api/billing/index.gen.d.ts +0 -6
- package/dist/api/billing/index.gen.js +0 -6
- package/dist/api/billing/v2alpha1/api.gen.cjs +0 -94
- package/dist/api/billing/v2alpha1/api.gen.d.ts +0 -51
- package/dist/api/billing/v2alpha1/api.gen.js +0 -94
- package/dist/api/billing/v2alpha1/index.gen.cjs +0 -4
- package/dist/api/billing/v2alpha1/index.gen.d.ts +0 -2
- package/dist/api/billing/v2alpha1/index.gen.js +0 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +0 -119
- package/dist/api/billing/v2alpha1/marshalling.gen.d.ts +0 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.js +0 -119
- package/dist/api/billing/v2alpha1/types.gen.d.ts +0 -138
- package/dist/api/billing/v2beta1/api.gen.cjs +0 -175
- package/dist/api/billing/v2beta1/api.gen.d.ts +0 -77
- package/dist/api/billing/v2beta1/api.gen.js +0 -175
- package/dist/api/billing/v2beta1/index.gen.cjs +0 -4
- package/dist/api/billing/v2beta1/index.gen.d.ts +0 -2
- package/dist/api/billing/v2beta1/index.gen.js +0 -4
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +0 -160
- package/dist/api/billing/v2beta1/marshalling.gen.d.ts +0 -6
- package/dist/api/billing/v2beta1/marshalling.gen.js +0 -160
- package/dist/api/billing/v2beta1/types.gen.d.ts +0 -400
- package/dist/api/block/index.gen.cjs +0 -6
- package/dist/api/block/index.gen.d.ts +0 -6
- package/dist/api/block/index.gen.js +0 -6
- package/dist/api/block/v1/api.gen.cjs +0 -290
- package/dist/api/block/v1/api.gen.d.ts +0 -134
- package/dist/api/block/v1/api.gen.js +0 -290
- package/dist/api/block/v1/content.gen.cjs +0 -22
- package/dist/api/block/v1/content.gen.d.ts +0 -7
- package/dist/api/block/v1/content.gen.js +0 -22
- package/dist/api/block/v1/index.gen.cjs +0 -10
- package/dist/api/block/v1/index.gen.d.ts +0 -4
- package/dist/api/block/v1/index.gen.js +0 -10
- package/dist/api/block/v1/marshalling.gen.cjs +0 -201
- package/dist/api/block/v1/marshalling.gen.d.ts +0 -14
- package/dist/api/block/v1/marshalling.gen.js +0 -201
- package/dist/api/block/v1/types.gen.d.ts +0 -516
- package/dist/api/block/v1/validation-rules.gen.cjs +0 -56
- package/dist/api/block/v1/validation-rules.gen.d.ts +0 -47
- package/dist/api/block/v1/validation-rules.gen.js +0 -56
- package/dist/api/block/v1alpha1/api.gen.cjs +0 -310
- package/dist/api/block/v1alpha1/api.gen.d.ts +0 -144
- package/dist/api/block/v1alpha1/api.gen.js +0 -310
- package/dist/api/block/v1alpha1/content.gen.cjs +0 -22
- package/dist/api/block/v1alpha1/content.gen.d.ts +0 -7
- package/dist/api/block/v1alpha1/content.gen.js +0 -22
- package/dist/api/block/v1alpha1/index.gen.cjs +0 -10
- package/dist/api/block/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/block/v1alpha1/index.gen.js +0 -10
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +0 -209
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +0 -14
- package/dist/api/block/v1alpha1/marshalling.gen.js +0 -209
- package/dist/api/block/v1alpha1/types.gen.d.ts +0 -546
- package/dist/api/block/v1alpha1/validation-rules.gen.cjs +0 -62
- package/dist/api/block/v1alpha1/validation-rules.gen.d.ts +0 -52
- package/dist/api/block/v1alpha1/validation-rules.gen.js +0 -62
- package/dist/api/cockpit/index.gen.cjs +0 -6
- package/dist/api/cockpit/index.gen.d.ts +0 -6
- package/dist/api/cockpit/index.gen.js +0 -6
- package/dist/api/cockpit/v1/api.gen.cjs +0 -688
- package/dist/api/cockpit/v1/api.gen.d.ts +0 -293
- package/dist/api/cockpit/v1/api.gen.js +0 -688
- package/dist/api/cockpit/v1/index.gen.cjs +0 -7
- package/dist/api/cockpit/v1/index.gen.d.ts +0 -3
- package/dist/api/cockpit/v1/index.gen.js +0 -7
- package/dist/api/cockpit/v1/marshalling.gen.cjs +0 -426
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +0 -36
- package/dist/api/cockpit/v1/marshalling.gen.js +0 -426
- package/dist/api/cockpit/v1/types.gen.d.ts +0 -1019
- package/dist/api/cockpit/v1/validation-rules.gen.cjs +0 -67
- package/dist/api/cockpit/v1/validation-rules.gen.d.ts +0 -59
- package/dist/api/cockpit/v1/validation-rules.gen.js +0 -67
- package/dist/api/cockpit/v1beta1/api.gen.cjs +0 -486
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +0 -223
- package/dist/api/cockpit/v1beta1/api.gen.js +0 -486
- package/dist/api/cockpit/v1beta1/content.gen.cjs +0 -8
- package/dist/api/cockpit/v1beta1/content.gen.d.ts +0 -3
- package/dist/api/cockpit/v1beta1/content.gen.js +0 -8
- package/dist/api/cockpit/v1beta1/index.gen.cjs +0 -6
- package/dist/api/cockpit/v1beta1/index.gen.d.ts +0 -3
- package/dist/api/cockpit/v1beta1/index.gen.js +0 -6
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +0 -344
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +0 -29
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +0 -344
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +0 -385
- package/dist/api/container/index.gen.cjs +0 -4
- package/dist/api/container/index.gen.d.ts +0 -5
- package/dist/api/container/index.gen.js +0 -4
- package/dist/api/container/v1beta1/api.gen.cjs +0 -607
- package/dist/api/container/v1beta1/api.gen.d.ts +0 -287
- package/dist/api/container/v1beta1/api.gen.js +0 -607
- package/dist/api/container/v1beta1/content.gen.cjs +0 -34
- package/dist/api/container/v1beta1/content.gen.d.ts +0 -13
- package/dist/api/container/v1beta1/content.gen.js +0 -34
- package/dist/api/container/v1beta1/index.gen.cjs +0 -13
- package/dist/api/container/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/container/v1beta1/index.gen.js +0 -13
- package/dist/api/container/v1beta1/marshalling.gen.cjs +0 -501
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +0 -24
- package/dist/api/container/v1beta1/marshalling.gen.js +0 -501
- package/dist/api/container/v1beta1/types.gen.d.ts +0 -1212
- package/dist/api/container/v1beta1/validation-rules.gen.cjs +0 -61
- package/dist/api/container/v1beta1/validation-rules.gen.d.ts +0 -52
- package/dist/api/container/v1beta1/validation-rules.gen.js +0 -61
- package/dist/api/dedibox/index.gen.cjs +0 -4
- package/dist/api/dedibox/index.gen.d.ts +0 -5
- package/dist/api/dedibox/index.gen.js +0 -4
- package/dist/api/dedibox/v1/api.gen.cjs +0 -1444
- package/dist/api/dedibox/v1/api.gen.d.ts +0 -550
- package/dist/api/dedibox/v1/api.gen.js +0 -1444
- package/dist/api/dedibox/v1/content.gen.cjs +0 -49
- package/dist/api/dedibox/v1/content.gen.d.ts +0 -19
- package/dist/api/dedibox/v1/content.gen.js +0 -49
- package/dist/api/dedibox/v1/index.gen.cjs +0 -22
- package/dist/api/dedibox/v1/index.gen.d.ts +0 -4
- package/dist/api/dedibox/v1/index.gen.js +0 -22
- package/dist/api/dedibox/v1/marshalling.gen.cjs +0 -1476
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +0 -82
- package/dist/api/dedibox/v1/marshalling.gen.js +0 -1476
- package/dist/api/dedibox/v1/types.gen.d.ts +0 -3020
- package/dist/api/dedibox/v1/validation-rules.gen.cjs +0 -626
- package/dist/api/dedibox/v1/validation-rules.gen.d.ts +0 -539
- package/dist/api/dedibox/v1/validation-rules.gen.js +0 -626
- package/dist/api/document_db/index.gen.cjs +0 -4
- package/dist/api/document_db/index.gen.d.ts +0 -5
- package/dist/api/document_db/index.gen.js +0 -4
- package/dist/api/document_db/v1beta1/api.gen.cjs +0 -1020
- package/dist/api/document_db/v1beta1/api.gen.d.ts +0 -542
- package/dist/api/document_db/v1beta1/api.gen.js +0 -1020
- package/dist/api/document_db/v1beta1/content.gen.cjs +0 -31
- package/dist/api/document_db/v1beta1/content.gen.d.ts +0 -11
- package/dist/api/document_db/v1beta1/content.gen.js +0 -31
- package/dist/api/document_db/v1beta1/index.gen.cjs +0 -12
- package/dist/api/document_db/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/document_db/v1beta1/index.gen.js +0 -12
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +0 -830
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +0 -50
- package/dist/api/document_db/v1beta1/marshalling.gen.js +0 -830
- package/dist/api/document_db/v1beta1/types.gen.d.ts +0 -1254
- package/dist/api/document_db/v1beta1/validation-rules.gen.cjs +0 -8
- package/dist/api/document_db/v1beta1/validation-rules.gen.d.ts +0 -5
- package/dist/api/document_db/v1beta1/validation-rules.gen.js +0 -8
- package/dist/api/domain/index.gen.cjs +0 -4
- package/dist/api/domain/index.gen.d.ts +0 -5
- package/dist/api/domain/index.gen.js +0 -4
- package/dist/api/domain/v2beta1/api.gen.cjs +0 -998
- package/dist/api/domain/v2beta1/api.gen.d.ts +0 -463
- package/dist/api/domain/v2beta1/api.gen.js +0 -998
- package/dist/api/domain/v2beta1/content.gen.cjs +0 -29
- package/dist/api/domain/v2beta1/content.gen.d.ts +0 -15
- package/dist/api/domain/v2beta1/content.gen.js +0 -29
- package/dist/api/domain/v2beta1/index.gen.cjs +0 -13
- package/dist/api/domain/v2beta1/index.gen.d.ts +0 -3
- package/dist/api/domain/v2beta1/index.gen.js +0 -13
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +0 -1473
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +0 -59
- package/dist/api/domain/v2beta1/marshalling.gen.js +0 -1473
- package/dist/api/domain/v2beta1/types.gen.d.ts +0 -1285
- package/dist/api/edge_services/index.gen.cjs +0 -6
- package/dist/api/edge_services/index.gen.d.ts +0 -6
- package/dist/api/edge_services/index.gen.js +0 -6
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +0 -668
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +0 -319
- package/dist/api/edge_services/v1alpha1/api.gen.js +0 -668
- package/dist/api/edge_services/v1alpha1/content.gen.cjs +0 -8
- package/dist/api/edge_services/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/edge_services/v1alpha1/content.gen.js +0 -8
- package/dist/api/edge_services/v1alpha1/index.gen.cjs +0 -7
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/edge_services/v1alpha1/index.gen.js +0 -7
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +0 -543
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +0 -37
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +0 -543
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +0 -828
- package/dist/api/edge_services/v1beta1/api.gen.cjs +0 -877
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +0 -369
- package/dist/api/edge_services/v1beta1/api.gen.js +0 -877
- package/dist/api/edge_services/v1beta1/content.gen.cjs +0 -8
- package/dist/api/edge_services/v1beta1/content.gen.d.ts +0 -5
- package/dist/api/edge_services/v1beta1/content.gen.js +0 -8
- package/dist/api/edge_services/v1beta1/index.gen.cjs +0 -9
- package/dist/api/edge_services/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/edge_services/v1beta1/index.gen.js +0 -9
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +0 -810
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +0 -54
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +0 -810
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +0 -1429
- package/dist/api/edge_services/v1beta1/validation-rules.gen.cjs +0 -23
- package/dist/api/edge_services/v1beta1/validation-rules.gen.d.ts +0 -18
- package/dist/api/edge_services/v1beta1/validation-rules.gen.js +0 -23
- package/dist/api/file/index.gen.cjs +0 -4
- package/dist/api/file/index.gen.d.ts +0 -5
- package/dist/api/file/index.gen.js +0 -4
- package/dist/api/file/v1alpha1/api.gen.cjs +0 -142
- package/dist/api/file/v1alpha1/api.gen.d.ts +0 -73
- package/dist/api/file/v1alpha1/api.gen.js +0 -142
- package/dist/api/file/v1alpha1/content.gen.cjs +0 -7
- package/dist/api/file/v1alpha1/content.gen.d.ts +0 -3
- package/dist/api/file/v1alpha1/content.gen.js +0 -7
- package/dist/api/file/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/file/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/file/v1alpha1/index.gen.js +0 -8
- package/dist/api/file/v1alpha1/marshalling.gen.cjs +0 -77
- package/dist/api/file/v1alpha1/marshalling.gen.d.ts +0 -7
- package/dist/api/file/v1alpha1/marshalling.gen.js +0 -77
- package/dist/api/file/v1alpha1/types.gen.d.ts +0 -239
- package/dist/api/file/v1alpha1/validation-rules.gen.cjs +0 -40
- package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +0 -34
- package/dist/api/file/v1alpha1/validation-rules.gen.js +0 -40
- package/dist/api/flexibleip/index.gen.cjs +0 -4
- package/dist/api/flexibleip/index.gen.d.ts +0 -5
- package/dist/api/flexibleip/index.gen.js +0 -4
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +0 -217
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +0 -99
- package/dist/api/flexibleip/v1alpha1/api.gen.js +0 -217
- package/dist/api/flexibleip/v1alpha1/content.gen.cjs +0 -12
- package/dist/api/flexibleip/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/flexibleip/v1alpha1/content.gen.js +0 -12
- package/dist/api/flexibleip/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/flexibleip/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/flexibleip/v1alpha1/index.gen.js +0 -9
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +0 -117
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +0 -13
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +0 -117
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +0 -304
- package/dist/api/flexibleip/v1alpha1/validation-rules.gen.cjs +0 -12
- package/dist/api/flexibleip/v1alpha1/validation-rules.gen.d.ts +0 -9
- package/dist/api/flexibleip/v1alpha1/validation-rules.gen.js +0 -12
- package/dist/api/function/index.gen.cjs +0 -4
- package/dist/api/function/index.gen.d.ts +0 -5
- package/dist/api/function/index.gen.js +0 -4
- package/dist/api/function/v1beta1/api.gen.cjs +0 -647
- package/dist/api/function/v1beta1/api.gen.d.ts +0 -308
- package/dist/api/function/v1beta1/api.gen.js +0 -647
- package/dist/api/function/v1beta1/content.gen.cjs +0 -34
- package/dist/api/function/v1beta1/content.gen.d.ts +0 -13
- package/dist/api/function/v1beta1/content.gen.js +0 -34
- package/dist/api/function/v1beta1/index.gen.cjs +0 -13
- package/dist/api/function/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/function/v1beta1/index.gen.js +0 -13
- package/dist/api/function/v1beta1/marshalling.gen.cjs +0 -470
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +0 -27
- package/dist/api/function/v1beta1/marshalling.gen.js +0 -470
- package/dist/api/function/v1beta1/types.gen.d.ts +0 -1159
- package/dist/api/function/v1beta1/validation-rules.gen.cjs +0 -45
- package/dist/api/function/v1beta1/validation-rules.gen.d.ts +0 -39
- package/dist/api/function/v1beta1/validation-rules.gen.js +0 -45
- package/dist/api/iam/index.gen.cjs +0 -4
- package/dist/api/iam/index.gen.d.ts +0 -5
- package/dist/api/iam/index.gen.js +0 -4
- package/dist/api/iam/v1alpha1/api.gen.cjs +0 -1004
- package/dist/api/iam/v1alpha1/api.gen.d.ts +0 -438
- package/dist/api/iam/v1alpha1/api.gen.js +0 -1004
- package/dist/api/iam/v1alpha1/index.gen.cjs +0 -6
- package/dist/api/iam/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/iam/v1alpha1/index.gen.js +0 -6
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +0 -686
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +0 -51
- package/dist/api/iam/v1alpha1/marshalling.gen.js +0 -686
- package/dist/api/iam/v1alpha1/types.gen.d.ts +0 -1720
- package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +0 -307
- package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +0 -276
- package/dist/api/iam/v1alpha1/validation-rules.gen.js +0 -307
- package/dist/api/index.d.ts +0 -65
- package/dist/api/index.gen.d.ts +0 -48
- package/dist/api/inference/index.gen.cjs +0 -6
- package/dist/api/inference/index.gen.d.ts +0 -6
- package/dist/api/inference/index.gen.js +0 -6
- package/dist/api/inference/v1/api.gen.cjs +0 -276
- package/dist/api/inference/v1/api.gen.d.ts +0 -137
- package/dist/api/inference/v1/api.gen.js +0 -276
- package/dist/api/inference/v1/content.gen.cjs +0 -13
- package/dist/api/inference/v1/content.gen.d.ts +0 -5
- package/dist/api/inference/v1/content.gen.js +0 -13
- package/dist/api/inference/v1/index.gen.cjs +0 -9
- package/dist/api/inference/v1/index.gen.d.ts +0 -4
- package/dist/api/inference/v1/index.gen.js +0 -9
- package/dist/api/inference/v1/marshalling.gen.cjs +0 -261
- package/dist/api/inference/v1/marshalling.gen.d.ts +0 -14
- package/dist/api/inference/v1/marshalling.gen.js +0 -261
- package/dist/api/inference/v1/types.gen.d.ts +0 -577
- package/dist/api/inference/v1/validation-rules.gen.cjs +0 -65
- package/dist/api/inference/v1/validation-rules.gen.d.ts +0 -57
- package/dist/api/inference/v1/validation-rules.gen.js +0 -65
- package/dist/api/inference/v1beta1/api.gen.cjs +0 -306
- package/dist/api/inference/v1beta1/api.gen.d.ts +0 -148
- package/dist/api/inference/v1beta1/api.gen.js +0 -306
- package/dist/api/inference/v1beta1/content.gen.cjs +0 -8
- package/dist/api/inference/v1beta1/content.gen.d.ts +0 -3
- package/dist/api/inference/v1beta1/content.gen.js +0 -8
- package/dist/api/inference/v1beta1/index.gen.cjs +0 -8
- package/dist/api/inference/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/inference/v1beta1/index.gen.js +0 -8
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +0 -274
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +0 -18
- package/dist/api/inference/v1beta1/marshalling.gen.js +0 -274
- package/dist/api/inference/v1beta1/types.gen.d.ts +0 -622
- package/dist/api/inference/v1beta1/validation-rules.gen.cjs +0 -56
- package/dist/api/inference/v1beta1/validation-rules.gen.d.ts +0 -50
- package/dist/api/inference/v1beta1/validation-rules.gen.js +0 -56
- package/dist/api/instance/index.gen.cjs +0 -4
- package/dist/api/instance/index.gen.d.ts +0 -5
- package/dist/api/instance/index.gen.js +0 -4
- package/dist/api/instance/v1/api.gen.cjs +0 -1140
- package/dist/api/instance/v1/api.gen.d.ts +0 -493
- package/dist/api/instance/v1/api.gen.js +0 -1140
- package/dist/api/instance/v1/api.utils.cjs +0 -280
- package/dist/api/instance/v1/api.utils.d.ts +0 -95
- package/dist/api/instance/v1/api.utils.js +0 -280
- package/dist/api/instance/v1/content.gen.cjs +0 -44
- package/dist/api/instance/v1/content.gen.d.ts +0 -21
- package/dist/api/instance/v1/content.gen.js +0 -44
- package/dist/api/instance/v1/index.cjs +0 -15
- package/dist/api/instance/v1/index.d.ts +0 -4
- package/dist/api/instance/v1/index.gen.d.ts +0 -4
- package/dist/api/instance/v1/index.js +0 -15
- package/dist/api/instance/v1/marshalling.gen.cjs +0 -1826
- package/dist/api/instance/v1/marshalling.gen.d.ts +0 -95
- package/dist/api/instance/v1/marshalling.gen.js +0 -1826
- package/dist/api/instance/v1/marshalling.utils.d.ts +0 -3
- package/dist/api/instance/v1/types.gen.d.ts +0 -2616
- package/dist/api/instance/v1/types.private.gen.d.ts +0 -244
- package/dist/api/instance/v1/types.utils.d.ts +0 -35
- package/dist/api/instance/v1/validation-rules.gen.d.ts +0 -10
- package/dist/api/interlink/index.gen.cjs +0 -4
- package/dist/api/interlink/index.gen.d.ts +0 -5
- package/dist/api/interlink/index.gen.js +0 -4
- package/dist/api/interlink/v1beta1/api.gen.cjs +0 -453
- package/dist/api/interlink/v1beta1/api.gen.d.ts +0 -201
- package/dist/api/interlink/v1beta1/api.gen.js +0 -453
- package/dist/api/interlink/v1beta1/content.gen.cjs +0 -6
- package/dist/api/interlink/v1beta1/content.gen.d.ts +0 -5
- package/dist/api/interlink/v1beta1/content.gen.js +0 -6
- package/dist/api/interlink/v1beta1/index.gen.cjs +0 -9
- package/dist/api/interlink/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/interlink/v1beta1/index.gen.js +0 -9
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +0 -257
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +0 -18
- package/dist/api/interlink/v1beta1/marshalling.gen.js +0 -257
- package/dist/api/interlink/v1beta1/types.gen.d.ts +0 -810
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +0 -132
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +0 -116
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +0 -132
- package/dist/api/iot/index.gen.cjs +0 -4
- package/dist/api/iot/index.gen.d.ts +0 -5
- package/dist/api/iot/index.gen.js +0 -4
- package/dist/api/iot/v1/api.gen.cjs +0 -591
- package/dist/api/iot/v1/api.gen.d.ts +0 -293
- package/dist/api/iot/v1/api.gen.js +0 -591
- package/dist/api/iot/v1/content.gen.cjs +0 -4
- package/dist/api/iot/v1/content.gen.d.ts +0 -3
- package/dist/api/iot/v1/content.gen.js +0 -4
- package/dist/api/iot/v1/index.gen.cjs +0 -6
- package/dist/api/iot/v1/index.gen.d.ts +0 -3
- package/dist/api/iot/v1/index.gen.js +0 -6
- package/dist/api/iot/v1/marshalling.gen.cjs +0 -535
- package/dist/api/iot/v1/marshalling.gen.d.ts +0 -31
- package/dist/api/iot/v1/marshalling.gen.js +0 -535
- package/dist/api/iot/v1/types.gen.d.ts +0 -1161
- package/dist/api/ipam/index.gen.cjs +0 -4
- package/dist/api/ipam/index.gen.d.ts +0 -5
- package/dist/api/ipam/index.gen.js +0 -4
- package/dist/api/ipam/v1/api.gen.cjs +0 -179
- package/dist/api/ipam/v1/api.gen.d.ts +0 -72
- package/dist/api/ipam/v1/api.gen.js +0 -179
- package/dist/api/ipam/v1/index.gen.cjs +0 -6
- package/dist/api/ipam/v1/index.gen.d.ts +0 -3
- package/dist/api/ipam/v1/index.gen.js +0 -6
- package/dist/api/ipam/v1/marshalling.gen.cjs +0 -122
- package/dist/api/ipam/v1/marshalling.gen.d.ts +0 -10
- package/dist/api/ipam/v1/marshalling.gen.js +0 -122
- package/dist/api/ipam/v1/types.gen.d.ts +0 -324
- package/dist/api/ipam/v1/validation-rules.gen.cjs +0 -9
- package/dist/api/ipam/v1/validation-rules.gen.d.ts +0 -6
- package/dist/api/ipam/v1/validation-rules.gen.js +0 -9
- package/dist/api/ipfs/index.gen.cjs +0 -4
- package/dist/api/ipfs/index.gen.d.ts +0 -5
- package/dist/api/ipfs/index.gen.js +0 -4
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +0 -376
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +0 -198
- package/dist/api/ipfs/v1alpha1/api.gen.js +0 -376
- package/dist/api/ipfs/v1alpha1/content.gen.cjs +0 -6
- package/dist/api/ipfs/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/ipfs/v1alpha1/content.gen.js +0 -6
- package/dist/api/ipfs/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/ipfs/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/ipfs/v1alpha1/index.gen.js +0 -8
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +0 -210
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +0 -18
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +0 -210
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +0 -317
- package/dist/api/jobs/index.gen.cjs +0 -4
- package/dist/api/jobs/index.gen.d.ts +0 -5
- package/dist/api/jobs/index.gen.js +0 -4
- package/dist/api/jobs/v1alpha1/api.gen.cjs +0 -276
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +0 -130
- package/dist/api/jobs/v1alpha1/api.gen.js +0 -276
- package/dist/api/jobs/v1alpha1/content.gen.cjs +0 -8
- package/dist/api/jobs/v1alpha1/content.gen.d.ts +0 -3
- package/dist/api/jobs/v1alpha1/content.gen.js +0 -8
- package/dist/api/jobs/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/jobs/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/jobs/v1alpha1/index.gen.js +0 -8
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +0 -265
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +0 -17
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +0 -265
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +0 -423
- package/dist/api/jobs/v1alpha1/validation-rules.gen.cjs +0 -115
- package/dist/api/jobs/v1alpha1/validation-rules.gen.d.ts +0 -103
- package/dist/api/jobs/v1alpha1/validation-rules.gen.js +0 -115
- package/dist/api/k8s/index.gen.cjs +0 -4
- package/dist/api/k8s/index.gen.d.ts +0 -5
- package/dist/api/k8s/index.gen.js +0 -4
- package/dist/api/k8s/v1/api.gen.cjs +0 -590
- package/dist/api/k8s/v1/api.gen.d.ts +0 -282
- package/dist/api/k8s/v1/api.gen.js +0 -590
- package/dist/api/k8s/v1/api.utils.cjs +0 -13
- package/dist/api/k8s/v1/api.utils.d.ts +0 -11
- package/dist/api/k8s/v1/api.utils.js +0 -13
- package/dist/api/k8s/v1/content.gen.cjs +0 -23
- package/dist/api/k8s/v1/content.gen.d.ts +0 -7
- package/dist/api/k8s/v1/content.gen.js +0 -23
- package/dist/api/k8s/v1/index.cjs +0 -10
- package/dist/api/k8s/v1/index.d.ts +0 -4
- package/dist/api/k8s/v1/index.gen.d.ts +0 -4
- package/dist/api/k8s/v1/index.js +0 -10
- package/dist/api/k8s/v1/marshalling.gen.cjs +0 -623
- package/dist/api/k8s/v1/marshalling.gen.d.ts +0 -28
- package/dist/api/k8s/v1/marshalling.gen.js +0 -623
- package/dist/api/k8s/v1/types.gen.d.ts +0 -1513
- package/dist/api/k8s/v1/validation-rules.gen.cjs +0 -171
- package/dist/api/k8s/v1/validation-rules.gen.d.ts +0 -153
- package/dist/api/k8s/v1/validation-rules.gen.js +0 -171
- package/dist/api/key_manager/index.gen.cjs +0 -4
- package/dist/api/key_manager/index.gen.d.ts +0 -5
- package/dist/api/key_manager/index.gen.js +0 -4
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +0 -258
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +0 -121
- package/dist/api/key_manager/v1alpha1/api.gen.js +0 -258
- package/dist/api/key_manager/v1alpha1/index.gen.cjs +0 -4
- package/dist/api/key_manager/v1alpha1/index.gen.d.ts +0 -2
- package/dist/api/key_manager/v1alpha1/index.gen.js +0 -4
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +0 -152
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +0 -13
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +0 -152
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +0 -388
- package/dist/api/lb/index.gen.cjs +0 -4
- package/dist/api/lb/index.gen.d.ts +0 -5
- package/dist/api/lb/index.gen.js +0 -4
- package/dist/api/lb/v1/api.gen.cjs +0 -1879
- package/dist/api/lb/v1/api.gen.d.ts +0 -874
- package/dist/api/lb/v1/api.gen.js +0 -1879
- package/dist/api/lb/v1/api.utils.cjs +0 -118
- package/dist/api/lb/v1/api.utils.d.ts +0 -41
- package/dist/api/lb/v1/api.utils.js +0 -118
- package/dist/api/lb/v1/content.gen.cjs +0 -22
- package/dist/api/lb/v1/content.gen.d.ts +0 -9
- package/dist/api/lb/v1/content.gen.js +0 -22
- package/dist/api/lb/v1/index.cjs +0 -10
- package/dist/api/lb/v1/index.d.ts +0 -4
- package/dist/api/lb/v1/index.gen.d.ts +0 -3
- package/dist/api/lb/v1/index.js +0 -10
- package/dist/api/lb/v1/marshalling.gen.cjs +0 -1307
- package/dist/api/lb/v1/marshalling.gen.d.ts +0 -74
- package/dist/api/lb/v1/marshalling.gen.js +0 -1307
- package/dist/api/lb/v1/types.gen.d.ts +0 -3499
- package/dist/api/lb/v1/types.utils.d.ts +0 -13
- package/dist/api/llm_inference/index.gen.cjs +0 -4
- package/dist/api/llm_inference/index.gen.d.ts +0 -5
- package/dist/api/llm_inference/index.gen.js +0 -4
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +0 -307
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +0 -151
- package/dist/api/llm_inference/v1beta1/api.gen.js +0 -307
- package/dist/api/llm_inference/v1beta1/content.gen.cjs +0 -8
- package/dist/api/llm_inference/v1beta1/content.gen.d.ts +0 -3
- package/dist/api/llm_inference/v1beta1/content.gen.js +0 -8
- package/dist/api/llm_inference/v1beta1/index.gen.cjs +0 -8
- package/dist/api/llm_inference/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/llm_inference/v1beta1/index.gen.js +0 -8
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +0 -273
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +0 -18
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +0 -273
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +0 -433
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.cjs +0 -56
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.d.ts +0 -50
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.js +0 -56
- package/dist/api/marketplace/index.gen.cjs +0 -4
- package/dist/api/marketplace/index.gen.d.ts +0 -5
- package/dist/api/marketplace/index.gen.js +0 -4
- package/dist/api/marketplace/v2/api.gen.cjs +0 -163
- package/dist/api/marketplace/v2/api.gen.d.ts +0 -81
- package/dist/api/marketplace/v2/api.gen.js +0 -163
- package/dist/api/marketplace/v2/index.gen.cjs +0 -4
- package/dist/api/marketplace/v2/index.gen.d.ts +0 -2
- package/dist/api/marketplace/v2/index.gen.js +0 -4
- package/dist/api/marketplace/v2/marshalling.gen.cjs +0 -117
- package/dist/api/marketplace/v2/marshalling.gen.d.ts +0 -9
- package/dist/api/marketplace/v2/marshalling.gen.js +0 -117
- package/dist/api/marketplace/v2/types.gen.d.ts +0 -204
- package/dist/api/mnq/index.gen.cjs +0 -4
- package/dist/api/mnq/index.gen.d.ts +0 -5
- package/dist/api/mnq/index.gen.js +0 -4
- package/dist/api/mnq/v1beta1/api.gen.cjs +0 -455
- package/dist/api/mnq/v1beta1/api.gen.d.ts +0 -217
- package/dist/api/mnq/v1beta1/api.gen.js +0 -455
- package/dist/api/mnq/v1beta1/index.gen.cjs +0 -8
- package/dist/api/mnq/v1beta1/index.gen.d.ts +0 -3
- package/dist/api/mnq/v1beta1/index.gen.js +0 -8
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +0 -270
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +0 -23
- package/dist/api/mnq/v1beta1/marshalling.gen.js +0 -270
- package/dist/api/mnq/v1beta1/types.gen.d.ts +0 -627
- package/dist/api/mnq/v1beta1/validation-rules.gen.cjs +0 -85
- package/dist/api/mnq/v1beta1/validation-rules.gen.d.ts +0 -72
- package/dist/api/mnq/v1beta1/validation-rules.gen.js +0 -85
- package/dist/api/mongodb/index.gen.cjs +0 -4
- package/dist/api/mongodb/index.gen.d.ts +0 -5
- package/dist/api/mongodb/index.gen.js +0 -4
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +0 -415
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +0 -194
- package/dist/api/mongodb/v1alpha1/api.gen.js +0 -415
- package/dist/api/mongodb/v1alpha1/content.gen.cjs +0 -16
- package/dist/api/mongodb/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/mongodb/v1alpha1/content.gen.js +0 -16
- package/dist/api/mongodb/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/mongodb/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/mongodb/v1alpha1/index.gen.js +0 -9
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +0 -364
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +0 -23
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +0 -364
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +0 -788
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.cjs +0 -175
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.d.ts +0 -159
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.js +0 -175
- package/dist/api/product_catalog/index.gen.cjs +0 -4
- package/dist/api/product_catalog/index.gen.d.ts +0 -5
- package/dist/api/product_catalog/index.gen.js +0 -4
- package/dist/api/product_catalog/v2alpha1/api.gen.cjs +0 -36
- package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +0 -18
- package/dist/api/product_catalog/v2alpha1/api.gen.js +0 -36
- package/dist/api/product_catalog/v2alpha1/index.gen.cjs +0 -6
- package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +0 -3
- package/dist/api/product_catalog/v2alpha1/index.gen.js +0 -6
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +0 -230
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +0 -2
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +0 -230
- package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +0 -293
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +0 -11
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +0 -8
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +0 -11
- package/dist/api/qaas/index.gen.cjs +0 -4
- package/dist/api/qaas/index.gen.d.ts +0 -5
- package/dist/api/qaas/index.gen.js +0 -4
- package/dist/api/qaas/v1alpha1/api.gen.cjs +0 -515
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +0 -239
- package/dist/api/qaas/v1alpha1/api.gen.js +0 -515
- package/dist/api/qaas/v1alpha1/content.gen.cjs +0 -19
- package/dist/api/qaas/v1alpha1/content.gen.d.ts +0 -7
- package/dist/api/qaas/v1alpha1/content.gen.js +0 -19
- package/dist/api/qaas/v1alpha1/index.gen.cjs +0 -10
- package/dist/api/qaas/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/qaas/v1alpha1/index.gen.js +0 -10
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +0 -321
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +0 -22
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +0 -321
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +0 -798
- package/dist/api/qaas/v1alpha1/validation-rules.gen.cjs +0 -14
- package/dist/api/qaas/v1alpha1/validation-rules.gen.d.ts +0 -10
- package/dist/api/qaas/v1alpha1/validation-rules.gen.js +0 -14
- package/dist/api/rdb/index.gen.cjs +0 -4
- package/dist/api/rdb/index.gen.d.ts +0 -5
- package/dist/api/rdb/index.gen.js +0 -4
- package/dist/api/rdb/v1/api.gen.cjs +0 -1062
- package/dist/api/rdb/v1/api.gen.d.ts +0 -490
- package/dist/api/rdb/v1/api.gen.js +0 -1062
- package/dist/api/rdb/v1/content.gen.cjs +0 -38
- package/dist/api/rdb/v1/content.gen.d.ts +0 -13
- package/dist/api/rdb/v1/content.gen.js +0 -38
- package/dist/api/rdb/v1/index.gen.cjs +0 -13
- package/dist/api/rdb/v1/index.gen.d.ts +0 -4
- package/dist/api/rdb/v1/index.gen.js +0 -13
- package/dist/api/rdb/v1/marshalling.gen.cjs +0 -925
- package/dist/api/rdb/v1/marshalling.gen.d.ts +0 -59
- package/dist/api/rdb/v1/marshalling.gen.js +0 -925
- package/dist/api/rdb/v1/types.gen.d.ts +0 -1913
- package/dist/api/rdb/v1/validation-rules.gen.cjs +0 -8
- package/dist/api/rdb/v1/validation-rules.gen.d.ts +0 -5
- package/dist/api/rdb/v1/validation-rules.gen.js +0 -8
- package/dist/api/redis/index.gen.cjs +0 -4
- package/dist/api/redis/index.gen.d.ts +0 -5
- package/dist/api/redis/index.gen.js +0 -4
- package/dist/api/redis/v1/api.gen.cjs +0 -420
- package/dist/api/redis/v1/api.gen.d.ts +0 -193
- package/dist/api/redis/v1/api.gen.js +0 -420
- package/dist/api/redis/v1/content.gen.cjs +0 -10
- package/dist/api/redis/v1/content.gen.d.ts +0 -3
- package/dist/api/redis/v1/content.gen.js +0 -10
- package/dist/api/redis/v1/index.gen.cjs +0 -6
- package/dist/api/redis/v1/index.gen.d.ts +0 -3
- package/dist/api/redis/v1/index.gen.js +0 -6
- package/dist/api/redis/v1/marshalling.gen.cjs +0 -356
- package/dist/api/redis/v1/marshalling.gen.d.ts +0 -24
- package/dist/api/redis/v1/marshalling.gen.js +0 -356
- package/dist/api/redis/v1/types.gen.d.ts +0 -750
- package/dist/api/registry/index.gen.cjs +0 -4
- package/dist/api/registry/index.gen.d.ts +0 -5
- package/dist/api/registry/index.gen.js +0 -4
- package/dist/api/registry/v1/api.gen.cjs +0 -271
- package/dist/api/registry/v1/api.gen.d.ts +0 -132
- package/dist/api/registry/v1/api.gen.js +0 -271
- package/dist/api/registry/v1/content.gen.cjs +0 -8
- package/dist/api/registry/v1/content.gen.d.ts +0 -7
- package/dist/api/registry/v1/content.gen.js +0 -8
- package/dist/api/registry/v1/index.gen.cjs +0 -8
- package/dist/api/registry/v1/index.gen.d.ts +0 -3
- package/dist/api/registry/v1/index.gen.js +0 -8
- package/dist/api/registry/v1/marshalling.gen.cjs +0 -131
- package/dist/api/registry/v1/marshalling.gen.d.ts +0 -11
- package/dist/api/registry/v1/marshalling.gen.js +0 -131
- package/dist/api/registry/v1/types.gen.d.ts +0 -384
- package/dist/api/secret/index.gen.cjs +0 -6
- package/dist/api/secret/index.gen.d.ts +0 -6
- package/dist/api/secret/index.gen.js +0 -6
- package/dist/api/secret/v1alpha1/api.gen.cjs +0 -485
- package/dist/api/secret/v1alpha1/api.gen.d.ts +0 -262
- package/dist/api/secret/v1alpha1/api.gen.js +0 -485
- package/dist/api/secret/v1alpha1/index.gen.cjs +0 -4
- package/dist/api/secret/v1alpha1/index.gen.d.ts +0 -2
- package/dist/api/secret/v1alpha1/index.gen.js +0 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +0 -223
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +0 -19
- package/dist/api/secret/v1alpha1/marshalling.gen.js +0 -223
- package/dist/api/secret/v1alpha1/types.gen.d.ts +0 -619
- package/dist/api/secret/v1beta1/api.gen.cjs +0 -396
- package/dist/api/secret/v1beta1/api.gen.d.ts +0 -179
- package/dist/api/secret/v1beta1/api.gen.js +0 -396
- package/dist/api/secret/v1beta1/index.gen.cjs +0 -6
- package/dist/api/secret/v1beta1/index.gen.d.ts +0 -3
- package/dist/api/secret/v1beta1/index.gen.js +0 -6
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +0 -238
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +0 -15
- package/dist/api/secret/v1beta1/marshalling.gen.js +0 -238
- package/dist/api/secret/v1beta1/types.gen.d.ts +0 -700
- package/dist/api/secret/v1beta1/validation-rules.gen.cjs +0 -8
- package/dist/api/secret/v1beta1/validation-rules.gen.d.ts +0 -5
- package/dist/api/secret/v1beta1/validation-rules.gen.js +0 -8
- package/dist/api/serverless_sqldb/index.gen.cjs +0 -4
- package/dist/api/serverless_sqldb/index.gen.d.ts +0 -5
- package/dist/api/serverless_sqldb/index.gen.js +0 -4
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +0 -188
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +0 -91
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +0 -188
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.cjs +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.d.ts +0 -3
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.js +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.js +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +0 -92
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +0 -9
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +0 -92
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +0 -287
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.cjs +0 -62
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.d.ts +0 -55
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.js +0 -62
- package/dist/api/std/index.gen.cjs +0 -1
- package/dist/api/std/index.gen.d.ts +0 -1
- package/dist/api/std/index.gen.js +0 -1
- package/dist/api/std/types.gen.d.ts +0 -1
- package/dist/api/tem/index.gen.cjs +0 -4
- package/dist/api/tem/index.gen.d.ts +0 -5
- package/dist/api/tem/index.gen.js +0 -4
- package/dist/api/tem/v1alpha1/api.gen.cjs +0 -538
- package/dist/api/tem/v1alpha1/api.gen.d.ts +0 -246
- package/dist/api/tem/v1alpha1/api.gen.js +0 -538
- package/dist/api/tem/v1alpha1/content.gen.cjs +0 -9
- package/dist/api/tem/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/tem/v1alpha1/content.gen.js +0 -9
- package/dist/api/tem/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/tem/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/tem/v1alpha1/index.gen.js +0 -9
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +0 -554
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +0 -28
- package/dist/api/tem/v1alpha1/marshalling.gen.js +0 -554
- package/dist/api/tem/v1alpha1/types.gen.d.ts +0 -1300
- package/dist/api/tem/v1alpha1/validation-rules.gen.cjs +0 -145
- package/dist/api/tem/v1alpha1/validation-rules.gen.d.ts +0 -128
- package/dist/api/tem/v1alpha1/validation-rules.gen.js +0 -145
- package/dist/api/test/index.gen.cjs +0 -4
- package/dist/api/test/index.gen.d.ts +0 -5
- package/dist/api/test/index.gen.js +0 -4
- package/dist/api/test/v1/api.gen.cjs +0 -163
- package/dist/api/test/v1/api.gen.d.ts +0 -81
- package/dist/api/test/v1/api.gen.js +0 -163
- package/dist/api/test/v1/content.gen.cjs +0 -4
- package/dist/api/test/v1/content.gen.d.ts +0 -3
- package/dist/api/test/v1/content.gen.js +0 -4
- package/dist/api/test/v1/index.gen.cjs +0 -6
- package/dist/api/test/v1/index.gen.d.ts +0 -3
- package/dist/api/test/v1/index.gen.js +0 -6
- package/dist/api/test/v1/marshalling.gen.cjs +0 -95
- package/dist/api/test/v1/marshalling.gen.d.ts +0 -8
- package/dist/api/test/v1/marshalling.gen.js +0 -95
- package/dist/api/test/v1/types.gen.d.ts +0 -102
- package/dist/api/vpc/index.gen.cjs +0 -6
- package/dist/api/vpc/index.gen.d.ts +0 -6
- package/dist/api/vpc/index.gen.js +0 -6
- package/dist/api/vpc/v1/api.gen.cjs +0 -121
- package/dist/api/vpc/v1/api.gen.d.ts +0 -59
- package/dist/api/vpc/v1/api.gen.js +0 -121
- package/dist/api/vpc/v1/index.gen.cjs +0 -4
- package/dist/api/vpc/v1/index.gen.d.ts +0 -2
- package/dist/api/vpc/v1/index.gen.js +0 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +0 -54
- package/dist/api/vpc/v1/marshalling.gen.d.ts +0 -6
- package/dist/api/vpc/v1/marshalling.gen.js +0 -54
- package/dist/api/vpc/v1/types.gen.d.ts +0 -99
- package/dist/api/vpc/v2/api.gen.cjs +0 -370
- package/dist/api/vpc/v2/api.gen.d.ts +0 -168
- package/dist/api/vpc/v2/api.gen.js +0 -370
- package/dist/api/vpc/v2/index.gen.cjs +0 -6
- package/dist/api/vpc/v2/index.gen.d.ts +0 -3
- package/dist/api/vpc/v2/index.gen.js +0 -6
- package/dist/api/vpc/v2/marshalling.gen.cjs +0 -256
- package/dist/api/vpc/v2/marshalling.gen.d.ts +0 -21
- package/dist/api/vpc/v2/marshalling.gen.js +0 -256
- package/dist/api/vpc/v2/types.gen.d.ts +0 -648
- package/dist/api/vpc/v2/validation-rules.gen.cjs +0 -26
- package/dist/api/vpc/v2/validation-rules.gen.d.ts +0 -22
- package/dist/api/vpc/v2/validation-rules.gen.js +0 -26
- package/dist/api/vpcgw/index.gen.cjs +0 -6
- package/dist/api/vpcgw/index.gen.d.ts +0 -6
- package/dist/api/vpcgw/index.gen.js +0 -6
- package/dist/api/vpcgw/v1/api.gen.cjs +0 -698
- package/dist/api/vpcgw/v1/api.gen.d.ts +0 -340
- package/dist/api/vpcgw/v1/api.gen.js +0 -698
- package/dist/api/vpcgw/v1/content.gen.cjs +0 -15
- package/dist/api/vpcgw/v1/content.gen.d.ts +0 -5
- package/dist/api/vpcgw/v1/content.gen.js +0 -15
- package/dist/api/vpcgw/v1/index.gen.cjs +0 -7
- package/dist/api/vpcgw/v1/index.gen.d.ts +0 -3
- package/dist/api/vpcgw/v1/index.gen.js +0 -7
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +0 -443
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +0 -32
- package/dist/api/vpcgw/v1/marshalling.gen.js +0 -443
- package/dist/api/vpcgw/v1/types.gen.d.ts +0 -1327
- package/dist/api/vpcgw/v2/api.gen.cjs +0 -507
- package/dist/api/vpcgw/v2/api.gen.d.ts +0 -230
- package/dist/api/vpcgw/v2/api.gen.js +0 -507
- package/dist/api/vpcgw/v2/content.gen.cjs +0 -15
- package/dist/api/vpcgw/v2/content.gen.d.ts +0 -5
- package/dist/api/vpcgw/v2/content.gen.js +0 -15
- package/dist/api/vpcgw/v2/index.gen.cjs +0 -7
- package/dist/api/vpcgw/v2/index.gen.d.ts +0 -3
- package/dist/api/vpcgw/v2/index.gen.js +0 -7
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +0 -291
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +0 -26
- package/dist/api/vpcgw/v2/marshalling.gen.js +0 -291
- package/dist/api/vpcgw/v2/types.gen.d.ts +0 -838
- package/dist/api/webhosting/index.gen.cjs +0 -4
- package/dist/api/webhosting/index.gen.d.ts +0 -5
- package/dist/api/webhosting/index.gen.js +0 -4
- package/dist/api/webhosting/v1/api.gen.cjs +0 -752
- package/dist/api/webhosting/v1/api.gen.d.ts +0 -362
- package/dist/api/webhosting/v1/api.gen.js +0 -752
- package/dist/api/webhosting/v1/content.gen.cjs +0 -12
- package/dist/api/webhosting/v1/content.gen.d.ts +0 -7
- package/dist/api/webhosting/v1/content.gen.js +0 -12
- package/dist/api/webhosting/v1/index.gen.cjs +0 -17
- package/dist/api/webhosting/v1/index.gen.d.ts +0 -4
- package/dist/api/webhosting/v1/index.gen.js +0 -17
- package/dist/api/webhosting/v1/marshalling.gen.cjs +0 -581
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +0 -36
- package/dist/api/webhosting/v1/marshalling.gen.js +0 -581
- package/dist/api/webhosting/v1/types.gen.d.ts +0 -1303
- package/dist/api/webhosting/v1/validation-rules.gen.cjs +0 -82
- package/dist/api/webhosting/v1/validation-rules.gen.d.ts +0 -72
- package/dist/api/webhosting/v1/validation-rules.gen.js +0 -82
- package/dist/client/dist/helpers/is-browser.cjs +0 -4
- package/dist/client/dist/helpers/is-browser.js +0 -4
- package/dist/client/dist/helpers/is-response.cjs +0 -4
- package/dist/client/dist/helpers/is-response.js +0 -4
- package/dist/client/dist/helpers/json.cjs +0 -7
- package/dist/client/dist/helpers/json.js +0 -7
- package/dist/client/dist/helpers/marshalling.cjs +0 -76
- package/dist/client/dist/helpers/marshalling.js +0 -76
- package/dist/client/dist/internal/async/interval-retrier.cjs +0 -53
- package/dist/client/dist/internal/async/interval-retrier.js +0 -53
- package/dist/client/dist/internal/async/sleep.cjs +0 -6
- package/dist/client/dist/internal/async/sleep.js +0 -6
- package/dist/client/dist/internal/interceptors/composer.cjs +0 -25
- package/dist/client/dist/internal/interceptors/composer.js +0 -25
- package/dist/client/dist/internal/interceptors/helpers.cjs +0 -12
- package/dist/client/dist/internal/interceptors/helpers.js +0 -12
- package/dist/client/dist/internal/logger/console-logger.cjs +0 -24
- package/dist/client/dist/internal/logger/console-logger.js +0 -24
- package/dist/client/dist/internal/logger/index.cjs +0 -12
- package/dist/client/dist/internal/logger/index.js +0 -12
- package/dist/client/dist/internal/logger/level-resolver.cjs +0 -13
- package/dist/client/dist/internal/logger/level-resolver.js +0 -13
- package/dist/client/dist/internal/validations/string-validation.cjs +0 -30
- package/dist/client/dist/internal/validations/string-validation.js +0 -30
- package/dist/client/dist/package.json.cjs +0 -67
- package/dist/client/dist/package.json.js +0 -67
- package/dist/client/dist/scw/api.cjs +0 -8
- package/dist/client/dist/scw/api.js +0 -8
- package/dist/client/dist/scw/auth.cjs +0 -26
- package/dist/client/dist/scw/auth.js +0 -26
- package/dist/client/dist/scw/client-ini-factory.cjs +0 -66
- package/dist/client/dist/scw/client-ini-factory.js +0 -66
- package/dist/client/dist/scw/client-ini-profile.cjs +0 -23
- package/dist/client/dist/scw/client-ini-profile.js +0 -23
- package/dist/client/dist/scw/client-settings.cjs +0 -51
- package/dist/client/dist/scw/client-settings.js +0 -51
- package/dist/client/dist/scw/client.cjs +0 -31
- package/dist/client/dist/scw/client.js +0 -31
- package/dist/client/dist/scw/constants.cjs +0 -7
- package/dist/client/dist/scw/constants.js +0 -7
- package/dist/client/dist/scw/custom-marshalling.cjs +0 -126
- package/dist/client/dist/scw/custom-marshalling.js +0 -126
- package/dist/client/dist/scw/custom-types.cjs +0 -11
- package/dist/client/dist/scw/custom-types.js +0 -11
- package/dist/client/dist/scw/errors/error-parser.cjs +0 -76
- package/dist/client/dist/scw/errors/error-parser.js +0 -76
- package/dist/client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +0 -36
- package/dist/client/dist/scw/errors/non-standard/invalid-request-mapper.js +0 -36
- package/dist/client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +0 -23
- package/dist/client/dist/scw/errors/non-standard/unknown-resource-mapper.js +0 -23
- package/dist/client/dist/scw/errors/scw-error.cjs +0 -43
- package/dist/client/dist/scw/errors/scw-error.js +0 -43
- package/dist/client/dist/scw/errors/standard/already-exists-error.cjs +0 -31
- package/dist/client/dist/scw/errors/standard/already-exists-error.js +0 -31
- package/dist/client/dist/scw/errors/standard/denied-authentication-error.cjs +0 -37
- package/dist/client/dist/scw/errors/standard/denied-authentication-error.js +0 -37
- package/dist/client/dist/scw/errors/standard/index.cjs +0 -28
- package/dist/client/dist/scw/errors/standard/index.js +0 -28
- package/dist/client/dist/scw/errors/standard/invalid-arguments-error.cjs +0 -54
- package/dist/client/dist/scw/errors/standard/invalid-arguments-error.js +0 -54
- package/dist/client/dist/scw/errors/standard/out-of-stock-error.cjs +0 -17
- package/dist/client/dist/scw/errors/standard/out-of-stock-error.js +0 -17
- package/dist/client/dist/scw/errors/standard/permissions-denied-error.cjs +0 -29
- package/dist/client/dist/scw/errors/standard/permissions-denied-error.js +0 -29
- package/dist/client/dist/scw/errors/standard/precondition-failed-error.cjs +0 -32
- package/dist/client/dist/scw/errors/standard/precondition-failed-error.js +0 -32
- package/dist/client/dist/scw/errors/standard/quotas-exceeded-error.cjs +0 -43
- package/dist/client/dist/scw/errors/standard/quotas-exceeded-error.js +0 -43
- package/dist/client/dist/scw/errors/standard/resource-expired-error.cjs +0 -31
- package/dist/client/dist/scw/errors/standard/resource-expired-error.js +0 -31
- package/dist/client/dist/scw/errors/standard/resource-locked-error.cjs +0 -20
- package/dist/client/dist/scw/errors/standard/resource-locked-error.js +0 -20
- package/dist/client/dist/scw/errors/standard/resource-not-found-error.cjs +0 -24
- package/dist/client/dist/scw/errors/standard/resource-not-found-error.js +0 -24
- package/dist/client/dist/scw/errors/standard/too-many-requests-error.cjs +0 -58
- package/dist/client/dist/scw/errors/standard/too-many-requests-error.js +0 -58
- package/dist/client/dist/scw/errors/standard/transient-state-error.cjs +0 -31
- package/dist/client/dist/scw/errors/standard/transient-state-error.js +0 -31
- package/dist/client/dist/scw/errors/types.cjs +0 -15
- package/dist/client/dist/scw/errors/types.js +0 -15
- package/dist/client/dist/scw/fetch/build-fetcher.cjs +0 -60
- package/dist/client/dist/scw/fetch/build-fetcher.js +0 -60
- package/dist/client/dist/scw/fetch/http-dumper.cjs +0 -20
- package/dist/client/dist/scw/fetch/http-dumper.js +0 -20
- package/dist/client/dist/scw/fetch/http-interceptors.cjs +0 -43
- package/dist/client/dist/scw/fetch/http-interceptors.js +0 -43
- package/dist/client/dist/scw/fetch/resource-paginator.cjs +0 -36
- package/dist/client/dist/scw/fetch/resource-paginator.js +0 -36
- package/dist/client/dist/scw/fetch/response-parser.cjs +0 -55
- package/dist/client/dist/scw/fetch/response-parser.js +0 -55
- package/dist/client/dist/vendor/base64/index.cjs +0 -46
- package/dist/client/dist/vendor/base64/index.js +0 -46
- package/dist/index.cjs +0 -154
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -154
- package/node_modules/@scaleway/sdk-client/README.md +0 -36
- package/node_modules/@scaleway/sdk-client/dist/bridge.d.ts +0 -12
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.d.ts +0 -1
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.d.ts +0 -8
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +0 -7
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.d.ts +0 -13
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +0 -7
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +0 -76
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.d.ts +0 -60
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +0 -76
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +0 -52
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/index.js +0 -52
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +0 -53
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.d.ts +0 -111
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +0 -53
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +0 -6
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.d.ts +0 -9
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +0 -6
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.d.ts +0 -21
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/types.d.ts +0 -89
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +0 -24
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.d.ts +0 -23
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +0 -24
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +0 -13
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.d.ts +0 -9
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +0 -13
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/logger.d.ts +0 -13
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +0 -30
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.d.ts +0 -18
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +0 -30
- package/node_modules/@scaleway/sdk-client/dist/internals.d.ts +0 -10
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +0 -67
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +0 -67
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +0 -8
- package/node_modules/@scaleway/sdk-client/dist/scw/api.d.ts +0 -10
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +0 -8
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +0 -26
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.d.ts +0 -57
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +0 -26
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +0 -66
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.d.ts +0 -111
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +0 -66
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.d.ts +0 -82
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +0 -51
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.d.ts +0 -59
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +0 -51
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/client.d.ts +0 -71
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.cjs +0 -7
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.d.ts +0 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +0 -7
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +0 -126
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.d.ts +0 -80
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +0 -126
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +0 -11
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.d.ts +0 -74
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +0 -11
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +0 -76
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.d.ts +0 -12
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +0 -76
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -12
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -11
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error-from-json.d.ts +0 -10
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +0 -37
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +0 -37
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +0 -28
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.d.ts +0 -17
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +0 -28
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +0 -54
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.d.ts +0 -24
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +0 -54
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +0 -17
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.d.ts +0 -14
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +0 -17
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +0 -29
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.d.ts +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +0 -29
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +0 -32
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +0 -32
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.d.ts +0 -34
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +0 -24
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +0 -24
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +0 -58
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.d.ts +0 -32
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +0 -58
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.d.ts +0 -9
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +0 -60
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.d.ts +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +0 -60
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.d.ts +0 -18
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.d.ts +0 -38
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.d.ts +0 -47
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +0 -55
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +0 -55
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/types.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/locality.d.ts +0 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +0 -46
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +0 -46
- package/node_modules/@scaleway/sdk-client/package.json +0 -36
|
@@ -1,1476 +0,0 @@
|
|
|
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 { unmarshalArrayOfObject, unmarshalDate } from "../../../client/dist/helpers/marshalling.js";
|
|
5
|
-
const unmarshalIP = (data) => {
|
|
6
|
-
if (!isJSONObject(data)) {
|
|
7
|
-
throw new TypeError(
|
|
8
|
-
`Unmarshalling the type 'IP' failed as data isn't a dictionary.`
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
return {
|
|
12
|
-
address: data.address,
|
|
13
|
-
cidr: data.cidr,
|
|
14
|
-
gateway: data.gateway,
|
|
15
|
-
ipId: data.ip_id,
|
|
16
|
-
netmask: data.netmask,
|
|
17
|
-
reverse: data.reverse,
|
|
18
|
-
semantic: data.semantic,
|
|
19
|
-
status: data.status,
|
|
20
|
-
version: data.version
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
const unmarshalCPU = (data) => {
|
|
24
|
-
if (!isJSONObject(data)) {
|
|
25
|
-
throw new TypeError(
|
|
26
|
-
`Unmarshalling the type 'CPU' failed as data isn't a dictionary.`
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
coreCount: data.core_count,
|
|
31
|
-
frequency: data.frequency,
|
|
32
|
-
name: data.name,
|
|
33
|
-
threadCount: data.thread_count
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
const unmarshalDisk = (data) => {
|
|
37
|
-
if (!isJSONObject(data)) {
|
|
38
|
-
throw new TypeError(
|
|
39
|
-
`Unmarshalling the type 'Disk' failed as data isn't a dictionary.`
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
capacity: data.capacity,
|
|
44
|
-
type: data.type
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
const unmarshalMemory = (data) => {
|
|
48
|
-
if (!isJSONObject(data)) {
|
|
49
|
-
throw new TypeError(
|
|
50
|
-
`Unmarshalling the type 'Memory' failed as data isn't a dictionary.`
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
capacity: data.capacity,
|
|
55
|
-
frequency: data.frequency,
|
|
56
|
-
isEcc: data.is_ecc,
|
|
57
|
-
type: data.type
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
const unmarshalPersistentMemory = (data) => {
|
|
61
|
-
if (!isJSONObject(data)) {
|
|
62
|
-
throw new TypeError(
|
|
63
|
-
`Unmarshalling the type 'PersistentMemory' failed as data isn't a dictionary.`
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
capacity: data.capacity,
|
|
68
|
-
frequency: data.frequency,
|
|
69
|
-
model: data.model
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
const unmarshalRaidController = (data) => {
|
|
73
|
-
if (!isJSONObject(data)) {
|
|
74
|
-
throw new TypeError(
|
|
75
|
-
`Unmarshalling the type 'RaidController' failed as data isn't a dictionary.`
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
return {
|
|
79
|
-
model: data.model,
|
|
80
|
-
raidLevel: data.raid_level
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
const unmarshalOfferAntiDosInfo = (data) => {
|
|
84
|
-
if (!isJSONObject(data)) {
|
|
85
|
-
throw new TypeError(
|
|
86
|
-
`Unmarshalling the type 'OfferAntiDosInfo' failed as data isn't a dictionary.`
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
type: data.type
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
const unmarshalOfferBackupInfo = (data) => {
|
|
94
|
-
if (!isJSONObject(data)) {
|
|
95
|
-
throw new TypeError(
|
|
96
|
-
`Unmarshalling the type 'OfferBackupInfo' failed as data isn't a dictionary.`
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
return {
|
|
100
|
-
size: data.size
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
const unmarshalOfferBandwidthInfo = (data) => {
|
|
104
|
-
if (!isJSONObject(data)) {
|
|
105
|
-
throw new TypeError(
|
|
106
|
-
`Unmarshalling the type 'OfferBandwidthInfo' failed as data isn't a dictionary.`
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
return {
|
|
110
|
-
speed: data.speed
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
const unmarshalOfferFailoverBlockInfo = (data) => {
|
|
114
|
-
if (!isJSONObject(data)) {
|
|
115
|
-
throw new TypeError(
|
|
116
|
-
`Unmarshalling the type 'OfferFailoverBlockInfo' failed as data isn't a dictionary.`
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
return {
|
|
120
|
-
onetimeFees: data.onetime_fees ? unmarshalOffer(data.onetime_fees) : void 0
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
const unmarshalOfferFailoverIpInfo = (data) => {
|
|
124
|
-
if (!isJSONObject(data)) {
|
|
125
|
-
throw new TypeError(
|
|
126
|
-
`Unmarshalling the type 'OfferFailoverIpInfo' failed as data isn't a dictionary.`
|
|
127
|
-
);
|
|
128
|
-
}
|
|
129
|
-
return {
|
|
130
|
-
onetimeFees: data.onetime_fees ? unmarshalOffer(data.onetime_fees) : void 0
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
const unmarshalOfferLicenseInfo = (data) => {
|
|
134
|
-
if (!isJSONObject(data)) {
|
|
135
|
-
throw new TypeError(
|
|
136
|
-
`Unmarshalling the type 'OfferLicenseInfo' failed as data isn't a dictionary.`
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
return {
|
|
140
|
-
boundToIp: data.bound_to_ip
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
const unmarshalOfferRPNInfo = (data) => {
|
|
144
|
-
if (!isJSONObject(data)) {
|
|
145
|
-
throw new TypeError(
|
|
146
|
-
`Unmarshalling the type 'OfferRPNInfo' failed as data isn't a dictionary.`
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
return {
|
|
150
|
-
speed: data.speed
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
const unmarshalOfferSANInfo = (data) => {
|
|
154
|
-
if (!isJSONObject(data)) {
|
|
155
|
-
throw new TypeError(
|
|
156
|
-
`Unmarshalling the type 'OfferSANInfo' failed as data isn't a dictionary.`
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
return {
|
|
160
|
-
deviceType: data.device_type,
|
|
161
|
-
ha: data.ha,
|
|
162
|
-
size: data.size
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
const unmarshalOfferServerInfo = (data) => {
|
|
166
|
-
if (!isJSONObject(data)) {
|
|
167
|
-
throw new TypeError(
|
|
168
|
-
`Unmarshalling the type 'OfferServerInfo' failed as data isn't a dictionary.`
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
return {
|
|
172
|
-
availableOptions: unmarshalArrayOfObject(
|
|
173
|
-
data.available_options,
|
|
174
|
-
unmarshalOffer
|
|
175
|
-
),
|
|
176
|
-
bandwidth: data.bandwidth,
|
|
177
|
-
commercialRange: data.commercial_range,
|
|
178
|
-
connectivity: data.connectivity,
|
|
179
|
-
cpus: unmarshalArrayOfObject(data.cpus, unmarshalCPU),
|
|
180
|
-
disks: unmarshalArrayOfObject(data.disks, unmarshalDisk),
|
|
181
|
-
memories: unmarshalArrayOfObject(data.memories, unmarshalMemory),
|
|
182
|
-
onetimeFees: data.onetime_fees ? unmarshalOffer(data.onetime_fees) : void 0,
|
|
183
|
-
persistentMemories: unmarshalArrayOfObject(
|
|
184
|
-
data.persistent_memories,
|
|
185
|
-
unmarshalPersistentMemory
|
|
186
|
-
),
|
|
187
|
-
raidControllers: unmarshalArrayOfObject(
|
|
188
|
-
data.raid_controllers,
|
|
189
|
-
unmarshalRaidController
|
|
190
|
-
),
|
|
191
|
-
rpnVersion: data.rpn_version,
|
|
192
|
-
stock: data.stock,
|
|
193
|
-
stockByDatacenter: data.stock_by_datacenter
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
const unmarshalOfferServiceLevelInfo = (data) => {
|
|
197
|
-
if (!isJSONObject(data)) {
|
|
198
|
-
throw new TypeError(
|
|
199
|
-
`Unmarshalling the type 'OfferServiceLevelInfo' failed as data isn't a dictionary.`
|
|
200
|
-
);
|
|
201
|
-
}
|
|
202
|
-
return {
|
|
203
|
-
antidos: data.antidos,
|
|
204
|
-
availableOptions: unmarshalArrayOfObject(
|
|
205
|
-
data.available_options,
|
|
206
|
-
unmarshalOffer
|
|
207
|
-
),
|
|
208
|
-
customization: data.customization,
|
|
209
|
-
extraFailoverQuota: data.extra_failover_quota,
|
|
210
|
-
git: data.git,
|
|
211
|
-
highRpnBandwidth: data.high_rpn_bandwidth,
|
|
212
|
-
prioritySupport: data.priority_support,
|
|
213
|
-
salesSupport: data.sales_support,
|
|
214
|
-
sla: data.sla,
|
|
215
|
-
supportPhone: data.support_phone,
|
|
216
|
-
supportTicket: data.support_ticket
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
const unmarshalOfferStorageInfo = (data) => {
|
|
220
|
-
if (!isJSONObject(data)) {
|
|
221
|
-
throw new TypeError(
|
|
222
|
-
`Unmarshalling the type 'OfferStorageInfo' failed as data isn't a dictionary.`
|
|
223
|
-
);
|
|
224
|
-
}
|
|
225
|
-
return {
|
|
226
|
-
maxQuota: data.max_quota,
|
|
227
|
-
size: data.size
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
const unmarshalOffer = (data) => {
|
|
231
|
-
if (!isJSONObject(data)) {
|
|
232
|
-
throw new TypeError(
|
|
233
|
-
`Unmarshalling the type 'Offer' failed as data isn't a dictionary.`
|
|
234
|
-
);
|
|
235
|
-
}
|
|
236
|
-
return {
|
|
237
|
-
antidosInfo: data.antidos_info ? unmarshalOfferAntiDosInfo(data.antidos_info) : void 0,
|
|
238
|
-
backupInfo: data.backup_info ? unmarshalOfferBackupInfo(data.backup_info) : void 0,
|
|
239
|
-
bandwidthInfo: data.bandwidth_info ? unmarshalOfferBandwidthInfo(data.bandwidth_info) : void 0,
|
|
240
|
-
catalog: data.catalog,
|
|
241
|
-
failoverBlockInfo: data.failover_block_info ? unmarshalOfferFailoverBlockInfo(data.failover_block_info) : void 0,
|
|
242
|
-
failoverIpInfo: data.failover_ip_info ? unmarshalOfferFailoverIpInfo(data.failover_ip_info) : void 0,
|
|
243
|
-
id: data.id,
|
|
244
|
-
licenseInfo: data.license_info ? unmarshalOfferLicenseInfo(data.license_info) : void 0,
|
|
245
|
-
name: data.name,
|
|
246
|
-
paymentFrequency: data.payment_frequency,
|
|
247
|
-
pricing: data.pricing ? unmarshalMoney(data.pricing) : void 0,
|
|
248
|
-
rpnInfo: data.rpn_info ? unmarshalOfferRPNInfo(data.rpn_info) : void 0,
|
|
249
|
-
sanInfo: data.san_info ? unmarshalOfferSANInfo(data.san_info) : void 0,
|
|
250
|
-
serverInfo: data.server_info ? unmarshalOfferServerInfo(data.server_info) : void 0,
|
|
251
|
-
serviceLevelInfo: data.service_level_info ? unmarshalOfferServiceLevelInfo(data.service_level_info) : void 0,
|
|
252
|
-
storageInfo: data.storage_info ? unmarshalOfferStorageInfo(data.storage_info) : void 0,
|
|
253
|
-
usbStorageInfo: data.usb_storage_info ? unmarshalOfferStorageInfo(data.usb_storage_info) : void 0
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
const unmarshalOS = (data) => {
|
|
257
|
-
if (!isJSONObject(data)) {
|
|
258
|
-
throw new TypeError(
|
|
259
|
-
`Unmarshalling the type 'OS' failed as data isn't a dictionary.`
|
|
260
|
-
);
|
|
261
|
-
}
|
|
262
|
-
return {
|
|
263
|
-
allowCustomPartitioning: data.allow_custom_partitioning,
|
|
264
|
-
allowSshKeys: data.allow_ssh_keys,
|
|
265
|
-
allowedFilesystems: data.allowed_filesystems,
|
|
266
|
-
arch: data.arch,
|
|
267
|
-
displayName: data.display_name,
|
|
268
|
-
hostnameMaxLength: data.hostname_max_length,
|
|
269
|
-
hostnameRegex: data.hostname_regex,
|
|
270
|
-
id: data.id,
|
|
271
|
-
licenseOffers: unmarshalArrayOfObject(data.license_offers, unmarshalOffer),
|
|
272
|
-
maxPartitions: data.max_partitions,
|
|
273
|
-
name: data.name,
|
|
274
|
-
panelPasswordRegex: data.panel_password_regex,
|
|
275
|
-
passwordRegex: data.password_regex,
|
|
276
|
-
releasedAt: unmarshalDate(data.released_at),
|
|
277
|
-
requiresAdminPassword: data.requires_admin_password,
|
|
278
|
-
requiresLicense: data.requires_license,
|
|
279
|
-
requiresPanelPassword: data.requires_panel_password,
|
|
280
|
-
requiresUser: data.requires_user,
|
|
281
|
-
requiresValidHostname: data.requires_valid_hostname,
|
|
282
|
-
type: data.type,
|
|
283
|
-
version: data.version
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
const unmarshalRpnSan = (data) => {
|
|
287
|
-
if (!isJSONObject(data)) {
|
|
288
|
-
throw new TypeError(
|
|
289
|
-
`Unmarshalling the type 'RpnSan' failed as data isn't a dictionary.`
|
|
290
|
-
);
|
|
291
|
-
}
|
|
292
|
-
return {
|
|
293
|
-
createdAt: unmarshalDate(data.created_at),
|
|
294
|
-
datacenterName: data.datacenter_name,
|
|
295
|
-
deliveredAt: unmarshalDate(data.delivered_at),
|
|
296
|
-
expiresAt: unmarshalDate(data.expires_at),
|
|
297
|
-
id: data.id,
|
|
298
|
-
iqn: data.iqn,
|
|
299
|
-
iqnSuffix: data.iqn_suffix,
|
|
300
|
-
offer: data.offer ? unmarshalOffer(data.offer) : void 0,
|
|
301
|
-
offerId: data.offer_id,
|
|
302
|
-
offerName: data.offer_name,
|
|
303
|
-
organizationId: data.organization_id,
|
|
304
|
-
projectId: data.project_id,
|
|
305
|
-
rpnv1Compatible: data.rpnv1_compatible,
|
|
306
|
-
rpnv1Implicit: data.rpnv1_implicit,
|
|
307
|
-
serverHostname: data.server_hostname,
|
|
308
|
-
status: data.status,
|
|
309
|
-
storageSize: data.storage_size,
|
|
310
|
-
terminatedAt: unmarshalDate(data.terminated_at)
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
const unmarshalRpnGroup = (data) => {
|
|
314
|
-
if (!isJSONObject(data)) {
|
|
315
|
-
throw new TypeError(
|
|
316
|
-
`Unmarshalling the type 'RpnGroup' failed as data isn't a dictionary.`
|
|
317
|
-
);
|
|
318
|
-
}
|
|
319
|
-
return {
|
|
320
|
-
active: data.active,
|
|
321
|
-
createdAt: unmarshalDate(data.created_at),
|
|
322
|
-
id: data.id,
|
|
323
|
-
membersCount: data.members_count,
|
|
324
|
-
name: data.name,
|
|
325
|
-
organizationId: data.organization_id,
|
|
326
|
-
owner: data.owner,
|
|
327
|
-
projectId: data.project_id,
|
|
328
|
-
type: data.type
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
const unmarshalNetworkInterface = (data) => {
|
|
332
|
-
if (!isJSONObject(data)) {
|
|
333
|
-
throw new TypeError(
|
|
334
|
-
`Unmarshalling the type 'NetworkInterface' failed as data isn't a dictionary.`
|
|
335
|
-
);
|
|
336
|
-
}
|
|
337
|
-
return {
|
|
338
|
-
cardId: data.card_id,
|
|
339
|
-
deviceId: data.device_id,
|
|
340
|
-
ips: unmarshalArrayOfObject(data.ips, unmarshalIP),
|
|
341
|
-
mac: data.mac,
|
|
342
|
-
type: data.type
|
|
343
|
-
};
|
|
344
|
-
};
|
|
345
|
-
const unmarshalServerLocation = (data) => {
|
|
346
|
-
if (!isJSONObject(data)) {
|
|
347
|
-
throw new TypeError(
|
|
348
|
-
`Unmarshalling the type 'ServerLocation' failed as data isn't a dictionary.`
|
|
349
|
-
);
|
|
350
|
-
}
|
|
351
|
-
return {
|
|
352
|
-
datacenterName: data.datacenter_name,
|
|
353
|
-
rack: data.rack,
|
|
354
|
-
room: data.room
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
const unmarshalServerOption = (data) => {
|
|
358
|
-
if (!isJSONObject(data)) {
|
|
359
|
-
throw new TypeError(
|
|
360
|
-
`Unmarshalling the type 'ServerOption' failed as data isn't a dictionary.`
|
|
361
|
-
);
|
|
362
|
-
}
|
|
363
|
-
return {
|
|
364
|
-
createdAt: unmarshalDate(data.created_at),
|
|
365
|
-
expiredAt: unmarshalDate(data.expired_at),
|
|
366
|
-
offer: data.offer ? unmarshalOffer(data.offer) : void 0,
|
|
367
|
-
options: unmarshalArrayOfObject(data.options, unmarshalServerOption),
|
|
368
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
const unmarshalServiceLevel = (data) => {
|
|
372
|
-
if (!isJSONObject(data)) {
|
|
373
|
-
throw new TypeError(
|
|
374
|
-
`Unmarshalling the type 'ServiceLevel' failed as data isn't a dictionary.`
|
|
375
|
-
);
|
|
376
|
-
}
|
|
377
|
-
return {
|
|
378
|
-
level: data.level,
|
|
379
|
-
offerId: data.offer_id
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
const unmarshalServer = (data) => {
|
|
383
|
-
if (!isJSONObject(data)) {
|
|
384
|
-
throw new TypeError(
|
|
385
|
-
`Unmarshalling the type 'Server' failed as data isn't a dictionary.`
|
|
386
|
-
);
|
|
387
|
-
}
|
|
388
|
-
return {
|
|
389
|
-
abuseContact: data.abuse_contact,
|
|
390
|
-
createdAt: unmarshalDate(data.created_at),
|
|
391
|
-
expiredAt: unmarshalDate(data.expired_at),
|
|
392
|
-
hasBmc: data.has_bmc,
|
|
393
|
-
hostname: data.hostname,
|
|
394
|
-
id: data.id,
|
|
395
|
-
interfaces: unmarshalArrayOfObject(
|
|
396
|
-
data.interfaces,
|
|
397
|
-
unmarshalNetworkInterface
|
|
398
|
-
),
|
|
399
|
-
ipv6Slaac: data.ipv6_slaac,
|
|
400
|
-
isOutsourced: data.is_outsourced,
|
|
401
|
-
isRpnv2Member: data.is_rpnv2_member,
|
|
402
|
-
level: data.level ? unmarshalServiceLevel(data.level) : void 0,
|
|
403
|
-
location: data.location ? unmarshalServerLocation(data.location) : void 0,
|
|
404
|
-
offer: data.offer ? unmarshalOffer(data.offer) : void 0,
|
|
405
|
-
options: unmarshalArrayOfObject(data.options, unmarshalServerOption),
|
|
406
|
-
organizationId: data.organization_id,
|
|
407
|
-
os: data.os ? unmarshalOS(data.os) : void 0,
|
|
408
|
-
projectId: data.project_id,
|
|
409
|
-
qinq: data.qinq,
|
|
410
|
-
rebootedAt: unmarshalDate(data.rebooted_at),
|
|
411
|
-
rescueOs: data.rescue_os ? unmarshalOS(data.rescue_os) : void 0,
|
|
412
|
-
status: data.status,
|
|
413
|
-
tags: data.tags,
|
|
414
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
415
|
-
zone: data.zone
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
const unmarshalRpnV2GroupSubnet = (data) => {
|
|
419
|
-
if (!isJSONObject(data)) {
|
|
420
|
-
throw new TypeError(
|
|
421
|
-
`Unmarshalling the type 'RpnV2GroupSubnet' failed as data isn't a dictionary.`
|
|
422
|
-
);
|
|
423
|
-
}
|
|
424
|
-
return {
|
|
425
|
-
address: data.address,
|
|
426
|
-
cidr: data.cidr
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
const unmarshalRpnV2Group = (data) => {
|
|
430
|
-
if (!isJSONObject(data)) {
|
|
431
|
-
throw new TypeError(
|
|
432
|
-
`Unmarshalling the type 'RpnV2Group' failed as data isn't a dictionary.`
|
|
433
|
-
);
|
|
434
|
-
}
|
|
435
|
-
return {
|
|
436
|
-
compatibleRpnv1: data.compatible_rpnv1,
|
|
437
|
-
gateway: data.gateway,
|
|
438
|
-
id: data.id,
|
|
439
|
-
membersCount: data.members_count,
|
|
440
|
-
name: data.name,
|
|
441
|
-
organizationId: data.organization_id,
|
|
442
|
-
owner: data.owner,
|
|
443
|
-
projectId: data.project_id,
|
|
444
|
-
rpnv1Group: data.rpnv1_group ? unmarshalRpnGroup(data.rpnv1_group) : void 0,
|
|
445
|
-
status: data.status,
|
|
446
|
-
subnet: data.subnet ? unmarshalRpnV2GroupSubnet(data.subnet) : void 0,
|
|
447
|
-
type: data.type
|
|
448
|
-
};
|
|
449
|
-
};
|
|
450
|
-
const unmarshalService = (data) => {
|
|
451
|
-
if (!isJSONObject(data)) {
|
|
452
|
-
throw new TypeError(
|
|
453
|
-
`Unmarshalling the type 'Service' failed as data isn't a dictionary.`
|
|
454
|
-
);
|
|
455
|
-
}
|
|
456
|
-
return {
|
|
457
|
-
createdAt: unmarshalDate(data.created_at),
|
|
458
|
-
deliveredAt: unmarshalDate(data.delivered_at),
|
|
459
|
-
expiresAt: unmarshalDate(data.expires_at),
|
|
460
|
-
id: data.id,
|
|
461
|
-
offer: data.offer ? unmarshalOffer(data.offer) : void 0,
|
|
462
|
-
provisioningStatus: data.provisioning_status,
|
|
463
|
-
resourceId: data.resource_id,
|
|
464
|
-
terminatedAt: unmarshalDate(data.terminated_at),
|
|
465
|
-
type: data.type
|
|
466
|
-
};
|
|
467
|
-
};
|
|
468
|
-
const unmarshalFailoverBlock = (data) => {
|
|
469
|
-
if (!isJSONObject(data)) {
|
|
470
|
-
throw new TypeError(
|
|
471
|
-
`Unmarshalling the type 'FailoverBlock' failed as data isn't a dictionary.`
|
|
472
|
-
);
|
|
473
|
-
}
|
|
474
|
-
return {
|
|
475
|
-
address: data.address,
|
|
476
|
-
cidr: data.cidr,
|
|
477
|
-
gatewayIp: data.gateway_ip,
|
|
478
|
-
id: data.id,
|
|
479
|
-
ipVersion: data.ip_version,
|
|
480
|
-
nameservers: data.nameservers,
|
|
481
|
-
netmask: data.netmask
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
const unmarshalFailoverIP = (data) => {
|
|
485
|
-
if (!isJSONObject(data)) {
|
|
486
|
-
throw new TypeError(
|
|
487
|
-
`Unmarshalling the type 'FailoverIP' failed as data isn't a dictionary.`
|
|
488
|
-
);
|
|
489
|
-
}
|
|
490
|
-
return {
|
|
491
|
-
address: data.address,
|
|
492
|
-
block: data.block ? unmarshalFailoverBlock(data.block) : void 0,
|
|
493
|
-
cidr: data.cidr,
|
|
494
|
-
gatewayIp: data.gateway_ip,
|
|
495
|
-
id: data.id,
|
|
496
|
-
ipVersion: data.ip_version,
|
|
497
|
-
mac: data.mac,
|
|
498
|
-
netmask: data.netmask,
|
|
499
|
-
reverse: data.reverse,
|
|
500
|
-
serverId: data.server_id,
|
|
501
|
-
serverZone: data.server_zone,
|
|
502
|
-
status: data.status,
|
|
503
|
-
type: data.type
|
|
504
|
-
};
|
|
505
|
-
};
|
|
506
|
-
const unmarshalBMCAccess = (data) => {
|
|
507
|
-
if (!isJSONObject(data)) {
|
|
508
|
-
throw new TypeError(
|
|
509
|
-
`Unmarshalling the type 'BMCAccess' failed as data isn't a dictionary.`
|
|
510
|
-
);
|
|
511
|
-
}
|
|
512
|
-
return {
|
|
513
|
-
expiresAt: unmarshalDate(data.expires_at),
|
|
514
|
-
login: data.login,
|
|
515
|
-
password: data.password,
|
|
516
|
-
status: data.status,
|
|
517
|
-
url: data.url
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
|
-
const unmarshalBackup = (data) => {
|
|
521
|
-
if (!isJSONObject(data)) {
|
|
522
|
-
throw new TypeError(
|
|
523
|
-
`Unmarshalling the type 'Backup' failed as data isn't a dictionary.`
|
|
524
|
-
);
|
|
525
|
-
}
|
|
526
|
-
return {
|
|
527
|
-
aclEnabled: data.acl_enabled,
|
|
528
|
-
autologin: data.autologin,
|
|
529
|
-
id: data.id,
|
|
530
|
-
login: data.login,
|
|
531
|
-
quotaFiles: data.quota_files,
|
|
532
|
-
quotaFilesUsed: data.quota_files_used,
|
|
533
|
-
quotaSpace: data.quota_space,
|
|
534
|
-
quotaSpaceUsed: data.quota_space_used,
|
|
535
|
-
server: data.server,
|
|
536
|
-
status: data.status
|
|
537
|
-
};
|
|
538
|
-
};
|
|
539
|
-
const unmarshalCanOrderResponse = (data) => {
|
|
540
|
-
if (!isJSONObject(data)) {
|
|
541
|
-
throw new TypeError(
|
|
542
|
-
`Unmarshalling the type 'CanOrderResponse' failed as data isn't a dictionary.`
|
|
543
|
-
);
|
|
544
|
-
}
|
|
545
|
-
return {
|
|
546
|
-
billingOk: data.billing_ok,
|
|
547
|
-
canOrder: data.can_order,
|
|
548
|
-
emailConfirmed: data.email_confirmed,
|
|
549
|
-
message: data.message,
|
|
550
|
-
paymentMode: data.payment_mode,
|
|
551
|
-
phoneConfirmed: data.phone_confirmed,
|
|
552
|
-
quotaOk: data.quota_ok,
|
|
553
|
-
userConfirmed: data.user_confirmed
|
|
554
|
-
};
|
|
555
|
-
};
|
|
556
|
-
const unmarshalCreateFailoverIPsResponse = (data) => {
|
|
557
|
-
if (!isJSONObject(data)) {
|
|
558
|
-
throw new TypeError(
|
|
559
|
-
`Unmarshalling the type 'CreateFailoverIPsResponse' failed as data isn't a dictionary.`
|
|
560
|
-
);
|
|
561
|
-
}
|
|
562
|
-
return {
|
|
563
|
-
services: unmarshalArrayOfObject(data.services, unmarshalService),
|
|
564
|
-
totalCount: data.total_count
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
const unmarshalGetIPv6BlockQuotasResponseQuota = (data) => {
|
|
568
|
-
if (!isJSONObject(data)) {
|
|
569
|
-
throw new TypeError(
|
|
570
|
-
`Unmarshalling the type 'GetIPv6BlockQuotasResponseQuota' failed as data isn't a dictionary.`
|
|
571
|
-
);
|
|
572
|
-
}
|
|
573
|
-
return {
|
|
574
|
-
cidr: data.cidr,
|
|
575
|
-
quota: data.quota
|
|
576
|
-
};
|
|
577
|
-
};
|
|
578
|
-
const unmarshalGetIPv6BlockQuotasResponse = (data) => {
|
|
579
|
-
if (!isJSONObject(data)) {
|
|
580
|
-
throw new TypeError(
|
|
581
|
-
`Unmarshalling the type 'GetIPv6BlockQuotasResponse' failed as data isn't a dictionary.`
|
|
582
|
-
);
|
|
583
|
-
}
|
|
584
|
-
return {
|
|
585
|
-
quotas: unmarshalArrayOfObject(
|
|
586
|
-
data.quotas,
|
|
587
|
-
unmarshalGetIPv6BlockQuotasResponseQuota
|
|
588
|
-
),
|
|
589
|
-
totalCount: data.total_count
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
const unmarshalGetRemainingQuotaResponse = (data) => {
|
|
593
|
-
if (!isJSONObject(data)) {
|
|
594
|
-
throw new TypeError(
|
|
595
|
-
`Unmarshalling the type 'GetRemainingQuotaResponse' failed as data isn't a dictionary.`
|
|
596
|
-
);
|
|
597
|
-
}
|
|
598
|
-
return {
|
|
599
|
-
failoverBlockQuota: data.failover_block_quota,
|
|
600
|
-
failoverBlockRemainingQuota: data.failover_block_remaining_quota,
|
|
601
|
-
failoverIpQuota: data.failover_ip_quota,
|
|
602
|
-
failoverIpRemainingQuota: data.failover_ip_remaining_quota
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
const unmarshalGetRpnStatusResponse = (data) => {
|
|
606
|
-
if (!isJSONObject(data)) {
|
|
607
|
-
throw new TypeError(
|
|
608
|
-
`Unmarshalling the type 'GetRpnStatusResponse' failed as data isn't a dictionary.`
|
|
609
|
-
);
|
|
610
|
-
}
|
|
611
|
-
return {
|
|
612
|
-
operationsLeft: data.operations_left,
|
|
613
|
-
status: data.status
|
|
614
|
-
};
|
|
615
|
-
};
|
|
616
|
-
const unmarshalIPv6Block = (data) => {
|
|
617
|
-
if (!isJSONObject(data)) {
|
|
618
|
-
throw new TypeError(
|
|
619
|
-
`Unmarshalling the type 'IPv6Block' failed as data isn't a dictionary.`
|
|
620
|
-
);
|
|
621
|
-
}
|
|
622
|
-
return {
|
|
623
|
-
address: data.address,
|
|
624
|
-
cidr: data.cidr,
|
|
625
|
-
delegationStatus: data.delegation_status,
|
|
626
|
-
duid: data.duid,
|
|
627
|
-
id: data.id,
|
|
628
|
-
nameservers: data.nameservers,
|
|
629
|
-
subnets: unmarshalArrayOfObject(data.subnets, unmarshalIPv6Block)
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
const unmarshalInvoice = (data) => {
|
|
633
|
-
if (!isJSONObject(data)) {
|
|
634
|
-
throw new TypeError(
|
|
635
|
-
`Unmarshalling the type 'Invoice' failed as data isn't a dictionary.`
|
|
636
|
-
);
|
|
637
|
-
}
|
|
638
|
-
return {
|
|
639
|
-
content: data.content,
|
|
640
|
-
createdAt: unmarshalDate(data.created_at),
|
|
641
|
-
id: data.id,
|
|
642
|
-
paidAt: unmarshalDate(data.paid_at),
|
|
643
|
-
paymentMethod: data.payment_method,
|
|
644
|
-
status: data.status,
|
|
645
|
-
totalWithTaxes: data.total_with_taxes ? unmarshalMoney(data.total_with_taxes) : void 0,
|
|
646
|
-
totalWithoutTaxes: data.total_without_taxes ? unmarshalMoney(data.total_without_taxes) : void 0,
|
|
647
|
-
transactionId: data.transaction_id
|
|
648
|
-
};
|
|
649
|
-
};
|
|
650
|
-
const unmarshalListFailoverIPsResponse = (data) => {
|
|
651
|
-
if (!isJSONObject(data)) {
|
|
652
|
-
throw new TypeError(
|
|
653
|
-
`Unmarshalling the type 'ListFailoverIPsResponse' failed as data isn't a dictionary.`
|
|
654
|
-
);
|
|
655
|
-
}
|
|
656
|
-
return {
|
|
657
|
-
failoverIps: unmarshalArrayOfObject(data.failover_ips, unmarshalFailoverIP),
|
|
658
|
-
totalCount: data.total_count
|
|
659
|
-
};
|
|
660
|
-
};
|
|
661
|
-
const unmarshalListIPv6BlockSubnetsAvailableResponseSubnet = (data) => {
|
|
662
|
-
if (!isJSONObject(data)) {
|
|
663
|
-
throw new TypeError(
|
|
664
|
-
`Unmarshalling the type 'ListIPv6BlockSubnetsAvailableResponseSubnet' failed as data isn't a dictionary.`
|
|
665
|
-
);
|
|
666
|
-
}
|
|
667
|
-
return {
|
|
668
|
-
address: data.address,
|
|
669
|
-
cidr: data.cidr
|
|
670
|
-
};
|
|
671
|
-
};
|
|
672
|
-
const unmarshalListIPv6BlockSubnetsAvailableResponse = (data) => {
|
|
673
|
-
if (!isJSONObject(data)) {
|
|
674
|
-
throw new TypeError(
|
|
675
|
-
`Unmarshalling the type 'ListIPv6BlockSubnetsAvailableResponse' failed as data isn't a dictionary.`
|
|
676
|
-
);
|
|
677
|
-
}
|
|
678
|
-
return {
|
|
679
|
-
subnetAvailables: unmarshalArrayOfObject(
|
|
680
|
-
data.subnet_availables,
|
|
681
|
-
unmarshalListIPv6BlockSubnetsAvailableResponseSubnet
|
|
682
|
-
),
|
|
683
|
-
totalCount: data.total_count
|
|
684
|
-
};
|
|
685
|
-
};
|
|
686
|
-
const unmarshalInvoiceSummary = (data) => {
|
|
687
|
-
if (!isJSONObject(data)) {
|
|
688
|
-
throw new TypeError(
|
|
689
|
-
`Unmarshalling the type 'InvoiceSummary' failed as data isn't a dictionary.`
|
|
690
|
-
);
|
|
691
|
-
}
|
|
692
|
-
return {
|
|
693
|
-
createdAt: unmarshalDate(data.created_at),
|
|
694
|
-
id: data.id,
|
|
695
|
-
paidAt: unmarshalDate(data.paid_at),
|
|
696
|
-
paymentMethod: data.payment_method,
|
|
697
|
-
status: data.status,
|
|
698
|
-
totalWithTaxes: data.total_with_taxes ? unmarshalMoney(data.total_with_taxes) : void 0,
|
|
699
|
-
totalWithoutTaxes: data.total_without_taxes ? unmarshalMoney(data.total_without_taxes) : void 0,
|
|
700
|
-
transactionId: data.transaction_id
|
|
701
|
-
};
|
|
702
|
-
};
|
|
703
|
-
const unmarshalListInvoicesResponse = (data) => {
|
|
704
|
-
if (!isJSONObject(data)) {
|
|
705
|
-
throw new TypeError(
|
|
706
|
-
`Unmarshalling the type 'ListInvoicesResponse' failed as data isn't a dictionary.`
|
|
707
|
-
);
|
|
708
|
-
}
|
|
709
|
-
return {
|
|
710
|
-
invoices: unmarshalArrayOfObject(data.invoices, unmarshalInvoiceSummary),
|
|
711
|
-
totalCount: data.total_count
|
|
712
|
-
};
|
|
713
|
-
};
|
|
714
|
-
const unmarshalRpnSanIpRpnV2Group = (data) => {
|
|
715
|
-
if (!isJSONObject(data)) {
|
|
716
|
-
throw new TypeError(
|
|
717
|
-
`Unmarshalling the type 'RpnSanIpRpnV2Group' failed as data isn't a dictionary.`
|
|
718
|
-
);
|
|
719
|
-
}
|
|
720
|
-
return {
|
|
721
|
-
id: data.id,
|
|
722
|
-
name: data.name
|
|
723
|
-
};
|
|
724
|
-
};
|
|
725
|
-
const unmarshalRpnSanIpServer = (data) => {
|
|
726
|
-
if (!isJSONObject(data)) {
|
|
727
|
-
throw new TypeError(
|
|
728
|
-
`Unmarshalling the type 'RpnSanIpServer' failed as data isn't a dictionary.`
|
|
729
|
-
);
|
|
730
|
-
}
|
|
731
|
-
return {
|
|
732
|
-
datacenterName: data.datacenter_name,
|
|
733
|
-
hostname: data.hostname,
|
|
734
|
-
id: data.id
|
|
735
|
-
};
|
|
736
|
-
};
|
|
737
|
-
const unmarshalRpnSanIp = (data) => {
|
|
738
|
-
if (!isJSONObject(data)) {
|
|
739
|
-
throw new TypeError(
|
|
740
|
-
`Unmarshalling the type 'RpnSanIp' failed as data isn't a dictionary.`
|
|
741
|
-
);
|
|
742
|
-
}
|
|
743
|
-
return {
|
|
744
|
-
ip: data.ip ? unmarshalIP(data.ip) : void 0,
|
|
745
|
-
rpnv2Group: data.rpnv2_group ? unmarshalRpnSanIpRpnV2Group(data.rpnv2_group) : void 0,
|
|
746
|
-
server: data.server ? unmarshalRpnSanIpServer(data.server) : void 0,
|
|
747
|
-
type: data.type
|
|
748
|
-
};
|
|
749
|
-
};
|
|
750
|
-
const unmarshalListIpsResponse = (data) => {
|
|
751
|
-
if (!isJSONObject(data)) {
|
|
752
|
-
throw new TypeError(
|
|
753
|
-
`Unmarshalling the type 'ListIpsResponse' failed as data isn't a dictionary.`
|
|
754
|
-
);
|
|
755
|
-
}
|
|
756
|
-
return {
|
|
757
|
-
ips: unmarshalArrayOfObject(data.ips, unmarshalRpnSanIp),
|
|
758
|
-
totalCount: data.total_count
|
|
759
|
-
};
|
|
760
|
-
};
|
|
761
|
-
const unmarshalListOSResponse = (data) => {
|
|
762
|
-
if (!isJSONObject(data)) {
|
|
763
|
-
throw new TypeError(
|
|
764
|
-
`Unmarshalling the type 'ListOSResponse' failed as data isn't a dictionary.`
|
|
765
|
-
);
|
|
766
|
-
}
|
|
767
|
-
return {
|
|
768
|
-
os: unmarshalArrayOfObject(data.os, unmarshalOS),
|
|
769
|
-
totalCount: data.total_count
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
|
-
const unmarshalListOffersResponse = (data) => {
|
|
773
|
-
if (!isJSONObject(data)) {
|
|
774
|
-
throw new TypeError(
|
|
775
|
-
`Unmarshalling the type 'ListOffersResponse' failed as data isn't a dictionary.`
|
|
776
|
-
);
|
|
777
|
-
}
|
|
778
|
-
return {
|
|
779
|
-
offers: unmarshalArrayOfObject(data.offers, unmarshalOffer),
|
|
780
|
-
totalCount: data.total_count
|
|
781
|
-
};
|
|
782
|
-
};
|
|
783
|
-
const unmarshalRefundSummary = (data) => {
|
|
784
|
-
if (!isJSONObject(data)) {
|
|
785
|
-
throw new TypeError(
|
|
786
|
-
`Unmarshalling the type 'RefundSummary' failed as data isn't a dictionary.`
|
|
787
|
-
);
|
|
788
|
-
}
|
|
789
|
-
return {
|
|
790
|
-
createdAt: unmarshalDate(data.created_at),
|
|
791
|
-
id: data.id,
|
|
792
|
-
method: data.method,
|
|
793
|
-
refundedAt: unmarshalDate(data.refunded_at),
|
|
794
|
-
status: data.status,
|
|
795
|
-
totalWithTaxes: data.total_with_taxes ? unmarshalMoney(data.total_with_taxes) : void 0,
|
|
796
|
-
totalWithoutTaxes: data.total_without_taxes ? unmarshalMoney(data.total_without_taxes) : void 0
|
|
797
|
-
};
|
|
798
|
-
};
|
|
799
|
-
const unmarshalListRefundsResponse = (data) => {
|
|
800
|
-
if (!isJSONObject(data)) {
|
|
801
|
-
throw new TypeError(
|
|
802
|
-
`Unmarshalling the type 'ListRefundsResponse' failed as data isn't a dictionary.`
|
|
803
|
-
);
|
|
804
|
-
}
|
|
805
|
-
return {
|
|
806
|
-
refunds: unmarshalArrayOfObject(data.refunds, unmarshalRefundSummary),
|
|
807
|
-
totalCount: data.total_count
|
|
808
|
-
};
|
|
809
|
-
};
|
|
810
|
-
const unmarshalRpnSanServer = (data) => {
|
|
811
|
-
if (!isJSONObject(data)) {
|
|
812
|
-
throw new TypeError(
|
|
813
|
-
`Unmarshalling the type 'RpnSanServer' failed as data isn't a dictionary.`
|
|
814
|
-
);
|
|
815
|
-
}
|
|
816
|
-
return {
|
|
817
|
-
datacenterName: data.datacenter_name,
|
|
818
|
-
hostname: data.hostname,
|
|
819
|
-
id: data.id,
|
|
820
|
-
sans: unmarshalArrayOfObject(data.sans, unmarshalRpnSan),
|
|
821
|
-
zone: data.zone
|
|
822
|
-
};
|
|
823
|
-
};
|
|
824
|
-
const unmarshalListRpnCapableSanServersResponse = (data) => {
|
|
825
|
-
if (!isJSONObject(data)) {
|
|
826
|
-
throw new TypeError(
|
|
827
|
-
`Unmarshalling the type 'ListRpnCapableSanServersResponse' failed as data isn't a dictionary.`
|
|
828
|
-
);
|
|
829
|
-
}
|
|
830
|
-
return {
|
|
831
|
-
sanServers: unmarshalArrayOfObject(data.san_servers, unmarshalRpnSanServer),
|
|
832
|
-
totalCount: data.total_count
|
|
833
|
-
};
|
|
834
|
-
};
|
|
835
|
-
const unmarshalListRpnCapableServersResponse = (data) => {
|
|
836
|
-
if (!isJSONObject(data)) {
|
|
837
|
-
throw new TypeError(
|
|
838
|
-
`Unmarshalling the type 'ListRpnCapableServersResponse' failed as data isn't a dictionary.`
|
|
839
|
-
);
|
|
840
|
-
}
|
|
841
|
-
return {
|
|
842
|
-
servers: unmarshalArrayOfObject(data.servers, unmarshalServer),
|
|
843
|
-
totalCount: data.total_count
|
|
844
|
-
};
|
|
845
|
-
};
|
|
846
|
-
const unmarshalRpnGroupMember = (data) => {
|
|
847
|
-
if (!isJSONObject(data)) {
|
|
848
|
-
throw new TypeError(
|
|
849
|
-
`Unmarshalling the type 'RpnGroupMember' failed as data isn't a dictionary.`
|
|
850
|
-
);
|
|
851
|
-
}
|
|
852
|
-
return {
|
|
853
|
-
groupId: data.group_id,
|
|
854
|
-
groupName: data.group_name,
|
|
855
|
-
groupOwner: data.group_owner,
|
|
856
|
-
id: data.id,
|
|
857
|
-
owner: data.owner,
|
|
858
|
-
sanServer: data.san_server ? unmarshalRpnSanServer(data.san_server) : void 0,
|
|
859
|
-
server: data.server ? unmarshalServer(data.server) : void 0,
|
|
860
|
-
speed: data.speed,
|
|
861
|
-
status: data.status
|
|
862
|
-
};
|
|
863
|
-
};
|
|
864
|
-
const unmarshalListRpnGroupMembersResponse = (data) => {
|
|
865
|
-
if (!isJSONObject(data)) {
|
|
866
|
-
throw new TypeError(
|
|
867
|
-
`Unmarshalling the type 'ListRpnGroupMembersResponse' failed as data isn't a dictionary.`
|
|
868
|
-
);
|
|
869
|
-
}
|
|
870
|
-
return {
|
|
871
|
-
members: unmarshalArrayOfObject(data.members, unmarshalRpnGroupMember),
|
|
872
|
-
totalCount: data.total_count
|
|
873
|
-
};
|
|
874
|
-
};
|
|
875
|
-
const unmarshalListRpnGroupsResponse = (data) => {
|
|
876
|
-
if (!isJSONObject(data)) {
|
|
877
|
-
throw new TypeError(
|
|
878
|
-
`Unmarshalling the type 'ListRpnGroupsResponse' failed as data isn't a dictionary.`
|
|
879
|
-
);
|
|
880
|
-
}
|
|
881
|
-
return {
|
|
882
|
-
rpnGroups: unmarshalArrayOfObject(data.rpn_groups, unmarshalRpnGroup),
|
|
883
|
-
totalCount: data.total_count
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
const unmarshalListRpnInvitesResponse = (data) => {
|
|
887
|
-
if (!isJSONObject(data)) {
|
|
888
|
-
throw new TypeError(
|
|
889
|
-
`Unmarshalling the type 'ListRpnInvitesResponse' failed as data isn't a dictionary.`
|
|
890
|
-
);
|
|
891
|
-
}
|
|
892
|
-
return {
|
|
893
|
-
members: unmarshalArrayOfObject(data.members, unmarshalRpnGroupMember),
|
|
894
|
-
totalCount: data.total_count
|
|
895
|
-
};
|
|
896
|
-
};
|
|
897
|
-
const unmarshalRpnSanSummary = (data) => {
|
|
898
|
-
if (!isJSONObject(data)) {
|
|
899
|
-
throw new TypeError(
|
|
900
|
-
`Unmarshalling the type 'RpnSanSummary' failed as data isn't a dictionary.`
|
|
901
|
-
);
|
|
902
|
-
}
|
|
903
|
-
return {
|
|
904
|
-
createdAt: unmarshalDate(data.created_at),
|
|
905
|
-
datacenterName: data.datacenter_name,
|
|
906
|
-
deliveredAt: unmarshalDate(data.delivered_at),
|
|
907
|
-
expiresAt: unmarshalDate(data.expires_at),
|
|
908
|
-
id: data.id,
|
|
909
|
-
iqnSuffix: data.iqn_suffix,
|
|
910
|
-
offerId: data.offer_id,
|
|
911
|
-
offerName: data.offer_name,
|
|
912
|
-
organizationId: data.organization_id,
|
|
913
|
-
projectId: data.project_id,
|
|
914
|
-
rpnv1Compatible: data.rpnv1_compatible,
|
|
915
|
-
rpnv1Implicit: data.rpnv1_implicit,
|
|
916
|
-
serverHostname: data.server_hostname,
|
|
917
|
-
status: data.status,
|
|
918
|
-
storageSize: data.storage_size,
|
|
919
|
-
terminatedAt: unmarshalDate(data.terminated_at)
|
|
920
|
-
};
|
|
921
|
-
};
|
|
922
|
-
const unmarshalListRpnSansResponse = (data) => {
|
|
923
|
-
if (!isJSONObject(data)) {
|
|
924
|
-
throw new TypeError(
|
|
925
|
-
`Unmarshalling the type 'ListRpnSansResponse' failed as data isn't a dictionary.`
|
|
926
|
-
);
|
|
927
|
-
}
|
|
928
|
-
return {
|
|
929
|
-
rpnSans: unmarshalArrayOfObject(data.rpn_sans, unmarshalRpnSanSummary),
|
|
930
|
-
totalCount: data.total_count
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
const unmarshalRpnServerCapability = (data) => {
|
|
934
|
-
if (!isJSONObject(data)) {
|
|
935
|
-
throw new TypeError(
|
|
936
|
-
`Unmarshalling the type 'RpnServerCapability' failed as data isn't a dictionary.`
|
|
937
|
-
);
|
|
938
|
-
}
|
|
939
|
-
return {
|
|
940
|
-
canJoinQinqGroup: data.can_join_qinq_group,
|
|
941
|
-
canJoinRpnv2Group: data.can_join_rpnv2_group,
|
|
942
|
-
compatibleQinq: data.compatible_qinq,
|
|
943
|
-
datacenterName: data.datacenter_name,
|
|
944
|
-
hostname: data.hostname,
|
|
945
|
-
id: data.id,
|
|
946
|
-
ipAddress: data.ip_address,
|
|
947
|
-
rpnVersion: data.rpn_version,
|
|
948
|
-
rpnv1GroupCount: data.rpnv1_group_count,
|
|
949
|
-
rpnv2GroupCount: data.rpnv2_group_count,
|
|
950
|
-
zone: data.zone
|
|
951
|
-
};
|
|
952
|
-
};
|
|
953
|
-
const unmarshalListRpnServerCapabilitiesResponse = (data) => {
|
|
954
|
-
if (!isJSONObject(data)) {
|
|
955
|
-
throw new TypeError(
|
|
956
|
-
`Unmarshalling the type 'ListRpnServerCapabilitiesResponse' failed as data isn't a dictionary.`
|
|
957
|
-
);
|
|
958
|
-
}
|
|
959
|
-
return {
|
|
960
|
-
servers: unmarshalArrayOfObject(data.servers, unmarshalRpnServerCapability),
|
|
961
|
-
totalCount: data.total_count
|
|
962
|
-
};
|
|
963
|
-
};
|
|
964
|
-
const unmarshalListRpnV2CapableResourcesResponse = (data) => {
|
|
965
|
-
if (!isJSONObject(data)) {
|
|
966
|
-
throw new TypeError(
|
|
967
|
-
`Unmarshalling the type 'ListRpnV2CapableResourcesResponse' failed as data isn't a dictionary.`
|
|
968
|
-
);
|
|
969
|
-
}
|
|
970
|
-
return {
|
|
971
|
-
servers: unmarshalArrayOfObject(data.servers, unmarshalServer),
|
|
972
|
-
totalCount: data.total_count
|
|
973
|
-
};
|
|
974
|
-
};
|
|
975
|
-
const unmarshalRpnV2Member = (data) => {
|
|
976
|
-
if (!isJSONObject(data)) {
|
|
977
|
-
throw new TypeError(
|
|
978
|
-
`Unmarshalling the type 'RpnV2Member' failed as data isn't a dictionary.`
|
|
979
|
-
);
|
|
980
|
-
}
|
|
981
|
-
return {
|
|
982
|
-
id: data.id,
|
|
983
|
-
rpnv1Group: data.rpnv1_group ? unmarshalRpnGroup(data.rpnv1_group) : void 0,
|
|
984
|
-
server: data.server ? unmarshalServer(data.server) : void 0,
|
|
985
|
-
speed: data.speed,
|
|
986
|
-
status: data.status,
|
|
987
|
-
vlan: data.vlan
|
|
988
|
-
};
|
|
989
|
-
};
|
|
990
|
-
const unmarshalLog = (data) => {
|
|
991
|
-
if (!isJSONObject(data)) {
|
|
992
|
-
throw new TypeError(
|
|
993
|
-
`Unmarshalling the type 'Log' failed as data isn't a dictionary.`
|
|
994
|
-
);
|
|
995
|
-
}
|
|
996
|
-
return {
|
|
997
|
-
action: data.action,
|
|
998
|
-
createdAt: unmarshalDate(data.created_at),
|
|
999
|
-
finishedAt: unmarshalDate(data.finished_at),
|
|
1000
|
-
group: data.group ? unmarshalRpnV2Group(data.group) : void 0,
|
|
1001
|
-
id: data.id,
|
|
1002
|
-
member: data.member ? unmarshalRpnV2Member(data.member) : void 0,
|
|
1003
|
-
status: data.status
|
|
1004
|
-
};
|
|
1005
|
-
};
|
|
1006
|
-
const unmarshalListRpnV2GroupLogsResponse = (data) => {
|
|
1007
|
-
if (!isJSONObject(data)) {
|
|
1008
|
-
throw new TypeError(
|
|
1009
|
-
`Unmarshalling the type 'ListRpnV2GroupLogsResponse' failed as data isn't a dictionary.`
|
|
1010
|
-
);
|
|
1011
|
-
}
|
|
1012
|
-
return {
|
|
1013
|
-
logs: unmarshalArrayOfObject(data.logs, unmarshalLog),
|
|
1014
|
-
totalCount: data.total_count
|
|
1015
|
-
};
|
|
1016
|
-
};
|
|
1017
|
-
const unmarshalListRpnV2GroupsResponse = (data) => {
|
|
1018
|
-
if (!isJSONObject(data)) {
|
|
1019
|
-
throw new TypeError(
|
|
1020
|
-
`Unmarshalling the type 'ListRpnV2GroupsResponse' failed as data isn't a dictionary.`
|
|
1021
|
-
);
|
|
1022
|
-
}
|
|
1023
|
-
return {
|
|
1024
|
-
rpnGroups: unmarshalArrayOfObject(data.rpn_groups, unmarshalRpnV2Group),
|
|
1025
|
-
totalCount: data.total_count
|
|
1026
|
-
};
|
|
1027
|
-
};
|
|
1028
|
-
const unmarshalListRpnV2MembersResponse = (data) => {
|
|
1029
|
-
if (!isJSONObject(data)) {
|
|
1030
|
-
throw new TypeError(
|
|
1031
|
-
`Unmarshalling the type 'ListRpnV2MembersResponse' failed as data isn't a dictionary.`
|
|
1032
|
-
);
|
|
1033
|
-
}
|
|
1034
|
-
return {
|
|
1035
|
-
members: unmarshalArrayOfObject(data.members, unmarshalRpnV2Member),
|
|
1036
|
-
totalCount: data.total_count
|
|
1037
|
-
};
|
|
1038
|
-
};
|
|
1039
|
-
const unmarshalServerDisk = (data) => {
|
|
1040
|
-
if (!isJSONObject(data)) {
|
|
1041
|
-
throw new TypeError(
|
|
1042
|
-
`Unmarshalling the type 'ServerDisk' failed as data isn't a dictionary.`
|
|
1043
|
-
);
|
|
1044
|
-
}
|
|
1045
|
-
return {
|
|
1046
|
-
capacity: data.capacity,
|
|
1047
|
-
connector: data.connector,
|
|
1048
|
-
id: data.id,
|
|
1049
|
-
isAddon: data.is_addon,
|
|
1050
|
-
type: data.type
|
|
1051
|
-
};
|
|
1052
|
-
};
|
|
1053
|
-
const unmarshalListServerDisksResponse = (data) => {
|
|
1054
|
-
if (!isJSONObject(data)) {
|
|
1055
|
-
throw new TypeError(
|
|
1056
|
-
`Unmarshalling the type 'ListServerDisksResponse' failed as data isn't a dictionary.`
|
|
1057
|
-
);
|
|
1058
|
-
}
|
|
1059
|
-
return {
|
|
1060
|
-
disks: unmarshalArrayOfObject(data.disks, unmarshalServerDisk),
|
|
1061
|
-
totalCount: data.total_count
|
|
1062
|
-
};
|
|
1063
|
-
};
|
|
1064
|
-
const unmarshalServerEvent = (data) => {
|
|
1065
|
-
if (!isJSONObject(data)) {
|
|
1066
|
-
throw new TypeError(
|
|
1067
|
-
`Unmarshalling the type 'ServerEvent' failed as data isn't a dictionary.`
|
|
1068
|
-
);
|
|
1069
|
-
}
|
|
1070
|
-
return {
|
|
1071
|
-
date: unmarshalDate(data.date),
|
|
1072
|
-
description: data.description,
|
|
1073
|
-
eventId: data.event_id
|
|
1074
|
-
};
|
|
1075
|
-
};
|
|
1076
|
-
const unmarshalListServerEventsResponse = (data) => {
|
|
1077
|
-
if (!isJSONObject(data)) {
|
|
1078
|
-
throw new TypeError(
|
|
1079
|
-
`Unmarshalling the type 'ListServerEventsResponse' failed as data isn't a dictionary.`
|
|
1080
|
-
);
|
|
1081
|
-
}
|
|
1082
|
-
return {
|
|
1083
|
-
events: unmarshalArrayOfObject(data.events, unmarshalServerEvent),
|
|
1084
|
-
totalCount: data.total_count
|
|
1085
|
-
};
|
|
1086
|
-
};
|
|
1087
|
-
const unmarshalServerSummary = (data) => {
|
|
1088
|
-
if (!isJSONObject(data)) {
|
|
1089
|
-
throw new TypeError(
|
|
1090
|
-
`Unmarshalling the type 'ServerSummary' failed as data isn't a dictionary.`
|
|
1091
|
-
);
|
|
1092
|
-
}
|
|
1093
|
-
return {
|
|
1094
|
-
createdAt: unmarshalDate(data.created_at),
|
|
1095
|
-
datacenterName: data.datacenter_name,
|
|
1096
|
-
expiredAt: unmarshalDate(data.expired_at),
|
|
1097
|
-
hostname: data.hostname,
|
|
1098
|
-
id: data.id,
|
|
1099
|
-
interfaces: unmarshalArrayOfObject(
|
|
1100
|
-
data.interfaces,
|
|
1101
|
-
unmarshalNetworkInterface
|
|
1102
|
-
),
|
|
1103
|
-
isOutsourced: data.is_outsourced,
|
|
1104
|
-
level: data.level ? unmarshalServiceLevel(data.level) : void 0,
|
|
1105
|
-
offerId: data.offer_id,
|
|
1106
|
-
offerName: data.offer_name,
|
|
1107
|
-
organizationId: data.organization_id,
|
|
1108
|
-
osId: data.os_id,
|
|
1109
|
-
projectId: data.project_id,
|
|
1110
|
-
qinq: data.qinq,
|
|
1111
|
-
rpnVersion: data.rpn_version,
|
|
1112
|
-
status: data.status,
|
|
1113
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
1114
|
-
zone: data.zone
|
|
1115
|
-
};
|
|
1116
|
-
};
|
|
1117
|
-
const unmarshalListServersResponse = (data) => {
|
|
1118
|
-
if (!isJSONObject(data)) {
|
|
1119
|
-
throw new TypeError(
|
|
1120
|
-
`Unmarshalling the type 'ListServersResponse' failed as data isn't a dictionary.`
|
|
1121
|
-
);
|
|
1122
|
-
}
|
|
1123
|
-
return {
|
|
1124
|
-
servers: unmarshalArrayOfObject(data.servers, unmarshalServerSummary),
|
|
1125
|
-
totalCount: data.total_count
|
|
1126
|
-
};
|
|
1127
|
-
};
|
|
1128
|
-
const unmarshalListServicesResponse = (data) => {
|
|
1129
|
-
if (!isJSONObject(data)) {
|
|
1130
|
-
throw new TypeError(
|
|
1131
|
-
`Unmarshalling the type 'ListServicesResponse' failed as data isn't a dictionary.`
|
|
1132
|
-
);
|
|
1133
|
-
}
|
|
1134
|
-
return {
|
|
1135
|
-
services: unmarshalArrayOfObject(data.services, unmarshalService),
|
|
1136
|
-
totalCount: data.total_count
|
|
1137
|
-
};
|
|
1138
|
-
};
|
|
1139
|
-
const unmarshalListSubscribableServerOptionsResponse = (data) => {
|
|
1140
|
-
if (!isJSONObject(data)) {
|
|
1141
|
-
throw new TypeError(
|
|
1142
|
-
`Unmarshalling the type 'ListSubscribableServerOptionsResponse' failed as data isn't a dictionary.`
|
|
1143
|
-
);
|
|
1144
|
-
}
|
|
1145
|
-
return {
|
|
1146
|
-
serverOptions: unmarshalArrayOfObject(data.server_options, unmarshalOffer),
|
|
1147
|
-
totalCount: data.total_count
|
|
1148
|
-
};
|
|
1149
|
-
};
|
|
1150
|
-
const unmarshalRaidArray = (data) => {
|
|
1151
|
-
if (!isJSONObject(data)) {
|
|
1152
|
-
throw new TypeError(
|
|
1153
|
-
`Unmarshalling the type 'RaidArray' failed as data isn't a dictionary.`
|
|
1154
|
-
);
|
|
1155
|
-
}
|
|
1156
|
-
return {
|
|
1157
|
-
disks: unmarshalArrayOfObject(data.disks, unmarshalServerDisk),
|
|
1158
|
-
raidLevel: data.raid_level
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
const unmarshalRaid = (data) => {
|
|
1162
|
-
if (!isJSONObject(data)) {
|
|
1163
|
-
throw new TypeError(
|
|
1164
|
-
`Unmarshalling the type 'Raid' failed as data isn't a dictionary.`
|
|
1165
|
-
);
|
|
1166
|
-
}
|
|
1167
|
-
return {
|
|
1168
|
-
raidArrays: unmarshalArrayOfObject(data.raid_arrays, unmarshalRaidArray)
|
|
1169
|
-
};
|
|
1170
|
-
};
|
|
1171
|
-
const unmarshalRefund = (data) => {
|
|
1172
|
-
if (!isJSONObject(data)) {
|
|
1173
|
-
throw new TypeError(
|
|
1174
|
-
`Unmarshalling the type 'Refund' failed as data isn't a dictionary.`
|
|
1175
|
-
);
|
|
1176
|
-
}
|
|
1177
|
-
return {
|
|
1178
|
-
content: data.content,
|
|
1179
|
-
createdAt: unmarshalDate(data.created_at),
|
|
1180
|
-
id: data.id,
|
|
1181
|
-
method: data.method,
|
|
1182
|
-
refundedAt: unmarshalDate(data.refunded_at),
|
|
1183
|
-
status: data.status,
|
|
1184
|
-
totalWithTaxes: data.total_with_taxes ? unmarshalMoney(data.total_with_taxes) : void 0,
|
|
1185
|
-
totalWithoutTaxes: data.total_without_taxes ? unmarshalMoney(data.total_without_taxes) : void 0
|
|
1186
|
-
};
|
|
1187
|
-
};
|
|
1188
|
-
const unmarshalRescue = (data) => {
|
|
1189
|
-
if (!isJSONObject(data)) {
|
|
1190
|
-
throw new TypeError(
|
|
1191
|
-
`Unmarshalling the type 'Rescue' failed as data isn't a dictionary.`
|
|
1192
|
-
);
|
|
1193
|
-
}
|
|
1194
|
-
return {
|
|
1195
|
-
login: data.login,
|
|
1196
|
-
osId: data.os_id,
|
|
1197
|
-
password: data.password,
|
|
1198
|
-
protocol: data.protocol
|
|
1199
|
-
};
|
|
1200
|
-
};
|
|
1201
|
-
const unmarshalPartition = (data) => {
|
|
1202
|
-
if (!isJSONObject(data)) {
|
|
1203
|
-
throw new TypeError(
|
|
1204
|
-
`Unmarshalling the type 'Partition' failed as data isn't a dictionary.`
|
|
1205
|
-
);
|
|
1206
|
-
}
|
|
1207
|
-
return {
|
|
1208
|
-
capacity: data.capacity,
|
|
1209
|
-
connectors: data.connectors,
|
|
1210
|
-
fileSystem: data.file_system,
|
|
1211
|
-
mountPoint: data.mount_point,
|
|
1212
|
-
raidLevel: data.raid_level,
|
|
1213
|
-
type: data.type
|
|
1214
|
-
};
|
|
1215
|
-
};
|
|
1216
|
-
const unmarshalServerDefaultPartitioning = (data) => {
|
|
1217
|
-
if (!isJSONObject(data)) {
|
|
1218
|
-
throw new TypeError(
|
|
1219
|
-
`Unmarshalling the type 'ServerDefaultPartitioning' failed as data isn't a dictionary.`
|
|
1220
|
-
);
|
|
1221
|
-
}
|
|
1222
|
-
return {
|
|
1223
|
-
partitions: unmarshalArrayOfObject(data.partitions, unmarshalPartition)
|
|
1224
|
-
};
|
|
1225
|
-
};
|
|
1226
|
-
const unmarshalServerInstall = (data) => {
|
|
1227
|
-
if (!isJSONObject(data)) {
|
|
1228
|
-
throw new TypeError(
|
|
1229
|
-
`Unmarshalling the type 'ServerInstall' failed as data isn't a dictionary.`
|
|
1230
|
-
);
|
|
1231
|
-
}
|
|
1232
|
-
return {
|
|
1233
|
-
hostname: data.hostname,
|
|
1234
|
-
osId: data.os_id,
|
|
1235
|
-
panelUrl: data.panel_url,
|
|
1236
|
-
partitions: unmarshalArrayOfObject(data.partitions, unmarshalPartition),
|
|
1237
|
-
sshKeyIds: data.ssh_key_ids,
|
|
1238
|
-
status: data.status,
|
|
1239
|
-
userLogin: data.user_login
|
|
1240
|
-
};
|
|
1241
|
-
};
|
|
1242
|
-
const unmarshalSubscribeStorageOptionsResponse = (data) => {
|
|
1243
|
-
if (!isJSONObject(data)) {
|
|
1244
|
-
throw new TypeError(
|
|
1245
|
-
`Unmarshalling the type 'SubscribeStorageOptionsResponse' failed as data isn't a dictionary.`
|
|
1246
|
-
);
|
|
1247
|
-
}
|
|
1248
|
-
return {
|
|
1249
|
-
services: unmarshalArrayOfObject(data.services, unmarshalService)
|
|
1250
|
-
};
|
|
1251
|
-
};
|
|
1252
|
-
const marshalAttachFailoverIPToMacAddressRequest = (request, defaults) => ({
|
|
1253
|
-
mac: request.mac,
|
|
1254
|
-
type: request.type
|
|
1255
|
-
});
|
|
1256
|
-
const marshalAttachFailoverIPsRequest = (request, defaults) => ({
|
|
1257
|
-
fips_ids: request.fipsIds,
|
|
1258
|
-
server_id: request.serverId
|
|
1259
|
-
});
|
|
1260
|
-
const marshalCreateFailoverIPsRequest = (request, defaults) => ({
|
|
1261
|
-
offer_id: request.offerId,
|
|
1262
|
-
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
1263
|
-
quantity: request.quantity
|
|
1264
|
-
});
|
|
1265
|
-
const marshalCreateServerRequest = (request, defaults) => ({
|
|
1266
|
-
datacenter_name: request.datacenterName,
|
|
1267
|
-
offer_id: request.offerId,
|
|
1268
|
-
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
1269
|
-
server_option_ids: request.serverOptionIds
|
|
1270
|
-
});
|
|
1271
|
-
const marshalDetachFailoverIPsRequest = (request, defaults) => ({
|
|
1272
|
-
fips_ids: request.fipsIds
|
|
1273
|
-
});
|
|
1274
|
-
const marshalIPv6BlockApiCreateIPv6BlockRequest = (request, defaults) => ({
|
|
1275
|
-
project_id: request.projectId ?? defaults.defaultProjectId
|
|
1276
|
-
});
|
|
1277
|
-
const marshalIPv6BlockApiCreateIPv6BlockSubnetRequest = (request, defaults) => ({
|
|
1278
|
-
address: request.address,
|
|
1279
|
-
cidr: request.cidr
|
|
1280
|
-
});
|
|
1281
|
-
const marshalIPv6BlockApiUpdateIPv6BlockRequest = (request, defaults) => ({
|
|
1282
|
-
nameservers: request.nameservers
|
|
1283
|
-
});
|
|
1284
|
-
const marshalInstallPartition = (request, defaults) => ({
|
|
1285
|
-
capacity: request.capacity,
|
|
1286
|
-
connectors: request.connectors,
|
|
1287
|
-
file_system: request.fileSystem,
|
|
1288
|
-
mount_point: request.mountPoint,
|
|
1289
|
-
raid_level: request.raidLevel
|
|
1290
|
-
});
|
|
1291
|
-
const marshalInstallServerRequest = (request, defaults) => ({
|
|
1292
|
-
hostname: request.hostname,
|
|
1293
|
-
ip_id: request.ipId,
|
|
1294
|
-
license_offer_id: request.licenseOfferId,
|
|
1295
|
-
os_id: request.osId,
|
|
1296
|
-
panel_password: request.panelPassword,
|
|
1297
|
-
partitions: request.partitions !== void 0 ? request.partitions.map((elt) => marshalInstallPartition(elt)) : void 0,
|
|
1298
|
-
root_password: request.rootPassword,
|
|
1299
|
-
ssh_key_ids: request.sshKeyIds,
|
|
1300
|
-
user_login: request.userLogin,
|
|
1301
|
-
user_password: request.userPassword
|
|
1302
|
-
});
|
|
1303
|
-
const marshalRpnSanApiAddIpRequest = (request, defaults) => ({
|
|
1304
|
-
ip_ids: request.ipIds
|
|
1305
|
-
});
|
|
1306
|
-
const marshalRpnSanApiCreateRpnSanRequest = (request, defaults) => ({
|
|
1307
|
-
offer_id: request.offerId,
|
|
1308
|
-
project_id: request.projectId ?? defaults.defaultProjectId
|
|
1309
|
-
});
|
|
1310
|
-
const marshalRpnSanApiRemoveIpRequest = (request, defaults) => ({
|
|
1311
|
-
ip_ids: request.ipIds
|
|
1312
|
-
});
|
|
1313
|
-
const marshalRpnV1ApiAddRpnGroupMembersRequest = (request, defaults) => ({
|
|
1314
|
-
san_server_ids: request.sanServerIds,
|
|
1315
|
-
server_ids: request.serverIds
|
|
1316
|
-
});
|
|
1317
|
-
const marshalRpnV1ApiCreateRpnGroupRequest = (request, defaults) => ({
|
|
1318
|
-
name: request.name,
|
|
1319
|
-
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
1320
|
-
san_server_ids: request.sanServerIds,
|
|
1321
|
-
server_ids: request.serverIds
|
|
1322
|
-
});
|
|
1323
|
-
const marshalRpnV1ApiDeleteRpnGroupMembersRequest = (request, defaults) => ({
|
|
1324
|
-
member_ids: request.memberIds
|
|
1325
|
-
});
|
|
1326
|
-
const marshalRpnV1ApiLeaveRpnGroupRequest = (request, defaults) => ({
|
|
1327
|
-
member_ids: request.memberIds,
|
|
1328
|
-
project_id: request.projectId ?? defaults.defaultProjectId
|
|
1329
|
-
});
|
|
1330
|
-
const marshalRpnV1ApiRpnGroupInviteRequest = (request, defaults) => ({
|
|
1331
|
-
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
1332
|
-
server_ids: request.serverIds
|
|
1333
|
-
});
|
|
1334
|
-
const marshalRpnV1ApiUpdateRpnGroupNameRequest = (request, defaults) => ({
|
|
1335
|
-
name: request.name
|
|
1336
|
-
});
|
|
1337
|
-
const marshalRpnV2ApiAddRpnV2MembersRequest = (request, defaults) => ({
|
|
1338
|
-
servers: request.servers
|
|
1339
|
-
});
|
|
1340
|
-
const marshalRpnV2ApiCreateRpnV2GroupRequest = (request, defaults) => ({
|
|
1341
|
-
name: request.name,
|
|
1342
|
-
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
1343
|
-
servers: request.servers,
|
|
1344
|
-
type: request.type
|
|
1345
|
-
});
|
|
1346
|
-
const marshalRpnV2ApiDeleteRpnV2MembersRequest = (request, defaults) => ({
|
|
1347
|
-
member_ids: request.memberIds
|
|
1348
|
-
});
|
|
1349
|
-
const marshalRpnV2ApiEnableRpnV2GroupCompatibilityRequest = (request, defaults) => ({
|
|
1350
|
-
rpnv1_group_id: request.rpnv1GroupId
|
|
1351
|
-
});
|
|
1352
|
-
const marshalRpnV2ApiUpdateRpnV2GroupNameRequest = (request, defaults) => ({
|
|
1353
|
-
name: request.name
|
|
1354
|
-
});
|
|
1355
|
-
const marshalRpnV2ApiUpdateRpnV2VlanForMembersRequest = (request, defaults) => ({
|
|
1356
|
-
member_ids: request.memberIds,
|
|
1357
|
-
vlan: request.vlan
|
|
1358
|
-
});
|
|
1359
|
-
const marshalStartBMCAccessRequest = (request, defaults) => ({
|
|
1360
|
-
ip: request.ip
|
|
1361
|
-
});
|
|
1362
|
-
const marshalStartRescueRequest = (request, defaults) => ({
|
|
1363
|
-
os_id: request.osId
|
|
1364
|
-
});
|
|
1365
|
-
const marshalSubscribeServerOptionRequest = (request, defaults) => ({
|
|
1366
|
-
option_id: request.optionId
|
|
1367
|
-
});
|
|
1368
|
-
const marshalSubscribeStorageOptionsRequest = (request, defaults) => ({
|
|
1369
|
-
options_ids: request.optionsIds
|
|
1370
|
-
});
|
|
1371
|
-
const marshalUpdatableRaidArray = (request, defaults) => ({
|
|
1372
|
-
disk_ids: request.diskIds,
|
|
1373
|
-
raid_level: request.raidLevel
|
|
1374
|
-
});
|
|
1375
|
-
const marshalUpdateRaidRequest = (request, defaults) => ({
|
|
1376
|
-
raid_arrays: request.raidArrays.map(
|
|
1377
|
-
(elt) => marshalUpdatableRaidArray(elt)
|
|
1378
|
-
)
|
|
1379
|
-
});
|
|
1380
|
-
const marshalUpdateReverseRequest = (request, defaults) => ({
|
|
1381
|
-
reverse: request.reverse
|
|
1382
|
-
});
|
|
1383
|
-
const marshalUpdateServerBackupRequest = (request, defaults) => ({
|
|
1384
|
-
acl_enabled: request.aclEnabled,
|
|
1385
|
-
autologin: request.autologin,
|
|
1386
|
-
password: request.password
|
|
1387
|
-
});
|
|
1388
|
-
const marshalUpdateServerRequest = (request, defaults) => ({
|
|
1389
|
-
enable_ipv6: request.enableIpv6,
|
|
1390
|
-
hostname: request.hostname
|
|
1391
|
-
});
|
|
1392
|
-
const marshalUpdateServerTagsRequest = (request, defaults) => ({
|
|
1393
|
-
tags: request.tags
|
|
1394
|
-
});
|
|
1395
|
-
export {
|
|
1396
|
-
marshalAttachFailoverIPToMacAddressRequest,
|
|
1397
|
-
marshalAttachFailoverIPsRequest,
|
|
1398
|
-
marshalCreateFailoverIPsRequest,
|
|
1399
|
-
marshalCreateServerRequest,
|
|
1400
|
-
marshalDetachFailoverIPsRequest,
|
|
1401
|
-
marshalIPv6BlockApiCreateIPv6BlockRequest,
|
|
1402
|
-
marshalIPv6BlockApiCreateIPv6BlockSubnetRequest,
|
|
1403
|
-
marshalIPv6BlockApiUpdateIPv6BlockRequest,
|
|
1404
|
-
marshalInstallServerRequest,
|
|
1405
|
-
marshalRpnSanApiAddIpRequest,
|
|
1406
|
-
marshalRpnSanApiCreateRpnSanRequest,
|
|
1407
|
-
marshalRpnSanApiRemoveIpRequest,
|
|
1408
|
-
marshalRpnV1ApiAddRpnGroupMembersRequest,
|
|
1409
|
-
marshalRpnV1ApiCreateRpnGroupRequest,
|
|
1410
|
-
marshalRpnV1ApiDeleteRpnGroupMembersRequest,
|
|
1411
|
-
marshalRpnV1ApiLeaveRpnGroupRequest,
|
|
1412
|
-
marshalRpnV1ApiRpnGroupInviteRequest,
|
|
1413
|
-
marshalRpnV1ApiUpdateRpnGroupNameRequest,
|
|
1414
|
-
marshalRpnV2ApiAddRpnV2MembersRequest,
|
|
1415
|
-
marshalRpnV2ApiCreateRpnV2GroupRequest,
|
|
1416
|
-
marshalRpnV2ApiDeleteRpnV2MembersRequest,
|
|
1417
|
-
marshalRpnV2ApiEnableRpnV2GroupCompatibilityRequest,
|
|
1418
|
-
marshalRpnV2ApiUpdateRpnV2GroupNameRequest,
|
|
1419
|
-
marshalRpnV2ApiUpdateRpnV2VlanForMembersRequest,
|
|
1420
|
-
marshalStartBMCAccessRequest,
|
|
1421
|
-
marshalStartRescueRequest,
|
|
1422
|
-
marshalSubscribeServerOptionRequest,
|
|
1423
|
-
marshalSubscribeStorageOptionsRequest,
|
|
1424
|
-
marshalUpdateRaidRequest,
|
|
1425
|
-
marshalUpdateReverseRequest,
|
|
1426
|
-
marshalUpdateServerBackupRequest,
|
|
1427
|
-
marshalUpdateServerRequest,
|
|
1428
|
-
marshalUpdateServerTagsRequest,
|
|
1429
|
-
unmarshalBMCAccess,
|
|
1430
|
-
unmarshalBackup,
|
|
1431
|
-
unmarshalCanOrderResponse,
|
|
1432
|
-
unmarshalCreateFailoverIPsResponse,
|
|
1433
|
-
unmarshalFailoverIP,
|
|
1434
|
-
unmarshalGetIPv6BlockQuotasResponse,
|
|
1435
|
-
unmarshalGetRemainingQuotaResponse,
|
|
1436
|
-
unmarshalGetRpnStatusResponse,
|
|
1437
|
-
unmarshalIP,
|
|
1438
|
-
unmarshalIPv6Block,
|
|
1439
|
-
unmarshalInvoice,
|
|
1440
|
-
unmarshalListFailoverIPsResponse,
|
|
1441
|
-
unmarshalListIPv6BlockSubnetsAvailableResponse,
|
|
1442
|
-
unmarshalListInvoicesResponse,
|
|
1443
|
-
unmarshalListIpsResponse,
|
|
1444
|
-
unmarshalListOSResponse,
|
|
1445
|
-
unmarshalListOffersResponse,
|
|
1446
|
-
unmarshalListRefundsResponse,
|
|
1447
|
-
unmarshalListRpnCapableSanServersResponse,
|
|
1448
|
-
unmarshalListRpnCapableServersResponse,
|
|
1449
|
-
unmarshalListRpnGroupMembersResponse,
|
|
1450
|
-
unmarshalListRpnGroupsResponse,
|
|
1451
|
-
unmarshalListRpnInvitesResponse,
|
|
1452
|
-
unmarshalListRpnSansResponse,
|
|
1453
|
-
unmarshalListRpnServerCapabilitiesResponse,
|
|
1454
|
-
unmarshalListRpnV2CapableResourcesResponse,
|
|
1455
|
-
unmarshalListRpnV2GroupLogsResponse,
|
|
1456
|
-
unmarshalListRpnV2GroupsResponse,
|
|
1457
|
-
unmarshalListRpnV2MembersResponse,
|
|
1458
|
-
unmarshalListServerDisksResponse,
|
|
1459
|
-
unmarshalListServerEventsResponse,
|
|
1460
|
-
unmarshalListServersResponse,
|
|
1461
|
-
unmarshalListServicesResponse,
|
|
1462
|
-
unmarshalListSubscribableServerOptionsResponse,
|
|
1463
|
-
unmarshalOS,
|
|
1464
|
-
unmarshalOffer,
|
|
1465
|
-
unmarshalRaid,
|
|
1466
|
-
unmarshalRefund,
|
|
1467
|
-
unmarshalRescue,
|
|
1468
|
-
unmarshalRpnGroup,
|
|
1469
|
-
unmarshalRpnSan,
|
|
1470
|
-
unmarshalRpnV2Group,
|
|
1471
|
-
unmarshalServer,
|
|
1472
|
-
unmarshalServerDefaultPartitioning,
|
|
1473
|
-
unmarshalServerInstall,
|
|
1474
|
-
unmarshalService,
|
|
1475
|
-
unmarshalSubscribeStorageOptionsResponse
|
|
1476
|
-
};
|