doorflow 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +222 -316
- data/bin/post-generate +3 -1
- data/doorflow.gemspec +1 -1
- data/lib/doorflow/client/credentials_proxy.rb +6 -9
- data/lib/doorflow/client/element_sessions_proxy.rb +91 -0
- data/lib/doorflow/client.rb +13 -0
- data/lib/doorflow/errors/doorflow_error.rb +1 -1
- data/lib/doorflow/resources/credential.rb +4 -3
- data/lib/doorflow/resources/element_session.rb +28 -0
- data/lib/doorflow/webhooks/handler.rb +6 -6
- data/lib/doorflow/webhooks/signature_verifier.rb +8 -5
- data/lib/doorflow-api/api/accounts_api.rb +1 -1
- data/lib/doorflow-api/api/admission_requests_api.rb +2 -2
- data/lib/doorflow-api/api/card_designs_api.rb +347 -0
- data/lib/doorflow-api/api/card_template_types_api.rb +350 -0
- data/lib/doorflow-api/api/card_templates_api.rb +811 -0
- data/lib/doorflow-api/api/channels_api.rb +11 -11
- data/lib/doorflow-api/api/credential_types_api.rb +1 -1
- data/lib/doorflow-api/api/credentials_api.rb +6 -6
- data/lib/doorflow-api/api/element_sessions_api.rb +90 -0
- data/lib/doorflow-api/api/events_api.rb +2 -2
- data/lib/doorflow-api/api/group_reservations_api.rb +68 -5
- data/lib/doorflow-api/api/groups_api.rb +1 -1
- data/lib/doorflow-api/api/notification_rules_api.rb +7 -7
- data/lib/doorflow-api/api/oauth_api.rb +1 -1
- data/lib/doorflow-api/api/people_api.rb +7 -7
- data/lib/doorflow-api/api/reservations_api.rb +5 -5
- data/lib/doorflow-api/api/roles_api.rb +1 -1
- data/lib/doorflow-api/api/sites_api.rb +1 -1
- data/lib/doorflow-api/api/sync_api.rb +4 -4
- data/lib/doorflow-api/api_client.rb +8 -4
- data/lib/doorflow-api/api_error.rb +9 -14
- data/lib/doorflow-api/api_model_base.rb +1 -1
- data/lib/doorflow-api/configuration.rb +1 -1
- data/lib/doorflow-api/models/account.rb +1 -1
- data/lib/doorflow-api/models/account_passport.rb +1 -1
- data/lib/doorflow-api/models/account_reseller.rb +1 -1
- data/lib/doorflow-api/models/account_sync.rb +1 -1
- data/lib/doorflow-api/models/account_user.rb +1 -1
- data/lib/doorflow-api/models/admission_request.rb +1 -1
- data/lib/doorflow-api/models/admission_request_door_controller.rb +1 -1
- data/lib/doorflow-api/models/admission_request_person.rb +1 -1
- data/lib/doorflow-api/models/admit_channel202_response.rb +1 -1
- data/lib/doorflow-api/models/admit_person202_response.rb +1 -1
- data/lib/doorflow-api/models/admit_person403_response.rb +1 -1
- data/lib/doorflow-api/models/admit_person_request.rb +1 -1
- data/lib/doorflow-api/models/auto_unlock_channel400_response.rb +1 -1
- data/lib/doorflow-api/models/auto_unlock_channel_request.rb +1 -1
- data/lib/doorflow-api/models/card_design.rb +243 -0
- data/lib/doorflow-api/models/card_design_image_back.rb +179 -0
- data/lib/doorflow-api/models/card_design_image_front.rb +179 -0
- data/lib/doorflow-api/models/card_design_input.rb +181 -0
- data/lib/doorflow-api/models/card_template.rb +475 -0
- data/lib/doorflow-api/models/card_template_input.rb +147 -0
- data/lib/doorflow-api/models/card_template_input_card_template.rb +347 -0
- data/lib/doorflow-api/models/card_template_type.rb +321 -0
- data/lib/doorflow-api/models/card_template_type_input.rb +147 -0
- data/lib/doorflow-api/models/card_template_type_input_card_template_type.rb +251 -0
- data/lib/doorflow-api/models/card_template_type_input_card_template_type_non_printable_zones_inner.rb +183 -0
- data/lib/doorflow-api/models/card_template_type_non_printable_zones_inner.rb +188 -0
- data/lib/doorflow-api/models/channel.rb +1 -1
- data/lib/doorflow-api/models/channel_auto_unlock.rb +1 -1
- data/lib/doorflow-api/models/channel_lockdown.rb +1 -1
- data/lib/doorflow-api/models/channel_lockdown_aux_lockdown.rb +1 -1
- data/lib/doorflow-api/models/channel_lockdown_card_lockdown.rb +1 -1
- data/lib/doorflow-api/models/channel_lockdown_rex_lockdown.rb +1 -1
- data/lib/doorflow-api/models/channel_mode.rb +1 -1
- data/lib/doorflow-api/models/channel_sync.rb +5 -2
- data/lib/doorflow-api/models/{create_credential422_response.rb → create_card_design422_response.rb} +5 -5
- data/lib/doorflow-api/models/{create_credential422_response_errors.rb → create_card_design422_response_errors.rb} +4 -4
- data/lib/doorflow-api/models/credential.rb +4 -4
- data/lib/doorflow-api/models/credential_input.rb +1 -1
- data/lib/doorflow-api/models/credential_input_person_credential.rb +1 -1
- data/lib/doorflow-api/models/credential_type.rb +1 -1
- data/lib/doorflow-api/models/credential_update_input.rb +1 -1
- data/lib/doorflow-api/models/credential_update_input_person_credential.rb +1 -1
- data/lib/doorflow-api/models/{delete_group_reservation200_response.rb → delete_card_design200_response.rb} +4 -4
- data/lib/doorflow-api/models/delete_card_template_type409_response.rb +147 -0
- data/lib/doorflow-api/models/element_session.rb +192 -0
- data/lib/doorflow-api/models/element_session_config.rb +265 -0
- data/lib/doorflow-api/models/element_session_error.rb +199 -0
- data/lib/doorflow-api/models/element_session_input.rb +271 -0
- data/lib/doorflow-api/models/element_session_member.rb +186 -0
- data/lib/doorflow-api/models/error.rb +1 -1
- data/lib/doorflow-api/models/event.rb +1 -1
- data/lib/doorflow-api/models/get_access_token200_response.rb +1 -1
- data/lib/doorflow-api/models/get_access_token400_response.rb +1 -1
- data/lib/doorflow-api/models/get_access_token401_response.rb +1 -1
- data/lib/doorflow-api/models/get_admission_request401_response.rb +1 -1
- data/lib/doorflow-api/models/get_admission_request403_response.rb +1 -1
- data/lib/doorflow-api/models/get_admission_request404_response.rb +1 -1
- data/lib/doorflow-api/models/get_admission_request500_response.rb +1 -1
- data/lib/doorflow-api/models/get_token_info200_response.rb +1 -1
- data/lib/doorflow-api/models/get_token_info200_response_application.rb +1 -1
- data/lib/doorflow-api/models/get_token_info401_response.rb +1 -1
- data/lib/doorflow-api/models/group.rb +1 -1
- data/lib/doorflow-api/models/group_reservation.rb +1 -1
- data/lib/doorflow-api/models/group_reservation_input.rb +1 -1
- data/lib/doorflow-api/models/group_reservation_input_group_reservation.rb +1 -1
- data/lib/doorflow-api/models/initiate_sync429_response.rb +1 -1
- data/lib/doorflow-api/models/linked_file.rb +217 -0
- data/lib/doorflow-api/models/list_events400_response.rb +1 -1
- data/lib/doorflow-api/models/lockdown_channel_request.rb +1 -1
- data/lib/doorflow-api/models/notification_rule.rb +1 -1
- data/lib/doorflow-api/models/notification_rule_actions_inner.rb +1 -1
- data/lib/doorflow-api/models/notification_rule_conditions_inner.rb +1 -1
- data/lib/doorflow-api/models/notification_rule_events_inner.rb +1 -1
- data/lib/doorflow-api/models/notification_rule_input.rb +1 -1
- data/lib/doorflow-api/models/person.rb +30 -8
- data/lib/doorflow-api/models/person_input.rb +1 -1
- data/lib/doorflow-api/models/reservation.rb +1 -1
- data/lib/doorflow-api/models/reservation_input.rb +1 -1
- data/lib/doorflow-api/models/revoke_token403_response.rb +1 -1
- data/lib/doorflow-api/models/role.rb +1 -1
- data/lib/doorflow-api/models/site.rb +1 -1
- data/lib/doorflow-api/models/site_site_ips_inner.rb +1 -1
- data/lib/doorflow-api/models/unlock_channel_request.rb +1 -1
- data/lib/doorflow-api/version.rb +2 -2
- data/lib/doorflow-api.rb +28 -9
- data/lib/doorflow.rb +8 -2
- metadata +45 -154
- data/spec/api/admission_requests_api_spec.rb +0 -47
- data/spec/api/channels_api_spec.rb +0 -174
- data/spec/api/credential_types_api_spec.rb +0 -49
- data/spec/api/group_reservations_api_spec.rb +0 -75
- data/spec/api/oauth_api_spec.rb +0 -97
- data/spec/doorflow/client_spec.rb +0 -109
- data/spec/doorflow_spec.rb +0 -22
- data/spec/fixtures/vcr_cassettes/channel/list.yml +0 -70
- data/spec/fixtures/vcr_cassettes/channel/retrieve.yml +0 -131
- data/spec/fixtures/vcr_cassettes/person/auto_pagination.yml +0 -87
- data/spec/fixtures/vcr_cassettes/person/create.yml +0 -64
- data/spec/fixtures/vcr_cassettes/person/delete.yml +0 -125
- data/spec/fixtures/vcr_cassettes/person/list.yml +0 -90
- data/spec/fixtures/vcr_cassettes/person/not_found.yml +0 -62
- data/spec/fixtures/vcr_cassettes/person/retrieve.yml +0 -136
- data/spec/fixtures/vcr_cassettes/person/update.yml +0 -260
- data/spec/fixtures/vcr_cassettes/person/validation_error.yml +0 -62
- data/spec/integration/channel_spec.rb +0 -88
- data/spec/integration/person_spec.rb +0 -99
- data/spec/models/account_passport_spec.rb +0 -42
- data/spec/models/account_reseller_spec.rb +0 -60
- data/spec/models/account_sync_spec.rb +0 -52
- data/spec/models/account_user_spec.rb +0 -54
- data/spec/models/admission_request_door_controller_spec.rb +0 -42
- data/spec/models/admission_request_person_spec.rb +0 -42
- data/spec/models/admission_request_spec.rb +0 -82
- data/spec/models/admit_channel202_response_spec.rb +0 -46
- data/spec/models/admit_person202_response_spec.rb +0 -46
- data/spec/models/admit_person403_response_spec.rb +0 -42
- data/spec/models/admit_person_request_spec.rb +0 -36
- data/spec/models/auto_unlock_channel400_response_spec.rb +0 -42
- data/spec/models/auto_unlock_channel_request_spec.rb +0 -36
- data/spec/models/channel_auto_unlock_spec.rb +0 -42
- data/spec/models/channel_lockdown_aux_lockdown_spec.rb +0 -36
- data/spec/models/channel_lockdown_card_lockdown_spec.rb +0 -36
- data/spec/models/channel_lockdown_rex_lockdown_spec.rb +0 -36
- data/spec/models/channel_lockdown_spec.rb +0 -54
- data/spec/models/channel_mode_spec.rb +0 -52
- data/spec/models/channel_sync_spec.rb +0 -46
- data/spec/models/create_credential422_response_errors_spec.rb +0 -48
- data/spec/models/create_credential422_response_spec.rb +0 -42
- data/spec/models/credential_input_person_credential_spec.rb +0 -48
- data/spec/models/credential_input_spec.rb +0 -36
- data/spec/models/credential_spec.rb +0 -86
- data/spec/models/credential_update_input_person_credential_spec.rb +0 -36
- data/spec/models/credential_update_input_spec.rb +0 -36
- data/spec/models/delete_group_reservation200_response_spec.rb +0 -36
- data/spec/models/error_spec.rb +0 -42
- data/spec/models/get_access_token200_response_spec.rb +0 -66
- data/spec/models/get_access_token400_response_spec.rb +0 -46
- data/spec/models/get_access_token401_response_spec.rb +0 -42
- data/spec/models/get_admission_request401_response_spec.rb +0 -42
- data/spec/models/get_admission_request403_response_spec.rb +0 -42
- data/spec/models/get_admission_request404_response_spec.rb +0 -42
- data/spec/models/get_admission_request500_response_spec.rb +0 -42
- data/spec/models/get_token_info200_response_application_spec.rb +0 -36
- data/spec/models/get_token_info200_response_spec.rb +0 -66
- data/spec/models/get_token_info401_response_spec.rb +0 -42
- data/spec/models/group_reservation_input_group_reservation_spec.rb +0 -54
- data/spec/models/group_reservation_input_spec.rb +0 -36
- data/spec/models/group_reservation_spec.rb +0 -82
- data/spec/models/initiate_sync429_response_spec.rb +0 -52
- data/spec/models/list_events400_response_spec.rb +0 -42
- data/spec/models/lockdown_channel_request_spec.rb +0 -48
- data/spec/models/notification_rule_actions_inner_spec.rb +0 -48
- data/spec/models/notification_rule_conditions_inner_spec.rb +0 -48
- data/spec/models/notification_rule_events_inner_spec.rb +0 -42
- data/spec/models/notification_rule_input_spec.rb +0 -60
- data/spec/models/person_input_spec.rb +0 -180
- data/spec/models/reservation_input_spec.rb +0 -60
- data/spec/models/revoke_token403_response_spec.rb +0 -42
- data/spec/models/site_site_ips_inner_spec.rb +0 -36
- data/spec/models/unlock_channel_request_spec.rb +0 -36
- data/spec/spec_helper.rb +0 -160
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AccountUser
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AccountUser do
|
|
21
|
-
#let(:instance) { DoorFlow::AccountUser.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AccountUser' do
|
|
24
|
-
it 'should create an instance of AccountUser' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AccountUser)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "id"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "first_name"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "last_name"' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
describe 'test attribute "email"' do
|
|
49
|
-
it 'should work' do
|
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
end
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AdmissionRequestDoorController
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AdmissionRequestDoorController do
|
|
21
|
-
#let(:instance) { DoorFlow::AdmissionRequestDoorController.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AdmissionRequestDoorController' do
|
|
24
|
-
it 'should create an instance of AdmissionRequestDoorController' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AdmissionRequestDoorController)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "id"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "name"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
end
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AdmissionRequestPerson
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AdmissionRequestPerson do
|
|
21
|
-
#let(:instance) { DoorFlow::AdmissionRequestPerson.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AdmissionRequestPerson' do
|
|
24
|
-
it 'should create an instance of AdmissionRequestPerson' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AdmissionRequestPerson)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "id"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "name"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
end
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AdmissionRequest
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AdmissionRequest do
|
|
21
|
-
#let(:instance) { DoorFlow::AdmissionRequest.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AdmissionRequest' do
|
|
24
|
-
it 'should create an instance of AdmissionRequest' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AdmissionRequest)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "id"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "status"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "admitted", "denied", "offline", "timeout"])
|
|
40
|
-
# validator.allowable_values.each do |value|
|
|
41
|
-
# expect { instance.status = value }.not_to raise_error
|
|
42
|
-
# end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "channel_id"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
describe 'test attribute "person_id"' do
|
|
53
|
-
it 'should work' do
|
|
54
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
describe 'test attribute "requested_at"' do
|
|
59
|
-
it 'should work' do
|
|
60
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
describe 'test attribute "completed_at"' do
|
|
65
|
-
it 'should work' do
|
|
66
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
describe 'test attribute "door_controller"' do
|
|
71
|
-
it 'should work' do
|
|
72
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
describe 'test attribute "person"' do
|
|
77
|
-
it 'should work' do
|
|
78
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
end
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AdmitChannel202Response
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AdmitChannel202Response do
|
|
21
|
-
#let(:instance) { DoorFlow::AdmitChannel202Response.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AdmitChannel202Response' do
|
|
24
|
-
it 'should create an instance of AdmitChannel202Response' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AdmitChannel202Response)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "admission_request_id"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "status"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "admitted", "denied", "offline"])
|
|
40
|
-
# validator.allowable_values.each do |value|
|
|
41
|
-
# expect { instance.status = value }.not_to raise_error
|
|
42
|
-
# end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
end
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AdmitPerson202Response
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AdmitPerson202Response do
|
|
21
|
-
#let(:instance) { DoorFlow::AdmitPerson202Response.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AdmitPerson202Response' do
|
|
24
|
-
it 'should create an instance of AdmitPerson202Response' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AdmitPerson202Response)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "admission_request_id"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "status"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "admitted", "denied", "offline"])
|
|
40
|
-
# validator.allowable_values.each do |value|
|
|
41
|
-
# expect { instance.status = value }.not_to raise_error
|
|
42
|
-
# end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
end
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AdmitPerson403Response
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AdmitPerson403Response do
|
|
21
|
-
#let(:instance) { DoorFlow::AdmitPerson403Response.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AdmitPerson403Response' do
|
|
24
|
-
it 'should create an instance of AdmitPerson403Response' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AdmitPerson403Response)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "error"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "reason"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AdmitPersonRequest
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AdmitPersonRequest do
|
|
21
|
-
#let(:instance) { DoorFlow::AdmitPersonRequest.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AdmitPersonRequest' do
|
|
24
|
-
it 'should create an instance of AdmitPersonRequest' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AdmitPersonRequest)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "person_id"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AutoUnlockChannel400Response
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AutoUnlockChannel400Response do
|
|
21
|
-
#let(:instance) { DoorFlow::AutoUnlockChannel400Response.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AutoUnlockChannel400Response' do
|
|
24
|
-
it 'should create an instance of AutoUnlockChannel400Response' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AutoUnlockChannel400Response)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "success"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "message"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::AutoUnlockChannelRequest
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::AutoUnlockChannelRequest do
|
|
21
|
-
#let(:instance) { DoorFlow::AutoUnlockChannelRequest.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of AutoUnlockChannelRequest' do
|
|
24
|
-
it 'should create an instance of AutoUnlockChannelRequest' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::AutoUnlockChannelRequest)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "shift_id"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::ChannelAutoUnlock
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::ChannelAutoUnlock do
|
|
21
|
-
#let(:instance) { DoorFlow::ChannelAutoUnlock.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of ChannelAutoUnlock' do
|
|
24
|
-
it 'should create an instance of ChannelAutoUnlock' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::ChannelAutoUnlock)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "id"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "name"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::ChannelLockdownAuxLockdown
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::ChannelLockdownAuxLockdown do
|
|
21
|
-
#let(:instance) { DoorFlow::ChannelLockdownAuxLockdown.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of ChannelLockdownAuxLockdown' do
|
|
24
|
-
it 'should create an instance of ChannelLockdownAuxLockdown' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::ChannelLockdownAuxLockdown)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "state"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::ChannelLockdownCardLockdown
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::ChannelLockdownCardLockdown do
|
|
21
|
-
#let(:instance) { DoorFlow::ChannelLockdownCardLockdown.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of ChannelLockdownCardLockdown' do
|
|
24
|
-
it 'should create an instance of ChannelLockdownCardLockdown' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::ChannelLockdownCardLockdown)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "state"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::ChannelLockdownRexLockdown
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::ChannelLockdownRexLockdown do
|
|
21
|
-
#let(:instance) { DoorFlow::ChannelLockdownRexLockdown.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of ChannelLockdownRexLockdown' do
|
|
24
|
-
it 'should create an instance of ChannelLockdownRexLockdown' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::ChannelLockdownRexLockdown)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "state"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#DoorFlow API
|
|
3
|
-
|
|
4
|
-
#Access control and door management API for DoorFlow
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for DoorFlow::ChannelLockdown
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe DoorFlow::ChannelLockdown do
|
|
21
|
-
#let(:instance) { DoorFlow::ChannelLockdown.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of ChannelLockdown' do
|
|
24
|
-
it 'should create an instance of ChannelLockdown' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(DoorFlow::ChannelLockdown)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "message"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "card_lockdown"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "rex_lockdown"' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
describe 'test attribute "aux_lockdown"' do
|
|
49
|
-
it 'should work' do
|
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
end
|