@pipe2-ai/sdk 0.1.1 → 0.2.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.
@@ -42,6 +42,10 @@ export type Scalars = {
42
42
  input: number;
43
43
  output: number;
44
44
  };
45
+ bigint: {
46
+ input: any;
47
+ output: any;
48
+ };
45
49
  bpchar: {
46
50
  input: any;
47
51
  output: any;
@@ -50,6 +54,10 @@ export type Scalars = {
50
54
  input: any;
51
55
  output: any;
52
56
  };
57
+ numeric: {
58
+ input: any;
59
+ output: any;
60
+ };
53
61
  timestamp: {
54
62
  input: any;
55
63
  output: any;
@@ -135,6 +143,10 @@ export type String_Comparison_Exp = {
135
143
  /** does the column match the given SQL regular expression */
136
144
  _similar?: InputMaybe<Scalars['String']['input']>;
137
145
  };
146
+ export type Abort_Multipart_Upload_Output = {
147
+ __typename?: 'abort_multipart_upload_output';
148
+ success: Scalars['Boolean']['output'];
149
+ };
138
150
  export type Add_Affiliate_Code_Output = {
139
151
  __typename?: 'add_affiliate_code_output';
140
152
  code_id: Scalars['String']['output'];
@@ -322,11 +334,14 @@ export type Affiliates_Stream_Cursor_Value_Input = {
322
334
  export type Assets = {
323
335
  __typename?: 'assets';
324
336
  created_at: Scalars['timestamptz']['output'];
337
+ duration_sec?: Maybe<Scalars['numeric']['output']>;
325
338
  id: Scalars['uuid']['output'];
326
339
  metadata?: Maybe<Scalars['jsonb']['output']>;
327
340
  /** An object relationship */
328
341
  pipeline_run?: Maybe<Pipeline_Runs>;
329
342
  pipeline_run_id?: Maybe<Scalars['uuid']['output']>;
343
+ preview_frames?: Maybe<Array<Scalars['String']['output']>>;
344
+ size_bytes: Scalars['bigint']['output'];
330
345
  tags: Array<Scalars['String']['output']>;
331
346
  thumbnail_url?: Maybe<Scalars['String']['output']>;
332
347
  type: Scalars['String']['output'];
@@ -354,9 +369,17 @@ export type Assets_Aggregate_Bool_Exp_Count = {
354
369
  /** aggregate fields of "assets" */
355
370
  export type Assets_Aggregate_Fields = {
356
371
  __typename?: 'assets_aggregate_fields';
372
+ avg?: Maybe<Assets_Avg_Fields>;
357
373
  count: Scalars['Int']['output'];
358
374
  max?: Maybe<Assets_Max_Fields>;
359
375
  min?: Maybe<Assets_Min_Fields>;
376
+ stddev?: Maybe<Assets_Stddev_Fields>;
377
+ stddev_pop?: Maybe<Assets_Stddev_Pop_Fields>;
378
+ stddev_samp?: Maybe<Assets_Stddev_Samp_Fields>;
379
+ sum?: Maybe<Assets_Sum_Fields>;
380
+ var_pop?: Maybe<Assets_Var_Pop_Fields>;
381
+ var_samp?: Maybe<Assets_Var_Samp_Fields>;
382
+ variance?: Maybe<Assets_Variance_Fields>;
360
383
  };
361
384
  /** aggregate fields of "assets" */
362
385
  export type Assets_Aggregate_FieldsCountArgs = {
@@ -365,9 +388,28 @@ export type Assets_Aggregate_FieldsCountArgs = {
365
388
  };
366
389
  /** order by aggregate values of table "assets" */
367
390
  export type Assets_Aggregate_Order_By = {
391
+ avg?: InputMaybe<Assets_Avg_Order_By>;
368
392
  count?: InputMaybe<Order_By>;
369
393
  max?: InputMaybe<Assets_Max_Order_By>;
370
394
  min?: InputMaybe<Assets_Min_Order_By>;
395
+ stddev?: InputMaybe<Assets_Stddev_Order_By>;
396
+ stddev_pop?: InputMaybe<Assets_Stddev_Pop_Order_By>;
397
+ stddev_samp?: InputMaybe<Assets_Stddev_Samp_Order_By>;
398
+ sum?: InputMaybe<Assets_Sum_Order_By>;
399
+ var_pop?: InputMaybe<Assets_Var_Pop_Order_By>;
400
+ var_samp?: InputMaybe<Assets_Var_Samp_Order_By>;
401
+ variance?: InputMaybe<Assets_Variance_Order_By>;
402
+ };
403
+ /** aggregate avg on columns */
404
+ export type Assets_Avg_Fields = {
405
+ __typename?: 'assets_avg_fields';
406
+ duration_sec?: Maybe<Scalars['Float']['output']>;
407
+ size_bytes?: Maybe<Scalars['Float']['output']>;
408
+ };
409
+ /** order by avg() on columns of table "assets" */
410
+ export type Assets_Avg_Order_By = {
411
+ duration_sec?: InputMaybe<Order_By>;
412
+ size_bytes?: InputMaybe<Order_By>;
371
413
  };
372
414
  /** Boolean expression to filter rows from the table "assets". All fields are combined with a logical 'AND'. */
373
415
  export type Assets_Bool_Exp = {
@@ -375,10 +417,13 @@ export type Assets_Bool_Exp = {
375
417
  _not?: InputMaybe<Assets_Bool_Exp>;
376
418
  _or?: InputMaybe<Array<Assets_Bool_Exp>>;
377
419
  created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
420
+ duration_sec?: InputMaybe<Numeric_Comparison_Exp>;
378
421
  id?: InputMaybe<Uuid_Comparison_Exp>;
379
422
  metadata?: InputMaybe<Jsonb_Comparison_Exp>;
380
423
  pipeline_run?: InputMaybe<Pipeline_Runs_Bool_Exp>;
381
424
  pipeline_run_id?: InputMaybe<Uuid_Comparison_Exp>;
425
+ preview_frames?: InputMaybe<String_Array_Comparison_Exp>;
426
+ size_bytes?: InputMaybe<Bigint_Comparison_Exp>;
382
427
  tags?: InputMaybe<String_Array_Comparison_Exp>;
383
428
  thumbnail_url?: InputMaybe<String_Comparison_Exp>;
384
429
  type?: InputMaybe<String_Comparison_Exp>;
@@ -388,8 +433,11 @@ export type Assets_Bool_Exp = {
388
433
  export type Assets_Max_Fields = {
389
434
  __typename?: 'assets_max_fields';
390
435
  created_at?: Maybe<Scalars['timestamptz']['output']>;
436
+ duration_sec?: Maybe<Scalars['numeric']['output']>;
391
437
  id?: Maybe<Scalars['uuid']['output']>;
392
438
  pipeline_run_id?: Maybe<Scalars['uuid']['output']>;
439
+ preview_frames?: Maybe<Array<Scalars['String']['output']>>;
440
+ size_bytes?: Maybe<Scalars['bigint']['output']>;
393
441
  tags?: Maybe<Array<Scalars['String']['output']>>;
394
442
  thumbnail_url?: Maybe<Scalars['String']['output']>;
395
443
  type?: Maybe<Scalars['String']['output']>;
@@ -398,8 +446,11 @@ export type Assets_Max_Fields = {
398
446
  /** order by max() on columns of table "assets" */
399
447
  export type Assets_Max_Order_By = {
400
448
  created_at?: InputMaybe<Order_By>;
449
+ duration_sec?: InputMaybe<Order_By>;
401
450
  id?: InputMaybe<Order_By>;
402
451
  pipeline_run_id?: InputMaybe<Order_By>;
452
+ preview_frames?: InputMaybe<Order_By>;
453
+ size_bytes?: InputMaybe<Order_By>;
403
454
  tags?: InputMaybe<Order_By>;
404
455
  thumbnail_url?: InputMaybe<Order_By>;
405
456
  type?: InputMaybe<Order_By>;
@@ -409,8 +460,11 @@ export type Assets_Max_Order_By = {
409
460
  export type Assets_Min_Fields = {
410
461
  __typename?: 'assets_min_fields';
411
462
  created_at?: Maybe<Scalars['timestamptz']['output']>;
463
+ duration_sec?: Maybe<Scalars['numeric']['output']>;
412
464
  id?: Maybe<Scalars['uuid']['output']>;
413
465
  pipeline_run_id?: Maybe<Scalars['uuid']['output']>;
466
+ preview_frames?: Maybe<Array<Scalars['String']['output']>>;
467
+ size_bytes?: Maybe<Scalars['bigint']['output']>;
414
468
  tags?: Maybe<Array<Scalars['String']['output']>>;
415
469
  thumbnail_url?: Maybe<Scalars['String']['output']>;
416
470
  type?: Maybe<Scalars['String']['output']>;
@@ -419,8 +473,11 @@ export type Assets_Min_Fields = {
419
473
  /** order by min() on columns of table "assets" */
420
474
  export type Assets_Min_Order_By = {
421
475
  created_at?: InputMaybe<Order_By>;
476
+ duration_sec?: InputMaybe<Order_By>;
422
477
  id?: InputMaybe<Order_By>;
423
478
  pipeline_run_id?: InputMaybe<Order_By>;
479
+ preview_frames?: InputMaybe<Order_By>;
480
+ size_bytes?: InputMaybe<Order_By>;
424
481
  tags?: InputMaybe<Order_By>;
425
482
  thumbnail_url?: InputMaybe<Order_By>;
426
483
  type?: InputMaybe<Order_By>;
@@ -437,10 +494,13 @@ export type Assets_Mutation_Response = {
437
494
  /** Ordering options when selecting data from "assets". */
438
495
  export type Assets_Order_By = {
439
496
  created_at?: InputMaybe<Order_By>;
497
+ duration_sec?: InputMaybe<Order_By>;
440
498
  id?: InputMaybe<Order_By>;
441
499
  metadata?: InputMaybe<Order_By>;
442
500
  pipeline_run?: InputMaybe<Pipeline_Runs_Order_By>;
443
501
  pipeline_run_id?: InputMaybe<Order_By>;
502
+ preview_frames?: InputMaybe<Order_By>;
503
+ size_bytes?: InputMaybe<Order_By>;
444
504
  tags?: InputMaybe<Order_By>;
445
505
  thumbnail_url?: InputMaybe<Order_By>;
446
506
  type?: InputMaybe<Order_By>;
@@ -455,12 +515,18 @@ export declare enum Assets_Select_Column {
455
515
  /** column name */
456
516
  CreatedAt = "created_at",
457
517
  /** column name */
518
+ DurationSec = "duration_sec",
519
+ /** column name */
458
520
  Id = "id",
459
521
  /** column name */
460
522
  Metadata = "metadata",
461
523
  /** column name */
462
524
  PipelineRunId = "pipeline_run_id",
463
525
  /** column name */
526
+ PreviewFrames = "preview_frames",
527
+ /** column name */
528
+ SizeBytes = "size_bytes",
529
+ /** column name */
464
530
  Tags = "tags",
465
531
  /** column name */
466
532
  ThumbnailUrl = "thumbnail_url",
@@ -473,6 +539,39 @@ export declare enum Assets_Select_Column {
473
539
  export type Assets_Set_Input = {
474
540
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
475
541
  };
542
+ /** aggregate stddev on columns */
543
+ export type Assets_Stddev_Fields = {
544
+ __typename?: 'assets_stddev_fields';
545
+ duration_sec?: Maybe<Scalars['Float']['output']>;
546
+ size_bytes?: Maybe<Scalars['Float']['output']>;
547
+ };
548
+ /** order by stddev() on columns of table "assets" */
549
+ export type Assets_Stddev_Order_By = {
550
+ duration_sec?: InputMaybe<Order_By>;
551
+ size_bytes?: InputMaybe<Order_By>;
552
+ };
553
+ /** aggregate stddev_pop on columns */
554
+ export type Assets_Stddev_Pop_Fields = {
555
+ __typename?: 'assets_stddev_pop_fields';
556
+ duration_sec?: Maybe<Scalars['Float']['output']>;
557
+ size_bytes?: Maybe<Scalars['Float']['output']>;
558
+ };
559
+ /** order by stddev_pop() on columns of table "assets" */
560
+ export type Assets_Stddev_Pop_Order_By = {
561
+ duration_sec?: InputMaybe<Order_By>;
562
+ size_bytes?: InputMaybe<Order_By>;
563
+ };
564
+ /** aggregate stddev_samp on columns */
565
+ export type Assets_Stddev_Samp_Fields = {
566
+ __typename?: 'assets_stddev_samp_fields';
567
+ duration_sec?: Maybe<Scalars['Float']['output']>;
568
+ size_bytes?: Maybe<Scalars['Float']['output']>;
569
+ };
570
+ /** order by stddev_samp() on columns of table "assets" */
571
+ export type Assets_Stddev_Samp_Order_By = {
572
+ duration_sec?: InputMaybe<Order_By>;
573
+ size_bytes?: InputMaybe<Order_By>;
574
+ };
476
575
  /** Streaming cursor of the table "assets" */
477
576
  export type Assets_Stream_Cursor_Input = {
478
577
  /** Stream column input with initial value */
@@ -483,20 +582,67 @@ export type Assets_Stream_Cursor_Input = {
483
582
  /** Initial value of the column from where the streaming should start */
484
583
  export type Assets_Stream_Cursor_Value_Input = {
485
584
  created_at?: InputMaybe<Scalars['timestamptz']['input']>;
585
+ duration_sec?: InputMaybe<Scalars['numeric']['input']>;
486
586
  id?: InputMaybe<Scalars['uuid']['input']>;
487
587
  metadata?: InputMaybe<Scalars['jsonb']['input']>;
488
588
  pipeline_run_id?: InputMaybe<Scalars['uuid']['input']>;
589
+ preview_frames?: InputMaybe<Array<Scalars['String']['input']>>;
590
+ size_bytes?: InputMaybe<Scalars['bigint']['input']>;
489
591
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
490
592
  thumbnail_url?: InputMaybe<Scalars['String']['input']>;
491
593
  type?: InputMaybe<Scalars['String']['input']>;
492
594
  url?: InputMaybe<Scalars['String']['input']>;
493
595
  };
596
+ /** aggregate sum on columns */
597
+ export type Assets_Sum_Fields = {
598
+ __typename?: 'assets_sum_fields';
599
+ duration_sec?: Maybe<Scalars['numeric']['output']>;
600
+ size_bytes?: Maybe<Scalars['bigint']['output']>;
601
+ };
602
+ /** order by sum() on columns of table "assets" */
603
+ export type Assets_Sum_Order_By = {
604
+ duration_sec?: InputMaybe<Order_By>;
605
+ size_bytes?: InputMaybe<Order_By>;
606
+ };
494
607
  export type Assets_Updates = {
495
608
  /** sets the columns of the filtered rows to the given values */
496
609
  _set?: InputMaybe<Assets_Set_Input>;
497
610
  /** filter the rows which have to be updated */
498
611
  where: Assets_Bool_Exp;
499
612
  };
613
+ /** aggregate var_pop on columns */
614
+ export type Assets_Var_Pop_Fields = {
615
+ __typename?: 'assets_var_pop_fields';
616
+ duration_sec?: Maybe<Scalars['Float']['output']>;
617
+ size_bytes?: Maybe<Scalars['Float']['output']>;
618
+ };
619
+ /** order by var_pop() on columns of table "assets" */
620
+ export type Assets_Var_Pop_Order_By = {
621
+ duration_sec?: InputMaybe<Order_By>;
622
+ size_bytes?: InputMaybe<Order_By>;
623
+ };
624
+ /** aggregate var_samp on columns */
625
+ export type Assets_Var_Samp_Fields = {
626
+ __typename?: 'assets_var_samp_fields';
627
+ duration_sec?: Maybe<Scalars['Float']['output']>;
628
+ size_bytes?: Maybe<Scalars['Float']['output']>;
629
+ };
630
+ /** order by var_samp() on columns of table "assets" */
631
+ export type Assets_Var_Samp_Order_By = {
632
+ duration_sec?: InputMaybe<Order_By>;
633
+ size_bytes?: InputMaybe<Order_By>;
634
+ };
635
+ /** aggregate variance on columns */
636
+ export type Assets_Variance_Fields = {
637
+ __typename?: 'assets_variance_fields';
638
+ duration_sec?: Maybe<Scalars['Float']['output']>;
639
+ size_bytes?: Maybe<Scalars['Float']['output']>;
640
+ };
641
+ /** order by variance() on columns of table "assets" */
642
+ export type Assets_Variance_Order_By = {
643
+ duration_sec?: InputMaybe<Order_By>;
644
+ size_bytes?: InputMaybe<Order_By>;
645
+ };
500
646
  export type Auth_Flow = {
501
647
  __typename?: 'auth_flow';
502
648
  csrf_token: Scalars['String']['output'];
@@ -509,6 +655,18 @@ export type Auth_Result = {
509
655
  token?: Maybe<Scalars['String']['output']>;
510
656
  whop_affiliate_id?: Maybe<Scalars['String']['output']>;
511
657
  };
658
+ /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */
659
+ export type Bigint_Comparison_Exp = {
660
+ _eq?: InputMaybe<Scalars['bigint']['input']>;
661
+ _gt?: InputMaybe<Scalars['bigint']['input']>;
662
+ _gte?: InputMaybe<Scalars['bigint']['input']>;
663
+ _in?: InputMaybe<Array<Scalars['bigint']['input']>>;
664
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
665
+ _lt?: InputMaybe<Scalars['bigint']['input']>;
666
+ _lte?: InputMaybe<Scalars['bigint']['input']>;
667
+ _neq?: InputMaybe<Scalars['bigint']['input']>;
668
+ _nin?: InputMaybe<Array<Scalars['bigint']['input']>>;
669
+ };
512
670
  /** Boolean expression to compare columns of type "bpchar". All fields are combined with logical 'AND'. */
513
671
  export type Bpchar_Comparison_Exp = {
514
672
  _eq?: InputMaybe<Scalars['bpchar']['input']>;
@@ -541,6 +699,44 @@ export type Bpchar_Comparison_Exp = {
541
699
  /** does the column match the given SQL regular expression */
542
700
  _similar?: InputMaybe<Scalars['bpchar']['input']>;
543
701
  };
702
+ export type Cancel_Account_Deletion_Output = {
703
+ __typename?: 'cancel_account_deletion_output';
704
+ message: Scalars['String']['output'];
705
+ success: Scalars['Boolean']['output'];
706
+ };
707
+ export type Cancel_Pipeline_Run_Output = {
708
+ __typename?: 'cancel_pipeline_run_output';
709
+ success: Scalars['Boolean']['output'];
710
+ };
711
+ export type Cancel_Subscription_Output = {
712
+ __typename?: 'cancel_subscription_output';
713
+ cancel_at_period_end: Scalars['Boolean']['output'];
714
+ message: Scalars['String']['output'];
715
+ success: Scalars['Boolean']['output'];
716
+ };
717
+ export type Change_Avatar_Output = {
718
+ __typename?: 'change_avatar_output';
719
+ avatar_url: Scalars['String']['output'];
720
+ message: Scalars['String']['output'];
721
+ success: Scalars['Boolean']['output'];
722
+ };
723
+ export type Change_Name_Output = {
724
+ __typename?: 'change_name_output';
725
+ message: Scalars['String']['output'];
726
+ name: Scalars['String']['output'];
727
+ success: Scalars['Boolean']['output'];
728
+ };
729
+ export type Change_Password_Output = {
730
+ __typename?: 'change_password_output';
731
+ message: Scalars['String']['output'];
732
+ success: Scalars['Boolean']['output'];
733
+ };
734
+ export type Confirm_Account_Deletion_Output = {
735
+ __typename?: 'confirm_account_deletion_output';
736
+ effective_at: Scalars['String']['output'];
737
+ message: Scalars['String']['output'];
738
+ success: Scalars['Boolean']['output'];
739
+ };
544
740
  export type Create_Asset_Output = {
545
741
  __typename?: 'create_asset_output';
546
742
  created_at: Scalars['String']['output'];
@@ -570,56 +766,221 @@ export type Credit_History_Entry = {
570
766
  description: Scalars['String']['output'];
571
767
  type: Scalars['String']['output'];
572
768
  };
769
+ /** columns and relationships of "credit_pack_versions" */
770
+ export type Credit_Pack_Versions = {
771
+ __typename?: 'credit_pack_versions';
772
+ created_at: Scalars['timestamptz']['output'];
773
+ /** An object relationship */
774
+ credit_pack: Credit_Packs;
775
+ credit_pack_id: Scalars['uuid']['output'];
776
+ credits: Scalars['Int']['output'];
777
+ deprecated_at?: Maybe<Scalars['timestamptz']['output']>;
778
+ id: Scalars['uuid']['output'];
779
+ is_current: Scalars['Boolean']['output'];
780
+ price_cents: Scalars['Int']['output'];
781
+ version: Scalars['Int']['output'];
782
+ whop_plan_id?: Maybe<Scalars['String']['output']>;
783
+ };
784
+ /** order by aggregate values of table "credit_pack_versions" */
785
+ export type Credit_Pack_Versions_Aggregate_Order_By = {
786
+ avg?: InputMaybe<Credit_Pack_Versions_Avg_Order_By>;
787
+ count?: InputMaybe<Order_By>;
788
+ max?: InputMaybe<Credit_Pack_Versions_Max_Order_By>;
789
+ min?: InputMaybe<Credit_Pack_Versions_Min_Order_By>;
790
+ stddev?: InputMaybe<Credit_Pack_Versions_Stddev_Order_By>;
791
+ stddev_pop?: InputMaybe<Credit_Pack_Versions_Stddev_Pop_Order_By>;
792
+ stddev_samp?: InputMaybe<Credit_Pack_Versions_Stddev_Samp_Order_By>;
793
+ sum?: InputMaybe<Credit_Pack_Versions_Sum_Order_By>;
794
+ var_pop?: InputMaybe<Credit_Pack_Versions_Var_Pop_Order_By>;
795
+ var_samp?: InputMaybe<Credit_Pack_Versions_Var_Samp_Order_By>;
796
+ variance?: InputMaybe<Credit_Pack_Versions_Variance_Order_By>;
797
+ };
798
+ /** order by avg() on columns of table "credit_pack_versions" */
799
+ export type Credit_Pack_Versions_Avg_Order_By = {
800
+ credits?: InputMaybe<Order_By>;
801
+ price_cents?: InputMaybe<Order_By>;
802
+ version?: InputMaybe<Order_By>;
803
+ };
804
+ /** Boolean expression to filter rows from the table "credit_pack_versions". All fields are combined with a logical 'AND'. */
805
+ export type Credit_Pack_Versions_Bool_Exp = {
806
+ _and?: InputMaybe<Array<Credit_Pack_Versions_Bool_Exp>>;
807
+ _not?: InputMaybe<Credit_Pack_Versions_Bool_Exp>;
808
+ _or?: InputMaybe<Array<Credit_Pack_Versions_Bool_Exp>>;
809
+ created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
810
+ credit_pack?: InputMaybe<Credit_Packs_Bool_Exp>;
811
+ credit_pack_id?: InputMaybe<Uuid_Comparison_Exp>;
812
+ credits?: InputMaybe<Int_Comparison_Exp>;
813
+ deprecated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
814
+ id?: InputMaybe<Uuid_Comparison_Exp>;
815
+ is_current?: InputMaybe<Boolean_Comparison_Exp>;
816
+ price_cents?: InputMaybe<Int_Comparison_Exp>;
817
+ version?: InputMaybe<Int_Comparison_Exp>;
818
+ whop_plan_id?: InputMaybe<String_Comparison_Exp>;
819
+ };
820
+ /** order by max() on columns of table "credit_pack_versions" */
821
+ export type Credit_Pack_Versions_Max_Order_By = {
822
+ created_at?: InputMaybe<Order_By>;
823
+ credit_pack_id?: InputMaybe<Order_By>;
824
+ credits?: InputMaybe<Order_By>;
825
+ deprecated_at?: InputMaybe<Order_By>;
826
+ id?: InputMaybe<Order_By>;
827
+ price_cents?: InputMaybe<Order_By>;
828
+ version?: InputMaybe<Order_By>;
829
+ whop_plan_id?: InputMaybe<Order_By>;
830
+ };
831
+ /** order by min() on columns of table "credit_pack_versions" */
832
+ export type Credit_Pack_Versions_Min_Order_By = {
833
+ created_at?: InputMaybe<Order_By>;
834
+ credit_pack_id?: InputMaybe<Order_By>;
835
+ credits?: InputMaybe<Order_By>;
836
+ deprecated_at?: InputMaybe<Order_By>;
837
+ id?: InputMaybe<Order_By>;
838
+ price_cents?: InputMaybe<Order_By>;
839
+ version?: InputMaybe<Order_By>;
840
+ whop_plan_id?: InputMaybe<Order_By>;
841
+ };
842
+ /** Ordering options when selecting data from "credit_pack_versions". */
843
+ export type Credit_Pack_Versions_Order_By = {
844
+ created_at?: InputMaybe<Order_By>;
845
+ credit_pack?: InputMaybe<Credit_Packs_Order_By>;
846
+ credit_pack_id?: InputMaybe<Order_By>;
847
+ credits?: InputMaybe<Order_By>;
848
+ deprecated_at?: InputMaybe<Order_By>;
849
+ id?: InputMaybe<Order_By>;
850
+ is_current?: InputMaybe<Order_By>;
851
+ price_cents?: InputMaybe<Order_By>;
852
+ version?: InputMaybe<Order_By>;
853
+ whop_plan_id?: InputMaybe<Order_By>;
854
+ };
855
+ /** select columns of table "credit_pack_versions" */
856
+ export declare enum Credit_Pack_Versions_Select_Column {
857
+ /** column name */
858
+ CreatedAt = "created_at",
859
+ /** column name */
860
+ CreditPackId = "credit_pack_id",
861
+ /** column name */
862
+ Credits = "credits",
863
+ /** column name */
864
+ DeprecatedAt = "deprecated_at",
865
+ /** column name */
866
+ Id = "id",
867
+ /** column name */
868
+ IsCurrent = "is_current",
869
+ /** column name */
870
+ PriceCents = "price_cents",
871
+ /** column name */
872
+ Version = "version",
873
+ /** column name */
874
+ WhopPlanId = "whop_plan_id"
875
+ }
876
+ /** order by stddev() on columns of table "credit_pack_versions" */
877
+ export type Credit_Pack_Versions_Stddev_Order_By = {
878
+ credits?: InputMaybe<Order_By>;
879
+ price_cents?: InputMaybe<Order_By>;
880
+ version?: InputMaybe<Order_By>;
881
+ };
882
+ /** order by stddev_pop() on columns of table "credit_pack_versions" */
883
+ export type Credit_Pack_Versions_Stddev_Pop_Order_By = {
884
+ credits?: InputMaybe<Order_By>;
885
+ price_cents?: InputMaybe<Order_By>;
886
+ version?: InputMaybe<Order_By>;
887
+ };
888
+ /** order by stddev_samp() on columns of table "credit_pack_versions" */
889
+ export type Credit_Pack_Versions_Stddev_Samp_Order_By = {
890
+ credits?: InputMaybe<Order_By>;
891
+ price_cents?: InputMaybe<Order_By>;
892
+ version?: InputMaybe<Order_By>;
893
+ };
894
+ /** Streaming cursor of the table "credit_pack_versions" */
895
+ export type Credit_Pack_Versions_Stream_Cursor_Input = {
896
+ /** Stream column input with initial value */
897
+ initial_value: Credit_Pack_Versions_Stream_Cursor_Value_Input;
898
+ /** cursor ordering */
899
+ ordering?: InputMaybe<Cursor_Ordering>;
900
+ };
901
+ /** Initial value of the column from where the streaming should start */
902
+ export type Credit_Pack_Versions_Stream_Cursor_Value_Input = {
903
+ created_at?: InputMaybe<Scalars['timestamptz']['input']>;
904
+ credit_pack_id?: InputMaybe<Scalars['uuid']['input']>;
905
+ credits?: InputMaybe<Scalars['Int']['input']>;
906
+ deprecated_at?: InputMaybe<Scalars['timestamptz']['input']>;
907
+ id?: InputMaybe<Scalars['uuid']['input']>;
908
+ is_current?: InputMaybe<Scalars['Boolean']['input']>;
909
+ price_cents?: InputMaybe<Scalars['Int']['input']>;
910
+ version?: InputMaybe<Scalars['Int']['input']>;
911
+ whop_plan_id?: InputMaybe<Scalars['String']['input']>;
912
+ };
913
+ /** order by sum() on columns of table "credit_pack_versions" */
914
+ export type Credit_Pack_Versions_Sum_Order_By = {
915
+ credits?: InputMaybe<Order_By>;
916
+ price_cents?: InputMaybe<Order_By>;
917
+ version?: InputMaybe<Order_By>;
918
+ };
919
+ /** order by var_pop() on columns of table "credit_pack_versions" */
920
+ export type Credit_Pack_Versions_Var_Pop_Order_By = {
921
+ credits?: InputMaybe<Order_By>;
922
+ price_cents?: InputMaybe<Order_By>;
923
+ version?: InputMaybe<Order_By>;
924
+ };
925
+ /** order by var_samp() on columns of table "credit_pack_versions" */
926
+ export type Credit_Pack_Versions_Var_Samp_Order_By = {
927
+ credits?: InputMaybe<Order_By>;
928
+ price_cents?: InputMaybe<Order_By>;
929
+ version?: InputMaybe<Order_By>;
930
+ };
931
+ /** order by variance() on columns of table "credit_pack_versions" */
932
+ export type Credit_Pack_Versions_Variance_Order_By = {
933
+ credits?: InputMaybe<Order_By>;
934
+ price_cents?: InputMaybe<Order_By>;
935
+ version?: InputMaybe<Order_By>;
936
+ };
573
937
  /** columns and relationships of "credit_packs" */
574
938
  export type Credit_Packs = {
575
939
  __typename?: 'credit_packs';
576
- credits: Scalars['Int']['output'];
577
940
  id: Scalars['uuid']['output'];
578
941
  name: Scalars['String']['output'];
579
- price_cents: Scalars['Int']['output'];
580
942
  slug: Scalars['String']['output'];
581
943
  sort_order: Scalars['Int']['output'];
582
- whop_plan_id?: Maybe<Scalars['String']['output']>;
944
+ /** An array relationship */
945
+ versions: Array<Credit_Pack_Versions>;
946
+ };
947
+ /** columns and relationships of "credit_packs" */
948
+ export type Credit_PacksVersionsArgs = {
949
+ distinct_on?: InputMaybe<Array<Credit_Pack_Versions_Select_Column>>;
950
+ limit?: InputMaybe<Scalars['Int']['input']>;
951
+ offset?: InputMaybe<Scalars['Int']['input']>;
952
+ order_by?: InputMaybe<Array<Credit_Pack_Versions_Order_By>>;
953
+ where?: InputMaybe<Credit_Pack_Versions_Bool_Exp>;
583
954
  };
584
955
  /** Boolean expression to filter rows from the table "credit_packs". All fields are combined with a logical 'AND'. */
585
956
  export type Credit_Packs_Bool_Exp = {
586
957
  _and?: InputMaybe<Array<Credit_Packs_Bool_Exp>>;
587
958
  _not?: InputMaybe<Credit_Packs_Bool_Exp>;
588
959
  _or?: InputMaybe<Array<Credit_Packs_Bool_Exp>>;
589
- credits?: InputMaybe<Int_Comparison_Exp>;
590
960
  id?: InputMaybe<Uuid_Comparison_Exp>;
591
961
  name?: InputMaybe<String_Comparison_Exp>;
592
- price_cents?: InputMaybe<Int_Comparison_Exp>;
593
962
  slug?: InputMaybe<String_Comparison_Exp>;
594
963
  sort_order?: InputMaybe<Int_Comparison_Exp>;
595
- whop_plan_id?: InputMaybe<String_Comparison_Exp>;
964
+ versions?: InputMaybe<Credit_Pack_Versions_Bool_Exp>;
596
965
  };
597
966
  /** Ordering options when selecting data from "credit_packs". */
598
967
  export type Credit_Packs_Order_By = {
599
- credits?: InputMaybe<Order_By>;
600
968
  id?: InputMaybe<Order_By>;
601
969
  name?: InputMaybe<Order_By>;
602
- price_cents?: InputMaybe<Order_By>;
603
970
  slug?: InputMaybe<Order_By>;
604
971
  sort_order?: InputMaybe<Order_By>;
605
- whop_plan_id?: InputMaybe<Order_By>;
972
+ versions_aggregate?: InputMaybe<Credit_Pack_Versions_Aggregate_Order_By>;
606
973
  };
607
974
  /** select columns of table "credit_packs" */
608
975
  export declare enum Credit_Packs_Select_Column {
609
- /** column name */
610
- Credits = "credits",
611
976
  /** column name */
612
977
  Id = "id",
613
978
  /** column name */
614
979
  Name = "name",
615
980
  /** column name */
616
- PriceCents = "price_cents",
617
- /** column name */
618
981
  Slug = "slug",
619
982
  /** column name */
620
- SortOrder = "sort_order",
621
- /** column name */
622
- WhopPlanId = "whop_plan_id"
983
+ SortOrder = "sort_order"
623
984
  }
624
985
  /** Streaming cursor of the table "credit_packs" */
625
986
  export type Credit_Packs_Stream_Cursor_Input = {
@@ -630,17 +991,16 @@ export type Credit_Packs_Stream_Cursor_Input = {
630
991
  };
631
992
  /** Initial value of the column from where the streaming should start */
632
993
  export type Credit_Packs_Stream_Cursor_Value_Input = {
633
- credits?: InputMaybe<Scalars['Int']['input']>;
634
994
  id?: InputMaybe<Scalars['uuid']['input']>;
635
995
  name?: InputMaybe<Scalars['String']['input']>;
636
- price_cents?: InputMaybe<Scalars['Int']['input']>;
637
996
  slug?: InputMaybe<Scalars['String']['input']>;
638
997
  sort_order?: InputMaybe<Scalars['Int']['input']>;
639
- whop_plan_id?: InputMaybe<Scalars['String']['input']>;
640
998
  };
641
999
  export type Current_User_Output = {
642
1000
  __typename?: 'current_user_output';
643
1001
  avatar_url?: Maybe<Scalars['String']['output']>;
1002
+ deletion_effective_at?: Maybe<Scalars['String']['output']>;
1003
+ deletion_scheduled_at?: Maybe<Scalars['String']['output']>;
644
1004
  email: Scalars['String']['output'];
645
1005
  email_verified: Scalars['Boolean']['output'];
646
1006
  id: Scalars['String']['output'];
@@ -763,17 +1123,48 @@ export type Jsonb_Comparison_Exp = {
763
1123
  _neq?: InputMaybe<Scalars['jsonb']['input']>;
764
1124
  _nin?: InputMaybe<Array<Scalars['jsonb']['input']>>;
765
1125
  };
1126
+ export type Multipart_Part_Input = {
1127
+ ETag: Scalars['String']['input'];
1128
+ PartNumber: Scalars['Int']['input'];
1129
+ };
1130
+ export type Multipart_Part_Url = {
1131
+ __typename?: 'multipart_part_url';
1132
+ part_number: Scalars['Int']['output'];
1133
+ url: Scalars['String']['output'];
1134
+ };
766
1135
  /** mutation root */
767
1136
  export type Mutation_Root = {
768
1137
  __typename?: 'mutation_root';
1138
+ /** Cancel an in-progress multipart upload (cleanup) */
1139
+ abort_multipart_upload: Abort_Multipart_Upload_Output;
769
1140
  /** Add a new primary affiliate code */
770
1141
  add_affiliate_code: Add_Affiliate_Code_Output;
1142
+ /** Cancel a pending scheduled account deletion during the grace period. */
1143
+ cancel_account_deletion: Cancel_Account_Deletion_Output;
1144
+ /** Cancel a running pipeline and refund credits */
1145
+ cancel_pipeline_run?: Maybe<Cancel_Pipeline_Run_Output>;
1146
+ /** Cancel the user's subscription at the end of the current billing period */
1147
+ cancel_subscription: Cancel_Subscription_Output;
1148
+ /** Persist the user's avatar URL after a successful upload */
1149
+ change_avatar: Change_Avatar_Output;
1150
+ /** Update the current user's display name */
1151
+ change_name: Change_Name_Output;
1152
+ /** Change the current user's password via Kratos settings flow */
1153
+ change_password: Change_Password_Output;
1154
+ /** Finalize a multipart upload and register the asset row */
1155
+ complete_multipart_upload: Create_Asset_Output;
1156
+ /** Validate a deletion JWT and schedule the account for deletion (token-authed, anonymous-allowed). */
1157
+ confirm_account_deletion: Confirm_Account_Deletion_Output;
771
1158
  /** Create an asset record after S3 upload */
772
1159
  create_asset: Create_Asset_Output;
773
1160
  /** Create a new personal access token for API/MCP authentication */
774
1161
  create_personal_access_token: Create_Personal_Access_Token_Output;
775
1162
  /** Delete an asset and its S3 object */
776
1163
  delete_asset: Delete_Asset_Output;
1164
+ /** delete data from the table: "notifications" */
1165
+ delete_notifications?: Maybe<Notifications_Mutation_Response>;
1166
+ /** delete single row from the table: "notifications" */
1167
+ delete_notifications_by_pk?: Maybe<Notifications>;
777
1168
  /** Create affiliate record and referral code for current user if missing */
778
1169
  ensure_affiliate: Ensure_Affiliate_Output;
779
1170
  /** Initiate Kratos login flow */
@@ -784,6 +1175,12 @@ export type Mutation_Root = {
784
1175
  init_signup_flow: Auth_Flow;
785
1176
  /** Initiate Kratos email verification flow */
786
1177
  init_verification_flow: Auth_Flow;
1178
+ /** Send an email-link confirmation for account deletion. No state change until the link is clicked. */
1179
+ request_account_deletion: Request_Account_Deletion_Output;
1180
+ /** Mint a presigned S3 PUT URL for an avatar image */
1181
+ request_avatar_upload: Request_Avatar_Upload_Output;
1182
+ /** Initiate an S3 multipart upload and return one presigned PUT URL per part */
1183
+ request_multipart_upload: Request_Multipart_Upload_Output;
787
1184
  /** Generate presigned S3 PUT URL for direct browser uploads */
788
1185
  request_upload: Request_Upload_Output;
789
1186
  /** Revoke a personal access token */
@@ -812,6 +1209,17 @@ export type Mutation_Root = {
812
1209
  update_assets_by_pk?: Maybe<Assets>;
813
1210
  /** update multiples rows of table: "assets" */
814
1211
  update_assets_many?: Maybe<Array<Maybe<Assets_Mutation_Response>>>;
1212
+ /** update data of the table: "notifications" */
1213
+ update_notifications?: Maybe<Notifications_Mutation_Response>;
1214
+ /** update single row of the table: "notifications" */
1215
+ update_notifications_by_pk?: Maybe<Notifications>;
1216
+ /** update multiples rows of table: "notifications" */
1217
+ update_notifications_many?: Maybe<Array<Maybe<Notifications_Mutation_Response>>>;
1218
+ };
1219
+ /** mutation root */
1220
+ export type Mutation_RootAbort_Multipart_UploadArgs = {
1221
+ key: Scalars['String']['input'];
1222
+ upload_id: Scalars['String']['input'];
815
1223
  };
816
1224
  /** mutation root */
817
1225
  export type Mutation_RootAdd_Affiliate_CodeArgs = {
@@ -819,10 +1227,38 @@ export type Mutation_RootAdd_Affiliate_CodeArgs = {
819
1227
  redirect_path?: InputMaybe<Scalars['String']['input']>;
820
1228
  };
821
1229
  /** mutation root */
1230
+ export type Mutation_RootCancel_Pipeline_RunArgs = {
1231
+ run_id: Scalars['String']['input'];
1232
+ };
1233
+ /** mutation root */
1234
+ export type Mutation_RootChange_AvatarArgs = {
1235
+ avatar_url: Scalars['String']['input'];
1236
+ };
1237
+ /** mutation root */
1238
+ export type Mutation_RootChange_NameArgs = {
1239
+ name: Scalars['String']['input'];
1240
+ };
1241
+ /** mutation root */
1242
+ export type Mutation_RootChange_PasswordArgs = {
1243
+ current_password: Scalars['String']['input'];
1244
+ new_password: Scalars['String']['input'];
1245
+ };
1246
+ /** mutation root */
1247
+ export type Mutation_RootComplete_Multipart_UploadArgs = {
1248
+ content_type: Scalars['String']['input'];
1249
+ key: Scalars['String']['input'];
1250
+ parts: Array<Multipart_Part_Input>;
1251
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
1252
+ upload_id: Scalars['String']['input'];
1253
+ };
1254
+ /** mutation root */
1255
+ export type Mutation_RootConfirm_Account_DeletionArgs = {
1256
+ token: Scalars['String']['input'];
1257
+ };
1258
+ /** mutation root */
822
1259
  export type Mutation_RootCreate_AssetArgs = {
1260
+ key: Scalars['String']['input'];
823
1261
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
824
- type: Scalars['String']['input'];
825
- url: Scalars['String']['input'];
826
1262
  };
827
1263
  /** mutation root */
828
1264
  export type Mutation_RootCreate_Personal_Access_TokenArgs = {
@@ -833,12 +1269,33 @@ export type Mutation_RootDelete_AssetArgs = {
833
1269
  id: Scalars['uuid']['input'];
834
1270
  };
835
1271
  /** mutation root */
1272
+ export type Mutation_RootDelete_NotificationsArgs = {
1273
+ where: Notifications_Bool_Exp;
1274
+ };
1275
+ /** mutation root */
1276
+ export type Mutation_RootDelete_Notifications_By_PkArgs = {
1277
+ id: Scalars['uuid']['input'];
1278
+ };
1279
+ /** mutation root */
836
1280
  export type Mutation_RootInit_Recovery_FlowArgs = {
837
1281
  email: Scalars['String']['input'];
838
1282
  };
839
1283
  /** mutation root */
840
1284
  export type Mutation_RootInit_Verification_FlowArgs = {
841
1285
  email?: InputMaybe<Scalars['String']['input']>;
1286
+ force?: InputMaybe<Scalars['Boolean']['input']>;
1287
+ };
1288
+ /** mutation root */
1289
+ export type Mutation_RootRequest_Avatar_UploadArgs = {
1290
+ content_type: Scalars['String']['input'];
1291
+ filename: Scalars['String']['input'];
1292
+ };
1293
+ /** mutation root */
1294
+ export type Mutation_RootRequest_Multipart_UploadArgs = {
1295
+ content_type: Scalars['String']['input'];
1296
+ filename: Scalars['String']['input'];
1297
+ part_size?: InputMaybe<Scalars['bigint']['input']>;
1298
+ total_size: Scalars['bigint']['input'];
842
1299
  };
843
1300
  /** mutation root */
844
1301
  export type Mutation_RootRequest_UploadArgs = {
@@ -914,53 +1371,209 @@ export type Mutation_RootUpdate_Assets_By_PkArgs = {
914
1371
  export type Mutation_RootUpdate_Assets_ManyArgs = {
915
1372
  updates: Array<Assets_Updates>;
916
1373
  };
917
- /** column ordering options */
918
- export declare enum Order_By {
919
- /** in ascending order, nulls last */
920
- Asc = "asc",
921
- /** in ascending order, nulls first */
922
- AscNullsFirst = "asc_nulls_first",
923
- /** in ascending order, nulls last */
924
- AscNullsLast = "asc_nulls_last",
925
- /** in descending order, nulls first */
926
- Desc = "desc",
927
- /** in descending order, nulls first */
928
- DescNullsFirst = "desc_nulls_first",
929
- /** in descending order, nulls last */
930
- DescNullsLast = "desc_nulls_last"
931
- }
932
- /** columns and relationships of "personal_access_tokens" */
933
- export type Personal_Access_Tokens = {
934
- __typename?: 'personal_access_tokens';
1374
+ /** mutation root */
1375
+ export type Mutation_RootUpdate_NotificationsArgs = {
1376
+ _set?: InputMaybe<Notifications_Set_Input>;
1377
+ where: Notifications_Bool_Exp;
1378
+ };
1379
+ /** mutation root */
1380
+ export type Mutation_RootUpdate_Notifications_By_PkArgs = {
1381
+ _set?: InputMaybe<Notifications_Set_Input>;
1382
+ pk_columns: Notifications_Pk_Columns_Input;
1383
+ };
1384
+ /** mutation root */
1385
+ export type Mutation_RootUpdate_Notifications_ManyArgs = {
1386
+ updates: Array<Notifications_Updates>;
1387
+ };
1388
+ /** columns and relationships of "notifications" */
1389
+ export type Notifications = {
1390
+ __typename?: 'notifications';
1391
+ body?: Maybe<Scalars['String']['output']>;
935
1392
  created_at: Scalars['timestamptz']['output'];
936
- expires_at: Scalars['timestamptz']['output'];
937
1393
  id: Scalars['uuid']['output'];
938
- last_used_at?: Maybe<Scalars['timestamptz']['output']>;
939
- name: Scalars['String']['output'];
940
- revoked_at?: Maybe<Scalars['timestamptz']['output']>;
941
- scopes: Array<Scalars['String']['output']>;
1394
+ metadata?: Maybe<Scalars['jsonb']['output']>;
1395
+ read: Scalars['Boolean']['output'];
1396
+ title: Scalars['String']['output'];
1397
+ type: Scalars['String']['output'];
942
1398
  };
943
- /** Boolean expression to filter rows from the table "personal_access_tokens". All fields are combined with a logical 'AND'. */
944
- export type Personal_Access_Tokens_Bool_Exp = {
945
- _and?: InputMaybe<Array<Personal_Access_Tokens_Bool_Exp>>;
946
- _not?: InputMaybe<Personal_Access_Tokens_Bool_Exp>;
947
- _or?: InputMaybe<Array<Personal_Access_Tokens_Bool_Exp>>;
1399
+ /** columns and relationships of "notifications" */
1400
+ export type NotificationsMetadataArgs = {
1401
+ path?: InputMaybe<Scalars['String']['input']>;
1402
+ };
1403
+ /** aggregated selection of "notifications" */
1404
+ export type Notifications_Aggregate = {
1405
+ __typename?: 'notifications_aggregate';
1406
+ aggregate?: Maybe<Notifications_Aggregate_Fields>;
1407
+ nodes: Array<Notifications>;
1408
+ };
1409
+ /** aggregate fields of "notifications" */
1410
+ export type Notifications_Aggregate_Fields = {
1411
+ __typename?: 'notifications_aggregate_fields';
1412
+ count: Scalars['Int']['output'];
1413
+ max?: Maybe<Notifications_Max_Fields>;
1414
+ min?: Maybe<Notifications_Min_Fields>;
1415
+ };
1416
+ /** aggregate fields of "notifications" */
1417
+ export type Notifications_Aggregate_FieldsCountArgs = {
1418
+ columns?: InputMaybe<Array<Notifications_Select_Column>>;
1419
+ distinct?: InputMaybe<Scalars['Boolean']['input']>;
1420
+ };
1421
+ /** Boolean expression to filter rows from the table "notifications". All fields are combined with a logical 'AND'. */
1422
+ export type Notifications_Bool_Exp = {
1423
+ _and?: InputMaybe<Array<Notifications_Bool_Exp>>;
1424
+ _not?: InputMaybe<Notifications_Bool_Exp>;
1425
+ _or?: InputMaybe<Array<Notifications_Bool_Exp>>;
1426
+ body?: InputMaybe<String_Comparison_Exp>;
948
1427
  created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
949
- expires_at?: InputMaybe<Timestamptz_Comparison_Exp>;
950
1428
  id?: InputMaybe<Uuid_Comparison_Exp>;
951
- last_used_at?: InputMaybe<Timestamptz_Comparison_Exp>;
952
- name?: InputMaybe<String_Comparison_Exp>;
953
- revoked_at?: InputMaybe<Timestamptz_Comparison_Exp>;
954
- scopes?: InputMaybe<String_Array_Comparison_Exp>;
1429
+ metadata?: InputMaybe<Jsonb_Comparison_Exp>;
1430
+ read?: InputMaybe<Boolean_Comparison_Exp>;
1431
+ title?: InputMaybe<String_Comparison_Exp>;
1432
+ type?: InputMaybe<String_Comparison_Exp>;
955
1433
  };
956
- /** Ordering options when selecting data from "personal_access_tokens". */
957
- export type Personal_Access_Tokens_Order_By = {
958
- created_at?: InputMaybe<Order_By>;
959
- expires_at?: InputMaybe<Order_By>;
960
- id?: InputMaybe<Order_By>;
961
- last_used_at?: InputMaybe<Order_By>;
962
- name?: InputMaybe<Order_By>;
963
- revoked_at?: InputMaybe<Order_By>;
1434
+ /** aggregate max on columns */
1435
+ export type Notifications_Max_Fields = {
1436
+ __typename?: 'notifications_max_fields';
1437
+ body?: Maybe<Scalars['String']['output']>;
1438
+ created_at?: Maybe<Scalars['timestamptz']['output']>;
1439
+ id?: Maybe<Scalars['uuid']['output']>;
1440
+ title?: Maybe<Scalars['String']['output']>;
1441
+ type?: Maybe<Scalars['String']['output']>;
1442
+ };
1443
+ /** aggregate min on columns */
1444
+ export type Notifications_Min_Fields = {
1445
+ __typename?: 'notifications_min_fields';
1446
+ body?: Maybe<Scalars['String']['output']>;
1447
+ created_at?: Maybe<Scalars['timestamptz']['output']>;
1448
+ id?: Maybe<Scalars['uuid']['output']>;
1449
+ title?: Maybe<Scalars['String']['output']>;
1450
+ type?: Maybe<Scalars['String']['output']>;
1451
+ };
1452
+ /** response of any mutation on the table "notifications" */
1453
+ export type Notifications_Mutation_Response = {
1454
+ __typename?: 'notifications_mutation_response';
1455
+ /** number of rows affected by the mutation */
1456
+ affected_rows: Scalars['Int']['output'];
1457
+ /** data from the rows affected by the mutation */
1458
+ returning: Array<Notifications>;
1459
+ };
1460
+ /** Ordering options when selecting data from "notifications". */
1461
+ export type Notifications_Order_By = {
1462
+ body?: InputMaybe<Order_By>;
1463
+ created_at?: InputMaybe<Order_By>;
1464
+ id?: InputMaybe<Order_By>;
1465
+ metadata?: InputMaybe<Order_By>;
1466
+ read?: InputMaybe<Order_By>;
1467
+ title?: InputMaybe<Order_By>;
1468
+ type?: InputMaybe<Order_By>;
1469
+ };
1470
+ /** primary key columns input for table: notifications */
1471
+ export type Notifications_Pk_Columns_Input = {
1472
+ id: Scalars['uuid']['input'];
1473
+ };
1474
+ /** select columns of table "notifications" */
1475
+ export declare enum Notifications_Select_Column {
1476
+ /** column name */
1477
+ Body = "body",
1478
+ /** column name */
1479
+ CreatedAt = "created_at",
1480
+ /** column name */
1481
+ Id = "id",
1482
+ /** column name */
1483
+ Metadata = "metadata",
1484
+ /** column name */
1485
+ Read = "read",
1486
+ /** column name */
1487
+ Title = "title",
1488
+ /** column name */
1489
+ Type = "type"
1490
+ }
1491
+ /** input type for updating data in table "notifications" */
1492
+ export type Notifications_Set_Input = {
1493
+ read?: InputMaybe<Scalars['Boolean']['input']>;
1494
+ };
1495
+ /** Streaming cursor of the table "notifications" */
1496
+ export type Notifications_Stream_Cursor_Input = {
1497
+ /** Stream column input with initial value */
1498
+ initial_value: Notifications_Stream_Cursor_Value_Input;
1499
+ /** cursor ordering */
1500
+ ordering?: InputMaybe<Cursor_Ordering>;
1501
+ };
1502
+ /** Initial value of the column from where the streaming should start */
1503
+ export type Notifications_Stream_Cursor_Value_Input = {
1504
+ body?: InputMaybe<Scalars['String']['input']>;
1505
+ created_at?: InputMaybe<Scalars['timestamptz']['input']>;
1506
+ id?: InputMaybe<Scalars['uuid']['input']>;
1507
+ metadata?: InputMaybe<Scalars['jsonb']['input']>;
1508
+ read?: InputMaybe<Scalars['Boolean']['input']>;
1509
+ title?: InputMaybe<Scalars['String']['input']>;
1510
+ type?: InputMaybe<Scalars['String']['input']>;
1511
+ };
1512
+ export type Notifications_Updates = {
1513
+ /** sets the columns of the filtered rows to the given values */
1514
+ _set?: InputMaybe<Notifications_Set_Input>;
1515
+ /** filter the rows which have to be updated */
1516
+ where: Notifications_Bool_Exp;
1517
+ };
1518
+ /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */
1519
+ export type Numeric_Comparison_Exp = {
1520
+ _eq?: InputMaybe<Scalars['numeric']['input']>;
1521
+ _gt?: InputMaybe<Scalars['numeric']['input']>;
1522
+ _gte?: InputMaybe<Scalars['numeric']['input']>;
1523
+ _in?: InputMaybe<Array<Scalars['numeric']['input']>>;
1524
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1525
+ _lt?: InputMaybe<Scalars['numeric']['input']>;
1526
+ _lte?: InputMaybe<Scalars['numeric']['input']>;
1527
+ _neq?: InputMaybe<Scalars['numeric']['input']>;
1528
+ _nin?: InputMaybe<Array<Scalars['numeric']['input']>>;
1529
+ };
1530
+ /** column ordering options */
1531
+ export declare enum Order_By {
1532
+ /** in ascending order, nulls last */
1533
+ Asc = "asc",
1534
+ /** in ascending order, nulls first */
1535
+ AscNullsFirst = "asc_nulls_first",
1536
+ /** in ascending order, nulls last */
1537
+ AscNullsLast = "asc_nulls_last",
1538
+ /** in descending order, nulls first */
1539
+ Desc = "desc",
1540
+ /** in descending order, nulls first */
1541
+ DescNullsFirst = "desc_nulls_first",
1542
+ /** in descending order, nulls last */
1543
+ DescNullsLast = "desc_nulls_last"
1544
+ }
1545
+ /** columns and relationships of "personal_access_tokens" */
1546
+ export type Personal_Access_Tokens = {
1547
+ __typename?: 'personal_access_tokens';
1548
+ created_at: Scalars['timestamptz']['output'];
1549
+ expires_at: Scalars['timestamptz']['output'];
1550
+ id: Scalars['uuid']['output'];
1551
+ last_used_at?: Maybe<Scalars['timestamptz']['output']>;
1552
+ name: Scalars['String']['output'];
1553
+ revoked_at?: Maybe<Scalars['timestamptz']['output']>;
1554
+ scopes: Array<Scalars['String']['output']>;
1555
+ };
1556
+ /** Boolean expression to filter rows from the table "personal_access_tokens". All fields are combined with a logical 'AND'. */
1557
+ export type Personal_Access_Tokens_Bool_Exp = {
1558
+ _and?: InputMaybe<Array<Personal_Access_Tokens_Bool_Exp>>;
1559
+ _not?: InputMaybe<Personal_Access_Tokens_Bool_Exp>;
1560
+ _or?: InputMaybe<Array<Personal_Access_Tokens_Bool_Exp>>;
1561
+ created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1562
+ expires_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1563
+ id?: InputMaybe<Uuid_Comparison_Exp>;
1564
+ last_used_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1565
+ name?: InputMaybe<String_Comparison_Exp>;
1566
+ revoked_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1567
+ scopes?: InputMaybe<String_Array_Comparison_Exp>;
1568
+ };
1569
+ /** Ordering options when selecting data from "personal_access_tokens". */
1570
+ export type Personal_Access_Tokens_Order_By = {
1571
+ created_at?: InputMaybe<Order_By>;
1572
+ expires_at?: InputMaybe<Order_By>;
1573
+ id?: InputMaybe<Order_By>;
1574
+ last_used_at?: InputMaybe<Order_By>;
1575
+ name?: InputMaybe<Order_By>;
1576
+ revoked_at?: InputMaybe<Order_By>;
964
1577
  scopes?: InputMaybe<Order_By>;
965
1578
  };
966
1579
  /** select columns of table "personal_access_tokens" */
@@ -1220,23 +1833,32 @@ export type Pipeline_Runs_Variance_Fields = {
1220
1833
  /** columns and relationships of "pipelines" */
1221
1834
  export type Pipelines = {
1222
1835
  __typename?: 'pipelines';
1836
+ cancellable: Scalars['Boolean']['output'];
1223
1837
  category: Scalars['String']['output'];
1224
- credit_cost: Scalars['Int']['output'];
1225
1838
  description?: Maybe<Scalars['String']['output']>;
1839
+ /** Structured metadata for AI orchestrators: best_for, avoid_for, limitations, output_characteristics, composability, quality_tips */
1840
+ hints: Scalars['jsonb']['output'];
1226
1841
  icon_url?: Maybe<Scalars['String']['output']>;
1227
1842
  id: Scalars['uuid']['output'];
1228
1843
  input_schema: Scalars['jsonb']['output'];
1844
+ is_active: Scalars['Boolean']['output'];
1229
1845
  name: Scalars['String']['output'];
1230
1846
  output_schema: Scalars['jsonb']['output'];
1231
1847
  preview_url?: Maybe<Scalars['String']['output']>;
1848
+ pricing: Scalars['jsonb']['output'];
1232
1849
  required_providers: Array<Scalars['String']['output']>;
1233
1850
  seo_content?: Maybe<Scalars['String']['output']>;
1234
1851
  seo_faq?: Maybe<Scalars['jsonb']['output']>;
1235
1852
  slug: Scalars['String']['output'];
1236
1853
  sort_order: Scalars['Int']['output'];
1854
+ tags: Array<Scalars['String']['output']>;
1237
1855
  ui_schema: Scalars['jsonb']['output'];
1238
1856
  };
1239
1857
  /** columns and relationships of "pipelines" */
1858
+ export type PipelinesHintsArgs = {
1859
+ path?: InputMaybe<Scalars['String']['input']>;
1860
+ };
1861
+ /** columns and relationships of "pipelines" */
1240
1862
  export type PipelinesInput_SchemaArgs = {
1241
1863
  path?: InputMaybe<Scalars['String']['input']>;
1242
1864
  };
@@ -1245,6 +1867,10 @@ export type PipelinesOutput_SchemaArgs = {
1245
1867
  path?: InputMaybe<Scalars['String']['input']>;
1246
1868
  };
1247
1869
  /** columns and relationships of "pipelines" */
1870
+ export type PipelinesPricingArgs = {
1871
+ path?: InputMaybe<Scalars['String']['input']>;
1872
+ };
1873
+ /** columns and relationships of "pipelines" */
1248
1874
  export type PipelinesSeo_FaqArgs = {
1249
1875
  path?: InputMaybe<Scalars['String']['input']>;
1250
1876
  };
@@ -1257,61 +1883,75 @@ export type Pipelines_Bool_Exp = {
1257
1883
  _and?: InputMaybe<Array<Pipelines_Bool_Exp>>;
1258
1884
  _not?: InputMaybe<Pipelines_Bool_Exp>;
1259
1885
  _or?: InputMaybe<Array<Pipelines_Bool_Exp>>;
1886
+ cancellable?: InputMaybe<Boolean_Comparison_Exp>;
1260
1887
  category?: InputMaybe<String_Comparison_Exp>;
1261
- credit_cost?: InputMaybe<Int_Comparison_Exp>;
1262
1888
  description?: InputMaybe<String_Comparison_Exp>;
1889
+ hints?: InputMaybe<Jsonb_Comparison_Exp>;
1263
1890
  icon_url?: InputMaybe<String_Comparison_Exp>;
1264
1891
  id?: InputMaybe<Uuid_Comparison_Exp>;
1265
1892
  input_schema?: InputMaybe<Jsonb_Comparison_Exp>;
1893
+ is_active?: InputMaybe<Boolean_Comparison_Exp>;
1266
1894
  name?: InputMaybe<String_Comparison_Exp>;
1267
1895
  output_schema?: InputMaybe<Jsonb_Comparison_Exp>;
1268
1896
  preview_url?: InputMaybe<String_Comparison_Exp>;
1897
+ pricing?: InputMaybe<Jsonb_Comparison_Exp>;
1269
1898
  required_providers?: InputMaybe<String_Array_Comparison_Exp>;
1270
1899
  seo_content?: InputMaybe<String_Comparison_Exp>;
1271
1900
  seo_faq?: InputMaybe<Jsonb_Comparison_Exp>;
1272
1901
  slug?: InputMaybe<String_Comparison_Exp>;
1273
1902
  sort_order?: InputMaybe<Int_Comparison_Exp>;
1903
+ tags?: InputMaybe<String_Array_Comparison_Exp>;
1274
1904
  ui_schema?: InputMaybe<Jsonb_Comparison_Exp>;
1275
1905
  };
1276
1906
  /** Ordering options when selecting data from "pipelines". */
1277
1907
  export type Pipelines_Order_By = {
1908
+ cancellable?: InputMaybe<Order_By>;
1278
1909
  category?: InputMaybe<Order_By>;
1279
- credit_cost?: InputMaybe<Order_By>;
1280
1910
  description?: InputMaybe<Order_By>;
1911
+ hints?: InputMaybe<Order_By>;
1281
1912
  icon_url?: InputMaybe<Order_By>;
1282
1913
  id?: InputMaybe<Order_By>;
1283
1914
  input_schema?: InputMaybe<Order_By>;
1915
+ is_active?: InputMaybe<Order_By>;
1284
1916
  name?: InputMaybe<Order_By>;
1285
1917
  output_schema?: InputMaybe<Order_By>;
1286
1918
  preview_url?: InputMaybe<Order_By>;
1919
+ pricing?: InputMaybe<Order_By>;
1287
1920
  required_providers?: InputMaybe<Order_By>;
1288
1921
  seo_content?: InputMaybe<Order_By>;
1289
1922
  seo_faq?: InputMaybe<Order_By>;
1290
1923
  slug?: InputMaybe<Order_By>;
1291
1924
  sort_order?: InputMaybe<Order_By>;
1925
+ tags?: InputMaybe<Order_By>;
1292
1926
  ui_schema?: InputMaybe<Order_By>;
1293
1927
  };
1294
1928
  /** select columns of table "pipelines" */
1295
1929
  export declare enum Pipelines_Select_Column {
1296
1930
  /** column name */
1297
- Category = "category",
1931
+ Cancellable = "cancellable",
1298
1932
  /** column name */
1299
- CreditCost = "credit_cost",
1933
+ Category = "category",
1300
1934
  /** column name */
1301
1935
  Description = "description",
1302
1936
  /** column name */
1937
+ Hints = "hints",
1938
+ /** column name */
1303
1939
  IconUrl = "icon_url",
1304
1940
  /** column name */
1305
1941
  Id = "id",
1306
1942
  /** column name */
1307
1943
  InputSchema = "input_schema",
1308
1944
  /** column name */
1945
+ IsActive = "is_active",
1946
+ /** column name */
1309
1947
  Name = "name",
1310
1948
  /** column name */
1311
1949
  OutputSchema = "output_schema",
1312
1950
  /** column name */
1313
1951
  PreviewUrl = "preview_url",
1314
1952
  /** column name */
1953
+ Pricing = "pricing",
1954
+ /** column name */
1315
1955
  RequiredProviders = "required_providers",
1316
1956
  /** column name */
1317
1957
  SeoContent = "seo_content",
@@ -1322,6 +1962,8 @@ export declare enum Pipelines_Select_Column {
1322
1962
  /** column name */
1323
1963
  SortOrder = "sort_order",
1324
1964
  /** column name */
1965
+ Tags = "tags",
1966
+ /** column name */
1325
1967
  UiSchema = "ui_schema"
1326
1968
  }
1327
1969
  /** Streaming cursor of the table "pipelines" */
@@ -1333,39 +1975,271 @@ export type Pipelines_Stream_Cursor_Input = {
1333
1975
  };
1334
1976
  /** Initial value of the column from where the streaming should start */
1335
1977
  export type Pipelines_Stream_Cursor_Value_Input = {
1978
+ cancellable?: InputMaybe<Scalars['Boolean']['input']>;
1336
1979
  category?: InputMaybe<Scalars['String']['input']>;
1337
- credit_cost?: InputMaybe<Scalars['Int']['input']>;
1338
1980
  description?: InputMaybe<Scalars['String']['input']>;
1981
+ /** Structured metadata for AI orchestrators: best_for, avoid_for, limitations, output_characteristics, composability, quality_tips */
1982
+ hints?: InputMaybe<Scalars['jsonb']['input']>;
1339
1983
  icon_url?: InputMaybe<Scalars['String']['input']>;
1340
1984
  id?: InputMaybe<Scalars['uuid']['input']>;
1341
1985
  input_schema?: InputMaybe<Scalars['jsonb']['input']>;
1986
+ is_active?: InputMaybe<Scalars['Boolean']['input']>;
1342
1987
  name?: InputMaybe<Scalars['String']['input']>;
1343
1988
  output_schema?: InputMaybe<Scalars['jsonb']['input']>;
1344
1989
  preview_url?: InputMaybe<Scalars['String']['input']>;
1990
+ pricing?: InputMaybe<Scalars['jsonb']['input']>;
1345
1991
  required_providers?: InputMaybe<Array<Scalars['String']['input']>>;
1346
1992
  seo_content?: InputMaybe<Scalars['String']['input']>;
1347
1993
  seo_faq?: InputMaybe<Scalars['jsonb']['input']>;
1348
1994
  slug?: InputMaybe<Scalars['String']['input']>;
1349
1995
  sort_order?: InputMaybe<Scalars['Int']['input']>;
1996
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
1350
1997
  ui_schema?: InputMaybe<Scalars['jsonb']['input']>;
1351
1998
  };
1999
+ /** columns and relationships of "plan_versions" */
2000
+ export type Plan_Versions = {
2001
+ __typename?: 'plan_versions';
2002
+ created_at: Scalars['timestamptz']['output'];
2003
+ deprecated_at?: Maybe<Scalars['timestamptz']['output']>;
2004
+ id: Scalars['uuid']['output'];
2005
+ is_current: Scalars['Boolean']['output'];
2006
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2007
+ max_storage_bytes: Scalars['bigint']['output'];
2008
+ /** Per-asset-type upload caps as JSON: {"image": <bytes>, "video": <bytes>, "audio": <bytes>}. */
2009
+ max_upload_bytes: Scalars['jsonb']['output'];
2010
+ monthly_credits: Scalars['Int']['output'];
2011
+ /** An object relationship */
2012
+ plan: Plans;
2013
+ plan_id: Scalars['uuid']['output'];
2014
+ price_cents: Scalars['Int']['output'];
2015
+ /** An array relationship */
2016
+ subscriptions: Array<Subscriptions>;
2017
+ version: Scalars['Int']['output'];
2018
+ whop_plan_id?: Maybe<Scalars['String']['output']>;
2019
+ };
2020
+ /** columns and relationships of "plan_versions" */
2021
+ export type Plan_VersionsMax_Upload_BytesArgs = {
2022
+ path?: InputMaybe<Scalars['String']['input']>;
2023
+ };
2024
+ /** columns and relationships of "plan_versions" */
2025
+ export type Plan_VersionsSubscriptionsArgs = {
2026
+ distinct_on?: InputMaybe<Array<Subscriptions_Select_Column>>;
2027
+ limit?: InputMaybe<Scalars['Int']['input']>;
2028
+ offset?: InputMaybe<Scalars['Int']['input']>;
2029
+ order_by?: InputMaybe<Array<Subscriptions_Order_By>>;
2030
+ where?: InputMaybe<Subscriptions_Bool_Exp>;
2031
+ };
2032
+ /** order by aggregate values of table "plan_versions" */
2033
+ export type Plan_Versions_Aggregate_Order_By = {
2034
+ avg?: InputMaybe<Plan_Versions_Avg_Order_By>;
2035
+ count?: InputMaybe<Order_By>;
2036
+ max?: InputMaybe<Plan_Versions_Max_Order_By>;
2037
+ min?: InputMaybe<Plan_Versions_Min_Order_By>;
2038
+ stddev?: InputMaybe<Plan_Versions_Stddev_Order_By>;
2039
+ stddev_pop?: InputMaybe<Plan_Versions_Stddev_Pop_Order_By>;
2040
+ stddev_samp?: InputMaybe<Plan_Versions_Stddev_Samp_Order_By>;
2041
+ sum?: InputMaybe<Plan_Versions_Sum_Order_By>;
2042
+ var_pop?: InputMaybe<Plan_Versions_Var_Pop_Order_By>;
2043
+ var_samp?: InputMaybe<Plan_Versions_Var_Samp_Order_By>;
2044
+ variance?: InputMaybe<Plan_Versions_Variance_Order_By>;
2045
+ };
2046
+ /** order by avg() on columns of table "plan_versions" */
2047
+ export type Plan_Versions_Avg_Order_By = {
2048
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2049
+ max_storage_bytes?: InputMaybe<Order_By>;
2050
+ monthly_credits?: InputMaybe<Order_By>;
2051
+ price_cents?: InputMaybe<Order_By>;
2052
+ version?: InputMaybe<Order_By>;
2053
+ };
2054
+ /** Boolean expression to filter rows from the table "plan_versions". All fields are combined with a logical 'AND'. */
2055
+ export type Plan_Versions_Bool_Exp = {
2056
+ _and?: InputMaybe<Array<Plan_Versions_Bool_Exp>>;
2057
+ _not?: InputMaybe<Plan_Versions_Bool_Exp>;
2058
+ _or?: InputMaybe<Array<Plan_Versions_Bool_Exp>>;
2059
+ created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2060
+ deprecated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2061
+ id?: InputMaybe<Uuid_Comparison_Exp>;
2062
+ is_current?: InputMaybe<Boolean_Comparison_Exp>;
2063
+ max_storage_bytes?: InputMaybe<Bigint_Comparison_Exp>;
2064
+ max_upload_bytes?: InputMaybe<Jsonb_Comparison_Exp>;
2065
+ monthly_credits?: InputMaybe<Int_Comparison_Exp>;
2066
+ plan?: InputMaybe<Plans_Bool_Exp>;
2067
+ plan_id?: InputMaybe<Uuid_Comparison_Exp>;
2068
+ price_cents?: InputMaybe<Int_Comparison_Exp>;
2069
+ subscriptions?: InputMaybe<Subscriptions_Bool_Exp>;
2070
+ version?: InputMaybe<Int_Comparison_Exp>;
2071
+ whop_plan_id?: InputMaybe<String_Comparison_Exp>;
2072
+ };
2073
+ /** order by max() on columns of table "plan_versions" */
2074
+ export type Plan_Versions_Max_Order_By = {
2075
+ created_at?: InputMaybe<Order_By>;
2076
+ deprecated_at?: InputMaybe<Order_By>;
2077
+ id?: InputMaybe<Order_By>;
2078
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2079
+ max_storage_bytes?: InputMaybe<Order_By>;
2080
+ monthly_credits?: InputMaybe<Order_By>;
2081
+ plan_id?: InputMaybe<Order_By>;
2082
+ price_cents?: InputMaybe<Order_By>;
2083
+ version?: InputMaybe<Order_By>;
2084
+ whop_plan_id?: InputMaybe<Order_By>;
2085
+ };
2086
+ /** order by min() on columns of table "plan_versions" */
2087
+ export type Plan_Versions_Min_Order_By = {
2088
+ created_at?: InputMaybe<Order_By>;
2089
+ deprecated_at?: InputMaybe<Order_By>;
2090
+ id?: InputMaybe<Order_By>;
2091
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2092
+ max_storage_bytes?: InputMaybe<Order_By>;
2093
+ monthly_credits?: InputMaybe<Order_By>;
2094
+ plan_id?: InputMaybe<Order_By>;
2095
+ price_cents?: InputMaybe<Order_By>;
2096
+ version?: InputMaybe<Order_By>;
2097
+ whop_plan_id?: InputMaybe<Order_By>;
2098
+ };
2099
+ /** Ordering options when selecting data from "plan_versions". */
2100
+ export type Plan_Versions_Order_By = {
2101
+ created_at?: InputMaybe<Order_By>;
2102
+ deprecated_at?: InputMaybe<Order_By>;
2103
+ id?: InputMaybe<Order_By>;
2104
+ is_current?: InputMaybe<Order_By>;
2105
+ max_storage_bytes?: InputMaybe<Order_By>;
2106
+ max_upload_bytes?: InputMaybe<Order_By>;
2107
+ monthly_credits?: InputMaybe<Order_By>;
2108
+ plan?: InputMaybe<Plans_Order_By>;
2109
+ plan_id?: InputMaybe<Order_By>;
2110
+ price_cents?: InputMaybe<Order_By>;
2111
+ subscriptions_aggregate?: InputMaybe<Subscriptions_Aggregate_Order_By>;
2112
+ version?: InputMaybe<Order_By>;
2113
+ whop_plan_id?: InputMaybe<Order_By>;
2114
+ };
2115
+ /** select columns of table "plan_versions" */
2116
+ export declare enum Plan_Versions_Select_Column {
2117
+ /** column name */
2118
+ CreatedAt = "created_at",
2119
+ /** column name */
2120
+ DeprecatedAt = "deprecated_at",
2121
+ /** column name */
2122
+ Id = "id",
2123
+ /** column name */
2124
+ IsCurrent = "is_current",
2125
+ /** column name */
2126
+ MaxStorageBytes = "max_storage_bytes",
2127
+ /** column name */
2128
+ MaxUploadBytes = "max_upload_bytes",
2129
+ /** column name */
2130
+ MonthlyCredits = "monthly_credits",
2131
+ /** column name */
2132
+ PlanId = "plan_id",
2133
+ /** column name */
2134
+ PriceCents = "price_cents",
2135
+ /** column name */
2136
+ Version = "version",
2137
+ /** column name */
2138
+ WhopPlanId = "whop_plan_id"
2139
+ }
2140
+ /** order by stddev() on columns of table "plan_versions" */
2141
+ export type Plan_Versions_Stddev_Order_By = {
2142
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2143
+ max_storage_bytes?: InputMaybe<Order_By>;
2144
+ monthly_credits?: InputMaybe<Order_By>;
2145
+ price_cents?: InputMaybe<Order_By>;
2146
+ version?: InputMaybe<Order_By>;
2147
+ };
2148
+ /** order by stddev_pop() on columns of table "plan_versions" */
2149
+ export type Plan_Versions_Stddev_Pop_Order_By = {
2150
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2151
+ max_storage_bytes?: InputMaybe<Order_By>;
2152
+ monthly_credits?: InputMaybe<Order_By>;
2153
+ price_cents?: InputMaybe<Order_By>;
2154
+ version?: InputMaybe<Order_By>;
2155
+ };
2156
+ /** order by stddev_samp() on columns of table "plan_versions" */
2157
+ export type Plan_Versions_Stddev_Samp_Order_By = {
2158
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2159
+ max_storage_bytes?: InputMaybe<Order_By>;
2160
+ monthly_credits?: InputMaybe<Order_By>;
2161
+ price_cents?: InputMaybe<Order_By>;
2162
+ version?: InputMaybe<Order_By>;
2163
+ };
2164
+ /** Streaming cursor of the table "plan_versions" */
2165
+ export type Plan_Versions_Stream_Cursor_Input = {
2166
+ /** Stream column input with initial value */
2167
+ initial_value: Plan_Versions_Stream_Cursor_Value_Input;
2168
+ /** cursor ordering */
2169
+ ordering?: InputMaybe<Cursor_Ordering>;
2170
+ };
2171
+ /** Initial value of the column from where the streaming should start */
2172
+ export type Plan_Versions_Stream_Cursor_Value_Input = {
2173
+ created_at?: InputMaybe<Scalars['timestamptz']['input']>;
2174
+ deprecated_at?: InputMaybe<Scalars['timestamptz']['input']>;
2175
+ id?: InputMaybe<Scalars['uuid']['input']>;
2176
+ is_current?: InputMaybe<Scalars['Boolean']['input']>;
2177
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2178
+ max_storage_bytes?: InputMaybe<Scalars['bigint']['input']>;
2179
+ /** Per-asset-type upload caps as JSON: {"image": <bytes>, "video": <bytes>, "audio": <bytes>}. */
2180
+ max_upload_bytes?: InputMaybe<Scalars['jsonb']['input']>;
2181
+ monthly_credits?: InputMaybe<Scalars['Int']['input']>;
2182
+ plan_id?: InputMaybe<Scalars['uuid']['input']>;
2183
+ price_cents?: InputMaybe<Scalars['Int']['input']>;
2184
+ version?: InputMaybe<Scalars['Int']['input']>;
2185
+ whop_plan_id?: InputMaybe<Scalars['String']['input']>;
2186
+ };
2187
+ /** order by sum() on columns of table "plan_versions" */
2188
+ export type Plan_Versions_Sum_Order_By = {
2189
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2190
+ max_storage_bytes?: InputMaybe<Order_By>;
2191
+ monthly_credits?: InputMaybe<Order_By>;
2192
+ price_cents?: InputMaybe<Order_By>;
2193
+ version?: InputMaybe<Order_By>;
2194
+ };
2195
+ /** order by var_pop() on columns of table "plan_versions" */
2196
+ export type Plan_Versions_Var_Pop_Order_By = {
2197
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2198
+ max_storage_bytes?: InputMaybe<Order_By>;
2199
+ monthly_credits?: InputMaybe<Order_By>;
2200
+ price_cents?: InputMaybe<Order_By>;
2201
+ version?: InputMaybe<Order_By>;
2202
+ };
2203
+ /** order by var_samp() on columns of table "plan_versions" */
2204
+ export type Plan_Versions_Var_Samp_Order_By = {
2205
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2206
+ max_storage_bytes?: InputMaybe<Order_By>;
2207
+ monthly_credits?: InputMaybe<Order_By>;
2208
+ price_cents?: InputMaybe<Order_By>;
2209
+ version?: InputMaybe<Order_By>;
2210
+ };
2211
+ /** order by variance() on columns of table "plan_versions" */
2212
+ export type Plan_Versions_Variance_Order_By = {
2213
+ /** Total library size cap in bytes. 0 means no quota seeded yet (treat as denied). */
2214
+ max_storage_bytes?: InputMaybe<Order_By>;
2215
+ monthly_credits?: InputMaybe<Order_By>;
2216
+ price_cents?: InputMaybe<Order_By>;
2217
+ version?: InputMaybe<Order_By>;
2218
+ };
1352
2219
  /** columns and relationships of "plans" */
1353
2220
  export type Plans = {
1354
2221
  __typename?: 'plans';
1355
2222
  description?: Maybe<Scalars['String']['output']>;
1356
2223
  features: Scalars['jsonb']['output'];
1357
2224
  id: Scalars['uuid']['output'];
1358
- monthly_credits: Scalars['Int']['output'];
1359
2225
  name: Scalars['String']['output'];
1360
- price_cents: Scalars['Int']['output'];
1361
2226
  slug: Scalars['String']['output'];
1362
2227
  sort_order: Scalars['Int']['output'];
1363
- whop_plan_id?: Maybe<Scalars['String']['output']>;
2228
+ /** An array relationship */
2229
+ versions: Array<Plan_Versions>;
1364
2230
  };
1365
2231
  /** columns and relationships of "plans" */
1366
2232
  export type PlansFeaturesArgs = {
1367
2233
  path?: InputMaybe<Scalars['String']['input']>;
1368
2234
  };
2235
+ /** columns and relationships of "plans" */
2236
+ export type PlansVersionsArgs = {
2237
+ distinct_on?: InputMaybe<Array<Plan_Versions_Select_Column>>;
2238
+ limit?: InputMaybe<Scalars['Int']['input']>;
2239
+ offset?: InputMaybe<Scalars['Int']['input']>;
2240
+ order_by?: InputMaybe<Array<Plan_Versions_Order_By>>;
2241
+ where?: InputMaybe<Plan_Versions_Bool_Exp>;
2242
+ };
1369
2243
  /** Boolean expression to filter rows from the table "plans". All fields are combined with a logical 'AND'. */
1370
2244
  export type Plans_Bool_Exp = {
1371
2245
  _and?: InputMaybe<Array<Plans_Bool_Exp>>;
@@ -1374,24 +2248,20 @@ export type Plans_Bool_Exp = {
1374
2248
  description?: InputMaybe<String_Comparison_Exp>;
1375
2249
  features?: InputMaybe<Jsonb_Comparison_Exp>;
1376
2250
  id?: InputMaybe<Uuid_Comparison_Exp>;
1377
- monthly_credits?: InputMaybe<Int_Comparison_Exp>;
1378
2251
  name?: InputMaybe<String_Comparison_Exp>;
1379
- price_cents?: InputMaybe<Int_Comparison_Exp>;
1380
2252
  slug?: InputMaybe<String_Comparison_Exp>;
1381
2253
  sort_order?: InputMaybe<Int_Comparison_Exp>;
1382
- whop_plan_id?: InputMaybe<String_Comparison_Exp>;
2254
+ versions?: InputMaybe<Plan_Versions_Bool_Exp>;
1383
2255
  };
1384
2256
  /** Ordering options when selecting data from "plans". */
1385
2257
  export type Plans_Order_By = {
1386
2258
  description?: InputMaybe<Order_By>;
1387
2259
  features?: InputMaybe<Order_By>;
1388
2260
  id?: InputMaybe<Order_By>;
1389
- monthly_credits?: InputMaybe<Order_By>;
1390
2261
  name?: InputMaybe<Order_By>;
1391
- price_cents?: InputMaybe<Order_By>;
1392
2262
  slug?: InputMaybe<Order_By>;
1393
2263
  sort_order?: InputMaybe<Order_By>;
1394
- whop_plan_id?: InputMaybe<Order_By>;
2264
+ versions_aggregate?: InputMaybe<Plan_Versions_Aggregate_Order_By>;
1395
2265
  };
1396
2266
  /** select columns of table "plans" */
1397
2267
  export declare enum Plans_Select_Column {
@@ -1402,17 +2272,11 @@ export declare enum Plans_Select_Column {
1402
2272
  /** column name */
1403
2273
  Id = "id",
1404
2274
  /** column name */
1405
- MonthlyCredits = "monthly_credits",
1406
- /** column name */
1407
2275
  Name = "name",
1408
2276
  /** column name */
1409
- PriceCents = "price_cents",
1410
- /** column name */
1411
2277
  Slug = "slug",
1412
2278
  /** column name */
1413
- SortOrder = "sort_order",
1414
- /** column name */
1415
- WhopPlanId = "whop_plan_id"
2279
+ SortOrder = "sort_order"
1416
2280
  }
1417
2281
  /** Streaming cursor of the table "plans" */
1418
2282
  export type Plans_Stream_Cursor_Input = {
@@ -1426,12 +2290,9 @@ export type Plans_Stream_Cursor_Value_Input = {
1426
2290
  description?: InputMaybe<Scalars['String']['input']>;
1427
2291
  features?: InputMaybe<Scalars['jsonb']['input']>;
1428
2292
  id?: InputMaybe<Scalars['uuid']['input']>;
1429
- monthly_credits?: InputMaybe<Scalars['Int']['input']>;
1430
2293
  name?: InputMaybe<Scalars['String']['input']>;
1431
- price_cents?: InputMaybe<Scalars['Int']['input']>;
1432
2294
  slug?: InputMaybe<Scalars['String']['input']>;
1433
2295
  sort_order?: InputMaybe<Scalars['Int']['input']>;
1434
- whop_plan_id?: InputMaybe<Scalars['String']['input']>;
1435
2296
  };
1436
2297
  export type Query_Root = {
1437
2298
  __typename?: 'query_root';
@@ -1449,6 +2310,10 @@ export type Query_Root = {
1449
2310
  assets_aggregate: Assets_Aggregate;
1450
2311
  /** fetch data from the table: "assets" using primary key columns */
1451
2312
  assets_by_pk?: Maybe<Assets>;
2313
+ /** fetch data from the table: "credit_pack_versions" */
2314
+ credit_pack_versions: Array<Credit_Pack_Versions>;
2315
+ /** fetch data from the table: "credit_pack_versions" using primary key columns */
2316
+ credit_pack_versions_by_pk?: Maybe<Credit_Pack_Versions>;
1452
2317
  /** fetch data from the table: "credit_packs" */
1453
2318
  credit_packs: Array<Credit_Packs>;
1454
2319
  /** fetch data from the table: "credit_packs" using primary key columns */
@@ -1463,6 +2328,12 @@ export type Query_Root = {
1463
2328
  get_credit_history: Array<Credit_History_Entry>;
1464
2329
  /** Get affiliate referral stats and referred users */
1465
2330
  get_my_referrals: Get_My_Referrals_Output;
2331
+ /** fetch data from the table: "notifications" */
2332
+ notifications: Array<Notifications>;
2333
+ /** fetch aggregated fields from the table: "notifications" */
2334
+ notifications_aggregate: Notifications_Aggregate;
2335
+ /** fetch data from the table: "notifications" using primary key columns */
2336
+ notifications_by_pk?: Maybe<Notifications>;
1466
2337
  /** fetch data from the table: "personal_access_tokens" */
1467
2338
  personal_access_tokens: Array<Personal_Access_Tokens>;
1468
2339
  /** fetch data from the table: "personal_access_tokens" using primary key columns */
@@ -1477,11 +2348,15 @@ export type Query_Root = {
1477
2348
  pipelines: Array<Pipelines>;
1478
2349
  /** fetch data from the table: "pipelines" using primary key columns */
1479
2350
  pipelines_by_pk?: Maybe<Pipelines>;
2351
+ /** fetch data from the table: "plan_versions" */
2352
+ plan_versions: Array<Plan_Versions>;
2353
+ /** fetch data from the table: "plan_versions" using primary key columns */
2354
+ plan_versions_by_pk?: Maybe<Plan_Versions>;
1480
2355
  /** fetch data from the table: "plans" */
1481
2356
  plans: Array<Plans>;
1482
2357
  /** fetch data from the table: "plans" using primary key columns */
1483
2358
  plans_by_pk?: Maybe<Plans>;
1484
- /** fetch data from the table: "subscriptions" */
2359
+ /** An array relationship */
1485
2360
  subscriptions: Array<Subscriptions>;
1486
2361
  /** fetch data from the table: "subscriptions" using primary key columns */
1487
2362
  subscriptions_by_pk?: Maybe<Subscriptions>;
@@ -1523,6 +2398,16 @@ export type Query_RootAssets_AggregateArgs = {
1523
2398
  export type Query_RootAssets_By_PkArgs = {
1524
2399
  id: Scalars['uuid']['input'];
1525
2400
  };
2401
+ export type Query_RootCredit_Pack_VersionsArgs = {
2402
+ distinct_on?: InputMaybe<Array<Credit_Pack_Versions_Select_Column>>;
2403
+ limit?: InputMaybe<Scalars['Int']['input']>;
2404
+ offset?: InputMaybe<Scalars['Int']['input']>;
2405
+ order_by?: InputMaybe<Array<Credit_Pack_Versions_Order_By>>;
2406
+ where?: InputMaybe<Credit_Pack_Versions_Bool_Exp>;
2407
+ };
2408
+ export type Query_RootCredit_Pack_Versions_By_PkArgs = {
2409
+ id: Scalars['uuid']['input'];
2410
+ };
1526
2411
  export type Query_RootCredit_PacksArgs = {
1527
2412
  distinct_on?: InputMaybe<Array<Credit_Packs_Select_Column>>;
1528
2413
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1540,6 +2425,23 @@ export type Query_RootExecutions_VisibilityArgs = {
1540
2425
  order_by?: InputMaybe<Array<Executions_Visibility_Order_By>>;
1541
2426
  where?: InputMaybe<Executions_Visibility_Bool_Exp>;
1542
2427
  };
2428
+ export type Query_RootNotificationsArgs = {
2429
+ distinct_on?: InputMaybe<Array<Notifications_Select_Column>>;
2430
+ limit?: InputMaybe<Scalars['Int']['input']>;
2431
+ offset?: InputMaybe<Scalars['Int']['input']>;
2432
+ order_by?: InputMaybe<Array<Notifications_Order_By>>;
2433
+ where?: InputMaybe<Notifications_Bool_Exp>;
2434
+ };
2435
+ export type Query_RootNotifications_AggregateArgs = {
2436
+ distinct_on?: InputMaybe<Array<Notifications_Select_Column>>;
2437
+ limit?: InputMaybe<Scalars['Int']['input']>;
2438
+ offset?: InputMaybe<Scalars['Int']['input']>;
2439
+ order_by?: InputMaybe<Array<Notifications_Order_By>>;
2440
+ where?: InputMaybe<Notifications_Bool_Exp>;
2441
+ };
2442
+ export type Query_RootNotifications_By_PkArgs = {
2443
+ id: Scalars['uuid']['input'];
2444
+ };
1543
2445
  export type Query_RootPersonal_Access_TokensArgs = {
1544
2446
  distinct_on?: InputMaybe<Array<Personal_Access_Tokens_Select_Column>>;
1545
2447
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1577,6 +2479,16 @@ export type Query_RootPipelinesArgs = {
1577
2479
  export type Query_RootPipelines_By_PkArgs = {
1578
2480
  id: Scalars['uuid']['input'];
1579
2481
  };
2482
+ export type Query_RootPlan_VersionsArgs = {
2483
+ distinct_on?: InputMaybe<Array<Plan_Versions_Select_Column>>;
2484
+ limit?: InputMaybe<Scalars['Int']['input']>;
2485
+ offset?: InputMaybe<Scalars['Int']['input']>;
2486
+ order_by?: InputMaybe<Array<Plan_Versions_Order_By>>;
2487
+ where?: InputMaybe<Plan_Versions_Bool_Exp>;
2488
+ };
2489
+ export type Query_RootPlan_Versions_By_PkArgs = {
2490
+ id: Scalars['uuid']['input'];
2491
+ };
1580
2492
  export type Query_RootPlansArgs = {
1581
2493
  distinct_on?: InputMaybe<Array<Plans_Select_Column>>;
1582
2494
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1607,6 +2519,28 @@ export type Referral_Entry = {
1607
2519
  subscription_status: Scalars['String']['output'];
1608
2520
  user_id: Scalars['String']['output'];
1609
2521
  };
2522
+ export type Request_Account_Deletion_Output = {
2523
+ __typename?: 'request_account_deletion_output';
2524
+ expires_at: Scalars['String']['output'];
2525
+ message: Scalars['String']['output'];
2526
+ success: Scalars['Boolean']['output'];
2527
+ };
2528
+ export type Request_Avatar_Upload_Output = {
2529
+ __typename?: 'request_avatar_upload_output';
2530
+ asset_url: Scalars['String']['output'];
2531
+ key: Scalars['String']['output'];
2532
+ max_size: Scalars['Int']['output'];
2533
+ success: Scalars['Boolean']['output'];
2534
+ upload_url: Scalars['String']['output'];
2535
+ };
2536
+ export type Request_Multipart_Upload_Output = {
2537
+ __typename?: 'request_multipart_upload_output';
2538
+ asset_url: Scalars['String']['output'];
2539
+ key: Scalars['String']['output'];
2540
+ part_size: Scalars['bigint']['output'];
2541
+ part_urls: Array<Multipart_Part_Url>;
2542
+ upload_id: Scalars['String']['output'];
2543
+ };
1610
2544
  export type Request_Upload_Output = {
1611
2545
  __typename?: 'request_upload_output';
1612
2546
  asset_url: Scalars['String']['output'];
@@ -1650,6 +2584,12 @@ export type Subscription_Root = {
1650
2584
  assets_by_pk?: Maybe<Assets>;
1651
2585
  /** fetch data from the table in a streaming manner: "assets" */
1652
2586
  assets_stream: Array<Assets>;
2587
+ /** fetch data from the table: "credit_pack_versions" */
2588
+ credit_pack_versions: Array<Credit_Pack_Versions>;
2589
+ /** fetch data from the table: "credit_pack_versions" using primary key columns */
2590
+ credit_pack_versions_by_pk?: Maybe<Credit_Pack_Versions>;
2591
+ /** fetch data from the table in a streaming manner: "credit_pack_versions" */
2592
+ credit_pack_versions_stream: Array<Credit_Pack_Versions>;
1653
2593
  /** fetch data from the table: "credit_packs" */
1654
2594
  credit_packs: Array<Credit_Packs>;
1655
2595
  /** fetch data from the table: "credit_packs" using primary key columns */
@@ -1660,6 +2600,14 @@ export type Subscription_Root = {
1660
2600
  executions_visibility: Array<Executions_Visibility>;
1661
2601
  /** fetch data from the table in a streaming manner: "executions_visibility" */
1662
2602
  executions_visibility_stream: Array<Executions_Visibility>;
2603
+ /** fetch data from the table: "notifications" */
2604
+ notifications: Array<Notifications>;
2605
+ /** fetch aggregated fields from the table: "notifications" */
2606
+ notifications_aggregate: Notifications_Aggregate;
2607
+ /** fetch data from the table: "notifications" using primary key columns */
2608
+ notifications_by_pk?: Maybe<Notifications>;
2609
+ /** fetch data from the table in a streaming manner: "notifications" */
2610
+ notifications_stream: Array<Notifications>;
1663
2611
  /** fetch data from the table: "personal_access_tokens" */
1664
2612
  personal_access_tokens: Array<Personal_Access_Tokens>;
1665
2613
  /** fetch data from the table: "personal_access_tokens" using primary key columns */
@@ -1680,13 +2628,19 @@ export type Subscription_Root = {
1680
2628
  pipelines_by_pk?: Maybe<Pipelines>;
1681
2629
  /** fetch data from the table in a streaming manner: "pipelines" */
1682
2630
  pipelines_stream: Array<Pipelines>;
2631
+ /** fetch data from the table: "plan_versions" */
2632
+ plan_versions: Array<Plan_Versions>;
2633
+ /** fetch data from the table: "plan_versions" using primary key columns */
2634
+ plan_versions_by_pk?: Maybe<Plan_Versions>;
2635
+ /** fetch data from the table in a streaming manner: "plan_versions" */
2636
+ plan_versions_stream: Array<Plan_Versions>;
1683
2637
  /** fetch data from the table: "plans" */
1684
2638
  plans: Array<Plans>;
1685
2639
  /** fetch data from the table: "plans" using primary key columns */
1686
2640
  plans_by_pk?: Maybe<Plans>;
1687
2641
  /** fetch data from the table in a streaming manner: "plans" */
1688
2642
  plans_stream: Array<Plans>;
1689
- /** fetch data from the table: "subscriptions" */
2643
+ /** An array relationship */
1690
2644
  subscriptions: Array<Subscriptions>;
1691
2645
  /** fetch data from the table: "subscriptions" using primary key columns */
1692
2646
  subscriptions_by_pk?: Maybe<Subscriptions>;
@@ -1745,6 +2699,21 @@ export type Subscription_RootAssets_StreamArgs = {
1745
2699
  cursor: Array<InputMaybe<Assets_Stream_Cursor_Input>>;
1746
2700
  where?: InputMaybe<Assets_Bool_Exp>;
1747
2701
  };
2702
+ export type Subscription_RootCredit_Pack_VersionsArgs = {
2703
+ distinct_on?: InputMaybe<Array<Credit_Pack_Versions_Select_Column>>;
2704
+ limit?: InputMaybe<Scalars['Int']['input']>;
2705
+ offset?: InputMaybe<Scalars['Int']['input']>;
2706
+ order_by?: InputMaybe<Array<Credit_Pack_Versions_Order_By>>;
2707
+ where?: InputMaybe<Credit_Pack_Versions_Bool_Exp>;
2708
+ };
2709
+ export type Subscription_RootCredit_Pack_Versions_By_PkArgs = {
2710
+ id: Scalars['uuid']['input'];
2711
+ };
2712
+ export type Subscription_RootCredit_Pack_Versions_StreamArgs = {
2713
+ batch_size: Scalars['Int']['input'];
2714
+ cursor: Array<InputMaybe<Credit_Pack_Versions_Stream_Cursor_Input>>;
2715
+ where?: InputMaybe<Credit_Pack_Versions_Bool_Exp>;
2716
+ };
1748
2717
  export type Subscription_RootCredit_PacksArgs = {
1749
2718
  distinct_on?: InputMaybe<Array<Credit_Packs_Select_Column>>;
1750
2719
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1769,8 +2738,30 @@ export type Subscription_RootExecutions_VisibilityArgs = {
1769
2738
  };
1770
2739
  export type Subscription_RootExecutions_Visibility_StreamArgs = {
1771
2740
  batch_size: Scalars['Int']['input'];
1772
- cursor: Array<InputMaybe<Executions_Visibility_Stream_Cursor_Input>>;
1773
- where?: InputMaybe<Executions_Visibility_Bool_Exp>;
2741
+ cursor: Array<InputMaybe<Executions_Visibility_Stream_Cursor_Input>>;
2742
+ where?: InputMaybe<Executions_Visibility_Bool_Exp>;
2743
+ };
2744
+ export type Subscription_RootNotificationsArgs = {
2745
+ distinct_on?: InputMaybe<Array<Notifications_Select_Column>>;
2746
+ limit?: InputMaybe<Scalars['Int']['input']>;
2747
+ offset?: InputMaybe<Scalars['Int']['input']>;
2748
+ order_by?: InputMaybe<Array<Notifications_Order_By>>;
2749
+ where?: InputMaybe<Notifications_Bool_Exp>;
2750
+ };
2751
+ export type Subscription_RootNotifications_AggregateArgs = {
2752
+ distinct_on?: InputMaybe<Array<Notifications_Select_Column>>;
2753
+ limit?: InputMaybe<Scalars['Int']['input']>;
2754
+ offset?: InputMaybe<Scalars['Int']['input']>;
2755
+ order_by?: InputMaybe<Array<Notifications_Order_By>>;
2756
+ where?: InputMaybe<Notifications_Bool_Exp>;
2757
+ };
2758
+ export type Subscription_RootNotifications_By_PkArgs = {
2759
+ id: Scalars['uuid']['input'];
2760
+ };
2761
+ export type Subscription_RootNotifications_StreamArgs = {
2762
+ batch_size: Scalars['Int']['input'];
2763
+ cursor: Array<InputMaybe<Notifications_Stream_Cursor_Input>>;
2764
+ where?: InputMaybe<Notifications_Bool_Exp>;
1774
2765
  };
1775
2766
  export type Subscription_RootPersonal_Access_TokensArgs = {
1776
2767
  distinct_on?: InputMaybe<Array<Personal_Access_Tokens_Select_Column>>;
@@ -1824,6 +2815,21 @@ export type Subscription_RootPipelines_StreamArgs = {
1824
2815
  cursor: Array<InputMaybe<Pipelines_Stream_Cursor_Input>>;
1825
2816
  where?: InputMaybe<Pipelines_Bool_Exp>;
1826
2817
  };
2818
+ export type Subscription_RootPlan_VersionsArgs = {
2819
+ distinct_on?: InputMaybe<Array<Plan_Versions_Select_Column>>;
2820
+ limit?: InputMaybe<Scalars['Int']['input']>;
2821
+ offset?: InputMaybe<Scalars['Int']['input']>;
2822
+ order_by?: InputMaybe<Array<Plan_Versions_Order_By>>;
2823
+ where?: InputMaybe<Plan_Versions_Bool_Exp>;
2824
+ };
2825
+ export type Subscription_RootPlan_Versions_By_PkArgs = {
2826
+ id: Scalars['uuid']['input'];
2827
+ };
2828
+ export type Subscription_RootPlan_Versions_StreamArgs = {
2829
+ batch_size: Scalars['Int']['input'];
2830
+ cursor: Array<InputMaybe<Plan_Versions_Stream_Cursor_Input>>;
2831
+ where?: InputMaybe<Plan_Versions_Bool_Exp>;
2832
+ };
1827
2833
  export type Subscription_RootPlansArgs = {
1828
2834
  distinct_on?: InputMaybe<Array<Plans_Select_Column>>;
1829
2835
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1865,8 +2871,17 @@ export type Subscriptions = {
1865
2871
  /** An object relationship */
1866
2872
  plan: Plans;
1867
2873
  plan_id: Scalars['uuid']['output'];
2874
+ /** An object relationship */
2875
+ plan_version: Plan_Versions;
2876
+ plan_version_id: Scalars['uuid']['output'];
1868
2877
  status: Scalars['String']['output'];
1869
2878
  };
2879
+ /** order by aggregate values of table "subscriptions" */
2880
+ export type Subscriptions_Aggregate_Order_By = {
2881
+ count?: InputMaybe<Order_By>;
2882
+ max?: InputMaybe<Subscriptions_Max_Order_By>;
2883
+ min?: InputMaybe<Subscriptions_Min_Order_By>;
2884
+ };
1870
2885
  /** Boolean expression to filter rows from the table "subscriptions". All fields are combined with a logical 'AND'. */
1871
2886
  export type Subscriptions_Bool_Exp = {
1872
2887
  _and?: InputMaybe<Array<Subscriptions_Bool_Exp>>;
@@ -1879,8 +2894,30 @@ export type Subscriptions_Bool_Exp = {
1879
2894
  period_start?: InputMaybe<Timestamptz_Comparison_Exp>;
1880
2895
  plan?: InputMaybe<Plans_Bool_Exp>;
1881
2896
  plan_id?: InputMaybe<Uuid_Comparison_Exp>;
2897
+ plan_version?: InputMaybe<Plan_Versions_Bool_Exp>;
2898
+ plan_version_id?: InputMaybe<Uuid_Comparison_Exp>;
1882
2899
  status?: InputMaybe<String_Comparison_Exp>;
1883
2900
  };
2901
+ /** order by max() on columns of table "subscriptions" */
2902
+ export type Subscriptions_Max_Order_By = {
2903
+ created_at?: InputMaybe<Order_By>;
2904
+ id?: InputMaybe<Order_By>;
2905
+ period_end?: InputMaybe<Order_By>;
2906
+ period_start?: InputMaybe<Order_By>;
2907
+ plan_id?: InputMaybe<Order_By>;
2908
+ plan_version_id?: InputMaybe<Order_By>;
2909
+ status?: InputMaybe<Order_By>;
2910
+ };
2911
+ /** order by min() on columns of table "subscriptions" */
2912
+ export type Subscriptions_Min_Order_By = {
2913
+ created_at?: InputMaybe<Order_By>;
2914
+ id?: InputMaybe<Order_By>;
2915
+ period_end?: InputMaybe<Order_By>;
2916
+ period_start?: InputMaybe<Order_By>;
2917
+ plan_id?: InputMaybe<Order_By>;
2918
+ plan_version_id?: InputMaybe<Order_By>;
2919
+ status?: InputMaybe<Order_By>;
2920
+ };
1884
2921
  /** Ordering options when selecting data from "subscriptions". */
1885
2922
  export type Subscriptions_Order_By = {
1886
2923
  cancel_at_period_end?: InputMaybe<Order_By>;
@@ -1890,6 +2927,8 @@ export type Subscriptions_Order_By = {
1890
2927
  period_start?: InputMaybe<Order_By>;
1891
2928
  plan?: InputMaybe<Plans_Order_By>;
1892
2929
  plan_id?: InputMaybe<Order_By>;
2930
+ plan_version?: InputMaybe<Plan_Versions_Order_By>;
2931
+ plan_version_id?: InputMaybe<Order_By>;
1893
2932
  status?: InputMaybe<Order_By>;
1894
2933
  };
1895
2934
  /** select columns of table "subscriptions" */
@@ -1907,6 +2946,8 @@ export declare enum Subscriptions_Select_Column {
1907
2946
  /** column name */
1908
2947
  PlanId = "plan_id",
1909
2948
  /** column name */
2949
+ PlanVersionId = "plan_version_id",
2950
+ /** column name */
1910
2951
  Status = "status"
1911
2952
  }
1912
2953
  /** Streaming cursor of the table "subscriptions" */
@@ -1924,6 +2965,7 @@ export type Subscriptions_Stream_Cursor_Value_Input = {
1924
2965
  period_end?: InputMaybe<Scalars['timestamptz']['input']>;
1925
2966
  period_start?: InputMaybe<Scalars['timestamptz']['input']>;
1926
2967
  plan_id?: InputMaybe<Scalars['uuid']['input']>;
2968
+ plan_version_id?: InputMaybe<Scalars['uuid']['input']>;
1927
2969
  status?: InputMaybe<Scalars['String']['input']>;
1928
2970
  };
1929
2971
  /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */
@@ -1962,6 +3004,104 @@ export type Uuid_Comparison_Exp = {
1962
3004
  _neq?: InputMaybe<Scalars['uuid']['input']>;
1963
3005
  _nin?: InputMaybe<Array<Scalars['uuid']['input']>>;
1964
3006
  };
3007
+ export type ChangePasswordMutationVariables = Exact<{
3008
+ current_password: Scalars['String']['input'];
3009
+ new_password: Scalars['String']['input'];
3010
+ }>;
3011
+ export type ChangePasswordMutation = {
3012
+ __typename?: 'mutation_root';
3013
+ change_password: {
3014
+ __typename?: 'change_password_output';
3015
+ success: boolean;
3016
+ message: string;
3017
+ };
3018
+ };
3019
+ export type ChangeNameMutationVariables = Exact<{
3020
+ name: Scalars['String']['input'];
3021
+ }>;
3022
+ export type ChangeNameMutation = {
3023
+ __typename?: 'mutation_root';
3024
+ change_name: {
3025
+ __typename?: 'change_name_output';
3026
+ success: boolean;
3027
+ message: string;
3028
+ name: string;
3029
+ };
3030
+ };
3031
+ export type CancelSubscriptionMutationVariables = Exact<{
3032
+ [key: string]: never;
3033
+ }>;
3034
+ export type CancelSubscriptionMutation = {
3035
+ __typename?: 'mutation_root';
3036
+ cancel_subscription: {
3037
+ __typename?: 'cancel_subscription_output';
3038
+ success: boolean;
3039
+ message: string;
3040
+ cancel_at_period_end: boolean;
3041
+ };
3042
+ };
3043
+ export type RequestAvatarUploadMutationVariables = Exact<{
3044
+ filename: Scalars['String']['input'];
3045
+ content_type: Scalars['String']['input'];
3046
+ }>;
3047
+ export type RequestAvatarUploadMutation = {
3048
+ __typename?: 'mutation_root';
3049
+ request_avatar_upload: {
3050
+ __typename?: 'request_avatar_upload_output';
3051
+ success: boolean;
3052
+ upload_url: string;
3053
+ asset_url: string;
3054
+ key: string;
3055
+ max_size: number;
3056
+ };
3057
+ };
3058
+ export type ChangeAvatarMutationVariables = Exact<{
3059
+ avatar_url: Scalars['String']['input'];
3060
+ }>;
3061
+ export type ChangeAvatarMutation = {
3062
+ __typename?: 'mutation_root';
3063
+ change_avatar: {
3064
+ __typename?: 'change_avatar_output';
3065
+ success: boolean;
3066
+ message: string;
3067
+ avatar_url: string;
3068
+ };
3069
+ };
3070
+ export type RequestAccountDeletionMutationVariables = Exact<{
3071
+ [key: string]: never;
3072
+ }>;
3073
+ export type RequestAccountDeletionMutation = {
3074
+ __typename?: 'mutation_root';
3075
+ request_account_deletion: {
3076
+ __typename?: 'request_account_deletion_output';
3077
+ success: boolean;
3078
+ message: string;
3079
+ expires_at: string;
3080
+ };
3081
+ };
3082
+ export type ConfirmAccountDeletionMutationVariables = Exact<{
3083
+ token: Scalars['String']['input'];
3084
+ }>;
3085
+ export type ConfirmAccountDeletionMutation = {
3086
+ __typename?: 'mutation_root';
3087
+ confirm_account_deletion: {
3088
+ __typename?: 'confirm_account_deletion_output';
3089
+ success: boolean;
3090
+ message: string;
3091
+ effective_at: string;
3092
+ };
3093
+ };
3094
+ export type CancelAccountDeletionMutationVariables = Exact<{
3095
+ [key: string]: never;
3096
+ }>;
3097
+ export type CancelAccountDeletionMutation = {
3098
+ __typename?: 'mutation_root';
3099
+ cancel_account_deletion: {
3100
+ __typename?: 'cancel_account_deletion_output';
3101
+ success: boolean;
3102
+ message: string;
3103
+ };
3104
+ };
1965
3105
  export type GetMyAffiliateCodesQueryVariables = Exact<{
1966
3106
  [key: string]: never;
1967
3107
  }>;
@@ -2042,6 +3182,51 @@ export type GetMyReferralsQuery = {
2042
3182
  }>;
2043
3183
  };
2044
3184
  };
3185
+ export type GetMyStorageUsageQueryVariables = Exact<{
3186
+ [key: string]: never;
3187
+ }>;
3188
+ export type GetMyStorageUsageQuery = {
3189
+ __typename?: 'query_root';
3190
+ assets_aggregate: {
3191
+ __typename?: 'assets_aggregate';
3192
+ aggregate?: {
3193
+ __typename?: 'assets_aggregate_fields';
3194
+ count: number;
3195
+ sum?: {
3196
+ __typename?: 'assets_sum_fields';
3197
+ size_bytes?: any | null;
3198
+ } | null;
3199
+ } | null;
3200
+ };
3201
+ };
3202
+ export type GetAssetThumbnailQueryVariables = Exact<{
3203
+ id: Scalars['uuid']['input'];
3204
+ }>;
3205
+ export type GetAssetThumbnailQuery = {
3206
+ __typename?: 'query_root';
3207
+ assets_by_pk?: {
3208
+ __typename?: 'assets';
3209
+ id: any;
3210
+ type: string;
3211
+ url: string;
3212
+ thumbnail_url?: string | null;
3213
+ preview_frames?: Array<string> | null;
3214
+ } | null;
3215
+ };
3216
+ export type GetAssetThumbnailsByIdsQueryVariables = Exact<{
3217
+ ids: Array<Scalars['uuid']['input']> | Scalars['uuid']['input'];
3218
+ }>;
3219
+ export type GetAssetThumbnailsByIdsQuery = {
3220
+ __typename?: 'query_root';
3221
+ assets: Array<{
3222
+ __typename?: 'assets';
3223
+ id: any;
3224
+ type: string;
3225
+ url: string;
3226
+ thumbnail_url?: string | null;
3227
+ preview_frames?: Array<string> | null;
3228
+ }>;
3229
+ };
2045
3230
  export type GetUserAssetsQueryVariables = Exact<{
2046
3231
  where?: InputMaybe<Assets_Bool_Exp>;
2047
3232
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -2055,6 +3240,7 @@ export type GetUserAssetsQuery = {
2055
3240
  type: string;
2056
3241
  url: string;
2057
3242
  thumbnail_url?: string | null;
3243
+ preview_frames?: Array<string> | null;
2058
3244
  metadata?: any | null;
2059
3245
  tags: Array<string>;
2060
3246
  created_at: any;
@@ -2081,9 +3267,58 @@ export type RequestUploadMutation = {
2081
3267
  key: string;
2082
3268
  };
2083
3269
  };
3270
+ export type RequestMultipartUploadMutationVariables = Exact<{
3271
+ filename: Scalars['String']['input'];
3272
+ content_type: Scalars['String']['input'];
3273
+ total_size: Scalars['bigint']['input'];
3274
+ part_size?: InputMaybe<Scalars['bigint']['input']>;
3275
+ }>;
3276
+ export type RequestMultipartUploadMutation = {
3277
+ __typename?: 'mutation_root';
3278
+ request_multipart_upload: {
3279
+ __typename?: 'request_multipart_upload_output';
3280
+ upload_id: string;
3281
+ key: string;
3282
+ asset_url: string;
3283
+ part_size: any;
3284
+ part_urls: Array<{
3285
+ __typename?: 'multipart_part_url';
3286
+ part_number: number;
3287
+ url: string;
3288
+ }>;
3289
+ };
3290
+ };
3291
+ export type CompleteMultipartUploadMutationVariables = Exact<{
3292
+ upload_id: Scalars['String']['input'];
3293
+ key: Scalars['String']['input'];
3294
+ content_type: Scalars['String']['input'];
3295
+ parts: Array<Multipart_Part_Input> | Multipart_Part_Input;
3296
+ tags?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
3297
+ }>;
3298
+ export type CompleteMultipartUploadMutation = {
3299
+ __typename?: 'mutation_root';
3300
+ complete_multipart_upload: {
3301
+ __typename?: 'create_asset_output';
3302
+ id: string;
3303
+ type: string;
3304
+ url: string;
3305
+ tags: Array<string>;
3306
+ created_at: string;
3307
+ };
3308
+ };
3309
+ export type AbortMultipartUploadMutationVariables = Exact<{
3310
+ upload_id: Scalars['String']['input'];
3311
+ key: Scalars['String']['input'];
3312
+ }>;
3313
+ export type AbortMultipartUploadMutation = {
3314
+ __typename?: 'mutation_root';
3315
+ abort_multipart_upload: {
3316
+ __typename?: 'abort_multipart_upload_output';
3317
+ success: boolean;
3318
+ };
3319
+ };
2084
3320
  export type CreateAssetMutationVariables = Exact<{
2085
- asset_type: Scalars['String']['input'];
2086
- url: Scalars['String']['input'];
3321
+ key: Scalars['String']['input'];
2087
3322
  tags?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
2088
3323
  }>;
2089
3324
  export type CreateAssetMutation = {
@@ -2187,6 +3422,7 @@ export type SubmitSocialLoginMutation = {
2187
3422
  };
2188
3423
  export type InitVerificationFlowMutationVariables = Exact<{
2189
3424
  email?: InputMaybe<Scalars['String']['input']>;
3425
+ force?: InputMaybe<Scalars['Boolean']['input']>;
2190
3426
  }>;
2191
3427
  export type InitVerificationFlowMutation = {
2192
3428
  __typename?: 'mutation_root';
@@ -2258,6 +3494,51 @@ export type GetCreditHistoryQuery = {
2258
3494
  created_at: string;
2259
3495
  }>;
2260
3496
  };
3497
+ export type GetNotificationsQueryVariables = Exact<{
3498
+ limit: Scalars['Int']['input'];
3499
+ offset: Scalars['Int']['input'];
3500
+ }>;
3501
+ export type GetNotificationsQuery = {
3502
+ __typename?: 'query_root';
3503
+ notifications: Array<{
3504
+ __typename?: 'notifications';
3505
+ id: any;
3506
+ type: string;
3507
+ title: string;
3508
+ body?: string | null;
3509
+ metadata?: any | null;
3510
+ read: boolean;
3511
+ created_at: any;
3512
+ }>;
3513
+ unread: {
3514
+ __typename?: 'notifications_aggregate';
3515
+ aggregate?: {
3516
+ __typename?: 'notifications_aggregate_fields';
3517
+ count: number;
3518
+ } | null;
3519
+ };
3520
+ };
3521
+ export type MarkNotificationReadMutationVariables = Exact<{
3522
+ id: Scalars['uuid']['input'];
3523
+ }>;
3524
+ export type MarkNotificationReadMutation = {
3525
+ __typename?: 'mutation_root';
3526
+ update_notifications_by_pk?: {
3527
+ __typename?: 'notifications';
3528
+ id: any;
3529
+ read: boolean;
3530
+ } | null;
3531
+ };
3532
+ export type MarkAllNotificationsReadMutationVariables = Exact<{
3533
+ [key: string]: never;
3534
+ }>;
3535
+ export type MarkAllNotificationsReadMutation = {
3536
+ __typename?: 'mutation_root';
3537
+ update_notifications?: {
3538
+ __typename?: 'notifications_mutation_response';
3539
+ affected_rows: number;
3540
+ } | null;
3541
+ };
2261
3542
  export type GetPipelinesQueryVariables = Exact<{
2262
3543
  [key: string]: never;
2263
3544
  }>;
@@ -2273,12 +3554,15 @@ export type GetPipelinesQuery = {
2273
3554
  icon_url?: string | null;
2274
3555
  preview_url?: string | null;
2275
3556
  required_providers: Array<string>;
2276
- credit_cost: number;
2277
3557
  input_schema: any;
2278
3558
  ui_schema: any;
2279
3559
  output_schema: any;
2280
3560
  seo_content?: string | null;
2281
3561
  seo_faq?: any | null;
3562
+ tags: Array<string>;
3563
+ hints: any;
3564
+ pricing: any;
3565
+ cancellable: boolean;
2282
3566
  }>;
2283
3567
  };
2284
3568
  export type RunPipelineMutationVariables = Exact<{
@@ -2293,6 +3577,16 @@ export type RunPipelineMutation = {
2293
3577
  workflow_id: string;
2294
3578
  } | null;
2295
3579
  };
3580
+ export type CancelPipelineRunMutationVariables = Exact<{
3581
+ run_id: Scalars['String']['input'];
3582
+ }>;
3583
+ export type CancelPipelineRunMutation = {
3584
+ __typename?: 'mutation_root';
3585
+ cancel_pipeline_run?: {
3586
+ __typename?: 'cancel_pipeline_run_output';
3587
+ success: boolean;
3588
+ } | null;
3589
+ };
2296
3590
  export type GetPipelineRunQueryVariables = Exact<{
2297
3591
  id: Scalars['uuid']['input'];
2298
3592
  }>;
@@ -2302,6 +3596,7 @@ export type GetPipelineRunQuery = {
2302
3596
  __typename?: 'pipeline_runs';
2303
3597
  id: any;
2304
3598
  status: string;
3599
+ input: any;
2305
3600
  output?: any | null;
2306
3601
  error_message?: string | null;
2307
3602
  credits_charged?: number | null;
@@ -2312,6 +3607,8 @@ export type GetPipelineRunQuery = {
2312
3607
  name: string;
2313
3608
  slug: string;
2314
3609
  output_schema: any;
3610
+ input_schema: any;
3611
+ ui_schema: any;
2315
3612
  };
2316
3613
  assets: Array<{
2317
3614
  __typename?: 'assets';
@@ -2340,6 +3637,7 @@ export type GetPipelineRunsQuery = {
2340
3637
  __typename?: 'pipeline_runs';
2341
3638
  id: any;
2342
3639
  status: string;
3640
+ input: any;
2343
3641
  output?: any | null;
2344
3642
  error_message?: string | null;
2345
3643
  credits_charged?: number | null;
@@ -2350,17 +3648,21 @@ export type GetPipelineRunsQuery = {
2350
3648
  name: string;
2351
3649
  slug: string;
2352
3650
  output_schema: any;
3651
+ input_schema: any;
3652
+ ui_schema: any;
2353
3653
  };
3654
+ workflow_execution?: {
3655
+ __typename?: 'executions_visibility';
3656
+ status: number;
3657
+ start_time: any;
3658
+ close_time?: any | null;
3659
+ } | null;
2354
3660
  }>;
2355
3661
  pipeline_runs_aggregate: {
2356
3662
  __typename?: 'pipeline_runs_aggregate';
2357
3663
  aggregate?: {
2358
3664
  __typename?: 'pipeline_runs_aggregate_fields';
2359
3665
  count: number;
2360
- sum?: {
2361
- __typename?: 'pipeline_runs_sum_fields';
2362
- credits_charged?: number | null;
2363
- } | null;
2364
3666
  } | null;
2365
3667
  };
2366
3668
  completed: {
@@ -2368,6 +3670,10 @@ export type GetPipelineRunsQuery = {
2368
3670
  aggregate?: {
2369
3671
  __typename?: 'pipeline_runs_aggregate_fields';
2370
3672
  count: number;
3673
+ sum?: {
3674
+ __typename?: 'pipeline_runs_sum_fields';
3675
+ credits_charged?: number | null;
3676
+ } | null;
2371
3677
  } | null;
2372
3678
  };
2373
3679
  };
@@ -2382,6 +3688,7 @@ export type GetPipelineRunsBySlugQuery = {
2382
3688
  __typename?: 'pipeline_runs';
2383
3689
  id: any;
2384
3690
  status: string;
3691
+ input: any;
2385
3692
  output?: any | null;
2386
3693
  error_message?: string | null;
2387
3694
  credits_charged?: number | null;
@@ -2392,7 +3699,16 @@ export type GetPipelineRunsBySlugQuery = {
2392
3699
  name: string;
2393
3700
  slug: string;
2394
3701
  output_schema: any;
3702
+ input_schema: any;
3703
+ ui_schema: any;
2395
3704
  };
3705
+ assets: Array<{
3706
+ __typename?: 'assets';
3707
+ id: any;
3708
+ type: string;
3709
+ url: string;
3710
+ thumbnail_url?: string | null;
3711
+ }>;
2396
3712
  workflow_execution?: {
2397
3713
  __typename?: 'executions_visibility';
2398
3714
  status: number;
@@ -2408,6 +3724,30 @@ export type GetPipelineRunsBySlugQuery = {
2408
3724
  } | null;
2409
3725
  };
2410
3726
  };
3727
+ export type GetActivePipelineRunsQueryVariables = Exact<{
3728
+ [key: string]: never;
3729
+ }>;
3730
+ export type GetActivePipelineRunsQuery = {
3731
+ __typename?: 'query_root';
3732
+ pipeline_runs: Array<{
3733
+ __typename?: 'pipeline_runs';
3734
+ id: any;
3735
+ status: string;
3736
+ created_at: any;
3737
+ pipeline: {
3738
+ __typename?: 'pipelines';
3739
+ name: string;
3740
+ slug: string;
3741
+ };
3742
+ }>;
3743
+ active_count: {
3744
+ __typename?: 'pipeline_runs_aggregate';
3745
+ aggregate?: {
3746
+ __typename?: 'pipeline_runs_aggregate_fields';
3747
+ count: number;
3748
+ } | null;
3749
+ };
3750
+ };
2411
3751
  export type GetPlansQueryVariables = Exact<{
2412
3752
  [key: string]: never;
2413
3753
  }>;
@@ -2419,11 +3759,17 @@ export type GetPlansQuery = {
2419
3759
  slug: string;
2420
3760
  name: string;
2421
3761
  description?: string | null;
2422
- monthly_credits: number;
2423
- price_cents: number;
2424
3762
  features: any;
2425
3763
  sort_order: number;
2426
- whop_plan_id?: string | null;
3764
+ versions: Array<{
3765
+ __typename?: 'plan_versions';
3766
+ id: any;
3767
+ whop_plan_id?: string | null;
3768
+ price_cents: number;
3769
+ monthly_credits: number;
3770
+ max_storage_bytes: any;
3771
+ max_upload_bytes: any;
3772
+ }>;
2427
3773
  }>;
2428
3774
  };
2429
3775
  export type GetCreditPacksQueryVariables = Exact<{
@@ -2436,10 +3782,14 @@ export type GetCreditPacksQuery = {
2436
3782
  id: any;
2437
3783
  slug: string;
2438
3784
  name: string;
2439
- credits: number;
2440
- price_cents: number;
2441
3785
  sort_order: number;
2442
- whop_plan_id?: string | null;
3786
+ versions: Array<{
3787
+ __typename?: 'credit_pack_versions';
3788
+ id: any;
3789
+ whop_plan_id?: string | null;
3790
+ price_cents: number;
3791
+ credits: number;
3792
+ }>;
2443
3793
  }>;
2444
3794
  };
2445
3795
  export type GetSubscriptionQueryVariables = Exact<{
@@ -2451,6 +3801,7 @@ export type GetSubscriptionQuery = {
2451
3801
  __typename?: 'subscriptions';
2452
3802
  id: any;
2453
3803
  plan_id: any;
3804
+ plan_version_id: any;
2454
3805
  status: string;
2455
3806
  period_start: any;
2456
3807
  period_end: any;
@@ -2459,9 +3810,17 @@ export type GetSubscriptionQuery = {
2459
3810
  __typename?: 'plans';
2460
3811
  slug: string;
2461
3812
  name: string;
2462
- monthly_credits: number;
2463
3813
  sort_order: number;
2464
3814
  };
3815
+ plan_version: {
3816
+ __typename?: 'plan_versions';
3817
+ id: any;
3818
+ version: number;
3819
+ monthly_credits: number;
3820
+ price_cents: number;
3821
+ max_storage_bytes: any;
3822
+ max_upload_bytes: any;
3823
+ };
2465
3824
  }>;
2466
3825
  };
2467
3826
  export type WatchPipelineRunSubscriptionVariables = Exact<{
@@ -2473,13 +3832,19 @@ export type WatchPipelineRunSubscription = {
2473
3832
  __typename?: 'pipeline_runs';
2474
3833
  id: any;
2475
3834
  status: string;
3835
+ input: any;
2476
3836
  output?: any | null;
2477
3837
  error_message?: string | null;
3838
+ credits_charged?: number | null;
3839
+ created_at: any;
2478
3840
  completed_at?: any | null;
2479
3841
  pipeline: {
2480
3842
  __typename?: 'pipelines';
2481
3843
  name: string;
2482
3844
  slug: string;
3845
+ output_schema: any;
3846
+ input_schema: any;
3847
+ ui_schema: any;
2483
3848
  };
2484
3849
  assets: Array<{
2485
3850
  __typename?: 'assets';
@@ -2490,6 +3855,39 @@ export type WatchPipelineRunSubscription = {
2490
3855
  }>;
2491
3856
  } | null;
2492
3857
  };
3858
+ export type WatchActivePipelineRunsSubscriptionVariables = Exact<{
3859
+ [key: string]: never;
3860
+ }>;
3861
+ export type WatchActivePipelineRunsSubscription = {
3862
+ __typename?: 'subscription_root';
3863
+ pipeline_runs: Array<{
3864
+ __typename?: 'pipeline_runs';
3865
+ id: any;
3866
+ status: string;
3867
+ created_at: any;
3868
+ pipeline: {
3869
+ __typename?: 'pipelines';
3870
+ name: string;
3871
+ slug: string;
3872
+ };
3873
+ }>;
3874
+ };
3875
+ export type WatchNotificationsSubscriptionVariables = Exact<{
3876
+ limit: Scalars['Int']['input'];
3877
+ }>;
3878
+ export type WatchNotificationsSubscription = {
3879
+ __typename?: 'subscription_root';
3880
+ notifications: Array<{
3881
+ __typename?: 'notifications';
3882
+ id: any;
3883
+ type: string;
3884
+ title: string;
3885
+ body?: string | null;
3886
+ metadata?: any | null;
3887
+ read: boolean;
3888
+ created_at: any;
3889
+ }>;
3890
+ };
2493
3891
  export type GetMyApiKeysQueryVariables = Exact<{
2494
3892
  [key: string]: never;
2495
3893
  }>;
@@ -2543,15 +3941,31 @@ export type GetCurrentUserQuery = {
2543
3941
  name: string;
2544
3942
  email_verified: boolean;
2545
3943
  avatar_url?: string | null;
3944
+ deletion_scheduled_at?: string | null;
3945
+ deletion_effective_at?: string | null;
2546
3946
  };
2547
3947
  };
3948
+ export declare const ChangePasswordDocument: DocumentNode;
3949
+ export declare const ChangeNameDocument: DocumentNode;
3950
+ export declare const CancelSubscriptionDocument: DocumentNode;
3951
+ export declare const RequestAvatarUploadDocument: DocumentNode;
3952
+ export declare const ChangeAvatarDocument: DocumentNode;
3953
+ export declare const RequestAccountDeletionDocument: DocumentNode;
3954
+ export declare const ConfirmAccountDeletionDocument: DocumentNode;
3955
+ export declare const CancelAccountDeletionDocument: DocumentNode;
2548
3956
  export declare const GetMyAffiliateCodesDocument: DocumentNode;
2549
3957
  export declare const GetMyAffiliateDocument: DocumentNode;
2550
3958
  export declare const AddAffiliateCodeDocument: DocumentNode;
2551
3959
  export declare const EnsureAffiliateDocument: DocumentNode;
2552
3960
  export declare const GetMyReferralsDocument: DocumentNode;
3961
+ export declare const GetMyStorageUsageDocument: DocumentNode;
3962
+ export declare const GetAssetThumbnailDocument: DocumentNode;
3963
+ export declare const GetAssetThumbnailsByIdsDocument: DocumentNode;
2553
3964
  export declare const GetUserAssetsDocument: DocumentNode;
2554
3965
  export declare const RequestUploadDocument: DocumentNode;
3966
+ export declare const RequestMultipartUploadDocument: DocumentNode;
3967
+ export declare const CompleteMultipartUploadDocument: DocumentNode;
3968
+ export declare const AbortMultipartUploadDocument: DocumentNode;
2555
3969
  export declare const CreateAssetDocument: DocumentNode;
2556
3970
  export declare const DeleteAssetActionDocument: DocumentNode;
2557
3971
  export declare const UpdateAssetTagsDocument: DocumentNode;
@@ -2566,28 +3980,49 @@ export declare const InitRecoveryFlowDocument: DocumentNode;
2566
3980
  export declare const SubmitRecoveryFlowDocument: DocumentNode;
2567
3981
  export declare const GetCreditBalanceDocument: DocumentNode;
2568
3982
  export declare const GetCreditHistoryDocument: DocumentNode;
3983
+ export declare const GetNotificationsDocument: DocumentNode;
3984
+ export declare const MarkNotificationReadDocument: DocumentNode;
3985
+ export declare const MarkAllNotificationsReadDocument: DocumentNode;
2569
3986
  export declare const GetPipelinesDocument: DocumentNode;
2570
3987
  export declare const RunPipelineDocument: DocumentNode;
3988
+ export declare const CancelPipelineRunDocument: DocumentNode;
2571
3989
  export declare const GetPipelineRunDocument: DocumentNode;
2572
3990
  export declare const GetPipelineRunsDocument: DocumentNode;
2573
3991
  export declare const GetPipelineRunsBySlugDocument: DocumentNode;
3992
+ export declare const GetActivePipelineRunsDocument: DocumentNode;
2574
3993
  export declare const GetPlansDocument: DocumentNode;
2575
3994
  export declare const GetCreditPacksDocument: DocumentNode;
2576
3995
  export declare const GetSubscriptionDocument: DocumentNode;
2577
3996
  export declare const WatchPipelineRunDocument: DocumentNode;
3997
+ export declare const WatchActivePipelineRunsDocument: DocumentNode;
3998
+ export declare const WatchNotificationsDocument: DocumentNode;
2578
3999
  export declare const GetMyApiKeysDocument: DocumentNode;
2579
4000
  export declare const CreatePersonalAccessTokenDocument: DocumentNode;
2580
4001
  export declare const RevokePersonalAccessTokenDocument: DocumentNode;
2581
4002
  export declare const GetCurrentUserDocument: DocumentNode;
2582
4003
  export type Requester<C = {}> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
2583
4004
  export declare function getSdk<C>(requester: Requester<C>): {
4005
+ ChangePassword(variables: ChangePasswordMutationVariables, options?: C): Promise<ChangePasswordMutation>;
4006
+ ChangeName(variables: ChangeNameMutationVariables, options?: C): Promise<ChangeNameMutation>;
4007
+ CancelSubscription(variables?: CancelSubscriptionMutationVariables, options?: C): Promise<CancelSubscriptionMutation>;
4008
+ RequestAvatarUpload(variables: RequestAvatarUploadMutationVariables, options?: C): Promise<RequestAvatarUploadMutation>;
4009
+ ChangeAvatar(variables: ChangeAvatarMutationVariables, options?: C): Promise<ChangeAvatarMutation>;
4010
+ RequestAccountDeletion(variables?: RequestAccountDeletionMutationVariables, options?: C): Promise<RequestAccountDeletionMutation>;
4011
+ ConfirmAccountDeletion(variables: ConfirmAccountDeletionMutationVariables, options?: C): Promise<ConfirmAccountDeletionMutation>;
4012
+ CancelAccountDeletion(variables?: CancelAccountDeletionMutationVariables, options?: C): Promise<CancelAccountDeletionMutation>;
2584
4013
  GetMyAffiliateCodes(variables?: GetMyAffiliateCodesQueryVariables, options?: C): Promise<GetMyAffiliateCodesQuery>;
2585
4014
  GetMyAffiliate(variables?: GetMyAffiliateQueryVariables, options?: C): Promise<GetMyAffiliateQuery>;
2586
4015
  AddAffiliateCode(variables: AddAffiliateCodeMutationVariables, options?: C): Promise<AddAffiliateCodeMutation>;
2587
4016
  EnsureAffiliate(variables?: EnsureAffiliateMutationVariables, options?: C): Promise<EnsureAffiliateMutation>;
2588
4017
  GetMyReferrals(variables?: GetMyReferralsQueryVariables, options?: C): Promise<GetMyReferralsQuery>;
4018
+ GetMyStorageUsage(variables?: GetMyStorageUsageQueryVariables, options?: C): Promise<GetMyStorageUsageQuery>;
4019
+ GetAssetThumbnail(variables: GetAssetThumbnailQueryVariables, options?: C): Promise<GetAssetThumbnailQuery>;
4020
+ GetAssetThumbnailsByIds(variables: GetAssetThumbnailsByIdsQueryVariables, options?: C): Promise<GetAssetThumbnailsByIdsQuery>;
2589
4021
  GetUserAssets(variables?: GetUserAssetsQueryVariables, options?: C): Promise<GetUserAssetsQuery>;
2590
4022
  RequestUpload(variables: RequestUploadMutationVariables, options?: C): Promise<RequestUploadMutation>;
4023
+ RequestMultipartUpload(variables: RequestMultipartUploadMutationVariables, options?: C): Promise<RequestMultipartUploadMutation>;
4024
+ CompleteMultipartUpload(variables: CompleteMultipartUploadMutationVariables, options?: C): Promise<CompleteMultipartUploadMutation>;
4025
+ AbortMultipartUpload(variables: AbortMultipartUploadMutationVariables, options?: C): Promise<AbortMultipartUploadMutation>;
2591
4026
  CreateAsset(variables: CreateAssetMutationVariables, options?: C): Promise<CreateAssetMutation>;
2592
4027
  DeleteAssetAction(variables: DeleteAssetActionMutationVariables, options?: C): Promise<DeleteAssetActionMutation>;
2593
4028
  UpdateAssetTags(variables: UpdateAssetTagsMutationVariables, options?: C): Promise<UpdateAssetTagsMutation>;
@@ -2602,15 +4037,22 @@ export declare function getSdk<C>(requester: Requester<C>): {
2602
4037
  SubmitRecoveryFlow(variables: SubmitRecoveryFlowMutationVariables, options?: C): Promise<SubmitRecoveryFlowMutation>;
2603
4038
  GetCreditBalance(variables?: GetCreditBalanceQueryVariables, options?: C): Promise<GetCreditBalanceQuery>;
2604
4039
  GetCreditHistory(variables?: GetCreditHistoryQueryVariables, options?: C): Promise<GetCreditHistoryQuery>;
4040
+ GetNotifications(variables: GetNotificationsQueryVariables, options?: C): Promise<GetNotificationsQuery>;
4041
+ MarkNotificationRead(variables: MarkNotificationReadMutationVariables, options?: C): Promise<MarkNotificationReadMutation>;
4042
+ MarkAllNotificationsRead(variables?: MarkAllNotificationsReadMutationVariables, options?: C): Promise<MarkAllNotificationsReadMutation>;
2605
4043
  GetPipelines(variables?: GetPipelinesQueryVariables, options?: C): Promise<GetPipelinesQuery>;
2606
4044
  RunPipeline(variables: RunPipelineMutationVariables, options?: C): Promise<RunPipelineMutation>;
4045
+ CancelPipelineRun(variables: CancelPipelineRunMutationVariables, options?: C): Promise<CancelPipelineRunMutation>;
2607
4046
  GetPipelineRun(variables: GetPipelineRunQueryVariables, options?: C): Promise<GetPipelineRunQuery>;
2608
4047
  GetPipelineRuns(variables?: GetPipelineRunsQueryVariables, options?: C): Promise<GetPipelineRunsQuery>;
2609
4048
  GetPipelineRunsBySlug(variables: GetPipelineRunsBySlugQueryVariables, options?: C): Promise<GetPipelineRunsBySlugQuery>;
4049
+ GetActivePipelineRuns(variables?: GetActivePipelineRunsQueryVariables, options?: C): Promise<GetActivePipelineRunsQuery>;
2610
4050
  GetPlans(variables?: GetPlansQueryVariables, options?: C): Promise<GetPlansQuery>;
2611
4051
  GetCreditPacks(variables?: GetCreditPacksQueryVariables, options?: C): Promise<GetCreditPacksQuery>;
2612
4052
  GetSubscription(variables?: GetSubscriptionQueryVariables, options?: C): Promise<GetSubscriptionQuery>;
2613
4053
  WatchPipelineRun(variables: WatchPipelineRunSubscriptionVariables, options?: C): AsyncIterable<WatchPipelineRunSubscription>;
4054
+ WatchActivePipelineRuns(variables?: WatchActivePipelineRunsSubscriptionVariables, options?: C): AsyncIterable<WatchActivePipelineRunsSubscription>;
4055
+ WatchNotifications(variables: WatchNotificationsSubscriptionVariables, options?: C): AsyncIterable<WatchNotificationsSubscription>;
2614
4056
  GetMyApiKeys(variables?: GetMyApiKeysQueryVariables, options?: C): Promise<GetMyApiKeysQuery>;
2615
4057
  CreatePersonalAccessToken(variables: CreatePersonalAccessTokenMutationVariables, options?: C): Promise<CreatePersonalAccessTokenMutation>;
2616
4058
  RevokePersonalAccessToken(variables: RevokePersonalAccessTokenMutationVariables, options?: C): Promise<RevokePersonalAccessTokenMutation>;