repull 0.2.58 → 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 (50) hide show
  1. checksums.yaml +4 -4
  2. data/lib/repull/models/account_calendar_access_changed_event.rb +11 -1
  3. data/lib/repull/models/account_created_event.rb +11 -1
  4. data/lib/repull/models/account_disconnected_event.rb +11 -1
  5. data/lib/repull/models/account_import_completed_event.rb +11 -1
  6. data/lib/repull/models/account_import_failed_event.rb +11 -1
  7. data/lib/repull/models/account_import_started_event.rb +11 -1
  8. data/lib/repull/models/account_notifications_missing_event.rb +11 -1
  9. data/lib/repull/models/account_units_added_event.rb +11 -1
  10. data/lib/repull/models/ai_operation_completed_event.rb +11 -1
  11. data/lib/repull/models/ai_operation_failed_event.rb +11 -1
  12. data/lib/repull/models/booking_unacknowledged_event.rb +11 -1
  13. data/lib/repull/models/channel_degraded_event.rb +11 -1
  14. data/lib/repull/models/channel_sync_failed_event.rb +11 -1
  15. data/lib/repull/models/connect_session_abandoned_event.rb +11 -1
  16. data/lib/repull/models/connect_session_completed_event.rb +11 -1
  17. data/lib/repull/models/conversation_message_status_changed_event.rb +11 -1
  18. data/lib/repull/models/inquiry_created_event.rb +11 -1
  19. data/lib/repull/models/inquiry_updated_event.rb +11 -1
  20. data/lib/repull/models/listing_created_event.rb +11 -1
  21. data/lib/repull/models/listing_deleted_event.rb +11 -1
  22. data/lib/repull/models/listing_ical_feed_changed_event.rb +11 -1
  23. data/lib/repull/models/listing_reactivated_event.rb +11 -1
  24. data/lib/repull/models/listing_suspended_event.rb +11 -1
  25. data/lib/repull/models/listing_updated_event.rb +11 -1
  26. data/lib/repull/models/migration_completed_event.rb +1 -1
  27. data/lib/repull/models/migration_failed_event.rb +1 -1
  28. data/lib/repull/models/payment_completed_event.rb +11 -1
  29. data/lib/repull/models/payment_refunded_event.rb +11 -1
  30. data/lib/repull/models/payout_completed_event.rb +11 -1
  31. data/lib/repull/models/repull_ping_event.rb +11 -1
  32. data/lib/repull/models/reservation_alteration_created_event.rb +11 -1
  33. data/lib/repull/models/reservation_alteration_responded_event.rb +11 -1
  34. data/lib/repull/models/reservation_cancelled_event.rb +11 -1
  35. data/lib/repull/models/reservation_created_event.rb +11 -1
  36. data/lib/repull/models/reservation_message_reaction_event.rb +11 -1
  37. data/lib/repull/models/reservation_message_read_event.rb +11 -1
  38. data/lib/repull/models/reservation_message_received_event.rb +11 -1
  39. data/lib/repull/models/reservation_message_sent_event.rb +11 -1
  40. data/lib/repull/models/reservation_message_updated_event.rb +11 -1
  41. data/lib/repull/models/reservation_request_created_event.rb +11 -1
  42. data/lib/repull/models/reservation_request_updated_event.rb +11 -1
  43. data/lib/repull/models/reservation_thread_assigned_event.rb +11 -1
  44. data/lib/repull/models/reservation_updated_event.rb +11 -1
  45. data/lib/repull/models/review_created_event.rb +11 -1
  46. data/lib/repull/models/review_responded_event.rb +11 -1
  47. data/lib/repull/models/usage_quota_warning_event.rb +11 -1
  48. data/lib/repull/version.rb +1 -1
  49. data/openapi/v1.json +222 -2
  50. metadata +2 -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' => :'ReservationMessageUpdatedPayload'
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' => :'ReservationRequestCreatedPayload'
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' => :'ReservationRequestUpdatedPayload'
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
@@ -26,6 +26,9 @@ module Repull
26
26
 
27
27
  attr_accessor :account
28
28
 
29
+ # 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.
30
+ attr_accessor :workspace_id
31
+
29
32
  attr_accessor :data
30
33
 
31
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -36,6 +39,7 @@ module Repull
36
39
  :'api_version' => :'apiVersion',
37
40
  :'timestamp' => :'timestamp',
38
41
  :'account' => :'account',
42
+ :'workspace_id' => :'workspaceId',
39
43
  :'data' => :'data'
40
44
  }
41
45
  end
@@ -58,6 +62,7 @@ module Repull
58
62
  :'api_version' => :'String',
59
63
  :'timestamp' => :'Time',
60
64
  :'account' => :'WebhookEventAccount',
65
+ :'workspace_id' => :'Integer',
61
66
  :'data' => :'ReservationThreadAssignedPayload'
62
67
  }
63
68
  end
@@ -113,6 +118,10 @@ module Repull
113
118
  self.account = attributes[:'account']
114
119
  end
115
120
 
121
+ if attributes.key?(:'workspace_id')
122
+ self.workspace_id = attributes[:'workspace_id']
123
+ end
124
+
116
125
  if attributes.key?(:'data')
117
126
  self.data = attributes[:'data']
118
127
  else
@@ -220,6 +229,7 @@ module Repull
220
229
  api_version == o.api_version &&
221
230
  timestamp == o.timestamp &&
222
231
  account == o.account &&
232
+ workspace_id == o.workspace_id &&
223
233
  data == o.data
224
234
  end
225
235
 
@@ -232,7 +242,7 @@ module Repull
232
242
  # Calculates hash code according to all attributes.
233
243
  # @return [Integer] Hash code
234
244
  def hash
235
- [event, event_id, api_version, timestamp, account, data].hash
245
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
236
246
  end
237
247
 
238
248
  # 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' => :'ReservationUpdatedPayload'
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' => :'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.58'
14
+ VERSION = '0.2.59'
15
15
  end