@mittwald/api-client 0.0.0-development-e87cbeb-20251001 → 0.0.0-development-e648af3-20251016

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.
@@ -68,6 +68,8 @@ const buildContainerApi = (baseClient) => ({
68
68
  getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
69
69
  /** List Services belonging to a Project. */
70
70
  listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
71
+ /** List Volumes belonging to a Stack. */
72
+ listStackVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListStackVolumes, baseClient.container.listStackVolumes).getApiResource,
71
73
  /** List Stacks belonging to a Project. */
72
74
  listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
73
75
  /** List Volumes belonging to a Project. */
@@ -288,14 +290,14 @@ const buildLeadFyndrApi = (baseClient) => ({
288
290
  leadfyndrGetLeadFyndrProfile: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfile, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfile).getApiResource,
289
291
  /** Get a simple lead. Use the unlocked route for more detail leads. */
290
292
  leadfyndrGetLead: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLead, baseClient.leadFyndr.leadfyndrGetLead).getApiResource,
293
+ /** Get unlocked leads export history for the given customerId. */
294
+ leadfyndrGetLeadsExportHistory: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadsExportHistory, baseClient.leadFyndr.leadfyndrGetLeadsExportHistory).getApiResource,
291
295
  /** Get a detail of a unlocked lead. Organisation can unlock leads. */
292
296
  leadfyndrGetUnlockedLead: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetUnlockedLead, baseClient.leadFyndr.leadfyndrGetUnlockedLead).getApiResource,
293
297
  /** Get all leads. Use the unlocked routes for more lead details. */
294
298
  leadfyndrListLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListLeads, baseClient.leadFyndr.leadfyndrListLeads).getApiResource,
295
299
  /** Get all unlocked leads. Organisation can unlock leads. */
296
300
  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
301
  });
300
302
  const buildMailApi = (baseClient) => ({
301
303
  /** List DeliveryBoxes belonging to a Project. */
@@ -123,6 +123,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
123
123
  getService: this.requestFunctionFactory(descriptors.containerGetService),
124
124
  /** List Services belonging to a Project. */
125
125
  listServices: this.requestFunctionFactory(descriptors.containerListServices),
126
+ /** List Volumes belonging to a Stack. */
127
+ listStackVolumes: this.requestFunctionFactory(descriptors.containerListStackVolumes),
126
128
  /** List Stacks belonging to a Project. */
127
129
  listStacks: this.requestFunctionFactory(descriptors.containerListStacks),
128
130
  /** List Volumes belonging to a Project. */
@@ -483,6 +485,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
483
485
  updateRedisDatabaseConfiguration: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseConfiguration),
484
486
  /** Update a RedisDatabase's description. */
485
487
  updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
488
+ /** Copy a MySQLDatabase with a MySQLUser. */
489
+ copyMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCopyMysqlDatabase),
486
490
  };
487
491
  /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
488
492
  domain = {
@@ -775,6 +779,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
775
779
  leadfyndrGetLeadFyndrProfileRequest: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileRequest),
776
780
  /** Create a new access request for LeadFyndr. */
777
781
  leadfyndrCreateLeadFyndrAccessRequest: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadFyndrAccessRequest),
782
+ /** Create an export of unlocked leads for the given customerId. */
783
+ leadfyndrCreateLeadsExport: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadsExport),
778
784
  /** Get cities in DACH. */
779
785
  leadfyndrGetCities: this.requestFunctionFactory(descriptors.leadfyndrGetCities),
780
786
  /** Get lead tariff options. How many leads did you unlock this month? */
@@ -783,6 +789,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
783
789
  leadfyndrGetLeadFyndrProfile: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfile),
784
790
  /** Get a simple lead. Use the unlocked route for more detail leads. */
785
791
  leadfyndrGetLead: this.requestFunctionFactory(descriptors.leadfyndrGetLead),
792
+ /** Get unlocked leads export history for the given customerId. */
793
+ leadfyndrGetLeadsExportHistory: this.requestFunctionFactory(descriptors.leadfyndrGetLeadsExportHistory),
786
794
  /** Get a detail of a unlocked lead. Organisation can unlock leads. */
787
795
  leadfyndrGetUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrGetUnlockedLead),
788
796
  /** Unlock a lead for the given customerId. */
@@ -795,10 +803,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
795
803
  leadfyndrReserveUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrReserveUnlockedLead),
