airbyte-agent-shopify 0.1.13__py3-none-any.whl → 0.1.15__py3-none-any.whl
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.
- airbyte_agent_shopify/__init__.py +6 -6
- airbyte_agent_shopify/_vendored/connector_sdk/http_client.py +1 -1
- airbyte_agent_shopify/models.py +65 -65
- {airbyte_agent_shopify-0.1.13.dist-info → airbyte_agent_shopify-0.1.15.dist-info}/METADATA +3 -3
- {airbyte_agent_shopify-0.1.13.dist-info → airbyte_agent_shopify-0.1.15.dist-info}/RECORD +6 -6
- {airbyte_agent_shopify-0.1.13.dist-info → airbyte_agent_shopify-0.1.15.dist-info}/WHEEL +0 -0
|
@@ -13,14 +13,14 @@ from .models import (
|
|
|
13
13
|
CustomerAddressList,
|
|
14
14
|
MarketingConsent,
|
|
15
15
|
OrderAddress,
|
|
16
|
-
LineItem,
|
|
17
|
-
Fulfillment,
|
|
18
16
|
Transaction,
|
|
19
17
|
Refund,
|
|
18
|
+
LineItem,
|
|
19
|
+
Fulfillment,
|
|
20
20
|
Order,
|
|
21
21
|
OrderList,
|
|
22
|
-
ProductVariant,
|
|
23
22
|
ProductImage,
|
|
23
|
+
ProductVariant,
|
|
24
24
|
Product,
|
|
25
25
|
ProductList,
|
|
26
26
|
ProductVariantList,
|
|
@@ -186,14 +186,14 @@ __all__ = [
|
|
|
186
186
|
"CustomerAddressList",
|
|
187
187
|
"MarketingConsent",
|
|
188
188
|
"OrderAddress",
|
|
189
|
-
"LineItem",
|
|
190
|
-
"Fulfillment",
|
|
191
189
|
"Transaction",
|
|
192
190
|
"Refund",
|
|
191
|
+
"LineItem",
|
|
192
|
+
"Fulfillment",
|
|
193
193
|
"Order",
|
|
194
194
|
"OrderList",
|
|
195
|
-
"ProductVariant",
|
|
196
195
|
"ProductImage",
|
|
196
|
+
"ProductVariant",
|
|
197
197
|
"Product",
|
|
198
198
|
"ProductList",
|
|
199
199
|
"ProductVariantList",
|
|
@@ -490,7 +490,7 @@ class HTTPClient:
|
|
|
490
490
|
|
|
491
491
|
if not response_text.strip():
|
|
492
492
|
response_data = {}
|
|
493
|
-
elif "application/json" in content_type or not content_type:
|
|
493
|
+
elif "application/json" in content_type or "+json" in content_type or not content_type:
|
|
494
494
|
response_data = await response.json()
|
|
495
495
|
else:
|
|
496
496
|
error_msg = f"Expected JSON response for {method.upper()} {url}, got content-type: {content_type}"
|
airbyte_agent_shopify/models.py
CHANGED
|
@@ -119,6 +119,55 @@ class OrderAddress(BaseModel):
|
|
|
119
119
|
latitude: Union[float | None, Any] = Field(default=None)
|
|
120
120
|
longitude: Union[float | None, Any] = Field(default=None)
|
|
121
121
|
|
|
122
|
+
class Transaction(BaseModel):
|
|
123
|
+
"""An order transaction"""
|
|
124
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
125
|
+
|
|
126
|
+
id: Union[int, Any] = Field(default=None)
|
|
127
|
+
order_id: Union[int | None, Any] = Field(default=None)
|
|
128
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
129
|
+
gateway: Union[str | None, Any] = Field(default=None)
|
|
130
|
+
status: Union[str | None, Any] = Field(default=None)
|
|
131
|
+
message: Union[str | None, Any] = Field(default=None)
|
|
132
|
+
created_at: Union[str | None, Any] = Field(default=None)
|
|
133
|
+
test: Union[bool | None, Any] = Field(default=None)
|
|
134
|
+
authorization: Union[str | None, Any] = Field(default=None)
|
|
135
|
+
location_id: Union[int | None, Any] = Field(default=None)
|
|
136
|
+
user_id: Union[int | None, Any] = Field(default=None)
|
|
137
|
+
parent_id: Union[int | None, Any] = Field(default=None)
|
|
138
|
+
processed_at: Union[str | None, Any] = Field(default=None)
|
|
139
|
+
device_id: Union[int | None, Any] = Field(default=None)
|
|
140
|
+
error_code: Union[str | None, Any] = Field(default=None)
|
|
141
|
+
source_name: Union[str | None, Any] = Field(default=None)
|
|
142
|
+
receipt: Union[dict[str, Any] | None, Any] = Field(default=None)
|
|
143
|
+
currency_exchange_adjustment: Union[dict[str, Any] | None, Any] = Field(default=None)
|
|
144
|
+
amount: Union[str | None, Any] = Field(default=None)
|
|
145
|
+
currency: Union[str | None, Any] = Field(default=None)
|
|
146
|
+
payment_id: Union[str | None, Any] = Field(default=None)
|
|
147
|
+
total_unsettled_set: Union[dict[str, Any] | None, Any] = Field(default=None)
|
|
148
|
+
manual_payment_gateway: Union[bool | None, Any] = Field(default=None)
|
|
149
|
+
admin_graphql_api_id: Union[str | None, Any] = Field(default=None)
|
|
150
|
+
|
|
151
|
+
class Refund(BaseModel):
|
|
152
|
+
"""An order refund"""
|
|
153
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
154
|
+
|
|
155
|
+
id: Union[int, Any] = Field(default=None)
|
|
156
|
+
order_id: Union[int | None, Any] = Field(default=None)
|
|
157
|
+
created_at: Union[str | None, Any] = Field(default=None)
|
|
158
|
+
note: Union[str | None, Any] = Field(default=None)
|
|
159
|
+
user_id: Union[int | None, Any] = Field(default=None)
|
|
160
|
+
processed_at: Union[str | None, Any] = Field(default=None)
|
|
161
|
+
restock: Union[bool | None, Any] = Field(default=None)
|
|
162
|
+
duties: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
163
|
+
total_duties_set: Union[dict[str, Any] | None, Any] = Field(default=None)
|
|
164
|
+
return_: Union[dict[str, Any] | None, Any] = Field(default=None, alias="return")
|
|
165
|
+
refund_line_items: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
166
|
+
transactions: Union[list[Transaction] | None, Any] = Field(default=None)
|
|
167
|
+
order_adjustments: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
168
|
+
admin_graphql_api_id: Union[str | None, Any] = Field(default=None)
|
|
169
|
+
refund_shipping_lines: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
170
|
+
|
|
122
171
|
class LineItem(BaseModel):
|
|
123
172
|
"""LineItem type definition"""
|
|
124
173
|
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
@@ -176,55 +225,6 @@ class Fulfillment(BaseModel):
|
|
|
176
225
|
name: Union[str | None, Any] = Field(default=None)
|
|
177
226
|
admin_graphql_api_id: Union[str | None, Any] = Field(default=None)
|
|
178
227
|
|
|
179
|
-
class Transaction(BaseModel):
|
|
180
|
-
"""An order transaction"""
|
|
181
|
-
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
182
|
-
|
|
183
|
-
id: Union[int, Any] = Field(default=None)
|
|
184
|
-
order_id: Union[int | None, Any] = Field(default=None)
|
|
185
|
-
kind: Union[str | None, Any] = Field(default=None)
|
|
186
|
-
gateway: Union[str | None, Any] = Field(default=None)
|
|
187
|
-
status: Union[str | None, Any] = Field(default=None)
|
|
188
|
-
message: Union[str | None, Any] = Field(default=None)
|
|
189
|
-
created_at: Union[str | None, Any] = Field(default=None)
|
|
190
|
-
test: Union[bool | None, Any] = Field(default=None)
|
|
191
|
-
authorization: Union[str | None, Any] = Field(default=None)
|
|
192
|
-
location_id: Union[int | None, Any] = Field(default=None)
|
|
193
|
-
user_id: Union[int | None, Any] = Field(default=None)
|
|
194
|
-
parent_id: Union[int | None, Any] = Field(default=None)
|
|
195
|
-
processed_at: Union[str | None, Any] = Field(default=None)
|
|
196
|
-
device_id: Union[int | None, Any] = Field(default=None)
|
|
197
|
-
error_code: Union[str | None, Any] = Field(default=None)
|
|
198
|
-
source_name: Union[str | None, Any] = Field(default=None)
|
|
199
|
-
receipt: Union[dict[str, Any] | None, Any] = Field(default=None)
|
|
200
|
-
currency_exchange_adjustment: Union[dict[str, Any] | None, Any] = Field(default=None)
|
|
201
|
-
amount: Union[str | None, Any] = Field(default=None)
|
|
202
|
-
currency: Union[str | None, Any] = Field(default=None)
|
|
203
|
-
payment_id: Union[str | None, Any] = Field(default=None)
|
|
204
|
-
total_unsettled_set: Union[dict[str, Any] | None, Any] = Field(default=None)
|
|
205
|
-
manual_payment_gateway: Union[bool | None, Any] = Field(default=None)
|
|
206
|
-
admin_graphql_api_id: Union[str | None, Any] = Field(default=None)
|
|
207
|
-
|
|
208
|
-
class Refund(BaseModel):
|
|
209
|
-
"""An order refund"""
|
|
210
|
-
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
211
|
-
|
|
212
|
-
id: Union[int, Any] = Field(default=None)
|
|
213
|
-
order_id: Union[int | None, Any] = Field(default=None)
|
|
214
|
-
created_at: Union[str | None, Any] = Field(default=None)
|
|
215
|
-
note: Union[str | None, Any] = Field(default=None)
|
|
216
|
-
user_id: Union[int | None, Any] = Field(default=None)
|
|
217
|
-
processed_at: Union[str | None, Any] = Field(default=None)
|
|
218
|
-
restock: Union[bool | None, Any] = Field(default=None)
|
|
219
|
-
duties: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
220
|
-
total_duties_set: Union[dict[str, Any] | None, Any] = Field(default=None)
|
|
221
|
-
return_: Union[dict[str, Any] | None, Any] = Field(default=None, alias="return")
|
|
222
|
-
refund_line_items: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
223
|
-
transactions: Union[list[Transaction] | None, Any] = Field(default=None)
|
|
224
|
-
order_adjustments: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
225
|
-
admin_graphql_api_id: Union[str | None, Any] = Field(default=None)
|
|
226
|
-
refund_shipping_lines: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
227
|
-
|
|
228
228
|
class Order(BaseModel):
|
|
229
229
|
"""A Shopify order"""
|
|
230
230
|
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
@@ -329,6 +329,22 @@ class OrderList(BaseModel):
|
|
|
329
329
|
|
|
330
330
|
orders: Union[list[Order], Any] = Field(default=None)
|
|
331
331
|
|
|
332
|
+
class ProductImage(BaseModel):
|
|
333
|
+
"""A product image"""
|
|
334
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
335
|
+
|
|
336
|
+
id: Union[int, Any] = Field(default=None)
|
|
337
|
+
product_id: Union[int | None, Any] = Field(default=None)
|
|
338
|
+
position: Union[int | None, Any] = Field(default=None)
|
|
339
|
+
created_at: Union[str | None, Any] = Field(default=None)
|
|
340
|
+
updated_at: Union[str | None, Any] = Field(default=None)
|
|
341
|
+
alt: Union[str | None, Any] = Field(default=None)
|
|
342
|
+
width: Union[int | None, Any] = Field(default=None)
|
|
343
|
+
height: Union[int | None, Any] = Field(default=None)
|
|
344
|
+
src: Union[str | None, Any] = Field(default=None)
|
|
345
|
+
variant_ids: Union[list[int] | None, Any] = Field(default=None)
|
|
346
|
+
admin_graphql_api_id: Union[str | None, Any] = Field(default=None)
|
|
347
|
+
|
|
332
348
|
class ProductVariant(BaseModel):
|
|
333
349
|
"""A product variant"""
|
|
334
350
|
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
@@ -360,22 +376,6 @@ class ProductVariant(BaseModel):
|
|
|
360
376
|
requires_shipping: Union[bool | None, Any] = Field(default=None)
|
|
361
377
|
admin_graphql_api_id: Union[str | None, Any] = Field(default=None)
|
|
362
378
|
|
|
363
|
-
class ProductImage(BaseModel):
|
|
364
|
-
"""A product image"""
|
|
365
|
-
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
366
|
-
|
|
367
|
-
id: Union[int, Any] = Field(default=None)
|
|
368
|
-
product_id: Union[int | None, Any] = Field(default=None)
|
|
369
|
-
position: Union[int | None, Any] = Field(default=None)
|
|
370
|
-
created_at: Union[str | None, Any] = Field(default=None)
|
|
371
|
-
updated_at: Union[str | None, Any] = Field(default=None)
|
|
372
|
-
alt: Union[str | None, Any] = Field(default=None)
|
|
373
|
-
width: Union[int | None, Any] = Field(default=None)
|
|
374
|
-
height: Union[int | None, Any] = Field(default=None)
|
|
375
|
-
src: Union[str | None, Any] = Field(default=None)
|
|
376
|
-
variant_ids: Union[list[int] | None, Any] = Field(default=None)
|
|
377
|
-
admin_graphql_api_id: Union[str | None, Any] = Field(default=None)
|
|
378
|
-
|
|
379
379
|
class Product(BaseModel):
|
|
380
380
|
"""A Shopify product"""
|
|
381
381
|
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airbyte-agent-shopify
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.15
|
|
4
4
|
Summary: Airbyte Shopify Connector for AI platforms
|
|
5
5
|
Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
|
|
6
6
|
Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
|
|
@@ -168,6 +168,6 @@ For the service's official API docs, see the [Shopify API reference](https://sho
|
|
|
168
168
|
|
|
169
169
|
## Version information
|
|
170
170
|
|
|
171
|
-
- **Package version:** 0.1.
|
|
171
|
+
- **Package version:** 0.1.15
|
|
172
172
|
- **Connector version:** 0.1.2
|
|
173
|
-
- **Generated with Connector SDK commit SHA:**
|
|
173
|
+
- **Generated with Connector SDK commit SHA:** 0f5e1914fa0d7d52de7bc0018afab712184a0847
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
airbyte_agent_shopify/__init__.py,sha256=
|
|
1
|
+
airbyte_agent_shopify/__init__.py,sha256=pTsmlkXDY1gSoK-1vljXuQrbOa4ABrxUth6aau_HAoY,9661
|
|
2
2
|
airbyte_agent_shopify/connector.py,sha256=uDA7DNbgXNQQ94sp2Kinq2Rgu2FgBZEWzbgKTLEteZM,93793
|
|
3
3
|
airbyte_agent_shopify/connector_model.py,sha256=AVa7n--wns14y5tdsiKymVUMS7HboqVD8sdzvKPlBRM,691010
|
|
4
|
-
airbyte_agent_shopify/models.py,sha256=
|
|
4
|
+
airbyte_agent_shopify/models.py,sha256=tJdBFrs6UpuDaecihwOmhhNUhtw0VaqWh3m-HKvf6X0,60917
|
|
5
5
|
airbyte_agent_shopify/types.py,sha256=AwQ4PR2wZmHNuryriCFdRxf9q48J1mnPwspUB1b-L_o,10221
|
|
6
6
|
airbyte_agent_shopify/_vendored/__init__.py,sha256=ILl7AHXMui__swyrjxrh9yRa4dLiwBvV6axPWFWty80,38
|
|
7
7
|
airbyte_agent_shopify/_vendored/connector_sdk/__init__.py,sha256=T5o7roU6NSpH-lCAGZ338sE5dlh4ZU6i6IkeG1zpems,1949
|
|
@@ -11,7 +11,7 @@ airbyte_agent_shopify/_vendored/connector_sdk/connector_model_loader.py,sha256=A
|
|
|
11
11
|
airbyte_agent_shopify/_vendored/connector_sdk/constants.py,sha256=AtzOvhDMWbRJgpsQNWl5tkogHD6mWgEY668PgRmgtOY,2737
|
|
12
12
|
airbyte_agent_shopify/_vendored/connector_sdk/exceptions.py,sha256=ss5MGv9eVPmsbLcLWetuu3sDmvturwfo6Pw3M37Oq5k,481
|
|
13
13
|
airbyte_agent_shopify/_vendored/connector_sdk/extensions.py,sha256=XWRRoJOOrwUHSKbuQt5DU7CCu8ePzhd_HuP7c_uD77w,21376
|
|
14
|
-
airbyte_agent_shopify/_vendored/connector_sdk/http_client.py,sha256=
|
|
14
|
+
airbyte_agent_shopify/_vendored/connector_sdk/http_client.py,sha256=09Fclbq4wrg38EM2Yh2kHiykQVXqdAGby024elcEz8E,28027
|
|
15
15
|
airbyte_agent_shopify/_vendored/connector_sdk/introspection.py,sha256=kRVI4TDQDLdcCnTBUML8ycAtdqAQufVh-027sMkb4i8,19165
|
|
16
16
|
airbyte_agent_shopify/_vendored/connector_sdk/secrets.py,sha256=J9ezMu4xNnLW11xY5RCre6DHP7YMKZCqwGJfk7ufHAM,6855
|
|
17
17
|
airbyte_agent_shopify/_vendored/connector_sdk/types.py,sha256=in8gHsn5nsScujOfHZmkOgNmqmJKiPyNNjg59m5fGWc,8807
|
|
@@ -52,6 +52,6 @@ airbyte_agent_shopify/_vendored/connector_sdk/telemetry/__init__.py,sha256=RaLgk
|
|
|
52
52
|
airbyte_agent_shopify/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
|
|
53
53
|
airbyte_agent_shopify/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
|
|
54
54
|
airbyte_agent_shopify/_vendored/connector_sdk/telemetry/tracker.py,sha256=Ftrk0_ddfM7dZG8hF9xBuPwhbc9D6JZ7Q9qs5o3LEyA,5579
|
|
55
|
-
airbyte_agent_shopify-0.1.
|
|
56
|
-
airbyte_agent_shopify-0.1.
|
|
57
|
-
airbyte_agent_shopify-0.1.
|
|
55
|
+
airbyte_agent_shopify-0.1.15.dist-info/METADATA,sha256=k-Hyh_UVQDevPgnmtyFLllpF1nOZW8oWQkk3VxcEjCk,7842
|
|
56
|
+
airbyte_agent_shopify-0.1.15.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
57
|
+
airbyte_agent_shopify-0.1.15.dist-info/RECORD,,
|
|
File without changes
|