@mittwald/api-client 0.0.0-development-ccafe69-20250930 → 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.
@@ -48,7 +48,7 @@ const buildBackupApi = (baseClient) => ({
48
48
  getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
49
49
  /** Get a ProjectBackup. */
50
50
  getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
51
- /** Get table of contents for a Project Backup. */
51
+ /** Get table of contents for a ProjectBackup. */
52
52
  getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
53
53
  });
54
54
  const buildContainerApi = (baseClient) => ({
@@ -294,6 +294,8 @@ const buildLeadFyndrApi = (baseClient) => ({
294
294
  leadfyndrListLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListLeads, baseClient.leadFyndr.leadfyndrListLeads).getApiResource,
295
295
  /** Get all unlocked leads. Organisation can unlock leads. */
296
296
  leadfyndrListUnlockedLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeads, baseClient.leadFyndr.leadfyndrListUnlockedLeads).getApiResource,
297
+ /** Get unlocked leads export history for the given customerId. */
298
+ leadfyndrGetLeadsExportHistory: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadsExportHistory, baseClient.leadFyndr.leadfyndrGetLeadsExportHistory).getApiResource,
297
299
  });
298
300
  const buildMailApi = (baseClient) => ({
299
301
  /** List DeliveryBoxes belonging to a Project. */
@@ -86,7 +86,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
86
86
  getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
87
87
  /** Delete a ProjectBackup. */
88
88
  deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
89
- /** Get table of contents for a Project Backup. */
89
+ /** Get table of contents for a ProjectBackup. */
90
90
  getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
91
91
  /** Restore a ProjectBackup's path. */
92
92
  requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
@@ -795,6 +795,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
795
795
  leadfyndrReserveUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrReserveUnlockedLead),
796
796
  /** Removes a reservation on a unlocked lead for the given customerId. */
797
797
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
798
+ /** Get unlocked leads export history for the given customerId. */
799
+ leadfyndrGetLeadsExportHistory: this.requestFunctionFactory(descriptors.leadfyndrGetLeadsExportHistory),
800
+ /** Create an export of unlocked leads for the given customerId. */
801
+ leadfyndrCreateLeadsExport: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadsExport),
798
802
  };
799
803
  /** API endpoints that are not related to any specific API domain */
