@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.
@@ -48,8 +48,8 @@ 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. */
52
- getProjectBackupToc: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupToc, baseClient.backup.getProjectBackupToc).getApiResource,
51
+ /** Get table of contents for a ProjectBackup. */
52
+ getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
53
53
  });
54
54
  const buildContainerApi = (baseClient) => ({
55
55
  /** List Registries belonging to a Project. */
@@ -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. */
@@ -316,8 +318,6 @@ const buildMailApi = (baseClient) => ({
316
318
  const buildMiscApi = (baseClient) => ({
317
319
  /** Get a list of currently active llm models. */
318
320
  getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
319
- /** List valid time zones. */
320
- ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
321
321
  });
322
322
  const buildNotificationApi = (baseClient) => ({
323
323
  /** Getting the subscription status of the subscription. */
@@ -86,12 +86,12 @@ 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
- /** Change the description of a ProjectBackup. */
90
- updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
91
- /** Get table of contents for a Project Backup. */
92
- getProjectBackupToc: this.requestFunctionFactory(descriptors.backupGetProjectBackupToc),
89
+ /** Get table of contents for a ProjectBackup. */
90
+ getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
93
91
  /** Restore a ProjectBackup's path. */
94
92
  requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
93
+ /** Change the description of a ProjectBackup. */
94
+ updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
95
95
  };
96
96
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
97
97
  container = {
@@ -203,6 +203,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
203
203
  };
204
204
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
205
205
  marketplace = {
206
+ /** Start the verification process of a contributor. */
207
+ contributorRequestVerification: this.requestFunctionFactory(descriptors.contributorRequestVerification),
208
+ /** Cancel the verification-process of a contributor. */
209
+ contributorCancelVerification: this.requestFunctionFactory(descriptors.contributorCancelVerification),
206
210
  /** Get a Contributor. */
207
211
  extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
208
212
  /** Delete a Contributor. */
@@ -231,10 +235,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
231
235
  contributorRequestDeviatingContributorAvatarUpload: this.requestFunctionFactory(descriptors.contributorRequestDeviatingContributorAvatarUpload),
232
236
  /** Delete deviating contributor avatar und return to the inherited customer avatar. */
233
237
  contributorResetContributorAvatar: this.requestFunctionFactory(descriptors.contributorResetContributorAvatar),
234
- /** Start the verification process of a contributor. */
235
- contributorRequestVerification: this.requestFunctionFactory(descriptors.contributorRequestVerification),
236
- /** Cancel the verification-process of a contributor. */
237
- contributorCancelVerification: this.requestFunctionFactory(descriptors.contributorCancelVerification),
238
238
  /** Rotate the secret for an extension instance. */
239
239
  contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
240
240
  /** Authenticate your external application using the extensionInstanceSecret. */
@@ -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 = {
@@ -806,8 +810,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
806
810
  verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
807
811
  /** Check if a company exists. */
808
812
  verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
809
- /** List valid time zones. */
810
- ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
811
813
  };
812
814
  /** The page insights API allows you to get page insights information. */
813
815
  pageInsights = {
@@ -220,6 +220,18 @@ export const backupDeleteProjectBackup = {
220
220
  method: "DELETE",
221
221
  operationId: "backup-delete-project-backup",
222
222
  };
223
+ /** Get table of contents for a ProjectBackup. */
224
+ export const backupGetProjectBackupDirectories = {
225
+ path: "/v2/project-backups/{projectBackupId}/path",
226
+ method: "GET",
227
+ operationId: "backup-get-project-backup-directories",
228
+ };
229
+ /** Restore a ProjectBackup's path. */
230
+ export const backupRequestProjectBackupRestorePath = {
231
+ path: "/v2/project-backups/{projectBackupId}/restore-path",
232
+ method: "POST",
233
+ operationId: "backup-request-project-backup-restore-path",
234
+ };
223
235
  /** Change the description of a ProjectBackup. */
224
236
  export const backupUpdateProjectBackupDescription = {
225
237
  path: "/v2/project-backups/{projectBackupId}/description",
@@ -454,6 +466,18 @@ export const contractListContracts = {
454
466
  method: "GET",
455
467
  operationId: "contract-list-contracts",
456
468
  };
469
+ /** Start the verification process of a contributor. */
470
+ export const contributorRequestVerification = {
471
+ path: "/v2/contributors/{contributorId}/verification-process",
472
+ method: "POST",
473
+ operationId: "contributor-request-verification",
474
+ };
475
+ /** Cancel the verification-process of a contributor. */
476
+ export const contributorCancelVerification = {
477
+ path: "/v2/contributors/{contributorId}/verification-process",
478
+ method: "DELETE",
479
+ operationId: "contributor-cancel-verification",
480
+ };
457
481
  /** Get a Contributor. */
458
482
  export const extensionGetContributor = {
459
483
  path: "/v2/contributors/{contributorId}",
@@ -538,18 +562,6 @@ export const contributorResetContributorAvatar = {
538
562
  method: "DELETE",
539
563
  operationId: "contributor-reset-contributor-avatar",
540
564
  };
541
- /** Start the verification process of a contributor. */
542
- export const contributorRequestVerification = {
543
- path: "/v2/contributors/{contributorId}/verification-process",
544
- method: "POST",
545
- operationId: "contributor-request-verification",
546
- };
547
- /** Cancel the verification-process of a contributor. */
548
- export const contributorCancelVerification = {
549
- path: "/v2/contributors/{contributorId}/verification-process",
550
- method: "DELETE",
551
- operationId: "contributor-cancel-verification",
552
- };
553
565
  /** Rotate the secret for an extension instance. */
554
566
  export const contributorRotateSecretForExtensionInstance = {
555
567
  path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
@@ -2578,21 +2590,15 @@ export const verificationVerifyCompany = {
2578
2590
  method: "POST",
2579
2591
  operationId: "verification-verify-company",
2580
2592
  };
2581
- /** Get table of contents for a Project Backup. */
2582
- export const backupGetProjectBackupToc = {
2583
- path: "/v2/project-backups/{projectBackupId}/paths",
2593
+ /** Get unlocked leads export history for the given customerId. */
2594
+ export const leadfyndrGetLeadsExportHistory = {
2595
+ path: "/v2/customers/{customerId}/unlocked-leads-exports",
2584
2596
  method: "GET",
2585
- operationId: "backup-get-project-backup-toc",
2597
+ operationId: "leadfyndr-get-leads-export-history",
2586
2598
  };
2587
- /** Restore a ProjectBackup's path. */
2588
- export const backupRequestProjectBackupRestorePath = {
2589
- path: "/v2/project-backups/{projectBackupId}/restore-path",
2599
+ /** Create an export of unlocked leads for the given customerId. */
2600
+ export const leadfyndrCreateLeadsExport = {
2601
+ path: "/v2/customers/{customerId}/unlocked-leads-export",
2590
2602
  method: "POST",
2591
- operationId: "backup-request-project-backup-restore-path",
2592
- };
2593
- /** List valid time zones. */
2594
- export const miscellaneousListTimeZones = {
2595
- path: "/v2/time-zones",
2596
- method: "GET",
2597
- operationId: "miscellaneous-list-time-zones",
2603
+ operationId: "leadfyndr-create-leads-export",
2598
2604
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '0.0.0-development-9dc255f-20250925';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-ccafe69-20250930';
@@ -343,11 +343,11 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
343
343
  parentId?: string | undefined;
344
344
  projectId: string;
345
345
  requestedAt: string;
346
- restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathResponse | undefined;
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. */
350
- getProjectBackupToc: (conf: {
349
+ /** Get table of contents for a ProjectBackup. */
350
+ getProjectBackupDirectories: (conf: {
351
351
  projectBackupId: string;
352
352
  headers?: {
353
353
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -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;
@@ -1431,13 +1431,13 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1431
1431
  description: string;
1432
1432
  destination: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
1433
1433
  email?: string | undefined;
1434
+ failedExecutionAlertThreshold?: number | undefined;
1434
1435
  id: string;
1435
1436
  interval: string;
1436
1437
  latestExecution?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution | undefined;
1437
1438
  nextExecutionTime?: string | undefined;
1438
1439
  projectId?: string | undefined;
1439
1440
  shortId: string;
1440
- timeZone?: string | undefined;
1441
1441
  timeout: number;
1442
1442
  updatedAt: string;
1443
1443
  }>;
@@ -1458,13 +1458,11 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1458
1458
  end?: string | undefined;
1459
1459
  executionEnd?: string | undefined;
1460
1460
  executionStart?: string | undefined;
1461
- exitCode?: number | undefined;
1462
1461
  id: string;
1463
1462
  logPath?: string | undefined;
1464
1463
  start?: string | undefined;
1465
1464
  status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
1466
1465
  successful: boolean;
1467
- summary?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobStatusSummary | undefined;
1468
1466
  triggeredBy?: {
1469
1467
  id?: string;
1470
1468
  } | undefined;
@@ -1923,6 +1921,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1923
1921
  projectId?: string | undefined;
1924
1922
  certificateId?: string | undefined;
1925
1923
  hostnameSubstring?: string | undefined;
1924
+ appInstallationId?: string | undefined;
1926
1925
  limit?: number | undefined;
1927
1926
  skip?: number | undefined;
1928
1927
  page?: number | undefined;
@@ -2313,6 +2312,21 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
2313
2312
  skip: number;
2314
2313
  totalCount: number;
2315
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[]>;
2316
2330
  };
2317
2331
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2318
2332
  /** List DeliveryBoxes belonging to a Project. */
@@ -2473,13 +2487,6 @@ declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2473
2487
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2474
2488
  } | undefined;
2475
2489
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
2476
- /** List valid time zones. */
2477
- ellaneousListTimeZones: (conf?: {
2478
- headers?: {
2479
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2480
- "x-access-token"?: string | undefined;
2481
- } | undefined;
2482
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
2483
2490
  };
2484
2491
  declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2485
2492
  /** Getting the subscription status of the subscription. */