@wix/automations 1.0.45 → 1.0.46
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/package.json +5 -5
- package/type-bundles/context.bundle.d.ts +1468 -660
- package/type-bundles/index.bundle.d.ts +1468 -660
- package/type-bundles/meta.bundle.d.ts +1 -166
|
@@ -2571,56 +2571,6 @@ interface CopyAutomationResponse$1 {
|
|
|
2571
2571
|
/** Automation copy. */
|
|
2572
2572
|
automation?: Automation$1;
|
|
2573
2573
|
}
|
|
2574
|
-
interface CreateDraftAutomationRequest$1 {
|
|
2575
|
-
/** Draft automation to be created. */
|
|
2576
|
-
automation?: Automation$1;
|
|
2577
|
-
}
|
|
2578
|
-
interface CreateDraftAutomationResponse$1 {
|
|
2579
|
-
/** The created draft automation. */
|
|
2580
|
-
automation?: Automation$1;
|
|
2581
|
-
}
|
|
2582
|
-
interface GetOrCreateDraftAutomationRequest$1 {
|
|
2583
|
-
/** Original automation id */
|
|
2584
|
-
originalAutomationId: string;
|
|
2585
|
-
}
|
|
2586
|
-
interface GetOrCreateDraftAutomationResponse$1 {
|
|
2587
|
-
/** Draft automation. */
|
|
2588
|
-
automation?: Automation$1;
|
|
2589
|
-
}
|
|
2590
|
-
interface UpdateDraftAutomationRequest$1 {
|
|
2591
|
-
/** Automation to be updated, may be partial. */
|
|
2592
|
-
automation: Automation$1;
|
|
2593
|
-
}
|
|
2594
|
-
interface UpdateDraftAutomationResponse$1 {
|
|
2595
|
-
/** Updated draft automation. */
|
|
2596
|
-
automation?: Automation$1;
|
|
2597
|
-
}
|
|
2598
|
-
interface QueryAutomationsWithDraftsRequest$1 {
|
|
2599
|
-
/** WQL expression. */
|
|
2600
|
-
query?: CursorQuery$1;
|
|
2601
|
-
}
|
|
2602
|
-
interface QueryAutomationsWithDraftsResponse$1 {
|
|
2603
|
-
/** List of automations. */
|
|
2604
|
-
automations?: Automation$1[];
|
|
2605
|
-
/** Paging metadata */
|
|
2606
|
-
pagingMetadata?: CursorPagingMetadata$1;
|
|
2607
|
-
/**
|
|
2608
|
-
* map of existing automationIds and their relevant drafts' automationIds
|
|
2609
|
-
* if include_draft_data: false was passed, the map will be empty
|
|
2610
|
-
* The key is the automationId of the original automation, and the value a list of related draft automationIds
|
|
2611
|
-
*/
|
|
2612
|
-
originalAutomationIdToDrafts?: Record<string, DraftsInfo$1>;
|
|
2613
|
-
}
|
|
2614
|
-
interface DraftsInfo$1 {
|
|
2615
|
-
/** list of drafts of an existing Automation */
|
|
2616
|
-
draftAutomationIds?: string[];
|
|
2617
|
-
}
|
|
2618
|
-
interface DeleteDraftAutomationRequest$1 {
|
|
2619
|
-
/** Id of the draft automation to delete. */
|
|
2620
|
-
automationId: string;
|
|
2621
|
-
}
|
|
2622
|
-
interface DeleteDraftAutomationResponse$1 {
|
|
2623
|
-
}
|
|
2624
2574
|
interface ValidateAutomationRequest$1 {
|
|
2625
2575
|
/** Automation to validate. */
|
|
2626
2576
|
automation: Automation$1;
|
|
@@ -2787,16 +2737,6 @@ interface AutomationConfigurationError$1 {
|
|
|
2787
2737
|
declare enum AutomationErrorType$1 {
|
|
2788
2738
|
UNKNOWN_AUTOMATION_ERROR_TYPE = "UNKNOWN_AUTOMATION_ERROR_TYPE"
|
|
2789
2739
|
}
|
|
2790
|
-
interface GetAutomationActionSchemaRequest$1 {
|
|
2791
|
-
/** Automation ID */
|
|
2792
|
-
automationId: string;
|
|
2793
|
-
/** Action ID */
|
|
2794
|
-
actionId: string;
|
|
2795
|
-
}
|
|
2796
|
-
interface GetAutomationActionSchemaResponse$1 {
|
|
2797
|
-
/** The accumulated payload schema for an action. */
|
|
2798
|
-
schema?: Record<string, any> | null;
|
|
2799
|
-
}
|
|
2800
2740
|
interface GetActionsQuotaInfoRequest$1 {
|
|
2801
2741
|
}
|
|
2802
2742
|
interface GetActionsQuotaInfoResponse$1 {
|
|
@@ -2977,18 +2917,6 @@ interface QueryAutomationsResponseNonNullableFields$1 {
|
|
|
2977
2917
|
interface CopyAutomationResponseNonNullableFields$1 {
|
|
2978
2918
|
automation?: AutomationNonNullableFields$1;
|
|
2979
2919
|
}
|
|
2980
|
-
interface CreateDraftAutomationResponseNonNullableFields$1 {
|
|
2981
|
-
automation?: AutomationNonNullableFields$1;
|
|
2982
|
-
}
|
|
2983
|
-
interface GetOrCreateDraftAutomationResponseNonNullableFields$1 {
|
|
2984
|
-
automation?: AutomationNonNullableFields$1;
|
|
2985
|
-
}
|
|
2986
|
-
interface UpdateDraftAutomationResponseNonNullableFields$1 {
|
|
2987
|
-
automation?: AutomationNonNullableFields$1;
|
|
2988
|
-
}
|
|
2989
|
-
interface QueryAutomationsWithDraftsResponseNonNullableFields$1 {
|
|
2990
|
-
automations: AutomationNonNullableFields$1[];
|
|
2991
|
-
}
|
|
2992
2920
|
interface TriggerConfigurationErrorNonNullableFields$1 {
|
|
2993
2921
|
errorType: TriggerErrorType$1;
|
|
2994
2922
|
}
|
|
@@ -3564,56 +3492,6 @@ interface CopyAutomationResponse {
|
|
|
3564
3492
|
/** Automation copy. */
|
|
3565
3493
|
automation?: Automation;
|
|
3566
3494
|
}
|
|
3567
|
-
interface CreateDraftAutomationRequest {
|
|
3568
|
-
/** Draft automation to be created. */
|
|
3569
|
-
automation?: Automation;
|
|
3570
|
-
}
|
|
3571
|
-
interface CreateDraftAutomationResponse {
|
|
3572
|
-
/** The created draft automation. */
|
|
3573
|
-
automation?: Automation;
|
|
3574
|
-
}
|
|
3575
|
-
interface GetOrCreateDraftAutomationRequest {
|
|
3576
|
-
/** Original automation id */
|
|
3577
|
-
originalAutomationId: string;
|
|
3578
|
-
}
|
|
3579
|
-
interface GetOrCreateDraftAutomationResponse {
|
|
3580
|
-
/** Draft automation. */
|
|
3581
|
-
automation?: Automation;
|
|
3582
|
-
}
|
|
3583
|
-
interface UpdateDraftAutomationRequest {
|
|
3584
|
-
/** Automation to be updated, may be partial. */
|
|
3585
|
-
automation: Automation;
|
|
3586
|
-
}
|
|
3587
|
-
interface UpdateDraftAutomationResponse {
|
|
3588
|
-
/** Updated draft automation. */
|
|
3589
|
-
automation?: Automation;
|
|
3590
|
-
}
|
|
3591
|
-
interface QueryAutomationsWithDraftsRequest {
|
|
3592
|
-
/** WQL expression. */
|
|
3593
|
-
query?: CursorQuery;
|
|
3594
|
-
}
|
|
3595
|
-
interface QueryAutomationsWithDraftsResponse {
|
|
3596
|
-
/** List of automations. */
|
|
3597
|
-
automations?: Automation[];
|
|
3598
|
-
/** Paging metadata */
|
|
3599
|
-
pagingMetadata?: CursorPagingMetadata;
|
|
3600
|
-
/**
|
|
3601
|
-
* map of existing automationIds and their relevant drafts' automationIds
|
|
3602
|
-
* if include_draft_data: false was passed, the map will be empty
|
|
3603
|
-
* The key is the automationId of the original automation, and the value a list of related draft automationIds
|
|
3604
|
-
*/
|
|
3605
|
-
originalAutomationIdToDrafts?: Record<string, DraftsInfo>;
|
|
3606
|
-
}
|
|
3607
|
-
interface DraftsInfo {
|
|
3608
|
-
/** list of drafts of an existing Automation */
|
|
3609
|
-
draftAutomationIds?: string[];
|
|
3610
|
-
}
|
|
3611
|
-
interface DeleteDraftAutomationRequest {
|
|
3612
|
-
/** Id of the draft automation to delete. */
|
|
3613
|
-
automationId: string;
|
|
3614
|
-
}
|
|
3615
|
-
interface DeleteDraftAutomationResponse {
|
|
3616
|
-
}
|
|
3617
3495
|
interface ValidateAutomationRequest {
|
|
3618
3496
|
/** Automation to validate. */
|
|
3619
3497
|
automation: Automation;
|
|
@@ -3780,16 +3658,6 @@ interface AutomationConfigurationError {
|
|
|
3780
3658
|
declare enum AutomationErrorType {
|
|
3781
3659
|
UNKNOWN_AUTOMATION_ERROR_TYPE = "UNKNOWN_AUTOMATION_ERROR_TYPE"
|
|
3782
3660
|
}
|
|
3783
|
-
interface GetAutomationActionSchemaRequest {
|
|
3784
|
-
/** Automation ID */
|
|
3785
|
-
automationId: string;
|
|
3786
|
-
/** Action ID */
|
|
3787
|
-
actionId: string;
|
|
3788
|
-
}
|
|
3789
|
-
interface GetAutomationActionSchemaResponse {
|
|
3790
|
-
/** The accumulated payload schema for an action. */
|
|
3791
|
-
schema?: Record<string, any> | null;
|
|
3792
|
-
}
|
|
3793
3661
|
interface GetActionsQuotaInfoRequest {
|
|
3794
3662
|
}
|
|
3795
3663
|
interface GetActionsQuotaInfoResponse {
|
|
@@ -3970,18 +3838,6 @@ interface QueryAutomationsResponseNonNullableFields {
|
|
|
3970
3838
|
interface CopyAutomationResponseNonNullableFields {
|
|
3971
3839
|
automation?: AutomationNonNullableFields;
|
|
3972
3840
|
}
|
|
3973
|
-
interface CreateDraftAutomationResponseNonNullableFields {
|
|
3974
|
-
automation?: AutomationNonNullableFields;
|
|
3975
|
-
}
|
|
3976
|
-
interface GetOrCreateDraftAutomationResponseNonNullableFields {
|
|
3977
|
-
automation?: AutomationNonNullableFields;
|
|
3978
|
-
}
|
|
3979
|
-
interface UpdateDraftAutomationResponseNonNullableFields {
|
|
3980
|
-
automation?: AutomationNonNullableFields;
|
|
3981
|
-
}
|
|
3982
|
-
interface QueryAutomationsWithDraftsResponseNonNullableFields {
|
|
3983
|
-
automations: AutomationNonNullableFields[];
|
|
3984
|
-
}
|
|
3985
3841
|
interface TriggerConfigurationErrorNonNullableFields {
|
|
3986
3842
|
errorType: TriggerErrorType;
|
|
3987
3843
|
}
|
|
@@ -4088,42 +3944,21 @@ declare function queryAutomations(): __PublicMethodMetaInfo<'POST', {}, QueryAut
|
|
|
4088
3944
|
declare function copyAutomation(): __PublicMethodMetaInfo<'POST', {
|
|
4089
3945
|
automationId: string;
|
|
4090
3946
|
}, CopyAutomationRequest, CopyAutomationRequest$1, CopyAutomationResponse & CopyAutomationResponseNonNullableFields, CopyAutomationResponse$1 & CopyAutomationResponseNonNullableFields$1>;
|
|
4091
|
-
declare function createDraftAutomation(): __PublicMethodMetaInfo<'POST', {}, CreateDraftAutomationRequest, CreateDraftAutomationRequest$1, CreateDraftAutomationResponse & CreateDraftAutomationResponseNonNullableFields, CreateDraftAutomationResponse$1 & CreateDraftAutomationResponseNonNullableFields$1>;
|
|
4092
|
-
declare function getOrCreateDraftAutomation(): __PublicMethodMetaInfo<'POST', {
|
|
4093
|
-
originalAutomationId: string;
|
|
4094
|
-
}, GetOrCreateDraftAutomationRequest, GetOrCreateDraftAutomationRequest$1, GetOrCreateDraftAutomationResponse & GetOrCreateDraftAutomationResponseNonNullableFields, GetOrCreateDraftAutomationResponse$1 & GetOrCreateDraftAutomationResponseNonNullableFields$1>;
|
|
4095
|
-
declare function updateDraftAutomation(): __PublicMethodMetaInfo<'PATCH', {
|
|
4096
|
-
automationId: string;
|
|
4097
|
-
}, UpdateDraftAutomationRequest, UpdateDraftAutomationRequest$1, UpdateDraftAutomationResponse & UpdateDraftAutomationResponseNonNullableFields, UpdateDraftAutomationResponse$1 & UpdateDraftAutomationResponseNonNullableFields$1>;
|
|
4098
|
-
declare function queryAutomationsWithDrafts(): __PublicMethodMetaInfo<'POST', {}, QueryAutomationsWithDraftsRequest, QueryAutomationsWithDraftsRequest$1, QueryAutomationsWithDraftsResponse & QueryAutomationsWithDraftsResponseNonNullableFields, QueryAutomationsWithDraftsResponse$1 & QueryAutomationsWithDraftsResponseNonNullableFields$1>;
|
|
4099
|
-
declare function deleteDraftAutomation(): __PublicMethodMetaInfo<'DELETE', {
|
|
4100
|
-
automationId: string;
|
|
4101
|
-
}, DeleteDraftAutomationRequest, DeleteDraftAutomationRequest$1, DeleteDraftAutomationResponse, DeleteDraftAutomationResponse$1>;
|
|
4102
3947
|
declare function validateAutomation(): __PublicMethodMetaInfo<'POST', {}, ValidateAutomationRequest, ValidateAutomationRequest$1, ValidateAutomationResponse & ValidateAutomationResponseNonNullableFields, ValidateAutomationResponse$1 & ValidateAutomationResponseNonNullableFields$1>;
|
|
4103
|
-
declare function getAutomationActionSchema(): __PublicMethodMetaInfo<'GET', {
|
|
4104
|
-
automationId: string;
|
|
4105
|
-
actionId: string;
|
|
4106
|
-
}, GetAutomationActionSchemaRequest, GetAutomationActionSchemaRequest$1, GetAutomationActionSchemaResponse, GetAutomationActionSchemaResponse$1>;
|
|
4107
3948
|
declare function getActionsQuotaInfo(): __PublicMethodMetaInfo<'GET', {}, GetActionsQuotaInfoRequest, GetActionsQuotaInfoRequest$1, GetActionsQuotaInfoResponse & GetActionsQuotaInfoResponseNonNullableFields, GetActionsQuotaInfoResponse$1 & GetActionsQuotaInfoResponseNonNullableFields$1>;
|
|
4108
3949
|
|
|
4109
3950
|
type meta___PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = __PublicMethodMetaInfo<K, M, T, S, Q, R>;
|
|
4110
3951
|
declare const meta_bulkDeleteAutomations: typeof bulkDeleteAutomations;
|
|
4111
3952
|
declare const meta_copyAutomation: typeof copyAutomation;
|
|
4112
3953
|
declare const meta_createAutomation: typeof createAutomation;
|
|
4113
|
-
declare const meta_createDraftAutomation: typeof createDraftAutomation;
|
|
4114
3954
|
declare const meta_deleteAutomation: typeof deleteAutomation;
|
|
4115
|
-
declare const meta_deleteDraftAutomation: typeof deleteDraftAutomation;
|
|
4116
3955
|
declare const meta_getActionsQuotaInfo: typeof getActionsQuotaInfo;
|
|
4117
3956
|
declare const meta_getAutomation: typeof getAutomation;
|
|
4118
|
-
declare const meta_getAutomationActionSchema: typeof getAutomationActionSchema;
|
|
4119
|
-
declare const meta_getOrCreateDraftAutomation: typeof getOrCreateDraftAutomation;
|
|
4120
3957
|
declare const meta_queryAutomations: typeof queryAutomations;
|
|
4121
|
-
declare const meta_queryAutomationsWithDrafts: typeof queryAutomationsWithDrafts;
|
|
4122
3958
|
declare const meta_updateAutomation: typeof updateAutomation;
|
|
4123
|
-
declare const meta_updateDraftAutomation: typeof updateDraftAutomation;
|
|
4124
3959
|
declare const meta_validateAutomation: typeof validateAutomation;
|
|
4125
3960
|
declare namespace meta {
|
|
4126
|
-
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_bulkDeleteAutomations as bulkDeleteAutomations, meta_copyAutomation as copyAutomation, meta_createAutomation as createAutomation,
|
|
3961
|
+
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_bulkDeleteAutomations as bulkDeleteAutomations, meta_copyAutomation as copyAutomation, meta_createAutomation as createAutomation, meta_deleteAutomation as deleteAutomation, meta_getActionsQuotaInfo as getActionsQuotaInfo, meta_getAutomation as getAutomation, meta_queryAutomations as queryAutomations, meta_updateAutomation as updateAutomation, meta_validateAutomation as validateAutomation };
|
|
4127
3962
|
}
|
|
4128
3963
|
|
|
4129
3964
|
export { meta$1 as activations, meta$2 as automationsService, meta as automationsServiceV2 };
|