@carrierllc/sdk 0.2.6 → 0.2.7
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/README.md +1 -1
- package/dist/data/operations.json +95 -0
- package/dist/operation-ids.d.ts +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,4 +35,4 @@ const agentTools = restTools(carrier)
|
|
|
35
35
|
|
|
36
36
|
`new Mcp(token, { auth: "bearer" })` sends an OAuth access token or a Clerk organization API key. The default sends `?TOKEN=` to `https://mcp.carrier.llc/mcp`. `Cli` never invokes a shell. Catalog entries marked `internal` do not accept a customer API key.
|
|
37
37
|
|
|
38
|
-
`npm install @carrierllc/sdk@0.2.
|
|
38
|
+
`npm install @carrierllc/sdk@0.2.6` installs this surface. `0.1.0` only creates connectivity intents and products. The published tarball is the compiled `dist` output, including the generated operation catalog.
|
|
@@ -2618,6 +2618,75 @@
|
|
|
2618
2618
|
],
|
|
2619
2619
|
"headerParams": []
|
|
2620
2620
|
},
|
|
2621
|
+
{
|
|
2622
|
+
"id": "get_storefront_order_usage",
|
|
2623
|
+
"method": "GET",
|
|
2624
|
+
"path": "/api/orders/{orderId}/usage",
|
|
2625
|
+
"tag": "Storefront",
|
|
2626
|
+
"summary": "Data used by the order's own eSIM",
|
|
2627
|
+
"security": "storefront",
|
|
2628
|
+
"body": false,
|
|
2629
|
+
"bodyRequired": false,
|
|
2630
|
+
"pathParams": [
|
|
2631
|
+
{
|
|
2632
|
+
"name": "orderId",
|
|
2633
|
+
"required": true
|
|
2634
|
+
}
|
|
2635
|
+
],
|
|
2636
|
+
"queryParams": [
|
|
2637
|
+
{
|
|
2638
|
+
"name": "storefront",
|
|
2639
|
+
"required": false
|
|
2640
|
+
}
|
|
2641
|
+
],
|
|
2642
|
+
"headerParams": []
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"id": "get_storefront_order_top_up_options",
|
|
2646
|
+
"method": "GET",
|
|
2647
|
+
"path": "/api/orders/{orderId}/top-up-options",
|
|
2648
|
+
"tag": "Storefront",
|
|
2649
|
+
"summary": "Plans the buyer can add to this order's eSIM",
|
|
2650
|
+
"security": "storefront",
|
|
2651
|
+
"body": false,
|
|
2652
|
+
"bodyRequired": false,
|
|
2653
|
+
"pathParams": [
|
|
2654
|
+
{
|
|
2655
|
+
"name": "orderId",
|
|
2656
|
+
"required": true
|
|
2657
|
+
}
|
|
2658
|
+
],
|
|
2659
|
+
"queryParams": [
|
|
2660
|
+
{
|
|
2661
|
+
"name": "storefront",
|
|
2662
|
+
"required": false
|
|
2663
|
+
}
|
|
2664
|
+
],
|
|
2665
|
+
"headerParams": []
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
"id": "cancel_storefront_order",
|
|
2669
|
+
"method": "POST",
|
|
2670
|
+
"path": "/api/orders/{orderId}/cancel",
|
|
2671
|
+
"tag": "Storefront",
|
|
2672
|
+
"summary": "Record the buyer's cancel",
|
|
2673
|
+
"security": "storefront",
|
|
2674
|
+
"body": false,
|
|
2675
|
+
"bodyRequired": false,
|
|
2676
|
+
"pathParams": [
|
|
2677
|
+
{
|
|
2678
|
+
"name": "orderId",
|
|
2679
|
+
"required": true
|
|
2680
|
+
}
|
|
2681
|
+
],
|
|
2682
|
+
"queryParams": [
|
|
2683
|
+
{
|
|
2684
|
+
"name": "storefront",
|
|
2685
|
+
"required": false
|
|
2686
|
+
}
|
|
2687
|
+
],
|
|
2688
|
+
"headerParams": []
|
|
2689
|
+
},
|
|
2621
2690
|
{
|
|
2622
2691
|
"id": "get_storefront_order",
|
|
2623
2692
|
"method": "GET",
|
|
@@ -2708,6 +2777,32 @@
|
|
|
2708
2777
|
}
|
|
2709
2778
|
]
|
|
2710
2779
|
},
|
|
2780
|
+
{
|
|
2781
|
+
"id": "list_storefront_orders",
|
|
2782
|
+
"method": "GET",
|
|
2783
|
+
"path": "/v1/storefronts/orders",
|
|
2784
|
+
"tag": "Storefront",
|
|
2785
|
+
"summary": "List orders across the caller's storefronts, newest first. Metadata only — no ICCID, QR, or activation codes.",
|
|
2786
|
+
"security": "bearer",
|
|
2787
|
+
"body": false,
|
|
2788
|
+
"bodyRequired": false,
|
|
2789
|
+
"pathParams": [],
|
|
2790
|
+
"queryParams": [
|
|
2791
|
+
{
|
|
2792
|
+
"name": "storefront_id",
|
|
2793
|
+
"required": false
|
|
2794
|
+
},
|
|
2795
|
+
{
|
|
2796
|
+
"name": "status",
|
|
2797
|
+
"required": false
|
|
2798
|
+
},
|
|
2799
|
+
{
|
|
2800
|
+
"name": "limit",
|
|
2801
|
+
"required": false
|
|
2802
|
+
}
|
|
2803
|
+
],
|
|
2804
|
+
"headerParams": []
|
|
2805
|
+
},
|
|
2711
2806
|
{
|
|
2712
2807
|
"id": "get_storefront",
|
|
2713
2808
|
"method": "GET",
|
package/dist/operation-ids.d.ts
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
*
|
|
3
3
|
* Generated by sdks/generate.py. Do not edit by hand.
|
|
4
4
|
*/
|
|
5
|
-
export type OperationId = "list_reseller_accounts" | "get_reseller_info" | "esim_status_per_account" | "list_sponsors" | "list_steering_lists" | "get_subscriber" | "list_subscribers" | "create_subscriber" | "get_sim_provider_status" | "change_sim_status" | "get_subscriber_location" | "hlr_get_bitrate" | "hlr_set_bitrate" | "list_subscriber_packages" | "assign_package" | "clean_all_packages" | "list_package_templates" | "create_package_template" | "list_location_zones" | "create_location_zone" | "list_detailed_location_zones" | "list_destination_prefixes" | "subscriber_usage" | "subscriber_network_events" | "subscriber_active_period" | "get_tariff" | "list_network_profiles" | "modify_subscriber_balance" | "modify_subscriber_status" | "modify_subscriber_contact_info" | "set_subscriber_traffic_restrictions" | "modify_subscriber_steering_list" | "move_subscriber_range_to_account" | "assign_recurring_package" | "modify_package_limits" | "modify_package_expiry" | "modify_package_status" | "stop_resume_recurring_package" | "modify_account_balance" | "delete_subscriber_package" | "modify_template_core" | "modify_template_recurring" | "modify_template_throttling" | "send_sms" | "fleet_health" | "churn_risk" | "audit_network_coverage" | "diagnose_subscriber" | "detect_usage_anomalies" | "optimize_package" | "marketing_intelligence" | "high_cost_subscribers" | "high_cost_subscribers_method_guard" | "detect_country_entry" | "list_intelligence_schedules" | "create_intelligence_schedule" | "delete_intelligence_schedule" | "run_intelligence_schedule" | "get_intelligence_schedule_report" | "get_intelligence_share" | "operator_billing_connect_begin" | "operator_billing_connect_oauth_begin" | "operator_billing_connect_oauth_complete" | "operator_billing_connect_status" | "operator_billing_connect_dashboard_link" | "operator_billing_list_payouts" | "operator_billing_create_manual_payout" | "operator_billing_get_payout_schedule" | "operator_billing_update_payout_schedule" | "operator_billing_list_fees" | "operator_billing_list_refunds" | "operator_billing_create_refund" | "operator_billing_list_disputes" | "operator_billing_submit_dispute_evidence" | "operator_billing_list_fraud_reviews" | "operator_billing_approve_fraud_review" | "operator_billing_decline_fraud_review" | "operator_billing_list_value_lists" | "operator_billing_add_value_list_item" | "affiliates_me_get" | "affiliates_me_create" | "affiliates_me_commissions_list" | "affiliates_link" | "operator_identity_status" | "operator_identity_create_session" | "operator_identity_update_session" | "operator_list_promotions" | "operator_create_promotion" | "signup_start" | "signup_verify" | "create_api_key" | "get_onboarding_state" | "onboarding_save_org" | "onboarding_connect_ocs_token" | "onboarding_start_managed_account" | "onboarding_save_plan" | "onboarding_skip_plan" | "onboarding_test_esim" | "onboarding_complete" | "operator_billing_stripe_webhook" | "receive_bridge4ip_webhook" | "affect_subscriber_phone_number" | "modify_subscriber_mobile_plan" | "modify_subscriber_voip_plan" | "push_steering_to_subscriber" | "modify_subscriber_package_active_period" | "get_subscriber_location_by_cell_id" | "reset_subscriber_gz_counter" | "list_destination_lists" | "list_subscriber_voip_tariff" | "list_voip_tariff_rule" | "change_network_profile_of_location_zone" | "get_network_default" | "set_network_default" | "plan_network_default" | "carrier_webhook_config" | "ai_chat" | "ai_insights" | "ai_quota" | "list_invoice_periods" | "get_billing_config" | "update_billing_config" | "stripe_connect_begin" | "stripe_connect_status" | "list_invoices" | "create_invoice" | "get_invoice" | "update_invoice" | "void_invoice" | "get_invoice_document" | "list_connectivity_plans" | "list_connectivity_products" | "create_connectivity_product" | "get_connectivity_product" | "list_connectivity_intents" | "create_connectivity_intent" | "get_connectivity_intent" | "confirm_connectivity_intent" | "create_connectivity_webhook_endpoint" | "list_connectivity_webhook_endpoints" | "delete_connectivity_webhook_endpoint" | "list_connectivity_events" | "get_connectivity_event" | "create_connectivity_usage_record" | "list_connectivity_usage_records" | "retry_connectivity_event" | "issue_esim_from_inventory" | "rollback_esim_issuance" | "subscriber_country_history" | "get_subscriber_notes" | "add_subscriber_note" | "put_subscriber_notes" | "observe_connectivity_event" | "ingest_connectivity_usage" | "ingest_cdr_events" | "aggregate_cdr" | "list_storefront_templates" | "list_storefront_buyer_orders" | "get_storefront_order" | "rollback_storefront_order" | "get_hosted_storefront" | "list_storefronts" | "create_storefront" | "get_storefront" | "update_storefront" | "upsert_storefront_plan" | "update_storefront_plan" | "health_check";
|
|
5
|
+
export type OperationId = "list_reseller_accounts" | "get_reseller_info" | "esim_status_per_account" | "list_sponsors" | "list_steering_lists" | "get_subscriber" | "list_subscribers" | "create_subscriber" | "get_sim_provider_status" | "change_sim_status" | "get_subscriber_location" | "hlr_get_bitrate" | "hlr_set_bitrate" | "list_subscriber_packages" | "assign_package" | "clean_all_packages" | "list_package_templates" | "create_package_template" | "list_location_zones" | "create_location_zone" | "list_detailed_location_zones" | "list_destination_prefixes" | "subscriber_usage" | "subscriber_network_events" | "subscriber_active_period" | "get_tariff" | "list_network_profiles" | "modify_subscriber_balance" | "modify_subscriber_status" | "modify_subscriber_contact_info" | "set_subscriber_traffic_restrictions" | "modify_subscriber_steering_list" | "move_subscriber_range_to_account" | "assign_recurring_package" | "modify_package_limits" | "modify_package_expiry" | "modify_package_status" | "stop_resume_recurring_package" | "modify_account_balance" | "delete_subscriber_package" | "modify_template_core" | "modify_template_recurring" | "modify_template_throttling" | "send_sms" | "fleet_health" | "churn_risk" | "audit_network_coverage" | "diagnose_subscriber" | "detect_usage_anomalies" | "optimize_package" | "marketing_intelligence" | "high_cost_subscribers" | "high_cost_subscribers_method_guard" | "detect_country_entry" | "list_intelligence_schedules" | "create_intelligence_schedule" | "delete_intelligence_schedule" | "run_intelligence_schedule" | "get_intelligence_schedule_report" | "get_intelligence_share" | "operator_billing_connect_begin" | "operator_billing_connect_oauth_begin" | "operator_billing_connect_oauth_complete" | "operator_billing_connect_status" | "operator_billing_connect_dashboard_link" | "operator_billing_list_payouts" | "operator_billing_create_manual_payout" | "operator_billing_get_payout_schedule" | "operator_billing_update_payout_schedule" | "operator_billing_list_fees" | "operator_billing_list_refunds" | "operator_billing_create_refund" | "operator_billing_list_disputes" | "operator_billing_submit_dispute_evidence" | "operator_billing_list_fraud_reviews" | "operator_billing_approve_fraud_review" | "operator_billing_decline_fraud_review" | "operator_billing_list_value_lists" | "operator_billing_add_value_list_item" | "affiliates_me_get" | "affiliates_me_create" | "affiliates_me_commissions_list" | "affiliates_link" | "operator_identity_status" | "operator_identity_create_session" | "operator_identity_update_session" | "operator_list_promotions" | "operator_create_promotion" | "signup_start" | "signup_verify" | "create_api_key" | "get_onboarding_state" | "onboarding_save_org" | "onboarding_connect_ocs_token" | "onboarding_start_managed_account" | "onboarding_save_plan" | "onboarding_skip_plan" | "onboarding_test_esim" | "onboarding_complete" | "operator_billing_stripe_webhook" | "receive_bridge4ip_webhook" | "affect_subscriber_phone_number" | "modify_subscriber_mobile_plan" | "modify_subscriber_voip_plan" | "push_steering_to_subscriber" | "modify_subscriber_package_active_period" | "get_subscriber_location_by_cell_id" | "reset_subscriber_gz_counter" | "list_destination_lists" | "list_subscriber_voip_tariff" | "list_voip_tariff_rule" | "change_network_profile_of_location_zone" | "get_network_default" | "set_network_default" | "plan_network_default" | "carrier_webhook_config" | "ai_chat" | "ai_insights" | "ai_quota" | "list_invoice_periods" | "get_billing_config" | "update_billing_config" | "stripe_connect_begin" | "stripe_connect_status" | "list_invoices" | "create_invoice" | "get_invoice" | "update_invoice" | "void_invoice" | "get_invoice_document" | "list_connectivity_plans" | "list_connectivity_products" | "create_connectivity_product" | "get_connectivity_product" | "list_connectivity_intents" | "create_connectivity_intent" | "get_connectivity_intent" | "confirm_connectivity_intent" | "create_connectivity_webhook_endpoint" | "list_connectivity_webhook_endpoints" | "delete_connectivity_webhook_endpoint" | "list_connectivity_events" | "get_connectivity_event" | "create_connectivity_usage_record" | "list_connectivity_usage_records" | "retry_connectivity_event" | "issue_esim_from_inventory" | "rollback_esim_issuance" | "subscriber_country_history" | "get_subscriber_notes" | "add_subscriber_note" | "put_subscriber_notes" | "observe_connectivity_event" | "ingest_connectivity_usage" | "ingest_cdr_events" | "aggregate_cdr" | "list_storefront_templates" | "list_storefront_buyer_orders" | "get_storefront_order_usage" | "get_storefront_order_top_up_options" | "cancel_storefront_order" | "get_storefront_order" | "rollback_storefront_order" | "get_hosted_storefront" | "list_storefronts" | "create_storefront" | "list_storefront_orders" | "get_storefront" | "update_storefront" | "upsert_storefront_plan" | "update_storefront_plan" | "health_check";
|
package/dist/version.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Published version. Keep this equal to package.json. */
|
|
2
|
-
export declare const SDK_VERSION = "0.2.
|
|
3
|
-
export declare const USER_AGENT = "@carrierllc/sdk/0.2.
|
|
2
|
+
export declare const SDK_VERSION = "0.2.7";
|
|
3
|
+
export declare const USER_AGENT = "@carrierllc/sdk/0.2.7";
|
package/dist/version.js
CHANGED