stigg-api-client 2.492.0__tar.gz → 2.503.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 might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.492.0
3
+ Version: 2.503.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stigg-api-client"
3
- version = "2.492.0"
3
+ version = "2.503.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -126,6 +126,11 @@ class CouponType(sgqlc.types.Enum):
126
126
  __choices__ = ('FIXED', 'PERCENTAGE')
127
127
 
128
128
 
129
+ class CreditGrantType(sgqlc.types.Enum):
130
+ __schema__ = schema
131
+ __choices__ = ('PAID', 'PROMOTIONAL')
132
+
133
+
129
134
  class Currency(sgqlc.types.Enum):
130
135
  __schema__ = schema
131
136
  __choices__ = ('AED', 'ALL', 'AMD', 'ANG', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BIF', 'BMD', 'BND', 'BRL', 'BSD', 'BWP', 'BYN', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ETB', 'EUR', 'FJD', 'GBP', 'GEL', 'GIP', 'GMD', 'GNF', 'GYD', 'HKD', 'HRK', 'HTG', 'IDR', 'ILS', 'INR', 'ISK', 'JMD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KRW', 'KYD', 'KZT', 'LBP', 'LKR', 'LRD', 'LSL', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NOK', 'NPR', 'NZD', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SEK', 'SGD', 'SLE', 'SLL', 'SOS', 'SZL', 'THB', 'TJS', 'TOP', 'TRY', 'TTD', 'TZS', 'UAH', 'UGX', 'USD', 'UZS', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW')
@@ -200,7 +205,7 @@ class EnvironmentType(sgqlc.types.Enum):
200
205
 
201
206
  class ErrorCode(sgqlc.types.Enum):
202
207
  __schema__ = schema
203
- __choices__ = ('AccessDeniedError', 'AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonIsCompatibleWithGroup', 'AddonIsCompatibleWithPlan', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AddonsNotFound', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AuthCustomerReadonly', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationAlreadyExistsError', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CanNotUpdateEntitlementsFeatureGroup', 'CannotAddOverrideEntitlementToPlan', 'CannotArchiveFeatureError', 'CannotArchiveFeatureGroupError', 'CannotChangeBillingIntegration', 'CannotDeleteCustomerError', 'CannotDeleteDefaultIntegration', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpdateUnitTransformationError', 'CannotUpsertToPackageThatHasDraft', 'ChangingPayingCustomerIsNotSupportedError', 'CheckoutIsNotSupported', 'CouponNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DeprecatedEstimateSubscriptionError', 'DowngradeBillingPeriodNotSupportedError', 'DraftAddonCantBeArchived', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', 'DuplicateIntegrationNotAllowed', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementBelongsToFeatureGroupError', 'EntitlementLimitExceededError', 'EntitlementUsageOutOfRangeError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FailedToImportSubscriptions', 'FailedToResolveBillingIntegration', 'FeatureConfigurationExceededLimitError', 'FeatureGroupMissingFeaturesError', 'FeatureGroupNotFoundError', 'FeatureNotBelongToFeatureGroupError', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'FreePlanCantHaveCompatiblePackageGroupError', 'GraphQLAliasesLimitExceeded', 'GraphQLBatchedOperationsLimitExceeded', 'GraphQLUnsupportedDirective', 'HubspotIntegrationError', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'IncompatibleSubscriptionAddon', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidDoggoSignatureError', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'MissingSubscriptionInvoiceError', 'MultiSubscriptionCantBeAutoCancellationSourceError', 'NoFeatureEntitlementError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackageGroupMinItemsError', 'PackageGroupNotFound', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PreparePaymentMethodFormError', 'PriceNotFound', 'ProductNotFoundError', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'RequiredSsoAuthenticationError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'SingleSubscriptionCantBeAutoCancellationTargetError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionDoesNotHaveBillingPeriod', 'SubscriptionInvoiceStatusError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNoBillingId', 'SubscriptionNotFound', 'TooManySubscriptionsPerCustomer', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedParameter', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError', 'VersionExceedsMaxValueError', 'WorkflowTriggerNotFound')
208
+ __choices__ = ('AccessDeniedError', 'AccountNotFoundError', 'AddonDependencyMissingError', 'AddonHasToHavePriceError', 'AddonIsCompatibleWithGroup', 'AddonIsCompatibleWithPlan', 'AddonNotFound', 'AddonQuantityExceedsLimitError', 'AddonWithDraftCannotBeDeletedError', 'AddonsNotFound', 'AmountTooLarge', 'ArchivedCouponCantBeApplied', 'AuthCustomerMismatch', 'AuthCustomerReadonly', 'AwsMarketplaceIntegrationError', 'AwsMarketplaceIntegrationValidationError', 'BadUserInput', 'BillingIntegrationAlreadyExistsError', 'BillingIntegrationMissing', 'BillingPeriodMissingError', 'CanNotUpdateEntitlementsFeatureGroup', 'CannotAddOverrideEntitlementToPlan', 'CannotArchiveFeatureError', 'CannotArchiveFeatureGroupError', 'CannotChangeBillingIntegration', 'CannotDeleteCustomerError', 'CannotDeleteDefaultIntegration', 'CannotDeleteFeatureError', 'CannotDeleteProductError', 'CannotEditPackageInNonDraftMode', 'CannotRemovePaymentMethodFromCustomerError', 'CannotReportUsageForEntitlementWithMeterError', 'CannotUpdateExpireAtForExpiredCreditGrantError', 'CannotUpdateUnitTransformationError', 'CannotUpsertToPackageThatHasDraft', 'ChangingPayingCustomerIsNotSupportedError', 'CheckoutIsNotSupported', 'CouponNotFound', 'CreditGrantNotFound', 'CustomCurrencyNotFound', 'CustomerAlreadyHaveCustomerCoupon', 'CustomerAlreadyUsesCoupon', 'CustomerHasNoEmailAddress', 'CustomerNoBillingId', 'CustomerNotFound', 'CustomerResourceNotFound', 'DeprecatedEstimateSubscriptionError', 'DowngradeBillingPeriodNotSupportedError', 'DraftAddonCantBeArchived', 'DraftPlanCantBeArchived', 'DuplicateAddonProvisionedError', 'DuplicateIntegrationNotAllowed', 'DuplicateProductValidationError', 'DuplicatedEntityNotAllowed', 'EditAllowedOnDraftPackageOnlyError', 'EntitlementBelongsToFeatureGroupError', 'EntitlementLimitExceededError', 'EntitlementUsageOutOfRangeError', 'EntitlementsMustBelongToSamePackage', 'EntityIdDifferentFromRefIdError', 'EntityIsArchivedError', 'EnvironmentMissing', 'ExperimentAlreadyRunning', 'ExperimentNotFoundError', 'ExperimentStatusError', 'ExpireAtMustBeLaterThanEffectiveAtError', 'FailedToCreateCheckoutSessionError', 'FailedToImportCustomer', 'FailedToImportSubscriptions', 'FailedToResolveBillingIntegration', 'FeatureConfigurationExceededLimitError', 'FeatureGroupMissingFeaturesError', 'FeatureGroupNotFoundError', 'FeatureNotBelongToFeatureGroupError', 'FeatureNotFound', 'FetchAllCountriesPricesNotAllowed', 'FreePlanCantHaveCompatiblePackageGroupError', 'GraphQLAliasesLimitExceeded', 'GraphQLBatchedOperationsLimitExceeded', 'GraphQLUnsupportedDirective', 'HubspotIntegrationError', 'IdentityForbidden', 'ImportAlreadyInProgress', 'ImportSubscriptionsBulkError', 'IncompatibleSubscriptionAddon', 'InitStripePaymentMethodError', 'IntegrationNotFound', 'IntegrationValidationError', 'IntegrityViolation', 'InvalidAddressError', 'InvalidArgumentError', 'InvalidCancellationDate', 'InvalidDoggoSignatureError', 'InvalidEntitlementResetPeriod', 'InvalidMemberDelete', 'InvalidMetadataError', 'InvalidQuantity', 'InvalidSubscriptionStatus', 'InvalidUpdatePriceUnitAmountError', 'MemberInvitationError', 'MemberNotFound', 'MergeEnvironmentValidationError', 'MeterMustBeAssociatedToMeteredFeature', 'MeteringNotAvailableForFeatureType', 'MissingEntityIdError', 'MissingSubscriptionInvoiceError', 'MultiSubscriptionCantBeAutoCancellationSourceError', 'NoFeatureEntitlementError', 'NoFeatureEntitlementInSubscription', 'NoProductsAvailable', 'OperationNotAllowedDuringInProgressExperiment', 'PackageAlreadyPublished', 'PackageGroupMinItemsError', 'PackageGroupNotFound', 'PackagePricingTypeNotSet', 'PaymentMethodNotFoundError', 'PlanCannotBePublishWhenBasePlanIsDraft', 'PlanCannotBePublishWhenCompatibleAddonIsDraft', 'PlanIsUsedAsDefaultStartPlan', 'PlanIsUsedAsDowngradePlan', 'PlanNotFound', 'PlanWithChildCantBeDeleted', 'PlansCircularDependencyError', 'PreparePaymentMethodFormError', 'PriceNotFound', 'ProductNotFoundError', 'PromotionCodeCustomerNotFirstPurchase', 'PromotionCodeMaxRedemptionsReached', 'PromotionCodeMinimumAmountNotReached', 'PromotionCodeNotActive', 'PromotionCodeNotForCustomer', 'PromotionCodeNotFound', 'PromotionalEntitlementNotFoundError', 'RateLimitExceeded', 'RecalculateEntitlementsError', 'RequiredSsoAuthenticationError', 'ResyncAlreadyInProgress', 'ScheduledMigrationAlreadyExistsError', 'SelectedBillingModelDoesntMatchImportedItemError', 'SingleSubscriptionCantBeAutoCancellationTargetError', 'StripeCustomerIsDeleted', 'StripeError', 'SubscriptionAlreadyCanceledOrExpired', 'SubscriptionAlreadyOnLatestPlanError', 'SubscriptionDoesNotHaveBillingPeriod', 'SubscriptionInvoiceStatusError', 'SubscriptionMustHaveSinglePlanError', 'SubscriptionNoBillingId', 'SubscriptionNotFound', 'TooManyCustomCurrencies', 'TooManySubscriptionsPerCustomer', 'TrialMustBeCancelledImmediately', 'UnPublishedPackage', 'Unauthenticated', 'UnexpectedError', 'UnsupportedFeatureType', 'UnsupportedParameter', 'UnsupportedSubscriptionScheduleType', 'UnsupportedVendorIdentifier', 'UsageMeasurementDiffOutOfRangeError', 'VersionExceedsMaxValueError', 'WorkflowTriggerNotFound')
204
209
 
205
210
 
206
211
  class EventActor(sgqlc.types.Enum):
@@ -220,7 +225,7 @@ class EventLogSortFields(sgqlc.types.Enum):
220
225
 
221
226
  class EventLogType(sgqlc.types.Enum):
222
227
  __schema__ = schema
223
- __choices__ = ('ADDON_CREATED', 'ADDON_DELETED', 'ADDON_UPDATED', 'COUPON_ARCHIVED', 'COUPON_CREATED', 'COUPON_UPDATED', 'CREATE_SUBSCRIPTION_FAILED', 'CUSTOMER_CREATED', 'CUSTOMER_DELETED', 'CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_PAYMENT_FAILED', 'CUSTOMER_RESOURCE_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_UPDATED', 'EDGE_API_CUSTOMER_DATA_RESYNC', 'EDGE_API_DATA_RESYNC', 'EDGE_API_DOGGO_RESYNC', 'EDGE_API_PACKAGE_ENTITLEMENTS_DATA_RESYNC', 'EDGE_API_SUBSCRIPTIONS_DATA_RESYNC', 'ENTITLEMENTS_UPDATED', 'ENTITLEMENT_DENIED', 'ENTITLEMENT_GRANTED', 'ENTITLEMENT_REQUESTED', 'ENTITLEMENT_USAGE_EXCEEDED', 'ENVIRONMENT_DELETED', 'FEATURE_ARCHIVED', 'FEATURE_CREATED', 'FEATURE_DELETED', 'FEATURE_UPDATED', 'IMPORT_INTEGRATION_CATALOG_TRIGGERED', 'IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED', 'IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED', 'MEASUREMENT_REPORTED', 'PACKAGE_GROUP_CREATED', 'PACKAGE_GROUP_UPDATED', 'PACKAGE_PUBLISHED', 'PLAN_CREATED', 'PLAN_DELETED', 'PLAN_UPDATED', 'PRODUCT_CREATED', 'PRODUCT_DELETED', 'PRODUCT_UPDATED', 'PROMOTIONAL_ENTITLEMENT_EXPIRED', 'PROMOTIONAL_ENTITLEMENT_GRANTED', 'PROMOTIONAL_ENTITLEMENT_REVOKED', 'PROMOTIONAL_ENTITLEMENT_UPDATED', 'RECALCULATE_ENTITLEMENTS_TRIGGERED', 'RESYNC_INTEGRATION_TRIGGERED', 'SUBSCRIPTIONS_MIGRATED', 'SUBSCRIPTIONS_MIGRATION_TRIGGERED', 'SUBSCRIPTION_BILLING_MONTH_ENDS_SOON', 'SUBSCRIPTION_CANCELED', 'SUBSCRIPTION_CREATED', 'SUBSCRIPTION_EXPIRED', 'SUBSCRIPTION_SPENT_LIMIT_EXCEEDED', 'SUBSCRIPTION_TRIAL_CONVERTED', 'SUBSCRIPTION_TRIAL_ENDS_SOON', 'SUBSCRIPTION_TRIAL_EXPIRED', 'SUBSCRIPTION_TRIAL_STARTED', 'SUBSCRIPTION_UPDATED', 'SUBSCRIPTION_USAGE_CHARGE_TRIGGERED', 'SUBSCRIPTION_USAGE_UPDATED', 'SYNC_FAILED', 'WIDGET_CONFIGURATION_UPDATED')
228
+ __choices__ = ('ADDON_CREATED', 'ADDON_DELETED', 'ADDON_UPDATED', 'COUPON_ARCHIVED', 'COUPON_CREATED', 'COUPON_UPDATED', 'CREATE_SUBSCRIPTION_FAILED', 'CREDITS_EXPIRED', 'CREDITS_GRANTED', 'CUSTOMER_CREATED', 'CUSTOMER_DELETED', 'CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_PAYMENT_FAILED', 'CUSTOMER_RESOURCE_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_UPDATED', 'EDGE_API_CUSTOMER_DATA_RESYNC', 'EDGE_API_DATA_RESYNC', 'EDGE_API_DOGGO_RESYNC', 'EDGE_API_PACKAGE_ENTITLEMENTS_DATA_RESYNC', 'EDGE_API_SUBSCRIPTIONS_DATA_RESYNC', 'ENTITLEMENTS_UPDATED', 'ENTITLEMENT_DENIED', 'ENTITLEMENT_GRANTED', 'ENTITLEMENT_REQUESTED', 'ENTITLEMENT_USAGE_EXCEEDED', 'ENVIRONMENT_DELETED', 'FEATURE_ARCHIVED', 'FEATURE_CREATED', 'FEATURE_DELETED', 'FEATURE_UPDATED', 'IMPORT_INTEGRATION_CATALOG_TRIGGERED', 'IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED', 'IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED', 'MEASUREMENT_REPORTED', 'PACKAGE_GROUP_CREATED', 'PACKAGE_GROUP_UPDATED', 'PACKAGE_PUBLISHED', 'PLAN_CREATED', 'PLAN_DELETED', 'PLAN_UPDATED', 'PRODUCT_CREATED', 'PRODUCT_DELETED', 'PRODUCT_UPDATED', 'PROMOTIONAL_ENTITLEMENT_EXPIRED', 'PROMOTIONAL_ENTITLEMENT_GRANTED', 'PROMOTIONAL_ENTITLEMENT_REVOKED', 'PROMOTIONAL_ENTITLEMENT_UPDATED', 'RECALCULATE_ENTITLEMENTS_TRIGGERED', 'RESYNC_INTEGRATION_TRIGGERED', 'SUBSCRIPTIONS_MIGRATED', 'SUBSCRIPTIONS_MIGRATION_TRIGGERED', 'SUBSCRIPTION_BILLING_MONTH_ENDS_SOON', 'SUBSCRIPTION_CANCELED', 'SUBSCRIPTION_CREATED', 'SUBSCRIPTION_EXPIRED', 'SUBSCRIPTION_SPENT_LIMIT_EXCEEDED', 'SUBSCRIPTION_TRIAL_CONVERTED', 'SUBSCRIPTION_TRIAL_ENDS_SOON', 'SUBSCRIPTION_TRIAL_EXPIRED', 'SUBSCRIPTION_TRIAL_STARTED', 'SUBSCRIPTION_UPDATED', 'SUBSCRIPTION_USAGE_CHARGE_TRIGGERED', 'SUBSCRIPTION_USAGE_UPDATED', 'SYNC_FAILED', 'WIDGET_CONFIGURATION_UPDATED')
224
229
 
225
230
 
226
231
  class ExperimentSortFields(sgqlc.types.Enum):
@@ -1298,6 +1303,24 @@ class CreateWorkflowTriggerInput(sgqlc.types.Input):
1298
1303
  trigger_id = sgqlc.types.Field(String, graphql_name='triggerId')
1299
1304
 
1300
1305
 
1306
+ class CreditGrantInput(sgqlc.types.Input):
1307
+ __schema__ = schema
1308
+ __field_names__ = ('additional_meta_data', 'amount', 'comment', 'cost', 'currency_id', 'customer_id', 'display_name', 'effective_at', 'environment_id', 'expire_at', 'grant_type', 'priority', 'resource_id')
1309
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
1310
+ amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='amount')
1311
+ comment = sgqlc.types.Field(String, graphql_name='comment')
1312
+ cost = sgqlc.types.Field('MoneyInputDTO', graphql_name='cost')
1313
+ currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
1314
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
1315
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
1316
+ effective_at = sgqlc.types.Field(DateTime, graphql_name='effectiveAt')
1317
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
1318
+ expire_at = sgqlc.types.Field(DateTime, graphql_name='expireAt')
1319
+ grant_type = sgqlc.types.Field(sgqlc.types.non_null(CreditGrantType), graphql_name='grantType')
1320
+ priority = sgqlc.types.Field(Float, graphql_name='priority')
1321
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
1322
+
1323
+
1301
1324
  class CursorPaging(sgqlc.types.Input):
