@kl1/contracts 1.1.47 → 1.1.48

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.
@@ -14285,7 +14285,116 @@ export declare const mailContract: {
14285
14285
  message: string;
14286
14286
  }>;
14287
14287
  };
14288
- path: "mail/account";
14288
+ path: "email-service/mail/account";
14289
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14290
+ 'x-tenant': import("zod").ZodString;
14291
+ authorization: import("zod").ZodString;
14292
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
14293
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
14294
+ }, "strip", import("zod").ZodTypeAny, {
14295
+ 'x-tenant': string;
14296
+ authorization: string;
14297
+ 'x-client-timezone': string;
14298
+ 'x-code'?: string | undefined;
14299
+ }, {
14300
+ 'x-tenant': string;
14301
+ authorization: string;
14302
+ 'x-code'?: string | undefined;
14303
+ 'x-client-timezone'?: string | undefined;
14304
+ }>>>;
14305
+ };
14306
+ generateOAuth2AuthenticationLink: {
14307
+ body: import("zod").ZodObject<{
14308
+ oAuth2AppId: import("zod").ZodString;
14309
+ mailServerId: import("zod").ZodString;
14310
+ }, "strip", import("zod").ZodTypeAny, {
14311
+ mailServerId: string;
14312
+ oAuth2AppId: string;
14313
+ }, {
14314
+ mailServerId: string;
14315
+ oAuth2AppId: string;
14316
+ }>;
14317
+ summary: "Generate oauth2 authentication form link";
14318
+ method: "POST";
14319
+ responses: {
14320
+ 401: import("zod").ZodObject<{
14321
+ message: import("zod").ZodString;
14322
+ error: import("zod").ZodAny;
14323
+ }, "strip", import("zod").ZodTypeAny, {
14324
+ message: string;
14325
+ error?: any;
14326
+ }, {
14327
+ message: string;
14328
+ error?: any;
14329
+ }>;
14330
+ 404: import("zod").ZodObject<{
14331
+ message: import("zod").ZodString;
14332
+ error: import("zod").ZodAny;
14333
+ }, "strip", import("zod").ZodTypeAny, {
14334
+ message: string;
14335
+ error?: any;
14336
+ }, {
14337
+ message: string;
14338
+ error?: any;
14339
+ }>;
14340
+ 422: import("zod").ZodObject<{
14341
+ message: import("zod").ZodString;
14342
+ error: import("zod").ZodAny;
14343
+ }, "strip", import("zod").ZodTypeAny, {
14344
+ message: string;
14345
+ error?: any;
14346
+ }, {
14347
+ message: string;
14348
+ error?: any;
14349
+ }>;
14350
+ 201: import("zod").ZodObject<{
14351
+ requestId: import("zod").ZodString;
14352
+ data: import("zod").ZodObject<{
14353
+ url: import("zod").ZodString;
14354
+ account: import("zod").ZodString;
14355
+ }, "strip", import("zod").ZodTypeAny, {
14356
+ url: string;
14357
+ account: string;
14358
+ }, {
14359
+ url: string;
14360
+ account: string;
14361
+ }>;
14362
+ }, "strip", import("zod").ZodTypeAny, {
14363
+ data: {
14364
+ url: string;
14365
+ account: string;
14366
+ };
14367
+ requestId: string;
14368
+ }, {
14369
+ data: {
14370
+ url: string;
14371
+ account: string;
14372
+ };
14373
+ requestId: string;
14374
+ }>;
14375
+ 400: import("zod").ZodObject<{
14376
+ message: import("zod").ZodString;
14377
+ }, "strip", import("zod").ZodTypeAny, {
14378
+ message: string;
14379
+ }, {
14380
+ message: string;
14381
+ }>;
14382
+ 409: import("zod").ZodObject<{
14383
+ message: import("zod").ZodString;
14384
+ }, "strip", import("zod").ZodTypeAny, {
14385
+ message: string;
14386
+ }, {
14387
+ message: string;
14388
+ }>;
14389
+ 500: import("zod").ZodObject<{
14390
+ message: import("zod").ZodString;
14391
+ }, "strip", import("zod").ZodTypeAny, {
14392
+ message: string;
14393
+ }, {
14394
+ message: string;
14395
+ }>;
14396
+ };
14397
+ path: "email-service/mail/account/oauth2_authentication_form_link";
14289
14398
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14290
14399
  'x-tenant': import("zod").ZodString;
14291
14400
  authorization: import("zod").ZodString;
@@ -14348,7 +14457,7 @@ export declare const mailContract: {
14348
14457
  requestId: string;
14349
14458
  }>;
14350
14459
  };
