@snagsolutions/sdk 0.1.0-alpha.170 → 0.1.0-alpha.171

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.171 (2025-10-13)
4
+
5
+ Full Changelog: [v0.1.0-alpha.170...v0.1.0-alpha.171](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.170...v0.1.0-alpha.171)
6
+
7
+ ### Features
8
+
9
+ * **api:** open api update ([45b3be5](https://github.com/Snag-Solutions/node-sdk/commit/45b3be5d4ea73629c770fe1024266038674799ec))
10
+
3
11
  ## 0.1.0-alpha.170 (2025-10-13)
4
12
 
5
13
  Full Changelog: [v0.1.0-alpha.169...v0.1.0-alpha.170](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.169...v0.1.0-alpha.170)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snagsolutions/sdk",
3
- "version": "0.1.0-alpha.170",
3
+ "version": "0.1.0-alpha.171",
4
4
  "description": "The official TypeScript library for the Snag Solutions API",
5
5
  "author": "Snag Solutions <dev-feedback@snag-solutions.com>",
6
6
  "types": "./index.d.ts",
@@ -17,16 +17,21 @@ export interface AuthConnectAuthResponse {
17
17
  url: string;
18
18
  }
19
19
  export interface AuthConnectAuthParams {
20
+ /**
21
+ * The email address of the user, this is only required for email auth
22
+ */
23
+ emailAddress?: string;
20
24
  /**
21
25
  * The redirect URL where the user will land after completing the auth
22
26
  */
23
27
  redirect?: string;
24
28
  /**
25
- * The type of response to return
29
+ * The type of response to return, this is not valid for email auth, email auth
30
+ * only supports the redirect flow via verification link.
26
31
  */
27
32
  responseType?: 'redirect' | 'json';
28
33
  /**
29
- * Whether to skip the YouTube channel check
34
+ * Whether to skip the YouTube channel check, this is only value for google auth
30
35
  */
31
36
  skipYTChannelCheck?: string;
32
37
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AC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -40,18 +40,24 @@ export interface AuthConnectAuthResponse {
40
40
  }
41
41
 
42
42
  export interface AuthConnectAuthParams {
43
+ /**
44
+ * The email address of the user, this is only required for email auth
45
+ */
46
+ emailAddress?: string;
47
+
43
48
  /**
44
49
  * The redirect URL where the user will land after completing the auth
45
50
  */
46
51
  redirect?: string;
47
52
 
48
53
  /**
49
- * The type of response to return
54
+ * The type of response to return, this is not valid for email auth, email auth
55
+ * only supports the redirect flow via verification link.
50
56
  */
51
57
  responseType?: 'redirect' | 'json';
52
58
 
53
59
  /**
54
- * Whether to skip the YouTube channel check
60
+ * Whether to skip the YouTube channel check, this is only value for google auth
55
61
  */
56
62
  skipYTChannelCheck?: string;
57
63
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.170'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.171'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.170";
1
+ export declare const VERSION = "0.1.0-alpha.171";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.1.0-alpha.170'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.171'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-alpha.170'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.171'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map