@pipe0/client 0.0.20 → 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,17 @@
1
1
  # @pipe0/client
2
2
 
3
+ ## 0.0.22
4
+
5
+ ### Patch Changes
6
+
7
+ - c5db97e: Update pagination config
8
+
9
+ ## 0.0.21
10
+
11
+ ### Patch Changes
12
+
13
+ - bbad26a: Pipe config update
14
+
3
15
  ## 0.0.20
4
16
 
5
17
  ### 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 {
@@ -7396,26 +7376,19 @@ export interface components {
7396
7376
  to?: number | null;
7397
7377
  };
7398
7378
  number_of_followers?: ("1-500" | "501-1000" | "1001-5000" | "5001-10000" | "10001-30000" | "30000+")[];
7399
- /**
7400
- * @default {
7401
- * "include": [],
7402
- * "exclude": []
7403
- * }
7404
- */
7405
- follower_growth_last_6m_in_percent?: {
7379
+ follower_growth_last_6m_in_percent?: ("0-10%" | "10-20%" | "20-50%" | "50-70%" | "70%+")[];
7380
+ profile_summary_keywords: {
7406
7381
  /** @default [] */
7407
7382
  include?: string[];
7408
7383
  /** @default [] */
7409
7384
  exclude?: string[];
7410
7385
  };
7411
- profile_summary_keywords: {
7386
+ competitor_websites: {
7412
7387
  /** @default [] */
7413
7388
  include?: string[];
7414
7389
  /** @default [] */
7415
7390
  exclude?: string[];
7416
7391
  };
7417
- /** @default [] */
7418
- competitor_websites?: string[];
7419
7392
  };
7420
7393
  };
7421
7394
  } | null;
@@ -7552,18 +7525,8 @@ export interface components {
7552
7525
  }[];
7553
7526
  } | null;
7554
7527
  config: {
7555
- /**
7556
- * @default {
7557
- * "limit": 100,
7558
- * "cursor": null
7559
- * }
7560
- */
7561
- pagination?: {
7562
- /** @default 100 */
7563
- limit?: number | null;
7564
- /** @default null */
7565
- cursor?: string | null;
7566
- };
7528
+ limit: number;
7529
+ cursor?: string | null;
7567
7530
  output_fields?: {
7568
7531
  /**
7569
7532
  * @default {
@@ -7859,18 +7822,8 @@ export interface components {
7859
7822
  }[];
7860
7823
  } | null;
7861
7824
  config: {
7862
- /**
7863
- * @default {
7864
- * "limit": 100,
7865
- * "cursor": null
7866
- * }
7867
- */
7868
- pagination?: {
7869
- /** @default 100 */
7870
- limit?: number | null;
7871
- /** @default null */
7872
- cursor?: string | null;
7873
- };
7825
+ limit: number;
7826
+ cursor?: string | null;
7874
7827
  output_fields?: {
7875
7828
  /**
7876
7829
  * @default {
@@ -8076,26 +8029,19 @@ export interface components {
8076
8029
  to?: number | null;
8077
8030
  };
8078
8031
  number_of_followers?: ("1-500" | "501-1000" | "1001-5000" | "5001-10000" | "10001-30000" | "30000+")[];
8079
- /**
8080
- * @default {
8081
- * "include": [],
8082
- * "exclude": []
8083
- * }
8084
- */
8085
- follower_growth_last_6m_in_percent?: {
8032
+ follower_growth_last_6m_in_percent?: ("0-10%" | "10-20%" | "20-50%" | "50-70%" | "70%+")[];
8033
+ profile_summary_keywords: {
8086
8034
  /** @default [] */
8087
8035
  include?: string[];
8088
8036
  /** @default [] */
8089
8037
  exclude?: string[];
8090
8038
  };
8091
- profile_summary_keywords: {
8039
+ competitor_websites: {
8092
8040
  /** @default [] */
8093
8041
  include?: string[];
8094
8042
  /** @default [] */
8095
8043
  exclude?: string[];
8096
8044
  };
8097
- /** @default [] */
8098
- competitor_websites?: string[];
8099
8045
  };
8100
8046
  };
8101
8047
  });
@@ -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.20",
3
+ "version": "0.0.22",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",