@mittwald/api-client 4.148.0 → 4.150.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.
@@ -249,6 +249,22 @@ const buildFileApi = (baseClient) => ({
249
249
  /** Get a File with user-friendly url. */
250
250
  getFileWithName: new ApiCallAsyncResourceFactory(descriptors.fileGetFileWithName, baseClient.file.getFileWithName).getApiResource,
251
251
  });
252
+ const buildLeadFyndrApi = (baseClient) => ({
253
+ /** Get your LeadFyndr request. */
254
+ leadfyndrGetLeadFyndrProfileRequestExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileRequestExperimental, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileRequestExperimental).getApiResource,
255
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
256
+ leadfyndrGetLeadExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadExperimental, baseClient.leadFyndr.leadfyndrGetLeadExperimental).getApiResource,
257
+ /** Get your LeadFyndr profile. */
258
+ leadfyndrGetLeadFyndrProfileExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileExperimental, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileExperimental).getApiResource,
259
+ /** Get lead tariff options. How many leads did you unlock this month? */
260
+ leadfyndrGetLeadFyndrProfileTariffOptionsExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptionsExperimental, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileTariffOptionsExperimental).getApiResource,
261
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
262
+ leadfyndrGetUnlockedLeadExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetUnlockedLeadExperimental, baseClient.leadFyndr.leadfyndrGetUnlockedLeadExperimental).getApiResource,
263
+ /** Get all leads. Use the unlocked routes for more lead details. */
264
+ leadfyndrListLeadsExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListLeadsExperimental, baseClient.leadFyndr.leadfyndrListLeadsExperimental).getApiResource,
265
+ /** Get all unlocked leads. Organisation can unlock leads. */
266
+ leadfyndrListUnlockedLeadsExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeadsExperimental, baseClient.leadFyndr.leadfyndrListUnlockedLeadsExperimental).getApiResource,
267
+ });
252
268
  const buildMailApi = (baseClient) => ({
253
269
  /** List DeliveryBoxes belonging to a Project. */
254
270
  listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
@@ -363,22 +379,6 @@ const buildSshsftpUserApi = (baseClient) => ({
363
379
  /** Get an SSHUser. */
364
380
  sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
365
381
  });
366
- const buildLeadFyndrApi = (baseClient) => ({
367
- /** Get a simple lead. Use the unlocked route for more detail leads. */
368
- leadfyndrGetLeadExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadExperimental, baseClient.leadFyndr.leadfyndrGetLeadExperimental).getApiResource,
369
- /** Get all leads. Use the unlocked routes for more lead details. */
370
- leadfyndrListLeadsExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListLeadsExperimental, baseClient.leadFyndr.leadfyndrListLeadsExperimental).getApiResource,
371
- /** Get a detail of a unlocked lead. Organisation can unlock leads. */
372
- leadfyndrGetUnlockedLeadExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetUnlockedLeadExperimental, baseClient.leadFyndr.leadfyndrGetUnlockedLeadExperimental).getApiResource,
373
- /** Get all unlocked leads. Organisation can unlock leads. */
374
- leadfyndrListUnlockedLeadsExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeadsExperimental, baseClient.leadFyndr.leadfyndrListUnlockedLeadsExperimental).getApiResource,
375
- /** Get lead tariff options. How many leads did you unlock this month? */
376
- leadfyndrGetLeadFyndrProfileTariffOptionsExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptionsExperimental, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileTariffOptionsExperimental).getApiResource,
377
- /** Get your LeadFyndr profile. */
378
- leadfyndrGetLeadFyndrProfileExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileExperimental, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileExperimental).getApiResource,
379
- /** Get your LeadFyndr request. */
380
- leadfyndrGetLeadFyndrProfileRequestExperimental: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileRequestExperimental, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileRequestExperimental).getApiResource,
381
- });
382
382
  export class MittwaldAPIV2ClientReact {
383
383
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
384
384
  app;
@@ -404,6 +404,8 @@ export class MittwaldAPIV2ClientReact {
404
404
  marketplace;
405
405
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
406
406
  file;
407
+ /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
408
+ leadFyndr;
407
409
  /** The mail API allows you to manage your mail accounts. */
408
410
  mail;
409
411
  /** The notification API allows you to manage your notifications. */
@@ -418,8 +420,6 @@ export class MittwaldAPIV2ClientReact {
418
420
  projectFileSystem;
419
421
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
420
422
  sshsftpUser;
421
- /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
422
- leadFyndr;
423
423
  constructor(baseClient) {
424
424
  this.app = buildAppApi(baseClient);
425
425
  this.article = buildArticleApi(baseClient);
@@ -433,6 +433,7 @@ export class MittwaldAPIV2ClientReact {
433
433
  this.domain = buildDomainApi(baseClient);
434
434
  this.marketplace = buildMarketplaceApi(baseClient);
435
435
  this.file = buildFileApi(baseClient);
436
+ this.leadFyndr = buildLeadFyndrApi(baseClient);
436
437
  this.mail = buildMailApi(baseClient);
437
438
  this.notification = buildNotificationApi(baseClient);
438
439
  this.pageInsights = buildPageInsightsApi(baseClient);
@@ -440,7 +441,6 @@ export class MittwaldAPIV2ClientReact {
440
441
  this.project = buildProjectApi(baseClient);
441
442
  this.projectFileSystem = buildProjectFileSystemApi(baseClient);
442
443
  this.sshsftpUser = buildSshsftpUserApi(baseClient);
443
- this.leadFyndr = buildLeadFyndrApi(baseClient);
444
444
  }
445
445
  static fromBaseClient(baseClient) {
446
446
  return new MittwaldAPIV2ClientReact(baseClient);
@@ -693,6 +693,31 @@ export class MittwaldAPIV2Client extends ApiClientBase {
693
693
  /** Get a File with user-friendly url. */
694
694
  getFileWithName: this.requestFunctionFactory(descriptors.fileGetFileWithName),
695
695
  };
696
+ /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
697
+ leadFyndr = {
698
+ /** Get your LeadFyndr request. */
699
+ leadfyndrGetLeadFyndrProfileRequestExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileRequestExperimental),
700
+ /** Create a new access request for LeadFyndr. */
701
+ leadfyndrCreateLeadFyndrAccessRequestExperimental: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadFyndrAccessRequestExperimental),
702
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
703
+ leadfyndrGetLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadExperimental),
704
+ /** Get your LeadFyndr profile. */
705
+ leadfyndrGetLeadFyndrProfileExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileExperimental),
706
+ /** Get lead tariff options. How many leads did you unlock this month? */
707
+ leadfyndrGetLeadFyndrProfileTariffOptionsExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptionsExperimental),
708
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
709
+ leadfyndrGetUnlockedLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetUnlockedLeadExperimental),
710
+ /** Unlock a lead for the given customerId. */
711
+ leadfyndrUnlockLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrUnlockLeadExperimental),
712
+ /** Get all leads. Use the unlocked routes for more lead details. */
713
+ leadfyndrListLeadsExperimental: this.requestFunctionFactory(descriptors.leadfyndrListLeadsExperimental),
714
+ /** Get all unlocked leads. Organisation can unlock leads. */
715
+ leadfyndrListUnlockedLeadsExperimental: this.requestFunctionFactory(descriptors.leadfyndrListUnlockedLeadsExperimental),
716
+ /** Reserve a unlocked lead for the given customerId. */
717
+ leadfyndrReserveUnlockedLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrReserveUnlockedLeadExperimental),
718
+ /** Removes a reservation on a unlocked lead for the given customerId. */
719
+ leadfyndrRemoveUnlockedLeadReservationExperimental: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservationExperimental),
720
+ };
696
721
  /** The page insights API allows you to get page insights information. */
