airbyte-agent-shopify 0.1.3__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.
Files changed (57) hide show
  1. airbyte_agent_shopify/__init__.py +349 -0
  2. airbyte_agent_shopify/_vendored/__init__.py +1 -0
  3. airbyte_agent_shopify/_vendored/connector_sdk/__init__.py +82 -0
  4. airbyte_agent_shopify/_vendored/connector_sdk/auth_strategies.py +1173 -0
  5. airbyte_agent_shopify/_vendored/connector_sdk/auth_template.py +135 -0
  6. airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
  7. airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/client.py +213 -0
  8. airbyte_agent_shopify/_vendored/connector_sdk/connector_model_loader.py +986 -0
  9. airbyte_agent_shopify/_vendored/connector_sdk/constants.py +78 -0
  10. airbyte_agent_shopify/_vendored/connector_sdk/exceptions.py +23 -0
  11. airbyte_agent_shopify/_vendored/connector_sdk/executor/__init__.py +31 -0
  12. airbyte_agent_shopify/_vendored/connector_sdk/executor/hosted_executor.py +196 -0
  13. airbyte_agent_shopify/_vendored/connector_sdk/executor/local_executor.py +1773 -0
  14. airbyte_agent_shopify/_vendored/connector_sdk/executor/models.py +190 -0
  15. airbyte_agent_shopify/_vendored/connector_sdk/extensions.py +693 -0
  16. airbyte_agent_shopify/_vendored/connector_sdk/http/__init__.py +37 -0
  17. airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
  18. airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
  19. airbyte_agent_shopify/_vendored/connector_sdk/http/config.py +98 -0
  20. airbyte_agent_shopify/_vendored/connector_sdk/http/exceptions.py +119 -0
  21. airbyte_agent_shopify/_vendored/connector_sdk/http/protocols.py +114 -0
  22. airbyte_agent_shopify/_vendored/connector_sdk/http/response.py +104 -0
  23. airbyte_agent_shopify/_vendored/connector_sdk/http_client.py +693 -0
  24. airbyte_agent_shopify/_vendored/connector_sdk/introspection.py +262 -0
  25. airbyte_agent_shopify/_vendored/connector_sdk/logging/__init__.py +11 -0
  26. airbyte_agent_shopify/_vendored/connector_sdk/logging/logger.py +273 -0
  27. airbyte_agent_shopify/_vendored/connector_sdk/logging/types.py +93 -0
  28. airbyte_agent_shopify/_vendored/connector_sdk/observability/__init__.py +11 -0
  29. airbyte_agent_shopify/_vendored/connector_sdk/observability/config.py +179 -0
  30. airbyte_agent_shopify/_vendored/connector_sdk/observability/models.py +19 -0
  31. airbyte_agent_shopify/_vendored/connector_sdk/observability/redactor.py +81 -0
  32. airbyte_agent_shopify/_vendored/connector_sdk/observability/session.py +103 -0
  33. airbyte_agent_shopify/_vendored/connector_sdk/performance/__init__.py +6 -0
  34. airbyte_agent_shopify/_vendored/connector_sdk/performance/instrumentation.py +57 -0
  35. airbyte_agent_shopify/_vendored/connector_sdk/performance/metrics.py +93 -0
  36. airbyte_agent_shopify/_vendored/connector_sdk/schema/__init__.py +75 -0
  37. airbyte_agent_shopify/_vendored/connector_sdk/schema/base.py +169 -0
  38. airbyte_agent_shopify/_vendored/connector_sdk/schema/components.py +239 -0
  39. airbyte_agent_shopify/_vendored/connector_sdk/schema/connector.py +120 -0
  40. airbyte_agent_shopify/_vendored/connector_sdk/schema/extensions.py +230 -0
  41. airbyte_agent_shopify/_vendored/connector_sdk/schema/operations.py +146 -0
  42. airbyte_agent_shopify/_vendored/connector_sdk/schema/security.py +237 -0
  43. airbyte_agent_shopify/_vendored/connector_sdk/secrets.py +182 -0
  44. airbyte_agent_shopify/_vendored/connector_sdk/telemetry/__init__.py +10 -0
  45. airbyte_agent_shopify/_vendored/connector_sdk/telemetry/config.py +32 -0
  46. airbyte_agent_shopify/_vendored/connector_sdk/telemetry/events.py +59 -0
  47. airbyte_agent_shopify/_vendored/connector_sdk/telemetry/tracker.py +155 -0
  48. airbyte_agent_shopify/_vendored/connector_sdk/types.py +254 -0
  49. airbyte_agent_shopify/_vendored/connector_sdk/utils.py +60 -0
  50. airbyte_agent_shopify/_vendored/connector_sdk/validation.py +828 -0
  51. airbyte_agent_shopify/connector.py +2985 -0
  52. airbyte_agent_shopify/connector_model.py +11641 -0
  53. airbyte_agent_shopify/models.py +1192 -0
  54. airbyte_agent_shopify/types.py +338 -0
  55. airbyte_agent_shopify-0.1.3.dist-info/METADATA +139 -0
  56. airbyte_agent_shopify-0.1.3.dist-info/RECORD +57 -0
  57. airbyte_agent_shopify-0.1.3.dist-info/WHEEL +4 -0
