@outseta/react 0.4.43 → 0.4.44

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
@@ -4148,6 +4153,7 @@ export {
4148
4153
  EntityType,
4149
4154
  LeadCaptureButton,
4150
4155
  LeadCaptureEmbed,
4156
+ LeadFormSubmissionFieldOutcome,
4151
4157
  LineItemType,
4152
4158
  LoginButton,
4153
4159
  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.44",
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.50"
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
  */
@@ -8100,6 +8129,7 @@ export type PersonWebhookEntityLeadFormSubmissionsItem = {
8100
8129
  Updated: string;
8101
8130
  /** @nullable */
8102
8131
  RefererURL?: string | null;
8132
+ HasPendingFields?: boolean;
8103
8133
  /** @nullable */
8104
8134
  RecaptchaToken?: string | null;
8105
8135
  /** @nullable */
@@ -8646,6 +8676,8 @@ export interface PersonLeadFormSubmittedActivityData {
8646
8676
  /** @nullable */
8647
8677
  LeadFormUid?: string | null;
8648
8678
  /** @nullable */
8679
+ LeadFormSubmissionUid?: string | null;
8680
+ /** @nullable */
8649
8681
  RefererUrl?: string | null;
8650
8682
  }
8651
8683