@@ -11192,7 +11192,7 @@ types:
1119211192 maxLength: 255
1119311193 access: read-only
1119411194 name:
11195- type: string
11195+ type: optional< string>
1119611196 docs: The name of the segment.
1119711197 access: read-only
1119811198 created_at:
@@ -20678,7 +20678,7 @@ types:
2067820678 Events](https://developer.squareup.com/docs/loyalty-api/loyalty-events).
2067920679 properties:
2068020680 id:
20681- type: string
20681+ type: optional< string>
2068220682 docs: The Square-assigned ID of the loyalty event.
2068320683 validation:
2068420684 minLength: 1
@@ -20689,7 +20689,7 @@ types:
2068920689 The type of the loyalty event.
2069020690 See [LoyaltyEventType](#type-loyaltyeventtype) for possible values
2069120691 created_at:
20692- type: string
20692+ type: optional< string>
2069320693 docs: The timestamp when the event was created, in RFC 3339 format.
2069420694 validation:
2069520695 minLength: 1
@@ -20710,7 +20710,7 @@ types:
2071020710 type: optional<LoyaltyEventAdjustPoints>
2071120711 docs: Provides metadata when the event `type` is `ADJUST_POINTS`.
2071220712 loyalty_account_id:
20713- type: string
20713+ type: optional< string>
2071420714 docs: >-
2071520715 The ID of the [loyalty account](entity:LoyaltyAccount) associated with
2071620716 the event.
@@ -20785,11 +20785,11 @@ types:
2078520785 maxLength: 255
2078620786 access: read-only
2078720787 points:
20788- type: integer
20788+ type: optional< integer>
2078920789 docs: The number of points earned by the event.
2079020790 access: read-only
2079120791 order_id:
20792- type: string
20792+ type: optional< string>
2079320793 docs: >-
2079420794 The ID of the [order](entity:Order) for which the buyer earned the
2079520795 promotion points.
@@ -20826,7 +20826,7 @@ types:
2082620826 docs: Provides metadata when the event `type` is `CREATE_REWARD`.
2082720827 properties:
2082820828 loyalty_program_id:
20829- type: string
20829+ type: optional< string>
2083020830 docs: The ID of the [loyalty program](entity:LoyaltyProgram).
2083120831 validation:
2083220832 minLength: 1
@@ -20843,7 +20843,7 @@ types:
2084320843 maxLength: 36
2084420844 access: read-only
2084520845 points:
20846- type: integer
20846+ type: optional< integer>
2084720847 docs: The loyalty points used to create the reward.
2084820848 access: read-only
2084920849 source:
@@ -20910,7 +20910,7 @@ types:
2091020910 docs: Provides metadata when the event `type` is `DELETE_REWARD`.
2091120911 properties:
2091220912 loyalty_program_id:
20913- type: string
20913+ type: optional< string>
2091420914 docs: The ID of the [loyalty program](entity:LoyaltyProgram).
2091520915 validation:
2091620916 minLength: 1
@@ -20925,7 +20925,7 @@ types:
2092520925 maxLength: 36
2092620926 access: read-only
2092720927 points:
20928- type: integer
20928+ type: optional< integer>
2092920929 docs: The number of points returned to the loyalty account.
2093020930 access: read-only
2093120931 source:
@@ -20934,7 +20934,7 @@ types:
2093420934 docs: Provides metadata when the event `type` is `EXPIRE_POINTS`.
2093520935 properties:
2093620936 loyalty_program_id:
20937- type: string
20937+ type: optional< string>
2093820938 docs: >-
2093920939 The Square-assigned ID of the [loyalty
2094020940 program](entity:LoyaltyProgram).
@@ -21009,7 +21009,7 @@ types:
2100921009 docs: Provides metadata when the event `type` is `OTHER`.
2101021010 properties:
2101121011 loyalty_program_id:
21012- type: string
21012+ type: optional< string>
2101321013 docs: >-
2101421014 The Square-assigned ID of the [loyalty
2101521015 program](entity:LoyaltyProgram).
@@ -21034,7 +21034,7 @@ types:
2103421034 docs: Provides metadata when the event `type` is `REDEEM_REWARD`.
2103521035 properties:
2103621036 loyalty_program_id:
21037- type: string
21037+ type: optional< string>
2103821038 docs: The ID of the [loyalty program](entity:LoyaltyProgram).
2103921039 validation:
2104021040 minLength: 1
0 commit comments