@wix/auto_sdk_loyalty_earning-rules 1.0.3 → 1.0.5

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.
Files changed (134) hide show
  1. package/build/index.d.mts +112 -0
  2. package/build/index.d.ts +112 -0
  3. package/build/index.js +732 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +694 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +112 -0
  8. package/build/internal/index.d.ts +112 -0
  9. package/build/internal/index.js +732 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +694 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/{cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.d.ts → internal/loyalty-v1-loyalty-earning-rule-earning-rules.universal-DOjaPKYu.d.mts} +67 -294
  14. package/build/{es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.d.ts → internal/loyalty-v1-loyalty-earning-rule-earning-rules.universal-DOjaPKYu.d.ts} +67 -294
  15. package/build/internal/meta.d.mts +322 -0
  16. package/build/internal/meta.d.ts +322 -0
  17. package/build/internal/meta.js +500 -0
  18. package/build/internal/meta.js.map +1 -0
  19. package/build/internal/meta.mjs +466 -0
  20. package/build/internal/meta.mjs.map +1 -0
  21. package/build/{es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.d.ts → loyalty-v1-loyalty-earning-rule-earning-rules.universal-ByA9SEhi.d.mts} +193 -120
  22. package/build/{cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.d.ts → loyalty-v1-loyalty-earning-rule-earning-rules.universal-ByA9SEhi.d.ts} +193 -120
  23. package/build/meta.d.mts +322 -0
  24. package/build/meta.d.ts +322 -0
  25. package/build/meta.js +500 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +466 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +14 -13
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.d.ts +0 -28
  40. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js +0 -35
  41. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js.map +0 -1
  42. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.d.ts +0 -48
  43. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js +0 -353
  44. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js.map +0 -1
  45. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.d.ts +0 -28
  46. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js +0 -180
  47. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js.map +0 -1
  48. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.d.ts +0 -93
  49. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js +0 -93
  50. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js.map +0 -1
  51. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js +0 -37
  52. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js.map +0 -1
  53. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js +0 -384
  54. package/build/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/package.json +0 -3
  65. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.d.ts +0 -28
  66. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js +0 -28
  67. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js.map +0 -1
  68. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.d.ts +0 -48
  69. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js +0 -342
  70. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js.map +0 -1
  71. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.d.ts +0 -28
  72. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js +0 -146
  73. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js.map +0 -1
  74. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.d.ts +0 -93
  75. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js +0 -78
  76. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js.map +0 -1
  77. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js +0 -34
  78. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js.map +0 -1
  79. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js +0 -350
  80. package/build/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js.map +0 -1
  81. package/build/internal/cjs/index.d.ts +0 -1
  82. package/build/internal/cjs/index.js +0 -18
  83. package/build/internal/cjs/index.js.map +0 -1
  84. package/build/internal/cjs/index.typings.d.ts +0 -1
  85. package/build/internal/cjs/index.typings.js +0 -18
  86. package/build/internal/cjs/index.typings.js.map +0 -1
  87. package/build/internal/cjs/meta.d.ts +0 -1
  88. package/build/internal/cjs/meta.js +0 -18
  89. package/build/internal/cjs/meta.js.map +0 -1
  90. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.d.ts +0 -28
  91. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js +0 -35
  92. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js.map +0 -1
  93. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.d.ts +0 -48
  94. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js +0 -353
  95. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js.map +0 -1
  96. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.d.ts +0 -28
  97. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js +0 -180
  98. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js.map +0 -1
  99. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.d.ts +0 -93
  100. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js +0 -93
  101. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js.map +0 -1
  102. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.d.ts +0 -570
  103. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js +0 -37
  104. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js.map +0 -1
  105. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.d.ts +0 -880
  106. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js +0 -384
  107. package/build/internal/cjs/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js.map +0 -1
  108. package/build/internal/es/index.d.ts +0 -1
  109. package/build/internal/es/index.js +0 -2
  110. package/build/internal/es/index.js.map +0 -1
  111. package/build/internal/es/index.typings.d.ts +0 -1
  112. package/build/internal/es/index.typings.js +0 -2
  113. package/build/internal/es/index.typings.js.map +0 -1
  114. package/build/internal/es/meta.d.ts +0 -1
  115. package/build/internal/es/meta.js +0 -2
  116. package/build/internal/es/meta.js.map +0 -1
  117. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.d.ts +0 -28
  118. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js +0 -28
  119. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.context.js.map +0 -1
  120. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.d.ts +0 -48
  121. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js +0 -342
  122. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.http.js.map +0 -1
  123. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.d.ts +0 -28
  124. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js +0 -146
  125. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.meta.js.map +0 -1
  126. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.d.ts +0 -93
  127. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js +0 -78
  128. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.public.js.map +0 -1
  129. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.d.ts +0 -570
  130. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js +0 -34
  131. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.types.js.map +0 -1
  132. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.d.ts +0 -880
  133. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js +0 -350
  134. package/build/internal/es/src/loyalty-v1-loyalty-earning-rule-earning-rules.universal.js.map +0 -1
