@mittwald/api-client 4.239.0 → 4.241.0

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.
@@ -66,12 +66,12 @@ const buildContainerApi = (baseClient) => ({
66
66
  getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
67
67
  /** List Services belonging to a Project. */
68
68
  listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
69
+ /** List Volumes belonging to a Stack. */
70
+ listStackVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListStackVolumes, baseClient.container.listStackVolumes).getApiResource,
69
71
  /** List Stacks belonging to a Project. */
70
72
  listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
71
73
  /** List Volumes belonging to a Project. */
72
74
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
73
- /** List Volumes belonging to a Stack. */
74
- listStackVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListStackVolumes, baseClient.container.listStackVolumes).getApiResource,
75
75
  });
76
76
  const buildContractApi = (baseClient) => ({
77
77
  /** Return the BaseItem of the Contract with the given ID. */
@@ -288,14 +288,14 @@ const buildLeadFyndrApi = (baseClient) => ({
288
288
  leadfyndrGetLeadFyndrProfile: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfile, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfile).getApiResource,
289
289
  /** Get a simple lead. Use the unlocked route for more detail leads. */
290
290
  leadfyndrGetLead: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLead, baseClient.leadFyndr.leadfyndrGetLead).getApiResource,
291
+ /** Get unlocked leads export history for the given customerId. */
292
+ leadfyndrGetLeadsExportHistory: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadsExportHistory, baseClient.leadFyndr.leadfyndrGetLeadsExportHistory).getApiResource,
291
293
  /** Get a detail of a unlocked lead. Organisation can unlock leads. */
292
294
  leadfyndrGetUnlockedLead: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetUnlockedLead, baseClient.leadFyndr.leadfyndrGetUnlockedLead).getApiResource,
293
295
  /** Get all leads. Use the unlocked routes for more lead details. */
294
296
  leadfyndrListLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListLeads, baseClient.leadFyndr.leadfyndrListLeads).getApiResource,
295
297
  /** Get all unlocked leads. Organisation can unlock leads. */
296
298
  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,
299
299
  });
300
300
  const buildMailApi = (baseClient) => ({
301
301
  /** List DeliveryBoxes belonging to a Project. */
@@ -119,6 +119,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
119
119
  getService: this.requestFunctionFactory(descriptors.containerGetService),
120
120
  /** List Services belonging to a Project. */
121
121
  listServices: this.requestFunctionFactory(descriptors.containerListServices),
122
+ /** List Volumes belonging to a Stack. */
123
+ listStackVolumes: this.requestFunctionFactory(descriptors.containerListStackVolumes),
122
124
  /** List Stacks belonging to a Project. */
123
125
  listStacks: this.requestFunctionFactory(descriptors.containerListStacks),
124
126
  /** List Volumes belonging to a Project. */
@@ -137,8 +139,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
137
139
  validateContainerRegistryUri: this.requestFunctionFactory(descriptors.containerValidateContainerRegistryUri),
138
140
  /** Validate a Registries' credentials. */
139
141
  validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
140
- /** List Volumes belonging to a Stack. */
141
- listStackVolumes: this.requestFunctionFactory(descriptors.containerListStackVolumes),
142
142
  };
143
143
  /** The contract API allows you to manage your contracts and orders */
144
144
  contract = {
@@ -201,6 +201,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
201
201
  };
202
202
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
203
203
  marketplace = {
204
+ /** Start the verification process of a contributor. */
205
+ contributorRequestVerification: this.requestFunctionFactory(descriptors.contributorRequestVerification),
206
+ /** Cancel the verification-process of a contributor. */
207
+ contributorCancelVerification: this.requestFunctionFactory(descriptors.contributorCancelVerification),
204
208
  /** Get a Contributor. */
205
209
  extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
206
210
  /** Delete a Contributor. */
@@ -229,10 +233,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
229
233
  contributorRequestDeviatingContributorAvatarUpload: this.requestFunctionFactory(descriptors.contributorRequestDeviatingContributorAvatarUpload),
230
234
  /** Delete deviating contributor avatar und return to the inherited customer avatar. */
231
235
  contributorResetContributorAvatar: this.requestFunctionFactory(descriptors.contributorResetContributorAvatar),
232
- /** Start the verification process of a contributor. */
233
- contributorRequestVerification: this.requestFunctionFactory(descriptors.contributorRequestVerification),
234
- /** Cancel the verification-process of a contributor. */
235
- contributorCancelVerification: this.requestFunctionFactory(descriptors.contributorCancelVerification),
236
236
  /** Rotate the secret for an extension instance. */
237
237
  contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
238
238
  /** Authenticate your external application using the extensionInstanceSecret. */
@@ -481,6 +481,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
481
481
  updateRedisDatabaseConfiguration: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseConfiguration),
482
482
  /** Update a RedisDatabase's description. */
483
483
  updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
484
+ /** Copy a MySQLDatabase with a MySQLUser. */
485
+ copyMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCopyMysqlDatabase),
484
486
  };
485
487
  /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
486
488
  domain = {
@@ -763,6 +765,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
763
765
  leadfyndrGetLeadFyndrProfileRequest: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileRequest),
