@@ -11192,7 +11192,7 @@ types:
11192
11192
maxLength: 255
11193
11193
access: read-only
11194
11194
name:
11195
- type: string
11195
+ type: optional< string>
11196
11196
docs: The name of the segment.
11197
11197
access: read-only
11198
11198
created_at:
@@ -20678,7 +20678,7 @@ types:
20678
20678
Events](https://developer.squareup.com/docs/loyalty-api/loyalty-events).
20679
20679
properties:
20680
20680
id:
20681
- type: string
20681
+ type: optional< string>
20682
20682
docs: The Square-assigned ID of the loyalty event.
20683
20683
validation:
20684
20684
minLength: 1
@@ -20689,7 +20689,7 @@ types:
20689
20689
The type of the loyalty event.
20690
20690
See [LoyaltyEventType](#type-loyaltyeventtype) for possible values
20691
20691
created_at:
20692
- type: string
20692
+ type: optional< string>
20693
20693
docs: The timestamp when the event was created, in RFC 3339 format.
20694
20694
validation:
20695
20695
minLength: 1
@@ -20710,7 +20710,7 @@ types:
20710
20710
type: optional<LoyaltyEventAdjustPoints>
20711
20711
docs: Provides metadata when the event `type` is `ADJUST_POINTS`.
20712
20712
loyalty_account_id:
20713
- type: string
20713
+ type: optional< string>
20714
20714
docs: >-
20715
20715
The ID of the [loyalty account](entity:LoyaltyAccount) associated with
20716
20716
the event.
@@ -20785,11 +20785,11 @@ types:
20785
20785
maxLength: 255
20786
20786
access: read-only
20787
20787
points:
20788
- type: integer
20788
+ type: optional< integer>
20789
20789
docs: The number of points earned by the event.
20790
20790
access: read-only
20791
20791
order_id:
20792
- type: string
20792
+ type: optional< string>
20793
20793
docs: >-
20794
20794
The ID of the [order](entity:Order) for which the buyer earned the
20795
20795
promotion points.
@@ -20826,7 +20826,7 @@ types:
20826
20826
docs: Provides metadata when the event `type` is `CREATE_REWARD`.
20827
20827
properties:
20828
20828
loyalty_program_id:
20829
- type: string
20829
+ type: optional< string>
20830
20830
docs: The ID of the [loyalty program](entity:LoyaltyProgram).
20831
20831
validation:
20832
20832
minLength: 1
@@ -20843,7 +20843,7 @@ types:
20843
20843
maxLength: 36
20844
20844
access: read-only
20845
20845
points:
20846
- type: integer
20846
+ type: optional< integer>
20847
20847
docs: The loyalty points used to create the reward.
20848
20848
access: read-only
20849
20849
source:
@@ -20910,7 +20910,7 @@ types:
20910
20910
docs: Provides metadata when the event `type` is `DELETE_REWARD`.
20911
20911
properties:
20912
20912
loyalty_program_id:
20913
- type: string
20913
+ type: optional< string>
20914
20914
docs: The ID of the [loyalty program](entity:LoyaltyProgram).
20915
20915
validation:
20916
20916
minLength: 1
@@ -20925,7 +20925,7 @@ types:
20925
20925
maxLength: 36
20926
20926
access: read-only
20927
20927
points:
20928
- type: integer
20928
+ type: optional< integer>
20929
20929
docs: The number of points returned to the loyalty account.
20930
20930
access: read-only
20931
20931
source:
@@ -20934,7 +20934,7 @@ types:
20934
20934
docs: Provides metadata when the event `type` is `EXPIRE_POINTS`.
20935
20935
properties:
20936
20936
loyalty_program_id:
20937
- type: string
20937
+ type: optional< string>
20938
20938
docs: >-
20939
20939
The Square-assigned ID of the [loyalty
20940
20940
program](entity:LoyaltyProgram).
@@ -21009,7 +21009,7 @@ types:
21009
21009
docs: Provides metadata when the event `type` is `OTHER`.
21010
21010
properties:
21011
21011
loyalty_program_id:
21012
- type: string
21012
+ type: optional< string>
21013
21013
docs: >-
21014
21014
The Square-assigned ID of the [loyalty
21015
21015
program](entity:LoyaltyProgram).
@@ -21034,7 +21034,7 @@ types:
21034
21034
docs: Provides metadata when the event `type` is `REDEEM_REWARD`.
21035
21035
properties:
21036
21036
loyalty_program_id:
21037
- type: string
21037
+ type: optional< string>
21038
21038
docs: The ID of the [loyalty program](entity:LoyaltyProgram).
21039
21039
validation:
21040
21040
minLength: 1
0 commit comments