1302
1325
  __schema__ = schema
1303
1326
  __field_names__ = ('after', 'before', 'first', 'last')
@@ -1307,6 +1330,16 @@ class CursorPaging(sgqlc.types.Input):
1307
1330
  last = sgqlc.types.Field(Int, graphql_name='last')
1308
1331
 
1309
1332
 
1333
+ class CustomCurrencyInput(sgqlc.types.Input):
1334
+ __schema__ = schema
1335
+ __field_names__ = ('additional_meta_data', 'currency_id', 'display_name', 'environment_id', 'symbol')
1336
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
1337
+ currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
1338
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
1339
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
1340
+ symbol = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='symbol')
1341
+
1342
+
1310
1343
  class CustomerBillingInfo(sgqlc.types.Input):
1311
1344
  __schema__ = schema
1312
1345
  __field_names__ = ('billing_address', 'currency', 'customer_name', 'integration_id', 'invoice_custom_fields', 'language', 'metadata', 'payment_method_id', 'shipping_address', 'tax_ids', 'timezone')
@@ -2259,6 +2292,15 @@ class GetAuth0ApplicationsInput(sgqlc.types.Input):
2259
2292
  environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
2260
2293
 
2261
2294
 
2295
+ class GetCreditGrantsInput(sgqlc.types.Input):
2296
+ __schema__ = schema
2297
+ __field_names__ = ('currency_id', 'customer_id', 'environment_id', 'resource_id')
2298
+ currency_id = sgqlc.types.Field(String, graphql_name='currencyId')
2299
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2300
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
2301
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
2302
+
2303
+
2262
2304
  class GetCustomerByRefIdInput(sgqlc.types.Input):
