@mittwald/api-client 4.473.0 → 4.475.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.
- package/dist/esm/generated/v2/client-react.js +10 -6
- package/dist/esm/generated/v2/client.js +14 -8
- package/dist/esm/generated/v2/descriptors.js +40 -22
- package/dist/esm/generated/v3-next/client-react.js +10 -6
- package/dist/esm/generated/v3-next/client.js +14 -8
- package/dist/esm/generated/v3-next/descriptors.js +40 -22
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +64 -30
- package/dist/types/generated/v2/client.d.ts +339 -106
- package/dist/types/generated/v2/descriptors.d.ts +14 -8
- package/dist/types/generated/v2/types.d.ts +399 -104
- package/dist/types/generated/v3-next/client-react.d.ts +64 -30
- package/dist/types/generated/v3-next/client.d.ts +339 -106
- package/dist/types/generated/v3-next/descriptors.d.ts +14 -8
- package/dist/types/generated/v3-next/types.d.ts +398 -103
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -172,6 +172,8 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
172
172
|
contributorGetCustomerBillingPortalLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetCustomerBillingPortalLink, baseClient.marketplace.contributorGetCustomerBillingPortalLink).getApiResource,
|
|
173
173
|
/** Get the Stripe Dashboard Link for a Contributor. */
|
|
174
174
|
contributorGetLoginLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetLoginLink, baseClient.marketplace.contributorGetLoginLink).getApiResource,
|
|
175
|
+
/** Get a specific OAuth2 client. */
|
|
176
|
+
contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
|
|
175
177
|
/** List ContractPartners of the contributor. */
|
|
176
178
|
contributorListContractPartnersOfContributor: new ApiCallAsyncResourceFactory(descriptors.contributorListContractPartnersOfContributor, baseClient.marketplace.contributorListContractPartnersOfContributor).getApiResource,
|
|
177
179
|
/** List incoming Invoices of a Contributor. */
|
|
@@ -214,8 +216,6 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
214
216
|
extensionListScopes: new ApiCallAsyncResourceFactory(descriptors.extensionListScopes, baseClient.marketplace.extensionListScopes).getApiResource,
|
|
215
217
|
/** Get payment method details */
|
|
216
218
|
customerGetPaymentMethod: new ApiCallAsyncResourceFactory(descriptors.marketplaceCustomerGetPaymentMethod, baseClient.marketplace.customerGetPaymentMethod).getApiResource,
|
|
217
|
-
/** Get a specific OAuth2 client. */
|
|
218
|
-
contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
|
|
219
219
|
});
|
|
220
220
|
const buildConversationApi = (baseClient) => ({
|
|
221
221
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -296,12 +296,16 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
296
296
|
const buildDomainApi = (baseClient) => ({
|
|
297
297
|
/** List Domains */
|
|
298
298
|
listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
299
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
300
|
+
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
301
|
+
/** List DNSZones belonging to a Project. */
|
|
302
|
+
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
299
303
|
/** Get a DNSZone. */
|
|
300
304
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
305
|
+
/** Get the status of a DNS zone-file import job. */
|
|
306
|
+
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
301
307
|
/** Get a zone file for a DNSZone. */
|
|
302
308
|
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
303
|
-
/** List DNSZones belonging to a Project. */
|
|
304
|
-
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
305
309
|
/** Get a Domain. */
|
|
306
310
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
307
311
|
/** Get a Contact-Verification. */
|
|
@@ -444,10 +448,10 @@ const buildUserApi = (baseClient) => ({
|
|
|
444
448
|
listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
|
|
445
449
|
/** Obtain authorization from the resource owner. */
|
|
446
450
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
447
|
-
/** Request a support code. */
|
|
448
|
-
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
449
451
|
/** Check if a password is leaked. */
|
|
450
452
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
453
|
+
/** Request a support code. */
|
|
454
|
+
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
451
455
|
});
|
|
452
456
|
const buildProjectApi = (baseClient) => ({
|
|
453
457
|
/** List Invites belonging to a Project. */
|
|
@@ -298,6 +298,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
298
298
|
contributorGetCustomerBillingPortalLink: this.requestFunctionFactory(descriptors.contributorGetCustomerBillingPortalLink),
|
|
299
299
|
/** Get the Stripe Dashboard Link for a Contributor. */
|
|
300
300
|
contributorGetLoginLink: this.requestFunctionFactory(descriptors.contributorGetLoginLink),
|
|
301
|
+
/** Get a specific OAuth2 client. */
|
|
302
|
+
contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
|
|
301
303
|
/** List ContractPartners of the contributor. */
|
|
302
304
|
contributorListContractPartnersOfContributor: this.requestFunctionFactory(descriptors.contributorListContractPartnersOfContributor),
|
|
303
305
|
/** List incoming Invoices of a Contributor. */
|
|
@@ -410,8 +412,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
410
412
|
customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
|
|
411
413
|
/** Get the link to update the marketplace payment method */
|
|
412
414
|
customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
|
|
413
|
-
/** Get a specific OAuth2 client. */
|
|
414
|
-
contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
|
|
415
415
|
};
|
|
416
416
|
/** The conversation API allows you to manage your support conversations. */
|
|
417
417
|
conversation = {
|
|
@@ -577,16 +577,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
577
577
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
578
578
|
/** Update the tls settings of an Ingress. */
|
|
579
579
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
580
|
-
/**
|
|
581
|
-
|
|
580
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
581
|
+
dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
|
|
582
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
583
|
+
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
584
|
+
/** List DNSZones belonging to a Project. */
|
|
585
|
+
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
586
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
587
|
+
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
582
588
|
/** Get a DNSZone. */
|
|
583
589
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
584
590
|
/** Delete a DNSZone. */
|
|
585
591
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
592
|
+
/** Get the status of a DNS zone-file import job. */
|
|
593
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
586
594
|
/** Get a zone file for a DNSZone. */
|
|
587
595
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
588
|
-
/** List DNSZones belonging to a Project. */
|
|
589
|
-
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
590
596
|
/** Set a record set on a DNSZone to managed. */
|
|
591
597
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
592
598
|
/** Update a record set on a DNSZone. */
|
|
@@ -842,6 +848,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
842
848
|
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
|
|
843
849
|
/** Resend the Email-Address verification email. */
|
|
844
850
|
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
|
|
851
|
+
/** Check if a password is leaked. */
|
|
852
|
+
searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
|
|
845
853
|
/** Submit your spotlight usage. */
|
|
846
854
|
spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
|
|
847
855
|
/** Request a support code. */
|
|
@@ -852,8 +860,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
852
860
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
853
861
|
/** Verify your registration. */
|
|
854
862
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
855
|
-
/** Check if a password is leaked. */
|
|
856
|
-
searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
|
|
857
863
|
};
|
|
858
864
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
859
865
|
file = {
|
|
@@ -742,6 +742,12 @@ export const contributorGetLoginLink = {
|
|
|
742
742
|
method: "GET",
|
|
743
743
|
operationId: "contributor-get-login-link",
|
|
744
744
|
};
|
|
745
|
+
/** Get a specific OAuth2 client. */
|
|
746
|
+
export const contributorGetOauthClient = {
|
|
747
|
+
path: "/v2/oauth2/clients/{oauthClientId}",
|
|
748
|
+
method: "GET",
|
|
749
|
+
operationId: "contributor-get-oauth-client",
|
|
750
|
+
};
|
|
745
751
|
/** List ContractPartners of the contributor. */
|
|
746
752
|
export const contributorListContractPartnersOfContributor = {
|
|
747
753
|
path: "/v2/contributors/{contributorId}/contract-partners",
|
|
@@ -1282,11 +1288,29 @@ export const userUpdateAccount = {
|
|
|
1282
1288
|
method: "PUT",
|
|
1283
1289
|
operationId: "user-update-account",
|
|
1284
1290
|
};
|
|
1285
|
-
/**
|
|
1286
|
-
export const
|
|
1287
|
-
path: "/v2/dns-
|
|
1291
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
1292
|
+
export const dnsListDnsZoneFileImports = {
|
|
1293
|
+
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
1294
|
+
method: "GET",
|
|
1295
|
+
operationId: "dns-list-dns-zone-file-imports",
|
|
1296
|
+
};
|
|
1297
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
1298
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
1299
|
+
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
1300
|
+
method: "POST",
|
|
1301
|
+
operationId: "dns-create-dns-zone-file-import",
|
|
1302
|
+
};
|
|
1303
|
+
/** List DNSZones belonging to a Project. */
|
|
1304
|
+
export const dnsListDnsZones = {
|
|
1305
|
+
path: "/v2/projects/{projectId}/dns-zones",
|
|
1306
|
+
method: "GET",
|
|
1307
|
+
operationId: "dns-list-dns-zones",
|
|
1308
|
+
};
|
|
1309
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
1310
|
+
export const dnsCreateProjectDnsZone = {
|
|
1311
|
+
path: "/v2/projects/{projectId}/dns-zones",
|
|
1288
1312
|
method: "POST",
|
|
1289
|
-
operationId: "dns-create-dns-zone",
|
|
1313
|
+
operationId: "dns-create-project-dns-zone",
|
|
1290
1314
|
};
|
|
1291
1315
|
/** Get a DNSZone. */
|
|
1292
1316
|
export const dnsGetDnsZone = {
|
|
@@ -1300,18 +1324,18 @@ export const dnsDeleteDnsZone = {
|
|
|
1300
1324
|
method: "DELETE",
|
|
1301
1325
|
operationId: "dns-delete-dns-zone",
|
|
1302
1326
|
};
|
|
1327
|
+
/** Get the status of a DNS zone-file import job. */
|
|
1328
|
+
export const dnsGetDnsZoneFileImport = {
|
|
1329
|
+
path: "/v2/dns-zone-imports/{zoneFileImportId}",
|
|
1330
|
+
method: "GET",
|
|
1331
|
+
operationId: "dns-get-dns-zone-file-import",
|
|
1332
|
+
};
|
|
1303
1333
|
/** Get a zone file for a DNSZone. */
|
|
1304
1334
|
export const dnsGetZoneFile = {
|
|
1305
1335
|
path: "/v2/dns-zones/{dnsZoneId}/zone-file",
|
|
1306
1336
|
method: "GET",
|
|
1307
1337
|
operationId: "dns-get-zone-file",
|
|
1308
1338
|
};
|
|
1309
|
-
/** List DNSZones belonging to a Project. */
|
|
1310
|
-
export const dnsListDnsZones = {
|
|
1311
|
-
path: "/v2/projects/{projectId}/dns-zones",
|
|
1312
|
-
method: "GET",
|
|
1313
|
-
operationId: "dns-list-dns-zones",
|
|
1314
|
-
};
|
|
1315
1339
|
/** Set a record set on a DNSZone to managed. */
|
|
1316
1340
|
export const dnsSetRecordSetManaged = {
|
|
1317
1341
|
path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2848,6 +2872,12 @@ export const userResendVerificationEmail = {
|
|
|
2848
2872
|
method: "POST",
|
|
2849
2873
|
operationId: "user-resend-verification-email",
|
|
2850
2874
|
};
|
|
2875
|
+
/** Check if a password is leaked. */
|
|
2876
|
+
export const userSearchedLeakedPasswordsByRange = {
|
|
2877
|
+
path: "/v2/leaked-passwords/{passwordHashPrefix}",
|
|
2878
|
+
method: "GET",
|
|
2879
|
+
operationId: "user-searched-leaked-passwords-by-range",
|
|
2880
|
+
};
|
|
2851
2881
|
/** Submit your spotlight usage. */
|
|
2852
2882
|
export const userSpotlightFeedback = {
|
|
2853
2883
|
path: "/v2/users/self/spotlights/{spotlightId}/feedback",
|
|
@@ -2896,15 +2926,3 @@ export const verificationVerifyCompany = {
|
|
|
2896
2926
|
method: "POST",
|
|
2897
2927
|
operationId: "verification-verify-company",
|
|
2898
2928
|
};
|
|
2899
|
-
/** Get a specific OAuth2 client. */
|
|
2900
|
-
export const contributorGetOauthClient = {
|
|
2901
|
-
path: "/v2/oauth2/clients/{oauthClientId}",
|
|
2902
|
-
method: "GET",
|
|
2903
|
-
operationId: "contributor-get-oauth-client",
|
|
2904
|
-
};
|
|
2905
|
-
/** Check if a password is leaked. */
|
|
2906
|
-
export const userSearchedLeakedPasswordsByRange = {
|
|
2907
|
-
path: "/v2/leaked-passwords/{passwordHashPrefix}",
|
|
2908
|
-
method: "GET",
|
|
2909
|
-
operationId: "user-searched-leaked-passwords-by-range",
|
|
2910
|
-
};
|
|
@@ -172,6 +172,8 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
172
172
|
contributorGetCustomerBillingPortalLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetCustomerBillingPortalLink, baseClient.marketplace.contributorGetCustomerBillingPortalLink).getApiResource,
|
|
173
173
|
/** Get the Stripe Dashboard Link for a Contributor. */
|
|
174
174
|
contributorGetLoginLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetLoginLink, baseClient.marketplace.contributorGetLoginLink).getApiResource,
|
|
175
|
+
/** Get a specific OAuth2 client. */
|
|
176
|
+
contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
|
|
175
177
|
/** List ContractPartners of the contributor. */
|
|
176
178
|
contributorListContractPartnersOfContributor: new ApiCallAsyncResourceFactory(descriptors.contributorListContractPartnersOfContributor, baseClient.marketplace.contributorListContractPartnersOfContributor).getApiResource,
|
|
177
179
|
/** List incoming Invoices of a Contributor. */
|
|
@@ -214,8 +216,6 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
214
216
|
extensionListScopes: new ApiCallAsyncResourceFactory(descriptors.extensionListScopes, baseClient.marketplace.extensionListScopes).getApiResource,
|
|
215
217
|
/** Get payment method details */
|
|
216
218
|
customerGetPaymentMethod: new ApiCallAsyncResourceFactory(descriptors.marketplaceCustomerGetPaymentMethod, baseClient.marketplace.customerGetPaymentMethod).getApiResource,
|
|
217
|
-
/** Get a specific OAuth2 client. */
|
|
218
|
-
contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
|
|
219
219
|
});
|
|
220
220
|
const buildConversationApi = (baseClient) => ({
|
|
221
221
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -296,12 +296,16 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
296
296
|
const buildDomainApi = (baseClient) => ({
|
|
297
297
|
/** List Domains */
|
|
298
298
|
listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
299
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
300
|
+
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
301
|
+
/** List DNSZones belonging to a Project. */
|
|
302
|
+
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
299
303
|
/** Get a DNSZone. */
|
|
300
304
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
305
|
+
/** Get the status of a DNS zone-file import job. */
|
|
306
|
+
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
301
307
|
/** Get a zone file for a DNSZone. */
|
|
302
308
|
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
303
|
-
/** List DNSZones belonging to a Project. */
|
|
304
|
-
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
305
309
|
/** Get a Domain. */
|
|
306
310
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
307
311
|
/** Get a Contact-Verification. */
|
|
@@ -444,10 +448,10 @@ const buildUserApi = (baseClient) => ({
|
|
|
444
448
|
listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
|
|
445
449
|
/** Obtain authorization from the resource owner. */
|
|
446
450
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
447
|
-
/** Request a support code. */
|
|
448
|
-
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
449
451
|
/** Check if a password is leaked. */
|
|
450
452
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
453
|
+
/** Request a support code. */
|
|
454
|
+
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
451
455
|
});
|
|
452
456
|
const buildProjectApi = (baseClient) => ({
|
|
453
457
|
/** List Invites belonging to a Project. */
|
|
@@ -298,6 +298,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
298
298
|
contributorGetCustomerBillingPortalLink: this.requestFunctionFactory(descriptors.contributorGetCustomerBillingPortalLink),
|
|
299
299
|
/** Get the Stripe Dashboard Link for a Contributor. */
|
|
300
300
|
contributorGetLoginLink: this.requestFunctionFactory(descriptors.contributorGetLoginLink),
|
|
301
|
+
/** Get a specific OAuth2 client. */
|
|
302
|
+
contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
|
|
301
303
|
/** List ContractPartners of the contributor. */
|
|
302
304
|
contributorListContractPartnersOfContributor: this.requestFunctionFactory(descriptors.contributorListContractPartnersOfContributor),
|
|
303
305
|
/** List incoming Invoices of a Contributor. */
|
|
@@ -410,8 +412,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
410
412
|
customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
|
|
411
413
|
/** Get the link to update the marketplace payment method */
|
|
412
414
|
customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
|
|
413
|
-
/** Get a specific OAuth2 client. */
|
|
414
|
-
contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
|
|
415
415
|
};
|
|
416
416
|
/** The conversation API allows you to manage your support conversations. */
|
|
417
417
|
conversation = {
|
|
@@ -577,16 +577,22 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
577
577
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
578
578
|
/** Update the tls settings of an Ingress. */
|
|
579
579
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
580
|
-
/**
|
|
581
|
-
|
|
580
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
581
|
+
dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
|
|
582
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
583
|
+
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
584
|
+
/** List DNSZones belonging to a Project. */
|
|
585
|
+
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
586
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
587
|
+
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
582
588
|
/** Get a DNSZone. */
|
|
583
589
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
584
590
|
/** Delete a DNSZone. */
|
|
585
591
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
592
|
+
/** Get the status of a DNS zone-file import job. */
|
|
593
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
586
594
|
/** Get a zone file for a DNSZone. */
|
|
587
595
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
588
|
-
/** List DNSZones belonging to a Project. */
|
|
589
|
-
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
590
596
|
/** Set a record set on a DNSZone to managed. */
|
|
591
597
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
592
598
|
/** Update a record set on a DNSZone. */
|
|
@@ -842,6 +848,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
842
848
|
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
|
|
843
849
|
/** Resend the Email-Address verification email. */
|
|
844
850
|
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
|
|
851
|
+
/** Check if a password is leaked. */
|
|
852
|
+
searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
|
|
845
853
|
/** Submit your spotlight usage. */
|
|
846
854
|
spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
|
|
847
855
|
/** Request a support code. */
|
|
@@ -852,8 +860,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
852
860
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
853
861
|
/** Verify your registration. */
|
|
854
862
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
855
|
-
/** Check if a password is leaked. */
|
|
856
|
-
searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
|
|
857
863
|
};
|
|
858
864
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
859
865
|
file = {
|
|
@@ -742,6 +742,12 @@ export const contributorGetLoginLink = {
|
|
|
742
742
|
method: "GET",
|
|
743
743
|
operationId: "contributor-get-login-link",
|
|
744
744
|
};
|
|
745
|
+
/** Get a specific OAuth2 client. */
|
|
746
|
+
export const contributorGetOauthClient = {
|
|
747
|
+
path: "/v3-next/oauth2/clients/{oauthClientId}",
|
|
748
|
+
method: "GET",
|
|
749
|
+
operationId: "contributor-get-oauth-client",
|
|
750
|
+
};
|
|
745
751
|
/** List ContractPartners of the contributor. */
|
|
746
752
|
export const contributorListContractPartnersOfContributor = {
|
|
747
753
|
path: "/v3-next/contributors/{contributorId}/contract-partners",
|
|
@@ -1282,11 +1288,29 @@ export const userUpdateAccount = {
|
|
|
1282
1288
|
method: "PUT",
|
|
1283
1289
|
operationId: "user-update-account",
|
|
1284
1290
|
};
|
|
1285
|
-
/**
|
|
1286
|
-
export const
|
|
1287
|
-
path: "/v3-next/dns-
|
|
1291
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
1292
|
+
export const dnsListDnsZoneFileImports = {
|
|
1293
|
+
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
1294
|
+
method: "GET",
|
|
1295
|
+
operationId: "dns-list-dns-zone-file-imports",
|
|
1296
|
+
};
|
|
1297
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
1298
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
1299
|
+
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
1300
|
+
method: "POST",
|
|
1301
|
+
operationId: "dns-create-dns-zone-file-import",
|
|
1302
|
+
};
|
|
1303
|
+
/** List DNSZones belonging to a Project. */
|
|
1304
|
+
export const dnsListDnsZones = {
|
|
1305
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1306
|
+
method: "GET",
|
|
1307
|
+
operationId: "dns-list-dns-zones",
|
|
1308
|
+
};
|
|
1309
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
1310
|
+
export const dnsCreateProjectDnsZone = {
|
|
1311
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1288
1312
|
method: "POST",
|
|
1289
|
-
operationId: "dns-create-dns-zone",
|
|
1313
|
+
operationId: "dns-create-project-dns-zone",
|
|
1290
1314
|
};
|
|
1291
1315
|
/** Get a DNSZone. */
|
|
1292
1316
|
export const dnsGetDnsZone = {
|
|
@@ -1300,18 +1324,18 @@ export const dnsDeleteDnsZone = {
|
|
|
1300
1324
|
method: "DELETE",
|
|
1301
1325
|
operationId: "dns-delete-dns-zone",
|
|
1302
1326
|
};
|
|
1327
|
+
/** Get the status of a DNS zone-file import job. */
|
|
1328
|
+
export const dnsGetDnsZoneFileImport = {
|
|
1329
|
+
path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
|
|
1330
|
+
method: "GET",
|
|
1331
|
+
operationId: "dns-get-dns-zone-file-import",
|
|
1332
|
+
};
|
|
1303
1333
|
/** Get a zone file for a DNSZone. */
|
|
1304
1334
|
export const dnsGetZoneFile = {
|
|
1305
1335
|
path: "/v3-next/dns-zones/{dnsZoneId}/zone-file",
|
|
1306
1336
|
method: "GET",
|
|
1307
1337
|
operationId: "dns-get-zone-file",
|
|
1308
1338
|
};
|
|
1309
|
-
/** List DNSZones belonging to a Project. */
|
|
1310
|
-
export const dnsListDnsZones = {
|
|
1311
|
-
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1312
|
-
method: "GET",
|
|
1313
|
-
operationId: "dns-list-dns-zones",
|
|
1314
|
-
};
|
|
1315
1339
|
/** Set a record set on a DNSZone to managed. */
|
|
1316
1340
|
export const dnsSetRecordSetManaged = {
|
|
1317
1341
|
path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2848,6 +2872,12 @@ export const userResendVerificationEmail = {
|
|
|
2848
2872
|
method: "POST",
|
|
2849
2873
|
operationId: "user-resend-verification-email",
|
|
2850
2874
|
};
|
|
2875
|
+
/** Check if a password is leaked. */
|
|
2876
|
+
export const userSearchedLeakedPasswordsByRange = {
|
|
2877
|
+
path: "/v3-next/leaked-passwords/{passwordHashPrefix}",
|
|
2878
|
+
method: "GET",
|
|
2879
|
+
operationId: "user-searched-leaked-passwords-by-range",
|
|
2880
|
+
};
|
|
2851
2881
|
/** Submit your spotlight usage. */
|
|
2852
2882
|
export const userSpotlightFeedback = {
|
|
2853
2883
|
path: "/v3-next/users/self/spotlights/{spotlightId}/feedback",
|
|
@@ -2896,15 +2926,3 @@ export const verificationVerifyCompany = {
|
|
|
2896
2926
|
method: "POST",
|
|
2897
2927
|
operationId: "verification-verify-company",
|
|
2898
2928
|
};
|
|
2899
|
-
/** Get a specific OAuth2 client. */
|
|
2900
|
-
export const contributorGetOauthClient = {
|
|
2901
|
-
path: "/v3-next/oauth2/clients/{oauthClientId}",
|
|
2902
|
-
method: "GET",
|
|
2903
|
-
operationId: "contributor-get-oauth-client",
|
|
2904
|
-
};
|
|
2905
|
-
/** Check if a password is leaked. */
|
|
2906
|
-
export const userSearchedLeakedPasswordsByRange = {
|
|
2907
|
-
path: "/v3-next/leaked-passwords/{passwordHashPrefix}",
|
|
2908
|
-
method: "GET",
|
|
2909
|
-
operationId: "user-searched-leaked-passwords-by-range",
|
|
2910
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.474.0';
|
|
@@ -1398,6 +1398,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1398
1398
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1399
1399
|
url?: string | undefined;
|
|
1400
1400
|
}>;
|
|
1401
|
+
/** Get a specific OAuth2 client. */
|
|
1402
|
+
contributorGetOauthClient: (conf: {
|
|
1403
|
+
oauthClientId: string;
|
|
1404
|
+
headers?: {
|
|
1405
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
1406
|
+
"x-access-token"?: string | undefined;
|
|
1407
|
+
} | undefined;
|
|
1408
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1409
|
+
allowedGrantTypes?: string[] | undefined;
|
|
1410
|
+
allowedRedirectUris?: string[] | undefined;
|
|
1411
|
+
allowedScopes?: string[] | undefined;
|
|
1412
|
+
description?: string | undefined;
|
|
1413
|
+
humanReadableName: string;
|
|
1414
|
+
id: string;
|
|
1415
|
+
type?: "public" | "confidential" | undefined;
|
|
1416
|
+
}>;
|
|
1401
1417
|
/** List ContractPartners of the contributor. */
|
|
1402
1418
|
contributorListContractPartnersOfContributor: (conf: {
|
|
1403
1419
|
contributorId: string;
|
|
@@ -1829,22 +1845,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1829
1845
|
last4: string;
|
|
1830
1846
|
} | undefined;
|
|
1831
1847
|
}>;
|
|
1832
|
-
/** Get a specific OAuth2 client. */
|
|
1833
|
-
contributorGetOauthClient: (conf: {
|
|
1834
|
-
oauthClientId: string;
|
|
1835
|
-
headers?: {
|
|
1836
|
-
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
1837
|
-
"x-access-token"?: string | undefined;
|
|
1838
|
-
} | undefined;
|
|
1839
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1840
|
-
allowedGrantTypes?: string[] | undefined;
|
|
1841
|
-
allowedRedirectUris?: string[] | undefined;
|
|
1842
|
-
allowedScopes?: string[] | undefined;
|
|
1843
|
-
description?: string | undefined;
|
|
1844
|
-
humanReadableName: string;
|
|
1845
|
-
id: string;
|
|
1846
|
-
type?: "public" | "confidential" | undefined;
|
|
1847
|
-
}>;
|
|
1848
1848
|
};
|
|
1849
1849
|
declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1850
1850
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -2402,6 +2402,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2402
2402
|
page?: number | undefined;
|
|
2403
2403
|
} | undefined;
|
|
2404
2404
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
2405
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
2406
|
+
dnsListDnsZoneFileImports: (conf: {
|
|
2407
|
+
projectId: string;
|
|
2408
|
+
headers?: {
|
|
2409
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
2410
|
+
"x-access-token"?: string | undefined;
|
|
2411
|
+
} | undefined;
|
|
2412
|
+
queryParameters?: {
|
|
2413
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
2414
|
+
limit?: number | undefined;
|
|
2415
|
+
skip?: number | undefined;
|
|
2416
|
+
page?: number | undefined;
|
|
2417
|
+
sort?: "createdAt" | undefined;
|
|
2418
|
+
order?: "asc" | "desc" | undefined;
|
|
2419
|
+
} | undefined;
|
|
2420
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[]>;
|
|
2421
|
+
/** List DNSZones belonging to a Project. */
|
|
2422
|
+
dnsListDnsZones: (conf: {
|
|
2423
|
+
projectId: string;
|
|
2424
|
+
headers?: {
|
|
2425
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
2426
|
+
"x-access-token"?: string | undefined;
|
|
2427
|
+
} | undefined;
|
|
2428
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
2405
2429
|
/** Get a DNSZone. */
|
|
2406
2430
|
dnsGetDnsZone: (conf: {
|
|
2407
2431
|
dnsZoneId: string;
|
|
@@ -2421,22 +2445,32 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2421
2445
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
2422
2446
|
};
|
|
2423
2447
|
}>;
|
|
2424
|
-
/** Get a zone
|
|
2425
|
-
|
|
2426
|
-
|
|
2448
|
+
/** Get the status of a DNS zone-file import job. */
|
|
2449
|
+
dnsGetDnsZoneFileImport: (conf: {
|
|
2450
|
+
zoneFileImportId: string;
|
|
2427
2451
|
headers?: {
|
|
2428
2452
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
2429
2453
|
"x-access-token"?: string | undefined;
|
|
2430
2454
|
} | undefined;
|
|
2431
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2432
|
-
|
|
2433
|
-
|
|
2455
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2456
|
+
createdAt: string;
|
|
2457
|
+
id: string;
|
|
2458
|
+
importedZones: string[];
|
|
2434
2459
|
projectId: string;
|
|
2460
|
+
skippedZones: {
|
|
2461
|
+
name: string;
|
|
2462
|
+
reason: string;
|
|
2463
|
+
}[];
|
|
2464
|
+
status: "running" | "succeeded" | "completedWithErrors";
|
|
2465
|
+
}>;
|
|
2466
|
+
/** Get a zone file for a DNSZone. */
|
|
2467
|
+
dnsGetZoneFile: (conf: {
|
|
2468
|
+
dnsZoneId: string;
|
|
2435
2469
|
headers?: {
|
|
2436
2470
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
2437
2471
|
"x-access-token"?: string | undefined;
|
|
2438
2472
|
} | undefined;
|
|
2439
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2473
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
2440
2474
|
/** Get a Domain. */
|
|
2441
2475
|
getDomain: (conf: {
|
|
2442
2476
|
domainId: string;
|
|
@@ -3505,6 +3539,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3505
3539
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3506
3540
|
} | undefined;
|
|
3507
3541
|
}) => import("@mittwald/react-use-promise").AsyncResource<never>;
|
|
3542
|
+
/** Check if a password is leaked. */
|
|
3543
|
+
searchedLeakedPasswordsByRange: (conf: {
|
|
3544
|
+
passwordHashPrefix: string;
|
|
3545
|
+
headers?: {
|
|
3546
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3547
|
+
} | undefined;
|
|
3548
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
3508
3549
|
/** Request a support code. */
|
|
3509
3550
|
supportCodeRequest: (conf?: {
|
|
3510
3551
|
headers?: {
|
|
@@ -3519,13 +3560,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3519
3560
|
expiresAt: string;
|
|
3520
3561
|
supportCode: string;
|
|
3521
3562
|
}>;
|
|
3522
|
-
/** Check if a password is leaked. */
|
|
3523
|
-
searchedLeakedPasswordsByRange: (conf: {
|
|
3524
|
-
passwordHashPrefix: string;
|
|
3525
|
-
headers?: {
|
|
3526
|
-
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3527
|
-
} | undefined;
|
|
3528
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
3529
3563
|
};
|
|
3530
3564
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3531
3565
|
/** List Invites belonging to a Project. */
|