@wix/auto_sdk_automations_action-catalog 1.0.52 → 1.0.53
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 -1
- package/build/cjs/index.js +11 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -1
- package/build/cjs/index.typings.js +11 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -1
- package/build/cjs/meta.js +11 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +4 -0
- package/build/cjs/schemas.js +7 -1
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +11 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -1
- package/build/es/index.typings.mjs +11 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -1
- package/build/es/meta.mjs +11 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +4 -0
- package/build/es/schemas.mjs +7 -1
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +11 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -1
- package/build/internal/cjs/index.typings.js +11 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +12 -1
- package/build/internal/cjs/meta.js +11 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +4 -0
- package/build/internal/cjs/schemas.js +7 -1
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +11 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +12 -1
- package/build/internal/es/index.typings.mjs +11 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +12 -1
- package/build/internal/es/meta.mjs +11 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +4 -0
- package/build/internal/es/schemas.mjs +7 -1
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { Action, CreateActionOptions, CreateActionApplicationErrors, UpdateActionOptions, UpdateActionApplicationErrors, DeleteActionOptions, DeleteActionApplicationErrors, GetRuntimeActionIdentifiers, GetRuntimeActionResponse, GetRuntimeActionApplicationErrors, GetLatestActionIdentifiers, GetLatestActionOptions, GetLatestActionResponse, GetLatestActionApplicationErrors, GetActionDynamicInputSchemaOptions, GetActionDynamicInputSchemaResponse, GetActionDynamicInputSchemaApplicationErrors, ResolveActionsOptions, ResolveActionsResponse, ResolveActionsApplicationErrors, CopyInputMappingOptions, CopyInputMappingResponse, CopyInputMappingApplicationErrors, GetActionDynamicOutputSchemaOptions, GetActionDynamicOutputSchemaResponse, GetActionDynamicOutputSchemaApplicationErrors, ActionInputMappings, BulkGetActionDynamicOutputSchemasResponse, GenerateInputMappingFromIntentOptions, GenerateInputMappingFromIntentResponse, GenerateInputMappingFromIntentApplicationErrors, QueryV2, QueryLatestActionsResponse, ActionsQueryBuilder, ActionQuery, typedQueryActions } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionAlreadyExistsError, ActionDeletedWithEntity, ActionEvent, ActionNotFoundError, ActionQuerySpec, ActionSpecInfo, ActionSpiImplementerNotFoundError, ActionsQueryResult, AdditionalInformationRequiredInfo, ApplicationError, BulkActionMetadata, BulkActionOutputSchemaResult, BulkGetActionDynamicOutputSchemasRequest, CommonCursorPaging, CommonCursors, CommonPaging, CommonPagingMetadataV2, CommonQueryV2, CommonQueryV2PagingMethodOneOf, CommonQueryWithEntityContext, CommonSortOrder, CommonSortOrderWithLiterals, CommonSorting, CopyInputMappingRequest, CreateActionRequest, CreateActionResponse, CursorPaging, Cursors, DeleteActionRequest, DeleteActionResponse, DomainEvent, DomainEventBodyOneOf, DynamicInputSchemaMethodNotImplementedError, DynamicInputSchemaNotDefinedError, DynamicOutputSchemaMethodNotImplementedError, DynamicOutputSchemaNotDefinedError, EmptyIntentError, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExecutionType, ExecutionTypeWithLiterals, ExperimentActionType, ExperimentActionTypeWithLiterals, FocalPoint, GenerateInputMappingFromIntentMethodNotImplementedError, GenerateInputMappingFromIntentRequest, GenerateInputMappingFromIntentResponseStatusInfoOneOf, GenericOptions, GetActionDynamicInputSchemaRequest, GetActionDynamicOutputSchemaRequest, GetActionRequest, GetActionResponse, GetLatestActionRequest, GetRuntimeActionRequest, IdentificationData, IdentificationDataIdOneOf, ImplementedMethods, InputMappingGeneratedInfo, IntegrationOptions, IntegrationOptionsOptionsOneOf, IntegrationType, IntegrationTypeWithLiterals, InterfaceConfiguration, InterfaceConfigurationOptionsOneOf, InvalidDynamicOutputSchemaError, ItemMetadata, MessageEnvelope, Metadata, MigrateComponentToActionRequest, MigrateComponentToActionResponse, MissingMetaSiteContextError, OpenApiOptions, Paging, PagingMetadataV2, QueryActionsRequest, QueryActionsResponse, QueryLatestActionsRequest, QueryV2PagingMethodOneOf, ResolveActionsRequest, RestoreInfo, RetryExperimentCreation, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceOptionsOneOf, SourceType, SourceTypeWithLiterals, Status, StatusWithLiterals, Type, TypeWithLiterals, UnauthorizedAppAccessError, UpdateActionComponentRequest, UpdateActionComponentResponse, UpdateActionRequest, UpdateActionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WidgetComponentOptions, WixApiOptions, utils } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, ActionAlreadyExistsError, ActionDeletedWithEntity, ActionEvent, ActionNotFoundError, ActionQuerySpec, ActionSpecInfo, ActionSpiImplementerNotFoundError, ActionsQueryResult, AdditionalInformationRequiredInfo, AddressLocation, ApplicationError, BulkActionMetadata, BulkActionOutputSchemaResult, BulkGetActionDynamicOutputSchemasRequest, CommonCursorPaging, CommonCursors, CommonPaging, CommonPagingMetadataV2, CommonQueryV2, CommonQueryV2PagingMethodOneOf, CommonQueryWithEntityContext, CommonSortOrder, CommonSortOrderWithLiterals, CommonSorting, CopyInputMappingRequest, CreateActionRequest, CreateActionResponse, CursorPaging, Cursors, DeleteActionRequest, DeleteActionResponse, DomainEvent, DomainEventBodyOneOf, DynamicInputSchemaMethodNotImplementedError, DynamicInputSchemaNotDefinedError, DynamicOutputSchemaMethodNotImplementedError, DynamicOutputSchemaNotDefinedError, EmptyIntentError, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExecutionType, ExecutionTypeWithLiterals, ExperimentActionType, ExperimentActionTypeWithLiterals, FocalPoint, GenerateInputMappingFromIntentMethodNotImplementedError, GenerateInputMappingFromIntentRequest, GenerateInputMappingFromIntentResponseStatusInfoOneOf, GenericOptions, GetActionDynamicInputSchemaRequest, GetActionDynamicOutputSchemaRequest, GetActionRequest, GetActionResponse, GetLatestActionRequest, GetRuntimeActionRequest, IdentificationData, IdentificationDataIdOneOf, ImplementedMethods, InputMappingGeneratedInfo, IntegrationOptions, IntegrationOptionsOptionsOneOf, IntegrationType, IntegrationTypeWithLiterals, InterfaceConfiguration, InterfaceConfigurationOptionsOneOf, InvalidDynamicOutputSchemaError, ItemMetadata, MessageEnvelope, Metadata, MigrateComponentToActionRequest, MigrateComponentToActionResponse, MissingMetaSiteContextError, OpenApiOptions, Paging, PagingMetadataV2, QueryActionsRequest, QueryActionsResponse, QueryLatestActionsRequest, QueryV2PagingMethodOneOf, ResolveActionsRequest, RestoreInfo, RetryExperimentCreation, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceOptionsOneOf, SourceType, SourceTypeWithLiterals, Status, StatusWithLiterals, Type, TypeWithLiterals, UnauthorizedAppAccessError, UpdateActionComponentRequest, UpdateActionComponentResponse, UpdateActionRequest, UpdateActionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WidgetComponentOptions, WixApiOptions, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function getAction$1(httpClient: HttpClient): GetActionSignature;
|
|
6
6
|
interface GetActionSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -398,6 +398,15 @@ function getActionDynamicInputSchema(payload) {
|
|
|
398
398
|
}
|
|
399
399
|
function resolveActions(payload) {
|
|
400
400
|
function __resolveActions({ host }) {
|
|
401
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
402
|
+
{
|
|
403
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
404
|
+
paths: [
|
|
405
|
+
{ path: "query.sort.origin.latitude" },
|
|
406
|
+
{ path: "query.sort.origin.longitude" }
|
|
407
|
+
]
|
|
408
|
+
}
|
|
409
|
+
]);
|
|
401
410
|
const metadata = {
|
|
402
411
|
entityFqdn: "wix.automations.actioncatalog.v1.action",
|
|
403
412
|
method: "POST",
|
|
@@ -408,10 +417,10 @@ function resolveActions(payload) {
|
|
|
408
417
|
},
|
|
409
418
|
url: resolveWixAutomationsActioncatalogV1ActionCatalogServiceUrl({
|
|
410
419
|
protoPath: "/v1/actions/resolve",
|
|
411
|
-
data:
|
|
420
|
+
data: serializedData,
|
|
412
421
|
host
|
|
413
422
|
}),
|
|
414
|
-
data:
|
|
423
|
+
data: serializedData,
|
|
415
424
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
416
425
|
{
|
|
417
426
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|