2263
2305
  __schema__ = schema
2264
2306
  __field_names__ = ('customer_id', 'environment_id')
@@ -4456,6 +4498,29 @@ class UpdateCouponInput(sgqlc.types.Input):
4456
4498
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4457
4499
 
4458
4500
 
4501
+ class UpdateCreditGrantInput(sgqlc.types.Input):
4502
+ __schema__ = schema
4503
+ __field_names__ = ('additional_meta_data', 'comment', 'display_name', 'effective_at', 'environment_id', 'expire_at', 'id', 'priority')
4504
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4505
+ comment = sgqlc.types.Field(String, graphql_name='comment')
4506
+ display_name = sgqlc.types.Field(String, graphql_name='displayName')
4507
+ effective_at = sgqlc.types.Field(DateTime, graphql_name='effectiveAt')
4508
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
4509
+ expire_at = sgqlc.types.Field(DateTime, graphql_name='expireAt')
4510
+ id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='id')
4511
+ priority = sgqlc.types.Field(Float, graphql_name='priority')
4512
+
4513
+
4514
+ class UpdateCustomCurrencyInput(sgqlc.types.Input):
4515
+ __schema__ = schema
4516
+ __field_names__ = ('additional_meta_data', 'currency_id', 'display_name', 'environment_id', 'symbol')
4517
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4518
+ currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
4519
+ display_name = sgqlc.types.Field(String, graphql_name='displayName')
4520
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
4521
+ symbol = sgqlc.types.Field(String, graphql_name='symbol')
4522
+
4523
+
4459
4524
  class UpdateCustomerInput(sgqlc.types.Input):
