license_manager 0.3.0 → 0.3.2

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.
@@ -32,6 +32,18 @@ describe 'IntegrationsApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for authorize_slack
36
+ # Start connecting a Slack channel
37
+ # Returns the URL of Slack's consent screen, where the user picks the channel getting the product's notifications. Slack then redirects to the app's integrations page. Doesn't accept tokens: only API keys and sessions. **Required role permission**: `integration:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
38
+ # @param product_id
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [SlackAuthorize]
41
+ describe 'authorize_slack test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
35
47
  # unit tests for check_integration
36
48
  # Check an integration
37
49
  # Checks right away, as done every day, that the API key still works and can manage the webhook endpoint, which is pointed at the server's webhook URL again (or created again when it was deleted). Updates the status. Doesn't accept tokens: only API keys and sessions. **Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@@ -70,6 +82,18 @@ describe 'IntegrationsApi' do
70
82
  end
71
83
  end
72
84
 
85
+ # unit tests for delete_slack_connection
86
+ # Remove a Slack connection
87
+ # Stops posting to the channel and revokes the installation's token in Slack. Doesn't accept tokens: only API keys and sessions. **Required role permission**: `integration:delete` when called with a session, granted by the member's role. API keys aren't limited by roles.
88
+ # @param id
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [nil]
91
+ describe 'delete_slack_connection test' do
92
+ it 'should work' do
93
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
94
+ end
95
+ end
96
+
73
97
  # unit tests for delete_stripe_mapping
74
98
  # Delete a mapping
75
99
  # Paying the price no longer creates licenses. The licenses it created stay. Doesn't accept tokens: only API keys and sessions. **Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@@ -94,6 +118,18 @@ describe 'IntegrationsApi' do
94
118
  end
95
119
  end
96
120
 
121
+ # unit tests for get_slack_integration
122
+ # Get the Slack integration of a product
123
+ # Slack channels getting notifications about the product's licenses: purchases, renewals, failed payments and cancellations. Doesn't accept tokens: only API keys and sessions.
124
+ # @param product_id
125
+ # @param [Hash] opts the optional parameters
126
+ # @return [SlackIntegration]
127
+ describe 'get_slack_integration test' do
128
+ it 'should work' do
129
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
130
+ end
131
+ end
132
+
97
133
  # unit tests for get_stripe_integration
98
134
  # Get the Stripe integration of a product
99
135
  # The organization connects one Stripe account for its live products, and one in test mode for its test products. Its mappings tell which Stripe prices create licenses of the product. Doesn't accept tokens: only API keys and sessions.
@@ -118,6 +154,18 @@ describe 'IntegrationsApi' do
118
154
  end
119
155
  end
120
156
 
157
+ # unit tests for test_slack_connection
158
+ # Send a test message to a Slack channel
159
+ # Posts a message to the channel, to check it gets the notifications. Marks the connection `revoked` when Slack says it won't work again. Doesn't accept tokens: only API keys and sessions. **Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
160
+ # @param id
161
+ # @param [Hash] opts the optional parameters
162
+ # @return [SlackConnection]
163
+ describe 'test_slack_connection test' do
164
+ it 'should work' do
165
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
166
+ end
167
+ end
168
+
121
169
  # unit tests for update_integration
122
170
  # Update an integration
123
171
  # Changes the settings of the integration, for every product of its mode. Doesn't accept tokens: only API keys and sessions. **Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@@ -131,6 +179,19 @@ describe 'IntegrationsApi' do
131
179
  end
132
180
  end
133
181
 
182
+ # unit tests for update_slack_connection
183
+ # Update a Slack connection
184
+ # Changes the notifications the channel gets. Doesn't accept tokens: only API keys and sessions. **Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
185
+ # @param id
186
+ # @param update_slack_connection
187
+ # @param [Hash] opts the optional parameters
188
+ # @return [SlackConnection]
189
+ describe 'update_slack_connection test' do
190
+ it 'should work' do
191
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
192
+ end
193
+ end
194
+
134
195
  # unit tests for update_stripe_mapping
135
196
  # Change the policy of a mapping
136
197
  # Only affects the licenses created afterwards. Doesn't accept tokens: only API keys and sessions. **Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@@ -113,7 +113,7 @@ describe 'LicensesApi' do
113
113
  # @option opts [Integer] :page Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
114
114
  # @option opts [Integer] :page_size Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
115
115
  # @option opts [String] :sort Field to sort by, prefixed with `-` for descending order. Defaults to `-createdAt`.
