@23blocks/block-sales 5.1.0 → 5.2.1

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.esm.js CHANGED
@@ -114,17 +114,32 @@ const orderMapper = {
114
114
  type: 'Order',
115
115
  map: (resource)=>({
116
116
  id: resource.id,
117
- uniqueId: parseString(resource.attributes['unique_id']),
117
+ uniqueId: parseString(resource.attributes['unique_id']) || '',
118
118
  createdAt: parseDate(resource.attributes['created_at']) || new Date(),
119
119
  updatedAt: parseDate(resource.attributes['updated_at']) || new Date(),
120
120
  displayId: parseString(resource.attributes['display_id']),
121
121
  userUniqueId: parseString(resource.attributes['user_unique_id']) || '',
122
+ customerUniqueId: parseString(resource.attributes['customer_unique_id']),
122
123
  status: parseOrderStatus(resource.attributes['status']),
123
124
  subtotal: parseNumber(resource.attributes['subtotal']),
124
125
  tax: parseNumber(resource.attributes['tax']),
125
126
  shipping: parseNumber(resource.attributes['shipping']),
127
+ delivery: parseNumber(resource.attributes['delivery']) || undefined,
126
128
  discount: parseNumber(resource.attributes['discount']),
127
129
  total: parseNumber(resource.attributes['total']),
130
+ source: parseString(resource.attributes['source']),
131
+ sourceAlias: parseString(resource.attributes['source_alias']),
132
+ sourceId: parseString(resource.attributes['source_id']),
133
+ sourceType: parseString(resource.attributes['source_type']),
134
+ code: parseString(resource.attributes['code']),
135
+ discountValue: parseNumber(resource.attributes['discount_value']) || undefined,
136
+ taxValue: parseNumber(resource.attributes['tax_value']) || undefined,
137
+ fees: parseNumber(resource.attributes['fees']) || undefined,
138
+ feesValue: parseNumber(resource.attributes['fees_value']) || undefined,
139
+ promoCode: parseString(resource.attributes['promo_code']),
140
+ internalNotes: parseString(resource.attributes['internal_notes']),
141
+ cartUniqueId: parseString(resource.attributes['cart_unique_id']),
142
+ referredBy: parseString(resource.attributes['referred_by']),
128
143
  shippingAddressUniqueId: parseString(resource.attributes['shipping_address_unique_id']),
129
144
  billingAddressUniqueId: parseString(resource.attributes['billing_address_unique_id']),
130
145
  notes: parseString(resource.attributes['notes']),
@@ -156,20 +171,32 @@ function createOrdersService(transport, _config) {
156
171
  return decodeOne(response, orderMapper);
157
172
  },
158
173
  async create (data) {
174
+ const order = {};
175
+ if (data.customerUniqueId) order['customer_unique_id'] = data.customerUniqueId;
176
+ if (data.userUniqueId) order['user_unique_id'] = data.userUniqueId;
177
+ if (data.subtotal !== undefined) order['subtotal'] = data.subtotal;
178
+ if (data.source) order['source'] = data.source;
179
+ if (data.sourceAlias) order['source_alias'] = data.sourceAlias;
180
+ if (data.sourceId) order['source_id'] = data.sourceId;
181
+ if (data.sourceType) order['source_type'] = data.sourceType;
182
+ if (data.code) order['code'] = data.code;
183
+ if (data.discount !== undefined) order['discount'] = data.discount;
184
+ if (data.discountValue !== undefined) order['discount_value'] = data.discountValue;
185
+ if (data.delivery !== undefined) order['delivery'] = data.delivery;
186
+ if (data.tax !== undefined) order['tax'] = data.tax;
187
+ if (data.taxValue !== undefined) order['tax_value'] = data.taxValue;
188
+ if (data.fees !== undefined) order['fees'] = data.fees;
189
+ if (data.feesValue !== undefined) order['fees_value'] = data.feesValue;
190
+ if (data.promoCode) order['promo_code'] = data.promoCode;
191
+ if (data.internalNotes) order['internal_notes'] = data.internalNotes;
192
+ if (data.cartUniqueId) order['cart_unique_id'] = data.cartUniqueId;
193
+ if (data.referredBy) order['referred_by'] = data.referredBy;
194
+ if (data.shippingAddressUniqueId) order['shipping_address_unique_id'] = data.shippingAddressUniqueId;
195
+ if (data.billingAddressUniqueId) order['billing_address_unique_id'] = data.billingAddressUniqueId;
196
+ if (data.notes) order['notes'] = data.notes;
197
+ if (data.payload) order['payload'] = data.payload;
159
198
  const response = await transport.post('/orders', {
160
- order: {
161
- user_unique_id: data.userUniqueId,
162
- items: data.items.map((item)=>({
163
- product_unique_id: item.productUniqueId,
164
- product_variation_unique_id: item.productVariationUniqueId,
165
- quantity: item.quantity,
166
- unit_price: item.unitPrice
167
- })),
168
- shipping_address_unique_id: data.shippingAddressUniqueId,
169
- billing_address_unique_id: data.billingAddressUniqueId,
170
- notes: data.notes,
171
- payload: data.payload
172
- }
199
+ order
173
200
  });
174
201
  return decodeOne(response, orderMapper);
175
202
  },
@@ -1 +1 @@
1
- {"version":3,"file":"order.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/order.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,KAAK,CAwB7C,CAAC"}
1
+ {"version":3,"file":"order.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/order.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,KAAK,CAuC7C,CAAC"}
@@ -12,7 +12,7 @@ export interface OrdersService {
12
12
  */
13
13
  get(uniqueId: string): Promise<Order>;
14
14
  /**
15
- * Create a new order with line items.
15
+ * Create a new order. Line items are added separately via orderDetails.create().
16
16
  * @returns The newly created Order record.
17
17
  */
18
18
  create(data: CreateOrderRequest): Promise<Order>;
@@ -1 +1 @@
1
- {"version":3,"file":"orders.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/orders.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EAAE,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAGzG,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,IAAI,CAAC,MAAM,CAAC,EAAE,gBAAgB,GA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mB,CAAC;AAGzG,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,IAAI,CAAC,MAAM,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAE5D;;;OAGG;IACH,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAEtC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAEjD;;;OAGG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAEnE;;;OAGG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAE1C;;;OAGG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAEhE;;;OAGG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAE1C;;;OAGG;IACH,UAAU,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;CACzF;AAED,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,aAAa,CAqGnG"}
@@ -3,12 +3,27 @@ export type OrderStatus = 'pending' | 'confirmed' | 'processing' | 'shipped' | '
3
3
  export interface Order extends IdentityCore {
4
4
  displayId: string;
5
5
  userUniqueId: string;
6
+ customerUniqueId?: string;
6
7
  status: OrderStatus;
7
8
  subtotal: number;
8
9
  tax: number;
9
10
  shipping: number;
11
+ delivery?: number;
10
12
  discount: number;
11
13
  total: number;
14
+ source?: string;
15
+ sourceAlias?: string;
16
+ sourceId?: string;
17
+ sourceType?: string;
18
+ code?: string;
19
+ discountValue?: number;
20
+ taxValue?: number;
21
+ fees?: number;
22
+ feesValue?: number;
23
+ promoCode?: string;
24
+ internalNotes?: string;
25
+ cartUniqueId?: string;
26
+ referredBy?: string;
12
27
  shippingAddressUniqueId?: string;
13
28
  billingAddressUniqueId?: string;
14
29
  notes?: string;
@@ -18,13 +33,44 @@ export interface Order extends IdentityCore {
18
33
  payload?: Record<string, unknown>;
19
34
  }
20
35
  export interface CreateOrderRequest {
21
- userUniqueId: string;
22
- items: Array<{
23
- productUniqueId: string;
24
- productVariationUniqueId?: string;
25
- quantity: number;
26
- unitPrice: number;
27
- }>;
36
+ /** Customer unique ID (flat order format) */
37
+ customerUniqueId?: string;
38
+ /** User unique ID (alternative to customerUniqueId) */
39
+ userUniqueId?: string;
40
+ /** Order subtotal amount */
41
+ subtotal?: number;
42
+ /** Source identifier (e.g., 'ppm', 'web', 'mobile') */
43
+ source?: string;
44
+ /** Source alias */
45
+ sourceAlias?: string;
46
+ /** Source ID */
47
+ sourceId?: string;
48
+ /** Source type */
49
+ sourceType?: string;
50
+ /** Order code */
51
+ code?: string;
52
+ /** Discount percentage or fixed */
53
+ discount?: number;
54
+ /** Discount value */
55
+ discountValue?: number;
56
+ /** Delivery cost */
57
+ delivery?: number;
58
+ /** Tax percentage or fixed */
59
+ tax?: number;
60
+ /** Tax value */
61
+ taxValue?: number;
62
+ /** Fees percentage or fixed */
63
+ fees?: number;
64
+ /** Fees value */
65
+ feesValue?: number;
66
+ /** Promo code */
67
+ promoCode?: string;
68
+ /** Internal notes (not visible to customer) */
69
+ internalNotes?: string;
70
+ /** Cart unique ID */
71
+ cartUniqueId?: string;
72
+ /** Referred by */
73
+ referredBy?: string;
28
74
  shippingAddressUniqueId?: string;
29
75
  billingAddressUniqueId?: string;
30
76
  notes?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,CAAC;AAEzG,MAAM,WAAW,KAAM,SAAQ,YAAY;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,WAAW,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC;QACX,eAAe,EAAE,MAAM,CAAC;QACxB,wBAAwB,CAAC,EAAE,MAAM,CAAC;QAClC,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAA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1,6 @@
1
1
  {
2
2
  "name": "@23blocks/block-sales",
3
- "version": "5.1.0",
3
+ "version": "5.2.1",
4
4
  "description": "Sales block for 23blocks SDK - orders, payments, subscriptions, transactions",
5
5
  "license": "MIT",
6
6
  "author": "23blocks <hello@23blocks.com>",