stigg-api-client-v2 3.95.0__tar.gz → 5.1.0__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.

Potentially problematic release.


This version of stigg-api-client-v2 might be problematic. Click here for more details.

Files changed (178) hide show
  1. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/PKG-INFO +2 -4
  2. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/README.md +0 -1
  3. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/pyproject.toml +3 -3
  4. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/__init__.py +36 -4
  5. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/apply_subscription.py +1 -1
  6. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/archive_customer.py +1 -1
  7. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/async_base_client.py +1 -1
  8. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/async_client.py +156 -15
  9. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/base_client.py +1 -1
  10. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/base_model.py +1 -1
  11. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/cancel_subscription.py +1 -1
  12. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/cancel_subscription_updates.py +1 -1
  13. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/client.py +156 -15
  14. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/create_payment_session.py +1 -1
  15. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/create_subscription.py +1 -1
  16. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/delegate_subscription_to_customer.py +1 -1
  17. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/detach_customer_payment_method.py +1 -1
  18. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/enums.py +30 -7
  19. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/estimate_subscription.py +1 -1
  20. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/estimate_subscription_update.py +1 -1
  21. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/fragments.py +322 -248
  22. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_active_subscriptions.py +1 -1
  23. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_active_subscriptions_list.py +1 -1
  24. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_checkout_state.py +1 -1
  25. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_credit_balance.py +1 -1
  26. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_credit_grants.py +1 -1
  27. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_credit_ledger.py +1 -1
  28. stigg_api_client_v2-5.1.0/stigg/generated/get_credit_usage.py +18 -0
  29. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_customer_by_id.py +1 -1
  30. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_customer_portal_by_ref_id.py +1 -1
  31. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_customer_statistics.py +1 -1
  32. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_entitlements_state.py +1 -1
  33. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_mock_paywall.py +1 -1
  34. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_sdk_configuration.py +2 -1
  35. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_subscription.py +1 -1
  36. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_subscriptions.py +1 -1
  37. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_usage_history.py +1 -1
  38. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_usage_history_v_2.py +1 -1
  39. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/grant_credits.py +1 -1
  40. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/grant_promotional_entitlements.py +1 -1
  41. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/grant_promotional_entitlements_group.py +1 -1
  42. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/import_customer.py +1 -1
  43. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/import_customer_bulk.py +1 -1
  44. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/import_subscriptions_bulk.py +1 -1
  45. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/input_types.py +109 -3
  46. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/migrate_subscription_to_latest.py +1 -1
  47. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/preview_next_invoice.py +1 -1
  48. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/preview_subscription.py +1 -1
  49. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/provision_customer.py +1 -1
  50. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/provision_subscription.py +1 -1
  51. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/report_entitlement_check_requested.py +1 -1
  52. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/report_event.py +1 -1
  53. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/report_usage.py +1 -1
  54. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/report_usage_bulk.py +1 -1
  55. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/revoke_promotional_entitlement.py +1 -1
  56. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/revoke_promotional_entitlements_group.py +1 -1
  57. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/transfer_subscription.py +1 -1
  58. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/transfer_subscription_to_resource.py +1 -1
  59. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/unarchive_customer.py +1 -1
  60. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/unlink_promotional_entitlements_group.py +1 -1
  61. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/update_customer.py +1 -1
  62. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/update_subscription.py +1 -1
  63. stigg_api_client_v2-5.1.0/stigg/generated/void_credit_grant.py +18 -0
  64. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/__init__.py +0 -388
  65. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/__init__.py +0 -0
  66. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_config.py +0 -322
  67. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_core_metadata.py +0 -92
  68. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_core_utils.py +0 -570
  69. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_dataclasses.py +0 -225
  70. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_decorators.py +0 -791
  71. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_decorators_v1.py +0 -181
  72. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_discriminated_union.py +0 -506
  73. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_fields.py +0 -319
  74. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_forward_ref.py +0 -23
  75. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_generate_schema.py +0 -2231
  76. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_generics.py +0 -517
  77. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_git.py +0 -26
  78. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_internal_dataclass.py +0 -10
  79. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_known_annotated_metadata.py +0 -410
  80. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_mock_val_ser.py +0 -140
  81. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_model_construction.py +0 -637
  82. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_repr.py +0 -117
  83. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_schema_generation_shared.py +0 -124
  84. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_signature.py +0 -164
  85. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_std_types_schema.py +0 -714
  86. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_typing_extra.py +0 -469
  87. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_utils.py +0 -362
  88. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_validate_call.py +0 -84
  89. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_internal/_validators.py +0 -278
  90. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/_migration.py +0 -308
  91. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/alias_generators.py +0 -50
  92. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/aliases.py +0 -112
  93. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/annotated_handlers.py +0 -120
  94. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/class_validators.py +0 -4
  95. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/color.py +0 -603
  96. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/config.py +0 -912
  97. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/dataclasses.py +0 -327
  98. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/datetime_parse.py +0 -4
  99. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/decorator.py +0 -4
  100. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/deprecated/__init__.py +0 -0
  101. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/deprecated/class_validators.py +0 -253
  102. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/deprecated/config.py +0 -72
  103. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/deprecated/copy_internals.py +0 -224
  104. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/deprecated/decorator.py +0 -279
  105. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/deprecated/json.py +0 -140
  106. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/deprecated/parse.py +0 -80
  107. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/deprecated/tools.py +0 -103
  108. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/env_settings.py +0 -4
  109. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/error_wrappers.py +0 -4
  110. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/errors.py +0 -152
  111. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/fields.py +0 -1155
  112. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/functional_serializers.py +0 -395
  113. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/functional_validators.py +0 -706
  114. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/generics.py +0 -4
  115. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/json.py +0 -4
  116. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/json_schema.py +0 -2425
  117. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/main.py +0 -1500
  118. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/mypy.py +0 -1287
  119. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/networks.py +0 -708
  120. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/parse.py +0 -4
  121. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/plugin/__init__.py +0 -170
  122. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/plugin/_loader.py +0 -50
  123. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/plugin/_schema_validator.py +0 -138
  124. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/py.typed +0 -0
  125. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/root_model.py +0 -149
  126. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/schema.py +0 -4
  127. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/tools.py +0 -4
  128. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/type_adapter.py +0 -460
  129. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/types.py +0 -2879
  130. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/typing.py +0 -4
  131. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/utils.py +0 -4
  132. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/__init__.py +0 -131
  133. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/_hypothesis_plugin.py +0 -395
  134. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/annotated_types.py +0 -72
  135. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/class_validators.py +0 -361
  136. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/color.py +0 -494
  137. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/config.py +0 -191
  138. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/dataclasses.py +0 -500
  139. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/datetime_parse.py +0 -248
  140. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/decorator.py +0 -264
  141. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/env_settings.py +0 -350
  142. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/error_wrappers.py +0 -161
  143. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/errors.py +0 -646
  144. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/fields.py +0 -1252
  145. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/generics.py +0 -400
  146. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/json.py +0 -112
  147. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/main.py +0 -1107
  148. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/mypy.py +0 -944
  149. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/networks.py +0 -747
  150. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/parse.py +0 -66
  151. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/py.typed +0 -0
  152. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/schema.py +0 -1163
  153. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/tools.py +0 -92
  154. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/types.py +0 -1205
  155. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/typing.py +0 -603
  156. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/utils.py +0 -803
  157. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/validators.py +0 -765
  158. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/v1/version.py +0 -38
  159. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/validate_call_decorator.py +0 -67
  160. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/validators.py +0 -4
  161. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/version.py +0 -80
  162. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic/warnings.py +0 -58
  163. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic-2.6.4.dist-info/INSTALLER +0 -1
  164. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic-2.6.4.dist-info/METADATA +0 -890
  165. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic-2.6.4.dist-info/RECORD +0 -202
  166. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED +0 -0
  167. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL +0 -4
  168. stigg_api_client_v2-3.95.0/stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE +0 -21
  169. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/LICENSE +0 -0
  170. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/__init__.py +0 -0
  171. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/_edge_utils.py +0 -0
  172. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/client.py +0 -0
  173. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/exceptions.py +0 -0
  174. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_coupons.py +0 -0
  175. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_entitlement.py +0 -0
  176. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_entitlements.py +0 -0
  177. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_paywall.py +0 -0
  178. {stigg_api_client_v2-3.95.0 → stigg_api_client_v2-5.1.0}/stigg/generated/get_products.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client-v2
3
- Version: 3.95.0
3
+ Version: 5.1.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -11,9 +11,8 @@ Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.9
12
12
  Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
- Requires-Dist: annotated-types (>=0.6)
15
14
  Requires-Dist: httpx (>=0.23)
16
- Requires-Dist: pydantic-core (>=2.16)
15
+ Requires-Dist: pydantic (>=2.12,<2.13)
17
16
  Requires-Dist: tenacity (>=8.2.2,<9.0.0)
18
17
  Description-Content-Type: text/markdown
19
18
 
@@ -52,7 +51,6 @@ Provision a customer
52
51
  ```python
53
52
 
54
53
 
55
-
56
54
  import os
57
55
  from stigg import Stigg
58
56
  from stigg.generated import ProvisionCustomerInput
@@ -33,7 +33,6 @@ Provision a customer
33
33
  ```python
34
34
 
35
35
 
36
-
37
36
  import os
38
37
  from stigg import Stigg
39
38
  from stigg.generated import ProvisionCustomerInput
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stigg-api-client-v2"
3
- version = "3.95.0"
3
+ version = "5.1.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -12,13 +12,13 @@ include = ["stigg/generated/*"]
12
12
  python = "^3.9"
13
13
  tenacity = "^8.2.2"
14
14
  httpx = ">=0.23"
15
- pydantic-core = ">=2.16"
16
- annotated-types = ">=0.6"
15
+ pydantic = "~2.12"
17
16
 
18
17
  [tool.poetry.group.dev.dependencies]
19
18
  flake8 = "^5.0"
20
19
  black = "^22.8"
21
20
  ariadne-codegen = "^0.13"
21
+ graphql-core = ">=3.2.0,<3.2.7"
22
22
  pydoctor = "^24.3.3"
23
23
 
24
24
  [build-system]
@@ -193,13 +193,21 @@ from .fragments import (
193
193
  CouponFragment,
194
194
  CouponFragmentAmountsOff,
195
195
  CouponFragmentSyncStates,
196
+ CreditBalanceFragment,
197
+ CreditBalanceFragmentCurrency,
198
+ CreditBalanceFragmentCurrencyUnits,
199
+ CreditBalanceUpdatedPayload,
200
+ CreditBalanceUpdatedPayloadCurrency,
201
+ CreditBalanceUpdatedPayloadCurrencyUnits,
196
202
  CreditGrantFragment,
197
203
  CreditGrantFragmentCost,
198
204
  CreditLedgerFragment,
199
205
  CreditsBalanceSummaryFragment,
200
206
  CreditsBalanceSummaryFragmentBalances,
201
- CreditsBalanceSummaryFragmentBalancesCurrency,
202
- CreditsBalanceSummaryFragmentBalancesCurrencyUnits,
207
+ CreditUsageFragment,
208
+ CreditUsageFragmentCurrency,
209
+ CreditUsageFragmentSeries,
210
+ CreditUsageFragmentSeriesPoints,
203
211
  CustomerFragment,
204
212
  CustomerFragmentCoupon,
205
213
  CustomerFragmentEligibleForTrial,
@@ -264,6 +272,7 @@ from .fragments import (
264
272
  CustomerWithSubscriptionsFragment,
265
273
  CustomerWithSubscriptionsFragmentSubscriptions,
266
274
  EntitlementFragment,
275
+ EntitlementFragmentCreditRate,
267
276
  EntitlementFragmentFeature,
268
277
  EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig,
269
278
  EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig,
@@ -377,6 +386,8 @@ from .fragments import (
377
386
  ProvisionSubscriptionFragmentEntitlements,
378
387
  ProvisionSubscriptionFragmentSubscription,
379
388
  ReportUsageFragment,
389
+ SlimCustomCurrencyFragment,
390
+ SlimCustomCurrencyFragmentUnits,
380
391
  SlimCustomerFragment,
381
392
  SlimSubscriptionFragment,
382
393
  SlimSubscriptionFragmentAddons,
@@ -562,6 +573,7 @@ from .get_credit_ledger import (
562
573
  GetCreditLedgerCreditsLedger,
563
574
  GetCreditLedgerCreditsLedgerEvents,
564
575
  )
576
+ from .get_credit_usage import GetCreditUsage, GetCreditUsageCreditUsage
565
577
  from .get_customer_by_id import GetCustomerById, GetCustomerByIdGetCustomerByRefId
566
578
  from .get_customer_portal_by_ref_id import (
567
579
  GetCustomerPortalByRefId,
@@ -943,6 +955,7 @@ from .input_types import (
943
955
  SubscriptionPriceFilterPriceFilter,
944
956
  SubscriptionPriceSort,
945
957
  SubscriptionQueryFilter,
958
+ SubscriptionQueryFilterCustomerFilter,
946
959
  SubscriptionQuerySort,
947
960
  SubscriptionStatusFilterComparison,
948
961
  SubscriptionUpdateScheduleCancellationInput,
@@ -1006,6 +1019,7 @@ from .input_types import (
1006
1019
  UUIDFilterComparison,
1007
1020
  ValidateMergeEnvironmentInput,
1008
1021
  VendorIdentifierFilterComparison,
1022
+ VoidCreditGrantInput,
1009
1023
  WeeklyResetPeriodConfigInput,
1010
1024
  WidgetConfigurationUpdateInput,
1011
1025
  WorkflowsLoginInput,
@@ -1059,6 +1073,7 @@ from .update_subscription import (
1059
1073
  UpdateSubscription,
1060
1074
  UpdateSubscriptionUpdateSubscription,
1061
1075
  )
1076
+ from .void_credit_grant import VoidCreditGrant, VoidCreditGrantVoidCreditGrant
1062
1077
 
1063
1078
  __all__ = [
1064
1079
  "AccessDeniedReason",
@@ -1187,7 +1202,13 @@ __all__ = [
1187
1202
  "CreateSubscription",
1188
1203
  "CreateSubscriptionCreateSubscription",
1189
1204
  "CreateWorkflowTriggerInput",
1205
+ "CreditBalanceFragment",
1206
+ "CreditBalanceFragmentCurrency",
1207
+ "CreditBalanceFragmentCurrencyUnits",
1190
1208
  "CreditBalanceSummaryInput",
1209
+ "CreditBalanceUpdatedPayload",
1210
+ "CreditBalanceUpdatedPayloadCurrency",
1211
+ "CreditBalanceUpdatedPayloadCurrencyUnits",
1191
1212
  "CreditGrantFragment",
1192
1213
  "CreditGrantFragmentCost",
1193
1214
  "CreditGrantInput",
@@ -1196,12 +1217,14 @@ __all__ = [
1196
1217
  "CreditLedgerFragment",
1197
1218
  "CreditLedgerInput",
1198
1219
  "CreditRateInput",
1220
+ "CreditUsageFragment",
1221
+ "CreditUsageFragmentCurrency",
1222
+ "CreditUsageFragmentSeries",
1223
+ "CreditUsageFragmentSeriesPoints",
1199
1224
  "CreditUsageInput",
1200
1225
  "CreditUsageTimeRange",
1201
1226
  "CreditsBalanceSummaryFragment",
1202
1227
  "CreditsBalanceSummaryFragmentBalances",
1203
- "CreditsBalanceSummaryFragmentBalancesCurrency",
1204
- "CreditsBalanceSummaryFragmentBalancesCurrencyUnits",
1205
1228
  "Currency",
1206
1229
  "CursorPaging",
1207
1230
  "CustomCurrencyInput",
@@ -1325,6 +1348,7 @@ __all__ = [
1325
1348
  "EntitlementCheckRequested",
1326
1349
  "EntitlementCheckResult",
1327
1350
  "EntitlementFragment",
1351
+ "EntitlementFragmentCreditRate",
1328
1352
  "EntitlementFragmentFeature",
1329
1353
  "EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
1330
1354
  "EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
@@ -1419,6 +1443,8 @@ __all__ = [
1419
1443
  "GetCreditLedger",
1420
1444
  "GetCreditLedgerCreditsLedger",
1421
1445
  "GetCreditLedgerCreditsLedgerEvents",
1446
+ "GetCreditUsage",
1447
+ "GetCreditUsageCreditUsage",
1422
1448
  "GetCustomerById",
1423
1449
  "GetCustomerByIdGetCustomerByRefId",
1424
1450
  "GetCustomerByRefIdInput",
@@ -1759,6 +1785,8 @@ __all__ = [
1759
1785
  "SetPlanCompatiblePackageGroup",
1760
1786
  "SetPlanCompatiblePackageGroupOptions",
1761
1787
  "SetPlanCompatiblePackageGroups",
1788
+ "SlimCustomCurrencyFragment",
1789
+ "SlimCustomCurrencyFragmentUnits",
1762
1790
  "SlimCustomerFragment",
1763
1791
  "SlimSubscriptionFragment",
1764
1792
  "SlimSubscriptionFragmentAddons",
@@ -1920,6 +1948,7 @@ __all__ = [
1920
1948
  "SubscriptionPriceSortFields",
1921
1949
  "SubscriptionProrationBehavior",
1922
1950
  "SubscriptionQueryFilter",
1951
+ "SubscriptionQueryFilterCustomerFilter",
1923
1952
  "SubscriptionQueryFragment",
1924
1953
  "SubscriptionQueryFragmentAddons",
1925
1954
  "SubscriptionQueryFragmentAddonsAddon",
@@ -2059,6 +2088,9 @@ __all__ = [
2059
2088
  "VendorIdentifier",
2060
2089
  "VendorIdentifierFilterComparison",
2061
2090
  "VendorType",
2091
+ "VoidCreditGrant",
2092
+ "VoidCreditGrantInput",
2093
+ "VoidCreditGrantVoidCreditGrant",
2062
2094
  "WeeklyAccordingTo",
2063
2095
  "WeeklyResetPeriodConfigInput",
2064
2096
  "WidgetConfigurationUpdateInput",
@@ -1,7 +1,7 @@
1
1
  # Generated by ariadne-codegen
2
2
  # Source: operations.graphql
3
3
 
4
- from stigg._vendors.pydantic import Field
4
+ from pydantic import Field
5
5
 
6
6
  from .base_model import BaseModel
7
7
  from .fragments import ApplySubscriptionFragment
@@ -1,7 +1,7 @@
1
1
  # Generated by ariadne-codegen
2
2
  # Source: operations.graphql
3
3
 
4
- from stigg._vendors.pydantic import Field
4
+ from pydantic import Field
5
5
 
6
6
  from .base_model import BaseModel
7
7
 
@@ -6,7 +6,7 @@ from typing import IO, Any, AsyncIterator, Dict, List, Optional, Tuple, TypeVar,
6
6
  from uuid import uuid4
7
7
 
8
8
  import httpx
9
- from stigg._vendors.pydantic import BaseModel
9
+ from pydantic import BaseModel
10
10
  from pydantic_core import to_jsonable_python
11
11
 
12
12
  from .base_model import UNSET, Upload
@@ -22,6 +22,7 @@ from .get_coupons import GetCoupons
22
22
  from .get_credit_balance import GetCreditBalance
23
23
  from .get_credit_grants import GetCreditGrants
24
24
  from .get_credit_ledger import GetCreditLedger
25
+ from .get_credit_usage import GetCreditUsage
25
26
  from .get_customer_by_id import GetCustomerById
26
27
  from .get_customer_portal_by_ref_id import GetCustomerPortalByRefId
27
28
  from .get_customer_statistics import GetCustomerStatistics
@@ -49,6 +50,7 @@ from .input_types import (
49
50
  CreditBalanceSummaryInput,
50
51
  CreditGrantInput,
51
52
  CreditLedgerInput,
53
+ CreditUsageInput,
52
54
  CursorPaging,
53
55
  CustomerPortalInput,
54
56
  DelegateSubscriptionToCustomerInput,
@@ -92,6 +94,7 @@ from .input_types import (
92
94
  UsageEventsReportInput,
93
95
  UsageHistoryInput,
94
96
  UsageHistoryV2Input,
97
+ VoidCreditGrantInput,
95
98
  )
96
99
  from .migrate_subscription_to_latest import MigrateSubscriptionToLatest
97
100
  from .preview_next_invoice import PreviewNextInvoice
@@ -110,6 +113,7 @@ from .unarchive_customer import UnarchiveCustomer
110
113
  from .unlink_promotional_entitlements_group import UnlinkPromotionalEntitlementsGroup
111
114
  from .update_customer import UpdateCustomer
112
115
  from .update_subscription import UpdateSubscription
116
+ from .void_credit_grant import VoidCreditGrant
113
117
 
114
118
 
115
119
  def gql(q: str) -> str:
@@ -158,6 +162,11 @@ class AsyncClient(AsyncBaseClient):
158
162
  feature {
159
163
  ...FeatureFragment
160
164
  }
165
+ creditRate {
166
+ amount
167
+ currencyId
168
+ }
169
+ validUntil
161
170
  }
162
171
 
163
172
  fragment FeatureFragment on EntitlementFeature {
@@ -190,6 +199,7 @@ class AsyncClient(AsyncBaseClient):
190
199
  creditRate {
191
200
  amount
192
201
  customCurrencyId
202
+ currencyId
193
203
  }
194
204
  tiersMode
195
205
  tiers {
@@ -577,6 +587,11 @@ class AsyncClient(AsyncBaseClient):
577
587
  feature {
578
588
  ...FeatureFragment
579
589
  }
590
+ creditRate {
591
+ amount
592
+ currencyId
593
+ }
594
+ validUntil
580
595
  }
581
596
 
582
597
  fragment FeatureFragment on EntitlementFeature {
@@ -609,6 +624,7 @@ class AsyncClient(AsyncBaseClient):
609
624
  creditRate {
610
625
  amount
611
626
  customCurrencyId
627
+ currencyId
612
628
  }
613
629
  tiersMode
614
630
  tiers {
@@ -838,6 +854,11 @@ class AsyncClient(AsyncBaseClient):
838
854
  feature {
839
855
  ...FeatureFragment
840
856
  }
857
+ creditRate {
858
+ amount
859
+ currencyId
860
+ }
861
+ validUntil
841
862
  }
842
863
 
843
864
  fragment FeatureFragment on EntitlementFeature {
@@ -972,6 +993,7 @@ class AsyncClient(AsyncBaseClient):
972
993
  creditRate {
973
994
  amount
974
995
  customCurrencyId
996
+ currencyId
975
997
  }
976
998
  tiersMode
977
999
  tiers {
@@ -1285,6 +1307,7 @@ class AsyncClient(AsyncBaseClient):
1285
1307
  creditRate {
1286
1308
  amount
1287
1309
  customCurrencyId
1310
+ currencyId
1288
1311
  }
1289
1312
  tiersMode
1290
1313
  tiers {
@@ -1438,6 +1461,7 @@ class AsyncClient(AsyncBaseClient):
1438
1461
  creditRate {
1439
1462
  amount
1440
1463
  customCurrencyId
1464
+ currencyId
1441
1465
  }
1442
1466
  tiersMode
1443
1467
  tiers {
@@ -1974,6 +1998,7 @@ class AsyncClient(AsyncBaseClient):
1974
1998
  creditRate {
1975
1999
  amount
1976
2000
  customCurrencyId
2001
+ currencyId
1977
2002
  }
1978
2003
  tiersMode
1979
2004
  tiers {
@@ -2258,6 +2283,7 @@ class AsyncClient(AsyncBaseClient):
2258
2283
  creditRate {
2259
2284
  amount
2260
2285
  customCurrencyId
2286
+ currencyId
2261
2287
  }
2262
2288
  tiersMode
2263
2289
  tiers {
@@ -2487,6 +2513,7 @@ class AsyncClient(AsyncBaseClient):
2487
2513
  creditRate {
2488
2514
  amount
2489
2515
  customCurrencyId
2516
+ currencyId
2490
2517
  }
2491
2518
  tiersMode
2492
2519
  tiers {
@@ -2640,6 +2667,7 @@ class AsyncClient(AsyncBaseClient):
2640
2667
  creditRate {
2641
2668
  amount
2642
2669
  customCurrencyId
2670
+ currencyId
2643
2671
  }
2644
2672
  tiersMode
2645
2673
  tiers {
@@ -2793,6 +2821,7 @@ class AsyncClient(AsyncBaseClient):
2793
2821
  creditRate {
2794
2822
  amount
2795
2823
  customCurrencyId
2824
+ currencyId
2796
2825
  }
2797
2826
  tiersMode
2798
2827
  tiers {
@@ -3112,6 +3141,47 @@ class AsyncClient(AsyncBaseClient):
3112
3141
  data = self.get_data(response)
3113
3142
  return CreatePaymentSession.model_validate(data)
3114
3143
 
3144
+ async def void_credit_grant(
3145
+ self, input: VoidCreditGrantInput, **kwargs: Any
3146
+ ) -> VoidCreditGrant:
3147
+ query = gql(
3148
+ """
3149
+ mutation VoidCreditGrant($input: VoidCreditGrantInput!) {
3150
+ voidCreditGrant(input: $input) {
3151
+ ...CreditGrantFragment
3152
+ }
3153
+ }
3154
+
3155
+ fragment CreditGrantFragment on CreditGrant {
3156
+ grantId
3157
+ amount
3158
+ comment
3159
+ currencyId
3160
+ customerId
3161
+ displayName
3162
+ effectiveAt
3163
+ expireAt
3164
+ grantType
3165
+ priority
3166
+ consumedAmount
3167
+ cost {
3168
+ amount
3169
+ currency
3170
+ }
3171
+ createdAt
3172
+ updatedAt
3173
+ resourceId
3174
+ additionalMetaData
3175
+ }
3176
+ """
3177
+ )
3178
+ variables: Dict[str, object] = {"input": input}
3179
+ response = await self.execute(
3180
+ query=query, operation_name="VoidCreditGrant", variables=variables, **kwargs
3181
+ )
3182
+ data = self.get_data(response)
3183
+ return VoidCreditGrant.model_validate(data)
3184
+
3115
3185
  async def get_customer_by_id(
3116
3186
  self, input: GetCustomerByRefIdInput, **kwargs: Any
3117
3187
  ) -> GetCustomerById:
@@ -3339,6 +3409,7 @@ class AsyncClient(AsyncBaseClient):
3339
3409
  creditRate {
3340
3410
  amount
3341
3411
  customCurrencyId
3412
+ currencyId
3342
3413
  }
3343
3414
  tiersMode
3344
3415
  tiers {
@@ -3801,6 +3872,7 @@ class AsyncClient(AsyncBaseClient):
3801
3872
  creditRate {
3802
3873
  amount
3803
3874
  customCurrencyId
3875
+ currencyId
3804
3876
  }
3805
3877
  tiersMode
3806
3878
  tiers {
@@ -4343,6 +4415,7 @@ class AsyncClient(AsyncBaseClient):
4343
4415
  creditRate {
4344
4416
  amount
4345
4417
  customCurrencyId
4418
+ currencyId
4346
4419
  }
4347
4420
  tiersMode
4348
4421
  tiers {
@@ -4927,6 +5000,7 @@ class AsyncClient(AsyncBaseClient):
4927
5000
  creditRate {
4928
5001
  amount
4929
5002
  customCurrencyId
5003
+ currencyId
4930
5004
  }
4931
5005
  tiersMode
4932
5006
  tiers {
@@ -5248,6 +5322,11 @@ class AsyncClient(AsyncBaseClient):
5248
5322
  feature {
5249
5323
  ...FeatureFragment
5250
5324
  }
5325
+ creditRate {
5326
+ amount
5327
+ currencyId
5328
+ }
5329
+ validUntil
5251
5330
  }
5252
5331
 
5253
5332
  fragment FeatureFragment on EntitlementFeature {
@@ -5329,6 +5408,11 @@ class AsyncClient(AsyncBaseClient):
5329
5408
  feature {
5330
5409
  ...FeatureFragment
5331
5410
  }
5411
+ creditRate {
5412
+ amount
5413
+ currencyId
5414
+ }
5415
+ validUntil
5332
5416
  }
5333
5417
 
5334
5418
  fragment FeatureFragment on EntitlementFeature {
@@ -5407,6 +5491,11 @@ class AsyncClient(AsyncBaseClient):
5407
5491
  feature {
5408
5492
  ...FeatureFragment
5409
5493
  }
5494
+ creditRate {
5495
+ amount
5496
+ currencyId
5497
+ }
5498
+ validUntil
5410
5499
  }
5411
5500
 
5412
5501
  fragment FeatureFragment on EntitlementFeature {
@@ -5486,6 +5575,7 @@ class AsyncClient(AsyncBaseClient):
5486
5575
  sdkConfiguration {
5487
5576
  sentryDsn
5488
5577
  isWidgetWatermarkEnabled
5578
+ showWatermark
5489
5579
  }
5490
5580
  }
5491
5581
  """
@@ -5616,7 +5706,7 @@ class AsyncClient(AsyncBaseClient):
5616
5706
  }
5617
5707
  creditRate {
5618
5708
  amount
5619
- customCurrencyId
5709
+ currencyId
5620
5710
  }
5621
5711
  feature {
5622
5712
  featureUnits
@@ -5662,7 +5752,7 @@ class AsyncClient(AsyncBaseClient):
5662
5752
  }
5663
5753
  creditRate {
5664
5754
  amount
5665
- customCurrencyId
5755
+ currencyId
5666
5756
  }
5667
5757
  feature {
5668
5758
  id
@@ -6089,6 +6179,7 @@ class AsyncClient(AsyncBaseClient):
6089
6179
  creditRate {
6090
6180
  amount
6091
6181
  customCurrencyId
6182
+ currencyId
6092
6183
  }
6093
6184
  tiersMode
6094
6185
  tiers {
@@ -6529,7 +6620,7 @@ class AsyncClient(AsyncBaseClient):
6529
6620
  }
6530
6621
  creditRate {
6531
6622
  amount
6532
- customCurrencyId
6623
+ currencyId
6533
6624
  }
6534
6625
  tiersMode
6535
6626
  tiers {
@@ -6692,21 +6783,28 @@ class AsyncClient(AsyncBaseClient):
6692
6783
  }
6693
6784
  }
6694
6785
 
6786
+ fragment CreditBalanceFragment on CreditBalance {
6787
+ customerId
6788
+ currency {
6789
+ currencyId
6790
+ displayName
6791
+ symbol
6792
+ units {
6793
+ singular
6794
+ plural
6795
+ }
6796
+ }
6797
+ currentBalance
6798
+ totalConsumed
6799
+ totalGranted
6800
+ resourceId
6801
+ validUntil
6802
+ }
6803
+
6695
6804
  fragment CreditsBalanceSummaryFragment on CreditBalanceSummary {
6696
6805
  customerId
6697
6806
  balances {
6698
- currency {
6699
- currencyId
6700
- displayName
6701
- symbol
6702
- units {
6703
- singular
6704
- plural
6705
- }
6706
- }
6707
- currentBalance
6708
- totalConsumed
6709
- totalGranted
6807
+ ...CreditBalanceFragment
6710
6808
  }
6711
6809
  }
6712
6810
  """
@@ -6809,3 +6907,46 @@ class AsyncClient(AsyncBaseClient):
6809
6907
  )
6810
6908
  data = self.get_data(response)
6811
6909
  return GetCreditLedger.model_validate(data)
6910
+
6911
+ async def get_credit_usage(
6912
+ self, input: CreditUsageInput, **kwargs: Any
6913
+ ) -> GetCreditUsage:
6914
+ query = gql(
6915
+ """
6916
+ query GetCreditUsage($input: CreditUsageInput!) {
6917
+ creditUsage(input: $input) {
6918
+ ...CreditUsageFragment
6919
+ }
6920
+ }
6921
+
6922
+ fragment CreditUsageFragment on CreditUsage {
6923
+ series {
6924
+ featureId
6925
+ featureName
6926
+ totalCredits
6927
+ points {
6928
+ timestamp
6929
+ value
6930
+ }
6931
+ }
6932
+ currency {
6933
+ ...SlimCustomCurrencyFragment
6934
+ }
6935
+ }
6936
+
6937
+ fragment SlimCustomCurrencyFragment on SlimCustomCurrency {
6938
+ currencyId
6939
+ displayName
6940
+ units {
6941
+ singular
6942
+ plural
6943
+ }
6944
+ }
6945
+ """
6946
+ )
6947
+ variables: Dict[str, object] = {"input": input}
6948
+ response = await self.execute(
6949
+ query=query, operation_name="GetCreditUsage", variables=variables, **kwargs
6950
+ )
6951
+ data = self.get_data(response)
6952
+ return GetCreditUsage.model_validate(data)
@@ -4,7 +4,7 @@ import json
4
4
  from typing import IO, Any, Dict, List, Optional, Tuple, TypeVar, cast
5
5
 
6
6
  import httpx
7
- from stigg._vendors.pydantic import BaseModel
7
+ from pydantic import BaseModel
8
8
  from pydantic_core import to_jsonable_python
9
9
 
10
10
  from .base_model import UNSET, Upload
@@ -2,7 +2,7 @@
2
2
 
3
3
  from io import IOBase
4
4
 
5
- from stigg._vendors.pydantic import BaseModel as PydanticBaseModel, ConfigDict
5
+ from pydantic import BaseModel as PydanticBaseModel, ConfigDict
6
6
 
7
7
 
8
8
  class UnsetType:
@@ -1,7 +1,7 @@
1
1
  # Generated by ariadne-codegen
2
2
  # Source: operations.graphql
3
3
 
4
- from stigg._vendors.pydantic import Field
4
+ from pydantic import Field
5
5
 
6
6
  from .base_model import BaseModel
7
7
  from .fragments import SlimSubscriptionFragment
@@ -1,7 +1,7 @@
1
1
  # Generated by ariadne-codegen
2
2
  # Source: operations.graphql
3
3
 
4
- from stigg._vendors.pydantic import Field
4
+ from pydantic import Field
5
5
 
6
6
  from .base_model import BaseModel
7
7