Skip to content

Commit 905e6b9

Browse files
author
stlc-bot
committed
ci(sdk): sync generated files after the release
Stainless-Generated-From: 5ce2ff4
1 parent f684c2a commit 905e6b9

10 files changed

Lines changed: 1 addition & 166 deletions

File tree

‎src/sent_dm/resources/channels/rcs.py‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,6 @@ def create(
156156
agent_use_case: Which kind of traffic the agent carries. One of the accepted use cases; the
157157
error names the set.
158158
159-
- `VERIFICATION` - One-time passcodes and identity checks. Expects no reply, and
160-
is held to the strictest delivery review.
161-
- `NOTIFICATIONS` - Transactional updates the recipient asked for — orders,
162-
deliveries, appointments, account activity.
163-
- `MARKETING` - Promotional content. Requires the clearest opt-in evidence of
164-
the four, because the carriers review consent hardest here.
165-
- `MULTI_USE` - More than one of the above from a single agent. Vetted against
166-
the strictest use case it covers, so declare it only if you genuinely need one
167-
agent to do several jobs.
168-
169159
brand_color: Primary brand colour, as #RRGGBB. Three-digit shorthand is refused: the value is
170160
submitted verbatim, so two spellings of one colour is only a way for the stored
171161
value to disagree with the form.
@@ -389,16 +379,6 @@ async def create(
389379
agent_use_case: Which kind of traffic the agent carries. One of the accepted use cases; the
390380
error names the set.
391381
392-
- `VERIFICATION` - One-time passcodes and identity checks. Expects no reply, and
393-
is held to the strictest delivery review.
394-
- `NOTIFICATIONS` - Transactional updates the recipient asked for — orders,
395-
deliveries, appointments, account activity.
396-
- `MARKETING` - Promotional content. Requires the clearest opt-in evidence of
397-
the four, because the carriers review consent hardest here.
398-
- `MULTI_USE` - More than one of the above from a single agent. Vetted against
399-
the strictest use case it covers, so declare it only if you genuinely need one
400-
agent to do several jobs.
401-
402382
brand_color: Primary brand colour, as #RRGGBB. Three-digit shorthand is refused: the value is
403383
submitted verbatim, so two spellings of one colour is only a way for the stored
404384
value to disagree with the form.

‎src/sent_dm/resources/channels/sms/sms.py‎

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -217,23 +217,6 @@ def create(
217217
silently does not for number_type. A client generating a request from our
218218
OpenAPI therefore sent what the document called sufficient and was answered 400.
219219
220-
- `LOCAL` - A geographic number for the country. The ordinary choice:
221-
recognisable to recipients, and available almost everywhere.
222-
- `TOLL_FREE` - A toll-free number. High throughput and no per-country
223-
registration, but US toll-free traffic goes through its own verification.
224-
- `SHORT_CODE` - A short code — five or six digits, leased rather than
225-
provisioned. Highest throughput, longest lead time, and the most expensive.
226-
- `ALPHANUMERIC` - A sender name rather than a number, up to 11 characters.
227-
Recipients cannot reply. Not available in every country, and several require
228-
it to be pre-registered with documents.
229-
- `TEN_DLC` - A US 10-digit long code registered with The Campaign Registry. The
230-
only sender type that registers with a compliance regime, so it is the only
231-
one whose market declares `compliance.brand` and `compliance.campaign`.
232-
- `MOBILE` - A mobile number. Where a country distinguishes it from a landline,
233-
some carriers treat mobile traffic differently.
234-
- `10DLC` - The industry's spelling of `TEN_DLC`, accepted so an integrator can
235-
send the term it knows. Resolves to the same market.
236-
237220
area_codes: The area codes to put this sender in, in your own order of preference, e.g.
238221
["415", "628"] for the US or ["20"] for London. Omit it and a number is claimed
239222
anywhere in the country.
@@ -768,23 +751,6 @@ async def create(
768751
silently does not for number_type. A client generating a request from our
769752
OpenAPI therefore sent what the document called sufficient and was answered 400.
770753
771-
- `LOCAL` - A geographic number for the country. The ordinary choice:
772-
recognisable to recipients, and available almost everywhere.
773-
- `TOLL_FREE` - A toll-free number. High throughput and no per-country
774-
registration, but US toll-free traffic goes through its own verification.
775-
- `SHORT_CODE` - A short code — five or six digits, leased rather than
776-
provisioned. Highest throughput, longest lead time, and the most expensive.
777-
- `ALPHANUMERIC` - A sender name rather than a number, up to 11 characters.
778-
Recipients cannot reply. Not available in every country, and several require
779-
it to be pre-registered with documents.
780-
- `TEN_DLC` - A US 10-digit long code registered with The Campaign Registry. The
781-
only sender type that registers with a compliance regime, so it is the only
782-
one whose market declares `compliance.brand` and `compliance.campaign`.
783-
- `MOBILE` - A mobile number. Where a country distinguishes it from a landline,
784-
some carriers treat mobile traffic differently.
785-
- `10DLC` - The industry's spelling of `TEN_DLC`, accepted so an integrator can
786-
send the term it knows. Resolves to the same market.
787-
788754
area_codes: The area codes to put this sender in, in your own order of preference, e.g.
789755
["415", "628"] for the US or ["20"] for London. Omit it and a number is claimed
790756
anywhere in the country.

‎src/sent_dm/resources/channels/voice.py‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,6 @@ def update(
319319
ignoring case. Turning the default line off is refused while other active voice
320320
numbers remain.
321321
322-
- `ACTIVE` - Turns calls on for the number again. The callback URL and the
323-
signing secret it had are kept; send `callback_url` in the same call to
324-
replace the URL.
325-
- `INACTIVE` - Turns calls off for the number. Refused while the number is the
326-
default line for app calls and other active voice numbers remain; move the
327-
default first. The callback URL and the secret stay on the number.
328-
329322
extra_headers: Send extra headers
330323
331324
extra_query: Add additional query parameters to the request
@@ -810,13 +803,6 @@ async def update(
810803
ignoring case. Turning the default line off is refused while other active voice
811804
numbers remain.
812805
813-
- `ACTIVE` - Turns calls on for the number again. The callback URL and the
814-
signing secret it had are kept; send `callback_url` in the same call to
815-
replace the URL.
816-
- `INACTIVE` - Turns calls off for the number. Refused while the number is the
817-
default line for app calls and other active voice numbers remain; move the
818-
default first. The callback URL and the secret stay on the number.
819-
820806
extra_headers: Send extra headers
821807
822808
extra_query: Add additional query parameters to the request

‎src/sent_dm/types/channels/rc_create_params.py‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ class RcCreateParams(TypedDict, total=False):
1717
"""Which kind of traffic the agent carries.
1818
1919
One of the accepted use cases; the error names the set.
20-
21-
- `VERIFICATION` - One-time passcodes and identity checks. Expects no reply, and
22-
is held to the strictest delivery review.
23-
- `NOTIFICATIONS` - Transactional updates the recipient asked for — orders,
24-
deliveries, appointments, account activity.
25-
- `MARKETING` - Promotional content. Requires the clearest opt-in evidence of
26-
the four, because the carriers review consent hardest here.
27-
- `MULTI_USE` - More than one of the above from a single agent. Vetted against
28-
the strictest use case it covers, so declare it only if you genuinely need one
29-
agent to do several jobs.
3020
"""
3121

3222
banner_url: str

‎src/sent_dm/types/channels/rcs_agent.py‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -106,27 +106,6 @@ class RcsAgent(BaseModel):
106106
whose resubmission we have asked for reads ACTION_NEEDED however its carrier
107107
status still reads, and an agent not yet handed over reads PROVISIONING rather
108108
than pending a review nobody has started.
109-
110-
- `PROVISIONING` - We are working on it and there is nothing for you to do — a
111-
number is being procured, or a registration is being assembled. Minutes to
112-
hours.
113-
- `ACTION_NEEDED` - **Waiting on you.** Something the market asks for has not
114-
been supplied, a regulator rejected what was, or we have asked you to correct
115-
and resubmit your identity data. Nothing progresses until you act. For an SMS
116-
market, `GET /v3/channels/sms/{country}/{type}` names what it wants and
117-
`PATCH` on the same path supplies it — compliance values, documents and
118-
numbers alike.
119-
- `PENDING_REVIEW` - With a regulator or carrier — filed, or assembled and
120-
queued for us to file — and their answer is what moves it, to `ACTIVE` or back
121-
to `ACTION_NEEDED`. Nothing on your side changes it. Days for SMS, weeks for
122-
RCS.
123-
- `ACTIVE` - Can carry traffic now. A channel a sender profile runs on its
124-
organization's reads `ACTIVE` too — it sends, which is what the field is
125-
about.
126-
- `INACTIVE` - **It had a working sender and no longer does** — the number was
127-
released, or the campaign it carried lapsed. Distinct from `PROVISIONING`,
128-
which means it has never sent yet: the same absence of a sender, opposite
129-
news. Sends will fail until it returns to `ACTIVE`.
130109
"""
131110

132111
stop_message: Optional[str] = None

‎src/sent_dm/types/channels/sms_create_params.py‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,6 @@ class SMSCreateParams(TypedDict, total=False):
2222
which works for country, whose wire name is its camel-cased C# name, and
2323
silently does not for number_type. A client generating a request from our
2424
OpenAPI therefore sent what the document called sufficient and was answered 400.
25-
26-
- `LOCAL` - A geographic number for the country. The ordinary choice:
27-
recognisable to recipients, and available almost everywhere.
28-
- `TOLL_FREE` - A toll-free number. High throughput and no per-country
29-
registration, but US toll-free traffic goes through its own verification.
30-
- `SHORT_CODE` - A short code — five or six digits, leased rather than
31-
provisioned. Highest throughput, longest lead time, and the most expensive.
32-
- `ALPHANUMERIC` - A sender name rather than a number, up to 11 characters.
33-
Recipients cannot reply. Not available in every country, and several require
34-
it to be pre-registered with documents.
35-
- `TEN_DLC` - A US 10-digit long code registered with The Campaign Registry. The
36-
only sender type that registers with a compliance regime, so it is the only
37-
one whose market declares `compliance.brand` and `compliance.campaign`.
38-
- `MOBILE` - A mobile number. Where a country distinguishes it from a landline,
39-
some carriers treat mobile traffic differently.
40-
- `10DLC` - The industry's spelling of `TEN_DLC`, accepted so an integrator can
41-
send the term it knows. Resolves to the same market.
4225
"""
4326

4427
area_codes: Optional[SequenceNotStr[str]]

‎src/sent_dm/types/channels/sms_market.py‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -82,25 +82,4 @@ class SMSMarket(BaseModel):
8282
Describes whether the market can send, not each number: a market holding several
8383
numbers reads ACTIVE as soon as one of them is, whatever the others are doing.
8484
Each number's own status is in numbers.
85-
86-
- `PROVISIONING` - We are working on it and there is nothing for you to do — a
87-
number is being procured, or a registration is being assembled. Minutes to
88-
hours.
89-
- `ACTION_NEEDED` - **Waiting on you.** Something the market asks for has not
90-
been supplied, a regulator rejected what was, or we have asked you to correct
91-
and resubmit your identity data. Nothing progresses until you act. For an SMS
92-
market, `GET /v3/channels/sms/{country}/{type}` names what it wants and
93-
`PATCH` on the same path supplies it — compliance values, documents and
94-
numbers alike.
95-
- `PENDING_REVIEW` - With a regulator or carrier — filed, or assembled and
96-
queued for us to file — and their answer is what moves it, to `ACTIVE` or back
97-
to `ACTION_NEEDED`. Nothing on your side changes it. Days for SMS, weeks for
98-
RCS.
99-
- `ACTIVE` - Can carry traffic now. A channel a sender profile runs on its
100-
organization's reads `ACTIVE` too — it sends, which is what the field is
101-
about.
102-
- `INACTIVE` - **It had a working sender and no longer does** — the number was
103-
released, or the campaign it carried lapsed. Distinct from `PROVISIONING`,
104-
which means it has never sent yet: the same absence of a sender, opposite
105-
news. Sends will fail until it returns to `ACTIVE`.
10685
"""

‎src/sent_dm/types/channels/voice_update_params.py‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,6 @@ class VoiceUpdateParams(TypedDict, total=False):
4444
4545
Matched ignoring case. Turning the default line off is refused while other
4646
active voice numbers remain.
47-
48-
- `ACTIVE` - Turns calls on for the number again. The callback URL and the
49-
signing secret it had are kept; send `callback_url` in the same call to
50-
replace the URL.
51-
- `INACTIVE` - Turns calls off for the number. Refused while the number is the
52-
default line for app calls and other active voice numbers remain; move the
53-
default first. The callback URL and the secret stay on the number.
5447
"""
5548

5649
idempotency_key: Annotated[str, PropertyInfo(alias="Idempotency-Key")]

‎src/sent_dm/types/channels/whatsapp_channel.py‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,6 @@ class WhatsappChannel(BaseModel):
4949
Never carries a token — the row holds that and it is not returned. ACTION_NEEDED
5050
when no account is connected or the account has no phone number: both are yours
5151
to do.
52-
53-
- `PROVISIONING` - We are working on it and there is nothing for you to do — a
54-
number is being procured, or a registration is being assembled. Minutes to
55-
hours.
56-
- `ACTION_NEEDED` - **Waiting on you.** Something the market asks for has not
57-
been supplied, a regulator rejected what was, or we have asked you to correct
58-
and resubmit your identity data. Nothing progresses until you act. For an SMS
59-
market, `GET /v3/channels/sms/{country}/{type}` names what it wants and
60-
`PATCH` on the same path supplies it — compliance values, documents and
61-
numbers alike.
62-
- `PENDING_REVIEW` - With a regulator or carrier — filed, or assembled and
63-
queued for us to file — and their answer is what moves it, to `ACTIVE` or back
64-
to `ACTION_NEEDED`. Nothing on your side changes it. Days for SMS, weeks for
65-
RCS.
66-
- `ACTIVE` - Can carry traffic now. A channel a sender profile runs on its
67-
organization's reads `ACTIVE` too — it sends, which is what the field is
68-
about.
69-
- `INACTIVE` - **It had a working sender and no longer does** — the number was
70-
released, or the campaign it carried lapsed. Distinct from `PROVISIONING`,
71-
which means it has never sent yet: the same absence of a sender, opposite
72-
news. Sends will fail until it returns to `ACTIVE`.
7352
"""
7453

7554
waba_id: Optional[str] = None

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)