diff --git a/api/generated/api.bundled.json b/api/generated/api.bundled.json index ab880a8..6ba409f 100644 --- a/api/generated/api.bundled.json +++ b/api/generated/api.bundled.json @@ -12078,31 +12078,13 @@ } } }, - "UseSalesforceFlowsConfig": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } - }, "SubscribeProviderOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { "$ref": "#/components/schemas/QuotaOptimizationConfig" - }, - "useSalesforceFlows": { - "$ref": "#/components/schemas/UseSalesforceFlowsConfig" } } }, @@ -12150,6 +12132,31 @@ } } }, + "UseSalesforceFlowsConfig": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + }, + "SubscribeInstallationProviderOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "$ref": "#/components/schemas/UseSalesforceFlowsConfig" + } + } + }, "BaseSubscribeConfig": { "title": "Base Subscribe Config", "type": "object", @@ -12159,6 +12166,9 @@ "additionalProperties": { "$ref": "#/components/schemas/BaseSubscribeConfigObject" } + }, + "providerOptions": { + "$ref": "#/components/schemas/SubscribeInstallationProviderOptions" } } }, diff --git a/api/generated/api.json b/api/generated/api.json index 6bda4af..4df7bdf 100644 --- a/api/generated/api.json +++ b/api/generated/api.json @@ -15091,7 +15091,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -15108,26 +15108,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -15263,7 +15270,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -15280,21 +15287,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -17343,7 +17335,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -17360,26 +17352,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -17515,7 +17514,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -17532,21 +17531,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -19547,7 +19531,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -19564,26 +19548,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -19719,7 +19710,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -19736,21 +19727,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -22511,7 +22487,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -22528,26 +22504,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -22683,7 +22666,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -22700,21 +22683,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -24096,7 +24064,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -24113,26 +24081,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } } @@ -26078,7 +26053,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -26095,26 +26070,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -26250,7 +26232,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -26267,21 +26249,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -29208,7 +29175,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -29225,26 +29192,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -29380,7 +29354,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -29397,21 +29371,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -32535,7 +32494,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -32552,26 +32511,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -32707,7 +32673,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -32724,21 +32690,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -73708,7 +73659,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -73725,26 +73676,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -73880,7 +73838,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -73897,21 +73855,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -75422,7 +75365,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -75439,26 +75382,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -75594,7 +75544,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -75611,21 +75561,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } diff --git a/config/config.yaml b/config/config.yaml index 329824f..7d3926c 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -173,6 +173,8 @@ components: type: object additionalProperties: $ref: '#/components/schemas/BaseSubscribeConfigObject' + providerOptions: + $ref: '#/components/schemas/SubscribeInstallationProviderOptions' BaseSubscribeConfigObject: title: Base Subscribe Config Object @@ -210,12 +212,24 @@ components: SubscribeProviderOptions: title: Subscribe Provider Options description: > - Subscribe options that only apply to certain providers. Each option documents which - providers support it; setting one for a provider that does not support it is rejected. + Per-object subscribe options that only apply to certain providers. Each option + documents which providers support it; setting one for a provider that does not + support it is rejected. Options that apply to the whole subscription live on + `subscribe.providerOptions` instead. type: object properties: quotaOptimization: $ref: '#/components/schemas/QuotaOptimizationConfig' + + SubscribeInstallationProviderOptions: + title: Subscribe Installation Provider Options + description: > + Subscribe options that apply to the whole installation and only to certain + providers. Each option documents which providers support it; setting one for a + provider that does not support it is rejected. For options that are set per object, + see `subscribe.objects..providerOptions`. + type: object + properties: useSalesforceFlows: $ref: '#/components/schemas/UseSalesforceFlowsConfig' @@ -238,18 +252,16 @@ components: UseSalesforceFlowsConfig: title: Use Salesforce Flows Config description: > - Opt a Salesforce subscribe installation into record-triggered flows and - outbound messages instead of Change Data Capture. An installation uses - only one subscribe method: if any object sets this to enabled, every - object with a subscribe event in that installation must set it too. - Delete events are not supported on this path. Defaults to false (CDC). + Opt this installation's Salesforce subscription into record-triggered flows and + outbound messages instead of Change Data Capture. Delete events are + not supported on this path. Defaults to false (CDC). type: object required: - enabled properties: enabled: type: boolean - description: Whether this object uses Salesforce record-triggered flows for subscribe. + description: Whether this installation uses Salesforce record-triggered flows for subscribe. example: true ConfigOtherEvents: diff --git a/config/generated/config.json b/config/generated/config.json index df5c7e2..d18ec14 100644 --- a/config/generated/config.json +++ b/config/generated/config.json @@ -1443,7 +1443,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -1460,26 +1460,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -1605,7 +1612,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -1622,21 +1629,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -1644,7 +1636,7 @@ }, "SubscribeProviderOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -1661,10 +1653,17 @@ "example": true } } - }, + } + } + }, + "SubscribeInstallationProviderOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { "useSalesforceFlows": { "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", "type": "object", "required": [ "enabled" @@ -1672,7 +1671,7 @@ "properties": { "enabled": { "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", "example": true } } @@ -1696,7 +1695,7 @@ }, "UseSalesforceFlowsConfig": { "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", "type": "object", "required": [ "enabled" @@ -1704,7 +1703,7 @@ "properties": { "enabled": { "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", "example": true } } @@ -3237,7 +3236,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -3254,26 +3253,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -3409,7 +3415,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -3426,21 +3432,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -4861,7 +4852,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -4878,26 +4869,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }, @@ -5033,7 +5031,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -5050,21 +5048,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -5210,7 +5193,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -5227,21 +5210,6 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } @@ -5821,7 +5789,7 @@ }, "providerOptions": { "title": "Subscribe Provider Options", - "description": "Subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected.\n", + "description": "Per-object subscribe options that only apply to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. Options that apply to the whole subscription live on `subscribe.providerOptions` instead.\n", "type": "object", "properties": { "quotaOptimization": { @@ -5838,26 +5806,33 @@ "example": true } } - }, - "useSalesforceFlows": { - "title": "Use Salesforce Flows Config", - "description": "Opt a Salesforce subscribe installation into record-triggered flows and outbound messages instead of Change Data Capture. An installation uses only one subscribe method: if any object sets this to enabled, every object with a subscribe event in that installation must set it too. Delete events are not supported on this path. Defaults to false (CDC). \n", - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether this object uses Salesforce record-triggered flows for subscribe.", - "example": true - } - } } } } } } + }, + "providerOptions": { + "title": "Subscribe Installation Provider Options", + "description": "Subscribe options that apply to the whole installation and only to certain providers. Each option documents which providers support it; setting one for a provider that does not support it is rejected. For options that are set per object, see `subscribe.objects..providerOptions`.\n", + "type": "object", + "properties": { + "useSalesforceFlows": { + "title": "Use Salesforce Flows Config", + "description": "Opt this installation's Salesforce subscription into record-triggered flows and outbound messages instead of Change Data Capture. Delete events are not supported on this path. Defaults to false (CDC).\n", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether this installation uses Salesforce record-triggered flows for subscribe.", + "example": true + } + } + } + } } } }