@mittwald/api-client 4.234.0 → 4.235.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.
@@ -292,6 +292,8 @@ const buildLeadFyndrApi = (baseClient) => ({
292
292
  leadfyndrListLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListLeads, baseClient.leadFyndr.leadfyndrListLeads).getApiResource,
293
293
  /** Get all unlocked leads. Organisation can unlock leads. */
294
294
  leadfyndrListUnlockedLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeads, baseClient.leadFyndr.leadfyndrListUnlockedLeads).getApiResource,
295
+ /** Get unlocked leads export history for the given customerId. */
296
+ leadfyndrGetLeadsExportHistory: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadsExportHistory, baseClient.leadFyndr.leadfyndrGetLeadsExportHistory).getApiResource,
295
297
  });
296
298
  const buildMailApi = (baseClient) => ({
297
299
  /** List DeliveryBoxes belonging to a Project. */
@@ -779,6 +779,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
779
779
  leadfyndrReserveUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrReserveUnlockedLead),
780
780
  /** Removes a reservation on a unlocked lead for the given customerId. */
781
781
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
782
+ /** Get unlocked leads export history for the given customerId. */
783
+ leadfyndrGetLeadsExportHistory: this.requestFunctionFactory(descriptors.leadfyndrGetLeadsExportHistory),
784
+ /** Create an export of unlocked leads for the given customerId. */
785
+ leadfyndrCreateLeadsExport: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadsExport),
782
786
  };
783
787
  /** API endpoints that are not related to any specific API domain */
784
788
  misc = {
@@ -2548,3 +2548,15 @@ export const verificationVerifyCompany = {
2548
2548
  method: "POST",
2549
2549
  operationId: "verification-verify-company",
2550
2550
  };
2551
+ /** Get unlocked leads export history for the given customerId. */
2552
+ export const leadfyndrGetLeadsExportHistory = {
2553
+ path: "/v2/customers/{customerId}/unlocked-leads-exports",
2554
+ method: "GET",
2555
+ operationId: "leadfyndr-get-leads-export-history",
2556
+ };
2557
+ /** Create an export of unlocked leads for the given customerId. */
2558
+ export const leadfyndrCreateLeadsExport = {
2559
+ path: "/v2/customers/{customerId}/unlocked-leads-export",
2560
+ method: "POST",
2561
+ operationId: "leadfyndr-create-leads-export",
2562
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.233.0';
1
+ export const MittwaldAPIClientVersion = '4.234.0';
@@ -732,6 +732,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
732
732
  paymentSettings?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
733
733
  pdfId: string;
734
734
  recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
735
+ reissuedBy?: string | undefined;
735
736
  status: "NEW" | "CONFIRMED" | "DENIED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID";
736
737
  totalGross: number;
737
738
  totalNet: number;
@@ -1590,6 +1591,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1590
1591
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1591
1592
  limit?: number | undefined;
1592
1593
  skip?: number | undefined;
1594
+ page?: number | undefined;
1593
1595
  } | undefined;
1594
1596
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
1595
1597
  /** List CustomerMemberships belonging to the executing user. */
@@ -1602,6 +1604,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1602
1604
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1603
1605
  limit?: number | undefined;
1604
1606
  skip?: number | undefined;
1607
+ page?: number | undefined;
1605
1608
  hasExpiry?: boolean | undefined;
1606
1609
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
1607
1610
  } | undefined;
@@ -2286,6 +2289,21 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
2286
2289
  skip: number;
2287
2290
  totalCount: number;
2288
2291
  }>;
2292
+ /** Get unlocked leads export history for the given customerId. */
2293
+ leadfyndrGetLeadsExportHistory: (conf: {
2294
+ customerId: string;
2295
+ headers?: {
2296
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2297
+ } | undefined;
2298
+ queryParameters?: {
2299
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2300
+ limit?: number | undefined;
2301
+ skip?: number | undefined;
2302
+ page?: number | undefined;
2303
+ sort?: "exportedAt" | undefined;
2304
+ order?: "asc" | "desc" | undefined;
2305
+ } | undefined;
2306
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[]>;
2289
2307
  };
2290
2308
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2291
2309
  /** List DeliveryBoxes belonging to a Project. */
@@ -2950,6 +2968,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2950
2968
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2951
2969
  limit?: number | undefined;
2952
2970
  skip?: number | undefined;
2971
+ page?: number | undefined;
2953
2972
  } | undefined;
