@kl1/contracts 1.0.59 → 1.0.60

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.
@@ -34533,266 +34533,106 @@ export declare const apiContract: {
34533
34533
  contact: {
34534
34534
  create: {
34535
34535
  body: import("zod").ZodObject<{
34536
- name: import("zod").ZodObject<{
34537
- isRequired: import("zod").ZodBoolean;
34538
- attributeId: import("zod").ZodString;
34539
- value: import("zod").ZodString;
34540
- }, "strip", import("zod").ZodTypeAny, {
34541
- value: string;
34542
- isRequired: boolean;
34543
- attributeId: string;
34536
+ name: import("zod").ZodEffects<import("zod").AnyZodObject, {
34537
+ [x: string]: any;
34544
34538
  }, {
34545
- value: string;
34546
- isRequired: boolean;
34547
- attributeId: string;
34539
+ [x: string]: any;
34548
34540
  }>;
34549
- email: import("zod").ZodObject<{
34550
- isRequired: import("zod").ZodBoolean;
34551
- attributeId: import("zod").ZodString;
34552
- value: import("zod").ZodArray<import("zod").ZodObject<{
34553
- email: import("zod").ZodString;
34554
- isPrimary: import("zod").ZodBoolean;
34555
- }, "strip", import("zod").ZodTypeAny, {
34556
- isPrimary: boolean;
34557
- email: string;
34558
- }, {
34559
- isPrimary: boolean;
34560
- email: string;
34561
- }>, "many">;
34562
- }, "strip", import("zod").ZodTypeAny, {
34563
- value: {
34564
- isPrimary: boolean;
34565
- email: string;
34566
- }[];
34567
- isRequired: boolean;
34568
- attributeId: string;
34541
+ email: import("zod").ZodEffects<import("zod").AnyZodObject, {
34542
+ [x: string]: any;
34569
34543
  }, {
34570
- value: {
34571
- isPrimary: boolean;
34572
- email: string;
34573
- }[];
34574
- isRequired: boolean;
34575
- attributeId: string;
34544
+ [x: string]: any;
34576
34545
  }>;
34577
- channel: import("zod").ZodObject<{
34578
- isRequired: import("zod").ZodBoolean;
34579
- attributeId: import("zod").ZodString;
34580
- value: import("zod").ZodString;
34581
- }, "strip", import("zod").ZodTypeAny, {
34582
- value: string;
34583
- isRequired: boolean;
34584
- attributeId: string;
34546
+ channel: import("zod").ZodEffects<import("zod").AnyZodObject, {
34547
+ [x: string]: any;
34585
34548
  }, {
34586
- value: string;
34587
- isRequired: boolean;
34588
- attributeId: string;
34549
+ [x: string]: any;
34589
34550
  }>;
34590
- address: import("zod").ZodObject<{
34591
- isRequired: import("zod").ZodBoolean;
34592
- attributeId: import("zod").ZodString;
34593
- value: import("zod").ZodString;
34594
- }, "strip", import("zod").ZodTypeAny, {
34595
- value: string;
34596
- isRequired: boolean;
34597
- attributeId: string;
34551
+ address: import("zod").ZodEffects<import("zod").AnyZodObject, {
34552
+ [x: string]: any;
34598
34553
  }, {
34599
- value: string;
34600
- isRequired: boolean;
34601
- attributeId: string;
34554
+ [x: string]: any;
34602
34555
  }>;
34603
- phone: import("zod").ZodOptional<import("zod").ZodObject<{
34604
- isRequired: import("zod").ZodBoolean;
34605
- attributeId: import("zod").ZodString;
34606
- value: import("zod").ZodArray<import("zod").ZodObject<{
34607
- phone: import("zod").ZodString;
34608
- isPrimary: import("zod").ZodBoolean;
34609
- }, "strip", import("zod").ZodTypeAny, {
34610
- isPrimary: boolean;
34611
- phone: string;
34612
- }, {
34613
- isPrimary: boolean;
34614
- phone: string;
34615
- }>, "many">;
34616
- }, "strip", import("zod").ZodTypeAny, {
34617
- value: {
34618
- isPrimary: boolean;
34619
- phone: string;
34620
- }[];
34621
- isRequired: boolean;
34622
- attributeId: string;
34556
+ phone: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
34557
+ [x: string]: any;
34623
34558
  }, {
34624
- value: {
34625
- isPrimary: boolean;
34626
- phone: string;
34627
- }[];
34628
- isRequired: boolean;
34629
- attributeId: string;
34559
+ [x: string]: any;
34630
34560
  }>>;
34631
- notes: import("zod").ZodObject<{
34632
- isRequired: import("zod").ZodBoolean;
34633
- attributeId: import("zod").ZodString;
34634
- value: import("zod").ZodString;
34635
- }, "strip", import("zod").ZodTypeAny, {
34636
- value: string;
34637
- isRequired: boolean;
34638
- attributeId: string;
34561
+ notes: import("zod").ZodEffects<import("zod").AnyZodObject, {
34562
+ [x: string]: any;
34639
34563
  }, {
34640
- value: string;
34641
- isRequired: boolean;
34642
- attributeId: string;
34564
+ [x: string]: any;
34643
34565
  }>;
34644
- tags: import("zod").ZodObject<{
34645
- isRequired: import("zod").ZodBoolean;
34646
- attributeId: import("zod").ZodString;
34647
- value: import("zod").ZodArray<import("zod").ZodString, "many">;
34648
- }, "strip", import("zod").ZodTypeAny, {
34649
- value: string[];
34650
- isRequired: boolean;
34651
- attributeId: string;
34566
+ tags: import("zod").ZodEffects<import("zod").AnyZodObject, {
34567
+ [x: string]: any;
34652
34568
  }, {
34653
- value: string[];
34654
- isRequired: boolean;
34655
- attributeId: string;
34569
+ [x: string]: any;
34656
34570
  }>;
34657
- company: import("zod").ZodObject<{
34658
- isRequired: import("zod").ZodBoolean;
34659
- attributeId: import("zod").ZodString;
34660
- value: import("zod").ZodString;
34661
- }, "strip", import("zod").ZodTypeAny, {
34662
- value: string;
34663
- isRequired: boolean;
34664
- attributeId: string;
34571
+ company: import("zod").ZodEffects<import("zod").AnyZodObject, {
34572
+ [x: string]: any;
34665
34573
  }, {
34666
- value: string;
34667
- isRequired: boolean;
34668
- attributeId: string;
34574
+ [x: string]: any;
34669
34575
  }>;
34670
- customFields: import("zod").ZodArray<import("zod").ZodObject<{
34671
- isRequired: import("zod").ZodBoolean;
34672
- attributeId: import("zod").ZodString;
34673
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
34674
- type: import("zod").ZodString;
34675
- isDefaultAttribute: import("zod").ZodBoolean;
34676
- }, "strip", import("zod").ZodTypeAny, {
34677
- type: string;
34678
- value: (string | string[]) & (string | string[] | undefined);
34679
- isRequired: boolean;
34680
- attributeId: string;
34681
- isDefaultAttribute: boolean;
34576
+ customFields: import("zod").ZodArray<import("zod").ZodEffects<import("zod").AnyZodObject, {
34577
+ [x: string]: any;
34682
34578
  }, {
34683
- type: string;
34684
- value: (string | string[]) & (string | string[] | undefined);
34685
- isRequired: boolean;
34686
- attributeId: string;
34687
- isDefaultAttribute: boolean;
34579
+ [x: string]: any;
34688
34580
  }>, "many">;
34689
34581
  }, "strip", import("zod").ZodTypeAny, {
34690
34582
  channel: {
34691
- value: string;
34692
- isRequired: boolean;
34693
- attributeId: string;
34583
+ [x: string]: any;
34694
34584
  };
34695
34585
  address: {
34696
- value: string;
34697
- isRequired: boolean;
34698
- attributeId: string;
34586
+ [x: string]: any;
34699
34587
  };
34700
34588
  name: {
34701
- value: string;
34702
- isRequired: boolean;
34703
- attributeId: string;
34589
+ [x: string]: any;
34704
34590
  };
34705
34591
  email: {
34706
- value: {
34707
- isPrimary: boolean;
34708
- email: string;
34709
- }[];
34710
- isRequired: boolean;
34711
- attributeId: string;
34592
+ [x: string]: any;
34712
34593
  };
34713
34594
  customFields: {
34714
- type: string;
34715
- value: (string | string[]) & (string | string[] | undefined);
34716
- isRequired: boolean;
34717
- attributeId: string;
34718
- isDefaultAttribute: boolean;
34595
+ [x: string]: any;
34719
34596
  }[];
34720
34597
  company: {
34721
- value: string;
34722
- isRequired: boolean;
34723
- attributeId: string;
34598
+ [x: string]: any;
34724
34599
  };
34725
34600
  notes: {
34726
- value: string;
34727
- isRequired: boolean;
34728
- attributeId: string;
34601
+ [x: string]: any;
34729
34602
  };
34730
34603
  tags: {
34731
- value: string[];
34732
- isRequired: boolean;
34733
- attributeId: string;
34604
+ [x: string]: any;
34734
34605
  };
34735
34606
  phone?: {
34736
- value: {
34737
- isPrimary: boolean;
34738
- phone: string;
34739
- }[];
34740
- isRequired: boolean;
34741
- attributeId: string;
34607
+ [x: string]: any;
34742
34608
  } | undefined;
34743
34609
  }, {
34744
34610
  channel: {
34745
- value: string;
34746
- isRequired: boolean;
34747
- attributeId: string;
34611
+ [x: string]: any;
34748
34612
  };
34749
34613
  address: {
34750
- value: string;
34751
- isRequired: boolean;
34752
- attributeId: string;
34614
+ [x: string]: any;
34753
34615
  };
34754
34616
  name: {
34755
- value: string;
34756
- isRequired: boolean;
34757
- attributeId: string;
34617
+ [x: string]: any;
34758
34618
  };
34759
34619
  email: {
34760
- value: {
34761
- isPrimary: boolean;
34762
- email: string;
34763
- }[];
34764
- isRequired: boolean;
34765
- attributeId: string;
34620
+ [x: string]: any;
34766
34621
  };
34767
34622
  customFields: {
34768
- type: string;
34769
- value: (string | string[]) & (string | string[] | undefined);
34770
- isRequired: boolean;
34771
- attributeId: string;
34772
- isDefaultAttribute: boolean;
34623
+ [x: string]: any;
34773
34624
  }[];
34774
34625
  company: {
34775
- value: string;
34776
- isRequired: boolean;
34777
- attributeId: string;
34626
+ [x: string]: any;
34778
34627
  };
34779
34628
  notes: {
34780
- value: string;
34781
- isRequired: boolean;
34782
- attributeId: string;
34629
+ [x: string]: any;
34783
34630
  };
34784
34631
  tags: {
34785
- value: string[];
34786
- isRequired: boolean;
34787
- attributeId: string;
34632
+ [x: string]: any;
34788
34633
  };
34789
34634
  phone?: {
34790
- value: {
34791
- isPrimary: boolean;
34792
- phone: string;
34793
- }[];
34794
- isRequired: boolean;
34795
- attributeId: string;
34635
+ [x: string]: any;
34796
34636
  } | undefined;
34797
34637
  }>;
34798
34638
  summary: "Create a new contact";
@@ -37074,266 +36914,106 @@ export declare const apiContract: {
37074
36914
  };
37075
36915
  update: {
37076
36916
  body: import("zod").ZodObject<{
37077
- name: import("zod").ZodOptional<import("zod").ZodObject<{
37078
- isRequired: import("zod").ZodBoolean;
37079
- attributeId: import("zod").ZodString;
37080
- value: import("zod").ZodString;
37081
- }, "strip", import("zod").ZodTypeAny, {
37082
- value: string;
37083
- isRequired: boolean;
37084
- attributeId: string;
36917
+ name: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
36918
+ [x: string]: any;
37085
36919
  }, {
37086
- value: string;
37087
- isRequired: boolean;
37088
- attributeId: string;
36920
+ [x: string]: any;
37089
36921
  }>>;
37090
- email: import("zod").ZodOptional<import("zod").ZodObject<{
37091
- isRequired: import("zod").ZodBoolean;
37092
- attributeId: import("zod").ZodString;
37093
- value: import("zod").ZodArray<import("zod").ZodObject<{
37094
- email: import("zod").ZodString;
37095
- isPrimary: import("zod").ZodBoolean;
37096
- }, "strip", import("zod").ZodTypeAny, {
37097
- isPrimary: boolean;
37098
- email: string;
37099
- }, {
37100
- isPrimary: boolean;
37101
- email: string;
37102
- }>, "many">;
37103
- }, "strip", import("zod").ZodTypeAny, {
37104
- value: {
37105
- isPrimary: boolean;
37106
- email: string;
37107
- }[];
37108
- isRequired: boolean;
37109
- attributeId: string;
36922
+ email: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
36923
+ [x: string]: any;
37110
36924
  }, {
37111
- value: {
37112
- isPrimary: boolean;
37113
- email: string;
37114
- }[];
37115
- isRequired: boolean;
37116
- attributeId: string;
36925
+ [x: string]: any;
37117
36926
  }>>;
37118
- channel: import("zod").ZodOptional<import("zod").ZodObject<{
37119
- isRequired: import("zod").ZodBoolean;
37120
- attributeId: import("zod").ZodString;
37121
- value: import("zod").ZodString;
37122
- }, "strip", import("zod").ZodTypeAny, {
37123
- value: string;
37124
- isRequired: boolean;
37125
- attributeId: string;
36927
+ channel: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
36928
+ [x: string]: any;
37126
36929
  }, {
37127
- value: string;
37128
- isRequired: boolean;
37129
- attributeId: string;
36930
+ [x: string]: any;
37130
36931
  }>>;
37131
- address: import("zod").ZodOptional<import("zod").ZodObject<{
37132
- isRequired: import("zod").ZodBoolean;
37133
- attributeId: import("zod").ZodString;
37134
- value: import("zod").ZodString;
37135
- }, "strip", import("zod").ZodTypeAny, {
37136
- value: string;
37137
- isRequired: boolean;
37138
- attributeId: string;
36932
+ address: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
36933
+ [x: string]: any;
37139
36934
  }, {
37140
- value: string;
37141
- isRequired: boolean;
37142
- attributeId: string;
36935
+ [x: string]: any;
37143
36936
  }>>;
37144
- phone: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
37145
- isRequired: import("zod").ZodBoolean;
37146
- attributeId: import("zod").ZodString;
37147
- value: import("zod").ZodArray<import("zod").ZodObject<{
37148
- phone: import("zod").ZodString;
37149
- isPrimary: import("zod").ZodBoolean;
37150
- }, "strip", import("zod").ZodTypeAny, {
37151
- isPrimary: boolean;
37152
- phone: string;
37153
- }, {
37154
- isPrimary: boolean;
37155
- phone: string;
37156
- }>, "many">;
37157
- }, "strip", import("zod").ZodTypeAny, {
37158
- value: {
37159
- isPrimary: boolean;
37160
- phone: string;
37161
- }[];
37162
- isRequired: boolean;
37163
- attributeId: string;
36937
+ phone: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
36938
+ [x: string]: any;
37164
36939
  }, {
37165
- value: {
37166
- isPrimary: boolean;
37167
- phone: string;
37168
- }[];
37169
- isRequired: boolean;
37170
- attributeId: string;
36940
+ [x: string]: any;
37171
36941
  }>>>;
37172
- notes: import("zod").ZodOptional<import("zod").ZodObject<{
37173
- isRequired: import("zod").ZodBoolean;
37174
- attributeId: import("zod").ZodString;
37175
- value: import("zod").ZodString;
37176
- }, "strip", import("zod").ZodTypeAny, {
37177
- value: string;
37178
- isRequired: boolean;
37179
- attributeId: string;
36942
+ notes: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
36943
+ [x: string]: any;
37180
36944
  }, {
37181
- value: string;
37182
- isRequired: boolean;
37183
- attributeId: string;
36945
+ [x: string]: any;
37184
36946
  }>>;
37185
- tags: import("zod").ZodOptional<import("zod").ZodObject<{
37186
- isRequired: import("zod").ZodBoolean;
37187
- attributeId: import("zod").ZodString;
37188
- value: import("zod").ZodArray<import("zod").ZodString, "many">;
37189
- }, "strip", import("zod").ZodTypeAny, {
37190
- value: string[];
37191
- isRequired: boolean;
37192
- attributeId: string;
36947
+ tags: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
36948
+ [x: string]: any;
37193
36949
  }, {
37194
- value: string[];
37195
- isRequired: boolean;
37196
- attributeId: string;
36950
+ [x: string]: any;
37197
36951
  }>>;
37198
- company: import("zod").ZodOptional<import("zod").ZodObject<{
37199
- isRequired: import("zod").ZodBoolean;
37200
- attributeId: import("zod").ZodString;
37201
- value: import("zod").ZodString;
37202
- }, "strip", import("zod").ZodTypeAny, {
37203
- value: string;
37204
- isRequired: boolean;
37205
- attributeId: string;
36952
+ company: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
36953
+ [x: string]: any;
37206
36954
  }, {
37207
- value: string;
37208
- isRequired: boolean;
37209
- attributeId: string;
36955
+ [x: string]: any;
37210
36956
  }>>;
37211
- customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
37212
- isRequired: import("zod").ZodBoolean;
37213
- attributeId: import("zod").ZodString;
37214
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
37215
- type: import("zod").ZodString;
37216
- isDefaultAttribute: import("zod").ZodBoolean;
37217
- }, "strip", import("zod").ZodTypeAny, {
37218
- type: string;
37219
- value: (string | string[]) & (string | string[] | undefined);
37220
- isRequired: boolean;
37221
- attributeId: string;
37222
- isDefaultAttribute: boolean;
36957
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").AnyZodObject, {
36958
+ [x: string]: any;
37223
36959
  }, {
37224
- type: string;
37225
- value: (string | string[]) & (string | string[] | undefined);
37226
- isRequired: boolean;
37227
- attributeId: string;
37228
- isDefaultAttribute: boolean;
36960
+ [x: string]: any;
37229
36961
  }>, "many">>;
37230
36962
  }, "strip", import("zod").ZodTypeAny, {
37231
36963
  name?: {
37232
- value: string;
37233
- isRequired: boolean;
37234
- attributeId: string;
36964
+ [x: string]: any;
37235
36965
  } | undefined;
37236
36966
  email?: {
37237
- value: {
37238
- isPrimary: boolean;
37239
- email: string;
37240
- }[];
37241
- isRequired: boolean;
37242
- attributeId: string;
36967
+ [x: string]: any;
37243
36968
  } | undefined;
37244
36969
  channel?: {
37245
- value: string;
37246
- isRequired: boolean;
37247
- attributeId: string;
36970
+ [x: string]: any;
37248
36971
  } | undefined;
37249
36972
  address?: {
37250
- value: string;
37251
- isRequired: boolean;
37252
- attributeId: string;
36973
+ [x: string]: any;
37253
36974
  } | undefined;
37254
36975
  phone?: {
37255
- value: {
37256
- isPrimary: boolean;
37257
- phone: string;
37258
- }[];
37259
- isRequired: boolean;
37260
- attributeId: string;
36976
+ [x: string]: any;
37261
36977
  } | undefined;
37262
36978
  notes?: {
37263
- value: string;
37264
- isRequired: boolean;
37265
- attributeId: string;
36979
+ [x: string]: any;
37266
36980
  } | undefined;
37267
36981
  tags?: {
37268
- value: string[];
37269
- isRequired: boolean;
37270
- attributeId: string;
36982
+ [x: string]: any;
37271
36983
  } | undefined;
37272
36984
  company?: {
37273
- value: string;
37274
- isRequired: boolean;
37275
- attributeId: string;
36985
+ [x: string]: any;
37276
36986
  } | undefined;
37277
36987
  customFields?: {
37278
- type: string;
37279
- value: (string | string[]) & (string | string[] | undefined);
37280
- isRequired: boolean;
37281
- attributeId: string;
37282
- isDefaultAttribute: boolean;
36988
+ [x: string]: any;
37283
36989
  }[] | undefined;
37284
36990
  }, {
37285
36991
  name?: {
37286
- value: string;
37287
- isRequired: boolean;
37288
- attributeId: string;
36992
+ [x: string]: any;
37289
36993
  } | undefined;
37290
36994
  email?: {
37291
- value: {
37292
- isPrimary: boolean;
37293
- email: string;
37294
- }[];
37295
- isRequired: boolean;
37296
- attributeId: string;
36995
+ [x: string]: any;
37297
36996
  } | undefined;
37298
36997
  channel?: {
37299
- value: string;
37300
- isRequired: boolean;
37301
- attributeId: string;
36998
+ [x: string]: any;
37302
36999
  } | undefined;
37303
37000
  address?: {
37304
- value: string;
37305
- isRequired: boolean;
37306
- attributeId: string;
37001
+ [x: string]: any;
37307
37002
  } | undefined;
37308
37003
  phone?: {
37309
- value: {
37310
- isPrimary: boolean;
37311
- phone: string;
37312
- }[];
37313
- isRequired: boolean;
37314
- attributeId: string;
37004
+ [x: string]: any;
37315
37005
  } | undefined;
37316
37006
  notes?: {
37317
- value: string;
37318
- isRequired: boolean;
37319
- attributeId: string;
37007
+ [x: string]: any;
37320
37008
  } | undefined;
37321
37009
  tags?: {
37322
- value: string[];
37323
- isRequired: boolean;
37324
- attributeId: string;
37010
+ [x: string]: any;
37325
37011
  } | undefined;
37326
37012
  company?: {
37327
- value: string;
37328
- isRequired: boolean;
37329
- attributeId: string;
37013
+ [x: string]: any;
37330
37014
  } | undefined;
37331
37015
  customFields?: {
37332
- type: string;
37333
- value: (string | string[]) & (string | string[] | undefined);
37334
- isRequired: boolean;
37335
- attributeId: string;
37336
- isDefaultAttribute: boolean;
37016
+ [x: string]: any;
37337
37017
  }[] | undefined;
37338
37018
  }>;
37339
37019
  summary: "Update a contact";
@@ -128928,7 +128608,9 @@ export declare const chatContract: {
128928
128608
  page: import("zod").ZodDefault<import("zod").ZodNumber>;
128929
128609
  pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
128930
128610
  query: import("zod").ZodString;
128611
+ type: import("zod").ZodDefault<import("zod").ZodString>;
128931
128612
  }, "strip", import("zod").ZodTypeAny, {
128613
+ type: string;
128932
128614
  page: number;
128933
128615
  pageSize: number;
128934
128616
  query: string;
@@ -128936,6 +128618,7 @@ export declare const chatContract: {
128936
128618
  query: string;
128937
128619
  page?: number | undefined;
128938
128620
  pageSize?: number | undefined;
128621
+ type?: string | undefined;
128939
128622
  }>;
128940
128623
  responses: {
128941
128624
  200: import("zod").ZodObject<{