license_manager 0.3.3 → 0.3.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84013ac7d9c28271647dd18819bc70dd898cfb1288da389456fc1235f7a51906
4
- data.tar.gz: 95ab30ee9f61fe92885cbe869040e5a84d69c0fbb932fed51e524a927c3caf9b
3
+ metadata.gz: 03c5c21351e34cf5e63df9e2174a9a7662ca4c3eb78a9957de394668cc8b892e
4
+ data.tar.gz: c34d07e1b6f9cc1763aa38276de44aebff9b6f89fcb65833fe4ab9259c4fa8ef
5
5
  SHA512:
6
- metadata.gz: 0c5ebe6ffa873d4c46ce31fb4d63dc4a46da24c49688fbaeebdfe4de5d39d75c338eb7822cc45c378ded4c24b2c0142644c95dc413697399a2f77ef9713ce57a
7
- data.tar.gz: d73a8a3a5b929f6c8c404452ae0230e242da223cf1501fb0aac0164286195c98000e8b45ca1af9b66bb5d018cafa6d03abeff9aee5850831b657420b049d039b
6
+ metadata.gz: d3f3a6b680ecfac3c20b68471de625d2bc037d4b940f843f4eac5855c978cb2ebb2d85b47d1d9891fbe7325e19719d75ddb463ae5cbd5e96040ef51682752da4
7
+ data.tar.gz: cf18c4abde11dc326ad13f95ea853cf89fa831a4ca4c5ce1cf0a6e8315b0ffbdfd4ce3376e3c51d27eae1792924b11749cfabe4d57aae426b6af3f61efc3e181
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.4 (2026-11-11)
4
+
5
+ ### Changes
6
+
7
+ - `GET /v1/customers/{customerId}/licenses`: added the new optional `query` request parameter `machinePlatform`
8
+ - `GET /v1/products/{productId}/licenses`: added the new optional `query` request parameter `machinePlatform`
9
+
3
10
  ## 0.3.3 (2026-11-06)
4
11
 
5
12
  ### Potentially breaking changes
