zernio-sdk 0.0.809 → 0.0.811

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99efc3c0a5149d104aacd53a7e08b4683eb5ea5c39d34e60baaf34078d383b04
4
- data.tar.gz: fc4b1aa17db17d9fa4e3eff504e7f4e2efdc6bf97af1207537c1244b98dd0563
3
+ metadata.gz: 82188c0fde606e07ab9ae54f8b8f364552edf3efea72c34b472f277b434ace42
4
+ data.tar.gz: 7e857db3d92e972732e360f80890d7aff9412f83ae7f48440075acab0347d07c
5
5
  SHA512:
6
- metadata.gz: fa12d26b387723babbc25c446e17b70a8c0cad6640e21266af7c48125fc3844b79b2e1c9a597826c82e69230ccb2f26657883d18c4711ebbbe73bee7fe573159
7
- data.tar.gz: 2b3244ad925082cf470bd406367484e248a5a32323ef5cb8ff4a9441984e163a3b5b322c216e067cef2b6fd0f339c36eaa56949b02dc5e15bc120e03d0c2b1b8
6
+ metadata.gz: 24d28291846e591d151a32d84874ebd2e5ddd67da400b779568a5344e72cff1ad749bfcd20b9e4363ae667683a1b437ceec354e896a8f78ee1e5e1218a93d222
7
+ data.tar.gz: 524acd6ced10aaee5126f10d045a8d8abc883bfa6def39d3523de1449ead03dd0267a3e416f0914d6843b6d9dcba415f831488a8eb823edc2664a23b04823c16
@@ -13,7 +13,7 @@
13
13
  | **category** | **String** | WhatsApp only (Meta Direct Send). Combined with message and without templateName, starts the conversation with a business-initiated UTILITY message and no pre-approved template; Meta matches or auto-creates a template asynchronously. The WhatsApp Business Account must be eligible for Direct Send, otherwise the send fails with an error telling you to use an approved message template instead. Cannot be combined with templateName (templates are already categorized at creation). Utility messages only; marketing content is not allowed under this category. Accepted on the JSON body only, not on multipart requests. | [optional] |
14
14
  | **link_preview** | **Boolean** | WhatsApp only. Set false to send the Direct Send (category: 'utility') text message without a link-preview thumbnail for the first URL in the text. Defaults to true, which is how every WhatsApp text has been sent to date. Does not apply to template sends. Accepted on the JSON body only, not on multipart requests. | [optional][default to true] |
15
15
  | **template_language** | **String** | WhatsApp only. Template language code (e.g. en_US). | [optional] |
16
- | **template_params** | **Array<String>** | WhatsApp only. Template variable values as one flat array, in the order the variables appear across the whole template: text-header variables first, then body variables, then one value per dynamic URL button (in button order). Works with positional placeholders ({{1}}, {{2}}, ...) and with named placeholders ({{name}}, {{company}} - how Meta Business Manager creates templates), where values fill the named slots in order of appearance. Example - a body with {{1}}, {{2}} plus a URL button https://example.com/{{1}} takes three values: [body1, body2, buttonSuffix]. Media headers (image, video, document) are filled automatically from the approved template and take no value here (use headerMedia to override the header asset per send). Buttons that are not dynamic-URL buttons (copy-code, flow) take no value here either; use templateButtonParams. | [optional] |
16
+ | **template_params** | **Array<String>** | WhatsApp only. Template variable values as one flat array, in the order the variables appear across the whole template: text-header variables first, then body variables, then one value per dynamic URL button (in button order). Works with positional placeholders ({{1}}, {{2}}, ...) and with named placeholders ({{name}}, {{company}} - how Meta Business Manager creates templates), where values fill the named slots in order of appearance. Example - a body with {{1}}, {{2}} plus a URL button https://example.com/{{1}} takes three values: [body1, body2, buttonSuffix]. For positional templates the list must cover every slot: supplying fewer values than the template's header + body + dynamic URL-button count is rejected with a 400 (code INVALID_TEMPLATE_PARAMS) naming the expected split, rather than delivering a template whose button URL was filled from the wrong value. A dynamic URL button covered by templateButtonParams needs no value here unless another uncovered dynamic URL button follows it, since the override applies after slot numbering. Media headers (image, video, document) are filled automatically from the approved template and take no value here (use headerMedia to override the header asset per send). Buttons that are not dynamic-URL buttons (copy-code, flow) take no value here either; use templateButtonParams. | [optional] |
17
17
  | **template_button_params** | [**Array<CreateInboxConversationRequestTemplateButtonParamsInner>**](CreateInboxConversationRequestTemplateButtonParamsInner.md) | WhatsApp only. Values for template buttons that carry one at send time, each addressed by the button's position in the approved template. This is the only way to send a copy-code button's payload (a Pix payment code, a coupon) or a flow token, because templateParams is a flat array of text variables and covers dynamic URL buttons only. Supplying a button here overrides whatever templateParams would have derived for that same index, so the send never carries one button twice; repeating an index within this array is rejected with 400. Each index must name a button of the matching kind on the approved template, which is also checked before the send and returns 400 (INVALID_TEMPLATE_BUTTON_PARAM) rather than a Meta rejection. | [optional] |
