airbyte-agent-shopify 0.1.12__tar.gz → 0.1.15__tar.gz

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 (61) hide show
  1. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/CHANGELOG.md +15 -0
  2. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/PKG-INFO +4 -4
  3. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/README.md +3 -3
  4. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/__init__.py +4 -4
  5. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/connector_model_loader.py +0 -8
  6. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/http_client.py +1 -1
  7. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/schema/security.py +0 -1
  8. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/connector.py +1 -1
  9. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/connector_model.py +1 -2
  10. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/pyproject.toml +1 -1
  11. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/.gitignore +0 -0
  12. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/AUTH.md +0 -0
  13. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/REFERENCE.md +0 -0
  14. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/__init__.py +0 -0
  15. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/__init__.py +0 -0
  16. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/auth_strategies.py +0 -0
  17. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/auth_template.py +0 -0
  18. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
  19. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/client.py +0 -0
  20. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/constants.py +0 -0
  21. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/exceptions.py +0 -0
  22. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/executor/__init__.py +0 -0
  23. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
  24. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/executor/local_executor.py +0 -0
  25. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/executor/models.py +0 -0
  26. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/extensions.py +0 -0
  27. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/http/__init__.py +0 -0
  28. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
  29. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
  30. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/http/config.py +0 -0
  31. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/http/exceptions.py +0 -0
  32. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/http/protocols.py +0 -0
  33. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/http/response.py +0 -0
  34. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/introspection.py +0 -0
  35. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/logging/__init__.py +0 -0
  36. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/logging/logger.py +0 -0
  37. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/logging/types.py +0 -0
  38. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/observability/__init__.py +0 -0
  39. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/observability/config.py +0 -0
  40. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/observability/models.py +0 -0
  41. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/observability/redactor.py +0 -0
  42. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/observability/session.py +0 -0
  43. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/performance/__init__.py +0 -0
  44. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/performance/instrumentation.py +0 -0
  45. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/performance/metrics.py +0 -0
  46. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/schema/__init__.py +0 -0
  47. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/schema/base.py +0 -0
  48. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/schema/components.py +0 -0
  49. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/schema/connector.py +0 -0
  50. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/schema/extensions.py +0 -0
  51. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/schema/operations.py +0 -0
  52. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/secrets.py +0 -0
  53. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/telemetry/__init__.py +0 -0
  54. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/telemetry/config.py +0 -0
  55. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/telemetry/events.py +0 -0
  56. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/telemetry/tracker.py +0 -0
  57. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/types.py +0 -0
  58. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/utils.py +0 -0
  59. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/_vendored/connector_sdk/validation.py +0 -0
  60. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/models.py +49 -49
  61. {airbyte_agent_shopify-0.1.12 → airbyte_agent_shopify-0.1.15}/airbyte_agent_shopify/types.py +0 -0
@@ -1,5 +1,20 @@
1
1
  # Shopify changelog
2
2
 
3
+ ## [0.1.15] - 2026-01-27
4
+ - Updated connector definition (YAML version 0.1.2)
5
+ - Source commit: 0f5e1914
6
+ - SDK version: 0.1.0
7
+
8
+ ## [0.1.14] - 2026-01-27
9
+ - Updated connector definition (YAML version 0.1.2)
10
+ - Source commit: a01f6b16
11
+ - SDK version: 0.1.0
12
+
13
+ ## [0.1.13] - 2026-01-27
14
+ - Updated connector definition (YAML version 0.1.2)
15
+ - Source commit: c9b05509
16
+ - SDK version: 0.1.0
17
+
3
18
  ## [0.1.12] - 2026-01-27
4
19
  - Updated connector definition (YAML version 0.1.1)
5
20
  - Source commit: 4bded58d
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-shopify
3
- Version: 0.1.12
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.12
172
- - **Connector version:** 0.1.1
173
- - **Generated with Connector SDK commit SHA:** 4bded58d3cabff3ac257c30c425ccab118f6ed87
171
+ - **Package version:** 0.1.15
172
+ - **Connector version:** 0.1.2
173
+ - **Generated with Connector SDK commit SHA:** 0f5e1914fa0d7d52de7bc0018afab712184a0847
@@ -135,6 +135,6 @@ For the service's official API docs, see the [Shopify API reference](https://sho
135
135
 
136
136
  ## Version information
137
137
 
