@livdot-tech/contracts 1.3.0 → 1.3.2

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.
Files changed (113) hide show
  1. package/dist/auth/index.d.mts +30 -132
  2. package/dist/auth/index.d.ts +30 -132
  3. package/dist/auth/index.js +1 -1
  4. package/dist/auth/index.mjs +1 -1
  5. package/dist/booking/index.d.mts +35 -183
  6. package/dist/booking/index.d.ts +35 -183
  7. package/dist/booking/index.js +1 -1
  8. package/dist/booking/index.mjs +1 -1
  9. package/dist/chunk-26JAML7N.js +2 -0
  10. package/dist/chunk-26JAML7N.js.map +1 -0
  11. package/dist/chunk-2HCYHD66.mjs +2 -0
  12. package/dist/chunk-2HCYHD66.mjs.map +1 -0
  13. package/dist/chunk-4YYJEPT6.js +2 -0
  14. package/dist/chunk-4YYJEPT6.js.map +1 -0
  15. package/dist/chunk-C7FWAE4X.js +2 -0
  16. package/dist/chunk-C7FWAE4X.js.map +1 -0
  17. package/dist/chunk-CWGSFDFC.mjs +2 -0
  18. package/dist/chunk-CWGSFDFC.mjs.map +1 -0
  19. package/dist/chunk-DAQYQHNR.js +2 -0
  20. package/dist/chunk-DAQYQHNR.js.map +1 -0
  21. package/dist/chunk-FE3AMYQL.mjs +2 -0
  22. package/dist/chunk-FE3AMYQL.mjs.map +1 -0
  23. package/dist/chunk-GKYB3J5L.js +2 -0
  24. package/dist/chunk-GKYB3J5L.js.map +1 -0
  25. package/dist/chunk-HKU2VYQL.mjs +2 -0
  26. package/dist/chunk-HKU2VYQL.mjs.map +1 -0
  27. package/dist/chunk-I62TAYOH.js +2 -0
  28. package/dist/chunk-I62TAYOH.js.map +1 -0
  29. package/dist/chunk-JY2QSZFF.mjs +2 -0
  30. package/dist/chunk-JY2QSZFF.mjs.map +1 -0
  31. package/dist/chunk-MIIRC5BK.mjs +2 -0
  32. package/dist/chunk-MIIRC5BK.mjs.map +1 -0
  33. package/dist/chunk-SA4F4CDG.mjs +2 -0
  34. package/dist/chunk-SA4F4CDG.mjs.map +1 -0
  35. package/dist/chunk-SOOB6WM6.mjs +2 -0
  36. package/dist/chunk-SOOB6WM6.mjs.map +1 -0
  37. package/dist/chunk-UNCRGZ3F.js +2 -0
  38. package/dist/chunk-UNCRGZ3F.js.map +1 -0
  39. package/dist/chunk-VPAZHULG.js +2 -0
  40. package/dist/chunk-VPAZHULG.js.map +1 -0
  41. package/dist/chunk-ZOBM5OSW.js +2 -0
  42. package/dist/chunk-ZOBM5OSW.js.map +1 -0
  43. package/dist/chunk-ZWWSPLKF.mjs +2 -0
  44. package/dist/chunk-ZWWSPLKF.mjs.map +1 -0
  45. package/dist/common/index.d.mts +6 -214
  46. package/dist/common/index.d.ts +6 -214
  47. package/dist/common/index.js +1 -1
  48. package/dist/common/index.mjs +1 -1
  49. package/dist/dispute/index.d.mts +12 -42
  50. package/dist/dispute/index.d.ts +12 -42
  51. package/dist/dispute/index.js +1 -1
  52. package/dist/dispute/index.mjs +1 -1
  53. package/dist/event/index.d.mts +773 -148
  54. package/dist/event/index.d.ts +773 -148
  55. package/dist/event/index.js +1 -1
  56. package/dist/event/index.mjs +1 -1
  57. package/dist/index.d.mts +2 -2
  58. package/dist/index.d.ts +2 -2
  59. package/dist/index.js +1 -1
  60. package/dist/index.mjs +1 -1
  61. package/dist/notification/index.d.mts +11 -41
  62. package/dist/notification/index.d.ts +11 -41
  63. package/dist/notification/index.js +1 -1
  64. package/dist/notification/index.mjs +1 -1
  65. package/dist/payment/index.d.mts +15 -67
  66. package/dist/payment/index.d.ts +15 -67
  67. package/dist/payment/index.js +1 -1
  68. package/dist/payment/index.mjs +1 -1
  69. package/dist/streaming/index.d.mts +8 -42
  70. package/dist/streaming/index.d.ts +8 -42
  71. package/dist/streaming/index.js +1 -1
  72. package/dist/streaming/index.mjs +1 -1
  73. package/dist/user/index.d.mts +184 -304
  74. package/dist/user/index.d.ts +184 -304
  75. package/dist/user/index.js +1 -1
  76. package/dist/user/index.mjs +1 -1
  77. package/package.json +6 -5
  78. package/dist/chunk-6GDUDLP2.js +0 -2
  79. package/dist/chunk-6GDUDLP2.js.map +0 -1
  80. package/dist/chunk-6UTUVCOM.mjs +0 -2
  81. package/dist/chunk-6UTUVCOM.mjs.map +0 -1
  82. package/dist/chunk-6ZN2TPBZ.js +0 -2
  83. package/dist/chunk-6ZN2TPBZ.js.map +0 -1
  84. package/dist/chunk-726BT6I5.js +0 -2
  85. package/dist/chunk-726BT6I5.js.map +0 -1
  86. package/dist/chunk-C2QIE2HZ.js +0 -2
  87. package/dist/chunk-C2QIE2HZ.js.map +0 -1
  88. package/dist/chunk-CIV62KPR.mjs +0 -2
  89. package/dist/chunk-CIV62KPR.mjs.map +0 -1
  90. package/dist/chunk-DF4E66H2.mjs +0 -2
  91. package/dist/chunk-DF4E66H2.mjs.map +0 -1
  92. package/dist/chunk-F663RS3D.js +0 -2
  93. package/dist/chunk-F663RS3D.js.map +0 -1
  94. package/dist/chunk-GY7PCU2T.js +0 -2
  95. package/dist/chunk-GY7PCU2T.js.map +0 -1
  96. package/dist/chunk-HI6UMYA4.mjs +0 -2
  97. package/dist/chunk-HI6UMYA4.mjs.map +0 -1
  98. package/dist/chunk-IJ2PAFAX.js +0 -2
  99. package/dist/chunk-IJ2PAFAX.js.map +0 -1
  100. package/dist/chunk-NSBUBEZK.mjs +0 -2
  101. package/dist/chunk-NSBUBEZK.mjs.map +0 -1
  102. package/dist/chunk-PHGWWUP2.mjs +0 -2
  103. package/dist/chunk-PHGWWUP2.mjs.map +0 -1
  104. package/dist/chunk-T7C4AYVD.mjs +0 -2
  105. package/dist/chunk-T7C4AYVD.mjs.map +0 -1
  106. package/dist/chunk-UDHBQDRU.js +0 -2
  107. package/dist/chunk-UDHBQDRU.js.map +0 -1
  108. package/dist/chunk-WCT4N7NS.mjs +0 -2
  109. package/dist/chunk-WCT4N7NS.mjs.map +0 -1
  110. package/dist/chunk-WEET4HBJ.mjs +0 -2
  111. package/dist/chunk-WEET4HBJ.mjs.map +0 -1
  112. package/dist/chunk-ZFINSMCH.js +0 -2
  113. package/dist/chunk-ZFINSMCH.js.map +0 -1
