@wix/auto_sdk_editor-branches_branches 1.0.32 → 1.0.33
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 +24 -8
- package/build/cjs/index.js +126 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +145 -6
- package/build/cjs/index.typings.js +108 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +109 -2
- package/build/cjs/meta.js +82 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +24 -8
- package/build/es/index.mjs +124 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +145 -6
- package/build/es/index.typings.mjs +106 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +109 -2
- package/build/es/meta.mjs +80 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +24 -8
- package/build/internal/cjs/index.js +126 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +145 -6
- package/build/internal/cjs/index.typings.js +108 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +109 -2
- package/build/internal/cjs/meta.js +82 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +24 -8
- package/build/internal/es/index.mjs +124 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +145 -6
- package/build/internal/es/index.typings.mjs +106 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +109 -2
- package/build/internal/es/meta.mjs +80 -0
- package/build/internal/es/meta.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, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { Branch, CreateBranchApplicationErrors, UpdateBranch, UpdateBranchApplicationErrors, DeleteBranchApplicationErrors, SetDefaultBranchResponse, GetDefaultBranchResponse, BranchCreatedEnvelope, BranchDeletedEnvelope, BranchUpdatedEnvelope, BranchesQueryBuilder, BranchQuery, typedQueryBranches } from './index.typings.js';
|
|
3
|
-
export { ActionEvent, Asset, BaseEventMetadata, BranchQuerySpec, BranchSourceOneOf, BranchesQueryResult, CommonQueryWithEntityContext, CreateBranchRequest, CreateBranchResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteBranchRequest, DeleteBranchResponse, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, EditorType, EditorTypeOptions, EditorTypeOptionsWithLiterals, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetBranchRequest, GetBranchResponse, GetDefaultBranchRequest, HtmlSitePublished, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, Page, PicassoAssigned, PicassoUnassigned, QueryBranchesRequest, QueryBranchesResponse, RestoreInfo, ServiceProvisioned, ServiceRemoved, SetDefaultBranchRequest, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, SourceBranch, SourceTemplate, SourceType, SourceTypeWithLiterals, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, Type, TypeWithLiterals, UpdateBranchRequest, UpdateBranchResponse, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
2
|
+
import { Branch, CreateBranchApplicationErrors, UpdateBranch, UpdateBranchApplicationErrors, DeleteBranchApplicationErrors, SetDefaultBranchResponse, GetDefaultBranchResponse, BulkUpdateBranchTagsOptions, BulkUpdateBranchTagsResponse, BulkUpdateBranchTagsApplicationErrors, BulkUpdateBranchTagsByFilterOptions, BulkUpdateBranchTagsByFilterResponse, BulkUpdateBranchTagsByFilterApplicationErrors, BranchCreatedEnvelope, BranchDeletedEnvelope, BranchUpdatedEnvelope, BranchesQueryBuilder, BranchQuery, typedQueryBranches } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, ApplicationError, Asset, BaseEventMetadata, BranchQuerySpec, BranchSourceOneOf, BranchesQueryResult, BulkActionMetadata, BulkUpdateBranchTagsByFilterRequest, BulkUpdateBranchTagsRequest, BulkUpdateBranchTagsResult, CommonQueryWithEntityContext, CreateBranchRequest, CreateBranchResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteBranchRequest, DeleteBranchResponse, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, EditorType, EditorTypeOptions, EditorTypeOptionsWithLiterals, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetBranchRequest, GetBranchResponse, GetDefaultBranchRequest, HtmlSitePublished, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, Page, PicassoAssigned, PicassoUnassigned, PublicTags, QueryBranchesRequest, QueryBranchesResponse, RestoreInfo, ServiceProvisioned, ServiceRemoved, SetDefaultBranchRequest, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, SourceBranch, SourceTemplate, SourceType, SourceTypeWithLiterals, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, TagList, TagsModified, Type, TypeWithLiterals, UpdateBranchRequest, UpdateBranchResponse, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createBranch$1(httpClient: HttpClient): CreateBranchSignature;
|
|
6
6
|
interface CreateBranchSignature {
|
|
@@ -17,7 +17,7 @@ interface CreateBranchSignature {
|
|
|
17
17
|
* @param - Branch to be created.
|
|
18
18
|
* @returns Created branch.
|
|
19
19
|
*/
|
|
20
|
-
(branch: Branch): Promise<NonNullablePaths<Branch, `sourceBranchProperties.branchId` | `sourceTemplateProperties.templateId` | `type` | `sourceType` | `editorType.editorTypeOptions`,
|
|
20
|
+
(branch: Branch): Promise<NonNullablePaths<Branch, `sourceBranchProperties.branchId` | `sourceTemplateProperties.templateId` | `type` | `sourceType` | `editorType.editorTypeOptions` | `tags.tags.tagIds`, 4> & {
|
|
21
21
|
__applicationErrorsType?: CreateBranchApplicationErrors;
|
|
22
22
|
}>;
|
|
23
23
|
}
|
|
@@ -28,7 +28,7 @@ interface GetBranchSignature {
|
|
|
28
28
|
* @param - ID of branch to retrieve.
|
|
29
29
|
* @returns Requested branch.
|
|
30
30
|
*/
|
|
31
|
-
(branchId: string): Promise<NonNullablePaths<Branch, `sourceBranchProperties.branchId` | `sourceTemplateProperties.templateId` | `type` | `sourceType` | `editorType.editorTypeOptions`,
|
|
31
|
+
(branchId: string): Promise<NonNullablePaths<Branch, `sourceBranchProperties.branchId` | `sourceTemplateProperties.templateId` | `type` | `sourceType` | `editorType.editorTypeOptions` | `tags.tags.tagIds`, 4>>;
|
|
32
32
|
}
|
|
33
33
|
declare function updateBranch$1(httpClient: HttpClient): UpdateBranchSignature;
|
|
34
34
|
interface UpdateBranchSignature {
|
|
@@ -39,7 +39,7 @@ interface UpdateBranchSignature {
|
|
|
39
39
|
* @param - Branch ID.
|
|
40
40
|
* @returns Updated branch.
|
|
41
41
|
*/
|
|
42
|
-
(_id: string, branch: NonNullablePaths<UpdateBranch, `revision`, 2>): Promise<NonNullablePaths<Branch, `sourceBranchProperties.branchId` | `sourceTemplateProperties.templateId` | `type` | `sourceType` | `editorType.editorTypeOptions`,
|
|
42
|
+
(_id: string, branch: NonNullablePaths<UpdateBranch, `revision`, 2>): Promise<NonNullablePaths<Branch, `sourceBranchProperties.branchId` | `sourceTemplateProperties.templateId` | `type` | `sourceType` | `editorType.editorTypeOptions` | `tags.tags.tagIds`, 4> & {
|
|
43
43
|
__applicationErrorsType?: UpdateBranchApplicationErrors;
|
|
44
44
|
}>;
|
|
45
45
|
}
|
|
@@ -59,14 +59,28 @@ interface SetDefaultBranchSignature {
|
|
|
59
59
|
* Sets the specified branch as the default.
|
|
60
60
|
* @param - Branch ID.
|
|
61
61
|
*/
|
|
62
|
-
(branchId: string): Promise<NonNullablePaths<SetDefaultBranchResponse, `branch.sourceBranchProperties.branchId` | `branch.sourceTemplateProperties.templateId` | `branch.type` | `branch.sourceType` | `branch.editorType.editorTypeOptions`,
|
|
62
|
+
(branchId: string): Promise<NonNullablePaths<SetDefaultBranchResponse, `branch.sourceBranchProperties.branchId` | `branch.sourceTemplateProperties.templateId` | `branch.type` | `branch.sourceType` | `branch.editorType.editorTypeOptions` | `branch.tags.tags.tagIds`, 5>>;
|
|
63
63
|
}
|
|
64
64
|
declare function getDefaultBranch$1(httpClient: HttpClient): GetDefaultBranchSignature;
|
|
65
65
|
interface GetDefaultBranchSignature {
|
|
66
66
|
/**
|
|
67
67
|
* Retrieves the default branch.
|
|
68
68
|
*/
|
|
69
|
-
(): Promise<NonNullablePaths<GetDefaultBranchResponse, `branch.sourceBranchProperties.branchId` | `branch.sourceTemplateProperties.templateId` | `branch.type` | `branch.sourceType` | `branch.editorType.editorTypeOptions`,
|
|
69
|
+
(): Promise<NonNullablePaths<GetDefaultBranchResponse, `branch.sourceBranchProperties.branchId` | `branch.sourceTemplateProperties.templateId` | `branch.type` | `branch.sourceType` | `branch.editorType.editorTypeOptions` | `branch.tags.tags.tagIds`, 5>>;
|
|
70
|
+
}
|
|
71
|
+
declare function bulkUpdateBranchTags$1(httpClient: HttpClient): BulkUpdateBranchTagsSignature;
|
|
72
|
+
interface BulkUpdateBranchTagsSignature {
|
|
73
|
+
/** @param - List of branch IDs. */
|
|
74
|
+
(branchIds: string[], options?: BulkUpdateBranchTagsOptions): Promise<NonNullablePaths<BulkUpdateBranchTagsResponse, `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> & {
|
|
75
|
+
__applicationErrorsType?: BulkUpdateBranchTagsApplicationErrors;
|
|
76
|
+
}>;
|
|
77
|
+
}
|
|
78
|
+
declare function bulkUpdateBranchTagsByFilter$1(httpClient: HttpClient): BulkUpdateBranchTagsByFilterSignature;
|
|
79
|
+
interface BulkUpdateBranchTagsByFilterSignature {
|
|
80
|
+
/** @param - WQL filter to select branches. */
|
|
81
|
+
(filter: Record<string, any>, options?: BulkUpdateBranchTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateBranchTagsByFilterResponse, `jobId`, 2> & {
|
|
82
|
+
__applicationErrorsType?: BulkUpdateBranchTagsByFilterApplicationErrors;
|
|
83
|
+
}>;
|
|
70
84
|
}
|
|
71
85
|
declare const onBranchCreated$1: EventDefinition<BranchCreatedEnvelope, "wix.editor.branches.v1.branch_created">;
|
|
72
86
|
declare const onBranchDeleted$1: EventDefinition<BranchDeletedEnvelope, "wix.editor.branches.v1.branch_deleted">;
|
|
@@ -82,6 +96,8 @@ declare const updateBranch: MaybeContext<BuildRESTFunction<typeof updateBranch$1
|
|
|
82
96
|
declare const deleteBranch: MaybeContext<BuildRESTFunction<typeof deleteBranch$1> & typeof deleteBranch$1>;
|
|
83
97
|
declare const setDefaultBranch: MaybeContext<BuildRESTFunction<typeof setDefaultBranch$1> & typeof setDefaultBranch$1>;
|
|
84
98
|
declare const getDefaultBranch: MaybeContext<BuildRESTFunction<typeof getDefaultBranch$1> & typeof getDefaultBranch$1>;
|
|
99
|
+
declare const bulkUpdateBranchTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateBranchTags$1> & typeof bulkUpdateBranchTags$1>;
|
|
100
|
+
declare const bulkUpdateBranchTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateBranchTagsByFilter$1> & typeof bulkUpdateBranchTagsByFilter$1>;
|
|
85
101
|
declare const queryBranches: MaybeContext<BuildRESTFunction<typeof customQueryBranches> & typeof customQueryBranches>;
|
|
86
102
|
/**
|
|
87
103
|
* Triggered when a branch is created.
|
|
@@ -96,4 +112,4 @@ declare const onBranchDeleted: BuildEventDefinition<typeof onBranchDeleted$1> &
|
|
|
96
112
|
*/
|
|
97
113
|
declare const onBranchUpdated: BuildEventDefinition<typeof onBranchUpdated$1> & typeof onBranchUpdated$1;
|
|
98
114
|
|
|
99
|
-
export { Branch, BranchCreatedEnvelope, BranchDeletedEnvelope, BranchQuery, BranchUpdatedEnvelope, BranchesQueryBuilder, CreateBranchApplicationErrors, DeleteBranchApplicationErrors, GetDefaultBranchResponse, SetDefaultBranchResponse, UpdateBranch, UpdateBranchApplicationErrors, createBranch, deleteBranch, getBranch, getDefaultBranch, onBranchCreated, onBranchDeleted, onBranchUpdated, queryBranches, setDefaultBranch, updateBranch };
|
|
115
|
+
export { Branch, BranchCreatedEnvelope, BranchDeletedEnvelope, BranchQuery, BranchUpdatedEnvelope, BranchesQueryBuilder, BulkUpdateBranchTagsApplicationErrors, BulkUpdateBranchTagsByFilterApplicationErrors, BulkUpdateBranchTagsByFilterOptions, BulkUpdateBranchTagsByFilterResponse, BulkUpdateBranchTagsOptions, BulkUpdateBranchTagsResponse, CreateBranchApplicationErrors, DeleteBranchApplicationErrors, GetDefaultBranchResponse, SetDefaultBranchResponse, UpdateBranch, UpdateBranchApplicationErrors, bulkUpdateBranchTags, bulkUpdateBranchTagsByFilter, createBranch, deleteBranch, getBranch, getDefaultBranch, onBranchCreated, onBranchDeleted, onBranchUpdated, queryBranches, setDefaultBranch, updateBranch };
|
package/build/cjs/index.js
CHANGED
|
@@ -29,6 +29,8 @@ __export(index_exports, {
|
|
|
29
29
|
State: () => State,
|
|
30
30
|
Type: () => Type,
|
|
31
31
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
32
|
+
bulkUpdateBranchTags: () => bulkUpdateBranchTags4,
|
|
33
|
+
bulkUpdateBranchTagsByFilter: () => bulkUpdateBranchTagsByFilter4,
|
|
32
34
|
createBranch: () => createBranch4,
|
|
33
35
|
deleteBranch: () => deleteBranch4,
|
|
34
36
|
getBranch: () => getBranch4,
|
|
@@ -346,6 +348,48 @@ function getDefaultBranch(payload) {
|
|
|
346
348
|
}
|
|
347
349
|
return __getDefaultBranch;
|
|
348
350
|
}
|
|
351
|
+
function bulkUpdateBranchTags(payload) {
|
|
352
|
+
function __bulkUpdateBranchTags({ host }) {
|
|
353
|
+
const metadata = {
|
|
354
|
+
entityFqdn: "wix.editor.branches.v1.branch",
|
|
355
|
+
method: "POST",
|
|
356
|
+
methodFqn: "wix.editor.branches.v1.BranchesService.BulkUpdateBranchTags",
|
|
357
|
+
packageName: PACKAGE_NAME,
|
|
358
|
+
migrationOptions: {
|
|
359
|
+
optInTransformResponse: true
|
|
360
|
+
},
|
|
361
|
+
url: resolveWixEditorBranchesV1BranchesServiceUrl({
|
|
362
|
+
protoPath: "/v1/bulk/branches/update-tags",
|
|
363
|
+
data: payload,
|
|
364
|
+
host
|
|
365
|
+
}),
|
|
366
|
+
data: payload
|
|
367
|
+
};
|
|
368
|
+
return metadata;
|
|
369
|
+
}
|
|
370
|
+
return __bulkUpdateBranchTags;
|
|
371
|
+
}
|
|
372
|
+
function bulkUpdateBranchTagsByFilter(payload) {
|
|
373
|
+
function __bulkUpdateBranchTagsByFilter({ host }) {
|
|
374
|
+
const metadata = {
|
|
375
|
+
entityFqdn: "wix.editor.branches.v1.branch",
|
|
376
|
+
method: "POST",
|
|
377
|
+
methodFqn: "wix.editor.branches.v1.BranchesService.BulkUpdateBranchTagsByFilter",
|
|
378
|
+
packageName: PACKAGE_NAME,
|
|
379
|
+
migrationOptions: {
|
|
380
|
+
optInTransformResponse: true
|
|
381
|
+
},
|
|
382
|
+
url: resolveWixEditorBranchesV1BranchesServiceUrl({
|
|
383
|
+
protoPath: "/v1/bulk/branches/update-tags-by-filter",
|
|
384
|
+
data: payload,
|
|
385
|
+
host
|
|
386
|
+
}),
|
|
387
|
+
data: payload
|
|
388
|
+
};
|
|
389
|
+
return metadata;
|
|
390
|
+
}
|
|
391
|
+
return __bulkUpdateBranchTagsByFilter;
|
|
392
|
+
}
|
|
349
393
|
|
|
350
394
|
// src/editor-branches-v1-branch-branches.universal.ts
|
|
351
395
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
@@ -648,6 +692,68 @@ async function getDefaultBranch2() {
|
|
|
648
692
|
throw transformedError;
|
|
649
693
|
}
|
|
650
694
|
}
|
|
695
|
+
async function bulkUpdateBranchTags2(branchIds, options) {
|
|
696
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
697
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
698
|
+
branchIds,
|
|
699
|
+
assignTags: options?.assignTags,
|
|
700
|
+
unassignTags: options?.unassignTags
|
|
701
|
+
});
|
|
702
|
+
const reqOpts = bulkUpdateBranchTags(payload);
|
|
703
|
+
sideEffects?.onSiteCall?.();
|
|
704
|
+
try {
|
|
705
|
+
const result = await httpClient.request(reqOpts);
|
|
706
|
+
sideEffects?.onSuccess?.(result);
|
|
707
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
708
|
+
} catch (err) {
|
|
709
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
710
|
+
err,
|
|
711
|
+
{
|
|
712
|
+
spreadPathsToArguments: {},
|
|
713
|
+
explicitPathsToArguments: {
|
|
714
|
+
branchIds: "$[0]",
|
|
715
|
+
assignTags: "$[1].assignTags",
|
|
716
|
+
unassignTags: "$[1].unassignTags"
|
|
717
|
+
},
|
|
718
|
+
singleArgumentUnchanged: false
|
|
719
|
+
},
|
|
720
|
+
["branchIds", "options"]
|
|
721
|
+
);
|
|
722
|
+
sideEffects?.onError?.(err);
|
|
723
|
+
throw transformedError;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
async function bulkUpdateBranchTagsByFilter2(filter, options) {
|
|
727
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
728
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
729
|
+
filter,
|
|
730
|
+
assignTags: options?.assignTags,
|
|
731
|
+
unassignTags: options?.unassignTags
|
|
732
|
+
});
|
|
733
|
+
const reqOpts = bulkUpdateBranchTagsByFilter(payload);
|
|
734
|
+
sideEffects?.onSiteCall?.();
|
|
735
|
+
try {
|
|
736
|
+
const result = await httpClient.request(reqOpts);
|
|
737
|
+
sideEffects?.onSuccess?.(result);
|
|
738
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
739
|
+
} catch (err) {
|
|
740
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
741
|
+
err,
|
|
742
|
+
{
|
|
743
|
+
spreadPathsToArguments: {},
|
|
744
|
+
explicitPathsToArguments: {
|
|
745
|
+
filter: "$[0]",
|
|
746
|
+
assignTags: "$[1].assignTags",
|
|
747
|
+
unassignTags: "$[1].unassignTags"
|
|
748
|
+
},
|
|
749
|
+
singleArgumentUnchanged: false
|
|
750
|
+
},
|
|
751
|
+
["filter", "options"]
|
|
752
|
+
);
|
|
753
|
+
sideEffects?.onError?.(err);
|
|
754
|
+
throw transformedError;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
651
757
|
|
|
652
758
|
// src/editor-branches-v1-branch-branches.public.ts
|
|
653
759
|
function createBranch3(httpClient) {
|
|
@@ -705,6 +811,22 @@ function getDefaultBranch3(httpClient) {
|
|
|
705
811
|
{ httpClient }
|
|
706
812
|
);
|
|
707
813
|
}
|
|
814
|
+
function bulkUpdateBranchTags3(httpClient) {
|
|
815
|
+
return (branchIds, options) => bulkUpdateBranchTags2(
|
|
816
|
+
branchIds,
|
|
817
|
+
options,
|
|
818
|
+
// @ts-ignore
|
|
819
|
+
{ httpClient }
|
|
820
|
+
);
|
|
821
|
+
}
|
|
822
|
+
function bulkUpdateBranchTagsByFilter3(httpClient) {
|
|
823
|
+
return (filter, options) => bulkUpdateBranchTagsByFilter2(
|
|
824
|
+
filter,
|
|
825
|
+
options,
|
|
826
|
+
// @ts-ignore
|
|
827
|
+
{ httpClient }
|
|
828
|
+
);
|
|
829
|
+
}
|
|
708
830
|
var onBranchCreated = (0, import_sdk_types.EventDefinition)(
|
|
709
831
|
"wix.editor.branches.v1.branch_created",
|
|
710
832
|
true,
|
|
@@ -777,6 +899,8 @@ var updateBranch4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(u
|
|
|
777
899
|
var deleteBranch4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteBranch3);
|
|
778
900
|
var setDefaultBranch4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(setDefaultBranch3);
|
|
779
901
|
var getDefaultBranch4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getDefaultBranch3);
|
|
902
|
+
var bulkUpdateBranchTags4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateBranchTags3);
|
|
903
|
+
var bulkUpdateBranchTagsByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateBranchTagsByFilter3);
|
|
780
904
|
var queryBranches4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryBranches);
|
|
781
905
|
var onBranchCreated2 = (0, import_event_definition_modules.createEventModule)(onBranchCreated);
|
|
782
906
|
var onBranchDeleted2 = (0, import_event_definition_modules.createEventModule)(onBranchDeleted);
|
|
@@ -792,6 +916,8 @@ var onBranchUpdated2 = (0, import_event_definition_modules.createEventModule)(on
|
|
|
792
916
|
State,
|
|
793
917
|
Type,
|
|
794
918
|
WebhookIdentityType,
|
|
919
|
+
bulkUpdateBranchTags,
|
|
920
|
+
bulkUpdateBranchTagsByFilter,
|
|
795
921
|
createBranch,
|
|
796
922
|
deleteBranch,
|
|
797
923
|
getBranch,
|