@aidc-toolkit/app-extension 0.9.20-beta → 1.0.22-beta

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 (59) hide show
  1. package/app-extension.iml +3 -1
  2. package/dist/app-utility-proxy.js +6 -6
  3. package/dist/app-utility-proxy.js.map +1 -1
  4. package/dist/descriptor.d.ts +10 -6
  5. package/dist/descriptor.d.ts.map +1 -1
  6. package/dist/descriptor.js +6 -7
  7. package/dist/descriptor.js.map +1 -1
  8. package/dist/generator/generator.js +2 -2
  9. package/dist/generator/generator.js.map +1 -1
  10. package/dist/gs1/check-proxy.js +8 -8
  11. package/dist/gs1/check-proxy.js.map +1 -1
  12. package/dist/gs1/{idkey-proxy.d.ts → identifier-proxy.d.ts} +44 -43
  13. package/dist/gs1/identifier-proxy.d.ts.map +1 -0
  14. package/dist/gs1/{idkey-proxy.js → identifier-proxy.js} +113 -110
  15. package/dist/gs1/identifier-proxy.js.map +1 -0
  16. package/dist/gs1/index.d.ts +1 -1
  17. package/dist/gs1/index.d.ts.map +1 -1
  18. package/dist/gs1/index.js +1 -1
  19. package/dist/gs1/index.js.map +1 -1
  20. package/dist/locale/en/locale-strings.d.ts +3 -3
  21. package/dist/locale/en/locale-strings.js +11 -11
  22. package/dist/locale/en/locale-strings.js.map +1 -1
  23. package/dist/locale/fr/locale-strings.d.ts +3 -3
  24. package/dist/locale/fr/locale-strings.js +4 -4
  25. package/dist/locale/fr/locale-strings.js.map +1 -1
  26. package/dist/utility/character-set-descriptor.d.ts.map +1 -1
  27. package/dist/utility/character-set-descriptor.js +2 -2
  28. package/dist/utility/character-set-descriptor.js.map +1 -1
  29. package/dist/utility/character-set-proxy.js +7 -7
  30. package/dist/utility/character-set-proxy.js.map +1 -1
  31. package/dist/utility/reg-exp-proxy.js +5 -5
  32. package/dist/utility/reg-exp-proxy.js.map +1 -1
  33. package/dist/utility/string-descriptor.d.ts.map +1 -1
  34. package/dist/utility/string-descriptor.js +2 -2
  35. package/dist/utility/string-descriptor.js.map +1 -1
  36. package/dist/utility/transformer-descriptor.d.ts.map +1 -1
  37. package/dist/utility/transformer-descriptor.js +3 -3
  38. package/dist/utility/transformer-descriptor.js.map +1 -1
  39. package/dist/utility/transformer-proxy.js +6 -6
  40. package/dist/utility/transformer-proxy.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/app-utility-proxy.ts +6 -6
  43. package/src/descriptor.ts +11 -6
  44. package/src/generator/generator.ts +2 -2
  45. package/src/generator/locale-strings-generator.ts +1 -1
  46. package/src/generator/logger.ts +18 -7
  47. package/src/gs1/check-proxy.ts +8 -8
  48. package/src/gs1/{idkey-proxy.ts → identifier-proxy.ts} +125 -120
  49. package/src/gs1/index.ts +1 -1
  50. package/src/locale/en/locale-strings.ts +11 -11
  51. package/src/locale/fr/locale-strings.ts +4 -4
  52. package/src/utility/character-set-descriptor.ts +2 -2
  53. package/src/utility/character-set-proxy.ts +7 -7
  54. package/src/utility/reg-exp-proxy.ts +5 -5
  55. package/src/utility/string-descriptor.ts +2 -2
  56. package/src/utility/transformer-descriptor.ts +3 -3
  57. package/src/utility/transformer-proxy.ts +6 -6
  58. package/dist/gs1/idkey-proxy.d.ts.map +0 -1
  59. package/dist/gs1/idkey-proxy.js.map +0 -1
