Add event prefix + arbitrary JSON options for IFTTT.

This commit is contained in:
Orne Brocaar
2023-05-19 14:43:39 +01:00
parent 5146c87940
commit 513aa7804d
19 changed files with 3453 additions and 2737 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -412,14 +412,18 @@ class HttpIntegration(_message.Message):
def __init__(self, application_id: _Optional[str] = ..., headers: _Optional[_Mapping[str, str]] = ..., encoding: _Optional[_Union[Encoding, str]] = ..., event_endpoint_url: _Optional[str] = ...) -> None: ...
class IftttIntegration(_message.Message):
__slots__ = ["application_id", "key", "uplink_values"]
__slots__ = ["application_id", "arbitrary_json", "event_prefix", "key", "uplink_values"]
APPLICATION_ID_FIELD_NUMBER: _ClassVar[int]
ARBITRARY_JSON_FIELD_NUMBER: _ClassVar[int]
EVENT_PREFIX_FIELD_NUMBER: _ClassVar[int]
KEY_FIELD_NUMBER: _ClassVar[int]
UPLINK_VALUES_FIELD_NUMBER: _ClassVar[int]
application_id: str
arbitrary_json: bool
event_prefix: str
key: str
uplink_values: _containers.RepeatedScalarFieldContainer[str]
def __init__(self, application_id: _Optional[str] = ..., key: _Optional[str] = ..., uplink_values: _Optional[_Iterable[str]] = ...) -> None: ...
def __init__(self, application_id: _Optional[str] = ..., key: _Optional[str] = ..., uplink_values: _Optional[_Iterable[str]] = ..., arbitrary_json: bool = ..., event_prefix: _Optional[str] = ...) -> None: ...
class InfluxDbIntegration(_message.Message):
__slots__ = ["application_id", "bucket", "db", "endpoint", "organization", "password", "precision", "retention_policy_name", "token", "username", "version"]

View File

@ -7,7 +7,8 @@ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
class ApplicationServiceStub(object):
"""ApplicationService is the service providing API methods for managing applications.
"""ApplicationService is the service providing API methods for managing
applications.
"""
def __init__(self, channel):
@ -254,7 +255,8 @@ class ApplicationServiceStub(object):
class ApplicationServiceServicer(object):
"""ApplicationService is the service providing API methods for managing applications.
"""ApplicationService is the service providing API methods for managing
applications.
"""
def Create(self, request, context):
@ -832,7 +834,8 @@ def add_ApplicationServiceServicer_to_server(servicer, server):
# This class is part of an EXPERIMENTAL API.
class ApplicationService(object):
"""ApplicationService is the service providing API methods for managing applications.
"""ApplicationService is the service providing API methods for managing
applications.
"""
@staticmethod