@wix/auto_sdk_portfolio_projects 1.0.31 → 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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +3 -1
  2. package/build/cjs/index.js +27 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +38 -7
  5. package/build/cjs/index.typings.js +27 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +872 -6
  8. package/build/cjs/meta.js +144 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +3 -1
  11. package/build/es/index.mjs +27 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +38 -7
  14. package/build/es/index.typings.mjs +27 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +872 -6
  17. package/build/es/meta.mjs +135 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +3 -1
  20. package/build/internal/cjs/index.js +27 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +38 -7
  23. package/build/internal/cjs/index.typings.js +27 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +872 -6
  26. package/build/internal/cjs/meta.js +144 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +3 -1
  29. package/build/internal/es/index.mjs +27 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +38 -7
  32. package/build/internal/es/index.typings.mjs +27 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +872 -6
  35. package/build/internal/es/meta.mjs +135 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -382,6 +382,10 @@ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
382
382
  picassoAssigned?: PicassoAssigned;
383
383
  /** Emitted when Picasso is detached. */
384
384
  picassoUnassigned?: PicassoUnassigned;
385
+ /** Emitted when Wixel is attached. */
386
+ wixelAssigned?: WixelAssigned;
387
+ /** Emitted when Wixel is detached. */
388
+ wixelUnassigned?: WixelUnassigned;
385
389
  /**
386
390
  * A meta site id.
387
391
  * @format GUID
@@ -448,6 +452,10 @@ interface MetaSiteSpecialEventPayloadOneOf {
448
452
  picassoAssigned?: PicassoAssigned;
449
453
  /** Emitted when Picasso is detached. */
450
454
  picassoUnassigned?: PicassoUnassigned;
455
+ /** Emitted when Wixel is attached. */
456
+ wixelAssigned?: WixelAssigned;
457
+ /** Emitted when Wixel is detached. */
458
+ wixelUnassigned?: WixelUnassigned;
451
459
  }
452
460
  interface Asset {
453
461
  /**
@@ -794,6 +802,12 @@ interface PicassoAssigned {
794
802
  /** Unassigned Picasso */
795
803
  interface PicassoUnassigned {
796
804
  }
805
+ /** Assigned Wixel */
806
+ interface WixelAssigned {
807
+ }
808
+ /** Unassigned Wixel */
809
+ interface WixelUnassigned {
810
+ }
797
811
  interface Empty {
798
812
  }
799
813
  interface MessageEnvelope {
@@ -1090,7 +1104,13 @@ interface BulkUpdateProjectsRequest {
1090
1104
  * @maxSize 100
1091
1105
  */
1092
1106
  projects?: MaskedProject[];
1093
- /** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
1107
+ /**
1108
+ * Whether to return the updated projects.
1109
+ *
1110
+ * Set to `true` to return the projects in the response.
1111
+ *
1112
+ * Default: `false`
1113
+ */
1094
1114
  returnFullEntity?: boolean | null;
1095
1115
  }
1096
1116
  interface MaskedProject {
@@ -1098,15 +1118,18 @@ interface MaskedProject {
1098
1118
  project?: Project;
1099
1119
  }
1100
1120
  interface BulkUpdateProjectsResponse {
1101
- /** Items created by bulk action. */
1121
+ /** List of individual Bulk Update Projects results. */
1102
1122
  results?: BulkUpdateProjectsResult[];
1103
- /** Bulk action metadata. */
1123
+ /** Total number of successes and failures for Bulk Update Projects. */
1104
1124
  bulkActionMetadata?: BulkActionMetadata;
1105
1125
  }
1106
1126
  interface BulkUpdateProjectsResult {
1107
- /** Item metadata. */
1127
+ /**
1128
+ * Information about the updated project.
1129
+ * Including its ID, index in the bulk request and whether it was successfully updated.
1130
+ */
1108
1131
  itemMetadata?: ItemMetadata;
1109
- /** Updated project. */
1132
+ /** Updated project. Only returned if `returnEntity` is set to `true` in the request. */
1110
1133
  project?: Project;
1111
1134
  }
1112
1135
  interface ItemMetadata {
@@ -1533,6 +1556,8 @@ interface UpdateProject {
1533
1556
  }
1534
1557
  /**
1535
1558
  * Updates multiple projects.
1559
+ *
1560
+ * To update a single project, call Update Project.
1536
1561
  * @public
1537
1562
  * @requiredField options.projects.project
1538
1563
  * @requiredField options.projects.project._id
@@ -1548,7 +1573,13 @@ interface BulkUpdateProjectsOptions {
1548
1573
  * @maxSize 100
1549
1574
  */
1550
1575
  projects?: MaskedProject[];
1551
- /** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
1576
+ /**
1577
+ * Whether to return the updated projects.
1578
+ *
1579
+ * Set to `true` to return the projects in the response.
1580
+ *
1581
+ * Default: `false`
1582
+ */
1552
1583
  returnFullEntity?: boolean | null;
1553
1584
  }
1554
1585
  /**
@@ -1692,4 +1723,4 @@ interface QueryProjectsWithCollectionInfoOptions {
1692
1723
  includePageUrl?: boolean | null;
1693
1724
  }
1694
1725
 
1695
- export { type ActionEvent, type App, type ApplicationError, type Asset, type BaseEventMetadata, type BulkActionMetadata, type BulkUpdateProjectsOptions, type BulkUpdateProjectsRequest, type BulkUpdateProjectsResponse, type BulkUpdateProjectsResult, type CreateNewPortfolioAppRequest, type CreateNewPortfolioAppResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type Cursors, type CustomTag, type DeleteContext, type DeleteProjectRequest, type DeleteProjectResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeletedProjectRestored, type DetailsLink, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type File, type GetProjectOptions, type GetProjectPageDataRequest, type GetProjectPageDataResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type Image, ImageType, type ImageTypeWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type Keyword, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MaskedProject, type MenuSettingUpdatedEvent, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type Page, type Paging, type PagingMetadataV2, type PicassoAssigned, type PicassoUnassigned, type Point, Position, type PositionWithLiterals, type Project, type ProjectCoverOneOf, type ProjectCreatedEnvelope, type ProjectDeletedEnvelope, type ProjectDetail, type ProjectDetailValueOneOf, type ProjectSlug, type ProjectSource, type ProjectUpdatedEnvelope, type ProjectsInCollections, type ProjectsQueryBuilder, type ProjectsQueryResult, type QueryProjectWithCollectionInfoRequest, type QueryProjectWithCollectionInfoResponse, type QueryProjectsOptions, type QueryProjectsRequest, type QueryProjectsResponse, type QueryProjectsWithCollectionInfoOptions, type QueryV2, type QueryV2PagingMethodOneOf, type RestoreInfo, type RestoreProjectFromTrashBinRequest, type RestoreProjectFromTrashBinResponse, type SeoSchema, type ServiceProvisioned, type ServiceRemoved, type Settings, 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, State, type StateWithLiterals, type StudioAssigned, type StudioUnassigned, type SyncProjectWithCollectionMappings, SyncStatus, type SyncStatusWithLiterals, type Tag, type URI, type UnsharpMasking, type UpdateProject, type UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse, type UpdateProjectRequest, type UpdateProjectResponse, type Video, type VideoResolution, type Watermark, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkUpdateProjects, createProject, deleteProject, getProject, listProjects, onProjectCreated, onProjectDeleted, onProjectUpdated, queryProjects, queryProjectsWithCollectionInfo, updateProject, updateProjectOrderInCollection };
1726
+ export { type ActionEvent, type App, type ApplicationError, type Asset, type BaseEventMetadata, type BulkActionMetadata, type BulkUpdateProjectsOptions, type BulkUpdateProjectsRequest, type BulkUpdateProjectsResponse, type BulkUpdateProjectsResult, type CreateNewPortfolioAppRequest, type CreateNewPortfolioAppResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type Cursors, type CustomTag, type DeleteContext, type DeleteProjectRequest, type DeleteProjectResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeletedProjectRestored, type DetailsLink, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type File, type GetProjectOptions, type GetProjectPageDataRequest, type GetProjectPageDataResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type Image, ImageType, type ImageTypeWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type Keyword, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MaskedProject, type MenuSettingUpdatedEvent, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type Page, type Paging, type PagingMetadataV2, type PicassoAssigned, type PicassoUnassigned, type Point, Position, type PositionWithLiterals, type Project, type ProjectCoverOneOf, type ProjectCreatedEnvelope, type ProjectDeletedEnvelope, type ProjectDetail, type ProjectDetailValueOneOf, type ProjectSlug, type ProjectSource, type ProjectUpdatedEnvelope, type ProjectsInCollections, type ProjectsQueryBuilder, type ProjectsQueryResult, type QueryProjectWithCollectionInfoRequest, type QueryProjectWithCollectionInfoResponse, type QueryProjectsOptions, type QueryProjectsRequest, type QueryProjectsResponse, type QueryProjectsWithCollectionInfoOptions, type QueryV2, type QueryV2PagingMethodOneOf, type RestoreInfo, type RestoreProjectFromTrashBinRequest, type RestoreProjectFromTrashBinResponse, type SeoSchema, type ServiceProvisioned, type ServiceRemoved, type Settings, 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, State, type StateWithLiterals, type StudioAssigned, type StudioUnassigned, type SyncProjectWithCollectionMappings, SyncStatus, type SyncStatusWithLiterals, type Tag, type URI, type UnsharpMasking, type UpdateProject, type UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse, type UpdateProjectRequest, type UpdateProjectResponse, type Video, type VideoResolution, type Watermark, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, bulkUpdateProjects, createProject, deleteProject, getProject, listProjects, onProjectCreated, onProjectDeleted, onProjectUpdated, queryProjects, queryProjectsWithCollectionInfo, updateProject, updateProjectOrderInCollection };
@@ -136,6 +136,9 @@ function createProject(payload) {
136
136
  method: "POST",
137
137
  methodFqn: "com.wixpress.portfolio.projects.ProjectsService.CreateProject",
138
138
  packageName: PACKAGE_NAME,
139
+ migrationOptions: {
140
+ optInTransformResponse: true
141
+ },
139
142
  url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
140
143
  protoPath: "/api/v1/portfolio/projects",
141
144
  data: serializedData,
@@ -182,6 +185,9 @@ function getProject(payload) {
182
185
  method: "GET",
183
186
  methodFqn: "com.wixpress.portfolio.projects.ProjectsService.GetProject",
184
187
  packageName: PACKAGE_NAME,
188
+ migrationOptions: {
189
+ optInTransformResponse: true
190
+ },
185
191
  url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
186
192
  protoPath: "/api/v1/portfolio/projects/{projectId}",
187
193
  data: payload,
@@ -228,6 +234,9 @@ function listProjects(payload) {
228
234
  method: "GET",
229
235
  methodFqn: "com.wixpress.portfolio.projects.ProjectsService.ListProjects",
230
236
  packageName: PACKAGE_NAME,
237
+ migrationOptions: {
238
+ optInTransformResponse: true
239
+ },
231
240
  url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
232
241
  protoPath: "/api/v1/portfolio/projects",
233
242
  data: payload,
@@ -304,6 +313,9 @@ function updateProject(payload) {
304
313
  method: "PATCH",
305
314
  methodFqn: "com.wixpress.portfolio.projects.ProjectsService.UpdateProject",
306
315
  packageName: PACKAGE_NAME,
316
+ migrationOptions: {
317
+ optInTransformResponse: true
318
+ },
307
319
  url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
308
320
  protoPath: "/api/v1/portfolio/projects/{project.id}",
309
321
  data: serializedData,
@@ -382,6 +394,9 @@ function bulkUpdateProjects(payload) {
382
394
  method: "PATCH",
383
395
  methodFqn: "com.wixpress.portfolio.projects.ProjectsService.BulkUpdateProjects",
384
396
  packageName: PACKAGE_NAME,
397
+ migrationOptions: {
398
+ optInTransformResponse: true
399
+ },
385
400
  url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
386
401
  protoPath: "/api/v1/bulk/portfolio/projects/update",
387
402
  data: serializedData,
@@ -432,6 +447,9 @@ function deleteProject(payload) {
432
447
  method: "DELETE",
433
448
  methodFqn: "com.wixpress.portfolio.projects.ProjectsService.DeleteProject",
434
449
  packageName: PACKAGE_NAME,
450
+ migrationOptions: {
451
+ optInTransformResponse: true
452
+ },
435
453
  url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
436
454
  protoPath: "/api/v1/portfolio/projects/{projectId}",
437
455
  data: payload,
@@ -450,6 +468,9 @@ function queryProjects(payload) {
450
468
  method: "POST",
451
469
  methodFqn: "com.wixpress.portfolio.projects.ProjectsService.QueryProjects",
452
470
  packageName: PACKAGE_NAME,
471
+ migrationOptions: {
472
+ optInTransformResponse: true
473
+ },
453
474
  url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
454
475
  protoPath: "/api/v1/portfolio/projects/query",
455
476
  data: payload,
@@ -502,6 +523,9 @@ function updateProjectOrderInCollection(payload) {
502
523
  method: "PATCH",
503
524
  methodFqn: "com.wixpress.portfolio.projects.ProjectsService.UpdateProjectOrderInCollection",
504
525
  packageName: PACKAGE_NAME,
526
+ migrationOptions: {
527
+ optInTransformResponse: true
528
+ },
505
529
  url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
506
530
  protoPath: "/api/v1/portfolio/projects/{projectId}/collections/{collectionId}",
507
531
  data: serializedData,
@@ -580,6 +604,9 @@ function queryProjectsWithCollectionInfo(payload) {
580
604
  method: "POST",
581
605
  methodFqn: "com.wixpress.portfolio.projects.ProjectsService.QueryProjectsWithCollectionInfo",
582
606
  packageName: PACKAGE_NAME,
607
+ migrationOptions: {
608
+ optInTransformResponse: true
609
+ },
583
610
  url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
584
611
  protoPath: "/api/1/portfolio/projects/collections/query",
585
612
  data: payload,