@kl1/contracts 1.1.48 → 1.1.49

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.
@@ -235,7 +235,7 @@ export declare const accountContract: {
235
235
  message: string;
236
236
  }>;
237
237
  };
238
- path: "email-service/mail/account";
238
+ path: "mail/account";
239
239
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
240
240
  'x-tenant': z.ZodString;
241
241
  authorization: z.ZodString;
@@ -344,7 +344,7 @@ export declare const accountContract: {
344
344
  message: string;
345
345
  }>;
346
346
  };
347
- path: "email-service/mail/account/oauth2_authentication_form_link";
347
+ path: "mail/account/oauth2_authentication_form_link";
348
348
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
349
349
  'x-tenant': z.ZodString;
350
350
  authorization: z.ZodString;
@@ -407,7 +407,7 @@ export declare const accountContract: {
407
407
  requestId: string;
408
408
  }>;
409
409
  };
410
- path: "email-service/mail/account/sync";
410
+ path: "mail/account/sync";
411
411
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
412
412
  'x-tenant': z.ZodString;
413
413
  authorization: z.ZodString;
@@ -630,7 +630,7 @@ export declare const accountContract: {
630
630
  requestId: string;
631
631
  }>;
632
632
  };
633
- path: "email-service/mail/account/:id";
633
+ path: "mail/account/:id";
634
634
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
635
635
  'x-tenant': z.ZodString;
636
636
  authorization: z.ZodString;
@@ -856,7 +856,7 @@ export declare const accountContract: {
856
856
  requestId: string;
857
857
  }>;
858
858
  };
859
- path: "email-service/mail/account";
859
+ path: "mail/account";
860
860
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
861
861
  'x-tenant': z.ZodString;
862
862
  authorization: z.ZodString;
@@ -1183,7 +1183,7 @@ export declare const accountContract: {
1183
1183
  requestId: string;
1184
1184
  }>;
1185
1185
  };
1186
- path: "email-service/mail/account/:id";
1186
+ path: "mail/account/:id";
1187
1187
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1188
1188
  'x-tenant': z.ZodString;
1189
1189
  authorization: z.ZodString;
@@ -1407,7 +1407,7 @@ export declare const accountContract: {
1407
1407
  requestId: string;
1408
1408
  }>;
1409
1409
  };
1410
- path: "email-service/mail/account/:id/disconnect";
1410
+ path: "mail/account/:id/disconnect";
1411
1411
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1412
1412
  'x-tenant': z.ZodString;
1413
1413
  authorization: z.ZodString;
@@ -1631,7 +1631,7 @@ export declare const accountContract: {
1631
1631
  requestId: string;
1632
1632
  }>;
1633
1633
  };
1634
- path: "email-service/mail/account/:id/reconnect";
1634
+ path: "mail/account/:id/reconnect";
1635
1635
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1636
1636
  'x-tenant': z.ZodString;
1637
1637
  authorization: z.ZodString;
@@ -1702,7 +1702,7 @@ export declare const accountContract: {
1702
1702
  requestId: string;
1703
1703
  }>;
1704
1704
  };
1705
- path: "email-service/mail/account/:id";
1705
+ path: "mail/account/:id";
1706
1706
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1707
1707
  'x-tenant': z.ZodString;
1708
1708
  authorization: z.ZodString;
@@ -1773,7 +1773,7 @@ export declare const accountContract: {
1773
1773
  requestId: string;
1774
1774
  }>;
1775
1775
  };
1776
- path: "email-service/mail/account/email-engine/:account";
1776
+ path: "mail/account/email-engine/:account";
1777
1777
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1778
1778
  'x-tenant': z.ZodString;
1779
1779
  authorization: z.ZodString;
@@ -1940,7 +1940,7 @@ export declare const accountContract: {
1940
1940
  };
1941
1941
  }>;
1942
1942
  };
1943
- path: "email-service/mail/account/oauth2";
1943
+ path: "mail/account/oauth2";
1944
1944
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1945
1945
  'x-tenant': z.ZodString;
1946
1946
  authorization: z.ZodString;
@@ -14285,7 +14285,7 @@ export declare const mailContract: {
14285
14285
  message: string;
14286
14286
  }>;
14287
14287
  };
14288
- path: "email-service/mail/account";
14288
+ path: "mail/account";
14289
14289
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14290
14290
  'x-tenant': import("zod").ZodString;
14291
14291
  authorization: import("zod").ZodString;
@@ -14394,7 +14394,7 @@ export declare const mailContract: {
14394
14394
  message: string;
14395
14395
  }>;
14396
14396
  };
14397
- path: "email-service/mail/account/oauth2_authentication_form_link";
14397
+ path: "mail/account/oauth2_authentication_form_link";
14398
14398
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14399
14399
  'x-tenant': import("zod").ZodString;
14400
14400
  authorization: import("zod").ZodString;
@@ -14457,7 +14457,7 @@ export declare const mailContract: {
14457
14457
  requestId: string;
14458
14458
  }>;
14459
14459
  };
14460
- path: "email-service/mail/account/sync";
14460
+ path: "mail/account/sync";
14461
14461
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14462
14462
  'x-tenant': import("zod").ZodString;
14463
14463
  authorization: import("zod").ZodString;
@@ -14680,7 +14680,7 @@ export declare const mailContract: {
14680
14680
  requestId: string;
14681
14681
  }>;
14682
14682
  };
14683
- path: "email-service/mail/account/:id";
14683
+ path: "mail/account/:id";
14684
14684
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14685
14685
  'x-tenant': import("zod").ZodString;
14686
14686
  authorization: import("zod").ZodString;
@@ -14906,7 +14906,7 @@ export declare const mailContract: {
14906
14906
  requestId: string;
14907
14907
  }>;
14908
14908
  };
14909
- path: "email-service/mail/account";
14909
+ path: "mail/account";
14910
14910
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14911
14911
  'x-tenant': import("zod").ZodString;
14912
14912
  authorization: import("zod").ZodString;
@@ -15233,7 +15233,7 @@ export declare const mailContract: {
15233
15233
  requestId: string;
15234
15234
  }>;
15235
15235
  };
15236
- path: "email-service/mail/account/:id";
15236
+ path: "mail/account/:id";
15237
15237
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15238
15238
  'x-tenant': import("zod").ZodString;
15239
15239
  authorization: import("zod").ZodString;
@@ -15457,7 +15457,7 @@ export declare const mailContract: {
15457
15457
  requestId: string;
15458
15458
  }>;
15459
15459
  };
15460
- path: "email-service/mail/account/:id/disconnect";
15460
+ path: "mail/account/:id/disconnect";
15461
15461
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15462
15462
  'x-tenant': import("zod").ZodString;
15463
15463
  authorization: import("zod").ZodString;
@@ -15681,7 +15681,7 @@ export declare const mailContract: {
15681
15681
  requestId: string;
15682
15682
  }>;
15683
15683
  };
15684
- path: "email-service/mail/account/:id/reconnect";
15684
+ path: "mail/account/:id/reconnect";
15685
15685
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15686
15686
  'x-tenant': import("zod").ZodString;
15687
15687
  authorization: import("zod").ZodString;
@@ -15752,7 +15752,7 @@ export declare const mailContract: {
15752
15752
  requestId: string;
15753
15753
  }>;
15754
15754
  };
15755
- path: "email-service/mail/account/:id";
15755
+ path: "mail/account/:id";
15756
15756
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15757
15757
  'x-tenant': import("zod").ZodString;
15758
15758
  authorization: import("zod").ZodString;
@@ -15823,7 +15823,7 @@ export declare const mailContract: {
15823
15823
  requestId: string;
15824
15824
  }>;
15825
15825
  };
15826
- path: "email-service/mail/account/email-engine/:account";
15826
+ path: "mail/account/email-engine/:account";
15827
15827
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15828
15828
  'x-tenant': import("zod").ZodString;
15829
15829
  authorization: import("zod").ZodString;
@@ -15990,7 +15990,7 @@ export declare const mailContract: {
15990
15990
  };
15991
15991
  }>;
15992
15992
  };
15993
- path: "email-service/mail/account/oauth2";
15993
+ path: "mail/account/oauth2";
15994
15994
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15995
15995
  'x-tenant': import("zod").ZodString;
15996
15996
  authorization: import("zod").ZodString;
@@ -16156,7 +16156,7 @@ export declare const mailContract: {
16156
16156
  requestId: string;
16157
16157
  }>;
16158
16158
  };
16159
- path: "email-service/mail/server/";
16159
+ path: "mail/server/";
16160
16160
  };
