@pipe0/client 0.0.21 → 0.0.23

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,17 @@
1
1
  # @pipe0/client
2
2
 
3
+ ## 0.0.23
4
+
5
+ ### Patch Changes
6
+
7
+ - dcad351: Change pipe0 ai options
8
+
9
+ ## 0.0.22
10
+
11
+ ### Patch Changes
12
+
13
+ - c5db97e: Update pagination config
14
+
3
15
  ## 0.0.21
4
16
 
5
17
  ### Patch Changes
@@ -1099,8 +1099,11 @@ export interface components {
1099
1099
  };
1100
1100
  };
1101
1101
  };
1102
- /** @enum {string|null} */
1103
- model?: "gemini-flash-latest" | "openai-gpt-latest" | "openai-gpt-mini-latest" | "" | null;
1102
+ /**
1103
+ * @default gemini-flash-latest
1104
+ * @enum {string}
1105
+ */
1106
+ model?: "gemini-flash-latest" | "openai-gpt-latest" | "openai-gpt-mini-latest";
1104
1107
  };
1105
1108
  } | {
1106
1109
  /** @enum {string} */
@@ -2380,8 +2383,11 @@ export interface components {
2380
2383
  } | null;
2381
2384
  config: {
2382
2385
  template: string;
2383
- /** @enum {string|null} */
2384
- model?: "gemini-flash-latest" | "openai-gpt-latest" | "openai-gpt-mini-latest" | "" | null;
2386
+ /**
2387
+ * @default gemini-flash-latest
2388
+ * @enum {string}
2389
+ */
2390
+ model?: "gemini-flash-latest" | "openai-gpt-latest" | "openai-gpt-mini-latest";
2385
2391
  signature: string;
2386
2392
  /** @enum {string|null} */
2387
2393
  persona?: "sales" | "human_resources" | "customer_success" | "" | null;
@@ -2640,9 +2646,9 @@ export interface components {
2640
2646
  };
2641
2647
  } | null;
2642
2648
  config: {
2643
- from: string;
2649
+ from?: string | null;
2644
2650
  /** @default */
2645
- reply_to?: string;
2651
+ reply_to?: string | null;
2646
2652
  input_fields?: {
2647
2653
  /**
2648
2654
  * @default {
@@ -2724,7 +2730,7 @@ export interface components {
2724
2730
  };
2725
2731
  } | null;
2726
2732
  config: {
2727
- audience_id: string;
2733
+ audience_id?: string;
2728
2734
  /** @default true */
2729
2735
  add_as_subscribed?: boolean;
2730
2736
  input_fields?: {
@@ -3395,7 +3401,7 @@ export interface components {
3395
3401
  } | null;
3396
3402
  config: {
3397
3403
  /** @default */
3398
- channel_id?: string;
3404
+ channel_id?: string | null;
3399
3405
  input_fields?: {
3400
3406
  /**
3401
3407
  * @default {
@@ -3462,7 +3468,7 @@ export interface components {
3462
3468
  } | null;
3463
3469
  config: {
3464
3470
  /** @default */
3465
- reply_to?: string;
3471
+ reply_to?: string | null;
3466
3472
  input_fields?: {
3467
3473
  /**
3468
3474
  * @default {
@@ -3545,8 +3551,11 @@ export interface components {
3545
3551
  } | null;
3546
3552
  config: {
3547
3553
  template: string;
3548
- /** @enum {string|null} */
3549
- model?: "gemini-flash-latest" | "openai-gpt-latest" | "openai-gpt-mini-latest" | "" | null;
3554
+ /**
3555
+ * @default gemini-flash-latest
3556
+ * @enum {string}
3557
+ */
3558
+ model?: "gemini-flash-latest" | "openai-gpt-latest" | "openai-gpt-mini-latest";
3550
3559
  output_fields?: {
3551
3560
  /**
3552
3561
  * @default {
@@ -3897,7 +3906,7 @@ export interface components {
3897
3906
  */
3898
3907
  sitemap?: "include" | "skip" | "only" | "" | null;
3899
3908
  /** @default */
3900
- search?: string;
3909
+ search?: string | null;
3901
3910
  input_fields?: {
3902
3911
  /**
3903
3912
  * @default {
@@ -3963,7 +3972,7 @@ export interface components {
3963
3972
  };
3964
3973
  } | null;
3965
3974
  config: {
3966
- sheet: string;
3975
+ sheet?: string | null;
3967
3976
  /** @default true */
3968
3977
  run?: boolean;
3969
3978
  /** @default true */
@@ -4037,7 +4046,7 @@ export interface components {
4037
4046
  }[];
4038
4047
  /** @default true */
4039
4048
  allow_sheet_creation?: boolean;
4040
- new_sheet_team_id: string;
4049
+ new_sheet_team_id?: string | null;
4041
4050
  input_fields?: {
4042
4051
  /**
4043
4052
  * @default {
@@ -4115,7 +4124,7 @@ export interface components {
4115
4124
  };
4116
4125
  } | null;
4117
4126
  config: {
4118
- sheet: string;
4127
+ sheet?: string | null;
4119
4128
  /** @default true */
4120
4129
  run?: boolean;
4121
4130
  /** @default true */
@@ -5785,7 +5794,7 @@ export interface components {
5785
5794
  config: {
5786
5795
  /** @default 100 */
5787
5796
  limit?: number;
5788
- cursor: string;
5797
+ cursor?: string | null;
5789
5798
  output_fields?: {
5790
5799
  /**
5791
5800
  * @default {
@@ -5929,7 +5938,7 @@ export interface components {
5929
5938
  config: {
5930
5939
  /** @default 100 */
5931
5940
  limit?: number;
5932
- cursor: string;
5941
+ cursor?: string | null;
5933
5942
  output_fields?: {
5934
5943
  /**
5935
5944
  * @default {
@@ -6655,7 +6664,7 @@ export interface components {
6655
6664
  };
6656
6665
  };
6657
6666
  filters: {
6658
- company_website_url: string;
6667
+ company_website_url?: string | null;
6659
6668
  };
6660
6669
  };
6661
6670
  } | {
@@ -6773,7 +6782,7 @@ export interface components {
6773
6782
  /** @default 100 */
6774
6783
  limit?: number;
6775
6784
  /** @default */
6776
- search_id?: string;
6785
+ search_id?: string | null;
6777
6786
  offset?: number | null;
6778
6787
  output_fields?: {
6779
6788
  /**
@@ -6872,18 +6881,8 @@ export interface components {
6872
6881
  }[];
6873
6882
  } | null;
6874
6883
  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
- };
6884
+ limit: number;
6885
+ cursor?: string | null;
6887
6886
  output_fields?: {
6888
6887
  /**
6889
6888
  * @default {
@@ -7179,18 +7178,8 @@ export interface components {
7179
7178
  }[];
7180
7179
  } | null;
7181
7180
  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
- };
7181
+ limit: number;
7182
+ cursor?: string | null;
7194
7183
  output_fields?: {
7195
7184
  /**
7196
7185
  * @default {
@@ -7545,18 +7534,8 @@ export interface components {
7545
7534
  }[];
7546
7535
  } | null;
7547
7536
  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
- };
7537
+ limit: number;
7538
+ cursor?: string | null;
7560
7539
  output_fields?: {
7561
7540
  /**
7562
7541
  * @default {
@@ -7852,18 +7831,8 @@ export interface components {
7852
7831
  }[];
7853
7832
  } | null;
7854
7833
  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
- };
7834
+ limit: number;
7835
+ cursor?: string | null;
7867
7836
  output_fields?: {
7868
7837
  /**
7869
7838
  * @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.23",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",