@@ -0,0 +1,349 @@
1
+ """
2
+ Blessed Shopify connector for Airbyte SDK.
3
+
4
+ Auto-generated from OpenAPI specification.
5
+ """
6
+
7
+ from .connector import ShopifyConnector
8
+ from .models import (
9
+ ShopifyAuthConfig,
10
+ CustomerAddress,
11
+ Customer,
12
+ CustomerList,
13
+ CustomerAddressList,
14
+ MarketingConsent,
15
+ OrderAddress,
16
+ Transaction,
17
+ Refund,
18
+ LineItem,
19
+ Fulfillment,
20
+ Order,
21
+ OrderList,
22
+ ProductImage,
23
+ ProductVariant,
24
+ Product,
25
+ ProductList,
26
+ ProductVariantList,
27
+ ProductImageList,
28
+ AbandonedCheckout,
29
+ AbandonedCheckoutList,
30
+ Location,
31
+ LocationList,
32
+ InventoryLevel,
33
+ InventoryLevelList,
34
+ InventoryItem,
35
+ InventoryItemList,
36
+ Shop,
37
+ PriceRule,
38
+ PriceRuleList,
39
+ DiscountCode,
40
+ DiscountCodeList,
41
+ CustomCollection,
42
+ CustomCollectionList,
43
+ SmartCollection,
44
+ SmartCollectionList,
45
+ Collect,
46
+ CollectList,
47
+ DraftOrder,
48
+ DraftOrderList,
49
+ FulfillmentList,
50
+ FulfillmentOrder,
51
+ FulfillmentOrderList,
52
+ RefundList,
53
+ TransactionList,
54
+ TenderTransaction,
55
+ TenderTransactionList,
56
+ Country,
57
+ CountryList,
58
+ Metafield,
59
+ MetafieldList,
60
+ CustomersListResultMeta,
61
+ OrdersListResultMeta,
62
+ ProductsListResultMeta,
63
+ ProductVariantsListResultMeta,
64
+ ProductImagesListResultMeta,
65
+ AbandonedCheckoutsListResultMeta,
66
+ LocationsListResultMeta,
67
+ InventoryLevelsListResultMeta,
68
+ InventoryItemsListResultMeta,
69
+ PriceRulesListResultMeta,
70
+ DiscountCodesListResultMeta,
71
+ CustomCollectionsListResultMeta,
72
+ SmartCollectionsListResultMeta,
73
+ CollectsListResultMeta,
74
+ DraftOrdersListResultMeta,
75
+ FulfillmentsListResultMeta,
76
+ OrderRefundsListResultMeta,
77
+ TransactionsListResultMeta,
78
+ TenderTransactionsListResultMeta,
79
+ CountriesListResultMeta,
80
+ MetafieldShopsListResultMeta,
81
+ MetafieldCustomersListResultMeta,
82
+ MetafieldProductsListResultMeta,
83
+ MetafieldOrdersListResultMeta,
84
+ MetafieldDraftOrdersListResultMeta,
85
+ MetafieldLocationsListResultMeta,
86
+ MetafieldProductVariantsListResultMeta,
87
+ MetafieldSmartCollectionsListResultMeta,
88
+ MetafieldProductImagesListResultMeta,
89
+ CustomerAddressListResultMeta,
90
+ FulfillmentOrdersListResultMeta,
91
+ ShopifyExecuteResult,
92
+ ShopifyExecuteResultWithMeta,
93
+ CustomersListResult,
94
+ OrdersListResult,
95
+ ProductsListResult,
96
+ ProductVariantsListResult,
97
+ ProductImagesListResult,
98
+ AbandonedCheckoutsListResult,
99
+ LocationsListResult,
100
+ InventoryLevelsListResult,
101
+ InventoryItemsListResult,
102
+ PriceRulesListResult,
103
+ DiscountCodesListResult,
104
+ CustomCollectionsListResult,
105
+ SmartCollectionsListResult,
106
+ CollectsListResult,
107
+ DraftOrdersListResult,
108
+ FulfillmentsListResult,
109
+ OrderRefundsListResult,
110
+ TransactionsListResult,
111
+ TenderTransactionsListResult,
112
+ CountriesListResult,
113
+ MetafieldShopsListResult,
114
+ MetafieldCustomersListResult,
115
+ MetafieldProductsListResult,
116
+ MetafieldOrdersListResult,
117
+ MetafieldDraftOrdersListResult,
118
+ MetafieldLocationsListResult,
119
+ MetafieldProductVariantsListResult,
120
+ MetafieldSmartCollectionsListResult,
121
+ MetafieldProductImagesListResult,
122
+ CustomerAddressListResult,
123
+ FulfillmentOrdersListResult
124
+ )
125
+ from .types import (
126
+ CustomersListParams,
127
+ CustomersGetParams,
128
+ OrdersListParams,
129
+ OrdersGetParams,
130
+ ProductsListParams,
131
+ ProductsGetParams,
132
+ ProductVariantsListParams,
133
+ ProductVariantsGetParams,
134
+ ProductImagesListParams,
135
+ ProductImagesGetParams,
136
+ AbandonedCheckoutsListParams,
137
+ LocationsListParams,
138
+ LocationsGetParams,
139
+ InventoryLevelsListParams,
140
+ InventoryItemsListParams,
141
+ InventoryItemsGetParams,
142
+ ShopGetParams,
143
+ PriceRulesListParams,
144
+ PriceRulesGetParams,
145
+ DiscountCodesListParams,
146
+ DiscountCodesGetParams,
147
+ CustomCollectionsListParams,
148
+ CustomCollectionsGetParams,
149
+ SmartCollectionsListParams,
150
+ SmartCollectionsGetParams,
151
+ CollectsListParams,
152
+ CollectsGetParams,
153
+ DraftOrdersListParams,
154
+ DraftOrdersGetParams,
155
+ FulfillmentsListParams,
156
+ FulfillmentsGetParams,
157
+ OrderRefundsListParams,
158
+ OrderRefundsGetParams,
159
+ TransactionsListParams,
160
+ TransactionsGetParams,
161
+ TenderTransactionsListParams,
162
+ CountriesListParams,
163
+ CountriesGetParams,
164
+ MetafieldShopsListParams,
165
+ MetafieldShopsGetParams,
166
+ MetafieldCustomersListParams,
167
+ MetafieldProductsListParams,
168
+ MetafieldOrdersListParams,
169
+ MetafieldDraftOrdersListParams,
170
+ MetafieldLocationsListParams,
171
+ MetafieldProductVariantsListParams,
172
+ MetafieldSmartCollectionsListParams,
173
+ MetafieldProductImagesListParams,
174
+ CustomerAddressListParams,
175
+ CustomerAddressGetParams,
176
+ FulfillmentOrdersListParams,
177
+ FulfillmentOrdersGetParams
178
+ )
179
+
180
+ __all__ = [
181
+ "ShopifyConnector",
182
+ "ShopifyAuthConfig",
183
+ "CustomerAddress",
184
+ "Customer",
185
+ "CustomerList",
186
+ "CustomerAddressList",
187
+ "MarketingConsent",
188
+ "OrderAddress",
189
+ "Transaction",
190
+ "Refund",
191
+ "LineItem",
192
+ "Fulfillment",
193
+ "Order",
194
+ "OrderList",
195
+ "ProductImage",
196
+ "ProductVariant",
197
+ "Product",
198
+ "ProductList",
199
+ "ProductVariantList",
200
+ "ProductImageList",
201
+ "AbandonedCheckout",
202
+ "AbandonedCheckoutList",
203
+ "Location",
204
+ "LocationList",
205
+ "InventoryLevel",
206
+ "InventoryLevelList",
207
+ "InventoryItem",
208
+ "InventoryItemList",
209
+ "Shop",
210
+ "PriceRule",
211
+ "PriceRuleList",
212
+ "DiscountCode",
213
+ "DiscountCodeList",
214
+ "CustomCollection",
215
+ "CustomCollectionList",
216
+ "SmartCollection",
217
+ "SmartCollectionList",
218
+ "Collect",
219
+ "CollectList",
220
+ "DraftOrder",
221
+ "DraftOrderList",
222
+ "FulfillmentList",
223
+ "FulfillmentOrder",
224
+ "FulfillmentOrderList",
225
+ "RefundList",
226
+ "TransactionList",
227
+ "TenderTransaction",
228
+ "TenderTransactionList",
229
+ "Country",
230
+ "CountryList",
231
+ "Metafield",
232
+ "MetafieldList",
233
+ "CustomersListResultMeta",
234
+ "OrdersListResultMeta",
235
+ "ProductsListResultMeta",
236
+ "ProductVariantsListResultMeta",
237
+ "ProductImagesListResultMeta",
238
+ "AbandonedCheckoutsListResultMeta",
239
+ "LocationsListResultMeta",
240
+ "InventoryLevelsListResultMeta",
241
+ "InventoryItemsListResultMeta",
242
+ "PriceRulesListResultMeta",
243
+ "DiscountCodesListResultMeta",
244
+ "CustomCollectionsListResultMeta",
245
+ "SmartCollectionsListResultMeta",
246
+ "CollectsListResultMeta",
247
+ "DraftOrdersListResultMeta",
248
+ "FulfillmentsListResultMeta",
249
+ "OrderRefundsListResultMeta",
250
+ "TransactionsListResultMeta",
251
+ "TenderTransactionsListResultMeta",
252
+ "CountriesListResultMeta",
253
+ "MetafieldShopsListResultMeta",
254
+ "MetafieldCustomersListResultMeta",
255
+ "MetafieldProductsListResultMeta",
256
+ "MetafieldOrdersListResultMeta",
257
+ "MetafieldDraftOrdersListResultMeta",
258
+ "MetafieldLocationsListResultMeta",
259
+ "MetafieldProductVariantsListResultMeta",
260
+ "MetafieldSmartCollectionsListResultMeta",
261
+ "MetafieldProductImagesListResultMeta",
262
+ "CustomerAddressListResultMeta",
263
+ "FulfillmentOrdersListResultMeta",
264
+ "ShopifyExecuteResult",
265
+ "ShopifyExecuteResultWithMeta",
266
+ "CustomersListResult",
267
+ "OrdersListResult",
268
+ "ProductsListResult",
269
+ "ProductVariantsListResult",
270
+ "ProductImagesListResult",
271
+ "AbandonedCheckoutsListResult",
272
+ "LocationsListResult",
273
+ "InventoryLevelsListResult",
274
+ "InventoryItemsListResult",
275
+ "PriceRulesListResult",
276
+ "DiscountCodesListResult",
277
+ "CustomCollectionsListResult",
278
+ "SmartCollectionsListResult",
279
+ "CollectsListResult",
280
+ "DraftOrdersListResult",
281
+ "FulfillmentsListResult",
282
+ "OrderRefundsListResult",
283
+ "TransactionsListResult",
284
+ "TenderTransactionsListResult",
285
+ "CountriesListResult",
286
+ "MetafieldShopsListResult",
287
+ "MetafieldCustomersListResult",
288
+ "MetafieldProductsListResult",
289
+ "MetafieldOrdersListResult",
290
+ "MetafieldDraftOrdersListResult",
291
+ "MetafieldLocationsListResult",
292
+ "MetafieldProductVariantsListResult",
293
+ "MetafieldSmartCollectionsListResult",
294
+ "MetafieldProductImagesListResult",
295
+ "CustomerAddressListResult",
296
+ "FulfillmentOrdersListResult",
297
+ "CustomersListParams",
298
+ "CustomersGetParams",
299
+ "OrdersListParams",
300
+ "OrdersGetParams",
301
+ "ProductsListParams",
302
+ "ProductsGetParams",
303
+ "ProductVariantsListParams",
304
+ "ProductVariantsGetParams",
305
+ "ProductImagesListParams",
306
+ "ProductImagesGetParams",
307
+ "AbandonedCheckoutsListParams",
308
+ "LocationsListParams",
309
+ "LocationsGetParams",
310
+ "InventoryLevelsListParams",
311
+ "InventoryItemsListParams",
312
+ "InventoryItemsGetParams",
313
+ "ShopGetParams",
314
+ "PriceRulesListParams",
315
+ "PriceRulesGetParams",
316
+ "DiscountCodesListParams",
317
+ "DiscountCodesGetParams",
318
+ "CustomCollectionsListParams",
319
+ "CustomCollectionsGetParams",
320
+ "SmartCollectionsListParams",
321
+ "SmartCollectionsGetParams",
322
+ "CollectsListParams",
323
+ "CollectsGetParams",
324
+ "DraftOrdersListParams",
325
+ "DraftOrdersGetParams",
326
+ "FulfillmentsListParams",
327
+ "FulfillmentsGetParams",
328
+ "OrderRefundsListParams",
329
+ "OrderRefundsGetParams",
330
+ "TransactionsListParams",
331
+ "TransactionsGetParams",
332
+ "TenderTransactionsListParams",
333
+ "CountriesListParams",
334
+ "CountriesGetParams",
335
+ "MetafieldShopsListParams",
336
+ "MetafieldShopsGetParams",
337
+ "MetafieldCustomersListParams",
338
+ "MetafieldProductsListParams",
339
+ "MetafieldOrdersListParams",
340
+ "MetafieldDraftOrdersListParams",
341
+ "MetafieldLocationsListParams",
342
+ "MetafieldProductVariantsListParams",
343
+ "MetafieldSmartCollectionsListParams",
344
+ "MetafieldProductImagesListParams",
345
+ "CustomerAddressListParams",
346
+ "CustomerAddressGetParams",
347
+ "FulfillmentOrdersListParams",
348
+ "FulfillmentOrdersGetParams",
349
+ ]
@@ -0,0 +1 @@
1
+ """Vendored connector-sdk runtime."""
@@ -0,0 +1,82 @@
1
+ """
2
+ Airbyte SDK - Async-first type-safe connector execution framework.
3
+
4
+ Provides:
5
+ - Async executor for all connectors
6
+ - Custom connector support
7
+ - Performance monitoring and instrumentation
8
+ - Connection pooling and concurrent execution
9
+ """
10
+
11
+ from __future__ import annotations
12
+
13
+ from .auth_strategies import AuthStrategy
14
+ from .connector_model_loader import load_connector_model
15
+ from .constants import SDK_VERSION
16
+ from .exceptions import (
17
+ AuthenticationError,
18
+ HTTPClientError,
19
+ NetworkError,
20
+ RateLimitError,
21
+ TimeoutError,
22
+ )
23
+ from .executor import (
24
+ ActionNotSupportedError,
25
+ EntityNotFoundError,
26
+ ExecutionConfig,
27
+ ExecutionResult,
28
+ ExecutorError,
29
+ ExecutorProtocol,
30
+ HostedExecutor,
31
+ InvalidParameterError,
32
+ LocalExecutor,
33
+ MissingParameterError,
34
+ )
35
+ from .http_client import HTTPClient
36
+ from .logging import LogSession, NullLogger, RequestLog, RequestLogger
37
+ from .performance import PerformanceMonitor, instrument
38
+ from .types import Action, AuthType, ConnectorModel, EntityDefinition
39
+ from .utils import save_download
40
+
41
+ __version__ = SDK_VERSION
42
+
43
+ __all__ = [
44
+ # All Executors
45
+ "LocalExecutor",
46
+ "HostedExecutor",
47
+ "ExecutorProtocol",
48
+ "HTTPClient",
49
+ # Execution Config and Result Types
50
+ "ExecutionConfig",
51
+ "ExecutionResult",
52
+ # Types
53
+ "ConnectorModel",
54
+ "Action",
55
+ "AuthType",
56
+ "EntityDefinition",
57
+ "load_connector_model",
58
+ # Authentication
59
+ "AuthStrategy",
60
+ # Executor Exceptions
61
+ "ExecutorError",
62
+ "EntityNotFoundError",
63
+ "ActionNotSupportedError",
64
+ "MissingParameterError",
65
+ "InvalidParameterError",
66
+ # HTTP Exceptions
67
+ "HTTPClientError",
68
+ "AuthenticationError",
69
+ "RateLimitError",
70
+ "NetworkError",
71
+ "TimeoutError",
72
+ # Logging
73
+ "RequestLogger",
74
+ "NullLogger",
75
+ "RequestLog",
76
+ "LogSession",
77
+ # Performance monitoring
78
+ "PerformanceMonitor",
79
+ "instrument",
80
+ # Utilities
81
+ "save_download",
82
+ ]