late-sdk 0.0.782 → 0.0.783
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 +6 -0
- data/docs/UsageApi.md +8 -2
- data/docs/UsageAttributionGroup.md +22 -0
- data/docs/UsageAttributionSlice.md +20 -0
- data/docs/UsageAttributionSliceByProduct.md +34 -0
- data/docs/UsageMetering.md +5 -1
- data/docs/UsageMeteringAttribution.md +26 -0
- data/docs/UsageMeteringScope.md +49 -0
- data/docs/UsageMeteringScopeOneOf.md +18 -0
- data/lib/zernio-sdk/api/usage_api.rb +15 -2
- data/lib/zernio-sdk/models/usage_attribution_group.rb +190 -0
- data/lib/zernio-sdk/models/usage_attribution_slice.rb +156 -0
- data/lib/zernio-sdk/models/usage_attribution_slice_by_product.rb +220 -0
- data/lib/zernio-sdk/models/usage_metering.rb +22 -4
- data/lib/zernio-sdk/models/usage_metering_attribution.rb +223 -0
- data/lib/zernio-sdk/models/usage_metering_call_usage.rb +1 -1
- data/lib/zernio-sdk/models/usage_metering_peaks.rb +1 -1
- data/lib/zernio-sdk/models/usage_metering_scope.rb +105 -0
- data/lib/zernio-sdk/models/usage_metering_scope_one_of.rb +164 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +6 -0
- data/openapi.yaml +90 -4
- data/spec/api/usage_api_spec.rb +4 -1
- data/spec/models/usage_attribution_group_spec.rb +48 -0
- data/spec/models/usage_attribution_slice_by_product_spec.rb +84 -0
- data/spec/models/usage_attribution_slice_spec.rb +42 -0
- data/spec/models/usage_metering_attribution_spec.rb +64 -0
- data/spec/models/usage_metering_scope_one_of_spec.rb +36 -0
- data/spec/models/usage_metering_scope_spec.rb +32 -0
- data/spec/models/usage_metering_spec.rb +12 -0
- data/zernio-sdk-0.0.783.gem +0 -0
- metadata +26 -2
- data/zernio-sdk-0.0.782.gem +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
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::UsageMeteringAttribution
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::UsageMeteringAttribution do
|
|
21
|
+
#let(:instance) { Zernio::UsageMeteringAttribution.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UsageMeteringAttribution' do
|
|
24
|
+
it 'should create an instance of UsageMeteringAttribution' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::UsageMeteringAttribution)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "group_by"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["profile", "account"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.group_by = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "groups"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "unattributed"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "totals"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "restricted"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
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 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::UsageMeteringScopeOneOf
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::UsageMeteringScopeOneOf do
|
|
21
|
+
#let(:instance) { Zernio::UsageMeteringScopeOneOf.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UsageMeteringScopeOneOf' do
|
|
24
|
+
it 'should create an instance of UsageMeteringScopeOneOf' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::UsageMeteringScopeOneOf)
|
|
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
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
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::UsageMeteringScope
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::UsageMeteringScope do
|
|
21
|
+
describe '.openapi_one_of' do
|
|
22
|
+
it 'lists the items referenced in the oneOf array' do
|
|
23
|
+
expect(described_class.openapi_one_of).to_not be_empty
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe '.build' do
|
|
28
|
+
it 'returns the correct model' do
|
|
29
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -85,4 +85,16 @@ describe Zernio::UsageMetering do
|
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
+
describe 'test attribute "attribution"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "scope"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
88
100
|
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.783
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -1660,13 +1660,19 @@ files:
|
|
|
1660
1660
|
- docs/UploadedOrDerivedAudienceCompaniesInner.md
|
|
1661
1661
|
- docs/UploadedOrDerivedAudienceMatchRulesInner.md
|
|
1662
1662
|
- docs/UsageApi.md
|
|
1663
|
+
- docs/UsageAttributionGroup.md
|
|
1664
|
+
- docs/UsageAttributionSlice.md
|
|
1665
|
+
- docs/UsageAttributionSliceByProduct.md
|
|
1663
1666
|
- docs/UsageMetering.md
|
|
1667
|
+
- docs/UsageMeteringAttribution.md
|
|
1664
1668
|
- docs/UsageMeteringCallUsage.md
|
|
1665
1669
|
- docs/UsageMeteringCallUsageWhatsapp.md
|
|
1666
1670
|
- docs/UsageMeteringDaysInner.md
|
|
1667
1671
|
- docs/UsageMeteringLineItemsInner.md
|
|
1668
1672
|
- docs/UsageMeteringPeaks.md
|
|
1669
1673
|
- docs/UsageMeteringPeriod.md
|
|
1674
|
+
- docs/UsageMeteringScope.md
|
|
1675
|
+
- docs/UsageMeteringScopeOneOf.md
|
|
1670
1676
|
- docs/UsageMeteringTax.md
|
|
1671
1677
|
- docs/UsageMeteringTotals.md
|
|
1672
1678
|
- docs/UsageStats.md
|
|
@@ -3480,13 +3486,19 @@ files:
|
|
|
3480
3486
|
- lib/zernio-sdk/models/uploaded_or_derived_audience.rb
|
|
3481
3487
|
- lib/zernio-sdk/models/uploaded_or_derived_audience_companies_inner.rb
|
|
3482
3488
|
- lib/zernio-sdk/models/uploaded_or_derived_audience_match_rules_inner.rb
|
|
3489
|
+
- lib/zernio-sdk/models/usage_attribution_group.rb
|
|
3490
|
+
- lib/zernio-sdk/models/usage_attribution_slice.rb
|
|
3491
|
+
- lib/zernio-sdk/models/usage_attribution_slice_by_product.rb
|
|
3483
3492
|
- lib/zernio-sdk/models/usage_metering.rb
|
|
3493
|
+
- lib/zernio-sdk/models/usage_metering_attribution.rb
|
|
3484
3494
|
- lib/zernio-sdk/models/usage_metering_call_usage.rb
|
|
3485
3495
|
- lib/zernio-sdk/models/usage_metering_call_usage_whatsapp.rb
|
|
3486
3496
|
- lib/zernio-sdk/models/usage_metering_days_inner.rb
|
|
3487
3497
|
- lib/zernio-sdk/models/usage_metering_line_items_inner.rb
|
|
3488
3498
|
- lib/zernio-sdk/models/usage_metering_peaks.rb
|
|
3489
3499
|
- lib/zernio-sdk/models/usage_metering_period.rb
|
|
3500
|
+
- lib/zernio-sdk/models/usage_metering_scope.rb
|
|
3501
|
+
- lib/zernio-sdk/models/usage_metering_scope_one_of.rb
|
|
3490
3502
|
- lib/zernio-sdk/models/usage_metering_tax.rb
|
|
3491
3503
|
- lib/zernio-sdk/models/usage_metering_totals.rb
|
|
3492
3504
|
- lib/zernio-sdk/models/usage_stats.rb
|
|
@@ -5281,12 +5293,18 @@ files:
|
|
|
5281
5293
|
- spec/models/uploaded_or_derived_audience_companies_inner_spec.rb
|
|
5282
5294
|
- spec/models/uploaded_or_derived_audience_match_rules_inner_spec.rb
|
|
5283
5295
|
- spec/models/uploaded_or_derived_audience_spec.rb
|
|
5296
|
+
- spec/models/usage_attribution_group_spec.rb
|
|
5297
|
+
- spec/models/usage_attribution_slice_by_product_spec.rb
|
|
5298
|
+
- spec/models/usage_attribution_slice_spec.rb
|
|
5299
|
+
- spec/models/usage_metering_attribution_spec.rb
|
|
5284
5300
|
- spec/models/usage_metering_call_usage_spec.rb
|
|
5285
5301
|
- spec/models/usage_metering_call_usage_whatsapp_spec.rb
|
|
5286
5302
|
- spec/models/usage_metering_days_inner_spec.rb
|
|
5287
5303
|
- spec/models/usage_metering_line_items_inner_spec.rb
|
|
5288
5304
|
- spec/models/usage_metering_peaks_spec.rb
|
|
5289
5305
|
- spec/models/usage_metering_period_spec.rb
|
|
5306
|
+
- spec/models/usage_metering_scope_one_of_spec.rb
|
|
5307
|
+
- spec/models/usage_metering_scope_spec.rb
|
|
5290
5308
|
- spec/models/usage_metering_spec.rb
|
|
5291
5309
|
- spec/models/usage_metering_tax_spec.rb
|
|
5292
5310
|
- spec/models/usage_metering_totals_spec.rb
|
|
@@ -5476,7 +5494,7 @@ files:
|
|
|
5476
5494
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5477
5495
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5478
5496
|
- spec/spec_helper.rb
|
|
5479
|
-
- zernio-sdk-0.0.
|
|
5497
|
+
- zernio-sdk-0.0.783.gem
|
|
5480
5498
|
- zernio-sdk.gemspec
|
|
5481
5499
|
homepage: https://openapi-generator.tech
|
|
5482
5500
|
licenses:
|
|
@@ -6084,6 +6102,7 @@ test_files:
|
|
|
6084
6102
|
- spec/models/list_inbox_conversations200_response_meta_accounts_skipped_inner_spec.rb
|
|
6085
6103
|
- spec/models/create_discord_scheduled_event_request_entity_spec.rb
|
|
6086
6104
|
- spec/models/x_article_block_spec.rb
|
|
6105
|
+
- spec/models/usage_attribution_slice_spec.rb
|
|
6087
6106
|
- spec/models/x_article_entity_one_of3_value_spec.rb
|
|
6088
6107
|
- spec/models/update_value_rule_set200_response_spec.rb
|
|
6089
6108
|
- spec/models/reply_to_google_business_review_request_spec.rb
|
|
@@ -6355,6 +6374,7 @@ test_files:
|
|
|
6355
6374
|
- spec/models/update_sequence_request_spec.rb
|
|
6356
6375
|
- spec/models/get_linked_in_aggregate_analytics400_response_spec.rb
|
|
6357
6376
|
- spec/models/dm_button_spec.rb
|
|
6377
|
+
- spec/models/usage_metering_scope_spec.rb
|
|
6358
6378
|
- spec/models/restore_workflow_version200_response_workflow_spec.rb
|
|
6359
6379
|
- spec/models/get_whats_app_template200_response_template_spec.rb
|
|
6360
6380
|
- spec/models/unfollow_user200_response_spec.rb
|
|
@@ -6637,6 +6657,7 @@ test_files:
|
|
|
6637
6657
|
- spec/models/inbox_message_edit_history_entry_spec.rb
|
|
6638
6658
|
- spec/models/move_whats_app_number_to_profile_request_spec.rb
|
|
6639
6659
|
- spec/models/schedule_broadcast200_response_spec.rb
|
|
6660
|
+
- spec/models/usage_attribution_slice_by_product_spec.rb
|
|
6640
6661
|
- spec/models/list_ad_images200_response_spec.rb
|
|
6641
6662
|
- spec/models/linked_in_ads_platform_data_spec.rb
|
|
6642
6663
|
- spec/models/create_ad_audience201_response_spec.rb
|
|
@@ -6680,11 +6701,13 @@ test_files:
|
|
|
6680
6701
|
- spec/models/x_article_entity_one_of5_spec.rb
|
|
6681
6702
|
- spec/models/fetch_google_business_verification_options200_response_spec.rb
|
|
6682
6703
|
- spec/models/move_account_to_profile_request_spec.rb
|
|
6704
|
+
- spec/models/usage_metering_scope_one_of_spec.rb
|
|
6683
6705
|
- spec/models/linked_in_ads_platform_data_follower_description_spec.rb
|
|
6684
6706
|
- spec/models/get_ad_creative200_response_spec.rb
|
|
6685
6707
|
- spec/models/create_conversion_destination201_response_spec.rb
|
|
6686
6708
|
- spec/models/call_record_call_errors_inner_spec.rb
|
|
6687
6709
|
- spec/models/get_inbox_source_breakdown200_response_spec.rb
|
|
6710
|
+
- spec/models/usage_metering_attribution_spec.rb
|
|
6688
6711
|
- spec/models/get_broadcast200_response_broadcast_spec.rb
|
|
6689
6712
|
- spec/models/list_calls200_response_calls_inner_spec.rb
|
|
6690
6713
|
- spec/models/appeal_sms_registration200_response_spec.rb
|
|
@@ -7241,6 +7264,7 @@ test_files:
|
|
|
7241
7264
|
- spec/models/update_ad_tracking_tags_request_spec.rb
|
|
7242
7265
|
- spec/models/webhook_payload_whats_app_template_category_updated_spec.rb
|
|
7243
7266
|
- spec/models/set_whatsapp_business_username_request_spec.rb
|
|
7267
|
+
- spec/models/usage_attribution_group_spec.rb
|
|
7244
7268
|
- spec/models/create_inbox_conversation_request_template_button_params_inner_spec.rb
|
|
7245
7269
|
- spec/models/send_inbox_message_request_interactive_action_one_of6_spec.rb
|
|
7246
7270
|
- spec/models/list_whats_app_number_countries200_response_spec.rb
|
data/zernio-sdk-0.0.782.gem
DELETED
|
Binary file
|