openmeter 1.0.0b99__py3-none-any.whl → 1.0.0b101__py3-none-any.whl

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.

@@ -2695,16 +2695,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2695
2695
  {
2696
2696
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource
2697
2697
  was created. Required.
2698
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource
2699
- was deleted. Required.
2700
2698
  "id": "str", # Readonly unique ULID identifier. Required.
2701
2699
  "key": "str", # The unique key of the feature to reference it from
2702
2700
  your application. Required.
2703
2701
  "name": "str", # The name of the feature. Required.
2704
2702
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource
2705
- was last updated. Required.
2703
+ was last updated. Defaults to createdAt if not updated. Required.
2706
2704
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is
2707
2705
  archived, it will not be used for grants or usage.
2706
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time
2707
+ the resource was deleted. Null if not deleted.
2708
2708
  "metadata": {
2709
2709
  "str": "str" # Optional. Additional metadata for the
2710
2710
  feature.
@@ -2805,16 +2805,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2805
2805
  response == {
2806
2806
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
2807
2807
  created. Required.
2808
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
2809
- deleted. Required.
2810
2808
  "id": "str", # Readonly unique ULID identifier. Required.
2811
2809
  "key": "str", # The unique key of the feature to reference it from your
2812
2810
  application. Required.
2813
2811
  "name": "str", # The name of the feature. Required.
2814
2812
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
2815
- last updated. Required.
2813
+ last updated. Defaults to createdAt if not updated. Required.
2816
2814
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is archived,
2817
2815
  it will not be used for grants or usage.
2816
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
2817
+ resource was deleted. Null if not deleted.
2818
2818
  "metadata": {
2819
2819
  "str": "str" # Optional. Additional metadata for the feature.
2820
2820
  },
@@ -2851,16 +2851,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2851
2851
  response == {
2852
2852
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
2853
2853
  created. Required.
2854
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
2855
- deleted. Required.
2856
2854
  "id": "str", # Readonly unique ULID identifier. Required.
2857
2855
  "key": "str", # The unique key of the feature to reference it from your
2858
2856
  application. Required.
2859
2857
  "name": "str", # The name of the feature. Required.
2860
2858
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
2861
- last updated. Required.
2859
+ last updated. Defaults to createdAt if not updated. Required.
2862
2860
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is archived,
2863
2861
  it will not be used for grants or usage.
2862
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
2863
+ resource was deleted. Null if not deleted.
2864
2864
  "metadata": {
2865
2865
  "str": "str" # Optional. Additional metadata for the feature.
2866
2866
  },
@@ -2911,16 +2911,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2911
2911
  response == {
2912
2912
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
2913
2913
  created. Required.
2914
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
2915
- deleted. Required.
2916
2914
  "id": "str", # Readonly unique ULID identifier. Required.
2917
2915
  "key": "str", # The unique key of the feature to reference it from your
2918
2916
  application. Required.
2919
2917
  "name": "str", # The name of the feature. Required.
2920
2918
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
2921
- last updated. Required.
2919
+ last updated. Defaults to createdAt if not updated. Required.
2922
2920
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is archived,
2923
2921
  it will not be used for grants or usage.
2922
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
2923
+ resource was deleted. Null if not deleted.
2924
2924
  "metadata": {
2925
2925
  "str": "str" # Optional. Additional metadata for the feature.
2926
2926
  },
@@ -3009,16 +3009,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3009
3009
  response == {
3010
3010
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
3011
3011
  created. Required.
3012
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
3013
- deleted. Required.
3014
3012
  "id": "str", # Readonly unique ULID identifier. Required.
3015
3013
  "key": "str", # The unique key of the feature to reference it from your
3016
3014
  application. Required.
3017
3015
  "name": "str", # The name of the feature. Required.
3018
3016
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
3019
- last updated. Required.
3017
+ last updated. Defaults to createdAt if not updated. Required.
3020
3018
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is archived,
3021
3019
  it will not be used for grants or usage.
3020
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
3021
+ resource was deleted. Null if not deleted.
3022
3022
  "metadata": {
3023
3023
  "str": "str" # Optional. Additional metadata for the feature.
3024
3024
  },
@@ -3160,10 +3160,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3160
3160
  Required.
3161
3161
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource
3162
3162
  was created. Required.
3163
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource
3164
- was deleted. Required.
3165
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided
3166
- value will be ceiled to metering windowSize (minute). Required.
3163
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants
3164
+ and anchor for recurring grants. Provided value will be ceiled to metering
3165
+ windowSize (minute). Required.
3167
3166
  "entitlementId": "str", # The unique entitlement ULID that the grant
3168
3167
  is associated with. Required.
3169
3168
  "expiration": {
@@ -3175,7 +3174,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3175
3174
  },
3176
3175
  "id": "str", # Readonly unique ULID identifier. Required.
3177
3176
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource
3178
- was last updated. Required.
3177
+ was last updated. Defaults to createdAt if not updated. Required.
3178
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time
3179
+ the resource was deleted. Null if not deleted.
3179
3180
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date
3180
3181
  of the grant.
3181
3182
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are
@@ -3753,10 +3754,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3753
3754
  Required.
3754
3755
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource
3755
3756
  was created. Required.
3756
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource
3757
- was deleted. Required.
3758
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided
3759
- value will be ceiled to metering windowSize (minute). Required.
3757
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants
3758
+ and anchor for recurring grants. Provided value will be ceiled to metering
3759
+ windowSize (minute). Required.
3760
3760
  "entitlementId": "str", # The unique entitlement ULID that the grant
3761
3761
  is associated with. Required.
3762
3762
  "expiration": {
@@ -3768,7 +3768,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3768
3768
  },
3769
3769
  "id": "str", # Readonly unique ULID identifier. Required.
3770
3770
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource
3771
- was last updated. Required.
3771
+ was last updated. Defaults to createdAt if not updated. Required.
3772
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time
3773
+ the resource was deleted. Null if not deleted.
3772
3774
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date
3773
3775
  of the grant.
3774
3776
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are
@@ -3888,8 +3890,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3888
3890
  # JSON input template you can fill out and use as your body input.
3889
3891
  body = {
3890
3892
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
3891
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
3892
- will be ceiled to metering windowSize (minute). Required.
3893
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
3894
+ for recurring grants. Provided value will be ceiled to metering windowSize
3895
+ (minute). Required.
3893
3896
  "expiration": {
3894
3897
  "count": 0, # The expiration period count like 12 months. Required.
3895
3898
  "duration": "str" # The expiration period duration like month.
@@ -3933,10 +3936,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3933
3936
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
3934
3937
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
3935
3938
  created. Required.
3936
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
3937
- deleted. Required.
3938
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
3939
- will be ceiled to metering windowSize (minute). Required.
3939
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
3940
+ for recurring grants. Provided value will be ceiled to metering windowSize
3941
+ (minute). Required.
3940
3942
  "entitlementId": "str", # The unique entitlement ULID that the grant is
3941
3943
  associated with. Required.
3942
3944
  "expiration": {
@@ -3946,7 +3948,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3946
3948
  },
3947
3949
  "id": "str", # Readonly unique ULID identifier. Required.
3948
3950
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
3949
- last updated. Required.
3951
+ last updated. Defaults to createdAt if not updated. Required.
3952
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
3953
+ resource was deleted. Null if not deleted.
3950
3954
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date of the
3951
3955
  grant.
3952
3956
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are rolled
@@ -4022,10 +4026,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
4022
4026
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
4023
4027
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
4024
4028
  created. Required.
4025
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
4026
- deleted. Required.
4027
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
4028
- will be ceiled to metering windowSize (minute). Required.
4029
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
4030
+ for recurring grants. Provided value will be ceiled to metering windowSize
4031
+ (minute). Required.
4029
4032
  "entitlementId": "str", # The unique entitlement ULID that the grant is
4030
4033
  associated with. Required.
4031
4034
  "expiration": {
@@ -4035,7 +4038,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
4035
4038
  },
4036
4039
  "id": "str", # Readonly unique ULID identifier. Required.
4037
4040
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
4038
- last updated. Required.
4041
+ last updated. Defaults to createdAt if not updated. Required.
4042
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
4043
+ resource was deleted. Null if not deleted.
4039
4044
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date of the
4040
4045
  grant.
4041
4046
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are rolled
@@ -4100,8 +4105,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
4100
4105
  # JSON input template you can fill out and use as your body input.
4101
4106
  body = {
4102
4107
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
4103
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
4104
- will be ceiled to metering windowSize (minute). Required.
4108
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
4109
+ for recurring grants. Provided value will be ceiled to metering windowSize
4110
+ (minute). Required.
4105
4111
  "expiration": {
4106
4112
  "count": 0, # The expiration period count like 12 months. Required.
4107
4113
  "duration": "str" # The expiration period duration like month.
@@ -4145,10 +4151,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
4145
4151
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
4146
4152
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
4147
4153
  created. Required.
4148
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
4149
- deleted. Required.
4150
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
4151
- will be ceiled to metering windowSize (minute). Required.
4154
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
4155
+ for recurring grants. Provided value will be ceiled to metering windowSize
4156
+ (minute). Required.
4152
4157
  "entitlementId": "str", # The unique entitlement ULID that the grant is
4153
4158
  associated with. Required.
4154
4159
  "expiration": {
@@ -4158,7 +4163,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
4158
4163
  },
4159
4164
  "id": "str", # Readonly unique ULID identifier. Required.
4160
4165
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
4161
- last updated. Required.
4166
+ last updated. Defaults to createdAt if not updated. Required.
4167
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
4168
+ resource was deleted. Null if not deleted.
4162
4169
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date of the
4163
4170
  grant.
4164
4171
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are rolled
@@ -1991,16 +1991,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
1991
1991
  {
1992
1992
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource
1993
1993
  was created. Required.
1994
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource
1995
- was deleted. Required.
1996
1994
  "id": "str", # Readonly unique ULID identifier. Required.
1997
1995
  "key": "str", # The unique key of the feature to reference it from
1998
1996
  your application. Required.
1999
1997
  "name": "str", # The name of the feature. Required.
2000
1998
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource
2001
- was last updated. Required.
1999
+ was last updated. Defaults to createdAt if not updated. Required.
2002
2000
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is
2003
2001
  archived, it will not be used for grants or usage.
2002
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time
2003
+ the resource was deleted. Null if not deleted.
2004
2004
  "metadata": {
2005
2005
  "str": "str" # Optional. Additional metadata for the
2006
2006
  feature.
@@ -2101,16 +2101,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2101
2101
  response == {
2102
2102
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
2103
2103
  created. Required.
2104
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
2105
- deleted. Required.
2106
2104
  "id": "str", # Readonly unique ULID identifier. Required.
2107
2105
  "key": "str", # The unique key of the feature to reference it from your
2108
2106
  application. Required.
2109
2107
  "name": "str", # The name of the feature. Required.
2110
2108
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
2111
- last updated. Required.
2109
+ last updated. Defaults to createdAt if not updated. Required.
2112
2110
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is archived,
2113
2111
  it will not be used for grants or usage.
2112
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
2113
+ resource was deleted. Null if not deleted.
2114
2114
  "metadata": {
2115
2115
  "str": "str" # Optional. Additional metadata for the feature.
2116
2116
  },
@@ -2147,16 +2147,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2147
2147
  response == {
2148
2148
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
2149
2149
  created. Required.
2150
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
2151
- deleted. Required.
2152
2150
  "id": "str", # Readonly unique ULID identifier. Required.
2153
2151
  "key": "str", # The unique key of the feature to reference it from your
2154
2152
  application. Required.
2155
2153
  "name": "str", # The name of the feature. Required.
2156
2154
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
2157
- last updated. Required.
2155
+ last updated. Defaults to createdAt if not updated. Required.
2158
2156
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is archived,
2159
2157
  it will not be used for grants or usage.
2158
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
2159
+ resource was deleted. Null if not deleted.
2160
2160
  "metadata": {
2161
2161
  "str": "str" # Optional. Additional metadata for the feature.
2162
2162
  },
@@ -2207,16 +2207,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2207
2207
  response == {
2208
2208
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
2209
2209
  created. Required.
2210
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
2211
- deleted. Required.
2212
2210
  "id": "str", # Readonly unique ULID identifier. Required.
2213
2211
  "key": "str", # The unique key of the feature to reference it from your
2214
2212
  application. Required.
2215
2213
  "name": "str", # The name of the feature. Required.
2216
2214
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
2217
- last updated. Required.
2215
+ last updated. Defaults to createdAt if not updated. Required.
2218
2216
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is archived,
2219
2217
  it will not be used for grants or usage.
2218
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
2219
+ resource was deleted. Null if not deleted.
2220
2220
  "metadata": {
2221
2221
  "str": "str" # Optional. Additional metadata for the feature.
2222
2222
  },
@@ -2305,16 +2305,16 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2305
2305
  response == {
2306
2306
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
2307
2307
  created. Required.
2308
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
2309
- deleted. Required.
2310
2308
  "id": "str", # Readonly unique ULID identifier. Required.
2311
2309
  "key": "str", # The unique key of the feature to reference it from your
2312
2310
  application. Required.
2313
2311
  "name": "str", # The name of the feature. Required.
2314
2312
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
2315
- last updated. Required.
2313
+ last updated. Defaults to createdAt if not updated. Required.
2316
2314
  "archivedAt": "2020-02-20 00:00:00", # Optional. If the feature is archived,
2317
2315
  it will not be used for grants or usage.
2316
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
2317
+ resource was deleted. Null if not deleted.
2318
2318
  "metadata": {
2319
2319
  "str": "str" # Optional. Additional metadata for the feature.
2320
2320
  },
@@ -2458,10 +2458,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2458
2458
  Required.
2459
2459
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource
2460
2460
  was created. Required.
2461
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource
2462
- was deleted. Required.
2463
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided
2464
- value will be ceiled to metering windowSize (minute). Required.
2461
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants
2462
+ and anchor for recurring grants. Provided value will be ceiled to metering
2463
+ windowSize (minute). Required.
2465
2464
  "entitlementId": "str", # The unique entitlement ULID that the grant
2466
2465
  is associated with. Required.
2467
2466
  "expiration": {
@@ -2473,7 +2472,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
2473
2472
  },
2474
2473
  "id": "str", # Readonly unique ULID identifier. Required.
2475
2474
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource
2476
- was last updated. Required.
2475
+ was last updated. Defaults to createdAt if not updated. Required.
2476
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time
2477
+ the resource was deleted. Null if not deleted.
2477
2478
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date
2478
2479
  of the grant.
2479
2480
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are
@@ -3051,10 +3052,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3051
3052
  Required.
3052
3053
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource
3053
3054
  was created. Required.
3054
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource
3055
- was deleted. Required.
3056
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided
3057
- value will be ceiled to metering windowSize (minute). Required.
3055
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants
3056
+ and anchor for recurring grants. Provided value will be ceiled to metering
3057
+ windowSize (minute). Required.
3058
3058
  "entitlementId": "str", # The unique entitlement ULID that the grant
3059
3059
  is associated with. Required.
3060
3060
  "expiration": {
@@ -3066,7 +3066,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3066
3066
  },
3067
3067
  "id": "str", # Readonly unique ULID identifier. Required.
3068
3068
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource
3069
- was last updated. Required.
3069
+ was last updated. Defaults to createdAt if not updated. Required.
3070
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time
3071
+ the resource was deleted. Null if not deleted.
3070
3072
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date
3071
3073
  of the grant.
3072
3074
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are
@@ -3186,8 +3188,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3186
3188
  # JSON input template you can fill out and use as your body input.
3187
3189
  body = {
3188
3190
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
3189
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
3190
- will be ceiled to metering windowSize (minute). Required.
3191
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
3192
+ for recurring grants. Provided value will be ceiled to metering windowSize
3193
+ (minute). Required.
3191
3194
  "expiration": {
3192
3195
  "count": 0, # The expiration period count like 12 months. Required.
3193
3196
  "duration": "str" # The expiration period duration like month.
@@ -3231,10 +3234,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3231
3234
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
3232
3235
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
3233
3236
  created. Required.
3234
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
3235
- deleted. Required.
3236
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
3237
- will be ceiled to metering windowSize (minute). Required.
3237
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
3238
+ for recurring grants. Provided value will be ceiled to metering windowSize
3239
+ (minute). Required.
3238
3240
  "entitlementId": "str", # The unique entitlement ULID that the grant is
3239
3241
  associated with. Required.
3240
3242
  "expiration": {
@@ -3244,7 +3246,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3244
3246
  },
3245
3247
  "id": "str", # Readonly unique ULID identifier. Required.
3246
3248
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
3247
- last updated. Required.
3249
+ last updated. Defaults to createdAt if not updated. Required.
3250
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
3251
+ resource was deleted. Null if not deleted.
3248
3252
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date of the
3249
3253
  grant.
3250
3254
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are rolled
@@ -3320,10 +3324,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3320
3324
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
3321
3325
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
3322
3326
  created. Required.
3323
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
3324
- deleted. Required.
3325
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
3326
- will be ceiled to metering windowSize (minute). Required.
3327
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
3328
+ for recurring grants. Provided value will be ceiled to metering windowSize
3329
+ (minute). Required.
3327
3330
  "entitlementId": "str", # The unique entitlement ULID that the grant is
3328
3331
  associated with. Required.
3329
3332
  "expiration": {
@@ -3333,7 +3336,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3333
3336
  },
3334
3337
  "id": "str", # Readonly unique ULID identifier. Required.
3335
3338
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
3336
- last updated. Required.
3339
+ last updated. Defaults to createdAt if not updated. Required.
3340
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
3341
+ resource was deleted. Null if not deleted.
3337
3342
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date of the
3338
3343
  grant.
3339
3344
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are rolled
@@ -3398,8 +3403,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3398
3403
  # JSON input template you can fill out and use as your body input.
3399
3404
  body = {
3400
3405
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
3401
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
3402
- will be ceiled to metering windowSize (minute). Required.
3406
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
3407
+ for recurring grants. Provided value will be ceiled to metering windowSize
3408
+ (minute). Required.
3403
3409
  "expiration": {
3404
3410
  "count": 0, # The expiration period count like 12 months. Required.
3405
3411
  "duration": "str" # The expiration period duration like month.
@@ -3443,10 +3449,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3443
3449
  "amount": 0.0, # The amount to grant. Should be a positive number. Required.
3444
3450
  "createdAt": "2020-02-20 00:00:00", # The date and time the resource was
3445
3451
  created. Required.
3446
- "deletedAt": "2020-02-20 00:00:00", # The date and time the resource was
3447
- deleted. Required.
3448
- "effectiveAt": "2020-02-20 00:00:00", # The effective time. Provided value
3449
- will be ceiled to metering windowSize (minute). Required.
3452
+ "effectiveAt": "2020-02-20 00:00:00", # Effective date for grants and anchor
3453
+ for recurring grants. Provided value will be ceiled to metering windowSize
3454
+ (minute). Required.
3450
3455
  "entitlementId": "str", # The unique entitlement ULID that the grant is
3451
3456
  associated with. Required.
3452
3457
  "expiration": {
@@ -3456,7 +3461,9 @@ class ClientOperationsMixin(ClientMixinABC): # pylint: disable=too-many-public-
3456
3461
  },
3457
3462
  "id": "str", # Readonly unique ULID identifier. Required.
3458
3463
  "updatedAt": "2020-02-20 00:00:00", # The date and time the resource was
3459
- last updated. Required.
3464
+ last updated. Defaults to createdAt if not updated. Required.
3465
+ "deletedAt": "2020-02-20 00:00:00", # Optional. The date and time the
3466
+ resource was deleted. Null if not deleted.
3460
3467
  "expiresAt": "2020-02-20 00:00:00", # Optional. The expiration date of the
3461
3468
  grant.
3462
3469
  "maxRolloverAmount": 0, # Optional. Default value is 0. Grants are rolled
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openmeter
3
- Version: 1.0.0b99
3
+ Version: 1.0.0b101
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
@@ -2,7 +2,7 @@ openmeter/__init__.py,sha256=7klRT7LAGDqBcZsl7LGZrgrABVwyncgVUlidfaPiJm4,702
2
2
  openmeter/_client.py,sha256=TIXIPi_UVO-d5BHra7_xIiKmLfZBrmc4L_Xq2gxi4lM,3982
3
3
  openmeter/_configuration.py,sha256=CIdMxPaIXwDLaCsnvmdmHTfplV_cRp24101RJCEWtes,1807
4
4
  openmeter/_operations/__init__.py,sha256=GVYObnS1nT-wbN8ONRxlAiH6NBeAXlOBi7olGJE9niA,682
5
- openmeter/_operations/_operations.py,sha256=UURUKik4RHiZxRJz7_Tx1bOsh3UIjzWSr4a8k_oC-zs,200397
5
+ openmeter/_operations/_operations.py,sha256=p8xH18hn-8Rtn9tihNKsUMlksXYq8cpJbgai23Dh8JA,201422
6
6
  openmeter/_operations/_patch.py,sha256=ptSL-JhY1fbGT9Cw2cUkPF1TPz5qVgXwTMMT5h41XUc,4874
7
7
  openmeter/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
8
8
  openmeter/_serialization.py,sha256=vQIv-wuCQabtiIq2DXOr7-InGADqxlXTGNEKv9OlDPs,78873
@@ -11,11 +11,11 @@ openmeter/aio/__init__.py,sha256=7klRT7LAGDqBcZsl7LGZrgrABVwyncgVUlidfaPiJm4,702
11
11
  openmeter/aio/_client.py,sha256=O0VpMfw42UuTN_ZTIL3dw944PviLIrBBCSp7UaexyKQ,4100
12
12
  openmeter/aio/_configuration.py,sha256=NtT-cxQWkt8q_FvMfwqqil18Tt9zJmWGVju4U9s7OsE,1817
13
13
  openmeter/aio/_operations/__init__.py,sha256=GVYObnS1nT-wbN8ONRxlAiH6NBeAXlOBi7olGJE9niA,682
14
- openmeter/aio/_operations/_operations.py,sha256=LaG_mTB_2rJAmAC5IJbAcxY9pXKdrD25fZo567WLWb0,174629
14
+ openmeter/aio/_operations/_operations.py,sha256=Kq4xKSYitLlSStExwjehpB414cyS-NQ5o6BkLa9-WEo,175654
15
15
  openmeter/aio/_operations/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
16
16
  openmeter/aio/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
17
17
  openmeter/aio/_vendor.py,sha256=CFsSbXOBydpg_f_uciu6Pe6cvF__6ofZ6KFEhkaMMEU,862
18
18
  openmeter/py.typed,sha256=dcrsqJrcYfTX-ckLFJMTaj6mD8aDe2u0tkQG-ZYxnEg,26
19
- openmeter-1.0.0b99.dist-info/METADATA,sha256=kayAadV0YY0WVINqQlLeRwX8lwhLQn4pxSsMbdNaPPs,2257
20
- openmeter-1.0.0b99.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
21
- openmeter-1.0.0b99.dist-info/RECORD,,
19
+ openmeter-1.0.0b101.dist-info/METADATA,sha256=ATKbX0zjGdQ1aKGxDYbTn-6osMMEbIwEieVJOhGRLTY,2258
20
+ openmeter-1.0.0b101.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
21
+ openmeter-1.0.0b101.dist-info/RECORD,,