zernio-sdk 0.0.641 → 0.0.643
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.
- checksums.yaml +4 -4
- data/docs/SMSApi.md +1 -1
- data/lib/zernio-sdk/api/sms_api.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +5 -6
- data/spec/api/sms_api_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1856d08886beade98dee26905af7d6d0735c187ff48069896f28a4c6c4d5ee18
|
|
4
|
+
data.tar.gz: 3e4dac12bfd3e7a4fb7599ec7aabeb754246f9342e3accfdc77af703bb88ef0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3c4ed4056b782e4149c93dd4cc194d0d7bed67a6865a73e961a2431e0f11acfb2efa8a7d22fd68e46645f58df0aadf138b6f13f3a400099ed0ba16cc0f11569
|
|
7
|
+
data.tar.gz: 67daaac5ccf1e017e699c453713aa80e88453b2cbf493aa1113aabb3c90fd710834d381a7211023e4f4e5cd9820049c6574207b1cad958b7509f8073948e4c73
|
data/docs/SMSApi.md
CHANGED
|
@@ -105,7 +105,7 @@ end
|
|
|
105
105
|
|
|
106
106
|
Create an alphanumeric sender ID
|
|
107
107
|
|
|
108
|
-
Registers an alphanumeric sender ID (e.g. `ZERNIO`) — a branded `from` for one-way international SMS. No phone number purchase or carrier registration is needed; once created, pass it as `from` on `POST /v1/sms/messages`. Constraints: 3-11 characters (letters, digits, spaces; at least one letter). Sends cannot reach the US, Canada, or Puerto Rico, are text-only, and recipients cannot reply. Sender IDs that impersonate well-known brands or institutions are rejected
|
|
108
|
+
Registers an alphanumeric sender ID (e.g. `ZERNIO`) — a branded `from` for one-way international SMS. No phone number purchase or carrier registration is needed; once created, pass it as `from` on `POST /v1/sms/messages`. Constraints: 3-11 characters (letters, digits, spaces; at least one letter). Sends cannot reach the US, Canada, or Puerto Rico, are text-only, and recipients cannot reply. Sender IDs that impersonate well-known brands or institutions are rejected. Names are not exclusive: the same sender ID can be registered by any number of workspaces. Creating the same sender ID again is a no-op (re-activates it after a delete).
|
|
109
109
|
|
|
110
110
|
### Examples
|
|
111
111
|
|
|
@@ -94,7 +94,7 @@ module Zernio
|
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
# Create an alphanumeric sender ID
|
|
97
|
-
# Registers an alphanumeric sender ID (e.g. `ZERNIO`) — a branded `from` for one-way international SMS. No phone number purchase or carrier registration is needed; once created, pass it as `from` on `POST /v1/sms/messages`. Constraints: 3-11 characters (letters, digits, spaces; at least one letter). Sends cannot reach the US, Canada, or Puerto Rico, are text-only, and recipients cannot reply. Sender IDs that impersonate well-known brands or institutions are rejected
|
|
97
|
+
# Registers an alphanumeric sender ID (e.g. `ZERNIO`) — a branded `from` for one-way international SMS. No phone number purchase or carrier registration is needed; once created, pass it as `from` on `POST /v1/sms/messages`. Constraints: 3-11 characters (letters, digits, spaces; at least one letter). Sends cannot reach the US, Canada, or Puerto Rico, are text-only, and recipients cannot reply. Sender IDs that impersonate well-known brands or institutions are rejected. Names are not exclusive: the same sender ID can be registered by any number of workspaces. Creating the same sender ID again is a no-op (re-activates it after a delete).
|
|
98
98
|
# @param create_sms_sender_id_request [CreateSmsSenderIdRequest]
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
100
100
|
# @return [CreateSmsSenderId200Response]
|
|
@@ -104,7 +104,7 @@ module Zernio
|
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
# Create an alphanumeric sender ID
|
|
107
|
-
# Registers an alphanumeric sender ID (e.g. `ZERNIO`) — a branded `from` for one-way international SMS. No phone number purchase or carrier registration is needed; once created, pass it as `from` on `POST /v1/sms/messages`. Constraints: 3-11 characters (letters, digits, spaces; at least one letter). Sends cannot reach the US, Canada, or Puerto Rico, are text-only, and recipients cannot reply. Sender IDs that impersonate well-known brands or institutions are rejected
|
|
107
|
+
# Registers an alphanumeric sender ID (e.g. `ZERNIO`) — a branded `from` for one-way international SMS. No phone number purchase or carrier registration is needed; once created, pass it as `from` on `POST /v1/sms/messages`. Constraints: 3-11 characters (letters, digits, spaces; at least one letter). Sends cannot reach the US, Canada, or Puerto Rico, are text-only, and recipients cannot reply. Sender IDs that impersonate well-known brands or institutions are rejected. Names are not exclusive: the same sender ID can be registered by any number of workspaces. Creating the same sender ID again is a no-op (re-activates it after a delete).
|
|
108
108
|
# @param create_sms_sender_id_request [CreateSmsSenderIdRequest]
|
|
109
109
|
# @param [Hash] opts the optional parameters
|
|
110
110
|
# @return [Array<(CreateSmsSenderId200Response, Integer, Hash)>] CreateSmsSenderId200Response data, response status code and response headers
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -27275,10 +27275,10 @@ paths:
|
|
|
27275
27275
|
Constraints: 3-11 characters (letters, digits, spaces; at least one
|
|
27276
27276
|
letter). Sends cannot reach the US, Canada, or Puerto Rico, are
|
|
27277
27277
|
text-only, and recipients cannot reply. Sender IDs that impersonate
|
|
27278
|
-
well-known brands or institutions are rejected
|
|
27279
|
-
|
|
27280
|
-
|
|
27281
|
-
|
|
27278
|
+
well-known brands or institutions are rejected. Names are not
|
|
27279
|
+
exclusive: the same sender ID can be registered by any number of
|
|
27280
|
+
workspaces. Creating the same sender ID again is a no-op
|
|
27281
|
+
(re-activates it after a delete).
|
|
27282
27282
|
security:
|
|
27283
27283
|
- bearerAuth: []
|
|
27284
27284
|
requestBody:
|
|
@@ -27307,8 +27307,7 @@ paths:
|
|
|
27307
27307
|
isActive: { type: boolean }
|
|
27308
27308
|
'400': { $ref: '#/components/responses/BadRequest' }
|
|
27309
27309
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
27310
|
-
'403': { description: 'Workspace is not on usage-based billing, or already holds the maximum of
|
|
27311
|
-
'409': { description: 'Sender ID already registered by another workspace (code `sender_id_taken`).' }
|
|
27310
|
+
'403': { description: 'Workspace is not on usage-based billing, or already holds the maximum of 1,000 active sender IDs (code `sender_id_limit_reached`; raisable via support).' }
|
|
27312
27311
|
'422': { description: 'Sender ID rejected: it appears to impersonate a protected brand or institution.' }
|
|
27313
27312
|
get:
|
|
27314
27313
|
operationId: listSmsSenderIds
|
data/spec/api/sms_api_spec.rb
CHANGED
|
@@ -47,7 +47,7 @@ describe 'SMSApi' do
|
|
|
47
47
|
|
|
48
48
|
# unit tests for create_sms_sender_id
|
|
49
49
|
# Create an alphanumeric sender ID
|
|
50
|
-
# Registers an alphanumeric sender ID (e.g. `ZERNIO`) — a branded `from` for one-way international SMS. No phone number purchase or carrier registration is needed; once created, pass it as `from` on `POST /v1/sms/messages`. Constraints: 3-11 characters (letters, digits, spaces; at least one letter). Sends cannot reach the US, Canada, or Puerto Rico, are text-only, and recipients cannot reply. Sender IDs that impersonate well-known brands or institutions are rejected
|
|
50
|
+
# Registers an alphanumeric sender ID (e.g. `ZERNIO`) — a branded `from` for one-way international SMS. No phone number purchase or carrier registration is needed; once created, pass it as `from` on `POST /v1/sms/messages`. Constraints: 3-11 characters (letters, digits, spaces; at least one letter). Sends cannot reach the US, Canada, or Puerto Rico, are text-only, and recipients cannot reply. Sender IDs that impersonate well-known brands or institutions are rejected. Names are not exclusive: the same sender ID can be registered by any number of workspaces. Creating the same sender ID again is a no-op (re-activates it after a delete).
|
|
51
51
|
# @param create_sms_sender_id_request
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
53
|
# @return [CreateSmsSenderId200Response]
|