@wix/auto_sdk_portfolio_project-items 1.0.50 → 1.0.52

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,6 +7,137 @@ 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
+ 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
+ ];
76
+ function resolveComWixpressPortfolioPortfolioappMediaServiceUrl(opts) {
77
+ const domainToMappings = {
78
+ "manage._base_domain_": [
79
+ {
80
+ srcPath: "/_api/portfolio-app-service",
81
+ destPath: "/api"
82
+ }
83
+ ],
84
+ "editor._base_domain_": [
85
+ {
86
+ srcPath: "/_api/portfolio-app-service",
87
+ destPath: "/api"
88
+ }
89
+ ],
90
+ "blocks._base_domain_": [
91
+ {
92
+ srcPath: "/_api/portfolio-app-service",
93
+ destPath: "/api"
94
+ }
95
+ ],
96
+ "create.editorx": [
97
+ {
98
+ srcPath: "/_api/portfolio-app-service",
99
+ destPath: "/api"
100
+ }
101
+ ],
102
+ _: [
103
+ {
104
+ srcPath: "/_api/portfolio-app-service",
105
+ destPath: "/api"
106
+ }
107
+ ],
108
+ "api._api_base_domain_": [
109
+ {
110
+ srcPath: "/_api/portfolio-app-service",
111
+ destPath: "/api"
112
+ }
113
+ ],
114
+ "www.wixapis.com": [
115
+ {
116
+ srcPath: "/portfolio/v1/settings",
117
+ destPath: "/api/v1/portfolio/settings"
118
+ },
119
+ {
120
+ srcPath: "/portfolio/portfolio-app/api/v1/portfolio/settings",
121
+ destPath: "/api/v1/portfolio/settings"
122
+ },
123
+ {
124
+ srcPath: "/portfolio/project-items/api/v1/portfolio/project/items/media",
125
+ destPath: "/api/v1/portfolio/project/items/media"
126
+ }
127
+ ],
128
+ "*.dev.wix-code.com": [
129
+ {
130
+ srcPath: "/portfolio/portfolio-app/api/v1/portfolio/settings",
131
+ destPath: "/api/v1/portfolio/settings"
132
+ },
133
+ {
134
+ srcPath: "/portfolio/project-items/api/v1/portfolio/project/items/media",
135
+ destPath: "/api/v1/portfolio/project/items/media"
136
+ }
137
+ ]
138
+ };
139
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
140
+ }
10
141
  function resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl(opts) {
11
142
  const domainToMappings = {
12
143
  "manage._base_domain_": [
@@ -126,117 +257,17 @@ function resolveComWixpressPortfolioProjectitemsProjectItemsServiceUrl(opts) {
126
257
  };
127
258
  return resolveUrl(Object.assign(opts, { domainToMappings }));
128
259
  }
129
- function resolveComWixpressPortfolioPortfolioappMediaServiceUrl(opts) {
130
- const domainToMappings = {
131
- "manage._base_domain_": [
132
- {
133
- srcPath: "/_api/portfolio-app-service",
134
- destPath: "/api"
135
- }
136
- ],
137
- "editor._base_domain_": [
138
- {
139
- srcPath: "/_api/portfolio-app-service",
140
- destPath: "/api"
141
- }
142
- ],
143
- "blocks._base_domain_": [
144
- {
145
- srcPath: "/_api/portfolio-app-service",
146
- destPath: "/api"
147
- }
148
- ],
149
- "create.editorx": [
150
- {
151
- srcPath: "/_api/portfolio-app-service",
152
- destPath: "/api"
153
- }
154
- ],
155
- _: [
156
- {
157
- srcPath: "/_api/portfolio-app-service",
158
- destPath: "/api"
159
- }
160
- ],
161
- "api._api_base_domain_": [
162
- {
163
- srcPath: "/_api/portfolio-app-service",
164
- destPath: "/api"
165
- }
166
- ],
167
- "www.wixapis.com": [
168
- {
169
- srcPath: "/portfolio/v1/settings",
170
- destPath: "/api/v1/portfolio/settings"
171
- },
172
- {
173
- srcPath: "/portfolio/portfolio-app/api/v1/portfolio/settings",
174
- destPath: "/api/v1/portfolio/settings"
175
- },
176
- {
177
- srcPath: "/portfolio/project-items/api/v1/portfolio/project/items/media",
178
- destPath: "/api/v1/portfolio/project/items/media"
179
- }
180
- ],
181
- "*.dev.wix-code.com": [
182
- {
183
- srcPath: "/portfolio/portfolio-app/api/v1/portfolio/settings",
184
- destPath: "/api/v1/portfolio/settings"
185
- },
186
- {
187
- srcPath: "/portfolio/project-items/api/v1/portfolio/project/items/media",
188
- destPath: "/api/v1/portfolio/project/items/media"
189
- }
190
- ]
191
- };
192
- return resolveUrl(Object.assign(opts, { domainToMappings }));
193
- }
194
260
  var PACKAGE_NAME = "@wix/auto_sdk_portfolio_project-items";
195
- function generateTokenForProjectItems(payload) {
196
- function __generateTokenForProjectItems({ host }) {
197
- const metadata = {
198
- entityFqdn: "wix.portfolio.project_items.v1.project_item",
199
- method: "POST",
200
- methodFqn: "com.wixpress.portfolio.portfolioapp.MediaService.GenerateTokenForProjectItems",
201
- packageName: PACKAGE_NAME,
202
- migrationOptions: {
203
- optInTransformResponse: true
204
- },
205
- url: resolveComWixpressPortfolioPortfolioappMediaServiceUrl({
206
- protoPath: "/api/v1/portfolio/project/items/media",
207
- data: payload,
208
- host
209
- }),
210
- data: payload
211
- };
212
- return metadata;
213
- }
214
- return __generateTokenForProjectItems;
215
- }
216
261
  function createProjectItem(payload) {
217
262
  function __createProjectItem({ host }) {
218
263
  const serializedData = transformPaths(payload, [
219
264
  {
220
265
  transformFn: transformSDKFloatToRESTFloat,
221
- paths: [
222
- { path: "item.sortOrder" },
223
- { path: "item.image.focalPoint.x" },
224
- { path: "item.image.focalPoint.y" },
225
- { path: "item.image.unsharpMasking.amount" },
226
- { path: "item.image.unsharpMasking.radius" },
227
- { path: "item.image.unsharpMasking.threshold" }
228
- ]
266
+ paths: TRANSFORM_PATHS_0
229
267
  },
230
268
  {
231
269
  transformFn: transformSDKTimestampToRESTTimestamp,
232
- paths: [
233
- { path: "item.createdDate" },
234
- { path: "item.updatedDate" },
235
- { path: "item.image.imageInfo.urlExpirationDate" },
236
- { path: "item.video.videoInfo.urlExpirationDate" },
237
- { path: "item.video.videoInfo.resolutions.poster.urlExpirationDate" },
238
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
239
- ]
270
+ paths: TRANSFORM_PATHS_1
240
271
  }
241
272
  ]);
242
273
  const metadata = {
@@ -256,27 +287,11 @@ function createProjectItem(payload) {
256
287
  transformResponse: (payload2) => transformPaths(payload2, [
257
288
  {
258
289
  transformFn: transformRESTFloatToSDKFloat,
259
- paths: [
260
- { path: "item.sortOrder" },
261
- { path: "item.image.focalPoint.x" },
262
- { path: "item.image.focalPoint.y" },
263
- { path: "item.image.unsharpMasking.amount" },
264
- { path: "item.image.unsharpMasking.radius" },
265
- { path: "item.image.unsharpMasking.threshold" }
266
- ]
290
+ paths: TRANSFORM_PATHS_0
267
291
  },
268
292
  {
269
293
  transformFn: transformRESTTimestampToSDKTimestamp,
270
- paths: [
271
- { path: "item.createdDate" },
272
- { path: "item.updatedDate" },
273
- { path: "item.image.imageInfo.urlExpirationDate" },
274
- { path: "item.video.videoInfo.urlExpirationDate" },
275
- {
276
- path: "item.video.videoInfo.resolutions.poster.urlExpirationDate"
277
- },
278
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
279
- ]
294
+ paths: TRANSFORM_PATHS_1
280
295
  }
281
296
  ])
282
297
  };
@@ -289,27 +304,11 @@ function bulkCreateProjectItems(payload) {
289
304
  const serializedData = transformPaths(payload, [
290
305
  {
291
306
  transformFn: transformSDKFloatToRESTFloat,
292
- paths: [
293
- { path: "items.sortOrder" },
294
- { path: "items.image.focalPoint.x" },
295
- { path: "items.image.focalPoint.y" },
296
- { path: "items.image.unsharpMasking.amount" },
297
- { path: "items.image.unsharpMasking.radius" },
298
- { path: "items.image.unsharpMasking.threshold" }
299
- ]
307
+ paths: TRANSFORM_PATHS_2
300
308
  },
301
309
  {
302
310
  transformFn: transformSDKTimestampToRESTTimestamp,
303
- paths: [
304
- { path: "items.createdDate" },
305
- { path: "items.updatedDate" },
306
- { path: "items.image.imageInfo.urlExpirationDate" },
307
- { path: "items.video.videoInfo.urlExpirationDate" },
308
- {
309
- path: "items.video.videoInfo.resolutions.poster.urlExpirationDate"
310
- },
311
- { path: "items.video.videoInfo.posters.urlExpirationDate" }
312
- ]
311
+ paths: TRANSFORM_PATHS_3
313
312
  }
314
313
  ]);
315
314
  const metadata = {
@@ -329,29 +328,11 @@ function bulkCreateProjectItems(payload) {
329
328
  transformResponse: (payload2) => transformPaths(payload2, [
330
329
  {
331
330
  transformFn: transformRESTFloatToSDKFloat,
332
- paths: [
333
- { path: "results.item.sortOrder" },
334
- { path: "results.item.image.focalPoint.x" },
335
- { path: "results.item.image.focalPoint.y" },
336
- { path: "results.item.image.unsharpMasking.amount" },
337
- { path: "results.item.image.unsharpMasking.radius" },
338
- { path: "results.item.image.unsharpMasking.threshold" }
339
- ]
331
+ paths: TRANSFORM_PATHS_4
340
332
  },
341
333
  {
342
334
  transformFn: transformRESTTimestampToSDKTimestamp,
343
- paths: [
344
- { path: "results.item.createdDate" },
345
- { path: "results.item.updatedDate" },
346
- { path: "results.item.image.imageInfo.urlExpirationDate" },
347
- { path: "results.item.video.videoInfo.urlExpirationDate" },
348
- {
349
- path: "results.item.video.videoInfo.resolutions.poster.urlExpirationDate"
350
- },
351
- {
352
- path: "results.item.video.videoInfo.posters.urlExpirationDate"
353
- }
354
- ]
335
+ paths: TRANSFORM_PATHS_5
355
336
  }
356
337
  ])
357
338
  };
@@ -378,27 +359,11 @@ function getProjectItem(payload) {
378
359
  transformResponse: (payload2) => transformPaths(payload2, [
379
360
  {
380
361
  transformFn: transformRESTFloatToSDKFloat,
381
- paths: [
382
- { path: "item.sortOrder" },
383
- { path: "item.image.focalPoint.x" },
384
- { path: "item.image.focalPoint.y" },
385
- { path: "item.image.unsharpMasking.amount" },
386
- { path: "item.image.unsharpMasking.radius" },
387
- { path: "item.image.unsharpMasking.threshold" }
388
- ]
362
+ paths: TRANSFORM_PATHS_0
389
363
  },
390
364
  {
391
365
  transformFn: transformRESTTimestampToSDKTimestamp,
392
- paths: [
393
- { path: "item.createdDate" },
394
- { path: "item.updatedDate" },
395
- { path: "item.image.imageInfo.urlExpirationDate" },
396
- { path: "item.video.videoInfo.urlExpirationDate" },
397
- {
398
- path: "item.video.videoInfo.resolutions.poster.urlExpirationDate"
399
- },
400
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
401
- ]
366
+ paths: TRANSFORM_PATHS_1
402
367
  }
403
368
  ]),
404
369
  fallback: [
@@ -436,27 +401,11 @@ function listProjectItems(payload) {
436
401
  transformResponse: (payload2) => transformPaths(payload2, [
437
402
  {
438
403
  transformFn: transformRESTFloatToSDKFloat,
439
- paths: [
440
- { path: "items.sortOrder" },
441
- { path: "items.image.focalPoint.x" },
442
- { path: "items.image.focalPoint.y" },
443
- { path: "items.image.unsharpMasking.amount" },
444
- { path: "items.image.unsharpMasking.radius" },
445
- { path: "items.image.unsharpMasking.threshold" }
446
- ]
404
+ paths: TRANSFORM_PATHS_2
447
405
  },
448
406
  {
449
407
  transformFn: transformRESTTimestampToSDKTimestamp,
450
- paths: [
451
- { path: "items.createdDate" },
452
- { path: "items.updatedDate" },
453
- { path: "items.image.imageInfo.urlExpirationDate" },
454
- { path: "items.video.videoInfo.urlExpirationDate" },
455
- {
456
- path: "items.video.videoInfo.resolutions.poster.urlExpirationDate"
457
- },
458
- { path: "items.video.videoInfo.posters.urlExpirationDate" }
459
- ]
408
+ paths: TRANSFORM_PATHS_3
460
409
  }
461
410
  ])
462
411
  };
@@ -469,29 +418,15 @@ function updateProjectItem(payload) {
469
418
  const serializedData = transformPaths(payload, [
470
419
  {
471
420
  transformFn: transformSDKFieldMaskToRESTFieldMask,
472
- paths: [{ path: "mask" }]
421
+ paths: TRANSFORM_PATHS_6
473
422
  },
474
423
  {
475
424
  transformFn: transformSDKFloatToRESTFloat,
476
- paths: [
477
- { path: "item.sortOrder" },
478
- { path: "item.image.focalPoint.x" },
479
- { path: "item.image.focalPoint.y" },
480
- { path: "item.image.unsharpMasking.amount" },
481
- { path: "item.image.unsharpMasking.radius" },
482
- { path: "item.image.unsharpMasking.threshold" }
483
- ]
425
+ paths: TRANSFORM_PATHS_0
484
426
  },
485
427
  {
486
428
  transformFn: transformSDKTimestampToRESTTimestamp,
487
- paths: [
488
- { path: "item.createdDate" },
489
- { path: "item.updatedDate" },
490
- { path: "item.image.imageInfo.urlExpirationDate" },
491
- { path: "item.video.videoInfo.urlExpirationDate" },
492
- { path: "item.video.videoInfo.resolutions.poster.urlExpirationDate" },
493
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
494
- ]
429
+ paths: TRANSFORM_PATHS_1
495
430
  }
496
431
  ]);
497
432
  const metadata = {
@@ -511,27 +446,11 @@ function updateProjectItem(payload) {
511
446
  transformResponse: (payload2) => transformPaths(payload2, [
512
447
  {
513
448
  transformFn: transformRESTFloatToSDKFloat,
514
- paths: [
515
- { path: "item.sortOrder" },
516
- { path: "item.image.focalPoint.x" },
517
- { path: "item.image.focalPoint.y" },
518
- { path: "item.image.unsharpMasking.amount" },
519
- { path: "item.image.unsharpMasking.radius" },
520
- { path: "item.image.unsharpMasking.threshold" }
521
- ]
449
+ paths: TRANSFORM_PATHS_0
522
450
  },
523
451
  {
524
452
  transformFn: transformRESTTimestampToSDKTimestamp,
525
- paths: [
526
- { path: "item.createdDate" },
527
- { path: "item.updatedDate" },
528
- { path: "item.image.imageInfo.urlExpirationDate" },
529
- { path: "item.video.videoInfo.urlExpirationDate" },
530
- {
531
- path: "item.video.videoInfo.resolutions.poster.urlExpirationDate"
532
- },
533
- { path: "item.video.videoInfo.posters.urlExpirationDate" }
534
- ]
453
+ paths: TRANSFORM_PATHS_1
535
454
  }
536
455
  ])
537
456
  };
@@ -544,31 +463,15 @@ function bulkUpdateProjectItems(payload) {
544
463
  const serializedData = transformPaths(payload, [
545
464
  {
546
465
  transformFn: transformSDKFieldMaskToRESTFieldMask,
547
- paths: [{ path: "items.fieldMask" }]
466
+ paths: TRANSFORM_PATHS_7
548
467
  },
549
468
  {
550
469
  transformFn: transformSDKFloatToRESTFloat,
551
- paths: [
552
- { path: "items.item.sortOrder" },
553
- { path: "items.item.image.focalPoint.x" },
554
- { path: "items.item.image.focalPoint.y" },
555
- { path: "items.item.image.unsharpMasking.amount" },
556
- { path: "items.item.image.unsharpMasking.radius" },
557
- { path: "items.item.image.unsharpMasking.threshold" }
558
- ]
470
+ paths: TRANSFORM_PATHS_8
559
471
  },
560
472
  {
561
473
  transformFn: transformSDKTimestampToRESTTimestamp,
562
- paths: [
563
- { path: "items.item.createdDate" },
564
- { path: "items.item.updatedDate" },
565
- { path: "items.item.image.imageInfo.urlExpirationDate" },
566
- { path: "items.item.video.videoInfo.urlExpirationDate" },
567
- {
568
- path: "items.item.video.videoInfo.resolutions.poster.urlExpirationDate"
569
- },
570
- { path: "items.item.video.videoInfo.posters.urlExpirationDate" }
571
- ]
474
+ paths: TRANSFORM_PATHS_9
572
475
  }
573
476
  ]);
574
477
  const metadata = {
@@ -588,29 +491,11 @@ function bulkUpdateProjectItems(payload) {
588
491
  transformResponse: (payload2) => transformPaths(payload2, [
589
492
  {
590
493
  transformFn: transformRESTFloatToSDKFloat,
591
- paths: [
592
- { path: "results.item.sortOrder" },
593
- { path: "results.item.image.focalPoint.x" },
594
- { path: "results.item.image.focalPoint.y" },
595
- { path: "results.item.image.unsharpMasking.amount" },
596
- { path: "results.item.image.unsharpMasking.radius" },
597
- { path: "results.item.image.unsharpMasking.threshold" }
598
- ]
494
+ paths: TRANSFORM_PATHS_4
599
495
  },
600
496
  {
601
497
  transformFn: transformRESTTimestampToSDKTimestamp,
602
- paths: [
603
- { path: "results.item.createdDate" },
604
- { path: "results.item.updatedDate" },
605
- { path: "results.item.image.imageInfo.urlExpirationDate" },
606
- { path: "results.item.video.videoInfo.urlExpirationDate" },
607
- {
608
- path: "results.item.video.videoInfo.resolutions.poster.urlExpirationDate"
609
- },
610
- {
611
- path: "results.item.video.videoInfo.posters.urlExpirationDate"
612
- }
613
- ]
498
+ paths: TRANSFORM_PATHS_5
614
499
  }
615
500
  ])
616
501
  };
@@ -681,6 +566,27 @@ function duplicateProjectItems(payload) {
681
566
  }
682
567
  return __duplicateProjectItems;
683
568
  }
569
+ function generateTokenForProjectItems(payload) {
570
+ function __generateTokenForProjectItems({ host }) {
571
+ const metadata = {
572
+ entityFqdn: "wix.portfolio.project_items.v1.project_item",
573
+ method: "POST",
574
+ methodFqn: "com.wixpress.portfolio.portfolioapp.MediaService.GenerateTokenForProjectItems",
575
+ packageName: PACKAGE_NAME,
576
+ migrationOptions: {
577
+ optInTransformResponse: true
578
+ },
579
+ url: resolveComWixpressPortfolioPortfolioappMediaServiceUrl({
580
+ protoPath: "/api/v1/portfolio/project/items/media",
581
+ data: payload,
582
+ host
583
+ }),
584
+ data: payload
585
+ };
586
+ return metadata;
587
+ }
588
+ return __generateTokenForProjectItems;
589
+ }
684
590
 
685
591
  // src/portfolio-project-items-v1-project-item-project-items.types.ts
686
592
  var Type = /* @__PURE__ */ ((Type2) => {
@@ -695,6 +601,11 @@ var ImageType = /* @__PURE__ */ ((ImageType2) => {
695
601
  ImageType2["EXTERNAL"] = "EXTERNAL";
696
602
  return ImageType2;
697
603
  })(ImageType || {});
604
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
605
+ SortOrder2["ASC"] = "ASC";
606
+ SortOrder2["DESC"] = "DESC";
607
+ return SortOrder2;
608
+ })(SortOrder || {});
698
609
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
699
610
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
700
611
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -703,33 +614,8 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
703
614
  WebhookIdentityType2["APP"] = "APP";
704
615
  return WebhookIdentityType2;
705
616
  })(WebhookIdentityType || {});
706
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
707
- SortOrder2["ASC"] = "ASC";
708
- SortOrder2["DESC"] = "DESC";
709
- return SortOrder2;
710
- })(SortOrder || {});
711
617
 
712
618
  // src/portfolio-project-items-v1-project-item-project-items.meta.ts
713
- function generateTokenForProjectItems2() {
714
- const payload = {};
715
- const getRequestOptions = generateTokenForProjectItems(
716
- payload
717
- );
718
- const getUrl = (context) => {
719
- const { url } = getRequestOptions(context);
720
- return url;
721
- };
722
- return {
723
- getUrl,
724
- httpMethod: "POST",
725
- path: "/api/v1/portfolio/project/items/media",
726
- pathParams: {},
727
- __requestType: null,
728
- __originalRequestType: null,
729
- __responseType: null,
730
- __originalResponseType: null
731
- };
732
- }
733
619
  function createProjectItem2() {
734
620
  const payload = {};
735
621
  const getRequestOptions = createProjectItem(payload);
@@ -900,6 +786,26 @@ function duplicateProjectItems2() {
900
786
  __originalResponseType: null
901
787
  };
902
788
  }
789
+ function generateTokenForProjectItems2() {
790
+ const payload = {};
791
+ const getRequestOptions = generateTokenForProjectItems(
792
+ payload
793
+ );
794
+ const getUrl = (context) => {
795
+ const { url } = getRequestOptions(context);
796
+ return url;
797
+ };
798
+ return {
799
+ getUrl,
800
+ httpMethod: "POST",
801
+ path: "/api/v1/portfolio/project/items/media",
802
+ pathParams: {},
803
+ __requestType: null,
804
+ __originalRequestType: null,
805
+ __responseType: null,
806
+ __originalResponseType: null
807
+ };
808
+ }
903
809
  export {
904
810
  ImageType as ImageTypeOriginal,
905
811
  SortOrder as SortOrderOriginal,