@nebius/js-sdk 0.1.0 → 0.1.3
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/README.md +1 -1
- package/package.json +3 -2
- package/dist/cjs/__tests__/generator_basic.cases.d.ts +0 -2
- package/dist/cjs/__tests__/generator_basic.cases.d.ts.map +0 -1
- package/dist/cjs/__tests__/generator_basic.cases.js +0 -596
- package/dist/cjs/__tests__/generator_basic.cases.js.map +0 -1
- package/dist/cjs/__tests__/generator_cross.cases.d.ts +0 -2
- package/dist/cjs/__tests__/generator_cross.cases.d.ts.map +0 -1
- package/dist/cjs/__tests__/generator_cross.cases.js +0 -448
- package/dist/cjs/__tests__/generator_cross.cases.js.map +0 -1
- package/dist/cjs/__tests__/generator_extensions.cases.d.ts +0 -2
- package/dist/cjs/__tests__/generator_extensions.cases.d.ts.map +0 -1
- package/dist/cjs/__tests__/generator_extensions.cases.js +0 -347
- package/dist/cjs/__tests__/generator_extensions.cases.js.map +0 -1
- package/dist/cjs/__tests__/generator_registry.cases.d.ts +0 -7
- package/dist/cjs/__tests__/generator_registry.cases.d.ts.map +0 -1
- package/dist/cjs/__tests__/generator_registry.cases.js +0 -35
- package/dist/cjs/__tests__/generator_registry.cases.js.map +0 -1
- package/dist/cjs/__tests__/generator_sanitization.cases.d.ts +0 -2
- package/dist/cjs/__tests__/generator_sanitization.cases.d.ts.map +0 -1
- package/dist/cjs/__tests__/generator_sanitization.cases.js +0 -62
- package/dist/cjs/__tests__/generator_sanitization.cases.js.map +0 -1
- package/dist/cjs/__tests__/generator_shared.helpers.d.ts +0 -21
- package/dist/cjs/__tests__/generator_shared.helpers.d.ts.map +0 -1
- package/dist/cjs/__tests__/generator_shared.helpers.js +0 -396
- package/dist/cjs/__tests__/generator_shared.helpers.js.map +0 -1
- package/dist/cjs/api/buf/validate/index.d.ts +0 -2681
- package/dist/cjs/api/buf/validate/index.d.ts.map +0 -1
- package/dist/cjs/api/buf/validate/index.js +0 -9586
- package/dist/cjs/api/buf/validate/index.js.map +0 -1
- package/dist/cjs/api/google/protobuf/index.d.ts +0 -1779
- package/dist/cjs/api/google/protobuf/index.d.ts.map +0 -1
- package/dist/cjs/api/google/protobuf/index.js +0 -7326
- package/dist/cjs/api/google/protobuf/index.js.map +0 -1
- package/dist/cjs/api/google/rpc/index.d.ts +0 -247
- package/dist/cjs/api/google/rpc/index.d.ts.map +0 -1
- package/dist/cjs/api/google/rpc/index.js +0 -366
- package/dist/cjs/api/google/rpc/index.js.map +0 -1
- package/dist/cjs/api/nebius/applications/v1alpha1/index.d.ts +0 -210
- package/dist/cjs/api/nebius/applications/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/applications/v1alpha1/index.js +0 -1421
- package/dist/cjs/api/nebius/applications/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/audit/v2/index.d.ts +0 -457
- package/dist/cjs/api/nebius/audit/v2/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/audit/v2/index.js +0 -2695
- package/dist/cjs/api/nebius/audit/v2/index.js.map +0 -1
- package/dist/cjs/api/nebius/billing/v1alpha1/index.d.ts +0 -262
- package/dist/cjs/api/nebius/billing/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/billing/v1alpha1/index.js +0 -1319
- package/dist/cjs/api/nebius/billing/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/common/error/v1alpha1/index.d.ts +0 -327
- package/dist/cjs/api/nebius/common/error/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/common/error/v1alpha1/index.js +0 -2050
- package/dist/cjs/api/nebius/common/error/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/common/v1/index.d.ts +0 -717
- package/dist/cjs/api/nebius/common/v1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/common/v1/index.js +0 -3971
- package/dist/cjs/api/nebius/common/v1/index.js.map +0 -1
- package/dist/cjs/api/nebius/common/v1alpha1/index.d.ts +0 -314
- package/dist/cjs/api/nebius/common/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/common/v1alpha1/index.js +0 -1154
- package/dist/cjs/api/nebius/common/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/compute/v1/index.d.ts +0 -2279
- package/dist/cjs/api/nebius/compute/v1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/compute/v1/index.js +0 -12616
- package/dist/cjs/api/nebius/compute/v1/index.js.map +0 -1
- package/dist/cjs/api/nebius/compute/v1alpha1/index.d.ts +0 -1430
- package/dist/cjs/api/nebius/compute/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/compute/v1alpha1/index.js +0 -8107
- package/dist/cjs/api/nebius/compute/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/iam/v1/index.d.ts +0 -4055
- package/dist/cjs/api/nebius/iam/v1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/iam/v1/index.js +0 -23617
- package/dist/cjs/api/nebius/iam/v1/index.js.map +0 -1
- package/dist/cjs/api/nebius/iam/v2/index.d.ts +0 -674
- package/dist/cjs/api/nebius/iam/v2/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/iam/v2/index.js +0 -3640
- package/dist/cjs/api/nebius/iam/v2/index.js.map +0 -1
- package/dist/cjs/api/nebius/index.d.ts +0 -257
- package/dist/cjs/api/nebius/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/index.js +0 -1667
- package/dist/cjs/api/nebius/index.js.map +0 -1
- package/dist/cjs/api/nebius/logging/v1/agentmanager/index.d.ts +0 -416
- package/dist/cjs/api/nebius/logging/v1/agentmanager/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/logging/v1/agentmanager/index.js +0 -1752
- package/dist/cjs/api/nebius/logging/v1/agentmanager/index.js.map +0 -1
- package/dist/cjs/api/nebius/maintenance/v1alpha1/index.d.ts +0 -281
- package/dist/cjs/api/nebius/maintenance/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/maintenance/v1alpha1/index.js +0 -1207
- package/dist/cjs/api/nebius/maintenance/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/mk8s/v1/index.d.ts +0 -1191
- package/dist/cjs/api/nebius/mk8s/v1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/mk8s/v1/index.js +0 -6964
- package/dist/cjs/api/nebius/mk8s/v1/index.js.map +0 -1
- package/dist/cjs/api/nebius/mk8s/v1alpha1/index.d.ts +0 -1132
- package/dist/cjs/api/nebius/mk8s/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/mk8s/v1alpha1/index.js +0 -7189
- package/dist/cjs/api/nebius/mk8s/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.d.ts +0 -349
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.js +0 -1604
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/config/index.d.ts +0 -46
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/config/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/config/index.js +0 -360
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/config/index.js.map +0 -1
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/index.d.ts +0 -875
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/index.js +0 -3926
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/msp/serverless/v1alpha1/index.d.ts +0 -670
- package/dist/cjs/api/nebius/msp/serverless/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/msp/serverless/v1alpha1/index.js +0 -2975
- package/dist/cjs/api/nebius/msp/serverless/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/msp/v1alpha1/index.d.ts +0 -145
- package/dist/cjs/api/nebius/msp/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/msp/v1alpha1/index.js +0 -946
- package/dist/cjs/api/nebius/msp/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/msp/v1alpha1/resource/index.d.ts +0 -90
- package/dist/cjs/api/nebius/msp/v1alpha1/resource/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/msp/v1alpha1/resource/index.js +0 -1288
- package/dist/cjs/api/nebius/msp/v1alpha1/resource/index.js.map +0 -1
- package/dist/cjs/api/nebius/mysterybox/v1/index.d.ts +0 -826
- package/dist/cjs/api/nebius/mysterybox/v1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/mysterybox/v1/index.js +0 -3691
- package/dist/cjs/api/nebius/mysterybox/v1/index.js.map +0 -1
- package/dist/cjs/api/nebius/quotas/v1/index.d.ts +0 -299
- package/dist/cjs/api/nebius/quotas/v1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/quotas/v1/index.js +0 -1178
- package/dist/cjs/api/nebius/quotas/v1/index.js.map +0 -1
- package/dist/cjs/api/nebius/registry/v1/index.d.ts +0 -366
- package/dist/cjs/api/nebius/registry/v1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/registry/v1/index.js +0 -2146
- package/dist/cjs/api/nebius/registry/v1/index.js.map +0 -1
- package/dist/cjs/api/nebius/storage/v1/index.d.ts +0 -928
- package/dist/cjs/api/nebius/storage/v1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/storage/v1/index.js +0 -7811
- package/dist/cjs/api/nebius/storage/v1/index.js.map +0 -1
- package/dist/cjs/api/nebius/storage/v1alpha1/index.d.ts +0 -579
- package/dist/cjs/api/nebius/storage/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/storage/v1alpha1/index.js +0 -3554
- package/dist/cjs/api/nebius/storage/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/nebius/vpc/v1/index.d.ts +0 -2458
- package/dist/cjs/api/nebius/vpc/v1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/vpc/v1/index.js +0 -13277
- package/dist/cjs/api/nebius/vpc/v1/index.js.map +0 -1
- package/dist/cjs/api/nebius/vpc/v1alpha1/index.d.ts +0 -1493
- package/dist/cjs/api/nebius/vpc/v1alpha1/index.d.ts.map +0 -1
- package/dist/cjs/api/nebius/vpc/v1alpha1/index.js +0 -8338
- package/dist/cjs/api/nebius/vpc/v1alpha1/index.js.map +0 -1
- package/dist/cjs/api/protobuf.d.ts +0 -3
- package/dist/cjs/api/protobuf.d.ts.map +0 -1
- package/dist/cjs/api/protobuf.js +0 -9
- package/dist/cjs/api/protobuf.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -4
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -24
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/runtime/authorization/interceptor.d.ts +0 -5
- package/dist/cjs/runtime/authorization/interceptor.d.ts.map +0 -1
- package/dist/cjs/runtime/authorization/interceptor.js +0 -120
- package/dist/cjs/runtime/authorization/interceptor.js.map +0 -1
- package/dist/cjs/runtime/authorization/provider.d.ts +0 -16
- package/dist/cjs/runtime/authorization/provider.d.ts.map +0 -1
- package/dist/cjs/runtime/authorization/provider.js +0 -3
- package/dist/cjs/runtime/authorization/provider.js.map +0 -1
- package/dist/cjs/runtime/authorization/token.d.ts +0 -23
- package/dist/cjs/runtime/authorization/token.d.ts.map +0 -1
- package/dist/cjs/runtime/authorization/token.js +0 -54
- package/dist/cjs/runtime/authorization/token.js.map +0 -1
- package/dist/cjs/runtime/cli_config.d.ts +0 -41
- package/dist/cjs/runtime/cli_config.d.ts.map +0 -1
- package/dist/cjs/runtime/cli_config.js +0 -331
- package/dist/cjs/runtime/cli_config.js.map +0 -1
- package/dist/cjs/runtime/cli_config_interfaces.d.ts +0 -21
- package/dist/cjs/runtime/cli_config_interfaces.d.ts.map +0 -1
- package/dist/cjs/runtime/cli_config_interfaces.js +0 -3
- package/dist/cjs/runtime/cli_config_interfaces.js.map +0 -1
- package/dist/cjs/runtime/constants.d.ts +0 -8
- package/dist/cjs/runtime/constants.d.ts.map +0 -1
- package/dist/cjs/runtime/constants.js +0 -12
- package/dist/cjs/runtime/constants.js.map +0 -1
- package/dist/cjs/runtime/error.d.ts +0 -18
- package/dist/cjs/runtime/error.d.ts.map +0 -1
- package/dist/cjs/runtime/error.js +0 -242
- package/dist/cjs/runtime/error.js.map +0 -1
- package/dist/cjs/runtime/fieldmask.d.ts +0 -68
- package/dist/cjs/runtime/fieldmask.d.ts.map +0 -1
- package/dist/cjs/runtime/fieldmask.js +0 -516
- package/dist/cjs/runtime/fieldmask.js.map +0 -1
- package/dist/cjs/runtime/fieldmask_parser.d.ts +0 -3
- package/dist/cjs/runtime/fieldmask_parser.d.ts.map +0 -1
- package/dist/cjs/runtime/fieldmask_parser.js +0 -173
- package/dist/cjs/runtime/fieldmask_parser.js.map +0 -1
- package/dist/cjs/runtime/operation.d.ts +0 -59
- package/dist/cjs/runtime/operation.d.ts.map +0 -1
- package/dist/cjs/runtime/operation.js +0 -122
- package/dist/cjs/runtime/operation.js.map +0 -1
- package/dist/cjs/runtime/protos/any.d.ts +0 -11
- package/dist/cjs/runtime/protos/any.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/any.js +0 -43
- package/dist/cjs/runtime/protos/any.js.map +0 -1
- package/dist/cjs/runtime/protos/base64.d.ts +0 -3
- package/dist/cjs/runtime/protos/base64.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/base64.js +0 -26
- package/dist/cjs/runtime/protos/base64.js.map +0 -1
- package/dist/cjs/runtime/protos/core.d.ts +0 -23
- package/dist/cjs/runtime/protos/core.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/core.js +0 -28
- package/dist/cjs/runtime/protos/core.js.map +0 -1
- package/dist/cjs/runtime/protos/enum.d.ts +0 -31
- package/dist/cjs/runtime/protos/enum.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/enum.js +0 -91
- package/dist/cjs/runtime/protos/enum.js.map +0 -1
- package/dist/cjs/runtime/protos/fieldmask.d.ts +0 -6
- package/dist/cjs/runtime/protos/fieldmask.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/fieldmask.js +0 -37
- package/dist/cjs/runtime/protos/fieldmask.js.map +0 -1
- package/dist/cjs/runtime/protos/index.d.ts +0 -8
- package/dist/cjs/runtime/protos/index.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/index.js +0 -20
- package/dist/cjs/runtime/protos/index.js.map +0 -1
- package/dist/cjs/runtime/protos/long.d.ts +0 -2
- package/dist/cjs/runtime/protos/long.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/long.js +0 -3
- package/dist/cjs/runtime/protos/long.js.map +0 -1
- package/dist/cjs/runtime/protos/registry.d.ts +0 -83
- package/dist/cjs/runtime/protos/registry.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/registry.js +0 -48
- package/dist/cjs/runtime/protos/registry.js.map +0 -1
- package/dist/cjs/runtime/protos/values.d.ts +0 -6
- package/dist/cjs/runtime/protos/values.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/values.js +0 -162
- package/dist/cjs/runtime/protos/values.js.map +0 -1
- package/dist/cjs/runtime/protos/wkt.d.ts +0 -92
- package/dist/cjs/runtime/protos/wkt.d.ts.map +0 -1
- package/dist/cjs/runtime/protos/wkt.js +0 -276
- package/dist/cjs/runtime/protos/wkt.js.map +0 -1
- package/dist/cjs/runtime/request.d.ts +0 -49
- package/dist/cjs/runtime/request.d.ts.map +0 -1
- package/dist/cjs/runtime/request.js +0 -635
- package/dist/cjs/runtime/request.js.map +0 -1
- package/dist/cjs/runtime/resetmask.d.ts +0 -7
- package/dist/cjs/runtime/resetmask.d.ts.map +0 -1
- package/dist/cjs/runtime/resetmask.js +0 -142
- package/dist/cjs/runtime/resetmask.js.map +0 -1
- package/dist/cjs/runtime/resolver.d.ts +0 -73
- package/dist/cjs/runtime/resolver.d.ts.map +0 -1
- package/dist/cjs/runtime/resolver.js +0 -235
- package/dist/cjs/runtime/resolver.js.map +0 -1
- package/dist/cjs/runtime/service_account/cached.d.ts +0 -13
- package/dist/cjs/runtime/service_account/cached.d.ts.map +0 -1
- package/dist/cjs/runtime/service_account/cached.js +0 -33
- package/dist/cjs/runtime/service_account/cached.js.map +0 -1
- package/dist/cjs/runtime/service_account/credentials_file.d.ts +0 -16
- package/dist/cjs/runtime/service_account/credentials_file.d.ts.map +0 -1
- package/dist/cjs/runtime/service_account/credentials_file.js +0 -57
- package/dist/cjs/runtime/service_account/credentials_file.js.map +0 -1
- package/dist/cjs/runtime/service_account/federated_credentials.d.ts +0 -31
- package/dist/cjs/runtime/service_account/federated_credentials.d.ts.map +0 -1
- package/dist/cjs/runtime/service_account/federated_credentials.js +0 -95
- package/dist/cjs/runtime/service_account/federated_credentials.js.map +0 -1
- package/dist/cjs/runtime/service_account/pk_file.d.ts +0 -18
- package/dist/cjs/runtime/service_account/pk_file.d.ts.map +0 -1
- package/dist/cjs/runtime/service_account/pk_file.js +0 -43
- package/dist/cjs/runtime/service_account/pk_file.js.map +0 -1
- package/dist/cjs/runtime/service_account/service_account.d.ts +0 -22
- package/dist/cjs/runtime/service_account/service_account.d.ts.map +0 -1
- package/dist/cjs/runtime/service_account/service_account.js +0 -70
- package/dist/cjs/runtime/service_account/service_account.js.map +0 -1
- package/dist/cjs/runtime/service_account/static.d.ts +0 -13
- package/dist/cjs/runtime/service_account/static.d.ts.map +0 -1
- package/dist/cjs/runtime/service_account/static.js +0 -29
- package/dist/cjs/runtime/service_account/static.js.map +0 -1
- package/dist/cjs/runtime/tls/system_certs.d.ts +0 -15
- package/dist/cjs/runtime/tls/system_certs.d.ts.map +0 -1
- package/dist/cjs/runtime/tls/system_certs.js +0 -99
- package/dist/cjs/runtime/tls/system_certs.js.map +0 -1
- package/dist/cjs/runtime/token/exchangeable.d.ts +0 -26
- package/dist/cjs/runtime/token/exchangeable.d.ts.map +0 -1
- package/dist/cjs/runtime/token/exchangeable.js +0 -151
- package/dist/cjs/runtime/token/exchangeable.js.map +0 -1
- package/dist/cjs/runtime/token/federated_credentials.d.ts +0 -27
- package/dist/cjs/runtime/token/federated_credentials.d.ts.map +0 -1
- package/dist/cjs/runtime/token/federated_credentials.js +0 -76
- package/dist/cjs/runtime/token/federated_credentials.js.map +0 -1
- package/dist/cjs/runtime/token/federation_account.d.ts +0 -27
- package/dist/cjs/runtime/token/federation_account.d.ts.map +0 -1
- package/dist/cjs/runtime/token/federation_account.js +0 -47
- package/dist/cjs/runtime/token/federation_account.js.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/auth.d.ts +0 -42
- package/dist/cjs/runtime/token/federation_bearer/auth.d.ts.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/auth.js +0 -197
- package/dist/cjs/runtime/token/federation_bearer/auth.js.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/constants.d.ts +0 -3
- package/dist/cjs/runtime/token/federation_bearer/constants.d.ts.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/constants.js +0 -6
- package/dist/cjs/runtime/token/federation_bearer/constants.js.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/index.d.ts +0 -19
- package/dist/cjs/runtime/token/federation_bearer/index.d.ts.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/index.js +0 -120
- package/dist/cjs/runtime/token/federation_bearer/index.js.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/is_wsl.d.ts +0 -2
- package/dist/cjs/runtime/token/federation_bearer/is_wsl.d.ts.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/is_wsl.js +0 -14
- package/dist/cjs/runtime/token/federation_bearer/is_wsl.js.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/pkce.d.ts +0 -8
- package/dist/cjs/runtime/token/federation_bearer/pkce.d.ts.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/pkce.js +0 -30
- package/dist/cjs/runtime/token/federation_bearer/pkce.js.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/server.d.ts +0 -20
- package/dist/cjs/runtime/token/federation_bearer/server.d.ts.map +0 -1
- package/dist/cjs/runtime/token/federation_bearer/server.js +0 -132
- package/dist/cjs/runtime/token/federation_bearer/server.js.map +0 -1
- package/dist/cjs/runtime/token/file.d.ts +0 -11
- package/dist/cjs/runtime/token/file.d.ts.map +0 -1
- package/dist/cjs/runtime/token/file.js +0 -55
- package/dist/cjs/runtime/token/file.js.map +0 -1
- package/dist/cjs/runtime/token/file_cache/async_renewable_bearer.d.ts +0 -63
- package/dist/cjs/runtime/token/file_cache/async_renewable_bearer.d.ts.map +0 -1
- package/dist/cjs/runtime/token/file_cache/async_renewable_bearer.js +0 -452
- package/dist/cjs/runtime/token/file_cache/async_renewable_bearer.js.map +0 -1
- package/dist/cjs/runtime/token/file_cache/file_bearer.d.ts +0 -16
- package/dist/cjs/runtime/token/file_cache/file_bearer.d.ts.map +0 -1
- package/dist/cjs/runtime/token/file_cache/file_bearer.js +0 -65
- package/dist/cjs/runtime/token/file_cache/file_bearer.js.map +0 -1
- package/dist/cjs/runtime/token/file_cache/renewable_bearer.d.ts +0 -15
- package/dist/cjs/runtime/token/file_cache/renewable_bearer.d.ts.map +0 -1
- package/dist/cjs/runtime/token/file_cache/renewable_bearer.js +0 -135
- package/dist/cjs/runtime/token/file_cache/renewable_bearer.js.map +0 -1
- package/dist/cjs/runtime/token/file_cache/throttled_token_cache.d.ts +0 -22
- package/dist/cjs/runtime/token/file_cache/throttled_token_cache.d.ts.map +0 -1
- package/dist/cjs/runtime/token/file_cache/throttled_token_cache.js +0 -89
- package/dist/cjs/runtime/token/file_cache/throttled_token_cache.js.map +0 -1
- package/dist/cjs/runtime/token/file_cache/token_cache.d.ts +0 -24
- package/dist/cjs/runtime/token/file_cache/token_cache.d.ts.map +0 -1
- package/dist/cjs/runtime/token/file_cache/token_cache.js +0 -316
- package/dist/cjs/runtime/token/file_cache/token_cache.js.map +0 -1
- package/dist/cjs/runtime/token/renewable.d.ts +0 -59
- package/dist/cjs/runtime/token/renewable.d.ts.map +0 -1
- package/dist/cjs/runtime/token/renewable.js +0 -393
- package/dist/cjs/runtime/token/renewable.js.map +0 -1
- package/dist/cjs/runtime/token/service_account.d.ts +0 -28
- package/dist/cjs/runtime/token/service_account.d.ts.map +0 -1
- package/dist/cjs/runtime/token/service_account.js +0 -95
- package/dist/cjs/runtime/token/service_account.js.map +0 -1
- package/dist/cjs/runtime/token/static.d.ts +0 -17
- package/dist/cjs/runtime/token/static.d.ts.map +0 -1
- package/dist/cjs/runtime/token/static.js +0 -69
- package/dist/cjs/runtime/token/static.js.map +0 -1
- package/dist/cjs/runtime/token.d.ts +0 -52
- package/dist/cjs/runtime/token.d.ts.map +0 -1
- package/dist/cjs/runtime/token.js +0 -135
- package/dist/cjs/runtime/token.js.map +0 -1
- package/dist/cjs/runtime/token_sanitizer.d.ts +0 -31
- package/dist/cjs/runtime/token_sanitizer.d.ts.map +0 -1
- package/dist/cjs/runtime/token_sanitizer.js +0 -94
- package/dist/cjs/runtime/token_sanitizer.js.map +0 -1
- package/dist/cjs/runtime/util/cancelable.d.ts +0 -25
- package/dist/cjs/runtime/util/cancelable.d.ts.map +0 -1
- package/dist/cjs/runtime/util/cancelable.js +0 -130
- package/dist/cjs/runtime/util/cancelable.js.map +0 -1
- package/dist/cjs/runtime/util/logging.d.ts +0 -146
- package/dist/cjs/runtime/util/logging.d.ts.map +0 -1
- package/dist/cjs/runtime/util/logging.js +0 -865
- package/dist/cjs/runtime/util/logging.js.map +0 -1
- package/dist/cjs/runtime/util/path.d.ts +0 -2
- package/dist/cjs/runtime/util/path.d.ts.map +0 -1
- package/dist/cjs/runtime/util/path.js +0 -22
- package/dist/cjs/runtime/util/path.js.map +0 -1
- package/dist/cjs/sdk.d.ts +0 -98
- package/dist/cjs/sdk.d.ts.map +0 -1
- package/dist/cjs/sdk.js +0 -543
- package/dist/cjs/sdk.js.map +0 -1
- package/dist/cjs/test/setup.d.ts +0 -1
- package/dist/cjs/test/setup.d.ts.map +0 -1
- package/dist/cjs/test/setup.js +0 -24
- package/dist/cjs/test/setup.js.map +0 -1
- package/dist/cjs/version.d.ts +0 -2
- package/dist/cjs/version.d.ts.map +0 -1
- package/dist/cjs/version.js +0 -6
- package/dist/cjs/version.js.map +0 -1
- package/dist/esm/__tests__/generator_basic.cases.d.ts +0 -2
- package/dist/esm/__tests__/generator_basic.cases.d.ts.map +0 -1
- package/dist/esm/__tests__/generator_basic.cases.js +0 -4
- package/dist/esm/__tests__/generator_cross.cases.d.ts +0 -2
- package/dist/esm/__tests__/generator_cross.cases.d.ts.map +0 -1
- package/dist/esm/__tests__/generator_cross.cases.js +0 -4
- package/dist/esm/__tests__/generator_extensions.cases.d.ts +0 -2
- package/dist/esm/__tests__/generator_extensions.cases.d.ts.map +0 -1
- package/dist/esm/__tests__/generator_extensions.cases.js +0 -4
- package/dist/esm/__tests__/generator_registry.cases.d.ts +0 -7
- package/dist/esm/__tests__/generator_registry.cases.d.ts.map +0 -1
- package/dist/esm/__tests__/generator_registry.cases.js +0 -4
- package/dist/esm/__tests__/generator_sanitization.cases.d.ts +0 -2
- package/dist/esm/__tests__/generator_sanitization.cases.d.ts.map +0 -1
- package/dist/esm/__tests__/generator_sanitization.cases.js +0 -4
- package/dist/esm/__tests__/generator_shared.helpers.d.ts +0 -21
- package/dist/esm/__tests__/generator_shared.helpers.d.ts.map +0 -1
- package/dist/esm/__tests__/generator_shared.helpers.js +0 -4
- package/dist/esm/api/buf/validate/index.d.ts +0 -2681
- package/dist/esm/api/buf/validate/index.d.ts.map +0 -1
- package/dist/esm/api/buf/validate/index.js +0 -4
- package/dist/esm/api/google/protobuf/index.d.ts +0 -1779
- package/dist/esm/api/google/protobuf/index.d.ts.map +0 -1
- package/dist/esm/api/google/protobuf/index.js +0 -4
- package/dist/esm/api/google/rpc/index.d.ts +0 -247
- package/dist/esm/api/google/rpc/index.d.ts.map +0 -1
- package/dist/esm/api/google/rpc/index.js +0 -4
- package/dist/esm/api/nebius/applications/v1alpha1/index.d.ts +0 -210
- package/dist/esm/api/nebius/applications/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/applications/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/audit/v2/index.d.ts +0 -457
- package/dist/esm/api/nebius/audit/v2/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/audit/v2/index.js +0 -4
- package/dist/esm/api/nebius/billing/v1alpha1/index.d.ts +0 -262
- package/dist/esm/api/nebius/billing/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/billing/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/common/error/v1alpha1/index.d.ts +0 -327
- package/dist/esm/api/nebius/common/error/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/common/error/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/common/v1/index.d.ts +0 -717
- package/dist/esm/api/nebius/common/v1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/common/v1/index.js +0 -4
- package/dist/esm/api/nebius/common/v1alpha1/index.d.ts +0 -314
- package/dist/esm/api/nebius/common/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/common/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/compute/v1/index.d.ts +0 -2279
- package/dist/esm/api/nebius/compute/v1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/compute/v1/index.js +0 -4
- package/dist/esm/api/nebius/compute/v1alpha1/index.d.ts +0 -1430
- package/dist/esm/api/nebius/compute/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/compute/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/iam/v1/index.d.ts +0 -4055
- package/dist/esm/api/nebius/iam/v1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/iam/v1/index.js +0 -4
- package/dist/esm/api/nebius/iam/v2/index.d.ts +0 -674
- package/dist/esm/api/nebius/iam/v2/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/iam/v2/index.js +0 -4
- package/dist/esm/api/nebius/index.d.ts +0 -257
- package/dist/esm/api/nebius/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/index.js +0 -4
- package/dist/esm/api/nebius/logging/v1/agentmanager/index.d.ts +0 -416
- package/dist/esm/api/nebius/logging/v1/agentmanager/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/logging/v1/agentmanager/index.js +0 -4
- package/dist/esm/api/nebius/maintenance/v1alpha1/index.d.ts +0 -281
- package/dist/esm/api/nebius/maintenance/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/maintenance/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/mk8s/v1/index.d.ts +0 -1191
- package/dist/esm/api/nebius/mk8s/v1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/mk8s/v1/index.js +0 -4
- package/dist/esm/api/nebius/mk8s/v1alpha1/index.d.ts +0 -1132
- package/dist/esm/api/nebius/mk8s/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/mk8s/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.d.ts +0 -349
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/config/index.d.ts +0 -46
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/config/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/config/index.js +0 -4
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/index.d.ts +0 -875
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/msp/serverless/v1alpha1/index.d.ts +0 -670
- package/dist/esm/api/nebius/msp/serverless/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/msp/serverless/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/msp/v1alpha1/index.d.ts +0 -145
- package/dist/esm/api/nebius/msp/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/msp/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/msp/v1alpha1/resource/index.d.ts +0 -90
- package/dist/esm/api/nebius/msp/v1alpha1/resource/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/msp/v1alpha1/resource/index.js +0 -4
- package/dist/esm/api/nebius/mysterybox/v1/index.d.ts +0 -826
- package/dist/esm/api/nebius/mysterybox/v1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/mysterybox/v1/index.js +0 -4
- package/dist/esm/api/nebius/quotas/v1/index.d.ts +0 -299
- package/dist/esm/api/nebius/quotas/v1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/quotas/v1/index.js +0 -4
- package/dist/esm/api/nebius/registry/v1/index.d.ts +0 -366
- package/dist/esm/api/nebius/registry/v1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/registry/v1/index.js +0 -4
- package/dist/esm/api/nebius/storage/v1/index.d.ts +0 -928
- package/dist/esm/api/nebius/storage/v1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/storage/v1/index.js +0 -4
- package/dist/esm/api/nebius/storage/v1alpha1/index.d.ts +0 -579
- package/dist/esm/api/nebius/storage/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/storage/v1alpha1/index.js +0 -4
- package/dist/esm/api/nebius/vpc/v1/index.d.ts +0 -2458
- package/dist/esm/api/nebius/vpc/v1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/vpc/v1/index.js +0 -4
- package/dist/esm/api/nebius/vpc/v1alpha1/index.d.ts +0 -1493
- package/dist/esm/api/nebius/vpc/v1alpha1/index.d.ts.map +0 -1
- package/dist/esm/api/nebius/vpc/v1alpha1/index.js +0 -4
- package/dist/esm/api/protobuf.d.ts +0 -3
- package/dist/esm/api/protobuf.d.ts.map +0 -1
- package/dist/esm/api/protobuf.js +0 -4
- package/dist/esm/index.d.ts +0 -4
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -4
- package/dist/esm/package.json +0 -3
- package/dist/esm/runtime/authorization/interceptor.d.ts +0 -5
- package/dist/esm/runtime/authorization/interceptor.d.ts.map +0 -1
- package/dist/esm/runtime/authorization/interceptor.js +0 -4
- package/dist/esm/runtime/authorization/provider.d.ts +0 -16
- package/dist/esm/runtime/authorization/provider.d.ts.map +0 -1
- package/dist/esm/runtime/authorization/provider.js +0 -4
- package/dist/esm/runtime/authorization/token.d.ts +0 -23
- package/dist/esm/runtime/authorization/token.d.ts.map +0 -1
- package/dist/esm/runtime/authorization/token.js +0 -4
- package/dist/esm/runtime/cli_config.d.ts +0 -41
- package/dist/esm/runtime/cli_config.d.ts.map +0 -1
- package/dist/esm/runtime/cli_config.js +0 -4
- package/dist/esm/runtime/cli_config_interfaces.d.ts +0 -21
- package/dist/esm/runtime/cli_config_interfaces.d.ts.map +0 -1
- package/dist/esm/runtime/cli_config_interfaces.js +0 -4
- package/dist/esm/runtime/constants.d.ts +0 -8
- package/dist/esm/runtime/constants.d.ts.map +0 -1
- package/dist/esm/runtime/constants.js +0 -4
- package/dist/esm/runtime/error.d.ts +0 -18
- package/dist/esm/runtime/error.d.ts.map +0 -1
- package/dist/esm/runtime/error.js +0 -4
- package/dist/esm/runtime/fieldmask.d.ts +0 -68
- package/dist/esm/runtime/fieldmask.d.ts.map +0 -1
- package/dist/esm/runtime/fieldmask.js +0 -4
- package/dist/esm/runtime/fieldmask_parser.d.ts +0 -3
- package/dist/esm/runtime/fieldmask_parser.d.ts.map +0 -1
- package/dist/esm/runtime/fieldmask_parser.js +0 -4
- package/dist/esm/runtime/operation.d.ts +0 -59
- package/dist/esm/runtime/operation.d.ts.map +0 -1
- package/dist/esm/runtime/operation.js +0 -4
- package/dist/esm/runtime/protos/any.d.ts +0 -11
- package/dist/esm/runtime/protos/any.d.ts.map +0 -1
- package/dist/esm/runtime/protos/any.js +0 -4
- package/dist/esm/runtime/protos/base64.d.ts +0 -3
- package/dist/esm/runtime/protos/base64.d.ts.map +0 -1
- package/dist/esm/runtime/protos/base64.js +0 -4
- package/dist/esm/runtime/protos/core.d.ts +0 -23
- package/dist/esm/runtime/protos/core.d.ts.map +0 -1
- package/dist/esm/runtime/protos/core.js +0 -4
- package/dist/esm/runtime/protos/enum.d.ts +0 -31
- package/dist/esm/runtime/protos/enum.d.ts.map +0 -1
- package/dist/esm/runtime/protos/enum.js +0 -4
- package/dist/esm/runtime/protos/fieldmask.d.ts +0 -6
- package/dist/esm/runtime/protos/fieldmask.d.ts.map +0 -1
- package/dist/esm/runtime/protos/fieldmask.js +0 -4
- package/dist/esm/runtime/protos/index.d.ts +0 -8
- package/dist/esm/runtime/protos/index.d.ts.map +0 -1
- package/dist/esm/runtime/protos/index.js +0 -4
- package/dist/esm/runtime/protos/long.d.ts +0 -2
- package/dist/esm/runtime/protos/long.d.ts.map +0 -1
- package/dist/esm/runtime/protos/long.js +0 -4
- package/dist/esm/runtime/protos/registry.d.ts +0 -83
- package/dist/esm/runtime/protos/registry.d.ts.map +0 -1
- package/dist/esm/runtime/protos/registry.js +0 -4
- package/dist/esm/runtime/protos/values.d.ts +0 -6
- package/dist/esm/runtime/protos/values.d.ts.map +0 -1
- package/dist/esm/runtime/protos/values.js +0 -4
- package/dist/esm/runtime/protos/wkt.d.ts +0 -92
- package/dist/esm/runtime/protos/wkt.d.ts.map +0 -1
- package/dist/esm/runtime/protos/wkt.js +0 -4
- package/dist/esm/runtime/request.d.ts +0 -49
- package/dist/esm/runtime/request.d.ts.map +0 -1
- package/dist/esm/runtime/request.js +0 -4
- package/dist/esm/runtime/resetmask.d.ts +0 -7
- package/dist/esm/runtime/resetmask.d.ts.map +0 -1
- package/dist/esm/runtime/resetmask.js +0 -4
- package/dist/esm/runtime/resolver.d.ts +0 -73
- package/dist/esm/runtime/resolver.d.ts.map +0 -1
- package/dist/esm/runtime/resolver.js +0 -4
- package/dist/esm/runtime/service_account/cached.d.ts +0 -13
- package/dist/esm/runtime/service_account/cached.d.ts.map +0 -1
- package/dist/esm/runtime/service_account/cached.js +0 -4
- package/dist/esm/runtime/service_account/credentials_file.d.ts +0 -16
- package/dist/esm/runtime/service_account/credentials_file.d.ts.map +0 -1
- package/dist/esm/runtime/service_account/credentials_file.js +0 -4
- package/dist/esm/runtime/service_account/federated_credentials.d.ts +0 -31
- package/dist/esm/runtime/service_account/federated_credentials.d.ts.map +0 -1
- package/dist/esm/runtime/service_account/federated_credentials.js +0 -4
- package/dist/esm/runtime/service_account/pk_file.d.ts +0 -18
- package/dist/esm/runtime/service_account/pk_file.d.ts.map +0 -1
- package/dist/esm/runtime/service_account/pk_file.js +0 -4
- package/dist/esm/runtime/service_account/service_account.d.ts +0 -22
- package/dist/esm/runtime/service_account/service_account.d.ts.map +0 -1
- package/dist/esm/runtime/service_account/service_account.js +0 -4
- package/dist/esm/runtime/service_account/static.d.ts +0 -13
- package/dist/esm/runtime/service_account/static.d.ts.map +0 -1
- package/dist/esm/runtime/service_account/static.js +0 -4
- package/dist/esm/runtime/tls/system_certs.d.ts +0 -15
- package/dist/esm/runtime/tls/system_certs.d.ts.map +0 -1
- package/dist/esm/runtime/tls/system_certs.js +0 -4
- package/dist/esm/runtime/token/exchangeable.d.ts +0 -26
- package/dist/esm/runtime/token/exchangeable.d.ts.map +0 -1
- package/dist/esm/runtime/token/exchangeable.js +0 -4
- package/dist/esm/runtime/token/federated_credentials.d.ts +0 -27
- package/dist/esm/runtime/token/federated_credentials.d.ts.map +0 -1
- package/dist/esm/runtime/token/federated_credentials.js +0 -4
- package/dist/esm/runtime/token/federation_account.d.ts +0 -27
- package/dist/esm/runtime/token/federation_account.d.ts.map +0 -1
- package/dist/esm/runtime/token/federation_account.js +0 -4
- package/dist/esm/runtime/token/federation_bearer/auth.d.ts +0 -42
- package/dist/esm/runtime/token/federation_bearer/auth.d.ts.map +0 -1
- package/dist/esm/runtime/token/federation_bearer/auth.js +0 -4
- package/dist/esm/runtime/token/federation_bearer/constants.d.ts +0 -3
- package/dist/esm/runtime/token/federation_bearer/constants.d.ts.map +0 -1
- package/dist/esm/runtime/token/federation_bearer/constants.js +0 -4
- package/dist/esm/runtime/token/federation_bearer/index.d.ts +0 -19
- package/dist/esm/runtime/token/federation_bearer/index.d.ts.map +0 -1
- package/dist/esm/runtime/token/federation_bearer/index.js +0 -4
- package/dist/esm/runtime/token/federation_bearer/is_wsl.d.ts +0 -2
- package/dist/esm/runtime/token/federation_bearer/is_wsl.d.ts.map +0 -1
- package/dist/esm/runtime/token/federation_bearer/is_wsl.js +0 -4
- package/dist/esm/runtime/token/federation_bearer/pkce.d.ts +0 -8
- package/dist/esm/runtime/token/federation_bearer/pkce.d.ts.map +0 -1
- package/dist/esm/runtime/token/federation_bearer/pkce.js +0 -4
- package/dist/esm/runtime/token/federation_bearer/server.d.ts +0 -20
- package/dist/esm/runtime/token/federation_bearer/server.d.ts.map +0 -1
- package/dist/esm/runtime/token/federation_bearer/server.js +0 -4
- package/dist/esm/runtime/token/file.d.ts +0 -11
- package/dist/esm/runtime/token/file.d.ts.map +0 -1
- package/dist/esm/runtime/token/file.js +0 -4
- package/dist/esm/runtime/token/file_cache/async_renewable_bearer.d.ts +0 -63
- package/dist/esm/runtime/token/file_cache/async_renewable_bearer.d.ts.map +0 -1
- package/dist/esm/runtime/token/file_cache/async_renewable_bearer.js +0 -4
- package/dist/esm/runtime/token/file_cache/file_bearer.d.ts +0 -16
- package/dist/esm/runtime/token/file_cache/file_bearer.d.ts.map +0 -1
- package/dist/esm/runtime/token/file_cache/file_bearer.js +0 -4
- package/dist/esm/runtime/token/file_cache/renewable_bearer.d.ts +0 -15
- package/dist/esm/runtime/token/file_cache/renewable_bearer.d.ts.map +0 -1
- package/dist/esm/runtime/token/file_cache/renewable_bearer.js +0 -4
- package/dist/esm/runtime/token/file_cache/throttled_token_cache.d.ts +0 -22
- package/dist/esm/runtime/token/file_cache/throttled_token_cache.d.ts.map +0 -1
- package/dist/esm/runtime/token/file_cache/throttled_token_cache.js +0 -4
- package/dist/esm/runtime/token/file_cache/token_cache.d.ts +0 -24
- package/dist/esm/runtime/token/file_cache/token_cache.d.ts.map +0 -1
- package/dist/esm/runtime/token/file_cache/token_cache.js +0 -4
- package/dist/esm/runtime/token/renewable.d.ts +0 -59
- package/dist/esm/runtime/token/renewable.d.ts.map +0 -1
- package/dist/esm/runtime/token/renewable.js +0 -4
- package/dist/esm/runtime/token/service_account.d.ts +0 -28
- package/dist/esm/runtime/token/service_account.d.ts.map +0 -1
- package/dist/esm/runtime/token/service_account.js +0 -4
- package/dist/esm/runtime/token/static.d.ts +0 -17
- package/dist/esm/runtime/token/static.d.ts.map +0 -1
- package/dist/esm/runtime/token/static.js +0 -4
- package/dist/esm/runtime/token.d.ts +0 -52
- package/dist/esm/runtime/token.d.ts.map +0 -1
- package/dist/esm/runtime/token.js +0 -4
- package/dist/esm/runtime/token_sanitizer.d.ts +0 -31
- package/dist/esm/runtime/token_sanitizer.d.ts.map +0 -1
- package/dist/esm/runtime/token_sanitizer.js +0 -4
- package/dist/esm/runtime/util/cancelable.d.ts +0 -25
- package/dist/esm/runtime/util/cancelable.d.ts.map +0 -1
- package/dist/esm/runtime/util/cancelable.js +0 -4
- package/dist/esm/runtime/util/logging.d.ts +0 -146
- package/dist/esm/runtime/util/logging.d.ts.map +0 -1
- package/dist/esm/runtime/util/logging.js +0 -4
- package/dist/esm/runtime/util/path.d.ts +0 -2
- package/dist/esm/runtime/util/path.d.ts.map +0 -1
- package/dist/esm/runtime/util/path.js +0 -4
- package/dist/esm/sdk.d.ts +0 -98
- package/dist/esm/sdk.d.ts.map +0 -1
- package/dist/esm/sdk.js +0 -4
- package/dist/esm/test/setup.d.ts +0 -1
- package/dist/esm/test/setup.d.ts.map +0 -1
- package/dist/esm/test/setup.js +0 -4
- package/dist/esm/version.d.ts +0 -2
- package/dist/esm/version.d.ts.map +0 -1
- package/dist/esm/version.js +0 -4
|
@@ -1,1178 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Generated by Nebius TS generator. DO NOT EDIT! */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.QuotaAllowance = exports.QuotaAllowanceStatus = exports.QuotaAllowanceSpec = exports.QuotaAllowanceStatus_UsageState = exports.QuotaAllowanceStatus_State = exports.QuotaAllowanceService = exports.QuotaAllowanceServiceBaseClient = exports.QuotaAllowanceServiceServiceDescription = exports.GetByNameRequest = exports.ListQuotaAllowancesResponse = exports.GetQuotaAllowanceRequest = exports.ListQuotaAllowancesRequest = void 0;
|
|
5
|
-
const index_1 = require("../../../../runtime/protos/index");
|
|
6
|
-
const util_1 = require("util");
|
|
7
|
-
const protobuf_1 = require("../../../protobuf");
|
|
8
|
-
const logging_1 = require("../../../../runtime/util/logging");
|
|
9
|
-
const grpc_js_1 = require("@grpc/grpc-js");
|
|
10
|
-
const request_1 = require("../../../../runtime/request");
|
|
11
|
-
const v1_1 = require("../../common/v1");
|
|
12
|
-
const __deprecatedWarned = new Set();
|
|
13
|
-
exports.ListQuotaAllowancesRequest = {
|
|
14
|
-
$type: "nebius.quotas.v1.ListQuotaAllowancesRequest",
|
|
15
|
-
encode(message, writer = new index_1.BinaryWriter()) {
|
|
16
|
-
if (message.parentId !== "") {
|
|
17
|
-
writer.uint32(10).string(message.parentId);
|
|
18
|
-
}
|
|
19
|
-
if (message.pageSize !== undefined && !message.pageSize.isZero?.()) {
|
|
20
|
-
writer.uint32(16).int64(message.pageSize.toString());
|
|
21
|
-
}
|
|
22
|
-
if (message.pageToken !== "") {
|
|
23
|
-
writer.uint32(26).string(message.pageToken);
|
|
24
|
-
}
|
|
25
|
-
if (message[index_1.unknownFieldsSymbol]) {
|
|
26
|
-
writer.raw(message[index_1.unknownFieldsSymbol]);
|
|
27
|
-
}
|
|
28
|
-
return writer;
|
|
29
|
-
},
|
|
30
|
-
decode(input, length) {
|
|
31
|
-
const reader = input instanceof index_1.BinaryReader ? input : new index_1.BinaryReader(input);
|
|
32
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
33
|
-
const message = createBaseListQuotaAllowancesRequest();
|
|
34
|
-
let writer = undefined;
|
|
35
|
-
while (reader.pos < end) {
|
|
36
|
-
const tag = reader.uint32();
|
|
37
|
-
switch (tag >>> 3) {
|
|
38
|
-
case 1: {
|
|
39
|
-
if (tag !== 10)
|
|
40
|
-
break;
|
|
41
|
-
message.parentId = reader.string();
|
|
42
|
-
continue;
|
|
43
|
-
}
|
|
44
|
-
case 2: {
|
|
45
|
-
if (tag !== 16)
|
|
46
|
-
break;
|
|
47
|
-
message.pageSize = index_1.Long.fromValue(reader.int64());
|
|
48
|
-
continue;
|
|
49
|
-
}
|
|
50
|
-
case 3: {
|
|
51
|
-
if (tag !== 26)
|
|
52
|
-
break;
|
|
53
|
-
message.pageToken = reader.string();
|
|
54
|
-
continue;
|
|
55
|
-
}
|
|
56
|
-
default:
|
|
57
|
-
break;
|
|
58
|
-
}
|
|
59
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
60
|
-
break;
|
|
61
|
-
}
|
|
62
|
-
{
|
|
63
|
-
if (!writer)
|
|
64
|
-
writer = new index_1.BinaryWriter();
|
|
65
|
-
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
66
|
-
writer.uint32(tag).raw(skipped);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
if (writer) {
|
|
70
|
-
message[index_1.unknownFieldsSymbol] = writer.finish();
|
|
71
|
-
}
|
|
72
|
-
return message;
|
|
73
|
-
},
|
|
74
|
-
fromJSON(object) {
|
|
75
|
-
return applyListQuotaAllowancesRequestCustom({
|
|
76
|
-
$type: "nebius.quotas.v1.ListQuotaAllowancesRequest",
|
|
77
|
-
parentId: (0, index_1.isSet)(object.parentId ?? object.parent_id)
|
|
78
|
-
? String(object.parentId ?? object.parent_id)
|
|
79
|
-
: "",
|
|
80
|
-
pageSize: (0, index_1.isSet)(object.pageSize ?? object.page_size)
|
|
81
|
-
? index_1.Long.fromValue(object.pageSize ?? object.page_size)
|
|
82
|
-
: index_1.Long.ZERO,
|
|
83
|
-
pageToken: (0, index_1.isSet)(object.pageToken ?? object.page_token)
|
|
84
|
-
? String(object.pageToken ?? object.page_token)
|
|
85
|
-
: "",
|
|
86
|
-
});
|
|
87
|
-
},
|
|
88
|
-
toJSON(message, use = "json") {
|
|
89
|
-
const obj = {};
|
|
90
|
-
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
91
|
-
if (message.parentId !== "") {
|
|
92
|
-
obj[pick("parentId", "parent_id")] = message.parentId;
|
|
93
|
-
}
|
|
94
|
-
if (!message.pageSize?.isZero?.()) {
|
|
95
|
-
obj[pick("pageSize", "page_size")] = (message.pageSize || index_1.Long.ZERO).toString();
|
|
96
|
-
}
|
|
97
|
-
if (message.pageToken !== "") {
|
|
98
|
-
obj[pick("pageToken", "page_token")] = message.pageToken;
|
|
99
|
-
}
|
|
100
|
-
return obj;
|
|
101
|
-
},
|
|
102
|
-
create(base) {
|
|
103
|
-
return exports.ListQuotaAllowancesRequest.fromPartial(base ?? {});
|
|
104
|
-
},
|
|
105
|
-
fromPartial(object) {
|
|
106
|
-
const message = createBaseListQuotaAllowancesRequest();
|
|
107
|
-
message.parentId = (object.parentId !== undefined && object.parentId !== null)
|
|
108
|
-
? object.parentId
|
|
109
|
-
: "";
|
|
110
|
-
message.pageSize = (object.pageSize !== undefined && object.pageSize !== null)
|
|
111
|
-
? index_1.Long.fromValue(object.pageSize)
|
|
112
|
-
: index_1.Long.ZERO;
|
|
113
|
-
message.pageToken = (object.pageToken !== undefined && object.pageToken !== null)
|
|
114
|
-
? object.pageToken
|
|
115
|
-
: "";
|
|
116
|
-
return message;
|
|
117
|
-
},
|
|
118
|
-
};
|
|
119
|
-
protobuf_1.protoRegistry.registerMessage(exports.ListQuotaAllowancesRequest);
|
|
120
|
-
function ListQuotaAllowancesRequestCustomInspect() {
|
|
121
|
-
const parts = [];
|
|
122
|
-
if (this.parentId !== "")
|
|
123
|
-
parts.push("parentId" + "=" + (0, util_1.inspect)(this.parentId));
|
|
124
|
-
if (!this.pageSize?.isZero?.())
|
|
125
|
-
parts.push("pageSize" + "=" + (0, util_1.inspect)(this.pageSize));
|
|
126
|
-
if (this.pageToken !== "")
|
|
127
|
-
parts.push("pageToken" + "=" + (0, util_1.inspect)(this.pageToken));
|
|
128
|
-
return `${this.$type}(${parts.join(", ")})`;
|
|
129
|
-
}
|
|
130
|
-
function ListQuotaAllowancesRequestCustomJson() {
|
|
131
|
-
const obj = {
|
|
132
|
-
type: this.$type,
|
|
133
|
-
};
|
|
134
|
-
if (this.parentId !== "")
|
|
135
|
-
obj.parentId = (0, logging_1.inspectJson)(this.parentId);
|
|
136
|
-
if (!this.pageSize?.isZero?.())
|
|
137
|
-
obj.pageSize = (0, logging_1.inspectJson)(this.pageSize);
|
|
138
|
-
if (this.pageToken !== "")
|
|
139
|
-
obj.pageToken = (0, logging_1.inspectJson)(this.pageToken);
|
|
140
|
-
return obj;
|
|
141
|
-
}
|
|
142
|
-
function applyListQuotaAllowancesRequestCustom(message) {
|
|
143
|
-
message[logging_1.custom] = ListQuotaAllowancesRequestCustomInspect;
|
|
144
|
-
message[logging_1.customJson] = ListQuotaAllowancesRequestCustomJson;
|
|
145
|
-
return message;
|
|
146
|
-
}
|
|
147
|
-
function createBaseListQuotaAllowancesRequest() {
|
|
148
|
-
const message = {
|
|
149
|
-
$type: "nebius.quotas.v1.ListQuotaAllowancesRequest",
|
|
150
|
-
parentId: "",
|
|
151
|
-
pageSize: index_1.Long.ZERO,
|
|
152
|
-
pageToken: "",
|
|
153
|
-
};
|
|
154
|
-
return applyListQuotaAllowancesRequestCustom(message);
|
|
155
|
-
}
|
|
156
|
-
exports.GetQuotaAllowanceRequest = {
|
|
157
|
-
$type: "nebius.quotas.v1.GetQuotaAllowanceRequest",
|
|
158
|
-
encode(message, writer = new index_1.BinaryWriter()) {
|
|
159
|
-
if (message.id !== "") {
|
|
160
|
-
writer.uint32(10).string(message.id);
|
|
161
|
-
}
|
|
162
|
-
if (message[index_1.unknownFieldsSymbol]) {
|
|
163
|
-
writer.raw(message[index_1.unknownFieldsSymbol]);
|
|
164
|
-
}
|
|
165
|
-
return writer;
|
|
166
|
-
},
|
|
167
|
-
decode(input, length) {
|
|
168
|
-
const reader = input instanceof index_1.BinaryReader ? input : new index_1.BinaryReader(input);
|
|
169
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
170
|
-
const message = createBaseGetQuotaAllowanceRequest();
|
|
171
|
-
let writer = undefined;
|
|
172
|
-
while (reader.pos < end) {
|
|
173
|
-
const tag = reader.uint32();
|
|
174
|
-
switch (tag >>> 3) {
|
|
175
|
-
case 1: {
|
|
176
|
-
if (tag !== 10)
|
|
177
|
-
break;
|
|
178
|
-
message.id = reader.string();
|
|
179
|
-
continue;
|
|
180
|
-
}
|
|
181
|
-
default:
|
|
182
|
-
break;
|
|
183
|
-
}
|
|
184
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
185
|
-
break;
|
|
186
|
-
}
|
|
187
|
-
{
|
|
188
|
-
if (!writer)
|
|
189
|
-
writer = new index_1.BinaryWriter();
|
|
190
|
-
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
191
|
-
writer.uint32(tag).raw(skipped);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
if (writer) {
|
|
195
|
-
message[index_1.unknownFieldsSymbol] = writer.finish();
|
|
196
|
-
}
|
|
197
|
-
return message;
|
|
198
|
-
},
|
|
199
|
-
fromJSON(object) {
|
|
200
|
-
return applyGetQuotaAllowanceRequestCustom({
|
|
201
|
-
$type: "nebius.quotas.v1.GetQuotaAllowanceRequest",
|
|
202
|
-
id: (0, index_1.isSet)(object.id ?? object.id)
|
|
203
|
-
? String(object.id ?? object.id)
|
|
204
|
-
: "",
|
|
205
|
-
});
|
|
206
|
-
},
|
|
207
|
-
toJSON(message, use = "json") {
|
|
208
|
-
const obj = {};
|
|
209
|
-
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
210
|
-
if (message.id !== "") {
|
|
211
|
-
obj[pick("id", "id")] = message.id;
|
|
212
|
-
}
|
|
213
|
-
return obj;
|
|
214
|
-
},
|
|
215
|
-
create(base) {
|
|
216
|
-
return exports.GetQuotaAllowanceRequest.fromPartial(base ?? {});
|
|
217
|
-
},
|
|
218
|
-
fromPartial(object) {
|
|
219
|
-
const message = createBaseGetQuotaAllowanceRequest();
|
|
220
|
-
message.id = (object.id !== undefined && object.id !== null)
|
|
221
|
-
? object.id
|
|
222
|
-
: "";
|
|
223
|
-
return message;
|
|
224
|
-
},
|
|
225
|
-
};
|
|
226
|
-
protobuf_1.protoRegistry.registerMessage(exports.GetQuotaAllowanceRequest);
|
|
227
|
-
function GetQuotaAllowanceRequestCustomInspect() {
|
|
228
|
-
const parts = [];
|
|
229
|
-
if (this.id !== "")
|
|
230
|
-
parts.push("id" + "=" + (0, util_1.inspect)(this.id));
|
|
231
|
-
return `${this.$type}(${parts.join(", ")})`;
|
|
232
|
-
}
|
|
233
|
-
function GetQuotaAllowanceRequestCustomJson() {
|
|
234
|
-
const obj = {
|
|
235
|
-
type: this.$type,
|
|
236
|
-
};
|
|
237
|
-
if (this.id !== "")
|
|
238
|
-
obj.id = (0, logging_1.inspectJson)(this.id);
|
|
239
|
-
return obj;
|
|
240
|
-
}
|
|
241
|
-
function applyGetQuotaAllowanceRequestCustom(message) {
|
|
242
|
-
message[logging_1.custom] = GetQuotaAllowanceRequestCustomInspect;
|
|
243
|
-
message[logging_1.customJson] = GetQuotaAllowanceRequestCustomJson;
|
|
244
|
-
return message;
|
|
245
|
-
}
|
|
246
|
-
function createBaseGetQuotaAllowanceRequest() {
|
|
247
|
-
const message = {
|
|
248
|
-
$type: "nebius.quotas.v1.GetQuotaAllowanceRequest",
|
|
249
|
-
id: "",
|
|
250
|
-
};
|
|
251
|
-
return applyGetQuotaAllowanceRequestCustom(message);
|
|
252
|
-
}
|
|
253
|
-
exports.ListQuotaAllowancesResponse = {
|
|
254
|
-
$type: "nebius.quotas.v1.ListQuotaAllowancesResponse",
|
|
255
|
-
encode(message, writer = new index_1.BinaryWriter()) {
|
|
256
|
-
for (const v of (message.items ?? [])) {
|
|
257
|
-
const w = writer.uint32(10).fork();
|
|
258
|
-
exports.QuotaAllowance.encode(v, w);
|
|
259
|
-
w.join();
|
|
260
|
-
}
|
|
261
|
-
if (message.nextPageToken !== "") {
|
|
262
|
-
writer.uint32(18).string(message.nextPageToken);
|
|
263
|
-
}
|
|
264
|
-
if (message[index_1.unknownFieldsSymbol]) {
|
|
265
|
-
writer.raw(message[index_1.unknownFieldsSymbol]);
|
|
266
|
-
}
|
|
267
|
-
return writer;
|
|
268
|
-
},
|
|
269
|
-
decode(input, length) {
|
|
270
|
-
const reader = input instanceof index_1.BinaryReader ? input : new index_1.BinaryReader(input);
|
|
271
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
272
|
-
const message = createBaseListQuotaAllowancesResponse();
|
|
273
|
-
let writer = undefined;
|
|
274
|
-
while (reader.pos < end) {
|
|
275
|
-
const tag = reader.uint32();
|
|
276
|
-
switch (tag >>> 3) {
|
|
277
|
-
case 1: {
|
|
278
|
-
if (tag !== 10)
|
|
279
|
-
break;
|
|
280
|
-
message.items.push(exports.QuotaAllowance.decode(reader, reader.uint32()));
|
|
281
|
-
continue;
|
|
282
|
-
}
|
|
283
|
-
case 2: {
|
|
284
|
-
if (tag !== 18)
|
|
285
|
-
break;
|
|
286
|
-
message.nextPageToken = reader.string();
|
|
287
|
-
continue;
|
|
288
|
-
}
|
|
289
|
-
default:
|
|
290
|
-
break;
|
|
291
|
-
}
|
|
292
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
293
|
-
break;
|
|
294
|
-
}
|
|
295
|
-
{
|
|
296
|
-
if (!writer)
|
|
297
|
-
writer = new index_1.BinaryWriter();
|
|
298
|
-
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
299
|
-
writer.uint32(tag).raw(skipped);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
if (writer) {
|
|
303
|
-
message[index_1.unknownFieldsSymbol] = writer.finish();
|
|
304
|
-
}
|
|
305
|
-
return message;
|
|
306
|
-
},
|
|
307
|
-
fromJSON(object) {
|
|
308
|
-
return applyListQuotaAllowancesResponseCustom({
|
|
309
|
-
$type: "nebius.quotas.v1.ListQuotaAllowancesResponse",
|
|
310
|
-
items: globalThis.Array.isArray(object?.items ?? object?.items)
|
|
311
|
-
? (object.items ?? object.items).map((e) => exports.QuotaAllowance.fromJSON(e))
|
|
312
|
-
: [],
|
|
313
|
-
nextPageToken: (0, index_1.isSet)(object.nextPageToken ?? object.next_page_token)
|
|
314
|
-
? String(object.nextPageToken ?? object.next_page_token)
|
|
315
|
-
: "",
|
|
316
|
-
});
|
|
317
|
-
},
|
|
318
|
-
toJSON(message, use = "json") {
|
|
319
|
-
const obj = {};
|
|
320
|
-
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
321
|
-
if (message.items?.length) {
|
|
322
|
-
obj[pick("items", "items")] = message.items.map((e) => e ? exports.QuotaAllowance.toJSON(e, use) : undefined);
|
|
323
|
-
}
|
|
324
|
-
if (message.nextPageToken !== "") {
|
|
325
|
-
obj[pick("nextPageToken", "next_page_token")] = message.nextPageToken;
|
|
326
|
-
}
|
|
327
|
-
return obj;
|
|
328
|
-
},
|
|
329
|
-
create(base) {
|
|
330
|
-
return exports.ListQuotaAllowancesResponse.fromPartial(base ?? {});
|
|
331
|
-
},
|
|
332
|
-
fromPartial(object) {
|
|
333
|
-
const message = createBaseListQuotaAllowancesResponse();
|
|
334
|
-
message.items = object.items?.map((e) => exports.QuotaAllowance.fromPartial(e)) || [];
|
|
335
|
-
message.nextPageToken = (object.nextPageToken !== undefined && object.nextPageToken !== null)
|
|
336
|
-
? object.nextPageToken
|
|
337
|
-
: "";
|
|
338
|
-
return message;
|
|
339
|
-
},
|
|
340
|
-
};
|
|
341
|
-
protobuf_1.protoRegistry.registerMessage(exports.ListQuotaAllowancesResponse);
|
|
342
|
-
function ListQuotaAllowancesResponseCustomInspect() {
|
|
343
|
-
const parts = [];
|
|
344
|
-
if ((this.items?.length ?? 0) !== 0)
|
|
345
|
-
parts.push("items" + "=" + (0, util_1.inspect)(this.items));
|
|
346
|
-
if (this.nextPageToken !== "")
|
|
347
|
-
parts.push("nextPageToken" + "=" + (0, util_1.inspect)(this.nextPageToken));
|
|
348
|
-
return `${this.$type}(${parts.join(", ")})`;
|
|
349
|
-
}
|
|
350
|
-
function ListQuotaAllowancesResponseCustomJson() {
|
|
351
|
-
const obj = {
|
|
352
|
-
type: this.$type,
|
|
353
|
-
};
|
|
354
|
-
if ((this.items?.length ?? 0) !== 0)
|
|
355
|
-
obj.items = (0, logging_1.inspectJson)(this.items);
|
|
356
|
-
if (this.nextPageToken !== "")
|
|
357
|
-
obj.nextPageToken = (0, logging_1.inspectJson)(this.nextPageToken);
|
|
358
|
-
return obj;
|
|
359
|
-
}
|
|
360
|
-
function applyListQuotaAllowancesResponseCustom(message) {
|
|
361
|
-
message[logging_1.custom] = ListQuotaAllowancesResponseCustomInspect;
|
|
362
|
-
message[logging_1.customJson] = ListQuotaAllowancesResponseCustomJson;
|
|
363
|
-
return message;
|
|
364
|
-
}
|
|
365
|
-
function createBaseListQuotaAllowancesResponse() {
|
|
366
|
-
const message = {
|
|
367
|
-
$type: "nebius.quotas.v1.ListQuotaAllowancesResponse",
|
|
368
|
-
items: [],
|
|
369
|
-
nextPageToken: "",
|
|
370
|
-
};
|
|
371
|
-
return applyListQuotaAllowancesResponseCustom(message);
|
|
372
|
-
}
|
|
373
|
-
exports.GetByNameRequest = {
|
|
374
|
-
$type: "nebius.quotas.v1.GetByNameRequest",
|
|
375
|
-
encode(message, writer = new index_1.BinaryWriter()) {
|
|
376
|
-
if (message.parentId !== "") {
|
|
377
|
-
writer.uint32(10).string(message.parentId);
|
|
378
|
-
}
|
|
379
|
-
if (message.name !== "") {
|
|
380
|
-
writer.uint32(18).string(message.name);
|
|
381
|
-
}
|
|
382
|
-
if (message.region !== "") {
|
|
383
|
-
writer.uint32(26).string(message.region);
|
|
384
|
-
}
|
|
385
|
-
if (message[index_1.unknownFieldsSymbol]) {
|
|
386
|
-
writer.raw(message[index_1.unknownFieldsSymbol]);
|
|
387
|
-
}
|
|
388
|
-
return writer;
|
|
389
|
-
},
|
|
390
|
-
decode(input, length) {
|
|
391
|
-
const reader = input instanceof index_1.BinaryReader ? input : new index_1.BinaryReader(input);
|
|
392
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
393
|
-
const message = createBaseGetByNameRequest();
|
|
394
|
-
let writer = undefined;
|
|
395
|
-
while (reader.pos < end) {
|
|
396
|
-
const tag = reader.uint32();
|
|
397
|
-
switch (tag >>> 3) {
|
|
398
|
-
case 1: {
|
|
399
|
-
if (tag !== 10)
|
|
400
|
-
break;
|
|
401
|
-
message.parentId = reader.string();
|
|
402
|
-
continue;
|
|
403
|
-
}
|
|
404
|
-
case 2: {
|
|
405
|
-
if (tag !== 18)
|
|
406
|
-
break;
|
|
407
|
-
message.name = reader.string();
|
|
408
|
-
continue;
|
|
409
|
-
}
|
|
410
|
-
case 3: {
|
|
411
|
-
if (tag !== 26)
|
|
412
|
-
break;
|
|
413
|
-
message.region = reader.string();
|
|
414
|
-
continue;
|
|
415
|
-
}
|
|
416
|
-
default:
|
|
417
|
-
break;
|
|
418
|
-
}
|
|
419
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
420
|
-
break;
|
|
421
|
-
}
|
|
422
|
-
{
|
|
423
|
-
if (!writer)
|
|
424
|
-
writer = new index_1.BinaryWriter();
|
|
425
|
-
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
426
|
-
writer.uint32(tag).raw(skipped);
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
if (writer) {
|
|
430
|
-
message[index_1.unknownFieldsSymbol] = writer.finish();
|
|
431
|
-
}
|
|
432
|
-
return message;
|
|
433
|
-
},
|
|
434
|
-
fromJSON(object) {
|
|
435
|
-
return applyGetByNameRequestCustom({
|
|
436
|
-
$type: "nebius.quotas.v1.GetByNameRequest",
|
|
437
|
-
parentId: (0, index_1.isSet)(object.parentId ?? object.parent_id)
|
|
438
|
-
? String(object.parentId ?? object.parent_id)
|
|
439
|
-
: "",
|
|
440
|
-
name: (0, index_1.isSet)(object.name ?? object.name)
|
|
441
|
-
? String(object.name ?? object.name)
|
|
442
|
-
: "",
|
|
443
|
-
region: (0, index_1.isSet)(object.region ?? object.region)
|
|
444
|
-
? String(object.region ?? object.region)
|
|
445
|
-
: "",
|
|
446
|
-
});
|
|
447
|
-
},
|
|
448
|
-
toJSON(message, use = "json") {
|
|
449
|
-
const obj = {};
|
|
450
|
-
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
451
|
-
if (message.parentId !== "") {
|
|
452
|
-
obj[pick("parentId", "parent_id")] = message.parentId;
|
|
453
|
-
}
|
|
454
|
-
if (message.name !== "") {
|
|
455
|
-
obj[pick("name", "name")] = message.name;
|
|
456
|
-
}
|
|
457
|
-
if (message.region !== "") {
|
|
458
|
-
obj[pick("region", "region")] = message.region;
|
|
459
|
-
}
|
|
460
|
-
return obj;
|
|
461
|
-
},
|
|
462
|
-
create(base) {
|
|
463
|
-
return exports.GetByNameRequest.fromPartial(base ?? {});
|
|
464
|
-
},
|
|
465
|
-
fromPartial(object) {
|
|
466
|
-
const message = createBaseGetByNameRequest();
|
|
467
|
-
message.parentId = (object.parentId !== undefined && object.parentId !== null)
|
|
468
|
-
? object.parentId
|
|
469
|
-
: "";
|
|
470
|
-
message.name = (object.name !== undefined && object.name !== null)
|
|
471
|
-
? object.name
|
|
472
|
-
: "";
|
|
473
|
-
message.region = (object.region !== undefined && object.region !== null)
|
|
474
|
-
? object.region
|
|
475
|
-
: "";
|
|
476
|
-
return message;
|
|
477
|
-
},
|
|
478
|
-
};
|
|
479
|
-
protobuf_1.protoRegistry.registerMessage(exports.GetByNameRequest);
|
|
480
|
-
function GetByNameRequestCustomInspect() {
|
|
481
|
-
const parts = [];
|
|
482
|
-
if (this.parentId !== "")
|
|
483
|
-
parts.push("parentId" + "=" + (0, util_1.inspect)(this.parentId));
|
|
484
|
-
if (this.name !== "")
|
|
485
|
-
parts.push("name" + "=" + (0, util_1.inspect)(this.name));
|
|
486
|
-
if (this.region !== "")
|
|
487
|
-
parts.push("region" + "=" + (0, util_1.inspect)(this.region));
|
|
488
|
-
return `${this.$type}(${parts.join(", ")})`;
|
|
489
|
-
}
|
|
490
|
-
function GetByNameRequestCustomJson() {
|
|
491
|
-
const obj = {
|
|
492
|
-
type: this.$type,
|
|
493
|
-
};
|
|
494
|
-
if (this.parentId !== "")
|
|
495
|
-
obj.parentId = (0, logging_1.inspectJson)(this.parentId);
|
|
496
|
-
if (this.name !== "")
|
|
497
|
-
obj.name = (0, logging_1.inspectJson)(this.name);
|
|
498
|
-
if (this.region !== "")
|
|
499
|
-
obj.region = (0, logging_1.inspectJson)(this.region);
|
|
500
|
-
return obj;
|
|
501
|
-
}
|
|
502
|
-
function applyGetByNameRequestCustom(message) {
|
|
503
|
-
message[logging_1.custom] = GetByNameRequestCustomInspect;
|
|
504
|
-
message[logging_1.customJson] = GetByNameRequestCustomJson;
|
|
505
|
-
return message;
|
|
506
|
-
}
|
|
507
|
-
function createBaseGetByNameRequest() {
|
|
508
|
-
const message = {
|
|
509
|
-
$type: "nebius.quotas.v1.GetByNameRequest",
|
|
510
|
-
parentId: "",
|
|
511
|
-
name: "",
|
|
512
|
-
region: "",
|
|
513
|
-
};
|
|
514
|
-
return applyGetByNameRequestCustom(message);
|
|
515
|
-
}
|
|
516
|
-
exports.QuotaAllowanceServiceServiceDescription = {
|
|
517
|
-
list: {
|
|
518
|
-
path: "/nebius.quotas.v1.QuotaAllowanceService/List",
|
|
519
|
-
requestStream: false,
|
|
520
|
-
responseStream: false,
|
|
521
|
-
requestSerialize: (value) => Buffer.from(exports.ListQuotaAllowancesRequest.encode(value).finish()),
|
|
522
|
-
requestDeserialize: (value) => exports.ListQuotaAllowancesRequest.decode(value),
|
|
523
|
-
responseSerialize: (value) => Buffer.from(exports.ListQuotaAllowancesResponse.encode(value).finish()),
|
|
524
|
-
responseDeserialize: (value) => exports.ListQuotaAllowancesResponse.decode(value),
|
|
525
|
-
},
|
|
526
|
-
get: {
|
|
527
|
-
path: "/nebius.quotas.v1.QuotaAllowanceService/Get",
|
|
528
|
-
requestStream: false,
|
|
529
|
-
responseStream: false,
|
|
530
|
-
requestSerialize: (value) => Buffer.from(exports.GetQuotaAllowanceRequest.encode(value).finish()),
|
|
531
|
-
requestDeserialize: (value) => exports.GetQuotaAllowanceRequest.decode(value),
|
|
532
|
-
responseSerialize: (value) => Buffer.from(exports.QuotaAllowance.encode(value).finish()),
|
|
533
|
-
responseDeserialize: (value) => exports.QuotaAllowance.decode(value),
|
|
534
|
-
},
|
|
535
|
-
getByName: {
|
|
536
|
-
path: "/nebius.quotas.v1.QuotaAllowanceService/GetByName",
|
|
537
|
-
requestStream: false,
|
|
538
|
-
responseStream: false,
|
|
539
|
-
requestSerialize: (value) => Buffer.from(exports.GetByNameRequest.encode(value).finish()),
|
|
540
|
-
requestDeserialize: (value) => exports.GetByNameRequest.decode(value),
|
|
541
|
-
responseSerialize: (value) => Buffer.from(exports.QuotaAllowance.encode(value).finish()),
|
|
542
|
-
responseDeserialize: (value) => exports.QuotaAllowance.decode(value),
|
|
543
|
-
},
|
|
544
|
-
};
|
|
545
|
-
exports.QuotaAllowanceServiceBaseClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.QuotaAllowanceServiceServiceDescription, "nebius.quotas.v1.QuotaAllowanceService");
|
|
546
|
-
class QuotaAllowanceService {
|
|
547
|
-
sdk;
|
|
548
|
-
$type = "nebius.quotas.v1.QuotaAllowanceService";
|
|
549
|
-
addr;
|
|
550
|
-
spec;
|
|
551
|
-
apiServiceName = "quota-dispatcher.billing-cpl";
|
|
552
|
-
constructor(sdk) {
|
|
553
|
-
this.sdk = sdk;
|
|
554
|
-
const addr = sdk.getAddressFromServiceName(this.$type, this.apiServiceName);
|
|
555
|
-
this.addr = addr;
|
|
556
|
-
this.spec = exports.QuotaAllowanceServiceServiceDescription;
|
|
557
|
-
}
|
|
558
|
-
list(...args) {
|
|
559
|
-
const spec = this.spec.list;
|
|
560
|
-
const request = args[0];
|
|
561
|
-
const metadata = (args.length > 1 ? args[1] : undefined);
|
|
562
|
-
const options = (args.length > 2 ? args[2] : undefined);
|
|
563
|
-
const deserialize = spec.responseDeserialize;
|
|
564
|
-
return new request_1.Request(this.sdk, this.$type, "List", this.addr, spec.requestSerialize, deserialize, request, metadata, options);
|
|
565
|
-
}
|
|
566
|
-
get(...args) {
|
|
567
|
-
const spec = this.spec.get;
|
|
568
|
-
const request = args[0];
|
|
569
|
-
const metadata = (args.length > 1 ? args[1] : undefined);
|
|
570
|
-
const options = (args.length > 2 ? args[2] : undefined);
|
|
571
|
-
const deserialize = spec.responseDeserialize;
|
|
572
|
-
return new request_1.Request(this.sdk, this.$type, "Get", this.addr, spec.requestSerialize, deserialize, request, metadata, options);
|
|
573
|
-
}
|
|
574
|
-
getByName(...args) {
|
|
575
|
-
const spec = this.spec.getByName;
|
|
576
|
-
const request = args[0];
|
|
577
|
-
const metadata = (args.length > 1 ? args[1] : undefined);
|
|
578
|
-
const options = (args.length > 2 ? args[2] : undefined);
|
|
579
|
-
const deserialize = spec.responseDeserialize;
|
|
580
|
-
return new request_1.Request(this.sdk, this.$type, "GetByName", this.addr, spec.requestSerialize, deserialize, request, metadata, options);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
exports.QuotaAllowanceService = QuotaAllowanceService;
|
|
584
|
-
const QuotaAllowanceStatus_State_VALUE_COMMENTS = {
|
|
585
|
-
STATE_PROVISIONING: " Quota is being allocated; the process can take up to several minutes.\n",
|
|
586
|
-
STATE_ACTIVE: " Quota is allocated and can be used.\n",
|
|
587
|
-
STATE_FROZEN: " Quota is allocated but cannot be used any longer\n",
|
|
588
|
-
STATE_DELETED: " Quota has been removed and is no longer allocated.\n",
|
|
589
|
-
};
|
|
590
|
-
exports.QuotaAllowanceStatus_State = (0, index_1.createEnum)("nebius.quotas.v1.QuotaAllowanceStatus.State", {
|
|
591
|
-
STATE_UNSPECIFIED: 0,
|
|
592
|
-
/**
|
|
593
|
-
* Quota is being allocated; the process can take up to several minutes.
|
|
594
|
-
*
|
|
595
|
-
*/
|
|
596
|
-
STATE_PROVISIONING: 1,
|
|
597
|
-
/**
|
|
598
|
-
* Quota is allocated and can be used.
|
|
599
|
-
*
|
|
600
|
-
*/
|
|
601
|
-
STATE_ACTIVE: 2,
|
|
602
|
-
/**
|
|
603
|
-
* Quota is allocated but cannot be used any longer
|
|
604
|
-
*
|
|
605
|
-
*/
|
|
606
|
-
STATE_FROZEN: 3,
|
|
607
|
-
/**
|
|
608
|
-
* Quota has been removed and is no longer allocated.
|
|
609
|
-
*
|
|
610
|
-
*/
|
|
611
|
-
STATE_DELETED: 10,
|
|
612
|
-
}, QuotaAllowanceStatus_State_VALUE_COMMENTS);
|
|
613
|
-
protobuf_1.protoRegistry.registerEnum(exports.QuotaAllowanceStatus_State);
|
|
614
|
-
const QuotaAllowanceStatus_UsageState_VALUE_COMMENTS = {
|
|
615
|
-
USAGE_STATE_USED: " Quota is actively in use.\n",
|
|
616
|
-
USAGE_STATE_NOT_USED: " Quota is not currently in use.\n",
|
|
617
|
-
USAGE_STATE_UNKNOWN: " Quota region is unreachable, the current usage is therefore unknown.\n Please, retry the request later.\n",
|
|
618
|
-
USAGE_STATE_NOT_APPLICABLE: " Quota usage is not applicable\n",
|
|
619
|
-
};
|
|
620
|
-
exports.QuotaAllowanceStatus_UsageState = (0, index_1.createEnum)("nebius.quotas.v1.QuotaAllowanceStatus.UsageState", {
|
|
621
|
-
USAGE_STATE_UNSPECIFIED: 0,
|
|
622
|
-
/**
|
|
623
|
-
* Quota is actively in use.
|
|
624
|
-
*
|
|
625
|
-
*/
|
|
626
|
-
USAGE_STATE_USED: 1,
|
|
627
|
-
/**
|
|
628
|
-
* Quota is not currently in use.
|
|
629
|
-
*
|
|
630
|
-
*/
|
|
631
|
-
USAGE_STATE_NOT_USED: 2,
|
|
632
|
-
/**
|
|
633
|
-
* Quota region is unreachable, the current usage is therefore unknown.
|
|
634
|
-
* Please, retry the request later.
|
|
635
|
-
*
|
|
636
|
-
*/
|
|
637
|
-
USAGE_STATE_UNKNOWN: 3,
|
|
638
|
-
/**
|
|
639
|
-
* Quota usage is not applicable
|
|
640
|
-
*
|
|
641
|
-
*/
|
|
642
|
-
USAGE_STATE_NOT_APPLICABLE: 4,
|
|
643
|
-
}, QuotaAllowanceStatus_UsageState_VALUE_COMMENTS);
|
|
644
|
-
protobuf_1.protoRegistry.registerEnum(exports.QuotaAllowanceStatus_UsageState);
|
|
645
|
-
exports.QuotaAllowanceSpec = {
|
|
646
|
-
$type: "nebius.quotas.v1.QuotaAllowanceSpec",
|
|
647
|
-
encode(message, writer = new index_1.BinaryWriter()) {
|
|
648
|
-
if (message.limit !== undefined) {
|
|
649
|
-
writer.uint32(8).uint64(message.limit.toString());
|
|
650
|
-
}
|
|
651
|
-
if (message.region !== "") {
|
|
652
|
-
writer.uint32(18).string(message.region);
|
|
653
|
-
}
|
|
654
|
-
if (message[index_1.unknownFieldsSymbol]) {
|
|
655
|
-
writer.raw(message[index_1.unknownFieldsSymbol]);
|
|
656
|
-
}
|
|
657
|
-
return writer;
|
|
658
|
-
},
|
|
659
|
-
decode(input, length) {
|
|
660
|
-
const reader = input instanceof index_1.BinaryReader ? input : new index_1.BinaryReader(input);
|
|
661
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
662
|
-
const message = createBaseQuotaAllowanceSpec();
|
|
663
|
-
let writer = undefined;
|
|
664
|
-
while (reader.pos < end) {
|
|
665
|
-
const tag = reader.uint32();
|
|
666
|
-
switch (tag >>> 3) {
|
|
667
|
-
case 1: {
|
|
668
|
-
if (tag !== 8)
|
|
669
|
-
break;
|
|
670
|
-
message.limit = index_1.Long.fromValue(reader.uint64());
|
|
671
|
-
continue;
|
|
672
|
-
}
|
|
673
|
-
case 2: {
|
|
674
|
-
if (tag !== 18)
|
|
675
|
-
break;
|
|
676
|
-
message.region = reader.string();
|
|
677
|
-
continue;
|
|
678
|
-
}
|
|
679
|
-
default:
|
|
680
|
-
break;
|
|
681
|
-
}
|
|
682
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
683
|
-
break;
|
|
684
|
-
}
|
|
685
|
-
{
|
|
686
|
-
if (!writer)
|
|
687
|
-
writer = new index_1.BinaryWriter();
|
|
688
|
-
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
689
|
-
writer.uint32(tag).raw(skipped);
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
if (writer) {
|
|
693
|
-
message[index_1.unknownFieldsSymbol] = writer.finish();
|
|
694
|
-
}
|
|
695
|
-
return message;
|
|
696
|
-
},
|
|
697
|
-
fromJSON(object) {
|
|
698
|
-
return applyQuotaAllowanceSpecCustom({
|
|
699
|
-
$type: "nebius.quotas.v1.QuotaAllowanceSpec",
|
|
700
|
-
limit: (0, index_1.isSet)(object.limit ?? object.limit)
|
|
701
|
-
? index_1.Long.fromValue(object.limit ?? object.limit)
|
|
702
|
-
: undefined,
|
|
703
|
-
region: (0, index_1.isSet)(object.region ?? object.region)
|
|
704
|
-
? String(object.region ?? object.region)
|
|
705
|
-
: "",
|
|
706
|
-
});
|
|
707
|
-
},
|
|
708
|
-
toJSON(message, use = "json") {
|
|
709
|
-
const obj = {};
|
|
710
|
-
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
711
|
-
if (message.limit !== undefined) {
|
|
712
|
-
obj[pick("limit", "limit")] = (message.limit || index_1.Long.ZERO).toString();
|
|
713
|
-
}
|
|
714
|
-
if (message.region !== "") {
|
|
715
|
-
obj[pick("region", "region")] = message.region;
|
|
716
|
-
}
|
|
717
|
-
return obj;
|
|
718
|
-
},
|
|
719
|
-
create(base) {
|
|
720
|
-
return exports.QuotaAllowanceSpec.fromPartial(base ?? {});
|
|
721
|
-
},
|
|
722
|
-
fromPartial(object) {
|
|
723
|
-
const message = createBaseQuotaAllowanceSpec();
|
|
724
|
-
message.limit = (object.limit !== undefined && object.limit !== null)
|
|
725
|
-
? index_1.Long.fromValue(object.limit)
|
|
726
|
-
: undefined;
|
|
727
|
-
message.region = (object.region !== undefined && object.region !== null)
|
|
728
|
-
? object.region
|
|
729
|
-
: "";
|
|
730
|
-
return message;
|
|
731
|
-
},
|
|
732
|
-
};
|
|
733
|
-
protobuf_1.protoRegistry.registerMessage(exports.QuotaAllowanceSpec);
|
|
734
|
-
function QuotaAllowanceSpecCustomInspect() {
|
|
735
|
-
const parts = [];
|
|
736
|
-
if (this.limit !== undefined)
|
|
737
|
-
parts.push("limit" + "=" + (0, util_1.inspect)(this.limit));
|
|
738
|
-
if (this.region !== "")
|
|
739
|
-
parts.push("region" + "=" + (0, util_1.inspect)(this.region));
|
|
740
|
-
return `${this.$type}(${parts.join(", ")})`;
|
|
741
|
-
}
|
|
742
|
-
function QuotaAllowanceSpecCustomJson() {
|
|
743
|
-
const obj = {
|
|
744
|
-
type: this.$type,
|
|
745
|
-
};
|
|
746
|
-
if (this.limit !== undefined)
|
|
747
|
-
obj.limit = (0, logging_1.inspectJson)(this.limit);
|
|
748
|
-
if (this.region !== "")
|
|
749
|
-
obj.region = (0, logging_1.inspectJson)(this.region);
|
|
750
|
-
return obj;
|
|
751
|
-
}
|
|
752
|
-
function applyQuotaAllowanceSpecCustom(message) {
|
|
753
|
-
message[logging_1.custom] = QuotaAllowanceSpecCustomInspect;
|
|
754
|
-
message[logging_1.customJson] = QuotaAllowanceSpecCustomJson;
|
|
755
|
-
return message;
|
|
756
|
-
}
|
|
757
|
-
function createBaseQuotaAllowanceSpec() {
|
|
758
|
-
const message = {
|
|
759
|
-
$type: "nebius.quotas.v1.QuotaAllowanceSpec",
|
|
760
|
-
limit: undefined,
|
|
761
|
-
region: "",
|
|
762
|
-
};
|
|
763
|
-
return applyQuotaAllowanceSpecCustom(message);
|
|
764
|
-
}
|
|
765
|
-
exports.QuotaAllowanceStatus = {
|
|
766
|
-
$type: "nebius.quotas.v1.QuotaAllowanceStatus",
|
|
767
|
-
encode(message, writer = new index_1.BinaryWriter()) {
|
|
768
|
-
if ((message.state ?? exports.QuotaAllowanceStatus_State.STATE_UNSPECIFIED) !== exports.QuotaAllowanceStatus_State.STATE_UNSPECIFIED) {
|
|
769
|
-
exports.QuotaAllowanceStatus_State.encodeField(writer, 1, message.state);
|
|
770
|
-
}
|
|
771
|
-
if (message.usage !== undefined && !message.usage.isZero?.()) {
|
|
772
|
-
writer.uint32(16).uint64(message.usage.toString());
|
|
773
|
-
}
|
|
774
|
-
if (message.service !== "") {
|
|
775
|
-
writer.uint32(26).string(message.service);
|
|
776
|
-
}
|
|
777
|
-
if (message.description !== "") {
|
|
778
|
-
writer.uint32(50).string(message.description);
|
|
779
|
-
}
|
|
780
|
-
if (message.serviceDescription !== "") {
|
|
781
|
-
writer.uint32(58).string(message.serviceDescription);
|
|
782
|
-
}
|
|
783
|
-
if (message.unit !== "") {
|
|
784
|
-
writer.uint32(66).string(message.unit);
|
|
785
|
-
}
|
|
786
|
-
if (message.usagePercentage !== "") {
|
|
787
|
-
writer.uint32(74).string(message.usagePercentage);
|
|
788
|
-
}
|
|
789
|
-
if ((message.usageState ?? exports.QuotaAllowanceStatus_UsageState.USAGE_STATE_UNSPECIFIED) !== exports.QuotaAllowanceStatus_UsageState.USAGE_STATE_UNSPECIFIED) {
|
|
790
|
-
exports.QuotaAllowanceStatus_UsageState.encodeField(writer, 10, message.usageState);
|
|
791
|
-
}
|
|
792
|
-
if (message[index_1.unknownFieldsSymbol]) {
|
|
793
|
-
writer.raw(message[index_1.unknownFieldsSymbol]);
|
|
794
|
-
}
|
|
795
|
-
return writer;
|
|
796
|
-
},
|
|
797
|
-
decode(input, length) {
|
|
798
|
-
const reader = input instanceof index_1.BinaryReader ? input : new index_1.BinaryReader(input);
|
|
799
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
800
|
-
const message = createBaseQuotaAllowanceStatus();
|
|
801
|
-
let writer = undefined;
|
|
802
|
-
while (reader.pos < end) {
|
|
803
|
-
const tag = reader.uint32();
|
|
804
|
-
switch (tag >>> 3) {
|
|
805
|
-
case 1: {
|
|
806
|
-
if (tag !== 8)
|
|
807
|
-
break;
|
|
808
|
-
message.state = exports.QuotaAllowanceStatus_State.fromNumber(reader.int32());
|
|
809
|
-
continue;
|
|
810
|
-
}
|
|
811
|
-
case 2: {
|
|
812
|
-
if (tag !== 16)
|
|
813
|
-
break;
|
|
814
|
-
message.usage = index_1.Long.fromValue(reader.uint64());
|
|
815
|
-
continue;
|
|
816
|
-
}
|
|
817
|
-
case 3: {
|
|
818
|
-
if (tag !== 26)
|
|
819
|
-
break;
|
|
820
|
-
message.service = reader.string();
|
|
821
|
-
continue;
|
|
822
|
-
}
|
|
823
|
-
case 6: {
|
|
824
|
-
if (tag !== 50)
|
|
825
|
-
break;
|
|
826
|
-
message.description = reader.string();
|
|
827
|
-
continue;
|
|
828
|
-
}
|
|
829
|
-
case 7: {
|
|
830
|
-
if (tag !== 58)
|
|
831
|
-
break;
|
|
832
|
-
message.serviceDescription = reader.string();
|
|
833
|
-
continue;
|
|
834
|
-
}
|
|
835
|
-
case 8: {
|
|
836
|
-
if (tag !== 66)
|
|
837
|
-
break;
|
|
838
|
-
message.unit = reader.string();
|
|
839
|
-
continue;
|
|
840
|
-
}
|
|
841
|
-
case 9: {
|
|
842
|
-
if (tag !== 74)
|
|
843
|
-
break;
|
|
844
|
-
message.usagePercentage = reader.string();
|
|
845
|
-
continue;
|
|
846
|
-
}
|
|
847
|
-
case 10: {
|
|
848
|
-
if (tag !== 80)
|
|
849
|
-
break;
|
|
850
|
-
message.usageState = exports.QuotaAllowanceStatus_UsageState.fromNumber(reader.int32());
|
|
851
|
-
continue;
|
|
852
|
-
}
|
|
853
|
-
default:
|
|
854
|
-
break;
|
|
855
|
-
}
|
|
856
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
857
|
-
break;
|
|
858
|
-
}
|
|
859
|
-
{
|
|
860
|
-
if (!writer)
|
|
861
|
-
writer = new index_1.BinaryWriter();
|
|
862
|
-
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
863
|
-
writer.uint32(tag).raw(skipped);
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
if (writer) {
|
|
867
|
-
message[index_1.unknownFieldsSymbol] = writer.finish();
|
|
868
|
-
}
|
|
869
|
-
return message;
|
|
870
|
-
},
|
|
871
|
-
fromJSON(object) {
|
|
872
|
-
return applyQuotaAllowanceStatusCustom({
|
|
873
|
-
$type: "nebius.quotas.v1.QuotaAllowanceStatus",
|
|
874
|
-
state: (0, index_1.isSet)(object.state ?? object.state)
|
|
875
|
-
? exports.QuotaAllowanceStatus_State.fromJSON(object.state ?? object.state)
|
|
876
|
-
: exports.QuotaAllowanceStatus_State.STATE_UNSPECIFIED,
|
|
877
|
-
usage: (0, index_1.isSet)(object.usage ?? object.usage)
|
|
878
|
-
? index_1.Long.fromValue(object.usage ?? object.usage)
|
|
879
|
-
: index_1.Long.ZERO,
|
|
880
|
-
service: (0, index_1.isSet)(object.service ?? object.service)
|
|
881
|
-
? String(object.service ?? object.service)
|
|
882
|
-
: "",
|
|
883
|
-
description: (0, index_1.isSet)(object.description ?? object.description)
|
|
884
|
-
? String(object.description ?? object.description)
|
|
885
|
-
: "",
|
|
886
|
-
serviceDescription: (0, index_1.isSet)(object.serviceDescription ?? object.service_description)
|
|
887
|
-
? String(object.serviceDescription ?? object.service_description)
|
|
888
|
-
: "",
|
|
889
|
-
unit: (0, index_1.isSet)(object.unit ?? object.unit)
|
|
890
|
-
? String(object.unit ?? object.unit)
|
|
891
|
-
: "",
|
|
892
|
-
usagePercentage: (0, index_1.isSet)(object.usagePercentage ?? object.usage_percentage)
|
|
893
|
-
? String(object.usagePercentage ?? object.usage_percentage)
|
|
894
|
-
: "",
|
|
895
|
-
usageState: (0, index_1.isSet)(object.usageState ?? object.usage_state)
|
|
896
|
-
? exports.QuotaAllowanceStatus_UsageState.fromJSON(object.usageState ?? object.usage_state)
|
|
897
|
-
: exports.QuotaAllowanceStatus_UsageState.USAGE_STATE_UNSPECIFIED,
|
|
898
|
-
});
|
|
899
|
-
},
|
|
900
|
-
toJSON(message, use = "json") {
|
|
901
|
-
const obj = {};
|
|
902
|
-
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
903
|
-
if ((message.state ?? exports.QuotaAllowanceStatus_State.STATE_UNSPECIFIED) !== exports.QuotaAllowanceStatus_State.STATE_UNSPECIFIED) {
|
|
904
|
-
obj[pick("state", "state")] = exports.QuotaAllowanceStatus_State.toJSON(message.state);
|
|
905
|
-
}
|
|
906
|
-
if (!message.usage?.isZero?.()) {
|
|
907
|
-
obj[pick("usage", "usage")] = (message.usage || index_1.Long.ZERO).toString();
|
|
908
|
-
}
|
|
909
|
-
if (message.service !== "") {
|
|
910
|
-
obj[pick("service", "service")] = message.service;
|
|
911
|
-
}
|
|
912
|
-
if (message.description !== "") {
|
|
913
|
-
obj[pick("description", "description")] = message.description;
|
|
914
|
-
}
|
|
915
|
-
if (message.serviceDescription !== "") {
|
|
916
|
-
obj[pick("serviceDescription", "service_description")] = message.serviceDescription;
|
|
917
|
-
}
|
|
918
|
-
if (message.unit !== "") {
|
|
919
|
-
obj[pick("unit", "unit")] = message.unit;
|
|
920
|
-
}
|
|
921
|
-
if (message.usagePercentage !== "") {
|
|
922
|
-
obj[pick("usagePercentage", "usage_percentage")] = message.usagePercentage;
|
|
923
|
-
}
|
|
924
|
-
if ((message.usageState ?? exports.QuotaAllowanceStatus_UsageState.USAGE_STATE_UNSPECIFIED) !== exports.QuotaAllowanceStatus_UsageState.USAGE_STATE_UNSPECIFIED) {
|
|
925
|
-
obj[pick("usageState", "usage_state")] = exports.QuotaAllowanceStatus_UsageState.toJSON(message.usageState);
|
|
926
|
-
}
|
|
927
|
-
return obj;
|
|
928
|
-
},
|
|
929
|
-
create(base) {
|
|
930
|
-
return exports.QuotaAllowanceStatus.fromPartial(base ?? {});
|
|
931
|
-
},
|
|
932
|
-
fromPartial(object) {
|
|
933
|
-
const message = createBaseQuotaAllowanceStatus();
|
|
934
|
-
message.state = (object.state !== undefined && object.state !== null)
|
|
935
|
-
? exports.QuotaAllowanceStatus_State.fromJSON(object.state.name)
|
|
936
|
-
: exports.QuotaAllowanceStatus_State.STATE_UNSPECIFIED;
|
|
937
|
-
message.usage = (object.usage !== undefined && object.usage !== null)
|
|
938
|
-
? index_1.Long.fromValue(object.usage)
|
|
939
|
-
: index_1.Long.ZERO;
|
|
940
|
-
message.service = (object.service !== undefined && object.service !== null)
|
|
941
|
-
? object.service
|
|
942
|
-
: "";
|
|
943
|
-
message.description = (object.description !== undefined && object.description !== null)
|
|
944
|
-
? object.description
|
|
945
|
-
: "";
|
|
946
|
-
message.serviceDescription = (object.serviceDescription !== undefined && object.serviceDescription !== null)
|
|
947
|
-
? object.serviceDescription
|
|
948
|
-
: "";
|
|
949
|
-
message.unit = (object.unit !== undefined && object.unit !== null)
|
|
950
|
-
? object.unit
|
|
951
|
-
: "";
|
|
952
|
-
message.usagePercentage = (object.usagePercentage !== undefined && object.usagePercentage !== null)
|
|
953
|
-
? object.usagePercentage
|
|
954
|
-
: "";
|
|
955
|
-
message.usageState = (object.usageState !== undefined && object.usageState !== null)
|
|
956
|
-
? exports.QuotaAllowanceStatus_UsageState.fromJSON(object.usageState.name)
|
|
957
|
-
: exports.QuotaAllowanceStatus_UsageState.USAGE_STATE_UNSPECIFIED;
|
|
958
|
-
return message;
|
|
959
|
-
},
|
|
960
|
-
};
|
|
961
|
-
protobuf_1.protoRegistry.registerMessage(exports.QuotaAllowanceStatus);
|
|
962
|
-
function QuotaAllowanceStatusCustomInspect() {
|
|
963
|
-
const parts = [];
|
|
964
|
-
if (this.state !== undefined)
|
|
965
|
-
parts.push("state" + "=" + (0, util_1.inspect)(this.state));
|
|
966
|
-
if (!this.usage?.isZero?.())
|
|
967
|
-
parts.push("usage" + "=" + (0, util_1.inspect)(this.usage));
|
|
968
|
-
if (this.service !== "")
|
|
969
|
-
parts.push("service" + "=" + (0, util_1.inspect)(this.service));
|
|
970
|
-
if (this.description !== "")
|
|
971
|
-
parts.push("description" + "=" + (0, util_1.inspect)(this.description));
|
|
972
|
-
if (this.serviceDescription !== "")
|
|
973
|
-
parts.push("serviceDescription" + "=" + (0, util_1.inspect)(this.serviceDescription));
|
|
974
|
-
if (this.unit !== "")
|
|
975
|
-
parts.push("unit" + "=" + (0, util_1.inspect)(this.unit));
|
|
976
|
-
if (this.usagePercentage !== "")
|
|
977
|
-
parts.push("usagePercentage" + "=" + (0, util_1.inspect)(this.usagePercentage));
|
|
978
|
-
if (this.usageState !== undefined)
|
|
979
|
-
parts.push("usageState" + "=" + (0, util_1.inspect)(this.usageState));
|
|
980
|
-
return `${this.$type}(${parts.join(", ")})`;
|
|
981
|
-
}
|
|
982
|
-
function QuotaAllowanceStatusCustomJson() {
|
|
983
|
-
const obj = {
|
|
984
|
-
type: this.$type,
|
|
985
|
-
};
|
|
986
|
-
if (this.state !== undefined)
|
|
987
|
-
obj.state = (0, logging_1.inspectJson)(this.state);
|
|
988
|
-
if (!this.usage?.isZero?.())
|
|
989
|
-
obj.usage = (0, logging_1.inspectJson)(this.usage);
|
|
990
|
-
if (this.service !== "")
|
|
991
|
-
obj.service = (0, logging_1.inspectJson)(this.service);
|
|
992
|
-
if (this.description !== "")
|
|
993
|
-
obj.description = (0, logging_1.inspectJson)(this.description);
|
|
994
|
-
if (this.serviceDescription !== "")
|
|
995
|
-
obj.serviceDescription = (0, logging_1.inspectJson)(this.serviceDescription);
|
|
996
|
-
if (this.unit !== "")
|
|
997
|
-
obj.unit = (0, logging_1.inspectJson)(this.unit);
|
|
998
|
-
if (this.usagePercentage !== "")
|
|
999
|
-
obj.usagePercentage = (0, logging_1.inspectJson)(this.usagePercentage);
|
|
1000
|
-
if (this.usageState !== undefined)
|
|
1001
|
-
obj.usageState = (0, logging_1.inspectJson)(this.usageState);
|
|
1002
|
-
return obj;
|
|
1003
|
-
}
|
|
1004
|
-
function applyQuotaAllowanceStatusCustom(message) {
|
|
1005
|
-
message[logging_1.custom] = QuotaAllowanceStatusCustomInspect;
|
|
1006
|
-
message[logging_1.customJson] = QuotaAllowanceStatusCustomJson;
|
|
1007
|
-
return message;
|
|
1008
|
-
}
|
|
1009
|
-
function createBaseQuotaAllowanceStatus() {
|
|
1010
|
-
const message = {
|
|
1011
|
-
$type: "nebius.quotas.v1.QuotaAllowanceStatus",
|
|
1012
|
-
state: exports.QuotaAllowanceStatus_State.STATE_UNSPECIFIED,
|
|
1013
|
-
usage: index_1.Long.ZERO,
|
|
1014
|
-
service: "",
|
|
1015
|
-
description: "",
|
|
1016
|
-
serviceDescription: "",
|
|
1017
|
-
unit: "",
|
|
1018
|
-
usagePercentage: "",
|
|
1019
|
-
usageState: exports.QuotaAllowanceStatus_UsageState.USAGE_STATE_UNSPECIFIED,
|
|
1020
|
-
};
|
|
1021
|
-
return applyQuotaAllowanceStatusCustom(message);
|
|
1022
|
-
}
|
|
1023
|
-
exports.QuotaAllowance = {
|
|
1024
|
-
$type: "nebius.quotas.v1.QuotaAllowance",
|
|
1025
|
-
encode(message, writer = new index_1.BinaryWriter()) {
|
|
1026
|
-
if (message.metadata !== undefined) {
|
|
1027
|
-
const w = writer.uint32(10).fork();
|
|
1028
|
-
v1_1.ResourceMetadata.encode(message.metadata, w);
|
|
1029
|
-
w.join();
|
|
1030
|
-
}
|
|
1031
|
-
if (message.spec !== undefined) {
|
|
1032
|
-
const w = writer.uint32(18).fork();
|
|
1033
|
-
exports.QuotaAllowanceSpec.encode(message.spec, w);
|
|
1034
|
-
w.join();
|
|
1035
|
-
}
|
|
1036
|
-
if (message.status !== undefined) {
|
|
1037
|
-
const w = writer.uint32(26).fork();
|
|
1038
|
-
exports.QuotaAllowanceStatus.encode(message.status, w);
|
|
1039
|
-
w.join();
|
|
1040
|
-
}
|
|
1041
|
-
if (message[index_1.unknownFieldsSymbol]) {
|
|
1042
|
-
writer.raw(message[index_1.unknownFieldsSymbol]);
|
|
1043
|
-
}
|
|
1044
|
-
return writer;
|
|
1045
|
-
},
|
|
1046
|
-
decode(input, length) {
|
|
1047
|
-
const reader = input instanceof index_1.BinaryReader ? input : new index_1.BinaryReader(input);
|
|
1048
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1049
|
-
const message = createBaseQuotaAllowance();
|
|
1050
|
-
let writer = undefined;
|
|
1051
|
-
while (reader.pos < end) {
|
|
1052
|
-
const tag = reader.uint32();
|
|
1053
|
-
switch (tag >>> 3) {
|
|
1054
|
-
case 1: {
|
|
1055
|
-
if (tag !== 10)
|
|
1056
|
-
break;
|
|
1057
|
-
message.metadata = v1_1.ResourceMetadata.decode(reader, reader.uint32());
|
|
1058
|
-
continue;
|
|
1059
|
-
}
|
|
1060
|
-
case 2: {
|
|
1061
|
-
if (tag !== 18)
|
|
1062
|
-
break;
|
|
1063
|
-
message.spec = exports.QuotaAllowanceSpec.decode(reader, reader.uint32());
|
|
1064
|
-
continue;
|
|
1065
|
-
}
|
|
1066
|
-
case 3: {
|
|
1067
|
-
if (tag !== 26)
|
|
1068
|
-
break;
|
|
1069
|
-
message.status = exports.QuotaAllowanceStatus.decode(reader, reader.uint32());
|
|
1070
|
-
continue;
|
|
1071
|
-
}
|
|
1072
|
-
default:
|
|
1073
|
-
break;
|
|
1074
|
-
}
|
|
1075
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1076
|
-
break;
|
|
1077
|
-
}
|
|
1078
|
-
{
|
|
1079
|
-
if (!writer)
|
|
1080
|
-
writer = new index_1.BinaryWriter();
|
|
1081
|
-
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
1082
|
-
writer.uint32(tag).raw(skipped);
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
if (writer) {
|
|
1086
|
-
message[index_1.unknownFieldsSymbol] = writer.finish();
|
|
1087
|
-
}
|
|
1088
|
-
return message;
|
|
1089
|
-
},
|
|
1090
|
-
fromJSON(object) {
|
|
1091
|
-
return applyQuotaAllowanceCustom({
|
|
1092
|
-
$type: "nebius.quotas.v1.QuotaAllowance",
|
|
1093
|
-
metadata: (0, index_1.isSet)(object.metadata ?? object.metadata)
|
|
1094
|
-
? v1_1.ResourceMetadata.fromJSON(object.metadata ?? object.metadata)
|
|
1095
|
-
: undefined,
|
|
1096
|
-
spec: (0, index_1.isSet)(object.spec ?? object.spec)
|
|
1097
|
-
? exports.QuotaAllowanceSpec.fromJSON(object.spec ?? object.spec)
|
|
1098
|
-
: undefined,
|
|
1099
|
-
status: (0, index_1.isSet)(object.status ?? object.status)
|
|
1100
|
-
? exports.QuotaAllowanceStatus.fromJSON(object.status ?? object.status)
|
|
1101
|
-
: undefined,
|
|
1102
|
-
});
|
|
1103
|
-
},
|
|
1104
|
-
toJSON(message, use = "json") {
|
|
1105
|
-
const obj = {};
|
|
1106
|
-
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
1107
|
-
if (message.metadata !== undefined) {
|
|
1108
|
-
obj[pick("metadata", "metadata")] = message.metadata
|
|
1109
|
-
? v1_1.ResourceMetadata.toJSON(message.metadata, use)
|
|
1110
|
-
: undefined;
|
|
1111
|
-
}
|
|
1112
|
-
if (message.spec !== undefined) {
|
|
1113
|
-
obj[pick("spec", "spec")] = message.spec
|
|
1114
|
-
? exports.QuotaAllowanceSpec.toJSON(message.spec, use)
|
|
1115
|
-
: undefined;
|
|
1116
|
-
}
|
|
1117
|
-
if (message.status !== undefined) {
|
|
1118
|
-
obj[pick("status", "status")] = message.status
|
|
1119
|
-
? exports.QuotaAllowanceStatus.toJSON(message.status, use)
|
|
1120
|
-
: undefined;
|
|
1121
|
-
}
|
|
1122
|
-
return obj;
|
|
1123
|
-
},
|
|
1124
|
-
create(base) {
|
|
1125
|
-
return exports.QuotaAllowance.fromPartial(base ?? {});
|
|
1126
|
-
},
|
|
1127
|
-
fromPartial(object) {
|
|
1128
|
-
const message = createBaseQuotaAllowance();
|
|
1129
|
-
message.metadata = (object.metadata !== undefined && object.metadata !== null)
|
|
1130
|
-
? v1_1.ResourceMetadata.fromPartial(object.metadata)
|
|
1131
|
-
: undefined;
|
|
1132
|
-
message.spec = (object.spec !== undefined && object.spec !== null)
|
|
1133
|
-
? exports.QuotaAllowanceSpec.fromPartial(object.spec)
|
|
1134
|
-
: undefined;
|
|
1135
|
-
message.status = (object.status !== undefined && object.status !== null)
|
|
1136
|
-
? exports.QuotaAllowanceStatus.fromPartial(object.status)
|
|
1137
|
-
: undefined;
|
|
1138
|
-
return message;
|
|
1139
|
-
},
|
|
1140
|
-
};
|
|
1141
|
-
protobuf_1.protoRegistry.registerMessage(exports.QuotaAllowance);
|
|
1142
|
-
function QuotaAllowanceCustomInspect() {
|
|
1143
|
-
const parts = [];
|
|
1144
|
-
if (this.metadata !== undefined)
|
|
1145
|
-
parts.push("metadata" + "=" + (0, util_1.inspect)(this.metadata));
|
|
1146
|
-
if (this.spec !== undefined)
|
|
1147
|
-
parts.push("spec" + "=" + (0, util_1.inspect)(this.spec));
|
|
1148
|
-
if (this.status !== undefined)
|
|
1149
|
-
parts.push("status" + "=" + (0, util_1.inspect)(this.status));
|
|
1150
|
-
return `${this.$type}(${parts.join(", ")})`;
|
|
1151
|
-
}
|
|
1152
|
-
function QuotaAllowanceCustomJson() {
|
|
1153
|
-
const obj = {
|
|
1154
|
-
type: this.$type,
|
|
1155
|
-
};
|
|
1156
|
-
if (this.metadata !== undefined)
|
|
1157
|
-
obj.metadata = (0, logging_1.inspectJson)(this.metadata);
|
|
1158
|
-
if (this.spec !== undefined)
|
|
1159
|
-
obj.spec = (0, logging_1.inspectJson)(this.spec);
|
|
1160
|
-
if (this.status !== undefined)
|
|
1161
|
-
obj.status = (0, logging_1.inspectJson)(this.status);
|
|
1162
|
-
return obj;
|
|
1163
|
-
}
|
|
1164
|
-
function applyQuotaAllowanceCustom(message) {
|
|
1165
|
-
message[logging_1.custom] = QuotaAllowanceCustomInspect;
|
|
1166
|
-
message[logging_1.customJson] = QuotaAllowanceCustomJson;
|
|
1167
|
-
return message;
|
|
1168
|
-
}
|
|
1169
|
-
function createBaseQuotaAllowance() {
|
|
1170
|
-
const message = {
|
|
1171
|
-
$type: "nebius.quotas.v1.QuotaAllowance",
|
|
1172
|
-
metadata: undefined,
|
|
1173
|
-
spec: undefined,
|
|
1174
|
-
status: undefined,
|
|
1175
|
-
};
|
|
1176
|
-
return applyQuotaAllowanceCustom(message);
|
|
1177
|
-
}
|
|
1178
|
-
//# sourceMappingURL=index.js.map
|