138
- - **Package version:** 0.1.12
139
- - **Connector version:** 0.1.1
140
- - **Generated with Connector SDK commit SHA:** 4bded58d3cabff3ac257c30c425ccab118f6ed87
138
+ - **Package version:** 0.1.15
139
+ - **Connector version:** 0.1.2
140
+ - **Generated with Connector SDK commit SHA:** 0f5e1914fa0d7d52de7bc0018afab712184a0847
@@ -13,10 +13,10 @@ 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
22
  ProductImage,
@@ -186,10 +186,10 @@ __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
195
  "ProductImage",
@@ -758,7 +758,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
758
758
  description="Authentication bearer token",
759
759
  format=None,
760
760
  pattern=None,
761
- airbyte_secret=False,
762
761
  default=None,
763
762
  )
764
763
  },
@@ -778,7 +777,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
778
777
  description="Authentication username",
779
778
  format=None,
780
779
  pattern=None,
781
- airbyte_secret=False,
782
780
  default=None,
783
781
  ),
784
782
  "password": AuthConfigFieldSpec(
@@ -787,7 +785,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
787
785
  description="Authentication password",
788
786
  format=None,
789
787
  pattern=None,
790
- airbyte_secret=False,
791
788
  default=None,
792
789
  ),
793
790
  },
@@ -807,7 +804,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
807
804
  description="API authentication key",
808
805
  format=None,
809
806
  pattern=None,
810
- airbyte_secret=False,
811
807
  default=None,
812
808
  )
813
809
  },
@@ -832,7 +828,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
832
828
  description="OAuth2 access token",
833
829
  format=None,
834
830
  pattern=None,
835
- airbyte_secret=False,
836
831
  default=None,
837
832
  ),
838
833
  "refresh_token": AuthConfigFieldSpec(
@@ -841,7 +836,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
841
836
  description="OAuth2 refresh token (optional)",
842
837
  format=None,
843
838
  pattern=None,
844
- airbyte_secret=False,
845
839
  default=None,
846
840
  ),
847
841
  "client_id": AuthConfigFieldSpec(
@@ -850,7 +844,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
850
844
  description="OAuth2 client ID (optional)",
851
845
  format=None,
852
846
  pattern=None,
853
- airbyte_secret=False,
854
847
  default=None,
855
848
  ),
856
849
  "client_secret": AuthConfigFieldSpec(
@@ -859,7 +852,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
859
852
  description="OAuth2 client secret (optional)",
860
853
  format=None,
861
854
  pattern=None,
862
- airbyte_secret=False,
863
855
  default=None,
864
856
  ),
865
857
  },
@@ -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}"
@@ -55,7 +55,6 @@ class AuthConfigFieldSpec(BaseModel):
55
55
  description: str | None = None
56
56
  format: str | None = None # e.g., "email", "uri"
57
57
  pattern: str | None = None # Regex validation
58
- airbyte_secret: bool = Field(False, alias="airbyte_secret")
59
58
  default: Any | None = None
60
59
 
61
60
 
@@ -178,7 +178,7 @@ class ShopifyConnector:
178
178
  """
179
179
 
180
180
  connector_name = "shopify"
181
- connector_version = "0.1.1"
181
+ connector_version = "0.1.2"
182
182
  vendored_sdk_version = "0.1.0" # Version of vendored connector-sdk
183
183
 
184
184
  # Map of (entity, action) -> needs_envelope for envelope wrapping decision
@@ -26,7 +26,7 @@ from uuid import (
26
26
  ShopifyConnectorModel: ConnectorModel = ConnectorModel(
27
27
  id=UUID('9da77001-af33-4bcd-be46-6252bf9342b9'),
28
28
  name='shopify',
29
- version='0.1.1',
29
+ version='0.1.2',
30
30
  base_url='https://{shop}.myshopify.com/admin/api/2025-01',
31
31
  auth=AuthConfig(
32
32
  type=AuthType.API_KEY,
@@ -39,7 +39,6 @@ ShopifyConnectorModel: ConnectorModel = ConnectorModel(
39
39
  'api_key': AuthConfigFieldSpec(
40
40
  title='Access Token',
41
41
  description='Your Shopify Admin API access token',
42
- airbyte_secret=True,
43
42
  ),
44
43
  'shop': AuthConfigFieldSpec(
45
44
  title='Shop Name',
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "airbyte-agent-shopify"
3
- version = "0.1.12"
3
+ version = "0.1.15"
4
4
  description = "Airbyte Shopify Connector for AI platforms"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -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)