18
18
  | **header_media** | [**CreateInboxConversationRequestHeaderMedia**](CreateInboxConversationRequestHeaderMedia.md) | | [optional] |
19
19
  | **header_location** | [**CreateInboxConversationRequestHeaderLocation**](CreateInboxConversationRequestHeaderLocation.md) | | [optional] |
@@ -42,7 +42,7 @@ module Zernio
42
42
  # WhatsApp only. Template language code (e.g. en_US).
43
43
  attr_accessor :template_language
44
44
 
45
- # WhatsApp only. Template variable values as one flat array, in the order the variables appear across the whole template: text-header variables first, then body variables, then one value per dynamic URL button (in button order). Works with positional placeholders ({{1}}, {{2}}, ...) and with named placeholders ({{name}}, {{company}} - how Meta Business Manager creates templates), where values fill the named slots in order of appearance. Example - a body with {{1}}, {{2}} plus a URL button https://example.com/{{1}} takes three values: [body1, body2, buttonSuffix]. Media headers (image, video, document) are filled automatically from the approved template and take no value here (use headerMedia to override the header asset per send). Buttons that are not dynamic-URL buttons (copy-code, flow) take no value here either; use templateButtonParams.
45
+ # WhatsApp only. Template variable values as one flat array, in the order the variables appear across the whole template: text-header variables first, then body variables, then one value per dynamic URL button (in button order). Works with positional placeholders ({{1}}, {{2}}, ...) and with named placeholders ({{name}}, {{company}} - how Meta Business Manager creates templates), where values fill the named slots in order of appearance. Example - a body with {{1}}, {{2}} plus a URL button https://example.com/{{1}} takes three values: [body1, body2, buttonSuffix]. For positional templates the list must cover every slot: supplying fewer values than the template's header + body + dynamic URL-button count is rejected with a 400 (code INVALID_TEMPLATE_PARAMS) naming the expected split, rather than delivering a template whose button URL was filled from the wrong value. A dynamic URL button covered by templateButtonParams needs no value here unless another uncovered dynamic URL button follows it, since the override applies after slot numbering. Media headers (image, video, document) are filled automatically from the approved template and take no value here (use headerMedia to override the header asset per send). Buttons that are not dynamic-URL buttons (copy-code, flow) take no value here either; use templateButtonParams.
46
46
  attr_accessor :template_params
47
47
 
48
48
  # WhatsApp only. Values for template buttons that carry one at send time, each addressed by the button's position in the approved template. This is the only way to send a copy-code button's payload (a Pix payment code, a coupon) or a flow token, because templateParams is a flat array of text variables and covers dynamic URL buttons only. Supplying a button here overrides whatever templateParams would have derived for that same index, so the send never carries one button twice; repeating an index within this array is rejected with 400. Each index must name a button of the matching kind on the approved template, which is also checked before the send and returns 400 (INVALID_TEMPLATE_BUTTON_PARAM) rather than a Meta rejection.
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.809'
14
+ VERSION = '0.0.811'
15
15
  end
data/openapi.yaml CHANGED
@@ -26264,7 +26264,13 @@ paths:
26264
26264
  ({{name}}, {{company}} - how Meta Business Manager creates templates), where
26265
26265
  values fill the named slots in order of appearance. Example - a body with
26266
26266
  {{1}}, {{2}} plus a URL button https://example.com/{{1}} takes three values:
26267
- [body1, body2, buttonSuffix]. Media headers (image, video, document) are filled
26267
+ [body1, body2, buttonSuffix]. For positional templates the list must cover
26268
+ every slot: supplying fewer values than the template's header + body + dynamic
26269
+ URL-button count is rejected with a 400 (code INVALID_TEMPLATE_PARAMS) naming
26270
+ the expected split, rather than delivering a template whose button URL was
26271
+ filled from the wrong value. A dynamic URL button covered by templateButtonParams
26272
+ needs no value here unless another uncovered dynamic URL button follows it, since
26273
+ the override applies after slot numbering. Media headers (image, video, document) are filled
26268
26274
  automatically from the approved template and take no value here (use headerMedia
26269
26275
  to override the header asset per send). Buttons that are not dynamic-URL buttons
26270
26276
  (copy-code, flow) take no value here either; use templateButtonParams.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zernio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.809
4
+ version: 0.0.811
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator