fountain_partner_api_client 0.0.1 → 0.0.3
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 +10 -23
- data/docs/DefaultApi.md +1 -229
- data/docs/V1PartnersIdGet200Response1DataAttributes.md +2 -2
- data/docs/V1PartnersIdGet200ResponseDataAttributes.md +2 -2
- data/docs/V1PartnersIdGetRequest.md +2 -0
- data/docs/V1PartnersIdGetRequestPartner.md +1 -1
- data/docs/V1PartnersIdPut200Response.md +18 -0
- data/docs/V1PartnersIdPut200ResponseData.md +22 -0
- data/docs/V1PartnersIdPut200ResponseDataAttributes.md +38 -0
- data/docs/V1PartnersIdPutRequest.md +20 -0
- data/docs/V1PartnersIdPutRequestPartner.md +36 -0
- data/fountain_partner_api_client-0.0.2.gem +0 -0
- data/fountain_partner_api_client.gemspec +1 -1
- data/lib/fountain_partner_api_client/api/default_api.rb +0 -222
- data/lib/fountain_partner_api_client/configuration.rb +3 -3
- data/lib/fountain_partner_api_client/models/v1_partners_id_get200_response1_data_attributes.rb +8 -4
- data/lib/fountain_partner_api_client/models/v1_partners_id_get200_response_data_attributes.rb +8 -4
- data/lib/fountain_partner_api_client/models/v1_partners_id_get_request.rb +10 -1
- data/lib/fountain_partner_api_client/models/v1_partners_id_get_request_partner.rb +4 -2
- data/lib/{openapi_client/models/v1_partners_id_get200_response1.rb → fountain_partner_api_client/models/v1_partners_id_put200_response.rb} +6 -6
- data/lib/{openapi_client/models/v1_partners_id_get200_response_data.rb → fountain_partner_api_client/models/v1_partners_id_put200_response_data.rb} +6 -6
- data/lib/{openapi_client/models/v1_partners_id_get200_response1_data_attributes.rb → fountain_partner_api_client/models/v1_partners_id_put200_response_data_attributes.rb} +6 -24
- data/lib/{openapi_client/models/v1_partners_id_get_request.rb → fountain_partner_api_client/models/v1_partners_id_put_request.rb} +16 -7
- data/lib/{openapi_client/models/v1_partners_id_get_request_partner.rb → fountain_partner_api_client/models/v1_partners_id_put_request_partner.rb} +6 -15
- data/lib/fountain_partner_api_client/version.rb +1 -1
- data/lib/fountain_partner_api_client.rb +0 -10
- data/spec/api/default_api_spec.rb +5 -57
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/v1_partners_id_get200_response1_data_attributes_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response1_data_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response1_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response_data_attributes_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response_data_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response_spec.rb +4 -4
- data/spec/models/v1_partners_id_get_request_partner_spec.rb +4 -4
- data/spec/models/v1_partners_id_get_request_spec.rb +10 -4
- data/spec/models/v1_partners_id_put200_response_data_attributes_spec.rb +94 -0
- data/spec/models/v1_partners_id_put200_response_data_spec.rb +46 -0
- data/spec/models/{v1_partners_id_applicants_applicant_id_put_request_spec.rb → v1_partners_id_put200_response_spec.rb} +7 -7
- data/spec/models/v1_partners_id_put_request_partner_spec.rb +88 -0
- data/spec/models/{v1_partners_id_applicants_applicant_id_put200_response_spec.rb → v1_partners_id_put_request_spec.rb} +8 -8
- metadata +24 -68
- data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequest.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails.md +0 -26
- data/docs/V1PartnersIdApplicantsApplicantIdPut200Response.md +0 -20
- data/docs/V1PartnersIdApplicantsApplicantIdPutRequest.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicant.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequest.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus.md +0 -26
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details.rb +0 -255
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put200_response.rb +0 -230
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant.rb +0 -221
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status.rb +0 -255
- data/lib/openapi_client/api/default_api.rb +0 -379
- data/lib/openapi_client/api_client.rb +0 -392
- data/lib/openapi_client/api_error.rb +0 -57
- data/lib/openapi_client/configuration.rb +0 -279
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details.rb +0 -255
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put200_response.rb +0 -230
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant.rb +0 -221
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status.rb +0 -255
- data/lib/openapi_client/models/v1_partners_id_get200_response.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_get200_response1_data.rb +0 -237
- data/lib/openapi_client/models/v1_partners_id_get200_response_data_attributes.rb +0 -309
- data/lib/openapi_client/version.rb +0 -15
- data/lib/openapi_client.rb +0 -58
- data/openapi_client.gemspec +0 -38
- data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details_spec.rb +0 -58
- data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status_spec.rb +0 -58
- data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_spec.rb +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce3eda27bd87a24bbfae1e270e1881cca0fd87dc83b4ee2a60f8e665852c6730
|
4
|
+
data.tar.gz: 1283f1185adc11d5dd7dd3243b792b81d74e5653d5b0deb2a1182f3fbde05546
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f255cfbbe14d49631d037324003e3b2a4539f4a3bb086d9521a2a0c37d3468437991c2db1440d6590b7dd810bb97283372102f7d945350e51ca318ece8b4b89
|
7
|
+
data.tar.gz: 1426aaba8399fcc6d6bdeff68f001c620bb6710413b301f4ea53fbb40cca01bddbd81661b4bd25d435260edcef07805caae88682730a83cb42912ad407bf6787
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 0.0.
|
10
|
+
- Package version: 0.0.3
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build fountain_partner_api_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./fountain_partner_api_client-0.0.
|
26
|
+
gem install ./fountain_partner_api_client-0.0.3.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./fountain_partner_api_client-0.0.
|
29
|
+
(for development, run `gem install --dev ./fountain_partner_api_client-0.0.3.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'fountain_partner_api_client', '~> 0.0.
|
35
|
+
gem 'fountain_partner_api_client', '~> 0.0.3'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -65,47 +65,34 @@ FountainPartnerApiClient.configure do |config|
|
|
65
65
|
end
|
66
66
|
|
67
67
|
api_instance = FountainPartnerApiClient::DefaultApi.new
|
68
|
-
applicant_id = 'applicant_id_example' # String |
|
69
68
|
id = 'id_example' # String |
|
70
69
|
opts = {
|
71
|
-
|
70
|
+
format: { ... }, # Object |
|
71
|
+
partner: { ... } # Object |
|
72
72
|
}
|
73
73
|
|
74
74
|
begin
|
75
|
-
#
|
76
|
-
result = api_instance.
|
75
|
+
#Show Partner
|
76
|
+
result = api_instance.v1_partners_id_get(id, opts)
|
77
77
|
p result
|
78
78
|
rescue FountainPartnerApiClient::ApiError => e
|
79
|
-
puts "Exception when calling DefaultApi->
|
79
|
+
puts "Exception when calling DefaultApi->v1_partners_id_get: #{e}"
|
80
80
|
end
|
81
81
|
|
82
82
|
```
|
83
83
|
|
84
84
|
## Documentation for API Endpoints
|
85
85
|
|
86
|
-
All URIs are relative to *
|
86
|
+
All URIs are relative to *http://localhost:3009*
|
87
87
|
|
88
88
|
Class | Method | HTTP request | Description
|
89
89
|
------------ | ------------- | ------------- | -------------
|
90
|
-
*FountainPartnerApiClient::DefaultApi* | [**v1_partners_id_applicants_applicant_id_details_post**](docs/DefaultApi.md#v1_partners_id_applicants_applicant_id_details_post) | **POST** /v1/partners/{id}/applicants/{applicant_id}/details | Create Applicant Details
|
91
|
-
*FountainPartnerApiClient::DefaultApi* | [**v1_partners_id_applicants_applicant_id_put**](docs/DefaultApi.md#v1_partners_id_applicants_applicant_id_put) | **PUT** /v1/partners/{id}/applicants/{applicant_id} | Update Applicant
|
92
|
-
*FountainPartnerApiClient::DefaultApi* | [**v1_partners_id_applicants_applicant_id_status_post**](docs/DefaultApi.md#v1_partners_id_applicants_applicant_id_status_post) | **POST** /v1/partners/{id}/applicants/{applicant_id}/status | Create Applicant Status
|
93
90
|
*FountainPartnerApiClient::DefaultApi* | [**v1_partners_id_get**](docs/DefaultApi.md#v1_partners_id_get) | **GET** /v1/partners/{id} | Show Partner
|
94
91
|
*FountainPartnerApiClient::DefaultApi* | [**v1_partners_id_put**](docs/DefaultApi.md#v1_partners_id_put) | **PUT** /v1/partners/{id} | Update Partner
|
95
92
|
|
96
93
|
|
97
94
|
## Documentation for Models
|
98
95
|
|
99
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequest](docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequest.md)
|
100
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant](docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant.md)
|
101
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails](docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails.md)
|
102
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPut200Response](docs/V1PartnersIdApplicantsApplicantIdPut200Response.md)
|
103
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequest](docs/V1PartnersIdApplicantsApplicantIdPutRequest.md)
|
104
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequestApplicant](docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicant.md)
|
105
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner](docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.md)
|
106
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequest](docs/V1PartnersIdApplicantsApplicantIdStatusPostRequest.md)
|
107
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant](docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant.md)
|
108
|
-
- [FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus](docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus.md)
|
109
96
|
- [FountainPartnerApiClient::V1PartnersIdGet200Response](docs/V1PartnersIdGet200Response.md)
|
110
97
|
- [FountainPartnerApiClient::V1PartnersIdGet200Response1](docs/V1PartnersIdGet200Response1.md)
|
111
98
|
- [FountainPartnerApiClient::V1PartnersIdGet200Response1Data](docs/V1PartnersIdGet200Response1Data.md)
|
data/docs/DefaultApi.md
CHANGED
@@ -1,241 +1,13 @@
|
|
1
1
|
# FountainPartnerApiClient::DefaultApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://localhost:3009*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**v1_partners_id_applicants_applicant_id_details_post**](DefaultApi.md#v1_partners_id_applicants_applicant_id_details_post) | **POST** /v1/partners/{id}/applicants/{applicant_id}/details | Create Applicant Details |
|
8
|
-
| [**v1_partners_id_applicants_applicant_id_put**](DefaultApi.md#v1_partners_id_applicants_applicant_id_put) | **PUT** /v1/partners/{id}/applicants/{applicant_id} | Update Applicant |
|
9
|
-
| [**v1_partners_id_applicants_applicant_id_status_post**](DefaultApi.md#v1_partners_id_applicants_applicant_id_status_post) | **POST** /v1/partners/{id}/applicants/{applicant_id}/status | Create Applicant Status |
|
10
7
|
| [**v1_partners_id_get**](DefaultApi.md#v1_partners_id_get) | **GET** /v1/partners/{id} | Show Partner |
|
11
8
|
| [**v1_partners_id_put**](DefaultApi.md#v1_partners_id_put) | **PUT** /v1/partners/{id} | Update Partner |
|
12
9
|
|
13
10
|
|
14
|
-
## v1_partners_id_applicants_applicant_id_details_post
|
15
|
-
|
16
|
-
> Object v1_partners_id_applicants_applicant_id_details_post(applicant_id, id, opts)
|
17
|
-
|
18
|
-
Create Applicant Details
|
19
|
-
|
20
|
-
### Examples
|
21
|
-
|
22
|
-
```ruby
|
23
|
-
require 'time'
|
24
|
-
require 'fountain_partner_api_client'
|
25
|
-
# setup authorization
|
26
|
-
FountainPartnerApiClient.configure do |config|
|
27
|
-
# Configure API key authorization: ApiKeyAuth
|
28
|
-
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
29
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
30
|
-
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
31
|
-
end
|
32
|
-
|
33
|
-
api_instance = FountainPartnerApiClient::DefaultApi.new
|
34
|
-
applicant_id = 'applicant_id_example' # String |
|
35
|
-
id = 'id_example' # String |
|
36
|
-
opts = {
|
37
|
-
v1_partners_id_applicants_applicant_id_details_post_request: FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequest.new # V1PartnersIdApplicantsApplicantIdDetailsPostRequest |
|
38
|
-
}
|
39
|
-
|
40
|
-
begin
|
41
|
-
# Create Applicant Details
|
42
|
-
result = api_instance.v1_partners_id_applicants_applicant_id_details_post(applicant_id, id, opts)
|
43
|
-
p result
|
44
|
-
rescue FountainPartnerApiClient::ApiError => e
|
45
|
-
puts "Error when calling DefaultApi->v1_partners_id_applicants_applicant_id_details_post: #{e}"
|
46
|
-
end
|
47
|
-
```
|
48
|
-
|
49
|
-
#### Using the v1_partners_id_applicants_applicant_id_details_post_with_http_info variant
|
50
|
-
|
51
|
-
This returns an Array which contains the response data, status code and headers.
|
52
|
-
|
53
|
-
> <Array(Object, Integer, Hash)> v1_partners_id_applicants_applicant_id_details_post_with_http_info(applicant_id, id, opts)
|
54
|
-
|
55
|
-
```ruby
|
56
|
-
begin
|
57
|
-
# Create Applicant Details
|
58
|
-
data, status_code, headers = api_instance.v1_partners_id_applicants_applicant_id_details_post_with_http_info(applicant_id, id, opts)
|
59
|
-
p status_code # => 2xx
|
60
|
-
p headers # => { ... }
|
61
|
-
p data # => Object
|
62
|
-
rescue FountainPartnerApiClient::ApiError => e
|
63
|
-
puts "Error when calling DefaultApi->v1_partners_id_applicants_applicant_id_details_post_with_http_info: #{e}"
|
64
|
-
end
|
65
|
-
```
|
66
|
-
|
67
|
-
### Parameters
|
68
|
-
|
69
|
-
| Name | Type | Description | Notes |
|
70
|
-
| ---- | ---- | ----------- | ----- |
|
71
|
-
| **applicant_id** | **String** | | |
|
72
|
-
| **id** | **String** | | |
|
73
|
-
| **v1_partners_id_applicants_applicant_id_details_post_request** | [**V1PartnersIdApplicantsApplicantIdDetailsPostRequest**](V1PartnersIdApplicantsApplicantIdDetailsPostRequest.md) | | [optional] |
|
74
|
-
|
75
|
-
### Return type
|
76
|
-
|
77
|
-
**Object**
|
78
|
-
|
79
|
-
### Authorization
|
80
|
-
|
81
|
-
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
82
|
-
|
83
|
-
### HTTP request headers
|
84
|
-
|
85
|
-
- **Content-Type**: application/json
|
86
|
-
- **Accept**: application/json
|
87
|
-
|
88
|
-
|
89
|
-
## v1_partners_id_applicants_applicant_id_put
|
90
|
-
|
91
|
-
> <V1PartnersIdApplicantsApplicantIdPut200Response> v1_partners_id_applicants_applicant_id_put(applicant_id, id, opts)
|
92
|
-
|
93
|
-
Update Applicant
|
94
|
-
|
95
|
-
### Examples
|
96
|
-
|
97
|
-
```ruby
|
98
|
-
require 'time'
|
99
|
-
require 'fountain_partner_api_client'
|
100
|
-
# setup authorization
|
101
|
-
FountainPartnerApiClient.configure do |config|
|
102
|
-
# Configure API key authorization: ApiKeyAuth
|
103
|
-
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
104
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
105
|
-
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
106
|
-
end
|
107
|
-
|
108
|
-
api_instance = FountainPartnerApiClient::DefaultApi.new
|
109
|
-
applicant_id = 'applicant_id_example' # String |
|
110
|
-
id = 'id_example' # String |
|
111
|
-
opts = {
|
112
|
-
v1_partners_id_applicants_applicant_id_put_request: FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequest.new # V1PartnersIdApplicantsApplicantIdPutRequest |
|
113
|
-
}
|
114
|
-
|
115
|
-
begin
|
116
|
-
# Update Applicant
|
117
|
-
result = api_instance.v1_partners_id_applicants_applicant_id_put(applicant_id, id, opts)
|
118
|
-
p result
|
119
|
-
rescue FountainPartnerApiClient::ApiError => e
|
120
|
-
puts "Error when calling DefaultApi->v1_partners_id_applicants_applicant_id_put: #{e}"
|
121
|
-
end
|
122
|
-
```
|
123
|
-
|
124
|
-
#### Using the v1_partners_id_applicants_applicant_id_put_with_http_info variant
|
125
|
-
|
126
|
-
This returns an Array which contains the response data, status code and headers.
|
127
|
-
|
128
|
-
> <Array(<V1PartnersIdApplicantsApplicantIdPut200Response>, Integer, Hash)> v1_partners_id_applicants_applicant_id_put_with_http_info(applicant_id, id, opts)
|
129
|
-
|
130
|
-
```ruby
|
131
|
-
begin
|
132
|
-
# Update Applicant
|
133
|
-
data, status_code, headers = api_instance.v1_partners_id_applicants_applicant_id_put_with_http_info(applicant_id, id, opts)
|
134
|
-
p status_code # => 2xx
|
135
|
-
p headers # => { ... }
|
136
|
-
p data # => <V1PartnersIdApplicantsApplicantIdPut200Response>
|
137
|
-
rescue FountainPartnerApiClient::ApiError => e
|
138
|
-
puts "Error when calling DefaultApi->v1_partners_id_applicants_applicant_id_put_with_http_info: #{e}"
|
139
|
-
end
|
140
|
-
```
|
141
|
-
|
142
|
-
### Parameters
|
143
|
-
|
144
|
-
| Name | Type | Description | Notes |
|
145
|
-
| ---- | ---- | ----------- | ----- |
|
146
|
-
| **applicant_id** | **String** | | |
|
147
|
-
| **id** | **String** | | |
|
148
|
-
| **v1_partners_id_applicants_applicant_id_put_request** | [**V1PartnersIdApplicantsApplicantIdPutRequest**](V1PartnersIdApplicantsApplicantIdPutRequest.md) | | [optional] |
|
149
|
-
|
150
|
-
### Return type
|
151
|
-
|
152
|
-
[**V1PartnersIdApplicantsApplicantIdPut200Response**](V1PartnersIdApplicantsApplicantIdPut200Response.md)
|
153
|
-
|
154
|
-
### Authorization
|
155
|
-
|
156
|
-
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
157
|
-
|
158
|
-
### HTTP request headers
|
159
|
-
|
160
|
-
- **Content-Type**: application/json
|
161
|
-
- **Accept**: application/json
|
162
|
-
|
163
|
-
|
164
|
-
## v1_partners_id_applicants_applicant_id_status_post
|
165
|
-
|
166
|
-
> Object v1_partners_id_applicants_applicant_id_status_post(applicant_id, id, opts)
|
167
|
-
|
168
|
-
Create Applicant Status
|
169
|
-
|
170
|
-
### Examples
|
171
|
-
|
172
|
-
```ruby
|
173
|
-
require 'time'
|
174
|
-
require 'fountain_partner_api_client'
|
175
|
-
# setup authorization
|
176
|
-
FountainPartnerApiClient.configure do |config|
|
177
|
-
# Configure API key authorization: ApiKeyAuth
|
178
|
-
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
179
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
180
|
-
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
181
|
-
end
|
182
|
-
|
183
|
-
api_instance = FountainPartnerApiClient::DefaultApi.new
|
184
|
-
applicant_id = 'applicant_id_example' # String |
|
185
|
-
id = 'id_example' # String |
|
186
|
-
opts = {
|
187
|
-
v1_partners_id_applicants_applicant_id_status_post_request: FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequest.new # V1PartnersIdApplicantsApplicantIdStatusPostRequest |
|
188
|
-
}
|
189
|
-
|
190
|
-
begin
|
191
|
-
# Create Applicant Status
|
192
|
-
result = api_instance.v1_partners_id_applicants_applicant_id_status_post(applicant_id, id, opts)
|
193
|
-
p result
|
194
|
-
rescue FountainPartnerApiClient::ApiError => e
|
195
|
-
puts "Error when calling DefaultApi->v1_partners_id_applicants_applicant_id_status_post: #{e}"
|
196
|
-
end
|
197
|
-
```
|
198
|
-
|
199
|
-
#### Using the v1_partners_id_applicants_applicant_id_status_post_with_http_info variant
|
200
|
-
|
201
|
-
This returns an Array which contains the response data, status code and headers.
|
202
|
-
|
203
|
-
> <Array(Object, Integer, Hash)> v1_partners_id_applicants_applicant_id_status_post_with_http_info(applicant_id, id, opts)
|
204
|
-
|
205
|
-
```ruby
|
206
|
-
begin
|
207
|
-
# Create Applicant Status
|
208
|
-
data, status_code, headers = api_instance.v1_partners_id_applicants_applicant_id_status_post_with_http_info(applicant_id, id, opts)
|
209
|
-
p status_code # => 2xx
|
210
|
-
p headers # => { ... }
|
211
|
-
p data # => Object
|
212
|
-
rescue FountainPartnerApiClient::ApiError => e
|
213
|
-
puts "Error when calling DefaultApi->v1_partners_id_applicants_applicant_id_status_post_with_http_info: #{e}"
|
214
|
-
end
|
215
|
-
```
|
216
|
-
|
217
|
-
### Parameters
|
218
|
-
|
219
|
-
| Name | Type | Description | Notes |
|
220
|
-
| ---- | ---- | ----------- | ----- |
|
221
|
-
| **applicant_id** | **String** | | |
|
222
|
-
| **id** | **String** | | |
|
223
|
-
| **v1_partners_id_applicants_applicant_id_status_post_request** | [**V1PartnersIdApplicantsApplicantIdStatusPostRequest**](V1PartnersIdApplicantsApplicantIdStatusPostRequest.md) | | [optional] |
|
224
|
-
|
225
|
-
### Return type
|
226
|
-
|
227
|
-
**Object**
|
228
|
-
|
229
|
-
### Authorization
|
230
|
-
|
231
|
-
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
232
|
-
|
233
|
-
### HTTP request headers
|
234
|
-
|
235
|
-
- **Content-Type**: application/json
|
236
|
-
- **Accept**: application/json
|
237
|
-
|
238
|
-
|
239
11
|
## v1_partners_id_get
|
240
12
|
|
241
13
|
> <V1PartnersIdGet200Response> v1_partners_id_get(id, opts)
|
@@ -8,9 +8,9 @@
|
|
8
8
|
| **applicant_redirect_url** | **String** | | [optional] |
|
9
9
|
| **applicant_webhook** | **String** | | [optional] |
|
10
10
|
| **install_webhook** | **String** | | [optional] |
|
11
|
-
| **label_keys** | **Array
|
11
|
+
| **label_keys** | **Array<String>** | | [optional] |
|
12
12
|
| **name** | **String** | | [optional] |
|
13
|
-
| **requested_attributes** | **Array
|
13
|
+
| **requested_attributes** | **Array<Object>** | | [optional] |
|
14
14
|
| **settings_auth_header** | **String** | | [optional] |
|
15
15
|
| **settings_auth_method** | **String** | | [optional] |
|
16
16
|
| **settings_password** | **String** | | [optional] |
|
@@ -8,9 +8,9 @@
|
|
8
8
|
| **applicant_redirect_url** | **String** | | [optional] |
|
9
9
|
| **applicant_webhook** | **String** | | [optional] |
|
10
10
|
| **install_webhook** | **String** | | [optional] |
|
11
|
-
| **label_keys** | **Array
|
11
|
+
| **label_keys** | **Array<Object>** | | [optional] |
|
12
12
|
| **name** | **String** | | [optional] |
|
13
|
-
| **requested_attributes** | **Array
|
13
|
+
| **requested_attributes** | **Array<Object>** | | [optional] |
|
14
14
|
| **settings_auth_header** | **String** | | [optional] |
|
15
15
|
| **settings_auth_method** | **String** | | [optional] |
|
16
16
|
| **settings_webhook** | **String** | | [optional] |
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **format** | **Object** | | [optional] |
|
7
8
|
| **partner** | [**V1PartnersIdGetRequestPartner**](V1PartnersIdGetRequestPartner.md) | | [optional] |
|
8
9
|
|
9
10
|
## Example
|
@@ -12,6 +13,7 @@
|
|
12
13
|
require 'fountain_partner_api_client'
|
13
14
|
|
14
15
|
instance = FountainPartnerApiClient::V1PartnersIdGetRequest.new(
|
16
|
+
format: null,
|
15
17
|
partner: null
|
16
18
|
)
|
17
19
|
```
|
@@ -7,7 +7,7 @@
|
|
7
7
|
| **applicant_redirect_url** | **String** | | [optional] |
|
8
8
|
| **applicant_webhook** | **String** | | [optional] |
|
9
9
|
| **install_webhook** | **String** | | [optional] |
|
10
|
-
| **label_keys** | **Array
|
10
|
+
| **label_keys** | **Array<String>** | | [optional] |
|
11
11
|
| **partner_hmac_key** | **String** | | [optional] |
|
12
12
|
| **settings_auth_header** | **String** | | [optional] |
|
13
13
|
| **settings_auth_method** | **String** | | [optional] |
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FountainPartnerApiClient::V1PartnersIdPut200Response
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **data** | [**V1PartnersIdPut200ResponseData**](V1PartnersIdPut200ResponseData.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fountain_partner_api_client'
|
13
|
+
|
14
|
+
instance = FountainPartnerApiClient::V1PartnersIdPut200Response.new(
|
15
|
+
data: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FountainPartnerApiClient::V1PartnersIdPut200ResponseData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **attributes** | [**V1PartnersIdPut200ResponseDataAttributes**](V1PartnersIdPut200ResponseDataAttributes.md) | | [optional] |
|
8
|
+
| **id** | **String** | | [optional] |
|
9
|
+
| **type** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fountain_partner_api_client'
|
15
|
+
|
16
|
+
instance = FountainPartnerApiClient::V1PartnersIdPut200ResponseData.new(
|
17
|
+
attributes: null,
|
18
|
+
id: null,
|
19
|
+
type: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# FountainPartnerApiClient::V1PartnersIdPut200ResponseDataAttributes
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **api_key** | **String** | | [optional] |
|
8
|
+
| **applicant_redirect_url** | **String** | | [optional] |
|
9
|
+
| **applicant_webhook** | **String** | | [optional] |
|
10
|
+
| **install_webhook** | **String** | | [optional] |
|
11
|
+
| **name** | **String** | | [optional] |
|
12
|
+
| **settings_auth_header** | **String** | | [optional] |
|
13
|
+
| **settings_auth_method** | **String** | | [optional] |
|
14
|
+
| **settings_password** | **String** | | [optional] |
|
15
|
+
| **settings_username** | **String** | | [optional] |
|
16
|
+
| **settings_webhook** | **String** | | [optional] |
|
17
|
+
| **uninstall_webhook** | **String** | | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'fountain_partner_api_client'
|
23
|
+
|
24
|
+
instance = FountainPartnerApiClient::V1PartnersIdPut200ResponseDataAttributes.new(
|
25
|
+
api_key: null,
|
26
|
+
applicant_redirect_url: null,
|
27
|
+
applicant_webhook: null,
|
28
|
+
install_webhook: null,
|
29
|
+
name: null,
|
30
|
+
settings_auth_header: null,
|
31
|
+
settings_auth_method: null,
|
32
|
+
settings_password: null,
|
33
|
+
settings_username: null,
|
34
|
+
settings_webhook: null,
|
35
|
+
uninstall_webhook: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FountainPartnerApiClient::V1PartnersIdPutRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **format** | **Object** | | [optional] |
|
8
|
+
| **partner** | [**V1PartnersIdPutRequestPartner**](V1PartnersIdPutRequestPartner.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fountain_partner_api_client'
|
14
|
+
|
15
|
+
instance = FountainPartnerApiClient::V1PartnersIdPutRequest.new(
|
16
|
+
format: null,
|
17
|
+
partner: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# FountainPartnerApiClient::V1PartnersIdPutRequestPartner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **applicant_redirect_url** | **String** | | [optional] |
|
8
|
+
| **applicant_webhook** | **String** | | [optional] |
|
9
|
+
| **install_webhook** | **String** | | [optional] |
|
10
|
+
| **partner_hmac_key** | **String** | | [optional] |
|
11
|
+
| **settings_auth_header** | **String** | | [optional] |
|
12
|
+
| **settings_auth_method** | **String** | | [optional] |
|
13
|
+
| **settings_password** | **String** | | [optional] |
|
14
|
+
| **settings_username** | **String** | | [optional] |
|
15
|
+
| **settings_webhook** | **String** | | [optional] |
|
16
|
+
| **uninstall_webhook** | **String** | | [optional] |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'fountain_partner_api_client'
|
22
|
+
|
23
|
+
instance = FountainPartnerApiClient::V1PartnersIdPutRequestPartner.new(
|
24
|
+
applicant_redirect_url: null,
|
25
|
+
applicant_webhook: null,
|
26
|
+
install_webhook: null,
|
27
|
+
partner_hmac_key: null,
|
28
|
+
settings_auth_header: null,
|
29
|
+
settings_auth_method: null,
|
30
|
+
settings_password: null,
|
31
|
+
settings_username: null,
|
32
|
+
settings_webhook: null,
|
33
|
+
uninstall_webhook: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
Binary file
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.name = "fountain_partner_api_client"
|
20
20
|
s.version = FountainPartnerApiClient::VERSION
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
|
-
s.authors = ["
|
22
|
+
s.authors = ["Fountain Engineering"]
|
23
23
|
s.email = ["info@fountain.com"]
|
24
24
|
s.homepage = "https://partners.fountain.com/"
|
25
25
|
s.summary = "Fountain Partner Docs Ruby Gem"
|