@homespot-sdk/core 0.0.317 → 0.0.319
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/property/client.gen.d.ts.map +1 -1
- package/dist/property/client.gen.js +1 -3
- package/dist/property/client.gen.js.map +1 -1
- package/dist/property/schemas.gen.d.ts +2 -2
- package/dist/property/schemas.gen.js +2 -2
- package/dist/property/schemas.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +3 -3
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +4 -4
- package/dist/property/zod.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.js +22 -16
- package/dist/property/zod.gen.js.map +1 -1
- package/dist/registration/client.gen.d.ts.map +1 -1
- package/dist/registration/client.gen.js +1 -3
- package/dist/registration/client.gen.js.map +1 -1
- package/dist/registration/schemas.gen.d.ts +2 -2
- package/dist/registration/schemas.gen.js +2 -2
- package/dist/registration/schemas.gen.js.map +1 -1
- package/dist/registration/types.gen.d.ts +3 -3
- package/dist/registration/types.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.d.ts +5 -5
- package/dist/registration/zod.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.js +22 -16
- package/dist/registration/zod.gen.js.map +1 -1
- package/dist/rem/client.gen.d.ts.map +1 -1
- package/dist/rem/client.gen.js +1 -3
- package/dist/rem/client.gen.js.map +1 -1
- 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 +476 -41
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +483 -47
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +10 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +64 -1
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +7 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +116 -8
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +263 -14
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +535 -26
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +417 -13
- package/dist/rem/zod.gen.js.map +1 -1
- package/dist/utils/client.gen.d.ts.map +1 -1
- package/dist/utils/client.gen.js +1 -3
- package/dist/utils/client.gen.js.map +1 -1
- package/dist/utils/types.gen.d.ts +1 -1
- package/dist/utils/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -523,6 +523,20 @@ export const ReassignMemberRequestSchema = {
|
|
|
523
523
|
},
|
|
524
524
|
required: ['memberId'],
|
|
525
525
|
};
|
|
526
|
+
export const ContactMergeRequestSchema = {
|
|
527
|
+
type: 'object',
|
|
528
|
+
properties: {
|
|
529
|
+
survivorContactId: {
|
|
530
|
+
type: 'integer',
|
|
531
|
+
format: 'int64',
|
|
532
|
+
},
|
|
533
|
+
loserContactId: {
|
|
534
|
+
type: 'integer',
|
|
535
|
+
format: 'int64',
|
|
536
|
+
},
|
|
537
|
+
},
|
|
538
|
+
required: ['loserContactId', 'survivorContactId'],
|
|
539
|
+
};
|
|
526
540
|
export const AddressRequestSchema = {
|
|
527
541
|
type: 'object',
|
|
528
542
|
properties: {
|
|
@@ -765,6 +779,67 @@ export const ContactSelfRegisterRequestSchema = {
|
|
|
765
779
|
},
|
|
766
780
|
required: ['commentBody', 'contactInfo', 'otp', 'phoneNumber'],
|
|
767
781
|
};
|
|
782
|
+
export const ConnectWhatsAppRequestSchema = {
|
|
783
|
+
type: 'object',
|
|
784
|
+
properties: {
|
|
785
|
+
code: {
|
|
786
|
+
type: 'string',
|
|
787
|
+
},
|
|
788
|
+
wabaId: {
|
|
789
|
+
type: 'string',
|
|
790
|
+
},
|
|
791
|
+
phoneNumberId: {
|
|
792
|
+
type: 'string',
|
|
793
|
+
},
|
|
794
|
+
},
|
|
795
|
+
};
|
|
796
|
+
export const OauthConnectionResponseSchema = {
|
|
797
|
+
type: 'object',
|
|
798
|
+
properties: {
|
|
799
|
+
agencyId: {
|
|
800
|
+
type: 'string',
|
|
801
|
+
format: 'uuid',
|
|
802
|
+
},
|
|
803
|
+
userId: {
|
|
804
|
+
type: 'string',
|
|
805
|
+
format: 'uuid',
|
|
806
|
+
},
|
|
807
|
+
provider: {
|
|
808
|
+
type: 'string',
|
|
809
|
+
enum: ['FACEBOOK', 'INSTAGRAM', 'WHATSAPP'],
|
|
810
|
+
},
|
|
811
|
+
status: {
|
|
812
|
+
type: 'string',
|
|
813
|
+
enum: ['ACTIVE', 'REVOKED'],
|
|
814
|
+
},
|
|
815
|
+
pagePicture: {
|
|
816
|
+
type: 'string',
|
|
817
|
+
},
|
|
818
|
+
pageName: {
|
|
819
|
+
type: 'string',
|
|
820
|
+
},
|
|
821
|
+
createdAt: {
|
|
822
|
+
type: 'string',
|
|
823
|
+
format: 'date-time',
|
|
824
|
+
},
|
|
825
|
+
updatedAt: {
|
|
826
|
+
type: 'string',
|
|
827
|
+
format: 'date-time',
|
|
828
|
+
},
|
|
829
|
+
revokedAt: {
|
|
830
|
+
type: 'string',
|
|
831
|
+
format: 'date-time',
|
|
832
|
+
},
|
|
833
|
+
},
|
|
834
|
+
required: [
|
|
835
|
+
'agencyId',
|
|
836
|
+
'createdAt',
|
|
837
|
+
'provider',
|
|
838
|
+
'status',
|
|
839
|
+
'updatedAt',
|
|
840
|
+
'userId',
|
|
841
|
+
],
|
|
842
|
+
};
|
|
768
843
|
export const AttendeeRequestSchema = {
|
|
769
844
|
type: 'object',
|
|
770
845
|
properties: {
|
|
@@ -961,6 +1036,9 @@ export const AgencyPrincipalDtoSchema = {
|
|
|
961
1036
|
isOwner: {
|
|
962
1037
|
type: 'boolean',
|
|
963
1038
|
},
|
|
1039
|
+
phoneVerified: {
|
|
1040
|
+
type: 'boolean',
|
|
1041
|
+
},
|
|
964
1042
|
},
|
|
965
1043
|
};
|
|
966
1044
|
export const SendMessageRequestSchema = {
|
|
@@ -1215,11 +1293,15 @@ export const OrganizationSummaryViewResponseSchema = {
|
|
|
1215
1293
|
type: 'string',
|
|
1216
1294
|
enum: ['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE'],
|
|
1217
1295
|
},
|
|
1296
|
+
isPhoneVerified: {
|
|
1297
|
+
type: 'boolean',
|
|
1298
|
+
},
|
|
1218
1299
|
},
|
|
1219
1300
|
required: [
|
|
1220
1301
|
'agencyId',
|
|
1221
1302
|
'agencyName',
|
|
1222
1303
|
'isOwner',
|
|
1304
|
+
'isPhoneVerified',
|
|
1223
1305
|
'memberId',
|
|
1224
1306
|
'permissions',
|
|
1225
1307
|
'roleName',
|
|
@@ -1257,6 +1339,407 @@ export const UserSummaryViewResponseSchema = {
|
|
|
1257
1339
|
},
|
|
1258
1340
|
required: ['email', 'firstName', 'lastName'],
|
|
1259
1341
|
};
|
|
1342
|
+
export const ExpiringAgreementSchema = {
|
|
1343
|
+
type: 'object',
|
|
1344
|
+
properties: {
|
|
1345
|
+
propertyId: {
|
|
1346
|
+
type: 'integer',
|
|
1347
|
+
format: 'int64',
|
|
1348
|
+
},
|
|
1349
|
+
externalId: {
|
|
1350
|
+
type: 'string',
|
|
1351
|
+
format: 'uuid',
|
|
1352
|
+
},
|
|
1353
|
+
title: {
|
|
1354
|
+
type: 'string',
|
|
1355
|
+
},
|
|
1356
|
+
expiresAt: {
|
|
1357
|
+
type: 'string',
|
|
1358
|
+
format: 'date',
|
|
1359
|
+
},
|
|
1360
|
+
},
|
|
1361
|
+
};
|
|
1362
|
+
export const ExpiringPlatformListingSchema = {
|
|
1363
|
+
type: 'object',
|
|
1364
|
+
properties: {
|
|
1365
|
+
platform: {
|
|
1366
|
+
type: 'string',
|
|
1367
|
+
},
|
|
1368
|
+
platformId: {
|
|
1369
|
+
type: 'integer',
|
|
1370
|
+
format: 'int64',
|
|
1371
|
+
},
|
|
1372
|
+
propertyTitle: {
|
|
1373
|
+
type: 'string',
|
|
1374
|
+
},
|
|
1375
|
+
expiresAt: {
|
|
1376
|
+
type: 'string',
|
|
1377
|
+
format: 'date',
|
|
1378
|
+
},
|
|
1379
|
+
},
|
|
1380
|
+
};
|
|
1381
|
+
export const ListingTypeAggSchema = {
|
|
1382
|
+
type: 'object',
|
|
1383
|
+
properties: {
|
|
1384
|
+
listingType: {
|
|
1385
|
+
type: 'string',
|
|
1386
|
+
},
|
|
1387
|
+
count: {
|
|
1388
|
+
type: 'integer',
|
|
1389
|
+
format: 'int64',
|
|
1390
|
+
},
|
|
1391
|
+
pipelineValue: {
|
|
1392
|
+
type: 'number',
|
|
1393
|
+
},
|
|
1394
|
+
estimatedCommission: {
|
|
1395
|
+
type: 'number',
|
|
1396
|
+
},
|
|
1397
|
+
},
|
|
1398
|
+
};
|
|
1399
|
+
export const PortfolioStatsSchema = {
|
|
1400
|
+
type: 'object',
|
|
1401
|
+
properties: {
|
|
1402
|
+
propertiesByState: {
|
|
1403
|
+
type: 'array',
|
|
1404
|
+
items: {
|
|
1405
|
+
$ref: '#/components/schemas/Slice',
|
|
1406
|
+
},
|
|
1407
|
+
},
|
|
1408
|
+
listings: {
|
|
1409
|
+
type: 'array',
|
|
1410
|
+
items: {
|
|
1411
|
+
$ref: '#/components/schemas/ListingTypeAgg',
|
|
1412
|
+
},
|
|
1413
|
+
},
|
|
1414
|
+
expiringAgreementsCount: {
|
|
1415
|
+
type: 'integer',
|
|
1416
|
+
format: 'int64',
|
|
1417
|
+
},
|
|
1418
|
+
expiringAgreements: {
|
|
1419
|
+
type: 'array',
|
|
1420
|
+
items: {
|
|
1421
|
+
$ref: '#/components/schemas/ExpiringAgreement',
|
|
1422
|
+
},
|
|
1423
|
+
},
|
|
1424
|
+
expiringPlatformCount: {
|
|
1425
|
+
type: 'integer',
|
|
1426
|
+
format: 'int64',
|
|
1427
|
+
},
|
|
1428
|
+
expiringPlatformListings: {
|
|
1429
|
+
type: 'array',
|
|
1430
|
+
items: {
|
|
1431
|
+
$ref: '#/components/schemas/ExpiringPlatformListing',
|
|
1432
|
+
},
|
|
1433
|
+
},
|
|
1434
|
+
},
|
|
1435
|
+
};
|
|
1436
|
+
export const SliceSchema = {
|
|
1437
|
+
type: 'object',
|
|
1438
|
+
properties: {
|
|
1439
|
+
key: {
|
|
1440
|
+
type: 'string',
|
|
1441
|
+
},
|
|
1442
|
+
count: {
|
|
1443
|
+
type: 'integer',
|
|
1444
|
+
format: 'int64',
|
|
1445
|
+
},
|
|
1446
|
+
},
|
|
1447
|
+
};
|
|
1448
|
+
export const StatsEnvelopePortfolioStatsSchema = {
|
|
1449
|
+
type: 'object',
|
|
1450
|
+
properties: {
|
|
1451
|
+
period: {
|
|
1452
|
+
type: 'string',
|
|
1453
|
+
},
|
|
1454
|
+
computedAt: {
|
|
1455
|
+
type: 'string',
|
|
1456
|
+
format: 'date-time',
|
|
1457
|
+
},
|
|
1458
|
+
data: {
|
|
1459
|
+
$ref: '#/components/schemas/PortfolioStats',
|
|
1460
|
+
},
|
|
1461
|
+
},
|
|
1462
|
+
};
|
|
1463
|
+
export const PipelineStatsSchema = {
|
|
1464
|
+
type: 'object',
|
|
1465
|
+
properties: {
|
|
1466
|
+
total: {
|
|
1467
|
+
type: 'integer',
|
|
1468
|
+
format: 'int64',
|
|
1469
|
+
},
|
|
1470
|
+
won: {
|
|
1471
|
+
type: 'integer',
|
|
1472
|
+
format: 'int64',
|
|
1473
|
+
},
|
|
1474
|
+
conversionRatePercent: {
|
|
1475
|
+
type: 'number',
|
|
1476
|
+
format: 'double',
|
|
1477
|
+
},
|
|
1478
|
+
unassigned: {
|
|
1479
|
+
type: 'integer',
|
|
1480
|
+
format: 'int64',
|
|
1481
|
+
},
|
|
1482
|
+
newContactsTrend: {
|
|
1483
|
+
type: 'array',
|
|
1484
|
+
items: {
|
|
1485
|
+
$ref: '#/components/schemas/TrendPoint',
|
|
1486
|
+
},
|
|
1487
|
+
},
|
|
1488
|
+
status: {
|
|
1489
|
+
type: 'array',
|
|
1490
|
+
items: {
|
|
1491
|
+
$ref: '#/components/schemas/Slice',
|
|
1492
|
+
},
|
|
1493
|
+
},
|
|
1494
|
+
sourceAttribution: {
|
|
1495
|
+
type: 'array',
|
|
1496
|
+
items: {
|
|
1497
|
+
$ref: '#/components/schemas/Slice',
|
|
1498
|
+
},
|
|
1499
|
+
},
|
|
1500
|
+
lostReasons: {
|
|
1501
|
+
type: 'array',
|
|
1502
|
+
items: {
|
|
1503
|
+
$ref: '#/components/schemas/Slice',
|
|
1504
|
+
},
|
|
1505
|
+
},
|
|
1506
|
+
},
|
|
1507
|
+
};
|
|
1508
|
+
export const StatsEnvelopePipelineStatsSchema = {
|
|
1509
|
+
type: 'object',
|
|
1510
|
+
properties: {
|
|
1511
|
+
period: {
|
|
1512
|
+
type: 'string',
|
|
1513
|
+
},
|
|
1514
|
+
computedAt: {
|
|
1515
|
+
type: 'string',
|
|
1516
|
+
format: 'date-time',
|
|
1517
|
+
},
|
|
1518
|
+
data: {
|
|
1519
|
+
$ref: '#/components/schemas/PipelineStats',
|
|
1520
|
+
},
|
|
1521
|
+
},
|
|
1522
|
+
};
|
|
1523
|
+
export const TrendPointSchema = {
|
|
1524
|
+
type: 'object',
|
|
1525
|
+
properties: {
|
|
1526
|
+
date: {
|
|
1527
|
+
type: 'string',
|
|
1528
|
+
format: 'date',
|
|
1529
|
+
},
|
|
1530
|
+
count: {
|
|
1531
|
+
type: 'integer',
|
|
1532
|
+
format: 'int64',
|
|
1533
|
+
},
|
|
1534
|
+
},
|
|
1535
|
+
};
|
|
1536
|
+
export const LeaderboardStatsSchema = {
|
|
1537
|
+
type: 'object',
|
|
1538
|
+
properties: {
|
|
1539
|
+
rows: {
|
|
1540
|
+
type: 'array',
|
|
1541
|
+
items: {
|
|
1542
|
+
$ref: '#/components/schemas/Row',
|
|
1543
|
+
},
|
|
1544
|
+
},
|
|
1545
|
+
},
|
|
1546
|
+
};
|
|
1547
|
+
export const RowSchema = {
|
|
1548
|
+
type: 'object',
|
|
1549
|
+
properties: {
|
|
1550
|
+
memberId: {
|
|
1551
|
+
type: 'string',
|
|
1552
|
+
format: 'uuid',
|
|
1553
|
+
},
|
|
1554
|
+
firstName: {
|
|
1555
|
+
type: 'string',
|
|
1556
|
+
},
|
|
1557
|
+
lastName: {
|
|
1558
|
+
type: 'string',
|
|
1559
|
+
},
|
|
1560
|
+
photo: {
|
|
1561
|
+
type: 'string',
|
|
1562
|
+
},
|
|
1563
|
+
contactsAssigned: {
|
|
1564
|
+
type: 'integer',
|
|
1565
|
+
format: 'int64',
|
|
1566
|
+
},
|
|
1567
|
+
converted: {
|
|
1568
|
+
type: 'integer',
|
|
1569
|
+
format: 'int64',
|
|
1570
|
+
},
|
|
1571
|
+
conversionRatePct: {
|
|
1572
|
+
type: 'number',
|
|
1573
|
+
format: 'double',
|
|
1574
|
+
},
|
|
1575
|
+
recommendationsSent: {
|
|
1576
|
+
type: 'integer',
|
|
1577
|
+
format: 'int64',
|
|
1578
|
+
},
|
|
1579
|
+
recommendationsRated: {
|
|
1580
|
+
type: 'integer',
|
|
1581
|
+
format: 'int64',
|
|
1582
|
+
},
|
|
1583
|
+
likeRatePct: {
|
|
1584
|
+
type: 'number',
|
|
1585
|
+
format: 'double',
|
|
1586
|
+
},
|
|
1587
|
+
},
|
|
1588
|
+
};
|
|
1589
|
+
export const StatsEnvelopeLeaderboardStatsSchema = {
|
|
1590
|
+
type: 'object',
|
|
1591
|
+
properties: {
|
|
1592
|
+
period: {
|
|
1593
|
+
type: 'string',
|
|
1594
|
+
},
|
|
1595
|
+
computedAt: {
|
|
1596
|
+
type: 'string',
|
|
1597
|
+
format: 'date-time',
|
|
1598
|
+
},
|
|
1599
|
+
data: {
|
|
1600
|
+
$ref: '#/components/schemas/LeaderboardStats',
|
|
1601
|
+
},
|
|
1602
|
+
},
|
|
1603
|
+
};
|
|
1604
|
+
export const AwaitingConversationSchema = {
|
|
1605
|
+
type: 'object',
|
|
1606
|
+
properties: {
|
|
1607
|
+
conversationId: {
|
|
1608
|
+
type: 'string',
|
|
1609
|
+
format: 'uuid',
|
|
1610
|
+
},
|
|
1611
|
+
contactId: {
|
|
1612
|
+
type: 'integer',
|
|
1613
|
+
format: 'int64',
|
|
1614
|
+
},
|
|
1615
|
+
channelType: {
|
|
1616
|
+
type: 'string',
|
|
1617
|
+
},
|
|
1618
|
+
lastMessagePreview: {
|
|
1619
|
+
type: 'string',
|
|
1620
|
+
},
|
|
1621
|
+
lastInboundAt: {
|
|
1622
|
+
type: 'string',
|
|
1623
|
+
format: 'date-time',
|
|
1624
|
+
},
|
|
1625
|
+
unreadCount: {
|
|
1626
|
+
type: 'integer',
|
|
1627
|
+
format: 'int32',
|
|
1628
|
+
},
|
|
1629
|
+
},
|
|
1630
|
+
};
|
|
1631
|
+
export const InboxStatsSchema = {
|
|
1632
|
+
type: 'object',
|
|
1633
|
+
properties: {
|
|
1634
|
+
openConversations: {
|
|
1635
|
+
type: 'integer',
|
|
1636
|
+
format: 'int64',
|
|
1637
|
+
},
|
|
1638
|
+
unreadMessages: {
|
|
1639
|
+
type: 'integer',
|
|
1640
|
+
format: 'int64',
|
|
1641
|
+
},
|
|
1642
|
+
awaitingReplyCount: {
|
|
1643
|
+
type: 'integer',
|
|
1644
|
+
format: 'int64',
|
|
1645
|
+
},
|
|
1646
|
+
awaitingReply: {
|
|
1647
|
+
type: 'array',
|
|
1648
|
+
items: {
|
|
1649
|
+
$ref: '#/components/schemas/AwaitingConversation',
|
|
1650
|
+
},
|
|
1651
|
+
},
|
|
1652
|
+
medianResponseSeconds: {
|
|
1653
|
+
type: 'integer',
|
|
1654
|
+
format: 'int64',
|
|
1655
|
+
},
|
|
1656
|
+
inboundByChannel: {
|
|
1657
|
+
type: 'array',
|
|
1658
|
+
items: {
|
|
1659
|
+
$ref: '#/components/schemas/Slice',
|
|
1660
|
+
},
|
|
1661
|
+
},
|
|
1662
|
+
},
|
|
1663
|
+
};
|
|
1664
|
+
export const StatsEnvelopeInboxStatsSchema = {
|
|
1665
|
+
type: 'object',
|
|
1666
|
+
properties: {
|
|
1667
|
+
period: {
|
|
1668
|
+
type: 'string',
|
|
1669
|
+
},
|
|
1670
|
+
computedAt: {
|
|
1671
|
+
type: 'string',
|
|
1672
|
+
format: 'date-time',
|
|
1673
|
+
},
|
|
1674
|
+
data: {
|
|
1675
|
+
$ref: '#/components/schemas/InboxStats',
|
|
1676
|
+
},
|
|
1677
|
+
},
|
|
1678
|
+
};
|
|
1679
|
+
export const DemandStatsSchema = {
|
|
1680
|
+
type: 'object',
|
|
1681
|
+
properties: {
|
|
1682
|
+
activeInterests: {
|
|
1683
|
+
type: 'integer',
|
|
1684
|
+
format: 'int64',
|
|
1685
|
+
},
|
|
1686
|
+
byListingType: {
|
|
1687
|
+
type: 'array',
|
|
1688
|
+
items: {
|
|
1689
|
+
$ref: '#/components/schemas/Slice',
|
|
1690
|
+
},
|
|
1691
|
+
},
|
|
1692
|
+
byPropertyType: {
|
|
1693
|
+
type: 'array',
|
|
1694
|
+
items: {
|
|
1695
|
+
$ref: '#/components/schemas/Slice',
|
|
1696
|
+
},
|
|
1697
|
+
},
|
|
1698
|
+
budgetBuckets: {
|
|
1699
|
+
type: 'array',
|
|
1700
|
+
items: {
|
|
1701
|
+
$ref: '#/components/schemas/Slice',
|
|
1702
|
+
},
|
|
1703
|
+
},
|
|
1704
|
+
topDistricts: {
|
|
1705
|
+
type: 'array',
|
|
1706
|
+
items: {
|
|
1707
|
+
$ref: '#/components/schemas/DistrictDemand',
|
|
1708
|
+
},
|
|
1709
|
+
},
|
|
1710
|
+
},
|
|
1711
|
+
};
|
|
1712
|
+
export const DistrictDemandSchema = {
|
|
1713
|
+
type: 'object',
|
|
1714
|
+
properties: {
|
|
1715
|
+
districtId: {
|
|
1716
|
+
type: 'integer',
|
|
1717
|
+
format: 'int64',
|
|
1718
|
+
},
|
|
1719
|
+
name: {
|
|
1720
|
+
type: 'string',
|
|
1721
|
+
},
|
|
1722
|
+
count: {
|
|
1723
|
+
type: 'integer',
|
|
1724
|
+
format: 'int64',
|
|
1725
|
+
},
|
|
1726
|
+
},
|
|
1727
|
+
};
|
|
1728
|
+
export const StatsEnvelopeDemandStatsSchema = {
|
|
1729
|
+
type: 'object',
|
|
1730
|
+
properties: {
|
|
1731
|
+
period: {
|
|
1732
|
+
type: 'string',
|
|
1733
|
+
},
|
|
1734
|
+
computedAt: {
|
|
1735
|
+
type: 'string',
|
|
1736
|
+
format: 'date-time',
|
|
1737
|
+
},
|
|
1738
|
+
data: {
|
|
1739
|
+
$ref: '#/components/schemas/DemandStats',
|
|
1740
|
+
},
|
|
1741
|
+
},
|
|
1742
|
+
};
|
|
1260
1743
|
export const PageMetadataSchema = {
|
|
1261
1744
|
type: 'object',
|
|
1262
1745
|
properties: {
|
|
@@ -1876,53 +2359,6 @@ export const WhitelabelResponseSchema = {
|
|
|
1876
2359
|
},
|
|
1877
2360
|
required: ['members', 'name', 'stats', 'theme'],
|
|
1878
2361
|
};
|
|
1879
|
-
export const OauthConnectionResponseSchema = {
|
|
1880
|
-
type: 'object',
|
|
1881
|
-
properties: {
|
|
1882
|
-
agencyId: {
|
|
1883
|
-
type: 'string',
|
|
1884
|
-
format: 'uuid',
|
|
1885
|
-
},
|
|
1886
|
-
userId: {
|
|
1887
|
-
type: 'string',
|
|
1888
|
-
format: 'uuid',
|
|
1889
|
-
},
|
|
1890
|
-
provider: {
|
|
1891
|
-
type: 'string',
|
|
1892
|
-
enum: ['FACEBOOK', 'INSTAGRAM', 'WHATSAPP'],
|
|
1893
|
-
},
|
|
1894
|
-
status: {
|
|
1895
|
-
type: 'string',
|
|
1896
|
-
enum: ['ACTIVE', 'REVOKED'],
|
|
1897
|
-
},
|
|
1898
|
-
pagePicture: {
|
|
1899
|
-
type: 'string',
|
|
1900
|
-
},
|
|
1901
|
-
pageName: {
|
|
1902
|
-
type: 'string',
|
|
1903
|
-
},
|
|
1904
|
-
createdAt: {
|
|
1905
|
-
type: 'string',
|
|
1906
|
-
format: 'date-time',
|
|
1907
|
-
},
|
|
1908
|
-
updatedAt: {
|
|
1909
|
-
type: 'string',
|
|
1910
|
-
format: 'date-time',
|
|
1911
|
-
},
|
|
1912
|
-
revokedAt: {
|
|
1913
|
-
type: 'string',
|
|
1914
|
-
format: 'date-time',
|
|
1915
|
-
},
|
|
1916
|
-
},
|
|
1917
|
-
required: [
|
|
1918
|
-
'agencyId',
|
|
1919
|
-
'createdAt',
|
|
1920
|
-
'provider',
|
|
1921
|
-
'status',
|
|
1922
|
-
'updatedAt',
|
|
1923
|
-
'userId',
|
|
1924
|
-
],
|
|
1925
|
-
};
|
|
1926
2362
|
export const ContactAssignedSchema = {
|
|
1927
2363
|
properties: {
|
|
1928
2364
|
contactId: {
|