@@ -15,20 +15,22 @@ import {
15
15
  GTINCreator,
16
16
  type GTINLevel,
17
17
  GTINValidator,
18
- type IdentificationKeyCreator,
19
- type IdentificationKeyValidation,
20
- type IdentificationKeyValidator,
21
- type NonGTINNumericIdentificationKeyCreator,
22
- type NonGTINNumericIdentificationKeyValidator,
23
- type NonNumericIdentificationKeyCreator,
24
- type NonNumericIdentificationKeyValidation,
25
- type NonNumericIdentificationKeyValidator,
26
- type NumericIdentificationKeyCreator,
27
- type NumericIdentificationKeyValidator,
18
+ type IdentifierCreator,
19
+ type IdentifierValidation,
20
+ type IdentifierValidator,
21
+ type NonGTINNumericIdentifierCreator,
22
+ type NonGTINNumericIdentifierValidator,
23
+ type NonNumericIdentifierCreator,
24
+ type NonNumericIdentifierValidation,
25
+ type NonNumericIdentifierValidator,
26
+ type NumericIdentifierCreator,
27
+ type NumericIdentifierValidator,
28
28
  PrefixManager,
29
- PrefixType,
30
- type SerializableNumericIdentificationKeyCreator,
31
- type SerializableNumericIdentificationKeyValidator,
29
+ type PrefixType,
30
+ PrefixTypes,
31
+ PrefixValidator,
32
+ type SerializableNumericIdentifierCreator,
33
+ type SerializableNumericIdentifierValidator,
32
34
  SSCC_VALIDATOR
33
35
  } from "@aidc-toolkit/gs1";
34
36
  import { Sequence } from "@aidc-toolkit/utility";
@@ -39,7 +41,7 @@ import {
39
41
  ProxyClass,
40
42
  ProxyMethod,
41
43
  ProxyParameter,
42
- Type
44
+ Types
43
45
  } from "../descriptor.js";
44
46
  import { LibProxy } from "../lib-proxy.js";
45
47
  import { i18nextAppExtension } from "../locale/i18n.js";
@@ -52,66 +54,66 @@ import {
52
54
  valueParameterDescriptor
53
55
  } from "../utility/transformer-descriptor.js";
54
56
 