@@ -1,78 +0,0 @@
1
- import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';
2
- import { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';
3
- import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
4
- import { EventDefinition } from '@wix/sdk-types';
5
- import { bulkCreateLoyaltyEarningRules as universalBulkCreateLoyaltyEarningRules, createCustomLoyaltyEarningRule as universalCreateCustomLoyaltyEarningRule, createLoyaltyEarningRule as universalCreateLoyaltyEarningRule, deleteAutomationEarningRule as universalDeleteAutomationEarningRule, deleteLoyaltyEarningRule as universalDeleteLoyaltyEarningRule, getLoyaltyEarningRule as universalGetLoyaltyEarningRule, listEarningRules as universalListEarningRules, updateLoyaltyEarningRule as universalUpdateLoyaltyEarningRule, } from './loyalty-v1-loyalty-earning-rule-earning-rules.universal.js';
6
- export const __metadata = { PACKAGE_NAME: '@wix/loyalty' };
7
- export function createLoyaltyEarningRule(httpClient) {
8
- return (earningRule) => universalCreateLoyaltyEarningRule(earningRule,
9
- // @ts-ignore
10
- { httpClient });
11
- }
12
- export function bulkCreateLoyaltyEarningRules(httpClient) {
13
- return (earningRules) => universalBulkCreateLoyaltyEarningRules(earningRules,
14
- // @ts-ignore
15
- { httpClient });
16
- }
17
- export function createCustomLoyaltyEarningRule(httpClient) {
18
- return (type, options) => universalCreateCustomLoyaltyEarningRule(type, options,
19
- // @ts-ignore
20
- { httpClient });
21
- }
22
- export function getLoyaltyEarningRule(httpClient) {
23
- return (_id) => universalGetLoyaltyEarningRule(_id,
24
- // @ts-ignore
25
- { httpClient });
26
- }
27
- export function updateLoyaltyEarningRule(httpClient) {
28
- return (_id, earningRule) => universalUpdateLoyaltyEarningRule(_id, earningRule,
29
- // @ts-ignore
30
- { httpClient });
31
- }
32
- export function deleteLoyaltyEarningRule(httpClient) {
33
- return (_id, options) => universalDeleteLoyaltyEarningRule(_id, options,
34
- // @ts-ignore
35
- { httpClient });
36
- }
37
- export function deleteAutomationEarningRule(httpClient) {
38
- return (_id) => universalDeleteAutomationEarningRule(_id,
39
- // @ts-ignore
40
- { httpClient });
41
- }
42
- export function listEarningRules(httpClient) {
43
- return (options) => universalListEarningRules(options,
44
- // @ts-ignore
45
- { httpClient });
46
- }
47
- export const onLoyaltyEarningRuleCreated = EventDefinition('wix.loyalty.v1.loyalty_earning_rule_created', true, (event) => renameKeysFromRESTResponseToSDKResponse(transformPaths(event, [
48
- {
49
- transformFn: transformRESTTimestampToSDKTimestamp,
50
- paths: [
51
- { path: 'entity.createdDate' },
52
- { path: 'entity.updatedDate' },
53
- { path: 'metadata.eventTime' },
54
- ],
55
- },
56
- ])))();
57
- export const onLoyaltyEarningRuleDeleted = EventDefinition('wix.loyalty.v1.loyalty_earning_rule_deleted', true, (event) => renameKeysFromRESTResponseToSDKResponse(transformPaths(event, [
58
- {
59
- transformFn: transformRESTTimestampToSDKTimestamp,
60
- paths: [
61
- { path: 'undefined.createdDate' },
62
- { path: 'undefined.updatedDate' },
63
- { path: 'metadata.eventTime' },
64
- ],
65
- },
66
- ])))();
67
- export const onLoyaltyEarningRuleUpdated = EventDefinition('wix.loyalty.v1.loyalty_earning_rule_updated', true, (event) => renameKeysFromRESTResponseToSDKResponse(transformPaths(event, [
68
- {
69
- transformFn: transformRESTTimestampToSDKTimestamp,
70
- paths: [
71
- { path: 'entity.createdDate' },
72
- { path: 'entity.updatedDate' },
73
- { path: 'metadata.eventTime' },
74
- ],
75
- },
76
- ])))();
77
- export { LoyaltyEarningRuleTypeTagType, Status, Type, WebhookIdentityType, } from './loyalty-v1-loyalty-earning-rule-earning-rules.universal.js';
78
- //# sourceMappingURL=loyalty-v1-loyalty-earning-rule-earning-rules.public.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loyalty-v1-loyalty-earning-rule-earning-rules.public.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-loyalty-earning-rule-earning-rules.public.ts"],"names":[],"mappings":"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"}
@@ -1,570 +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
- export 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
- export 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
- export interface FixedAmount {
71
- /**
72
- * Fixed amount configurations for each tier.
73
- * @maxSize 21
74
- */
75
- configs?: FixedAmountConfig[];
76
- }
77
- export 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
- export 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
- export 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
- export 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
- export interface Metadata {
145
- /** Whether the earning rule can be deleted. */
146
- canBeDeleted?: boolean;
147
- }
148
- export interface LoyaltyEarningRuleTypeTag {
149
- /** Type of custom earning rule. */
150
- ruleType?: LoyaltyEarningRuleTypeTagType;
151
- }
152
- export declare enum LoyaltyEarningRuleTypeTagType {
153
- /** Type is unknown or not specified. */
154
- UNKNOWN_TYPE = "UNKNOWN_TYPE",
155
- /** Earning rule for a customer's birthday. */
156
- BIRTHDAY = "BIRTHDAY"
157
- }
158
- export interface EarningRuleDisabled {
159
- }
160
- export interface CreateLoyaltyEarningRuleRequest {
161
- /** Earning rule to create. */
162
- earningRule: LoyaltyEarningRule;
163
- }
164
- export interface CreateLoyaltyEarningRuleResponse {
165
- /** Created earning rule. */
166
- earningRule?: LoyaltyEarningRule;
167
- }
168
- export interface BulkCreateLoyaltyEarningRulesRequest {
169
- /**
170
- * Earning rules to create.
171
- * @minSize 1
172
- * @maxSize 100
173
- */
174
- earningRules: LoyaltyEarningRule[];
175
- }
176
- export interface BulkCreateLoyaltyEarningRulesResponse {
177
- /** Created earning rules. */
178
- results?: BulkLoyaltyEarningRuleResult[];
179
- /** Additional metadata for the created earning rules. */
180
- bulkActionMetadata?: BulkActionMetadata;
181
- }
182
- export interface BulkLoyaltyEarningRuleResult {
183
- /** Additional metadata for the created earning rules. */
184
- itemMetadata?: ItemMetadata;
185
- /** Created earning rule. */
186
- item?: LoyaltyEarningRule;
187
- }
188
- export interface ItemMetadata {
189
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
190
- id?: string | null;
191
- /** Index of the item within the request array. Allows for correlation between request and response items. */
192
- originalIndex?: number;
193
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
194
- success?: boolean;
195
- /** Details about the error in case of failure. */
196
- error?: ApplicationError;
197
- }
198
- export interface ApplicationError {
199
- /** Error code. */
200
- code?: string;
201
- /** Description of the error. */
202
- description?: string;
203
- /** Data related to the error. */
204
- data?: Record<string, any> | null;
205
- }
206
- export interface BulkActionMetadata {
207
- /** Number of items that were successfully processed. */
208
- totalSuccesses?: number;
209
- /** Number of items that couldn't be processed. */
210
- totalFailures?: number;
211
- /** Number of failures without details because detailed failure threshold was exceeded. */
212
- undetailedFailures?: number;
213
- }
214
- export interface CreateCustomLoyaltyEarningRuleRequest {
215
- /** Type of the custom earning rule. */
216
- type: Type;
217
- /** Custom earning rule to create. */
218
- earningRule?: CustomLoyaltyEarningRule;
219
- }
220
- export declare enum Type {
221
- /** Unknown type. This value is not used. */
222
- UNKNOWN_TYPE = "UNKNOWN_TYPE",
223
- /** Earning rule for social media. */
224
- SOCIAL_MEDIA = "SOCIAL_MEDIA",
225
- /** Earning rule for birthdays. */
226
- BIRTHDAY = "BIRTHDAY"
227
- }
228
- /** Used in CreateCustomLoyaltyEarningRuleRequest */
229
- export interface CustomLoyaltyEarningRule extends CustomLoyaltyEarningRuleTypeOneOf {
230
- /** Fixed amount of points awarded for each qualifying activity. */
231
- fixedAmount?: FixedAmount;
232
- /** Points awarded based on a conversion rate formula: `(amount spent) / (money_amount * points)`. */
233
- conversionRate?: ConversionRate;
234
- /**
235
- * Name of the earning rule.
236
- * @minLength 1
237
- * @maxLength 50
238
- */
239
- title?: string;
240
- }
241
- /** @oneof */
242
- export interface CustomLoyaltyEarningRuleTypeOneOf {
243
- /** Fixed amount of points awarded for each qualifying activity. */
244
- fixedAmount?: FixedAmount;
245
- /** Points awarded based on a conversion rate formula: `(amount spent) / (money_amount * points)`. */
246
- conversionRate?: ConversionRate;
247
- }
248
- export interface CreateCustomLoyaltyEarningRuleResponse {
249
- /** Created earning rule. */
250
- earningRule?: LoyaltyEarningRule;
251
- }
252
- export interface GetLoyaltyEarningRuleRequest {
253
- /**
254
- * ID of the earning rule to retrieve.
255
- * @format GUID
256
- */
257
- id: string;
258
- }
259
- export interface GetLoyaltyEarningRuleResponse {
260
- /** Retrieved earning rule. */
261
- earningRule?: LoyaltyEarningRule;
262
- }
263
- export interface UpdateLoyaltyEarningRuleRequest {
264
- /** Earning rule to update. */
265
- earningRule: LoyaltyEarningRule;
266
- }
267
- export interface UpdateLoyaltyEarningRuleResponse {
268
- /** The updated earning rule. */
269
- earningRule?: LoyaltyEarningRule;
270
- }
271
- export interface DeleteLoyaltyEarningRuleRequest {
272
- /**
273
- * ID of the earning rule to delete.
274
- * @format GUID
275
- */
276
- id: string;
277
- /**
278
- * Revision of the earning rule. Incremented by 1 each time the earning rule is updated.
279
- * Pass the latest revision when updating to prevent conflicting changes.
280
- */
281
- revision?: string;
282
- }
283
- export interface DeleteLoyaltyEarningRuleResponse {
284
- }
285
- export interface DeleteAutomationEarningRuleRequest {
286
- /**
287
- * ID of the earning rule to delete.
288
- * @format GUID
289
- */
290
- id: string;
291
- }
292
- export interface DeleteAutomationEarningRuleResponse {
293
- }
294
- export interface ListEarningRulesRequest {
295
- /** App ID that triggers the point assignment. For example, `9a5d83fd-8570-482e-81ab-cfa88942ee60`. */
296
- triggerAppId?: string | null;
297
- /** Type of activity that triggers the point assignment. For example, `restaurants-order-is-pending`. */
298
- triggerActivityType?: string | null;
299
- }
300
- export interface ListEarningRulesResponse {
301
- /** Retrieved earning rules. */
302
- earningRules?: LoyaltyEarningRule[];
303
- }
304
- export interface ListEarningRulesInTierRequest {
305
- /**
306
- * ID of the tier for which the earning rules will be returned.
307
- * @format GUID
308
- */
309
- tierId?: string | null;
310
- /** Pagination options. */
311
- paging?: CursorPaging;
312
- }
313
- export interface CursorPaging {
314
- /**
315
- * Maximum number of items to return in the results.
316
- * @max 100
317
- */
318
- limit?: number | null;
319
- /**
320
- * Pointer to the next or previous page in the list of results.
321
- *
322
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
323
- * Not relevant for the first request.
324
- * @maxLength 16000
325
- */
326
- cursor?: string | null;
327
- }
328
- export interface ListEarningRulesInTierResponse {
329
- /** Retrieved earning rules. */
330
- earningRules?: LoyaltyEarningRule[];
331
- /** Details on the paged set of results returned. */
332
- pagingMetadata?: PagingMetadataV2;
333
- }
334
- export interface PagingMetadataV2 {
335
- /** Number of items returned in the response. */
336
- count?: number | null;
337
- /** Offset that was requested. */
338
- offset?: number | null;
339
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
340
- total?: number | null;
341
- /** Flag that indicates the server failed to calculate the `total` field. */
342
- tooManyToCount?: boolean | null;
343
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
344
- cursors?: Cursors;
345
- }
346
- export interface Cursors {
347
- /**
348
- * Cursor string pointing to the next page in the list of results.
349
- * @maxLength 16000
350
- */
351
- next?: string | null;
352
- /**
353
- * Cursor pointing to the previous page in the list of results.
354
- * @maxLength 16000
355
- */
356
- prev?: string | null;
357
- }
358
- export interface DomainEvent extends DomainEventBodyOneOf {
359
- createdEvent?: EntityCreatedEvent;
360
- updatedEvent?: EntityUpdatedEvent;
361
- deletedEvent?: EntityDeletedEvent;
362
- actionEvent?: ActionEvent;
363
- /**
364
- * Unique event ID.
365
- * Allows clients to ignore duplicate webhooks.
366
- */
367
- id?: string;
368
- /**
369
- * Assumes actions are also always typed to an entity_type
370
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
371
- */
372
- entityFqdn?: string;
373
- /**
374
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
375
- * This is although the created/updated/deleted notion is duplication of the oneof types
376
- * Example: created/updated/deleted/started/completed/email_opened
377
- */
378
- slug?: string;
379
- /** ID of the entity associated with the event. */
380
- entityId?: string;
381
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
382
- eventTime?: Date | null;
383
- /**
384
- * Whether the event was triggered as a result of a privacy regulation application
385
- * (for example, GDPR).
386
- */
387
- triggeredByAnonymizeRequest?: boolean | null;
388
- /** If present, indicates the action that triggered the event. */
389
- originatedFrom?: string | null;
390
- /**
391
- * A sequence number defining the order of updates to the underlying entity.
392
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
393
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
394
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
395
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
396
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
397
- */
398
- entityEventSequence?: string | null;
399
- }
400
- /** @oneof */
401
- export interface DomainEventBodyOneOf {
402
- createdEvent?: EntityCreatedEvent;
403
- updatedEvent?: EntityUpdatedEvent;
404
- deletedEvent?: EntityDeletedEvent;
405
- actionEvent?: ActionEvent;
406
- }
407
- export interface EntityCreatedEvent {
408
- entityAsJson?: string;
409
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
410
- restoreInfo?: RestoreInfo;
411
- }
412
- export interface RestoreInfo {
413
- deletedDate?: Date | null;
414
- }
415
- export interface EntityUpdatedEvent {
416
- /**
417
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
418
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
419
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
420
- */
421
- currentEntityAsJson?: string;
422
- }
423
- export interface EntityDeletedEvent {
424
- /** Entity that was deleted */
425
- deletedEntityAsJson?: string | null;
426
- }
427
- export interface ActionEvent {
428
- bodyAsJson?: string;
429
- }
430
- export interface Empty {
431
- }
432
- export interface MessageEnvelope {
433
- /**
434
- * App instance ID.
435
- * @format GUID
436
- */
437
- instanceId?: string | null;
438
- /**
439
- * Event type.
440
- * @maxLength 150
441
- */
442
- eventType?: string;
443
- /** The identification type and identity data. */
444
- identity?: IdentificationData;
445
- /** Stringify payload. */
446
- data?: string;
447
- }
448
- export interface IdentificationData extends IdentificationDataIdOneOf {
449
- /**
450
- * ID of a site visitor that has not logged in to the site.
451
- * @format GUID
452
- */
453
- anonymousVisitorId?: string;
454
- /**
455
- * ID of a site visitor that has logged in to the site.
456
- * @format GUID
457
- */
458
- memberId?: string;
459
- /**
460
- * ID of a Wix user (site owner, contributor, etc.).
461
- * @format GUID
462
- */
463
- wixUserId?: string;
464
- /**
465
- * ID of an app.
466
- * @format GUID
467
- */
468
- appId?: string;
469
- /** @readonly */
470
- identityType?: WebhookIdentityType;
471
- }
472
- /** @oneof */
473
- export interface IdentificationDataIdOneOf {
474
- /**
475
- * ID of a site visitor that has not logged in to the site.
476
- * @format GUID
477
- */
478
- anonymousVisitorId?: string;
479
- /**
480
- * ID of a site visitor that has logged in to the site.
481
- * @format GUID
482
- */
483
- memberId?: string;
484
- /**
485
- * ID of a Wix user (site owner, contributor, etc.).
486
- * @format GUID
487
- */
488
- wixUserId?: string;
489
- /**
490
- * ID of an app.
491
- * @format GUID
492
- */
493
- appId?: string;
494
- }
495
- export declare enum WebhookIdentityType {
496
- UNKNOWN = "UNKNOWN",
497
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
498
- MEMBER = "MEMBER",
499
- WIX_USER = "WIX_USER",
500
- APP = "APP"
501
- }
502
- interface FixedAmountConfigNonNullableFields {
503
- points: number;
504
- }
505
- interface FixedAmountNonNullableFields {
506
- configs: FixedAmountConfigNonNullableFields[];
507
- }
508
- interface ConversionRateConfigNonNullableFields {
509
- moneyAmount: number;
510
- points: number;
511
- }
512
- interface ConversionRateNonNullableFields {
513
- configs: ConversionRateConfigNonNullableFields[];
514
- }
515
- interface LoyaltyEarningRuleTypeTagNonNullableFields {
516
- ruleType: LoyaltyEarningRuleTypeTagType;
517
- }
518
- interface MetadataNonNullableFields {
519
- canBeDeleted: boolean;
520
- /** @internal */
521
- ruleTypeTag?: LoyaltyEarningRuleTypeTagNonNullableFields;
522
- }
523
- interface LoyaltyEarningRuleNonNullableFields {
524
- fixedAmount?: FixedAmountNonNullableFields;
525
- conversionRate?: ConversionRateNonNullableFields;
526
- sourceAppId: string;
527
- triggerAppId: string;
528
- triggerActivityType: string;
529
- title: string;
530
- status: Status;
531
- metadata?: MetadataNonNullableFields;
532
- }
533
- export interface CreateLoyaltyEarningRuleResponseNonNullableFields {
534
- earningRule?: LoyaltyEarningRuleNonNullableFields;
535
- }
536
- interface ApplicationErrorNonNullableFields {
537
- code: string;
538
- description: string;
539
- }
540
- interface ItemMetadataNonNullableFields {
541
- originalIndex: number;
542
- success: boolean;
543
- error?: ApplicationErrorNonNullableFields;
544
- }
545
- interface BulkLoyaltyEarningRuleResultNonNullableFields {
546
- itemMetadata?: ItemMetadataNonNullableFields;
547
- item?: LoyaltyEarningRuleNonNullableFields;
548
- }
549
- interface BulkActionMetadataNonNullableFields {
550
- totalSuccesses: number;
551
- totalFailures: number;
552
- undetailedFailures: number;
553
- }
554
- export interface BulkCreateLoyaltyEarningRulesResponseNonNullableFields {
555
- results: BulkLoyaltyEarningRuleResultNonNullableFields[];
556
- bulkActionMetadata?: BulkActionMetadataNonNullableFields;
557
- }
558
- export interface CreateCustomLoyaltyEarningRuleResponseNonNullableFields {
559
- earningRule?: LoyaltyEarningRuleNonNullableFields;
560
- }
561
- export interface GetLoyaltyEarningRuleResponseNonNullableFields {
562
- earningRule?: LoyaltyEarningRuleNonNullableFields;
563
- }
564
- export interface UpdateLoyaltyEarningRuleResponseNonNullableFields {
565
- earningRule?: LoyaltyEarningRuleNonNullableFields;
566
- }
567
- export interface ListEarningRulesResponseNonNullableFields {
568
- earningRules: LoyaltyEarningRuleNonNullableFields[];
569
- }
570
- export {};
@@ -1,34 +0,0 @@
1
- export var Status;
2
- (function (Status) {
3
- /** Status is unknown or not specified. */
4
- Status["UNKNOWN"] = "UNKNOWN";
5
- /** Earning rule is active and can assign points. */
6
- Status["ACTIVE"] = "ACTIVE";
7
- /** Earning rule is paused and can't assign points. */
8
- Status["PAUSED"] = "PAUSED";
9
- })(Status || (Status = {}));
10
- export var LoyaltyEarningRuleTypeTagType;
11
- (function (LoyaltyEarningRuleTypeTagType) {
12
- /** Type is unknown or not specified. */
13
- LoyaltyEarningRuleTypeTagType["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
14
- /** Earning rule for a customer's birthday. */
15
- LoyaltyEarningRuleTypeTagType["BIRTHDAY"] = "BIRTHDAY";
16
- })(LoyaltyEarningRuleTypeTagType || (LoyaltyEarningRuleTypeTagType = {}));
17
- export var Type;
18
- (function (Type) {
19
- /** Unknown type. This value is not used. */
20
- Type["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
21
- /** Earning rule for social media. */
22
- Type["SOCIAL_MEDIA"] = "SOCIAL_MEDIA";
23
- /** Earning rule for birthdays. */
24
- Type["BIRTHDAY"] = "BIRTHDAY";
25
- })(Type || (Type = {}));
26
- export var WebhookIdentityType;
27
- (function (WebhookIdentityType) {
28
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
29
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
30
- WebhookIdentityType["MEMBER"] = "MEMBER";
31
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
32
- WebhookIdentityType["APP"] = "APP";
33
- })(WebhookIdentityType || (WebhookIdentityType = {}));
34
- //# sourceMappingURL=loyalty-v1-loyalty-earning-rule-earning-rules.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loyalty-v1-loyalty-earning-rule-earning-rules.types.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-loyalty-earning-rule-earning-rules.types.ts"],"names":[],"mappings":"AA6IA,MAAM,CAAN,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,0CAA0C;IAC1C,6BAAmB,CAAA;IACnB,oDAAoD;IACpD,2BAAiB,CAAA;IACjB,sDAAsD;IACtD,2BAAiB,CAAA;AACnB,CAAC,EAPW,MAAM,KAAN,MAAM,QAOjB;AAYD,MAAM,CAAN,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,wCAAwC;IACxC,8DAA6B,CAAA;IAC7B,8CAA8C;IAC9C,sDAAqB,CAAA;AACvB,CAAC,EALW,6BAA6B,KAA7B,6BAA6B,QAKxC;AAyED,MAAM,CAAN,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,4CAA4C;IAC5C,qCAA6B,CAAA;IAC7B,qCAAqC;IACrC,qCAA6B,CAAA;IAC7B,kCAAkC;IAClC,6BAAqB,CAAA;AACvB,CAAC,EAPW,IAAI,KAAJ,IAAI,QAOf;AAwSD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}