seatsio 53.4.0 → 53.6.0
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/Gemfile.lock +1 -1
- data/lib/seatsio/domain.rb +9 -2
- data/lib/seatsio/version.rb +1 -1
- data/lib/seatsio/workspaces.rb +4 -2
- 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: 4dff9873d7fe4bd1b8edf033a3bfb1adefe04d7f197800161337457c2a408d7c
|
|
4
|
+
data.tar.gz: c03ee95f1efb429a89ad1d9dcf596f41d67bb145d53566ee9e2e0be9414ef2a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1878d866b77617786d3675059c85363f3a6e3526d2f69623a680e0aeb8e7649f905a858bd657d8f6be9787d7b806195054a627266075aa7c314bddb712566ad3
|
|
7
|
+
data.tar.gz: 71f9052b3f22f10e99d9f55fa7bd50f379a435bbaaf00cbbfa85ecc93184855904a43827735ed7ba06baac790a5dd915fc43f00b38caaa3c3f470ca0acd4abe4
|
data/Gemfile.lock
CHANGED
data/lib/seatsio/domain.rb
CHANGED
|
@@ -383,7 +383,7 @@ module Seatsio
|
|
|
383
383
|
class ChartObjectInfo
|
|
384
384
|
|
|
385
385
|
attr_reader :label, :labels, :ids, :category_key, :category_label, :section, :entrance, :capacity, :object_type,
|
|
386
|
-
:area_type, :left_neighbour, :right_neighbour, :book_as_a_whole, :distance_to_focal_point, :num_seats, :is_accessible,
|
|
386
|
+
:area_type, :table_type, :left_neighbour, :right_neighbour, :book_as_a_whole, :distance_to_focal_point, :num_seats, :is_accessible,
|
|
387
387
|
:is_companion_seat, :has_lift_up_armrests, :is_hearing_impaired, :is_semi_ambulatory_seat, :has_sign_language_interpretation,
|
|
388
388
|
:is_plus_size, :has_restricted_view, :zone, :floor
|
|
389
389
|
|
|
@@ -398,6 +398,7 @@ module Seatsio
|
|
|
398
398
|
@capacity = data['capacity']
|
|
399
399
|
@object_type = data['objectType']
|
|
400
400
|
@area_type = data['areaType']
|
|
401
|
+
@table_type = data['tableType']
|
|
401
402
|
@left_neighbour = data['leftNeighbour']
|
|
402
403
|
@right_neighbour = data['rightNeighbour']
|
|
403
404
|
@book_as_a_whole = data['bookAsAWhole']
|
|
@@ -458,6 +459,11 @@ module Seatsio
|
|
|
458
459
|
end
|
|
459
460
|
end
|
|
460
461
|
|
|
462
|
+
class ForSaleMode
|
|
463
|
+
RATE_LIMITED = 'RATE_LIMITED'
|
|
464
|
+
UNLIMITED_BILLABLE = 'UNLIMITED_BILLABLE'
|
|
465
|
+
end
|
|
466
|
+
|
|
461
467
|
class StatusChangeType
|
|
462
468
|
CHANGE_STATUS_TO = 'CHANGE_STATUS_TO'
|
|
463
469
|
RELEASE = 'RELEASE'
|
|
@@ -472,7 +478,7 @@ module Seatsio
|
|
|
472
478
|
RESALE = 'resale'
|
|
473
479
|
|
|
474
480
|
attr_reader :labels, :ids, :label, :order_id, :extra_data, :capacity, :status,
|
|
475
|
-
:category_key, :entrance, :object_type, :area_type, :hold_token, :category_label,
|
|
481
|
+
:category_key, :entrance, :object_type, :area_type, :table_type, :hold_token, :category_label,
|
|
476
482
|
:ticket_type, :num_booked, :num_free, :num_held, :for_sale, :section,
|
|
477
483
|
:is_accessible, :is_companion_seat, :has_lift_up_armrests, :is_hearing_impaired, :is_semi_ambulatory_seat,
|
|
478
484
|
:has_sign_language_interpretation, :is_plus_size, :has_restricted_view, :displayed_object_type, :parent_displayed_object_type,
|
|
@@ -500,6 +506,7 @@ module Seatsio
|
|
|
500
506
|
@capacity = data['capacity']
|
|
501
507
|
@object_type = data['objectType']
|
|
502
508
|
@area_type = data['areaType']
|
|
509
|
+
@table_type = data['tableType']
|
|
503
510
|
@extra_data = data['extraData']
|
|
504
511
|
@is_accessible = data['isAccessible']
|
|
505
512
|
@is_companion_seat = data['isCompanionSeat']
|
data/lib/seatsio/version.rb
CHANGED
data/lib/seatsio/workspaces.rb
CHANGED
|
@@ -12,18 +12,20 @@ module Seatsio
|
|
|
12
12
|
@http_client = http_client
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
def create(name:, is_test: nil)
|
|
15
|
+
def create(name:, is_test: nil, for_sale_mode: nil)
|
|
16
16
|
body = {}
|
|
17
17
|
body['name'] = name
|
|
18
18
|
body['isTest'] = is_test if is_test
|
|
19
|
+
body['forSaleMode'] = for_sale_mode if for_sale_mode
|
|
19
20
|
|
|
20
21
|
response = @http_client.post("workspaces", body)
|
|
21
22
|
Workspace.new(response)
|
|
22
23
|
end
|
|
23
24
|
|
|
24
|
-
def update(key:, name:)
|
|
25
|
+
def update(key:, name:, for_sale_mode: nil)
|
|
25
26
|
body = {}
|
|
26
27
|
body['name'] = name
|
|
28
|
+
body['forSaleMode'] = for_sale_mode if for_sale_mode
|
|
27
29
|
@http_client.post("workspaces/#{key}", body)
|
|
28
30
|
end
|
|
29
31
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: seatsio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 53.
|
|
4
|
+
version: 53.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seats.io
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|