stigg 0.1.0.pre.beta.18 → 0.1.0.pre.beta.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b604a5d9aac911efbc73e16af35f27dfda9ff62a30df96080121c01f87f2e0ad
4
- data.tar.gz: d6fd1188ee42994a8c88607e79e9e296bbdbd878e653c665a49299b36e7885a7
3
+ metadata.gz: 0fbe2aff02891eeb25de57c236e7dd9a477e0364b16b50cee05551ad48f738b5
4
+ data.tar.gz: 3517b62672bb4380dd05dc630de7b6b011f4aa78863ed4c17105e78e59c690e2
5
5
  SHA512:
6
- metadata.gz: c96c97b81d1b2f8420fc8397475a58011eaaa1fc1431804cab0754c7c589d94d2d2fe53d8e1a30f68ccbca49c6dd54c0b520eac1c872f645cbf18b0259c6ee83
7
- data.tar.gz: b4ff69b2ba2cad55c8f276a2dc515b0f4c66529d03296f42913470a8ffd0196a9e073931684916b65e9099fd93b42d548de57a95ef75f700ace1d1bddc1b6f9f
6
+ metadata.gz: 00f0cdfb3114b0541fdd53b6c566557775f2cb5e4908ad08294f78e02a67f1cb9d1e08f5ea362d25bec948587e41adbe0da60944d9e2acf3017b98c67df1ce39
7
+ data.tar.gz: 56d6f54afdc37f95fd95debfdf5d265da1cd5157c99dc7caf09c13ffd969b4079d5f395de9c0f5f0355e50a3b84fbea5d67291a0670496d66310ae3452822847
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-beta.19 (2026-06-08)
4
+
5
+ Full Changelog: [v0.1.0-beta.18...v0.1.0-beta.19](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.18...v0.1.0-beta.19)
6
+
7
+ ### Features
8
+
9
+ * **api:** add connection_status, last_sync_status fields to data_export destination responses ([b421148](https://github.com/stiggio/stigg-ruby/commit/b421148a32c286d560454febc8b9ace477b24902))
10
+
3
11
  ## 0.1.0-beta.18 (2026-06-07)
4
12
 
5
13
  Full Changelog: [v0.1.0-beta.17...v0.1.0-beta.18](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.17...v0.1.0-beta.18)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "stigg", "~> 0.1.0.pre.beta.18"
27
+ gem "stigg", "~> 0.1.0.pre.beta.19"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -51,7 +51,21 @@ module Stigg
51
51
  # @return [String]
52
52
  required :type, String
53
53
 
54
- # @!method initialize(connected_at:, destination_id:, type:)
54
+ # @!attribute connection_status
55
+ # Connection status of the destination (connected, failed)
56
+ #
57
+ # @return [String, nil]
58
+ optional :connection_status, String, api_name: :connectionStatus
59
+
60
+ # @!attribute last_sync_status
61
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
62
+ #
63
+ # @return [Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus, nil]
64
+ optional :last_sync_status,
65
+ -> { Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus },
66
+ api_name: :lastSyncStatus
67
+
68
+ # @!method initialize(connected_at:, destination_id:, type:, connection_status: nil, last_sync_status: nil)
55
69
  # A single destination entry under the DATA_EXPORT integration.
56
70
  #
57
71
  # @param connected_at [String] ISO8601 timestamp of when the destination was connected
@@ -59,6 +73,64 @@ module Stigg
59
73
  # @param destination_id [String] Provider destination ID
60
74
  #
61
75
  # @param type [String] Destination type (snowflake, bigquery, ...)
76
+ #
77
+ # @param connection_status [String] Connection status of the destination (connected, failed)
78
+ #
79
+ # @param last_sync_status [Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus] Latest sync snapshot for the destination, refreshed by the provider webhook
80
+
81
+ # @see Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination#last_sync_status
82
+ class LastSyncStatus < Stigg::Internal::Type::BaseModel
83
+ # @!attribute finished_at
84
+ # ISO8601 timestamp of when the latest sync finished
85
+ #
86
+ # @return [String]
87
+ required :finished_at, String, api_name: :finishedAt
88
+
89
+ # @!attribute status
90
+ # Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
91
+ #
92
+ # @return [String]
93
+ required :status, String
94
+
95
+ # @!attribute transfer_id
96
+ # Provider transfer ID of the latest sync
97
+ #
98
+ # @return [String]
99
+ required :transfer_id, String, api_name: :transferId
100
+
101
+ # @!attribute blamed_party
102
+ # Party responsible for a failed sync, as reported by the data-export provider
103
+ #
104
+ # @return [String, nil]
105
+ optional :blamed_party, String, api_name: :blamedParty
106
+
107
+ # @!attribute failure_message
108
+ # Customer-friendly failure message, when the latest sync failed
109
+ #
110
+ # @return [String, nil]
111
+ optional :failure_message, String, api_name: :failureMessage
112
+
113
+ # @!attribute rows_transferred
114
+ # Number of rows transferred in the latest sync
115
+ #
116
+ # @return [Float, nil]
117
+ optional :rows_transferred, Float, api_name: :rowsTransferred
118
+
119
+ # @!method initialize(finished_at:, status:, transfer_id:, blamed_party: nil, failure_message: nil, rows_transferred: nil)
120
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
121
+ #
122
+ # @param finished_at [String] ISO8601 timestamp of when the latest sync finished
123
+ #
124
+ # @param status [String] Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
125
+ #
126
+ # @param transfer_id [String] Provider transfer ID of the latest sync
127
+ #
128
+ # @param blamed_party [String] Party responsible for a failed sync, as reported by the data-export provider
129
+ #
130
+ # @param failure_message [String] Customer-friendly failure message, when the latest sync failed
131
+ #
132
+ # @param rows_transferred [Float] Number of rows transferred in the latest sync
133
+ end
62
134
  end
63
135
  end
64
136
  end
@@ -51,7 +51,21 @@ module Stigg
51
51
  # @return [String]
52
52
  required :type, String
53
53
 
54
- # @!method initialize(connected_at:, destination_id:, type:)
54
+ # @!attribute connection_status
55
+ # Connection status of the destination (connected, failed)
56
+ #
57
+ # @return [String, nil]
58
+ optional :connection_status, String, api_name: :connectionStatus
59
+
60
+ # @!attribute last_sync_status
61
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
62
+ #
63
+ # @return [Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus, nil]
64
+ optional :last_sync_status,
65
+ -> { Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus },
66
+ api_name: :lastSyncStatus
67
+
68
+ # @!method initialize(connected_at:, destination_id:, type:, connection_status: nil, last_sync_status: nil)
55
69
  # A single destination entry under the DATA_EXPORT integration.
56
70
  #
57
71
  # @param connected_at [String] ISO8601 timestamp of when the destination was connected
@@ -59,6 +73,64 @@ module Stigg
59
73
  # @param destination_id [String] Provider destination ID
60
74
  #
61
75
  # @param type [String] Destination type (snowflake, bigquery, ...)
76
+ #
77
+ # @param connection_status [String] Connection status of the destination (connected, failed)
78
+ #
79
+ # @param last_sync_status [Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus] Latest sync snapshot for the destination, refreshed by the provider webhook
80
+
81
+ # @see Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination#last_sync_status
82
+ class LastSyncStatus < Stigg::Internal::Type::BaseModel
83
+ # @!attribute finished_at
84
+ # ISO8601 timestamp of when the latest sync finished
85
+ #
86
+ # @return [String]
87
+ required :finished_at, String, api_name: :finishedAt
88
+
89
+ # @!attribute status
90
+ # Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
91
+ #
92
+ # @return [String]
93
+ required :status, String
94
+
95
+ # @!attribute transfer_id
96
+ # Provider transfer ID of the latest sync
97
+ #
98
+ # @return [String]
99
+ required :transfer_id, String, api_name: :transferId
100
+
101
+ # @!attribute blamed_party
102
+ # Party responsible for a failed sync, as reported by the data-export provider
103
+ #
104
+ # @return [String, nil]
105
+ optional :blamed_party, String, api_name: :blamedParty
106
+
107
+ # @!attribute failure_message
108
+ # Customer-friendly failure message, when the latest sync failed
109
+ #
110
+ # @return [String, nil]
111
+ optional :failure_message, String, api_name: :failureMessage
112
+
113
+ # @!attribute rows_transferred
114
+ # Number of rows transferred in the latest sync
115
+ #
116
+ # @return [Float, nil]
117
+ optional :rows_transferred, Float, api_name: :rowsTransferred
118
+
119
+ # @!method initialize(finished_at:, status:, transfer_id:, blamed_party: nil, failure_message: nil, rows_transferred: nil)
120
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
121
+ #
122
+ # @param finished_at [String] ISO8601 timestamp of when the latest sync finished
123
+ #
124
+ # @param status [String] Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
125
+ #
126
+ # @param transfer_id [String] Provider transfer ID of the latest sync
127
+ #
128
+ # @param blamed_party [String] Party responsible for a failed sync, as reported by the data-export provider
129
+ #
130
+ # @param failure_message [String] Customer-friendly failure message, when the latest sync failed
131
+ #
132
+ # @param rows_transferred [Float] Number of rows transferred in the latest sync
133
+ end
62
134
  end
63
135
  end
64
136
  end
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "0.1.0.pre.beta.18"
4
+ VERSION = "0.1.0.pre.beta.19"
5
5
  end
@@ -122,12 +122,40 @@ module Stigg
122
122
  sig { returns(String) }
123
123
  attr_accessor :type
124
124
 
125
+ # Connection status of the destination (connected, failed)
126
+ sig { returns(T.nilable(String)) }
127
+ attr_reader :connection_status
128
+
129
+ sig { params(connection_status: String).void }
130
+ attr_writer :connection_status
131
+
132
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
133
+ sig do
134
+ returns(
135
+ T.nilable(
136
+ Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus
137
+ )
138
+ )
139
+ end
140
+ attr_reader :last_sync_status
141
+
142
+ sig do
143
+ params(
144
+ last_sync_status:
145
+ Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus::OrHash
146
+ ).void
147
+ end
148
+ attr_writer :last_sync_status
149
+
125
150
  # A single destination entry under the DATA_EXPORT integration.
126
151
  sig do
127
152
  params(
128
153
  connected_at: String,
129
154
  destination_id: String,
130
- type: String
155
+ type: String,
156
+ connection_status: String,
157
+ last_sync_status:
158
+ Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus::OrHash
131
159
  ).returns(T.attached_class)
132
160
  end
133
161
  def self.new(
@@ -136,7 +164,11 @@ module Stigg
136
164
  # Provider destination ID
137
165
  destination_id:,
138
166
  # Destination type (snowflake, bigquery, ...)
139
- type:
167
+ type:,
168
+ # Connection status of the destination (connected, failed)
169
+ connection_status: nil,
170
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
171
+ last_sync_status: nil
140
172
  )
141
173
  end
142
174
 
@@ -145,12 +177,100 @@ module Stigg
145
177
  {
146
178
  connected_at: String,
147
179
  destination_id: String,
148
- type: String
180
+ type: String,
181
+ connection_status: String,
182
+ last_sync_status:
183
+ Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus
149
184
  }
150
185
  )
151
186
  end
152
187
  def to_hash
153
188
  end
189
+
190
+ class LastSyncStatus < Stigg::Internal::Type::BaseModel
191
+ OrHash =
192
+ T.type_alias do
193
+ T.any(
194
+ Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus,
195
+ Stigg::Internal::AnyHash
196
+ )
197
+ end
198
+
199
+ # ISO8601 timestamp of when the latest sync finished
200
+ sig { returns(String) }
201
+ attr_accessor :finished_at
202
+
203
+ # Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
204
+ sig { returns(String) }
205
+ attr_accessor :status
206
+
207
+ # Provider transfer ID of the latest sync
208
+ sig { returns(String) }
209
+ attr_accessor :transfer_id
210
+
211
+ # Party responsible for a failed sync, as reported by the data-export provider
212
+ sig { returns(T.nilable(String)) }
213
+ attr_reader :blamed_party
214
+
215
+ sig { params(blamed_party: String).void }
216
+ attr_writer :blamed_party
217
+
218
+ # Customer-friendly failure message, when the latest sync failed
219
+ sig { returns(T.nilable(String)) }
220
+ attr_reader :failure_message
221
+
222
+ sig { params(failure_message: String).void }
223
+ attr_writer :failure_message
224
+
225
+ # Number of rows transferred in the latest sync
226
+ sig { returns(T.nilable(Float)) }
227
+ attr_reader :rows_transferred
228
+
229
+ sig { params(rows_transferred: Float).void }
230
+ attr_writer :rows_transferred
231
+
232
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
233
+ sig do
234
+ params(
235
+ finished_at: String,
236
+ status: String,
237
+ transfer_id: String,
238
+ blamed_party: String,
239
+ failure_message: String,
240
+ rows_transferred: Float
241
+ ).returns(T.attached_class)
242
+ end
243
+ def self.new(
244
+ # ISO8601 timestamp of when the latest sync finished
245
+ finished_at:,
246
+ # Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
247
+ status:,
248
+ # Provider transfer ID of the latest sync
249
+ transfer_id:,
250
+ # Party responsible for a failed sync, as reported by the data-export provider
251
+ blamed_party: nil,
252
+ # Customer-friendly failure message, when the latest sync failed
253
+ failure_message: nil,
254
+ # Number of rows transferred in the latest sync
255
+ rows_transferred: nil
256
+ )
257
+ end
258
+
259
+ sig do
260
+ override.returns(
261
+ {
262
+ finished_at: String,
263
+ status: String,
264
+ transfer_id: String,
265
+ blamed_party: String,
266
+ failure_message: String,
267
+ rows_transferred: Float
268
+ }
269
+ )
270
+ end
271
+ def to_hash
272
+ end
273
+ end
154
274
  end
155
275
  end
156
276
  end
@@ -122,12 +122,40 @@ module Stigg
122
122
  sig { returns(String) }
123
123
  attr_accessor :type
124
124
 
125
+ # Connection status of the destination (connected, failed)
126
+ sig { returns(T.nilable(String)) }
127
+ attr_reader :connection_status
128
+
129
+ sig { params(connection_status: String).void }
130
+ attr_writer :connection_status
131
+
132
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
133
+ sig do
134
+ returns(
135
+ T.nilable(
136
+ Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus
137
+ )
138
+ )
139
+ end
140
+ attr_reader :last_sync_status
141
+
142
+ sig do
143
+ params(
144
+ last_sync_status:
145
+ Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus::OrHash
146
+ ).void
147
+ end
148
+ attr_writer :last_sync_status
149
+
125
150
  # A single destination entry under the DATA_EXPORT integration.
126
151
  sig do
127
152
  params(
128
153
  connected_at: String,
129
154
  destination_id: String,
130
- type: String
155
+ type: String,
156
+ connection_status: String,
157
+ last_sync_status:
158
+ Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus::OrHash
131
159
  ).returns(T.attached_class)
132
160
  end
133
161
  def self.new(
@@ -136,7 +164,11 @@ module Stigg
136
164
  # Provider destination ID
137
165
  destination_id:,
138
166
  # Destination type (snowflake, bigquery, ...)
139
- type:
167
+ type:,
168
+ # Connection status of the destination (connected, failed)
169
+ connection_status: nil,
170
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
171
+ last_sync_status: nil
140
172
  )
141
173
  end
142
174
 
@@ -145,12 +177,100 @@ module Stigg
145
177
  {
146
178
  connected_at: String,
147
179
  destination_id: String,
148
- type: String
180
+ type: String,
181
+ connection_status: String,
182
+ last_sync_status:
183
+ Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus
149
184
  }
150
185
  )
