license_manager 0.1.0 → 0.2.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +99 -0
- data/README.md +2 -2
- data/docs/CancelLicense.md +22 -0
- data/docs/CancellationReason.md +15 -0
- data/docs/CancellationStats.md +30 -0
- data/docs/CancellationStatsByReasonInner.md +20 -0
- data/docs/ConnectStripe.md +1 -1
- data/docs/CreateLicense.md +2 -0
- data/docs/CreatePolicy.md +3 -1
- data/docs/CreateProductWithPolicy.md +1 -1
- data/docs/CreateToken.md +1 -1
- data/docs/EventActorOneOf.md +1 -1
- data/docs/Integration.md +5 -1
- data/docs/IntegrationsApi.md +74 -0
- data/docs/License.md +10 -0
- data/docs/LicensesApi.md +80 -3
- data/docs/Machine.md +3 -1
- data/docs/MachinesApi.md +1 -1
- data/docs/Policy.md +2 -0
- data/docs/PolicySettings.md +3 -1
- data/docs/PortalApi.md +1 -1
- data/docs/PortalLink.md +2 -2
- data/docs/Product.md +2 -0
- data/docs/ProductStats.md +6 -4
- data/docs/ProductsApi.md +2 -2
- data/docs/Revenue.md +6 -2
- data/docs/StripeIntegration.md +1 -1
- data/docs/StripePermission.md +3 -1
- data/docs/UpdateIntegration.md +18 -0
- data/docs/UpdateLicense.md +3 -1
- data/docs/UpdatePolicy.md +3 -1
- data/docs/UpdateProduct.md +3 -1
- data/lib/license_manager/api/integrations_api.rb +74 -0
- data/lib/license_manager/api/licenses_api.rb +80 -6
- data/lib/license_manager/api/machines_api.rb +3 -3
- data/lib/license_manager/api/portal_api.rb +2 -2
- data/lib/license_manager/api/products_api.rb +4 -4
- data/lib/license_manager/models/cancel_license.rb +238 -0
- data/lib/license_manager/models/cancellation_reason.rb +45 -0
- data/lib/license_manager/models/cancellation_stats.rb +347 -0
- data/lib/license_manager/models/cancellation_stats_by_reason_inner.rb +225 -0
- data/lib/license_manager/models/connect_stripe.rb +1 -1
- data/lib/license_manager/models/create_license.rb +12 -1
- data/lib/license_manager/models/create_policy.rb +40 -5
- data/lib/license_manager/models/create_product_with_policy.rb +1 -1
- data/lib/license_manager/models/create_token.rb +1 -1
- data/lib/license_manager/models/event_type.rb +4 -1
- data/lib/license_manager/models/integration.rb +55 -1
- data/lib/license_manager/models/license.rb +79 -1
- data/lib/license_manager/models/license_status.rb +2 -1
- data/lib/license_manager/models/machine.rb +17 -4
- data/lib/license_manager/models/policy.rb +14 -1
- data/lib/license_manager/models/policy_settings.rb +40 -5
- data/lib/license_manager/models/portal_link.rb +1 -1
- data/lib/license_manager/models/product.rb +28 -1
- data/lib/license_manager/models/product_stats.rb +18 -5
- data/lib/license_manager/models/revenue.rb +58 -4
- data/lib/license_manager/models/stripe_integration.rb +1 -1
- data/lib/license_manager/models/stripe_permission.rb +31 -4
- data/lib/license_manager/models/update_integration.rb +161 -0
- data/lib/license_manager/models/update_license.rb +16 -5
- data/lib/license_manager/models/update_policy.rb +40 -5
- data/lib/license_manager/models/update_product.rb +14 -4
- data/lib/license_manager/version.rb +1 -1
- data/lib/license_manager.rb +5 -0
- data/license_manager.gemspec +1 -1
- data/openapi.json +566 -32
- data/spec/api/integrations_api_spec.rb +13 -0
- data/spec/api/licenses_api_spec.rb +16 -3
- data/spec/api/machines_api_spec.rb +1 -1
- data/spec/api/portal_api_spec.rb +1 -1
- data/spec/api/products_api_spec.rb +2 -2
- data/spec/models/cancel_license_spec.rb +48 -0
- data/spec/models/cancellation_reason_spec.rb +30 -0
- data/spec/models/cancellation_stats_by_reason_inner_spec.rb +42 -0
- data/spec/models/cancellation_stats_spec.rb +72 -0
- data/spec/models/create_license_spec.rb +6 -0
- data/spec/models/create_policy_spec.rb +6 -0
- data/spec/models/create_token_spec.rb +1 -1
- data/spec/models/integration_spec.rb +12 -0
- data/spec/models/license_spec.rb +30 -0
- data/spec/models/machine_spec.rb +7 -1
- data/spec/models/policy_settings_spec.rb +6 -0
- data/spec/models/policy_spec.rb +6 -0
- data/spec/models/product_spec.rb +6 -0
- data/spec/models/product_stats_spec.rb +6 -0
- data/spec/models/revenue_spec.rb +12 -0
- data/spec/models/stripe_permission_spec.rb +6 -0
- data/spec/models/token_spec.rb +1 -1
- data/spec/models/update_integration_spec.rb +36 -0
- data/spec/models/update_license_spec.rb +6 -0
- data/spec/models/update_policy_spec.rb +6 -0
- data/spec/models/update_product_spec.rb +6 -0
- metadata +23 -2
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: license_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LicenseManager
|
|
@@ -77,7 +77,8 @@ dependencies:
|
|
|
77
77
|
- - ">="
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
79
|
version: 3.6.0
|
|
80
|
-
description: 'Ruby client for the LicenseManager API: products
|
|
80
|
+
description: 'Ruby client for the LicenseManager API: products, policies, customers,
|
|
81
|
+
licenses, machines and releases.'
|
|
81
82
|
email:
|
|
82
83
|
- bot@licensemanager.dev
|
|
83
84
|
executables: []
|
|
@@ -89,6 +90,10 @@ files:
|
|
|
89
90
|
- LICENSE
|
|
90
91
|
- README.md
|
|
91
92
|
- Rakefile
|
|
93
|
+
- docs/CancelLicense.md
|
|
94
|
+
- docs/CancellationReason.md
|
|
95
|
+
- docs/CancellationStats.md
|
|
96
|
+
- docs/CancellationStatsByReasonInner.md
|
|
92
97
|
- docs/ConnectStripe.md
|
|
93
98
|
- docs/CreateCustomer.md
|
|
94
99
|
- docs/CreateIntegrationMapping.md
|
|
@@ -182,6 +187,7 @@ files:
|
|
|
182
187
|
- docs/Token.md
|
|
183
188
|
- docs/TokensApi.md
|
|
184
189
|
- docs/UpdateCustomer.md
|
|
190
|
+
- docs/UpdateIntegration.md
|
|
185
191
|
- docs/UpdateIntegrationMapping.md
|
|
186
192
|
- docs/UpdateLicense.md
|
|
187
193
|
- docs/UpdatePolicy.md
|
|
@@ -207,6 +213,10 @@ files:
|
|
|
207
213
|
- lib/license_manager/api_error.rb
|
|
208
214
|
- lib/license_manager/api_model_base.rb
|
|
209
215
|
- lib/license_manager/configuration.rb
|
|
216
|
+
- lib/license_manager/models/cancel_license.rb
|
|
217
|
+
- lib/license_manager/models/cancellation_reason.rb
|
|
218
|
+
- lib/license_manager/models/cancellation_stats.rb
|
|
219
|
+
- lib/license_manager/models/cancellation_stats_by_reason_inner.rb
|
|
210
220
|
- lib/license_manager/models/connect_stripe.rb
|
|
211
221
|
- lib/license_manager/models/create_customer.rb
|
|
212
222
|
- lib/license_manager/models/create_integration_mapping.rb
|
|
@@ -290,6 +300,7 @@ files:
|
|
|
290
300
|
- lib/license_manager/models/stripe_price.rb
|
|
291
301
|
- lib/license_manager/models/token.rb
|
|
292
302
|
- lib/license_manager/models/update_customer.rb
|
|
303
|
+
- lib/license_manager/models/update_integration.rb
|
|
293
304
|
- lib/license_manager/models/update_integration_mapping.rb
|
|
294
305
|
- lib/license_manager/models/update_license.rb
|
|
295
306
|
- lib/license_manager/models/update_policy.rb
|
|
@@ -312,6 +323,10 @@ files:
|
|
|
312
323
|
- spec/api/products_api_spec.rb
|
|
313
324
|
- spec/api/releases_api_spec.rb
|
|
314
325
|
- spec/api/tokens_api_spec.rb
|
|
326
|
+
- spec/models/cancel_license_spec.rb
|
|
327
|
+
- spec/models/cancellation_reason_spec.rb
|
|
328
|
+
- spec/models/cancellation_stats_by_reason_inner_spec.rb
|
|
329
|
+
- spec/models/cancellation_stats_spec.rb
|
|
315
330
|
- spec/models/connect_stripe_spec.rb
|
|
316
331
|
- spec/models/create_customer_spec.rb
|
|
317
332
|
- spec/models/create_integration_mapping_spec.rb
|
|
@@ -396,6 +411,7 @@ files:
|
|
|
396
411
|
- spec/models/token_spec.rb
|
|
397
412
|
- spec/models/update_customer_spec.rb
|
|
398
413
|
- spec/models/update_integration_mapping_spec.rb
|
|
414
|
+
- spec/models/update_integration_spec.rb
|
|
399
415
|
- spec/models/update_license_spec.rb
|
|
400
416
|
- spec/models/update_policy_spec.rb
|
|
401
417
|
- spec/models/update_product_portal_spec.rb
|
|
@@ -437,6 +453,10 @@ test_files:
|
|
|
437
453
|
- spec/api/products_api_spec.rb
|
|
438
454
|
- spec/api/releases_api_spec.rb
|
|
439
455
|
- spec/api/tokens_api_spec.rb
|
|
456
|
+
- spec/models/cancel_license_spec.rb
|
|
457
|
+
- spec/models/cancellation_reason_spec.rb
|
|
458
|
+
- spec/models/cancellation_stats_by_reason_inner_spec.rb
|
|
459
|
+
- spec/models/cancellation_stats_spec.rb
|
|
440
460
|
- spec/models/connect_stripe_spec.rb
|
|
441
461
|
- spec/models/create_customer_spec.rb
|
|
442
462
|
- spec/models/create_integration_mapping_spec.rb
|
|
@@ -521,6 +541,7 @@ test_files:
|
|
|
521
541
|
- spec/models/token_spec.rb
|
|
522
542
|
- spec/models/update_customer_spec.rb
|
|
523
543
|
- spec/models/update_integration_mapping_spec.rb
|
|
544
|
+
- spec/models/update_integration_spec.rb
|
|
524
545
|
- spec/models/update_license_spec.rb
|
|
525
546
|
- spec/models/update_policy_spec.rb
|
|
526
547
|
- spec/models/update_product_portal_spec.rb
|