late-sdk 0.0.724 → 0.0.726
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 +5 -0
- data/docs/AdAudiencesApi.md +74 -2
- data/docs/MessagesApi.md +1 -1
- data/docs/ReplaceAdAudienceCompanies200Response.md +20 -0
- data/docs/ReplaceAdAudienceCompaniesRequest.md +18 -0
- data/docs/ReplaceAdAudienceCompaniesRequestCompaniesInner.md +24 -0
- data/docs/SendInboxMessage200ResponseData.md +4 -6
- data/docs/SendInboxMessage200ResponseDataAttachmentsInner.md +20 -0
- data/docs/UploadedOrDerivedAudience.md +1 -1
- data/lib/zernio-sdk/api/ad_audiences_api.rb +78 -4
- data/lib/zernio-sdk/api/messages_api.rb +2 -2
- data/lib/zernio-sdk/models/replace_ad_audience_companies200_response.rb +157 -0
- data/lib/zernio-sdk/models/replace_ad_audience_companies_request.rb +185 -0
- data/lib/zernio-sdk/models/replace_ad_audience_companies_request_companies_inner.rb +231 -0
- data/lib/zernio-sdk/models/send_inbox_message200_response_data.rb +12 -23
- data/lib/zernio-sdk/models/send_inbox_message200_response_data_attachments_inner.rb +156 -0
- data/lib/zernio-sdk/models/uploaded_or_derived_audience.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +4 -0
- data/openapi.yaml +114 -11
- data/spec/api/ad_audiences_api_spec.rb +15 -2
- data/spec/api/messages_api_spec.rb +1 -1
- data/spec/models/replace_ad_audience_companies200_response_spec.rb +42 -0
- data/spec/models/replace_ad_audience_companies_request_companies_inner_spec.rb +54 -0
- data/spec/models/replace_ad_audience_companies_request_spec.rb +36 -0
- data/spec/models/send_inbox_message200_response_data_attachments_inner_spec.rb +42 -0
- data/spec/models/send_inbox_message200_response_data_spec.rb +1 -7
- data/zernio-sdk-0.0.726.gem +0 -0
- metadata +18 -2
- data/zernio-sdk-0.0.724.gem +0 -0
data/openapi.yaml
CHANGED
|
@@ -25894,6 +25894,17 @@ paths:
|
|
|
25894
25894
|
instead of sending the message a second time; same key + different body
|
|
25895
25895
|
returns 422; a key still in flight returns 409. Works for JSON and
|
|
25896
25896
|
multipart (file upload) requests alike. Keys are retained for 24 hours.
|
|
25897
|
+
|
|
25898
|
+
Only successful (2xx) responses are stored for replay: if the request
|
|
25899
|
+
throws or returns a non-2xx status, the key is released so the same key
|
|
25900
|
+
can be retried once the problem is fixed. The header therefore protects
|
|
25901
|
+
the "request succeeded but the response was lost" case. For an ambiguous
|
|
25902
|
+
failure (a 5xx or a network timeout), reconcile before retrying: a
|
|
25903
|
+
failure after the platform already accepted the message also releases
|
|
25904
|
+
the key, and a blind retry could send it twice. List the conversation's
|
|
25905
|
+
messages first, and treat an empty result as inconclusive rather than
|
|
25906
|
+
as proof nothing was sent, since a send that failed while being recorded
|
|
25907
|
+
leaves no trace on our side.
|
|
25897
25908
|
tags: [Messages]
|
|
25898
25909
|
security: [{ bearerAuth: [] }]
|
|
25899
25910
|
parameters:
|
|
@@ -26434,10 +26445,20 @@ paths:
|
|
|
26434
26445
|
data:
|
|
26435
26446
|
type: object
|
|
26436
26447
|
properties:
|
|
26437
|
-
messageId:
|
|
26438
|
-
|
|
26439
|
-
|
|
26440
|
-
|
|
26448
|
+
messageId:
|
|
26449
|
+
type: string
|
|
26450
|
+
description: 'Platform id of the sent message (not returned for Reddit). For WhatsApp this is the raw Meta wamid, the same id delivered as message.platformMessageId on webhooks and delivery-status updates, and the value to pass as replyTo to quote-reply.'
|
|
26451
|
+
conversationId:
|
|
26452
|
+
type: string
|
|
26453
|
+
description: 'Zernio conversation id, echoed so the thread can be read back or replied to. It equals the id the list-conversations endpoint returns for Telegram, WhatsApp, SMS and Slack; for Facebook, Instagram, Bluesky and Reddit that endpoint returns the platform thread id instead, so do not correlate the two by equality. For X (Twitter), when the request addressed the conversation by its Twitter dm_conversation_id, that platform id is echoed back instead. Omitted when the send succeeded but the conversation could not be resolved to a stored record.'
|
|
26454
|
+
attachments:
|
|
26455
|
+
type: array
|
|
26456
|
+
description: 'Echo of the sent attachment with its resolved public URL, when one is available (Facebook, Instagram, Telegram, WhatsApp).'
|
|
26457
|
+
items:
|
|
26458
|
+
type: object
|
|
26459
|
+
properties:
|
|
26460
|
+
type: { type: string }
|
|
26461
|
+
url: { type: string }
|
|
26441
26462
|
'400':
|
|
26442
26463
|
description: 'Bad request (e.g., attachment not supported for platform, validation error, category combined with a template or attachment, category used on a non-WhatsApp account, or the WhatsApp Business Account is not eligible for Direct Send)'
|
|
26443
26464
|
content:
|
|
@@ -43784,11 +43805,21 @@ paths:
|
|
|
43784
43805
|
summary: Create custom audience
|
|
43785
43806
|
description: |
|
|
43786
43807
|
Create a custom audience. `customer_list` is supported on Meta, Google, X, LinkedIn, TikTok, and Pinterest;
|
|
43787
|
-
`website` and `lookalike` are Meta-only
|
|
43788
|
-
no adAccountId) that you reference later via
|
|
43789
|
-
|
|
43790
|
-
|
|
43791
|
-
|
|
43808
|
+
`website` and `lookalike` are Meta-only; `company_list`, `engagement` and `website_retargeting` are LinkedIn-only.
|
|
43809
|
+
`saved_targeting` stores a reusable TargetingSpec (no member upload, no adAccountId) that you reference later via
|
|
43810
|
+
`savedTargetingId` on `POST /v1/ads/create`.
|
|
43811
|
+
|
|
43812
|
+
How the audience gets filled depends on the type:
|
|
43813
|
+
|
|
43814
|
+
- `customer_list` is created empty. Add members with `POST /v1/ads/audiences/{audienceId}/users`.
|
|
43815
|
+
On TikTok and Pinterest the audience is provisioned lazily on that first upload (until then its status is `pending`).
|
|
43816
|
+
- `company_list` is filled AT CREATION from the `companies` array below, which is required. To change the list
|
|
43817
|
+
afterwards send the new full list to `POST /v1/ads/audiences/{audienceId}/companies` (a replace, not a merge).
|
|
43818
|
+
The `/users` endpoint rejects these audiences with a 422.
|
|
43819
|
+
- `website`, `website_retargeting`, `engagement`, `meta_engagement` and `lookalike` fill themselves from the pixel,
|
|
43820
|
+
engagement source or seed audience you point them at. They take no member upload at all.
|
|
43821
|
+
|
|
43822
|
+
Create is not idempotent, never auto-retry.
|
|
43792
43823
|
security:
|
|
43793
43824
|
- bearerAuth: []
|
|
43794
43825
|
requestBody:
|
|
@@ -43866,8 +43897,10 @@ paths:
|
|
|
43866
43897
|
description: |
|
|
43867
43898
|
Required for company_list audiences (LinkedIn only): plain-text
|
|
43868
43899
|
company rows for account targeting. Each row needs at least one
|
|
43869
|
-
identifier. LinkedIn
|
|
43870
|
-
|
|
43900
|
+
identifier. Not hashed, LinkedIn matches these against its own
|
|
43901
|
+
company graph. LinkedIn recommends 1,000+ companies for a usable
|
|
43902
|
+
match rate and takes up to 48h to process the list. Replace the
|
|
43903
|
+
list later with POST /v1/ads/audiences/{audienceId}/companies.
|
|
43871
43904
|
items:
|
|
43872
43905
|
type: object
|
|
43873
43906
|
additionalProperties: false
|
|
@@ -44069,6 +44102,9 @@ paths:
|
|
|
44069
44102
|
Upload user data to a customer_list audience. Data is SHA256-hashed server-side before sending to the platform.
|
|
44070
44103
|
Email is used on every platform; phone is used on Meta only (other platforms ignore it). On TikTok and Pinterest,
|
|
44071
44104
|
the first upload also provisions the audience (deferred create). LinkedIn uploads are full-replace. Max 10,000 users per request.
|
|
44105
|
+
|
|
44106
|
+
customer_list only. A LinkedIn `company_list` audience takes company rows, not people: send those to
|
|
44107
|
+
`POST /v1/ads/audiences/{audienceId}/companies`. This endpoint 422s for every other audience type.
|
|
44072
44108
|
security:
|
|
44073
44109
|
- bearerAuth: []
|
|
44074
44110
|
parameters:
|
|
@@ -44110,6 +44146,73 @@ paths:
|
|
|
44110
44146
|
'422':
|
|
44111
44147
|
description: Audience is not a customer_list type or has no platform ID yet
|
|
44112
44148
|
|
|
44149
|
+
/v1/ads/audiences/{audienceId}/companies:
|
|
44150
|
+
post:
|
|
44151
|
+
x-resource-group: "ads"
|
|
44152
|
+
operationId: replaceAdAudienceCompanies
|
|
44153
|
+
tags: ["Ad Audiences"]
|
|
44154
|
+
x-platforms: ["linkedin"]
|
|
44155
|
+
summary: Replace audience companies
|
|
44156
|
+
description: |
|
|
44157
|
+
Upload the company rows of a LinkedIn `company_list` audience (account-based marketing).
|
|
44158
|
+
LinkedIn-only, every other platform returns 422.
|
|
44159
|
+
|
|
44160
|
+
A LinkedIn audience segment holds exactly one uploaded list, so the list you send here REPLACES the
|
|
44161
|
+
segment's list instead of being appended to it: always send the full set of companies. LinkedIn returns
|
|
44162
|
+
only the identifier of the uploaded file, never its rows, so the merge cannot be done for you, keep the
|
|
44163
|
+
source list on your side. LinkedIn does not document how quickly companies dropped from the list stop
|
|
44164
|
+
being targeted, so treat removals as eventual rather than immediate.
|
|
44165
|
+
Rows are plain text (not hashed), matched against LinkedIn's own company graph. Matching is asynchronous:
|
|
44166
|
+
LinkedIn takes up to 48h for a new audience and up to 24h for a later update, and the audience stays
|
|
44167
|
+
`processing` meanwhile. LinkedIn recommends at least 1,000 companies for a usable match rate, and caps a
|
|
44168
|
+
list at 300,000.
|
|
44169
|
+
|
|
44170
|
+
The initial list is sent with `companies` on `POST /v1/ads/audiences`; this endpoint is for every
|
|
44171
|
+
change after that.
|
|
44172
|
+
security:
|
|
44173
|
+
- bearerAuth: []
|
|
44174
|
+
parameters:
|
|
44175
|
+
- { name: audienceId, in: path, required: true, schema: { type: string } }
|
|
44176
|
+
requestBody:
|
|
44177
|
+
required: true
|
|
44178
|
+
content:
|
|
44179
|
+
application/json:
|
|
44180
|
+
schema:
|
|
44181
|
+
type: object
|
|
44182
|
+
required: [companies]
|
|
44183
|
+
properties:
|
|
44184
|
+
companies:
|
|
44185
|
+
type: array
|
|
44186
|
+
minItems: 1
|
|
44187
|
+
maxItems: 300000
|
|
44188
|
+
description: 'The complete company list. Each row needs at least one of name, domain, website or linkedinPageUrl.'
|
|
44189
|
+
items:
|
|
44190
|
+
type: object
|
|
44191
|
+
additionalProperties: false
|
|
44192
|
+
properties:
|
|
44193
|
+
name: { type: string, maxLength: 255 }
|
|
44194
|
+
domain: { type: string, maxLength: 100 }
|
|
44195
|
+
website: { type: string, maxLength: 100 }
|
|
44196
|
+
linkedinPageUrl: { type: string }
|
|
44197
|
+
responses:
|
|
44198
|
+
'200':
|
|
44199
|
+
description: Companies uploaded
|
|
44200
|
+
content:
|
|
44201
|
+
application/json:
|
|
44202
|
+
schema:
|
|
44203
|
+
type: object
|
|
44204
|
+
properties:
|
|
44205
|
+
message: { type: string }
|
|
44206
|
+
numReceived: { type: integer, description: 'Rows sent to LinkedIn. Matching happens asynchronously, so this is not the matched company count.' }
|
|
44207
|
+
'400':
|
|
44208
|
+
description: 'Invalid input (malformed audienceId, empty companies array, a row with no identifier)'
|
|
44209
|
+
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
44210
|
+
'403':
|
|
44211
|
+
description: Ads access required. Legacy plans need the Ads add-on; included by default on usage-based plans.
|
|
44212
|
+
'404': { $ref: '#/components/responses/NotFound' }
|
|
44213
|
+
'422':
|
|
44214
|
+
description: 'Audience is not a company_list type, is not on LinkedIn, or has no platform ID yet'
|
|
44215
|
+
|
|
44113
44216
|
/v1/ads/conversions/quality:
|
|
44114
44217
|
get:
|
|
44115
44218
|
x-resource-group: "ads"
|
|
@@ -34,7 +34,7 @@ describe 'AdAudiencesApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for add_users_to_ad_audience
|
|
36
36
|
# Add users to audience
|
|
37
|
-
# Upload user data to a customer_list audience. Data is SHA256-hashed server-side before sending to the platform. Email is used on every platform; phone is used on Meta only (other platforms ignore it). On TikTok and Pinterest, the first upload also provisions the audience (deferred create). LinkedIn uploads are full-replace. Max 10,000 users per request.
|
|
37
|
+
# Upload user data to a customer_list audience. Data is SHA256-hashed server-side before sending to the platform. Email is used on every platform; phone is used on Meta only (other platforms ignore it). On TikTok and Pinterest, the first upload also provisions the audience (deferred create). LinkedIn uploads are full-replace. Max 10,000 users per request. customer_list only. A LinkedIn `company_list` audience takes company rows, not people: send those to `POST /v1/ads/audiences/{audienceId}/companies`. This endpoint 422s for every other audience type.
|
|
38
38
|
# @param audience_id
|
|
39
39
|
# @param add_users_to_ad_audience_request
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
@@ -47,7 +47,7 @@ describe 'AdAudiencesApi' do
|
|
|
47
47
|
|
|
48
48
|
# unit tests for create_ad_audience
|
|
49
49
|
# Create custom audience
|
|
50
|
-
# Create a custom audience. `customer_list` is supported on Meta, Google, X, LinkedIn, TikTok, and Pinterest; `website` and `lookalike` are Meta-only. `saved_targeting` stores a reusable TargetingSpec (no member upload, no adAccountId) that you reference later via `savedTargetingId` on `POST /v1/ads/create`.
|
|
50
|
+
# Create a custom audience. `customer_list` is supported on Meta, Google, X, LinkedIn, TikTok, and Pinterest; `website` and `lookalike` are Meta-only; `company_list`, `engagement` and `website_retargeting` are LinkedIn-only. `saved_targeting` stores a reusable TargetingSpec (no member upload, no adAccountId) that you reference later via `savedTargetingId` on `POST /v1/ads/create`. How the audience gets filled depends on the type: - `customer_list` is created empty. Add members with `POST /v1/ads/audiences/{audienceId}/users`. On TikTok and Pinterest the audience is provisioned lazily on that first upload (until then its status is `pending`). - `company_list` is filled AT CREATION from the `companies` array below, which is required. To change the list afterwards send the new full list to `POST /v1/ads/audiences/{audienceId}/companies` (a replace, not a merge). The `/users` endpoint rejects these audiences with a 422. - `website`, `website_retargeting`, `engagement`, `meta_engagement` and `lookalike` fill themselves from the pixel, engagement source or seed audience you point them at. They take no member upload at all. Create is not idempotent, never auto-retry.
|
|
51
51
|
# @param create_ad_audience_request
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
53
|
# @return [CreateAdAudience201Response]
|
|
@@ -96,6 +96,19 @@ describe 'AdAudiencesApi' do
|
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
+
# unit tests for replace_ad_audience_companies
|
|
100
|
+
# Replace audience companies
|
|
101
|
+
# Upload the company rows of a LinkedIn `company_list` audience (account-based marketing). LinkedIn-only, every other platform returns 422. A LinkedIn audience segment holds exactly one uploaded list, so the list you send here REPLACES the segment's list instead of being appended to it: always send the full set of companies. LinkedIn returns only the identifier of the uploaded file, never its rows, so the merge cannot be done for you, keep the source list on your side. LinkedIn does not document how quickly companies dropped from the list stop being targeted, so treat removals as eventual rather than immediate. Rows are plain text (not hashed), matched against LinkedIn's own company graph. Matching is asynchronous: LinkedIn takes up to 48h for a new audience and up to 24h for a later update, and the audience stays `processing` meanwhile. LinkedIn recommends at least 1,000 companies for a usable match rate, and caps a list at 300,000. The initial list is sent with `companies` on `POST /v1/ads/audiences`; this endpoint is for every change after that.
|
|
102
|
+
# @param audience_id
|
|
103
|
+
# @param replace_ad_audience_companies_request
|
|
104
|
+
# @param [Hash] opts the optional parameters
|
|
105
|
+
# @return [ReplaceAdAudienceCompanies200Response]
|
|
106
|
+
describe 'replace_ad_audience_companies test' do
|
|
107
|
+
it 'should work' do
|
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
99
112
|
# unit tests for update_ad_audience
|
|
100
113
|
# Update an audience
|
|
101
114
|
# Update an audience. `saved_targeting` audiences accept `name`, `description`, and `spec` (full replacement, no merge, Zernio-only, no platform call). Platform audiences (uploaded/website/lookalike) accept `name` and `description` only, updated on the platform first and then mirrored locally; their rules are immutable, so `spec` returns 400 for them. Platform audience updates are Meta-only for now (other platforms return 501). Ads already created from a saved_targeting audience are unaffected, they snapshot the targeting at creation.
|
|
@@ -196,7 +196,7 @@ describe 'MessagesApi' do
|
|
|
196
196
|
|
|
197
197
|
# unit tests for send_inbox_message
|
|
198
198
|
# Send message
|
|
199
|
-
# Send a message in a conversation. Supports text, attachments, quick replies, buttons, templates, and message tags. Attachment and interactive message support varies by platform. WhatsApp template messages: to send an approved template into this conversation (required when the 24-hour customer-service window is closed), use the `template` field with a single element carrying the template reference: `{ \"elements\": [{ \"name\": ..., \"language\": ..., \"components\": [...] }] }`. See the `template` field below for the exact shape. To send a template to a phone number you have no conversation with yet, use the create-conversation endpoint (POST /v1/inbox/conversations) instead. WhatsApp rich interactive messages (list, CTA URL, Flow, location request) are available via the `interactive` field. Tap events are delivered through the `message.received` webhook with WhatsApp-specific `metadata` fields (`interactiveType`, `interactiveId`, `flowResponseJson`, `flowResponseData`). **Idempotency:** send an `Idempotency-Key` header to make retries safe (e.g. after a client-side timeout where delivery is unknown): same key + same body replays the original response (with `Idempotent-Replayed: true`) instead of sending the message a second time; same key + different body returns 422; a key still in flight returns 409. Works for JSON and multipart (file upload) requests alike. Keys are retained for 24 hours.
|
|
199
|
+
# Send a message in a conversation. Supports text, attachments, quick replies, buttons, templates, and message tags. Attachment and interactive message support varies by platform. WhatsApp template messages: to send an approved template into this conversation (required when the 24-hour customer-service window is closed), use the `template` field with a single element carrying the template reference: `{ \"elements\": [{ \"name\": ..., \"language\": ..., \"components\": [...] }] }`. See the `template` field below for the exact shape. To send a template to a phone number you have no conversation with yet, use the create-conversation endpoint (POST /v1/inbox/conversations) instead. WhatsApp rich interactive messages (list, CTA URL, Flow, location request) are available via the `interactive` field. Tap events are delivered through the `message.received` webhook with WhatsApp-specific `metadata` fields (`interactiveType`, `interactiveId`, `flowResponseJson`, `flowResponseData`). **Idempotency:** send an `Idempotency-Key` header to make retries safe (e.g. after a client-side timeout where delivery is unknown): same key + same body replays the original response (with `Idempotent-Replayed: true`) instead of sending the message a second time; same key + different body returns 422; a key still in flight returns 409. Works for JSON and multipart (file upload) requests alike. Keys are retained for 24 hours. Only successful (2xx) responses are stored for replay: if the request throws or returns a non-2xx status, the key is released so the same key can be retried once the problem is fixed. The header therefore protects the \"request succeeded but the response was lost\" case. For an ambiguous failure (a 5xx or a network timeout), reconcile before retrying: a failure after the platform already accepted the message also releases the key, and a blind retry could send it twice. List the conversation's messages first, and treat an empty result as inconclusive rather than as proof nothing was sent, since a send that failed while being recorded leaves no trace on our side.
|
|
200
200
|
# @param conversation_id Opaque conversation identifier, accepted verbatim from the list endpoint or from the conversationId on inbox webhooks. Format not to be assumed.
|
|
201
201
|
# @param send_inbox_message_request
|
|
202
202
|
# @param [Hash] opts the optional parameters
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
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::ReplaceAdAudienceCompanies200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::ReplaceAdAudienceCompanies200Response do
|
|
21
|
+
#let(:instance) { Zernio::ReplaceAdAudienceCompanies200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ReplaceAdAudienceCompanies200Response' do
|
|
24
|
+
it 'should create an instance of ReplaceAdAudienceCompanies200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::ReplaceAdAudienceCompanies200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "message"' 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 "num_received"' 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
|
+
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
|
|
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::ReplaceAdAudienceCompaniesRequestCompaniesInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::ReplaceAdAudienceCompaniesRequestCompaniesInner do
|
|
21
|
+
#let(:instance) { Zernio::ReplaceAdAudienceCompaniesRequestCompaniesInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ReplaceAdAudienceCompaniesRequestCompaniesInner' do
|
|
24
|
+
it 'should create an instance of ReplaceAdAudienceCompaniesRequestCompaniesInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::ReplaceAdAudienceCompaniesRequestCompaniesInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' 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 "domain"' 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 "website"' 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 "linkedin_page_url"' 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,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
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::ReplaceAdAudienceCompaniesRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::ReplaceAdAudienceCompaniesRequest do
|
|
21
|
+
#let(:instance) { Zernio::ReplaceAdAudienceCompaniesRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ReplaceAdAudienceCompaniesRequest' do
|
|
24
|
+
it 'should create an instance of ReplaceAdAudienceCompaniesRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::ReplaceAdAudienceCompaniesRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "companies"' 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
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
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::SendInboxMessage200ResponseDataAttachmentsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::SendInboxMessage200ResponseDataAttachmentsInner do
|
|
21
|
+
#let(:instance) { Zernio::SendInboxMessage200ResponseDataAttachmentsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SendInboxMessage200ResponseDataAttachmentsInner' do
|
|
24
|
+
it 'should create an instance of SendInboxMessage200ResponseDataAttachmentsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::SendInboxMessage200ResponseDataAttachmentsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' 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 "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
|
+
end
|
|
@@ -39,13 +39,7 @@ describe Zernio::SendInboxMessage200ResponseData do
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
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 "message"' do
|
|
42
|
+
describe 'test attribute "attachments"' do
|
|
49
43
|
it 'should work' do
|
|
50
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
45
|
end
|
|
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.726
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -1227,6 +1227,9 @@ files:
|
|
|
1227
1227
|
- docs/RemoveConversionAssociations200Response.md
|
|
1228
1228
|
- docs/RemoveDiscordMemberRole200Response.md
|
|
1229
1229
|
- docs/RemoveWhatsAppGroupParticipantsRequest.md
|
|
1230
|
+
- docs/ReplaceAdAudienceCompanies200Response.md
|
|
1231
|
+
- docs/ReplaceAdAudienceCompaniesRequest.md
|
|
1232
|
+
- docs/ReplaceAdAudienceCompaniesRequestCompaniesInner.md
|
|
1230
1233
|
- docs/ReplyToGoogleBusinessReview200Response.md
|
|
1231
1234
|
- docs/ReplyToGoogleBusinessReviewRequest.md
|
|
1232
1235
|
- docs/ReplyToInboxPost200Response.md
|
|
@@ -1327,6 +1330,7 @@ files:
|
|
|
1327
1330
|
- docs/SendDiscordDirectMessageRequestAttachmentsInner.md
|
|
1328
1331
|
- docs/SendInboxMessage200Response.md
|
|
1329
1332
|
- docs/SendInboxMessage200ResponseData.md
|
|
1333
|
+
- docs/SendInboxMessage200ResponseDataAttachmentsInner.md
|
|
1330
1334
|
- docs/SendInboxMessage400Response.md
|
|
1331
1335
|
- docs/SendInboxMessage400ResponsePlatformError.md
|
|
1332
1336
|
- docs/SendInboxMessageRequest.md
|
|
@@ -3006,6 +3010,9 @@ files:
|
|
|
3006
3010
|
- lib/zernio-sdk/models/remove_conversion_associations200_response.rb
|
|
3007
3011
|
- lib/zernio-sdk/models/remove_discord_member_role200_response.rb
|
|
3008
3012
|
- lib/zernio-sdk/models/remove_whats_app_group_participants_request.rb
|
|
3013
|
+
- lib/zernio-sdk/models/replace_ad_audience_companies200_response.rb
|
|
3014
|
+
- lib/zernio-sdk/models/replace_ad_audience_companies_request.rb
|
|
3015
|
+
- lib/zernio-sdk/models/replace_ad_audience_companies_request_companies_inner.rb
|
|
3009
3016
|
- lib/zernio-sdk/models/reply_to_google_business_review200_response.rb
|
|
3010
3017
|
- lib/zernio-sdk/models/reply_to_google_business_review_request.rb
|
|
3011
3018
|
- lib/zernio-sdk/models/reply_to_inbox_post200_response.rb
|
|
@@ -3104,6 +3111,7 @@ files:
|
|
|
3104
3111
|
- lib/zernio-sdk/models/send_discord_direct_message_request_attachments_inner.rb
|
|
3105
3112
|
- lib/zernio-sdk/models/send_inbox_message200_response.rb
|
|
3106
3113
|
- lib/zernio-sdk/models/send_inbox_message200_response_data.rb
|
|
3114
|
+
- lib/zernio-sdk/models/send_inbox_message200_response_data_attachments_inner.rb
|
|
3107
3115
|
- lib/zernio-sdk/models/send_inbox_message400_response.rb
|
|
3108
3116
|
- lib/zernio-sdk/models/send_inbox_message400_response_platform_error.rb
|
|
3109
3117
|
- lib/zernio-sdk/models/send_inbox_message_request.rb
|
|
@@ -4759,6 +4767,9 @@ files:
|
|
|
4759
4767
|
- spec/models/remove_conversion_associations200_response_spec.rb
|
|
4760
4768
|
- spec/models/remove_discord_member_role200_response_spec.rb
|
|
4761
4769
|
- spec/models/remove_whats_app_group_participants_request_spec.rb
|
|
4770
|
+
- spec/models/replace_ad_audience_companies200_response_spec.rb
|
|
4771
|
+
- spec/models/replace_ad_audience_companies_request_companies_inner_spec.rb
|
|
4772
|
+
- spec/models/replace_ad_audience_companies_request_spec.rb
|
|
4762
4773
|
- spec/models/reply_to_google_business_review200_response_spec.rb
|
|
4763
4774
|
- spec/models/reply_to_google_business_review_request_spec.rb
|
|
4764
4775
|
- spec/models/reply_to_inbox_post200_response_data_spec.rb
|
|
@@ -4855,6 +4866,7 @@ files:
|
|
|
4855
4866
|
- spec/models/send_discord_direct_message200_response_spec.rb
|
|
4856
4867
|
- spec/models/send_discord_direct_message_request_attachments_inner_spec.rb
|
|
4857
4868
|
- spec/models/send_discord_direct_message_request_spec.rb
|
|
4869
|
+
- spec/models/send_inbox_message200_response_data_attachments_inner_spec.rb
|
|
4858
4870
|
- spec/models/send_inbox_message200_response_data_spec.rb
|
|
4859
4871
|
- spec/models/send_inbox_message200_response_spec.rb
|
|
4860
4872
|
- spec/models/send_inbox_message400_response_platform_error_spec.rb
|
|
@@ -5327,7 +5339,7 @@ files:
|
|
|
5327
5339
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5328
5340
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5329
5341
|
- spec/spec_helper.rb
|
|
5330
|
-
- zernio-sdk-0.0.
|
|
5342
|
+
- zernio-sdk-0.0.726.gem
|
|
5331
5343
|
- zernio-sdk.gemspec
|
|
5332
5344
|
homepage: https://openapi-generator.tech
|
|
5333
5345
|
licenses:
|
|
@@ -6159,6 +6171,7 @@ test_files:
|
|
|
6159
6171
|
- spec/models/get_whats_app_flow200_response_spec.rb
|
|
6160
6172
|
- spec/models/update_youtube_default_playlist_request_spec.rb
|
|
6161
6173
|
- spec/models/send_whats_app_conversion200_response_spec.rb
|
|
6174
|
+
- spec/models/replace_ad_audience_companies_request_companies_inner_spec.rb
|
|
6162
6175
|
- spec/models/get_best_time_to_post403_response_spec.rb
|
|
6163
6176
|
- spec/models/create_ad_insights_report_request_filtering_inner_spec.rb
|
|
6164
6177
|
- spec/models/get_tracking_tag200_response_spec.rb
|
|
@@ -6394,6 +6407,7 @@ test_files:
|
|
|
6394
6407
|
- spec/models/webhook_payload_comment_comment_author_spec.rb
|
|
6395
6408
|
- spec/models/get_inbox_top_accounts200_response_spec.rb
|
|
6396
6409
|
- spec/models/analytics_list_response_spec.rb
|
|
6410
|
+
- spec/models/replace_ad_audience_companies_request_spec.rb
|
|
6397
6411
|
- spec/models/create_custom_conversion_request_spec.rb
|
|
6398
6412
|
- spec/models/reply_to_phone_number_reviewer_request_spec.rb
|
|
6399
6413
|
- spec/models/list_snapchat_profiles200_response_public_profiles_inner_spec.rb
|
|
@@ -6628,6 +6642,7 @@ test_files:
|
|
|
6628
6642
|
- spec/models/ad_tree_campaign_budget_spec.rb
|
|
6629
6643
|
- spec/models/add_message_reaction_request_spec.rb
|
|
6630
6644
|
- spec/models/add_users_to_ad_audience_request_users_inner_spec.rb
|
|
6645
|
+
- spec/models/send_inbox_message200_response_data_attachments_inner_spec.rb
|
|
6631
6646
|
- spec/models/create_sequence200_response_sequence_spec.rb
|
|
6632
6647
|
- spec/models/get_linked_in_organizations200_response_organizations_inner_spec.rb
|
|
6633
6648
|
- spec/models/instagram_account_insights_response_metrics_value_values_inner_spec.rb
|
|
@@ -6731,6 +6746,7 @@ test_files:
|
|
|
6731
6746
|
- spec/models/billing_snapshot_plan_spec.rb
|
|
6732
6747
|
- spec/models/archive_lead_form200_response_spec.rb
|
|
6733
6748
|
- spec/models/boost_post_request_tracking_url_tags_inner_spec.rb
|
|
6749
|
+
- spec/models/replace_ad_audience_companies200_response_spec.rb
|
|
6734
6750
|
- spec/models/enable_whats_app_calling_legacy200_response_spec.rb
|
|
6735
6751
|
- spec/models/posts_list_response_spec.rb
|
|
6736
6752
|
- spec/models/create_queue_slot_request_spec.rb
|
data/zernio-sdk-0.0.724.gem
DELETED
|
Binary file
|