@@ -4,28 +4,16 @@ import { z } from 'zod';
4
4
  * Standard API response wrapper for all LivDot endpoints.
5
5
  * @template T The type of the data payload.
6
6
  */
7
- declare const ApiResponseSchema: <T extends z.ZodTypeAny>(dataSchema: T) => z.ZodObject<{
7
+ declare const ApiResponseSchema: <T extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>(dataSchema: T) => z.ZodObject<{
8
8
  success: z.ZodBoolean;
9
9
  data: z.ZodOptional<T>;
10
10
  error: z.ZodOptional<z.ZodObject<{
11
- type: z.ZodString;
11
+ type: z.ZodURL;
12
12
  title: z.ZodString;
13
13
  status: z.ZodNumber;
14
14
  detail: z.ZodString;
15
15
  instance: z.ZodOptional<z.ZodString>;
16
- }, "strip", z.ZodTypeAny, {
17
- type: string;
18
- status: number;
19
- title: string;
20
- detail: string;
21
- instance?: string | undefined;
22
- }, {
23
- type: string;
24
- status: number;
25
- title: string;
26
- detail: string;
27
- instance?: string | undefined;
28
- }>>;
16
+ }, z.core.$strip>>;
29
17
  meta: z.ZodOptional<z.ZodObject<{
30
18
  page: z.ZodNumber;
31
19
  limit: z.ZodNumber;
@@ -33,211 +21,15 @@ declare const ApiResponseSchema: <T extends z.ZodTypeAny>(dataSchema: T) => z.Zo
33
21
  totalPages: z.ZodNumber;
34
22
  hasNext: z.ZodBoolean;
35
23
  hasPrev: z.ZodBoolean;
36
- }, "strip", z.ZodTypeAny, {
37
- page: number;
38
- limit: number;
39
- total: number;
40
- totalPages: number;
41
- hasNext: boolean;
42
- hasPrev: boolean;
43
- }, {
44
- page: number;
45
- limit: number;
46
- total: number;
47
- totalPages: number;
48
- hasNext: boolean;
49
- hasPrev: boolean;
50
- }>>;
51
- }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
52
- success: z.ZodBoolean;
53
- data: z.ZodOptional<T>;
54
- error: z.ZodOptional<z.ZodObject<{
55
- type: z.ZodString;
56
- title: z.ZodString;
57
- status: z.ZodNumber;
58
- detail: z.ZodString;
59
- instance: z.ZodOptional<z.ZodString>;
60
- }, "strip", z.ZodTypeAny, {
61
- type: string;
62
- status: number;
63
- title: string;
64
- detail: string;
65
- instance?: string | undefined;
66
- }, {
67
- type: string;
68
- status: number;
69
- title: string;
70
- detail: string;
71
- instance?: string | undefined;
72
- }>>;
73
- meta: z.ZodOptional<z.ZodObject<{
74
- page: z.ZodNumber;
75
- limit: z.ZodNumber;
76
- total: z.ZodNumber;
77
- totalPages: z.ZodNumber;
78
- hasNext: z.ZodBoolean;
79
- hasPrev: z.ZodBoolean;
80
- }, "strip", z.ZodTypeAny, {
81
- page: number;
82
- limit: number;
83
- total: number;
84
- totalPages: number;
85
- hasNext: boolean;
86
- hasPrev: boolean;
87
- }, {
88
- page: number;
89
- limit: number;
90
- total: number;
91
- totalPages: number;
92
- hasNext: boolean;
93
- hasPrev: boolean;
94
- }>>;
95
- }>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
96
- success: z.ZodBoolean;
97
- data: z.ZodOptional<T>;
98
- error: z.ZodOptional<z.ZodObject<{
99
- type: z.ZodString;
100
- title: z.ZodString;
101
- status: z.ZodNumber;
102
- detail: z.ZodString;
103
- instance: z.ZodOptional<z.ZodString>;
104
- }, "strip", z.ZodTypeAny, {
105
- type: string;
106
- status: number;
107
- title: string;
108
- detail: string;
109
- instance?: string | undefined;
110
- }, {
111
- type: string;
112
- status: number;
113
- title: string;
114
- detail: string;
115
- instance?: string | undefined;
116
- }>>;
117
- meta: z.ZodOptional<z.ZodObject<{
118
- page: z.ZodNumber;
119
- limit: z.ZodNumber;
120
- total: z.ZodNumber;
121
- totalPages: z.ZodNumber;
122
- hasNext: z.ZodBoolean;
123
- hasPrev: z.ZodBoolean;
124
- }, "strip", z.ZodTypeAny, {
125
- page: number;
126
- limit: number;
127
- total: number;
128
- totalPages: number;
129
- hasNext: boolean;
130
- hasPrev: boolean;
131
- }, {
132
- page: number;
133
- limit: number;
134
- total: number;
135
- totalPages: number;
136
- hasNext: boolean;
137
- hasPrev: boolean;
138
- }>>;
139
- }>, any>[k]; } : never, z.baseObjectInputType<{
140
- success: z.ZodBoolean;
141
- data: z.ZodOptional<T>;
142
- error: z.ZodOptional<z.ZodObject<{
143
- type: z.ZodString;
144
- title: z.ZodString;
145
- status: z.ZodNumber;
146
- detail: z.ZodString;
147
- instance: z.ZodOptional<z.ZodString>;
148
- }, "strip", z.ZodTypeAny, {
149
- type: string;
150
- status: number;
151
- title: string;
152
- detail: string;
153
- instance?: string | undefined;
154
- }, {
155
- type: string;
156
- status: number;
157
- title: string;
158
- detail: string;
159
- instance?: string | undefined;
160
- }>>;
161
- meta: z.ZodOptional<z.ZodObject<{
162
- page: z.ZodNumber;
163
- limit: z.ZodNumber;
164
- total: z.ZodNumber;
165
- totalPages: z.ZodNumber;
166
- hasNext: z.ZodBoolean;
167
- hasPrev: z.ZodBoolean;
168
- }, "strip", z.ZodTypeAny, {
169
- page: number;
170
- limit: number;
171
- total: number;
172
- totalPages: number;
173
- hasNext: boolean;
174
- hasPrev: boolean;
175
- }, {
176
- page: number;
177
- limit: number;
178
- total: number;
179
- totalPages: number;
180
- hasNext: boolean;
181
- hasPrev: boolean;
182
- }>>;
183
- }> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<{
184
- success: z.ZodBoolean;
185
- data: z.ZodOptional<T>;
186
- error: z.ZodOptional<z.ZodObject<{
187
- type: z.ZodString;
188
- title: z.ZodString;
189
- status: z.ZodNumber;
190
- detail: z.ZodString;
191
- instance: z.ZodOptional<z.ZodString>;
192
- }, "strip", z.ZodTypeAny, {
193
- type: string;
194
- status: number;
195
- title: string;
196
- detail: string;
197
- instance?: string | undefined;
198
- }, {
199
- type: string;
200
- status: number;
201
- title: string;
202
- detail: string;
203
- instance?: string | undefined;
204
- }>>;
205
- meta: z.ZodOptional<z.ZodObject<{
206
- page: z.ZodNumber;
207
- limit: z.ZodNumber;
208
- total: z.ZodNumber;
209
- totalPages: z.ZodNumber;
210
- hasNext: z.ZodBoolean;
211
- hasPrev: z.ZodBoolean;
212
- }, "strip", z.ZodTypeAny, {
213
- page: number;
214
- limit: number;
215
- total: number;
216
- totalPages: number;
217
- hasNext: boolean;
218
- hasPrev: boolean;
219
- }, {
220
- page: number;
221
- limit: number;
222
- total: number;
223
- totalPages: number;
224
- hasNext: boolean;
225
- hasPrev: boolean;
226
- }>>;
227
- }>[k_1]; } : never>;
24
+ }, z.core.$strip>>;
25
+ }, z.core.$strip>;
228
26
  /**
229
27
  * Common pagination parameters.
230
28
  */