4460
4525
  __schema__ = schema
4461
4526
  __field_names__ = ('additional_meta_data', 'aws_marketplace_customer_id', 'billing_id', 'billing_information', 'coupon_ref_id', 'crm_id', 'customer_id', 'email', 'environment_id', 'name', 'ref_id', 'salesforce_id', 'should_wait_sync')
@@ -5395,6 +5460,39 @@ class CouponMinAggregate(sgqlc.types.Type):
5395
5460
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
5396
5461
 
5397
5462
 
5463
+ class CreditGrant(sgqlc.types.Type):
5464
+ __schema__ = schema
5465
+ __field_names__ = ('additional_meta_data', 'amount', 'comment', 'cost', 'created_at', 'currency_id', 'current_amount', 'customer_id', 'display_name', 'effective_at', 'expire_at', 'grant_type', 'id', 'priority', 'resource_id', 'updated_at')
5466
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5467
+ amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='amount')
5468
+ comment = sgqlc.types.Field(String, graphql_name='comment')
5469
+ cost = sgqlc.types.Field(sgqlc.types.non_null('Money'), graphql_name='cost')
5470
+ created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
5471
+ currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
5472
+ current_amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='currentAmount')
5473
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
5474
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
5475
+ effective_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='effectiveAt')
5476
+ expire_at = sgqlc.types.Field(DateTime, graphql_name='expireAt')
5477
+ grant_type = sgqlc.types.Field(sgqlc.types.non_null(CreditGrantType), graphql_name='grantType')
5478
+ id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='id')
5479
+ priority = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='priority')
5480
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
5481
+ updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
5482
+
5483
+
5484
+ class CustomCurrency(sgqlc.types.Type):
5485
+ __schema__ = schema
5486
+ __field_names__ = ('additional_meta_data', 'created_at', 'currency_id', 'display_name', 'id', 'symbol', 'updated_at')
5487
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5488
+ created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
5489
+ currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
5490
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
5491
+ id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='id')
5492
+ symbol = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='symbol')
5493
+ updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
5494
+
5495
+
5398
5496
  class Customer(sgqlc.types.Type):
