@homespot-sdk/core 0.0.214 → 0.0.216
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/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +318 -55
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +317 -63
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +21 -7
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +120 -10
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +319 -53
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +865 -132
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +322 -56
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../../api/rem/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;CAmBrB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;;;;CAS1B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;CAiB/B,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;CAO5B,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;CAOpB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BtB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;CAoB3B,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;;;;;CAU1B,CAAC;AAEX,eAAO,MAAM,wB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export const PhotoRequestSchema = {
|
|
332
332
|
type: 'object',
|
|
333
333
|
properties: {
|
|
334
|
+
photo: {
|
|
335
|
+
type: 'string',
|
|
336
|
+
maxLength: 255,
|
|
337
|
+
minLength: 0,
|
|
338
|
+
},
|
|
334
339
|
type: {
|
|
335
340
|
$ref: '#/components/schemas/TypeEnum2',
|
|
336
341
|
},
|
|
342
|
+
width: {
|
|
343
|
+
type: 'integer',
|
|
344
|
+
format: 'int32',
|
|
345
|
+
maximum: 11000,
|
|
346
|
+
minimum: 10,
|
|
347
|
+
},
|
|
348
|
+
height: {
|
|
349
|
+
type: 'integer',
|
|
350
|
+
format: 'int32',
|
|
351
|
+
maximum: 11000,
|
|
352
|
+
minimum: 10,
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
required: ['photo', 'type', 'width'],
|
|
356
|
+
};
|
|
357
|
+
export const PresignedUrlResponseSchema = {
|
|
358
|
+
type: 'object',
|
|
359
|
+
properties: {
|
|
360
|
+
originalName: {
|
|
361
|
+
type: 'string',
|
|
362
|
+
},
|
|
363
|
+
key: {
|
|
364
|
+
type: 'string',
|
|
365
|
+
},
|
|
337
366
|
url: {
|
|
338
367
|
type: 'string',
|
|
339
368
|
},
|
|
340
369
|
},
|
|
341
|
-
required: ['
|
|
370
|
+
required: ['key', 'originalName', 'url'],
|
|
342
371
|
};
|
|
343
|
-
export const
|
|
372
|
+
export const PresignedUrlsResponseSchema = {
|
|
344
373
|
type: 'object',
|
|
345
374
|
properties: {
|
|
346
375
|
data: {
|
|
347
376
|
type: 'array',
|
|
348
377
|
items: {
|
|
349
|
-
$ref: '#/components/schemas/
|
|
378
|
+
$ref: '#/components/schemas/PresignedUrlResponse',
|
|
350
379
|
},
|
|
351
|
-
maxItems: 5,
|
|
352
|
-
minItems: 1,
|
|
353
380
|
},
|
|
354
381
|
},
|
|
355
382
|
required: ['data'],
|
|
356
383
|
};
|
|
384
|
+
export const UploadAcknowledgmentResponseSchema = {
|
|
385
|
+
type: 'object',
|
|
386
|
+
properties: {
|
|
387
|
+
success: {
|
|
388
|
+
type: 'array',
|
|
389
|
+
items: {
|
|
390
|
+
type: 'string',
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
fail: {
|
|
394
|
+
type: 'array',
|
|
395
|
+
items: {
|
|
396
|
+
type: 'string',
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
},
|
|
400
|
+
required: ['fail', 'success'],
|
|
401
|
+
};
|
|
357
402
|
export const TransferFundsRequestSchema = {
|
|
358
403
|
type: 'object',
|
|
359
404
|
properties: {
|
|
@@ -865,76 +910,113 @@ export const IdResponseUUIDSchema = {
|
|
|
865
910
|
},
|
|
866
911
|
required: ['id'],
|
|
867
912
|
};
|
|
868
|
-
export const
|
|
913
|
+
export const WebsiteRequestSchema = {
|
|
869
914
|
type: 'object',
|
|
870
915
|
properties: {
|
|
871
|
-
|
|
916
|
+
url: {
|
|
872
917
|
type: 'string',
|
|
873
|
-
|
|
874
|
-
minLength: 0,
|
|
875
|
-
},
|
|
876
|
-
type: {
|
|
877
|
-
$ref: '#/components/schemas/TypeEnum3',
|
|
878
|
-
},
|
|
879
|
-
width: {
|
|
880
|
-
type: 'integer',
|
|
881
|
-
format: 'int32',
|
|
882
|
-
maximum: 11000,
|
|
883
|
-
minimum: 10,
|
|
918
|
+
pattern: '^(https?://.*)?$',
|
|
884
919
|
},
|
|
885
|
-
|
|
920
|
+
},
|
|
921
|
+
};
|
|
922
|
+
export const ThemeRequestSchema = {
|
|
923
|
+
type: 'object',
|
|
924
|
+
properties: {
|
|
925
|
+
primaryColor: {
|
|
886
926
|
type: 'integer',
|
|
887
927
|
format: 'int32',
|
|
888
|
-
maximum: 11000,
|
|
889
|
-
minimum: 10,
|
|
890
928
|
},
|
|
891
929
|
},
|
|
892
|
-
required: ['
|
|
930
|
+
required: ['primaryColor'],
|
|
893
931
|
};
|
|
894
|
-
export const
|
|
932
|
+
export const SocialMediaRequestSchema = {
|
|
895
933
|
type: 'object',
|
|
896
934
|
properties: {
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
},
|
|
900
|
-
key: {
|
|
901
|
-
type: 'string',
|
|
935
|
+
type: {
|
|
936
|
+
$ref: '#/components/schemas/TypeEnum3',
|
|
902
937
|
},
|
|
903
938
|
url: {
|
|
904
939
|
type: 'string',
|
|
905
940
|
},
|
|
906
941
|
},
|
|
907
|
-
required: ['
|
|
942
|
+
required: ['type'],
|
|
908
943
|
};
|
|
909
|
-
export const
|
|
944
|
+
export const SocialMediasRequestSchema = {
|
|
910
945
|
type: 'object',
|
|
911
946
|
properties: {
|
|
912
947
|
data: {
|
|
913
948
|
type: 'array',
|
|
914
949
|
items: {
|
|
915
|
-
$ref: '#/components/schemas/
|
|
950
|
+
$ref: '#/components/schemas/SocialMediaRequest',
|
|
916
951
|
},
|
|
952
|
+
maxItems: 6,
|
|
953
|
+
minItems: 1,
|
|
917
954
|
},
|
|
918
955
|
},
|
|
919
956
|
required: ['data'],
|
|
920
957
|
};
|
|
921
|
-
export const
|
|
958
|
+
export const MultiLangTextRequestSchema = {
|
|
922
959
|
type: 'object',
|
|
923
960
|
properties: {
|
|
924
|
-
|
|
961
|
+
data: {
|
|
925
962
|
type: 'array',
|
|
926
963
|
items: {
|
|
927
|
-
|
|
964
|
+
$ref: '#/components/schemas/TextRequest',
|
|
928
965
|
},
|
|
966
|
+
maxItems: 3,
|
|
967
|
+
minItems: 1,
|
|
929
968
|
},
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
969
|
+
},
|
|
970
|
+
required: ['data'],
|
|
971
|
+
};
|
|
972
|
+
export const TextRequestSchema = {
|
|
973
|
+
type: 'object',
|
|
974
|
+
properties: {
|
|
975
|
+
language: {
|
|
976
|
+
$ref: '#/components/schemas/SchemaEnum3',
|
|
977
|
+
},
|
|
978
|
+
text: {
|
|
979
|
+
type: 'string',
|
|
935
980
|
},
|
|
936
981
|
},
|
|
937
|
-
required: ['
|
|
982
|
+
required: ['language'],
|
|
983
|
+
};
|
|
984
|
+
export const WhitelabelSectionRequestSchema = {
|
|
985
|
+
type: 'object',
|
|
986
|
+
properties: {
|
|
987
|
+
title: {
|
|
988
|
+
$ref: '#/components/schemas/MultiLangTextRequest',
|
|
989
|
+
},
|
|
990
|
+
body: {
|
|
991
|
+
$ref: '#/components/schemas/MultiLangTextRequest',
|
|
992
|
+
},
|
|
993
|
+
},
|
|
994
|
+
required: ['body', 'title'],
|
|
995
|
+
};
|
|
996
|
+
export const WhitelabelReviewRequestSchema = {
|
|
997
|
+
type: 'object',
|
|
998
|
+
properties: {
|
|
999
|
+
quote: {
|
|
1000
|
+
$ref: '#/components/schemas/MultiLangTextRequest',
|
|
1001
|
+
},
|
|
1002
|
+
name: {
|
|
1003
|
+
$ref: '#/components/schemas/MultiLangTextRequest',
|
|
1004
|
+
},
|
|
1005
|
+
status: {
|
|
1006
|
+
$ref: '#/components/schemas/MultiLangTextRequest',
|
|
1007
|
+
},
|
|
1008
|
+
},
|
|
1009
|
+
required: ['name', 'quote', 'status'],
|
|
1010
|
+
};
|
|
1011
|
+
export const EstablishedYearRequestSchema = {
|
|
1012
|
+
type: 'object',
|
|
1013
|
+
properties: {
|
|
1014
|
+
year: {
|
|
1015
|
+
type: 'integer',
|
|
1016
|
+
format: 'int32',
|
|
1017
|
+
},
|
|
1018
|
+
},
|
|
1019
|
+
required: ['year'],
|
|
938
1020
|
};
|
|
939
1021
|
export const OrganizationSummaryViewResponseSchema = {
|
|
940
1022
|
type: 'object',
|
|
@@ -1327,7 +1409,8 @@ export const AgencySummaryResponseSchema = {
|
|
|
1327
1409
|
type: 'string',
|
|
1328
1410
|
},
|
|
1329
1411
|
seats: {
|
|
1330
|
-
type: '
|
|
1412
|
+
type: 'integer',
|
|
1413
|
+
format: 'int32',
|
|
1331
1414
|
},
|
|
1332
1415
|
subdomain: {
|
|
1333
1416
|
type: 'string',
|
|
@@ -1335,11 +1418,9 @@ export const AgencySummaryResponseSchema = {
|
|
|
1335
1418
|
phone: {
|
|
1336
1419
|
type: 'string',
|
|
1337
1420
|
},
|
|
1338
|
-
website: {
|
|
1339
|
-
type: 'string',
|
|
1340
|
-
},
|
|
1341
1421
|
establishedYear: {
|
|
1342
|
-
type: '
|
|
1422
|
+
type: 'integer',
|
|
1423
|
+
format: 'int32',
|
|
1343
1424
|
},
|
|
1344
1425
|
status: {
|
|
1345
1426
|
$ref: '#/components/schemas/SchemaEnum2',
|
|
@@ -1347,10 +1428,13 @@ export const AgencySummaryResponseSchema = {
|
|
|
1347
1428
|
logo: {
|
|
1348
1429
|
type: 'string',
|
|
1349
1430
|
},
|
|
1431
|
+
theme: {
|
|
1432
|
+
type: 'integer',
|
|
1433
|
+
format: 'int32',
|
|
1434
|
+
},
|
|
1350
1435
|
},
|
|
1351
1436
|
required: [
|
|
1352
1437
|
'email',
|
|
1353
|
-
'establishedYear',
|
|
1354
1438
|
'id',
|
|
1355
1439
|
'name',
|
|
1356
1440
|
'owner',
|
|
@@ -1374,6 +1458,171 @@ export const PagedModelAgencySummaryResponseSchema = {
|
|
|
1374
1458
|
},
|
|
1375
1459
|
},
|
|
1376
1460
|
};
|
|
1461
|
+
export const AgencyContactInfoResponseSchema = {
|
|
1462
|
+
type: 'object',
|
|
1463
|
+
properties: {
|
|
1464
|
+
phone: {
|
|
1465
|
+
type: 'string',
|
|
1466
|
+
},
|
|
1467
|
+
email: {
|
|
1468
|
+
type: 'string',
|
|
1469
|
+
},
|
|
1470
|
+
address: {
|
|
1471
|
+
type: 'string',
|
|
1472
|
+
},
|
|
1473
|
+
},
|
|
1474
|
+
required: ['email', 'phone'],
|
|
1475
|
+
};
|
|
1476
|
+
export const AgencyStatsResponseSchema = {
|
|
1477
|
+
type: 'object',
|
|
1478
|
+
properties: {
|
|
1479
|
+
membersCount: {
|
|
1480
|
+
type: 'integer',
|
|
1481
|
+
format: 'int32',
|
|
1482
|
+
},
|
|
1483
|
+
listingCount: {
|
|
1484
|
+
type: 'integer',
|
|
1485
|
+
format: 'int32',
|
|
1486
|
+
},
|
|
1487
|
+
operatingSince: {
|
|
1488
|
+
type: 'integer',
|
|
1489
|
+
format: 'int32',
|
|
1490
|
+
},
|
|
1491
|
+
},
|
|
1492
|
+
required: ['listingCount', 'membersCount', 'operatingSince'],
|
|
1493
|
+
};
|
|
1494
|
+
export const LangTextResponseSchema = {
|
|
1495
|
+
type: 'object',
|
|
1496
|
+
properties: {
|
|
1497
|
+
language: {
|
|
1498
|
+
$ref: '#/components/schemas/SchemaEnum3',
|
|
1499
|
+
},
|
|
1500
|
+
text: {
|
|
1501
|
+
type: 'string',
|
|
1502
|
+
},
|
|
1503
|
+
},
|
|
1504
|
+
required: ['language', 'text'],
|
|
1505
|
+
};
|
|
1506
|
+
export const MemberResponseSchema = {
|
|
1507
|
+
type: 'object',
|
|
1508
|
+
properties: {
|
|
1509
|
+
memberId: {
|
|
1510
|
+
type: 'string',
|
|
1511
|
+
format: 'uuid',
|
|
1512
|
+
},
|
|
1513
|
+
firstName: {
|
|
1514
|
+
type: 'string',
|
|
1515
|
+
},
|
|
1516
|
+
lastName: {
|
|
1517
|
+
type: 'string',
|
|
1518
|
+
},
|
|
1519
|
+
phone: {
|
|
1520
|
+
type: 'string',
|
|
1521
|
+
},
|
|
1522
|
+
email: {
|
|
1523
|
+
type: 'string',
|
|
1524
|
+
},
|
|
1525
|
+
profilePictureUrl: {
|
|
1526
|
+
type: 'string',
|
|
1527
|
+
},
|
|
1528
|
+
},
|
|
1529
|
+
required: ['email', 'firstName', 'lastName', 'memberId'],
|
|
1530
|
+
};
|
|
1531
|
+
export const ReviewResponseSchema = {
|
|
1532
|
+
type: 'object',
|
|
1533
|
+
properties: {
|
|
1534
|
+
quote: {
|
|
1535
|
+
$ref: '#/components/schemas/LangTextResponse',
|
|
1536
|
+
},
|
|
1537
|
+
name: {
|
|
1538
|
+
$ref: '#/components/schemas/LangTextResponse',
|
|
1539
|
+
},
|
|
1540
|
+
status: {
|
|
1541
|
+
$ref: '#/components/schemas/LangTextResponse',
|
|
1542
|
+
},
|
|
1543
|
+
},
|
|
1544
|
+
};
|
|
1545
|
+
export const SegmentResponseSchema = {
|
|
1546
|
+
type: 'object',
|
|
1547
|
+
properties: {
|
|
1548
|
+
title: {
|
|
1549
|
+
$ref: '#/components/schemas/LangTextResponse',
|
|
1550
|
+
},
|
|
1551
|
+
body: {
|
|
1552
|
+
$ref: '#/components/schemas/LangTextResponse',
|
|
1553
|
+
},
|
|
1554
|
+
},
|
|
1555
|
+
};
|
|
1556
|
+
export const SocialLinkResponseSchema = {
|
|
1557
|
+
type: 'object',
|
|
1558
|
+
properties: {
|
|
1559
|
+
url: {
|
|
1560
|
+
type: 'string',
|
|
1561
|
+
},
|
|
1562
|
+
type: {
|
|
1563
|
+
$ref: '#/components/schemas/TypeEnum3',
|
|
1564
|
+
},
|
|
1565
|
+
},
|
|
1566
|
+
required: ['type', 'url'],
|
|
1567
|
+
};
|
|
1568
|
+
export const WhitelabelResponseSchema = {
|
|
1569
|
+
type: 'object',
|
|
1570
|
+
properties: {
|
|
1571
|
+
theme: {
|
|
1572
|
+
type: 'integer',
|
|
1573
|
+
format: 'int32',
|
|
1574
|
+
},
|
|
1575
|
+
name: {
|
|
1576
|
+
type: 'string',
|
|
1577
|
+
},
|
|
1578
|
+
logoUrl: {
|
|
1579
|
+
type: 'string',
|
|
1580
|
+
},
|
|
1581
|
+
coverUrl: {
|
|
1582
|
+
type: 'string',
|
|
1583
|
+
},
|
|
1584
|
+
slogan: {
|
|
1585
|
+
$ref: '#/components/schemas/SegmentResponse',
|
|
1586
|
+
},
|
|
1587
|
+
stats: {
|
|
1588
|
+
$ref: '#/components/schemas/AgencyStatsResponse',
|
|
1589
|
+
},
|
|
1590
|
+
ourTeam: {
|
|
1591
|
+
$ref: '#/components/schemas/SegmentResponse',
|
|
1592
|
+
},
|
|
1593
|
+
members: {
|
|
1594
|
+
type: 'array',
|
|
1595
|
+
items: {
|
|
1596
|
+
$ref: '#/components/schemas/MemberResponse',
|
|
1597
|
+
},
|
|
1598
|
+
},
|
|
1599
|
+
review: {
|
|
1600
|
+
$ref: '#/components/schemas/SegmentResponse',
|
|
1601
|
+
},
|
|
1602
|
+
reviews: {
|
|
1603
|
+
type: 'array',
|
|
1604
|
+
items: {
|
|
1605
|
+
$ref: '#/components/schemas/ReviewResponse',
|
|
1606
|
+
},
|
|
1607
|
+
},
|
|
1608
|
+
contactUs: {
|
|
1609
|
+
$ref: '#/components/schemas/SegmentResponse',
|
|
1610
|
+
},
|
|
1611
|
+
agencyInfo: {
|
|
1612
|
+
$ref: '#/components/schemas/AgencyContactInfoResponse',
|
|
1613
|
+
},
|
|
1614
|
+
socialLinks: {
|
|
1615
|
+
type: 'array',
|
|
1616
|
+
items: {
|
|
1617
|
+
$ref: '#/components/schemas/SocialLinkResponse',
|
|
1618
|
+
},
|
|
1619
|
+
},
|
|
1620
|
+
website: {
|
|
1621
|
+
type: 'string',
|
|
1622
|
+
},
|
|
1623
|
+
},
|
|
1624
|
+
required: ['members', 'name', 'stats', 'theme'],
|
|
1625
|
+
};
|
|
1377
1626
|
export const MemberViewResponseSchema = {
|
|
1378
1627
|
type: 'object',
|
|
1379
1628
|
properties: {
|
|
@@ -1492,8 +1741,14 @@ export const LeadGridResponseSchema = {
|
|
|
1492
1741
|
type: 'string',
|
|
1493
1742
|
format: 'uuid',
|
|
1494
1743
|
},
|
|
1744
|
+
assignedToName: {
|
|
1745
|
+
type: 'string',
|
|
1746
|
+
},
|
|
1747
|
+
assignedToPhoto: {
|
|
1748
|
+
type: 'string',
|
|
1749
|
+
},
|
|
1495
1750
|
status: {
|
|
1496
|
-
$ref: '#/components/schemas/
|
|
1751
|
+
$ref: '#/components/schemas/SchemaEnum4',
|
|
1497
1752
|
},
|
|
1498
1753
|
contactFullName: {
|
|
1499
1754
|
type: 'string',
|
|
@@ -1616,6 +1871,12 @@ export const ClientGridResponseSchema = {
|
|
|
1616
1871
|
type: 'string',
|
|
1617
1872
|
format: 'uuid',
|
|
1618
1873
|
},
|
|
1874
|
+
assignedToName: {
|
|
1875
|
+
type: 'string',
|
|
1876
|
+
},
|
|
1877
|
+
assignedToPhoto: {
|
|
1878
|
+
type: 'string',
|
|
1879
|
+
},
|
|
1619
1880
|
contactFullName: {
|
|
1620
1881
|
type: 'string',
|
|
1621
1882
|
},
|
|
@@ -2126,20 +2387,8 @@ export const AgencyProfileResponseSchema = {
|
|
|
2126
2387
|
address: {
|
|
2127
2388
|
$ref: '#/components/schemas/AddressViewResponse',
|
|
2128
2389
|
},
|
|
2129
|
-
establishedYear: {
|
|
2130
|
-
type: 'integer',
|
|
2131
|
-
format: 'int32',
|
|
2132
|
-
},
|
|
2133
2390
|
},
|
|
2134
|
-
required: [
|
|
2135
|
-
'address',
|
|
2136
|
-
'email',
|
|
2137
|
-
'establishedYear',
|
|
2138
|
-
'name',
|
|
2139
|
-
'phone',
|
|
2140
|
-
'seats',
|
|
2141
|
-
'subdomain',
|
|
2142
|
-
],
|
|
2391
|
+
required: ['address', 'email', 'name', 'phone', 'seats', 'subdomain'],
|
|
2143
2392
|
};
|
|
2144
2393
|
export const SchemaEnumSchema = {
|
|
2145
2394
|
type: 'string',
|
|
@@ -2150,6 +2399,11 @@ export const SchemaEnum2Schema = {
|
|
|
2150
2399
|
enum: ['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE'],
|
|
2151
2400
|
};
|
|
2152
2401
|
export const SchemaEnum3Schema = {
|
|
2402
|
+
type: 'string',
|
|
2403
|
+
default: 'ka',
|
|
2404
|
+
enum: ['ka', 'en', 'ru'],
|
|
2405
|
+
};
|
|
2406
|
+
export const SchemaEnum4Schema = {
|
|
2153
2407
|
type: 'string',
|
|
2154
2408
|
enum: [
|
|
2155
2409
|
'NEW',
|
|
@@ -2232,7 +2486,7 @@ export const ItemsEnum2Schema = {
|
|
|
2232
2486
|
};
|
|
2233
2487
|
export const TypeEnum2Schema = {
|
|
2234
2488
|
type: 'string',
|
|
2235
|
-
enum: ['
|
|
2489
|
+
enum: ['JPEG', 'JPG', 'PNG', 'WEBP'],
|
|
2236
2490
|
};
|
|
2237
2491
|
export const OutcomeEnumSchema = {
|
|
2238
2492
|
type: 'string',
|
|
@@ -2252,7 +2506,7 @@ export const CommissionTypeEnumSchema = {
|
|
|
2252
2506
|
};
|
|
2253
2507
|
export const TypeEnum3Schema = {
|
|
2254
2508
|
type: 'string',
|
|
2255
|
-
enum: ['
|
|
2509
|
+
enum: ['FACEBOOK', 'YOUTUBE', 'INSTAGRAM', 'TIKTOK', 'LINKEDIN'],
|
|
2256
2510
|
};
|
|
2257
2511
|
export const StatusEnumSchema = {
|
|
2258
2512
|
type: 'string',
|