55
- const identificationKeyParameterDescriptor: ParameterDescriptor = {
56
- name: "identificationKey",
57
- type: Type.String,
57
+ const identifierParameterDescriptor: ParameterDescriptor = {
58
+ name: "identifier",
59
+ type: Types.String,
58
60
  isMatrix: true,
59
61
  isRequired: true
60
62
  };
61
63
 
62
- const validateIdentificationKeyParameterDescriptor: ParameterDescriptor = {
63
- extendsDescriptor: identificationKeyParameterDescriptor,
64
+ const validateIdentifierParameterDescriptor: ParameterDescriptor = {
65
+ extendsDescriptor: identifierParameterDescriptor,
64
66
  sortOrder: 0,
65
- name: "validateIdentificationKey"
67
+ name: "validateIdentifier"
66
68
  };
67
69
 
68
- abstract class IdentificationKeyValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentificationKeyValidation extends IdentificationKeyValidation, TIdentificationKeyValidator extends IdentificationKeyValidator<TIdentificationKeyValidation>> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
69
- private readonly _validator: TIdentificationKeyValidator;
70
+ abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierValidation extends IdentifierValidation, TIdentifierValidator extends IdentifierValidator<TIdentifierValidation>> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
71
+ private readonly _validator: TIdentifierValidator;
70
72
 
71
- protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, validator: TIdentificationKeyValidator) {
73
+ protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, validator: TIdentifierValidator) {
72
74
  super(appExtension);
73
75
 
74
76
  this._validator = validator;
75
77
  }
76
78
 
77
- protected get validator(): TIdentificationKeyValidator {
79
+ protected get validator(): TIdentifierValidator {
78
80
  return this._validator;
79
81
  }
80
82
  }
81
83
 
82
- abstract class NumericIdentificationKeyValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentificationKeyValidator extends NumericIdentificationKeyValidator> extends IdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, IdentificationKeyValidation, TNumericIdentificationKeyValidator> {
84
+ abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierValidator extends NumericIdentifierValidator> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, IdentifierValidation, TNumericIdentifierValidator> {
83
85
  @ProxyMethod({
84
- type: Type.String,
86
+ type: Types.String,
85
87
  isMatrix: true
86
88
  })
87
89
  validate(
88
- @ProxyParameter(validateIdentificationKeyParameterDescriptor) matrixIdentificationKeys: Matrix<string>
90
+ @ProxyParameter(validateIdentifierParameterDescriptor) matrixIdentifiers: Matrix<string>
89
91
  ): MatrixResultError<string, ThrowError, TError> {
90
- return this.validateString(this.validator, matrixIdentificationKeys);
92
+ return this.validateString(this.validator, matrixIdentifiers);
91
93
  }
92
94
  }
93
95
 
94
- abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINValidator> {
96
+ abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINValidator> {
95
97
  }
96
98
 
97
- abstract class NonGTINNumericIdentificationKeyValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentificationKeyValidator extends NonGTINNumericIdentificationKeyValidator> extends NumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentificationKeyValidator> {
99
+ abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierValidator extends NonGTINNumericIdentifierValidator> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierValidator> {
98
100
  }
99
101
 
100
- abstract class SerializableNumericIdentificationKeyValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentificationKeyValidator> {
102
+ abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierValidator> {
101
103
  }
102
104
 
103
- abstract class NonNumericIdentificationKeyValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentificationKeyValidation, NonNumericIdentificationKeyValidator> {
105
+ abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierValidation, NonNumericIdentifierValidator> {
104
106
  @ProxyMethod({
105
- type: Type.String,
107
+ type: Types.String,
106
108
  isMatrix: true
107
109
  })
108
110
  validate(
109
- @ProxyParameter(validateIdentificationKeyParameterDescriptor) matrixIdentificationKeys: Matrix<string>,
110
- @ProxyParameter(exclusionAllNumericParameterDescriptor) exclusion: Nullishable<NonNumericIdentificationKeyValidation["exclusion"]>
111
+ @ProxyParameter(validateIdentifierParameterDescriptor) matrixIdentifiers: Matrix<string>,
112
+ @ProxyParameter(exclusionAllNumericParameterDescriptor) exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>
111
113
  ): MatrixResultError<string, ThrowError, TError> {
112
- return this.validateString(this.validator, matrixIdentificationKeys, {
114
+ return this.validateString(this.validator, matrixIdentifiers, {
113
115
  exclusion: exclusion ?? undefined
114
- } satisfies NonNumericIdentificationKeyValidation);
116
+ } satisfies NonNumericIdentifierValidation);
115
117
  }
116
118
  }
117
119
 
@@ -146,73 +148,73 @@ export class GTIN8ValidatorProxy<ThrowError extends boolean, TError extends Erro
146
148
  }
147
149
 
148
150
  const zeroSuppressibleGTIN12ParameterDescriptor: ParameterDescriptor = {
149
- extendsDescriptor: identificationKeyParameterDescriptor,
151
+ extendsDescriptor: identifierParameterDescriptor,
150
152
  name: "zeroSuppressibleGTIN12"
151
153
  };
152
154
 
153
155
  const zeroSuppressedGTIN12ParameterDescriptor: ParameterDescriptor = {
154
- extendsDescriptor: identificationKeyParameterDescriptor,
156
+ extendsDescriptor: identifierParameterDescriptor,
155
157
  name: "zeroSuppressedGTIN12"
156
158
  };
157
159
 
158
160
  const indicatorDigitParameterDescriptor: ParameterDescriptor = {
159
161
  name: "indicatorDigit",
160
- type: Type.String,
162
+ type: Types.String,
161
163
  isMatrix: false,
162
164
  isRequired: true
163
165
  };
164
166
 
165
167
  const convertGTINParameterDescriptor: ParameterDescriptor = {
166
- extendsDescriptor: identificationKeyParameterDescriptor,
168
+ extendsDescriptor: identifierParameterDescriptor,
167
169
  name: "convertGTIN"
168
170
  };
169
171
 
170
172
  const normalizeGTINParameterDescriptor: ParameterDescriptor = {
171
- extendsDescriptor: identificationKeyParameterDescriptor,
173
+ extendsDescriptor: identifierParameterDescriptor,
172
174
  name: "normalizeGTIN"
173
175
  };
174
176
 
175
177
  const validateGTINParameterDescriptor: ParameterDescriptor = {
176
- extendsDescriptor: identificationKeyParameterDescriptor,
178
+ extendsDescriptor: identifierParameterDescriptor,
177
179
  name: "validateGTIN"
178
180
  };
179
181
 
180
182
  const gtinLevelParameterDescriptor: ParameterDescriptor = {
181
183
  name: "gtinLevel",
182
- type: Type.Number,
184
+ type: Types.Number,
183
185
  isMatrix: false,
184
186
  isRequired: false
185
187
  };
186
188
 
187
189
  const validateGTIN14ParameterDescriptor: ParameterDescriptor = {
188
- extendsDescriptor: identificationKeyParameterDescriptor,
190
+ extendsDescriptor: identifierParameterDescriptor,
189
191
  name: "validateGTIN14"
190
192
  };
191
193
 
192
194
  const rcnFormatParameterDescriptor: ParameterDescriptor = {
193
195
  name: "rcnFormat",
194
- type: Type.String,
196
+ type: Types.String,
195
197
  isMatrix: false,
196
198
  isRequired: true
197
199
  };
198
200
 
199
201
  const rcnParameterDescriptor: ParameterDescriptor = {
200
202
  name: "rcn",
201
- type: Type.String,
203
+ type: Types.String,
202
204
  isMatrix: true,
203
205
  isRequired: true
204
206
  };
205
207
 
206
208
  const rcnItemReferenceParameterDescriptor: ParameterDescriptor = {
207
209
  name: "rcnItemReference",
208
- type: Type.Number,
210
+ type: Types.Number,
209
211
  isMatrix: false,
210
212
  isRequired: true
211
213
  };
212
214
 
213
215
  const rcnPriceOrWeightParameterDescriptor: ParameterDescriptor = {
214
216
  name: "rcnPriceOrWeight",
215
- type: Type.Number,
217
+ type: Types.Number,
216
218
  isMatrix: true,
217
219
  isRequired: true
218
220
  };
@@ -222,7 +224,7 @@ const rcnPriceOrWeightParameterDescriptor: ParameterDescriptor = {
222
224
  })
223
225
  export class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
224
226
  @ProxyMethod({
225
- type: Type.String,
227
+ type: Types.String,
226
228
  isMatrix: true
227
229
  })
228
230
  zeroSuppressGTIN12(
@@ -232,7 +234,7 @@ export class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends
232
234
  }
233
235
 
234
236
  @ProxyMethod({
235
- type: Type.String,
237
+ type: Types.String,
236
238
  isMatrix: true
237
239
  })
238
240
  zeroExpandGTIN12(
@@ -242,7 +244,7 @@ export class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends
242
244
  }
243
245
 
244
246
  @ProxyMethod({
245
- type: Type.String,
247
+ type: Types.String,
246
248
  isMatrix: true
247
249
  })
248
250
  convertToGTIN14(
@@ -253,7 +255,7 @@ export class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends
253
255
  }
254
256
 
255
257
  @ProxyMethod({
256
- type: Type.String,
258
+ type: Types.String,
257
259
  isMatrix: true
258
260
  })
259
261
  normalizeGTIN(
@@ -263,7 +265,7 @@ export class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends
263
265
  }
264
266
 
265
267
  @ProxyMethod({
266
- type: Type.String,
268
+ type: Types.String,
267
269
  isMatrix: true
268
270
  })
269
271
  validateGTIN(
@@ -278,7 +280,7 @@ export class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends
278
280
  }
279
281
 
280
282
  @ProxyMethod({
281
- type: Type.String,
283
+ type: Types.String,
282
284
  isMatrix: true
283
285
  })
284
286
  validateGTIN14(
@@ -290,7 +292,7 @@ export class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends
290
292
  }
291
293
 
292
294
  @ProxyMethod({
293
- type: Type.Number,
295
+ type: Types.Number,
294
296
  isMatrix: true
295
297
  })
296
298
  parseVariableMeasureRCN(
@@ -309,7 +311,7 @@ export class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends
309
311
  namespace: "GS1",
310
312
  methodInfix: "GLN"
311
313
  })
312
- export class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentificationKeyValidator> {
314
+ export class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierValidator> {
313
315
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
314
316
  super(appExtension, GLN_VALIDATOR);
315
317
  }
@@ -319,7 +321,7 @@ export class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorE
319
321
  namespace: "GS1",
320
322
  methodInfix: "SSCC"
321
323
  })
322
- export class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentificationKeyValidator> {
324
+ export class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierValidator> {
323
325
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
324
326
  super(appExtension, SSCC_VALIDATOR);
325
327
  }
@@ -329,7 +331,7 @@ export class SSCCValidatorProxy<ThrowError extends boolean, TError extends Error
329
331
  namespace: "GS1",
330
332
  methodInfix: "GRAI"
331
333
  })
332
- export class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
334
+ export class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
333
335
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
334
336
  super(appExtension, GRAI_VALIDATOR);
335
337
  }