2954
2973
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
2955
2974
  /** List ProjectMemberships belonging to the executing user. */
@@ -2962,6 +2981,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2962
2981
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2963
2982
  limit?: number | undefined;
2964
2983
  skip?: number | undefined;
2984
+ page?: number | undefined;
2965
2985
  hasExpiry?: boolean | undefined;
2966
2986
  isInherited?: boolean | undefined;
2967
2987
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
@@ -5178,6 +5178,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5178
5178
  paymentSettings?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
5179
5179
  pdfId: string;
5180
5180
  recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
5181
+ reissuedBy?: string | undefined;
5181
5182
  status: "NEW" | "CONFIRMED" | "DENIED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID";
5182
5183
  totalGross: number;
5183
5184
  totalNet: number;
@@ -5220,6 +5221,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5220
5221
  paymentSettings?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
5221
5222
  pdfId: string;
5222
5223
  recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
5224
+ reissuedBy?: string | undefined;
5223
5225
  status: "NEW" | "CONFIRMED" | "DENIED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID";
5224
5226
  totalGross: number;
5225
5227
  totalNet: number;
@@ -12994,6 +12996,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12994
12996
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12995
12997
  limit?: number | undefined;
12996
12998
  skip?: number | undefined;
12999
+ page?: number | undefined;
12997
13000
  } | undefined;
12998
13001
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12999
13002
  headers?: Partial<{
@@ -13003,6 +13006,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13003
13006
  queryParameters: {
13004
13007
  limit?: number | undefined;
13005
13008
  skip?: number | undefined;
13009
+ page?: number | undefined;
13006
13010
  } & Partial<{
13007
13011
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13008
13012
  }>;
@@ -13026,6 +13030,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13026
13030
  queryParameters: {
13027
13031
  limit?: number | undefined;
13028
13032
  skip?: number | undefined;
13033
+ page?: number | undefined;
13029
13034
  } & Partial<{
13030
13035
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13031
13036
  }>;
@@ -13052,6 +13057,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13052
13057
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13053
13058
  limit?: number | undefined;
13054
13059
  skip?: number | undefined;
13060
+ page?: number | undefined;
13055
13061
  hasExpiry?: boolean | undefined;
13056
13062
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
13057
13063
  } | undefined;
