@pipe2-ai/sdk 2026.8.0 → 2026.9.1

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.
@@ -58,6 +58,10 @@ export type Scalars = {
58
58
  input: any;
59
59
  output: any;
60
60
  };
61
+ smallint: {
62
+ input: any;
63
+ output: any;
64
+ };
61
65
  timestamp: {
62
66
  input: any;
63
67
  output: any;
@@ -330,6 +334,134 @@ export type Affiliates_Stream_Cursor_Value_Input = {
330
334
  is_active?: InputMaybe<Scalars['Boolean']['input']>;
331
335
  whop_affiliate_id?: InputMaybe<Scalars['String']['input']>;
332
336
  };
337
+ /** columns and relationships of "asset_imports" */
338
+ export type Asset_Imports = {
339
+ __typename?: 'asset_imports';
340
+ /** An object relationship */
341
+ asset?: Maybe<Assets>;
342
+ asset_id?: Maybe<Scalars['uuid']['output']>;
343
+ bytes: Scalars['bigint']['output'];
344
+ code?: Maybe<Scalars['String']['output']>;
345
+ dismissed_at?: Maybe<Scalars['timestamptz']['output']>;
346
+ error?: Maybe<Scalars['String']['output']>;
347
+ finished_at?: Maybe<Scalars['timestamptz']['output']>;
348
+ id: Scalars['uuid']['output'];
349
+ phase: Scalars['String']['output'];
350
+ source_url: Scalars['String']['output'];
351
+ started_at: Scalars['timestamptz']['output'];
352
+ status: Scalars['String']['output'];
353
+ total_bytes: Scalars['bigint']['output'];
354
+ /** An object relationship */
355
+ user: Users;
356
+ };
357
+ /** Boolean expression to filter rows from the table "asset_imports". All fields are combined with a logical 'AND'. */
358
+ export type Asset_Imports_Bool_Exp = {
359
+ _and?: InputMaybe<Array<Asset_Imports_Bool_Exp>>;
360
+ _not?: InputMaybe<Asset_Imports_Bool_Exp>;
361
+ _or?: InputMaybe<Array<Asset_Imports_Bool_Exp>>;
362
+ asset?: InputMaybe<Assets_Bool_Exp>;
363
+ asset_id?: InputMaybe<Uuid_Comparison_Exp>;
364
+ bytes?: InputMaybe<Bigint_Comparison_Exp>;
365
+ code?: InputMaybe<String_Comparison_Exp>;
366
+ dismissed_at?: InputMaybe<Timestamptz_Comparison_Exp>;
367
+ error?: InputMaybe<String_Comparison_Exp>;
368
+ finished_at?: InputMaybe<Timestamptz_Comparison_Exp>;
369
+ id?: InputMaybe<Uuid_Comparison_Exp>;
370
+ phase?: InputMaybe<String_Comparison_Exp>;
371
+ source_url?: InputMaybe<String_Comparison_Exp>;
372
+ started_at?: InputMaybe<Timestamptz_Comparison_Exp>;
373
+ status?: InputMaybe<String_Comparison_Exp>;
374
+ total_bytes?: InputMaybe<Bigint_Comparison_Exp>;
375
+ user?: InputMaybe<Users_Bool_Exp>;
376
+ };
377
+ /** response of any mutation on the table "asset_imports" */
378
+ export type Asset_Imports_Mutation_Response = {
379
+ __typename?: 'asset_imports_mutation_response';
380
+ /** number of rows affected by the mutation */
381
+ affected_rows: Scalars['Int']['output'];
382
+ /** data from the rows affected by the mutation */
383
+ returning: Array<Asset_Imports>;
384
+ };
385
+ /** Ordering options when selecting data from "asset_imports". */
386
+ export type Asset_Imports_Order_By = {
387
+ asset?: InputMaybe<Assets_Order_By>;
388
+ asset_id?: InputMaybe<Order_By>;
389
+ bytes?: InputMaybe<Order_By>;
390
+ code?: InputMaybe<Order_By>;
391
+ dismissed_at?: InputMaybe<Order_By>;
392
+ error?: InputMaybe<Order_By>;
393
+ finished_at?: InputMaybe<Order_By>;
394
+ id?: InputMaybe<Order_By>;
395
+ phase?: InputMaybe<Order_By>;
396
+ source_url?: InputMaybe<Order_By>;
397
+ started_at?: InputMaybe<Order_By>;
398
+ status?: InputMaybe<Order_By>;
399
+ total_bytes?: InputMaybe<Order_By>;
400
+ user?: InputMaybe<Users_Order_By>;
401
+ };
402
+ /** primary key columns input for table: asset_imports */
403
+ export type Asset_Imports_Pk_Columns_Input = {
404
+ id: Scalars['uuid']['input'];
405
+ };
406
+ /** select columns of table "asset_imports" */
407
+ export declare enum Asset_Imports_Select_Column {
408
+ /** column name */
409
+ AssetId = "asset_id",
410
+ /** column name */
411
+ Bytes = "bytes",
412
+ /** column name */
413
+ Code = "code",
414
+ /** column name */
415
+ DismissedAt = "dismissed_at",
416
+ /** column name */
417
+ Error = "error",
418
+ /** column name */
419
+ FinishedAt = "finished_at",
420
+ /** column name */
421
+ Id = "id",
422
+ /** column name */
423
+ Phase = "phase",
424
+ /** column name */
425
+ SourceUrl = "source_url",
426
+ /** column name */
427
+ StartedAt = "started_at",
428
+ /** column name */
429
+ Status = "status",
430
+ /** column name */
431
+ TotalBytes = "total_bytes"
432
+ }
433
+ /** input type for updating data in table "asset_imports" */
434
+ export type Asset_Imports_Set_Input = {
435
+ dismissed_at?: InputMaybe<Scalars['timestamptz']['input']>;
436
+ };
437
+ /** Streaming cursor of the table "asset_imports" */
438
+ export type Asset_Imports_Stream_Cursor_Input = {
439
+ /** Stream column input with initial value */
440
+ initial_value: Asset_Imports_Stream_Cursor_Value_Input;
441
+ /** cursor ordering */
442
+ ordering?: InputMaybe<Cursor_Ordering>;
443
+ };
444
+ /** Initial value of the column from where the streaming should start */
445
+ export type Asset_Imports_Stream_Cursor_Value_Input = {
446
+ asset_id?: InputMaybe<Scalars['uuid']['input']>;
447
+ bytes?: InputMaybe<Scalars['bigint']['input']>;
448
+ code?: InputMaybe<Scalars['String']['input']>;
449
+ dismissed_at?: InputMaybe<Scalars['timestamptz']['input']>;
450
+ error?: InputMaybe<Scalars['String']['input']>;
451
+ finished_at?: InputMaybe<Scalars['timestamptz']['input']>;
452
+ id?: InputMaybe<Scalars['uuid']['input']>;
453
+ phase?: InputMaybe<Scalars['String']['input']>;
454
+ source_url?: InputMaybe<Scalars['String']['input']>;
455
+ started_at?: InputMaybe<Scalars['timestamptz']['input']>;
456
+ status?: InputMaybe<Scalars['String']['input']>;
457
+ total_bytes?: InputMaybe<Scalars['bigint']['input']>;
458
+ };
459
+ export type Asset_Imports_Updates = {
460
+ /** sets the columns of the filtered rows to the given values */
461
+ _set?: InputMaybe<Asset_Imports_Set_Input>;
462
+ /** filter the rows which have to be updated */
463
+ where: Asset_Imports_Bool_Exp;
464
+ };
333
465
  /** columns and relationships of "assets" */
334
466
  export type Assets = {
335
467
  __typename?: 'assets';
@@ -671,38 +803,6 @@ export type Bigint_Comparison_Exp = {
671
803
  _neq?: InputMaybe<Scalars['bigint']['input']>;
672
804
  _nin?: InputMaybe<Array<Scalars['bigint']['input']>>;
673
805
  };
674
- /** Boolean expression to compare columns of type "bpchar". All fields are combined with logical 'AND'. */
675
- export type Bpchar_Comparison_Exp = {
676
- _eq?: InputMaybe<Scalars['bpchar']['input']>;
677
- _gt?: InputMaybe<Scalars['bpchar']['input']>;
678
- _gte?: InputMaybe<Scalars['bpchar']['input']>;
679
- /** does the column match the given case-insensitive pattern */
680
- _ilike?: InputMaybe<Scalars['bpchar']['input']>;
681
- _in?: InputMaybe<Array<Scalars['bpchar']['input']>>;
682
- /** does the column match the given POSIX regular expression, case insensitive */
683
- _iregex?: InputMaybe<Scalars['bpchar']['input']>;
684
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
685
- /** does the column match the given pattern */
686
- _like?: InputMaybe<Scalars['bpchar']['input']>;
687
- _lt?: InputMaybe<Scalars['bpchar']['input']>;
688
- _lte?: InputMaybe<Scalars['bpchar']['input']>;
689
- _neq?: InputMaybe<Scalars['bpchar']['input']>;
690
- /** does the column NOT match the given case-insensitive pattern */
691
- _nilike?: InputMaybe<Scalars['bpchar']['input']>;
692
- _nin?: InputMaybe<Array<Scalars['bpchar']['input']>>;
693
- /** does the column NOT match the given POSIX regular expression, case insensitive */
694
- _niregex?: InputMaybe<Scalars['bpchar']['input']>;
695
- /** does the column NOT match the given pattern */
696
- _nlike?: InputMaybe<Scalars['bpchar']['input']>;
697
- /** does the column NOT match the given POSIX regular expression, case sensitive */
698
- _nregex?: InputMaybe<Scalars['bpchar']['input']>;
699
- /** does the column NOT match the given SQL regular expression */
700
- _nsimilar?: InputMaybe<Scalars['bpchar']['input']>;
701
- /** does the column match the given POSIX regular expression, case sensitive */
702
- _regex?: InputMaybe<Scalars['bpchar']['input']>;
703
- /** does the column match the given SQL regular expression */
704
- _similar?: InputMaybe<Scalars['bpchar']['input']>;
705
- };
706
806
  export type Cancel_Account_Deletion_Output = {
707
807
  __typename?: 'cancel_account_deletion_output';
708
808
  message: Scalars['String']['output'];
@@ -805,36 +905,6 @@ export type Create_Auth_Handoff_Code_Output = {
805
905
  code: Scalars['String']['output'];
806
906
  expires_at: Scalars['String']['output'];
807
907
  };
808
- export type Create_Checkout_Session_Output = {
809
- __typename?: 'create_checkout_session_output';
810
- success: Scalars['Boolean']['output'];
811
- url: Scalars['String']['output'];
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
- };
838
908
  export type Create_Personal_Access_Token_Output = {
839
909
  __typename?: 'create_personal_access_token_output';
840
910
  expires_at: Scalars['String']['output'];
@@ -1321,149 +1391,6 @@ export type Crypto_Payment_Currencies_Stream_Cursor_Value_Input = {
1321
1391
  provider?: InputMaybe<Scalars['String']['input']>;
1322
1392
  sort_order?: InputMaybe<Scalars['Int']['input']>;
1323
1393
  };
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
- };
1467
1394
  export type Current_User_Output = {
1468
1395
  __typename?: 'current_user_output';
1469
1396
  avatar_url?: Maybe<Scalars['String']['output']>;
@@ -1586,63 +1513,6 @@ export type Executions_Visibility = {
1586
1513
  workflow_id: Scalars['String']['output'];
1587
1514
  workflow_type_name: Scalars['String']['output'];
1588
1515
  };
1589
- /** Boolean expression to filter rows from the table "executions_visibility". All fields are combined with a logical 'AND'. */
1590
- export type Executions_Visibility_Bool_Exp = {
1591
- _and?: InputMaybe<Array<Executions_Visibility_Bool_Exp>>;
1592
- _not?: InputMaybe<Executions_Visibility_Bool_Exp>;
1593
- _or?: InputMaybe<Array<Executions_Visibility_Bool_Exp>>;
1594
- close_time?: InputMaybe<Timestamp_Comparison_Exp>;
1595
- run_id?: InputMaybe<Bpchar_Comparison_Exp>;
1596
- start_time?: InputMaybe<Timestamp_Comparison_Exp>;
1597
- status?: InputMaybe<Int_Comparison_Exp>;
1598
- task_queue?: InputMaybe<String_Comparison_Exp>;
1599
- workflow_id?: InputMaybe<String_Comparison_Exp>;
1600
- workflow_type_name?: InputMaybe<String_Comparison_Exp>;
1601
- };
1602
- /** Ordering options when selecting data from "executions_visibility". */
1603
- export type Executions_Visibility_Order_By = {
1604
- close_time?: InputMaybe<Order_By>;
1605
- run_id?: InputMaybe<Order_By>;
1606
- start_time?: InputMaybe<Order_By>;
1607
- status?: InputMaybe<Order_By>;
1608
- task_queue?: InputMaybe<Order_By>;
1609
- workflow_id?: InputMaybe<Order_By>;
1610
- workflow_type_name?: InputMaybe<Order_By>;
1611
- };
1612
- /** select columns of table "executions_visibility" */
1613
- export declare enum Executions_Visibility_Select_Column {
1614
- /** column name */
1615
- CloseTime = "close_time",
1616
- /** column name */
1617
- RunId = "run_id",
1618
- /** column name */
1619
- StartTime = "start_time",
1620
- /** column name */
1621
- Status = "status",
1622
- /** column name */
1623
- TaskQueue = "task_queue",
1624
- /** column name */
1625
- WorkflowId = "workflow_id",
1626
- /** column name */
1627
- WorkflowTypeName = "workflow_type_name"
1628
- }
1629
- /** Streaming cursor of the table "executions_visibility" */
1630
- export type Executions_Visibility_Stream_Cursor_Input = {
1631
- /** Stream column input with initial value */
1632
- initial_value: Executions_Visibility_Stream_Cursor_Value_Input;
1633
- /** cursor ordering */
1634
- ordering?: InputMaybe<Cursor_Ordering>;
1635
- };
1636
- /** Initial value of the column from where the streaming should start */
1637
- export type Executions_Visibility_Stream_Cursor_Value_Input = {
1638
- close_time?: InputMaybe<Scalars['timestamp']['input']>;
1639
- run_id?: InputMaybe<Scalars['bpchar']['input']>;
1640
- start_time?: InputMaybe<Scalars['timestamp']['input']>;
1641
- status?: InputMaybe<Scalars['Int']['input']>;
1642
- task_queue?: InputMaybe<Scalars['String']['input']>;
1643
- workflow_id?: InputMaybe<Scalars['String']['input']>;
1644
- workflow_type_name?: InputMaybe<Scalars['String']['input']>;
1645
- };
1646
1516
  /** Daily USD reference rates used to calculate localized product prices. */
1647
1517
  export type Fx_Rates = {
1648
1518
  __typename?: 'fx_rates';
@@ -1694,6 +1564,11 @@ export type Get_My_Referrals_Output = {
1694
1564
  total_commission_cents: Scalars['Int']['output'];
1695
1565
  total_referrals: Scalars['Int']['output'];
1696
1566
  };
1567
+ export type Import_Media_Output = {
1568
+ __typename?: 'import_media_output';
1569
+ import_id: Scalars['String']['output'];
1570
+ status: Scalars['String']['output'];
1571
+ };
1697
1572
  export type Jsonb_Cast_Exp = {
1698
1573
  String?: InputMaybe<String_Comparison_Exp>;
1699
1574
  };
@@ -1990,15 +1865,20 @@ export type Models = {
1990
1865
  capabilities: Array<Model_Capabilities>;
1991
1866
  description: Scalars['String']['output'];
1992
1867
  featured: Scalars['Boolean']['output'];
1868
+ icon_url?: Maybe<Scalars['String']['output']>;
1993
1869
  is_active: Scalars['Boolean']['output'];
1994
1870
  label: Scalars['String']['output'];
1995
1871
  long_description?: Maybe<Scalars['String']['output']>;
1872
+ max_input_images?: Maybe<Scalars['Int']['output']>;
1996
1873
  /** An array relationship */
1997
1874
  pipeline_models: Array<Pipeline_Models>;
1875
+ poster_url?: Maybe<Scalars['String']['output']>;
1998
1876
  provider: Scalars['String']['output'];
1999
1877
  /** An object relationship */
2000
1878
  provider_info: Providers;
2001
1879
  public_name?: Maybe<Scalars['String']['output']>;
1880
+ /** Pipe2 editorial output-quality score. NULL means not yet assessed. */
1881
+ quality_score?: Maybe<Scalars['smallint']['output']>;
2002
1882
  slug: Scalars['String']['output'];
2003
1883
  sort_order: Scalars['Int']['output'];
2004
1884
  /** An array relationship */
@@ -2037,13 +1917,17 @@ export type Models_Bool_Exp = {
2037
1917
  capabilities?: InputMaybe<Model_Capabilities_Bool_Exp>;
2038
1918
  description?: InputMaybe<String_Comparison_Exp>;
2039
1919
  featured?: InputMaybe<Boolean_Comparison_Exp>;
1920
+ icon_url?: InputMaybe<String_Comparison_Exp>;
2040
1921
  is_active?: InputMaybe<Boolean_Comparison_Exp>;
2041
1922
  label?: InputMaybe<String_Comparison_Exp>;
2042
1923
  long_description?: InputMaybe<String_Comparison_Exp>;
1924
+ max_input_images?: InputMaybe<Int_Comparison_Exp>;
2043
1925
  pipeline_models?: InputMaybe<Pipeline_Models_Bool_Exp>;
1926
+ poster_url?: InputMaybe<String_Comparison_Exp>;
2044
1927
  provider?: InputMaybe<String_Comparison_Exp>;
2045
1928
  provider_info?: InputMaybe<Providers_Bool_Exp>;
2046
1929
  public_name?: InputMaybe<String_Comparison_Exp>;
1930
+ quality_score?: InputMaybe<Smallint_Comparison_Exp>;
2047
1931
  slug?: InputMaybe<String_Comparison_Exp>;
2048
1932
  sort_order?: InputMaybe<Int_Comparison_Exp>;
2049
1933
  translations?: InputMaybe<Model_Translations_Bool_Exp>;
@@ -2054,13 +1938,17 @@ export type Models_Order_By = {
2054
1938
  capabilities_aggregate?: InputMaybe<Model_Capabilities_Aggregate_Order_By>;
2055
1939
  description?: InputMaybe<Order_By>;
2056
1940
  featured?: InputMaybe<Order_By>;
1941
+ icon_url?: InputMaybe<Order_By>;
2057
1942
  is_active?: InputMaybe<Order_By>;
2058
1943
  label?: InputMaybe<Order_By>;
2059
1944
  long_description?: InputMaybe<Order_By>;
1945
+ max_input_images?: InputMaybe<Order_By>;
2060
1946
  pipeline_models_aggregate?: InputMaybe<Pipeline_Models_Aggregate_Order_By>;
1947
+ poster_url?: InputMaybe<Order_By>;
2061
1948
  provider?: InputMaybe<Order_By>;
2062
1949
  provider_info?: InputMaybe<Providers_Order_By>;
2063
1950
  public_name?: InputMaybe<Order_By>;
1951
+ quality_score?: InputMaybe<Order_By>;
2064
1952
  slug?: InputMaybe<Order_By>;
2065
1953
  sort_order?: InputMaybe<Order_By>;
2066
1954
  translations_aggregate?: InputMaybe<Model_Translations_Aggregate_Order_By>;
@@ -2074,16 +1962,24 @@ export declare enum Models_Select_Column {
2074
1962
  /** column name */
2075
1963
  Featured = "featured",
2076
1964
  /** column name */
1965
+ IconUrl = "icon_url",
1966
+ /** column name */
2077
1967
  IsActive = "is_active",
2078
1968
  /** column name */
2079
1969
  Label = "label",
2080
1970
  /** column name */
2081
1971
  LongDescription = "long_description",
2082
1972
  /** column name */
1973
+ MaxInputImages = "max_input_images",
1974
+ /** column name */
1975
+ PosterUrl = "poster_url",
1976
+ /** column name */
2083
1977
  Provider = "provider",
2084
1978
  /** column name */
2085
1979
  PublicName = "public_name",
2086
1980
  /** column name */
1981
+ QualityScore = "quality_score",
1982
+ /** column name */
2087
1983
  Slug = "slug",
2088
1984
  /** column name */
2089
1985
  SortOrder = "sort_order"
@@ -2100,11 +1996,16 @@ export type Models_Stream_Cursor_Value_Input = {
2100
1996
  aliases?: InputMaybe<Array<Scalars['String']['input']>>;
2101
1997
  description?: InputMaybe<Scalars['String']['input']>;
2102
1998
  featured?: InputMaybe<Scalars['Boolean']['input']>;
1999
+ icon_url?: InputMaybe<Scalars['String']['input']>;
2103
2000
  is_active?: InputMaybe<Scalars['Boolean']['input']>;
2104
2001
  label?: InputMaybe<Scalars['String']['input']>;
2105
2002
  long_description?: InputMaybe<Scalars['String']['input']>;
2003
+ max_input_images?: InputMaybe<Scalars['Int']['input']>;
2004
+ poster_url?: InputMaybe<Scalars['String']['input']>;
2106
2005
  provider?: InputMaybe<Scalars['String']['input']>;
2107
2006
  public_name?: InputMaybe<Scalars['String']['input']>;
2007
+ /** Pipe2 editorial output-quality score. NULL means not yet assessed. */
2008
+ quality_score?: InputMaybe<Scalars['smallint']['input']>;
2108
2009
  slug?: InputMaybe<Scalars['String']['input']>;
2109
2010
  sort_order?: InputMaybe<Scalars['Int']['input']>;
2110
2011
  };
@@ -2126,6 +2027,8 @@ export type Mutation_Root = {
2126
2027
  add_affiliate_code: Add_Affiliate_Code_Output;
2127
2028
  /** Cancel a scheduled account deletion during the grace period. */
2128
2029
  cancel_account_deletion: Cancel_Account_Deletion_Output;
2030
+ /** Stop a running background import */
2031
+ cancel_media_import: Import_Media_Output;
2129
2032
  /** Cancel a running pipeline and refund credits */
2130
2033
  cancel_pipeline_run?: Maybe<Cancel_Pipeline_Run_Output>;
2131
2034
  /** Cancel your subscription at the end of the current billing period */
@@ -2146,14 +2049,10 @@ export type Mutation_Root = {
2146
2049
  create_asset: Create_Asset_Output;
2147
2050
  /** Create a short-lived, PKCE-bound authentication handoff code */
2148
2051
  create_auth_handoff_code: Create_Auth_Handoff_Code_Output;
2149
- /** Create a Whop checkout session with the buyer's user_id baked into metadata */
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;
2052
+ /** Create a payment through the selected provider */
2053
+ create_payment: Payment_Output;
2153
2054
  /** Create a personal access token for API and MCP access */
2154
2055
  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;
2157
2056
  /** Delete an asset */
2158
2057
  delete_asset: Delete_Asset_Output;
2159
2058
  /** delete data from the table: "notifications" */
@@ -2164,6 +2063,8 @@ export type Mutation_Root = {
2164
2063
  ensure_affiliate: Ensure_Affiliate_Output;
2165
2064
  /** Exchange a one-time authentication handoff code */
2166
2065
  exchange_auth_handoff_code: Exchange_Auth_Handoff_Code_Output;
2066
+ /** Start a background import of a remote link */
2067
+ import_media_url: Import_Media_Output;
2167
2068
  /** Begin email verification */
2168
2069
  init_verification_flow: Auth_Flow;
2169
2070
  /** Sign in with email and password */
@@ -2198,6 +2099,12 @@ export type Mutation_Root = {
2198
2099
  update_affiliate_codes_by_pk?: Maybe<Affiliate_Codes>;
2199
2100
  /** update multiples rows of table: "affiliate_codes" */
2200
2101
  update_affiliate_codes_many?: Maybe<Array<Maybe<Affiliate_Codes_Mutation_Response>>>;
2102
+ /** update data of the table: "asset_imports" */
2103
+ update_asset_imports?: Maybe<Asset_Imports_Mutation_Response>;
2104
+ /** update single row of the table: "asset_imports" */
2105
+ update_asset_imports_by_pk?: Maybe<Asset_Imports>;
2106
+ /** update multiples rows of table: "asset_imports" */
2107
+ update_asset_imports_many?: Maybe<Array<Maybe<Asset_Imports_Mutation_Response>>>;
2201
2108
  /** update data of the table: "assets" */
2202
2109
  update_assets?: Maybe<Assets_Mutation_Response>;
2203
2110
  /** update single row of the table: "assets" */
@@ -2228,6 +2135,10 @@ export type Mutation_RootAdd_Affiliate_CodeArgs = {
2228
2135
  redirect_path?: InputMaybe<Scalars['String']['input']>;
2229
2136
  };
2230
2137
  /** mutation root */
2138
+ export type Mutation_RootCancel_Media_ImportArgs = {
2139
+ import_id: Scalars['String']['input'];
2140
+ };
2141
+ /** mutation root */
2231
2142
  export type Mutation_RootCancel_Pipeline_RunArgs = {
2232
2143
  run_id: Scalars['String']['input'];
2233
2144
  };
@@ -2267,31 +2178,22 @@ export type Mutation_RootCreate_Auth_Handoff_CodeArgs = {
2267
2178
  redirect_uri: Scalars['String']['input'];
2268
2179
  };
2269
2180
  /** mutation root */
2270
- export type Mutation_RootCreate_Checkout_SessionArgs = {
2271
- affiliate_code?: InputMaybe<Scalars['String']['input']>;
2272
- whop_plan_id: Scalars['String']['input'];
2273
- };
2274
- /** mutation root */
2275
- export type Mutation_RootCreate_Crypto_PaymentArgs = {
2276
- attempt_id?: InputMaybe<Scalars['uuid']['input']>;
2181
+ export type Mutation_RootCreate_PaymentArgs = {
2182
+ attempt_id: Scalars['uuid']['input'];
2277
2183
  country?: InputMaybe<Scalars['String']['input']>;
2278
2184
  credit_pack_slug?: InputMaybe<Scalars['String']['input']>;
2279
- currency_id: Scalars['String']['input'];
2185
+ currency_id?: InputMaybe<Scalars['String']['input']>;
2280
2186
  plan_slug?: InputMaybe<Scalars['String']['input']>;
2281
- provider?: InputMaybe<Scalars['String']['input']>;
2187
+ provider: Scalars['String']['input'];
2188
+ recurring_consent?: InputMaybe<Scalars['Boolean']['input']>;
2282
2189
  };
2283
2190
  /** mutation root */
2284
2191
  export type Mutation_RootCreate_Personal_Access_TokenArgs = {
2192
+ credit_limit?: InputMaybe<Scalars['Int']['input']>;
2193
+ expires_in_days?: InputMaybe<Scalars['Int']['input']>;
2285
2194
  name: Scalars['String']['input'];
2286
- };
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']>;
2195
+ reset_period?: InputMaybe<Scalars['String']['input']>;
2196
+ scopes?: InputMaybe<Array<Scalars['String']['input']>>;
2295
2197
  };
2296
2198
  /** mutation root */
2297
2199
  export type Mutation_RootDelete_AssetArgs = {
@@ -2312,6 +2214,11 @@ export type Mutation_RootExchange_Auth_Handoff_CodeArgs = {
2312
2214
  redirect_uri: Scalars['String']['input'];
2313
2215
  };
2314
2216
  /** mutation root */
2217
+ export type Mutation_RootImport_Media_UrlArgs = {
2218
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
2219
+ url: Scalars['String']['input'];
2220
+ };
2221
+ /** mutation root */
2315
2222
  export type Mutation_RootInit_Verification_FlowArgs = {
2316
2223
  email?: InputMaybe<Scalars['String']['input']>;
2317
2224
  force?: InputMaybe<Scalars['Boolean']['input']>;
@@ -2390,6 +2297,20 @@ export type Mutation_RootUpdate_Affiliate_Codes_ManyArgs = {
2390
2297
  updates: Array<Affiliate_Codes_Updates>;
2391
2298
  };
2392
2299
  /** mutation root */
2300
+ export type Mutation_RootUpdate_Asset_ImportsArgs = {
2301
+ _set?: InputMaybe<Asset_Imports_Set_Input>;
2302
+ where: Asset_Imports_Bool_Exp;
2303
+ };
2304
+ /** mutation root */
2305
+ export type Mutation_RootUpdate_Asset_Imports_By_PkArgs = {
2306
+ _set?: InputMaybe<Asset_Imports_Set_Input>;
2307
+ pk_columns: Asset_Imports_Pk_Columns_Input;
2308
+ };
2309
+ /** mutation root */
2310
+ export type Mutation_RootUpdate_Asset_Imports_ManyArgs = {
2311
+ updates: Array<Asset_Imports_Updates>;
2312
+ };
2313
+ /** mutation root */
2393
2314
  export type Mutation_RootUpdate_AssetsArgs = {
2394
2315
  _set?: InputMaybe<Assets_Set_Input>;
2395
2316
  where: Assets_Bool_Exp;
@@ -2588,6 +2509,35 @@ export declare enum Order_By {
2588
2509
  /** in descending order, nulls last */
2589
2510
  DescNullsLast = "desc_nulls_last"
2590
2511
  }
2512
+ export type Payment_Output = {
2513
+ __typename?: 'payment_output';
2514
+ amount: Scalars['String']['output'];
2515
+ amount_paid_usdt?: Maybe<Scalars['Float']['output']>;
2516
+ asset?: Maybe<Scalars['String']['output']>;
2517
+ confirmations?: Maybe<Scalars['Int']['output']>;
2518
+ created_at?: Maybe<Scalars['String']['output']>;
2519
+ credits: Scalars['Float']['output'];
2520
+ currency?: Maybe<Scalars['String']['output']>;
2521
+ currency_id?: Maybe<Scalars['String']['output']>;
2522
+ deposit_address?: Maybe<Scalars['String']['output']>;
2523
+ detail?: Maybe<Scalars['String']['output']>;
2524
+ expected_usdt?: Maybe<Scalars['Float']['output']>;
2525
+ expires_at: Scalars['String']['output'];
2526
+ granted_at?: Maybe<Scalars['String']['output']>;
2527
+ kind?: Maybe<Scalars['String']['output']>;
2528
+ network?: Maybe<Scalars['String']['output']>;
2529
+ payment_id: Scalars['String']['output'];
2530
+ payment_uri?: Maybe<Scalars['String']['output']>;
2531
+ provider: Scalars['String']['output'];
2532
+ qr_code_data_url?: Maybe<Scalars['String']['output']>;
2533
+ remaining_amount?: Maybe<Scalars['String']['output']>;
2534
+ required_confirmations?: Maybe<Scalars['Int']['output']>;
2535
+ status: Scalars['String']['output'];
2536
+ success: Scalars['Boolean']['output'];
2537
+ top_up_payment_uri?: Maybe<Scalars['String']['output']>;
2538
+ top_up_qr_code_data_url?: Maybe<Scalars['String']['output']>;
2539
+ tx_hash?: Maybe<Scalars['String']['output']>;
2540
+ };
2591
2541
  /** columns and relationships of "payment_provider_resolved_row" */
2592
2542
  export type Payment_Provider_Resolved_Row = {
2593
2543
  __typename?: 'payment_provider_resolved_row';
@@ -2750,14 +2700,54 @@ export type Payment_Providers_Stream_Cursor_Value_Input = {
2750
2700
  export type Personal_Access_Tokens = {
2751
2701
  __typename?: 'personal_access_tokens';
2752
2702
  created_at: Scalars['timestamptz']['output'];
2703
+ credit_limit_mc?: Maybe<Scalars['bigint']['output']>;
2753
2704
  expires_at: Scalars['timestamptz']['output'];
2754
2705
  id: Scalars['uuid']['output'];
2755
2706
  last_used_at?: Maybe<Scalars['timestamptz']['output']>;
2707
+ lifetime_used_mc: Scalars['bigint']['output'];
2756
2708
  name: Scalars['String']['output'];
2709
+ reset_period: Scalars['String']['output'];
2757
2710
  revoked_at?: Maybe<Scalars['timestamptz']['output']>;
2758
2711
  scopes: Array<Scalars['String']['output']>;
2759
2712
  /** An object relationship */
2760
2713
  user: Users;
2714
+ window_reserved_mc: Scalars['bigint']['output'];
2715
+ window_start?: Maybe<Scalars['timestamptz']['output']>;
2716
+ window_used_mc: Scalars['bigint']['output'];
2717
+ };
2718
+ /** aggregated selection of "personal_access_tokens" */
2719
+ export type Personal_Access_Tokens_Aggregate = {
2720
+ __typename?: 'personal_access_tokens_aggregate';
2721
+ aggregate?: Maybe<Personal_Access_Tokens_Aggregate_Fields>;
2722
+ nodes: Array<Personal_Access_Tokens>;
2723
+ };
2724
+ /** aggregate fields of "personal_access_tokens" */
2725
+ export type Personal_Access_Tokens_Aggregate_Fields = {
2726
+ __typename?: 'personal_access_tokens_aggregate_fields';
2727
+ avg?: Maybe<Personal_Access_Tokens_Avg_Fields>;
2728
+ count: Scalars['Int']['output'];
2729
+ max?: Maybe<Personal_Access_Tokens_Max_Fields>;
2730
+ min?: Maybe<Personal_Access_Tokens_Min_Fields>;
2731
+ stddev?: Maybe<Personal_Access_Tokens_Stddev_Fields>;
2732
+ stddev_pop?: Maybe<Personal_Access_Tokens_Stddev_Pop_Fields>;
2733
+ stddev_samp?: Maybe<Personal_Access_Tokens_Stddev_Samp_Fields>;
2734
+ sum?: Maybe<Personal_Access_Tokens_Sum_Fields>;
2735
+ var_pop?: Maybe<Personal_Access_Tokens_Var_Pop_Fields>;
2736
+ var_samp?: Maybe<Personal_Access_Tokens_Var_Samp_Fields>;
2737
+ variance?: Maybe<Personal_Access_Tokens_Variance_Fields>;
2738
+ };
2739
+ /** aggregate fields of "personal_access_tokens" */
2740
+ export type Personal_Access_Tokens_Aggregate_FieldsCountArgs = {
2741
+ columns?: InputMaybe<Array<Personal_Access_Tokens_Select_Column>>;
2742
+ distinct?: InputMaybe<Scalars['Boolean']['input']>;
2743
+ };
2744
+ /** aggregate avg on columns */
2745
+ export type Personal_Access_Tokens_Avg_Fields = {
2746
+ __typename?: 'personal_access_tokens_avg_fields';
2747
+ credit_limit_mc?: Maybe<Scalars['Float']['output']>;
2748
+ lifetime_used_mc?: Maybe<Scalars['Float']['output']>;
2749
+ window_reserved_mc?: Maybe<Scalars['Float']['output']>;
2750
+ window_used_mc?: Maybe<Scalars['Float']['output']>;
2761
2751
  };
2762
2752
  /** Boolean expression to filter rows from the table "personal_access_tokens". All fields are combined with a logical 'AND'. */
2763
2753
  export type Personal_Access_Tokens_Bool_Exp = {
@@ -2765,42 +2755,124 @@ export type Personal_Access_Tokens_Bool_Exp = {
2765
2755
  _not?: InputMaybe<Personal_Access_Tokens_Bool_Exp>;
2766
2756
  _or?: InputMaybe<Array<Personal_Access_Tokens_Bool_Exp>>;
2767
2757
  created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2758
+ credit_limit_mc?: InputMaybe<Bigint_Comparison_Exp>;
2768
2759
  expires_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2769
2760
  id?: InputMaybe<Uuid_Comparison_Exp>;
2770
2761
  last_used_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2762
+ lifetime_used_mc?: InputMaybe<Bigint_Comparison_Exp>;
2771
2763
  name?: InputMaybe<String_Comparison_Exp>;
2764
+ reset_period?: InputMaybe<String_Comparison_Exp>;
2772
2765
  revoked_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2773
2766
  scopes?: InputMaybe<String_Array_Comparison_Exp>;
2774
2767
  user?: InputMaybe<Users_Bool_Exp>;
2768
+ window_reserved_mc?: InputMaybe<Bigint_Comparison_Exp>;
2769
+ window_start?: InputMaybe<Timestamptz_Comparison_Exp>;
2770
+ window_used_mc?: InputMaybe<Bigint_Comparison_Exp>;
2771
+ };
2772
+ /** aggregate max on columns */
2773
+ export type Personal_Access_Tokens_Max_Fields = {
2774
+ __typename?: 'personal_access_tokens_max_fields';
2775
+ created_at?: Maybe<Scalars['timestamptz']['output']>;
2776
+ credit_limit_mc?: Maybe<Scalars['bigint']['output']>;
2777
+ expires_at?: Maybe<Scalars['timestamptz']['output']>;
2778
+ id?: Maybe<Scalars['uuid']['output']>;
2779
+ last_used_at?: Maybe<Scalars['timestamptz']['output']>;
2780
+ lifetime_used_mc?: Maybe<Scalars['bigint']['output']>;
2781
+ name?: Maybe<Scalars['String']['output']>;
2782
+ reset_period?: Maybe<Scalars['String']['output']>;
2783
+ revoked_at?: Maybe<Scalars['timestamptz']['output']>;
2784
+ scopes?: Maybe<Array<Scalars['String']['output']>>;
2785
+ window_reserved_mc?: Maybe<Scalars['bigint']['output']>;
2786
+ window_start?: Maybe<Scalars['timestamptz']['output']>;
2787
+ window_used_mc?: Maybe<Scalars['bigint']['output']>;
2788
+ };
2789
+ /** aggregate min on columns */
2790
+ export type Personal_Access_Tokens_Min_Fields = {
2791
+ __typename?: 'personal_access_tokens_min_fields';
2792
+ created_at?: Maybe<Scalars['timestamptz']['output']>;
2793
+ credit_limit_mc?: Maybe<Scalars['bigint']['output']>;
2794
+ expires_at?: Maybe<Scalars['timestamptz']['output']>;
2795
+ id?: Maybe<Scalars['uuid']['output']>;
2796
+ last_used_at?: Maybe<Scalars['timestamptz']['output']>;
2797
+ lifetime_used_mc?: Maybe<Scalars['bigint']['output']>;
2798
+ name?: Maybe<Scalars['String']['output']>;
2799
+ reset_period?: Maybe<Scalars['String']['output']>;
2800
+ revoked_at?: Maybe<Scalars['timestamptz']['output']>;
2801
+ scopes?: Maybe<Array<Scalars['String']['output']>>;
2802
+ window_reserved_mc?: Maybe<Scalars['bigint']['output']>;
2803
+ window_start?: Maybe<Scalars['timestamptz']['output']>;
2804
+ window_used_mc?: Maybe<Scalars['bigint']['output']>;
2775
2805
  };
2776
2806
  /** Ordering options when selecting data from "personal_access_tokens". */
2777
2807
  export type Personal_Access_Tokens_Order_By = {
2778
2808
  created_at?: InputMaybe<Order_By>;
2809
+ credit_limit_mc?: InputMaybe<Order_By>;
2779
2810
  expires_at?: InputMaybe<Order_By>;
2780
2811
  id?: InputMaybe<Order_By>;
2781
2812
  last_used_at?: InputMaybe<Order_By>;
2813
+ lifetime_used_mc?: InputMaybe<Order_By>;
2782
2814
  name?: InputMaybe<Order_By>;
2815
+ reset_period?: InputMaybe<Order_By>;
2783
2816
  revoked_at?: InputMaybe<Order_By>;
2784
2817
  scopes?: InputMaybe<Order_By>;
2785
2818
  user?: InputMaybe<Users_Order_By>;
2819
+ window_reserved_mc?: InputMaybe<Order_By>;
2820
+ window_start?: InputMaybe<Order_By>;
2821
+ window_used_mc?: InputMaybe<Order_By>;
2786
2822
  };
2787
2823
  /** select columns of table "personal_access_tokens" */
2788
2824
  export declare enum Personal_Access_Tokens_Select_Column {
2789
2825
  /** column name */
2790
2826
  CreatedAt = "created_at",
2791
2827
  /** column name */
2828
+ CreditLimitMc = "credit_limit_mc",
2829
+ /** column name */
2792
2830
  ExpiresAt = "expires_at",
2793
2831
  /** column name */
2794
2832
  Id = "id",
2795
2833
  /** column name */
2796
2834
  LastUsedAt = "last_used_at",
2797
2835
  /** column name */
2836
+ LifetimeUsedMc = "lifetime_used_mc",
2837
+ /** column name */
2798
2838
  Name = "name",
2799
2839
  /** column name */
2840
+ ResetPeriod = "reset_period",
2841
+ /** column name */
2800
2842
  RevokedAt = "revoked_at",
2801
2843
  /** column name */
2802
- Scopes = "scopes"
2844
+ Scopes = "scopes",
2845
+ /** column name */
2846
+ WindowReservedMc = "window_reserved_mc",
2847
+ /** column name */
2848
+ WindowStart = "window_start",
2849
+ /** column name */
2850
+ WindowUsedMc = "window_used_mc"
2803
2851
  }
2852
+ /** aggregate stddev on columns */
2853
+ export type Personal_Access_Tokens_Stddev_Fields = {
2854
+ __typename?: 'personal_access_tokens_stddev_fields';
2855
+ credit_limit_mc?: Maybe<Scalars['Float']['output']>;
2856
+ lifetime_used_mc?: Maybe<Scalars['Float']['output']>;
2857
+ window_reserved_mc?: Maybe<Scalars['Float']['output']>;
2858
+ window_used_mc?: Maybe<Scalars['Float']['output']>;
2859
+ };
2860
+ /** aggregate stddev_pop on columns */
2861
+ export type Personal_Access_Tokens_Stddev_Pop_Fields = {
2862
+ __typename?: 'personal_access_tokens_stddev_pop_fields';
2863
+ credit_limit_mc?: Maybe<Scalars['Float']['output']>;
2864
+ lifetime_used_mc?: Maybe<Scalars['Float']['output']>;
2865
+ window_reserved_mc?: Maybe<Scalars['Float']['output']>;
2866
+ window_used_mc?: Maybe<Scalars['Float']['output']>;
2867
+ };
2868
+ /** aggregate stddev_samp on columns */
2869
+ export type Personal_Access_Tokens_Stddev_Samp_Fields = {
2870
+ __typename?: 'personal_access_tokens_stddev_samp_fields';
2871
+ credit_limit_mc?: Maybe<Scalars['Float']['output']>;
2872
+ lifetime_used_mc?: Maybe<Scalars['Float']['output']>;
2873
+ window_reserved_mc?: Maybe<Scalars['Float']['output']>;
2874
+ window_used_mc?: Maybe<Scalars['Float']['output']>;
2875
+ };
2804
2876
  /** Streaming cursor of the table "personal_access_tokens" */
2805
2877
  export type Personal_Access_Tokens_Stream_Cursor_Input = {
2806
2878
  /** Stream column input with initial value */
@@ -2811,12 +2883,50 @@ export type Personal_Access_Tokens_Stream_Cursor_Input = {
2811
2883
  /** Initial value of the column from where the streaming should start */
2812
2884
  export type Personal_Access_Tokens_Stream_Cursor_Value_Input = {
2813
2885
  created_at?: InputMaybe<Scalars['timestamptz']['input']>;
2886
+ credit_limit_mc?: InputMaybe<Scalars['bigint']['input']>;
2814
2887
  expires_at?: InputMaybe<Scalars['timestamptz']['input']>;
2815
2888
  id?: InputMaybe<Scalars['uuid']['input']>;
2816
2889
  last_used_at?: InputMaybe<Scalars['timestamptz']['input']>;
2890
+ lifetime_used_mc?: InputMaybe<Scalars['bigint']['input']>;
2817
2891
  name?: InputMaybe<Scalars['String']['input']>;
2892
+ reset_period?: InputMaybe<Scalars['String']['input']>;
2818
2893
  revoked_at?: InputMaybe<Scalars['timestamptz']['input']>;
2819
2894
  scopes?: InputMaybe<Array<Scalars['String']['input']>>;
2895
+ window_reserved_mc?: InputMaybe<Scalars['bigint']['input']>;
2896
+ window_start?: InputMaybe<Scalars['timestamptz']['input']>;
2897
+ window_used_mc?: InputMaybe<Scalars['bigint']['input']>;
2898
+ };
2899
+ /** aggregate sum on columns */
2900
+ export type Personal_Access_Tokens_Sum_Fields = {
2901
+ __typename?: 'personal_access_tokens_sum_fields';
2902
+ credit_limit_mc?: Maybe<Scalars['bigint']['output']>;
2903
+ lifetime_used_mc?: Maybe<Scalars['bigint']['output']>;
2904
+ window_reserved_mc?: Maybe<Scalars['bigint']['output']>;
2905
+ window_used_mc?: Maybe<Scalars['bigint']['output']>;
2906
+ };
2907
+ /** aggregate var_pop on columns */
2908
+ export type Personal_Access_Tokens_Var_Pop_Fields = {
2909
+ __typename?: 'personal_access_tokens_var_pop_fields';
2910
+ credit_limit_mc?: Maybe<Scalars['Float']['output']>;
2911
+ lifetime_used_mc?: Maybe<Scalars['Float']['output']>;
2912
+ window_reserved_mc?: Maybe<Scalars['Float']['output']>;
2913
+ window_used_mc?: Maybe<Scalars['Float']['output']>;
2914
+ };
2915
+ /** aggregate var_samp on columns */
2916
+ export type Personal_Access_Tokens_Var_Samp_Fields = {
2917
+ __typename?: 'personal_access_tokens_var_samp_fields';
2918
+ credit_limit_mc?: Maybe<Scalars['Float']['output']>;
2919
+ lifetime_used_mc?: Maybe<Scalars['Float']['output']>;
2920
+ window_reserved_mc?: Maybe<Scalars['Float']['output']>;
2921
+ window_used_mc?: Maybe<Scalars['Float']['output']>;
2922
+ };
2923
+ /** aggregate variance on columns */
2924
+ export type Personal_Access_Tokens_Variance_Fields = {
2925
+ __typename?: 'personal_access_tokens_variance_fields';
2926
+ credit_limit_mc?: Maybe<Scalars['Float']['output']>;
2927
+ lifetime_used_mc?: Maybe<Scalars['Float']['output']>;
2928
+ window_reserved_mc?: Maybe<Scalars['Float']['output']>;
2929
+ window_used_mc?: Maybe<Scalars['Float']['output']>;
2820
2930
  };
2821
2931
  /** columns and relationships of "pipeline_examples" */
2822
2932
  export type Pipeline_Examples = {
@@ -3272,6 +3382,7 @@ export type Pipeline_Pricing_Row = {
3272
3382
  /** columns and relationships of "pipeline_runs" */
3273
3383
  export type Pipeline_Runs = {
3274
3384
  __typename?: 'pipeline_runs';
3385
+ agent_actual_credits_mc?: Maybe<Scalars['Int']['output']>;
3275
3386
  /** An array relationship */
3276
3387
  assets: Array<Assets>;
3277
3388
  /** An aggregate relationship */
@@ -3283,6 +3394,7 @@ export type Pipeline_Runs = {
3283
3394
  id: Scalars['uuid']['output'];
3284
3395
  input: Scalars['jsonb']['output'];
3285
3396
  output?: Maybe<Scalars['jsonb']['output']>;
3397
+ parent_run_id?: Maybe<Scalars['uuid']['output']>;
3286
3398
  /** An object relationship */
3287
3399
  pipeline: Pipelines;
3288
3400
  pipeline_id: Scalars['uuid']['output'];
@@ -3348,6 +3460,7 @@ export type Pipeline_Runs_Aggregate_FieldsCountArgs = {
3348
3460
  /** aggregate avg on columns */
3349
3461
  export type Pipeline_Runs_Avg_Fields = {
3350
3462
  __typename?: 'pipeline_runs_avg_fields';
3463
+ agent_actual_credits_mc?: Maybe<Scalars['Float']['output']>;
3351
3464
  credits_charged?: Maybe<Scalars['Float']['output']>;
3352
3465
  };
3353
3466
  /** Boolean expression to filter rows from the table "pipeline_runs". All fields are combined with a logical 'AND'. */
@@ -3355,6 +3468,7 @@ export type Pipeline_Runs_Bool_Exp = {
3355
3468
  _and?: InputMaybe<Array<Pipeline_Runs_Bool_Exp>>;
3356
3469
  _not?: InputMaybe<Pipeline_Runs_Bool_Exp>;
3357
3470
  _or?: InputMaybe<Array<Pipeline_Runs_Bool_Exp>>;
3471
+ agent_actual_credits_mc?: InputMaybe<Int_Comparison_Exp>;
3358
3472
  assets?: InputMaybe<Assets_Bool_Exp>;
3359
3473
  assets_aggregate?: InputMaybe<Assets_Aggregate_Bool_Exp>;
3360
3474
  completed_at?: InputMaybe<Timestamptz_Comparison_Exp>;
@@ -3364,6 +3478,7 @@ export type Pipeline_Runs_Bool_Exp = {
3364
3478
  id?: InputMaybe<Uuid_Comparison_Exp>;
3365
3479
  input?: InputMaybe<Jsonb_Comparison_Exp>;
3366
3480
  output?: InputMaybe<Jsonb_Comparison_Exp>;
3481
+ parent_run_id?: InputMaybe<Uuid_Comparison_Exp>;
3367
3482
  pipeline?: InputMaybe<Pipelines_Bool_Exp>;
3368
3483
  pipeline_id?: InputMaybe<Uuid_Comparison_Exp>;
3369
3484
  share_token?: InputMaybe<Uuid_Comparison_Exp>;
@@ -3376,11 +3491,13 @@ export type Pipeline_Runs_Bool_Exp = {
3376
3491
  /** aggregate max on columns */
3377
3492
  export type Pipeline_Runs_Max_Fields = {
3378
3493
  __typename?: 'pipeline_runs_max_fields';
3494
+ agent_actual_credits_mc?: Maybe<Scalars['Int']['output']>;
3379
3495
  completed_at?: Maybe<Scalars['timestamptz']['output']>;
3380
3496
  created_at?: Maybe<Scalars['timestamptz']['output']>;
3381
3497
  credits_charged?: Maybe<Scalars['Int']['output']>;
3382
3498
  error_message?: Maybe<Scalars['String']['output']>;
3383
3499
  id?: Maybe<Scalars['uuid']['output']>;
3500
+ parent_run_id?: Maybe<Scalars['uuid']['output']>;
3384
3501
  pipeline_id?: Maybe<Scalars['uuid']['output']>;
3385
3502
  share_token?: Maybe<Scalars['uuid']['output']>;
3386
3503
  started_at?: Maybe<Scalars['timestamptz']['output']>;
@@ -3390,11 +3507,13 @@ export type Pipeline_Runs_Max_Fields = {
3390
3507
  /** aggregate min on columns */
3391
3508
  export type Pipeline_Runs_Min_Fields = {
3392
3509
  __typename?: 'pipeline_runs_min_fields';
3510
+ agent_actual_credits_mc?: Maybe<Scalars['Int']['output']>;
3393
3511
  completed_at?: Maybe<Scalars['timestamptz']['output']>;
3394
3512
  created_at?: Maybe<Scalars['timestamptz']['output']>;
3395
3513
  credits_charged?: Maybe<Scalars['Int']['output']>;
3396
3514
  error_message?: Maybe<Scalars['String']['output']>;
3397
3515
  id?: Maybe<Scalars['uuid']['output']>;
3516
+ parent_run_id?: Maybe<Scalars['uuid']['output']>;
3398
3517
  pipeline_id?: Maybe<Scalars['uuid']['output']>;
3399
3518
  share_token?: Maybe<Scalars['uuid']['output']>;
3400
3519
  started_at?: Maybe<Scalars['timestamptz']['output']>;
@@ -3411,6 +3530,7 @@ export type Pipeline_Runs_Mutation_Response = {
3411
3530
  };
3412
3531
  /** Ordering options when selecting data from "pipeline_runs". */
3413
3532
  export type Pipeline_Runs_Order_By = {
3533
+ agent_actual_credits_mc?: InputMaybe<Order_By>;
3414
3534
  assets_aggregate?: InputMaybe<Assets_Aggregate_Order_By>;
3415
3535
  completed_at?: InputMaybe<Order_By>;
3416
3536
  created_at?: InputMaybe<Order_By>;
@@ -3419,6 +3539,7 @@ export type Pipeline_Runs_Order_By = {
3419
3539
  id?: InputMaybe<Order_By>;
3420
3540
  input?: InputMaybe<Order_By>;
3421
3541
  output?: InputMaybe<Order_By>;
3542
+ parent_run_id?: InputMaybe<Order_By>;
3422
3543
  pipeline?: InputMaybe<Pipelines_Order_By>;
3423
3544
  pipeline_id?: InputMaybe<Order_By>;
3424
3545
  share_token?: InputMaybe<Order_By>;
@@ -3434,6 +3555,8 @@ export type Pipeline_Runs_Pk_Columns_Input = {
3434
3555
  };
3435
3556
  /** select columns of table "pipeline_runs" */
3436
3557
  export declare enum Pipeline_Runs_Select_Column {
3558
+ /** column name */
3559
+ AgentActualCreditsMc = "agent_actual_credits_mc",
3437
3560
  /** column name */
3438
3561
  CompletedAt = "completed_at",
3439
3562
  /** column name */
@@ -3449,6 +3572,8 @@ export declare enum Pipeline_Runs_Select_Column {
3449
3572
  /** column name */
3450
3573
  Output = "output",
3451
3574
  /** column name */
3575
+ ParentRunId = "parent_run_id",
3576
+ /** column name */
3452
3577
  PipelineId = "pipeline_id",
3453
3578
  /** column name */
3454
3579
  ShareToken = "share_token",
@@ -3469,16 +3594,19 @@ export type Pipeline_Runs_Set_Input = {
3469
3594
  /** aggregate stddev on columns */
3470
3595
  export type Pipeline_Runs_Stddev_Fields = {
3471
3596
  __typename?: 'pipeline_runs_stddev_fields';
3597
+ agent_actual_credits_mc?: Maybe<Scalars['Float']['output']>;
3472
3598
  credits_charged?: Maybe<Scalars['Float']['output']>;
3473
3599
  };
3474
3600
  /** aggregate stddev_pop on columns */
3475
3601
  export type Pipeline_Runs_Stddev_Pop_Fields = {
3476
3602
  __typename?: 'pipeline_runs_stddev_pop_fields';
3603
+ agent_actual_credits_mc?: Maybe<Scalars['Float']['output']>;
3477
3604
  credits_charged?: Maybe<Scalars['Float']['output']>;
3478
3605
  };
3479
3606
  /** aggregate stddev_samp on columns */
3480
3607
  export type Pipeline_Runs_Stddev_Samp_Fields = {
3481
3608
  __typename?: 'pipeline_runs_stddev_samp_fields';
3609
+ agent_actual_credits_mc?: Maybe<Scalars['Float']['output']>;
3482
3610
  credits_charged?: Maybe<Scalars['Float']['output']>;
3483
3611
  };
3484
3612
  /** Streaming cursor of the table "pipeline_runs" */
@@ -3490,6 +3618,7 @@ export type Pipeline_Runs_Stream_Cursor_Input = {
3490
3618
  };
3491
3619
  /** Initial value of the column from where the streaming should start */
3492
3620
  export type Pipeline_Runs_Stream_Cursor_Value_Input = {
3621
+ agent_actual_credits_mc?: InputMaybe<Scalars['Int']['input']>;
3493
3622
  completed_at?: InputMaybe<Scalars['timestamptz']['input']>;
3494
3623
  created_at?: InputMaybe<Scalars['timestamptz']['input']>;
3495
3624
  credits_charged?: InputMaybe<Scalars['Int']['input']>;
@@ -3497,6 +3626,7 @@ export type Pipeline_Runs_Stream_Cursor_Value_Input = {
3497
3626
  id?: InputMaybe<Scalars['uuid']['input']>;
3498
3627
  input?: InputMaybe<Scalars['jsonb']['input']>;
3499
3628
  output?: InputMaybe<Scalars['jsonb']['input']>;
3629
+ parent_run_id?: InputMaybe<Scalars['uuid']['input']>;
3500
3630
  pipeline_id?: InputMaybe<Scalars['uuid']['input']>;
3501
3631
  share_token?: InputMaybe<Scalars['uuid']['input']>;
3502
3632
  share_watermark?: InputMaybe<Scalars['Boolean']['input']>;
@@ -3507,6 +3637,7 @@ export type Pipeline_Runs_Stream_Cursor_Value_Input = {
3507
3637
  /** aggregate sum on columns */
3508
3638
  export type Pipeline_Runs_Sum_Fields = {
3509
3639
  __typename?: 'pipeline_runs_sum_fields';
3640
+ agent_actual_credits_mc?: Maybe<Scalars['Int']['output']>;
3510
3641
  credits_charged?: Maybe<Scalars['Int']['output']>;
3511
3642
  };
3512
3643
  export type Pipeline_Runs_Updates = {
@@ -3518,16 +3649,19 @@ export type Pipeline_Runs_Updates = {
3518
3649
  /** aggregate var_pop on columns */
3519
3650
  export type Pipeline_Runs_Var_Pop_Fields = {
3520
3651
  __typename?: 'pipeline_runs_var_pop_fields';
3652
+ agent_actual_credits_mc?: Maybe<Scalars['Float']['output']>;
3521
3653
  credits_charged?: Maybe<Scalars['Float']['output']>;
3522
3654
  };
3523
3655
  /** aggregate var_samp on columns */
3524
3656
  export type Pipeline_Runs_Var_Samp_Fields = {
3525
3657
  __typename?: 'pipeline_runs_var_samp_fields';
3658
+ agent_actual_credits_mc?: Maybe<Scalars['Float']['output']>;
3526
3659
  credits_charged?: Maybe<Scalars['Float']['output']>;
3527
3660
  };
3528
3661
  /** aggregate variance on columns */
3529
3662
  export type Pipeline_Runs_Variance_Fields = {
3530
3663
  __typename?: 'pipeline_runs_variance_fields';
3664
+ agent_actual_credits_mc?: Maybe<Scalars['Float']['output']>;
3531
3665
  credits_charged?: Maybe<Scalars['Float']['output']>;
3532
3666
  };
3533
3667
  /** columns and relationships of "pipeline_translations" */
@@ -4392,6 +4526,10 @@ export type Query_Root = {
4392
4526
  affiliates: Array<Affiliates>;
4393
4527
  /** fetch data from the table: "affiliates" using primary key columns */
4394
4528
  affiliates_by_pk?: Maybe<Affiliates>;
4529
+ /** fetch data from the table: "asset_imports" */
4530
+ asset_imports: Array<Asset_Imports>;
4531
+ /** fetch data from the table: "asset_imports" using primary key columns */
4532
+ asset_imports_by_pk?: Maybe<Asset_Imports>;
4395
4533
  /** An array relationship */
4396
4534
  assets: Array<Assets>;
4397
4535
  /** An aggregate relationship */
@@ -4422,10 +4560,6 @@ export type Query_Root = {
4422
4560
  crypto_payment_currencies: Array<Crypto_Payment_Currencies>;
4423
4561
  /** fetch data from the table: "crypto_payment_currencies" using primary key columns */
4424
4562
  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>;
4429
4563
  /** Get the currently signed-in user */
4430
4564
  current_user: Current_User_Output;
4431
4565
  /** fetch data from the table: "dispatch_blocks" */
@@ -4434,8 +4568,6 @@ export type Query_Root = {
4434
4568
  dispatch_blocks_by_pk?: Maybe<Dispatch_Blocks>;
4435
4569
  /** Preview the credit cost of running a pipeline with a given input (read-only) */
4436
4570
  estimate_pipeline_cost?: Maybe<Estimate_Pipeline_Cost_Output>;
4437
- /** fetch data from the table: "executions_visibility" */
4438
- executions_visibility: Array<Executions_Visibility>;
4439
4571
  /** fetch data from the table: "fx_rates" */
4440
4572
  fx_rates: Array<Fx_Rates>;
4441
4573
  /** fetch data from the table: "fx_rates" using primary key columns */
@@ -4444,12 +4576,10 @@ export type Query_Root = {
4444
4576
  get_credit_balance?: Maybe<Credit_Balance_Output>;
4445
4577
  /** Get your credit transaction history */
4446
4578
  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;
4449
4579
  /** Get your referral stats and referred users */
4450
4580
  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;
4581
+ /** Get the status of an owned payment through its selected provider */
4582
+ get_payment_status: Payment_Output;
4453
4583
  /** fetch data from the table: "locales" */
4454
4584
  locales: Array<Locales>;
4455
4585
  /** fetch data from the table: "locales" using primary key columns */
@@ -4480,8 +4610,12 @@ export type Query_Root = {
4480
4610
  payment_providers: Array<Payment_Providers>;
4481
4611
  /** fetch data from the table: "payment_providers" using primary key columns */
4482
4612
  payment_providers_by_pk?: Maybe<Payment_Providers>;
4613
+ /** List the current user's payments across all providers */
4614
+ payments: Array<Payment_Output>;
4483
4615
  /** fetch data from the table: "personal_access_tokens" */
4484
4616
  personal_access_tokens: Array<Personal_Access_Tokens>;
4617
+ /** fetch aggregated fields from the table: "personal_access_tokens" */
4618
+ personal_access_tokens_aggregate: Personal_Access_Tokens_Aggregate;
4485
4619
  /** fetch data from the table: "personal_access_tokens" using primary key columns */
4486
4620
  personal_access_tokens_by_pk?: Maybe<Personal_Access_Tokens>;
4487
4621
  /** fetch data from the table: "pipeline_examples" */
@@ -4546,8 +4680,6 @@ export type Query_Root = {
4546
4680
  user_subscription_credits: Array<User_Subscription_Credits>;
4547
4681
  /** fetch data from the table: "user_subscription_credits" using primary key columns */
4548
4682
  user_subscription_credits_by_pk?: Maybe<User_Subscription_Credits>;
4549
- /** fetch data from the table: "users" */
4550
- users: Array<Users>;
4551
4683
  };
4552
4684
  export type Query_RootAffiliate_CodesArgs = {
4553
4685
  distinct_on?: InputMaybe<Array<Affiliate_Codes_Select_Column>>;
@@ -4569,6 +4701,16 @@ export type Query_RootAffiliatesArgs = {
4569
4701
  export type Query_RootAffiliates_By_PkArgs = {
4570
4702
  id: Scalars['uuid']['input'];
4571
4703
  };
4704
+ export type Query_RootAsset_ImportsArgs = {
4705
+ distinct_on?: InputMaybe<Array<Asset_Imports_Select_Column>>;
4706
+ limit?: InputMaybe<Scalars['Int']['input']>;
4707
+ offset?: InputMaybe<Scalars['Int']['input']>;
4708
+ order_by?: InputMaybe<Array<Asset_Imports_Order_By>>;
4709
+ where?: InputMaybe<Asset_Imports_Bool_Exp>;
4710
+ };
4711
+ export type Query_RootAsset_Imports_By_PkArgs = {
4712
+ id: Scalars['uuid']['input'];
4713
+ };
4572
4714
  export type Query_RootAssetsArgs = {
4573
4715
  distinct_on?: InputMaybe<Array<Assets_Select_Column>>;
4574
4716
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4647,16 +4789,6 @@ export type Query_RootCrypto_Payment_CurrenciesArgs = {
4647
4789
  export type Query_RootCrypto_Payment_Currencies_By_PkArgs = {
4648
4790
  currency_id: Scalars['String']['input'];
4649
4791
  };
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
4792
  export type Query_RootDispatch_BlocksArgs = {
4661
4793
  distinct_on?: InputMaybe<Array<Dispatch_Blocks_Select_Column>>;
4662
4794
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4671,13 +4803,6 @@ export type Query_RootEstimate_Pipeline_CostArgs = {
4671
4803
  input: Scalars['jsonb']['input'];
4672
4804
  pipeline_slug: Scalars['String']['input'];
4673
4805
  };
4674
- export type Query_RootExecutions_VisibilityArgs = {
4675
- distinct_on?: InputMaybe<Array<Executions_Visibility_Select_Column>>;
4676
- limit?: InputMaybe<Scalars['Int']['input']>;
4677
- offset?: InputMaybe<Scalars['Int']['input']>;
4678
- order_by?: InputMaybe<Array<Executions_Visibility_Order_By>>;
4679
- where?: InputMaybe<Executions_Visibility_Bool_Exp>;
4680
- };
4681
4806
  export type Query_RootFx_RatesArgs = {
4682
4807
  distinct_on?: InputMaybe<Array<Fx_Rates_Select_Column>>;
4683
4808
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4688,11 +4813,9 @@ export type Query_RootFx_RatesArgs = {
4688
4813
  export type Query_RootFx_Rates_By_PkArgs = {
4689
4814
  currency: Scalars['String']['input'];
4690
4815
  };
4691
- export type Query_RootGet_Crypto_Payment_StatusArgs = {
4692
- payment_id: Scalars['uuid']['input'];
4693
- };
4694
- export type Query_RootGet_Sbp_Payment_StatusArgs = {
4816
+ export type Query_RootGet_Payment_StatusArgs = {
4695
4817
  payment_id: Scalars['uuid']['input'];
4818
+ provider: Scalars['String']['input'];
4696
4819
  };
4697
4820
  export type Query_RootLocalesArgs = {
4698
4821
  distinct_on?: InputMaybe<Array<Locales_Select_Column>>;
@@ -4777,6 +4900,10 @@ export type Query_RootPayment_ProvidersArgs = {
4777
4900
  export type Query_RootPayment_Providers_By_PkArgs = {
4778
4901
  slug: Scalars['String']['input'];
4779
4902
  };
4903
+ export type Query_RootPaymentsArgs = {
4904
+ limit?: InputMaybe<Scalars['Int']['input']>;
4905
+ offset?: InputMaybe<Scalars['Int']['input']>;
4906
+ };
4780
4907
  export type Query_RootPersonal_Access_TokensArgs = {
4781
4908
  distinct_on?: InputMaybe<Array<Personal_Access_Tokens_Select_Column>>;
4782
4909
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4784,6 +4911,13 @@ export type Query_RootPersonal_Access_TokensArgs = {
4784
4911
  order_by?: InputMaybe<Array<Personal_Access_Tokens_Order_By>>;
4785
4912
  where?: InputMaybe<Personal_Access_Tokens_Bool_Exp>;
4786
4913
  };
4914
+ export type Query_RootPersonal_Access_Tokens_AggregateArgs = {
4915
+ distinct_on?: InputMaybe<Array<Personal_Access_Tokens_Select_Column>>;
4916
+ limit?: InputMaybe<Scalars['Int']['input']>;
4917
+ offset?: InputMaybe<Scalars['Int']['input']>;
4918
+ order_by?: InputMaybe<Array<Personal_Access_Tokens_Order_By>>;
4919
+ where?: InputMaybe<Personal_Access_Tokens_Bool_Exp>;
4920
+ };
4787
4921
  export type Query_RootPersonal_Access_Tokens_By_PkArgs = {
4788
4922
  id: Scalars['uuid']['input'];
4789
4923
  };
@@ -4950,13 +5084,6 @@ export type Query_RootUser_Subscription_CreditsArgs = {
4950
5084
  export type Query_RootUser_Subscription_Credits_By_PkArgs = {
4951
5085
  user_id: Scalars['uuid']['input'];
4952
5086
  };
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
- };
4960
5087
  export type Referral_Entry = {
4961
5088
  __typename?: 'referral_entry';
4962
5089
  commission_cents: Scalars['Int']['output'];
@@ -5010,17 +5137,17 @@ export type Run_Pipeline_Output = {
5010
5137
  run_id: Scalars['String']['output'];
5011
5138
  workflow_id: Scalars['String']['output'];
5012
5139
  };
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'];
5140
+ /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */
5141
+ export type Smallint_Comparison_Exp = {
5142
+ _eq?: InputMaybe<Scalars['smallint']['input']>;
5143
+ _gt?: InputMaybe<Scalars['smallint']['input']>;
5144
+ _gte?: InputMaybe<Scalars['smallint']['input']>;
5145
+ _in?: InputMaybe<Array<Scalars['smallint']['input']>>;
5146
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
5147
+ _lt?: InputMaybe<Scalars['smallint']['input']>;
5148
+ _lte?: InputMaybe<Scalars['smallint']['input']>;
5149
+ _neq?: InputMaybe<Scalars['smallint']['input']>;
5150
+ _nin?: InputMaybe<Array<Scalars['smallint']['input']>>;
5024
5151
  };
5025
5152
  export type Subscription_Plan_Change_Output = {
5026
5153
  __typename?: 'subscription_plan_change_output';
@@ -5119,6 +5246,12 @@ export type Subscription_Root = {
5119
5246
  affiliates_by_pk?: Maybe<Affiliates>;
5120
5247
  /** fetch data from the table in a streaming manner: "affiliates" */
5121
5248
  affiliates_stream: Array<Affiliates>;
5249
+ /** fetch data from the table: "asset_imports" */
5250
+ asset_imports: Array<Asset_Imports>;
5251
+ /** fetch data from the table: "asset_imports" using primary key columns */
5252
+ asset_imports_by_pk?: Maybe<Asset_Imports>;
5253
+ /** fetch data from the table in a streaming manner: "asset_imports" */
5254
+ asset_imports_stream: Array<Asset_Imports>;
5122
5255
  /** An array relationship */
5123
5256
  assets: Array<Assets>;
5124
5257
  /** An aggregate relationship */
@@ -5163,22 +5296,12 @@ export type Subscription_Root = {
5163
5296
  crypto_payment_currencies_by_pk?: Maybe<Crypto_Payment_Currencies>;
5164
5297
  /** fetch data from the table in a streaming manner: "crypto_payment_currencies" */
5165
5298
  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
5299
  /** fetch data from the table: "dispatch_blocks" */
5173
5300
  dispatch_blocks: Array<Dispatch_Blocks>;
5174
5301
  /** fetch data from the table: "dispatch_blocks" using primary key columns */
5175
5302
  dispatch_blocks_by_pk?: Maybe<Dispatch_Blocks>;
5176
5303
  /** fetch data from the table in a streaming manner: "dispatch_blocks" */
5177
5304
  dispatch_blocks_stream: Array<Dispatch_Blocks>;
5178
- /** fetch data from the table: "executions_visibility" */
5179
- executions_visibility: Array<Executions_Visibility>;
5180
- /** fetch data from the table in a streaming manner: "executions_visibility" */
5181
- executions_visibility_stream: Array<Executions_Visibility>;
5182
5305
  /** fetch data from the table: "fx_rates" */
5183
5306
  fx_rates: Array<Fx_Rates>;
5184
5307
  /** fetch data from the table: "fx_rates" using primary key columns */
@@ -5233,6 +5356,8 @@ export type Subscription_Root = {
5233
5356
  payment_providers_stream: Array<Payment_Providers>;
5234
5357
  /** fetch data from the table: "personal_access_tokens" */
5235
5358
  personal_access_tokens: Array<Personal_Access_Tokens>;
5359
+ /** fetch aggregated fields from the table: "personal_access_tokens" */
5360
+ personal_access_tokens_aggregate: Personal_Access_Tokens_Aggregate;
5236
5361
  /** fetch data from the table: "personal_access_tokens" using primary key columns */
5237
5362
  personal_access_tokens_by_pk?: Maybe<Personal_Access_Tokens>;
5238
5363
  /** fetch data from the table in a streaming manner: "personal_access_tokens" */
@@ -5327,8 +5452,6 @@ export type Subscription_Root = {
5327
5452
  user_subscription_credits_stream: Array<User_Subscription_Credits>;
5328
5453
  /** fetch data from the table: "users" */
5329
5454
  users: Array<Users>;
5330
- /** fetch data from the table in a streaming manner: "users" */
5331
- users_stream: Array<Users>;
5332
5455
  };
5333
5456
  export type Subscription_RootAffiliate_CodesArgs = {
5334
5457
  distinct_on?: InputMaybe<Array<Affiliate_Codes_Select_Column>>;
@@ -5360,6 +5483,21 @@ export type Subscription_RootAffiliates_StreamArgs = {
5360
5483
  cursor: Array<InputMaybe<Affiliates_Stream_Cursor_Input>>;
5361
5484
  where?: InputMaybe<Affiliates_Bool_Exp>;
5362
5485
  };
5486
+ export type Subscription_RootAsset_ImportsArgs = {
5487
+ distinct_on?: InputMaybe<Array<Asset_Imports_Select_Column>>;
5488
+ limit?: InputMaybe<Scalars['Int']['input']>;
5489
+ offset?: InputMaybe<Scalars['Int']['input']>;
5490
+ order_by?: InputMaybe<Array<Asset_Imports_Order_By>>;
5491
+ where?: InputMaybe<Asset_Imports_Bool_Exp>;
5492
+ };
5493
+ export type Subscription_RootAsset_Imports_By_PkArgs = {
5494
+ id: Scalars['uuid']['input'];
5495
+ };
5496
+ export type Subscription_RootAsset_Imports_StreamArgs = {
5497
+ batch_size: Scalars['Int']['input'];
5498
+ cursor: Array<InputMaybe<Asset_Imports_Stream_Cursor_Input>>;
5499
+ where?: InputMaybe<Asset_Imports_Bool_Exp>;
5500
+ };
5363
5501
  export type Subscription_RootAssetsArgs = {
5364
5502
  distinct_on?: InputMaybe<Array<Assets_Select_Column>>;
5365
5503
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -5473,21 +5611,6 @@ export type Subscription_RootCrypto_Payment_Currencies_StreamArgs = {
5473
5611
  cursor: Array<InputMaybe<Crypto_Payment_Currencies_Stream_Cursor_Input>>;
5474
5612
  where?: InputMaybe<Crypto_Payment_Currencies_Bool_Exp>;
5475
5613
  };
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
5614
  export type Subscription_RootDispatch_BlocksArgs = {
5492
5615
  distinct_on?: InputMaybe<Array<Dispatch_Blocks_Select_Column>>;
5493
5616
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -5503,18 +5626,6 @@ export type Subscription_RootDispatch_Blocks_StreamArgs = {
5503
5626
  cursor: Array<InputMaybe<Dispatch_Blocks_Stream_Cursor_Input>>;
5504
5627
  where?: InputMaybe<Dispatch_Blocks_Bool_Exp>;
5505
5628
  };
5506
- export type Subscription_RootExecutions_VisibilityArgs = {
5507
- distinct_on?: InputMaybe<Array<Executions_Visibility_Select_Column>>;
5508
- limit?: InputMaybe<Scalars['Int']['input']>;
5509
- offset?: InputMaybe<Scalars['Int']['input']>;
5510
- order_by?: InputMaybe<Array<Executions_Visibility_Order_By>>;
5511
- where?: InputMaybe<Executions_Visibility_Bool_Exp>;
5512
- };
5513
- export type Subscription_RootExecutions_Visibility_StreamArgs = {
5514
- batch_size: Scalars['Int']['input'];
5515
- cursor: Array<InputMaybe<Executions_Visibility_Stream_Cursor_Input>>;
5516
- where?: InputMaybe<Executions_Visibility_Bool_Exp>;
5517
- };
5518
5629
  export type Subscription_RootFx_RatesArgs = {
5519
5630
  distinct_on?: InputMaybe<Array<Fx_Rates_Select_Column>>;
5520
5631
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -5660,6 +5771,13 @@ export type Subscription_RootPersonal_Access_TokensArgs = {
5660
5771
  order_by?: InputMaybe<Array<Personal_Access_Tokens_Order_By>>;
5661
5772
  where?: InputMaybe<Personal_Access_Tokens_Bool_Exp>;
5662
5773
  };
5774
+ export type Subscription_RootPersonal_Access_Tokens_AggregateArgs = {
5775
+ distinct_on?: InputMaybe<Array<Personal_Access_Tokens_Select_Column>>;
5776
+ limit?: InputMaybe<Scalars['Int']['input']>;
5777
+ offset?: InputMaybe<Scalars['Int']['input']>;
5778
+ order_by?: InputMaybe<Array<Personal_Access_Tokens_Order_By>>;
5779
+ where?: InputMaybe<Personal_Access_Tokens_Bool_Exp>;
5780
+ };
5663
5781
  export type Subscription_RootPersonal_Access_Tokens_By_PkArgs = {
5664
5782
  id: Scalars['uuid']['input'];
5665
5783
  };
@@ -5908,11 +6026,6 @@ export type Subscription_RootUsersArgs = {
5908
6026
  order_by?: InputMaybe<Array<Users_Order_By>>;
5909
6027
  where?: InputMaybe<Users_Bool_Exp>;
5910
6028
  };
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
- };
5916
6029
  /** columns and relationships of "subscriptions" */
5917
6030
  export type Subscriptions = {
5918
6031
  __typename?: 'subscriptions';
@@ -6035,18 +6148,6 @@ export type Subscriptions_Stream_Cursor_Value_Input = {
6035
6148
  plan_version_id?: InputMaybe<Scalars['uuid']['input']>;
6036
6149
  status?: InputMaybe<Scalars['String']['input']>;
6037
6150
  };
6038
- /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */
6039
- export type Timestamp_Comparison_Exp = {
6040
- _eq?: InputMaybe<Scalars['timestamp']['input']>;
6041
- _gt?: InputMaybe<Scalars['timestamp']['input']>;
6042
- _gte?: InputMaybe<Scalars['timestamp']['input']>;
6043
- _in?: InputMaybe<Array<Scalars['timestamp']['input']>>;
6044
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
6045
- _lt?: InputMaybe<Scalars['timestamp']['input']>;
6046
- _lte?: InputMaybe<Scalars['timestamp']['input']>;
6047
- _neq?: InputMaybe<Scalars['timestamp']['input']>;
6048
- _nin?: InputMaybe<Array<Scalars['timestamp']['input']>>;
6049
- };
6050
6151
  /** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */
6051
6152
  export type Timestamptz_Comparison_Exp = {
6052
6153
  _eq?: InputMaybe<Scalars['timestamptz']['input']>;
@@ -6186,17 +6287,6 @@ export declare enum Users_Select_Column {
6186
6287
  /** column name */
6187
6288
  UpdatedAt = "updated_at"
6188
6289
  }
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
- };
6200
6290
  /** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
6201
6291
  export type Uuid_Comparison_Exp = {
6202
6292
  _eq?: InputMaybe<Scalars['uuid']['input']>;
@@ -6537,6 +6627,78 @@ export type CreateAssetMutation = {
6537
6627
  created_at: string;
6538
6628
  };
6539
6629
  };
6630
+ export type ImportMediaUrlMutationVariables = Exact<{
6631
+ url: Scalars['String']['input'];
6632
+ tags?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
6633
+ }>;
6634
+ export type ImportMediaUrlMutation = {
6635
+ __typename?: 'mutation_root';
6636
+ import_media_url: {
6637
+ __typename?: 'import_media_output';
6638
+ import_id: string;
6639
+ status: string;
6640
+ };
6641
+ };
6642
+ export type CancelMediaImportMutationVariables = Exact<{
6643
+ importId: Scalars['String']['input'];
6644
+ }>;
6645
+ export type CancelMediaImportMutation = {
6646
+ __typename?: 'mutation_root';
6647
+ cancel_media_import: {
6648
+ __typename?: 'import_media_output';
6649
+ import_id: string;
6650
+ status: string;
6651
+ };
6652
+ };
6653
+ export type DismissAssetImportMutationVariables = Exact<{
6654
+ id: Scalars['uuid']['input'];
6655
+ }>;
6656
+ export type DismissAssetImportMutation = {
6657
+ __typename?: 'mutation_root';
6658
+ update_asset_imports?: {
6659
+ __typename?: 'asset_imports_mutation_response';
6660
+ affected_rows: number;
6661
+ } | null;
6662
+ };
6663
+ export type AssetImportStatusQueryVariables = Exact<{
6664
+ id: Scalars['uuid']['input'];
6665
+ }>;
6666
+ export type AssetImportStatusQuery = {
6667
+ __typename?: 'query_root';
6668
+ asset_imports_by_pk?: {
6669
+ __typename?: 'asset_imports';
6670
+ id: any;
6671
+ status: string;
6672
+ phase: string;
6673
+ bytes: any;
6674
+ total_bytes: any;
6675
+ code?: string | null;
6676
+ error?: string | null;
6677
+ asset_id?: any | null;
6678
+ finished_at?: any | null;
6679
+ } | null;
6680
+ };
6681
+ export type UserAssetImportsQueryVariables = Exact<{
6682
+ limit?: InputMaybe<Scalars['Int']['input']>;
6683
+ failedSince: Scalars['timestamptz']['input'];
6684
+ }>;
6685
+ export type UserAssetImportsQuery = {
6686
+ __typename?: 'query_root';
6687
+ asset_imports: Array<{
6688
+ __typename?: 'asset_imports';
6689
+ id: any;
6690
+ source_url: string;
6691
+ status: string;
6692
+ phase: string;
6693
+ bytes: any;
6694
+ total_bytes: any;
6695
+ code?: string | null;
6696
+ error?: string | null;
6697
+ asset_id?: any | null;
6698
+ started_at: any;
6699
+ finished_at?: any | null;
6700
+ }>;
6701
+ };
6540
6702
  export type DeleteAssetActionMutationVariables = Exact<{
6541
6703
  id: Scalars['uuid']['input'];
6542
6704
  }>;
@@ -6704,25 +6866,26 @@ export type GetCreditHistoryQuery = {
6704
6866
  reservation_mc?: number | null;
6705
6867
  }>;
6706
6868
  };
6707
- export type CreateCryptoPaymentMutationVariables = Exact<{
6869
+ export type CreatePaymentMutationVariables = Exact<{
6708
6870
  provider: Scalars['String']['input'];
6709
6871
  attempt_id: Scalars['uuid']['input'];
6710
6872
  credit_pack_slug?: InputMaybe<Scalars['String']['input']>;
6711
6873
  plan_slug?: InputMaybe<Scalars['String']['input']>;
6712
- currency_id: Scalars['String']['input'];
6874
+ currency_id?: InputMaybe<Scalars['String']['input']>;
6713
6875
  country?: InputMaybe<Scalars['String']['input']>;
6876
+ recurring_consent?: InputMaybe<Scalars['Boolean']['input']>;
6714
6877
  }>;
6715
- export type CreateCryptoPaymentMutation = {
6878
+ export type CreatePaymentMutation = {
6716
6879
  __typename?: 'mutation_root';
6717
- create_crypto_payment: {
6718
- __typename?: 'create_crypto_payment_output';
6880
+ create_payment: {
6881
+ __typename?: 'payment_output';
6719
6882
  success: boolean;
6720
6883
  payment_id: string;
6721
- deposit_address: string;
6722
- expected_usdt: number;
6884
+ deposit_address?: string | null;
6885
+ expected_usdt?: number | null;
6723
6886
  credits: number;
6724
- network: string;
6725
- currency_id: string;
6887
+ network?: string | null;
6888
+ currency_id?: string | null;
6726
6889
  expires_at: string;
6727
6890
  provider: string;
6728
6891
  status: string;
@@ -6733,11 +6896,13 @@ export type CreateCryptoPaymentMutation = {
6733
6896
  qr_code_data_url?: string | null;
6734
6897
  top_up_payment_uri?: string | null;
6735
6898
  top_up_qr_code_data_url?: string | null;
6736
- required_confirmations: number;
6737
- confirmations: number;
6899
+ required_confirmations?: number | null;
6900
+ confirmations?: number | null;
6738
6901
  amount_paid_usdt?: number | null;
6739
6902
  granted_at?: string | null;
6740
6903
  tx_hash?: string | null;
6904
+ currency?: string | null;
6905
+ detail?: string | null;
6741
6906
  };
6742
6907
  };
6743
6908
  export type GetUserSubscriptionCreditsQueryVariables = Exact<{
@@ -6768,23 +6933,24 @@ export type GetCryptoPaymentCurrenciesQuery = {
6768
6933
  min_usdt: any;
6769
6934
  }>;
6770
6935
  };
6771
- export type GetCryptoPaymentQueryVariables = Exact<{
6936
+ export type GetPaymentQueryVariables = Exact<{
6937
+ provider: Scalars['String']['input'];
6772
6938
  id: Scalars['uuid']['input'];
6773
6939
  }>;
6774
- export type GetCryptoPaymentQuery = {
6940
+ export type GetPaymentQuery = {
6775
6941
  __typename?: 'query_root';
6776
- get_crypto_payment_status: {
6777
- __typename?: 'crypto_payment_status_output';
6942
+ get_payment_status: {
6943
+ __typename?: 'payment_output';
6778
6944
  success: boolean;
6779
6945
  payment_id: string;
6780
6946
  provider: string;
6781
6947
  status: string;
6782
6948
  credits: number;
6783
- expected_usdt: number;
6949
+ expected_usdt?: number | null;
6784
6950
  amount_paid_usdt?: number | null;
6785
- deposit_address: string;
6786
- currency_id: string;
6787
- network: string;
6951
+ deposit_address?: string | null;
6952
+ currency_id?: string | null;
6953
+ network?: string | null;
6788
6954
  expires_at: string;
6789
6955
  granted_at?: string | null;
6790
6956
  tx_hash?: string | null;
@@ -6795,10 +6961,32 @@ export type GetCryptoPaymentQuery = {
6795
6961
  qr_code_data_url?: string | null;
6796
6962
  top_up_payment_uri?: string | null;
6797
6963
  top_up_qr_code_data_url?: string | null;
6798
- required_confirmations: number;
6799
- confirmations: number;
6964
+ required_confirmations?: number | null;
6965
+ confirmations?: number | null;
6966
+ currency?: string | null;
6967
+ detail?: string | null;
6800
6968
  };
6801
6969
  };
6970
+ export type GetPaymentsQueryVariables = Exact<{
6971
+ limit?: InputMaybe<Scalars['Int']['input']>;
6972
+ offset?: InputMaybe<Scalars['Int']['input']>;
6973
+ }>;
6974
+ export type GetPaymentsQuery = {
6975
+ __typename?: 'query_root';
6976
+ payments: Array<{
6977
+ __typename?: 'payment_output';
6978
+ payment_id: string;
6979
+ provider: string;
6980
+ kind?: string | null;
6981
+ status: string;
6982
+ credits: number;
6983
+ amount: string;
6984
+ currency?: string | null;
6985
+ expires_at: string;
6986
+ granted_at?: string | null;
6987
+ created_at?: string | null;
6988
+ }>;
6989
+ };
6802
6990
  export type ModelsQueryVariables = Exact<{
6803
6991
  [key: string]: never;
6804
6992
  }>;
@@ -6813,7 +7001,11 @@ export type ModelsQuery = {
6813
7001
  aliases: Array<string>;
6814
7002
  description: string;
6815
7003
  long_description?: string | null;
7004
+ icon_url?: string | null;
7005
+ poster_url?: string | null;
7006
+ max_input_images?: number | null;
6816
7007
  featured: boolean;
7008
+ quality_score?: any | null;
6817
7009
  sort_order: number;
6818
7010
  provider_info: {
6819
7011
  __typename?: 'providers';
@@ -7090,6 +7282,11 @@ export type PipelineModelsQuery = {
7090
7282
  public_name?: string | null;
7091
7283
  description: string;
7092
7284
  provider: string;
7285
+ icon_url?: string | null;
7286
+ provider_info: {
7287
+ __typename?: 'providers';
7288
+ label?: string | null;
7289
+ };
7093
7290
  translations: Array<{
7094
7291
  __typename?: 'model_translations';
7095
7292
  locale: string;
@@ -7146,6 +7343,8 @@ export type GetPipelineRunQuery = {
7146
7343
  output?: any | null;
7147
7344
  error_message?: string | null;
7148
7345
  credits_charged?: number | null;
7346
+ parent_run_id?: any | null;
7347
+ agent_actual_credits_mc?: number | null;
7149
7348
  created_at: any;
7150
7349
  completed_at?: any | null;
7151
7350
  share_token?: any | null;
@@ -7195,6 +7394,8 @@ export type GetPipelineRunsQuery = {
7195
7394
  output?: any | null;
7196
7395
  error_message?: string | null;
7197
7396
  credits_charged?: number | null;
7397
+ parent_run_id?: any | null;
7398
+ agent_actual_credits_mc?: number | null;
7198
7399
  created_at: any;
7199
7400
  completed_at?: any | null;
7200
7401
  share_token?: any | null;
@@ -7254,6 +7455,8 @@ export type GetPipelineRunsBySlugQuery = {
7254
7455
  output?: any | null;
7255
7456
  error_message?: string | null;
7256
7457
  credits_charged?: number | null;
7458
+ parent_run_id?: any | null;
7459
+ agent_actual_credits_mc?: number | null;
7257
7460
  created_at: any;
7258
7461
  completed_at?: any | null;
7259
7462
  share_token?: any | null;
@@ -7498,59 +7701,6 @@ export type CancelSubscriptionPlanChangeMutation = {
7498
7701
  cancelled: boolean;
7499
7702
  };
7500
7703
  };
7501
- export type CreateCheckoutSessionMutationVariables = Exact<{
7502
- whop_plan_id: Scalars['String']['input'];
7503
- affiliate_code?: InputMaybe<Scalars['String']['input']>;
7504
- }>;
7505
- export type CreateCheckoutSessionMutation = {
7506
- __typename?: 'mutation_root';
7507
- create_checkout_session: {
7508
- __typename?: 'create_checkout_session_output';
7509
- success: boolean;
7510
- url: string;
7511
- };
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
- };
7554
7704
  export type WatchPipelineRunSubscriptionVariables = Exact<{
7555
7705
  run_id: Scalars['uuid']['input'];
7556
7706
  }>;
@@ -7564,6 +7714,8 @@ export type WatchPipelineRunSubscription = {
7564
7714
  output?: any | null;
7565
7715
  error_message?: string | null;
7566
7716
  credits_charged?: number | null;
7717
+ parent_run_id?: any | null;
7718
+ agent_actual_credits_mc?: number | null;
7567
7719
  created_at: any;
7568
7720
  completed_at?: any | null;
7569
7721
  pipeline: {
@@ -7601,6 +7753,56 @@ export type WatchActivePipelineRunsSubscription = {
7601
7753
  };
7602
7754
  }>;
7603
7755
  };
7756
+ export type WatchPipelineRunsBySlugSubscriptionVariables = Exact<{
7757
+ slug: Scalars['String']['input'];
7758
+ limit?: InputMaybe<Scalars['Int']['input']>;
7759
+ offset?: InputMaybe<Scalars['Int']['input']>;
7760
+ }>;
7761
+ export type WatchPipelineRunsBySlugSubscription = {
7762
+ __typename?: 'subscription_root';
7763
+ pipeline_runs: Array<{
7764
+ __typename?: 'pipeline_runs';
7765
+ id: any;
7766
+ status: string;
7767
+ input: any;
7768
+ output?: any | null;
7769
+ error_message?: string | null;
7770
+ credits_charged?: number | null;
7771
+ created_at: any;
7772
+ completed_at?: any | null;
7773
+ share_token?: any | null;
7774
+ share_watermark: boolean;
7775
+ pipeline: {
7776
+ __typename?: 'pipelines';
7777
+ name: string;
7778
+ slug: string;
7779
+ output_schema: any;
7780
+ input_schema: any;
7781
+ ui_schema: any;
7782
+ cancellable: boolean;
7783
+ };
7784
+ assets: Array<{
7785
+ __typename?: 'assets';
7786
+ id: any;
7787
+ type: string;
7788
+ url: string;
7789
+ thumbnail_url?: string | null;
7790
+ }>;
7791
+ }>;
7792
+ };
7793
+ export type WatchPipelineRunCountBySlugSubscriptionVariables = Exact<{
7794
+ slug: Scalars['String']['input'];
7795
+ }>;
7796
+ export type WatchPipelineRunCountBySlugSubscription = {
7797
+ __typename?: 'subscription_root';
7798
+ pipeline_runs_aggregate: {
7799
+ __typename?: 'pipeline_runs_aggregate';
7800
+ aggregate?: {
7801
+ __typename?: 'pipeline_runs_aggregate_fields';
7802
+ count: number;
7803
+ } | null;
7804
+ };
7805
+ };
7604
7806
  export type WatchNotificationsSubscriptionVariables = Exact<{
7605
7807
  limit: Scalars['Int']['input'];
7606
7808
  }>;
@@ -7628,7 +7830,8 @@ export type WatchBillingUpdatesSubscription = {
7628
7830
  }>;
7629
7831
  };
7630
7832
  export type GetMyApiKeysQueryVariables = Exact<{
7631
- [key: string]: never;
7833
+ limit: Scalars['Int']['input'];
7834
+ offset: Scalars['Int']['input'];
7632
7835
  }>;
7633
7836
  export type GetMyApiKeysQuery = {
7634
7837
  __typename?: 'query_root';
@@ -7641,10 +7844,27 @@ export type GetMyApiKeysQuery = {
7641
7844
  created_at: any;
7642
7845
  expires_at: any;
7643
7846
  revoked_at?: any | null;
7847
+ credit_limit_mc?: any | null;
7848
+ reset_period: string;
7849
+ window_start?: any | null;
7850
+ window_used_mc: any;
7851
+ window_reserved_mc: any;
7852
+ lifetime_used_mc: any;
7644
7853
  }>;
7854
+ personal_access_tokens_aggregate: {
7855
+ __typename?: 'personal_access_tokens_aggregate';
7856
+ aggregate?: {
7857
+ __typename?: 'personal_access_tokens_aggregate_fields';
7858
+ count: number;
7859
+ } | null;
7860
+ };
7645
7861
  };
7646
7862
  export type CreatePersonalAccessTokenMutationVariables = Exact<{
7647
7863
  name: Scalars['String']['input'];
7864
+ scopes?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
7865
+ creditLimit?: InputMaybe<Scalars['Int']['input']>;
7866
+ resetPeriod?: InputMaybe<Scalars['String']['input']>;
7867
+ expiresInDays?: InputMaybe<Scalars['Int']['input']>;
7648
7868
  }>;
7649
7869
  export type CreatePersonalAccessTokenMutation = {
7650
7870
  __typename?: 'mutation_root';
@@ -7706,6 +7926,11 @@ export declare const RequestMultipartUploadDocument: DocumentNode;
7706
7926
  export declare const CompleteMultipartUploadDocument: DocumentNode;
7707
7927
  export declare const AbortMultipartUploadDocument: DocumentNode;
7708
7928
  export declare const CreateAssetDocument: DocumentNode;
7929
+ export declare const ImportMediaUrlDocument: DocumentNode;
7930
+ export declare const CancelMediaImportDocument: DocumentNode;
7931
+ export declare const DismissAssetImportDocument: DocumentNode;
7932
+ export declare const AssetImportStatusDocument: DocumentNode;
7933
+ export declare const UserAssetImportsDocument: DocumentNode;
7709
7934
  export declare const DeleteAssetActionDocument: DocumentNode;
7710
7935
  export declare const UpdateAssetTagsDocument: DocumentNode;
7711
7936
  export declare const LoginDocument: DocumentNode;
@@ -7719,10 +7944,11 @@ export declare const RequestPasswordResetDocument: DocumentNode;
7719
7944
  export declare const ResetPasswordDocument: DocumentNode;
7720
7945
  export declare const GetCreditBalanceDocument: DocumentNode;
7721
7946
  export declare const GetCreditHistoryDocument: DocumentNode;
7722
- export declare const CreateCryptoPaymentDocument: DocumentNode;
7947
+ export declare const CreatePaymentDocument: DocumentNode;
7723
7948
  export declare const GetUserSubscriptionCreditsDocument: DocumentNode;
7724
7949
  export declare const GetCryptoPaymentCurrenciesDocument: DocumentNode;
7725
- export declare const GetCryptoPaymentDocument: DocumentNode;
7950
+ export declare const GetPaymentDocument: DocumentNode;
7951
+ export declare const GetPaymentsDocument: DocumentNode;
7726
7952
  export declare const ModelsDocument: DocumentNode;
7727
7953
  export declare const GetNotificationsDocument: DocumentNode;
7728
7954
  export declare const MarkNotificationReadDocument: DocumentNode;
@@ -7750,11 +7976,10 @@ export declare const GetSubscriptionDocument: DocumentNode;
7750
7976
  export declare const GetPendingSubscriptionPlanChangeDocument: DocumentNode;
7751
7977
  export declare const ScheduleSubscriptionPlanChangeDocument: DocumentNode;
7752
7978
  export declare const CancelSubscriptionPlanChangeDocument: DocumentNode;
7753
- export declare const CreateCheckoutSessionDocument: DocumentNode;
7754
- export declare const CreateSbpPaymentDocument: DocumentNode;
7755
- export declare const GetSbpPaymentDocument: DocumentNode;
7756
7979
  export declare const WatchPipelineRunDocument: DocumentNode;
7757
7980
  export declare const WatchActivePipelineRunsDocument: DocumentNode;
7981
+ export declare const WatchPipelineRunsBySlugDocument: DocumentNode;
7982
+ export declare const WatchPipelineRunCountBySlugDocument: DocumentNode;
7758
7983
  export declare const WatchNotificationsDocument: DocumentNode;
7759
7984
  export declare const WatchBillingUpdatesDocument: DocumentNode;
7760
7985
  export declare const GetMyApiKeysDocument: DocumentNode;
@@ -7785,6 +8010,11 @@ export declare function getSdk<C>(requester: Requester<C>): {
7785
8010
  CompleteMultipartUpload(variables: CompleteMultipartUploadMutationVariables, options?: C): Promise<CompleteMultipartUploadMutation>;
7786
8011
  AbortMultipartUpload(variables: AbortMultipartUploadMutationVariables, options?: C): Promise<AbortMultipartUploadMutation>;
7787
8012
  CreateAsset(variables: CreateAssetMutationVariables, options?: C): Promise<CreateAssetMutation>;
8013
+ ImportMediaURL(variables: ImportMediaUrlMutationVariables, options?: C): Promise<ImportMediaUrlMutation>;
8014
+ CancelMediaImport(variables: CancelMediaImportMutationVariables, options?: C): Promise<CancelMediaImportMutation>;
8015
+ DismissAssetImport(variables: DismissAssetImportMutationVariables, options?: C): Promise<DismissAssetImportMutation>;
8016
+ AssetImportStatus(variables: AssetImportStatusQueryVariables, options?: C): Promise<AssetImportStatusQuery>;
8017
+ UserAssetImports(variables: UserAssetImportsQueryVariables, options?: C): Promise<UserAssetImportsQuery>;
7788
8018
  DeleteAssetAction(variables: DeleteAssetActionMutationVariables, options?: C): Promise<DeleteAssetActionMutation>;
7789
8019
  UpdateAssetTags(variables: UpdateAssetTagsMutationVariables, options?: C): Promise<UpdateAssetTagsMutation>;
7790
8020
  Login(variables: LoginMutationVariables, options?: C): Promise<LoginMutation>;
@@ -7798,10 +8028,11 @@ export declare function getSdk<C>(requester: Requester<C>): {
7798
8028
  ResetPassword(variables: ResetPasswordMutationVariables, options?: C): Promise<ResetPasswordMutation>;
7799
8029
  GetCreditBalance(variables?: GetCreditBalanceQueryVariables, options?: C): Promise<GetCreditBalanceQuery>;
7800
8030
  GetCreditHistory(variables?: GetCreditHistoryQueryVariables, options?: C): Promise<GetCreditHistoryQuery>;
7801
- CreateCryptoPayment(variables: CreateCryptoPaymentMutationVariables, options?: C): Promise<CreateCryptoPaymentMutation>;
8031
+ CreatePayment(variables: CreatePaymentMutationVariables, options?: C): Promise<CreatePaymentMutation>;
7802
8032
  GetUserSubscriptionCredits(variables?: GetUserSubscriptionCreditsQueryVariables, options?: C): Promise<GetUserSubscriptionCreditsQuery>;
7803
8033
  GetCryptoPaymentCurrencies(variables: GetCryptoPaymentCurrenciesQueryVariables, options?: C): Promise<GetCryptoPaymentCurrenciesQuery>;
7804
- GetCryptoPayment(variables: GetCryptoPaymentQueryVariables, options?: C): Promise<GetCryptoPaymentQuery>;
8034
+ GetPayment(variables: GetPaymentQueryVariables, options?: C): Promise<GetPaymentQuery>;
8035
+ GetPayments(variables?: GetPaymentsQueryVariables, options?: C): Promise<GetPaymentsQuery>;
7805
8036
  Models(variables?: ModelsQueryVariables, options?: C): Promise<ModelsQuery>;
7806
8037
  GetNotifications(variables: GetNotificationsQueryVariables, options?: C): Promise<GetNotificationsQuery>;
7807
8038
  MarkNotificationRead(variables: MarkNotificationReadMutationVariables, options?: C): Promise<MarkNotificationReadMutation>;
@@ -7829,14 +8060,13 @@ export declare function getSdk<C>(requester: Requester<C>): {
7829
8060
  GetPendingSubscriptionPlanChange(variables?: GetPendingSubscriptionPlanChangeQueryVariables, options?: C): Promise<GetPendingSubscriptionPlanChangeQuery>;
7830
8061
  ScheduleSubscriptionPlanChange(variables: ScheduleSubscriptionPlanChangeMutationVariables, options?: C): Promise<ScheduleSubscriptionPlanChangeMutation>;
7831
8062
  CancelSubscriptionPlanChange(variables?: CancelSubscriptionPlanChangeMutationVariables, options?: C): Promise<CancelSubscriptionPlanChangeMutation>;
7832
- CreateCheckoutSession(variables: CreateCheckoutSessionMutationVariables, options?: C): Promise<CreateCheckoutSessionMutation>;
7833
- CreateSBPPayment(variables: CreateSbpPaymentMutationVariables, options?: C): Promise<CreateSbpPaymentMutation>;
7834
- GetSBPPayment(variables: GetSbpPaymentQueryVariables, options?: C): Promise<GetSbpPaymentQuery>;
7835
8063
  WatchPipelineRun(variables: WatchPipelineRunSubscriptionVariables, options?: C): AsyncIterable<WatchPipelineRunSubscription>;
7836
8064
  WatchActivePipelineRuns(variables?: WatchActivePipelineRunsSubscriptionVariables, options?: C): AsyncIterable<WatchActivePipelineRunsSubscription>;
8065
+ WatchPipelineRunsBySlug(variables: WatchPipelineRunsBySlugSubscriptionVariables, options?: C): AsyncIterable<WatchPipelineRunsBySlugSubscription>;
8066
+ WatchPipelineRunCountBySlug(variables: WatchPipelineRunCountBySlugSubscriptionVariables, options?: C): AsyncIterable<WatchPipelineRunCountBySlugSubscription>;
7837
8067
  WatchNotifications(variables: WatchNotificationsSubscriptionVariables, options?: C): AsyncIterable<WatchNotificationsSubscription>;
7838
8068
  WatchBillingUpdates(variables?: WatchBillingUpdatesSubscriptionVariables, options?: C): AsyncIterable<WatchBillingUpdatesSubscription>;
7839
- GetMyApiKeys(variables?: GetMyApiKeysQueryVariables, options?: C): Promise<GetMyApiKeysQuery>;
8069
+ GetMyApiKeys(variables: GetMyApiKeysQueryVariables, options?: C): Promise<GetMyApiKeysQuery>;
7840
8070
  CreatePersonalAccessToken(variables: CreatePersonalAccessTokenMutationVariables, options?: C): Promise<CreatePersonalAccessTokenMutation>;
7841
8071
  RevokePersonalAccessToken(variables: RevokePersonalAccessTokenMutationVariables, options?: C): Promise<RevokePersonalAccessTokenMutation>;
7842
8072
  GetCurrentUser(variables?: GetCurrentUserQueryVariables, options?: C): Promise<GetCurrentUserQuery>;