@pipe2-ai/sdk 2026.7.2 → 2026.7.4

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.
@@ -1283,11 +1283,74 @@ export type Locales_Stream_Cursor_Value_Input = {
1283
1283
  native_name?: InputMaybe<Scalars['String']['input']>;
1284
1284
  sort_order?: InputMaybe<Scalars['Int']['input']>;
1285
1285
  };
1286
+ export type Logout_Output = {
1287
+ __typename?: 'logout_output';
1288
+ success: Scalars['Boolean']['output'];
1289
+ };
1290
+ /** columns and relationships of "model_capabilities" */
1291
+ export type Model_Capabilities = {
1292
+ __typename?: 'model_capabilities';
1293
+ capability_slug: Scalars['String']['output'];
1294
+ /** An object relationship */
1295
+ model: Models;
1296
+ model_slug: Scalars['String']['output'];
1297
+ };
1298
+ /** order by aggregate values of table "model_capabilities" */
1299
+ export type Model_Capabilities_Aggregate_Order_By = {
1300
+ count?: InputMaybe<Order_By>;
1301
+ max?: InputMaybe<Model_Capabilities_Max_Order_By>;
1302
+ min?: InputMaybe<Model_Capabilities_Min_Order_By>;
1303
+ };
1304
+ /** Boolean expression to filter rows from the table "model_capabilities". All fields are combined with a logical 'AND'. */
1305
+ export type Model_Capabilities_Bool_Exp = {
1306
+ _and?: InputMaybe<Array<Model_Capabilities_Bool_Exp>>;
1307
+ _not?: InputMaybe<Model_Capabilities_Bool_Exp>;
1308
+ _or?: InputMaybe<Array<Model_Capabilities_Bool_Exp>>;
1309
+ capability_slug?: InputMaybe<String_Comparison_Exp>;
1310
+ model?: InputMaybe<Models_Bool_Exp>;
1311
+ model_slug?: InputMaybe<String_Comparison_Exp>;
1312
+ };
1313
+ /** order by max() on columns of table "model_capabilities" */
1314
+ export type Model_Capabilities_Max_Order_By = {
1315
+ capability_slug?: InputMaybe<Order_By>;
1316
+ model_slug?: InputMaybe<Order_By>;
1317
+ };
1318
+ /** order by min() on columns of table "model_capabilities" */
1319
+ export type Model_Capabilities_Min_Order_By = {
1320
+ capability_slug?: InputMaybe<Order_By>;
1321
+ model_slug?: InputMaybe<Order_By>;
1322
+ };
1323
+ /** Ordering options when selecting data from "model_capabilities". */
1324
+ export type Model_Capabilities_Order_By = {
1325
+ capability_slug?: InputMaybe<Order_By>;
1326
+ model?: InputMaybe<Models_Order_By>;
1327
+ model_slug?: InputMaybe<Order_By>;
1328
+ };
1329
+ /** select columns of table "model_capabilities" */
1330
+ export declare enum Model_Capabilities_Select_Column {
1331
+ /** column name */
1332
+ CapabilitySlug = "capability_slug",
1333
+ /** column name */
1334
+ ModelSlug = "model_slug"
1335
+ }
1336
+ /** Streaming cursor of the table "model_capabilities" */
1337
+ export type Model_Capabilities_Stream_Cursor_Input = {
1338
+ /** Stream column input with initial value */
1339
+ initial_value: Model_Capabilities_Stream_Cursor_Value_Input;
1340
+ /** cursor ordering */
1341
+ ordering?: InputMaybe<Cursor_Ordering>;
1342
+ };
1343
+ /** Initial value of the column from where the streaming should start */
1344
+ export type Model_Capabilities_Stream_Cursor_Value_Input = {
1345
+ capability_slug?: InputMaybe<Scalars['String']['input']>;
1346
+ model_slug?: InputMaybe<Scalars['String']['input']>;
1347
+ };
1286
1348
  /** columns and relationships of "model_translations" */
