@homespot-sdk/core 0.0.357 → 0.0.359
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/index.d.ts +2 -2
- package/dist/property/index.d.ts.map +1 -1
- package/dist/property/index.js +1 -1
- package/dist/property/index.js.map +1 -1
- package/dist/property/schemas.gen.d.ts +92 -0
- package/dist/property/schemas.gen.d.ts.map +1 -1
- package/dist/property/schemas.gen.js +99 -0
- package/dist/property/schemas.gen.js.map +1 -1
- package/dist/property/sdk.gen.d.ts +6 -2
- package/dist/property/sdk.gen.d.ts.map +1 -1
- package/dist/property/sdk.gen.js +34 -2
- package/dist/property/sdk.gen.js.map +1 -1
- package/dist/property/transformers.gen.d.ts +5 -1
- package/dist/property/transformers.gen.d.ts.map +1 -1
- package/dist/property/transformers.gen.js +40 -0
- package/dist/property/transformers.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +86 -0
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +271 -6
- package/dist/property/zod.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.js +98 -0
- package/dist/property/zod.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 +655 -219
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +718 -221
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +14 -12
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +40 -5
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +6 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +76 -0
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +361 -126
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +1110 -204
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +521 -114
- package/dist/rem/zod.gen.js.map +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/schemas.gen.d.ts +72 -0
- package/dist/utils/schemas.gen.d.ts.map +1 -1
- package/dist/utils/schemas.gen.js +72 -0
- package/dist/utils/schemas.gen.js.map +1 -1
- package/dist/utils/sdk.gen.d.ts +10 -1
- package/dist/utils/sdk.gen.d.ts.map +1 -1
- package/dist/utils/sdk.gen.js +9 -0
- package/dist/utils/sdk.gen.js.map +1 -1
- package/dist/utils/types.gen.d.ts +73 -0
- package/dist/utils/types.gen.d.ts.map +1 -1
- package/dist/utils/zod.gen.d.ts +157 -0
- package/dist/utils/zod.gen.d.ts.map +1 -1
- package/dist/utils/zod.gen.js +122 -0
- package/dist/utils/zod.gen.js.map +1 -1
- package/package.json +1 -1
|
@@ -883,16 +883,20 @@ export declare const SubscribeRequestSchema: {
|
|
|
883
883
|
};
|
|
884
884
|
readonly name: {
|
|
885
885
|
readonly type: "string";
|
|
886
|
+
readonly minLength: 1;
|
|
886
887
|
};
|
|
887
888
|
readonly email: {
|
|
888
889
|
readonly type: "string";
|
|
889
890
|
readonly format: "email";
|
|
891
|
+
readonly minLength: 1;
|
|
890
892
|
};
|
|
891
893
|
readonly phone: {
|
|
892
894
|
readonly type: "string";
|
|
895
|
+
readonly minLength: 1;
|
|
893
896
|
};
|
|
894
897
|
readonly subdomain: {
|
|
895
898
|
readonly type: "string";
|
|
899
|
+
readonly minLength: 1;
|
|
896
900
|
};
|
|
897
901
|
readonly address: {
|
|
898
902
|
readonly $ref: "#/components/schemas/SubscriptionAddressRequest";
|
|
@@ -952,183 +956,6 @@ export declare const SubscriptionCheckoutResponseSchema: {
|
|
|
952
956
|
};
|
|
953
957
|
};
|
|
954
958
|
};
|
|
955
|
-
export declare const ProblemDetailSchema: {
|
|
956
|
-
readonly type: "object";
|
|
957
|
-
readonly properties: {
|
|
958
|
-
readonly type: {
|
|
959
|
-
readonly type: "string";
|
|
960
|
-
readonly format: "uri";
|
|
961
|
-
};
|
|
962
|
-
readonly title: {
|
|
963
|
-
readonly type: "string";
|
|
964
|
-
};
|
|
965
|
-
readonly status: {
|
|
966
|
-
readonly type: "integer";
|
|
967
|
-
readonly format: "int32";
|
|
968
|
-
};
|
|
969
|
-
readonly detail: {
|
|
970
|
-
readonly type: "string";
|
|
971
|
-
};
|
|
972
|
-
readonly instance: {
|
|
973
|
-
readonly type: "string";
|
|
974
|
-
readonly format: "uri";
|
|
975
|
-
};
|
|
976
|
-
readonly properties: {
|
|
977
|
-
readonly type: "object";
|
|
978
|
-
readonly additionalProperties: {};
|
|
979
|
-
};
|
|
980
|
-
};
|
|
981
|
-
};
|
|
982
|
-
export declare const AgencyRegistrationConflictResponseSchema: {
|
|
983
|
-
readonly type: "object";
|
|
984
|
-
readonly properties: {
|
|
985
|
-
readonly type: {
|
|
986
|
-
readonly type: "string";
|
|
987
|
-
readonly format: "uri";
|
|
988
|
-
};
|
|
989
|
-
readonly title: {
|
|
990
|
-
readonly type: "string";
|
|
991
|
-
};
|
|
992
|
-
readonly status: {
|
|
993
|
-
readonly type: "integer";
|
|
994
|
-
readonly format: "int32";
|
|
995
|
-
};
|
|
996
|
-
readonly detail: {
|
|
997
|
-
readonly type: "string";
|
|
998
|
-
};
|
|
999
|
-
readonly instance: {
|
|
1000
|
-
readonly type: "string";
|
|
1001
|
-
readonly format: "uri";
|
|
1002
|
-
};
|
|
1003
|
-
readonly conflicts: {
|
|
1004
|
-
readonly type: "array";
|
|
1005
|
-
readonly description: "All detected conflicts: NAME is taken, SUBDOMAIN is taken, or OWNER already owns an agency. A retry of the owner's NEW agency is allowed.";
|
|
1006
|
-
readonly items: {
|
|
1007
|
-
readonly type: "string";
|
|
1008
|
-
readonly enum: readonly ["OWNER", "NAME", "SUBDOMAIN"];
|
|
1009
|
-
};
|
|
1010
|
-
readonly uniqueItems: true;
|
|
1011
|
-
};
|
|
1012
|
-
readonly code: {
|
|
1013
|
-
readonly type: "string";
|
|
1014
|
-
readonly enum: readonly ["AGENCY_REGISTRATION_CONFLICT"];
|
|
1015
|
-
};
|
|
1016
|
-
};
|
|
1017
|
-
readonly required: readonly ["code", "conflicts", "detail", "instance", "status", "title", "type"];
|
|
1018
|
-
};
|
|
1019
|
-
export declare const ConcurrentModificationResponseSchema: {
|
|
1020
|
-
readonly type: "object";
|
|
1021
|
-
readonly properties: {
|
|
1022
|
-
readonly type: {
|
|
1023
|
-
readonly type: "string";
|
|
1024
|
-
readonly format: "uri";
|
|
1025
|
-
};
|
|
1026
|
-
readonly title: {
|
|
1027
|
-
readonly type: "string";
|
|
1028
|
-
};
|
|
1029
|
-
readonly status: {
|
|
1030
|
-
readonly type: "integer";
|
|
1031
|
-
readonly format: "int32";
|
|
1032
|
-
};
|
|
1033
|
-
readonly detail: {
|
|
1034
|
-
readonly type: "string";
|
|
1035
|
-
};
|
|
1036
|
-
readonly instance: {
|
|
1037
|
-
readonly type: "string";
|
|
1038
|
-
readonly format: "uri";
|
|
1039
|
-
};
|
|
1040
|
-
readonly code: {
|
|
1041
|
-
readonly type: "string";
|
|
1042
|
-
readonly enum: readonly ["CONCURRENT_MODIFICATION"];
|
|
1043
|
-
};
|
|
1044
|
-
};
|
|
1045
|
-
readonly required: readonly ["code", "detail", "instance", "status", "title", "type"];
|
|
1046
|
-
};
|
|
1047
|
-
export declare const DataIntegrityConflictResponseSchema: {
|
|
1048
|
-
readonly type: "object";
|
|
1049
|
-
readonly properties: {
|
|
1050
|
-
readonly type: {
|
|
1051
|
-
readonly type: "string";
|
|
1052
|
-
readonly format: "uri";
|
|
1053
|
-
};
|
|
1054
|
-
readonly title: {
|
|
1055
|
-
readonly type: "string";
|
|
1056
|
-
};
|
|
1057
|
-
readonly status: {
|
|
1058
|
-
readonly type: "integer";
|
|
1059
|
-
readonly format: "int32";
|
|
1060
|
-
};
|
|
1061
|
-
readonly detail: {
|
|
1062
|
-
readonly type: "string";
|
|
1063
|
-
};
|
|
1064
|
-
readonly instance: {
|
|
1065
|
-
readonly type: "string";
|
|
1066
|
-
readonly format: "uri";
|
|
1067
|
-
};
|
|
1068
|
-
readonly code: {
|
|
1069
|
-
readonly type: "string";
|
|
1070
|
-
readonly enum: readonly ["DATA_INTEGRITY_CONFLICT"];
|
|
1071
|
-
};
|
|
1072
|
-
};
|
|
1073
|
-
readonly required: readonly ["code", "detail", "instance", "status", "title", "type"];
|
|
1074
|
-
};
|
|
1075
|
-
export declare const SubscriptionConflictResponseSchema: {
|
|
1076
|
-
readonly discriminator: {
|
|
1077
|
-
readonly propertyName: "code";
|
|
1078
|
-
readonly mapping: {
|
|
1079
|
-
readonly AGENCY_REGISTRATION_CONFLICT: "#/components/schemas/AgencyRegistrationConflictResponse";
|
|
1080
|
-
readonly SUBSCRIPTION_STATE_CONFLICT: "#/components/schemas/SubscriptionStateConflictResponse";
|
|
1081
|
-
readonly CONCURRENT_MODIFICATION: "#/components/schemas/ConcurrentModificationResponse";
|
|
1082
|
-
readonly DATA_INTEGRITY_CONFLICT: "#/components/schemas/DataIntegrityConflictResponse";
|
|
1083
|
-
};
|
|
1084
|
-
};
|
|
1085
|
-
readonly oneOf: readonly [{
|
|
1086
|
-
readonly $ref: "#/components/schemas/AgencyRegistrationConflictResponse";
|
|
1087
|
-
}, {
|
|
1088
|
-
readonly $ref: "#/components/schemas/SubscriptionStateConflictResponse";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly $ref: "#/components/schemas/ConcurrentModificationResponse";
|
|
1091
|
-
}, {
|
|
1092
|
-
readonly $ref: "#/components/schemas/DataIntegrityConflictResponse";
|
|
1093
|
-
}];
|
|
1094
|
-
};
|
|
1095
|
-
export declare const SubscriptionStateConflictResponseSchema: {
|
|
1096
|
-
readonly type: "object";
|
|
1097
|
-
readonly properties: {
|
|
1098
|
-
readonly type: {
|
|
1099
|
-
readonly type: "string";
|
|
1100
|
-
readonly format: "uri";
|
|
1101
|
-
};
|
|
1102
|
-
readonly title: {
|
|
1103
|
-
readonly type: "string";
|
|
1104
|
-
};
|
|
1105
|
-
readonly status: {
|
|
1106
|
-
readonly type: "integer";
|
|
1107
|
-
readonly format: "int32";
|
|
1108
|
-
};
|
|
1109
|
-
readonly detail: {
|
|
1110
|
-
readonly type: "string";
|
|
1111
|
-
};
|
|
1112
|
-
readonly instance: {
|
|
1113
|
-
readonly type: "string";
|
|
1114
|
-
readonly format: "uri";
|
|
1115
|
-
};
|
|
1116
|
-
readonly subscriptionId: {
|
|
1117
|
-
readonly type: "string";
|
|
1118
|
-
readonly format: "uuid";
|
|
1119
|
-
};
|
|
1120
|
-
readonly subscriptionStatus: {
|
|
1121
|
-
readonly type: "string";
|
|
1122
|
-
readonly description: "Subscription lifecycle status. The standard problem status field remains the HTTP status code.";
|
|
1123
|
-
readonly enum: readonly ["PENDING", "TRIALING", "ACTIVE", "PAST_DUE", "CANCELLED", "EXPIRED", "SUPERSEDED"];
|
|
1124
|
-
};
|
|
1125
|
-
readonly code: {
|
|
1126
|
-
readonly type: "string";
|
|
1127
|
-
readonly enum: readonly ["SUBSCRIPTION_STATE_CONFLICT"];
|
|
1128
|
-
};
|
|
1129
|
-
};
|
|
1130
|
-
readonly required: readonly ["code", "detail", "instance", "status", "subscriptionId", "subscriptionStatus", "title", "type"];
|
|
1131
|
-
};
|
|
1132
959
|
export declare const ChangePlanRequestSchema: {
|
|
1133
960
|
readonly type: "object";
|
|
1134
961
|
readonly properties: {
|
|
@@ -1148,12 +975,10 @@ export declare const CheckoutRequestSchema: {
|
|
|
1148
975
|
readonly properties: {
|
|
1149
976
|
readonly plan: {
|
|
1150
977
|
readonly type: "string";
|
|
1151
|
-
readonly description: "Required only when starting a new subscription";
|
|
1152
978
|
readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
|
|
1153
979
|
};
|
|
1154
980
|
readonly billingCycle: {
|
|
1155
981
|
readonly type: "string";
|
|
1156
|
-
readonly description: "Required only when starting a new subscription";
|
|
1157
982
|
readonly enum: readonly ["MONTHLY", "ANNUAL"];
|
|
1158
983
|
};
|
|
1159
984
|
};
|
|
@@ -1266,8 +1091,25 @@ export declare const OauthConnectionResponseSchema: {
|
|
|
1266
1091
|
readonly type: "string";
|
|
1267
1092
|
readonly format: "date-time";
|
|
1268
1093
|
};
|
|
1094
|
+
readonly canPublish: {
|
|
1095
|
+
readonly type: "boolean";
|
|
1096
|
+
};
|
|
1097
|
+
readonly canReadComments: {
|
|
1098
|
+
readonly type: "boolean";
|
|
1099
|
+
};
|
|
1100
|
+
readonly canReply: {
|
|
1101
|
+
readonly type: "boolean";
|
|
1102
|
+
};
|
|
1103
|
+
readonly canReadStats: {
|
|
1104
|
+
readonly type: "boolean";
|
|
1105
|
+
readonly description: "Like and comment counts on a post";
|
|
1106
|
+
};
|
|
1107
|
+
readonly reconnectRequired: {
|
|
1108
|
+
readonly type: "boolean";
|
|
1109
|
+
readonly description: "The token is dead, or the grant lacks a scope the connect flow asks for — re-running the connect flow is what fixes it";
|
|
1110
|
+
};
|
|
1269
1111
|
};
|
|
1270
|
-
readonly required: readonly ["agencyId", "createdAt", "provider", "status", "updatedAt", "userId"];
|
|
1112
|
+
readonly required: readonly ["agencyId", "canPublish", "canReadComments", "canReadStats", "canReply", "createdAt", "provider", "reconnectRequired", "status", "updatedAt", "userId"];
|
|
1271
1113
|
};
|
|
1272
1114
|
export declare const AttendeeRequestSchema: {
|
|
1273
1115
|
readonly type: "object";
|
|
@@ -1462,6 +1304,33 @@ export declare const SendMessageRequestSchema: {
|
|
|
1462
1304
|
};
|
|
1463
1305
|
readonly required: readonly ["text"];
|
|
1464
1306
|
};
|
|
1307
|
+
export declare const ProblemDetailSchema: {
|
|
1308
|
+
readonly type: "object";
|
|
1309
|
+
readonly properties: {
|
|
1310
|
+
readonly type: {
|
|
1311
|
+
readonly type: "string";
|
|
1312
|
+
readonly format: "uri";
|
|
1313
|
+
};
|
|
1314
|
+
readonly title: {
|
|
1315
|
+
readonly type: "string";
|
|
1316
|
+
};
|
|
1317
|
+
readonly status: {
|
|
1318
|
+
readonly type: "integer";
|
|
1319
|
+
readonly format: "int32";
|
|
1320
|
+
};
|
|
1321
|
+
readonly detail: {
|
|
1322
|
+
readonly type: "string";
|
|
1323
|
+
};
|
|
1324
|
+
readonly instance: {
|
|
1325
|
+
readonly type: "string";
|
|
1326
|
+
readonly format: "uri";
|
|
1327
|
+
};
|
|
1328
|
+
readonly properties: {
|
|
1329
|
+
readonly type: "object";
|
|
1330
|
+
readonly additionalProperties: {};
|
|
1331
|
+
};
|
|
1332
|
+
};
|
|
1333
|
+
};
|
|
1465
1334
|
export declare const StartPropertyRegistrationRequestSchema: {
|
|
1466
1335
|
readonly type: "object";
|
|
1467
1336
|
readonly properties: {
|
|
@@ -1610,6 +1479,156 @@ export declare const PercentageSchema: {
|
|
|
1610
1479
|
}];
|
|
1611
1480
|
readonly required: readonly ["rate"];
|
|
1612
1481
|
};
|
|
1482
|
+
export declare const FocusRequestSchema: {
|
|
1483
|
+
readonly type: "object";
|
|
1484
|
+
readonly properties: {
|
|
1485
|
+
readonly x: {
|
|
1486
|
+
readonly type: "number";
|
|
1487
|
+
readonly format: "double";
|
|
1488
|
+
};
|
|
1489
|
+
readonly y: {
|
|
1490
|
+
readonly type: "number";
|
|
1491
|
+
readonly format: "double";
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1494
|
+
readonly required: readonly ["x", "y"];
|
|
1495
|
+
};
|
|
1496
|
+
export declare const PhotoSchema: {
|
|
1497
|
+
readonly type: "object";
|
|
1498
|
+
readonly properties: {
|
|
1499
|
+
readonly photoId: {
|
|
1500
|
+
readonly type: "integer";
|
|
1501
|
+
readonly format: "int64";
|
|
1502
|
+
};
|
|
1503
|
+
readonly mode: {
|
|
1504
|
+
readonly type: "string";
|
|
1505
|
+
readonly enum: readonly ["AUTO", "CROP", "FIT"];
|
|
1506
|
+
};
|
|
1507
|
+
readonly focus: {
|
|
1508
|
+
readonly $ref: "#/components/schemas/FocusRequest";
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
readonly required: readonly ["photoId"];
|
|
1512
|
+
};
|
|
1513
|
+
export declare const PublishSocialPostRequestSchema: {
|
|
1514
|
+
readonly type: "object";
|
|
1515
|
+
readonly properties: {
|
|
1516
|
+
readonly channel: {
|
|
1517
|
+
readonly type: "string";
|
|
1518
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
1519
|
+
};
|
|
1520
|
+
readonly caption: {
|
|
1521
|
+
readonly type: "string";
|
|
1522
|
+
};
|
|
1523
|
+
readonly ratio: {
|
|
1524
|
+
readonly type: "string";
|
|
1525
|
+
readonly description: "Instagram only; defaults to LANDSCAPE";
|
|
1526
|
+
readonly enum: readonly ["LANDSCAPE", "SQUARE", "PORTRAIT"];
|
|
1527
|
+
};
|
|
1528
|
+
readonly photos: {
|
|
1529
|
+
readonly type: "array";
|
|
1530
|
+
readonly description: "In post order";
|
|
1531
|
+
readonly items: {
|
|
1532
|
+
readonly $ref: "#/components/schemas/Photo";
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
readonly templateId: {
|
|
1536
|
+
readonly type: "string";
|
|
1537
|
+
readonly format: "uuid";
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
readonly required: readonly ["caption", "channel", "photos"];
|
|
1541
|
+
};
|
|
1542
|
+
export declare const FocusViewSchema: {
|
|
1543
|
+
readonly type: "object";
|
|
1544
|
+
readonly properties: {
|
|
1545
|
+
readonly x: {
|
|
1546
|
+
readonly type: "number";
|
|
1547
|
+
readonly format: "double";
|
|
1548
|
+
};
|
|
1549
|
+
readonly y: {
|
|
1550
|
+
readonly type: "number";
|
|
1551
|
+
readonly format: "double";
|
|
1552
|
+
};
|
|
1553
|
+
};
|
|
1554
|
+
readonly required: readonly ["x", "y"];
|
|
1555
|
+
};
|
|
1556
|
+
export declare const PhotoViewSchema: {
|
|
1557
|
+
readonly type: "object";
|
|
1558
|
+
readonly properties: {
|
|
1559
|
+
readonly photoId: {
|
|
1560
|
+
readonly type: "integer";
|
|
1561
|
+
readonly format: "int64";
|
|
1562
|
+
};
|
|
1563
|
+
readonly mode: {
|
|
1564
|
+
readonly type: "string";
|
|
1565
|
+
readonly enum: readonly ["AUTO", "CROP", "FIT"];
|
|
1566
|
+
};
|
|
1567
|
+
readonly focus: {
|
|
1568
|
+
readonly $ref: "#/components/schemas/FocusView";
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
readonly required: readonly ["focus", "mode", "photoId"];
|
|
1572
|
+
};
|
|
1573
|
+
export declare const SocialPostViewSchema: {
|
|
1574
|
+
readonly type: "object";
|
|
1575
|
+
readonly properties: {
|
|
1576
|
+
readonly id: {
|
|
1577
|
+
readonly type: "string";
|
|
1578
|
+
readonly format: "uuid";
|
|
1579
|
+
};
|
|
1580
|
+
readonly channel: {
|
|
1581
|
+
readonly type: "string";
|
|
1582
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
1583
|
+
};
|
|
1584
|
+
readonly status: {
|
|
1585
|
+
readonly type: "string";
|
|
1586
|
+
readonly enum: readonly ["PUBLISHING", "PUBLISHED", "FAILED", "REMOVED"];
|
|
1587
|
+
};
|
|
1588
|
+
readonly caption: {
|
|
1589
|
+
readonly type: "string";
|
|
1590
|
+
};
|
|
1591
|
+
readonly ratio: {
|
|
1592
|
+
readonly type: "string";
|
|
1593
|
+
readonly description: "Instagram only";
|
|
1594
|
+
readonly enum: readonly ["LANDSCAPE", "SQUARE", "PORTRAIT"];
|
|
1595
|
+
};
|
|
1596
|
+
readonly photos: {
|
|
1597
|
+
readonly type: "array";
|
|
1598
|
+
readonly items: {
|
|
1599
|
+
readonly $ref: "#/components/schemas/PhotoView";
|
|
1600
|
+
};
|
|
1601
|
+
};
|
|
1602
|
+
readonly templateId: {
|
|
1603
|
+
readonly type: "string";
|
|
1604
|
+
readonly format: "uuid";
|
|
1605
|
+
};
|
|
1606
|
+
readonly failureReason: {
|
|
1607
|
+
readonly type: "string";
|
|
1608
|
+
readonly enum: readonly ["RECONNECT_REQUIRED", "PERMISSION_MISSING", "PAGE_PUBLISHING_AUTHORIZATION", "RATE_LIMITED", "BAD_MEDIA", "UNCONFIRMED", "UNKNOWN"];
|
|
1609
|
+
};
|
|
1610
|
+
readonly failureDetail: {
|
|
1611
|
+
readonly type: "string";
|
|
1612
|
+
};
|
|
1613
|
+
readonly permalink: {
|
|
1614
|
+
readonly type: "string";
|
|
1615
|
+
readonly description: "The post on Facebook / Instagram, once published";
|
|
1616
|
+
};
|
|
1617
|
+
readonly publishedAt: {
|
|
1618
|
+
readonly type: "string";
|
|
1619
|
+
readonly format: "date-time";
|
|
1620
|
+
};
|
|
1621
|
+
readonly createdBy: {
|
|
1622
|
+
readonly type: "string";
|
|
1623
|
+
readonly format: "uuid";
|
|
1624
|
+
};
|
|
1625
|
+
readonly createdAt: {
|
|
1626
|
+
readonly type: "string";
|
|
1627
|
+
readonly format: "date-time";
|
|
1628
|
+
};
|
|
1629
|
+
};
|
|
1630
|
+
readonly required: readonly ["caption", "channel", "createdAt", "createdBy", "id", "photos", "status"];
|
|
1631
|
+
};
|
|
1613
1632
|
export declare const CloseListingRequestSchema: {
|
|
1614
1633
|
readonly type: "object";
|
|
1615
1634
|
readonly properties: {
|
|
@@ -1679,6 +1698,20 @@ export declare const IdResponseLongSchema: {
|
|
|
1679
1698
|
};
|
|
1680
1699
|
readonly required: readonly ["id"];
|
|
1681
1700
|
};
|
|
1701
|
+
export declare const ExternalListingWithdrawRequestSchema: {
|
|
1702
|
+
readonly type: "object";
|
|
1703
|
+
readonly properties: {
|
|
1704
|
+
readonly platform: {
|
|
1705
|
+
readonly type: "string";
|
|
1706
|
+
readonly enum: readonly ["SS", "MY_HOME"];
|
|
1707
|
+
};
|
|
1708
|
+
readonly listingId: {
|
|
1709
|
+
readonly type: "integer";
|
|
1710
|
+
readonly format: "int64";
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1713
|
+
readonly required: readonly ["listingId", "platform"];
|
|
1714
|
+
};
|
|
1682
1715
|
export declare const ExternalListingPublishRequestSchema: {
|
|
1683
1716
|
readonly type: "object";
|
|
1684
1717
|
readonly properties: {
|
|
@@ -2724,47 +2757,184 @@ export declare const TaskContentInterestSchema: {
|
|
|
2724
2757
|
};
|
|
2725
2758
|
};
|
|
2726
2759
|
};
|
|
2727
|
-
}];
|
|
2728
|
-
readonly required: readonly ["id", "listingType", "propertyTypes"];
|
|
2729
|
-
};
|
|
2730
|
-
export declare const TaskContentPropertySchema: {
|
|
2731
|
-
readonly allOf: readonly [{
|
|
2732
|
-
readonly $ref: "#/components/schemas/TaskContent";
|
|
2733
|
-
}, {
|
|
2734
|
-
readonly type: "object";
|
|
2735
|
-
readonly properties: {
|
|
2736
|
-
readonly id: {
|
|
2737
|
-
readonly type: "integer";
|
|
2738
|
-
readonly format: "int64";
|
|
2739
|
-
};
|
|
2740
|
-
readonly photo: {
|
|
2741
|
-
readonly type: "string";
|
|
2742
|
-
};
|
|
2743
|
-
readonly title: {
|
|
2744
|
-
readonly type: "string";
|
|
2745
|
-
};
|
|
2746
|
-
readonly type: {
|
|
2747
|
-
readonly type: "string";
|
|
2748
|
-
readonly enum: readonly ["HOUSE", "TOWN_HOUSE", "COUNTRY_HOUSE", "VILLA", "COTTAGE", "APARTMENT", "DUPLEX", "TRIPLEX", "SEMI_BASEMENT", "ATTIC", "AGRICULTURAL_LAND", "RESIDENTIAL_LAND", "HOTEL_ROOM", "MOTEL_ROOM", "CO_LIVING_SPACE", "OFFICE", "COMMERCIAL_SPACE", "CO_WORKING_SPACE", "WAREHOUSE", "GARAGE"];
|
|
2749
|
-
};
|
|
2760
|
+
}];
|
|
2761
|
+
readonly required: readonly ["id", "listingType", "propertyTypes"];
|
|
2762
|
+
};
|
|
2763
|
+
export declare const TaskContentPropertySchema: {
|
|
2764
|
+
readonly allOf: readonly [{
|
|
2765
|
+
readonly $ref: "#/components/schemas/TaskContent";
|
|
2766
|
+
}, {
|
|
2767
|
+
readonly type: "object";
|
|
2768
|
+
readonly properties: {
|
|
2769
|
+
readonly id: {
|
|
2770
|
+
readonly type: "integer";
|
|
2771
|
+
readonly format: "int64";
|
|
2772
|
+
};
|
|
2773
|
+
readonly photo: {
|
|
2774
|
+
readonly type: "string";
|
|
2775
|
+
};
|
|
2776
|
+
readonly title: {
|
|
2777
|
+
readonly type: "string";
|
|
2778
|
+
};
|
|
2779
|
+
readonly type: {
|
|
2780
|
+
readonly type: "string";
|
|
2781
|
+
readonly enum: readonly ["HOUSE", "TOWN_HOUSE", "COUNTRY_HOUSE", "VILLA", "COTTAGE", "APARTMENT", "DUPLEX", "TRIPLEX", "SEMI_BASEMENT", "ATTIC", "AGRICULTURAL_LAND", "RESIDENTIAL_LAND", "HOTEL_ROOM", "MOTEL_ROOM", "CO_LIVING_SPACE", "OFFICE", "COMMERCIAL_SPACE", "CO_WORKING_SPACE", "WAREHOUSE", "GARAGE"];
|
|
2782
|
+
};
|
|
2783
|
+
};
|
|
2784
|
+
}];
|
|
2785
|
+
readonly required: readonly ["id", "type"];
|
|
2786
|
+
};
|
|
2787
|
+
export declare const StageCardsResponseSchema: {
|
|
2788
|
+
readonly type: "object";
|
|
2789
|
+
readonly properties: {
|
|
2790
|
+
readonly members: {
|
|
2791
|
+
readonly type: "array";
|
|
2792
|
+
readonly items: {
|
|
2793
|
+
readonly $ref: "#/components/schemas/MemberPeekResponse";
|
|
2794
|
+
};
|
|
2795
|
+
};
|
|
2796
|
+
readonly data: {
|
|
2797
|
+
readonly $ref: "#/components/schemas/CursorPageTaskCardResponse";
|
|
2798
|
+
};
|
|
2799
|
+
};
|
|
2800
|
+
readonly required: readonly ["data", "members"];
|
|
2801
|
+
};
|
|
2802
|
+
export declare const SubscriptionResponseSchema: {
|
|
2803
|
+
readonly type: "object";
|
|
2804
|
+
readonly properties: {
|
|
2805
|
+
readonly subscriptionId: {
|
|
2806
|
+
readonly type: "string";
|
|
2807
|
+
readonly format: "uuid";
|
|
2808
|
+
};
|
|
2809
|
+
readonly plan: {
|
|
2810
|
+
readonly type: "string";
|
|
2811
|
+
readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
|
|
2812
|
+
};
|
|
2813
|
+
readonly billingCycle: {
|
|
2814
|
+
readonly type: "string";
|
|
2815
|
+
readonly enum: readonly ["MONTHLY", "ANNUAL"];
|
|
2816
|
+
};
|
|
2817
|
+
readonly priceMinorUnits: {
|
|
2818
|
+
readonly type: "integer";
|
|
2819
|
+
readonly format: "int64";
|
|
2820
|
+
readonly description: "Per-cycle price in minor units (tetri)";
|
|
2821
|
+
};
|
|
2822
|
+
readonly currency: {
|
|
2823
|
+
readonly type: "string";
|
|
2824
|
+
};
|
|
2825
|
+
readonly seats: {
|
|
2826
|
+
readonly type: "integer";
|
|
2827
|
+
readonly format: "int32";
|
|
2828
|
+
};
|
|
2829
|
+
readonly monthlyContactLimit: {
|
|
2830
|
+
readonly type: "integer";
|
|
2831
|
+
readonly format: "int32";
|
|
2832
|
+
};
|
|
2833
|
+
readonly trialDays: {
|
|
2834
|
+
readonly type: "integer";
|
|
2835
|
+
readonly format: "int32";
|
|
2836
|
+
};
|
|
2837
|
+
readonly status: {
|
|
2838
|
+
readonly type: "string";
|
|
2839
|
+
readonly enum: readonly ["PENDING", "TRIALING", "ACTIVE", "PAST_DUE", "CANCELLED", "EXPIRED", "SUPERSEDED"];
|
|
2840
|
+
};
|
|
2841
|
+
readonly live: {
|
|
2842
|
+
readonly type: "boolean";
|
|
2843
|
+
readonly description: "Whether the agency is currently entitled to the workspace";
|
|
2844
|
+
};
|
|
2845
|
+
readonly trialEndsAt: {
|
|
2846
|
+
readonly type: "string";
|
|
2847
|
+
readonly format: "date-time";
|
|
2848
|
+
};
|
|
2849
|
+
readonly paidThroughAt: {
|
|
2850
|
+
readonly type: "string";
|
|
2851
|
+
readonly format: "date-time";
|
|
2852
|
+
};
|
|
2853
|
+
readonly accessEndsAt: {
|
|
2854
|
+
readonly type: "string";
|
|
2855
|
+
readonly format: "date-time";
|
|
2856
|
+
readonly description: "When the current entitlement ends, before grace; null while pending or once expired";
|
|
2857
|
+
};
|
|
2858
|
+
readonly pastDueSince: {
|
|
2859
|
+
readonly type: "string";
|
|
2860
|
+
readonly format: "date-time";
|
|
2861
|
+
};
|
|
2862
|
+
readonly lastChargedAt: {
|
|
2863
|
+
readonly type: "string";
|
|
2864
|
+
readonly format: "date-time";
|
|
2865
|
+
};
|
|
2866
|
+
readonly createdAt: {
|
|
2867
|
+
readonly type: "string";
|
|
2868
|
+
readonly format: "date-time";
|
|
2869
|
+
};
|
|
2870
|
+
readonly activatedAt: {
|
|
2871
|
+
readonly type: "string";
|
|
2872
|
+
readonly format: "date-time";
|
|
2873
|
+
};
|
|
2874
|
+
readonly cancelledAt: {
|
|
2875
|
+
readonly type: "string";
|
|
2876
|
+
readonly format: "date-time";
|
|
2750
2877
|
};
|
|
2751
|
-
|
|
2752
|
-
|
|
2878
|
+
readonly checkoutExpiresAt: {
|
|
2879
|
+
readonly type: "string";
|
|
2880
|
+
readonly format: "date-time";
|
|
2881
|
+
readonly description: "When the most recently issued checkout link stops being payable";
|
|
2882
|
+
};
|
|
2883
|
+
};
|
|
2884
|
+
readonly required: readonly ["billingCycle", "createdAt", "currency", "live", "monthlyContactLimit", "plan", "priceMinorUnits", "seats", "status", "subscriptionId", "trialDays"];
|
|
2753
2885
|
};
|
|
2754
|
-
export declare const
|
|
2886
|
+
export declare const PaymentResponseSchema: {
|
|
2755
2887
|
readonly type: "object";
|
|
2756
2888
|
readonly properties: {
|
|
2757
|
-
readonly
|
|
2758
|
-
readonly type: "
|
|
2759
|
-
readonly
|
|
2760
|
-
readonly $ref: "#/components/schemas/MemberPeekResponse";
|
|
2761
|
-
};
|
|
2889
|
+
readonly id: {
|
|
2890
|
+
readonly type: "string";
|
|
2891
|
+
readonly format: "uuid";
|
|
2762
2892
|
};
|
|
2763
|
-
readonly
|
|
2764
|
-
readonly
|
|
2893
|
+
readonly subscriptionId: {
|
|
2894
|
+
readonly type: "string";
|
|
2895
|
+
readonly format: "uuid";
|
|
2896
|
+
};
|
|
2897
|
+
readonly flittPaymentId: {
|
|
2898
|
+
readonly type: "string";
|
|
2899
|
+
};
|
|
2900
|
+
readonly flittOrderId: {
|
|
2901
|
+
readonly type: "string";
|
|
2902
|
+
};
|
|
2903
|
+
readonly orderStatus: {
|
|
2904
|
+
readonly type: "string";
|
|
2905
|
+
readonly description: "Flitt's verdict: approved / declined / reversed / expired …";
|
|
2906
|
+
};
|
|
2907
|
+
readonly tranType: {
|
|
2908
|
+
readonly type: "string";
|
|
2909
|
+
};
|
|
2910
|
+
readonly outcome: {
|
|
2911
|
+
readonly type: "string";
|
|
2912
|
+
readonly description: "What the platform did with it";
|
|
2913
|
+
readonly enum: readonly ["APPLIED", "TRIAL_STARTED", "DUPLICATE", "NOT_APPLIED_CANCELLED", "NOT_APPLIED_SUPERSEDED", "REJECTED_AMOUNT", "REJECTED_CURRENCY", "IGNORED_TRANSACTION_TYPE", "DECLINED", "REVERSED", "REVERSAL_IGNORED", "RECORDED"];
|
|
2914
|
+
};
|
|
2915
|
+
readonly amountMinorUnits: {
|
|
2916
|
+
readonly type: "integer";
|
|
2917
|
+
readonly format: "int64";
|
|
2918
|
+
};
|
|
2919
|
+
readonly currency: {
|
|
2920
|
+
readonly type: "string";
|
|
2921
|
+
};
|
|
2922
|
+
readonly responseCode: {
|
|
2923
|
+
readonly type: "string";
|
|
2924
|
+
};
|
|
2925
|
+
readonly responseDescription: {
|
|
2926
|
+
readonly type: "string";
|
|
2927
|
+
};
|
|
2928
|
+
readonly orderTime: {
|
|
2929
|
+
readonly type: "string";
|
|
2930
|
+
readonly format: "date-time";
|
|
2931
|
+
};
|
|
2932
|
+
readonly receivedAt: {
|
|
2933
|
+
readonly type: "string";
|
|
2934
|
+
readonly format: "date-time";
|
|
2765
2935
|
};
|
|
2766
2936
|
};
|
|
2767
|
-
readonly required: readonly ["
|
|
2937
|
+
readonly required: readonly ["flittOrderId", "flittPaymentId", "id", "orderStatus", "outcome", "receivedAt", "subscriptionId"];
|
|
2768
2938
|
};
|
|
2769
2939
|
export declare const BucketSchema: {
|
|
2770
2940
|
readonly type: "object";
|
|
@@ -3765,7 +3935,7 @@ export declare const PlatformListingResponseSchema: {
|
|
|
3765
3935
|
};
|
|
3766
3936
|
readonly status: {
|
|
3767
3937
|
readonly type: "string";
|
|
3768
|
-
readonly enum: readonly ["PENDING", "SYNDICATED", "FAILED", "EXPIRED"];
|
|
3938
|
+
readonly enum: readonly ["PENDING", "SYNDICATED", "FAILED", "EXPIRED", "WITHDRAWING", "WITHDRAWN"];
|
|
3769
3939
|
};
|
|
3770
3940
|
readonly listedAt: {
|
|
3771
3941
|
readonly type: "string";
|
|
@@ -3779,6 +3949,9 @@ export declare const PlatformListingResponseSchema: {
|
|
|
3779
3949
|
readonly type: "string";
|
|
3780
3950
|
readonly format: "date";
|
|
3781
3951
|
};
|
|
3952
|
+
readonly failureReason: {
|
|
3953
|
+
readonly type: "string";
|
|
3954
|
+
};
|
|
3782
3955
|
readonly boost: {
|
|
3783
3956
|
readonly $ref: "#/components/schemas/BoostResponse";
|
|
3784
3957
|
};
|
|
@@ -3858,7 +4031,7 @@ export declare const PropertyListingResponseSchema: {
|
|
|
3858
4031
|
};
|
|
3859
4032
|
readonly isProcessing: {
|
|
3860
4033
|
readonly type: "boolean";
|
|
3861
|
-
readonly description: "True while an external-portal placement
|
|
4034
|
+
readonly description: "True while an external-portal placement, a boost or a social post is in flight — poll the property page until false. Creating the Homespot listing itself is synchronous, so it never sets this.";
|
|
3862
4035
|
};
|
|
3863
4036
|
readonly price: {
|
|
3864
4037
|
readonly type: "number";
|
|
@@ -3878,6 +4051,13 @@ export declare const PropertyListingResponseSchema: {
|
|
|
3878
4051
|
readonly $ref: "#/components/schemas/PlatformListingResponse";
|
|
3879
4052
|
};
|
|
3880
4053
|
};
|
|
4054
|
+
readonly socialPosts: {
|
|
4055
|
+
readonly type: "array";
|
|
4056
|
+
readonly description: "Facebook / Instagram posts of this listing, newest first";
|
|
4057
|
+
readonly items: {
|
|
4058
|
+
readonly $ref: "#/components/schemas/SocialPostResponse";
|
|
4059
|
+
};
|
|
4060
|
+
};
|
|
3881
4061
|
readonly createdAt: {
|
|
3882
4062
|
readonly type: "string";
|
|
3883
4063
|
readonly format: "date-time";
|
|
@@ -3887,7 +4067,7 @@ export declare const PropertyListingResponseSchema: {
|
|
|
3887
4067
|
readonly format: "date-time";
|
|
3888
4068
|
};
|
|
3889
4069
|
};
|
|
3890
|
-
readonly required: readonly ["createdAt", "crmState", "isProcessing", "listingId", "listingType", "marketplaceStatus", "platformListings", "price", "publicId"];
|
|
4070
|
+
readonly required: readonly ["createdAt", "crmState", "isProcessing", "listingId", "listingType", "marketplaceStatus", "platformListings", "price", "publicId", "socialPosts"];
|
|
3891
4071
|
};
|
|
3892
4072
|
export declare const PropertyPageResponseSchema: {
|
|
3893
4073
|
readonly type: "object";
|
|
@@ -3939,6 +4119,76 @@ export declare const PropertyPageResponseSchema: {
|
|
|
3939
4119
|
};
|
|
3940
4120
|
readonly required: readonly ["agreement", "contactId", "createdAt", "listings", "propertyId", "publicId", "state", "type", "updatedAt"];
|
|
3941
4121
|
};
|
|
4122
|
+
export declare const SocialPostResponseSchema: {
|
|
4123
|
+
readonly type: "object";
|
|
4124
|
+
readonly properties: {
|
|
4125
|
+
readonly postId: {
|
|
4126
|
+
readonly type: "string";
|
|
4127
|
+
readonly format: "uuid";
|
|
4128
|
+
readonly description: "For retrying a failed post, or reading it in full";
|
|
4129
|
+
};
|
|
4130
|
+
readonly channel: {
|
|
4131
|
+
readonly type: "string";
|
|
4132
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
4133
|
+
};
|
|
4134
|
+
readonly status: {
|
|
4135
|
+
readonly type: "string";
|
|
4136
|
+
readonly enum: readonly ["PUBLISHING", "PUBLISHED", "FAILED", "REMOVED"];
|
|
4137
|
+
};
|
|
4138
|
+
readonly caption: {
|
|
4139
|
+
readonly type: "string";
|
|
4140
|
+
readonly description: "Exactly as published";
|
|
4141
|
+
};
|
|
4142
|
+
readonly thumbnailUrl: {
|
|
4143
|
+
readonly type: "string";
|
|
4144
|
+
readonly description: "The post's first photo, as uploaded to the gallery (not the Instagram crop)";
|
|
4145
|
+
};
|
|
4146
|
+
readonly permalink: {
|
|
4147
|
+
readonly type: "string";
|
|
4148
|
+
readonly description: "The post on Facebook / Instagram, once published";
|
|
4149
|
+
};
|
|
4150
|
+
readonly publishedAt: {
|
|
4151
|
+
readonly type: "string";
|
|
4152
|
+
readonly format: "date-time";
|
|
4153
|
+
};
|
|
4154
|
+
readonly createdBy: {
|
|
4155
|
+
readonly $ref: "#/components/schemas/MemberPeekResponse";
|
|
4156
|
+
readonly description: "The member who created the post, also after they left the agency";
|
|
4157
|
+
};
|
|
4158
|
+
readonly failureReason: {
|
|
4159
|
+
readonly type: "string";
|
|
4160
|
+
readonly enum: readonly ["RECONNECT_REQUIRED", "PERMISSION_MISSING", "PAGE_PUBLISHING_AUTHORIZATION", "RATE_LIMITED", "BAD_MEDIA", "UNCONFIRMED", "UNKNOWN"];
|
|
4161
|
+
};
|
|
4162
|
+
readonly stats: {
|
|
4163
|
+
readonly $ref: "#/components/schemas/SocialPostStats";
|
|
4164
|
+
readonly description: "The post's public counts as last read from Facebook / Instagram; null until the first read";
|
|
4165
|
+
};
|
|
4166
|
+
};
|
|
4167
|
+
readonly required: readonly ["caption", "channel", "createdBy", "postId", "status"];
|
|
4168
|
+
};
|
|
4169
|
+
export declare const SocialPostStatsSchema: {
|
|
4170
|
+
readonly type: "object";
|
|
4171
|
+
readonly properties: {
|
|
4172
|
+
readonly likes: {
|
|
4173
|
+
readonly type: "integer";
|
|
4174
|
+
readonly format: "int32";
|
|
4175
|
+
};
|
|
4176
|
+
readonly comments: {
|
|
4177
|
+
readonly type: "integer";
|
|
4178
|
+
readonly format: "int32";
|
|
4179
|
+
};
|
|
4180
|
+
readonly shares: {
|
|
4181
|
+
readonly type: "integer";
|
|
4182
|
+
readonly format: "int32";
|
|
4183
|
+
};
|
|
4184
|
+
readonly fetchedAt: {
|
|
4185
|
+
readonly type: "string";
|
|
4186
|
+
readonly format: "date-time";
|
|
4187
|
+
readonly description: "When the counts were read — show how old they are";
|
|
4188
|
+
};
|
|
4189
|
+
};
|
|
4190
|
+
readonly required: readonly ["comments", "fetchedAt", "likes", "shares"];
|
|
4191
|
+
};
|
|
3942
4192
|
export declare const ListingOwnerContactResponseSchema: {
|
|
3943
4193
|
readonly type: "object";
|
|
3944
4194
|
readonly properties: {
|
|
@@ -3980,6 +4230,25 @@ export declare const AgentCommentedSchema: {
|
|
|
3980
4230
|
};
|
|
3981
4231
|
readonly required: readonly ["kind"];
|
|
3982
4232
|
};
|
|
4233
|
+
export declare const ChannelReauthRequiredSchema: {
|
|
4234
|
+
readonly properties: {
|
|
4235
|
+
readonly connectionId: {
|
|
4236
|
+
readonly $ref: "#/components/schemas/ConnectionId";
|
|
4237
|
+
};
|
|
4238
|
+
readonly channelType: {
|
|
4239
|
+
readonly type: "string";
|
|
4240
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM", "WHATSAPP", "TIKTOK"];
|
|
4241
|
+
};
|
|
4242
|
+
readonly displayName: {
|
|
4243
|
+
readonly type: "string";
|
|
4244
|
+
};
|
|
4245
|
+
readonly kind: {
|
|
4246
|
+
readonly type: "string";
|
|
4247
|
+
readonly enum: readonly ["CHANNEL_REAUTH_REQUIRED"];
|
|
4248
|
+
};
|
|
4249
|
+
};
|
|
4250
|
+
readonly required: readonly ["kind"];
|
|
4251
|
+
};
|
|
3983
4252
|
export declare const CommentIdSchema: {
|
|
3984
4253
|
readonly type: "object";
|
|
3985
4254
|
readonly properties: {
|
|
@@ -3989,6 +4258,15 @@ export declare const CommentIdSchema: {
|
|
|
3989
4258
|
};
|
|
3990
4259
|
};
|
|
3991
4260
|
};
|
|
4261
|
+
export declare const ConnectionIdSchema: {
|
|
4262
|
+
readonly type: "object";
|
|
4263
|
+
readonly properties: {
|
|
4264
|
+
readonly value: {
|
|
4265
|
+
readonly type: "string";
|
|
4266
|
+
readonly format: "uuid";
|
|
4267
|
+
};
|
|
4268
|
+
};
|
|
4269
|
+
};
|
|
3992
4270
|
export declare const ContactAssignedSchema: {
|
|
3993
4271
|
readonly properties: {
|
|
3994
4272
|
readonly contactId: {
|
|
@@ -4150,6 +4428,8 @@ export declare const NotificationContentSchema: {
|
|
|
4150
4428
|
readonly SUBSCRIPTION_ENDING: "#/components/schemas/SubscriptionEnding";
|
|
4151
4429
|
readonly SUBSCRIPTION_EXPIRED: "#/components/schemas/SubscriptionExpired";
|
|
4152
4430
|
readonly SUBSCRIPTION_PAYMENT_REVERSED: "#/components/schemas/SubscriptionPaymentReversed";
|
|
4431
|
+
readonly CHANNEL_REAUTH_REQUIRED: "#/components/schemas/ChannelReauthRequired";
|
|
4432
|
+
readonly SOCIAL_POST_FAILED: "#/components/schemas/SocialPostFailed";
|
|
4153
4433
|
};
|
|
4154
4434
|
};
|
|
4155
4435
|
readonly required: readonly ["kind"];
|
|
@@ -4180,7 +4460,7 @@ export declare const NotificationViewSchema: {
|
|
|
4180
4460
|
};
|
|
4181
4461
|
readonly type: {
|
|
4182
4462
|
readonly type: "string";
|
|
4183
|
-
readonly enum: readonly ["AGENT_COMMENTED", "TASK_COMMENTED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED", "SUBSCRIPTION_PAYMENT_FAILED", "SUBSCRIPTION_ENDING", "SUBSCRIPTION_EXPIRED", "SUBSCRIPTION_PAYMENT_REVERSED"];
|
|
4463
|
+
readonly enum: readonly ["AGENT_COMMENTED", "TASK_COMMENTED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED", "SUBSCRIPTION_PAYMENT_FAILED", "SUBSCRIPTION_ENDING", "SUBSCRIPTION_EXPIRED", "SUBSCRIPTION_PAYMENT_REVERSED", "CHANNEL_REAUTH_REQUIRED", "SOCIAL_POST_FAILED"];
|
|
4184
4464
|
};
|
|
4185
4465
|
readonly targetId: {
|
|
4186
4466
|
readonly type: "string";
|
|
@@ -4188,6 +4468,8 @@ export declare const NotificationViewSchema: {
|
|
|
4188
4468
|
readonly payload: {
|
|
4189
4469
|
readonly oneOf: readonly [{
|
|
4190
4470
|
readonly $ref: "#/components/schemas/AgentCommented";
|
|
4471
|
+
}, {
|
|
4472
|
+
readonly $ref: "#/components/schemas/ChannelReauthRequired";
|
|
4191
4473
|
}, {
|
|
4192
4474
|
readonly $ref: "#/components/schemas/ContactAssigned";
|
|
4193
4475
|
}, {
|
|
@@ -4196,6 +4478,8 @@ export declare const NotificationViewSchema: {
|
|
|
4196
4478
|
readonly $ref: "#/components/schemas/NewMessage";
|
|
4197
4479
|
}, {
|
|
4198
4480
|
readonly $ref: "#/components/schemas/NewSeekerRating";
|
|
4481
|
+
}, {
|
|
4482
|
+
readonly $ref: "#/components/schemas/SocialPostFailed";
|
|
4199
4483
|
}, {
|
|
4200
4484
|
readonly $ref: "#/components/schemas/SubscriptionEnding";
|
|
4201
4485
|
}, {
|
|
@@ -4227,6 +4511,48 @@ export declare const PropertyIdSchema: {
|
|
|
4227
4511
|
};
|
|
4228
4512
|
};
|
|
4229
4513
|
};
|
|
4514
|
+
export declare const SocialPostFailedSchema: {
|
|
4515
|
+
readonly properties: {
|
|
4516
|
+
readonly postId: {
|
|
4517
|
+
readonly $ref: "#/components/schemas/SocialPostId";
|
|
4518
|
+
};
|
|
4519
|
+
readonly contactId: {
|
|
4520
|
+
readonly $ref: "#/components/schemas/ContactId";
|
|
4521
|
+
};
|
|
4522
|
+
readonly propertyId: {
|
|
4523
|
+
readonly $ref: "#/components/schemas/PropertyId";
|
|
4524
|
+
};
|
|
4525
|
+
readonly listingId: {
|
|
4526
|
+
readonly type: "integer";
|
|
4527
|
+
readonly format: "int64";
|
|
4528
|
+
};
|
|
4529
|
+
readonly propertyTitle: {
|
|
4530
|
+
readonly type: "string";
|
|
4531
|
+
};
|
|
4532
|
+
readonly channel: {
|
|
4533
|
+
readonly type: "string";
|
|
4534
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
4535
|
+
};
|
|
4536
|
+
readonly reason: {
|
|
4537
|
+
readonly type: "string";
|
|
4538
|
+
readonly enum: readonly ["RECONNECT_REQUIRED", "PERMISSION_MISSING", "PAGE_PUBLISHING_AUTHORIZATION", "RATE_LIMITED", "BAD_MEDIA", "UNCONFIRMED", "UNKNOWN"];
|
|
4539
|
+
};
|
|
4540
|
+
readonly kind: {
|
|
4541
|
+
readonly type: "string";
|
|
4542
|
+
readonly enum: readonly ["SOCIAL_POST_FAILED"];
|
|
4543
|
+
};
|
|
4544
|
+
};
|
|
4545
|
+
readonly required: readonly ["kind"];
|
|
4546
|
+
};
|
|
4547
|
+
export declare const SocialPostIdSchema: {
|
|
4548
|
+
readonly type: "object";
|
|
4549
|
+
readonly properties: {
|
|
4550
|
+
readonly value: {
|
|
4551
|
+
readonly type: "string";
|
|
4552
|
+
readonly format: "uuid";
|
|
4553
|
+
};
|
|
4554
|
+
};
|
|
4555
|
+
};
|
|
4230
4556
|
export declare const SubscriptionEndingSchema: {
|
|
4231
4557
|
readonly properties: {
|
|
4232
4558
|
readonly subscriptionId: {
|
|
@@ -4682,6 +5008,13 @@ export declare const ListingGridResponseSchema: {
|
|
|
4682
5008
|
readonly $ref: "#/components/schemas/PlatformView";
|
|
4683
5009
|
};
|
|
4684
5010
|
};
|
|
5011
|
+
readonly socialPosts: {
|
|
5012
|
+
readonly type: "array";
|
|
5013
|
+
readonly description: "Where the listing is posted on Facebook / Instagram: the latest published post per channel";
|
|
5014
|
+
readonly items: {
|
|
5015
|
+
readonly $ref: "#/components/schemas/SocialPostLink";
|
|
5016
|
+
};
|
|
5017
|
+
};
|
|
4685
5018
|
readonly createdAt: {
|
|
4686
5019
|
readonly type: "string";
|
|
4687
5020
|
readonly format: "date-time";
|
|
@@ -4691,7 +5024,7 @@ export declare const ListingGridResponseSchema: {
|
|
|
4691
5024
|
readonly format: "date-time";
|
|
4692
5025
|
};
|
|
4693
5026
|
};
|
|
4694
|
-
readonly required: readonly ["agreementType", "contactId", "createdAt", "externalPropertyId", "featuredPhotos", "personalDetails", "platforms", "propertyId", "propertyState", "propertyType", "title", "updatedAt"];
|
|
5027
|
+
readonly required: readonly ["agreementType", "contactId", "createdAt", "externalPropertyId", "featuredPhotos", "personalDetails", "platforms", "propertyId", "propertyState", "propertyType", "socialPosts", "title", "updatedAt"];
|
|
4695
5028
|
};
|
|
4696
5029
|
export declare const PagedModelListingGridResponseSchema: {
|
|
4697
5030
|
readonly type: "object";
|
|
@@ -4732,6 +5065,20 @@ export declare const PlatformViewSchema: {
|
|
|
4732
5065
|
};
|
|
4733
5066
|
};
|
|
4734
5067
|
};
|
|
5068
|
+
export declare const SocialPostLinkSchema: {
|
|
5069
|
+
readonly type: "object";
|
|
5070
|
+
readonly properties: {
|
|
5071
|
+
readonly channel: {
|
|
5072
|
+
readonly type: "string";
|
|
5073
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
5074
|
+
};
|
|
5075
|
+
readonly permalink: {
|
|
5076
|
+
readonly type: "string";
|
|
5077
|
+
readonly description: "Opens the post on Facebook / Instagram";
|
|
5078
|
+
};
|
|
5079
|
+
};
|
|
5080
|
+
readonly required: readonly ["channel", "permalink"];
|
|
5081
|
+
};
|
|
4735
5082
|
export declare const GroupCountSchema: {
|
|
4736
5083
|
readonly type: "object";
|
|
4737
5084
|
readonly properties: {
|
|
@@ -5147,6 +5494,95 @@ export declare const CursorPageMessageViewSchema: {
|
|
|
5147
5494
|
};
|
|
5148
5495
|
};
|
|
5149
5496
|
};
|
|
5497
|
+
export declare const ComposerLimitsSchema: {
|
|
5498
|
+
readonly type: "object";
|
|
5499
|
+
readonly properties: {
|
|
5500
|
+
readonly maxPhotos: {
|
|
5501
|
+
readonly type: "integer";
|
|
5502
|
+
readonly format: "int32";
|
|
5503
|
+
};
|
|
5504
|
+
readonly maxCaptionLength: {
|
|
5505
|
+
readonly type: "integer";
|
|
5506
|
+
readonly format: "int32";
|
|
5507
|
+
readonly description: "In Unicode code points: an emoji counts once, as [...text].length counts in JavaScript (text.length counts it twice)";
|
|
5508
|
+
};
|
|
5509
|
+
};
|
|
5510
|
+
readonly required: readonly ["maxCaptionLength", "maxPhotos"];
|
|
5511
|
+
};
|
|
5512
|
+
export declare const ComposerPhotoSchema: {
|
|
5513
|
+
readonly type: "object";
|
|
5514
|
+
readonly properties: {
|
|
5515
|
+
readonly photoId: {
|
|
5516
|
+
readonly type: "integer";
|
|
5517
|
+
readonly format: "int64";
|
|
5518
|
+
readonly description: "What the publish request sends";
|
|
5519
|
+
};
|
|
5520
|
+
readonly url: {
|
|
5521
|
+
readonly type: "string";
|
|
5522
|
+
};
|
|
5523
|
+
readonly width: {
|
|
5524
|
+
readonly type: "integer";
|
|
5525
|
+
readonly format: "int32";
|
|
5526
|
+
readonly description: "As the photo is shown, in pixels";
|
|
5527
|
+
};
|
|
5528
|
+
readonly height: {
|
|
5529
|
+
readonly type: "integer";
|
|
5530
|
+
readonly format: "int32";
|
|
5531
|
+
readonly description: "As the photo is shown, in pixels";
|
|
5532
|
+
};
|
|
5533
|
+
readonly selectedByDefault: {
|
|
5534
|
+
readonly type: "boolean";
|
|
5535
|
+
};
|
|
5536
|
+
};
|
|
5537
|
+
readonly required: readonly ["height", "photoId", "selectedByDefault", "url", "width"];
|
|
5538
|
+
};
|
|
5539
|
+
export declare const ComposerPreviewSchema: {
|
|
5540
|
+
readonly type: "object";
|
|
5541
|
+
readonly properties: {
|
|
5542
|
+
readonly channel: {
|
|
5543
|
+
readonly type: "string";
|
|
5544
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
5545
|
+
};
|
|
5546
|
+
readonly caption: {
|
|
5547
|
+
readonly type: "string";
|
|
5548
|
+
readonly description: "The built-in Georgian template filled in from the listing; a line with nothing to fill it is left out";
|
|
5549
|
+
};
|
|
5550
|
+
readonly templateId: {
|
|
5551
|
+
readonly type: "string";
|
|
5552
|
+
readonly format: "uuid";
|
|
5553
|
+
readonly description: "The template the text came from, sent back on publish; null for the built-in one";
|
|
5554
|
+
};
|
|
5555
|
+
readonly limits: {
|
|
5556
|
+
readonly $ref: "#/components/schemas/ComposerLimits";
|
|
5557
|
+
};
|
|
5558
|
+
readonly ratios: {
|
|
5559
|
+
readonly type: "array";
|
|
5560
|
+
readonly description: "The shapes the agent can pick; empty on Facebook, which keeps each photo's own";
|
|
5561
|
+
readonly items: {
|
|
5562
|
+
readonly type: "string";
|
|
5563
|
+
readonly enum: readonly ["LANDSCAPE", "SQUARE", "PORTRAIT"];
|
|
5564
|
+
};
|
|
5565
|
+
};
|
|
5566
|
+
readonly defaultRatio: {
|
|
5567
|
+
readonly type: "string";
|
|
5568
|
+
readonly description: "Instagram only";
|
|
5569
|
+
readonly enum: readonly ["LANDSCAPE", "SQUARE", "PORTRAIT"];
|
|
5570
|
+
};
|
|
5571
|
+
readonly photos: {
|
|
5572
|
+
readonly type: "array";
|
|
5573
|
+
readonly description: "The whole gallery, in gallery order";
|
|
5574
|
+
readonly items: {
|
|
5575
|
+
readonly $ref: "#/components/schemas/ComposerPhoto";
|
|
5576
|
+
};
|
|
5577
|
+
};
|
|
5578
|
+
readonly access: {
|
|
5579
|
+
readonly type: "string";
|
|
5580
|
+
readonly description: "Whether the agency can post to the channel now; publishing refuses anything but ALLOWED";
|
|
5581
|
+
readonly enum: readonly ["ALLOWED", "NOT_CONNECTED", "RECONNECT_REQUIRED"];
|
|
5582
|
+
};
|
|
5583
|
+
};
|
|
5584
|
+
readonly required: readonly ["access", "caption", "channel", "limits", "photos", "ratios"];
|
|
5585
|
+
};
|
|
5150
5586
|
export declare const ContactGridResponseSchema: {
|
|
5151
5587
|
readonly type: "object";
|
|
5152
5588
|
readonly properties: {
|