@mittwald/api-client 0.0.0-development-e096ee7-20240924 → 0.0.0-development-84e90b6-20250514

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.
@@ -130,18 +130,18 @@ export const appRetrieveStatus = {
130
130
  method: "GET",
131
131
  operationId: "app-retrieve-status",
132
132
  };
133
- /** Remove linkage between an AppInstallation and a Database. */
134
- export const appUnlinkDatabase = {
135
- path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
136
- method: "DELETE",
137
- operationId: "app-unlink-database",
138
- };
139
133
  /** Create linkage between an AppInstallation and DatabaseUsers. */
140
134
  export const appSetDatabaseUsers = {
141
135
  path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}/users",
142
136
  method: "PUT",
143
137
  operationId: "app-set-database-users",
144
138
  };
139
+ /** Remove linkage between an AppInstallation and a Database. */
140
+ export const appUnlinkDatabase = {
141
+ path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
142
+ method: "DELETE",
143
+ operationId: "app-unlink-database",
144
+ };
145
145
  /** Get an Article. */
146
146
  export const articleGetArticle = {
147
147
  path: "/v2/articles/{articleId}",
@@ -322,6 +322,12 @@ export const containerListVolumes = {
322
322
  method: "GET",
323
323
  operationId: "container-list-volumes",
324
324
  };
325
+ /** Pulls the latest version of the Service's image and recreates the Service. */
326
+ export const containerPullImageForService = {
327
+ path: "/v2/stacks/{stackId}/services/{serviceId}/actions/pull",
328
+ method: "POST",
329
+ operationId: "container-pull-image-for-service",
330
+ };
325
331
  /** Recreate a Service. */
326
332
  export const containerRecreateService = {
327
333
  path: "/v2/stacks/{stackId}/services/{serviceId}/actions/recreate",
@@ -442,6 +448,42 @@ export const contractListContracts = {
442
448
  method: "GET",
443
449
  operationId: "contract-list-contracts",
444
450
  };
451
+ /** Get Contributor Billing Information. */
452
+ export const contributorGetBillingInformation = {
453
+ path: "/v2/contributors/{contributorId}/billing-information",
454
+ method: "GET",
455
+ operationId: "contributor-get-billing-information",
456
+ };
457
+ /** Get the Stripe Billing Portal Link for a Customer */
458
+ export const contributorGetCustomerBillingPortalLink = {
459
+ path: "/v2/customers/{customerId}/billing-portal",
460
+ method: "GET",
461
+ operationId: "contributor-get-customer-billing-portal-link",
462
+ };
463
+ /** Get the Stripe Dashboard Link for a Contributor. */
464
+ export const contributorGetLoginLink = {
465
+ path: "/v2/contributors/{contributorId}/dashboard",
466
+ method: "GET",
467
+ operationId: "contributor-get-login-link",
468
+ };
469
+ /** List incoming Invoices of a Contributor. */
470
+ export const contributorListIncomingInvoices = {
471
+ path: "/v2/contributors/{contributorId}/invoices/incoming",
472
+ method: "GET",
473
+ operationId: "contributor-list-incoming-invoices",
474
+ };
475
+ /** List all invoices on behalf of a contributor. */
476
+ export const contributorListOnbehalfInvoices = {
477
+ path: "/v2/contributors/{contributorId}/invoices/outgoing",
478
+ method: "GET",
479
+ operationId: "contributor-list-onbehalf-invoices",
480
+ };
481
+ /** Request an Access Token for the Incoming Invoice file. */
482
+ export const contributorReceiptGetFileAccessToken = {
483
+ path: "/v2/contributors/{contributorId}/invoices/incoming/{contributorReceiptId}/file-access-token",
484
+ method: "GET",
485
+ operationId: "contributor-receipt-get-file-access-token",
486
+ };
445
487
  /** Rotate the secret for an extension instance. */
446
488
  export const contributorRotateSecretForExtensionInstance = {
447
489
  path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
@@ -598,9 +640,15 @@ export const customerAcceptCustomerInvite = {
598
640
  method: "POST",
599
641
  operationId: "customer-accept-customer-invite",
600
642
  };
643
+ /** List Invites belonging to a Customer. */
644
+ export const customerListInvitesForCustomer = {
645
+ path: "/v2/customers/{customerId}/invites",
646
+ method: "GET",
647
+ operationId: "customer-list-invites-for-customer",
648
+ };
601
649
  /** Create a CustomerInvite. */
602
650
  export const customerCreateCustomerInvite = {
603
- path: "/v2/customer/{customerId}/invites",
651
+ path: "/v2/customers/{customerId}/invites",
604
652
  method: "POST",
605
653
  operationId: "customer-create-customer-invite",
606
654
  };
@@ -616,6 +664,24 @@ export const customerCreateCustomer = {
616
664
  method: "POST",
617
665
  operationId: "customer-create-customer",
618
666
  };
667
+ /** Lets us know your idea for our recommendation programm. */
668
+ export const customerCreateRecommendationSuggestion = {
669
+ path: "/v2/customers/{customerId}/recommendation-suggestions",
670
+ method: "POST",
671
+ operationId: "customer-create-recommendation-suggestion",
672
+ };
673
+ /** Gets the Wallet of the Customer. */
674
+ export const customerGetWallet = {
675
+ path: "/v2/customers/{customerId}/wallet",
676
+ method: "GET",
677
+ operationId: "customer-get-wallet",
678
+ };
679
+ /** Create the Wallet for the Customer. */
680
+ export const customerCreateWallet = {
681
+ path: "/v2/customers/{customerId}/wallet",
682
+ method: "POST",
683
+ operationId: "customer-create-wallet",
684
+ };
619
685
  /** Decline a CustomerInvite. */
620
686
  export const customerDeclineCustomerInvite = {
621
687
  path: "/v2/customer-invites/{customerInviteId}/actions/decline",
@@ -676,18 +742,30 @@ export const customerGetCustomerTokenInvite = {
676
742
  method: "GET",
677
743
  operationId: "customer-get-customer-token-invite",
678
744
  };
745
+ /** Get your LeadFyndr request. */
746
+ export const customerGetLeadFyndrProfileRequest = {
747
+ path: "/v2/customers/{customerId}/lead-fyndr-profile-request",
748
+ method: "GET",
749
+ operationId: "customer-get-lead-fyndr-profile-request",
750
+ };
751
+ /** Create a new access request for LeadFyndr. */
752
+ export const leadFinderCreateLeadFyndrAccessRequest = {
753
+ path: "/v2/customers/{customerId}/lead-fyndr-profile-request",
754
+ method: "POST",
755
+ operationId: "lead-finder-create-lead-fyndr-access-request",
756
+ };
757
+ /** Get your LeadFyndr profile. */
758
+ export const customerGetLeadFyndrProfile = {
759
+ path: "/v2/customers/{customerId}/lead-fyndr-profile",
760
+ method: "GET",
761
+ operationId: "customer-get-lead-fyndr-profile",
762
+ };
679
763
  /** Check if the customer profile has a valid contract partner configured. */
680
764
  export const customerIsCustomerLegallyCompetent = {
681
765
  path: "/v2/customers/{customerId}/legally-competent",
682
766
  method: "GET",
683
767
  operationId: "customer-is-customer-legally-competent",
684
768
  };
685
- /** Leave a Customer. */
686
- export const customerLeaveCustomer = {
687
- path: "/v2/customer/{customerId}/actions/leave",
688
- method: "POST",
689
- operationId: "customer-leave-customer",
690
- };
691
769
  /** List CustomerInvites belonging to the executing user. */
692
770
  export const customerListCustomerInvites = {
693
771
  path: "/v2/customer-invites",
@@ -700,12 +778,6 @@ export const customerListCustomerMemberships = {
700
778
  method: "GET",
701
779
  operationId: "customer-list-customer-memberships",
702
780
  };
703
- /** List Invites belonging to a Customer. */
704
- export const customerListInvitesForCustomer = {
705
- path: "/v2/customers/{customerId}/invites",
706
- method: "GET",
707
- operationId: "customer-list-invites-for-customer",
708
- };
709
781
  /** List Memberships belonging to a Customer. */
710
782
  export const customerListMembershipsForCustomer = {
711
783
  path: "/v2/customers/{customerId}/memberships",
@@ -874,12 +946,72 @@ export const databaseUpdateRedisDatabaseDescription = {
874
946
  method: "PATCH",
875
947
  operationId: "database-update-redis-database-description",
876
948
  };
949
+ /** List Domains */
950
+ export const domainListDomains = {
951
+ path: "/v2/domains",
952
+ method: "GET",
953
+ operationId: "domain-list-domains",
954
+ };
955
+ /** Update the nameservers of a Domain. */
956
+ export const domainUpdateDomainNameservers = {
957
+ path: "/v2/domains/{domainId}/nameservers",
958
+ method: "PATCH",
959
+ operationId: "domain-update-domain-nameservers",
960
+ };
961
+ /** Update the paths of an Ingress. */
962
+ export const ingressUpdateIngressPaths = {
963
+ path: "/v2/ingresses/{ingressId}/paths",
964
+ method: "PATCH",
965
+ operationId: "ingress-update-ingress-paths",
966
+ };
967
+ /** Update the tls settings of an Ingress. */
968
+ export const ingressUpdateIngressTls = {
969
+ path: "/v2/ingresses/{ingressId}/tls",
970
+ method: "PATCH",
971
+ operationId: "ingress-update-ingress-tls",
972
+ };
973
+ /** Update the autoresponder of a MailAddress. */
974
+ export const mailUpdateMailAddressAutoresponder = {
975
+ path: "/v2/mail-addresses/{mailAddressId}/autoresponder",
976
+ method: "PATCH",
977
+ operationId: "mail-update-mail-address-autoresponder",
978
+ };
979
+ /** Update the forward addresses of a MailAddresses. */
980
+ export const mailUpdateMailAddressForwardAddresses = {
981
+ path: "/v2/mail-addresses/{mailAddressId}/forward-addresses",
982
+ method: "PATCH",
983
+ operationId: "mail-update-mail-address-forward-addresses",
984
+ };
985
+ /** Update the password for a MailAddress. */
986
+ export const mailUpdateMailAddressPassword = {
987
+ path: "/v2/mail-addresses/{mailAddressId}/password",
988
+ method: "PATCH",
989
+ operationId: "mail-update-mail-address-password",
990
+ };
991
+ /** Update the quota of a MailAddress. */
992
+ export const mailUpdateMailAddressQuota = {
993
+ path: "/v2/mail-addresses/{mailAddressId}/quota",
994
+ method: "PATCH",
995
+ operationId: "mail-update-mail-address-quota",
996
+ };
997
+ /** Update the spam protection of a MailAddress. */
998
+ export const mailUpdateMailAddressSpamProtection = {
999
+ path: "/v2/mail-addresses/{mailAddressId}/spam-protection",
1000
+ method: "PATCH",
1001
+ operationId: "mail-update-mail-address-spam-protection",
1002
+ };
877
1003
  /** Subscribe a user to the mStudio newsletter. */
878
1004
  export const newsletterSubscribeUser = {
879
1005
  path: "/v2/newsletter-subscriptions",
880
1006
  method: "POST",
881
1007
  operationId: "newsletter-subscribe-user",
882
1008
  };
1009
+ /** Update your account information. */
1010
+ export const userUpdateAccount = {
1011
+ path: "/v2/users/self/personal-information",
1012
+ method: "PUT",
1013
+ operationId: "user-update-account",
1014
+ };
883
1015
  /** Create a DNSZone. */
884
1016
  export const dnsCreateDnsZone = {
885
1017
  path: "/v2/dns-zones",
@@ -928,12 +1060,6 @@ export const domainCheckDomainRegistrability = {
928
1060
  method: "POST",
929
1061
  operationId: "domain-check-domain-registrability",
930
1062
  };
931
- /** List Domains */
932
- export const domainListDomains = {
933
- path: "/v2/domains",
934
- method: "GET",
935
- operationId: "domain-list-domains",
936
- };
937
1063
  /** Check if a Domain is available to transfer. */
938
1064
  export const domainCheckDomainTransferability = {
939
1065
  path: "/v2/domain-transferable",
@@ -946,12 +1072,6 @@ export const domainCreateDomainAuthCode = {
946
1072
  method: "POST",
947
1073
  operationId: "domain-create-domain-auth-code",
948
1074
  };
949
- /** Update the nameservers of a Domain. */
950
- export const domainUpdateDomainNameservers = {
951
- path: "/v2/domains/{domainId}/nameservers",
952
- method: "PATCH",
953
- operationId: "domain-update-domain-nameservers",
954
- };
955
1075
  /** Get a Domain. */
956
1076
  export const domainGetDomain = {
957
1077
  path: "/v2/domains/{domainId}",
@@ -1018,12 +1138,42 @@ export const extensionAuthenticateInstance = {
1018
1138
  method: "POST",
1019
1139
  operationId: "extension-authenticate-instance",
1020
1140
  };
1141
+ /** Authenticate your external application using a session token and an extension secret */
1142
+ export const extensionAuthenticateWithSessionToken = {
1143
+ path: "/v2/authenticate-session-token",
1144
+ method: "POST",
1145
+ operationId: "extension-authenticate-with-session-token",
1146
+ };
1147
+ /** Schedule an Extension Instance Termination for the next possible date. */
1148
+ export const extensionScheduleExtensionTermination = {
1149
+ path: "/v2/extension-instances/{extensionInstanceId}/termination",
1150
+ method: "POST",
1151
+ operationId: "extension-schedule-extension-termination",
1152
+ };
1153
+ /** Cancel an Extension Instance Termination. */
1154
+ export const extensionCancelExtensionTermination = {
1155
+ path: "/v2/extension-instances/{extensionInstanceId}/termination",
1156
+ method: "DELETE",
1157
+ operationId: "extension-cancel-extension-termination",
1158
+ };
1159
+ /** Change the context of an Extension. */
1160
+ export const extensionChangeContext = {
1161
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/context",
1162
+ method: "PUT",
1163
+ operationId: "extension-change-context",
1164
+ };
1021
1165
  /** Consent to extension scopes. */
1022
1166
  export const extensionConsentToExtensionScopes = {
1023
1167
  path: "/v2/extension-instances/{extensionInstanceId}/scopes",
1024
1168
  method: "PATCH",
1025
1169
  operationId: "extension-consent-to-extension-scopes",
1026
1170
  };
1171
+ /** Create the OnboardingProcess of a Contributor. */
1172
+ export const extensionCreateContributorOnboardingProcess = {
1173
+ path: "/v2/contributors/{contributorId}/onboarding-process",
1174
+ method: "POST",
1175
+ operationId: "extension-create-contributor-onboarding-process",
1176
+ };
1027
1177
  /** List ExtensionInstances. */
1028
1178
  export const extensionListExtensionInstances = {
1029
1179
  path: "/v2/extension-instances",
@@ -1048,12 +1198,30 @@ export const extensionGetExtensionInstance = {
1048
1198
  method: "GET",
1049
1199
  operationId: "extension-get-extension-instance",
1050
1200
  };
1051
- /** Delete an ExtensionInstance. */
1201
+ /** Delete a free ExtensionInstance. If the Extension is chargable the contract must be terminated instead. */
1052
1202
  export const extensionDeleteExtensionInstance = {
1053
1203
  path: "/v2/extension-instances/{extensionInstanceId}",
1054
1204
  method: "DELETE",
1055
1205
  operationId: "extension-delete-extension-instance",
1056
1206
  };
1207
+ /** Get Extension of own contributor. */
1208
+ export const extensionGetOwnExtension = {
1209
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
1210
+ method: "GET",
1211
+ operationId: "extension-get-own-extension",
1212
+ };
1213
+ /** Delete an extension. */
1214
+ export const extensionDeleteExtension = {
1215
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
1216
+ method: "DELETE",
1217
+ operationId: "extension-delete-extension",
1218
+ };
1219
+ /** Patch Extension. */
1220
+ export const extensionPatchExtension = {
1221
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
1222
+ method: "PATCH",
1223
+ operationId: "extension-patch-extension",
1224
+ };
1057
1225
  /** Disable an ExtensionInstance. */
1058
1226
  export const extensionDisableExtensionInstance = {
1059
1227
  path: "/v2/extension-instances/{extensionInstanceId}/actions/disable",
@@ -1072,12 +1240,48 @@ export const extensionEnableExtensionInstance = {
1072
1240
  method: "POST",
1073
1241
  operationId: "extension-enable-extension-instance",
1074
1242
  };
1243
+ /** Generate an Extension secret for the given Extension. */
1244
+ export const extensionGenerateExtensionSecret = {
1245
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/secret",
1246
+ method: "POST",
1247
+ operationId: "extension-generate-extension-secret",
1248
+ };
1249
+ /** Generate a session token to transmit it to the extensions frontend fragment. */
1250
+ export const extensionGenerateSessionToken = {
1251
+ path: "/v2/extension-instances/{extensionInstanceId}/sessions/{sessionId}",
1252
+ method: "POST",
1253
+ operationId: "extension-generate-session-token",
1254
+ };
1075
1255
  /** Get a Contributor. */
1076
1256
  export const extensionGetContributor = {
1077
1257
  path: "/v2/contributors/{contributorId}",
1078
1258
  method: "GET",
1079
1259
  operationId: "extension-get-contributor",
1080
1260
  };
1261
+ /** Get the Contract Strategy of an Extension Instance */
1262
+ export const extensionGetExtensionInstanceContract = {
1263
+ path: "/v2/extension-instances/{extensionInstanceId}/contract",
1264
+ method: "GET",
1265
+ operationId: "extension-get-extension-instance-contract",
1266
+ };
1267
+ /** Update or Create Contract for existing Extension Instances. */
1268
+ export const extensionUpdateExtensionInstanceContract = {
1269
+ path: "/v2/extension-instances/{extensionInstanceId}/contract",
1270
+ method: "PUT",
1271
+ operationId: "extension-update-extension-instance-contract",
1272
+ };
1273
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
1274
+ export const extensionGetExtensionInstanceForCustomer = {
1275
+ path: "/v2/customers/{customerId}/extensions/{extensionId}",
1276
+ method: "GET",
1277
+ operationId: "extension-get-extension-instance-for-customer",
1278
+ };
1279
+ /** Get the ExtensionInstance of a specific project and extension, if existing. */
1280
+ export const extensionGetExtensionInstanceForProject = {
1281
+ path: "/v2/projects/{projectId}/extensions/{extensionId}",
1282
+ method: "GET",
1283
+ operationId: "extension-get-extension-instance-for-project",
1284
+ };
1081
1285
  /** Get an Extension. */
1082
1286
  export const extensionGetExtension = {
1083
1287
  path: "/v2/extensions/{extensionId}",
@@ -1086,10 +1290,16 @@ export const extensionGetExtension = {
1086
1290
  };
1087
1291
  /** Get the public key to verify the webhook signature. */
1088
1292
  export const extensionGetPublicKey = {
1089
- path: "/v2/webhook-public-keys/{serial}",
1293
+ path: "/v2/public-keys/{serial}",
1090
1294
  method: "GET",
1091
1295
  operationId: "extension-get-public-key",
1092
1296
  };
1297
+ /** Invalidate the given Extension secret immediately. */
1298
+ export const extensionInvalidateExtensionSecret = {
1299
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/secret/{extensionSecretId}",
1300
+ method: "DELETE",
1301
+ operationId: "extension-invalidate-extension-secret",
1302
+ };
1093
1303
  /** List Contributors. */
1094
1304
  export const extensionListContributors = {
1095
1305
  path: "/v2/contributors",
@@ -1102,6 +1312,78 @@ export const extensionListExtensions = {
1102
1312
  method: "GET",
1103
1313
  operationId: "extension-list-extensions",
1104
1314
  };
1315
+ /** List Extensions of own contributor. */
1316
+ export const extensionListOwnExtensions = {
1317
+ path: "/v2/contributors/{contributorId}/extensions",
1318
+ method: "GET",
1319
+ operationId: "extension-list-own-extensions",
1320
+ };
1321
+ /** Register an Extension. */
1322
+ export const extensionRegisterExtension = {
1323
+ path: "/v2/contributors/{contributorId}/extensions",
1324
+ method: "POST",
1325
+ operationId: "extension-register-extension",
1326
+ };
1327
+ /** List Scopes. */
1328
+ export const extensionListScopes = {
1329
+ path: "/v2/marketplace/scopes",
1330
+ method: "GET",
1331
+ operationId: "extension-list-scopes",
1332
+ };
1333
+ /** Order Extension with saved payment method */
1334
+ export const extensionOrderExtension = {
1335
+ path: "/v2/extensions/{extensionId}/order",
1336
+ method: "POST",
1337
+ operationId: "extension-order-extension",
1338
+ };
1339
+ /** Remove an asset of an extension. */
1340
+ export const extensionRemoveAsset = {
1341
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets/{assetRefId}",
1342
+ method: "DELETE",
1343
+ operationId: "extension-remove-asset",
1344
+ };
1345
+ /** Add a logo to an extension. */
1346
+ export const extensionRequestLogoUpload = {
1347
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
1348
+ method: "POST",
1349
+ operationId: "extension-request-logo-upload",
1350
+ };
1351
+ /** Remove the logo of an extension. */
1352
+ export const extensionRemoveLogo = {
1353
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
1354
+ method: "DELETE",
1355
+ operationId: "extension-remove-logo",
1356
+ };
1357
+ /** Add an asset to an extension. */
1358
+ export const extensionRequestAssetUpload = {
1359
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets",
1360
+ method: "POST",
1361
+ operationId: "extension-request-asset-upload",
1362
+ };
1363
+ /** Start the verification process of an Extension. */
1364
+ export const extensionRequestExtensionVerification = {
1365
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/verification-process",
1366
+ method: "POST",
1367
+ operationId: "extension-request-extension-verification",
1368
+ };
1369
+ /** Publish or withdraw an Extension. */
1370
+ export const extensionSetExtensionPublishedState = {
1371
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/published",
1372
+ method: "PUT",
1373
+ operationId: "extension-set-extension-published-state",
1374
+ };
1375
+ /** Start a checkout process for an extension. */
1376
+ export const extensionStartExtensionCheckout = {
1377
+ path: "/v2/extensions/{extensionId}/checkout",
1378
+ method: "POST",
1379
+ operationId: "extension-start-extension-checkout",
1380
+ };
1381
+ /** Creates or Updates Pricing for an Extension. */
1382
+ export const extensionUpdateExtensionPricing = {
1383
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/pricing",
1384
+ method: "PUT",
1385
+ operationId: "extension-update-extension-pricing",
1386
+ };
1105
1387
  /** Create a File. */
1106
1388
  export const fileCreateFile = {
1107
1389
  path: "/v2/files",
@@ -1174,24 +1456,12 @@ export const ingressListIngressesCompatibleWithCertificate = {
1174
1456
  method: "POST",
1175
1457
  operationId: "ingress-list-ingresses-compatible-with-certificate",
1176
1458
  };
1177
- /** Update the paths of an Ingress. */
1178
- export const ingressUpdateIngressPaths = {
1179
- path: "/v2/ingresses/{ingressId}/paths",
1180
- method: "PATCH",
1181
- operationId: "ingress-update-ingress-paths",
1182
- };
1183
1459
  /** Request the ACME certificate issuance of an Ingress. */
1184
1460
  export const ingressRequestIngressAcmeCertificateIssuance = {
1185
1461
  path: "/v2/ingresses/{ingressId}/actions/request-acme-certificate-issuance",
1186
1462
  method: "POST",
1187
1463
  operationId: "ingress-request-ingress-acme-certificate-issuance",
1188
1464
  };
1189
- /** Update the tls settings of an Ingress. */
1190
- export const ingressUpdateIngressTls = {
1191
- path: "/v2/ingresses/{ingressId}/tls",
1192
- method: "PATCH",
1193
- operationId: "ingress-update-ingress-tls",
1194
- };
1195
1465
  /** Get details of an Invoice. */
1196
1466
  export const invoiceDetail = {
1197
1467
  path: "/v2/invoices/{invoiceId}",
@@ -1222,6 +1492,54 @@ export const invoiceListCustomerInvoices = {
1222
1492
  method: "GET",
1223
1493
  operationId: "invoice-list-customer-invoices",
1224
1494
  };
1495
+ /** Get lead tariff options. How many leads did you unlock this month? */
1496
+ export const leadFinderGetLeadTariffOptions = {
1497
+ path: "/v2/customers/{customerId}/lead-tariff-options",
1498
+ method: "GET",
1499
+ operationId: "lead-finder-get-lead-tariff-options",
1500
+ };
1501
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
1502
+ export const leadFinderGetLead = {
1503
+ path: "/v2/customers/{customerId}/leads/{leadId}",
1504
+ method: "GET",
1505
+ operationId: "lead-finder-get-lead",
1506
+ };
1507
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
1508
+ export const leadFinderGetUnlockedLead = {
1509
+ path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
1510
+ method: "GET",
1511
+ operationId: "lead-finder-get-unlocked-lead",
1512
+ };
1513
+ /** Unlock a lead for the given customerId. */
1514
+ export const leadFinderUnlockLead = {
1515
+ path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
1516
+ method: "POST",
1517
+ operationId: "lead-finder-unlock-lead",
1518
+ };
1519
+ /** Get all leads. Use the unlocked routes for more lead details. */
1520
+ export const leadFinderListLeads = {
1521
+ path: "/v2/customers/{customerId}/leads",
1522
+ method: "GET",
1523
+ operationId: "lead-finder-list-leads",
1524
+ };
1525
+ /** Get all unlocked leads. Organisation can unlock leads. */
1526
+ export const leadFinderListUnlockedLeads = {
1527
+ path: "/v2/customers/{customerId}/unlocked-leads",
1528
+ method: "GET",
1529
+ operationId: "lead-finder-list-unlocked-leads",
1530
+ };
1531
+ /** Reserve a unlocked lead for the given customerId. */
1532
+ export const leadFinderReserveUnlockedLead = {
1533
+ path: "/v2/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1534
+ method: "POST",
1535
+ operationId: "lead-finder-reserve-unlocked-lead",
1536
+ };
1537
+ /** Removes a reservation on a unlocked lead for the given customerId. */
1538
+ export const leadFinderRemoveUnlockedLeadReservation = {
1539
+ path: "/v2/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1540
+ method: "DELETE",
1541
+ operationId: "lead-finder-remove-unlocked-lead-reservation",
1542
+ };
1225
1543
  /** List DeliveryBoxes belonging to a Project. */
1226
1544
  export const mailListDeliveryBoxes = {
1227
1545
  path: "/v2/projects/{projectId}/delivery-boxes",
@@ -1300,6 +1618,12 @@ export const mailMigrationRequestMailMigration = {
1300
1618
  method: "POST",
1301
1619
  operationId: "mail-migration-request-mail-migration",
1302
1620
  };
1621
+ /** Request to restore a backup for a MailAddress */
1622
+ export const mailRequestMailAddressBackup = {
1623
+ path: "/v2/projects/mailaddresses/{mailAddressId}/actions/request-backup",
1624
+ method: "POST",
1625
+ operationId: "mail-request-mail-address-backup",
1626
+ };
1303
1627
  /** Update the description of a DeliveryBox. */
1304
1628
  export const mailUpdateDeliveryBoxDescription = {
1305
1629
  path: "/v2/delivery-boxes/{deliveryBoxId}/description",
@@ -1318,48 +1642,30 @@ export const mailUpdateMailAddressAddress = {
1318
1642
  method: "PATCH",
1319
1643
  operationId: "mail-update-mail-address-address",
1320
1644
  };
1321
- /** Update the autoresponder of a MailAddress. */
1322
- export const mailUpdateMailAddressAutoresponder = {
1323
- path: "/v2/mail-addresses/{mailAddressId}/autoresponder",
1324
- method: "PATCH",
1325
- operationId: "mail-update-mail-address-autoresponder",
1326
- };
1327
- /** Update the catchall of a MailAddress. */
1645
+ /** Update the catch-all of a MailAddress. */
1328
1646
  export const mailUpdateMailAddressCatchAll = {
1329
1647
  path: "/v2/mail-addresses/{mailAddressId}/catch-all",
1330
1648
  method: "PATCH",
1331
1649
  operationId: "mail-update-mail-address-catch-all",
1332
1650
  };
1333
- /** Update the forward addresses of a MailAddresses. */
1334
- export const mailUpdateMailAddressForwardAddresses = {
1335
- path: "/v2/mail-addresses/{mailAddressId}/forward-addresses",
1336
- method: "PATCH",
1337
- operationId: "mail-update-mail-address-forward-addresses",
1338
- };
1339
- /** Update the password for a MailAddress. */
1340
- export const mailUpdateMailAddressPassword = {
1341
- path: "/v2/mail-addresses/{mailAddressId}/password",
1342
- method: "PATCH",
1343
- operationId: "mail-update-mail-address-password",
1344
- };
1345
- /** Update the quota of a MailAddress. */
1346
- export const mailUpdateMailAddressQuota = {
1347
- path: "/v2/mail-addresses/{mailAddressId}/quota",
1348
- method: "PATCH",
1349
- operationId: "mail-update-mail-address-quota",
1350
- };
1351
- /** Update the spam protection of a MailAddress. */
1352
- export const mailUpdateMailAddressSpamProtection = {
1353
- path: "/v2/mail-addresses/{mailAddressId}/spam-protection",
1354
- method: "PATCH",
1355
- operationId: "mail-update-mail-address-spam-protection",
1356
- };
1357
1651
  /** Update a mail setting of a Project. */
1358
1652
  export const mailUpdateProjectMailSetting = {
1359
1653
  path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
1360
1654
  method: "PATCH",
1361
1655
  operationId: "mail-update-project-mail-setting",
1362
1656
  };
1657
+ /** Get payment method details */
1658
+ export const marketplaceCustomerGetPaymentMethod = {
1659
+ path: "/v2/customers/{customerId}/payment-method",
1660
+ method: "GET",
1661
+ operationId: "marketplace-customer-get-payment-method",
1662
+ };
1663
+ /** Get the link to update the marketplace payment method */
1664
+ export const marketplaceCustomerUpdatePaymentMethod = {
1665
+ path: "/v2/customers/{customerId}/payment-method",
1666
+ method: "PUT",
1667
+ operationId: "marketplace-customer-update-payment-method",
1668
+ };
1363
1669
  /** Getting the subscription status of the subscription. */
1364
1670
  export const newsletterGetInfo = {
1365
1671
  path: "/v2/newsletter-subscriptions/self",
@@ -1612,12 +1918,6 @@ export const projectGetServer = {
1612
1918
  method: "GET",
1613
1919
  operationId: "project-get-server",
1614
1920
  };
1615
- /** Leave a Project. */
1616
- export const projectLeaveProject = {
1617
- path: "/v2/projects/{projectId}/leave",
1618
- method: "POST",
1619
- operationId: "project-leave-project",
1620
- };
1621
1921
  /** List Memberships belonging to a Project. */
1622
1922
  export const projectListMembershipsForProject = {
1623
1923
  path: "/v2/projects/{projectId}/memberships",
@@ -1798,6 +2098,30 @@ export const sslSetCertificateRequestCertificate = {
1798
2098
  method: "PATCH",
1799
2099
  operationId: "ssl-set-certificate-request-certificate",
1800
2100
  };
2101
+ /** Get storage space Statistics belonging to a Project. */
2102
+ export const storagespaceGetProjectStatistics = {
2103
+ path: "/v2/projects/{projectId}/storage-space-statistics",
2104
+ method: "GET",
2105
+ operationId: "storagespace-get-project-statistics",
2106
+ };
2107
+ /** Get storage space Statistics belonging to a Server. */
2108
+ export const storagespaceGetServerStatistics = {
2109
+ path: "/v2/servers/{serverId}/storage-space-statistics",
2110
+ method: "GET",
2111
+ operationId: "storagespace-get-server-statistics",
2112
+ };
2113
+ /** Update a Project's storage space notification threshold. */
2114
+ export const storagespaceReplaceProjectNotificationThreshold = {
2115
+ path: "/v2/projects/{projectId}/storage-space-notification-threshold",
2116
+ method: "PUT",
2117
+ operationId: "storagespace-replace-project-notification-threshold",
2118
+ };
2119
+ /** Update a Server's storage space notification threshold. */
2120
+ export const storagespaceReplaceServerNotificationThreshold = {
2121
+ path: "/v2/servers/{serverId}/storage-space-notification-threshold",
2122
+ method: "PUT",
2123
+ operationId: "storagespace-replace-server-notification-threshold",
2124
+ };
1801
2125
  /** Add phone number and start verification process. */
1802
2126
  export const userAddPhoneNumber = {
1803
2127
  path: "/v2/users/{userId}/phone",
@@ -1954,18 +2278,6 @@ export const userDeleteUser = {
1954
2278
  method: "DELETE",
1955
2279
  operationId: "user-delete-user",
1956
2280
  };
1957
- /** Get your account information. */
1958
- export const userGetOwnAccount = {
1959
- path: "/v2/users/self/personal-information",
1960
- method: "GET",
1961
- operationId: "user-get-own-account",
1962
- };
1963
- /** Update your account information. */
1964
- export const userUpdateAccount = {
1965
- path: "/v2/users/self/personal-information",
1966
- method: "PUT",
1967
- operationId: "user-update-account",
1968
- };
1969
2281
  /** The timestamp of your latest password change. */
1970
2282
  export const userGetPasswordUpdatedAt = {
1971
2283
  path: "/v2/users/self/credentials/password-updated-at",
@@ -2122,3 +2434,15 @@ export const userVerifyRegistration = {
2122
2434
  method: "POST",
2123
2435
  operationId: "user-verify-registration",
2124
2436
  };
2437
+ /** Check if an address exists. */
2438
+ export const verificationVerifyAddress = {
2439
+ path: "/v2/actions/verify-address",
2440
+ method: "POST",
2441
+ operationId: "verification-verify-address",
2442
+ };
2443
+ /** Check if a company exists. */
2444
+ export const verificationVerifyCompany = {
2445
+ path: "/v2/actions/verify-company",
2446
+ method: "POST",
2447
+ operationId: "verification-verify-company",
2448
+ };