zyphr 0.1.3 → 0.1.6
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 +4 -3
- data/docs/Category.md +4 -2
- data/docs/Device.md +10 -12
- data/docs/DeviceStats.md +3 -1
- data/docs/DevicesApi.md +3 -3
- data/docs/PushApi.md +3 -3
- data/docs/PushMessage.md +13 -7
- data/docs/PushMessageDetail.md +17 -15
- data/docs/PushMessageDetailAllOfActionButtons.md +24 -0
- data/docs/RegisterDeviceRequest.md +4 -14
- data/docs/SMSApi.md +4 -4
- data/docs/SendPushRequest.md +35 -15
- data/docs/SendPushRequestActionButtonsInner.md +24 -0
- data/docs/TemplatesApi.md +2 -2
- data/docs/TopicsApi.md +2 -2
- data/docs/WaaSApplication.md +4 -2
- data/docs/WaaSApplicationsApi.md +1 -1
- data/docs/{WebhookWorkspaceMetricsResponse.md → WebhookAccountMetricsResponse.md} +3 -3
- data/docs/WebhooksApi.md +70 -70
- data/lib/zyphr/api/devices_api.rb +4 -4
- data/lib/zyphr/api/push_api.rb +4 -4
- data/lib/zyphr/api/sms_api.rb +8 -8
- data/lib/zyphr/api/templates_api.rb +4 -4
- data/lib/zyphr/api/topics_api.rb +4 -4
- data/lib/zyphr/api/waa_s_applications_api.rb +2 -2
- data/lib/zyphr/api/webhooks_api.rb +59 -59
- data/lib/zyphr/models/category.rb +16 -7
- data/lib/zyphr/models/device.rb +34 -57
- data/lib/zyphr/models/device_stats.rb +13 -4
- data/lib/zyphr/models/push_message.rb +67 -36
- data/lib/zyphr/models/push_message_detail.rb +88 -75
- data/lib/zyphr/models/push_message_detail_all_of_action_buttons.rb +247 -0
- data/lib/zyphr/models/register_device_request.rb +43 -59
- data/lib/zyphr/models/send_push_request.rb +278 -91
- data/lib/zyphr/models/{push_payload.rb → send_push_request_action_buttons_inner.rb} +72 -73
- data/lib/zyphr/models/waa_s_application.rb +16 -7
- data/lib/zyphr/models/{webhook_workspace_metrics_response.rb → webhook_account_metrics_response.rb} +4 -4
- data/lib/zyphr.rb +3 -2
- data/spec/api/devices_api_spec.rb +2 -2
- data/spec/api/push_api_spec.rb +2 -2
- data/spec/api/sms_api_spec.rb +4 -4
- data/spec/api/templates_api_spec.rb +2 -2
- data/spec/api/topics_api_spec.rb +2 -2
- data/spec/api/waa_s_applications_api_spec.rb +1 -1
- data/spec/api/webhooks_api_spec.rb +12 -12
- data/spec/models/category_spec.rb +7 -1
- data/spec/models/device_spec.rb +5 -15
- data/spec/models/device_stats_spec.rb +6 -0
- data/spec/models/{push_payload_spec.rb → push_message_detail_all_of_action_buttons_spec.rb} +10 -34
- data/spec/models/push_message_detail_spec.rb +26 -20
- data/spec/models/push_message_spec.rb +26 -8
- data/spec/models/register_device_request_spec.rb +2 -32
- data/spec/models/send_push_request_action_buttons_inner_spec.rb +54 -0
- data/spec/models/send_push_request_spec.rb +67 -11
- data/spec/models/waa_s_application_spec.rb +7 -1
- data/spec/models/{webhook_workspace_metrics_response_spec.rb → webhook_account_metrics_response_spec.rb} +6 -6
- data/zyphr.gemspec +1 -1
- metadata +328 -324
- data/docs/PushPayload.md +0 -32
|
@@ -14,62 +14,38 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for Zyphr::
|
|
17
|
+
# Unit tests for Zyphr::PushMessageDetailAllOfActionButtons
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe Zyphr::
|
|
21
|
-
let(:instance) { Zyphr::
|
|
20
|
+
describe Zyphr::PushMessageDetailAllOfActionButtons do
|
|
21
|
+
let(:instance) { Zyphr::PushMessageDetailAllOfActionButtons.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of PushMessageDetailAllOfActionButtons' do
|
|
24
|
+
it 'should create an instance of PushMessageDetailAllOfActionButtons' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(Zyphr::
|
|
26
|
+
#expect(instance).to be_instance_of(Zyphr::PushMessageDetailAllOfActionButtons)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
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 "body"' 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 "icon"' do
|
|
30
|
+
describe 'test attribute "id"' do
|
|
43
31
|
it 'should work' do
|
|
44
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
33
|
end
|
|
46
34
|
end
|
|
47
35
|
|
|
48
|
-
describe 'test attribute "
|
|
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 "badge"' 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 "sound"' do
|
|
36
|
+
describe 'test attribute "title"' do
|
|
61
37
|
it 'should work' do
|
|
62
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
39
|
end
|
|
64
40
|
end
|
|
65
41
|
|
|
66
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "action"' do
|
|
67
43
|
it 'should work' do
|
|
68
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
45
|
end
|
|
70
46
|
end
|
|
71
47
|
|
|
72
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "deep_link"' do
|
|
73
49
|
it 'should work' do
|
|
74
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
51
|
end
|
|
@@ -39,12 +39,22 @@ describe Zyphr::PushMessageDetail do
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "user_id"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "platform"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ios", "android", "web"])
|
|
52
|
+
# validator.allowable_values.each do |value|
|
|
53
|
+
# expect { instance.platform = value }.not_to raise_error
|
|
54
|
+
# end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
48
58
|
describe 'test attribute "title"' do
|
|
49
59
|
it 'should work' do
|
|
50
60
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -57,57 +67,53 @@ describe Zyphr::PushMessageDetail do
|
|
|
57
67
|
end
|
|
58
68
|
end
|
|
59
69
|
|
|
60
|
-
describe 'test attribute "
|
|
70
|
+
describe 'test attribute "data"' do
|
|
61
71
|
it 'should work' do
|
|
62
72
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "queued", "sent", "delivered", "failed"])
|
|
64
|
-
# validator.allowable_values.each do |value|
|
|
65
|
-
# expect { instance.status = value }.not_to raise_error
|
|
66
|
-
# end
|
|
67
73
|
end
|
|
68
74
|
end
|
|
69
75
|
|
|
70
|
-
describe 'test attribute "
|
|
76
|
+
describe 'test attribute "status"' do
|
|
71
77
|
it 'should work' do
|
|
72
78
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
79
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["queued", "sending", "sent", "delivered", "failed", "expired"])
|
|
74
80
|
# validator.allowable_values.each do |value|
|
|
75
|
-
# expect { instance.
|
|
81
|
+
# expect { instance.status = value }.not_to raise_error
|
|
76
82
|
# end
|
|
77
83
|
end
|
|
78
84
|
end
|
|
79
85
|
|
|
80
|
-
describe 'test attribute "
|
|
86
|
+
describe 'test attribute "tags"' do
|
|
81
87
|
it 'should work' do
|
|
82
88
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
89
|
end
|
|
84
90
|
end
|
|
85
91
|
|
|
86
|
-
describe 'test attribute "
|
|
92
|
+
describe 'test attribute "queued_at"' do
|
|
87
93
|
it 'should work' do
|
|
88
94
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
89
95
|
end
|
|
90
96
|
end
|
|
91
97
|
|
|
92
|
-
describe 'test attribute "
|
|
98
|
+
describe 'test attribute "sent_at"' do
|
|
93
99
|
it 'should work' do
|
|
94
100
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
95
101
|
end
|
|
96
102
|
end
|
|
97
103
|
|
|
98
|
-
describe 'test attribute "
|
|
104
|
+
describe 'test attribute "delivered_at"' do
|
|
99
105
|
it 'should work' do
|
|
100
106
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
101
107
|
end
|
|
102
108
|
end
|
|
103
109
|
|
|
104
|
-
describe 'test attribute "
|
|
110
|
+
describe 'test attribute "created_at"' do
|
|
105
111
|
it 'should work' do
|
|
106
112
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
107
113
|
end
|
|
108
114
|
end
|
|
109
115
|
|
|
110
|
-
describe 'test attribute "
|
|
116
|
+
describe 'test attribute "batch_id"' do
|
|
111
117
|
it 'should work' do
|
|
112
118
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
113
119
|
end
|
|
@@ -131,31 +137,31 @@ describe Zyphr::PushMessageDetail do
|
|
|
131
137
|
end
|
|
132
138
|
end
|
|
133
139
|
|
|
134
|
-
describe 'test attribute "
|
|
140
|
+
describe 'test attribute "content_available"' do
|
|
135
141
|
it 'should work' do
|
|
136
142
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
137
143
|
end
|
|
138
144
|
end
|
|
139
145
|
|
|
140
|
-
describe 'test attribute "
|
|
146
|
+
describe 'test attribute "action_buttons"' do
|
|
141
147
|
it 'should work' do
|
|
142
148
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
143
149
|
end
|
|
144
150
|
end
|
|
145
151
|
|
|
146
|
-
describe 'test attribute "
|
|
152
|
+
describe 'test attribute "status_reason"' do
|
|
147
153
|
it 'should work' do
|
|
148
154
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
149
155
|
end
|
|
150
156
|
end
|
|
151
157
|
|
|
152
|
-
describe 'test attribute "
|
|
158
|
+
describe 'test attribute "provider_message_id"' do
|
|
153
159
|
it 'should work' do
|
|
154
160
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
155
161
|
end
|
|
156
162
|
end
|
|
157
163
|
|
|
158
|
-
describe 'test attribute "
|
|
164
|
+
describe 'test attribute "metadata"' do
|
|
159
165
|
it 'should work' do
|
|
160
166
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
161
167
|
end
|
|
@@ -39,12 +39,22 @@ describe Zyphr::PushMessage do
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "user_id"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "platform"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ios", "android", "web"])
|
|
52
|
+
# validator.allowable_values.each do |value|
|
|
53
|
+
# expect { instance.platform = value }.not_to raise_error
|
|
54
|
+
# end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
48
58
|
describe 'test attribute "title"' do
|
|
49
59
|
it 'should work' do
|
|
50
60
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -57,27 +67,29 @@ describe Zyphr::PushMessage do
|
|
|
57
67
|
end
|
|
58
68
|
end
|
|
59
69
|
|
|
70
|
+
describe 'test attribute "data"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
60
76
|
describe 'test attribute "status"' do
|
|
61
77
|
it 'should work' do
|
|
62
78
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
79
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["queued", "sending", "sent", "delivered", "failed", "expired"])
|
|
64
80
|
# validator.allowable_values.each do |value|
|
|
65
81
|
# expect { instance.status = value }.not_to raise_error
|
|
66
82
|
# end
|
|
67
83
|
end
|
|
68
84
|
end
|
|
69
85
|
|
|
70
|
-
describe 'test attribute "
|
|
86
|
+
describe 'test attribute "tags"' do
|
|
71
87
|
it 'should work' do
|
|
72
88
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ios", "android", "web"])
|
|
74
|
-
# validator.allowable_values.each do |value|
|
|
75
|
-
# expect { instance.platform = value }.not_to raise_error
|
|
76
|
-
# end
|
|
77
89
|
end
|
|
78
90
|
end
|
|
79
91
|
|
|
80
|
-
describe 'test attribute "
|
|
92
|
+
describe 'test attribute "queued_at"' do
|
|
81
93
|
it 'should work' do
|
|
82
94
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
95
|
end
|
|
@@ -95,4 +107,10 @@ describe Zyphr::PushMessage do
|
|
|
95
107
|
end
|
|
96
108
|
end
|
|
97
109
|
|
|
110
|
+
describe 'test attribute "created_at"' do
|
|
111
|
+
it 'should work' do
|
|
112
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
98
116
|
end
|
|
@@ -27,13 +27,7 @@ describe Zyphr::RegisterDeviceRequest do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
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 "external_user_id"' do
|
|
30
|
+
describe 'test attribute "user_id"' do
|
|
37
31
|
it 'should work' do
|
|
38
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
33
|
end
|
|
@@ -55,31 +49,7 @@ describe Zyphr::RegisterDeviceRequest do
|
|
|
55
49
|
end
|
|
56
50
|
end
|
|
57
51
|
|
|
58
|
-
describe 'test attribute "
|
|
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
|
-
describe 'test attribute "device_model"' do
|
|
65
|
-
it 'should work' do
|
|
66
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
describe 'test attribute "os_version"' do
|
|
71
|
-
it 'should work' do
|
|
72
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
describe 'test attribute "timezone"' do
|
|
77
|
-
it 'should work' do
|
|
78
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
describe 'test attribute "locale"' do
|
|
52
|
+
describe 'test attribute "metadata"' do
|
|
83
53
|
it 'should work' do
|
|
84
54
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
55
|
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zyphr API
|
|
3
|
+
|
|
4
|
+
#Zyphr is a multi-channel notification platform that enables developers to send emails, push notifications, SMS, and in-app messages through a unified API. ## Authentication All API requests require authentication using an API key. Include your API key in the `X-API-Key` header: ``` X-API-Key: zy_live_xxxxxxxxxxxx ``` API keys can be created in the Zyphr Dashboard. Use `zy_test_*` keys for testing and `zy_live_*` keys for production. ## Rate Limiting The API implements rate limiting to ensure fair usage. Rate limit information is included in response headers: - `X-RateLimit-Limit`: Maximum requests per window - `X-RateLimit-Remaining`: Remaining requests in current window - `X-RateLimit-Reset`: Unix timestamp when the window resets ## Errors All errors follow a consistent format: ```json { \"error\": { \"code\": \"error_code\", \"message\": \"Human readable message\", \"details\": {} }, \"meta\": { \"request_id\": \"req_xxxx\" } } ```
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
Contact: support@zyphr.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.12.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zyphr::SendPushRequestActionButtonsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zyphr::SendPushRequestActionButtonsInner do
|
|
21
|
+
let(:instance) { Zyphr::SendPushRequestActionButtonsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SendPushRequestActionButtonsInner' do
|
|
24
|
+
it 'should create an instance of SendPushRequestActionButtonsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zyphr::SendPushRequestActionButtonsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "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 "title"' 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 "action"' 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 "deep_link"' 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
|
|
@@ -27,47 +27,73 @@ describe Zyphr::SendPushRequest do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "user_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
|
+
|
|
30
36
|
describe 'test attribute "device_id"' do
|
|
31
37
|
it 'should work' do
|
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
39
|
end
|
|
34
40
|
end
|
|
35
41
|
|
|
36
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "title"' do
|
|
37
43
|
it 'should work' do
|
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
45
|
end
|
|
40
46
|
end
|
|
41
47
|
|
|
42
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "body"' 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 "data"' 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 "badge"' 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
|
+
describe 'test attribute "sound"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "image_url"' do
|
|
43
73
|
it 'should work' do
|
|
44
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
75
|
end
|
|
46
76
|
end
|
|
47
77
|
|
|
48
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "content_available"' do
|
|
49
79
|
it 'should work' do
|
|
50
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
81
|
end
|
|
52
82
|
end
|
|
53
83
|
|
|
54
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "action_buttons"' do
|
|
55
85
|
it 'should work' do
|
|
56
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
87
|
end
|
|
58
88
|
end
|
|
59
89
|
|
|
60
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "tags"' do
|
|
61
91
|
it 'should work' do
|
|
62
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low", "normal", "high", "urgent"])
|
|
64
|
-
# validator.allowable_values.each do |value|
|
|
65
|
-
# expect { instance.priority = value }.not_to raise_error
|
|
66
|
-
# end
|
|
67
93
|
end
|
|
68
94
|
end
|
|
69
95
|
|
|
70
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "metadata"' do
|
|
71
97
|
it 'should work' do
|
|
72
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
99
|
end
|
|
@@ -79,7 +105,37 @@ describe Zyphr::SendPushRequest do
|
|
|
79
105
|
end
|
|
80
106
|
end
|
|
81
107
|
|
|
82
|
-
describe 'test attribute "
|
|
108
|
+
describe 'test attribute "subscriber_id"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
describe 'test attribute "subscriber_external_id"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
describe 'test attribute "category"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
describe 'test attribute "force"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
describe 'test attribute "send_at"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
describe 'test attribute "delay"' do
|
|
83
139
|
it 'should work' do
|
|
84
140
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
141
|
end
|
|
@@ -33,7 +33,13 @@ describe Zyphr::WaaSApplication do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "account_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 "project_id"' do
|
|
37
43
|
it 'should work' do
|
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
45
|
end
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for Zyphr::
|
|
17
|
+
# Unit tests for Zyphr::WebhookAccountMetricsResponse
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe Zyphr::
|
|
21
|
-
let(:instance) { Zyphr::
|
|
20
|
+
describe Zyphr::WebhookAccountMetricsResponse do
|
|
21
|
+
let(:instance) { Zyphr::WebhookAccountMetricsResponse.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of WebhookAccountMetricsResponse' do
|
|
24
|
+
it 'should create an instance of WebhookAccountMetricsResponse' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(Zyphr::
|
|
26
|
+
#expect(instance).to be_instance_of(Zyphr::WebhookAccountMetricsResponse)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|