@bitblit/ratchet-aws 6.1.225-alpha → 6.1.226-alpha

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 (33) hide show
  1. package/lib/environment/model/ratchet-environment-common-third-party-config.d.ts +12 -0
  2. package/lib/environment/model/ratchet-environment-common-third-party-config.js +2 -0
  3. package/lib/environment/model/ratchet-environment-common-third-party-config.js.map +1 -0
  4. package/lib/environment/model/{ratchet-environment-third-party-config.d.ts → ratchet-environment-generic-third-party-config.d.ts} +1 -1
  5. package/lib/environment/model/ratchet-environment-generic-third-party-config.js +2 -0
  6. package/lib/environment/model/ratchet-environment-generic-third-party-config.js.map +1 -0
  7. package/lib/environment/model/ratchet-environment.d.ts +2 -2
  8. package/lib/environment/model/third-party/ratchet-environment-third-party-brevo-config.d.ts +7 -0
  9. package/lib/environment/model/third-party/ratchet-environment-third-party-brevo-config.js +2 -0
  10. package/lib/environment/model/third-party/ratchet-environment-third-party-brevo-config.js.map +1 -0
  11. package/lib/environment/model/third-party/ratchet-environment-third-party-google-config.d.ts +13 -0
  12. package/lib/environment/model/third-party/ratchet-environment-third-party-google-config.js +2 -0
  13. package/lib/environment/model/third-party/ratchet-environment-third-party-google-config.js.map +1 -0
  14. package/lib/environment/model/third-party/ratchet-environment-third-party-shopify-config.d.ts +4 -0
  15. package/lib/environment/model/third-party/ratchet-environment-third-party-shopify-config.js +2 -0
  16. package/lib/environment/model/third-party/ratchet-environment-third-party-shopify-config.js.map +1 -0
  17. package/lib/environment/model/third-party/ratchet-environment-third-party-stripe-config.d.ts +4 -0
  18. package/lib/environment/model/third-party/ratchet-environment-third-party-stripe-config.js +2 -0
  19. package/lib/environment/model/third-party/ratchet-environment-third-party-stripe-config.js.map +1 -0
  20. package/lib/environment/model/third-party/ratchet-environment-third-party-twilio-config.d.ts +6 -0
  21. package/lib/environment/model/third-party/ratchet-environment-third-party-twilio-config.js +2 -0
  22. package/lib/environment/model/third-party/ratchet-environment-third-party-twilio-config.js.map +1 -0
  23. package/package.json +4 -4
  24. package/src/environment/model/ratchet-environment-common-third-party-config.ts +21 -0
  25. package/src/environment/model/{ratchet-environment-third-party-config.ts → ratchet-environment-generic-third-party-config.ts} +1 -1
  26. package/src/environment/model/ratchet-environment.ts +4 -2
  27. package/src/environment/model/third-party/ratchet-environment-third-party-brevo-config.ts +8 -0
  28. package/src/environment/model/third-party/ratchet-environment-third-party-google-config.ts +14 -0
  29. package/src/environment/model/third-party/ratchet-environment-third-party-shopify-config.ts +5 -0
  30. package/src/environment/model/third-party/ratchet-environment-third-party-stripe-config.ts +5 -0
  31. package/src/environment/model/third-party/ratchet-environment-third-party-twilio-config.ts +7 -0
  32. package/lib/environment/model/ratchet-environment-third-party-config.js +0 -2
  33. package/lib/environment/model/ratchet-environment-third-party-config.js.map +0 -1
@@ -0,0 +1,12 @@
1
+ import { RatchetEnvironmentThirdPartyBrevoConfig } from "./third-party/ratchet-environment-third-party-brevo-config.ts";
2
+ import { RatchetEnvironmentThirdPartyGoogleConfig } from "./third-party/ratchet-environment-third-party-google-config.ts";
3
+ import { RatchetEnvironmentThirdPartyShopifyConfig } from "./third-party/ratchet-environment-third-party-shopify-config.ts";
4
+ import { RatchetEnvironmentThirdPartyStripeConfig } from "./third-party/ratchet-environment-third-party-stripe-config.ts";
5
+ import { RatchetEnvironmentThirdPartyTwilioConfig } from "./third-party/ratchet-environment-third-party-twilio-config.ts";
6
+ export interface RatchetEnvironmentCommonThirdPartyConfig {
7
+ twilio?: RatchetEnvironmentThirdPartyTwilioConfig;
8
+ brevo?: RatchetEnvironmentThirdPartyBrevoConfig;
9
+ stripe?: RatchetEnvironmentThirdPartyStripeConfig;
10
+ googleAuth?: RatchetEnvironmentThirdPartyGoogleConfig;
11
+ shopify?: RatchetEnvironmentThirdPartyShopifyConfig;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ratchet-environment-common-third-party-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ratchet-environment-common-third-party-config.js","sourceRoot":"","sources":["../../../src/environment/model/ratchet-environment-common-third-party-config.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { RatchetEnvironmentDynamicProperty } from "./ratchet-environment-dynamic-property.ts";
2
- export interface RatchetEnvironmentThirdPartyConfig {
2
+ export interface RatchetEnvironmentGenericThirdPartyConfig {
3
3
  label: string;
4
4
  data: RatchetEnvironmentDynamicProperty[];
5
5
  }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ratchet-environment-generic-third-party-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ratchet-environment-generic-third-party-config.js","sourceRoot":"","sources":["../../../src/environment/model/ratchet-environment-generic-third-party-config.ts"],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
1
  import { RatchetEnvironmentDynamicProperty } from "./ratchet-environment-dynamic-property.ts";
2
- import { RatchetEnvironmentThirdPartyConfig } from "./ratchet-environment-third-party-config.ts";
2
+ import { RatchetEnvironmentGenericThirdPartyConfig } from "./ratchet-environment-generic-third-party-config.ts";
3
3
  export interface RatchetEnvironment {
4
4
  encryptionKey?: string;
5
5
  historicalDecryptionKeys?: string[];
6
6
  database?: RatchetEnvironmentDynamicProperty[];
7
- thirdParty?: RatchetEnvironmentThirdPartyConfig[];
7
+ otherThirdParty?: RatchetEnvironmentGenericThirdPartyConfig[];
8
8
  }
@@ -0,0 +1,7 @@
1
+ export interface RatchetEnvironmentThirdPartyBrevoConfig {
2
+ smtpServer: string;
3
+ smtpPort: number;
4
+ smtpKey: string;
5
+ username: string;
6
+ apiKey: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ratchet-environment-third-party-brevo-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ratchet-environment-third-party-brevo-config.js","sourceRoot":"","sources":["../../../../src/environment/model/third-party/ratchet-environment-third-party-brevo-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export interface RatchetEnvironmentThirdPartyGoogleConfig {
2
+ type: string;
3
+ projectId: string;
4
+ privateKeyId: string;
5
+ privateKey: string;
6
+ clientEmail: string;
7
+ clientId: string;
8
+ authUri: string;
9
+ tokenUri: string;
10
+ authProviderX509CertUrl: string;
11
+ clientX509CertUrl: string;
12
+ universeDomain: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ratchet-environment-third-party-google-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ratchet-environment-third-party-google-config.js","sourceRoot":"","sources":["../../../../src/environment/model/third-party/ratchet-environment-third-party-google-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface RatchetEnvironmentThirdPartyShopifyConfig {
2
+ clientId: string;
3
+ secret: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ratchet-environment-third-party-shopify-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ratchet-environment-third-party-shopify-config.js","sourceRoot":"","sources":["../../../../src/environment/model/third-party/ratchet-environment-third-party-shopify-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface RatchetEnvironmentThirdPartyStripeConfig {
2
+ publicKey: string;
3
+ secretKey: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ratchet-environment-third-party-stripe-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ratchet-environment-third-party-stripe-config.js","sourceRoot":"","sources":["../../../../src/environment/model/third-party/ratchet-environment-third-party-stripe-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface RatchetEnvironmentThirdPartyTwilioConfig {
2
+ accountSID: string;
3
+ authToken: string;
4
+ verifyServiceSID: string;
5
+ outBoundNumber: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ratchet-environment-third-party-twilio-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ratchet-environment-third-party-twilio-config.js","sourceRoot":"","sources":["../../../../src/environment/model/third-party/ratchet-environment-third-party-twilio-config.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitblit/ratchet-aws",
3
- "version": "6.1.225-alpha",
3
+ "version": "6.1.226-alpha",
4
4
  "description": "Common tools for use with AWS browser and node",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "license": "Apache-2.0",
54
54
  "dependencies": {
55
- "@bitblit/ratchet-common": "6.1.225-alpha"
55
+ "@bitblit/ratchet-common": "6.1.226-alpha"
56
56
  },
57
57
  "optionalDependencies": {
58
58
  "@aws-sdk/client-athena": "3.1095.0",
@@ -105,7 +105,7 @@
105
105
  "@aws-sdk/s3-request-presigner": "^3.1095.0",
106
106
  "@aws-sdk/types": "^3.974.2",
107
107
  "@aws-sdk/util-dynamodb": "^3.996.2",
108
- "@bitblit/ratchet-common": "6.1.225-alpha",
108
+ "@bitblit/ratchet-common": "6.1.226-alpha",
109
109
  "@smithy/types": "^4.14.2",
110
110
  "@smithy/abort-controller": "^4.3.3",
111
111
  "@smithy/smithy-client": "^4.14.14",
@@ -183,7 +183,7 @@
183
183
  }
184
184
  },
185
185
  "devDependencies": {
186
- "@bitblit/ratchet-node-only": "6.1.225-alpha",
186
+ "@bitblit/ratchet-node-only": "6.1.226-alpha",
187
187
  "@types/aws-lambda": "8.10.162",
188
188
  "aws-sdk-client-mock": "4.1.0"
189
189
  },
@@ -0,0 +1,21 @@
1
+ import { RatchetEnvironmentThirdPartyBrevoConfig } from "./third-party/ratchet-environment-third-party-brevo-config.ts";
2
+ import {
3
+ RatchetEnvironmentThirdPartyGoogleConfig
4
+ } from "./third-party/ratchet-environment-third-party-google-config.ts";
5
+ import {
6
+ RatchetEnvironmentThirdPartyShopifyConfig
7
+ } from "./third-party/ratchet-environment-third-party-shopify-config.ts";
8
+ import {
9
+ RatchetEnvironmentThirdPartyStripeConfig
10
+ } from "./third-party/ratchet-environment-third-party-stripe-config.ts";
11
+ import {
12
+ RatchetEnvironmentThirdPartyTwilioConfig
13
+ } from "./third-party/ratchet-environment-third-party-twilio-config.ts";
14
+
15
+ export interface RatchetEnvironmentCommonThirdPartyConfig {
16
+ twilio?: RatchetEnvironmentThirdPartyTwilioConfig;
17
+ brevo?: RatchetEnvironmentThirdPartyBrevoConfig;
18
+ stripe?: RatchetEnvironmentThirdPartyStripeConfig;
19
+ googleAuth?: RatchetEnvironmentThirdPartyGoogleConfig;
20
+ shopify?: RatchetEnvironmentThirdPartyShopifyConfig;
21
+ }
@@ -1,6 +1,6 @@
1
1
  import { RatchetEnvironmentDynamicProperty } from "./ratchet-environment-dynamic-property.ts";
2
2
 
3
- export interface RatchetEnvironmentThirdPartyConfig {
3
+ export interface RatchetEnvironmentGenericThirdPartyConfig {
4
4
  label: string;
5
5
  data: RatchetEnvironmentDynamicProperty[];
6
6
  }
@@ -1,9 +1,11 @@
1
1
  import { RatchetEnvironmentDynamicProperty } from "./ratchet-environment-dynamic-property.ts";
2
- import { RatchetEnvironmentThirdPartyConfig } from "./ratchet-environment-third-party-config.ts";
2
+ import { RatchetEnvironmentGenericThirdPartyConfig } from "./ratchet-environment-generic-third-party-config.ts";
3
3
 
4
4
  export interface RatchetEnvironment {
5
5
  encryptionKey?: string;
6
6
  historicalDecryptionKeys?: string[];
7
7
  database?: RatchetEnvironmentDynamicProperty[];
8
- thirdParty?: RatchetEnvironmentThirdPartyConfig[];
8
+
9
+
10
+ otherThirdParty?: RatchetEnvironmentGenericThirdPartyConfig[];
9
11
  }
@@ -0,0 +1,8 @@
1
+
2
+ export interface RatchetEnvironmentThirdPartyBrevoConfig {
3
+ smtpServer: string;
4
+ smtpPort: number;
5
+ smtpKey: string;
6
+ username: string;
7
+ apiKey: string;
8
+ }
@@ -0,0 +1,14 @@
1
+
2
+ export interface RatchetEnvironmentThirdPartyGoogleConfig {
3
+ type: string;
4
+ projectId: string;
5
+ privateKeyId: string;
6
+ privateKey: string;
7
+ clientEmail: string;
8
+ clientId: string;
9
+ authUri: string;
10
+ tokenUri: string;
11
+ authProviderX509CertUrl: string;
12
+ clientX509CertUrl: string;
13
+ universeDomain: string;
14
+ }
@@ -0,0 +1,5 @@
1
+
2
+ export interface RatchetEnvironmentThirdPartyShopifyConfig {
3
+ clientId: string;
4
+ secret: string;
5
+ }
@@ -0,0 +1,5 @@
1
+
2
+ export interface RatchetEnvironmentThirdPartyStripeConfig {
3
+ publicKey: string;
4
+ secretKey: string;
5
+ }
@@ -0,0 +1,7 @@
1
+
2
+ export interface RatchetEnvironmentThirdPartyTwilioConfig {
3
+ accountSID: string;
4
+ authToken: string;
5
+ verifyServiceSID: string;
6
+ outBoundNumber: string;
7
+ }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ratchet-environment-third-party-config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ratchet-environment-third-party-config.js","sourceRoot":"","sources":["../../../src/environment/model/ratchet-environment-third-party-config.ts"],"names":[],"mappings":""}