@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
|
@@ -9,6 +9,7 @@ export interface RidderIQActionInterface<ResultType = Record<string, unknown>, P
|
|
|
9
9
|
readonly retriever?: boolean;
|
|
10
10
|
readonly identifierField?: string;
|
|
11
11
|
readonly alwaysArray?: boolean;
|
|
12
|
+
readonly emptyAsArray?: boolean;
|
|
12
13
|
readonly nextActions?: Array<RidderIQActionInterfaceConstructor | {
|
|
13
14
|
action: RidderIQActionInterfaceConstructor;
|
|
14
15
|
selector: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { RidderIQActionInterface, RidderIQActionResult } from './action.interface';
|
|
4
|
+
/**
|
|
5
|
+
* Action that validates its inputs and POSTs them to one RidderIQ endpoint.
|
|
6
|
+
* Subclasses only name the action, the endpoint and the input schema.
|
|
7
|
+
*/
|
|
8
|
+
export declare abstract class CreateAction<RecordType, InputSchema extends z.ZodType<Record<string, unknown>>> implements RidderIQActionInterface<RecordType, z.input<InputSchema>> {
|
|
9
|
+
#private;
|
|
10
|
+
abstract readonly identifier: string;
|
|
11
|
+
abstract readonly endpoint: string;
|
|
12
|
+
abstract readonly inputSchema: InputSchema;
|
|
13
|
+
readonly identifierField = "id";
|
|
14
|
+
constructor(httpClient: HttpClientSDKInterface);
|
|
15
|
+
run(inputs: z.input<InputSchema>): Promise<RidderIQActionResult<RecordType>>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ConnectorSDKInterface, HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
|
|
2
|
+
import { RidderIQActionInterface, RidderIQActionResult } from './action.interface';
|
|
3
|
+
import { DatechangedParams, DatechangedRecord } from './retrieve-by-datechanged';
|
|
4
|
+
/**
|
|
5
|
+
* Retriever that syncs one RidderIQ list endpoint by datechanged. Subclasses
|
|
6
|
+
* only name the action and the endpoint.
|
|
7
|
+
*/
|
|
8
|
+
export declare abstract class DatechangedRetriever<RecordType extends DatechangedRecord> implements RidderIQActionInterface<RecordType, DatechangedParams> {
|
|
9
|
+
#private;
|
|
10
|
+
abstract readonly identifier: string;
|
|
11
|
+
abstract readonly endpoint: string;
|
|
12
|
+
readonly retriever = true;
|
|
13
|
+
readonly identifierField = "id";
|
|
14
|
+
constructor(httpClient: HttpClientSDKInterface, connectorSDK: ConnectorSDKInterface);
|
|
15
|
+
run(inputs: DatechangedParams): Promise<RidderIQActionResult<RecordType>>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const feedbackReference: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
3
|
+
id: z.ZodInt;
|
|
4
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
5
|
+
id: number;
|
|
6
|
+
}, number | {
|
|
7
|
+
id: number;
|
|
8
|
+
}>>;
|
|
9
|
+
export declare const feedbackDateTime: z.ZodISODateTime;
|
|
10
|
+
export declare const feedbackChoice: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
11
|
+
choicenumber: z.ZodInt;
|
|
12
|
+
choicetext: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
14
|
+
choicenumber: number;
|
|
15
|
+
choicetext?: string | undefined;
|
|
16
|
+
}, number | {
|
|
17
|
+
choicenumber: number;
|
|
18
|
+
choicetext?: string | undefined;
|
|
19
|
+
}>>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CreateAction } from '../../create-action';
|
|
2
|
+
import { inputSchema } from './schemas';
|
|
3
|
+
import { RegisteredTime } from './types';
|
|
4
|
+
export declare class CreateHoursRegisteredTime extends CreateAction<RegisteredTime, typeof inputSchema> {
|
|
5
|
+
readonly identifier = "hours-registeredtimes-create";
|
|
6
|
+
readonly endpoint = "/v2/hours/registeredtimes";
|
|
7
|
+
readonly inputSchema: import("zod").ZodObject<{
|
|
8
|
+
action: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
9
|
+
choicenumber: import("zod").ZodInt;
|
|
10
|
+
choicetext: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
12
|
+
choicenumber: number;
|
|
13
|
+
choicetext?: string | undefined;
|
|
14
|
+
}, number | {
|
|
15
|
+
choicenumber: number;
|
|
16
|
+
choicetext?: string | undefined;
|
|
17
|
+
}>>;
|
|
18
|
+
externalkey: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
19
|
+
employee: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
20
|
+
id: import("zod").ZodInt;
|
|
21
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
22
|
+
id: number;
|
|
23
|
+
}, number | {
|
|
24
|
+
id: number;
|
|
25
|
+
}>>;
|
|
26
|
+
joborder: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
27
|
+
id: import("zod").ZodInt;
|
|
28
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
29
|
+
id: number;
|
|
30
|
+
}, number | {
|
|
31
|
+
id: number;
|
|
32
|
+
}>>>>;
|
|
33
|
+
joborderdetailworkactivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
34
|
+
id: import("zod").ZodInt;
|
|
35
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
36
|
+
id: number;
|
|
37
|
+
}, number | {
|
|
38
|
+
id: number;
|
|
39
|
+
}>>>>;
|
|
40
|
+
order: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
41
|
+
id: import("zod").ZodInt;
|
|
42
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
43
|
+
id: number;
|
|
44
|
+
}, number | {
|
|
45
|
+
id: number;
|
|
46
|
+
}>>>>;
|
|
47
|
+
workactivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
48
|
+
id: import("zod").ZodInt;
|
|
49
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
50
|
+
id: number;
|
|
51
|
+
}, number | {
|
|
52
|
+
id: number;
|
|
53
|
+
}>>>>;
|
|
54
|
+
isbatch: import("zod").ZodBoolean;
|
|
55
|
+
previousdone: import("zod").ZodBoolean;
|
|
56
|
+
quantitydone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
57
|
+
start: import("zod").ZodISODateTime;
|
|
58
|
+
additionalproperties: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
59
|
+
}, import("zod/v4/core").$strip>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatechangedRetriever } from '../../datechanged-retriever';
|
|
2
|
+
import { RegisteredTime } from './types';
|
|
3
|
+
export declare class GetHoursRegisteredTimes extends DatechangedRetriever<RegisteredTime> {
|
|
4
|
+
readonly identifier = "hours-registeredtimes-get-all";
|
|
5
|
+
readonly endpoint = "/v2/hours/registeredtimes";
|
|
6
|
+
}
|
package/integrations/connector-runner-ridder-iq/src/actions/hours/registeredtimes/schemas.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const inputSchema: z.ZodObject<{
|
|
3
|
+
action: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
4
|
+
choicenumber: z.ZodInt;
|
|
5
|
+
choicetext: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
7
|
+
choicenumber: number;
|
|
8
|
+
choicetext?: string | undefined;
|
|
9
|
+
}, number | {
|
|
10
|
+
choicenumber: number;
|
|
11
|
+
choicetext?: string | undefined;
|
|
12
|
+
}>>;
|
|
13
|
+
externalkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
employee: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
15
|
+
id: z.ZodInt;
|
|
16
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
17
|
+
id: number;
|
|
18
|
+
}, number | {
|
|
19
|
+
id: number;
|
|
20
|
+
}>>;
|
|
21
|
+
joborder: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
22
|
+
id: z.ZodInt;
|
|
23
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
24
|
+
id: number;
|
|
25
|
+
}, number | {
|
|
26
|
+
id: number;
|
|
27
|
+
}>>>>;
|
|
28
|
+
joborderdetailworkactivity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
29
|
+
id: z.ZodInt;
|
|
30
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
31
|
+
id: number;
|
|
32
|
+
}, number | {
|
|
33
|
+
id: number;
|
|
34
|
+
}>>>>;
|
|
35
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
36
|
+
id: z.ZodInt;
|
|
37
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
38
|
+
id: number;
|
|
39
|
+
}, number | {
|
|
40
|
+
id: number;
|
|
41
|
+
}>>>>;
|
|
42
|
+
workactivity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
43
|
+
id: z.ZodInt;
|
|
44
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
45
|
+
id: number;
|
|
46
|
+
}, number | {
|
|
47
|
+
id: number;
|
|
48
|
+
}>>>>;
|
|
49
|
+
isbatch: z.ZodBoolean;
|
|
50
|
+
previousdone: z.ZodBoolean;
|
|
51
|
+
quantitydone: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
|
+
start: z.ZodISODateTime;
|
|
53
|
+
additionalproperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export type RegisteredTime = {
|
|
2
|
+
id: number;
|
|
3
|
+
action?: {
|
|
4
|
+
choicenumber?: number;
|
|
5
|
+
choicetext?: string;
|
|
6
|
+
} | null;
|
|
7
|
+
creator?: string | null;
|
|
8
|
+
datechanged?: string | null;
|
|
9
|
+
datecreated?: string | null;
|
|
10
|
+
externalkey?: string | null;
|
|
11
|
+
employee?: {
|
|
12
|
+
code?: string | null;
|
|
13
|
+
id?: number;
|
|
14
|
+
recordtag?: string | null;
|
|
15
|
+
} | null;
|
|
16
|
+
joborder?: {
|
|
17
|
+
description?: string | null;
|
|
18
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
19
|
+
id?: number;
|
|
20
|
+
recordtag?: string | null;
|
|
21
|
+
displayvalue?: string | null;
|
|
22
|
+
} | null;
|
|
23
|
+
joborderdetailworkactivity?: {
|
|
24
|
+
description?: string | null;
|
|
25
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
26
|
+
id?: number;
|
|
27
|
+
recordtag?: string | null;
|
|
28
|
+
} | null;
|
|
29
|
+
order?: {
|
|
30
|
+
description?: string | null;
|
|
31
|
+
id?: number;
|
|
32
|
+
recordtag?: string | null;
|
|
33
|
+
} | null;
|
|
34
|
+
workactivity?: {
|
|
35
|
+
code?: string | null;
|
|
36
|
+
description?: string | null;
|
|
37
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
38
|
+
id?: number;
|
|
39
|
+
recordtag?: string | null;
|
|
40
|
+
} | null;
|
|
41
|
+
workflowstate?: unknown;
|
|
42
|
+
isbatch?: boolean | null;
|
|
43
|
+
memo?: string | null;
|
|
44
|
+
previousdone?: boolean | null;
|
|
45
|
+
processed?: boolean | null;
|
|
46
|
+
quantitydone?: number | null;
|
|
47
|
+
recordlink?: string | null;
|
|
48
|
+
start?: string | null;
|
|
49
|
+
startrounded?: string | null;
|
|
50
|
+
userchanged?: string | null;
|
|
51
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
52
|
+
recordtag?: string | null;
|
|
53
|
+
propertyinfo?: unknown;
|
|
54
|
+
layoutData?: unknown;
|
|
55
|
+
};
|
|
@@ -2,3 +2,7 @@ export * from './joborderdetails';
|
|
|
2
2
|
export * from './joborderdetailsitem';
|
|
3
3
|
export * from './joborders';
|
|
4
4
|
export * from './orders';
|
|
5
|
+
export * from './usedcapacitydetails';
|
|
6
|
+
export * from './joborderdetailsworkactivity';
|
|
7
|
+
export * from './joborderdetailworkactivitiesquantityproduced';
|
|
8
|
+
export * from './joborderquantitiesproduced';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatechangedRetriever } from '../../datechanged-retriever';
|
|
2
|
+
import { JobOrderWorkActivity } from './types';
|
|
3
|
+
export declare class GetProductionJobOrderWorkActivities extends DatechangedRetriever<JobOrderWorkActivity> {
|
|
4
|
+
readonly identifier = "production-joborderdetailsworkactivity-get-all";
|
|
5
|
+
readonly endpoint = "/v2/production/joborderdetailsworkactivity";
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-joborderdetailsworkactivity';
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
export type JobOrderWorkActivity = {
|
|
2
|
+
id: number;
|
|
3
|
+
allocatedone?: boolean | null;
|
|
4
|
+
backorderdate?: string | null;
|
|
5
|
+
barcode1?: string | null;
|
|
6
|
+
barcode2?: string | null;
|
|
7
|
+
batchdependent?: boolean | null;
|
|
8
|
+
batchsize?: number | null;
|
|
9
|
+
cadreference?: string | null;
|
|
10
|
+
cadreferencetranslations?: Array<unknown> | null;
|
|
11
|
+
camgeometry?: string | null;
|
|
12
|
+
camparameter?: string | null;
|
|
13
|
+
contractamount?: number | null;
|
|
14
|
+
contractcostprice?: number | null;
|
|
15
|
+
contractpercentage?: number | null;
|
|
16
|
+
costpriceoperationtime?: number | null;
|
|
17
|
+
costpricesetup?: number | null;
|
|
18
|
+
creator?: string | null;
|
|
19
|
+
datechanged?: string | null;
|
|
20
|
+
datecreated?: string | null;
|
|
21
|
+
deliverycomplete?: boolean | null;
|
|
22
|
+
deliverydate?: string | null;
|
|
23
|
+
description?: string | null;
|
|
24
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
25
|
+
discountamount?: number | null;
|
|
26
|
+
discountpercentage?: number | null;
|
|
27
|
+
externalkey?: string | null;
|
|
28
|
+
finisheddateproduction?: string | null;
|
|
29
|
+
fixedplanning?: boolean | null;
|
|
30
|
+
assemblydetailworkactivity?: {
|
|
31
|
+
description?: string | null;
|
|
32
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
33
|
+
id?: number;
|
|
34
|
+
recordtag?: string | null;
|
|
35
|
+
} | null;
|
|
36
|
+
callcode?: {
|
|
37
|
+
code?: string | null;
|
|
38
|
+
description?: string | null;
|
|
39
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
40
|
+
id?: number;
|
|
41
|
+
recordtag?: string | null;
|
|
42
|
+
} | null;
|
|
43
|
+
joborder?: {
|
|
44
|
+
description?: string | null;
|
|
45
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
46
|
+
id?: number;
|
|
47
|
+
recordtag?: string | null;
|
|
48
|
+
displayvalue?: string | null;
|
|
49
|
+
} | null;
|
|
50
|
+
order?: {
|
|
51
|
+
description?: string | null;
|
|
52
|
+
id?: number;
|
|
53
|
+
recordtag?: string | null;
|
|
54
|
+
} | null;
|
|
55
|
+
wagegroup?: {
|
|
56
|
+
code?: string | null;
|
|
57
|
+
description?: string | null;
|
|
58
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
59
|
+
id?: number;
|
|
60
|
+
recordtag?: string | null;
|
|
61
|
+
} | null;
|
|
62
|
+
workactivity?: {
|
|
63
|
+
code?: string | null;
|
|
64
|
+
description?: string | null;
|
|
65
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
66
|
+
id?: number;
|
|
67
|
+
recordtag?: string | null;
|
|
68
|
+
} | null;
|
|
69
|
+
workactivitystdtasktime?: {
|
|
70
|
+
code?: string | null;
|
|
71
|
+
description?: string | null;
|
|
72
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
73
|
+
id?: number;
|
|
74
|
+
recordtag?: string | null;
|
|
75
|
+
} | null;
|
|
76
|
+
workflowstate?: unknown;
|
|
77
|
+
goodwillwarrantyamount?: number | null;
|
|
78
|
+
goodwillwarrantycostprice?: number | null;
|
|
79
|
+
goodwillwarrantypercentage?: number | null;
|
|
80
|
+
isreleased?: boolean | null;
|
|
81
|
+
netsalesamount?: number | null;
|
|
82
|
+
numberofunitsoperational?: number | null;
|
|
83
|
+
operationtime?: string | null;
|
|
84
|
+
originalsubassemblyquantity?: number | null;
|
|
85
|
+
partwagegroup?: number | null;
|
|
86
|
+
memo?: string | null;
|
|
87
|
+
memotranslations?: Array<unknown> | null;
|
|
88
|
+
plannedfinishdateproduction?: string | null;
|
|
89
|
+
plannedstartdateproduction?: string | null;
|
|
90
|
+
plannedwaitingtime?: string | null;
|
|
91
|
+
position?: string | null;
|
|
92
|
+
preproduction?: boolean | null;
|
|
93
|
+
previousdone?: boolean | null;
|
|
94
|
+
priority?: number | null;
|
|
95
|
+
productiondone?: boolean | null;
|
|
96
|
+
quantity?: number | null;
|
|
97
|
+
recordlink?: string | null;
|
|
98
|
+
registrationpath?: {
|
|
99
|
+
choicenumber?: number;
|
|
100
|
+
choicetext?: string;
|
|
101
|
+
} | null;
|
|
102
|
+
salespriceoperationtime?: number | null;
|
|
103
|
+
salespricesetup?: number | null;
|
|
104
|
+
sequencenumber?: number | null;
|
|
105
|
+
setuptime?: string | null;
|
|
106
|
+
splitplanning?: boolean | null;
|
|
107
|
+
startnextstep?: {
|
|
108
|
+
choicenumber?: number;
|
|
109
|
+
choicetext?: string;
|
|
110
|
+
} | null;
|
|
111
|
+
totalcostprice?: number | null;
|
|
112
|
+
totaloperationtime?: string | null;
|
|
113
|
+
totalquantity?: number | null;
|
|
114
|
+
totalsalesprice?: number | null;
|
|
115
|
+
totaltime?: string | null;
|
|
116
|
+
userchanged?: string | null;
|
|
117
|
+
waitingtimenextstep?: string | null;
|
|
118
|
+
waitnumberofworkdays?: number | null;
|
|
119
|
+
warrantyamount?: number | null;
|
|
120
|
+
warrantycostprice?: number | null;
|
|
121
|
+
warrantypercentage?: number | null;
|
|
122
|
+
workactivityrun?: {
|
|
123
|
+
creator?: string | null;
|
|
124
|
+
datechanged?: string | null;
|
|
125
|
+
datecreated?: string | null;
|
|
126
|
+
externalkey?: string | null;
|
|
127
|
+
workflowstate?: unknown;
|
|
128
|
+
group?: number | null;
|
|
129
|
+
recordlink?: string | null;
|
|
130
|
+
userchanged?: string | null;
|
|
131
|
+
recordtag?: string | null;
|
|
132
|
+
} | null;
|
|
133
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
134
|
+
recordtag?: string | null;
|
|
135
|
+
propertyinfo?: unknown;
|
|
136
|
+
layoutData?: unknown;
|
|
137
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CreateAction } from '../../create-action';
|
|
2
|
+
import { inputSchema } from './schemas';
|
|
3
|
+
import { WorkActivityQuantityProduced } from './types';
|
|
4
|
+
export declare class CreateProductionWorkActivityQuantityProduced extends CreateAction<WorkActivityQuantityProduced, typeof inputSchema> {
|
|
5
|
+
readonly identifier = "production-joborderdetailworkactivitiesquantityproduced-create";
|
|
6
|
+
readonly endpoint = "/v2/production/joborderdetailworkactivitiesquantityproduced";
|
|
7
|
+
readonly inputSchema: import("zod").ZodObject<{
|
|
8
|
+
datetime: import("zod").ZodISODateTime;
|
|
9
|
+
externalkey: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
10
|
+
finisher: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
11
|
+
id: import("zod").ZodInt;
|
|
12
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
13
|
+
id: number;
|
|
14
|
+
}, number | {
|
|
15
|
+
id: number;
|
|
16
|
+
}>>>>;
|
|
17
|
+
joborderdetailworkactivity: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
18
|
+
id: import("zod").ZodInt;
|
|
19
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
20
|
+
id: number;
|
|
21
|
+
}, number | {
|
|
22
|
+
id: number;
|
|
23
|
+
}>>;
|
|
24
|
+
quantityproduced: import("zod").ZodNumber;
|
|
25
|
+
additionalproperties: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
26
|
+
}, import("zod/v4/core").$strip>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatechangedRetriever } from '../../datechanged-retriever';
|
|
2
|
+
import { WorkActivityQuantityProduced } from './types';
|
|
3
|
+
export declare class GetProductionWorkActivityQuantitiesProduced extends DatechangedRetriever<WorkActivityQuantityProduced> {
|
|
4
|
+
readonly identifier = "production-joborderdetailworkactivitiesquantityproduced-get-all";
|
|
5
|
+
readonly endpoint = "/v2/production/joborderdetailworkactivitiesquantityproduced";
|
|
6
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const inputSchema: z.ZodObject<{
|
|
3
|
+
datetime: z.ZodISODateTime;
|
|
4
|
+
externalkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
+
finisher: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
6
|
+
id: z.ZodInt;
|
|
7
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
8
|
+
id: number;
|
|
9
|
+
}, number | {
|
|
10
|
+
id: number;
|
|
11
|
+
}>>>>;
|
|
12
|
+
joborderdetailworkactivity: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
13
|
+
id: z.ZodInt;
|
|
14
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
15
|
+
id: number;
|
|
16
|
+
}, number | {
|
|
17
|
+
id: number;
|
|
18
|
+
}>>;
|
|
19
|
+
quantityproduced: z.ZodNumber;
|
|
20
|
+
additionalproperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type WorkActivityQuantityProduced = {
|
|
2
|
+
id: number;
|
|
3
|
+
creator?: string | null;
|
|
4
|
+
datechanged?: string | null;
|
|
5
|
+
datecreated?: string | null;
|
|
6
|
+
datetime?: string | null;
|
|
7
|
+
externalkey?: string | null;
|
|
8
|
+
finisher?: {
|
|
9
|
+
code?: string | null;
|
|
10
|
+
id?: number;
|
|
11
|
+
recordtag?: string | null;
|
|
12
|
+
} | null;
|
|
13
|
+
joborderdetailworkactivity?: {
|
|
14
|
+
description?: string | null;
|
|
15
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
16
|
+
id?: number;
|
|
17
|
+
recordtag?: string | null;
|
|
18
|
+
} | null;
|
|
19
|
+
registeredtime?: {
|
|
20
|
+
id?: number;
|
|
21
|
+
recordtag?: string | null;
|
|
22
|
+
} | null;
|
|
23
|
+
workflowstate?: unknown;
|
|
24
|
+
quantityproduced?: number | null;
|
|
25
|
+
recordlink?: string | 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,41 @@
|
|
|
1
|
+
import { CreateAction } from '../../create-action';
|
|
2
|
+
import { inputSchema } from './schemas';
|
|
3
|
+
import { JobOrderQuantityProduced } from './types';
|
|
4
|
+
export declare class CreateProductionJobOrderQuantityProduced extends CreateAction<JobOrderQuantityProduced, typeof inputSchema> {
|
|
5
|
+
readonly identifier = "production-joborderquantitiesproduced-create";
|
|
6
|
+
readonly endpoint = "/v2/production/joborderquantitiesproduced";
|
|
7
|
+
readonly inputSchema: import("zod").ZodObject<{
|
|
8
|
+
datetime: import("zod").ZodISODateTime;
|
|
9
|
+
externalkey: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
10
|
+
finisher: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
11
|
+
id: import("zod").ZodInt;
|
|
12
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
13
|
+
id: number;
|
|
14
|
+
}, number | {
|
|
15
|
+
id: number;
|
|
16
|
+
}>>>>;
|
|
17
|
+
joborder: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
18
|
+
id: import("zod").ZodInt;
|
|
19
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
20
|
+
id: number;
|
|
21
|
+
}, number | {
|
|
22
|
+
id: number;
|
|
23
|
+
}>>;
|
|
24
|
+
lot: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
25
|
+
id: import("zod").ZodInt;
|
|
26
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
27
|
+
id: number;
|
|
28
|
+
}, number | {
|
|
29
|
+
id: number;
|
|
30
|
+
}>>>>;
|
|
31
|
+
registeredtime: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
32
|
+
id: import("zod").ZodInt;
|
|
33
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
34
|
+
id: number;
|
|
35
|
+
}, number | {
|
|
36
|
+
id: number;
|
|
37
|
+
}>>>>;
|
|
38
|
+
quantityproduced: import("zod").ZodNumber;
|
|
39
|
+
additionalproperties: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
40
|
+
}, import("zod/v4/core").$strip>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatechangedRetriever } from '../../datechanged-retriever';
|
|
2
|
+
import { JobOrderQuantityProduced } from './types';
|
|
3
|
+
export declare class GetProductionJobOrderQuantitiesProduced extends DatechangedRetriever<JobOrderQuantityProduced> {
|
|
4
|
+
readonly identifier = "production-joborderquantitiesproduced-get-all";
|
|
5
|
+
readonly endpoint = "/v2/production/joborderquantitiesproduced";
|
|
6
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const inputSchema: z.ZodObject<{
|
|
3
|
+
datetime: z.ZodISODateTime;
|
|
4
|
+
externalkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
+
finisher: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
6
|
+
id: z.ZodInt;
|
|
7
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
8
|
+
id: number;
|
|
9
|
+
}, number | {
|
|
10
|
+
id: number;
|
|
11
|
+
}>>>>;
|
|
12
|
+
joborder: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
13
|
+
id: z.ZodInt;
|
|
14
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
15
|
+
id: number;
|
|
16
|
+
}, number | {
|
|
17
|
+
id: number;
|
|
18
|
+
}>>;
|
|
19
|
+
lot: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
20
|
+
id: z.ZodInt;
|
|
21
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
22
|
+
id: number;
|
|
23
|
+
}, number | {
|
|
24
|
+
id: number;
|
|
25
|
+
}>>>>;
|
|
26
|
+
registeredtime: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
27
|
+
id: z.ZodInt;
|
|
28
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
29
|
+
id: number;
|
|
30
|
+
}, number | {
|
|
31
|
+
id: number;
|
|
32
|
+
}>>>>;
|
|
33
|
+
quantityproduced: z.ZodNumber;
|
|
34
|
+
additionalproperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export type JobOrderQuantityProduced = {
|
|
2
|
+
id: number;
|
|
3
|
+
creator?: string | null;
|
|
4
|
+
datechanged?: string | null;
|
|
5
|
+
datecreated?: string | null;
|
|
6
|
+
datetime?: string | null;
|
|
7
|
+
externalkey?: string | null;
|
|
8
|
+
finisher?: {
|
|
9
|
+
code?: string | null;
|
|
10
|
+
id?: number;
|
|
11
|
+
recordtag?: string | null;
|
|
12
|
+
} | null;
|
|
13
|
+
joborder?: {
|
|
14
|
+
description?: string | null;
|
|
15
|
+
descriptiontranslations?: Array<unknown> | null;
|
|
16
|
+
id?: number;
|
|
17
|
+
recordtag?: string | null;
|
|
18
|
+
} | null;
|
|
19
|
+
journalentry?: {
|
|
20
|
+
description?: string | null;
|
|
21
|
+
journalentrynumber?: number | null;
|
|
22
|
+
id?: number;
|
|
23
|
+
recordtag?: string | null;
|
|
24
|
+
} | null;
|
|
25
|
+
lot?: {
|
|
26
|
+
id?: number;
|
|
27
|
+
recordtag?: string | null;
|
|
28
|
+
} | null;
|
|
29
|
+
registeredtime?: {
|
|
30
|
+
id?: number;
|
|
31
|
+
recordtag?: string | null;
|
|
32
|
+
} | null;
|
|
33
|
+
workflowstate?: unknown;
|
|
34
|
+
quantityproduced?: number | null;
|
|
35
|
+
recordlink?: string | null;
|
|
36
|
+
userchanged?: string | null;
|
|
37
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
38
|
+
recordtag?: string | null;
|
|
39
|
+
propertyinfo?: unknown;
|
|
40
|
+
layoutData?: unknown;
|
|
41
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatechangedRetriever } from '../../datechanged-retriever';
|
|
2
|
+
import { UsedCapacityDetail } from './types';
|
|
3
|
+
export declare class GetProductionUsedCapacityDetails extends DatechangedRetriever<UsedCapacityDetail> {
|
|
4
|
+
readonly identifier = "production-usedcapacitydetails-get-all";
|
|
5
|
+
readonly endpoint = "/v2/production/usedcapacitydetails";
|
|
6
|
+
}
|