@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1761162543 → 2.0.0-beta-rc.1761326499

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.
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export declare const VERSION = "2.0.0-alpha.0-rc.1761162543";
4
+ export declare const VERSION = "2.0.0-beta-rc.1761326499";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export const VERSION = "2.0.0-alpha.0-rc.1761162543";
4
+ export const VERSION = "2.0.0-beta-rc.1761326499";
@@ -28,7 +28,7 @@ export type OauthAuthenticateRequest = {
28
28
  */
29
29
  export type UsernamePasswordAuthenticateRequest = {
30
30
  clientKey: string;
31
- email: string;
31
+ username: string;
32
32
  password: string;
33
33
  };
34
34
  /**
@@ -85,7 +85,7 @@ export interface IdentityManager {
85
85
  * ```typescript
86
86
  * const tokens = await identityManager.authenticateWithUsernamePassword({
87
87
  * clientKey: 'your-client-key',
88
- * email: 'user@example.com',
88
+ * username: 'user@example.com',
89
89
  * password: 'secure-password'
90
90
  * });
91
91
  * ```
@@ -72,7 +72,7 @@ export class GraphQLIdentityManager extends GraphQLManager {
72
72
  return __awaiter(this, void 0, void 0, function* () {
73
73
  __classPrivateFieldGet(this, _GraphQLIdentityManager_logger, "f").verbose("exectuting username/password authenticate query...");
74
74
  const authResponse = yield this.handleTransaction(__classPrivateFieldGet(this, _GraphQLIdentityManager_sdk, "f").login({
75
- email: authenticateRequest.email,
75
+ email: authenticateRequest.username,
76
76
  password: authenticateRequest.password,
77
77
  }, {
78
78
  ClientKey: authenticateRequest.clientKey,
@@ -2,7 +2,7 @@ export type OAuthCredentials = {
2
2
  token: string;
3
3
  };
4
4
  export type UserPassCredentials = {
5
- email: string;
5
+ username: string;
6
6
  password: string;
7
7
  };
8
8
  export type AuthCodeCredentials = {
@@ -7,9 +7,9 @@ export function isOauthCredentials(credentials) {
7
7
  return "token" in credentials && hasOnlyKeys(credentials, ["token"]);
8
8
  }
9
9
  export function isUserPassCredentials(credentials) {
10
- return ("email" in credentials &&
10
+ return ("username" in credentials &&
11
11
  "password" in credentials &&
12
- hasOnlyKeys(credentials, ["email", "password"]));
12
+ hasOnlyKeys(credentials, ["username", "password"]));
13
13
  }
14
14
  export function isAuthCodeCredentials(credentials) {
15
15
  return "authCode" in credentials && hasOnlyKeys(credentials, ["authCode"]);
@@ -41,10 +41,10 @@ export class UsernamePasswordStrategy {
41
41
  __classPrivateFieldGet(this, _UsernamePasswordStrategy_logger, "f").verbose("authenticating via UsernamePassword strategy...");
42
42
  const authResults = yield __classPrivateFieldGet(this, _UsernamePasswordStrategy_identityManager, "f").authenticateWithUsernamePassword({
43
43
  clientKey: __classPrivateFieldGet(this, _UsernamePasswordStrategy_sdkConfig, "f").context.clientKey,
44
- email: credentials.email,
44
+ username: credentials.username,
45
45
  password: credentials.password,
46
46
  });
47
- __classPrivateFieldGet(this, _UsernamePasswordStrategy_logger, "f").verbose("finished OAuth authentication");
47
+ __classPrivateFieldGet(this, _UsernamePasswordStrategy_logger, "f").verbose("finished via UsernamePassword authentication");
48
48
  return authResults;
49
49
  });
50
50
  }
@@ -53567,6 +53567,11 @@ export type QueryGetMedicationGroupsArgs = {
53567
53567
  export type QueryGetMedicationKnowledgeArgs = {
53568
53568
  request?: InputMaybe<MedicationKnowledgeRequest>;
53569
53569
  };
53570
+ export type QueryGetMemberConnectionsArgs = {
53571
+ integrationType?: InputMaybe<Array<Scalars['String']['input']>>;
53572
+ status?: InputMaybe<Array<Scalars['String']['input']>>;
53573
+ syncStatus?: InputMaybe<Array<Scalars['String']['input']>>;
53574
+ };
53570
53575
  export type QueryGetOauthUrlArgs = {
53571
53576
  connectionId: Scalars['String']['input'];
53572
53577
  };
@@ -59258,7 +59263,7 @@ export type Security = {
59258
59263
  system?: Maybe<Scalars['String']['output']>;
59259
59264
  };
59260
59265
  export type SecurityConfigInput = {
59261
- passcode: Scalars['Int']['input'];
59266
+ passcode: Scalars['String']['input'];
59262
59267
  };
59263
59268
  /**
59264
59269
  * ServiceRequest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "2.0.0-alpha.0-rc.1761162543",
3
+ "version": "2.0.0-beta-rc.1761326499",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",