151
186
  end
152
187
  def to_hash
153
188
  end
189
+
190
+ class LastSyncStatus < Stigg::Internal::Type::BaseModel
191
+ OrHash =
192
+ T.type_alias do
193
+ T.any(
194
+ Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus,
195
+ Stigg::Internal::AnyHash
196
+ )
197
+ end
198
+
199
+ # ISO8601 timestamp of when the latest sync finished
200
+ sig { returns(String) }
201
+ attr_accessor :finished_at
202
+
203
+ # Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
204
+ sig { returns(String) }
205
+ attr_accessor :status
206
+
207
+ # Provider transfer ID of the latest sync
208
+ sig { returns(String) }
209
+ attr_accessor :transfer_id
210
+
211
+ # Party responsible for a failed sync, as reported by the data-export provider
212
+ sig { returns(T.nilable(String)) }
213
+ attr_reader :blamed_party
214
+
215
+ sig { params(blamed_party: String).void }
216
+ attr_writer :blamed_party
217
+
218
+ # Customer-friendly failure message, when the latest sync failed
219
+ sig { returns(T.nilable(String)) }
220
+ attr_reader :failure_message
221
+
222
+ sig { params(failure_message: String).void }
223
+ attr_writer :failure_message
224
+
225
+ # Number of rows transferred in the latest sync
226
+ sig { returns(T.nilable(Float)) }
227
+ attr_reader :rows_transferred
228
+
229
+ sig { params(rows_transferred: Float).void }
230
+ attr_writer :rows_transferred
231
+
232
+ # Latest sync snapshot for the destination, refreshed by the provider webhook
233
+ sig do
234
+ params(
235
+ finished_at: String,
236
+ status: String,
237
+ transfer_id: String,
238
+ blamed_party: String,
239
+ failure_message: String,
240
+ rows_transferred: Float
241
+ ).returns(T.attached_class)
242
+ end
243
+ def self.new(
244
+ # ISO8601 timestamp of when the latest sync finished
245
+ finished_at:,
246
+ # Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
247
+ status:,
248
+ # Provider transfer ID of the latest sync
249
+ transfer_id:,
250
+ # Party responsible for a failed sync, as reported by the data-export provider
251
+ blamed_party: nil,
252
+ # Customer-friendly failure message, when the latest sync failed
253
+ failure_message: nil,
254
+ # Number of rows transferred in the latest sync
255
+ rows_transferred: nil
256
+ )
257
+ end
258
+
259
+ sig do
260
+ override.returns(
261
+ {
262
+ finished_at: String,
263
+ status: String,
264
+ transfer_id: String,
265
+ blamed_party: String,
266
+ failure_message: String,
267
+ rows_transferred: Float
268
+ }
269
+ )
270
+ end
271
+ def to_hash
272
+ end
273
+ end
154
274
  end