116
- # @option opts [String] :search Case-insensitive text the key contains.
116
+ # @option opts [String] :search Case-insensitive text the key or the email of the customer contains.
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.
@@ -146,7 +146,7 @@ describe 'LicensesApi' do
146
146
  # @option opts [Integer] :page Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
147
147
  # @option opts [Integer] :page_size Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
148
148
  # @option opts [String] :sort Field to sort by, prefixed with `-` for descending order. Defaults to `-createdAt`.
149
- # @option opts [String] :search Case-insensitive text the key contains.
149
+ # @option opts [String] :search Case-insensitive text the key or the email of the customer contains.
150
150
  # @option opts [String] :key Only returns the license with this exact key, case included. Keys of test products start with `TEST-`.
151
151
  # @option opts [String] :policy_id Only returns the licenses following this policy.
152
152
  # @option opts [String] :customer_id Only returns the licenses of this customer.
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #LicenseManager API
3
+
4
+ #Public API. Authenticate with an organization API key, or with a token scoped to a customer, license or machine on the endpoints that accept one. ## Conventions - **Errors** answer `{ \"error\": { \"code\", \"message\" } }`. Branch on `code`, which is stable, not on `message`. Each response lists the codes it can return, except `404`, which answers `not_found` unless it says otherwise. Unexpected errors answer `500` with `internal_error`. - **Validation** errors answer `422`, not `400`, with the `validation_error` code and an `issues` array giving the `path` and `message` of each invalid value. - **Unknown body fields are ignored**, not rejected: sending a field an endpoint doesn't accept, like `policyId` to `updateLicense`, changes nothing and doesn't fail. - **Strings** are trimmed before they're validated and stored. Emails are stored lower cased. - **Updates** only change the fields that are sent. A field sent as `null` is cleared, when it can be. - **Dates** can be sent with any offset, and are always returned in UTC, like `2026-01-15T09:30:00.000Z`. Calendar months and days are counted in UTC. - **Ids** are 8 letters and digits, after `test_` for test products and their resources. - **Lists** are paginated with `page` and `pageSize`. Items with the same value for the `sort` field are ordered by id, so pages are stable, but items created or deleted between two requests shift the pages. Items without a value for the `sort` field come last in ascending order, and first in descending order, unless the endpoint says otherwise. - **Test products** are sandboxes of a live product. Test API keys only reach test products, live API keys only live ones: the others answer `404`, as if they didn't exist. Sessions and tokens reach both.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.26.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for LicenseManager::LicenseCustomer
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe LicenseManager::LicenseCustomer do
21
+ #let(:instance) { LicenseManager::LicenseCustomer.new }
22
+
23
+ describe 'test an instance of LicenseCustomer' do
24
+ it 'should create an instance of LicenseCustomer' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(LicenseManager::LicenseCustomer)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "email"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "name"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -51,6 +51,12 @@ describe LicenseManager::License do
51
51
  end
52
52
  end
53
53
 
54
+ describe 'test attribute "customer"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
54
60
  describe 'test attribute "key"' do
55
61
  it 'should work' do
56
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #LicenseManager API
3
+
4
+ #Public API. Authenticate with an organization API key, or with a token scoped to a customer, license or machine on the endpoints that accept one. ## Conventions - **Errors** answer `{ \"error\": { \"code\", \"message\" } }`. Branch on `code`, which is stable, not on `message`. Each response lists the codes it can return, except `404`, which answers `not_found` unless it says otherwise. Unexpected errors answer `500` with `internal_error`. - **Validation** errors answer `422`, not `400`, with the `validation_error` code and an `issues` array giving the `path` and `message` of each invalid value. - **Unknown body fields are ignored**, not rejected: sending a field an endpoint doesn't accept, like `policyId` to `updateLicense`, changes nothing and doesn't fail. - **Strings** are trimmed before they're validated and stored. Emails are stored lower cased. - **Updates** only change the fields that are sent. A field sent as `null` is cleared, when it can be. - **Dates** can be sent with any offset, and are always returned in UTC, like `2026-01-15T09:30:00.000Z`. Calendar months and days are counted in UTC. - **Ids** are 8 letters and digits, after `test_` for test products and their resources. - **Lists** are paginated with `page` and `pageSize`. Items with the same value for the `sort` field are ordered by id, so pages are stable, but items created or deleted between two requests shift the pages. Items without a value for the `sort` field come last in ascending order, and first in descending order, unless the endpoint says otherwise. - **Test products** are sandboxes of a live product. Test API keys only reach test products, live API keys only live ones: the others answer `404`, as if they didn't exist. Sessions and tokens reach both.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.26.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for LicenseManager::SlackAuthorize
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe LicenseManager::SlackAuthorize do
21
+ #let(:instance) { LicenseManager::SlackAuthorize.new }
22
+
23
+ describe 'test an instance of SlackAuthorize' do
24
+ it 'should create an instance of SlackAuthorize' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(LicenseManager::SlackAuthorize)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "url"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,104 @@
1
+ =begin
2
+ #LicenseManager API
3
+
4
+ #Public API. Authenticate with an organization API key, or with a token scoped to a customer, license or machine on the endpoints that accept one. ## Conventions - **Errors** answer `{ \"error\": { \"code\", \"message\" } }`. Branch on `code`, which is stable, not on `message`. Each response lists the codes it can return, except `404`, which answers `not_found` unless it says otherwise. Unexpected errors answer `500` with `internal_error`. - **Validation** errors answer `422`, not `400`, with the `validation_error` code and an `issues` array giving the `path` and `message` of each invalid value. - **Unknown body fields are ignored**, not rejected: sending a field an endpoint doesn't accept, like `policyId` to `updateLicense`, changes nothing and doesn't fail. - **Strings** are trimmed before they're validated and stored. Emails are stored lower cased. - **Updates** only change the fields that are sent. A field sent as `null` is cleared, when it can be. - **Dates** can be sent with any offset, and are always returned in UTC, like `2026-01-15T09:30:00.000Z`. Calendar months and days are counted in UTC. - **Ids** are 8 letters and digits, after `test_` for test products and their resources. - **Lists** are paginated with `page` and `pageSize`. Items with the same value for the `sort` field are ordered by id, so pages are stable, but items created or deleted between two requests shift the pages. Items without a value for the `sort` field come last in ascending order, and first in descending order, unless the endpoint says otherwise. - **Test products** are sandboxes of a live product. Test API keys only reach test products, live API keys only live ones: the others answer `404`, as if they didn't exist. Sessions and tokens reach both.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.26.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for LicenseManager::SlackConnection
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe LicenseManager::SlackConnection do
21
+ #let(:instance) { LicenseManager::SlackConnection.new }
22
+
23
+ describe 'test an instance of SlackConnection' do
24
+ it 'should create an instance of SlackConnection' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(LicenseManager::SlackConnection)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "team_id"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "team_name"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "channel_id"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "channel_name"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "configuration_url"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "events"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["purchased", "renewed", "payment_failed", "canceled", "unknown_default_open_api"])
70
+ # validator.allowable_values.each do |value|
71
+ # expect { instance.events = value }.not_to raise_error
72
+ # end
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "status"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["active", "revoked", "unknown_default_open_api"])
80
+ # validator.allowable_values.each do |value|
81
+ # expect { instance.status = value }.not_to raise_error
82
+ # end
83
+ end
84
+ end
85
+
86
+ describe 'test attribute "status_reason"' do
87
+ it 'should work' do
88
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
89
+ end
90
+ end
91
+
92
+ describe 'test attribute "last_sent_at"' do
93
+ it 'should work' do
94
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
95
+ end
96
+ end
97
+
98
+ describe 'test attribute "created_at"' do
99
+ it 'should work' do
100
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
101
+ end
102
+ end
103
+
104
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #LicenseManager API
3
+
4
+ #Public API. Authenticate with an organization API key, or with a token scoped to a customer, license or machine on the endpoints that accept one. ## Conventions - **Errors** answer `{ \"error\": { \"code\", \"message\" } }`. Branch on `code`, which is stable, not on `message`. Each response lists the codes it can return, except `404`, which answers `not_found` unless it says otherwise. Unexpected errors answer `500` with `internal_error`. - **Validation** errors answer `422`, not `400`, with the `validation_error` code and an `issues` array giving the `path` and `message` of each invalid value. - **Unknown body fields are ignored**, not rejected: sending a field an endpoint doesn't accept, like `policyId` to `updateLicense`, changes nothing and doesn't fail. - **Strings** are trimmed before they're validated and stored. Emails are stored lower cased. - **Updates** only change the fields that are sent. A field sent as `null` is cleared, when it can be. - **Dates** can be sent with any offset, and are always returned in UTC, like `2026-01-15T09:30:00.000Z`. Calendar months and days are counted in UTC. - **Ids** are 8 letters and digits, after `test_` for test products and their resources. - **Lists** are paginated with `page` and `pageSize`. Items with the same value for the `sort` field are ordered by id, so pages are stable, but items created or deleted between two requests shift the pages. Items without a value for the `sort` field come last in ascending order, and first in descending order, unless the endpoint says otherwise. - **Test products** are sandboxes of a live product. Test API keys only reach test products, live API keys only live ones: the others answer `404`, as if they didn't exist. Sessions and tokens reach both.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.26.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for LicenseManager::SlackIntegration
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe LicenseManager::SlackIntegration do
21
+ #let(:instance) { LicenseManager::SlackIntegration.new }
22
+
23
+ describe 'test an instance of SlackIntegration' do
24
+ it 'should create an instance of SlackIntegration' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(LicenseManager::SlackIntegration)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "configured"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "connections"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #LicenseManager API
3
+
4
+ #Public API. Authenticate with an organization API key, or with a token scoped to a customer, license or machine on the endpoints that accept one. ## Conventions - **Errors** answer `{ \"error\": { \"code\", \"message\" } }`. Branch on `code`, which is stable, not on `message`. Each response lists the codes it can return, except `404`, which answers `not_found` unless it says otherwise. Unexpected errors answer `500` with `internal_error`. - **Validation** errors answer `422`, not `400`, with the `validation_error` code and an `issues` array giving the `path` and `message` of each invalid value. - **Unknown body fields are ignored**, not rejected: sending a field an endpoint doesn't accept, like `policyId` to `updateLicense`, changes nothing and doesn't fail. - **Strings** are trimmed before they're validated and stored. Emails are stored lower cased. - **Updates** only change the fields that are sent. A field sent as `null` is cleared, when it can be. - **Dates** can be sent with any offset, and are always returned in UTC, like `2026-01-15T09:30:00.000Z`. Calendar months and days are counted in UTC. - **Ids** are 8 letters and digits, after `test_` for test products and their resources. - **Lists** are paginated with `page` and `pageSize`. Items with the same value for the `sort` field are ordered by id, so pages are stable, but items created or deleted between two requests shift the pages. Items without a value for the `sort` field come last in ascending order, and first in descending order, unless the endpoint says otherwise. - **Test products** are sandboxes of a live product. Test API keys only reach test products, live API keys only live ones: the others answer `404`, as if they didn't exist. Sessions and tokens reach both.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.26.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for LicenseManager::UpdateSlackConnection
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe LicenseManager::UpdateSlackConnection do
21
+ #let(:instance) { LicenseManager::UpdateSlackConnection.new }
22
+
23
+ describe 'test an instance of UpdateSlackConnection' do
24
+ it 'should create an instance of UpdateSlackConnection' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(LicenseManager::UpdateSlackConnection)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "events"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["purchased", "renewed", "payment_failed", "canceled", "unknown_default_open_api"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.events = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ end
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.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - LicenseManager
@@ -131,6 +131,7 @@ files:
131
131
  - docs/IntegrationStatus.md
132
132
  - docs/IntegrationsApi.md
133
133
  - docs/License.md
134
+ - docs/LicenseCustomer.md
134
135
  - docs/LicenseList.md
135
136
  - docs/LicenseMaxVersion.md
136
137
  - docs/LicenseMaxVersionInput.md
@@ -188,6 +189,9 @@ files:
188
189
  - docs/SendLicenseKeys.md
189
190
  - docs/SendPortalLink.md
190
191
  - docs/SigningKey.md
192
+ - docs/SlackAuthorize.md
193
+ - docs/SlackConnection.md
194
+ - docs/SlackIntegration.md
191
195
  - docs/StripeIntegration.md
192
196
  - docs/StripePermission.md
193
197
  - docs/StripePrice.md
@@ -203,6 +207,7 @@ files:
203
207
  - docs/UpdateProduct.md
204
208
  - docs/UpdateProductPortal.md
205
209
  - docs/UpdateRelease.md
210
+ - docs/UpdateSlackConnection.md
206
211
  - docs/ValidateKey.md
207
212
  - docs/ValidateKeyError.md
208
213
  - docs/ValidateKeyErrorError.md
@@ -260,6 +265,7 @@ files:
260
265
  - lib/license_manager/models/integration_mapping_recurring.rb
261
266
  - lib/license_manager/models/integration_status.rb
262
267
  - lib/license_manager/models/license.rb
268
+ - lib/license_manager/models/license_customer.rb
263
269
  - lib/license_manager/models/license_list.rb
264
270
  - lib/license_manager/models/license_max_version.rb
265
271
  - lib/license_manager/models/license_max_version_input.rb
@@ -311,6 +317,9 @@ files:
311
317
  - lib/license_manager/models/send_license_keys.rb
312
318
  - lib/license_manager/models/send_portal_link.rb
313
319
  - lib/license_manager/models/signing_key.rb
320
+ - lib/license_manager/models/slack_authorize.rb
321
+ - lib/license_manager/models/slack_connection.rb
322
+ - lib/license_manager/models/slack_integration.rb
314
323
  - lib/license_manager/models/stripe_integration.rb
315
324
  - lib/license_manager/models/stripe_permission.rb
316
325
  - lib/license_manager/models/stripe_price.rb
@@ -325,6 +334,7 @@ files:
325
334
  - lib/license_manager/models/update_product.rb
326
335
  - lib/license_manager/models/update_product_portal.rb
327
336
  - lib/license_manager/models/update_release.rb
337
+ - lib/license_manager/models/update_slack_connection.rb
328
338
  - lib/license_manager/models/validate_key.rb
329
339
  - lib/license_manager/models/validate_key_error.rb
330
340
  - lib/license_manager/models/validate_key_error_error.rb
@@ -378,6 +388,7 @@ files:
378
388
  - spec/models/integration_mapping_spec.rb
379
389
  - spec/models/integration_spec.rb
380
390
  - spec/models/integration_status_spec.rb
391
+ - spec/models/license_customer_spec.rb
381
392
  - spec/models/license_list_spec.rb
382
393
  - spec/models/license_max_version_input_spec.rb
383
394
  - spec/models/license_max_version_spec.rb
@@ -430,6 +441,9 @@ files:
430
441
  - spec/models/send_license_keys_spec.rb
431
442
  - spec/models/send_portal_link_spec.rb
432
443
  - spec/models/signing_key_spec.rb
444
+ - spec/models/slack_authorize_spec.rb
445
+ - spec/models/slack_connection_spec.rb
446
+ - spec/models/slack_integration_spec.rb
433
447
  - spec/models/stripe_integration_spec.rb
434
448
  - spec/models/stripe_permission_spec.rb
435
449
  - spec/models/stripe_price_recurring_spec.rb
@@ -444,6 +458,7 @@ files:
444
458
  - spec/models/update_product_portal_spec.rb
445
459
  - spec/models/update_product_spec.rb
446
460
  - spec/models/update_release_spec.rb
461
+ - spec/models/update_slack_connection_spec.rb
447
462
  - spec/models/validate_key_error_error_spec.rb
448
463
  - spec/models/validate_key_error_spec.rb
449
464
  - spec/models/validate_key_spec.rb
@@ -517,6 +532,7 @@ test_files:
517
532
  - spec/models/integration_mapping_spec.rb
518
533
  - spec/models/integration_spec.rb
519
534
  - spec/models/integration_status_spec.rb
535
+ - spec/models/license_customer_spec.rb
520
536
  - spec/models/license_list_spec.rb
521
537
  - spec/models/license_max_version_input_spec.rb
522
538
  - spec/models/license_max_version_spec.rb
@@ -569,6 +585,9 @@ test_files:
569
585
  - spec/models/send_license_keys_spec.rb
570
586
  - spec/models/send_portal_link_spec.rb
571
587
  - spec/models/signing_key_spec.rb
588
+ - spec/models/slack_authorize_spec.rb
589
+ - spec/models/slack_connection_spec.rb
590
+ - spec/models/slack_integration_spec.rb
572
591
  - spec/models/stripe_integration_spec.rb
573
592
  - spec/models/stripe_permission_spec.rb
574
593
  - spec/models/stripe_price_recurring_spec.rb
@@ -583,6 +602,7 @@ test_files:
583
602
  - spec/models/update_product_portal_spec.rb
584
603
  - spec/models/update_product_spec.rb
585
604
  - spec/models/update_release_spec.rb
605
+ - spec/models/update_slack_connection_spec.rb
586
606
  - spec/models/validate_key_error_error_spec.rb
587
607
  - spec/models/validate_key_error_spec.rb
588
608
  - spec/models/validate_key_spec.rb