context.dev 2.0.0 → 2.2.0
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 +4 -4
- data/CHANGELOG.md +20 -0
- data/README.md +1 -1
- data/lib/context_dev/models/brand_retrieve_params.rb +46 -3
- data/lib/context_dev/models/monitor_create_params.rb +36 -28
- data/lib/context_dev/models/monitor_create_response.rb +158 -29
- data/lib/context_dev/models/monitor_list_account_runs_response.rb +102 -1
- data/lib/context_dev/models/monitor_list_params.rb +4 -4
- data/lib/context_dev/models/monitor_list_response.rb +158 -29
- data/lib/context_dev/models/monitor_list_runs_response.rb +100 -1
- data/lib/context_dev/models/monitor_retrieve_change_response.rb +1 -8
- data/lib/context_dev/models/monitor_retrieve_response.rb +158 -29
- data/lib/context_dev/models/monitor_update_params.rb +36 -28
- data/lib/context_dev/models/monitor_update_response.rb +158 -29
- data/lib/context_dev/resources/brand.rb +4 -2
- data/lib/context_dev/resources/monitors.rb +1 -1
- data/lib/context_dev/version.rb +1 -1
- data/rbi/context_dev/models/brand_retrieve_params.rbi +67 -0
- data/rbi/context_dev/models/monitor_create_params.rbi +44 -33
- data/rbi/context_dev/models/monitor_create_response.rbi +243 -33
- data/rbi/context_dev/models/monitor_list_account_runs_response.rbi +204 -3
- data/rbi/context_dev/models/monitor_list_params.rbi +9 -6
- data/rbi/context_dev/models/monitor_list_response.rbi +247 -33
- data/rbi/context_dev/models/monitor_list_runs_response.rbi +204 -3
- data/rbi/context_dev/models/monitor_retrieve_change_response.rbi +0 -9
- data/rbi/context_dev/models/monitor_retrieve_response.rbi +243 -33
- data/rbi/context_dev/models/monitor_update_params.rbi +44 -33
- data/rbi/context_dev/models/monitor_update_response.rbi +243 -33
- data/rbi/context_dev/resources/brand.rbi +4 -1
- data/rbi/context_dev/resources/monitors.rbi +2 -2
- data/sig/context_dev/models/brand_retrieve_params.rbs +26 -0
- data/sig/context_dev/models/monitor_create_params.rbs +7 -17
- data/sig/context_dev/models/monitor_create_response.rbs +81 -17
- data/sig/context_dev/models/monitor_list_account_runs_response.rbs +74 -3
- data/sig/context_dev/models/monitor_list_params.rbs +2 -2
- data/sig/context_dev/models/monitor_list_response.rbs +81 -17
- data/sig/context_dev/models/monitor_list_runs_response.rbs +74 -3
- data/sig/context_dev/models/monitor_retrieve_change_response.rbs +0 -7
- data/sig/context_dev/models/monitor_retrieve_response.rbs +81 -17
- data/sig/context_dev/models/monitor_update_params.rbs +7 -17
- data/sig/context_dev/models/monitor_update_response.rbs +81 -17
- metadata +2 -2
|
@@ -11,6 +11,7 @@ module ContextDev
|
|
|
11
11
|
status: ContextDev::Models::MonitorRetrieveResponse::status,
|
|
12
12
|
target: ContextDev::Models::MonitorRetrieveResponse::target,
|
|
13
13
|
updated_at: Time,
|
|
14
|
+
baseline: ContextDev::Models::MonitorRetrieveResponse::baseline?,
|
|
14
15
|
last_change_at: Time?,
|
|
15
16
|
last_error: ContextDev::Models::MonitorRetrieveResponse::LastError?,
|
|
16
17
|
last_run_at: Time?,
|
|
@@ -38,6 +39,8 @@ module ContextDev
|
|
|
38
39
|
|
|
39
40
|
attr_accessor updated_at: Time
|
|
40
41
|
|
|
42
|
+
attr_accessor baseline: ContextDev::Models::MonitorRetrieveResponse::baseline?
|
|
43
|
+
|
|
41
44
|
attr_accessor last_change_at: Time?
|
|
42
45
|
|
|
43
46
|
attr_accessor last_error: ContextDev::Models::MonitorRetrieveResponse::LastError?
|
|
@@ -62,6 +65,7 @@ module ContextDev
|
|
|
62
65
|
status: ContextDev::Models::MonitorRetrieveResponse::status,
|
|
63
66
|
target: ContextDev::Models::MonitorRetrieveResponse::target,
|
|
64
67
|
updated_at: Time,
|
|
68
|
+
?baseline: ContextDev::Models::MonitorRetrieveResponse::baseline?,
|
|
65
69
|
?last_change_at: Time?,
|
|
66
70
|
?last_error: ContextDev::Models::MonitorRetrieveResponse::LastError?,
|
|
67
71
|
?last_run_at: Time?,
|
|
@@ -80,6 +84,7 @@ module ContextDev
|
|
|
80
84
|
status: ContextDev::Models::MonitorRetrieveResponse::status,
|
|
81
85
|
target: ContextDev::Models::MonitorRetrieveResponse::target,
|
|
82
86
|
updated_at: Time,
|
|
87
|
+
baseline: ContextDev::Models::MonitorRetrieveResponse::baseline?,
|
|
83
88
|
last_change_at: Time?,
|
|
84
89
|
last_error: ContextDev::Models::MonitorRetrieveResponse::LastError?,
|
|
85
90
|
last_run_at: Time?,
|
|
@@ -105,12 +110,9 @@ module ContextDev
|
|
|
105
110
|
def to_hash: -> { type: :exact }
|
|
106
111
|
end
|
|
107
112
|
|
|
108
|
-
type semantic =
|
|
109
|
-
{ query: String, type: :semantic, confidence_threshold: Float }
|
|
113
|
+
type semantic = { type: :semantic, confidence_threshold: Float }
|
|
110
114
|
|
|
111
115
|
class Semantic < ContextDev::Internal::Type::BaseModel
|
|
112
|
-
attr_accessor query: String
|
|
113
|
-
|
|
114
116
|
attr_accessor type: :semantic
|
|
115
117
|
|
|
116
118
|
attr_reader confidence_threshold: Float?
|
|
@@ -118,16 +120,11 @@ module ContextDev
|
|
|
118
120
|
def confidence_threshold=: (Float) -> Float
|
|
119
121
|
|
|
120
122
|
def initialize: (
|
|
121
|
-
query: String,
|
|
122
123
|
?confidence_threshold: Float,
|
|
123
124
|
?type: :semantic
|
|
124
125
|
) -> void
|
|
125
126
|
|
|
126
|
-
def to_hash: -> {
|
|
127
|
-
query: String,
|
|
128
|
-
type: :semantic,
|
|
129
|
-
confidence_threshold: Float
|
|
130
|
-
}
|
|
127
|
+
def to_hash: -> { type: :semantic, confidence_threshold: Float }
|
|
131
128
|
end
|
|
132
129
|
|
|
133
130
|
def self?.variants: -> ::Array[ContextDev::Models::MonitorRetrieveResponse::change_detection]
|
|
@@ -281,16 +278,18 @@ module ContextDev
|
|
|
281
278
|
|
|
282
279
|
type extract =
|
|
283
280
|
{
|
|
281
|
+
instructions: String,
|
|
284
282
|
type: :extract,
|
|
285
283
|
url: String,
|
|
286
284
|
follow_subdomains: bool,
|
|
287
|
-
instructions: String,
|
|
288
285
|
max_depth: Integer,
|
|
289
286
|
max_pages: Integer,
|
|
290
287
|
schema: ::Hash[Symbol, top]
|
|
291
288
|
}
|
|
292
289
|
|
|
293
290
|
class Extract < ContextDev::Internal::Type::BaseModel
|
|
291
|
+
attr_accessor instructions: String
|
|
292
|
+
|
|
294
293
|
attr_accessor type: :extract
|
|
295
294
|
|
|
296
295
|
attr_accessor url: String
|
|
@@ -299,10 +298,6 @@ module ContextDev
|
|
|
299
298
|
|
|
300
299
|
def follow_subdomains=: (bool) -> bool
|
|
301
300
|
|
|
302
|
-
attr_reader instructions: String?
|
|
303
|
-
|
|
304
|
-
def instructions=: (String) -> String
|
|
305
|
-
|
|
306
301
|
attr_reader max_depth: Integer?
|
|
307
302
|
|
|
308
303
|
def max_depth=: (Integer) -> Integer
|
|
@@ -316,9 +311,9 @@ module ContextDev
|
|
|
316
311
|
def schema=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
|
|
317
312
|
|
|
318
313
|
def initialize: (
|
|
314
|
+
instructions: String,
|
|
319
315
|
url: String,
|
|
320
316
|
?follow_subdomains: bool,
|
|
321
|
-
?instructions: String,
|
|
322
317
|
?max_depth: Integer,
|
|
323
318
|
?max_pages: Integer,
|
|
324
319
|
?schema: ::Hash[Symbol, top],
|
|
@@ -326,10 +321,10 @@ module ContextDev
|
|
|
326
321
|
) -> void
|
|
327
322
|
|
|
328
323
|
def to_hash: -> {
|
|
324
|
+
instructions: String,
|
|
329
325
|
type: :extract,
|
|
330
326
|
url: String,
|
|
331
327
|
follow_subdomains: bool,
|
|
332
|
-
instructions: String,
|
|
333
328
|
max_depth: Integer,
|
|
334
329
|
max_pages: Integer,
|
|
335
330
|
schema: ::Hash[Symbol, top]
|
|
@@ -339,6 +334,75 @@ module ContextDev
|
|
|
339
334
|
def self?.variants: -> ::Array[ContextDev::Models::MonitorRetrieveResponse::target]
|
|
340
335
|
end
|
|
341
336
|
|
|
337
|
+
type baseline =
|
|
338
|
+
ContextDev::Models::MonitorRetrieveResponse::Baseline::MonitorsPageBaseline
|
|
339
|
+
| ContextDev::Models::MonitorRetrieveResponse::Baseline::MonitorsSitemapBaseline
|
|
340
|
+
| ContextDev::Models::MonitorRetrieveResponse::Baseline::MonitorsExtractBaseline
|
|
341
|
+
|
|
342
|
+
module Baseline
|
|
343
|
+
extend ContextDev::Internal::Type::Union
|
|
344
|
+
|
|
345
|
+
type monitors_page_baseline = { captured_at: Time, text: String }
|
|
346
|
+
|
|
347
|
+
class MonitorsPageBaseline < ContextDev::Internal::Type::BaseModel
|
|
348
|
+
attr_accessor captured_at: Time
|
|
349
|
+
|
|
350
|
+
attr_accessor text: String
|
|
351
|
+
|
|
352
|
+
def initialize: (captured_at: Time, text: String) -> void
|
|
353
|
+
|
|
354
|
+
def to_hash: -> { captured_at: Time, text: String }
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
type monitors_sitemap_baseline =
|
|
358
|
+
{ captured_at: Time, url_count: Integer, urls: ::Array[String] }
|
|
359
|
+
|
|
360
|
+
class MonitorsSitemapBaseline < ContextDev::Internal::Type::BaseModel
|
|
361
|
+
attr_accessor captured_at: Time
|
|
362
|
+
|
|
363
|
+
attr_accessor url_count: Integer
|
|
364
|
+
|
|
365
|
+
attr_accessor urls: ::Array[String]
|
|
366
|
+
|
|
367
|
+
def initialize: (
|
|
368
|
+
captured_at: Time,
|
|
369
|
+
url_count: Integer,
|
|
370
|
+
urls: ::Array[String]
|
|
371
|
+
) -> void
|
|
372
|
+
|
|
373
|
+
def to_hash: -> {
|
|
374
|
+
captured_at: Time,
|
|
375
|
+
url_count: Integer,
|
|
376
|
+
urls: ::Array[String]
|
|
377
|
+
}
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
type monitors_extract_baseline =
|
|
381
|
+
{ captured_at: Time, data: top, urls_analyzed: ::Array[String] }
|
|
382
|
+
|
|
383
|
+
class MonitorsExtractBaseline < ContextDev::Internal::Type::BaseModel
|
|
384
|
+
attr_accessor captured_at: Time
|
|
385
|
+
|
|
386
|
+
attr_accessor data: top
|
|
387
|
+
|
|
388
|
+
attr_accessor urls_analyzed: ::Array[String]
|
|
389
|
+
|
|
390
|
+
def initialize: (
|
|
391
|
+
captured_at: Time,
|
|
392
|
+
data: top,
|
|
393
|
+
urls_analyzed: ::Array[String]
|
|
394
|
+
) -> void
|
|
395
|
+
|
|
396
|
+
def to_hash: -> {
|
|
397
|
+
captured_at: Time,
|
|
398
|
+
data: top,
|
|
399
|
+
urls_analyzed: ::Array[String]
|
|
400
|
+
}
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
def self?.variants: -> ::Array[ContextDev::Models::MonitorRetrieveResponse::baseline]
|
|
404
|
+
end
|
|
405
|
+
|
|
342
406
|
type last_error = { code: String, message: String }
|
|
343
407
|
|
|
344
408
|
class LastError < ContextDev::Internal::Type::BaseModel
|
|
@@ -94,12 +94,9 @@ module ContextDev
|
|
|
94
94
|
def to_hash: -> { type: :exact }
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
type semantic =
|
|
98
|
-
{ query: String, type: :semantic, confidence_threshold: Float }
|
|
97
|
+
type semantic = { type: :semantic, confidence_threshold: Float }
|
|
99
98
|
|
|
100
99
|
class Semantic < ContextDev::Internal::Type::BaseModel
|
|
101
|
-
attr_accessor query: String
|
|
102
|
-
|
|
103
100
|
attr_accessor type: :semantic
|
|
104
101
|
|
|
105
102
|
attr_reader confidence_threshold: Float?
|
|
@@ -107,16 +104,11 @@ module ContextDev
|
|
|
107
104
|
def confidence_threshold=: (Float) -> Float
|
|
108
105
|
|
|
109
106
|
def initialize: (
|
|
110
|
-
query: String,
|
|
111
107
|
?confidence_threshold: Float,
|
|
112
108
|
?type: :semantic
|
|
113
109
|
) -> void
|
|
114
110
|
|
|
115
|
-
def to_hash: -> {
|
|
116
|
-
query: String,
|
|
117
|
-
type: :semantic,
|
|
118
|
-
confidence_threshold: Float
|
|
119
|
-
}
|
|
111
|
+
def to_hash: -> { type: :semantic, confidence_threshold: Float }
|
|
120
112
|
end
|
|
121
113
|
|
|
122
114
|
def self?.variants: -> ::Array[ContextDev::Models::MonitorUpdateParams::change_detection]
|
|
@@ -259,16 +251,18 @@ module ContextDev
|
|
|
259
251
|
|
|
260
252
|
type extract =
|
|
261
253
|
{
|
|
254
|
+
instructions: String,
|
|
262
255
|
type: :extract,
|
|
263
256
|
url: String,
|
|
264
257
|
follow_subdomains: bool,
|
|
265
|
-
instructions: String,
|
|
266
258
|
max_depth: Integer,
|
|
267
259
|
max_pages: Integer,
|
|
268
260
|
schema: ::Hash[Symbol, top]
|
|
269
261
|
}
|
|
270
262
|
|
|
271
263
|
class Extract < ContextDev::Internal::Type::BaseModel
|
|
264
|
+
attr_accessor instructions: String
|
|
265
|
+
|
|
272
266
|
attr_accessor type: :extract
|
|
273
267
|
|
|
274
268
|
attr_accessor url: String
|
|
@@ -277,10 +271,6 @@ module ContextDev
|
|
|
277
271
|
|
|
278
272
|
def follow_subdomains=: (bool) -> bool
|
|
279
273
|
|
|
280
|
-
attr_reader instructions: String?
|
|
281
|
-
|
|
282
|
-
def instructions=: (String) -> String
|
|
283
|
-
|
|
284
274
|
attr_reader max_depth: Integer?
|
|
285
275
|
|
|
286
276
|
def max_depth=: (Integer) -> Integer
|
|
@@ -294,9 +284,9 @@ module ContextDev
|
|
|
294
284
|
def schema=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
|
|
295
285
|
|
|
296
286
|
def initialize: (
|
|
287
|
+
instructions: String,
|
|
297
288
|
url: String,
|
|
298
289
|
?follow_subdomains: bool,
|
|
299
|
-
?instructions: String,
|
|
300
290
|
?max_depth: Integer,
|
|
301
291
|
?max_pages: Integer,
|
|
302
292
|
?schema: ::Hash[Symbol, top],
|
|
@@ -304,10 +294,10 @@ module ContextDev
|
|
|
304
294
|
) -> void
|
|
305
295
|
|
|
306
296
|
def to_hash: -> {
|
|
297
|
+
instructions: String,
|
|
307
298
|
type: :extract,
|
|
308
299
|
url: String,
|
|
309
300
|
follow_subdomains: bool,
|
|
310
|
-
instructions: String,
|
|
311
301
|
max_depth: Integer,
|
|
312
302
|
max_pages: Integer,
|
|
313
303
|
schema: ::Hash[Symbol, top]
|
|
@@ -11,6 +11,7 @@ module ContextDev
|
|
|
11
11
|
status: ContextDev::Models::MonitorUpdateResponse::status,
|
|
12
12
|
target: ContextDev::Models::MonitorUpdateResponse::target,
|
|
13
13
|
updated_at: Time,
|
|
14
|
+
baseline: ContextDev::Models::MonitorUpdateResponse::baseline?,
|
|
14
15
|
last_change_at: Time?,
|
|
15
16
|
last_error: ContextDev::Models::MonitorUpdateResponse::LastError?,
|
|
16
17
|
last_run_at: Time?,
|
|
@@ -38,6 +39,8 @@ module ContextDev
|
|
|
38
39
|
|
|
39
40
|
attr_accessor updated_at: Time
|
|
40
41
|
|
|
42
|
+
attr_accessor baseline: ContextDev::Models::MonitorUpdateResponse::baseline?
|
|
43
|
+
|
|
41
44
|
attr_accessor last_change_at: Time?
|
|
42
45
|
|
|
43
46
|
attr_accessor last_error: ContextDev::Models::MonitorUpdateResponse::LastError?
|
|
@@ -62,6 +65,7 @@ module ContextDev
|
|
|
62
65
|
status: ContextDev::Models::MonitorUpdateResponse::status,
|
|
63
66
|
target: ContextDev::Models::MonitorUpdateResponse::target,
|
|
64
67
|
updated_at: Time,
|
|
68
|
+
?baseline: ContextDev::Models::MonitorUpdateResponse::baseline?,
|
|
65
69
|
?last_change_at: Time?,
|
|
66
70
|
?last_error: ContextDev::Models::MonitorUpdateResponse::LastError?,
|
|
67
71
|
?last_run_at: Time?,
|
|
@@ -80,6 +84,7 @@ module ContextDev
|
|
|
80
84
|
status: ContextDev::Models::MonitorUpdateResponse::status,
|
|
81
85
|
target: ContextDev::Models::MonitorUpdateResponse::target,
|
|
82
86
|
updated_at: Time,
|
|
87
|
+
baseline: ContextDev::Models::MonitorUpdateResponse::baseline?,
|
|
83
88
|
last_change_at: Time?,
|
|
84
89
|
last_error: ContextDev::Models::MonitorUpdateResponse::LastError?,
|
|
85
90
|
last_run_at: Time?,
|
|
@@ -105,12 +110,9 @@ module ContextDev
|
|
|
105
110
|
def to_hash: -> { type: :exact }
|
|
106
111
|
end
|
|
107
112
|
|
|
108
|
-
type semantic =
|
|
109
|
-
{ query: String, type: :semantic, confidence_threshold: Float }
|
|
113
|
+
type semantic = { type: :semantic, confidence_threshold: Float }
|
|
110
114
|
|
|
111
115
|
class Semantic < ContextDev::Internal::Type::BaseModel
|
|
112
|
-
attr_accessor query: String
|
|
113
|
-
|
|
114
116
|
attr_accessor type: :semantic
|
|
115
117
|
|
|
116
118
|
attr_reader confidence_threshold: Float?
|
|
@@ -118,16 +120,11 @@ module ContextDev
|
|
|
118
120
|
def confidence_threshold=: (Float) -> Float
|
|
119
121
|
|
|
120
122
|
def initialize: (
|
|
121
|
-
query: String,
|
|
122
123
|
?confidence_threshold: Float,
|
|
123
124
|
?type: :semantic
|
|
124
125
|
) -> void
|
|
125
126
|
|
|
126
|
-
def to_hash: -> {
|
|
127
|
-
query: String,
|
|
128
|
-
type: :semantic,
|
|
129
|
-
confidence_threshold: Float
|
|
130
|
-
}
|
|
127
|
+
def to_hash: -> { type: :semantic, confidence_threshold: Float }
|
|
131
128
|
end
|
|
132
129
|
|
|
133
130
|
def self?.variants: -> ::Array[ContextDev::Models::MonitorUpdateResponse::change_detection]
|
|
@@ -281,16 +278,18 @@ module ContextDev
|
|
|
281
278
|
|
|
282
279
|
type extract =
|
|
283
280
|
{
|
|
281
|
+
instructions: String,
|
|
284
282
|
type: :extract,
|
|
285
283
|
url: String,
|
|
286
284
|
follow_subdomains: bool,
|
|
287
|
-
instructions: String,
|
|
288
285
|
max_depth: Integer,
|
|
289
286
|
max_pages: Integer,
|
|
290
287
|
schema: ::Hash[Symbol, top]
|
|
291
288
|
}
|
|
292
289
|
|
|
293
290
|
class Extract < ContextDev::Internal::Type::BaseModel
|
|
291
|
+
attr_accessor instructions: String
|
|
292
|
+
|
|
294
293
|
attr_accessor type: :extract
|
|
295
294
|
|
|
296
295
|
attr_accessor url: String
|
|
@@ -299,10 +298,6 @@ module ContextDev
|
|
|
299
298
|
|
|
300
299
|
def follow_subdomains=: (bool) -> bool
|
|
301
300
|
|
|
302
|
-
attr_reader instructions: String?
|
|
303
|
-
|
|
304
|
-
def instructions=: (String) -> String
|
|
305
|
-
|
|
306
301
|
attr_reader max_depth: Integer?
|
|
307
302
|
|
|
308
303
|
def max_depth=: (Integer) -> Integer
|
|
@@ -316,9 +311,9 @@ module ContextDev
|
|
|
316
311
|
def schema=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
|
|
317
312
|
|
|
318
313
|
def initialize: (
|
|
314
|
+
instructions: String,
|
|
319
315
|
url: String,
|
|
320
316
|
?follow_subdomains: bool,
|
|
321
|
-
?instructions: String,
|
|
322
317
|
?max_depth: Integer,
|
|
323
318
|
?max_pages: Integer,
|
|
324
319
|
?schema: ::Hash[Symbol, top],
|
|
@@ -326,10 +321,10 @@ module ContextDev
|
|
|
326
321
|
) -> void
|
|
327
322
|
|
|
328
323
|
def to_hash: -> {
|
|
324
|
+
instructions: String,
|
|
329
325
|
type: :extract,
|
|
330
326
|
url: String,
|
|
331
327
|
follow_subdomains: bool,
|
|
332
|
-
instructions: String,
|
|
333
328
|
max_depth: Integer,
|
|
334
329
|
max_pages: Integer,
|
|
335
330
|
schema: ::Hash[Symbol, top]
|
|
@@ -339,6 +334,75 @@ module ContextDev
|
|
|
339
334
|
def self?.variants: -> ::Array[ContextDev::Models::MonitorUpdateResponse::target]
|
|
340
335
|
end
|
|
341
336
|
|
|
337
|
+
type baseline =
|
|
338
|
+
ContextDev::Models::MonitorUpdateResponse::Baseline::MonitorsPageBaseline
|
|
339
|
+
| ContextDev::Models::MonitorUpdateResponse::Baseline::MonitorsSitemapBaseline
|
|
340
|
+
| ContextDev::Models::MonitorUpdateResponse::Baseline::MonitorsExtractBaseline
|
|
341
|
+
|
|
342
|
+
module Baseline
|
|
343
|
+
extend ContextDev::Internal::Type::Union
|
|
344
|
+
|
|
345
|
+
type monitors_page_baseline = { captured_at: Time, text: String }
|
|
346
|
+
|
|
347
|
+
class MonitorsPageBaseline < ContextDev::Internal::Type::BaseModel
|
|
348
|
+
attr_accessor captured_at: Time
|
|
349
|
+
|
|
350
|
+
attr_accessor text: String
|
|
351
|
+
|
|
352
|
+
def initialize: (captured_at: Time, text: String) -> void
|
|
353
|
+
|
|
354
|
+
def to_hash: -> { captured_at: Time, text: String }
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
type monitors_sitemap_baseline =
|
|
358
|
+
{ captured_at: Time, url_count: Integer, urls: ::Array[String] }
|
|
359
|
+
|
|
360
|
+
class MonitorsSitemapBaseline < ContextDev::Internal::Type::BaseModel
|
|
361
|
+
attr_accessor captured_at: Time
|
|
362
|
+
|
|
363
|
+
attr_accessor url_count: Integer
|
|
364
|
+
|
|
365
|
+
attr_accessor urls: ::Array[String]
|
|
366
|
+
|
|
367
|
+
def initialize: (
|
|
368
|
+
captured_at: Time,
|
|
369
|
+
url_count: Integer,
|
|
370
|
+
urls: ::Array[String]
|
|
371
|
+
) -> void
|
|
372
|
+
|
|
373
|
+
def to_hash: -> {
|
|
374
|
+
captured_at: Time,
|
|
375
|
+
url_count: Integer,
|
|
376
|
+
urls: ::Array[String]
|
|
377
|
+
}
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
type monitors_extract_baseline =
|
|
381
|
+
{ captured_at: Time, data: top, urls_analyzed: ::Array[String] }
|
|
382
|
+
|
|
383
|
+
class MonitorsExtractBaseline < ContextDev::Internal::Type::BaseModel
|
|
384
|
+
attr_accessor captured_at: Time
|
|
385
|
+
|
|
386
|
+
attr_accessor data: top
|
|
387
|
+
|
|
388
|
+
attr_accessor urls_analyzed: ::Array[String]
|
|
389
|
+
|
|
390
|
+
def initialize: (
|
|
391
|
+
captured_at: Time,
|
|
392
|
+
data: top,
|
|
393
|
+
urls_analyzed: ::Array[String]
|
|
394
|
+
) -> void
|
|
395
|
+
|
|
396
|
+
def to_hash: -> {
|
|
397
|
+
captured_at: Time,
|
|
398
|
+
data: top,
|
|
399
|
+
urls_analyzed: ::Array[String]
|
|
400
|
+
}
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
def self?.variants: -> ::Array[ContextDev::Models::MonitorUpdateResponse::baseline]
|
|
404
|
+
end
|
|
405
|
+
|
|
342
406
|
type last_error = { code: String, message: String }
|
|
343
407
|
|
|
344
408
|
class LastError < ContextDev::Internal::Type::BaseModel
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: context.dev
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Context Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|