@wix/auto_sdk_automations_automations-v-2 1.0.82 → 1.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +12 -3
- package/build/cjs/index.js +67 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +44 -1
- package/build/cjs/index.typings.js +56 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +22 -2
- package/build/cjs/meta.js +43 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +12 -3
- package/build/es/index.mjs +66 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +44 -1
- package/build/es/index.typings.mjs +55 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +22 -2
- package/build/es/meta.mjs +42 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +12 -3
- package/build/internal/cjs/index.js +67 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +44 -1
- package/build/internal/cjs/index.typings.js +56 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +22 -2
- package/build/internal/cjs/meta.js +43 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +12 -3
- package/build/internal/es/index.mjs +66 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +44 -1
- package/build/internal/es/index.typings.mjs +55 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +22 -2
- package/build/internal/es/meta.mjs +42 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2358,6 +2358,25 @@ interface UpgradeCTA {
|
|
|
2358
2358
|
*/
|
|
2359
2359
|
label?: string;
|
|
2360
2360
|
}
|
|
2361
|
+
interface GenerateActionInputMappingFromTemplateRequest {
|
|
2362
|
+
/**
|
|
2363
|
+
* Action app ID.
|
|
2364
|
+
* @format GUID
|
|
2365
|
+
*/
|
|
2366
|
+
appId: string;
|
|
2367
|
+
/**
|
|
2368
|
+
* Action key.
|
|
2369
|
+
* @minLength 1
|
|
2370
|
+
* @maxLength 100
|
|
2371
|
+
*/
|
|
2372
|
+
actionKey: string;
|
|
2373
|
+
/** Action input mapping template the action SPI provider will generate input mapping from. */
|
|
2374
|
+
actionInputMappingTemplate: Record<string, any> | null;
|
|
2375
|
+
}
|
|
2376
|
+
interface GenerateActionInputMappingFromTemplateResponse {
|
|
2377
|
+
/** Generated action input mapping. */
|
|
2378
|
+
generatedActionInputMapping?: Record<string, any> | null;
|
|
2379
|
+
}
|
|
2361
2380
|
interface MigrateVeloActionAutomationsRequest {
|
|
2362
2381
|
/** @format GUID */
|
|
2363
2382
|
oldAppId?: string;
|
|
@@ -3151,6 +3170,30 @@ interface ValidateAutomationByIdOptions {
|
|
|
3151
3170
|
/** Validation settings. */
|
|
3152
3171
|
validationSettings?: ValidationSettings;
|
|
3153
3172
|
}
|
|
3173
|
+
/**
|
|
3174
|
+
* Generates action input mapping from a template.
|
|
3175
|
+
* @param appId - Action app ID.
|
|
3176
|
+
* @public
|
|
3177
|
+
* @documentationMaturity preview
|
|
3178
|
+
* @requiredField appId
|
|
3179
|
+
* @requiredField options
|
|
3180
|
+
* @requiredField options.actionInputMappingTemplate
|
|
3181
|
+
* @requiredField options.actionKey
|
|
3182
|
+
* @permissionId AUTOMATIONS.AUTOMATION_READ
|
|
3183
|
+
* @applicableIdentity APP
|
|
3184
|
+
* @fqn wix.automations.v2.AutomationsService.GenerateActionInputMappingFromTemplate
|
|
3185
|
+
*/
|
|
3186
|
+
declare function generateActionInputMappingFromTemplate(appId: string, options: NonNullablePaths<GenerateActionInputMappingFromTemplateOptions, `actionInputMappingTemplate` | `actionKey`, 2>): Promise<GenerateActionInputMappingFromTemplateResponse>;
|
|
3187
|
+
interface GenerateActionInputMappingFromTemplateOptions {
|
|
3188
|
+
/**
|
|
3189
|
+
* Action key.
|
|
3190
|
+
* @minLength 1
|
|
3191
|
+
* @maxLength 100
|
|
3192
|
+
*/
|
|
3193
|
+
actionKey: string;
|
|
3194
|
+
/** Action input mapping template the action SPI provider will generate input mapping from. */
|
|
3195
|
+
actionInputMappingTemplate: Record<string, any> | null;
|
|
3196
|
+
}
|
|
3154
3197
|
/**
|
|
3155
3198
|
* Gets the specified automation revision.
|
|
3156
3199
|
* @param automationId - Automation ID.
|
|
@@ -3172,4 +3215,4 @@ interface GetAutomationRevisionOptions {
|
|
|
3172
3215
|
fields?: RequestedFieldsWithLiterals[];
|
|
3173
3216
|
}
|
|
3174
3217
|
|
|
3175
|
-
export { type AIMetadata, type Action, type ActionConfigurationError, ActionErrorType, type ActionErrorTypeWithLiterals, type ActionEvent, type ActionInfoOneOf, type ActionProviderQuotaInfo, type ActionQuotaInfo, type ActionSettings, type ActionUsageSummary, type ActionValidationError, type ActionValidationErrorErrorOneOf, type ActionValidationInfo, type AdditionalInfo, type AppDefinedAction, type ApplicationError, type ApplicationOrigin, type Asset, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, type AutomationConfigurationError, type AutomationCreatedEnvelope, type AutomationDeletedEnvelope, AutomationErrorType, type AutomationErrorTypeWithLiterals, type AutomationOriginInfoOneOf, type AutomationQuery, type AutomationQuerySpec, type AutomationSettings, type AutomationUpdatedEnvelope, type AutomationValidationError, type AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, type AutomationValidationErrorValidationErrorTypeWithLiterals, type AutomationsQueryBuilder, type AutomationsQueryResult, type BaseEventMetadata, type BulkActionMetadata, type BulkCountAutomationsWithDraftsOptions, type BulkCountAutomationsWithDraftsRequest, type BulkCountAutomationsWithDraftsResponse, type BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse, type BulkDeleteResult, type CTA, type CodeConditionAction, type CodeSnippet, type CommonQueryWithEntityContext, type ConditionAction, type ConditionExpressionGroup, type CopyAutomationOptions, type CopyAutomationRequest, type CopyAutomationResponse, type CreateAutomationRequest, type CreateAutomationResponse, type CreateDraftAutomationOptions, type CreateDraftAutomationRequest, type CreateDraftAutomationResponse, type CreatePreinstalledAutomationRequest, type CreatePreinstalledAutomationResponse, type CreatedByAppIdUsageSummary, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DelayAction, type DeleteAutomationRequest, type DeleteAutomationResponse, type DeleteContext, type DeleteDraftAutomationRequest, type DeleteDraftAutomationResponse, type DeletePreinstalledAutomationRequest, type DeletePreinstalledAutomationResponse, DeleteStatus, type DeleteStatusWithLiterals, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type DraftPublished, type DraftsInfo, type Empty, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GeneratePreinstalledAutomationOptions, type GeneratePreinstalledAutomationRequest, type GeneratePreinstalledAutomationResponse, type GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse, type GetAggregatedUsageInfoOptions, type GetAggregatedUsageInfoRequest, type GetAggregatedUsageInfoResponse, type GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse, type GetAutomationRequest, type GetAutomationResponse, type GetAutomationRevisionOptions, type GetAutomationRevisionRequest, type GetAutomationRevisionResponse, type GetOrCreateDraftAutomationRequest, type GetOrCreateDraftAutomationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type MergeOverridePreinstalledWithRuntimeVersionRequest, type MergeOverridePreinstalledWithRuntimeVersionResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigrateVeloActionAutomationsRequest, type MigrateVeloActionAutomationsResponse, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type Note, type Notes, type OdeditorAssigned, type OdeditorUnassigned, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginAutomationInfo, type OriginWithLiterals, type OutputAction, type Path, type PicassoAssigned, type PicassoUnassigned, type Plan, type Position, type PreinstalledAutomationSpecInfo, type PreinstalledOrigin, type ProviderConfigurationError, type PublishDraftAutomationRequest, type PublishDraftAutomationResponse, type QueryAutomationsOptions, type QueryAutomationsRequest, type QueryAutomationsResponse, type QueryAutomationsWithDraftsOptions, type QueryAutomationsWithDraftsRequest, type QueryAutomationsWithDraftsResponse, type QueryDraftAutomationsRequest, type QueryDraftAutomationsResponse, type QueryPreinstalledAutomationsForAppOptions, type QueryPreinstalledAutomationsForAppRequest, type QueryPreinstalledAutomationsForAppResponse, type QueryPreinstalledAutomationsRequest, type QueryPreinstalledAutomationsResponse, type Quota, type QuotaInfo, type RateLimit, type RateLimitAction, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetVariablesAction, Severity, type SeverityWithLiterals, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SplitAction, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerConfigurationError, TriggerErrorType, type TriggerErrorTypeWithLiterals, type TriggerSettings, type TriggerUsageSummary, type TriggerValidationError, type TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, type TriggerValidationErrorValidationErrorTypeWithLiterals, Type, type TypeWithLiterals, type UpdateAutomation, type UpdateAutomationRequest, type UpdateAutomationResponse, type UpdateDraftAutomation, type UpdateDraftAutomationRequest, type UpdateDraftAutomationResponse, type UpdatePreinstalledAutomationRequest, type UpdatePreinstalledAutomationResponse, type UpgradeCTA, type ValidateAutomationByIdOptions, type ValidateAutomationByIdRequest, type ValidateAutomationByIdResponse, type ValidateAutomationOptions, type ValidateAutomationRequest, type ValidateAutomationResponse, ValidationErrorSeverity, type ValidationErrorSeverityWithLiterals, ValidationErrorType, type ValidationErrorTypeWithLiterals, ValidationResultStatus, type ValidationResultStatusWithLiterals, type ValidationSettings, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, bulkCountAutomationsWithDrafts, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, queryPreinstalledAutomationsForApp, typedQueryAutomations, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
|
|
3218
|
+
export { type AIMetadata, type Action, type ActionConfigurationError, ActionErrorType, type ActionErrorTypeWithLiterals, type ActionEvent, type ActionInfoOneOf, type ActionProviderQuotaInfo, type ActionQuotaInfo, type ActionSettings, type ActionUsageSummary, type ActionValidationError, type ActionValidationErrorErrorOneOf, type ActionValidationInfo, type AdditionalInfo, type AppDefinedAction, type ApplicationError, type ApplicationOrigin, type Asset, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, type AutomationConfigurationError, type AutomationCreatedEnvelope, type AutomationDeletedEnvelope, AutomationErrorType, type AutomationErrorTypeWithLiterals, type AutomationOriginInfoOneOf, type AutomationQuery, type AutomationQuerySpec, type AutomationSettings, type AutomationUpdatedEnvelope, type AutomationValidationError, type AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, type AutomationValidationErrorValidationErrorTypeWithLiterals, type AutomationsQueryBuilder, type AutomationsQueryResult, type BaseEventMetadata, type BulkActionMetadata, type BulkCountAutomationsWithDraftsOptions, type BulkCountAutomationsWithDraftsRequest, type BulkCountAutomationsWithDraftsResponse, type BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse, type BulkDeleteResult, type CTA, type CodeConditionAction, type CodeSnippet, type CommonQueryWithEntityContext, type ConditionAction, type ConditionExpressionGroup, type CopyAutomationOptions, type CopyAutomationRequest, type CopyAutomationResponse, type CreateAutomationRequest, type CreateAutomationResponse, type CreateDraftAutomationOptions, type CreateDraftAutomationRequest, type CreateDraftAutomationResponse, type CreatePreinstalledAutomationRequest, type CreatePreinstalledAutomationResponse, type CreatedByAppIdUsageSummary, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DelayAction, type DeleteAutomationRequest, type DeleteAutomationResponse, type DeleteContext, type DeleteDraftAutomationRequest, type DeleteDraftAutomationResponse, type DeletePreinstalledAutomationRequest, type DeletePreinstalledAutomationResponse, DeleteStatus, type DeleteStatusWithLiterals, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type DraftPublished, type DraftsInfo, type Empty, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GenerateActionInputMappingFromTemplateOptions, type GenerateActionInputMappingFromTemplateRequest, type GenerateActionInputMappingFromTemplateResponse, type GeneratePreinstalledAutomationOptions, type GeneratePreinstalledAutomationRequest, type GeneratePreinstalledAutomationResponse, type GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse, type GetAggregatedUsageInfoOptions, type GetAggregatedUsageInfoRequest, type GetAggregatedUsageInfoResponse, type GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse, type GetAutomationRequest, type GetAutomationResponse, type GetAutomationRevisionOptions, type GetAutomationRevisionRequest, type GetAutomationRevisionResponse, type GetOrCreateDraftAutomationRequest, type GetOrCreateDraftAutomationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type MergeOverridePreinstalledWithRuntimeVersionRequest, type MergeOverridePreinstalledWithRuntimeVersionResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigrateVeloActionAutomationsRequest, type MigrateVeloActionAutomationsResponse, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type Note, type Notes, type OdeditorAssigned, type OdeditorUnassigned, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginAutomationInfo, type OriginWithLiterals, type OutputAction, type Path, type PicassoAssigned, type PicassoUnassigned, type Plan, type Position, type PreinstalledAutomationSpecInfo, type PreinstalledOrigin, type ProviderConfigurationError, type PublishDraftAutomationRequest, type PublishDraftAutomationResponse, type QueryAutomationsOptions, type QueryAutomationsRequest, type QueryAutomationsResponse, type QueryAutomationsWithDraftsOptions, type QueryAutomationsWithDraftsRequest, type QueryAutomationsWithDraftsResponse, type QueryDraftAutomationsRequest, type QueryDraftAutomationsResponse, type QueryPreinstalledAutomationsForAppOptions, type QueryPreinstalledAutomationsForAppRequest, type QueryPreinstalledAutomationsForAppResponse, type QueryPreinstalledAutomationsRequest, type QueryPreinstalledAutomationsResponse, type Quota, type QuotaInfo, type RateLimit, type RateLimitAction, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetVariablesAction, Severity, type SeverityWithLiterals, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SplitAction, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerConfigurationError, TriggerErrorType, type TriggerErrorTypeWithLiterals, type TriggerSettings, type TriggerUsageSummary, type TriggerValidationError, type TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, type TriggerValidationErrorValidationErrorTypeWithLiterals, Type, type TypeWithLiterals, type UpdateAutomation, type UpdateAutomationRequest, type UpdateAutomationResponse, type UpdateDraftAutomation, type UpdateDraftAutomationRequest, type UpdateDraftAutomationResponse, type UpdatePreinstalledAutomationRequest, type UpdatePreinstalledAutomationResponse, type UpgradeCTA, type ValidateAutomationByIdOptions, type ValidateAutomationByIdRequest, type ValidateAutomationByIdResponse, type ValidateAutomationOptions, type ValidateAutomationRequest, type ValidateAutomationResponse, ValidationErrorSeverity, type ValidationErrorSeverityWithLiterals, ValidationErrorType, type ValidationErrorTypeWithLiterals, ValidationResultStatus, type ValidationResultStatusWithLiterals, type ValidationSettings, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, bulkCountAutomationsWithDrafts, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generateActionInputMappingFromTemplate, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, queryPreinstalledAutomationsForApp, typedQueryAutomations, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
|
|
@@ -708,6 +708,27 @@ function validateAutomationById(payload) {
|
|
|
708
708
|
}
|
|
709
709
|
return __validateAutomationById;
|
|
710
710
|
}
|
|
711
|
+
function generateActionInputMappingFromTemplate(payload) {
|
|
712
|
+
function __generateActionInputMappingFromTemplate({ host }) {
|
|
713
|
+
const metadata = {
|
|
714
|
+
entityFqdn: "wix.automations.v2.automation",
|
|
715
|
+
method: "POST",
|
|
716
|
+
methodFqn: "wix.automations.v2.AutomationsService.GenerateActionInputMappingFromTemplate",
|
|
717
|
+
packageName: PACKAGE_NAME,
|
|
718
|
+
migrationOptions: {
|
|
719
|
+
optInTransformResponse: true
|
|
720
|
+
},
|
|
721
|
+
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
722
|
+
protoPath: "/v2/automations/actions/generate-action-input-mapping-from-template",
|
|
723
|
+
data: payload,
|
|
724
|
+
host
|
|
725
|
+
}),
|
|
726
|
+
data: payload
|
|
727
|
+
};
|
|
728
|
+
return metadata;
|
|
729
|
+
}
|
|
730
|
+
return __generateActionInputMappingFromTemplate;
|
|
731
|
+
}
|
|
711
732
|
function getAutomationRevision(payload) {
|
|
712
733
|
function __getAutomationRevision({ host }) {
|
|
713
734
|
const metadata = {
|
|
@@ -1475,6 +1496,39 @@ async function validateAutomationById2(automationId, options) {
|
|
|
1475
1496
|
throw transformedError;
|
|
1476
1497
|
}
|
|
1477
1498
|
}
|
|
1499
|
+
async function generateActionInputMappingFromTemplate2(appId, options) {
|
|
1500
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1501
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1502
|
+
appId,
|
|
1503
|
+
actionKey: options?.actionKey,
|
|
1504
|
+
actionInputMappingTemplate: options?.actionInputMappingTemplate
|
|
1505
|
+
});
|
|
1506
|
+
const reqOpts = generateActionInputMappingFromTemplate(
|
|
1507
|
+
payload
|
|
1508
|
+
);
|
|
1509
|
+
sideEffects?.onSiteCall?.();
|
|
1510
|
+
try {
|
|
1511
|
+
const result = await httpClient.request(reqOpts);
|
|
1512
|
+
sideEffects?.onSuccess?.(result);
|
|
1513
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1514
|
+
} catch (err) {
|
|
1515
|
+
const transformedError = sdkTransformError(
|
|
1516
|
+
err,
|
|
1517
|
+
{
|
|
1518
|
+
spreadPathsToArguments: {},
|
|
1519
|
+
explicitPathsToArguments: {
|
|
1520
|
+
appId: "$[0]",
|
|
1521
|
+
actionKey: "$[1].actionKey",
|
|
1522
|
+
actionInputMappingTemplate: "$[1].actionInputMappingTemplate"
|
|
1523
|
+
},
|
|
1524
|
+
singleArgumentUnchanged: false
|
|
1525
|
+
},
|
|
1526
|
+
["appId", "options"]
|
|
1527
|
+
);
|
|
1528
|
+
sideEffects?.onError?.(err);
|
|
1529
|
+
throw transformedError;
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1478
1532
|
async function getAutomationRevision2(automationId, options) {
|
|
1479
1533
|
const { httpClient, sideEffects } = arguments[2];
|
|
1480
1534
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
@@ -1537,6 +1591,7 @@ export {
|
|
|
1537
1591
|
createDraftAutomation2 as createDraftAutomation,
|
|
1538
1592
|
deleteAutomation2 as deleteAutomation,
|
|
1539
1593
|
deleteDraftAutomation2 as deleteDraftAutomation,
|
|
1594
|
+
generateActionInputMappingFromTemplate2 as generateActionInputMappingFromTemplate,
|
|
1540
1595
|
generatePreinstalledAutomation2 as generatePreinstalledAutomation,
|
|
1541
1596
|
getAggregatedUsageInfo2 as getAggregatedUsageInfo,
|
|
1542
1597
|
getAutomation2 as getAutomation,
|