796
804
  /** Removes a reservation on a unlocked lead for the given customerId. */
797
805
  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),
802
806
  };
803
807
  /** API endpoints that are not related to any specific API domain */
804
808
  misc = {
@@ -322,6 +322,12 @@ export const containerListServices = {
322
322
  method: "GET",
323
323
  operationId: "container-list-services",
324
324
  };
325
+ /** List Volumes belonging to a Stack. */
326
+ export const containerListStackVolumes = {
327
+ path: "/v2/stacks/{stackId}/volumes",
328
+ method: "GET",
329
+ operationId: "container-list-stack-volumes",
330
+ };
325
331
  /** List Stacks belonging to a Project. */
326
332
  export const containerListStacks = {
327
333
  path: "/v2/projects/{projectId}/stacks",
@@ -1570,6 +1576,12 @@ export const leadfyndrCreateLeadFyndrAccessRequest = {
1570
1576
  method: "POST",
1571
1577
  operationId: "leadfyndr-create-lead-fyndr-access-request",
1572
1578
  };
1579
+ /** Create an export of unlocked leads for the given customerId. */
1580
+ export const leadfyndrCreateLeadsExport = {
1581
+ path: "/v2/customers/{customerId}/unlocked-leads-export",
1582
+ method: "POST",
1583
+ operationId: "leadfyndr-create-leads-export",
1584
+ };
1573
1585
  /** Get cities in DACH. */
1574
1586
  export const leadfyndrGetCities = {
1575
1587
  path: "/v2/cities",
@@ -1594,6 +1606,12 @@ export const leadfyndrGetLead = {
1594
1606
  method: "GET",
1595
1607
  operationId: "leadfyndr-get-lead",
1596
1608
  };
1609
+ /** Get unlocked leads export history for the given customerId. */
1610
+ export const leadfyndrGetLeadsExportHistory = {
1611
+ path: "/v2/customers/{customerId}/unlocked-leads-exports",
1612
+ method: "GET",
1613
+ operationId: "leadfyndr-get-leads-export-history",
1614
+ };
1597
1615
  /** Get a detail of a unlocked lead. Organisation can unlock leads. */
1598
1616
  export const leadfyndrGetUnlockedLead = {
1599
1617
  path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
@@ -2590,15 +2608,9 @@ export const verificationVerifyCompany = {
2590
2608
  method: "POST",
2591
2609
  operationId: "verification-verify-company",
2592
2610
  };
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",
2611
+ /** Copy a MySQLDatabase with a MySQLUser. */
2612
+ export const databaseCopyMysqlDatabase = {
2613
+ path: "/v2/mysql-databases/{mysqlDatabaseId}/actions/copy",
2602
2614
  method: "POST",
2603
- operationId: "leadfyndr-create-leads-export",
2615
+ operationId: "database-copy-mysql-database",
2604
2616
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '0.0.0-development-ccafe69-20250930';
1
+ export const MittwaldAPIClientVersion = '4.239.0';
@@ -26,6 +26,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
26
26
  appVersion: import("./types.js").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
27
27
  createdAt: string;
28
28
  customDocumentRoot?: string | undefined;
29
+ deletionRequested?: boolean | undefined;
29
30
  description: string;
30
31
  disabled: boolean;
31
32
  id: string;
@@ -513,6 +514,22 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
513
514
  page?: number | undefined;
514
515
  } | undefined;
515
516
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
517
+ /** List Volumes belonging to a Stack. */
518
+ listStackVolumes: (conf: {
519
+ stackId: string;
520
+ headers?: {
521
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
522
+ "x-access-token"?: string | undefined;
523
+ } | undefined;
524
+ queryParameters?: {
525
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
526
+ searchTerm?: string | undefined;
527
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
528
+ limit?: number | undefined;
529
+ skip?: number | undefined;
530
+ page?: number | undefined;
531
+ } | undefined;
532
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
516
533
  /** List Stacks belonging to a Project. */
517
534
  listStacks: (conf: {
518
535
  projectId: string;
@@ -755,6 +772,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
755
772
  paymentSettings?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
756
773
  pdfId: string;
757
774
  recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
775
+ reissuedBy?: string | undefined;
758
776
  status: "NEW" | "CONFIRMED" | "DENIED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID";
759
777
  totalGross: number;
760
778
  totalNet: number;
@@ -819,12 +837,12 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
819
837
  } | undefined;
820
838
  queryParameters?: {
821
839
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
822
- limit?: number | undefined;
823
- skip?: number | undefined;
824
- page?: number | undefined;
825
840
  includesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
826
841
  excludesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
827
842
  templateNames?: string[] | undefined;
843
+ limit?: number | undefined;
844
+ skip?: number | undefined;
845
+ page?: number | undefined;
828
846
  } | undefined;
829
847
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
830
848
  /** Get Order for Customer. */
@@ -1027,7 +1045,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1027
1045
  domain: string;
1028
1046
  id: string;
1029
1047
  };
1030
- chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1048
+ chargeability: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability;
1031
1049
  consentedScopes: string[];
1032
1050
  contributorId: string;
1033
1051
  contributorName: string;
@@ -1134,7 +1152,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1134
1152
  domain: string;
1135
1153
  id: string;
1136
1154
  };
1137
- chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1155
+ chargeability: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability;
1138
1156
  consentedScopes: string[];
1139
1157
  contributorId: string;
1140
1158
  contributorName: string;
@@ -1165,7 +1183,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1165
1183
  domain: string;
1166
1184
  id: string;
1167
1185
  };
1168
- chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1186
+ chargeability: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability;
1169
1187
  consentedScopes: string[];
1170
1188
  contributorId: string;
1171
1189
  contributorName: string;
@@ -1431,7 +1449,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1431
1449
  description: string;
1432
1450
  destination: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
1433
1451
  email?: string | undefined;
1434
- failedExecutionAlertThreshold?: number | undefined;
1452
+ failedExecutionAlertThreshold: number;
1435
1453
  id: string;
1436
1454
  interval: string;
1437
1455
  latestExecution?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution | undefined;
@@ -1616,6 +1634,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1616
1634
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1617
1635
  limit?: number | undefined;
1618
1636
  skip?: number | undefined;
1637
+ page?: number | undefined;
1619
1638
  } | undefined;
1620
1639
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
1621
1640
  /** List CustomerMemberships belonging to the executing user. */
@@ -1628,6 +1647,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1628
1647
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1629
1648
  limit?: number | undefined;
1630
1649
  skip?: number | undefined;
1650
+ page?: number | undefined;
1631
1651
  hasExpiry?: boolean | undefined;
1632
1652
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
1633
1653
  } | undefined;
@@ -2209,6 +2229,21 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
2209
2229
  screenshot: string;
2210
2230
  technologies: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrTechnology[];
2211
2231
  }>;
2232
+ /** Get unlocked leads export history for the given customerId. */
2233
+ leadfyndrGetLeadsExportHistory: (conf: {
2234
+ customerId: string;
2235
+ headers?: {
2236
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2237
+ } | undefined;
2238
+ queryParameters?: {
2239
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2240
+ limit?: number | undefined;
2241
+ skip?: number | undefined;
2242
+ page?: number | undefined;
2243
+ sort?: "exportedAt" | undefined;
2244
+ order?: "asc" | "desc" | undefined;
2245
+ } | undefined;
2246
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[]>;
2212
2247
  /** Get a detail of a unlocked lead. Organisation can unlock leads. */
2213
2248
  leadfyndrGetUnlockedLead: (conf: {
2214
2249
  leadId: string;
@@ -2312,21 +2347,6 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
2312
2347
  skip: number;
2313
2348
  totalCount: number;
2314
2349
  }>;
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[]>;
2330
2350
  };
2331
2351
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2332
2352
  /** List DeliveryBoxes belonging to a Project. */
@@ -2885,6 +2905,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2885
2905
  clusterId?: string | undefined;
2886
2906
  createdAt: string;
2887
2907
  customerId: string;
2908
+ deletionRequested?: boolean | undefined;
2888
2909
  description: string;
2889
2910
  directories: {
2890
2911
  [k: string]: string;
@@ -3021,6 +3042,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3021
3042
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3022
3043
  limit?: number | undefined;
3023
3044
  skip?: number | undefined;
3045
+ page?: number | undefined;
3024
3046
  } | undefined;
3025
3047
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
3026
3048
  /** List ProjectMemberships belonging to the executing user. */
@@ -3033,6 +3055,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3033
3055
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3034
3056
  limit?: number | undefined;
3035
3057
  skip?: number | undefined;
3058
+ page?: number | undefined;
3036
3059
  hasExpiry?: boolean | undefined;
3037
3060
  isInherited?: boolean | undefined;
3038
3061
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;