{"openapi":"3.1.0","info":{"title":"Signal Telecom Suite — MVNO & Interconnect APIs","description":"Mobile Virtual Network Operator: SIM lifecycle, carrier interconnect","version":"0.1.0"},"paths":{"/api/v1/mvno/sims":{"post":{"tags":["SIG-SIM — MVNO"],"summary":"Register Sim","description":"Register a new SIM card into inventory.","operationId":"register_sim_api_v1_mvno_sims_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SIMCardCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SIMCardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["SIG-SIM — MVNO"],"summary":"List Sims","operationId":"list_sims_api_v1_mvno_sims_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SIMCardResponse"},"title":"Response List Sims Api V1 Mvno Sims Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/sims/{iccid}/activate":{"post":{"tags":["SIG-SIM — MVNO"],"summary":"Activate Sim","description":"Activate a SIM — assign MSISDN, bind to customer, create mobile subscriber.","operationId":"activate_sim_api_v1_mvno_sims__iccid__activate_post","parameters":[{"name":"iccid","in":"path","required":true,"schema":{"type":"string","title":"Iccid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SIMActivateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileSubscriberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/sims/{iccid}/suspend":{"post":{"tags":["SIG-SIM — MVNO"],"summary":"Suspend Sim","operationId":"suspend_sim_api_v1_mvno_sims__iccid__suspend_post","parameters":[{"name":"iccid","in":"path","required":true,"schema":{"type":"string","title":"Iccid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Suspend Sim Api V1 Mvno Sims  Iccid  Suspend Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/sims/{iccid}/deactivate":{"post":{"tags":["SIG-SIM — MVNO"],"summary":"Deactivate Sim","operationId":"deactivate_sim_api_v1_mvno_sims__iccid__deactivate_post","parameters":[{"name":"iccid","in":"path","required":true,"schema":{"type":"string","title":"Iccid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Deactivate Sim Api V1 Mvno Sims  Iccid  Deactivate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/sims/{iccid}":{"get":{"tags":["SIG-SIM — MVNO"],"summary":"Get Sim","description":"Get a single SIM card by ICCID.","operationId":"get_sim_api_v1_mvno_sims__iccid__get","parameters":[{"name":"iccid","in":"path","required":true,"schema":{"type":"string","title":"Iccid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SIMCardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/sims/{iccid}/assign":{"post":{"tags":["SIG-SIM — MVNO"],"summary":"Assign Sim To Customer","description":"Assign an available SIM to a customer without activating it.","operationId":"assign_sim_to_customer_api_v1_mvno_sims__iccid__assign_post","parameters":[{"name":"iccid","in":"path","required":true,"schema":{"type":"string","title":"Iccid"}},{"name":"customer_id","in":"query","required":true,"schema":{"type":"string","title":"Customer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Assign Sim To Customer Api V1 Mvno Sims  Iccid  Assign Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/enterprise":{"post":{"tags":["SIG-SIM — MVNO"],"summary":"Create Enterprise Account","description":"Create an enterprise MVNO account for bulk SIM management.","operationId":"create_enterprise_account_api_v1_mvno_enterprise_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseAccountCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseAccountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["SIG-SIM — MVNO"],"summary":"List Enterprise Accounts","description":"List all enterprise MVNO accounts.","operationId":"list_enterprise_accounts_api_v1_mvno_enterprise_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EnterpriseAccountResponse"},"title":"Response List Enterprise Accounts Api V1 Mvno Enterprise Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/enterprise/{account_id}":{"get":{"tags":["SIG-SIM — MVNO"],"summary":"Get Enterprise Account","description":"Get enterprise account details.","operationId":"get_enterprise_account_api_v1_mvno_enterprise__account_id__get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"integer","title":"Account Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseAccountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/enterprise/{account_id}/sims":{"get":{"tags":["SIG-SIM — MVNO"],"summary":"List Enterprise Sims","description":"List all SIMs assigned to an enterprise account with filtering.","operationId":"list_enterprise_sims_api_v1_mvno_enterprise__account_id__sims_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"integer","title":"Account Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"cost_center","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cost Center"}},{"name":"department","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EnterpriseSIMResponse"},"title":"Response List Enterprise Sims Api V1 Mvno Enterprise  Account Id  Sims Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/enterprise/bulk-assign":{"post":{"tags":["SIG-SIM — MVNO"],"summary":"Bulk Assign Sims","description":"Assign multiple SIMs to an enterprise account in one operation.\n\nEach SIM is linked to the enterprise, optionally tagged with cost center\nand department for billing allocation.","operationId":"bulk_assign_sims_api_v1_mvno_enterprise_bulk_assign_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkSIMAssignRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkSIMAssignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/enterprise/{account_id}/bulk-activate":{"post":{"tags":["SIG-SIM — MVNO"],"summary":"Bulk Activate Sims","description":"Activate all assigned SIMs in an enterprise account.\n\nOptionally auto-assigns MSISDNs from a number range.","operationId":"bulk_activate_sims_api_v1_mvno_enterprise__account_id__bulk_activate_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"integer","title":"Account Id"}},{"name":"msisdn_prefix","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Msisdn Prefix"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Bulk Activate Sims Api V1 Mvno Enterprise  Account Id  Bulk Activate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/enterprise/{account_id}/bulk-suspend":{"post":{"tags":["SIG-SIM — MVNO"],"summary":"Bulk Suspend Sims","description":"Suspend all or a cost center's SIMs in an enterprise account.","operationId":"bulk_suspend_sims_api_v1_mvno_enterprise__account_id__bulk_suspend_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"integer","title":"Account Id"}},{"name":"cost_center","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cost Center"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Bulk Suspend Sims Api V1 Mvno Enterprise  Account Id  Bulk Suspend Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mvno/enterprise/{account_id}/usage-summary":{"get":{"tags":["SIG-SIM — MVNO"],"summary":"Enterprise Usage Summary","description":"Aggregated usage across all SIMs in an enterprise account.\n\nBreaks down by cost center and department for billing allocation.","operationId":"enterprise_usage_summary_api_v1_mvno_enterprise__account_id__usage_summary_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"integer","title":"Account Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Enterprise Usage Summary Api V1 Mvno Enterprise  Account Id  Usage Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/icx/carriers":{"post":{"tags":["SIG-ICX — Carrier Interconnect"],"summary":"Register Carrier","description":"Register a carrier partner (MVNO host, transit, IXP).","operationId":"register_carrier_api_v1_icx_carriers_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CarrierCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CarrierResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["SIG-ICX — Carrier Interconnect"],"summary":"List Carriers","operationId":"list_carriers_api_v1_icx_carriers_get","parameters":[{"name":"carrier_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Carrier Type"}},{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CarrierResponse"},"title":"Response List Carriers Api V1 Icx Carriers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/icx/carriers/{slug}":{"get":{"tags":["SIG-ICX — Carrier Interconnect"],"summary":"Get Carrier","operationId":"get_carrier_api_v1_icx_carriers__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CarrierResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["SIG-ICX — Carrier Interconnect"],"summary":"Update Carrier","description":"Update a carrier partner's fields.","operationId":"update_carrier_api_v1_icx_carriers__slug__patch","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CarrierUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CarrierResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["SIG-ICX — Carrier Interconnect"],"summary":"Delete Carrier","description":"Delete a carrier partner.","operationId":"delete_carrier_api_v1_icx_carriers__slug__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/icx/catalog":{"get":{"tags":["SIG-ICX — Carrier Interconnect"],"summary":"Carrier Catalog","description":"All known carriers Signal Telecom Suite can integrate with.\n\nReturns the static reference catalog enriched with registration status.\nCarriers already registered by this tenant are marked as registered=True.\nAny registered carriers not in the static catalog are appended at the end.","operationId":"carrier_catalog_api_v1_icx_catalog_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-tenant-id","in":"header","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"X-Tenant-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Carrier Catalog Api V1 Icx Catalog Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BulkSIMAssignRequest":{"properties":{"enterprise_account_id":{"type":"integer","title":"Enterprise Account Id"},"iccids":{"items":{"type":"string"},"type":"array","maxItems":500,"minItems":1,"title":"Iccids"},"plan_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Id"},"cost_center":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cost Center"},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department"}},"type":"object","required":["enterprise_account_id","iccids"],"title":"BulkSIMAssignRequest","description":"Assign multiple SIMs to an enterprise account in one call."},"BulkSIMAssignResponse":{"properties":{"enterprise_account_id":{"type":"integer","title":"Enterprise Account Id"},"assigned":{"type":"integer","title":"Assigned"},"failed":{"type":"integer","title":"Failed"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors"}},"type":"object","required":["enterprise_account_id","assigned","failed","errors"],"title":"BulkSIMAssignResponse"},"CarrierCreate":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug","examples":["airtel-in"]},"carrier_type":{"$ref":"#/components/schemas/CarrierType"},"countries":{"type":"string","title":"Countries","examples":["IN,KE,UG,RW,NG"]},"peering_asn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Peering Asn"},"peering_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Peering Ip"},"sip_trunk_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sip Trunk Ip"},"diameter_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diameter Host"},"cdr_sftp_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cdr Sftp Host"},"api_endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Endpoint"},"wholesale_currency":{"type":"string","title":"Wholesale Currency","default":"USD"},"voice_rate_per_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voice Rate Per Min"},"sms_rate_per_msg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sms Rate Per Msg"},"data_rate_per_mb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Data Rate Per Mb"},"transit_rate_per_mbps":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Transit Rate Per Mbps"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name","slug","carrier_type","countries"],"title":"CarrierCreate"},"CarrierResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"carrier_type":{"type":"string","title":"Carrier Type"},"countries":{"type":"string","title":"Countries"},"status":{"type":"string","title":"Status"},"peering_asn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Peering Asn"},"peering_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Peering Ip"},"sip_trunk_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sip Trunk Ip"},"diameter_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diameter Host"},"cdr_sftp_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cdr Sftp Host"},"api_endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Endpoint"},"wholesale_currency":{"type":"string","title":"Wholesale Currency"},"voice_rate_per_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voice Rate Per Min"},"sms_rate_per_msg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sms Rate Per Msg"},"data_rate_per_mb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Data Rate Per Mb"},"transit_rate_per_mbps":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Transit Rate Per Mbps"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","name","slug","carrier_type","countries","status","peering_asn","peering_ip","sip_trunk_ip","diameter_host","cdr_sftp_host","api_endpoint","wholesale_currency","voice_rate_per_min","sms_rate_per_msg","data_rate_per_mb","transit_rate_per_mbps","notes","created_at"],"title":"CarrierResponse"},"CarrierType":{"type":"string","enum":["mno","mvno_host","transit","ixp","wholesale"],"title":"CarrierType"},"CarrierUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"carrier_type":{"anyOf":[{"$ref":"#/components/schemas/CarrierType"},{"type":"null"}]},"countries":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Countries"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"peering_asn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Peering Asn"},"peering_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Peering Ip"},"sip_trunk_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sip Trunk Ip"},"diameter_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diameter Host"},"cdr_sftp_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cdr Sftp Host"},"api_endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Endpoint"},"wholesale_currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wholesale Currency"},"voice_rate_per_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voice Rate Per Min"},"sms_rate_per_msg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sms Rate Per Msg"},"data_rate_per_mb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Data Rate Per Mb"},"transit_rate_per_mbps":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Transit Rate Per Mbps"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"CarrierUpdate"},"EnterpriseAccountCreate":{"properties":{"customer_id":{"type":"string","maxLength":36,"title":"Customer Id"},"account_name":{"type":"string","maxLength":200,"title":"Account Name"},"plan_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Id"},"max_sims":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Max Sims","default":100},"billing_mode":{"type":"string","title":"Billing Mode","default":"consolidated"},"volume_discount_pct":{"anyOf":[{"type":"number","maximum":50.0,"minimum":0.0},{"type":"null"}],"title":"Volume Discount Pct"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["customer_id","account_name"],"title":"EnterpriseAccountCreate"},"EnterpriseAccountResponse":{"properties":{"id":{"type":"integer","title":"Id"},"tenant_id":{"type":"integer","title":"Tenant Id"},"customer_id":{"type":"string","title":"Customer Id"},"account_name":{"type":"string","title":"Account Name"},"plan_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Id"},"max_sims":{"type":"integer","title":"Max Sims"},"active_sims":{"type":"integer","title":"Active Sims"},"billing_mode":{"type":"string","title":"Billing Mode"},"volume_discount_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Discount Pct"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","tenant_id","customer_id","account_name","plan_id","max_sims","active_sims","billing_mode","volume_discount_pct","status","created_at"],"title":"EnterpriseAccountResponse"},"EnterpriseSIMResponse":{"properties":{"id":{"type":"integer","title":"Id"},"iccid":{"type":"string","title":"Iccid"},"imsi":{"type":"string","title":"Imsi"},"msisdn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Msisdn"},"status":{"type":"string","title":"Status"},"employee_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Employee Name"},"employee_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Employee Id"},"cost_center":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cost Center"},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department"},"activated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Activated At"}},"type":"object","required":["id","iccid","imsi","msisdn","status","employee_name","employee_id","cost_center","department","activated_at"],"title":"EnterpriseSIMResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"MobileSubscriberResponse":{"properties":{"id":{"type":"integer","title":"Id"},"customer_id":{"type":"string","title":"Customer Id"},"sim_id":{"type":"integer","title":"Sim Id"},"plan_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Id"},"status":{"type":"string","title":"Status"},"provisioned_in_hss":{"type":"string","title":"Provisioned In Hss"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","customer_id","sim_id","plan_id","status","provisioned_in_hss","created_at"],"title":"MobileSubscriberResponse"},"SIMActivateRequest":{"properties":{"customer_id":{"type":"string","title":"Customer Id"},"msisdn":{"type":"string","maxLength":15,"title":"Msisdn"},"plan_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Id"}},"type":"object","required":["customer_id","msisdn"],"title":"SIMActivateRequest"},"SIMCardCreate":{"properties":{"iccid":{"type":"string","maxLength":22,"title":"Iccid"},"imsi":{"type":"string","maxLength":15,"title":"Imsi"},"msisdn":{"anyOf":[{"type":"string","maxLength":15},{"type":"null"}],"title":"Msisdn"},"pin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pin"},"puk":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Puk"}},"type":"object","required":["iccid","imsi"],"title":"SIMCardCreate"},"SIMCardResponse":{"properties":{"id":{"type":"integer","title":"Id"},"iccid":{"type":"string","title":"Iccid"},"imsi":{"type":"string","title":"Imsi"},"msisdn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Msisdn"},"customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Id"},"status":{"$ref":"#/components/schemas/SIMStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"activated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Activated At"}},"type":"object","required":["id","iccid","imsi","msisdn","customer_id","status","created_at","activated_at"],"title":"SIMCardResponse"},"SIMStatus":{"type":"string","enum":["available","assigned","active","suspended","ported_out","deactivated"],"title":"SIMStatus"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}},"servers":[{"url":"/docs/mvno"}]}