@lucaapp/service-utils 5.14.1 → 5.15.1

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.
@@ -162,6 +162,7 @@ options, tags, debug) => {
162
162
  headers: headersSchema ? [headersSchema] : [],
163
163
  },
164
164
  responses: responseMap,
165
+ ...(options.operationId && { operationId: options.operationId }),
165
166
  });
166
167
  };
167
168
  exports.registerEndpoint = registerEndpoint;
@@ -20,4 +20,5 @@ export type EndpointOptions<TResponseSchemas extends ReadonlyArray<EndpointRespo
20
20
  middlewares?: TMiddlewares;
21
21
  responses: TResponseSchemas;
22
22
  errors?: Record<string, number>;
23
+ operationId?: string;
23
24
  };
@@ -6,6 +6,7 @@ export type OperatorDevice = {
6
6
  role: OperatorDeviceRole;
7
7
  operatorId: string;
8
8
  locationId: string | null;
9
+ terminalId: string | null;
9
10
  createdAt: Date;
10
11
  updatedAt: Date;
11
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucaapp/service-utils",
3
- "version": "5.14.1",
3
+ "version": "5.15.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [