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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51f868d8a2397d51c596535c39c69c72ccfe941fd3e8ea5918771b9b2d694d87
4
- data.tar.gz: aff8905b78d11073fb4280b224b6d021ae4fefb7f6ab36e9821d1893a2ab83ea
3
+ metadata.gz: 834b6297af10eac97eb50df963b2fb8b2ab2a175a89285b75d051abd823b4fc6
4
+ data.tar.gz: 1b1a9367b64bcd5c4b525dcf56d7aa9627929f2e4ca7228bd2d776f8f4cd2506
5
5
  SHA512:
6
- metadata.gz: 00001265004ef575a17f126bd7354ebc9b52dc662578efd03d1a62fe647300cdca6f95c4bf4f0e108e5a655a5ae54463fdf2e53c6a06ec72639ddf1098cc5417
7
- data.tar.gz: 9349b5d24c13864a6824c0f23ae97583aa2fc8883c8a5f470c3f1a0d21e0faff384f97f858c7a926e7dba890d5197b4e61bc3e15b8bf22e8a8ffdb0b2e94d816
6
+ metadata.gz: fdc1a81ecfc8fdf084c2b8651f0703515da4623154abe6f923dd1d76907d40feea44623067aebe450f49be296fb47b59384d96d330423d9d2bd57b9c916f7bea
7
+ data.tar.gz: 84bc9c6b9f3661ad3ae1758094752fd32816591ca7f0f657351127b7d3c8ca4bfb15dbdfba8d0fd756267ef212523f506a579f09ce7b9821fed43345b7558d77
@@ -29,6 +29,9 @@ module Repull
29
29
 
30
30
  attr_accessor :account
31
31
 
32
+ # 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.
33
+ attr_accessor :workspace_id
34
+
32
35
  attr_accessor :data
33
36
 
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -39,6 +42,7 @@ module Repull
39
42
  :'api_version' => :'apiVersion',
40
43
  :'timestamp' => :'timestamp',
41
44
  :'account' => :'account',
45
+ :'workspace_id' => :'workspaceId',
42
46
  :'data' => :'data'
43
47
  }
44
48
  end
@@ -61,6 +65,7 @@ module Repull
61
65
  :'api_version' => :'String',
62
66
  :'timestamp' => :'Time',
63
67
  :'account' => :'WebhookEventAccount',
68
+ :'workspace_id' => :'Integer',
64
69
  :'data' => :'AccountCalendarAccessChangedPayload'
65
70
  }
66
71
  end
@@ -116,6 +121,10 @@ module Repull
116
121
  self.account = attributes[:'account']
117
122
  end
118
123
 
124
+ if attributes.key?(:'workspace_id')
125
+ self.workspace_id = attributes[:'workspace_id']
126
+ end
127
+
119
128
  if attributes.key?(:'data')
120
129
  self.data = attributes[:'data']
121
130
  else
@@ -223,6 +232,7 @@ module Repull
223
232
  api_version == o.api_version &&
224
233
  timestamp == o.timestamp &&
225
234
  account == o.account &&
235
+ workspace_id == o.workspace_id &&
226
236
  data == o.data
227
237
  end
228
238
 
@@ -235,7 +245,7 @@ module Repull
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [event, event_id, api_version, timestamp, account, data].hash
248
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
239
249
  end
240
250
 
241
251
  # 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' => :'AccountCreatedPayload'
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' => :'AccountDisconnectedPayload'
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
@@ -29,6 +29,9 @@ module Repull
29
29
 
30
30
  attr_accessor :account
31
31
 
32
+ # 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.
33
+ attr_accessor :workspace_id
34
+
32
35
  attr_accessor :data
33
36
 
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -39,6 +42,7 @@ module Repull
39
42
  :'api_version' => :'apiVersion',
40
43
  :'timestamp' => :'timestamp',
41
44
  :'account' => :'account',
45
+ :'workspace_id' => :'workspaceId',
42
46
  :'data' => :'data'
43
47
  }
44
48
  end
@@ -61,6 +65,7 @@ module Repull
61
65
  :'api_version' => :'String',
62
66
  :'timestamp' => :'Time',
63
67
  :'account' => :'WebhookEventAccount',
