@pipe2-ai/sdk 2026.7.6 → 2026.8.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.
@@ -346,6 +346,8 @@ export type Assets = {
346
346
  thumbnail_url?: Maybe<Scalars['String']['output']>;
347
347
  type: Scalars['String']['output'];
348
348
  url: Scalars['String']['output'];
349
+ /** An object relationship */
350
+ user: Users;
349
351
  };
350
352
  /** columns and relationships of "assets" */
351
353
  export type AssetsMetadataArgs = {
@@ -428,6 +430,7 @@ export type Assets_Bool_Exp = {
428
430
  thumbnail_url?: InputMaybe<String_Comparison_Exp>;
429
431
  type?: InputMaybe<String_Comparison_Exp>;
430
432
  url?: InputMaybe<String_Comparison_Exp>;
433
+ user?: InputMaybe<Users_Bool_Exp>;
431
434
  };
432
435
  /** aggregate max on columns */
433
436
  export type Assets_Max_Fields = {
@@ -505,6 +508,7 @@ export type Assets_Order_By = {
505
508
  thumbnail_url?: InputMaybe<Order_By>;
506
509
  type?: InputMaybe<Order_By>;
507
510
  url?: InputMaybe<Order_By>;
511
+ user?: InputMaybe<Users_Order_By>;
508
512
  };
509
513
  /** primary key columns input for table: assets */
510
514
  export type Assets_Pk_Columns_Input = {
@@ -714,6 +718,11 @@ export type Cancel_Subscription_Output = {
714
718
  message: Scalars['String']['output'];
715
719
  success: Scalars['Boolean']['output'];
716
720
  };
721
+ export type Cancel_Subscription_Plan_Change_Output = {
722
+ __typename?: 'cancel_subscription_plan_change_output';
723
+ cancelled: Scalars['Boolean']['output'];
724
+ success: Scalars['Boolean']['output'];
725
+ };
717
726
  export type Change_Avatar_Output = {
718
727
  __typename?: 'change_avatar_output';
719
728
  avatar_url: Scalars['String']['output'];
@@ -737,6 +746,52 @@ export type Confirm_Account_Deletion_Output = {
737
746
  message: Scalars['String']['output'];
738
747
  success: Scalars['Boolean']['output'];
739
748
  };
749
+ /** ISO 3166-1 alpha-2, plus a literal '*' row meaning "any country". */
750
+ export type Countries = {
751
+ __typename?: 'countries';
752
+ code: Scalars['String']['output'];
753
+ /** ISO-4217 code of the country's current legal tender (CLDR currencyData). DISPLAY ONLY — every rail still settles in USD, so this never touches the amount charged. */
754
+ currency?: Maybe<Scalars['String']['output']>;
755
+ name: Scalars['String']['output'];
756
+ };
757
+ /** Boolean expression to filter rows from the table "countries". All fields are combined with a logical 'AND'. */
758
+ export type Countries_Bool_Exp = {
759
+ _and?: InputMaybe<Array<Countries_Bool_Exp>>;
760
+ _not?: InputMaybe<Countries_Bool_Exp>;
761
+ _or?: InputMaybe<Array<Countries_Bool_Exp>>;
762
+ code?: InputMaybe<String_Comparison_Exp>;
763
+ currency?: InputMaybe<String_Comparison_Exp>;
764
+ name?: InputMaybe<String_Comparison_Exp>;
765
+ };
766
+ /** Ordering options when selecting data from "countries". */
767
+ export type Countries_Order_By = {
768
+ code?: InputMaybe<Order_By>;
769
+ currency?: InputMaybe<Order_By>;
770
+ name?: InputMaybe<Order_By>;
771
+ };
772
+ /** select columns of table "countries" */
773
+ export declare enum Countries_Select_Column {
774
+ /** column name */
775
+ Code = "code",
776
+ /** column name */
777
+ Currency = "currency",
778
+ /** column name */
779
+ Name = "name"
780
+ }
781
+ /** Streaming cursor of the table "countries" */
782
+ export type Countries_Stream_Cursor_Input = {
783
+ /** Stream column input with initial value */
784
+ initial_value: Countries_Stream_Cursor_Value_Input;
785
+ /** cursor ordering */
786
+ ordering?: InputMaybe<Cursor_Ordering>;
787
+ };
788
+ /** Initial value of the column from where the streaming should start */
789
+ export type Countries_Stream_Cursor_Value_Input = {
790
+ code?: InputMaybe<Scalars['String']['input']>;
791
+ /** ISO-4217 code of the country's current legal tender (CLDR currencyData). DISPLAY ONLY — every rail still settles in USD, so this never touches the amount charged. */
792
+ currency?: InputMaybe<Scalars['String']['input']>;
793
+ name?: InputMaybe<Scalars['String']['input']>;
794
+ };
740
795
  export type Create_Asset_Output = {
741
796
  __typename?: 'create_asset_output';
742
797
  created_at: Scalars['String']['output'];
@@ -745,11 +800,41 @@ export type Create_Asset_Output = {
745
800
  type: Scalars['String']['output'];
746
801
  url: Scalars['String']['output'];
747
802
  };
803
+ export type Create_Auth_Handoff_Code_Output = {
804
+ __typename?: 'create_auth_handoff_code_output';
805
+ code: Scalars['String']['output'];
806
+ expires_at: Scalars['String']['output'];
807
+ };
748
808
  export type Create_Checkout_Session_Output = {
749
809
  __typename?: 'create_checkout_session_output';
750
810
  success: Scalars['Boolean']['output'];
751
811
  url: Scalars['String']['output'];
752
812
  };
813
+ export type Create_Crypto_Payment_Output = {
814
+ __typename?: 'create_crypto_payment_output';
815
+ amount: Scalars['String']['output'];
816
+ amount_paid_usdt?: Maybe<Scalars['Float']['output']>;
817
+ asset?: Maybe<Scalars['String']['output']>;
818
+ confirmations: Scalars['Int']['output'];
819
+ credits: Scalars['Float']['output'];
820
+ currency_id: Scalars['String']['output'];
821
+ deposit_address: Scalars['String']['output'];
822
+ expected_usdt: Scalars['Float']['output'];
823
+ expires_at: Scalars['String']['output'];
824
+ granted_at?: Maybe<Scalars['String']['output']>;
825
+ network: Scalars['String']['output'];
826
+ payment_id: Scalars['String']['output'];
827
+ payment_uri?: Maybe<Scalars['String']['output']>;
828
+ provider: Scalars['String']['output'];
829
+ qr_code_data_url?: Maybe<Scalars['String']['output']>;
830
+ remaining_amount?: Maybe<Scalars['String']['output']>;
831
+ required_confirmations: Scalars['Int']['output'];
832
+ status: Scalars['String']['output'];
833
+ success: Scalars['Boolean']['output'];
834
+ top_up_payment_uri?: Maybe<Scalars['String']['output']>;
835
+ top_up_qr_code_data_url?: Maybe<Scalars['String']['output']>;
836
+ tx_hash?: Maybe<Scalars['String']['output']>;
837
+ };
753
838
  export type Create_Personal_Access_Token_Output = {
754
839
  __typename?: 'create_personal_access_token_output';
755
840
  expires_at: Scalars['String']['output'];
@@ -764,6 +849,74 @@ export type Credit_Balance_Output = {
764
849
  balance: Scalars['Int']['output'];
765
850
  reserved: Scalars['Int']['output'];
766
851
  };
852
+ /** columns and relationships of "credit_grants" */
853
+ export type Credit_Grants = {
854
+ __typename?: 'credit_grants';
855
+ created_at: Scalars['timestamptz']['output'];
856
+ expires_at?: Maybe<Scalars['timestamptz']['output']>;
857
+ id: Scalars['uuid']['output'];
858
+ original_mc: Scalars['bigint']['output'];
859
+ remaining_mc: Scalars['bigint']['output'];
860
+ source: Scalars['String']['output'];
861
+ status: Scalars['String']['output'];
862
+ };
863
+ /** Boolean expression to filter rows from the table "credit_grants". All fields are combined with a logical 'AND'. */
864
+ export type Credit_Grants_Bool_Exp = {
865
+ _and?: InputMaybe<Array<Credit_Grants_Bool_Exp>>;
866
+ _not?: InputMaybe<Credit_Grants_Bool_Exp>;
867
+ _or?: InputMaybe<Array<Credit_Grants_Bool_Exp>>;
868
+ created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
869
+ expires_at?: InputMaybe<Timestamptz_Comparison_Exp>;
870
+ id?: InputMaybe<Uuid_Comparison_Exp>;
871
+ original_mc?: InputMaybe<Bigint_Comparison_Exp>;
872
+ remaining_mc?: InputMaybe<Bigint_Comparison_Exp>;
873
+ source?: InputMaybe<String_Comparison_Exp>;
874
+ status?: InputMaybe<String_Comparison_Exp>;
875
+ };
876
+ /** Ordering options when selecting data from "credit_grants". */
877
+ export type Credit_Grants_Order_By = {
878
+ created_at?: InputMaybe<Order_By>;
879
+ expires_at?: InputMaybe<Order_By>;
880
+ id?: InputMaybe<Order_By>;
881
+ original_mc?: InputMaybe<Order_By>;
882
+ remaining_mc?: InputMaybe<Order_By>;
883
+ source?: InputMaybe<Order_By>;
884
+ status?: InputMaybe<Order_By>;
885
+ };
886
+ /** select columns of table "credit_grants" */
887
+ export declare enum Credit_Grants_Select_Column {
888
+ /** column name */
889
+ CreatedAt = "created_at",
890
+ /** column name */
891
+ ExpiresAt = "expires_at",
892
+ /** column name */
893
+ Id = "id",
894
+ /** column name */
895
+ OriginalMc = "original_mc",
896
+ /** column name */
897
+ RemainingMc = "remaining_mc",
898
+ /** column name */
899
+ Source = "source",
900
+ /** column name */
901
+ Status = "status"
902
+ }
903
+ /** Streaming cursor of the table "credit_grants" */
904
+ export type Credit_Grants_Stream_Cursor_Input = {
905
+ /** Stream column input with initial value */
906
+ initial_value: Credit_Grants_Stream_Cursor_Value_Input;
907
+ /** cursor ordering */
908
+ ordering?: InputMaybe<Cursor_Ordering>;
909
+ };
910
+ /** Initial value of the column from where the streaming should start */
911
+ export type Credit_Grants_Stream_Cursor_Value_Input = {
912
+ created_at?: InputMaybe<Scalars['timestamptz']['input']>;
913
+ expires_at?: InputMaybe<Scalars['timestamptz']['input']>;
914
+ id?: InputMaybe<Scalars['uuid']['input']>;
915
+ original_mc?: InputMaybe<Scalars['bigint']['input']>;
916
+ remaining_mc?: InputMaybe<Scalars['bigint']['input']>;
917
+ source?: InputMaybe<Scalars['String']['input']>;
918
+ status?: InputMaybe<Scalars['String']['input']>;
919
+ };
767
920
  export type Credit_History_Entry = {
768
921
  __typename?: 'credit_history_entry';
769
922
  amount: Scalars['Int']['output'];
@@ -1088,6 +1241,229 @@ export type Credit_Packs_Stream_Cursor_Value_Input = {
1088
1241
  slug?: InputMaybe<Scalars['String']['input']>;
1089
1242
  sort_order?: InputMaybe<Scalars['Int']['input']>;
1090
1243
  };
1244
+ /** columns and relationships of "crypto_payment_currencies" */
1245
+ export type Crypto_Payment_Currencies = {
1246
+ __typename?: 'crypto_payment_currencies';
1247
+ asset: Scalars['String']['output'];
1248
+ currency_id: Scalars['String']['output'];
1249
+ decimals: Scalars['Int']['output'];
1250
+ enabled: Scalars['Boolean']['output'];
1251
+ label: Scalars['String']['output'];
1252
+ min_usdt: Scalars['numeric']['output'];
1253
+ network: Scalars['String']['output'];
1254
+ provider: Scalars['String']['output'];
1255
+ sort_order: Scalars['Int']['output'];
1256
+ };
1257
+ /** Boolean expression to filter rows from the table "crypto_payment_currencies". All fields are combined with a logical 'AND'. */
1258
+ export type Crypto_Payment_Currencies_Bool_Exp = {
1259
+ _and?: InputMaybe<Array<Crypto_Payment_Currencies_Bool_Exp>>;
1260
+ _not?: InputMaybe<Crypto_Payment_Currencies_Bool_Exp>;
1261
+ _or?: InputMaybe<Array<Crypto_Payment_Currencies_Bool_Exp>>;
1262
+ asset?: InputMaybe<String_Comparison_Exp>;
1263
+ currency_id?: InputMaybe<String_Comparison_Exp>;
1264
+ decimals?: InputMaybe<Int_Comparison_Exp>;
1265
+ enabled?: InputMaybe<Boolean_Comparison_Exp>;
1266
+ label?: InputMaybe<String_Comparison_Exp>;
1267
+ min_usdt?: InputMaybe<Numeric_Comparison_Exp>;
1268
+ network?: InputMaybe<String_Comparison_Exp>;
1269
+ provider?: InputMaybe<String_Comparison_Exp>;
1270
+ sort_order?: InputMaybe<Int_Comparison_Exp>;
1271
+ };
1272
+ /** Ordering options when selecting data from "crypto_payment_currencies". */
1273
+ export type Crypto_Payment_Currencies_Order_By = {
1274
+ asset?: InputMaybe<Order_By>;
1275
+ currency_id?: InputMaybe<Order_By>;
1276
+ decimals?: InputMaybe<Order_By>;
1277
+ enabled?: InputMaybe<Order_By>;
1278
+ label?: InputMaybe<Order_By>;
1279
+ min_usdt?: InputMaybe<Order_By>;
1280
+ network?: InputMaybe<Order_By>;
1281
+ provider?: InputMaybe<Order_By>;
1282
+ sort_order?: InputMaybe<Order_By>;
1283
+ };
1284
+ /** select columns of table "crypto_payment_currencies" */
1285
+ export declare enum Crypto_Payment_Currencies_Select_Column {
1286
+ /** column name */
1287
+ Asset = "asset",
1288
+ /** column name */
1289
+ CurrencyId = "currency_id",
1290
+ /** column name */
1291
+ Decimals = "decimals",
1292
+ /** column name */
1293
+ Enabled = "enabled",
1294
+ /** column name */
1295
+ Label = "label",
1296
+ /** column name */
1297
+ MinUsdt = "min_usdt",
1298
+ /** column name */
1299
+ Network = "network",
1300
+ /** column name */
1301
+ Provider = "provider",
1302
+ /** column name */
1303
+ SortOrder = "sort_order"
1304
+ }
1305
+ /** Streaming cursor of the table "crypto_payment_currencies" */
1306
+ export type Crypto_Payment_Currencies_Stream_Cursor_Input = {
1307
+ /** Stream column input with initial value */
1308
+ initial_value: Crypto_Payment_Currencies_Stream_Cursor_Value_Input;
1309
+ /** cursor ordering */
1310
+ ordering?: InputMaybe<Cursor_Ordering>;
1311
+ };
1312
+ /** Initial value of the column from where the streaming should start */
1313
+ export type Crypto_Payment_Currencies_Stream_Cursor_Value_Input = {
1314
+ asset?: InputMaybe<Scalars['String']['input']>;
1315
+ currency_id?: InputMaybe<Scalars['String']['input']>;
1316
+ decimals?: InputMaybe<Scalars['Int']['input']>;
1317
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
1318
+ label?: InputMaybe<Scalars['String']['input']>;
1319
+ min_usdt?: InputMaybe<Scalars['numeric']['input']>;
1320
+ network?: InputMaybe<Scalars['String']['input']>;
1321
+ provider?: InputMaybe<Scalars['String']['input']>;
1322
+ sort_order?: InputMaybe<Scalars['Int']['input']>;
1323
+ };
1324
+ export type Crypto_Payment_Status_Output = {
1325
+ __typename?: 'crypto_payment_status_output';
1326
+ amount: Scalars['String']['output'];
1327
+ amount_paid_usdt?: Maybe<Scalars['Float']['output']>;
1328
+ asset?: Maybe<Scalars['String']['output']>;
1329
+ confirmations: Scalars['Int']['output'];
1330
+ credits: Scalars['Float']['output'];
1331
+ currency_id: Scalars['String']['output'];
1332
+ deposit_address: Scalars['String']['output'];
1333
+ expected_usdt: Scalars['Float']['output'];
1334
+ expires_at: Scalars['String']['output'];
1335
+ granted_at?: Maybe<Scalars['String']['output']>;
1336
+ network: Scalars['String']['output'];
1337
+ payment_id: Scalars['String']['output'];
1338
+ payment_uri?: Maybe<Scalars['String']['output']>;
1339
+ provider: Scalars['String']['output'];
1340
+ qr_code_data_url?: Maybe<Scalars['String']['output']>;
1341
+ remaining_amount?: Maybe<Scalars['String']['output']>;
1342
+ required_confirmations: Scalars['Int']['output'];
1343
+ status: Scalars['String']['output'];
1344
+ success: Scalars['Boolean']['output'];
1345
+ top_up_payment_uri?: Maybe<Scalars['String']['output']>;
1346
+ top_up_qr_code_data_url?: Maybe<Scalars['String']['output']>;
1347
+ tx_hash?: Maybe<Scalars['String']['output']>;
1348
+ };
1349
+ /** columns and relationships of "crypto_payments" */
1350
+ export type Crypto_Payments = {
1351
+ __typename?: 'crypto_payments';
1352
+ amount_paid_usdt?: Maybe<Scalars['numeric']['output']>;
1353
+ created_at: Scalars['timestamptz']['output'];
1354
+ /** An object relationship */
1355
+ credit_pack_version?: Maybe<Credit_Pack_Versions>;
1356
+ credits: Scalars['Int']['output'];
1357
+ currency_id: Scalars['String']['output'];
1358
+ deposit_address: Scalars['String']['output'];
1359
+ expected_usdt: Scalars['numeric']['output'];
1360
+ expires_at: Scalars['timestamptz']['output'];
1361
+ granted_at?: Maybe<Scalars['timestamptz']['output']>;
1362
+ id: Scalars['uuid']['output'];
1363
+ kind: Scalars['String']['output'];
1364
+ network: Scalars['String']['output'];
1365
+ provider: Scalars['String']['output'];
1366
+ status: Scalars['String']['output'];
1367
+ tx_hash?: Maybe<Scalars['String']['output']>;
1368
+ /** An object relationship */
1369
+ user: Users;
1370
+ };
1371
+ /** Boolean expression to filter rows from the table "crypto_payments". All fields are combined with a logical 'AND'. */
1372
+ export type Crypto_Payments_Bool_Exp = {
1373
+ _and?: InputMaybe<Array<Crypto_Payments_Bool_Exp>>;
1374
+ _not?: InputMaybe<Crypto_Payments_Bool_Exp>;
1375
+ _or?: InputMaybe<Array<Crypto_Payments_Bool_Exp>>;
1376
+ amount_paid_usdt?: InputMaybe<Numeric_Comparison_Exp>;
1377
+ created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1378
+ credit_pack_version?: InputMaybe<Credit_Pack_Versions_Bool_Exp>;
1379
+ credits?: InputMaybe<Int_Comparison_Exp>;
1380
+ currency_id?: InputMaybe<String_Comparison_Exp>;
1381
+ deposit_address?: InputMaybe<String_Comparison_Exp>;
1382
+ expected_usdt?: InputMaybe<Numeric_Comparison_Exp>;
1383
+ expires_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1384
+ granted_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1385
+ id?: InputMaybe<Uuid_Comparison_Exp>;
1386
+ kind?: InputMaybe<String_Comparison_Exp>;
1387
+ network?: InputMaybe<String_Comparison_Exp>;
1388
+ provider?: InputMaybe<String_Comparison_Exp>;
1389
+ status?: InputMaybe<String_Comparison_Exp>;
1390
+ tx_hash?: InputMaybe<String_Comparison_Exp>;
1391
+ user?: InputMaybe<Users_Bool_Exp>;
1392
+ };
1393
+ /** Ordering options when selecting data from "crypto_payments". */
1394
+ export type Crypto_Payments_Order_By = {
1395
+ amount_paid_usdt?: InputMaybe<Order_By>;
1396
+ created_at?: InputMaybe<Order_By>;
1397
+ credit_pack_version?: InputMaybe<Credit_Pack_Versions_Order_By>;
1398
+ credits?: InputMaybe<Order_By>;
1399
+ currency_id?: InputMaybe<Order_By>;
1400
+ deposit_address?: InputMaybe<Order_By>;
1401
+ expected_usdt?: InputMaybe<Order_By>;
1402
+ expires_at?: InputMaybe<Order_By>;
1403
+ granted_at?: InputMaybe<Order_By>;
1404
+ id?: InputMaybe<Order_By>;
1405
+ kind?: InputMaybe<Order_By>;
1406
+ network?: InputMaybe<Order_By>;
1407
+ provider?: InputMaybe<Order_By>;
1408
+ status?: InputMaybe<Order_By>;
1409
+ tx_hash?: InputMaybe<Order_By>;
1410
+ user?: InputMaybe<Users_Order_By>;
1411
+ };
1412
+ /** select columns of table "crypto_payments" */
1413
+ export declare enum Crypto_Payments_Select_Column {
1414
+ /** column name */
1415
+ AmountPaidUsdt = "amount_paid_usdt",
1416
+ /** column name */
1417
+ CreatedAt = "created_at",
1418
+ /** column name */
1419
+ Credits = "credits",
1420
+ /** column name */
1421
+ CurrencyId = "currency_id",
1422
+ /** column name */
1423
+ DepositAddress = "deposit_address",
1424
+ /** column name */
1425
+ ExpectedUsdt = "expected_usdt",
1426
+ /** column name */
1427
+ ExpiresAt = "expires_at",
1428
+ /** column name */
1429
+ GrantedAt = "granted_at",
1430
+ /** column name */
1431
+ Id = "id",
1432
+ /** column name */
1433
+ Kind = "kind",
1434
+ /** column name */
1435
+ Network = "network",
1436
+ /** column name */
1437
+ Provider = "provider",
1438
+ /** column name */
1439
+ Status = "status",
1440
+ /** column name */
1441
+ TxHash = "tx_hash"
1442
+ }
1443
+ /** Streaming cursor of the table "crypto_payments" */
1444
+ export type Crypto_Payments_Stream_Cursor_Input = {
1445
+ /** Stream column input with initial value */
1446
+ initial_value: Crypto_Payments_Stream_Cursor_Value_Input;
1447
+ /** cursor ordering */
1448
+ ordering?: InputMaybe<Cursor_Ordering>;
1449
+ };
1450
+ /** Initial value of the column from where the streaming should start */
1451
+ export type Crypto_Payments_Stream_Cursor_Value_Input = {
1452
+ amount_paid_usdt?: InputMaybe<Scalars['numeric']['input']>;
1453
+ created_at?: InputMaybe<Scalars['timestamptz']['input']>;
1454
+ credits?: InputMaybe<Scalars['Int']['input']>;
1455
+ currency_id?: InputMaybe<Scalars['String']['input']>;
1456
+ deposit_address?: InputMaybe<Scalars['String']['input']>;
1457
+ expected_usdt?: InputMaybe<Scalars['numeric']['input']>;
1458
+ expires_at?: InputMaybe<Scalars['timestamptz']['input']>;
1459
+ granted_at?: InputMaybe<Scalars['timestamptz']['input']>;
1460
+ id?: InputMaybe<Scalars['uuid']['input']>;
1461
+ kind?: InputMaybe<Scalars['String']['input']>;
1462
+ network?: InputMaybe<Scalars['String']['input']>;
1463
+ provider?: InputMaybe<Scalars['String']['input']>;
1464
+ status?: InputMaybe<Scalars['String']['input']>;
1465
+ tx_hash?: InputMaybe<Scalars['String']['input']>;
1466
+ };
1091
1467
  export type Current_User_Output = {
1092
1468
  __typename?: 'current_user_output';
1093
1469
  avatar_url?: Maybe<Scalars['String']['output']>;
@@ -1109,6 +1485,74 @@ export type Delete_Asset_Output = {
1109
1485
  __typename?: 'delete_asset_output';
1110
1486
  success: Scalars['Boolean']['output'];
1111
1487
  };
1488
+ /** columns and relationships of "dispatch_blocks" */
1489
+ export type Dispatch_Blocks = {
1490
+ __typename?: 'dispatch_blocks';
1491
+ created_at: Scalars['timestamptz']['output'];
1492
+ /** An object relationship */
1493
+ created_by_user?: Maybe<Users>;
1494
+ id: Scalars['uuid']['output'];
1495
+ /** An object relationship */
1496
+ pipeline?: Maybe<Pipelines>;
1497
+ pipeline_slug?: Maybe<Scalars['String']['output']>;
1498
+ reason: Scalars['String']['output'];
1499
+ /** An object relationship */
1500
+ user?: Maybe<Users>;
1501
+ user_id?: Maybe<Scalars['uuid']['output']>;
1502
+ };
1503
+ /** Boolean expression to filter rows from the table "dispatch_blocks". All fields are combined with a logical 'AND'. */
1504
+ export type Dispatch_Blocks_Bool_Exp = {
1505
+ _and?: InputMaybe<Array<Dispatch_Blocks_Bool_Exp>>;
1506
+ _not?: InputMaybe<Dispatch_Blocks_Bool_Exp>;
1507
+ _or?: InputMaybe<Array<Dispatch_Blocks_Bool_Exp>>;
1508
+ created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1509
+ created_by_user?: InputMaybe<Users_Bool_Exp>;
1510
+ id?: InputMaybe<Uuid_Comparison_Exp>;
1511
+ pipeline?: InputMaybe<Pipelines_Bool_Exp>;
1512
+ pipeline_slug?: InputMaybe<String_Comparison_Exp>;
1513
+ reason?: InputMaybe<String_Comparison_Exp>;
1514
+ user?: InputMaybe<Users_Bool_Exp>;
1515
+ user_id?: InputMaybe<Uuid_Comparison_Exp>;
1516
+ };
1517
+ /** Ordering options when selecting data from "dispatch_blocks". */
1518
+ export type Dispatch_Blocks_Order_By = {
1519
+ created_at?: InputMaybe<Order_By>;
1520
+ created_by_user?: InputMaybe<Users_Order_By>;
1521
+ id?: InputMaybe<Order_By>;
1522
+ pipeline?: InputMaybe<Pipelines_Order_By>;
1523
+ pipeline_slug?: InputMaybe<Order_By>;
1524
+ reason?: InputMaybe<Order_By>;
1525
+ user?: InputMaybe<Users_Order_By>;
1526
+ user_id?: InputMaybe<Order_By>;
1527
+ };
1528
+ /** select columns of table "dispatch_blocks" */
1529
+ export declare enum Dispatch_Blocks_Select_Column {
1530
+ /** column name */
1531
+ CreatedAt = "created_at",
1532
+ /** column name */
1533
+ Id = "id",
1534
+ /** column name */
1535
+ PipelineSlug = "pipeline_slug",
1536
+ /** column name */
1537
+ Reason = "reason",
1538
+ /** column name */
1539
+ UserId = "user_id"
1540
+ }
1541
+ /** Streaming cursor of the table "dispatch_blocks" */
1542
+ export type Dispatch_Blocks_Stream_Cursor_Input = {
1543
+ /** Stream column input with initial value */
1544
+ initial_value: Dispatch_Blocks_Stream_Cursor_Value_Input;
1545
+ /** cursor ordering */
1546
+ ordering?: InputMaybe<Cursor_Ordering>;
1547
+ };
1548
+ /** Initial value of the column from where the streaming should start */
1549
+ export type Dispatch_Blocks_Stream_Cursor_Value_Input = {
1550
+ created_at?: InputMaybe<Scalars['timestamptz']['input']>;
1551
+ id?: InputMaybe<Scalars['uuid']['input']>;
1552
+ pipeline_slug?: InputMaybe<Scalars['String']['input']>;
1553
+ reason?: InputMaybe<Scalars['String']['input']>;
1554
+ user_id?: InputMaybe<Scalars['uuid']['input']>;
1555
+ };
1112
1556
  export type Ensure_Affiliate_Output = {
1113
1557
  __typename?: 'ensure_affiliate_output';
1114
1558
  affiliate_id: Scalars['String']['output'];
@@ -1116,16 +1560,21 @@ export type Ensure_Affiliate_Output = {
1116
1560
  };
1117
1561
  export type Estimate_Pipeline_Cost_Output = {
1118
1562
  __typename?: 'estimate_pipeline_cost_output';
1119
- engine_caps?: Maybe<Scalars['jsonb']['output']>;
1120
1563
  estimated_mc: Scalars['Int']['output'];
1121
1564
  incompatible_models?: Maybe<Scalars['jsonb']['output']>;
1122
1565
  is_metered: Scalars['Boolean']['output'];
1566
+ model_input_schema?: Maybe<Scalars['jsonb']['output']>;
1123
1567
  pipeline_slug: Scalars['String']['output'];
1124
1568
  reservation_mc: Scalars['Int']['output'];
1125
1569
  routed_model?: Maybe<Scalars['String']['output']>;
1126
1570
  routed_reason_code?: Maybe<Scalars['String']['output']>;
1127
1571
  routed_reason_params?: Maybe<Scalars['jsonb']['output']>;
1128
1572
  };
1573
+ export type Exchange_Auth_Handoff_Code_Output = {
1574
+ __typename?: 'exchange_auth_handoff_code_output';
1575
+ expires_at: Scalars['String']['output'];
1576
+ token: Scalars['String']['output'];
1577
+ };
1129
1578
  /** columns and relationships of "executions_visibility" */
1130
1579
  export type Executions_Visibility = {
1131
1580
  __typename?: 'executions_visibility';
@@ -1194,6 +1643,50 @@ export type Executions_Visibility_Stream_Cursor_Value_Input = {
1194
1643
  workflow_id?: InputMaybe<Scalars['String']['input']>;
1195
1644
  workflow_type_name?: InputMaybe<Scalars['String']['input']>;
1196
1645
  };
1646
+ /** Daily USD reference rates used to calculate localized product prices. */
1647
+ export type Fx_Rates = {
1648
+ __typename?: 'fx_rates';
1649
+ currency: Scalars['String']['output'];
1650
+ rate: Scalars['numeric']['output'];
1651
+ updated_at: Scalars['timestamptz']['output'];
1652
+ };
1653
+ /** Boolean expression to filter rows from the table "fx_rates". All fields are combined with a logical 'AND'. */
1654
+ export type Fx_Rates_Bool_Exp = {
1655
+ _and?: InputMaybe<Array<Fx_Rates_Bool_Exp>>;
1656
+ _not?: InputMaybe<Fx_Rates_Bool_Exp>;
1657
+ _or?: InputMaybe<Array<Fx_Rates_Bool_Exp>>;
1658
+ currency?: InputMaybe<String_Comparison_Exp>;
1659
+ rate?: InputMaybe<Numeric_Comparison_Exp>;
1660
+ updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1661
+ };
1662
+ /** Ordering options when selecting data from "fx_rates". */
1663
+ export type Fx_Rates_Order_By = {
1664
+ currency?: InputMaybe<Order_By>;
1665
+ rate?: InputMaybe<Order_By>;
1666
+ updated_at?: InputMaybe<Order_By>;
1667
+ };
1668
+ /** select columns of table "fx_rates" */
1669
+ export declare enum Fx_Rates_Select_Column {
1670
+ /** column name */
1671
+ Currency = "currency",
1672
+ /** column name */
1673
+ Rate = "rate",
1674
+ /** column name */
1675
+ UpdatedAt = "updated_at"
1676
+ }
1677
+ /** Streaming cursor of the table "fx_rates" */
1678
+ export type Fx_Rates_Stream_Cursor_Input = {
1679
+ /** Stream column input with initial value */
1680
+ initial_value: Fx_Rates_Stream_Cursor_Value_Input;
1681
+ /** cursor ordering */
1682
+ ordering?: InputMaybe<Cursor_Ordering>;
1683
+ };
1684
+ /** Initial value of the column from where the streaming should start */
1685
+ export type Fx_Rates_Stream_Cursor_Value_Input = {
1686
+ currency?: InputMaybe<Scalars['String']['input']>;
1687
+ rate?: InputMaybe<Scalars['numeric']['input']>;
1688
+ updated_at?: InputMaybe<Scalars['timestamptz']['input']>;
1689
+ };
1197
1690
  export type Get_My_Referrals_Output = {
1198
1691
  __typename?: 'get_my_referrals_output';
1199
1692
  active_referrals: Scalars['Int']['output'];
@@ -1283,6 +1776,68 @@ export type Locales_Stream_Cursor_Value_Input = {
1283
1776
  native_name?: InputMaybe<Scalars['String']['input']>;
1284
1777
  sort_order?: InputMaybe<Scalars['Int']['input']>;
1285
1778
  };
1779
+ /** Indicative local display prices for current public plans and credit packs. Provider quotes remain authoritative for settlement. */
1780
+ export type Localized_Product_Prices = {
1781
+ __typename?: 'localized_product_prices';
1782
+ converted_price?: Maybe<Scalars['numeric']['output']>;
1783
+ country?: Maybe<Scalars['String']['output']>;
1784
+ currency?: Maybe<Scalars['String']['output']>;
1785
+ product_kind?: Maybe<Scalars['String']['output']>;
1786
+ product_slug?: Maybe<Scalars['String']['output']>;
1787
+ usd_price_cents?: Maybe<Scalars['Int']['output']>;
1788
+ };
1789
+ /** Boolean expression to filter rows from the table "localized_product_prices". All fields are combined with a logical 'AND'. */
1790
+ export type Localized_Product_Prices_Bool_Exp = {
1791
+ _and?: InputMaybe<Array<Localized_Product_Prices_Bool_Exp>>;
1792
+ _not?: InputMaybe<Localized_Product_Prices_Bool_Exp>;
1793
+ _or?: InputMaybe<Array<Localized_Product_Prices_Bool_Exp>>;
1794
+ converted_price?: InputMaybe<Numeric_Comparison_Exp>;
1795
+ country?: InputMaybe<String_Comparison_Exp>;
1796
+ currency?: InputMaybe<String_Comparison_Exp>;
1797
+ product_kind?: InputMaybe<String_Comparison_Exp>;
1798
+ product_slug?: InputMaybe<String_Comparison_Exp>;
1799
+ usd_price_cents?: InputMaybe<Int_Comparison_Exp>;
1800
+ };
1801
+ /** Ordering options when selecting data from "localized_product_prices". */
1802
+ export type Localized_Product_Prices_Order_By = {
1803
+ converted_price?: InputMaybe<Order_By>;
1804
+ country?: InputMaybe<Order_By>;
1805
+ currency?: InputMaybe<Order_By>;
1806
+ product_kind?: InputMaybe<Order_By>;
1807
+ product_slug?: InputMaybe<Order_By>;
1808
+ usd_price_cents?: InputMaybe<Order_By>;
1809
+ };
1810
+ /** select columns of table "localized_product_prices" */
1811
+ export declare enum Localized_Product_Prices_Select_Column {
1812
+ /** column name */
1813
+ ConvertedPrice = "converted_price",
1814
+ /** column name */
1815
+ Country = "country",
1816
+ /** column name */
1817
+ Currency = "currency",
1818
+ /** column name */
1819
+ ProductKind = "product_kind",
1820
+ /** column name */
1821
+ ProductSlug = "product_slug",
1822
+ /** column name */
1823
+ UsdPriceCents = "usd_price_cents"
1824
+ }
1825
+ /** Streaming cursor of the table "localized_product_prices" */
1826
+ export type Localized_Product_Prices_Stream_Cursor_Input = {
1827
+ /** Stream column input with initial value */
1828
+ initial_value: Localized_Product_Prices_Stream_Cursor_Value_Input;
1829
+ /** cursor ordering */
1830
+ ordering?: InputMaybe<Cursor_Ordering>;
1831
+ };
1832
+ /** Initial value of the column from where the streaming should start */
1833
+ export type Localized_Product_Prices_Stream_Cursor_Value_Input = {
1834
+ converted_price?: InputMaybe<Scalars['numeric']['input']>;
1835
+ country?: InputMaybe<Scalars['String']['input']>;
1836
+ currency?: InputMaybe<Scalars['String']['input']>;
1837
+ product_kind?: InputMaybe<Scalars['String']['input']>;
1838
+ product_slug?: InputMaybe<Scalars['String']['input']>;
1839
+ usd_price_cents?: InputMaybe<Scalars['Int']['input']>;
1840
+ };
1286
1841
  export type Logout_Output = {
1287
1842
  __typename?: 'logout_output';
1288
1843
  success: Scalars['Boolean']['output'];
@@ -1575,6 +2130,8 @@ export type Mutation_Root = {
1575
2130
  cancel_pipeline_run?: Maybe<Cancel_Pipeline_Run_Output>;
1576
2131
  /** Cancel your subscription at the end of the current billing period */
1577
2132
  cancel_subscription: Cancel_Subscription_Output;
2133
+ /** Cancel the current user's pending downgrade */
2134
+ cancel_subscription_plan_change: Cancel_Subscription_Plan_Change_Output;
1578
2135
  /** Update your profile picture */
1579
2136
  change_avatar: Change_Avatar_Output;
1580
2137
  /** Update your display name */
@@ -1587,10 +2144,16 @@ export type Mutation_Root = {
1587
2144
  confirm_account_deletion: Confirm_Account_Deletion_Output;
1588
2145
  /** Register an uploaded file as an asset */
1589
2146
  create_asset: Create_Asset_Output;
2147
+ /** Create a short-lived, PKCE-bound authentication handoff code */
2148
+ create_auth_handoff_code: Create_Auth_Handoff_Code_Output;
1590
2149
  /** Create a Whop checkout session with the buyer's user_id baked into metadata */
1591
2150
  create_checkout_session: Create_Checkout_Session_Output;
2151
+ /** Create an idempotent server-priced crypto payment or monthly invoice */
2152
+ create_crypto_payment: Create_Crypto_Payment_Output;
1592
2153
  /** Create a personal access token for API and MCP access */
1593
2154
  create_personal_access_token: Create_Personal_Access_Token_Output;
2155
+ /** Create an idempotent server-priced SBP payment through the selected enabled provider */
2156
+ create_sbp_payment: Sbp_Payment_Output;
1594
2157
  /** Delete an asset */
1595
2158
  delete_asset: Delete_Asset_Output;
1596
2159
  /** delete data from the table: "notifications" */
@@ -1599,6 +2162,8 @@ export type Mutation_Root = {
1599
2162
  delete_notifications_by_pk?: Maybe<Notifications>;
1600
2163
  /** Create an affiliate profile and referral code for the current user if missing */
1601
2164
  ensure_affiliate: Ensure_Affiliate_Output;
2165
+ /** Exchange a one-time authentication handoff code */
2166
+ exchange_auth_handoff_code: Exchange_Auth_Handoff_Code_Output;
1602
2167
  /** Begin email verification */
1603
2168
  init_verification_flow: Auth_Flow;
1604
2169
  /** Sign in with email and password */
@@ -1623,6 +2188,8 @@ export type Mutation_Root = {
1623
2188
  revoke_personal_access_token: Revoke_Personal_Access_Token_Output;
1624
2189
  /** Start a pipeline run */
1625
2190
  run_pipeline?: Maybe<Run_Pipeline_Output>;
2191
+ /** Schedule a subscription downgrade for the next billing boundary */
2192
+ schedule_subscription_plan_change: Subscription_Plan_Change_Output;
1626
2193
  /** Submit an email verification code */
1627
2194
  submit_verification_code: Auth_Result;
1628
2195
  /** update data of the table: "affiliate_codes" */
@@ -1695,15 +2262,38 @@ export type Mutation_RootCreate_AssetArgs = {
1695
2262
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
1696
2263
  };
1697
2264
  /** mutation root */
2265
+ export type Mutation_RootCreate_Auth_Handoff_CodeArgs = {
2266
+ code_challenge: Scalars['String']['input'];
2267
+ redirect_uri: Scalars['String']['input'];
2268
+ };
2269
+ /** mutation root */
1698
2270
  export type Mutation_RootCreate_Checkout_SessionArgs = {
1699
2271
  affiliate_code?: InputMaybe<Scalars['String']['input']>;
1700
2272
  whop_plan_id: Scalars['String']['input'];
1701
2273
  };
1702
2274
  /** mutation root */
2275
+ export type Mutation_RootCreate_Crypto_PaymentArgs = {
2276
+ attempt_id?: InputMaybe<Scalars['uuid']['input']>;
2277
+ country?: InputMaybe<Scalars['String']['input']>;
2278
+ credit_pack_slug?: InputMaybe<Scalars['String']['input']>;
2279
+ currency_id: Scalars['String']['input'];
2280
+ plan_slug?: InputMaybe<Scalars['String']['input']>;
2281
+ provider?: InputMaybe<Scalars['String']['input']>;
2282
+ };
2283
+ /** mutation root */
1703
2284
  export type Mutation_RootCreate_Personal_Access_TokenArgs = {
1704
2285
  name: Scalars['String']['input'];
1705
2286
  };
1706
2287
  /** mutation root */
2288
+ export type Mutation_RootCreate_Sbp_PaymentArgs = {
2289
+ attempt_id: Scalars['uuid']['input'];
2290
+ country?: InputMaybe<Scalars['String']['input']>;
2291
+ credit_pack_slug?: InputMaybe<Scalars['String']['input']>;
2292
+ plan_slug?: InputMaybe<Scalars['String']['input']>;
2293
+ provider: Scalars['String']['input'];
2294
+ recurring_consent?: InputMaybe<Scalars['Boolean']['input']>;
2295
+ };
2296
+ /** mutation root */
1707
2297
  export type Mutation_RootDelete_AssetArgs = {
1708
2298
  id: Scalars['uuid']['input'];
1709
2299
  };
@@ -1716,6 +2306,12 @@ export type Mutation_RootDelete_Notifications_By_PkArgs = {
1716
2306
  id: Scalars['uuid']['input'];
1717
2307
  };
1718
2308
  /** mutation root */
2309
+ export type Mutation_RootExchange_Auth_Handoff_CodeArgs = {
2310
+ code: Scalars['String']['input'];
2311
+ code_verifier: Scalars['String']['input'];
2312
+ redirect_uri: Scalars['String']['input'];
2313
+ };
2314
+ /** mutation root */
1719
2315
  export type Mutation_RootInit_Verification_FlowArgs = {
1720
2316
  email?: InputMaybe<Scalars['String']['input']>;
1721
2317
  force?: InputMaybe<Scalars['Boolean']['input']>;
@@ -1770,6 +2366,10 @@ export type Mutation_RootRun_PipelineArgs = {
1770
2366
  pipeline_slug: Scalars['String']['input'];
1771
2367
  };
1772
2368
  /** mutation root */
2369
+ export type Mutation_RootSchedule_Subscription_Plan_ChangeArgs = {
2370
+ plan_slug: Scalars['String']['input'];
2371
+ };
2372
+ /** mutation root */
1773
2373
  export type Mutation_RootSubmit_Verification_CodeArgs = {
1774
2374
  code: Scalars['String']['input'];
1775
2375
  csrf_token: Scalars['String']['input'];
@@ -1988,21 +2588,181 @@ export declare enum Order_By {
1988
2588
  /** in descending order, nulls last */
1989
2589
  DescNullsLast = "desc_nulls_last"
1990
2590
  }
1991
- /** columns and relationships of "personal_access_tokens" */
1992
- export type Personal_Access_Tokens = {
1993
- __typename?: 'personal_access_tokens';
1994
- created_at: Scalars['timestamptz']['output'];
1995
- expires_at: Scalars['timestamptz']['output'];
1996
- id: Scalars['uuid']['output'];
1997
- last_used_at?: Maybe<Scalars['timestamptz']['output']>;
1998
- name: Scalars['String']['output'];
1999
- revoked_at?: Maybe<Scalars['timestamptz']['output']>;
2000
- scopes: Array<Scalars['String']['output']>;
2591
+ /** columns and relationships of "payment_provider_resolved_row" */
2592
+ export type Payment_Provider_Resolved_Row = {
2593
+ __typename?: 'payment_provider_resolved_row';
2594
+ description?: Maybe<Scalars['String']['output']>;
2595
+ fee_bps?: Maybe<Scalars['Int']['output']>;
2596
+ kind?: Maybe<Scalars['String']['output']>;
2597
+ label?: Maybe<Scalars['String']['output']>;
2598
+ price_source?: Maybe<Scalars['String']['output']>;
2599
+ slug?: Maybe<Scalars['String']['output']>;
2600
+ sort_order?: Maybe<Scalars['Int']['output']>;
2601
+ supports_recurring?: Maybe<Scalars['Boolean']['output']>;
2602
+ };
2603
+ /** Boolean expression to filter rows from the table "payment_provider_resolved_row". All fields are combined with a logical 'AND'. */
2604
+ export type Payment_Provider_Resolved_Row_Bool_Exp = {
2605
+ _and?: InputMaybe<Array<Payment_Provider_Resolved_Row_Bool_Exp>>;
2606
+ _not?: InputMaybe<Payment_Provider_Resolved_Row_Bool_Exp>;
2607
+ _or?: InputMaybe<Array<Payment_Provider_Resolved_Row_Bool_Exp>>;
2608
+ description?: InputMaybe<String_Comparison_Exp>;
2609
+ fee_bps?: InputMaybe<Int_Comparison_Exp>;
2610
+ kind?: InputMaybe<String_Comparison_Exp>;
2611
+ label?: InputMaybe<String_Comparison_Exp>;
2612
+ price_source?: InputMaybe<String_Comparison_Exp>;
2613
+ slug?: InputMaybe<String_Comparison_Exp>;
2614
+ sort_order?: InputMaybe<Int_Comparison_Exp>;
2615
+ supports_recurring?: InputMaybe<Boolean_Comparison_Exp>;
2001
2616
  };
2002
- /** Boolean expression to filter rows from the table "personal_access_tokens". All fields are combined with a logical 'AND'. */
2003
- export type Personal_Access_Tokens_Bool_Exp = {
2004
- _and?: InputMaybe<Array<Personal_Access_Tokens_Bool_Exp>>;
2005
- _not?: InputMaybe<Personal_Access_Tokens_Bool_Exp>;
2617
+ /** Ordering options when selecting data from "payment_provider_resolved_row". */
2618
+ export type Payment_Provider_Resolved_Row_Order_By = {
2619
+ description?: InputMaybe<Order_By>;
2620
+ fee_bps?: InputMaybe<Order_By>;
2621
+ kind?: InputMaybe<Order_By>;
2622
+ label?: InputMaybe<Order_By>;
2623
+ price_source?: InputMaybe<Order_By>;
2624
+ slug?: InputMaybe<Order_By>;
2625
+ sort_order?: InputMaybe<Order_By>;
2626
+ supports_recurring?: InputMaybe<Order_By>;
2627
+ };
2628
+ /** select columns of table "payment_provider_resolved_row" */
2629
+ export declare enum Payment_Provider_Resolved_Row_Select_Column {
2630
+ /** column name */
2631
+ Description = "description",
2632
+ /** column name */
2633
+ FeeBps = "fee_bps",
2634
+ /** column name */
2635
+ Kind = "kind",
2636
+ /** column name */
2637
+ Label = "label",
2638
+ /** column name */
2639
+ PriceSource = "price_source",
2640
+ /** column name */
2641
+ Slug = "slug",
2642
+ /** column name */
2643
+ SortOrder = "sort_order",
2644
+ /** column name */
2645
+ SupportsRecurring = "supports_recurring"
2646
+ }
2647
+ /** Streaming cursor of the table "payment_provider_resolved_row" */
2648
+ export type Payment_Provider_Resolved_Row_Stream_Cursor_Input = {
2649
+ /** Stream column input with initial value */
2650
+ initial_value: Payment_Provider_Resolved_Row_Stream_Cursor_Value_Input;
2651
+ /** cursor ordering */
2652
+ ordering?: InputMaybe<Cursor_Ordering>;
2653
+ };
2654
+ /** Initial value of the column from where the streaming should start */
2655
+ export type Payment_Provider_Resolved_Row_Stream_Cursor_Value_Input = {
2656
+ description?: InputMaybe<Scalars['String']['input']>;
2657
+ fee_bps?: InputMaybe<Scalars['Int']['input']>;
2658
+ kind?: InputMaybe<Scalars['String']['input']>;
2659
+ label?: InputMaybe<Scalars['String']['input']>;
2660
+ price_source?: InputMaybe<Scalars['String']['input']>;
2661
+ slug?: InputMaybe<Scalars['String']['input']>;
2662
+ sort_order?: InputMaybe<Scalars['Int']['input']>;
2663
+ supports_recurring?: InputMaybe<Scalars['Boolean']['input']>;
2664
+ };
2665
+ /** columns and relationships of "payment_providers" */
2666
+ export type Payment_Providers = {
2667
+ __typename?: 'payment_providers';
2668
+ description?: Maybe<Scalars['String']['output']>;
2669
+ enabled: Scalars['Boolean']['output'];
2670
+ /** Signed basis points applied to the base price: -300 = 3% discount, 1500 = 15% surcharge. */
2671
+ fee_bps: Scalars['Int']['output'];
2672
+ kind: Scalars['String']['output'];
2673
+ label: Scalars['String']['output'];
2674
+ price_source: Scalars['String']['output'];
2675
+ slug: Scalars['String']['output'];
2676
+ sort_order: Scalars['Int']['output'];
2677
+ /** Provider integration can automatically renew subscriptions. One-time packs do not require this capability. */
2678
+ supports_recurring: Scalars['Boolean']['output'];
2679
+ };
2680
+ /** Boolean expression to filter rows from the table "payment_providers". All fields are combined with a logical 'AND'. */
2681
+ export type Payment_Providers_Bool_Exp = {
2682
+ _and?: InputMaybe<Array<Payment_Providers_Bool_Exp>>;
2683
+ _not?: InputMaybe<Payment_Providers_Bool_Exp>;
2684
+ _or?: InputMaybe<Array<Payment_Providers_Bool_Exp>>;
2685
+ description?: InputMaybe<String_Comparison_Exp>;
2686
+ enabled?: InputMaybe<Boolean_Comparison_Exp>;
2687
+ fee_bps?: InputMaybe<Int_Comparison_Exp>;
2688
+ kind?: InputMaybe<String_Comparison_Exp>;
2689
+ label?: InputMaybe<String_Comparison_Exp>;
2690
+ price_source?: InputMaybe<String_Comparison_Exp>;
2691
+ slug?: InputMaybe<String_Comparison_Exp>;
2692
+ sort_order?: InputMaybe<Int_Comparison_Exp>;
2693
+ supports_recurring?: InputMaybe<Boolean_Comparison_Exp>;
2694
+ };
2695
+ /** Ordering options when selecting data from "payment_providers". */
2696
+ export type Payment_Providers_Order_By = {
2697
+ description?: InputMaybe<Order_By>;
2698
+ enabled?: InputMaybe<Order_By>;
2699
+ fee_bps?: InputMaybe<Order_By>;
2700
+ kind?: InputMaybe<Order_By>;
2701
+ label?: InputMaybe<Order_By>;
2702
+ price_source?: InputMaybe<Order_By>;
2703
+ slug?: InputMaybe<Order_By>;
2704
+ sort_order?: InputMaybe<Order_By>;
2705
+ supports_recurring?: InputMaybe<Order_By>;
2706
+ };
2707
+ /** select columns of table "payment_providers" */
2708
+ export declare enum Payment_Providers_Select_Column {
2709
+ /** column name */
2710
+ Description = "description",
2711
+ /** column name */
2712
+ Enabled = "enabled",
2713
+ /** column name */
2714
+ FeeBps = "fee_bps",
2715
+ /** column name */
2716
+ Kind = "kind",
2717
+ /** column name */
2718
+ Label = "label",
2719
+ /** column name */
2720
+ PriceSource = "price_source",
2721
+ /** column name */
2722
+ Slug = "slug",
2723
+ /** column name */
2724
+ SortOrder = "sort_order",
2725
+ /** column name */
2726
+ SupportsRecurring = "supports_recurring"
2727
+ }
2728
+ /** Streaming cursor of the table "payment_providers" */
2729
+ export type Payment_Providers_Stream_Cursor_Input = {
2730
+ /** Stream column input with initial value */
2731
+ initial_value: Payment_Providers_Stream_Cursor_Value_Input;
2732
+ /** cursor ordering */
2733
+ ordering?: InputMaybe<Cursor_Ordering>;
2734
+ };
2735
+ /** Initial value of the column from where the streaming should start */
2736
+ export type Payment_Providers_Stream_Cursor_Value_Input = {
2737
+ description?: InputMaybe<Scalars['String']['input']>;
2738
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
2739
+ /** Signed basis points applied to the base price: -300 = 3% discount, 1500 = 15% surcharge. */
2740
+ fee_bps?: InputMaybe<Scalars['Int']['input']>;
2741
+ kind?: InputMaybe<Scalars['String']['input']>;
2742
+ label?: InputMaybe<Scalars['String']['input']>;
2743
+ price_source?: InputMaybe<Scalars['String']['input']>;
2744
+ slug?: InputMaybe<Scalars['String']['input']>;
2745
+ sort_order?: InputMaybe<Scalars['Int']['input']>;
2746
+ /** Provider integration can automatically renew subscriptions. One-time packs do not require this capability. */
2747
+ supports_recurring?: InputMaybe<Scalars['Boolean']['input']>;
2748
+ };
2749
+ /** columns and relationships of "personal_access_tokens" */
2750
+ export type Personal_Access_Tokens = {
2751
+ __typename?: 'personal_access_tokens';
2752
+ created_at: Scalars['timestamptz']['output'];
2753
+ expires_at: Scalars['timestamptz']['output'];
2754
+ id: Scalars['uuid']['output'];
2755
+ last_used_at?: Maybe<Scalars['timestamptz']['output']>;
2756
+ name: Scalars['String']['output'];
2757
+ revoked_at?: Maybe<Scalars['timestamptz']['output']>;
2758
+ scopes: Array<Scalars['String']['output']>;
2759
+ /** An object relationship */
2760
+ user: Users;
2761
+ };
2762
+ /** Boolean expression to filter rows from the table "personal_access_tokens". All fields are combined with a logical 'AND'. */
2763
+ export type Personal_Access_Tokens_Bool_Exp = {
2764
+ _and?: InputMaybe<Array<Personal_Access_Tokens_Bool_Exp>>;
2765
+ _not?: InputMaybe<Personal_Access_Tokens_Bool_Exp>;
2006
2766
  _or?: InputMaybe<Array<Personal_Access_Tokens_Bool_Exp>>;
2007
2767
  created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2008
2768
  expires_at?: InputMaybe<Timestamptz_Comparison_Exp>;
@@ -2011,6 +2771,7 @@ export type Personal_Access_Tokens_Bool_Exp = {
2011
2771
  name?: InputMaybe<String_Comparison_Exp>;
2012
2772
  revoked_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2013
2773
  scopes?: InputMaybe<String_Array_Comparison_Exp>;
2774
+ user?: InputMaybe<Users_Bool_Exp>;
2014
2775
  };
2015
2776
  /** Ordering options when selecting data from "personal_access_tokens". */
2016
2777
  export type Personal_Access_Tokens_Order_By = {
@@ -2021,6 +2782,7 @@ export type Personal_Access_Tokens_Order_By = {
2021
2782
  name?: InputMaybe<Order_By>;
2022
2783
  revoked_at?: InputMaybe<Order_By>;
2023
2784
  scopes?: InputMaybe<Order_By>;
2785
+ user?: InputMaybe<Users_Order_By>;
2024
2786
  };
2025
2787
  /** select columns of table "personal_access_tokens" */
2026
2788
  export declare enum Personal_Access_Tokens_Select_Column {
@@ -2367,12 +3129,20 @@ export type Pipeline_Examples_Variance_Order_By = {
2367
3129
  /** columns and relationships of "pipeline_models" */
2368
3130
  export type Pipeline_Models = {
2369
3131
  __typename?: 'pipeline_models';
3132
+ auto_route_order?: Maybe<Scalars['Int']['output']>;
3133
+ input_schema: Scalars['jsonb']['output'];
2370
3134
  /** An object relationship */
2371
3135
  model: Models;
2372
3136
  model_slug: Scalars['String']['output'];
3137
+ /** An object relationship */
3138
+ pipeline: Pipelines;
2373
3139
  pipeline_slug: Scalars['String']['output'];
2374
3140
  sort_order: Scalars['Int']['output'];
2375
3141
  };
3142
+ /** columns and relationships of "pipeline_models" */
3143
+ export type Pipeline_ModelsInput_SchemaArgs = {
3144
+ path?: InputMaybe<Scalars['String']['input']>;
3145
+ };
2376
3146
  /** order by aggregate values of table "pipeline_models" */
2377
3147
  export type Pipeline_Models_Aggregate_Order_By = {
2378
3148
  avg?: InputMaybe<Pipeline_Models_Avg_Order_By>;
@@ -2389,6 +3159,7 @@ export type Pipeline_Models_Aggregate_Order_By = {
2389
3159
  };
2390
3160
  /** order by avg() on columns of table "pipeline_models" */
2391
3161
  export type Pipeline_Models_Avg_Order_By = {
3162
+ auto_route_order?: InputMaybe<Order_By>;
2392
3163
  sort_order?: InputMaybe<Order_By>;
2393
3164
  };
2394
3165
  /** Boolean expression to filter rows from the table "pipeline_models". All fields are combined with a logical 'AND'. */
@@ -2396,32 +3167,44 @@ export type Pipeline_Models_Bool_Exp = {
2396
3167
  _and?: InputMaybe<Array<Pipeline_Models_Bool_Exp>>;
2397
3168
  _not?: InputMaybe<Pipeline_Models_Bool_Exp>;
2398
3169
  _or?: InputMaybe<Array<Pipeline_Models_Bool_Exp>>;
3170
+ auto_route_order?: InputMaybe<Int_Comparison_Exp>;
3171
+ input_schema?: InputMaybe<Jsonb_Comparison_Exp>;
2399
3172
  model?: InputMaybe<Models_Bool_Exp>;
2400
3173
  model_slug?: InputMaybe<String_Comparison_Exp>;
3174
+ pipeline?: InputMaybe<Pipelines_Bool_Exp>;
2401
3175
  pipeline_slug?: InputMaybe<String_Comparison_Exp>;
2402
3176
  sort_order?: InputMaybe<Int_Comparison_Exp>;
2403
3177
  };
2404
3178
  /** order by max() on columns of table "pipeline_models" */
2405
3179
  export type Pipeline_Models_Max_Order_By = {
3180
+ auto_route_order?: InputMaybe<Order_By>;
2406
3181
  model_slug?: InputMaybe<Order_By>;
2407
3182
  pipeline_slug?: InputMaybe<Order_By>;
2408
3183
  sort_order?: InputMaybe<Order_By>;
2409
3184
  };
2410
3185
  /** order by min() on columns of table "pipeline_models" */
2411
3186
  export type Pipeline_Models_Min_Order_By = {
3187
+ auto_route_order?: InputMaybe<Order_By>;
2412
3188
  model_slug?: InputMaybe<Order_By>;
2413
3189
  pipeline_slug?: InputMaybe<Order_By>;
2414
3190
  sort_order?: InputMaybe<Order_By>;
2415
3191
  };
2416
3192
  /** Ordering options when selecting data from "pipeline_models". */
2417
3193
  export type Pipeline_Models_Order_By = {
3194
+ auto_route_order?: InputMaybe<Order_By>;
3195
+ input_schema?: InputMaybe<Order_By>;
2418
3196
  model?: InputMaybe<Models_Order_By>;
2419
3197
  model_slug?: InputMaybe<Order_By>;
3198
+ pipeline?: InputMaybe<Pipelines_Order_By>;
2420
3199
  pipeline_slug?: InputMaybe<Order_By>;
2421
3200
  sort_order?: InputMaybe<Order_By>;
2422
3201
  };
2423
3202
  /** select columns of table "pipeline_models" */
2424
3203
  export declare enum Pipeline_Models_Select_Column {
3204
+ /** column name */
3205
+ AutoRouteOrder = "auto_route_order",
3206
+ /** column name */
3207
+ InputSchema = "input_schema",
2425
3208
  /** column name */
2426
3209
  ModelSlug = "model_slug",
2427
3210
  /** column name */
@@ -2431,14 +3214,17 @@ export declare enum Pipeline_Models_Select_Column {
2431
3214
  }
2432
3215
  /** order by stddev() on columns of table "pipeline_models" */
2433
3216
  export type Pipeline_Models_Stddev_Order_By = {
3217
+ auto_route_order?: InputMaybe<Order_By>;
2434
3218
  sort_order?: InputMaybe<Order_By>;
2435
3219
  };
2436
3220
  /** order by stddev_pop() on columns of table "pipeline_models" */
2437
3221
  export type Pipeline_Models_Stddev_Pop_Order_By = {
3222
+ auto_route_order?: InputMaybe<Order_By>;
2438
3223
  sort_order?: InputMaybe<Order_By>;
2439
3224
  };
2440
3225
  /** order by stddev_samp() on columns of table "pipeline_models" */
2441
3226
  export type Pipeline_Models_Stddev_Samp_Order_By = {
3227
+ auto_route_order?: InputMaybe<Order_By>;
2442
3228
  sort_order?: InputMaybe<Order_By>;
2443
3229
  };
2444
3230
  /** Streaming cursor of the table "pipeline_models" */
@@ -2450,24 +3236,30 @@ export type Pipeline_Models_Stream_Cursor_Input = {
2450
3236
  };
2451
3237
  /** Initial value of the column from where the streaming should start */
2452
3238
  export type Pipeline_Models_Stream_Cursor_Value_Input = {
3239
+ auto_route_order?: InputMaybe<Scalars['Int']['input']>;
3240
+ input_schema?: InputMaybe<Scalars['jsonb']['input']>;
2453
3241
  model_slug?: InputMaybe<Scalars['String']['input']>;
2454
3242
  pipeline_slug?: InputMaybe<Scalars['String']['input']>;
2455
3243
  sort_order?: InputMaybe<Scalars['Int']['input']>;
2456
3244
  };
2457
3245
  /** order by sum() on columns of table "pipeline_models" */
2458
3246
  export type Pipeline_Models_Sum_Order_By = {
3247
+ auto_route_order?: InputMaybe<Order_By>;
2459
3248
  sort_order?: InputMaybe<Order_By>;
2460
3249
  };
2461
3250
  /** order by var_pop() on columns of table "pipeline_models" */
2462
3251
  export type Pipeline_Models_Var_Pop_Order_By = {
3252
+ auto_route_order?: InputMaybe<Order_By>;
2463
3253
  sort_order?: InputMaybe<Order_By>;
2464
3254
  };
2465
3255
  /** order by var_samp() on columns of table "pipeline_models" */
2466
3256
  export type Pipeline_Models_Var_Samp_Order_By = {
3257
+ auto_route_order?: InputMaybe<Order_By>;
2467
3258
  sort_order?: InputMaybe<Order_By>;
2468
3259
  };
2469
3260
  /** order by variance() on columns of table "pipeline_models" */
2470
3261
  export type Pipeline_Models_Variance_Order_By = {
3262
+ auto_route_order?: InputMaybe<Order_By>;
2471
3263
  sort_order?: InputMaybe<Order_By>;
2472
3264
  };
2473
3265
  export type Pipeline_Pricing_Row = {
@@ -2499,6 +3291,8 @@ export type Pipeline_Runs = {
2499
3291
  started_at?: Maybe<Scalars['timestamptz']['output']>;
2500
3292
  status: Scalars['String']['output'];
2501
3293
  temporal_workflow_id?: Maybe<Scalars['String']['output']>;
3294
+ /** An object relationship */
3295
+ user: Users;
2502
3296
  workflow_execution?: Maybe<Executions_Visibility>;
2503
3297
  };
2504
3298
  /** columns and relationships of "pipeline_runs" */
@@ -2577,6 +3371,7 @@ export type Pipeline_Runs_Bool_Exp = {
2577
3371
  started_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2578
3372
  status?: InputMaybe<String_Comparison_Exp>;
2579
3373
  temporal_workflow_id?: InputMaybe<String_Comparison_Exp>;
3374
+ user?: InputMaybe<Users_Bool_Exp>;
2580
3375
  };
2581
3376
  /** aggregate max on columns */
2582
3377
  export type Pipeline_Runs_Max_Fields = {
@@ -2631,6 +3426,7 @@ export type Pipeline_Runs_Order_By = {
2631
3426
  started_at?: InputMaybe<Order_By>;
2632
3427
  status?: InputMaybe<Order_By>;
2633
3428
  temporal_workflow_id?: InputMaybe<Order_By>;
3429
+ user?: InputMaybe<Users_Order_By>;
2634
3430
  };
2635
3431
  /** primary key columns input for table: pipeline_runs */
2636
3432
  export type Pipeline_Runs_Pk_Columns_Input = {
@@ -2928,6 +3724,37 @@ export type PipelinesTranslationsArgs = {
2928
3724
  export type PipelinesUi_SchemaArgs = {
2929
3725
  path?: InputMaybe<Scalars['String']['input']>;
2930
3726
  };
3727
+ /** aggregated selection of "pipelines" */
3728
+ export type Pipelines_Aggregate = {
3729
+ __typename?: 'pipelines_aggregate';
3730
+ aggregate?: Maybe<Pipelines_Aggregate_Fields>;
3731
+ nodes: Array<Pipelines>;
3732
+ };
3733
+ /** aggregate fields of "pipelines" */
3734
+ export type Pipelines_Aggregate_Fields = {
3735
+ __typename?: 'pipelines_aggregate_fields';
3736
+ avg?: Maybe<Pipelines_Avg_Fields>;
3737
+ count: Scalars['Int']['output'];
3738
+ max?: Maybe<Pipelines_Max_Fields>;
3739
+ min?: Maybe<Pipelines_Min_Fields>;
3740
+ stddev?: Maybe<Pipelines_Stddev_Fields>;
3741
+ stddev_pop?: Maybe<Pipelines_Stddev_Pop_Fields>;
3742
+ stddev_samp?: Maybe<Pipelines_Stddev_Samp_Fields>;
3743
+ sum?: Maybe<Pipelines_Sum_Fields>;
3744
+ var_pop?: Maybe<Pipelines_Var_Pop_Fields>;
3745
+ var_samp?: Maybe<Pipelines_Var_Samp_Fields>;
3746
+ variance?: Maybe<Pipelines_Variance_Fields>;
3747
+ };
3748
+ /** aggregate fields of "pipelines" */
3749
+ export type Pipelines_Aggregate_FieldsCountArgs = {
3750
+ columns?: InputMaybe<Array<Pipelines_Select_Column>>;
3751
+ distinct?: InputMaybe<Scalars['Boolean']['input']>;
3752
+ };
3753
+ /** aggregate avg on columns */
3754
+ export type Pipelines_Avg_Fields = {
3755
+ __typename?: 'pipelines_avg_fields';
3756
+ sort_order?: Maybe<Scalars['Float']['output']>;
3757
+ };
2931
3758
  /** Boolean expression to filter rows from the table "pipelines". All fields are combined with a logical 'AND'. */
2932
3759
  export type Pipelines_Bool_Exp = {
2933
3760
  _and?: InputMaybe<Array<Pipelines_Bool_Exp>>;
@@ -2956,6 +3783,38 @@ export type Pipelines_Bool_Exp = {
2956
3783
  translations?: InputMaybe<Pipeline_Translations_Bool_Exp>;
2957
3784
  ui_schema?: InputMaybe<Jsonb_Comparison_Exp>;
2958
3785
  };
3786
+ /** aggregate max on columns */
3787
+ export type Pipelines_Max_Fields = {
3788
+ __typename?: 'pipelines_max_fields';
3789
+ category?: Maybe<Scalars['String']['output']>;
3790
+ description?: Maybe<Scalars['String']['output']>;
3791
+ icon_url?: Maybe<Scalars['String']['output']>;
3792
+ id?: Maybe<Scalars['uuid']['output']>;
3793
+ models?: Maybe<Array<Scalars['String']['output']>>;
3794
+ name?: Maybe<Scalars['String']['output']>;
3795
+ preview_url?: Maybe<Scalars['String']['output']>;
3796
+ providers?: Maybe<Array<Scalars['String']['output']>>;
3797
+ seo_content?: Maybe<Scalars['String']['output']>;
3798
+ slug?: Maybe<Scalars['String']['output']>;
3799
+ sort_order?: Maybe<Scalars['Int']['output']>;
3800
+ tags?: Maybe<Array<Scalars['String']['output']>>;
3801
+ };
3802
+ /** aggregate min on columns */
3803
+ export type Pipelines_Min_Fields = {
3804
+ __typename?: 'pipelines_min_fields';
3805
+ category?: Maybe<Scalars['String']['output']>;
3806
+ description?: Maybe<Scalars['String']['output']>;
3807
+ icon_url?: Maybe<Scalars['String']['output']>;
3808
+ id?: Maybe<Scalars['uuid']['output']>;
3809
+ models?: Maybe<Array<Scalars['String']['output']>>;
3810
+ name?: Maybe<Scalars['String']['output']>;
3811
+ preview_url?: Maybe<Scalars['String']['output']>;
3812
+ providers?: Maybe<Array<Scalars['String']['output']>>;
3813
+ seo_content?: Maybe<Scalars['String']['output']>;
3814
+ slug?: Maybe<Scalars['String']['output']>;
3815
+ sort_order?: Maybe<Scalars['Int']['output']>;
3816
+ tags?: Maybe<Array<Scalars['String']['output']>>;
3817
+ };
2959
3818
  /** Ordering options when selecting data from "pipelines". */
2960
3819
  export type Pipelines_Order_By = {
2961
3820
  cancellable?: InputMaybe<Order_By>;
@@ -3022,6 +3881,21 @@ export declare enum Pipelines_Select_Column {
3022
3881
  /** column name */
3023
3882
  UiSchema = "ui_schema"
3024
3883
  }
3884
+ /** aggregate stddev on columns */
3885
+ export type Pipelines_Stddev_Fields = {
3886
+ __typename?: 'pipelines_stddev_fields';
3887
+ sort_order?: Maybe<Scalars['Float']['output']>;
3888
+ };
3889
+ /** aggregate stddev_pop on columns */
3890
+ export type Pipelines_Stddev_Pop_Fields = {
3891
+ __typename?: 'pipelines_stddev_pop_fields';
3892
+ sort_order?: Maybe<Scalars['Float']['output']>;
3893
+ };
3894
+ /** aggregate stddev_samp on columns */
3895
+ export type Pipelines_Stddev_Samp_Fields = {
3896
+ __typename?: 'pipelines_stddev_samp_fields';
3897
+ sort_order?: Maybe<Scalars['Float']['output']>;
3898
+ };
3025
3899
  /** Streaming cursor of the table "pipelines" */
3026
3900
  export type Pipelines_Stream_Cursor_Input = {
3027
3901
  /** Stream column input with initial value */
@@ -3052,6 +3926,26 @@ export type Pipelines_Stream_Cursor_Value_Input = {
3052
3926
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
3053
3927
  ui_schema?: InputMaybe<Scalars['jsonb']['input']>;
3054
3928
  };
3929
+ /** aggregate sum on columns */
3930
+ export type Pipelines_Sum_Fields = {
3931
+ __typename?: 'pipelines_sum_fields';
3932
+ sort_order?: Maybe<Scalars['Int']['output']>;
3933
+ };
3934
+ /** aggregate var_pop on columns */
3935
+ export type Pipelines_Var_Pop_Fields = {
3936
+ __typename?: 'pipelines_var_pop_fields';
3937
+ sort_order?: Maybe<Scalars['Float']['output']>;
3938
+ };
3939
+ /** aggregate var_samp on columns */
3940
+ export type Pipelines_Var_Samp_Fields = {
3941
+ __typename?: 'pipelines_var_samp_fields';
3942
+ sort_order?: Maybe<Scalars['Float']['output']>;
3943
+ };
3944
+ /** aggregate variance on columns */
3945
+ export type Pipelines_Variance_Fields = {
3946
+ __typename?: 'pipelines_variance_fields';
3947
+ sort_order?: Maybe<Scalars['Float']['output']>;
3948
+ };
3055
3949
  /** columns and relationships of "plan_translations" */
3056
3950
  export type Plan_Translations = {
3057
3951
  __typename?: 'plan_translations';
@@ -3504,6 +4398,14 @@ export type Query_Root = {
3504
4398
  assets_aggregate: Assets_Aggregate;
3505
4399
  /** fetch data from the table: "assets" using primary key columns */
3506
4400
  assets_by_pk?: Maybe<Assets>;
4401
+ /** fetch data from the table: "countries" */
4402
+ countries: Array<Countries>;
4403
+ /** fetch data from the table: "countries" using primary key columns */
4404
+ countries_by_pk?: Maybe<Countries>;
4405
+ /** fetch data from the table: "credit_grants" */
4406
+ credit_grants: Array<Credit_Grants>;
4407
+ /** fetch data from the table: "credit_grants" using primary key columns */
4408
+ credit_grants_by_pk?: Maybe<Credit_Grants>;
3507
4409
  /** fetch data from the table: "credit_pack_translations" */
3508
4410
  credit_pack_translations: Array<Credit_Pack_Translations>;
3509
4411
  /** fetch data from the table: "credit_pack_translations" using primary key columns */
@@ -3516,22 +4418,44 @@ export type Query_Root = {
3516
4418
  credit_packs: Array<Credit_Packs>;
3517
4419
  /** fetch data from the table: "credit_packs" using primary key columns */
3518
4420
  credit_packs_by_pk?: Maybe<Credit_Packs>;
4421
+ /** fetch data from the table: "crypto_payment_currencies" */
4422
+ crypto_payment_currencies: Array<Crypto_Payment_Currencies>;
4423
+ /** fetch data from the table: "crypto_payment_currencies" using primary key columns */
4424
+ crypto_payment_currencies_by_pk?: Maybe<Crypto_Payment_Currencies>;
4425
+ /** fetch data from the table: "crypto_payments" */
4426
+ crypto_payments: Array<Crypto_Payments>;
4427
+ /** fetch data from the table: "crypto_payments" using primary key columns */
4428
+ crypto_payments_by_pk?: Maybe<Crypto_Payments>;
3519
4429
  /** Get the currently signed-in user */
3520
4430
  current_user: Current_User_Output;
4431
+ /** fetch data from the table: "dispatch_blocks" */
4432
+ dispatch_blocks: Array<Dispatch_Blocks>;
4433
+ /** fetch data from the table: "dispatch_blocks" using primary key columns */
4434
+ dispatch_blocks_by_pk?: Maybe<Dispatch_Blocks>;
3521
4435
  /** Preview the credit cost of running a pipeline with a given input (read-only) */
3522
4436
  estimate_pipeline_cost?: Maybe<Estimate_Pipeline_Cost_Output>;
3523
4437
  /** fetch data from the table: "executions_visibility" */
3524
4438
  executions_visibility: Array<Executions_Visibility>;
4439
+ /** fetch data from the table: "fx_rates" */
4440
+ fx_rates: Array<Fx_Rates>;
4441
+ /** fetch data from the table: "fx_rates" using primary key columns */
4442
+ fx_rates_by_pk?: Maybe<Fx_Rates>;
3525
4443
  /** Get your current credit balance */
3526
4444
  get_credit_balance?: Maybe<Credit_Balance_Output>;
3527
4445
  /** Get your credit transaction history */
3528
4446
  get_credit_history: Array<Credit_History_Entry>;
4447
+ /** Poll one owned crypto payment through the server-side gateway client */
4448
+ get_crypto_payment_status: Crypto_Payment_Status_Output;
3529
4449
  /** Get your referral stats and referred users */
3530
4450
  get_my_referrals: Get_My_Referrals_Output;
4451
+ /** Poll one owned SBP payment and settle it through its recorded provider */
4452
+ get_sbp_payment_status: Sbp_Payment_Output;
3531
4453
  /** fetch data from the table: "locales" */
3532
4454
  locales: Array<Locales>;
3533
4455
  /** fetch data from the table: "locales" using primary key columns */
3534
4456
  locales_by_pk?: Maybe<Locales>;
4457
+ /** fetch data from the table: "localized_product_prices" */
4458
+ localized_product_prices: Array<Localized_Product_Prices>;
3535
4459
  /** fetch data from the table: "model_capabilities" */
3536
4460
  model_capabilities: Array<Model_Capabilities>;
3537
4461
  /** fetch data from the table: "model_capabilities" using primary key columns */
@@ -3550,6 +4474,12 @@ export type Query_Root = {
3550
4474
  notifications_aggregate: Notifications_Aggregate;
3551
4475
  /** fetch data from the table: "notifications" using primary key columns */
3552
4476
  notifications_by_pk?: Maybe<Notifications>;
4477
+ /** fetch data from the table: "payment_provider_resolved_row" */
4478
+ payment_provider_resolved_row: Array<Payment_Provider_Resolved_Row>;
4479
+ /** fetch data from the table: "payment_providers" */
4480
+ payment_providers: Array<Payment_Providers>;
4481
+ /** fetch data from the table: "payment_providers" using primary key columns */
4482
+ payment_providers_by_pk?: Maybe<Payment_Providers>;
3553
4483
  /** fetch data from the table: "personal_access_tokens" */
3554
4484
  personal_access_tokens: Array<Personal_Access_Tokens>;
3555
4485
  /** fetch data from the table: "personal_access_tokens" using primary key columns */
@@ -3580,6 +4510,8 @@ export type Query_Root = {
3580
4510
  pipeline_translations_by_pk?: Maybe<Pipeline_Translations>;
3581
4511
  /** fetch data from the table: "pipelines" */
3582
4512
  pipelines: Array<Pipelines>;
4513
+ /** fetch aggregated fields from the table: "pipelines" */
4514
+ pipelines_aggregate: Pipelines_Aggregate;
3583
4515
  /** fetch data from the table: "pipelines" using primary key columns */
3584
4516
  pipelines_by_pk?: Maybe<Pipelines>;
3585
4517
  /** fetch data from the table: "plan_translations" */
@@ -3598,10 +4530,24 @@ export type Query_Root = {
3598
4530
  providers: Array<Providers>;
3599
4531
  /** fetch data from the table: "providers" using primary key columns */
3600
4532
  providers_by_pk?: Maybe<Providers>;
4533
+ /** execute function "resolve_payment_providers" which returns "payment_provider_resolved_row" */
4534
+ resolve_payment_providers: Array<Payment_Provider_Resolved_Row>;
4535
+ /** fetch data from the table: "subscription_plan_changes" */
4536
+ subscription_plan_changes: Array<Subscription_Plan_Changes>;
4537
+ /** fetch data from the table: "subscription_plan_changes" using primary key columns */
4538
+ subscription_plan_changes_by_pk?: Maybe<Subscription_Plan_Changes>;
3601
4539
  /** An array relationship */
3602
4540
  subscriptions: Array<Subscriptions>;
3603
4541
  /** fetch data from the table: "subscriptions" using primary key columns */
3604
4542
  subscriptions_by_pk?: Maybe<Subscriptions>;
4543
+ /** fetch data from the table: "user_credit_balance_breakdown" */
4544
+ user_credit_balance_breakdown: Array<User_Credit_Balance_Breakdown>;
4545
+ /** fetch data from the table: "user_subscription_credits" */
4546
+ user_subscription_credits: Array<User_Subscription_Credits>;
4547
+ /** fetch data from the table: "user_subscription_credits" using primary key columns */
4548
+ user_subscription_credits_by_pk?: Maybe<User_Subscription_Credits>;
4549
+ /** fetch data from the table: "users" */
4550
+ users: Array<Users>;
3605
4551
  };
3606
4552
  export type Query_RootAffiliate_CodesArgs = {
3607
4553
  distinct_on?: InputMaybe<Array<Affiliate_Codes_Select_Column>>;
@@ -3640,6 +4586,26 @@ export type Query_RootAssets_AggregateArgs = {
3640
4586
  export type Query_RootAssets_By_PkArgs = {
3641
4587
  id: Scalars['uuid']['input'];
3642
4588
  };
4589
+ export type Query_RootCountriesArgs = {
4590
+ distinct_on?: InputMaybe<Array<Countries_Select_Column>>;
4591
+ limit?: InputMaybe<Scalars['Int']['input']>;
4592
+ offset?: InputMaybe<Scalars['Int']['input']>;
4593
+ order_by?: InputMaybe<Array<Countries_Order_By>>;
4594
+ where?: InputMaybe<Countries_Bool_Exp>;
4595
+ };
4596
+ export type Query_RootCountries_By_PkArgs = {
4597
+ code: Scalars['String']['input'];
4598
+ };
4599
+ export type Query_RootCredit_GrantsArgs = {
4600
+ distinct_on?: InputMaybe<Array<Credit_Grants_Select_Column>>;
4601
+ limit?: InputMaybe<Scalars['Int']['input']>;
4602
+ offset?: InputMaybe<Scalars['Int']['input']>;
4603
+ order_by?: InputMaybe<Array<Credit_Grants_Order_By>>;
4604
+ where?: InputMaybe<Credit_Grants_Bool_Exp>;
4605
+ };
4606
+ export type Query_RootCredit_Grants_By_PkArgs = {
4607
+ id: Scalars['uuid']['input'];
4608
+ };
3643
4609
  export type Query_RootCredit_Pack_TranslationsArgs = {
3644
4610
  distinct_on?: InputMaybe<Array<Credit_Pack_Translations_Select_Column>>;
3645
4611
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -3671,6 +4637,36 @@ export type Query_RootCredit_PacksArgs = {
3671
4637
  export type Query_RootCredit_Packs_By_PkArgs = {
3672
4638
  id: Scalars['uuid']['input'];
3673
4639
  };
4640
+ export type Query_RootCrypto_Payment_CurrenciesArgs = {
4641
+ distinct_on?: InputMaybe<Array<Crypto_Payment_Currencies_Select_Column>>;
4642
+ limit?: InputMaybe<Scalars['Int']['input']>;
4643
+ offset?: InputMaybe<Scalars['Int']['input']>;
4644
+ order_by?: InputMaybe<Array<Crypto_Payment_Currencies_Order_By>>;
4645
+ where?: InputMaybe<Crypto_Payment_Currencies_Bool_Exp>;
4646
+ };
4647
+ export type Query_RootCrypto_Payment_Currencies_By_PkArgs = {
4648
+ currency_id: Scalars['String']['input'];
4649
+ };
4650
+ export type Query_RootCrypto_PaymentsArgs = {
4651
+ distinct_on?: InputMaybe<Array<Crypto_Payments_Select_Column>>;
4652
+ limit?: InputMaybe<Scalars['Int']['input']>;
4653
+ offset?: InputMaybe<Scalars['Int']['input']>;
4654
+ order_by?: InputMaybe<Array<Crypto_Payments_Order_By>>;
4655
+ where?: InputMaybe<Crypto_Payments_Bool_Exp>;
4656
+ };
4657
+ export type Query_RootCrypto_Payments_By_PkArgs = {
4658
+ id: Scalars['uuid']['input'];
4659
+ };
4660
+ export type Query_RootDispatch_BlocksArgs = {
4661
+ distinct_on?: InputMaybe<Array<Dispatch_Blocks_Select_Column>>;
4662
+ limit?: InputMaybe<Scalars['Int']['input']>;
4663
+ offset?: InputMaybe<Scalars['Int']['input']>;
4664
+ order_by?: InputMaybe<Array<Dispatch_Blocks_Order_By>>;
4665
+ where?: InputMaybe<Dispatch_Blocks_Bool_Exp>;
4666
+ };
4667
+ export type Query_RootDispatch_Blocks_By_PkArgs = {
4668
+ id: Scalars['uuid']['input'];
4669
+ };
3674
4670
  export type Query_RootEstimate_Pipeline_CostArgs = {
3675
4671
  input: Scalars['jsonb']['input'];
3676
4672
  pipeline_slug: Scalars['String']['input'];
@@ -3682,6 +4678,22 @@ export type Query_RootExecutions_VisibilityArgs = {
3682
4678
  order_by?: InputMaybe<Array<Executions_Visibility_Order_By>>;
3683
4679
  where?: InputMaybe<Executions_Visibility_Bool_Exp>;
3684
4680
  };
4681
+ export type Query_RootFx_RatesArgs = {
4682
+ distinct_on?: InputMaybe<Array<Fx_Rates_Select_Column>>;
4683
+ limit?: InputMaybe<Scalars['Int']['input']>;
4684
+ offset?: InputMaybe<Scalars['Int']['input']>;
4685
+ order_by?: InputMaybe<Array<Fx_Rates_Order_By>>;
4686
+ where?: InputMaybe<Fx_Rates_Bool_Exp>;
4687
+ };
4688
+ export type Query_RootFx_Rates_By_PkArgs = {
4689
+ currency: Scalars['String']['input'];
4690
+ };
4691
+ export type Query_RootGet_Crypto_Payment_StatusArgs = {
4692
+ payment_id: Scalars['uuid']['input'];
4693
+ };
4694
+ export type Query_RootGet_Sbp_Payment_StatusArgs = {
4695
+ payment_id: Scalars['uuid']['input'];
4696
+ };
3685
4697
  export type Query_RootLocalesArgs = {
3686
4698
  distinct_on?: InputMaybe<Array<Locales_Select_Column>>;
3687
4699
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -3692,6 +4704,13 @@ export type Query_RootLocalesArgs = {
3692
4704
  export type Query_RootLocales_By_PkArgs = {
3693
4705
  code: Scalars['String']['input'];
3694
4706
  };
4707
+ export type Query_RootLocalized_Product_PricesArgs = {
4708
+ distinct_on?: InputMaybe<Array<Localized_Product_Prices_Select_Column>>;
4709
+ limit?: InputMaybe<Scalars['Int']['input']>;
4710
+ offset?: InputMaybe<Scalars['Int']['input']>;
4711
+ order_by?: InputMaybe<Array<Localized_Product_Prices_Order_By>>;
4712
+ where?: InputMaybe<Localized_Product_Prices_Bool_Exp>;
4713
+ };
3695
4714
  export type Query_RootModel_CapabilitiesArgs = {
3696
4715
  distinct_on?: InputMaybe<Array<Model_Capabilities_Select_Column>>;
3697
4716
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -3741,6 +4760,23 @@ export type Query_RootNotifications_AggregateArgs = {
3741
4760
  export type Query_RootNotifications_By_PkArgs = {
3742
4761
  id: Scalars['uuid']['input'];
3743
4762
  };
4763
+ export type Query_RootPayment_Provider_Resolved_RowArgs = {
4764
+ distinct_on?: InputMaybe<Array<Payment_Provider_Resolved_Row_Select_Column>>;
4765
+ limit?: InputMaybe<Scalars['Int']['input']>;
4766
+ offset?: InputMaybe<Scalars['Int']['input']>;
4767
+ order_by?: InputMaybe<Array<Payment_Provider_Resolved_Row_Order_By>>;
4768
+ where?: InputMaybe<Payment_Provider_Resolved_Row_Bool_Exp>;
4769
+ };
4770
+ export type Query_RootPayment_ProvidersArgs = {
4771
+ distinct_on?: InputMaybe<Array<Payment_Providers_Select_Column>>;
4772
+ limit?: InputMaybe<Scalars['Int']['input']>;
4773
+ offset?: InputMaybe<Scalars['Int']['input']>;
4774
+ order_by?: InputMaybe<Array<Payment_Providers_Order_By>>;
4775
+ where?: InputMaybe<Payment_Providers_Bool_Exp>;
4776
+ };
4777
+ export type Query_RootPayment_Providers_By_PkArgs = {
4778
+ slug: Scalars['String']['input'];
4779
+ };
3744
4780
  export type Query_RootPersonal_Access_TokensArgs = {
3745
4781
  distinct_on?: InputMaybe<Array<Personal_Access_Tokens_Select_Column>>;
3746
4782
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -3818,6 +4854,13 @@ export type Query_RootPipelinesArgs = {
3818
4854
  order_by?: InputMaybe<Array<Pipelines_Order_By>>;
3819
4855
  where?: InputMaybe<Pipelines_Bool_Exp>;
3820
4856
  };
4857
+ export type Query_RootPipelines_AggregateArgs = {
4858
+ distinct_on?: InputMaybe<Array<Pipelines_Select_Column>>;
4859
+ limit?: InputMaybe<Scalars['Int']['input']>;
4860
+ offset?: InputMaybe<Scalars['Int']['input']>;
4861
+ order_by?: InputMaybe<Array<Pipelines_Order_By>>;
4862
+ where?: InputMaybe<Pipelines_Bool_Exp>;
4863
+ };
3821
4864
  export type Query_RootPipelines_By_PkArgs = {
3822
4865
  id: Scalars['uuid']['input'];
3823
4866
  };
@@ -3862,6 +4905,24 @@ export type Query_RootProvidersArgs = {
3862
4905
  export type Query_RootProviders_By_PkArgs = {
3863
4906
  slug: Scalars['String']['input'];
3864
4907
  };
4908
+ export type Query_RootResolve_Payment_ProvidersArgs = {
4909
+ args: Resolve_Payment_Providers_Args;
4910
+ distinct_on?: InputMaybe<Array<Payment_Provider_Resolved_Row_Select_Column>>;
4911
+ limit?: InputMaybe<Scalars['Int']['input']>;
4912
+ offset?: InputMaybe<Scalars['Int']['input']>;
4913
+ order_by?: InputMaybe<Array<Payment_Provider_Resolved_Row_Order_By>>;
4914
+ where?: InputMaybe<Payment_Provider_Resolved_Row_Bool_Exp>;
4915
+ };
4916
+ export type Query_RootSubscription_Plan_ChangesArgs = {
4917
+ distinct_on?: InputMaybe<Array<Subscription_Plan_Changes_Select_Column>>;
4918
+ limit?: InputMaybe<Scalars['Int']['input']>;
4919
+ offset?: InputMaybe<Scalars['Int']['input']>;
4920
+ order_by?: InputMaybe<Array<Subscription_Plan_Changes_Order_By>>;
4921
+ where?: InputMaybe<Subscription_Plan_Changes_Bool_Exp>;
4922
+ };
4923
+ export type Query_RootSubscription_Plan_Changes_By_PkArgs = {
4924
+ id: Scalars['uuid']['input'];
4925
+ };
3865
4926
  export type Query_RootSubscriptionsArgs = {
3866
4927
  distinct_on?: InputMaybe<Array<Subscriptions_Select_Column>>;
3867
4928
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -3872,6 +4933,30 @@ export type Query_RootSubscriptionsArgs = {
3872
4933
  export type Query_RootSubscriptions_By_PkArgs = {
3873
4934
  id: Scalars['uuid']['input'];
3874
4935
  };
4936
+ export type Query_RootUser_Credit_Balance_BreakdownArgs = {
4937
+ distinct_on?: InputMaybe<Array<User_Credit_Balance_Breakdown_Select_Column>>;
4938
+ limit?: InputMaybe<Scalars['Int']['input']>;
4939
+ offset?: InputMaybe<Scalars['Int']['input']>;
4940
+ order_by?: InputMaybe<Array<User_Credit_Balance_Breakdown_Order_By>>;
4941
+ where?: InputMaybe<User_Credit_Balance_Breakdown_Bool_Exp>;
4942
+ };
4943
+ export type Query_RootUser_Subscription_CreditsArgs = {
4944
+ distinct_on?: InputMaybe<Array<User_Subscription_Credits_Select_Column>>;
4945
+ limit?: InputMaybe<Scalars['Int']['input']>;
4946
+ offset?: InputMaybe<Scalars['Int']['input']>;
4947
+ order_by?: InputMaybe<Array<User_Subscription_Credits_Order_By>>;
4948
+ where?: InputMaybe<User_Subscription_Credits_Bool_Exp>;
4949
+ };
4950
+ export type Query_RootUser_Subscription_Credits_By_PkArgs = {
4951
+ user_id: Scalars['uuid']['input'];
4952
+ };
4953
+ export type Query_RootUsersArgs = {
4954
+ distinct_on?: InputMaybe<Array<Users_Select_Column>>;
4955
+ limit?: InputMaybe<Scalars['Int']['input']>;
4956
+ offset?: InputMaybe<Scalars['Int']['input']>;
4957
+ order_by?: InputMaybe<Array<Users_Order_By>>;
4958
+ where?: InputMaybe<Users_Bool_Exp>;
4959
+ };
3875
4960
  export type Referral_Entry = {
3876
4961
  __typename?: 'referral_entry';
3877
4962
  commission_cents: Scalars['Int']['output'];
@@ -3910,6 +4995,11 @@ export type Request_Upload_Output = {
3910
4995
  key: Scalars['String']['output'];
3911
4996
  upload_url: Scalars['String']['output'];
3912
4997
  };
4998
+ export type Resolve_Payment_Providers_Args = {
4999
+ p_country?: InputMaybe<Scalars['String']['input']>;
5000
+ p_locale?: InputMaybe<Scalars['String']['input']>;
5001
+ p_platform?: InputMaybe<Scalars['String']['input']>;
5002
+ };
3913
5003
  export type Revoke_Personal_Access_Token_Output = {
3914
5004
  __typename?: 'revoke_personal_access_token_output';
3915
5005
  revoked_at: Scalars['String']['output'];
@@ -3920,6 +5010,101 @@ export type Run_Pipeline_Output = {
3920
5010
  run_id: Scalars['String']['output'];
3921
5011
  workflow_id: Scalars['String']['output'];
3922
5012
  };
5013
+ export type Sbp_Payment_Output = {
5014
+ __typename?: 'sbp_payment_output';
5015
+ amount: Scalars['String']['output'];
5016
+ credits: Scalars['Float']['output'];
5017
+ currency: Scalars['String']['output'];
5018
+ detail?: Maybe<Scalars['String']['output']>;
5019
+ expires_at: Scalars['String']['output'];
5020
+ payment_id: Scalars['String']['output'];
5021
+ payment_uri: Scalars['String']['output'];
5022
+ status: Scalars['String']['output'];
5023
+ success: Scalars['Boolean']['output'];
5024
+ };
5025
+ export type Subscription_Plan_Change_Output = {
5026
+ __typename?: 'subscription_plan_change_output';
5027
+ change_id: Scalars['uuid']['output'];
5028
+ effective_at: Scalars['timestamptz']['output'];
5029
+ status: Scalars['String']['output'];
5030
+ success: Scalars['Boolean']['output'];
5031
+ };
5032
+ /** columns and relationships of "subscription_plan_changes" */
5033
+ export type Subscription_Plan_Changes = {
5034
+ __typename?: 'subscription_plan_changes';
5035
+ charge_cents?: Maybe<Scalars['Int']['output']>;
5036
+ created_at: Scalars['timestamptz']['output'];
5037
+ effective_at: Scalars['timestamptz']['output'];
5038
+ /** An object relationship */
5039
+ from_plan_version: Plan_Versions;
5040
+ grant_mc?: Maybe<Scalars['bigint']['output']>;
5041
+ id: Scalars['uuid']['output'];
5042
+ kind: Scalars['String']['output'];
5043
+ status: Scalars['String']['output'];
5044
+ /** An object relationship */
5045
+ to_plan_version: Plan_Versions;
5046
+ };
5047
+ /** Boolean expression to filter rows from the table "subscription_plan_changes". All fields are combined with a logical 'AND'. */
5048
+ export type Subscription_Plan_Changes_Bool_Exp = {
5049
+ _and?: InputMaybe<Array<Subscription_Plan_Changes_Bool_Exp>>;
5050
+ _not?: InputMaybe<Subscription_Plan_Changes_Bool_Exp>;
5051
+ _or?: InputMaybe<Array<Subscription_Plan_Changes_Bool_Exp>>;
5052
+ charge_cents?: InputMaybe<Int_Comparison_Exp>;
5053
+ created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
5054
+ effective_at?: InputMaybe<Timestamptz_Comparison_Exp>;
5055
+ from_plan_version?: InputMaybe<Plan_Versions_Bool_Exp>;
5056
+ grant_mc?: InputMaybe<Bigint_Comparison_Exp>;
5057
+ id?: InputMaybe<Uuid_Comparison_Exp>;
5058
+ kind?: InputMaybe<String_Comparison_Exp>;
5059
+ status?: InputMaybe<String_Comparison_Exp>;
5060
+ to_plan_version?: InputMaybe<Plan_Versions_Bool_Exp>;
5061
+ };
5062
+ /** Ordering options when selecting data from "subscription_plan_changes". */
5063
+ export type Subscription_Plan_Changes_Order_By = {
5064
+ charge_cents?: InputMaybe<Order_By>;
5065
+ created_at?: InputMaybe<Order_By>;
5066
+ effective_at?: InputMaybe<Order_By>;
5067
+ from_plan_version?: InputMaybe<Plan_Versions_Order_By>;
5068
+ grant_mc?: InputMaybe<Order_By>;
5069
+ id?: InputMaybe<Order_By>;
5070
+ kind?: InputMaybe<Order_By>;
5071
+ status?: InputMaybe<Order_By>;
5072
+ to_plan_version?: InputMaybe<Plan_Versions_Order_By>;
5073
+ };
5074
+ /** select columns of table "subscription_plan_changes" */
5075
+ export declare enum Subscription_Plan_Changes_Select_Column {
5076
+ /** column name */
5077
+ ChargeCents = "charge_cents",
5078
+ /** column name */
5079
+ CreatedAt = "created_at",
5080
+ /** column name */
5081
+ EffectiveAt = "effective_at",
5082
+ /** column name */
5083
+ GrantMc = "grant_mc",
5084
+ /** column name */
5085
+ Id = "id",
5086
+ /** column name */
5087
+ Kind = "kind",
5088
+ /** column name */
5089
+ Status = "status"
5090
+ }
5091
+ /** Streaming cursor of the table "subscription_plan_changes" */
5092
+ export type Subscription_Plan_Changes_Stream_Cursor_Input = {
5093
+ /** Stream column input with initial value */
5094
+ initial_value: Subscription_Plan_Changes_Stream_Cursor_Value_Input;
5095
+ /** cursor ordering */
5096
+ ordering?: InputMaybe<Cursor_Ordering>;
5097
+ };
5098
+ /** Initial value of the column from where the streaming should start */
5099
+ export type Subscription_Plan_Changes_Stream_Cursor_Value_Input = {
5100
+ charge_cents?: InputMaybe<Scalars['Int']['input']>;
5101
+ created_at?: InputMaybe<Scalars['timestamptz']['input']>;
5102
+ effective_at?: InputMaybe<Scalars['timestamptz']['input']>;
5103
+ grant_mc?: InputMaybe<Scalars['bigint']['input']>;
5104
+ id?: InputMaybe<Scalars['uuid']['input']>;
5105
+ kind?: InputMaybe<Scalars['String']['input']>;
5106
+ status?: InputMaybe<Scalars['String']['input']>;
5107
+ };
3923
5108
  export type Subscription_Root = {
3924
5109
  __typename?: 'subscription_root';
3925
5110
  /** fetch data from the table: "affiliate_codes" */
@@ -3942,6 +5127,18 @@ export type Subscription_Root = {
3942
5127
  assets_by_pk?: Maybe<Assets>;
3943
5128
  /** fetch data from the table in a streaming manner: "assets" */
3944
5129
  assets_stream: Array<Assets>;
5130
+ /** fetch data from the table: "countries" */
5131
+ countries: Array<Countries>;
5132
+ /** fetch data from the table: "countries" using primary key columns */
5133
+ countries_by_pk?: Maybe<Countries>;
5134
+ /** fetch data from the table in a streaming manner: "countries" */
5135
+ countries_stream: Array<Countries>;
5136
+ /** fetch data from the table: "credit_grants" */
5137
+ credit_grants: Array<Credit_Grants>;
5138
+ /** fetch data from the table: "credit_grants" using primary key columns */
5139
+ credit_grants_by_pk?: Maybe<Credit_Grants>;
5140
+ /** fetch data from the table in a streaming manner: "credit_grants" */
5141
+ credit_grants_stream: Array<Credit_Grants>;
3945
5142
  /** fetch data from the table: "credit_pack_translations" */
3946
5143
  credit_pack_translations: Array<Credit_Pack_Translations>;
3947
5144
  /** fetch data from the table: "credit_pack_translations" using primary key columns */
@@ -3960,16 +5157,44 @@ export type Subscription_Root = {
3960
5157
  credit_packs_by_pk?: Maybe<Credit_Packs>;
3961
5158
  /** fetch data from the table in a streaming manner: "credit_packs" */
3962
5159
  credit_packs_stream: Array<Credit_Packs>;
5160
+ /** fetch data from the table: "crypto_payment_currencies" */
5161
+ crypto_payment_currencies: Array<Crypto_Payment_Currencies>;
5162
+ /** fetch data from the table: "crypto_payment_currencies" using primary key columns */
5163
+ crypto_payment_currencies_by_pk?: Maybe<Crypto_Payment_Currencies>;
5164
+ /** fetch data from the table in a streaming manner: "crypto_payment_currencies" */
5165
+ crypto_payment_currencies_stream: Array<Crypto_Payment_Currencies>;
5166
+ /** fetch data from the table: "crypto_payments" */
5167
+ crypto_payments: Array<Crypto_Payments>;
5168
+ /** fetch data from the table: "crypto_payments" using primary key columns */
5169
+ crypto_payments_by_pk?: Maybe<Crypto_Payments>;
5170
+ /** fetch data from the table in a streaming manner: "crypto_payments" */
5171
+ crypto_payments_stream: Array<Crypto_Payments>;
5172
+ /** fetch data from the table: "dispatch_blocks" */
5173
+ dispatch_blocks: Array<Dispatch_Blocks>;
5174
+ /** fetch data from the table: "dispatch_blocks" using primary key columns */
5175
+ dispatch_blocks_by_pk?: Maybe<Dispatch_Blocks>;
5176
+ /** fetch data from the table in a streaming manner: "dispatch_blocks" */
5177
+ dispatch_blocks_stream: Array<Dispatch_Blocks>;
3963
5178
  /** fetch data from the table: "executions_visibility" */
3964
5179
  executions_visibility: Array<Executions_Visibility>;
3965
5180
  /** fetch data from the table in a streaming manner: "executions_visibility" */
3966
5181
  executions_visibility_stream: Array<Executions_Visibility>;
5182
+ /** fetch data from the table: "fx_rates" */
5183
+ fx_rates: Array<Fx_Rates>;
5184
+ /** fetch data from the table: "fx_rates" using primary key columns */
5185
+ fx_rates_by_pk?: Maybe<Fx_Rates>;
5186
+ /** fetch data from the table in a streaming manner: "fx_rates" */
5187
+ fx_rates_stream: Array<Fx_Rates>;
3967
5188
  /** fetch data from the table: "locales" */
3968
5189
  locales: Array<Locales>;
3969
5190
  /** fetch data from the table: "locales" using primary key columns */
3970
5191
  locales_by_pk?: Maybe<Locales>;
3971
5192
  /** fetch data from the table in a streaming manner: "locales" */
3972
5193
  locales_stream: Array<Locales>;
5194
+ /** fetch data from the table: "localized_product_prices" */
5195
+ localized_product_prices: Array<Localized_Product_Prices>;
5196
+ /** fetch data from the table in a streaming manner: "localized_product_prices" */
5197
+ localized_product_prices_stream: Array<Localized_Product_Prices>;
3973
5198
  /** fetch data from the table: "model_capabilities" */
3974
5199
  model_capabilities: Array<Model_Capabilities>;
3975
5200
  /** fetch data from the table: "model_capabilities" using primary key columns */
@@ -3996,6 +5221,16 @@ export type Subscription_Root = {
3996
5221
  notifications_by_pk?: Maybe<Notifications>;
3997
5222
  /** fetch data from the table in a streaming manner: "notifications" */
3998
5223
  notifications_stream: Array<Notifications>;
5224
+ /** fetch data from the table: "payment_provider_resolved_row" */
5225
+ payment_provider_resolved_row: Array<Payment_Provider_Resolved_Row>;
5226
+ /** fetch data from the table in a streaming manner: "payment_provider_resolved_row" */
5227
+ payment_provider_resolved_row_stream: Array<Payment_Provider_Resolved_Row>;
5228
+ /** fetch data from the table: "payment_providers" */
5229
+ payment_providers: Array<Payment_Providers>;
5230
+ /** fetch data from the table: "payment_providers" using primary key columns */
5231
+ payment_providers_by_pk?: Maybe<Payment_Providers>;
5232
+ /** fetch data from the table in a streaming manner: "payment_providers" */
5233
+ payment_providers_stream: Array<Payment_Providers>;
3999
5234
  /** fetch data from the table: "personal_access_tokens" */
4000
5235
  personal_access_tokens: Array<Personal_Access_Tokens>;
4001
5236
  /** fetch data from the table: "personal_access_tokens" using primary key columns */
@@ -4036,6 +5271,8 @@ export type Subscription_Root = {
4036
5271
  pipeline_translations_stream: Array<Pipeline_Translations>;
4037
5272
  /** fetch data from the table: "pipelines" */
4038
5273
  pipelines: Array<Pipelines>;
5274
+ /** fetch aggregated fields from the table: "pipelines" */
5275
+ pipelines_aggregate: Pipelines_Aggregate;
4039
5276
  /** fetch data from the table: "pipelines" using primary key columns */
4040
5277
  pipelines_by_pk?: Maybe<Pipelines>;
4041
5278
  /** fetch data from the table in a streaming manner: "pipelines" */
@@ -4064,12 +5301,34 @@ export type Subscription_Root = {
4064
5301
  providers_by_pk?: Maybe<Providers>;
4065
5302
  /** fetch data from the table in a streaming manner: "providers" */
4066
5303
  providers_stream: Array<Providers>;
5304
+ /** execute function "resolve_payment_providers" which returns "payment_provider_resolved_row" */
5305
+ resolve_payment_providers: Array<Payment_Provider_Resolved_Row>;
5306
+ /** fetch data from the table: "subscription_plan_changes" */
5307
+ subscription_plan_changes: Array<Subscription_Plan_Changes>;
5308
+ /** fetch data from the table: "subscription_plan_changes" using primary key columns */
5309
+ subscription_plan_changes_by_pk?: Maybe<Subscription_Plan_Changes>;
5310
+ /** fetch data from the table in a streaming manner: "subscription_plan_changes" */
5311
+ subscription_plan_changes_stream: Array<Subscription_Plan_Changes>;
4067
5312
  /** An array relationship */
4068
5313
  subscriptions: Array<Subscriptions>;
4069
5314
  /** fetch data from the table: "subscriptions" using primary key columns */
4070
5315
  subscriptions_by_pk?: Maybe<Subscriptions>;
4071
5316
  /** fetch data from the table in a streaming manner: "subscriptions" */
4072
5317
  subscriptions_stream: Array<Subscriptions>;
5318
+ /** fetch data from the table: "user_credit_balance_breakdown" */
5319
+ user_credit_balance_breakdown: Array<User_Credit_Balance_Breakdown>;
5320
+ /** fetch data from the table in a streaming manner: "user_credit_balance_breakdown" */
5321
+ user_credit_balance_breakdown_stream: Array<User_Credit_Balance_Breakdown>;
5322
+ /** fetch data from the table: "user_subscription_credits" */
5323
+ user_subscription_credits: Array<User_Subscription_Credits>;
5324
+ /** fetch data from the table: "user_subscription_credits" using primary key columns */
5325
+ user_subscription_credits_by_pk?: Maybe<User_Subscription_Credits>;
5326
+ /** fetch data from the table in a streaming manner: "user_subscription_credits" */
5327
+ user_subscription_credits_stream: Array<User_Subscription_Credits>;
5328
+ /** fetch data from the table: "users" */
5329
+ users: Array<Users>;
5330
+ /** fetch data from the table in a streaming manner: "users" */
5331
+ users_stream: Array<Users>;
4073
5332
  };
4074
5333
  export type Subscription_RootAffiliate_CodesArgs = {
4075
5334
  distinct_on?: InputMaybe<Array<Affiliate_Codes_Select_Column>>;
@@ -4123,6 +5382,36 @@ export type Subscription_RootAssets_StreamArgs = {
4123
5382
  cursor: Array<InputMaybe<Assets_Stream_Cursor_Input>>;
4124
5383
  where?: InputMaybe<Assets_Bool_Exp>;
4125
5384
  };
5385
+ export type Subscription_RootCountriesArgs = {
5386
+ distinct_on?: InputMaybe<Array<Countries_Select_Column>>;
5387
+ limit?: InputMaybe<Scalars['Int']['input']>;
5388
+ offset?: InputMaybe<Scalars['Int']['input']>;
5389
+ order_by?: InputMaybe<Array<Countries_Order_By>>;
5390
+ where?: InputMaybe<Countries_Bool_Exp>;
5391
+ };
5392
+ export type Subscription_RootCountries_By_PkArgs = {
5393
+ code: Scalars['String']['input'];
5394
+ };
5395
+ export type Subscription_RootCountries_StreamArgs = {
5396
+ batch_size: Scalars['Int']['input'];
5397
+ cursor: Array<InputMaybe<Countries_Stream_Cursor_Input>>;
5398
+ where?: InputMaybe<Countries_Bool_Exp>;
5399
+ };
5400
+ export type Subscription_RootCredit_GrantsArgs = {
5401
+ distinct_on?: InputMaybe<Array<Credit_Grants_Select_Column>>;
5402
+ limit?: InputMaybe<Scalars['Int']['input']>;
5403
+ offset?: InputMaybe<Scalars['Int']['input']>;
5404
+ order_by?: InputMaybe<Array<Credit_Grants_Order_By>>;
5405
+ where?: InputMaybe<Credit_Grants_Bool_Exp>;
5406
+ };
5407
+ export type Subscription_RootCredit_Grants_By_PkArgs = {
5408
+ id: Scalars['uuid']['input'];
5409
+ };
5410
+ export type Subscription_RootCredit_Grants_StreamArgs = {
5411
+ batch_size: Scalars['Int']['input'];
5412
+ cursor: Array<InputMaybe<Credit_Grants_Stream_Cursor_Input>>;
5413
+ where?: InputMaybe<Credit_Grants_Bool_Exp>;
5414
+ };
4126
5415
  export type Subscription_RootCredit_Pack_TranslationsArgs = {
4127
5416
  distinct_on?: InputMaybe<Array<Credit_Pack_Translations_Select_Column>>;
4128
5417
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4169,7 +5458,52 @@ export type Subscription_RootCredit_Packs_StreamArgs = {
4169
5458
  cursor: Array<InputMaybe<Credit_Packs_Stream_Cursor_Input>>;
4170
5459
  where?: InputMaybe<Credit_Packs_Bool_Exp>;
4171
5460
  };
4172
- export type Subscription_RootExecutions_VisibilityArgs = {
5461
+ export type Subscription_RootCrypto_Payment_CurrenciesArgs = {
5462
+ distinct_on?: InputMaybe<Array<Crypto_Payment_Currencies_Select_Column>>;
5463
+ limit?: InputMaybe<Scalars['Int']['input']>;
5464
+ offset?: InputMaybe<Scalars['Int']['input']>;
5465
+ order_by?: InputMaybe<Array<Crypto_Payment_Currencies_Order_By>>;
5466
+ where?: InputMaybe<Crypto_Payment_Currencies_Bool_Exp>;
5467
+ };
5468
+ export type Subscription_RootCrypto_Payment_Currencies_By_PkArgs = {
5469
+ currency_id: Scalars['String']['input'];
5470
+ };
5471
+ export type Subscription_RootCrypto_Payment_Currencies_StreamArgs = {
5472
+ batch_size: Scalars['Int']['input'];
5473
+ cursor: Array<InputMaybe<Crypto_Payment_Currencies_Stream_Cursor_Input>>;
5474
+ where?: InputMaybe<Crypto_Payment_Currencies_Bool_Exp>;
5475
+ };
5476
+ export type Subscription_RootCrypto_PaymentsArgs = {
5477
+ distinct_on?: InputMaybe<Array<Crypto_Payments_Select_Column>>;
5478
+ limit?: InputMaybe<Scalars['Int']['input']>;
5479
+ offset?: InputMaybe<Scalars['Int']['input']>;
5480
+ order_by?: InputMaybe<Array<Crypto_Payments_Order_By>>;
5481
+ where?: InputMaybe<Crypto_Payments_Bool_Exp>;
5482
+ };
5483
+ export type Subscription_RootCrypto_Payments_By_PkArgs = {
5484
+ id: Scalars['uuid']['input'];
5485
+ };
5486
+ export type Subscription_RootCrypto_Payments_StreamArgs = {
5487
+ batch_size: Scalars['Int']['input'];
5488
+ cursor: Array<InputMaybe<Crypto_Payments_Stream_Cursor_Input>>;
5489
+ where?: InputMaybe<Crypto_Payments_Bool_Exp>;
5490
+ };
5491
+ export type Subscription_RootDispatch_BlocksArgs = {
5492
+ distinct_on?: InputMaybe<Array<Dispatch_Blocks_Select_Column>>;
5493
+ limit?: InputMaybe<Scalars['Int']['input']>;
5494
+ offset?: InputMaybe<Scalars['Int']['input']>;
5495
+ order_by?: InputMaybe<Array<Dispatch_Blocks_Order_By>>;
5496
+ where?: InputMaybe<Dispatch_Blocks_Bool_Exp>;
5497
+ };
5498
+ export type Subscription_RootDispatch_Blocks_By_PkArgs = {
5499
+ id: Scalars['uuid']['input'];
5500
+ };
5501
+ export type Subscription_RootDispatch_Blocks_StreamArgs = {
5502
+ batch_size: Scalars['Int']['input'];
5503
+ cursor: Array<InputMaybe<Dispatch_Blocks_Stream_Cursor_Input>>;
5504
+ where?: InputMaybe<Dispatch_Blocks_Bool_Exp>;
5505
+ };
5506
+ export type Subscription_RootExecutions_VisibilityArgs = {
4173
5507
  distinct_on?: InputMaybe<Array<Executions_Visibility_Select_Column>>;
4174
5508
  limit?: InputMaybe<Scalars['Int']['input']>;
4175
5509
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -4181,6 +5515,21 @@ export type Subscription_RootExecutions_Visibility_StreamArgs = {
4181
5515
  cursor: Array<InputMaybe<Executions_Visibility_Stream_Cursor_Input>>;
4182
5516
  where?: InputMaybe<Executions_Visibility_Bool_Exp>;
4183
5517
  };
5518
+ export type Subscription_RootFx_RatesArgs = {
5519
+ distinct_on?: InputMaybe<Array<Fx_Rates_Select_Column>>;
5520
+ limit?: InputMaybe<Scalars['Int']['input']>;
5521
+ offset?: InputMaybe<Scalars['Int']['input']>;
5522
+ order_by?: InputMaybe<Array<Fx_Rates_Order_By>>;
5523
+ where?: InputMaybe<Fx_Rates_Bool_Exp>;
5524
+ };
5525
+ export type Subscription_RootFx_Rates_By_PkArgs = {
5526
+ currency: Scalars['String']['input'];
5527
+ };
5528
+ export type Subscription_RootFx_Rates_StreamArgs = {
5529
+ batch_size: Scalars['Int']['input'];
5530
+ cursor: Array<InputMaybe<Fx_Rates_Stream_Cursor_Input>>;
5531
+ where?: InputMaybe<Fx_Rates_Bool_Exp>;
5532
+ };
4184
5533
  export type Subscription_RootLocalesArgs = {
4185
5534
  distinct_on?: InputMaybe<Array<Locales_Select_Column>>;
4186
5535
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4196,6 +5545,18 @@ export type Subscription_RootLocales_StreamArgs = {
4196
5545
  cursor: Array<InputMaybe<Locales_Stream_Cursor_Input>>;
4197
5546
  where?: InputMaybe<Locales_Bool_Exp>;
4198
5547
  };
5548
+ export type Subscription_RootLocalized_Product_PricesArgs = {
5549
+ distinct_on?: InputMaybe<Array<Localized_Product_Prices_Select_Column>>;
5550
+ limit?: InputMaybe<Scalars['Int']['input']>;
5551
+ offset?: InputMaybe<Scalars['Int']['input']>;
5552
+ order_by?: InputMaybe<Array<Localized_Product_Prices_Order_By>>;
5553
+ where?: InputMaybe<Localized_Product_Prices_Bool_Exp>;
5554
+ };
5555
+ export type Subscription_RootLocalized_Product_Prices_StreamArgs = {
5556
+ batch_size: Scalars['Int']['input'];
5557
+ cursor: Array<InputMaybe<Localized_Product_Prices_Stream_Cursor_Input>>;
5558
+ where?: InputMaybe<Localized_Product_Prices_Bool_Exp>;
5559
+ };
4199
5560
  export type Subscription_RootModel_CapabilitiesArgs = {
4200
5561
  distinct_on?: InputMaybe<Array<Model_Capabilities_Select_Column>>;
4201
5562
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4265,6 +5626,33 @@ export type Subscription_RootNotifications_StreamArgs = {
4265
5626
  cursor: Array<InputMaybe<Notifications_Stream_Cursor_Input>>;
4266
5627
  where?: InputMaybe<Notifications_Bool_Exp>;
4267
5628
  };
5629
+ export type Subscription_RootPayment_Provider_Resolved_RowArgs = {
5630
+ distinct_on?: InputMaybe<Array<Payment_Provider_Resolved_Row_Select_Column>>;
5631
+ limit?: InputMaybe<Scalars['Int']['input']>;
5632
+ offset?: InputMaybe<Scalars['Int']['input']>;
5633
+ order_by?: InputMaybe<Array<Payment_Provider_Resolved_Row_Order_By>>;
5634
+ where?: InputMaybe<Payment_Provider_Resolved_Row_Bool_Exp>;
5635
+ };
5636
+ export type Subscription_RootPayment_Provider_Resolved_Row_StreamArgs = {
5637
+ batch_size: Scalars['Int']['input'];
5638
+ cursor: Array<InputMaybe<Payment_Provider_Resolved_Row_Stream_Cursor_Input>>;
5639
+ where?: InputMaybe<Payment_Provider_Resolved_Row_Bool_Exp>;
5640
+ };
5641
+ export type Subscription_RootPayment_ProvidersArgs = {
5642
+ distinct_on?: InputMaybe<Array<Payment_Providers_Select_Column>>;
5643
+ limit?: InputMaybe<Scalars['Int']['input']>;
5644
+ offset?: InputMaybe<Scalars['Int']['input']>;
5645
+ order_by?: InputMaybe<Array<Payment_Providers_Order_By>>;
5646
+ where?: InputMaybe<Payment_Providers_Bool_Exp>;
5647
+ };
5648
+ export type Subscription_RootPayment_Providers_By_PkArgs = {
5649
+ slug: Scalars['String']['input'];
5650
+ };
5651
+ export type Subscription_RootPayment_Providers_StreamArgs = {
5652
+ batch_size: Scalars['Int']['input'];
5653
+ cursor: Array<InputMaybe<Payment_Providers_Stream_Cursor_Input>>;
5654
+ where?: InputMaybe<Payment_Providers_Bool_Exp>;
5655
+ };
4268
5656
  export type Subscription_RootPersonal_Access_TokensArgs = {
4269
5657
  distinct_on?: InputMaybe<Array<Personal_Access_Tokens_Select_Column>>;
4270
5658
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4372,6 +5760,13 @@ export type Subscription_RootPipelinesArgs = {
4372
5760
  order_by?: InputMaybe<Array<Pipelines_Order_By>>;
4373
5761
  where?: InputMaybe<Pipelines_Bool_Exp>;
4374
5762
  };
5763
+ export type Subscription_RootPipelines_AggregateArgs = {
5764
+ distinct_on?: InputMaybe<Array<Pipelines_Select_Column>>;
5765
+ limit?: InputMaybe<Scalars['Int']['input']>;
5766
+ offset?: InputMaybe<Scalars['Int']['input']>;
5767
+ order_by?: InputMaybe<Array<Pipelines_Order_By>>;
5768
+ where?: InputMaybe<Pipelines_Bool_Exp>;
5769
+ };
4375
5770
  export type Subscription_RootPipelines_By_PkArgs = {
4376
5771
  id: Scalars['uuid']['input'];
4377
5772
  };
@@ -4441,6 +5836,29 @@ export type Subscription_RootProviders_StreamArgs = {
4441
5836
  cursor: Array<InputMaybe<Providers_Stream_Cursor_Input>>;
4442
5837
  where?: InputMaybe<Providers_Bool_Exp>;
4443
5838
  };
5839
+ export type Subscription_RootResolve_Payment_ProvidersArgs = {
5840
+ args: Resolve_Payment_Providers_Args;
5841
+ distinct_on?: InputMaybe<Array<Payment_Provider_Resolved_Row_Select_Column>>;
5842
+ limit?: InputMaybe<Scalars['Int']['input']>;
5843
+ offset?: InputMaybe<Scalars['Int']['input']>;
5844
+ order_by?: InputMaybe<Array<Payment_Provider_Resolved_Row_Order_By>>;
5845
+ where?: InputMaybe<Payment_Provider_Resolved_Row_Bool_Exp>;
5846
+ };
5847
+ export type Subscription_RootSubscription_Plan_ChangesArgs = {
5848
+ distinct_on?: InputMaybe<Array<Subscription_Plan_Changes_Select_Column>>;
5849
+ limit?: InputMaybe<Scalars['Int']['input']>;
5850
+ offset?: InputMaybe<Scalars['Int']['input']>;
5851
+ order_by?: InputMaybe<Array<Subscription_Plan_Changes_Order_By>>;
5852
+ where?: InputMaybe<Subscription_Plan_Changes_Bool_Exp>;
5853
+ };
5854
+ export type Subscription_RootSubscription_Plan_Changes_By_PkArgs = {
5855
+ id: Scalars['uuid']['input'];
5856
+ };
5857
+ export type Subscription_RootSubscription_Plan_Changes_StreamArgs = {
5858
+ batch_size: Scalars['Int']['input'];
5859
+ cursor: Array<InputMaybe<Subscription_Plan_Changes_Stream_Cursor_Input>>;
5860
+ where?: InputMaybe<Subscription_Plan_Changes_Bool_Exp>;
5861
+ };
4444
5862
  export type Subscription_RootSubscriptionsArgs = {
4445
5863
  distinct_on?: InputMaybe<Array<Subscriptions_Select_Column>>;
4446
5864
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4456,12 +5874,52 @@ export type Subscription_RootSubscriptions_StreamArgs = {
4456
5874
  cursor: Array<InputMaybe<Subscriptions_Stream_Cursor_Input>>;
4457
5875
  where?: InputMaybe<Subscriptions_Bool_Exp>;
4458
5876
  };
5877
+ export type Subscription_RootUser_Credit_Balance_BreakdownArgs = {
5878
+ distinct_on?: InputMaybe<Array<User_Credit_Balance_Breakdown_Select_Column>>;
5879
+ limit?: InputMaybe<Scalars['Int']['input']>;
5880
+ offset?: InputMaybe<Scalars['Int']['input']>;
5881
+ order_by?: InputMaybe<Array<User_Credit_Balance_Breakdown_Order_By>>;
5882
+ where?: InputMaybe<User_Credit_Balance_Breakdown_Bool_Exp>;
5883
+ };
5884
+ export type Subscription_RootUser_Credit_Balance_Breakdown_StreamArgs = {
5885
+ batch_size: Scalars['Int']['input'];
5886
+ cursor: Array<InputMaybe<User_Credit_Balance_Breakdown_Stream_Cursor_Input>>;
5887
+ where?: InputMaybe<User_Credit_Balance_Breakdown_Bool_Exp>;
5888
+ };
5889
+ export type Subscription_RootUser_Subscription_CreditsArgs = {
5890
+ distinct_on?: InputMaybe<Array<User_Subscription_Credits_Select_Column>>;
5891
+ limit?: InputMaybe<Scalars['Int']['input']>;
5892
+ offset?: InputMaybe<Scalars['Int']['input']>;
5893
+ order_by?: InputMaybe<Array<User_Subscription_Credits_Order_By>>;
5894
+ where?: InputMaybe<User_Subscription_Credits_Bool_Exp>;
5895
+ };
5896
+ export type Subscription_RootUser_Subscription_Credits_By_PkArgs = {
5897
+ user_id: Scalars['uuid']['input'];
5898
+ };
5899
+ export type Subscription_RootUser_Subscription_Credits_StreamArgs = {
5900
+ batch_size: Scalars['Int']['input'];
5901
+ cursor: Array<InputMaybe<User_Subscription_Credits_Stream_Cursor_Input>>;
5902
+ where?: InputMaybe<User_Subscription_Credits_Bool_Exp>;
5903
+ };
5904
+ export type Subscription_RootUsersArgs = {
5905
+ distinct_on?: InputMaybe<Array<Users_Select_Column>>;
5906
+ limit?: InputMaybe<Scalars['Int']['input']>;
5907
+ offset?: InputMaybe<Scalars['Int']['input']>;
5908
+ order_by?: InputMaybe<Array<Users_Order_By>>;
5909
+ where?: InputMaybe<Users_Bool_Exp>;
5910
+ };
5911
+ export type Subscription_RootUsers_StreamArgs = {
5912
+ batch_size: Scalars['Int']['input'];
5913
+ cursor: Array<InputMaybe<Users_Stream_Cursor_Input>>;
5914
+ where?: InputMaybe<Users_Bool_Exp>;
5915
+ };
4459
5916
  /** columns and relationships of "subscriptions" */
4460
5917
  export type Subscriptions = {
4461
5918
  __typename?: 'subscriptions';
4462
5919
  cancel_at_period_end: Scalars['Boolean']['output'];
4463
5920
  created_at: Scalars['timestamptz']['output'];
4464
5921
  id: Scalars['uuid']['output'];
5922
+ metadata?: Maybe<Scalars['jsonb']['output']>;
4465
5923
  period_end: Scalars['timestamptz']['output'];
4466
5924
  period_start: Scalars['timestamptz']['output'];
4467
5925
  /** An object relationship */
@@ -4471,6 +5929,12 @@ export type Subscriptions = {
4471
5929
  plan_version: Plan_Versions;
4472
5930
  plan_version_id: Scalars['uuid']['output'];
4473
5931
  status: Scalars['String']['output'];
5932
+ /** An object relationship */
5933
+ user: Users;
5934
+ };
5935
+ /** columns and relationships of "subscriptions" */
5936
+ export type SubscriptionsMetadataArgs = {
5937
+ path?: InputMaybe<Scalars['String']['input']>;
4474
5938
  };
4475
5939
  /** order by aggregate values of table "subscriptions" */
4476
5940
  export type Subscriptions_Aggregate_Order_By = {
@@ -4486,6 +5950,7 @@ export type Subscriptions_Bool_Exp = {
4486
5950
  cancel_at_period_end?: InputMaybe<Boolean_Comparison_Exp>;
4487
5951
  created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
4488
5952
  id?: InputMaybe<Uuid_Comparison_Exp>;
5953
+ metadata?: InputMaybe<Jsonb_Comparison_Exp>;
4489
5954
  period_end?: InputMaybe<Timestamptz_Comparison_Exp>;
4490
5955
  period_start?: InputMaybe<Timestamptz_Comparison_Exp>;
4491
5956
  plan?: InputMaybe<Plans_Bool_Exp>;
@@ -4493,6 +5958,7 @@ export type Subscriptions_Bool_Exp = {
4493
5958
  plan_version?: InputMaybe<Plan_Versions_Bool_Exp>;
4494
5959
  plan_version_id?: InputMaybe<Uuid_Comparison_Exp>;
4495
5960
  status?: InputMaybe<String_Comparison_Exp>;
5961
+ user?: InputMaybe<Users_Bool_Exp>;
4496
5962
  };
4497
5963
  /** order by max() on columns of table "subscriptions" */
4498
5964
  export type Subscriptions_Max_Order_By = {
@@ -4519,6 +5985,7 @@ export type Subscriptions_Order_By = {
4519
5985
  cancel_at_period_end?: InputMaybe<Order_By>;
4520
5986
  created_at?: InputMaybe<Order_By>;
4521
5987
  id?: InputMaybe<Order_By>;
5988
+ metadata?: InputMaybe<Order_By>;
4522
5989
  period_end?: InputMaybe<Order_By>;
4523
5990
  period_start?: InputMaybe<Order_By>;
4524
5991
  plan?: InputMaybe<Plans_Order_By>;
@@ -4526,6 +5993,7 @@ export type Subscriptions_Order_By = {
4526
5993
  plan_version?: InputMaybe<Plan_Versions_Order_By>;
4527
5994
  plan_version_id?: InputMaybe<Order_By>;
4528
5995
  status?: InputMaybe<Order_By>;
5996
+ user?: InputMaybe<Users_Order_By>;
4529
5997
  };
4530
5998
  /** select columns of table "subscriptions" */
4531
5999
  export declare enum Subscriptions_Select_Column {
@@ -4536,6 +6004,8 @@ export declare enum Subscriptions_Select_Column {
4536
6004
  /** column name */
4537
6005
  Id = "id",
4538
6006
  /** column name */
6007
+ Metadata = "metadata",
6008
+ /** column name */
4539
6009
  PeriodEnd = "period_end",
4540
6010
  /** column name */
4541
6011
  PeriodStart = "period_start",
@@ -4558,6 +6028,7 @@ export type Subscriptions_Stream_Cursor_Value_Input = {
4558
6028
  cancel_at_period_end?: InputMaybe<Scalars['Boolean']['input']>;
4559
6029
  created_at?: InputMaybe<Scalars['timestamptz']['input']>;
4560
6030
  id?: InputMaybe<Scalars['uuid']['input']>;
6031
+ metadata?: InputMaybe<Scalars['jsonb']['input']>;
4561
6032
  period_end?: InputMaybe<Scalars['timestamptz']['input']>;
4562
6033
  period_start?: InputMaybe<Scalars['timestamptz']['input']>;
4563
6034
  plan_id?: InputMaybe<Scalars['uuid']['input']>;
@@ -4588,6 +6059,144 @@ export type Timestamptz_Comparison_Exp = {
4588
6059
  _neq?: InputMaybe<Scalars['timestamptz']['input']>;
4589
6060
  _nin?: InputMaybe<Array<Scalars['timestamptz']['input']>>;
4590
6061
  };
6062
+ /** columns and relationships of "user_credit_balance_breakdown" */
6063
+ export type User_Credit_Balance_Breakdown = {
6064
+ __typename?: 'user_credit_balance_breakdown';
6065
+ expiring_mc?: Maybe<Scalars['bigint']['output']>;
6066
+ next_expiry_at?: Maybe<Scalars['timestamptz']['output']>;
6067
+ retry_mc?: Maybe<Scalars['bigint']['output']>;
6068
+ subscription_mc?: Maybe<Scalars['bigint']['output']>;
6069
+ user_id?: Maybe<Scalars['uuid']['output']>;
6070
+ };
6071
+ /** Boolean expression to filter rows from the table "user_credit_balance_breakdown". All fields are combined with a logical 'AND'. */
6072
+ export type User_Credit_Balance_Breakdown_Bool_Exp = {
6073
+ _and?: InputMaybe<Array<User_Credit_Balance_Breakdown_Bool_Exp>>;
6074
+ _not?: InputMaybe<User_Credit_Balance_Breakdown_Bool_Exp>;
6075
+ _or?: InputMaybe<Array<User_Credit_Balance_Breakdown_Bool_Exp>>;
6076
+ expiring_mc?: InputMaybe<Bigint_Comparison_Exp>;
6077
+ next_expiry_at?: InputMaybe<Timestamptz_Comparison_Exp>;
6078
+ retry_mc?: InputMaybe<Bigint_Comparison_Exp>;
6079
+ subscription_mc?: InputMaybe<Bigint_Comparison_Exp>;
6080
+ user_id?: InputMaybe<Uuid_Comparison_Exp>;
6081
+ };
6082
+ /** Ordering options when selecting data from "user_credit_balance_breakdown". */
6083
+ export type User_Credit_Balance_Breakdown_Order_By = {
6084
+ expiring_mc?: InputMaybe<Order_By>;
6085
+ next_expiry_at?: InputMaybe<Order_By>;
6086
+ retry_mc?: InputMaybe<Order_By>;
6087
+ subscription_mc?: InputMaybe<Order_By>;
6088
+ user_id?: InputMaybe<Order_By>;
6089
+ };
6090
+ /** select columns of table "user_credit_balance_breakdown" */
6091
+ export declare enum User_Credit_Balance_Breakdown_Select_Column {
6092
+ /** column name */
6093
+ ExpiringMc = "expiring_mc",
6094
+ /** column name */
6095
+ NextExpiryAt = "next_expiry_at",
6096
+ /** column name */
6097
+ RetryMc = "retry_mc",
6098
+ /** column name */
6099
+ SubscriptionMc = "subscription_mc",
6100
+ /** column name */
6101
+ UserId = "user_id"
6102
+ }
6103
+ /** Streaming cursor of the table "user_credit_balance_breakdown" */
6104
+ export type User_Credit_Balance_Breakdown_Stream_Cursor_Input = {
6105
+ /** Stream column input with initial value */
6106
+ initial_value: User_Credit_Balance_Breakdown_Stream_Cursor_Value_Input;
6107
+ /** cursor ordering */
6108
+ ordering?: InputMaybe<Cursor_Ordering>;
6109
+ };
6110
+ /** Initial value of the column from where the streaming should start */
6111
+ export type User_Credit_Balance_Breakdown_Stream_Cursor_Value_Input = {
6112
+ expiring_mc?: InputMaybe<Scalars['bigint']['input']>;
6113
+ next_expiry_at?: InputMaybe<Scalars['timestamptz']['input']>;
6114
+ retry_mc?: InputMaybe<Scalars['bigint']['input']>;
6115
+ subscription_mc?: InputMaybe<Scalars['bigint']['input']>;
6116
+ user_id?: InputMaybe<Scalars['uuid']['input']>;
6117
+ };
6118
+ /** columns and relationships of "user_subscription_credits" */
6119
+ export type User_Subscription_Credits = {
6120
+ __typename?: 'user_subscription_credits';
6121
+ expires_at?: Maybe<Scalars['timestamptz']['output']>;
6122
+ remaining_mc: Scalars['bigint']['output'];
6123
+ updated_at: Scalars['timestamptz']['output'];
6124
+ user_id: Scalars['uuid']['output'];
6125
+ };
6126
+ /** Boolean expression to filter rows from the table "user_subscription_credits". All fields are combined with a logical 'AND'. */
6127
+ export type User_Subscription_Credits_Bool_Exp = {
6128
+ _and?: InputMaybe<Array<User_Subscription_Credits_Bool_Exp>>;
6129
+ _not?: InputMaybe<User_Subscription_Credits_Bool_Exp>;
6130
+ _or?: InputMaybe<Array<User_Subscription_Credits_Bool_Exp>>;
6131
+ expires_at?: InputMaybe<Timestamptz_Comparison_Exp>;
6132
+ remaining_mc?: InputMaybe<Bigint_Comparison_Exp>;
6133
+ updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
6134
+ user_id?: InputMaybe<Uuid_Comparison_Exp>;
6135
+ };
6136
+ /** Ordering options when selecting data from "user_subscription_credits". */
6137
+ export type User_Subscription_Credits_Order_By = {
6138
+ expires_at?: InputMaybe<Order_By>;
6139
+ remaining_mc?: InputMaybe<Order_By>;
6140
+ updated_at?: InputMaybe<Order_By>;
6141
+ user_id?: InputMaybe<Order_By>;
6142
+ };
6143
+ /** select columns of table "user_subscription_credits" */
6144
+ export declare enum User_Subscription_Credits_Select_Column {
6145
+ /** column name */
6146
+ ExpiresAt = "expires_at",
6147
+ /** column name */
6148
+ RemainingMc = "remaining_mc",
6149
+ /** column name */
6150
+ UpdatedAt = "updated_at",
6151
+ /** column name */
6152
+ UserId = "user_id"
6153
+ }
6154
+ /** Streaming cursor of the table "user_subscription_credits" */
6155
+ export type User_Subscription_Credits_Stream_Cursor_Input = {
6156
+ /** Stream column input with initial value */
6157
+ initial_value: User_Subscription_Credits_Stream_Cursor_Value_Input;
6158
+ /** cursor ordering */
6159
+ ordering?: InputMaybe<Cursor_Ordering>;
6160
+ };
6161
+ /** Initial value of the column from where the streaming should start */
6162
+ export type User_Subscription_Credits_Stream_Cursor_Value_Input = {
6163
+ expires_at?: InputMaybe<Scalars['timestamptz']['input']>;
6164
+ remaining_mc?: InputMaybe<Scalars['bigint']['input']>;
6165
+ updated_at?: InputMaybe<Scalars['timestamptz']['input']>;
6166
+ user_id?: InputMaybe<Scalars['uuid']['input']>;
6167
+ };
6168
+ /** columns and relationships of "users" */
6169
+ export type Users = {
6170
+ __typename?: 'users';
6171
+ updated_at: Scalars['timestamptz']['output'];
6172
+ };
6173
+ /** Boolean expression to filter rows from the table "users". All fields are combined with a logical 'AND'. */
6174
+ export type Users_Bool_Exp = {
6175
+ _and?: InputMaybe<Array<Users_Bool_Exp>>;
6176
+ _not?: InputMaybe<Users_Bool_Exp>;
6177
+ _or?: InputMaybe<Array<Users_Bool_Exp>>;
6178
+ updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
6179
+ };
6180
+ /** Ordering options when selecting data from "users". */
6181
+ export type Users_Order_By = {
6182
+ updated_at?: InputMaybe<Order_By>;
6183
+ };
6184
+ /** select columns of table "users" */
6185
+ export declare enum Users_Select_Column {
6186
+ /** column name */
6187
+ UpdatedAt = "updated_at"
6188
+ }
6189
+ /** Streaming cursor of the table "users" */
6190
+ export type Users_Stream_Cursor_Input = {
6191
+ /** Stream column input with initial value */
6192
+ initial_value: Users_Stream_Cursor_Value_Input;
6193
+ /** cursor ordering */
6194
+ ordering?: InputMaybe<Cursor_Ordering>;
6195
+ };
6196
+ /** Initial value of the column from where the streaming should start */
6197
+ export type Users_Stream_Cursor_Value_Input = {
6198
+ updated_at?: InputMaybe<Scalars['timestamptz']['input']>;
6199
+ };
4591
6200
  /** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
4592
6201
  export type Uuid_Comparison_Exp = {
4593
6202
  _eq?: InputMaybe<Scalars['uuid']['input']>;
@@ -4981,6 +6590,31 @@ export type RegisterMutation = {
4981
6590
  affiliate_id?: string | null;
4982
6591
  };
4983
6592
  };
6593
+ export type CreateAuthHandoffCodeMutationVariables = Exact<{
6594
+ redirect_uri: Scalars['String']['input'];
6595
+ code_challenge: Scalars['String']['input'];
6596
+ }>;
6597
+ export type CreateAuthHandoffCodeMutation = {
6598
+ __typename?: 'mutation_root';
6599
+ create_auth_handoff_code: {
6600
+ __typename?: 'create_auth_handoff_code_output';
6601
+ code: string;
6602
+ expires_at: string;
6603
+ };
6604
+ };
6605
+ export type ExchangeAuthHandoffCodeMutationVariables = Exact<{
6606
+ code: Scalars['String']['input'];
6607
+ redirect_uri: Scalars['String']['input'];
6608
+ code_verifier: Scalars['String']['input'];
6609
+ }>;
6610
+ export type ExchangeAuthHandoffCodeMutation = {
6611
+ __typename?: 'mutation_root';
6612
+ exchange_auth_handoff_code: {
6613
+ __typename?: 'exchange_auth_handoff_code_output';
6614
+ token: string;
6615
+ expires_at: string;
6616
+ };
6617
+ };
4984
6618
  export type LogoutMutationVariables = Exact<{
4985
6619
  [key: string]: never;
4986
6620
  }>;
@@ -5070,6 +6704,101 @@ export type GetCreditHistoryQuery = {
5070
6704
  reservation_mc?: number | null;
5071
6705
  }>;
5072
6706
  };
6707
+ export type CreateCryptoPaymentMutationVariables = Exact<{
6708
+ provider: Scalars['String']['input'];
6709
+ attempt_id: Scalars['uuid']['input'];
6710
+ credit_pack_slug?: InputMaybe<Scalars['String']['input']>;
6711
+ plan_slug?: InputMaybe<Scalars['String']['input']>;
6712
+ currency_id: Scalars['String']['input'];
6713
+ country?: InputMaybe<Scalars['String']['input']>;
6714
+ }>;
6715
+ export type CreateCryptoPaymentMutation = {
6716
+ __typename?: 'mutation_root';
6717
+ create_crypto_payment: {
6718
+ __typename?: 'create_crypto_payment_output';
6719
+ success: boolean;
6720
+ payment_id: string;
6721
+ deposit_address: string;
6722
+ expected_usdt: number;
6723
+ credits: number;
6724
+ network: string;
6725
+ currency_id: string;
6726
+ expires_at: string;
6727
+ provider: string;
6728
+ status: string;
6729
+ asset?: string | null;
6730
+ amount: string;
6731
+ remaining_amount?: string | null;
6732
+ payment_uri?: string | null;
6733
+ qr_code_data_url?: string | null;
6734
+ top_up_payment_uri?: string | null;
6735
+ top_up_qr_code_data_url?: string | null;
6736
+ required_confirmations: number;
6737
+ confirmations: number;
6738
+ amount_paid_usdt?: number | null;
6739
+ granted_at?: string | null;
6740
+ tx_hash?: string | null;
6741
+ };
6742
+ };
6743
+ export type GetUserSubscriptionCreditsQueryVariables = Exact<{
6744
+ [key: string]: never;
6745
+ }>;
6746
+ export type GetUserSubscriptionCreditsQuery = {
6747
+ __typename?: 'query_root';
6748
+ user_credit_balance_breakdown: Array<{
6749
+ __typename?: 'user_credit_balance_breakdown';
6750
+ subscription_mc?: any | null;
6751
+ retry_mc?: any | null;
6752
+ expiring_mc?: any | null;
6753
+ next_expiry_at?: any | null;
6754
+ }>;
6755
+ };
6756
+ export type GetCryptoPaymentCurrenciesQueryVariables = Exact<{
6757
+ provider: Scalars['String']['input'];
6758
+ }>;
6759
+ export type GetCryptoPaymentCurrenciesQuery = {
6760
+ __typename?: 'query_root';
6761
+ crypto_payment_currencies: Array<{
6762
+ __typename?: 'crypto_payment_currencies';
6763
+ currency_id: string;
6764
+ network: string;
6765
+ asset: string;
6766
+ label: string;
6767
+ decimals: number;
6768
+ min_usdt: any;
6769
+ }>;
6770
+ };
6771
+ export type GetCryptoPaymentQueryVariables = Exact<{
6772
+ id: Scalars['uuid']['input'];
6773
+ }>;
6774
+ export type GetCryptoPaymentQuery = {
6775
+ __typename?: 'query_root';
6776
+ get_crypto_payment_status: {
6777
+ __typename?: 'crypto_payment_status_output';
6778
+ success: boolean;
6779
+ payment_id: string;
6780
+ provider: string;
6781
+ status: string;
6782
+ credits: number;
6783
+ expected_usdt: number;
6784
+ amount_paid_usdt?: number | null;
6785
+ deposit_address: string;
6786
+ currency_id: string;
6787
+ network: string;
6788
+ expires_at: string;
6789
+ granted_at?: string | null;
6790
+ tx_hash?: string | null;
6791
+ asset?: string | null;
6792
+ amount: string;
6793
+ remaining_amount?: string | null;
6794
+ payment_uri?: string | null;
6795
+ qr_code_data_url?: string | null;
6796
+ top_up_payment_uri?: string | null;
6797
+ top_up_qr_code_data_url?: string | null;
6798
+ required_confirmations: number;
6799
+ confirmations: number;
6800
+ };
6801
+ };
5073
6802
  export type ModelsQueryVariables = Exact<{
5074
6803
  [key: string]: never;
5075
6804
  }>;
@@ -5098,6 +6827,8 @@ export type ModelsQuery = {
5098
6827
  __typename?: 'pipeline_models';
5099
6828
  pipeline_slug: string;
5100
6829
  sort_order: number;
6830
+ input_schema: any;
6831
+ auto_route_order?: number | null;
5101
6832
  }>;
5102
6833
  translations: Array<{
5103
6834
  __typename?: 'model_translations';
@@ -5152,6 +6883,25 @@ export type MarkAllNotificationsReadMutation = {
5152
6883
  affected_rows: number;
5153
6884
  } | null;
5154
6885
  };
6886
+ export type GetCheckoutProvidersQueryVariables = Exact<{
6887
+ country: Scalars['String']['input'];
6888
+ platform: Scalars['String']['input'];
6889
+ locale: Scalars['String']['input'];
6890
+ }>;
6891
+ export type GetCheckoutProvidersQuery = {
6892
+ __typename?: 'query_root';
6893
+ resolve_payment_providers: Array<{
6894
+ __typename?: 'payment_provider_resolved_row';
6895
+ slug?: string | null;
6896
+ kind?: string | null;
6897
+ label?: string | null;
6898
+ description?: string | null;
6899
+ fee_bps?: number | null;
6900
+ price_source?: string | null;
6901
+ sort_order?: number | null;
6902
+ supports_recurring?: boolean | null;
6903
+ }>;
6904
+ };
5155
6905
  export type GetPipelinesQueryVariables = Exact<{
5156
6906
  [key: string]: never;
5157
6907
  }>;
@@ -5203,6 +6953,7 @@ export type GetPipelinesQuery = {
5203
6953
  __typename?: 'models';
5204
6954
  slug: string;
5205
6955
  label: string;
6956
+ public_name?: string | null;
5206
6957
  } | null;
5207
6958
  translations: Array<{
5208
6959
  __typename?: 'pipeline_examples_translations';
@@ -5235,6 +6986,73 @@ export type GetPipelinesListQuery = {
5235
6986
  cancellable: boolean;
5236
6987
  }>;
5237
6988
  };
6989
+ export type SearchPipelinesQueryVariables = Exact<{
6990
+ limit?: InputMaybe<Scalars['Int']['input']>;
6991
+ offset?: InputMaybe<Scalars['Int']['input']>;
6992
+ search?: InputMaybe<Scalars['String']['input']>;
6993
+ }>;
6994
+ export type SearchPipelinesQuery = {
6995
+ __typename?: 'query_root';
6996
+ pipelines: Array<{
6997
+ __typename?: 'pipelines';
6998
+ id: any;
6999
+ slug: string;
7000
+ name: string;
7001
+ description?: string | null;
7002
+ category: string;
7003
+ icon_url?: string | null;
7004
+ preview_url?: string | null;
7005
+ providers: Array<string>;
7006
+ models: Array<string>;
7007
+ tags: Array<string>;
7008
+ hints: any;
7009
+ cancellable: boolean;
7010
+ translations: Array<{
7011
+ __typename?: 'pipeline_translations';
7012
+ locale: string;
7013
+ name?: string | null;
7014
+ description?: string | null;
7015
+ }>;
7016
+ }>;
7017
+ pipelines_aggregate: {
7018
+ __typename?: 'pipelines_aggregate';
7019
+ aggregate?: {
7020
+ __typename?: 'pipelines_aggregate_fields';
7021
+ count: number;
7022
+ } | null;
7023
+ };
7024
+ };
7025
+ export type GetPipelineBySlugQueryVariables = Exact<{
7026
+ slug: Scalars['String']['input'];
7027
+ }>;
7028
+ export type GetPipelineBySlugQuery = {
7029
+ __typename?: 'query_root';
7030
+ pipelines: Array<{
7031
+ __typename?: 'pipelines';
7032
+ id: any;
7033
+ slug: string;
7034
+ name: string;
7035
+ description?: string | null;
7036
+ category: string;
7037
+ icon_url?: string | null;
7038
+ preview_url?: string | null;
7039
+ providers: Array<string>;
7040
+ models: Array<string>;
7041
+ input_schema: any;
7042
+ ui_schema: any;
7043
+ output_schema: any;
7044
+ tags: Array<string>;
7045
+ hints: any;
7046
+ cancellable: boolean;
7047
+ translations: Array<{
7048
+ __typename?: 'pipeline_translations';
7049
+ locale: string;
7050
+ name?: string | null;
7051
+ description?: string | null;
7052
+ form_i18n?: any | null;
7053
+ }>;
7054
+ }>;
7055
+ };
5238
7056
  export type EstimatePipelineCostQueryVariables = Exact<{
5239
7057
  pipeline_slug: Scalars['String']['input'];
5240
7058
  input: Scalars['jsonb']['input'];
@@ -5251,7 +7069,7 @@ export type EstimatePipelineCostQuery = {
5251
7069
  routed_reason_code?: string | null;
5252
7070
  routed_reason_params?: any | null;
5253
7071
  incompatible_models?: any | null;
5254
- engine_caps?: any | null;
7072
+ model_input_schema?: any | null;
5255
7073
  } | null;
5256
7074
  };
5257
7075
  export type PipelineModelsQueryVariables = Exact<{
@@ -5263,10 +7081,13 @@ export type PipelineModelsQuery = {
5263
7081
  __typename?: 'pipeline_models';
5264
7082
  model_slug: string;
5265
7083
  sort_order: number;
7084
+ input_schema: any;
7085
+ auto_route_order?: number | null;
5266
7086
  model: {
5267
7087
  __typename?: 'models';
5268
7088
  slug: string;
5269
7089
  label: string;
7090
+ public_name?: string | null;
5270
7091
  description: string;
5271
7092
  provider: string;
5272
7093
  translations: Array<{
@@ -5337,6 +7158,11 @@ export type GetPipelineRunQuery = {
5337
7158
  input_schema: any;
5338
7159
  ui_schema: any;
5339
7160
  cancellable: boolean;
7161
+ translations: Array<{
7162
+ __typename?: 'pipeline_translations';
7163
+ locale: string;
7164
+ name?: string | null;
7165
+ }>;
5340
7166
  };
5341
7167
  assets: Array<{
5342
7168
  __typename?: 'assets';
@@ -5381,6 +7207,11 @@ export type GetPipelineRunsQuery = {
5381
7207
  input_schema: any;
5382
7208
  ui_schema: any;
5383
7209
  cancellable: boolean;
7210
+ translations: Array<{
7211
+ __typename?: 'pipeline_translations';
7212
+ locale: string;
7213
+ name?: string | null;
7214
+ }>;
5384
7215
  };
5385
7216
  workflow_execution?: {
5386
7217
  __typename?: 'executions_visibility';
@@ -5497,6 +7328,20 @@ export type SetRunShareMutation = {
5497
7328
  share_watermark: boolean;
5498
7329
  } | null;
5499
7330
  };
7331
+ export type GetDispatchBlocksQueryVariables = Exact<{
7332
+ [key: string]: never;
7333
+ }>;
7334
+ export type GetDispatchBlocksQuery = {
7335
+ __typename?: 'query_root';
7336
+ dispatch_blocks: Array<{
7337
+ __typename?: 'dispatch_blocks';
7338
+ id: any;
7339
+ pipeline_slug?: string | null;
7340
+ user_id?: any | null;
7341
+ reason: string;
7342
+ created_at: any;
7343
+ }>;
7344
+ };
5500
7345
  export type GetPlansQueryVariables = Exact<{
5501
7346
  [key: string]: never;
5502
7347
  }>;
@@ -5553,6 +7398,27 @@ export type GetCreditPacksQuery = {
5553
7398
  }>;
5554
7399
  }>;
5555
7400
  };
7401
+ export type GetLocalizedPricesQueryVariables = Exact<{
7402
+ country: Scalars['String']['input'];
7403
+ }>;
7404
+ export type GetLocalizedPricesQuery = {
7405
+ __typename?: 'query_root';
7406
+ localized_product_prices: Array<{
7407
+ __typename?: 'localized_product_prices';
7408
+ product_kind?: string | null;
7409
+ product_slug?: string | null;
7410
+ country?: string | null;
7411
+ currency?: string | null;
7412
+ usd_price_cents?: number | null;
7413
+ converted_price?: any | null;
7414
+ }>;
7415
+ countries: Array<{
7416
+ __typename?: 'countries';
7417
+ code: string;
7418
+ name: string;
7419
+ currency?: string | null;
7420
+ }>;
7421
+ };
5556
7422
  export type GetSubscriptionQueryVariables = Exact<{
5557
7423
  [key: string]: never;
5558
7424
  }>;
@@ -5567,6 +7433,7 @@ export type GetSubscriptionQuery = {
5567
7433
  period_start: any;
5568
7434
  period_end: any;
5569
7435
  cancel_at_period_end: boolean;
7436
+ metadata?: any | null;
5570
7437
  plan: {
5571
7438
  __typename?: 'plans';
5572
7439
  slug: string;
@@ -5584,6 +7451,53 @@ export type GetSubscriptionQuery = {
5584
7451
  };
5585
7452
  }>;
5586
7453
  };
7454
+ export type GetPendingSubscriptionPlanChangeQueryVariables = Exact<{
7455
+ [key: string]: never;
7456
+ }>;
7457
+ export type GetPendingSubscriptionPlanChangeQuery = {
7458
+ __typename?: 'query_root';
7459
+ subscription_plan_changes: Array<{
7460
+ __typename?: 'subscription_plan_changes';
7461
+ id: any;
7462
+ kind: string;
7463
+ status: string;
7464
+ effective_at: any;
7465
+ to_plan_version: {
7466
+ __typename?: 'plan_versions';
7467
+ id: any;
7468
+ plan: {
7469
+ __typename?: 'plans';
7470
+ slug: string;
7471
+ name: string;
7472
+ sort_order: number;
7473
+ };
7474
+ };
7475
+ }>;
7476
+ };
7477
+ export type ScheduleSubscriptionPlanChangeMutationVariables = Exact<{
7478
+ plan_slug: Scalars['String']['input'];
7479
+ }>;
7480
+ export type ScheduleSubscriptionPlanChangeMutation = {
7481
+ __typename?: 'mutation_root';
7482
+ schedule_subscription_plan_change: {
7483
+ __typename?: 'subscription_plan_change_output';
7484
+ success: boolean;
7485
+ change_id: any;
7486
+ status: string;
7487
+ effective_at: any;
7488
+ };
7489
+ };
7490
+ export type CancelSubscriptionPlanChangeMutationVariables = Exact<{
7491
+ [key: string]: never;
7492
+ }>;
7493
+ export type CancelSubscriptionPlanChangeMutation = {
7494
+ __typename?: 'mutation_root';
7495
+ cancel_subscription_plan_change: {
7496
+ __typename?: 'cancel_subscription_plan_change_output';
7497
+ success: boolean;
7498
+ cancelled: boolean;
7499
+ };
7500
+ };
5587
7501
  export type CreateCheckoutSessionMutationVariables = Exact<{
5588
7502
  whop_plan_id: Scalars['String']['input'];
5589
7503
  affiliate_code?: InputMaybe<Scalars['String']['input']>;
@@ -5596,6 +7510,47 @@ export type CreateCheckoutSessionMutation = {
5596
7510
  url: string;
5597
7511
  };
5598
7512
  };
7513
+ export type CreateSbpPaymentMutationVariables = Exact<{
7514
+ provider: Scalars['String']['input'];
7515
+ attempt_id: Scalars['uuid']['input'];
7516
+ credit_pack_slug?: InputMaybe<Scalars['String']['input']>;
7517
+ plan_slug?: InputMaybe<Scalars['String']['input']>;
7518
+ country?: InputMaybe<Scalars['String']['input']>;
7519
+ recurring_consent?: InputMaybe<Scalars['Boolean']['input']>;
7520
+ }>;
7521
+ export type CreateSbpPaymentMutation = {
7522
+ __typename?: 'mutation_root';
7523
+ create_sbp_payment: {
7524
+ __typename?: 'sbp_payment_output';
7525
+ success: boolean;
7526
+ payment_id: string;
7527
+ status: string;
7528
+ payment_uri: string;
7529
+ amount: string;
7530
+ currency: string;
7531
+ credits: number;
7532
+ expires_at: string;
7533
+ detail?: string | null;
7534
+ };
7535
+ };
7536
+ export type GetSbpPaymentQueryVariables = Exact<{
7537
+ id: Scalars['uuid']['input'];
7538
+ }>;
7539
+ export type GetSbpPaymentQuery = {
7540
+ __typename?: 'query_root';
7541
+ get_sbp_payment_status: {
7542
+ __typename?: 'sbp_payment_output';
7543
+ success: boolean;
7544
+ payment_id: string;
7545
+ status: string;
7546
+ payment_uri: string;
7547
+ amount: string;
7548
+ currency: string;
7549
+ credits: number;
7550
+ expires_at: string;
7551
+ detail?: string | null;
7552
+ };
7553
+ };
5599
7554
  export type WatchPipelineRunSubscriptionVariables = Exact<{
5600
7555
  run_id: Scalars['uuid']['input'];
5601
7556
  }>;
@@ -5662,6 +7617,16 @@ export type WatchNotificationsSubscription = {
5662
7617
  created_at: any;
5663
7618
  }>;
5664
7619
  };
7620
+ export type WatchBillingUpdatesSubscriptionVariables = Exact<{
7621
+ [key: string]: never;
7622
+ }>;
7623
+ export type WatchBillingUpdatesSubscription = {
7624
+ __typename?: 'subscription_root';
7625
+ users: Array<{
7626
+ __typename?: 'users';
7627
+ updated_at: any;
7628
+ }>;
7629
+ };
5665
7630
  export type GetMyApiKeysQueryVariables = Exact<{
5666
7631
  [key: string]: never;
5667
7632
  }>;
@@ -5745,6 +7710,8 @@ export declare const DeleteAssetActionDocument: DocumentNode;
5745
7710
  export declare const UpdateAssetTagsDocument: DocumentNode;
5746
7711
  export declare const LoginDocument: DocumentNode;
5747
7712
  export declare const RegisterDocument: DocumentNode;
7713
+ export declare const CreateAuthHandoffCodeDocument: DocumentNode;
7714
+ export declare const ExchangeAuthHandoffCodeDocument: DocumentNode;
5748
7715
  export declare const LogoutDocument: DocumentNode;
5749
7716
  export declare const InitVerificationFlowDocument: DocumentNode;
5750
7717
  export declare const SubmitVerificationCodeDocument: DocumentNode;
@@ -5752,12 +7719,19 @@ export declare const RequestPasswordResetDocument: DocumentNode;
5752
7719
  export declare const ResetPasswordDocument: DocumentNode;
5753
7720
  export declare const GetCreditBalanceDocument: DocumentNode;
5754
7721
  export declare const GetCreditHistoryDocument: DocumentNode;
7722
+ export declare const CreateCryptoPaymentDocument: DocumentNode;
7723
+ export declare const GetUserSubscriptionCreditsDocument: DocumentNode;
7724
+ export declare const GetCryptoPaymentCurrenciesDocument: DocumentNode;
7725
+ export declare const GetCryptoPaymentDocument: DocumentNode;
5755
7726
  export declare const ModelsDocument: DocumentNode;
5756
7727
  export declare const GetNotificationsDocument: DocumentNode;
5757
7728
  export declare const MarkNotificationReadDocument: DocumentNode;
5758
7729
  export declare const MarkAllNotificationsReadDocument: DocumentNode;
7730
+ export declare const GetCheckoutProvidersDocument: DocumentNode;
5759
7731
  export declare const GetPipelinesDocument: DocumentNode;
5760
7732
  export declare const GetPipelinesListDocument: DocumentNode;
7733
+ export declare const SearchPipelinesDocument: DocumentNode;
7734
+ export declare const GetPipelineBySlugDocument: DocumentNode;
5761
7735
  export declare const EstimatePipelineCostDocument: DocumentNode;
5762
7736
  export declare const PipelineModelsDocument: DocumentNode;
5763
7737
  export declare const PipelinePricingDocument: DocumentNode;
@@ -5768,13 +7742,21 @@ export declare const GetPipelineRunsDocument: DocumentNode;
5768
7742
  export declare const GetPipelineRunsBySlugDocument: DocumentNode;
5769
7743
  export declare const GetActivePipelineRunsDocument: DocumentNode;
5770
7744
  export declare const SetRunShareDocument: DocumentNode;
7745
+ export declare const GetDispatchBlocksDocument: DocumentNode;
5771
7746
  export declare const GetPlansDocument: DocumentNode;
5772
7747
  export declare const GetCreditPacksDocument: DocumentNode;
7748
+ export declare const GetLocalizedPricesDocument: DocumentNode;
5773
7749
  export declare const GetSubscriptionDocument: DocumentNode;
7750
+ export declare const GetPendingSubscriptionPlanChangeDocument: DocumentNode;
7751
+ export declare const ScheduleSubscriptionPlanChangeDocument: DocumentNode;
7752
+ export declare const CancelSubscriptionPlanChangeDocument: DocumentNode;
5774
7753
  export declare const CreateCheckoutSessionDocument: DocumentNode;
7754
+ export declare const CreateSbpPaymentDocument: DocumentNode;
7755
+ export declare const GetSbpPaymentDocument: DocumentNode;
5775
7756
  export declare const WatchPipelineRunDocument: DocumentNode;
5776
7757
  export declare const WatchActivePipelineRunsDocument: DocumentNode;
5777
7758
  export declare const WatchNotificationsDocument: DocumentNode;
7759
+ export declare const WatchBillingUpdatesDocument: DocumentNode;
5778
7760
  export declare const GetMyApiKeysDocument: DocumentNode;
5779
7761
  export declare const CreatePersonalAccessTokenDocument: DocumentNode;
5780
7762
  export declare const RevokePersonalAccessTokenDocument: DocumentNode;
@@ -5807,6 +7789,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
5807
7789
  UpdateAssetTags(variables: UpdateAssetTagsMutationVariables, options?: C): Promise<UpdateAssetTagsMutation>;
5808
7790
  Login(variables: LoginMutationVariables, options?: C): Promise<LoginMutation>;
5809
7791
  Register(variables: RegisterMutationVariables, options?: C): Promise<RegisterMutation>;
7792
+ CreateAuthHandoffCode(variables: CreateAuthHandoffCodeMutationVariables, options?: C): Promise<CreateAuthHandoffCodeMutation>;
7793
+ ExchangeAuthHandoffCode(variables: ExchangeAuthHandoffCodeMutationVariables, options?: C): Promise<ExchangeAuthHandoffCodeMutation>;
5810
7794
  Logout(variables?: LogoutMutationVariables, options?: C): Promise<LogoutMutation>;
5811
7795
  InitVerificationFlow(variables?: InitVerificationFlowMutationVariables, options?: C): Promise<InitVerificationFlowMutation>;
5812
7796
  SubmitVerificationCode(variables: SubmitVerificationCodeMutationVariables, options?: C): Promise<SubmitVerificationCodeMutation>;
@@ -5814,12 +7798,19 @@ export declare function getSdk<C>(requester: Requester<C>): {
5814
7798
  ResetPassword(variables: ResetPasswordMutationVariables, options?: C): Promise<ResetPasswordMutation>;
5815
7799
  GetCreditBalance(variables?: GetCreditBalanceQueryVariables, options?: C): Promise<GetCreditBalanceQuery>;
5816
7800
  GetCreditHistory(variables?: GetCreditHistoryQueryVariables, options?: C): Promise<GetCreditHistoryQuery>;
7801
+ CreateCryptoPayment(variables: CreateCryptoPaymentMutationVariables, options?: C): Promise<CreateCryptoPaymentMutation>;
7802
+ GetUserSubscriptionCredits(variables?: GetUserSubscriptionCreditsQueryVariables, options?: C): Promise<GetUserSubscriptionCreditsQuery>;
7803
+ GetCryptoPaymentCurrencies(variables: GetCryptoPaymentCurrenciesQueryVariables, options?: C): Promise<GetCryptoPaymentCurrenciesQuery>;
7804
+ GetCryptoPayment(variables: GetCryptoPaymentQueryVariables, options?: C): Promise<GetCryptoPaymentQuery>;
5817
7805
  Models(variables?: ModelsQueryVariables, options?: C): Promise<ModelsQuery>;
5818
7806
  GetNotifications(variables: GetNotificationsQueryVariables, options?: C): Promise<GetNotificationsQuery>;
5819
7807
  MarkNotificationRead(variables: MarkNotificationReadMutationVariables, options?: C): Promise<MarkNotificationReadMutation>;
5820
7808
  MarkAllNotificationsRead(variables?: MarkAllNotificationsReadMutationVariables, options?: C): Promise<MarkAllNotificationsReadMutation>;
7809
+ GetCheckoutProviders(variables: GetCheckoutProvidersQueryVariables, options?: C): Promise<GetCheckoutProvidersQuery>;
5821
7810
  GetPipelines(variables?: GetPipelinesQueryVariables, options?: C): Promise<GetPipelinesQuery>;
5822
7811
  GetPipelinesList(variables?: GetPipelinesListQueryVariables, options?: C): Promise<GetPipelinesListQuery>;
7812
+ SearchPipelines(variables?: SearchPipelinesQueryVariables, options?: C): Promise<SearchPipelinesQuery>;
7813
+ GetPipelineBySlug(variables: GetPipelineBySlugQueryVariables, options?: C): Promise<GetPipelineBySlugQuery>;
5823
7814
  EstimatePipelineCost(variables: EstimatePipelineCostQueryVariables, options?: C): Promise<EstimatePipelineCostQuery>;
5824
7815
  PipelineModels(variables: PipelineModelsQueryVariables, options?: C): Promise<PipelineModelsQuery>;
5825
7816
  PipelinePricing(variables?: PipelinePricingQueryVariables, options?: C): Promise<PipelinePricingQuery>;
@@ -5830,13 +7821,21 @@ export declare function getSdk<C>(requester: Requester<C>): {
5830
7821
  GetPipelineRunsBySlug(variables: GetPipelineRunsBySlugQueryVariables, options?: C): Promise<GetPipelineRunsBySlugQuery>;
5831
7822
  GetActivePipelineRuns(variables?: GetActivePipelineRunsQueryVariables, options?: C): Promise<GetActivePipelineRunsQuery>;
5832
7823
  SetRunShare(variables: SetRunShareMutationVariables, options?: C): Promise<SetRunShareMutation>;
7824
+ GetDispatchBlocks(variables?: GetDispatchBlocksQueryVariables, options?: C): Promise<GetDispatchBlocksQuery>;
5833
7825
  GetPlans(variables?: GetPlansQueryVariables, options?: C): Promise<GetPlansQuery>;
5834
7826
  GetCreditPacks(variables?: GetCreditPacksQueryVariables, options?: C): Promise<GetCreditPacksQuery>;
7827
+ GetLocalizedPrices(variables: GetLocalizedPricesQueryVariables, options?: C): Promise<GetLocalizedPricesQuery>;
5835
7828
  GetSubscription(variables?: GetSubscriptionQueryVariables, options?: C): Promise<GetSubscriptionQuery>;
7829
+ GetPendingSubscriptionPlanChange(variables?: GetPendingSubscriptionPlanChangeQueryVariables, options?: C): Promise<GetPendingSubscriptionPlanChangeQuery>;
7830
+ ScheduleSubscriptionPlanChange(variables: ScheduleSubscriptionPlanChangeMutationVariables, options?: C): Promise<ScheduleSubscriptionPlanChangeMutation>;
7831
+ CancelSubscriptionPlanChange(variables?: CancelSubscriptionPlanChangeMutationVariables, options?: C): Promise<CancelSubscriptionPlanChangeMutation>;
5836
7832
  CreateCheckoutSession(variables: CreateCheckoutSessionMutationVariables, options?: C): Promise<CreateCheckoutSessionMutation>;
7833
+ CreateSBPPayment(variables: CreateSbpPaymentMutationVariables, options?: C): Promise<CreateSbpPaymentMutation>;
7834
+ GetSBPPayment(variables: GetSbpPaymentQueryVariables, options?: C): Promise<GetSbpPaymentQuery>;
5837
7835
  WatchPipelineRun(variables: WatchPipelineRunSubscriptionVariables, options?: C): AsyncIterable<WatchPipelineRunSubscription>;
5838
7836
  WatchActivePipelineRuns(variables?: WatchActivePipelineRunsSubscriptionVariables, options?: C): AsyncIterable<WatchActivePipelineRunsSubscription>;
5839
7837
  WatchNotifications(variables: WatchNotificationsSubscriptionVariables, options?: C): AsyncIterable<WatchNotificationsSubscription>;
7838
+ WatchBillingUpdates(variables?: WatchBillingUpdatesSubscriptionVariables, options?: C): AsyncIterable<WatchBillingUpdatesSubscription>;
5840
7839
  GetMyApiKeys(variables?: GetMyApiKeysQueryVariables, options?: C): Promise<GetMyApiKeysQuery>;
5841
7840
  CreatePersonalAccessToken(variables: CreatePersonalAccessTokenMutationVariables, options?: C): Promise<CreatePersonalAccessTokenMutation>;
5842
7841
  RevokePersonalAccessToken(variables: RevokePersonalAccessTokenMutationVariables, options?: C): Promise<RevokePersonalAccessTokenMutation>;