@transai/connector-runner-ridder-iq 0.7.0 → 0.8.0

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.
@@ -1,5 +1,6 @@
1
1
  export * from './create-productionorder';
2
2
  export * from './get-latest-productionorder';
3
3
  export * from './get-productionorders';
4
+ export * from './link-document';
4
5
  export * from './types';
5
6
  export * from './upload-document';
@@ -0,0 +1,22 @@
1
+ import { HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
2
+ import { z } from 'zod';
3
+ import { RidderIQActionInterface, RidderIQActionResult } from '../../action.interface';
4
+ declare const schema: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ documents: z.ZodArray<z.ZodObject<{
7
+ location: z.ZodString;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>>;
10
+ }, z.core.$strip>;
11
+ type ParamsType = z.infer<typeof schema>;
12
+ type CreatedDocument = Record<string, unknown> & {
13
+ id: number;
14
+ };
15
+ export declare class LinkProductionOrderDocument implements RidderIQActionInterface<CreatedDocument, ParamsType> {
16
+ #private;
17
+ readonly identifier = "production-orders-link-document";
18
+ readonly identifierField = "id";
19
+ constructor(httpClient: HttpClientSDKInterface);
20
+ run(inputs: ParamsType): Promise<RidderIQActionResult<CreatedDocument>>;
21
+ }
22
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runner-ridder-iq",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },