@mittwald/api-client 4.147.1 → 4.149.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,
@@ -388,6 +404,8 @@ export class MittwaldAPIV2ClientReact {
388
404
  marketplace;
389
405
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
390
406
  file;
407
+ /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
408
+ leadFyndr;
391
409
  /** The mail API allows you to manage your mail accounts. */
392
410
  mail;
393
411
  /** The notification API allows you to manage your notifications. */
@@ -415,6 +433,7 @@ export class MittwaldAPIV2ClientReact {
415
433
  this.domain = buildDomainApi(baseClient);
416
434
  this.marketplace = buildMarketplaceApi(baseClient);
417
435
  this.file = buildFileApi(baseClient);
436
+ this.leadFyndr = buildLeadFyndrApi(baseClient);
418
437
  this.mail = buildMailApi(baseClient);
419
438
  this.notification = buildNotificationApi(baseClient);
420
439
  this.pageInsights = buildPageInsightsApi(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. */
@@ -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",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.147.0';
1
+ export const MittwaldAPIClientVersion = '4.148.0';
@@ -1847,6 +1847,170 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1847
1847
  } | undefined;
1848
1848
  }) => import("@mittwald/react-use-promise").AsyncResource<string>;
1849
1849
  };
1850
+ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
1851
+ /** Get your LeadFyndr request. */
1852
+ leadfyndrGetLeadFyndrProfileRequestExperimental: (conf: {
1853
+ customerId: string;
1854
+ headers?: {
1855
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1856
+ } | undefined;
1857
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1858
+ createdOn: string;
1859
+ customerId: string;
1860
+ domain: string;
1861
+ profileId: string;
1862
+ requestedBy: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrUser;
1863
+ resultOn?: string | undefined;
1864
+ status: "AUTOTEST_INIT" | "MANUAL_VERIFICATION" | "REJECTED" | "APPROVED";
1865
+ }>;
1866
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
1867
+ leadfyndrGetLeadExperimental: (conf: {
1868
+ leadId: string;
1869
+ customerId: string;
1870
+ headers?: {
1871
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1872
+ } | undefined;
1873
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1874
+ businessFields: string[];
1875
+ company: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrBasicCompany;
1876
+ description: string;
1877
+ globalUnlockedCount: number;
1878
+ hoster: {
1879
+ server: string[];
1880
+ };
1881
+ leadId: string;
1882
+ mainTechnology?: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrTechnology | undefined;
1883
+ metrics: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrBasicMetrics;
1884
+ potential: number;
1885
+ scannedAt?: string | undefined;
1886
+ screenshot: string;
1887
+ technologies: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrTechnology[];
1888
+ }>;
1889
+ /** Get your LeadFyndr profile. */
1890
+ leadfyndrGetLeadFyndrProfileExperimental: (conf: {
1891
+ customerId: string;
1892
+ headers?: {
1893
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1894
+ } | undefined;
1895
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1896
+ approvedOn: string;
1897
+ customerId: string;
1898
+ disabledOn?: string | undefined;
1899
+ domain: string;
1900
+ tariff: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrTariffOptions;
1901
+ }>;
1902
+ /** Get lead tariff options. How many leads did you unlock this month? */
1903
+ leadfyndrGetLeadFyndrProfileTariffOptionsExperimental: (conf: {
1904
+ customerId: string;
1905
+ headers?: {
1906
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1907
+ } | undefined;
1908
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1909
+ reservation: {
1910
+ available: number;
1911
+ tariffLimit: number;
1912
+ used: number;
1913
+ };
1914
+ unlocked: {
1915
+ available: number;
1916
+ tariffLimit: number;
1917
+ used: number;
1918
+ };
1919
+ }>;
1920
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
1921
+ leadfyndrGetUnlockedLeadExperimental: (conf: {
1922
+ leadId: string;
1923
+ customerId: string;
1924
+ headers?: {
1925
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1926
+ } | undefined;
1927
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1928
+ businessFields: string[];
1929
+ company: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrDetailCompany;
1930
+ contact: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrContact;
1931
+ description: string;
1932
+ domain: string;
1933
+ globalUnlockedCount: number;
1934
+ hoster: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrHoster;
1935
+ leadId: string;
1936
+ mainTechnology?: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrTechnology | undefined;
1937
+ metrics: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrDetailMetrics;
1938
+ potential: number;
1939
+ reservedAt?: string | undefined;
1940
+ scannedAt?: string | undefined;
1941
+ screenshot: string;
1942
+ socialMedia: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrSocialMedia[];
1943
+ technologies: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrTechnology[];
1944
+ unlockedAt: string;
1945
+ }>;
1946
+ /** Get all leads. Use the unlocked routes for more lead details. */
1947
+ leadfyndrListLeadsExperimental: (conf: {
1948
+ customerId: string;
1949
+ headers?: {
1950
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1951
+ } | undefined;
1952
+ queryParameters?: {
1953
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1954
+ potentialRangeMin?: number | undefined;
1955
+ potentialRangeMax?: number | undefined;
1956
+ employeeCountMin?: number | undefined;
1957
+ employeeCountMax?: number | undefined;
1958
+ salesVolumeMin?: number | undefined;
1959
+ salesVolumeMax?: number | undefined;
1960
+ technologies?: string[] | undefined;
1961
+ "basic:timeToFirstByteMs:min"?: number | undefined;
1962
+ "basic:timeToFirstByteMs:max"?: number | undefined;
1963
+ "basic:desktop:performance:min"?: number | undefined;
1964
+ "basic:desktop:performance:max"?: number | undefined;
1965
+ "basic:mobile:performance:min"?: number | undefined;
1966
+ "basic:mobile:performance:max"?: number | undefined;
1967
+ limit?: number | undefined;
1968
+ skip?: number | undefined;
1969
+ page?: number | undefined;
1970
+ sort?: ("potential" | "company.salesVolume" | "company.employeeCount" | "basic:desktop:performance" | "basic:mobile:performance" | "basic:desktop:seo" | "basic:mobile:seo")[] | undefined;
1971
+ order?: ("asc" | "desc")[] | undefined;
1972
+ } | undefined;
1973
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1974
+ leads: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLead[];
1975
+ limit: number;
1976
+ skip: number;
1977
+ totalCount: number;
1978
+ }>;
1979
+ /** Get all unlocked leads. Organisation can unlock leads. */
1980
+ leadfyndrListUnlockedLeadsExperimental: (conf: {
1981
+ customerId: string;
1982
+ headers?: {
1983
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1984
+ } | undefined;
1985
+ queryParameters?: {
1986
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1987
+ potentialRangeMin?: number | undefined;
1988
+ potentialRangeMax?: number | undefined;
1989
+ employeeCountMin?: number | undefined;
1990
+ employeeCountMax?: number | undefined;
1991
+ salesVolumeMin?: number | undefined;
1992
+ salesVolumeMax?: number | undefined;
1993
+ technologies?: string[] | undefined;
1994
+ "basic:timeToFirstByteMs:min"?: number | undefined;
1995
+ "basic:timeToFirstByteMs:max"?: number | undefined;
1996
+ "basic:desktop:performance:min"?: number | undefined;
1997
+ "basic:desktop:performance:max"?: number | undefined;
1998
+ "basic:mobile:performance:min"?: number | undefined;
1999
+ "basic:mobile:performance:max"?: number | undefined;
2000
+ reserved?: boolean | undefined;
2001
+ limit?: number | undefined;
2002
+ skip?: number | undefined;
2003
+ page?: number | undefined;
2004
+ sort?: ("potential" | "company.salesVolume" | "company.employeeCount" | "basic:desktop:performance" | "basic:mobile:performance" | "basic:desktop:seo" | "basic:mobile:seo")[] | undefined;
2005
+ order?: ("asc" | "desc")[] | undefined;
2006
+ } | undefined;
2007
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2008
+ leads: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrUnlockedLead[];
2009
+ limit: number;
2010
+ skip: number;
2011
+ totalCount: number;
2012
+ }>;
2013
+ };
1850
2014
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1851
2015
  /** List DeliveryBoxes belonging to a Project. */
1852
2016
  listDeliveryBoxes: (conf: {
@@ -2742,6 +2906,8 @@ export declare class MittwaldAPIV2ClientReact {
2742
2906
  readonly marketplace: ReturnType<typeof buildMarketplaceApi>;
2743
2907
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
2744
2908
  readonly file: ReturnType<typeof buildFileApi>;
2909
+ /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
2910
+ readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
2745
2911
  /** The mail API allows you to manage your mail accounts. */
2746
2912
  readonly mail: ReturnType<typeof buildMailApi>;
2747
2913
  /** The notification API allows you to manage your notifications. */