repull 0.2.57 → 0.2.59

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.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/lib/repull/api/connect_api.rb +137 -6
  3. data/lib/repull/models/account_calendar_access_changed_event.rb +11 -1
  4. data/lib/repull/models/account_created_event.rb +11 -1
  5. data/lib/repull/models/account_disconnected_event.rb +11 -1
  6. data/lib/repull/models/account_import_completed_event.rb +11 -1
  7. data/lib/repull/models/account_import_failed_event.rb +11 -1
  8. data/lib/repull/models/account_import_started_event.rb +11 -1
  9. data/lib/repull/models/account_notifications_missing_event.rb +11 -1
  10. data/lib/repull/models/account_units_added_event.rb +11 -1
  11. data/lib/repull/models/ai_operation_completed_event.rb +11 -1
  12. data/lib/repull/models/ai_operation_failed_event.rb +11 -1
  13. data/lib/repull/models/app_connection_health.rb +301 -0
  14. data/lib/repull/models/app_connection_health_recent_errors_inner.rb +184 -0
  15. data/lib/repull/models/app_connection_health_writes_per_day_inner.rb +156 -0
  16. data/lib/repull/models/booking_unacknowledged_event.rb +11 -1
  17. data/lib/repull/models/channel_degraded_event.rb +11 -1
  18. data/lib/repull/models/channel_sync_failed_event.rb +11 -1
  19. data/lib/repull/models/connect_provider.rb +2 -2
  20. data/lib/repull/models/connect_session_abandoned_event.rb +11 -1
  21. data/lib/repull/models/connect_session_completed_event.rb +11 -1
  22. data/lib/repull/models/connect_status.rb +1 -1
  23. data/lib/repull/models/connection.rb +81 -5
  24. data/lib/repull/models/conversation_message_status_changed_event.rb +11 -1
  25. data/lib/repull/models/create_connection_request.rb +10 -1
  26. data/lib/repull/models/create_connection_request_workspace.rb +203 -0
  27. data/lib/repull/models/create_price_labs_key201_response.rb +399 -0
  28. data/lib/repull/models/create_price_labs_key201_response_all_of_instructions.rb +159 -0
  29. data/lib/repull/models/create_price_labs_key_request.rb +207 -0
  30. data/lib/repull/models/get_price_labs_session_status200_response.rb +192 -0
  31. data/lib/repull/models/inquiry_created_event.rb +11 -1
  32. data/lib/repull/models/inquiry_updated_event.rb +11 -1
  33. data/lib/repull/models/listing_created_event.rb +11 -1
  34. data/lib/repull/models/listing_deleted_event.rb +11 -1
  35. data/lib/repull/models/listing_ical_feed_changed_event.rb +11 -1
  36. data/lib/repull/models/listing_reactivated_event.rb +11 -1
  37. data/lib/repull/models/listing_suspended_event.rb +11 -1
  38. data/lib/repull/models/listing_updated_event.rb +11 -1
  39. data/lib/repull/models/migration_completed_event.rb +1 -1
  40. data/lib/repull/models/migration_failed_event.rb +1 -1
  41. data/lib/repull/models/payment_completed_event.rb +11 -1
  42. data/lib/repull/models/payment_refunded_event.rb +11 -1
  43. data/lib/repull/models/payout_completed_event.rb +11 -1
  44. data/lib/repull/models/repull_ping_event.rb +11 -1
  45. data/lib/repull/models/reservation_alteration_created_event.rb +11 -1
  46. data/lib/repull/models/reservation_alteration_responded_event.rb +11 -1
  47. data/lib/repull/models/reservation_cancelled_event.rb +11 -1
  48. data/lib/repull/models/reservation_created_event.rb +11 -1
  49. data/lib/repull/models/reservation_message_reaction_event.rb +11 -1
  50. data/lib/repull/models/reservation_message_read_event.rb +11 -1
  51. data/lib/repull/models/reservation_message_received_event.rb +11 -1
  52. data/lib/repull/models/reservation_message_sent_event.rb +11 -1
  53. data/lib/repull/models/reservation_message_updated_event.rb +11 -1
  54. data/lib/repull/models/reservation_request_created_event.rb +11 -1
  55. data/lib/repull/models/reservation_request_updated_event.rb +11 -1
  56. data/lib/repull/models/reservation_thread_assigned_event.rb +11 -1
  57. data/lib/repull/models/reservation_updated_event.rb +11 -1
  58. data/lib/repull/models/review_created_event.rb +11 -1
  59. data/lib/repull/models/review_responded_event.rb +11 -1
  60. data/lib/repull/models/usage_quota_warning_event.rb +11 -1
  61. data/lib/repull/version.rb +1 -1
  62. data/lib/repull.rb +8 -0
  63. data/openapi/v1.json +576 -8
  64. metadata +10 -2
@@ -28,6 +28,9 @@ module Repull
28
28
 
29
29
  attr_accessor :account
30
30
 
