@wix/auto_sdk_automations_action-catalog 1.0.18 → 1.0.20
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 +20 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +149 -22
- package/build/cjs/index.typings.js +20 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +148 -21
- package/build/cjs/meta.js +20 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +18 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +149 -22
- package/build/es/index.typings.mjs +18 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +148 -21
- package/build/es/meta.mjs +18 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +20 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +149 -22
- package/build/internal/cjs/index.typings.js +20 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +148 -21
- package/build/internal/cjs/meta.js +20 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +18 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +149 -22
- package/build/internal/es/index.typings.mjs +18 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +148 -21
- package/build/internal/es/meta.mjs +18 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -97,15 +97,24 @@ interface GenericOptions {
|
|
|
97
97
|
/** UI schema. */
|
|
98
98
|
uiSchema?: Record<string, any> | null;
|
|
99
99
|
}
|
|
100
|
+
declare enum IntegrationType {
|
|
101
|
+
UNKNOWN_INTEGRATION_TYPE = "UNKNOWN_INTEGRATION_TYPE",
|
|
102
|
+
/** Integration with Wix API methods */
|
|
103
|
+
WIX_API = "WIX_API"
|
|
104
|
+
}
|
|
105
|
+
/** @enumType */
|
|
106
|
+
type IntegrationTypeWithLiterals = IntegrationType | 'UNKNOWN_INTEGRATION_TYPE' | 'WIX_API';
|
|
100
107
|
declare enum SourceType {
|
|
101
108
|
UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
|
|
102
109
|
/** The input/output schemas are constructed by developers in Dev Center using the self-service flow */
|
|
103
110
|
DEV_CENTER = "DEV_CENTER",
|
|
104
111
|
/** The input/output schemas are derived from an existing Wix API through the API-to-Action feature */
|
|
105
|
-
WIX_API = "WIX_API"
|
|
112
|
+
WIX_API = "WIX_API",
|
|
113
|
+
/** The action invokes external API methods based on configuration */
|
|
114
|
+
INTEGRATION = "INTEGRATION"
|
|
106
115
|
}
|
|
107
116
|
/** @enumType */
|
|
108
|
-
type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'DEV_CENTER' | 'WIX_API';
|
|
117
|
+
type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'DEV_CENTER' | 'WIX_API' | 'INTEGRATION';
|
|
109
118
|
interface WixApiOptions {
|
|
110
119
|
/**
|
|
111
120
|
* Service entity fqdn
|
|
@@ -126,6 +135,10 @@ interface WixApiOptions {
|
|
|
126
135
|
*/
|
|
127
136
|
methodName?: string;
|
|
128
137
|
}
|
|
138
|
+
interface IntegrationOptions {
|
|
139
|
+
/** The integration type */
|
|
140
|
+
integrationType?: IntegrationTypeWithLiterals;
|
|
141
|
+
}
|
|
129
142
|
interface Metadata {
|
|
130
143
|
/** Whether the action is only shown to advanced mode users (Wix staff). */
|
|
131
144
|
hidden?: boolean;
|
|
@@ -190,6 +203,8 @@ interface FocalPoint {
|
|
|
190
203
|
interface Source extends SourceOptionsOneOf {
|
|
191
204
|
/** Wix API options */
|
|
192
205
|
wixApiOptions?: WixApiOptions;
|
|
206
|
+
/** Integration options */
|
|
207
|
+
integrationOptions?: IntegrationOptions;
|
|
193
208
|
/** the source type */
|
|
194
209
|
type?: SourceTypeWithLiterals;
|
|
195
210
|
}
|
|
@@ -197,6 +212,8 @@ interface Source extends SourceOptionsOneOf {
|
|
|
197
212
|
interface SourceOptionsOneOf {
|
|
198
213
|
/** Wix API options */
|
|
199
214
|
wixApiOptions?: WixApiOptions;
|
|
215
|
+
/** Integration options */
|
|
216
|
+
integrationOptions?: IntegrationOptions;
|
|
200
217
|
}
|
|
201
218
|
interface RetryExperimentCreation {
|
|
202
219
|
/** action spec info */
|
|
@@ -332,13 +349,13 @@ interface GetActionDynamicInputSchemaResponse {
|
|
|
332
349
|
}
|
|
333
350
|
interface ResolveActionsRequest {
|
|
334
351
|
/** Query options. */
|
|
335
|
-
query?:
|
|
352
|
+
query?: CommonQueryV2;
|
|
336
353
|
}
|
|
337
|
-
interface
|
|
354
|
+
interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
|
|
338
355
|
/** Paging options to limit and offset the number of items. */
|
|
339
|
-
paging?:
|
|
356
|
+
paging?: CommonPaging;
|
|
340
357
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
341
|
-
cursorPaging?:
|
|
358
|
+
cursorPaging?: CommonCursorPaging;
|
|
342
359
|
/**
|
|
343
360
|
* Filter object.
|
|
344
361
|
*
|
|
@@ -350,41 +367,41 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
350
367
|
*
|
|
351
368
|
* Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
|
|
352
369
|
*/
|
|
353
|
-
sort?:
|
|
370
|
+
sort?: CommonSorting[];
|
|
354
371
|
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
355
372
|
fields?: string[];
|
|
356
373
|
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
357
374
|
fieldsets?: string[];
|
|
358
375
|
}
|
|
359
376
|
/** @oneof */
|
|
360
|
-
interface
|
|
377
|
+
interface CommonQueryV2PagingMethodOneOf {
|
|
361
378
|
/** Paging options to limit and offset the number of items. */
|
|
362
|
-
paging?:
|
|
379
|
+
paging?: CommonPaging;
|
|
363
380
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
364
|
-
cursorPaging?:
|
|
381
|
+
cursorPaging?: CommonCursorPaging;
|
|
365
382
|
}
|
|
366
|
-
interface
|
|
383
|
+
interface CommonSorting {
|
|
367
384
|
/**
|
|
368
385
|
* Name of the field to sort by.
|
|
369
386
|
* @maxLength 512
|
|
370
387
|
*/
|
|
371
388
|
fieldName?: string;
|
|
372
389
|
/** Sort order. */
|
|
373
|
-
order?:
|
|
390
|
+
order?: CommonSortOrderWithLiterals;
|
|
374
391
|
}
|
|
375
|
-
declare enum
|
|
392
|
+
declare enum CommonSortOrder {
|
|
376
393
|
ASC = "ASC",
|
|
377
394
|
DESC = "DESC"
|
|
378
395
|
}
|
|
379
396
|
/** @enumType */
|
|
380
|
-
type
|
|
381
|
-
interface
|
|
397
|
+
type CommonSortOrderWithLiterals = CommonSortOrder | 'ASC' | 'DESC';
|
|
398
|
+
interface CommonPaging {
|
|
382
399
|
/** Number of items to load. */
|
|
383
400
|
limit?: number | null;
|
|
384
401
|
/** Number of items to skip in the current sort order. */
|
|
385
402
|
offset?: number | null;
|
|
386
403
|
}
|
|
387
|
-
interface
|
|
404
|
+
interface CommonCursorPaging {
|
|
388
405
|
/**
|
|
389
406
|
* Maximum number of items to return in the results.
|
|
390
407
|
* @max 100
|
|
@@ -403,9 +420,9 @@ interface ResolveActionsResponse {
|
|
|
403
420
|
/** Retrieved actions. */
|
|
404
421
|
actions?: Action[];
|
|
405
422
|
/** Paging metadata of the response. */
|
|
406
|
-
paging?:
|
|
423
|
+
paging?: CommonPagingMetadataV2;
|
|
407
424
|
}
|
|
408
|
-
interface
|
|
425
|
+
interface CommonPagingMetadataV2 {
|
|
409
426
|
/** Number of items returned in the response. */
|
|
410
427
|
count?: number | null;
|
|
411
428
|
/** Offset that was requested. */
|
|
@@ -415,9 +432,9 @@ interface PagingMetadataV2 {
|
|
|
415
432
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
416
433
|
tooManyToCount?: boolean | null;
|
|
417
434
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
418
|
-
cursors?:
|
|
435
|
+
cursors?: CommonCursors;
|
|
419
436
|
}
|
|
420
|
-
interface
|
|
437
|
+
interface CommonCursors {
|
|
421
438
|
/**
|
|
422
439
|
* Cursor string pointing to the next page in the list of results.
|
|
423
440
|
* @maxLength 16000
|
|
@@ -607,6 +624,116 @@ interface AdditionalInformationRequiredInfo {
|
|
|
607
624
|
*/
|
|
608
625
|
feedback?: string;
|
|
609
626
|
}
|
|
627
|
+
interface QueryActionsRequest {
|
|
628
|
+
/** Query options. */
|
|
629
|
+
query?: QueryV2;
|
|
630
|
+
}
|
|
631
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
632
|
+
/** Paging options to limit and skip the number of items. */
|
|
633
|
+
paging?: Paging;
|
|
634
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
635
|
+
cursorPaging?: CursorPaging;
|
|
636
|
+
/**
|
|
637
|
+
* Filter object in the following format:
|
|
638
|
+
* `"filter" : {
|
|
639
|
+
* "fieldName1": "value1",
|
|
640
|
+
* "fieldName2":{"$operator":"value2"}
|
|
641
|
+
* }`
|
|
642
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
643
|
+
*/
|
|
644
|
+
filter?: Record<string, any> | null;
|
|
645
|
+
/**
|
|
646
|
+
* Sort object in the following format:
|
|
647
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
648
|
+
* @maxSize 4
|
|
649
|
+
*/
|
|
650
|
+
sort?: Sorting[];
|
|
651
|
+
/**
|
|
652
|
+
* Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.
|
|
653
|
+
* @maxLength 200
|
|
654
|
+
* @maxSize 20
|
|
655
|
+
*/
|
|
656
|
+
fields?: string[];
|
|
657
|
+
/**
|
|
658
|
+
* Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.
|
|
659
|
+
* @maxLength 200
|
|
660
|
+
* @maxSize 20
|
|
661
|
+
*/
|
|
662
|
+
fieldsets?: string[];
|
|
663
|
+
}
|
|
664
|
+
/** @oneof */
|
|
665
|
+
interface QueryV2PagingMethodOneOf {
|
|
666
|
+
/** Paging options to limit and skip the number of items. */
|
|
667
|
+
paging?: Paging;
|
|
668
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
669
|
+
cursorPaging?: CursorPaging;
|
|
670
|
+
}
|
|
671
|
+
interface Sorting {
|
|
672
|
+
/**
|
|
673
|
+
* Name of the field to sort by.
|
|
674
|
+
* @maxLength 512
|
|
675
|
+
*/
|
|
676
|
+
fieldName?: string;
|
|
677
|
+
/** Sort order. */
|
|
678
|
+
order?: SortOrderWithLiterals;
|
|
679
|
+
}
|
|
680
|
+
declare enum SortOrder {
|
|
681
|
+
ASC = "ASC",
|
|
682
|
+
DESC = "DESC"
|
|
683
|
+
}
|
|
684
|
+
/** @enumType */
|
|
685
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
686
|
+
interface Paging {
|
|
687
|
+
/** Number of items to load. */
|
|
688
|
+
limit?: number | null;
|
|
689
|
+
/** Number of items to skip in the current sort order. */
|
|
690
|
+
offset?: number | null;
|
|
691
|
+
}
|
|
692
|
+
interface CursorPaging {
|
|
693
|
+
/**
|
|
694
|
+
* Maximum number of items to return in the results.
|
|
695
|
+
* @max 500
|
|
696
|
+
*/
|
|
697
|
+
limit?: number | null;
|
|
698
|
+
/**
|
|
699
|
+
* Pointer to the next or previous page in the list of results.
|
|
700
|
+
*
|
|
701
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
702
|
+
* Not relevant for the first request.
|
|
703
|
+
* @maxLength 64000
|
|
704
|
+
*/
|
|
705
|
+
cursor?: string | null;
|
|
706
|
+
}
|
|
707
|
+
interface QueryActionsResponse {
|
|
708
|
+
/** Retrieved actions. */
|
|
709
|
+
actions?: Action[];
|
|
710
|
+
/** Paging metadata of the response. */
|
|
711
|
+
pagingMetadata?: PagingMetadataV2;
|
|
712
|
+
}
|
|
713
|
+
interface PagingMetadataV2 {
|
|
714
|
+
/** Number of items returned in the response. */
|
|
715
|
+
count?: number | null;
|
|
716
|
+
/** Offset that was requested. */
|
|
717
|
+
offset?: number | null;
|
|
718
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
719
|
+
total?: number | null;
|
|
720
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
721
|
+
tooManyToCount?: boolean | null;
|
|
722
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
723
|
+
cursors?: Cursors;
|
|
724
|
+
}
|
|
725
|
+
interface Cursors {
|
|
726
|
+
/**
|
|
727
|
+
* Cursor string pointing to the next page in the list of results.
|
|
728
|
+
* @maxLength 64000
|
|
729
|
+
*/
|
|
730
|
+
next?: string | null;
|
|
731
|
+
/**
|
|
732
|
+
* Cursor pointing to the previous page in the list of results.
|
|
733
|
+
* @maxLength 64000
|
|
734
|
+
*/
|
|
735
|
+
prev?: string | null;
|
|
736
|
+
}
|
|
610
737
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
611
738
|
createdEvent?: EntityCreatedEvent;
|
|
612
739
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -930,7 +1057,7 @@ interface GetActionDynamicInputSchemaOptions {
|
|
|
930
1057
|
declare function resolveActions(options?: ResolveActionsOptions): Promise<NonNullablePaths<ResolveActionsResponse, `actions` | `actions.${number}.appId` | `actions.${number}.actionKey` | `actions.${number}.implementedMethods.validateConfiguration` | `actions.${number}.implementedMethods.duplicateInputMapping` | `actions.${number}.implementedMethods.generateApplicationAutomationInputMapping` | `actions.${number}.implementedMethods.getQuotaInfo` | `actions.${number}.implementedMethods.onBeforeSave` | `actions.${number}.implementedMethods.onReset` | `actions.${number}.implementedMethods.generateActionInputMappingFromTemplate` | `actions.${number}.implementedMethods.onRemove` | `actions.${number}.implementedMethods.getDynamicInputSchema` | `actions.${number}.implementedMethods.mergeInputMappings` | `actions.${number}.implementedMethods.getDynamicOutputSchema` | `actions.${number}.implementedMethods.generateInputMappingFromIntent` | `actions.${number}.executionType` | `actions.${number}.interfaceConfiguration.type`, 5>>;
|
|
931
1058
|
interface ResolveActionsOptions {
|
|
932
1059
|
/** Query options. */
|
|
933
|
-
query?:
|
|
1060
|
+
query?: CommonQueryV2;
|
|
934
1061
|
}
|
|
935
1062
|
/**
|
|
936
1063
|
* Get action input mapping copy
|
|
@@ -1003,4 +1130,4 @@ interface GetActionDynamicOutputSchemaOptions {
|
|
|
1003
1130
|
*/
|
|
1004
1131
|
declare function bulkGetActionDynamicOutputSchemas(actionsInputMappings: ActionInputMappings[]): Promise<NonNullablePaths<BulkGetActionDynamicOutputSchemasResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
1005
1132
|
|
|
1006
|
-
export { type Action, type ActionEvent, type ActionInputMappings, type ActionSpecInfo, type AdditionalInformationRequiredInfo, type ApplicationError, type BulkActionMetadata, type BulkActionOutputSchemaResult, type BulkGetActionDynamicOutputSchemasRequest, type BulkGetActionDynamicOutputSchemasResponse, type CopyInputMappingOptions, type CopyInputMappingRequest, type CopyInputMappingResponse, type CreateActionOptions, type CreateActionRequest, type CreateActionResponse, type CursorPaging, type Cursors, type DeleteActionOptions, type DeleteActionRequest, type DeleteActionResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ExecutionType, type ExecutionTypeWithLiterals, ExperimentActionType, type ExperimentActionTypeWithLiterals, type FocalPoint, type GenerateInputMappingFromIntentRequest, type GenerateInputMappingFromIntentResponse, type GenerateInputMappingFromIntentResponseStatusInfoOneOf, type GenericOptions, type GetActionDynamicInputSchemaOptions, type GetActionDynamicInputSchemaRequest, type GetActionDynamicInputSchemaResponse, type GetActionDynamicOutputSchemaOptions, type GetActionDynamicOutputSchemaRequest, type GetActionDynamicOutputSchemaResponse, type GetRuntimeActionIdentifiers, type GetRuntimeActionRequest, type GetRuntimeActionResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImplementedMethods, type InputMappingGeneratedInfo, type InterfaceConfiguration, type InterfaceConfigurationOptionsOneOf, type ItemMetadata, type MessageEnvelope, type Metadata, type MigrateComponentToActionRequest, type MigrateComponentToActionResponse, type Paging, type PagingMetadataV2, type QueryV2, type QueryV2PagingMethodOneOf, type ResolveActionsOptions, type ResolveActionsRequest, type ResolveActionsResponse, type RestoreInfo, type RetryExperimentCreation, SortOrder, type SortOrderWithLiterals, type Sorting, type Source, type SourceOptionsOneOf, SourceType, type SourceTypeWithLiterals, Status, type StatusWithLiterals, Type, type TypeWithLiterals, type UpdateActionOptions, type UpdateActionRequest, type UpdateActionResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WidgetComponentOptions, type WixApiOptions, bulkGetActionDynamicOutputSchemas, copyInputMapping, createAction, deleteAction, getActionDynamicInputSchema, getActionDynamicOutputSchema, getRuntimeAction, resolveActions, updateAction };
|
|
1133
|
+
export { type Action, type ActionEvent, type ActionInputMappings, type ActionSpecInfo, type AdditionalInformationRequiredInfo, type ApplicationError, type BulkActionMetadata, type BulkActionOutputSchemaResult, type BulkGetActionDynamicOutputSchemasRequest, type BulkGetActionDynamicOutputSchemasResponse, type CommonCursorPaging, type CommonCursors, type CommonPaging, type CommonPagingMetadataV2, type CommonQueryV2, type CommonQueryV2PagingMethodOneOf, CommonSortOrder, type CommonSortOrderWithLiterals, type CommonSorting, type CopyInputMappingOptions, type CopyInputMappingRequest, type CopyInputMappingResponse, type CreateActionOptions, type CreateActionRequest, type CreateActionResponse, type CursorPaging, type Cursors, type DeleteActionOptions, type DeleteActionRequest, type DeleteActionResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ExecutionType, type ExecutionTypeWithLiterals, ExperimentActionType, type ExperimentActionTypeWithLiterals, type FocalPoint, type GenerateInputMappingFromIntentRequest, type GenerateInputMappingFromIntentResponse, type GenerateInputMappingFromIntentResponseStatusInfoOneOf, type GenericOptions, type GetActionDynamicInputSchemaOptions, type GetActionDynamicInputSchemaRequest, type GetActionDynamicInputSchemaResponse, type GetActionDynamicOutputSchemaOptions, type GetActionDynamicOutputSchemaRequest, type GetActionDynamicOutputSchemaResponse, type GetRuntimeActionIdentifiers, type GetRuntimeActionRequest, type GetRuntimeActionResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImplementedMethods, type InputMappingGeneratedInfo, type IntegrationOptions, IntegrationType, type IntegrationTypeWithLiterals, type InterfaceConfiguration, type InterfaceConfigurationOptionsOneOf, type ItemMetadata, type MessageEnvelope, type Metadata, type MigrateComponentToActionRequest, type MigrateComponentToActionResponse, type Paging, type PagingMetadataV2, type QueryActionsRequest, type QueryActionsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type ResolveActionsOptions, type ResolveActionsRequest, type ResolveActionsResponse, type RestoreInfo, type RetryExperimentCreation, SortOrder, type SortOrderWithLiterals, type Sorting, type Source, type SourceOptionsOneOf, SourceType, type SourceTypeWithLiterals, Status, type StatusWithLiterals, Type, type TypeWithLiterals, type UpdateActionOptions, type UpdateActionRequest, type UpdateActionResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WidgetComponentOptions, type WixApiOptions, bulkGetActionDynamicOutputSchemas, copyInputMapping, createAction, deleteAction, getActionDynamicInputSchema, getActionDynamicOutputSchema, getRuntimeAction, resolveActions, updateAction };
|
|
@@ -20,8 +20,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.typings.ts
|
|
21
21
|
var index_typings_exports = {};
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
|
+
CommonSortOrder: () => CommonSortOrder,
|
|
23
24
|
ExecutionType: () => ExecutionType,
|
|
24
25
|
ExperimentActionType: () => ExperimentActionType,
|
|
26
|
+
IntegrationType: () => IntegrationType,
|
|
25
27
|
SortOrder: () => SortOrder,
|
|
26
28
|
SourceType: () => SourceType,
|
|
27
29
|
Status: () => Status,
|
|
@@ -420,10 +422,16 @@ var Type = /* @__PURE__ */ ((Type2) => {
|
|
|
420
422
|
Type2["GENERIC"] = "GENERIC";
|
|
421
423
|
return Type2;
|
|
422
424
|
})(Type || {});
|
|
425
|
+
var IntegrationType = /* @__PURE__ */ ((IntegrationType2) => {
|
|
426
|
+
IntegrationType2["UNKNOWN_INTEGRATION_TYPE"] = "UNKNOWN_INTEGRATION_TYPE";
|
|
427
|
+
IntegrationType2["WIX_API"] = "WIX_API";
|
|
428
|
+
return IntegrationType2;
|
|
429
|
+
})(IntegrationType || {});
|
|
423
430
|
var SourceType = /* @__PURE__ */ ((SourceType2) => {
|
|
424
431
|
SourceType2["UNKNOWN_SOURCE_TYPE"] = "UNKNOWN_SOURCE_TYPE";
|
|
425
432
|
SourceType2["DEV_CENTER"] = "DEV_CENTER";
|
|
426
433
|
SourceType2["WIX_API"] = "WIX_API";
|
|
434
|
+
SourceType2["INTEGRATION"] = "INTEGRATION";
|
|
427
435
|
return SourceType2;
|
|
428
436
|
})(SourceType || {});
|
|
429
437
|
var ExecutionType = /* @__PURE__ */ ((ExecutionType2) => {
|
|
@@ -439,17 +447,22 @@ var ExperimentActionType = /* @__PURE__ */ ((ExperimentActionType2) => {
|
|
|
439
447
|
ExperimentActionType2["DELETE_COMPONENT"] = "DELETE_COMPONENT";
|
|
440
448
|
return ExperimentActionType2;
|
|
441
449
|
})(ExperimentActionType || {});
|
|
442
|
-
var
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
return
|
|
446
|
-
})(
|
|
450
|
+
var CommonSortOrder = /* @__PURE__ */ ((CommonSortOrder2) => {
|
|
451
|
+
CommonSortOrder2["ASC"] = "ASC";
|
|
452
|
+
CommonSortOrder2["DESC"] = "DESC";
|
|
453
|
+
return CommonSortOrder2;
|
|
454
|
+
})(CommonSortOrder || {});
|
|
447
455
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
448
456
|
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
449
457
|
Status2["INPUT_MAPPING_GENERATED"] = "INPUT_MAPPING_GENERATED";
|
|
450
458
|
Status2["ADDITIONAL_INFORMATION_REQUIRED"] = "ADDITIONAL_INFORMATION_REQUIRED";
|
|
451
459
|
return Status2;
|
|
452
460
|
})(Status || {});
|
|
461
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
462
|
+
SortOrder2["ASC"] = "ASC";
|
|
463
|
+
SortOrder2["DESC"] = "DESC";
|
|
464
|
+
return SortOrder2;
|
|
465
|
+
})(SortOrder || {});
|
|
453
466
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
454
467
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
455
468
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -770,8 +783,10 @@ async function bulkGetActionDynamicOutputSchemas2(actionsInputMappings) {
|
|
|
770
783
|
}
|
|
771
784
|
// Annotate the CommonJS export names for ESM import in node:
|
|
772
785
|
0 && (module.exports = {
|
|
786
|
+
CommonSortOrder,
|
|
773
787
|
ExecutionType,
|
|
774
788
|
ExperimentActionType,
|
|
789
|
+
IntegrationType,
|
|
775
790
|
SortOrder,
|
|
776
791
|
SourceType,
|
|
777
792
|
Status,
|