155
275
  end
156
276
  end
@@ -36,7 +36,13 @@ module Stigg
36
36
  }
37
37
 
38
38
  type destination =
39
- { connected_at: String, destination_id: String, type: String }
39
+ {
40
+ connected_at: String,
41
+ destination_id: String,
42
+ type: String,
43
+ connection_status: String,
44
+ last_sync_status: Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus
45
+ }
40
46
 
41
47
  class Destination < Stigg::Internal::Type::BaseModel
42
48
  attr_accessor connected_at: String
@@ -45,17 +51,79 @@ module Stigg
45
51
 
46
52
  attr_accessor type: String
47
53
 
54
+ attr_reader connection_status: String?
55
+
56
+ def connection_status=: (String) -> String
57
+
58
+ attr_reader last_sync_status: Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus?
59
+
60
+ def last_sync_status=: (
61
+ Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus
62
+ ) -> Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus
63
+
48
64
  def initialize: (
49
65
  connected_at: String,
50
66
  destination_id: String,
51
- type: String
67
+ type: String,
68
+ ?connection_status: String,
69
+ ?last_sync_status: Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus
52
70
  ) -> void
53
71
 
54
72
  def to_hash: -> {
55
73
  connected_at: String,
56
74
  destination_id: String,
57
- type: String
75
+ type: String,
76
+ connection_status: String,
77
+ last_sync_status: Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination::LastSyncStatus
58
78
  }
