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
|
|
package/dist/adapters/index.js
CHANGED
|
@@ -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/adapters/nextjs.js
CHANGED
|
@@ -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/adapters/node.js
CHANGED
|
@@ -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
|
|