invoicetronic_sdk 1.10 → 1.11
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 +1 -1
- data/Gemfile.lock +2 -2
- data/README.md +16 -5
- data/docs/Permissions.md +34 -0
- data/docs/SubKey.md +34 -0
- data/docs/SubKeyRequest.md +26 -0
- data/docs/SubKeyUpdate.md +30 -0
- data/docs/SubKeyWithSecrets.md +38 -0
- data/docs/SubkeyApi.md +447 -0
- data/docs/WebHookHistory.md +4 -0
- data/docs/WebhookApi.md +7 -7
- data/invoicetronic_sdk.gemspec +1 -1
- data/lib/invoicetronic_sdk/api/company_api.rb +1 -1
- data/lib/invoicetronic_sdk/api/export_api.rb +1 -1
- data/lib/invoicetronic_sdk/api/health_api.rb +1 -1
- data/lib/invoicetronic_sdk/api/log_api.rb +1 -1
- data/lib/invoicetronic_sdk/api/receive_api.rb +1 -1
- data/lib/invoicetronic_sdk/api/send_api.rb +1 -1
- data/lib/invoicetronic_sdk/api/status_api.rb +1 -1
- data/lib/invoicetronic_sdk/api/subkey_api.rb +422 -0
- data/lib/invoicetronic_sdk/api/update_api.rb +1 -1
- data/lib/invoicetronic_sdk/api/webhook_api.rb +15 -15
- data/lib/invoicetronic_sdk/api_client.rb +2 -2
- data/lib/invoicetronic_sdk/api_error.rb +1 -1
- data/lib/invoicetronic_sdk/api_model_base.rb +1 -1
- data/lib/invoicetronic_sdk/configuration.rb +1 -1
- data/lib/invoicetronic_sdk/models/company.rb +1 -1
- data/lib/invoicetronic_sdk/models/document_data.rb +1 -1
- data/lib/invoicetronic_sdk/models/error.rb +1 -1
- data/lib/invoicetronic_sdk/models/event.rb +1 -1
- data/lib/invoicetronic_sdk/models/model_send.rb +1 -1
- data/lib/invoicetronic_sdk/models/permissions.rb +368 -0
- data/lib/invoicetronic_sdk/models/problem_details.rb +1 -1
- data/lib/invoicetronic_sdk/models/receive.rb +1 -1
- data/lib/invoicetronic_sdk/models/send_reduced.rb +1 -1
- data/lib/invoicetronic_sdk/models/status.rb +1 -1
- data/lib/invoicetronic_sdk/models/sub_key.rb +236 -0
- data/lib/invoicetronic_sdk/models/sub_key_request.rb +220 -0
- data/lib/invoicetronic_sdk/models/sub_key_update.rb +240 -0
- data/lib/invoicetronic_sdk/models/sub_key_with_secrets.rb +258 -0
- data/lib/invoicetronic_sdk/models/update.rb +1 -1
- data/lib/invoicetronic_sdk/models/web_hook.rb +1 -1
- data/lib/invoicetronic_sdk/models/web_hook_history.rb +23 -2
- data/lib/invoicetronic_sdk/version.rb +2 -2
- data/lib/invoicetronic_sdk.rb +7 -1
- data/spec/api/company_api_spec.rb +1 -1
- data/spec/api/export_api_spec.rb +1 -1
- data/spec/api/health_api_spec.rb +1 -1
- data/spec/api/log_api_spec.rb +1 -1
- data/spec/api/receive_api_spec.rb +1 -1
- data/spec/api/send_api_spec.rb +1 -1
- data/spec/api/status_api_spec.rb +1 -1
- data/spec/api/subkey_api_spec.rb +112 -0
- data/spec/api/update_api_spec.rb +1 -1
- data/spec/api/webhook_api_spec.rb +8 -8
- data/spec/models/company_spec.rb +1 -1
- data/spec/models/document_data_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/event_spec.rb +1 -1
- data/spec/models/model_send_spec.rb +1 -1
- data/spec/models/permissions_spec.rb +120 -0
- data/spec/models/problem_details_spec.rb +1 -1
- data/spec/models/receive_spec.rb +1 -1
- data/spec/models/send_reduced_spec.rb +1 -1
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/sub_key_request_spec.rb +60 -0
- data/spec/models/sub_key_spec.rb +84 -0
- data/spec/models/sub_key_update_spec.rb +72 -0
- data/spec/models/sub_key_with_secrets_spec.rb +96 -0
- data/spec/models/update_spec.rb +1 -1
- data/spec/models/web_hook_history_spec.rb +13 -1
- data/spec/models/web_hook_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/cache/io-console-0.9.4.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{io-console-0.9.2 → io-console-0.9.4}/gem_make.out +12 -10
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.9.4/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{io-console-0.9.2 → io-console-0.9.4}/mkmf.log +27 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.5.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/console.c +101 -13
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/extconf.rb +27 -2
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.9.2 → io-console-0.9.4}/lib/io/console/size.rb +4 -2
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.9.4/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/{io-console-0.9.2.gemspec → io-console-0.9.4.gemspec} +3 -3
- metadata +55 -31
- data/vendor/bundle/ruby/3.3.0/cache/io-console-0.9.2.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.9.2/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.9.2/lib/io/console.so +0 -0
- /data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{io-console-0.9.2 → io-console-0.9.4}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.9.2 → io-console-0.9.4}/.document +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.9.2 → io-console-0.9.4}/BSDL +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.9.2 → io-console-0.9.4}/COPYING +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.9.2 → io-console-0.9.4}/README.md +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/win32_vk.inc +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8b8c56e3407502c2b0e473a367f599c8c43fad3ddc125a9c09fb6a360441d96
|
|
4
|
+
data.tar.gz: e617daf1be23b5569ed7ee4188fabd072ef7fe2547c1b73bb616b0704725a053
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b0356a5c293866f838de6f6f6d5418b5e764b12146af045c8636e294e523146c8e85e7eb783090425f4af7a31f622713233d5304677108a70ce095609cf9809
|
|
7
|
+
data.tar.gz: 9e800d7c1930a02ddfc1c74c4b6b0bdfe220da539d786178d837d5cfd1f7504966e95f0e6ac8e93dd82d7fc37b8b832e119a4609e8be7c76ef26c67f291a0e93
|
data/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# Changelog\n\n## [1.
|
|
1
|
+
# Changelog\n\n## [1.11.0] - 2026-09-23\nSee main repository changelog for details.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
invoicetronic_sdk (1.
|
|
4
|
+
invoicetronic_sdk (1.11)
|
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -27,7 +27,7 @@ GEM
|
|
|
27
27
|
ffi (1.17.4-x86_64-darwin)
|
|
28
28
|
ffi (1.17.4-x86_64-linux-gnu)
|
|
29
29
|
ffi (1.17.4-x86_64-linux-musl)
|
|
30
|
-
io-console (0.9.
|
|
30
|
+
io-console (0.9.4)
|
|
31
31
|
jaro_winkler (1.5.6)
|
|
32
32
|
logger (1.7.0)
|
|
33
33
|
method_source (1.1.0)
|
data/README.md
CHANGED
|
@@ -23,8 +23,8 @@ For the full integration guide, tutorials, SDKs and quickstarts, see the **[Docu
|
|
|
23
23
|
|
|
24
24
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
25
25
|
|
|
26
|
-
- API version: 1.
|
|
27
|
-
- Package version: 1.
|
|
26
|
+
- API version: 1.17.0
|
|
27
|
+
- Package version: 1.11
|
|
28
28
|
- Generator version: 7.20.0
|
|
29
29
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
30
30
|
For more information, please visit [https://invoicetronic.com/en/contact/](https://invoicetronic.com/en/contact/)
|
|
@@ -42,16 +42,16 @@ gem build invoicetronic_sdk.gemspec
|
|
|
42
42
|
Then either install the gem locally:
|
|
43
43
|
|
|
44
44
|
```shell
|
|
45
|
-
gem install ./invoicetronic_sdk-1.
|
|
45
|
+
gem install ./invoicetronic_sdk-1.11.gem
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
(for development, run `gem install --dev ./invoicetronic_sdk-1.
|
|
48
|
+
(for development, run `gem install --dev ./invoicetronic_sdk-1.11.gem` to install the development dependencies)
|
|
49
49
|
|
|
50
50
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
51
51
|
|
|
52
52
|
Finally add this to the Gemfile:
|
|
53
53
|
|
|
54
|
-
gem 'invoicetronic_sdk', '~> 1.
|
|
54
|
+
gem 'invoicetronic_sdk', '~> 1.11'
|
|
55
55
|
|
|
56
56
|
### Install from Git
|
|
57
57
|
|
|
@@ -133,6 +133,12 @@ Class | Method | HTTP request | Description
|
|
|
133
133
|
*Invoicetronic_Sdk::SendApi* | [**send_validate_xml_post**](docs/SendApi.md#send_validate_xml_post) | **POST** /send/validate/xml | Validate an invoice by xml
|
|
134
134
|
*Invoicetronic_Sdk::SendApi* | [**send_xml_post**](docs/SendApi.md#send_xml_post) | **POST** /send/xml | Add an invoice by xml
|
|
135
135
|
*Invoicetronic_Sdk::StatusApi* | [**status_get**](docs/StatusApi.md#status_get) | **GET** /status | Account status
|
|
136
|
+
*Invoicetronic_Sdk::SubkeyApi* | [**subkey_get**](docs/SubkeyApi.md#subkey_get) | **GET** /subkey | List restricted keys
|
|
137
|
+
*Invoicetronic_Sdk::SubkeyApi* | [**subkey_id_delete**](docs/SubkeyApi.md#subkey_id_delete) | **DELETE** /subkey/{id} | Delete a restricted key
|
|
138
|
+
*Invoicetronic_Sdk::SubkeyApi* | [**subkey_id_get**](docs/SubkeyApi.md#subkey_id_get) | **GET** /subkey/{id} | Get a restricted key by id
|
|
139
|
+
*Invoicetronic_Sdk::SubkeyApi* | [**subkey_id_roll_post**](docs/SubkeyApi.md#subkey_id_roll_post) | **POST** /subkey/{id}/roll | Roll the secrets of a restricted key
|
|
140
|
+
*Invoicetronic_Sdk::SubkeyApi* | [**subkey_post**](docs/SubkeyApi.md#subkey_post) | **POST** /subkey | Add a restricted key
|
|
141
|
+
*Invoicetronic_Sdk::SubkeyApi* | [**subkey_put**](docs/SubkeyApi.md#subkey_put) | **PUT** /subkey | Update a restricted key
|
|
136
142
|
*Invoicetronic_Sdk::UpdateApi* | [**update_get**](docs/UpdateApi.md#update_get) | **GET** /update | List updates
|
|
137
143
|
*Invoicetronic_Sdk::UpdateApi* | [**update_id_get**](docs/UpdateApi.md#update_id_get) | **GET** /update/{id} | Get an update by id
|
|
138
144
|
*Invoicetronic_Sdk::WebhookApi* | [**webhook_get**](docs/WebhookApi.md#webhook_get) | **GET** /webhook | List webhooks
|
|
@@ -151,10 +157,15 @@ Class | Method | HTTP request | Description
|
|
|
151
157
|
- [Invoicetronic_Sdk::Error](docs/Error.md)
|
|
152
158
|
- [Invoicetronic_Sdk::Event](docs/Event.md)
|
|
153
159
|
- [Invoicetronic_Sdk::ModelSend](docs/ModelSend.md)
|
|
160
|
+
- [Invoicetronic_Sdk::Permissions](docs/Permissions.md)
|
|
154
161
|
- [Invoicetronic_Sdk::ProblemDetails](docs/ProblemDetails.md)
|
|
155
162
|
- [Invoicetronic_Sdk::Receive](docs/Receive.md)
|
|
156
163
|
- [Invoicetronic_Sdk::SendReduced](docs/SendReduced.md)
|
|
157
164
|
- [Invoicetronic_Sdk::Status](docs/Status.md)
|
|
165
|
+
- [Invoicetronic_Sdk::SubKey](docs/SubKey.md)
|
|
166
|
+
- [Invoicetronic_Sdk::SubKeyRequest](docs/SubKeyRequest.md)
|
|
167
|
+
- [Invoicetronic_Sdk::SubKeyUpdate](docs/SubKeyUpdate.md)
|
|
168
|
+
- [Invoicetronic_Sdk::SubKeyWithSecrets](docs/SubKeyWithSecrets.md)
|
|
158
169
|
- [Invoicetronic_Sdk::Update](docs/Update.md)
|
|
159
170
|
- [Invoicetronic_Sdk::WebHook](docs/WebHook.md)
|
|
160
171
|
- [Invoicetronic_Sdk::WebHookHistory](docs/WebHookHistory.md)
|
data/docs/Permissions.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Invoicetronic_Sdk::Permissions
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **company** | **String** | Companies: `Read` lists and reads them, `Write` also creates, updates and deletes them. | [optional] |
|
|
8
|
+
| **_send** | **String** | Outgoing invoices: `Read` lists and reads them, `Write` also sends and validates invoices. | [optional] |
|
|
9
|
+
| **receive** | **String** | Incoming invoices: `Read` lists and reads them, `Write` also deletes them. | [optional] |
|
|
10
|
+
| **webhook** | **String** | Webhooks: `Read` lists and reads them, `Write` also creates, updates and deletes them. | [optional] |
|
|
11
|
+
| **update** | **String** | SDI status updates of outgoing invoices. | [optional] |
|
|
12
|
+
| **log** | **String** | Event log. | [optional] |
|
|
13
|
+
| **webhookhistory** | **String** | Webhook delivery history. | [optional] |
|
|
14
|
+
| **export** | **String** | Invoice export. | [optional] |
|
|
15
|
+
| **status** | **String** | Account status (remaining operations and signatures). | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'invoicetronic_sdk'
|
|
21
|
+
|
|
22
|
+
instance = Invoicetronic_Sdk::Permissions.new(
|
|
23
|
+
company: null,
|
|
24
|
+
_send: null,
|
|
25
|
+
receive: null,
|
|
26
|
+
webhook: null,
|
|
27
|
+
update: null,
|
|
28
|
+
log: null,
|
|
29
|
+
webhookhistory: null,
|
|
30
|
+
export: null,
|
|
31
|
+
status: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
data/docs/SubKey.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Invoicetronic_Sdk::SubKey
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **Integer** | Unique identifier. | [optional] |
|
|
8
|
+
| **created** | **Time** | Creation date. | [optional][readonly] |
|
|
9
|
+
| **version** | **Integer** | Row version, for optimistic concurrency. | [optional][readonly] |
|
|
10
|
+
| **description** | **String** | Human-readable label. | [optional] |
|
|
11
|
+
| **active** | **Boolean** | Whether the key can authenticate. | [optional] |
|
|
12
|
+
| **permissions** | [**Permissions**](Permissions.md) | | [optional] |
|
|
13
|
+
| **company_ids** | **Array<Integer>** | Companies the key can access. Empty means all the companies of the account. | [optional] |
|
|
14
|
+
| **cors_origins** | **Array<String>** | Browser origins allowed to call the API with this key (CORS). | [optional] |
|
|
15
|
+
| **previous_key_expires_at** | **Time** | When the secrets replaced by the last roll stop working; null when there are none still valid. | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'invoicetronic_sdk'
|
|
21
|
+
|
|
22
|
+
instance = Invoicetronic_Sdk::SubKey.new(
|
|
23
|
+
id: null,
|
|
24
|
+
created: null,
|
|
25
|
+
version: null,
|
|
26
|
+
description: null,
|
|
27
|
+
active: null,
|
|
28
|
+
permissions: null,
|
|
29
|
+
company_ids: null,
|
|
30
|
+
cors_origins: null,
|
|
31
|
+
previous_key_expires_at: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Invoicetronic_Sdk::SubKeyRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **description** | **String** | Human-readable label, e.g. the name of the tenant the key is for. | |
|
|
8
|
+
| **active** | **Boolean** | Whether the key can authenticate. Defaults to true. | [optional] |
|
|
9
|
+
| **permissions** | [**Permissions**](Permissions.md) | | [optional] |
|
|
10
|
+
| **company_ids** | **Array<Integer>** | Companies the key can access. When omitted or empty, the key can access all the companies of the account, including the ones created later. | [optional] |
|
|
11
|
+
| **cors_origins** | **Array<String>** | Browser origins allowed to call the API with this key (CORS), e.g. `https://app.example.com` or `*.example.com`. A key used from a browser is public: keep its permissions and companies minimal. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'invoicetronic_sdk'
|
|
17
|
+
|
|
18
|
+
instance = Invoicetronic_Sdk::SubKeyRequest.new(
|
|
19
|
+
description: Studio Rossi Srl,
|
|
20
|
+
active: null,
|
|
21
|
+
permissions: null,
|
|
22
|
+
company_ids: null,
|
|
23
|
+
cors_origins: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Invoicetronic_Sdk::SubKeyUpdate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **description** | **String** | Human-readable label, e.g. the name of the tenant the key is for. | |
|
|
8
|
+
| **active** | **Boolean** | Whether the key can authenticate. Defaults to true. | [optional] |
|
|
9
|
+
| **permissions** | [**Permissions**](Permissions.md) | | [optional] |
|
|
10
|
+
| **company_ids** | **Array<Integer>** | Companies the key can access. When omitted or empty, the key can access all the companies of the account, including the ones created later. | [optional] |
|
|
11
|
+
| **cors_origins** | **Array<String>** | Browser origins allowed to call the API with this key (CORS), e.g. `https://app.example.com` or `*.example.com`. A key used from a browser is public: keep its permissions and companies minimal. | [optional] |
|
|
12
|
+
| **id** | **Integer** | Id of the restricted key to update. | [optional] |
|
|
13
|
+
| **version** | **Integer** | Row version read with the key, for optimistic concurrency: a stale version fails with 422. | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'invoicetronic_sdk'
|
|
19
|
+
|
|
20
|
+
instance = Invoicetronic_Sdk::SubKeyUpdate.new(
|
|
21
|
+
description: Studio Rossi Srl,
|
|
22
|
+
active: null,
|
|
23
|
+
permissions: null,
|
|
24
|
+
company_ids: null,
|
|
25
|
+
cors_origins: null,
|
|
26
|
+
id: null,
|
|
27
|
+
version: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Invoicetronic_Sdk::SubKeyWithSecrets
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **Integer** | Unique identifier. | [optional] |
|
|
8
|
+
| **created** | **Time** | Creation date. | [optional][readonly] |
|
|
9
|
+
| **version** | **Integer** | Row version, for optimistic concurrency. | [optional][readonly] |
|
|
10
|
+
| **description** | **String** | Human-readable label. | [optional] |
|
|
11
|
+
| **active** | **Boolean** | Whether the key can authenticate. | [optional] |
|
|
12
|
+
| **permissions** | [**Permissions**](Permissions.md) | | [optional] |
|
|
13
|
+
| **company_ids** | **Array<Integer>** | Companies the key can access. Empty means all the companies of the account. | [optional] |
|
|
14
|
+
| **cors_origins** | **Array<String>** | Browser origins allowed to call the API with this key (CORS). | [optional] |
|
|
15
|
+
| **previous_key_expires_at** | **Time** | When the secrets replaced by the last roll stop working; null when there are none still valid. | [optional] |
|
|
16
|
+
| **test_key** | **String** | Sandbox secret. | [optional] |
|
|
17
|
+
| **live_key** | **String** | Production secret. | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'invoicetronic_sdk'
|
|
23
|
+
|
|
24
|
+
instance = Invoicetronic_Sdk::SubKeyWithSecrets.new(
|
|
25
|
+
id: null,
|
|
26
|
+
created: null,
|
|
27
|
+
version: null,
|
|
28
|
+
description: null,
|
|
29
|
+
active: null,
|
|
30
|
+
permissions: null,
|
|
31
|
+
company_ids: null,
|
|
32
|
+
cors_origins: null,
|
|
33
|
+
previous_key_expires_at: null,
|
|
34
|
+
test_key: null,
|
|
35
|
+
live_key: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|