happyco_json 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +9 -10
- data/docs/InspectionServiceApi.md +9 -9
- data/docs/V1Report.md +2 -2
- data/docs/V1Signatory.md +3 -3
- data/happyco_json.gemspec +1 -1
- data/lib/happyco_json.rb +1 -2
- data/lib/happyco_json/api/account_provisioning_service_api.rb +1 -1
- data/lib/happyco_json/api/account_service_api.rb +1 -1
- data/lib/happyco_json/api/account_users_service_api.rb +1 -1
- data/lib/happyco_json/api/asset_service_api.rb +1 -1
- data/lib/happyco_json/api/folder_service_api.rb +1 -1
- data/lib/happyco_json/api/inspection_service_api.rb +7 -7
- data/lib/happyco_json/api/report_service_api.rb +1 -1
- data/lib/happyco_json/api/template_service_api.rb +1 -1
- data/lib/happyco_json/api_client.rb +1 -1
- data/lib/happyco_json/api_error.rb +1 -1
- data/lib/happyco_json/configuration.rb +1 -1
- data/lib/happyco_json/models/create_accounts_request_account_with_admin.rb +1 -1
- data/lib/happyco_json/models/create_accounts_response_account_id_with_admin_id.rb +1 -1
- data/lib/happyco_json/models/inspection_status_change_status.rb +1 -1
- data/lib/happyco_json/models/inspection_status_changes_event_inspection_status_change.rb +1 -1
- data/lib/happyco_json/models/protobuf_any.rb +1 -1
- data/lib/happyco_json/models/reports_created_event_report_created.rb +1 -1
- data/lib/happyco_json/models/runtime_stream_error.rb +1 -1
- data/lib/happyco_json/models/update_accounts_request_account_with_admin_id.rb +1 -1
- data/lib/happyco_json/models/v1_account.rb +1 -1
- data/lib/happyco_json/models/v1_add_asset_photo_request.rb +1 -1
- data/lib/happyco_json/models/v1_add_asset_photo_response.rb +1 -1
- data/lib/happyco_json/models/v1_add_inspection_photo_request.rb +1 -1
- data/lib/happyco_json/models/v1_add_inspection_photo_response.rb +1 -1
- data/lib/happyco_json/models/v1_add_inspection_photos_request.rb +1 -1
- data/lib/happyco_json/models/v1_add_inspection_photos_response.rb +1 -1
- data/lib/happyco_json/models/v1_add_users_request.rb +1 -1
- data/lib/happyco_json/models/v1_add_users_response.rb +1 -1
- data/lib/happyco_json/models/v1_asset.rb +1 -1
- data/lib/happyco_json/models/v1_create_accounts_request.rb +1 -1
- data/lib/happyco_json/models/v1_create_accounts_response.rb +1 -1
- data/lib/happyco_json/models/v1_create_assets_request.rb +1 -1
- data/lib/happyco_json/models/v1_create_assets_response.rb +1 -1
- data/lib/happyco_json/models/v1_create_delegated_inspection_link_request.rb +1 -1
- data/lib/happyco_json/models/v1_create_delegated_inspection_link_response.rb +1 -1
- data/lib/happyco_json/models/v1_create_delegated_inspection_links_request.rb +1 -1
- data/lib/happyco_json/models/v1_create_delegated_inspection_links_response.rb +1 -1
- data/lib/happyco_json/models/v1_create_folders_request.rb +1 -1
- data/lib/happyco_json/models/v1_create_folders_response.rb +1 -1
- data/lib/happyco_json/models/v1_create_inspections_request.rb +1 -1
- data/lib/happyco_json/models/v1_create_inspections_response.rb +1 -1
- data/lib/happyco_json/models/v1_create_templates_request.rb +1 -1
- data/lib/happyco_json/models/v1_create_templates_response.rb +1 -1
- data/lib/happyco_json/models/v1_date_time.rb +1 -1
- data/lib/happyco_json/models/v1_event.rb +1 -1
- data/lib/happyco_json/models/v1_event_ack.rb +1 -1
- data/lib/happyco_json/models/v1_event_handler_options.rb +1 -1
- data/lib/happyco_json/models/v1_float_array.rb +1 -1
- data/lib/happyco_json/models/v1_folder.rb +1 -1
- data/lib/happyco_json/models/v1_folder_type.rb +1 -1
- data/lib/happyco_json/models/v1_footer_field.rb +1 -1
- data/lib/happyco_json/models/v1_header_field.rb +1 -1
- data/lib/happyco_json/models/v1_inspection.rb +1 -1
- data/lib/happyco_json/models/v1_inspection_data.rb +1 -1
- data/lib/happyco_json/models/v1_inspection_status_changes_event.rb +1 -1
- data/lib/happyco_json/models/v1_inspection_status_changes_event_ack_response.rb +1 -1
- data/lib/happyco_json/models/v1_integration_id.rb +1 -1
- data/lib/happyco_json/models/v1_item.rb +1 -1
- data/lib/happyco_json/models/v1_list_accounts_request.rb +1 -1
- data/lib/happyco_json/models/v1_list_accounts_response.rb +1 -1
- data/lib/happyco_json/models/v1_list_assets_request.rb +1 -1
- data/lib/happyco_json/models/v1_list_assets_response.rb +1 -1
- data/lib/happyco_json/models/v1_list_folders_request.rb +1 -1
- data/lib/happyco_json/models/v1_list_folders_response.rb +1 -1
- data/lib/happyco_json/models/v1_list_inspections_request.rb +1 -1
- data/lib/happyco_json/models/v1_list_inspections_response.rb +1 -1
- data/lib/happyco_json/models/v1_list_reports_request.rb +1 -1
- data/lib/happyco_json/models/v1_list_reports_response.rb +1 -1
- data/lib/happyco_json/models/v1_list_templates_request.rb +1 -1
- data/lib/happyco_json/models/v1_list_templates_response.rb +1 -1
- data/lib/happyco_json/models/v1_list_users_request.rb +1 -1
- data/lib/happyco_json/models/v1_list_users_response.rb +1 -1
- data/lib/happyco_json/models/v1_paging.rb +1 -1
- data/lib/happyco_json/models/v1_paging_response.rb +1 -1
- data/lib/happyco_json/models/v1_photo.rb +1 -1
- data/lib/happyco_json/models/v1_property.rb +1 -1
- data/lib/happyco_json/models/v1_rating_checkbox.rb +1 -1
- data/lib/happyco_json/models/v1_rating_control.rb +1 -1
- data/lib/happyco_json/models/v1_rating_drop_down.rb +1 -1
- data/lib/happyco_json/models/v1_rating_drop_down_option.rb +1 -1
- data/lib/happyco_json/models/v1_rating_group.rb +1 -1
- data/lib/happyco_json/models/v1_rating_image.rb +1 -1
- data/lib/happyco_json/models/v1_rating_radio_group.rb +1 -1
- data/lib/happyco_json/models/v1_rating_radio_group_option.rb +1 -1
- data/lib/happyco_json/models/v1_rating_values.rb +1 -1
- data/lib/happyco_json/models/v1_report.rb +3 -3
- data/lib/happyco_json/models/v1_reports_created_event.rb +1 -1
- data/lib/happyco_json/models/v1_reports_created_event_ack_response.rb +1 -1
- data/lib/happyco_json/models/v1_scheduled_inspection.rb +1 -1
- data/lib/happyco_json/models/v1_section.rb +1 -1
- data/lib/happyco_json/models/v1_set_assets_archived_request.rb +1 -1
- data/lib/happyco_json/models/v1_set_assets_archived_response.rb +1 -1
- data/lib/happyco_json/models/v1_set_inspections_archived_request.rb +1 -1
- data/lib/happyco_json/models/v1_set_inspections_archived_response.rb +1 -1
- data/lib/happyco_json/models/v1_set_templates_archived_request.rb +1 -1
- data/lib/happyco_json/models/v1_set_templates_archived_response.rb +1 -1
- data/lib/happyco_json/models/v1_signatory.rb +4 -4
- data/lib/happyco_json/models/v1_string_array.rb +1 -1
- data/lib/happyco_json/models/v1_template.rb +1 -1
- data/lib/happyco_json/models/v1_unit.rb +1 -1
- data/lib/happyco_json/models/v1_update_account_statuses_request.rb +1 -1
- data/lib/happyco_json/models/v1_update_account_statuses_response.rb +1 -1
- data/lib/happyco_json/models/v1_update_accounts_request.rb +1 -1
- data/lib/happyco_json/models/v1_update_accounts_response.rb +1 -1
- data/lib/happyco_json/models/v1_update_assets_request.rb +1 -1
- data/lib/happyco_json/models/v1_update_assets_response.rb +1 -1
- data/lib/happyco_json/models/v1_update_folder_statuses_request.rb +1 -1
- data/lib/happyco_json/models/v1_update_folder_statuses_response.rb +1 -1
- data/lib/happyco_json/models/v1_update_folders_request.rb +1 -1
- data/lib/happyco_json/models/v1_update_folders_response.rb +1 -1
- data/lib/happyco_json/models/v1_update_inspections_request.rb +1 -1
- data/lib/happyco_json/models/v1_update_inspections_response.rb +1 -1
- data/lib/happyco_json/models/v1_update_templates_request.rb +1 -1
- data/lib/happyco_json/models/v1_update_templates_response.rb +1 -1
- data/lib/happyco_json/models/v1_update_user_statuses_request.rb +1 -1
- data/lib/happyco_json/models/v1_update_user_statuses_response.rb +1 -1
- data/lib/happyco_json/models/v1_update_users_request.rb +1 -1
- data/lib/happyco_json/models/v1_update_users_response.rb +1 -1
- data/lib/happyco_json/models/v1_user.rb +1 -1
- data/lib/happyco_json/version.rb +2 -2
- data/spec/api/account_provisioning_service_api_spec.rb +1 -1
- data/spec/api/account_service_api_spec.rb +1 -1
- data/spec/api/account_users_service_api_spec.rb +1 -1
- data/spec/api/asset_service_api_spec.rb +1 -1
- data/spec/api/folder_service_api_spec.rb +1 -1
- data/spec/api/inspection_service_api_spec.rb +4 -4
- data/spec/api/report_service_api_spec.rb +1 -1
- data/spec/api/template_service_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/create_accounts_request_account_with_admin_spec.rb +1 -1
- data/spec/models/create_accounts_response_account_id_with_admin_id_spec.rb +1 -1
- data/spec/models/inspection_status_change_status_spec.rb +1 -1
- data/spec/models/inspection_status_changes_event_inspection_status_change_spec.rb +1 -1
- data/spec/models/protobuf_any_spec.rb +1 -1
- data/spec/models/reports_created_event_report_created_spec.rb +1 -1
- data/spec/models/runtime_stream_error_spec.rb +1 -1
- data/spec/models/update_accounts_request_account_with_admin_id_spec.rb +1 -1
- data/spec/models/v1_account_spec.rb +1 -1
- data/spec/models/v1_add_asset_photo_request_spec.rb +1 -1
- data/spec/models/v1_add_asset_photo_response_spec.rb +1 -1
- data/spec/models/v1_add_inspection_photo_request_spec.rb +1 -1
- data/spec/models/v1_add_inspection_photo_response_spec.rb +1 -1
- data/spec/models/v1_add_inspection_photos_request_spec.rb +1 -1
- data/spec/models/v1_add_inspection_photos_response_spec.rb +1 -1
- data/spec/models/v1_add_users_request_spec.rb +1 -1
- data/spec/models/v1_add_users_response_spec.rb +1 -1
- data/spec/models/v1_asset_spec.rb +1 -1
- data/spec/models/v1_create_accounts_request_spec.rb +1 -1
- data/spec/models/v1_create_accounts_response_spec.rb +1 -1
- data/spec/models/v1_create_assets_request_spec.rb +1 -1
- data/spec/models/v1_create_assets_response_spec.rb +1 -1
- data/spec/models/v1_create_delegated_inspection_link_request_spec.rb +1 -1
- data/spec/models/v1_create_delegated_inspection_link_response_spec.rb +1 -1
- data/spec/models/v1_create_delegated_inspection_links_request_spec.rb +1 -1
- data/spec/models/v1_create_delegated_inspection_links_response_spec.rb +1 -1
- data/spec/models/v1_create_folders_request_spec.rb +1 -1
- data/spec/models/v1_create_folders_response_spec.rb +1 -1
- data/spec/models/v1_create_inspections_request_spec.rb +1 -1
- data/spec/models/v1_create_inspections_response_spec.rb +1 -1
- data/spec/models/v1_create_templates_request_spec.rb +1 -1
- data/spec/models/v1_create_templates_response_spec.rb +1 -1
- data/spec/models/v1_date_time_spec.rb +1 -1
- data/spec/models/v1_event_ack_spec.rb +1 -1
- data/spec/models/v1_event_handler_options_spec.rb +1 -1
- data/spec/models/v1_event_spec.rb +1 -1
- data/spec/models/v1_float_array_spec.rb +1 -1
- data/spec/models/v1_folder_spec.rb +1 -1
- data/spec/models/v1_folder_type_spec.rb +1 -1
- data/spec/models/v1_footer_field_spec.rb +1 -1
- data/spec/models/v1_header_field_spec.rb +1 -1
- data/spec/models/v1_inspection_data_spec.rb +1 -1
- data/spec/models/v1_inspection_spec.rb +1 -1
- data/spec/models/v1_inspection_status_changes_event_ack_response_spec.rb +1 -1
- data/spec/models/v1_inspection_status_changes_event_spec.rb +1 -1
- data/spec/models/v1_integration_id_spec.rb +1 -1
- data/spec/models/v1_item_spec.rb +1 -1
- data/spec/models/v1_list_accounts_request_spec.rb +1 -1
- data/spec/models/v1_list_accounts_response_spec.rb +1 -1
- data/spec/models/v1_list_assets_request_spec.rb +1 -1
- data/spec/models/v1_list_assets_response_spec.rb +1 -1
- data/spec/models/v1_list_folders_request_spec.rb +1 -1
- data/spec/models/v1_list_folders_response_spec.rb +1 -1
- data/spec/models/v1_list_inspections_request_spec.rb +1 -1
- data/spec/models/v1_list_inspections_response_spec.rb +1 -1
- data/spec/models/v1_list_reports_request_spec.rb +1 -1
- data/spec/models/v1_list_reports_response_spec.rb +1 -1
- data/spec/models/v1_list_templates_request_spec.rb +1 -1
- data/spec/models/v1_list_templates_response_spec.rb +1 -1
- data/spec/models/v1_list_users_request_spec.rb +1 -1
- data/spec/models/v1_list_users_response_spec.rb +1 -1
- data/spec/models/v1_paging_response_spec.rb +1 -1
- data/spec/models/v1_paging_spec.rb +1 -1
- data/spec/models/v1_photo_spec.rb +1 -1
- data/spec/models/v1_property_spec.rb +1 -1
- data/spec/models/v1_rating_checkbox_spec.rb +1 -1
- data/spec/models/v1_rating_control_spec.rb +1 -1
- data/spec/models/v1_rating_drop_down_option_spec.rb +1 -1
- data/spec/models/v1_rating_drop_down_spec.rb +1 -1
- data/spec/models/v1_rating_group_spec.rb +1 -1
- data/spec/models/v1_rating_image_spec.rb +1 -1
- data/spec/models/v1_rating_radio_group_option_spec.rb +1 -1
- data/spec/models/v1_rating_radio_group_spec.rb +1 -1
- data/spec/models/v1_rating_values_spec.rb +1 -1
- data/spec/models/v1_report_spec.rb +1 -1
- data/spec/models/v1_reports_created_event_ack_response_spec.rb +1 -1
- data/spec/models/v1_reports_created_event_spec.rb +1 -1
- data/spec/models/v1_scheduled_inspection_spec.rb +1 -1
- data/spec/models/v1_section_spec.rb +1 -1
- data/spec/models/v1_set_assets_archived_request_spec.rb +1 -1
- data/spec/models/v1_set_assets_archived_response_spec.rb +1 -1
- data/spec/models/v1_set_inspections_archived_request_spec.rb +1 -1
- data/spec/models/v1_set_inspections_archived_response_spec.rb +1 -1
- data/spec/models/v1_set_templates_archived_request_spec.rb +1 -1
- data/spec/models/v1_set_templates_archived_response_spec.rb +1 -1
- data/spec/models/v1_signatory_spec.rb +1 -1
- data/spec/models/v1_string_array_spec.rb +1 -1
- data/spec/models/v1_template_spec.rb +1 -1
- data/spec/models/v1_unit_spec.rb +1 -1
- data/spec/models/v1_update_account_statuses_request_spec.rb +1 -1
- data/spec/models/v1_update_account_statuses_response_spec.rb +1 -1
- data/spec/models/v1_update_accounts_request_spec.rb +1 -1
- data/spec/models/v1_update_accounts_response_spec.rb +1 -1
- data/spec/models/v1_update_assets_request_spec.rb +1 -1
- data/spec/models/v1_update_assets_response_spec.rb +1 -1
- data/spec/models/v1_update_folder_statuses_request_spec.rb +1 -1
- data/spec/models/v1_update_folder_statuses_response_spec.rb +1 -1
- data/spec/models/v1_update_folders_request_spec.rb +1 -1
- data/spec/models/v1_update_folders_response_spec.rb +1 -1
- data/spec/models/v1_update_inspections_request_spec.rb +1 -1
- data/spec/models/v1_update_inspections_response_spec.rb +1 -1
- data/spec/models/v1_update_templates_request_spec.rb +1 -1
- data/spec/models/v1_update_templates_response_spec.rb +1 -1
- data/spec/models/v1_update_user_statuses_request_spec.rb +1 -1
- data/spec/models/v1_update_user_statuses_response_spec.rb +1 -1
- data/spec/models/v1_update_users_request_spec.rb +1 -1
- data/spec/models/v1_update_users_response_spec.rb +1 -1
- data/spec/models/v1_user_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +99 -103
- data/docs/V1Date.md +0 -10
- data/lib/happyco_json/models/v1_date.rb +0 -217
- data/spec/models/v1_date_spec.rb +0 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bf14988748eb39db2126bc6625640455ab56816fcf6861e24453c8cb43dd6a02
|
4
|
+
data.tar.gz: f73d1b3acd35909320b61a2a285751a835fc6d933433cec361f21570bffc7df2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f1c3113f80b8d2fac428f47d4dc27e0649f356bf16fbec961a9db8f3587bb6d5bd1d281d75cd7409bda33f4533af24cd21fdb770f67db63285549d17baca41c
|
7
|
+
data.tar.gz: b187156c6d44b71f3d0a500ef4b2d911526130c961c49f32b753ad7789c92b0dbb0e42e71b34399ecfb5652b96e93d629cdd41076c260108ead8319fc715c953
|
data/README.md
CHANGED
@@ -6,9 +6,9 @@ All happy services merged together
|
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
|
-
- API version: 2.
|
10
|
-
- Package version: 2.
|
11
|
-
- Build date:
|
9
|
+
- API version: 2.5.0
|
10
|
+
- Package version: 2.5.0
|
11
|
+
- Build date: 2020-08-19T15:24:39.728+09:30
|
12
12
|
- Build package: class io.swagger.codegen.languages.RubyClientCodegen
|
13
13
|
|
14
14
|
## Installation
|
@@ -24,15 +24,15 @@ gem build happyco_json.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./happyco_json-2.
|
27
|
+
gem install ./happyco_json-2.5.0.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./happyco_json-2.
|
29
|
+
(for development, run `gem install --dev ./happyco_json-2.5.0.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 'happyco_json', '~> 2.
|
35
|
+
gem 'happyco_json', '~> 2.5.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -93,12 +93,12 @@ Class | Method | HTTP request | Description
|
|
93
93
|
*HappyCo::FolderServiceApi* | [**list_folders**](docs/FolderServiceApi.md#list_folders) | **POST** /api/v1/manage/folders/list |
|
94
94
|
*HappyCo::FolderServiceApi* | [**update_folder_statuses**](docs/FolderServiceApi.md#update_folder_statuses) | **PUT** /api/v1/manage/folder/statuses/update |
|
95
95
|
*HappyCo::FolderServiceApi* | [**update_folders**](docs/FolderServiceApi.md#update_folders) | **PUT** /api/v1/manage/folders/update |
|
96
|
-
*HappyCo::InspectionServiceApi* | [**add_inspection_photos**](docs/InspectionServiceApi.md#add_inspection_photos) | **POST** /api/v1/inspect/inspection/photos/add | * Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo.
|
97
|
-
*HappyCo::InspectionServiceApi* | [**archive_inspections**](docs/InspectionServiceApi.md#archive_inspections) | **PUT** /api/v1/inspect/inspections/archive | * Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API.
|
96
|
+
*HappyCo::InspectionServiceApi* | [**add_inspection_photos**](docs/InspectionServiceApi.md#add_inspection_photos) | **POST** /api/v1/inspect/inspection/photos/add | * Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo. This is now deprecated and soon to be removed.
|
97
|
+
*HappyCo::InspectionServiceApi* | [**archive_inspections**](docs/InspectionServiceApi.md#archive_inspections) | **PUT** /api/v1/inspect/inspections/archive | * Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API. All inspections must belong to the same folder.
|
98
98
|
*HappyCo::InspectionServiceApi* | [**create_delegated_inspection_links**](docs/InspectionServiceApi.md#create_delegated_inspection_links) | **POST** /api/v1/inspect/inspection/links/create |
|
99
99
|
*HappyCo::InspectionServiceApi* | [**create_inspections**](docs/InspectionServiceApi.md#create_inspections) | **POST** /api/v1/inspect/inspections/create | * Create inspections can create inspections with any status (normally scheduled).
|
100
100
|
*HappyCo::InspectionServiceApi* | [**list_inspections**](docs/InspectionServiceApi.md#list_inspections) | **POST** /api/v1/inspect/inspections/list | * List inspections gets a paginated and optionally filtered list of inspections from one or more folders.
|
101
|
-
*HappyCo::InspectionServiceApi* | [**unarchive_inspections**](docs/InspectionServiceApi.md#unarchive_inspections) | **PUT** /api/v1/inspect/inspections/unarchive | * Unarchive inspections should be used if previously archived inspections need to be restored.
|
101
|
+
*HappyCo::InspectionServiceApi* | [**unarchive_inspections**](docs/InspectionServiceApi.md#unarchive_inspections) | **PUT** /api/v1/inspect/inspections/unarchive | * Unarchive inspections should be used if previously archived inspections need to be restored. All inspections must belong to the same folder.
|
102
102
|
*HappyCo::InspectionServiceApi* | [**update_inspections**](docs/InspectionServiceApi.md#update_inspections) | **PUT** /api/v1/inspect/inspections/update | * Update inspections can change the contents of inspections. Currently an inspection cannot have its asset_id or template_id updated.
|
103
103
|
*HappyCo::ReportServiceApi* | [**list_reports**](docs/ReportServiceApi.md#list_reports) | **POST** /api/v1/inspect/reports/list | * List reports gets a paginated and optionally filtered list of reports from one or more folders.
|
104
104
|
*HappyCo::TemplateServiceApi* | [**archive_templates**](docs/TemplateServiceApi.md#archive_templates) | **PUT** /api/v1/inspect/templates/archive |
|
@@ -142,7 +142,6 @@ Class | Method | HTTP request | Description
|
|
142
142
|
- [HappyCo::V1CreateInspectionsResponse](docs/V1CreateInspectionsResponse.md)
|
143
143
|
- [HappyCo::V1CreateTemplatesRequest](docs/V1CreateTemplatesRequest.md)
|
144
144
|
- [HappyCo::V1CreateTemplatesResponse](docs/V1CreateTemplatesResponse.md)
|
145
|
-
- [HappyCo::V1Date](docs/V1Date.md)
|
146
145
|
- [HappyCo::V1DateTime](docs/V1DateTime.md)
|
147
146
|
- [HappyCo::V1Event](docs/V1Event.md)
|
148
147
|
- [HappyCo::V1EventAck](docs/V1EventAck.md)
|
@@ -4,19 +4,19 @@ All URIs are relative to *http://test.com/api*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_inspection_photos**](InspectionServiceApi.md#add_inspection_photos) | **POST** /api/v1/inspect/inspection/photos/add | * Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo.
|
8
|
-
[**archive_inspections**](InspectionServiceApi.md#archive_inspections) | **PUT** /api/v1/inspect/inspections/archive | * Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API.
|
7
|
+
[**add_inspection_photos**](InspectionServiceApi.md#add_inspection_photos) | **POST** /api/v1/inspect/inspection/photos/add | * Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo. This is now deprecated and soon to be removed.
|
8
|
+
[**archive_inspections**](InspectionServiceApi.md#archive_inspections) | **PUT** /api/v1/inspect/inspections/archive | * Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API. All inspections must belong to the same folder.
|
9
9
|
[**create_delegated_inspection_links**](InspectionServiceApi.md#create_delegated_inspection_links) | **POST** /api/v1/inspect/inspection/links/create |
|
10
10
|
[**create_inspections**](InspectionServiceApi.md#create_inspections) | **POST** /api/v1/inspect/inspections/create | * Create inspections can create inspections with any status (normally scheduled).
|
11
11
|
[**list_inspections**](InspectionServiceApi.md#list_inspections) | **POST** /api/v1/inspect/inspections/list | * List inspections gets a paginated and optionally filtered list of inspections from one or more folders.
|
12
|
-
[**unarchive_inspections**](InspectionServiceApi.md#unarchive_inspections) | **PUT** /api/v1/inspect/inspections/unarchive | * Unarchive inspections should be used if previously archived inspections need to be restored.
|
12
|
+
[**unarchive_inspections**](InspectionServiceApi.md#unarchive_inspections) | **PUT** /api/v1/inspect/inspections/unarchive | * Unarchive inspections should be used if previously archived inspections need to be restored. All inspections must belong to the same folder.
|
13
13
|
[**update_inspections**](InspectionServiceApi.md#update_inspections) | **PUT** /api/v1/inspect/inspections/update | * Update inspections can change the contents of inspections. Currently an inspection cannot have its asset_id or template_id updated.
|
14
14
|
|
15
15
|
|
16
16
|
# **add_inspection_photos**
|
17
17
|
> V1AddInspectionPhotosResponse add_inspection_photos(body)
|
18
18
|
|
19
|
-
* Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo.
|
19
|
+
* Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo. This is now deprecated and soon to be removed.
|
20
20
|
|
21
21
|
### Example
|
22
22
|
```ruby
|
@@ -29,7 +29,7 @@ body = HappyCo::V1AddInspectionPhotosRequest.new # V1AddInspectionPhotosRequest
|
|
29
29
|
|
30
30
|
|
31
31
|
begin
|
32
|
-
#* Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo.
|
32
|
+
#* Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo. This is now deprecated and soon to be removed.
|
33
33
|
result = api_instance.add_inspection_photos(body)
|
34
34
|
p result
|
35
35
|
rescue HappyCo::ApiError => e
|
@@ -61,7 +61,7 @@ No authorization required
|
|
61
61
|
# **archive_inspections**
|
62
62
|
> V1SetInspectionsArchivedResponse archive_inspections(body)
|
63
63
|
|
64
|
-
* Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API.
|
64
|
+
* Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API. All inspections must belong to the same folder.
|
65
65
|
|
66
66
|
### Example
|
67
67
|
```ruby
|
@@ -74,7 +74,7 @@ body = HappyCo::V1SetInspectionsArchivedRequest.new # V1SetInspectionsArchivedRe
|
|
74
74
|
|
75
75
|
|
76
76
|
begin
|
77
|
-
#* Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API.
|
77
|
+
#* Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API. All inspections must belong to the same folder.
|
78
78
|
result = api_instance.archive_inspections(body)
|
79
79
|
p result
|
80
80
|
rescue HappyCo::ApiError => e
|
@@ -240,7 +240,7 @@ No authorization required
|
|
240
240
|
# **unarchive_inspections**
|
241
241
|
> V1SetInspectionsArchivedResponse unarchive_inspections(body)
|
242
242
|
|
243
|
-
* Unarchive inspections should be used if previously archived inspections need to be restored.
|
243
|
+
* Unarchive inspections should be used if previously archived inspections need to be restored. All inspections must belong to the same folder.
|
244
244
|
|
245
245
|
### Example
|
246
246
|
```ruby
|
@@ -253,7 +253,7 @@ body = HappyCo::V1SetInspectionsArchivedRequest.new # V1SetInspectionsArchivedRe
|
|
253
253
|
|
254
254
|
|
255
255
|
begin
|
256
|
-
#* Unarchive inspections should be used if previously archived inspections need to be restored.
|
256
|
+
#* Unarchive inspections should be used if previously archived inspections need to be restored. All inspections must belong to the same folder.
|
257
257
|
result = api_instance.unarchive_inspections(body)
|
258
258
|
p result
|
259
259
|
rescue HappyCo::ApiError => e
|
data/docs/V1Report.md
CHANGED
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
|
|
12
12
|
**folder_id** | [**V1IntegrationID**](V1IntegrationID.md) | * FolderID references the folder that contains the inspections used to generate the report. | [optional]
|
13
13
|
**asset_id** | [**V1IntegrationID**](V1IntegrationID.md) | * Asset ID references the parent that inspection is attached to. This field must reference a non archived asset in the same folder as the template referenced below. | [optional]
|
14
14
|
**inspection_ids** | [**Array<V1IntegrationID>**](V1IntegrationID.md) | * Inspection IDs references one or more inspection(s) used to generate the report. | [optional]
|
15
|
-
**generated_at** | [**
|
16
|
-
**finalized_at** | [**
|
15
|
+
**generated_at** | [**V1DateTime**](V1DateTime.md) | * Generated at is the time (as reported by the mobile device) that the report was generated at. | [optional]
|
16
|
+
**finalized_at** | [**V1DateTime**](V1DateTime.md) | * Finalized is the time (as reported by the mobile device) that the report was locked. Until the report is locked the display settings can be changed. Signing a report locks it immediately. | [optional]
|
17
17
|
**inspector_id** | [**V1IntegrationID**](V1IntegrationID.md) | * Inspector ID references the user who completed the most recent inspection used to generate the report. | [optional]
|
18
18
|
**inspector_name** | **String** | * Inspector name references the user who completed the most recent inspection used to generate the report. | [optional]
|
19
19
|
**data** | **String** | | [optional]
|
data/docs/V1Signatory.md
CHANGED
@@ -5,8 +5,8 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | * Name of the signatory. e.g. Mafalda Hopkirk. | [optional]
|
7
7
|
**role** | **String** | * TODO: should this be included? Its not included in the report. | [optional]
|
8
|
-
**generated_at** | [**
|
9
|
-
**signed_at** | [**
|
10
|
-
**user_signed_at** | [**
|
8
|
+
**generated_at** | [**V1DateTime**](V1DateTime.md) | * Generated is the time when the signatory box was generated and attached to the report. | [optional]
|
9
|
+
**signed_at** | [**V1DateTime**](V1DateTime.md) | * Signed at is the time (as reported by the mobile device) that the user physically signed the report. | [optional]
|
10
|
+
**user_signed_at** | [**V1DateTime**](V1DateTime.md) | * User signed at is a user adjustable signed at time (similar to the date field often found on paper reports). | [optional]
|
11
11
|
|
12
12
|
|
data/happyco_json.gemspec
CHANGED
data/lib/happyco_json.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#All happy services merged together
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.5.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -60,7 +60,6 @@ require 'happyco_json/models/v1_create_inspections_request'
|
|
60
60
|
require 'happyco_json/models/v1_create_inspections_response'
|
61
61
|
require 'happyco_json/models/v1_create_templates_request'
|
62
62
|
require 'happyco_json/models/v1_create_templates_response'
|
63
|
-
require 'happyco_json/models/v1_date'
|
64
63
|
require 'happyco_json/models/v1_date_time'
|
65
64
|
require 'happyco_json/models/v1_event'
|
66
65
|
require 'happyco_json/models/v1_event_ack'
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#All happy services merged together
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.5.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -31,7 +31,7 @@ module HappyCo
|
|
31
31
|
@api_client = api_client
|
32
32
|
end
|
33
33
|
|
34
|
-
# * Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo.
|
34
|
+
# * Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo. This is now deprecated and soon to be removed.
|
35
35
|
#
|
36
36
|
# @param body
|
37
37
|
# @param [Hash] opts the optional parameters
|
@@ -41,7 +41,7 @@ module HappyCo
|
|
41
41
|
return data
|
42
42
|
end
|
43
43
|
|
44
|
-
# * Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo.
|
44
|
+
# * Adds photos to inspections. The returned photo IDs must be inserted into the inspection for them to be displayed. This inspection does not occur in a transaction and you will receive a response for each photo. This is now deprecated and soon to be removed.
|
45
45
|
#
|
46
46
|
# @param body
|
47
47
|
# @param [Hash] opts the optional parameters
|
@@ -88,7 +88,7 @@ module HappyCo
|
|
88
88
|
return data, status_code, headers
|
89
89
|
end
|
90
90
|
|
91
|
-
# * Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API.
|
91
|
+
# * Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API. All inspections must belong to the same folder.
|
92
92
|
#
|
93
93
|
# @param body
|
94
94
|
# @param [Hash] opts the optional parameters
|
@@ -98,7 +98,7 @@ module HappyCo
|
|
98
98
|
return data
|
99
99
|
end
|
100
100
|
|
101
|
-
# * Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API.
|
101
|
+
# * Archive inspections should be used to archive inspections that are no longer wanted. No method for purging archived inspections is available via the API. All inspections must belong to the same folder.
|
102
102
|
#
|
103
103
|
# @param body
|
104
104
|
# @param [Hash] opts the optional parameters
|
@@ -316,7 +316,7 @@ module HappyCo
|
|
316
316
|
return data, status_code, headers
|
317
317
|
end
|
318
318
|
|
319
|
-
# * Unarchive inspections should be used if previously archived inspections need to be restored.
|
319
|
+
# * Unarchive inspections should be used if previously archived inspections need to be restored. All inspections must belong to the same folder.
|
320
320
|
#
|
321
321
|
# @param body
|
322
322
|
# @param [Hash] opts the optional parameters
|
@@ -326,7 +326,7 @@ module HappyCo
|
|
326
326
|
return data
|
327
327
|
end
|
328
328
|
|
329
|
-
# * Unarchive inspections should be used if previously archived inspections need to be restored.
|
329
|
+
# * Unarchive inspections should be used if previously archived inspections need to be restored. All inspections must belong to the same folder.
|
330
330
|
#
|
331
331
|
# @param body
|
332
332
|
# @param [Hash] opts the optional parameters
|