@pipe2-ai/sdk 0.3.0 → 2026.7.0

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.
@@ -3595,6 +3595,29 @@ export type GetPipelinesQuery = {
3595
3595
  cancellable: boolean;
3596
3596
  }>;
3597
3597
  };
3598
+ export type GetPipelinesListQueryVariables = Exact<{
3599
+ limit?: InputMaybe<Scalars['Int']['input']>;
3600
+ offset?: InputMaybe<Scalars['Int']['input']>;
3601
+ }>;
3602
+ export type GetPipelinesListQuery = {
3603
+ __typename?: 'query_root';
3604
+ pipelines: Array<{
3605
+ __typename?: 'pipelines';
3606
+ id: any;
3607
+ slug: string;
3608
+ name: string;
3609
+ description?: string | null;
3610
+ category: string;
3611
+ icon_url?: string | null;
3612
+ preview_url?: string | null;
3613
+ providers: Array<string>;
3614
+ models: Array<string>;
3615
+ tags: Array<string>;
3616
+ hints: any;
3617
+ pricing: any;
3618
+ cancellable: boolean;
3619
+ }>;
3620
+ };
3598
3621
  export type GetPipelinesPricingQueryVariables = Exact<{
3599
3622
  slugs: Array<Scalars['String']['input']> | Scalars['String']['input'];
3600
3623
  }>;
@@ -3664,6 +3687,7 @@ export type GetPipelineRunQuery = {
3664
3687
  output_schema: any;
3665
3688
  input_schema: any;
3666
3689
  ui_schema: any;
3690
+ cancellable: boolean;
3667
3691
  };
