@gethydra/sdk 0.1.45 → 0.1.47

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 +20 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -100,6 +100,8 @@ interface components {
100
100
  display_multiplier: number;
101
101
  /** @example 365 */
102
102
  expiry_days: number | null;
103
+ /** @example 30 */
104
+ expiring_soon_days: number | null;
103
105
  /** @example true */
104
106
  activity_reset: boolean;
105
107
  /** @example true */
@@ -111,6 +113,11 @@ interface components {
111
113
  /** @example 12 */
112
114
  pending_hours: number;
113
115
  };
116
+ /** @description Store credit configuration */
117
+ store_credit_config: {
118
+ /** @example 30 */
119
+ expiring_soon_days: number | null;
120
+ };
114
121
  pricing_config: {
115
122
  /** @example 2 */
116
123
  next_key_index: number;
@@ -3620,7 +3627,7 @@ interface components {
3620
3627
  * @example confirmed
3621
3628
  * @enum {string}
3622
3629
  */
3623
- status: "pending" | "confirmed" | "cancelled" | "completed" | "no_show";
3630
+ status: "pending" | "confirmed" | "arrived" | "cancelled" | "completed" | "no_show";
3624
3631
  /**
3625
3632
  * @example online
3626
3633
  * @enum {string}
@@ -4680,6 +4687,8 @@ interface operations {
4680
4687
  display_multiplier?: number;
4681
4688
  /** @example 365 */
4682
4689
  expiry_days?: number | null;
4690
+ /** @example 30 */
4691
+ expiring_soon_days?: number | null;
4683
4692
  /** @example true */
4684
4693
  activity_reset?: boolean;
4685
4694
  /** @example true */
@@ -4694,6 +4703,10 @@ interface operations {
4694
4703
  gift_card_config?: {
4695
4704
  default_expiry_days?: number | null;
4696
4705
  };
4706
+ store_credit_config?: {
4707
+ /** @example 30 */
4708
+ expiring_soon_days?: number | null;
4709
+ };
4697
4710
  };
4698
4711
  };
4699
4712
  };
@@ -10274,6 +10287,7 @@ interface operations {
10274
10287
  balance: number;
10275
10288
  available_balance: number;
10276
10289
  pending_balance: number;
10290
+ expiring_soon_balance: number;
10277
10291
  currency: string;
10278
10292
  };
10279
10293
  };
@@ -16964,7 +16978,7 @@ interface operations {
16964
16978
  location_id?: string;
16965
16979
  date_from?: string;
16966
16980
  date_to?: string;
16967
- status?: "pending" | "confirmed" | "cancelled" | "completed" | "no_show";
16981
+ status?: "pending" | "confirmed" | "arrived" | "cancelled" | "completed" | "no_show";
16968
16982
  customer_email?: string;
16969
16983
  };
16970
16984
  header?: never;
@@ -17101,7 +17115,7 @@ interface operations {
17101
17115
  content: {
17102
17116
  "application/json": {
17103
17117
  /** @enum {string} */
17104
- status?: "confirmed" | "cancelled" | "completed" | "no_show";
17118
+ status?: "confirmed" | "arrived" | "cancelled" | "completed" | "no_show";
17105
17119
  notes?: string;
17106
17120
  metadata?: {
17107
17121
  [key: string]: string | number;
@@ -21189,6 +21203,9 @@ interface LoyaltySummary {
21189
21203
  expired_credit?: number;
21190
21204
  pending_credit?: number;
21191
21205
  pending_points?: number;
21206
+ expiring_soon_credit?: number;
21207
+ expiring_soon_points?: number;
21208
+ expiring_soon_days?: number | null;
21192
21209
  display_multiplier?: number;
21193
21210
  earn_rate_bps?: number;
21194
21211
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethydra/sdk",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "description": "Official TypeScript SDK for the Hydra Commerce API",
5
5
  "license": "MIT",
6
6
  "author": "Grant Capital Group",