openmeter 1.0.0b94__tar.gz → 1.0.0b96__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.0b94 → openmeter-1.0.0b96}/PKG-INFO +1 -1
  2. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/pyproject.toml +1 -1
  3. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/_operations/_operations.py +22 -14
  4. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/aio/_operations/_operations.py +22 -14
  5. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/README.md +0 -0
  6. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/__init__.py +0 -0
  7. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/_client.py +0 -0
  8. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/_configuration.py +0 -0
  9. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/_operations/__init__.py +0 -0
  10. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/_operations/_patch.py +0 -0
  11. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/_patch.py +0 -0
  12. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/_serialization.py +0 -0
  13. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/_vendor.py +0 -0
  14. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/aio/__init__.py +0 -0
  15. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/aio/_client.py +0 -0
  16. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/aio/_configuration.py +0 -0
  17. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/aio/_operations/__init__.py +0 -0
  18. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/aio/_operations/_patch.py +0 -0
  19. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/aio/_patch.py +0 -0
  20. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/aio/_vendor.py +0 -0
  21. {openmeter-1.0.0b94 → openmeter-1.0.0b96}/src/openmeter/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openmeter
3
- Version: 1.0.0b94
3
+ Version: 1.0.0b96
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.94"
3
+ version = "v1.0.0-beta.96"
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"
@@ -3902,12 +3902,13 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3902
3902
  priorities and expiration dates, the system will use the grant that was created
3903
3903
  first.
3904
3904
  "recurrence": {
3905
- "anchor": "2020-02-20 00:00:00", # An arbitrary anchor to base the
3906
- recurring period on. Required.
3907
- "interval": "str" # List of pre-defined periods that can be used for
3908
- recurring & scheduling. DAY: Every day WEEK: Every week MONTH:
3905
+ "interval": "str", # List of pre-defined periods that can be used
3906
+ for recurring & scheduling. DAY: Every day WEEK: Every week MONTH:
3909
3907
  Every month YEAR: Every year. Required. Known values are: "DAY", "WEEK",
3910
3908
  "MONTH", and "YEAR".
3909
+ "anchor": "2020-02-20 00:00:00" # Optional. An arbitrary anchor to
3910
+ base the recurring period on. If not provided then defaults to now truncated
3911
+ to the hour.
3911
3912
  }
3912
3913
  }
3913
3914
 
@@ -4098,12 +4099,13 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
4098
4099
  priorities and expiration dates, the system will use the grant that was created
4099
4100
  first.
4100
4101
  "recurrence": {
4101
- "anchor": "2020-02-20 00:00:00", # An arbitrary anchor to base the
4102
- recurring period on. Required.
4103
- "interval": "str" # List of pre-defined periods that can be used for
4104
- recurring & scheduling. DAY: Every day WEEK: Every week MONTH:
4102
+ "interval": "str", # List of pre-defined periods that can be used
4103
+ for recurring & scheduling. DAY: Every day WEEK: Every week MONTH:
4105
4104
  Every month YEAR: Every year. Required. Known values are: "DAY", "WEEK",
4106
4105
  "MONTH", and "YEAR".
4106
+ "anchor": "2020-02-20 00:00:00" # Optional. An arbitrary anchor to
4107
+ base the recurring period on. If not provided then defaults to now truncated
4108
+ to the hour.
4107
4109
  }
4108
4110
  }
4109
4111
 
@@ -4484,9 +4486,12 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
4484
4486
 
4485
4487
  # JSON input template you can fill out and use as your body input.
4486
4488
  body = {
4487
- "effectiveAt": "2020-02-20 00:00:00" # Optional. The time at which the reset
4488
- takes effect, defaults to now. The reset cannot be in the future. The provided
4489
- value is truncated to the granularity of the underlying meter.
4489
+ "effectiveAt": "2020-02-20 00:00:00", # Optional. The time at which the
4490
+ reset takes effect, defaults to now. The reset cannot be in the future. The
4491
+ provided value is truncated to the granularity of the underlying meter.
4492
+ "retainAnchor": bool # Optional. Should the reset retain the usage period
4493
+ anchor. If true, the usage period anchor is retained. If false, the usage period
4494
+ anchor is reset to the effectiveAt time.
4490
4495
  }
