@lokalise/harmony 1.12.0 → 1.12.2

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.
@@ -10,8 +10,8 @@ export declare const listProjectsKey: {
10
10
  project_type?: "localization_files" | "paged_documents" | "marketing" | undefined;
11
11
  filter_team_id?: number | undefined;
12
12
  filter_names?: string | undefined;
13
- include_statistics?: boolean | undefined;
14
- include_settings?: boolean | undefined;
13
+ include_statistics?: 0 | 1 | undefined;
14
+ include_settings?: 0 | 1 | undefined;
15
15
  limit?: number | undefined;
16
16
  }];
17
17
  };
@@ -805,8 +805,8 @@ export declare const listProjects: import('@lokalise/universal-ts-utils/node').G
805
805
  project_type: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodLiteral<"localization_files">, import('zod').ZodLiteral<"paged_documents">, import('zod').ZodLiteral<"marketing">]>>;
806
806
  filter_team_id: import('zod').ZodOptional<import('zod').ZodNumber>;
807
807
  filter_names: import('zod').ZodOptional<import('zod').ZodString>;
808
- include_statistics: import('zod').ZodOptional<import('zod').ZodBoolean>;
809
- include_settings: import('zod').ZodOptional<import('zod').ZodBoolean>;
808
+ include_statistics: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodLiteral<0>, import('zod').ZodLiteral<1>]>>;
809
+ include_settings: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodLiteral<0>, import('zod').ZodLiteral<1>]>>;
810
810
  limit: import('zod').ZodOptional<import('zod').ZodNumber>;
811
811
  page: import('zod').ZodOptional<import('zod').ZodNumber>;
812
812
  }, "strip", import('zod').ZodTypeAny, {
@@ -814,16 +814,16 @@ export declare const listProjects: import('@lokalise/universal-ts-utils/node').G
814
814
  project_type?: "localization_files" | "paged_documents" | "marketing" | undefined;
815
815
  filter_team_id?: number | undefined;
816
816
  filter_names?: string | undefined;
817
- include_statistics?: boolean | undefined;
818
- include_settings?: boolean | undefined;
817
+ include_statistics?: 0 | 1 | undefined;
818
+ include_settings?: 0 | 1 | undefined;
819
819
  limit?: number | undefined;
820
820
  }, {
821
821
  page?: number | undefined;
822
822
  project_type?: "localization_files" | "paged_documents" | "marketing" | undefined;
823
823
  filter_team_id?: number | undefined;
824
824
  filter_names?: string | undefined;
825
- include_statistics?: boolean | undefined;
826
- include_settings?: boolean | undefined;
825
+ include_statistics?: 0 | 1 | undefined;
826
+ include_settings?: 0 | 1 | undefined;
827
827
  limit?: number | undefined;
828
828
  }>, undefined, false, false>;
829
829
  /**
@@ -562,8 +562,8 @@ export declare const LIST_PROJECTS_REQUEST_QUERY_SCHEMA: z.ZodObject<{
562
562
  project_type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"localization_files">, z.ZodLiteral<"paged_documents">, z.ZodLiteral<"marketing">]>>;
563
563
  filter_team_id: z.ZodOptional<z.ZodNumber>;
564
564
  filter_names: z.ZodOptional<z.ZodString>;
565
- include_statistics: z.ZodOptional<z.ZodBoolean>;
566
- include_settings: z.ZodOptional<z.ZodBoolean>;
565
+ include_statistics: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
566
+ include_settings: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
567
567
  limit: z.ZodOptional<z.ZodNumber>;
568
568
  page: z.ZodOptional<z.ZodNumber>;
569
569
  }, "strip", z.ZodTypeAny, {
@@ -571,16 +571,16 @@ export declare const LIST_PROJECTS_REQUEST_QUERY_SCHEMA: z.ZodObject<{
571
571
  project_type?: "localization_files" | "paged_documents" | "marketing" | undefined;
572
572
  filter_team_id?: number | undefined;
573
573
  filter_names?: string | undefined;
574
- include_statistics?: boolean | undefined;
575
- include_settings?: boolean | undefined;
574
+ include_statistics?: 0 | 1 | undefined;
575
+ include_settings?: 0 | 1 | undefined;
576
576
  limit?: number | undefined;
577
577
  }, {
578
578
  page?: number | undefined;
579
579
  project_type?: "localization_files" | "paged_documents" | "marketing" | undefined;
580
580
  filter_team_id?: number | undefined;
581
581
  filter_names?: string | undefined;
582
- include_statistics?: boolean | undefined;
583
- include_settings?: boolean | undefined;
582
+ include_statistics?: 0 | 1 | undefined;
583
+ include_settings?: 0 | 1 | undefined;
584
584
  limit?: number | undefined;
585
585
  }>;
586
586
  export type ListProjectsRequestQuery = z.infer<typeof LIST_PROJECTS_REQUEST_QUERY_SCHEMA>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/harmony",
3
- "version": "1.12.0",
3
+ "version": "1.12.2",
4
4
  "author": {
5
5
  "name": "Lokalise",
6
6
  "url": "https://lokalise.com/"