@outseta/react 0.4.43 → 0.4.45

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.js CHANGED
@@ -3612,6 +3612,11 @@ var TeamRole = {
3612
3612
  Member: 2,
3613
3613
  Operator: 3
3614
3614
  };
3615
+ var LeadFormSubmissionFieldOutcome = {
3616
+ Written: "Written",
3617
+ Unchanged: "Unchanged",
3618
+ Skipped: "Skipped"
3619
+ };
3615
3620
  var OAuthService = {
3616
3621
  None: 0,
3617
3622
  Gmail: 1
@@ -3675,6 +3680,7 @@ var QcountConfigSettingType = {
3675
3680
  TwoFactorAuthenticationEnabled: 140,
3676
3681
  ForceTwoFactorAuthentication: 142,
3677
3682
  MagicLinkLoginEnabled: 143,
3683
+ Support_DeleteClosedTicketsAfterMonths: 148,
3678
3684
  GoogleAnalyticsMeasurementId: 170,
3679
3685
  GoogleAnalyticsApiSecret: 171,
3680
3686
  Stripe_TaxEnabled: 190,
@@ -4148,6 +4154,7 @@ export {
4148
4154
  EntityType,
4149
4155
  LeadCaptureButton,
4150
4156
  LeadCaptureEmbed,
4157
+ LeadFormSubmissionFieldOutcome,
4151
4158
  LineItemType,
4152
4159
  LoginButton,
4153
4160
  LogoutButton,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/react",
3
- "version": "0.4.43",
3
+ "version": "0.4.45",
4
4
  "description": "React hooks and components for the Outseta API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  }
19
19
  },
20
20
  "dependencies": {
21
- "@outseta/api-client": "0.3.49"
21
+ "@outseta/api-client": "0.3.51"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^18.0.0 || ^19.0.0"
@@ -2690,6 +2690,9 @@ export type LeadFormSubmissionAllOf = {
2690
2690
  LeadForm: LeadForm;
2691
2691
  /** @nullable */
2692
2692
  RefererURL?: string | null;
2693
+ HasPendingFields?: boolean;
2694
+ /** @nullable */
2695
+ Fields?: LeadFormSubmissionField[] | null;
2693
2696
  /** @nullable */
2694
2697
  RecaptchaToken?: string | null;
2695
2698
  /** @nullable */
@@ -2726,6 +2729,32 @@ export type LeadFormAllOf = {
2726
2729
 
2727
2730
  export type LeadForm = AbstractQcountBean & LeadFormAllOf;
2728
2731
 
2732
+ export interface LeadFormSubmissionField {
2733
+ /** @nullable */
2734
+ SystemName?: string | null;
2735
+ /** @nullable */
2736
+ Value?: string | null;
2737
+ Outcome?: LeadFormSubmissionFieldOutcome;
2738
+ /** @nullable */
2739
+ PersonValue?: string | null;
2740
+ }
2741
+
2742
+ /**
2743
+ * `Written` - Saved, `Unchanged` - Unchanged, `Skipped` - Not saved
2744
+ */
2745
+ export type LeadFormSubmissionFieldOutcome = typeof LeadFormSubmissionFieldOutcome[keyof typeof LeadFormSubmissionFieldOutcome];
2746
+
2747
+
2748
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
2749
+ export const LeadFormSubmissionFieldOutcome = {
2750
+ /** Saved */
2751
+ Written: 'Written',
2752
+ /** Unchanged */
2753
+ Unchanged: 'Unchanged',
2754
+ /** Not saved */
2755
+ Skipped: 'Skipped',
2756
+ } as const;
2757
+
2729
2758
  /**
2730
2759
  * `0` - None, `1` - Gmail
2731
2760
  */
@@ -3459,7 +3488,7 @@ export type QcountConfigAllOf = {
3459
3488
  export type QcountConfig = AbstractQcountBean & QcountConfigAllOf;
3460
3489
 
3461
3490
  /**
3462
- * `100` - Slack, `102` - MagicLinkApiKey, `103` - MagicLinkApiKeySecret, `104` - OAuth_HideCreateAccountLink, `105` - Chat_IsOffline, `106` - HostedPageCustomCode, `107` - RegistrationConfirmationEmailDelaySeconds, `108` - AccountCancellationReasons, `110` - WebhookSignatureKey, `111` - HostedProfileBackLink, `112` - AccountCancellationReasonRequired, `114` - Email_OutsetaBrandingDisabled, `119` - Email_BlacklistedInboundEmails, `121` - PasswordPolicy, `123` - CRM_FieldSortingEnabled, `124` - CRM_RegistrationCallbackLocations, `125` - KnowledgeBaseVersion, `126` - Support_SpamThreshold, `127` - Email_RestrictedPhrases, `128` - KnowledgeBaseLanguage, `130` - Billing_System, `131` - Billing_RestrictSubscriptionActions, `140` - TwoFactorAuthenticationEnabled, `142` - ForceTwoFactorAuthentication, `143` - MagicLinkLoginEnabled, `170` - GoogleAnalyticsMeasurementId, `171` - GoogleAnalyticsApiSecret, `190` - Stripe_TaxEnabled, `192` - Stripe_TaxIdTypes, `193` - Stripe_ApplePayMerchantIdDomainAssociation, `194` - Stripe_WebhookSecret, `195` - Stripe_OnlySyncOutsetaCustomers, `196` - Stripe_Checkout_RequireBillingAddress, `197` - Stripe_Checkout_RequireConsentTermsOfService, `200` - Webflow_AccessToken, `201` - Webflow_SyncEnabled, `202` - Webflow_SyncConfiguration, `203` - Webflow_ApiVersion, `550` - CopyQcount_AddOnMap, `551` - CopyQcount_AccountMap, `552` - CopyQcount_DiscountCouponMap, `553` - CopyQcount_InvoiceMap, `554` - CopyQcount_PersonMap, `555` - CopyQcount_PlanMap, `556` - CopyQcount_PlanFamilyMap, `557` - CopyQcount_SubscriptionMap, `558` - CopyQcount_TransactionMap, `570` - StripeMigration_LastAccountId, `571` - StripeMigration_LastInvoiceId, `572` - StripeMigration_LastExpiredSubscriptionId, `573` - StripeMigration_LastPostExportSubscriptionId, `574` - StripeMigration_LastUsageId, `575` - StripeMigration_SubscriptionExportDate, `576` - StripeMigration_SubscriptionExportIds, `577` - StripeMigration_SubscriptionAddOnExportIds, `578` - StripeMigration_SubscriptionCutoverDate, `579` - StripeMigration_LastPreCutoverExportSubscriptionId
3491
+ * `100` - Slack, `102` - MagicLinkApiKey, `103` - MagicLinkApiKeySecret, `104` - OAuth_HideCreateAccountLink, `105` - Chat_IsOffline, `106` - HostedPageCustomCode, `107` - RegistrationConfirmationEmailDelaySeconds, `108` - AccountCancellationReasons, `110` - WebhookSignatureKey, `111` - HostedProfileBackLink, `112` - AccountCancellationReasonRequired, `114` - Email_OutsetaBrandingDisabled, `119` - Email_BlacklistedInboundEmails, `121` - PasswordPolicy, `123` - CRM_FieldSortingEnabled, `124` - CRM_RegistrationCallbackLocations, `125` - KnowledgeBaseVersion, `126` - Support_SpamThreshold, `127` - Email_RestrictedPhrases, `128` - KnowledgeBaseLanguage, `130` - Billing_System, `131` - Billing_RestrictSubscriptionActions, `140` - TwoFactorAuthenticationEnabled, `142` - ForceTwoFactorAuthentication, `143` - MagicLinkLoginEnabled, `148` - Support_DeleteClosedTicketsAfterMonths, `170` - GoogleAnalyticsMeasurementId, `171` - GoogleAnalyticsApiSecret, `190` - Stripe_TaxEnabled, `192` - Stripe_TaxIdTypes, `193` - Stripe_ApplePayMerchantIdDomainAssociation, `194` - Stripe_WebhookSecret, `195` - Stripe_OnlySyncOutsetaCustomers, `196` - Stripe_Checkout_RequireBillingAddress, `197` - Stripe_Checkout_RequireConsentTermsOfService, `200` - Webflow_AccessToken, `201` - Webflow_SyncEnabled, `202` - Webflow_SyncConfiguration, `203` - Webflow_ApiVersion, `550` - CopyQcount_AddOnMap, `551` - CopyQcount_AccountMap, `552` - CopyQcount_DiscountCouponMap, `553` - CopyQcount_InvoiceMap, `554` - CopyQcount_PersonMap, `555` - CopyQcount_PlanMap, `556` - CopyQcount_PlanFamilyMap, `557` - CopyQcount_SubscriptionMap, `558` - CopyQcount_TransactionMap, `570` - StripeMigration_LastAccountId, `571` - StripeMigration_LastInvoiceId, `572` - StripeMigration_LastExpiredSubscriptionId, `573` - StripeMigration_LastPostExportSubscriptionId, `574` - StripeMigration_LastUsageId, `575` - StripeMigration_SubscriptionExportDate, `576` - StripeMigration_SubscriptionExportIds, `577` - StripeMigration_SubscriptionAddOnExportIds, `578` - StripeMigration_SubscriptionCutoverDate, `579` - StripeMigration_LastPreCutoverExportSubscriptionId
3463
3492
  */
3464
3493
  export type QcountConfigSettingType = typeof QcountConfigSettingType[keyof typeof QcountConfigSettingType];
3465
3494
 
@@ -3491,6 +3520,7 @@ export const QcountConfigSettingType = {
3491
3520
  TwoFactorAuthenticationEnabled: 140,
3492
3521
  ForceTwoFactorAuthentication: 142,
3493
3522
  MagicLinkLoginEnabled: 143,
3523
+ Support_DeleteClosedTicketsAfterMonths: 148,
3494
3524
  GoogleAnalyticsMeasurementId: 170,
3495
3525
  GoogleAnalyticsApiSecret: 171,
3496
3526
  Stripe_TaxEnabled: 190,
@@ -8100,6 +8130,7 @@ export type PersonWebhookEntityLeadFormSubmissionsItem = {
8100
8130
  Updated: string;
8101
8131
  /** @nullable */
8102
8132
  RefererURL?: string | null;
8133
+ HasPendingFields?: boolean;
8103
8134
  /** @nullable */
8104
8135
  RecaptchaToken?: string | null;
8105
8136
  /** @nullable */
@@ -8646,6 +8677,8 @@ export interface PersonLeadFormSubmittedActivityData {
8646
8677
  /** @nullable */
8647
8678
  LeadFormUid?: string | null;
8648
8679
  /** @nullable */
8680
+ LeadFormSubmissionUid?: string | null;
8681
+ /** @nullable */
8649
8682
  RefererUrl?: string | null;
8650
8683
  }
8651
8684