@mittwald/api-client 0.0.0-development-84e90b6-20250514 → 0.0.0-development-fd244c8-20250625

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.
@@ -78,6 +78,8 @@ const buildContractApi = (baseClient) => ({
78
78
  getDetailOfContractByCertificate: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByCertificate, baseClient.contract.getDetailOfContractByCertificate).getApiResource,
79
79
  /** Return the Contract for the given Domain. */
80
80
  getDetailOfContractByDomain: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByDomain, baseClient.contract.getDetailOfContractByDomain).getApiResource,
81
+ /** Return the Contract for the given LeadFyndrProfile. */
82
+ getDetailOfContractByLeadFyndr: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByLeadFyndr, baseClient.contract.getDetailOfContractByLeadFyndr).getApiResource,
81
83
  /** Return the Contract for the given Project. */
82
84
  getDetailOfContractByProject: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByProject, baseClient.contract.getDetailOfContractByProject).getApiResource,
83
85
  /** Return the Contract for the given Server. */
@@ -128,6 +130,8 @@ const buildMarketplaceApi = (baseClient) => ({
128
130
  extensionGetOwnExtension: new ApiCallAsyncResourceFactory(descriptors.extensionGetOwnExtension, baseClient.marketplace.extensionGetOwnExtension).getApiResource,
129
131
  /** Get a Contributor. */
130
132
  extensionGetContributor: new ApiCallAsyncResourceFactory(descriptors.extensionGetContributor, baseClient.marketplace.extensionGetContributor).getApiResource,
133
+ /** Get all open extension orders for given customer */
134
+ extensionGetCustomerExtensionInstanceOrders: new ApiCallAsyncResourceFactory(descriptors.extensionGetCustomerExtensionInstanceOrders, baseClient.marketplace.extensionGetCustomerExtensionInstanceOrders).getApiResource,
131
135
  /** Get the Contract Strategy of an Extension Instance */
132
136
  extensionGetExtensionInstanceContract: new ApiCallAsyncResourceFactory(descriptors.extensionGetExtensionInstanceContract, baseClient.marketplace.extensionGetExtensionInstanceContract).getApiResource,
133
137
  /** Get the ExtensionInstance of a specific customer and extension, if existing. */
@@ -136,6 +140,8 @@ const buildMarketplaceApi = (baseClient) => ({
136
140
  extensionGetExtensionInstanceForProject: new ApiCallAsyncResourceFactory(descriptors.extensionGetExtensionInstanceForProject, baseClient.marketplace.extensionGetExtensionInstanceForProject).getApiResource,
137
141
  /** Get an Extension. */
138
142
  extensionGetExtension: new ApiCallAsyncResourceFactory(descriptors.extensionGetExtension, baseClient.marketplace.extensionGetExtension).getApiResource,
143
+ /** Get all open extension orders for given project */
144
+ extensionGetProjectExtensionInstanceOrders: new ApiCallAsyncResourceFactory(descriptors.extensionGetProjectExtensionInstanceOrders, baseClient.marketplace.extensionGetProjectExtensionInstanceOrders).getApiResource,
139
145
  /** Get the public key to verify the webhook signature. */
140
146
  extensionGetPublicKey: new ApiCallAsyncResourceFactory(descriptors.extensionGetPublicKey, baseClient.marketplace.extensionGetPublicKey).getApiResource,
141
147
  /** List Contributors. */
@@ -192,10 +198,6 @@ const buildCustomerApi = (baseClient) => ({
192
198
  getCustomer: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomer, baseClient.customer.getCustomer).getApiResource,
193
199
  /** Get a CustomerInvite by token. */
194
200
  getCustomerTokenInvite: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomerTokenInvite, baseClient.customer.getCustomerTokenInvite).getApiResource,
195
- /** Get your LeadFyndr request. */
196
- getLeadFyndrProfileRequest: new ApiCallAsyncResourceFactory(descriptors.customerGetLeadFyndrProfileRequest, baseClient.customer.getLeadFyndrProfileRequest).getApiResource,
197
- /** Get your LeadFyndr profile. */
198
- getLeadFyndrProfile: new ApiCallAsyncResourceFactory(descriptors.customerGetLeadFyndrProfile, baseClient.customer.getLeadFyndrProfile).getApiResource,
199
201
  /** Check if the customer profile has a valid contract partner configured. */
200
202
  isCustomerLegallyCompetent: new ApiCallAsyncResourceFactory(descriptors.customerIsCustomerLegallyCompetent, baseClient.customer.isCustomerLegallyCompetent).getApiResource,
201
203
  /** List CustomerInvites belonging to the executing user. */
@@ -269,6 +271,24 @@ const buildFileApi = (baseClient) => ({
269
271
  /** Get a File with user-friendly url. */
270
272
  getFileWithName: new ApiCallAsyncResourceFactory(descriptors.fileGetFileWithName, baseClient.file.getFileWithName).getApiResource,
271
273
  });
274
+ const buildLeadFyndrApi = (baseClient) => ({
275
+ /** Get your LeadFyndr request. */
276
+ leadfyndrGetLeadFyndrProfileRequestExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileRequestExperimental, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileRequestExperimental).getApiResource,
277
+ /** Get cities in DACH. */
278
+ leadfyndrGetCitiesExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetCitiesExperimental, baseClient.leadFyndr.leadfyndrGetCitiesExperimental).getApiResource,
279
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
280
+ leadfyndrGetLeadExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadExperimental, baseClient.leadFyndr.leadfyndrGetLeadExperimental).getApiResource,
281
+ /** Get your LeadFyndr profile. */
282
+ leadfyndrGetLeadFyndrProfileExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileExperimental, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileExperimental).getApiResource,
283
+ /** Get lead tariff options. How many leads did you unlock this month? */
284
+ leadfyndrGetLeadFyndrProfileTariffOptionsExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptionsExperimental, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileTariffOptionsExperimental).getApiResource,
285
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
286
+ leadfyndrGetUnlockedLeadExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetUnlockedLeadExperimental, baseClient.leadFyndr.leadfyndrGetUnlockedLeadExperimental).getApiResource,
287
+ /** Get all leads. Use the unlocked routes for more lead details. */
288
+ leadfyndrListLeadsExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListLeadsExperimental, baseClient.leadFyndr.leadfyndrListLeadsExperimental).getApiResource,
289
+ /** Get all unlocked leads. Organisation can unlock leads. */
290
+ leadfyndrListUnlockedLeadsExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeadsExperimental, baseClient.leadFyndr.leadfyndrListUnlockedLeadsExperimental).getApiResource,
291
+ });
272
292
  const buildMailApi = (baseClient) => ({
273
293
  /** List DeliveryBoxes belonging to a Project. */
274
294
  listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
@@ -301,6 +321,40 @@ const buildPageInsightsApi = (baseClient) => ({
301
321
  /** List websites (specified as domain and path) from a project where performance data is available. */
302
322
  pageinsightsListPerformanceDataForProject: new ApiCallAsyncResourceFactory(descriptors.pageinsightsListPerformanceDataForProject, baseClient.pageInsights.pageinsightsListPerformanceDataForProject).getApiResource,
303
323
  });
324
+ const buildUserApi = (baseClient) => ({
325
+ /** Get a PasswordPolicy. */
326
+ passwordValidationGetPasswordPolicy: new ApiCallAsyncResourceFactory(descriptors.passwordValidationGetPasswordPolicy, baseClient.user.passwordValidationGetPasswordPolicy).getApiResource,
327
+ /** Get your verified Email-Address. */
328
+ getOwnEmail: new ApiCallAsyncResourceFactory(descriptors.userGetOwnEmail, baseClient.user.getOwnEmail).getApiResource,
329
+ /** Get your current multi factor auth status. */
330
+ getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
331
+ /** List all of your ApiTokens. */
332
+ listApiTokens: new ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
333
+ /** Get your stored ssh-keys. */
334
+ listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
335
+ /** Get a specific ApiToken. */
336
+ getApiToken: new ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
337
+ /** Get a specific stored ssh-key. */
338
+ getSshKey: new ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
339
+ /** The timestamp of your latest password change. */
340
+ getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
341
+ /** Get personalized settings. */
342
+ getPersonalizedSettings: new ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
343
+ /** Get poll settings for the specified user. */
344
+ getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
345
+ /** Get a specific session. */
346
+ getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
347
+ /** Get profile information for a user. */
348
+ getUser: new ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
349
+ /** Submitted feedback of the given user. */
350
+ listFeedback: new ApiCallAsyncResourceFactory(descriptors.userListFeedback, baseClient.user.listFeedback).getApiResource,
351
+ /** List all sessions. */
352
+ listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
353
+ /** Obtain authorization from the resource owner. */
354
+ oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
355
+ /** Request a support code. */
356
+ supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
357
+ });
304
358
  const buildProjectApi = (baseClient) => ({
305
359
  /** List Invites belonging to a Project. */
306
360
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
@@ -353,38 +407,6 @@ const buildSshsftpUserApi = (baseClient) => ({
353
407
  /** Get an SSHUser. */
354
408
  sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
355
409
  });
356
- const buildUserApi = (baseClient) => ({
357
- /** Get your verified Email-Address. */
358
- getOwnEmail: new ApiCallAsyncResourceFactory(descriptors.userGetOwnEmail, baseClient.user.getOwnEmail).getApiResource,
359
- /** Get your current multi factor auth status. */
360
- getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
361
- /** List all of your ApiTokens. */
362
- listApiTokens: new ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
363
- /** Get your stored ssh-keys. */
364
- listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
365
- /** Get a specific ApiToken. */
366
- getApiToken: new ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
367
- /** Get a specific stored ssh-key. */
368
- getSshKey: new ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
369
- /** The timestamp of your latest password change. */
370
- getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
371
- /** Get personalized settings. */
372
- getPersonalizedSettings: new ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
373
- /** Get poll settings for the specified user. */
374
- getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
375
- /** Get a specific session. */
376
- getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
377
- /** Get profile information for a user. */
378
- getUser: new ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
379
- /** Submitted feedback of the given user. */
380
- listFeedback: new ApiCallAsyncResourceFactory(descriptors.userListFeedback, baseClient.user.listFeedback).getApiResource,
381
- /** List all sessions. */
382
- listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
383
- /** Obtain authorization from the resource owner. */
384
- oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
385
- /** Request a support code. */
386
- supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
387
- });
388
410
  export class MittwaldAPIV2ClientReact {
389
411
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
390
412
  app;
@@ -410,20 +432,22 @@ export class MittwaldAPIV2ClientReact {
410
432
  domain;
411
433
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
412
434
  file;
435
+ /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
436
+ leadFyndr;
413
437
  /** The mail API allows you to manage your mail accounts. */
414
438
  mail;
415
439
  /** The notification API allows you to manage your notifications. */
416
440
  notification;
417
441
  /** The page insights API allows you to get page insights information. */
418
442
  pageInsights;
443
+ /** The user API allows you to manage your own user and access information of other users that might be visible to you. */
444
+ user;
419
445
  /** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
420
446
  project;
421
447
  /** The filesystem API allows you to directly access the filesystem of your project. */
422
448
  projectFileSystem;
423
449
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
424
450
  sshsftpUser;
425
- /** The user API allows you to manage your own user and access information of other users that might be visible to you. */
426
- user;
427
451
  constructor(baseClient) {
428
452
  this.app = buildAppApi(baseClient);
429
453
  this.article = buildArticleApi(baseClient);
@@ -437,13 +461,14 @@ export class MittwaldAPIV2ClientReact {
437
461
  this.database = buildDatabaseApi(baseClient);
438
462
  this.domain = buildDomainApi(baseClient);
439
463
  this.file = buildFileApi(baseClient);
464
+ this.leadFyndr = buildLeadFyndrApi(baseClient);
440
465
  this.mail = buildMailApi(baseClient);
441
466
  this.notification = buildNotificationApi(baseClient);
442
467
  this.pageInsights = buildPageInsightsApi(baseClient);
468
+ this.user = buildUserApi(baseClient);
443
469
  this.project = buildProjectApi(baseClient);
444
470
  this.projectFileSystem = buildProjectFileSystemApi(baseClient);
445
471
  this.sshsftpUser = buildSshsftpUserApi(baseClient);
446
- this.user = buildUserApi(baseClient);
447
472
  }
448
473
  static fromBaseClient(baseClient) {
449
474
  return new MittwaldAPIV2ClientReact(baseClient);
@@ -156,6 +156,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
156
156
  getDetailOfContractByCertificate: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByCertificate),
157
157
  /** Return the Contract for the given Domain. */
158
158
  getDetailOfContractByDomain: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByDomain),
159
+ /** Return the Contract for the given LeadFyndrProfile. */
160
+ getDetailOfContractByLeadFyndr: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByLeadFyndr),
159
161
  /** Return the Contract for the given Project. */
160
162
  getDetailOfContractByProject: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByProject),
161
163
  /** Return the Contract for the given Server. */
@@ -199,6 +201,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
199
201
  marketplace = {
200
202
  /** Get Contributor Billing Information. */
201
203
  contributorGetBillingInformation: this.requestFunctionFactory(descriptors.contributorGetBillingInformation),
204
+ /** Update Contributor Billing Information. */
205
+ contributorUpdateBillingInformation: this.requestFunctionFactory(descriptors.contributorUpdateBillingInformation),
202
206
  /** Get the Stripe Billing Portal Link for a Customer */
203
207
  contributorGetCustomerBillingPortalLink: this.requestFunctionFactory(descriptors.contributorGetCustomerBillingPortalLink),
204
208
  /** Get the Stripe Dashboard Link for a Contributor. */
@@ -253,6 +257,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
253
257
  extensionGenerateSessionToken: this.requestFunctionFactory(descriptors.extensionGenerateSessionToken),
254
258
  /** Get a Contributor. */
255
259
  extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
260
+ /** Get all open extension orders for given customer */
261
+ extensionGetCustomerExtensionInstanceOrders: this.requestFunctionFactory(descriptors.extensionGetCustomerExtensionInstanceOrders),
256
262
  /** Get the Contract Strategy of an Extension Instance */
257
263
  extensionGetExtensionInstanceContract: this.requestFunctionFactory(descriptors.extensionGetExtensionInstanceContract),
258
264
  /** Update or Create Contract for existing Extension Instances. */
@@ -263,6 +269,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
263
269
  extensionGetExtensionInstanceForProject: this.requestFunctionFactory(descriptors.extensionGetExtensionInstanceForProject),
264
270
  /** Get an Extension. */
265
271
  extensionGetExtension: this.requestFunctionFactory(descriptors.extensionGetExtension),
272
+ /** Get all open extension orders for given project */
273
+ extensionGetProjectExtensionInstanceOrders: this.requestFunctionFactory(descriptors.extensionGetProjectExtensionInstanceOrders),
266
274
  /** Get the public key to verify the webhook signature. */
267
275
  extensionGetPublicKey: this.requestFunctionFactory(descriptors.extensionGetPublicKey),
268
276
  /** Invalidate the given Extension secret immediately. */
@@ -299,6 +307,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
299
307
  customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
300
308
  /** Get the link to update the marketplace payment method */
301
309
  customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
310
+ /** Verify an Extension. */
311
+ extensionVerifyExtensionInternal: this.requestFunctionFactory(descriptors.extensionVerifyExtensionInternal),
302
312
  };
303
313
  /** The conversation API allows you to manage your support conversations. */
304
314
  conversation = {
@@ -392,10 +402,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
392
402
  deleteCustomer: this.requestFunctionFactory(descriptors.customerDeleteCustomer),
393
403
  /** Get a CustomerInvite by token. */
394
404
  getCustomerTokenInvite: this.requestFunctionFactory(descriptors.customerGetCustomerTokenInvite),
395
- /** Get your LeadFyndr request. */
396
- getLeadFyndrProfileRequest: this.requestFunctionFactory(descriptors.customerGetLeadFyndrProfileRequest),
397
- /** Get your LeadFyndr profile. */
398
- getLeadFyndrProfile: this.requestFunctionFactory(descriptors.customerGetLeadFyndrProfile),
399
405
  /** Check if the customer profile has a valid contract partner configured. */
400
406
  isCustomerLegallyCompetent: this.requestFunctionFactory(descriptors.customerIsCustomerLegallyCompetent),
401
407
  /** List CustomerInvites belonging to the executing user. */
@@ -585,8 +591,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
585
591
  migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
586
592
  /** Request a Mail Migration between two projects. */
587
593
  migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
588
- /** Request to restore a backup for a MailAddress */
589
- requestMailAddressBackup: this.requestFunctionFactory(descriptors.mailRequestMailAddressBackup),
590
594
  /** Update the description of a DeliveryBox. */
591
595
  updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
592
596
  /** Update the password of a DeliveryBox. */
@@ -619,6 +623,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
619
623
  user = {
620
624
  /** Update your account information. */
621
625
  updateAccount: this.requestFunctionFactory(descriptors.userUpdateAccount),
626
+ /** Get a PasswordPolicy. */
627
+ passwordValidationGetPasswordPolicy: this.requestFunctionFactory(descriptors.passwordValidationGetPasswordPolicy),
622
628
  /** Add phone number and start verification process. */
623
629
  addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber),
624
630
  /** Remove phone number. */
@@ -739,6 +745,33 @@ export class MittwaldAPIV2Client extends ApiClientBase {
739
745
  /** Get a File with user-friendly url. */
740
746
  getFileWithName: this.requestFunctionFactory(descriptors.fileGetFileWithName),
741
747
  };
748
+ /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
749
+ leadFyndr = {
750
+ /** Get your LeadFyndr request. */
751
+ leadfyndrGetLeadFyndrProfileRequestExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileRequestExperimental),
752
+ /** Create a new access request for LeadFyndr. */
753
+ leadfyndrCreateLeadFyndrAccessRequestExperimental: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadFyndrAccessRequestExperimental),
754
+ /** Get cities in DACH. */
755
+ leadfyndrGetCitiesExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetCitiesExperimental),
756
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
757
+ leadfyndrGetLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadExperimental),
758
+ /** Get your LeadFyndr profile. */
759
+ leadfyndrGetLeadFyndrProfileExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileExperimental),
760
+ /** Get lead tariff options. How many leads did you unlock this month? */
761
+ leadfyndrGetLeadFyndrProfileTariffOptionsExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptionsExperimental),
762
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
763
+ leadfyndrGetUnlockedLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetUnlockedLeadExperimental),
764
+ /** Unlock a lead for the given customerId. */
765
+ leadfyndrUnlockLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrUnlockLeadExperimental),
766
+ /** Get all leads. Use the unlocked routes for more lead details. */
767
+ leadfyndrListLeadsExperimental: this.requestFunctionFactory(descriptors.leadfyndrListLeadsExperimental),
768
+ /** Get all unlocked leads. Organisation can unlock leads. */
769
+ leadfyndrListUnlockedLeadsExperimental: this.requestFunctionFactory(descriptors.leadfyndrListUnlockedLeadsExperimental),
770
+ /** Reserve a unlocked lead for the given customerId. */
771
+ leadfyndrReserveUnlockedLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrReserveUnlockedLeadExperimental),
772
+ /** Removes a reservation on a unlocked lead for the given customerId. */
773
+ leadfyndrRemoveUnlockedLeadReservationExperimental: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservationExperimental),
774
+ };
742
775
  /** The page insights API allows you to get page insights information. */
