@gethydra/sdk 0.1.41 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +37 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4545,6 +4545,11 @@ interface operations {
4545
4545
  po_prefix?: string;
4546
4546
  /** @example INV */
4547
4547
  invoice_prefix?: string;
4548
+ /**
4549
+ * @description Next order number to be assigned
4550
+ * @example 1001
4551
+ */
4552
+ next_order_number?: number;
4548
4553
  /** @example false */
4549
4554
  require_email_verification?: boolean;
4550
4555
  /**
@@ -19284,13 +19289,13 @@ interface operations {
19284
19289
  };
19285
19290
  };
19286
19291
  responses: {
19287
- /** @description Account created, tokens returned */
19292
+ /** @description Account created — tokens returned or verification required */
19288
19293
  201: {
19289
19294
  headers: {
19290
19295
  [name: string]: unknown;
19291
19296
  };
19292
19297
  content: {
19293
- "application/json": components["schemas"]["TokenResponse"];
19298
+ "application/json": components["schemas"]["TokenResponse"] | components["schemas"]["MessageResponse"];
19294
19299
  };
19295
19300
  };
19296
19301
  };
@@ -19465,6 +19470,36 @@ interface operations {
19465
19470
  };
19466
19471
  };
19467
19472
  };
19473
+ resendVerificationEmail: {
19474
+ parameters: {
19475
+ query?: never;
19476
+ header?: never;
19477
+ path?: never;
19478
+ cookie?: never;
19479
+ };
19480
+ requestBody?: {
19481
+ content: {
19482
+ "application/json": {
19483
+ /**
19484
+ * Format: email
19485
+ * @example jane@example.com
19486
+ */
19487
+ email: string;
19488
+ };
19489
+ };
19490
+ };
19491
+ responses: {
19492
+ /** @description Verification email sent (if account exists) */
19493
+ 200: {
19494
+ headers: {
19495
+ [name: string]: unknown;
19496
+ };
19497
+ content: {
19498
+ "application/json": components["schemas"]["MessageResponse"];
19499
+ };
19500
+ };
19501
+ };
19502
+ };
19468
19503
  getCustomerProfile: {
19469
19504
  parameters: {
19470
19505
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethydra/sdk",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "Official TypeScript SDK for the Hydra Commerce API",
5
5
  "license": "MIT",
6
6
  "author": "Grant Capital Group",