integrate-sdk 0.8.71-dev.0 → 0.8.73-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2859,7 +2859,7 @@ function linearIntegration(config = {}) {
2859
2859
  provider: "linear",
2860
2860
  clientId: config.clientId ?? getEnv("LINEAR_CLIENT_ID"),
2861
2861
  clientSecret: config.clientSecret ?? getEnv("LINEAR_CLIENT_SECRET"),
2862
- scopes: config.scopes || ["read", "write", "issues:create"],
2862
+ scopes: config.scopes || ["read", "write", "issues:create", "comments:create"],
2863
2863
  redirectUri: config.redirectUri,
2864
2864
  config: {
2865
2865
  ...config
@@ -2888,11 +2888,35 @@ var init_linear = __esm(() => {
2888
2888
  "linear_list_issues",
2889
2889
  "linear_get_issue",
2890
2890
  "linear_update_issue",
2891
- "linear_list_projects",
2892
- "linear_list_teams",
2891
+ "linear_archive_issue",
2892
+ "linear_delete_issue",
2893
+ "linear_search_issues",
2893
2894
  "linear_add_comment",
2895
+ "linear_list_users",
2896
+ "linear_get_user",
2897
+ "linear_list_teams",
2898
+ "linear_list_workflow_states",
2899
+ "linear_create_workflow_state",
2900
+ "linear_list_projects",
2901
+ "linear_get_project",
2902
+ "linear_create_project",
2903
+ "linear_update_project",
2904
+ "linear_list_cycles",
2905
+ "linear_get_cycle",
2906
+ "linear_create_cycle",
2907
+ "linear_update_cycle",
2894
2908
  "linear_list_labels",
2895
- "linear_search_issues"
2909
+ "linear_create_issue_relation",
2910
+ "linear_delete_issue_relation",
2911
+ "linear_list_documents",
2912
+ "linear_get_document",
2913
+ "linear_create_document",
2914
+ "linear_update_document",
2915
+ "linear_list_initiatives",
2916
+ "linear_get_initiative",
2917
+ "linear_create_initiative",
2918
+ "linear_create_attachment",
2919
+ "linear_create_project_update"
2896
2920
  ];
2897
2921
  });
2898
2922
 
@@ -3499,7 +3523,26 @@ function polarIntegration(config = {}) {
3499
3523
  provider: "polar",
3500
3524
  clientId: config.clientId ?? getEnv("POLAR_CLIENT_ID"),
3501
3525
  clientSecret: config.clientSecret ?? getEnv("POLAR_CLIENT_SECRET"),
3502
- scopes: config.scopes || ["products:read", "subscriptions:read", "customers:read", "orders:read", "benefits:read"],
3526
+ scopes: config.scopes || [
3527
+ "openid",
3528
+ "products:read",
3529
+ "products:write",
3530
+ "subscriptions:read",
3531
+ "subscriptions:write",
3532
+ "customers:read",
3533
+ "customers:write",
3534
+ "orders:read",
3535
+ "benefits:read",
3536
+ "benefits:write",
3537
+ "license_keys:read",
3538
+ "license_keys:write",
3539
+ "checkout_links:read",
3540
+ "checkout_links:write",
3541
+ "discounts:read",
3542
+ "discounts:write",
3543
+ "metrics:read",
3544
+ "organizations:read"
3545
+ ],
3503
3546
  redirectUri: config.redirectUri,
3504
3547
  config: {
3505
3548
  apiBaseUrl: config.apiBaseUrl || "https://api.polar.sh"
@@ -3526,13 +3569,39 @@ var init_polar = __esm(() => {
3526
3569
  POLAR_TOOLS = [
3527
3570
  "polar_list_products",
3528
3571
  "polar_get_product",
3572
+ "polar_create_product",
3573
+ "polar_update_product",
3529
3574
  "polar_list_subscriptions",
3530
3575
  "polar_get_subscription",
3576
+ "polar_update_subscription",
3577
+ "polar_revoke_subscription",
3531
3578
  "polar_list_customers",
3532
3579
  "polar_get_customer",
3580
+ "polar_create_customer",
3581
+ "polar_update_customer",
3582
+ "polar_delete_customer",
3583
+ "polar_get_customer_state",
3533
3584
  "polar_list_orders",
3534
3585
  "polar_get_order",
3535
- "polar_list_benefits"
3586
+ "polar_get_order_invoice",
3587
+ "polar_list_benefits",
3588
+ "polar_get_benefit",
3589
+ "polar_create_benefit",
3590
+ "polar_update_benefit",
3591
+ "polar_list_discounts",
3592
+ "polar_get_discount",
3593
+ "polar_create_discount",
3594
+ "polar_delete_discount",
3595
+ "polar_list_checkout_links",
3596
+ "polar_get_checkout_link",
3597
+ "polar_create_checkout_link",
3598
+ "polar_list_license_keys",
3599
+ "polar_get_license_key",
3600
+ "polar_validate_license_key",
3601
+ "polar_activate_license_key",
3602
+ "polar_get_metrics",
3603
+ "polar_list_organizations",
3604
+ "polar_get_organization"
3536
3605
  ];
3537
3606
  });
3538
3607
 
package/dist/index.js CHANGED
@@ -3250,7 +3250,7 @@ function linearIntegration(config = {}) {
3250
3250
  provider: "linear",
3251
3251
  clientId: config.clientId ?? getEnv("LINEAR_CLIENT_ID"),
3252
3252
  clientSecret: config.clientSecret ?? getEnv("LINEAR_CLIENT_SECRET"),
3253
- scopes: config.scopes || ["read", "write", "issues:create"],
3253
+ scopes: config.scopes || ["read", "write", "issues:create", "comments:create"],
3254
3254
  redirectUri: config.redirectUri,
3255
3255
  config: {
3256
3256
  ...config
@@ -3279,11 +3279,35 @@ var init_linear = __esm(() => {
3279
3279
  "linear_list_issues",
3280
3280
  "linear_get_issue",
3281
3281
  "linear_update_issue",
3282
- "linear_list_projects",
3283
- "linear_list_teams",
3282
+ "linear_archive_issue",
3283
+ "linear_delete_issue",
3284
+ "linear_search_issues",
3284
3285
  "linear_add_comment",
3286
+ "linear_list_users",
3287
+ "linear_get_user",
3288
+ "linear_list_teams",
3289
+ "linear_list_workflow_states",
3290
+ "linear_create_workflow_state",
3291
+ "linear_list_projects",
3292
+ "linear_get_project",
3293
+ "linear_create_project",
3294
+ "linear_update_project",
3295
+ "linear_list_cycles",
3296
+ "linear_get_cycle",
3297
+ "linear_create_cycle",
3298
+ "linear_update_cycle",
3285
3299
  "linear_list_labels",
3286
- "linear_search_issues"
3300
+ "linear_create_issue_relation",
3301
+ "linear_delete_issue_relation",
3302
+ "linear_list_documents",
3303
+ "linear_get_document",
3304
+ "linear_create_document",
3305
+ "linear_update_document",
3306
+ "linear_list_initiatives",
3307
+ "linear_get_initiative",
3308
+ "linear_create_initiative",
3309
+ "linear_create_attachment",
3310
+ "linear_create_project_update"
3287
3311
  ];
3288
3312
  });
3289
3313
 
@@ -3890,7 +3914,26 @@ function polarIntegration(config = {}) {
3890
3914
  provider: "polar",
3891
3915
  clientId: config.clientId ?? getEnv("POLAR_CLIENT_ID"),
3892
3916
  clientSecret: config.clientSecret ?? getEnv("POLAR_CLIENT_SECRET"),
3893
- scopes: config.scopes || ["products:read", "subscriptions:read", "customers:read", "orders:read", "benefits:read"],
3917
+ scopes: config.scopes || [
3918
+ "openid",
3919
+ "products:read",
3920
+ "products:write",
3921
+ "subscriptions:read",
3922
+ "subscriptions:write",
3923
+ "customers:read",
3924
+ "customers:write",
3925
+ "orders:read",
3926
+ "benefits:read",
3927
+ "benefits:write",
3928
+ "license_keys:read",
3929
+ "license_keys:write",
3930
+ "checkout_links:read",
3931
+ "checkout_links:write",
3932
+ "discounts:read",
3933
+ "discounts:write",
3934
+ "metrics:read",
3935
+ "organizations:read"
3936
+ ],
3894
3937
  redirectUri: config.redirectUri,
3895
3938
  config: {
3896
3939
  apiBaseUrl: config.apiBaseUrl || "https://api.polar.sh"
@@ -3917,13 +3960,39 @@ var init_polar = __esm(() => {
3917
3960
  POLAR_TOOLS = [
3918
3961
  "polar_list_products",
3919
3962
  "polar_get_product",
3963
+ "polar_create_product",
3964
+ "polar_update_product",
3920
3965
  "polar_list_subscriptions",
3921
3966
  "polar_get_subscription",
3967
+ "polar_update_subscription",
3968
+ "polar_revoke_subscription",
3922
3969
  "polar_list_customers",
3923
3970
  "polar_get_customer",
3971
+ "polar_create_customer",
3972
+ "polar_update_customer",
3973
+ "polar_delete_customer",
3974
+ "polar_get_customer_state",
3924
3975
  "polar_list_orders",
3925
3976
  "polar_get_order",
3926
- "polar_list_benefits"
3977
+ "polar_get_order_invoice",
3978
+ "polar_list_benefits",
3979
+ "polar_get_benefit",
3980
+ "polar_create_benefit",
3981
+ "polar_update_benefit",
3982
+ "polar_list_discounts",
3983
+ "polar_get_discount",
3984
+ "polar_create_discount",
3985
+ "polar_delete_discount",
3986
+ "polar_list_checkout_links",
3987
+ "polar_get_checkout_link",
3988
+ "polar_create_checkout_link",
3989
+ "polar_list_license_keys",
3990
+ "polar_get_license_key",
3991
+ "polar_validate_license_key",
3992
+ "polar_activate_license_key",
3993
+ "polar_get_metrics",
3994
+ "polar_list_organizations",
3995
+ "polar_get_organization"
3927
3996
  ];
3928
3997
  });
3929
3998
 
package/dist/oauth.js CHANGED
@@ -3072,7 +3072,7 @@ function linearIntegration(config = {}) {
3072
3072
  provider: "linear",
3073
3073
  clientId: config.clientId ?? getEnv("LINEAR_CLIENT_ID"),
3074
3074
  clientSecret: config.clientSecret ?? getEnv("LINEAR_CLIENT_SECRET"),
3075
- scopes: config.scopes || ["read", "write", "issues:create"],
3075
+ scopes: config.scopes || ["read", "write", "issues:create", "comments:create"],
3076
3076
  redirectUri: config.redirectUri,
3077
3077
  config: {
3078
3078
  ...config
@@ -3101,11 +3101,35 @@ var init_linear = __esm(() => {
3101
3101
  "linear_list_issues",
3102
3102
  "linear_get_issue",
3103
3103
  "linear_update_issue",
3104
- "linear_list_projects",
3105
- "linear_list_teams",
3104
+ "linear_archive_issue",
3105
+ "linear_delete_issue",
3106
+ "linear_search_issues",
3106
3107
  "linear_add_comment",
3108
+ "linear_list_users",
3109
+ "linear_get_user",
3110
+ "linear_list_teams",
3111
+ "linear_list_workflow_states",
3112
+ "linear_create_workflow_state",
3113
+ "linear_list_projects",
3114
+ "linear_get_project",
3115
+ "linear_create_project",
3116
+ "linear_update_project",
3117
+ "linear_list_cycles",
3118
+ "linear_get_cycle",
3119
+ "linear_create_cycle",
3120
+ "linear_update_cycle",
3107
3121
  "linear_list_labels",
3108
- "linear_search_issues"
3122
+ "linear_create_issue_relation",
3123
+ "linear_delete_issue_relation",
3124
+ "linear_list_documents",
3125
+ "linear_get_document",
3126
+ "linear_create_document",
3127
+ "linear_update_document",
3128
+ "linear_list_initiatives",
3129
+ "linear_get_initiative",
3130
+ "linear_create_initiative",
3131
+ "linear_create_attachment",
3132
+ "linear_create_project_update"
3109
3133
  ];
3110
3134
  });
3111
3135
 
@@ -3712,7 +3736,26 @@ function polarIntegration(config = {}) {
3712
3736
  provider: "polar",
3713
3737
  clientId: config.clientId ?? getEnv("POLAR_CLIENT_ID"),
3714
3738
  clientSecret: config.clientSecret ?? getEnv("POLAR_CLIENT_SECRET"),
3715
- scopes: config.scopes || ["products:read", "subscriptions:read", "customers:read", "orders:read", "benefits:read"],
3739
+ scopes: config.scopes || [
3740
+ "openid",
3741
+ "products:read",
3742
+ "products:write",
3743
+ "subscriptions:read",
3744
+ "subscriptions:write",
3745
+ "customers:read",
3746
+ "customers:write",
3747
+ "orders:read",
3748
+ "benefits:read",
3749
+ "benefits:write",
3750
+ "license_keys:read",
3751
+ "license_keys:write",
3752
+ "checkout_links:read",
3753
+ "checkout_links:write",
3754
+ "discounts:read",
3755
+ "discounts:write",
3756
+ "metrics:read",
3757
+ "organizations:read"
3758
+ ],
3716
3759
  redirectUri: config.redirectUri,
3717
3760
  config: {
3718
3761
  apiBaseUrl: config.apiBaseUrl || "https://api.polar.sh"
@@ -3739,13 +3782,39 @@ var init_polar = __esm(() => {
3739
3782
  POLAR_TOOLS = [
3740
3783
  "polar_list_products",
3741
3784
  "polar_get_product",
3785
+ "polar_create_product",
3786
+ "polar_update_product",
3742
3787
  "polar_list_subscriptions",
3743
3788
  "polar_get_subscription",
3789
+ "polar_update_subscription",
3790
+ "polar_revoke_subscription",
3744
3791
  "polar_list_customers",
3745
3792
  "polar_get_customer",
3793
+ "polar_create_customer",
3794
+ "polar_update_customer",
3795
+ "polar_delete_customer",
3796
+ "polar_get_customer_state",
3746
3797
  "polar_list_orders",
3747
3798
  "polar_get_order",
3748
- "polar_list_benefits"
3799
+ "polar_get_order_invoice",
3800
+ "polar_list_benefits",
3801
+ "polar_get_benefit",
3802
+ "polar_create_benefit",
3803
+ "polar_update_benefit",
3804
+ "polar_list_discounts",
3805
+ "polar_get_discount",
3806
+ "polar_create_discount",
3807
+ "polar_delete_discount",
3808
+ "polar_list_checkout_links",
3809
+ "polar_get_checkout_link",
3810
+ "polar_create_checkout_link",
3811
+ "polar_list_license_keys",
3812
+ "polar_get_license_key",
3813
+ "polar_validate_license_key",
3814
+ "polar_activate_license_key",
3815
+ "polar_get_metrics",
3816
+ "polar_list_organizations",
3817
+ "polar_get_organization"
3749
3818
  ];
3750
3819
  });
3751
3820
 
package/dist/server.js CHANGED
@@ -3665,7 +3665,7 @@ function linearIntegration(config = {}) {
3665
3665
  provider: "linear",
3666
3666
  clientId: config.clientId ?? getEnv("LINEAR_CLIENT_ID"),
3667
3667
  clientSecret: config.clientSecret ?? getEnv("LINEAR_CLIENT_SECRET"),
3668
- scopes: config.scopes || ["read", "write", "issues:create"],
3668
+ scopes: config.scopes || ["read", "write", "issues:create", "comments:create"],
3669
3669
  redirectUri: config.redirectUri,
3670
3670
  config: {
3671
3671
  ...config
@@ -3694,11 +3694,35 @@ var init_linear = __esm(() => {
3694
3694
  "linear_list_issues",
3695
3695
  "linear_get_issue",
3696
3696
  "linear_update_issue",
3697
- "linear_list_projects",
3698
- "linear_list_teams",
3697
+ "linear_archive_issue",
3698
+ "linear_delete_issue",
3699
+ "linear_search_issues",
3699
3700
  "linear_add_comment",
3701
+ "linear_list_users",
3702
+ "linear_get_user",
3703
+ "linear_list_teams",
3704
+ "linear_list_workflow_states",
3705
+ "linear_create_workflow_state",
3706
+ "linear_list_projects",
3707
+ "linear_get_project",
3708
+ "linear_create_project",
3709
+ "linear_update_project",
3710
+ "linear_list_cycles",
3711
+ "linear_get_cycle",
3712
+ "linear_create_cycle",
3713
+ "linear_update_cycle",
3700
3714
  "linear_list_labels",
3701
- "linear_search_issues"
3715
+ "linear_create_issue_relation",
3716
+ "linear_delete_issue_relation",
3717
+ "linear_list_documents",
3718
+ "linear_get_document",
3719
+ "linear_create_document",
3720
+ "linear_update_document",
3721
+ "linear_list_initiatives",
3722
+ "linear_get_initiative",
3723
+ "linear_create_initiative",
3724
+ "linear_create_attachment",
3725
+ "linear_create_project_update"
3702
3726
  ];
3703
3727
  });
3704
3728
 
@@ -4305,7 +4329,26 @@ function polarIntegration(config = {}) {
4305
4329
  provider: "polar",
4306
4330
  clientId: config.clientId ?? getEnv("POLAR_CLIENT_ID"),
4307
4331
  clientSecret: config.clientSecret ?? getEnv("POLAR_CLIENT_SECRET"),
4308
- scopes: config.scopes || ["products:read", "subscriptions:read", "customers:read", "orders:read", "benefits:read"],
4332
+ scopes: config.scopes || [
4333
+ "openid",
4334
+ "products:read",
4335
+ "products:write",
4336
+ "subscriptions:read",
4337
+ "subscriptions:write",
4338
+ "customers:read",
4339
+ "customers:write",
4340
+ "orders:read",
4341
+ "benefits:read",
4342
+ "benefits:write",
4343
+ "license_keys:read",
4344
+ "license_keys:write",
4345
+ "checkout_links:read",
4346
+ "checkout_links:write",
4347
+ "discounts:read",
4348
+ "discounts:write",
4349
+ "metrics:read",
4350
+ "organizations:read"
4351
+ ],
4309
4352
  redirectUri: config.redirectUri,
4310
4353
  config: {
4311
4354
  apiBaseUrl: config.apiBaseUrl || "https://api.polar.sh"
@@ -4332,13 +4375,39 @@ var init_polar = __esm(() => {
4332
4375
  POLAR_TOOLS = [
4333
4376
  "polar_list_products",
4334
4377
  "polar_get_product",
4378
+ "polar_create_product",
4379
+ "polar_update_product",
4335
4380
  "polar_list_subscriptions",
4336
4381
  "polar_get_subscription",
4382
+ "polar_update_subscription",
4383
+ "polar_revoke_subscription",
4337
4384
  "polar_list_customers",
4338
4385
  "polar_get_customer",
4386
+ "polar_create_customer",
4387
+ "polar_update_customer",
4388
+ "polar_delete_customer",
4389
+ "polar_get_customer_state",
4339
4390
  "polar_list_orders",
4340
4391
  "polar_get_order",
4341
- "polar_list_benefits"
4392
+ "polar_get_order_invoice",
4393
+ "polar_list_benefits",
4394
+ "polar_get_benefit",
4395
+ "polar_create_benefit",
4396
+ "polar_update_benefit",
4397
+ "polar_list_discounts",
4398
+ "polar_get_discount",
4399
+ "polar_create_discount",
4400
+ "polar_delete_discount",
4401
+ "polar_list_checkout_links",
4402
+ "polar_get_checkout_link",
4403
+ "polar_create_checkout_link",
4404
+ "polar_list_license_keys",
4405
+ "polar_get_license_key",
4406
+ "polar_validate_license_key",
4407
+ "polar_activate_license_key",
4408
+ "polar_get_metrics",
4409
+ "polar_list_organizations",
4410
+ "polar_get_organization"
4342
4411
  ];
4343
4412
  });
4344
4413