743
776
  pageInsights = {
744
777
  /** Get detailed performance data for a given domain and path. */
@@ -860,6 +893,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
860
893
  };
861
894
  /** API endpoints that are not related to any specific API domain */
862
895
  misc = {
896
+ /** Check if an email is from mittwald. */
897
+ verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
863
898
  /** Check if an address exists. */
864
899
  verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
865
900
  /** Check if a company exists. */
@@ -54,7 +54,7 @@ export const appGetSystemsoftware = {
54
54
  };
55
55
  /** Get a SystemSoftwareVersion. */
56
56
  export const appGetSystemsoftwareversion = {
57
- path: "/v2/system-software/{systemSoftwareId}/versions/{systemSoftwareVersionId}",
57
+ path: "/v2/system-softwares/{systemSoftwareId}/versions/{systemSoftwareVersionId}",
58
58
  method: "GET",
59
59
  operationId: "app-get-systemsoftwareversion",
60
60
  };
@@ -102,7 +102,7 @@ export const appListSystemsoftwares = {
102
102
  };
103
103
  /** List SystemSoftwareVersions belonging to a SystemSoftware. */
104
104
  export const appListSystemsoftwareversions = {
105
- path: "/v2/system-software/{systemSoftwareId}/versions",
105
+ path: "/v2/system-softwares/{systemSoftwareId}/versions",
106
106
  method: "GET",
107
107
  operationId: "app-list-systemsoftwareversions",
108
108
  };
@@ -412,6 +412,12 @@ export const contractGetDetailOfContractByDomain = {
412
412
  method: "GET",
413
413
  operationId: "contract-get-detail-of-contract-by-domain",
414
414
  };
415
+ /** Return the Contract for the given LeadFyndrProfile. */
416
+ export const contractGetDetailOfContractByLeadFyndr = {
417
+ path: "/v2/customers/{customerId}/lead-fyndr-profile/contract",
418
+ method: "GET",
419
+ operationId: "contract-get-detail-of-contract-by-lead-fyndr",
420
+ };
415
421
  /** Return the Contract for the given Project. */
416
422
  export const contractGetDetailOfContractByProject = {
417
423
  path: "/v2/projects/{projectId}/contract",
@@ -454,6 +460,12 @@ export const contributorGetBillingInformation = {
454
460
  method: "GET",
455
461
  operationId: "contributor-get-billing-information",
456
462
  };
463
+ /** Update Contributor Billing Information. */
464
+ export const contributorUpdateBillingInformation = {
465
+ path: "/v2/contributors/{contributorId}/billing-information",
466
+ method: "PUT",
467
+ operationId: "contributor-update-billing-information",
468
+ };
457
469
  /** Get the Stripe Billing Portal Link for a Customer */
458
470
  export const contributorGetCustomerBillingPortalLink = {
459
471
  path: "/v2/customers/{customerId}/billing-portal",
@@ -742,24 +754,6 @@ export const customerGetCustomerTokenInvite = {
742
754
  method: "GET",
743
755
  operationId: "customer-get-customer-token-invite",
744
756
  };
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
- };
763
757
  /** Check if the customer profile has a valid contract partner configured. */
764
758
  export const customerIsCustomerLegallyCompetent = {
765
759
  path: "/v2/customers/{customerId}/legally-competent",
@@ -1258,6 +1252,12 @@ export const extensionGetContributor = {
1258
1252
  method: "GET",
1259
1253
  operationId: "extension-get-contributor",
1260
1254
  };
1255
+ /** Get all open extension orders for given customer */
1256
+ export const extensionGetCustomerExtensionInstanceOrders = {
1257
+ path: "/v2/customers/{customerId}/extension-orders",
1258
+ method: "GET",
1259
+ operationId: "extension-get-customer-extension-instance-orders",
1260
+ };
1261
1261
  /** Get the Contract Strategy of an Extension Instance */
1262
1262
  export const extensionGetExtensionInstanceContract = {
1263
1263
  path: "/v2/extension-instances/{extensionInstanceId}/contract",
@@ -1288,6 +1288,12 @@ export const extensionGetExtension = {
1288
1288
  method: "GET",
1289
1289
  operationId: "extension-get-extension",
1290
1290
  };
1291
+ /** Get all open extension orders for given project */
1292
+ export const extensionGetProjectExtensionInstanceOrders = {
1293
+ path: "/v2/projects/{projectId}/extension-orders",
1294
+ method: "GET",
1295
+ operationId: "extension-get-project-extension-instance-orders",
1296
+ };
1291
1297
  /** Get the public key to verify the webhook signature. */
1292
1298
  export const extensionGetPublicKey = {
1293
1299
  path: "/v2/public-keys/{serial}",
@@ -1326,7 +1332,7 @@ export const extensionRegisterExtension = {
1326
1332
  };
1327
1333
  /** List Scopes. */
1328
1334
  export const extensionListScopes = {
1329
- path: "/v2/marketplace/scopes",
1335
+ path: "/v2/scopes",
1330
1336
  method: "GET",
1331
1337
  operationId: "extension-list-scopes",
1332
1338
  };
@@ -1492,53 +1498,77 @@ export const invoiceListCustomerInvoices = {
1492
1498
  method: "GET",
1493
1499
  operationId: "invoice-list-customer-invoices",
1494
1500
  };
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",
1501
+ /** Get your LeadFyndr request. */
1502
+ export const leadfyndrGetLeadFyndrProfileRequestExperimental = {
1503
+ path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile-request",
1498
1504
  method: "GET",
1499
- operationId: "lead-finder-get-lead-tariff-options",
1505
+ operationId: "leadfyndr-get-lead-fyndr-profile-request-experimental",
1506
+ };
1507
+ /** Create a new access request for LeadFyndr. */
1508
+ export const leadfyndrCreateLeadFyndrAccessRequestExperimental = {
1509
+ path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile-request",
1510
+ method: "POST",
1511
+ operationId: "leadfyndr-create-lead-fyndr-access-request-experimental",
1512
+ };
1513
+ /** Get cities in DACH. */
1514
+ export const leadfyndrGetCitiesExperimental = {
1515
+ path: "/v2-experimental/cities",
1516
+ method: "GET",
1517
+ operationId: "leadfyndr-get-cities-experimental",
1500
1518
  };
1501
1519
  /** Get a simple lead. Use the unlocked route for more detail leads. */
1502
- export const leadFinderGetLead = {
1503
- path: "/v2/customers/{customerId}/leads/{leadId}",
1520
+ export const leadfyndrGetLeadExperimental = {
1521
+ path: "/v2-experimental/customers/{customerId}/leads/{leadId}",
1504
1522
  method: "GET",
1505
- operationId: "lead-finder-get-lead",
1523
+ operationId: "leadfyndr-get-lead-experimental",
1524
+ };
1525
+ /** Get your LeadFyndr profile. */
1526
+ export const leadfyndrGetLeadFyndrProfileExperimental = {
1527
+ path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile",
1528
+ method: "GET",
1529
+ operationId: "leadfyndr-get-lead-fyndr-profile-experimental",
1530
+ };
1531
+ /** Get lead tariff options. How many leads did you unlock this month? */
1532
+ export const leadfyndrGetLeadFyndrProfileTariffOptionsExperimental = {
1533
+ path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile/tariff",
1534
+ method: "GET",
1535
+ operationId: "leadfyndr-get-lead-fyndr-profile-tariff-options-experimental",
1506
1536
  };
1507
1537
  /** Get a detail of a unlocked lead. Organisation can unlock leads. */
1508
- export const leadFinderGetUnlockedLead = {
1509
- path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
1538
+ export const leadfyndrGetUnlockedLeadExperimental = {
1539
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}",
1510
1540
  method: "GET",
1511
- operationId: "lead-finder-get-unlocked-lead",
1541
+ operationId: "leadfyndr-get-unlocked-lead-experimental",
1512
1542
  };
1513
1543
  /** Unlock a lead for the given customerId. */
1514
- export const leadFinderUnlockLead = {
1515
- path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
1544
+ export const leadfyndrUnlockLeadExperimental = {
1545
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}",
1516
1546
  method: "POST",
1517
- operationId: "lead-finder-unlock-lead",
1547
+ operationId: "leadfyndr-unlock-lead-experimental",
1518
1548
  };
1519
1549
  /** Get all leads. Use the unlocked routes for more lead details. */
1520
- export const leadFinderListLeads = {
1521
- path: "/v2/customers/{customerId}/leads",
1550
+ export const leadfyndrListLeadsExperimental = {
1551
+ path: "/v2-experimental/customers/{customerId}/leads",
1522
1552
  method: "GET",
1523
- operationId: "lead-finder-list-leads",
1553
+ operationId: "leadfyndr-list-leads-experimental",
1524
1554
  };
1525
1555
  /** Get all unlocked leads. Organisation can unlock leads. */
1526
- export const leadFinderListUnlockedLeads = {
1527
- path: "/v2/customers/{customerId}/unlocked-leads",
1556
+ export const leadfyndrListUnlockedLeadsExperimental = {
1557
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads",
1528
1558
  method: "GET",
1529
- operationId: "lead-finder-list-unlocked-leads",
1559
+ operationId: "leadfyndr-list-unlocked-leads-experimental",
1530
1560
  };
1531
1561
  /** Reserve a unlocked lead for the given customerId. */
1532
- export const leadFinderReserveUnlockedLead = {
1533
- path: "/v2/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1562
+ export const leadfyndrReserveUnlockedLeadExperimental = {
1563
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1534
1564
  method: "POST",
1535
- operationId: "lead-finder-reserve-unlocked-lead",
1565
+ operationId: "leadfyndr-reserve-unlocked-lead-experimental",
1536
1566
  };
1537
1567
  /** Removes a reservation on a unlocked lead for the given customerId. */
1538
- export const leadFinderRemoveUnlockedLeadReservation = {
1539
- path: "/v2/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1568
+ export const leadfyndrRemoveUnlockedLeadReservationExperimental = {
1569
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1540
1570
  method: "DELETE",
1541
- operationId: "lead-finder-remove-unlocked-lead-reservation",
1571
+ operationId: "leadfyndr-remove-unlocked-lead-reservation-experimental",
1542
1572
  };
1543
1573
  /** List DeliveryBoxes belonging to a Project. */
1544
1574
  export const mailListDeliveryBoxes = {
@@ -1618,12 +1648,6 @@ export const mailMigrationRequestMailMigration = {
1618
1648
  method: "POST",
1619
1649
  operationId: "mail-migration-request-mail-migration",
1620
1650
  };
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
- };
1627
1651
  /** Update the description of a DeliveryBox. */
1628
1652
  export const mailUpdateDeliveryBoxDescription = {
1629
1653
  path: "/v2/delivery-boxes/{deliveryBoxId}/description",
@@ -1774,6 +1798,12 @@ export const pageinsightsScheduleStrace = {
1774
1798
  method: "POST",
1775
1799
  operationId: "pageinsights-schedule-strace",
1776
1800
  };
1801
+ /** Get a PasswordPolicy. */
1802
+ export const passwordValidationGetPasswordPolicy = {
1803
+ path: "/v2/password-policies/{passwordPolicy}",
1804
+ method: "GET",
1805
+ operationId: "password-validation-get-password-policy",
1806
+ };
1777
1807
  /** Accept a ProjectInvite. */
1778
1808
  export const projectAcceptProjectInvite = {
1779
1809
  path: "/v2/project-invites/{projectInviteId}/actions/accept",
@@ -2434,6 +2464,12 @@ export const userVerifyRegistration = {
2434
2464
  method: "POST",
2435
2465
  operationId: "user-verify-registration",
2436
2466
  };
2467
+ /** Check if an email is from mittwald. */
2468
+ export const verificationDetectPhishingEmail = {
2469
+ path: "/v2/actions/detect-phishing-email",
2470
+ method: "POST",
2471
+ operationId: "verification-detect-phishing-email",
2472
+ };
2437
2473
  /** Check if an address exists. */
2438
2474
  export const verificationVerifyAddress = {
2439
2475
  path: "/v2/actions/verify-address",
@@ -2446,3 +2482,9 @@ export const verificationVerifyCompany = {
2446
2482
  method: "POST",
2447
2483
  operationId: "verification-verify-company",
2448
2484
  };
2485
+ /** Verify an Extension. */
2486
+ export const extensionVerifyExtensionInternal = {
2487
+ path: "/internal-v2/contributors/{contributorId}/extensions/{extensionId}/actions/verify",
2488
+ method: "POST",
2489
+ operationId: "extension-verify-extension-internal",
2490
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.143.0';
1
+ export const MittwaldAPIClientVersion = '4.167.0';