14351
- path: "mail/account/sync";
14460
+ path: "email-service/mail/account/sync";
14352
14461
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14353
14462
  'x-tenant': import("zod").ZodString;
14354
14463
  authorization: import("zod").ZodString;
@@ -14571,7 +14680,7 @@ export declare const mailContract: {
14571
14680
  requestId: string;
14572
14681
  }>;
14573
14682
  };
14574
- path: "mail/account/:id";
14683
+ path: "email-service/mail/account/:id";
14575
14684
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14576
14685
  'x-tenant': import("zod").ZodString;
14577
14686
  authorization: import("zod").ZodString;
@@ -14797,7 +14906,7 @@ export declare const mailContract: {
14797
14906
  requestId: string;
14798
14907
  }>;
14799
14908
  };
14800
- path: "mail/account";
14909
+ path: "email-service/mail/account";
14801
14910
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14802
14911
  'x-tenant': import("zod").ZodString;
14803
14912
  authorization: import("zod").ZodString;
@@ -15124,7 +15233,7 @@ export declare const mailContract: {
15124
15233
  requestId: string;
15125
15234
  }>;
15126
15235
  };
15127
- path: "mail/account/:id";
15236
+ path: "email-service/mail/account/:id";
15128
15237
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15129
15238
  'x-tenant': import("zod").ZodString;
15130
15239
  authorization: import("zod").ZodString;
@@ -15348,7 +15457,7 @@ export declare const mailContract: {
15348
15457
  requestId: string;
15349
15458
  }>;
15350
15459
  };
15351
- path: "mail/account/:id/disconnect";
15460
+ path: "email-service/mail/account/:id/disconnect";
15352
15461
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15353
15462
  'x-tenant': import("zod").ZodString;
15354
15463
  authorization: import("zod").ZodString;
@@ -15572,7 +15681,7 @@ export declare const mailContract: {
15572
15681
  requestId: string;
15573
15682
  }>;
15574
15683
  };
15575
- path: "mail/account/:id/reconnect";
15684
+ path: "email-service/mail/account/:id/reconnect";
15576
15685
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15577
15686
  'x-tenant': import("zod").ZodString;
15578
15687
  authorization: import("zod").ZodString;
@@ -15643,7 +15752,245 @@ export declare const mailContract: {
15643
15752
  requestId: string;
15644
15753
  }>;
15645
15754
  };
