airbyte-agent-shopify 0.1.12__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 +349 -0
- airbyte_agent_shopify/_vendored/__init__.py +1 -0
- airbyte_agent_shopify/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_shopify/_vendored/connector_sdk/auth_strategies.py +1171 -0
- airbyte_agent_shopify/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/client.py +213 -0
- airbyte_agent_shopify/_vendored/connector_sdk/connector_model_loader.py +1124 -0
- airbyte_agent_shopify/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_shopify/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_shopify/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_shopify/_vendored/connector_sdk/executor/hosted_executor.py +196 -0
- airbyte_agent_shopify/_vendored/connector_sdk/executor/local_executor.py +1773 -0
- airbyte_agent_shopify/_vendored/connector_sdk/executor/models.py +190 -0
- airbyte_agent_shopify/_vendored/connector_sdk/extensions.py +693 -0
- airbyte_agent_shopify/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_shopify/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_shopify/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_shopify/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_shopify/_vendored/connector_sdk/http/response.py +104 -0
- airbyte_agent_shopify/_vendored/connector_sdk/http_client.py +693 -0
- airbyte_agent_shopify/_vendored/connector_sdk/introspection.py +474 -0
- airbyte_agent_shopify/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_shopify/_vendored/connector_sdk/logging/logger.py +273 -0
- airbyte_agent_shopify/_vendored/connector_sdk/logging/types.py +93 -0
- airbyte_agent_shopify/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_shopify/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_shopify/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_shopify/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_shopify/_vendored/connector_sdk/observability/session.py +103 -0
- airbyte_agent_shopify/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_shopify/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_shopify/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_shopify/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_shopify/_vendored/connector_sdk/schema/base.py +201 -0
- airbyte_agent_shopify/_vendored/connector_sdk/schema/components.py +244 -0
- airbyte_agent_shopify/_vendored/connector_sdk/schema/connector.py +120 -0
- airbyte_agent_shopify/_vendored/connector_sdk/schema/extensions.py +301 -0
- airbyte_agent_shopify/_vendored/connector_sdk/schema/operations.py +146 -0
- airbyte_agent_shopify/_vendored/connector_sdk/schema/security.py +237 -0
- airbyte_agent_shopify/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_shopify/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_shopify/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_shopify/_vendored/connector_sdk/telemetry/events.py +59 -0
- airbyte_agent_shopify/_vendored/connector_sdk/telemetry/tracker.py +155 -0
- airbyte_agent_shopify/_vendored/connector_sdk/types.py +255 -0
- airbyte_agent_shopify/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_shopify/_vendored/connector_sdk/validation.py +828 -0
- airbyte_agent_shopify/connector.py +3047 -0
- airbyte_agent_shopify/connector_model.py +11641 -0
- airbyte_agent_shopify/models.py +1192 -0
- airbyte_agent_shopify/types.py +338 -0
- airbyte_agent_shopify-0.1.12.dist-info/METADATA +173 -0
- airbyte_agent_shopify-0.1.12.dist-info/RECORD +57 -0
- airbyte_agent_shopify-0.1.12.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type definitions for shopify connector.
|
|
3
|
+
"""
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
# Use typing_extensions.TypedDict for Pydantic compatibility
|
|
7
|
+
try:
|
|
8
|
+
from typing_extensions import TypedDict, NotRequired
|
|
9
|
+
except ImportError:
|
|
10
|
+
from typing import TypedDict, NotRequired # type: ignore[attr-defined]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# ===== NESTED PARAM TYPE DEFINITIONS =====
|
|
15
|
+
# Nested parameter schemas discovered during parameter extraction
|
|
16
|
+
|
|
17
|
+
# ===== OPERATION PARAMS TYPE DEFINITIONS =====
|
|
18
|
+
|
|
19
|
+
class CustomersListParams(TypedDict):
|
|
20
|
+
"""Parameters for customers.list operation"""
|
|
21
|
+
limit: NotRequired[int]
|
|
22
|
+
since_id: NotRequired[int]
|
|
23
|
+
created_at_min: NotRequired[str]
|
|
24
|
+
created_at_max: NotRequired[str]
|
|
25
|
+
updated_at_min: NotRequired[str]
|
|
26
|
+
updated_at_max: NotRequired[str]
|
|
27
|
+
|
|
28
|
+
class CustomersGetParams(TypedDict):
|
|
29
|
+
"""Parameters for customers.get operation"""
|
|
30
|
+
customer_id: str
|
|
31
|
+
|
|
32
|
+
class OrdersListParams(TypedDict):
|
|
33
|
+
"""Parameters for orders.list operation"""
|
|
34
|
+
limit: NotRequired[int]
|
|
35
|
+
since_id: NotRequired[int]
|
|
36
|
+
created_at_min: NotRequired[str]
|
|
37
|
+
created_at_max: NotRequired[str]
|
|
38
|
+
updated_at_min: NotRequired[str]
|
|
39
|
+
updated_at_max: NotRequired[str]
|
|
40
|
+
status: NotRequired[str]
|
|
41
|
+
financial_status: NotRequired[str]
|
|
42
|
+
fulfillment_status: NotRequired[str]
|
|
43
|
+
|
|
44
|
+
class OrdersGetParams(TypedDict):
|
|
45
|
+
"""Parameters for orders.get operation"""
|
|
46
|
+
order_id: str
|
|
47
|
+
|
|
48
|
+
class ProductsListParams(TypedDict):
|
|
49
|
+
"""Parameters for products.list operation"""
|
|
50
|
+
limit: NotRequired[int]
|
|
51
|
+
since_id: NotRequired[int]
|
|
52
|
+
created_at_min: NotRequired[str]
|
|
53
|
+
created_at_max: NotRequired[str]
|
|
54
|
+
updated_at_min: NotRequired[str]
|
|
55
|
+
updated_at_max: NotRequired[str]
|
|
56
|
+
status: NotRequired[str]
|
|
57
|
+
product_type: NotRequired[str]
|
|
58
|
+
vendor: NotRequired[str]
|
|
59
|
+
collection_id: NotRequired[int]
|
|
60
|
+
|
|
61
|
+
class ProductsGetParams(TypedDict):
|
|
62
|
+
"""Parameters for products.get operation"""
|
|
63
|
+
product_id: str
|
|
64
|
+
|
|
65
|
+
class ProductVariantsListParams(TypedDict):
|
|
66
|
+
"""Parameters for product_variants.list operation"""
|
|
67
|
+
product_id: str
|
|
68
|
+
limit: NotRequired[int]
|
|
69
|
+
since_id: NotRequired[int]
|
|
70
|
+
|
|
71
|
+
class ProductVariantsGetParams(TypedDict):
|
|
72
|
+
"""Parameters for product_variants.get operation"""
|
|
73
|
+
variant_id: str
|
|
74
|
+
|
|
75
|
+
class ProductImagesListParams(TypedDict):
|
|
76
|
+
"""Parameters for product_images.list operation"""
|
|
77
|
+
product_id: str
|
|
78
|
+
since_id: NotRequired[int]
|
|
79
|
+
|
|
80
|
+
class ProductImagesGetParams(TypedDict):
|
|
81
|
+
"""Parameters for product_images.get operation"""
|
|
82
|
+
product_id: str
|
|
83
|
+
image_id: str
|
|
84
|
+
|
|
85
|
+
class AbandonedCheckoutsListParams(TypedDict):
|
|
86
|
+
"""Parameters for abandoned_checkouts.list operation"""
|
|
87
|
+
limit: NotRequired[int]
|
|
88
|
+
since_id: NotRequired[int]
|
|
89
|
+
created_at_min: NotRequired[str]
|
|
90
|
+
created_at_max: NotRequired[str]
|
|
91
|
+
updated_at_min: NotRequired[str]
|
|
92
|
+
updated_at_max: NotRequired[str]
|
|
93
|
+
status: NotRequired[str]
|
|
94
|
+
|
|
95
|
+
class LocationsListParams(TypedDict):
|
|
96
|
+
"""Parameters for locations.list operation"""
|
|
97
|
+
pass
|
|
98
|
+
|
|
99
|
+
class LocationsGetParams(TypedDict):
|
|
100
|
+
"""Parameters for locations.get operation"""
|
|
101
|
+
location_id: str
|
|
102
|
+
|
|
103
|
+
class InventoryLevelsListParams(TypedDict):
|
|
104
|
+
"""Parameters for inventory_levels.list operation"""
|
|
105
|
+
location_id: str
|
|
106
|
+
limit: NotRequired[int]
|
|
107
|
+
|
|
108
|
+
class InventoryItemsListParams(TypedDict):
|
|
109
|
+
"""Parameters for inventory_items.list operation"""
|
|
110
|
+
ids: str
|
|
111
|
+
limit: NotRequired[int]
|
|
112
|
+
|
|
113
|
+
class InventoryItemsGetParams(TypedDict):
|
|
114
|
+
"""Parameters for inventory_items.get operation"""
|
|
115
|
+
inventory_item_id: str
|
|
116
|
+
|
|
117
|
+
class ShopGetParams(TypedDict):
|
|
118
|
+
"""Parameters for shop.get operation"""
|
|
119
|
+
pass
|
|
120
|
+
|
|
121
|
+
class PriceRulesListParams(TypedDict):
|
|
122
|
+
"""Parameters for price_rules.list operation"""
|
|
123
|
+
limit: NotRequired[int]
|
|
124
|
+
since_id: NotRequired[int]
|
|
125
|
+
created_at_min: NotRequired[str]
|
|
126
|
+
created_at_max: NotRequired[str]
|
|
127
|
+
updated_at_min: NotRequired[str]
|
|
128
|
+
updated_at_max: NotRequired[str]
|
|
129
|
+
|
|
130
|
+
class PriceRulesGetParams(TypedDict):
|
|
131
|
+
"""Parameters for price_rules.get operation"""
|
|
132
|
+
price_rule_id: str
|
|
133
|
+
|
|
134
|
+
class DiscountCodesListParams(TypedDict):
|
|
135
|
+
"""Parameters for discount_codes.list operation"""
|
|
136
|
+
price_rule_id: str
|
|
137
|
+
limit: NotRequired[int]
|
|
138
|
+
|
|
139
|
+
class DiscountCodesGetParams(TypedDict):
|
|
140
|
+
"""Parameters for discount_codes.get operation"""
|
|
141
|
+
price_rule_id: str
|
|
142
|
+
discount_code_id: str
|
|
143
|
+
|
|
144
|
+
class CustomCollectionsListParams(TypedDict):
|
|
145
|
+
"""Parameters for custom_collections.list operation"""
|
|
146
|
+
limit: NotRequired[int]
|
|
147
|
+
since_id: NotRequired[int]
|
|
148
|
+
title: NotRequired[str]
|
|
149
|
+
product_id: NotRequired[int]
|
|
150
|
+
updated_at_min: NotRequired[str]
|
|
151
|
+
updated_at_max: NotRequired[str]
|
|
152
|
+
|
|
153
|
+
class CustomCollectionsGetParams(TypedDict):
|
|
154
|
+
"""Parameters for custom_collections.get operation"""
|
|
155
|
+
collection_id: str
|
|
156
|
+
|
|
157
|
+
class SmartCollectionsListParams(TypedDict):
|
|
158
|
+
"""Parameters for smart_collections.list operation"""
|
|
159
|
+
limit: NotRequired[int]
|
|
160
|
+
since_id: NotRequired[int]
|
|
161
|
+
title: NotRequired[str]
|
|
162
|
+
product_id: NotRequired[int]
|
|
163
|
+
updated_at_min: NotRequired[str]
|
|
164
|
+
updated_at_max: NotRequired[str]
|
|
165
|
+
|
|
166
|
+
class SmartCollectionsGetParams(TypedDict):
|
|
167
|
+
"""Parameters for smart_collections.get operation"""
|
|
168
|
+
collection_id: str
|
|
169
|
+
|
|
170
|
+
class CollectsListParams(TypedDict):
|
|
171
|
+
"""Parameters for collects.list operation"""
|
|
172
|
+
limit: NotRequired[int]
|
|
173
|
+
since_id: NotRequired[int]
|
|
174
|
+
collection_id: NotRequired[int]
|
|
175
|
+
product_id: NotRequired[int]
|
|
176
|
+
|
|
177
|
+
class CollectsGetParams(TypedDict):
|
|
178
|
+
"""Parameters for collects.get operation"""
|
|
179
|
+
collect_id: str
|
|
180
|
+
|
|
181
|
+
class DraftOrdersListParams(TypedDict):
|
|
182
|
+
"""Parameters for draft_orders.list operation"""
|
|
183
|
+
limit: NotRequired[int]
|
|
184
|
+
since_id: NotRequired[int]
|
|
185
|
+
status: NotRequired[str]
|
|
186
|
+
updated_at_min: NotRequired[str]
|
|
187
|
+
updated_at_max: NotRequired[str]
|
|
188
|
+
|
|
189
|
+
class DraftOrdersGetParams(TypedDict):
|
|
190
|
+
"""Parameters for draft_orders.get operation"""
|
|
191
|
+
draft_order_id: str
|
|
192
|
+
|
|
193
|
+
class FulfillmentsListParams(TypedDict):
|
|
194
|
+
"""Parameters for fulfillments.list operation"""
|
|
195
|
+
order_id: str
|
|
196
|
+
limit: NotRequired[int]
|
|
197
|
+
since_id: NotRequired[int]
|
|
198
|
+
created_at_min: NotRequired[str]
|
|
199
|
+
created_at_max: NotRequired[str]
|
|
200
|
+
updated_at_min: NotRequired[str]
|
|
201
|
+
updated_at_max: NotRequired[str]
|
|
202
|
+
|
|
203
|
+
class FulfillmentsGetParams(TypedDict):
|
|
204
|
+
"""Parameters for fulfillments.get operation"""
|
|
205
|
+
order_id: str
|
|
206
|
+
fulfillment_id: str
|
|
207
|
+
|
|
208
|
+
class OrderRefundsListParams(TypedDict):
|
|
209
|
+
"""Parameters for order_refunds.list operation"""
|
|
210
|
+
order_id: str
|
|
211
|
+
limit: NotRequired[int]
|
|
212
|
+
|
|
213
|
+
class OrderRefundsGetParams(TypedDict):
|
|
214
|
+
"""Parameters for order_refunds.get operation"""
|
|
215
|
+
order_id: str
|
|
216
|
+
refund_id: str
|
|
217
|
+
|
|
218
|
+
class TransactionsListParams(TypedDict):
|
|
219
|
+
"""Parameters for transactions.list operation"""
|
|
220
|
+
order_id: str
|
|
221
|
+
since_id: NotRequired[int]
|
|
222
|
+
|
|
223
|
+
class TransactionsGetParams(TypedDict):
|
|
224
|
+
"""Parameters for transactions.get operation"""
|
|
225
|
+
order_id: str
|
|
226
|
+
transaction_id: str
|
|
227
|
+
|
|
228
|
+
class TenderTransactionsListParams(TypedDict):
|
|
229
|
+
"""Parameters for tender_transactions.list operation"""
|
|
230
|
+
limit: NotRequired[int]
|
|
231
|
+
since_id: NotRequired[int]
|
|
232
|
+
processed_at_min: NotRequired[str]
|
|
233
|
+
processed_at_max: NotRequired[str]
|
|
234
|
+
order: NotRequired[str]
|
|
235
|
+
|
|
236
|
+
class CountriesListParams(TypedDict):
|
|
237
|
+
"""Parameters for countries.list operation"""
|
|
238
|
+
since_id: NotRequired[int]
|
|
239
|
+
|
|
240
|
+
class CountriesGetParams(TypedDict):
|
|
241
|
+
"""Parameters for countries.get operation"""
|
|
242
|
+
country_id: str
|
|
243
|
+
|
|
244
|
+
class MetafieldShopsListParams(TypedDict):
|
|
245
|
+
"""Parameters for metafield_shops.list operation"""
|
|
246
|
+
limit: NotRequired[int]
|
|
247
|
+
since_id: NotRequired[int]
|
|
248
|
+
namespace: NotRequired[str]
|
|
249
|
+
key: NotRequired[str]
|
|
250
|
+
type: NotRequired[str]
|
|
251
|
+
|
|
252
|
+
class MetafieldShopsGetParams(TypedDict):
|
|
253
|
+
"""Parameters for metafield_shops.get operation"""
|
|
254
|
+
metafield_id: str
|
|
255
|
+
|
|
256
|
+
class MetafieldCustomersListParams(TypedDict):
|
|
257
|
+
"""Parameters for metafield_customers.list operation"""
|
|
258
|
+
customer_id: str
|
|
259
|
+
limit: NotRequired[int]
|
|
260
|
+
since_id: NotRequired[int]
|
|
261
|
+
namespace: NotRequired[str]
|
|
262
|
+
key: NotRequired[str]
|
|
263
|
+
|
|
264
|
+
class MetafieldProductsListParams(TypedDict):
|
|
265
|
+
"""Parameters for metafield_products.list operation"""
|
|
266
|
+
product_id: str
|
|
267
|
+
limit: NotRequired[int]
|
|
268
|
+
since_id: NotRequired[int]
|
|
269
|
+
namespace: NotRequired[str]
|
|
270
|
+
key: NotRequired[str]
|
|
271
|
+
|
|
272
|
+
class MetafieldOrdersListParams(TypedDict):
|
|
273
|
+
"""Parameters for metafield_orders.list operation"""
|
|
274
|
+
order_id: str
|
|
275
|
+
limit: NotRequired[int]
|
|
276
|
+
since_id: NotRequired[int]
|
|
277
|
+
namespace: NotRequired[str]
|
|
278
|
+
key: NotRequired[str]
|
|
279
|
+
|
|
280
|
+
class MetafieldDraftOrdersListParams(TypedDict):
|
|
281
|
+
"""Parameters for metafield_draft_orders.list operation"""
|
|
282
|
+
draft_order_id: str
|
|
283
|
+
limit: NotRequired[int]
|
|
284
|
+
since_id: NotRequired[int]
|
|
285
|
+
namespace: NotRequired[str]
|
|
286
|
+
key: NotRequired[str]
|
|
287
|
+
|
|
288
|
+
class MetafieldLocationsListParams(TypedDict):
|
|
289
|
+
"""Parameters for metafield_locations.list operation"""
|
|
290
|
+
location_id: str
|
|
291
|
+
limit: NotRequired[int]
|
|
292
|
+
since_id: NotRequired[int]
|
|
293
|
+
namespace: NotRequired[str]
|
|
294
|
+
key: NotRequired[str]
|
|
295
|
+
|
|
296
|
+
class MetafieldProductVariantsListParams(TypedDict):
|
|
297
|
+
"""Parameters for metafield_product_variants.list operation"""
|
|
298
|
+
variant_id: str
|
|
299
|
+
limit: NotRequired[int]
|
|
300
|
+
since_id: NotRequired[int]
|
|
301
|
+
namespace: NotRequired[str]
|
|
302
|
+
key: NotRequired[str]
|
|
303
|
+
|
|
304
|
+
class MetafieldSmartCollectionsListParams(TypedDict):
|
|
305
|
+
"""Parameters for metafield_smart_collections.list operation"""
|
|
306
|
+
collection_id: str
|
|
307
|
+
limit: NotRequired[int]
|
|
308
|
+
since_id: NotRequired[int]
|
|
309
|
+
namespace: NotRequired[str]
|
|
310
|
+
key: NotRequired[str]
|
|
311
|
+
|
|
312
|
+
class MetafieldProductImagesListParams(TypedDict):
|
|
313
|
+
"""Parameters for metafield_product_images.list operation"""
|
|
314
|
+
product_id: str
|
|
315
|
+
image_id: str
|
|
316
|
+
limit: NotRequired[int]
|
|
317
|
+
since_id: NotRequired[int]
|
|
318
|
+
namespace: NotRequired[str]
|
|
319
|
+
key: NotRequired[str]
|
|
320
|
+
|
|
321
|
+
class CustomerAddressListParams(TypedDict):
|
|
322
|
+
"""Parameters for customer_address.list operation"""
|
|
323
|
+
customer_id: str
|
|
324
|
+
limit: NotRequired[int]
|
|
325
|
+
|
|
326
|
+
class CustomerAddressGetParams(TypedDict):
|
|
327
|
+
"""Parameters for customer_address.get operation"""
|
|
328
|
+
customer_id: str
|
|
329
|
+
address_id: str
|
|
330
|
+
|
|
331
|
+
class FulfillmentOrdersListParams(TypedDict):
|
|
332
|
+
"""Parameters for fulfillment_orders.list operation"""
|
|
333
|
+
order_id: str
|
|
334
|
+
|
|
335
|
+
class FulfillmentOrdersGetParams(TypedDict):
|
|
336
|
+
"""Parameters for fulfillment_orders.get operation"""
|
|
337
|
+
fulfillment_order_id: str
|
|
338
|
+
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: airbyte-agent-shopify
|
|
3
|
+
Version: 0.1.12
|
|
4
|
+
Summary: Airbyte Shopify Connector for AI platforms
|
|
5
|
+
Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
|
|
6
|
+
Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
|
|
7
|
+
Project-URL: Repository, https://github.com/airbytehq/airbyte-agent-connectors
|
|
8
|
+
Project-URL: Issues, https://github.com/airbytehq/airbyte-agent-connectors/issues
|
|
9
|
+
Author-email: Airbyte <contact@airbyte.io>
|
|
10
|
+
License: Elastic-2.0
|
|
11
|
+
Keywords: agent,ai,airbyte,api,connector,data-integration,llm,mcp,shopify
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: Other/Proprietary License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.13
|
|
22
|
+
Requires-Dist: httpx>=0.24.0
|
|
23
|
+
Requires-Dist: jinja2>=3.0.0
|
|
24
|
+
Requires-Dist: jsonpath-ng>=1.6.1
|
|
25
|
+
Requires-Dist: jsonref>=1.1.0
|
|
26
|
+
Requires-Dist: opentelemetry-api>=1.37.0
|
|
27
|
+
Requires-Dist: opentelemetry-sdk>=1.37.0
|
|
28
|
+
Requires-Dist: pydantic>=2.0.0
|
|
29
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
30
|
+
Requires-Dist: pyyaml>=6.0
|
|
31
|
+
Requires-Dist: segment-analytics-python>=2.2.0
|
|
32
|
+
Description-Content-Type: text/markdown
|
|
33
|
+
|
|
34
|
+
# Shopify agent connector
|
|
35
|
+
|
|
36
|
+
Shopify is an e-commerce platform that enables businesses to create online stores,
|
|
37
|
+
manage products, process orders, and handle customer relationships. This connector
|
|
38
|
+
provides access to Shopify Admin REST API for reading store data including customers,
|
|
39
|
+
orders, products, inventory, and more.
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## Example questions
|
|
43
|
+
|
|
44
|
+
The Shopify connector is optimized to handle prompts like these.
|
|
45
|
+
|
|
46
|
+
- List all customers in my Shopify store
|
|
47
|
+
- Show me orders from the last 30 days
|
|
48
|
+
- Get details for customer \{customer_id\}
|
|
49
|
+
- What products do I have in my store?
|
|
50
|
+
- Show me abandoned checkouts from this week
|
|
51
|
+
- List all locations for my store
|
|
52
|
+
- Get inventory levels for location \{location_id\}
|
|
53
|
+
- Show me all draft orders
|
|
54
|
+
- What price rules are currently active?
|
|
55
|
+
- List all custom collections in my store
|
|
56
|
+
- Get details for order \{order_id\}
|
|
57
|
+
- Show me product variants for product \{product_id\}
|
|
58
|
+
|
|
59
|
+
## Unsupported questions
|
|
60
|
+
|
|
61
|
+
The Shopify connector isn't currently able to handle prompts like these.
|
|
62
|
+
|
|
63
|
+
- Create a new customer in Shopify
|
|
64
|
+
- Update product pricing
|
|
65
|
+
- Delete an order
|
|
66
|
+
- Process a refund
|
|
67
|
+
- Send shipping notification to customer
|
|
68
|
+
- Create a new discount code
|
|
69
|
+
|
|
70
|
+
## Installation
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
uv pip install airbyte-agent-shopify
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Usage
|
|
77
|
+
|
|
78
|
+
Connectors can run in open source or hosted mode.
|
|
79
|
+
|
|
80
|
+
### Open source
|
|
81
|
+
|
|
82
|
+
In open source mode, you provide API credentials directly to the connector.
|
|
83
|
+
|
|
84
|
+
```python
|
|
85
|
+
from airbyte_agent_shopify import ShopifyConnector
|
|
86
|
+
from airbyte_agent_shopify.models import ShopifyAuthConfig
|
|
87
|
+
|
|
88
|
+
connector = ShopifyConnector(
|
|
89
|
+
auth_config=ShopifyAuthConfig(
|
|
90
|
+
api_key="<Your Shopify Admin API access token>",
|
|
91
|
+
shop="<Your Shopify store name (e.g., 'my-store' from my-store.myshopify.com)>"
|
|
92
|
+
)
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
96
|
+
@ShopifyConnector.tool_utils
|
|
97
|
+
async def shopify_execute(entity: str, action: str, params: dict | None = None):
|
|
98
|
+
return await connector.execute(entity, action, params or {})
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Hosted
|
|
102
|
+
|
|
103
|
+
In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.
|
|
104
|
+
|
|
105
|
+
This example assumes you've already authenticated your connector with Airbyte. See [Authentication](AUTH.md) to learn more about authenticating. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
|
|
106
|
+
|
|
107
|
+
```python
|
|
108
|
+
from airbyte_agent_shopify import ShopifyConnector
|
|
109
|
+
|
|
110
|
+
connector = ShopifyConnector(
|
|
111
|
+
external_user_id="<your_external_user_id>",
|
|
112
|
+
airbyte_client_id="<your-client-id>",
|
|
113
|
+
airbyte_client_secret="<your-client-secret>"
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
117
|
+
@ShopifyConnector.tool_utils
|
|
118
|
+
async def shopify_execute(entity: str, action: str, params: dict | None = None):
|
|
119
|
+
return await connector.execute(entity, action, params or {})
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
## Full documentation
|
|
124
|
+
|
|
125
|
+
This connector supports the following entities and actions.
|
|
126
|
+
|
|
127
|
+
| Entity | Actions |
|
|
128
|
+
|--------|---------|
|
|
129
|
+
| Customers | [List](./REFERENCE.md#customers-list), [Get](./REFERENCE.md#customers-get) |
|
|
130
|
+
| Orders | [List](./REFERENCE.md#orders-list), [Get](./REFERENCE.md#orders-get) |
|
|
131
|
+
| Products | [List](./REFERENCE.md#products-list), [Get](./REFERENCE.md#products-get) |
|
|
132
|
+
| Product Variants | [List](./REFERENCE.md#product-variants-list), [Get](./REFERENCE.md#product-variants-get) |
|
|
133
|
+
| Product Images | [List](./REFERENCE.md#product-images-list), [Get](./REFERENCE.md#product-images-get) |
|
|
134
|
+
| Abandoned Checkouts | [List](./REFERENCE.md#abandoned-checkouts-list) |
|
|
135
|
+
| Locations | [List](./REFERENCE.md#locations-list), [Get](./REFERENCE.md#locations-get) |
|
|
136
|
+
| Inventory Levels | [List](./REFERENCE.md#inventory-levels-list) |
|
|
137
|
+
| Inventory Items | [List](./REFERENCE.md#inventory-items-list), [Get](./REFERENCE.md#inventory-items-get) |
|
|
138
|
+
| Shop | [Get](./REFERENCE.md#shop-get) |
|
|
139
|
+
| Price Rules | [List](./REFERENCE.md#price-rules-list), [Get](./REFERENCE.md#price-rules-get) |
|
|
140
|
+
| Discount Codes | [List](./REFERENCE.md#discount-codes-list), [Get](./REFERENCE.md#discount-codes-get) |
|
|
141
|
+
| Custom Collections | [List](./REFERENCE.md#custom-collections-list), [Get](./REFERENCE.md#custom-collections-get) |
|
|
142
|
+
| Smart Collections | [List](./REFERENCE.md#smart-collections-list), [Get](./REFERENCE.md#smart-collections-get) |
|
|
143
|
+
| Collects | [List](./REFERENCE.md#collects-list), [Get](./REFERENCE.md#collects-get) |
|
|
144
|
+
| Draft Orders | [List](./REFERENCE.md#draft-orders-list), [Get](./REFERENCE.md#draft-orders-get) |
|
|
145
|
+
| Fulfillments | [List](./REFERENCE.md#fulfillments-list), [Get](./REFERENCE.md#fulfillments-get) |
|
|
146
|
+
| Order Refunds | [List](./REFERENCE.md#order-refunds-list), [Get](./REFERENCE.md#order-refunds-get) |
|
|
147
|
+
| Transactions | [List](./REFERENCE.md#transactions-list), [Get](./REFERENCE.md#transactions-get) |
|
|
148
|
+
| Tender Transactions | [List](./REFERENCE.md#tender-transactions-list) |
|
|
149
|
+
| Countries | [List](./REFERENCE.md#countries-list), [Get](./REFERENCE.md#countries-get) |
|
|
150
|
+
| Metafield Shops | [List](./REFERENCE.md#metafield-shops-list), [Get](./REFERENCE.md#metafield-shops-get) |
|
|
151
|
+
| Metafield Customers | [List](./REFERENCE.md#metafield-customers-list) |
|
|
152
|
+
| Metafield Products | [List](./REFERENCE.md#metafield-products-list) |
|
|
153
|
+
| Metafield Orders | [List](./REFERENCE.md#metafield-orders-list) |
|
|
154
|
+
| Metafield Draft Orders | [List](./REFERENCE.md#metafield-draft-orders-list) |
|
|
155
|
+
| Metafield Locations | [List](./REFERENCE.md#metafield-locations-list) |
|
|
156
|
+
| Metafield Product Variants | [List](./REFERENCE.md#metafield-product-variants-list) |
|
|
157
|
+
| Metafield Smart Collections | [List](./REFERENCE.md#metafield-smart-collections-list) |
|
|
158
|
+
| Metafield Product Images | [List](./REFERENCE.md#metafield-product-images-list) |
|
|
159
|
+
| Customer Address | [List](./REFERENCE.md#customer-address-list), [Get](./REFERENCE.md#customer-address-get) |
|
|
160
|
+
| Fulfillment Orders | [List](./REFERENCE.md#fulfillment-orders-list), [Get](./REFERENCE.md#fulfillment-orders-get) |
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
For all authentication options, see the connector's [authentication documentation](AUTH.md).
|
|
164
|
+
|
|
165
|
+
For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
|
|
166
|
+
|
|
167
|
+
For the service's official API docs, see the [Shopify API reference](https://shopify.dev/docs/api/admin-rest).
|
|
168
|
+
|
|
169
|
+
## Version information
|
|
170
|
+
|
|
171
|
+
- **Package version:** 0.1.12
|
|
172
|
+
- **Connector version:** 0.1.1
|
|
173
|
+
- **Generated with Connector SDK commit SHA:** 4bded58d3cabff3ac257c30c425ccab118f6ed87
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
airbyte_agent_shopify/__init__.py,sha256=oQjq6z4WrcRTVOr6IqajzImVUCyyiPWsfWE4S2auJB8,9661
|
|
2
|
+
airbyte_agent_shopify/connector.py,sha256=DDNvlgZ7wy2HKujaty_p9TYlskVTwe_L_3M0nbNa-T4,93793
|
|
3
|
+
airbyte_agent_shopify/connector_model.py,sha256=xZDsz1CqmSkPTrlvK7hheWLs2RCDsIFD4JiZTu5ll-s,691051
|
|
4
|
+
airbyte_agent_shopify/models.py,sha256=F5Sx9acQJqDG_p1szZMFvqhxY8ernkH8lQctxcUVckM,60917
|
|
5
|
+
airbyte_agent_shopify/types.py,sha256=AwQ4PR2wZmHNuryriCFdRxf9q48J1mnPwspUB1b-L_o,10221
|
|
6
|
+
airbyte_agent_shopify/_vendored/__init__.py,sha256=ILl7AHXMui__swyrjxrh9yRa4dLiwBvV6axPWFWty80,38
|
|
7
|
+
airbyte_agent_shopify/_vendored/connector_sdk/__init__.py,sha256=T5o7roU6NSpH-lCAGZ338sE5dlh4ZU6i6IkeG1zpems,1949
|
|
8
|
+
airbyte_agent_shopify/_vendored/connector_sdk/auth_strategies.py,sha256=5Sb9moUp623o67Q2wMa8iZldJH08y4gQdoutoO_75Iw,42088
|
|
9
|
+
airbyte_agent_shopify/_vendored/connector_sdk/auth_template.py,sha256=nju4jqlFC_KI82ILNumNIyiUtRJcy7J94INIZ0QraI4,4454
|
|
10
|
+
airbyte_agent_shopify/_vendored/connector_sdk/connector_model_loader.py,sha256=VPNu4KKQPDmF9YIDH0qVvvpZ-BACDZ6joNgFQEZbjo8,41828
|
|
11
|
+
airbyte_agent_shopify/_vendored/connector_sdk/constants.py,sha256=AtzOvhDMWbRJgpsQNWl5tkogHD6mWgEY668PgRmgtOY,2737
|
|
12
|
+
airbyte_agent_shopify/_vendored/connector_sdk/exceptions.py,sha256=ss5MGv9eVPmsbLcLWetuu3sDmvturwfo6Pw3M37Oq5k,481
|
|
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=yucwu3OvJh5wLQa1mk-gTKjtqjKKucMw5ltmlE7mk1c,28000
|
|
15
|
+
airbyte_agent_shopify/_vendored/connector_sdk/introspection.py,sha256=kRVI4TDQDLdcCnTBUML8ycAtdqAQufVh-027sMkb4i8,19165
|
|
16
|
+
airbyte_agent_shopify/_vendored/connector_sdk/secrets.py,sha256=J9ezMu4xNnLW11xY5RCre6DHP7YMKZCqwGJfk7ufHAM,6855
|
|
17
|
+
airbyte_agent_shopify/_vendored/connector_sdk/types.py,sha256=in8gHsn5nsScujOfHZmkOgNmqmJKiPyNNjg59m5fGWc,8807
|
|
18
|
+
airbyte_agent_shopify/_vendored/connector_sdk/utils.py,sha256=G4LUXOC2HzPoND2v4tQW68R9uuPX9NQyCjaGxb7Kpl0,1958
|
|
19
|
+
airbyte_agent_shopify/_vendored/connector_sdk/validation.py,sha256=4MPrxYmQh8TbCU0KdvvRKe35Lg1YYLEBd0u4aKySl_E,32122
|
|
20
|
+
airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/__init__.py,sha256=4799Hv9f2zxDVj1aLyQ8JpTEuFTp_oOZMRz-NZCdBJg,134
|
|
21
|
+
airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/client.py,sha256=YxdRpQr9XjDzih6csSseBVGn9kfMtaqbOCXP0TPuzFY,7189
|
|
22
|
+
airbyte_agent_shopify/_vendored/connector_sdk/executor/__init__.py,sha256=EmG9YQNAjSuYCVB4D5VoLm4qpD1KfeiiOf7bpALj8p8,702
|
|
23
|
+
airbyte_agent_shopify/_vendored/connector_sdk/executor/hosted_executor.py,sha256=ydHcG-biRS1ITT5ELwPShdJW-KYpvK--Fos1ipNgHho,6995
|
|
24
|
+
airbyte_agent_shopify/_vendored/connector_sdk/executor/local_executor.py,sha256=tVbfstxOrm5qJt1NawTwjhIIpDgPCC4wSrKM5eALPSQ,74064
|
|
25
|
+
airbyte_agent_shopify/_vendored/connector_sdk/executor/models.py,sha256=lYVT_bNcw-PoIks4WHNyl2VY-lJVf2FntzINSOBIheE,5845
|
|
26
|
+
airbyte_agent_shopify/_vendored/connector_sdk/http/__init__.py,sha256=y8fbzZn-3yV9OxtYz8Dy6FFGI5v6TOqADd1G3xHH3Hw,911
|
|
27
|
+
airbyte_agent_shopify/_vendored/connector_sdk/http/config.py,sha256=6J7YIIwHC6sRu9i-yKa5XvArwK2KU60rlnmxzDZq3lw,3283
|
|
28
|
+
airbyte_agent_shopify/_vendored/connector_sdk/http/exceptions.py,sha256=eYdYmxqcwA6pgrSoRXNfR6_nRBGRH6upp2-r1jcKaZo,3586
|
|
29
|
+
airbyte_agent_shopify/_vendored/connector_sdk/http/protocols.py,sha256=eV7NbBIQOcPLw-iu8mtkV2zCVgScDwP0ek1SbPNQo0g,3323
|
|
30
|
+
airbyte_agent_shopify/_vendored/connector_sdk/http/response.py,sha256=Q-RyM5D0D05ZhmZVJk4hVpmoS8YtyXNOTM5hqBt7rWI,3475
|
|
31
|
+
airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/__init__.py,sha256=gjbWdU4LfzUG2PETI0TkfkukdzoCAhpL6FZtIEnkO-s,209
|
|
32
|
+
airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/httpx_adapter.py,sha256=dkYhzBWiKBmzWZlc-cRTx50Hb6fy3OI8kOQvXRfS1CQ,8465
|
|
33
|
+
airbyte_agent_shopify/_vendored/connector_sdk/logging/__init__.py,sha256=IZoE5yXhwSA0m3xQqh0FiCifjp1sB3S8jnnFPuJLYf8,227
|
|
34
|
+
airbyte_agent_shopify/_vendored/connector_sdk/logging/logger.py,sha256=rUdKDEQe3pOODmBLEcvhgZeEZi48BvrgKXKq1xvCXu0,8387
|
|
35
|
+
airbyte_agent_shopify/_vendored/connector_sdk/logging/types.py,sha256=ONb9xKNXUkrR2lojSBMF7ruof7S2r92WjrO_kEZic84,3239
|
|
36
|
+
airbyte_agent_shopify/_vendored/connector_sdk/observability/__init__.py,sha256=ojx1n9vaWCXFFvb3-90Pwtg845trFdV2v6wcCoO75Ko,269
|
|
37
|
+
airbyte_agent_shopify/_vendored/connector_sdk/observability/config.py,sha256=uWvRAPHnEusVKviQQncqcpnHKNhoZ4ZoFK6nUOSVClY,5372
|
|
38
|
+
airbyte_agent_shopify/_vendored/connector_sdk/observability/models.py,sha256=IRGjlJia28_IU7BMSBb5RHWs47yAOLvE20JIIXHazLY,448
|
|
39
|
+
airbyte_agent_shopify/_vendored/connector_sdk/observability/redactor.py,sha256=HRbSwGxsfQYbYlG4QBVvv8Qnw0d4SMowMv0dTFHsHqQ,2361
|
|
40
|
+
airbyte_agent_shopify/_vendored/connector_sdk/observability/session.py,sha256=WYRIB3bVz9HhpElkUO9CILCRIrWs9p2MR2hmf8uJm3E,3086
|
|
41
|
+
airbyte_agent_shopify/_vendored/connector_sdk/performance/__init__.py,sha256=Sp5fSd1LvtIQkv-fnrKqPsM7-6IWp0sSZSK0mhzal_A,200
|
|
42
|
+
airbyte_agent_shopify/_vendored/connector_sdk/performance/instrumentation.py,sha256=_dXvNiqdndIBwDjeDKNViWzn_M5FkSUsMmJtFldrmsM,1504
|
|
43
|
+
airbyte_agent_shopify/_vendored/connector_sdk/performance/metrics.py,sha256=FRff7dKt4iwt_A7pxV5n9kAGBR756PC7q8-weWygPSM,2817
|
|
44
|
+
airbyte_agent_shopify/_vendored/connector_sdk/schema/__init__.py,sha256=Uymu-QuzGJuMxexBagIvUxpVAigIuIhz3KeBl_Vu4Ko,1638
|
|
45
|
+
airbyte_agent_shopify/_vendored/connector_sdk/schema/base.py,sha256=IoAucZQ0j0xTdm4VWotB636R4jsrkYnppMQhXE0uoyU,6541
|
|
46
|
+
airbyte_agent_shopify/_vendored/connector_sdk/schema/components.py,sha256=nJIPieavwX3o3ODvdtLHPk84d_V229xmg6LDfwEHjzc,8119
|
|
47
|
+
airbyte_agent_shopify/_vendored/connector_sdk/schema/connector.py,sha256=mSZk1wr2YSdRj9tTRsPAuIlCzd_xZLw-Bzl1sMwE0rE,3731
|
|
48
|
+
airbyte_agent_shopify/_vendored/connector_sdk/schema/extensions.py,sha256=5hgpFHK7fzpzegCkJk882DeIP79bCx_qairKJhvPMZ8,9590
|
|
49
|
+
airbyte_agent_shopify/_vendored/connector_sdk/schema/operations.py,sha256=RpzGtAI4yvAtMHAfMUMcUwgHv_qJojnKlNb75_agUF8,5729
|
|
50
|
+
airbyte_agent_shopify/_vendored/connector_sdk/schema/security.py,sha256=6ljzf_JHs4amnQX9AhePcEsT8P3ZnTSC4xeg7-cvsNQ,9100
|
|
51
|
+
airbyte_agent_shopify/_vendored/connector_sdk/telemetry/__init__.py,sha256=RaLgkBU4dfxn1LC5Y0Q9rr2PJbrwjxvPgBLmq8_WafE,211
|
|
52
|
+
airbyte_agent_shopify/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
|
|
53
|
+
airbyte_agent_shopify/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
|
|
54
|
+
airbyte_agent_shopify/_vendored/connector_sdk/telemetry/tracker.py,sha256=Ftrk0_ddfM7dZG8hF9xBuPwhbc9D6JZ7Q9qs5o3LEyA,5579
|
|
55
|
+
airbyte_agent_shopify-0.1.12.dist-info/METADATA,sha256=UqagJBMYyKC6OHK-4XoBIcUu4ake8Km0Le63_gzroZs,7842
|
|
56
|
+
airbyte_agent_shopify-0.1.12.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
57
|
+
airbyte_agent_shopify-0.1.12.dist-info/RECORD,,
|