Skip to content

Commit ccce624

Browse files
Update data models (#34)
1 parent dd9197f commit ccce624

5 files changed

Lines changed: 6 additions & 4 deletions

File tree

lib/openactive/enums/order_item_status.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class OrderItemStatus < TypesafeEnum::Base
77
new :CustomerCancelled, "https://openactive.io/CustomerCancelled"
88
new :OrderItemConfirmed, "https://openactive.io/OrderItemConfirmed"
99
new :CustomerAttended, "https://openactive.io/CustomerAttended"
10+
new :CustomerAbsent, "https://openactive.io/CustomerAbsent"
1011
end
1112
end
1213
end

lib/openactive/enums/test_opportunity_criteria_enumeration.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ module Enums
66
# An enumeration of test opportunity criteria to which an opportunity must conform.
77
class TestOpportunityCriteriaEnumeration < TypesafeEnum::Base
88
new :TestOpportunityBookable, "https://openactive.io/test-interface#TestOpportunityBookable"
9-
new :TestOpportunityOpenBookingNotAllowed, "https://openactive.io/test-interface#TestOpportunityOpenBookingNotAllowed"
9+
new :TestOpportunityBookableInPast, "https://openactive.io/test-interface#TestOpportunityBookableInPast"
1010
new :TestOpportunityBookableNoSpaces, "https://openactive.io/test-interface#TestOpportunityBookableNoSpaces"
11+
new :TestOpportunityBookableOneSpace, "https://openactive.io/test-interface#TestOpportunityBookableOneSpace"
1112
new :TestOpportunityBookableFiveSpaces, "https://openactive.io/test-interface#TestOpportunityBookableFiveSpaces"
1213
new :TestOpportunityBookableFree, "https://openactive.io/test-interface#TestOpportunityBookableFree"
1314
new :TestOpportunityBookableNonFree, "https://openactive.io/test-interface#TestOpportunityBookableNonFree"

lib/openactive/files_index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,7 @@
902902
"/models/seller_amend_order_proposal_simulate_action.rb",
903903
"/models/seller_reject_order_proposal_simulate_action.rb",
904904
"/models/seller_requested_cancellation_simulate_action.rb",
905+
"/models/seller_requested_cancellation_with_message_simulate_action.rb",
905906
"/models/schema/share_action.rb",
906907
"/models/schema/shoe_store.rb",
907908
"/models/short_answer_form_field_specification.rb",
@@ -946,7 +947,6 @@
946947
"/models/schema/prepend_action.rb",
947948
"/models/schema/radiation_therapy.rb",
948949
"/models/schema/rsvp_action.rb",
949-
"/models/seller_requested_cancellation_with_message_simulate_action.rb",
950950
"/models/schema/ski_resort.rb",
951951
"/models/tax_charge_specification.rb",
952952
"/models/schema/video_gallery.rb",

lib/openactive/models/seller_requested_cancellation_with_message_simulate_action.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module OpenActive
22
module Models
33
# [NOTICE: This class is part of the Open Booking API Test Interface, and MUST NOT be used in production.]
44
# This type is derived from https://schema.org/Action, which means that any of this type's properties within schema.org may also be used.
5-
class SellerRequestedCancellationWithMessageSimulateAction < ::OpenActive::Models::SellerRequestedCancellationSimulateAction
5+
class SellerRequestedCancellationWithMessageSimulateAction < ::OpenActive::Models::OpenBookingSimulateAction
66
# @!attribute type
77
# @return [String]
88
def type

lib/openactive/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module OpenActive
2-
VERSION = "0.2.0".freeze
2+
VERSION = "0.2.1".freeze
33
end

0 commit comments

Comments
 (0)