data/docs/LicensesApi.md CHANGED
@@ -483,6 +483,7 @@ opts = {
483
483
  key: '7KQ2M-X9ZPA-H4TRC-WN6EY-B3JDF', # String | Only returns the license with this exact key, case included. Keys of test products start with `TEST-`.
484
484
  policy_id: 'p4Rt8LmQ', # String | Only returns the licenses following this policy.
485
485
  machine_version: '2.3.1', # String | Only returns the licenses with at least one active machine running this version of the product.
486
+ machine_platform: 'macOS 15.1', # String | Only returns the licenses with at least one active machine on this platform.
486
487
  status: LicenseManager::LicenseStatus::ACTIVE, # LicenseStatus | Only returns the licenses with this status.
487
488
  created_from: Time.parse('2026-01-01T00:00:00.000Z'), # Time | Only returns the licenses created at or after this date.
488
489
  created_to: Time.parse('2026-02-01T00:00:00.000Z'), # Time | Only returns the licenses created at or before this date.
@@ -538,6 +539,7 @@ end
538
539
  | **key** | **String** | Only returns the license with this exact key, case included. Keys of test products start with `TEST-`. | [optional] |
539
540
  | **policy_id** | **String** | Only returns the licenses following this policy. | [optional] |
540
541
  | **machine_version** | **String** | Only returns the licenses with at least one active machine running this version of the product. | [optional] |
542
+ | **machine_platform** | **String** | Only returns the licenses with at least one active machine on this platform. | [optional] |
541
543
  | **status** | [**LicenseStatus**](.md) | Only returns the licenses with this status. | [optional] |
542
544
  | **created_from** | **Time** | Only returns the licenses created at or after this date. | [optional] |
543
545
  | **created_to** | **Time** | Only returns the licenses created at or before this date. | [optional] |
@@ -599,6 +601,7 @@ opts = {
599
601
  policy_id: 'p4Rt8LmQ', # String | Only returns the licenses following this policy.
600
602
  customer_id: 'c9Wd3RtE', # String | Only returns the licenses of this customer.
601
603
  machine_version: '2.3.1', # String | Only returns the licenses with at least one active machine running this version of the product.
604
+ machine_platform: 'macOS 15.1', # String | Only returns the licenses with at least one active machine on this platform.
602
605
  status: LicenseManager::LicenseStatus::ACTIVE, # LicenseStatus | Only returns the licenses with this status.
603
606
  created_from: Time.parse('2026-01-01T00:00:00.000Z'), # Time | Only returns the licenses created at or after this date.
604
607
  created_to: Time.parse('2026-02-01T00:00:00.000Z'), # Time | Only returns the licenses created at or before this date.
@@ -655,6 +658,7 @@ end
655
658
  | **policy_id** | **String** | Only returns the licenses following this policy. | [optional] |
656
659
  | **customer_id** | **String** | Only returns the licenses of this customer. | [optional] |
657
660
  | **machine_version** | **String** | Only returns the licenses with at least one active machine running this version of the product. | [optional] |
661
+ | **machine_platform** | **String** | Only returns the licenses with at least one active machine on this platform. | [optional] |
658
662
  | **status** | [**LicenseStatus**](.md) | Only returns the licenses with this status. | [optional] |
659
663
  | **created_from** | **Time** | Only returns the licenses created at or after this date. | [optional] |
660
664
  | **created_to** | **Time** | Only returns the licenses created at or before this date. | [optional] |
@@ -424,6 +424,7 @@ module LicenseManager
424
424
  # @option opts [String] :key Only returns the license with this exact key, case included. Keys of test products start with `TEST-`.
425
425
  # @option opts [String] :policy_id Only returns the licenses following this policy.
426
426
  # @option opts [String] :machine_version Only returns the licenses with at least one active machine running this version of the product.
427
+ # @option opts [String] :machine_platform Only returns the licenses with at least one active machine on this platform.
427
428
  # @option opts [LicenseStatus] :status Only returns the licenses with this status.
428
429
  # @option opts [Time] :created_from Only returns the licenses created at or after this date.
429
430
  # @option opts [Time] :created_to Only returns the licenses created at or before this date.
@@ -455,6 +456,7 @@ module LicenseManager
455
456
  # @option opts [String] :key Only returns the license with this exact key, case included. Keys of test products start with `TEST-`.
456
457
  # @option opts [String] :policy_id Only returns the licenses following this policy.
457
458
  # @option opts [String] :machine_version Only returns the licenses with at least one active machine running this version of the product.
459
+ # @option opts [String] :machine_platform Only returns the licenses with at least one active machine on this platform.
458
460
  # @option opts [LicenseStatus] :status Only returns the licenses with this status.
459
461
  # @option opts [Time] :created_from Only returns the licenses created at or after this date.
460
462
  # @option opts [Time] :created_to Only returns the licenses created at or before this date.
@@ -526,6 +528,7 @@ module LicenseManager
526
528
  query_params[:'key'] = opts[:'key'] if !opts[:'key'].nil?
527
529
  query_params[:'policyId'] = opts[:'policy_id'] if !opts[:'policy_id'].nil?
528
530
  query_params[:'machineVersion'] = opts[:'machine_version'] if !opts[:'machine_version'].nil?
531
+ query_params[:'machinePlatform'] = opts[:'machine_platform'] if !opts[:'machine_platform'].nil?
529
532
  query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
530
533
  query_params[:'createdFrom'] = opts[:'created_from'] if !opts[:'created_from'].nil?
531
534
  query_params[:'createdTo'] = opts[:'created_to'] if !opts[:'created_to'].nil?
@@ -587,6 +590,7 @@ module LicenseManager
587
590
  # @option opts [String] :policy_id Only returns the licenses following this policy.
588
591
  # @option opts [String] :customer_id Only returns the licenses of this customer.
589
592
  # @option opts [String] :machine_version Only returns the licenses with at least one active machine running this version of the product.
593
+ # @option opts [String] :machine_platform Only returns the licenses with at least one active machine on this platform.
590
594
  # @option opts [LicenseStatus] :status Only returns the licenses with this status.
591
595
  # @option opts [Time] :created_from Only returns the licenses created at or after this date.
592
596
  # @option opts [Time] :created_to Only returns the licenses created at or before this date.
@@ -619,6 +623,7 @@ module LicenseManager
619
623
  # @option opts [String] :policy_id Only returns the licenses following this policy.
620
624
  # @option opts [String] :customer_id Only returns the licenses of this customer.
621
625
  # @option opts [String] :machine_version Only returns the licenses with at least one active machine running this version of the product.
626
+ # @option opts [String] :machine_platform Only returns the licenses with at least one active machine on this platform.
622
627
  # @option opts [LicenseStatus] :status Only returns the licenses with this status.
623
628
  # @option opts [Time] :created_from Only returns the licenses created at or after this date.
624
629
  # @option opts [Time] :created_to Only returns the licenses created at or before this date.
@@ -691,6 +696,7 @@ module LicenseManager
691
696
  query_params[:'policyId'] = opts[:'policy_id'] if !opts[:'policy_id'].nil?
692
697
  query_params[:'customerId'] = opts[:'customer_id'] if !opts[:'customer_id'].nil?
693
698
  query_params[:'machineVersion'] = opts[:'machine_version'] if !opts[:'machine_version'].nil?
699
+ query_params[:'machinePlatform'] = opts[:'machine_platform'] if !opts[:'machine_platform'].nil?
694
700
  query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
695
701
  query_params[:'createdFrom'] = opts[:'created_from'] if !opts[:'created_from'].nil?
696
702
  query_params[:'createdTo'] = opts[:'created_to'] if !opts[:'created_to'].nil?
@@ -11,5 +11,5 @@ Generator version: 7.26.0
11
11
  =end
12
12
 
13
13
  module LicenseManager
14
- VERSION = '0.3.3'
14
+ VERSION = '0.3.4'
15
15
  end
data/openapi.json CHANGED
@@ -6631,6 +6631,17 @@
6631
6631
  "name": "machineVersion",
6632
6632
  "in": "query"
6633
6633
  },
6634
+ {
6635
+ "schema": {
6636
+ "type": "string",
6637
+ "description": "Only returns the licenses with at least one active machine on this platform.",
6638
+ "example": "macOS 15.1"
6639
+ },
6640
+ "required": false,
6641
+ "description": "Only returns the licenses with at least one active machine on this platform.",
6642
+ "name": "machinePlatform",
6643
+ "in": "query"
6644
+ },
6634
6645
  {
6635
6646
  "schema": {
6636
6647
  "allOf": [
@@ -7132,6 +7143,17 @@
7132
7143
  "name": "machineVersion",
7133
7144
  "in": "query"
7134
7145
  },
7146
+ {
7147
+ "schema": {
7148
+ "type": "string",
7149
+ "description": "Only returns the licenses with at least one active machine on this platform.",
7150
+ "example": "macOS 15.1"
7151
+ },
7152
+ "required": false,
7153
+ "description": "Only returns the licenses with at least one active machine on this platform.",
7154
+ "name": "machinePlatform",
7155
+ "in": "query"
7156
+ },
7135
7157
  {
7136
7158
  "schema": {
7137
7159
  "allOf": [
@@ -117,6 +117,7 @@ describe 'LicensesApi' do
117
117
  # @option opts [String] :key Only returns the license with this exact key, case included. Keys of test products start with `TEST-`.
118
118
  # @option opts [String] :policy_id Only returns the licenses following this policy.
119
119
  # @option opts [String] :machine_version Only returns the licenses with at least one active machine running this version of the product.
120
+ # @option opts [String] :machine_platform Only returns the licenses with at least one active machine on this platform.
120
121
  # @option opts [LicenseStatus] :status Only returns the licenses with this status.
121
122
  # @option opts [Time] :created_from Only returns the licenses created at or after this date.
122
123
  # @option opts [Time] :created_to Only returns the licenses created at or before this date.
@@ -151,6 +152,7 @@ describe 'LicensesApi' do
151
152
  # @option opts [String] :policy_id Only returns the licenses following this policy.
152
153
  # @option opts [String] :customer_id Only returns the licenses of this customer.
153
154
  # @option opts [String] :machine_version Only returns the licenses with at least one active machine running this version of the product.
155
+ # @option opts [String] :machine_platform Only returns the licenses with at least one active machine on this platform.
154
156
  # @option opts [LicenseStatus] :status Only returns the licenses with this status.
155
157
  # @option opts [Time] :created_from Only returns the licenses created at or after this date.
156
158
  # @option opts [Time] :created_to Only returns the licenses created at or before this date.
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.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - LicenseManager