@transai/connector-runner-ridder-iq 0.11.3 → 0.11.5
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 +19 -0
- package/DOCUMENTATION.md +81 -0
- package/README.md +51 -0
- package/index.cjs +19 -19
- 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/create-with-defaults-action.d.ts +35 -0
- package/integrations/connector-runner-ridder-iq/src/actions/crm/relations/create-relation.d.ts +6 -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/itemmanagement/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/items/create-item.d.ts +170 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/items/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/items/schemas.d.ts +164 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/itemsalesprices/create-itemsalesprice.d.ts +68 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/itemsalesprices/get-itemsalesprices.d.ts +6 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/itemsalesprices/index.d.ts +3 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/itemsalesprices/schemas.d.ts +62 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/itemsalesprices/types.d.ts +43 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/lookups/get-price-names.d.ts +6 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/lookups/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/lookups/types.d.ts +7 -0
- package/integrations/connector-runner-ridder-iq/src/actions/link-document-action.d.ts +29 -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/orders/link-document.d.ts +3 -21
- 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/sales/salesoffers/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/sales/salesoffers/link-document.d.ts +5 -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,68 @@
|
|
|
1
|
+
import { CreateWithDefaultsAction } from '../../create-with-defaults-action';
|
|
2
|
+
import { inputSchema } from './schemas';
|
|
3
|
+
import { ItemSalesPrice } from './types';
|
|
4
|
+
export declare class CreateItemManagementItemSalesPrice extends CreateWithDefaultsAction<ItemSalesPrice, typeof inputSchema> {
|
|
5
|
+
readonly identifier = "itemmanagement-itemsalesprices-create";
|
|
6
|
+
readonly endpoint = "/v2/itemmanagement/itemsalesprices";
|
|
7
|
+
readonly inputSchema: import("zod").ZodObject<{
|
|
8
|
+
item: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
9
|
+
id: import("zod").ZodInt;
|
|
10
|
+
}, import("zod/v4/core").$loose>]>, import("zod").ZodTransform<{
|
|
11
|
+
id: number;
|
|
12
|
+
}, number | {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
id: number;
|
|
15
|
+
}>>;
|
|
16
|
+
pricename: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
17
|
+
id: import("zod").ZodInt;
|
|
18
|
+
}, import("zod/v4/core").$loose>]>, import("zod").ZodTransform<{
|
|
19
|
+
id: number;
|
|
20
|
+
}, number | {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
id: number;
|
|
23
|
+
}>>;
|
|
24
|
+
rangevalue: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
25
|
+
scalenumber: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodInt>>;
|
|
26
|
+
value: import("zod").ZodNumber;
|
|
27
|
+
valuetype: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
28
|
+
choicenumber: import("zod").ZodInt;
|
|
29
|
+
}, import("zod/v4/core").$loose>]>, import("zod").ZodTransform<{
|
|
30
|
+
choicenumber: number;
|
|
31
|
+
}, number | {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
choicenumber: number;
|
|
34
|
+
}>>;
|
|
35
|
+
scalepriceactiontype: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
36
|
+
choicenumber: import("zod").ZodInt;
|
|
37
|
+
}, import("zod/v4/core").$loose>]>, import("zod").ZodTransform<{
|
|
38
|
+
choicenumber: number;
|
|
39
|
+
}, number | {
|
|
40
|
+
[x: string]: unknown;
|
|
41
|
+
choicenumber: number;
|
|
42
|
+
}>>;
|
|
43
|
+
dependenton: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
44
|
+
choicenumber: import("zod").ZodInt;
|
|
45
|
+
}, import("zod/v4/core").$loose>]>, import("zod").ZodTransform<{
|
|
46
|
+
choicenumber: number;
|
|
47
|
+
}, number | {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
choicenumber: number;
|
|
50
|
+
}>>;
|
|
51
|
+
sawingcode: import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodInt, import("zod").ZodObject<{
|
|
52
|
+
choicenumber: import("zod").ZodInt;
|
|
53
|
+
}, import("zod/v4/core").$loose>]>, import("zod").ZodTransform<{
|
|
54
|
+
choicenumber: number;
|
|
55
|
+
}, number | {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
choicenumber: number;
|
|
58
|
+
}>>;
|
|
59
|
+
markup: import("zod").ZodNumber;
|
|
60
|
+
newsalesprice: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
61
|
+
costprice: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
62
|
+
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
63
|
+
discountscope: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
64
|
+
group: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
65
|
+
externalkey: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
66
|
+
surchargelengthgreaterthan: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
67
|
+
}, import("zod/v4/core").$strip>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatechangedRetriever } from '../../datechanged-retriever';
|
|
2
|
+
import { ItemSalesPrice } from './types';
|
|
3
|
+
export declare class GetItemManagementItemSalesPrices extends DatechangedRetriever<ItemSalesPrice> {
|
|
4
|
+
readonly identifier = "itemmanagement-itemsalesprices-get-all";
|
|
5
|
+
readonly endpoint = "/v2/itemmanagement/itemsalesprices";
|
|
6
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const inputSchema: z.ZodObject<{
|
|
3
|
+
item: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
4
|
+
id: z.ZodInt;
|
|
5
|
+
}, z.core.$loose>]>, z.ZodTransform<{
|
|
6
|
+
id: number;
|
|
7
|
+
}, number | {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
id: number;
|
|
10
|
+
}>>;
|
|
11
|
+
pricename: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
12
|
+
id: z.ZodInt;
|
|
13
|
+
}, z.core.$loose>]>, z.ZodTransform<{
|
|
14
|
+
id: number;
|
|
15
|
+
}, number | {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
id: number;
|
|
18
|
+
}>>;
|
|
19
|
+
rangevalue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
scalenumber: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
21
|
+
value: z.ZodNumber;
|
|
22
|
+
valuetype: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
23
|
+
choicenumber: z.ZodInt;
|
|
24
|
+
}, z.core.$loose>]>, z.ZodTransform<{
|
|
25
|
+
choicenumber: number;
|
|
26
|
+
}, number | {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
choicenumber: number;
|
|
29
|
+
}>>;
|
|
30
|
+
scalepriceactiontype: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
31
|
+
choicenumber: z.ZodInt;
|
|
32
|
+
}, z.core.$loose>]>, z.ZodTransform<{
|
|
33
|
+
choicenumber: number;
|
|
34
|
+
}, number | {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
choicenumber: number;
|
|
37
|
+
}>>;
|
|
38
|
+
dependenton: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
39
|
+
choicenumber: z.ZodInt;
|
|
40
|
+
}, z.core.$loose>]>, z.ZodTransform<{
|
|
41
|
+
choicenumber: number;
|
|
42
|
+
}, number | {
|
|
43
|
+
[x: string]: unknown;
|
|
44
|
+
choicenumber: number;
|
|
45
|
+
}>>;
|
|
46
|
+
sawingcode: z.ZodPipe<z.ZodUnion<readonly [z.ZodInt, z.ZodObject<{
|
|
47
|
+
choicenumber: z.ZodInt;
|
|
48
|
+
}, z.core.$loose>]>, z.ZodTransform<{
|
|
49
|
+
choicenumber: number;
|
|
50
|
+
}, number | {
|
|
51
|
+
[x: string]: unknown;
|
|
52
|
+
choicenumber: number;
|
|
53
|
+
}>>;
|
|
54
|
+
markup: z.ZodNumber;
|
|
55
|
+
newsalesprice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
56
|
+
costprice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
discountscope: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
59
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
60
|
+
externalkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
surchargelengthgreaterthan: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
type Reference = {
|
|
2
|
+
id: number;
|
|
3
|
+
recordtag?: string | null;
|
|
4
|
+
};
|
|
5
|
+
type Choice = {
|
|
6
|
+
choicenumber?: number;
|
|
7
|
+
choicetext?: string | null;
|
|
8
|
+
};
|
|
9
|
+
export type ItemSalesPrice = {
|
|
10
|
+
id: number;
|
|
11
|
+
costprice?: number | null;
|
|
12
|
+
creator?: string | null;
|
|
13
|
+
datechanged?: string | null;
|
|
14
|
+
datecreated?: string | null;
|
|
15
|
+
dependenton?: Choice | null;
|
|
16
|
+
description?: string | null;
|
|
17
|
+
discountscope?: string | null;
|
|
18
|
+
externalkey?: string | null;
|
|
19
|
+
group?: string | null;
|
|
20
|
+
item?: (Reference & {
|
|
21
|
+
code?: string | null;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
}) | null;
|
|
24
|
+
markup?: number | null;
|
|
25
|
+
newsalesprice?: number | null;
|
|
26
|
+
pricename?: (Reference & {
|
|
27
|
+
name?: string | null;
|
|
28
|
+
}) | null;
|
|
29
|
+
rangevalue?: number | null;
|
|
30
|
+
recalculatedcostprice?: number | null;
|
|
31
|
+
recalculatedcostpricedate?: string | null;
|
|
32
|
+
recordlink?: string | null;
|
|
33
|
+
sawingcode?: Choice | null;
|
|
34
|
+
scalenumber?: number | null;
|
|
35
|
+
scalepriceactiontype?: Choice | null;
|
|
36
|
+
surchargelengthgreaterthan?: number | null;
|
|
37
|
+
userchanged?: string | null;
|
|
38
|
+
value?: number | null;
|
|
39
|
+
valuetype?: Choice | null;
|
|
40
|
+
workflowstate?: unknown | null;
|
|
41
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GetItemManagementLookupAction } from './get-lookup-action';
|
|
2
|
+
import { ItemManagementPriceName } from './types';
|
|
3
|
+
export declare class GetItemManagementPriceNames extends GetItemManagementLookupAction<ItemManagementPriceName> {
|
|
4
|
+
readonly identifier = "itemmanagement-pricenames-get-all";
|
|
5
|
+
readonly path = "/v2/itemmanagement/pricenames";
|
|
6
|
+
}
|
package/integrations/connector-runner-ridder-iq/src/actions/itemmanagement/lookups/types.d.ts
CHANGED
|
@@ -82,4 +82,11 @@ export type ItemManagementMaterialType = ItemManagementLookupBase & {
|
|
|
82
82
|
itemgroup?: ItemManagementCodeDescriptionReference | null;
|
|
83
83
|
itemunit?: ItemManagementCodeDescriptionReference | null;
|
|
84
84
|
};
|
|
85
|
+
export type ItemManagementPriceName = ItemManagementLookupBase & {
|
|
86
|
+
nametranslations?: Array<unknown> | null;
|
|
87
|
+
pricetype?: {
|
|
88
|
+
choicenumber?: number;
|
|
89
|
+
choicetext?: string | null;
|
|
90
|
+
} | null;
|
|
91
|
+
};
|
|
85
92
|
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
type ParamsType = z.infer<typeof schema>;
|
|
13
|
+
type CreatedDocument = Record<string, unknown> & {
|
|
14
|
+
id: number;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Links files that already live on a share the RidderIQ clients can reach, so
|
|
18
|
+
* RidderIQ keeps a reference to the file instead of storing a copy in its
|
|
19
|
+
* database. Subclasses only name the action and the record endpoint.
|
|
20
|
+
*/
|
|
21
|
+
export declare abstract class LinkDocumentAction implements RidderIQActionInterface<CreatedDocument, ParamsType> {
|
|
22
|
+
#private;
|
|
23
|
+
abstract readonly identifier: string;
|
|
24
|
+
abstract readonly endpoint: string;
|
|
25
|
+
readonly identifierField = "id";
|
|
26
|
+
constructor(httpClient: HttpClientSDKInterface);
|
|
27
|
+
run(inputs: ParamsType): Promise<RidderIQActionResult<CreatedDocument>>;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -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
|
+
};
|
package/integrations/connector-runner-ridder-iq/src/actions/production/orders/link-document.d.ts
CHANGED
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
-
description: z.ZodOptional<z.ZodString>;
|
|
10
|
-
}, z.core.$strip>>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
type ParamsType = z.infer<typeof schema>;
|
|
13
|
-
type CreatedDocument = Record<string, unknown> & {
|
|
14
|
-
id: number;
|
|
15
|
-
};
|
|
16
|
-
export declare class LinkProductionOrderDocument implements RidderIQActionInterface<CreatedDocument, ParamsType> {
|
|
17
|
-
#private;
|
|
1
|
+
import { LinkDocumentAction } from '../../link-document-action';
|
|
2
|
+
export declare class LinkProductionOrderDocument extends LinkDocumentAction {
|
|
18
3
|
readonly identifier = "production-orders-link-document";
|
|
19
|
-
readonly
|
|
20
|
-
constructor(httpClient: HttpClientSDKInterface);
|
|
21
|
-
run(inputs: ParamsType): Promise<RidderIQActionResult<CreatedDocument>>;
|
|
4
|
+
readonly endpoint = "/v2/production/orders";
|
|
22
5
|
}
|
|
23
|
-
export {};
|