@pipe0/client 0.0.21 → 0.0.22

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @pipe0/client
2
2
 
3
+ ## 0.0.22
4
+
5
+ ### Patch Changes
6
+
7
+ - c5db97e: Update pagination config
8
+
3
9
  ## 0.0.21
4
10
 
5
11
  ### Patch Changes
@@ -2640,9 +2640,9 @@ export interface components {
2640
2640
  };
2641
2641
  } | null;
2642
2642
  config: {
2643
- from: string;
2643
+ from?: string | null;
2644
2644
  /** @default */
2645
- reply_to?: string;
2645
+ reply_to?: string | null;
2646
2646
  input_fields?: {
2647
2647
  /**
2648
2648
  * @default {
@@ -2724,7 +2724,7 @@ export interface components {
2724
2724
  };
2725
2725
  } | null;
2726
2726
  config: {
2727
- audience_id: string;
2727
+ audience_id?: string;
2728
2728
  /** @default true */
2729
2729
  add_as_subscribed?: boolean;
2730
2730
  input_fields?: {
@@ -3395,7 +3395,7 @@ export interface components {
3395
3395
  } | null;
3396
3396
  config: {
3397
3397
  /** @default */
3398
- channel_id?: string;
3398
+ channel_id?: string | null;
3399
3399
  input_fields?: {
3400
3400
  /**
3401
3401
  * @default {
@@ -3462,7 +3462,7 @@ export interface components {
3462
3462
  } | null;
3463
3463
  config: {
3464
3464
  /** @default */
3465
- reply_to?: string;
3465
+ reply_to?: string | null;
3466
3466
  input_fields?: {
3467
3467
  /**
3468
3468
  * @default {
@@ -3897,7 +3897,7 @@ export interface components {
3897
3897
  */
3898
3898
  sitemap?: "include" | "skip" | "only" | "" | null;
3899
3899
  /** @default */
3900
- search?: string;
3900
+ search?: string | null;
3901
3901
  input_fields?: {
3902
3902
  /**
3903
3903
  * @default {
@@ -3963,7 +3963,7 @@ export interface components {
3963
3963
  };
3964
3964
  } | null;
3965
3965
  config: {
3966
- sheet: string;
3966
+ sheet?: string | null;
3967
3967
  /** @default true */
3968
3968
  run?: boolean;
3969
3969
  /** @default true */
@@ -4037,7 +4037,7 @@ export interface components {
4037
4037
  }[];
4038
4038
  /** @default true */
4039
4039
  allow_sheet_creation?: boolean;
4040
- new_sheet_team_id: string;
4040
+ new_sheet_team_id?: string | null;
4041
4041
  input_fields?: {
4042
4042
  /**
4043
4043
  * @default {
@@ -4115,7 +4115,7 @@ export interface components {
4115
4115
  };
4116
4116
  } | null;
4117
4117
  config: {
4118
- sheet: string;
4118
+ sheet?: string | null;
4119
4119
  /** @default true */
4120
4120
  run?: boolean;
4121
4121
  /** @default true */
@@ -5785,7 +5785,7 @@ export interface components {
5785
5785
  config: {
5786
5786
  /** @default 100 */
5787
5787
  limit?: number;
5788
- cursor: string;
5788
+ cursor?: string | null;
5789
5789
  output_fields?: {
5790
5790
  /**
5791
5791
  * @default {
@@ -5929,7 +5929,7 @@ export interface components {
5929
5929
  config: {
5930
5930
  /** @default 100 */
5931
5931
  limit?: number;
5932
- cursor: string;
5932
+ cursor?: string | null;
5933
5933
  output_fields?: {
5934
5934
  /**
5935
5935
  * @default {
@@ -6655,7 +6655,7 @@ export interface components {
6655
6655
  };
6656
6656
  };
6657
6657
  filters: {
6658
- company_website_url: string;
6658
+ company_website_url?: string | null;
6659
6659
  };
6660
6660
  };
6661
6661
  } | {
@@ -6773,7 +6773,7 @@ export interface components {
6773
6773
  /** @default 100 */
6774
6774
  limit?: number;
6775
6775
  /** @default */
6776
- search_id?: string;
6776
+ search_id?: string | null;
6777
6777
  offset?: number | null;
6778
6778
  output_fields?: {
6779
6779
  /**
@@ -6872,18 +6872,8 @@ export interface components {
6872
6872
  }[];
6873
6873
  } | null;
6874
6874
  config: {
6875
- /**
6876
- * @default {
6877
- * "limit": 100,
6878
- * "cursor": null
6879
- * }
6880
- */
6881
- pagination?: {
6882
- /** @default 100 */
6883
- limit?: number | null;
6884
- /** @default null */
6885
- cursor?: string | null;
6886
- };
6875
+ limit: number;
6876
+ cursor?: string | null;
6887
6877
  output_fields?: {
6888
6878
  /**
6889
6879
  * @default {
@@ -7179,18 +7169,8 @@ export interface components {
7179
7169
  }[];
7180
7170
  } | null;
7181
7171
  config: {
7182
- /**
7183
- * @default {
7184
- * "limit": 100,
7185
- * "cursor": null
7186
- * }
7187
- */
7188
- pagination?: {
7189
- /** @default 100 */
7190
- limit?: number | null;
7191
- /** @default null */
7192
- cursor?: string | null;
7193
- };
7172
+ limit: number;
7173
+ cursor?: string | null;
7194
7174
  output_fields?: {
7195
7175
  /**
7196
7176
  * @default {
@@ -7545,18 +7525,8 @@ export interface components {
7545
7525
  }[];
7546
7526
  } | null;
7547
7527
  config: {
7548
- /**
7549
- * @default {
7550
- * "limit": 100,
7551
- * "cursor": null
7552
- * }
7553
- */
7554
- pagination?: {
7555
- /** @default 100 */
7556
- limit?: number | null;
7557
- /** @default null */
7558
- cursor?: string | null;
7559
- };
7528
+ limit: number;
7529
+ cursor?: string | null;
7560
7530
  output_fields?: {
7561
7531
  /**
7562
7532
  * @default {
@@ -7852,18 +7822,8 @@ export interface components {
7852
7822
  }[];
7853
7823
  } | null;
7854
7824
  config: {
7855
- /**
7856
- * @default {
7857
- * "limit": 100,
7858
- * "cursor": null
7859
- * }
7860
- */
7861
- pagination?: {
7862
- /** @default 100 */
7863
- limit?: number | null;
7864
- /** @default null */
7865
- cursor?: string | null;
7866
- };
7825
+ limit: number;
7826
+ cursor?: string | null;
7867
7827
  output_fields?: {
7868
7828
  /**
7869
7829
  * @default {
@@ -0,0 +1,15 @@
1
+ import type { paths } from "./openapi.types.js";
2
+ export type ClientPipesRequest = paths["/v1/pipes/run"]["post"]["requestBody"]["content"]["application/json"];
3
+ export type ClientPipesPayload = ClientPipesRequest["pipes"][number];
4
+ export type ClientPipesPayloadMap = {
5
+ [K in ClientPipesPayload["pipe_id"]]: Extract<ClientPipesPayload, {
6
+ pipe_id: K;
7
+ }>;
8
+ };
9
+ export type ClientSearchRequest = paths["/v1/search/run"]["post"]["requestBody"]["content"]["application/json"];
10
+ export type ClientSearchPayload = ClientSearchRequest["search"];
11
+ export type ClientSearchPayloadMap = {
12
+ [K in ClientSearchPayload["search_id"]]: Extract<ClientSearchPayload, {
13
+ search_id: K;
14
+ }>;
15
+ };
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from "./pipe0.js";
2
+ export * from "./generated/types.js";
package/dist/index.js CHANGED
@@ -1 +1,2 @@
1
1
  export * from "./pipe0.js";
2
+ export * from "./generated/types.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipe0/client",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",