integrate-sdk 0.8.71-dev.0 → 0.8.74-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.
- package/dist/adapters/auto-routes.js +95 -8
- package/dist/adapters/index.js +95 -8
- package/dist/adapters/nextjs.js +95 -8
- package/dist/adapters/node.js +95 -8
- package/dist/adapters/svelte-kit.js +95 -8
- package/dist/adapters/tanstack-start.js +95 -8
- package/dist/index.js +95 -8
- package/dist/oauth.js +95 -8
- package/dist/server.js +95 -8
- package/dist/src/integrations/hubspot-client.d.ts +212 -229
- package/dist/src/integrations/hubspot-client.d.ts.map +1 -1
- package/dist/src/integrations/hubspot.d.ts +1 -1
- package/dist/src/integrations/hubspot.d.ts.map +1 -1
- package/dist/src/integrations/linear-client.d.ts +416 -87
- package/dist/src/integrations/linear-client.d.ts.map +1 -1
- package/dist/src/integrations/linear.d.ts +2 -2
- package/dist/src/integrations/linear.d.ts.map +1 -1
- package/dist/src/integrations/polar-client.d.ts +303 -69
- package/dist/src/integrations/polar-client.d.ts.map +1 -1
- package/dist/src/integrations/polar.d.ts +2 -2
- package/dist/src/integrations/polar.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
"
|
|
2892
|
-
"
|
|
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
|
-
"
|
|
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 || [
|
|
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
|
-
"
|
|
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
|
|
|
@@ -3635,7 +3704,9 @@ function hubspotIntegration(config = {}) {
|
|
|
3635
3704
|
"crm.objects.companies.write",
|
|
3636
3705
|
"crm.objects.deals.read",
|
|
3637
3706
|
"crm.objects.deals.write",
|
|
3638
|
-
"tickets"
|
|
3707
|
+
"crm.objects.tickets.read",
|
|
3708
|
+
"crm.objects.tickets.write",
|
|
3709
|
+
"crm.objects.owners.read"
|
|
3639
3710
|
],
|
|
3640
3711
|
redirectUri: config.redirectUri,
|
|
3641
3712
|
config: {
|
|
@@ -3665,14 +3736,30 @@ var init_hubspot = __esm(() => {
|
|
|
3665
3736
|
"hubspot_get_contact",
|
|
3666
3737
|
"hubspot_create_contact",
|
|
3667
3738
|
"hubspot_update_contact",
|
|
3739
|
+
"hubspot_delete_contact",
|
|
3668
3740
|
"hubspot_list_companies",
|
|
3669
3741
|
"hubspot_get_company",
|
|
3670
3742
|
"hubspot_create_company",
|
|
3743
|
+
"hubspot_update_company",
|
|
3744
|
+
"hubspot_delete_company",
|
|
3671
3745
|
"hubspot_list_deals",
|
|
3672
3746
|
"hubspot_get_deal",
|
|
3673
3747
|
"hubspot_create_deal",
|
|
3748
|
+
"hubspot_update_deal",
|
|
3749
|
+
"hubspot_delete_deal",
|
|
3674
3750
|
"hubspot_list_tickets",
|
|
3675
|
-
"hubspot_get_ticket"
|
|
3751
|
+
"hubspot_get_ticket",
|
|
3752
|
+
"hubspot_create_ticket",
|
|
3753
|
+
"hubspot_update_ticket",
|
|
3754
|
+
"hubspot_delete_ticket",
|
|
3755
|
+
"hubspot_search_crm",
|
|
3756
|
+
"hubspot_create_note",
|
|
3757
|
+
"hubspot_create_task",
|
|
3758
|
+
"hubspot_list_owners",
|
|
3759
|
+
"hubspot_get_owner",
|
|
3760
|
+
"hubspot_list_pipelines",
|
|
3761
|
+
"hubspot_list_pipeline_stages",
|
|
3762
|
+
"hubspot_create_association"
|
|
3676
3763
|
];
|
|
3677
3764
|
});
|
|
3678
3765
|
|
|
@@ -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
|
-
"
|
|
2892
|
-
"
|
|
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
|
-
"
|
|
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 || [
|
|
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
|
-
"
|
|
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
|
|
|
@@ -3635,7 +3704,9 @@ function hubspotIntegration(config = {}) {
|
|
|
3635
3704
|
"crm.objects.companies.write",
|
|
3636
3705
|
"crm.objects.deals.read",
|
|
3637
3706
|
"crm.objects.deals.write",
|
|
3638
|
-
"tickets"
|
|
3707
|
+
"crm.objects.tickets.read",
|
|
3708
|
+
"crm.objects.tickets.write",
|
|
3709
|
+
"crm.objects.owners.read"
|
|
3639
3710
|
],
|
|
3640
3711
|
redirectUri: config.redirectUri,
|
|
3641
3712
|
config: {
|
|
@@ -3665,14 +3736,30 @@ var init_hubspot = __esm(() => {
|
|
|
3665
3736
|
"hubspot_get_contact",
|
|
3666
3737
|
"hubspot_create_contact",
|
|
3667
3738
|
"hubspot_update_contact",
|
|
3739
|
+
"hubspot_delete_contact",
|
|
3668
3740
|
"hubspot_list_companies",
|
|
3669
3741
|
"hubspot_get_company",
|
|
3670
3742
|
"hubspot_create_company",
|
|
3743
|
+
"hubspot_update_company",
|
|
3744
|
+
"hubspot_delete_company",
|
|
3671
3745
|
"hubspot_list_deals",
|
|
3672
3746
|
"hubspot_get_deal",
|
|
3673
3747
|
"hubspot_create_deal",
|
|
3748
|
+
"hubspot_update_deal",
|
|
3749
|
+
"hubspot_delete_deal",
|
|
3674
3750
|
"hubspot_list_tickets",
|
|
3675
|
-
"hubspot_get_ticket"
|
|
3751
|
+
"hubspot_get_ticket",
|
|
3752
|
+
"hubspot_create_ticket",
|
|
3753
|
+
"hubspot_update_ticket",
|
|
3754
|
+
"hubspot_delete_ticket",
|
|
3755
|
+
"hubspot_search_crm",
|
|
3756
|
+
"hubspot_create_note",
|
|
3757
|
+
"hubspot_create_task",
|
|
3758
|
+
"hubspot_list_owners",
|
|
3759
|
+
"hubspot_get_owner",
|
|
3760
|
+
"hubspot_list_pipelines",
|
|
3761
|
+
"hubspot_list_pipeline_stages",
|
|
3762
|
+
"hubspot_create_association"
|
|
3676
3763
|
];
|
|
3677
3764
|
});
|
|
3678
3765
|
|
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
|
-
"
|
|
3283
|
-
"
|
|
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
|
-
"
|
|
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 || [
|
|
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
|
-
"
|
|
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
|
|
|
@@ -4026,7 +4095,9 @@ function hubspotIntegration(config = {}) {
|
|
|
4026
4095
|
"crm.objects.companies.write",
|
|
4027
4096
|
"crm.objects.deals.read",
|
|
4028
4097
|
"crm.objects.deals.write",
|
|
4029
|
-
"tickets"
|
|
4098
|
+
"crm.objects.tickets.read",
|
|
4099
|
+
"crm.objects.tickets.write",
|
|
4100
|
+
"crm.objects.owners.read"
|
|
4030
4101
|
],
|
|
4031
4102
|
redirectUri: config.redirectUri,
|
|
4032
4103
|
config: {
|
|
@@ -4056,14 +4127,30 @@ var init_hubspot = __esm(() => {
|
|
|
4056
4127
|
"hubspot_get_contact",
|
|
4057
4128
|
"hubspot_create_contact",
|
|
4058
4129
|
"hubspot_update_contact",
|
|
4130
|
+
"hubspot_delete_contact",
|
|
4059
4131
|
"hubspot_list_companies",
|
|
4060
4132
|
"hubspot_get_company",
|
|
4061
4133
|
"hubspot_create_company",
|
|
4134
|
+
"hubspot_update_company",
|
|
4135
|
+
"hubspot_delete_company",
|
|
4062
4136
|
"hubspot_list_deals",
|
|
4063
4137
|
"hubspot_get_deal",
|
|
4064
4138
|
"hubspot_create_deal",
|
|
4139
|
+
"hubspot_update_deal",
|
|
4140
|
+
"hubspot_delete_deal",
|
|
4065
4141
|
"hubspot_list_tickets",
|
|
4066
|
-
"hubspot_get_ticket"
|
|
4142
|
+
"hubspot_get_ticket",
|
|
4143
|
+
"hubspot_create_ticket",
|
|
4144
|
+
"hubspot_update_ticket",
|
|
4145
|
+
"hubspot_delete_ticket",
|
|
4146
|
+
"hubspot_search_crm",
|
|
4147
|
+
"hubspot_create_note",
|
|
4148
|
+
"hubspot_create_task",
|
|
4149
|
+
"hubspot_list_owners",
|
|
4150
|
+
"hubspot_get_owner",
|
|
4151
|
+
"hubspot_list_pipelines",
|
|
4152
|
+
"hubspot_list_pipeline_stages",
|
|
4153
|
+
"hubspot_create_association"
|
|
4067
4154
|
];
|
|
4068
4155
|
});
|
|
4069
4156
|
|
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
|
-
"
|
|
3105
|
-
"
|
|
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
|
-
"
|
|
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 || [
|
|
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
|
-
"
|
|
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
|
|
|
@@ -3848,7 +3917,9 @@ function hubspotIntegration(config = {}) {
|
|
|
3848
3917
|
"crm.objects.companies.write",
|
|
3849
3918
|
"crm.objects.deals.read",
|
|
3850
3919
|
"crm.objects.deals.write",
|
|
3851
|
-
"tickets"
|
|
3920
|
+
"crm.objects.tickets.read",
|
|
3921
|
+
"crm.objects.tickets.write",
|
|
3922
|
+
"crm.objects.owners.read"
|
|
3852
3923
|
],
|
|
3853
3924
|
redirectUri: config.redirectUri,
|
|
3854
3925
|
config: {
|
|
@@ -3878,14 +3949,30 @@ var init_hubspot = __esm(() => {
|
|
|
3878
3949
|
"hubspot_get_contact",
|
|
3879
3950
|
"hubspot_create_contact",
|
|
3880
3951
|
"hubspot_update_contact",
|
|
3952
|
+
"hubspot_delete_contact",
|
|
3881
3953
|
"hubspot_list_companies",
|
|
3882
3954
|
"hubspot_get_company",
|
|
3883
3955
|
"hubspot_create_company",
|
|
3956
|
+
"hubspot_update_company",
|
|
3957
|
+
"hubspot_delete_company",
|
|
3884
3958
|
"hubspot_list_deals",
|
|
3885
3959
|
"hubspot_get_deal",
|
|
3886
3960
|
"hubspot_create_deal",
|
|
3961
|
+
"hubspot_update_deal",
|
|
3962
|
+
"hubspot_delete_deal",
|
|
3887
3963
|
"hubspot_list_tickets",
|
|
3888
|
-
"hubspot_get_ticket"
|
|
3964
|
+
"hubspot_get_ticket",
|
|
3965
|
+
"hubspot_create_ticket",
|
|
3966
|
+
"hubspot_update_ticket",
|
|
3967
|
+
"hubspot_delete_ticket",
|
|
3968
|
+
"hubspot_search_crm",
|
|
3969
|
+
"hubspot_create_note",
|
|
3970
|
+
"hubspot_create_task",
|
|
3971
|
+
"hubspot_list_owners",
|
|
3972
|
+
"hubspot_get_owner",
|
|
3973
|
+
"hubspot_list_pipelines",
|
|
3974
|
+
"hubspot_list_pipeline_stages",
|
|
3975
|
+
"hubspot_create_association"
|
|
3889
3976
|
];
|
|
3890
3977
|
});
|
|
3891
3978
|
|