zernio-sdk 0.0.965 → 0.0.967
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/PhoneNumbersApi.md +1 -1
- data/docs/UpdatePostMetadataRequest.md +1 -1
- data/lib/zernio-sdk/api/phone_numbers_api.rb +2 -2
- data/lib/zernio-sdk/models/update_post_metadata_request.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +8 -1
- data/spec/api/phone_numbers_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: 73e4feea3bb8624c86396f54a8af7492348b9c8afb8eaaf00c99ed998ccba607
|
|
4
|
+
data.tar.gz: 31a54b874bd084af8eff39a987217469d811660e845dac247c46d83a05753a28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 561498daf1f6b15f0a55aea5e193ed995b6684afb0676eba4734a61661bd980a01220bf3ab223136bc80bfecc9bbfd18fa89a16faee14c38eb924b02793dcc73
|
|
7
|
+
data.tar.gz: 98f90baf3f448b6c82e9a49c12eade2da4fff1f10365b967e5a6149701d284f603b5120cf0a032f24da969a6e6e0e36da27466d4ada80f39008dbd73af940a80
|
data/docs/PhoneNumbersApi.md
CHANGED
|
@@ -253,7 +253,7 @@ end
|
|
|
253
253
|
|
|
254
254
|
Create a hosted KYC link
|
|
255
255
|
|
|
256
|
-
Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
256
|
+
Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose which of the country's offered types the shared form collects KYC for and eventually orders; omitted defaults to the country's default type (which may be `national` and therefore have no inventory in a geographic area code). Pass `areaCode` (NDC digits) to constrain the eventual order to a specific area; it is validated against the chosen `numberType`. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
257
257
|
|
|
258
258
|
### Examples
|
|
259
259
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
| **tags** | **Array<String>** | Array of keyword tags (max 500 characters combined for YouTube) | [optional] |
|
|
13
13
|
| **category_id** | **String** | YouTube video category ID | [optional] |
|
|
14
14
|
| **privacy_status** | **String** | Video privacy setting | [optional] |
|
|
15
|
-
| **thumbnail_url** | **String** | Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max
|
|
15
|
+
| **thumbnail_url** | **String** | Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 50 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails. | [optional] |
|
|
16
16
|
| **made_for_kids** | **Boolean** | COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting). | [optional] |
|
|
17
17
|
| **contains_synthetic_media** | **Boolean** | AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label. | [optional] |
|
|
18
18
|
| **playlist_id** | **String** | YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported. | [optional] |
|
|
@@ -225,7 +225,7 @@ module Zernio
|
|
|
225
225
|
end
|
|
226
226
|
|
|
227
227
|
# Create a hosted KYC link
|
|
228
|
-
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
228
|
+
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose which of the country's offered types the shared form collects KYC for and eventually orders; omitted defaults to the country's default type (which may be `national` and therefore have no inventory in a geographic area code). Pass `areaCode` (NDC digits) to constrain the eventual order to a specific area; it is validated against the chosen `numberType`. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
229
229
|
# @param create_phone_number_kyc_link_request [CreatePhoneNumberKycLinkRequest]
|
|
230
230
|
# @param [Hash] opts the optional parameters
|
|
231
231
|
# @return [CreatePhoneNumberKycLink200Response]
|
|
@@ -235,7 +235,7 @@ module Zernio
|
|
|
235
235
|
end
|
|
236
236
|
|
|
237
237
|
# Create a hosted KYC link
|
|
238
|
-
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
238
|
+
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose which of the country's offered types the shared form collects KYC for and eventually orders; omitted defaults to the country's default type (which may be `national` and therefore have no inventory in a geographic area code). Pass `areaCode` (NDC digits) to constrain the eventual order to a specific area; it is validated against the chosen `numberType`. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
239
239
|
# @param create_phone_number_kyc_link_request [CreatePhoneNumberKycLinkRequest]
|
|
240
240
|
# @param [Hash] opts the optional parameters
|
|
241
241
|
# @return [Array<(CreatePhoneNumberKycLink200Response, Integer, Hash)>] CreatePhoneNumberKycLink200Response data, response status code and response headers
|
|
@@ -39,7 +39,7 @@ module Zernio
|
|
|
39
39
|
# Video privacy setting
|
|
40
40
|
attr_accessor :privacy_status
|
|
41
41
|
|
|
42
|
-
# Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max
|
|
42
|
+
# Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 50 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails.
|
|
43
43
|
attr_accessor :thumbnail_url
|
|
44
44
|
|
|
45
45
|
# COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting).
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -17992,7 +17992,7 @@ paths:
|
|
|
17992
17992
|
thumbnailUrl:
|
|
17993
17993
|
type: string
|
|
17994
17994
|
format: uri
|
|
17995
|
-
description: "Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max
|
|
17995
|
+
description: "Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 50 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails."
|
|
17996
17996
|
madeForKids:
|
|
17997
17997
|
type: boolean
|
|
17998
17998
|
description: "COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting)."
|
|
@@ -38126,6 +38126,13 @@ paths:
|
|
|
38126
38126
|
submit. Only regulated (KYC) countries are valid: a country that does not
|
|
38127
38127
|
require KYC returns 400.
|
|
38128
38128
|
|
|
38129
|
+
Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose
|
|
38130
|
+
which of the country's offered types the shared form collects KYC for and
|
|
38131
|
+
eventually orders; omitted defaults to the country's default type (which
|
|
38132
|
+
may be `national` and therefore have no inventory in a geographic area
|
|
38133
|
+
code). Pass `areaCode` (NDC digits) to constrain the eventual order to a
|
|
38134
|
+
specific area; it is validated against the chosen `numberType`.
|
|
38135
|
+
|
|
38129
38136
|
White-label the page with `branding` (your company name, logo, brand
|
|
38130
38137
|
color). Supply `redirect_url` to send the end customer back to your own
|
|
38131
38138
|
site after a successful submit (completion params are appended; see
|
|
@@ -72,7 +72,7 @@ describe 'PhoneNumbersApi' do
|
|
|
72
72
|
|
|
73
73
|
# unit tests for create_phone_number_kyc_link
|
|
74
74
|
# Create a hosted KYC link
|
|
75
|
-
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
75
|
+
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose which of the country's offered types the shared form collects KYC for and eventually orders; omitted defaults to the country's default type (which may be `national` and therefore have no inventory in a geographic area code). Pass `areaCode` (NDC digits) to constrain the eventual order to a specific area; it is validated against the chosen `numberType`. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
76
76
|
# @param create_phone_number_kyc_link_request
|
|
77
77
|
# @param [Hash] opts the optional parameters
|
|
78
78
|
# @return [CreatePhoneNumberKycLink200Response]
|