@@ -339,7 +341,7 @@ export class GRAIValidatorProxy<ThrowError extends boolean, TError extends Error
339
341
  namespace: "GS1",
340
342
  methodInfix: "GIAI"
341
343
  })
342
- export class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
344
+ export class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
343
345
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
344
346
  super(appExtension, GIAI_VALIDATOR);
345
347
  }
@@ -349,7 +351,7 @@ export class GIAIValidatorProxy<ThrowError extends boolean, TError extends Error
349
351
  namespace: "GS1",
350
352
  methodInfix: "GSRN"
351
353
  })
352
- export class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentificationKeyValidator> {
354
+ export class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierValidator> {
353
355
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
354
356
  super(appExtension, GSRN_VALIDATOR);
355
357
  }
@@ -359,7 +361,7 @@ export class GSRNValidatorProxy<ThrowError extends boolean, TError extends Error
359
361
  namespace: "GS1",
360
362
  methodInfix: "GDTI"
361
363
  })
362
- export class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
364
+ export class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
363
365
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
364
366
  super(appExtension, GDTI_VALIDATOR);
365
367
  }
@@ -369,7 +371,7 @@ export class GDTIValidatorProxy<ThrowError extends boolean, TError extends Error
369
371
  namespace: "GS1",
370
372
  methodInfix: "GINC"
