late-sdk 0.0.109 → 0.0.111
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/README.md +47 -0
- data/docs/AnalyticsApi.md +232 -0
- data/docs/CreateWhatsAppFlow200Response.md +20 -0
- data/docs/CreateWhatsAppFlow200ResponseFlow.md +24 -0
- data/docs/CreateWhatsAppFlowRequest.md +24 -0
- data/docs/GetGoogleBusinessPerformance200Response.md +28 -0
- data/docs/GetGoogleBusinessPerformance200ResponseDateRange.md +20 -0
- data/docs/GetGoogleBusinessPerformance200ResponseMetricsValue.md +20 -0
- data/docs/GetGoogleBusinessPerformance200ResponseMetricsValueValuesInner.md +20 -0
- data/docs/GetGoogleBusinessPerformance400Response.md +20 -0
- data/docs/GetGoogleBusinessSearchKeywords200Response.md +28 -0
- data/docs/GetGoogleBusinessSearchKeywords200ResponseKeywordsInner.md +20 -0
- data/docs/GetGoogleBusinessSearchKeywords200ResponseMonthRange.md +20 -0
- data/docs/GetGoogleBusinessSearchKeywords400Response.md +18 -0
- data/docs/GetWhatsAppFlow200Response.md +20 -0
- data/docs/GetWhatsAppFlow200ResponseFlow.md +30 -0
- data/docs/GetWhatsAppFlow200ResponseFlowPreview.md +20 -0
- data/docs/GetWhatsAppFlowJson200Response.md +20 -0
- data/docs/GetWhatsAppFlowJson200ResponseAssetsInner.md +22 -0
- data/docs/GetYouTubeDemographics412Response.md +24 -0
- data/docs/GetYouTubeDemographics412ResponseScopeStatus.md +22 -0
- data/docs/ListWhatsAppFlows200Response.md +20 -0
- data/docs/ListWhatsAppFlows200ResponseFlowsInner.md +26 -0
- data/docs/PublishWhatsAppFlowRequest.md +18 -0
- data/docs/SendWhatsAppFlowMessage200Response.md +20 -0
- data/docs/SendWhatsAppFlowMessageRequest.md +38 -0
- data/docs/SendWhatsAppFlowMessageRequestFlowActionPayload.md +20 -0
- data/docs/SendWhatsAppFlowMessageRequestHeader.md +20 -0
- data/docs/UpdateWhatsAppFlowRequest.md +22 -0
- data/docs/UploadWhatsAppFlowJson200Response.md +20 -0
- data/docs/UploadWhatsAppFlowJson200ResponseValidationErrorsInner.md +30 -0
- data/docs/UploadWhatsAppFlowJsonRequest.md +20 -0
- data/docs/UploadWhatsAppFlowJsonRequestFlowJson.md +49 -0
- data/docs/WhatsAppFlowsApi.md +725 -0
- data/docs/YouTubeDemographicsResponse.md +28 -0
- data/docs/YouTubeDemographicsResponseDateRange.md +20 -0
- data/docs/YouTubeDemographicsResponseDemographicsValueInner.md +20 -0
- data/lib/late-sdk/api/analytics_api.rb +226 -0
- data/lib/late-sdk/api/whats_app_flows_api.rb +731 -0
- data/lib/late-sdk/models/create_whats_app_flow200_response.rb +156 -0
- data/lib/late-sdk/models/create_whats_app_flow200_response_flow.rb +176 -0
- data/lib/late-sdk/models/create_whats_app_flow_request.rb +257 -0
- data/lib/late-sdk/models/get_google_business_performance200_response.rb +195 -0
- data/lib/late-sdk/models/get_google_business_performance200_response_date_range.rb +156 -0
- data/lib/late-sdk/models/get_google_business_performance200_response_metrics_value.rb +159 -0
- data/lib/late-sdk/models/get_google_business_performance200_response_metrics_value_values_inner.rb +156 -0
- data/lib/late-sdk/models/get_google_business_performance400_response.rb +158 -0
- data/lib/late-sdk/models/get_google_business_search_keywords200_response.rb +194 -0
- data/lib/late-sdk/models/get_google_business_search_keywords200_response_keywords_inner.rb +156 -0
- data/lib/late-sdk/models/get_google_business_search_keywords200_response_month_range.rb +156 -0
- data/lib/late-sdk/models/get_google_business_search_keywords400_response.rb +147 -0
- data/lib/late-sdk/models/get_whats_app_flow200_response.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_flow200_response_flow.rb +205 -0
- data/lib/late-sdk/models/get_whats_app_flow200_response_flow_preview.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_flow_json200_response.rb +158 -0
- data/lib/late-sdk/models/get_whats_app_flow_json200_response_assets_inner.rb +166 -0
- data/lib/late-sdk/models/get_you_tube_demographics412_response.rb +174 -0
- data/lib/late-sdk/models/get_you_tube_demographics412_response_scope_status.rb +165 -0
- data/lib/late-sdk/models/list_whats_app_flows200_response.rb +158 -0
- data/lib/late-sdk/models/list_whats_app_flows200_response_flows_inner.rb +221 -0
- data/lib/late-sdk/models/publish_whats_app_flow_request.rb +165 -0
- data/lib/late-sdk/models/send_whats_app_flow_message200_response.rb +157 -0
- data/lib/late-sdk/models/send_whats_app_flow_message_request.rb +395 -0
- data/lib/late-sdk/models/send_whats_app_flow_message_request_flow_action_payload.rb +158 -0
- data/lib/late-sdk/models/send_whats_app_flow_message_request_header.rb +190 -0
- data/lib/late-sdk/models/update_whats_app_flow_request.rb +232 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json200_response.rb +159 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json200_response_validation_errors_inner.rb +201 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json_request.rb +191 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json_request_flow_json.rb +105 -0
- data/lib/late-sdk/models/you_tube_demographics_response.rb +196 -0
- data/lib/late-sdk/models/you_tube_demographics_response_date_range.rb +156 -0
- data/lib/late-sdk/models/you_tube_demographics_response_demographics_value_inner.rb +158 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +35 -0
- data/openapi.yaml +831 -0
- data/spec/api/analytics_api_spec.rb +44 -0
- data/spec/api/whats_app_flows_api_spec.rb +163 -0
- data/spec/models/create_whats_app_flow200_response_flow_spec.rb +54 -0
- data/spec/models/create_whats_app_flow200_response_spec.rb +42 -0
- data/spec/models/create_whats_app_flow_request_spec.rb +58 -0
- data/spec/models/get_google_business_performance200_response_date_range_spec.rb +42 -0
- data/spec/models/get_google_business_performance200_response_metrics_value_spec.rb +42 -0
- data/spec/models/get_google_business_performance200_response_metrics_value_values_inner_spec.rb +42 -0
- data/spec/models/get_google_business_performance200_response_spec.rb +66 -0
- data/spec/models/get_google_business_performance400_response_spec.rb +42 -0
- data/spec/models/get_google_business_search_keywords200_response_keywords_inner_spec.rb +42 -0
- data/spec/models/get_google_business_search_keywords200_response_month_range_spec.rb +42 -0
- data/spec/models/get_google_business_search_keywords200_response_spec.rb +66 -0
- data/spec/models/get_google_business_search_keywords400_response_spec.rb +36 -0
- data/spec/models/get_whats_app_flow200_response_flow_preview_spec.rb +42 -0
- data/spec/models/get_whats_app_flow200_response_flow_spec.rb +72 -0
- data/spec/models/get_whats_app_flow200_response_spec.rb +42 -0
- data/spec/models/get_whats_app_flow_json200_response_assets_inner_spec.rb +48 -0
- data/spec/models/get_whats_app_flow_json200_response_spec.rb +42 -0
- data/spec/models/get_you_tube_demographics412_response_scope_status_spec.rb +48 -0
- data/spec/models/get_you_tube_demographics412_response_spec.rb +54 -0
- data/spec/models/list_whats_app_flows200_response_flows_inner_spec.rb +64 -0
- data/spec/models/list_whats_app_flows200_response_spec.rb +42 -0
- data/spec/models/publish_whats_app_flow_request_spec.rb +36 -0
- data/spec/models/send_whats_app_flow_message200_response_spec.rb +42 -0
- data/spec/models/send_whats_app_flow_message_request_flow_action_payload_spec.rb +42 -0
- data/spec/models/send_whats_app_flow_message_request_header_spec.rb +46 -0
- data/spec/models/send_whats_app_flow_message_request_spec.rb +100 -0
- data/spec/models/update_whats_app_flow_request_spec.rb +52 -0
- data/spec/models/upload_whats_app_flow_json200_response_spec.rb +42 -0
- data/spec/models/upload_whats_app_flow_json200_response_validation_errors_inner_spec.rb +72 -0
- data/spec/models/upload_whats_app_flow_json_request_flow_json_spec.rb +32 -0
- data/spec/models/upload_whats_app_flow_json_request_spec.rb +42 -0
- data/spec/models/you_tube_demographics_response_date_range_spec.rb +42 -0
- data/spec/models/you_tube_demographics_response_demographics_value_inner_spec.rb +42 -0
- data/spec/models/you_tube_demographics_response_spec.rb +66 -0
- data/zernio-sdk-0.0.111.gem +0 -0
- metadata +143 -3
- data/zernio-sdk-0.0.109.gem +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetGoogleBusinessSearchKeywords200ResponseMonthRange
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **start_month** | **String** | | [optional] |
|
|
8
|
+
| **end_month** | **String** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetGoogleBusinessSearchKeywords200ResponseMonthRange.new(
|
|
16
|
+
start_month: 2026-01,
|
|
17
|
+
end_month: 2026-03
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Late::GetGoogleBusinessSearchKeywords400Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **error** | **String** | | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'late-sdk'
|
|
13
|
+
|
|
14
|
+
instance = Late::GetGoogleBusinessSearchKeywords400Response.new(
|
|
15
|
+
error: Invalid startMonth format. Use YYYY-MM.
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlow200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **flow** | [**GetWhatsAppFlow200ResponseFlow**](GetWhatsAppFlow200ResponseFlow.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetWhatsAppFlow200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
flow: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlow200ResponseFlow
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **status** | **String** | | [optional] |
|
|
10
|
+
| **categories** | **Array<String>** | | [optional] |
|
|
11
|
+
| **validation_errors** | **Array<Object>** | | [optional] |
|
|
12
|
+
| **json_version** | **String** | | [optional] |
|
|
13
|
+
| **preview** | [**GetWhatsAppFlow200ResponseFlowPreview**](GetWhatsAppFlow200ResponseFlowPreview.md) | | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'late-sdk'
|
|
19
|
+
|
|
20
|
+
instance = Late::GetWhatsAppFlow200ResponseFlow.new(
|
|
21
|
+
id: null,
|
|
22
|
+
name: null,
|
|
23
|
+
status: null,
|
|
24
|
+
categories: null,
|
|
25
|
+
validation_errors: null,
|
|
26
|
+
json_version: null,
|
|
27
|
+
preview: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlow200ResponseFlowPreview
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **preview_url** | **String** | | [optional] |
|
|
8
|
+
| **expires_at** | **String** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetWhatsAppFlow200ResponseFlowPreview.new(
|
|
16
|
+
preview_url: null,
|
|
17
|
+
expires_at: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlowJson200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **assets** | [**Array<GetWhatsAppFlowJson200ResponseAssetsInner>**](GetWhatsAppFlowJson200ResponseAssetsInner.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetWhatsAppFlowJson200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
assets: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlowJson200ResponseAssetsInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | | [optional] |
|
|
8
|
+
| **asset_type** | **String** | | [optional] |
|
|
9
|
+
| **download_url** | **String** | Temporary URL to download the flow JSON | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'late-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Late::GetWhatsAppFlowJson200ResponseAssetsInner.new(
|
|
17
|
+
name: flow.json,
|
|
18
|
+
asset_type: FLOW_JSON,
|
|
19
|
+
download_url: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Late::GetYouTubeDemographics412Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **error** | **String** | | [optional] |
|
|
9
|
+
| **code** | **String** | | [optional] |
|
|
10
|
+
| **scope_status** | [**GetYouTubeDemographics412ResponseScopeStatus**](GetYouTubeDemographics412ResponseScopeStatus.md) | | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'late-sdk'
|
|
16
|
+
|
|
17
|
+
instance = Late::GetYouTubeDemographics412Response.new(
|
|
18
|
+
success: false,
|
|
19
|
+
error: null,
|
|
20
|
+
code: youtube_analytics_scope_missing,
|
|
21
|
+
scope_status: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Late::GetYouTubeDemographics412ResponseScopeStatus
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **has_analytics_scope** | **Boolean** | | [optional] |
|
|
8
|
+
| **requires_reauthorization** | **Boolean** | | [optional] |
|
|
9
|
+
| **reauthorize_url** | **String** | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'late-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Late::GetYouTubeDemographics412ResponseScopeStatus.new(
|
|
17
|
+
has_analytics_scope: false,
|
|
18
|
+
requires_reauthorization: true,
|
|
19
|
+
reauthorize_url: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::ListWhatsAppFlows200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **flows** | [**Array<ListWhatsAppFlows200ResponseFlowsInner>**](ListWhatsAppFlows200ResponseFlowsInner.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::ListWhatsAppFlows200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
flows: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Late::ListWhatsAppFlows200ResponseFlowsInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **status** | **String** | | [optional] |
|
|
10
|
+
| **categories** | **Array<String>** | | [optional] |
|
|
11
|
+
| **validation_errors** | **Array<Object>** | | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'late-sdk'
|
|
17
|
+
|
|
18
|
+
instance = Late::ListWhatsAppFlows200ResponseFlowsInner.new(
|
|
19
|
+
id: null,
|
|
20
|
+
name: null,
|
|
21
|
+
status: null,
|
|
22
|
+
categories: null,
|
|
23
|
+
validation_errors: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Late::PublishWhatsAppFlowRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | WhatsApp social account ID | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'late-sdk'
|
|
13
|
+
|
|
14
|
+
instance = Late::PublishWhatsAppFlowRequest.new(
|
|
15
|
+
account_id: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::SendWhatsAppFlowMessage200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **message_id** | **String** | WhatsApp message ID (WAMID) | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::SendWhatsAppFlowMessage200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
message_id: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Late::SendWhatsAppFlowMessageRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | WhatsApp social account ID | |
|
|
8
|
+
| **to** | **String** | Recipient phone number (E.164 format, e.g. +1234567890) | |
|
|
9
|
+
| **flow_id** | **String** | Published flow ID | |
|
|
10
|
+
| **flow_cta** | **String** | CTA button text (e.g. 'Book Now', 'Sign Up') | |
|
|
11
|
+
| **flow_action** | **String** | Action type: navigate opens a screen directly, data_exchange hits your endpoint first | [optional][default to 'navigate'] |
|
|
12
|
+
| **flow_token** | **String** | Unique token to correlate responses. Auto-generated UUID if omitted. | [optional] |
|
|
13
|
+
| **flow_action_payload** | [**SendWhatsAppFlowMessageRequestFlowActionPayload**](SendWhatsAppFlowMessageRequestFlowActionPayload.md) | | [optional] |
|
|
14
|
+
| **body** | **String** | Message body text | |
|
|
15
|
+
| **header** | [**SendWhatsAppFlowMessageRequestHeader**](SendWhatsAppFlowMessageRequestHeader.md) | | [optional] |
|
|
16
|
+
| **footer** | **String** | Optional footer text | [optional] |
|
|
17
|
+
| **draft** | **Boolean** | Set true to test an unpublished (DRAFT) flow | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'late-sdk'
|
|
23
|
+
|
|
24
|
+
instance = Late::SendWhatsAppFlowMessageRequest.new(
|
|
25
|
+
account_id: null,
|
|
26
|
+
to: null,
|
|
27
|
+
flow_id: null,
|
|
28
|
+
flow_cta: null,
|
|
29
|
+
flow_action: null,
|
|
30
|
+
flow_token: null,
|
|
31
|
+
flow_action_payload: null,
|
|
32
|
+
body: null,
|
|
33
|
+
header: null,
|
|
34
|
+
footer: null,
|
|
35
|
+
draft: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::SendWhatsAppFlowMessageRequestFlowActionPayload
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **screen** | **String** | First screen ID to navigate to | [optional] |
|
|
8
|
+
| **data** | **Object** | Optional data to pass to the screen | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::SendWhatsAppFlowMessageRequestFlowActionPayload.new(
|
|
16
|
+
screen: null,
|
|
17
|
+
data: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::SendWhatsAppFlowMessageRequestHeader
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | | [optional] |
|
|
8
|
+
| **text** | **String** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::SendWhatsAppFlowMessageRequestHeader.new(
|
|
16
|
+
type: null,
|
|
17
|
+
text: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Late::UpdateWhatsAppFlowRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | WhatsApp social account ID | |
|
|
8
|
+
| **name** | **String** | New flow name | [optional] |
|
|
9
|
+
| **categories** | **Array<String>** | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'late-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Late::UpdateWhatsAppFlowRequest.new(
|
|
17
|
+
account_id: null,
|
|
18
|
+
name: null,
|
|
19
|
+
categories: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::UploadWhatsAppFlowJson200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **validation_errors** | [**Array<UploadWhatsAppFlowJson200ResponseValidationErrorsInner>**](UploadWhatsAppFlowJson200ResponseValidationErrorsInner.md) | Empty array if valid; otherwise, contains validation error details from Meta | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::UploadWhatsAppFlowJson200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
validation_errors: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Late::UploadWhatsAppFlowJson200ResponseValidationErrorsInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **error** | **String** | | [optional] |
|
|
8
|
+
| **error_type** | **String** | | [optional] |
|
|
9
|
+
| **message** | **String** | | [optional] |
|
|
10
|
+
| **line_start** | **Integer** | | [optional] |
|
|
11
|
+
| **line_end** | **Integer** | | [optional] |
|
|
12
|
+
| **column_start** | **Integer** | | [optional] |
|
|
13
|
+
| **column_end** | **Integer** | | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'late-sdk'
|
|
19
|
+
|
|
20
|
+
instance = Late::UploadWhatsAppFlowJson200ResponseValidationErrorsInner.new(
|
|
21
|
+
error: null,
|
|
22
|
+
error_type: null,
|
|
23
|
+
message: null,
|
|
24
|
+
line_start: null,
|
|
25
|
+
line_end: null,
|
|
26
|
+
column_start: null,
|
|
27
|
+
column_end: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::UploadWhatsAppFlowJsonRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | WhatsApp social account ID | |
|
|
8
|
+
| **flow_json** | [**UploadWhatsAppFlowJsonRequestFlowJson**](UploadWhatsAppFlowJsonRequestFlowJson.md) | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::UploadWhatsAppFlowJsonRequest.new(
|
|
16
|
+
account_id: null,
|
|
17
|
+
flow_json: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Late::UploadWhatsAppFlowJsonRequestFlowJson
|
|
2
|
+
|
|
3
|
+
## Class instance methods
|
|
4
|
+
|
|
5
|
+
### `openapi_one_of`
|
|
6
|
+
|
|
7
|
+
Returns the list of classes defined in oneOf.
|
|
8
|
+
|
|
9
|
+
#### Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'late-sdk'
|
|
13
|
+
|
|
14
|
+
Late::UploadWhatsAppFlowJsonRequestFlowJson.openapi_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'Object',
|
|
18
|
+
# :'String'
|
|
19
|
+
# ]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### build
|
|
23
|
+
|
|
24
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
|
25
|
+
|
|
26
|
+
#### Example
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
require 'late-sdk'
|
|
30
|
+
|
|
31
|
+
Late::UploadWhatsAppFlowJsonRequestFlowJson.build(data)
|
|
32
|
+
# => #<Object:0x00007fdd4aab02a0>
|
|
33
|
+
|
|
34
|
+
Late::UploadWhatsAppFlowJsonRequestFlowJson.build(data_that_doesnt_match)
|
|
35
|
+
# => nil
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
#### Parameters
|
|
39
|
+
|
|
40
|
+
| Name | Type | Description |
|
|
41
|
+
| ---- | ---- | ----------- |
|
|
42
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
|
43
|
+
|
|
44
|
+
#### Return type
|
|
45
|
+
|
|
46
|
+
- `Object`
|
|
47
|
+
- `String`
|
|
48
|
+
- `nil` (if no type matches)
|
|
49
|
+
|