@aidc-toolkit/app-extension 1.0.49-beta → 1.0.49

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 (178) hide show
  1. package/dist/character-set-proxy-BOW94WCe.d.cts +473 -0
  2. package/dist/character-set-proxy-BOW94WCe.d.ts +473 -0
  3. package/dist/chunk-22IRLVWO.js +1 -0
  4. package/dist/chunk-MR63TJ3B.js +1 -0
  5. package/dist/chunk-TWX7TPRC.js +1 -0
  6. package/dist/{descriptor.d.ts → descriptor-D6tZH-vc.d.cts} +13 -13
  7. package/dist/descriptor-D6tZH-vc.d.ts +185 -0
  8. package/dist/generator/index.cjs +17 -0
  9. package/dist/generator/index.d.cts +240 -0
  10. package/dist/generator/index.d.ts +239 -18
  11. package/dist/generator/index.js +1 -3
  12. package/dist/gs1/index.cjs +1 -0
  13. package/dist/gs1/index.d.cts +185 -0
  14. package/dist/gs1/index.d.ts +185 -11
  15. package/dist/gs1/index.js +1 -11
  16. package/dist/index.cjs +17 -0
  17. package/dist/{locale/en/locale-resources.d.ts → index.d.cts} +113 -2
  18. package/dist/index.d.ts +862 -21
  19. package/dist/index.js +1 -7
  20. package/package.json +5 -5
  21. package/src/version.ts +1 -1
  22. package/tsconfig-src.tsbuildinfo +1 -1
  23. package/dist/app-extension.d.ts +0 -210
  24. package/dist/app-extension.d.ts.map +0 -1
  25. package/dist/app-extension.js +0 -156
  26. package/dist/app-extension.js.map +0 -1
  27. package/dist/app-helper-proxy.d.ts +0 -71
  28. package/dist/app-helper-proxy.d.ts.map +0 -1
  29. package/dist/app-helper-proxy.js +0 -368
  30. package/dist/app-helper-proxy.js.map +0 -1
  31. package/dist/descriptor.d.ts.map +0 -1
  32. package/dist/descriptor.js +0 -44
  33. package/dist/descriptor.js.map +0 -1
  34. package/dist/generator/functions-generator.d.ts +0 -119
  35. package/dist/generator/functions-generator.d.ts.map +0 -1
  36. package/dist/generator/functions-generator.js +0 -206
  37. package/dist/generator/functions-generator.js.map +0 -1
  38. package/dist/generator/generator.d.ts +0 -121
  39. package/dist/generator/generator.d.ts.map +0 -1
  40. package/dist/generator/generator.js +0 -183
  41. package/dist/generator/generator.js.map +0 -1
  42. package/dist/generator/index.d.ts.map +0 -1
  43. package/dist/generator/index.js.map +0 -1
  44. package/dist/generator/locale-resources-generator.d.ts +0 -2
  45. package/dist/generator/locale-resources-generator.d.ts.map +0 -1
  46. package/dist/generator/locale-resources-generator.js +0 -313
  47. package/dist/generator/locale-resources-generator.js.map +0 -1
  48. package/dist/gs1/character-set-proxy.d.ts +0 -13
  49. package/dist/gs1/character-set-proxy.d.ts.map +0 -1
  50. package/dist/gs1/character-set-proxy.js +0 -126
  51. package/dist/gs1/character-set-proxy.js.map +0 -1
  52. package/dist/gs1/check-proxy.d.ts +0 -11
  53. package/dist/gs1/check-proxy.d.ts.map +0 -1
  54. package/dist/gs1/check-proxy.js +0 -163
  55. package/dist/gs1/check-proxy.js.map +0 -1
  56. package/dist/gs1/gcp-length-proxy.d.ts +0 -11
  57. package/dist/gs1/gcp-length-proxy.d.ts.map +0 -1
  58. package/dist/gs1/gcp-length-proxy.js +0 -187
  59. package/dist/gs1/gcp-length-proxy.js.map +0 -1
  60. package/dist/gs1/gtin-creator-proxy.d.ts +0 -10
  61. package/dist/gs1/gtin-creator-proxy.d.ts.map +0 -1
  62. package/dist/gs1/gtin-creator-proxy.js +0 -85
  63. package/dist/gs1/gtin-creator-proxy.js.map +0 -1
  64. package/dist/gs1/gtin-descriptor.d.ts +0 -3
  65. package/dist/gs1/gtin-descriptor.d.ts.map +0 -1
  66. package/dist/gs1/gtin-descriptor.js +0 -8
  67. package/dist/gs1/gtin-descriptor.js.map +0 -1
  68. package/dist/gs1/gtin-validator-proxy.d.ts +0 -26
  69. package/dist/gs1/gtin-validator-proxy.d.ts.map +0 -1
  70. package/dist/gs1/gtin-validator-proxy.js +0 -256
  71. package/dist/gs1/gtin-validator-proxy.js.map +0 -1
  72. package/dist/gs1/identifier-creator-proxy.d.ts +0 -30
  73. package/dist/gs1/identifier-creator-proxy.d.ts.map +0 -1
  74. package/dist/gs1/identifier-creator-proxy.js +0 -318
  75. package/dist/gs1/identifier-creator-proxy.js.map +0 -1
  76. package/dist/gs1/identifier-descriptor.d.ts +0 -4
  77. package/dist/gs1/identifier-descriptor.d.ts.map +0 -1
  78. package/dist/gs1/identifier-descriptor.js +0 -14
  79. package/dist/gs1/identifier-descriptor.js.map +0 -1
  80. package/dist/gs1/identifier-type.d.ts +0 -22
  81. package/dist/gs1/identifier-type.d.ts.map +0 -1
  82. package/dist/gs1/identifier-type.js +0 -34
  83. package/dist/gs1/identifier-type.js.map +0 -1
  84. package/dist/gs1/identifier-validator-proxy.d.ts +0 -29
  85. package/dist/gs1/identifier-validator-proxy.d.ts.map +0 -1
  86. package/dist/gs1/identifier-validator-proxy.js +0 -212
  87. package/dist/gs1/identifier-validator-proxy.js.map +0 -1
  88. package/dist/gs1/index.d.ts.map +0 -1
  89. package/dist/gs1/index.js.map +0 -1
  90. package/dist/gs1/non-gtin-creator-proxy.d.ts +0 -38
  91. package/dist/gs1/non-gtin-creator-proxy.d.ts.map +0 -1
  92. package/dist/gs1/non-gtin-creator-proxy.js +0 -301
  93. package/dist/gs1/non-gtin-creator-proxy.js.map +0 -1
  94. package/dist/gs1/non-gtin-validator-proxy.d.ts +0 -37
  95. package/dist/gs1/non-gtin-validator-proxy.d.ts.map +0 -1
  96. package/dist/gs1/non-gtin-validator-proxy.js +0 -302
  97. package/dist/gs1/non-gtin-validator-proxy.js.map +0 -1
  98. package/dist/gs1/prefix-definition-descriptor.d.ts +0 -4
  99. package/dist/gs1/prefix-definition-descriptor.d.ts.map +0 -1
  100. package/dist/gs1/prefix-definition-descriptor.js +0 -16
  101. package/dist/gs1/prefix-definition-descriptor.js.map +0 -1
  102. package/dist/gs1/prefix-manager-proxy.d.ts +0 -8
  103. package/dist/gs1/prefix-manager-proxy.d.ts.map +0 -1
  104. package/dist/gs1/prefix-manager-proxy.js +0 -94
  105. package/dist/gs1/prefix-manager-proxy.js.map +0 -1
  106. package/dist/gs1/variable-measure-proxy.d.ts +0 -7
  107. package/dist/gs1/variable-measure-proxy.d.ts.map +0 -1
  108. package/dist/gs1/variable-measure-proxy.js +0 -114
  109. package/dist/gs1/variable-measure-proxy.js.map +0 -1
  110. package/dist/gs1/verified-by-gs1-proxy.d.ts +0 -7
  111. package/dist/gs1/verified-by-gs1-proxy.d.ts.map +0 -1
  112. package/dist/gs1/verified-by-gs1-proxy.js +0 -106
  113. package/dist/gs1/verified-by-gs1-proxy.js.map +0 -1
  114. package/dist/index.d.ts.map +0 -1
  115. package/dist/index.js.map +0 -1
  116. package/dist/lib-proxy.d.ts +0 -135
  117. package/dist/lib-proxy.d.ts.map +0 -1
  118. package/dist/lib-proxy.js +0 -276
  119. package/dist/lib-proxy.js.map +0 -1
  120. package/dist/locale/en/locale-resources.d.ts.map +0 -1
  121. package/dist/locale/en/locale-resources.js +0 -754
  122. package/dist/locale/en/locale-resources.js.map +0 -1
  123. package/dist/locale/fr/locale-resources.d.ts +0 -755
  124. package/dist/locale/fr/locale-resources.d.ts.map +0 -1
  125. package/dist/locale/fr/locale-resources.js +0 -754
  126. package/dist/locale/fr/locale-resources.js.map +0 -1
  127. package/dist/locale/i18n.d.ts +0 -27
  128. package/dist/locale/i18n.d.ts.map +0 -1
  129. package/dist/locale/i18n.js +0 -36
  130. package/dist/locale/i18n.js.map +0 -1
  131. package/dist/proxy.d.ts +0 -136
  132. package/dist/proxy.d.ts.map +0 -1
  133. package/dist/proxy.js +0 -291
  134. package/dist/proxy.js.map +0 -1
  135. package/dist/streaming.d.ts +0 -10
  136. package/dist/streaming.d.ts.map +0 -1
  137. package/dist/streaming.js +0 -2
  138. package/dist/streaming.js.map +0 -1
  139. package/dist/type.d.ts +0 -91
  140. package/dist/type.d.ts.map +0 -1
  141. package/dist/type.js +0 -2
  142. package/dist/type.js.map +0 -1
  143. package/dist/utility/character-set-descriptor.d.ts +0 -6
  144. package/dist/utility/character-set-descriptor.d.ts.map +0 -1
  145. package/dist/utility/character-set-descriptor.js +0 -28
  146. package/dist/utility/character-set-descriptor.js.map +0 -1
  147. package/dist/utility/character-set-proxy.d.ts +0 -31
  148. package/dist/utility/character-set-proxy.d.ts.map +0 -1
  149. package/dist/utility/character-set-proxy.js +0 -278
  150. package/dist/utility/character-set-proxy.js.map +0 -1
  151. package/dist/utility/index.d.ts +0 -4
  152. package/dist/utility/index.d.ts.map +0 -1
  153. package/dist/utility/index.js +0 -4
  154. package/dist/utility/index.js.map +0 -1
  155. package/dist/utility/reg-exp-proxy.d.ts +0 -8
  156. package/dist/utility/reg-exp-proxy.d.ts.map +0 -1
  157. package/dist/utility/reg-exp-proxy.js +0 -103
  158. package/dist/utility/reg-exp-proxy.js.map +0 -1
  159. package/dist/utility/string-descriptor.d.ts +0 -4
  160. package/dist/utility/string-descriptor.d.ts.map +0 -1
  161. package/dist/utility/string-descriptor.js +0 -12
  162. package/dist/utility/string-descriptor.js.map +0 -1
  163. package/dist/utility/string-proxy.d.ts +0 -7
  164. package/dist/utility/string-proxy.d.ts.map +0 -1
  165. package/dist/utility/string-proxy.js +0 -63
  166. package/dist/utility/string-proxy.js.map +0 -1
  167. package/dist/utility/transformer-descriptor.d.ts +0 -6
  168. package/dist/utility/transformer-descriptor.d.ts.map +0 -1
  169. package/dist/utility/transformer-descriptor.js +0 -24
  170. package/dist/utility/transformer-descriptor.js.map +0 -1
  171. package/dist/utility/transformer-proxy.d.ts +0 -9
  172. package/dist/utility/transformer-proxy.d.ts.map +0 -1
  173. package/dist/utility/transformer-proxy.js +0 -111
  174. package/dist/utility/transformer-proxy.js.map +0 -1
  175. package/dist/version.d.ts +0 -5
  176. package/dist/version.d.ts.map +0 -1
  177. package/dist/version.js +0 -5
  178. package/dist/version.js.map +0 -1
@@ -0,0 +1,185 @@
1
+ import { E as ErrorExtends, i as CharacterSetCreatorProxy, h as AppExtension, C as CharacterSetValidatorProxy, L as LibProxy, M as Matrix, a as MatrixResult, e as SingletonResult, S as StringProxy } from '../character-set-proxy-BOW94WCe.cjs';
2
+ import { Nullishable } from '@aidc-toolkit/core';
3
+ import { NumericIdentifierType, IdentifierType, IdentifierTypeValidator, GTINType, NonGTINNumericIdentifierType, NonSerializableNumericIdentifierType, SerializableNumericIdentifierType, NonNumericIdentifierType, NonNumericIdentifierValidation, GTINLevel, PrefixType, NumericIdentifierCreator, IdentifierValidation, IdentifierCreator, PrefixManager, NumericIdentifierValidation, NonGTINNumericIdentifierCreator, SerializableNumericIdentifierCreator, NonNumericIdentifierCreator, GTINCreator } from '@aidc-toolkit/gs1';
4
+ import '@aidc-toolkit/utility';
5
+ import 'tslog';
6
+
7
+ declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
8
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
9
+ }
10
+ declare class AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
11
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
12
+ }
13
+ declare class AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
14
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
15
+ }
16
+
17
+ declare class CheckProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
18
+ checkDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
19
+ hasValidCheckDigit(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
20
+ priceOrWeightCheckDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
21
+ isValidPriceOrWeightCheckDigit(s: string, checkDigit: string): SingletonResult<boolean, ThrowError, TError>;
22
+ checkCharacterPair(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
23
+ hasValidCheckCharacterPair(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
24
+ }
25
+
26
+ declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TIdentifierType extends IdentifierType> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
27
+ #private;
28
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, validator: IdentifierTypeValidator<TIdentifierType>);
29
+ protected get validator(): IdentifierTypeValidator<TIdentifierType>;
30
+ }
31
+ declare abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType> {
32
+ validate(matrixIdentifiers: Matrix<string>): Matrix<string>;
33
+ isValid(matrixIdentifiers: Matrix<string>): Matrix<boolean>;
34
+ }
35
+ declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, GTINType> {
36
+ }
37
+ declare abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType = NonGTINNumericIdentifierType> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType> {
38
+ }
39
+ declare abstract class NonSerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType> {
40
+ }
41
+ declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, SerializableNumericIdentifierType> {
42
+ split(matrixIdentifiers: Matrix<string>): MatrixResult<string, ThrowError, TError>;
43
+ }
44
+ declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonNumericIdentifierType> {
45
+ validate(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<string>;
46
+ isValid(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<boolean>;
47
+ }
48
+
49
+ declare class GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
50
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
51
+ }
52
+ declare class GTIN12ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
53
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
54
+ }
55
+ declare class GTIN8ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
56
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
57
+ }
58
+ declare class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
59
+ zeroSuppressGTIN12(matrixGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
60
+ zeroExpandGTIN12(matrixZeroSuppressedGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
61
+ convertToGTIN14(indicatorDigit: string, matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
62
+ normalizeGTIN(matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
63
+ validateGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<string>;
64
+ isValidGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<boolean>;
65
+ validateGTIN14(matrixGTIN14s: Matrix<string>): Matrix<string>;
66
+ isValidGTIN14(matrixGTIN14s: Matrix<string>): Matrix<boolean>;
67
+ }
68
+
69
+ declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
70
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
71
+ }
72
+ declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
73
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
74
+ }
75
+ declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
76
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
77
+ }
78
+ declare class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
79
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
80
+ }
81
+ declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
82
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
83
+ }
84
+ declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
85
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
86
+ }
87
+ declare class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
88
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
89
+ }
90
+ declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
91
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
92
+ }
93
+ declare class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
94
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
95
+ }
96
+ declare class CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
97
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
98
+ }
99
+ declare class GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
100
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
101
+ }
102
+
103
+ declare class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
104
+ definePrefix(prefix: string, prefixType: Nullishable<PrefixType>, tweakFactor: Nullishable<number>): Matrix<unknown>;
105
+ }
106
+
107
+ declare abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TIdentifierType extends IdentifierType, TIdentifierValidation extends IdentifierValidation, TIdentifierCreator extends IdentifierCreator<TIdentifierType, TIdentifierValidation>> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
108
+ #private;
109
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, getCreator: (prefixManager: PrefixManager) => TIdentifierCreator);
110
+ protected getCreator(prefixDefinition: Matrix<unknown>): TIdentifierCreator;
111
+ }
112
+ declare abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType, TNumericIdentifierCreator extends NumericIdentifierCreator<TNumericIdentifierType>> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType, NumericIdentifierValidation, TNumericIdentifierCreator> {
113
+ create(prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
114
+ createSequence(prefixDefinition: Matrix<unknown>, startValue: number, count: number, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
115
+ createAll(prefixDefinition: Matrix<unknown>): MatrixResult<string, ThrowError, TError>;
116
+ }
117
+ declare abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
118
+ }
119
+ declare abstract class NonSerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonSerializableNumericIdentifierType extends NonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
120
+ }
121
+ declare abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, SerializableNumericIdentifierType, SerializableNumericIdentifierCreator> {
122
+ createSerialized(prefixDefinition: Matrix<unknown>, value: number, matrixSerialComponents: Matrix<string>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
123
+ concatenate(baseIdentifier: string, matrixSerialComponents: Matrix<string>): MatrixResult<string, ThrowError, TError>;
124
+ }
125
+ declare abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonNumericIdentifierType, NonNumericIdentifierValidation, NonNumericIdentifierCreator> {
126
+ create(prefixDefinition: Matrix<unknown>, matrixReferences: Matrix<string>): MatrixResult<string, ThrowError, TError>;
127
+ }
128
+
129
+ declare class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, GTINType, GTINCreator> {
130
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
131
+ createGTIN14(indicatorDigit: string, prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
132
+ }
133
+
134
+ declare class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
135
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
136
+ }
137
+ declare class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
138
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
139
+ }
140
+ declare class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
141
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
142
+ }
143
+ declare class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
144
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
145
+ }
146
+ declare class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
147
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
148
+ }
149
+ declare class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
150
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
151
+ }
152
+ declare class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
153
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
154
+ }
155
+ declare class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
156
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
157
+ }
158
+ declare class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
159
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
160
+ }
161
+ declare class CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
162
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
163
+ }
164
+ declare class GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
165
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
166
+ }
167
+
168
+ declare class VariableMeasureProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
169
+ parseVariableMeasureRCN(format: string, matrixRCNs: Matrix<string>): MatrixResult<number, ThrowError, TError>;
170
+ createVariableMeasureRCN(format: string, itemReference: number, matrixPricesOrWeights: Matrix<number>): MatrixResult<string, ThrowError, TError>;
171
+ }
172
+
173
+ declare class VerifiedByGS1Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
174
+ verifiedByGS1(identifierType: string, matrixIdentifiers: Matrix<string>, text: Nullishable<string>, details: Nullishable<string>, invocationContext: Nullishable<TInvocationContext>): Promise<MatrixResult<unknown, ThrowError, TError>>;
175
+ }
176
+
177
+ declare class GCPLengthProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
178
+ #private;
179
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
180
+ gcpLengthOf(identifierType: string, matrixIdentifiers: Matrix<string>): Promise<MatrixResult<number, ThrowError, TError>>;
181
+ gcpLengthDateTime(): Promise<SingletonResult<string, ThrowError, TError>>;
182
+ gcpLengthDisclaimer(): Promise<SingletonResult<string, ThrowError, TError>>;
183
+ }
184
+
185
+ export { AI39Proxy, AI64Proxy, AI82Proxy, CPIDCreatorProxy, CPIDValidatorProxy, CheckProxy, GCNCreatorProxy, GCNValidatorProxy, GCPLengthProxy, GDTICreatorProxy, GDTIValidatorProxy, GIAICreatorProxy, GIAIValidatorProxy, GINCCreatorProxy, GINCValidatorProxy, GLNCreatorProxy, GLNValidatorProxy, GMNCreatorProxy, GMNValidatorProxy, GRAICreatorProxy, GRAIValidatorProxy, GSINCreatorProxy, GSINValidatorProxy, GSRNCreatorProxy, GSRNValidatorProxy, GTIN12ValidatorProxy, GTIN13ValidatorProxy, GTIN8ValidatorProxy, GTINCreatorProxy, GTINValidatorStaticProxy, PrefixManagerProxy, SSCCCreatorProxy, SSCCValidatorProxy, VariableMeasureProxy, VerifiedByGS1Proxy };
@@ -1,11 +1,185 @@
1
- export * from "./character-set-proxy.js";
2
- export * from "./check-proxy.js";
3
- export * from "./gtin-validator-proxy.js";
4
- export * from "./non-gtin-validator-proxy.js";
5
- export * from "./prefix-manager-proxy.js";
6
- export * from "./gtin-creator-proxy.js";
7
- export * from "./non-gtin-creator-proxy.js";
8
- export * from "./variable-measure-proxy.js";
9
- export * from "./verified-by-gs1-proxy.js";
10
- export * from "./gcp-length-proxy.js";
11
- //# sourceMappingURL=index.d.ts.map
1
+ import { E as ErrorExtends, i as CharacterSetCreatorProxy, h as AppExtension, C as CharacterSetValidatorProxy, L as LibProxy, M as Matrix, a as MatrixResult, e as SingletonResult, S as StringProxy } from '../character-set-proxy-BOW94WCe.js';
2
+ import { Nullishable } from '@aidc-toolkit/core';
3
+ import { NumericIdentifierType, IdentifierType, IdentifierTypeValidator, GTINType, NonGTINNumericIdentifierType, NonSerializableNumericIdentifierType, SerializableNumericIdentifierType, NonNumericIdentifierType, NonNumericIdentifierValidation, GTINLevel, PrefixType, NumericIdentifierCreator, IdentifierValidation, IdentifierCreator, PrefixManager, NumericIdentifierValidation, NonGTINNumericIdentifierCreator, SerializableNumericIdentifierCreator, NonNumericIdentifierCreator, GTINCreator } from '@aidc-toolkit/gs1';
4
+ import '@aidc-toolkit/utility';
5
+ import 'tslog';
6
+
7
+ declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
8
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
9
+ }
10
+ declare class AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
11
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
12
+ }
13
+ declare class AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
14
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
15
+ }
16
+
17
+ declare class CheckProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
18
+ checkDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
19
+ hasValidCheckDigit(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
20
+ priceOrWeightCheckDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
21
+ isValidPriceOrWeightCheckDigit(s: string, checkDigit: string): SingletonResult<boolean, ThrowError, TError>;
22
+ checkCharacterPair(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
23
+ hasValidCheckCharacterPair(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
24
+ }
25
+
26
+ declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TIdentifierType extends IdentifierType> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
27
+ #private;
28
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, validator: IdentifierTypeValidator<TIdentifierType>);
29
+ protected get validator(): IdentifierTypeValidator<TIdentifierType>;
30
+ }
31
+ declare abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType> {
32
+ validate(matrixIdentifiers: Matrix<string>): Matrix<string>;
33
+ isValid(matrixIdentifiers: Matrix<string>): Matrix<boolean>;
34
+ }
35
+ declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, GTINType> {
36
+ }
37
+ declare abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType = NonGTINNumericIdentifierType> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType> {
38
+ }
39
+ declare abstract class NonSerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType> {
40
+ }
41
+ declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, SerializableNumericIdentifierType> {
42
+ split(matrixIdentifiers: Matrix<string>): MatrixResult<string, ThrowError, TError>;
43
+ }
44
+ declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonNumericIdentifierType> {
45
+ validate(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<string>;
46
+ isValid(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<boolean>;
47
+ }
48
+
49
+ declare class GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
50
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
51
+ }
52
+ declare class GTIN12ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
53
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
54
+ }
55
+ declare class GTIN8ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
56
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
57
+ }
58
+ declare class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
59
+ zeroSuppressGTIN12(matrixGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
60
+ zeroExpandGTIN12(matrixZeroSuppressedGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
61
+ convertToGTIN14(indicatorDigit: string, matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
62
+ normalizeGTIN(matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
63
+ validateGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<string>;
64
+ isValidGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<boolean>;
65
+ validateGTIN14(matrixGTIN14s: Matrix<string>): Matrix<string>;
66
+ isValidGTIN14(matrixGTIN14s: Matrix<string>): Matrix<boolean>;
67
+ }
68
+
69
+ declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
70
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
71
+ }
72
+ declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
73
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
74
+ }
75
+ declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
76
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
77
+ }
78
+ declare class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
79
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
80
+ }
81
+ declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
82
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
83
+ }
84
+ declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
85
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
86
+ }
87
+ declare class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
88
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
89
+ }
90
+ declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
91
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
92
+ }
93
+ declare class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
94
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
95
+ }
96
+ declare class CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
97
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
98
+ }
99
+ declare class GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
100
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
101
+ }
102
+
103
+ declare class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
104
+ definePrefix(prefix: string, prefixType: Nullishable<PrefixType>, tweakFactor: Nullishable<number>): Matrix<unknown>;
105
+ }
106
+
107
+ declare abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TIdentifierType extends IdentifierType, TIdentifierValidation extends IdentifierValidation, TIdentifierCreator extends IdentifierCreator<TIdentifierType, TIdentifierValidation>> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
108
+ #private;
109
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, getCreator: (prefixManager: PrefixManager) => TIdentifierCreator);
110
+ protected getCreator(prefixDefinition: Matrix<unknown>): TIdentifierCreator;
111
+ }
112
+ declare abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType, TNumericIdentifierCreator extends NumericIdentifierCreator<TNumericIdentifierType>> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType, NumericIdentifierValidation, TNumericIdentifierCreator> {
113
+ create(prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
114
+ createSequence(prefixDefinition: Matrix<unknown>, startValue: number, count: number, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
115
+ createAll(prefixDefinition: Matrix<unknown>): MatrixResult<string, ThrowError, TError>;
116
+ }
117
+ declare abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
118
+ }
119
+ declare abstract class NonSerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonSerializableNumericIdentifierType extends NonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
120
+ }
121
+ declare abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, SerializableNumericIdentifierType, SerializableNumericIdentifierCreator> {
122
+ createSerialized(prefixDefinition: Matrix<unknown>, value: number, matrixSerialComponents: Matrix<string>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
123
+ concatenate(baseIdentifier: string, matrixSerialComponents: Matrix<string>): MatrixResult<string, ThrowError, TError>;
124
+ }
125
+ declare abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonNumericIdentifierType, NonNumericIdentifierValidation, NonNumericIdentifierCreator> {
126
+ create(prefixDefinition: Matrix<unknown>, matrixReferences: Matrix<string>): MatrixResult<string, ThrowError, TError>;
127
+ }
128
+
129
+ declare class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, GTINType, GTINCreator> {
130
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
131
+ createGTIN14(indicatorDigit: string, prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
132
+ }
133
+
134
+ declare class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
135
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
136
+ }
137
+ declare class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
138
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
139
+ }
140
+ declare class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
141
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
142
+ }
143
+ declare class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
144
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
145
+ }
146
+ declare class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
147
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
148
+ }
149
+ declare class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
150
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
151
+ }
152
+ declare class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
153
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
154
+ }
155
+ declare class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
156
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
157
+ }
158
+ declare class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
159
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
160
+ }
161
+ declare class CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
162
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
163
+ }
164
+ declare class GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
165
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
166
+ }
167
+
168
+ declare class VariableMeasureProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
169
+ parseVariableMeasureRCN(format: string, matrixRCNs: Matrix<string>): MatrixResult<number, ThrowError, TError>;
170
+ createVariableMeasureRCN(format: string, itemReference: number, matrixPricesOrWeights: Matrix<number>): MatrixResult<string, ThrowError, TError>;
171
+ }
172
+
173
+ declare class VerifiedByGS1Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
174
+ verifiedByGS1(identifierType: string, matrixIdentifiers: Matrix<string>, text: Nullishable<string>, details: Nullishable<string>, invocationContext: Nullishable<TInvocationContext>): Promise<MatrixResult<unknown, ThrowError, TError>>;
175
+ }
176
+
177
+ declare class GCPLengthProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
178
+ #private;
179
+ constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
180
+ gcpLengthOf(identifierType: string, matrixIdentifiers: Matrix<string>): Promise<MatrixResult<number, ThrowError, TError>>;
181
+ gcpLengthDateTime(): Promise<SingletonResult<string, ThrowError, TError>>;
182
+ gcpLengthDisclaimer(): Promise<SingletonResult<string, ThrowError, TError>>;
183
+ }
184
+
185
+ export { AI39Proxy, AI64Proxy, AI82Proxy, CPIDCreatorProxy, CPIDValidatorProxy, CheckProxy, GCNCreatorProxy, GCNValidatorProxy, GCPLengthProxy, GDTICreatorProxy, GDTIValidatorProxy, GIAICreatorProxy, GIAIValidatorProxy, GINCCreatorProxy, GINCValidatorProxy, GLNCreatorProxy, GLNValidatorProxy, GMNCreatorProxy, GMNValidatorProxy, GRAICreatorProxy, GRAIValidatorProxy, GSINCreatorProxy, GSINValidatorProxy, GSRNCreatorProxy, GSRNValidatorProxy, GTIN12ValidatorProxy, GTIN13ValidatorProxy, GTIN8ValidatorProxy, GTINCreatorProxy, GTINValidatorStaticProxy, PrefixManagerProxy, SSCCCreatorProxy, SSCCValidatorProxy, VariableMeasureProxy, VerifiedByGS1Proxy };
package/dist/gs1/index.js CHANGED
@@ -1,11 +1 @@
1
- export * from "./character-set-proxy.js";
2
- export * from "./check-proxy.js";
3
- export * from "./gtin-validator-proxy.js";
4
- export * from "./non-gtin-validator-proxy.js";
5
- export * from "./prefix-manager-proxy.js";
6
- export * from "./gtin-creator-proxy.js";
7
- export * from "./non-gtin-creator-proxy.js";
8
- export * from "./variable-measure-proxy.js";
9
- export * from "./verified-by-gs1-proxy.js";
10
- export * from "./gcp-length-proxy.js";
11
- //# sourceMappingURL=index.js.map
1
+ import{A,B,C,D,E,F,G,H,I,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-TWX7TPRC.js";import"../chunk-22IRLVWO.js";export{b as AI39Proxy,c as AI64Proxy,a as AI82Proxy,E as CPIDCreatorProxy,r as CPIDValidatorProxy,d as CheckProxy,D as GCNCreatorProxy,q as GCNValidatorProxy,I as GCPLengthProxy,A as GDTICreatorProxy,n as GDTIValidatorProxy,y as GIAICreatorProxy,l as GIAIValidatorProxy,B as GINCCreatorProxy,o as GINCValidatorProxy,v as GLNCreatorProxy,i as GLNValidatorProxy,F as GMNCreatorProxy,s as GMNValidatorProxy,x as GRAICreatorProxy,k as GRAIValidatorProxy,C as GSINCreatorProxy,p as GSINValidatorProxy,z as GSRNCreatorProxy,m as GSRNValidatorProxy,f as GTIN12ValidatorProxy,e as GTIN13ValidatorProxy,g as GTIN8ValidatorProxy,u as GTINCreatorProxy,h as GTINValidatorStaticProxy,t as PrefixManagerProxy,w as SSCCCreatorProxy,j as SSCCValidatorProxy,G as VariableMeasureProxy,H as VerifiedByGS1Proxy};