@homespot-sdk/core 0.0.306 → 0.0.308
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 +242 -87
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +251 -94
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +8 -3
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +38 -10
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +5 -2
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +43 -16
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +187 -62
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +408 -83
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +228 -47
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -736,53 +736,6 @@ export const RateRecommendationItemRequestSchema = {
|
|
|
736
736
|
},
|
|
737
737
|
required: ['decision'],
|
|
738
738
|
};
|
|
739
|
-
export const SendMessageRequestSchema = {
|
|
740
|
-
type: 'object',
|
|
741
|
-
properties: {
|
|
742
|
-
text: {
|
|
743
|
-
type: 'string',
|
|
744
|
-
maxLength: 2000,
|
|
745
|
-
minLength: 0,
|
|
746
|
-
},
|
|
747
|
-
},
|
|
748
|
-
required: ['text'],
|
|
749
|
-
};
|
|
750
|
-
export const ProblemDetailSchema = {
|
|
751
|
-
type: 'object',
|
|
752
|
-
properties: {
|
|
753
|
-
type: {
|
|
754
|
-
type: 'string',
|
|
755
|
-
format: 'uri',
|
|
756
|
-
},
|
|
757
|
-
title: {
|
|
758
|
-
type: 'string',
|
|
759
|
-
},
|
|
760
|
-
status: {
|
|
761
|
-
type: 'integer',
|
|
762
|
-
format: 'int32',
|
|
763
|
-
},
|
|
764
|
-
detail: {
|
|
765
|
-
type: 'string',
|
|
766
|
-
},
|
|
767
|
-
instance: {
|
|
768
|
-
type: 'string',
|
|
769
|
-
format: 'uri',
|
|
770
|
-
},
|
|
771
|
-
properties: {
|
|
772
|
-
type: 'object',
|
|
773
|
-
additionalProperties: {},
|
|
774
|
-
},
|
|
775
|
-
},
|
|
776
|
-
};
|
|
777
|
-
export const SendMessageResponseSchema = {
|
|
778
|
-
type: 'object',
|
|
779
|
-
properties: {
|
|
780
|
-
messageId: {
|
|
781
|
-
type: 'string',
|
|
782
|
-
format: 'uuid',
|
|
783
|
-
},
|
|
784
|
-
},
|
|
785
|
-
};
|
|
786
739
|
export const AttendeeRequestSchema = {
|
|
787
740
|
type: 'object',
|
|
788
741
|
properties: {
|
|
@@ -981,6 +934,54 @@ export const AgencyPrincipalDtoSchema = {
|
|
|
981
934
|
},
|
|
982
935
|
},
|
|
983
936
|
};
|
|
937
|
+
export const SendMessageRequestSchema = {
|
|
938
|
+
type: 'object',
|
|
939
|
+
properties: {
|
|
940
|
+
text: {
|
|
941
|
+
type: 'string',
|
|
942
|
+
maxLength: 2000,
|
|
943
|
+
minLength: 0,
|
|
944
|
+
},
|
|
945
|
+
},
|
|
946
|
+
required: ['text'],
|
|
947
|
+
};
|
|
948
|
+
export const ProblemDetailSchema = {
|
|
949
|
+
type: 'object',
|
|
950
|
+
properties: {
|
|
951
|
+
type: {
|
|
952
|
+
type: 'string',
|
|
953
|
+
format: 'uri',
|
|
954
|
+
},
|
|
955
|
+
title: {
|
|
956
|
+
type: 'string',
|
|
957
|
+
},
|
|
958
|
+
status: {
|
|
959
|
+
type: 'integer',
|
|
960
|
+
format: 'int32',
|
|
961
|
+
},
|
|
962
|
+
detail: {
|
|
963
|
+
type: 'string',
|
|
964
|
+
},
|
|
965
|
+
instance: {
|
|
966
|
+
type: 'string',
|
|
967
|
+
format: 'uri',
|
|
968
|
+
},
|
|
969
|
+
properties: {
|
|
970
|
+
type: 'object',
|
|
971
|
+
additionalProperties: {},
|
|
972
|
+
},
|
|
973
|
+
},
|
|
974
|
+
};
|
|
975
|
+
export const IdResponseUUIDSchema = {
|
|
976
|
+
type: 'object',
|
|
977
|
+
properties: {
|
|
978
|
+
id: {
|
|
979
|
+
type: 'string',
|
|
980
|
+
format: 'uuid',
|
|
981
|
+
},
|
|
982
|
+
},
|
|
983
|
+
required: ['id'],
|
|
984
|
+
};
|
|
984
985
|
export const CreateClientRecommendationsRequestSchema = {
|
|
985
986
|
type: 'object',
|
|
986
987
|
properties: {
|
|
@@ -1050,16 +1051,6 @@ export const InterestIdSchema = {
|
|
|
1050
1051
|
},
|
|
1051
1052
|
},
|
|
1052
1053
|
};
|
|
1053
|
-
export const IdResponseUUIDSchema = {
|
|
1054
|
-
type: 'object',
|
|
1055
|
-
properties: {
|
|
1056
|
-
id: {
|
|
1057
|
-
type: 'string',
|
|
1058
|
-
format: 'uuid',
|
|
1059
|
-
},
|
|
1060
|
-
},
|
|
1061
|
-
required: ['id'],
|
|
1062
|
-
};
|
|
1063
1054
|
export const ContactInfoRequestSchema = {
|
|
1064
1055
|
type: 'object',
|
|
1065
1056
|
properties: {
|
|
@@ -1949,6 +1940,152 @@ export const OauthConnectionResponseSchema = {
|
|
|
1949
1940
|
'userId',
|
|
1950
1941
|
],
|
|
1951
1942
|
};
|
|
1943
|
+
export const ContactIdSchema = {
|
|
1944
|
+
type: 'object',
|
|
1945
|
+
properties: {
|
|
1946
|
+
value: {
|
|
1947
|
+
type: 'integer',
|
|
1948
|
+
format: 'int64',
|
|
1949
|
+
},
|
|
1950
|
+
},
|
|
1951
|
+
};
|
|
1952
|
+
export const ConversationIdSchema = {
|
|
1953
|
+
type: 'object',
|
|
1954
|
+
properties: {
|
|
1955
|
+
value: {
|
|
1956
|
+
type: 'string',
|
|
1957
|
+
format: 'uuid',
|
|
1958
|
+
},
|
|
1959
|
+
},
|
|
1960
|
+
};
|
|
1961
|
+
export const CursorPageNotificationViewSchema = {
|
|
1962
|
+
type: 'object',
|
|
1963
|
+
properties: {
|
|
1964
|
+
items: {
|
|
1965
|
+
type: 'array',
|
|
1966
|
+
items: {
|
|
1967
|
+
$ref: '#/components/schemas/NotificationView',
|
|
1968
|
+
},
|
|
1969
|
+
},
|
|
1970
|
+
nextCursor: {
|
|
1971
|
+
type: 'string',
|
|
1972
|
+
},
|
|
1973
|
+
hasNext: {
|
|
1974
|
+
type: 'boolean',
|
|
1975
|
+
},
|
|
1976
|
+
},
|
|
1977
|
+
};
|
|
1978
|
+
export const NewContactSchema = {
|
|
1979
|
+
allOf: [
|
|
1980
|
+
{
|
|
1981
|
+
$ref: '#/components/schemas/NotificationPayload',
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
type: 'object',
|
|
1985
|
+
properties: {
|
|
1986
|
+
contactId: {
|
|
1987
|
+
$ref: '#/components/schemas/ContactId',
|
|
1988
|
+
},
|
|
1989
|
+
contactName: {
|
|
1990
|
+
type: 'string',
|
|
1991
|
+
},
|
|
1992
|
+
},
|
|
1993
|
+
},
|
|
1994
|
+
],
|
|
1995
|
+
};
|
|
1996
|
+
export const NewMessageSchema = {
|
|
1997
|
+
allOf: [
|
|
1998
|
+
{
|
|
1999
|
+
$ref: '#/components/schemas/NotificationPayload',
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
type: 'object',
|
|
2003
|
+
properties: {
|
|
2004
|
+
conversationId: {
|
|
2005
|
+
$ref: '#/components/schemas/ConversationId',
|
|
2006
|
+
},
|
|
2007
|
+
preview: {
|
|
2008
|
+
type: 'string',
|
|
2009
|
+
},
|
|
2010
|
+
senderName: {
|
|
2011
|
+
type: 'string',
|
|
2012
|
+
},
|
|
2013
|
+
},
|
|
2014
|
+
},
|
|
2015
|
+
],
|
|
2016
|
+
};
|
|
2017
|
+
export const NotificationFeedSchema = {
|
|
2018
|
+
type: 'object',
|
|
2019
|
+
properties: {
|
|
2020
|
+
unreadCount: {
|
|
2021
|
+
type: 'integer',
|
|
2022
|
+
format: 'int32',
|
|
2023
|
+
},
|
|
2024
|
+
notifications: {
|
|
2025
|
+
$ref: '#/components/schemas/CursorPageNotificationView',
|
|
2026
|
+
},
|
|
2027
|
+
},
|
|
2028
|
+
required: ['notifications', 'unreadCount'],
|
|
2029
|
+
};
|
|
2030
|
+
export const NotificationPayloadSchema = {
|
|
2031
|
+
discriminator: {
|
|
2032
|
+
propertyName: 'kind',
|
|
2033
|
+
},
|
|
2034
|
+
properties: {
|
|
2035
|
+
kind: {
|
|
2036
|
+
type: 'string',
|
|
2037
|
+
},
|
|
2038
|
+
},
|
|
2039
|
+
required: ['kind'],
|
|
2040
|
+
};
|
|
2041
|
+
export const NotificationViewSchema = {
|
|
2042
|
+
type: 'object',
|
|
2043
|
+
properties: {
|
|
2044
|
+
id: {
|
|
2045
|
+
type: 'string',
|
|
2046
|
+
format: 'uuid',
|
|
2047
|
+
},
|
|
2048
|
+
seq: {
|
|
2049
|
+
type: 'integer',
|
|
2050
|
+
format: 'int64',
|
|
2051
|
+
},
|
|
2052
|
+
type: {
|
|
2053
|
+
type: 'string',
|
|
2054
|
+
enum: ['NEW_MESSAGE', 'NEW_CONTACT'],
|
|
2055
|
+
},
|
|
2056
|
+
targetId: {
|
|
2057
|
+
type: 'string',
|
|
2058
|
+
},
|
|
2059
|
+
payload: {
|
|
2060
|
+
oneOf: [
|
|
2061
|
+
{
|
|
2062
|
+
$ref: '#/components/schemas/NewContact',
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
$ref: '#/components/schemas/NewMessage',
|
|
2066
|
+
},
|
|
2067
|
+
],
|
|
2068
|
+
},
|
|
2069
|
+
createdAt: {
|
|
2070
|
+
type: 'string',
|
|
2071
|
+
format: 'date-time',
|
|
2072
|
+
},
|
|
2073
|
+
read: {
|
|
2074
|
+
type: 'boolean',
|
|
2075
|
+
},
|
|
2076
|
+
},
|
|
2077
|
+
required: ['createdAt', 'id', 'payload', 'read', 'seq', 'type'],
|
|
2078
|
+
};
|
|
2079
|
+
export const UnreadCountSchema = {
|
|
2080
|
+
type: 'object',
|
|
2081
|
+
properties: {
|
|
2082
|
+
count: {
|
|
2083
|
+
type: 'integer',
|
|
2084
|
+
format: 'int32',
|
|
2085
|
+
},
|
|
2086
|
+
},
|
|
2087
|
+
required: ['count'],
|
|
2088
|
+
};
|
|
1952
2089
|
export const MemberViewResponseSchema = {
|
|
1953
2090
|
type: 'object',
|
|
1954
2091
|
properties: {
|
|
@@ -2546,23 +2683,6 @@ export const InboxResponseSchema = {
|
|
|
2546
2683
|
},
|
|
2547
2684
|
},
|
|
2548
2685
|
};
|
|
2549
|
-
export const CursorPageMessageViewSchema = {
|
|
2550
|
-
type: 'object',
|
|
2551
|
-
properties: {
|
|
2552
|
-
items: {
|
|
2553
|
-
type: 'array',
|
|
2554
|
-
items: {
|
|
2555
|
-
$ref: '#/components/schemas/MessageView',
|
|
2556
|
-
},
|
|
2557
|
-
},
|
|
2558
|
-
nextCursor: {
|
|
2559
|
-
type: 'string',
|
|
2560
|
-
},
|
|
2561
|
-
hasNext: {
|
|
2562
|
-
type: 'boolean',
|
|
2563
|
-
},
|
|
2564
|
-
},
|
|
2565
|
-
};
|
|
2566
2686
|
export const MessageContentSchema = {
|
|
2567
2687
|
discriminator: {
|
|
2568
2688
|
propertyName: '@type',
|
|
@@ -2581,6 +2701,10 @@ export const MessageViewSchema = {
|
|
|
2581
2701
|
type: 'string',
|
|
2582
2702
|
format: 'uuid',
|
|
2583
2703
|
},
|
|
2704
|
+
seq: {
|
|
2705
|
+
type: 'integer',
|
|
2706
|
+
format: 'int64',
|
|
2707
|
+
},
|
|
2584
2708
|
direction: {
|
|
2585
2709
|
type: 'string',
|
|
2586
2710
|
enum: ['INBOUND', 'OUTBOUND'],
|
|
@@ -2597,41 +2721,35 @@ export const MessageViewSchema = {
|
|
|
2597
2721
|
},
|
|
2598
2722
|
status: {
|
|
2599
2723
|
type: 'string',
|
|
2600
|
-
enum: [
|
|
2601
|
-
'RECEIVED',
|
|
2602
|
-
'PENDING',
|
|
2603
|
-
'SENT',
|
|
2604
|
-
'DELIVERED',
|
|
2605
|
-
'READ',
|
|
2606
|
-
'FAILED',
|
|
2607
|
-
],
|
|
2724
|
+
enum: ['RECEIVED', 'PENDING', 'SENT', 'FAILED'],
|
|
2608
2725
|
},
|
|
2609
2726
|
sentAt: {
|
|
2610
2727
|
type: 'string',
|
|
2611
2728
|
format: 'date-time',
|
|
2612
2729
|
},
|
|
2613
|
-
deliveredAt: {
|
|
2614
|
-
type: 'string',
|
|
2615
|
-
format: 'date-time',
|
|
2616
|
-
},
|
|
2617
|
-
readAt: {
|
|
2618
|
-
type: 'string',
|
|
2619
|
-
format: 'date-time',
|
|
2620
|
-
},
|
|
2621
2730
|
failureReason: {
|
|
2622
2731
|
type: 'string',
|
|
2623
2732
|
},
|
|
2624
|
-
|
|
2733
|
+
sentBy: {
|
|
2734
|
+
$ref: '#/components/schemas/SentBy',
|
|
2735
|
+
},
|
|
2736
|
+
},
|
|
2737
|
+
required: ['content', 'direction', 'id', 'sentAt', 'seq', 'status'],
|
|
2738
|
+
};
|
|
2739
|
+
export const SentBySchema = {
|
|
2740
|
+
type: 'object',
|
|
2741
|
+
properties: {
|
|
2742
|
+
memberId: {
|
|
2625
2743
|
type: 'string',
|
|
2626
2744
|
format: 'uuid',
|
|
2627
2745
|
},
|
|
2628
|
-
|
|
2746
|
+
firstName: {
|
|
2629
2747
|
type: 'string',
|
|
2630
2748
|
},
|
|
2631
|
-
|
|
2749
|
+
lastName: {
|
|
2632
2750
|
type: 'string',
|
|
2633
2751
|
},
|
|
2634
|
-
|
|
2752
|
+
picture: {
|
|
2635
2753
|
type: 'string',
|
|
2636
2754
|
},
|
|
2637
2755
|
},
|
|
@@ -2651,6 +2769,28 @@ export const TextSchema = {
|
|
|
2651
2769
|
},
|
|
2652
2770
|
],
|
|
2653
2771
|
};
|
|
2772
|
+
export const ThreadUpdatesSchema = {
|
|
2773
|
+
type: 'object',
|
|
2774
|
+
properties: {
|
|
2775
|
+
customerReadUpTo: {
|
|
2776
|
+
type: 'string',
|
|
2777
|
+
format: 'date-time',
|
|
2778
|
+
},
|
|
2779
|
+
messages: {
|
|
2780
|
+
type: 'array',
|
|
2781
|
+
items: {
|
|
2782
|
+
$ref: '#/components/schemas/MessageView',
|
|
2783
|
+
},
|
|
2784
|
+
},
|
|
2785
|
+
nextSeq: {
|
|
2786
|
+
type: 'integer',
|
|
2787
|
+
format: 'int64',
|
|
2788
|
+
},
|
|
2789
|
+
hasMore: {
|
|
2790
|
+
type: 'boolean',
|
|
2791
|
+
},
|
|
2792
|
+
},
|
|
2793
|
+
};
|
|
2654
2794
|
export const UnsupportedSchema = {
|
|
2655
2795
|
allOf: [
|
|
2656
2796
|
{
|
|
@@ -2666,6 +2806,23 @@ export const UnsupportedSchema = {
|
|
|
2666
2806
|
},
|
|
2667
2807
|
],
|
|
2668
2808
|
};
|
|
2809
|
+
export const CursorPageMessageViewSchema = {
|
|
2810
|
+
type: 'object',
|
|
2811
|
+
properties: {
|
|
2812
|
+
items: {
|
|
2813
|
+
type: 'array',
|
|
2814
|
+
items: {
|
|
2815
|
+
$ref: '#/components/schemas/MessageView',
|
|
2816
|
+
},
|
|
2817
|
+
},
|
|
2818
|
+
nextCursor: {
|
|
2819
|
+
type: 'string',
|
|
2820
|
+
},
|
|
2821
|
+
hasNext: {
|
|
2822
|
+
type: 'boolean',
|
|
2823
|
+
},
|
|
2824
|
+
},
|
|
2825
|
+
};
|
|
2669
2826
|
export const ConstantInterestResponseSchema = {
|
|
2670
2827
|
type: 'object',
|
|
2671
2828
|
properties: {
|