@wix/auto_sdk_loyalty_programs 1.0.54 → 1.0.56

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 (46) hide show
  1. package/build/cjs/index.js +0 -2
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +2 -6
  4. package/build/cjs/index.typings.js +0 -2
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +2 -6
  7. package/build/cjs/meta.js +0 -2
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.d.ts +259 -0
  10. package/build/cjs/schemas.js +337 -0
  11. package/build/cjs/schemas.js.map +1 -0
  12. package/build/es/index.mjs +0 -2
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +2 -6
  15. package/build/es/index.typings.mjs +0 -2
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +2 -6
  18. package/build/es/meta.mjs +0 -2
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/schemas.d.mts +259 -0
  21. package/build/es/schemas.mjs +285 -0
  22. package/build/es/schemas.mjs.map +1 -0
  23. package/build/internal/cjs/index.js +0 -2
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -6
  26. package/build/internal/cjs/index.typings.js +0 -2
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +2 -6
  29. package/build/internal/cjs/meta.js +0 -2
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/cjs/schemas.d.ts +259 -0
  32. package/build/internal/cjs/schemas.js +337 -0
  33. package/build/internal/cjs/schemas.js.map +1 -0
  34. package/build/internal/es/index.mjs +0 -2
  35. package/build/internal/es/index.mjs.map +1 -1
  36. package/build/internal/es/index.typings.d.mts +2 -6
  37. package/build/internal/es/index.typings.mjs +0 -2
  38. package/build/internal/es/index.typings.mjs.map +1 -1
  39. package/build/internal/es/meta.d.mts +2 -6
  40. package/build/internal/es/meta.mjs +0 -2
  41. package/build/internal/es/meta.mjs.map +1 -1
  42. package/build/internal/es/schemas.d.mts +259 -0
  43. package/build/internal/es/schemas.mjs +285 -0
  44. package/build/internal/es/schemas.mjs.map +1 -0
  45. package/package.json +12 -5
  46. package/schemas/package.json +3 -0
