hububb-models 1.0.66 → 1.0.67

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,239 @@
1
+ export declare const ChannexMessageThreadSchema: import("zod").ZodObject<{
2
+ id: import("zod").ZodString;
3
+ type: import("zod").ZodString;
4
+ attributes: import("zod").ZodObject<{
5
+ title: import("zod").ZodString;
6
+ is_closed: import("zod").ZodBoolean;
7
+ provider: import("zod").ZodString;
8
+ message_count: import("zod").ZodNumber;
9
+ last_message: import("zod").ZodOptional<import("zod").ZodObject<{
10
+ attachments: import("zod").ZodArray<import("zod").ZodString, "many">;
11
+ inserted_at: import("zod").ZodString;
12
+ message: import("zod").ZodString;
13
+ sender: import("zod").ZodString;
14
+ }, "strip", import("zod").ZodTypeAny, {
15
+ message: string;
16
+ inserted_at: string;
17
+ attachments: string[];
18
+ sender: string;
19
+ }, {
20
+ message: string;
21
+ inserted_at: string;
22
+ attachments: string[];
23
+ sender: string;
24
+ }>>;
25
+ last_message_received_at: import("zod").ZodString;
26
+ inserted_at: import("zod").ZodString;
27
+ updated_at: import("zod").ZodString;
28
+ }, "strip", import("zod").ZodTypeAny, {
29
+ title: string;
30
+ inserted_at: string;
31
+ is_closed: boolean;
32
+ provider: string;
33
+ message_count: number;
34
+ last_message_received_at: string;
35
+ updated_at: string;
36
+ last_message?: {
37
+ message: string;
38
+ inserted_at: string;
39
+ attachments: string[];
40
+ sender: string;
41
+ } | undefined;
42
+ }, {
43
+ title: string;
44
+ inserted_at: string;
45
+ is_closed: boolean;
46
+ provider: string;
47
+ message_count: number;
48
+ last_message_received_at: string;
49
+ updated_at: string;
50
+ last_message?: {
51
+ message: string;
52
+ inserted_at: string;
53
+ attachments: string[];
54
+ sender: string;
55
+ } | undefined;
56
+ }>;
57
+ relationships: import("zod").ZodObject<{
58
+ booking: import("zod").ZodObject<{
59
+ data: import("zod").ZodObject<{
60
+ id: import("zod").ZodString;
61
+ type: import("zod").ZodString;
62
+ }, "strip", import("zod").ZodTypeAny, {
63
+ type: string;
64
+ id: string;
65
+ }, {
66
+ type: string;
67
+ id: string;
68
+ }>;
69
+ }, "strip", import("zod").ZodTypeAny, {
70
+ data: {
71
+ type: string;
72
+ id: string;
73
+ };
74
+ }, {
75
+ data: {
76
+ type: string;
77
+ id: string;
78
+ };
79
+ }>;
80
+ channel: import("zod").ZodObject<{
81
+ data: import("zod").ZodObject<{
82
+ id: import("zod").ZodString;
83
+ type: import("zod").ZodString;
84
+ }, "strip", import("zod").ZodTypeAny, {
85
+ type: string;
86
+ id: string;
87
+ }, {
88
+ type: string;
89
+ id: string;
90
+ }>;
91
+ }, "strip", import("zod").ZodTypeAny, {
92
+ data: {
93
+ type: string;
94
+ id: string;
95
+ };
96
+ }, {
97
+ data: {
98
+ type: string;
99
+ id: string;
100
+ };
101
+ }>;
102
+ property: import("zod").ZodObject<{
103
+ data: import("zod").ZodObject<{
104
+ id: import("zod").ZodString;
105
+ type: import("zod").ZodString;
106
+ }, "strip", import("zod").ZodTypeAny, {
107
+ type: string;
108
+ id: string;
109
+ }, {
110
+ type: string;
111
+ id: string;
112
+ }>;
113
+ }, "strip", import("zod").ZodTypeAny, {
114
+ data: {
115
+ type: string;
116
+ id: string;
117
+ };
118
+ }, {
119
+ data: {
120
+ type: string;
121
+ id: string;
122
+ };
123
+ }>;
124
+ }, "strip", import("zod").ZodTypeAny, {
125
+ channel: {
126
+ data: {
127
+ type: string;
128
+ id: string;
129
+ };
130
+ };
131
+ property: {
132
+ data: {
133
+ type: string;
134
+ id: string;
135
+ };
136
+ };
137
+ booking: {
138
+ data: {
139
+ type: string;
140
+ id: string;
141
+ };
142
+ };
143
+ }, {
144
+ channel: {
145
+ data: {
146
+ type: string;
147
+ id: string;
148
+ };
149
+ };
150
+ property: {
151
+ data: {
152
+ type: string;
153
+ id: string;
154
+ };
155
+ };
156
+ booking: {
157
+ data: {
158
+ type: string;
159
+ id: string;
160
+ };
161
+ };
162
+ }>;
163
+ }, "strip", import("zod").ZodTypeAny, {
164
+ type: string;
165
+ id: string;
166
+ attributes: {
167
+ title: string;
168
+ inserted_at: string;
169
+ is_closed: boolean;
170
+ provider: string;
171
+ message_count: number;
172
+ last_message_received_at: string;
173
+ updated_at: string;
174
+ last_message?: {
175
+ message: string;
176
+ inserted_at: string;
177
+ attachments: string[];
178
+ sender: string;
179
+ } | undefined;
180
+ };
181
+ relationships: {
182
+ channel: {
183
+ data: {
184
+ type: string;
185
+ id: string;
186
+ };
187
+ };
188
+ property: {
189
+ data: {
190
+ type: string;
191
+ id: string;
192
+ };
193
+ };
194
+ booking: {
195
+ data: {
196
+ type: string;
197
+ id: string;
198
+ };
199
+ };
200
+ };
201
+ }, {
202
+ type: string;
203
+ id: string;
204
+ attributes: {
205
+ title: string;
206
+ inserted_at: string;
207
+ is_closed: boolean;
208
+ provider: string;
209
+ message_count: number;
210
+ last_message_received_at: string;
211
+ updated_at: string;
212
+ last_message?: {
213
+ message: string;
214
+ inserted_at: string;
215
+ attachments: string[];
216
+ sender: string;
217
+ } | undefined;
218
+ };
219
+ relationships: {
220
+ channel: {
221
+ data: {
222
+ type: string;
223
+ id: string;
224
+ };
225
+ };
226
+ property: {
227
+ data: {
228
+ type: string;
229
+ id: string;
230
+ };
231
+ };
232
+ booking: {
233
+ data: {
234
+ type: string;
235
+ id: string;
236
+ };
237
+ };
238
+ };
239
+ }>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChannexMessageThreadSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const LastMessageSchema = (0, zod_1.object)({
6
+ attachments: (0, zod_1.array)((0, zod_1.string)()),
7
+ inserted_at: (0, zod_1.string)(),
8
+ message: (0, zod_1.string)(),
9
+ sender: (0, zod_1.string)(),
10
+ });
11
+ const RelationshipDataSchema = (0, zod_1.object)({
12
+ id: (0, zod_1.string)(),
13
+ type: (0, zod_1.string)(),
14
+ });
15
+ const RelationshipsSchema = (0, zod_1.object)({
16
+ booking: (0, zod_1.object)({
17
+ data: RelationshipDataSchema,
18
+ }),
19
+ channel: (0, zod_1.object)({
20
+ data: RelationshipDataSchema,
21
+ }),
22
+ property: (0, zod_1.object)({
23
+ data: RelationshipDataSchema,
24
+ }),
25
+ });
26
+ exports.ChannexMessageThreadSchema = (0, zod_1.object)({
27
+ id: (0, zod_1.string)(),
28
+ type: (0, zod_1.string)(),
29
+ attributes: (0, zod_1.object)({
30
+ title: (0, zod_1.string)(),
31
+ is_closed: (0, zod_1.boolean)(),
32
+ provider: (0, zod_1.string)(),
33
+ message_count: (0, zod_1.number)(),
34
+ last_message: LastMessageSchema.optional(),
35
+ last_message_received_at: (0, zod_1.string)(),
36
+ inserted_at: (0, zod_1.string)(),
37
+ updated_at: (0, zod_1.string)(),
38
+ }),
39
+ relationships: RelationshipsSchema,
40
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",