764
766
  /** Create a new access request for LeadFyndr. */
765
767
  leadfyndrCreateLeadFyndrAccessRequest: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadFyndrAccessRequest),
768
+ /** Create an export of unlocked leads for the given customerId. */
769
+ leadfyndrCreateLeadsExport: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadsExport),
766
770
  /** Get cities in DACH. */
767
771
  leadfyndrGetCities: this.requestFunctionFactory(descriptors.leadfyndrGetCities),
768
772
  /** Get lead tariff options. How many leads did you unlock this month? */
@@ -771,6 +775,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
771
775
  leadfyndrGetLeadFyndrProfile: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfile),
772
776
  /** Get a simple lead. Use the unlocked route for more detail leads. */
773
777
  leadfyndrGetLead: this.requestFunctionFactory(descriptors.leadfyndrGetLead),
778
+ /** Get unlocked leads export history for the given customerId. */
779
+ leadfyndrGetLeadsExportHistory: this.requestFunctionFactory(descriptors.leadfyndrGetLeadsExportHistory),
774
780
  /** Get a detail of a unlocked lead. Organisation can unlock leads. */
775
781
  leadfyndrGetUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrGetUnlockedLead),
776
782
  /** Unlock a lead for the given customerId. */
@@ -783,10 +789,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
783
789
  leadfyndrReserveUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrReserveUnlockedLead),
784
790
  /** Removes a reservation on a unlocked lead for the given customerId. */
785
791
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
786
- /** Get unlocked leads export history for the given customerId. */
787
- leadfyndrGetLeadsExportHistory: this.requestFunctionFactory(descriptors.leadfyndrGetLeadsExportHistory),
788
- /** Create an export of unlocked leads for the given customerId. */
789
- leadfyndrCreateLeadsExport: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadsExport),
790
792
  };
791
793
  /** API endpoints that are not related to any specific API domain */
