openmeter 1.0.0b157__tar.gz → 1.0.0b159__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.

Potentially problematic release.


This version of openmeter might be problematic. Click here for more details.

Files changed (21) hide show
  1. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/PKG-INFO +1 -1
  2. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/pyproject.toml +1 -1
  3. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/_operations/_operations.py +20 -2
  4. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/aio/_operations/_operations.py +14 -2
  5. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/README.md +0 -0
  6. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/__init__.py +0 -0
  7. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/_client.py +0 -0
  8. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/_configuration.py +0 -0
  9. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/_operations/__init__.py +0 -0
  10. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/_operations/_patch.py +0 -0
  11. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/_patch.py +0 -0
  12. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/_serialization.py +0 -0
  13. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/_vendor.py +0 -0
  14. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/aio/__init__.py +0 -0
  15. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/aio/_client.py +0 -0
  16. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/aio/_configuration.py +0 -0
  17. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/aio/_operations/__init__.py +0 -0
  18. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/aio/_operations/_patch.py +0 -0
  19. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/aio/_patch.py +0 -0
  20. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/aio/_vendor.py +0 -0
  21. {openmeter-1.0.0b157 → openmeter-1.0.0b159}/src/openmeter/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openmeter
3
- Version: 1.0.0b157
3
+ Version: 1.0.0b159
4
4
  Summary: Client for OpenMeter: Real-Time and Scalable Usage Metering
5
5
  Home-page: https://openmeter.io
6
6
  License: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "openmeter"
3
- version = "v1.0.0-beta.157"
3
+ version = "v1.0.0-beta.159"
4
4
  description = "Client for OpenMeter: Real-Time and Scalable Usage Metering"
5
5
  authors = ["Andras Toth <4157749+tothandras@users.noreply.github.com>"]
6
6
  license = "Apache-2.0"
@@ -1171,6 +1171,8 @@ def build_list_notification_events_request(
1171
1171
  to: Optional[datetime.datetime] = None,
1172
1172
  feature: Optional[List[str]] = None,
1173
1173
  subject: Optional[List[str]] = None,
1174
+ rule: Optional[List[str]] = None,
1175
+ channel: Optional[List[str]] = None,
1174
1176
  **kwargs: Any
1175
1177
  ) -> HttpRequest:
1176
1178
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
@@ -1198,6 +1200,10 @@ def build_list_notification_events_request(
1198
1200
  _params["feature"] = _SERIALIZER.query("feature", feature, "[str]")
1199
1201
  if subject is not None:
1200
1202
  _params["subject"] = _SERIALIZER.query("subject", subject, "[str]")
1203
+ if rule is not None:
1204
+ _params["rule"] = _SERIALIZER.query("rule", rule, "[str]")
1205
+ if channel is not None:
1206
+ _params["channel"] = _SERIALIZER.query("channel", channel, "[str]")
1201
1207
 
1202
1208
  # Construct headers
1203
1209
  _headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
@@ -6793,6 +6799,8 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
6793
6799
  to: Optional[datetime.datetime] = None,
6794
6800
  feature: Optional[List[str]] = None,
6795
6801
  subject: Optional[List[str]] = None,
6802
+ rule: Optional[List[str]] = None,
6803
+ channel: Optional[List[str]] = None,
6796
6804
  **kwargs: Any
6797
6805
  ) -> JSON:
6798
6806
  """List notification evens.
@@ -6824,6 +6832,14 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
6824
6832
 
6825
6833
  Usage: ``?subject=customer-1&subject=customer-2``. Default value is None.
6826
6834
  :paramtype subject: list[str]
6835
+ :keyword rule: Filtering by multiple rules.
6836
+
6837
+ Usage: ``?rule=ID1&rule=rule=ID2``. Default value is None.
6838
+ :paramtype rule: list[str]
6839
+ :keyword channel: Filtering by multiple channels.
6840
+
6841
+ Usage: ``?channel=ID1&channel=ID2``. Default value is None.
6842
+ :paramtype channel: list[str]
6827
6843
  :return: JSON object
6828
6844
  :rtype: JSON
6829
6845
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -6860,8 +6876,8 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
6860
6876
  "type": "str", # The type of the notification event.
6861
6877
  Required. "entitlements.balance.threshold"
6862
6878
  "annotations": {
6863
- "str": "str" # Optional. List of annotations managed
6864
- by the system.
6879
+ "str": {} # Optional. List of annotations managed by
6880
+ the system.
6865
6881
  }
6866
6882
  }
6867
6883
  ],
@@ -6893,6 +6909,8 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
6893
6909
  to=to,
6894
6910
  feature=feature,
6895
6911
  subject=subject,
6912
+ rule=rule,
6913
+ channel=channel,
6896
6914
  headers=_headers,
6897
6915
  params=_params,
6898
6916
  )
@@ -5648,6 +5648,8 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
5648
5648
  to: Optional[datetime.datetime] = None,
5649
5649
  feature: Optional[List[str]] = None,
5650
5650
  subject: Optional[List[str]] = None,
5651
+ rule: Optional[List[str]] = None,
5652
+ channel: Optional[List[str]] = None,
5651
5653
  **kwargs: Any
5652
5654
  ) -> JSON:
5653
5655
  """List notification evens.
@@ -5679,6 +5681,14 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
5679
5681
 
5680
5682
  Usage: ``?subject=customer-1&subject=customer-2``. Default value is None.
5681
5683
  :paramtype subject: list[str]
5684
+ :keyword rule: Filtering by multiple rules.
5685
+
5686
+ Usage: ``?rule=ID1&rule=rule=ID2``. Default value is None.
5687
+ :paramtype rule: list[str]
5688
+ :keyword channel: Filtering by multiple channels.
5689
+
5690
+ Usage: ``?channel=ID1&channel=ID2``. Default value is None.
5691
+ :paramtype channel: list[str]
5682
5692
  :return: JSON object
5683
5693
  :rtype: JSON
5684
5694
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -5715,8 +5725,8 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
5715
5725
  "type": "str", # The type of the notification event.
5716
5726
  Required. "entitlements.balance.threshold"
5717
5727
  "annotations": {
5718
- "str": "str" # Optional. List of annotations managed
5719
- by the system.
5728
+ "str": {} # Optional. List of annotations managed by
5729
+ the system.
5720
5730
  }
5721
5731
  }
5722
5732
  ],
@@ -5748,6 +5758,8 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
5748
5758
  to=to,
5749
5759
  feature=feature,
5750
5760
  subject=subject,
5761
+ rule=rule,
5762
+ channel=channel,
5751
5763
  headers=_headers,
5752
5764
  params=_params,
5753
5765
  )
File without changes