pike13 0.1.3 → 0.1.4
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/CHANGELOG.md +11 -0
- data/README.md +6 -1
- data/lib/pike13/api/v2/desk/event.rb +2 -2
- data/lib/pike13/api/v2/desk/person.rb +2 -2
- data/lib/pike13/api/v2/desk/visit.rb +0 -5
- data/lib/pike13/api/v2/front/event.rb +2 -2
- data/lib/pike13/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ecda21167ab9648a9c5cc963c84b109fec1de1b72f6501e479a6121be976866
|
|
4
|
+
data.tar.gz: 6f26de3022a6186ecb1c2c6d10a3f8b2276b9fe2aa9ef112cc1b0b2972ae6d93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9cb41a2cbc57602bb5bb18ad352eacd783f117c721502675350059e98fb790b3da72f07e8ad3d5fc80f247cb7da8feaaffb160ae64f9bf0dc755126f7ff522d
|
|
7
|
+
data.tar.gz: dec61801a5cdc486f5e467b1978719132d467961d41638020fd658def9347dfcd4c2f34a1c0cfad1c7fd941fd63765a2b697ecd397bba5a837ec87d394f477d7
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.4] - 2025-11-18
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **Enhanced Event and People list methods**: Added support for query parameters in `all` methods
|
|
12
|
+
- `Pike13::Desk::Event.all(**params)` now accepts `from`, `to`, `ids`, `service_ids` parameters
|
|
13
|
+
- `Pike13::Desk::Person.all(**params)` now accepts `created_since`, `updated_since`, `is_member`, `include_relationships`, `include_balances`, `sort` parameters
|
|
14
|
+
- `Pike13::Front::Event.all(**params)` now accepts `from`, `to`, `ids`, `service_ids` parameters
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- **Desk::Visit**: Removed non-existent `all` method that referenced an unsupported `/desk/visits` list endpoint. The Pike13 API v2 only supports individual visit operations via find, create, update, and destroy methods.
|
|
18
|
+
|
|
8
19
|
## [0.1.3] - 2025-11-13
|
|
9
20
|
|
|
10
21
|
### Fixed
|
data/README.md
CHANGED
|
@@ -117,6 +117,8 @@ Full staff interface with read/write access to all resources.
|
|
|
117
117
|
|
|
118
118
|
```ruby
|
|
119
119
|
Pike13::Desk::Person.all # List all people
|
|
120
|
+
Pike13::Desk::Person.all(is_member: true, include_balances: true) # Filter with parameters
|
|
121
|
+
Pike13::Desk::Person.all(created_since: "2024-01-01", sort: "-updated_at") # Date and sorting
|
|
120
122
|
Pike13::Desk::Person.find(123) # Find a person
|
|
121
123
|
Pike13::Desk::Person.me # Get authenticated user
|
|
122
124
|
Pike13::Desk::Person.search("john") # Search people
|
|
@@ -139,6 +141,8 @@ Pike13::Desk::Business.franchisees
|
|
|
139
141
|
|
|
140
142
|
```ruby
|
|
141
143
|
Pike13::Desk::Event.all # List events
|
|
144
|
+
Pike13::Desk::Event.all(from: "2024-01-01", to: "2024-12-31", service_ids: "1,2,3") # Filter with parameters
|
|
145
|
+
Pike13::Desk::Event.all(ids: "100,200,300") # Filter by specific event IDs
|
|
142
146
|
Pike13::Desk::Event.find(100) # Find event
|
|
143
147
|
Pike13::Desk::EventOccurrence.all(from: "2025-01-01", to: "2025-01-31")
|
|
144
148
|
Pike13::Desk::EventOccurrence.find(789) # Find occurrence
|
|
@@ -198,7 +202,6 @@ Pike13::Desk::Booking.destroy_lease(123, 456)
|
|
|
198
202
|
#### Visits
|
|
199
203
|
|
|
200
204
|
```ruby
|
|
201
|
-
Pike13::Desk::Visit.all # List all visits
|
|
202
205
|
Pike13::Desk::Visit.find(456) # Find visit
|
|
203
206
|
Pike13::Desk::Visit.summary(person_id: 123) # Get visit summary for a person
|
|
204
207
|
```
|
|
@@ -321,6 +324,8 @@ Pike13::Front::Person.me # Get authenticated client user (o
|
|
|
321
324
|
|
|
322
325
|
```ruby
|
|
323
326
|
Pike13::Front::Event.all # List events
|
|
327
|
+
Pike13::Front::Event.all(from: "2024-01-01", to: "2024-12-31", service_ids: "1,2,3") # Filter with parameters
|
|
328
|
+
Pike13::Front::Event.all(ids: "100,200,300") # Filter by specific event IDs
|
|
324
329
|
Pike13::Front::Event.find(100) # Find event
|
|
325
330
|
Pike13::Front::EventOccurrence.all(from: "2025-01-01", to: "2025-01-31")
|
|
326
331
|
Pike13::Front::EventOccurrence.find(789) # Find occurrence
|
data/lib/pike13/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pike13
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juan Huttemann
|
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
140
140
|
- !ruby/object:Gem::Version
|
|
141
141
|
version: '0'
|
|
142
142
|
requirements: []
|
|
143
|
-
rubygems_version: 3.
|
|
143
|
+
rubygems_version: 3.6.9
|
|
144
144
|
specification_version: 4
|
|
145
145
|
summary: Ruby client for the Pike13 API
|
|
146
146
|
test_files: []
|