1287
1349
  export type Model_Translations = {
1288
1350
  __typename?: 'model_translations';
1289
1351
  description?: Maybe<Scalars['String']['output']>;
1290
1352
  locale: Scalars['String']['output'];
1353
+ long_description?: Maybe<Scalars['String']['output']>;
1291
1354
  /** An object relationship */
1292
1355
  model: Models;
1293
1356
  model_slug: Scalars['String']['output'];
@@ -1306,6 +1369,7 @@ export type Model_Translations_Bool_Exp = {
1306
1369
  _or?: InputMaybe<Array<Model_Translations_Bool_Exp>>;
1307
1370
  description?: InputMaybe<String_Comparison_Exp>;
1308
1371
  locale?: InputMaybe<String_Comparison_Exp>;
1372
+ long_description?: InputMaybe<String_Comparison_Exp>;
1309
1373
  model?: InputMaybe<Models_Bool_Exp>;
1310
1374
  model_slug?: InputMaybe<String_Comparison_Exp>;
1311
1375
  updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
@@ -1314,6 +1378,7 @@ export type Model_Translations_Bool_Exp = {
1314
1378
  export type Model_Translations_Max_Order_By = {
1315
1379
  description?: InputMaybe<Order_By>;
1316
1380
  locale?: InputMaybe<Order_By>;
1381
+ long_description?: InputMaybe<Order_By>;
1317
1382
  model_slug?: InputMaybe<Order_By>;
1318
1383
  updated_at?: InputMaybe<Order_By>;
1319
1384
  };
@@ -1321,6 +1386,7 @@ export type Model_Translations_Max_Order_By = {
1321
1386
  export type Model_Translations_Min_Order_By = {
1322
1387
  description?: InputMaybe<Order_By>;
1323
1388
  locale?: InputMaybe<Order_By>;
1389
+ long_description?: InputMaybe<Order_By>;
1324
1390
  model_slug?: InputMaybe<Order_By>;
1325
1391
  updated_at?: InputMaybe<Order_By>;
1326
1392
  };
@@ -1328,6 +1394,7 @@ export type Model_Translations_Min_Order_By = {
1328
1394
  export type Model_Translations_Order_By = {
1329
1395
  description?: InputMaybe<Order_By>;
1330
1396
  locale?: InputMaybe<Order_By>;
1397
+ long_description?: InputMaybe<Order_By>;
1331
1398
  model?: InputMaybe<Models_Order_By>;
1332
1399
  model_slug?: InputMaybe<Order_By>;
1333
1400
  updated_at?: InputMaybe<Order_By>;
@@ -1339,6 +1406,8 @@ export declare enum Model_Translations_Select_Column {
1339
1406
  /** column name */
1340
1407
  Locale = "locale",
1341
1408
  /** column name */
1409
+ LongDescription = "long_description",
1410
+ /** column name */
1342
1411
  ModelSlug = "model_slug",
1343
1412
  /** column name */
1344
1413
  UpdatedAt = "updated_at"
@@ -1354,24 +1423,41 @@ export type Model_Translations_Stream_Cursor_Input = {
1354
1423
  export type Model_Translations_Stream_Cursor_Value_Input = {
1355
1424
  description?: InputMaybe<Scalars['String']['input']>;
1356
1425
  locale?: InputMaybe<Scalars['String']['input']>;
1426
+ long_description?: InputMaybe<Scalars['String']['input']>;
1357
1427
  model_slug?: InputMaybe<Scalars['String']['input']>;
1358
1428
  updated_at?: InputMaybe<Scalars['timestamptz']['input']>;
1359
1429
  };
1360
1430
  /** columns and relationships of "models" */
1361
1431
  export type Models = {
1362
1432
  __typename?: 'models';
1433
+ aliases: Array<Scalars['String']['output']>;
1434
+ /** An array relationship */
1435
+ capabilities: Array<Model_Capabilities>;
1363
1436
  description: Scalars['String']['output'];
1437
+ featured: Scalars['Boolean']['output'];
1364
1438
  is_active: Scalars['Boolean']['output'];
1365
1439
  label: Scalars['String']['output'];
1440
+ long_description?: Maybe<Scalars['String']['output']>;
1366
1441
  /** An array relationship */
1367
1442
  pipeline_models: Array<Pipeline_Models>;
1368
1443
  provider: Scalars['String']['output'];
1444
+ /** An object relationship */
1445
+ provider_info: Providers;
1446
+ public_name?: Maybe<Scalars['String']['output']>;
1369
1447
  slug: Scalars['String']['output'];
1370
1448
  sort_order: Scalars['Int']['output'];
1371
1449
  /** An array relationship */
1372
1450
  translations: Array<Model_Translations>;
1373
1451
  };
1374
1452
  /** columns and relationships of "models" */
1453
+ export type ModelsCapabilitiesArgs = {
1454
+ distinct_on?: InputMaybe<Array<Model_Capabilities_Select_Column>>;
1455
+ limit?: InputMaybe<Scalars['Int']['input']>;
1456
+ offset?: InputMaybe<Scalars['Int']['input']>;
1457
+ order_by?: InputMaybe<Array<Model_Capabilities_Order_By>>;
1458
+ where?: InputMaybe<Model_Capabilities_Bool_Exp>;
1459
+ };
1460
+ /** columns and relationships of "models" */
1375
1461
  export type ModelsPipeline_ModelsArgs = {
1376
1462
  distinct_on?: InputMaybe<Array<Pipeline_Models_Select_Column>>;
1377
1463
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1392,37 +1478,57 @@ export type Models_Bool_Exp = {
1392
1478
  _and?: InputMaybe<Array<Models_Bool_Exp>>;
1393
1479
  _not?: InputMaybe<Models_Bool_Exp>;
1394
1480
  _or?: InputMaybe<Array<Models_Bool_Exp>>;
1481
+ aliases?: InputMaybe<String_Array_Comparison_Exp>;
1482
+ capabilities?: InputMaybe<Model_Capabilities_Bool_Exp>;
1395
1483
  description?: InputMaybe<String_Comparison_Exp>;
1484
+ featured?: InputMaybe<Boolean_Comparison_Exp>;
1396
1485
  is_active?: InputMaybe<Boolean_Comparison_Exp>;
1397
1486
  label?: InputMaybe<String_Comparison_Exp>;
1487
+ long_description?: InputMaybe<String_Comparison_Exp>;
1398
1488
  pipeline_models?: InputMaybe<Pipeline_Models_Bool_Exp>;
1399
1489
  provider?: InputMaybe<String_Comparison_Exp>;
1490
+ provider_info?: InputMaybe<Providers_Bool_Exp>;
1491
+ public_name?: InputMaybe<String_Comparison_Exp>;
1400
1492
  slug?: InputMaybe<String_Comparison_Exp>;
1401
1493
  sort_order?: InputMaybe<Int_Comparison_Exp>;
1402
1494
  translations?: InputMaybe<Model_Translations_Bool_Exp>;
1403
1495
  };
1404
1496
  /** Ordering options when selecting data from "models". */
1405
1497
  export type Models_Order_By = {
1498
+ aliases?: InputMaybe<Order_By>;
1499
+ capabilities_aggregate?: InputMaybe<Model_Capabilities_Aggregate_Order_By>;
1406
1500
  description?: InputMaybe<Order_By>;
1501
+ featured?: InputMaybe<Order_By>;
1407
1502
  is_active?: InputMaybe<Order_By>;
1408
1503
  label?: InputMaybe<Order_By>;
1504
+ long_description?: InputMaybe<Order_By>;
1409
1505
  pipeline_models_aggregate?: InputMaybe<Pipeline_Models_Aggregate_Order_By>;
1410
1506
  provider?: InputMaybe<Order_By>;
1507
+ provider_info?: InputMaybe<Providers_Order_By>;
1508
+ public_name?: InputMaybe<Order_By>;
1411
1509
  slug?: InputMaybe<Order_By>;
1412
1510
  sort_order?: InputMaybe<Order_By>;
1413
1511
  translations_aggregate?: InputMaybe<Model_Translations_Aggregate_Order_By>;
1414
1512
  };
1415
1513
  /** select columns of table "models" */
1416
1514
  export declare enum Models_Select_Column {
1515
+ /** column name */
1516
+ Aliases = "aliases",
1417
1517
  /** column name */
1418
1518
  Description = "description",
1419
1519
  /** column name */
1520
+ Featured = "featured",
1521
+ /** column name */
1420
1522
  IsActive = "is_active",
1421
1523
  /** column name */
1422
1524
  Label = "label",
1423
1525
  /** column name */
1526
+ LongDescription = "long_description",
1527
+ /** column name */
1424
1528
  Provider = "provider",
1425
1529
  /** column name */
1530
+ PublicName = "public_name",
1531
+ /** column name */
1426
1532
  Slug = "slug",
1427
1533
  /** column name */
1428
1534
  SortOrder = "sort_order"
@@ -1436,10 +1542,14 @@ export type Models_Stream_Cursor_Input = {
1436
1542
  };
1437
1543
  /** Initial value of the column from where the streaming should start */
1438
1544
  export type Models_Stream_Cursor_Value_Input = {
1545
+ aliases?: InputMaybe<Array<Scalars['String']['input']>>;
1439
1546
  description?: InputMaybe<Scalars['String']['input']>;
1547
+ featured?: InputMaybe<Scalars['Boolean']['input']>;
1440
1548
  is_active?: InputMaybe<Scalars['Boolean']['input']>;
1441
1549
  label?: InputMaybe<Scalars['String']['input']>;
1550
+ long_description?: InputMaybe<Scalars['String']['input']>;
1442
1551
  provider?: InputMaybe<Scalars['String']['input']>;
1552
+ public_name?: InputMaybe<Scalars['String']['input']>;
1443
1553
  slug?: InputMaybe<Scalars['String']['input']>;
1444
1554
  sort_order?: InputMaybe<Scalars['Int']['input']>;
1445
1555
  };
@@ -1493,6 +1603,8 @@ export type Mutation_Root = {
1493
1603
  init_verification_flow: Auth_Flow;
1494
1604
  /** Sign in with email and password */
1495
1605
  login: Auth_Result;
1606
+ /** Revoke all Kratos sessions for the current user */
1607
+ logout: Logout_Output;
1496
1608
  /** Create an account with email and password */
1497
1609
  register: Auth_Result;
1498
1610
  /** Send an email link to confirm account deletion. No changes are made until the link is clicked. */
@@ -1511,8 +1623,6 @@ export type Mutation_Root = {
1511
1623
  revoke_personal_access_token: Revoke_Personal_Access_Token_Output;
1512
1624
  /** Start a pipeline run */
1513
1625
  run_pipeline?: Maybe<Run_Pipeline_Output>;
1514
- /** Begin social sign-in and return the provider redirect URL */
1515
- submit_social_login: Social_Login_Output;
1516
1626
  /** Submit an email verification code */
1517
1627
  submit_verification_code: Auth_Result;
1518
1628
  /** update data of the table: "affiliate_codes" */
@@ -1660,10 +1770,6 @@ export type Mutation_RootRun_PipelineArgs = {
1660
1770
  pipeline_slug: Scalars['String']['input'];
1661
1771
  };
1662
1772
  /** mutation root */
1663
- export type Mutation_RootSubmit_Social_LoginArgs = {
1664
- provider: Scalars['String']['input'];
1665
- };
1666
- /** mutation root */
1667
1773
  export type Mutation_RootSubmit_Verification_CodeArgs = {
1668
1774
  code: Scalars['String']['input'];
1669
1775
  csrf_token: Scalars['String']['input'];
@@ -3344,6 +3450,44 @@ export type Plans_Stream_Cursor_Value_Input = {
3344
3450
  slug?: InputMaybe<Scalars['String']['input']>;
3345
3451
  sort_order?: InputMaybe<Scalars['Int']['input']>;
3346
3452
  };
3453
+ /** columns and relationships of "providers" */
3454
+ export type Providers = {
3455
+ __typename?: 'providers';
3456
+ label?: Maybe<Scalars['String']['output']>;
3457
+ slug: Scalars['String']['output'];
3458
+ };
3459
+ /** Boolean expression to filter rows from the table "providers". All fields are combined with a logical 'AND'. */
3460
+ export type Providers_Bool_Exp = {
3461
+ _and?: InputMaybe<Array<Providers_Bool_Exp>>;
3462
+ _not?: InputMaybe<Providers_Bool_Exp>;
3463
+ _or?: InputMaybe<Array<Providers_Bool_Exp>>;
3464
+ label?: InputMaybe<String_Comparison_Exp>;
3465
+ slug?: InputMaybe<String_Comparison_Exp>;
3466
+ };
3467
+ /** Ordering options when selecting data from "providers". */
3468
+ export type Providers_Order_By = {
3469
+ label?: InputMaybe<Order_By>;
3470
+ slug?: InputMaybe<Order_By>;
3471
+ };
3472
+ /** select columns of table "providers" */
3473
+ export declare enum Providers_Select_Column {
3474
+ /** column name */
3475
+ Label = "label",
3476
+ /** column name */
3477
+ Slug = "slug"
3478
+ }
3479
+ /** Streaming cursor of the table "providers" */
3480
+ export type Providers_Stream_Cursor_Input = {
3481
+ /** Stream column input with initial value */
3482
+ initial_value: Providers_Stream_Cursor_Value_Input;
3483
+ /** cursor ordering */
3484
+ ordering?: InputMaybe<Cursor_Ordering>;
3485
+ };
3486
+ /** Initial value of the column from where the streaming should start */
3487
+ export type Providers_Stream_Cursor_Value_Input = {
3488
+ label?: InputMaybe<Scalars['String']['input']>;
3489
+ slug?: InputMaybe<Scalars['String']['input']>;
3490
+ };
3347
3491
  export type Query_Root = {
3348
3492
  __typename?: 'query_root';
3349
3493
  /** fetch data from the table: "affiliate_codes" */
@@ -3388,6 +3532,10 @@ export type Query_Root = {
3388
3532
  locales: Array<Locales>;
3389
3533
  /** fetch data from the table: "locales" using primary key columns */
3390
3534
  locales_by_pk?: Maybe<Locales>;
3535
+ /** fetch data from the table: "model_capabilities" */
3536
+ model_capabilities: Array<Model_Capabilities>;
3537
+ /** fetch data from the table: "model_capabilities" using primary key columns */
3538
+ model_capabilities_by_pk?: Maybe<Model_Capabilities>;
3391
3539
  /** fetch data from the table: "model_translations" */
3392
3540
  model_translations: Array<Model_Translations>;
3393
3541
  /** fetch data from the table: "model_translations" using primary key columns */
@@ -3446,6 +3594,10 @@ export type Query_Root = {
3446
3594
  plans: Array<Plans>;
3447
3595
  /** fetch data from the table: "plans" using primary key columns */
3448
3596
  plans_by_pk?: Maybe<Plans>;
3597
+ /** fetch data from the table: "providers" */
3598
+ providers: Array<Providers>;
3599
+ /** fetch data from the table: "providers" using primary key columns */
3600
+ providers_by_pk?: Maybe<Providers>;
3449
3601
  /** An array relationship */
3450
3602
  subscriptions: Array<Subscriptions>;
3451
3603
  /** fetch data from the table: "subscriptions" using primary key columns */
@@ -3540,6 +3692,17 @@ export type Query_RootLocalesArgs = {
3540
3692
  export type Query_RootLocales_By_PkArgs = {
3541
3693
  code: Scalars['String']['input'];
3542
3694
  };
3695
+ export type Query_RootModel_CapabilitiesArgs = {
3696
+ distinct_on?: InputMaybe<Array<Model_Capabilities_Select_Column>>;
3697
+ limit?: InputMaybe<Scalars['Int']['input']>;
3698
+ offset?: InputMaybe<Scalars['Int']['input']>;
3699
+ order_by?: InputMaybe<Array<Model_Capabilities_Order_By>>;
3700
+ where?: InputMaybe<Model_Capabilities_Bool_Exp>;
3701
+ };
3702
+ export type Query_RootModel_Capabilities_By_PkArgs = {
3703
+ capability_slug: Scalars['String']['input'];
3704
+ model_slug: Scalars['String']['input'];
3705
+ };
3543
3706
  export type Query_RootModel_TranslationsArgs = {
3544
3707
  distinct_on?: InputMaybe<Array<Model_Translations_Select_Column>>;
3545
3708
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -3689,6 +3852,16 @@ export type Query_RootPlansArgs = {
3689
3852
  export type Query_RootPlans_By_PkArgs = {
3690
3853
  id: Scalars['uuid']['input'];
3691
3854
  };
3855
+ export type Query_RootProvidersArgs = {
3856
+ distinct_on?: InputMaybe<Array<Providers_Select_Column>>;
3857
+ limit?: InputMaybe<Scalars['Int']['input']>;
3858
+ offset?: InputMaybe<Scalars['Int']['input']>;
3859
+ order_by?: InputMaybe<Array<Providers_Order_By>>;
3860
+ where?: InputMaybe<Providers_Bool_Exp>;
3861
+ };
3862
+ export type Query_RootProviders_By_PkArgs = {
3863
+ slug: Scalars['String']['input'];
3864
+ };
3692
3865
  export type Query_RootSubscriptionsArgs = {
3693
3866
  distinct_on?: InputMaybe<Array<Subscriptions_Select_Column>>;
3694
3867
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -3747,11 +3920,6 @@ export type Run_Pipeline_Output = {
3747
3920
  run_id: Scalars['String']['output'];
3748
3921
  workflow_id: Scalars['String']['output'];
3749
3922
  };
3750
- export type Social_Login_Output = {
3751
- __typename?: 'social_login_output';
3752
- redirect_url: Scalars['String']['output'];
3753
- success: Scalars['Boolean']['output'];
3754
- };
3755
3923
  export type Subscription_Root = {
3756
3924
  __typename?: 'subscription_root';
3757
3925
  /** fetch data from the table: "affiliate_codes" */
@@ -3802,6 +3970,12 @@ export type Subscription_Root = {
3802
3970
  locales_by_pk?: Maybe<Locales>;
3803
3971
  /** fetch data from the table in a streaming manner: "locales" */
3804
3972
  locales_stream: Array<Locales>;
3973
+ /** fetch data from the table: "model_capabilities" */
3974
+ model_capabilities: Array<Model_Capabilities>;
3975
+ /** fetch data from the table: "model_capabilities" using primary key columns */
3976
+ model_capabilities_by_pk?: Maybe<Model_Capabilities>;
3977
+ /** fetch data from the table in a streaming manner: "model_capabilities" */
3978
+ model_capabilities_stream: Array<Model_Capabilities>;
3805
3979
  /** fetch data from the table: "model_translations" */
3806
3980
  model_translations: Array<Model_Translations>;
3807
3981
  /** fetch data from the table: "model_translations" using primary key columns */
@@ -3884,6 +4058,12 @@ export type Subscription_Root = {
3884
4058
  plans_by_pk?: Maybe<Plans>;
3885
4059
  /** fetch data from the table in a streaming manner: "plans" */
3886
4060
  plans_stream: Array<Plans>;
4061
+ /** fetch data from the table: "providers" */
4062
+ providers: Array<Providers>;
4063
+ /** fetch data from the table: "providers" using primary key columns */
4064
+ providers_by_pk?: Maybe<Providers>;
4065
+ /** fetch data from the table in a streaming manner: "providers" */
4066
+ providers_stream: Array<Providers>;
3887
4067
  /** An array relationship */
3888
4068
  subscriptions: Array<Subscriptions>;
3889
4069
  /** fetch data from the table: "subscriptions" using primary key columns */
@@ -4016,6 +4196,22 @@ export type Subscription_RootLocales_StreamArgs = {
4016
4196
  cursor: Array<InputMaybe<Locales_Stream_Cursor_Input>>;
4017
4197
  where?: InputMaybe<Locales_Bool_Exp>;
4018
4198
  };
4199
+ export type Subscription_RootModel_CapabilitiesArgs = {
4200
+ distinct_on?: InputMaybe<Array<Model_Capabilities_Select_Column>>;
4201
+ limit?: InputMaybe<Scalars['Int']['input']>;
4202
+ offset?: InputMaybe<Scalars['Int']['input']>;
4203
+ order_by?: InputMaybe<Array<Model_Capabilities_Order_By>>;
4204
+ where?: InputMaybe<Model_Capabilities_Bool_Exp>;
4205
+ };
4206
+ export type Subscription_RootModel_Capabilities_By_PkArgs = {
4207
+ capability_slug: Scalars['String']['input'];
4208
+ model_slug: Scalars['String']['input'];
4209
+ };
4210
+ export type Subscription_RootModel_Capabilities_StreamArgs = {
4211
+ batch_size: Scalars['Int']['input'];
4212
+ cursor: Array<InputMaybe<Model_Capabilities_Stream_Cursor_Input>>;
4213
+ where?: InputMaybe<Model_Capabilities_Bool_Exp>;
4214
+ };
4019
4215
  export type Subscription_RootModel_TranslationsArgs = {
4020
4216
  distinct_on?: InputMaybe<Array<Model_Translations_Select_Column>>;
4021
4217
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4230,6 +4426,21 @@ export type Subscription_RootPlans_StreamArgs = {
4230
4426
  cursor: Array<InputMaybe<Plans_Stream_Cursor_Input>>;
4231
4427
  where?: InputMaybe<Plans_Bool_Exp>;
4232
4428
  };
4429
+ export type Subscription_RootProvidersArgs = {
4430
+ distinct_on?: InputMaybe<Array<Providers_Select_Column>>;
4431
+ limit?: InputMaybe<Scalars['Int']['input']>;
4432
+ offset?: InputMaybe<Scalars['Int']['input']>;
4433
+ order_by?: InputMaybe<Array<Providers_Order_By>>;
4434
+ where?: InputMaybe<Providers_Bool_Exp>;
4435
+ };
4436
+ export type Subscription_RootProviders_By_PkArgs = {
4437
+ slug: Scalars['String']['input'];
4438
+ };
4439
+ export type Subscription_RootProviders_StreamArgs = {
4440
+ batch_size: Scalars['Int']['input'];
4441
+ cursor: Array<InputMaybe<Providers_Stream_Cursor_Input>>;
4442
+ where?: InputMaybe<Providers_Bool_Exp>;
4443
+ };
4233
4444
  export type Subscription_RootSubscriptionsArgs = {
4234
4445
  distinct_on?: InputMaybe<Array<Subscriptions_Select_Column>>;
4235
4446
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4770,15 +4981,14 @@ export type RegisterMutation = {
4770
4981
  affiliate_id?: string | null;
4771
4982
  };
4772
4983
  };
4773
- export type SubmitSocialLoginMutationVariables = Exact<{
4774
- provider: Scalars['String']['input'];
4984
+ export type LogoutMutationVariables = Exact<{
4985
+ [key: string]: never;
4775
4986
  }>;
4776
- export type SubmitSocialLoginMutation = {
4987
+ export type LogoutMutation = {
4777
4988
  __typename?: 'mutation_root';
4778
- submit_social_login: {
4779
- __typename?: 'social_login_output';
4989
+ logout: {
4990
+ __typename?: 'logout_output';
4780
4991
  success: boolean;
4781
- redirect_url: string;
4782
4992
  };
4783
4993
  };
4784
4994
  export type InitVerificationFlowMutationVariables = Exact<{
@@ -4860,6 +5070,43 @@ export type GetCreditHistoryQuery = {
4860
5070
  reservation_mc?: number | null;
4861
5071
  }>;
4862
5072
  };
5073
+ export type ModelsQueryVariables = Exact<{
5074
+ [key: string]: never;
5075
+ }>;
5076
+ export type ModelsQuery = {
5077
+ __typename?: 'query_root';
5078
+ models: Array<{
5079
+ __typename?: 'models';
5080
+ slug: string;
5081
+ provider: string;
5082
+ label: string;
5083
+ public_name?: string | null;
5084
+ aliases: Array<string>;
5085
+ description: string;
5086
+ long_description?: string | null;
5087
+ featured: boolean;
5088
+ sort_order: number;
5089
+ provider_info: {
5090
+ __typename?: 'providers';
5091
+ label?: string | null;
5092
+ };
5093
+ capabilities: Array<{
5094
+ __typename?: 'model_capabilities';
5095
+ capability_slug: string;
5096
+ }>;
5097
+ pipeline_models: Array<{
5098
+ __typename?: 'pipeline_models';
5099
+ pipeline_slug: string;
5100
+ sort_order: number;
5101
+ }>;
5102
+ translations: Array<{
5103
+ __typename?: 'model_translations';
5104
+ locale: string;
5105
+ description?: string | null;
5106
+ long_description?: string | null;
5107
+ }>;
5108
+ }>;
5109
+ };
4863
5110
  export type GetNotificationsQueryVariables = Exact<{
4864
5111
  limit: Scalars['Int']['input'];
4865
5112
  offset: Scalars['Int']['input'];
@@ -5498,13 +5745,14 @@ export declare const DeleteAssetActionDocument: DocumentNode;
5498
5745
  export declare const UpdateAssetTagsDocument: DocumentNode;
5499
5746
  export declare const LoginDocument: DocumentNode;
5500
5747
  export declare const RegisterDocument: DocumentNode;
5501
- export declare const SubmitSocialLoginDocument: DocumentNode;
5748
+ export declare const LogoutDocument: DocumentNode;
5502
5749
  export declare const InitVerificationFlowDocument: DocumentNode;
5503
5750
  export declare const SubmitVerificationCodeDocument: DocumentNode;
5504
5751
  export declare const RequestPasswordResetDocument: DocumentNode;
5505
5752
  export declare const ResetPasswordDocument: DocumentNode;
5506
5753
  export declare const GetCreditBalanceDocument: DocumentNode;
5507
5754
  export declare const GetCreditHistoryDocument: DocumentNode;
5755
+ export declare const ModelsDocument: DocumentNode;
5508
5756
  export declare const GetNotificationsDocument: DocumentNode;
5509
5757
  export declare const MarkNotificationReadDocument: DocumentNode;
5510
5758
  export declare const MarkAllNotificationsReadDocument: DocumentNode;
@@ -5559,13 +5807,14 @@ export declare function getSdk<C>(requester: Requester<C>): {
5559
5807
  UpdateAssetTags(variables: UpdateAssetTagsMutationVariables, options?: C): Promise<UpdateAssetTagsMutation>;
5560
5808
  Login(variables: LoginMutationVariables, options?: C): Promise<LoginMutation>;
5561
5809
  Register(variables: RegisterMutationVariables, options?: C): Promise<RegisterMutation>;
5562
- SubmitSocialLogin(variables: SubmitSocialLoginMutationVariables, options?: C): Promise<SubmitSocialLoginMutation>;
5810
+ Logout(variables?: LogoutMutationVariables, options?: C): Promise<LogoutMutation>;
5563
5811
  InitVerificationFlow(variables?: InitVerificationFlowMutationVariables, options?: C): Promise<InitVerificationFlowMutation>;
5564
5812
  SubmitVerificationCode(variables: SubmitVerificationCodeMutationVariables, options?: C): Promise<SubmitVerificationCodeMutation>;
5565
5813
  RequestPasswordReset(variables: RequestPasswordResetMutationVariables, options?: C): Promise<RequestPasswordResetMutation>;
5566
5814
  ResetPassword(variables: ResetPasswordMutationVariables, options?: C): Promise<ResetPasswordMutation>;
5567
5815
  GetCreditBalance(variables?: GetCreditBalanceQueryVariables, options?: C): Promise<GetCreditBalanceQuery>;
5568
5816
  GetCreditHistory(variables?: GetCreditHistoryQueryVariables, options?: C): Promise<GetCreditHistoryQuery>;
5817
+ Models(variables?: ModelsQueryVariables, options?: C): Promise<ModelsQuery>;
5569
5818
  GetNotifications(variables: GetNotificationsQueryVariables, options?: C): Promise<GetNotificationsQuery>;
5570
5819
  MarkNotificationRead(variables: MarkNotificationReadMutationVariables, options?: C): Promise<MarkNotificationReadMutation>;
5571
5820
  MarkAllNotificationsRead(variables?: MarkAllNotificationsReadMutationVariables, options?: C): Promise<MarkAllNotificationsReadMutation>;
@@ -141,6 +141,14 @@ export var Locales_Select_Column;
141
141
  /** column name */
142
142
  Locales_Select_Column["SortOrder"] = "sort_order";
143
143
  })(Locales_Select_Column || (Locales_Select_Column = {}));
144
+ /** select columns of table "model_capabilities" */
145
+ export var Model_Capabilities_Select_Column;
146
+ (function (Model_Capabilities_Select_Column) {
147
+ /** column name */
148
+ Model_Capabilities_Select_Column["CapabilitySlug"] = "capability_slug";
149
+ /** column name */
150
+ Model_Capabilities_Select_Column["ModelSlug"] = "model_slug";
151
+ })(Model_Capabilities_Select_Column || (Model_Capabilities_Select_Column = {}));
144
152
  /** select columns of table "model_translations" */
145
153
  export var Model_Translations_Select_Column;
146
154
  (function (Model_Translations_Select_Column) {
@@ -149,6 +157,8 @@ export var Model_Translations_Select_Column;
149
157
  /** column name */
150
158
  Model_Translations_Select_Column["Locale"] = "locale";
151
159
  /** column name */
160
+ Model_Translations_Select_Column["LongDescription"] = "long_description";
161
+ /** column name */
152
162
  Model_Translations_Select_Column["ModelSlug"] = "model_slug";
153
163
  /** column name */
154
164
  Model_Translations_Select_Column["UpdatedAt"] = "updated_at";
@@ -156,15 +166,23 @@ export var Model_Translations_Select_Column;
156
166
  /** select columns of table "models" */
157
167
  export var Models_Select_Column;
158
168
  (function (Models_Select_Column) {
169
+ /** column name */
170
+ Models_Select_Column["Aliases"] = "aliases";
159
171
  /** column name */
160
172
  Models_Select_Column["Description"] = "description";
161
173
  /** column name */
174
+ Models_Select_Column["Featured"] = "featured";
175
+ /** column name */
162
176
  Models_Select_Column["IsActive"] = "is_active";
163
177
  /** column name */
164
178
  Models_Select_Column["Label"] = "label";
165
179
  /** column name */
180
+ Models_Select_Column["LongDescription"] = "long_description";
181
+ /** column name */
166
182
  Models_Select_Column["Provider"] = "provider";
167
183
  /** column name */
184
+ Models_Select_Column["PublicName"] = "public_name";
185
+ /** column name */
168
186
  Models_Select_Column["Slug"] = "slug";
169
187
  /** column name */
170
188
  Models_Select_Column["SortOrder"] = "sort_order";
@@ -433,6 +451,14 @@ export var Plans_Select_Column;
433
451
  /** column name */
434
452
  Plans_Select_Column["SortOrder"] = "sort_order";
435
453
  })(Plans_Select_Column || (Plans_Select_Column = {}));
454
+ /** select columns of table "providers" */
455
+ export var Providers_Select_Column;
456
+ (function (Providers_Select_Column) {
457
+ /** column name */
458
+ Providers_Select_Column["Label"] = "label";
459
+ /** column name */
460
+ Providers_Select_Column["Slug"] = "slug";
461
+ })(Providers_Select_Column || (Providers_Select_Column = {}));
436
462
  /** select columns of table "subscriptions" */
437
463
  export var Subscriptions_Select_Column;
438
464
  (function (Subscriptions_Select_Column) {
@@ -752,11 +778,10 @@ export const RegisterDocument = gql `
752
778
  }
753
779
  }
754
780
  `;
755
- export const SubmitSocialLoginDocument = gql `
756
- mutation SubmitSocialLogin($provider: String!) {
757
- submit_social_login(provider: $provider) {
781
+ export const LogoutDocument = gql `
782
+ mutation Logout {
783
+ logout {
758
784
  success
759
- redirect_url
760
785
  }
761
786
  }
762
787
  `;
@@ -816,6 +841,36 @@ export const GetCreditHistoryDocument = gql `
816
841
  }
817
842
  }
818
843
  `;
844
+ export const ModelsDocument = gql `
845
+ query Models {
846
+ models(order_by: {sort_order: asc, slug: asc}) {
847
+ slug
848
+ provider
849
+ label
850
+ public_name
851
+ aliases
852
+ provider_info {
853
+ label
854
+ }
855
+ description
856
+ long_description
857
+ featured
858
+ sort_order
859
+ capabilities {
860
+ capability_slug
861
+ }
862
+ pipeline_models(order_by: {sort_order: asc}) {
863
+ pipeline_slug
864
+ sort_order
865
+ }
866
+ translations {
867
+ locale
868
+ description
869
+ long_description
870
+ }
871
+ }
872
+ }
873
+ `;
819
874
  export const GetNotificationsDocument = gql `
820
875
  query GetNotifications($limit: Int!, $offset: Int!) {
821
876
  notifications(order_by: {created_at: desc}, limit: $limit, offset: $offset) {
@@ -1420,8 +1475,8 @@ export function getSdk(requester) {
1420
1475
  Register(variables, options) {
1421
1476
  return requester(RegisterDocument, variables, options);
1422
1477
  },
1423
- SubmitSocialLogin(variables, options) {
1424
- return requester(SubmitSocialLoginDocument, variables, options);
1478
+ Logout(variables, options) {
1479
+ return requester(LogoutDocument, variables, options);
1425
1480
  },
1426
1481
  InitVerificationFlow(variables, options) {
1427
1482
  return requester(InitVerificationFlowDocument, variables, options);
@@ -1441,6 +1496,9 @@ export function getSdk(requester) {
1441
1496
  GetCreditHistory(variables, options) {
1442
1497
  return requester(GetCreditHistoryDocument, variables, options);
1443
1498
  },
1499
+ Models(variables, options) {
1500
+ return requester(ModelsDocument, variables, options);
1501
+ },
1444
1502
  GetNotifications(variables, options) {
1445
1503
  return requester(GetNotificationsDocument, variables, options);
1446
1504
  },
package/package.json CHANGED
@@ -1,6 +1,19 @@
1
1
  {
2
2
  "name": "@pipe2-ai/sdk",
3
- "version": "2026.07.2",
3
+ "version": "2026.07.4",
4
+ "description": "Typed TypeScript client for the Pipe2.ai API — run AI media pipelines (video generation, image generation, text-to-speech, video reframing) and track their results.",
5
+ "homepage": "https://pipe2.ai",
6
+ "keywords": [
7
+ "pipe2",
8
+ "ai",
9
+ "api",
10
+ "sdk",
11
+ "text-to-video",
12
+ "video-generation",
13
+ "image-generation",
14
+ "text-to-speech",
15
+ "graphql"
16
+ ],
4
17
  "type": "module",
5
18
  "main": "./dist/src/index.js",
6
19
  "types": "./dist/src/index.d.ts",