371
373
  })
372
- export class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
374
+ export class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
373
375
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
374
376
  super(appExtension, GINC_VALIDATOR);
375
377
  }
@@ -379,7 +381,7 @@ export class GINCValidatorProxy<ThrowError extends boolean, TError extends Error
379
381
  namespace: "GS1",
380
382
  methodInfix: "GSIN"
381
383
  })
382
- export class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentificationKeyValidator> {
384
+ export class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierValidator> {
383
385
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
384
386
  super(appExtension, GSIN_VALIDATOR);
385
387
  }
@@ -389,7 +391,7 @@ export class GSINValidatorProxy<ThrowError extends boolean, TError extends Error
389
391
  namespace: "GS1",
390
392
  methodInfix: "GCN"
391
393
  })
392
- export class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
394
+ export class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
393
395
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
394
396
  super(appExtension, GCN_VALIDATOR);
395
397
  }
@@ -399,7 +401,7 @@ export class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorE
399
401
  namespace: "GS1",
400
402
  methodInfix: "CPID"
401
403
  })
402
- export class CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
404
+ export class CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
403
405
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
404
406
  super(appExtension, CPID_VALIDATOR);
405
407
  }
@@ -409,7 +411,7 @@ export class CPIDValidatorProxy<ThrowError extends boolean, TError extends Error
409
411
  namespace: "GS1",
410
412
  methodInfix: "GMN"
411
413
  })
412
- export class GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentificationKeyValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
414
+ export class GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
413
415
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
414
416
  super(appExtension, GMN_VALIDATOR);
415
417
  }
@@ -417,28 +419,28 @@ export class GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorE
417
419
 
418
420
  const prefixParameterDescriptor: ParameterDescriptor = {
419
421
  name: "prefix",
420
- type: Type.String,
422
+ type: Types.String,
421
423
  isMatrix: false,
422
424
  isRequired: true
423
425
  };
424
426
 
425
427
  const prefixTypeParameterDescriptor: ParameterDescriptor = {
426
428
  name: "prefixType",
427
- type: Type.Number,
429
+ type: Types.Number,
428
430
  isMatrix: false,
429
431
  isRequired: false
430
432
  };
431
433
 
432
434
  const tweakFactorParameterDescriptor: ParameterDescriptor = {
433
435
  name: "tweakFactor",
434
- type: Type.Number,
436
+ type: Types.Number,
435
437
  isMatrix: false,
436
438
  isRequired: false
437
439
  };
438
440
 
439
441
  const prefixDefinitionParameterDescriptor: ParameterDescriptor = {
440
442
  name: "prefixDefinition",
441
- type: Type.Any,
443
+ type: Types.Any,
442
444
  isMatrix: true,
443
445
  isRequired: true
444
446
  };
@@ -458,7 +460,7 @@ const prefixDefinitionAnyParameterDescriptor: ParameterDescriptor = {
458
460
  })
459
461
  export class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
460
462
  @ProxyMethod({
461
- type: Type.Any,
463
+ type: Types.Any,
462
464
  isMatrix: true
463
465
  })
464
466
  definePrefix(
@@ -466,56 +468,59 @@ export class PrefixManagerProxy<ThrowError extends boolean, TError extends Error
466
468
  @ProxyParameter(prefixTypeParameterDescriptor) prefixType: Nullishable<PrefixType>,
467
469
  @ProxyParameter(tweakFactorParameterDescriptor) tweakFactor: Nullishable<number>
468
470
  ): Matrix<unknown> {
469
- // Parameters will be validated by IdentificationKeyCreatorProxy.getCreator().
471
+ // Parameters will be validated by IdentifierCreatorProxy.getCreator().
470
472
  return [[prefix, prefixType, tweakFactor]];
471
473
  }
472
474
  }
473
475
 
474
- abstract class IdentificationKeyCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentificationKeyCreator extends IdentificationKeyCreator> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
475
- private readonly _getCreator: (prefixManager: PrefixManager) => TIdentificationKeyCreator;
476
+ abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierCreator extends IdentifierCreator> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
477
+ private static readonly PREFIX_TYPES: PrefixType[] = [PrefixTypes.GS1CompanyPrefix, PrefixTypes.UPCCompanyPrefix, PrefixTypes.GS18Prefix];
476
478
 
