@wix/auto_sdk_seatings_seating-plan 1.0.92 → 1.0.94
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.js +120 -384
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +27 -0
- package/build/cjs/index.typings.js +83 -279
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +27 -0
- package/build/cjs/meta.js +83 -279
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +120 -384
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +27 -0
- package/build/es/index.typings.mjs +83 -279
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +27 -0
- package/build/es/meta.mjs +83 -279
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -9
- package/build/internal/cjs/meta.d.ts +1 -9
- package/build/internal/es/index.typings.d.mts +1 -9
- package/build/internal/es/meta.d.mts +1 -9
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -66,6 +66,69 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
66
66
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
67
67
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
68
68
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
69
|
+
var TRANSFORM_PATHS_0 = [
|
|
70
|
+
{ path: "plan.createdDate" },
|
|
71
|
+
{ path: "plan.updatedDate" }
|
|
72
|
+
];
|
|
73
|
+
var TRANSFORM_PATHS_1 = [
|
|
74
|
+
{ path: "plan.sections.elements.uiProperties.x" },
|
|
75
|
+
{ path: "plan.sections.elements.uiProperties.y" },
|
|
76
|
+
{ path: "plan.sections.elements.uiProperties.width" },
|
|
77
|
+
{ path: "plan.sections.elements.uiProperties.height" },
|
|
78
|
+
{ path: "plan.sections.elements.uiProperties.rotationAngle" },
|
|
79
|
+
{ path: "plan.sections.elements.multiRowProperties.curveAngleTo" },
|
|
80
|
+
{ path: "plan.sections.elements.multiRowProperties.curveAngleFrom" },
|
|
81
|
+
{
|
|
82
|
+
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
83
|
+
},
|
|
84
|
+
{ path: "plan.sections.elements.multiRowProperties.rows.uiProperties.width" },
|
|
85
|
+
{
|
|
86
|
+
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
90
|
+
},
|
|
91
|
+
{ path: "plan.elementGroups.uiProperties.x" },
|
|
92
|
+
{ path: "plan.elementGroups.uiProperties.y" },
|
|
93
|
+
{ path: "plan.elementGroups.uiProperties.width" },
|
|
94
|
+
{ path: "plan.elementGroups.uiProperties.height" },
|
|
95
|
+
{ path: "plan.elementGroups.uiProperties.rotationAngle" }
|
|
96
|
+
];
|
|
97
|
+
var TRANSFORM_PATHS_2 = [{ path: "fields" }];
|
|
98
|
+
var TRANSFORM_PATHS_3 = [
|
|
99
|
+
{ path: "query.sort.origin.latitude" },
|
|
100
|
+
{ path: "query.sort.origin.longitude" }
|
|
101
|
+
];
|
|
102
|
+
var TRANSFORM_PATHS_4 = [
|
|
103
|
+
{ path: "plans.createdDate" },
|
|
104
|
+
{ path: "plans.updatedDate" }
|
|
105
|
+
];
|
|
106
|
+
var TRANSFORM_PATHS_5 = [
|
|
107
|
+
{ path: "plans.sections.elements.uiProperties.x" },
|
|
108
|
+
{ path: "plans.sections.elements.uiProperties.y" },
|
|
109
|
+
{ path: "plans.sections.elements.uiProperties.width" },
|
|
110
|
+
{ path: "plans.sections.elements.uiProperties.height" },
|
|
111
|
+
{ path: "plans.sections.elements.uiProperties.rotationAngle" },
|
|
112
|
+
{ path: "plans.sections.elements.multiRowProperties.curveAngleTo" },
|
|
113
|
+
{ path: "plans.sections.elements.multiRowProperties.curveAngleFrom" },
|
|
114
|
+
{
|
|
115
|
+
path: "plans.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
path: "plans.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
path: "plans.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
path: "plans.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
125
|
+
},
|
|
126
|
+
{ path: "plans.elementGroups.uiProperties.x" },
|
|
127
|
+
{ path: "plans.elementGroups.uiProperties.y" },
|
|
128
|
+
{ path: "plans.elementGroups.uiProperties.width" },
|
|
129
|
+
{ path: "plans.elementGroups.uiProperties.height" },
|
|
130
|
+
{ path: "plans.elementGroups.uiProperties.rotationAngle" }
|
|
131
|
+
];
|
|
69
132
|
function resolveComWixpressSeatingSeatingPlanManagementUrl(opts) {
|
|
70
133
|
const domainToMappings = {
|
|
71
134
|
"manage._base_domain_": [
|
|
@@ -268,36 +331,11 @@ function createSeatingPlan(payload) {
|
|
|
268
331
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
269
332
|
{
|
|
270
333
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
271
|
-
paths:
|
|
334
|
+
paths: TRANSFORM_PATHS_0
|
|
272
335
|
},
|
|
273
336
|
{
|
|
274
337
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
275
|
-
paths:
|
|
276
|
-
{ path: "plan.sections.elements.uiProperties.x" },
|
|
277
|
-
{ path: "plan.sections.elements.uiProperties.y" },
|
|
278
|
-
{ path: "plan.sections.elements.uiProperties.width" },
|
|
279
|
-
{ path: "plan.sections.elements.uiProperties.height" },
|
|
280
|
-
{ path: "plan.sections.elements.uiProperties.rotationAngle" },
|
|
281
|
-
{ path: "plan.sections.elements.multiRowProperties.curveAngleTo" },
|
|
282
|
-
{ path: "plan.sections.elements.multiRowProperties.curveAngleFrom" },
|
|
283
|
-
{
|
|
284
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
294
|
-
},
|
|
295
|
-
{ path: "plan.elementGroups.uiProperties.x" },
|
|
296
|
-
{ path: "plan.elementGroups.uiProperties.y" },
|
|
297
|
-
{ path: "plan.elementGroups.uiProperties.width" },
|
|
298
|
-
{ path: "plan.elementGroups.uiProperties.height" },
|
|
299
|
-
{ path: "plan.elementGroups.uiProperties.rotationAngle" }
|
|
300
|
-
]
|
|
338
|
+
paths: TRANSFORM_PATHS_1
|
|
301
339
|
}
|
|
302
340
|
]);
|
|
303
341
|
const metadata = {
|
|
@@ -317,40 +355,11 @@ function createSeatingPlan(payload) {
|
|
|
317
355
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
318
356
|
{
|
|
319
357
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
320
|
-
paths:
|
|
358
|
+
paths: TRANSFORM_PATHS_0
|
|
321
359
|
},
|
|
322
360
|
{
|
|
323
361
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
324
|
-
paths:
|
|
325
|
-
{ path: "plan.sections.elements.uiProperties.x" },
|
|
326
|
-
{ path: "plan.sections.elements.uiProperties.y" },
|
|
327
|
-
{ path: "plan.sections.elements.uiProperties.width" },
|
|
328
|
-
{ path: "plan.sections.elements.uiProperties.height" },
|
|
329
|
-
{ path: "plan.sections.elements.uiProperties.rotationAngle" },
|
|
330
|
-
{
|
|
331
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleTo"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleFrom"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
347
|
-
},
|
|
348
|
-
{ path: "plan.elementGroups.uiProperties.x" },
|
|
349
|
-
{ path: "plan.elementGroups.uiProperties.y" },
|
|
350
|
-
{ path: "plan.elementGroups.uiProperties.width" },
|
|
351
|
-
{ path: "plan.elementGroups.uiProperties.height" },
|
|
352
|
-
{ path: "plan.elementGroups.uiProperties.rotationAngle" }
|
|
353
|
-
]
|
|
362
|
+
paths: TRANSFORM_PATHS_1
|
|
354
363
|
}
|
|
355
364
|
])
|
|
356
365
|
};
|
|
@@ -363,40 +372,15 @@ function updateSeatingPlan(payload) {
|
|
|
363
372
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
364
373
|
{
|
|
365
374
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
366
|
-
paths:
|
|
375
|
+
paths: TRANSFORM_PATHS_2
|
|
367
376
|
},
|
|
368
377
|
{
|
|
369
378
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
370
|
-
paths:
|
|
379
|
+
paths: TRANSFORM_PATHS_0
|
|
371
380
|
},
|
|
372
381
|
{
|
|
373
382
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
374
|
-
paths:
|
|
375
|
-
{ path: "plan.sections.elements.uiProperties.x" },
|
|
376
|
-
{ path: "plan.sections.elements.uiProperties.y" },
|
|
377
|
-
{ path: "plan.sections.elements.uiProperties.width" },
|
|
378
|
-
{ path: "plan.sections.elements.uiProperties.height" },
|
|
379
|
-
{ path: "plan.sections.elements.uiProperties.rotationAngle" },
|
|
380
|
-
{ path: "plan.sections.elements.multiRowProperties.curveAngleTo" },
|
|
381
|
-
{ path: "plan.sections.elements.multiRowProperties.curveAngleFrom" },
|
|
382
|
-
{
|
|
383
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
393
|
-
},
|
|
394
|
-
{ path: "plan.elementGroups.uiProperties.x" },
|
|
395
|
-
{ path: "plan.elementGroups.uiProperties.y" },
|
|
396
|
-
{ path: "plan.elementGroups.uiProperties.width" },
|
|
397
|
-
{ path: "plan.elementGroups.uiProperties.height" },
|
|
398
|
-
{ path: "plan.elementGroups.uiProperties.rotationAngle" }
|
|
399
|
-
]
|
|
383
|
+
paths: TRANSFORM_PATHS_1
|
|
400
384
|
}
|
|
401
385
|
]);
|
|
402
386
|
const metadata = {
|
|
@@ -416,40 +400,11 @@ function updateSeatingPlan(payload) {
|
|
|
416
400
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
417
401
|
{
|
|
418
402
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
419
|
-
paths:
|
|
403
|
+
paths: TRANSFORM_PATHS_0
|
|
420
404
|
},
|
|
421
405
|
{
|
|
422
406
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
423
|
-
paths:
|
|
424
|
-
{ path: "plan.sections.elements.uiProperties.x" },
|
|
425
|
-
{ path: "plan.sections.elements.uiProperties.y" },
|
|
426
|
-
{ path: "plan.sections.elements.uiProperties.width" },
|
|
427
|
-
{ path: "plan.sections.elements.uiProperties.height" },
|
|
428
|
-
{ path: "plan.sections.elements.uiProperties.rotationAngle" },
|
|
429
|
-
{
|
|
430
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleTo"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleFrom"
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
446
|
-
},
|
|
447
|
-
{ path: "plan.elementGroups.uiProperties.x" },
|
|
448
|
-
{ path: "plan.elementGroups.uiProperties.y" },
|
|
449
|
-
{ path: "plan.elementGroups.uiProperties.width" },
|
|
450
|
-
{ path: "plan.elementGroups.uiProperties.height" },
|
|
451
|
-
{ path: "plan.elementGroups.uiProperties.rotationAngle" }
|
|
452
|
-
]
|
|
407
|
+
paths: TRANSFORM_PATHS_1
|
|
453
408
|
}
|
|
454
409
|
])
|
|
455
410
|
};
|
|
@@ -476,40 +431,11 @@ function copySeatingPlan(payload) {
|
|
|
476
431
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
477
432
|
{
|
|
478
433
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
479
|
-
paths:
|
|
434
|
+
paths: TRANSFORM_PATHS_0
|
|
480
435
|
},
|
|
481
436
|
{
|
|
482
437
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
483
|
-
paths:
|
|
484
|
-
{ path: "plan.sections.elements.uiProperties.x" },
|
|
485
|
-
{ path: "plan.sections.elements.uiProperties.y" },
|
|
486
|
-
{ path: "plan.sections.elements.uiProperties.width" },
|
|
487
|
-
{ path: "plan.sections.elements.uiProperties.height" },
|
|
488
|
-
{ path: "plan.sections.elements.uiProperties.rotationAngle" },
|
|
489
|
-
{
|
|
490
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleTo"
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleFrom"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
506
|
-
},
|
|
507
|
-
{ path: "plan.elementGroups.uiProperties.x" },
|
|
508
|
-
{ path: "plan.elementGroups.uiProperties.y" },
|
|
509
|
-
{ path: "plan.elementGroups.uiProperties.width" },
|
|
510
|
-
{ path: "plan.elementGroups.uiProperties.height" },
|
|
511
|
-
{ path: "plan.elementGroups.uiProperties.rotationAngle" }
|
|
512
|
-
]
|
|
438
|
+
paths: TRANSFORM_PATHS_1
|
|
513
439
|
}
|
|
514
440
|
])
|
|
515
441
|
};
|
|
@@ -522,10 +448,7 @@ function querySeatingPlans(payload) {
|
|
|
522
448
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
523
449
|
{
|
|
524
450
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
525
|
-
paths:
|
|
526
|
-
{ path: "query.sort.origin.latitude" },
|
|
527
|
-
{ path: "query.sort.origin.longitude" }
|
|
528
|
-
]
|
|
451
|
+
paths: TRANSFORM_PATHS_3
|
|
529
452
|
}
|
|
530
453
|
]);
|
|
531
454
|
const metadata = {
|
|
@@ -545,43 +468,11 @@ function querySeatingPlans(payload) {
|
|
|
545
468
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
546
469
|
{
|
|
547
470
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
548
|
-
paths:
|
|
549
|
-
{ path: "plans.createdDate" },
|
|
550
|
-
{ path: "plans.updatedDate" }
|
|
551
|
-
]
|
|
471
|
+
paths: TRANSFORM_PATHS_4
|
|
552
472
|
},
|
|
553
473
|
{
|
|
554
474
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
555
|
-
paths:
|
|
556
|
-
{ path: "plans.sections.elements.uiProperties.x" },
|
|
557
|
-
{ path: "plans.sections.elements.uiProperties.y" },
|
|
558
|
-
{ path: "plans.sections.elements.uiProperties.width" },
|
|
559
|
-
{ path: "plans.sections.elements.uiProperties.height" },
|
|
560
|
-
{ path: "plans.sections.elements.uiProperties.rotationAngle" },
|
|
561
|
-
{
|
|
562
|
-
path: "plans.sections.elements.multiRowProperties.curveAngleTo"
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
path: "plans.sections.elements.multiRowProperties.curveAngleFrom"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
path: "plans.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
path: "plans.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
path: "plans.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
path: "plans.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
578
|
-
},
|
|
579
|
-
{ path: "plans.elementGroups.uiProperties.x" },
|
|
580
|
-
{ path: "plans.elementGroups.uiProperties.y" },
|
|
581
|
-
{ path: "plans.elementGroups.uiProperties.width" },
|
|
582
|
-
{ path: "plans.elementGroups.uiProperties.height" },
|
|
583
|
-
{ path: "plans.elementGroups.uiProperties.rotationAngle" }
|
|
584
|
-
]
|
|
475
|
+
paths: TRANSFORM_PATHS_5
|
|
585
476
|
}
|
|
586
477
|
])
|
|
587
478
|
};
|
|
@@ -608,40 +499,11 @@ function getSeatingPlan(payload) {
|
|
|
608
499
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
609
500
|
{
|
|
610
501
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
611
|
-
paths:
|
|
502
|
+
paths: TRANSFORM_PATHS_0
|
|
612
503
|
},
|
|
613
504
|
{
|
|
614
505
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
615
|
-
paths:
|
|
616
|
-
{ path: "plan.sections.elements.uiProperties.x" },
|
|
617
|
-
{ path: "plan.sections.elements.uiProperties.y" },
|
|
618
|
-
{ path: "plan.sections.elements.uiProperties.width" },
|
|
619
|
-
{ path: "plan.sections.elements.uiProperties.height" },
|
|
620
|
-
{ path: "plan.sections.elements.uiProperties.rotationAngle" },
|
|
621
|
-
{
|
|
622
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleTo"
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleFrom"
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
638
|
-
},
|
|
639
|
-
{ path: "plan.elementGroups.uiProperties.x" },
|
|
640
|
-
{ path: "plan.elementGroups.uiProperties.y" },
|
|
641
|
-
{ path: "plan.elementGroups.uiProperties.width" },
|
|
642
|
-
{ path: "plan.elementGroups.uiProperties.height" },
|
|
643
|
-
{ path: "plan.elementGroups.uiProperties.rotationAngle" }
|
|
644
|
-
]
|
|
506
|
+
paths: TRANSFORM_PATHS_1
|
|
645
507
|
}
|
|
646
508
|
])
|
|
647
509
|
};
|
|
@@ -668,40 +530,11 @@ function findSeatingPlan(payload) {
|
|
|
668
530
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
669
531
|
{
|
|
670
532
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
671
|
-
paths:
|
|
533
|
+
paths: TRANSFORM_PATHS_0
|
|
672
534
|
},
|
|
673
535
|
{
|
|
674
536
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
675
|
-
paths:
|
|
676
|
-
{ path: "plan.sections.elements.uiProperties.x" },
|
|
677
|
-
{ path: "plan.sections.elements.uiProperties.y" },
|
|
678
|
-
{ path: "plan.sections.elements.uiProperties.width" },
|
|
679
|
-
{ path: "plan.sections.elements.uiProperties.height" },
|
|
680
|
-
{ path: "plan.sections.elements.uiProperties.rotationAngle" },
|
|
681
|
-
{
|
|
682
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleTo"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleFrom"
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
698
|
-
},
|
|
699
|
-
{ path: "plan.elementGroups.uiProperties.x" },
|
|
700
|
-
{ path: "plan.elementGroups.uiProperties.y" },
|
|
701
|
-
{ path: "plan.elementGroups.uiProperties.width" },
|
|
702
|
-
{ path: "plan.elementGroups.uiProperties.height" },
|
|
703
|
-
{ path: "plan.elementGroups.uiProperties.rotationAngle" }
|
|
704
|
-
]
|
|
537
|
+
paths: TRANSFORM_PATHS_1
|
|
705
538
|
}
|
|
706
539
|
])
|
|
707
540
|
};
|
|
@@ -728,40 +561,11 @@ function deleteSeatingPlan(payload) {
|
|
|
728
561
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
729
562
|
{
|
|
730
563
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
731
|
-
paths:
|
|
564
|
+
paths: TRANSFORM_PATHS_0
|
|
732
565
|
},
|
|
733
566
|
{
|
|
734
567
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
735
|
-
paths:
|
|
736
|
-
{ path: "plan.sections.elements.uiProperties.x" },
|
|
737
|
-
{ path: "plan.sections.elements.uiProperties.y" },
|
|
738
|
-
{ path: "plan.sections.elements.uiProperties.width" },
|
|
739
|
-
{ path: "plan.sections.elements.uiProperties.height" },
|
|
740
|
-
{ path: "plan.sections.elements.uiProperties.rotationAngle" },
|
|
741
|
-
{
|
|
742
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleTo"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
path: "plan.sections.elements.multiRowProperties.curveAngleFrom"
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
path: "plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
758
|
-
},
|
|
759
|
-
{ path: "plan.elementGroups.uiProperties.x" },
|
|
760
|
-
{ path: "plan.elementGroups.uiProperties.y" },
|
|
761
|
-
{ path: "plan.elementGroups.uiProperties.width" },
|
|
762
|
-
{ path: "plan.elementGroups.uiProperties.height" },
|
|
763
|
-
{ path: "plan.elementGroups.uiProperties.rotationAngle" }
|
|
764
|
-
]
|
|
568
|
+
paths: TRANSFORM_PATHS_1
|
|
765
569
|
}
|
|
766
570
|
])
|
|
767
571
|
};
|
|
@@ -1149,6 +953,37 @@ async function deleteSeatingPlan2(_id) {
|
|
|
1149
953
|
}
|
|
1150
954
|
|
|
1151
955
|
// src/seating-v1-seating-plan-seating-plan.public.ts
|
|
956
|
+
var TRANSFORM_PATHS_02 = [
|
|
957
|
+
{ path: "entity.createdDate" },
|
|
958
|
+
{ path: "entity.updatedDate" },
|
|
959
|
+
{ path: "metadata.eventTime" }
|
|
960
|
+
];
|
|
961
|
+
var TRANSFORM_PATHS_12 = [
|
|
962
|
+
{ path: "entity.sections.elements.uiProperties.x" },
|
|
963
|
+
{ path: "entity.sections.elements.uiProperties.y" },
|
|
964
|
+
{ path: "entity.sections.elements.uiProperties.width" },
|
|
965
|
+
{ path: "entity.sections.elements.uiProperties.height" },
|
|
966
|
+
{ path: "entity.sections.elements.uiProperties.rotationAngle" },
|
|
967
|
+
{ path: "entity.sections.elements.multiRowProperties.curveAngleTo" },
|
|
968
|
+
{ path: "entity.sections.elements.multiRowProperties.curveAngleFrom" },
|
|
969
|
+
{
|
|
970
|
+
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
980
|
+
},
|
|
981
|
+
{ path: "entity.elementGroups.uiProperties.x" },
|
|
982
|
+
{ path: "entity.elementGroups.uiProperties.y" },
|
|
983
|
+
{ path: "entity.elementGroups.uiProperties.width" },
|
|
984
|
+
{ path: "entity.elementGroups.uiProperties.height" },
|
|
985
|
+
{ path: "entity.elementGroups.uiProperties.rotationAngle" }
|
|
986
|
+
];
|
|
1152
987
|
function updateSeatingPlanThumbnail3(httpClient) {
|
|
1153
988
|
return (thumbnail) => updateSeatingPlanThumbnail2(
|
|
1154
989
|
thumbnail,
|
|
@@ -1230,44 +1065,11 @@ var onSeatingPlanCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)
|
|
|
1230
1065
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1231
1066
|
{
|
|
1232
1067
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1233
|
-
paths:
|
|
1234
|
-
{ path: "entity.createdDate" },
|
|
1235
|
-
{ path: "entity.updatedDate" },
|
|
1236
|
-
{ path: "metadata.eventTime" }
|
|
1237
|
-
]
|
|
1068
|
+
paths: TRANSFORM_PATHS_02
|
|
1238
1069
|
},
|
|
1239
1070
|
{
|
|
1240
1071
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1241
|
-
paths:
|
|
1242
|
-
{ path: "entity.sections.elements.uiProperties.x" },
|
|
1243
|
-
{ path: "entity.sections.elements.uiProperties.y" },
|
|
1244
|
-
{ path: "entity.sections.elements.uiProperties.width" },
|
|
1245
|
-
{ path: "entity.sections.elements.uiProperties.height" },
|
|
1246
|
-
{ path: "entity.sections.elements.uiProperties.rotationAngle" },
|
|
1247
|
-
{
|
|
1248
|
-
path: "entity.sections.elements.multiRowProperties.curveAngleTo"
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
path: "entity.sections.elements.multiRowProperties.curveAngleFrom"
|
|
1252
|
-
},
|
|
1253
|
-
{
|
|
1254
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
1258
|
-
},
|
|
1259
|
-
{
|
|
1260
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
1261
|
-
},
|
|
1262
|
-
{
|
|
1263
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
1264
|
-
},
|
|
1265
|
-
{ path: "entity.elementGroups.uiProperties.x" },
|
|
1266
|
-
{ path: "entity.elementGroups.uiProperties.y" },
|
|
1267
|
-
{ path: "entity.elementGroups.uiProperties.width" },
|
|
1268
|
-
{ path: "entity.elementGroups.uiProperties.height" },
|
|
1269
|
-
{ path: "entity.elementGroups.uiProperties.rotationAngle" }
|
|
1270
|
-
]
|
|
1072
|
+
paths: TRANSFORM_PATHS_12
|
|
1271
1073
|
}
|
|
1272
1074
|
])
|
|
1273
1075
|
)
|
|
@@ -1279,44 +1081,11 @@ var onSeatingPlanDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)
|
|
|
1279
1081
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1280
1082
|
{
|
|
1281
1083
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1282
|
-
paths:
|
|
1283
|
-
{ path: "entity.createdDate" },
|
|
1284
|
-
{ path: "entity.updatedDate" },
|
|
1285
|
-
{ path: "metadata.eventTime" }
|
|
1286
|
-
]
|
|
1084
|
+
paths: TRANSFORM_PATHS_02
|
|
1287
1085
|
},
|
|
1288
1086
|
{
|
|
1289
1087
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1290
|
-
paths:
|
|
1291
|
-
{ path: "entity.sections.elements.uiProperties.x" },
|
|
1292
|
-
{ path: "entity.sections.elements.uiProperties.y" },
|
|
1293
|
-
{ path: "entity.sections.elements.uiProperties.width" },
|
|
1294
|
-
{ path: "entity.sections.elements.uiProperties.height" },
|
|
1295
|
-
{ path: "entity.sections.elements.uiProperties.rotationAngle" },
|
|
1296
|
-
{
|
|
1297
|
-
path: "entity.sections.elements.multiRowProperties.curveAngleTo"
|
|
1298
|
-
},
|
|
1299
|
-
{
|
|
1300
|
-
path: "entity.sections.elements.multiRowProperties.curveAngleFrom"
|
|
1301
|
-
},
|
|
1302
|
-
{
|
|
1303
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
1313
|
-
},
|
|
1314
|
-
{ path: "entity.elementGroups.uiProperties.x" },
|
|
1315
|
-
{ path: "entity.elementGroups.uiProperties.y" },
|
|
1316
|
-
{ path: "entity.elementGroups.uiProperties.width" },
|
|
1317
|
-
{ path: "entity.elementGroups.uiProperties.height" },
|
|
1318
|
-
{ path: "entity.elementGroups.uiProperties.rotationAngle" }
|
|
1319
|
-
]
|
|
1088
|
+
paths: TRANSFORM_PATHS_12
|
|
1320
1089
|
}
|
|
1321
1090
|
])
|
|
1322
1091
|
)
|
|
@@ -1328,44 +1097,11 @@ var onSeatingPlanUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)
|
|
|
1328
1097
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1329
1098
|
{
|
|
1330
1099
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1331
|
-
paths:
|
|
1332
|
-
{ path: "entity.createdDate" },
|
|
1333
|
-
{ path: "entity.updatedDate" },
|
|
1334
|
-
{ path: "metadata.eventTime" }
|
|
1335
|
-
]
|
|
1100
|
+
paths: TRANSFORM_PATHS_02
|
|
1336
1101
|
},
|
|
1337
1102
|
{
|
|
1338
1103
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1339
|
-
paths:
|
|
1340
|
-
{ path: "entity.sections.elements.uiProperties.x" },
|
|
1341
|
-
{ path: "entity.sections.elements.uiProperties.y" },
|
|
1342
|
-
{ path: "entity.sections.elements.uiProperties.width" },
|
|
1343
|
-
{ path: "entity.sections.elements.uiProperties.height" },
|
|
1344
|
-
{ path: "entity.sections.elements.uiProperties.rotationAngle" },
|
|
1345
|
-
{
|
|
1346
|
-
path: "entity.sections.elements.multiRowProperties.curveAngleTo"
|
|
1347
|
-
},
|
|
1348
|
-
{
|
|
1349
|
-
path: "entity.sections.elements.multiRowProperties.curveAngleFrom"
|
|
1350
|
-
},
|
|
1351
|
-
{
|
|
1352
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.relativeX"
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.width"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom"
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
path: "entity.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo"
|
|
1362
|
-
},
|
|
1363
|
-
{ path: "entity.elementGroups.uiProperties.x" },
|
|
1364
|
-
{ path: "entity.elementGroups.uiProperties.y" },
|
|
1365
|
-
{ path: "entity.elementGroups.uiProperties.width" },
|
|
1366
|
-
{ path: "entity.elementGroups.uiProperties.height" },
|
|
1367
|
-
{ path: "entity.elementGroups.uiProperties.rotationAngle" }
|
|
1368
|
-
]
|
|
1104
|
+
paths: TRANSFORM_PATHS_12
|
|
1369
1105
|
}
|
|
1370
1106
|
])
|
|
1371
1107
|
)
|