3668
3692
  assets: Array<{
3669
3693
  __typename?: 'assets';
@@ -3705,6 +3729,7 @@ export type GetPipelineRunsQuery = {
3705
3729
  output_schema: any;
3706
3730
  input_schema: any;
3707
3731
  ui_schema: any;
3732
+ cancellable: boolean;
3708
3733
  };
3709
3734
  workflow_execution?: {
3710
3735
  __typename?: 'executions_visibility';
@@ -3756,6 +3781,7 @@ export type GetPipelineRunsBySlugQuery = {
3756
3781
  output_schema: any;
3757
3782
  input_schema: any;
3758
3783
  ui_schema: any;
3784
+ cancellable: boolean;
3759
3785
  };
3760
3786
  assets: Array<{
3761
3787
  __typename?: 'assets';
@@ -3793,6 +3819,7 @@ export type GetActivePipelineRunsQuery = {
3793
3819
  __typename?: 'pipelines';
3794
3820
  name: string;
3795
3821
  slug: string;
3822
+ cancellable: boolean;
3796
3823
  };
3797
3824
  }>;
3798
3825
  active_count: {
@@ -3900,6 +3927,7 @@ export type WatchPipelineRunSubscription = {
3900
3927
  output_schema: any;
3901
3928
  input_schema: any;
3902
3929
  ui_schema: any;
3930
+ cancellable: boolean;
3903
3931
  };
3904
3932
  assets: Array<{
3905
3933
  __typename?: 'assets';
@@ -4039,6 +4067,7 @@ export declare const GetNotificationsDocument: DocumentNode;
4039
4067
  export declare const MarkNotificationReadDocument: DocumentNode;
4040
4068
  export declare const MarkAllNotificationsReadDocument: DocumentNode;
4041
4069
  export declare const GetPipelinesDocument: DocumentNode;
4070
+ export declare const GetPipelinesListDocument: DocumentNode;
4042
4071
  export declare const GetPipelinesPricingDocument: DocumentNode;
4043
4072
  export declare const EstimatePipelineCostDocument: DocumentNode;
4044
4073
  export declare const RunPipelineDocument: DocumentNode;
@@ -4098,6 +4127,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
4098
4127
  MarkNotificationRead(variables: MarkNotificationReadMutationVariables, options?: C): Promise<MarkNotificationReadMutation>;
4099
4128
  MarkAllNotificationsRead(variables?: MarkAllNotificationsReadMutationVariables, options?: C): Promise<MarkAllNotificationsReadMutation>;
4100
4129
  GetPipelines(variables?: GetPipelinesQueryVariables, options?: C): Promise<GetPipelinesQuery>;
4130
+ GetPipelinesList(variables?: GetPipelinesListQueryVariables, options?: C): Promise<GetPipelinesListQuery>;
4101
4131
  GetPipelinesPricing(variables: GetPipelinesPricingQueryVariables, options?: C): Promise<GetPipelinesPricingQuery>;
4102
4132
  EstimatePipelineCost(variables: EstimatePipelineCostQueryVariables, options?: C): Promise<EstimatePipelineCostQuery>;
4103
4133
  RunPipeline(variables: RunPipelineMutationVariables, options?: C): Promise<RunPipelineMutation>;
@@ -745,6 +745,30 @@ export const GetPipelinesDocument = gql `
745
745
  }
746
746
  }
747
747
  `;
748
+ export const GetPipelinesListDocument = gql `
749
+ query GetPipelinesList($limit: Int = 20, $offset: Int = 0) {
750
+ pipelines(
751
+ where: {is_active: {_eq: true}}
752
+ order_by: {sort_order: asc}
753
+ limit: $limit
754
+ offset: $offset
755
+ ) {
756
+ id
757
+ slug
758
+ name
759
+ description
760
+ category
761
+ icon_url
762
+ preview_url
763
+ providers
764
+ models
765
+ tags
766
+ hints
767
+ pricing
768
+ cancellable
769
+ }
770
+ }
771
+ `;
748
772
  export const GetPipelinesPricingDocument = gql `
749
773
  query GetPipelinesPricing($slugs: [String!]!) {
750
774
  pipelines(where: {slug: {_in: $slugs}}) {
@@ -795,6 +819,7 @@ export const GetPipelineRunDocument = gql `
795
819
  output_schema
796
820
  input_schema
797
821
  ui_schema
822
+ cancellable
798
823
  }
799
824
  assets {
800
825
  id
@@ -826,6 +851,7 @@ export const GetPipelineRunsDocument = gql `
826
851
  output_schema
827
852
  input_schema
828
853
  ui_schema
854
+ cancellable
829
855
  }
830
856
  status
831
857
  input
@@ -873,6 +899,7 @@ export const GetPipelineRunsBySlugDocument = gql `
873
899
  output_schema
874
900
  input_schema
875
901
  ui_schema
902
+ cancellable
876
903
  }
877
904
  input
878
905
  output
@@ -912,6 +939,7 @@ export const GetActivePipelineRunsDocument = gql `
912
939
  pipeline {
913
940
  name
914
941
  slug
942
+ cancellable
915
943
  }
916
944
  }
917
945
  active_count: pipeline_runs_aggregate(
@@ -1002,6 +1030,7 @@ export const WatchPipelineRunDocument = gql `
1002
1030
  output_schema
1003
1031
  input_schema
1004
1032
  ui_schema
1033
+ cancellable
1005
1034
  }
1006
1035
  assets {
1007
1036
  id
@@ -1206,6 +1235,9 @@ export function getSdk(requester) {
1206
1235
  GetPipelines(variables, options) {
1207
1236
  return requester(GetPipelinesDocument, variables, options);
1208
1237
  },
1238
+ GetPipelinesList(variables, options) {
1239
+ return requester(GetPipelinesListDocument, variables, options);
1240
+ },
1209
1241
  GetPipelinesPricing(variables, options) {
1210
1242
  return requester(GetPipelinesPricingDocument, variables, options);
1211
1243
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipe2-ai/sdk",
3
- "version": "0.3.0",
3
+ "version": "2026.07.0",
4
4
  "type": "module",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",