@lokiengineering/loki-common-node 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -150,6 +150,14 @@ declare enum DeliveryStatus {
150
150
  DISPATCHED = "dispatched",
151
151
  DELIVERED = "delivered"
152
152
  }
153
+ declare enum OrderPenaltyType {
154
+ LIGHT_SCRATCH = "LIGHT_SCRATCH",// Radial scratches, minor scuffs
155
+ DEEP_SCRATCH = "DEEP_SCRATCH",// Circular scratches, deep gouges
156
+ CASING_DAMAGE = "CASING_DAMAGE",// Cracked plastic, broken teeth
157
+ MISSING_COMPONENT = "MISSING_COMPONENT",// Manuals, inlays, or maps
158
+ LIQUID_DAMAGE = "LIQUID_DAMAGE",// Soda, grease, vape residue
159
+ SEVERE_STRUCTURAL = "SEVERE_STRUCTURAL"
160
+ }
153
161
 
154
162
  declare enum MaturityRating {
155
163
  EVERYONE = "Everyone",
@@ -226,7 +234,8 @@ declare enum BusinessLogicErrorEnum {
226
234
  CANNOT_DELETE_PRIMARY_ADDRESS = "CANNOT_DELETE_PRIMARY_ADDRESS",
227
235
  MAX_DEPOSIT_EXCEEDED = "MAX_DEPOSIT_EXCEEDED",
228
236
  EDITION_HAS_ACTIVE_COPIES = "EDITION_HAS_ACTIVE_COPIES",
229
- INVALID_ORDER_TRANSITION_CONFIG = "INVALID_ORDER_TRANSITION_CONFIG"
237
+ INVALID_ORDER_TRANSITION_CONFIG = "INVALID_ORDER_TRANSITION_CONFIG",
238
+ MISMATCH_LATE_INPUT = "MISMATCH_LATE_INPUT"
230
239
  }
231
240
  declare enum GeneralErrorEnum {
232
241
  ROUTE_NOT_FOUND = "ROUTE_NOT_FOUND",
@@ -253,4 +262,4 @@ declare enum PayoutKnownBank {
253
262
  MANDIRI = "mandiri"
254
263
  }
255
264
 
256
- export { ActorType, AdminRole, ArticleType, AssetType, AssetVisibility, AuthProvider, BusinessLogicErrorEnum, ContentDescriptor, DeliveryDirection, DeliveryStatus, EmailTemplateType, ErrorEntity, type ErrorEnum, GameCopyStatus, GamePlayMode, GameTier, GeneralErrorEnum, Genre, HouseListPlatform, IncidentResolution, MaturityRating, MembershipTier, OrderIncidentType, OrderItemStatus, OrderStatus, OrderType, ParseError, PayoutKnownBank, PeriodKey, Platform, RefundStatus, ServerErrorEnum, TokenType, VerificationTokenType, VisibilityToTypeMap, WalletTransactionReason, WalletTransactionType };
265
+ export { ActorType, AdminRole, ArticleType, AssetType, AssetVisibility, AuthProvider, BusinessLogicErrorEnum, ContentDescriptor, DeliveryDirection, DeliveryStatus, EmailTemplateType, ErrorEntity, type ErrorEnum, GameCopyStatus, GamePlayMode, GameTier, GeneralErrorEnum, Genre, HouseListPlatform, IncidentResolution, MaturityRating, MembershipTier, OrderIncidentType, OrderItemStatus, OrderPenaltyType, OrderStatus, OrderType, ParseError, PayoutKnownBank, PeriodKey, Platform, RefundStatus, ServerErrorEnum, TokenType, VerificationTokenType, VisibilityToTypeMap, WalletTransactionReason, WalletTransactionType };
package/dist/index.js CHANGED
@@ -176,6 +176,15 @@ var DeliveryStatus = /* @__PURE__ */ ((DeliveryStatus2) => {
176
176
  DeliveryStatus2["DELIVERED"] = "delivered";
177
177
  return DeliveryStatus2;
178
178
  })(DeliveryStatus || {});
179
+ var OrderPenaltyType = /* @__PURE__ */ ((OrderPenaltyType2) => {
180
+ OrderPenaltyType2["LIGHT_SCRATCH"] = "LIGHT_SCRATCH";
181
+ OrderPenaltyType2["DEEP_SCRATCH"] = "DEEP_SCRATCH";
182
+ OrderPenaltyType2["CASING_DAMAGE"] = "CASING_DAMAGE";
183
+ OrderPenaltyType2["MISSING_COMPONENT"] = "MISSING_COMPONENT";
184
+ OrderPenaltyType2["LIQUID_DAMAGE"] = "LIQUID_DAMAGE";
185
+ OrderPenaltyType2["SEVERE_STRUCTURAL"] = "SEVERE_STRUCTURAL";
186
+ return OrderPenaltyType2;
187
+ })(OrderPenaltyType || {});
179
188
 
180
189
  // src/enums/rating.enum.ts
181
190
  var MaturityRating = /* @__PURE__ */ ((MaturityRating2) => {
@@ -262,6 +271,7 @@ var BusinessLogicErrorEnum = /* @__PURE__ */ ((BusinessLogicErrorEnum2) => {
262
271
  BusinessLogicErrorEnum2["MAX_DEPOSIT_EXCEEDED"] = "MAX_DEPOSIT_EXCEEDED";
263
272
  BusinessLogicErrorEnum2["EDITION_HAS_ACTIVE_COPIES"] = "EDITION_HAS_ACTIVE_COPIES";
264
273
  BusinessLogicErrorEnum2["INVALID_ORDER_TRANSITION_CONFIG"] = "INVALID_ORDER_TRANSITION_CONFIG";
274
+ BusinessLogicErrorEnum2["MISMATCH_LATE_INPUT"] = "MISMATCH_LATE_INPUT";
265
275
  return BusinessLogicErrorEnum2;
266
276
  })(BusinessLogicErrorEnum || {});
267
277
  var GeneralErrorEnum = /* @__PURE__ */ ((GeneralErrorEnum2) => {
@@ -315,6 +325,7 @@ export {
315
325
  MembershipTier,
316
326
  OrderIncidentType,
317
327
  OrderItemStatus,
328
+ OrderPenaltyType,
318
329
  OrderStatus,
319
330
  OrderType,
320
331
  ParseError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokiengineering/loki-common-node",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "Shared TypeScript enums and types for Loki services",
5
5
  "license": "MIT",
6
6
  "repository": {