231
29
  declare const PaginationParamsSchema: z.ZodObject<{
232
30
  page: z.ZodDefault<z.ZodNumber>;
233
31
  limit: z.ZodDefault<z.ZodNumber>;
234
- }, "strip", z.ZodTypeAny, {
235
- page: number;
236
- limit: number;
237
- }, {
238
- page?: number | undefined;
239
- limit?: number | undefined;
240
- }>;
32
+ }, z.core.$strip>;
241
33
  type PaginationParams = z.infer<typeof PaginationParamsSchema>;
242
34
 
243
35
  /**
@@ -4,28 +4,16 @@ import { z } from 'zod';
4
4
  * Standard API response wrapper for all LivDot endpoints.
5
5
  * @template T The type of the data payload.
6
6
  */
7
- declare const ApiResponseSchema: <T extends z.ZodTypeAny>(dataSchema: T) => z.ZodObject<{
7
+ declare const ApiResponseSchema: <T extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>(dataSchema: T) => z.ZodObject<{
8
8
  success: z.ZodBoolean;
9
9
  data: z.ZodOptional<T>;
10
10
  error: z.ZodOptional<z.ZodObject<{
11
- type: z.ZodString;
11
+ type: z.ZodURL;
12
12
  title: z.ZodString;
13
13
  status: z.ZodNumber;
14
14
  detail: z.ZodString;
15
15
  instance: z.ZodOptional<z.ZodString>;
16
- }, "strip", z.ZodTypeAny, {
17
- type: string;
18
- status: number;
19
- title: string;
20
- detail: string;
21
- instance?: string | undefined;
22
- }, {
23
- type: string;
24
- status: number;
25
- title: string;
26
- detail: string;
27
- instance?: string | undefined;
28
- }>>;
16
+ }, z.core.$strip>>;
29
17
  meta: z.ZodOptional<z.ZodObject<{
30
18
  page: z.ZodNumber;
31
19
  limit: z.ZodNumber;
@@ -33,211 +21,15 @@ declare const ApiResponseSchema: <T extends z.ZodTypeAny>(dataSchema: T) => z.Zo
33
21
  totalPages: z.ZodNumber;
34
22
  hasNext: z.ZodBoolean;
35
23
  hasPrev: z.ZodBoolean;
36
- }, "strip", z.ZodTypeAny, {
37
- page: number;
38
- limit: number;
39
- total: number;
40
- totalPages: number;
41
- hasNext: boolean;
42
- hasPrev: boolean;
43
- }, {
44
- page: number;
45
- limit: number;
46
- total: number;
47
- totalPages: number;
48
- hasNext: boolean;
49
- hasPrev: boolean;
50
- }>>;
51
- }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
52
- success: z.ZodBoolean;
53
- data: z.ZodOptional<T>;
54
- error: z.ZodOptional<z.ZodObject<{
55
- type: z.ZodString;
56
- title: z.ZodString;
57
- status: z.ZodNumber;
58
- detail: z.ZodString;
59
- instance: z.ZodOptional<z.ZodString>;
60
- }, "strip", z.ZodTypeAny, {
61
- type: string;
62
- status: number;
63
- title: string;
64
- detail: string;
65
- instance?: string | undefined;
66
- }, {
67
- type: string;
68
- status: number;
69
- title: string;
70
- detail: string;
71
- instance?: string | undefined;
72
- }>>;
73
- meta: z.ZodOptional<z.ZodObject<{
74
- page: z.ZodNumber;
75
- limit: z.ZodNumber;
76
- total: z.ZodNumber;
77
- totalPages: z.ZodNumber;
78
- hasNext: z.ZodBoolean;
79
- hasPrev: z.ZodBoolean;
80
- }, "strip", z.ZodTypeAny, {
81
- page: number;
82
- limit: number;
83
- total: number;
84
- totalPages: number;
85
- hasNext: boolean;
86
- hasPrev: boolean;
87
- }, {
88
- page: number;
89
- limit: number;
90
- total: number;
91
- totalPages: number;
92
- hasNext: boolean;
93
- hasPrev: boolean;
94
- }>>;
95
- }>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
96
- success: z.ZodBoolean;
97
- data: z.ZodOptional<T>;
98
- error: z.ZodOptional<z.ZodObject<{
99
- type: z.ZodString;
100
- title: z.ZodString;
101
- status: z.ZodNumber;
102
- detail: z.ZodString;
103
- instance: z.ZodOptional<z.ZodString>;
104
- }, "strip", z.ZodTypeAny, {
105
- type: string;
106
- status: number;
107
- title: string;
108
- detail: string;
109
- instance?: string | undefined;
110
- }, {
111
- type: string;
112
- status: number;
113
- title: string;
114
- detail: string;
115
- instance?: string | undefined;
116
- }>>;
117
- meta: z.ZodOptional<z.ZodObject<{
118
- page: z.ZodNumber;
119
- limit: z.ZodNumber;
120
- total: z.ZodNumber;
121
- totalPages: z.ZodNumber;
122
- hasNext: z.ZodBoolean;
123
- hasPrev: z.ZodBoolean;
124
- }, "strip", z.ZodTypeAny, {
125
- page: number;
126
- limit: number;
127
- total: number;
128
- totalPages: number;
129
- hasNext: boolean;
130
- hasPrev: boolean;
131
- }, {
132
- page: number;
133
- limit: number;
134
- total: number;
135
- totalPages: number;
136
- hasNext: boolean;
137
- hasPrev: boolean;
138
- }>>;
139
- }>, any>[k]; } : never, z.baseObjectInputType<{
140
- success: z.ZodBoolean;
141
- data: z.ZodOptional<T>;
142
- error: z.ZodOptional<z.ZodObject<{
143
- type: z.ZodString;
144
- title: z.ZodString;
145
- status: z.ZodNumber;
146
- detail: z.ZodString;
147
- instance: z.ZodOptional<z.ZodString>;
148
- }, "strip", z.ZodTypeAny, {
149
- type: string;
150
- status: number;
151
- title: string;
152
- detail: string;
153
- instance?: string | undefined;
154
- }, {
155
- type: string;
156
- status: number;
157
- title: string;
158
- detail: string;
159
- instance?: string | undefined;
160
- }>>;
161
- meta: z.ZodOptional<z.ZodObject<{
162
- page: z.ZodNumber;
163
- limit: z.ZodNumber;
164
- total: z.ZodNumber;
165
- totalPages: z.ZodNumber;
166
- hasNext: z.ZodBoolean;
167
- hasPrev: z.ZodBoolean;
168
- }, "strip", z.ZodTypeAny, {
169
- page: number;
170
- limit: number;
171
- total: number;
172
- totalPages: number;
173
- hasNext: boolean;
174
- hasPrev: boolean;
175
- }, {
176
- page: number;
177
- limit: number;
178
- total: number;
179
- totalPages: number;
180
- hasNext: boolean;
181
- hasPrev: boolean;
182
- }>>;
183
- }> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<{
184
- success: z.ZodBoolean;
185
- data: z.ZodOptional<T>;
186
- error: z.ZodOptional<z.ZodObject<{
187
- type: z.ZodString;
188
- title: z.ZodString;
189
- status: z.ZodNumber;
190
- detail: z.ZodString;
191
- instance: z.ZodOptional<z.ZodString>;
192
- }, "strip", z.ZodTypeAny, {
193
- type: string;
194
- status: number;
195
- title: string;
196
- detail: string;
197
- instance?: string | undefined;
198
- }, {
199
- type: string;
200
- status: number;
201
- title: string;
202
- detail: string;
203
- instance?: string | undefined;
204
- }>>;
205
- meta: z.ZodOptional<z.ZodObject<{
206
- page: z.ZodNumber;
207
- limit: z.ZodNumber;
208
- total: z.ZodNumber;
209
- totalPages: z.ZodNumber;
210
- hasNext: z.ZodBoolean;
211
- hasPrev: z.ZodBoolean;
212
- }, "strip", z.ZodTypeAny, {
213
- page: number;
214
- limit: number;
215
- total: number;
216
- totalPages: number;
217
- hasNext: boolean;
218
- hasPrev: boolean;
219
- }, {
220
- page: number;
221
- limit: number;
222
- total: number;
223
- totalPages: number;
224
- hasNext: boolean;
225
- hasPrev: boolean;
226
- }>>;
227
- }>[k_1]; } : never>;
24
+ }, z.core.$strip>>;
25
+ }, z.core.$strip>;
228
26
  /**
229
27
  * Common pagination parameters.
230
28
  */
231
29
  declare const PaginationParamsSchema: z.ZodObject<{
232
30
  page: z.ZodDefault<z.ZodNumber>;
233
31
  limit: z.ZodDefault<z.ZodNumber>;
234
- }, "strip", z.ZodTypeAny, {
235
- page: number;
236
- limit: number;
237
- }, {
238
- page?: number | undefined;
239
- limit?: number | undefined;
240
- }>;
32
+ }, z.core.$strip>;
241
33
  type PaginationParams = z.infer<typeof PaginationParamsSchema>;
242
34
 
243
35
  /**
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkF663RS3D_js=require('../chunk-F663RS3D.js');Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkF663RS3D_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkF663RS3D_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkF663RS3D_js.c}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkGKYB3J5L_js=require('../chunk-GKYB3J5L.js');Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkGKYB3J5L_js.c}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{a as ApiResponseSchema,b as PaginationParamsSchema,c as ResponseMessages}from'../chunk-WEET4HBJ.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{a as ApiResponseSchema,b as PaginationParamsSchema,c as ResponseMessages}from'../chunk-FE3AMYQL.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -17,12 +17,12 @@ declare const DisputeStatus: {
17
17
  type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];
18
18
 
19
19
  declare const DisputeResponseSchema: z.ZodObject<{
20
- id: z.ZodString;
21
- transactionId: z.ZodString;
22
- eventId: z.ZodOptional<z.ZodString>;
23
- bookingId: z.ZodOptional<z.ZodString>;
24
- userId: z.ZodString;
25
- disputeType: z.ZodNativeEnum<{
20
+ id: z.ZodUUID;
21
+ transactionId: z.ZodUUID;
22
+ eventId: z.ZodOptional<z.ZodUUID>;
23
+ bookingId: z.ZodOptional<z.ZodUUID>;
24
+ userId: z.ZodUUID;
25
+ disputeType: z.ZodEnum<{
26
26
  readonly SERVICE_NOT_DELIVERED: "SERVICE_NOT_DELIVERED";
27
27
  readonly QUALITY_ISSUE: "QUALITY_ISSUE";
28
28
  readonly PAYMENT_DISPUTE: "PAYMENT_DISPUTE";
@@ -31,48 +31,18 @@ declare const DisputeResponseSchema: z.ZodObject<{
31
31
  }>;
32
32
  reason: z.ZodString;
33
33
  amountInDispute: z.ZodNumber;
34
- disputeStatus: z.ZodNativeEnum<{
34
+ disputeStatus: z.ZodEnum<{
35
35
  readonly OPEN: "OPEN";
36
36
  readonly UNDER_REVIEW: "UNDER_REVIEW";
37
37
  readonly RESOLVED: "RESOLVED";
38
38
  readonly CLOSED: "CLOSED";
39
39
  }>;
40
40
  resolution: z.ZodOptional<z.ZodString>;
41
- reportedAt: z.ZodString;
42
- slaDeadline: z.ZodString;
43
- resolvedAt: z.ZodOptional<z.ZodString>;
44
- createdAt: z.ZodString;
45
- }, "strip", z.ZodTypeAny, {
46
- id: string;
47
- userId: string;
48
- createdAt: string;
49
- transactionId: string;
50
- disputeType: "OTHER" | "SERVICE_NOT_DELIVERED" | "QUALITY_ISSUE" | "PAYMENT_DISPUTE" | "CANCELLATION_DISPUTE";
51
- reason: string;
52
- amountInDispute: number;
53
- disputeStatus: "CLOSED" | "OPEN" | "UNDER_REVIEW" | "RESOLVED";
54
- reportedAt: string;
55
- slaDeadline: string;
56
- eventId?: string | undefined;
57
- bookingId?: string | undefined;
58
- resolution?: string | undefined;
59
- resolvedAt?: string | undefined;
60
- }, {
61
- id: string;
62
- userId: string;
63
- createdAt: string;
64
- transactionId: string;
65
- disputeType: "OTHER" | "SERVICE_NOT_DELIVERED" | "QUALITY_ISSUE" | "PAYMENT_DISPUTE" | "CANCELLATION_DISPUTE";
66
- reason: string;
67
- amountInDispute: number;
68
- disputeStatus: "CLOSED" | "OPEN" | "UNDER_REVIEW" | "RESOLVED";
69
- reportedAt: string;
70
- slaDeadline: string;
71
- eventId?: string | undefined;
72
- bookingId?: string | undefined;
73
- resolution?: string | undefined;
74
- resolvedAt?: string | undefined;
75
- }>;
41
+ reportedAt: z.ZodISODateTime;
42
+ slaDeadline: z.ZodISODateTime;
43
+ resolvedAt: z.ZodOptional<z.ZodISODateTime>;
44
+ createdAt: z.ZodISODateTime;
45
+ }, z.core.$strip>;
76
46
 
77
47
  type DisputeResponse = z.infer<typeof DisputeResponseSchema>;
78
48
 
@@ -17,12 +17,12 @@ declare const DisputeStatus: {
17
17
  type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];
18
18
 
19
19
  declare const DisputeResponseSchema: z.ZodObject<{
20
- id: z.ZodString;
21
- transactionId: z.ZodString;
22
- eventId: z.ZodOptional<z.ZodString>;
23
- bookingId: z.ZodOptional<z.ZodString>;
24
- userId: z.ZodString;
25
- disputeType: z.ZodNativeEnum<{
20
+ id: z.ZodUUID;
21
+ transactionId: z.ZodUUID;
22
+ eventId: z.ZodOptional<z.ZodUUID>;
23
+ bookingId: z.ZodOptional<z.ZodUUID>;
24
+ userId: z.ZodUUID;
25
+ disputeType: z.ZodEnum<{
26
26
  readonly SERVICE_NOT_DELIVERED: "SERVICE_NOT_DELIVERED";
27
27
  readonly QUALITY_ISSUE: "QUALITY_ISSUE";
28
28
  readonly PAYMENT_DISPUTE: "PAYMENT_DISPUTE";
@@ -31,48 +31,18 @@ declare const DisputeResponseSchema: z.ZodObject<{
31
31
  }>;
32
32
  reason: z.ZodString;
33
33
  amountInDispute: z.ZodNumber;
34
- disputeStatus: z.ZodNativeEnum<{
34
+ disputeStatus: z.ZodEnum<{
35
35
  readonly OPEN: "OPEN";
36
36
  readonly UNDER_REVIEW: "UNDER_REVIEW";
37
37
  readonly RESOLVED: "RESOLVED";
38
38
  readonly CLOSED: "CLOSED";
39
39
  }>;
40
40
  resolution: z.ZodOptional<z.ZodString>;
41
- reportedAt: z.ZodString;
42
- slaDeadline: z.ZodString;
43
- resolvedAt: z.ZodOptional<z.ZodString>;
44
- createdAt: z.ZodString;
45
- }, "strip", z.ZodTypeAny, {
46
- id: string;
47
- userId: string;
48
- createdAt: string;
49
- transactionId: string;
50
- disputeType: "OTHER" | "SERVICE_NOT_DELIVERED" | "QUALITY_ISSUE" | "PAYMENT_DISPUTE" | "CANCELLATION_DISPUTE";
51
- reason: string;
52
- amountInDispute: number;
53
- disputeStatus: "CLOSED" | "OPEN" | "UNDER_REVIEW" | "RESOLVED";
54
- reportedAt: string;
55
- slaDeadline: string;
56
- eventId?: string | undefined;
57
- bookingId?: string | undefined;
58
- resolution?: string | undefined;
59
- resolvedAt?: string | undefined;
60
- }, {
61
- id: string;
62
- userId: string;
63
- createdAt: string;
64
- transactionId: string;
65
- disputeType: "OTHER" | "SERVICE_NOT_DELIVERED" | "QUALITY_ISSUE" | "PAYMENT_DISPUTE" | "CANCELLATION_DISPUTE";
66
- reason: string;
67
- amountInDispute: number;
68
- disputeStatus: "CLOSED" | "OPEN" | "UNDER_REVIEW" | "RESOLVED";
69
- reportedAt: string;
70
- slaDeadline: string;
71
- eventId?: string | undefined;
72
- bookingId?: string | undefined;
73
- resolution?: string | undefined;
74
- resolvedAt?: string | undefined;
75
- }>;
41
+ reportedAt: z.ZodISODateTime;
42
+ slaDeadline: z.ZodISODateTime;
43
+ resolvedAt: z.ZodOptional<z.ZodISODateTime>;
44
+ createdAt: z.ZodISODateTime;
45
+ }, z.core.$strip>;
76
46
 
77
47
  type DisputeResponse = z.infer<typeof DisputeResponseSchema>;
78
48
 
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkIJ2PAFAX_js=require('../chunk-IJ2PAFAX.js');Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkIJ2PAFAX_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkIJ2PAFAX_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkIJ2PAFAX_js.a}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkZOBM5OSW_js=require('../chunk-ZOBM5OSW.js');Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkZOBM5OSW_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkZOBM5OSW_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkZOBM5OSW_js.a}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'../chunk-NSBUBEZK.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'../chunk-CWGSFDFC.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map