477
- protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, getCreator: (prefixManager: PrefixManager) => TIdentificationKeyCreator) {
479
+ private readonly _getCreator: (prefixManager: PrefixManager) => TIdentifierCreator;
480
+
481
+ protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, getCreator: (prefixManager: PrefixManager) => TIdentifierCreator) {
478
482
  super(appExtension);
479
483
 
480
484
  this._getCreator = getCreator;
481
485
  }
482
486
 
483
- protected getCreator(prefixDefinition: Matrix<unknown>): TIdentificationKeyCreator {
487
+ protected getCreator(prefixDefinition: Matrix<unknown>): TIdentifierCreator {
484
488
  const reducedPrefixDefinition = prefixDefinition.length === 1 ?
485
489
  // Prefix definition is horizontal.
486
490
  prefixDefinition[0] :
487
491
  // Prefix definition is vertical.
488
492
  prefixDefinition.map((prefixDefinitionRow) => {
489
493
  if (prefixDefinitionRow.length !== 1) {
490
- throw new RangeError(i18nextAppExtension.t("IdentificationKeyCreatorProxy.prefixDefinitionMustBeOneDimensional"));
494
+ throw new RangeError(i18nextAppExtension.t("IdentifierCreatorProxy.prefixDefinitionMustBeOneDimensional"));
491
495
  }
492
496
 
493
497
  return prefixDefinitionRow[0];
494
498
  });
495
499
 
496
500
  if (reducedPrefixDefinition.length > 3) {
497
- throw new RangeError(i18nextAppExtension.t("IdentificationKeyCreatorProxy.prefixDefinitionMustHaveMaximumThreeElements"));
501
+ throw new RangeError(i18nextAppExtension.t("IdentifierCreatorProxy.prefixDefinitionMustHaveMaximumThreeElements"));
498
502
  }
499
-
500
503
  const prefix = reducedPrefixDefinition[0];
501
504
 
502
505
  if (typeof prefix !== "string") {
503
- throw new RangeError(i18nextAppExtension.t("IdentificationKeyCreatorProxy.prefixMustBeString"));
506
+ throw new RangeError(i18nextAppExtension.t("IdentifierCreatorProxy.prefixMustBeString"));
504
507
  }
505
508
 
506
- const prefixType = reducedPrefixDefinition[1] ?? PrefixType.GS1CompanyPrefix;
507
-
508
- if (typeof prefixType !== "number") {
509
- throw new RangeError(i18nextAppExtension.t("IdentificationKeyCreatorProxy.prefixTypeMustBeNumber"));
509
+ const prefixTypeIndex = reducedPrefixDefinition[1] ?? 0;
510
+
511
+ if (typeof prefixTypeIndex !== "number" || prefixTypeIndex < 0 || prefixTypeIndex >= IdentifierCreatorProxy.PREFIX_TYPES.length) {
512
+ throw new RangeError(i18nextAppExtension.t("IdentifierCreatorProxy.prefixTypeMustBeNumber", {
513
+ maximumPrefixType: IdentifierCreatorProxy.PREFIX_TYPES.length - 1
514
+ }));
510
515
  }
511
516
 
512
- const prefixManager = PrefixManager.get(prefixType, prefix);
517
+ const prefixManager = PrefixManager.get(IdentifierCreatorProxy.PREFIX_TYPES[prefixTypeIndex], prefix);
513
518
 
514
519
  const tweakFactor = reducedPrefixDefinition[2];
515
520
 
516
521
  if (!isNullish(tweakFactor)) {
517
522
  if (typeof tweakFactor !== "number") {
518
- throw new RangeError(i18nextAppExtension.t("IdentificationKeyCreatorProxy.tweakFactorMustBeNumber"));
523
+ throw new RangeError(i18nextAppExtension.t("IdentifierCreatorProxy.tweakFactorMustBeNumber"));
519
524
  }
520
525
 
521
526
  prefixManager.tweakFactor = tweakFactor;
@@ -529,14 +534,14 @@ abstract class IdentificationKeyCreatorProxy<ThrowError extends boolean, TError
529
534
 
530
535
  const sparseParameterDescriptor: ParameterDescriptor = {
531
536
  name: "sparse",
532
- type: Type.Boolean,
537
+ type: Types.Boolean,
533
538
  isMatrix: false,
534
539
  isRequired: false
535
540
  };
536
541
 
537
- abstract class NumericIdentificationKeyCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentificationKeyCreator extends NumericIdentificationKeyCreator> extends IdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNumericIdentificationKeyCreator> {
542
+ abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierCreator extends NumericIdentifierCreator> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNumericIdentifierCreator> {
538
543
  @ProxyMethod({
539
- type: Type.String,
544
+ type: Types.String,
540
545
  isMatrix: true
541
546
  })
542
547
  create(
@@ -553,7 +558,7 @@ abstract class NumericIdentificationKeyCreatorProxy<ThrowError extends boolean,
553
558
 
554
559
  @ProxyMethod({
555
560
  infixBefore: "Sequence",
556
- type: Type.String,
561
+ type: Types.String,
557
562
  isMatrix: true
558
563
  })
559
564
  createSequence(
@@ -568,7 +573,7 @@ abstract class NumericIdentificationKeyCreatorProxy<ThrowError extends boolean,
568
573
  }
569
574
 
570
575
  @ProxyMethod({
571
- type: Type.String,
576
+ type: Types.String,
572
577
  isMatrix: true
573
578
  })
574
579
  createAll(
@@ -582,7 +587,7 @@ abstract class NumericIdentificationKeyCreatorProxy<ThrowError extends boolean,
582
587
  }
583
588
  }
584
589
 
585
- abstract class NonGTINNumericIdentificationKeyCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentificationKeyCreator extends NonGTINNumericIdentificationKeyCreator> extends NumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentificationKeyCreator> {
590
+ abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierCreator> {
586
591
  }
587
592
 
588
593
  const singleValueParameterDescriptor: ParameterDescriptor = {
@@ -590,22 +595,22 @@ const singleValueParameterDescriptor: ParameterDescriptor = {
590
595
  isMatrix: false
591
596
  };
592
597
 
593
- const baseIdentificationKeyParameterDescriptor: ParameterDescriptor = {
594
- extendsDescriptor: identificationKeyParameterDescriptor,
595
- name: "baseIdentificationKey",
598
+ const baseIdentifierParameterDescriptor: ParameterDescriptor = {
599
+ extendsDescriptor: identifierParameterDescriptor,
600
+ name: "baseIdentifier",
596
601
  isMatrix: false
597
602
  };
598
603
 
599
604
  const serialComponentParameterDescriptor: ParameterDescriptor = {
600
605
  name: "serialComponent",
601
- type: Type.String,
606
+ type: Types.String,
602
607
  isMatrix: true,
603
608
  isRequired: true
604
609
  };
605
610
 
606
- abstract class SerializableNumericIdentificationKeyCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentificationKeyCreator> {
611
+ abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierCreator> {
607
612
  @ProxyMethod({
608
- type: Type.String,
613
+ type: Types.String,
609
614
  isMatrix: true
610
615
  })
611
616
  createSerialized(
@@ -622,29 +627,29 @@ abstract class SerializableNumericIdentificationKeyCreatorProxy<ThrowError exten
622
627
  }
623
628
 
624
629
  @ProxyMethod({
625
- type: Type.String,
630
+ type: Types.String,
626
631
  isMatrix: true
627
632
  })
628
633
  concatenate(
629
- @ProxyParameter(baseIdentificationKeyParameterDescriptor) baseIdentificationKey: string,
634
+ @ProxyParameter(baseIdentifierParameterDescriptor) baseIdentifier: string,
630
635
  @ProxyParameter(serialComponentParameterDescriptor) matrixSerialComponents: Matrix<string>
631
636
  ): MatrixResultError<string, ThrowError, TError> {
632
- const creator = this.getCreator([[baseIdentificationKey.substring(0, !baseIdentificationKey.startsWith("0") ? PrefixManager.GS1_COMPANY_PREFIX_MINIMUM_LENGTH : PrefixManager.UPC_COMPANY_PREFIX_MINIMUM_LENGTH + 1), PrefixType.GS1CompanyPrefix]]);
637
+ const creator = this.getCreator([[baseIdentifier.substring(0, !baseIdentifier.startsWith("0") ? PrefixValidator.GS1_COMPANY_PREFIX_MINIMUM_LENGTH : PrefixValidator.UPC_COMPANY_PREFIX_MINIMUM_LENGTH + 1), PrefixTypes.GS1CompanyPrefix]]);
633
638
 
634
- return this.mapMatrix(matrixSerialComponents, serialComponent => creator.concatenate(baseIdentificationKey, serialComponent));
639
+ return this.mapMatrix(matrixSerialComponents, serialComponent => creator.concatenate(baseIdentifier, serialComponent));
635
640
  }
636
641
  }
637
642
 
638
643
  const referenceParameterDescriptor: ParameterDescriptor = {
639
644
  name: "reference",
640
- type: Type.String,
645
+ type: Types.String,
641
646
  isMatrix: true,
642
647
  isRequired: true
643
648
  };
644
649
 
645
- abstract class NonNumericIdentificationKeyCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentificationKeyCreator> {
650
+ abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierCreator> {
646
651
  @ProxyMethod({
647
- type: Type.String,
652
+ type: Types.String,
648
653
  isMatrix: true
649
654
  })
650
655
  create(
@@ -667,13 +672,13 @@ abstract class NonNumericIdentificationKeyCreatorProxy<ThrowError extends boolea
667
672
  }
668
673
  ]
669
674
  })
670
- export class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINCreator> {
675
+ export class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINCreator> {
671
676
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
672
677
  super(appExtension, prefixManager => prefixManager.gtinCreator);
673
678
  }
674
679
 
675
680
  @ProxyMethod({
676
- type: Type.String,
681
+ type: Types.String,
677
682
  isMatrix: true,
678
683
  ignoreInfix: true
679
684
  })
@@ -691,7 +696,7 @@ export class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorEx
691
696
  }
692
697
 
693
698
  @ProxyMethod({
694
- type: Type.String,
699
+ type: Types.String,
695
700
  isMatrix: true,
696
701
  ignoreInfix: true
697
702
  })
@@ -708,7 +713,7 @@ export class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorEx
708
713
  namespace: "GS1",
709
714
  methodInfix: "GLN"
710
715
  })
711
- export class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentificationKeyCreator> {
716
+ export class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
712
717
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
713
718
  super(appExtension, prefixManager => prefixManager.glnCreator);
714
719
  }
@@ -718,7 +723,7 @@ export class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExt
718
723
  namespace: "GS1",
719
724
  methodInfix: "SSCC"
720
725
  })
721
- export class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentificationKeyCreator> {
726
+ export class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
722
727
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
723
728
  super(appExtension, prefixManager => prefixManager.ssccCreator);
724
729
  }
@@ -728,7 +733,7 @@ export class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorEx
728
733
  namespace: "GS1",
729
734
  methodInfix: "GRAI"
730
735
  })
731
- export class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
736
+ export class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
732
737
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
733
738
  super(appExtension, prefixManager => prefixManager.graiCreator);
734
739
  }
@@ -738,7 +743,7 @@ export class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorEx
738
743
  namespace: "GS1",
739
744
  methodInfix: "GIAI"
740
745
  })