792
794
  misc = {
@@ -310,6 +310,12 @@ export const containerListServices = {
310
310
  method: "GET",
311
311
  operationId: "container-list-services",
312
312
  };
313
+ /** List Volumes belonging to a Stack. */
314
+ export const containerListStackVolumes = {
315
+ path: "/v2/stacks/{stackId}/volumes",
316
+ method: "GET",
317
+ operationId: "container-list-stack-volumes",
318
+ };
313
319
  /** List Stacks belonging to a Project. */
314
320
  export const containerListStacks = {
315
321
  path: "/v2/projects/{projectId}/stacks",
@@ -454,6 +460,18 @@ export const contractListContracts = {
454
460
  method: "GET",
455
461
  operationId: "contract-list-contracts",
456
462
  };
463
+ /** Start the verification process of a contributor. */
464
+ export const contributorRequestVerification = {
465
+ path: "/v2/contributors/{contributorId}/verification-process",
466
+ method: "POST",
467
+ operationId: "contributor-request-verification",
468
+ };
469
+ /** Cancel the verification-process of a contributor. */
470
+ export const contributorCancelVerification = {
471
+ path: "/v2/contributors/{contributorId}/verification-process",
472
+ method: "DELETE",
473
+ operationId: "contributor-cancel-verification",
474
+ };
457
475
  /** Get a Contributor. */
458
476
  export const extensionGetContributor = {
459
477
  path: "/v2/contributors/{contributorId}",
@@ -538,18 +556,6 @@ export const contributorResetContributorAvatar = {
538
556
  method: "DELETE",
539
557
  operationId: "contributor-reset-contributor-avatar",
540
558
  };
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
559
  /** Rotate the secret for an extension instance. */
554
560
  export const contributorRotateSecretForExtensionInstance = {
555
561
  path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
@@ -1558,6 +1564,12 @@ export const leadfyndrCreateLeadFyndrAccessRequest = {
1558
1564
  method: "POST",
1559
1565
  operationId: "leadfyndr-create-lead-fyndr-access-request",
1560
1566
  };
1567
+ /** Create an export of unlocked leads for the given customerId. */
1568
+ export const leadfyndrCreateLeadsExport = {
1569
+ path: "/v2/customers/{customerId}/unlocked-leads-export",
1570
+ method: "POST",
1571
+ operationId: "leadfyndr-create-leads-export",
1572
+ };
1561
1573
  /** Get cities in DACH. */
1562
1574
  export const leadfyndrGetCities = {
1563
1575
  path: "/v2/cities",
@@ -1582,6 +1594,12 @@ export const leadfyndrGetLead = {
1582
1594
  method: "GET",
1583
1595
  operationId: "leadfyndr-get-lead",
1584
1596
  };
1597
+ /** Get unlocked leads export history for the given customerId. */
1598
+ export const leadfyndrGetLeadsExportHistory = {
1599
+ path: "/v2/customers/{customerId}/unlocked-leads-exports",
1600
+ method: "GET",
1601
+ operationId: "leadfyndr-get-leads-export-history",
1602
+ };
1585
1603
  /** Get a detail of a unlocked lead. Organisation can unlock leads. */
1586
1604
  export const leadfyndrGetUnlockedLead = {
1587
1605
  path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
@@ -2554,21 +2572,9 @@ export const verificationVerifyCompany = {
2554
2572
  method: "POST",
2555
2573
  operationId: "verification-verify-company",
2556
2574
  };
2557
- /** Get unlocked leads export history for the given customerId. */
2558
- export const leadfyndrGetLeadsExportHistory = {
2559
- path: "/v2/customers/{customerId}/unlocked-leads-exports",
2560
- method: "GET",
2561
- operationId: "leadfyndr-get-leads-export-history",
2562
- };
2563
- /** Create an export of unlocked leads for the given customerId. */
2564
- export const leadfyndrCreateLeadsExport = {
2565
- path: "/v2/customers/{customerId}/unlocked-leads-export",
2575
+ /** Copy a MySQLDatabase with a MySQLUser. */
2576
+ export const databaseCopyMysqlDatabase = {
2577
+ path: "/v2/mysql-databases/{mysqlDatabaseId}/actions/copy",
2566
2578
  method: "POST",
2567
- operationId: "leadfyndr-create-leads-export",
2568
- };
2569
- /** List Volumes belonging to a Stack. */
2570
- export const containerListStackVolumes = {
2571
- path: "/v2/stacks/{stackId}/volumes",
2572
- method: "GET",
2573
- operationId: "container-list-stack-volumes",
2579
+ operationId: "database-copy-mysql-database",
2574
2580
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.238.0';
1
+ export const MittwaldAPIClientVersion = '4.240.0';
@@ -491,22 +491,24 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
491
491
  page?: number | undefined;
492
492
  } | undefined;
493
493
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
494
- /** List Stacks belonging to a Project. */
495
- listStacks: (conf: {
496
- projectId: string;
494
+ /** List Volumes belonging to a Stack. */
495
+ listStackVolumes: (conf: {
496
+ stackId: string;
497
497
  headers?: {
498
498
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
499
499
  "x-access-token"?: string | undefined;
500
500
  } | undefined;
501
501
  queryParameters?: {
502
502
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
503
+ searchTerm?: string | undefined;
504
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
503
505
  limit?: number | undefined;
504
506
  skip?: number | undefined;
505
507
  page?: number | undefined;
506
508
  } | undefined;
507
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[]>;
508
- /** List Volumes belonging to a Project. */
509
- listVolumes: (conf: {
509
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
510
+ /** List Stacks belonging to a Project. */
511
+ listStacks: (conf: {
510
512
  projectId: string;
511
513
  headers?: {
512
514
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -514,23 +516,21 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
514
516
  } | undefined;
515
517
  queryParameters?: {
516
518
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
517
- stackId?: string | undefined;
518
- searchTerm?: string | undefined;
519
- sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
520
519
  limit?: number | undefined;
521
520
  skip?: number | undefined;
522
521
  page?: number | undefined;
523
522
  } | undefined;
524
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
525
- /** List Volumes belonging to a Stack. */
526
- listStackVolumes: (conf: {
527
- stackId: string;
523
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[]>;
524
+ /** List Volumes belonging to a Project. */
525
+ listVolumes: (conf: {
526
+ projectId: string;
528
527
  headers?: {
529
528
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
530
529
  "x-access-token"?: string | undefined;
531
530
  } | undefined;
532
531
  queryParameters?: {
533
532
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
533
+ stackId?: string | undefined;
534
534
  searchTerm?: string | undefined;
535
535
  sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
536
536
  limit?: number | undefined;
@@ -2206,6 +2206,21 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
2206
2206
  screenshot: string;
2207
2207
  technologies: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrTechnology[];
2208
2208
  }>;
2209
+ /** Get unlocked leads export history for the given customerId. */
2210
+ leadfyndrGetLeadsExportHistory: (conf: {
2211
+ customerId: string;
2212
+ headers?: {
2213
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2214
+ } | undefined;
2215
+ queryParameters?: {
2216
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2217
+ limit?: number | undefined;
2218
+ skip?: number | undefined;
2219
+ page?: number | undefined;
2220
+ sort?: "exportedAt" | undefined;
2221
+ order?: "asc" | "desc" | undefined;
2222
+ } | undefined;
2223
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[]>;
2209
2224
  /** Get a detail of a unlocked lead. Organisation can unlock leads. */
2210
2225
  leadfyndrGetUnlockedLead: (conf: {
2211
2226
  leadId: string;
@@ -2309,21 +2324,6 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
2309
2324
  skip: number;
2310
2325
  totalCount: number;
2311
2326
  }>;
2312
- /** Get unlocked leads export history for the given customerId. */
2313
- leadfyndrGetLeadsExportHistory: (conf: {
2314
- customerId: string;
2315
- headers?: {
2316
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2317
- } | undefined;
2318
- queryParameters?: {
2319
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2320
- limit?: number | undefined;
2321
- skip?: number | undefined;
2322
- page?: number | undefined;
2323
- sort?: "exportedAt" | undefined;
2324
- order?: "asc" | "desc" | undefined;
2325
- } | undefined;
2326
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[]>;
2327
2327
  };
2328
2328
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2329
2329
  /** List DeliveryBoxes belonging to a Project. */