@wix/auto_sdk_loyalty_earning-rules 1.0.14 → 1.0.16
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 +2 -2
- package/build/cjs/{loyalty-v1-loyalty-earning-rule-earning-rules.universal-C7uemg2R.d.ts → index.typings.d.ts} +166 -1
- package/build/cjs/index.typings.js +662 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +2 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/{loyalty-v1-loyalty-earning-rule-earning-rules.universal-C7uemg2R.d.mts → index.typings.d.mts} +166 -1
- package/build/es/index.typings.mjs +623 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +2 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/{loyalty-v1-loyalty-earning-rule-earning-rules.universal-B7haYXGy.d.ts → index.typings.d.ts} +166 -1
- package/build/internal/cjs/index.typings.js +662 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +2 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/{loyalty-v1-loyalty-earning-rule-earning-rules.universal-B7haYXGy.d.mts → index.typings.d.mts} +166 -1
- package/build/internal/es/index.typings.mjs +623 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +2 -1
- package/package.json +3 -3
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { LoyaltyEarningRule, BulkCreateLoyaltyEarningRulesResponse, TypeWithLiterals, CreateCustomLoyaltyEarningRuleOptions, CreateCustomLoyaltyEarningRuleResponse, UpdateLoyaltyEarningRule, UpdateLoyaltyEarningRuleResponse, DeleteLoyaltyEarningRuleOptions, ListEarningRulesOptions, ListEarningRulesResponse, LoyaltyEarningRuleCreatedEnvelope, LoyaltyEarningRuleDeletedEnvelope, LoyaltyEarningRuleUpdatedEnvelope } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, ApplicationError, Asset, BaseEventMetadata, BulkActionMetadata, BulkCreateLoyaltyEarningRulesRequest, BulkLoyaltyEarningRuleResult, CacheInvalidated, ConversionRate, ConversionRateConfig, CreateCustomLoyaltyEarningRuleRequest, CreateLoyaltyEarningRuleRequest, CreateLoyaltyEarningRuleResponse, CursorPaging, Cursors, CustomLoyaltyEarningRule, CustomLoyaltyEarningRuleTypeOneOf, DeleteAutomationEarningRuleRequest, DeleteAutomationEarningRuleResponse, DeleteContext, DeleteLoyaltyEarningRuleRequest, DeleteLoyaltyEarningRuleResponse, DeleteStatus, DomainEvent, DomainEventBodyOneOf, EarningRuleDisabled, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, FixedAmount, FixedAmountConfig, GetLoyaltyEarningRuleRequest, GetLoyaltyEarningRuleResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateEarningRuleCacheRequest, InvalidateEarningRuleCacheResponse, ItemMetadata, ListEarningRulesInTierRequest, ListEarningRulesInTierResponse, ListEarningRulesRequest, LoyaltyEarningRuleTypeOneOf, LoyaltyEarningRuleTypeTag, LoyaltyEarningRuleTypeTagType, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Metadata, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, PagingMetadataV2, PicassoAssigned, PicassoUnassigned, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, State, Status, StudioAssigned, StudioUnassigned, Type, UpdateLoyaltyEarningRuleRequest, WebhookIdentityType } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createLoyaltyEarningRule$1(httpClient: HttpClient): CreateLoyaltyEarningRuleSignature;
|
|
6
6
|
interface CreateLoyaltyEarningRuleSignature {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* A loyalty earning rule defines how customers earn points in a loyalty program.
|
|
3
5
|
* You can create rules for different activities, such as making purchases.
|
|
@@ -1008,17 +1010,143 @@ interface LoyaltyEarningRuleCreatedEnvelope {
|
|
|
1008
1010
|
entity: LoyaltyEarningRule;
|
|
1009
1011
|
metadata: EventMetadata;
|
|
1010
1012
|
}
|
|
1013
|
+
/**
|
|
1014
|
+
* Triggered when an earning rule is created.
|
|
1015
|
+
* @permissionScope Read Loyalty
|
|
1016
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
1017
|
+
* @permissionScope Manage Loyalty
|
|
1018
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
1019
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1020
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1021
|
+
* @permissionId LOYALTY.READ_EARNING_RULES
|
|
1022
|
+
* @webhook
|
|
1023
|
+
* @eventType wix.loyalty.v1.loyalty_earning_rule_created
|
|
1024
|
+
* @slug created
|
|
1025
|
+
*/
|
|
1026
|
+
declare function onLoyaltyEarningRuleCreated(handler: (event: LoyaltyEarningRuleCreatedEnvelope) => void | Promise<void>): void;
|
|
1011
1027
|
interface LoyaltyEarningRuleDeletedEnvelope {
|
|
1012
1028
|
metadata: EventMetadata;
|
|
1013
1029
|
}
|
|
1030
|
+
/**
|
|
1031
|
+
* Triggered when an earning rule is deleted.
|
|
1032
|
+
* @permissionScope Read Loyalty
|
|
1033
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
1034
|
+
* @permissionScope Manage Loyalty
|
|
1035
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
1036
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1037
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1038
|
+
* @permissionId LOYALTY.READ_EARNING_RULES
|
|
1039
|
+
* @webhook
|
|
1040
|
+
* @eventType wix.loyalty.v1.loyalty_earning_rule_deleted
|
|
1041
|
+
* @slug deleted
|
|
1042
|
+
*/
|
|
1043
|
+
declare function onLoyaltyEarningRuleDeleted(handler: (event: LoyaltyEarningRuleDeletedEnvelope) => void | Promise<void>): void;
|
|
1014
1044
|
interface LoyaltyEarningRuleUpdatedEnvelope {
|
|
1015
1045
|
entity: LoyaltyEarningRule;
|
|
1016
1046
|
metadata: EventMetadata;
|
|
1017
1047
|
}
|
|
1048
|
+
/**
|
|
1049
|
+
* Triggered when an earning rule is updated.
|
|
1050
|
+
* @permissionScope Read Loyalty
|
|
1051
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
1052
|
+
* @permissionScope Manage Loyalty
|
|
1053
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
1054
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1055
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1056
|
+
* @permissionId LOYALTY.READ_EARNING_RULES
|
|
1057
|
+
* @webhook
|
|
1058
|
+
* @eventType wix.loyalty.v1.loyalty_earning_rule_updated
|
|
1059
|
+
* @slug updated
|
|
1060
|
+
*/
|
|
1061
|
+
declare function onLoyaltyEarningRuleUpdated(handler: (event: LoyaltyEarningRuleUpdatedEnvelope) => void | Promise<void>): void;
|
|
1062
|
+
type LoyaltyEarningRuleNonNullablePaths = `fixedAmount.configs` | `fixedAmount.configs.${number}.points` | `conversionRate.configs` | `conversionRate.configs.${number}.moneyAmount` | `conversionRate.configs.${number}.points` | `sourceAppId` | `triggerAppId` | `triggerActivityType` | `title` | `status` | `metadata.canBeDeleted`;
|
|
1063
|
+
/**
|
|
1064
|
+
* Creates a non-automated earning rule.
|
|
1065
|
+
*
|
|
1066
|
+
* >**Note**: You can only create non-automated earning rules from a supported list.
|
|
1067
|
+
* For the supported list of services, see the introduction.
|
|
1068
|
+
* @param earningRule - Earning rule to create.
|
|
1069
|
+
* @public
|
|
1070
|
+
* @requiredField earningRule
|
|
1071
|
+
* @requiredField earningRule.sourceAppId
|
|
1072
|
+
* @requiredField earningRule.status
|
|
1073
|
+
* @requiredField earningRule.title
|
|
1074
|
+
* @requiredField earningRule.triggerActivityType
|
|
1075
|
+
* @requiredField earningRule.triggerAppId
|
|
1076
|
+
* @permissionId LOYALTY.MANAGE_EARNING_RULES
|
|
1077
|
+
* @applicableIdentity APP
|
|
1078
|
+
* @returns Created earning rule.
|
|
1079
|
+
* @fqn com.wixpress.loyalty.earningrule.LoyaltyEarningRules.CreateLoyaltyEarningRule
|
|
1080
|
+
*/
|
|
1081
|
+
declare function createLoyaltyEarningRule(earningRule: NonNullablePaths<LoyaltyEarningRule, `sourceAppId` | `status` | `title` | `triggerActivityType` | `triggerAppId`>): Promise<NonNullablePaths<LoyaltyEarningRule, LoyaltyEarningRuleNonNullablePaths>>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Creates multiple non-automated earning rules.
|
|
1084
|
+
*
|
|
1085
|
+
* >**Note**: You can only create non-automated earning rules from a supported list.
|
|
1086
|
+
* For the supported list of services, see the introduction.
|
|
1087
|
+
* @param earningRules - Earning rules to create.
|
|
1088
|
+
* @public
|
|
1089
|
+
* @requiredField earningRules
|
|
1090
|
+
* @requiredField earningRules.sourceAppId
|
|
1091
|
+
* @requiredField earningRules.status
|
|
1092
|
+
* @requiredField earningRules.title
|
|
1093
|
+
* @requiredField earningRules.triggerActivityType
|
|
1094
|
+
* @requiredField earningRules.triggerAppId
|
|
1095
|
+
* @permissionId LOYALTY.MANAGE_EARNING_RULES
|
|
1096
|
+
* @applicableIdentity APP
|
|
1097
|
+
* @fqn com.wixpress.loyalty.earningrule.LoyaltyEarningRules.BulkCreateLoyaltyEarningRules
|
|
1098
|
+
*/
|
|
1099
|
+
declare function bulkCreateLoyaltyEarningRules(earningRules: NonNullablePaths<LoyaltyEarningRule, `sourceAppId` | `status` | `title` | `triggerActivityType` | `triggerAppId`>[]): Promise<NonNullablePaths<BulkCreateLoyaltyEarningRulesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
1100
|
+
[P in LoyaltyEarningRuleNonNullablePaths]: `results.${number}.item.${P}`;
|
|
1101
|
+
}[LoyaltyEarningRuleNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
1102
|
+
/**
|
|
1103
|
+
* Creates a custom automated earning rule.
|
|
1104
|
+
*
|
|
1105
|
+
* To learn more about the automated rules, read the introduction.
|
|
1106
|
+
* @param type - Type of the custom earning rule.
|
|
1107
|
+
* @public
|
|
1108
|
+
* @requiredField type
|
|
1109
|
+
* @permissionId LOYALTY.MANAGE_EARNING_RULES
|
|
1110
|
+
* @applicableIdentity APP
|
|
1111
|
+
* @fqn com.wixpress.loyalty.earningrule.LoyaltyEarningRules.CreateCustomLoyaltyEarningRule
|
|
1112
|
+
*/
|
|
1113
|
+
declare function createCustomLoyaltyEarningRule(type: TypeWithLiterals, options?: CreateCustomLoyaltyEarningRuleOptions): Promise<NonNullablePaths<CreateCustomLoyaltyEarningRuleResponse, {
|
|
1114
|
+
[P in LoyaltyEarningRuleNonNullablePaths]: `earningRule.${P}`;
|
|
1115
|
+
}[LoyaltyEarningRuleNonNullablePaths]>>;
|
|
1018
1116
|
interface CreateCustomLoyaltyEarningRuleOptions {
|
|
1019
1117
|
/** Custom earning rule to create. */
|
|
1020
1118
|
earningRule?: CustomLoyaltyEarningRule;
|
|
1021
1119
|
}
|
|
1120
|
+
/**
|
|
1121
|
+
* Retrieves a specified non-automated earning rule.
|
|
1122
|
+
* @param _id - ID of the earning rule to retrieve.
|
|
1123
|
+
* @public
|
|
1124
|
+
* @requiredField _id
|
|
1125
|
+
* @permissionId LOYALTY.READ_EARNING_RULES
|
|
1126
|
+
* @applicableIdentity APP
|
|
1127
|
+
* @applicableIdentity VISITOR
|
|
1128
|
+
* @returns Retrieved earning rule.
|
|
1129
|
+
* @fqn com.wixpress.loyalty.earningrule.LoyaltyEarningRules.GetLoyaltyEarningRule
|
|
1130
|
+
*/
|
|
1131
|
+
declare function getLoyaltyEarningRule(_id: string): Promise<NonNullablePaths<LoyaltyEarningRule, LoyaltyEarningRuleNonNullablePaths>>;
|
|
1132
|
+
/**
|
|
1133
|
+
* Updates an earning rule.
|
|
1134
|
+
*
|
|
1135
|
+
* Supports partial updates.
|
|
1136
|
+
*
|
|
1137
|
+
* Revision number, which increments by 1 each time the earning rule is updated. To prevent conflicting changes,
|
|
1138
|
+
* the current revision must be passed when updating the earning rule.
|
|
1139
|
+
* @param _id - Loyalty earning rule ID.
|
|
1140
|
+
* @public
|
|
1141
|
+
* @requiredField _id
|
|
1142
|
+
* @requiredField earningRule
|
|
1143
|
+
* @permissionId LOYALTY.MANAGE_EARNING_RULES
|
|
1144
|
+
* @applicableIdentity APP
|
|
1145
|
+
* @fqn com.wixpress.loyalty.earningrule.LoyaltyEarningRules.UpdateLoyaltyEarningRule
|
|
1146
|
+
*/
|
|
1147
|
+
declare function updateLoyaltyEarningRule(_id: string, earningRule: UpdateLoyaltyEarningRule): Promise<NonNullablePaths<UpdateLoyaltyEarningRuleResponse, {
|
|
1148
|
+
[P in LoyaltyEarningRuleNonNullablePaths]: `earningRule.${P}`;
|
|
1149
|
+
}[LoyaltyEarningRuleNonNullablePaths]>>;
|
|
1022
1150
|
interface UpdateLoyaltyEarningRule {
|
|
1023
1151
|
/** Fixed amount of points awarded for each qualifying activity. */
|
|
1024
1152
|
fixedAmount?: FixedAmount;
|
|
@@ -1076,6 +1204,16 @@ interface UpdateLoyaltyEarningRule {
|
|
|
1076
1204
|
*/
|
|
1077
1205
|
metadata?: Metadata;
|
|
1078
1206
|
}
|
|
1207
|
+
/**
|
|
1208
|
+
* Deletes a non-automated earning rule.
|
|
1209
|
+
* @param _id - ID of the earning rule to delete.
|
|
1210
|
+
* @public
|
|
1211
|
+
* @requiredField _id
|
|
1212
|
+
* @permissionId LOYALTY.MANAGE_EARNING_RULES
|
|
1213
|
+
* @applicableIdentity APP
|
|
1214
|
+
* @fqn com.wixpress.loyalty.earningrule.LoyaltyEarningRules.DeleteLoyaltyEarningRule
|
|
1215
|
+
*/
|
|
1216
|
+
declare function deleteLoyaltyEarningRule(_id: string, options?: DeleteLoyaltyEarningRuleOptions): Promise<void>;
|
|
1079
1217
|
interface DeleteLoyaltyEarningRuleOptions {
|
|
1080
1218
|
/**
|
|
1081
1219
|
* Revision of the earning rule. Incremented by 1 each time the earning rule is updated.
|
|
@@ -1083,6 +1221,33 @@ interface DeleteLoyaltyEarningRuleOptions {
|
|
|
1083
1221
|
*/
|
|
1084
1222
|
revision?: string;
|
|
1085
1223
|
}
|
|
1224
|
+
/**
|
|
1225
|
+
* Deletes a custom automated earning rule.
|
|
1226
|
+
*
|
|
1227
|
+
* > **Note:** Pre-installed automated rules can only be paused, not deleted.
|
|
1228
|
+
* @param _id - ID of the earning rule to delete.
|
|
1229
|
+
* @public
|
|
1230
|
+
* @requiredField _id
|
|
1231
|
+
* @permissionId LOYALTY.MANAGE_EARNING_RULES
|
|
1232
|
+
* @applicableIdentity APP
|
|
1233
|
+
* @fqn com.wixpress.loyalty.earningrule.LoyaltyEarningRules.DeleteAutomationEarningRule
|
|
1234
|
+
*/
|
|
1235
|
+
declare function deleteAutomationEarningRule(_id: string): Promise<void>;
|
|
1236
|
+
/**
|
|
1237
|
+
* Retrieves a list of earning rules.
|
|
1238
|
+
*
|
|
1239
|
+
* Returns both automated and non-automated earning rules.
|
|
1240
|
+
*
|
|
1241
|
+
* You can filter the results by `triggerAppId` or `triggerActivityType`.
|
|
1242
|
+
* @public
|
|
1243
|
+
* @permissionId LOYALTY.READ_EARNING_RULES
|
|
1244
|
+
* @applicableIdentity APP
|
|
1245
|
+
* @applicableIdentity VISITOR
|
|
1246
|
+
* @fqn com.wixpress.loyalty.earningrule.LoyaltyEarningRules.ListEarningRules
|
|
1247
|
+
*/
|
|
1248
|
+
declare function listEarningRules(options?: ListEarningRulesOptions): Promise<NonNullablePaths<ListEarningRulesResponse, {
|
|
1249
|
+
[P in LoyaltyEarningRuleNonNullablePaths]: `earningRules.${number}.${P}`;
|
|
1250
|
+
}[LoyaltyEarningRuleNonNullablePaths]>>;
|
|
1086
1251
|
interface ListEarningRulesOptions {
|
|
1087
1252
|
/** App ID that triggers the point assignment. For example, `9a5d83fd-8570-482e-81ab-cfa88942ee60`. */
|
|
1088
1253
|
triggerAppId?: string | null;
|
|
@@ -1090,4 +1255,4 @@ interface ListEarningRulesOptions {
|
|
|
1090
1255
|
triggerActivityType?: string | null;
|
|
1091
1256
|
}
|
|
1092
1257
|
|
|
1093
|
-
export { type
|
|
1258
|
+
export { type ActionEvent, type ApplicationError, type Asset, type BaseEventMetadata, type BulkActionMetadata, type BulkCreateLoyaltyEarningRulesRequest, type BulkCreateLoyaltyEarningRulesResponse, type BulkLoyaltyEarningRuleResult, type CacheInvalidated, type ConversionRate, type ConversionRateConfig, type CreateCustomLoyaltyEarningRuleOptions, type CreateCustomLoyaltyEarningRuleRequest, type CreateCustomLoyaltyEarningRuleResponse, type CreateLoyaltyEarningRuleRequest, type CreateLoyaltyEarningRuleResponse, type CursorPaging, type Cursors, type CustomLoyaltyEarningRule, type CustomLoyaltyEarningRuleTypeOneOf, type DeleteAutomationEarningRuleRequest, type DeleteAutomationEarningRuleResponse, type DeleteContext, type DeleteLoyaltyEarningRuleOptions, type DeleteLoyaltyEarningRuleRequest, type DeleteLoyaltyEarningRuleResponse, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EarningRuleDisabled, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type FixedAmount, type FixedAmountConfig, type GetLoyaltyEarningRuleRequest, type GetLoyaltyEarningRuleResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidateEarningRuleCacheRequest, type InvalidateEarningRuleCacheResponse, type ItemMetadata, type ListEarningRulesInTierRequest, type ListEarningRulesInTierResponse, type ListEarningRulesOptions, type ListEarningRulesRequest, type ListEarningRulesResponse, type LoyaltyEarningRule, type LoyaltyEarningRuleCreatedEnvelope, type LoyaltyEarningRuleDeletedEnvelope, type LoyaltyEarningRuleTypeOneOf, type LoyaltyEarningRuleTypeTag, LoyaltyEarningRuleTypeTagType, type LoyaltyEarningRuleTypeTagTypeWithLiterals, type LoyaltyEarningRuleUpdatedEnvelope, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type Metadata, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PagingMetadataV2, type PicassoAssigned, type PicassoUnassigned, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioUnassigned, Type, type TypeWithLiterals, type UpdateLoyaltyEarningRule, type UpdateLoyaltyEarningRuleRequest, type UpdateLoyaltyEarningRuleResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCreateLoyaltyEarningRules, createCustomLoyaltyEarningRule, createLoyaltyEarningRule, deleteAutomationEarningRule, deleteLoyaltyEarningRule, getLoyaltyEarningRule, listEarningRules, onLoyaltyEarningRuleCreated, onLoyaltyEarningRuleDeleted, onLoyaltyEarningRuleUpdated, updateLoyaltyEarningRule };
|