15646
- path: "mail/account/:id";
15755
+ path: "email-service/mail/account/:id";
15756
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15757
+ 'x-tenant': import("zod").ZodString;
15758
+ authorization: import("zod").ZodString;
15759
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
15760
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
15761
+ }, "strip", import("zod").ZodTypeAny, {
15762
+ 'x-tenant': string;
15763
+ authorization: string;
15764
+ 'x-client-timezone': string;
15765
+ 'x-code'?: string | undefined;
15766
+ }, {
15767
+ 'x-tenant': string;
15768
+ authorization: string;
15769
+ 'x-code'?: string | undefined;
15770
+ 'x-client-timezone'?: string | undefined;
15771
+ }>>>;
15772
+ };
15773
+ deleteEmailEngineAcc: {
15774
+ body: null;
15775
+ summary: "Delete an account by id";
15776
+ method: "DELETE";
15777
+ pathParams: import("zod").ZodObject<{
15778
+ account: import("zod").ZodString;
15779
+ }, "strip", import("zod").ZodTypeAny, {
15780
+ account: string;
15781
+ }, {
15782
+ account: string;
15783
+ }>;
15784
+ responses: {
15785
+ 401: import("zod").ZodObject<{
15786
+ message: import("zod").ZodString;
15787
+ error: import("zod").ZodAny;
15788
+ }, "strip", import("zod").ZodTypeAny, {
15789
+ message: string;
15790
+ error?: any;
15791
+ }, {
15792
+ message: string;
15793
+ error?: any;
15794
+ }>;
15795
+ 404: import("zod").ZodObject<{
15796
+ message: import("zod").ZodString;
15797
+ error: import("zod").ZodAny;
15798
+ }, "strip", import("zod").ZodTypeAny, {
15799
+ message: string;
15800
+ error?: any;
15801
+ }, {
15802
+ message: string;
15803
+ error?: any;
15804
+ }>;
15805
+ 422: import("zod").ZodObject<{
15806
+ message: import("zod").ZodString;
15807
+ error: import("zod").ZodAny;
15808
+ }, "strip", import("zod").ZodTypeAny, {
15809
+ message: string;
15810
+ error?: any;
15811
+ }, {
15812
+ message: string;
15813
+ error?: any;
15814
+ }>;
15815
+ 200: import("zod").ZodObject<{
15816
+ requestId: import("zod").ZodString;
15817
+ message: import("zod").ZodString;
15818
+ }, "strip", import("zod").ZodTypeAny, {
15819
+ message: string;
15820
+ requestId: string;
15821
+ }, {
15822
+ message: string;
15823
+ requestId: string;
15824
+ }>;
15825
+ };
15826
+ path: "email-service/mail/account/email-engine/:account";
15827
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15828
+ 'x-tenant': import("zod").ZodString;
15829
+ authorization: import("zod").ZodString;
15830
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
15831
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
15832
+ }, "strip", import("zod").ZodTypeAny, {
15833
+ 'x-tenant': string;
15834
+ authorization: string;
15835
+ 'x-client-timezone': string;
15836
+ 'x-code'?: string | undefined;
15837
+ }, {
15838
+ 'x-tenant': string;
15839
+ authorization: string;
15840
+ 'x-code'?: string | undefined;
15841
+ 'x-client-timezone'?: string | undefined;
15842
+ }>>>;
15843
+ };
15844
+ createOAuth2Acc: {
15845
+ body: import("zod").ZodObject<{
15846
+ account: import("zod").ZodString;
15847
+ name: import("zod").ZodString;
15848
+ }, "strip", import("zod").ZodTypeAny, {
15849
+ name: string;
15850
+ account: string;
15851
+ }, {
15852
+ name: string;
15853
+ account: string;
15854
+ }>;
15855
+ summary: "Register OAuth2 account.";
15856
+ method: "POST";
15857
+ responses: {
15858
+ 401: import("zod").ZodObject<{
15859
+ message: import("zod").ZodString;
15860
+ error: import("zod").ZodAny;
15861
+ }, "strip", import("zod").ZodTypeAny, {
15862
+ message: string;
15863
+ error?: any;
15864
+ }, {
15865
+ message: string;
15866
+ error?: any;
15867
+ }>;
15868
+ 404: import("zod").ZodObject<{
15869
+ message: import("zod").ZodString;
15870
+ error: import("zod").ZodAny;
15871
+ }, "strip", import("zod").ZodTypeAny, {
15872
+ message: string;
15873
+ error?: any;
15874
+ }, {
15875
+ message: string;
15876
+ error?: any;
15877
+ }>;
15878
+ 422: import("zod").ZodObject<{
15879
+ message: import("zod").ZodString;
15880
+ error: import("zod").ZodAny;
15881
+ }, "strip", import("zod").ZodTypeAny, {
15882
+ message: string;
15883
+ error?: any;
15884
+ }, {
15885
+ message: string;
15886
+ error?: any;
15887
+ }>;
15888
+ 201: import("zod").ZodObject<{
15889
+ id: import("zod").ZodString;
15890
+ createdAt: import("zod").ZodDate;
15891
+ updatedAt: import("zod").ZodDate;
15892
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15893
+ name: import("zod").ZodString;
15894
+ address: import("zod").ZodString;
15895
+ accountId: import("zod").ZodString;
15896
+ mailServerId: import("zod").ZodString;
15897
+ mailServer: import("zod").ZodObject<{
15898
+ id: import("zod").ZodString;
15899
+ createdAt: import("zod").ZodDate;
15900
+ updatedAt: import("zod").ZodDate;
15901
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15902
+ name: import("zod").ZodString;
15903
+ smtpHost: import("zod").ZodString;
15904
+ smtpPort: import("zod").ZodNumber;
15905
+ smtpTlsPort: import("zod").ZodNumber;
15906
+ useTlsForSmtp: import("zod").ZodBoolean;
15907
+ imapHost: import("zod").ZodString;
15908
+ imapPort: import("zod").ZodNumber;
15909
+ imapTlsPort: import("zod").ZodNumber;
15910
+ useTlsForImap: import("zod").ZodBoolean;
15911
+ }, "strip", import("zod").ZodTypeAny, {
15912
+ id: string;
15913
+ name: string;
15914
+ createdAt: Date;
15915
+ updatedAt: Date;
15916
+ deletedAt: Date | null;
15917
+ smtpHost: string;
15918
+ smtpPort: number;
15919
+ smtpTlsPort: number;
15920
+ useTlsForSmtp: boolean;
15921
+ imapHost: string;
15922
+ imapPort: number;
15923
+ imapTlsPort: number;
15924
+ useTlsForImap: boolean;
15925
+ }, {
15926
+ id: string;
15927
+ name: string;
15928
+ createdAt: Date;
15929
+ updatedAt: Date;
15930
+ deletedAt: Date | null;
15931
+ smtpHost: string;
15932
+ smtpPort: number;
15933
+ smtpTlsPort: number;
15934
+ useTlsForSmtp: boolean;
15935
+ imapHost: string;
15936
+ imapPort: number;
15937
+ imapTlsPort: number;
15938
+ useTlsForImap: boolean;
15939
+ }>;
15940
+ state: import("zod").ZodUnion<[import("zod").ZodLiteral<"init">, import("zod").ZodLiteral<"syncing">, import("zod").ZodLiteral<"connecting">, import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">, import("zod").ZodLiteral<"authenticationError">, import("zod").ZodLiteral<"connectError">, import("zod").ZodLiteral<"unset">]>;
15941
+ }, "strip", import("zod").ZodTypeAny, {
15942
+ id: string;
15943
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
15944
+ address: string;
15945
+ name: string;
15946
+ createdAt: Date;
15947
+ updatedAt: Date;
15948
+ deletedAt: Date | null;
15949
+ accountId: string;
15950
+ mailServerId: string;
15951
+ mailServer: {
15952
+ id: string;
15953
+ name: string;
15954
+ createdAt: Date;
15955
+ updatedAt: Date;
15956
+ deletedAt: Date | null;
15957
+ smtpHost: string;
15958
+ smtpPort: number;
15959
+ smtpTlsPort: number;
15960
+ useTlsForSmtp: boolean;
15961
+ imapHost: string;
15962
+ imapPort: number;
15963
+ imapTlsPort: number;
15964
+ useTlsForImap: boolean;
15965
+ };
15966
+ }, {
15967
+ id: string;
15968
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
15969
+ address: string;
15970
+ name: string;
15971
+ createdAt: Date;
15972
+ updatedAt: Date;
15973
+ deletedAt: Date | null;
15974
+ accountId: string;
15975
+ mailServerId: string;
15976
+ mailServer: {
15977
+ id: string;
15978
+ name: string;
15979
+ createdAt: Date;
15980
+ updatedAt: Date;
15981
+ deletedAt: Date | null;
15982
+ smtpHost: string;
15983
+ smtpPort: number;
15984
+ smtpTlsPort: number;
15985
+ useTlsForSmtp: boolean;
15986
+ imapHost: string;
15987
+ imapPort: number;
15988
+ imapTlsPort: number;
15989
+ useTlsForImap: boolean;
15990
+ };
15991
+ }>;
15992
+ };
15993
+ path: "email-service/mail/account/oauth2";
15647
15994
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
15648
15995
  'x-tenant': import("zod").ZodString;
15649
15996
  authorization: import("zod").ZodString;
@@ -15809,7 +16156,212 @@ export declare const mailContract: {
15809
16156
  requestId: string;
15810
16157
  }>;
15811
16158
  };
15812
- path: "mail/server/";
16159
+ path: "email-service/mail/server/";
16160
+ };
16161
+ getOAuth2Apps: {
16162
+ summary: "Get all oauth2 apps";
16163
+ method: "GET";
16164
+ responses: {
16165
+ 401: import("zod").ZodObject<{
16166
+ message: import("zod").ZodString;
16167
+ error: import("zod").ZodAny;
16168
+ }, "strip", import("zod").ZodTypeAny, {
16169
+ message: string;
16170
+ error?: any;
16171
+ }, {
16172
+ message: string;
16173
+ error?: any;
16174
+ }>;
16175
+ 404: import("zod").ZodObject<{
16176
+ message: import("zod").ZodString;
16177
+ error: import("zod").ZodAny;
16178
+ }, "strip", import("zod").ZodTypeAny, {
16179
+ message: string;
16180
+ error?: any;
16181
+ }, {
16182
+ message: string;
16183
+ error?: any;
16184
+ }>;
16185
+ 422: import("zod").ZodObject<{
16186
+ message: import("zod").ZodString;
16187
+ error: import("zod").ZodAny;
16188
+ }, "strip", import("zod").ZodTypeAny, {
16189
+ message: string;
16190
+ error?: any;
16191
+ }, {
16192
+ message: string;
16193
+ error?: any;
16194
+ }>;
16195
+ 200: import("zod").ZodObject<{
16196
+ requestId: import("zod").ZodString;
16197
+ data: import("zod").ZodObject<{
16198
+ total: import("zod").ZodNumber;
16199
+ pages: import("zod").ZodNumber;
16200
+ page: import("zod").ZodNumber;
16201
+ apps: import("zod").ZodArray<import("zod").ZodObject<{
16202
+ id: import("zod").ZodString;
16203
+ name: import("zod").ZodString;
16204
+ description: import("zod").ZodString;
16205
+ title: import("zod").ZodString;
16206
+ provider: import("zod").ZodString;
16207
+ enabled: import("zod").ZodBoolean;
16208
+ legacy: import("zod").ZodBoolean;
16209
+ created: import("zod").ZodString;
16210
+ updated: import("zod").ZodString;
16211
+ includeInListing: import("zod").ZodBoolean;
16212
+ clientId: import("zod").ZodString;
16213
+ clientSecret: import("zod").ZodString;
16214
+ authority: import("zod").ZodString;
16215
+ redirectUrl: import("zod").ZodString;
16216
+ serviceClient: import("zod").ZodString;
16217
+ googleProjectId: import("zod").ZodString;
16218
+ serviceClientEmail: import("zod").ZodString;
16219
+ serviceKey: import("zod").ZodString;
16220
+ }, "strip", import("zod").ZodTypeAny, {
16221
+ id: string;
16222
+ name: string;
16223
+ title: string;
16224
+ description: string;
16225
+ updated: string;
16226
+ provider: string;
16227
+ enabled: boolean;
16228
+ legacy: boolean;
16229
+ created: string;
16230
+ includeInListing: boolean;
16231
+ clientId: string;
16232
+ clientSecret: string;
16233
+ authority: string;
16234
+ redirectUrl: string;
16235
+ serviceClient: string;
16236
+ googleProjectId: string;
16237
+ serviceClientEmail: string;
16238
+ serviceKey: string;
16239
+ }, {
16240
+ id: string;
16241
+ name: string;
16242
+ title: string;
16243
+ description: string;
16244
+ updated: string;
16245
+ provider: string;
16246
+ enabled: boolean;
16247
+ legacy: boolean;
16248
+ created: string;
16249
+ includeInListing: boolean;
16250
+ clientId: string;
16251
+ clientSecret: string;
16252
+ authority: string;
16253
+ redirectUrl: string;
16254
+ serviceClient: string;
16255
+ googleProjectId: string;
16256
+ serviceClientEmail: string;
16257
+ serviceKey: string;
16258
+ }>, "many">;
16259
+ }, "strip", import("zod").ZodTypeAny, {
16260
+ total: number;
16261
+ page: number;
16262
+ pages: number;
16263
+ apps: {
16264
+ id: string;
16265
+ name: string;
16266
+ title: string;
16267
+ description: string;
16268
+ updated: string;
16269
+ provider: string;
16270
+ enabled: boolean;
16271
+ legacy: boolean;
16272
+ created: string;
16273
+ includeInListing: boolean;
16274
+ clientId: string;
16275
+ clientSecret: string;
16276
+ authority: string;
16277
+ redirectUrl: string;
16278
+ serviceClient: string;
16279
+ googleProjectId: string;
16280
+ serviceClientEmail: string;
16281
+ serviceKey: string;
16282
+ }[];
16283
+ }, {
16284
+ total: number;
16285
+ page: number;
16286
+ pages: number;
16287
+ apps: {
16288
+ id: string;
16289
+ name: string;
16290
+ title: string;
16291
+ description: string;
16292
+ updated: string;
16293
+ provider: string;
16294
+ enabled: boolean;
16295
+ legacy: boolean;
16296
+ created: string;
16297
+ includeInListing: boolean;
16298
+ clientId: string;
16299
+ clientSecret: string;
16300
+ authority: string;
16301
+ redirectUrl: string;
16302
+ serviceClient: string;
16303
+ googleProjectId: string;
16304
+ serviceClientEmail: string;
16305
+ serviceKey: string;
16306
+ }[];
16307
+ }>;
16308
+ }, "strip", import("zod").ZodTypeAny, {
16309
+ data: {
16310
+ total: number;
16311
+ page: number;
16312
+ pages: number;
16313
+ apps: {
16314
+ id: string;
16315
+ name: string;
16316
+ title: string;
16317
+ description: string;
16318
+ updated: string;
16319
+ provider: string;
16320
+ enabled: boolean;
16321
+ legacy: boolean;
16322
+ created: string;
16323
+ includeInListing: boolean;
16324
+ clientId: string;
16325
+ clientSecret: string;
16326
+ authority: string;
16327
+ redirectUrl: string;
16328
+ serviceClient: string;
16329
+ googleProjectId: string;
16330
+ serviceClientEmail: string;
16331
+ serviceKey: string;
16332
+ }[];
16333
+ };
16334
+ requestId: string;
16335
+ }, {
16336
+ data: {
16337
+ total: number;
16338
+ page: number;
16339
+ pages: number;
16340
+ apps: {
16341
+ id: string;
16342
+ name: string;
16343
+ title: string;
16344
+ description: string;
16345
+ updated: string;
16346
+ provider: string;
16347
+ enabled: boolean;
16348
+ legacy: boolean;
16349
+ created: string;
16350
+ includeInListing: boolean;
16351
+ clientId: string;
16352
+ clientSecret: string;
16353
+ authority: string;
16354
+ redirectUrl: string;
16355
+ serviceClient: string;
16356
+ googleProjectId: string;
16357
+ serviceClientEmail: string;
16358
+ serviceKey: string;
16359
+ }[];
16360
+ };
16361
+ requestId: string;
16362
+ }>;
16363
+ };
16364
+ path: "email-service/mail/server/oauth2/apps";
15813
16365
  };