68
+ :'workspace_id' => :'Integer',
64
69
  :'data' => :'AccountImportFinishedPayload'
65
70
  }
66
71
  end
@@ -116,6 +121,10 @@ module Repull
116
121
  self.account = attributes[:'account']
117
122
  end
118
123
 
124
+ if attributes.key?(:'workspace_id')
125
+ self.workspace_id = attributes[:'workspace_id']
126
+ end
127
+
119
128
  if attributes.key?(:'data')
120
129
  self.data = attributes[:'data']
121
130
  else
@@ -223,6 +232,7 @@ module Repull
223
232
  api_version == o.api_version &&
224
233
  timestamp == o.timestamp &&
225
234
  account == o.account &&
235
+ workspace_id == o.workspace_id &&
226
236
  data == o.data
227
237
  end
228
238
 
@@ -235,7 +245,7 @@ module Repull
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [event, event_id, api_version, timestamp, account, data].hash
248
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
239
249
  end
240
250
 
241
251
  # Builds the object from hash
@@ -29,6 +29,9 @@ module Repull
29
29
 
30
30
  attr_accessor :account
31
31
 
32
+ # 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.
33
+ attr_accessor :workspace_id
34
+
32
35
  attr_accessor :data
33
36
 
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -39,6 +42,7 @@ module Repull
39
42
  :'api_version' => :'apiVersion',
40
43
  :'timestamp' => :'timestamp',
41
44
  :'account' => :'account',
45
+ :'workspace_id' => :'workspaceId',
42
46
  :'data' => :'data'
43
47
  }
44
48
  end
@@ -61,6 +65,7 @@ module Repull
61
65
  :'api_version' => :'String',
62
66
  :'timestamp' => :'Time',
63
67
  :'account' => :'WebhookEventAccount',
68
+ :'workspace_id' => :'Integer',
64
69
  :'data' => :'AccountImportFinishedPayload'
65
70
  }
66
71
  end
@@ -116,6 +121,10 @@ module Repull
116
121
  self.account = attributes[:'account']
117
122
  end
118
123
 
124
+ if attributes.key?(:'workspace_id')
125
+ self.workspace_id = attributes[:'workspace_id']
126
+ end
127
+
119
128
  if attributes.key?(:'data')
120
129
  self.data = attributes[:'data']
121
130
  else
@@ -223,6 +232,7 @@ module Repull
223
232
  api_version == o.api_version &&
224
233
  timestamp == o.timestamp &&
225
234
  account == o.account &&
235
+ workspace_id == o.workspace_id &&
226
236
  data == o.data
227
237
  end
228
238
 
@@ -235,7 +245,7 @@ module Repull
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [event, event_id, api_version, timestamp, account, data].hash
248
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
239
249
  end
240
250
 
241
251
  # Builds the object from hash
@@ -29,6 +29,9 @@ module Repull
29
29
 
30
30
  attr_accessor :account
31
31
 
32
+ # 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.
33
+ attr_accessor :workspace_id
34
+
32
35
  attr_accessor :data
33
36
 
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -39,6 +42,7 @@ module Repull
39
42
  :'api_version' => :'apiVersion',
40
43
  :'timestamp' => :'timestamp',
41
44
  :'account' => :'account',
45
+ :'workspace_id' => :'workspaceId',
42
46
  :'data' => :'data'
43
47
  }
44
48
  end
@@ -61,6 +65,7 @@ module Repull
61
65
  :'api_version' => :'String',
62
66
  :'timestamp' => :'Time',
63
67
  :'account' => :'WebhookEventAccount',
68
+ :'workspace_id' => :'Integer',
64
69
  :'data' => :'AccountImportStartedPayload'
65
70
  }
66
71
  end
@@ -116,6 +121,10 @@ module Repull
116
121
  self.account = attributes[:'account']
117
122
  end
118
123
 
124
+ if attributes.key?(:'workspace_id')
125
+ self.workspace_id = attributes[:'workspace_id']
126
+ end
127
+
119
128
  if attributes.key?(:'data')
120
129
  self.data = attributes[:'data']
121
130
  else
@@ -223,6 +232,7 @@ module Repull
223
232
  api_version == o.api_version &&
