@artisan-commerce/builders 0.7.0-canary.41 → 0.7.0-canary.42

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.
@@ -143089,6 +143089,12 @@ const orderStatusOptions = [
143089
143089
  "PENDING",
143090
143090
  "REJECTED"
143091
143091
  ];
143092
+ const paymentStatus = [
143093
+ "CANCELED",
143094
+ "PAID",
143095
+ "PENDING",
143096
+ "REFUNDED"
143097
+ ];
143092
143098
  const allocationOptions = [
143093
143099
  "PICKUP_TO_GO",
143094
143100
  "PICKUP_IN_PLACE",
@@ -143216,7 +143222,8 @@ const buildOrderRetry = (overrides = {}) => {
143216
143222
  }, buildStatus()), {
143217
143223
  status: genWord(),
143218
143224
  payment_method_by_order_id: genNumber(9999999),
143219
- user_agent: genWord()
143225
+ user_agent: genWord(),
143226
+ payment_method: null
143220
143227
  }), overrides);
143221
143228
  };
143222
143229
  const buildStatus = (overrides = {}) => {
@@ -143235,6 +143242,7 @@ const genOrderRetries = (quantity) => {
143235
143242
  };
143236
143243
  const buildOrderPaymentMethod = (overrides = {}) => {
143237
143244
  return __spreadValues$2({
143245
+ id: genNumericId(),
143238
143246
  lastRetry: buildOrderRetry(),
143239
143247
  payment_method_id: genNumber(20),
143240
143248
  status: chooseRandom(orderStatusOptions),
@@ -143255,7 +143263,7 @@ const buildOrderShoppingCart = (overrides = {}) => {
143255
143263
  comment: genWords(6),
143256
143264
  instructions: genWords(6),
143257
143265
  statusName: genWord(),
143258
- paymentStatus: chooseRandom(orderStatusOptions),
143266
+ paymentStatus: chooseRandom(paymentStatus),
143259
143267
  statusId: genNumericId(),
143260
143268
  statusCode: chooseRandom(stepCode),
143261
143269
  issueId: genId(),
@@ -143587,6 +143595,7 @@ const genOrderRetryPaymentMethods = (quantity) => {
143587
143595
  var order_builder = /*#__PURE__*/Object.freeze({
143588
143596
  __proto__: null,
143589
143597
  orderStatusOptions: orderStatusOptions,
143598
+ paymentStatus: paymentStatus,
143590
143599
  allocationOptions: allocationOptions,
143591
143600
  genSeqId: genSeqId,
143592
143601
  genReference: genReference,