@wenex/sdk 1.0.45 → 1.0.46

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.
@@ -0,0 +1,3 @@
1
+ export declare enum AuthSource {
2
+ google = "google"
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthSource = void 0;
4
+ var AuthSource;
5
+ (function (AuthSource) {
6
+ AuthSource["google"] = "google";
7
+ })(AuthSource || (exports.AuthSource = AuthSource = {}));
8
+ //# sourceMappingURL=auth-source.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth-source.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/auth/auths/auth-source.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+BAAiB,CAAA;AACnB,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}
@@ -1,2 +1,2 @@
1
+ export * from './auth-source.enum';
1
2
  export * from './response-type.enum';
2
- export * from './sso-source.enum';
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./auth-source.enum"), exports);
17
18
  __exportStar(require("./response-type.enum"), exports);
18
- __exportStar(require("./sso-source.enum"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/enums/auth/auths/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/enums/auth/auths/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,uDAAqC"}
@@ -1,6 +1,6 @@
1
1
  import { Scope } from '../../../../core';
2
2
  import { GrantType } from '../../../../core/enums';
3
- import { ResponseType, SsoSource } from '../../../../enums/auth';
3
+ import { ResponseType, AuthSource } from '../../../../enums/auth';
4
4
  export interface AuthenticationRequest {
5
5
  strict?: boolean;
6
6
  grant_type: GrantType;
@@ -16,6 +16,6 @@ export interface AuthenticationRequest {
16
16
  coworkers?: string[];
17
17
  username?: string;
18
18
  password?: string;
19
- source?: SsoSource;
19
+ source?: AuthSource;
20
20
  state?: string;
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenex/sdk",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "Wenex SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,3 +0,0 @@
1
- export declare enum SsoSource {
2
- google = "google"
3
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SsoSource = void 0;
4
- var SsoSource;
5
- (function (SsoSource) {
6
- SsoSource["google"] = "google";
7
- })(SsoSource || (exports.SsoSource = SsoSource = {}));
8
- //# sourceMappingURL=sso-source.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sso-source.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/auth/auths/sso-source.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,8BAAiB,CAAA;AACnB,CAAC,EAFW,SAAS,yBAAT,SAAS,QAEpB"}