diff --git a/api/generated/api.bundled.json b/api/generated/api.bundled.json index b1173ad..dd32190 100644 --- a/api/generated/api.bundled.json +++ b/api/generated/api.bundled.json @@ -11477,6 +11477,21 @@ ] } }, + "SalesforceQuotaOptimizationConfig": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } + }, "BaseSubscribeConfigObject": { "title": "Base Subscribe Config Object", "type": "object", @@ -11515,6 +11530,9 @@ }, "otherEvents": { "$ref": "#/components/schemas/ConfigOtherEvents" + }, + "salesforceQuotaOptimization": { + "$ref": "#/components/schemas/SalesforceQuotaOptimizationConfig" } } }, diff --git a/api/generated/api.json b/api/generated/api.json index 5fce1db..9f09586 100644 --- a/api/generated/api.json +++ b/api/generated/api.json @@ -15088,6 +15088,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -15223,6 +15238,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -17266,6 +17296,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -17401,6 +17446,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -19396,6 +19456,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -19531,6 +19606,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -22286,6 +22376,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -22421,6 +22526,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -23797,6 +23917,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -25742,6 +25877,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -25877,6 +26027,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -28798,6 +28963,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -28933,6 +29113,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -32051,6 +32246,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -32186,6 +32396,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -72074,6 +72299,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -72209,6 +72449,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -73714,6 +73969,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -73849,6 +74119,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, diff --git a/config/config.yaml b/config/config.yaml index 11c3d00..d5b04c1 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -204,6 +204,25 @@ components: $ref: '#/components/schemas/ConfigDeleteEvent' otherEvents: $ref: '#/components/schemas/ConfigOtherEvents' + salesforceQuotaOptimization: + $ref: '#/components/schemas/SalesforceQuotaOptimizationConfig' + + SalesforceQuotaOptimizationConfig: + title: Salesforce Quota Optimization Config + description: > + Salesforce only. Reduces Salesforce API quota consumption for update events by filtering + irrelevant change events at the source: Ampersand creates a checkbox field on the object and + an Apex trigger that sets it when a watched field changes, then only delivers update events + where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; + it cannot be used with `updateEvent.watchFieldsAuto: all`. + type: object + required: + - enabled + properties: + enabled: + type: boolean + description: Whether quota optimization is enabled for this object. + example: true ConfigOtherEvents: title: Other Events diff --git a/config/generated/config.json b/config/generated/config.json index f7c9506..f0c6836 100644 --- a/config/generated/config.json +++ b/config/generated/config.json @@ -1440,6 +1440,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -1565,6 +1580,36 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } + } + } + }, + "SalesforceQuotaOptimizationConfig": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true } } }, @@ -3093,6 +3138,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -3228,6 +3288,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -4643,6 +4718,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } } @@ -4778,6 +4868,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -4918,6 +5023,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }, @@ -5492,6 +5612,21 @@ "object.restored" ] } + }, + "salesforceQuotaOptimization": { + "title": "Salesforce Quota Optimization Config", + "description": "Salesforce only. Reduces Salesforce API quota consumption for update events by filtering irrelevant change events at the source: Ampersand creates a checkbox field on the object and an Apex trigger that sets it when a watched field changes, then only delivers update events where the checkbox is set. Requires `updateEvent.requiredWatchFields` to be non-empty; it cannot be used with `updateEvent.watchFieldsAuto: all`.\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether quota optimization is enabled for this object.", + "example": true + } + } } } }