4491
4496
  """
4492
4497
 
@@ -4542,9 +4547,12 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
4542
4547
 
4543
4548
  # JSON input template you can fill out and use as your body input.
4544
4549
  body = {
4545
- "effectiveAt": "2020-02-20 00:00:00" # Optional. The time at which the reset
4546
- takes effect, defaults to now. The reset cannot be in the future. The provided
4547
- value is truncated to the granularity of the underlying meter.
4550
+ "effectiveAt": "2020-02-20 00:00:00", # Optional. The time at which the
4551
+ reset takes effect, defaults to now. The reset cannot be in the future. The
4552
+ provided value is truncated to the granularity of the underlying meter.
4553
+ "retainAnchor": bool # Optional. Should the reset retain the usage period
4554
+ anchor. If true, the usage period anchor is retained. If false, the usage period
4555
+ anchor is reset to the effectiveAt time.
4548
4556
  }
4549
4557
  """
4550
4558
  error_map = {
@@ -3201,12 +3201,13 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3201
3201
  priorities and expiration dates, the system will use the grant that was created
3202
3202
  first.
3203
3203
  "recurrence": {
3204
- "anchor": "2020-02-20 00:00:00", # An arbitrary anchor to base the
3205
- recurring period on. Required.
3206
- "interval": "str" # List of pre-defined periods that can be used for
3207
- recurring & scheduling. DAY: Every day WEEK: Every week MONTH:
3204
+ "interval": "str", # List of pre-defined periods that can be used
3205
+ for recurring & scheduling. DAY: Every day WEEK: Every week MONTH:
3208
3206
  Every month YEAR: Every year. Required. Known values are: "DAY", "WEEK",
3209
3207
  "MONTH", and "YEAR".
3208
+ "anchor": "2020-02-20 00:00:00" # Optional. An arbitrary anchor to
3209
+ base the recurring period on. If not provided then defaults to now truncated
3210
+ to the hour.
3210
3211
  }
3211
3212
  }
3212
3213
 
@@ -3397,12 +3398,13 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3397
3398
  priorities and expiration dates, the system will use the grant that was created
3398
3399
  first.
3399
3400
  "recurrence": {
3400
- "anchor": "2020-02-20 00:00:00", # An arbitrary anchor to base the
3401
- recurring period on. Required.
3402
- "interval": "str" # List of pre-defined periods that can be used for
3403
- recurring & scheduling. DAY: Every day WEEK: Every week MONTH:
3401
+ "interval": "str", # List of pre-defined periods that can be used
3402
+ for recurring & scheduling. DAY: Every day WEEK: Every week MONTH:
3404
3403
  Every month YEAR: Every year. Required. Known values are: "DAY", "WEEK",
3405
3404
  "MONTH", and "YEAR".
3405
+ "anchor": "2020-02-20 00:00:00" # Optional. An arbitrary anchor to
3406
+ base the recurring period on. If not provided then defaults to now truncated
3407
+ to the hour.
3406
3408
  }
3407
3409
  }
3408
3410
 
@@ -3783,9 +3785,12 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3783
3785
 
3784
3786
  # JSON input template you can fill out and use as your body input.
3785
3787
  body = {
3786
- "effectiveAt": "2020-02-20 00:00:00" # Optional. The time at which the reset
3787
- takes effect, defaults to now. The reset cannot be in the future. The provided
3788
- value is truncated to the granularity of the underlying meter.
3788
+ "effectiveAt": "2020-02-20 00:00:00", # Optional. The time at which the
3789
+ reset takes effect, defaults to now. The reset cannot be in the future. The
3790
+ provided value is truncated to the granularity of the underlying meter.
3791
+ "retainAnchor": bool # Optional. Should the reset retain the usage period
3792
+ anchor. If true, the usage period anchor is retained. If false, the usage period
3793
+ anchor is reset to the effectiveAt time.
3789
3794
  }
3790
3795
  """
3791
3796
 
@@ -3841,9 +3846,12 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3841
3846
 
3842
3847
  # JSON input template you can fill out and use as your body input.
3843
3848
  body = {
3844
- "effectiveAt": "2020-02-20 00:00:00" # Optional. The time at which the reset
3845
- takes effect, defaults to now. The reset cannot be in the future. The provided
3846
- value is truncated to the granularity of the underlying meter.
3849
+ "effectiveAt": "2020-02-20 00:00:00", # Optional. The time at which the
3850
+ reset takes effect, defaults to now. The reset cannot be in the future. The
3851
+ provided value is truncated to the granularity of the underlying meter.
3852
+ "retainAnchor": bool # Optional. Should the reset retain the usage period
3853
+ anchor. If true, the usage period anchor is retained. If false, the usage period
3854
+ anchor is reset to the effectiveAt time.
3847
3855
  }
3848
3856
  """
3849
3857
  error_map = {
File without changes