happyco_json 2.1.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 +13 -10
- data/docs/InspectionServiceApi.md +9 -9
- data/docs/ProtobufAny.md +9 -0
- data/docs/RuntimeStreamError.md +12 -0
- data/docs/V1Asset.md +1 -0
- data/docs/V1EventAck.md +10 -0
- data/docs/V1EventHandlerOptions.md +8 -0
- data/docs/V1Inspection.md +2 -0
- data/docs/V1Item.md +1 -0
- data/docs/V1RatingCheckbox.md +1 -0
- data/docs/V1RatingDropDownOption.md +1 -0
- data/docs/V1RatingGroup.md +5 -3
- data/docs/V1RatingRadioGroupOption.md +1 -0
- data/docs/V1Report.md +5 -5
- data/docs/V1Signatory.md +3 -3
- data/happyco_json.gemspec +1 -1
- data/lib/happyco_json.rb +5 -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/helpers.rb +4 -0
- 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/{v1_date.rb → protobuf_any.rb} +15 -24
- data/lib/happyco_json/models/reports_created_event_report_created.rb +1 -1
- data/lib/happyco_json/models/runtime_stream_error.rb +237 -0
- 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 +14 -5
- 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 +2 -2
- 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 +219 -0
- data/lib/happyco_json/models/v1_event_handler_options.rb +199 -0
- 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 +25 -5
- 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 +15 -5
- 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 +15 -5
- 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 +15 -5
- data/lib/happyco_json/models/v1_rating_group.rb +27 -8
- data/lib/happyco_json/models/v1_rating_groups.rb +8 -0
- 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 +15 -5
- data/lib/happyco_json/models/v1_rating_values.rb +1 -1
- data/lib/happyco_json/models/v1_report.rb +6 -4
- 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 +2 -2
- 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 +59 -0
- data/spec/models/reports_created_event_report_created_spec.rb +1 -1
- data/spec/models/runtime_stream_error_spec.rb +77 -0
- 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 +7 -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_date_spec.rb → v1_event_ack_spec.rb} +10 -10
- data/spec/models/v1_event_handler_options_spec.rb +53 -0
- 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 +13 -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 +7 -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 +7 -1
- data/spec/models/v1_rating_control_spec.rb +1 -1
- data/spec/models/v1_rating_drop_down_option_spec.rb +7 -1
- data/spec/models/v1_rating_drop_down_spec.rb +1 -1
- data/spec/models/v1_rating_group_spec.rb +13 -1
- data/spec/models/v1_rating_image_spec.rb +1 -1
- data/spec/models/v1_rating_radio_group_option_spec.rb +7 -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 +111 -99
- data/docs/V1Date.md +0 -10
- data/lib/happyco_json/models/v1_rating_groups.rb +0 -1
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
|
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 |
|
@@ -114,7 +114,9 @@ Class | Method | HTTP request | Description
|
|
114
114
|
- [HappyCo::CreateAccountsResponseAccountIDWithAdminID](docs/CreateAccountsResponseAccountIDWithAdminID.md)
|
115
115
|
- [HappyCo::InspectionStatusChangeStatus](docs/InspectionStatusChangeStatus.md)
|
116
116
|
- [HappyCo::InspectionStatusChangesEventInspectionStatusChange](docs/InspectionStatusChangesEventInspectionStatusChange.md)
|
117
|
+
- [HappyCo::ProtobufAny](docs/ProtobufAny.md)
|
117
118
|
- [HappyCo::ReportsCreatedEventReportCreated](docs/ReportsCreatedEventReportCreated.md)
|
119
|
+
- [HappyCo::RuntimeStreamError](docs/RuntimeStreamError.md)
|
118
120
|
- [HappyCo::UpdateAccountsRequestAccountWithAdminId](docs/UpdateAccountsRequestAccountWithAdminId.md)
|
119
121
|
- [HappyCo::V1Account](docs/V1Account.md)
|
120
122
|
- [HappyCo::V1AddAssetPhotoRequest](docs/V1AddAssetPhotoRequest.md)
|
@@ -140,9 +142,10 @@ Class | Method | HTTP request | Description
|
|
140
142
|
- [HappyCo::V1CreateInspectionsResponse](docs/V1CreateInspectionsResponse.md)
|
141
143
|
- [HappyCo::V1CreateTemplatesRequest](docs/V1CreateTemplatesRequest.md)
|
142
144
|
- [HappyCo::V1CreateTemplatesResponse](docs/V1CreateTemplatesResponse.md)
|
143
|
-
- [HappyCo::V1Date](docs/V1Date.md)
|
144
145
|
- [HappyCo::V1DateTime](docs/V1DateTime.md)
|
145
146
|
- [HappyCo::V1Event](docs/V1Event.md)
|
147
|
+
- [HappyCo::V1EventAck](docs/V1EventAck.md)
|
148
|
+
- [HappyCo::V1EventHandlerOptions](docs/V1EventHandlerOptions.md)
|
146
149
|
- [HappyCo::V1FloatArray](docs/V1FloatArray.md)
|
147
150
|
- [HappyCo::V1Folder](docs/V1Folder.md)
|
148
151
|
- [HappyCo::V1FolderType](docs/V1FolderType.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
|
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
|
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
|
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/ProtobufAny.md
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# HappyCo::RuntimeStreamError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**grpc_code** | **Integer** | | [optional]
|
7
|
+
**http_code** | **Integer** | | [optional]
|
8
|
+
**message** | **String** | | [optional]
|
9
|
+
**http_status** | **String** | | [optional]
|
10
|
+
**details** | [**Array<ProtobufAny>**](ProtobufAny.md) | | [optional]
|
11
|
+
|
12
|
+
|
data/docs/V1Asset.md
CHANGED
@@ -14,5 +14,6 @@ Name | Type | Description | Notes
|
|
14
14
|
**unit** | [**V1Unit**](V1Unit.md) | | [optional]
|
15
15
|
**property** | [**V1Property**](V1Property.md) | | [optional]
|
16
16
|
**photo_id** | [**V1IntegrationID**](V1IntegrationID.md) | | [optional]
|
17
|
+
**notes** | **String** | | [optional]
|
17
18
|
|
18
19
|
|
data/docs/V1EventAck.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# HappyCo::V1EventAck
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**event_ids** | **Array<Integer>** | | [optional]
|
7
|
+
**ack** | **BOOLEAN** | | [optional]
|
8
|
+
**extend_timeout_seconds** | **Integer** | | [optional]
|
9
|
+
|
10
|
+
|
data/docs/V1Inspection.md
CHANGED
@@ -13,5 +13,7 @@ Name | Type | Description | Notes
|
|
13
13
|
**in_progress** | [**V1InspectionData**](V1InspectionData.md) | | [optional]
|
14
14
|
**completed** | [**V1InspectionData**](V1InspectionData.md) | | [optional]
|
15
15
|
**update_time** | [**V1DateTime**](V1DateTime.md) | | [optional]
|
16
|
+
**photo_quality** | **Integer** | * Photo Quality is an override setting sent to clients that informs them what level of Photo Quality they should enforce, regardless of user settings on the client. The default value is 0 which denotes that the client should use the user's settings, otherwise the higher the value the higher Photo Quality should be enforced by the client. | [optional]
|
17
|
+
**assigned_to_id** | [**V1IntegrationID**](V1IntegrationID.md) | * Inspector ID is an optional field that specifies the user assigned to perform the inspection. | [optional]
|
16
18
|
|
17
19
|
|
data/docs/V1Item.md
CHANGED
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
|
|
10
10
|
**rating_group_key** | **String** | * Rating group key is a string that can be used to access a rating group from the parent inspection. A rating group must exist for this key within the inspection for the value to be valid. | [optional]
|
11
11
|
**values** | [**Hash<String, V1RatingValues>**](V1RatingValues.md) | * Values are a map of rating keys and the selected value(s). That can be referenced using the item's associated rating group. | [optional]
|
12
12
|
**scores** | [**Hash<String, V1FloatArray>**](V1FloatArray.md) | * Scores are a map of rating keys and the selected score(s). That can be referenced using the item's associated rating group. | [optional]
|
13
|
+
**task_work_category_id** | **String** | * Task work category ID is an optional field that can be used to assign a task to an item. Note that this is only useful when a business has access to Tasks. | [optional]
|
13
14
|
|
14
15
|
|
data/docs/V1RatingCheckbox.md
CHANGED
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
|
|
8
8
|
**score** | **Float** | * Score is an optional field that will be inserted into the item and can be shown on reports if the checkbox is toggled on. | [optional]
|
9
9
|
**color** | **String** | | [optional]
|
10
10
|
**image** | **String** | | [optional] [default to "UNDEFINED"]
|
11
|
+
**minimum_photos** | **Integer** | * Minimum Photos is the minimum number of photos required to fulfil an item that has this checkbox selected. | [optional]
|
11
12
|
|
12
13
|
|
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
|
|
8
8
|
**score** | **Float** | * Score is an optional field that will be inserted into the item and can be shown on reports if this drop down option is selected. | [optional]
|
9
9
|
**color** | **String** | | [optional]
|
10
10
|
**image** | **String** | | [optional] [default to "UNDEFINED"]
|
11
|
+
**minimum_photos** | **Integer** | * Minimum Photos is the minimum number of photos required to fulfil an item that has this drop down option selected. | [optional]
|
11
12
|
|
12
13
|
|
data/docs/V1RatingGroup.md
CHANGED
@@ -5,8 +5,10 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**label** | **String** | * Label is an optional field that can help users that need to update inspections on the fly. | [optional]
|
7
7
|
**ratings** | [**Array<V1RatingControl>**](V1RatingControl.md) | * Ratings are the ordered set of rating controls an inspector sees for an item that references this rating group. | [optional]
|
8
|
-
**requires_photo** | [**Hash<String, V1StringArray>**](V1StringArray.md) | *
|
9
|
-
**requires_note** | [**Hash<String, V1StringArray>**](V1StringArray.md) |
|
10
|
-
**requires_value** | **BOOLEAN** |
|
8
|
+
**requires_photo** | [**Hash<String, V1StringArray>**](V1StringArray.md) | * Requires Photo is an optional map of Rating Control key to an array of Rating (Dropdown / Radio) Option value or Checkbox value for all for all values that require a photo. Deprecated: set minimum_photos on the option instead. | [optional]
|
9
|
+
**requires_note** | [**Hash<String, V1StringArray>**](V1StringArray.md) | | [optional]
|
10
|
+
**requires_value** | **BOOLEAN** | | [optional]
|
11
|
+
**requires_score** | [**Hash<String, V1StringArray>**](V1StringArray.md) | | [optional]
|
12
|
+
**minimum_photos** | **Integer** | * Minimum Photos is the minimum number of photos required to fulfil an item that has this rating group. | [optional]
|
11
13
|
|
12
14
|
|
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**score** | **Float** | * Score is an optional field that will be inserted into the item and can be shown on reports if this radio option is selected. | [optional]
|
8
8
|
**color** | **String** | | [optional]
|
9
9
|
**image** | **String** | | [optional] [default to "UNDEFINED"]
|
10
|
+
**minimum_photos** | **Integer** | * Minimum Photos is the minimum number of photos required to fulfil an item that has this radio group option selected. | [optional]
|
10
11
|
|
11
12
|
|
data/docs/V1Report.md
CHANGED
@@ -9,13 +9,13 @@ Name | Type | Description | Notes
|
|
9
9
|
**title** | **String** | * Title of the report. This can be overriden by the user in the report settings but typically comes from the template name used to perform the inspection. | [optional]
|
10
10
|
**revision** | **Integer** | * The revision of the report. This will increment when a change occurs. Reports are limited to changes being archive/unarchive operations or new signatures being added. | [optional]
|
11
11
|
**account_id** | [**V1IntegrationID**](V1IntegrationID.md) | * Account ID that the report belongs to. For custom integrations (i.e. not integration partners) it may be omitted. | [optional]
|
12
|
-
**folder_id** | [**V1IntegrationID**](V1IntegrationID.md) |
|
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** | [**
|
17
|
-
**inspector_id** | [**V1IntegrationID**](V1IntegrationID.md) |
|
18
|
-
**inspector_name** | **String** | * Inspector name
|
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
|
+
**inspector_id** | [**V1IntegrationID**](V1IntegrationID.md) | * Inspector ID references the user who completed the most recent inspection used to generate the report. | [optional]
|
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]
|
20
20
|
**signatories** | [**Hash<String, V1Signatory>**](V1Signatory.md) | * A map of signatories added to the report. Each key in the map only needs to be unique to this report. | [optional]
|
21
21
|
|
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
|
|
@@ -32,7 +32,9 @@ require 'happyco_json/models/create_accounts_request_account_with_admin'
|
|
32
32
|
require 'happyco_json/models/create_accounts_response_account_id_with_admin_id'
|
33
33
|
require 'happyco_json/models/inspection_status_change_status'
|
34
34
|
require 'happyco_json/models/inspection_status_changes_event_inspection_status_change'
|
35
|
+
require 'happyco_json/models/protobuf_any'
|
35
36
|
require 'happyco_json/models/reports_created_event_report_created'
|
37
|
+
require 'happyco_json/models/runtime_stream_error'
|
36
38
|
require 'happyco_json/models/update_accounts_request_account_with_admin_id'
|
37
39
|
require 'happyco_json/models/v1_account'
|
38
40
|
require 'happyco_json/models/v1_add_asset_photo_request'
|
@@ -58,9 +60,10 @@ require 'happyco_json/models/v1_create_inspections_request'
|
|
58
60
|
require 'happyco_json/models/v1_create_inspections_response'
|
59
61
|
require 'happyco_json/models/v1_create_templates_request'
|
60
62
|
require 'happyco_json/models/v1_create_templates_response'
|
61
|
-
require 'happyco_json/models/v1_date'
|
62
63
|
require 'happyco_json/models/v1_date_time'
|
63
64
|
require 'happyco_json/models/v1_event'
|
65
|
+
require 'happyco_json/models/v1_event_ack'
|
66
|
+
require 'happyco_json/models/v1_event_handler_options'
|
64
67
|
require 'happyco_json/models/v1_float_array'
|
65
68
|
require 'happyco_json/models/v1_folder'
|
66
69
|
require 'happyco_json/models/v1_folder_type'
|
@@ -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
|
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
|
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
|