741
- export class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
746
+ export class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
742
747
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
743
748
  super(appExtension, prefixManager => prefixManager.giaiCreator);
744
749
  }
@@ -748,7 +753,7 @@ export class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorEx
748
753
  namespace: "GS1",
749
754
  methodInfix: "GSRN"
750
755
  })
751
- export class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentificationKeyCreator> {
756
+ export class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
752
757
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
753
758
  super(appExtension, prefixManager => prefixManager.gsrnCreator);
754
759
  }
@@ -758,7 +763,7 @@ export class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorEx
758
763
  namespace: "GS1",
759
764
  methodInfix: "GDTI"
760
765
  })
761
- export class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
766
+ export class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
762
767
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
763
768
  super(appExtension, prefixManager => prefixManager.gdtiCreator);
764
769
  }
@@ -768,7 +773,7 @@ export class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorEx
768
773
  namespace: "GS1",
769
774
  methodInfix: "GINC"
770
775
  })
771
- export class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
776
+ export class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
772
777
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
773
778
  super(appExtension, prefixManager => prefixManager.gincCreator);
774
779
  }
@@ -778,7 +783,7 @@ export class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorEx
778
783
  namespace: "GS1",
779
784
  methodInfix: "GSIN"
780
785
  })
781
- export class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentificationKeyCreator> {
786
+ export class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
782
787
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
783
788
  super(appExtension, prefixManager => prefixManager.gsinCreator);
784
789
  }
@@ -788,7 +793,7 @@ export class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorEx
788
793
  namespace: "GS1",
789
794
  methodInfix: "GCN"
790
795
  })
791
- export class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
796
+ export class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
792
797
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
793
798
  super(appExtension, prefixManager => prefixManager.gcnCreator);
794
799
  }
@@ -798,7 +803,7 @@ export class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExt
798
803
  namespace: "GS1",
799
804
  methodInfix: "CPID"
800
805
  })
801
- export class CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
806
+ export class CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
802
807
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
803
808
  super(appExtension, prefixManager => prefixManager.cpidCreator);
804
809
  }
@@ -808,7 +813,7 @@ export class CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorEx
808
813
  namespace: "GS1",
809
814
  methodInfix: "GMN"
810
815
  })
811
- export class GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentificationKeyCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
816
+ export class GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
812
817
  constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>) {
813
818
  super(appExtension, prefixManager => prefixManager.gmnCreator);
814
819
  }