224
233
  timestamp == o.timestamp &&
225
234
  account == o.account &&
235
+ workspace_id == o.workspace_id &&
226
236
  data == o.data
227
237
  end
228
238
 
@@ -235,7 +245,7 @@ module Repull
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [event, event_id, api_version, timestamp, account, data].hash
248
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
239
249
  end
240
250
 
241
251
  # Builds the object from hash
@@ -29,6 +29,9 @@ module Repull
29
29
 
30
30
  attr_accessor :account
31
31
 
32
+ # 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.
33
+ attr_accessor :workspace_id
34
+
32
35
  attr_accessor :data
33
36
 
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -39,6 +42,7 @@ module Repull
39
42
  :'api_version' => :'apiVersion',
40
43
  :'timestamp' => :'timestamp',
41
44
  :'account' => :'account',
45
+ :'workspace_id' => :'workspaceId',
42
46
  :'data' => :'data'
43
47
  }
44
48
  end
@@ -61,6 +65,7 @@ module Repull
61
65
  :'api_version' => :'String',
62
66
  :'timestamp' => :'Time',
63
67
  :'account' => :'WebhookEventAccount',
68
+ :'workspace_id' => :'Integer',
64
69
  :'data' => :'AccountNotificationsMissingPayload'
65
70
  }
66
71
  end
@@ -116,6 +121,10 @@ module Repull
116
121
  self.account = attributes[:'account']
117
122
  end
118
123
 
124
+ if attributes.key?(:'workspace_id')
125
+ self.workspace_id = attributes[:'workspace_id']
126
+ end
127
+
119
128
  if attributes.key?(:'data')
120
129
  self.data = attributes[:'data']
121
130
  else
@@ -223,6 +232,7 @@ module Repull
223
232
  api_version == o.api_version &&
224
233
  timestamp == o.timestamp &&
225
234
  account == o.account &&
235
+ workspace_id == o.workspace_id &&
226
236
  data == o.data
227
237
  end
228
238
 
@@ -235,7 +245,7 @@ module Repull
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [event, event_id, api_version, timestamp, account, data].hash
248
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
239
249
  end
240
250
 
241
251
  # Builds the object from hash
@@ -29,6 +29,9 @@ module Repull
29
29
 
30
30
  attr_accessor :account
31
31
 
32
+ # 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.
33
+ attr_accessor :workspace_id
34
+
32
35
  attr_accessor :data
33
36
 
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -39,6 +42,7 @@ module Repull
39
42
  :'api_version' => :'apiVersion',
40
43
  :'timestamp' => :'timestamp',
41
44
  :'account' => :'account',
45
+ :'workspace_id' => :'workspaceId',
42
46
  :'data' => :'data'
43
47
  }
44
48
  end
@@ -61,6 +65,7 @@ module Repull
61
65
  :'api_version' => :'String',
62
66
  :'timestamp' => :'Time',
63
67
  :'account' => :'WebhookEventAccount',
68
+ :'workspace_id' => :'Integer',
64
69
  :'data' => :'AccountUnitsAddedPayload'
65
70
  }
66
71
  end
@@ -116,6 +121,10 @@ module Repull
116
121
  self.account = attributes[:'account']
117
122
  end
118
123
 
124
+ if attributes.key?(:'workspace_id')
125
+ self.workspace_id = attributes[:'workspace_id']
126
+ end
127
+
119
128
  if attributes.key?(:'data')
120
129
  self.data = attributes[:'data']
121
130
  else
@@ -223,6 +232,7 @@ module Repull
223
232
  api_version == o.api_version &&
224
233
  timestamp == o.timestamp &&
225
234
  account == o.account &&
235
+ workspace_id == o.workspace_id &&
226
236
  data == o.data
227
237
  end
228
238
 
@@ -235,7 +245,7 @@ module Repull
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [event, event_id, api_version, timestamp, account, data].hash
248
+ [event, event_id, api_version, timestamp, account, workspace_id, data].hash
239
249
  end
240
250
 
241
251
  # 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' => :'AiOperationCompletedPayload'
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' => :'AiOperationFailedPayload'
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' => :'BookingUnacknowledgedPayload'
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' => :'ChannelDegradedPayload'
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