31
+ # The sub-workspace this event happened in. Present only on events from a sub-workspace your workspace opened (`POST /v1/connect` with `workspace`, or Repull Migrate); omitted on your own workspace's events. It is the same workspace as `workspaceId` on `POST /v1/connect` and `GET /v1/workspaces` and the `X-Workspace-Id` header, but those return it as a string (`\"2042\"`) while the event carries a JSON number (`2042`): compare as strings, e.g. `String(event.workspaceId) === workspace.workspaceId`. The UUID `data.workspaceId` on `account.created` / `account.disconnected` is a different identifier.
32
+ attr_accessor :workspace_id
33
+
31
34
  attr_accessor :data
32
35
 
33
36
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,6 +41,7 @@ module Repull
38
41
  :'api_version' => :'apiVersion',
39
42
  :'timestamp' => :'timestamp',
40
43
  :'account' => :'account',
44
+ :'workspace_id' => :'workspaceId',
41
45
  :'data' => :'data'
42
46
  }
43
47
  end
@@ -60,6 +64,7 @@ module Repull
60
64
  :'api_version' => :'String',
61
65
  :'timestamp' => :'Time',
62
66
  :'account' => :'WebhookEventAccount',
67
+ :'workspace_id' => :'Integer',
63
68
  :'data' => :'ReviewCreatedPayload'
64
69
  }
65
70
  end
@@ -115,6 +120,10 @@ module Repull
115
120
  self.account = attributes[:'account']
116
121
  end
117
122
 
123
+ if attributes.key?(:'workspace_id')
124
+ self.workspace_id = attributes[:'workspace_id']
125
+ end
126
+
118
127
  if attributes.key?(:'data')
119
128
  self.data = attributes[:'data']
120
129
  else
@@ -222,6 +231,7 @@ module Repull
222
231
  api_version == o.api_version &&
223
232
  timestamp == o.timestamp &&
224
233
  account == o.account &&
234
+ workspace_id == o.workspace_id &&
225
235
  data == o.data
226
236
  end
227
237
 
@@ -234,7 +244,7 @@ module Repull
234
244
  # Calculates hash code according to all attributes.
235
245
  # @return [Integer] Hash code
236
246
  def hash
237
- [event, event_id, api_version, timestamp, account, data].hash
247
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
238
248
  end
239
249
 
240
250
  # Builds the object from hash
@@ -28,6 +28,9 @@ module Repull
28
28
 
29
29
  attr_accessor :account
30
30
 
31
+ # The sub-workspace this event happened in. Present only on events from a sub-workspace your workspace opened (`POST /v1/connect` with `workspace`, or Repull Migrate); omitted on your own workspace's events. It is the same workspace as `workspaceId` on `POST /v1/connect` and `GET /v1/workspaces` and the `X-Workspace-Id` header, but those return it as a string (`\"2042\"`) while the event carries a JSON number (`2042`): compare as strings, e.g. `String(event.workspaceId) === workspace.workspaceId`. The UUID `data.workspaceId` on `account.created` / `account.disconnected` is a different identifier.
32
+ attr_accessor :workspace_id
33
+
31
34
  attr_accessor :data
32
35
 
33
36
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,6 +41,7 @@ module Repull
38
41
  :'api_version' => :'apiVersion',
39
42
  :'timestamp' => :'timestamp',
40
43
  :'account' => :'account',
44
+ :'workspace_id' => :'workspaceId',
41
45
  :'data' => :'data'
42
46
  }
43
47
  end
@@ -60,6 +64,7 @@ module Repull
60
64
  :'api_version' => :'String',
61
65
  :'timestamp' => :'Time',
62
66
  :'account' => :'WebhookEventAccount',
67
+ :'workspace_id' => :'Integer',
63
68
  :'data' => :'ReviewRespondedPayload'
64
69
  }
65
70
  end
@@ -115,6 +120,10 @@ module Repull
115
120
  self.account = attributes[:'account']
116
121
  end
117
122
 
123
+ if attributes.key?(:'workspace_id')
124
+ self.workspace_id = attributes[:'workspace_id']
125
+ end
126
+
118
127
  if attributes.key?(:'data')
119
128
  self.data = attributes[:'data']
120
129
  else
@@ -222,6 +231,7 @@ module Repull
222
231
  api_version == o.api_version &&
223
232
  timestamp == o.timestamp &&
224
233
  account == o.account &&
234
+ workspace_id == o.workspace_id &&
225
235
  data == o.data
226
236
  end
227
237
 
@@ -234,7 +244,7 @@ module Repull
234
244
  # Calculates hash code according to all attributes.
235
245
  # @return [Integer] Hash code
236
246
  def hash
237
- [event, event_id, api_version, timestamp, account, data].hash
247
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
238
248
  end
239
249
 
240
250
  # Builds the object from hash
@@ -28,6 +28,9 @@ module Repull
28
28
 
29
29
  attr_accessor :account
30
30
 