@@ -0,0 +1,259 @@
1
+ import * as z from 'zod';
2
+
3
+ declare const GetLoyaltyProgramRequest: z.ZodObject<{}, z.core.$strip>;
4
+ declare const GetLoyaltyProgramResponse: z.ZodObject<{
5
+ loyaltyProgram: z.ZodOptional<z.ZodObject<{
6
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
+ pointDefinition: z.ZodOptional<z.ZodObject<{
8
+ customName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9
+ icon: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ status: z.ZodOptional<z.ZodEnum<{
12
+ UNKNOWN: "UNKNOWN";
13
+ DRAFT: "DRAFT";
14
+ ACTIVE: "ACTIVE";
15
+ PAUSED: "PAUSED";
16
+ }>>;
17
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
18
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
19
+ pointsExpiration: z.ZodOptional<z.ZodObject<{
20
+ status: z.ZodOptional<z.ZodEnum<{
21
+ DISABLED: "DISABLED";
22
+ ENABLED: "ENABLED";
23
+ }>>;
24
+ monthsOfInactivity: z.ZodOptional<z.ZodNumber>;
25
+ expiringPointsPercentage: z.ZodOptional<z.ZodNumber>;
26
+ }, z.core.$strip>>;
27
+ premiumFeatures: z.ZodOptional<z.ZodObject<{
28
+ loyaltyProgram: z.ZodOptional<z.ZodBoolean>;
29
+ tiers: z.ZodOptional<z.ZodBoolean>;
30
+ pointsExpiration: z.ZodOptional<z.ZodBoolean>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>>;
33
+ }, z.core.$strip>;
34
+ declare const BulkGetLoyaltyProgramRequest: z.ZodObject<{}, z.core.$strip>;
35
+ declare const BulkGetLoyaltyProgramResponse: z.ZodObject<{
36
+ programInSites: z.ZodOptional<z.ZodArray<z.ZodObject<{
37
+ metaSiteId: z.ZodOptional<z.ZodString>;
38
+ loyaltyProgram: z.ZodOptional<z.ZodObject<{
39
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
+ pointDefinition: z.ZodOptional<z.ZodObject<{
41
+ customName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42
+ icon: z.ZodOptional<z.ZodString>;
43
+ }, z.core.$strip>>;
44
+ status: z.ZodOptional<z.ZodEnum<{
45
+ UNKNOWN: "UNKNOWN";
46
+ DRAFT: "DRAFT";
47
+ ACTIVE: "ACTIVE";
48
+ PAUSED: "PAUSED";
49
+ }>>;
50
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
51
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
52
+ pointsExpiration: z.ZodOptional<z.ZodObject<{
53
+ status: z.ZodOptional<z.ZodEnum<{
54
+ DISABLED: "DISABLED";
55
+ ENABLED: "ENABLED";
56
+ }>>;
57
+ monthsOfInactivity: z.ZodOptional<z.ZodNumber>;
58
+ expiringPointsPercentage: z.ZodOptional<z.ZodNumber>;
59
+ }, z.core.$strip>>;
60
+ premiumFeatures: z.ZodOptional<z.ZodObject<{
61
+ loyaltyProgram: z.ZodOptional<z.ZodBoolean>;
62
+ tiers: z.ZodOptional<z.ZodBoolean>;
63
+ pointsExpiration: z.ZodOptional<z.ZodBoolean>;
64
+ }, z.core.$strip>>;
65
+ }, z.core.$strip>>;
66
+ }, z.core.$strip>>>;
67
+ }, z.core.$strip>;
68
+ declare const UpdateLoyaltyProgramRequest: z.ZodObject<{
69
+ loyaltyProgram: z.ZodObject<{
70
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
+ pointDefinition: z.ZodOptional<z.ZodObject<{
72
+ customName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
+ icon: z.ZodOptional<z.ZodString>;
74
+ }, z.core.$strip>>;
75
+ status: z.ZodOptional<z.ZodEnum<{
76
+ UNKNOWN: "UNKNOWN";
77
+ DRAFT: "DRAFT";
78
+ ACTIVE: "ACTIVE";
79
+ PAUSED: "PAUSED";
80
+ }>>;
81
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
82
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
83
+ pointsExpiration: z.ZodOptional<z.ZodObject<{
84
+ status: z.ZodOptional<z.ZodEnum<{
85
+ DISABLED: "DISABLED";
86
+ ENABLED: "ENABLED";
87
+ }>>;
88
+ monthsOfInactivity: z.ZodOptional<z.ZodNumber>;
89
+ expiringPointsPercentage: z.ZodOptional<z.ZodNumber>;
90
+ }, z.core.$strip>>;
91
+ premiumFeatures: z.ZodOptional<z.ZodObject<{
92
+ loyaltyProgram: z.ZodOptional<z.ZodBoolean>;
93
+ tiers: z.ZodOptional<z.ZodBoolean>;
94
+ pointsExpiration: z.ZodOptional<z.ZodBoolean>;
95
+ }, z.core.$strip>>;
96
+ }, z.core.$strip>;
97
+ }, z.core.$strip>;
98
+ declare const UpdateLoyaltyProgramResponse: z.ZodObject<{
99
+ loyaltyProgram: z.ZodOptional<z.ZodObject<{
100
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
101
+ pointDefinition: z.ZodOptional<z.ZodObject<{
102
+ customName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
103
+ icon: z.ZodOptional<z.ZodString>;
104
+ }, z.core.$strip>>;
105
+ status: z.ZodOptional<z.ZodEnum<{
106
+ UNKNOWN: "UNKNOWN";
107
+ DRAFT: "DRAFT";
108
+ ACTIVE: "ACTIVE";
109
+ PAUSED: "PAUSED";
110
+ }>>;
111
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
112
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
113
+ pointsExpiration: z.ZodOptional<z.ZodObject<{
114
+ status: z.ZodOptional<z.ZodEnum<{
115
+ DISABLED: "DISABLED";
116
+ ENABLED: "ENABLED";
117
+ }>>;
118
+ monthsOfInactivity: z.ZodOptional<z.ZodNumber>;
119
+ expiringPointsPercentage: z.ZodOptional<z.ZodNumber>;
120
+ }, z.core.$strip>>;
121
+ premiumFeatures: z.ZodOptional<z.ZodObject<{
122
+ loyaltyProgram: z.ZodOptional<z.ZodBoolean>;
123
+ tiers: z.ZodOptional<z.ZodBoolean>;
124
+ pointsExpiration: z.ZodOptional<z.ZodBoolean>;
125
+ }, z.core.$strip>>;
126
+ }, z.core.$strip>>;
127
+ }, z.core.$strip>;
128
+ declare const ActivateLoyaltyProgramRequest: z.ZodObject<{}, z.core.$strip>;
129
+ declare const ActivateLoyaltyProgramResponse: z.ZodObject<{
130
+ loyaltyProgram: z.ZodOptional<z.ZodObject<{
131
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
+ pointDefinition: z.ZodOptional<z.ZodObject<{
133
+ customName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
134
+ icon: z.ZodOptional<z.ZodString>;
135
+ }, z.core.$strip>>;
136
+ status: z.ZodOptional<z.ZodEnum<{
137
+ UNKNOWN: "UNKNOWN";
138
+ DRAFT: "DRAFT";
139
+ ACTIVE: "ACTIVE";
140
+ PAUSED: "PAUSED";
141
+ }>>;
142
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
143
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
144
+ pointsExpiration: z.ZodOptional<z.ZodObject<{
145
+ status: z.ZodOptional<z.ZodEnum<{
146
+ DISABLED: "DISABLED";
147
+ ENABLED: "ENABLED";
148
+ }>>;
149
+ monthsOfInactivity: z.ZodOptional<z.ZodNumber>;
150
+ expiringPointsPercentage: z.ZodOptional<z.ZodNumber>;
151
+ }, z.core.$strip>>;
152
+ premiumFeatures: z.ZodOptional<z.ZodObject<{
153
+ loyaltyProgram: z.ZodOptional<z.ZodBoolean>;
154
+ tiers: z.ZodOptional<z.ZodBoolean>;
155
+ pointsExpiration: z.ZodOptional<z.ZodBoolean>;
156
+ }, z.core.$strip>>;
157
+ }, z.core.$strip>>;
158
+ }, z.core.$strip>;
159
+ declare const PauseLoyaltyProgramRequest: z.ZodObject<{}, z.core.$strip>;
160
+ declare const PauseLoyaltyProgramResponse: z.ZodObject<{
161
+ loyaltyProgram: z.ZodOptional<z.ZodObject<{
162
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
+ pointDefinition: z.ZodOptional<z.ZodObject<{
164
+ customName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
165
+ icon: z.ZodOptional<z.ZodString>;
166
+ }, z.core.$strip>>;
167
+ status: z.ZodOptional<z.ZodEnum<{
168
+ UNKNOWN: "UNKNOWN";
169
+ DRAFT: "DRAFT";
170
+ ACTIVE: "ACTIVE";
171
+ PAUSED: "PAUSED";
172
+ }>>;
173
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
174
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
175
+ pointsExpiration: z.ZodOptional<z.ZodObject<{
176
+ status: z.ZodOptional<z.ZodEnum<{
177
+ DISABLED: "DISABLED";
178
+ ENABLED: "ENABLED";
179
+ }>>;
180
+ monthsOfInactivity: z.ZodOptional<z.ZodNumber>;
181
+ expiringPointsPercentage: z.ZodOptional<z.ZodNumber>;
182
+ }, z.core.$strip>>;
183
+ premiumFeatures: z.ZodOptional<z.ZodObject<{
184
+ loyaltyProgram: z.ZodOptional<z.ZodBoolean>;
185
+ tiers: z.ZodOptional<z.ZodBoolean>;
186
+ pointsExpiration: z.ZodOptional<z.ZodBoolean>;
187
+ }, z.core.$strip>>;
188
+ }, z.core.$strip>>;
189
+ }, z.core.$strip>;
190
+ declare const GetLoyaltyProgramPremiumFeaturesRequest: z.ZodObject<{}, z.core.$strip>;
191
+ declare const GetLoyaltyProgramPremiumFeaturesResponse: z.ZodObject<{
192
+ loyaltyProgram: z.ZodOptional<z.ZodBoolean>;
193
+ tiers: z.ZodOptional<z.ZodBoolean>;
194
+ pointsExpiration: z.ZodOptional<z.ZodBoolean>;
195
+ }, z.core.$strip>;
196
+ declare const EnablePointsExpirationRequest: z.ZodObject<{}, z.core.$strip>;
197
+ declare const EnablePointsExpirationResponse: z.ZodObject<{
198
+ loyaltyProgram: z.ZodOptional<z.ZodObject<{
199
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
200
+ pointDefinition: z.ZodOptional<z.ZodObject<{
201
+ customName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
202
+ icon: z.ZodOptional<z.ZodString>;
203
+ }, z.core.$strip>>;
204
+ status: z.ZodOptional<z.ZodEnum<{
205
+ UNKNOWN: "UNKNOWN";
206
+ DRAFT: "DRAFT";
207
+ ACTIVE: "ACTIVE";
208
+ PAUSED: "PAUSED";
209
+ }>>;
210
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
211
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
212
+ pointsExpiration: z.ZodOptional<z.ZodObject<{
213
+ status: z.ZodOptional<z.ZodEnum<{
214
+ DISABLED: "DISABLED";
215
+ ENABLED: "ENABLED";
216
+ }>>;
217
+ monthsOfInactivity: z.ZodOptional<z.ZodNumber>;
218
+ expiringPointsPercentage: z.ZodOptional<z.ZodNumber>;
219
+ }, z.core.$strip>>;
220
+ premiumFeatures: z.ZodOptional<z.ZodObject<{
221
+ loyaltyProgram: z.ZodOptional<z.ZodBoolean>;
222
+ tiers: z.ZodOptional<z.ZodBoolean>;
223
+ pointsExpiration: z.ZodOptional<z.ZodBoolean>;
224
+ }, z.core.$strip>>;
225
+ }, z.core.$strip>>;
226
+ }, z.core.$strip>;
227
+ declare const DisablePointsExpirationRequest: z.ZodObject<{}, z.core.$strip>;
228
+ declare const DisablePointsExpirationResponse: z.ZodObject<{
229
+ loyaltyProgram: z.ZodOptional<z.ZodObject<{
230
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
231
+ pointDefinition: z.ZodOptional<z.ZodObject<{
232
+ customName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
233
+ icon: z.ZodOptional<z.ZodString>;
234
+ }, z.core.$strip>>;
235
+ status: z.ZodOptional<z.ZodEnum<{
236
+ UNKNOWN: "UNKNOWN";
237
+ DRAFT: "DRAFT";
238
+ ACTIVE: "ACTIVE";
239
+ PAUSED: "PAUSED";
240
+ }>>;
241
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
242
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
243
+ pointsExpiration: z.ZodOptional<z.ZodObject<{
244
+ status: z.ZodOptional<z.ZodEnum<{
245
+ DISABLED: "DISABLED";
246
+ ENABLED: "ENABLED";
247
+ }>>;
248
+ monthsOfInactivity: z.ZodOptional<z.ZodNumber>;
249
+ expiringPointsPercentage: z.ZodOptional<z.ZodNumber>;
250
+ }, z.core.$strip>>;
251
+ premiumFeatures: z.ZodOptional<z.ZodObject<{
252
+ loyaltyProgram: z.ZodOptional<z.ZodBoolean>;
253
+ tiers: z.ZodOptional<z.ZodBoolean>;
254
+ pointsExpiration: z.ZodOptional<z.ZodBoolean>;
255
+ }, z.core.$strip>>;
256
+ }, z.core.$strip>>;
257
+ }, z.core.$strip>;
258
+
259
+ export { ActivateLoyaltyProgramRequest, ActivateLoyaltyProgramResponse, BulkGetLoyaltyProgramRequest, BulkGetLoyaltyProgramResponse, DisablePointsExpirationRequest, DisablePointsExpirationResponse, EnablePointsExpirationRequest, EnablePointsExpirationResponse, GetLoyaltyProgramPremiumFeaturesRequest, GetLoyaltyProgramPremiumFeaturesResponse, GetLoyaltyProgramRequest, GetLoyaltyProgramResponse, PauseLoyaltyProgramRequest, PauseLoyaltyProgramResponse, UpdateLoyaltyProgramRequest, UpdateLoyaltyProgramResponse };
@@ -0,0 +1,285 @@
1
+ // src/loyalty-v1-program-programs.schemas.ts
2
+ import * as z from "zod";
3
+ var GetLoyaltyProgramRequest = z.object({});
4
+ var GetLoyaltyProgramResponse = z.object({
5
+ loyaltyProgram: z.object({
6
+ name: z.string().describe("Program name.").min(2).max(50).optional().nullable(),
7
+ pointDefinition: z.object({
8
+ customName: z.string().describe(
9
+ 'Display name for the program\'s collectible unit.\n\nIt\'s recommended to use a plural, for example `"Stars"`.\n\nIn contrast to a custom name, the default `"Points"` name is translated and adjusted to singular based on circumstances.\n\nDefault: `"Points"`.'
10
+ ).max(20).optional().nullable(),
11
+ icon: z.string().describe("Details about the points icon.").optional()
12
+ }).describe("Details about the program's collectible unit.").optional(),
13
+ status: z.enum(["UNKNOWN", "DRAFT", "ACTIVE", "PAUSED"]).describe(
14
+ 'Program status.\nCustomers can only earn or redeem points while the program is `"ACTIVE"`.\n\nDefault: `"DRAFT"`'
15
+ ).optional(),
16
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
17
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
18
+ pointsExpiration: z.object({
19
+ status: z.enum(["DISABLED", "ENABLED"]).describe("Status of the points expiration feature.").optional(),
20
+ monthsOfInactivity: z.number().int().describe(
21
+ "How many months a member should be inactive to lose the collected points."
22
+ ).min(1).max(12).optional(),
23
+ expiringPointsPercentage: z.number().int().describe(
24
+ "Percentage of points that a member loses after being inactive."
25
+ ).min(1).max(100).optional()
26
+ }).describe("Configuration for the points expiration feature.").optional(),
27
+ premiumFeatures: z.object({
28
+ loyaltyProgram: z.boolean().describe("Whether there are any loyalty program premium features.").optional(),
29
+ tiers: z.boolean().describe("Whether this loyalty program includes tiers.").optional(),
30
+ pointsExpiration: z.boolean().describe("Whether this loyalty program includes point expiration.").optional()
31
+ }).describe("Information about the available program premium features.").optional()
32
+ }).describe("Retrieved loyalty program.").optional()
33
+ });
34
+ var BulkGetLoyaltyProgramRequest = z.object({});
35
+ var BulkGetLoyaltyProgramResponse = z.object({
36
+ programInSites: z.array(
37
+ z.object({
38
+ metaSiteId: z.string().describe("Metasite ID.").regex(
39
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
40
+ "Must be a valid GUID"
41
+ ).optional(),
42
+ loyaltyProgram: z.object({
43
+ name: z.string().describe("Program name.").min(2).max(50).optional().nullable(),
44
+ pointDefinition: z.object({
45
+ customName: z.string().describe(
46
+ 'Display name for the program\'s collectible unit.\n\nIt\'s recommended to use a plural, for example `"Stars"`.\n\nIn contrast to a custom name, the default `"Points"` name is translated and adjusted to singular based on circumstances.\n\nDefault: `"Points"`.'
47
+ ).max(20).optional().nullable(),
48
+ icon: z.string().describe("Details about the points icon.").optional()
49
+ }).describe("Details about the program's collectible unit.").optional(),
50
+ status: z.enum(["UNKNOWN", "DRAFT", "ACTIVE", "PAUSED"]).describe(
51
+ 'Program status.\nCustomers can only earn or redeem points while the program is `"ACTIVE"`.\n\nDefault: `"DRAFT"`'
52
+ ).optional(),
53
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
54
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
55
+ pointsExpiration: z.object({
56
+ status: z.enum(["DISABLED", "ENABLED"]).describe("Status of the points expiration feature.").optional(),
57
+ monthsOfInactivity: z.number().int().describe(
58
+ "How many months a member should be inactive to lose the collected points."
59
+ ).min(1).max(12).optional(),
60
+ expiringPointsPercentage: z.number().int().describe(
61
+ "Percentage of points that a member loses after being inactive."
62
+ ).min(1).max(100).optional()
63
+ }).describe("Configuration for the points expiration feature.").optional(),
64
+ premiumFeatures: z.object({
65
+ loyaltyProgram: z.boolean().describe(
66
+ "Whether there are any loyalty program premium features."
67
+ ).optional(),
68
+ tiers: z.boolean().describe("Whether this loyalty program includes tiers.").optional(),
69
+ pointsExpiration: z.boolean().describe(
70
+ "Whether this loyalty program includes point expiration."
71
+ ).optional()
72
+ }).describe(
73
+ "Information about the available program premium features."
74
+ ).optional()
75
+ }).describe("Loyalty program.").optional()
76
+ })
77
+ ).optional()
78
+ });
79
+ var UpdateLoyaltyProgramRequest = z.object({
80
+ loyaltyProgram: z.object({
81
+ name: z.string().describe("Program name.").min(2).max(50).optional().nullable(),
82
+ pointDefinition: z.object({
83
+ customName: z.string().describe(
84
+ 'Display name for the program\'s collectible unit.\n\nIt\'s recommended to use a plural, for example `"Stars"`.\n\nIn contrast to a custom name, the default `"Points"` name is translated and adjusted to singular based on circumstances.\n\nDefault: `"Points"`.'
85
+ ).max(20).optional().nullable(),
86
+ icon: z.string().describe("Details about the points icon.").optional()
87
+ }).describe("Details about the program's collectible unit.").optional(),
88
+ status: z.enum(["UNKNOWN", "DRAFT", "ACTIVE", "PAUSED"]).optional(),
89
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
90
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
91
+ pointsExpiration: z.object({
92
+ status: z.enum(["DISABLED", "ENABLED"]).optional(),
93
+ monthsOfInactivity: z.number().int().describe(
94
+ "How many months a member should be inactive to lose the collected points."
95
+ ).min(1).max(12).optional(),
96
+ expiringPointsPercentage: z.number().int().describe(
97
+ "Percentage of points that a member loses after being inactive."
98
+ ).min(1).max(100).optional()
99
+ }).describe("Configuration for the points expiration feature.").optional(),
100
+ premiumFeatures: z.object({
101
+ loyaltyProgram: z.boolean().describe("Whether there are any loyalty program premium features.").optional(),
102
+ tiers: z.boolean().describe("Whether this loyalty program includes tiers.").optional(),
103
+ pointsExpiration: z.boolean().describe("Whether this loyalty program includes point expiration.").optional()
104
+ }).describe("Information about the available program premium features.").optional()
105
+ }).describe("Loyalty program fields to update.")
106
+ });
107
+ var UpdateLoyaltyProgramResponse = z.object({
108
+ loyaltyProgram: z.object({
109
+ name: z.string().describe("Program name.").min(2).max(50).optional().nullable(),
110
+ pointDefinition: z.object({
111
+ customName: z.string().describe(
112
+ 'Display name for the program\'s collectible unit.\n\nIt\'s recommended to use a plural, for example `"Stars"`.\n\nIn contrast to a custom name, the default `"Points"` name is translated and adjusted to singular based on circumstances.\n\nDefault: `"Points"`.'
113
+ ).max(20).optional().nullable(),
114
+ icon: z.string().describe("Details about the points icon.").optional()
115
+ }).describe("Details about the program's collectible unit.").optional(),
116
+ status: z.enum(["UNKNOWN", "DRAFT", "ACTIVE", "PAUSED"]).describe(
117
+ 'Program status.\nCustomers can only earn or redeem points while the program is `"ACTIVE"`.\n\nDefault: `"DRAFT"`'
118
+ ).optional(),
119
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
120
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
121
+ pointsExpiration: z.object({
122
+ status: z.enum(["DISABLED", "ENABLED"]).describe("Status of the points expiration feature.").optional(),
123
+ monthsOfInactivity: z.number().int().describe(
124
+ "How many months a member should be inactive to lose the collected points."
125
+ ).min(1).max(12).optional(),
126
+ expiringPointsPercentage: z.number().int().describe(
127
+ "Percentage of points that a member loses after being inactive."
128
+ ).min(1).max(100).optional()
129
+ }).describe("Configuration for the points expiration feature.").optional(),
130
+ premiumFeatures: z.object({
131
+ loyaltyProgram: z.boolean().describe("Whether there are any loyalty program premium features.").optional(),
132
+ tiers: z.boolean().describe("Whether this loyalty program includes tiers.").optional(),
133
+ pointsExpiration: z.boolean().describe("Whether this loyalty program includes point expiration.").optional()
134
+ }).describe("Information about the available program premium features.").optional()
135
+ }).describe("Updated loyalty program.").optional()
136
+ });
137
+ var ActivateLoyaltyProgramRequest = z.object({});
138
+ var ActivateLoyaltyProgramResponse = z.object({
139
+ loyaltyProgram: z.object({
140
+ name: z.string().describe("Program name.").min(2).max(50).optional().nullable(),
141
+ pointDefinition: z.object({
142
+ customName: z.string().describe(
143
+ 'Display name for the program\'s collectible unit.\n\nIt\'s recommended to use a plural, for example `"Stars"`.\n\nIn contrast to a custom name, the default `"Points"` name is translated and adjusted to singular based on circumstances.\n\nDefault: `"Points"`.'
144
+ ).max(20).optional().nullable(),
145
+ icon: z.string().describe("Details about the points icon.").optional()
146
+ }).describe("Details about the program's collectible unit.").optional(),
147
+ status: z.enum(["UNKNOWN", "DRAFT", "ACTIVE", "PAUSED"]).describe(
148
+ 'Program status.\nCustomers can only earn or redeem points while the program is `"ACTIVE"`.\n\nDefault: `"DRAFT"`'
149
+ ).optional(),
150
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
151
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
152
+ pointsExpiration: z.object({
153
+ status: z.enum(["DISABLED", "ENABLED"]).describe("Status of the points expiration feature.").optional(),
154
+ monthsOfInactivity: z.number().int().describe(
155
+ "How many months a member should be inactive to lose the collected points."
156
+ ).min(1).max(12).optional(),
157
+ expiringPointsPercentage: z.number().int().describe(
158
+ "Percentage of points that a member loses after being inactive."
159
+ ).min(1).max(100).optional()
160
+ }).describe("Configuration for the points expiration feature.").optional(),
161
+ premiumFeatures: z.object({
162
+ loyaltyProgram: z.boolean().describe("Whether there are any loyalty program premium features.").optional(),
163
+ tiers: z.boolean().describe("Whether this loyalty program includes tiers.").optional(),
164
+ pointsExpiration: z.boolean().describe("Whether this loyalty program includes point expiration.").optional()
165
+ }).describe("Information about the available program premium features.").optional()
166
+ }).describe("Activated loyalty program.").optional()
167
+ });
168
+ var PauseLoyaltyProgramRequest = z.object({});
169
+ var PauseLoyaltyProgramResponse = z.object({
170
+ loyaltyProgram: z.object({
171
+ name: z.string().describe("Program name.").min(2).max(50).optional().nullable(),
172
+ pointDefinition: z.object({
173
+ customName: z.string().describe(
174
+ 'Display name for the program\'s collectible unit.\n\nIt\'s recommended to use a plural, for example `"Stars"`.\n\nIn contrast to a custom name, the default `"Points"` name is translated and adjusted to singular based on circumstances.\n\nDefault: `"Points"`.'
175
+ ).max(20).optional().nullable(),
176
+ icon: z.string().describe("Details about the points icon.").optional()
177
+ }).describe("Details about the program's collectible unit.").optional(),
178
+ status: z.enum(["UNKNOWN", "DRAFT", "ACTIVE", "PAUSED"]).describe(
179
+ 'Program status.\nCustomers can only earn or redeem points while the program is `"ACTIVE"`.\n\nDefault: `"DRAFT"`'
180
+ ).optional(),
181
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
182
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
183
+ pointsExpiration: z.object({
184
+ status: z.enum(["DISABLED", "ENABLED"]).describe("Status of the points expiration feature.").optional(),
185
+ monthsOfInactivity: z.number().int().describe(
186
+ "How many months a member should be inactive to lose the collected points."
187
+ ).min(1).max(12).optional(),
188
+ expiringPointsPercentage: z.number().int().describe(
189
+ "Percentage of points that a member loses after being inactive."
190
+ ).min(1).max(100).optional()
191
+ }).describe("Configuration for the points expiration feature.").optional(),
192
+ premiumFeatures: z.object({
193
+ loyaltyProgram: z.boolean().describe("Whether there are any loyalty program premium features.").optional(),
194
+ tiers: z.boolean().describe("Whether this loyalty program includes tiers.").optional(),
195
+ pointsExpiration: z.boolean().describe("Whether this loyalty program includes point expiration.").optional()
196
+ }).describe("Information about the available program premium features.").optional()
197
+ }).describe("Paused loyalty program.").optional()
198
+ });
199
+ var GetLoyaltyProgramPremiumFeaturesRequest = z.object({});
200
+ var GetLoyaltyProgramPremiumFeaturesResponse = z.object({
201
+ loyaltyProgram: z.boolean().describe("Whether there are any loyalty program premium features.").optional(),
202
+ tiers: z.boolean().describe("Whether this loyalty program includes tiers.").optional(),
203
+ pointsExpiration: z.boolean().describe("Whether this loyalty program includes point expiration.").optional()
204
+ });
205
+ var EnablePointsExpirationRequest = z.object({});
206
+ var EnablePointsExpirationResponse = z.object({
207
+ loyaltyProgram: z.object({
208
+ name: z.string().describe("Program name.").min(2).max(50).optional().nullable(),
209
+ pointDefinition: z.object({
210
+ customName: z.string().describe(
211
+ 'Display name for the program\'s collectible unit.\n\nIt\'s recommended to use a plural, for example `"Stars"`.\n\nIn contrast to a custom name, the default `"Points"` name is translated and adjusted to singular based on circumstances.\n\nDefault: `"Points"`.'
212
+ ).max(20).optional().nullable(),
213
+ icon: z.string().describe("Details about the points icon.").optional()
214
+ }).describe("Details about the program's collectible unit.").optional(),
215
+ status: z.enum(["UNKNOWN", "DRAFT", "ACTIVE", "PAUSED"]).describe(
216
+ 'Program status.\nCustomers can only earn or redeem points while the program is `"ACTIVE"`.\n\nDefault: `"DRAFT"`'
217
+ ).optional(),
218
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
219
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
220
+ pointsExpiration: z.object({
221
+ status: z.enum(["DISABLED", "ENABLED"]).describe("Status of the points expiration feature.").optional(),
222
+ monthsOfInactivity: z.number().int().describe(
223
+ "How many months a member should be inactive to lose the collected points."
224
+ ).min(1).max(12).optional(),
225
+ expiringPointsPercentage: z.number().int().describe(
226
+ "Percentage of points that a member loses after being inactive."
227
+ ).min(1).max(100).optional()
228
+ }).describe("Configuration for the points expiration feature.").optional(),
229
+ premiumFeatures: z.object({
230
+ loyaltyProgram: z.boolean().describe("Whether there are any loyalty program premium features.").optional(),
231
+ tiers: z.boolean().describe("Whether this loyalty program includes tiers.").optional(),
232
+ pointsExpiration: z.boolean().describe("Whether this loyalty program includes point expiration.").optional()
233
+ }).describe("Information about the available program premium features.").optional()
234
+ }).describe("Loyalty program with enabled points expiration feature.").optional()
235
+ });
236
+ var DisablePointsExpirationRequest = z.object({});
237
+ var DisablePointsExpirationResponse = z.object({
238
+ loyaltyProgram: z.object({
239
+ name: z.string().describe("Program name.").min(2).max(50).optional().nullable(),
240
+ pointDefinition: z.object({
241
+ customName: z.string().describe(
242
+ 'Display name for the program\'s collectible unit.\n\nIt\'s recommended to use a plural, for example `"Stars"`.\n\nIn contrast to a custom name, the default `"Points"` name is translated and adjusted to singular based on circumstances.\n\nDefault: `"Points"`.'
243
+ ).max(20).optional().nullable(),
244
+ icon: z.string().describe("Details about the points icon.").optional()
245
+ }).describe("Details about the program's collectible unit.").optional(),
246
+ status: z.enum(["UNKNOWN", "DRAFT", "ACTIVE", "PAUSED"]).describe(
247
+ 'Program status.\nCustomers can only earn or redeem points while the program is `"ACTIVE"`.\n\nDefault: `"DRAFT"`'
248
+ ).optional(),
249
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
250
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
251
+ pointsExpiration: z.object({
252
+ status: z.enum(["DISABLED", "ENABLED"]).describe("Status of the points expiration feature.").optional(),
253
+ monthsOfInactivity: z.number().int().describe(
254
+ "How many months a member should be inactive to lose the collected points."
255
+ ).min(1).max(12).optional(),
256
+ expiringPointsPercentage: z.number().int().describe(
257
+ "Percentage of points that a member loses after being inactive."
258
+ ).min(1).max(100).optional()
259
+ }).describe("Configuration for the points expiration feature.").optional(),
260
+ premiumFeatures: z.object({
261
+ loyaltyProgram: z.boolean().describe("Whether there are any loyalty program premium features.").optional(),
262
+ tiers: z.boolean().describe("Whether this loyalty program includes tiers.").optional(),
263
+ pointsExpiration: z.boolean().describe("Whether this loyalty program includes point expiration.").optional()
264
+ }).describe("Information about the available program premium features.").optional()
265
+ }).describe("Loyalty program with disabled points expiration feature.").optional()
266
+ });
267
+ export {
268
+ ActivateLoyaltyProgramRequest,
269
+ ActivateLoyaltyProgramResponse,
270
+ BulkGetLoyaltyProgramRequest,
271
+ BulkGetLoyaltyProgramResponse,
272
+ DisablePointsExpirationRequest,
273
+ DisablePointsExpirationResponse,
274
+ EnablePointsExpirationRequest,
275
+ EnablePointsExpirationResponse,
276
+ GetLoyaltyProgramPremiumFeaturesRequest,
277
+ GetLoyaltyProgramPremiumFeaturesResponse,
278
+ GetLoyaltyProgramRequest,
279
+ GetLoyaltyProgramResponse,
280
+ PauseLoyaltyProgramRequest,
281
+ PauseLoyaltyProgramResponse,
282
+ UpdateLoyaltyProgramRequest,
283
+ UpdateLoyaltyProgramResponse
284
+ };
285
+ //# sourceMappingURL=schemas.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/loyalty-v1-program-programs.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const GetLoyaltyProgramRequest = z.object({});\nexport const GetLoyaltyProgramResponse = z.object({\n loyaltyProgram: z\n .object({\n name: z\n .string()\n .describe('Program name.')\n .min(2)\n .max(50)\n .optional()\n .nullable(),\n pointDefinition: z\n .object({\n customName: z\n .string()\n .describe(\n 'Display name for the program\\'s collectible unit.\\n\\nIt\\'s recommended to use a plural, for example `\"Stars\"`.\\n\\nIn contrast to a custom name, the default `\"Points\"` name is translated and adjusted to singular based on circumstances.\\n\\nDefault: `\"Points\"`.'\n )\n .max(20)\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe('Details about the points icon.')\n .optional(),\n })\n .describe(\"Details about the program's collectible unit.\")\n .optional(),\n status: z\n .enum(['UNKNOWN', 'DRAFT', 'ACTIVE', 'PAUSED'])\n .describe(\n 'Program status.\\nCustomers can only earn or redeem points while the program is `\"ACTIVE\"`.\\n\\nDefault: `\"DRAFT\"`'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was updated.')\n .optional()\n .nullable(),\n pointsExpiration: z\n .object({\n status: z\n .enum(['DISABLED', 'ENABLED'])\n .describe('Status of the points expiration feature.')\n .optional(),\n monthsOfInactivity: z\n .number()\n .int()\n .describe(\n 'How many months a member should be inactive to lose the collected points.'\n )\n .min(1)\n .max(12)\n .optional(),\n expiringPointsPercentage: z\n .number()\n .int()\n .describe(\n 'Percentage of points that a member loses after being inactive.'\n )\n .min(1)\n .max(100)\n .optional(),\n })\n .describe('Configuration for the points expiration feature.')\n .optional(),\n premiumFeatures: z\n .object({\n loyaltyProgram: z\n .boolean()\n .describe('Whether there are any loyalty program premium features.')\n .optional(),\n tiers: z\n .boolean()\n .describe('Whether this loyalty program includes tiers.')\n .optional(),\n pointsExpiration: z\n .boolean()\n .describe('Whether this loyalty program includes point expiration.')\n .optional(),\n })\n .describe('Information about the available program premium features.')\n .optional(),\n })\n .describe('Retrieved loyalty program.')\n .optional(),\n});\nexport const BulkGetLoyaltyProgramRequest = z.object({});\nexport const BulkGetLoyaltyProgramResponse = z.object({\n programInSites: z\n .array(\n z.object({\n metaSiteId: z\n .string()\n .describe('Metasite ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n loyaltyProgram: z\n .object({\n name: z\n .string()\n .describe('Program name.')\n .min(2)\n .max(50)\n .optional()\n .nullable(),\n pointDefinition: z\n .object({\n customName: z\n .string()\n .describe(\n 'Display name for the program\\'s collectible unit.\\n\\nIt\\'s recommended to use a plural, for example `\"Stars\"`.\\n\\nIn contrast to a custom name, the default `\"Points\"` name is translated and adjusted to singular based on circumstances.\\n\\nDefault: `\"Points\"`.'\n )\n .max(20)\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe('Details about the points icon.')\n .optional(),\n })\n .describe(\"Details about the program's collectible unit.\")\n .optional(),\n status: z\n .enum(['UNKNOWN', 'DRAFT', 'ACTIVE', 'PAUSED'])\n .describe(\n 'Program status.\\nCustomers can only earn or redeem points while the program is `\"ACTIVE\"`.\\n\\nDefault: `\"DRAFT\"`'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was updated.')\n .optional()\n .nullable(),\n pointsExpiration: z\n .object({\n status: z\n .enum(['DISABLED', 'ENABLED'])\n .describe('Status of the points expiration feature.')\n .optional(),\n monthsOfInactivity: z\n .number()\n .int()\n .describe(\n 'How many months a member should be inactive to lose the collected points.'\n )\n .min(1)\n .max(12)\n .optional(),\n expiringPointsPercentage: z\n .number()\n .int()\n .describe(\n 'Percentage of points that a member loses after being inactive.'\n )\n .min(1)\n .max(100)\n .optional(),\n })\n .describe('Configuration for the points expiration feature.')\n .optional(),\n premiumFeatures: z\n .object({\n loyaltyProgram: z\n .boolean()\n .describe(\n 'Whether there are any loyalty program premium features.'\n )\n .optional(),\n tiers: z\n .boolean()\n .describe('Whether this loyalty program includes tiers.')\n .optional(),\n pointsExpiration: z\n .boolean()\n .describe(\n 'Whether this loyalty program includes point expiration.'\n )\n .optional(),\n })\n .describe(\n 'Information about the available program premium features.'\n )\n .optional(),\n })\n .describe('Loyalty program.')\n .optional(),\n })\n )\n .optional(),\n});\nexport const UpdateLoyaltyProgramRequest = z.object({\n loyaltyProgram: z\n .object({\n name: z\n .string()\n .describe('Program name.')\n .min(2)\n .max(50)\n .optional()\n .nullable(),\n pointDefinition: z\n .object({\n customName: z\n .string()\n .describe(\n 'Display name for the program\\'s collectible unit.\\n\\nIt\\'s recommended to use a plural, for example `\"Stars\"`.\\n\\nIn contrast to a custom name, the default `\"Points\"` name is translated and adjusted to singular based on circumstances.\\n\\nDefault: `\"Points\"`.'\n )\n .max(20)\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe('Details about the points icon.')\n .optional(),\n })\n .describe(\"Details about the program's collectible unit.\")\n .optional(),\n status: z.enum(['UNKNOWN', 'DRAFT', 'ACTIVE', 'PAUSED']).optional(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was updated.')\n .optional()\n .nullable(),\n pointsExpiration: z\n .object({\n status: z.enum(['DISABLED', 'ENABLED']).optional(),\n monthsOfInactivity: z\n .number()\n .int()\n .describe(\n 'How many months a member should be inactive to lose the collected points.'\n )\n .min(1)\n .max(12)\n .optional(),\n expiringPointsPercentage: z\n .number()\n .int()\n .describe(\n 'Percentage of points that a member loses after being inactive.'\n )\n .min(1)\n .max(100)\n .optional(),\n })\n .describe('Configuration for the points expiration feature.')\n .optional(),\n premiumFeatures: z\n .object({\n loyaltyProgram: z\n .boolean()\n .describe('Whether there are any loyalty program premium features.')\n .optional(),\n tiers: z\n .boolean()\n .describe('Whether this loyalty program includes tiers.')\n .optional(),\n pointsExpiration: z\n .boolean()\n .describe('Whether this loyalty program includes point expiration.')\n .optional(),\n })\n .describe('Information about the available program premium features.')\n .optional(),\n })\n .describe('Loyalty program fields to update.'),\n});\nexport const UpdateLoyaltyProgramResponse = z.object({\n loyaltyProgram: z\n .object({\n name: z\n .string()\n .describe('Program name.')\n .min(2)\n .max(50)\n .optional()\n .nullable(),\n pointDefinition: z\n .object({\n customName: z\n .string()\n .describe(\n 'Display name for the program\\'s collectible unit.\\n\\nIt\\'s recommended to use a plural, for example `\"Stars\"`.\\n\\nIn contrast to a custom name, the default `\"Points\"` name is translated and adjusted to singular based on circumstances.\\n\\nDefault: `\"Points\"`.'\n )\n .max(20)\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe('Details about the points icon.')\n .optional(),\n })\n .describe(\"Details about the program's collectible unit.\")\n .optional(),\n status: z\n .enum(['UNKNOWN', 'DRAFT', 'ACTIVE', 'PAUSED'])\n .describe(\n 'Program status.\\nCustomers can only earn or redeem points while the program is `\"ACTIVE\"`.\\n\\nDefault: `\"DRAFT\"`'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was updated.')\n .optional()\n .nullable(),\n pointsExpiration: z\n .object({\n status: z\n .enum(['DISABLED', 'ENABLED'])\n .describe('Status of the points expiration feature.')\n .optional(),\n monthsOfInactivity: z\n .number()\n .int()\n .describe(\n 'How many months a member should be inactive to lose the collected points.'\n )\n .min(1)\n .max(12)\n .optional(),\n expiringPointsPercentage: z\n .number()\n .int()\n .describe(\n 'Percentage of points that a member loses after being inactive.'\n )\n .min(1)\n .max(100)\n .optional(),\n })\n .describe('Configuration for the points expiration feature.')\n .optional(),\n premiumFeatures: z\n .object({\n loyaltyProgram: z\n .boolean()\n .describe('Whether there are any loyalty program premium features.')\n .optional(),\n tiers: z\n .boolean()\n .describe('Whether this loyalty program includes tiers.')\n .optional(),\n pointsExpiration: z\n .boolean()\n .describe('Whether this loyalty program includes point expiration.')\n .optional(),\n })\n .describe('Information about the available program premium features.')\n .optional(),\n })\n .describe('Updated loyalty program.')\n .optional(),\n});\nexport const ActivateLoyaltyProgramRequest = z.object({});\nexport const ActivateLoyaltyProgramResponse = z.object({\n loyaltyProgram: z\n .object({\n name: z\n .string()\n .describe('Program name.')\n .min(2)\n .max(50)\n .optional()\n .nullable(),\n pointDefinition: z\n .object({\n customName: z\n .string()\n .describe(\n 'Display name for the program\\'s collectible unit.\\n\\nIt\\'s recommended to use a plural, for example `\"Stars\"`.\\n\\nIn contrast to a custom name, the default `\"Points\"` name is translated and adjusted to singular based on circumstances.\\n\\nDefault: `\"Points\"`.'\n )\n .max(20)\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe('Details about the points icon.')\n .optional(),\n })\n .describe(\"Details about the program's collectible unit.\")\n .optional(),\n status: z\n .enum(['UNKNOWN', 'DRAFT', 'ACTIVE', 'PAUSED'])\n .describe(\n 'Program status.\\nCustomers can only earn or redeem points while the program is `\"ACTIVE\"`.\\n\\nDefault: `\"DRAFT\"`'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was updated.')\n .optional()\n .nullable(),\n pointsExpiration: z\n .object({\n status: z\n .enum(['DISABLED', 'ENABLED'])\n .describe('Status of the points expiration feature.')\n .optional(),\n monthsOfInactivity: z\n .number()\n .int()\n .describe(\n 'How many months a member should be inactive to lose the collected points.'\n )\n .min(1)\n .max(12)\n .optional(),\n expiringPointsPercentage: z\n .number()\n .int()\n .describe(\n 'Percentage of points that a member loses after being inactive.'\n )\n .min(1)\n .max(100)\n .optional(),\n })\n .describe('Configuration for the points expiration feature.')\n .optional(),\n premiumFeatures: z\n .object({\n loyaltyProgram: z\n .boolean()\n .describe('Whether there are any loyalty program premium features.')\n .optional(),\n tiers: z\n .boolean()\n .describe('Whether this loyalty program includes tiers.')\n .optional(),\n pointsExpiration: z\n .boolean()\n .describe('Whether this loyalty program includes point expiration.')\n .optional(),\n })\n .describe('Information about the available program premium features.')\n .optional(),\n })\n .describe('Activated loyalty program.')\n .optional(),\n});\nexport const PauseLoyaltyProgramRequest = z.object({});\nexport const PauseLoyaltyProgramResponse = z.object({\n loyaltyProgram: z\n .object({\n name: z\n .string()\n .describe('Program name.')\n .min(2)\n .max(50)\n .optional()\n .nullable(),\n pointDefinition: z\n .object({\n customName: z\n .string()\n .describe(\n 'Display name for the program\\'s collectible unit.\\n\\nIt\\'s recommended to use a plural, for example `\"Stars\"`.\\n\\nIn contrast to a custom name, the default `\"Points\"` name is translated and adjusted to singular based on circumstances.\\n\\nDefault: `\"Points\"`.'\n )\n .max(20)\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe('Details about the points icon.')\n .optional(),\n })\n .describe(\"Details about the program's collectible unit.\")\n .optional(),\n status: z\n .enum(['UNKNOWN', 'DRAFT', 'ACTIVE', 'PAUSED'])\n .describe(\n 'Program status.\\nCustomers can only earn or redeem points while the program is `\"ACTIVE\"`.\\n\\nDefault: `\"DRAFT\"`'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was updated.')\n .optional()\n .nullable(),\n pointsExpiration: z\n .object({\n status: z\n .enum(['DISABLED', 'ENABLED'])\n .describe('Status of the points expiration feature.')\n .optional(),\n monthsOfInactivity: z\n .number()\n .int()\n .describe(\n 'How many months a member should be inactive to lose the collected points.'\n )\n .min(1)\n .max(12)\n .optional(),\n expiringPointsPercentage: z\n .number()\n .int()\n .describe(\n 'Percentage of points that a member loses after being inactive.'\n )\n .min(1)\n .max(100)\n .optional(),\n })\n .describe('Configuration for the points expiration feature.')\n .optional(),\n premiumFeatures: z\n .object({\n loyaltyProgram: z\n .boolean()\n .describe('Whether there are any loyalty program premium features.')\n .optional(),\n tiers: z\n .boolean()\n .describe('Whether this loyalty program includes tiers.')\n .optional(),\n pointsExpiration: z\n .boolean()\n .describe('Whether this loyalty program includes point expiration.')\n .optional(),\n })\n .describe('Information about the available program premium features.')\n .optional(),\n })\n .describe('Paused loyalty program.')\n .optional(),\n});\nexport const GetLoyaltyProgramPremiumFeaturesRequest = z.object({});\nexport const GetLoyaltyProgramPremiumFeaturesResponse = z.object({\n loyaltyProgram: z\n .boolean()\n .describe('Whether there are any loyalty program premium features.')\n .optional(),\n tiers: z\n .boolean()\n .describe('Whether this loyalty program includes tiers.')\n .optional(),\n pointsExpiration: z\n .boolean()\n .describe('Whether this loyalty program includes point expiration.')\n .optional(),\n});\nexport const EnablePointsExpirationRequest = z.object({});\nexport const EnablePointsExpirationResponse = z.object({\n loyaltyProgram: z\n .object({\n name: z\n .string()\n .describe('Program name.')\n .min(2)\n .max(50)\n .optional()\n .nullable(),\n pointDefinition: z\n .object({\n customName: z\n .string()\n .describe(\n 'Display name for the program\\'s collectible unit.\\n\\nIt\\'s recommended to use a plural, for example `\"Stars\"`.\\n\\nIn contrast to a custom name, the default `\"Points\"` name is translated and adjusted to singular based on circumstances.\\n\\nDefault: `\"Points\"`.'\n )\n .max(20)\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe('Details about the points icon.')\n .optional(),\n })\n .describe(\"Details about the program's collectible unit.\")\n .optional(),\n status: z\n .enum(['UNKNOWN', 'DRAFT', 'ACTIVE', 'PAUSED'])\n .describe(\n 'Program status.\\nCustomers can only earn or redeem points while the program is `\"ACTIVE\"`.\\n\\nDefault: `\"DRAFT\"`'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was updated.')\n .optional()\n .nullable(),\n pointsExpiration: z\n .object({\n status: z\n .enum(['DISABLED', 'ENABLED'])\n .describe('Status of the points expiration feature.')\n .optional(),\n monthsOfInactivity: z\n .number()\n .int()\n .describe(\n 'How many months a member should be inactive to lose the collected points.'\n )\n .min(1)\n .max(12)\n .optional(),\n expiringPointsPercentage: z\n .number()\n .int()\n .describe(\n 'Percentage of points that a member loses after being inactive.'\n )\n .min(1)\n .max(100)\n .optional(),\n })\n .describe('Configuration for the points expiration feature.')\n .optional(),\n premiumFeatures: z\n .object({\n loyaltyProgram: z\n .boolean()\n .describe('Whether there are any loyalty program premium features.')\n .optional(),\n tiers: z\n .boolean()\n .describe('Whether this loyalty program includes tiers.')\n .optional(),\n pointsExpiration: z\n .boolean()\n .describe('Whether this loyalty program includes point expiration.')\n .optional(),\n })\n .describe('Information about the available program premium features.')\n .optional(),\n })\n .describe('Loyalty program with enabled points expiration feature.')\n .optional(),\n});\nexport const DisablePointsExpirationRequest = z.object({});\nexport const DisablePointsExpirationResponse = z.object({\n loyaltyProgram: z\n .object({\n name: z\n .string()\n .describe('Program name.')\n .min(2)\n .max(50)\n .optional()\n .nullable(),\n pointDefinition: z\n .object({\n customName: z\n .string()\n .describe(\n 'Display name for the program\\'s collectible unit.\\n\\nIt\\'s recommended to use a plural, for example `\"Stars\"`.\\n\\nIn contrast to a custom name, the default `\"Points\"` name is translated and adjusted to singular based on circumstances.\\n\\nDefault: `\"Points\"`.'\n )\n .max(20)\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe('Details about the points icon.')\n .optional(),\n })\n .describe(\"Details about the program's collectible unit.\")\n .optional(),\n status: z\n .enum(['UNKNOWN', 'DRAFT', 'ACTIVE', 'PAUSED'])\n .describe(\n 'Program status.\\nCustomers can only earn or redeem points while the program is `\"ACTIVE\"`.\\n\\nDefault: `\"DRAFT\"`'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was updated.')\n .optional()\n .nullable(),\n pointsExpiration: z\n .object({\n status: z\n .enum(['DISABLED', 'ENABLED'])\n .describe('Status of the points expiration feature.')\n .optional(),\n monthsOfInactivity: z\n .number()\n .int()\n .describe(\n 'How many months a member should be inactive to lose the collected points.'\n )\n .min(1)\n .max(12)\n .optional(),\n expiringPointsPercentage: z\n .number()\n .int()\n .describe(\n 'Percentage of points that a member loses after being inactive.'\n )\n .min(1)\n .max(100)\n .optional(),\n })\n .describe('Configuration for the points expiration feature.')\n .optional(),\n premiumFeatures: z\n .object({\n loyaltyProgram: z\n .boolean()\n .describe('Whether there are any loyalty program premium features.')\n .optional(),\n tiers: z\n .boolean()\n .describe('Whether this loyalty program includes tiers.')\n .optional(),\n pointsExpiration: z\n .boolean()\n .describe('Whether this loyalty program includes point expiration.')\n .optional(),\n })\n .describe('Information about the available program premium features.')\n .optional(),\n })\n .describe('Loyalty program with disabled points expiration feature.')\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,2BAA6B,SAAO,CAAC,CAAC;AAC5C,IAAM,4BAA8B,SAAO;AAAA,EAChD,gBACG,SAAO;AAAA,IACN,MACG,SAAO,EACP,SAAS,eAAe,EACxB,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,IACZ,iBACG,SAAO;AAAA,MACN,YACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,MACZ,MACG,SAAO,EACP,SAAS,gCAAgC,EACzC,SAAS;AAAA,IACd,CAAC,EACA,SAAS,+CAA+C,EACxD,SAAS;AAAA,IACZ,QACG,OAAK,CAAC,WAAW,SAAS,UAAU,QAAQ,CAAC,EAC7C;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,wCAAwC,EACjD,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,wCAAwC,EACjD,SAAS,EACT,SAAS;AAAA,IACZ,kBACG,SAAO;AAAA,MACN,QACG,OAAK,CAAC,YAAY,SAAS,CAAC,EAC5B,SAAS,0CAA0C,EACnD,SAAS;AAAA,MACZ,oBACG,SAAO,EACP,IAAI,E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