@wix/auto_sdk_portfolio_project-items 1.0.51 → 1.0.53

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/es/meta.mjs CHANGED
@@ -7,71 +7,72 @@ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transform
7
7
  import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
8
8
  import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
9
9
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
10
- function resolveComWixpressPortfolioPortfolioappMediaServiceUrl(opts) {
11
- const domainToMappings = {
12
- "manage._base_domain_": [
13
- {
14
- srcPath: "/_api/portfolio-app-service",
15
- destPath: "/api"
16
- }
17
- ],
18
- "editor._base_domain_": [
19
- {
20
- srcPath: "/_api/portfolio-app-service",
21
- destPath: "/api"
22
- }
23
- ],
24
- "blocks._base_domain_": [
25
- {
26
- srcPath: "/_api/portfolio-app-service",
27
- destPath: "/api"
28
- }
29
- ],
30
- "create.editorx": [
31
- {
32
- srcPath: "/_api/portfolio-app-service",
33
- destPath: "/api"
34
- }
35
- ],
36
- _: [
37
- {
38
- srcPath: "/_api/portfolio-app-service",
39
- destPath: "/api"
40
- }
41
- ],
42
- "api._api_base_domain_": [
43
- {
44
- srcPath: "/_api/portfolio-app-service",
45
- destPath: "/api"
46
- }
47
- ],
48
- "www.wixapis.com": [
49
- {
50
- srcPath: "/portfolio/v1/settings",
51
- destPath: "/api/v1/portfolio/settings"
52
- },
53
- {
54
- srcPath: "/portfolio/portfolio-app/api/v1/portfolio/settings",
55
- destPath: "/api/v1/portfolio/settings"
56
- },
57
- {
58
- srcPath: "/portfolio/project-items/api/v1/portfolio/project/items/media",
59
- destPath: "/api/v1/portfolio/project/items/media"
60
- }
61
- ],
62
- "*.dev.wix-code.com": [
63
- {
64
- srcPath: "/portfolio/portfolio-app/api/v1/portfolio/settings",
65
- destPath: "/api/v1/portfolio/settings"
66
- },
67
- {
68
- srcPath: "/portfolio/project-items/api/v1/portfolio/project/items/media",
69
- destPath: "/api/v1/portfolio/project/items/media"
70
- }
71
- ]
72
- };
73
- return resolveUrl(Object.assign(opts, { domainToMappings }));
74
- }
10
+ var TRANSFORM_PATHS_0 = [
11
+ { path: "item.sortOrder" },
12
+ { path: "item.image.focalPoint.x" },
13
+ { path: "item.image.focalPoint.y" },
14
+ { path: "item.image.unsharpMasking.amount" },
15
+ { path: "item.image.unsharpMasking.radius" },
16
+ { path: "item.image.unsharpMasking.threshold" }
17
+ ];
18
+ var TRANSFORM_PATHS_1 = [
19
+ { path: "item.createdDate" },
20
+ { path: "item.updatedDate" },
21
+ { path: "item.image.imageInfo.urlExpirationDate" },
22
+ { path: "item.video.videoInfo.urlExpirationDate" },
23
+ { path: "item.video.videoInfo.resolutions.poster.urlExpirationDate" },
24
+ { path: "item.video.videoInfo.posters.urlExpirationDate" }
25
+ ];
26
+ var TRANSFORM_PATHS_2 = [
27
+ { path: "items.sortOrder" },
28
+ { path: "items.image.focalPoint.x" },
29
+ { path: "items.image.focalPoint.y" },
30
+ { path: "items.image.unsharpMasking.amount" },
31
+ { path: "items.image.unsharpMasking.radius" },
32
+ { path: "items.image.unsharpMasking.threshold" }
33
+ ];
34
+ var TRANSFORM_PATHS_3 = [
35
+ { path: "items.createdDate" },
36
+ { path: "items.updatedDate" },
37
+ { path: "items.image.imageInfo.urlExpirationDate" },
38
+ { path: "items.video.videoInfo.urlExpirationDate" },
39
+ { path: "items.video.videoInfo.resolutions.poster.urlExpirationDate" },
40
+ { path: "items.video.videoInfo.posters.urlExpirationDate" }
41
+ ];
42
+ var TRANSFORM_PATHS_4 = [
43
+ { path: "results.item.sortOrder" },
44
+ { path: "results.item.image.focalPoint.x" },
45
+ { path: "results.item.image.focalPoint.y" },
46
+ { path: "results.item.image.unsharpMasking.amount" },
47
+ { path: "results.item.image.unsharpMasking.radius" },
48
+ { path: "results.item.image.unsharpMasking.threshold" }
49
+ ];
50
+ var TRANSFORM_PATHS_5 = [
51
+ { path: "results.item.createdDate" },
52
+ { path: "results.item.updatedDate" },
53
+ { path: "results.item.image.imageInfo.urlExpirationDate" },
54
+ { path: "results.item.video.videoInfo.urlExpirationDate" },
55
+ { path: "results.item.video.videoInfo.resolutions.poster.urlExpirationDate" },
56
+ { path: "results.item.video.videoInfo.posters.urlExpirationDate" }
57
+ ];
58
+ var TRANSFORM_PATHS_6 = [{ path: "mask" }];
59
+ var TRANSFORM_PATHS_7 = [{ path: "items.fieldMask" }];
60
+ var TRANSFORM_PATHS_8 = [
61
+ { path: "items.item.sortOrder" },
62
+ { path: "items.item.image.focalPoint.x" },
63
+ { path: "items.item.image.focalPoint.y" },
64
+ { path: "items.item.image.unsharpMasking.amount" },
65
+ { path: "items.item.image.unsharpMasking.radius" },
66
+ { path: "items.item.image.unsharpMasking.threshold" }
67
+ ];
68
+ var TRANSFORM_PATHS_9 = [
69
+ { path: "items.item.createdDate" },
70
+ { path: "items.item.updatedDate" },
71
+ { path: "items.item.image.imageInfo.urlExpirationDate" },
72
+ { path: "items.item.video.videoInfo.urlExpirationDate" },
73
+ { path: "items.item.video.videoInfo.resolutions.poster.urlExpirationDate" },
74
+ { path: "items.item.video.videoInfo.posters.urlExpirationDate" }
75
+ ];
75
76
  function resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl(opts) {
76
77
  const domainToMappings = {
77
78
  "manage._base_domain_": [
@@ -191,31 +192,103 @@ function resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl(opts) {
191
192
  };
192
193
  return resolveUrl(Object.assign(opts, { domainToMappings }));
193
194
  }
195
+ function resolveComWixpressPortfolioPortfolioappMediaServiceUrl(opts) {
196
+ const domainToMappings = {
197
+ "manage._base_domain_": [
198
+ {
199
+ srcPath: "/_api/portfolio-app-service",
200
+ destPath: "/api"
201
+ }
202
+ ],
203
+ "editor._base_domain_": [
204
+ {
205
+ srcPath: "/_api/portfolio-app-service",
206
+ destPath: "/api"
207
+ }
208
+ ],
209
+ "blocks._base_domain_": [
210
+ {
211
+ srcPath: "/_api/portfolio-app-service",
212
+ destPath: "/api"
213
+ }
214
+ ],
215
+ "create.editorx": [
216
+ {
217
+ srcPath: "/_api/portfolio-app-service",
218
+ destPath: "/api"
219
+ }
220
+ ],
221
+ _: [
222
+ {
223
+ srcPath: "/_api/portfolio-app-service",
224
+ destPath: "/api"
225
+ }
226
+ ],
227
+ "api._api_base_domain_": [
228
+ {
229
+ srcPath: "/_api/portfolio-app-service",
230
+ destPath: "/api"
231
+ }
232
+ ],
233
+ "www.wixapis.com": [
234
+ {
235
+ srcPath: "/portfolio/v1/settings",
236
+ destPath: "/api/v1/portfolio/settings"
237
+ },
238
+ {
239
+ srcPath: "/portfolio/portfolio-app/api/v1/portfolio/settings",
240
+ destPath: "/api/v1/portfolio/settings"
241
+ },
242
+ {
243
+ srcPath: "/portfolio/project-items/api/v1/portfolio/project/items/media",
244
+ destPath: "/api/v1/portfolio/project/items/media"
245
+ }
246
+ ],
247
+ "*.dev.wix-code.com": [
248
+ {
249
+ srcPath: "/portfolio/portfolio-app/api/v1/portfolio/settings",
250
+ destPath: "/api/v1/portfolio/settings"
251
+ },
252
+ {
253
+ srcPath: "/portfolio/project-items/api/v1/portfolio/project/items/media",
254
+ destPath: "/api/v1/portfolio/project/items/media"
255
+ }
256
+ ]
257
+ };
258
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
259
+ }
194
260
  var PACKAGE_NAME = "@wix/auto_sdk_portfolio_project-items";
261
+ function generateTokenForProjectItems(payload) {
262
+ function __generateTokenForProjectItems({ host }) {
263
+ const metadata = {
264
+ entityFqdn: "wix.portfolio.project_items.v1.project_item",
265
+ method: "POST",
266
+ methodFqn: "com.wixpress.portfolio.portfolioapp.MediaService.GenerateTokenForProjectItems",
267
+ packageName: PACKAGE_NAME,
268
+ migrationOptions: {
269
+ optInTransformResponse: true
270
+ },
271
+ url: resolveComWixpressPortfolioPortfolioappMediaServiceUrl({
272
+ protoPath: "/api/v1/portfolio/project/items/media",
273
+ data: payload,
274
+ host
275
+ }),
276
+ data: payload
277
+ };
278
+ return metadata;
279
+ }
280
+ return __generateTokenForProjectItems;
281
+ }
195
282
  function createProjectItem(payload) {
196
283
  function __createProjectItem({ host }) {
197
284
  const serializedData = transformPaths(payload, [
198
285
  {
199
286
  transformFn: transformSDKFloatToRESTFloat,
200
- paths: [
201
- { path: "item.sortOrder" },
202
- { path: "item.image.focalPoint.x" },
203
- { path: "item.image.focalPoint.y" },
204
- { path: "item.image.unsharpMasking.amount" },
205
- { path: "item.image.unsharpMasking.radius" },
206
- { path: "item.image.unsharpMasking.threshold" }
207
- ]
287
+ paths: TRANSFORM_PATHS_0
208
288
  },
209
289
  {
210
290
  transformFn: transformSDKTimestampToRESTTimestamp,
211
- paths: [
212
- { path: "item.createdDate" },
213
- { path: "item.updatedDate" },
214
- { path: "item.image.imageInfo.urlExpirationDate" },
215
- { path: "item.video.videoInfo.urlExpirationDate" },
216
- { path: "item.video.videoInfo.resolutions.poster.urlExpirationDate" },
217
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
218
- ]
291
+ paths: TRANSFORM_PATHS_1
219
292
  }
220
293
  ]);
221
294
  const metadata = {
@@ -235,27 +308,11 @@ function createProjectItem(payload) {
235
308
  transformResponse: (payload2) => transformPaths(payload2, [
236
309
  {
237
310
  transformFn: transformRESTFloatToSDKFloat,
238
- paths: [
239
- { path: "item.sortOrder" },
240
- { path: "item.image.focalPoint.x" },
241
- { path: "item.image.focalPoint.y" },
242
- { path: "item.image.unsharpMasking.amount" },
243
- { path: "item.image.unsharpMasking.radius" },
244
- { path: "item.image.unsharpMasking.threshold" }
245
- ]
311
+ paths: TRANSFORM_PATHS_0
246
312
  },
247
313
  {
248
314
  transformFn: transformRESTTimestampToSDKTimestamp,
249
- paths: [
250
- { path: "item.createdDate" },
251
- { path: "item.updatedDate" },
252
- { path: "item.image.imageInfo.urlExpirationDate" },
253
- { path: "item.video.videoInfo.urlExpirationDate" },
254
- {
255
- path: "item.video.videoInfo.resolutions.poster.urlExpirationDate"
256
- },
257
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
258
- ]
315
+ paths: TRANSFORM_PATHS_1
259
316
  }
260
317
  ])
261
318
  };
@@ -268,27 +325,11 @@ function bulkCreateProjectItems(payload) {
268
325
  const serializedData = transformPaths(payload, [
269
326
  {
270
327
  transformFn: transformSDKFloatToRESTFloat,
271
- paths: [
272
- { path: "items.sortOrder" },
273
- { path: "items.image.focalPoint.x" },
274
- { path: "items.image.focalPoint.y" },
275
- { path: "items.image.unsharpMasking.amount" },
276
- { path: "items.image.unsharpMasking.radius" },
277
- { path: "items.image.unsharpMasking.threshold" }
278
- ]
328
+ paths: TRANSFORM_PATHS_2
279
329
  },
280
330
  {
281
331
  transformFn: transformSDKTimestampToRESTTimestamp,
282
- paths: [
283
- { path: "items.createdDate" },
284
- { path: "items.updatedDate" },
285
- { path: "items.image.imageInfo.urlExpirationDate" },
286
- { path: "items.video.videoInfo.urlExpirationDate" },
287
- {
288
- path: "items.video.videoInfo.resolutions.poster.urlExpirationDate"
289
- },
290
- { path: "items.video.videoInfo.posters.urlExpirationDate" }
291
- ]
332
+ paths: TRANSFORM_PATHS_3
292
333
  }
293
334
  ]);
294
335
  const metadata = {
@@ -308,29 +349,11 @@ function bulkCreateProjectItems(payload) {
308
349
  transformResponse: (payload2) => transformPaths(payload2, [
309
350
  {
310
351
  transformFn: transformRESTFloatToSDKFloat,
311
- paths: [
312
- { path: "results.item.sortOrder" },
313
- { path: "results.item.image.focalPoint.x" },
314
- { path: "results.item.image.focalPoint.y" },
315
- { path: "results.item.image.unsharpMasking.amount" },
316
- { path: "results.item.image.unsharpMasking.radius" },
317
- { path: "results.item.image.unsharpMasking.threshold" }
318
- ]
352
+ paths: TRANSFORM_PATHS_4
319
353
  },
320
354
  {
321
355
  transformFn: transformRESTTimestampToSDKTimestamp,
322
- paths: [
323
- { path: "results.item.createdDate" },
324
- { path: "results.item.updatedDate" },
325
- { path: "results.item.image.imageInfo.urlExpirationDate" },
326
- { path: "results.item.video.videoInfo.urlExpirationDate" },
327
- {
328
- path: "results.item.video.videoInfo.resolutions.poster.urlExpirationDate"
329
- },
330
- {
331
- path: "results.item.video.videoInfo.posters.urlExpirationDate"
332
- }
333
- ]
356
+ paths: TRANSFORM_PATHS_5
334
357
  }
335
358
  ])
336
359
  };
@@ -357,27 +380,11 @@ function getProjectItem(payload) {
357
380
  transformResponse: (payload2) => transformPaths(payload2, [
358
381
  {
359
382
  transformFn: transformRESTFloatToSDKFloat,
360
- paths: [
361
- { path: "item.sortOrder" },
362
- { path: "item.image.focalPoint.x" },
363
- { path: "item.image.focalPoint.y" },
364
- { path: "item.image.unsharpMasking.amount" },
365
- { path: "item.image.unsharpMasking.radius" },
366
- { path: "item.image.unsharpMasking.threshold" }
367
- ]
383
+ paths: TRANSFORM_PATHS_0
368
384
  },
369
385
  {
370
386
  transformFn: transformRESTTimestampToSDKTimestamp,
371
- paths: [
372
- { path: "item.createdDate" },
373
- { path: "item.updatedDate" },
374
- { path: "item.image.imageInfo.urlExpirationDate" },
375
- { path: "item.video.videoInfo.urlExpirationDate" },
376
- {
377
- path: "item.video.videoInfo.resolutions.poster.urlExpirationDate"
378
- },
379
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
380
- ]
387
+ paths: TRANSFORM_PATHS_1
381
388
  }
382
389
  ]),
383
390
  fallback: [
@@ -415,27 +422,11 @@ function listProjectItems(payload) {
415
422
  transformResponse: (payload2) => transformPaths(payload2, [
416
423
  {
417
424
  transformFn: transformRESTFloatToSDKFloat,
418
- paths: [
419
- { path: "items.sortOrder" },
420
- { path: "items.image.focalPoint.x" },
421
- { path: "items.image.focalPoint.y" },
422
- { path: "items.image.unsharpMasking.amount" },
423
- { path: "items.image.unsharpMasking.radius" },
424
- { path: "items.image.unsharpMasking.threshold" }
425
- ]
425
+ paths: TRANSFORM_PATHS_2
426
426
  },
427
427
  {
428
428
  transformFn: transformRESTTimestampToSDKTimestamp,
429
- paths: [
430
- { path: "items.createdDate" },
431
- { path: "items.updatedDate" },
432
- { path: "items.image.imageInfo.urlExpirationDate" },
433
- { path: "items.video.videoInfo.urlExpirationDate" },
434
- {
435
- path: "items.video.videoInfo.resolutions.poster.urlExpirationDate"
436
- },
437
- { path: "items.video.videoInfo.posters.urlExpirationDate" }
438
- ]
429
+ paths: TRANSFORM_PATHS_3
439
430
  }
440
431
  ])
441
432
  };
@@ -448,29 +439,15 @@ function updateProjectItem(payload) {
448
439
  const serializedData = transformPaths(payload, [
449
440
  {
450
441
  transformFn: transformSDKFieldMaskToRESTFieldMask,
451
- paths: [{ path: "mask" }]
442
+ paths: TRANSFORM_PATHS_6
452
443
  },
453
444
  {
454
445
  transformFn: transformSDKFloatToRESTFloat,
455
- paths: [
456
- { path: "item.sortOrder" },
457
- { path: "item.image.focalPoint.x" },
458
- { path: "item.image.focalPoint.y" },
459
- { path: "item.image.unsharpMasking.amount" },
460
- { path: "item.image.unsharpMasking.radius" },
461
- { path: "item.image.unsharpMasking.threshold" }
462
- ]
446
+ paths: TRANSFORM_PATHS_0
463
447
  },
464
448
  {
465
449
  transformFn: transformSDKTimestampToRESTTimestamp,
466
- paths: [
467
- { path: "item.createdDate" },
468
- { path: "item.updatedDate" },
469
- { path: "item.image.imageInfo.urlExpirationDate" },
470
- { path: "item.video.videoInfo.urlExpirationDate" },
471
- { path: "item.video.videoInfo.resolutions.poster.urlExpirationDate" },
472
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
473
- ]
450
+ paths: TRANSFORM_PATHS_1
474
451
  }
475
452
  ]);
476
453
  const metadata = {
@@ -490,27 +467,11 @@ function updateProjectItem(payload) {
490
467
  transformResponse: (payload2) => transformPaths(payload2, [
491
468
  {
492
469
  transformFn: transformRESTFloatToSDKFloat,
493
- paths: [
494
- { path: "item.sortOrder" },
495
- { path: "item.image.focalPoint.x" },
496
- { path: "item.image.focalPoint.y" },
497
- { path: "item.image.unsharpMasking.amount" },
498
- { path: "item.image.unsharpMasking.radius" },
499
- { path: "item.image.unsharpMasking.threshold" }
500
- ]
470
+ paths: TRANSFORM_PATHS_0
501
471
  },
502
472
  {
503
473
  transformFn: transformRESTTimestampToSDKTimestamp,
504
- paths: [
505
- { path: "item.createdDate" },
506
- { path: "item.updatedDate" },
507
- { path: "item.image.imageInfo.urlExpirationDate" },
508
- { path: "item.video.videoInfo.urlExpirationDate" },
509
- {
510
- path: "item.video.videoInfo.resolutions.poster.urlExpirationDate"
511
- },
512
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
513
- ]
474
+ paths: TRANSFORM_PATHS_1
514
475
  }
515
476
  ])
516
477
  };
@@ -523,31 +484,15 @@ function bulkUpdateProjectItems(payload) {
523
484
  const serializedData = transformPaths(payload, [
524
485
  {
525
486
  transformFn: transformSDKFieldMaskToRESTFieldMask,
526
- paths: [{ path: "items.fieldMask" }]
487
+ paths: TRANSFORM_PATHS_7
527
488
  },
528
489
  {
529
490
  transformFn: transformSDKFloatToRESTFloat,
530
- paths: [
531
- { path: "items.item.sortOrder" },
532
- { path: "items.item.image.focalPoint.x" },
533
- { path: "items.item.image.focalPoint.y" },
534
- { path: "items.item.image.unsharpMasking.amount" },
535
- { path: "items.item.image.unsharpMasking.radius" },
536
- { path: "items.item.image.unsharpMasking.threshold" }
537
- ]
491
+ paths: TRANSFORM_PATHS_8
538
492
  },
539
493
  {
540
494
  transformFn: transformSDKTimestampToRESTTimestamp,
541
- paths: [
542
- { path: "items.item.createdDate" },
543
- { path: "items.item.updatedDate" },
544
- { path: "items.item.image.imageInfo.urlExpirationDate" },
545
- { path: "items.item.video.videoInfo.urlExpirationDate" },
546
- {
547
- path: "items.item.video.videoInfo.resolutions.poster.urlExpirationDate"
548
- },
549
- { path: "items.item.video.videoInfo.posters.urlExpirationDate" }
550
- ]
495
+ paths: TRANSFORM_PATHS_9
551
496
  }
552
497
  ]);
553
498
  const metadata = {
@@ -567,29 +512,11 @@ function bulkUpdateProjectItems(payload) {
567
512
  transformResponse: (payload2) => transformPaths(payload2, [
568
513
  {
569
514
  transformFn: transformRESTFloatToSDKFloat,
570
- paths: [
571
- { path: "results.item.sortOrder" },
572
- { path: "results.item.image.focalPoint.x" },
573
- { path: "results.item.image.focalPoint.y" },
574
- { path: "results.item.image.unsharpMasking.amount" },
575
- { path: "results.item.image.unsharpMasking.radius" },
576
- { path: "results.item.image.unsharpMasking.threshold" }
577
- ]
515
+ paths: TRANSFORM_PATHS_4
578
516
  },
579
517
  {
580
518
  transformFn: transformRESTTimestampToSDKTimestamp,
581
- paths: [
582
- { path: "results.item.createdDate" },
583
- { path: "results.item.updatedDate" },
584
- { path: "results.item.image.imageInfo.urlExpirationDate" },
585
- { path: "results.item.video.videoInfo.urlExpirationDate" },
586
- {
587
- path: "results.item.video.videoInfo.resolutions.poster.urlExpirationDate"
588
- },
589
- {
590
- path: "results.item.video.videoInfo.posters.urlExpirationDate"
591
- }
592
- ]
519
+ paths: TRANSFORM_PATHS_5
593
520
  }
594
521
  ])
595
522
  };
@@ -660,27 +587,6 @@ function duplicateProjectItems(payload) {
660
587
  }
661
588
  return __duplicateProjectItems;
662
589
  }
663
- function generateTokenForProjectItems(payload) {
664
- function __generateTokenForProjectItems({ host }) {
665
- const metadata = {
666
- entityFqdn: "wix.portfolio.project_items.v1.project_item",
667
- method: "POST",
668
- methodFqn: "com.wixpress.portfolio.portfolioapp.MediaService.GenerateTokenForProjectItems",
669
- packageName: PACKAGE_NAME,
670
- migrationOptions: {
671
- optInTransformResponse: true
672
- },
673
- url: resolveComWixpressPortfolioPortfolioappMediaServiceUrl({
674
- protoPath: "/api/v1/portfolio/project/items/media",
675
- data: payload,
676
- host
677
- }),
678
- data: payload
679
- };
680
- return metadata;
681
- }
682
- return __generateTokenForProjectItems;
683
- }
684
590
 
685
591
  // src/portfolio-project-items-v1-project-item-project-items.types.ts
686
592
  var Type = /* @__PURE__ */ ((Type2) => {
@@ -695,11 +601,6 @@ var ImageType = /* @__PURE__ */ ((ImageType2) => {
695
601
  ImageType2["EXTERNAL"] = "EXTERNAL";
696
602
  return ImageType2;
697
603
  })(ImageType || {});
698
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
699
- SortOrder2["ASC"] = "ASC";
700
- SortOrder2["DESC"] = "DESC";
701
- return SortOrder2;
702
- })(SortOrder || {});
703
604
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
704
605
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
705
606
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -708,8 +609,33 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
708
609
  WebhookIdentityType2["APP"] = "APP";
709
610
  return WebhookIdentityType2;
710
611
  })(WebhookIdentityType || {});
612
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
613
+ SortOrder2["ASC"] = "ASC";
614
+ SortOrder2["DESC"] = "DESC";
615
+ return SortOrder2;
616
+ })(SortOrder || {});
711
617
 
712
618
  // src/portfolio-project-items-v1-project-item-project-items.meta.ts
619
+ function generateTokenForProjectItems2() {
620
+ const payload = {};
621
+ const getRequestOptions = generateTokenForProjectItems(
622
+ payload
623
+ );
624
+ const getUrl = (context) => {
625
+ const { url } = getRequestOptions(context);
626
+ return url;
627
+ };
628
+ return {
629
+ getUrl,
630
+ httpMethod: "POST",
631
+ path: "/api/v1/portfolio/project/items/media",
632
+ pathParams: {},
633
+ __requestType: null,
634
+ __originalRequestType: null,
635
+ __responseType: null,
636
+ __originalResponseType: null
637
+ };
638
+ }
713
639
  function createProjectItem2() {
714
640
  const payload = {};
715
641
  const getRequestOptions = createProjectItem(payload);
@@ -880,26 +806,6 @@ function duplicateProjectItems2() {
880
806
  __originalResponseType: null
881
807
  };
882
808
  }
883
- function generateTokenForProjectItems2() {
884
- const payload = {};
885
- const getRequestOptions = generateTokenForProjectItems(
886
- payload
887
- );
888
- const getUrl = (context) => {
889
- const { url } = getRequestOptions(context);
890
- return url;
891
- };
892
- return {
893
- getUrl,
894
- httpMethod: "POST",
895
- path: "/api/v1/portfolio/project/items/media",
896
- pathParams: {},
897
- __requestType: null,
898
- __originalRequestType: null,
899
- __responseType: null,
900
- __originalResponseType: null
901
- };
902
- }
903
809
  export {
904
810
  ImageType as ImageTypeOriginal,
905
811
  SortOrder as SortOrderOriginal,