@transai/connector-runner-ridder-iq 0.11.3 → 0.11.4
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/CHANGELOG.md +4 -0
- package/DOCUMENTATION.md +51 -0
- package/README.md +51 -0
- package/index.cjs +26 -26
- package/index.cjs.map +4 -4
- package/integrations/connector-runner-ridder-iq/src/actions/action.interface.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/create-action.d.ts +16 -0
- package/integrations/connector-runner-ridder-iq/src/actions/datechanged-retriever.d.ts +16 -0
- package/integrations/connector-runner-ridder-iq/src/actions/feedback-inputs.d.ts +19 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/registeredtimes/create-registeredtimes.d.ts +60 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/registeredtimes/get-registeredtimes.d.ts +6 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/registeredtimes/index.d.ts +2 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/registeredtimes/schemas.d.ts +54 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/registeredtimes/types.d.ts +55 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/index.d.ts +4 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderdetailsworkactivity/get-joborderdetailsworkactivity.d.ts +6 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderdetailsworkactivity/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderdetailsworkactivity/types.d.ts +137 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderdetailworkactivitiesquantityproduced/create-joborderdetailworkactivitiesquantityproduced.d.ts +27 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderdetailworkactivitiesquantityproduced/get-joborderdetailworkactivitiesquantityproduced.d.ts +6 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderdetailworkactivitiesquantityproduced/index.d.ts +2 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderdetailworkactivitiesquantityproduced/schemas.d.ts +21 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderdetailworkactivitiesquantityproduced/types.d.ts +31 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderquantitiesproduced/create-joborderquantitiesproduced.d.ts +41 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderquantitiesproduced/get-joborderquantitiesproduced.d.ts +6 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderquantitiesproduced/index.d.ts +2 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderquantitiesproduced/schemas.d.ts +35 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/joborderquantitiesproduced/types.d.ts +41 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/usedcapacitydetails/get-usedcapacitydetails.d.ts +6 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/usedcapacitydetails/index.d.ts +2 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/usedcapacitydetails/query-usedcapacitydetails.d.ts +22 -0
- package/integrations/connector-runner-ridder-iq/src/actions/production/usedcapacitydetails/types.d.ts +31 -0
- package/integrations/connector-runner-ridder-iq/src/actions/qualitycontrol/deviations/create-deviations.d.ts +122 -0
- package/integrations/connector-runner-ridder-iq/src/actions/qualitycontrol/deviations/get-deviations.d.ts +6 -0
- package/integrations/connector-runner-ridder-iq/src/actions/qualitycontrol/deviations/index.d.ts +2 -0
- package/integrations/connector-runner-ridder-iq/src/actions/qualitycontrol/deviations/schemas.d.ts +116 -0
- package/integrations/connector-runner-ridder-iq/src/actions/qualitycontrol/deviations/types.d.ts +112 -0
- package/integrations/connector-runner-ridder-iq/src/actions/qualitycontrol/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/shopfloor/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/shopfloor/productionnotifications/create-productionnotifications.d.ts +13 -0
- package/integrations/connector-runner-ridder-iq/src/actions/shopfloor/productionnotifications/get-productionnotifications.d.ts +6 -0
- package/integrations/connector-runner-ridder-iq/src/actions/shopfloor/productionnotifications/index.d.ts +2 -0
- package/integrations/connector-runner-ridder-iq/src/actions/shopfloor/productionnotifications/schemas.d.ts +7 -0
- package/integrations/connector-runner-ridder-iq/src/actions/shopfloor/productionnotifications/types.d.ts +17 -0
- package/package.json +1 -1
|
@@ -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
|
+
import { UsedCapacityDetail } from './types';
|
|
5
|
+
declare const inputSchema: z.ZodObject<{
|
|
6
|
+
page: z.ZodDefault<z.ZodInt>;
|
|
7
|
+
size: z.ZodDefault<z.ZodInt>;
|
|
8
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
9
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
10
|
+
includepropertyinfo: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
layoutid: z.ZodOptional<z.ZodInt>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
type QueryInput = z.input<typeof inputSchema>;
|
|
14
|
+
export declare class QueryProductionUsedCapacityDetails implements RidderIQActionInterface<UsedCapacityDetail, QueryInput> {
|
|
15
|
+
#private;
|
|
16
|
+
readonly identifier = "production-usedcapacitydetails-get";
|
|
17
|
+
readonly alwaysArray = true;
|
|
18
|
+
readonly emptyAsArray = true;
|
|
19
|
+
constructor(httpClient: HttpClientSDKInterface);
|
|
20
|
+
run(inputs: QueryInput): Promise<RidderIQActionResult<UsedCapacityDetail>>;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type UsedCapacityDetail = {
|
|
2
|
+
id: number;
|
|
3
|
+
creator?: string | null;
|
|
4
|
+
date?: string | null;
|
|
5
|
+
datechanged?: string | null;
|
|
6
|
+
datecreated?: string | null;
|
|
7
|
+
endtime?: string | null;
|
|
8
|
+
externalkey?: string | null;
|
|
9
|
+
joborderdetailworkactivity?: {
|
|
10
|
+
description?: string | null;
|
|
11
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
12
|
+
id?: number;
|
|
13
|
+
recordtag?: string | null;
|
|
14
|
+
} | null;
|
|
15
|
+
workactivity?: {
|
|
16
|
+
code?: string | null;
|
|
17
|
+
description?: string | null;
|
|
18
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
19
|
+
id?: number;
|
|
20
|
+
recordtag?: string | null;
|
|
21
|
+
} | null;
|
|
22
|
+
workflowstate?: unknown;
|
|
23
|
+
recordlink?: string | null;
|
|
24
|
+
starttime?: string | null;
|
|
25
|
+
usedunits?: number | null;
|
|
26
|
+
userchanged?: string | null;
|
|
27
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
28
|
+
recordtag?: string | null;
|
|
29
|
+
propertyinfo?: unknown;
|
|
30
|
+
layoutData?: unknown;
|
|
31
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { CreateAction } from '../../create-action';
|
|
2
|
+
import { inputSchema } from './schemas';
|
|
3
|
+
import { Deviation } from './types';
|
|
4
|
+
export declare class CreateQualityControlDeviation extends CreateAction<Deviation, typeof inputSchema> {
|
|
5
|
+
readonly identifier = "qualitycontrol-deviations-create";
|
|
6
|
+
readonly endpoint = "/v2/qualitycontrol/deviations";
|
|
7
|
+
readonly inputSchema: import("zod").ZodObject<{
|
|
8
|
+
code: import("zod").ZodString;
|
|
9
|
+
date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodISODateTime>>;
|
|
10
|
+
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
11
|
+
duedate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodISODateTime>>;
|
|
12
|
+
externalkey: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
13
|
+
externalreference: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14
|
+
assembly: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
15
|
+
id: import("zod").ZodInt;
|
|
16
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
17
|
+
id: number;
|
|
18
|
+
}, number | {
|
|
19
|
+
id: number;
|
|
20
|
+
}>>>>;
|
|
21
|
+
assignedto: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
22
|
+
id: import("zod").ZodInt;
|
|
23
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
24
|
+
id: number;
|
|
25
|
+
}, number | {
|
|
26
|
+
id: number;
|
|
27
|
+
}>>>>;
|
|
28
|
+
deviationcausecategory: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
29
|
+
id: import("zod").ZodInt;
|
|
30
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
31
|
+
id: number;
|
|
32
|
+
}, number | {
|
|
33
|
+
id: number;
|
|
34
|
+
}>>>>;
|
|
35
|
+
goodsreceipt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
36
|
+
id: import("zod").ZodInt;
|
|
37
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
38
|
+
id: number;
|
|
39
|
+
}, number | {
|
|
40
|
+
id: number;
|
|
41
|
+
}>>>>;
|
|
42
|
+
item: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
43
|
+
id: import("zod").ZodInt;
|
|
44
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
45
|
+
id: number;
|
|
46
|
+
}, number | {
|
|
47
|
+
id: number;
|
|
48
|
+
}>>>>;
|
|
49
|
+
joborder: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
50
|
+
id: import("zod").ZodInt;
|
|
51
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
52
|
+
id: number;
|
|
53
|
+
}, number | {
|
|
54
|
+
id: number;
|
|
55
|
+
}>>>>;
|
|
56
|
+
joborderdetailworkactivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
57
|
+
id: import("zod").ZodInt;
|
|
58
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
59
|
+
id: number;
|
|
60
|
+
}, number | {
|
|
61
|
+
id: number;
|
|
62
|
+
}>>>>;
|
|
63
|
+
order: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
64
|
+
id: import("zod").ZodInt;
|
|
65
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
66
|
+
id: number;
|
|
67
|
+
}, number | {
|
|
68
|
+
id: number;
|
|
69
|
+
}>>>>;
|
|
70
|
+
pointofdeviation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
71
|
+
id: import("zod").ZodInt;
|
|
72
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
73
|
+
id: number;
|
|
74
|
+
}, number | {
|
|
75
|
+
id: number;
|
|
76
|
+
}>>>>;
|
|
77
|
+
purchaseorder: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
78
|
+
id: import("zod").ZodInt;
|
|
79
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
80
|
+
id: number;
|
|
81
|
+
}, number | {
|
|
82
|
+
id: number;
|
|
83
|
+
}>>>>;
|
|
84
|
+
recoveryjoborder: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
85
|
+
id: import("zod").ZodInt;
|
|
86
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
87
|
+
id: number;
|
|
88
|
+
}, number | {
|
|
89
|
+
id: number;
|
|
90
|
+
}>>>>;
|
|
91
|
+
relation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
92
|
+
id: import("zod").ZodInt;
|
|
93
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
94
|
+
id: number;
|
|
95
|
+
}, number | {
|
|
96
|
+
id: number;
|
|
97
|
+
}>>>>;
|
|
98
|
+
reportedby: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
99
|
+
id: import("zod").ZodInt;
|
|
100
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
101
|
+
id: number;
|
|
102
|
+
}, number | {
|
|
103
|
+
id: number;
|
|
104
|
+
}>>>>;
|
|
105
|
+
serviceobject: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
106
|
+
id: import("zod").ZodInt;
|
|
107
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
108
|
+
id: number;
|
|
109
|
+
}, number | {
|
|
110
|
+
id: number;
|
|
111
|
+
}>>>>;
|
|
112
|
+
shippingorder: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
113
|
+
id: import("zod").ZodInt;
|
|
114
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
115
|
+
id: number;
|
|
116
|
+
}, number | {
|
|
117
|
+
id: number;
|
|
118
|
+
}>>>>;
|
|
119
|
+
quantitydeviation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
120
|
+
additionalproperties: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
121
|
+
}, import("zod/v4/core").$strip>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatechangedRetriever } from '../../datechanged-retriever';
|
|
2
|
+
import { Deviation } from './types';
|
|
3
|
+
export declare class GetQualityControlDeviations extends DatechangedRetriever<Deviation> {
|
|
4
|
+
readonly identifier = "qualitycontrol-deviations-get-all";
|
|
5
|
+
readonly endpoint = "/v2/qualitycontrol/deviations";
|
|
6
|
+
}
|
package/integrations/connector-runner-ridder-iq/src/actions/qualitycontrol/deviations/schemas.d.ts
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const inputSchema: z.ZodObject<{
|
|
3
|
+
code: z.ZodString;
|
|
4
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
duedate: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
7
|
+
externalkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
externalreference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
assembly: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
10
|
+
id: z.ZodInt;
|
|
11
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
12
|
+
id: number;
|
|
13
|
+
}, number | {
|
|
14
|
+
id: number;
|
|
15
|
+
}>>>>;
|
|
16
|
+
assignedto: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
17
|
+
id: z.ZodInt;
|
|
18
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
19
|
+
id: number;
|
|
20
|
+
}, number | {
|
|
21
|
+
id: number;
|
|
22
|
+
}>>>>;
|
|
23
|
+
deviationcausecategory: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
24
|
+
id: z.ZodInt;
|
|
25
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
26
|
+
id: number;
|
|
27
|
+
}, number | {
|
|
28
|
+
id: number;
|
|
29
|
+
}>>>>;
|
|
30
|
+
goodsreceipt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
31
|
+
id: z.ZodInt;
|
|
32
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
33
|
+
id: number;
|
|
34
|
+
}, number | {
|
|
35
|
+
id: number;
|
|
36
|
+
}>>>>;
|
|
37
|
+
item: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
38
|
+
id: z.ZodInt;
|
|
39
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
40
|
+
id: number;
|
|
41
|
+
}, number | {
|
|
42
|
+
id: number;
|
|
43
|
+
}>>>>;
|
|
44
|
+
joborder: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
45
|
+
id: z.ZodInt;
|
|
46
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
47
|
+
id: number;
|
|
48
|
+
}, number | {
|
|
49
|
+
id: number;
|
|
50
|
+
}>>>>;
|
|
51
|
+
joborderdetailworkactivity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
52
|
+
id: z.ZodInt;
|
|
53
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
54
|
+
id: number;
|
|
55
|
+
}, number | {
|
|
56
|
+
id: number;
|
|
57
|
+
}>>>>;
|
|
58
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
59
|
+
id: z.ZodInt;
|
|
60
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
61
|
+
id: number;
|
|
62
|
+
}, number | {
|
|
63
|
+
id: number;
|
|
64
|
+
}>>>>;
|
|
65
|
+
pointofdeviation: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
66
|
+
id: z.ZodInt;
|
|
67
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
68
|
+
id: number;
|
|
69
|
+
}, number | {
|
|
70
|
+
id: number;
|
|
71
|
+
}>>>>;
|
|
72
|
+
purchaseorder: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
73
|
+
id: z.ZodInt;
|
|
74
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
75
|
+
id: number;
|
|
76
|
+
}, number | {
|
|
77
|
+
id: number;
|
|
78
|
+
}>>>>;
|
|
79
|
+
recoveryjoborder: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
80
|
+
id: z.ZodInt;
|
|
81
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
82
|
+
id: number;
|
|
83
|
+
}, number | {
|
|
84
|
+
id: number;
|
|
85
|
+
}>>>>;
|
|
86
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
87
|
+
id: z.ZodInt;
|
|
88
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
89
|
+
id: number;
|
|
90
|
+
}, number | {
|
|
91
|
+
id: number;
|
|
92
|
+
}>>>>;
|
|
93
|
+
reportedby: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
94
|
+
id: z.ZodInt;
|
|
95
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
96
|
+
id: number;
|
|
97
|
+
}, number | {
|
|
98
|
+
id: number;
|
|
99
|
+
}>>>>;
|
|
100
|
+
serviceobject: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
101
|
+
id: z.ZodInt;
|
|
102
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
103
|
+
id: number;
|
|
104
|
+
}, number | {
|
|
105
|
+
id: number;
|
|
106
|
+
}>>>>;
|
|
107
|
+
shippingorder: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
108
|
+
id: z.ZodInt;
|
|
109
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
110
|
+
id: number;
|
|
111
|
+
}, number | {
|
|
112
|
+
id: number;
|
|
113
|
+
}>>>>;
|
|
114
|
+
quantitydeviation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
115
|
+
additionalproperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
116
|
+
}, z.core.$strip>;
|
package/integrations/connector-runner-ridder-iq/src/actions/qualitycontrol/deviations/types.d.ts
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export type Deviation = {
|
|
2
|
+
id: number;
|
|
3
|
+
code?: string | null;
|
|
4
|
+
creator?: string | null;
|
|
5
|
+
date?: string | null;
|
|
6
|
+
datechanged?: string | null;
|
|
7
|
+
datecreated?: string | null;
|
|
8
|
+
datedone?: string | null;
|
|
9
|
+
description?: string | null;
|
|
10
|
+
duedate?: string | null;
|
|
11
|
+
externalkey?: string | null;
|
|
12
|
+
externalreference?: string | null;
|
|
13
|
+
assembly?: {
|
|
14
|
+
code?: string | null;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
17
|
+
id?: number;
|
|
18
|
+
recordtag?: string | null;
|
|
19
|
+
} | null;
|
|
20
|
+
assignedto?: {
|
|
21
|
+
code?: string | null;
|
|
22
|
+
id?: number;
|
|
23
|
+
recordtag?: string | null;
|
|
24
|
+
} | null;
|
|
25
|
+
deviationcausecategory?: {
|
|
26
|
+
description?: string | null;
|
|
27
|
+
id?: number;
|
|
28
|
+
recordtag?: string | null;
|
|
29
|
+
} | null;
|
|
30
|
+
doneby?: {
|
|
31
|
+
code?: string | null;
|
|
32
|
+
id?: number;
|
|
33
|
+
recordtag?: string | null;
|
|
34
|
+
} | null;
|
|
35
|
+
goodsreceipt?: {
|
|
36
|
+
id?: number;
|
|
37
|
+
recordtag?: string | null;
|
|
38
|
+
} | null;
|
|
39
|
+
item?: {
|
|
40
|
+
code?: string | null;
|
|
41
|
+
description?: string | null;
|
|
42
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
43
|
+
id?: number;
|
|
44
|
+
recordtag?: string | null;
|
|
45
|
+
} | null;
|
|
46
|
+
joborder?: {
|
|
47
|
+
description?: string | null;
|
|
48
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
49
|
+
id?: number;
|
|
50
|
+
recordtag?: string | null;
|
|
51
|
+
} | null;
|
|
52
|
+
joborderdetailworkactivity?: {
|
|
53
|
+
description?: string | null;
|
|
54
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
55
|
+
id?: number;
|
|
56
|
+
recordtag?: string | null;
|
|
57
|
+
} | null;
|
|
58
|
+
order?: {
|
|
59
|
+
description?: string | null;
|
|
60
|
+
id?: number;
|
|
61
|
+
recordtag?: string | null;
|
|
62
|
+
} | null;
|
|
63
|
+
pointofdeviation?: {
|
|
64
|
+
description?: string | null;
|
|
65
|
+
id?: number;
|
|
66
|
+
recordtag?: string | null;
|
|
67
|
+
} | null;
|
|
68
|
+
purchaseorder?: {
|
|
69
|
+
id?: number;
|
|
70
|
+
recordtag?: string | null;
|
|
71
|
+
} | null;
|
|
72
|
+
recoveryjoborder?: {
|
|
73
|
+
description?: string | null;
|
|
74
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
75
|
+
id?: number;
|
|
76
|
+
recordtag?: string | null;
|
|
77
|
+
} | null;
|
|
78
|
+
relation?: {
|
|
79
|
+
code?: string | null;
|
|
80
|
+
name?: string | null;
|
|
81
|
+
id?: number;
|
|
82
|
+
recordtag?: string | null;
|
|
83
|
+
} | null;
|
|
84
|
+
reportedby?: {
|
|
85
|
+
code?: string | null;
|
|
86
|
+
id?: number;
|
|
87
|
+
recordtag?: string | null;
|
|
88
|
+
} | null;
|
|
89
|
+
serviceobject?: {
|
|
90
|
+
description?: string | null;
|
|
91
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
92
|
+
id?: number;
|
|
93
|
+
recordtag?: string | null;
|
|
94
|
+
} | null;
|
|
95
|
+
shippingorder?: {
|
|
96
|
+
description?: string | null;
|
|
97
|
+
id?: number;
|
|
98
|
+
recordtag?: string | null;
|
|
99
|
+
} | null;
|
|
100
|
+
workflowstate?: unknown;
|
|
101
|
+
cause?: string | null;
|
|
102
|
+
problemdescription?: string | null;
|
|
103
|
+
structuralsolution?: string | null;
|
|
104
|
+
temporarysolution?: string | null;
|
|
105
|
+
quantitydeviation?: number | null;
|
|
106
|
+
recordlink?: string | null;
|
|
107
|
+
userchanged?: string | null;
|
|
108
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
109
|
+
recordtag?: string | null;
|
|
110
|
+
propertyinfo?: unknown;
|
|
111
|
+
layoutData?: unknown;
|
|
112
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './deviations';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './productionnotifications';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreateAction } from '../../create-action';
|
|
2
|
+
import { inputSchema } from './schemas';
|
|
3
|
+
import { ProductionNotification } from './types';
|
|
4
|
+
export declare class CreateShopfloorProductionNotification extends CreateAction<ProductionNotification, typeof inputSchema> {
|
|
5
|
+
readonly identifier = "shopfloor-productionnotifications-create";
|
|
6
|
+
readonly endpoint = "/v2/shopfloor/productionnotifications";
|
|
7
|
+
readonly inputSchema: import("zod").ZodObject<{
|
|
8
|
+
externalkey: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
9
|
+
processed: import("zod").ZodBoolean;
|
|
10
|
+
productionnotificationid: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodInt>>;
|
|
11
|
+
additionalproperties: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
12
|
+
}, import("zod/v4/core").$strip>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatechangedRetriever } from '../../datechanged-retriever';
|
|
2
|
+
import { ProductionNotification } from './types';
|
|
3
|
+
export declare class GetShopfloorProductionNotifications extends DatechangedRetriever<ProductionNotification> {
|
|
4
|
+
readonly identifier = "shopfloor-productionnotifications-get-all";
|
|
5
|
+
readonly endpoint = "/v2/shopfloor/productionnotifications";
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const inputSchema: z.ZodObject<{
|
|
3
|
+
externalkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
processed: z.ZodBoolean;
|
|
5
|
+
productionnotificationid: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6
|
+
additionalproperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type ProductionNotification = {
|
|
2
|
+
id: number;
|
|
3
|
+
creator?: string | null;
|
|
4
|
+
datechanged?: string | null;
|
|
5
|
+
datecreated?: string | null;
|
|
6
|
+
externalkey?: string | null;
|
|
7
|
+
workflowstate?: unknown;
|
|
8
|
+
productionnotification?: string | null;
|
|
9
|
+
processed?: boolean | null;
|
|
10
|
+
productionnotificationid?: number | null;
|
|
11
|
+
recordlink?: string | null;
|
|
12
|
+
userchanged?: string | null;
|
|
13
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
14
|
+
recordtag?: string | null;
|
|
15
|
+
propertyinfo?: unknown;
|
|
16
|
+
layoutData?: unknown;
|
|
17
|
+
};
|