@xapp/ovai-lib 1.45.62 → 1.45.63

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/lib/OVAIApp.d.ts CHANGED
@@ -4,6 +4,7 @@ import { BusinessHours } from "./BusinessHours";
4
4
  import { IPRights } from "./Organization";
5
5
  import { TemplateType } from "./Template";
6
6
  import { OpportunityAlert } from "./OpportunityAlerts";
7
+ import { PlaceDescription } from "./PlaceDescription";
7
8
  /**
8
9
  * Extension of Stentor App with necessary information for business operations.
9
10
  */
@@ -16,12 +17,25 @@ export interface OVAIApp extends App {
16
17
  * The ID of the organization the app belongs to
17
18
  */
18
19
  organizationId: string;
20
+ /**
21
+ * Readonly, used when assuming roles on a customer's AWS accounts.
22
+ */
23
+ externalId?: string;
19
24
  /**
20
25
  * An ID that references to an external system.
21
26
  *
22
27
  * This can be used during partner integrations to link a stentor app with one in the partner's system.
23
28
  */
24
- externalId?: string;
29
+ referenceId?: {
30
+ /**
31
+ * The partner service
32
+ */
33
+ service: string;
34
+ /**
35
+ * The ID in the partner's service
36
+ */
37
+ id: string;
38
+ };
25
39
  /**
26
40
  * Type of App
27
41
  */
@@ -43,9 +57,9 @@ export interface OVAIApp extends App {
43
57
  */
44
58
  website?: string;
45
59
  /**
46
- * Google PlaceIds that correspond with the business.
60
+ * Places associated with the application.
47
61
  */
48
- placeId?: string[];
62
+ places?: PlaceDescription[];
49
63
  /**
50
64
  * Opportunity Alerts, notifications for potentially opportunities.
51
65
  */
@@ -0,0 +1,15 @@
1
+ /*! Copyright (c) 2023, XAPP AI */
2
+ export interface PlaceDescription {
3
+ /**
4
+ * The placeId within Google Place API
5
+ */
6
+ placeId?: string;
7
+ /**
8
+ * The address string, pulled from `adr_address` of the Place API, in the adr microformat.
9
+ */
10
+ address?: string;
11
+ /**
12
+ * If the location is the default.
13
+ */
14
+ default?: boolean;
15
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /*! Copyright (c) 2023, XAPP AI */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=PlaceDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlaceDescription.js","sourceRoot":"","sources":["../src/PlaceDescription.ts"],"names":[],"mappings":";AAAA,kCAAkC"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.45.62",
7
+ "version": "1.45.63",
8
8
  "description": "Shared library for OVAI",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -24,8 +24,8 @@
24
24
  "typescript": "4.9.5"
25
25
  },
26
26
  "dependencies": {
27
- "@xapp/stentor-handler-media": "1.45.62",
28
- "@xapp/stentor-media-manager": "1.45.62"
27
+ "@xapp/stentor-handler-media": "1.45.63",
28
+ "@xapp/stentor-media-manager": "1.45.63"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "stentor-guards": "1.x",
@@ -37,5 +37,5 @@
37
37
  "clean": "rm -rf ./lib/*",
38
38
  "test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
39
39
  },
40
- "gitHead": "aadf696ff99601aace5581872a41fd6d0ef5b7c1"
40
+ "gitHead": "c72d4cb3aa803e422e5659c464ad970f521eb796"
41
41
  }