pescheck-client 0.4.2 → 0.5.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/README.md +54 -45
- data/docs/AddOnsApi.md +305 -0
- data/docs/AddonPrice.md +20 -0
- data/docs/AuthenticationApi.md +1 -71
- data/docs/DisabledDivision.md +20 -0
- data/docs/OAuthApplication.md +1 -1
- data/docs/OAuthApplicationResponse.md +6 -2
- data/docs/OrganisationAddon.md +32 -0
- data/docs/OrganisationAddonUpdate.md +18 -0
- data/docs/OrganisationAddonUpdateResult.md +34 -0
- data/docs/PatchedOrganisationAddonUpdate.md +18 -0
- data/docs/ScreeningsApi.md +72 -0
- data/docs/V2Candidate.md +1 -1
- data/docs/V2CheckField.md +1 -1
- data/docs/V2Document.md +1 -1
- data/docs/V2ProfileCheck.md +1 -1
- data/docs/V2ProfileCheckEntry.md +1 -1
- data/docs/V2ProfileDetail.md +4 -0
- data/docs/V2ProfileUpdateCheck.md +1 -1
- data/docs/V2ScreeningCheck.md +1 -1
- data/docs/V2ScreeningCheckEntry.md +1 -1
- data/docs/V2ScreeningCheckListItem.md +1 -1
- data/docs/V2ScreeningCreate.md +5 -1
- data/docs/V2ScreeningDetail.md +5 -1
- data/docs/{V2ScreeningDetailProfile.md → V2ScreeningDetailOrganisation.md} +2 -2
- data/docs/V2ScreeningListItem.md +3 -1
- data/docs/V2ScreeningNote.md +24 -0
- data/docs/V2ScreeningNoteInput.md +22 -0
- data/docs/WebhooksApi.md +1 -1
- data/lib/pescheck-client/api/add_ons_api.rb +305 -0
- data/lib/pescheck-client/api/authentication_api.rb +2 -68
- data/lib/pescheck-client/api/profiles_api.rb +1 -1
- data/lib/pescheck-client/api/screenings_api.rb +66 -0
- data/lib/pescheck-client/api/webhooks_api.rb +2 -2
- data/lib/pescheck-client/configuration.rb +8 -0
- data/lib/pescheck-client/models/addon_price.rb +202 -0
- data/lib/pescheck-client/models/{custom_token_obtain_pair.rb → disabled_division.rb} +34 -35
- data/lib/pescheck-client/models/o_auth_application.rb +3 -3
- data/lib/pescheck-client/models/o_auth_application_response.rb +70 -44
- data/lib/pescheck-client/models/organisation_addon.rb +339 -0
- data/lib/pescheck-client/models/organisation_addon_update.rb +165 -0
- data/lib/pescheck-client/models/organisation_addon_update_result.rb +368 -0
- data/lib/pescheck-client/models/patched_organisation_addon_update.rb +148 -0
- data/lib/pescheck-client/models/v2_candidate.rb +1 -35
- data/lib/pescheck-client/models/v2_check_field.rb +2 -2
- data/lib/pescheck-client/models/v2_document.rb +6 -30
- data/lib/pescheck-client/models/v2_profile_check.rb +3 -3
- data/lib/pescheck-client/models/v2_profile_check_entry.rb +6 -30
- data/lib/pescheck-client/models/v2_profile_detail.rb +55 -1
- data/lib/pescheck-client/models/v2_profile_update_check.rb +3 -3
- data/lib/pescheck-client/models/v2_screening_check.rb +3 -3
- data/lib/pescheck-client/models/v2_screening_check_entry.rb +6 -30
- data/lib/pescheck-client/models/v2_screening_check_list_item.rb +6 -30
- data/lib/pescheck-client/models/v2_screening_create.rb +25 -4
- data/lib/pescheck-client/models/v2_screening_detail.rb +42 -2
- data/lib/pescheck-client/models/{v2_screening_detail_profile.rb → v2_screening_detail_organisation.rb} +4 -3
- data/lib/pescheck-client/models/v2_screening_list_item.rb +14 -2
- data/lib/pescheck-client/models/v2_screening_note.rb +229 -0
- data/lib/pescheck-client/models/v2_screening_note_input.rb +220 -0
- data/lib/pescheck-client/models/webhook_response.rb +5 -5
- data/lib/pescheck-client/version.rb +1 -1
- data/lib/pescheck-client.rb +10 -2
- data/spec/api/add_ons_api_spec.rb +84 -0
- data/spec/api/authentication_api_spec.rb +1 -12
- data/spec/api/screenings_api_spec.rb +13 -0
- data/spec/api/webhooks_api_spec.rb +1 -1
- data/spec/models/{custom_token_obtain_pair_spec.rb → addon_price_spec.rb} +8 -8
- data/spec/models/disabled_division_spec.rb +42 -0
- data/spec/models/o_auth_application_response_spec.rb +12 -8
- data/spec/models/o_auth_application_spec.rb +1 -1
- data/spec/models/organisation_addon_spec.rb +78 -0
- data/spec/models/organisation_addon_update_result_spec.rb +84 -0
- data/spec/models/organisation_addon_update_spec.rb +36 -0
- data/spec/models/patched_organisation_addon_update_spec.rb +36 -0
- data/spec/models/v2_candidate_spec.rb +0 -4
- data/spec/models/v2_document_spec.rb +0 -4
- data/spec/models/v2_profile_check_entry_spec.rb +0 -4
- data/spec/models/v2_profile_check_spec.rb +1 -1
- data/spec/models/v2_profile_detail_spec.rb +12 -0
- data/spec/models/v2_profile_update_check_spec.rb +1 -1
- data/spec/models/v2_screening_check_entry_spec.rb +0 -4
- data/spec/models/v2_screening_check_list_item_spec.rb +0 -4
- data/spec/models/v2_screening_check_spec.rb +1 -1
- data/spec/models/v2_screening_create_spec.rb +12 -0
- data/spec/models/{v2_screening_detail_profile_spec.rb → v2_screening_detail_organisation_spec.rb} +6 -6
- data/spec/models/v2_screening_detail_spec.rb +12 -0
- data/spec/models/v2_screening_list_item_spec.rb +6 -0
- data/spec/models/v2_screening_note_input_spec.rb +52 -0
- data/spec/models/v2_screening_note_spec.rb +54 -0
- metadata +71 -39
- data/docs/CustomTokenObtainPair.md +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d3219453366a2a5a933e8c68a140bcda403fb709bf32cf7345dd321cffe42b3a
|
|
4
|
+
data.tar.gz: 6a501462898efc7701eab177479103905193506e4f2010c982488950d7182571
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f1d54aa142c18f632561ad05d8492b87503019a324bd93011f87465eb7d104b1aa3a103b0e3cda48abe7bb2d537e487d01dc9c3acce62d1d322e3d362156157
|
|
7
|
+
data.tar.gz: 147eb452b96b2b2a77c9f8d24eeb5f1339048f94ac1a5610abb004899f497d3054c6141d8a3f8a3931bd0567a0e598087bbe268b4caa38180c6b0743e366bee2
|
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
> **Official Pescheck API client** - part of the [pescheck-clients](https://github.com/pescheckit/pescheck-clients) SDKs.
|
|
2
2
|
|
|
3
|
+
> **Choosing the environment:** the default host is read from the `PESCHECK_BASE_URL` environment variable and falls back to production (`https://api.pescheck.io`). Set `PESCHECK_BASE_URL=https://api-staging.pescheck.io` while integrating, then unset it to go live, with no code change. Request your OAuth2 token from the same host (`$PESCHECK_BASE_URL/api/o/token/`). Setting the host explicitly in code, as some examples below do, overrides the variable.
|
|
4
|
+
|
|
3
5
|
# pescheck-client
|
|
4
6
|
|
|
5
7
|
Pescheck - the Ruby gem for the Pescheck API
|
|
@@ -64,19 +66,21 @@ Pescheck.configure do |config|
|
|
|
64
66
|
# Configure OAuth2 access token for authorization: oauth2
|
|
65
67
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
66
68
|
# Configure a proc to get access tokens in lieu of the static access_token configuration
|
|
67
|
-
config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
|
|
69
|
+
config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
|
|
68
70
|
# Configure faraday connection
|
|
69
71
|
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
|
70
72
|
end
|
|
71
73
|
|
|
72
|
-
api_instance = Pescheck::
|
|
73
|
-
|
|
74
|
+
api_instance = Pescheck::AddOnsApi.new
|
|
75
|
+
opts = {
|
|
76
|
+
division_id: 'division_id_example' # String | Act on this division instead of the organisation the token belongs to.
|
|
77
|
+
}
|
|
74
78
|
|
|
75
79
|
begin
|
|
76
|
-
result = api_instance.
|
|
80
|
+
result = api_instance.v2_organisations_addons_list(opts)
|
|
77
81
|
p result
|
|
78
82
|
rescue Pescheck::ApiError => e
|
|
79
|
-
puts "Exception when calling
|
|
83
|
+
puts "Exception when calling AddOnsApi->v2_organisations_addons_list: #{e}"
|
|
80
84
|
end
|
|
81
85
|
|
|
82
86
|
```
|
|
@@ -87,48 +91,56 @@ All URIs are relative to *https://api.pescheck.io*
|
|
|
87
91
|
|
|
88
92
|
Class | Method | HTTP request | Description
|
|
89
93
|
------------ | ------------- | ------------- | -------------
|
|
90
|
-
*Pescheck::
|
|
91
|
-
*Pescheck::
|
|
92
|
-
*Pescheck::
|
|
93
|
-
*Pescheck::
|
|
94
|
-
*Pescheck::
|
|
95
|
-
*Pescheck::
|
|
96
|
-
*Pescheck::
|
|
97
|
-
*Pescheck::
|
|
98
|
-
*Pescheck::DivisionsApi* | [**
|
|
99
|
-
*Pescheck::DivisionsApi* | [**
|
|
100
|
-
*Pescheck::
|
|
101
|
-
*Pescheck::
|
|
102
|
-
*Pescheck::
|
|
103
|
-
*Pescheck::
|
|
104
|
-
*Pescheck::
|
|
105
|
-
*Pescheck::
|
|
106
|
-
*Pescheck::ProfilesApi* | [**
|
|
107
|
-
*Pescheck::ProfilesApi* | [**
|
|
108
|
-
*Pescheck::ProfilesApi* | [**
|
|
109
|
-
*Pescheck::
|
|
94
|
+
*Pescheck::AddOnsApi* | [**v2_organisations_addons_list**](docs/AddOnsApi.md#v2_organisations_addons_list) | **GET** /api/v2/organisations/addons/ |
|
|
95
|
+
*Pescheck::AddOnsApi* | [**v2_organisations_addons_partial_update**](docs/AddOnsApi.md#v2_organisations_addons_partial_update) | **PATCH** /api/v2/organisations/addons/{addon}/ |
|
|
96
|
+
*Pescheck::AddOnsApi* | [**v2_organisations_addons_retrieve**](docs/AddOnsApi.md#v2_organisations_addons_retrieve) | **GET** /api/v2/organisations/addons/{addon}/ |
|
|
97
|
+
*Pescheck::AddOnsApi* | [**v2_organisations_addons_update**](docs/AddOnsApi.md#v2_organisations_addons_update) | **PUT** /api/v2/organisations/addons/{addon}/ |
|
|
98
|
+
*Pescheck::AuthenticationApi* | [**generate_jwt_token2**](docs/AuthenticationApi.md#generate_jwt_token2) | **POST** /api/v2/jwt/generate/ |
|
|
99
|
+
*Pescheck::AuthenticationApi* | [**jwt_refresh_create**](docs/AuthenticationApi.md#jwt_refresh_create) | **POST** /api/jwt/refresh/ |
|
|
100
|
+
*Pescheck::ChecksApi* | [**v2_checks_list**](docs/ChecksApi.md#v2_checks_list) | **GET** /api/v2/checks/ |
|
|
101
|
+
*Pescheck::ChecksApi* | [**v2_checks_retrieve**](docs/ChecksApi.md#v2_checks_retrieve) | **GET** /api/v2/checks/{check_type}/ |
|
|
102
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_create**](docs/DivisionsApi.md#v2_organisations_divisions_create) | **POST** /api/v2/organisations/divisions/ |
|
|
103
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_list**](docs/DivisionsApi.md#v2_organisations_divisions_list) | **GET** /api/v2/organisations/divisions/ |
|
|
104
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_partial_update**](docs/DivisionsApi.md#v2_organisations_divisions_partial_update) | **PATCH** /api/v2/organisations/divisions/{id}/ |
|
|
105
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_retrieve**](docs/DivisionsApi.md#v2_organisations_divisions_retrieve) | **GET** /api/v2/organisations/divisions/{id}/ |
|
|
106
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_update**](docs/DivisionsApi.md#v2_organisations_divisions_update) | **PUT** /api/v2/organisations/divisions/{id}/ |
|
|
107
|
+
*Pescheck::OAuthApi* | [**create_o_auth_application2**](docs/OAuthApi.md#create_o_auth_application2) | **POST** /api/v2/oauth/applications/ |
|
|
108
|
+
*Pescheck::OAuthApi* | [**delete_o_auth_application2**](docs/OAuthApi.md#delete_o_auth_application2) | **DELETE** /api/v2/oauth/applications/{application_id}/ |
|
|
109
|
+
*Pescheck::OAuthApi* | [**list_o_auth_applications2**](docs/OAuthApi.md#list_o_auth_applications2) | **GET** /api/v2/oauth/applications/list/ |
|
|
110
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_create**](docs/ProfilesApi.md#v2_profiles_create) | **POST** /api/v2/profiles/ |
|
|
111
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_destroy**](docs/ProfilesApi.md#v2_profiles_destroy) | **DELETE** /api/v2/profiles/{id}/ |
|
|
112
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_list**](docs/ProfilesApi.md#v2_profiles_list) | **GET** /api/v2/profiles/ |
|
|
113
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_partial_update**](docs/ProfilesApi.md#v2_profiles_partial_update) | **PATCH** /api/v2/profiles/{id}/ |
|
|
114
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_retrieve**](docs/ProfilesApi.md#v2_profiles_retrieve) | **GET** /api/v2/profiles/{id}/ |
|
|
115
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_update**](docs/ProfilesApi.md#v2_profiles_update) | **PUT** /api/v2/profiles/{id}/ |
|
|
116
|
+
*Pescheck::ScreeningsApi* | [**v2_screenings_close_create**](docs/ScreeningsApi.md#v2_screenings_close_create) | **POST** /api/v2/screenings/{id}/close/ | Close a screening
|
|
117
|
+
*Pescheck::ScreeningsApi* | [**v2_screenings_create**](docs/ScreeningsApi.md#v2_screenings_create) | **POST** /api/v2/screenings/ |
|
|
110
118
|
*Pescheck::ScreeningsApi* | [**v2_screenings_documents_list**](docs/ScreeningsApi.md#v2_screenings_documents_list) | **GET** /api/v2/screenings/{id}/documents/ | Retrieve screening documents
|
|
111
|
-
*Pescheck::ScreeningsApi* | [**v2_screenings_list**](docs/ScreeningsApi.md#v2_screenings_list) | **GET** /api/v2/screenings/ |
|
|
112
|
-
*Pescheck::ScreeningsApi* | [**v2_screenings_retrieve**](docs/ScreeningsApi.md#v2_screenings_retrieve) | **GET** /api/v2/screenings/{id}/ |
|
|
113
|
-
*Pescheck::WebhooksApi* | [**create_webhook2**](docs/WebhooksApi.md#create_webhook2) | **POST** /api/v2/webhooks/ |
|
|
114
|
-
*Pescheck::WebhooksApi* | [**delete_webhook2**](docs/WebhooksApi.md#delete_webhook2) | **DELETE** /api/v2/webhooks/{webhook_id}/ |
|
|
115
|
-
*Pescheck::WebhooksApi* | [**list_webhooks2**](docs/WebhooksApi.md#list_webhooks2) | **GET** /api/v2/webhooks/list/ |
|
|
116
|
-
*Pescheck::WebhooksApi* | [**verify_webhook2**](docs/WebhooksApi.md#verify_webhook2) | **POST** /api/v2/webhooks/{webhook_id}/verify/ |
|
|
117
|
-
|
|
119
|
+
*Pescheck::ScreeningsApi* | [**v2_screenings_list**](docs/ScreeningsApi.md#v2_screenings_list) | **GET** /api/v2/screenings/ |
|
|
120
|
+
*Pescheck::ScreeningsApi* | [**v2_screenings_retrieve**](docs/ScreeningsApi.md#v2_screenings_retrieve) | **GET** /api/v2/screenings/{id}/ |
|
|
121
|
+
*Pescheck::WebhooksApi* | [**create_webhook2**](docs/WebhooksApi.md#create_webhook2) | **POST** /api/v2/webhooks/ |
|
|
122
|
+
*Pescheck::WebhooksApi* | [**delete_webhook2**](docs/WebhooksApi.md#delete_webhook2) | **DELETE** /api/v2/webhooks/{webhook_id}/ |
|
|
123
|
+
*Pescheck::WebhooksApi* | [**list_webhooks2**](docs/WebhooksApi.md#list_webhooks2) | **GET** /api/v2/webhooks/list/ |
|
|
124
|
+
*Pescheck::WebhooksApi* | [**verify_webhook2**](docs/WebhooksApi.md#verify_webhook2) | **POST** /api/v2/webhooks/{webhook_id}/verify/ |
|
|
118
125
|
|
|
119
126
|
## Documentation for Models
|
|
120
127
|
|
|
121
|
-
- [Pescheck::
|
|
128
|
+
- [Pescheck::AddonPrice](docs/AddonPrice.md)
|
|
129
|
+
- [Pescheck::DisabledDivision](docs/DisabledDivision.md)
|
|
122
130
|
- [Pescheck::DivisionReadOnly](docs/DivisionReadOnly.md)
|
|
123
131
|
- [Pescheck::DivisionWrite](docs/DivisionWrite.md)
|
|
124
132
|
- [Pescheck::JWTGeneration](docs/JWTGeneration.md)
|
|
125
133
|
- [Pescheck::JWTResponse](docs/JWTResponse.md)
|
|
126
134
|
- [Pescheck::OAuthApplication](docs/OAuthApplication.md)
|
|
127
135
|
- [Pescheck::OAuthApplicationResponse](docs/OAuthApplicationResponse.md)
|
|
136
|
+
- [Pescheck::OrganisationAddon](docs/OrganisationAddon.md)
|
|
137
|
+
- [Pescheck::OrganisationAddonUpdate](docs/OrganisationAddonUpdate.md)
|
|
138
|
+
- [Pescheck::OrganisationAddonUpdateResult](docs/OrganisationAddonUpdateResult.md)
|
|
128
139
|
- [Pescheck::PaginatedDivisionReadOnlyList](docs/PaginatedDivisionReadOnlyList.md)
|
|
129
140
|
- [Pescheck::PaginatedV2ProfileListItemList](docs/PaginatedV2ProfileListItemList.md)
|
|
130
141
|
- [Pescheck::PaginatedV2ScreeningListItemList](docs/PaginatedV2ScreeningListItemList.md)
|
|
131
142
|
- [Pescheck::PatchedDivisionWrite](docs/PatchedDivisionWrite.md)
|
|
143
|
+
- [Pescheck::PatchedOrganisationAddonUpdate](docs/PatchedOrganisationAddonUpdate.md)
|
|
132
144
|
- [Pescheck::PatchedV2ProfilePartialUpdate](docs/PatchedV2ProfilePartialUpdate.md)
|
|
133
145
|
- [Pescheck::TokenRefresh](docs/TokenRefresh.md)
|
|
134
146
|
- [Pescheck::V2Candidate](docs/V2Candidate.md)
|
|
@@ -149,23 +161,22 @@ Class | Method | HTTP request | Description
|
|
|
149
161
|
- [Pescheck::V2ScreeningCheckListItem](docs/V2ScreeningCheckListItem.md)
|
|
150
162
|
- [Pescheck::V2ScreeningCreate](docs/V2ScreeningCreate.md)
|
|
151
163
|
- [Pescheck::V2ScreeningDetail](docs/V2ScreeningDetail.md)
|
|
152
|
-
- [Pescheck::
|
|
164
|
+
- [Pescheck::V2ScreeningDetailOrganisation](docs/V2ScreeningDetailOrganisation.md)
|
|
153
165
|
- [Pescheck::V2ScreeningListItem](docs/V2ScreeningListItem.md)
|
|
166
|
+
- [Pescheck::V2ScreeningNote](docs/V2ScreeningNote.md)
|
|
167
|
+
- [Pescheck::V2ScreeningNoteInput](docs/V2ScreeningNoteInput.md)
|
|
154
168
|
- [Pescheck::VerifyWebhook](docs/VerifyWebhook.md)
|
|
155
169
|
- [Pescheck::Webhook](docs/Webhook.md)
|
|
156
170
|
- [Pescheck::WebhookResponse](docs/WebhookResponse.md)
|
|
157
171
|
|
|
158
|
-
|
|
159
172
|
## Documentation for Authorization
|
|
160
173
|
|
|
161
|
-
|
|
162
174
|
Authentication schemes defined for the API:
|
|
163
175
|
### cookieAuth
|
|
164
176
|
|
|
165
|
-
|
|
166
177
|
- **Type**: API key
|
|
167
178
|
- **API key parameter name**: __Secure-sessionid
|
|
168
|
-
- **Location**:
|
|
179
|
+
- **Location**:
|
|
169
180
|
|
|
170
181
|
### jwtAuth
|
|
171
182
|
|
|
@@ -173,12 +184,10 @@ Authentication schemes defined for the API:
|
|
|
173
184
|
|
|
174
185
|
### oauth2
|
|
175
186
|
|
|
176
|
-
|
|
177
187
|
- **Type**: OAuth
|
|
178
188
|
- **Flow**: application
|
|
179
|
-
- **Authorization URL**:
|
|
180
|
-
- **Scopes**:
|
|
181
|
-
- read:api:
|
|
182
|
-
- create:api:
|
|
183
|
-
- update:api:
|
|
184
|
-
|
|
189
|
+
- **Authorization URL**:
|
|
190
|
+
- **Scopes**:
|
|
191
|
+
- read:api: Read access to API
|
|
192
|
+
- create:api: Create access to API
|
|
193
|
+
- update:api: Update access to API
|
data/docs/AddOnsApi.md
ADDED
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
# Pescheck::AddOnsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.pescheck.io*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**v2_organisations_addons_list**](AddOnsApi.md#v2_organisations_addons_list) | **GET** /api/v2/organisations/addons/ | |
|
|
8
|
+
| [**v2_organisations_addons_partial_update**](AddOnsApi.md#v2_organisations_addons_partial_update) | **PATCH** /api/v2/organisations/addons/{addon}/ | |
|
|
9
|
+
| [**v2_organisations_addons_retrieve**](AddOnsApi.md#v2_organisations_addons_retrieve) | **GET** /api/v2/organisations/addons/{addon}/ | |
|
|
10
|
+
| [**v2_organisations_addons_update**](AddOnsApi.md#v2_organisations_addons_update) | **PUT** /api/v2/organisations/addons/{addon}/ | |
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## v2_organisations_addons_list
|
|
14
|
+
|
|
15
|
+
> <Array<OrganisationAddon>> v2_organisations_addons_list(opts)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
List every add-on with whether it is enabled for the organisation.
|
|
20
|
+
|
|
21
|
+
### Examples
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
require 'time'
|
|
25
|
+
require 'pescheck-client'
|
|
26
|
+
# setup authorization
|
|
27
|
+
Pescheck.configure do |config|
|
|
28
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
29
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
api_instance = Pescheck::AddOnsApi.new
|
|
33
|
+
opts = {
|
|
34
|
+
division_id: 'division_id_example' # String | Act on this division instead of the organisation the token belongs to.
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
begin
|
|
38
|
+
|
|
39
|
+
result = api_instance.v2_organisations_addons_list(opts)
|
|
40
|
+
p result
|
|
41
|
+
rescue Pescheck::ApiError => e
|
|
42
|
+
puts "Error when calling AddOnsApi->v2_organisations_addons_list: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Using the v2_organisations_addons_list_with_http_info variant
|
|
47
|
+
|
|
48
|
+
This returns an Array which contains the response data, status code and headers.
|
|
49
|
+
|
|
50
|
+
> <Array(<Array<OrganisationAddon>>, Integer, Hash)> v2_organisations_addons_list_with_http_info(opts)
|
|
51
|
+
|
|
52
|
+
```ruby
|
|
53
|
+
begin
|
|
54
|
+
|
|
55
|
+
data, status_code, headers = api_instance.v2_organisations_addons_list_with_http_info(opts)
|
|
56
|
+
p status_code # => 2xx
|
|
57
|
+
p headers # => { ... }
|
|
58
|
+
p data # => <Array<OrganisationAddon>>
|
|
59
|
+
rescue Pescheck::ApiError => e
|
|
60
|
+
puts "Error when calling AddOnsApi->v2_organisations_addons_list_with_http_info: #{e}"
|
|
61
|
+
end
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
| Name | Type | Description | Notes |
|
|
67
|
+
| ---- | ---- | ----------- | ----- |
|
|
68
|
+
| **division_id** | **String** | Act on this division instead of the organisation the token belongs to. | [optional] |
|
|
69
|
+
|
|
70
|
+
### Return type
|
|
71
|
+
|
|
72
|
+
[**Array<OrganisationAddon>**](OrganisationAddon.md)
|
|
73
|
+
|
|
74
|
+
### Authorization
|
|
75
|
+
|
|
76
|
+
[oauth2](../README.md#oauth2)
|
|
77
|
+
|
|
78
|
+
### HTTP request headers
|
|
79
|
+
|
|
80
|
+
- **Content-Type**: Not defined
|
|
81
|
+
- **Accept**: application/json
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## v2_organisations_addons_partial_update
|
|
85
|
+
|
|
86
|
+
> <OrganisationAddonUpdateResult> v2_organisations_addons_partial_update(addon, opts)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
Switch an add-on on or off. Enabling is billed monthly from today.
|
|
91
|
+
|
|
92
|
+
### Examples
|
|
93
|
+
|
|
94
|
+
```ruby
|
|
95
|
+
require 'time'
|
|
96
|
+
require 'pescheck-client'
|
|
97
|
+
# setup authorization
|
|
98
|
+
Pescheck.configure do |config|
|
|
99
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
100
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
api_instance = Pescheck::AddOnsApi.new
|
|
104
|
+
addon = 'api_access' # String | The add-on to act on.
|
|
105
|
+
opts = {
|
|
106
|
+
division_id: 'division_id_example', # String | Act on this division instead of the organisation the token belongs to.
|
|
107
|
+
patched_organisation_addon_update: Pescheck::PatchedOrganisationAddonUpdate.new # PatchedOrganisationAddonUpdate |
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
begin
|
|
111
|
+
|
|
112
|
+
result = api_instance.v2_organisations_addons_partial_update(addon, opts)
|
|
113
|
+
p result
|
|
114
|
+
rescue Pescheck::ApiError => e
|
|
115
|
+
puts "Error when calling AddOnsApi->v2_organisations_addons_partial_update: #{e}"
|
|
116
|
+
end
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
#### Using the v2_organisations_addons_partial_update_with_http_info variant
|
|
120
|
+
|
|
121
|
+
This returns an Array which contains the response data, status code and headers.
|
|
122
|
+
|
|
123
|
+
> <Array(<OrganisationAddonUpdateResult>, Integer, Hash)> v2_organisations_addons_partial_update_with_http_info(addon, opts)
|
|
124
|
+
|
|
125
|
+
```ruby
|
|
126
|
+
begin
|
|
127
|
+
|
|
128
|
+
data, status_code, headers = api_instance.v2_organisations_addons_partial_update_with_http_info(addon, opts)
|
|
129
|
+
p status_code # => 2xx
|
|
130
|
+
p headers # => { ... }
|
|
131
|
+
p data # => <OrganisationAddonUpdateResult>
|
|
132
|
+
rescue Pescheck::ApiError => e
|
|
133
|
+
puts "Error when calling AddOnsApi->v2_organisations_addons_partial_update_with_http_info: #{e}"
|
|
134
|
+
end
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Parameters
|
|
138
|
+
|
|
139
|
+
| Name | Type | Description | Notes |
|
|
140
|
+
| ---- | ---- | ----------- | ----- |
|
|
141
|
+
| **addon** | **String** | The add-on to act on. | |
|
|
142
|
+
| **division_id** | **String** | Act on this division instead of the organisation the token belongs to. | [optional] |
|
|
143
|
+
| **patched_organisation_addon_update** | [**PatchedOrganisationAddonUpdate**](PatchedOrganisationAddonUpdate.md) | | [optional] |
|
|
144
|
+
|
|
145
|
+
### Return type
|
|
146
|
+
|
|
147
|
+
[**OrganisationAddonUpdateResult**](OrganisationAddonUpdateResult.md)
|
|
148
|
+
|
|
149
|
+
### Authorization
|
|
150
|
+
|
|
151
|
+
[oauth2](../README.md#oauth2)
|
|
152
|
+
|
|
153
|
+
### HTTP request headers
|
|
154
|
+
|
|
155
|
+
- **Content-Type**: application/json, multipart/form-data
|
|
156
|
+
- **Accept**: application/json
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
## v2_organisations_addons_retrieve
|
|
160
|
+
|
|
161
|
+
> <OrganisationAddon> v2_organisations_addons_retrieve(addon, opts)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
Get one add-on's state for the organisation.
|
|
166
|
+
|
|
167
|
+
### Examples
|
|
168
|
+
|
|
169
|
+
```ruby
|
|
170
|
+
require 'time'
|
|
171
|
+
require 'pescheck-client'
|
|
172
|
+
# setup authorization
|
|
173
|
+
Pescheck.configure do |config|
|
|
174
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
175
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
api_instance = Pescheck::AddOnsApi.new
|
|
179
|
+
addon = 'api_access' # String | The add-on to act on.
|
|
180
|
+
opts = {
|
|
181
|
+
division_id: 'division_id_example' # String | Act on this division instead of the organisation the token belongs to.
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
begin
|
|
185
|
+
|
|
186
|
+
result = api_instance.v2_organisations_addons_retrieve(addon, opts)
|
|
187
|
+
p result
|
|
188
|
+
rescue Pescheck::ApiError => e
|
|
189
|
+
puts "Error when calling AddOnsApi->v2_organisations_addons_retrieve: #{e}"
|
|
190
|
+
end
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
#### Using the v2_organisations_addons_retrieve_with_http_info variant
|
|
194
|
+
|
|
195
|
+
This returns an Array which contains the response data, status code and headers.
|
|
196
|
+
|
|
197
|
+
> <Array(<OrganisationAddon>, Integer, Hash)> v2_organisations_addons_retrieve_with_http_info(addon, opts)
|
|
198
|
+
|
|
199
|
+
```ruby
|
|
200
|
+
begin
|
|
201
|
+
|
|
202
|
+
data, status_code, headers = api_instance.v2_organisations_addons_retrieve_with_http_info(addon, opts)
|
|
203
|
+
p status_code # => 2xx
|
|
204
|
+
p headers # => { ... }
|
|
205
|
+
p data # => <OrganisationAddon>
|
|
206
|
+
rescue Pescheck::ApiError => e
|
|
207
|
+
puts "Error when calling AddOnsApi->v2_organisations_addons_retrieve_with_http_info: #{e}"
|
|
208
|
+
end
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### Parameters
|
|
212
|
+
|
|
213
|
+
| Name | Type | Description | Notes |
|
|
214
|
+
| ---- | ---- | ----------- | ----- |
|
|
215
|
+
| **addon** | **String** | The add-on to act on. | |
|
|
216
|
+
| **division_id** | **String** | Act on this division instead of the organisation the token belongs to. | [optional] |
|
|
217
|
+
|
|
218
|
+
### Return type
|
|
219
|
+
|
|
220
|
+
[**OrganisationAddon**](OrganisationAddon.md)
|
|
221
|
+
|
|
222
|
+
### Authorization
|
|
223
|
+
|
|
224
|
+
[oauth2](../README.md#oauth2)
|
|
225
|
+
|
|
226
|
+
### HTTP request headers
|
|
227
|
+
|
|
228
|
+
- **Content-Type**: Not defined
|
|
229
|
+
- **Accept**: application/json
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
## v2_organisations_addons_update
|
|
233
|
+
|
|
234
|
+
> <OrganisationAddonUpdateResult> v2_organisations_addons_update(addon, organisation_addon_update, opts)
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
Switch an add-on on or off. Enabling is billed monthly from today.
|
|
239
|
+
|
|
240
|
+
### Examples
|
|
241
|
+
|
|
242
|
+
```ruby
|
|
243
|
+
require 'time'
|
|
244
|
+
require 'pescheck-client'
|
|
245
|
+
# setup authorization
|
|
246
|
+
Pescheck.configure do |config|
|
|
247
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
248
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
api_instance = Pescheck::AddOnsApi.new
|
|
252
|
+
addon = 'api_access' # String | The add-on to act on.
|
|
253
|
+
organisation_addon_update = Pescheck::OrganisationAddonUpdate.new({enabled: false}) # OrganisationAddonUpdate |
|
|
254
|
+
opts = {
|
|
255
|
+
division_id: 'division_id_example' # String | Act on this division instead of the organisation the token belongs to.
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
begin
|
|
259
|
+
|
|
260
|
+
result = api_instance.v2_organisations_addons_update(addon, organisation_addon_update, opts)
|
|
261
|
+
p result
|
|
262
|
+
rescue Pescheck::ApiError => e
|
|
263
|
+
puts "Error when calling AddOnsApi->v2_organisations_addons_update: #{e}"
|
|
264
|
+
end
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
#### Using the v2_organisations_addons_update_with_http_info variant
|
|
268
|
+
|
|
269
|
+
This returns an Array which contains the response data, status code and headers.
|
|
270
|
+
|
|
271
|
+
> <Array(<OrganisationAddonUpdateResult>, Integer, Hash)> v2_organisations_addons_update_with_http_info(addon, organisation_addon_update, opts)
|
|
272
|
+
|
|
273
|
+
```ruby
|
|
274
|
+
begin
|
|
275
|
+
|
|
276
|
+
data, status_code, headers = api_instance.v2_organisations_addons_update_with_http_info(addon, organisation_addon_update, opts)
|
|
277
|
+
p status_code # => 2xx
|
|
278
|
+
p headers # => { ... }
|
|
279
|
+
p data # => <OrganisationAddonUpdateResult>
|
|
280
|
+
rescue Pescheck::ApiError => e
|
|
281
|
+
puts "Error when calling AddOnsApi->v2_organisations_addons_update_with_http_info: #{e}"
|
|
282
|
+
end
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
### Parameters
|
|
286
|
+
|
|
287
|
+
| Name | Type | Description | Notes |
|
|
288
|
+
| ---- | ---- | ----------- | ----- |
|
|
289
|
+
| **addon** | **String** | The add-on to act on. | |
|
|
290
|
+
| **organisation_addon_update** | [**OrganisationAddonUpdate**](OrganisationAddonUpdate.md) | | |
|
|
291
|
+
| **division_id** | **String** | Act on this division instead of the organisation the token belongs to. | [optional] |
|
|
292
|
+
|
|
293
|
+
### Return type
|
|
294
|
+
|
|
295
|
+
[**OrganisationAddonUpdateResult**](OrganisationAddonUpdateResult.md)
|
|
296
|
+
|
|
297
|
+
### Authorization
|
|
298
|
+
|
|
299
|
+
[oauth2](../README.md#oauth2)
|
|
300
|
+
|
|
301
|
+
### HTTP request headers
|
|
302
|
+
|
|
303
|
+
- **Content-Type**: application/json, multipart/form-data
|
|
304
|
+
- **Accept**: application/json
|
|
305
|
+
|
data/docs/AddonPrice.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Pescheck::AddonPrice
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **amount** | **String** | | |
|
|
8
|
+
| **currency** | **String** | ISO 4217 code, e.g. EUR. | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'pescheck-client'
|
|
14
|
+
|
|
15
|
+
instance = Pescheck::AddonPrice.new(
|
|
16
|
+
amount: null,
|
|
17
|
+
currency: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/AuthenticationApi.md
CHANGED
|
@@ -5,7 +5,6 @@ All URIs are relative to *https://api.pescheck.io*
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
7
|
| [**generate_jwt_token2**](AuthenticationApi.md#generate_jwt_token2) | **POST** /api/v2/jwt/generate/ | |
|
|
8
|
-
| [**jwt_create**](AuthenticationApi.md#jwt_create) | **POST** /api/jwt/ | |
|
|
9
8
|
| [**jwt_refresh_create**](AuthenticationApi.md#jwt_refresh_create) | **POST** /api/jwt/refresh/ | |
|
|
10
9
|
|
|
11
10
|
|
|
@@ -15,7 +14,7 @@ All URIs are relative to *https://api.pescheck.io*
|
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
Log in with email + password. Returns a JWT pair scoped to the organization or division specified by organisation_id/division_id
|
|
17
|
+
Log in with email + password. Returns a JWT pair scoped to the organization or division specified by organisation_id/division_id. Without it, your single organization is used; accounts with access to more than one organization must specify one. For a plain login, use POST /api/jwt/.
|
|
19
18
|
|
|
20
19
|
### Examples
|
|
21
20
|
|
|
@@ -78,75 +77,6 @@ end
|
|
|
78
77
|
- **Accept**: application/json
|
|
79
78
|
|
|
80
79
|
|
|
81
|
-
## jwt_create
|
|
82
|
-
|
|
83
|
-
> <CustomTokenObtainPair> jwt_create(custom_token_obtain_pair)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
Log in with email + password. Returns a JWT pair scoped to your current organization (last viewed, or first available). For a token scoped to a specific org or division, use POST /api/v2/jwt/generate/.
|
|
88
|
-
|
|
89
|
-
### Examples
|
|
90
|
-
|
|
91
|
-
```ruby
|
|
92
|
-
require 'time'
|
|
93
|
-
require 'pescheck-client'
|
|
94
|
-
# setup authorization
|
|
95
|
-
Pescheck.configure do |config|
|
|
96
|
-
# Configure OAuth2 access token for authorization: oauth2
|
|
97
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
|
98
|
-
end
|
|
99
|
-
|
|
100
|
-
api_instance = Pescheck::AuthenticationApi.new
|
|
101
|
-
custom_token_obtain_pair = Pescheck::CustomTokenObtainPair.new({email: 'email_example', password: 'password_example'}) # CustomTokenObtainPair |
|
|
102
|
-
|
|
103
|
-
begin
|
|
104
|
-
|
|
105
|
-
result = api_instance.jwt_create(custom_token_obtain_pair)
|
|
106
|
-
p result
|
|
107
|
-
rescue Pescheck::ApiError => e
|
|
108
|
-
puts "Error when calling AuthenticationApi->jwt_create: #{e}"
|
|
109
|
-
end
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
#### Using the jwt_create_with_http_info variant
|
|
113
|
-
|
|
114
|
-
This returns an Array which contains the response data, status code and headers.
|
|
115
|
-
|
|
116
|
-
> <Array(<CustomTokenObtainPair>, Integer, Hash)> jwt_create_with_http_info(custom_token_obtain_pair)
|
|
117
|
-
|
|
118
|
-
```ruby
|
|
119
|
-
begin
|
|
120
|
-
|
|
121
|
-
data, status_code, headers = api_instance.jwt_create_with_http_info(custom_token_obtain_pair)
|
|
122
|
-
p status_code # => 2xx
|
|
123
|
-
p headers # => { ... }
|
|
124
|
-
p data # => <CustomTokenObtainPair>
|
|
125
|
-
rescue Pescheck::ApiError => e
|
|
126
|
-
puts "Error when calling AuthenticationApi->jwt_create_with_http_info: #{e}"
|
|
127
|
-
end
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
### Parameters
|
|
131
|
-
|
|
132
|
-
| Name | Type | Description | Notes |
|
|
133
|
-
| ---- | ---- | ----------- | ----- |
|
|
134
|
-
| **custom_token_obtain_pair** | [**CustomTokenObtainPair**](CustomTokenObtainPair.md) | | |
|
|
135
|
-
|
|
136
|
-
### Return type
|
|
137
|
-
|
|
138
|
-
[**CustomTokenObtainPair**](CustomTokenObtainPair.md)
|
|
139
|
-
|
|
140
|
-
### Authorization
|
|
141
|
-
|
|
142
|
-
[oauth2](../README.md#oauth2)
|
|
143
|
-
|
|
144
|
-
### HTTP request headers
|
|
145
|
-
|
|
146
|
-
- **Content-Type**: application/json, multipart/form-data
|
|
147
|
-
- **Accept**: application/json
|
|
148
|
-
|
|
149
|
-
|
|
150
80
|
## jwt_refresh_create
|
|
151
81
|
|
|
152
82
|
> <TokenRefresh> jwt_refresh_create(token_refresh)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Pescheck::DisabledDivision
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **name** | **String** | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'pescheck-client'
|
|
14
|
+
|
|
15
|
+
instance = Pescheck::DisabledDivision.new(
|
|
16
|
+
id: null,
|
|
17
|
+
name: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/OAuthApplication.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | Name for the OAuth application | |
|
|
8
8
|
| **client_type** | **String** | Client type (confidential recommended for server-to-server) * `confidential` - Confidential * `public` - Public | [optional][default to 'confidential'] |
|
|
9
|
-
| **authorization_grant_type** | **String** | Grant type (client_credentials for API access) * `authorization-code` - Authorization code * `implicit` - Implicit * `password` - Resource owner password-based * `client-credentials` - Client credentials * `openid-hybrid` - OpenID connect hybrid | [optional][default to 'client-credentials'] |
|
|
9
|
+
| **authorization_grant_type** | **String** | Grant type (client_credentials for API access) * `authorization-code` - Authorization code * `urn:ietf:params:oauth:grant-type:device_code` - Device Code * `implicit` - Implicit * `password` - Resource owner password-based * `client-credentials` - Client credentials * `openid-hybrid` - OpenID connect hybrid | [optional][default to 'client-credentials'] |
|
|
10
10
|
| **redirect_uris** | **String** | Space-separated redirect URIs (optional for client_credentials) | [optional] |
|
|
11
11
|
| **division_id** | **String** | Division ID to create application for (optional) | [optional] |
|
|
12
12
|
|
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
| **name** | **String** | | [optional] |
|
|
9
9
|
| **client_id** | **String** | | [optional] |
|
|
10
10
|
| **client_secret** | **String** | | [readonly] |
|
|
11
|
-
| **client_type** | **String** | * `confidential` - Confidential * `public` - Public | |
|
|
12
|
-
| **authorization_grant_type** | **String** | * `authorization-code` - Authorization code * `implicit` - Implicit * `password` - Resource owner password-based * `client-credentials` - Client credentials * `openid-hybrid` - OpenID connect hybrid | |
|
|
11
|
+
| **client_type** | **String** | * `confidential` - Confidential * `public` - Public Known values: confidential, public. New values may be added; handle unknown values. | |
|
|
12
|
+
| **authorization_grant_type** | **String** | * `authorization-code` - Authorization code * `urn:ietf:params:oauth:grant-type:device_code` - Device Code * `implicit` - Implicit * `password` - Resource owner password-based * `client-credentials` - Client credentials * `openid-hybrid` - OpenID connect hybrid Known values: authorization-code, urn:ietf:params:oauth:grant-type:device_code, implicit, password, client-credentials, openid-hybrid. New values may be added; handle unknown values. | |
|
|
13
|
+
| **organisation** | **String** | | [readonly] |
|
|
14
|
+
| **organisation_id** | **String** | | [readonly] |
|
|
13
15
|
| **created** | **Time** | | [readonly] |
|
|
14
16
|
| **updated** | **Time** | | [readonly] |
|
|
15
17
|
|
|
@@ -25,6 +27,8 @@ instance = Pescheck::OAuthApplicationResponse.new(
|
|
|
25
27
|
client_secret: null,
|
|
26
28
|
client_type: null,
|
|
27
29
|
authorization_grant_type: null,
|
|
30
|
+
organisation: null,
|
|
31
|
+
organisation_id: null,
|
|
28
32
|
created: null,
|
|
29
33
|
updated: null
|
|
30
34
|
)
|