xbim_comms 2.0.0 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. metadata +5 -148
  3. data/Gemfile +0 -9
  4. data/README.md +0 -210
  5. data/Rakefile +0 -10
  6. data/lib/xbim_comms/api/contacts_api.rb +0 -206
  7. data/lib/xbim_comms/api/conversations_api.rb +0 -2670
  8. data/lib/xbim_comms/api/files_api.rb +0 -107
  9. data/lib/xbim_comms/api/snapshots_api.rb +0 -100
  10. data/lib/xbim_comms/api_client.rb +0 -390
  11. data/lib/xbim_comms/api_error.rb +0 -57
  12. data/lib/xbim_comms/configuration.rb +0 -278
  13. data/lib/xbim_comms/models/aggregate.rb +0 -227
  14. data/lib/xbim_comms/models/aggregate_list_value.rb +0 -220
  15. data/lib/xbim_comms/models/analytical_result.rb +0 -270
  16. data/lib/xbim_comms/models/analytical_result_all_of.rb +0 -258
  17. data/lib/xbim_comms/models/animation.rb +0 -232
  18. data/lib/xbim_comms/models/animation_all_of.rb +0 -220
  19. data/lib/xbim_comms/models/bitmap.rb +0 -303
  20. data/lib/xbim_comms/models/blob.rb +0 -245
  21. data/lib/xbim_comms/models/boolean_value.rb +0 -218
  22. data/lib/xbim_comms/models/clipping_plane.rb +0 -231
  23. data/lib/xbim_comms/models/coloring.rb +0 -229
  24. data/lib/xbim_comms/models/column_request.rb +0 -279
  25. data/lib/xbim_comms/models/component.rb +0 -236
  26. data/lib/xbim_comms/models/components.rb +0 -240
  27. data/lib/xbim_comms/models/contact.rb +0 -227
  28. data/lib/xbim_comms/models/contact_list.rb +0 -238
  29. data/lib/xbim_comms/models/conversation.rb +0 -392
  30. data/lib/xbim_comms/models/conversation_create.rb +0 -273
  31. data/lib/xbim_comms/models/conversation_list.rb +0 -238
  32. data/lib/xbim_comms/models/conversation_tenant.rb +0 -254
  33. data/lib/xbim_comms/models/conversation_update.rb +0 -302
  34. data/lib/xbim_comms/models/entity_key.rb +0 -227
  35. data/lib/xbim_comms/models/exception_message.rb +0 -245
  36. data/lib/xbim_comms/models/file.rb +0 -266
  37. data/lib/xbim_comms/models/file_all_of.rb +0 -254
  38. data/lib/xbim_comms/models/int32_value.rb +0 -218
  39. data/lib/xbim_comms/models/key_frame.rb +0 -236
  40. data/lib/xbim_comms/models/line.rb +0 -231
  41. data/lib/xbim_comms/models/message.rb +0 -416
  42. data/lib/xbim_comms/models/message_content.rb +0 -220
  43. data/lib/xbim_comms/models/message_create.rb +0 -273
  44. data/lib/xbim_comms/models/message_list.rb +0 -238
  45. data/lib/xbim_comms/models/message_part.rb +0 -246
  46. data/lib/xbim_comms/models/message_update.rb +0 -297
  47. data/lib/xbim_comms/models/orthogonal_camera.rb +0 -269
  48. data/lib/xbim_comms/models/participant.rb +0 -232
  49. data/lib/xbim_comms/models/participant_with_role.rb +0 -293
  50. data/lib/xbim_comms/models/participant_with_role_create.rb +0 -266
  51. data/lib/xbim_comms/models/participant_with_role_list.rb +0 -238
  52. data/lib/xbim_comms/models/participant_with_role_update.rb +0 -261
  53. data/lib/xbim_comms/models/perspective_camera.rb +0 -269
  54. data/lib/xbim_comms/models/pie_chart.rb +0 -257
  55. data/lib/xbim_comms/models/pie_chart_all_of.rb +0 -245
  56. data/lib/xbim_comms/models/point.rb +0 -227
  57. data/lib/xbim_comms/models/preview_row.rb +0 -220
  58. data/lib/xbim_comms/models/schedule.rb +0 -270
  59. data/lib/xbim_comms/models/schedule_all_of.rb +0 -258
  60. data/lib/xbim_comms/models/schedule_column.rb +0 -384
  61. data/lib/xbim_comms/models/schedule_request.rb +0 -252
  62. data/lib/xbim_comms/models/schedule_request_all_of.rb +0 -240
  63. data/lib/xbim_comms/models/section_box.rb +0 -274
  64. data/lib/xbim_comms/models/sheet.rb +0 -268
  65. data/lib/xbim_comms/models/sheet_all_of.rb +0 -256
  66. data/lib/xbim_comms/models/sheet_part.rb +0 -254
  67. data/lib/xbim_comms/models/snapshot.rb +0 -270
  68. data/lib/xbim_comms/models/text.rb +0 -220
  69. data/lib/xbim_comms/models/view.rb +0 -239
  70. data/lib/xbim_comms/models/view_all_of.rb +0 -227
  71. data/lib/xbim_comms/models/view_setup_hints.rb +0 -236
  72. data/lib/xbim_comms/models/viewpoint.rb +0 -296
  73. data/lib/xbim_comms/models/visibility.rb +0 -238
  74. data/lib/xbim_comms/version.rb +0 -15
  75. data/lib/xbim_comms.rb +0 -104
  76. data/spec/api/contacts_api_spec.rb +0 -74
  77. data/spec/api/conversations_api_spec.rb +0 -521
  78. data/spec/api/files_api_spec.rb +0 -50
  79. data/spec/api/snapshots_api_spec.rb +0 -49
  80. data/spec/api_client_spec.rb +0 -226
  81. data/spec/configuration_spec.rb +0 -42
  82. data/spec/models/aggregate_list_value_spec.rb +0 -34
  83. data/spec/models/aggregate_spec.rb +0 -40
  84. data/spec/models/analytical_result_all_of_spec.rb +0 -58
  85. data/spec/models/analytical_result_spec.rb +0 -58
  86. data/spec/models/animation_all_of_spec.rb +0 -34
  87. data/spec/models/animation_spec.rb +0 -34
  88. data/spec/models/bitmap_spec.rb +0 -68
  89. data/spec/models/blob_spec.rb +0 -52
  90. data/spec/models/boolean_value_spec.rb +0 -34
  91. data/spec/models/clipping_plane_spec.rb +0 -40
  92. data/spec/models/coloring_spec.rb +0 -40
  93. data/spec/models/column_request_spec.rb +0 -56
  94. data/spec/models/component_spec.rb +0 -46
  95. data/spec/models/components_spec.rb +0 -46
  96. data/spec/models/contact_list_spec.rb +0 -46
  97. data/spec/models/contact_spec.rb +0 -40
  98. data/spec/models/conversation_create_spec.rb +0 -64
  99. data/spec/models/conversation_list_spec.rb +0 -46
  100. data/spec/models/conversation_spec.rb +0 -122
  101. data/spec/models/conversation_tenant_spec.rb +0 -58
  102. data/spec/models/conversation_update_spec.rb +0 -68
  103. data/spec/models/entity_key_spec.rb +0 -40
  104. data/spec/models/exception_message_spec.rb +0 -52
  105. data/spec/models/file_all_of_spec.rb +0 -58
  106. data/spec/models/file_spec.rb +0 -58
  107. data/spec/models/int32_value_spec.rb +0 -34
  108. data/spec/models/key_frame_spec.rb +0 -46
  109. data/spec/models/line_spec.rb +0 -40
  110. data/spec/models/message_content_spec.rb +0 -34
  111. data/spec/models/message_create_spec.rb +0 -64
  112. data/spec/models/message_list_spec.rb +0 -46
  113. data/spec/models/message_part_spec.rb +0 -46
  114. data/spec/models/message_spec.rb +0 -146
  115. data/spec/models/message_update_spec.rb +0 -68
  116. data/spec/models/orthogonal_camera_spec.rb +0 -64
  117. data/spec/models/participant_spec.rb +0 -40
  118. data/spec/models/participant_with_role_create_spec.rb +0 -44
  119. data/spec/models/participant_with_role_list_spec.rb +0 -46
  120. data/spec/models/participant_with_role_spec.rb +0 -62
  121. data/spec/models/participant_with_role_update_spec.rb +0 -44
  122. data/spec/models/perspective_camera_spec.rb +0 -64
  123. data/spec/models/pie_chart_all_of_spec.rb +0 -52
  124. data/spec/models/pie_chart_spec.rb +0 -52
  125. data/spec/models/point_spec.rb +0 -40
  126. data/spec/models/preview_row_spec.rb +0 -34
  127. data/spec/models/schedule_all_of_spec.rb +0 -58
  128. data/spec/models/schedule_column_spec.rb +0 -118
  129. data/spec/models/schedule_request_all_of_spec.rb +0 -46
  130. data/spec/models/schedule_request_spec.rb +0 -46
  131. data/spec/models/schedule_spec.rb +0 -58
  132. data/spec/models/section_box_spec.rb +0 -70
  133. data/spec/models/sheet_all_of_spec.rb +0 -58
  134. data/spec/models/sheet_part_spec.rb +0 -58
  135. data/spec/models/sheet_spec.rb +0 -58
  136. data/spec/models/snapshot_spec.rb +0 -50
  137. data/spec/models/text_spec.rb +0 -28
  138. data/spec/models/view_all_of_spec.rb +0 -40
  139. data/spec/models/view_setup_hints_spec.rb +0 -46
  140. data/spec/models/view_spec.rb +0 -40
  141. data/spec/models/viewpoint_spec.rb +0 -82
  142. data/spec/models/visibility_spec.rb +0 -46
  143. data/spec/spec_helper.rb +0 -111
  144. data/xbim_comms-1.0.0.gem +0 -0
  145. data/xbim_comms.gemspec +0 -38
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0c7519850251ddd372ab6f339577eaeda6ec5f95bf01f5d633655502c349681
4
- data.tar.gz: 6c761703794206cc33f17ac972791b39d680a0ed2a986a58ea7188f511f4b17b
3
+ metadata.gz: 6229f3f8a4b9b8e8ba6e9eb2b12dc28b7c84578507ef2518922c084ef8983602
4
+ data.tar.gz: 9e87532b19d3f7d73d5c3626a90a9d0a75fa0482f0cd10035b45d0669a4f73d1
5
5
  SHA512:
6
- metadata.gz: 3141161f328b00404f6e4ea85419dee928b8ef6dec6636d32540eac3a8066a66bfd2b5ccd6161e8e4107e5d56c167094e355cb901a16c50728727ff934a75403
7
- data.tar.gz: dd89e247184c504e6f9acab04c9f6b1b2949e3a3afd5c8533e8935282b8d4946eddf72414bd28eacb73aa570b49b3a484528c311cab388cdef16057a598d5466
6
+ metadata.gz: 73cb888da9b0c354c076e40c4889263d3c2c79261b88a112668666354e3170e6ec0879ba147464a99baad3a5356aabc8114d858cfe206ad02a9a0cf2366e176d
7
+ data.tar.gz: 0accbfa4d17f17587590d8754bfcd1e666903817eb3c9ee385f0820be8af38a3395dac0c2c10550f1fdf8cf376aad93b8b1595b738a6075f6d7c325c07d1df2e
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xbim_comms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
- - XBIM.LTD
7
+ - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-17 00:00:00.000000000 Z
11
+ date: 2022-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -56,153 +56,10 @@ email:
56
56
  executables: []
57
57
  extensions: []
58
58
  extra_rdoc_files: []
59
- files:
60
- - "./Gemfile"
61
- - "./README.md"
62
- - "./Rakefile"
63
- - "./lib/xbim_comms.rb"
64
- - "./lib/xbim_comms/api/contacts_api.rb"
65
- - "./lib/xbim_comms/api/conversations_api.rb"
66
- - "./lib/xbim_comms/api/files_api.rb"
67
- - "./lib/xbim_comms/api/snapshots_api.rb"
68
- - "./lib/xbim_comms/api_client.rb"
69
- - "./lib/xbim_comms/api_error.rb"
70
- - "./lib/xbim_comms/configuration.rb"
71
- - "./lib/xbim_comms/models/aggregate.rb"
72
- - "./lib/xbim_comms/models/aggregate_list_value.rb"
73
- - "./lib/xbim_comms/models/analytical_result.rb"
74
- - "./lib/xbim_comms/models/analytical_result_all_of.rb"
75
- - "./lib/xbim_comms/models/animation.rb"
76
- - "./lib/xbim_comms/models/animation_all_of.rb"
77
- - "./lib/xbim_comms/models/bitmap.rb"
78
- - "./lib/xbim_comms/models/blob.rb"
79
- - "./lib/xbim_comms/models/boolean_value.rb"
80
- - "./lib/xbim_comms/models/clipping_plane.rb"
81
- - "./lib/xbim_comms/models/coloring.rb"
82
- - "./lib/xbim_comms/models/column_request.rb"
83
- - "./lib/xbim_comms/models/component.rb"
84
- - "./lib/xbim_comms/models/components.rb"
85
- - "./lib/xbim_comms/models/contact.rb"
86
- - "./lib/xbim_comms/models/contact_list.rb"
87
- - "./lib/xbim_comms/models/conversation.rb"
88
- - "./lib/xbim_comms/models/conversation_create.rb"
89
- - "./lib/xbim_comms/models/conversation_list.rb"
90
- - "./lib/xbim_comms/models/conversation_tenant.rb"
91
- - "./lib/xbim_comms/models/conversation_update.rb"
92
- - "./lib/xbim_comms/models/entity_key.rb"
93
- - "./lib/xbim_comms/models/exception_message.rb"
94
- - "./lib/xbim_comms/models/file.rb"
95
- - "./lib/xbim_comms/models/file_all_of.rb"
96
- - "./lib/xbim_comms/models/int32_value.rb"
97
- - "./lib/xbim_comms/models/key_frame.rb"
98
- - "./lib/xbim_comms/models/line.rb"
99
- - "./lib/xbim_comms/models/message.rb"
100
- - "./lib/xbim_comms/models/message_content.rb"
101
- - "./lib/xbim_comms/models/message_create.rb"
102
- - "./lib/xbim_comms/models/message_list.rb"
103
- - "./lib/xbim_comms/models/message_part.rb"
104
- - "./lib/xbim_comms/models/message_update.rb"
105
- - "./lib/xbim_comms/models/orthogonal_camera.rb"
106
- - "./lib/xbim_comms/models/participant.rb"
107
- - "./lib/xbim_comms/models/participant_with_role.rb"
108
- - "./lib/xbim_comms/models/participant_with_role_create.rb"
109
- - "./lib/xbim_comms/models/participant_with_role_list.rb"
110
- - "./lib/xbim_comms/models/participant_with_role_update.rb"
111
- - "./lib/xbim_comms/models/perspective_camera.rb"
112
- - "./lib/xbim_comms/models/pie_chart.rb"
113
- - "./lib/xbim_comms/models/pie_chart_all_of.rb"
114
- - "./lib/xbim_comms/models/point.rb"
115
- - "./lib/xbim_comms/models/preview_row.rb"
116
- - "./lib/xbim_comms/models/schedule.rb"
117
- - "./lib/xbim_comms/models/schedule_all_of.rb"
118
- - "./lib/xbim_comms/models/schedule_column.rb"
119
- - "./lib/xbim_comms/models/schedule_request.rb"
120
- - "./lib/xbim_comms/models/schedule_request_all_of.rb"
121
- - "./lib/xbim_comms/models/section_box.rb"
122
- - "./lib/xbim_comms/models/sheet.rb"
123
- - "./lib/xbim_comms/models/sheet_all_of.rb"
124
- - "./lib/xbim_comms/models/sheet_part.rb"
125
- - "./lib/xbim_comms/models/snapshot.rb"
126
- - "./lib/xbim_comms/models/text.rb"
127
- - "./lib/xbim_comms/models/view.rb"
128
- - "./lib/xbim_comms/models/view_all_of.rb"
129
- - "./lib/xbim_comms/models/view_setup_hints.rb"
130
- - "./lib/xbim_comms/models/viewpoint.rb"
131
- - "./lib/xbim_comms/models/visibility.rb"
132
- - "./lib/xbim_comms/version.rb"
133
- - "./spec/api/contacts_api_spec.rb"
134
- - "./spec/api/conversations_api_spec.rb"
135
- - "./spec/api/files_api_spec.rb"
136
- - "./spec/api/snapshots_api_spec.rb"
137
- - "./spec/api_client_spec.rb"
138
- - "./spec/configuration_spec.rb"
139
- - "./spec/models/aggregate_list_value_spec.rb"
140
- - "./spec/models/aggregate_spec.rb"
141
- - "./spec/models/analytical_result_all_of_spec.rb"
142
- - "./spec/models/analytical_result_spec.rb"
143
- - "./spec/models/animation_all_of_spec.rb"
144
- - "./spec/models/animation_spec.rb"
145
- - "./spec/models/bitmap_spec.rb"
146
- - "./spec/models/blob_spec.rb"
147
- - "./spec/models/boolean_value_spec.rb"
148
- - "./spec/models/clipping_plane_spec.rb"
149
- - "./spec/models/coloring_spec.rb"
150
- - "./spec/models/column_request_spec.rb"
151
- - "./spec/models/component_spec.rb"
152
- - "./spec/models/components_spec.rb"
153
- - "./spec/models/contact_list_spec.rb"
154
- - "./spec/models/contact_spec.rb"
155
- - "./spec/models/conversation_create_spec.rb"
156
- - "./spec/models/conversation_list_spec.rb"
157
- - "./spec/models/conversation_spec.rb"
158
- - "./spec/models/conversation_tenant_spec.rb"
159
- - "./spec/models/conversation_update_spec.rb"
160
- - "./spec/models/entity_key_spec.rb"
161
- - "./spec/models/exception_message_spec.rb"
162
- - "./spec/models/file_all_of_spec.rb"
163
- - "./spec/models/file_spec.rb"
164
- - "./spec/models/int32_value_spec.rb"
165
- - "./spec/models/key_frame_spec.rb"
166
- - "./spec/models/line_spec.rb"
167
- - "./spec/models/message_content_spec.rb"
168
- - "./spec/models/message_create_spec.rb"
169
- - "./spec/models/message_list_spec.rb"
170
- - "./spec/models/message_part_spec.rb"
171
- - "./spec/models/message_spec.rb"
172
- - "./spec/models/message_update_spec.rb"
173
- - "./spec/models/orthogonal_camera_spec.rb"
174
- - "./spec/models/participant_spec.rb"
175
- - "./spec/models/participant_with_role_create_spec.rb"
176
- - "./spec/models/participant_with_role_list_spec.rb"
177
- - "./spec/models/participant_with_role_spec.rb"
178
- - "./spec/models/participant_with_role_update_spec.rb"
179
- - "./spec/models/perspective_camera_spec.rb"
180
- - "./spec/models/pie_chart_all_of_spec.rb"
181
- - "./spec/models/pie_chart_spec.rb"
182
- - "./spec/models/point_spec.rb"
183
- - "./spec/models/preview_row_spec.rb"
184
- - "./spec/models/schedule_all_of_spec.rb"
185
- - "./spec/models/schedule_column_spec.rb"
186
- - "./spec/models/schedule_request_all_of_spec.rb"
187
- - "./spec/models/schedule_request_spec.rb"
188
- - "./spec/models/schedule_spec.rb"
189
- - "./spec/models/section_box_spec.rb"
190
- - "./spec/models/sheet_all_of_spec.rb"
191
- - "./spec/models/sheet_part_spec.rb"
192
- - "./spec/models/sheet_spec.rb"
193
- - "./spec/models/snapshot_spec.rb"
194
- - "./spec/models/text_spec.rb"
195
- - "./spec/models/view_all_of_spec.rb"
196
- - "./spec/models/view_setup_hints_spec.rb"
197
- - "./spec/models/view_spec.rb"
198
- - "./spec/models/viewpoint_spec.rb"
199
- - "./spec/models/visibility_spec.rb"
200
- - "./spec/spec_helper.rb"
201
- - "./xbim_comms-1.0.0.gem"
202
- - "./xbim_comms.gemspec"
59
+ files: []
203
60
  homepage: https://openapi-generator.tech
