@mittwald/api-client 0.0.0-development-f311f07-20240822 → 0.0.0-development-e096ee7-20240924

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.
@@ -503,6 +503,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
503
503
  termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
504
504
  totalPrice: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractPrice;
505
505
  }>;
506
+ /** Return the Contract for the given Certificate. */
507
+ getDetailOfContractByCertificate: (conf: {
508
+ certificateId: string;
509
+ headers?: {
510
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
511
+ "x-access-token"?: string | undefined;
512
+ } | undefined;
513
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
514
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
515
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
516
+ contractId: string;
517
+ contractNumber: string;
518
+ customerId: string;
519
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
520
+ }>;
506
521
  /** Return the Contract for the given Domain. */
507
522
  getDetailOfContractByDomain: (conf: {
508
523
  domainId: string;
@@ -831,6 +846,10 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
831
846
  conversationId: string;
832
847
  createdAt: string;
833
848
  createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
849
+ lastMessage?: {
850
+ createdAt: string;
851
+ createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
852
+ } | undefined;
834
853
  lastMessageAt?: string | undefined;
835
854
  lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
836
855
  mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
@@ -942,15 +961,6 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
942
961
  }>;
943
962
  };
944
963
  declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
945
- /** Get all customer categories. */
946
- listOfCustomerCategories: (conf?: {
947
- headers?: {
948
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
949
- "x-access-token"?: string | undefined;
950
- } | undefined;
951
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
952
- categories?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCategory[] | undefined;
953
- }>;
954
964
  /** Get all customer profiles the authenticated user has access to. */
955
965
  listCustomers: (conf?: {
956
966
  headers?: {
@@ -960,25 +970,12 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
960
970
  queryParameters?: {
961
971
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
962
972
  role?: string | undefined;
973
+ search?: string | undefined;
963
974
  limit?: number | undefined;
964
975
  skip?: number | undefined;
965
976
  page?: number | undefined;
966
977
  } | undefined;
967
978
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomer[]>;
968
- /** Get a customer category. */
969
- getCustomerCategory: (conf: {
970
- categoryId: string;
971
- headers?: {
972
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
973
- "x-access-token"?: string | undefined;
974
- } | undefined;
975
- }) => import("@mittwald/react-use-promise").AsyncResource<{
976
- id: string;
977
- isPublic: boolean;
978
- name: string;
979
- useAgencyDomainPrices: boolean;
980
- useAgencySslPrices: boolean;
981
- }>;
982
979
  /** Get a CustomerInvite. */
983
980
  getCustomerInvite: (conf: {
984
981
  customerInviteId: string;
@@ -1298,6 +1295,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1298
1295
  page?: number | undefined;
1299
1296
  limit?: number | undefined;
1300
1297
  domainSearchName?: string | undefined;
1298
+ contactHash?: string | undefined;
1301
1299
  } | undefined;
1302
1300
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
1303
1301
  /** Get a Domain. */
@@ -1311,6 +1309,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1311
1309
  authCode?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
1312
1310
  authCode2?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
1313
1311
  connected: boolean;
1312
+ contactHash?: string | undefined;
1314
1313
  deleted: boolean;
1315
1314
  domain: string;
1316
1315
  domainId: string;
@@ -1354,6 +1353,21 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1354
1353
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1355
1354
  } | undefined;
1356
1355
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
1356
+ /** Suggest a list of domains based on a prompt using AI. */
1357
+ suggest: (conf: {
1358
+ queryParameters: {
1359
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1360
+ prompt: string;
1361
+ domainCount?: number | undefined;
1362
+ tlds?: string[] | undefined;
1363
+ };
1364
+ headers?: {
1365
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1366
+ "x-access-token"?: string | undefined;
1367
+ } | undefined;
1368
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1369
+ domains: string[];
1370
+ }>;
1357
1371
  /** List Ingresses. */
1358
1372
  ingressListIngresses: (conf?: {
1359
1373
  headers?: {
@@ -1363,6 +1377,10 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1363
1377
  queryParameters?: {
1364
1378
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1365
1379
  projectId?: string | undefined;
1380
+ certificateId?: string | undefined;
1381
+ limit?: number | undefined;
1382
+ skip?: number | undefined;
1383
+ page?: number | undefined;
1366
1384
  } | undefined;
1367
1385
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
1368
1386
  /** Get an Ingress. */
@@ -1387,6 +1405,75 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1387
1405
  projectId: string;
1388
1406
  tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
1389
1407
  }>;
1408
+ /** List CertificateRequests belonging to a Project or an Ingress. */
1409
+ sslListCertificateRequests: (conf?: {
1410
+ headers?: {
1411
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1412
+ "x-access-token"?: string | undefined;
1413
+ } | undefined;
1414
+ queryParameters?: {
1415
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1416
+ projectId?: string | undefined;
1417
+ ingressId?: string | undefined;
1418
+ } | undefined;
1419
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateRequest[]>;
1420
+ /** Get a CertificateRequest. */
1421
+ sslGetCertificateRequest: (conf: {
1422
+ certificateRequestId: string;
1423
+ headers?: {
1424
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1425
+ "x-access-token"?: string | undefined;
1426
+ } | undefined;
1427
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1428
+ certificateData: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateData;
1429
+ certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
1430
+ commonName?: string | undefined;
1431
+ contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
1432
+ createdAt: string;
1433
+ dnsNames?: string[] | undefined;
1434
+ id: string;
1435
+ isCompleted: boolean;
1436
+ issuer?: string | undefined;
1437
+ projectId: string;
1438
+ validFrom?: string | undefined;
1439
+ validTo?: string | undefined;
1440
+ }>;
1441
+ /** Get a Certificate. */
1442
+ sslGetCertificate: (conf: {
1443
+ certificateId: string;
1444
+ headers?: {
1445
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1446
+ "x-access-token"?: string | undefined;
1447
+ } | undefined;
1448
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1449
+ caBundle?: string | undefined;
1450
+ certificate: string;
1451
+ certificateOrderId?: string | undefined;
1452
+ certificateRequestId: string;
1453
+ certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
1454
+ commonName?: string | undefined;
1455
+ contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
1456
+ dnsNames?: string[] | undefined;
1457
+ id: string;
1458
+ isExpired: boolean;
1459
+ issuer?: string | undefined;
1460
+ lastExpirationThresholdHit: number;
1461
+ projectId: string;
1462
+ validFrom: string;
1463
+ validTo: string;
1464
+ }>;
1465
+ /** List Certificates belonging to a Project or an Ingress. */
1466
+ sslListCertificates: (conf?: {
1467
+ headers?: {
1468
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1469
+ "x-access-token"?: string | undefined;
1470
+ } | undefined;
1471
+ queryParameters?: {
1472
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1473
+ projectId?: string | undefined;
1474
+ ingressId?: string | undefined;
1475
+ } | undefined;
1476
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
1390
1477
  };
1391
1478
  declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1392
1479
  /** List ExtensionInstances. */
@@ -1422,6 +1509,8 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1422
1509
  disabled: boolean;
1423
1510
  extensionId: string;
1424
1511
  id: string;
1512
+ pendingInstallation: boolean;
1513
+ pendingRemoval: boolean;
1425
1514
  }>;
1426
1515
  /** Get a Contributor. */
1427
1516
  extensionGetContributor: (conf: {
@@ -1448,14 +1537,20 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1448
1537
  "x-access-token"?: string | undefined;
1449
1538
  } | undefined;
1450
1539
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1540
+ blocked: boolean;
1451
1541
  context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
1452
1542
  contributorId: string;
1453
1543
  description: string;
1544
+ detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
1545
+ disabled: boolean;
1454
1546
  frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
1547
+ frontendFragments?: {
1548
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
1549
+ } | undefined;
1455
1550
  id: string;
1456
1551
  name: string;
1457
1552
  scopes: string[];
1458
- state: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionState;
1553
+ state: "enabled" | "blocked" | "disabled";
1459
1554
  support: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
1460
1555
  tags: string[];
1461
1556
  }>;
@@ -1505,9 +1600,15 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1505
1600
  fileId: string;
1506
1601
  headers?: {
1507
1602
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1603
+ Token?: string | undefined;
1604
+ } | undefined;
1605
+ queryParameters?: {
1606
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1607
+ token?: string | undefined;
1508
1608
  } | undefined;
1509
1609
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1510
1610
  friendlyURL: string;
1611
+ friendlyUrl: string;
1511
1612
  id: string;
1512
1613
  mimeType: string;
1513
1614
  name: string;
@@ -1525,6 +1626,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1525
1626
  fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
1526
1627
  maxSizeInBytes: number;
1527
1628
  maxSizeInKB: number;
1629
+ maxSizeInKb: number;
1528
1630
  mimeTypes: string[];
1529
1631
  properties?: {
1530
1632
  imageDimensions?: {
@@ -1550,6 +1652,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1550
1652
  fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
1551
1653
  maxSizeInBytes: number;
1552
1654
  maxSizeInKB: number;
1655
+ maxSizeInKb: number;
1553
1656
  mimeTypes: string[];
1554
1657
  properties?: {
1555
1658
  imageDimensions?: {
@@ -1573,8 +1676,12 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1573
1676
  "Content-Disposition"?: ("inline" | "attachment") | undefined;
1574
1677
  Token?: string | undefined;
1575
1678
  } | undefined;
1679
+ queryParameters?: {
1680
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1681
+ token?: string | undefined;
1682
+ } | undefined;
1576
1683
  }) => import("@mittwald/react-use-promise").AsyncResource<string>;
1577
- /** Get a File. */
1684
+ /** Get a File with user-friendly url. */
1578
1685
  getFileWithName: (conf: {
1579
1686
  fileId: string;
1580
1687
  fileName: string;
@@ -1584,6 +1691,10 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1584
1691
  "Content-Disposition"?: ("inline" | "attachment") | undefined;
1585
1692
  Token?: string | undefined;
1586
1693
  } | undefined;
1694
+ queryParameters?: {
1695
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1696
+ token?: string | undefined;
1697
+ } | undefined;
1587
1698
  }) => import("@mittwald/react-use-promise").AsyncResource<string>;
1588
1699
  };
1589
1700
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
@@ -1594,6 +1705,13 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1594
1705
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1595
1706
  "x-access-token"?: string | undefined;
1596
1707
  } | undefined;
1708
+ queryParameters?: {
1709
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1710
+ search?: string | undefined;
1711
+ limit?: number | undefined;
1712
+ skip?: number | undefined;
1713
+ page?: number | undefined;
1714
+ } | undefined;
1597
1715
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1598
1716
  /** List MailAddresses belonging to a Project. */
1599
1717
  listMailAddresses: (conf: {
@@ -1602,6 +1720,13 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1602
1720
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1603
1721
  "x-access-token"?: string | undefined;
1604
1722
  } | undefined;
1723
+ queryParameters?: {
1724
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1725
+ search?: string | undefined;
1726
+ limit?: number | undefined;
1727
+ skip?: number | undefined;
1728
+ page?: number | undefined;
1729
+ } | undefined;
1605
1730
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1606
1731
  /** Get a DeliveryBox. */
1607
1732
  getDeliveryBox: (conf: {
@@ -1738,6 +1863,9 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
1738
1863
  queryParameters?: {
1739
1864
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1740
1865
  status?: ("unread" | "read") | undefined;
1866
+ limit?: number | undefined;
1867
+ skip?: number | undefined;
1868
+ page?: number | undefined;
1741
1869
  } | undefined;
1742
1870
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[]>;
1743
1871
  };
@@ -1827,6 +1955,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1827
1955
  "x-access-token"?: string | undefined;
1828
1956
  } | undefined;
1829
1957
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1958
+ avatarRefId?: string | undefined;
1830
1959
  id: string;
1831
1960
  information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
1832
1961
  mailAddress: string;
@@ -1865,6 +1994,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1865
1994
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1866
1995
  clusterDomain?: string | undefined;
1867
1996
  clusterID?: string | undefined;
1997
+ clusterId?: string | undefined;
1868
1998
  createdAt: string;
1869
1999
  customerId: string;
1870
2000
  description: string;
@@ -1897,6 +2027,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1897
2027
  "x-access-token"?: string | undefined;
1898
2028
  };
1899
2029
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2030
+ avatarRefId?: string | undefined;
1900
2031
  id: string;
1901
2032
  information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
1902
2033
  mailAddress: string;
@@ -1995,6 +2126,9 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1995
2126
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1996
2127
  customerId?: string | undefined;
1997
2128
  serverId?: string | undefined;
2129
+ limit?: number | undefined;
2130
+ skip?: number | undefined;
2131
+ page?: number | undefined;
1998
2132
  } | undefined;
1999
2133
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
2000
2134
  createdAt: string;
@@ -2329,6 +2463,12 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
2329
2463
  employeeInformation?: {
2330
2464
  department: string;
2331
2465
  } | undefined;
2466
+ isEmployee?: boolean | undefined;
2467
+ mfa?: {
2468
+ active: boolean;
2469
+ setup: boolean;
2470
+ } | undefined;
2471
+ passwordUpdatedAt?: string | undefined;
2332
2472
  person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
2333
2473
  phoneNumber?: string | undefined;
2334
2474
  registeredAt?: string | undefined;
@@ -2405,7 +2545,7 @@ export declare class MittwaldAPIV2ClientReact {
2405
2545
  readonly customer: ReturnType<typeof buildCustomerApi>;
2406
2546
  /** The database API allows you to manage your databases, like MySQL and Redis databases. */
2407
2547
  readonly database: ReturnType<typeof buildDatabaseApi>;
2408
- /** The domain API allows you to manage your domains, DNS records and ingress resources. */
2548
+ /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
2409
2549
  readonly domain: ReturnType<typeof buildDomainApi>;
2410
2550
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
2411
2551
  readonly marketplace: ReturnType<typeof buildMarketplaceApi>;