@livechat/developer-studio-api 3.1.16 → 3.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -2923,6 +2923,7 @@ declare class AdapterApiError extends ApiErrorBase<{
2923
2923
  errorMessage: string;
2924
2924
  }> {
2925
2925
  name: "adapter";
2926
+ static notFound(message?: string): AdapterApiError;
2926
2927
  }
2927
2928
  declare const platformAdapterClientInstance: axios.AxiosInstance;
2928
2929
  declare function getPlatformAdapterClientAuthorization(req: {
@@ -4059,7 +4060,7 @@ declare const api: {
4059
4060
  readonly getAccountInfo: (product: BillingProduct, authorization?: PlatformClientAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountInfoDto, any>>;
4060
4061
  };
4061
4062
  invoices: {
4062
- readonly getInvoices: (authorization?: PlatformClientAuthorization | undefined) => Promise<axios.AxiosResponse<{
4063
+ readonly getInvoices: (product: BillingProduct, authorization?: PlatformClientAuthorization | undefined) => Promise<axios.AxiosResponse<{
4063
4064
  result: BillingInvoiceDto[];
4064
4065
  }, any>>;
4065
4066
  readonly downloadInvoices: (number: number, authorization?: PlatformClientAuthorization | undefined) => Promise<void>;
package/dist/index.d.ts CHANGED
@@ -2923,6 +2923,7 @@ declare class AdapterApiError extends ApiErrorBase<{
2923
2923
  errorMessage: string;
2924
2924
  }> {
2925
2925
  name: "adapter";
2926
+ static notFound(message?: string): AdapterApiError;
2926
2927
  }
2927
2928
  declare const platformAdapterClientInstance: axios.AxiosInstance;
2928
2929
  declare function getPlatformAdapterClientAuthorization(req: {
@@ -4059,7 +4060,7 @@ declare const api: {
4059
4060
  readonly getAccountInfo: (product: BillingProduct, authorization?: PlatformClientAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountInfoDto, any>>;
4060
4061
  };
4061
4062
  invoices: {
4062
- readonly getInvoices: (authorization?: PlatformClientAuthorization | undefined) => Promise<axios.AxiosResponse<{
4063
+ readonly getInvoices: (product: BillingProduct, authorization?: PlatformClientAuthorization | undefined) => Promise<axios.AxiosResponse<{
4063
4064
  result: BillingInvoiceDto[];
4064
4065
  }, any>>;
4065
4066
  readonly downloadInvoices: (number: number, authorization?: PlatformClientAuthorization | undefined) => Promise<void>;