// Code generated by introspect; EDIT WITH CAUTION.

package schema

type WebhookSubscription struct {
	ApiVersion          ApiVersion                `json:"apiVersion"`
	CreatedAt           string                    `json:"createdAt"`
	Endpoint            any                       `json:"endpoint"`
	Filter              *string                   `json:"filter,omitempty"`
	Format              WebhookSubscriptionFormat `json:"format"`
	ID                  string                    `json:"id"`
	IncludeFields       []any                     `json:"includeFields"`
	LegacyResourceID    string                    `json:"legacyResourceId"`
	MetafieldNamespaces []any                     `json:"metafieldNamespaces"`
	Topic               WebhookSubscriptionTopic  `json:"topic"`
	UpdatedAt           string                    `json:"updatedAt"`
}

type WebhookSubscriptionTopic string

const (
	WebhookSubscriptionTopicAppUninstalled                                      WebhookSubscriptionTopic = "APP_UNINSTALLED"
	WebhookSubscriptionTopicAppScopesUpdate                                     WebhookSubscriptionTopic = "APP_SCOPES_UPDATE"
	WebhookSubscriptionTopicCartsCreate                                         WebhookSubscriptionTopic = "CARTS_CREATE"
	WebhookSubscriptionTopicCartsUpdate                                         WebhookSubscriptionTopic = "CARTS_UPDATE"
	WebhookSubscriptionTopicChannelsDelete                                      WebhookSubscriptionTopic = "CHANNELS_DELETE"
	WebhookSubscriptionTopicCheckoutsCreate                                     WebhookSubscriptionTopic = "CHECKOUTS_CREATE"
	WebhookSubscriptionTopicCheckoutsDelete                                     WebhookSubscriptionTopic = "CHECKOUTS_DELETE"
	WebhookSubscriptionTopicCheckoutsUpdate                                     WebhookSubscriptionTopic = "CHECKOUTS_UPDATE"
	WebhookSubscriptionTopicCustomerPaymentMethodsCreate                        WebhookSubscriptionTopic = "CUSTOMER_PAYMENT_METHODS_CREATE"
	WebhookSubscriptionTopicCustomerPaymentMethodsUpdate                        WebhookSubscriptionTopic = "CUSTOMER_PAYMENT_METHODS_UPDATE"
	WebhookSubscriptionTopicCustomerPaymentMethodsRevoke                        WebhookSubscriptionTopic = "CUSTOMER_PAYMENT_METHODS_REVOKE"
	WebhookSubscriptionTopicCollectionListingsAdd                               WebhookSubscriptionTopic = "COLLECTION_LISTINGS_ADD"
	WebhookSubscriptionTopicCollectionListingsRemove                            WebhookSubscriptionTopic = "COLLECTION_LISTINGS_REMOVE"
	WebhookSubscriptionTopicCollectionListingsUpdate                            WebhookSubscriptionTopic = "COLLECTION_LISTINGS_UPDATE"
	WebhookSubscriptionTopicCollectionPublicationsCreate                        WebhookSubscriptionTopic = "COLLECTION_PUBLICATIONS_CREATE"
	WebhookSubscriptionTopicCollectionPublicationsDelete                        WebhookSubscriptionTopic = "COLLECTION_PUBLICATIONS_DELETE"
	WebhookSubscriptionTopicCollectionPublicationsUpdate                        WebhookSubscriptionTopic = "COLLECTION_PUBLICATIONS_UPDATE"
	WebhookSubscriptionTopicCollectionsCreate                                   WebhookSubscriptionTopic = "COLLECTIONS_CREATE"
	WebhookSubscriptionTopicCollectionsDelete                                   WebhookSubscriptionTopic = "COLLECTIONS_DELETE"
	WebhookSubscriptionTopicCollectionsUpdate                                   WebhookSubscriptionTopic = "COLLECTIONS_UPDATE"
	WebhookSubscriptionTopicCustomerGroupsCreate                                WebhookSubscriptionTopic = "CUSTOMER_GROUPS_CREATE"
	WebhookSubscriptionTopicCustomerGroupsDelete                                WebhookSubscriptionTopic = "CUSTOMER_GROUPS_DELETE"
	WebhookSubscriptionTopicCustomerGroupsUpdate                                WebhookSubscriptionTopic = "CUSTOMER_GROUPS_UPDATE"
	WebhookSubscriptionTopicCustomersCreate                                     WebhookSubscriptionTopic = "CUSTOMERS_CREATE"
	WebhookSubscriptionTopicCustomersDelete                                     WebhookSubscriptionTopic = "CUSTOMERS_DELETE"
	WebhookSubscriptionTopicCustomersDisable                                    WebhookSubscriptionTopic = "CUSTOMERS_DISABLE"
	WebhookSubscriptionTopicCustomersEnable                                     WebhookSubscriptionTopic = "CUSTOMERS_ENABLE"
	WebhookSubscriptionTopicCustomersUpdate                                     WebhookSubscriptionTopic = "CUSTOMERS_UPDATE"
	WebhookSubscriptionTopicCustomersMarketingConsentUpdate                     WebhookSubscriptionTopic = "CUSTOMERS_MARKETING_CONSENT_UPDATE"
	WebhookSubscriptionTopicCustomerTagsAdded                                   WebhookSubscriptionTopic = "CUSTOMER_TAGS_ADDED"
	WebhookSubscriptionTopicCustomerTagsRemoved                                 WebhookSubscriptionTopic = "CUSTOMER_TAGS_REMOVED"
	WebhookSubscriptionTopicCustomersEmailMarketingConsentUpdate                WebhookSubscriptionTopic = "CUSTOMERS_EMAIL_MARKETING_CONSENT_UPDATE"
	WebhookSubscriptionTopicDisputesCreate                                      WebhookSubscriptionTopic = "DISPUTES_CREATE"
	WebhookSubscriptionTopicDisputesUpdate                                      WebhookSubscriptionTopic = "DISPUTES_UPDATE"
	WebhookSubscriptionTopicDraftOrdersCreate                                   WebhookSubscriptionTopic = "DRAFT_ORDERS_CREATE"
	WebhookSubscriptionTopicDraftOrdersDelete                                   WebhookSubscriptionTopic = "DRAFT_ORDERS_DELETE"
	WebhookSubscriptionTopicDraftOrdersUpdate                                   WebhookSubscriptionTopic = "DRAFT_ORDERS_UPDATE"
	WebhookSubscriptionTopicFulfillmentEventsCreate                             WebhookSubscriptionTopic = "FULFILLMENT_EVENTS_CREATE"
	WebhookSubscriptionTopicFulfillmentEventsDelete                             WebhookSubscriptionTopic = "FULFILLMENT_EVENTS_DELETE"
	WebhookSubscriptionTopicFulfillmentsCreate                                  WebhookSubscriptionTopic = "FULFILLMENTS_CREATE"
	WebhookSubscriptionTopicFulfillmentsUpdate                                  WebhookSubscriptionTopic = "FULFILLMENTS_UPDATE"
	WebhookSubscriptionTopicAttributedSessionsFirst                             WebhookSubscriptionTopic = "ATTRIBUTED_SESSIONS_FIRST"
	WebhookSubscriptionTopicAttributedSessionsLast                              WebhookSubscriptionTopic = "ATTRIBUTED_SESSIONS_LAST"
	WebhookSubscriptionTopicOrderTransactionsCreate                             WebhookSubscriptionTopic = "ORDER_TRANSACTIONS_CREATE"
	WebhookSubscriptionTopicOrdersCancelled                                     WebhookSubscriptionTopic = "ORDERS_CANCELLED"
	WebhookSubscriptionTopicOrdersCreate                                        WebhookSubscriptionTopic = "ORDERS_CREATE"
	WebhookSubscriptionTopicOrdersDelete                                        WebhookSubscriptionTopic = "ORDERS_DELETE"
	WebhookSubscriptionTopicOrdersEdited                                        WebhookSubscriptionTopic = "ORDERS_EDITED"
	WebhookSubscriptionTopicOrdersFulfilled                                     WebhookSubscriptionTopic = "ORDERS_FULFILLED"
	WebhookSubscriptionTopicOrdersPaID                                          WebhookSubscriptionTopic = "ORDERS_PAID"
	WebhookSubscriptionTopicOrdersPartiallyFulfilled                            WebhookSubscriptionTopic = "ORDERS_PARTIALLY_FULFILLED"
	WebhookSubscriptionTopicOrdersUpdated                                       WebhookSubscriptionTopic = "ORDERS_UPDATED"
	WebhookSubscriptionTopicFulfillmentOrdersMoved                              WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_MOVED"
	WebhookSubscriptionTopicFulfillmentOrdersHoldReleased                       WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_HOLD_RELEASED"
	WebhookSubscriptionTopicFulfillmentOrdersScheduledFulfillmentOrderReady     WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_SCHEDULED_FULFILLMENT_ORDER_READY"
	WebhookSubscriptionTopicFulfillmentOrdersOrderRoutingComplete               WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_ORDER_ROUTING_COMPLETE"
	WebhookSubscriptionTopicFulfillmentOrdersCancelled                          WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_CANCELLED"
	WebhookSubscriptionTopicFulfillmentOrdersFulfillmentServiceFailedToComplete WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_FULFILLMENT_SERVICE_FAILED_TO_COMPLETE"
	WebhookSubscriptionTopicFulfillmentOrdersFulfillmentRequestRejected         WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_FULFILLMENT_REQUEST_REJECTED"
	WebhookSubscriptionTopicFulfillmentOrdersCancellationRequestSubmitted       WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_CANCELLATION_REQUEST_SUBMITTED"
	WebhookSubscriptionTopicFulfillmentOrdersCancellationRequestAccepted        WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_CANCELLATION_REQUEST_ACCEPTED"
	WebhookSubscriptionTopicFulfillmentOrdersCancellationRequestRejected        WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_CANCELLATION_REQUEST_REJECTED"
	WebhookSubscriptionTopicFulfillmentOrdersFulfillmentRequestSubmitted        WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_FULFILLMENT_REQUEST_SUBMITTED"
	WebhookSubscriptionTopicFulfillmentOrdersFulfillmentRequestAccepted         WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_FULFILLMENT_REQUEST_ACCEPTED"
	WebhookSubscriptionTopicFulfillmentOrdersLineItemsPreparedForLocalDelivery  WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_LINE_ITEMS_PREPARED_FOR_LOCAL_DELIVERY"
	WebhookSubscriptionTopicFulfillmentOrdersPlacedOnHold                       WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_PLACED_ON_HOLD"
	WebhookSubscriptionTopicFulfillmentOrdersMerged                             WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_MERGED"
	WebhookSubscriptionTopicFulfillmentOrdersSplit                              WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_SPLIT"
	WebhookSubscriptionTopicProductListingsAdd                                  WebhookSubscriptionTopic = "PRODUCT_LISTINGS_ADD"
	WebhookSubscriptionTopicProductListingsRemove                               WebhookSubscriptionTopic = "PRODUCT_LISTINGS_REMOVE"
	WebhookSubscriptionTopicProductListingsUpdate                               WebhookSubscriptionTopic = "PRODUCT_LISTINGS_UPDATE"
	WebhookSubscriptionTopicScheduledProductListingsAdd                         WebhookSubscriptionTopic = "SCHEDULED_PRODUCT_LISTINGS_ADD"
	WebhookSubscriptionTopicScheduledProductListingsUpdate                      WebhookSubscriptionTopic = "SCHEDULED_PRODUCT_LISTINGS_UPDATE"
	WebhookSubscriptionTopicScheduledProductListingsRemove                      WebhookSubscriptionTopic = "SCHEDULED_PRODUCT_LISTINGS_REMOVE"
	WebhookSubscriptionTopicProductPublicationsCreate                           WebhookSubscriptionTopic = "PRODUCT_PUBLICATIONS_CREATE"
	WebhookSubscriptionTopicProductPublicationsDelete                           WebhookSubscriptionTopic = "PRODUCT_PUBLICATIONS_DELETE"
	WebhookSubscriptionTopicProductPublicationsUpdate                           WebhookSubscriptionTopic = "PRODUCT_PUBLICATIONS_UPDATE"
	WebhookSubscriptionTopicProductsCreate                                      WebhookSubscriptionTopic = "PRODUCTS_CREATE"
	WebhookSubscriptionTopicProductsDelete                                      WebhookSubscriptionTopic = "PRODUCTS_DELETE"
	WebhookSubscriptionTopicProductsUpdate                                      WebhookSubscriptionTopic = "PRODUCTS_UPDATE"
	WebhookSubscriptionTopicRefundsCreate                                       WebhookSubscriptionTopic = "REFUNDS_CREATE"
	WebhookSubscriptionTopicSegmentsCreate                                      WebhookSubscriptionTopic = "SEGMENTS_CREATE"
	WebhookSubscriptionTopicSegmentsDelete                                      WebhookSubscriptionTopic = "SEGMENTS_DELETE"
	WebhookSubscriptionTopicSegmentsUpdate                                      WebhookSubscriptionTopic = "SEGMENTS_UPDATE"
	WebhookSubscriptionTopicShippingAddressesCreate                             WebhookSubscriptionTopic = "SHIPPING_ADDRESSES_CREATE"
	WebhookSubscriptionTopicShippingAddressesUpdate                             WebhookSubscriptionTopic = "SHIPPING_ADDRESSES_UPDATE"
	WebhookSubscriptionTopicShopUpdate                                          WebhookSubscriptionTopic = "SHOP_UPDATE"
	WebhookSubscriptionTopicTaxPartnersUpdate                                   WebhookSubscriptionTopic = "TAX_PARTNERS_UPDATE"
	WebhookSubscriptionTopicTaxServicesCreate                                   WebhookSubscriptionTopic = "TAX_SERVICES_CREATE"
	WebhookSubscriptionTopicTaxServicesUpdate                                   WebhookSubscriptionTopic = "TAX_SERVICES_UPDATE"
	WebhookSubscriptionTopicThemesCreate                                        WebhookSubscriptionTopic = "THEMES_CREATE"
	WebhookSubscriptionTopicThemesDelete                                        WebhookSubscriptionTopic = "THEMES_DELETE"
	WebhookSubscriptionTopicThemesPublish                                       WebhookSubscriptionTopic = "THEMES_PUBLISH"
	WebhookSubscriptionTopicThemesUpdate                                        WebhookSubscriptionTopic = "THEMES_UPDATE"
	WebhookSubscriptionTopicVariantsInStock                                     WebhookSubscriptionTopic = "VARIANTS_IN_STOCK"
	WebhookSubscriptionTopicVariantsOutOfStock                                  WebhookSubscriptionTopic = "VARIANTS_OUT_OF_STOCK"
	WebhookSubscriptionTopicInventoryLevelsConnect                              WebhookSubscriptionTopic = "INVENTORY_LEVELS_CONNECT"
	WebhookSubscriptionTopicInventoryLevelsUpdate                               WebhookSubscriptionTopic = "INVENTORY_LEVELS_UPDATE"
	WebhookSubscriptionTopicInventoryLevelsDisconnect                           WebhookSubscriptionTopic = "INVENTORY_LEVELS_DISCONNECT"
	WebhookSubscriptionTopicInventoryItemsCreate                                WebhookSubscriptionTopic = "INVENTORY_ITEMS_CREATE"
	WebhookSubscriptionTopicInventoryItemsUpdate                                WebhookSubscriptionTopic = "INVENTORY_ITEMS_UPDATE"
	WebhookSubscriptionTopicInventoryItemsDelete                                WebhookSubscriptionTopic = "INVENTORY_ITEMS_DELETE"
	WebhookSubscriptionTopicLocationsActivate                                   WebhookSubscriptionTopic = "LOCATIONS_ACTIVATE"
	WebhookSubscriptionTopicLocationsDeactivate                                 WebhookSubscriptionTopic = "LOCATIONS_DEACTIVATE"
	WebhookSubscriptionTopicLocationsCreate                                     WebhookSubscriptionTopic = "LOCATIONS_CREATE"
	WebhookSubscriptionTopicLocationsUpdate                                     WebhookSubscriptionTopic = "LOCATIONS_UPDATE"
	WebhookSubscriptionTopicLocationsDelete                                     WebhookSubscriptionTopic = "LOCATIONS_DELETE"
	WebhookSubscriptionTopicTenderTransactionsCreate                            WebhookSubscriptionTopic = "TENDER_TRANSACTIONS_CREATE"
	WebhookSubscriptionTopicAppPurchasesOneTimeUpdate                           WebhookSubscriptionTopic = "APP_PURCHASES_ONE_TIME_UPDATE"
	WebhookSubscriptionTopicAppSubscriptionsApproachingCappedAmount             WebhookSubscriptionTopic = "APP_SUBSCRIPTIONS_APPROACHING_CAPPED_AMOUNT"
	WebhookSubscriptionTopicAppSubscriptionsUpdate                              WebhookSubscriptionTopic = "APP_SUBSCRIPTIONS_UPDATE"
	WebhookSubscriptionTopicLocalesCreate                                       WebhookSubscriptionTopic = "LOCALES_CREATE"
	WebhookSubscriptionTopicLocalesUpdate                                       WebhookSubscriptionTopic = "LOCALES_UPDATE"
	WebhookSubscriptionTopicDomainsCreate                                       WebhookSubscriptionTopic = "DOMAINS_CREATE"
	WebhookSubscriptionTopicDomainsUpdate                                       WebhookSubscriptionTopic = "DOMAINS_UPDATE"
	WebhookSubscriptionTopicDomainsDestroy                                      WebhookSubscriptionTopic = "DOMAINS_DESTROY"
	WebhookSubscriptionTopicSubscriptionContractsCreate                         WebhookSubscriptionTopic = "SUBSCRIPTION_CONTRACTS_CREATE"
	WebhookSubscriptionTopicSubscriptionContractsUpdate                         WebhookSubscriptionTopic = "SUBSCRIPTION_CONTRACTS_UPDATE"
	WebhookSubscriptionTopicSubscriptionBillingCycleEditsCreate                 WebhookSubscriptionTopic = "SUBSCRIPTION_BILLING_CYCLE_EDITS_CREATE"
	WebhookSubscriptionTopicSubscriptionBillingCycleEditsUpdate                 WebhookSubscriptionTopic = "SUBSCRIPTION_BILLING_CYCLE_EDITS_UPDATE"
	WebhookSubscriptionTopicSubscriptionBillingCycleEditsDelete                 WebhookSubscriptionTopic = "SUBSCRIPTION_BILLING_CYCLE_EDITS_DELETE"
	WebhookSubscriptionTopicProfilesCreate                                      WebhookSubscriptionTopic = "PROFILES_CREATE"
	WebhookSubscriptionTopicProfilesUpdate                                      WebhookSubscriptionTopic = "PROFILES_UPDATE"
	WebhookSubscriptionTopicProfilesDelete                                      WebhookSubscriptionTopic = "PROFILES_DELETE"
	WebhookSubscriptionTopicSubscriptionBillingAttemptsSuccess                  WebhookSubscriptionTopic = "SUBSCRIPTION_BILLING_ATTEMPTS_SUCCESS"
	WebhookSubscriptionTopicSubscriptionBillingAttemptsFailure                  WebhookSubscriptionTopic = "SUBSCRIPTION_BILLING_ATTEMPTS_FAILURE"
	WebhookSubscriptionTopicSubscriptionBillingAttemptsChallenged               WebhookSubscriptionTopic = "SUBSCRIPTION_BILLING_ATTEMPTS_CHALLENGED"
	WebhookSubscriptionTopicReturnsCancel                                       WebhookSubscriptionTopic = "RETURNS_CANCEL"
	WebhookSubscriptionTopicReturnsClose                                        WebhookSubscriptionTopic = "RETURNS_CLOSE"
	WebhookSubscriptionTopicReturnsReopen                                       WebhookSubscriptionTopic = "RETURNS_REOPEN"
	WebhookSubscriptionTopicReturnsRequest                                      WebhookSubscriptionTopic = "RETURNS_REQUEST"
	WebhookSubscriptionTopicReturnsApprove                                      WebhookSubscriptionTopic = "RETURNS_APPROVE"
	WebhookSubscriptionTopicReturnsUpdate                                       WebhookSubscriptionTopic = "RETURNS_UPDATE"
	WebhookSubscriptionTopicReturnsDecline                                      WebhookSubscriptionTopic = "RETURNS_DECLINE"
	WebhookSubscriptionTopicReverseDeliveriesAttachDeliverable                  WebhookSubscriptionTopic = "REVERSE_DELIVERIES_ATTACH_DELIVERABLE"
	WebhookSubscriptionTopicReverseFulfillmentOrdersDispose                     WebhookSubscriptionTopic = "REVERSE_FULFILLMENT_ORDERS_DISPOSE"
	WebhookSubscriptionTopicPaymentTermsCreate                                  WebhookSubscriptionTopic = "PAYMENT_TERMS_CREATE"
	WebhookSubscriptionTopicPaymentTermsDelete                                  WebhookSubscriptionTopic = "PAYMENT_TERMS_DELETE"
	WebhookSubscriptionTopicPaymentTermsUpdate                                  WebhookSubscriptionTopic = "PAYMENT_TERMS_UPDATE"
	WebhookSubscriptionTopicPaymentSchedulesDue                                 WebhookSubscriptionTopic = "PAYMENT_SCHEDULES_DUE"
	WebhookSubscriptionTopicSellingPlanGroupsCreate                             WebhookSubscriptionTopic = "SELLING_PLAN_GROUPS_CREATE"
	WebhookSubscriptionTopicSellingPlanGroupsUpdate                             WebhookSubscriptionTopic = "SELLING_PLAN_GROUPS_UPDATE"
	WebhookSubscriptionTopicSellingPlanGroupsDelete                             WebhookSubscriptionTopic = "SELLING_PLAN_GROUPS_DELETE"
	WebhookSubscriptionTopicBulkOperationsFinish                                WebhookSubscriptionTopic = "BULK_OPERATIONS_FINISH"
	WebhookSubscriptionTopicProductFeedsCreate                                  WebhookSubscriptionTopic = "PRODUCT_FEEDS_CREATE"
	WebhookSubscriptionTopicProductFeedsUpdate                                  WebhookSubscriptionTopic = "PRODUCT_FEEDS_UPDATE"
	WebhookSubscriptionTopicProductFeedsIncrementalSync                         WebhookSubscriptionTopic = "PRODUCT_FEEDS_INCREMENTAL_SYNC"
	WebhookSubscriptionTopicProductFeedsFullSync                                WebhookSubscriptionTopic = "PRODUCT_FEEDS_FULL_SYNC"
	WebhookSubscriptionTopicProductFeedsFullSyncFinish                          WebhookSubscriptionTopic = "PRODUCT_FEEDS_FULL_SYNC_FINISH"
	WebhookSubscriptionTopicMarketsCreate                                       WebhookSubscriptionTopic = "MARKETS_CREATE"
	WebhookSubscriptionTopicMarketsUpdate                                       WebhookSubscriptionTopic = "MARKETS_UPDATE"
	WebhookSubscriptionTopicMarketsDelete                                       WebhookSubscriptionTopic = "MARKETS_DELETE"
	WebhookSubscriptionTopicOrdersRiskAssessmentChanged                         WebhookSubscriptionTopic = "ORDERS_RISK_ASSESSMENT_CHANGED"
	WebhookSubscriptionTopicOrdersShopifyProtectEligibilityChanged              WebhookSubscriptionTopic = "ORDERS_SHOPIFY_PROTECT_ELIGIBILITY_CHANGED"
	WebhookSubscriptionTopicFulfillmentOrdersRescheduled                        WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_RESCHEDULED"
	WebhookSubscriptionTopicPublicationsDelete                                  WebhookSubscriptionTopic = "PUBLICATIONS_DELETE"
	WebhookSubscriptionTopicAuditEventsAdminAPIActivity                         WebhookSubscriptionTopic = "AUDIT_EVENTS_ADMIN_API_ACTIVITY"
	WebhookSubscriptionTopicFulfillmentOrdersLineItemsPreparedForPickup         WebhookSubscriptionTopic = "FULFILLMENT_ORDERS_LINE_ITEMS_PREPARED_FOR_PICKUP"
	WebhookSubscriptionTopicCompaniesCreate                                     WebhookSubscriptionTopic = "COMPANIES_CREATE"
	WebhookSubscriptionTopicCompaniesUpdate                                     WebhookSubscriptionTopic = "COMPANIES_UPDATE"
	WebhookSubscriptionTopicCompaniesDelete                                     WebhookSubscriptionTopic = "COMPANIES_DELETE"
	WebhookSubscriptionTopicCompanyLocationsCreate                              WebhookSubscriptionTopic = "COMPANY_LOCATIONS_CREATE"
	WebhookSubscriptionTopicCompanyLocationsUpdate                              WebhookSubscriptionTopic = "COMPANY_LOCATIONS_UPDATE"
	WebhookSubscriptionTopicCompanyLocationsDelete                              WebhookSubscriptionTopic = "COMPANY_LOCATIONS_DELETE"
	WebhookSubscriptionTopicCompanyContactsCreate                               WebhookSubscriptionTopic = "COMPANY_CONTACTS_CREATE"
	WebhookSubscriptionTopicCompanyContactsUpdate                               WebhookSubscriptionTopic = "COMPANY_CONTACTS_UPDATE"
	WebhookSubscriptionTopicCompanyContactsDelete                               WebhookSubscriptionTopic = "COMPANY_CONTACTS_DELETE"
	WebhookSubscriptionTopicCustomersMerge                                      WebhookSubscriptionTopic = "CUSTOMERS_MERGE"
	WebhookSubscriptionTopicCustomerAccountSettingsUpdate                       WebhookSubscriptionTopic = "CUSTOMER_ACCOUNT_SETTINGS_UPDATE"
	WebhookSubscriptionTopicCompanyContactRolesAssign                           WebhookSubscriptionTopic = "COMPANY_CONTACT_ROLES_ASSIGN"
	WebhookSubscriptionTopicCompanyContactRolesRevoke                           WebhookSubscriptionTopic = "COMPANY_CONTACT_ROLES_REVOKE"
	WebhookSubscriptionTopicSubscriptionContractsActivate                       WebhookSubscriptionTopic = "SUBSCRIPTION_CONTRACTS_ACTIVATE"
	WebhookSubscriptionTopicSubscriptionContractsPause                          WebhookSubscriptionTopic = "SUBSCRIPTION_CONTRACTS_PAUSE"
	WebhookSubscriptionTopicSubscriptionContractsCancel                         WebhookSubscriptionTopic = "SUBSCRIPTION_CONTRACTS_CANCEL"
	WebhookSubscriptionTopicSubscriptionContractsFail                           WebhookSubscriptionTopic = "SUBSCRIPTION_CONTRACTS_FAIL"
	WebhookSubscriptionTopicSubscriptionContractsExpire                         WebhookSubscriptionTopic = "SUBSCRIPTION_CONTRACTS_EXPIRE"
	WebhookSubscriptionTopicSubscriptionBillingCyclesSkip                       WebhookSubscriptionTopic = "SUBSCRIPTION_BILLING_CYCLES_SKIP"
	WebhookSubscriptionTopicSubscriptionBillingCyclesUnskip                     WebhookSubscriptionTopic = "SUBSCRIPTION_BILLING_CYCLES_UNSKIP"
	WebhookSubscriptionTopicMetaobjectsCreate                                   WebhookSubscriptionTopic = "METAOBJECTS_CREATE"
	WebhookSubscriptionTopicMetaobjectsUpdate                                   WebhookSubscriptionTopic = "METAOBJECTS_UPDATE"
	WebhookSubscriptionTopicMetaobjectsDelete                                   WebhookSubscriptionTopic = "METAOBJECTS_DELETE"
	WebhookSubscriptionTopicDiscountsCreate                                     WebhookSubscriptionTopic = "DISCOUNTS_CREATE"
	WebhookSubscriptionTopicDiscountsUpdate                                     WebhookSubscriptionTopic = "DISCOUNTS_UPDATE"
	WebhookSubscriptionTopicDiscountsDelete                                     WebhookSubscriptionTopic = "DISCOUNTS_DELETE"
	WebhookSubscriptionTopicDiscountsRedeemcodeAdded                            WebhookSubscriptionTopic = "DISCOUNTS_REDEEMCODE_ADDED"
	WebhookSubscriptionTopicDiscountsRedeemcodeRemoved                          WebhookSubscriptionTopic = "DISCOUNTS_REDEEMCODE_REMOVED"
	WebhookSubscriptionTopicMetafieldDefinitionsCreate                          WebhookSubscriptionTopic = "METAFIELD_DEFINITIONS_CREATE"
	WebhookSubscriptionTopicMetafieldDefinitionsUpdate                          WebhookSubscriptionTopic = "METAFIELD_DEFINITIONS_UPDATE"
	WebhookSubscriptionTopicMetafieldDefinitionsDelete                          WebhookSubscriptionTopic = "METAFIELD_DEFINITIONS_DELETE"
)

type ApiVersion struct {
	DisplayName string `json:"displayName"`
	Handle      string `json:"handle"`
	Supported   bool   `json:"supported"`
}

type WebhookSubscriptionEndpoint struct {
}

type WebhookSubscriptionFormat string

const (
	WebhookSubscriptionFormatJson WebhookSubscriptionFormat = "JSON"
	WebhookSubscriptionFormatXml  WebhookSubscriptionFormat = "XML"
)

type WebhookSubscriptionInput struct {
	CallbackURL         *string                    `json:"callbackUrl,omitempty"`
	Format              *WebhookSubscriptionFormat `json:"format,omitempty"`
	IncludeFields       []any                      `json:"includeFields"`
	Filter              *string                    `json:"filter,omitempty"`
	MetafieldNamespaces []any                      `json:"metafieldNamespaces"`
}
