@transai/connector-runner-ridder-iq 0.11.0 → 0.11.2
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 +26 -0
- package/DOCUMENTATION.md +10 -0
- package/README.md +41 -0
- package/index.cjs +31 -31
- package/index.cjs.map +4 -4
- package/integrations/connector-runner-ridder-iq/src/actions/crm/debtors/get-debtors.d.ts +14 -0
- package/integrations/connector-runner-ridder-iq/src/actions/crm/debtors/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/crm/debtors/types.d.ts +31 -0
- package/integrations/connector-runner-ridder-iq/src/actions/crm/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/employees/get-employees.d.ts +14 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/employees/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/employees/types.d.ts +20 -0
- package/integrations/connector-runner-ridder-iq/src/actions/hours/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/purchase/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/purchase/purchaseinvoices/get-purchaseinvoices.d.ts +14 -0
- package/integrations/connector-runner-ridder-iq/src/actions/purchase/purchaseinvoices/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/purchase/purchaseinvoices/types.d.ts +38 -0
- package/integrations/connector-runner-ridder-iq/src/actions/sales/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/sales/salesinvoices/get-salesinvoices.d.ts +14 -0
- package/integrations/connector-runner-ridder-iq/src/actions/sales/salesinvoices/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/sales/salesinvoices/types.d.ts +48 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/departments/get-departments.d.ts +14 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/departments/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/departments/types.d.ts +17 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/index.d.ts +3 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/workactivities/get-workactivities.d.ts +14 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/workactivities/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/workactivities/types.d.ts +19 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/workactivitygroups/get-workactivitygroups.d.ts +14 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/workactivitygroups/index.d.ts +1 -0
- package/integrations/connector-runner-ridder-iq/src/actions/workactivity/workactivitygroups/types.d.ts +16 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConnectorSDKInterface, HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
|
|
2
|
+
import { RidderIQActionInterface, RidderIQActionResult } from '../../action.interface';
|
|
3
|
+
import { DatechangedParams } from '../../retrieve-by-datechanged';
|
|
4
|
+
import { CrmDebtor } from './types';
|
|
5
|
+
type ParamsType = DatechangedParams;
|
|
6
|
+
export declare class GetCrmDebtors implements RidderIQActionInterface<CrmDebtor, ParamsType> {
|
|
7
|
+
#private;
|
|
8
|
+
readonly identifier = "crm-debtors-get-all";
|
|
9
|
+
readonly retriever = true;
|
|
10
|
+
readonly identifierField = "id";
|
|
11
|
+
constructor(httpClient: HttpClientSDKInterface, connectorSDK: ConnectorSDKInterface);
|
|
12
|
+
run(inputs: ParamsType): Promise<RidderIQActionResult<CrmDebtor>>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetCrmDebtors } from './get-debtors';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type CrmDebtor = {
|
|
2
|
+
id: number;
|
|
3
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
4
|
+
creator?: string | null;
|
|
5
|
+
datechanged?: string | null;
|
|
6
|
+
datecreated?: string | null;
|
|
7
|
+
debtornumber?: string | null;
|
|
8
|
+
digitalinvoice?: boolean | null;
|
|
9
|
+
externalkey?: string | null;
|
|
10
|
+
factoring?: boolean | null;
|
|
11
|
+
paymentreminder?: boolean | null;
|
|
12
|
+
relation?: {
|
|
13
|
+
id: number;
|
|
14
|
+
code?: string | null;
|
|
15
|
+
name?: string | null;
|
|
16
|
+
recordtag?: string | null;
|
|
17
|
+
} | null;
|
|
18
|
+
salesdaybook?: {
|
|
19
|
+
id: number;
|
|
20
|
+
code?: string | null;
|
|
21
|
+
description?: string | null;
|
|
22
|
+
recordtag?: string | null;
|
|
23
|
+
} | null;
|
|
24
|
+
recordlink?: string | null;
|
|
25
|
+
recordtag?: string | null;
|
|
26
|
+
userchanged?: string | null;
|
|
27
|
+
vendorcodedebtor?: string | null;
|
|
28
|
+
workflowstate?: unknown;
|
|
29
|
+
propertyinfo?: unknown;
|
|
30
|
+
layoutData?: unknown;
|
|
31
|
+
};
|
package/integrations/connector-runner-ridder-iq/src/actions/hours/employees/get-employees.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConnectorSDKInterface, HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
|
|
2
|
+
import { RidderIQActionInterface, RidderIQActionResult } from '../../action.interface';
|
|
3
|
+
import { DatechangedParams } from '../../retrieve-by-datechanged';
|
|
4
|
+
import { Employee } from './types';
|
|
5
|
+
type ParamsType = DatechangedParams;
|
|
6
|
+
export declare class GetHoursEmployees implements RidderIQActionInterface<Employee, ParamsType> {
|
|
7
|
+
#private;
|
|
8
|
+
readonly identifier = "hours-employees-get-all";
|
|
9
|
+
readonly retriever = true;
|
|
10
|
+
readonly identifierField = "id";
|
|
11
|
+
constructor(httpClient: HttpClientSDKInterface, connectorSDK: ConnectorSDKInterface);
|
|
12
|
+
run(inputs: ParamsType): Promise<RidderIQActionResult<Employee>>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetHoursEmployees } from './get-employees';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type Employee = {
|
|
2
|
+
id: number;
|
|
3
|
+
code?: string | null;
|
|
4
|
+
shortname?: string | null;
|
|
5
|
+
email?: string | null;
|
|
6
|
+
datechanged?: string | null;
|
|
7
|
+
datecreated?: string | null;
|
|
8
|
+
externalkey?: string | null;
|
|
9
|
+
employmentstartdate?: string | null;
|
|
10
|
+
employmentterminationdate?: string | null;
|
|
11
|
+
department?: {
|
|
12
|
+
id: number;
|
|
13
|
+
code?: string | null;
|
|
14
|
+
description?: string | null;
|
|
15
|
+
} | null;
|
|
16
|
+
person?: {
|
|
17
|
+
id: number;
|
|
18
|
+
recordtag?: string | null;
|
|
19
|
+
} | null;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './employees';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './purchaseinvoices';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConnectorSDKInterface, HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
|
|
2
|
+
import { RidderIQActionInterface, RidderIQActionResult } from '../../action.interface';
|
|
3
|
+
import { DatechangedParams } from '../../retrieve-by-datechanged';
|
|
4
|
+
import { PurchaseInvoice } from './types';
|
|
5
|
+
type ParamsType = DatechangedParams;
|
|
6
|
+
export declare class GetPurchaseInvoices implements RidderIQActionInterface<PurchaseInvoice, ParamsType> {
|
|
7
|
+
#private;
|
|
8
|
+
readonly identifier = "purchase-purchaseinvoices-get-all";
|
|
9
|
+
readonly retriever = true;
|
|
10
|
+
readonly identifierField = "id";
|
|
11
|
+
constructor(httpClient: HttpClientSDKInterface, connectorSDK: ConnectorSDKInterface);
|
|
12
|
+
run(inputs: ParamsType): Promise<RidderIQActionResult<PurchaseInvoice>>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
package/integrations/connector-runner-ridder-iq/src/actions/purchase/purchaseinvoices/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetPurchaseInvoices } from './get-purchaseinvoices';
|
package/integrations/connector-runner-ridder-iq/src/actions/purchase/purchaseinvoices/types.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export type PurchaseInvoice = {
|
|
2
|
+
id: number;
|
|
3
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
4
|
+
datechanged?: string | null;
|
|
5
|
+
datecreated?: string | null;
|
|
6
|
+
datepaid?: string | null;
|
|
7
|
+
daysoutstanding?: number | null;
|
|
8
|
+
daysoverdue?: number | null;
|
|
9
|
+
expectedpaydate?: string | null;
|
|
10
|
+
externalinvoicenumber?: string | null;
|
|
11
|
+
externalkey?: string | null;
|
|
12
|
+
currency?: {
|
|
13
|
+
id: string;
|
|
14
|
+
isocode?: string | null;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
} | null;
|
|
17
|
+
supplier?: {
|
|
18
|
+
id: number;
|
|
19
|
+
code?: string | null;
|
|
20
|
+
name?: string | null;
|
|
21
|
+
recordtag?: string | null;
|
|
22
|
+
} | null;
|
|
23
|
+
invoiceamountexvat?: number | null;
|
|
24
|
+
invoicedate?: string | null;
|
|
25
|
+
invoicevatamount?: number | null;
|
|
26
|
+
isjournalized?: boolean | null;
|
|
27
|
+
ispaid?: boolean | null;
|
|
28
|
+
outstandingamount?: number | null;
|
|
29
|
+
payable?: boolean | null;
|
|
30
|
+
payabledate?: string | null;
|
|
31
|
+
paymentreference?: string | null;
|
|
32
|
+
journalentry?: {
|
|
33
|
+
id: number;
|
|
34
|
+
journalentrynumber?: number | null;
|
|
35
|
+
} | null;
|
|
36
|
+
recordlink?: string | null;
|
|
37
|
+
recordtag?: string | null;
|
|
38
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConnectorSDKInterface, HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
|
|
2
|
+
import { RidderIQActionInterface, RidderIQActionResult } from '../../action.interface';
|
|
3
|
+
import { DatechangedParams } from '../../retrieve-by-datechanged';
|
|
4
|
+
import { SalesInvoice } from './types';
|
|
5
|
+
type ParamsType = DatechangedParams;
|
|
6
|
+
export declare class GetSalesInvoices implements RidderIQActionInterface<SalesInvoice, ParamsType> {
|
|
7
|
+
#private;
|
|
8
|
+
readonly identifier = "sales-salesinvoices-get-all";
|
|
9
|
+
readonly retriever = true;
|
|
10
|
+
readonly identifierField = "id";
|
|
11
|
+
constructor(httpClient: HttpClientSDKInterface, connectorSDK: ConnectorSDKInterface);
|
|
12
|
+
run(inputs: ParamsType): Promise<RidderIQActionResult<SalesInvoice>>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetSalesInvoices } from './get-salesinvoices';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
type SalesInvoiceRelation = {
|
|
2
|
+
id: number;
|
|
3
|
+
code?: string | null;
|
|
4
|
+
name?: string | null;
|
|
5
|
+
recordtag?: string | null;
|
|
6
|
+
};
|
|
7
|
+
export type SalesInvoice = {
|
|
8
|
+
id: number;
|
|
9
|
+
additionalproperties?: Record<string, unknown> | null;
|
|
10
|
+
datechanged?: string | null;
|
|
11
|
+
datecreated?: string | null;
|
|
12
|
+
datepaid?: string | null;
|
|
13
|
+
daysoutstanding?: number | null;
|
|
14
|
+
daysoverdue?: number | null;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
expectedpaydate?: string | null;
|
|
17
|
+
externalkey?: string | null;
|
|
18
|
+
customerordernumber?: string | null;
|
|
19
|
+
currency?: {
|
|
20
|
+
id: string;
|
|
21
|
+
isocode?: string | null;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
} | null;
|
|
24
|
+
invoicerelation?: SalesInvoiceRelation | null;
|
|
25
|
+
orderrelation?: SalesInvoiceRelation | null;
|
|
26
|
+
invoicedate?: string | null;
|
|
27
|
+
isjournalized?: boolean | null;
|
|
28
|
+
ispaid?: boolean | null;
|
|
29
|
+
issent?: boolean | null;
|
|
30
|
+
netsalesamount?: number | null;
|
|
31
|
+
outstandingamount?: number | null;
|
|
32
|
+
payabledate?: string | null;
|
|
33
|
+
totalamount?: number | null;
|
|
34
|
+
vatamount?: number | null;
|
|
35
|
+
journalentry?: {
|
|
36
|
+
id: number;
|
|
37
|
+
journalentrynumber?: number | null;
|
|
38
|
+
} | null;
|
|
39
|
+
outstandingitem?: {
|
|
40
|
+
debtor?: {
|
|
41
|
+
id: number;
|
|
42
|
+
recordtag?: string | null;
|
|
43
|
+
} | null;
|
|
44
|
+
} | null;
|
|
45
|
+
recordlink?: string | null;
|
|
46
|
+
recordtag?: string | null;
|
|
47
|
+
};
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConnectorSDKInterface, HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
|
|
2
|
+
import { RidderIQActionInterface, RidderIQActionResult } from '../../action.interface';
|
|
3
|
+
import { DatechangedParams } from '../../retrieve-by-datechanged';
|
|
4
|
+
import { Department } from './types';
|
|
5
|
+
type ParamsType = DatechangedParams;
|
|
6
|
+
export declare class GetWorkActivityDepartments implements RidderIQActionInterface<Department, ParamsType> {
|
|
7
|
+
#private;
|
|
8
|
+
readonly identifier = "workactivity-departments-get-all";
|
|
9
|
+
readonly retriever = true;
|
|
10
|
+
readonly identifierField = "id";
|
|
11
|
+
constructor(httpClient: HttpClientSDKInterface, connectorSDK: ConnectorSDKInterface);
|
|
12
|
+
run(inputs: ParamsType): Promise<RidderIQActionResult<Department>>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
package/integrations/connector-runner-ridder-iq/src/actions/workactivity/departments/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetWorkActivityDepartments } from './get-departments';
|
package/integrations/connector-runner-ridder-iq/src/actions/workactivity/departments/types.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type RecordReference = {
|
|
2
|
+
id: number;
|
|
3
|
+
code?: string | null;
|
|
4
|
+
description?: string | null;
|
|
5
|
+
recordtag?: string | null;
|
|
6
|
+
};
|
|
7
|
+
export type Department = {
|
|
8
|
+
id: number;
|
|
9
|
+
code?: string | null;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
datechanged?: string | null;
|
|
12
|
+
datecreated?: string | null;
|
|
13
|
+
externalkey?: string | null;
|
|
14
|
+
costcenter?: RecordReference | null;
|
|
15
|
+
manager?: RecordReference | null;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConnectorSDKInterface, HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
|
|
2
|
+
import { RidderIQActionInterface, RidderIQActionResult } from '../../action.interface';
|
|
3
|
+
import { DatechangedParams } from '../../retrieve-by-datechanged';
|
|
4
|
+
import { WorkActivity } from './types';
|
|
5
|
+
type ParamsType = DatechangedParams;
|
|
6
|
+
export declare class GetWorkActivities implements RidderIQActionInterface<WorkActivity, ParamsType> {
|
|
7
|
+
#private;
|
|
8
|
+
readonly identifier = "workactivity-workactivities-get-all";
|
|
9
|
+
readonly retriever = true;
|
|
10
|
+
readonly identifierField = "id";
|
|
11
|
+
constructor(httpClient: HttpClientSDKInterface, connectorSDK: ConnectorSDKInterface);
|
|
12
|
+
run(inputs: ParamsType): Promise<RidderIQActionResult<WorkActivity>>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
package/integrations/connector-runner-ridder-iq/src/actions/workactivity/workactivities/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetWorkActivities } from './get-workactivities';
|
package/integrations/connector-runner-ridder-iq/src/actions/workactivity/workactivities/types.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type RecordReference = {
|
|
2
|
+
id: number;
|
|
3
|
+
code?: string | null;
|
|
4
|
+
description?: string | null;
|
|
5
|
+
recordtag?: string | null;
|
|
6
|
+
};
|
|
7
|
+
export type WorkActivity = {
|
|
8
|
+
id: number;
|
|
9
|
+
code?: string | null;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
datechanged?: string | null;
|
|
12
|
+
datecreated?: string | null;
|
|
13
|
+
externalkey?: string | null;
|
|
14
|
+
workactivitygroup?: RecordReference | null;
|
|
15
|
+
machinenamecam?: string | null;
|
|
16
|
+
numberofunits?: number | null;
|
|
17
|
+
planable?: boolean | null;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConnectorSDKInterface, HttpClientSDKInterface } from '@transai/connector-runtime-sdk';
|
|
2
|
+
import { RidderIQActionInterface, RidderIQActionResult } from '../../action.interface';
|
|
3
|
+
import { DatechangedParams } from '../../retrieve-by-datechanged';
|
|
4
|
+
import { WorkActivityGroup } from './types';
|
|
5
|
+
type ParamsType = DatechangedParams;
|
|
6
|
+
export declare class GetWorkActivityGroups implements RidderIQActionInterface<WorkActivityGroup, ParamsType> {
|
|
7
|
+
#private;
|
|
8
|
+
readonly identifier = "workactivity-workactivitygroups-get-all";
|
|
9
|
+
readonly retriever = true;
|
|
10
|
+
readonly identifierField = "id";
|
|
11
|
+
constructor(httpClient: HttpClientSDKInterface, connectorSDK: ConnectorSDKInterface);
|
|
12
|
+
run(inputs: ParamsType): Promise<RidderIQActionResult<WorkActivityGroup>>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetWorkActivityGroups } from './get-workactivitygroups';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type RecordReference = {
|
|
2
|
+
id: number;
|
|
3
|
+
code?: string | null;
|
|
4
|
+
description?: string | null;
|
|
5
|
+
recordtag?: string | null;
|
|
6
|
+
};
|
|
7
|
+
export type WorkActivityGroup = {
|
|
8
|
+
id: number;
|
|
9
|
+
code?: string | null;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
datechanged?: string | null;
|
|
12
|
+
datecreated?: string | null;
|
|
13
|
+
externalkey?: string | null;
|
|
14
|
+
department?: RecordReference | null;
|
|
15
|
+
};
|
|
16
|
+
export {};
|