calendly 0.8.2 → 0.8.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c72f1c342babfaaadb025cafe9738afd5883312c08b00cc1d2631152539c3a5c
4
- data.tar.gz: c1e14541f08bfa9f3aaf77cb6a9a6cfb063141775329f1f5dd3acdbe0058dd67
3
+ metadata.gz: 706fe58387318797ed3fed0c46c629a52eaa9b3ef2b22ed160bbbb203e8b7ad8
4
+ data.tar.gz: 1329d04a6eeeb29da76a83b0b36e716368df61766055ea11684552d337526617
5
5
  SHA512:
6
- metadata.gz: 766d16471b9810138706a85cb964341ce8763a3cb79d0e30506221501d61208655fb5ab594d7793b65bb67fbe3a5d2c44759aae8d245ecfb0563f0d24858ad14
7
- data.tar.gz: 705a7fd917f0502640092c10f8776a572e68cda2824c4fa3ab3df9e2664ea410486ccb6a12db5eeaee08e6c6dc85f7852a7d81ab34a849589f683c436799674d
6
+ metadata.gz: 6b14cc3eb57722550794456b53405bdad576b426218beca539b8c92949e060ec75c9374d17b5fa3aea2835d863c57483bcf0a51bbe9c931ed35b1c61e259c709
7
+ data.tar.gz: 9a526d1719c5eca1f8bf43823b95e22307f650e5b5a833cf93caffb40c1d2b7094f9c9e452dc3e0dc3164e2fba645b4489027d5f6a0b20a52bc01af7c9541af7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.8.3 - 2022-03-08
4
+
5
+ - support for filtering Event Types by 'active' or 'inactive' status. (#43)
6
+
3
7
  ## 0.8.2 - 2022-02-26
4
8
 
5
9
  - support cancellation field in the response of scheduled event endpoints. (#41)
@@ -107,6 +107,7 @@ module Calendly
107
107
  #
108
108
  # @param [String] org_uri the specified organization (organization's uri).
109
109
  # @param [Hash] options the optional request parameters. Optional.
110
+ # @option options [Boolean] :active Return only active event types if true, only inactive if false, or all event types if this parameter is omitted.
110
111
  # @option options [Integer] :count Number of rows to return.
111
112
  # @option options [String] :page_token Pass this to get the next portion of collection.
112
113
  # @option options [String] :sort Order results by the specified field and direction. Accepts comma-separated list of {field}:{direction} values.
@@ -119,7 +120,7 @@ module Calendly
119
120
  def event_types(org_uri, options: nil)
120
121
  check_not_empty org_uri, 'org_uri'
121
122
 
122
- opts_keys = %i[count page_token sort]
123
+ opts_keys = %i[active count page_token sort]
123
124
  params = {organization: org_uri}
124
125
  params = merge_options options, opts_keys, params
125
126
  body = request :get, 'event_types', params: params
@@ -134,6 +135,7 @@ module Calendly
134
135
  #
135
136
  # @param [String] user_uri the specified user (user's uri).
136
137
  # @param [Hash] options the optional request parameters. Optional.
138
+ # @option options [Boolean] :active Return only active event types if true, only inactive if false, or all event types if this parameter is omitted.
137
139
  # @option options [Integer] :count Number of rows to return.
138
140
  # @option options [String] :page_token Pass this to get the next portion of collection.
139
141
  # @option options [String] :sort Order results by the specified field and direction. Accepts comma-separated list of {field}:{direction} values.
@@ -146,7 +148,7 @@ module Calendly
146
148
  def event_types_by_user(user_uri, options: nil)
147
149
  check_not_empty user_uri, 'user_uri'
148
150
 
149
- opts_keys = %i[count page_token sort]
151
+ opts_keys = %i[active count page_token sort]
150
152
  params = {user: user_uri}
151
153
  params = merge_options options, opts_keys, params
152
154
  body = request :get, 'event_types', params: params
@@ -85,6 +85,7 @@ module Calendly
85
85
  # Returns all Event Types associated with self.
86
86
  #
87
87
  # @param [Hash] options the optional request parameters. Optional.
88
+ # @option options [Boolean] :active Return only active event types if true, only inactive if false, or all event types if this parameter is omitted.
88
89
  # @option options [Integer] :count Number of rows to return.
89
90
  # @option options [String] :page_token Pass this to get the next portion of collection.
90
91
  # @option options [String] :sort Order results by the specified field and direction.
@@ -92,6 +92,7 @@ module Calendly
92
92
  # Returns all Event Types associated with self.
93
93
  #
94
94
  # @param [Hash] options the optional request parameters. Optional.
95
+ # @option options [Boolean] :active Return only active event types if true, only inactive if false, or all event types if this parameter is omitted.
95
96
  # @option options [Integer] :count Number of rows to return.
96
97
  # @option options [String] :page_token Pass this to get the next portion of collection.
97
98
  # @option options [String] :sort Order results by the specified field and direction.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Calendly
4
- VERSION = '0.8.2'
4
+ VERSION = '0.8.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calendly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenji Koshikawa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-26 00:00:00.000000000 Z
11
+ date: 2022-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -161,7 +161,7 @@ metadata:
161
161
  homepage_uri: https://github.com/koshilife/calendly-api-ruby-client
162
162
  source_code_uri: https://github.com/koshilife/calendly-api-ruby-client
163
163
  changelog_uri: https://github.com/koshilife/calendly-api-ruby-client/blob/master/CHANGELOG.md
164
- documentation_uri: https://www.rubydoc.info/gems/calendly/0.8.2
164
+ documentation_uri: https://www.rubydoc.info/gems/calendly/0.8.3
165
165
  post_install_message:
166
166
  rdoc_options: []
167
167
  require_paths: