From dc572acdbf0c4856ed33edc5604b79f18b750595 Mon Sep 17 00:00:00 2001 From: Nick Aguilar Date: Tue, 27 Feb 2024 02:55:47 -0800 Subject: [PATCH] [STRATCONN-3575] Updates salesforce enable_batch field to reflect accurate batch sizes (#1899) * Updates salesforce enable_batch field to reflect accurate batch sizes * Generates types --- .../src/destinations/salesforce/account/generated-types.ts | 2 +- .../src/destinations/salesforce/cases/generated-types.ts | 2 +- .../src/destinations/salesforce/contact/generated-types.ts | 2 +- .../src/destinations/salesforce/customObject/generated-types.ts | 2 +- .../src/destinations/salesforce/lead/generated-types.ts | 2 +- .../src/destinations/salesforce/opportunity/generated-types.ts | 2 +- .../src/destinations/salesforce/sf-properties.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/destination-actions/src/destinations/salesforce/account/generated-types.ts b/packages/destination-actions/src/destinations/salesforce/account/generated-types.ts index 45cb6216e6..60f50a701f 100644 --- a/packages/destination-actions/src/destinations/salesforce/account/generated-types.ts +++ b/packages/destination-actions/src/destinations/salesforce/account/generated-types.ts @@ -6,7 +6,7 @@ export interface Payload { */ operation: string /** - * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 1000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. + * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 5000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. */ enable_batching?: boolean /** diff --git a/packages/destination-actions/src/destinations/salesforce/cases/generated-types.ts b/packages/destination-actions/src/destinations/salesforce/cases/generated-types.ts index 97428a1732..dea001797e 100644 --- a/packages/destination-actions/src/destinations/salesforce/cases/generated-types.ts +++ b/packages/destination-actions/src/destinations/salesforce/cases/generated-types.ts @@ -10,7 +10,7 @@ export interface Payload { */ recordMatcherOperator?: string /** - * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 1000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. + * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 5000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. */ enable_batching?: boolean /** diff --git a/packages/destination-actions/src/destinations/salesforce/contact/generated-types.ts b/packages/destination-actions/src/destinations/salesforce/contact/generated-types.ts index d4bfc97a97..79c8e140f7 100644 --- a/packages/destination-actions/src/destinations/salesforce/contact/generated-types.ts +++ b/packages/destination-actions/src/destinations/salesforce/contact/generated-types.ts @@ -10,7 +10,7 @@ export interface Payload { */ recordMatcherOperator?: string /** - * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 1000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. + * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 5000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. */ enable_batching?: boolean /** diff --git a/packages/destination-actions/src/destinations/salesforce/customObject/generated-types.ts b/packages/destination-actions/src/destinations/salesforce/customObject/generated-types.ts index 460d500e61..53b60ed677 100644 --- a/packages/destination-actions/src/destinations/salesforce/customObject/generated-types.ts +++ b/packages/destination-actions/src/destinations/salesforce/customObject/generated-types.ts @@ -10,7 +10,7 @@ export interface Payload { */ recordMatcherOperator?: string /** - * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 1000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. + * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 5000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. */ enable_batching?: boolean /** diff --git a/packages/destination-actions/src/destinations/salesforce/lead/generated-types.ts b/packages/destination-actions/src/destinations/salesforce/lead/generated-types.ts index 9387e54c75..746f92b3ad 100644 --- a/packages/destination-actions/src/destinations/salesforce/lead/generated-types.ts +++ b/packages/destination-actions/src/destinations/salesforce/lead/generated-types.ts @@ -10,7 +10,7 @@ export interface Payload { */ recordMatcherOperator?: string /** - * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 1000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. + * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 5000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. */ enable_batching?: boolean /** diff --git a/packages/destination-actions/src/destinations/salesforce/opportunity/generated-types.ts b/packages/destination-actions/src/destinations/salesforce/opportunity/generated-types.ts index 207b4ef9f4..ba337d4ff9 100644 --- a/packages/destination-actions/src/destinations/salesforce/opportunity/generated-types.ts +++ b/packages/destination-actions/src/destinations/salesforce/opportunity/generated-types.ts @@ -10,7 +10,7 @@ export interface Payload { */ recordMatcherOperator?: string /** - * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 1000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. + * If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 5000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*. */ enable_batching?: boolean /** diff --git a/packages/destination-actions/src/destinations/salesforce/sf-properties.ts b/packages/destination-actions/src/destinations/salesforce/sf-properties.ts index 88b9f7fe89..442615b3cb 100644 --- a/packages/destination-actions/src/destinations/salesforce/sf-properties.ts +++ b/packages/destination-actions/src/destinations/salesforce/sf-properties.ts @@ -17,7 +17,7 @@ export const operation: InputField = { export const enable_batching: InputField = { label: 'Use Salesforce Bulk API', description: - 'If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 1000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*.', + 'If true, events are sent to [Salesforce’s Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) rather than their streaming REST API. Once enabled, Segment will collect events into batches of 5000 before sending to Salesforce. *Enabling Bulk API is not compatible with the `create` operation*.', type: 'boolean', default: false }