204
61
  licenses:
205
- - MIT
62
+ - Unlicense
206
63
  metadata: {}
207
64
  post_install_message:
208
65
  rdoc_options: []
data/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development, :test do
6
- gem 'rake', '~> 13.0.1'
7
- gem 'pry-byebug'
8
- gem 'rubocop', '~> 0.66.0'
9
- end
data/README.md DELETED
@@ -1,210 +0,0 @@
1
- # xbim_comms
2
-
3
- XbimComms - the Ruby gem for the Flex Comms API 2.0
4
-
5
- Communication centralised around construction data
6
-
7
- This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
-
9
- - API version: 2.0
10
- - Package version: 1.0.0
11
- - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
- For more information, please visit [https://xbim.net](https://xbim.net)
13
-
14
- ## Installation
15
-
16
- ### Build a gem
17
-
18
- To build the Ruby code into a gem:
19
-
20
- ```shell
21
- gem build xbim_comms.gemspec
22
- ```
23
-
24
- Then either install the gem locally:
25
-
26
- ```shell
27
- gem install ./xbim_comms-1.0.0.gem
28
- ```
29
-
30
- (for development, run `gem install --dev ./xbim_comms-1.0.0.gem` to install the development dependencies)
31
-
32
- or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
-
34
- Finally add this to the Gemfile:
35
-
36
- gem 'xbim_comms', '~> 1.0.0'
37
-
38
- ### Install from Git
39
-
40
- If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
41
-
42
- gem 'xbim_comms', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
43
-
44
- ### Include the Ruby code directly
45
-
46
- Include the Ruby code directly using `-I` as follows:
47
-
48
- ```shell
49
- ruby -Ilib script.rb
50
- ```
51
-
52
- ## Getting Started
53
-
54
- Please follow the [installation](#installation) procedure and then run the following code:
55
-
56
- ```ruby
57
- # Load the gem
58
- require 'xbim_comms'
59
-
60
- # Setup authorization
61
- XbimComms.configure do |config|
62
- # Configure OAuth2 access token for authorization: oauth2
63
- config.access_token = 'YOUR ACCESS TOKEN'
64
- end
65
-
66
- api_instance = XbimComms::ContactsApi.new
67
- term = 'term_example' # String |
68
- region = 'UK' # String | The data center region the data resides in
69
- opts = {
70
- expand: 'expand_example', # String |
71
- filter: 'filter_example', # String |
72
- select: 'select_example', # String |
73
- orderby: 'orderby_example', # String |
74
- top: 56, # Integer |
75
- skip: 56, # Integer |
76
- count: true # Boolean |
77
- }
78
-
79
- begin
80
- #Get Contacts search
81
- result = api_instance.contacts_search(term, region, opts)
82
- p result
83
- rescue XbimComms::ApiError => e
84
- puts "Exception when calling ContactsApi->contacts_search: #{e}"
85
- end
86
-
87
- ```
88
-
89
- ## Documentation for API Endpoints
90
-
91
- All URIs are relative to *https://apis.xbim-dev.net*
92
-
93
- Class | Method | HTTP request | Description
94
- ------------ | ------------- | ------------- | -------------
95
- *XbimComms::ContactsApi* | [**contacts_search**](docs/ContactsApi.md#contacts_search) | **GET** /{region}/comms/2.0/Contacts/Search(Term={term}) | Get Contacts search
96
- *XbimComms::ContactsApi* | [**get_contacts**](docs/ContactsApi.md#get_contacts) | **GET** /{region}/comms/2.0/Contacts | Get Contacts
97
- *XbimComms::ConversationsApi* | [**aggregate_data**](docs/ConversationsApi.md#aggregate_data) | **GET** /{region}/comms/2.0/Conversations/Aggregate() | Aggregates conversation data efficiently for reporting purposes
98
- *XbimComms::ConversationsApi* | [**clone_conversation**](docs/ConversationsApi.md#clone_conversation) | **GET** /{region}/comms/2.0/Conversations/{key}/Clone | Get Conversations clone conversation
99
- *XbimComms::ConversationsApi* | [**delete_conversation**](docs/ConversationsApi.md#delete_conversation) | **DELETE** /{region}/comms/2.0/Conversations/{key} | Delete Conversations conversation
100
- *XbimComms::ConversationsApi* | [**delete_file**](docs/ConversationsApi.md#delete_file) | **DELETE** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Files({fileId}) | Delete Conversations file
101
- *XbimComms::ConversationsApi* | [**delete_message**](docs/ConversationsApi.md#delete_message) | **DELETE** /{region}/comms/2.0/Conversations({conversationId})/Messages({id}) | Delete Conversations message
102
- *XbimComms::ConversationsApi* | [**delete_message_part**](docs/ConversationsApi.md#delete_message_part) | **DELETE** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Delete | Delete Conversations message part
103
- *XbimComms::ConversationsApi* | [**delete_participant**](docs/ConversationsApi.md#delete_participant) | **DELETE** /{region}/comms/2.0/Conversations({conversationId})/Participants({id}) | Delete Conversations participant
104
- *XbimComms::ConversationsApi* | [**get_conversations**](docs/ConversationsApi.md#get_conversations) | **GET** /{region}/comms/2.0/Conversations | Get Conversations
105
- *XbimComms::ConversationsApi* | [**get_conversations_by_id**](docs/ConversationsApi.md#get_conversations_by_id) | **GET** /{region}/comms/2.0/Conversations/{key} | Get Conversations by id
106
- *XbimComms::ConversationsApi* | [**get_demo_conversation**](docs/ConversationsApi.md#get_demo_conversation) | **GET** /{region}/comms/2.0/Conversations/Demo | Get Conversations demo conversation
107
- *XbimComms::ConversationsApi* | [**get_file**](docs/ConversationsApi.md#get_file) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Files({fileId}) | Get Conversations file
108
- *XbimComms::ConversationsApi* | [**get_files**](docs/ConversationsApi.md#get_files) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Files | Get Conversations files
109
- *XbimComms::ConversationsApi* | [**get_message_by_id**](docs/ConversationsApi.md#get_message_by_id) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Messages({id}) | Get Conversations message by id
110
- *XbimComms::ConversationsApi* | [**get_messages**](docs/ConversationsApi.md#get_messages) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Messages | Get Conversations messages
111
- *XbimComms::ConversationsApi* | [**get_participiants**](docs/ConversationsApi.md#get_participiants) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Participants | Get Conversations participiants
112
- *XbimComms::ConversationsApi* | [**import_bcf_file**](docs/ConversationsApi.md#import_bcf_file) | **POST** /{region}/comms/2.0/Conversations/ImportBcf | Imports a BCF File's Topics and Markup as one or more Flex conversations
113
- *XbimComms::ConversationsApi* | [**insert_message_part**](docs/ConversationsApi.md#insert_message_part) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Insert | Post Conversations insert message part
114
- *XbimComms::ConversationsApi* | [**mode_message_part**](docs/ConversationsApi.md#mode_message_part) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Move | Post Conversations mode message part
115
- *XbimComms::ConversationsApi* | [**patch_conversation**](docs/ConversationsApi.md#patch_conversation) | **PATCH** /{region}/comms/2.0/Conversations/{key} | Patch Conversations conversation
116
- *XbimComms::ConversationsApi* | [**patch_message**](docs/ConversationsApi.md#patch_message) | **PATCH** /{region}/comms/2.0/Conversations({conversationId})/Messages({id}) | Patch Conversations message
117
- *XbimComms::ConversationsApi* | [**patch_participant**](docs/ConversationsApi.md#patch_participant) | **PATCH** /{region}/comms/2.0/Conversations({conversationId})/Participants({id}) | Patch Conversations participant
118
- *XbimComms::ConversationsApi* | [**post_conversation**](docs/ConversationsApi.md#post_conversation) | **POST** /{region}/comms/2.0/Conversations | Post Conversations conversation
119
- *XbimComms::ConversationsApi* | [**post_file**](docs/ConversationsApi.md#post_file) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Files | Post Conversations file
120
- *XbimComms::ConversationsApi* | [**post_message**](docs/ConversationsApi.md#post_message) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages | Post Conversations message
121
- *XbimComms::ConversationsApi* | [**post_participant**](docs/ConversationsApi.md#post_participant) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Participants | Post Conversations participant
122
- *XbimComms::ConversationsApi* | [**put_message_part**](docs/ConversationsApi.md#put_message_part) | **PUT** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Set | Put Conversations message part
123
- *XbimComms::ConversationsApi* | [**put_participants**](docs/ConversationsApi.md#put_participants) | **PUT** /{region}/comms/2.0/Conversations({conversationId})/Participants | Put Conversations participants
124
- *XbimComms::ConversationsApi* | [**send_clone_conversation**](docs/ConversationsApi.md#send_clone_conversation) | **GET** /{region}/comms/2.0/Conversations/{key}/SendClone | Get Conversations send clone conversation
125
- *XbimComms::ConversationsApi* | [**send_message**](docs/ConversationsApi.md#send_message) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Send | Post Conversations send message
126
- *XbimComms::ConversationsApi* | [**set_message_state**](docs/ConversationsApi.md#set_message_state) | **PUT** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/SetState | Put Conversations set message state
127
- *XbimComms::ConversationsApi* | [**swap_message_parts**](docs/ConversationsApi.md#swap_message_parts) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Swap | Post Conversations swap message parts
128
- *XbimComms::FilesApi* | [**files_get_file**](docs/FilesApi.md#files_get_file) | **GET** /{region}/comms/2.0/Files/{hash}/{fileId} | Gets a File Blob from a Message
129
- *XbimComms::SnapshotsApi* | [**snapshots_get_snapshot**](docs/SnapshotsApi.md#snapshots_get_snapshot) | **GET** /{region}/comms/2.0/Snapshots/{hash}/{fileId} | Gets a File Blob from a Message
130
-
131
-
132
- ## Documentation for Models
133
-
134
- - [XbimComms::Aggregate](docs/Aggregate.md)
135
- - [XbimComms::AggregateListValue](docs/AggregateListValue.md)
136
- - [XbimComms::AnalyticalResult](docs/AnalyticalResult.md)
137
- - [XbimComms::AnalyticalResultAllOf](docs/AnalyticalResultAllOf.md)
138
- - [XbimComms::Animation](docs/Animation.md)
139
- - [XbimComms::AnimationAllOf](docs/AnimationAllOf.md)
140
- - [XbimComms::Bitmap](docs/Bitmap.md)
141
- - [XbimComms::Blob](docs/Blob.md)
142
- - [XbimComms::BooleanValue](docs/BooleanValue.md)
143
- - [XbimComms::ClippingPlane](docs/ClippingPlane.md)
144
- - [XbimComms::Coloring](docs/Coloring.md)
145
- - [XbimComms::ColumnRequest](docs/ColumnRequest.md)
146
- - [XbimComms::Component](docs/Component.md)
147
- - [XbimComms::Components](docs/Components.md)
148
- - [XbimComms::Contact](docs/Contact.md)
149
- - [XbimComms::ContactList](docs/ContactList.md)
150
- - [XbimComms::Conversation](docs/Conversation.md)
151
- - [XbimComms::ConversationCreate](docs/ConversationCreate.md)
152
- - [XbimComms::ConversationList](docs/ConversationList.md)
153
- - [XbimComms::ConversationTenant](docs/ConversationTenant.md)
154
- - [XbimComms::ConversationUpdate](docs/ConversationUpdate.md)
155
- - [XbimComms::EntityKey](docs/EntityKey.md)
156
- - [XbimComms::ExceptionMessage](docs/ExceptionMessage.md)
157
- - [XbimComms::File](docs/File.md)
158
- - [XbimComms::FileAllOf](docs/FileAllOf.md)
159
- - [XbimComms::Int32Value](docs/Int32Value.md)
160
- - [XbimComms::KeyFrame](docs/KeyFrame.md)
161
- - [XbimComms::Line](docs/Line.md)
162
- - [XbimComms::Message](docs/Message.md)
163
- - [XbimComms::MessageContent](docs/MessageContent.md)
164
- - [XbimComms::MessageCreate](docs/MessageCreate.md)
165
- - [XbimComms::MessageList](docs/MessageList.md)
166
- - [XbimComms::MessagePart](docs/MessagePart.md)
167
- - [XbimComms::MessageUpdate](docs/MessageUpdate.md)
168
- - [XbimComms::OrthogonalCamera](docs/OrthogonalCamera.md)
169
- - [XbimComms::Participant](docs/Participant.md)
170
- - [XbimComms::ParticipantWithRole](docs/ParticipantWithRole.md)
171
- - [XbimComms::ParticipantWithRoleCreate](docs/ParticipantWithRoleCreate.md)
172
- - [XbimComms::ParticipantWithRoleList](docs/ParticipantWithRoleList.md)
173
- - [XbimComms::ParticipantWithRoleUpdate](docs/ParticipantWithRoleUpdate.md)
174
- - [XbimComms::PerspectiveCamera](docs/PerspectiveCamera.md)
175
- - [XbimComms::PieChart](docs/PieChart.md)
176
- - [XbimComms::PieChartAllOf](docs/PieChartAllOf.md)
177
- - [XbimComms::Point](docs/Point.md)
178
- - [XbimComms::PreviewRow](docs/PreviewRow.md)
179
- - [XbimComms::Schedule](docs/Schedule.md)
180
- - [XbimComms::ScheduleAllOf](docs/ScheduleAllOf.md)
181
- - [XbimComms::ScheduleColumn](docs/ScheduleColumn.md)
182
- - [XbimComms::ScheduleRequest](docs/ScheduleRequest.md)
183
- - [XbimComms::ScheduleRequestAllOf](docs/ScheduleRequestAllOf.md)
184
- - [XbimComms::SectionBox](docs/SectionBox.md)
185
- - [XbimComms::Sheet](docs/Sheet.md)
186
- - [XbimComms::SheetAllOf](docs/SheetAllOf.md)
187
- - [XbimComms::SheetPart](docs/SheetPart.md)
188
- - [XbimComms::Snapshot](docs/Snapshot.md)
189
- - [XbimComms::Text](docs/Text.md)
190
- - [XbimComms::View](docs/View.md)
191
- - [XbimComms::ViewAllOf](docs/ViewAllOf.md)
192
- - [XbimComms::ViewSetupHints](docs/ViewSetupHints.md)
193
- - [XbimComms::Viewpoint](docs/Viewpoint.md)
194
- - [XbimComms::Visibility](docs/Visibility.md)
195
-
196
-
197
- ## Documentation for Authorization
198
-
199
-
200
- ### oauth2
201
-
202
-
203
- - **Type**: OAuth
204
- - **Flow**: implicit
205
- - **Authorization URL**: https://apis.xbim-dev.net/connect/authorize
206
- - **Scopes**:
207
- - comms.read: Reading from Comms API
208
- - comms.write: Writing to Comms API
209
- - api.admin: Super-user administrator
210
-
data/Rakefile DELETED
@@ -1,10 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- begin
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
- task default: :spec
8
- rescue LoadError
9
- # no rspec available
10
- end
@@ -1,206 +0,0 @@
1
- =begin
2
- #Flex Comms API 2.0
3
-
4
- #Communication centralised around construction data
5
-
6
- The version of the OpenAPI document: 2.0
7
- Contact: info@xbim.net
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module XbimComms
16
- class ContactsApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Get Contacts search
23
- # <span style='font-size: 17px;'>Summary:</span>Return Type: <b>ContactList</b><br/><br/>
24
- # @param term [String]
25
- # @param region [String] The data center region the data resides in
26
- # @param [Hash] opts the optional parameters
27
- # @option opts [String] :expand
28
- # @option opts [String] :filter
29
- # @option opts [String] :select
30
- # @option opts [String] :orderby
31
- # @option opts [Integer] :top
32
- # @option opts [Integer] :skip
33
- # @option opts [Boolean] :count
34
- # @return [ContactList]
35
- def contacts_search(term, region, opts = {})
36
- data, _status_code, _headers = contacts_search_with_http_info(term, region, opts)
37
- data
38
- end
39
-
40
- # Get Contacts search
41
- # &lt;span style&#x3D;&#39;font-size: 17px;&#39;&gt;Summary:&lt;/span&gt;Return Type: &lt;b&gt;ContactList&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;
42
- # @param term [String]
43
- # @param region [String] The data center region the data resides in
44
- # @param [Hash] opts the optional parameters
45
- # @option opts [String] :expand
46
- # @option opts [String] :filter
47
- # @option opts [String] :select
48
- # @option opts [String] :orderby
49
- # @option opts [Integer] :top
50
- # @option opts [Integer] :skip
51
- # @option opts [Boolean] :count
52
- # @return [Array<(ContactList, Integer, Hash)>] ContactList data, response status code and response headers
53
- def contacts_search_with_http_info(term, region, opts = {})
54
- if @api_client.config.debugging
55
- @api_client.config.logger.debug 'Calling API: ContactsApi.contacts_search ...'
56
- end
57
- # verify the required parameter 'term' is set
58
- if @api_client.config.client_side_validation && term.nil?
59
- fail ArgumentError, "Missing the required parameter 'term' when calling ContactsApi.contacts_search"
60
- end
61
- # verify the required parameter 'region' is set
62
- if @api_client.config.client_side_validation && region.nil?
63
- fail ArgumentError, "Missing the required parameter 'region' when calling ContactsApi.contacts_search"
64
- end
65
- # verify enum value
66
- allowable_values = ["UK", "WestEurope", "Sandbox"]
67
- if @api_client.config.client_side_validation && !allowable_values.include?(region)
68
- fail ArgumentError, "invalid value for \"region\", must be one of #{allowable_values}"
69
- end
70
- # resource path
71
- local_var_path = '/{region}/comms/2.0/Contacts/Search(Term={term})'.sub('{' + 'term' + '}', CGI.escape(term.to_s)).sub('{' + 'region' + '}', CGI.escape(region.to_s))
72
-
73
- # query parameters
74
- query_params = opts[:query_params] || {}
75
- query_params[:'$expand'] = opts[:'expand'] if !opts[:'expand'].nil?
76
- query_params[:'$filter'] = opts[:'filter'] if !opts[:'filter'].nil?
77
- query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
78
- query_params[:'$orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
79
- query_params[:'$top'] = opts[:'top'] if !opts[:'top'].nil?
80
- query_params[:'$skip'] = opts[:'skip'] if !opts[:'skip'].nil?
81
- query_params[:'$count'] = opts[:'count'] if !opts[:'count'].nil?
82
-
83
- # header parameters
84
- header_params = opts[:header_params] || {}
85
- # HTTP header 'Accept' (if needed)
86
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;odata.metadata=none', 'application/json;odata.metadata=minimal', 'application/json;odata.metadata=full'])
87
-
88
- # form parameters
89
- form_params = opts[:form_params] || {}
90
-
91
- # http body (model)
92
- post_body = opts[:debug_body]
93
-
94
- # return_type
95
- return_type = opts[:debug_return_type] || 'ContactList'
96
-
97
- # auth_names
98
- auth_names = opts[:debug_auth_names] || ['oauth2']
99
-
100
- new_options = opts.merge(
101
- :operation => :"ContactsApi.contacts_search",
102
- :header_params => header_params,
103
- :query_params => query_params,
104
- :form_params => form_params,
105
- :body => post_body,
106
- :auth_names => auth_names,
107
- :return_type => return_type
108
- )
109
-
110
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
111
- if @api_client.config.debugging
112
- @api_client.config.logger.debug "API called: ContactsApi#contacts_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
113
- end
114
- return data, status_code, headers
115
- end
116
-
117
- # Get Contacts
118
- # <span style='font-size: 17px;'>Summary:</span>Return Type: <b>ContactList</b><br/><br/>
119
- # @param region [String] The data center region the data resides in
120
- # @param [Hash] opts the optional parameters
121
- # @option opts [String] :expand
122
- # @option opts [String] :filter
123
- # @option opts [String] :select
124
- # @option opts [String] :orderby
125
- # @option opts [Integer] :top
126
- # @option opts [Integer] :skip
127
- # @option opts [Boolean] :count
128
- # @return [ContactList]
129
- def get_contacts(region, opts = {})
130
- data, _status_code, _headers = get_contacts_with_http_info(region, opts)
131
- data
132
- end
133
-
134
- # Get Contacts
135
- # &lt;span style&#x3D;&#39;font-size: 17px;&#39;&gt;Summary:&lt;/span&gt;Return Type: &lt;b&gt;ContactList&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;
136
- # @param region [String] The data center region the data resides in
137
- # @param [Hash] opts the optional parameters
138
- # @option opts [String] :expand
139
- # @option opts [String] :filter
140
- # @option opts [String] :select
141
- # @option opts [String] :orderby
142
- # @option opts [Integer] :top
143
- # @option opts [Integer] :skip
144
- # @option opts [Boolean] :count
145
- # @return [Array<(ContactList, Integer, Hash)>] ContactList data, response status code and response headers
146
- def get_contacts_with_http_info(region, opts = {})
147
- if @api_client.config.debugging
148
- @api_client.config.logger.debug 'Calling API: ContactsApi.get_contacts ...'
149
- end
150
- # verify the required parameter 'region' is set
151
- if @api_client.config.client_side_validation && region.nil?
152
- fail ArgumentError, "Missing the required parameter 'region' when calling ContactsApi.get_contacts"
153
- end
154
- # verify enum value
155
- allowable_values = ["UK", "WestEurope", "Sandbox"]
156
- if @api_client.config.client_side_validation && !allowable_values.include?(region)
157
- fail ArgumentError, "invalid value for \"region\", must be one of #{allowable_values}"
158
- end
159
- # resource path
160
- local_var_path = '/{region}/comms/2.0/Contacts'.sub('{' + 'region' + '}', CGI.escape(region.to_s))
161
-
162
- # query parameters
163
- query_params = opts[:query_params] || {}
164
- query_params[:'$expand'] = opts[:'expand'] if !opts[:'expand'].nil?
165
- query_params[:'$filter'] = opts[:'filter'] if !opts[:'filter'].nil?
166
- query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
167
- query_params[:'$orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
168
- query_params[:'$top'] = opts[:'top'] if !opts[:'top'].nil?
169
- query_params[:'$skip'] = opts[:'skip'] if !opts[:'skip'].nil?
170
- query_params[:'$count'] = opts[:'count'] if !opts[:'count'].nil?
171
-
172
- # header parameters
173
- header_params = opts[:header_params] || {}
174
- # HTTP header 'Accept' (if needed)
175
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;odata.metadata=none', 'application/json;odata.metadata=minimal', 'application/json;odata.metadata=full'])
176
-
177
- # form parameters
178
- form_params = opts[:form_params] || {}
179
-
180
- # http body (model)
181
- post_body = opts[:debug_body]
182
-
183
- # return_type
184
- return_type = opts[:debug_return_type] || 'ContactList'
185
-
186
- # auth_names
187
- auth_names = opts[:debug_auth_names] || ['oauth2']
188
-
189
- new_options = opts.merge(
190
- :operation => :"ContactsApi.get_contacts",
191
- :header_params => header_params,
192
- :query_params => query_params,
193
- :form_params => form_params,
194
- :body => post_body,
195
- :auth_names => auth_names,
196
- :return_type => return_type
197
- )
198
-
199
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
200
- if @api_client.config.debugging
201
- @api_client.config.logger.debug "API called: ContactsApi#get_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
202
- end
203
- return data, status_code, headers
204
- end
205
- end
206
- end