79
+
80
+ type last_sync_status =
81
+ {
82
+ finished_at: String,
83
+ status: String,
84
+ transfer_id: String,
85
+ blamed_party: String,
86
+ failure_message: String,
87
+ rows_transferred: Float
88
+ }
89
+
90
+ class LastSyncStatus < Stigg::Internal::Type::BaseModel
91
+ attr_accessor finished_at: String
92
+
93
+ attr_accessor status: String
94
+
95
+ attr_accessor transfer_id: String
96
+
97
+ attr_reader blamed_party: String?
98
+
99
+ def blamed_party=: (String) -> String
100
+
101
+ attr_reader failure_message: String?
102
+
103
+ def failure_message=: (String) -> String
104
+
105
+ attr_reader rows_transferred: Float?
106
+
107
+ def rows_transferred=: (Float) -> Float
108
+
109
+ def initialize: (
110
+ finished_at: String,
111
+ status: String,
112
+ transfer_id: String,
113
+ ?blamed_party: String,
114
+ ?failure_message: String,
115
+ ?rows_transferred: Float
116
+ ) -> void
117
+
118
+ def to_hash: -> {
119
+ finished_at: String,
120
+ status: String,
121
+ transfer_id: String,
122
+ blamed_party: String,
123
+ failure_message: String,
124
+ rows_transferred: Float
125
+ }
126
+ end
59
127
  end