31
+ # The sub-workspace this event happened in. Present only on events from a sub-workspace your workspace opened (`POST /v1/connect` with `workspace`, or Repull Migrate); omitted on your own workspace's events. It is the same workspace as `workspaceId` on `POST /v1/connect` and `GET /v1/workspaces` and the `X-Workspace-Id` header, but those return it as a string (`\"2042\"`) while the event carries a JSON number (`2042`): compare as strings, e.g. `String(event.workspaceId) === workspace.workspaceId`. The UUID `data.workspaceId` on `account.created` / `account.disconnected` is a different identifier.
32
+ attr_accessor :workspace_id
33
+
31
34
  attr_accessor :data
32
35
 
33
36
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,6 +41,7 @@ module Repull
38
41
  :'api_version' => :'apiVersion',
39
42
  :'timestamp' => :'timestamp',
40
43
  :'account' => :'account',
44
+ :'workspace_id' => :'workspaceId',
41
45
  :'data' => :'data'
42
46
  }
43
47
  end
@@ -60,6 +64,7 @@ module Repull
60
64
  :'api_version' => :'String',
61
65
  :'timestamp' => :'Time',
62
66
  :'account' => :'WebhookEventAccount',
67
+ :'workspace_id' => :'Integer',
63
68
  :'data' => :'UsageQuotaWarningPayload'
64
69
  }
65
70
  end
@@ -115,6 +120,10 @@ module Repull
115
120
  self.account = attributes[:'account']
116
121
  end
117
122
 
123
+ if attributes.key?(:'workspace_id')
124
+ self.workspace_id = attributes[:'workspace_id']
125
+ end
126
+
118
127
  if attributes.key?(:'data')
119
128
  self.data = attributes[:'data']
120
129
  else
@@ -222,6 +231,7 @@ module Repull
222
231
  api_version == o.api_version &&
223
232
  timestamp == o.timestamp &&
224
233
  account == o.account &&
234
+ workspace_id == o.workspace_id &&
225
235
  data == o.data
226
236
  end
227
237
 
@@ -234,7 +244,7 @@ module Repull
234
244
  # Calculates hash code according to all attributes.
235
245
  # @return [Integer] Hash code
236
246
  def hash
237
- [event, event_id, api_version, timestamp, account, data].hash
247
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
238
248
  end
239
249
 
240
250
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.22.0
11
11
  =end
12
12
 
13
13
  module Repull
14
- VERSION = '0.2.57'
14
+ VERSION = '0.2.59'
15
15
  end
data/lib/repull.rb CHANGED
@@ -112,6 +112,9 @@ require 'repull/models/airbnb_transaction_fees'
112
112
  require 'repull/models/airbnb_transaction_payout'
113
113
  require 'repull/models/alteration_change'
114
114
  require 'repull/models/alteration_webhook_object'
115
+ require 'repull/models/app_connection_health'
116
+ require 'repull/models/app_connection_health_recent_errors_inner'
117
+ require 'repull/models/app_connection_health_writes_per_day_inner'
115
118
  require 'repull/models/apply_connection_mappings200_response'
116
119
  require 'repull/models/apply_connection_mappings200_response_results_inner'
117
120
  require 'repull/models/apply_connection_mappings_request'
@@ -235,6 +238,7 @@ require 'repull/models/create_connect_session_request'
235
238
  require 'repull/models/create_connect_session_request_copy'
236
239
  require 'repull/models/create_connect_session_request_workspace'
237
240
  require 'repull/models/create_connection_request'
241
+ require 'repull/models/create_connection_request_workspace'
238
242
  require 'repull/models/create_conversation_special_offer201_response'
239
243
  require 'repull/models/create_conversation_special_offer201_response_fees_inner'
240
244
  require 'repull/models/create_conversation_special_offer201_response_guests'
@@ -242,6 +246,9 @@ require 'repull/models/create_conversation_special_offer201_response_lines_inner
242
246
  require 'repull/models/create_conversation_special_offer_request'
243
247
  require 'repull/models/create_conversation_special_offer_request_fees_inner'
244
248
  require 'repull/models/create_conversation_special_offer_request_guests'
249
+ require 'repull/models/create_price_labs_key201_response'
250
+ require 'repull/models/create_price_labs_key201_response_all_of_instructions'
251
+ require 'repull/models/create_price_labs_key_request'
245
252
  require 'repull/models/create_vrbo_alteration200_response'
246
253
  require 'repull/models/create_vrbo_alteration200_response_data'
247
254
  require 'repull/models/create_vrbo_alteration200_response_data_before'
@@ -338,6 +345,7 @@ require 'repull/models/get_listing_markups200_response_vrbo_inner'
338
345
  require 'repull/models/get_migration200_response'
339
346
  require 'repull/models/get_migration_channel_map200_response'
340
347
  require 'repull/models/get_migration_report200_response'
348
+ require 'repull/models/get_price_labs_session_status200_response'
341
349
  require 'repull/models/get_reservation_summary200_response'
342
350
  require 'repull/models/get_reservation_summary200_response_totals_inner'
343
351
  require 'repull/models/get_usage_logs200_response'