late-sdk 0.0.621 → 0.0.622
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/docs/BulkCreateContacts200Response.md +1 -1
- data/docs/ContactsApi.md +1 -1
- data/lib/zernio-sdk/api/contacts_api.rb +2 -2
- data/lib/zernio-sdk/models/bulk_create_contacts200_response.rb +2 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +2 -2
- data/spec/api/contacts_api_spec.rb +1 -1
- data/zernio-sdk-0.0.622.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.621.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56e0ec79860152e25e20c1e75edfefa1700524e8f9b0a7e165001c073c7b8f79
|
|
4
|
+
data.tar.gz: 655d812e9c4a3ec4b68b688b1c194d3ea23d6d3f94b287b9904e5eda0ed74308
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d4ad726c8d98d525f8d1487dcda9ccb138d5ca5495674012b4354617ac7860af2064c28c32ad4bd7bf49b4a173e96ad87e874090b4b95d56a414a371cccb8dd
|
|
7
|
+
data.tar.gz: b0e856e1870b9350833edadf9f492898dac3a2fe00cee1b2539b6a4b355bf3e7ab2b3a7d9aa8015b0c31d390cd54791843ede918b4f9056d0e021762c82a1d5e
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **success** | **Boolean** | | [optional] |
|
|
8
8
|
| **created** | **Integer** | | [optional] |
|
|
9
9
|
| **skipped** | **Integer** | | [optional] |
|
|
10
|
-
| **errors** | **Array<
|
|
10
|
+
| **errors** | **Array<String>** | Per-contact failures, e.g. an identifier that is not a valid phone number | [optional] |
|
|
11
11
|
| **total** | **Integer** | | [optional] |
|
|
12
12
|
|
|
13
13
|
## Example
|
data/docs/ContactsApi.md
CHANGED
|
@@ -19,7 +19,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
19
19
|
|
|
20
20
|
Bulk create contacts
|
|
21
21
|
|
|
22
|
-
Import up to 1000 contacts at a time. Skips duplicates.
|
|
22
|
+
Import up to 1000 contacts at a time. Skips duplicates. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
23
23
|
|
|
24
24
|
### Examples
|
|
25
25
|
|
|
@@ -20,7 +20,7 @@ module Zernio
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Bulk create contacts
|
|
23
|
-
# Import up to 1000 contacts at a time. Skips duplicates.
|
|
23
|
+
# Import up to 1000 contacts at a time. Skips duplicates. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
24
24
|
# @param bulk_create_contacts_request [BulkCreateContactsRequest]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [BulkCreateContacts200Response]
|
|
@@ -30,7 +30,7 @@ module Zernio
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Bulk create contacts
|
|
33
|
-
# Import up to 1000 contacts at a time. Skips duplicates.
|
|
33
|
+
# Import up to 1000 contacts at a time. Skips duplicates. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
34
34
|
# @param bulk_create_contacts_request [BulkCreateContactsRequest]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(BulkCreateContacts200Response, Integer, Hash)>] BulkCreateContacts200Response data, response status code and response headers
|
|
@@ -21,6 +21,7 @@ module Zernio
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :skipped
|
|
23
23
|
|
|
24
|
+
# Per-contact failures, e.g. an identifier that is not a valid phone number
|
|
24
25
|
attr_accessor :errors
|
|
25
26
|
|
|
26
27
|
attr_accessor :total
|
|
@@ -52,7 +53,7 @@ module Zernio
|
|
|
52
53
|
:'success' => :'Boolean',
|
|
53
54
|
:'created' => :'Integer',
|
|
54
55
|
:'skipped' => :'Integer',
|
|
55
|
-
:'errors' => :'Array<
|
|
56
|
+
:'errors' => :'Array<String>',
|
|
56
57
|
:'total' => :'Integer'
|
|
57
58
|
}
|
|
58
59
|
end
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -32668,7 +32668,7 @@ paths:
|
|
|
32668
32668
|
post:
|
|
32669
32669
|
operationId: bulkCreateContacts
|
|
32670
32670
|
summary: Bulk create contacts
|
|
32671
|
-
description: Import up to 1000 contacts at a time. Skips duplicates.
|
|
32671
|
+
description: 'Import up to 1000 contacts at a time. Skips duplicates. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.'
|
|
32672
32672
|
tags: [Contacts]
|
|
32673
32673
|
requestBody:
|
|
32674
32674
|
required: true
|
|
@@ -32705,7 +32705,7 @@ paths:
|
|
|
32705
32705
|
success: { type: boolean }
|
|
32706
32706
|
created: { type: integer }
|
|
32707
32707
|
skipped: { type: integer }
|
|
32708
|
-
errors: { type: array, items: { type:
|
|
32708
|
+
errors: { type: array, items: { type: string }, description: 'Per-contact failures, e.g. an identifier that is not a valid phone number' }
|
|
32709
32709
|
total: { type: integer }
|
|
32710
32710
|
'400': { description: Invalid request }
|
|
32711
32711
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
@@ -34,7 +34,7 @@ describe 'ContactsApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for bulk_create_contacts
|
|
36
36
|
# Bulk create contacts
|
|
37
|
-
# Import up to 1000 contacts at a time. Skips duplicates.
|
|
37
|
+
# Import up to 1000 contacts at a time. Skips duplicates. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
38
38
|
# @param bulk_create_contacts_request
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [BulkCreateContacts200Response]
|
|
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.622
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4895,7 +4895,7 @@ files:
|
|
|
4895
4895
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4896
4896
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4897
4897
|
- spec/spec_helper.rb
|
|
4898
|
-
- zernio-sdk-0.0.
|
|
4898
|
+
- zernio-sdk-0.0.622.gem
|
|
4899
4899
|
- zernio-sdk.gemspec
|
|
4900
4900
|
homepage: https://openapi-generator.tech
|
|
4901
4901
|
licenses:
|
data/zernio-sdk-0.0.621.gem
DELETED
|
Binary file
|