@metriport/commonwell-sdk 4.3.2 → 4.3.3

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/package.json +2 -2
  2. package/lib/tst.d.ts +0 -54
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metriport/commonwell-sdk",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "description": "SDK to simplify CommonWell API integration - by Metriport Inc.",
5
5
  "author": "Metriport Inc. <contact@metriport.com>",
6
6
  "homepage": "https://metriport.com/",
@@ -51,5 +51,5 @@
51
51
  "prettier": "^2.8.3",
52
52
  "typescript": "^4.9.5"
53
53
  },
54
- "gitHead": "045af199cd150ea1065790d1116820dfadc304f2"
54
+ "gitHead": "fa163a680785b22b7d85e5cd0d3f5109e28dd6ee"
55
55
  }
package/lib/tst.d.ts DELETED
@@ -1,54 +0,0 @@
1
- import { RequestMetadata } from "./client/commonwell";
2
- export declare const getEnvVar: (varName: string) => string | undefined;
3
- export declare const getEnvVarOrFail: (varName: string) => string;
4
- export declare class Config {
5
- static readonly PROD_ENV = "production";
6
- static readonly DEV_ENV = "dev";
7
- static readonly SANDBOX_ENV = "sandbox";
8
- static readonly STAGING_ENV = "staging";
9
- static readonly SANDBOX_USER_LIMIT = 10;
10
- static isCloudEnv(): boolean;
11
- static getEnvType(): string;
12
- static isProdEnv(): boolean;
13
- static isSandbox(): boolean;
14
- static isStaging(): boolean;
15
- static getVersion(): string | undefined;
16
- static getSlackAlertUrl(): string | undefined;
17
- static getSlackNotificationUrl(): string | undefined;
18
- static getSentryDSN(): string | undefined;
19
- static getConnectWidgetUrl(): string;
20
- static getConnectRedirectUrl(): string;
21
- static getApiUrl(): string;
22
- static getCronometerClientId(): string;
23
- static getCronometerClientSecret(): string;
24
- static getGarminConsumerKey(): string;
25
- static getGarminConsumerSecret(): string;
26
- static getOuraClientId(): string;
27
- static getOuraClientSecret(): string;
28
- static getDexcomClientId(): string;
29
- static getDexcomClientSecret(): string;
30
- static getFitbitClientId(): string;
31
- static getFitbitClientSecret(): string;
32
- static getGoogleClientId(): string;
33
- static getGoogleClientSecret(): string;
34
- static getWhoopClientId(): string;
35
- static getWhoopClientSecret(): string;
36
- static getWithingsClientId(): string;
37
- static getWithingsClientSecret(): string;
38
- static getUsageUrl(): string | undefined;
39
- static getFHIRServerUrl(): string | undefined;
40
- static getSystemRootOID(): string;
41
- static getGatewayEndpoint(): string;
42
- static getGatewayAuthorizationServerEndpoint(): string;
43
- static getGatewayAuthorizationClientId(): string;
44
- static getGatewayAuthorizationClientSecret(): string;
45
- static getMetriportPrivateKey(): string;
46
- static getMetriportCert(): string;
47
- static getMemberManagementPrivateKey(): string;
48
- static getMemberManagementCert(): string;
49
- static getMetriportOrgName(): string;
50
- static getMemberManagementOID(): string;
51
- static getPostHogApiKey(): string | undefined;
52
- }
53
- export type OrgRequestMetadataCreate = Omit<RequestMetadata, "npi" | "role" | "purposeOfUse" | "subjectId"> & Required<Pick<RequestMetadata, "npi">> & Partial<Pick<RequestMetadata, "role" | "purposeOfUse">>;
54
- export declare function organizationQueryMeta(orgName: string, meta: OrgRequestMetadataCreate): RequestMetadata;