60
128
  end
61
129
  end
@@ -36,7 +36,13 @@ module Stigg
36
36
  }
37
37
 
38
38
  type destination =
39
- { connected_at: String, destination_id: String, type: String }
39
+ {
40
+ connected_at: String,
41
+ destination_id: String,
42
+ type: String,
43
+ connection_status: String,
44
+ last_sync_status: Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus
45
+ }
40
46
 
41
47
  class Destination < Stigg::Internal::Type::BaseModel
42
48
  attr_accessor connected_at: String
@@ -45,17 +51,79 @@ module Stigg
45
51
 
46
52
  attr_accessor type: String
47
53
 
54
+ attr_reader connection_status: String?
55
+
56
+ def connection_status=: (String) -> String
57
+
58
+ attr_reader last_sync_status: Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus?
59
+
60
+ def last_sync_status=: (
61
+ Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus
62
+ ) -> Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus
63
+
48
64
  def initialize: (
49
65
  connected_at: String,
50
66
  destination_id: String,
51
- type: String
67
+ type: String,
68
+ ?connection_status: String,
69
+ ?last_sync_status: Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus
52
70
  ) -> void
53
71
 
54
72
  def to_hash: -> {
55
73
  connected_at: String,
56
74
  destination_id: String,
57
- type: String
75
+ type: String,
76
+ connection_status: String,
77
+ last_sync_status: Stigg::Models::V1::Events::DataExport::DestinationDeleteResponse::Data::Destination::LastSyncStatus
58
78
  }
