@aifeatures/backend 0.4.0 → 0.5.1

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.
package/dist/index.d.cts CHANGED
@@ -1603,7 +1603,6 @@ type Form = {
1603
1603
  endpoint_url: string;
1604
1604
  email_recipients: Array<string>;
1605
1605
  redirect_url: string | null;
1606
- webhook_url: string | null;
1607
1606
  /**
1608
1607
  * Turnstile site key for CAPTCHA. Null if not configured for the org.
1609
1608
  */
@@ -1621,7 +1620,6 @@ type CreateForm = {
1621
1620
  */
1622
1621
  email_recipients?: Array<string>;
1623
1622
  redirect_url?: string;
1624
- webhook_url?: string;
1625
1623
  };
1626
1624
  type Site = {
1627
1625
  id: string;
@@ -1828,7 +1826,6 @@ type UpdateForm = {
1828
1826
  name?: string;
1829
1827
  email_recipients?: Array<string>;
1830
1828
  redirect_url?: string | null;
1831
- webhook_url?: string | null;
1832
1829
  };
1833
1830
  type Attachment = {
1834
1831
  /**
@@ -1868,6 +1865,93 @@ type SubmissionsList = {
1868
1865
  limit: number;
1869
1866
  offset: number;
1870
1867
  };
1868
+ type EventDestination = {
1869
+ id: string;
1870
+ site_id: string;
1871
+ /**
1872
+ * The form whose submissions this destination receives. Every destination created through the API is form-scoped.
1873
+ */
1874
+ form_id: string | null;
1875
+ url: string;
1876
+ /**
1877
+ * Subscribed topics. ["*"] receives every topic.
1878
+ */
1879
+ topics: Array<string>;
1880
+ /**
1881
+ * Payload version, pinned when the destination was created and never rewritten. A future payload shape ships as a new version; this destination keeps receiving the one it was created with.
1882
+ */
1883
+ api_version: string;
1884
+ status: "active" | "disabled";
1885
+ /**
1886
+ * Why the destination was auto-disabled after repeated delivery failures. Null while active.
1887
+ */
1888
+ disabled_reason: string | null;
1889
+ consecutive_failures: number;
1890
+ created_at: string;
1891
+ updated_at: string;
1892
+ };
1893
+ type EventDestinationsList = {
1894
+ destinations: Array<EventDestination>;
1895
+ };
1896
+ type CreateEventDestination = {
1897
+ /**
1898
+ * HTTPS endpoint that will receive POSTed events.
1899
+ */
1900
+ url: string;
1901
+ /**
1902
+ * Topics to subscribe to. Defaults to ["*"] (every topic, including ones added later).
1903
+ */
1904
+ topics?: Array<string>;
1905
+ /**
1906
+ * The form whose submissions this destination receives. REQUIRED: every destination belongs to exactly one form. A destination with no form would deliver correctly but be invisible in the merchant dashboard, which only ever shows a form's own webhooks.
1907
+ */
1908
+ form_id: string;
1909
+ };
1910
+ type UpdateEventDestination = {
1911
+ url?: string;
1912
+ topics?: Array<string>;
1913
+ /**
1914
+ * Set to 'active' to re-enable a destination that was auto-disabled after repeated failures; this also clears the failure counter.
1915
+ */
1916
+ status?: "active" | "disabled";
1917
+ };
1918
+ type EventDestinationSecret = {
1919
+ /**
1920
+ * The destination's signing secret. Optional to use — it lets your endpoint verify a delivery really came from us. Readable whenever you need it; rotating replaces it.
1921
+ */
1922
+ secret: string;
1923
+ };
1924
+ type EventDelivery = {
1925
+ id: string;
1926
+ destination_id: string;
1927
+ /**
1928
+ * Sent as the webhook-id header. Stable across retries and shared by every destination that received this occurrence — use it to deduplicate.
1929
+ */
1930
+ event_id: string;
1931
+ /**
1932
+ * The CloudEvents type that was delivered.
1933
+ */
1934
+ type: string;
1935
+ /**
1936
+ * The exact JSON body that was (or will be) POSTed.
1937
+ */
1938
+ payload: string;
1939
+ attempts: number;
1940
+ next_attempt_at: string;
1941
+ /**
1942
+ * Null while undelivered.
1943
+ */
1944
+ delivered_at: string | null;
1945
+ last_error: string | null;
1946
+ /**
1947
+ * HTTP status of the last attempt; null on transport failure.
1948
+ */
1949
+ last_status: number | null;
1950
+ created_at: string;
1951
+ };
1952
+ type EventDeliveriesList = {
1953
+ deliveries: Array<EventDelivery>;
1954
+ };
1871
1955
  type PublicOption = {
1872
1956
  id: string;
1873
1957
  title: string;
@@ -2840,10 +2924,6 @@ type SetProductSubscriptionErrors = {
2840
2924
  * Product not found
2841
2925
  */
2842
2926
  404: Error;
2843
- /**
2844
- * Site payments not active (code payments_not_active) — connect Stripe first
2845
- */
2846
- 409: Error;
2847
2927
  };
2848
2928
  type SetProductSubscriptionError = SetProductSubscriptionErrors[keyof SetProductSubscriptionErrors];
2849
2929
  type SetProductSubscriptionResponses = {
@@ -4584,6 +4664,469 @@ type DownloadAttachmentResponses = {
4584
4664
  */
4585
4665
  200: unknown;
4586
4666
  };
4667
+ type ListEventDestinationsData = {
4668
+ body?: never;
4669
+ path: {
4670
+ siteId: string;
4671
+ };
4672
+ query?: never;
4673
+ url: "/api/v1/sites/{siteId}/event-destinations";
4674
+ };
4675
+ type ListEventDestinationsErrors = {
4676
+ /**
4677
+ * Unauthorized
4678
+ */
4679
+ 401: Error;
4680
+ /**
4681
+ * Site not found
4682
+ */
4683
+ 404: Error;
4684
+ };
4685
+ type ListEventDestinationsError = ListEventDestinationsErrors[keyof ListEventDestinationsErrors];
4686
+ type ListEventDestinationsResponses = {
4687
+ /**
4688
+ * Destinations
4689
+ */
4690
+ 200: EventDestinationsList;
4691
+ };
4692
+ type ListEventDestinationsResponse = ListEventDestinationsResponses[keyof ListEventDestinationsResponses];
4693
+ type CreateEventDestinationData = {
4694
+ body: CreateEventDestination;
4695
+ path: {
4696
+ siteId: string;
4697
+ };
4698
+ query?: never;
4699
+ url: "/api/v1/sites/{siteId}/event-destinations";
4700
+ };
4701
+ type CreateEventDestinationErrors = {
4702
+ /**
4703
+ * Invalid URL, unknown topic, or unknown form
4704
+ */
4705
+ 400: Error;
4706
+ /**
4707
+ * Unauthorized
4708
+ */
4709
+ 401: Error;
4710
+ /**
4711
+ * Site not found
4712
+ */
4713
+ 404: Error;
4714
+ };
4715
+ type CreateEventDestinationError = CreateEventDestinationErrors[keyof CreateEventDestinationErrors];
4716
+ type CreateEventDestinationResponses = {
4717
+ /**
4718
+ * Destination created
4719
+ */
4720
+ 201: EventDestination;
4721
+ };
4722
+ type CreateEventDestinationResponse = CreateEventDestinationResponses[keyof CreateEventDestinationResponses];
4723
+ type DeleteEventDestinationData = {
4724
+ body?: never;
4725
+ path: {
4726
+ siteId: string;
4727
+ destinationId: string;
4728
+ };
4729
+ query?: never;
4730
+ url: "/api/v1/sites/{siteId}/event-destinations/{destinationId}";
4731
+ };
4732
+ type DeleteEventDestinationErrors = {
4733
+ /**
4734
+ * Unauthorized
4735
+ */
4736
+ 401: Error;
4737
+ /**
4738
+ * Not found
4739
+ */
4740
+ 404: Error;
4741
+ };
4742
+ type DeleteEventDestinationError = DeleteEventDestinationErrors[keyof DeleteEventDestinationErrors];
4743
+ type DeleteEventDestinationResponses = {
4744
+ /**
4745
+ * Deleted
4746
+ */
4747
+ 200: {
4748
+ success: boolean;
4749
+ };
4750
+ };
4751
+ type DeleteEventDestinationResponse = DeleteEventDestinationResponses[keyof DeleteEventDestinationResponses];
4752
+ type GetEventDestinationData = {
4753
+ body?: never;
4754
+ path: {
4755
+ siteId: string;
4756
+ destinationId: string;
4757
+ };
4758
+ query?: never;
4759
+ url: "/api/v1/sites/{siteId}/event-destinations/{destinationId}";
4760
+ };
4761
+ type GetEventDestinationErrors = {
4762
+ /**
4763
+ * Unauthorized
4764
+ */
4765
+ 401: Error;
4766
+ /**
4767
+ * Not found
4768
+ */
4769
+ 404: Error;
4770
+ };
4771
+ type GetEventDestinationError = GetEventDestinationErrors[keyof GetEventDestinationErrors];
4772
+ type GetEventDestinationResponses = {
4773
+ /**
4774
+ * Destination
4775
+ */
4776
+ 200: EventDestination;
4777
+ };
4778
+ type GetEventDestinationResponse = GetEventDestinationResponses[keyof GetEventDestinationResponses];
4779
+ type UpdateEventDestinationData = {
4780
+ body: UpdateEventDestination;
4781
+ path: {
4782
+ siteId: string;
4783
+ destinationId: string;
4784
+ };
4785
+ query?: never;
4786
+ url: "/api/v1/sites/{siteId}/event-destinations/{destinationId}";
4787
+ };
4788
+ type UpdateEventDestinationErrors = {
4789
+ /**
4790
+ * Invalid URL or unknown topic
4791
+ */
4792
+ 400: Error;
4793
+ /**
4794
+ * Unauthorized
4795
+ */
4796
+ 401: Error;
4797
+ /**
4798
+ * Not found
4799
+ */
4800
+ 404: Error;
4801
+ };
4802
+ type UpdateEventDestinationError = UpdateEventDestinationErrors[keyof UpdateEventDestinationErrors];
4803
+ type UpdateEventDestinationResponses = {
4804
+ /**
4805
+ * Updated
4806
+ */
4807
+ 200: EventDestination;
4808
+ };
4809
+ type UpdateEventDestinationResponse = UpdateEventDestinationResponses[keyof UpdateEventDestinationResponses];
4810
+ type RotateEventDestinationSecretData = {
4811
+ body?: never;
4812
+ path: {
4813
+ siteId: string;
4814
+ destinationId: string;
4815
+ };
4816
+ query?: never;
4817
+ url: "/api/v1/sites/{siteId}/event-destinations/{destinationId}/rotate-secret";
4818
+ };
4819
+ type RotateEventDestinationSecretErrors = {
4820
+ /**
4821
+ * Unauthorized
4822
+ */
4823
+ 401: Error;
4824
+ /**
4825
+ * Not found
4826
+ */
4827
+ 404: Error;
4828
+ };
4829
+ type RotateEventDestinationSecretError = RotateEventDestinationSecretErrors[keyof RotateEventDestinationSecretErrors];
4830
+ type RotateEventDestinationSecretResponses = {
4831
+ /**
4832
+ * Secret rotated
4833
+ */
4834
+ 200: EventDestination;
4835
+ };
4836
+ type RotateEventDestinationSecretResponse = RotateEventDestinationSecretResponses[keyof RotateEventDestinationSecretResponses];
4837
+ type GetEventDestinationSecretData = {
4838
+ body?: never;
4839
+ path: {
4840
+ siteId: string;
4841
+ destinationId: string;
4842
+ };
4843
+ query?: never;
4844
+ url: "/api/v1/sites/{siteId}/event-destinations/{destinationId}/secret";
4845
+ };
4846
+ type GetEventDestinationSecretErrors = {
4847
+ /**
4848
+ * Unauthorized
4849
+ */
4850
+ 401: Error;
4851
+ /**
4852
+ * Not found
4853
+ */
4854
+ 404: Error;
4855
+ };
4856
+ type GetEventDestinationSecretError = GetEventDestinationSecretErrors[keyof GetEventDestinationSecretErrors];
4857
+ type GetEventDestinationSecretResponses = {
4858
+ /**
4859
+ * The signing secret
4860
+ */
4861
+ 200: EventDestinationSecret;
4862
+ };
4863
+ type GetEventDestinationSecretResponse = GetEventDestinationSecretResponses[keyof GetEventDestinationSecretResponses];
4864
+ type ListEventDeliveriesData = {
4865
+ body?: never;
4866
+ path: {
4867
+ siteId: string;
4868
+ destinationId: string;
4869
+ };
4870
+ query?: {
4871
+ limit?: number;
4872
+ };
4873
+ url: "/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries";
4874
+ };
4875
+ type ListEventDeliveriesErrors = {
4876
+ /**
4877
+ * Unauthorized
4878
+ */
4879
+ 401: Error;
4880
+ /**
4881
+ * Not found
4882
+ */
4883
+ 404: Error;
4884
+ };
4885
+ type ListEventDeliveriesError = ListEventDeliveriesErrors[keyof ListEventDeliveriesErrors];
4886
+ type ListEventDeliveriesResponses = {
4887
+ /**
4888
+ * Deliveries
4889
+ */
4890
+ 200: EventDeliveriesList;
4891
+ };
4892
+ type ListEventDeliveriesResponse = ListEventDeliveriesResponses[keyof ListEventDeliveriesResponses];
4893
+ type RetryEventDeliveryData = {
4894
+ body?: never;
4895
+ path: {
4896
+ siteId: string;
4897
+ destinationId: string;
4898
+ deliveryId: string;
4899
+ };
4900
+ query?: never;
4901
+ url: "/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries/{deliveryId}/retry";
4902
+ };
4903
+ type RetryEventDeliveryErrors = {
4904
+ /**
4905
+ * Unauthorized
4906
+ */
4907
+ 401: Error;
4908
+ /**
4909
+ * Not found
4910
+ */
4911
+ 404: Error;
4912
+ };
4913
+ type RetryEventDeliveryError = RetryEventDeliveryErrors[keyof RetryEventDeliveryErrors];
4914
+ type RetryEventDeliveryResponses = {
4915
+ /**
4916
+ * Retry attempted; the row reflects the outcome
4917
+ */
4918
+ 200: EventDelivery;
4919
+ };
4920
+ type RetryEventDeliveryResponse = RetryEventDeliveryResponses[keyof RetryEventDeliveryResponses];
4921
+ type ListEventDestinationsWithSiteTokenData = {
4922
+ body?: never;
4923
+ path?: never;
4924
+ query?: never;
4925
+ url: "/api/v1/event-destinations";
4926
+ };
4927
+ type ListEventDestinationsWithSiteTokenErrors = {
4928
+ /**
4929
+ * Unauthorized - requires site token
4930
+ */
4931
+ 401: Error;
4932
+ };
4933
+ type ListEventDestinationsWithSiteTokenError = ListEventDestinationsWithSiteTokenErrors[keyof ListEventDestinationsWithSiteTokenErrors];
4934
+ type ListEventDestinationsWithSiteTokenResponses = {
4935
+ /**
4936
+ * Destinations
4937
+ */
4938
+ 200: EventDestinationsList;
4939
+ };
4940
+ type ListEventDestinationsWithSiteTokenResponse = ListEventDestinationsWithSiteTokenResponses[keyof ListEventDestinationsWithSiteTokenResponses];
4941
+ type CreateEventDestinationWithSiteTokenData = {
4942
+ body: CreateEventDestination;
4943
+ path?: never;
4944
+ query?: never;
4945
+ url: "/api/v1/event-destinations";
4946
+ };
4947
+ type CreateEventDestinationWithSiteTokenErrors = {
4948
+ /**
4949
+ * Invalid URL, unknown topic, or unknown form
4950
+ */
4951
+ 400: Error;
4952
+ /**
4953
+ * Unauthorized - requires site token
4954
+ */
4955
+ 401: Error;
4956
+ };
4957
+ type CreateEventDestinationWithSiteTokenError = CreateEventDestinationWithSiteTokenErrors[keyof CreateEventDestinationWithSiteTokenErrors];
4958
+ type CreateEventDestinationWithSiteTokenResponses = {
4959
+ /**
4960
+ * Created
4961
+ */
4962
+ 201: EventDestination;
4963
+ };
4964
+ type CreateEventDestinationWithSiteTokenResponse = CreateEventDestinationWithSiteTokenResponses[keyof CreateEventDestinationWithSiteTokenResponses];
4965
+ type DeleteEventDestinationWithSiteTokenData = {
4966
+ body?: never;
4967
+ path: {
4968
+ destinationId: string;
4969
+ };
4970
+ query?: never;
4971
+ url: "/api/v1/event-destinations/{destinationId}";
4972
+ };
4973
+ type DeleteEventDestinationWithSiteTokenErrors = {
4974
+ /**
4975
+ * Unauthorized - requires site token
4976
+ */
4977
+ 401: Error;
4978
+ /**
4979
+ * Not found
4980
+ */
4981
+ 404: Error;
4982
+ };
4983
+ type DeleteEventDestinationWithSiteTokenError = DeleteEventDestinationWithSiteTokenErrors[keyof DeleteEventDestinationWithSiteTokenErrors];
4984
+ type DeleteEventDestinationWithSiteTokenResponses = {
4985
+ /**
4986
+ * Deleted
4987
+ */
4988
+ 200: {
4989
+ success: boolean;
4990
+ };
4991
+ };
4992
+ type DeleteEventDestinationWithSiteTokenResponse = DeleteEventDestinationWithSiteTokenResponses[keyof DeleteEventDestinationWithSiteTokenResponses];
4993
+ type UpdateEventDestinationWithSiteTokenData = {
4994
+ body: UpdateEventDestination;
4995
+ path: {
4996
+ destinationId: string;
4997
+ };
4998
+ query?: never;
4999
+ url: "/api/v1/event-destinations/{destinationId}";
5000
+ };
5001
+ type UpdateEventDestinationWithSiteTokenErrors = {
5002
+ /**
5003
+ * Invalid URL or unknown topic
5004
+ */
5005
+ 400: Error;
5006
+ /**
5007
+ * Unauthorized - requires site token
5008
+ */
5009
+ 401: Error;
5010
+ /**
5011
+ * Not found
5012
+ */
5013
+ 404: Error;
5014
+ };
5015
+ type UpdateEventDestinationWithSiteTokenError = UpdateEventDestinationWithSiteTokenErrors[keyof UpdateEventDestinationWithSiteTokenErrors];
5016
+ type UpdateEventDestinationWithSiteTokenResponses = {
5017
+ /**
5018
+ * Updated
5019
+ */
5020
+ 200: EventDestination;
5021
+ };
5022
+ type UpdateEventDestinationWithSiteTokenResponse = UpdateEventDestinationWithSiteTokenResponses[keyof UpdateEventDestinationWithSiteTokenResponses];
5023
+ type RotateEventDestinationSecretWithSiteTokenData = {
5024
+ body?: never;
5025
+ path: {
5026
+ destinationId: string;
5027
+ };
5028
+ query?: never;
5029
+ url: "/api/v1/event-destinations/{destinationId}/rotate-secret";
5030
+ };
5031
+ type RotateEventDestinationSecretWithSiteTokenErrors = {
5032
+ /**
5033
+ * Unauthorized - requires site token
5034
+ */
5035
+ 401: Error;
5036
+ /**
5037
+ * Not found
5038
+ */
5039
+ 404: Error;
5040
+ };
5041
+ type RotateEventDestinationSecretWithSiteTokenError = RotateEventDestinationSecretWithSiteTokenErrors[keyof RotateEventDestinationSecretWithSiteTokenErrors];
5042
+ type RotateEventDestinationSecretWithSiteTokenResponses = {
5043
+ /**
5044
+ * Secret rotated
5045
+ */
5046
+ 200: EventDestination;
5047
+ };
5048
+ type RotateEventDestinationSecretWithSiteTokenResponse = RotateEventDestinationSecretWithSiteTokenResponses[keyof RotateEventDestinationSecretWithSiteTokenResponses];
5049
+ type GetEventDestinationSecretWithSiteTokenData = {
5050
+ body?: never;
5051
+ path: {
5052
+ destinationId: string;
5053
+ };
5054
+ query?: never;
5055
+ url: "/api/v1/event-destinations/{destinationId}/secret";
5056
+ };
5057
+ type GetEventDestinationSecretWithSiteTokenErrors = {
5058
+ /**
5059
+ * Unauthorized - requires site token
5060
+ */
5061
+ 401: Error;
5062
+ /**
5063
+ * Not found
5064
+ */
5065
+ 404: Error;
5066
+ };
5067
+ type GetEventDestinationSecretWithSiteTokenError = GetEventDestinationSecretWithSiteTokenErrors[keyof GetEventDestinationSecretWithSiteTokenErrors];
5068
+ type GetEventDestinationSecretWithSiteTokenResponses = {
5069
+ /**
5070
+ * The signing secret
5071
+ */
5072
+ 200: EventDestinationSecret;
5073
+ };
5074
+ type GetEventDestinationSecretWithSiteTokenResponse = GetEventDestinationSecretWithSiteTokenResponses[keyof GetEventDestinationSecretWithSiteTokenResponses];
5075
+ type ListEventDeliveriesWithSiteTokenData = {
5076
+ body?: never;
5077
+ path: {
5078
+ destinationId: string;
5079
+ };
5080
+ query?: {
5081
+ limit?: number;
5082
+ };
5083
+ url: "/api/v1/event-destinations/{destinationId}/deliveries";
5084
+ };
5085
+ type ListEventDeliveriesWithSiteTokenErrors = {
5086
+ /**
5087
+ * Unauthorized - requires site token
5088
+ */
5089
+ 401: Error;
5090
+ /**
5091
+ * Not found
5092
+ */
5093
+ 404: Error;
5094
+ };
5095
+ type ListEventDeliveriesWithSiteTokenError = ListEventDeliveriesWithSiteTokenErrors[keyof ListEventDeliveriesWithSiteTokenErrors];
5096
+ type ListEventDeliveriesWithSiteTokenResponses = {
5097
+ /**
5098
+ * Deliveries
5099
+ */
5100
+ 200: EventDeliveriesList;
5101
+ };
5102
+ type ListEventDeliveriesWithSiteTokenResponse = ListEventDeliveriesWithSiteTokenResponses[keyof ListEventDeliveriesWithSiteTokenResponses];
5103
+ type RetryEventDeliveryWithSiteTokenData = {
5104
+ body?: never;
5105
+ path: {
5106
+ destinationId: string;
5107
+ deliveryId: string;
5108
+ };
5109
+ query?: never;
5110
+ url: "/api/v1/event-destinations/{destinationId}/deliveries/{deliveryId}/retry";
5111
+ };
5112
+ type RetryEventDeliveryWithSiteTokenErrors = {
5113
+ /**
5114
+ * Unauthorized - requires site token
5115
+ */
5116
+ 401: Error;
5117
+ /**
5118
+ * Not found
5119
+ */
5120
+ 404: Error;
5121
+ };
5122
+ type RetryEventDeliveryWithSiteTokenError = RetryEventDeliveryWithSiteTokenErrors[keyof RetryEventDeliveryWithSiteTokenErrors];
5123
+ type RetryEventDeliveryWithSiteTokenResponses = {
5124
+ /**
5125
+ * Retry attempted
5126
+ */
5127
+ 200: EventDelivery;
5128
+ };
5129
+ type RetryEventDeliveryWithSiteTokenResponse = RetryEventDeliveryWithSiteTokenResponses[keyof RetryEventDeliveryWithSiteTokenResponses];
4587
5130
  type GetPublicProductData = {
4588
5131
  body?: never;
4589
5132
  path: {
@@ -5349,7 +5892,7 @@ declare const attachProductFile: <ThrowOnError extends boolean = false>(options:
5349
5892
  /**
5350
5893
  * Set a product's subscription plans
5351
5894
  *
5352
- * Replaces the product's subscription selling plans transactionally (full desired state — like setProductVariants) and sets whether the product is subscription-only. Requires the site's payments to be ACTIVE (error code payments_not_active otherwise connect Stripe first; there is no draft config). Bounds: at most 5 plans; each plan has exactly one of percent_off_bps (0-8000) / unit_amount; interval x interval_count must be 12 months or shorter; every plan's derived recurring price must clear the store currency's minimum charge for EVERY active variant, and absolute prices are sanity-capped at 10x the highest one-time price. An empty plans array with required:false clears subscription config. Existing subscriptions are never touched — they billed on a snapshot taken at signup.
5895
+ * Replaces the product's subscription selling plans transactionally (full desired state — like setProductVariants) and sets whether the product is subscription-only. Works BEFORE the site's payments are active plans save as a draft exactly like products do, and no Stripe object is created here. Until payments are active (and the published site serves /account) the public payload reports subscription.ready false, so the buy box hides or disables the subscribe path and checkout refuses every purchase; going live is gated at publish, not at this write. Bounds: at most 5 plans; each plan has exactly one of percent_off_bps (0-8000) / unit_amount; interval x interval_count must be 12 months or shorter; every plan's derived recurring price must clear the store currency's minimum charge for EVERY active variant, and absolute prices are sanity-capped at 10x the highest one-time price. An empty plans array with required:false clears subscription config. Existing subscriptions are never touched — they billed on a snapshot taken at signup.
5353
5896
  */
5354
5897
  declare const setProductSubscription: <ThrowOnError extends boolean = false>(options: Options<SetProductSubscriptionData, ThrowOnError>) => RequestResult<SetProductSubscriptionResponses, SetProductSubscriptionErrors, ThrowOnError, "fields">;
5355
5898
  /**
@@ -5676,6 +6219,92 @@ declare const getSubmission: <ThrowOnError extends boolean = false>(options: Opt
5676
6219
  * Downloads a file attachment from a submission. The path token is resolved as an attachment id first (see the Attachment schema `id` field), then as a filename for submissions created before attachments carried ids. Filename resolution returns the first match when several attachments share a name; unmatched tokens return 404. Returns the file with appropriate Content-Type and Content-Disposition headers.
5677
6220
  */
5678
6221
  declare const downloadAttachment: <ThrowOnError extends boolean = false>(options: Options<DownloadAttachmentData, ThrowOnError>) => RequestResult<DownloadAttachmentResponses, DownloadAttachmentErrors, ThrowOnError, "fields">;
6222
+ /**
6223
+ * List event destinations for a site
6224
+ *
6225
+ * Lists the site's outbound webhook destinations. Signing secrets are never returned here — they are shown once at creation and once per rotation.
6226
+ */
6227
+ declare const listEventDestinations: <ThrowOnError extends boolean = false>(options: Options<ListEventDestinationsData, ThrowOnError>) => RequestResult<ListEventDestinationsResponses, ListEventDestinationsErrors, ThrowOnError, "fields">;
6228
+ /**
6229
+ * Create an event destination
6230
+ *
6231
+ * Creates a webhook destination. Deliveries are signed per the Standard Webhooks spec (webhook-id / webhook-timestamp / webhook-signature) and the body is a CloudEvents 1.0 envelope. The signing secret is not returned here — read it from the /secret endpoint whenever you need it.
6232
+ */
6233
+ declare const createEventDestination: <ThrowOnError extends boolean = false>(options: Options<CreateEventDestinationData, ThrowOnError>) => RequestResult<CreateEventDestinationResponses, CreateEventDestinationErrors, ThrowOnError, "fields">;
6234
+ /**
6235
+ * Delete an event destination
6236
+ *
6237
+ * Deletes the destination and its delivery history. Undelivered events for it stop being retried.
6238
+ */
6239
+ declare const deleteEventDestination: <ThrowOnError extends boolean = false>(options: Options<DeleteEventDestinationData, ThrowOnError>) => RequestResult<DeleteEventDestinationResponses, DeleteEventDestinationErrors, ThrowOnError, "fields">;
6240
+ /**
6241
+ * Get an event destination
6242
+ */
6243
+ declare const getEventDestination: <ThrowOnError extends boolean = false>(options: Options<GetEventDestinationData, ThrowOnError>) => RequestResult<GetEventDestinationResponses, GetEventDestinationErrors, ThrowOnError, "fields">;
6244
+ /**
6245
+ * Update an event destination
6246
+ *
6247
+ * Changes the URL, the subscribed topics, or the status. Setting status back to 'active' re-enables a destination that was auto-disabled after repeated failures and clears its failure counter. api_version is immutable by design.
6248
+ */
6249
+ declare const updateEventDestination: <ThrowOnError extends boolean = false>(options: Options<UpdateEventDestinationData, ThrowOnError>) => RequestResult<UpdateEventDestinationResponses, UpdateEventDestinationErrors, ThrowOnError, "fields">;
6250
+ /**
6251
+ * Rotate a destination's signing secret
6252
+ *
6253
+ * Issues a new signing secret, replacing the old one. There is no overlap window: deliveries in flight at the moment of rotation are signed with whichever secret is current when each attempt runs, so update the consumer promptly. Read the new value from the /secret endpoint.
6254
+ */
6255
+ declare const rotateEventDestinationSecret: <ThrowOnError extends boolean = false>(options: Options<RotateEventDestinationSecretData, ThrowOnError>) => RequestResult<RotateEventDestinationSecretResponses, RotateEventDestinationSecretErrors, ThrowOnError, "fields">;
6256
+ /**
6257
+ * Read a destination's signing secret
6258
+ *
6259
+ * Returns the current signing secret. Deliberately re-readable rather than shown once: using it is OPTIONAL (an endpoint that skips verification works fine), so forcing a copy-it-now moment on every merchant would be a task most of them do not need. Anyone who can call this can already read the site's submissions and rotate this secret, so re-readability grants no access it does not already have. Rotate to invalidate.
6260
+ */
6261
+ declare const getEventDestinationSecret: <ThrowOnError extends boolean = false>(options: Options<GetEventDestinationSecretData, ThrowOnError>) => RequestResult<GetEventDestinationSecretResponses, GetEventDestinationSecretErrors, ThrowOnError, "fields">;
6262
+ /**
6263
+ * List recent deliveries for a destination
6264
+ *
6265
+ * The delivery log, newest first — what was sent, when, the HTTP status, and the error if it failed.
6266
+ */
6267
+ declare const listEventDeliveries: <ThrowOnError extends boolean = false>(options: Options<ListEventDeliveriesData, ThrowOnError>) => RequestResult<ListEventDeliveriesResponses, ListEventDeliveriesErrors, ThrowOnError, "fields">;
6268
+ /**
6269
+ * Retry one delivery now
6270
+ *
6271
+ * Re-sends the stored payload immediately, byte-identical to the original, so the consumer sees the same webhook-id and can deduplicate. Resets the attempt budget for that delivery. Works on delivered rows too, for replaying into a rebuilt consumer.
6272
+ */
6273
+ declare const retryEventDelivery: <ThrowOnError extends boolean = false>(options: Options<RetryEventDeliveryData, ThrowOnError>) => RequestResult<RetryEventDeliveryResponses, RetryEventDeliveryErrors, ThrowOnError, "fields">;
6274
+ /**
6275
+ * List event destinations (site token)
6276
+ */
6277
+ declare const listEventDestinationsWithSiteToken: <ThrowOnError extends boolean = false>(options?: Options<ListEventDestinationsWithSiteTokenData, ThrowOnError>) => RequestResult<ListEventDestinationsWithSiteTokenResponses, ListEventDestinationsWithSiteTokenErrors, ThrowOnError, "fields">;
6278
+ /**
6279
+ * Create an event destination (site token)
6280
+ *
6281
+ * Creates a webhook destination for the site the token belongs to. The signing secret is returned ONCE.
6282
+ */
6283
+ declare const createEventDestinationWithSiteToken: <ThrowOnError extends boolean = false>(options: Options<CreateEventDestinationWithSiteTokenData, ThrowOnError>) => RequestResult<CreateEventDestinationWithSiteTokenResponses, CreateEventDestinationWithSiteTokenErrors, ThrowOnError, "fields">;
6284
+ /**
6285
+ * Delete an event destination (site token)
6286
+ */
6287
+ declare const deleteEventDestinationWithSiteToken: <ThrowOnError extends boolean = false>(options: Options<DeleteEventDestinationWithSiteTokenData, ThrowOnError>) => RequestResult<DeleteEventDestinationWithSiteTokenResponses, DeleteEventDestinationWithSiteTokenErrors, ThrowOnError, "fields">;
6288
+ /**
6289
+ * Update an event destination (site token)
6290
+ */
6291
+ declare const updateEventDestinationWithSiteToken: <ThrowOnError extends boolean = false>(options: Options<UpdateEventDestinationWithSiteTokenData, ThrowOnError>) => RequestResult<UpdateEventDestinationWithSiteTokenResponses, UpdateEventDestinationWithSiteTokenErrors, ThrowOnError, "fields">;
6292
+ /**
6293
+ * Rotate a destination's signing secret (site token)
6294
+ */
6295
+ declare const rotateEventDestinationSecretWithSiteToken: <ThrowOnError extends boolean = false>(options: Options<RotateEventDestinationSecretWithSiteTokenData, ThrowOnError>) => RequestResult<RotateEventDestinationSecretWithSiteTokenResponses, RotateEventDestinationSecretWithSiteTokenErrors, ThrowOnError, "fields">;
6296
+ /**
6297
+ * Read a destination's signing secret (site token)
6298
+ */
6299
+ declare const getEventDestinationSecretWithSiteToken: <ThrowOnError extends boolean = false>(options: Options<GetEventDestinationSecretWithSiteTokenData, ThrowOnError>) => RequestResult<GetEventDestinationSecretWithSiteTokenResponses, GetEventDestinationSecretWithSiteTokenErrors, ThrowOnError, "fields">;
6300
+ /**
6301
+ * List recent deliveries (site token)
6302
+ */
6303
+ declare const listEventDeliveriesWithSiteToken: <ThrowOnError extends boolean = false>(options: Options<ListEventDeliveriesWithSiteTokenData, ThrowOnError>) => RequestResult<ListEventDeliveriesWithSiteTokenResponses, ListEventDeliveriesWithSiteTokenErrors, ThrowOnError, "fields">;
6304
+ /**
6305
+ * Retry one delivery now (site token)
6306
+ */
6307
+ declare const retryEventDeliveryWithSiteToken: <ThrowOnError extends boolean = false>(options: Options<RetryEventDeliveryWithSiteTokenData, ThrowOnError>) => RequestResult<RetryEventDeliveryWithSiteTokenResponses, RetryEventDeliveryWithSiteTokenErrors, ThrowOnError, "fields">;
5679
6308
  /**
5680
6309
  * Get public product config
5681
6310
  *
@@ -5809,4 +6438,4 @@ declare const resolveManageLink: <ThrowOnError extends boolean = false>(options:
5809
6438
  */
5810
6439
  declare const actOnManageLink: <ThrowOnError extends boolean = false>(options: Options<ActOnManageLinkData, ThrowOnError>) => RequestResult<ActOnManageLinkResponses, ActOnManageLinkErrors, ThrowOnError, "fields">;
5811
6440
 
5812
- export { type AccountCancelSubscriptionData, type AccountCancelSubscriptionError, type AccountCancelSubscriptionErrors, type AccountCancelSubscriptionResponse, type AccountCancelSubscriptionResponses, type AccountCreatePortalSessionData, type AccountCreatePortalSessionError, type AccountCreatePortalSessionErrors, type AccountCreatePortalSessionResponse, type AccountCreatePortalSessionResponses, type AccountLoginData, type AccountLoginError, type AccountLoginErrors, type AccountLoginRequest, type AccountLoginResponse, type AccountLoginResponses, type AccountLoginResult, type AccountLogoutData, type AccountLogoutError, type AccountLogoutErrors, type AccountLogoutResponse, type AccountLogoutResponses, type AccountLogoutResult, type AccountManageCancelData, type AccountManageCancelError, type AccountManageCancelErrors, type AccountManageCancelResponse, type AccountManageCancelResponses, type AccountManageGetSubscriptionData, type AccountManageGetSubscriptionError, type AccountManageGetSubscriptionErrors, type AccountManageGetSubscriptionResponse, type AccountManageGetSubscriptionResponses, type AccountManagePortalSessionData, type AccountManagePortalSessionError, type AccountManagePortalSessionErrors, type AccountManagePortalSessionResponse, type AccountManagePortalSessionResponses, type AccountManageVerifyData, type AccountManageVerifyError, type AccountManageVerifyErrors, type AccountManageVerifyResponse, type AccountManageVerifyResponses, type AccountMeData, type AccountMeError, type AccountMeErrors, type AccountMeResponse, type AccountMeResponses, type AccountMeResult, type AccountReactivateSubscriptionData, type AccountReactivateSubscriptionError, type AccountReactivateSubscriptionErrors, type AccountReactivateSubscriptionResponse, type AccountReactivateSubscriptionResponses, type AccountSubscribeData, type AccountSubscribeError, type AccountSubscribeErrors, type AccountSubscribeRequest, type AccountSubscribeResponse, type AccountSubscribeResponses, type AccountUpdateSubscriptionAddressData, type AccountUpdateSubscriptionAddressError, type AccountUpdateSubscriptionAddressErrors, type AccountUpdateSubscriptionAddressResponse, type AccountUpdateSubscriptionAddressResponses, type AccountVerifyData, type AccountVerifyError, type AccountVerifyErrors, type AccountVerifyRequest, type AccountVerifyResponse, type AccountVerifyResponses, type AccountVerifyResult, type ActOnManageLinkData, type ActOnManageLinkError, type ActOnManageLinkErrors, type ActOnManageLinkResponse, type ActOnManageLinkResponses, type AdjustInventory, type AdjustVariantInventoryData, type AdjustVariantInventoryError, type AdjustVariantInventoryErrors, type AdjustVariantInventoryResponse, type AdjustVariantInventoryResponses, type AttachProductFileData, type AttachProductFileError, type AttachProductFileErrors, type AttachProductFileFromUrl, type AttachProductFileMultipart, type AttachProductFileResponse, type AttachProductFileResponses, type Attachment, type BusinessSummary, type CancelSubscriptionData, type CancelSubscriptionErrors, type CancelSubscriptionResponse, type CancelSubscriptionResponses, type CartCheckoutRequest, type CartConflict, type CartConflictItem, type CartSummaryRequest, type CartSummaryResult, type ChangedField, type CheckoutPauseRequest, type CheckoutPauseState, type CheckoutRequest, type CheckoutResult, type Client, type ClientOptions$1 as ClientConfig, type ClientOptions, type Config, type CreateCartCheckoutData, type CreateCartCheckoutError, type CreateCartCheckoutErrors, type CreateCartCheckoutResponse, type CreateCartCheckoutResponses, type CreateCheckoutData, type CreateCheckoutError, type CreateCheckoutErrors, type CreateCheckoutResponse, type CreateCheckoutResponses, type CreateCustomer, type CreateCustomerData, type CreateCustomerError, type CreateCustomerErrors, type CreateCustomerResponse, type CreateCustomerResponses, type CreateForm, type CreateFormData, type CreateFormError, type CreateFormErrors, type CreateFormResponse, type CreateFormResponses, type CreateFormWithSiteTokenData, type CreateFormWithSiteTokenError, type CreateFormWithSiteTokenErrors, type CreateFormWithSiteTokenResponse, type CreateFormWithSiteTokenResponses, type CreateMultiItemTestOrder, type CreateMultiItemTestOrderData, type CreateMultiItemTestOrderError, type CreateMultiItemTestOrderErrors, type CreateMultiItemTestOrderResponse, type CreateMultiItemTestOrderResponses, type CreateOption, type CreateOptionData, type CreateOptionError, type CreateOptionErrors, type CreateOptionResponse, type CreateOptionResponses, type CreatePreviewSession, type CreatePreviewSessionData, type CreatePreviewSessionError, type CreatePreviewSessionErrors, type CreatePreviewSessionResponse, type CreatePreviewSessionResponses, type CreateProduct, type CreateProductData, type CreateProductError, type CreateProductErrors, type CreateProductResponse, type CreateProductResponses, type CreateProductWithSiteTokenData, type CreateProductWithSiteTokenError, type CreateProductWithSiteTokenErrors, type CreateProductWithSiteTokenResponse, type CreateProductWithSiteTokenResponses, type CreateSite, type CreateSiteData, type CreateSiteError, type CreateSiteErrors, type CreateSiteResponse, type CreateSiteResponses, type CreateTestOrder, type CreateTestOrderData, type CreateTestOrderError, type CreateTestOrderErrors, type CreateTestOrderResponse, type CreateTestOrderResponses, type CreateTestSubscription, type CreateTestSubscriptionData, type CreateTestSubscriptionError, type CreateTestSubscriptionErrors, type CreateTestSubscriptionResponse, type CreateTestSubscriptionResponses, type CreateVariant, type CreateVariantData, type CreateVariantError, type CreateVariantErrors, type CreateVariantResponse, type CreateVariantResponses, type CurrencyRestatement, type CurrencyTotals, type Customer, type CustomerAddress, type CustomerDetail, type CustomersList, type DeleteFormData, type DeleteFormError, type DeleteFormErrors, type DeleteFormResponse, type DeleteFormResponses, type DeleteOptionData, type DeleteOptionError, type DeleteOptionErrors, type DeleteOptionResponse, type DeleteOptionResponses, type DeleteProductData, type DeleteProductError, type DeleteProductErrors, type DeleteProductResponse, type DeleteProductResponses, type DeleteSiteData, type DeleteSiteError, type DeleteSiteErrors, type DeleteSiteResponse, type DeleteSiteResponses, type DeleteSubmissionData, type DeleteSubmissionError, type DeleteSubmissionErrors, type DeleteSubmissionResponse, type DeleteSubmissionResponses, type DeleteVariantData, type DeleteVariantError, type DeleteVariantErrors, type DeleteVariantResponse, type DeleteVariantResponses, type DownloadAttachmentData, type DownloadAttachmentError, type DownloadAttachmentErrors, type DownloadAttachmentResponses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type Error, type Form, type FormsList, type GenerateVariants, type GenerateVariantsData, type GenerateVariantsError, type GenerateVariantsErrors, type GenerateVariantsResponse, type GenerateVariantsResponses, type GenerateVariantsResult, type GeoSuggestion, type GetBusinessSummaryData, type GetBusinessSummaryErrors, type GetBusinessSummaryResponse, type GetBusinessSummaryResponses, type GetCartSummaryData, type GetCartSummaryError, type GetCartSummaryErrors, type GetCartSummaryResponse, type GetCartSummaryResponses, type GetCustomerData, type GetCustomerError, type GetCustomerErrors, type GetCustomerResponse, type GetCustomerResponses, type GetFormData, type GetFormError, type GetFormErrors, type GetFormResponse, type GetFormResponses, type GetGeoData, type GetGeoResponse, type GetGeoResponses, type GetNextPayoutData, type GetNextPayoutErrors, type GetNextPayoutResponse, type GetNextPayoutResponses, type GetOrderData, type GetOrderError, type GetOrderErrors, type GetOrderResponse, type GetOrderResponses, type GetOrderSessionData, type GetOrderSessionError, type GetOrderSessionErrors, type GetOrderSessionResponse, type GetOrderSessionResponses, type GetPaymentsStatusData, type GetPaymentsStatusError, type GetPaymentsStatusErrors, type GetPaymentsStatusResponse, type GetPaymentsStatusResponses, type GetPersonData, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetProductData, type GetProductError, type GetProductErrors, type GetProductResponse, type GetProductResponses, type GetPublicProductData, type GetPublicProductError, type GetPublicProductErrors, type GetPublicProductResponse, type GetPublicProductResponses, type GetSalesSummaryData, type GetSalesSummaryErrors, type GetSalesSummaryResponse, type GetSalesSummaryResponses, type GetSiteCheckoutPauseData, type GetSiteCheckoutPauseError, type GetSiteCheckoutPauseErrors, type GetSiteCheckoutPauseResponse, type GetSiteCheckoutPauseResponses, type GetSiteData, type GetSiteError, type GetSiteErrors, type GetSiteResponse, type GetSiteResponses, type GetSubmissionData, type GetSubmissionError, type GetSubmissionErrors, type GetSubmissionResponse, type GetSubmissionResponses, type Inventory, type InventoryInput, type ListCustomersData, type ListCustomersError, type ListCustomersErrors, type ListCustomersResponse, type ListCustomersResponses, type ListFormsData, type ListFormsError, type ListFormsErrors, type ListFormsResponse, type ListFormsResponses, type ListFormsWithSiteTokenData, type ListFormsWithSiteTokenError, type ListFormsWithSiteTokenErrors, type ListFormsWithSiteTokenResponse, type ListFormsWithSiteTokenResponses, type ListOrdersWithSiteTokenData, type ListOrdersWithSiteTokenError, type ListOrdersWithSiteTokenErrors, type ListOrdersWithSiteTokenResponse, type ListOrdersWithSiteTokenResponses, type ListPeopleData, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListProductsData, type ListProductsError, type ListProductsErrors, type ListProductsResponse, type ListProductsResponses, type ListProductsWithSiteTokenData, type ListProductsWithSiteTokenError, type ListProductsWithSiteTokenErrors, type ListProductsWithSiteTokenResponse, type ListProductsWithSiteTokenResponses, type ListSitesData, type ListSitesError, type ListSitesErrors, type ListSitesResponse, type ListSitesResponses, type ListSubmissionsData, type ListSubmissionsError, type ListSubmissionsErrors, type ListSubmissionsResponse, type ListSubmissionsResponses, type ListSubscriptionsData, type ListSubscriptionsErrors, type ListSubscriptionsResponse, type ListSubscriptionsResponses, type ManageCancelResult, type ManageLinkAction, type ManageVerifyRequest, type ManageVerifyResult, type ManagedSubscription, type ManagedSubscriptionResult, type NeedsAttentionItem, type NestedOptionInput, type NestedVariantInput, type NextPayout, type Option, type Options, type Order, type OrderCustomer, type OrderFulfillmentRequest, type OrderSessionStatus, type OrdersList, type PauseSiteCheckoutData, type PauseSiteCheckoutError, type PauseSiteCheckoutErrors, type PauseSiteCheckoutResponse, type PauseSiteCheckoutResponses, type PaymentsStatus, type PeopleList, type PersonDetail, type PersonRow, type PortalSessionResult, type PreviewSessionResult, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentInput, type ProductSubscriptionConfig, type ProductsList, type PublicOption, type PublicProduct, type PublicSubscription, type PublicSubscriptionPlan, type PublicVariant, type ReactivateSiteSubscriptionsTeardownData, type ReactivateSiteSubscriptionsTeardownError, type ReactivateSiteSubscriptionsTeardownErrors, type ReactivateSiteSubscriptionsTeardownResponse, type ReactivateSiteSubscriptionsTeardownResponses, type ReconcileOptionInput, type ReconcileOptionValueInput, type ReconcileVariantInput, type RefundOrder, type RefundOrderData, type RefundOrderError, type RefundOrderErrors, type RefundOrderResponse, type RefundOrderResponses, type RefundResult, type ResendOrderReceiptData, type ResendOrderReceiptError, type ResendOrderReceiptErrors, type ResendOrderReceiptResponse, type ResendOrderReceiptResponses, type ResendReceiptResult, type ResetOrderDownloadsData, type ResetOrderDownloadsError, type ResetOrderDownloadsErrors, type ResetOrderDownloadsResponse, type ResetOrderDownloadsResponses, type ResetWebhookEventData, type ResetWebhookEventError, type ResetWebhookEventErrors, type ResetWebhookEventResponse, type ResetWebhookEventResponses, type ResolveManageLinkData, type ResolveManageLinkError, type ResolveManageLinkErrors, type ResolveManageLinkResponse, type ResolveManageLinkResponses, type RevokeCustomerAccessData, type RevokeCustomerAccessError, type RevokeCustomerAccessErrors, type RevokeCustomerAccessResponse, type RevokeCustomerAccessResponses, type RevokeCustomerAccessResult, type SalesSummary, type SalesSummaryProductRow, type SalesSummarySeriesEntry, type SetInventory, type SetOrderFulfillmentData, type SetOrderFulfillmentErrors, type SetOrderFulfillmentResponse, type SetOrderFulfillmentResponses, type SetProductSubscription, type SetProductSubscriptionData, type SetProductSubscriptionError, type SetProductSubscriptionErrors, type SetProductSubscriptionResponse, type SetProductSubscriptionResponses, type SetProductVariants, type SetProductVariantsConflict, type SetProductVariantsData, type SetProductVariantsError, type SetProductVariantsErrors, type SetProductVariantsResponse, type SetProductVariantsResponses, type SetProductVariantsResult, type SetVariantInventoryData, type SetVariantInventoryError, type SetVariantInventoryErrors, type SetVariantInventoryResponse, type SetVariantInventoryResponses, type SettledTotals, type ShippingOptionUnavailable, type ShippingRateInput, type Site, type SiteAccountRoute, type SiteDomains, type SitePayments, type SiteWithRestatement, type SiteWithToken, type SitesList, type Submission, type SubmissionMetadata, type SubmissionsList, type SubscriberActionResult, type SubscriberSubscription, type SubscriptionPlan, type SubscriptionPlanInput, type SubscriptionSummary, type SubscriptionsList, type SubscriptionsReactivateBody, type SubscriptionsReactivateResult, type SubscriptionsTeardownBody, type SubscriptionsTeardownResult, type SummaryPeriod, type TeardownReason, type TeardownSiteSubscriptionsData, type TeardownSiteSubscriptionsError, type TeardownSiteSubscriptionsErrors, type TeardownSiteSubscriptionsResponse, type TeardownSiteSubscriptionsResponses, type TestOrderResult, type TestShippingAddress, type TestSubscriptionResult, type UpdateCustomer, type UpdateCustomerData, type UpdateCustomerError, type UpdateCustomerErrors, type UpdateCustomerResponse, type UpdateCustomerResponses, type UpdateForm, type UpdateFormData, type UpdateFormError, type UpdateFormErrors, type UpdateFormResponse, type UpdateFormResponses, type UpdateOption, type UpdateOptionData, type UpdateOptionError, type UpdateOptionErrors, type UpdateOptionResponse, type UpdateOptionResponses, type UpdateProduct, type UpdateProductData, type UpdateProductError, type UpdateProductErrors, type UpdateProductResponse, type UpdateProductResponses, type UpdateSite, type UpdateSiteAccountRoute, type UpdateSiteAccountRouteData, type UpdateSiteAccountRouteError, type UpdateSiteAccountRouteErrors, type UpdateSiteAccountRouteResponse, type UpdateSiteAccountRouteResponses, type UpdateSiteData, type UpdateSiteDomains, type UpdateSiteDomainsData, type UpdateSiteDomainsError, type UpdateSiteDomainsErrors, type UpdateSiteDomainsResponse, type UpdateSiteDomainsResponses, type UpdateSiteError, type UpdateSiteErrors, type UpdateSitePayments, type UpdateSitePaymentsData, type UpdateSitePaymentsError, type UpdateSitePaymentsErrors, type UpdateSitePaymentsResponse, type UpdateSitePaymentsResponses, type UpdateSiteResponse, type UpdateSiteResponses, type UpdateSubscriptionAddressRequest, type UpdateVariant, type UpdateVariantData, type UpdateVariantError, type UpdateVariantErrors, type UpdateVariantResponse, type UpdateVariantResponses, type Variant, type VariantOptionValue, type WebhookEventResetResult, accountCancelSubscription, accountCreatePortalSession, accountLogin, accountLogout, accountManageCancel, accountManageGetSubscription, accountManagePortalSession, accountManageVerify, accountMe, accountReactivateSubscription, accountSubscribe, accountUpdateSubscriptionAddress, accountVerify, actOnManageLink, adjustVariantInventory, attachProductFile, cancelSubscription, createCartCheckout, createCheckout, createClient, createConfig, createCustomer, createForm, createFormWithSiteToken, createMultiItemTestOrder, createOption, createPreviewSession, createProduct, createProductWithSiteToken, createSite, createTestOrder, createTestSubscription, createVariant, deleteForm, deleteOption, deleteProduct, deleteSite, deleteSubmission, deleteVariant, downloadAttachment, downloadFile, generateVariants, getBusinessSummary, getCartSummary, getCustomer, getForm, getGeo, getNextPayout, getOrder, getOrderSession, getPaymentsStatus, getPerson, getProduct, getPublicProduct, getSalesSummary, getSite, getSiteCheckoutPause, getSubmission, listCustomers, listForms, listFormsWithSiteToken, listOrdersWithSiteToken, listPeople, listProducts, listProductsWithSiteToken, listSites, listSubmissions, listSubscriptions, pauseSiteCheckout, reactivateSiteSubscriptionsTeardown, refundOrder, resendOrderReceipt, resetOrderDownloads, resetWebhookEvent, resolveManageLink, revokeCustomerAccess, setOrderFulfillment, setProductSubscription, setProductVariants, setVariantInventory, teardownSiteSubscriptions, updateCustomer, updateForm, updateOption, updateProduct, updateSite, updateSiteAccountRoute, updateSiteDomains, updateSitePayments, updateVariant };
6441
+ export { type AccountCancelSubscriptionData, type AccountCancelSubscriptionError, type AccountCancelSubscriptionErrors, type AccountCancelSubscriptionResponse, type AccountCancelSubscriptionResponses, type AccountCreatePortalSessionData, type AccountCreatePortalSessionError, type AccountCreatePortalSessionErrors, type AccountCreatePortalSessionResponse, type AccountCreatePortalSessionResponses, type AccountLoginData, type AccountLoginError, type AccountLoginErrors, type AccountLoginRequest, type AccountLoginResponse, type AccountLoginResponses, type AccountLoginResult, type AccountLogoutData, type AccountLogoutError, type AccountLogoutErrors, type AccountLogoutResponse, type AccountLogoutResponses, type AccountLogoutResult, type AccountManageCancelData, type AccountManageCancelError, type AccountManageCancelErrors, type AccountManageCancelResponse, type AccountManageCancelResponses, type AccountManageGetSubscriptionData, type AccountManageGetSubscriptionError, type AccountManageGetSubscriptionErrors, type AccountManageGetSubscriptionResponse, type AccountManageGetSubscriptionResponses, type AccountManagePortalSessionData, type AccountManagePortalSessionError, type AccountManagePortalSessionErrors, type AccountManagePortalSessionResponse, type AccountManagePortalSessionResponses, type AccountManageVerifyData, type AccountManageVerifyError, type AccountManageVerifyErrors, type AccountManageVerifyResponse, type AccountManageVerifyResponses, type AccountMeData, type AccountMeError, type AccountMeErrors, type AccountMeResponse, type AccountMeResponses, type AccountMeResult, type AccountReactivateSubscriptionData, type AccountReactivateSubscriptionError, type AccountReactivateSubscriptionErrors, type AccountReactivateSubscriptionResponse, type AccountReactivateSubscriptionResponses, type AccountSubscribeData, type AccountSubscribeError, type AccountSubscribeErrors, type AccountSubscribeRequest, type AccountSubscribeResponse, type AccountSubscribeResponses, type AccountUpdateSubscriptionAddressData, type AccountUpdateSubscriptionAddressError, type AccountUpdateSubscriptionAddressErrors, type AccountUpdateSubscriptionAddressResponse, type AccountUpdateSubscriptionAddressResponses, type AccountVerifyData, type AccountVerifyError, type AccountVerifyErrors, type AccountVerifyRequest, type AccountVerifyResponse, type AccountVerifyResponses, type AccountVerifyResult, type ActOnManageLinkData, type ActOnManageLinkError, type ActOnManageLinkErrors, type ActOnManageLinkResponse, type ActOnManageLinkResponses, type AdjustInventory, type AdjustVariantInventoryData, type AdjustVariantInventoryError, type AdjustVariantInventoryErrors, type AdjustVariantInventoryResponse, type AdjustVariantInventoryResponses, type AttachProductFileData, type AttachProductFileError, type AttachProductFileErrors, type AttachProductFileFromUrl, type AttachProductFileMultipart, type AttachProductFileResponse, type AttachProductFileResponses, type Attachment, type BusinessSummary, type CancelSubscriptionData, type CancelSubscriptionErrors, type CancelSubscriptionResponse, type CancelSubscriptionResponses, type CartCheckoutRequest, type CartConflict, type CartConflictItem, type CartSummaryRequest, type CartSummaryResult, type ChangedField, type CheckoutPauseRequest, type CheckoutPauseState, type CheckoutRequest, type CheckoutResult, type Client, type ClientOptions$1 as ClientConfig, type ClientOptions, type Config, type CreateCartCheckoutData, type CreateCartCheckoutError, type CreateCartCheckoutErrors, type CreateCartCheckoutResponse, type CreateCartCheckoutResponses, type CreateCheckoutData, type CreateCheckoutError, type CreateCheckoutErrors, type CreateCheckoutResponse, type CreateCheckoutResponses, type CreateCustomer, type CreateCustomerData, type CreateCustomerError, type CreateCustomerErrors, type CreateCustomerResponse, type CreateCustomerResponses, type CreateEventDestination, type CreateEventDestinationData, type CreateEventDestinationError, type CreateEventDestinationErrors, type CreateEventDestinationResponse, type CreateEventDestinationResponses, type CreateEventDestinationWithSiteTokenData, type CreateEventDestinationWithSiteTokenError, type CreateEventDestinationWithSiteTokenErrors, type CreateEventDestinationWithSiteTokenResponse, type CreateEventDestinationWithSiteTokenResponses, type CreateForm, type CreateFormData, type CreateFormError, type CreateFormErrors, type CreateFormResponse, type CreateFormResponses, type CreateFormWithSiteTokenData, type CreateFormWithSiteTokenError, type CreateFormWithSiteTokenErrors, type CreateFormWithSiteTokenResponse, type CreateFormWithSiteTokenResponses, type CreateMultiItemTestOrder, type CreateMultiItemTestOrderData, type CreateMultiItemTestOrderError, type CreateMultiItemTestOrderErrors, type CreateMultiItemTestOrderResponse, type CreateMultiItemTestOrderResponses, type CreateOption, type CreateOptionData, type CreateOptionError, type CreateOptionErrors, type CreateOptionResponse, type CreateOptionResponses, type CreatePreviewSession, type CreatePreviewSessionData, type CreatePreviewSessionError, type CreatePreviewSessionErrors, type CreatePreviewSessionResponse, type CreatePreviewSessionResponses, type CreateProduct, type CreateProductData, type CreateProductError, type CreateProductErrors, type CreateProductResponse, type CreateProductResponses, type CreateProductWithSiteTokenData, type CreateProductWithSiteTokenError, type CreateProductWithSiteTokenErrors, type CreateProductWithSiteTokenResponse, type CreateProductWithSiteTokenResponses, type CreateSite, type CreateSiteData, type CreateSiteError, type CreateSiteErrors, type CreateSiteResponse, type CreateSiteResponses, type CreateTestOrder, type CreateTestOrderData, type CreateTestOrderError, type CreateTestOrderErrors, type CreateTestOrderResponse, type CreateTestOrderResponses, type CreateTestSubscription, type CreateTestSubscriptionData, type CreateTestSubscriptionError, type CreateTestSubscriptionErrors, type CreateTestSubscriptionResponse, type CreateTestSubscriptionResponses, type CreateVariant, type CreateVariantData, type CreateVariantError, type CreateVariantErrors, type CreateVariantResponse, type CreateVariantResponses, type CurrencyRestatement, type CurrencyTotals, type Customer, type CustomerAddress, type CustomerDetail, type CustomersList, type DeleteEventDestinationData, type DeleteEventDestinationError, type DeleteEventDestinationErrors, type DeleteEventDestinationResponse, type DeleteEventDestinationResponses, type DeleteEventDestinationWithSiteTokenData, type DeleteEventDestinationWithSiteTokenError, type DeleteEventDestinationWithSiteTokenErrors, type DeleteEventDestinationWithSiteTokenResponse, type DeleteEventDestinationWithSiteTokenResponses, type DeleteFormData, type DeleteFormError, type DeleteFormErrors, type DeleteFormResponse, type DeleteFormResponses, type DeleteOptionData, type DeleteOptionError, type DeleteOptionErrors, type DeleteOptionResponse, type DeleteOptionResponses, type DeleteProductData, type DeleteProductError, type DeleteProductErrors, type DeleteProductResponse, type DeleteProductResponses, type DeleteSiteData, type DeleteSiteError, type DeleteSiteErrors, type DeleteSiteResponse, type DeleteSiteResponses, type DeleteSubmissionData, type DeleteSubmissionError, type DeleteSubmissionErrors, type DeleteSubmissionResponse, type DeleteSubmissionResponses, type DeleteVariantData, type DeleteVariantError, type DeleteVariantErrors, type DeleteVariantResponse, type DeleteVariantResponses, type DownloadAttachmentData, type DownloadAttachmentError, type DownloadAttachmentErrors, type DownloadAttachmentResponses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type Error, type EventDeliveriesList, type EventDelivery, type EventDestination, type EventDestinationSecret, type EventDestinationsList, type Form, type FormsList, type GenerateVariants, type GenerateVariantsData, type GenerateVariantsError, type GenerateVariantsErrors, type GenerateVariantsResponse, type GenerateVariantsResponses, type GenerateVariantsResult, type GeoSuggestion, type GetBusinessSummaryData, type GetBusinessSummaryErrors, type GetBusinessSummaryResponse, type GetBusinessSummaryResponses, type GetCartSummaryData, type GetCartSummaryError, type GetCartSummaryErrors, type GetCartSummaryResponse, type GetCartSummaryResponses, type GetCustomerData, type GetCustomerError, type GetCustomerErrors, type GetCustomerResponse, type GetCustomerResponses, type GetEventDestinationData, type GetEventDestinationError, type GetEventDestinationErrors, type GetEventDestinationResponse, type GetEventDestinationResponses, type GetEventDestinationSecretData, type GetEventDestinationSecretError, type GetEventDestinationSecretErrors, type GetEventDestinationSecretResponse, type GetEventDestinationSecretResponses, type GetEventDestinationSecretWithSiteTokenData, type GetEventDestinationSecretWithSiteTokenError, type GetEventDestinationSecretWithSiteTokenErrors, type GetEventDestinationSecretWithSiteTokenResponse, type GetEventDestinationSecretWithSiteTokenResponses, type GetFormData, type GetFormError, type GetFormErrors, type GetFormResponse, type GetFormResponses, type GetGeoData, type GetGeoResponse, type GetGeoResponses, type GetNextPayoutData, type GetNextPayoutErrors, type GetNextPayoutResponse, type GetNextPayoutResponses, type GetOrderData, type GetOrderError, type GetOrderErrors, type GetOrderResponse, type GetOrderResponses, type GetOrderSessionData, type GetOrderSessionError, type GetOrderSessionErrors, type GetOrderSessionResponse, type GetOrderSessionResponses, type GetPaymentsStatusData, type GetPaymentsStatusError, type GetPaymentsStatusErrors, type GetPaymentsStatusResponse, type GetPaymentsStatusResponses, type GetPersonData, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetProductData, type GetProductError, type GetProductErrors, type GetProductResponse, type GetProductResponses, type GetPublicProductData, type GetPublicProductError, type GetPublicProductErrors, type GetPublicProductResponse, type GetPublicProductResponses, type GetSalesSummaryData, type GetSalesSummaryErrors, type GetSalesSummaryResponse, type GetSalesSummaryResponses, type GetSiteCheckoutPauseData, type GetSiteCheckoutPauseError, type GetSiteCheckoutPauseErrors, type GetSiteCheckoutPauseResponse, type GetSiteCheckoutPauseResponses, type GetSiteData, type GetSiteError, type GetSiteErrors, type GetSiteResponse, type GetSiteResponses, type GetSubmissionData, type GetSubmissionError, type GetSubmissionErrors, type GetSubmissionResponse, type GetSubmissionResponses, type Inventory, type InventoryInput, type ListCustomersData, type ListCustomersError, type ListCustomersErrors, type ListCustomersResponse, type ListCustomersResponses, type ListEventDeliveriesData, type ListEventDeliveriesError, type ListEventDeliveriesErrors, type ListEventDeliveriesResponse, type ListEventDeliveriesResponses, type ListEventDeliveriesWithSiteTokenData, type ListEventDeliveriesWithSiteTokenError, type ListEventDeliveriesWithSiteTokenErrors, type ListEventDeliveriesWithSiteTokenResponse, type ListEventDeliveriesWithSiteTokenResponses, type ListEventDestinationsData, type ListEventDestinationsError, type ListEventDestinationsErrors, type ListEventDestinationsResponse, type ListEventDestinationsResponses, type ListEventDestinationsWithSiteTokenData, type ListEventDestinationsWithSiteTokenError, type ListEventDestinationsWithSiteTokenErrors, type ListEventDestinationsWithSiteTokenResponse, type ListEventDestinationsWithSiteTokenResponses, type ListFormsData, type ListFormsError, type ListFormsErrors, type ListFormsResponse, type ListFormsResponses, type ListFormsWithSiteTokenData, type ListFormsWithSiteTokenError, type ListFormsWithSiteTokenErrors, type ListFormsWithSiteTokenResponse, type ListFormsWithSiteTokenResponses, type ListOrdersWithSiteTokenData, type ListOrdersWithSiteTokenError, type ListOrdersWithSiteTokenErrors, type ListOrdersWithSiteTokenResponse, type ListOrdersWithSiteTokenResponses, type ListPeopleData, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListProductsData, type ListProductsError, type ListProductsErrors, type ListProductsResponse, type ListProductsResponses, type ListProductsWithSiteTokenData, type ListProductsWithSiteTokenError, type ListProductsWithSiteTokenErrors, type ListProductsWithSiteTokenResponse, type ListProductsWithSiteTokenResponses, type ListSitesData, type ListSitesError, type ListSitesErrors, type ListSitesResponse, type ListSitesResponses, type ListSubmissionsData, type ListSubmissionsError, type ListSubmissionsErrors, type ListSubmissionsResponse, type ListSubmissionsResponses, type ListSubscriptionsData, type ListSubscriptionsErrors, type ListSubscriptionsResponse, type ListSubscriptionsResponses, type ManageCancelResult, type ManageLinkAction, type ManageVerifyRequest, type ManageVerifyResult, type ManagedSubscription, type ManagedSubscriptionResult, type NeedsAttentionItem, type NestedOptionInput, type NestedVariantInput, type NextPayout, type Option, type Options, type Order, type OrderCustomer, type OrderFulfillmentRequest, type OrderSessionStatus, type OrdersList, type PauseSiteCheckoutData, type PauseSiteCheckoutError, type PauseSiteCheckoutErrors, type PauseSiteCheckoutResponse, type PauseSiteCheckoutResponses, type PaymentsStatus, type PeopleList, type PersonDetail, type PersonRow, type PortalSessionResult, type PreviewSessionResult, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentInput, type ProductSubscriptionConfig, type ProductsList, type PublicOption, type PublicProduct, type PublicSubscription, type PublicSubscriptionPlan, type PublicVariant, type ReactivateSiteSubscriptionsTeardownData, type ReactivateSiteSubscriptionsTeardownError, type ReactivateSiteSubscriptionsTeardownErrors, type ReactivateSiteSubscriptionsTeardownResponse, type ReactivateSiteSubscriptionsTeardownResponses, type ReconcileOptionInput, type ReconcileOptionValueInput, type ReconcileVariantInput, type RefundOrder, type RefundOrderData, type RefundOrderError, type RefundOrderErrors, type RefundOrderResponse, type RefundOrderResponses, type RefundResult, type ResendOrderReceiptData, type ResendOrderReceiptError, type ResendOrderReceiptErrors, type ResendOrderReceiptResponse, type ResendOrderReceiptResponses, type ResendReceiptResult, type ResetOrderDownloadsData, type ResetOrderDownloadsError, type ResetOrderDownloadsErrors, type ResetOrderDownloadsResponse, type ResetOrderDownloadsResponses, type ResetWebhookEventData, type ResetWebhookEventError, type ResetWebhookEventErrors, type ResetWebhookEventResponse, type ResetWebhookEventResponses, type ResolveManageLinkData, type ResolveManageLinkError, type ResolveManageLinkErrors, type ResolveManageLinkResponse, type ResolveManageLinkResponses, type RetryEventDeliveryData, type RetryEventDeliveryError, type RetryEventDeliveryErrors, type RetryEventDeliveryResponse, type RetryEventDeliveryResponses, type RetryEventDeliveryWithSiteTokenData, type RetryEventDeliveryWithSiteTokenError, type RetryEventDeliveryWithSiteTokenErrors, type RetryEventDeliveryWithSiteTokenResponse, type RetryEventDeliveryWithSiteTokenResponses, type RevokeCustomerAccessData, type RevokeCustomerAccessError, type RevokeCustomerAccessErrors, type RevokeCustomerAccessResponse, type RevokeCustomerAccessResponses, type RevokeCustomerAccessResult, type RotateEventDestinationSecretData, type RotateEventDestinationSecretError, type RotateEventDestinationSecretErrors, type RotateEventDestinationSecretResponse, type RotateEventDestinationSecretResponses, type RotateEventDestinationSecretWithSiteTokenData, type RotateEventDestinationSecretWithSiteTokenError, type RotateEventDestinationSecretWithSiteTokenErrors, type RotateEventDestinationSecretWithSiteTokenResponse, type RotateEventDestinationSecretWithSiteTokenResponses, type SalesSummary, type SalesSummaryProductRow, type SalesSummarySeriesEntry, type SetInventory, type SetOrderFulfillmentData, type SetOrderFulfillmentErrors, type SetOrderFulfillmentResponse, type SetOrderFulfillmentResponses, type SetProductSubscription, type SetProductSubscriptionData, type SetProductSubscriptionError, type SetProductSubscriptionErrors, type SetProductSubscriptionResponse, type SetProductSubscriptionResponses, type SetProductVariants, type SetProductVariantsConflict, type SetProductVariantsData, type SetProductVariantsError, type SetProductVariantsErrors, type SetProductVariantsResponse, type SetProductVariantsResponses, type SetProductVariantsResult, type SetVariantInventoryData, type SetVariantInventoryError, type SetVariantInventoryErrors, type SetVariantInventoryResponse, type SetVariantInventoryResponses, type SettledTotals, type ShippingOptionUnavailable, type ShippingRateInput, type Site, type SiteAccountRoute, type SiteDomains, type SitePayments, type SiteWithRestatement, type SiteWithToken, type SitesList, type Submission, type SubmissionMetadata, type SubmissionsList, type SubscriberActionResult, type SubscriberSubscription, type SubscriptionPlan, type SubscriptionPlanInput, type SubscriptionSummary, type SubscriptionsList, type SubscriptionsReactivateBody, type SubscriptionsReactivateResult, type SubscriptionsTeardownBody, type SubscriptionsTeardownResult, type SummaryPeriod, type TeardownReason, type TeardownSiteSubscriptionsData, type TeardownSiteSubscriptionsError, type TeardownSiteSubscriptionsErrors, type TeardownSiteSubscriptionsResponse, type TeardownSiteSubscriptionsResponses, type TestOrderResult, type TestShippingAddress, type TestSubscriptionResult, type UpdateCustomer, type UpdateCustomerData, type UpdateCustomerError, type UpdateCustomerErrors, type UpdateCustomerResponse, type UpdateCustomerResponses, type UpdateEventDestination, type UpdateEventDestinationData, type UpdateEventDestinationError, type UpdateEventDestinationErrors, type UpdateEventDestinationResponse, type UpdateEventDestinationResponses, type UpdateEventDestinationWithSiteTokenData, type UpdateEventDestinationWithSiteTokenError, type UpdateEventDestinationWithSiteTokenErrors, type UpdateEventDestinationWithSiteTokenResponse, type UpdateEventDestinationWithSiteTokenResponses, type UpdateForm, type UpdateFormData, type UpdateFormError, type UpdateFormErrors, type UpdateFormResponse, type UpdateFormResponses, type UpdateOption, type UpdateOptionData, type UpdateOptionError, type UpdateOptionErrors, type UpdateOptionResponse, type UpdateOptionResponses, type UpdateProduct, type UpdateProductData, type UpdateProductError, type UpdateProductErrors, type UpdateProductResponse, type UpdateProductResponses, type UpdateSite, type UpdateSiteAccountRoute, type UpdateSiteAccountRouteData, type UpdateSiteAccountRouteError, type UpdateSiteAccountRouteErrors, type UpdateSiteAccountRouteResponse, type UpdateSiteAccountRouteResponses, type UpdateSiteData, type UpdateSiteDomains, type UpdateSiteDomainsData, type UpdateSiteDomainsError, type UpdateSiteDomainsErrors, type UpdateSiteDomainsResponse, type UpdateSiteDomainsResponses, type UpdateSiteError, type UpdateSiteErrors, type UpdateSitePayments, type UpdateSitePaymentsData, type UpdateSitePaymentsError, type UpdateSitePaymentsErrors, type UpdateSitePaymentsResponse, type UpdateSitePaymentsResponses, type UpdateSiteResponse, type UpdateSiteResponses, type UpdateSubscriptionAddressRequest, type UpdateVariant, type UpdateVariantData, type UpdateVariantError, type UpdateVariantErrors, type UpdateVariantResponse, type UpdateVariantResponses, type Variant, type VariantOptionValue, type WebhookEventResetResult, accountCancelSubscription, accountCreatePortalSession, accountLogin, accountLogout, accountManageCancel, accountManageGetSubscription, accountManagePortalSession, accountManageVerify, accountMe, accountReactivateSubscription, accountSubscribe, accountUpdateSubscriptionAddress, accountVerify, actOnManageLink, adjustVariantInventory, attachProductFile, cancelSubscription, createCartCheckout, createCheckout, createClient, createConfig, createCustomer, createEventDestination, createEventDestinationWithSiteToken, createForm, createFormWithSiteToken, createMultiItemTestOrder, createOption, createPreviewSession, createProduct, createProductWithSiteToken, createSite, createTestOrder, createTestSubscription, createVariant, deleteEventDestination, deleteEventDestinationWithSiteToken, deleteForm, deleteOption, deleteProduct, deleteSite, deleteSubmission, deleteVariant, downloadAttachment, downloadFile, generateVariants, getBusinessSummary, getCartSummary, getCustomer, getEventDestination, getEventDestinationSecret, getEventDestinationSecretWithSiteToken, getForm, getGeo, getNextPayout, getOrder, getOrderSession, getPaymentsStatus, getPerson, getProduct, getPublicProduct, getSalesSummary, getSite, getSiteCheckoutPause, getSubmission, listCustomers, listEventDeliveries, listEventDeliveriesWithSiteToken, listEventDestinations, listEventDestinationsWithSiteToken, listForms, listFormsWithSiteToken, listOrdersWithSiteToken, listPeople, listProducts, listProductsWithSiteToken, listSites, listSubmissions, listSubscriptions, pauseSiteCheckout, reactivateSiteSubscriptionsTeardown, refundOrder, resendOrderReceipt, resetOrderDownloads, resetWebhookEvent, resolveManageLink, retryEventDelivery, retryEventDeliveryWithSiteToken, revokeCustomerAccess, rotateEventDestinationSecret, rotateEventDestinationSecretWithSiteToken, setOrderFulfillment, setProductSubscription, setProductVariants, setVariantInventory, teardownSiteSubscriptions, updateCustomer, updateEventDestination, updateEventDestinationWithSiteToken, updateForm, updateOption, updateProduct, updateSite, updateSiteAccountRoute, updateSiteDomains, updateSitePayments, updateVariant };