late-sdk 0.0.754 → 0.0.756
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 +7 -0
- data/docs/ConnectApi.md +210 -3
- data/docs/ConnectDiscordChannelRequest.md +22 -0
- data/docs/ConnectSlackChannelRequest.md +24 -0
- data/docs/ConnectWhatsAppEmbeddedSignupRequest.md +28 -0
- data/docs/CreateStandaloneAdRequest.md +2 -0
- data/docs/CreateStandaloneAdRequestSitelinksInner.md +24 -0
- data/lib/zernio-sdk/api/connect_api.rb +213 -4
- data/lib/zernio-sdk/models/connect_discord_channel_request.rb +219 -0
- data/lib/zernio-sdk/models/connect_slack_channel_request.rb +211 -0
- data/lib/zernio-sdk/models/connect_whats_app_embedded_signup_request.rb +230 -0
- data/lib/zernio-sdk/models/create_standalone_ad_request.rb +41 -1
- data/lib/zernio-sdk/models/create_standalone_ad_request_sitelinks_inner.rb +286 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +4 -0
- data/openapi.yaml +115 -4
- data/spec/api/connect_api_spec.rb +38 -2
- data/spec/models/connect_discord_channel_request_spec.rb +48 -0
- data/spec/models/connect_slack_channel_request_spec.rb +54 -0
- data/spec/models/connect_whats_app_embedded_signup_request_spec.rb +66 -0
- data/spec/models/create_standalone_ad_request_sitelinks_inner_spec.rb +54 -0
- data/spec/models/create_standalone_ad_request_spec.rb +6 -0
- data/zernio-sdk-0.0.756.gem +0 -0
- metadata +18 -2
- data/zernio-sdk-0.0.754.gem +0 -0
data/openapi.yaml
CHANGED
|
@@ -16991,12 +16991,20 @@ paths:
|
|
|
16991
16991
|
operationId: handleOAuthCallback
|
|
16992
16992
|
tags: [Connect]
|
|
16993
16993
|
summary: Complete OAuth callback
|
|
16994
|
-
description:
|
|
16994
|
+
description: |
|
|
16995
|
+
Exchange the OAuth authorization code for tokens and connect the account to the specified profile.
|
|
16996
|
+
|
|
16997
|
+
Facebook, Google Business, Snapchat and WhatsApp are not accepted here: their account identity is a destination chosen after OAuth, which this single-shot exchange cannot do. Connect them through the redirect flow from `GET /v1/connect/{platform}`, or, for WhatsApp Embedded Signup, through `POST /v1/connect/whatsapp/embedded-signup`.
|
|
16995
16998
|
parameters:
|
|
16996
16999
|
- name: platform
|
|
16997
17000
|
in: path
|
|
16998
17001
|
required: true
|
|
16999
|
-
|
|
17002
|
+
description: |
|
|
17003
|
+
Social platform to complete the connect for. Discord, Slack and Telegram are absent because they are
|
|
17004
|
+
served by their own dedicated routes, documented separately.
|
|
17005
|
+
schema:
|
|
17006
|
+
type: string
|
|
17007
|
+
enum: [instagram, twitter, threads, linkedin, youtube, tiktok, reddit, pinterest]
|
|
17000
17008
|
requestBody:
|
|
17001
17009
|
required: true
|
|
17002
17010
|
content:
|
|
@@ -17010,11 +17018,14 @@ paths:
|
|
|
17010
17018
|
profileId: { type: string }
|
|
17011
17019
|
responses:
|
|
17012
17020
|
'200': { description: Account connected }
|
|
17013
|
-
'400': { description: Invalid params }
|
|
17021
|
+
'400': { description: 'Invalid params, or the platform requires choosing a destination (code: platform_requires_destination)' }
|
|
17014
17022
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
17015
|
-
'
|
|
17023
|
+
'402': { $ref: '#/components/responses/PaymentRequired' }
|
|
17024
|
+
'403': { description: 'No access to the profile, or BYOK required for AppSumo Twitter' }
|
|
17025
|
+
'404': { description: Profile not found }
|
|
17016
17026
|
'500': { description: 'Internal error while connecting the account' }
|
|
17017
17027
|
'502': { description: 'The platform rejected the token exchange (type: platform_error; an upstream 4xx status is forwarded instead of 502)' }
|
|
17028
|
+
'503': { description: 'Connections for this platform are temporarily disabled (code: platform_disabled)' }
|
|
17018
17029
|
|
|
17019
17030
|
/v1/connect/{platform}/ads:
|
|
17020
17031
|
get:
|
|
@@ -20877,6 +20888,86 @@ paths:
|
|
|
20877
20888
|
application/json:
|
|
20878
20889
|
schema: { $ref: '#/components/schemas/ErrorResponse' }
|
|
20879
20890
|
|
|
20891
|
+
/v1/connect/whatsapp/embedded-signup:
|
|
20892
|
+
post:
|
|
20893
|
+
x-resource-group: "accounts"
|
|
20894
|
+
operationId: connectWhatsAppEmbeddedSignup
|
|
20895
|
+
tags: [Connect]
|
|
20896
|
+
summary: Connect WhatsApp from Embedded Signup
|
|
20897
|
+
description: 'Exchange the authorization code Meta Embedded Signup returns to your browser SDK. This is the headless completion path for WhatsApp: the code never passes through a redirect_uri, so POST /v1/connect/{platform} cannot accept it.'
|
|
20898
|
+
requestBody:
|
|
20899
|
+
required: true
|
|
20900
|
+
content:
|
|
20901
|
+
application/json:
|
|
20902
|
+
schema:
|
|
20903
|
+
type: object
|
|
20904
|
+
required: [code, profileId]
|
|
20905
|
+
properties:
|
|
20906
|
+
code: { type: string, description: 'Authorization code from the WA_EMBEDDED_SIGNUP postMessage' }
|
|
20907
|
+
profileId: { type: string }
|
|
20908
|
+
wabaId: { type: string, description: 'WhatsApp Business Account id, when the SDK reported one' }
|
|
20909
|
+
phoneNumberId: { type: string }
|
|
20910
|
+
isCoexistence: { type: boolean, description: 'Number is also live in the WhatsApp Business app' }
|
|
20911
|
+
expectedPhoneNumber: { type: string, description: 'Rejects the connect when Meta returns a different number' }
|
|
20912
|
+
responses:
|
|
20913
|
+
'200': { description: Number connected }
|
|
20914
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
20915
|
+
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
20916
|
+
'402': { $ref: '#/components/responses/PaymentRequired' }
|
|
20917
|
+
'409': { description: 'The number is already connected on another profile or workspace' }
|
|
20918
|
+
|
|
20919
|
+
/v1/connect/discord:
|
|
20920
|
+
post:
|
|
20921
|
+
x-resource-group: "accounts"
|
|
20922
|
+
operationId: connectDiscordChannel
|
|
20923
|
+
tags: [Connect]
|
|
20924
|
+
summary: Connect a Discord channel
|
|
20925
|
+
description: 'Finalize a Discord connect by binding one channel to a profile. Served by a dedicated route, so it is not reachable through POST /v1/connect/{platform}. One connected account per channel: repeat the call with a different channelId to add another.'
|
|
20926
|
+
requestBody:
|
|
20927
|
+
required: true
|
|
20928
|
+
content:
|
|
20929
|
+
application/json:
|
|
20930
|
+
schema:
|
|
20931
|
+
type: object
|
|
20932
|
+
required: [guildId, channelId, profileId]
|
|
20933
|
+
properties:
|
|
20934
|
+
guildId: { type: string, description: 'Discord server (guild) the channel belongs to' }
|
|
20935
|
+
channelId: { type: string, description: 'Text, announcement or forum channel to publish to' }
|
|
20936
|
+
profileId: { type: string, description: 'Profile to connect the channel to' }
|
|
20937
|
+
responses:
|
|
20938
|
+
'200': { description: Channel connected }
|
|
20939
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
20940
|
+
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
20941
|
+
'402': { $ref: '#/components/responses/PaymentRequired' }
|
|
20942
|
+
'404': { description: Profile not found }
|
|
20943
|
+
|
|
20944
|
+
/v1/connect/slack:
|
|
20945
|
+
post:
|
|
20946
|
+
x-resource-group: "accounts"
|
|
20947
|
+
operationId: connectSlackChannel
|
|
20948
|
+
tags: [Connect]
|
|
20949
|
+
summary: Connect a Slack channel
|
|
20950
|
+
description: 'Finalize a Slack connect by creating the per-channel account. Served by a dedicated route, so it is not reachable through POST /v1/connect/{platform}. Send pendingDataToken for a first connect (the nonce from the OAuth redirect) or accountId to add another channel to a workspace already connected.'
|
|
20951
|
+
requestBody:
|
|
20952
|
+
required: true
|
|
20953
|
+
content:
|
|
20954
|
+
application/json:
|
|
20955
|
+
schema:
|
|
20956
|
+
type: object
|
|
20957
|
+
required: [profileId, channelId]
|
|
20958
|
+
properties:
|
|
20959
|
+
profileId: { type: string }
|
|
20960
|
+
channelId: { type: string, description: 'Slack channel id, C... or G...' }
|
|
20961
|
+
pendingDataToken: { type: string, description: 'Nonce from the OAuth redirect. Required unless accountId is sent.' }
|
|
20962
|
+
accountId: { type: string, description: 'Existing Slack account whose workspace token is reused. Required unless pendingDataToken is sent.' }
|
|
20963
|
+
responses:
|
|
20964
|
+
'200': { description: Channel connected }
|
|
20965
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
20966
|
+
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
20967
|
+
'402': { $ref: '#/components/responses/PaymentRequired' }
|
|
20968
|
+
'403': { description: Slack connections are temporarily unavailable }
|
|
20969
|
+
'404': { description: Profile not found }
|
|
20970
|
+
|
|
20880
20971
|
/v1/connect/telegram:
|
|
20881
20972
|
get:
|
|
20882
20973
|
x-resource-group: "accounts"
|
|
@@ -43089,6 +43180,26 @@ paths:
|
|
|
43089
43180
|
negativeKeywords: { type: array, items: { type: string, maxLength: 80 }, description: "Google Search only; other platforms return 400. BROAD-match negative keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.negativeKeywords." }
|
|
43090
43181
|
additionalHeadlines: { type: array, items: { type: string }, description: "Google Search RSA only. Extra headlines." }
|
|
43091
43182
|
additionalDescriptions: { type: array, items: { type: string }, description: "Google Search RSA only. Extra descriptions." }
|
|
43183
|
+
sitelinks:
|
|
43184
|
+
type: array
|
|
43185
|
+
minItems: 2
|
|
43186
|
+
maxItems: 20
|
|
43187
|
+
description: |
|
|
43188
|
+
Google Search only. Sitelink assets to create and attach at the campaign level.
|
|
43189
|
+
Each entry becomes an Asset (with sitelink_asset + Asset.final_urls) plus a
|
|
43190
|
+
CampaignAsset link (field_type SITELINK). Approval is async — Google reviews
|
|
43191
|
+
assets after creation; poll asset.policy_summary later to read the verdict.
|
|
43192
|
+
Google requires at least two sitelinks to surface them on an ad; four or more
|
|
43193
|
+
is Google's own recommendation for maximum visibility. The response's
|
|
43194
|
+
creative.sitelinks[] echoes each input plus its Google resourceName.
|
|
43195
|
+
items:
|
|
43196
|
+
type: object
|
|
43197
|
+
required: [text, linkUrl]
|
|
43198
|
+
properties:
|
|
43199
|
+
text: { type: string, minLength: 1, maxLength: 25, description: "The clickable link text shown under the ad. 25-char cap comes from Google." }
|
|
43200
|
+
linkUrl: { type: string, format: uri, description: "Final URL the sitelink navigates to." }
|
|
43201
|
+
description1: { type: string, minLength: 1, maxLength: 35, description: "First description line under the link text (optional). 35-char cap." }
|
|
43202
|
+
description2: { type: string, minLength: 1, maxLength: 35, description: "Second description line (optional; usually paired with description1)." }
|
|
43092
43203
|
advantageAudience: { type: integer, enum: [0, 1], description: "Meta only. Controls the Advantage audience feature (targeting_automation). 0 = disabled (default), 1 = enabled. Meta Marketing API requires this field on all ad set creation requests." }
|
|
43093
43204
|
attributionSpec:
|
|
43094
43205
|
type: array
|
|
@@ -113,6 +113,18 @@ describe 'ConnectApi' do
|
|
|
113
113
|
end
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
+
# unit tests for connect_discord_channel
|
|
117
|
+
# Connect a Discord channel
|
|
118
|
+
# Finalize a Discord connect by binding one channel to a profile. Served by a dedicated route, so it is not reachable through POST /v1/connect/{platform}. One connected account per channel: repeat the call with a different channelId to add another.
|
|
119
|
+
# @param connect_discord_channel_request
|
|
120
|
+
# @param [Hash] opts the optional parameters
|
|
121
|
+
# @return [nil]
|
|
122
|
+
describe 'connect_discord_channel test' do
|
|
123
|
+
it 'should work' do
|
|
124
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
116
128
|
# unit tests for connect_open_ai_ads_credentials
|
|
117
129
|
# Connect an OpenAI Ads account
|
|
118
130
|
# Connect an OpenAI Ads account using an API key from ChatGPT Ads Manager. The key grants full campaign write access on OpenAI's side (OpenAI does not offer a read-only key scope). Zernio uses it to read ads and performance, and to create and manage campaigns you set up through Zernio (create, status, budget, and cancel). Campaigns created directly in ChatGPT Ads Manager can still be managed there.
|
|
@@ -137,6 +149,18 @@ describe 'ConnectApi' do
|
|
|
137
149
|
end
|
|
138
150
|
end
|
|
139
151
|
|
|
152
|
+
# unit tests for connect_slack_channel
|
|
153
|
+
# Connect a Slack channel
|
|
154
|
+
# Finalize a Slack connect by creating the per-channel account. Served by a dedicated route, so it is not reachable through POST /v1/connect/{platform}. Send pendingDataToken for a first connect (the nonce from the OAuth redirect) or accountId to add another channel to a workspace already connected.
|
|
155
|
+
# @param connect_slack_channel_request
|
|
156
|
+
# @param [Hash] opts the optional parameters
|
|
157
|
+
# @return [nil]
|
|
158
|
+
describe 'connect_slack_channel test' do
|
|
159
|
+
it 'should work' do
|
|
160
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
140
164
|
# unit tests for connect_whats_app_credentials
|
|
141
165
|
# Connect WhatsApp via credentials
|
|
142
166
|
# Connect a WhatsApp Business Account by providing Meta credentials directly. This is the headless alternative to the Embedded Signup browser flow. To get the required credentials: 1. Go to Meta Business Suite (business.facebook.com) 2. Create or select a WhatsApp Business Account 3. In Business Settings > System Users, create a System User 4. Assign it the whatsapp_business_management and whatsapp_business_messaging permissions 5. Generate a permanent access token 6. Get the WABA ID from WhatsApp Manager > Account Tools > Phone Numbers 7. Get the Phone Number ID from the same page (click on the number) Warning: connecting subscribes your own Meta app to this WABA with an override callback that redirects its webhook delivery to Zernio. This WABA's events stop reaching any callback URL you had configured before, immediately and with no overlap window. Do not unsubscribe your app from the WABA afterward: that also cuts off Zernio's delivery, and recovery requires calling this endpoint again.
|
|
@@ -149,6 +173,18 @@ describe 'ConnectApi' do
|
|
|
149
173
|
end
|
|
150
174
|
end
|
|
151
175
|
|
|
176
|
+
# unit tests for connect_whats_app_embedded_signup
|
|
177
|
+
# Connect WhatsApp from Embedded Signup
|
|
178
|
+
# Exchange the authorization code Meta Embedded Signup returns to your browser SDK. This is the headless completion path for WhatsApp: the code never passes through a redirect_uri, so POST /v1/connect/{platform} cannot accept it.
|
|
179
|
+
# @param connect_whats_app_embedded_signup_request
|
|
180
|
+
# @param [Hash] opts the optional parameters
|
|
181
|
+
# @return [nil]
|
|
182
|
+
describe 'connect_whats_app_embedded_signup test' do
|
|
183
|
+
it 'should work' do
|
|
184
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
|
|
152
188
|
# unit tests for create_pinterest_board
|
|
153
189
|
# Create Pinterest board
|
|
154
190
|
# Creates a new board on the connected Pinterest account. The returned board ID can be used immediately as `platformSpecificData.boardId` when creating a Pinterest post.
|
|
@@ -321,8 +357,8 @@ describe 'ConnectApi' do
|
|
|
321
357
|
|
|
322
358
|
# unit tests for handle_o_auth_callback
|
|
323
359
|
# Complete OAuth callback
|
|
324
|
-
# Exchange the OAuth authorization code for tokens and connect the account to the specified profile.
|
|
325
|
-
# @param platform
|
|
360
|
+
# Exchange the OAuth authorization code for tokens and connect the account to the specified profile. Facebook, Google Business, Snapchat and WhatsApp are not accepted here: their account identity is a destination chosen after OAuth, which this single-shot exchange cannot do. Connect them through the redirect flow from `GET /v1/connect/{platform}`, or, for WhatsApp Embedded Signup, through `POST /v1/connect/whatsapp/embedded-signup`.
|
|
361
|
+
# @param platform Social platform to complete the connect for. Discord, Slack and Telegram are absent because they are served by their own dedicated routes, documented separately.
|
|
326
362
|
# @param handle_o_auth_callback_request
|
|
327
363
|
# @param [Hash] opts the optional parameters
|
|
328
364
|
# @return [nil]
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::ConnectDiscordChannelRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::ConnectDiscordChannelRequest do
|
|
21
|
+
#let(:instance) { Zernio::ConnectDiscordChannelRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ConnectDiscordChannelRequest' do
|
|
24
|
+
it 'should create an instance of ConnectDiscordChannelRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::ConnectDiscordChannelRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "guild_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "channel_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "profile_id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::ConnectSlackChannelRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::ConnectSlackChannelRequest do
|
|
21
|
+
#let(:instance) { Zernio::ConnectSlackChannelRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ConnectSlackChannelRequest' do
|
|
24
|
+
it 'should create an instance of ConnectSlackChannelRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::ConnectSlackChannelRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "profile_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "channel_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "pending_data_token"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "account_id"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::ConnectWhatsAppEmbeddedSignupRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::ConnectWhatsAppEmbeddedSignupRequest do
|
|
21
|
+
#let(:instance) { Zernio::ConnectWhatsAppEmbeddedSignupRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ConnectWhatsAppEmbeddedSignupRequest' do
|
|
24
|
+
it 'should create an instance of ConnectWhatsAppEmbeddedSignupRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::ConnectWhatsAppEmbeddedSignupRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "code"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "profile_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "waba_id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "phone_number_id"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "is_coexistence"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "expected_phone_number"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::CreateStandaloneAdRequestSitelinksInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::CreateStandaloneAdRequestSitelinksInner do
|
|
21
|
+
#let(:instance) { Zernio::CreateStandaloneAdRequestSitelinksInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateStandaloneAdRequestSitelinksInner' do
|
|
24
|
+
it 'should create an instance of CreateStandaloneAdRequestSitelinksInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::CreateStandaloneAdRequestSitelinksInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "text"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "link_url"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "description1"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "description2"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -495,6 +495,12 @@ describe Zernio::CreateStandaloneAdRequest do
|
|
|
495
495
|
end
|
|
496
496
|
end
|
|
497
497
|
|
|
498
|
+
describe 'test attribute "sitelinks"' do
|
|
499
|
+
it 'should work' do
|
|
500
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
501
|
+
end
|
|
502
|
+
end
|
|
503
|
+
|
|
498
504
|
describe 'test attribute "advantage_audience"' do
|
|
499
505
|
it 'should work' do
|
|
500
506
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.756
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -234,14 +234,17 @@ files:
|
|
|
234
234
|
- docs/ConnectApi.md
|
|
235
235
|
- docs/ConnectBlueskyCredentials200Response.md
|
|
236
236
|
- docs/ConnectBlueskyCredentialsRequest.md
|
|
237
|
+
- docs/ConnectDiscordChannelRequest.md
|
|
237
238
|
- docs/ConnectOpenAIAdsCredentials200Response.md
|
|
238
239
|
- docs/ConnectOpenAIAdsCredentialsRequest.md
|
|
239
240
|
- docs/ConnectShopifyWithToken200Response.md
|
|
240
241
|
- docs/ConnectShopifyWithToken200ResponseAccount.md
|
|
241
242
|
- docs/ConnectShopifyWithTokenRequest.md
|
|
243
|
+
- docs/ConnectSlackChannelRequest.md
|
|
242
244
|
- docs/ConnectWhatsAppCredentials200Response.md
|
|
243
245
|
- docs/ConnectWhatsAppCredentials200ResponseAccount.md
|
|
244
246
|
- docs/ConnectWhatsAppCredentialsRequest.md
|
|
247
|
+
- docs/ConnectWhatsAppEmbeddedSignupRequest.md
|
|
245
248
|
- docs/Connected.md
|
|
246
249
|
- docs/ConnectedAccount.md
|
|
247
250
|
- docs/ConnectedApp.md
|
|
@@ -388,6 +391,7 @@ files:
|
|
|
388
391
|
- docs/CreateStandaloneAdRequestPlatformSpecificData.md
|
|
389
392
|
- docs/CreateStandaloneAdRequestPromotedObject.md
|
|
390
393
|
- docs/CreateStandaloneAdRequestRegionsInner.md
|
|
394
|
+
- docs/CreateStandaloneAdRequestSitelinksInner.md
|
|
391
395
|
- docs/CreateStandaloneAdRequestTracking.md
|
|
392
396
|
- docs/CreateStandaloneAdRequestTranslationsInner.md
|
|
393
397
|
- docs/CreateStandaloneAdRequestVideo.md
|
|
@@ -2072,14 +2076,17 @@ files:
|
|
|
2072
2076
|
- lib/zernio-sdk/models/connect_ads200_response_one_of1.rb
|
|
2073
2077
|
- lib/zernio-sdk/models/connect_bluesky_credentials200_response.rb
|
|
2074
2078
|
- lib/zernio-sdk/models/connect_bluesky_credentials_request.rb
|
|
2079
|
+
- lib/zernio-sdk/models/connect_discord_channel_request.rb
|
|
2075
2080
|
- lib/zernio-sdk/models/connect_open_ai_ads_credentials200_response.rb
|
|
2076
2081
|
- lib/zernio-sdk/models/connect_open_ai_ads_credentials_request.rb
|
|
2077
2082
|
- lib/zernio-sdk/models/connect_shopify_with_token200_response.rb
|
|
2078
2083
|
- lib/zernio-sdk/models/connect_shopify_with_token200_response_account.rb
|
|
2079
2084
|
- lib/zernio-sdk/models/connect_shopify_with_token_request.rb
|
|
2085
|
+
- lib/zernio-sdk/models/connect_slack_channel_request.rb
|
|
2080
2086
|
- lib/zernio-sdk/models/connect_whats_app_credentials200_response.rb
|
|
2081
2087
|
- lib/zernio-sdk/models/connect_whats_app_credentials200_response_account.rb
|
|
2082
2088
|
- lib/zernio-sdk/models/connect_whats_app_credentials_request.rb
|
|
2089
|
+
- lib/zernio-sdk/models/connect_whats_app_embedded_signup_request.rb
|
|
2083
2090
|
- lib/zernio-sdk/models/connected.rb
|
|
2084
2091
|
- lib/zernio-sdk/models/connected_account.rb
|
|
2085
2092
|
- lib/zernio-sdk/models/connected_app.rb
|
|
@@ -2223,6 +2230,7 @@ files:
|
|
|
2223
2230
|
- lib/zernio-sdk/models/create_standalone_ad_request_platform_specific_data.rb
|
|
2224
2231
|
- lib/zernio-sdk/models/create_standalone_ad_request_promoted_object.rb
|
|
2225
2232
|
- lib/zernio-sdk/models/create_standalone_ad_request_regions_inner.rb
|
|
2233
|
+
- lib/zernio-sdk/models/create_standalone_ad_request_sitelinks_inner.rb
|
|
2226
2234
|
- lib/zernio-sdk/models/create_standalone_ad_request_tracking.rb
|
|
2227
2235
|
- lib/zernio-sdk/models/create_standalone_ad_request_translations_inner.rb
|
|
2228
2236
|
- lib/zernio-sdk/models/create_standalone_ad_request_video.rb
|
|
@@ -3855,14 +3863,17 @@ files:
|
|
|
3855
3863
|
- spec/models/connect_ads200_response_spec.rb
|
|
3856
3864
|
- spec/models/connect_bluesky_credentials200_response_spec.rb
|
|
3857
3865
|
- spec/models/connect_bluesky_credentials_request_spec.rb
|
|
3866
|
+
- spec/models/connect_discord_channel_request_spec.rb
|
|
3858
3867
|
- spec/models/connect_open_ai_ads_credentials200_response_spec.rb
|
|
3859
3868
|
- spec/models/connect_open_ai_ads_credentials_request_spec.rb
|
|
3860
3869
|
- spec/models/connect_shopify_with_token200_response_account_spec.rb
|
|
3861
3870
|
- spec/models/connect_shopify_with_token200_response_spec.rb
|
|
3862
3871
|
- spec/models/connect_shopify_with_token_request_spec.rb
|
|
3872
|
+
- spec/models/connect_slack_channel_request_spec.rb
|
|
3863
3873
|
- spec/models/connect_whats_app_credentials200_response_account_spec.rb
|
|
3864
3874
|
- spec/models/connect_whats_app_credentials200_response_spec.rb
|
|
3865
3875
|
- spec/models/connect_whats_app_credentials_request_spec.rb
|
|
3876
|
+
- spec/models/connect_whats_app_embedded_signup_request_spec.rb
|
|
3866
3877
|
- spec/models/connected_account_spec.rb
|
|
3867
3878
|
- spec/models/connected_app_spec.rb
|
|
3868
3879
|
- spec/models/connected_spec.rb
|
|
@@ -4005,6 +4016,7 @@ files:
|
|
|
4005
4016
|
- spec/models/create_standalone_ad_request_platform_specific_data_spec.rb
|
|
4006
4017
|
- spec/models/create_standalone_ad_request_promoted_object_spec.rb
|
|
4007
4018
|
- spec/models/create_standalone_ad_request_regions_inner_spec.rb
|
|
4019
|
+
- spec/models/create_standalone_ad_request_sitelinks_inner_spec.rb
|
|
4008
4020
|
- spec/models/create_standalone_ad_request_spec.rb
|
|
4009
4021
|
- spec/models/create_standalone_ad_request_tracking_spec.rb
|
|
4010
4022
|
- spec/models/create_standalone_ad_request_translations_inner_spec.rb
|
|
@@ -5422,7 +5434,7 @@ files:
|
|
|
5422
5434
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5423
5435
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5424
5436
|
- spec/spec_helper.rb
|
|
5425
|
-
- zernio-sdk-0.0.
|
|
5437
|
+
- zernio-sdk-0.0.756.gem
|
|
5426
5438
|
- zernio-sdk.gemspec
|
|
5427
5439
|
homepage: https://openapi-generator.tech
|
|
5428
5440
|
licenses:
|
|
@@ -5715,6 +5727,7 @@ test_files:
|
|
|
5715
5727
|
- spec/models/inline_object3_spec.rb
|
|
5716
5728
|
- spec/models/get_ads_search_terms200_response_data_inner_spec.rb
|
|
5717
5729
|
- spec/models/get_google_business_location_details200_response_regular_hours_spec.rb
|
|
5730
|
+
- spec/models/connect_slack_channel_request_spec.rb
|
|
5718
5731
|
- spec/models/respond_to_sms_registration_review200_response_spec.rb
|
|
5719
5732
|
- spec/models/create_standalone_ad201_response_one_of_spec.rb
|
|
5720
5733
|
- spec/models/create_sms_sender_id200_response_spec.rb
|
|
@@ -6100,6 +6113,7 @@ test_files:
|
|
|
6100
6113
|
- spec/models/webhook_payload_post_platform_post_spec.rb
|
|
6101
6114
|
- spec/models/follower_stats_response_date_range_spec.rb
|
|
6102
6115
|
- spec/models/list_inbox_reviews200_response_data_inner_reply_spec.rb
|
|
6116
|
+
- spec/models/connect_whats_app_embedded_signup_request_spec.rb
|
|
6103
6117
|
- spec/models/send_inbox_message_request_template_elements_inner_spec.rb
|
|
6104
6118
|
- spec/models/update_ad_request_targeting_keywords_inner_one_of_spec.rb
|
|
6105
6119
|
- spec/models/validate_phone_number_kyc_address200_response_spec.rb
|
|
@@ -6506,6 +6520,7 @@ test_files:
|
|
|
6506
6520
|
- spec/models/analytics_list_response_spec.rb
|
|
6507
6521
|
- spec/models/replace_ad_audience_companies_request_spec.rb
|
|
6508
6522
|
- spec/models/upload_ad_video_request_spec.rb
|
|
6523
|
+
- spec/models/connect_discord_channel_request_spec.rb
|
|
6509
6524
|
- spec/models/create_custom_conversion_request_spec.rb
|
|
6510
6525
|
- spec/models/reply_to_phone_number_reviewer_request_spec.rb
|
|
6511
6526
|
- spec/models/list_snapchat_profiles200_response_public_profiles_inner_spec.rb
|
|
@@ -6780,6 +6795,7 @@ test_files:
|
|
|
6780
6795
|
- spec/models/list_connected_apps200_response_spec.rb
|
|
6781
6796
|
- spec/models/create_standalone_ad_request_cities_inner_spec.rb
|
|
6782
6797
|
- spec/models/comment_automation_template_spec.rb
|
|
6798
|
+
- spec/models/create_standalone_ad_request_sitelinks_inner_spec.rb
|
|
6783
6799
|
- spec/models/edit_inbox_message_request_reply_markup_spec.rb
|
|
6784
6800
|
- spec/models/end_voice_call200_response_spec.rb
|
|
6785
6801
|
- spec/models/get_google_business_attributes200_response_spec.rb
|
data/zernio-sdk-0.0.754.gem
DELETED
|
Binary file
|