@wix/auto_sdk_editor-branches_branches 1.0.46 → 1.0.48

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.
@@ -409,6 +409,10 @@ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
409
409
  userDomainMediaEnabled?: UserDomainMediaEnabled;
410
410
  /** Emitted when media from user domain is disabled. */
411
411
  userDomainMediaDisabled?: UserDomainMediaDisabled;
412
+ /** Emitted when Editorless is attached. */
413
+ editorlessAssigned?: EditorlessAssigned;
414
+ /** Emitted when Editorless is detached. */
415
+ editorlessUnassigned?: EditorlessUnassigned;
412
416
  /**
413
417
  * A meta site id.
414
418
  * @format GUID
@@ -487,6 +491,10 @@ interface MetaSiteSpecialEventPayloadOneOf {
487
491
  userDomainMediaEnabled?: UserDomainMediaEnabled;
488
492
  /** Emitted when media from user domain is disabled. */
489
493
  userDomainMediaDisabled?: UserDomainMediaDisabled;
494
+ /** Emitted when Editorless is attached. */
495
+ editorlessAssigned?: EditorlessAssigned;
496
+ /** Emitted when Editorless is detached. */
497
+ editorlessUnassigned?: EditorlessUnassigned;
490
498
  }
491
499
  interface Asset {
492
500
  /**
@@ -855,6 +863,12 @@ interface UserDomainMediaEnabled {
855
863
  /** Media from user domain is disabled. */
856
864
  interface UserDomainMediaDisabled {
857
865
  }
866
+ /** Assigned Editorless */
867
+ interface EditorlessAssigned {
868
+ }
869
+ /** Unassigned Editorless */
870
+ interface EditorlessUnassigned {
871
+ }
858
872
  interface DomainEvent extends DomainEventBodyOneOf {
859
873
  createdEvent?: EntityCreatedEvent;
860
874
  updatedEvent?: EntityUpdatedEvent;
@@ -1211,6 +1225,8 @@ interface BranchCreatedEnvelope {
1211
1225
  }
1212
1226
  /**
1213
1227
  * Triggered when a branch is created.
1228
+ * @permissionScope Manage SEO Settings
1229
+ * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO
1214
1230
  * @permissionScope Manage Site Branches
1215
1231
  * @permissionScopeId SCOPE.DC-DOCUMENT-MANAGEMENT.MANAGE-BRANCHES
1216
1232
  * @permissionId EDITOR.BRANCH_READ
@@ -1225,6 +1241,8 @@ interface BranchDeletedEnvelope {
1225
1241
  }
1226
1242
  /**
1227
1243
  * Triggered when a branch is deleted.
1244
+ * @permissionScope Manage SEO Settings
1245
+ * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO
1228
1246
  * @permissionScope Manage Site Branches
1229
1247
  * @permissionScopeId SCOPE.DC-DOCUMENT-MANAGEMENT.MANAGE-BRANCHES
1230
1248
  * @permissionId EDITOR.BRANCH_READ
@@ -1241,6 +1259,8 @@ interface BranchUpdatedEnvelope {
1241
1259
  }
1242
1260
  /**
1243
1261
  * Triggered when a branch is updated.
1262
+ * @permissionScope Manage SEO Settings
1263
+ * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO
1244
1264
  * @permissionScope Manage Site Branches
1245
1265
  * @permissionScopeId SCOPE.DC-DOCUMENT-MANAGEMENT.MANAGE-BRANCHES
1246
1266
  * @permissionId EDITOR.BRANCH_READ
@@ -1538,9 +1558,11 @@ type BranchQuery = {
1538
1558
  }[];
1539
1559
  };
1540
1560
  declare const utils: {
1541
- QueryBuilder: () => _wix_sdk_types.QueryBuilder<Branch, BranchQuerySpec, BranchQuery>;
1542
- Filter: _wix_sdk_types.FilterFactory<Branch, BranchQuerySpec>;
1543
- Sort: _wix_sdk_types.SortFactory<BranchQuerySpec>;
1561
+ query: {
1562
+ QueryBuilder: () => _wix_sdk_types.QueryBuilder<Branch, BranchQuerySpec, BranchQuery>;
1563
+ Filter: _wix_sdk_types.FilterFactory<Branch, BranchQuerySpec>;
1564
+ Sort: _wix_sdk_types.SortFactory<BranchQuerySpec>;
1565
+ };
1544
1566
  };
1545
1567
  /**
1546
1568
  * Sets the specified branch as the default.
@@ -1609,4 +1631,4 @@ interface BulkUpdateBranchTagsByFilterOptions {
1609
1631
  unassignTags?: PublicTags;
1610
1632
  }
1611
1633
 
1612
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type ApplicationError, type Asset, type BaseEventMetadata, type Branch, type BranchCreatedEnvelope, type BranchDeletedEnvelope, type BranchQuery, type BranchQuerySpec, type BranchSourceOneOf, type BranchUpdatedEnvelope, type BranchesQueryBuilder, type BranchesQueryResult, type BulkActionMetadata, type BulkUpdateBranchTagsApplicationErrors, type BulkUpdateBranchTagsByFilterApplicationErrors, type BulkUpdateBranchTagsByFilterOptions, type BulkUpdateBranchTagsByFilterRequest, type BulkUpdateBranchTagsByFilterResponse, type BulkUpdateBranchTagsOptions, type BulkUpdateBranchTagsRequest, type BulkUpdateBranchTagsResponse, type BulkUpdateBranchTagsResult, type CommonQueryWithEntityContext, type CreateBranchApplicationErrors, type CreateBranchRequest, type CreateBranchResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteBranchApplicationErrors, type DeleteBranchRequest, type DeleteBranchResponse, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EditorType, EditorTypeOptions, type EditorTypeOptionsWithLiterals, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type GetBranchRequest, type GetBranchResponse, type GetDefaultBranchRequest, type GetDefaultBranchResponse, type HtmlSitePublished, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type Page, type PicassoAssigned, type PicassoUnassigned, type PublicTags, type QueryBranchesRequest, type QueryBranchesResponse, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetDefaultBranchRequest, type SetDefaultBranchResponse, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SourceBranch, type SourceTemplate, SourceType, type SourceTypeWithLiterals, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type TagList, type TagsModified, Type, type TypeWithLiterals, type UpdateBranch, type UpdateBranchApplicationErrors, type UpdateBranchRequest, type UpdateBranchResponse, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UserDomainMediaDisabled, type UserDomainMediaEnabled, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, bulkUpdateBranchTags, bulkUpdateBranchTagsByFilter, createBranch, deleteBranch, getBranch, getDefaultBranch, onBranchCreated, onBranchDeleted, onBranchUpdated, queryBranches, setDefaultBranch, typedQueryBranches, updateBranch, utils };
1634
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type ApplicationError, type Asset, type BaseEventMetadata, type Branch, type BranchCreatedEnvelope, type BranchDeletedEnvelope, type BranchQuery, type BranchQuerySpec, type BranchSourceOneOf, type BranchUpdatedEnvelope, type BranchesQueryBuilder, type BranchesQueryResult, type BulkActionMetadata, type BulkUpdateBranchTagsApplicationErrors, type BulkUpdateBranchTagsByFilterApplicationErrors, type BulkUpdateBranchTagsByFilterOptions, type BulkUpdateBranchTagsByFilterRequest, type BulkUpdateBranchTagsByFilterResponse, type BulkUpdateBranchTagsOptions, type BulkUpdateBranchTagsRequest, type BulkUpdateBranchTagsResponse, type BulkUpdateBranchTagsResult, type CommonQueryWithEntityContext, type CreateBranchApplicationErrors, type CreateBranchRequest, type CreateBranchResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteBranchApplicationErrors, type DeleteBranchRequest, type DeleteBranchResponse, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EditorType, EditorTypeOptions, type EditorTypeOptionsWithLiterals, type EditorlessAssigned, type EditorlessUnassigned, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type GetBranchRequest, type GetBranchResponse, type GetDefaultBranchRequest, type GetDefaultBranchResponse, type HtmlSitePublished, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type Page, type PicassoAssigned, type PicassoUnassigned, type PublicTags, type QueryBranchesRequest, type QueryBranchesResponse, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetDefaultBranchRequest, type SetDefaultBranchResponse, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SourceBranch, type SourceTemplate, SourceType, type SourceTypeWithLiterals, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type TagList, type TagsModified, Type, type TypeWithLiterals, type UpdateBranch, type UpdateBranchApplicationErrors, type UpdateBranchRequest, type UpdateBranchResponse, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UserDomainMediaDisabled, type UserDomainMediaEnabled, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, bulkUpdateBranchTags, bulkUpdateBranchTagsByFilter, createBranch, deleteBranch, getBranch, getDefaultBranch, onBranchCreated, onBranchDeleted, onBranchUpdated, queryBranches, setDefaultBranch, typedQueryBranches, updateBranch, utils };
@@ -608,7 +608,9 @@ async function typedQueryBranches(query) {
608
608
  }
609
609
  }
610
610
  var utils = {
611
- ...createQueryUtils()
611
+ query: {
612
+ ...createQueryUtils()
613
+ }
612
614
  };
613
615
  async function setDefaultBranch2(branchId) {
614
616
  const { httpClient, sideEffects } = arguments[1];