@wix/auto_sdk_loyalty_earning-rules 1.0.7 → 1.0.9
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.
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.d.ts +28 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js +39 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js.map +1 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.d.ts +48 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js +353 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js.map +1 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.d.ts +28 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js +180 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js.map +1 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.d.ts +93 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js +97 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js.map +1 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.d.ts +942 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js +151 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js.map +1 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.d.ts +1280 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js +514 -0
- package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.d.ts +28 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js +28 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js.map +1 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.d.ts +48 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js +342 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js.map +1 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.d.ts +28 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js +146 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js.map +1 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.d.ts +93 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js +78 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js.map +1 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.d.ts +942 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js +148 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js.map +1 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.d.ts +1280 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js +480 -0
- package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.d.ts +28 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js +39 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js.map +1 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.d.ts +48 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js +353 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js.map +1 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.d.ts +28 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js +180 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js.map +1 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.d.ts +93 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js +97 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js.map +1 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.d.ts +942 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js +151 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js.map +1 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.d.ts +1285 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js +514 -0
- package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.d.ts +28 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js +28 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js.map +1 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.d.ts +48 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js +342 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js.map +1 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.d.ts +28 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js +146 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js.map +1 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.d.ts +93 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js +78 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js.map +1 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.d.ts +942 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js +148 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js.map +1 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.d.ts +1285 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js +480 -0
- package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js.map +1 -0
- package/package.json +13 -14
- package/build/index.d.mts +0 -112
- package/build/index.d.ts +0 -112
- package/build/index.js +0 -732
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -694
- package/build/index.mjs.map +0 -1
- package/build/internal/index.d.mts +0 -112
- package/build/internal/index.d.ts +0 -112
- package/build/internal/index.js +0 -732
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -694
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/loyalty-v1-loyalty-earning-rule-earning-rules.universal-DOjaPKYu.d.mts +0 -643
- package/build/internal/loyalty-v1-loyalty-earning-rule-earning-rules.universal-DOjaPKYu.d.ts +0 -643
- package/build/internal/meta.d.mts +0 -322
- package/build/internal/meta.d.ts +0 -322
- package/build/internal/meta.js +0 -500
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -466
- package/build/internal/meta.mjs.map +0 -1
- package/build/loyalty-v1-loyalty-earning-rule-earning-rules.universal-ByA9SEhi.d.mts +0 -638
- package/build/loyalty-v1-loyalty-earning-rule-earning-rules.universal-ByA9SEhi.d.ts +0 -638
- package/build/meta.d.mts +0 -322
- package/build/meta.d.ts +0 -322
- package/build/meta.js +0 -500
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -466
- package/build/meta.mjs.map +0 -1
package/build/internal/loyalty-v1-loyalty-earning-rule-earning-rules.universal-DOjaPKYu.d.mts
DELETED
|
@@ -1,643 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A loyalty earning rule defines how customers earn points in a loyalty program.
|
|
3
|
-
* You can create rules for different activities, such as making purchases.
|
|
4
|
-
*/
|
|
5
|
-
interface LoyaltyEarningRule extends LoyaltyEarningRuleTypeOneOf {
|
|
6
|
-
/** Fixed amount of points awarded for each qualifying activity. */
|
|
7
|
-
fixedAmount?: FixedAmount;
|
|
8
|
-
/** Points awarded based on a conversion rate formula: `(amount spent) / (money_amount * points)`. */
|
|
9
|
-
conversionRate?: ConversionRate;
|
|
10
|
-
/**
|
|
11
|
-
* Loyalty earning rule ID.
|
|
12
|
-
* @format GUID
|
|
13
|
-
* @readonly
|
|
14
|
-
*/
|
|
15
|
-
_id?: string | null;
|
|
16
|
-
/**
|
|
17
|
-
* ID of the app managing the earning rule. Can be a loyalty app ID or a Wix automations app ID.
|
|
18
|
-
* @format GUID
|
|
19
|
-
*/
|
|
20
|
-
sourceAppId?: string;
|
|
21
|
-
/**
|
|
22
|
-
* ID of the app that triggers point assignment. Examples: Wix Stores, Wix Bookings, Wix Events.
|
|
23
|
-
* @minLength 1
|
|
24
|
-
* @maxLength 80
|
|
25
|
-
*/
|
|
26
|
-
triggerAppId?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Type of activity that triggers point assignment. For example, `wix-restaurants/orderSubmitted` or `birthday`.
|
|
29
|
-
* @minLength 1
|
|
30
|
-
* @maxLength 80
|
|
31
|
-
*/
|
|
32
|
-
triggerActivityType?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Name of the earning rule.
|
|
35
|
-
* @minLength 1
|
|
36
|
-
* @maxLength 50
|
|
37
|
-
*/
|
|
38
|
-
title?: string;
|
|
39
|
-
/** Current status of the earning rule. */
|
|
40
|
-
status?: Status;
|
|
41
|
-
/**
|
|
42
|
-
* Revision number, incremented by 1 each time the earning rule is updated.
|
|
43
|
-
* Pass the latest revision when updating to prevent conflicting changes.
|
|
44
|
-
*/
|
|
45
|
-
revision?: string | null;
|
|
46
|
-
/**
|
|
47
|
-
* Date and time the earning rule was created.
|
|
48
|
-
* @readonly
|
|
49
|
-
*/
|
|
50
|
-
_createdDate?: Date | null;
|
|
51
|
-
/**
|
|
52
|
-
* Date and time the earning rule was last updated.
|
|
53
|
-
* @readonly
|
|
54
|
-
*/
|
|
55
|
-
_updatedDate?: Date | null;
|
|
56
|
-
/**
|
|
57
|
-
* Additional metadata about the earning rule.
|
|
58
|
-
* @readonly
|
|
59
|
-
*/
|
|
60
|
-
metadata?: Metadata;
|
|
61
|
-
}
|
|
62
|
-
/** @oneof */
|
|
63
|
-
interface LoyaltyEarningRuleTypeOneOf {
|
|
64
|
-
/** Fixed amount of points awarded for each qualifying activity. */
|
|
65
|
-
fixedAmount?: FixedAmount;
|
|
66
|
-
/** Points awarded based on a conversion rate formula: `(amount spent) / (money_amount * points)`. */
|
|
67
|
-
conversionRate?: ConversionRate;
|
|
68
|
-
}
|
|
69
|
-
/** Fixed amount type of earning rule. */
|
|
70
|
-
interface FixedAmount {
|
|
71
|
-
/**
|
|
72
|
-
* Fixed amount configurations for each tier.
|
|
73
|
-
* @maxSize 21
|
|
74
|
-
*/
|
|
75
|
-
configs?: FixedAmountConfig[];
|
|
76
|
-
}
|
|
77
|
-
interface FixedAmountConfig {
|
|
78
|
-
/**
|
|
79
|
-
* Tier ID. If empty, the [base tier](https://dev.wix.com/docs/rest/crm/loyalty-program/tiers/introduction#terminology) is used.
|
|
80
|
-
* @format GUID
|
|
81
|
-
* @readonly
|
|
82
|
-
*/
|
|
83
|
-
tierId?: string | null;
|
|
84
|
-
/** Number of points to award. */
|
|
85
|
-
points?: number;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Conversion rate type of earning rule.
|
|
89
|
-
* Customers earn points based on the amount spent.
|
|
90
|
-
* For example, for every $10 spent, a customer might earn 1 point.
|
|
91
|
-
*/
|
|
92
|
-
interface ConversionRate {
|
|
93
|
-
/**
|
|
94
|
-
* Conversion rate configurations for each tier.
|
|
95
|
-
*
|
|
96
|
-
* Points are awarded proportionally to the amount spent.
|
|
97
|
-
*
|
|
98
|
-
* Formula: `(amount spent) / (money_amount * points)`.
|
|
99
|
-
* @maxSize 21
|
|
100
|
-
*/
|
|
101
|
-
configs?: ConversionRateConfig[];
|
|
102
|
-
/**
|
|
103
|
-
* Specifies which field in the Wix automations trigger payload [REST](https://dev.wix.com/docs/rest/business-management/automations/introduction#how-do-automations-work)|[SDK](https://dev.wix.com/docs/sdk/backend-modules/automations/triggered-events/reporting-and-canceling-events) to use for calculating points in conversion rate rules.
|
|
104
|
-
* For example, if set to "priceSummary.totalAmount", the rule uses the total order amount to calculate loyalty points to be awarded.
|
|
105
|
-
* This field is only applicable for automated earning rules.
|
|
106
|
-
*/
|
|
107
|
-
field?: string | null;
|
|
108
|
-
}
|
|
109
|
-
interface ConversionRateConfig {
|
|
110
|
-
/**
|
|
111
|
-
* Tier ID. If empty, the [base tier](https://dev.wix.com/docs/rest/crm/loyalty-program/tiers/introduction) is used.
|
|
112
|
-
* @format GUID
|
|
113
|
-
* @readonly
|
|
114
|
-
*/
|
|
115
|
-
tierId?: string | null;
|
|
116
|
-
/**
|
|
117
|
-
* The amount of money used as a reference for point calculation.
|
|
118
|
-
* Points are awarded proportionally to the amount spent.
|
|
119
|
-
*
|
|
120
|
-
* For example, if set to 10, 1 point is awarded for every 10 units of currency spent (assuming `points` is set to 1).
|
|
121
|
-
*
|
|
122
|
-
* Formula for points is: `(amount spent) / (money_amount * points)`.
|
|
123
|
-
*/
|
|
124
|
-
moneyAmount?: number;
|
|
125
|
-
/**
|
|
126
|
-
* Points given for the specified `money_amount`.
|
|
127
|
-
* Works in conjunction with `money_amount` to define the earning rule.
|
|
128
|
-
*
|
|
129
|
-
* For example: If `money_amount` is 20 and `points` is 10:
|
|
130
|
-
* - Spending 10 units of currency earns 5 points
|
|
131
|
-
* - Spending 20 units of currency earns 10 points
|
|
132
|
-
* - Spending 30 units of currency earns 15 points
|
|
133
|
-
*/
|
|
134
|
-
points?: number;
|
|
135
|
-
}
|
|
136
|
-
declare enum Status {
|
|
137
|
-
/** Status is unknown or not specified. */
|
|
138
|
-
UNKNOWN = "UNKNOWN",
|
|
139
|
-
/** Earning rule is active and can assign points. */
|
|
140
|
-
ACTIVE = "ACTIVE",
|
|
141
|
-
/** Earning rule is paused and can't assign points. */
|
|
142
|
-
PAUSED = "PAUSED"
|
|
143
|
-
}
|
|
144
|
-
interface Metadata {
|
|
145
|
-
/** Whether the earning rule can be deleted. */
|
|
146
|
-
canBeDeleted?: boolean;
|
|
147
|
-
/**
|
|
148
|
-
* Information about the type of custom earning rule.
|
|
149
|
-
* @internal
|
|
150
|
-
*/
|
|
151
|
-
ruleTypeTag?: LoyaltyEarningRuleTypeTag;
|
|
152
|
-
}
|
|
153
|
-
interface LoyaltyEarningRuleTypeTag {
|
|
154
|
-
/** Type of custom earning rule. */
|
|
155
|
-
ruleType?: LoyaltyEarningRuleTypeTagType;
|
|
156
|
-
}
|
|
157
|
-
declare enum LoyaltyEarningRuleTypeTagType {
|
|
158
|
-
/** Type is unknown or not specified. */
|
|
159
|
-
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
160
|
-
/** Earning rule for a customer's birthday. */
|
|
161
|
-
BIRTHDAY = "BIRTHDAY"
|
|
162
|
-
}
|
|
163
|
-
interface EarningRuleDisabled {
|
|
164
|
-
}
|
|
165
|
-
interface CreateLoyaltyEarningRuleRequest {
|
|
166
|
-
/** Earning rule to create. */
|
|
167
|
-
earningRule: LoyaltyEarningRule;
|
|
168
|
-
}
|
|
169
|
-
interface CreateLoyaltyEarningRuleResponse {
|
|
170
|
-
/** Created earning rule. */
|
|
171
|
-
earningRule?: LoyaltyEarningRule;
|
|
172
|
-
}
|
|
173
|
-
interface BulkCreateLoyaltyEarningRulesRequest {
|
|
174
|
-
/**
|
|
175
|
-
* Earning rules to create.
|
|
176
|
-
* @minSize 1
|
|
177
|
-
* @maxSize 100
|
|
178
|
-
*/
|
|
179
|
-
earningRules: LoyaltyEarningRule[];
|
|
180
|
-
}
|
|
181
|
-
interface BulkCreateLoyaltyEarningRulesResponse {
|
|
182
|
-
/** Created earning rules. */
|
|
183
|
-
results?: BulkLoyaltyEarningRuleResult[];
|
|
184
|
-
/** Additional metadata for the created earning rules. */
|
|
185
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
186
|
-
}
|
|
187
|
-
interface BulkLoyaltyEarningRuleResult {
|
|
188
|
-
/** Additional metadata for the created earning rules. */
|
|
189
|
-
itemMetadata?: ItemMetadata;
|
|
190
|
-
/** Created earning rule. */
|
|
191
|
-
item?: LoyaltyEarningRule;
|
|
192
|
-
}
|
|
193
|
-
interface ItemMetadata {
|
|
194
|
-
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
195
|
-
_id?: string | null;
|
|
196
|
-
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
197
|
-
originalIndex?: number;
|
|
198
|
-
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
199
|
-
success?: boolean;
|
|
200
|
-
/** Details about the error in case of failure. */
|
|
201
|
-
error?: ApplicationError;
|
|
202
|
-
}
|
|
203
|
-
interface ApplicationError {
|
|
204
|
-
/** Error code. */
|
|
205
|
-
code?: string;
|
|
206
|
-
/** Description of the error. */
|
|
207
|
-
description?: string;
|
|
208
|
-
/** Data related to the error. */
|
|
209
|
-
data?: Record<string, any> | null;
|
|
210
|
-
}
|
|
211
|
-
interface BulkActionMetadata {
|
|
212
|
-
/** Number of items that were successfully processed. */
|
|
213
|
-
totalSuccesses?: number;
|
|
214
|
-
/** Number of items that couldn't be processed. */
|
|
215
|
-
totalFailures?: number;
|
|
216
|
-
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
217
|
-
undetailedFailures?: number;
|
|
218
|
-
}
|
|
219
|
-
interface CreateCustomLoyaltyEarningRuleRequest {
|
|
220
|
-
/** Type of the custom earning rule. */
|
|
221
|
-
type: Type;
|
|
222
|
-
/** Custom earning rule to create. */
|
|
223
|
-
earningRule?: CustomLoyaltyEarningRule;
|
|
224
|
-
}
|
|
225
|
-
declare enum Type {
|
|
226
|
-
/** Unknown type. This value is not used. */
|
|
227
|
-
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
228
|
-
/** Earning rule for social media. */
|
|
229
|
-
SOCIAL_MEDIA = "SOCIAL_MEDIA",
|
|
230
|
-
/** Earning rule for birthdays. */
|
|
231
|
-
BIRTHDAY = "BIRTHDAY"
|
|
232
|
-
}
|
|
233
|
-
/** Used in CreateCustomLoyaltyEarningRuleRequest */
|
|
234
|
-
interface CustomLoyaltyEarningRule extends CustomLoyaltyEarningRuleTypeOneOf {
|
|
235
|
-
/** Fixed amount of points awarded for each qualifying activity. */
|
|
236
|
-
fixedAmount?: FixedAmount;
|
|
237
|
-
/** Points awarded based on a conversion rate formula: `(amount spent) / (money_amount * points)`. */
|
|
238
|
-
conversionRate?: ConversionRate;
|
|
239
|
-
/**
|
|
240
|
-
* Name of the earning rule.
|
|
241
|
-
* @minLength 1
|
|
242
|
-
* @maxLength 50
|
|
243
|
-
*/
|
|
244
|
-
title?: string;
|
|
245
|
-
}
|
|
246
|
-
/** @oneof */
|
|
247
|
-
interface CustomLoyaltyEarningRuleTypeOneOf {
|
|
248
|
-
/** Fixed amount of points awarded for each qualifying activity. */
|
|
249
|
-
fixedAmount?: FixedAmount;
|
|
250
|
-
/** Points awarded based on a conversion rate formula: `(amount spent) / (money_amount * points)`. */
|
|
251
|
-
conversionRate?: ConversionRate;
|
|
252
|
-
}
|
|
253
|
-
interface CreateCustomLoyaltyEarningRuleResponse {
|
|
254
|
-
/** Created earning rule. */
|
|
255
|
-
earningRule?: LoyaltyEarningRule;
|
|
256
|
-
}
|
|
257
|
-
interface GetLoyaltyEarningRuleRequest {
|
|
258
|
-
/**
|
|
259
|
-
* ID of the earning rule to retrieve.
|
|
260
|
-
* @format GUID
|
|
261
|
-
*/
|
|
262
|
-
_id: string;
|
|
263
|
-
}
|
|
264
|
-
interface GetLoyaltyEarningRuleResponse {
|
|
265
|
-
/** Retrieved earning rule. */
|
|
266
|
-
earningRule?: LoyaltyEarningRule;
|
|
267
|
-
}
|
|
268
|
-
interface UpdateLoyaltyEarningRuleRequest {
|
|
269
|
-
/** Earning rule to update. */
|
|
270
|
-
earningRule: LoyaltyEarningRule;
|
|
271
|
-
}
|
|
272
|
-
interface UpdateLoyaltyEarningRuleResponse {
|
|
273
|
-
/** The updated earning rule. */
|
|
274
|
-
earningRule?: LoyaltyEarningRule;
|
|
275
|
-
}
|
|
276
|
-
interface DeleteLoyaltyEarningRuleRequest {
|
|
277
|
-
/**
|
|
278
|
-
* ID of the earning rule to delete.
|
|
279
|
-
* @format GUID
|
|
280
|
-
*/
|
|
281
|
-
_id: string;
|
|
282
|
-
/**
|
|
283
|
-
* Revision of the earning rule. Incremented by 1 each time the earning rule is updated.
|
|
284
|
-
* Pass the latest revision when updating to prevent conflicting changes.
|
|
285
|
-
*/
|
|
286
|
-
revision?: string;
|
|
287
|
-
}
|
|
288
|
-
interface DeleteLoyaltyEarningRuleResponse {
|
|
289
|
-
}
|
|
290
|
-
interface DeleteAutomationEarningRuleRequest {
|
|
291
|
-
/**
|
|
292
|
-
* ID of the earning rule to delete.
|
|
293
|
-
* @format GUID
|
|
294
|
-
*/
|
|
295
|
-
_id: string;
|
|
296
|
-
}
|
|
297
|
-
interface DeleteAutomationEarningRuleResponse {
|
|
298
|
-
}
|
|
299
|
-
interface ListEarningRulesRequest {
|
|
300
|
-
/** App ID that triggers the point assignment. For example, `9a5d83fd-8570-482e-81ab-cfa88942ee60`. */
|
|
301
|
-
triggerAppId?: string | null;
|
|
302
|
-
/** Type of activity that triggers the point assignment. For example, `restaurants-order-is-pending`. */
|
|
303
|
-
triggerActivityType?: string | null;
|
|
304
|
-
}
|
|
305
|
-
interface ListEarningRulesResponse {
|
|
306
|
-
/** Retrieved earning rules. */
|
|
307
|
-
earningRules?: LoyaltyEarningRule[];
|
|
308
|
-
}
|
|
309
|
-
interface ListEarningRulesInTierRequest {
|
|
310
|
-
/**
|
|
311
|
-
* ID of the tier for which the earning rules will be returned.
|
|
312
|
-
* @format GUID
|
|
313
|
-
*/
|
|
314
|
-
tierId?: string | null;
|
|
315
|
-
/** Pagination options. */
|
|
316
|
-
paging?: CursorPaging;
|
|
317
|
-
}
|
|
318
|
-
interface CursorPaging {
|
|
319
|
-
/**
|
|
320
|
-
* Maximum number of items to return in the results.
|
|
321
|
-
* @max 100
|
|
322
|
-
*/
|
|
323
|
-
limit?: number | null;
|
|
324
|
-
/**
|
|
325
|
-
* Pointer to the next or previous page in the list of results.
|
|
326
|
-
*
|
|
327
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
328
|
-
* Not relevant for the first request.
|
|
329
|
-
* @maxLength 16000
|
|
330
|
-
*/
|
|
331
|
-
cursor?: string | null;
|
|
332
|
-
}
|
|
333
|
-
interface ListEarningRulesInTierResponse {
|
|
334
|
-
/** Retrieved earning rules. */
|
|
335
|
-
earningRules?: LoyaltyEarningRule[];
|
|
336
|
-
/** Details on the paged set of results returned. */
|
|
337
|
-
pagingMetadata?: PagingMetadataV2;
|
|
338
|
-
}
|
|
339
|
-
interface PagingMetadataV2 {
|
|
340
|
-
/** Number of items returned in the response. */
|
|
341
|
-
count?: number | null;
|
|
342
|
-
/** Offset that was requested. */
|
|
343
|
-
offset?: number | null;
|
|
344
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
345
|
-
total?: number | null;
|
|
346
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
347
|
-
tooManyToCount?: boolean | null;
|
|
348
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
349
|
-
cursors?: Cursors;
|
|
350
|
-
}
|
|
351
|
-
interface Cursors {
|
|
352
|
-
/**
|
|
353
|
-
* Cursor string pointing to the next page in the list of results.
|
|
354
|
-
* @maxLength 16000
|
|
355
|
-
*/
|
|
356
|
-
next?: string | null;
|
|
357
|
-
/**
|
|
358
|
-
* Cursor pointing to the previous page in the list of results.
|
|
359
|
-
* @maxLength 16000
|
|
360
|
-
*/
|
|
361
|
-
prev?: string | null;
|
|
362
|
-
}
|
|
363
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
364
|
-
createdEvent?: EntityCreatedEvent;
|
|
365
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
366
|
-
deletedEvent?: EntityDeletedEvent;
|
|
367
|
-
actionEvent?: ActionEvent;
|
|
368
|
-
/**
|
|
369
|
-
* Unique event ID.
|
|
370
|
-
* Allows clients to ignore duplicate webhooks.
|
|
371
|
-
*/
|
|
372
|
-
_id?: string;
|
|
373
|
-
/**
|
|
374
|
-
* Assumes actions are also always typed to an entity_type
|
|
375
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
376
|
-
*/
|
|
377
|
-
entityFqdn?: string;
|
|
378
|
-
/**
|
|
379
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
380
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
381
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
382
|
-
*/
|
|
383
|
-
slug?: string;
|
|
384
|
-
/** ID of the entity associated with the event. */
|
|
385
|
-
entityId?: string;
|
|
386
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
387
|
-
eventTime?: Date | null;
|
|
388
|
-
/**
|
|
389
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
390
|
-
* (for example, GDPR).
|
|
391
|
-
*/
|
|
392
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
393
|
-
/** If present, indicates the action that triggered the event. */
|
|
394
|
-
originatedFrom?: string | null;
|
|
395
|
-
/**
|
|
396
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
397
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
398
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
399
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
400
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
401
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
402
|
-
*/
|
|
403
|
-
entityEventSequence?: string | null;
|
|
404
|
-
}
|
|
405
|
-
/** @oneof */
|
|
406
|
-
interface DomainEventBodyOneOf {
|
|
407
|
-
createdEvent?: EntityCreatedEvent;
|
|
408
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
409
|
-
deletedEvent?: EntityDeletedEvent;
|
|
410
|
-
actionEvent?: ActionEvent;
|
|
411
|
-
}
|
|
412
|
-
interface EntityCreatedEvent {
|
|
413
|
-
entity?: string;
|
|
414
|
-
}
|
|
415
|
-
interface RestoreInfo {
|
|
416
|
-
deletedDate?: Date | null;
|
|
417
|
-
}
|
|
418
|
-
interface EntityUpdatedEvent {
|
|
419
|
-
/**
|
|
420
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
421
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
422
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
423
|
-
*/
|
|
424
|
-
currentEntity?: string;
|
|
425
|
-
}
|
|
426
|
-
interface EntityDeletedEvent {
|
|
427
|
-
/** Entity that was deleted */
|
|
428
|
-
deletedEntity?: string | null;
|
|
429
|
-
}
|
|
430
|
-
interface ActionEvent {
|
|
431
|
-
body?: string;
|
|
432
|
-
}
|
|
433
|
-
interface Empty {
|
|
434
|
-
}
|
|
435
|
-
interface MessageEnvelope {
|
|
436
|
-
/**
|
|
437
|
-
* App instance ID.
|
|
438
|
-
* @format GUID
|
|
439
|
-
*/
|
|
440
|
-
instanceId?: string | null;
|
|
441
|
-
/**
|
|
442
|
-
* Event type.
|
|
443
|
-
* @maxLength 150
|
|
444
|
-
*/
|
|
445
|
-
eventType?: string;
|
|
446
|
-
/** The identification type and identity data. */
|
|
447
|
-
identity?: IdentificationData;
|
|
448
|
-
/** Stringify payload. */
|
|
449
|
-
data?: string;
|
|
450
|
-
}
|
|
451
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
452
|
-
/**
|
|
453
|
-
* ID of a site visitor that has not logged in to the site.
|
|
454
|
-
* @format GUID
|
|
455
|
-
*/
|
|
456
|
-
anonymousVisitorId?: string;
|
|
457
|
-
/**
|
|
458
|
-
* ID of a site visitor that has logged in to the site.
|
|
459
|
-
* @format GUID
|
|
460
|
-
*/
|
|
461
|
-
memberId?: string;
|
|
462
|
-
/**
|
|
463
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
464
|
-
* @format GUID
|
|
465
|
-
*/
|
|
466
|
-
wixUserId?: string;
|
|
467
|
-
/**
|
|
468
|
-
* ID of an app.
|
|
469
|
-
* @format GUID
|
|
470
|
-
*/
|
|
471
|
-
appId?: string;
|
|
472
|
-
/** @readonly */
|
|
473
|
-
identityType?: WebhookIdentityType;
|
|
474
|
-
}
|
|
475
|
-
/** @oneof */
|
|
476
|
-
interface IdentificationDataIdOneOf {
|
|
477
|
-
/**
|
|
478
|
-
* ID of a site visitor that has not logged in to the site.
|
|
479
|
-
* @format GUID
|
|
480
|
-
*/
|
|
481
|
-
anonymousVisitorId?: string;
|
|
482
|
-
/**
|
|
483
|
-
* ID of a site visitor that has logged in to the site.
|
|
484
|
-
* @format GUID
|
|
485
|
-
*/
|
|
486
|
-
memberId?: string;
|
|
487
|
-
/**
|
|
488
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
489
|
-
* @format GUID
|
|
490
|
-
*/
|
|
491
|
-
wixUserId?: string;
|
|
492
|
-
/**
|
|
493
|
-
* ID of an app.
|
|
494
|
-
* @format GUID
|
|
495
|
-
*/
|
|
496
|
-
appId?: string;
|
|
497
|
-
}
|
|
498
|
-
declare enum WebhookIdentityType {
|
|
499
|
-
UNKNOWN = "UNKNOWN",
|
|
500
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
501
|
-
MEMBER = "MEMBER",
|
|
502
|
-
WIX_USER = "WIX_USER",
|
|
503
|
-
APP = "APP"
|
|
504
|
-
}
|
|
505
|
-
interface BaseEventMetadata {
|
|
506
|
-
/**
|
|
507
|
-
* App instance ID.
|
|
508
|
-
* @format GUID
|
|
509
|
-
*/
|
|
510
|
-
instanceId?: string | null;
|
|
511
|
-
/**
|
|
512
|
-
* Event type.
|
|
513
|
-
* @maxLength 150
|
|
514
|
-
*/
|
|
515
|
-
eventType?: string;
|
|
516
|
-
/** The identification type and identity data. */
|
|
517
|
-
identity?: IdentificationData;
|
|
518
|
-
}
|
|
519
|
-
interface EventMetadata extends BaseEventMetadata {
|
|
520
|
-
/**
|
|
521
|
-
* Unique event ID.
|
|
522
|
-
* Allows clients to ignore duplicate webhooks.
|
|
523
|
-
*/
|
|
524
|
-
_id?: string;
|
|
525
|
-
/**
|
|
526
|
-
* Assumes actions are also always typed to an entity_type
|
|
527
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
528
|
-
*/
|
|
529
|
-
entityFqdn?: string;
|
|
530
|
-
/**
|
|
531
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
532
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
533
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
534
|
-
*/
|
|
535
|
-
slug?: string;
|
|
536
|
-
/** ID of the entity associated with the event. */
|
|
537
|
-
entityId?: string;
|
|
538
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
539
|
-
eventTime?: Date | null;
|
|
540
|
-
/**
|
|
541
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
542
|
-
* (for example, GDPR).
|
|
543
|
-
*/
|
|
544
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
545
|
-
/** If present, indicates the action that triggered the event. */
|
|
546
|
-
originatedFrom?: string | null;
|
|
547
|
-
/**
|
|
548
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
549
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
550
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
551
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
552
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
553
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
554
|
-
*/
|
|
555
|
-
entityEventSequence?: string | null;
|
|
556
|
-
}
|
|
557
|
-
interface LoyaltyEarningRuleCreatedEnvelope {
|
|
558
|
-
entity: LoyaltyEarningRule;
|
|
559
|
-
metadata: EventMetadata;
|
|
560
|
-
}
|
|
561
|
-
interface LoyaltyEarningRuleDeletedEnvelope {
|
|
562
|
-
metadata: EventMetadata;
|
|
563
|
-
}
|
|
564
|
-
interface LoyaltyEarningRuleUpdatedEnvelope {
|
|
565
|
-
entity: LoyaltyEarningRule;
|
|
566
|
-
metadata: EventMetadata;
|
|
567
|
-
}
|
|
568
|
-
interface CreateCustomLoyaltyEarningRuleOptions {
|
|
569
|
-
/** Custom earning rule to create. */
|
|
570
|
-
earningRule?: CustomLoyaltyEarningRule;
|
|
571
|
-
}
|
|
572
|
-
interface UpdateLoyaltyEarningRule {
|
|
573
|
-
/** Fixed amount of points awarded for each qualifying activity. */
|
|
574
|
-
fixedAmount?: FixedAmount;
|
|
575
|
-
/** Points awarded based on a conversion rate formula: `(amount spent) / (money_amount * points)`. */
|
|
576
|
-
conversionRate?: ConversionRate;
|
|
577
|
-
/**
|
|
578
|
-
* Loyalty earning rule ID.
|
|
579
|
-
* @format GUID
|
|
580
|
-
* @readonly
|
|
581
|
-
*/
|
|
582
|
-
_id?: string | null;
|
|
583
|
-
/**
|
|
584
|
-
* ID of the app managing the earning rule. Can be a loyalty app ID or a Wix automations app ID.
|
|
585
|
-
* @format GUID
|
|
586
|
-
*/
|
|
587
|
-
sourceAppId?: string;
|
|
588
|
-
/**
|
|
589
|
-
* ID of the app that triggers point assignment. Examples: Wix Stores, Wix Bookings, Wix Events.
|
|
590
|
-
* @minLength 1
|
|
591
|
-
* @maxLength 80
|
|
592
|
-
*/
|
|
593
|
-
triggerAppId?: string;
|
|
594
|
-
/**
|
|
595
|
-
* Type of activity that triggers point assignment. For example, `wix-restaurants/orderSubmitted` or `birthday`.
|
|
596
|
-
* @minLength 1
|
|
597
|
-
* @maxLength 80
|
|
598
|
-
*/
|
|
599
|
-
triggerActivityType?: string;
|
|
600
|
-
/**
|
|
601
|
-
* Name of the earning rule.
|
|
602
|
-
* @minLength 1
|
|
603
|
-
* @maxLength 50
|
|
604
|
-
*/
|
|
605
|
-
title?: string;
|
|
606
|
-
/** Current status of the earning rule. */
|
|
607
|
-
status?: Status;
|
|
608
|
-
/**
|
|
609
|
-
* Revision number, incremented by 1 each time the earning rule is updated.
|
|
610
|
-
* Pass the latest revision when updating to prevent conflicting changes.
|
|
611
|
-
*/
|
|
612
|
-
revision?: string | null;
|
|
613
|
-
/**
|
|
614
|
-
* Date and time the earning rule was created.
|
|
615
|
-
* @readonly
|
|
616
|
-
*/
|
|
617
|
-
_createdDate?: Date | null;
|
|
618
|
-
/**
|
|
619
|
-
* Date and time the earning rule was last updated.
|
|
620
|
-
* @readonly
|
|
621
|
-
*/
|
|
622
|
-
_updatedDate?: Date | null;
|
|
623
|
-
/**
|
|
624
|
-
* Additional metadata about the earning rule.
|
|
625
|
-
* @readonly
|
|
626
|
-
*/
|
|
627
|
-
metadata?: Metadata;
|
|
628
|
-
}
|
|
629
|
-
interface DeleteLoyaltyEarningRuleOptions {
|
|
630
|
-
/**
|
|
631
|
-
* Revision of the earning rule. Incremented by 1 each time the earning rule is updated.
|
|
632
|
-
* Pass the latest revision when updating to prevent conflicting changes.
|
|
633
|
-
*/
|
|
634
|
-
revision?: string;
|
|
635
|
-
}
|
|
636
|
-
interface ListEarningRulesOptions {
|
|
637
|
-
/** App ID that triggers the point assignment. For example, `9a5d83fd-8570-482e-81ab-cfa88942ee60`. */
|
|
638
|
-
triggerAppId?: string | null;
|
|
639
|
-
/** Type of activity that triggers the point assignment. For example, `restaurants-order-is-pending`. */
|
|
640
|
-
triggerActivityType?: string | null;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
export { type IdentificationData as $, type ApplicationError as A, type BulkCreateLoyaltyEarningRulesResponse as B, type CreateCustomLoyaltyEarningRuleOptions as C, type DeleteLoyaltyEarningRuleOptions as D, type EarningRuleDisabled as E, type FixedAmount as F, type GetLoyaltyEarningRuleRequest as G, type CursorPaging as H, type ItemMetadata as I, type ListEarningRulesInTierResponse as J, type Cursors as K, type LoyaltyEarningRule as L, type Metadata as M, type DomainEvent as N, type DomainEventBodyOneOf as O, type PagingMetadataV2 as P, type EntityCreatedEvent as Q, type RestoreInfo as R, Status as S, Type as T, type UpdateLoyaltyEarningRule as U, type EntityUpdatedEvent as V, WebhookIdentityType as W, type EntityDeletedEvent as X, type ActionEvent as Y, type Empty as Z, type MessageEnvelope as _, type CreateCustomLoyaltyEarningRuleResponse as a, type IdentificationDataIdOneOf as a0, type BaseEventMetadata as a1, type EventMetadata as a2, type LoyaltyEarningRuleCreatedEnvelope as a3, type LoyaltyEarningRuleDeletedEnvelope as a4, type LoyaltyEarningRuleUpdatedEnvelope as a5, type UpdateLoyaltyEarningRuleResponse as b, type ListEarningRulesOptions as c, type ListEarningRulesResponse as d, LoyaltyEarningRuleTypeTagType as e, type LoyaltyEarningRuleTypeOneOf as f, type FixedAmountConfig as g, type ConversionRate as h, type ConversionRateConfig as i, type LoyaltyEarningRuleTypeTag as j, type CreateLoyaltyEarningRuleRequest as k, type CreateLoyaltyEarningRuleResponse as l, type BulkCreateLoyaltyEarningRulesRequest as m, type BulkLoyaltyEarningRuleResult as n, type BulkActionMetadata as o, type CreateCustomLoyaltyEarningRuleRequest as p, type CustomLoyaltyEarningRule as q, type CustomLoyaltyEarningRuleTypeOneOf as r, type GetLoyaltyEarningRuleResponse as s, type UpdateLoyaltyEarningRuleRequest as t, type DeleteLoyaltyEarningRuleRequest as u, type DeleteLoyaltyEarningRuleResponse as v, type DeleteAutomationEarningRuleRequest as w, type DeleteAutomationEarningRuleResponse as x, type ListEarningRulesRequest as y, type ListEarningRulesInTierRequest as z };
|