16161
16161
  getOAuth2Apps: {
16162
16162
  summary: "Get all oauth2 apps";
@@ -16361,7 +16361,7 @@ export declare const mailContract: {
16361
16361
  requestId: string;
16362
16362
  }>;
16363
16363
  };
16364
- path: "email-service/mail/server/oauth2/apps";
16364
+ path: "mail/server/oauth2/apps";
16365
16365
  };
16366
16366
  getById: {
16367
16367
  summary: "Get a mail server by id";
@@ -16485,7 +16485,7 @@ export declare const mailContract: {
16485
16485
  requestId: string;
16486
16486
  }>;
16487
16487
  };
16488
- path: "email-service/mail/server/:id";
16488
+ path: "mail/server/:id";
16489
16489
  };
16490
16490
  getAll: {
16491
16491
  summary: "Get all mail servers";
@@ -16602,7 +16602,7 @@ export declare const mailContract: {
16602
16602
  requestId: string;
16603
16603
  }>;
16604
16604
  };
16605
- path: "email-service/mail/server/";
16605
+ path: "mail/server/";
16606
16606
  };
16607
16607
  update: {
16608
16608
  body: import("zod").ZodObject<{
@@ -16757,7 +16757,7 @@ export declare const mailContract: {
16757
16757
  requestId: string;
16758
16758
  }>;
16759
16759
  };
16760
- path: "email-service/mail/server/:id";
16760
+ path: "mail/server/:id";
16761
16761
  };
16762
16762
  delete: {
16763
16763
  body: null;
@@ -16882,7 +16882,7 @@ export declare const mailContract: {
16882
16882
  requestId: string;
16883
16883
  }>;
16884
16884
  };
16885
- path: "email-service/mail/server/:id";
16885
+ path: "mail/server/:id";
16886
16886
  };
16887
16887
  };
16888
16888
  };
@@ -148,7 +148,7 @@ export declare const serverContract: {
148
148
  requestId: string;
149
149
  }>;
150
150
  };
151
- path: "email-service/mail/server/";
151
+ path: "mail/server/";
152
152
  };
153
153
  getOAuth2Apps: {
154
154
  summary: "Get all oauth2 apps";
@@ -353,7 +353,7 @@ export declare const serverContract: {
353
353
  requestId: string;
354
354
  }>;
355
355
  };
356
- path: "email-service/mail/server/oauth2/apps";
356
+ path: "mail/server/oauth2/apps";
357
357
  };
358
358
  getById: {
359
359
  summary: "Get a mail server by id";
@@ -477,7 +477,7 @@ export declare const serverContract: {
477
477
  requestId: string;
478
478
  }>;
479
479
  };
480
- path: "email-service/mail/server/:id";
480
+ path: "mail/server/:id";
481
481
  };
482
482
  getAll: {
483
483
  summary: "Get all mail servers";
@@ -594,7 +594,7 @@ export declare const serverContract: {
594
594
  requestId: string;
595
595
  }>;
596
596
  };
597
- path: "email-service/mail/server/";
597
+ path: "mail/server/";
598
598
  };
599
599
  update: {
600
600
  body: z.ZodObject<{
@@ -749,7 +749,7 @@ export declare const serverContract: {
749
749
  requestId: string;
750
750
  }>;
751
751
  };
752
- path: "email-service/mail/server/:id";
752
+ path: "mail/server/:id";
753
753
  };
754
754
  delete: {
755
755
  body: null;
@@ -874,7 +874,7 @@ export declare const serverContract: {
874
874
  requestId: string;
875
875
  }>;
876
876
  };
877
- path: "email-service/mail/server/:id";
877
+ path: "mail/server/:id";
878
878
  };
879
879
  };
880
880
  //# sourceMappingURL=mail-server-contract.d.ts.map
package/dist/index.js CHANGED
@@ -8832,7 +8832,7 @@ var accountContract = (0, import_core43.initContract)().router(
8832
8832
  },
8833
8833
  {
8834
8834
  baseHeaders: DefaultHeaderSchema,
8835
- pathPrefix: "email-service/mail/account"
8835
+ pathPrefix: "mail/account"
8836
8836
  }
8837
8837
  );
8838
8838
 
@@ -8942,7 +8942,7 @@ var serverContract = (0, import_core44.initContract)().router(
8942
8942
  }
8943
8943
  },
8944
8944
  {
8945
- pathPrefix: "email-service/mail/server"
8945
+ pathPrefix: "mail/server"
8946
8946
  }
8947
8947
  );
8948
8948