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.
- package/dist/adapters/auto-routes.js +75 -6
- package/dist/adapters/index.js +75 -6
- package/dist/adapters/nextjs.js +75 -6
- package/dist/adapters/node.js +75 -6
- package/dist/adapters/svelte-kit.js +75 -6
- package/dist/adapters/tanstack-start.js +75 -6
- package/dist/index.js +75 -6
- package/dist/oauth.js +75 -6
- package/dist/server.js +75 -6
- 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
|
|
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
|
|
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
|
|
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
|
|
|
@@ -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
|
|