@mittwald/api-client 0.0.0-development-da42e97-20250926 → 0.0.0-development-e87cbeb-20251001

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.
@@ -150,6 +150,14 @@ export declare namespace MittwaldAPIV2 {
150
150
  type RequestData = InferredRequestData<typeof descriptors.backupDeleteProjectBackup>;
151
151
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupDeleteProjectBackup, TStatus>;
152
152
  }
153
+ namespace BackupGetProjectBackupDirectories {
154
+ type RequestData = InferredRequestData<typeof descriptors.backupGetProjectBackupDirectories>;
155
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupGetProjectBackupDirectories, TStatus>;
156
+ }
157
+ namespace BackupRequestProjectBackupRestorePath {
158
+ type RequestData = InferredRequestData<typeof descriptors.backupRequestProjectBackupRestorePath>;
159
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupRequestProjectBackupRestorePath, TStatus>;
160
+ }
153
161
  namespace BackupUpdateProjectBackupDescription {
154
162
  type RequestData = InferredRequestData<typeof descriptors.backupUpdateProjectBackupDescription>;
155
163
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupUpdateProjectBackupDescription, TStatus>;
@@ -306,6 +314,14 @@ export declare namespace MittwaldAPIV2 {
306
314
  type RequestData = InferredRequestData<typeof descriptors.contractListContracts>;
307
315
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractListContracts, TStatus>;
308
316
  }
317
+ namespace ContributorRequestVerification {
318
+ type RequestData = InferredRequestData<typeof descriptors.contributorRequestVerification>;
319
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorRequestVerification, TStatus>;
320
+ }
321
+ namespace ContributorCancelVerification {
322
+ type RequestData = InferredRequestData<typeof descriptors.contributorCancelVerification>;
323
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorCancelVerification, TStatus>;
324
+ }
309
325
  namespace ExtensionGetContributor {
310
326
  type RequestData = InferredRequestData<typeof descriptors.extensionGetContributor>;
311
327
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetContributor, TStatus>;
@@ -362,14 +378,6 @@ export declare namespace MittwaldAPIV2 {
362
378
  type RequestData = InferredRequestData<typeof descriptors.contributorResetContributorAvatar>;
363
379
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorResetContributorAvatar, TStatus>;
364
380
  }
365
- namespace ContributorRequestVerification {
366
- type RequestData = InferredRequestData<typeof descriptors.contributorRequestVerification>;
367
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorRequestVerification, TStatus>;
368
- }
369
- namespace ContributorCancelVerification {
370
- type RequestData = InferredRequestData<typeof descriptors.contributorCancelVerification>;
371
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorCancelVerification, TStatus>;
372
- }
373
381
  namespace ContributorRotateSecretForExtensionInstance {
374
382
  type RequestData = InferredRequestData<typeof descriptors.contributorRotateSecretForExtensionInstance>;
375
383
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorRotateSecretForExtensionInstance, TStatus>;
@@ -1722,17 +1730,13 @@ export declare namespace MittwaldAPIV2 {
1722
1730
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1723
1731
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1724
1732
  }
1725
- namespace BackupGetProjectBackupToc {
1726
- type RequestData = InferredRequestData<typeof descriptors.backupGetProjectBackupToc>;
1727
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupGetProjectBackupToc, TStatus>;
1728
- }
1729
- namespace BackupRequestProjectBackupRestorePath {
1730
- type RequestData = InferredRequestData<typeof descriptors.backupRequestProjectBackupRestorePath>;
1731
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupRequestProjectBackupRestorePath, TStatus>;
1733
+ namespace LeadfyndrGetLeadsExportHistory {
1734
+ type RequestData = InferredRequestData<typeof descriptors.leadfyndrGetLeadsExportHistory>;
1735
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.leadfyndrGetLeadsExportHistory, TStatus>;
1732
1736
  }
1733
- namespace MiscellaneousListTimeZones {
1734
- type RequestData = InferredRequestData<typeof descriptors.miscellaneousListTimeZones>;
1735
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.miscellaneousListTimeZones, TStatus>;
1737
+ namespace LeadfyndrCreateLeadsExport {
1738
+ type RequestData = InferredRequestData<typeof descriptors.leadfyndrCreateLeadsExport>;
1739
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.leadfyndrCreateLeadsExport, TStatus>;
1736
1740
  }
1737
1741
  }
1738
1742
  namespace Components {
@@ -1847,9 +1851,9 @@ export declare namespace MittwaldAPIV2 {
1847
1851
  faqLink: string;
1848
1852
  }
1849
1853
  interface AppCronjobCommand {
1850
- interpreterTemplate?: string;
1854
+ interpreterTemplate: string;
1851
1855
  parametersTemplate?: string;
1852
- pathTemplate?: string;
1856
+ pathTemplate: string;
1853
1857
  }
1854
1858
  /**
1855
1859
  * A DatabaseDependency is a generic description of need for a database, used by AppVersions.
@@ -1988,6 +1992,7 @@ export declare namespace MittwaldAPIV2 {
1988
1992
  current?: string;
1989
1993
  desired: string;
1990
1994
  }
1995
+ type BackupRestorePathPhase = "running" | "completed";
1991
1996
  type BackupBackupSortOrder = "oldestFirst" | "newestFirst";
1992
1997
  interface BackupBackupTemplate {
1993
1998
  expirationTime: string;
@@ -2011,7 +2016,7 @@ export declare namespace MittwaldAPIV2 {
2011
2016
  parentId?: string;
2012
2017
  projectId: string;
2013
2018
  requestedAt: string;
2014
- restorePath?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathResponse;
2019
+ restorePath?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath;
2015
2020
  status: string;
2016
2021
  }
2017
2022
  interface BackupProjectBackupExport {
@@ -2022,6 +2027,24 @@ export declare namespace MittwaldAPIV2 {
2022
2027
  sha256Checksum?: string;
2023
2028
  withPassword: boolean;
2024
2029
  }
2030
+ interface BackupProjectBackupRestorePathRequest {
2031
+ /**
2032
+ * Target path where the source path should be restored to. If not set, the target path will be determined to equal the origin source. The target path must be a directory
2033
+ */
2034
+ clearTargetPath?: boolean;
2035
+ sourcePath: string;
2036
+ /**
2037
+ * Target path where the source path should be restored to. If not set, the target path will be determined to equal the origin source. The target path should always be a folder, no files allowed here.
2038
+ */
2039
+ targetPath?: string;
2040
+ }
2041
+ interface BackupProjectBackupRestorePath {
2042
+ clearTargetPath: boolean;
2043
+ determinedTargetPath: string;
2044
+ phase: MittwaldAPIV2.Components.Schemas.BackupRestorePathPhase;
2045
+ sourcePath: string;
2046
+ targetPath?: string;
2047
+ }
2025
2048
  interface BackupProjectBackupSchedule {
2026
2049
  createdAt?: string;
2027
2050
  /**
@@ -2724,13 +2747,13 @@ export declare namespace MittwaldAPIV2 {
2724
2747
  description: string;
2725
2748
  destination: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
2726
2749
  email?: string;
2750
+ failedExecutionAlertThreshold?: number;
2727
2751
  id: string;
2728
2752
  interval: string;
2729
2753
  latestExecution?: MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution;
2730
2754
  nextExecutionTime?: string;
2731
2755
  projectId?: string;
2732
2756
  shortId: string;
2733
- timeZone?: string;
2734
2757
  timeout: number;
2735
2758
  updatedAt: string;
2736
2759
  }
@@ -2749,13 +2772,11 @@ export declare namespace MittwaldAPIV2 {
2749
2772
  * @deprecated
2750
2773
  */
2751
2774
  executionStart?: string;
2752
- exitCode?: number;
2753
2775
  id: string;
2754
2776
  logPath?: string;
2755
2777
  start?: string;
2756
2778
  status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
2757
2779
  successful: boolean;
2758
- summary?: MittwaldAPIV2.Components.Schemas.CronjobStatusSummary;
2759
2780
  triggeredBy?: {
2760
2781
  id?: string;
2761
2782
  };
@@ -2767,8 +2788,8 @@ export declare namespace MittwaldAPIV2 {
2767
2788
  description: string;
2768
2789
  destination: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
2769
2790
  email?: string;
2791
+ failedExecutionAlertThreshold?: number;
2770
2792
  interval: string;
2771
- timeZone?: string;
2772
2793
  timeout: number;
2773
2794
  }
2774
2795
  interface CronjobCronjobUrl {
@@ -5394,41 +5415,35 @@ export declare namespace MittwaldAPIV2 {
5394
5415
  }
5395
5416
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5396
5417
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5397
- interface BackupProjectBackupRestorePath {
5398
- /**
5399
- * If true, existing files in the target path will be deleted before the restore. If false, existing files will be kept and may be overwritten if they exist in the backup.
5400
- */
5401
- clearTargetPath?: boolean;
5402
- /**
5403
- * Source path within the backup to restore from. If not set, a full restore of the project will be triggered.
5404
- */
5405
- sourcePath?: string;
5406
- /**
5407
- * Target path where the source path should be restored to. If not set, the target path will be determined to equal the origin source, e.g. source path='/data-p-shortid-userdata/p-shortid/web/myapp' target path='data-p-shortid-userdata/p-shortid/web/'. This e.g. will restore the /myapp folder to /web. Also the target path should always be a folder, no files allowed here.
5408
- */
5409
- targetDir?: string;
5410
- }
5411
- interface BackupProjectBackupRestorePathResponse {
5412
- clearTargetPath?: boolean;
5413
- determinedSourcePath?: string;
5414
- determinedTargetPath?: string;
5415
- phase: MittwaldAPIV2.Components.Schemas.BackupRestorePathPhase;
5416
- sourcePath?: string;
5417
- targetPath?: string;
5418
- }
5419
- type BackupRestorePathPhase = "running" | "completed";
5420
- interface BackupProjectBackupDirectory {
5418
+ interface BackupProjectBackupPath {
5421
5419
  absolutePath: string;
5422
5420
  isDirectory?: boolean;
5423
5421
  isExecutable?: boolean;
5424
5422
  isFile?: boolean;
5425
5423
  isSymlink?: boolean;
5426
- items?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupDirectory[];
5424
+ items?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[];
5427
5425
  name: string;
5428
5426
  size: number;
5429
5427
  target?: string;
5430
5428
  }
5431
- type CronjobStatusSummary = "unspecified" | "active" | "complete" | "suspended" | "failed" | "orphaned" | "timeout" | "error";
5429
+ interface LeadfyndrLeadsExport {
5430
+ customerId: string;
5431
+ exportId: string;
5432
+ exportedAt: string;
5433
+ exportedBy?: MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExportExporter;
5434
+ /**
5435
+ * The number of leads included in the export.
5436
+ */
5437
+ leadCount: number;
5438
+ }
5439
+ interface LeadfyndrLeadsExportExporter {
5440
+ avatarRefId?: string;
5441
+ person?: {
5442
+ firstName: string;
5443
+ lastName: string;
5444
+ };
5445
+ userId: string;
5446
+ }
5432
5447
  interface CommonsAddress {
5433
5448
  street: string;
5434
5449
  houseNumber: string;
@@ -7233,6 +7248,122 @@ export declare namespace MittwaldAPIV2 {
7233
7248
  }
7234
7249
  }
7235
7250
  }
7251
+ namespace V2ProjectBackupsProjectBackupIdPath {
7252
+ namespace Get {
7253
+ namespace Parameters {
7254
+ type Path = {
7255
+ projectBackupId: string;
7256
+ };
7257
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
7258
+ type Query = {
7259
+ directory?: string;
7260
+ };
7261
+ }
7262
+ namespace Responses {
7263
+ namespace $200 {
7264
+ namespace Content {
7265
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath;
7266
+ }
7267
+ }
7268
+ namespace $403 {
7269
+ namespace Content {
7270
+ interface ApplicationJson {
7271
+ [k: string]: unknown;
7272
+ }
7273
+ }
7274
+ }
7275
+ namespace $404 {
7276
+ namespace Content {
7277
+ interface ApplicationJson {
7278
+ [k: string]: unknown;
7279
+ }
7280
+ }
7281
+ }
7282
+ namespace $429 {
7283
+ namespace Content {
7284
+ interface ApplicationJson {
7285
+ [k: string]: unknown;
7286
+ }
7287
+ }
7288
+ }
7289
+ namespace $502 {
7290
+ namespace Content {
7291
+ interface ApplicationJson {
7292
+ [k: string]: unknown;
7293
+ }
7294
+ }
7295
+ }
7296
+ namespace $503 {
7297
+ namespace Content {
7298
+ interface ApplicationJson {
7299
+ [k: string]: unknown;
7300
+ }
7301
+ }
7302
+ }
7303
+ namespace Default {
7304
+ namespace Content {
7305
+ interface ApplicationJson {
7306
+ [k: string]: unknown;
7307
+ }
7308
+ }
7309
+ }
7310
+ }
7311
+ }
7312
+ }
7313
+ namespace V2ProjectBackupsProjectBackupIdRestorePath {
7314
+ namespace Post {
7315
+ namespace Parameters {
7316
+ type Path = {
7317
+ projectBackupId: string;
7318
+ };
7319
+ type RequestBody = MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest;
7320
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
7321
+ type Query = {};
7322
+ }
7323
+ namespace Responses {
7324
+ namespace $204 {
7325
+ namespace Content {
7326
+ type Empty = unknown;
7327
+ }
7328
+ }
7329
+ namespace $400 {
7330
+ namespace Content {
7331
+ interface ApplicationJson {
7332
+ [k: string]: unknown;
7333
+ }
7334
+ }
7335
+ }
7336
+ namespace $403 {
7337
+ namespace Content {
7338
+ interface ApplicationJson {
7339
+ [k: string]: unknown;
7340
+ }
7341
+ }
7342
+ }
7343
+ namespace $404 {
7344
+ namespace Content {
7345
+ interface ApplicationJson {
7346
+ [k: string]: unknown;
7347
+ }
7348
+ }
7349
+ }
7350
+ namespace $429 {
7351
+ namespace Content {
7352
+ interface ApplicationJson {
7353
+ [k: string]: unknown;
7354
+ }
7355
+ }
7356
+ }
7357
+ namespace Default {
7358
+ namespace Content {
7359
+ interface ApplicationJson {
7360
+ [k: string]: unknown;
7361
+ }
7362
+ }
7363
+ }
7364
+ }
7365
+ }
7366
+ }
7236
7367
  namespace V2ProjectBackupsProjectBackupIdDescription {
7237
7368
  namespace Patch {
7238
7369
  namespace Parameters {
@@ -9534,6 +9665,82 @@ export declare namespace MittwaldAPIV2 {
9534
9665
  }
9535
9666
  }
9536
9667
  }
9668
+ namespace V2ContributorsContributorIdVerificationProcess {
9669
+ namespace Post {
9670
+ namespace Parameters {
9671
+ type Path = {
9672
+ contributorId: string;
9673
+ };
9674
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9675
+ type Query = {};
9676
+ }
9677
+ namespace Responses {
9678
+ namespace $204 {
9679
+ namespace Content {
9680
+ type Empty = unknown;
9681
+ }
9682
+ }
9683
+ namespace $400 {
9684
+ namespace Content {
9685
+ interface ApplicationJson {
9686
+ [k: string]: unknown;
9687
+ }
9688
+ }
9689
+ }
9690
+ namespace $429 {
9691
+ namespace Content {
9692
+ interface ApplicationJson {
9693
+ [k: string]: unknown;
9694
+ }
9695
+ }
9696
+ }
9697
+ namespace Default {
9698
+ namespace Content {
9699
+ interface ApplicationJson {
9700
+ [k: string]: unknown;
9701
+ }
9702
+ }
9703
+ }
9704
+ }
9705
+ }
9706
+ namespace Delete {
9707
+ namespace Parameters {
9708
+ type Path = {
9709
+ contributorId: string;
9710
+ };
9711
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9712
+ type Query = {};
9713
+ }
9714
+ namespace Responses {
9715
+ namespace $204 {
9716
+ namespace Content {
9717
+ type Empty = unknown;
9718
+ }
9719
+ }
9720
+ namespace $400 {
9721
+ namespace Content {
9722
+ interface ApplicationJson {
9723
+ [k: string]: unknown;
9724
+ }
9725
+ }
9726
+ }
9727
+ namespace $429 {
9728
+ namespace Content {
9729
+ interface ApplicationJson {
9730
+ [k: string]: unknown;
9731
+ }
9732
+ }
9733
+ }
9734
+ namespace Default {
9735
+ namespace Content {
9736
+ interface ApplicationJson {
9737
+ [k: string]: unknown;
9738
+ }
9739
+ }
9740
+ }
9741
+ }
9742
+ }
9743
+ }
9537
9744
  namespace V2ContributorsContributorId {
9538
9745
  namespace Get {
9539
9746
  namespace Parameters {
@@ -10225,82 +10432,6 @@ export declare namespace MittwaldAPIV2 {
10225
10432
  }
10226
10433
  }
10227
10434
  }
10228
- namespace V2ContributorsContributorIdVerificationProcess {
10229
- namespace Post {
10230
- namespace Parameters {
10231
- type Path = {
10232
- contributorId: string;
10233
- };
10234
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10235
- type Query = {};
10236
- }
10237
- namespace Responses {
10238
- namespace $204 {
10239
- namespace Content {
10240
- type Empty = unknown;
10241
- }
10242
- }
10243
- namespace $400 {
10244
- namespace Content {
10245
- interface ApplicationJson {
10246
- [k: string]: unknown;
10247
- }
10248
- }
10249
- }
10250
- namespace $429 {
10251
- namespace Content {
10252
- interface ApplicationJson {
10253
- [k: string]: unknown;
10254
- }
10255
- }
10256
- }
10257
- namespace Default {
10258
- namespace Content {
10259
- interface ApplicationJson {
10260
- [k: string]: unknown;
10261
- }
10262
- }
10263
- }
10264
- }
10265
- }
10266
- namespace Delete {
10267
- namespace Parameters {
10268
- type Path = {
10269
- contributorId: string;
10270
- };
10271
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10272
- type Query = {};
10273
- }
10274
- namespace Responses {
10275
- namespace $204 {
10276
- namespace Content {
10277
- type Empty = unknown;
10278
- }
10279
- }
10280
- namespace $400 {
10281
- namespace Content {
10282
- interface ApplicationJson {
10283
- [k: string]: unknown;
10284
- }
10285
- }
10286
- }
10287
- namespace $429 {
10288
- namespace Content {
10289
- interface ApplicationJson {
10290
- [k: string]: unknown;
10291
- }
10292
- }
10293
- }
10294
- namespace Default {
10295
- namespace Content {
10296
- interface ApplicationJson {
10297
- [k: string]: unknown;
10298
- }
10299
- }
10300
- }
10301
- }
10302
- }
10303
- }
10304
10435
  namespace V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret {
10305
10436
  namespace Put {
10306
10437
  namespace Parameters {
@@ -11368,6 +11499,7 @@ export declare namespace MittwaldAPIV2 {
11368
11499
  description?: string;
11369
11500
  destination?: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
11370
11501
  email?: string;
11502
+ failedExecutionAlertThreshold?: number;
11371
11503
  interval?: string;
11372
11504
  timeout?: number;
11373
11505
  }
@@ -17549,8 +17681,15 @@ export declare namespace MittwaldAPIV2 {
17549
17681
  namespace $200 {
17550
17682
  namespace Content {
17551
17683
  interface ApplicationJson {
17552
- extensionId?: string;
17553
- priceChangeConsequence?: {
17684
+ /**
17685
+ * The ID of the Extension.
17686
+ */
17687
+ extensionId: string;
17688
+ /**
17689
+ * The time until which the contributor is blocked from changing the price again.
17690
+ */
17691
+ nextPossiblePriceChange?: string;
17692
+ priceChangeConsequence: {
17554
17693
  /**
17555
17694
  * Description of the consequence for the Extension from the perspective of the contributor. Values: * "NONE": No consequence. * "EDIT_BLOCK": The Extension will be blocked for editing by the contributor for 30 days.
17556
17695
  *
@@ -18037,6 +18176,7 @@ export declare namespace MittwaldAPIV2 {
18037
18176
  projectId?: string;
18038
18177
  certificateId?: string;
18039
18178
  hostnameSubstring?: string;
18179
+ appInstallationId?: string;
18040
18180
  limit?: number;
18041
18181
  skip?: number;
18042
18182
  page?: number;
@@ -27224,52 +27364,49 @@ export declare namespace MittwaldAPIV2 {
27224
27364
  }
27225
27365
  }
27226
27366
  }
27227
- namespace V2ProjectBackupsProjectBackupIdPaths {
27367
+ namespace V2CustomersCustomerIdUnlockedLeadsExports {
27228
27368
  namespace Get {
27229
27369
  namespace Parameters {
27230
27370
  type Path = {
27231
- projectBackupId: string;
27371
+ customerId: string;
27232
27372
  };
27233
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27373
+ type Header = {};
27234
27374
  type Query = {
27235
- directory?: string;
27375
+ limit?: number;
27376
+ skip?: number;
27377
+ page?: number;
27378
+ sort?: "exportedAt";
27379
+ order?: "asc" | "desc";
27236
27380
  };
27237
27381
  }
27238
27382
  namespace Responses {
27239
27383
  namespace $200 {
27240
27384
  namespace Content {
27241
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.BackupProjectBackupDirectory;
27242
- }
27243
- }
27244
- namespace $403 {
27245
- namespace Content {
27246
- interface ApplicationJson {
27247
- [k: string]: unknown;
27248
- }
27385
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[];
27249
27386
  }
27250
27387
  }
27251
- namespace $404 {
27388
+ namespace $400 {
27252
27389
  namespace Content {
27253
27390
  interface ApplicationJson {
27254
27391
  [k: string]: unknown;
27255
27392
  }
27256
27393
  }
27257
27394
  }
27258
- namespace $429 {
27395
+ namespace $403 {
27259
27396
  namespace Content {
27260
27397
  interface ApplicationJson {
27261
27398
  [k: string]: unknown;
27262
27399
  }
27263
27400
  }
27264
27401
  }
27265
- namespace $502 {
27402
+ namespace $404 {
27266
27403
  namespace Content {
27267
27404
  interface ApplicationJson {
27268
27405
  [k: string]: unknown;
27269
27406
  }
27270
27407
  }
27271
27408
  }
27272
- namespace $503 {
27409
+ namespace $429 {
27273
27410
  namespace Content {
27274
27411
  interface ApplicationJson {
27275
27412
  [k: string]: unknown;
@@ -27286,20 +27423,39 @@ export declare namespace MittwaldAPIV2 {
27286
27423
  }
27287
27424
  }
27288
27425
  }
27289
- namespace V2ProjectBackupsProjectBackupIdRestorePath {
27426
+ namespace V2CustomersCustomerIdUnlockedLeadsExport {
27290
27427
  namespace Post {
27291
27428
  namespace Parameters {
27292
27429
  type Path = {
27293
- projectBackupId: string;
27430
+ customerId: string;
27294
27431
  };
27295
- type RequestBody = MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath;
27296
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27432
+ interface RequestBody {
27433
+ /**
27434
+ * Whether to export all leads or only not already exported leads.
27435
+ */
27436
+ exportAllLeads: boolean;
27437
+ /**
27438
+ * The fields to include in the export.
27439
+ */
27440
+ fieldKeys: ("domain" | "potential" | "performance" | "generalLook" | "companyName" | "emails" | "phoneNumbers" | "address" | "employeeCount" | "revenue" | "a-record" | "nameserver" | "mailserver" | "techStack")[];
27441
+ }
27442
+ type Header = {};
27297
27443
  type Query = {};
27298
27444
  }
27299
27445
  namespace Responses {
27300
- namespace $204 {
27446
+ namespace $200 {
27301
27447
  namespace Content {
27302
- type Empty = unknown;
27448
+ interface ApplicationJson {
27449
+ /**
27450
+ * The base64 encoded csv content of the export.
27451
+ */
27452
+ contentBase64: string;
27453
+ exportId: string;
27454
+ }
27455
+ /**
27456
+ * The csv content of the export.
27457
+ */
27458
+ type TextCsv = string;
27303
27459
  }
27304
27460
  }
27305
27461
  namespace $400 {
@@ -27323,36 +27479,13 @@ export declare namespace MittwaldAPIV2 {
27323
27479
  }
27324
27480
  }
27325
27481
  }
27326
- namespace $429 {
27327
- namespace Content {
27328
- interface ApplicationJson {
27329
- [k: string]: unknown;
27330
- }
27331
- }
27332
- }
27333
- namespace Default {
27482
+ namespace $409 {
27334
27483
  namespace Content {
27335
27484
  interface ApplicationJson {
27336
27485
  [k: string]: unknown;
27337
27486
  }
27338
27487
  }
27339
27488
  }
27340
- }
27341
- }
27342
- }
27343
- namespace V2TimeZones {
27344
- namespace Get {
27345
- namespace Parameters {
27346
- type Path = {};
27347
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27348
- type Query = {};
27349
- }
27350
- namespace Responses {
27351
- namespace $200 {
27352
- namespace Content {
27353
- type ApplicationJson = string[];
27354
- }
27355
- }
27356
27489
  namespace $429 {
27357
27490
  namespace Content {
27358
27491
  interface ApplicationJson {