pescheck 0.0.1
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +193 -0
- data/Rakefile +10 -0
- data/docs/AuthenticationApi.md +217 -0
- data/docs/ChecksApi.md +147 -0
- data/docs/CustomTokenObtainPair.md +20 -0
- data/docs/DivisionReadOnly.md +46 -0
- data/docs/DivisionWrite.md +40 -0
- data/docs/DivisionsApi.md +369 -0
- data/docs/JWTGeneration.md +24 -0
- data/docs/JWTResponse.md +28 -0
- data/docs/OAuthApi.md +213 -0
- data/docs/OAuthApplication.md +26 -0
- data/docs/OAuthApplicationResponse.md +32 -0
- data/docs/PaginatedDivisionReadOnlyList.md +24 -0
- data/docs/PaginatedV2ProfileListItemList.md +24 -0
- data/docs/PaginatedV2ScreeningListItemList.md +24 -0
- data/docs/PatchedDivisionWrite.md +40 -0
- data/docs/PatchedV2ProfilePartialUpdate.md +20 -0
- data/docs/ProfilesApi.md +438 -0
- data/docs/ScreeningsApi.md +293 -0
- data/docs/TokenRefresh.md +20 -0
- data/docs/V2Candidate.md +36 -0
- data/docs/V2CheckField.md +26 -0
- data/docs/V2CheckInfo.md +40 -0
- data/docs/V2Document.md +28 -0
- data/docs/V2DocumentContent.md +20 -0
- data/docs/V2Money.md +20 -0
- data/docs/V2ProfileCheck.md +20 -0
- data/docs/V2ProfileCheckEntry.md +30 -0
- data/docs/V2ProfileCreate.md +22 -0
- data/docs/V2ProfileDetail.md +38 -0
- data/docs/V2ProfileListItem.md +30 -0
- data/docs/V2ProfileUpdate.md +22 -0
- data/docs/V2ProfileUpdateCheck.md +22 -0
- data/docs/V2ScreeningCheck.md +24 -0
- data/docs/V2ScreeningCheckEntry.md +34 -0
- data/docs/V2ScreeningCheckListItem.md +22 -0
- data/docs/V2ScreeningCreate.md +22 -0
- data/docs/V2ScreeningDetail.md +34 -0
- data/docs/V2ScreeningDetailProfile.md +20 -0
- data/docs/V2ScreeningListItem.md +34 -0
- data/docs/VerifyWebhook.md +18 -0
- data/docs/Webhook.md +26 -0
- data/docs/WebhookResponse.md +36 -0
- data/docs/WebhooksApi.md +290 -0
- data/git_push.sh +57 -0
- data/lib/pescheck/api/authentication_api.rb +220 -0
- data/lib/pescheck/api/checks_api.rb +144 -0
- data/lib/pescheck/api/divisions_api.rb +365 -0
- data/lib/pescheck/api/o_auth_api.rb +202 -0
- data/lib/pescheck/api/profiles_api.rb +432 -0
- data/lib/pescheck/api/screenings_api.rb +288 -0
- data/lib/pescheck/api/webhooks_api.rb +278 -0
- data/lib/pescheck/api_client.rb +441 -0
- data/lib/pescheck/api_error.rb +58 -0
- data/lib/pescheck/api_model_base.rb +88 -0
- data/lib/pescheck/configuration.rb +429 -0
- data/lib/pescheck/models/custom_token_obtain_pair.rb +191 -0
- data/lib/pescheck/models/division_read_only.rb +469 -0
- data/lib/pescheck/models/division_write.rb +436 -0
- data/lib/pescheck/models/jwt_generation.rb +213 -0
- data/lib/pescheck/models/jwt_response.rb +285 -0
- data/lib/pescheck/models/o_auth_application.rb +265 -0
- data/lib/pescheck/models/o_auth_application_response.rb +379 -0
- data/lib/pescheck/models/paginated_division_read_only_list.rb +216 -0
- data/lib/pescheck/models/paginated_v2_profile_list_item_list.rb +216 -0
- data/lib/pescheck/models/paginated_v2_screening_list_item_list.rb +216 -0
- data/lib/pescheck/models/patched_division_write.rb +360 -0
- data/lib/pescheck/models/patched_v2_profile_partial_update.rb +176 -0
- data/lib/pescheck/models/token_refresh.rb +173 -0
- data/lib/pescheck/models/v2_candidate.rb +390 -0
- data/lib/pescheck/models/v2_check_field.rb +246 -0
- data/lib/pescheck/models/v2_check_info.rb +438 -0
- data/lib/pescheck/models/v2_document.rb +308 -0
- data/lib/pescheck/models/v2_document_content.rb +175 -0
- data/lib/pescheck/models/v2_money.rb +210 -0
- data/lib/pescheck/models/v2_profile_check.rb +201 -0
- data/lib/pescheck/models/v2_profile_check_entry.rb +349 -0
- data/lib/pescheck/models/v2_profile_create.rb +212 -0
- data/lib/pescheck/models/v2_profile_detail.rb +401 -0
- data/lib/pescheck/models/v2_profile_list_item.rb +291 -0
- data/lib/pescheck/models/v2_profile_update.rb +213 -0
- data/lib/pescheck/models/v2_profile_update_check.rb +210 -0
- data/lib/pescheck/models/v2_screening_check.rb +221 -0
- data/lib/pescheck/models/v2_screening_check_entry.rb +376 -0
- data/lib/pescheck/models/v2_screening_check_list_item.rb +242 -0
- data/lib/pescheck/models/v2_screening_create.rb +201 -0
- data/lib/pescheck/models/v2_screening_detail.rb +348 -0
- data/lib/pescheck/models/v2_screening_detail_profile.rb +156 -0
- data/lib/pescheck/models/v2_screening_list_item.rb +330 -0
- data/lib/pescheck/models/verify_webhook.rb +166 -0
- data/lib/pescheck/models/webhook.rb +265 -0
- data/lib/pescheck/models/webhook_response.rb +353 -0
- data/lib/pescheck/version.rb +15 -0
- data/lib/pescheck.rb +83 -0
- data/pescheck.gemspec +41 -0
- data/spec/api/authentication_api_spec.rb +68 -0
- data/spec/api/checks_api_spec.rb +56 -0
- data/spec/api/divisions_api_spec.rb +94 -0
- data/spec/api/o_auth_api_spec.rb +67 -0
- data/spec/api/profiles_api_spec.rb +105 -0
- data/spec/api/screenings_api_spec.rb +81 -0
- data/spec/api/webhooks_api_spec.rb +81 -0
- data/spec/models/custom_token_obtain_pair_spec.rb +42 -0
- data/spec/models/division_read_only_spec.rb +120 -0
- data/spec/models/division_write_spec.rb +102 -0
- data/spec/models/jwt_generation_spec.rb +54 -0
- data/spec/models/jwt_response_spec.rb +66 -0
- data/spec/models/o_auth_application_response_spec.rb +86 -0
- data/spec/models/o_auth_application_spec.rb +68 -0
- data/spec/models/paginated_division_read_only_list_spec.rb +54 -0
- data/spec/models/paginated_v2_profile_list_item_list_spec.rb +54 -0
- data/spec/models/paginated_v2_screening_list_item_list_spec.rb +54 -0
- data/spec/models/patched_division_write_spec.rb +102 -0
- data/spec/models/patched_v2_profile_partial_update_spec.rb +42 -0
- data/spec/models/token_refresh_spec.rb +42 -0
- data/spec/models/v2_candidate_spec.rb +94 -0
- data/spec/models/v2_check_field_spec.rb +60 -0
- data/spec/models/v2_check_info_spec.rb +102 -0
- data/spec/models/v2_document_content_spec.rb +42 -0
- data/spec/models/v2_document_spec.rb +70 -0
- data/spec/models/v2_money_spec.rb +42 -0
- data/spec/models/v2_profile_check_entry_spec.rb +76 -0
- data/spec/models/v2_profile_check_spec.rb +46 -0
- data/spec/models/v2_profile_create_spec.rb +48 -0
- data/spec/models/v2_profile_detail_spec.rb +96 -0
- data/spec/models/v2_profile_list_item_spec.rb +72 -0
- data/spec/models/v2_profile_update_check_spec.rb +52 -0
- data/spec/models/v2_profile_update_spec.rb +48 -0
- data/spec/models/v2_screening_check_entry_spec.rb +88 -0
- data/spec/models/v2_screening_check_list_item_spec.rb +52 -0
- data/spec/models/v2_screening_check_spec.rb +58 -0
- data/spec/models/v2_screening_create_spec.rb +48 -0
- data/spec/models/v2_screening_detail_profile_spec.rb +42 -0
- data/spec/models/v2_screening_detail_spec.rb +84 -0
- data/spec/models/v2_screening_list_item_spec.rb +84 -0
- data/spec/models/verify_webhook_spec.rb +36 -0
- data/spec/models/webhook_response_spec.rb +90 -0
- data/spec/models/webhook_spec.rb +64 -0
- data/spec/spec_helper.rb +111 -0
- metadata +302 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 8265babfb710a35123a023ce0d4d4dd8fc9ce6ceaaf2e9d9c577945c16fd7080
|
|
4
|
+
data.tar.gz: 60c3b8b8e4f78c3d4b2f621a2dea67d03b9d536a3e4e878dae1fa1c1a942dca8
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 29d2f8c48cc7dcbd702b62b94ee1a8f33c5d305fb4aa6005aa52c9254db156d4b77cd4d07bbb2cbdd77a548b102760519ef2fc8538f5dc49489d377f2499fa0a
|
|
7
|
+
data.tar.gz: fae52ad102dae413ae7796ab1b28fb30f5b05c0c11d8e7e1504aa0478fede904e8346373f77acbab3055a5d88daecd782beb6d7c9bad552d9c6ec878a152fb1d
|
data/Gemfile
ADDED
data/README.md
ADDED
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# pescheck
|
|
2
|
+
|
|
3
|
+
Pescheck - the Ruby gem for the Pescheck API
|
|
4
|
+
|
|
5
|
+
API for Pescheck
|
|
6
|
+
|
|
7
|
+
## Authentication
|
|
8
|
+
This API supports three authentication methods:
|
|
9
|
+
1. **OAuth2** (recommended for API clients) - Use client credentials flow
|
|
10
|
+
2. **JWT Bearer** (for user-based access) - Obtain tokens via /api/jwt/ endpoint
|
|
11
|
+
3. **Cookie** (for browser-based access) - Session authentication via web login
|
|
12
|
+
|
|
13
|
+
## Quick Start for API Clients
|
|
14
|
+
1. Select your environment from the servers dropdown
|
|
15
|
+
2. Use OAuth2 with client credentials flow
|
|
16
|
+
3. Scopes are automatically included: read:api, create:api, update:api
|
|
17
|
+
|
|
18
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
19
|
+
|
|
20
|
+
- API version: 2.0.0
|
|
21
|
+
- Package version: 0.0.1
|
|
22
|
+
- Generator version: 7.23.0
|
|
23
|
+
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
### Build a gem
|
|
28
|
+
|
|
29
|
+
To build the Ruby code into a gem:
|
|
30
|
+
|
|
31
|
+
```shell
|
|
32
|
+
gem build pescheck.gemspec
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Then either install the gem locally:
|
|
36
|
+
|
|
37
|
+
```shell
|
|
38
|
+
gem install ./pescheck-0.0.1.gem
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
(for development, run `gem install --dev ./pescheck-0.0.1.gem` to install the development dependencies)
|
|
42
|
+
|
|
43
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
44
|
+
|
|
45
|
+
Finally add this to the Gemfile:
|
|
46
|
+
|
|
47
|
+
gem 'pescheck', '~> 0.0.1'
|
|
48
|
+
|
|
49
|
+
### Install from Git
|
|
50
|
+
|
|
51
|
+
If the Ruby gem is hosted at a git repository: https://github.com/pescheckit/pescheck-clients, then add the following in the Gemfile:
|
|
52
|
+
|
|
53
|
+
gem 'pescheck', :git => 'https://github.com/pescheckit/pescheck-clients.git'
|
|
54
|
+
|
|
55
|
+
### Include the Ruby code directly
|
|
56
|
+
|
|
57
|
+
Include the Ruby code directly using `-I` as follows:
|
|
58
|
+
|
|
59
|
+
```shell
|
|
60
|
+
ruby -Ilib script.rb
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Getting Started
|
|
64
|
+
|
|
65
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
|
66
|
+
|
|
67
|
+
```ruby
|
|
68
|
+
# Load the gem
|
|
69
|
+
require 'pescheck'
|
|
70
|
+
|
|
71
|
+
# Setup authorization
|
|
72
|
+
Pescheck.configure do |config|
|
|
73
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
74
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
75
|
+
# Configure a proc to get access tokens in lieu of the static access_token configuration
|
|
76
|
+
config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
|
|
77
|
+
# Configure faraday connection
|
|
78
|
+
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
api_instance = Pescheck::AuthenticationApi.new
|
|
82
|
+
jwt_generation = Pescheck::JWTGeneration.new({email: 'email_example', password: 'password_example'}) # JWTGeneration |
|
|
83
|
+
|
|
84
|
+
begin
|
|
85
|
+
result = api_instance.generate_jwt_token2(jwt_generation)
|
|
86
|
+
p result
|
|
87
|
+
rescue Pescheck::ApiError => e
|
|
88
|
+
puts "Exception when calling AuthenticationApi->generate_jwt_token2: #{e}"
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Documentation for API Endpoints
|
|
94
|
+
|
|
95
|
+
All URIs are relative to *https://api.pescheck.io*
|
|
96
|
+
|
|
97
|
+
Class | Method | HTTP request | Description
|
|
98
|
+
------------ | ------------- | ------------- | -------------
|
|
99
|
+
*Pescheck::AuthenticationApi* | [**generate_jwt_token2**](docs/AuthenticationApi.md#generate_jwt_token2) | **POST** /api/v2/jwt/generate/ |
|
|
100
|
+
*Pescheck::AuthenticationApi* | [**jwt_create**](docs/AuthenticationApi.md#jwt_create) | **POST** /api/jwt/ |
|
|
101
|
+
*Pescheck::AuthenticationApi* | [**jwt_refresh_create**](docs/AuthenticationApi.md#jwt_refresh_create) | **POST** /api/jwt/refresh/ |
|
|
102
|
+
*Pescheck::ChecksApi* | [**v2_checks_list**](docs/ChecksApi.md#v2_checks_list) | **GET** /api/v2/checks/ |
|
|
103
|
+
*Pescheck::ChecksApi* | [**v2_checks_retrieve**](docs/ChecksApi.md#v2_checks_retrieve) | **GET** /api/v2/checks/{check_type}/ |
|
|
104
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_create**](docs/DivisionsApi.md#v2_organisations_divisions_create) | **POST** /api/v2/organisations/divisions/ |
|
|
105
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_list**](docs/DivisionsApi.md#v2_organisations_divisions_list) | **GET** /api/v2/organisations/divisions/ |
|
|
106
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_partial_update**](docs/DivisionsApi.md#v2_organisations_divisions_partial_update) | **PATCH** /api/v2/organisations/divisions/{id}/ |
|
|
107
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_retrieve**](docs/DivisionsApi.md#v2_organisations_divisions_retrieve) | **GET** /api/v2/organisations/divisions/{id}/ |
|
|
108
|
+
*Pescheck::DivisionsApi* | [**v2_organisations_divisions_update**](docs/DivisionsApi.md#v2_organisations_divisions_update) | **PUT** /api/v2/organisations/divisions/{id}/ |
|
|
109
|
+
*Pescheck::OAuthApi* | [**create_o_auth_application2**](docs/OAuthApi.md#create_o_auth_application2) | **POST** /api/v2/oauth/applications/ |
|
|
110
|
+
*Pescheck::OAuthApi* | [**delete_o_auth_application2**](docs/OAuthApi.md#delete_o_auth_application2) | **DELETE** /api/v2/oauth/applications/{application_id}/ |
|
|
111
|
+
*Pescheck::OAuthApi* | [**list_o_auth_applications2**](docs/OAuthApi.md#list_o_auth_applications2) | **GET** /api/v2/oauth/applications/list/ |
|
|
112
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_create**](docs/ProfilesApi.md#v2_profiles_create) | **POST** /api/v2/profiles/ |
|
|
113
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_destroy**](docs/ProfilesApi.md#v2_profiles_destroy) | **DELETE** /api/v2/profiles/{id}/ |
|
|
114
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_list**](docs/ProfilesApi.md#v2_profiles_list) | **GET** /api/v2/profiles/ |
|
|
115
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_partial_update**](docs/ProfilesApi.md#v2_profiles_partial_update) | **PATCH** /api/v2/profiles/{id}/ |
|
|
116
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_retrieve**](docs/ProfilesApi.md#v2_profiles_retrieve) | **GET** /api/v2/profiles/{id}/ |
|
|
117
|
+
*Pescheck::ProfilesApi* | [**v2_profiles_update**](docs/ProfilesApi.md#v2_profiles_update) | **PUT** /api/v2/profiles/{id}/ |
|
|
118
|
+
*Pescheck::ScreeningsApi* | [**v2_screenings_create**](docs/ScreeningsApi.md#v2_screenings_create) | **POST** /api/v2/screenings/ |
|
|
119
|
+
*Pescheck::ScreeningsApi* | [**v2_screenings_documents_list**](docs/ScreeningsApi.md#v2_screenings_documents_list) | **GET** /api/v2/screenings/{id}/documents/ | Retrieve screening documents
|
|
120
|
+
*Pescheck::ScreeningsApi* | [**v2_screenings_list**](docs/ScreeningsApi.md#v2_screenings_list) | **GET** /api/v2/screenings/ |
|
|
121
|
+
*Pescheck::ScreeningsApi* | [**v2_screenings_retrieve**](docs/ScreeningsApi.md#v2_screenings_retrieve) | **GET** /api/v2/screenings/{id}/ |
|
|
122
|
+
*Pescheck::WebhooksApi* | [**create_webhook2**](docs/WebhooksApi.md#create_webhook2) | **POST** /api/v2/webhooks/ |
|
|
123
|
+
*Pescheck::WebhooksApi* | [**delete_webhook2**](docs/WebhooksApi.md#delete_webhook2) | **DELETE** /api/v2/webhooks/{webhook_id}/ |
|
|
124
|
+
*Pescheck::WebhooksApi* | [**list_webhooks2**](docs/WebhooksApi.md#list_webhooks2) | **GET** /api/v2/webhooks/list/ |
|
|
125
|
+
*Pescheck::WebhooksApi* | [**verify_webhook2**](docs/WebhooksApi.md#verify_webhook2) | **POST** /api/v2/webhooks/{webhook_id}/verify/ |
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
## Documentation for Models
|
|
129
|
+
|
|
130
|
+
- [Pescheck::CustomTokenObtainPair](docs/CustomTokenObtainPair.md)
|
|
131
|
+
- [Pescheck::DivisionReadOnly](docs/DivisionReadOnly.md)
|
|
132
|
+
- [Pescheck::DivisionWrite](docs/DivisionWrite.md)
|
|
133
|
+
- [Pescheck::JWTGeneration](docs/JWTGeneration.md)
|
|
134
|
+
- [Pescheck::JWTResponse](docs/JWTResponse.md)
|
|
135
|
+
- [Pescheck::OAuthApplication](docs/OAuthApplication.md)
|
|
136
|
+
- [Pescheck::OAuthApplicationResponse](docs/OAuthApplicationResponse.md)
|
|
137
|
+
- [Pescheck::PaginatedDivisionReadOnlyList](docs/PaginatedDivisionReadOnlyList.md)
|
|
138
|
+
- [Pescheck::PaginatedV2ProfileListItemList](docs/PaginatedV2ProfileListItemList.md)
|
|
139
|
+
- [Pescheck::PaginatedV2ScreeningListItemList](docs/PaginatedV2ScreeningListItemList.md)
|
|
140
|
+
- [Pescheck::PatchedDivisionWrite](docs/PatchedDivisionWrite.md)
|
|
141
|
+
- [Pescheck::PatchedV2ProfilePartialUpdate](docs/PatchedV2ProfilePartialUpdate.md)
|
|
142
|
+
- [Pescheck::TokenRefresh](docs/TokenRefresh.md)
|
|
143
|
+
- [Pescheck::V2Candidate](docs/V2Candidate.md)
|
|
144
|
+
- [Pescheck::V2CheckField](docs/V2CheckField.md)
|
|
145
|
+
- [Pescheck::V2CheckInfo](docs/V2CheckInfo.md)
|
|
146
|
+
- [Pescheck::V2Document](docs/V2Document.md)
|
|
147
|
+
- [Pescheck::V2DocumentContent](docs/V2DocumentContent.md)
|
|
148
|
+
- [Pescheck::V2Money](docs/V2Money.md)
|
|
149
|
+
- [Pescheck::V2ProfileCheck](docs/V2ProfileCheck.md)
|
|
150
|
+
- [Pescheck::V2ProfileCheckEntry](docs/V2ProfileCheckEntry.md)
|
|
151
|
+
- [Pescheck::V2ProfileCreate](docs/V2ProfileCreate.md)
|
|
152
|
+
- [Pescheck::V2ProfileDetail](docs/V2ProfileDetail.md)
|
|
153
|
+
- [Pescheck::V2ProfileListItem](docs/V2ProfileListItem.md)
|
|
154
|
+
- [Pescheck::V2ProfileUpdate](docs/V2ProfileUpdate.md)
|
|
155
|
+
- [Pescheck::V2ProfileUpdateCheck](docs/V2ProfileUpdateCheck.md)
|
|
156
|
+
- [Pescheck::V2ScreeningCheck](docs/V2ScreeningCheck.md)
|
|
157
|
+
- [Pescheck::V2ScreeningCheckEntry](docs/V2ScreeningCheckEntry.md)
|
|
158
|
+
- [Pescheck::V2ScreeningCheckListItem](docs/V2ScreeningCheckListItem.md)
|
|
159
|
+
- [Pescheck::V2ScreeningCreate](docs/V2ScreeningCreate.md)
|
|
160
|
+
- [Pescheck::V2ScreeningDetail](docs/V2ScreeningDetail.md)
|
|
161
|
+
- [Pescheck::V2ScreeningDetailProfile](docs/V2ScreeningDetailProfile.md)
|
|
162
|
+
- [Pescheck::V2ScreeningListItem](docs/V2ScreeningListItem.md)
|
|
163
|
+
- [Pescheck::VerifyWebhook](docs/VerifyWebhook.md)
|
|
164
|
+
- [Pescheck::Webhook](docs/Webhook.md)
|
|
165
|
+
- [Pescheck::WebhookResponse](docs/WebhookResponse.md)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
## Documentation for Authorization
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
Authentication schemes defined for the API:
|
|
172
|
+
### cookieAuth
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
- **Type**: API key
|
|
176
|
+
- **API key parameter name**: __Secure-sessionid
|
|
177
|
+
- **Location**:
|
|
178
|
+
|
|
179
|
+
### jwtAuth
|
|
180
|
+
|
|
181
|
+
- **Type**: Bearer authentication (JWT)
|
|
182
|
+
|
|
183
|
+
### oauth2
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
- **Type**: OAuth
|
|
187
|
+
- **Flow**: application
|
|
188
|
+
- **Authorization URL**:
|
|
189
|
+
- **Scopes**:
|
|
190
|
+
- read:api: read groups
|
|
191
|
+
- create:api: create groups
|
|
192
|
+
- update:api: update groups
|
|
193
|
+
|
data/Rakefile
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
# Pescheck::AuthenticationApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.pescheck.io*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
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
|
+
| [**jwt_refresh_create**](AuthenticationApi.md#jwt_refresh_create) | **POST** /api/jwt/refresh/ | |
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## generate_jwt_token2
|
|
13
|
+
|
|
14
|
+
> <JWTResponse> generate_jwt_token2(jwt_generation)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
Log in with email + password. Returns a JWT pair scoped to the organization or division specified by organisation_id/division_id (defaults to your current org). For a plain login, use POST /api/jwt/.
|
|
19
|
+
|
|
20
|
+
### Examples
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
require 'time'
|
|
24
|
+
require 'pescheck'
|
|
25
|
+
# setup authorization
|
|
26
|
+
Pescheck.configure do |config|
|
|
27
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
28
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
api_instance = Pescheck::AuthenticationApi.new
|
|
32
|
+
jwt_generation = Pescheck::JWTGeneration.new({email: 'email_example', password: 'password_example'}) # JWTGeneration |
|
|
33
|
+
|
|
34
|
+
begin
|
|
35
|
+
|
|
36
|
+
result = api_instance.generate_jwt_token2(jwt_generation)
|
|
37
|
+
p result
|
|
38
|
+
rescue Pescheck::ApiError => e
|
|
39
|
+
puts "Error when calling AuthenticationApi->generate_jwt_token2: #{e}"
|
|
40
|
+
end
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
#### Using the generate_jwt_token2_with_http_info variant
|
|
44
|
+
|
|
45
|
+
This returns an Array which contains the response data, status code and headers.
|
|
46
|
+
|
|
47
|
+
> <Array(<JWTResponse>, Integer, Hash)> generate_jwt_token2_with_http_info(jwt_generation)
|
|
48
|
+
|
|
49
|
+
```ruby
|
|
50
|
+
begin
|
|
51
|
+
|
|
52
|
+
data, status_code, headers = api_instance.generate_jwt_token2_with_http_info(jwt_generation)
|
|
53
|
+
p status_code # => 2xx
|
|
54
|
+
p headers # => { ... }
|
|
55
|
+
p data # => <JWTResponse>
|
|
56
|
+
rescue Pescheck::ApiError => e
|
|
57
|
+
puts "Error when calling AuthenticationApi->generate_jwt_token2_with_http_info: #{e}"
|
|
58
|
+
end
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Parameters
|
|
62
|
+
|
|
63
|
+
| Name | Type | Description | Notes |
|
|
64
|
+
| ---- | ---- | ----------- | ----- |
|
|
65
|
+
| **jwt_generation** | [**JWTGeneration**](JWTGeneration.md) | | |
|
|
66
|
+
|
|
67
|
+
### Return type
|
|
68
|
+
|
|
69
|
+
[**JWTResponse**](JWTResponse.md)
|
|
70
|
+
|
|
71
|
+
### Authorization
|
|
72
|
+
|
|
73
|
+
[oauth2](../README.md#oauth2)
|
|
74
|
+
|
|
75
|
+
### HTTP request headers
|
|
76
|
+
|
|
77
|
+
- **Content-Type**: application/json, multipart/form-data
|
|
78
|
+
- **Accept**: application/json
|
|
79
|
+
|
|
80
|
+
|
|
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'
|
|
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
|
+
## jwt_refresh_create
|
|
151
|
+
|
|
152
|
+
> <TokenRefresh> jwt_refresh_create(token_refresh)
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.
|
|
157
|
+
|
|
158
|
+
### Examples
|
|
159
|
+
|
|
160
|
+
```ruby
|
|
161
|
+
require 'time'
|
|
162
|
+
require 'pescheck'
|
|
163
|
+
# setup authorization
|
|
164
|
+
Pescheck.configure do |config|
|
|
165
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
166
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
api_instance = Pescheck::AuthenticationApi.new
|
|
170
|
+
token_refresh = Pescheck::TokenRefresh.new({refresh: 'refresh_example'}) # TokenRefresh |
|
|
171
|
+
|
|
172
|
+
begin
|
|
173
|
+
|
|
174
|
+
result = api_instance.jwt_refresh_create(token_refresh)
|
|
175
|
+
p result
|
|
176
|
+
rescue Pescheck::ApiError => e
|
|
177
|
+
puts "Error when calling AuthenticationApi->jwt_refresh_create: #{e}"
|
|
178
|
+
end
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
#### Using the jwt_refresh_create_with_http_info variant
|
|
182
|
+
|
|
183
|
+
This returns an Array which contains the response data, status code and headers.
|
|
184
|
+
|
|
185
|
+
> <Array(<TokenRefresh>, Integer, Hash)> jwt_refresh_create_with_http_info(token_refresh)
|
|
186
|
+
|
|
187
|
+
```ruby
|
|
188
|
+
begin
|
|
189
|
+
|
|
190
|
+
data, status_code, headers = api_instance.jwt_refresh_create_with_http_info(token_refresh)
|
|
191
|
+
p status_code # => 2xx
|
|
192
|
+
p headers # => { ... }
|
|
193
|
+
p data # => <TokenRefresh>
|
|
194
|
+
rescue Pescheck::ApiError => e
|
|
195
|
+
puts "Error when calling AuthenticationApi->jwt_refresh_create_with_http_info: #{e}"
|
|
196
|
+
end
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Parameters
|
|
200
|
+
|
|
201
|
+
| Name | Type | Description | Notes |
|
|
202
|
+
| ---- | ---- | ----------- | ----- |
|
|
203
|
+
| **token_refresh** | [**TokenRefresh**](TokenRefresh.md) | | |
|
|
204
|
+
|
|
205
|
+
### Return type
|
|
206
|
+
|
|
207
|
+
[**TokenRefresh**](TokenRefresh.md)
|
|
208
|
+
|
|
209
|
+
### Authorization
|
|
210
|
+
|
|
211
|
+
[oauth2](../README.md#oauth2)
|
|
212
|
+
|
|
213
|
+
### HTTP request headers
|
|
214
|
+
|
|
215
|
+
- **Content-Type**: application/json, multipart/form-data
|
|
216
|
+
- **Accept**: application/json
|
|
217
|
+
|
data/docs/ChecksApi.md
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# Pescheck::ChecksApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.pescheck.io*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**v2_checks_list**](ChecksApi.md#v2_checks_list) | **GET** /api/v2/checks/ | |
|
|
8
|
+
| [**v2_checks_retrieve**](ChecksApi.md#v2_checks_retrieve) | **GET** /api/v2/checks/{check_type}/ | |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## v2_checks_list
|
|
12
|
+
|
|
13
|
+
> <Array<V2CheckInfo>> v2_checks_list(opts)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
List the check types this API supports. The list is bounded metadata about the available check types (not a paginated collection), so the response is a flat array.
|
|
18
|
+
|
|
19
|
+
### Examples
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'time'
|
|
23
|
+
require 'pescheck'
|
|
24
|
+
# setup authorization
|
|
25
|
+
Pescheck.configure do |config|
|
|
26
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
27
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
api_instance = Pescheck::ChecksApi.new
|
|
31
|
+
opts = {
|
|
32
|
+
check_type: 'check_type_example' # String | Restrict the list to a single check type.
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
begin
|
|
36
|
+
|
|
37
|
+
result = api_instance.v2_checks_list(opts)
|
|
38
|
+
p result
|
|
39
|
+
rescue Pescheck::ApiError => e
|
|
40
|
+
puts "Error when calling ChecksApi->v2_checks_list: #{e}"
|
|
41
|
+
end
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
#### Using the v2_checks_list_with_http_info variant
|
|
45
|
+
|
|
46
|
+
This returns an Array which contains the response data, status code and headers.
|
|
47
|
+
|
|
48
|
+
> <Array(<Array<V2CheckInfo>>, Integer, Hash)> v2_checks_list_with_http_info(opts)
|
|
49
|
+
|
|
50
|
+
```ruby
|
|
51
|
+
begin
|
|
52
|
+
|
|
53
|
+
data, status_code, headers = api_instance.v2_checks_list_with_http_info(opts)
|
|
54
|
+
p status_code # => 2xx
|
|
55
|
+
p headers # => { ... }
|
|
56
|
+
p data # => <Array<V2CheckInfo>>
|
|
57
|
+
rescue Pescheck::ApiError => e
|
|
58
|
+
puts "Error when calling ChecksApi->v2_checks_list_with_http_info: #{e}"
|
|
59
|
+
end
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Parameters
|
|
63
|
+
|
|
64
|
+
| Name | Type | Description | Notes |
|
|
65
|
+
| ---- | ---- | ----------- | ----- |
|
|
66
|
+
| **check_type** | **String** | Restrict the list to a single check type. | [optional] |
|
|
67
|
+
|
|
68
|
+
### Return type
|
|
69
|
+
|
|
70
|
+
[**Array<V2CheckInfo>**](V2CheckInfo.md)
|
|
71
|
+
|
|
72
|
+
### Authorization
|
|
73
|
+
|
|
74
|
+
[oauth2](../README.md#oauth2)
|
|
75
|
+
|
|
76
|
+
### HTTP request headers
|
|
77
|
+
|
|
78
|
+
- **Content-Type**: Not defined
|
|
79
|
+
- **Accept**: application/json
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## v2_checks_retrieve
|
|
83
|
+
|
|
84
|
+
> <V2CheckInfo> v2_checks_retrieve(check_type)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Examples
|
|
89
|
+
|
|
90
|
+
```ruby
|
|
91
|
+
require 'time'
|
|
92
|
+
require 'pescheck'
|
|
93
|
+
# setup authorization
|
|
94
|
+
Pescheck.configure do |config|
|
|
95
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
96
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
api_instance = Pescheck::ChecksApi.new
|
|
100
|
+
check_type = 'check_type_example' # String |
|
|
101
|
+
|
|
102
|
+
begin
|
|
103
|
+
|
|
104
|
+
result = api_instance.v2_checks_retrieve(check_type)
|
|
105
|
+
p result
|
|
106
|
+
rescue Pescheck::ApiError => e
|
|
107
|
+
puts "Error when calling ChecksApi->v2_checks_retrieve: #{e}"
|
|
108
|
+
end
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
#### Using the v2_checks_retrieve_with_http_info variant
|
|
112
|
+
|
|
113
|
+
This returns an Array which contains the response data, status code and headers.
|
|
114
|
+
|
|
115
|
+
> <Array(<V2CheckInfo>, Integer, Hash)> v2_checks_retrieve_with_http_info(check_type)
|
|
116
|
+
|
|
117
|
+
```ruby
|
|
118
|
+
begin
|
|
119
|
+
|
|
120
|
+
data, status_code, headers = api_instance.v2_checks_retrieve_with_http_info(check_type)
|
|
121
|
+
p status_code # => 2xx
|
|
122
|
+
p headers # => { ... }
|
|
123
|
+
p data # => <V2CheckInfo>
|
|
124
|
+
rescue Pescheck::ApiError => e
|
|
125
|
+
puts "Error when calling ChecksApi->v2_checks_retrieve_with_http_info: #{e}"
|
|
126
|
+
end
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Parameters
|
|
130
|
+
|
|
131
|
+
| Name | Type | Description | Notes |
|
|
132
|
+
| ---- | ---- | ----------- | ----- |
|
|
133
|
+
| **check_type** | **String** | | |
|
|
134
|
+
|
|
135
|
+
### Return type
|
|
136
|
+
|
|
137
|
+
[**V2CheckInfo**](V2CheckInfo.md)
|
|
138
|
+
|
|
139
|
+
### Authorization
|
|
140
|
+
|
|
141
|
+
[oauth2](../README.md#oauth2)
|
|
142
|
+
|
|
143
|
+
### HTTP request headers
|
|
144
|
+
|
|
145
|
+
- **Content-Type**: Not defined
|
|
146
|
+
- **Accept**: application/json
|
|
147
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Pescheck::CustomTokenObtainPair
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **email** | **String** | | |
|
|
8
|
+
| **password** | **String** | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'pescheck'
|
|
14
|
+
|
|
15
|
+
instance = Pescheck::CustomTokenObtainPair.new(
|
|
16
|
+
email: null,
|
|
17
|
+
password: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Pescheck::DivisionReadOnly
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [readonly] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **parent** | **String** | | [readonly] |
|
|
10
|
+
| **created_at** | **Time** | | [readonly] |
|
|
11
|
+
| **updated_at** | **Time** | | [readonly] |
|
|
12
|
+
| **city** | **String** | | [optional] |
|
|
13
|
+
| **address** | **String** | | [optional] |
|
|
14
|
+
| **postal** | **String** | | [optional] |
|
|
15
|
+
| **phone** | **String** | | [optional] |
|
|
16
|
+
| **contact_name** | **String** | | [optional] |
|
|
17
|
+
| **contact_email** | **String** | | [optional] |
|
|
18
|
+
| **invoice_email** | **String** | | [optional] |
|
|
19
|
+
| **use_parent_on_email** | **Boolean** | | [optional] |
|
|
20
|
+
| **use_parent_on_billing** | **Boolean** | | [optional] |
|
|
21
|
+
| **use_parent_on_report** | **Boolean** | | [optional] |
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```ruby
|
|
26
|
+
require 'pescheck'
|
|
27
|
+
|
|
28
|
+
instance = Pescheck::DivisionReadOnly.new(
|
|
29
|
+
id: null,
|
|
30
|
+
name: null,
|
|
31
|
+
parent: null,
|
|
32
|
+
created_at: null,
|
|
33
|
+
updated_at: null,
|
|
34
|
+
city: null,
|
|
35
|
+
address: null,
|
|
36
|
+
postal: null,
|
|
37
|
+
phone: null,
|
|
38
|
+
contact_name: null,
|
|
39
|
+
contact_email: null,
|
|
40
|
+
invoice_email: null,
|
|
41
|
+
use_parent_on_email: null,
|
|
42
|
+
use_parent_on_billing: null,
|
|
43
|
+
use_parent_on_report: null
|
|
44
|
+
)
|
|
45
|
+
```
|
|
46
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Pescheck::DivisionWrite
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
|
8
|
+
| **name** | **String** | | |
|
|
9
|
+
| **city** | **String** | | |
|
|
10
|
+
| **address** | **String** | | |
|
|
11
|
+
| **postal** | **String** | | |
|
|
12
|
+
| **phone** | **String** | | |
|
|
13
|
+
| **contact_name** | **String** | | |
|
|
14
|
+
| **contact_email** | **String** | | |
|
|
15
|
+
| **invoice_email** | **String** | | |
|
|
16
|
+
| **use_parent_on_email** | **Boolean** | | [optional] |
|
|
17
|
+
| **use_parent_on_billing** | **Boolean** | | [optional] |
|
|
18
|
+
| **use_parent_on_report** | **Boolean** | | [optional] |
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
require 'pescheck'
|
|
24
|
+
|
|
25
|
+
instance = Pescheck::DivisionWrite.new(
|
|
26
|
+
id: null,
|
|
27
|
+
name: null,
|
|
28
|
+
city: null,
|
|
29
|
+
address: null,
|
|
30
|
+
postal: null,
|
|
31
|
+
phone: null,
|
|
32
|
+
contact_name: null,
|
|
33
|
+
contact_email: null,
|
|
34
|
+
invoice_email: null,
|
|
35
|
+
use_parent_on_email: null,
|
|
36
|
+
use_parent_on_billing: null,
|
|
37
|
+
use_parent_on_report: null
|
|
38
|
+
)
|
|
39
|
+
```
|
|
40
|
+
|