@gethydra/sdk 0.1.19 → 0.1.20

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 (2) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1230,6 +1230,8 @@ interface components {
1230
1230
  order_count: number;
1231
1231
  /** @example 34950 */
1232
1232
  total_spent: number;
1233
+ /** @example 0 */
1234
+ store_credit_balance: number;
1233
1235
  /**
1234
1236
  * @example [
1235
1237
  * "vip",
@@ -11515,6 +11517,12 @@ interface operations {
11515
11517
  * @example loc_abc123
11516
11518
  */
11517
11519
  location_id?: string;
11520
+ /**
11521
+ * @description Amount of store credit (in minor units) to debit from the customer. Requires customer_id.
11522
+ * @default 0
11523
+ * @example 0
11524
+ */
11525
+ store_credit_applied?: number;
11518
11526
  /** @default {} */
11519
11527
  metadata?: {
11520
11528
  [key: string]: string | number;
@@ -16144,6 +16152,8 @@ interface operations {
16144
16152
  /** @default 0 */
16145
16153
  discount?: number;
16146
16154
  discount_code?: string;
16155
+ /** @default 0 */
16156
+ store_credit_amount?: number;
16147
16157
  notes?: string;
16148
16158
  metadata?: {
16149
16159
  [key: string]: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethydra/sdk",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Official TypeScript SDK for the Hydra Commerce API",
5
5
  "license": "MIT",
6
6
  "author": "Grant Capital Group",