697
722
  pageInsights = {
698
723
  /** Get detailed performance data for a given domain and path. */
@@ -821,30 +846,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
821
846
  /** Update an SSHUser. */
822
847
  sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
823
848
  };
824
- /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
825
- leadFyndr = {
826
- /** Reserve a unlocked lead for the given customerId. */
827
- leadfyndrReserveUnlockedLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrReserveUnlockedLeadExperimental),
828
- /** Removes a reservation on a unlocked lead for the given customerId. */
829
- leadfyndrRemoveUnlockedLeadReservationExperimental: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservationExperimental),
830
- /** Get a simple lead. Use the unlocked route for more detail leads. */
831
- leadfyndrGetLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadExperimental),
832
- /** Get all leads. Use the unlocked routes for more lead details. */
833
- leadfyndrListLeadsExperimental: this.requestFunctionFactory(descriptors.leadfyndrListLeadsExperimental),
834
- /** Get a detail of a unlocked lead. Organisation can unlock leads. */
835
- leadfyndrGetUnlockedLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetUnlockedLeadExperimental),
836
- /** Unlock a lead for the given customerId. */
837
- leadfyndrUnlockLeadExperimental: this.requestFunctionFactory(descriptors.leadfyndrUnlockLeadExperimental),
838
- /** Get all unlocked leads. Organisation can unlock leads. */
839
- leadfyndrListUnlockedLeadsExperimental: this.requestFunctionFactory(descriptors.leadfyndrListUnlockedLeadsExperimental),
840
- /** Get lead tariff options. How many leads did you unlock this month? */
841
- leadfyndrGetLeadFyndrProfileTariffOptionsExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptionsExperimental),
842
- /** Get your LeadFyndr profile. */
843
- leadfyndrGetLeadFyndrProfileExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileExperimental),
844
- /** Get your LeadFyndr request. */
845
- leadfyndrGetLeadFyndrProfileRequestExperimental: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileRequestExperimental),
846
- /** Create a new access request for LeadFyndr. */
847
- leadfyndrCreateLeadFyndrAccessRequestExperimental: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadFyndrAccessRequestExperimental),
848
- };
849
849
  }
850
850
  export default MittwaldAPIV2Client;
@@ -1390,6 +1390,72 @@ export const invoiceListCustomerInvoices = {
1390
1390
  method: "GET",
1391
1391
  operationId: "invoice-list-customer-invoices",
1392
1392
  };
1393
+ /** Get your LeadFyndr request. */
1394
+ export const leadfyndrGetLeadFyndrProfileRequestExperimental = {
1395
+ path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile-request",
1396
+ method: "GET",
1397
+ operationId: "leadfyndr-get-lead-fyndr-profile-request-experimental",
1398
+ };
1399
+ /** Create a new access request for LeadFyndr. */
1400
+ export const leadfyndrCreateLeadFyndrAccessRequestExperimental = {
1401
+ path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile-request",
1402
+ method: "POST",
1403
+ operationId: "leadfyndr-create-lead-fyndr-access-request-experimental",
1404
+ };
1405
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
1406
+ export const leadfyndrGetLeadExperimental = {
1407
+ path: "/v2-experimental/customers/{customerId}/leads/{leadId}",
1408
+ method: "GET",
1409
+ operationId: "leadfyndr-get-lead-experimental",
1410
+ };
1411
+ /** Get your LeadFyndr profile. */
1412
+ export const leadfyndrGetLeadFyndrProfileExperimental = {
1413
+ path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile",
1414
+ method: "GET",
1415
+ operationId: "leadfyndr-get-lead-fyndr-profile-experimental",
1416
+ };
1417
+ /** Get lead tariff options. How many leads did you unlock this month? */
1418
+ export const leadfyndrGetLeadFyndrProfileTariffOptionsExperimental = {
1419
+ path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile/tariff",
1420
+ method: "GET",
1421
+ operationId: "leadfyndr-get-lead-fyndr-profile-tariff-options-experimental",
1422
+ };
1423
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
1424
+ export const leadfyndrGetUnlockedLeadExperimental = {
1425
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}",
1426
+ method: "GET",
1427
+ operationId: "leadfyndr-get-unlocked-lead-experimental",
1428
+ };
1429
+ /** Unlock a lead for the given customerId. */
1430
+ export const leadfyndrUnlockLeadExperimental = {
1431
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}",
1432
+ method: "POST",
1433
+ operationId: "leadfyndr-unlock-lead-experimental",
1434
+ };
1435
+ /** Get all leads. Use the unlocked routes for more lead details. */
1436
+ export const leadfyndrListLeadsExperimental = {
1437
+ path: "/v2-experimental/customers/{customerId}/leads",
1438
+ method: "GET",
1439
+ operationId: "leadfyndr-list-leads-experimental",
1440
+ };
1441
+ /** Get all unlocked leads. Organisation can unlock leads. */
1442
+ export const leadfyndrListUnlockedLeadsExperimental = {
1443
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads",
1444
+ method: "GET",
1445
+ operationId: "leadfyndr-list-unlocked-leads-experimental",
1446
+ };
1447
+ /** Reserve a unlocked lead for the given customerId. */
1448
+ export const leadfyndrReserveUnlockedLeadExperimental = {
1449
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1450
+ method: "POST",
1451
+ operationId: "leadfyndr-reserve-unlocked-lead-experimental",
1452
+ };
1453
+ /** Removes a reservation on a unlocked lead for the given customerId. */
1454
+ export const leadfyndrRemoveUnlockedLeadReservationExperimental = {
1455
+ path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1456
+ method: "DELETE",
1457
+ operationId: "leadfyndr-remove-unlocked-lead-reservation-experimental",
1458
+ };
1393
1459
  /** List DeliveryBoxes belonging to a Project. */
