@wix/auto_sdk_automations_action-catalog 1.0.0
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 +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +13 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js +22 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +1 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +27 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js +349 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +1 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +26 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js +199 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +1 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +84 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js +67 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +1 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts +699 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js +51 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +1 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts +964 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js +490 -0
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +13 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.context.js +13 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +1 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +27 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.http.js +337 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +1 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +26 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js +164 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +1 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +84 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.public.js +49 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +1 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts +699 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.types.js +48 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +1 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts +964 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js +455 -0
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +13 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js +22 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +1 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +27 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js +349 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +1 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +26 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js +199 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +1 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +84 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js +67 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +1 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts +699 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js +51 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +1 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts +964 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js +490 -0
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +13 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.context.js +13 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +1 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +27 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.http.js +337 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +1 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +26 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js +164 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +1 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +84 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.public.js +49 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +1 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts +699 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.js +48 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +1 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts +964 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js +455 -0
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/automations-actioncatalog-v1-action-action-catalog.context.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/automations-actioncatalog-v1-action-action-catalog.context.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sGAAoF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/automations-actioncatalog-v1-action-action-catalog.universal.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/automations-actioncatalog-v1-action-action-catalog.universal.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.typings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wGAAsF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/automations-actioncatalog-v1-action-action-catalog.meta.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/automations-actioncatalog-v1-action-action-catalog.meta.js"), exports);
|
|
18
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mGAAiF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createAction as publicCreateAction, updateAction as publicUpdateAction, deleteAction as publicDeleteAction, getRuntimeAction as publicGetRuntimeAction, getActionDynamicInputSchema as publicGetActionDynamicInputSchema, resolveActions as publicResolveActions, copyInputMapping as publicCopyInputMapping, getActionDynamicOutputSchema as publicGetActionDynamicOutputSchema, bulkGetActionDynamicOutputSchemas as publicBulkGetActionDynamicOutputSchemas } from './automations-actioncatalog-v1-action-action-catalog.public.js';
|
|
2
|
+
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
|
+
export declare const createAction: MaybeContext<BuildRESTFunction<typeof publicCreateAction> & typeof publicCreateAction>;
|
|
4
|
+
export declare const updateAction: MaybeContext<BuildRESTFunction<typeof publicUpdateAction> & typeof publicUpdateAction>;
|
|
5
|
+
export declare const deleteAction: MaybeContext<BuildRESTFunction<typeof publicDeleteAction> & typeof publicDeleteAction>;
|
|
6
|
+
export declare const getRuntimeAction: MaybeContext<BuildRESTFunction<typeof publicGetRuntimeAction> & typeof publicGetRuntimeAction>;
|
|
7
|
+
export declare const getActionDynamicInputSchema: MaybeContext<BuildRESTFunction<typeof publicGetActionDynamicInputSchema> & typeof publicGetActionDynamicInputSchema>;
|
|
8
|
+
export declare const resolveActions: MaybeContext<BuildRESTFunction<typeof publicResolveActions> & typeof publicResolveActions>;
|
|
9
|
+
export declare const copyInputMapping: MaybeContext<BuildRESTFunction<typeof publicCopyInputMapping> & typeof publicCopyInputMapping>;
|
|
10
|
+
export declare const getActionDynamicOutputSchema: MaybeContext<BuildRESTFunction<typeof publicGetActionDynamicOutputSchema> & typeof publicGetActionDynamicOutputSchema>;
|
|
11
|
+
export declare const bulkGetActionDynamicOutputSchemas: MaybeContext<BuildRESTFunction<typeof publicBulkGetActionDynamicOutputSchemas> & typeof publicBulkGetActionDynamicOutputSchemas>;
|
|
12
|
+
export { Type, SourceType, ExecutionType, ExperimentActionType, SortOrder, WebhookIdentityType, } from './automations-actioncatalog-v1-action-action-catalog.universal.js';
|
|
13
|
+
export { Action, WidgetComponentOptions, GenericOptions, WixApiOptions, Metadata, ImplementedMethods, InterfaceConfiguration, InterfaceConfigurationOptionsOneOf, FocalPoint, Source, SourceOptionsOneOf, RetryExperimentCreation, ActionSpecInfo, CreateActionRequest, CreateActionResponse, UpdateActionRequest, UpdateActionResponse, DeleteActionRequest, DeleteActionResponse, MigrateComponentToActionRequest, MigrateComponentToActionResponse, GetRuntimeActionRequest, GetRuntimeActionResponse, GetActionDynamicInputSchemaRequest, GetActionDynamicInputSchemaResponse, ResolveActionsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, ResolveActionsResponse, PagingMetadataV2, Cursors, CopyInputMappingRequest, CopyInputMappingResponse, GetActionDynamicOutputSchemaRequest, GetActionDynamicOutputSchemaResponse, BulkGetActionDynamicOutputSchemasRequest, ActionInputMappings, BulkGetActionDynamicOutputSchemasResponse, ItemMetadata, ApplicationError, BulkActionOutputSchemaResult, BulkActionMetadata, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, CreateActionOptions, UpdateActionOptions, DeleteActionOptions, GetRuntimeActionIdentifiers, GetActionDynamicInputSchemaOptions, ResolveActionsOptions, CopyInputMappingOptions, GetActionDynamicOutputSchemaOptions, } from './automations-actioncatalog-v1-action-action-catalog.universal.js';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookIdentityType = exports.SortOrder = exports.ExperimentActionType = exports.ExecutionType = exports.SourceType = exports.Type = exports.bulkGetActionDynamicOutputSchemas = exports.getActionDynamicOutputSchema = exports.copyInputMapping = exports.resolveActions = exports.getActionDynamicInputSchema = exports.getRuntimeAction = exports.deleteAction = exports.updateAction = exports.createAction = void 0;
|
|
4
|
+
const automations_actioncatalog_v1_action_action_catalog_public_js_1 = require("./automations-actioncatalog-v1-action-action-catalog.public.js");
|
|
5
|
+
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
|
+
exports.createAction = (0, rest_modules_1.createRESTModule)(automations_actioncatalog_v1_action_action_catalog_public_js_1.createAction);
|
|
7
|
+
exports.updateAction = (0, rest_modules_1.createRESTModule)(automations_actioncatalog_v1_action_action_catalog_public_js_1.updateAction);
|
|
8
|
+
exports.deleteAction = (0, rest_modules_1.createRESTModule)(automations_actioncatalog_v1_action_action_catalog_public_js_1.deleteAction);
|
|
9
|
+
exports.getRuntimeAction = (0, rest_modules_1.createRESTModule)(automations_actioncatalog_v1_action_action_catalog_public_js_1.getRuntimeAction);
|
|
10
|
+
exports.getActionDynamicInputSchema = (0, rest_modules_1.createRESTModule)(automations_actioncatalog_v1_action_action_catalog_public_js_1.getActionDynamicInputSchema);
|
|
11
|
+
exports.resolveActions = (0, rest_modules_1.createRESTModule)(automations_actioncatalog_v1_action_action_catalog_public_js_1.resolveActions);
|
|
12
|
+
exports.copyInputMapping = (0, rest_modules_1.createRESTModule)(automations_actioncatalog_v1_action_action_catalog_public_js_1.copyInputMapping);
|
|
13
|
+
exports.getActionDynamicOutputSchema = (0, rest_modules_1.createRESTModule)(automations_actioncatalog_v1_action_action_catalog_public_js_1.getActionDynamicOutputSchema);
|
|
14
|
+
exports.bulkGetActionDynamicOutputSchemas = (0, rest_modules_1.createRESTModule)(automations_actioncatalog_v1_action_action_catalog_public_js_1.bulkGetActionDynamicOutputSchemas);
|
|
15
|
+
var automations_actioncatalog_v1_action_action_catalog_universal_js_1 = require("./automations-actioncatalog-v1-action-action-catalog.universal.js");
|
|
16
|
+
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return automations_actioncatalog_v1_action_action_catalog_universal_js_1.Type; } });
|
|
17
|
+
Object.defineProperty(exports, "SourceType", { enumerable: true, get: function () { return automations_actioncatalog_v1_action_action_catalog_universal_js_1.SourceType; } });
|
|
18
|
+
Object.defineProperty(exports, "ExecutionType", { enumerable: true, get: function () { return automations_actioncatalog_v1_action_action_catalog_universal_js_1.ExecutionType; } });
|
|
19
|
+
Object.defineProperty(exports, "ExperimentActionType", { enumerable: true, get: function () { return automations_actioncatalog_v1_action_action_catalog_universal_js_1.ExperimentActionType; } });
|
|
20
|
+
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return automations_actioncatalog_v1_action_action_catalog_universal_js_1.SortOrder; } });
|
|
21
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return automations_actioncatalog_v1_action_action_catalog_universal_js_1.WebhookIdentityType; } });
|
|
22
|
+
//# sourceMappingURL=automations-actioncatalog-v1-action-action-catalog.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automations-actioncatalog-v1-action-action-catalog.context.js","sourceRoot":"","sources":["../../../src/automations-actioncatalog-v1-action-action-catalog.context.ts"],"names":[],"mappings":";;;AAAA,iJAUwE;AACxE,gEAAiE;AAGpD,QAAA,YAAY,GAEP,IAAA,+BAAgB,EAAC,2EAAkB,CAAC,CAAC;AAC1C,QAAA,YAAY,GAEP,IAAA,+BAAgB,EAAC,2EAAkB,CAAC,CAAC;AAC1C,QAAA,YAAY,GAEP,IAAA,+BAAgB,EAAC,2EAAkB,CAAC,CAAC;AAC1C,QAAA,gBAAgB,GAGX,IAAA,+BAAgB,EAAC,+EAAsB,CAAC,CAAC;AAC9C,QAAA,2BAA2B,GAGtB,IAAA,+BAAgB,EAAC,0FAAiC,CAAC,CAAC;AACzD,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,6EAAoB,CAAC,CAAC;AAC5C,QAAA,gBAAgB,GAGX,IAAA,+BAAgB,EAAC,+EAAsB,CAAC,CAAC;AAC9C,QAAA,4BAA4B,GAGvB,IAAA,+BAAgB,EAAC,2FAAkC,CAAC,CAAC;AAC1D,QAAA,iCAAiC,GAG5B,IAAA,+BAAgB,EAAC,gGAAuC,CAAC,CAAC;AAE5E,qJAO2E;AANzE,uJAAA,IAAI,OAAA;AACJ,6JAAA,UAAU,OAAA;AACV,gKAAA,aAAa,OAAA;AACb,uKAAA,oBAAoB,OAAA;AACpB,4JAAA,SAAS,OAAA;AACT,sKAAA,mBAAmB,OAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
+
/** Create an action */
|
|
3
|
+
export declare function createAction(payload: object): RequestOptionsFactory<any>;
|
|
4
|
+
/** Create a new version for a trigger, update the latest version of the component to point to this trigger */
|
|
5
|
+
export declare function updateAction(payload: object): RequestOptionsFactory<any>;
|
|
6
|
+
/** Delete a trigger by app id and key */
|
|
7
|
+
export declare function deleteAction(payload: object): RequestOptionsFactory<any>;
|
|
8
|
+
/** Returns action configuration by action key */
|
|
9
|
+
export declare function getRuntimeAction(payload: object): RequestOptionsFactory<any>;
|
|
10
|
+
/** Returns action dynamic schema and ui schema for the given action key and input mapping (action config) */
|
|
11
|
+
export declare function getActionDynamicInputSchema(payload: object): RequestOptionsFactory<any>;
|
|
12
|
+
/** Returns action configurations that are installed on the site and exposed to Wix users. */
|
|
13
|
+
export declare function resolveActions(payload: object): RequestOptionsFactory<any>;
|
|
14
|
+
/**
|
|
15
|
+
* Get action input mapping copy
|
|
16
|
+
* The main use case is to call this method from the automations editor, when the user wants to copy an action. So
|
|
17
|
+
* this method is getting an input mapping of an existing action and returns a changed input mapping. It's changing
|
|
18
|
+
* the input mapping by passing it through the SPI endpoint of `DuplicateInputMapping` in the case that this SPI
|
|
19
|
+
* endpoint is implemented.
|
|
20
|
+
* A possible usage is by `triggered-email` action - Wix Emails need to change the `messageId` inside the input mapping
|
|
21
|
+
* so such that the `messageId` stays unique across multiple actions.
|
|
22
|
+
*/
|
|
23
|
+
export declare function copyInputMapping(payload: object): RequestOptionsFactory<any>;
|
|
24
|
+
/** Returns action dynamic output schema for the given action key and the [users] action configuration */
|
|
25
|
+
export declare function getActionDynamicOutputSchema(payload: object): RequestOptionsFactory<any>;
|
|
26
|
+
/** Returns action dynamic output schema for the given actions */
|
|
27
|
+
export declare function bulkGetActionDynamicOutputSchemas(payload: object): RequestOptionsFactory<any>;
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bulkGetActionDynamicOutputSchemas = exports.getActionDynamicOutputSchema = exports.copyInputMapping = exports.resolveActions = exports.getActionDynamicInputSchema = exports.getRuntimeAction = exports.deleteAction = exports.updateAction = exports.createAction = void 0;
|
|
4
|
+
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
5
|
+
const float_1 = require("@wix/sdk-runtime/transformations/float");
|
|
6
|
+
const float_2 = require("@wix/sdk-runtime/transformations/float");
|
|
7
|
+
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
8
|
+
const timestamp_2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
9
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
10
|
+
const rest_modules_2 = require("@wix/sdk-runtime/rest-modules");
|
|
11
|
+
function resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl(opts) {
|
|
12
|
+
const domainToMappings = {
|
|
13
|
+
'bo._base_domain_': [
|
|
14
|
+
{
|
|
15
|
+
srcPath: '/_api/action-catalog-service',
|
|
16
|
+
destPath: '',
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
'wixbo.ai': [
|
|
20
|
+
{
|
|
21
|
+
srcPath: '/_api/action-catalog-service',
|
|
22
|
+
destPath: '',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
'wix-bo.com': [
|
|
26
|
+
{
|
|
27
|
+
srcPath: '/_api/action-catalog-service',
|
|
28
|
+
destPath: '',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
'dev._base_domain_': [
|
|
32
|
+
{
|
|
33
|
+
srcPath: '/_api/action-catalog-service',
|
|
34
|
+
destPath: '',
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
'manage._base_domain_': [
|
|
38
|
+
{
|
|
39
|
+
srcPath: '/_api/action-catalog-service',
|
|
40
|
+
destPath: '',
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
'platform.rise.ai': [
|
|
44
|
+
{
|
|
45
|
+
srcPath: '/v1/actions',
|
|
46
|
+
destPath: '/v1/actions',
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
'www.wixapis.com': [
|
|
50
|
+
{
|
|
51
|
+
srcPath: '/v1/actions',
|
|
52
|
+
destPath: '/v1/actions',
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
};
|
|
56
|
+
return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
57
|
+
}
|
|
58
|
+
const PACKAGE_NAME = '@wix/auto_sdk_automations_action-catalog';
|
|
59
|
+
/** Create an action */
|
|
60
|
+
function createAction(payload) {
|
|
61
|
+
function __createAction({ host }) {
|
|
62
|
+
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
63
|
+
{
|
|
64
|
+
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
65
|
+
paths: [
|
|
66
|
+
{ path: 'action.createdDate' },
|
|
67
|
+
{ path: 'action.updatedDate' },
|
|
68
|
+
{ path: 'action.icon.urlExpirationDate' },
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
transformFn: float_1.transformSDKFloatToRESTFloat,
|
|
73
|
+
paths: [
|
|
74
|
+
{ path: 'action.icon.focalPoint.x' },
|
|
75
|
+
{ path: 'action.icon.focalPoint.y' },
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
]);
|
|
79
|
+
const metadata = {
|
|
80
|
+
entityFqdn: 'wix.automations.actioncatalog.v1.action',
|
|
81
|
+
method: 'POST',
|
|
82
|
+
methodFqn: 'wix.automations.actioncatalog.v1.ActionCatalogService.CreateAction',
|
|
83
|
+
packageName: PACKAGE_NAME,
|
|
84
|
+
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
85
|
+
protoPath: '/v1/actions',
|
|
86
|
+
data: serializedData,
|
|
87
|
+
host,
|
|
88
|
+
}),
|
|
89
|
+
data: serializedData,
|
|
90
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
91
|
+
{
|
|
92
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
93
|
+
paths: [
|
|
94
|
+
{ path: 'action.createdDate' },
|
|
95
|
+
{ path: 'action.updatedDate' },
|
|
96
|
+
{ path: 'action.icon.urlExpirationDate' },
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
101
|
+
paths: [
|
|
102
|
+
{ path: 'action.icon.focalPoint.x' },
|
|
103
|
+
{ path: 'action.icon.focalPoint.y' },
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
]),
|
|
107
|
+
};
|
|
108
|
+
return metadata;
|
|
109
|
+
}
|
|
110
|
+
return __createAction;
|
|
111
|
+
}
|
|
112
|
+
exports.createAction = createAction;
|
|
113
|
+
/** Create a new version for a trigger, update the latest version of the component to point to this trigger */
|
|
114
|
+
function updateAction(payload) {
|
|
115
|
+
function __updateAction({ host }) {
|
|
116
|
+
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
117
|
+
{
|
|
118
|
+
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
119
|
+
paths: [
|
|
120
|
+
{ path: 'action.createdDate' },
|
|
121
|
+
{ path: 'action.updatedDate' },
|
|
122
|
+
{ path: 'action.icon.urlExpirationDate' },
|
|
123
|
+
],
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
transformFn: float_1.transformSDKFloatToRESTFloat,
|
|
127
|
+
paths: [
|
|
128
|
+
{ path: 'action.icon.focalPoint.x' },
|
|
129
|
+
{ path: 'action.icon.focalPoint.y' },
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
]);
|
|
133
|
+
const metadata = {
|
|
134
|
+
entityFqdn: 'wix.automations.actioncatalog.v1.action',
|
|
135
|
+
method: 'PATCH',
|
|
136
|
+
methodFqn: 'wix.automations.actioncatalog.v1.ActionCatalogService.UpdateAction',
|
|
137
|
+
packageName: PACKAGE_NAME,
|
|
138
|
+
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
139
|
+
protoPath: '/v1/action/{action.id}',
|
|
140
|
+
data: serializedData,
|
|
141
|
+
host,
|
|
142
|
+
}),
|
|
143
|
+
data: serializedData,
|
|
144
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
145
|
+
{
|
|
146
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
147
|
+
paths: [
|
|
148
|
+
{ path: 'updatedAction.createdDate' },
|
|
149
|
+
{ path: 'updatedAction.updatedDate' },
|
|
150
|
+
{ path: 'updatedAction.icon.urlExpirationDate' },
|
|
151
|
+
],
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
155
|
+
paths: [
|
|
156
|
+
{ path: 'updatedAction.icon.focalPoint.x' },
|
|
157
|
+
{ path: 'updatedAction.icon.focalPoint.y' },
|
|
158
|
+
],
|
|
159
|
+
},
|
|
160
|
+
]),
|
|
161
|
+
};
|
|
162
|
+
return metadata;
|
|
163
|
+
}
|
|
164
|
+
return __updateAction;
|
|
165
|
+
}
|
|
166
|
+
exports.updateAction = updateAction;
|
|
167
|
+
/** Delete a trigger by app id and key */
|
|
168
|
+
function deleteAction(payload) {
|
|
169
|
+
function __deleteAction({ host }) {
|
|
170
|
+
const metadata = {
|
|
171
|
+
entityFqdn: 'wix.automations.actioncatalog.v1.action',
|
|
172
|
+
method: 'DELETE',
|
|
173
|
+
methodFqn: 'wix.automations.actioncatalog.v1.ActionCatalogService.DeleteAction',
|
|
174
|
+
packageName: PACKAGE_NAME,
|
|
175
|
+
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
176
|
+
protoPath: '/v1/action',
|
|
177
|
+
data: payload,
|
|
178
|
+
host,
|
|
179
|
+
}),
|
|
180
|
+
params: (0, rest_modules_1.toURLSearchParams)(payload),
|
|
181
|
+
};
|
|
182
|
+
return metadata;
|
|
183
|
+
}
|
|
184
|
+
return __deleteAction;
|
|
185
|
+
}
|
|
186
|
+
exports.deleteAction = deleteAction;
|
|
187
|
+
/** Returns action configuration by action key */
|
|
188
|
+
function getRuntimeAction(payload) {
|
|
189
|
+
function __getRuntimeAction({ host }) {
|
|
190
|
+
const metadata = {
|
|
191
|
+
entityFqdn: 'wix.automations.actioncatalog.v1.action',
|
|
192
|
+
method: 'GET',
|
|
193
|
+
methodFqn: 'wix.automations.actioncatalog.v1.ActionCatalogService.GetRuntimeAction',
|
|
194
|
+
packageName: PACKAGE_NAME,
|
|
195
|
+
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
196
|
+
protoPath: '/v1/actions/apps/{appId}/keys/{actionKey}',
|
|
197
|
+
data: payload,
|
|
198
|
+
host,
|
|
199
|
+
}),
|
|
200
|
+
params: (0, rest_modules_1.toURLSearchParams)(payload),
|
|
201
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
202
|
+
{
|
|
203
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
204
|
+
paths: [
|
|
205
|
+
{ path: 'action.createdDate' },
|
|
206
|
+
{ path: 'action.updatedDate' },
|
|
207
|
+
{ path: 'action.icon.urlExpirationDate' },
|
|
208
|
+
],
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
212
|
+
paths: [
|
|
213
|
+
{ path: 'action.icon.focalPoint.x' },
|
|
214
|
+
{ path: 'action.icon.focalPoint.y' },
|
|
215
|
+
],
|
|
216
|
+
},
|
|
217
|
+
]),
|
|
218
|
+
};
|
|
219
|
+
return metadata;
|
|
220
|
+
}
|
|
221
|
+
return __getRuntimeAction;
|
|
222
|
+
}
|
|
223
|
+
exports.getRuntimeAction = getRuntimeAction;
|
|
224
|
+
/** Returns action dynamic schema and ui schema for the given action key and input mapping (action config) */
|
|
225
|
+
function getActionDynamicInputSchema(payload) {
|
|
226
|
+
function __getActionDynamicInputSchema({ host }) {
|
|
227
|
+
const metadata = {
|
|
228
|
+
entityFqdn: 'wix.automations.actioncatalog.v1.action',
|
|
229
|
+
method: 'POST',
|
|
230
|
+
methodFqn: 'wix.automations.actioncatalog.v1.ActionCatalogService.GetActionDynamicInputSchema',
|
|
231
|
+
packageName: PACKAGE_NAME,
|
|
232
|
+
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
233
|
+
protoPath: '/v1/actions/dynamic-input-schema',
|
|
234
|
+
data: payload,
|
|
235
|
+
host,
|
|
236
|
+
}),
|
|
237
|
+
data: payload,
|
|
238
|
+
};
|
|
239
|
+
return metadata;
|
|
240
|
+
}
|
|
241
|
+
return __getActionDynamicInputSchema;
|
|
242
|
+
}
|
|
243
|
+
exports.getActionDynamicInputSchema = getActionDynamicInputSchema;
|
|
244
|
+
/** Returns action configurations that are installed on the site and exposed to Wix users. */
|
|
245
|
+
function resolveActions(payload) {
|
|
246
|
+
function __resolveActions({ host }) {
|
|
247
|
+
const metadata = {
|
|
248
|
+
entityFqdn: 'wix.automations.actioncatalog.v1.action',
|
|
249
|
+
method: 'POST',
|
|
250
|
+
methodFqn: 'wix.automations.actioncatalog.v1.ActionCatalogService.ResolveActions',
|
|
251
|
+
packageName: PACKAGE_NAME,
|
|
252
|
+
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
253
|
+
protoPath: '/v1/actions/resolve',
|
|
254
|
+
data: payload,
|
|
255
|
+
host,
|
|
256
|
+
}),
|
|
257
|
+
data: payload,
|
|
258
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
259
|
+
{
|
|
260
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
261
|
+
paths: [
|
|
262
|
+
{ path: 'actions.createdDate' },
|
|
263
|
+
{ path: 'actions.updatedDate' },
|
|
264
|
+
{ path: 'actions.icon.urlExpirationDate' },
|
|
265
|
+
],
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
269
|
+
paths: [
|
|
270
|
+
{ path: 'actions.icon.focalPoint.x' },
|
|
271
|
+
{ path: 'actions.icon.focalPoint.y' },
|
|
272
|
+
],
|
|
273
|
+
},
|
|
274
|
+
]),
|
|
275
|
+
};
|
|
276
|
+
return metadata;
|
|
277
|
+
}
|
|
278
|
+
return __resolveActions;
|
|
279
|
+
}
|
|
280
|
+
exports.resolveActions = resolveActions;
|
|
281
|
+
/**
|
|
282
|
+
* Get action input mapping copy
|
|
283
|
+
* The main use case is to call this method from the automations editor, when the user wants to copy an action. So
|
|
284
|
+
* this method is getting an input mapping of an existing action and returns a changed input mapping. It's changing
|
|
285
|
+
* the input mapping by passing it through the SPI endpoint of `DuplicateInputMapping` in the case that this SPI
|
|
286
|
+
* endpoint is implemented.
|
|
287
|
+
* A possible usage is by `triggered-email` action - Wix Emails need to change the `messageId` inside the input mapping
|
|
288
|
+
* so such that the `messageId` stays unique across multiple actions.
|
|
289
|
+
*/
|
|
290
|
+
function copyInputMapping(payload) {
|
|
291
|
+
function __copyInputMapping({ host }) {
|
|
292
|
+
const metadata = {
|
|
293
|
+
entityFqdn: 'wix.automations.actioncatalog.v1.action',
|
|
294
|
+
method: 'POST',
|
|
295
|
+
methodFqn: 'wix.automations.actioncatalog.v1.ActionCatalogService.CopyInputMapping',
|
|
296
|
+
packageName: PACKAGE_NAME,
|
|
297
|
+
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
298
|
+
protoPath: '/v1/actions/copy',
|
|
299
|
+
data: payload,
|
|
300
|
+
host,
|
|
301
|
+
}),
|
|
302
|
+
data: payload,
|
|
303
|
+
};
|
|
304
|
+
return metadata;
|
|
305
|
+
}
|
|
306
|
+
return __copyInputMapping;
|
|
307
|
+
}
|
|
308
|
+
exports.copyInputMapping = copyInputMapping;
|
|
309
|
+
/** Returns action dynamic output schema for the given action key and the [users] action configuration */
|
|
310
|
+
function getActionDynamicOutputSchema(payload) {
|
|
311
|
+
function __getActionDynamicOutputSchema({ host }) {
|
|
312
|
+
const metadata = {
|
|
313
|
+
entityFqdn: 'wix.automations.actioncatalog.v1.action',
|
|
314
|
+
method: 'POST',
|
|
315
|
+
methodFqn: 'wix.automations.actioncatalog.v1.ActionCatalogService.GetActionDynamicOutputSchema',
|
|
316
|
+
packageName: PACKAGE_NAME,
|
|
317
|
+
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
318
|
+
protoPath: '/v1/actions/dynamic-output-schema',
|
|
319
|
+
data: payload,
|
|
320
|
+
host,
|
|
321
|
+
}),
|
|
322
|
+
data: payload,
|
|
323
|
+
};
|
|
324
|
+
return metadata;
|
|
325
|
+
}
|
|
326
|
+
return __getActionDynamicOutputSchema;
|
|
327
|
+
}
|
|
328
|
+
exports.getActionDynamicOutputSchema = getActionDynamicOutputSchema;
|
|
329
|
+
/** Returns action dynamic output schema for the given actions */
|
|
330
|
+
function bulkGetActionDynamicOutputSchemas(payload) {
|
|
331
|
+
function __bulkGetActionDynamicOutputSchemas({ host }) {
|
|
332
|
+
const metadata = {
|
|
333
|
+
entityFqdn: 'wix.automations.actioncatalog.v1.action',
|
|
334
|
+
method: 'POST',
|
|
335
|
+
methodFqn: 'wix.automations.actioncatalog.v1.ActionCatalogService.BulkGetActionDynamicOutputSchemas',
|
|
336
|
+
packageName: PACKAGE_NAME,
|
|
337
|
+
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
338
|
+
protoPath: '/v1/actions/bulk/dynamic-output-schema',
|
|
339
|
+
data: payload,
|
|
340
|
+
host,
|
|
341
|
+
}),
|
|
342
|
+
data: payload,
|
|
343
|
+
};
|
|
344
|
+
return metadata;
|
|
345
|
+
}
|
|
346
|
+
return __bulkGetActionDynamicOutputSchemas;
|
|
347
|
+
}
|
|
348
|
+
exports.bulkGetActionDynamicOutputSchemas = bulkGetActionDynamicOutputSchemas;
|
|
349
|
+
//# sourceMappingURL=automations-actioncatalog-v1-action-action-catalog.http.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automations-actioncatalog-v1-action-action-catalog.http.js","sourceRoot":"","sources":["../../../src/automations-actioncatalog-v1-action-action-catalog.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,2DAA2D,CAClE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,kBAAkB,EAAE;YAClB;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,UAAU,EAAE;YACV;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,YAAY,EAAE;YACZ;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,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AA4B,CAC1C,OAAe;IAEf,SAAS,8BAA8B,CAAC,EAAE,IAAI,EAAO;QACnD,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,yCAAyC;YACrD,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,oFAAoF;YACtF,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,2DAA2D,CAAC;gBAC/D,SAAS,EAAE,mCAAmC;gBAC9C,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,8BAA8B,CAAC;AACxC,CAAC;AAtBD,oEAsBC;AAED,iEAAiE;AACjE,SAAgB,iCAAiC,CAC/C,OAAe;IAEf,SAAS,mCAAmC,CAAC,EAAE,IAAI,EAAO;QACxD,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,yCAAyC;YACrD,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,yFAAyF;YAC3F,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,2DAA2D,CAAC;gBAC/D,SAAS,EAAE,wCAAwC;gBACnD,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,mCAAmC,CAAC;AAC7C,CAAC;AAtBD,8EAsBC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as ambassadorWixAutomationsActioncatalogV1ActionTypes from './automations-actioncatalog-v1-action-action-catalog.types.js';
|
|
2
|
+
import * as ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes from './automations-actioncatalog-v1-action-action-catalog.universal.js';
|
|
3
|
+
export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
|
+
getUrl: (context: any) => string;
|
|
5
|
+
httpMethod: K;
|
|
6
|
+
path: string;
|
|
7
|
+
pathParams: M;
|
|
8
|
+
__requestType: T;
|
|
9
|
+
__originalRequestType: S;
|
|
10
|
+
__responseType: Q;
|
|
11
|
+
__originalResponseType: R;
|
|
12
|
+
};
|
|
13
|
+
export declare function createAction(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.CreateActionRequest, ambassadorWixAutomationsActioncatalogV1ActionTypes.CreateActionRequest, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.CreateActionResponse, ambassadorWixAutomationsActioncatalogV1ActionTypes.CreateActionResponse>;
|
|
14
|
+
export declare function updateAction(): __PublicMethodMetaInfo<'PATCH', {
|
|
15
|
+
actionId: string;
|
|
16
|
+
}, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.UpdateActionRequest, ambassadorWixAutomationsActioncatalogV1ActionTypes.UpdateActionRequest, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.UpdateActionResponse, ambassadorWixAutomationsActioncatalogV1ActionTypes.UpdateActionResponse>;
|
|
17
|
+
export declare function deleteAction(): __PublicMethodMetaInfo<'DELETE', {}, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.DeleteActionRequest, ambassadorWixAutomationsActioncatalogV1ActionTypes.DeleteActionRequest, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.DeleteActionResponse, ambassadorWixAutomationsActioncatalogV1ActionTypes.DeleteActionResponse>;
|
|
18
|
+
export declare function getRuntimeAction(): __PublicMethodMetaInfo<'GET', {
|
|
19
|
+
appId: string;
|
|
20
|
+
actionKey: string;
|
|
21
|
+
}, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.GetRuntimeActionRequest, ambassadorWixAutomationsActioncatalogV1ActionTypes.GetRuntimeActionRequest, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.GetRuntimeActionResponse, ambassadorWixAutomationsActioncatalogV1ActionTypes.GetRuntimeActionResponse>;
|
|
22
|
+
export declare function getActionDynamicInputSchema(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.GetActionDynamicInputSchemaRequest, ambassadorWixAutomationsActioncatalogV1ActionTypes.GetActionDynamicInputSchemaRequest, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.GetActionDynamicInputSchemaResponse, ambassadorWixAutomationsActioncatalogV1ActionTypes.GetActionDynamicInputSchemaResponse>;
|
|
23
|
+
export declare function resolveActions(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.ResolveActionsRequest, ambassadorWixAutomationsActioncatalogV1ActionTypes.ResolveActionsRequest, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.ResolveActionsResponse, ambassadorWixAutomationsActioncatalogV1ActionTypes.ResolveActionsResponse>;
|
|
24
|
+
export declare function copyInputMapping(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.CopyInputMappingRequest, ambassadorWixAutomationsActioncatalogV1ActionTypes.CopyInputMappingRequest, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.CopyInputMappingResponse, ambassadorWixAutomationsActioncatalogV1ActionTypes.CopyInputMappingResponse>;
|
|
25
|
+
export declare function getActionDynamicOutputSchema(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.GetActionDynamicOutputSchemaRequest, ambassadorWixAutomationsActioncatalogV1ActionTypes.GetActionDynamicOutputSchemaRequest, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.GetActionDynamicOutputSchemaResponse, ambassadorWixAutomationsActioncatalogV1ActionTypes.GetActionDynamicOutputSchemaResponse>;
|
|
26
|
+
export declare function bulkGetActionDynamicOutputSchemas(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.BulkGetActionDynamicOutputSchemasRequest, ambassadorWixAutomationsActioncatalogV1ActionTypes.BulkGetActionDynamicOutputSchemasRequest, ambassadorWixAutomationsActioncatalogV1ActionUniversalTypes.BulkGetActionDynamicOutputSchemasResponse, ambassadorWixAutomationsActioncatalogV1ActionTypes.BulkGetActionDynamicOutputSchemasResponse>;
|