@deliverart/sdk-js-receipt-template 0.0.0-dev-20260721002647

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @deliverart/sdk-js-receipt-template
2
+
3
+ Typed SDK contract for point-of-sale receipt templates.
4
+
5
+ The package provides:
6
+
7
+ - Zod schemas for versioned block definitions;
8
+ - list, detail, point-of-sale collection, create, and update requests;
9
+ - optimistic concurrency through `If-Match` on `UpdateReceiptTemplate`;
10
+ - IRI schemas for relationships from print rules.
11
+
12
+ ```ts
13
+ import {
14
+ GetReceiptTemplateDetails,
15
+ UpdateReceiptTemplate,
16
+ } from '@deliverart/sdk-js-receipt-template'
17
+
18
+ const template = await sdk.call(new GetReceiptTemplateDetails(templateId))
19
+
20
+ const updated = await sdk.call(
21
+ new UpdateReceiptTemplate(template.id, template.revision, {
22
+ name: 'Cucina',
23
+ definition: nextDefinition,
24
+ }),
25
+ )
26
+ ```
27
+
28
+ `UpdateReceiptTemplate` emits `application/merge-patch+json` and a strong `If-Match` header. A stale revision is rejected by the API instead of silently overwriting a newer edit.
29
+
30
+ Time, customer, address, and note blocks support `fieldLayout: "inline" | "stacked"`. Existing definitions default to `inline`. In stacked mode, `labelStyle` controls each field heading while `style` independently controls its value; stacked layout is rejected for other block types.
31
+
32
+ `order_times` blocks support `showDate: false` when a receipt should print only the localized time. Missing or `null` values retain the legacy date-and-time format. The option is rejected on every other block type.
package/dist/index.cjs ADDED
@@ -0,0 +1,494 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ CreateReceiptTemplate: () => CreateReceiptTemplate,
24
+ GetReceiptTemplateDetails: () => GetReceiptTemplateDetails,
25
+ GetReceiptTemplates: () => GetReceiptTemplates,
26
+ GetReceiptTemplatesFromPointOfSale: () => GetReceiptTemplatesFromPointOfSale,
27
+ UpdateReceiptTemplate: () => UpdateReceiptTemplate,
28
+ createReceiptTemplateInputSchema: () => createReceiptTemplateInputSchema,
29
+ createReceiptTemplateResponseSchema: () => createReceiptTemplateResponseSchema,
30
+ getReceiptTemplatesResponseSchema: () => getReceiptTemplatesResponseSchema,
31
+ receiptTemplateAlignmentSchema: () => receiptTemplateAlignmentSchema,
32
+ receiptTemplateBlockSchema: () => receiptTemplateBlockSchema,
33
+ receiptTemplateBlockStyleSchema: () => receiptTemplateBlockStyleSchema,
34
+ receiptTemplateBlockTypeSchema: () => receiptTemplateBlockTypeSchema,
35
+ receiptTemplateBlockTypes: () => receiptTemplateBlockTypes,
36
+ receiptTemplateConditionSchema: () => receiptTemplateConditionSchema,
37
+ receiptTemplateConditionTypeSchema: () => receiptTemplateConditionTypeSchema,
38
+ receiptTemplateConditionTypes: () => receiptTemplateConditionTypes,
39
+ receiptTemplateDefinitionSchema: () => receiptTemplateDefinitionSchema,
40
+ receiptTemplateFieldLayoutBlockTypes: () => receiptTemplateFieldLayoutBlockTypes,
41
+ receiptTemplateFieldLayoutSchema: () => receiptTemplateFieldLayoutSchema,
42
+ receiptTemplateFieldSchema: () => receiptTemplateFieldSchema,
43
+ receiptTemplateFields: () => receiptTemplateFields,
44
+ receiptTemplateIriSchema: () => receiptTemplateIriSchema,
45
+ receiptTemplateNullableIriSchema: () => receiptTemplateNullableIriSchema,
46
+ receiptTemplateSchema: () => receiptTemplateSchema,
47
+ receiptTemplateStatusSchema: () => receiptTemplateStatusSchema,
48
+ receiptTemplateStatuses: () => receiptTemplateStatuses,
49
+ receiptTemplateTextSegmentSchema: () => receiptTemplateTextSegmentSchema,
50
+ receiptTemplateTextSegmentTypeSchema: () => receiptTemplateTextSegmentTypeSchema,
51
+ receiptTemplateTextSizeSchema: () => receiptTemplateTextSizeSchema,
52
+ receiptTemplatesQuerySchema: () => receiptTemplatesQuerySchema,
53
+ updateReceiptTemplateHeadersSchema: () => updateReceiptTemplateHeadersSchema,
54
+ updateReceiptTemplateInputSchema: () => updateReceiptTemplateInputSchema,
55
+ writableCreateReceiptTemplateSchema: () => writableCreateReceiptTemplateSchema,
56
+ writableReceiptTemplateSchema: () => writableReceiptTemplateSchema
57
+ });
58
+ module.exports = __toCommonJS(index_exports);
59
+
60
+ // src/models.ts
61
+ var import_sdk_js_global_types = require("@deliverart/sdk-js-global-types");
62
+ var import_sdk_js_point_of_sale = require("@deliverart/sdk-js-point-of-sale");
63
+ var import_zod = require("zod");
64
+ var receiptTemplateStatuses = ["active", "archived"];
65
+ var receiptTemplateStatusSchema = import_zod.z.enum(receiptTemplateStatuses);
66
+ var receiptTemplateBlockTypes = [
67
+ "title",
68
+ "order_type",
69
+ "logo",
70
+ "order_identity",
71
+ "order_times",
72
+ "customer",
73
+ "address",
74
+ "items",
75
+ "notes",
76
+ "totals",
77
+ "payment",
78
+ "separator",
79
+ "spacer",
80
+ "custom_text"
81
+ ];
82
+ var receiptTemplateBlockTypeSchema = import_zod.z.enum(receiptTemplateBlockTypes);
83
+ var receiptTemplateConditionTypes = [
84
+ "always",
85
+ "order_type",
86
+ "data_present",
87
+ "has_discount",
88
+ "has_fee",
89
+ "has_payment",
90
+ "source"
91
+ ];
92
+ var receiptTemplateConditionTypeSchema = import_zod.z.enum(receiptTemplateConditionTypes);
93
+ var receiptTemplateFields = [
94
+ "order_sequence",
95
+ "order_display_id",
96
+ "order_type",
97
+ "requested_time",
98
+ "preparation_time",
99
+ "customer_name",
100
+ "customer_phone",
101
+ "customer_contact_number",
102
+ "customer_access_code",
103
+ "address_line_1",
104
+ "address_line_2",
105
+ "address_city",
106
+ "address_postal_code",
107
+ "item_variant",
108
+ "item_removals",
109
+ "item_modifiers",
110
+ "item_notes",
111
+ "item_prices",
112
+ "subtotal",
113
+ "discount",
114
+ "fees",
115
+ "total",
116
+ "taxes",
117
+ "payment_status",
118
+ "payment_method",
119
+ "order_notes",
120
+ "kitchen_notes",
121
+ "delivery_notes",
122
+ "partner"
123
+ ];
124
+ var receiptTemplateFieldSchema = import_zod.z.enum(receiptTemplateFields);
125
+ var receiptTemplateAlignmentSchema = import_zod.z.enum(["left", "center", "right"]);
126
+ var receiptTemplateTextSizeSchema = import_zod.z.enum(["normal", "tall", "double", "double_tall"]);
127
+ var receiptTemplateFieldLayoutSchema = import_zod.z.enum(["inline", "stacked"]);
128
+ var receiptTemplateFieldLayoutBlockTypes = [
129
+ "order_times",
130
+ "customer",
131
+ "address",
132
+ "notes"
133
+ ];
134
+ var receiptTemplateTextSegmentTypeSchema = import_zod.z.enum(["literal", "field"]);
135
+ var localizedTextSchema = import_zod.z.record(import_zod.z.string().regex(/^[a-z]{2}(?:_[A-Z]{2})?$/), import_zod.z.string().max(500)).refine((value) => Object.keys(value).length <= 16, "At most 16 translations are allowed");
136
+ var receiptTemplateConditionSchema = import_zod.z.object({
137
+ type: receiptTemplateConditionTypeSchema,
138
+ values: import_zod.z.array(import_zod.z.string().max(64)).max(16)
139
+ }).superRefine((condition, context) => {
140
+ const allowedValues = {
141
+ order_type: ["delivery", "collection", "kitchen"],
142
+ source: ["application", "ecommerce", "partner"],
143
+ data_present: receiptTemplateFields
144
+ };
145
+ const allowed = allowedValues[condition.type];
146
+ if (!allowed && condition.values.length > 0) {
147
+ context.addIssue({
148
+ code: "custom",
149
+ path: ["values"],
150
+ message: "This condition does not accept values"
151
+ });
152
+ return;
153
+ }
154
+ if (allowed && condition.values.length === 0) {
155
+ context.addIssue({
156
+ code: "custom",
157
+ path: ["values"],
158
+ message: "This condition requires at least one value"
159
+ });
160
+ return;
161
+ }
162
+ condition.values.forEach((value, index) => {
163
+ if (allowed && !allowed.includes(value)) {
164
+ context.addIssue({
165
+ code: "custom",
166
+ path: ["values", index],
167
+ message: `Unsupported condition value: ${value}`
168
+ });
169
+ }
170
+ });
171
+ });
172
+ var receiptTemplateBlockStyleSchema = import_zod.z.object({
173
+ alignment: receiptTemplateAlignmentSchema,
174
+ size: receiptTemplateTextSizeSchema,
175
+ bold: import_zod.z.boolean(),
176
+ underline: import_zod.z.boolean(),
177
+ inverse: import_zod.z.boolean()
178
+ });
179
+ var defaultReceiptTemplateBlockStyle = {
180
+ alignment: "left",
181
+ size: "normal",
182
+ bold: false,
183
+ underline: false,
184
+ inverse: false
185
+ };
186
+ var defaultReceiptTemplateLabelStyle = {
187
+ ...defaultReceiptTemplateBlockStyle,
188
+ bold: true
189
+ };
190
+ var receiptTemplateTextSegmentSchema = import_zod.z.object({
191
+ type: receiptTemplateTextSegmentTypeSchema,
192
+ translations: localizedTextSchema,
193
+ field: receiptTemplateFieldSchema.nullable()
194
+ }).superRefine((segment, context) => {
195
+ if (segment.type === "literal") {
196
+ if (Object.keys(segment.translations).length === 0) {
197
+ context.addIssue({
198
+ code: "custom",
199
+ path: ["translations"],
200
+ message: "Literal segments require translated text"
201
+ });
202
+ }
203
+ if (segment.field !== null) {
204
+ context.addIssue({
205
+ code: "custom",
206
+ path: ["field"],
207
+ message: "Literal segments cannot reference a field"
208
+ });
209
+ }
210
+ return;
211
+ }
212
+ if (segment.field === null) {
213
+ context.addIssue({
214
+ code: "custom",
215
+ path: ["field"],
216
+ message: "Field segments require a supported field"
217
+ });
218
+ }
219
+ if (Object.keys(segment.translations).length > 0) {
220
+ context.addIssue({
221
+ code: "custom",
222
+ path: ["translations"],
223
+ message: "Field segments cannot contain literal text"
224
+ });
225
+ }
226
+ });
227
+ var receiptTemplateBlockSchema = import_zod.z.object({
228
+ id: import_zod.z.string().regex(/^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}$/),
229
+ type: receiptTemplateBlockTypeSchema,
230
+ enabled: import_zod.z.boolean(),
231
+ condition: receiptTemplateConditionSchema,
232
+ style: receiptTemplateBlockStyleSchema,
233
+ labelStyle: receiptTemplateBlockStyleSchema.default(defaultReceiptTemplateLabelStyle),
234
+ fieldLayout: receiptTemplateFieldLayoutSchema.default("inline"),
235
+ labels: localizedTextSchema,
236
+ visibleFields: import_zod.z.array(receiptTemplateFieldSchema).max(32),
237
+ showDate: import_zod.z.boolean().nullable().optional(),
238
+ spacerLines: import_zod.z.number().int().min(1).max(10).nullable(),
239
+ separatorCharacter: import_zod.z.string().length(1).nullable(),
240
+ segments: import_zod.z.array(receiptTemplateTextSegmentSchema).max(32)
241
+ }).superRefine((block, context) => {
242
+ if (block.type === "spacer" !== (block.spacerLines !== null)) {
243
+ context.addIssue({
244
+ code: "custom",
245
+ path: ["spacerLines"],
246
+ message: "spacerLines is required only for spacer blocks"
247
+ });
248
+ }
249
+ if (block.type === "separator" !== (block.separatorCharacter !== null)) {
250
+ context.addIssue({
251
+ code: "custom",
252
+ path: ["separatorCharacter"],
253
+ message: "separatorCharacter is required only for separator blocks"
254
+ });
255
+ }
256
+ if (block.type === "custom_text" !== block.segments.length > 0) {
257
+ context.addIssue({
258
+ code: "custom",
259
+ path: ["segments"],
260
+ message: "Segments are required only for custom text blocks"
261
+ });
262
+ }
263
+ if (block.fieldLayout !== "inline" && !receiptTemplateFieldLayoutBlockTypes.includes(
264
+ block.type
265
+ )) {
266
+ context.addIssue({
267
+ code: "custom",
268
+ path: ["fieldLayout"],
269
+ message: "Stacked field layout is supported only for times, customer, address and notes"
270
+ });
271
+ }
272
+ if (block.type !== "order_times" && block.showDate != null) {
273
+ context.addIssue({
274
+ code: "custom",
275
+ path: ["showDate"],
276
+ message: "showDate is supported only for order time blocks"
277
+ });
278
+ }
279
+ });
280
+ var repeatableBlockTypes = /* @__PURE__ */ new Set([
281
+ "separator",
282
+ "spacer",
283
+ "custom_text"
284
+ ]);
285
+ var receiptTemplateDefinitionSchema = import_zod.z.object({
286
+ schemaVersion: import_zod.z.literal(1),
287
+ blocks: import_zod.z.array(receiptTemplateBlockSchema).min(1).max(64)
288
+ }).superRefine((definition, context) => {
289
+ const ids = /* @__PURE__ */ new Set();
290
+ const singletonTypes = /* @__PURE__ */ new Set();
291
+ definition.blocks.forEach((block, index) => {
292
+ if (ids.has(block.id)) {
293
+ context.addIssue({
294
+ code: "custom",
295
+ path: ["blocks", index, "id"],
296
+ message: "Block ids must be unique"
297
+ });
298
+ }
299
+ ids.add(block.id);
300
+ if (!repeatableBlockTypes.has(block.type)) {
301
+ if (singletonTypes.has(block.type)) {
302
+ context.addIssue({
303
+ code: "custom",
304
+ path: ["blocks", index, "type"],
305
+ message: `${block.type} can appear only once`
306
+ });
307
+ }
308
+ singletonTypes.add(block.type);
309
+ }
310
+ });
311
+ });
312
+ var receiptTemplateSchema = import_zod.z.object({
313
+ id: import_zod.z.string(),
314
+ pointOfSale: import_sdk_js_point_of_sale.pointOfSaleIriSchema.optional(),
315
+ name: import_zod.z.string().max(80),
316
+ schemaVersion: import_zod.z.literal(1),
317
+ definition: receiptTemplateDefinitionSchema,
318
+ status: receiptTemplateStatusSchema,
319
+ archivedAt: import_sdk_js_global_types.datetimeSchema.nullable(),
320
+ revision: import_zod.z.number().int().positive(),
321
+ createdAt: import_sdk_js_global_types.datetimeSchema,
322
+ updatedAt: import_sdk_js_global_types.datetimeSchema,
323
+ usageCount: import_zod.z.number().int().nonnegative()
324
+ });
325
+ var writableReceiptTemplateSchema = receiptTemplateSchema.pick({
326
+ name: true,
327
+ definition: true,
328
+ status: true
329
+ });
330
+ var writableCreateReceiptTemplateSchema = writableReceiptTemplateSchema.extend({
331
+ pointOfSale: import_sdk_js_point_of_sale.pointOfSaleIriSchema
332
+ });
333
+ var receiptTemplatesQuerySchema = import_zod.z.object({
334
+ id: import_zod.z.union([import_zod.z.string(), import_zod.z.array(import_zod.z.string())]).optional(),
335
+ name: import_zod.z.string().optional(),
336
+ status: import_zod.z.union([receiptTemplateStatusSchema, import_zod.z.array(receiptTemplateStatusSchema)]).optional(),
337
+ "order[name]": import_sdk_js_global_types.sortDirSchema.optional(),
338
+ "order[createdAt]": import_sdk_js_global_types.sortDirSchema.optional(),
339
+ "order[updatedAt]": import_sdk_js_global_types.sortDirSchema.optional(),
340
+ page: import_zod.z.coerce.number().optional()
341
+ }).extend(import_sdk_js_global_types.timestampsFilterSchema.shape);
342
+
343
+ // src/requests/CreateReceiptTemplate.ts
344
+ var import_sdk_js_core = require("@deliverart/sdk-js-core");
345
+ var createReceiptTemplateInputSchema = writableCreateReceiptTemplateSchema;
346
+ var createReceiptTemplateResponseSchema = receiptTemplateSchema;
347
+ var CreateReceiptTemplate = class extends import_sdk_js_core.AbstractApiRequest {
348
+ constructor(input) {
349
+ super(input);
350
+ this.method = "POST";
351
+ this.contentType = "application/json";
352
+ this.accept = "application/json";
353
+ this.inputSchema = createReceiptTemplateInputSchema;
354
+ this.outputSchema = createReceiptTemplateResponseSchema;
355
+ this.querySchema = void 0;
356
+ this.headersSchema = void 0;
357
+ }
358
+ getPath() {
359
+ return "/receipt_templates";
360
+ }
361
+ };
362
+
363
+ // src/requests/GetReceiptTemplateDetails.ts
364
+ var import_sdk_js_core2 = require("@deliverart/sdk-js-core");
365
+ var import_zod2 = require("zod");
366
+ var inputSchema = import_zod2.z.undefined();
367
+ var GetReceiptTemplateDetails = class extends import_sdk_js_core2.AbstractApiRequest {
368
+ constructor(receiptTemplateId) {
369
+ super(void 0);
370
+ this.receiptTemplateId = receiptTemplateId;
371
+ this.method = "GET";
372
+ this.contentType = "application/json";
373
+ this.accept = "application/json";
374
+ this.inputSchema = inputSchema;
375
+ this.outputSchema = receiptTemplateSchema;
376
+ this.querySchema = void 0;
377
+ this.headersSchema = void 0;
378
+ }
379
+ getPath() {
380
+ return `/receipt_templates/${this.receiptTemplateId}`;
381
+ }
382
+ };
383
+
384
+ // src/requests/GetReceiptTemplates.ts
385
+ var import_sdk_js_core3 = require("@deliverart/sdk-js-core");
386
+ var import_sdk_js_global_types2 = require("@deliverart/sdk-js-global-types");
387
+ var import_zod3 = require("zod");
388
+ var inputSchema2 = import_zod3.z.undefined();
389
+ var getReceiptTemplatesResponseSchema = (0, import_sdk_js_global_types2.createPaginatedSchema)(receiptTemplateSchema);
390
+ var GetReceiptTemplates = class extends import_sdk_js_core3.AbstractApiRequest {
391
+ constructor(options) {
392
+ super(void 0, options);
393
+ this.method = "GET";
394
+ this.contentType = "application/json";
395
+ this.accept = "application/json";
396
+ this.inputSchema = inputSchema2;
397
+ this.outputSchema = getReceiptTemplatesResponseSchema;
398
+ this.querySchema = receiptTemplatesQuerySchema;
399
+ this.headersSchema = void 0;
400
+ this.listItemSchema = receiptTemplateSchema;
401
+ this.paginationDefaultEnabled = true;
402
+ }
403
+ getPath() {
404
+ return "/receipt_templates";
405
+ }
406
+ };
407
+
408
+ // src/requests/GetReceiptTemplatesFromPointOfSale.ts
409
+ var import_sdk_js_core4 = require("@deliverart/sdk-js-core");
410
+ var import_zod4 = require("zod");
411
+ var inputSchema3 = import_zod4.z.undefined();
412
+ var outputSchema = import_zod4.z.array(receiptTemplateSchema);
413
+ var GetReceiptTemplatesFromPointOfSale = class extends import_sdk_js_core4.AbstractApiRequest {
414
+ constructor(pointOfSaleId, options) {
415
+ super(void 0, options);
416
+ this.pointOfSaleId = pointOfSaleId;
417
+ this.method = "GET";
418
+ this.contentType = "application/json";
419
+ this.accept = "application/json";
420
+ this.inputSchema = inputSchema3;
421
+ this.outputSchema = outputSchema;
422
+ this.querySchema = receiptTemplatesQuerySchema;
423
+ this.headersSchema = void 0;
424
+ }
425
+ getPath() {
426
+ return `/point_of_sales/${this.pointOfSaleId}/receipt_templates`;
427
+ }
428
+ };
429
+
430
+ // src/requests/UpdateReceiptTemplate.ts
431
+ var import_sdk_js_core5 = require("@deliverart/sdk-js-core");
432
+ var import_zod5 = require("zod");
433
+ var updateReceiptTemplateInputSchema = writableReceiptTemplateSchema.partial();
434
+ var updateReceiptTemplateHeadersSchema = import_zod5.z.object({
435
+ "If-Match": import_zod5.z.string().min(1)
436
+ });
437
+ var UpdateReceiptTemplate = class extends import_sdk_js_core5.AbstractApiRequest {
438
+ constructor(receiptTemplateId, revision, input) {
439
+ super(input, { headers: { "If-Match": `"${revision}"` } });
440
+ this.receiptTemplateId = receiptTemplateId;
441
+ this.method = "PATCH";
442
+ this.contentType = "application/merge-patch+json";
443
+ this.accept = "application/json";
444
+ this.inputSchema = updateReceiptTemplateInputSchema;
445
+ this.outputSchema = receiptTemplateSchema;
446
+ this.querySchema = void 0;
447
+ this.headersSchema = updateReceiptTemplateHeadersSchema;
448
+ }
449
+ getPath() {
450
+ return `/receipt_templates/${this.receiptTemplateId}`;
451
+ }
452
+ };
453
+
454
+ // src/types.ts
455
+ var import_sdk_js_global_types3 = require("@deliverart/sdk-js-global-types");
456
+ var receiptTemplateIriSchema = (0, import_sdk_js_global_types3.iriSchema)("/receipt_templates/:id");
457
+ var receiptTemplateNullableIriSchema = (0, import_sdk_js_global_types3.iriNullableSchema)("/receipt_templates/:id");
458
+ // Annotate the CommonJS export names for ESM import in node:
459
+ 0 && (module.exports = {
460
+ CreateReceiptTemplate,
461
+ GetReceiptTemplateDetails,
462
+ GetReceiptTemplates,
463
+ GetReceiptTemplatesFromPointOfSale,
464
+ UpdateReceiptTemplate,
465
+ createReceiptTemplateInputSchema,
466
+ createReceiptTemplateResponseSchema,
467
+ getReceiptTemplatesResponseSchema,
468
+ receiptTemplateAlignmentSchema,
469
+ receiptTemplateBlockSchema,
470
+ receiptTemplateBlockStyleSchema,
471
+ receiptTemplateBlockTypeSchema,
472
+ receiptTemplateBlockTypes,
473
+ receiptTemplateConditionSchema,
474
+ receiptTemplateConditionTypeSchema,
475
+ receiptTemplateConditionTypes,
476
+ receiptTemplateDefinitionSchema,
477
+ receiptTemplateFieldLayoutBlockTypes,
478
+ receiptTemplateFieldLayoutSchema,
479
+ receiptTemplateFieldSchema,
480
+ receiptTemplateFields,
481
+ receiptTemplateIriSchema,
482
+ receiptTemplateNullableIriSchema,
483
+ receiptTemplateSchema,
484
+ receiptTemplateStatusSchema,
485
+ receiptTemplateStatuses,
486
+ receiptTemplateTextSegmentSchema,
487
+ receiptTemplateTextSegmentTypeSchema,
488
+ receiptTemplateTextSizeSchema,
489
+ receiptTemplatesQuerySchema,
490
+ updateReceiptTemplateHeadersSchema,
491
+ updateReceiptTemplateInputSchema,
492
+ writableCreateReceiptTemplateSchema,
493
+ writableReceiptTemplateSchema
494
+ });