5399
5497
  __schema__ = schema
5400
5498
  __field_names__ = ('additional_meta_data', 'aws_marketplace_customer_id', 'billing_currency', 'billing_id', 'billing_link_url', 'coupon', 'created_at', 'crm_hubspot_company_id', 'crm_hubspot_company_url', 'crm_id', 'customer_id', 'default_payment_expiration_month', 'default_payment_expiration_year', 'default_payment_method_id', 'default_payment_method_last4_digits', 'default_payment_method_type', 'deleted_at', 'eligible_for_trial', 'email', 'environment', 'environment_id', 'exclude_from_experiment', 'experiment', 'experiment_info', 'has_active_resource', 'has_active_subscription', 'has_payment_method', 'id', 'name', 'promotional_entitlements', 'ref_id', 'salesforce_id', 'statistics', 'subscriptions', 'sync_states', 'total_active_promotional_entitlements', 'total_active_subscription', 'trialed_plans', 'updated_at')
@@ -7219,7 +7317,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
7219
7317
 
7220
7318
  class Mutation(sgqlc.types.Type):
7221
7319
  __schema__ = schema
7222
- __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_feature_group', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', 'create_account', 'create_addon_draft', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_feature_group', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'create_workflow_trigger', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'delete_workflow_trigger', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'mark_invoice_as_paid', 'merge_environment', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', 'preview_subscription', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_feature_group_from_package', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'set_access_roles', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'subscription_maximum_spend', 'sync_tax_rates', 'transfer_subscription', 'transfer_subscription_to_resource', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_rbacsync', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'trigger_workflow', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_feature_group', 'unarchive_plan', 'unlink_feature_group_from_package', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user', 'workflows_login')
7320
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_feature_group', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', 'create_account', 'create_addon_draft', 'create_credit_grant', 'create_custom_currency', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_feature_group', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'create_workflow_trigger', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'delete_workflow_trigger', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'mark_invoice_as_paid', 'merge_environment', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', 'preview_subscription', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_feature_group_from_package', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'set_access_roles', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'subscription_maximum_spend', 'sync_tax_rates', 'transfer_subscription', 'transfer_subscription_to_resource', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_rbacsync', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'trigger_workflow', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_feature_group', 'unarchive_plan', 'unlink_feature_group_from_package', 'update_account', 'update_credit_grant', 'update_custom_currency', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user', 'workflows_login')
7223
7321
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
7224
7322
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
7225
7323
  ))
