zernio-sdk 0.0.743 → 0.0.744

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: 783a8fa31662d37059fd6de4d3256b55f098875de208a586283eb58f29c36178
4
- data.tar.gz: e38ee3a4b70fc71efc4827c0227ad881bc828274614398c6ec1efcc3ee9795e0
3
+ metadata.gz: ddb21a6e5fea75b66dbf1826e7827fc60615bed899cc9e969ad29e6cb1fff626
4
+ data.tar.gz: f896eb87c19e97117f159f9337e5b2c4ee4ba79539fba2baf025f2c629354b2e
5
5
  SHA512:
6
- metadata.gz: 30dab517ab7ef07a8da876e66f800fffc22fafdd6368de13b587e621262d174ee53c8c00ed86a0361cb3dabb7c4aabdd908447c6a9954b177e0f6067257a004b
7
- data.tar.gz: d5437671fdce4896888b5354e4a000bfcd8dbc51f7e57ae262b6602bd361e3379da9673d1995f76de3783d1af4dd890ea9cf1aa8020a8de6961665369bcc2ea5
6
+ metadata.gz: 9a71aa3e78d47b0051b5e86e9e7d411fd376093beb1aa937010d9f6e0a262e3ed48d501ce697bac4fae5197156a2a5a18d43e49dbb5f781a401c026435370c7b
7
+ data.tar.gz: 90c8d2833dab6faf82a051d01547e2ed226b9095cab447334b809279024d51f6939b4eca27731d119cee47f1c7188d3bfbb17f8bd725b5187d1334bf8173544b
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional] |
8
8
  | **name** | **String** | | [optional] |
9
- | **status** | **String** | | [optional] |
9
+ | **status** | **String** | Approval state read back from Meta after the update, normally PENDING. If the state cannot be read back, the last known status is returned instead. | [optional] |
10
10
 
11
11
  ## Example
12
12
 
@@ -16,7 +16,7 @@ require 'zernio-sdk'
16
16
  instance = Zernio::UpdateWhatsAppTemplate200ResponseTemplate.new(
17
17
  id: null,
18
18
  name: null,
19
- status: null
19
+ status: PENDING
20
20
  )
21
21
  ```
22
22
 
data/docs/WhatsAppApi.md CHANGED
@@ -2454,7 +2454,7 @@ end
2454
2454
 
2455
2455
  Update template
2456
2456
 
2457
- Update a message template's components. Only certain fields can be updated depending on the template's current approval state. Approved templates can only have components updated.
2457
+ Update a message template's components. Only certain fields can be updated depending on the template's current approval state. Approved templates can only have components updated. A successful update sends the template back to Meta for review, so the `status` returned here is normally `PENDING`. The final outcome arrives later on the `whatsapp.template.status_updated` webhook. A template already in `PENDING` cannot be edited again until Meta finishes reviewing it.
2458
2458
 
2459
2459
  ### Examples
2460
2460
 
@@ -2422,7 +2422,7 @@ module Zernio
2422
2422
  end
2423
2423
 
2424
2424
  # Update template
2425
- # Update a message template's components. Only certain fields can be updated depending on the template's current approval state. Approved templates can only have components updated.
2425
+ # Update a message template's components. Only certain fields can be updated depending on the template's current approval state. Approved templates can only have components updated. A successful update sends the template back to Meta for review, so the `status` returned here is normally `PENDING`. The final outcome arrives later on the `whatsapp.template.status_updated` webhook. A template already in `PENDING` cannot be edited again until Meta finishes reviewing it.
2426
2426
  # @param template_name [String] Template name
2427
2427
  # @param update_whats_app_template_request [UpdateWhatsAppTemplateRequest]
2428
2428
  # @param [Hash] opts the optional parameters
@@ -2433,7 +2433,7 @@ module Zernio
2433
2433
  end
2434
2434
 
2435
2435
  # Update template
2436
- # Update a message template's components. Only certain fields can be updated depending on the template's current approval state. Approved templates can only have components updated.
2436
+ # Update a message template's components. Only certain fields can be updated depending on the template's current approval state. Approved templates can only have components updated. A successful update sends the template back to Meta for review, so the `status` returned here is normally `PENDING`. The final outcome arrives later on the `whatsapp.template.status_updated` webhook. A template already in `PENDING` cannot be edited again until Meta finishes reviewing it.
2437
2437
  # @param template_name [String] Template name
2438
2438
  # @param update_whats_app_template_request [UpdateWhatsAppTemplateRequest]
2439
2439
  # @param [Hash] opts the optional parameters
@@ -19,6 +19,7 @@ module Zernio
19
19
 
20
20
  attr_accessor :name
21
21
 
22
+ # Approval state read back from Meta after the update, normally PENDING. If the state cannot be read back, the last known status is returned instead.
22
23
  attr_accessor :status
23
24
 
24
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.743'
14
+ VERSION = '0.0.744'
15
15
  end
data/openapi.yaml CHANGED
@@ -29239,6 +29239,11 @@ paths:
29239
29239
  description: |
29240
29240
  Update a message template's components. Only certain fields can be updated depending on
29241
29241
  the template's current approval state. Approved templates can only have components updated.
29242
+
29243
+ A successful update sends the template back to Meta for review, so the `status` returned
29244
+ here is normally `PENDING`. The final outcome arrives later on the
29245
+ `whatsapp.template.status_updated` webhook. A template already in `PENDING` cannot be
29246
+ edited again until Meta finishes reviewing it.
29242
29247
  security:
29243
29248
  - bearerAuth: []
29244
29249
  parameters:
@@ -29292,7 +29297,10 @@ paths:
29292
29297
  properties:
29293
29298
  id: { type: string }
29294
29299
  name: { type: string }
29295
- status: { type: string }
29300
+ status:
29301
+ type: string
29302
+ description: 'Approval state read back from Meta after the update, normally PENDING. If the state cannot be read back, the last known status is returned instead.'
29303
+ example: PENDING
29296
29304
  '400': { description: Validation error (missing fields) }
29297
29305
  '401': { $ref: '#/components/responses/Unauthorized' }
29298
29306
  '404': { $ref: '#/components/responses/NotFound' }
@@ -467,7 +467,7 @@ describe 'WhatsAppApi' do
467
467
 
468
468
  # unit tests for update_whats_app_template
469
469
  # Update template
470
- # Update a message template's components. Only certain fields can be updated depending on the template's current approval state. Approved templates can only have components updated.
470
+ # Update a message template's components. Only certain fields can be updated depending on the template's current approval state. Approved templates can only have components updated. A successful update sends the template back to Meta for review, so the `status` returned here is normally `PENDING`. The final outcome arrives later on the `whatsapp.template.status_updated` webhook. A template already in `PENDING` cannot be edited again until Meta finishes reviewing it.
471
471
  # @param template_name Template name
472
472
  # @param update_whats_app_template_request
473
473
  # @param [Hash] opts the optional parameters
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.743
4
+ version: 0.0.744
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator