@intuitionrobotics/google-services 0.47.23 → 0.47.25

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.
@@ -98,10 +98,10 @@ class DialogFlowApi extends ts_common_1.Logger {
98
98
  return (yield this.dialogFlowApi.projects.agent.entityTypes.entities.batchCreate(request)).data;
99
99
  }),
100
100
  createEntityType: (agentProjectId, entityName) => __awaiter(this, void 0, void 0, function* () {
101
- var _b, _c;
101
+ var _a, _b;
102
102
  const pathString = `projects/${agentProjectId}/agent`;
103
103
  const entityTypeList = yield this.dialogFlowApi.projects.agent.entityTypes.list({ parent: pathString });
104
- const foundType = (_c = (_b = entityTypeList.data) === null || _b === void 0 ? void 0 : _b.entityTypes) === null || _c === void 0 ? void 0 : _c.find(entityType => entityType.displayName === entityName);
104
+ const foundType = (_b = (_a = entityTypeList.data) === null || _a === void 0 ? void 0 : _a.entityTypes) === null || _b === void 0 ? void 0 : _b.find(entityType => entityType.displayName === entityName);
105
105
  if (foundType)
106
106
  return foundType.name;
107
107
  const request = {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Module } from "@intuitionrobotics/ts-common";
3
2
  import { PublishOptions } from "@google-cloud/pubsub/build/src/topic";
4
3
  declare class PubSubModule_Class extends Module {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuitionrobotics/google-services",
3
- "version": "0.47.23",
3
+ "version": "0.47.25",
4
4
  "description": "google-services",
5
5
  "keywords": [
6
6
  "IR",