@@ -7282,6 +7380,14 @@ class Mutation(sgqlc.types.Type):
7282
7380
  )
7283
7381
  create_addon_draft = sgqlc.types.Field(sgqlc.types.non_null(Addon), graphql_name='createAddonDraft', args=sgqlc.types.ArgDict((
7284
7382
  ('id', sgqlc.types.Arg(sgqlc.types.non_null(UUID), graphql_name='id', default=None)),
7383
+ ))
7384
+ )
7385
+ create_credit_grant = sgqlc.types.Field(sgqlc.types.non_null(CreditGrant), graphql_name='createCreditGrant', args=sgqlc.types.ArgDict((
7386
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreditGrantInput), graphql_name='input', default=None)),
7387
+ ))
7388
+ )
7389
+ create_custom_currency = sgqlc.types.Field(sgqlc.types.non_null(CustomCurrency), graphql_name='createCustomCurrency', args=sgqlc.types.ArgDict((
7390
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(CustomCurrencyInput), graphql_name='input', default=None)),
7285
7391
  ))
7286
7392
  )
7287
7393
  create_empty_addon_draft = sgqlc.types.Field(sgqlc.types.non_null(Addon), graphql_name='createEmptyAddonDraft', args=sgqlc.types.ArgDict((
@@ -7693,6 +7799,14 @@ class Mutation(sgqlc.types.Type):
7693
7799
  )
7694
7800
  update_account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='updateAccount', args=sgqlc.types.ArgDict((
7695
7801
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(UpdateAccountInput), graphql_name='input', default=None)),
7802
+ ))
7803
+ )
7804
+ update_credit_grant = sgqlc.types.Field(sgqlc.types.non_null(CreditGrant), graphql_name='updateCreditGrant', args=sgqlc.types.ArgDict((
7805
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(UpdateCreditGrantInput), graphql_name='input', default=None)),
7806
+ ))
7807
+ )
7808
+ update_custom_currency = sgqlc.types.Field(sgqlc.types.non_null(CustomCurrency), graphql_name='updateCustomCurrency', args=sgqlc.types.ArgDict((
7809
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(UpdateCustomCurrencyInput), graphql_name='input', default=None)),
7696
7810
  ))