1394
1460
  export const mailListDeliveryBoxes = {
1395
1461
  path: "/v2/projects/{projectId}/delivery-boxes",
@@ -2260,69 +2326,3 @@ export const verificationVerifyCompany = {
2260
2326
  method: "POST",
2261
2327
  operationId: "verification-verify-company",
2262
2328
  };
2263
- /** Reserve a unlocked lead for the given customerId. */
2264
- export const leadfyndrReserveUnlockedLeadExperimental = {
2265
- path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}/reservation",
2266
- method: "POST",
2267
- operationId: "leadfyndr-reserve-unlocked-lead-experimental",
2268
- };
2269
- /** Removes a reservation on a unlocked lead for the given customerId. */
2270
- export const leadfyndrRemoveUnlockedLeadReservationExperimental = {
2271
- path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}/reservation",
2272
- method: "DELETE",
2273
- operationId: "leadfyndr-remove-unlocked-lead-reservation-experimental",
2274
- };
2275
- /** Get a simple lead. Use the unlocked route for more detail leads. */
2276
- export const leadfyndrGetLeadExperimental = {
2277
- path: "/v2-experimental/customers/{customerId}/leads/{leadId}",
2278
- method: "GET",
2279
- operationId: "leadfyndr-get-lead-experimental",
2280
- };
2281
- /** Get all leads. Use the unlocked routes for more lead details. */
2282
- export const leadfyndrListLeadsExperimental = {
2283
- path: "/v2-experimental/customers/{customerId}/leads",
2284
- method: "GET",
2285
- operationId: "leadfyndr-list-leads-experimental",
2286
- };
2287
- /** Get a detail of a unlocked lead. Organisation can unlock leads. */
2288
- export const leadfyndrGetUnlockedLeadExperimental = {
2289
- path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}",
2290
- method: "GET",
2291
- operationId: "leadfyndr-get-unlocked-lead-experimental",
2292
- };
2293
- /** Unlock a lead for the given customerId. */
2294
- export const leadfyndrUnlockLeadExperimental = {
2295
- path: "/v2-experimental/customers/{customerId}/unlocked-leads/{leadId}",
2296
- method: "POST",
2297
- operationId: "leadfyndr-unlock-lead-experimental",
2298
- };
2299
- /** Get all unlocked leads. Organisation can unlock leads. */
2300
- export const leadfyndrListUnlockedLeadsExperimental = {
2301
- path: "/v2-experimental/customers/{customerId}/unlocked-leads",
2302
- method: "GET",
2303
- operationId: "leadfyndr-list-unlocked-leads-experimental",
2304
- };
2305
- /** Get lead tariff options. How many leads did you unlock this month? */
2306
- export const leadfyndrGetLeadFyndrProfileTariffOptionsExperimental = {
2307
- path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile/tariff",
2308
- method: "GET",
2309
- operationId: "leadfyndr-get-lead-fyndr-profile-tariff-options-experimental",
2310
- };
2311
- /** Get your LeadFyndr profile. */
2312
- export const leadfyndrGetLeadFyndrProfileExperimental = {
2313
- path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile",
2314
- method: "GET",
2315
- operationId: "leadfyndr-get-lead-fyndr-profile-experimental",
2316
- };
2317
- /** Get your LeadFyndr request. */
2318
- export const leadfyndrGetLeadFyndrProfileRequestExperimental = {
2319
- path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile-request",
2320
- method: "GET",
2321
- operationId: "leadfyndr-get-lead-fyndr-profile-request-experimental",
2322
- };
2323
- /** Create a new access request for LeadFyndr. */
2324
- export const leadfyndrCreateLeadFyndrAccessRequestExperimental = {
2325
- path: "/v2-experimental/customers/{customerId}/lead-fyndr-profile-request",
2326
- method: "POST",
2327
- operationId: "leadfyndr-create-lead-fyndr-access-request-experimental",
2328
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.147.1';
1
+ export const MittwaldAPIClientVersion = '4.149.0';