@pipe2-ai/sdk 0.1.2 → 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;
@@ -139,6 +143,10 @@ export type String_Comparison_Exp = {
139
143
  /** does the column match the given SQL regular expression */
140
144
  _similar?: InputMaybe<Scalars['String']['input']>;
141
145
  };
146
+ export type Abort_Multipart_Upload_Output = {
147
+ __typename?: 'abort_multipart_upload_output';
148
+ success: Scalars['Boolean']['output'];
149
+ };
142
150
  export type Add_Affiliate_Code_Output = {
143
151
  __typename?: 'add_affiliate_code_output';
144
152
  code_id: Scalars['String']['output'];
@@ -333,6 +341,7 @@ export type Assets = {
333
341
  pipeline_run?: Maybe<Pipeline_Runs>;
334
342
  pipeline_run_id?: Maybe<Scalars['uuid']['output']>;
335
343
  preview_frames?: Maybe<Array<Scalars['String']['output']>>;
344
+ size_bytes: Scalars['bigint']['output'];
336
345
  tags: Array<Scalars['String']['output']>;
337
346
  thumbnail_url?: Maybe<Scalars['String']['output']>;
338
347
  type: Scalars['String']['output'];
@@ -395,10 +404,12 @@ export type Assets_Aggregate_Order_By = {
395
404
  export type Assets_Avg_Fields = {
396
405
  __typename?: 'assets_avg_fields';
397
406
  duration_sec?: Maybe<Scalars['Float']['output']>;
407
+ size_bytes?: Maybe<Scalars['Float']['output']>;
398
408
  };
399
409
  /** order by avg() on columns of table "assets" */
400
410
  export type Assets_Avg_Order_By = {
401
411
  duration_sec?: InputMaybe<Order_By>;
412
+ size_bytes?: InputMaybe<Order_By>;
402
413
  };
403
414
  /** Boolean expression to filter rows from the table "assets". All fields are combined with a logical 'AND'. */
404
415
  export type Assets_Bool_Exp = {
@@ -412,6 +423,7 @@ export type Assets_Bool_Exp = {
412
423
  pipeline_run?: InputMaybe<Pipeline_Runs_Bool_Exp>;
413
424
  pipeline_run_id?: InputMaybe<Uuid_Comparison_Exp>;
414
425
  preview_frames?: InputMaybe<String_Array_Comparison_Exp>;
426
+ size_bytes?: InputMaybe<Bigint_Comparison_Exp>;
415
427
  tags?: InputMaybe<String_Array_Comparison_Exp>;
416
428
  thumbnail_url?: InputMaybe<String_Comparison_Exp>;
417
429
  type?: InputMaybe<String_Comparison_Exp>;
@@ -425,6 +437,7 @@ export type Assets_Max_Fields = {
425
437
  id?: Maybe<Scalars['uuid']['output']>;
426
438
  pipeline_run_id?: Maybe<Scalars['uuid']['output']>;
427
439
  preview_frames?: Maybe<Array<Scalars['String']['output']>>;
440
+ size_bytes?: Maybe<Scalars['bigint']['output']>;
428
441
  tags?: Maybe<Array<Scalars['String']['output']>>;
429
442
  thumbnail_url?: Maybe<Scalars['String']['output']>;
430
443
  type?: Maybe<Scalars['String']['output']>;
@@ -437,6 +450,7 @@ export type Assets_Max_Order_By = {
437
450
  id?: InputMaybe<Order_By>;
438
451
  pipeline_run_id?: InputMaybe<Order_By>;
439
452
  preview_frames?: InputMaybe<Order_By>;
453
+ size_bytes?: InputMaybe<Order_By>;
440
454
  tags?: InputMaybe<Order_By>;
441
455
  thumbnail_url?: InputMaybe<Order_By>;
442
456
  type?: InputMaybe<Order_By>;
@@ -450,6 +464,7 @@ export type Assets_Min_Fields = {
450
464
  id?: Maybe<Scalars['uuid']['output']>;
451
465
  pipeline_run_id?: Maybe<Scalars['uuid']['output']>;
452
466
  preview_frames?: Maybe<Array<Scalars['String']['output']>>;
467
+ size_bytes?: Maybe<Scalars['bigint']['output']>;
453
468
  tags?: Maybe<Array<Scalars['String']['output']>>;
454
469
  thumbnail_url?: Maybe<Scalars['String']['output']>;
455
470
  type?: Maybe<Scalars['String']['output']>;
@@ -462,6 +477,7 @@ export type Assets_Min_Order_By = {
462
477
  id?: InputMaybe<Order_By>;
463
478
  pipeline_run_id?: InputMaybe<Order_By>;
464
479
  preview_frames?: InputMaybe<Order_By>;
480
+ size_bytes?: InputMaybe<Order_By>;
465
481
  tags?: InputMaybe<Order_By>;
466
482
  thumbnail_url?: InputMaybe<Order_By>;
467
483
  type?: InputMaybe<Order_By>;
@@ -484,6 +500,7 @@ export type Assets_Order_By = {
484
500
  pipeline_run?: InputMaybe<Pipeline_Runs_Order_By>;
485
501
  pipeline_run_id?: InputMaybe<Order_By>;
486
502
  preview_frames?: InputMaybe<Order_By>;
503
+ size_bytes?: InputMaybe<Order_By>;
487
504
  tags?: InputMaybe<Order_By>;
488
505
  thumbnail_url?: InputMaybe<Order_By>;
489
506
  type?: InputMaybe<Order_By>;
@@ -508,6 +525,8 @@ export declare enum Assets_Select_Column {
508
525
  /** column name */
509
526
  PreviewFrames = "preview_frames",
510
527
  /** column name */
528
+ SizeBytes = "size_bytes",
529
+ /** column name */
511
530
  Tags = "tags",
512
531
  /** column name */
513
532
  ThumbnailUrl = "thumbnail_url",
@@ -524,28 +543,34 @@ export type Assets_Set_Input = {
524
543
  export type Assets_Stddev_Fields = {
525
544
  __typename?: 'assets_stddev_fields';
526
545
  duration_sec?: Maybe<Scalars['Float']['output']>;
546
+ size_bytes?: Maybe<Scalars['Float']['output']>;
527
547
  };
528
548
  /** order by stddev() on columns of table "assets" */
529
549
  export type Assets_Stddev_Order_By = {
530
550
  duration_sec?: InputMaybe<Order_By>;
551
+ size_bytes?: InputMaybe<Order_By>;
531
552
  };
532
553
  /** aggregate stddev_pop on columns */
533
554
  export type Assets_Stddev_Pop_Fields = {
534
555
  __typename?: 'assets_stddev_pop_fields';
535
556
  duration_sec?: Maybe<Scalars['Float']['output']>;
557
+ size_bytes?: Maybe<Scalars['Float']['output']>;
536
558
  };
537
559
  /** order by stddev_pop() on columns of table "assets" */
538
560
  export type Assets_Stddev_Pop_Order_By = {
539
561
  duration_sec?: InputMaybe<Order_By>;
562
+ size_bytes?: InputMaybe<Order_By>;
540
563
  };
541
564
  /** aggregate stddev_samp on columns */
542
565
  export type Assets_Stddev_Samp_Fields = {
543
566
  __typename?: 'assets_stddev_samp_fields';
544
567
  duration_sec?: Maybe<Scalars['Float']['output']>;
568
+ size_bytes?: Maybe<Scalars['Float']['output']>;
545
569
  };
546
570
  /** order by stddev_samp() on columns of table "assets" */
547
571
  export type Assets_Stddev_Samp_Order_By = {
548
572
  duration_sec?: InputMaybe<Order_By>;
573
+ size_bytes?: InputMaybe<Order_By>;
549
574
  };
550
575
  /** Streaming cursor of the table "assets" */
551
576
  export type Assets_Stream_Cursor_Input = {
@@ -562,6 +587,7 @@ export type Assets_Stream_Cursor_Value_Input = {
562
587
  metadata?: InputMaybe<Scalars['jsonb']['input']>;
563
588
  pipeline_run_id?: InputMaybe<Scalars['uuid']['input']>;
564
589
  preview_frames?: InputMaybe<Array<Scalars['String']['input']>>;
590
+ size_bytes?: InputMaybe<Scalars['bigint']['input']>;
565
591
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
566
592
  thumbnail_url?: InputMaybe<Scalars['String']['input']>;
567
593
  type?: InputMaybe<Scalars['String']['input']>;
@@ -571,10 +597,12 @@ export type Assets_Stream_Cursor_Value_Input = {
571
597
  export type Assets_Sum_Fields = {
572
598
  __typename?: 'assets_sum_fields';
573
599
  duration_sec?: Maybe<Scalars['numeric']['output']>;
600
+ size_bytes?: Maybe<Scalars['bigint']['output']>;
574
601
  };
575
602
  /** order by sum() on columns of table "assets" */
576
603
  export type Assets_Sum_Order_By = {
577
604
  duration_sec?: InputMaybe<Order_By>;
605
+ size_bytes?: InputMaybe<Order_By>;
578
606
  };
579
607
  export type Assets_Updates = {
580
608
  /** sets the columns of the filtered rows to the given values */
@@ -586,28 +614,34 @@ export type Assets_Updates = {
586
614
  export type Assets_Var_Pop_Fields = {
587
615
  __typename?: 'assets_var_pop_fields';
588
616
  duration_sec?: Maybe<Scalars['Float']['output']>;
617
+ size_bytes?: Maybe<Scalars['Float']['output']>;
589
618
  };
590
619
  /** order by var_pop() on columns of table "assets" */
591
620
  export type Assets_Var_Pop_Order_By = {
592
621
  duration_sec?: InputMaybe<Order_By>;
622
+ size_bytes?: InputMaybe<Order_By>;
593
623
  };
594
624
  /** aggregate var_samp on columns */
595
625
  export type Assets_Var_Samp_Fields = {
596
626
  __typename?: 'assets_var_samp_fields';
597
627
  duration_sec?: Maybe<Scalars['Float']['output']>;
628
+ size_bytes?: Maybe<Scalars['Float']['output']>;
598
629
  };
599
630
  /** order by var_samp() on columns of table "assets" */
600
631
  export type Assets_Var_Samp_Order_By = {
601
632
  duration_sec?: InputMaybe<Order_By>;
633
+ size_bytes?: InputMaybe<Order_By>;
602
634
  };
603
635
  /** aggregate variance on columns */
604
636
  export type Assets_Variance_Fields = {
605
637
  __typename?: 'assets_variance_fields';
606
638
  duration_sec?: Maybe<Scalars['Float']['output']>;
639
+ size_bytes?: Maybe<Scalars['Float']['output']>;
607
640
  };
608
641
  /** order by variance() on columns of table "assets" */
609
642
  export type Assets_Variance_Order_By = {
610
643
  duration_sec?: InputMaybe<Order_By>;
644
+ size_bytes?: InputMaybe<Order_By>;
611
645
  };
612
646
  export type Auth_Flow = {
613
647
  __typename?: 'auth_flow';
@@ -621,6 +655,18 @@ export type Auth_Result = {
621
655
  token?: Maybe<Scalars['String']['output']>;
622
656
  whop_affiliate_id?: Maybe<Scalars['String']['output']>;
623
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
+ };
624
670
  /** Boolean expression to compare columns of type "bpchar". All fields are combined with logical 'AND'. */
625
671
  export type Bpchar_Comparison_Exp = {
626
672
  _eq?: InputMaybe<Scalars['bpchar']['input']>;
@@ -720,56 +766,221 @@ export type Credit_History_Entry = {
720
766
  description: Scalars['String']['output'];
721
767
  type: Scalars['String']['output'];
722
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
+ };
723
937
  /** columns and relationships of "credit_packs" */
724
938
  export type Credit_Packs = {
725
939
  __typename?: 'credit_packs';
726
- credits: Scalars['Int']['output'];
727
940
  id: Scalars['uuid']['output'];
728
941
  name: Scalars['String']['output'];
729
- price_cents: Scalars['Int']['output'];
730
942
  slug: Scalars['String']['output'];
731
943
  sort_order: Scalars['Int']['output'];
732
- 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>;
733
954
  };
734
955
  /** Boolean expression to filter rows from the table "credit_packs". All fields are combined with a logical 'AND'. */
735
956
  export type Credit_Packs_Bool_Exp = {
736
957
  _and?: InputMaybe<Array<Credit_Packs_Bool_Exp>>;
737
958
  _not?: InputMaybe<Credit_Packs_Bool_Exp>;
738
959
  _or?: InputMaybe<Array<Credit_Packs_Bool_Exp>>;
739
- credits?: InputMaybe<Int_Comparison_Exp>;
740
960
  id?: InputMaybe<Uuid_Comparison_Exp>;
741
961
  name?: InputMaybe<String_Comparison_Exp>;
742
- price_cents?: InputMaybe<Int_Comparison_Exp>;
743
962
  slug?: InputMaybe<String_Comparison_Exp>;
744
963
  sort_order?: InputMaybe<Int_Comparison_Exp>;
745
- whop_plan_id?: InputMaybe<String_Comparison_Exp>;
964
+ versions?: InputMaybe<Credit_Pack_Versions_Bool_Exp>;
746
965
  };
747
966
  /** Ordering options when selecting data from "credit_packs". */
748
967
  export type Credit_Packs_Order_By = {
749
- credits?: InputMaybe<Order_By>;
750
968
  id?: InputMaybe<Order_By>;
751
969
  name?: InputMaybe<Order_By>;
752
- price_cents?: InputMaybe<Order_By>;
753
970
  slug?: InputMaybe<Order_By>;
754
971
  sort_order?: InputMaybe<Order_By>;
755
- whop_plan_id?: InputMaybe<Order_By>;
972
+ versions_aggregate?: InputMaybe<Credit_Pack_Versions_Aggregate_Order_By>;
756
973
  };
757
974
  /** select columns of table "credit_packs" */
758
975
  export declare enum Credit_Packs_Select_Column {
759
- /** column name */
760
- Credits = "credits",
761
976
  /** column name */
762
977
  Id = "id",
763
978
  /** column name */
764
979
  Name = "name",
765
980
  /** column name */
766
- PriceCents = "price_cents",
767
- /** column name */
768
981
  Slug = "slug",
769
982
  /** column name */
770
- SortOrder = "sort_order",
771
- /** column name */
772
- WhopPlanId = "whop_plan_id"
983
+ SortOrder = "sort_order"
773
984
  }
774
985
  /** Streaming cursor of the table "credit_packs" */
775
986
  export type Credit_Packs_Stream_Cursor_Input = {
@@ -780,13 +991,10 @@ export type Credit_Packs_Stream_Cursor_Input = {
780
991
  };
781
992
  /** Initial value of the column from where the streaming should start */
782
993
  export type Credit_Packs_Stream_Cursor_Value_Input = {
783
- credits?: InputMaybe<Scalars['Int']['input']>;
784
994
  id?: InputMaybe<Scalars['uuid']['input']>;
785
995
  name?: InputMaybe<Scalars['String']['input']>;
786
- price_cents?: InputMaybe<Scalars['Int']['input']>;
787
996
  slug?: InputMaybe<Scalars['String']['input']>;
788
997
  sort_order?: InputMaybe<Scalars['Int']['input']>;
789
- whop_plan_id?: InputMaybe<Scalars['String']['input']>;
790
998
  };
791
999
  export type Current_User_Output = {
792
1000
  __typename?: 'current_user_output';
@@ -915,9 +1123,20 @@ export type Jsonb_Comparison_Exp = {
915
1123
  _neq?: InputMaybe<Scalars['jsonb']['input']>;
916
1124
  _nin?: InputMaybe<Array<Scalars['jsonb']['input']>>;
917
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
+ };
918
1135
  /** mutation root */
919
1136
  export type Mutation_Root = {
920
1137
  __typename?: 'mutation_root';
1138
+ /** Cancel an in-progress multipart upload (cleanup) */
1139
+ abort_multipart_upload: Abort_Multipart_Upload_Output;
921
1140
  /** Add a new primary affiliate code */
922
1141
  add_affiliate_code: Add_Affiliate_Code_Output;
923
1142
  /** Cancel a pending scheduled account deletion during the grace period. */
@@ -932,6 +1151,8 @@ export type Mutation_Root = {
932
1151
  change_name: Change_Name_Output;
933
1152
  /** Change the current user's password via Kratos settings flow */
934
1153
  change_password: Change_Password_Output;
1154
+ /** Finalize a multipart upload and register the asset row */
1155
+ complete_multipart_upload: Create_Asset_Output;
935
1156
  /** Validate a deletion JWT and schedule the account for deletion (token-authed, anonymous-allowed). */
936
1157
  confirm_account_deletion: Confirm_Account_Deletion_Output;
937
1158
  /** Create an asset record after S3 upload */
@@ -958,6 +1179,8 @@ export type Mutation_Root = {
958
1179
  request_account_deletion: Request_Account_Deletion_Output;
959
1180
  /** Mint a presigned S3 PUT URL for an avatar image */
960
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;
961
1184
  /** Generate presigned S3 PUT URL for direct browser uploads */
962
1185
  request_upload: Request_Upload_Output;
963
1186
  /** Revoke a personal access token */
@@ -994,6 +1217,11 @@ export type Mutation_Root = {
994
1217
  update_notifications_many?: Maybe<Array<Maybe<Notifications_Mutation_Response>>>;
995
1218
  };
996
1219
  /** mutation root */
1220
+ export type Mutation_RootAbort_Multipart_UploadArgs = {
1221
+ key: Scalars['String']['input'];
1222
+ upload_id: Scalars['String']['input'];
1223
+ };
1224
+ /** mutation root */
997
1225
  export type Mutation_RootAdd_Affiliate_CodeArgs = {
998
1226
  code: Scalars['String']['input'];
999
1227
  redirect_path?: InputMaybe<Scalars['String']['input']>;
@@ -1016,14 +1244,21 @@ export type Mutation_RootChange_PasswordArgs = {
1016
1244
  new_password: Scalars['String']['input'];
1017
1245
  };
1018
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 */
1019
1255
  export type Mutation_RootConfirm_Account_DeletionArgs = {
1020
1256
  token: Scalars['String']['input'];
1021
1257
  };
1022
1258
  /** mutation root */
1023
1259
  export type Mutation_RootCreate_AssetArgs = {
1260
+ key: Scalars['String']['input'];
1024
1261
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
1025
- type: Scalars['String']['input'];
1026
- url: Scalars['String']['input'];
1027
1262
  };
1028
1263
  /** mutation root */
1029
1264
  export type Mutation_RootCreate_Personal_Access_TokenArgs = {
@@ -1056,6 +1291,13 @@ export type Mutation_RootRequest_Avatar_UploadArgs = {
1056
1291
  filename: Scalars['String']['input'];
1057
1292
  };
1058
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'];
1299
+ };
1300
+ /** mutation root */
1059
1301
  export type Mutation_RootRequest_UploadArgs = {
1060
1302
  content_type: Scalars['String']['input'];
1061
1303
  filename: Scalars['String']['input'];
@@ -1754,23 +1996,250 @@ export type Pipelines_Stream_Cursor_Value_Input = {
1754
1996
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
1755
1997
  ui_schema?: InputMaybe<Scalars['jsonb']['input']>;
1756
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
+ };
1757
2219
  /** columns and relationships of "plans" */
1758
2220
  export type Plans = {
1759
2221
  __typename?: 'plans';
1760
2222
  description?: Maybe<Scalars['String']['output']>;
1761
2223
  features: Scalars['jsonb']['output'];
1762
2224
  id: Scalars['uuid']['output'];
1763
- monthly_credits: Scalars['Int']['output'];
1764
2225
  name: Scalars['String']['output'];
1765
- price_cents: Scalars['Int']['output'];
1766
2226
  slug: Scalars['String']['output'];
1767
2227
  sort_order: Scalars['Int']['output'];
1768
- whop_plan_id?: Maybe<Scalars['String']['output']>;
2228
+ /** An array relationship */
2229
+ versions: Array<Plan_Versions>;
1769
2230
  };
1770
2231
  /** columns and relationships of "plans" */
1771
2232
  export type PlansFeaturesArgs = {
1772
2233
  path?: InputMaybe<Scalars['String']['input']>;
1773
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
+ };
1774
2243
  /** Boolean expression to filter rows from the table "plans". All fields are combined with a logical 'AND'. */
1775
2244
  export type Plans_Bool_Exp = {
1776
2245
  _and?: InputMaybe<Array<Plans_Bool_Exp>>;
@@ -1779,24 +2248,20 @@ export type Plans_Bool_Exp = {
1779
2248
  description?: InputMaybe<String_Comparison_Exp>;
1780
2249
  features?: InputMaybe<Jsonb_Comparison_Exp>;
1781
2250
  id?: InputMaybe<Uuid_Comparison_Exp>;
1782
- monthly_credits?: InputMaybe<Int_Comparison_Exp>;
1783
2251
  name?: InputMaybe<String_Comparison_Exp>;
1784
- price_cents?: InputMaybe<Int_Comparison_Exp>;
1785
2252
  slug?: InputMaybe<String_Comparison_Exp>;
1786
2253
  sort_order?: InputMaybe<Int_Comparison_Exp>;
1787
- whop_plan_id?: InputMaybe<String_Comparison_Exp>;
2254
+ versions?: InputMaybe<Plan_Versions_Bool_Exp>;
1788
2255
  };
1789
2256
  /** Ordering options when selecting data from "plans". */
1790
2257
  export type Plans_Order_By = {
1791
2258
  description?: InputMaybe<Order_By>;
1792
2259
  features?: InputMaybe<Order_By>;
1793
2260
  id?: InputMaybe<Order_By>;
1794
- monthly_credits?: InputMaybe<Order_By>;
1795
2261
  name?: InputMaybe<Order_By>;
1796
- price_cents?: InputMaybe<Order_By>;
1797
2262
  slug?: InputMaybe<Order_By>;
1798
2263
  sort_order?: InputMaybe<Order_By>;
1799
- whop_plan_id?: InputMaybe<Order_By>;
2264
+ versions_aggregate?: InputMaybe<Plan_Versions_Aggregate_Order_By>;
1800
2265
  };
1801
2266
  /** select columns of table "plans" */
1802
2267
  export declare enum Plans_Select_Column {
@@ -1807,17 +2272,11 @@ export declare enum Plans_Select_Column {
1807
2272
  /** column name */
1808
2273
  Id = "id",
1809
2274
  /** column name */
1810
- MonthlyCredits = "monthly_credits",
1811
- /** column name */
1812
2275
  Name = "name",
1813
2276
  /** column name */
1814
- PriceCents = "price_cents",
1815
- /** column name */
1816
2277
  Slug = "slug",
1817
2278
  /** column name */
1818
- SortOrder = "sort_order",
1819
- /** column name */
1820
- WhopPlanId = "whop_plan_id"
2279
+ SortOrder = "sort_order"
1821
2280
  }
1822
2281
  /** Streaming cursor of the table "plans" */
1823
2282
  export type Plans_Stream_Cursor_Input = {
@@ -1831,12 +2290,9 @@ export type Plans_Stream_Cursor_Value_Input = {
1831
2290
  description?: InputMaybe<Scalars['String']['input']>;
1832
2291
  features?: InputMaybe<Scalars['jsonb']['input']>;
1833
2292
  id?: InputMaybe<Scalars['uuid']['input']>;
1834
- monthly_credits?: InputMaybe<Scalars['Int']['input']>;
1835
2293
  name?: InputMaybe<Scalars['String']['input']>;
1836
- price_cents?: InputMaybe<Scalars['Int']['input']>;
1837
2294
  slug?: InputMaybe<Scalars['String']['input']>;
1838
2295
  sort_order?: InputMaybe<Scalars['Int']['input']>;
1839
- whop_plan_id?: InputMaybe<Scalars['String']['input']>;
1840
2296
  };
1841
2297
  export type Query_Root = {
1842
2298
  __typename?: 'query_root';
@@ -1854,6 +2310,10 @@ export type Query_Root = {
1854
2310
  assets_aggregate: Assets_Aggregate;
1855
2311
  /** fetch data from the table: "assets" using primary key columns */
1856
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>;
1857
2317
  /** fetch data from the table: "credit_packs" */
1858
2318
  credit_packs: Array<Credit_Packs>;
1859
2319
  /** fetch data from the table: "credit_packs" using primary key columns */
@@ -1888,11 +2348,15 @@ export type Query_Root = {
1888
2348
  pipelines: Array<Pipelines>;
1889
2349
  /** fetch data from the table: "pipelines" using primary key columns */
1890
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>;
1891
2355
  /** fetch data from the table: "plans" */
1892
2356
  plans: Array<Plans>;
1893
2357
  /** fetch data from the table: "plans" using primary key columns */
1894
2358
  plans_by_pk?: Maybe<Plans>;
1895
- /** fetch data from the table: "subscriptions" */
2359
+ /** An array relationship */
1896
2360
  subscriptions: Array<Subscriptions>;
1897
2361
  /** fetch data from the table: "subscriptions" using primary key columns */
1898
2362
  subscriptions_by_pk?: Maybe<Subscriptions>;
@@ -1934,6 +2398,16 @@ export type Query_RootAssets_AggregateArgs = {
1934
2398
  export type Query_RootAssets_By_PkArgs = {
1935
2399
  id: Scalars['uuid']['input'];
1936
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
+ };
1937
2411
  export type Query_RootCredit_PacksArgs = {
1938
2412
  distinct_on?: InputMaybe<Array<Credit_Packs_Select_Column>>;
1939
2413
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -2005,6 +2479,16 @@ export type Query_RootPipelinesArgs = {
2005
2479
  export type Query_RootPipelines_By_PkArgs = {
2006
2480
  id: Scalars['uuid']['input'];
2007
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
+ };
2008
2492
  export type Query_RootPlansArgs = {
2009
2493
  distinct_on?: InputMaybe<Array<Plans_Select_Column>>;
2010
2494
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -2049,6 +2533,14 @@ export type Request_Avatar_Upload_Output = {
2049
2533
  success: Scalars['Boolean']['output'];
2050
2534
  upload_url: Scalars['String']['output'];
2051
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
+ };
2052
2544
  export type Request_Upload_Output = {
2053
2545
  __typename?: 'request_upload_output';
2054
2546
  asset_url: Scalars['String']['output'];
@@ -2092,6 +2584,12 @@ export type Subscription_Root = {
2092
2584
  assets_by_pk?: Maybe<Assets>;
2093
2585
  /** fetch data from the table in a streaming manner: "assets" */
2094
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>;
2095
2593
  /** fetch data from the table: "credit_packs" */
2096
2594
  credit_packs: Array<Credit_Packs>;
2097
2595
  /** fetch data from the table: "credit_packs" using primary key columns */
@@ -2130,13 +2628,19 @@ export type Subscription_Root = {
2130
2628
  pipelines_by_pk?: Maybe<Pipelines>;
2131
2629
  /** fetch data from the table in a streaming manner: "pipelines" */
2132
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>;
2133
2637
  /** fetch data from the table: "plans" */
2134
2638
  plans: Array<Plans>;
2135
2639
  /** fetch data from the table: "plans" using primary key columns */
2136
2640
  plans_by_pk?: Maybe<Plans>;
2137
2641
  /** fetch data from the table in a streaming manner: "plans" */
2138
2642
  plans_stream: Array<Plans>;
2139
- /** fetch data from the table: "subscriptions" */
2643
+ /** An array relationship */
2140
2644
  subscriptions: Array<Subscriptions>;
2141
2645
  /** fetch data from the table: "subscriptions" using primary key columns */
2142
2646
  subscriptions_by_pk?: Maybe<Subscriptions>;
@@ -2195,6 +2699,21 @@ export type Subscription_RootAssets_StreamArgs = {
2195
2699
  cursor: Array<InputMaybe<Assets_Stream_Cursor_Input>>;
2196
2700
  where?: InputMaybe<Assets_Bool_Exp>;
2197
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
+ };
2198
2717
  export type Subscription_RootCredit_PacksArgs = {
2199
2718
  distinct_on?: InputMaybe<Array<Credit_Packs_Select_Column>>;
2200
2719
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -2296,6 +2815,21 @@ export type Subscription_RootPipelines_StreamArgs = {
2296
2815
  cursor: Array<InputMaybe<Pipelines_Stream_Cursor_Input>>;
2297
2816
  where?: InputMaybe<Pipelines_Bool_Exp>;
2298
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
+ };
2299
2833
  export type Subscription_RootPlansArgs = {
2300
2834
  distinct_on?: InputMaybe<Array<Plans_Select_Column>>;
2301
2835
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -2337,8 +2871,17 @@ export type Subscriptions = {
2337
2871
  /** An object relationship */
2338
2872
  plan: Plans;
2339
2873
  plan_id: Scalars['uuid']['output'];
2874
+ /** An object relationship */
2875
+ plan_version: Plan_Versions;
2876
+ plan_version_id: Scalars['uuid']['output'];
2340
2877
  status: Scalars['String']['output'];
2341
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
+ };
2342
2885
  /** Boolean expression to filter rows from the table "subscriptions". All fields are combined with a logical 'AND'. */
2343
2886
  export type Subscriptions_Bool_Exp = {
2344
2887
  _and?: InputMaybe<Array<Subscriptions_Bool_Exp>>;
@@ -2351,8 +2894,30 @@ export type Subscriptions_Bool_Exp = {
2351
2894
  period_start?: InputMaybe<Timestamptz_Comparison_Exp>;
2352
2895
  plan?: InputMaybe<Plans_Bool_Exp>;
2353
2896
  plan_id?: InputMaybe<Uuid_Comparison_Exp>;
2897
+ plan_version?: InputMaybe<Plan_Versions_Bool_Exp>;
2898
+ plan_version_id?: InputMaybe<Uuid_Comparison_Exp>;
2354
2899
  status?: InputMaybe<String_Comparison_Exp>;
2355
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
+ };
2356
2921
  /** Ordering options when selecting data from "subscriptions". */
2357
2922
  export type Subscriptions_Order_By = {
2358
2923
  cancel_at_period_end?: InputMaybe<Order_By>;
@@ -2362,6 +2927,8 @@ export type Subscriptions_Order_By = {
2362
2927
  period_start?: InputMaybe<Order_By>;
2363
2928
  plan?: InputMaybe<Plans_Order_By>;
2364
2929
  plan_id?: InputMaybe<Order_By>;
2930
+ plan_version?: InputMaybe<Plan_Versions_Order_By>;
2931
+ plan_version_id?: InputMaybe<Order_By>;
2365
2932
  status?: InputMaybe<Order_By>;
2366
2933
  };
2367
2934
  /** select columns of table "subscriptions" */
@@ -2379,6 +2946,8 @@ export declare enum Subscriptions_Select_Column {
2379
2946
  /** column name */
2380
2947
  PlanId = "plan_id",
2381
2948
  /** column name */
2949
+ PlanVersionId = "plan_version_id",
2950
+ /** column name */
2382
2951
  Status = "status"
2383
2952
  }
2384
2953
  /** Streaming cursor of the table "subscriptions" */
@@ -2396,6 +2965,7 @@ export type Subscriptions_Stream_Cursor_Value_Input = {
2396
2965
  period_end?: InputMaybe<Scalars['timestamptz']['input']>;
2397
2966
  period_start?: InputMaybe<Scalars['timestamptz']['input']>;
2398
2967
  plan_id?: InputMaybe<Scalars['uuid']['input']>;
2968
+ plan_version_id?: InputMaybe<Scalars['uuid']['input']>;
2399
2969
  status?: InputMaybe<Scalars['String']['input']>;
2400
2970
  };
2401
2971
  /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */
@@ -2612,6 +3182,23 @@ export type GetMyReferralsQuery = {
2612
3182
  }>;
2613
3183
  };
2614
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
+ };
2615
3202
  export type GetAssetThumbnailQueryVariables = Exact<{
2616
3203
  id: Scalars['uuid']['input'];
2617
3204
  }>;
@@ -2680,9 +3267,58 @@ export type RequestUploadMutation = {
2680
3267
  key: string;
2681
3268
  };
2682
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
+ };
2683
3320
  export type CreateAssetMutationVariables = Exact<{
2684
- asset_type: Scalars['String']['input'];
2685
- url: Scalars['String']['input'];
3321
+ key: Scalars['String']['input'];
2686
3322
  tags?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
2687
3323
  }>;
2688
3324
  export type CreateAssetMutation = {
@@ -3123,11 +3759,17 @@ export type GetPlansQuery = {
3123
3759
  slug: string;
3124
3760
  name: string;
3125
3761
  description?: string | null;
3126
- monthly_credits: number;
3127
- price_cents: number;
3128
3762
  features: any;
3129
3763
  sort_order: number;
3130
- 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
+ }>;
3131
3773
  }>;
3132
3774
  };
3133
3775
  export type GetCreditPacksQueryVariables = Exact<{
@@ -3140,10 +3782,14 @@ export type GetCreditPacksQuery = {
3140
3782
  id: any;
3141
3783
  slug: string;
3142
3784
  name: string;
3143
- credits: number;
3144
- price_cents: number;
3145
3785
  sort_order: number;
3146
- 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
+ }>;
3147
3793
  }>;
3148
3794
  };
3149
3795
  export type GetSubscriptionQueryVariables = Exact<{
@@ -3155,6 +3801,7 @@ export type GetSubscriptionQuery = {
3155
3801
  __typename?: 'subscriptions';
3156
3802
  id: any;
3157
3803
  plan_id: any;
3804
+ plan_version_id: any;
3158
3805
  status: string;
3159
3806
  period_start: any;
3160
3807
  period_end: any;
@@ -3163,9 +3810,17 @@ export type GetSubscriptionQuery = {
3163
3810
  __typename?: 'plans';
3164
3811
  slug: string;
3165
3812
  name: string;
3166
- monthly_credits: number;
3167
3813
  sort_order: number;
3168
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
+ };
3169
3824
  }>;
3170
3825
  };
3171
3826
  export type WatchPipelineRunSubscriptionVariables = Exact<{
@@ -3303,10 +3958,14 @@ export declare const GetMyAffiliateDocument: DocumentNode;
3303
3958
  export declare const AddAffiliateCodeDocument: DocumentNode;
3304
3959
  export declare const EnsureAffiliateDocument: DocumentNode;
3305
3960
  export declare const GetMyReferralsDocument: DocumentNode;
3961
+ export declare const GetMyStorageUsageDocument: DocumentNode;
3306
3962
  export declare const GetAssetThumbnailDocument: DocumentNode;
3307
3963
  export declare const GetAssetThumbnailsByIdsDocument: DocumentNode;
3308
3964
  export declare const GetUserAssetsDocument: DocumentNode;
3309
3965
  export declare const RequestUploadDocument: DocumentNode;
3966
+ export declare const RequestMultipartUploadDocument: DocumentNode;
3967
+ export declare const CompleteMultipartUploadDocument: DocumentNode;
3968
+ export declare const AbortMultipartUploadDocument: DocumentNode;
3310
3969
  export declare const CreateAssetDocument: DocumentNode;
3311
3970
  export declare const DeleteAssetActionDocument: DocumentNode;
3312
3971
  export declare const UpdateAssetTagsDocument: DocumentNode;
@@ -3356,10 +4015,14 @@ export declare function getSdk<C>(requester: Requester<C>): {
3356
4015
  AddAffiliateCode(variables: AddAffiliateCodeMutationVariables, options?: C): Promise<AddAffiliateCodeMutation>;
3357
4016
  EnsureAffiliate(variables?: EnsureAffiliateMutationVariables, options?: C): Promise<EnsureAffiliateMutation>;
3358
4017
  GetMyReferrals(variables?: GetMyReferralsQueryVariables, options?: C): Promise<GetMyReferralsQuery>;
4018
+ GetMyStorageUsage(variables?: GetMyStorageUsageQueryVariables, options?: C): Promise<GetMyStorageUsageQuery>;
3359
4019
  GetAssetThumbnail(variables: GetAssetThumbnailQueryVariables, options?: C): Promise<GetAssetThumbnailQuery>;
3360
4020
  GetAssetThumbnailsByIds(variables: GetAssetThumbnailsByIdsQueryVariables, options?: C): Promise<GetAssetThumbnailsByIdsQuery>;
3361
4021
  GetUserAssets(variables?: GetUserAssetsQueryVariables, options?: C): Promise<GetUserAssetsQuery>;
3362
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>;
3363
4026
  CreateAsset(variables: CreateAssetMutationVariables, options?: C): Promise<CreateAssetMutation>;
3364
4027
  DeleteAssetAction(variables: DeleteAssetActionMutationVariables, options?: C): Promise<DeleteAssetActionMutation>;
3365
4028
  UpdateAssetTags(variables: UpdateAssetTagsMutationVariables, options?: C): Promise<UpdateAssetTagsMutation>;