7697
7811
  )
7698
7812
  update_entitlements_order = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('UpdateEntitlementsOrderDTO'))), graphql_name='updateEntitlementsOrder', args=sgqlc.types.ArgDict((
@@ -8971,7 +9085,7 @@ class PublishPackageResult(sgqlc.types.Type):
8971
9085
 
8972
9086
  class Query(sgqlc.types.Type):
8973
9087
  __schema__ = schema
8974
- __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'current_environment', 'current_user', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'feature_group', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
9088
+ __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_grants', 'current_environment', 'current_user', 'custom_currencies', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'feature_group', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
8975
9089
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
8976
9090
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
8977
9091
  ))
@@ -9002,10 +9116,18 @@ class Query(sgqlc.types.Type):
9002
9116
  ('filter', sgqlc.types.Arg(CouponFilter, graphql_name='filter', default={})),
9003
9117
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
9004
9118
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(CouponSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
9119
+ ))
9120
+ )
9121
+ credit_grants = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(CreditGrant))), graphql_name='creditGrants', args=sgqlc.types.ArgDict((
9122
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetCreditGrantsInput), graphql_name='input', default=None)),
9005
9123
  ))
9006
9124
  )
9007
9125
  current_environment = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currentEnvironment')
9008
9126
  current_user = sgqlc.types.Field(sgqlc.types.non_null('User'), graphql_name='currentUser')
9127
+ custom_currencies = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(CustomCurrency))), graphql_name='customCurrencies', args=sgqlc.types.ArgDict((
9128
+ ('environment_id', sgqlc.types.Arg(String, graphql_name='environmentId', default=None)),
9129
+ ))
9130
+ )
9009
9131
  customer_portal = sgqlc.types.Field(sgqlc.types.non_null(CustomerPortal), graphql_name='customerPortal', args=sgqlc.types.ArgDict((
9010
9132
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(CustomerPortalInput), graphql_name='input', default=None)),
9011
9133
  ))