@wix/auto_sdk_benefit-programs_programs 1.0.44 → 1.0.46

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.
@@ -0,0 +1,861 @@
1
+ // src/benefit-programs-v1-program-programs.schemas.ts
2
+ import * as z from "zod";
3
+ var ProvisionProgramRequest = z.object({
4
+ poolDefinitionLookupId: z.intersection(
5
+ z.object({}),
6
+ z.xor([
7
+ z.object({
8
+ poolDefinitionId: z.never().optional(),
9
+ programDefinitionId: z.never().optional()
10
+ }),
11
+ z.object({
12
+ programDefinitionId: z.never().optional(),
13
+ poolDefinitionId: z.string().describe("Pool definition ID.").regex(
14
+ /^[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}$/,
15
+ "Must be a valid GUID"
16
+ )
17
+ }),
18
+ z.object({
19
+ poolDefinitionId: z.never().optional(),
20
+ programDefinitionId: z.string().describe("Program definition ID.").regex(
21
+ /^[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}$/,
22
+ "Must be a valid GUID"
23
+ )
24
+ })
25
+ ])
26
+ ).describe(
27
+ "The program definition or pool definition to use to provision the program."
28
+ ),
29
+ options: z.object({
30
+ beneficiary: z.intersection(
31
+ z.object({}),
32
+ z.xor([
33
+ z.object({
34
+ anonymousVisitorId: z.never().optional(),
35
+ memberId: z.never().optional(),
36
+ wixUserId: z.never().optional()
37
+ }),
38
+ z.object({
39
+ memberId: z.never().optional(),
40
+ wixUserId: z.never().optional(),
41
+ anonymousVisitorId: z.string().describe(
42
+ "ID of a site visitor that hasn't logged in to the site."
43
+ ).regex(
44
+ /^[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}$/,
45
+ "Must be a valid GUID"
46
+ )
47
+ }),
48
+ z.object({
49
+ anonymousVisitorId: z.never().optional(),
50
+ wixUserId: z.never().optional(),
51
+ memberId: z.string().describe("ID of a site member.").regex(
52
+ /^[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}$/,
53
+ "Must be a valid GUID"
54
+ )
55
+ }),
56
+ z.object({
57
+ anonymousVisitorId: z.never().optional(),
58
+ memberId: z.never().optional(),
59
+ wixUserId: z.string().describe("ID of a Wix user.").regex(
60
+ /^[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}$/,
61
+ "Must be a valid GUID"
62
+ )
63
+ })
64
+ ])
65
+ ).describe("Program beneficiary."),
66
+ programStatus: z.enum(["ACTIVE", "PAUSED"]).optional(),
67
+ namespace: z.string().describe(
68
+ "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
69
+ ).min(1).max(20),
70
+ displayName: z.string().describe(
71
+ "Program name.\n\nIf you're provisioning the program from a program definition, you may want to use the same name that was used for the program definition."
72
+ ).max(64).optional().nullable(),
73
+ externalProgramId: z.string().describe(
74
+ "ID for the program defined by you. You can use `externalId` to filter queries."
75
+ ).regex(
76
+ /^[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}$/,
77
+ "Must be a valid GUID"
78
+ )
79
+ })
80
+ });
81
+ var ProvisionProgramResponse = z.object({
82
+ jobId: z.string().describe(
83
+ "Job ID of the provisioning of the program. Retrieve job details using the [Async Job API](https://dev.wix.com/docs/rest/business-management/async-job/introduction)."
84
+ ).regex(
85
+ /^[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}$/,
86
+ "Must be a valid GUID"
87
+ ).optional(),
88
+ program: z.object({
89
+ _id: z.string().describe("Program ID.").regex(
90
+ /^[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}$/,
91
+ "Must be a valid GUID"
92
+ ).optional().nullable(),
93
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
94
+ "Revision number, which increments by 1 each time the program is updated.\nTo prevent conflicting changes, the current revision must be specified when updating the program.\n\nIgnored when creating a program."
95
+ ).optional().nullable(),
96
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
97
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
98
+ programDefinitionId: z.string().describe("ID of the associated program definition.").regex(
99
+ /^[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}$/,
100
+ "Must be a valid GUID"
101
+ ).optional().nullable(),
102
+ status: z.enum([
103
+ "ACTIVE",
104
+ "PAUSED",
105
+ "ENDED",
106
+ "PROVISIONING",
107
+ "PAUSING",
108
+ "RESUMING",
109
+ "ENDING"
110
+ ]).describe("Program status.").optional(),
111
+ beneficiary: z.intersection(
112
+ z.object({}),
113
+ z.xor([
114
+ z.object({
115
+ anonymousVisitorId: z.never().optional(),
116
+ memberId: z.never().optional(),
117
+ wixUserId: z.never().optional()
118
+ }),
119
+ z.object({
120
+ memberId: z.never().optional(),
121
+ wixUserId: z.never().optional(),
122
+ anonymousVisitorId: z.string().describe(
123
+ "ID of a site visitor that hasn't logged in to the site."
124
+ ).regex(
125
+ /^[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}$/,
126
+ "Must be a valid GUID"
127
+ )
128
+ }),
129
+ z.object({
130
+ anonymousVisitorId: z.never().optional(),
131
+ wixUserId: z.never().optional(),
132
+ memberId: z.string().describe("ID of a site member.").regex(
133
+ /^[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}$/,
134
+ "Must be a valid GUID"
135
+ )
136
+ }),
137
+ z.object({
138
+ anonymousVisitorId: z.never().optional(),
139
+ memberId: z.never().optional(),
140
+ wixUserId: z.string().describe("ID of a Wix user.").regex(
141
+ /^[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}$/,
142
+ "Must be a valid GUID"
143
+ )
144
+ })
145
+ ])
146
+ ).describe("Program beneficiary.").optional(),
147
+ displayName: z.string().describe(
148
+ "Program name.\n\nYou may want to use the same name that's used in the associated program definition, if it exists."
149
+ ).max(64).optional().nullable(),
150
+ namespace: z.string().describe(
151
+ "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
152
+ ).min(1).max(20).optional().nullable(),
153
+ extendedFields: z.object({
154
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
155
+ "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
156
+ ).optional()
157
+ }).describe(
158
+ "Custom field data for the program object.\n\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls."
159
+ ).optional(),
160
+ externalId: z.string().describe(
161
+ "ID for the program defined by you. You can use `externalId` to filter queries."
162
+ ).regex(
163
+ /^[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}$/,
164
+ "Must be a valid GUID"
165
+ ).optional().nullable(),
166
+ programDefinition: z.object({
167
+ _id: z.string().describe("Program definition ID.").regex(
168
+ /^[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}$/,
169
+ "Must be a valid GUID"
170
+ ).optional(),
171
+ externalId: z.string().describe("Program definition external ID.").regex(
172
+ /^[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}$/,
173
+ "Must be a valid GUID"
174
+ ).optional().nullable()
175
+ }).describe("Associated program definition information.").optional()
176
+ }).describe("Provisioned program.").optional()
177
+ });
178
+ var RenewProgramRequest = z.object({
179
+ programId: z.string().describe("ID of the program to renew.").regex(
180
+ /^[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}$/,
181
+ "Must be a valid GUID"
182
+ ),
183
+ options: z.object({
184
+ idempotencyKey: z.string().describe(
185
+ "Idempotency key to ensure that the request is processed only once."
186
+ ).max(64)
187
+ })
188
+ });
189
+ var RenewProgramResponse = z.object({
190
+ jobId: z.string().describe(
191
+ "Job ID of the program renewal. Retrieve job details using the [Async Job API](https://dev.wix.com/docs/rest/business-management/async-job/introduction)."
192
+ ).regex(
193
+ /^[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}$/,
194
+ "Must be a valid GUID"
195
+ ).optional()
196
+ });
197
+ var PauseProgramRequest = z.object({
198
+ programId: z.string().describe("ID of the program to pause.").regex(
199
+ /^[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}$/,
200
+ "Must be a valid GUID"
201
+ ),
202
+ options: z.object({
203
+ idempotencyKey: z.string().describe(
204
+ "Idempotency key to ensure that the request is processed only once."
205
+ ).max(64)
206
+ })
207
+ });
208
+ var PauseProgramResponse = z.object({
209
+ jobId: z.string().describe(
210
+ "Job ID of the pausing of the program. Retrieve job details using the [Async Job API](https://dev.wix.com/docs/rest/business-management/async-job/introduction)."
211
+ ).regex(
212
+ /^[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}$/,
213
+ "Must be a valid GUID"
214
+ ).optional()
215
+ });
216
+ var ResumeProgramRequest = z.object({
217
+ programId: z.string().describe("ID of program to resume.").regex(
218
+ /^[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}$/,
219
+ "Must be a valid GUID"
220
+ ),
221
+ options: z.object({
222
+ idempotencyKey: z.string().describe(
223
+ "Idempotency key to ensure that the request is processed only once."
224
+ ).max(64)
225
+ })
226
+ });
227
+ var ResumeProgramResponse = z.object({
228
+ jobId: z.string().describe(
229
+ "Job ID of the resuming of the program. Retrieve job details using the [Async Job API](https://dev.wix.com/docs/rest/business-management/async-job/introduction)."
230
+ ).regex(
231
+ /^[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}$/,
232
+ "Must be a valid GUID"
233
+ ).optional()
234
+ });
235
+ var EndProgramRequest = z.object({
236
+ programId: z.string().describe("ID of the program to end.").regex(
237
+ /^[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}$/,
238
+ "Must be a valid GUID"
239
+ )
240
+ });
241
+ var EndProgramResponse = z.object({
242
+ jobId: z.string().describe(
243
+ "Job ID of the ending of the program. Retrieve job details using the [Async Job API](https://dev.wix.com/docs/rest/business-management/async-job/introduction)."
244
+ ).regex(
245
+ /^[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}$/,
246
+ "Must be a valid GUID"
247
+ ).optional()
248
+ });
249
+ var UpdateProgramRequest = z.object({
250
+ _id: z.string().describe("Program ID.").regex(
251
+ /^[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}$/,
252
+ "Must be a valid GUID"
253
+ ),
254
+ program: z.object({
255
+ _id: z.string().describe("Program ID.").regex(
256
+ /^[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}$/,
257
+ "Must be a valid GUID"
258
+ ).optional().nullable(),
259
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
260
+ "Revision number, which increments by 1 each time the program is updated.\nTo prevent conflicting changes, the current revision must be specified when updating the program.\n\nIgnored when creating a program."
261
+ ),
262
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
263
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
264
+ programDefinitionId: z.string().describe("ID of the associated program definition.").regex(
265
+ /^[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}$/,
266
+ "Must be a valid GUID"
267
+ ).optional().nullable(),
268
+ status: z.enum([
269
+ "ACTIVE",
270
+ "PAUSED",
271
+ "ENDED",
272
+ "PROVISIONING",
273
+ "PAUSING",
274
+ "RESUMING",
275
+ "ENDING"
276
+ ]).optional(),
277
+ beneficiary: z.intersection(
278
+ z.object({}),
279
+ z.xor([
280
+ z.object({
281
+ anonymousVisitorId: z.never().optional(),
282
+ memberId: z.never().optional(),
283
+ wixUserId: z.never().optional()
284
+ }),
285
+ z.object({
286
+ memberId: z.never().optional(),
287
+ wixUserId: z.never().optional(),
288
+ anonymousVisitorId: z.string().describe(
289
+ "ID of a site visitor that hasn't logged in to the site."
290
+ ).regex(
291
+ /^[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}$/,
292
+ "Must be a valid GUID"
293
+ )
294
+ }),
295
+ z.object({
296
+ anonymousVisitorId: z.never().optional(),
297
+ wixUserId: z.never().optional(),
298
+ memberId: z.string().describe("ID of a site member.").regex(
299
+ /^[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}$/,
300
+ "Must be a valid GUID"
301
+ )
302
+ }),
303
+ z.object({
304
+ anonymousVisitorId: z.never().optional(),
305
+ memberId: z.never().optional(),
306
+ wixUserId: z.string().describe("ID of a Wix user.").regex(
307
+ /^[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}$/,
308
+ "Must be a valid GUID"
309
+ )
310
+ })
311
+ ])
312
+ ).describe("Program beneficiary.").optional(),
313
+ displayName: z.string().describe(
314
+ "Program name.\n\nYou may want to use the same name that's used in the associated program definition, if it exists."
315
+ ).max(64).optional().nullable(),
316
+ namespace: z.string().describe(
317
+ "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
318
+ ).min(1).max(20).optional().nullable(),
319
+ extendedFields: z.object({
320
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
321
+ "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
322
+ ).optional()
323
+ }).describe(
324
+ "Custom field data for the program object.\n\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls."
325
+ ).optional(),
326
+ externalId: z.string().describe(
327
+ "ID for the program defined by you. You can use `externalId` to filter queries."
328
+ ).regex(
329
+ /^[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}$/,
330
+ "Must be a valid GUID"
331
+ ).optional().nullable(),
332
+ programDefinition: z.object({
333
+ _id: z.string().describe("Program definition ID.").regex(
334
+ /^[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}$/,
335
+ "Must be a valid GUID"
336
+ ).optional(),
337
+ externalId: z.string().describe("Program definition external ID.").regex(
338
+ /^[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}$/,
339
+ "Must be a valid GUID"
340
+ ).optional().nullable()
341
+ }).describe("Associated program definition information.").optional()
342
+ }).describe("Program to update.")
343
+ });
344
+ var UpdateProgramResponse = z.object({
345
+ _id: z.string().describe("Program ID.").regex(
346
+ /^[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}$/,
347
+ "Must be a valid GUID"
348
+ ).optional().nullable(),
349
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
350
+ "Revision number, which increments by 1 each time the program is updated.\nTo prevent conflicting changes, the current revision must be specified when updating the program.\n\nIgnored when creating a program."
351
+ ).optional().nullable(),
352
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
353
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
354
+ programDefinitionId: z.string().describe("ID of the associated program definition.").regex(
355
+ /^[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}$/,
356
+ "Must be a valid GUID"
357
+ ).optional().nullable(),
358
+ status: z.enum([
359
+ "ACTIVE",
360
+ "PAUSED",
361
+ "ENDED",
362
+ "PROVISIONING",
363
+ "PAUSING",
364
+ "RESUMING",
365
+ "ENDING"
366
+ ]).describe("Program status.").optional(),
367
+ beneficiary: z.intersection(
368
+ z.object({}),
369
+ z.xor([
370
+ z.object({
371
+ anonymousVisitorId: z.never().optional(),
372
+ memberId: z.never().optional(),
373
+ wixUserId: z.never().optional()
374
+ }),
375
+ z.object({
376
+ memberId: z.never().optional(),
377
+ wixUserId: z.never().optional(),
378
+ anonymousVisitorId: z.string().describe("ID of a site visitor that hasn't logged in to the site.").regex(
379
+ /^[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}$/,
380
+ "Must be a valid GUID"
381
+ )
382
+ }),
383
+ z.object({
384
+ anonymousVisitorId: z.never().optional(),
385
+ wixUserId: z.never().optional(),
386
+ memberId: z.string().describe("ID of a site member.").regex(
387
+ /^[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}$/,
388
+ "Must be a valid GUID"
389
+ )
390
+ }),
391
+ z.object({
392
+ anonymousVisitorId: z.never().optional(),
393
+ memberId: z.never().optional(),
394
+ wixUserId: z.string().describe("ID of a Wix user.").regex(
395
+ /^[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}$/,
396
+ "Must be a valid GUID"
397
+ )
398
+ })
399
+ ])
400
+ ).describe("Program beneficiary.").optional(),
401
+ displayName: z.string().describe(
402
+ "Program name.\n\nYou may want to use the same name that's used in the associated program definition, if it exists."
403
+ ).max(64).optional().nullable(),
404
+ namespace: z.string().describe(
405
+ "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
406
+ ).min(1).max(20).optional().nullable(),
407
+ extendedFields: z.object({
408
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
409
+ "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
410
+ ).optional()
411
+ }).describe(
412
+ "Custom field data for the program object.\n\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls."
413
+ ).optional(),
414
+ externalId: z.string().describe(
415
+ "ID for the program defined by you. You can use `externalId` to filter queries."
416
+ ).regex(
417
+ /^[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}$/,
418
+ "Must be a valid GUID"
419
+ ).optional().nullable(),
420
+ programDefinition: z.object({
421
+ _id: z.string().describe("Program definition ID.").regex(
422
+ /^[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}$/,
423
+ "Must be a valid GUID"
424
+ ).optional(),
425
+ externalId: z.string().describe("Program definition external ID.").regex(
426
+ /^[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}$/,
427
+ "Must be a valid GUID"
428
+ ).optional().nullable()
429
+ }).describe("Associated program definition information.").optional()
430
+ });
431
+ var GetProgramRequest = z.object({
432
+ programId: z.string().describe("ID of the program to retrieve.").regex(
433
+ /^[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}$/,
434
+ "Must be a valid GUID"
435
+ )
436
+ });
437
+ var GetProgramResponse = z.object({
438
+ _id: z.string().describe("Program ID.").regex(
439
+ /^[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}$/,
440
+ "Must be a valid GUID"
441
+ ).optional().nullable(),
442
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
443
+ "Revision number, which increments by 1 each time the program is updated.\nTo prevent conflicting changes, the current revision must be specified when updating the program.\n\nIgnored when creating a program."
444
+ ).optional().nullable(),
445
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
446
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
447
+ programDefinitionId: z.string().describe("ID of the associated program definition.").regex(
448
+ /^[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}$/,
449
+ "Must be a valid GUID"
450
+ ).optional().nullable(),
451
+ status: z.enum([
452
+ "ACTIVE",
453
+ "PAUSED",
454
+ "ENDED",
455
+ "PROVISIONING",
456
+ "PAUSING",
457
+ "RESUMING",
458
+ "ENDING"
459
+ ]).describe("Program status.").optional(),
460
+ beneficiary: z.intersection(
461
+ z.object({}),
462
+ z.xor([
463
+ z.object({
464
+ anonymousVisitorId: z.never().optional(),
465
+ memberId: z.never().optional(),
466
+ wixUserId: z.never().optional()
467
+ }),
468
+ z.object({
469
+ memberId: z.never().optional(),
470
+ wixUserId: z.never().optional(),
471
+ anonymousVisitorId: z.string().describe("ID of a site visitor that hasn't logged in to the site.").regex(
472
+ /^[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}$/,
473
+ "Must be a valid GUID"
474
+ )
475
+ }),
476
+ z.object({
477
+ anonymousVisitorId: z.never().optional(),
478
+ wixUserId: z.never().optional(),
479
+ memberId: z.string().describe("ID of a site member.").regex(
480
+ /^[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}$/,
481
+ "Must be a valid GUID"
482
+ )
483
+ }),
484
+ z.object({
485
+ anonymousVisitorId: z.never().optional(),
486
+ memberId: z.never().optional(),
487
+ wixUserId: z.string().describe("ID of a Wix user.").regex(
488
+ /^[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}$/,
489
+ "Must be a valid GUID"
490
+ )
491
+ })
492
+ ])
493
+ ).describe("Program beneficiary.").optional(),
494
+ displayName: z.string().describe(
495
+ "Program name.\n\nYou may want to use the same name that's used in the associated program definition, if it exists."
496
+ ).max(64).optional().nullable(),
497
+ namespace: z.string().describe(
498
+ "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
499
+ ).min(1).max(20).optional().nullable(),
500
+ extendedFields: z.object({
501
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
502
+ "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
503
+ ).optional()
504
+ }).describe(
505
+ "Custom field data for the program object.\n\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls."
506
+ ).optional(),
507
+ externalId: z.string().describe(
508
+ "ID for the program defined by you. You can use `externalId` to filter queries."
509
+ ).regex(
510
+ /^[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}$/,
511
+ "Must be a valid GUID"
512
+ ).optional().nullable(),
513
+ programDefinition: z.object({
514
+ _id: z.string().describe("Program definition ID.").regex(
515
+ /^[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}$/,
516
+ "Must be a valid GUID"
517
+ ).optional(),
518
+ externalId: z.string().describe("Program definition external ID.").regex(
519
+ /^[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}$/,
520
+ "Must be a valid GUID"
521
+ ).optional().nullable()
522
+ }).describe("Associated program definition information.").optional()
523
+ });
524
+ var QueryProgramsRequest = z.object({
525
+ query: z.object({
526
+ filter: z.object({
527
+ _id: z.object({
528
+ $eq: z.string(),
529
+ $exists: z.boolean(),
530
+ $gt: z.string(),
531
+ $gte: z.string(),
532
+ $hasAll: z.array(z.string()),
533
+ $hasSome: z.array(z.string()),
534
+ $in: z.array(z.string()),
535
+ $lt: z.string(),
536
+ $lte: z.string(),
537
+ $ne: z.string(),
538
+ $nin: z.array(z.string()),
539
+ $startsWith: z.string()
540
+ }).partial().strict().optional(),
541
+ namespace: z.object({
542
+ $eq: z.string(),
543
+ $exists: z.boolean(),
544
+ $gt: z.string(),
545
+ $gte: z.string(),
546
+ $hasAll: z.array(z.string()),
547
+ $hasSome: z.array(z.string()),
548
+ $in: z.array(z.string()),
549
+ $lt: z.string(),
550
+ $lte: z.string(),
551
+ $ne: z.string(),
552
+ $nin: z.array(z.string()),
553
+ $startsWith: z.string()
554
+ }).partial().strict().optional(),
555
+ externalId: z.object({
556
+ $eq: z.string(),
557
+ $exists: z.boolean(),
558
+ $gt: z.string(),
559
+ $gte: z.string(),
560
+ $hasAll: z.array(z.string()),
561
+ $hasSome: z.array(z.string()),
562
+ $in: z.array(z.string()),
563
+ $lt: z.string(),
564
+ $lte: z.string(),
565
+ $ne: z.string(),
566
+ $nin: z.array(z.string()),
567
+ $startsWith: z.string()
568
+ }).partial().strict().optional(),
569
+ programDefinitionId: z.object({
570
+ $eq: z.string(),
571
+ $exists: z.boolean(),
572
+ $gt: z.string(),
573
+ $gte: z.string(),
574
+ $hasAll: z.array(z.string()),
575
+ $hasSome: z.array(z.string()),
576
+ $in: z.array(z.string()),
577
+ $lt: z.string(),
578
+ $lte: z.string(),
579
+ $ne: z.string(),
580
+ $nin: z.array(z.string()),
581
+ $startsWith: z.string()
582
+ }).partial().strict().optional(),
583
+ status: z.object({
584
+ $eq: z.string(),
585
+ $exists: z.boolean(),
586
+ $gt: z.string(),
587
+ $gte: z.string(),
588
+ $hasAll: z.array(z.string()),
589
+ $hasSome: z.array(z.string()),
590
+ $in: z.array(z.string()),
591
+ $lt: z.string(),
592
+ $lte: z.string(),
593
+ $ne: z.string(),
594
+ $nin: z.array(z.string()),
595
+ $startsWith: z.string()
596
+ }).partial().strict().optional(),
597
+ _createdDate: z.object({
598
+ $eq: z.string(),
599
+ $exists: z.boolean(),
600
+ $gt: z.string(),
601
+ $gte: z.string(),
602
+ $hasAll: z.array(z.string()),
603
+ $hasSome: z.array(z.string()),
604
+ $in: z.array(z.string()),
605
+ $lt: z.string(),
606
+ $lte: z.string(),
607
+ $ne: z.string(),
608
+ $nin: z.array(z.string()),
609
+ $startsWith: z.string()
610
+ }).partial().strict().optional(),
611
+ $and: z.array(z.any()).optional(),
612
+ $or: z.array(z.any()).optional(),
613
+ $not: z.any().optional()
614
+ }).strict().optional(),
615
+ sort: z.array(
616
+ z.object({
617
+ fieldName: z.enum([
618
+ "_id",
619
+ "namespace",
620
+ "externalId",
621
+ "programDefinitionId",
622
+ "status",
623
+ "_createdDate"
624
+ ]).optional(),
625
+ order: z.enum(["ASC", "DESC"]).optional()
626
+ })
627
+ ).optional()
628
+ }).catchall(z.any()).describe("Filter, sort, and paging to apply to the query.")
629
+ });
630
+ var QueryProgramsResponse = z.object({
631
+ programs: z.array(
632
+ z.object({
633
+ _id: z.string().describe("Program ID.").regex(
634
+ /^[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}$/,
635
+ "Must be a valid GUID"
636
+ ).optional().nullable(),
637
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
638
+ "Revision number, which increments by 1 each time the program is updated.\nTo prevent conflicting changes, the current revision must be specified when updating the program.\n\nIgnored when creating a program."
639
+ ).optional().nullable(),
640
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
641
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
642
+ programDefinitionId: z.string().describe("ID of the associated program definition.").regex(
643
+ /^[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}$/,
644
+ "Must be a valid GUID"
645
+ ).optional().nullable(),
646
+ status: z.enum([
647
+ "ACTIVE",
648
+ "PAUSED",
649
+ "ENDED",
650
+ "PROVISIONING",
651
+ "PAUSING",
652
+ "RESUMING",
653
+ "ENDING"
654
+ ]).describe("Program status.").optional(),
655
+ beneficiary: z.intersection(
656
+ z.object({}),
657
+ z.xor([
658
+ z.object({
659
+ anonymousVisitorId: z.never().optional(),
660
+ memberId: z.never().optional(),
661
+ wixUserId: z.never().optional()
662
+ }),
663
+ z.object({
664
+ memberId: z.never().optional(),
665
+ wixUserId: z.never().optional(),
666
+ anonymousVisitorId: z.string().describe(
667
+ "ID of a site visitor that hasn't logged in to the site."
668
+ ).regex(
669
+ /^[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}$/,
670
+ "Must be a valid GUID"
671
+ )
672
+ }),
673
+ z.object({
674
+ anonymousVisitorId: z.never().optional(),
675
+ wixUserId: z.never().optional(),
676
+ memberId: z.string().describe("ID of a site member.").regex(
677
+ /^[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}$/,
678
+ "Must be a valid GUID"
679
+ )
680
+ }),
681
+ z.object({
682
+ anonymousVisitorId: z.never().optional(),
683
+ memberId: z.never().optional(),
684
+ wixUserId: z.string().describe("ID of a Wix user.").regex(
685
+ /^[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}$/,
686
+ "Must be a valid GUID"
687
+ )
688
+ })
689
+ ])
690
+ ).describe("Program beneficiary.").optional(),
691
+ displayName: z.string().describe(
692
+ "Program name.\n\nYou may want to use the same name that's used in the associated program definition, if it exists."
693
+ ).max(64).optional().nullable(),
694
+ namespace: z.string().describe(
695
+ "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
696
+ ).min(1).max(20).optional().nullable(),
697
+ extendedFields: z.object({
698
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
699
+ "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
700
+ ).optional()
701
+ }).describe(
702
+ "Custom field data for the program object.\n\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls."
703
+ ).optional(),
704
+ externalId: z.string().describe(
705
+ "ID for the program defined by you. You can use `externalId` to filter queries."
706
+ ).regex(
707
+ /^[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}$/,
708
+ "Must be a valid GUID"
709
+ ).optional().nullable(),
710
+ programDefinition: z.object({
711
+ _id: z.string().describe("Program definition ID.").regex(
712
+ /^[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}$/,
713
+ "Must be a valid GUID"
714
+ ).optional(),
715
+ externalId: z.string().describe("Program definition external ID.").regex(
716
+ /^[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}$/,
717
+ "Must be a valid GUID"
718
+ ).optional().nullable()
719
+ }).describe("Associated program definition information.").optional()
720
+ })
721
+ ).optional(),
722
+ metadata: z.object({
723
+ count: z.number().int().describe("Number of items returned in the response.").optional().nullable(),
724
+ cursors: z.object({
725
+ next: z.string().describe(
726
+ "Cursor string pointing to the next page in the list of results."
727
+ ).max(16e3).optional().nullable(),
728
+ prev: z.string().describe(
729
+ "Cursor pointing to the previous page in the list of results."
730
+ ).max(16e3).optional().nullable()
731
+ }).describe(
732
+ "Cursor strings that point to the next page, previous page, or both."
733
+ ).optional(),
734
+ hasNext: z.boolean().describe(
735
+ "Whether there are more pages to retrieve following the current page.\n\n+ `true`: Another page of results can be retrieved.\n+ `false`: This is the last page."
736
+ ).optional().nullable()
737
+ }).describe("Metadata for the paginated results.").optional()
738
+ });
739
+ var GetProgramByExternalIdAndNamespaceRequest = z.object({
740
+ namespace: z.string().describe(
741
+ "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
742
+ ).min(1).max(20),
743
+ options: z.object({
744
+ externalId: z.string().describe("Program's external ID.").regex(
745
+ /^[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}$/,
746
+ "Must be a valid GUID"
747
+ )
748
+ })
749
+ });
750
+ var GetProgramByExternalIdAndNamespaceResponse = z.object({
751
+ program: z.object({
752
+ _id: z.string().describe("Program ID.").regex(
753
+ /^[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}$/,
754
+ "Must be a valid GUID"
755
+ ).optional().nullable(),
756
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
757
+ "Revision number, which increments by 1 each time the program is updated.\nTo prevent conflicting changes, the current revision must be specified when updating the program.\n\nIgnored when creating a program."
758
+ ).optional().nullable(),
759
+ _createdDate: z.date().describe("Date and time the program was created.").optional().nullable(),
760
+ _updatedDate: z.date().describe("Date and time the program was updated.").optional().nullable(),
761
+ programDefinitionId: z.string().describe("ID of the associated program definition.").regex(
762
+ /^[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}$/,
763
+ "Must be a valid GUID"
764
+ ).optional().nullable(),
765
+ status: z.enum([
766
+ "ACTIVE",
767
+ "PAUSED",
768
+ "ENDED",
769
+ "PROVISIONING",
770
+ "PAUSING",
771
+ "RESUMING",
772
+ "ENDING"
773
+ ]).describe("Program status.").optional(),
774
+ beneficiary: z.intersection(
775
+ z.object({}),
776
+ z.xor([
777
+ z.object({
778
+ anonymousVisitorId: z.never().optional(),
779
+ memberId: z.never().optional(),
780
+ wixUserId: z.never().optional()
781
+ }),
782
+ z.object({
783
+ memberId: z.never().optional(),
784
+ wixUserId: z.never().optional(),
785
+ anonymousVisitorId: z.string().describe(
786
+ "ID of a site visitor that hasn't logged in to the site."
787
+ ).regex(
788
+ /^[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}$/,
789
+ "Must be a valid GUID"
790
+ )
791
+ }),
792
+ z.object({
793
+ anonymousVisitorId: z.never().optional(),
794
+ wixUserId: z.never().optional(),
795
+ memberId: z.string().describe("ID of a site member.").regex(
796
+ /^[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}$/,
797
+ "Must be a valid GUID"
798
+ )
799
+ }),
800
+ z.object({
801
+ anonymousVisitorId: z.never().optional(),
802
+ memberId: z.never().optional(),
803
+ wixUserId: z.string().describe("ID of a Wix user.").regex(
804
+ /^[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}$/,
805
+ "Must be a valid GUID"
806
+ )
807
+ })
808
+ ])
809
+ ).describe("Program beneficiary.").optional(),
810
+ displayName: z.string().describe(
811
+ "Program name.\n\nYou may want to use the same name that's used in the associated program definition, if it exists."
812
+ ).max(64).optional().nullable(),
813
+ namespace: z.string().describe(
814
+ "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
815
+ ).min(1).max(20).optional().nullable(),
816
+ extendedFields: z.object({
817
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
818
+ "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
819
+ ).optional()
820
+ }).describe(
821
+ "Custom field data for the program object.\n\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls."
822
+ ).optional(),
823
+ externalId: z.string().describe(
824
+ "ID for the program defined by you. You can use `externalId` to filter queries."
825
+ ).regex(
826
+ /^[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}$/,
827
+ "Must be a valid GUID"
828
+ ).optional().nullable(),
829
+ programDefinition: z.object({
830
+ _id: z.string().describe("Program definition ID.").regex(
831
+ /^[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}$/,
832
+ "Must be a valid GUID"
833
+ ).optional(),
834
+ externalId: z.string().describe("Program definition external ID.").regex(
835
+ /^[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}$/,
836
+ "Must be a valid GUID"
837
+ ).optional().nullable()
838
+ }).describe("Associated program definition information.").optional()
839
+ }).describe("Retrieved program.").optional()
840
+ });
841
+ export {
842
+ EndProgramRequest,
843
+ EndProgramResponse,
844
+ GetProgramByExternalIdAndNamespaceRequest,
845
+ GetProgramByExternalIdAndNamespaceResponse,
846
+ GetProgramRequest,
847
+ GetProgramResponse,
848
+ PauseProgramRequest,
849
+ PauseProgramResponse,
850
+ ProvisionProgramRequest,
851
+ ProvisionProgramResponse,
852
+ QueryProgramsRequest,
853
+ QueryProgramsResponse,
854
+ RenewProgramRequest,
855
+ RenewProgramResponse,
856
+ ResumeProgramRequest,
857
+ ResumeProgramResponse,
858
+ UpdateProgramRequest,
859
+ UpdateProgramResponse
860
+ };
861
+ //# sourceMappingURL=schemas.mjs.map