repzo-sap-absjo 1.0.7 → 1.0.8
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 +1 -0
- package/lib/actions/create_invoice.d.ts +13 -19
- package/lib/actions/create_invoice.js +214 -371
- package/lib/actions/create_payment.d.ts +1 -4
- package/lib/actions/create_payment.js +125 -208
- package/lib/actions/create_proforma.d.ts +1 -4
- package/lib/actions/create_proforma.js +165 -305
- package/lib/actions/create_return_invoice.d.ts +1 -4
- package/lib/actions/create_return_invoice.js +177 -332
- package/lib/actions/create_transfer.d.ts +1 -4
- package/lib/actions/create_transfer.js +142 -234
- package/lib/actions/index.js +15 -23
- package/lib/commands/adjust_inventory.d.ts +2 -4
- package/lib/commands/adjust_inventory.js +160 -290
- package/lib/commands/bank.d.ts +2 -4
- package/lib/commands/bank.js +157 -279
- package/lib/commands/basic.js +47 -66
- package/lib/commands/category.d.ts +1 -3
- package/lib/commands/category.js +104 -178
- package/lib/commands/channel.d.ts +1 -3
- package/lib/commands/channel.js +117 -198
- package/lib/commands/client.d.ts +32 -34
- package/lib/commands/client.js +244 -404
- package/lib/commands/client_disabled.d.ts +1 -3
- package/lib/commands/client_disabled.js +94 -163
- package/lib/commands/index.d.ts +11 -15
- package/lib/commands/index.js +60 -60
- package/lib/commands/join.js +66 -192
- package/lib/commands/measureunit.d.ts +14 -19
- package/lib/commands/measureunit.js +191 -289
- package/lib/commands/measureunit_family.d.ts +8 -10
- package/lib/commands/measureunit_family.js +138 -250
- package/lib/commands/payment_term.d.ts +1 -3
- package/lib/commands/payment_term.js +123 -202
- package/lib/commands/price_list.d.ts +15 -15
- package/lib/commands/price_list.js +326 -612
- package/lib/commands/product.d.ts +30 -32
- package/lib/commands/product.js +243 -425
- package/lib/commands/product_disabled.d.ts +1 -3
- package/lib/commands/product_disabled.js +94 -164
- package/lib/commands/rep.js +141 -221
- package/lib/commands/tag.js +109 -174
- package/lib/commands/tax.js +112 -177
- package/lib/commands/warehouse.d.ts +1 -3
- package/lib/commands/warehouse.js +119 -207
- package/lib/index.d.ts +12 -21
- package/lib/test/actions/create_invoice.js +188 -193
- package/lib/test/actions/create_payment.js +107 -112
- package/lib/test/actions/create_proforma.js +216 -220
- package/lib/test/actions/create_return_invoice.js +200 -205
- package/lib/test/actions/create_transfer.js +115 -120
- package/lib/test/commands/adjust_inventory.js +90 -90
- package/lib/test/commands/bank.js +90 -90
- package/lib/test/commands/basic.js +327 -328
- package/lib/test/commands/category.js +90 -90
- package/lib/test/commands/channel.js +90 -90
- package/lib/test/commands/client.js +353 -355
- package/lib/test/commands/client_disabled.js +90 -90
- package/lib/test/commands/join.js +327 -328
- package/lib/test/commands/measureunit.js +90 -90
- package/lib/test/commands/measureunit_family.js +90 -90
- package/lib/test/commands/payment_term.js +90 -90
- package/lib/test/commands/price_list.js +334 -337
- package/lib/test/commands/product.js +90 -90
- package/lib/test/commands/product_disabled.js +90 -90
- package/lib/test/commands/rep.js +344 -346
- package/lib/test/commands/tag.js +90 -90
- package/lib/test/commands/tax.js +90 -90
- package/lib/test/commands/warehouse.js +90 -90
- package/lib/types.d.ts +60 -83
- package/lib/util.d.ts +19 -70
- package/lib/util.js +144 -170
- package/package.json +1 -1
- package/src/actions/create_invoice.ts +2 -1
- package/src/actions/create_payment.ts +2 -1
- package/src/actions/create_proforma.ts +2 -1
- package/src/actions/create_return_invoice.ts +2 -1
- package/src/actions/create_transfer.ts +2 -1
package/lib/commands/client.d.ts
CHANGED
|
@@ -1,39 +1,37 @@
|
|
|
1
1
|
import { CommandEvent, Result } from "../types";
|
|
2
2
|
export interface SAPClient {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
3
|
+
CLIENTID: string;
|
|
4
|
+
CLIENTDESC: string;
|
|
5
|
+
CLIENTADDRESS?: string;
|
|
6
|
+
CLIENTCITY?: string;
|
|
7
|
+
CLIENTCOUNTRY?: string;
|
|
8
|
+
CLIENTCOUNTY?: string;
|
|
9
|
+
CLIENTGROUPCODE: number;
|
|
10
|
+
CLIENTGROUP: string;
|
|
11
|
+
PAYMENTTERM: number;
|
|
12
|
+
CLIENTCONTACTPERSON?: string;
|
|
13
|
+
CLIENTPHONE1?: string;
|
|
14
|
+
CLIENTPHONE2?: string;
|
|
15
|
+
CLIENTNOTE?: string;
|
|
16
|
+
CLIENTSTATUS: "N" | "Y";
|
|
17
|
+
CLIENTCREDITCONSUMED: number;
|
|
18
|
+
CLIENTMAXCHEQUEVALUE: number;
|
|
19
|
+
CLIENTCREDITLIMIT: number;
|
|
20
|
+
CLIENTPRICELISTID: number;
|
|
21
|
+
CLIENTADDRESSID?: string;
|
|
22
|
+
CLIENTDESCF?: string;
|
|
23
|
+
SALESPERSONCODE: number;
|
|
24
|
+
DISCOUNTPERCENT: number;
|
|
25
|
+
ACTIVE: "N" | "Y";
|
|
26
|
+
FROZEN: "N" | "Y";
|
|
27
|
+
TERRITORYID?: string;
|
|
28
|
+
TERRITORYNAME?: string;
|
|
29
|
+
CREATEDATE: string;
|
|
30
|
+
UPDATEDATE: string;
|
|
31
|
+
PARENTCODE?: string;
|
|
32
32
|
}
|
|
33
33
|
export interface SAPClients {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
result: "Success";
|
|
35
|
+
Customers: SAPClient[];
|
|
36
36
|
}
|
|
37
|
-
export declare const sync_client: (
|
|
38
|
-
commandEvent: CommandEvent
|
|
39
|
-
) => Promise<Result>;
|
|
37
|
+
export declare const sync_client: (commandEvent: CommandEvent) => Promise<Result>;
|