@@ -13063,6 +13069,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13063
13069
  queryParameters: {
13064
13070
  limit?: number | undefined;
13065
13071
  skip?: number | undefined;
13072
+ page?: number | undefined;
13066
13073
  hasExpiry?: boolean | undefined;
13067
13074
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
13068
13075
  } & Partial<{
@@ -13088,6 +13095,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13088
13095
  queryParameters: {
13089
13096
  limit?: number | undefined;
13090
13097
  skip?: number | undefined;
13098
+ page?: number | undefined;
13091
13099
  hasExpiry?: boolean | undefined;
13092
13100
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
13093
13101
  } & Partial<{
@@ -23535,6 +23543,136 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
23535
23543
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
23536
23544
  [x: string]: unknown;
23537
23545
  }, 429, "application/json">>>;
23546
+ /** Get unlocked leads export history for the given customerId. */
23547
+ leadfyndrGetLeadsExportHistory: (request: {
23548
+ customerId: string;
23549
+ headers?: {
23550
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23551
+ } | undefined;
23552
+ queryParameters?: {
23553
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23554
+ limit?: number | undefined;
23555
+ skip?: number | undefined;
23556
+ page?: number | undefined;
23557
+ sort?: "exportedAt" | undefined;
23558
+ order?: "asc" | "desc" | undefined;
23559
+ } | undefined;
23560
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
23561
+ headers?: Partial<{
23562
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23563
+ }>;
23564
+ } & {
23565
+ pathParameters: {
23566
+ customerId: string;
23567
+ };
23568
+ } & {
23569
+ queryParameters: {
23570
+ limit?: number | undefined;
23571
+ skip?: number | undefined;
23572
+ page?: number | undefined;
23573
+ sort?: "exportedAt" | undefined;
23574
+ order?: "asc" | "desc" | undefined;
23575
+ } & Partial<{
23576
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23577
+ }>;
23578
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23579
+ [x: string]: unknown;
23580
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
23581
+ [x: string]: unknown;
23582
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
23583
+ [x: string]: unknown;
23584
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
23585
+ [x: string]: unknown;
23586
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
23587
+ headers?: Partial<{
23588
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23589
+ }>;
23590
+ } & {
23591
+ pathParameters: {
23592
+ customerId: string;
23593
+ };
23594
+ } & {
23595
+ queryParameters: {
23596
+ limit?: number | undefined;
23597
+ skip?: number | undefined;
23598
+ page?: number | undefined;
23599
+ sort?: "exportedAt" | undefined;
23600
+ order?: "asc" | "desc" | undefined;
23601
+ } & Partial<{
23602
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23603
+ }>;
23604
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23605
+ [x: string]: unknown;
23606
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
23607
+ [x: string]: unknown;
23608
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
23609
+ [x: string]: unknown;
23610
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
23611
+ [x: string]: unknown;
23612
+ }, 429, "application/json">>>;
23613
+ /** Create an export of unlocked leads for the given customerId. */
23614
+ leadfyndrCreateLeadsExport: (request: {
23615
+ data: {
23616
+ exportAllLeads: boolean;
23617
+ fieldKeys: ("domain" | "potential" | "performance" | "generalLook" | "companyName" | "emails" | "phoneNumbers" | "address" | "employeeCount" | "revenue" | "a-record" | "nameserver" | "mailserver" | "techStack")[];
23618
+ };
23619
+ customerId: string;
23620
+ headers?: {
23621
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23622
+ } | undefined;
23623
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
23624
+ data: {
23625
+ exportAllLeads: boolean;
23626
+ fieldKeys: ("domain" | "potential" | "performance" | "generalLook" | "companyName" | "emails" | "phoneNumbers" | "address" | "employeeCount" | "revenue" | "a-record" | "nameserver" | "mailserver" | "techStack")[];
23627
+ };
23628
+ } & {
23629
+ pathParameters: {
23630
+ customerId: string;
23631
+ };
23632
+ } & {
23633
+ headers?: Partial<{
23634
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23635
+ }>;
23636
+ }, import("@mittwald/api-client-commons").Response<{
23637
+ contentBase64: string;
23638
+ exportId: string;
23639
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<string, 200, "text/csv"> | import("@mittwald/api-client-commons").Response<{
23640
+ [x: string]: unknown;
23641
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
23642
+ [x: string]: unknown;
23643
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
23644
+ [x: string]: unknown;
23645
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
23646
+ [x: string]: unknown;
23647
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
23648
+ [x: string]: unknown;
23649
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
23650
+ data: {
23651
+ exportAllLeads: boolean;
23652
+ fieldKeys: ("domain" | "potential" | "performance" | "generalLook" | "companyName" | "emails" | "phoneNumbers" | "address" | "employeeCount" | "revenue" | "a-record" | "nameserver" | "mailserver" | "techStack")[];
23653
+ };
23654
+ } & {
23655
+ pathParameters: {
23656
+ customerId: string;
23657
+ };
23658
+ } & {
23659
+ headers?: Partial<{
23660
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23661
+ }>;
23662
+ }, import("@mittwald/api-client-commons").Response<{
23663
+ contentBase64: string;
23664
+ exportId: string;
23665
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<string, 200, "text/csv"> | import("@mittwald/api-client-commons").Response<{
23666
+ [x: string]: unknown;
23667
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
23668
+ [x: string]: unknown;
23669
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
23670
+ [x: string]: unknown;
23671
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
23672
+ [x: string]: unknown;
23673
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
23674
+ [x: string]: unknown;
23675
+ }, 429, "application/json">>>;
23538
23676
  };
23539
23677
  /** API endpoints that are not related to any specific API domain */
23540
23678
  readonly misc: {
@@ -25611,6 +25749,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25611
25749
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25612
25750
  limit?: number | undefined;
25613
25751
  skip?: number | undefined;
25752
+ page?: number | undefined;
25614
25753
  } | undefined;
25615
25754
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25616
25755
  headers?: Partial<{
@@ -25620,6 +25759,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25620
25759
  queryParameters: {
25621
25760
  limit?: number | undefined;
25622
25761
  skip?: number | undefined;
25762
+ page?: number | undefined;
25623
25763
  } & Partial<{
25624
25764
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25625
25765
  }>;
@@ -25643,6 +25783,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25643
25783
  queryParameters: {
25644
25784
  limit?: number | undefined;
25645
25785
  skip?: number | undefined;
25786
+ page?: number | undefined;
25646
25787
  } & Partial<{
25647
25788
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25648
25789
  }>;
@@ -25669,6 +25810,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25669
25810
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25670
25811
  limit?: number | undefined;
25671
25812
  skip?: number | undefined;
25813
+ page?: number | undefined;
25672
25814
  hasExpiry?: boolean | undefined;
25673
25815
  isInherited?: boolean | undefined;
25674
25816
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
@@ -25681,6 +25823,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25681
25823
  queryParameters: {
25682
25824
  limit?: number | undefined;
25683
25825
  skip?: number | undefined;
25826
+ page?: number | undefined;
25684
25827
  hasExpiry?: boolean | undefined;
25685
25828
  isInherited?: boolean | undefined;
25686
25829
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
@@ -25707,6 +25850,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25707
25850
  queryParameters: {
25708
25851
  limit?: number | undefined;
25709
25852
  skip?: number | undefined;
25853
+ page?: number | undefined;
25710
25854
  hasExpiry?: boolean | undefined;
25711
25855
  isInherited?: boolean | undefined;
25712
25856
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
@@ -853,3 +853,7 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
853
853
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
854
854
  /** Check if a company exists. */
855
855
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
856
+ /** Get unlocked leads export history for the given customerId. */
857
+ export declare const leadfyndrGetLeadsExportHistory: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
858
+ /** Create an export of unlocked leads for the given customerId. */
859
+ export declare const leadfyndrCreateLeadsExport: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$200.Content.TextCsv>, 200, "text/csv"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1702,6 +1702,14 @@ export declare namespace MittwaldAPIV2 {
1702
1702
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1703
1703
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1704
1704
  }
1705
+ namespace LeadfyndrGetLeadsExportHistory {
1706
+ type RequestData = InferredRequestData<typeof descriptors.leadfyndrGetLeadsExportHistory>;
1707
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.leadfyndrGetLeadsExportHistory, TStatus>;
1708
+ }
1709
+ namespace LeadfyndrCreateLeadsExport {
1710
+ type RequestData = InferredRequestData<typeof descriptors.leadfyndrCreateLeadsExport>;
1711
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.leadfyndrCreateLeadsExport, TStatus>;
1712
+ }
1705
1713
  }
1706
1714
  namespace Components {
1707
1715
  namespace Schemas {
@@ -1985,7 +1993,7 @@ export declare namespace MittwaldAPIV2 {
1985
1993
  downloadURL?: string;
1986
1994
  expiresAt?: string;
1987
1995
  format: string;
1988
- phase?: "" | "Pending" | "Exporting" | "Failed" | "Completed" | "Expired";
1996
+ phase?: "Pending" | "Exporting" | "Failed" | "Completed" | "Expired";
1989
1997
  sha256Checksum?: string;
1990
1998
  withPassword: boolean;
1991
1999
  }
@@ -3743,7 +3751,7 @@ export declare namespace MittwaldAPIV2 {
3743
3751
  amountPaid: number;
3744
3752
  cancellation?: MittwaldAPIV2.Components.Schemas.InvoiceCancellation;
3745
3753
  /**
3746
- * The ID of the invoice that this invoice cancels.
3754
+ * The ID of the Invoice that this invoice cancels.
3747
3755
  */
3748
3756
  cancellationOf?: string;
3749
3757
  currency: string;
@@ -3760,6 +3768,10 @@ export declare namespace MittwaldAPIV2 {
3760
3768
  paymentSettings?: MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings;
3761
3769
  pdfId: string;
3762
3770
  recipient: MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
3771
+ /**
3772
+ * The ID of the Invoice that is a Reissue of this one.
3773
+ */
3774
+ reissuedBy?: string;
3763
3775
  status: "NEW" | "CONFIRMED" | "DENIED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID";
3764
3776
  totalGross: number;
3765
3777
  totalNet: number;
@@ -5324,6 +5336,24 @@ export declare namespace MittwaldAPIV2 {
5324
5336
  }
5325
5337
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5326
5338
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5339
+ interface LeadfyndrLeadsExport {
5340
+ customerId: string;
5341
+ exportId: string;
5342
+ exportedAt: string;
5343
+ exportedBy?: MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExportExporter;
5344
+ /**
5345
+ * The number of leads included in the export.
5346
+ */
5347
+ leadCount: number;
5348
+ }
5349
+ interface LeadfyndrLeadsExportExporter {
5350
+ avatarRefId?: string;
5351
+ person?: {
5352
+ firstName: string;
5353
+ lastName: string;
5354
+ };
5355
+ userId: string;
5356
+ }
5327
5357
  interface CommonsAddress {
5328
5358
  street: string;
5329
5359
  houseNumber: string;
@@ -12281,6 +12311,7 @@ export declare namespace MittwaldAPIV2 {
12281
12311
  type Query = {
12282
12312
  limit?: number;
12283
12313
  skip?: number;
12314
+ page?: number;
12284
12315
  };
12285
12316
  }
12286
12317
  namespace Responses {
@@ -12328,6 +12359,7 @@ export declare namespace MittwaldAPIV2 {
12328
12359
  type Query = {
12329
12360
  limit?: number;
12330
12361
  skip?: number;
12362
+ page?: number;
12331
12363
  hasExpiry?: boolean;
12332
12364
  role?: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
12333
12365
  };
@@ -22802,6 +22834,7 @@ export declare namespace MittwaldAPIV2 {
22802
22834
  type Query = {
22803
22835
  limit?: number;
22804
22836
  skip?: number;
22837
+ page?: number;
22805
22838
  };
22806
22839
  }
22807
22840
  namespace Responses {
@@ -22849,6 +22882,7 @@ export declare namespace MittwaldAPIV2 {
22849
22882
  type Query = {
22850
22883
  limit?: number;
22851
22884
  skip?: number;
22885
+ page?: number;
22852
22886
  hasExpiry?: boolean;
22853
22887
  isInherited?: boolean;
22854
22888
  role?: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
@@ -26974,5 +27008,148 @@ export declare namespace MittwaldAPIV2 {
26974
27008
  }
26975
27009
  }
26976
27010
  }
27011
+ namespace ExperimentalV2CustomersCustomerIdUnlockedLeadsExports { }
27012
+ namespace V2ExperimentalCustomersCustomerIdUnlockedLeadsExports { }
27013
+ namespace V2CustomersCustomerIdUnlockedLeadsExports {
27014
+ namespace Get {
27015
+ namespace Parameters {
27016
+ type Path = {
27017
+ customerId: string;
27018
+ };
27019
+ type Header = {};
27020
+ type Query = {
27021
+ limit?: number;
27022
+ skip?: number;
27023
+ page?: number;
27024
+ sort?: "exportedAt";
27025
+ order?: "asc" | "desc";
27026
+ };
27027
+ }
27028
+ namespace Responses {
27029
+ namespace $200 {
27030
+ namespace Content {
27031
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.LeadfyndrLeadsExport[];
27032
+ }
27033
+ }
27034
+ namespace $400 {
27035
+ namespace Content {
27036
+ interface ApplicationJson {
27037
+ [k: string]: unknown;
27038
+ }
27039
+ }
27040
+ }
27041
+ namespace $403 {
27042
+ namespace Content {
27043
+ interface ApplicationJson {
27044
+ [k: string]: unknown;
27045
+ }
27046
+ }
27047
+ }
27048
+ namespace $404 {
27049
+ namespace Content {
27050
+ interface ApplicationJson {
27051
+ [k: string]: unknown;
27052
+ }
27053
+ }
27054
+ }
27055
+ namespace $429 {
27056
+ namespace Content {
27057
+ interface ApplicationJson {
27058
+ [k: string]: unknown;
27059
+ }
27060
+ }
27061
+ }
27062
+ namespace Default {
27063
+ namespace Content {
27064
+ interface ApplicationJson {
27065
+ [k: string]: unknown;
27066
+ }
27067
+ }
27068
+ }
27069
+ }
27070
+ }
27071
+ }
27072
+ namespace ExperimentalV2CustomersCustomerIdUnlockedLeadsExport { }
27073
+ namespace V2ExperimentalCustomersCustomerIdUnlockedLeadsExport { }
27074
+ namespace V2CustomersCustomerIdUnlockedLeadsExport {
27075
+ namespace Post {
27076
+ namespace Parameters {
27077
+ type Path = {
27078
+ customerId: string;
27079
+ };
27080
+ interface RequestBody {
27081
+ /**
27082
+ * Whether to export all leads or only not already exported leads.
27083
+ */
27084
+ exportAllLeads: boolean;
27085
+ /**
27086
+ * The fields to include in the export.
27087
+ */
27088
+ fieldKeys: ("domain" | "potential" | "performance" | "generalLook" | "companyName" | "emails" | "phoneNumbers" | "address" | "employeeCount" | "revenue" | "a-record" | "nameserver" | "mailserver" | "techStack")[];
27089
+ }
27090
+ type Header = {};
27091
+ type Query = {};
27092
+ }
27093
+ namespace Responses {
27094
+ namespace $200 {
27095
+ namespace Content {
27096
+ interface ApplicationJson {
27097
+ /**
27098
+ * The base64 encoded csv content of the export.
27099
+ */
27100
+ contentBase64: string;
27101
+ exportId: string;
27102
+ }
27103
+ /**
27104
+ * The csv content of the export.
27105
+ */
27106
+ type TextCsv = string;
27107
+ }
27108
+ }
27109
+ namespace $400 {
27110
+ namespace Content {
27111
+ interface ApplicationJson {
27112
+ [k: string]: unknown;
27113
+ }
27114
+ }
27115
+ }
27116
+ namespace $403 {
27117
+ namespace Content {
27118
+ interface ApplicationJson {
27119
+ [k: string]: unknown;
27120
+ }
27121
+ }
27122
+ }
27123
+ namespace $404 {
27124
+ namespace Content {
27125
+ interface ApplicationJson {
27126
+ [k: string]: unknown;
27127
+ }
27128
+ }
27129
+ }
27130
+ namespace $409 {
27131
+ namespace Content {
27132
+ interface ApplicationJson {
27133
+ [k: string]: unknown;
27134
+ }
27135
+ }
27136
+ }
27137
+ namespace $429 {
27138
+ namespace Content {
27139
+ interface ApplicationJson {
27140
+ [k: string]: unknown;
27141
+ }
27142
+ }
27143
+ }
27144
+ namespace Default {
27145
+ namespace Content {
27146
+ interface ApplicationJson {
27147
+ [k: string]: unknown;
27148
+ }
27149
+ }
27150
+ }
27151
+ }
27152
+ }
27153
+ }
26977
27154
  }
26978
27155
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.233.0';
1
+ export declare const MittwaldAPIClientVersion = '4.234.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.234.0",
3
+ "version": "4.235.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "8bb1ce2ae4e40d214b579699ca5b34efd113409e"
83
+ "gitHead": "eadd93adc5353e7b754b400916fcc593bf60c92d"
84
84
  }