@outseta/api-client 0.3.49 → 0.3.50

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
@@ -1913,6 +1913,12 @@ var EntityType = {
1913
1913
  Broadcast: 12,
1914
1914
  Article: 13
1915
1915
  };
1916
+ // src/generated/models/leadFormSubmissionFieldOutcome.ts
1917
+ var LeadFormSubmissionFieldOutcome = {
1918
+ Written: "Written",
1919
+ Unchanged: "Unchanged",
1920
+ Skipped: "Skipped"
1921
+ };
1916
1922
  // src/generated/models/lineItemType.ts
1917
1923
  var LineItemType = {
1918
1924
  Plan: 1,
@@ -2186,6 +2192,7 @@ export {
2186
2192
  DeserializationStatus,
2187
2193
  EmailListSubscriberStatus,
2188
2194
  EntityType,
2195
+ LeadFormSubmissionFieldOutcome,
2189
2196
  LineItemType,
2190
2197
  OAuthService,
2191
2198
  PaymentsGatewayActivationStatus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/api-client",
3
- "version": "0.3.49",
3
+ "version": "0.3.50",
4
4
  "description": "Generated API client for the Outseta REST API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -451,6 +451,8 @@ export * from './leadFormAllOf';
451
451
  export * from './leadFormAllOfDealPipelineStage';
452
452
  export * from './leadFormSubmission';
453
453
  export * from './leadFormSubmissionAllOf';
454
+ export * from './leadFormSubmissionField';
455
+ export * from './leadFormSubmissionFieldOutcome';
454
456
  export * from './limitParameter';
455
457
  export * from './lineItemType';
456
458
  export * from './message';
@@ -1,12 +1,16 @@
1
1
  // @ts-nocheck
2
2
  import type { Person } from './person';
3
3
  import type { LeadForm } from './leadForm';
4
+ import type { LeadFormSubmissionField } from './leadFormSubmissionField';
4
5
 
5
6
  export type LeadFormSubmissionAllOf = {
6
7
  Person: Person;
7
8
  LeadForm: LeadForm;
8
9
  /** @nullable */
9
10
  RefererURL?: string | null;
11
+ HasPendingFields?: boolean;
12
+ /** @nullable */
13
+ Fields?: LeadFormSubmissionField[] | null;
10
14
  /** @nullable */
11
15
  RecaptchaToken?: string | null;
12
16
  /** @nullable */
@@ -0,0 +1,12 @@
1
+ // @ts-nocheck
2
+ import type { LeadFormSubmissionFieldOutcome } from './leadFormSubmissionFieldOutcome';
3
+
4
+ export interface LeadFormSubmissionField {
5
+ /** @nullable */
6
+ SystemName?: string | null;
7
+ /** @nullable */
8
+ Value?: string | null;
9
+ Outcome?: LeadFormSubmissionFieldOutcome;
10
+ /** @nullable */
11
+ PersonValue?: string | null;
12
+ }
@@ -0,0 +1,17 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `Written` - Saved, `Unchanged` - Unchanged, `Skipped` - Not saved
5
+ */
6
+ export type LeadFormSubmissionFieldOutcome = typeof LeadFormSubmissionFieldOutcome[keyof typeof LeadFormSubmissionFieldOutcome];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const LeadFormSubmissionFieldOutcome = {
11
+ /** Saved */
12
+ Written: 'Written',
13
+ /** Unchanged */
14
+ Unchanged: 'Unchanged',
15
+ /** Not saved */
16
+ Skipped: 'Skipped',
17
+ } as const;
@@ -4,5 +4,7 @@ export interface PersonLeadFormSubmittedActivityData {
4
4
  /** @nullable */
5
5
  LeadFormUid?: string | null;
6
6
  /** @nullable */
7
+ LeadFormSubmissionUid?: string | null;
8
+ /** @nullable */
7
9
  RefererUrl?: string | null;
8
10
  }
@@ -14,6 +14,7 @@ export type PersonWebhookEntityLeadFormSubmissionsItem = {
14
14
  Updated: string;
15
15
  /** @nullable */
16
16
  RefererURL?: string | null;
17
+ HasPendingFields?: boolean;
17
18
  /** @nullable */
18
19
  RecaptchaToken?: string | null;
19
20
  /** @nullable */