context.dev 1.7.0 → 1.8.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 +9 -0
- data/README.md +1 -1
- data/lib/context_dev/models/ai_extract_product_response.rb +9 -1
- data/lib/context_dev/models/ai_extract_products_response.rb +9 -1
- data/lib/context_dev/version.rb +1 -1
- data/rbi/context_dev/models/ai_extract_product_response.rbi +8 -0
- data/rbi/context_dev/models/ai_extract_products_response.rbi +8 -0
- data/sig/context_dev/models/ai_extract_product_response.rbs +5 -0
- data/sig/context_dev/models/ai_extract_products_response.rbs +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 968dddadfbf1199743ee57bc82a47fd2d7b882da416170b13f41bf0574828d5d
|
|
4
|
+
data.tar.gz: 5e35c5601c635fdc8182a81e5738418f4e4d879231cbaea89b1722ba5f28db00
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ffe4d5dde7376e41afd9607af63fcecd7ab97d8abf26a2adceef1a30594ec54dd10356c731c54dd97ebad44e00eb2d24132ebe27c25a95acfd8a568578557a9
|
|
7
|
+
data.tar.gz: 2fc80f2bc42e75a0dc03f4c3692f45e6eadce167280695690d69bc408c87eb9504fb557cd661c33041bff9c59876a6f47bbd8ba360b092ab762e70221b79e3ff
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.8.0 (2026-04-24)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.7.0...v1.8.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v1.7.0...v1.8.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([84bfef2](https://github.com/context-dot-dev/context-ruby-sdk/commit/84bfef260d99a7a444c243edc4be1c72191929dd))
|
|
10
|
+
* **api:** api update ([5405b96](https://github.com/context-dot-dev/context-ruby-sdk/commit/5405b9676800e2004d92dd9f621dfc56972bacd2))
|
|
11
|
+
|
|
3
12
|
## 1.7.0 (2026-04-24)
|
|
4
13
|
|
|
5
14
|
Full Changelog: [v1.6.0...v1.7.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v1.6.0...v1.7.0)
|
data/README.md
CHANGED
|
@@ -70,6 +70,12 @@ module ContextDev
|
|
|
70
70
|
# @return [String]
|
|
71
71
|
required :name, String
|
|
72
72
|
|
|
73
|
+
# @!attribute sku
|
|
74
|
+
# Stock Keeping Unit (product identifier). Null if no identifier is found.
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
required :sku, String, nil?: true
|
|
78
|
+
|
|
73
79
|
# @!attribute tags
|
|
74
80
|
# Tags associated with the product
|
|
75
81
|
#
|
|
@@ -128,7 +134,7 @@ module ContextDev
|
|
|
128
134
|
# @return [String, nil]
|
|
129
135
|
optional :url, String, nil?: true
|
|
130
136
|
|
|
131
|
-
# @!method initialize(description:, features:, images:, name:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
|
|
137
|
+
# @!method initialize(description:, features:, images:, name:, sku:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
|
|
132
138
|
# The extracted product data, or null if not a product page
|
|
133
139
|
#
|
|
134
140
|
# @param description [String] Description of the product
|
|
@@ -139,6 +145,8 @@ module ContextDev
|
|
|
139
145
|
#
|
|
140
146
|
# @param name [String] Name of the product
|
|
141
147
|
#
|
|
148
|
+
# @param sku [String, nil] Stock Keeping Unit (product identifier). Null if no identifier is found.
|
|
149
|
+
#
|
|
142
150
|
# @param tags [Array<String>] Tags associated with the product
|
|
143
151
|
#
|
|
144
152
|
# @param target_audience [Array<String>] Target audience for the product (array of strings)
|
|
@@ -39,6 +39,12 @@ module ContextDev
|
|
|
39
39
|
# @return [String]
|
|
40
40
|
required :name, String
|
|
41
41
|
|
|
42
|
+
# @!attribute sku
|
|
43
|
+
# Stock Keeping Unit (product identifier). Null if no identifier is found.
|
|
44
|
+
#
|
|
45
|
+
# @return [String, nil]
|
|
46
|
+
required :sku, String, nil?: true
|
|
47
|
+
|
|
42
48
|
# @!attribute tags
|
|
43
49
|
# Tags associated with the product
|
|
44
50
|
#
|
|
@@ -97,7 +103,7 @@ module ContextDev
|
|
|
97
103
|
# @return [String, nil]
|
|
98
104
|
optional :url, String, nil?: true
|
|
99
105
|
|
|
100
|
-
# @!method initialize(description:, features:, images:, name:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
|
|
106
|
+
# @!method initialize(description:, features:, images:, name:, sku:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
|
|
101
107
|
# @param description [String] Description of the product
|
|
102
108
|
#
|
|
103
109
|
# @param features [Array<String>] List of product features
|
|
@@ -106,6 +112,8 @@ module ContextDev
|
|
|
106
112
|
#
|
|
107
113
|
# @param name [String] Name of the product
|
|
108
114
|
#
|
|
115
|
+
# @param sku [String, nil] Stock Keeping Unit (product identifier). Null if no identifier is found.
|
|
116
|
+
#
|
|
109
117
|
# @param tags [Array<String>] Tags associated with the product
|
|
110
118
|
#
|
|
111
119
|
# @param target_audience [Array<String>] Target audience for the product (array of strings)
|
data/lib/context_dev/version.rb
CHANGED
|
@@ -155,6 +155,10 @@ module ContextDev
|
|
|
155
155
|
sig { returns(String) }
|
|
156
156
|
attr_accessor :name
|
|
157
157
|
|
|
158
|
+
# Stock Keeping Unit (product identifier). Null if no identifier is found.
|
|
159
|
+
sig { returns(T.nilable(String)) }
|
|
160
|
+
attr_accessor :sku
|
|
161
|
+
|
|
158
162
|
# Tags associated with the product
|
|
159
163
|
sig { returns(T::Array[String]) }
|
|
160
164
|
attr_accessor :tags
|
|
@@ -210,6 +214,7 @@ module ContextDev
|
|
|
210
214
|
features: T::Array[String],
|
|
211
215
|
images: T::Array[String],
|
|
212
216
|
name: String,
|
|
217
|
+
sku: T.nilable(String),
|
|
213
218
|
tags: T::Array[String],
|
|
214
219
|
target_audience: T::Array[String],
|
|
215
220
|
billing_frequency:
|
|
@@ -236,6 +241,8 @@ module ContextDev
|
|
|
236
241
|
images:,
|
|
237
242
|
# Name of the product
|
|
238
243
|
name:,
|
|
244
|
+
# Stock Keeping Unit (product identifier). Null if no identifier is found.
|
|
245
|
+
sku:,
|
|
239
246
|
# Tags associated with the product
|
|
240
247
|
tags:,
|
|
241
248
|
# Target audience for the product (array of strings)
|
|
@@ -264,6 +271,7 @@ module ContextDev
|
|
|
264
271
|
features: T::Array[String],
|
|
265
272
|
images: T::Array[String],
|
|
266
273
|
name: String,
|
|
274
|
+
sku: T.nilable(String),
|
|
267
275
|
tags: T::Array[String],
|
|
268
276
|
target_audience: T::Array[String],
|
|
269
277
|
billing_frequency:
|
|
@@ -81,6 +81,10 @@ module ContextDev
|
|
|
81
81
|
sig { returns(String) }
|
|
82
82
|
attr_accessor :name
|
|
83
83
|
|
|
84
|
+
# Stock Keeping Unit (product identifier). Null if no identifier is found.
|
|
85
|
+
sig { returns(T.nilable(String)) }
|
|
86
|
+
attr_accessor :sku
|
|
87
|
+
|
|
84
88
|
# Tags associated with the product
|
|
85
89
|
sig { returns(T::Array[String]) }
|
|
86
90
|
attr_accessor :tags
|
|
@@ -135,6 +139,7 @@ module ContextDev
|
|
|
135
139
|
features: T::Array[String],
|
|
136
140
|
images: T::Array[String],
|
|
137
141
|
name: String,
|
|
142
|
+
sku: T.nilable(String),
|
|
138
143
|
tags: T::Array[String],
|
|
139
144
|
target_audience: T::Array[String],
|
|
140
145
|
billing_frequency:
|
|
@@ -161,6 +166,8 @@ module ContextDev
|
|
|
161
166
|
images:,
|
|
162
167
|
# Name of the product
|
|
163
168
|
name:,
|
|
169
|
+
# Stock Keeping Unit (product identifier). Null if no identifier is found.
|
|
170
|
+
sku:,
|
|
164
171
|
# Tags associated with the product
|
|
165
172
|
tags:,
|
|
166
173
|
# Target audience for the product (array of strings)
|
|
@@ -189,6 +196,7 @@ module ContextDev
|
|
|
189
196
|
features: T::Array[String],
|
|
190
197
|
images: T::Array[String],
|
|
191
198
|
name: String,
|
|
199
|
+
sku: T.nilable(String),
|
|
192
200
|
tags: T::Array[String],
|
|
193
201
|
target_audience: T::Array[String],
|
|
194
202
|
billing_frequency:
|
|
@@ -47,6 +47,7 @@ module ContextDev
|
|
|
47
47
|
features: ::Array[String],
|
|
48
48
|
images: ::Array[String],
|
|
49
49
|
name: String,
|
|
50
|
+
sku: String?,
|
|
50
51
|
tags: ::Array[String],
|
|
51
52
|
target_audience: ::Array[String],
|
|
52
53
|
billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?,
|
|
@@ -67,6 +68,8 @@ module ContextDev
|
|
|
67
68
|
|
|
68
69
|
attr_accessor name: String
|
|
69
70
|
|
|
71
|
+
attr_accessor sku: String?
|
|
72
|
+
|
|
70
73
|
attr_accessor tags: ::Array[String]
|
|
71
74
|
|
|
72
75
|
attr_accessor target_audience: ::Array[String]
|
|
@@ -90,6 +93,7 @@ module ContextDev
|
|
|
90
93
|
features: ::Array[String],
|
|
91
94
|
images: ::Array[String],
|
|
92
95
|
name: String,
|
|
96
|
+
sku: String?,
|
|
93
97
|
tags: ::Array[String],
|
|
94
98
|
target_audience: ::Array[String],
|
|
95
99
|
?billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?,
|
|
@@ -106,6 +110,7 @@ module ContextDev
|
|
|
106
110
|
features: ::Array[String],
|
|
107
111
|
images: ::Array[String],
|
|
108
112
|
name: String,
|
|
113
|
+
sku: String?,
|
|
109
114
|
tags: ::Array[String],
|
|
110
115
|
target_audience: ::Array[String],
|
|
111
116
|
billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?,
|
|
@@ -26,6 +26,7 @@ module ContextDev
|
|
|
26
26
|
features: ::Array[String],
|
|
27
27
|
images: ::Array[String],
|
|
28
28
|
name: String,
|
|
29
|
+
sku: String?,
|
|
29
30
|
tags: ::Array[String],
|
|
30
31
|
target_audience: ::Array[String],
|
|
31
32
|
billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?,
|
|
@@ -46,6 +47,8 @@ module ContextDev
|
|
|
46
47
|
|
|
47
48
|
attr_accessor name: String
|
|
48
49
|
|
|
50
|
+
attr_accessor sku: String?
|
|
51
|
+
|
|
49
52
|
attr_accessor tags: ::Array[String]
|
|
50
53
|
|
|
51
54
|
attr_accessor target_audience: ::Array[String]
|
|
@@ -69,6 +72,7 @@ module ContextDev
|
|
|
69
72
|
features: ::Array[String],
|
|
70
73
|
images: ::Array[String],
|
|
71
74
|
name: String,
|
|
75
|
+
sku: String?,
|
|
72
76
|
tags: ::Array[String],
|
|
73
77
|
target_audience: ::Array[String],
|
|
74
78
|
?billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?,
|
|
@@ -85,6 +89,7 @@ module ContextDev
|
|
|
85
89
|
features: ::Array[String],
|
|
86
90
|
images: ::Array[String],
|
|
87
91
|
name: String,
|
|
92
|
+
sku: String?,
|
|
88
93
|
tags: ::Array[String],
|
|
89
94
|
target_audience: ::Array[String],
|
|
90
95
|
billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?,
|