@@ -11325,7 +11325,7 @@ types:
1132511325 maxLength: 255
1132611326 access: read-only
1132711327 name:
11328- type: string
11328+ type: optional< string>
1132911329 docs: The name of the segment.
1133011330 access: read-only
1133111331 created_at:
@@ -20811,7 +20811,7 @@ types:
2081120811 Events](https://developer.squareup.com/docs/loyalty-api/loyalty-events).
2081220812 properties:
2081320813 id:
20814- type: string
20814+ type: optional< string>
2081520815 docs: The Square-assigned ID of the loyalty event.
2081620816 validation:
2081720817 minLength: 1
@@ -20822,7 +20822,7 @@ types:
2082220822 The type of the loyalty event.
2082320823 See [LoyaltyEventType](#type-loyaltyeventtype) for possible values
2082420824 created_at:
20825- type: string
20825+ type: optional< string>
2082620826 docs: The timestamp when the event was created, in RFC 3339 format.
2082720827 validation:
2082820828 minLength: 1
@@ -20843,7 +20843,7 @@ types:
2084320843 type: optional<LoyaltyEventAdjustPoints>
2084420844 docs: Provides metadata when the event `type` is `ADJUST_POINTS`.
2084520845 loyalty_account_id:
20846- type: string
20846+ type: optional< string>
2084720847 docs: >-
2084820848 The ID of the [loyalty account](entity:LoyaltyAccount) associated with
2084920849 the event.
@@ -20918,11 +20918,11 @@ types:
2091820918 maxLength: 255
2091920919 access: read-only
2092020920 points:
20921- type: integer
20921+ type: optional< integer>
2092220922 docs: The number of points earned by the event.
2092320923 access: read-only
2092420924 order_id:
20925- type: string
20925+ type: optional< string>
2092620926 docs: >-
2092720927 The ID of the [order](entity:Order) for which the buyer earned the
2092820928 promotion points.
@@ -20959,7 +20959,7 @@ types:
2095920959 docs: Provides metadata when the event `type` is `CREATE_REWARD`.
2096020960 properties:
2096120961 loyalty_program_id:
20962- type: string
20962+ type: optional< string>
2096320963 docs: The ID of the [loyalty program](entity:LoyaltyProgram).
2096420964 validation:
2096520965 minLength: 1
@@ -20976,7 +20976,7 @@ types:
2097620976 maxLength: 36
2097720977 access: read-only
2097820978 points:
20979- type: integer
20979+ type: optional< integer>
2098020980 docs: The loyalty points used to create the reward.
2098120981 access: read-only
2098220982 source:
@@ -21043,7 +21043,7 @@ types:
2104321043 docs: Provides metadata when the event `type` is `DELETE_REWARD`.
2104421044 properties:
2104521045 loyalty_program_id:
21046- type: string
21046+ type: optional< string>
2104721047 docs: The ID of the [loyalty program](entity:LoyaltyProgram).
2104821048 validation:
2104921049 minLength: 1
@@ -21058,7 +21058,7 @@ types:
2105821058 maxLength: 36
2105921059 access: read-only
2106021060 points:
21061- type: integer
21061+ type: optional< integer>
2106221062 docs: The number of points returned to the loyalty account.
2106321063 access: read-only
2106421064 source:
@@ -21067,7 +21067,7 @@ types:
2106721067 docs: Provides metadata when the event `type` is `EXPIRE_POINTS`.
2106821068 properties:
2106921069 loyalty_program_id:
21070- type: string
21070+ type: optional< string>
2107121071 docs: >-
2107221072 The Square-assigned ID of the [loyalty
2107321073 program](entity:LoyaltyProgram).
@@ -21142,7 +21142,7 @@ types:
2114221142 docs: Provides metadata when the event `type` is `OTHER`.
2114321143 properties:
2114421144 loyalty_program_id:
21145- type: string
21145+ type: optional< string>
2114621146 docs: >-
2114721147 The Square-assigned ID of the [loyalty
2114821148 program](entity:LoyaltyProgram).
@@ -21167,7 +21167,7 @@ types:
2116721167 docs: Provides metadata when the event `type` is `REDEEM_REWARD`.
2116821168 properties:
2116921169 loyalty_program_id:
21170- type: string
21170+ type: optional< string>
2117121171 docs: The ID of the [loyalty program](entity:LoyaltyProgram).
2117221172 validation:
2117321173 minLength: 1
0 commit comments