@wix/auto_sdk_portfolio_project-items 1.0.24 → 1.0.26
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 +30 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -6
- package/build/cjs/index.typings.js +30 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +386 -6
- package/build/cjs/meta.js +65 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +30 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -6
- package/build/es/index.typings.mjs +30 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +386 -6
- package/build/es/meta.mjs +61 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +30 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -6
- package/build/internal/cjs/index.typings.js +30 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +386 -6
- package/build/internal/cjs/meta.js +65 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +30 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -6
- package/build/internal/es/index.typings.mjs +30 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +386 -6
- package/build/internal/es/meta.mjs +61 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/index.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ interface DeleteProjectItemSignature {
|
|
|
61
61
|
* Deletes a project item.
|
|
62
62
|
* @param - ID of the project item to delete.
|
|
63
63
|
*/
|
|
64
|
-
(itemId: string): Promise<NonNullablePaths<DeleteProjectItemResponse, `
|
|
64
|
+
(itemId: string): Promise<NonNullablePaths<DeleteProjectItemResponse, `itemId`, 2>>;
|
|
65
65
|
}
|
|
66
66
|
declare function bulkDeleteProjectItems$1(httpClient: HttpClient): BulkDeleteProjectItemsSignature;
|
|
67
67
|
interface BulkDeleteProjectItemsSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -278,6 +278,9 @@ function createProjectItem(payload) {
|
|
|
278
278
|
method: "POST",
|
|
279
279
|
methodFqn: "com.wixpress.portfolio.projectitems.ProjectItemsService.CreateProjectItem",
|
|
280
280
|
packageName: PACKAGE_NAME,
|
|
281
|
+
migrationOptions: {
|
|
282
|
+
optInTransformResponse: true
|
|
283
|
+
},
|
|
281
284
|
url: resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl({
|
|
282
285
|
protoPath: "/api/v1/portfolio/items",
|
|
283
286
|
data: serializedData,
|
|
@@ -348,6 +351,9 @@ function bulkCreateProjectItems(payload) {
|
|
|
348
351
|
method: "POST",
|
|
349
352
|
methodFqn: "com.wixpress.portfolio.projectitems.ProjectItemsService.BulkCreateProjectItems",
|
|
350
353
|
packageName: PACKAGE_NAME,
|
|
354
|
+
migrationOptions: {
|
|
355
|
+
optInTransformResponse: true
|
|
356
|
+
},
|
|
351
357
|
url: resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl({
|
|
352
358
|
protoPath: "/api/v1/bulk/portfolio/items/create",
|
|
353
359
|
data: serializedData,
|
|
@@ -394,6 +400,9 @@ function getProjectItem(payload) {
|
|
|
394
400
|
method: "GET",
|
|
395
401
|
methodFqn: "com.wixpress.portfolio.projectitems.ProjectItemsService.GetProjectItem",
|
|
396
402
|
packageName: PACKAGE_NAME,
|
|
403
|
+
migrationOptions: {
|
|
404
|
+
optInTransformResponse: true
|
|
405
|
+
},
|
|
397
406
|
url: resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl({
|
|
398
407
|
protoPath: "/api/v1/portfolio/items/{itemId}",
|
|
399
408
|
data: payload,
|
|
@@ -449,6 +458,9 @@ function listProjectItems(payload) {
|
|
|
449
458
|
method: "GET",
|
|
450
459
|
methodFqn: "com.wixpress.portfolio.projectitems.ProjectItemsService.ListProjectItems",
|
|
451
460
|
packageName: PACKAGE_NAME,
|
|
461
|
+
migrationOptions: {
|
|
462
|
+
optInTransformResponse: true
|
|
463
|
+
},
|
|
452
464
|
url: resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl({
|
|
453
465
|
protoPath: "/api/v1/portfolio/projects/{projectId}/items",
|
|
454
466
|
data: payload,
|
|
@@ -521,6 +533,9 @@ function updateProjectItem(payload) {
|
|
|
521
533
|
method: "PATCH",
|
|
522
534
|
methodFqn: "com.wixpress.portfolio.projectitems.ProjectItemsService.UpdateProjectItem",
|
|
523
535
|
packageName: PACKAGE_NAME,
|
|
536
|
+
migrationOptions: {
|
|
537
|
+
optInTransformResponse: true
|
|
538
|
+
},
|
|
524
539
|
url: resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl({
|
|
525
540
|
protoPath: "/api/v1/portfolio/items/{item.id}",
|
|
526
541
|
data: serializedData,
|
|
@@ -595,6 +610,9 @@ function bulkUpdateProjectItems(payload) {
|
|
|
595
610
|
method: "PATCH",
|
|
596
611
|
methodFqn: "com.wixpress.portfolio.projectitems.ProjectItemsService.BulkUpdateProjectItems",
|
|
597
612
|
packageName: PACKAGE_NAME,
|
|
613
|
+
migrationOptions: {
|
|
614
|
+
optInTransformResponse: true
|
|
615
|
+
},
|
|
598
616
|
url: resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl({
|
|
599
617
|
protoPath: "/api/v1/bulk/portfolio/items/update",
|
|
600
618
|
data: serializedData,
|
|
@@ -641,6 +659,9 @@ function deleteProjectItem(payload) {
|
|
|
641
659
|
method: "DELETE",
|
|
642
660
|
methodFqn: "com.wixpress.portfolio.projectitems.ProjectItemsService.DeleteProjectItem",
|
|
643
661
|
packageName: PACKAGE_NAME,
|
|
662
|
+
migrationOptions: {
|
|
663
|
+
optInTransformResponse: true
|
|
664
|
+
},
|
|
644
665
|
url: resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl({
|
|
645
666
|
protoPath: "/api/v1/portfolio/items/{itemId}",
|
|
646
667
|
data: payload,
|
|
@@ -659,6 +680,9 @@ function bulkDeleteProjectItems(payload) {
|
|
|
659
680
|
method: "DELETE",
|
|
660
681
|
methodFqn: "com.wixpress.portfolio.projectitems.ProjectItemsService.BulkDeleteProjectItems",
|
|
661
682
|
packageName: PACKAGE_NAME,
|
|
683
|
+
migrationOptions: {
|
|
684
|
+
optInTransformResponse: true
|
|
685
|
+
},
|
|
662
686
|
url: resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl({
|
|
663
687
|
protoPath: "/api/v1/bulk/portfolio/items/delete",
|
|
664
688
|
data: payload,
|
|
@@ -677,6 +701,9 @@ function duplicateProjectItems(payload) {
|
|
|
677
701
|
method: "POST",
|
|
678
702
|
methodFqn: "com.wixpress.portfolio.projectitems.ProjectItemsService.DuplicateProjectItems",
|
|
679
703
|
packageName: PACKAGE_NAME,
|
|
704
|
+
migrationOptions: {
|
|
705
|
+
optInTransformResponse: true
|
|
706
|
+
},
|
|
680
707
|
url: resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl({
|
|
681
708
|
protoPath: "/api/v1/items/duplicate",
|
|
682
709
|
data: payload,
|
|
@@ -695,6 +722,9 @@ function generateTokenForProjectItems(payload) {
|
|
|
695
722
|
method: "POST",
|
|
696
723
|
methodFqn: "com.wixpress.portfolio.portfolioapp.MediaService.GenerateTokenForProjectItems",
|
|
697
724
|
packageName: PACKAGE_NAME,
|
|
725
|
+
migrationOptions: {
|
|
726
|
+
optInTransformResponse: true
|
|
727
|
+
},
|
|
698
728
|
url: resolveComWixpressPortfolioPortfolioappMediaServiceUrl({
|
|
699
729
|
protoPath: "/api/v1/portfolio/project/items/media",
|
|
700
730
|
data: payload,
|