@gethydra/sdk 0.1.50 → 0.1.51

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 +35 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3770,6 +3770,8 @@ interface components {
3770
3770
  FormSubmission: {
3771
3771
  /** @example fsub_abc123def456ghi789jk */
3772
3772
  id: string;
3773
+ /** @example cus_abc123 */
3774
+ customer_id: string | null;
3773
3775
  /** @example form_1 */
3774
3776
  form_key: string;
3775
3777
  /**
@@ -17440,6 +17442,35 @@ interface operations {
17440
17442
  };
17441
17443
  };
17442
17444
  };
17445
+ myAppointments: {
17446
+ parameters: {
17447
+ query?: {
17448
+ /** @description Comma-separated status filter */
17449
+ status?: string;
17450
+ /** @description YYYY-MM-DD */
17451
+ date_from?: string;
17452
+ /** @description YYYY-MM-DD */
17453
+ date_to?: string;
17454
+ };
17455
+ header?: never;
17456
+ path?: never;
17457
+ cookie?: never;
17458
+ };
17459
+ requestBody?: never;
17460
+ responses: {
17461
+ /** @description Customer appointments */
17462
+ 200: {
17463
+ headers: {
17464
+ [name: string]: unknown;
17465
+ };
17466
+ content: {
17467
+ "application/json": {
17468
+ data: components["schemas"]["Appointment"][];
17469
+ };
17470
+ };
17471
+ };
17472
+ };
17473
+ };
17443
17474
  getAppointment: {
17444
17475
  parameters: {
17445
17476
  query?: never;
@@ -17603,6 +17634,8 @@ interface operations {
17603
17634
  fields?: string;
17604
17635
  /** @description Filter by form slug */
17605
17636
  form?: string;
17637
+ /** @description Filter by customer ID */
17638
+ customer_id?: string;
17606
17639
  };
17607
17640
  header?: never;
17608
17641
  path?: never;
@@ -20009,6 +20042,8 @@ interface operations {
20009
20042
  last_name?: string;
20010
20043
  /** @example +14155550123 */
20011
20044
  phone?: string | null;
20045
+ /** @example 1990-06-15 */
20046
+ dob?: string | null;
20012
20047
  /** @example es-419 */
20013
20048
  locale?: string | null;
20014
20049
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethydra/sdk",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "Official TypeScript SDK for the Hydra Commerce API",
5
5
  "license": "MIT",
6
6
  "author": "Grant Capital Group",