Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

panther-277 #1003

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions site/specs/numbers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,18 @@ components:
required: true
schema:
type: string
CountryCodeA3QueryParam:
description: >-
Country code of the country in its ISO 3166-1 alpha-3 format. Note that
only one country code (i.e. USA, CAN, GBR etc.) is allowed when
configured by the user. The system defaults country code to search for
restrictions in all countries we have coverage.
example: BEL
in: query
name: countryCodeA3
required: false
schema:
type: string
CreatedDateFromQueryParam:
description: >-
Checks the order's creation date against this value. Orders that have a
Expand Down Expand Up @@ -9947,6 +9959,35 @@ components:
type: integer
type: object
type: object
Restriction:
properties:
CountryCodeA3:
type: string
RestrictionCategory:
type: string
RestrictionDescription:
type: string
RestrictionType:
$ref: '#/components/schemas/RestrictionType'
type: object
RestrictionResponse:
properties:
RestrictionResponse:
properties:
Restrictions:
items:
$ref: '#/components/schemas/Restriction'
type: array
type: object
type: object
RestrictionType:
enum:
- LEGAL
- PURCHASE
- SERVICE
- NRA
example: LEGAL
type: string
RogerTerminationSettings:
properties:
SubnetAddressingAllowed:
Expand Down Expand Up @@ -40945,6 +40986,55 @@ paths:
summary: List Rate Centers
tags:
- Rate Centers
/restrictions:
get:
description: >-
Information about how services work in various countries and which
restrictions and rules apply. Please consult this information before
buying and configuring your numbers.
operationId: ListRestrictions
parameters:
- $ref: '#/components/parameters/CountryCodeA3QueryParam'
responses:
'200':
content:
application/xml:
examples:
example:
value: |-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RestrictionResponse>
<Restrictions>
<Restriction>
<CountryCodeA3>BEL</CountryCodeA3>
<RestrictionType>LEGAL</RestrictionType>
<RestrictionCategory>Number portability</RestrictionCategory>
<RestrictionDescription>Lorem ipsum</RestrictionDescription>
</Restriction>
<Restriction>
<CountryCodeA3>BEL</CountryCodeA3>
<RestrictionType>PURCHASE</RestrictionType>
<RestrictionCategory>Address or identification requirements</RestrictionCategory>
<RestrictionDescription>Lorem ipsum</RestrictionDescription>
</Restriction>
<Restriction>
<CountryCodeA3>BEL</CountryCodeA3>
<RestrictionType>SERVICE</RestrictionType>
<RestrictionCategory>Compatibility issues</RestrictionCategory>
<RestrictionDescription>Lorem ipsum</RestrictionDescription>
</Restriction>
</Restrictions>
</RestrictionResponse>
schema:
$ref: '#/components/schemas/RestrictionResponse'
description: >-
This response returns the list of cities, along with the Rate
Centers that serve those Restrictions. If 'available' is specified
then the number of TNs available in that city / RC combination is
also included.
summary: List Restrictions
tags:
- Compliance
/tns:
get:
description: >-
Expand Down Expand Up @@ -42101,6 +42191,7 @@ tags:
name: Bulk Port-In
- name: Callbacks
- name: Cities
- name: Compliance
- description: >-
DLDA = Directory Listing and Directory Assistance. A DLDA resource
associates a TN with a Street Address. This gets updated in a Network
Expand Down