transcodely 0.3.13__tar.gz → 0.3.14__tar.gz
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.
- {transcodely-0.3.13 → transcodely-0.3.14}/PKG-INFO +18 -1
- {transcodely-0.3.13 → transcodely-0.3.14}/README.md +17 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/pyproject.toml +1 -1
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/apps.py +16 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/app_pb2.py +13 -5
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/app_pb2.pyi +40 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/version.py +1 -1
- {transcodely-0.3.13 → transcodely-0.3.14}/.gitignore +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/LICENSE +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/buf/__init__.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/buf/validate/__init__.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/buf/validate/validate_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/buf/validate/validate_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/__init__.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/_codec/__init__.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/_codec/json_codec.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/_transport/__init__.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/_transport/error_mapping.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/_transport/headers.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/_transport/transport.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/client.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/errors.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/pagination.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/py.typed +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/__init__.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/_helpers.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/api_keys.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/billing.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/events.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/health.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/ingest_rules.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/jobs.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/memberships.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/organizations.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/origins.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/presets.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/users.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/videos.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/resources/webhook_endpoints.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/streaming.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/types.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/api_key_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/api_key_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/billing_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/billing_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/codec_av1_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/codec_av1_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/codec_h264_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/codec_h264_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/codec_h265_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/codec_h265_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/codec_vp9_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/codec_vp9_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/common_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/common_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/content_aware_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/content_aware_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/drm_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/drm_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/hdr_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/hdr_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/health_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/health_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/ingest_rule_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/ingest_rule_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/job_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/job_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/media_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/media_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/membership_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/membership_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/organization_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/organization_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/origin_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/origin_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/preset_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/preset_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/streaming_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/streaming_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/subtitles_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/subtitles_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/thumbnails_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/thumbnails_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/user_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/user_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/video_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/video_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/watermark_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/watermark_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/webhook_pb2.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/v1/webhook_pb2.pyi +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/webhooks/__init__.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/webhooks/construct_event.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/webhooks/signature.py +0 -0
- {transcodely-0.3.13 → transcodely-0.3.14}/src/transcodely/webhooks/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: transcodely
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.14
|
|
4
4
|
Summary: Official Python SDK for Transcodely — encode video to HLS, DASH and MP4 into your own S3, GCS or R2 bucket, with DRM and signed playback.
|
|
5
5
|
Project-URL: Homepage, https://www.transcodely.com
|
|
6
6
|
Project-URL: Documentation, https://www.transcodely.com/docs
|
|
@@ -499,6 +499,23 @@ Check `settlement_available` before offering a "pay now" action: settlement rais
|
|
|
499
499
|
`billing_past_due` (a statement is unpaid) or `outstanding_balance_exceeded` (too much unbilled
|
|
500
500
|
usage) — neither clears by retrying, so back-off is the wrong response to both.
|
|
501
501
|
|
|
502
|
+
## Your prices
|
|
503
|
+
|
|
504
|
+
`client.apps.get_pricing()` lists every chargeable item with the EUR rate your app pays,
|
|
505
|
+
whether your account has a custom rate for it, and the public list price. Leave `app_id`
|
|
506
|
+
out to price the API key's own app.
|
|
507
|
+
|
|
508
|
+
```python
|
|
509
|
+
pricing = client.apps.get_pricing()
|
|
510
|
+
for entry in pricing.entries:
|
|
511
|
+
if entry.HasField("base_price"):
|
|
512
|
+
print(f"{entry.group_label} / {entry.label}: {entry.base_price} {pricing.currency} ({entry.unit})", "custom" if entry.custom else "")
|
|
513
|
+
if entry.HasField("multiplier"):
|
|
514
|
+
print(f"{entry.group_label} / {entry.label}: x{entry.multiplier}", "custom" if entry.custom else "")
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
Prices are fixed when a job is created, so a price change applies to jobs created after it.
|
|
518
|
+
|
|
502
519
|
## Errors
|
|
503
520
|
|
|
504
521
|
All exceptions inherit from `TranscodelyError`:
|
|
@@ -462,6 +462,23 @@ Check `settlement_available` before offering a "pay now" action: settlement rais
|
|
|
462
462
|
`billing_past_due` (a statement is unpaid) or `outstanding_balance_exceeded` (too much unbilled
|
|
463
463
|
usage) — neither clears by retrying, so back-off is the wrong response to both.
|
|
464
464
|
|
|
465
|
+
## Your prices
|
|
466
|
+
|
|
467
|
+
`client.apps.get_pricing()` lists every chargeable item with the EUR rate your app pays,
|
|
468
|
+
whether your account has a custom rate for it, and the public list price. Leave `app_id`
|
|
469
|
+
out to price the API key's own app.
|
|
470
|
+
|
|
471
|
+
```python
|
|
472
|
+
pricing = client.apps.get_pricing()
|
|
473
|
+
for entry in pricing.entries:
|
|
474
|
+
if entry.HasField("base_price"):
|
|
475
|
+
print(f"{entry.group_label} / {entry.label}: {entry.base_price} {pricing.currency} ({entry.unit})", "custom" if entry.custom else "")
|
|
476
|
+
if entry.HasField("multiplier"):
|
|
477
|
+
print(f"{entry.group_label} / {entry.label}: x{entry.multiplier}", "custom" if entry.custom else "")
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
Prices are fixed when a job is created, so a price change applies to jobs created after it.
|
|
481
|
+
|
|
465
482
|
## Errors
|
|
466
483
|
|
|
467
484
|
All exceptions inherit from `TranscodelyError`:
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "transcodely"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.14"
|
|
8
8
|
description = "Official Python SDK for Transcodely — encode video to HLS, DASH and MP4 into your own S3, GCS or R2 bucket, with DRM and signed playback."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -114,3 +114,19 @@ class Apps:
|
|
|
114
114
|
"""
|
|
115
115
|
req = app_pb2.GetSpendRequest(app_id=app_id)
|
|
116
116
|
return self._t.unary(_SERVICE, "GetSpend", req, app_pb2.GetSpendResponse(), opts)
|
|
117
|
+
|
|
118
|
+
def get_pricing(
|
|
119
|
+
self, app_id: str | None = None, opts: CallOptions | None = None
|
|
120
|
+
) -> app_pb2.GetPricingResponse:
|
|
121
|
+
"""Get the prices an app pays.
|
|
122
|
+
|
|
123
|
+
Returns every chargeable item with its effective EUR rate, whether the
|
|
124
|
+
account has a custom rate for it (``custom``), and the public list price.
|
|
125
|
+
Leave ``app_id`` as ``None`` to price the API key's own app (dashboard
|
|
126
|
+
callers: the organization's first active app). Prices are fixed when a job is
|
|
127
|
+
created, so a price change applies to jobs created after it.
|
|
128
|
+
"""
|
|
129
|
+
req = app_pb2.GetPricingRequest()
|
|
130
|
+
if app_id is not None:
|
|
131
|
+
req.app_id = app_id
|
|
132
|
+
return self._t.unary(_SERVICE, "GetPricing", req, app_pb2.GetPricingResponse(), opts)
|
|
@@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
27
27
|
from transcodely.v1 import common_pb2 as transcodely_dot_v1_dot_common__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18transcodely/v1/app.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1btranscodely/v1/common.proto\"\xe3\x06\n\x03\x41pp\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x31\n\x06status\x18\x06 \x01(\x0e\x32\x19.transcodely.v1.AppStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n\x0b\x61rchived_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\narchivedAt\x88\x01\x01\x12,\n\x0fhosting_enabled\x18\n \x01(\x08H\x02R\x0ehostingEnabled\x88\x01\x01\x12*\n\x0ehosting_status\x18\x0b \x01(\tH\x03R\rhostingStatus\x88\x01\x01\x12&\n\x0c\x63\x64n_hostname\x18\x0c \x01(\tH\x04R\x0b\x63\x64nHostname\x88\x01\x01\x12I\n\x0ehosting_config\x18\r \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigH\x05R\rhostingConfig\x88\x01\x01\x12\x16\n\x06object\x18\x0e \x01(\tR\x06object\x12:\n\x17monthly_spend_limit_eur\x18\x0f \x01(\x01H\x06R\x14monthlySpendLimitEur\x88\x01\x01\x12\x46\n\rplayer_config\x18\x10 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigH\x07R\x0cplayerConfig\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_archived_atB\x12\n\x10_hosting_enabledB\x11\n\x0f_hosting_statusB\x0f\n\r_cdn_hostnameB\x11\n\x0f_hosting_configB\x1a\n\x18_monthly_spend_limit_eurB\x10\n\x0e_player_configJ\x04\x08\x05\x10\x06R\x07webhook\"Z\n\x0cPlayerConfig\x12=\n\x08\x63\x61ptions\x18\x01 \x01(\x0b\x32\x1c.transcodely.v1.CaptionStyleH\x00R\x08\x63\x61ptions\x88\x01\x01\x42\x0b\n\t_captions\"\xf0\x02\n\x0c\x43\x61ptionStyle\x12K\n\x10\x62\x61\x63kground_color\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x00R\x0f\x62\x61\x63kgroundColor\x88\x01\x01\x12K\n\x12\x62\x61\x63kground_opacity\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\xf0?)\x00\x00\x00\x00\x00\x00\x00\x00H\x01R\x11\x62\x61\x63kgroundOpacity\x88\x01\x01\x12?\n\ntext_color\x18\x03 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x02R\ttextColor\x88\x01\x01\x12;\n\nfont_scale\x18\x04 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\x00@)\x00\x00\x00\x00\x00\x00\xe0?H\x03R\tfontScale\x88\x01\x01\x42\x13\n\x11_background_colorB\x15\n\x13_background_opacityB\r\n\x0b_text_colorB\r\n\x0b_font_scale\"\x8e\x01\n\x19UpdatePlayerConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x41\n\rplayer_config\x18\x02 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigR\x0cplayerConfig\"C\n\x1aUpdatePlayerConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xfa\x01\n\x10\x43reateAppRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12 \n\x04name\x18\x02 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18<\xc8\x01\x01R\x04name\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x00R\x0b\x64\x65scription\x88\x01\x01\x12*\n\x0e\x65nable_hosting\x18\x05 \x01(\x08H\x01R\renableHosting\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_enable_hostingJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11\x43reateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"?\n\rGetAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"7\n\x0eGetAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xbf\x01\n\x10UpdateAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18<H\x00R\x04name\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11UpdateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"\xb6\x01\n\x0fListAppsRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12\x41\n\npagination\x18\x02 \x01(\x0b\x32!.transcodely.v1.PaginationRequestR\npagination\x12)\n\x10include_archived\x18\x03 \x01(\x08R\x0fincludeArchived\"\x7f\n\x10ListAppsResponse\x12\'\n\x04\x61pps\x18\x01 \x03(\x0b\x32\x13.transcodely.v1.AppR\x04\x61pps\x12\x42\n\npagination\x18\x02 \x01(\x0b\x32\".transcodely.v1.PaginationResponseR\npagination\"C\n\x11\x41rchiveAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\";\n\x12\x41rchiveAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"F\n\x14\x45nableHostingRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\">\n\x15\x45nableHostingResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xb1\x03\n\rHostingConfig\x12\x32\n\x12\x64\x65\x66\x61ult_visibility\x18\x01 \x01(\tH\x00R\x11\x64\x65\x66\x61ultVisibility\x88\x01\x01\x12\x36\n\x15max_upload_size_bytes\x18\x02 \x01(\x03H\x01R\x12maxUploadSizeBytes\x88\x01\x01\x12\x30\n\x14\x63ors_allowed_origins\x18\x03 \x03(\tR\x12\x63orsAllowedOrigins\x12\\\n\x15\x61uto_profile_defaults\x18\x04 \x01(\x0b\x32#.transcodely.v1.AutoProfileDefaultsH\x02R\x13\x61utoProfileDefaults\x88\x01\x01\x12<\n\x18\x64\x65lete_source_after_days\x18\x05 \x01(\x05H\x03R\x15\x64\x65leteSourceAfterDays\x88\x01\x01\x42\x15\n\x13_default_visibilityB\x18\n\x16_max_upload_size_bytesB\x18\n\x16_auto_profile_defaultsB\x1b\n\x19_delete_source_after_days\"\x96\x02\n\x13\x41utoProfileDefaults\x12\x1b\n\x06\x66ormat\x18\x01 \x01(\tH\x00R\x06\x66ormat\x88\x01\x01\x12\x19\n\x05\x63odec\x18\x02 \x01(\tH\x01R\x05\x63odec\x88\x01\x01\x12*\n\x0emax_resolution\x18\x03 \x01(\tH\x02R\rmaxResolution\x88\x01\x01\x12&\n\x0cquality_tier\x18\x04 \x01(\tH\x03R\x0bqualityTier\x88\x01\x01\x12(\n\rencoding_mode\x18\x05 \x01(\tH\x04R\x0c\x65ncodingMode\x88\x01\x01\x42\t\n\x07_formatB\x08\n\x06_codecB\x11\n\x0f_max_resolutionB\x0f\n\r_quality_tierB\x10\n\x0e_encoding_mode\"\x92\x01\n\x1aUpdateHostingConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x44\n\x0ehosting_config\x18\x02 \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigR\rhostingConfig\"D\n\x1bUpdateHostingConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xc1\x01\n\x17UpdateSpendLimitRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\x12S\n\x17monthly_spend_limit_eur\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x85\xeb\xff\x1f_\xa0\x02\x42!\x00\x00\x00\x00\x00\x00\x00\x00H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x42\x1a\n\x18_monthly_spend_limit_eur\"A\n\x18UpdateSpendLimitResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"H\n\x0fGetSpendRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\"\xef\x02\n\x10GetSpendResponse\x12=\n\x0cperiod_start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEnd\x12\x1b\n\tspent_eur\x18\x03 \x01(\x01R\x08spentEur\x12:\n\x17monthly_spend_limit_eur\x18\x04 \x01(\x01H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x12\x1a\n\x08\x63urrency\x18\x05 \x01(\tR\x08\x63urrency\x12+\n\x11warning_triggered\x18\x06 \x01(\x08R\x10warningTriggered\x12#\n\rlimit_reached\x18\x07 \x01(\x08R\x0climitReachedB\x1a\n\x18_monthly_spend_limit_eur*q\n\tAppStatus\x12\x1a\n\x16\x41PP_STATUS_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41PP_STATUS_ACTIVE\x10\x01\x12\x17\n\x13\x41PP_STATUS_ARCHIVED\x10\x02\x12\x18\n\x14\x41PP_STATUS_SUSPENDED\x10\x03\x32\xfe\x06\n\nAppService\x12M\n\x06\x43reate\x12 .transcodely.v1.CreateAppRequest\x1a!.transcodely.v1.CreateAppResponse\x12\x44\n\x03Get\x12\x1d.transcodely.v1.GetAppRequest\x1a\x1e.transcodely.v1.GetAppResponse\x12M\n\x06Update\x12 .transcodely.v1.UpdateAppRequest\x1a!.transcodely.v1.UpdateAppResponse\x12I\n\x04List\x12\x1f.transcodely.v1.ListAppsRequest\x1a .transcodely.v1.ListAppsResponse\x12P\n\x07\x41rchive\x12!.transcodely.v1.ArchiveAppRequest\x1a\".transcodely.v1.ArchiveAppResponse\x12\\\n\rEnableHosting\x12$.transcodely.v1.EnableHostingRequest\x1a%.transcodely.v1.EnableHostingResponse\x12n\n\x13UpdateHostingConfig\x12*.transcodely.v1.UpdateHostingConfigRequest\x1a+.transcodely.v1.UpdateHostingConfigResponse\x12k\n\x12UpdatePlayerConfig\x12).transcodely.v1.UpdatePlayerConfigRequest\x1a*.transcodely.v1.UpdatePlayerConfigResponse\x12\x65\n\x10UpdateSpendLimit\x12\'.transcodely.v1.UpdateSpendLimitRequest\x1a(.transcodely.v1.UpdateSpendLimitResponse\x12M\n\x08GetSpend\x12\x1f.transcodely.v1.GetSpendRequest\x1a .transcodely.v1.GetSpendResponseb\x06proto3')
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18transcodely/v1/app.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1btranscodely/v1/common.proto\"\xe3\x06\n\x03\x41pp\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x31\n\x06status\x18\x06 \x01(\x0e\x32\x19.transcodely.v1.AppStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n\x0b\x61rchived_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\narchivedAt\x88\x01\x01\x12,\n\x0fhosting_enabled\x18\n \x01(\x08H\x02R\x0ehostingEnabled\x88\x01\x01\x12*\n\x0ehosting_status\x18\x0b \x01(\tH\x03R\rhostingStatus\x88\x01\x01\x12&\n\x0c\x63\x64n_hostname\x18\x0c \x01(\tH\x04R\x0b\x63\x64nHostname\x88\x01\x01\x12I\n\x0ehosting_config\x18\r \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigH\x05R\rhostingConfig\x88\x01\x01\x12\x16\n\x06object\x18\x0e \x01(\tR\x06object\x12:\n\x17monthly_spend_limit_eur\x18\x0f \x01(\x01H\x06R\x14monthlySpendLimitEur\x88\x01\x01\x12\x46\n\rplayer_config\x18\x10 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigH\x07R\x0cplayerConfig\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_archived_atB\x12\n\x10_hosting_enabledB\x11\n\x0f_hosting_statusB\x0f\n\r_cdn_hostnameB\x11\n\x0f_hosting_configB\x1a\n\x18_monthly_spend_limit_eurB\x10\n\x0e_player_configJ\x04\x08\x05\x10\x06R\x07webhook\"Z\n\x0cPlayerConfig\x12=\n\x08\x63\x61ptions\x18\x01 \x01(\x0b\x32\x1c.transcodely.v1.CaptionStyleH\x00R\x08\x63\x61ptions\x88\x01\x01\x42\x0b\n\t_captions\"\xf0\x02\n\x0c\x43\x61ptionStyle\x12K\n\x10\x62\x61\x63kground_color\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x00R\x0f\x62\x61\x63kgroundColor\x88\x01\x01\x12K\n\x12\x62\x61\x63kground_opacity\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\xf0?)\x00\x00\x00\x00\x00\x00\x00\x00H\x01R\x11\x62\x61\x63kgroundOpacity\x88\x01\x01\x12?\n\ntext_color\x18\x03 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x02R\ttextColor\x88\x01\x01\x12;\n\nfont_scale\x18\x04 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\x00@)\x00\x00\x00\x00\x00\x00\xe0?H\x03R\tfontScale\x88\x01\x01\x42\x13\n\x11_background_colorB\x15\n\x13_background_opacityB\r\n\x0b_text_colorB\r\n\x0b_font_scale\"\x8e\x01\n\x19UpdatePlayerConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x41\n\rplayer_config\x18\x02 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigR\x0cplayerConfig\"C\n\x1aUpdatePlayerConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xfa\x01\n\x10\x43reateAppRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12 \n\x04name\x18\x02 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18<\xc8\x01\x01R\x04name\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x00R\x0b\x64\x65scription\x88\x01\x01\x12*\n\x0e\x65nable_hosting\x18\x05 \x01(\x08H\x01R\renableHosting\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_enable_hostingJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11\x43reateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"?\n\rGetAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"7\n\x0eGetAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xbf\x01\n\x10UpdateAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18<H\x00R\x04name\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11UpdateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"\xb6\x01\n\x0fListAppsRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12\x41\n\npagination\x18\x02 \x01(\x0b\x32!.transcodely.v1.PaginationRequestR\npagination\x12)\n\x10include_archived\x18\x03 \x01(\x08R\x0fincludeArchived\"\x7f\n\x10ListAppsResponse\x12\'\n\x04\x61pps\x18\x01 \x03(\x0b\x32\x13.transcodely.v1.AppR\x04\x61pps\x12\x42\n\npagination\x18\x02 \x01(\x0b\x32\".transcodely.v1.PaginationResponseR\npagination\"C\n\x11\x41rchiveAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\";\n\x12\x41rchiveAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"F\n\x14\x45nableHostingRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\">\n\x15\x45nableHostingResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xb1\x03\n\rHostingConfig\x12\x32\n\x12\x64\x65\x66\x61ult_visibility\x18\x01 \x01(\tH\x00R\x11\x64\x65\x66\x61ultVisibility\x88\x01\x01\x12\x36\n\x15max_upload_size_bytes\x18\x02 \x01(\x03H\x01R\x12maxUploadSizeBytes\x88\x01\x01\x12\x30\n\x14\x63ors_allowed_origins\x18\x03 \x03(\tR\x12\x63orsAllowedOrigins\x12\\\n\x15\x61uto_profile_defaults\x18\x04 \x01(\x0b\x32#.transcodely.v1.AutoProfileDefaultsH\x02R\x13\x61utoProfileDefaults\x88\x01\x01\x12<\n\x18\x64\x65lete_source_after_days\x18\x05 \x01(\x05H\x03R\x15\x64\x65leteSourceAfterDays\x88\x01\x01\x42\x15\n\x13_default_visibilityB\x18\n\x16_max_upload_size_bytesB\x18\n\x16_auto_profile_defaultsB\x1b\n\x19_delete_source_after_days\"\x96\x02\n\x13\x41utoProfileDefaults\x12\x1b\n\x06\x66ormat\x18\x01 \x01(\tH\x00R\x06\x66ormat\x88\x01\x01\x12\x19\n\x05\x63odec\x18\x02 \x01(\tH\x01R\x05\x63odec\x88\x01\x01\x12*\n\x0emax_resolution\x18\x03 \x01(\tH\x02R\rmaxResolution\x88\x01\x01\x12&\n\x0cquality_tier\x18\x04 \x01(\tH\x03R\x0bqualityTier\x88\x01\x01\x12(\n\rencoding_mode\x18\x05 \x01(\tH\x04R\x0c\x65ncodingMode\x88\x01\x01\x42\t\n\x07_formatB\x08\n\x06_codecB\x11\n\x0f_max_resolutionB\x0f\n\r_quality_tierB\x10\n\x0e_encoding_mode\"\x92\x01\n\x1aUpdateHostingConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x44\n\x0ehosting_config\x18\x02 \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigR\rhostingConfig\"D\n\x1bUpdateHostingConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xc1\x01\n\x17UpdateSpendLimitRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\x12S\n\x17monthly_spend_limit_eur\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x85\xeb\xff\x1f_\xa0\x02\x42!\x00\x00\x00\x00\x00\x00\x00\x00H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x42\x1a\n\x18_monthly_spend_limit_eur\"A\n\x18UpdateSpendLimitResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"H\n\x0fGetSpendRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\"\xef\x02\n\x10GetSpendResponse\x12=\n\x0cperiod_start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEnd\x12\x1b\n\tspent_eur\x18\x03 \x01(\x01R\x08spentEur\x12:\n\x17monthly_spend_limit_eur\x18\x04 \x01(\x01H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x12\x1a\n\x08\x63urrency\x18\x05 \x01(\tR\x08\x63urrency\x12+\n\x11warning_triggered\x18\x06 \x01(\x08R\x10warningTriggered\x12#\n\rlimit_reached\x18\x07 \x01(\x08R\x0climitReachedB\x1a\n\x18_monthly_spend_limit_eur\"W\n\x11GetPricingRequest\x12\x37\n\x06\x61pp_id\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^app_[a-zA-Z0-9_-]+$H\x00R\x05\x61ppId\x88\x01\x01\x42\t\n\x07_app_id\"\x93\x03\n\x0cPricingEntry\x12\x1b\n\trule_type\x18\x01 \x01(\tR\x08ruleType\x12\x19\n\x08rule_key\x18\x02 \x01(\tR\x07ruleKey\x12\x14\n\x05label\x18\x03 \x01(\tR\x05label\x12\x1f\n\x0bgroup_label\x18\x04 \x01(\tR\ngroupLabel\x12\x12\n\x04unit\x18\x05 \x01(\tR\x04unit\x12\"\n\nbase_price\x18\x06 \x01(\x01H\x00R\tbasePrice\x88\x01\x01\x12#\n\nmultiplier\x18\x07 \x01(\x01H\x01R\nmultiplier\x88\x01\x01\x12\x16\n\x06\x63ustom\x18\x08 \x01(\x08R\x06\x63ustom\x12+\n\x0flist_base_price\x18\t \x01(\x01H\x02R\rlistBasePrice\x88\x01\x01\x12,\n\x0flist_multiplier\x18\n \x01(\x01H\x03R\x0elistMultiplier\x88\x01\x01\x42\r\n\x0b_base_priceB\r\n\x0b_multiplierB\x12\n\x10_list_base_priceB\x12\n\x10_list_multiplier\"\x7f\n\x12GetPricingResponse\x12\x15\n\x06\x61pp_id\x18\x01 \x01(\tR\x05\x61ppId\x12\x1a\n\x08\x63urrency\x18\x02 \x01(\tR\x08\x63urrency\x12\x36\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x1c.transcodely.v1.PricingEntryR\x07\x65ntries*q\n\tAppStatus\x12\x1a\n\x16\x41PP_STATUS_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41PP_STATUS_ACTIVE\x10\x01\x12\x17\n\x13\x41PP_STATUS_ARCHIVED\x10\x02\x12\x18\n\x14\x41PP_STATUS_SUSPENDED\x10\x03\x32\xd3\x07\n\nAppService\x12M\n\x06\x43reate\x12 .transcodely.v1.CreateAppRequest\x1a!.transcodely.v1.CreateAppResponse\x12\x44\n\x03Get\x12\x1d.transcodely.v1.GetAppRequest\x1a\x1e.transcodely.v1.GetAppResponse\x12M\n\x06Update\x12 .transcodely.v1.UpdateAppRequest\x1a!.transcodely.v1.UpdateAppResponse\x12I\n\x04List\x12\x1f.transcodely.v1.ListAppsRequest\x1a .transcodely.v1.ListAppsResponse\x12P\n\x07\x41rchive\x12!.transcodely.v1.ArchiveAppRequest\x1a\".transcodely.v1.ArchiveAppResponse\x12\\\n\rEnableHosting\x12$.transcodely.v1.EnableHostingRequest\x1a%.transcodely.v1.EnableHostingResponse\x12n\n\x13UpdateHostingConfig\x12*.transcodely.v1.UpdateHostingConfigRequest\x1a+.transcodely.v1.UpdateHostingConfigResponse\x12k\n\x12UpdatePlayerConfig\x12).transcodely.v1.UpdatePlayerConfigRequest\x1a*.transcodely.v1.UpdatePlayerConfigResponse\x12\x65\n\x10UpdateSpendLimit\x12\'.transcodely.v1.UpdateSpendLimitRequest\x1a(.transcodely.v1.UpdateSpendLimitResponse\x12M\n\x08GetSpend\x12\x1f.transcodely.v1.GetSpendRequest\x1a .transcodely.v1.GetSpendResponse\x12S\n\nGetPricing\x12!.transcodely.v1.GetPricingRequest\x1a\".transcodely.v1.GetPricingResponseb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -72,8 +72,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
72
72
|
_globals['_UPDATESPENDLIMITREQUEST'].fields_by_name['monthly_spend_limit_eur']._serialized_options = b'\272H\024\022\022\031\205\353\377\037_\240\002B!\000\000\000\000\000\000\000\000'
|
|
73
73
|
_globals['_GETSPENDREQUEST'].fields_by_name['app_id']._loaded_options = None
|
|
74
74
|
_globals['_GETSPENDREQUEST'].fields_by_name['app_id']._serialized_options = b'\272H\033r\0262\024^app_[a-zA-Z0-9_-]+$\310\001\001'
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
75
|
+
_globals['_GETPRICINGREQUEST'].fields_by_name['app_id']._loaded_options = None
|
|
76
|
+
_globals['_GETPRICINGREQUEST'].fields_by_name['app_id']._serialized_options = b'\272H\030r\0262\024^app_[a-zA-Z0-9_-]+$'
|
|
77
|
+
_globals['_APPSTATUS']._serialized_start=5262
|
|
78
|
+
_globals['_APPSTATUS']._serialized_end=5375
|
|
77
79
|
_globals['_APP']._serialized_start=136
|
|
78
80
|
_globals['_APP']._serialized_end=1003
|
|
79
81
|
_globals['_PLAYERCONFIG']._serialized_start=1005
|
|
@@ -124,6 +126,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
124
126
|
_globals['_GETSPENDREQUEST']._serialized_end=4266
|
|
125
127
|
_globals['_GETSPENDRESPONSE']._serialized_start=4269
|
|
126
128
|
_globals['_GETSPENDRESPONSE']._serialized_end=4636
|
|
127
|
-
_globals['
|
|
128
|
-
_globals['
|
|
129
|
+
_globals['_GETPRICINGREQUEST']._serialized_start=4638
|
|
130
|
+
_globals['_GETPRICINGREQUEST']._serialized_end=4725
|
|
131
|
+
_globals['_PRICINGENTRY']._serialized_start=4728
|
|
132
|
+
_globals['_PRICINGENTRY']._serialized_end=5131
|
|
133
|
+
_globals['_GETPRICINGRESPONSE']._serialized_start=5133
|
|
134
|
+
_globals['_GETPRICINGRESPONSE']._serialized_end=5260
|
|
135
|
+
_globals['_APPSERVICE']._serialized_start=5378
|
|
136
|
+
_globals['_APPSERVICE']._serialized_end=6357
|
|
129
137
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -253,3 +253,43 @@ class GetSpendResponse(_message.Message):
|
|
|
253
253
|
warning_triggered: bool
|
|
254
254
|
limit_reached: bool
|
|
255
255
|
def __init__(self, period_start: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., period_end: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., spent_eur: _Optional[float] = ..., monthly_spend_limit_eur: _Optional[float] = ..., currency: _Optional[str] = ..., warning_triggered: bool = ..., limit_reached: bool = ...) -> None: ...
|
|
256
|
+
|
|
257
|
+
class GetPricingRequest(_message.Message):
|
|
258
|
+
__slots__ = ("app_id",)
|
|
259
|
+
APP_ID_FIELD_NUMBER: _ClassVar[int]
|
|
260
|
+
app_id: str
|
|
261
|
+
def __init__(self, app_id: _Optional[str] = ...) -> None: ...
|
|
262
|
+
|
|
263
|
+
class PricingEntry(_message.Message):
|
|
264
|
+
__slots__ = ("rule_type", "rule_key", "label", "group_label", "unit", "base_price", "multiplier", "custom", "list_base_price", "list_multiplier")
|
|
265
|
+
RULE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
266
|
+
RULE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
267
|
+
LABEL_FIELD_NUMBER: _ClassVar[int]
|
|
268
|
+
GROUP_LABEL_FIELD_NUMBER: _ClassVar[int]
|
|
269
|
+
UNIT_FIELD_NUMBER: _ClassVar[int]
|
|
270
|
+
BASE_PRICE_FIELD_NUMBER: _ClassVar[int]
|
|
271
|
+
MULTIPLIER_FIELD_NUMBER: _ClassVar[int]
|
|
272
|
+
CUSTOM_FIELD_NUMBER: _ClassVar[int]
|
|
273
|
+
LIST_BASE_PRICE_FIELD_NUMBER: _ClassVar[int]
|
|
274
|
+
LIST_MULTIPLIER_FIELD_NUMBER: _ClassVar[int]
|
|
275
|
+
rule_type: str
|
|
276
|
+
rule_key: str
|
|
277
|
+
label: str
|
|
278
|
+
group_label: str
|
|
279
|
+
unit: str
|
|
280
|
+
base_price: float
|
|
281
|
+
multiplier: float
|
|
282
|
+
custom: bool
|
|
283
|
+
list_base_price: float
|
|
284
|
+
list_multiplier: float
|
|
285
|
+
def __init__(self, rule_type: _Optional[str] = ..., rule_key: _Optional[str] = ..., label: _Optional[str] = ..., group_label: _Optional[str] = ..., unit: _Optional[str] = ..., base_price: _Optional[float] = ..., multiplier: _Optional[float] = ..., custom: bool = ..., list_base_price: _Optional[float] = ..., list_multiplier: _Optional[float] = ...) -> None: ...
|
|
286
|
+
|
|
287
|
+
class GetPricingResponse(_message.Message):
|
|
288
|
+
__slots__ = ("app_id", "currency", "entries")
|
|
289
|
+
APP_ID_FIELD_NUMBER: _ClassVar[int]
|
|
290
|
+
CURRENCY_FIELD_NUMBER: _ClassVar[int]
|
|
291
|
+
ENTRIES_FIELD_NUMBER: _ClassVar[int]
|
|
292
|
+
app_id: str
|
|
293
|
+
currency: str
|
|
294
|
+
entries: _containers.RepeatedCompositeFieldContainer[PricingEntry]
|
|
295
|
+
def __init__(self, app_id: _Optional[str] = ..., currency: _Optional[str] = ..., entries: _Optional[_Iterable[_Union[PricingEntry, _Mapping]]] = ...) -> None: ...
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Version constants exposed at the top of the package."""
|
|
2
2
|
|
|
3
3
|
#: SDK package version. Bumped by release-please from pyproject.toml.
|
|
4
|
-
SDK_VERSION = "0.3.
|
|
4
|
+
SDK_VERSION = "0.3.14" # x-release-please-version
|
|
5
5
|
|
|
6
6
|
#: Calendar-versioned API this release pins. Sent on every request as
|
|
7
7
|
#: `Transcodely-Version`. Override per-client via ``api_version=``.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|