800
804
  misc = {
@@ -220,9 +220,9 @@ export const backupDeleteProjectBackup = {
220
220
  method: "DELETE",
221
221
  operationId: "backup-delete-project-backup",
222
222
  };
223
- /** Get table of contents for a Project Backup. */
223
+ /** Get table of contents for a ProjectBackup. */
224
224
  export const backupGetProjectBackupDirectories = {
225
- path: "/v2/project-backups/{projectBackupId}/directories",
225
+ path: "/v2/project-backups/{projectBackupId}/path",
226
226
  method: "GET",
227
227
  operationId: "backup-get-project-backup-directories",
228
228
  };
@@ -2590,3 +2590,15 @@ export const verificationVerifyCompany = {
2590
2590
  method: "POST",
2591
2591
  operationId: "verification-verify-company",
2592
2592
  };
2593
+ /** Get unlocked leads export history for the given customerId. */
2594
+ export const leadfyndrGetLeadsExportHistory = {
2595
+ path: "/v2/customers/{customerId}/unlocked-leads-exports",
2596
+ method: "GET",
2597
+ operationId: "leadfyndr-get-leads-export-history",
2598
+ };
2599
+ /** Create an export of unlocked leads for the given customerId. */
2600
+ export const leadfyndrCreateLeadsExport = {
2601
+ path: "/v2/customers/{customerId}/unlocked-leads-export",
2602
+ method: "POST",
2603
+ operationId: "leadfyndr-create-leads-export",
2604
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.233.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-ccafe69-20250930';
@@ -346,7 +346,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
346
346
  restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
347
347
  status: string;
348
348
  }>;
349
- /** Get table of contents for a Project Backup. */
349
+ /** Get table of contents for a ProjectBackup. */
350
350
  getProjectBackupDirectories: (conf: {
351
351
  projectBackupId: string;
352
352
  headers?: {
@@ -363,7 +363,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
363
363
  isExecutable?: boolean | undefined;
364
364
  isFile?: boolean | undefined;
365
365
  isSymlink?: boolean | undefined;
366
- items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupDirectory[] | undefined;
366
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[] | undefined;
367
367
  name: string;
368
368
  size: number;
369
369
  target?: string | undefined;
@@ -2312,6 +2312,21 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
2312
2312
  skip: number;
2313
2313
  totalCount: number;
2314
2314
  }>;
2315
+ /** Get unlocked leads export history for the given customerId. */
2316
+ leadfyndrGetLeadsExportHistory: (conf: {
2317
+ customerId: string;
2318
+ headers?: {
2319
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2320
+ } | undefined;
2321
+ queryParameters?: {
2322
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2323
+ limit?: number | undefined;
2324
+ skip?: number | undefined;
2325
+ page?: number | undefined;
2326
+ sort?: "exportedAt" | undefined;
2327
+ order?: "asc" | "desc" | undefined;
2328
+ } | undefined;
2329
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[]>;
2315
2330
  };
2316
2331
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2317
2332
  /** List DeliveryBoxes belonging to a Project. */
@@ -2260,7 +2260,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2260
2260
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2261
2261
  [x: string]: unknown;
2262
2262
  }, 429, "application/json">>>;
2263
- /** Get table of contents for a Project Backup. */
2263
+ /** Get table of contents for a ProjectBackup. */
2264
2264
  getProjectBackupDirectories: (request: {
2265
2265
  projectBackupId: string;
2266
2266
  headers?: {
@@ -2297,7 +2297,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2297
2297
  isExecutable?: boolean | undefined;
2298
2298
  isFile?: boolean | undefined;
2299
2299
  isSymlink?: boolean | undefined;
2300
- items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupDirectory[] | undefined;
2300
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[] | undefined;
2301
2301
  name: string;
2302
2302
  size: number;
2303
2303
  target?: string | undefined;
@@ -2337,7 +2337,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2337
2337
  isExecutable?: boolean | undefined;
2338
2338
  isFile?: boolean | undefined;
2339
2339
  isSymlink?: boolean | undefined;
2340
- items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupDirectory[] | undefined;
2340
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[] | undefined;
2341
2341
  name: string;
2342
2342
  size: number;
2343
2343
  target?: string | undefined;
@@ -2355,11 +2355,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2355
2355
  /** Restore a ProjectBackup's path. */
2356
2356
  requestProjectBackupRestorePath: (request: {
2357
2357
  data: {
2358
- clearTargetPath: boolean;
2359
- determinedSourcePath: string;
2360
- phase: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupRestorePathPhase;
2361
2358
  sourcePath: string;
2362
- determinedTargetPath?: string | undefined;
2359
+ clearTargetPath?: boolean | undefined;
2363
2360
  targetPath?: string | undefined;
2364
2361
  };
2365
2362
  projectBackupId: string;
@@ -2369,10 +2366,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2369
2366
  } | undefined;
2370
2367
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
2371
2368
  data: {
2372
- clearTargetPath: boolean;
2373
- determinedSourcePath: string;
2374
- determinedTargetPath?: string | undefined;
2375
- phase: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupRestorePathPhase;
2369
+ clearTargetPath?: boolean | undefined;
2376
2370
  sourcePath: string;
2377
2371
  targetPath?: string | undefined;
2378
2372
  };
@@ -2400,10 +2394,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2400
2394
  [x: string]: unknown;
2401
2395
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2402
2396
  data: {
2403
- clearTargetPath: boolean;
2404
- determinedSourcePath: string;
2405
- determinedTargetPath?: string | undefined;
2406
- phase: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupRestorePathPhase;
2397
+ clearTargetPath?: boolean | undefined;
2407
2398
  sourcePath: string;
2408
2399
  targetPath?: string | undefined;
2409
2400
  };
@@ -24085,6 +24076,136 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24085
24076
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
24086
24077
  [x: string]: unknown;
24087
24078
  }, 429, "application/json">>>;
24079
+ /** Get unlocked leads export history for the given customerId. */
24080
+ leadfyndrGetLeadsExportHistory: (request: {
24081
+ customerId: string;
24082
+ headers?: {
24083
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24084
+ } | undefined;
24085
+ queryParameters?: {
24086
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24087
+ limit?: number | undefined;
24088
+ skip?: number | undefined;
24089
+ page?: number | undefined;
24090
+ sort?: "exportedAt" | undefined;
24091
+ order?: "asc" | "desc" | undefined;
24092
+ } | undefined;
24093
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24094
+ headers?: Partial<{
24095
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24096
+ }>;
24097
+ } & {
24098
+ pathParameters: {
24099
+ customerId: string;
24100
+ };
24101
+ } & {
24102
+ queryParameters: {
24103
+ limit?: number | undefined;
24104
+ skip?: number | undefined;
24105
+ page?: number | undefined;
24106
+ sort?: "exportedAt" | undefined;
24107
+ order?: "asc" | "desc" | undefined;
24108
+ } & Partial<{
24109
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24110
+ }>;
24111
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
24112
+ [x: string]: unknown;
24113
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24114
+ [x: string]: unknown;
24115
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
24116
+ [x: string]: unknown;
24117
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
24118
+ [x: string]: unknown;
24119
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24120
+ headers?: Partial<{
24121
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24122
+ }>;
24123
+ } & {
24124
+ pathParameters: {
24125
+ customerId: string;
24126
+ };
24127
+ } & {
24128
+ queryParameters: {
24129
+ limit?: number | undefined;
24130
+ skip?: number | undefined;
24131
+ page?: number | undefined;
24132
+ sort?: "exportedAt" | undefined;
24133
+ order?: "asc" | "desc" | undefined;
24134
+ } & Partial<{
24135
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24136
+ }>;
24137
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
24138
+ [x: string]: unknown;
24139
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24140
+ [x: string]: unknown;
24141
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
24142
+ [x: string]: unknown;
24143
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
24144
+ [x: string]: unknown;
24145
+ }, 429, "application/json">>>;
24146
+ /** Create an export of unlocked leads for the given customerId. */
24147
+ leadfyndrCreateLeadsExport: (request: {
24148
+ data: {
24149
+ exportAllLeads: boolean;
24150
+ fieldKeys: ("domain" | "potential" | "performance" | "generalLook" | "companyName" | "emails" | "phoneNumbers" | "address" | "employeeCount" | "revenue" | "a-record" | "nameserver" | "mailserver" | "techStack")[];
24151
+ };
24152
+ customerId: string;
24153
+ headers?: {
24154
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24155
+ } | undefined;
24156
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24157
+ data: {
24158
+ exportAllLeads: boolean;
24159
+ fieldKeys: ("domain" | "potential" | "performance" | "generalLook" | "companyName" | "emails" | "phoneNumbers" | "address" | "employeeCount" | "revenue" | "a-record" | "nameserver" | "mailserver" | "techStack")[];
24160
+ };
24161
+ } & {
24162
+ pathParameters: {
24163
+ customerId: string;
24164
+ };
24165
+ } & {
24166
+ headers?: Partial<{
24167
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24168
+ }>;
24169
+ }, import("@mittwald/api-client-commons").Response<{
24170
+ contentBase64: string;
24171
+ exportId: string;
24172
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<string, 200, "text/csv"> | import("@mittwald/api-client-commons").Response<{
24173
+ [x: string]: unknown;
24174
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24175
+ [x: string]: unknown;
24176
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
24177
+ [x: string]: unknown;
24178
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
24179
+ [x: string]: unknown;
24180
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
24181
+ [x: string]: unknown;
24182
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24183
+ data: {
24184
+ exportAllLeads: boolean;
24185
+ fieldKeys: ("domain" | "potential" | "performance" | "generalLook" | "companyName" | "emails" | "phoneNumbers" | "address" | "employeeCount" | "revenue" | "a-record" | "nameserver" | "mailserver" | "techStack")[];
24186
+ };
24187
+ } & {
24188
+ pathParameters: {
24189
+ customerId: string;
24190
+ };
24191
+ } & {
24192
+ headers?: Partial<{
24193
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24194
+ }>;
24195
+ }, import("@mittwald/api-client-commons").Response<{
24196
+ contentBase64: string;
24197
+ exportId: string;
24198
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<string, 200, "text/csv"> | import("@mittwald/api-client-commons").Response<{
24199
+ [x: string]: unknown;
24200
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24201
+ [x: string]: unknown;
24202
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
24203
+ [x: string]: unknown;
24204
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
24205
+ [x: string]: unknown;
24206
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
24207
+ [x: string]: unknown;
24208
+ }, 429, "application/json">>>;
24088
24209
  };
24089
24210
  /** API endpoints that are not related to any specific API domain */
24090
24211
  readonly misc: {
@@ -77,8 +77,8 @@ export declare const backupUpdateProjectBackupSchedule: OpenAPIOperation<Request
77
77
  export declare const backupGetProjectBackup: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
78
78
  /** Delete a ProjectBackup. */
79
79
  export declare const backupDeleteProjectBackup: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
80
- /** Get table of contents for a Project Backup. */
81
- export declare const backupGetProjectBackupDirectories: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Responses.$502.Content.ApplicationJson>, 502, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDirectories.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
80
+ /** Get table of contents for a ProjectBackup. */
81
+ export declare const backupGetProjectBackupDirectories: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$502.Content.ApplicationJson>, 502, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
82
82
  /** Restore a ProjectBackup's path. */
83
83
  export declare const backupRequestProjectBackupRestorePath: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
84
84
  /** Change the description of a ProjectBackup. */
@@ -867,3 +867,7 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
867
867
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
868
868
  /** Check if a company exists. */
869
869
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
870
+ /** Get unlocked leads export history for the given customerId. */
871
+ export declare const leadfyndrGetLeadsExportHistory: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
872
+ /** Create an export of unlocked leads for the given customerId. */
873
+ export declare const leadfyndrCreateLeadsExport: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$200.Content.TextCsv>, 200, "text/csv"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1730,6 +1730,14 @@ export declare namespace MittwaldAPIV2 {
1730
1730
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1731
1731
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1732
1732
  }
1733
+ namespace LeadfyndrGetLeadsExportHistory {
1734
+ type RequestData = InferredRequestData<typeof descriptors.leadfyndrGetLeadsExportHistory>;
1735
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.leadfyndrGetLeadsExportHistory, TStatus>;
1736
+ }
1737
+ namespace LeadfyndrCreateLeadsExport {
1738
+ type RequestData = InferredRequestData<typeof descriptors.leadfyndrCreateLeadsExport>;
1739
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.leadfyndrCreateLeadsExport, TStatus>;
1740
+ }
1733
1741
  }
1734
1742
  namespace Components {
1735
1743
  namespace Schemas {
@@ -1984,7 +1992,7 @@ export declare namespace MittwaldAPIV2 {
1984
1992
  current?: string;
1985
1993
  desired: string;
1986
1994
  }
1987
- type BackupRestorePathPhase = "running" | "completed" | "aborted";
1995
+ type BackupRestorePathPhase = "running" | "completed";
1988
1996
  type BackupBackupSortOrder = "oldestFirst" | "newestFirst";
1989
1997
  interface BackupBackupTemplate {
1990
1998
  expirationTime: string;
@@ -2011,17 +2019,6 @@ export declare namespace MittwaldAPIV2 {
2011
2019
  restorePath?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath;
2012
2020
  status: string;
2013
2021
  }
2014
- interface BackupProjectBackupDirectory {
2015
- absolutePath: string;
2016
- isDirectory?: boolean;
2017
- isExecutable?: boolean;
2018
- isFile?: boolean;
2019
- isSymlink?: boolean;
2020
- items?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupDirectory[];
2021
- name: string;
2022
- size: number;
2023
- target?: string;
2024
- }
2025
2022
  interface BackupProjectBackupExport {
2026
2023
  downloadURL?: string;
2027
2024
  expiresAt?: string;
@@ -2032,22 +2029,18 @@ export declare namespace MittwaldAPIV2 {
2032
2029
  }
2033
2030
  interface BackupProjectBackupRestorePathRequest {
2034
2031
  /**
2035
- * 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.
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
2036
2033
  */
2037
2034
  clearTargetPath?: boolean;
2038
- /**
2039
- * Source path within the backup to restore from.
2040
- */
2041
2035
  sourcePath: string;
2042
2036
  /**
2043
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.
2044
2038
  */
2045
- targetDir?: string;
2039
+ targetPath?: string;
2046
2040
  }
2047
2041
  interface BackupProjectBackupRestorePath {
2048
2042
  clearTargetPath: boolean;
2049
- determinedSourcePath: string;
2050
- determinedTargetPath?: string;
2043
+ determinedTargetPath: string;
2051
2044
  phase: MittwaldAPIV2.Components.Schemas.BackupRestorePathPhase;
2052
2045
  sourcePath: string;
2053
2046
  targetPath?: string;
@@ -5422,6 +5415,35 @@ export declare namespace MittwaldAPIV2 {
5422
5415
  }
5423
5416
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5424
5417
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5418
+ interface BackupProjectBackupPath {
5419
+ absolutePath: string;
5420
+ isDirectory?: boolean;
5421
+ isExecutable?: boolean;
5422
+ isFile?: boolean;
5423
+ isSymlink?: boolean;
5424
+ items?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[];
5425
+ name: string;
5426
+ size: number;
5427
+ target?: string;
5428
+ }
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
+ }
5425
5447
  interface CommonsAddress {
5426
5448
  street: string;
5427
5449
  houseNumber: string;
@@ -7226,7 +7248,7 @@ export declare namespace MittwaldAPIV2 {
7226
7248
  }
7227
7249
  }
7228
7250
  }
7229
- namespace V2ProjectBackupsProjectBackupIdDirectories {
7251
+ namespace V2ProjectBackupsProjectBackupIdPath {
7230
7252
  namespace Get {
7231
7253
  namespace Parameters {
7232
7254
  type Path = {
@@ -7240,7 +7262,7 @@ export declare namespace MittwaldAPIV2 {
7240
7262
  namespace Responses {
7241
7263
  namespace $200 {
7242
7264
  namespace Content {
7243
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.BackupProjectBackupDirectory;
7265
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath;
7244
7266
  }
7245
7267
  }
7246
7268
  namespace $403 {
@@ -7294,7 +7316,7 @@ export declare namespace MittwaldAPIV2 {
7294
7316
  type Path = {
7295
7317
  projectBackupId: string;
7296
7318
  };
7297
- type RequestBody = MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath;
7319
+ type RequestBody = MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest;
7298
7320
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
7299
7321
  type Query = {};
7300
7322
  }
@@ -27342,5 +27364,144 @@ export declare namespace MittwaldAPIV2 {
27342
27364
  }
27343
27365
  }
27344
27366
  }
27367
+ namespace V2CustomersCustomerIdUnlockedLeadsExports {
27368
+ namespace Get {
27369
+ namespace Parameters {
27370
+ type Path = {
27371
+ customerId: string;
27372
+ };
27373
+ type Header = {};
27374
+ type Query = {
27375
+ limit?: number;
27376
+ skip?: number;
27377
+ page?: number;
27378
+ sort?: "exportedAt";
27379
+ order?: "asc" | "desc";
27380
+ };
27381
+ }
27382
+ namespace Responses {
27383
+ namespace $200 {
27384
+ namespace Content {
27385
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[];
27386
+ }
27387
+ }
27388
+ namespace $400 {
27389
+ namespace Content {
27390
+ interface ApplicationJson {
27391
+ [k: string]: unknown;
27392
+ }
27393
+ }
27394
+ }
27395
+ namespace $403 {
27396
+ namespace Content {
27397
+ interface ApplicationJson {
27398
+ [k: string]: unknown;
27399
+ }
27400
+ }
27401
+ }
27402
+ namespace $404 {
27403
+ namespace Content {
27404
+ interface ApplicationJson {
27405
+ [k: string]: unknown;
27406
+ }
27407
+ }
27408
+ }
27409
+ namespace $429 {
27410
+ namespace Content {
27411
+ interface ApplicationJson {
27412
+ [k: string]: unknown;
27413
+ }
27414
+ }
27415
+ }
27416
+ namespace Default {
27417
+ namespace Content {
27418
+ interface ApplicationJson {
27419
+ [k: string]: unknown;
27420
+ }
27421
+ }
27422
+ }
27423
+ }
27424
+ }
27425
+ }
27426
+ namespace V2CustomersCustomerIdUnlockedLeadsExport {
27427
+ namespace Post {
27428
+ namespace Parameters {
27429
+ type Path = {
27430
+ customerId: string;
27431
+ };
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 = {};
27443
+ type Query = {};
27444
+ }
27445
+ namespace Responses {
27446
+ namespace $200 {
27447
+ namespace Content {
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;
27459
+ }
27460
+ }
27461
+ namespace $400 {
27462
+ namespace Content {
27463
+ interface ApplicationJson {
27464
+ [k: string]: unknown;
27465
+ }
27466
+ }
27467
+ }
27468
+ namespace $403 {
27469
+ namespace Content {
27470
+ interface ApplicationJson {
27471
+ [k: string]: unknown;
27472
+ }
27473
+ }
27474
+ }
27475
+ namespace $404 {
27476
+ namespace Content {
27477
+ interface ApplicationJson {
27478
+ [k: string]: unknown;
27479
+ }
27480
+ }
27481
+ }
27482
+ namespace $409 {
27483
+ namespace Content {
27484
+ interface ApplicationJson {
27485
+ [k: string]: unknown;
27486
+ }
27487
+ }
27488
+ }
27489
+ namespace $429 {
27490
+ namespace Content {
27491
+ interface ApplicationJson {
27492
+ [k: string]: unknown;
27493
+ }
27494
+ }
27495
+ }
27496
+ namespace Default {
27497
+ namespace Content {
27498
+ interface ApplicationJson {
27499
+ [k: string]: unknown;
27500
+ }
27501
+ }
27502
+ }
27503
+ }
27504
+ }
27505
+ }
27345
27506
  }
27346
27507
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.233.0';
1
+ export declare const MittwaldAPIClientVersion = '0.0.0-development-ccafe69-20250930';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "0.0.0-development-ccafe69-20250930",
3
+ "version": "0.0.0-development-e87cbeb-20251001",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^0.0.0-development-ccafe69-20250930",
49
+ "@mittwald/api-client-commons": "^0.0.0-development-e87cbeb-20251001",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^0.0.0-development-ccafe69-20250930",
53
+ "@mittwald/api-code-generator": "^0.0.0-development-e87cbeb-20251001",
54
54
  "@mittwald/react-use-promise": "^2.6.0",
55
55
  "@types/node": "^22.10.1",
56
56
  "@types/react": "^18.3.14",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "06363f9afdf11f4d0cc19b42aa03f0046e73cb9d"
83
+ "gitHead": "01b01e9cefc0ae0b5b7dabd7261dd7acd0b33d44"
84
84
  }