15814
16366
  getById: {
15815
16367
  summary: "Get a mail server by id";
@@ -15933,7 +16485,7 @@ export declare const mailContract: {
15933
16485
  requestId: string;
15934
16486
  }>;
15935
16487
  };
15936
- path: "mail/server/:id";
16488
+ path: "email-service/mail/server/:id";
15937
16489
  };
15938
16490
  getAll: {
15939
16491
  summary: "Get all mail servers";
@@ -16050,7 +16602,7 @@ export declare const mailContract: {
16050
16602
  requestId: string;
16051
16603
  }>;
16052
16604
  };
16053
- path: "mail/server/";
16605
+ path: "email-service/mail/server/";
16054
16606
  };
16055
16607
  update: {
16056
16608
  body: import("zod").ZodObject<{
@@ -16205,7 +16757,7 @@ export declare const mailContract: {
16205
16757
  requestId: string;
16206
16758
  }>;
16207
16759
  };
16208
- path: "mail/server/:id";
16760
+ path: "email-service/mail/server/:id";
16209
16761
  };
16210
16762
  delete: {
16211
16763
  body: null;
@@ -16330,7 +16882,7 @@ export declare const mailContract: {
16330
16882
  requestId: string;
16331
16883
  }>;
16332
16884
  };
16333
- path: "mail/server/:id";
16885
+ path: "email-service/mail/server/:id";
16334
16886
  };
16335
16887
  };
16336
16888
  };