@kl1/contracts 1.0.36 → 1.0.38

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.
@@ -130,7 +130,7 @@ export declare const messengerContract: {
130
130
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
131
131
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
132
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
133
- actor: z.ZodObject<{
133
+ actor: z.ZodOptional<z.ZodObject<{
134
134
  id: z.ZodString;
135
135
  name: z.ZodString;
136
136
  email: z.ZodString;
@@ -148,7 +148,7 @@ export declare const messengerContract: {
148
148
  name: string;
149
149
  email: string;
150
150
  phone: string | null;
151
- }>;
151
+ }>>;
152
152
  }, "strip", z.ZodTypeAny, {
153
153
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
154
154
  name: string;
@@ -161,15 +161,15 @@ export declare const messengerContract: {
161
161
  status: boolean;
162
162
  brandName: string;
163
163
  platformId: string;
164
- actor: {
164
+ connectedUserName?: string | null | undefined;
165
+ connectedUserId?: string | null | undefined;
166
+ actor?: {
165
167
  id: string;
166
168
  address: string | null;
167
169
  name: string;
168
170
  email: string;
169
171
  phone: string | null;
170
- };
171
- connectedUserName?: string | null | undefined;
172
- connectedUserId?: string | null | undefined;
172
+ } | undefined;
173
173
  }, {
174
174
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
175
175
  name: string;
@@ -182,15 +182,15 @@ export declare const messengerContract: {
182
182
  status: boolean;
183
183
  brandName: string;
184
184
  platformId: string;
185
- actor: {
185
+ connectedUserName?: string | null | undefined;
186
+ connectedUserId?: string | null | undefined;
187
+ actor?: {
186
188
  id: string;
187
189
  address: string | null;
188
190
  name: string;
189
191
  email: string;
190
192
  phone: string | null;
191
- };
192
- connectedUserName?: string | null | undefined;
193
- connectedUserId?: string | null | undefined;
193
+ } | undefined;
194
194
  }>;
195
195
  }, "strip", z.ZodTypeAny, {
196
196
  id: string;
@@ -206,15 +206,15 @@ export declare const messengerContract: {
206
206
  status: boolean;
207
207
  brandName: string;
208
208
  platformId: string;
209
- actor: {
209
+ connectedUserName?: string | null | undefined;
210
+ connectedUserId?: string | null | undefined;
211
+ actor?: {
210
212
  id: string;
211
213
  address: string | null;
212
214
  name: string;
213
215
  email: string;
214
216
  phone: string | null;
215
- };
216
- connectedUserName?: string | null | undefined;
217
- connectedUserId?: string | null | undefined;
217
+ } | undefined;
218
218
  };
219
219
  direction: "incoming" | "outgoing" | "system";
220
220
  actor: {
@@ -259,15 +259,15 @@ export declare const messengerContract: {
259
259
  status: boolean;
260
260
  brandName: string;
261
261
  platformId: string;
262
- actor: {
262
+ connectedUserName?: string | null | undefined;
263
+ connectedUserId?: string | null | undefined;
264
+ actor?: {
263
265
  id: string;
264
266
  address: string | null;
265
267
  name: string;
266
268
  email: string;
267
269
  phone: string | null;
268
- };
269
- connectedUserName?: string | null | undefined;
270
- connectedUserId?: string | null | undefined;
270
+ } | undefined;
271
271
  };
272
272
  direction: "incoming" | "outgoing" | "system";
273
273
  actor: {
@@ -470,15 +470,15 @@ export declare const messengerContract: {
470
470
  status: boolean;
471
471
  brandName: string;
472
472
  platformId: string;
473
- actor: {
473
+ connectedUserName?: string | null | undefined;
474
+ connectedUserId?: string | null | undefined;
475
+ actor?: {
474
476
  id: string;
475
477
  address: string | null;
476
478
  name: string;
477
479
  email: string;
478
480
  phone: string | null;
479
- };
480
- connectedUserName?: string | null | undefined;
481
- connectedUserId?: string | null | undefined;
481
+ } | undefined;
482
482
  };
483
483
  direction: "incoming" | "outgoing" | "system";
484
484
  actor: {
@@ -557,15 +557,15 @@ export declare const messengerContract: {
557
557
  status: boolean;
558
558
  brandName: string;
559
559
  platformId: string;
560
- actor: {
560
+ connectedUserName?: string | null | undefined;
561
+ connectedUserId?: string | null | undefined;
562
+ actor?: {
561
563
  id: string;
562
564
  address: string | null;
563
565
  name: string;
564
566
  email: string;
565
567
  phone: string | null;
566
- };
567
- connectedUserName?: string | null | undefined;
568
- connectedUserId?: string | null | undefined;
568
+ } | undefined;
569
569
  };
570
570
  direction: "incoming" | "outgoing" | "system";
571
571
  actor: {
@@ -5802,7 +5802,7 @@ export declare const messengerContract: {
5802
5802
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
5803
5803
  connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5804
5804
  connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5805
- actor: z.ZodOptional<z.ZodObject<{
5805
+ actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5806
5806
  id: z.ZodString;
5807
5807
  name: z.ZodString;
5808
5808
  email: z.ZodString;
@@ -5820,7 +5820,7 @@ export declare const messengerContract: {
5820
5820
  name: string;
5821
5821
  email: string;
5822
5822
  phone: string | null;
5823
- }>>;
5823
+ }>>>;
5824
5824
  }, "strip", z.ZodTypeAny, {
5825
5825
  name?: string | undefined;
5826
5826
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
@@ -5892,7 +5892,7 @@ export declare const messengerContract: {
5892
5892
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
5893
5893
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5894
5894
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5895
- actor: z.ZodObject<{
5895
+ actor: z.ZodOptional<z.ZodObject<{
5896
5896
  id: z.ZodString;
5897
5897
  name: z.ZodString;
5898
5898
  email: z.ZodString;
@@ -5910,7 +5910,7 @@ export declare const messengerContract: {
5910
5910
  name: string;
5911
5911
  email: string;
5912
5912
  phone: string | null;
5913
- }>;
5913
+ }>>;
5914
5914
  }, "strip", z.ZodTypeAny, {
5915
5915
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5916
5916
  name: string;
@@ -5923,15 +5923,15 @@ export declare const messengerContract: {
5923
5923
  status: boolean;
5924
5924
  brandName: string;
5925
5925
  platformId: string;
5926
- actor: {
5926
+ connectedUserName?: string | null | undefined;
5927
+ connectedUserId?: string | null | undefined;
5928
+ actor?: {
5927
5929
  id: string;
5928
5930
  address: string | null;
5929
5931
  name: string;
5930
5932
  email: string;
5931
5933
  phone: string | null;
5932
- };
5933
- connectedUserName?: string | null | undefined;
5934
- connectedUserId?: string | null | undefined;
5934
+ } | undefined;
5935
5935
  }, {
5936
5936
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5937
5937
  name: string;
@@ -5944,15 +5944,15 @@ export declare const messengerContract: {
5944
5944
  status: boolean;
5945
5945
  brandName: string;
5946
5946
  platformId: string;
5947
- actor: {
5947
+ connectedUserName?: string | null | undefined;
5948
+ connectedUserId?: string | null | undefined;
5949
+ actor?: {
5948
5950
  id: string;
5949
5951
  address: string | null;
5950
5952
  name: string;
5951
5953
  email: string;
5952
5954
  phone: string | null;
5953
- };
5954
- connectedUserName?: string | null | undefined;
5955
- connectedUserId?: string | null | undefined;
5955
+ } | undefined;
5956
5956
  }>;
5957
5957
  }, "strip", z.ZodTypeAny, {
5958
5958
  data: {
@@ -5967,15 +5967,15 @@ export declare const messengerContract: {
5967
5967
  status: boolean;
5968
5968
  brandName: string;
5969
5969
  platformId: string;
5970
- actor: {
5970
+ connectedUserName?: string | null | undefined;
5971
+ connectedUserId?: string | null | undefined;
5972
+ actor?: {
5971
5973
  id: string;
5972
5974
  address: string | null;
5973
5975
  name: string;
5974
5976
  email: string;
5975
5977
  phone: string | null;
5976
- };
5977
- connectedUserName?: string | null | undefined;
5978
- connectedUserId?: string | null | undefined;
5978
+ } | undefined;
5979
5979
  };
5980
5980
  requestId: string;
5981
5981
  }, {
@@ -5991,15 +5991,15 @@ export declare const messengerContract: {
5991
5991
  status: boolean;
5992
5992
  brandName: string;
5993
5993
  platformId: string;
5994
- actor: {
5994
+ connectedUserName?: string | null | undefined;
5995
+ connectedUserId?: string | null | undefined;
5996
+ actor?: {
5995
5997
  id: string;
5996
5998
  address: string | null;
5997
5999
  name: string;
5998
6000
  email: string;
5999
6001
  phone: string | null;
6000
- };
6001
- connectedUserName?: string | null | undefined;
6002
- connectedUserId?: string | null | undefined;
6002
+ } | undefined;
6003
6003
  };
6004
6004
  requestId: string;
6005
6005
  }>;
@@ -6051,7 +6051,7 @@ export declare const messengerContract: {
6051
6051
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
6052
6052
  connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
6053
6053
  connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
6054
- actor: z.ZodOptional<z.ZodObject<{
6054
+ actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6055
6055
  id: z.ZodString;
6056
6056
  name: z.ZodString;
6057
6057
  email: z.ZodString;
@@ -6069,7 +6069,7 @@ export declare const messengerContract: {
6069
6069
  name: string;
6070
6070
  email: string;
6071
6071
  phone: string | null;
6072
- }>>;
6072
+ }>>>;
6073
6073
  }, "strip", z.ZodTypeAny, {
6074
6074
  name?: string | undefined;
6075
6075
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
@@ -6141,7 +6141,7 @@ export declare const messengerContract: {
6141
6141
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
6142
6142
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6143
6143
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6144
- actor: z.ZodObject<{
6144
+ actor: z.ZodOptional<z.ZodObject<{
6145
6145
  id: z.ZodString;
6146
6146
  name: z.ZodString;
6147
6147
  email: z.ZodString;
@@ -6159,7 +6159,7 @@ export declare const messengerContract: {
6159
6159
  name: string;
6160
6160
  email: string;
6161
6161
  phone: string | null;
6162
- }>;
6162
+ }>>;
6163
6163
  }, "strip", z.ZodTypeAny, {
6164
6164
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6165
6165
  name: string;
@@ -6172,15 +6172,15 @@ export declare const messengerContract: {
6172
6172
  status: boolean;
6173
6173
  brandName: string;
6174
6174
  platformId: string;
6175
- actor: {
6175
+ connectedUserName?: string | null | undefined;
6176
+ connectedUserId?: string | null | undefined;
6177
+ actor?: {
6176
6178
  id: string;
6177
6179
  address: string | null;
6178
6180
  name: string;
6179
6181
  email: string;
6180
6182
  phone: string | null;
6181
- };
6182
- connectedUserName?: string | null | undefined;
6183
- connectedUserId?: string | null | undefined;
6183
+ } | undefined;
6184
6184
  }, {
6185
6185
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6186
6186
  name: string;
@@ -6193,15 +6193,15 @@ export declare const messengerContract: {
6193
6193
  status: boolean;
6194
6194
  brandName: string;
6195
6195
  platformId: string;
6196
- actor: {
6196
+ connectedUserName?: string | null | undefined;
6197
+ connectedUserId?: string | null | undefined;
6198
+ actor?: {
6197
6199
  id: string;
6198
6200
  address: string | null;
6199
6201
  name: string;
6200
6202
  email: string;
6201
6203
  phone: string | null;
6202
- };
6203
- connectedUserName?: string | null | undefined;
6204
- connectedUserId?: string | null | undefined;
6204
+ } | undefined;
6205
6205
  }>;
6206
6206
  }, "strip", z.ZodTypeAny, {
6207
6207
  data: {
@@ -6216,15 +6216,15 @@ export declare const messengerContract: {
6216
6216
  status: boolean;
6217
6217
  brandName: string;
6218
6218
  platformId: string;
6219
- actor: {
6219
+ connectedUserName?: string | null | undefined;
6220
+ connectedUserId?: string | null | undefined;
6221
+ actor?: {
6220
6222
  id: string;
6221
6223
  address: string | null;
6222
6224
  name: string;
6223
6225
  email: string;
6224
6226
  phone: string | null;
6225
- };
6226
- connectedUserName?: string | null | undefined;
6227
- connectedUserId?: string | null | undefined;
6227
+ } | undefined;
6228
6228
  };
6229
6229
  requestId: string;
6230
6230
  }, {
@@ -6240,15 +6240,15 @@ export declare const messengerContract: {
6240
6240
  status: boolean;
6241
6241
  brandName: string;
6242
6242
  platformId: string;
6243
- actor: {
6243
+ connectedUserName?: string | null | undefined;
6244
+ connectedUserId?: string | null | undefined;
6245
+ actor?: {
6244
6246
  id: string;
6245
6247
  address: string | null;
6246
6248
  name: string;
6247
6249
  email: string;
6248
6250
  phone: string | null;
6249
- };
6250
- connectedUserName?: string | null | undefined;
6251
- connectedUserId?: string | null | undefined;
6251
+ } | undefined;
6252
6252
  };
6253
6253
  requestId: string;
6254
6254
  }>;
@@ -6300,7 +6300,7 @@ export declare const messengerContract: {
6300
6300
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
6301
6301
  connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
6302
6302
  connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
6303
- actor: z.ZodOptional<z.ZodObject<{
6303
+ actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6304
6304
  id: z.ZodString;
6305
6305
  name: z.ZodString;
6306
6306
  email: z.ZodString;
@@ -6318,7 +6318,7 @@ export declare const messengerContract: {
6318
6318
  name: string;
6319
6319
  email: string;
6320
6320
  phone: string | null;
6321
- }>>;
6321
+ }>>>;
6322
6322
  }, "strip", z.ZodTypeAny, {
6323
6323
  name?: string | undefined;
6324
6324
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
@@ -6390,7 +6390,7 @@ export declare const messengerContract: {
6390
6390
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
6391
6391
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6392
6392
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6393
- actor: z.ZodObject<{
6393
+ actor: z.ZodOptional<z.ZodObject<{
6394
6394
  id: z.ZodString;
6395
6395
  name: z.ZodString;
6396
6396
  email: z.ZodString;
@@ -6408,7 +6408,7 @@ export declare const messengerContract: {
6408
6408
  name: string;
6409
6409
  email: string;
6410
6410
  phone: string | null;
6411
- }>;
6411
+ }>>;
6412
6412
  }, "strip", z.ZodTypeAny, {
6413
6413
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6414
6414
  name: string;
@@ -6421,15 +6421,15 @@ export declare const messengerContract: {
6421
6421
  status: boolean;
6422
6422
  brandName: string;
6423
6423
  platformId: string;
6424
- actor: {
6424
+ connectedUserName?: string | null | undefined;
6425
+ connectedUserId?: string | null | undefined;
6426
+ actor?: {
6425
6427
  id: string;
6426
6428
  address: string | null;
6427
6429
  name: string;
6428
6430
  email: string;
6429
6431
  phone: string | null;
6430
- };
6431
- connectedUserName?: string | null | undefined;
6432
- connectedUserId?: string | null | undefined;
6432
+ } | undefined;
6433
6433
  }, {
6434
6434
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6435
6435
  name: string;
@@ -6442,15 +6442,15 @@ export declare const messengerContract: {
6442
6442
  status: boolean;
6443
6443
  brandName: string;
6444
6444
  platformId: string;
6445
- actor: {
6445
+ connectedUserName?: string | null | undefined;
6446
+ connectedUserId?: string | null | undefined;
6447
+ actor?: {
6446
6448
  id: string;
6447
6449
  address: string | null;
6448
6450
  name: string;
6449
6451
  email: string;
6450
6452
  phone: string | null;
6451
- };
6452
- connectedUserName?: string | null | undefined;
6453
- connectedUserId?: string | null | undefined;
6453
+ } | undefined;
6454
6454
  }>;
6455
6455
  }, "strip", z.ZodTypeAny, {
6456
6456
  data: {
@@ -6465,15 +6465,15 @@ export declare const messengerContract: {
6465
6465
  status: boolean;
6466
6466
  brandName: string;
6467
6467
  platformId: string;
6468
- actor: {
6468
+ connectedUserName?: string | null | undefined;
6469
+ connectedUserId?: string | null | undefined;
6470
+ actor?: {
6469
6471
  id: string;
6470
6472
  address: string | null;
6471
6473
  name: string;
6472
6474
  email: string;
6473
6475
  phone: string | null;
6474
- };
6475
- connectedUserName?: string | null | undefined;
6476
- connectedUserId?: string | null | undefined;
6476
+ } | undefined;
6477
6477
  };
6478
6478
  requestId: string;
6479
6479
  }, {
@@ -6489,15 +6489,15 @@ export declare const messengerContract: {
6489
6489
  status: boolean;
6490
6490
  brandName: string;
6491
6491
  platformId: string;
6492
- actor: {
6492
+ connectedUserName?: string | null | undefined;
6493
+ connectedUserId?: string | null | undefined;
6494
+ actor?: {
6493
6495
  id: string;
6494
6496
  address: string | null;
6495
6497
  name: string;
6496
6498
  email: string;
6497
6499
  phone: string | null;
6498
- };
6499
- connectedUserName?: string | null | undefined;
6500
- connectedUserId?: string | null | undefined;
6500
+ } | undefined;
6501
6501
  };
6502
6502
  requestId: string;
6503
6503
  }>;