79
+
80
+ type last_sync_status =
81
+ {
82
+ finished_at: String,
83
+ status: String,
84
+ transfer_id: String,
85
+ blamed_party: String,
86
+ failure_message: String,
87
+ rows_transferred: Float
88
+ }
89
+
90
+ class LastSyncStatus < Stigg::Internal::Type::BaseModel
91
+ attr_accessor finished_at: String
92
+
93
+ attr_accessor status: String
94
+
95
+ attr_accessor transfer_id: String
96
+
97
+ attr_reader blamed_party: String?
98
+
99
+ def blamed_party=: (String) -> String
100
+
101
+ attr_reader failure_message: String?
102
+
103
+ def failure_message=: (String) -> String
104
+
105
+ attr_reader rows_transferred: Float?
106
+
107
+ def rows_transferred=: (Float) -> Float
108
+
109
+ def initialize: (
110
+ finished_at: String,
111
+ status: String,
112
+ transfer_id: String,
113
+ ?blamed_party: String,
114
+ ?failure_message: String,
115
+ ?rows_transferred: Float
116
+ ) -> void
117
+
118
+ def to_hash: -> {
119
+ finished_at: String,
120
+ status: String,
121
+ transfer_id: String,
122
+ blamed_party: String,
123
+ failure_message: String,
124
+ rows_transferred: Float
125
+ }
126
+ end
59
127
  end
60
128
  end
61
129
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.beta.18
4
+ version: 0.1.0.pre.beta.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-07 00:00:00.000000000 Z
11
+ date: 2026-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi