@chift/chift-nodejs 1.0.5 → 1.0.6
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/.eslintcache +1 -1
- package/CHANGELOG.md +4 -0
- package/dist/src/modules/api.d.ts +855 -420
- package/dist/src/modules/consumer.d.ts +56 -28
- package/dist/src/modules/consumers.d.ts +285 -140
- package/dist/src/modules/internalApi.js +10 -5
- package/dist/src/modules/pos.d.ts +4 -0
- package/dist/src/modules/pos.js +14 -0
- package/dist/src/modules/sync.d.ts +229 -113
- package/dist/src/modules/syncs.d.ts +570 -280
- package/dist/test/modules/pos.test.js +13 -0
- package/jest.config.ts +1 -1
- package/package.json +1 -1
- package/src/modules/pos.ts +26 -0
- package/src/modules/sync.ts +1 -1
- package/src/modules/syncs.ts +2 -2
- package/src/types/public-api/schema.d.ts +426 -80
- package/test/modules/consumer.test.ts +1 -1
- package/test/modules/pos.test.ts +15 -0
|
@@ -43,6 +43,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
43
43
|
getSyncUrl: (body: {
|
|
44
44
|
syncid: string;
|
|
45
45
|
integrationids?: string[] | undefined;
|
|
46
|
+
link_metadata?: Record<string, never> | undefined;
|
|
46
47
|
}) => Promise<{
|
|
47
48
|
url: string;
|
|
48
49
|
}>;
|
|
@@ -94,6 +95,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
94
95
|
name?: string | undefined;
|
|
95
96
|
total: number;
|
|
96
97
|
}[] | undefined;
|
|
98
|
+
product_id?: string | undefined;
|
|
97
99
|
}[];
|
|
98
100
|
payments: {
|
|
99
101
|
id?: string | undefined;
|
|
@@ -160,6 +162,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
160
162
|
name?: string | undefined;
|
|
161
163
|
total: number;
|
|
162
164
|
}[] | undefined;
|
|
165
|
+
product_id?: string | undefined;
|
|
163
166
|
}[];
|
|
164
167
|
payments: {
|
|
165
168
|
id?: string | undefined;
|
|
@@ -241,6 +244,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
241
244
|
name: string;
|
|
242
245
|
extra?: string | undefined;
|
|
243
246
|
}[]>;
|
|
247
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
248
|
+
id: string;
|
|
249
|
+
name: string;
|
|
250
|
+
description?: string | undefined;
|
|
251
|
+
id_parent?: string | undefined;
|
|
252
|
+
}[]>;
|
|
253
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
254
|
+
id: string;
|
|
255
|
+
categories?: string[] | undefined;
|
|
256
|
+
name: string;
|
|
257
|
+
description?: string | undefined;
|
|
258
|
+
prices: {
|
|
259
|
+
unit_price: number;
|
|
260
|
+
tax_rate: number;
|
|
261
|
+
}[];
|
|
262
|
+
}[]>;
|
|
244
263
|
getSales(params: {
|
|
245
264
|
date_from: string;
|
|
246
265
|
date_to: string;
|
|
@@ -299,6 +318,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
299
318
|
name?: string | undefined;
|
|
300
319
|
total: number;
|
|
301
320
|
}[] | undefined;
|
|
321
|
+
product_id?: string | undefined;
|
|
302
322
|
}[];
|
|
303
323
|
payments: {
|
|
304
324
|
id?: string | undefined;
|
|
@@ -1134,21 +1154,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1134
1154
|
name: string;
|
|
1135
1155
|
currency: string;
|
|
1136
1156
|
}): import("../types/api").RequestData<{
|
|
1137
|
-
|
|
1157
|
+
id: string;
|
|
1158
|
+
active: boolean;
|
|
1138
1159
|
code?: string | undefined;
|
|
1139
|
-
name
|
|
1160
|
+
name: string;
|
|
1140
1161
|
currency?: string | undefined;
|
|
1141
|
-
id?: string | undefined;
|
|
1142
1162
|
balance?: number | undefined;
|
|
1143
1163
|
credit?: number | undefined;
|
|
1144
1164
|
debit?: number | undefined;
|
|
1145
1165
|
}>;
|
|
1146
1166
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
1147
|
-
|
|
1167
|
+
id: string;
|
|
1168
|
+
active: boolean;
|
|
1148
1169
|
code?: string | undefined;
|
|
1149
|
-
name
|
|
1170
|
+
name: string;
|
|
1150
1171
|
currency?: string | undefined;
|
|
1151
|
-
id?: string | undefined;
|
|
1152
1172
|
balance?: number | undefined;
|
|
1153
1173
|
credit?: number | undefined;
|
|
1154
1174
|
debit?: number | undefined;
|
|
@@ -1159,22 +1179,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1159
1179
|
name: string;
|
|
1160
1180
|
currency: string;
|
|
1161
1181
|
}): import("../types/api").RequestData<{
|
|
1162
|
-
|
|
1182
|
+
id: string;
|
|
1183
|
+
active: boolean;
|
|
1163
1184
|
code?: string | undefined;
|
|
1164
|
-
name
|
|
1185
|
+
name: string;
|
|
1165
1186
|
currency?: string | undefined;
|
|
1166
|
-
id?: string | undefined;
|
|
1167
1187
|
balance?: number | undefined;
|
|
1168
1188
|
credit?: number | undefined;
|
|
1169
1189
|
debit?: number | undefined;
|
|
1170
1190
|
analytic_plan: string;
|
|
1171
1191
|
}>;
|
|
1172
1192
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
1173
|
-
|
|
1193
|
+
id: string;
|
|
1194
|
+
active: boolean;
|
|
1174
1195
|
code?: string | undefined;
|
|
1175
|
-
name
|
|
1196
|
+
name: string;
|
|
1176
1197
|
currency?: string | undefined;
|
|
1177
|
-
id?: string | undefined;
|
|
1178
1198
|
balance?: number | undefined;
|
|
1179
1199
|
credit?: number | undefined;
|
|
1180
1200
|
debit?: number | undefined;
|
|
@@ -1185,21 +1205,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1185
1205
|
name?: string | undefined;
|
|
1186
1206
|
currency?: string | undefined;
|
|
1187
1207
|
}): import("../types/api").RequestData<{
|
|
1188
|
-
|
|
1208
|
+
id: string;
|
|
1209
|
+
active: boolean;
|
|
1189
1210
|
code?: string | undefined;
|
|
1190
|
-
name
|
|
1211
|
+
name: string;
|
|
1191
1212
|
currency?: string | undefined;
|
|
1192
|
-
id?: string | undefined;
|
|
1193
1213
|
balance?: number | undefined;
|
|
1194
1214
|
credit?: number | undefined;
|
|
1195
1215
|
debit?: number | undefined;
|
|
1196
1216
|
}>;
|
|
1197
1217
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
1198
|
-
|
|
1218
|
+
id: string;
|
|
1219
|
+
active: boolean;
|
|
1199
1220
|
code?: string | undefined;
|
|
1200
|
-
name
|
|
1221
|
+
name: string;
|
|
1201
1222
|
currency?: string | undefined;
|
|
1202
|
-
id?: string | undefined;
|
|
1203
1223
|
balance?: number | undefined;
|
|
1204
1224
|
credit?: number | undefined;
|
|
1205
1225
|
debit?: number | undefined;
|
|
@@ -1211,22 +1231,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1211
1231
|
name?: string | undefined;
|
|
1212
1232
|
currency?: string | undefined;
|
|
1213
1233
|
}): import("../types/api").RequestData<{
|
|
1214
|
-
|
|
1234
|
+
id: string;
|
|
1235
|
+
active: boolean;
|
|
1215
1236
|
code?: string | undefined;
|
|
1216
|
-
name
|
|
1237
|
+
name: string;
|
|
1217
1238
|
currency?: string | undefined;
|
|
1218
|
-
id?: string | undefined;
|
|
1219
1239
|
balance?: number | undefined;
|
|
1220
1240
|
credit?: number | undefined;
|
|
1221
1241
|
debit?: number | undefined;
|
|
1222
1242
|
analytic_plan: string;
|
|
1223
1243
|
}>;
|
|
1224
1244
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
1225
|
-
|
|
1245
|
+
id: string;
|
|
1246
|
+
active: boolean;
|
|
1226
1247
|
code?: string | undefined;
|
|
1227
|
-
name
|
|
1248
|
+
name: string;
|
|
1228
1249
|
currency?: string | undefined;
|
|
1229
|
-
id?: string | undefined;
|
|
1230
1250
|
balance?: number | undefined;
|
|
1231
1251
|
credit?: number | undefined;
|
|
1232
1252
|
debit?: number | undefined;
|
|
@@ -1763,6 +1783,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1763
1783
|
category?: string | undefined;
|
|
1764
1784
|
currency?: string | undefined;
|
|
1765
1785
|
description?: string | undefined;
|
|
1786
|
+
available_quantity?: number | undefined;
|
|
1787
|
+
cost?: number | undefined;
|
|
1766
1788
|
}[]>;
|
|
1767
1789
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
1768
1790
|
id: string;
|
|
@@ -1778,6 +1800,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1778
1800
|
category?: string | undefined;
|
|
1779
1801
|
currency?: string | undefined;
|
|
1780
1802
|
description?: string | undefined;
|
|
1803
|
+
available_quantity?: number | undefined;
|
|
1804
|
+
cost?: number | undefined;
|
|
1781
1805
|
}>;
|
|
1782
1806
|
createProduct(product: {
|
|
1783
1807
|
name: string;
|
|
@@ -1802,6 +1826,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1802
1826
|
category?: string | undefined;
|
|
1803
1827
|
currency?: string | undefined;
|
|
1804
1828
|
description?: string | undefined;
|
|
1829
|
+
available_quantity?: number | undefined;
|
|
1830
|
+
cost?: number | undefined;
|
|
1805
1831
|
}>;
|
|
1806
1832
|
getTaxes(): import("../types/api").RequestData<{
|
|
1807
1833
|
id: string;
|
|
@@ -1910,7 +1936,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1910
1936
|
birthdate?: string | undefined;
|
|
1911
1937
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
1912
1938
|
addresses?: {
|
|
1913
|
-
address_type: "main" | "delivery" | "invoice";
|
|
1939
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
1914
1940
|
name?: string | undefined;
|
|
1915
1941
|
number?: string | undefined;
|
|
1916
1942
|
box?: string | undefined;
|
|
@@ -1950,7 +1976,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1950
1976
|
birthdate?: string | undefined;
|
|
1951
1977
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
1952
1978
|
addresses?: {
|
|
1953
|
-
address_type: "main" | "delivery" | "invoice";
|
|
1979
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
1954
1980
|
name?: string | undefined;
|
|
1955
1981
|
number?: string | undefined;
|
|
1956
1982
|
box?: string | undefined;
|
|
@@ -1985,7 +2011,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
1985
2011
|
birthdate?: string | undefined;
|
|
1986
2012
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
1987
2013
|
addresses?: {
|
|
1988
|
-
address_type: "main" | "delivery" | "invoice";
|
|
2014
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
1989
2015
|
name?: string | undefined;
|
|
1990
2016
|
number?: string | undefined;
|
|
1991
2017
|
box?: string | undefined;
|
|
@@ -2024,7 +2050,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
2024
2050
|
birthdate?: string | undefined;
|
|
2025
2051
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
2026
2052
|
addresses?: {
|
|
2027
|
-
address_type: "main" | "delivery" | "invoice";
|
|
2053
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
2028
2054
|
name?: string | undefined;
|
|
2029
2055
|
number?: string | undefined;
|
|
2030
2056
|
box?: string | undefined;
|
|
@@ -2678,11 +2704,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
2678
2704
|
link_mappings?: {
|
|
2679
2705
|
name: string;
|
|
2680
2706
|
description: string;
|
|
2707
|
+
logic?: Record<string, never> | undefined;
|
|
2681
2708
|
values: {
|
|
2682
2709
|
source_id: string;
|
|
2683
2710
|
target_id: string;
|
|
2684
2711
|
}[];
|
|
2685
2712
|
}[] | undefined;
|
|
2713
|
+
link_metadata?: Record<string, never> | undefined;
|
|
2686
2714
|
enabled_flows?: {
|
|
2687
2715
|
name: string;
|
|
2688
2716
|
description?: string | undefined;
|
|
@@ -2707,6 +2735,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
2707
2735
|
}[] | undefined;
|
|
2708
2736
|
} | undefined;
|
|
2709
2737
|
values: Record<string, never>;
|
|
2738
|
+
enabled_on: string;
|
|
2710
2739
|
}[] | undefined;
|
|
2711
2740
|
}>;
|
|
2712
2741
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|
|
@@ -2779,6 +2808,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
2779
2808
|
getSyncUrl: (body: {
|
|
2780
2809
|
syncid: string;
|
|
2781
2810
|
integrationids?: string[] | undefined;
|
|
2811
|
+
link_metadata?: Record<string, never> | undefined;
|
|
2782
2812
|
}) => Promise<{
|
|
2783
2813
|
url: string;
|
|
2784
2814
|
}>;
|
|
@@ -2830,6 +2860,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
2830
2860
|
name?: string | undefined;
|
|
2831
2861
|
total: number;
|
|
2832
2862
|
}[] | undefined;
|
|
2863
|
+
product_id?: string | undefined;
|
|
2833
2864
|
}[];
|
|
2834
2865
|
payments: {
|
|
2835
2866
|
id?: string | undefined;
|
|
@@ -2896,6 +2927,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
2896
2927
|
name?: string | undefined;
|
|
2897
2928
|
total: number;
|
|
2898
2929
|
}[] | undefined;
|
|
2930
|
+
product_id?: string | undefined;
|
|
2899
2931
|
}[];
|
|
2900
2932
|
payments: {
|
|
2901
2933
|
id?: string | undefined;
|
|
@@ -2977,6 +3009,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
2977
3009
|
name: string;
|
|
2978
3010
|
extra?: string | undefined;
|
|
2979
3011
|
}[]>;
|
|
3012
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
3013
|
+
id: string;
|
|
3014
|
+
name: string;
|
|
3015
|
+
description?: string | undefined;
|
|
3016
|
+
id_parent?: string | undefined;
|
|
3017
|
+
}[]>;
|
|
3018
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
3019
|
+
id: string;
|
|
3020
|
+
categories?: string[] | undefined;
|
|
3021
|
+
name: string;
|
|
3022
|
+
description?: string | undefined;
|
|
3023
|
+
prices: {
|
|
3024
|
+
unit_price: number;
|
|
3025
|
+
tax_rate: number;
|
|
3026
|
+
}[];
|
|
3027
|
+
}[]>;
|
|
2980
3028
|
getSales(params: {
|
|
2981
3029
|
date_from: string;
|
|
2982
3030
|
date_to: string;
|
|
@@ -3035,6 +3083,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
3035
3083
|
name?: string | undefined;
|
|
3036
3084
|
total: number;
|
|
3037
3085
|
}[] | undefined;
|
|
3086
|
+
product_id?: string | undefined;
|
|
3038
3087
|
}[];
|
|
3039
3088
|
payments: {
|
|
3040
3089
|
id?: string | undefined;
|
|
@@ -3870,21 +3919,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
3870
3919
|
name: string;
|
|
3871
3920
|
currency: string;
|
|
3872
3921
|
}): import("../types/api").RequestData<{
|
|
3873
|
-
|
|
3922
|
+
id: string;
|
|
3923
|
+
active: boolean;
|
|
3874
3924
|
code?: string | undefined;
|
|
3875
|
-
name
|
|
3925
|
+
name: string;
|
|
3876
3926
|
currency?: string | undefined;
|
|
3877
|
-
id?: string | undefined;
|
|
3878
3927
|
balance?: number | undefined;
|
|
3879
3928
|
credit?: number | undefined;
|
|
3880
3929
|
debit?: number | undefined;
|
|
3881
3930
|
}>;
|
|
3882
3931
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
3883
|
-
|
|
3932
|
+
id: string;
|
|
3933
|
+
active: boolean;
|
|
3884
3934
|
code?: string | undefined;
|
|
3885
|
-
name
|
|
3935
|
+
name: string;
|
|
3886
3936
|
currency?: string | undefined;
|
|
3887
|
-
id?: string | undefined;
|
|
3888
3937
|
balance?: number | undefined;
|
|
3889
3938
|
credit?: number | undefined;
|
|
3890
3939
|
debit?: number | undefined;
|
|
@@ -3895,22 +3944,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
3895
3944
|
name: string;
|
|
3896
3945
|
currency: string;
|
|
3897
3946
|
}): import("../types/api").RequestData<{
|
|
3898
|
-
|
|
3947
|
+
id: string;
|
|
3948
|
+
active: boolean;
|
|
3899
3949
|
code?: string | undefined;
|
|
3900
|
-
name
|
|
3950
|
+
name: string;
|
|
3901
3951
|
currency?: string | undefined;
|
|
3902
|
-
id?: string | undefined;
|
|
3903
3952
|
balance?: number | undefined;
|
|
3904
3953
|
credit?: number | undefined;
|
|
3905
3954
|
debit?: number | undefined;
|
|
3906
3955
|
analytic_plan: string;
|
|
3907
3956
|
}>;
|
|
3908
3957
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
3909
|
-
|
|
3958
|
+
id: string;
|
|
3959
|
+
active: boolean;
|
|
3910
3960
|
code?: string | undefined;
|
|
3911
|
-
name
|
|
3961
|
+
name: string;
|
|
3912
3962
|
currency?: string | undefined;
|
|
3913
|
-
id?: string | undefined;
|
|
3914
3963
|
balance?: number | undefined;
|
|
3915
3964
|
credit?: number | undefined;
|
|
3916
3965
|
debit?: number | undefined;
|
|
@@ -3921,21 +3970,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
3921
3970
|
name?: string | undefined;
|
|
3922
3971
|
currency?: string | undefined;
|
|
3923
3972
|
}): import("../types/api").RequestData<{
|
|
3924
|
-
|
|
3973
|
+
id: string;
|
|
3974
|
+
active: boolean;
|
|
3925
3975
|
code?: string | undefined;
|
|
3926
|
-
name
|
|
3976
|
+
name: string;
|
|
3927
3977
|
currency?: string | undefined;
|
|
3928
|
-
id?: string | undefined;
|
|
3929
3978
|
balance?: number | undefined;
|
|
3930
3979
|
credit?: number | undefined;
|
|
3931
3980
|
debit?: number | undefined;
|
|
3932
3981
|
}>;
|
|
3933
3982
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
3934
|
-
|
|
3983
|
+
id: string;
|
|
3984
|
+
active: boolean;
|
|
3935
3985
|
code?: string | undefined;
|
|
3936
|
-
name
|
|
3986
|
+
name: string;
|
|
3937
3987
|
currency?: string | undefined;
|
|
3938
|
-
id?: string | undefined;
|
|
3939
3988
|
balance?: number | undefined;
|
|
3940
3989
|
credit?: number | undefined;
|
|
3941
3990
|
debit?: number | undefined;
|
|
@@ -3947,22 +3996,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
3947
3996
|
name?: string | undefined;
|
|
3948
3997
|
currency?: string | undefined;
|
|
3949
3998
|
}): import("../types/api").RequestData<{
|
|
3950
|
-
|
|
3999
|
+
id: string;
|
|
4000
|
+
active: boolean;
|
|
3951
4001
|
code?: string | undefined;
|
|
3952
|
-
name
|
|
4002
|
+
name: string;
|
|
3953
4003
|
currency?: string | undefined;
|
|
3954
|
-
id?: string | undefined;
|
|
3955
4004
|
balance?: number | undefined;
|
|
3956
4005
|
credit?: number | undefined;
|
|
3957
4006
|
debit?: number | undefined;
|
|
3958
4007
|
analytic_plan: string;
|
|
3959
4008
|
}>;
|
|
3960
4009
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
3961
|
-
|
|
4010
|
+
id: string;
|
|
4011
|
+
active: boolean;
|
|
3962
4012
|
code?: string | undefined;
|
|
3963
|
-
name
|
|
4013
|
+
name: string;
|
|
3964
4014
|
currency?: string | undefined;
|
|
3965
|
-
id?: string | undefined;
|
|
3966
4015
|
balance?: number | undefined;
|
|
3967
4016
|
credit?: number | undefined;
|
|
3968
4017
|
debit?: number | undefined;
|
|
@@ -4499,6 +4548,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
4499
4548
|
category?: string | undefined;
|
|
4500
4549
|
currency?: string | undefined;
|
|
4501
4550
|
description?: string | undefined;
|
|
4551
|
+
available_quantity?: number | undefined;
|
|
4552
|
+
cost?: number | undefined;
|
|
4502
4553
|
}[]>;
|
|
4503
4554
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
4504
4555
|
id: string;
|
|
@@ -4514,6 +4565,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
4514
4565
|
category?: string | undefined;
|
|
4515
4566
|
currency?: string | undefined;
|
|
4516
4567
|
description?: string | undefined;
|
|
4568
|
+
available_quantity?: number | undefined;
|
|
4569
|
+
cost?: number | undefined;
|
|
4517
4570
|
}>;
|
|
4518
4571
|
createProduct(product: {
|
|
4519
4572
|
name: string;
|
|
@@ -4538,6 +4591,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
4538
4591
|
category?: string | undefined;
|
|
4539
4592
|
currency?: string | undefined;
|
|
4540
4593
|
description?: string | undefined;
|
|
4594
|
+
available_quantity?: number | undefined;
|
|
4595
|
+
cost?: number | undefined;
|
|
4541
4596
|
}>;
|
|
4542
4597
|
getTaxes(): import("../types/api").RequestData<{
|
|
4543
4598
|
id: string;
|
|
@@ -4646,7 +4701,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
4646
4701
|
birthdate?: string | undefined;
|
|
4647
4702
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
4648
4703
|
addresses?: {
|
|
4649
|
-
address_type: "main" | "delivery" | "invoice";
|
|
4704
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
4650
4705
|
name?: string | undefined;
|
|
4651
4706
|
number?: string | undefined;
|
|
4652
4707
|
box?: string | undefined;
|
|
@@ -4686,7 +4741,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
4686
4741
|
birthdate?: string | undefined;
|
|
4687
4742
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
4688
4743
|
addresses?: {
|
|
4689
|
-
address_type: "main" | "delivery" | "invoice";
|
|
4744
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
4690
4745
|
name?: string | undefined;
|
|
4691
4746
|
number?: string | undefined;
|
|
4692
4747
|
box?: string | undefined;
|
|
@@ -4721,7 +4776,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
4721
4776
|
birthdate?: string | undefined;
|
|
4722
4777
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
4723
4778
|
addresses?: {
|
|
4724
|
-
address_type: "main" | "delivery" | "invoice";
|
|
4779
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
4725
4780
|
name?: string | undefined;
|
|
4726
4781
|
number?: string | undefined;
|
|
4727
4782
|
box?: string | undefined;
|
|
@@ -4760,7 +4815,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
4760
4815
|
birthdate?: string | undefined;
|
|
4761
4816
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
4762
4817
|
addresses?: {
|
|
4763
|
-
address_type: "main" | "delivery" | "invoice";
|
|
4818
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
4764
4819
|
name?: string | undefined;
|
|
4765
4820
|
number?: string | undefined;
|
|
4766
4821
|
box?: string | undefined;
|
|
@@ -5414,11 +5469,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
5414
5469
|
link_mappings?: {
|
|
5415
5470
|
name: string;
|
|
5416
5471
|
description: string;
|
|
5472
|
+
logic?: Record<string, never> | undefined;
|
|
5417
5473
|
values: {
|
|
5418
5474
|
source_id: string;
|
|
5419
5475
|
target_id: string;
|
|
5420
5476
|
}[];
|
|
5421
5477
|
}[] | undefined;
|
|
5478
|
+
link_metadata?: Record<string, never> | undefined;
|
|
5422
5479
|
enabled_flows?: {
|
|
5423
5480
|
name: string;
|
|
5424
5481
|
description?: string | undefined;
|
|
@@ -5443,6 +5500,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
5443
5500
|
}[] | undefined;
|
|
5444
5501
|
} | undefined;
|
|
5445
5502
|
values: Record<string, never>;
|
|
5503
|
+
enabled_on: string;
|
|
5446
5504
|
}[] | undefined;
|
|
5447
5505
|
}>;
|
|
5448
5506
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|
|
@@ -5519,6 +5577,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
5519
5577
|
getSyncUrl: (body: {
|
|
5520
5578
|
syncid: string;
|
|
5521
5579
|
integrationids?: string[] | undefined;
|
|
5580
|
+
link_metadata?: Record<string, never> | undefined;
|
|
5522
5581
|
}) => Promise<{
|
|
5523
5582
|
url: string;
|
|
5524
5583
|
}>;
|
|
@@ -5570,6 +5629,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
5570
5629
|
name?: string | undefined;
|
|
5571
5630
|
total: number;
|
|
5572
5631
|
}[] | undefined;
|
|
5632
|
+
product_id?: string | undefined;
|
|
5573
5633
|
}[];
|
|
5574
5634
|
payments: {
|
|
5575
5635
|
id?: string | undefined;
|
|
@@ -5636,6 +5696,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
5636
5696
|
name?: string | undefined;
|
|
5637
5697
|
total: number;
|
|
5638
5698
|
}[] | undefined;
|
|
5699
|
+
product_id?: string | undefined;
|
|
5639
5700
|
}[];
|
|
5640
5701
|
payments: {
|
|
5641
5702
|
id?: string | undefined;
|
|
@@ -5717,6 +5778,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
5717
5778
|
name: string;
|
|
5718
5779
|
extra?: string | undefined;
|
|
5719
5780
|
}[]>;
|
|
5781
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
5782
|
+
id: string;
|
|
5783
|
+
name: string;
|
|
5784
|
+
description?: string | undefined;
|
|
5785
|
+
id_parent?: string | undefined;
|
|
5786
|
+
}[]>;
|
|
5787
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
5788
|
+
id: string;
|
|
5789
|
+
categories?: string[] | undefined;
|
|
5790
|
+
name: string;
|
|
5791
|
+
description?: string | undefined;
|
|
5792
|
+
prices: {
|
|
5793
|
+
unit_price: number;
|
|
5794
|
+
tax_rate: number;
|
|
5795
|
+
}[];
|
|
5796
|
+
}[]>;
|
|
5720
5797
|
getSales(params: {
|
|
5721
5798
|
date_from: string;
|
|
5722
5799
|
date_to: string;
|
|
@@ -5775,6 +5852,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
5775
5852
|
name?: string | undefined;
|
|
5776
5853
|
total: number;
|
|
5777
5854
|
}[] | undefined;
|
|
5855
|
+
product_id?: string | undefined;
|
|
5778
5856
|
}[];
|
|
5779
5857
|
payments: {
|
|
5780
5858
|
id?: string | undefined;
|
|
@@ -6610,21 +6688,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
6610
6688
|
name: string;
|
|
6611
6689
|
currency: string;
|
|
6612
6690
|
}): import("../types/api").RequestData<{
|
|
6613
|
-
|
|
6691
|
+
id: string;
|
|
6692
|
+
active: boolean;
|
|
6614
6693
|
code?: string | undefined;
|
|
6615
|
-
name
|
|
6694
|
+
name: string;
|
|
6616
6695
|
currency?: string | undefined;
|
|
6617
|
-
id?: string | undefined;
|
|
6618
6696
|
balance?: number | undefined;
|
|
6619
6697
|
credit?: number | undefined;
|
|
6620
6698
|
debit?: number | undefined;
|
|
6621
6699
|
}>;
|
|
6622
6700
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
6623
|
-
|
|
6701
|
+
id: string;
|
|
6702
|
+
active: boolean;
|
|
6624
6703
|
code?: string | undefined;
|
|
6625
|
-
name
|
|
6704
|
+
name: string;
|
|
6626
6705
|
currency?: string | undefined;
|
|
6627
|
-
id?: string | undefined;
|
|
6628
6706
|
balance?: number | undefined;
|
|
6629
6707
|
credit?: number | undefined;
|
|
6630
6708
|
debit?: number | undefined;
|
|
@@ -6635,22 +6713,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
6635
6713
|
name: string;
|
|
6636
6714
|
currency: string;
|
|
6637
6715
|
}): import("../types/api").RequestData<{
|
|
6638
|
-
|
|
6716
|
+
id: string;
|
|
6717
|
+
active: boolean;
|
|
6639
6718
|
code?: string | undefined;
|
|
6640
|
-
name
|
|
6719
|
+
name: string;
|
|
6641
6720
|
currency?: string | undefined;
|
|
6642
|
-
id?: string | undefined;
|
|
6643
6721
|
balance?: number | undefined;
|
|
6644
6722
|
credit?: number | undefined;
|
|
6645
6723
|
debit?: number | undefined;
|
|
6646
6724
|
analytic_plan: string;
|
|
6647
6725
|
}>;
|
|
6648
6726
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
6649
|
-
|
|
6727
|
+
id: string;
|
|
6728
|
+
active: boolean;
|
|
6650
6729
|
code?: string | undefined;
|
|
6651
|
-
name
|
|
6730
|
+
name: string;
|
|
6652
6731
|
currency?: string | undefined;
|
|
6653
|
-
id?: string | undefined;
|
|
6654
6732
|
balance?: number | undefined;
|
|
6655
6733
|
credit?: number | undefined;
|
|
6656
6734
|
debit?: number | undefined;
|
|
@@ -6661,21 +6739,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
6661
6739
|
name?: string | undefined;
|
|
6662
6740
|
currency?: string | undefined;
|
|
6663
6741
|
}): import("../types/api").RequestData<{
|
|
6664
|
-
|
|
6742
|
+
id: string;
|
|
6743
|
+
active: boolean;
|
|
6665
6744
|
code?: string | undefined;
|
|
6666
|
-
name
|
|
6745
|
+
name: string;
|
|
6667
6746
|
currency?: string | undefined;
|
|
6668
|
-
id?: string | undefined;
|
|
6669
6747
|
balance?: number | undefined;
|
|
6670
6748
|
credit?: number | undefined;
|
|
6671
6749
|
debit?: number | undefined;
|
|
6672
6750
|
}>;
|
|
6673
6751
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
6674
|
-
|
|
6752
|
+
id: string;
|
|
6753
|
+
active: boolean;
|
|
6675
6754
|
code?: string | undefined;
|
|
6676
|
-
name
|
|
6755
|
+
name: string;
|
|
6677
6756
|
currency?: string | undefined;
|
|
6678
|
-
id?: string | undefined;
|
|
6679
6757
|
balance?: number | undefined;
|
|
6680
6758
|
credit?: number | undefined;
|
|
6681
6759
|
debit?: number | undefined;
|
|
@@ -6687,22 +6765,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
6687
6765
|
name?: string | undefined;
|
|
6688
6766
|
currency?: string | undefined;
|
|
6689
6767
|
}): import("../types/api").RequestData<{
|
|
6690
|
-
|
|
6768
|
+
id: string;
|
|
6769
|
+
active: boolean;
|
|
6691
6770
|
code?: string | undefined;
|
|
6692
|
-
name
|
|
6771
|
+
name: string;
|
|
6693
6772
|
currency?: string | undefined;
|
|
6694
|
-
id?: string | undefined;
|
|
6695
6773
|
balance?: number | undefined;
|
|
6696
6774
|
credit?: number | undefined;
|
|
6697
6775
|
debit?: number | undefined;
|
|
6698
6776
|
analytic_plan: string;
|
|
6699
6777
|
}>;
|
|
6700
6778
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
6701
|
-
|
|
6779
|
+
id: string;
|
|
6780
|
+
active: boolean;
|
|
6702
6781
|
code?: string | undefined;
|
|
6703
|
-
name
|
|
6782
|
+
name: string;
|
|
6704
6783
|
currency?: string | undefined;
|
|
6705
|
-
id?: string | undefined;
|
|
6706
6784
|
balance?: number | undefined;
|
|
6707
6785
|
credit?: number | undefined;
|
|
6708
6786
|
debit?: number | undefined;
|
|
@@ -7239,6 +7317,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
7239
7317
|
category?: string | undefined;
|
|
7240
7318
|
currency?: string | undefined;
|
|
7241
7319
|
description?: string | undefined;
|
|
7320
|
+
available_quantity?: number | undefined;
|
|
7321
|
+
cost?: number | undefined;
|
|
7242
7322
|
}[]>;
|
|
7243
7323
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
7244
7324
|
id: string;
|
|
@@ -7254,6 +7334,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
7254
7334
|
category?: string | undefined;
|
|
7255
7335
|
currency?: string | undefined;
|
|
7256
7336
|
description?: string | undefined;
|
|
7337
|
+
available_quantity?: number | undefined;
|
|
7338
|
+
cost?: number | undefined;
|
|
7257
7339
|
}>;
|
|
7258
7340
|
createProduct(product: {
|
|
7259
7341
|
name: string;
|
|
@@ -7278,6 +7360,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
7278
7360
|
category?: string | undefined;
|
|
7279
7361
|
currency?: string | undefined;
|
|
7280
7362
|
description?: string | undefined;
|
|
7363
|
+
available_quantity?: number | undefined;
|
|
7364
|
+
cost?: number | undefined;
|
|
7281
7365
|
}>;
|
|
7282
7366
|
getTaxes(): import("../types/api").RequestData<{
|
|
7283
7367
|
id: string;
|
|
@@ -7386,7 +7470,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
7386
7470
|
birthdate?: string | undefined;
|
|
7387
7471
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
7388
7472
|
addresses?: {
|
|
7389
|
-
address_type: "main" | "delivery" | "invoice";
|
|
7473
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
7390
7474
|
name?: string | undefined;
|
|
7391
7475
|
number?: string | undefined;
|
|
7392
7476
|
box?: string | undefined;
|
|
@@ -7426,7 +7510,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
7426
7510
|
birthdate?: string | undefined;
|
|
7427
7511
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
7428
7512
|
addresses?: {
|
|
7429
|
-
address_type: "main" | "delivery" | "invoice";
|
|
7513
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
7430
7514
|
name?: string | undefined;
|
|
7431
7515
|
number?: string | undefined;
|
|
7432
7516
|
box?: string | undefined;
|
|
@@ -7461,7 +7545,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
7461
7545
|
birthdate?: string | undefined;
|
|
7462
7546
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
7463
7547
|
addresses?: {
|
|
7464
|
-
address_type: "main" | "delivery" | "invoice";
|
|
7548
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
7465
7549
|
name?: string | undefined;
|
|
7466
7550
|
number?: string | undefined;
|
|
7467
7551
|
box?: string | undefined;
|
|
@@ -7500,7 +7584,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
7500
7584
|
birthdate?: string | undefined;
|
|
7501
7585
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
7502
7586
|
addresses?: {
|
|
7503
|
-
address_type: "main" | "delivery" | "invoice";
|
|
7587
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
7504
7588
|
name?: string | undefined;
|
|
7505
7589
|
number?: string | undefined;
|
|
7506
7590
|
box?: string | undefined;
|
|
@@ -8154,11 +8238,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
8154
8238
|
link_mappings?: {
|
|
8155
8239
|
name: string;
|
|
8156
8240
|
description: string;
|
|
8241
|
+
logic?: Record<string, never> | undefined;
|
|
8157
8242
|
values: {
|
|
8158
8243
|
source_id: string;
|
|
8159
8244
|
target_id: string;
|
|
8160
8245
|
}[];
|
|
8161
8246
|
}[] | undefined;
|
|
8247
|
+
link_metadata?: Record<string, never> | undefined;
|
|
8162
8248
|
enabled_flows?: {
|
|
8163
8249
|
name: string;
|
|
8164
8250
|
description?: string | undefined;
|
|
@@ -8183,6 +8269,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
8183
8269
|
}[] | undefined;
|
|
8184
8270
|
} | undefined;
|
|
8185
8271
|
values: Record<string, never>;
|
|
8272
|
+
enabled_on: string;
|
|
8186
8273
|
}[] | undefined;
|
|
8187
8274
|
}>;
|
|
8188
8275
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|
|
@@ -8259,6 +8346,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
8259
8346
|
getSyncUrl: (body: {
|
|
8260
8347
|
syncid: string;
|
|
8261
8348
|
integrationids?: string[] | undefined;
|
|
8349
|
+
link_metadata?: Record<string, never> | undefined;
|
|
8262
8350
|
}) => Promise<{
|
|
8263
8351
|
url: string;
|
|
8264
8352
|
}>;
|
|
@@ -8310,6 +8398,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
8310
8398
|
name?: string | undefined;
|
|
8311
8399
|
total: number;
|
|
8312
8400
|
}[] | undefined;
|
|
8401
|
+
product_id?: string | undefined;
|
|
8313
8402
|
}[];
|
|
8314
8403
|
payments: {
|
|
8315
8404
|
id?: string | undefined;
|
|
@@ -8376,6 +8465,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
8376
8465
|
name?: string | undefined;
|
|
8377
8466
|
total: number;
|
|
8378
8467
|
}[] | undefined;
|
|
8468
|
+
product_id?: string | undefined;
|
|
8379
8469
|
}[];
|
|
8380
8470
|
payments: {
|
|
8381
8471
|
id?: string | undefined;
|
|
@@ -8457,6 +8547,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
8457
8547
|
name: string;
|
|
8458
8548
|
extra?: string | undefined;
|
|
8459
8549
|
}[]>;
|
|
8550
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
8551
|
+
id: string;
|
|
8552
|
+
name: string;
|
|
8553
|
+
description?: string | undefined;
|
|
8554
|
+
id_parent?: string | undefined;
|
|
8555
|
+
}[]>;
|
|
8556
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
8557
|
+
id: string;
|
|
8558
|
+
categories?: string[] | undefined;
|
|
8559
|
+
name: string;
|
|
8560
|
+
description?: string | undefined;
|
|
8561
|
+
prices: {
|
|
8562
|
+
unit_price: number;
|
|
8563
|
+
tax_rate: number;
|
|
8564
|
+
}[];
|
|
8565
|
+
}[]>;
|
|
8460
8566
|
getSales(params: {
|
|
8461
8567
|
date_from: string;
|
|
8462
8568
|
date_to: string;
|
|
@@ -8515,6 +8621,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
8515
8621
|
name?: string | undefined;
|
|
8516
8622
|
total: number;
|
|
8517
8623
|
}[] | undefined;
|
|
8624
|
+
product_id?: string | undefined;
|
|
8518
8625
|
}[];
|
|
8519
8626
|
payments: {
|
|
8520
8627
|
id?: string | undefined;
|
|
@@ -9350,21 +9457,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
9350
9457
|
name: string;
|
|
9351
9458
|
currency: string;
|
|
9352
9459
|
}): import("../types/api").RequestData<{
|
|
9353
|
-
|
|
9460
|
+
id: string;
|
|
9461
|
+
active: boolean;
|
|
9354
9462
|
code?: string | undefined;
|
|
9355
|
-
name
|
|
9463
|
+
name: string;
|
|
9356
9464
|
currency?: string | undefined;
|
|
9357
|
-
id?: string | undefined;
|
|
9358
9465
|
balance?: number | undefined;
|
|
9359
9466
|
credit?: number | undefined;
|
|
9360
9467
|
debit?: number | undefined;
|
|
9361
9468
|
}>;
|
|
9362
9469
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
9363
|
-
|
|
9470
|
+
id: string;
|
|
9471
|
+
active: boolean;
|
|
9364
9472
|
code?: string | undefined;
|
|
9365
|
-
name
|
|
9473
|
+
name: string;
|
|
9366
9474
|
currency?: string | undefined;
|
|
9367
|
-
id?: string | undefined;
|
|
9368
9475
|
balance?: number | undefined;
|
|
9369
9476
|
credit?: number | undefined;
|
|
9370
9477
|
debit?: number | undefined;
|
|
@@ -9375,22 +9482,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
9375
9482
|
name: string;
|
|
9376
9483
|
currency: string;
|
|
9377
9484
|
}): import("../types/api").RequestData<{
|
|
9378
|
-
|
|
9485
|
+
id: string;
|
|
9486
|
+
active: boolean;
|
|
9379
9487
|
code?: string | undefined;
|
|
9380
|
-
name
|
|
9488
|
+
name: string;
|
|
9381
9489
|
currency?: string | undefined;
|
|
9382
|
-
id?: string | undefined;
|
|
9383
9490
|
balance?: number | undefined;
|
|
9384
9491
|
credit?: number | undefined;
|
|
9385
9492
|
debit?: number | undefined;
|
|
9386
9493
|
analytic_plan: string;
|
|
9387
9494
|
}>;
|
|
9388
9495
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
9389
|
-
|
|
9496
|
+
id: string;
|
|
9497
|
+
active: boolean;
|
|
9390
9498
|
code?: string | undefined;
|
|
9391
|
-
name
|
|
9499
|
+
name: string;
|
|
9392
9500
|
currency?: string | undefined;
|
|
9393
|
-
id?: string | undefined;
|
|
9394
9501
|
balance?: number | undefined;
|
|
9395
9502
|
credit?: number | undefined;
|
|
9396
9503
|
debit?: number | undefined;
|
|
@@ -9401,21 +9508,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
9401
9508
|
name?: string | undefined;
|
|
9402
9509
|
currency?: string | undefined;
|
|
9403
9510
|
}): import("../types/api").RequestData<{
|
|
9404
|
-
|
|
9511
|
+
id: string;
|
|
9512
|
+
active: boolean;
|
|
9405
9513
|
code?: string | undefined;
|
|
9406
|
-
name
|
|
9514
|
+
name: string;
|
|
9407
9515
|
currency?: string | undefined;
|
|
9408
|
-
id?: string | undefined;
|
|
9409
9516
|
balance?: number | undefined;
|
|
9410
9517
|
credit?: number | undefined;
|
|
9411
9518
|
debit?: number | undefined;
|
|
9412
9519
|
}>;
|
|
9413
9520
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
9414
|
-
|
|
9521
|
+
id: string;
|
|
9522
|
+
active: boolean;
|
|
9415
9523
|
code?: string | undefined;
|
|
9416
|
-
name
|
|
9524
|
+
name: string;
|
|
9417
9525
|
currency?: string | undefined;
|
|
9418
|
-
id?: string | undefined;
|
|
9419
9526
|
balance?: number | undefined;
|
|
9420
9527
|
credit?: number | undefined;
|
|
9421
9528
|
debit?: number | undefined;
|
|
@@ -9427,22 +9534,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
9427
9534
|
name?: string | undefined;
|
|
9428
9535
|
currency?: string | undefined;
|
|
9429
9536
|
}): import("../types/api").RequestData<{
|
|
9430
|
-
|
|
9537
|
+
id: string;
|
|
9538
|
+
active: boolean;
|
|
9431
9539
|
code?: string | undefined;
|
|
9432
|
-
name
|
|
9540
|
+
name: string;
|
|
9433
9541
|
currency?: string | undefined;
|
|
9434
|
-
id?: string | undefined;
|
|
9435
9542
|
balance?: number | undefined;
|
|
9436
9543
|
credit?: number | undefined;
|
|
9437
9544
|
debit?: number | undefined;
|
|
9438
9545
|
analytic_plan: string;
|
|
9439
9546
|
}>;
|
|
9440
9547
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
9441
|
-
|
|
9548
|
+
id: string;
|
|
9549
|
+
active: boolean;
|
|
9442
9550
|
code?: string | undefined;
|
|
9443
|
-
name
|
|
9551
|
+
name: string;
|
|
9444
9552
|
currency?: string | undefined;
|
|
9445
|
-
id?: string | undefined;
|
|
9446
9553
|
balance?: number | undefined;
|
|
9447
9554
|
credit?: number | undefined;
|
|
9448
9555
|
debit?: number | undefined;
|
|
@@ -9979,6 +10086,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
9979
10086
|
category?: string | undefined;
|
|
9980
10087
|
currency?: string | undefined;
|
|
9981
10088
|
description?: string | undefined;
|
|
10089
|
+
available_quantity?: number | undefined;
|
|
10090
|
+
cost?: number | undefined;
|
|
9982
10091
|
}[]>;
|
|
9983
10092
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
9984
10093
|
id: string;
|
|
@@ -9994,6 +10103,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
9994
10103
|
category?: string | undefined;
|
|
9995
10104
|
currency?: string | undefined;
|
|
9996
10105
|
description?: string | undefined;
|
|
10106
|
+
available_quantity?: number | undefined;
|
|
10107
|
+
cost?: number | undefined;
|
|
9997
10108
|
}>;
|
|
9998
10109
|
createProduct(product: {
|
|
9999
10110
|
name: string;
|
|
@@ -10018,6 +10129,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
10018
10129
|
category?: string | undefined;
|
|
10019
10130
|
currency?: string | undefined;
|
|
10020
10131
|
description?: string | undefined;
|
|
10132
|
+
available_quantity?: number | undefined;
|
|
10133
|
+
cost?: number | undefined;
|
|
10021
10134
|
}>;
|
|
10022
10135
|
getTaxes(): import("../types/api").RequestData<{
|
|
10023
10136
|
id: string;
|
|
@@ -10126,7 +10239,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
10126
10239
|
birthdate?: string | undefined;
|
|
10127
10240
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
10128
10241
|
addresses?: {
|
|
10129
|
-
address_type: "main" | "delivery" | "invoice";
|
|
10242
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
10130
10243
|
name?: string | undefined;
|
|
10131
10244
|
number?: string | undefined;
|
|
10132
10245
|
box?: string | undefined;
|
|
@@ -10166,7 +10279,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
10166
10279
|
birthdate?: string | undefined;
|
|
10167
10280
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
10168
10281
|
addresses?: {
|
|
10169
|
-
address_type: "main" | "delivery" | "invoice";
|
|
10282
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
10170
10283
|
name?: string | undefined;
|
|
10171
10284
|
number?: string | undefined;
|
|
10172
10285
|
box?: string | undefined;
|
|
@@ -10201,7 +10314,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
10201
10314
|
birthdate?: string | undefined;
|
|
10202
10315
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
10203
10316
|
addresses?: {
|
|
10204
|
-
address_type: "main" | "delivery" | "invoice";
|
|
10317
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
10205
10318
|
name?: string | undefined;
|
|
10206
10319
|
number?: string | undefined;
|
|
10207
10320
|
box?: string | undefined;
|
|
@@ -10240,7 +10353,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
10240
10353
|
birthdate?: string | undefined;
|
|
10241
10354
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
10242
10355
|
addresses?: {
|
|
10243
|
-
address_type: "main" | "delivery" | "invoice";
|
|
10356
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
10244
10357
|
name?: string | undefined;
|
|
10245
10358
|
number?: string | undefined;
|
|
10246
10359
|
box?: string | undefined;
|
|
@@ -10894,11 +11007,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
10894
11007
|
link_mappings?: {
|
|
10895
11008
|
name: string;
|
|
10896
11009
|
description: string;
|
|
11010
|
+
logic?: Record<string, never> | undefined;
|
|
10897
11011
|
values: {
|
|
10898
11012
|
source_id: string;
|
|
10899
11013
|
target_id: string;
|
|
10900
11014
|
}[];
|
|
10901
11015
|
}[] | undefined;
|
|
11016
|
+
link_metadata?: Record<string, never> | undefined;
|
|
10902
11017
|
enabled_flows?: {
|
|
10903
11018
|
name: string;
|
|
10904
11019
|
description?: string | undefined;
|
|
@@ -10923,6 +11038,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
10923
11038
|
}[] | undefined;
|
|
10924
11039
|
} | undefined;
|
|
10925
11040
|
values: Record<string, never>;
|
|
11041
|
+
enabled_on: string;
|
|
10926
11042
|
}[] | undefined;
|
|
10927
11043
|
}>;
|
|
10928
11044
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|
|
@@ -10999,6 +11115,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
10999
11115
|
getSyncUrl: (body: {
|
|
11000
11116
|
syncid: string;
|
|
11001
11117
|
integrationids?: string[] | undefined;
|
|
11118
|
+
link_metadata?: Record<string, never> | undefined;
|
|
11002
11119
|
}) => Promise<{
|
|
11003
11120
|
url: string;
|
|
11004
11121
|
}>;
|
|
@@ -11050,6 +11167,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
11050
11167
|
name?: string | undefined;
|
|
11051
11168
|
total: number;
|
|
11052
11169
|
}[] | undefined;
|
|
11170
|
+
product_id?: string | undefined;
|
|
11053
11171
|
}[];
|
|
11054
11172
|
payments: {
|
|
11055
11173
|
id?: string | undefined;
|
|
@@ -11116,6 +11234,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
11116
11234
|
name?: string | undefined;
|
|
11117
11235
|
total: number;
|
|
11118
11236
|
}[] | undefined;
|
|
11237
|
+
product_id?: string | undefined;
|
|
11119
11238
|
}[];
|
|
11120
11239
|
payments: {
|
|
11121
11240
|
id?: string | undefined;
|
|
@@ -11197,6 +11316,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
11197
11316
|
name: string;
|
|
11198
11317
|
extra?: string | undefined;
|
|
11199
11318
|
}[]>;
|
|
11319
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
11320
|
+
id: string;
|
|
11321
|
+
name: string;
|
|
11322
|
+
description?: string | undefined;
|
|
11323
|
+
id_parent?: string | undefined;
|
|
11324
|
+
}[]>;
|
|
11325
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
11326
|
+
id: string;
|
|
11327
|
+
categories?: string[] | undefined;
|
|
11328
|
+
name: string;
|
|
11329
|
+
description?: string | undefined;
|
|
11330
|
+
prices: {
|
|
11331
|
+
unit_price: number;
|
|
11332
|
+
tax_rate: number;
|
|
11333
|
+
}[];
|
|
11334
|
+
}[]>;
|
|
11200
11335
|
getSales(params: {
|
|
11201
11336
|
date_from: string;
|
|
11202
11337
|
date_to: string;
|
|
@@ -11255,6 +11390,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
11255
11390
|
name?: string | undefined;
|
|
11256
11391
|
total: number;
|
|
11257
11392
|
}[] | undefined;
|
|
11393
|
+
product_id?: string | undefined;
|
|
11258
11394
|
}[];
|
|
11259
11395
|
payments: {
|
|
11260
11396
|
id?: string | undefined;
|
|
@@ -12090,21 +12226,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12090
12226
|
name: string;
|
|
12091
12227
|
currency: string;
|
|
12092
12228
|
}): import("../types/api").RequestData<{
|
|
12093
|
-
|
|
12229
|
+
id: string;
|
|
12230
|
+
active: boolean;
|
|
12094
12231
|
code?: string | undefined;
|
|
12095
|
-
name
|
|
12232
|
+
name: string;
|
|
12096
12233
|
currency?: string | undefined;
|
|
12097
|
-
id?: string | undefined;
|
|
12098
12234
|
balance?: number | undefined;
|
|
12099
12235
|
credit?: number | undefined;
|
|
12100
12236
|
debit?: number | undefined;
|
|
12101
12237
|
}>;
|
|
12102
12238
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
12103
|
-
|
|
12239
|
+
id: string;
|
|
12240
|
+
active: boolean;
|
|
12104
12241
|
code?: string | undefined;
|
|
12105
|
-
name
|
|
12242
|
+
name: string;
|
|
12106
12243
|
currency?: string | undefined;
|
|
12107
|
-
id?: string | undefined;
|
|
12108
12244
|
balance?: number | undefined;
|
|
12109
12245
|
credit?: number | undefined;
|
|
12110
12246
|
debit?: number | undefined;
|
|
@@ -12115,22 +12251,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12115
12251
|
name: string;
|
|
12116
12252
|
currency: string;
|
|
12117
12253
|
}): import("../types/api").RequestData<{
|
|
12118
|
-
|
|
12254
|
+
id: string;
|
|
12255
|
+
active: boolean;
|
|
12119
12256
|
code?: string | undefined;
|
|
12120
|
-
name
|
|
12257
|
+
name: string;
|
|
12121
12258
|
currency?: string | undefined;
|
|
12122
|
-
id?: string | undefined;
|
|
12123
12259
|
balance?: number | undefined;
|
|
12124
12260
|
credit?: number | undefined;
|
|
12125
12261
|
debit?: number | undefined;
|
|
12126
12262
|
analytic_plan: string;
|
|
12127
12263
|
}>;
|
|
12128
12264
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
12129
|
-
|
|
12265
|
+
id: string;
|
|
12266
|
+
active: boolean;
|
|
12130
12267
|
code?: string | undefined;
|
|
12131
|
-
name
|
|
12268
|
+
name: string;
|
|
12132
12269
|
currency?: string | undefined;
|
|
12133
|
-
id?: string | undefined;
|
|
12134
12270
|
balance?: number | undefined;
|
|
12135
12271
|
credit?: number | undefined;
|
|
12136
12272
|
debit?: number | undefined;
|
|
@@ -12141,21 +12277,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12141
12277
|
name?: string | undefined;
|
|
12142
12278
|
currency?: string | undefined;
|
|
12143
12279
|
}): import("../types/api").RequestData<{
|
|
12144
|
-
|
|
12280
|
+
id: string;
|
|
12281
|
+
active: boolean;
|
|
12145
12282
|
code?: string | undefined;
|
|
12146
|
-
name
|
|
12283
|
+
name: string;
|
|
12147
12284
|
currency?: string | undefined;
|
|
12148
|
-
id?: string | undefined;
|
|
12149
12285
|
balance?: number | undefined;
|
|
12150
12286
|
credit?: number | undefined;
|
|
12151
12287
|
debit?: number | undefined;
|
|
12152
12288
|
}>;
|
|
12153
12289
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
12154
|
-
|
|
12290
|
+
id: string;
|
|
12291
|
+
active: boolean;
|
|
12155
12292
|
code?: string | undefined;
|
|
12156
|
-
name
|
|
12293
|
+
name: string;
|
|
12157
12294
|
currency?: string | undefined;
|
|
12158
|
-
id?: string | undefined;
|
|
12159
12295
|
balance?: number | undefined;
|
|
12160
12296
|
credit?: number | undefined;
|
|
12161
12297
|
debit?: number | undefined;
|
|
@@ -12167,22 +12303,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12167
12303
|
name?: string | undefined;
|
|
12168
12304
|
currency?: string | undefined;
|
|
12169
12305
|
}): import("../types/api").RequestData<{
|
|
12170
|
-
|
|
12306
|
+
id: string;
|
|
12307
|
+
active: boolean;
|
|
12171
12308
|
code?: string | undefined;
|
|
12172
|
-
name
|
|
12309
|
+
name: string;
|
|
12173
12310
|
currency?: string | undefined;
|
|
12174
|
-
id?: string | undefined;
|
|
12175
12311
|
balance?: number | undefined;
|
|
12176
12312
|
credit?: number | undefined;
|
|
12177
12313
|
debit?: number | undefined;
|
|
12178
12314
|
analytic_plan: string;
|
|
12179
12315
|
}>;
|
|
12180
12316
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
12181
|
-
|
|
12317
|
+
id: string;
|
|
12318
|
+
active: boolean;
|
|
12182
12319
|
code?: string | undefined;
|
|
12183
|
-
name
|
|
12320
|
+
name: string;
|
|
12184
12321
|
currency?: string | undefined;
|
|
12185
|
-
id?: string | undefined;
|
|
12186
12322
|
balance?: number | undefined;
|
|
12187
12323
|
credit?: number | undefined;
|
|
12188
12324
|
debit?: number | undefined;
|
|
@@ -12719,6 +12855,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12719
12855
|
category?: string | undefined;
|
|
12720
12856
|
currency?: string | undefined;
|
|
12721
12857
|
description?: string | undefined;
|
|
12858
|
+
available_quantity?: number | undefined;
|
|
12859
|
+
cost?: number | undefined;
|
|
12722
12860
|
}[]>;
|
|
12723
12861
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
12724
12862
|
id: string;
|
|
@@ -12734,6 +12872,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12734
12872
|
category?: string | undefined;
|
|
12735
12873
|
currency?: string | undefined;
|
|
12736
12874
|
description?: string | undefined;
|
|
12875
|
+
available_quantity?: number | undefined;
|
|
12876
|
+
cost?: number | undefined;
|
|
12737
12877
|
}>;
|
|
12738
12878
|
createProduct(product: {
|
|
12739
12879
|
name: string;
|
|
@@ -12758,6 +12898,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12758
12898
|
category?: string | undefined;
|
|
12759
12899
|
currency?: string | undefined;
|
|
12760
12900
|
description?: string | undefined;
|
|
12901
|
+
available_quantity?: number | undefined;
|
|
12902
|
+
cost?: number | undefined;
|
|
12761
12903
|
}>;
|
|
12762
12904
|
getTaxes(): import("../types/api").RequestData<{
|
|
12763
12905
|
id: string;
|
|
@@ -12866,7 +13008,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12866
13008
|
birthdate?: string | undefined;
|
|
12867
13009
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
12868
13010
|
addresses?: {
|
|
12869
|
-
address_type: "main" | "delivery" | "invoice";
|
|
13011
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
12870
13012
|
name?: string | undefined;
|
|
12871
13013
|
number?: string | undefined;
|
|
12872
13014
|
box?: string | undefined;
|
|
@@ -12906,7 +13048,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12906
13048
|
birthdate?: string | undefined;
|
|
12907
13049
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
12908
13050
|
addresses?: {
|
|
12909
|
-
address_type: "main" | "delivery" | "invoice";
|
|
13051
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
12910
13052
|
name?: string | undefined;
|
|
12911
13053
|
number?: string | undefined;
|
|
12912
13054
|
box?: string | undefined;
|
|
@@ -12941,7 +13083,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12941
13083
|
birthdate?: string | undefined;
|
|
12942
13084
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
12943
13085
|
addresses?: {
|
|
12944
|
-
address_type: "main" | "delivery" | "invoice";
|
|
13086
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
12945
13087
|
name?: string | undefined;
|
|
12946
13088
|
number?: string | undefined;
|
|
12947
13089
|
box?: string | undefined;
|
|
@@ -12980,7 +13122,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
12980
13122
|
birthdate?: string | undefined;
|
|
12981
13123
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
12982
13124
|
addresses?: {
|
|
12983
|
-
address_type: "main" | "delivery" | "invoice";
|
|
13125
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
12984
13126
|
name?: string | undefined;
|
|
12985
13127
|
number?: string | undefined;
|
|
12986
13128
|
box?: string | undefined;
|
|
@@ -13634,11 +13776,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
13634
13776
|
link_mappings?: {
|
|
13635
13777
|
name: string;
|
|
13636
13778
|
description: string;
|
|
13779
|
+
logic?: Record<string, never> | undefined;
|
|
13637
13780
|
values: {
|
|
13638
13781
|
source_id: string;
|
|
13639
13782
|
target_id: string;
|
|
13640
13783
|
}[];
|
|
13641
13784
|
}[] | undefined;
|
|
13785
|
+
link_metadata?: Record<string, never> | undefined;
|
|
13642
13786
|
enabled_flows?: {
|
|
13643
13787
|
name: string;
|
|
13644
13788
|
description?: string | undefined;
|
|
@@ -13663,6 +13807,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
13663
13807
|
}[] | undefined;
|
|
13664
13808
|
} | undefined;
|
|
13665
13809
|
values: Record<string, never>;
|
|
13810
|
+
enabled_on: string;
|
|
13666
13811
|
}[] | undefined;
|
|
13667
13812
|
}>;
|
|
13668
13813
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|
|
@@ -13736,6 +13881,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
13736
13881
|
getSyncUrl: (body: {
|
|
13737
13882
|
syncid: string;
|
|
13738
13883
|
integrationids?: string[] | undefined;
|
|
13884
|
+
link_metadata?: Record<string, never> | undefined;
|
|
13739
13885
|
}) => Promise<{
|
|
13740
13886
|
url: string;
|
|
13741
13887
|
}>;
|
|
@@ -13787,6 +13933,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
13787
13933
|
name?: string | undefined;
|
|
13788
13934
|
total: number;
|
|
13789
13935
|
}[] | undefined;
|
|
13936
|
+
product_id?: string | undefined;
|
|
13790
13937
|
}[];
|
|
13791
13938
|
payments: {
|
|
13792
13939
|
id?: string | undefined;
|
|
@@ -13853,6 +14000,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
13853
14000
|
name?: string | undefined;
|
|
13854
14001
|
total: number;
|
|
13855
14002
|
}[] | undefined;
|
|
14003
|
+
product_id?: string | undefined;
|
|
13856
14004
|
}[];
|
|
13857
14005
|
payments: {
|
|
13858
14006
|
id?: string | undefined;
|
|
@@ -13934,6 +14082,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
13934
14082
|
name: string;
|
|
13935
14083
|
extra?: string | undefined;
|
|
13936
14084
|
}[]>;
|
|
14085
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
14086
|
+
id: string;
|
|
14087
|
+
name: string;
|
|
14088
|
+
description?: string | undefined;
|
|
14089
|
+
id_parent?: string | undefined;
|
|
14090
|
+
}[]>;
|
|
14091
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
14092
|
+
id: string;
|
|
14093
|
+
categories?: string[] | undefined;
|
|
14094
|
+
name: string;
|
|
14095
|
+
description?: string | undefined;
|
|
14096
|
+
prices: {
|
|
14097
|
+
unit_price: number;
|
|
14098
|
+
tax_rate: number;
|
|
14099
|
+
}[];
|
|
14100
|
+
}[]>;
|
|
13937
14101
|
getSales(params: {
|
|
13938
14102
|
date_from: string;
|
|
13939
14103
|
date_to: string;
|
|
@@ -13992,6 +14156,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
13992
14156
|
name?: string | undefined;
|
|
13993
14157
|
total: number;
|
|
13994
14158
|
}[] | undefined;
|
|
14159
|
+
product_id?: string | undefined;
|
|
13995
14160
|
}[];
|
|
13996
14161
|
payments: {
|
|
13997
14162
|
id?: string | undefined;
|
|
@@ -14827,21 +14992,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
14827
14992
|
name: string;
|
|
14828
14993
|
currency: string;
|
|
14829
14994
|
}): import("../types/api").RequestData<{
|
|
14830
|
-
|
|
14995
|
+
id: string;
|
|
14996
|
+
active: boolean;
|
|
14831
14997
|
code?: string | undefined;
|
|
14832
|
-
name
|
|
14998
|
+
name: string;
|
|
14833
14999
|
currency?: string | undefined;
|
|
14834
|
-
id?: string | undefined;
|
|
14835
15000
|
balance?: number | undefined;
|
|
14836
15001
|
credit?: number | undefined;
|
|
14837
15002
|
debit?: number | undefined;
|
|
14838
15003
|
}>;
|
|
14839
15004
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
14840
|
-
|
|
15005
|
+
id: string;
|
|
15006
|
+
active: boolean;
|
|
14841
15007
|
code?: string | undefined;
|
|
14842
|
-
name
|
|
15008
|
+
name: string;
|
|
14843
15009
|
currency?: string | undefined;
|
|
14844
|
-
id?: string | undefined;
|
|
14845
15010
|
balance?: number | undefined;
|
|
14846
15011
|
credit?: number | undefined;
|
|
14847
15012
|
debit?: number | undefined;
|
|
@@ -14852,22 +15017,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
14852
15017
|
name: string;
|
|
14853
15018
|
currency: string;
|
|
14854
15019
|
}): import("../types/api").RequestData<{
|
|
14855
|
-
|
|
15020
|
+
id: string;
|
|
15021
|
+
active: boolean;
|
|
14856
15022
|
code?: string | undefined;
|
|
14857
|
-
name
|
|
15023
|
+
name: string;
|
|
14858
15024
|
currency?: string | undefined;
|
|
14859
|
-
id?: string | undefined;
|
|
14860
15025
|
balance?: number | undefined;
|
|
14861
15026
|
credit?: number | undefined;
|
|
14862
15027
|
debit?: number | undefined;
|
|
14863
15028
|
analytic_plan: string;
|
|
14864
15029
|
}>;
|
|
14865
15030
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
14866
|
-
|
|
15031
|
+
id: string;
|
|
15032
|
+
active: boolean;
|
|
14867
15033
|
code?: string | undefined;
|
|
14868
|
-
name
|
|
15034
|
+
name: string;
|
|
14869
15035
|
currency?: string | undefined;
|
|
14870
|
-
id?: string | undefined;
|
|
14871
15036
|
balance?: number | undefined;
|
|
14872
15037
|
credit?: number | undefined;
|
|
14873
15038
|
debit?: number | undefined;
|
|
@@ -14878,21 +15043,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
14878
15043
|
name?: string | undefined;
|
|
14879
15044
|
currency?: string | undefined;
|
|
14880
15045
|
}): import("../types/api").RequestData<{
|
|
14881
|
-
|
|
15046
|
+
id: string;
|
|
15047
|
+
active: boolean;
|
|
14882
15048
|
code?: string | undefined;
|
|
14883
|
-
name
|
|
15049
|
+
name: string;
|
|
14884
15050
|
currency?: string | undefined;
|
|
14885
|
-
id?: string | undefined;
|
|
14886
15051
|
balance?: number | undefined;
|
|
14887
15052
|
credit?: number | undefined;
|
|
14888
15053
|
debit?: number | undefined;
|
|
14889
15054
|
}>;
|
|
14890
15055
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
14891
|
-
|
|
15056
|
+
id: string;
|
|
15057
|
+
active: boolean;
|
|
14892
15058
|
code?: string | undefined;
|
|
14893
|
-
name
|
|
15059
|
+
name: string;
|
|
14894
15060
|
currency?: string | undefined;
|
|
14895
|
-
id?: string | undefined;
|
|
14896
15061
|
balance?: number | undefined;
|
|
14897
15062
|
credit?: number | undefined;
|
|
14898
15063
|
debit?: number | undefined;
|
|
@@ -14904,22 +15069,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
14904
15069
|
name?: string | undefined;
|
|
14905
15070
|
currency?: string | undefined;
|
|
14906
15071
|
}): import("../types/api").RequestData<{
|
|
14907
|
-
|
|
15072
|
+
id: string;
|
|
15073
|
+
active: boolean;
|
|
14908
15074
|
code?: string | undefined;
|
|
14909
|
-
name
|
|
15075
|
+
name: string;
|
|
14910
15076
|
currency?: string | undefined;
|
|
14911
|
-
id?: string | undefined;
|
|
14912
15077
|
balance?: number | undefined;
|
|
14913
15078
|
credit?: number | undefined;
|
|
14914
15079
|
debit?: number | undefined;
|
|
14915
15080
|
analytic_plan: string;
|
|
14916
15081
|
}>;
|
|
14917
15082
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
14918
|
-
|
|
15083
|
+
id: string;
|
|
15084
|
+
active: boolean;
|
|
14919
15085
|
code?: string | undefined;
|
|
14920
|
-
name
|
|
15086
|
+
name: string;
|
|
14921
15087
|
currency?: string | undefined;
|
|
14922
|
-
id?: string | undefined;
|
|
14923
15088
|
balance?: number | undefined;
|
|
14924
15089
|
credit?: number | undefined;
|
|
14925
15090
|
debit?: number | undefined;
|
|
@@ -15456,6 +15621,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
15456
15621
|
category?: string | undefined;
|
|
15457
15622
|
currency?: string | undefined;
|
|
15458
15623
|
description?: string | undefined;
|
|
15624
|
+
available_quantity?: number | undefined;
|
|
15625
|
+
cost?: number | undefined;
|
|
15459
15626
|
}[]>;
|
|
15460
15627
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
15461
15628
|
id: string;
|
|
@@ -15471,6 +15638,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
15471
15638
|
category?: string | undefined;
|
|
15472
15639
|
currency?: string | undefined;
|
|
15473
15640
|
description?: string | undefined;
|
|
15641
|
+
available_quantity?: number | undefined;
|
|
15642
|
+
cost?: number | undefined;
|
|
15474
15643
|
}>;
|
|
15475
15644
|
createProduct(product: {
|
|
15476
15645
|
name: string;
|
|
@@ -15495,6 +15664,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
15495
15664
|
category?: string | undefined;
|
|
15496
15665
|
currency?: string | undefined;
|
|
15497
15666
|
description?: string | undefined;
|
|
15667
|
+
available_quantity?: number | undefined;
|
|
15668
|
+
cost?: number | undefined;
|
|
15498
15669
|
}>;
|
|
15499
15670
|
getTaxes(): import("../types/api").RequestData<{
|
|
15500
15671
|
id: string;
|
|
@@ -15603,7 +15774,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
15603
15774
|
birthdate?: string | undefined;
|
|
15604
15775
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
15605
15776
|
addresses?: {
|
|
15606
|
-
address_type: "main" | "delivery" | "invoice";
|
|
15777
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
15607
15778
|
name?: string | undefined;
|
|
15608
15779
|
number?: string | undefined;
|
|
15609
15780
|
box?: string | undefined;
|
|
@@ -15643,7 +15814,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
15643
15814
|
birthdate?: string | undefined;
|
|
15644
15815
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
15645
15816
|
addresses?: {
|
|
15646
|
-
address_type: "main" | "delivery" | "invoice";
|
|
15817
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
15647
15818
|
name?: string | undefined;
|
|
15648
15819
|
number?: string | undefined;
|
|
15649
15820
|
box?: string | undefined;
|
|
@@ -15678,7 +15849,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
15678
15849
|
birthdate?: string | undefined;
|
|
15679
15850
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
15680
15851
|
addresses?: {
|
|
15681
|
-
address_type: "main" | "delivery" | "invoice";
|
|
15852
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
15682
15853
|
name?: string | undefined;
|
|
15683
15854
|
number?: string | undefined;
|
|
15684
15855
|
box?: string | undefined;
|
|
@@ -15717,7 +15888,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
15717
15888
|
birthdate?: string | undefined;
|
|
15718
15889
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
15719
15890
|
addresses?: {
|
|
15720
|
-
address_type: "main" | "delivery" | "invoice";
|
|
15891
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
15721
15892
|
name?: string | undefined;
|
|
15722
15893
|
number?: string | undefined;
|
|
15723
15894
|
box?: string | undefined;
|
|
@@ -16371,11 +16542,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
16371
16542
|
link_mappings?: {
|
|
16372
16543
|
name: string;
|
|
16373
16544
|
description: string;
|
|
16545
|
+
logic?: Record<string, never> | undefined;
|
|
16374
16546
|
values: {
|
|
16375
16547
|
source_id: string;
|
|
16376
16548
|
target_id: string;
|
|
16377
16549
|
}[];
|
|
16378
16550
|
}[] | undefined;
|
|
16551
|
+
link_metadata?: Record<string, never> | undefined;
|
|
16379
16552
|
enabled_flows?: {
|
|
16380
16553
|
name: string;
|
|
16381
16554
|
description?: string | undefined;
|
|
@@ -16400,6 +16573,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
16400
16573
|
}[] | undefined;
|
|
16401
16574
|
} | undefined;
|
|
16402
16575
|
values: Record<string, never>;
|
|
16576
|
+
enabled_on: string;
|
|
16403
16577
|
}[] | undefined;
|
|
16404
16578
|
}>;
|
|
16405
16579
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|
|
@@ -16472,6 +16646,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
16472
16646
|
getSyncUrl: (body: {
|
|
16473
16647
|
syncid: string;
|
|
16474
16648
|
integrationids?: string[] | undefined;
|
|
16649
|
+
link_metadata?: Record<string, never> | undefined;
|
|
16475
16650
|
}) => Promise<{
|
|
16476
16651
|
url: string;
|
|
16477
16652
|
}>;
|
|
@@ -16523,6 +16698,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
16523
16698
|
name?: string | undefined;
|
|
16524
16699
|
total: number;
|
|
16525
16700
|
}[] | undefined;
|
|
16701
|
+
product_id?: string | undefined;
|
|
16526
16702
|
}[];
|
|
16527
16703
|
payments: {
|
|
16528
16704
|
id?: string | undefined;
|
|
@@ -16589,6 +16765,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
16589
16765
|
name?: string | undefined;
|
|
16590
16766
|
total: number;
|
|
16591
16767
|
}[] | undefined;
|
|
16768
|
+
product_id?: string | undefined;
|
|
16592
16769
|
}[];
|
|
16593
16770
|
payments: {
|
|
16594
16771
|
id?: string | undefined;
|
|
@@ -16670,6 +16847,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
16670
16847
|
name: string;
|
|
16671
16848
|
extra?: string | undefined;
|
|
16672
16849
|
}[]>;
|
|
16850
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
16851
|
+
id: string;
|
|
16852
|
+
name: string;
|
|
16853
|
+
description?: string | undefined;
|
|
16854
|
+
id_parent?: string | undefined;
|
|
16855
|
+
}[]>;
|
|
16856
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
16857
|
+
id: string;
|
|
16858
|
+
categories?: string[] | undefined;
|
|
16859
|
+
name: string;
|
|
16860
|
+
description?: string | undefined;
|
|
16861
|
+
prices: {
|
|
16862
|
+
unit_price: number;
|
|
16863
|
+
tax_rate: number;
|
|
16864
|
+
}[];
|
|
16865
|
+
}[]>;
|
|
16673
16866
|
getSales(params: {
|
|
16674
16867
|
date_from: string;
|
|
16675
16868
|
date_to: string;
|
|
@@ -16728,6 +16921,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
16728
16921
|
name?: string | undefined;
|
|
16729
16922
|
total: number;
|
|
16730
16923
|
}[] | undefined;
|
|
16924
|
+
product_id?: string | undefined;
|
|
16731
16925
|
}[];
|
|
16732
16926
|
payments: {
|
|
16733
16927
|
id?: string | undefined;
|
|
@@ -17563,21 +17757,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
17563
17757
|
name: string;
|
|
17564
17758
|
currency: string;
|
|
17565
17759
|
}): import("../types/api").RequestData<{
|
|
17566
|
-
|
|
17760
|
+
id: string;
|
|
17761
|
+
active: boolean;
|
|
17567
17762
|
code?: string | undefined;
|
|
17568
|
-
name
|
|
17763
|
+
name: string;
|
|
17569
17764
|
currency?: string | undefined;
|
|
17570
|
-
id?: string | undefined;
|
|
17571
17765
|
balance?: number | undefined;
|
|
17572
17766
|
credit?: number | undefined;
|
|
17573
17767
|
debit?: number | undefined;
|
|
17574
17768
|
}>;
|
|
17575
17769
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
17576
|
-
|
|
17770
|
+
id: string;
|
|
17771
|
+
active: boolean;
|
|
17577
17772
|
code?: string | undefined;
|
|
17578
|
-
name
|
|
17773
|
+
name: string;
|
|
17579
17774
|
currency?: string | undefined;
|
|
17580
|
-
id?: string | undefined;
|
|
17581
17775
|
balance?: number | undefined;
|
|
17582
17776
|
credit?: number | undefined;
|
|
17583
17777
|
debit?: number | undefined;
|
|
@@ -17588,22 +17782,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
17588
17782
|
name: string;
|
|
17589
17783
|
currency: string;
|
|
17590
17784
|
}): import("../types/api").RequestData<{
|
|
17591
|
-
|
|
17785
|
+
id: string;
|
|
17786
|
+
active: boolean;
|
|
17592
17787
|
code?: string | undefined;
|
|
17593
|
-
name
|
|
17788
|
+
name: string;
|
|
17594
17789
|
currency?: string | undefined;
|
|
17595
|
-
id?: string | undefined;
|
|
17596
17790
|
balance?: number | undefined;
|
|
17597
17791
|
credit?: number | undefined;
|
|
17598
17792
|
debit?: number | undefined;
|
|
17599
17793
|
analytic_plan: string;
|
|
17600
17794
|
}>;
|
|
17601
17795
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
17602
|
-
|
|
17796
|
+
id: string;
|
|
17797
|
+
active: boolean;
|
|
17603
17798
|
code?: string | undefined;
|
|
17604
|
-
name
|
|
17799
|
+
name: string;
|
|
17605
17800
|
currency?: string | undefined;
|
|
17606
|
-
id?: string | undefined;
|
|
17607
17801
|
balance?: number | undefined;
|
|
17608
17802
|
credit?: number | undefined;
|
|
17609
17803
|
debit?: number | undefined;
|
|
@@ -17614,21 +17808,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
17614
17808
|
name?: string | undefined;
|
|
17615
17809
|
currency?: string | undefined;
|
|
17616
17810
|
}): import("../types/api").RequestData<{
|
|
17617
|
-
|
|
17811
|
+
id: string;
|
|
17812
|
+
active: boolean;
|
|
17618
17813
|
code?: string | undefined;
|
|
17619
|
-
name
|
|
17814
|
+
name: string;
|
|
17620
17815
|
currency?: string | undefined;
|
|
17621
|
-
id?: string | undefined;
|
|
17622
17816
|
balance?: number | undefined;
|
|
17623
17817
|
credit?: number | undefined;
|
|
17624
17818
|
debit?: number | undefined;
|
|
17625
17819
|
}>;
|
|
17626
17820
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
17627
|
-
|
|
17821
|
+
id: string;
|
|
17822
|
+
active: boolean;
|
|
17628
17823
|
code?: string | undefined;
|
|
17629
|
-
name
|
|
17824
|
+
name: string;
|
|
17630
17825
|
currency?: string | undefined;
|
|
17631
|
-
id?: string | undefined;
|
|
17632
17826
|
balance?: number | undefined;
|
|
17633
17827
|
credit?: number | undefined;
|
|
17634
17828
|
debit?: number | undefined;
|
|
@@ -17640,22 +17834,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
17640
17834
|
name?: string | undefined;
|
|
17641
17835
|
currency?: string | undefined;
|
|
17642
17836
|
}): import("../types/api").RequestData<{
|
|
17643
|
-
|
|
17837
|
+
id: string;
|
|
17838
|
+
active: boolean;
|
|
17644
17839
|
code?: string | undefined;
|
|
17645
|
-
name
|
|
17840
|
+
name: string;
|
|
17646
17841
|
currency?: string | undefined;
|
|
17647
|
-
id?: string | undefined;
|
|
17648
17842
|
balance?: number | undefined;
|
|
17649
17843
|
credit?: number | undefined;
|
|
17650
17844
|
debit?: number | undefined;
|
|
17651
17845
|
analytic_plan: string;
|
|
17652
17846
|
}>;
|
|
17653
17847
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
17654
|
-
|
|
17848
|
+
id: string;
|
|
17849
|
+
active: boolean;
|
|
17655
17850
|
code?: string | undefined;
|
|
17656
|
-
name
|
|
17851
|
+
name: string;
|
|
17657
17852
|
currency?: string | undefined;
|
|
17658
|
-
id?: string | undefined;
|
|
17659
17853
|
balance?: number | undefined;
|
|
17660
17854
|
credit?: number | undefined;
|
|
17661
17855
|
debit?: number | undefined;
|
|
@@ -18192,6 +18386,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
18192
18386
|
category?: string | undefined;
|
|
18193
18387
|
currency?: string | undefined;
|
|
18194
18388
|
description?: string | undefined;
|
|
18389
|
+
available_quantity?: number | undefined;
|
|
18390
|
+
cost?: number | undefined;
|
|
18195
18391
|
}[]>;
|
|
18196
18392
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
18197
18393
|
id: string;
|
|
@@ -18207,6 +18403,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
18207
18403
|
category?: string | undefined;
|
|
18208
18404
|
currency?: string | undefined;
|
|
18209
18405
|
description?: string | undefined;
|
|
18406
|
+
available_quantity?: number | undefined;
|
|
18407
|
+
cost?: number | undefined;
|
|
18210
18408
|
}>;
|
|
18211
18409
|
createProduct(product: {
|
|
18212
18410
|
name: string;
|
|
@@ -18231,6 +18429,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
18231
18429
|
category?: string | undefined;
|
|
18232
18430
|
currency?: string | undefined;
|
|
18233
18431
|
description?: string | undefined;
|
|
18432
|
+
available_quantity?: number | undefined;
|
|
18433
|
+
cost?: number | undefined;
|
|
18234
18434
|
}>;
|
|
18235
18435
|
getTaxes(): import("../types/api").RequestData<{
|
|
18236
18436
|
id: string;
|
|
@@ -18339,7 +18539,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
18339
18539
|
birthdate?: string | undefined;
|
|
18340
18540
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
18341
18541
|
addresses?: {
|
|
18342
|
-
address_type: "main" | "delivery" | "invoice";
|
|
18542
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
18343
18543
|
name?: string | undefined;
|
|
18344
18544
|
number?: string | undefined;
|
|
18345
18545
|
box?: string | undefined;
|
|
@@ -18379,7 +18579,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
18379
18579
|
birthdate?: string | undefined;
|
|
18380
18580
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
18381
18581
|
addresses?: {
|
|
18382
|
-
address_type: "main" | "delivery" | "invoice";
|
|
18582
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
18383
18583
|
name?: string | undefined;
|
|
18384
18584
|
number?: string | undefined;
|
|
18385
18585
|
box?: string | undefined;
|
|
@@ -18414,7 +18614,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
18414
18614
|
birthdate?: string | undefined;
|
|
18415
18615
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
18416
18616
|
addresses?: {
|
|
18417
|
-
address_type: "main" | "delivery" | "invoice";
|
|
18617
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
18418
18618
|
name?: string | undefined;
|
|
18419
18619
|
number?: string | undefined;
|
|
18420
18620
|
box?: string | undefined;
|
|
@@ -18453,7 +18653,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
18453
18653
|
birthdate?: string | undefined;
|
|
18454
18654
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
18455
18655
|
addresses?: {
|
|
18456
|
-
address_type: "main" | "delivery" | "invoice";
|
|
18656
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
18457
18657
|
name?: string | undefined;
|
|
18458
18658
|
number?: string | undefined;
|
|
18459
18659
|
box?: string | undefined;
|
|
@@ -19107,11 +19307,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
19107
19307
|
link_mappings?: {
|
|
19108
19308
|
name: string;
|
|
19109
19309
|
description: string;
|
|
19310
|
+
logic?: Record<string, never> | undefined;
|
|
19110
19311
|
values: {
|
|
19111
19312
|
source_id: string;
|
|
19112
19313
|
target_id: string;
|
|
19113
19314
|
}[];
|
|
19114
19315
|
}[] | undefined;
|
|
19316
|
+
link_metadata?: Record<string, never> | undefined;
|
|
19115
19317
|
enabled_flows?: {
|
|
19116
19318
|
name: string;
|
|
19117
19319
|
description?: string | undefined;
|
|
@@ -19136,6 +19338,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
19136
19338
|
}[] | undefined;
|
|
19137
19339
|
} | undefined;
|
|
19138
19340
|
values: Record<string, never>;
|
|
19341
|
+
enabled_on: string;
|
|
19139
19342
|
}[] | undefined;
|
|
19140
19343
|
}>;
|
|
19141
19344
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|
|
@@ -19212,6 +19415,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
19212
19415
|
getSyncUrl: (body: {
|
|
19213
19416
|
syncid: string;
|
|
19214
19417
|
integrationids?: string[] | undefined;
|
|
19418
|
+
link_metadata?: Record<string, never> | undefined;
|
|
19215
19419
|
}) => Promise<{
|
|
19216
19420
|
url: string;
|
|
19217
19421
|
}>;
|
|
@@ -19263,6 +19467,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
19263
19467
|
name?: string | undefined;
|
|
19264
19468
|
total: number;
|
|
19265
19469
|
}[] | undefined;
|
|
19470
|
+
product_id?: string | undefined;
|
|
19266
19471
|
}[];
|
|
19267
19472
|
payments: {
|
|
19268
19473
|
id?: string | undefined;
|
|
@@ -19329,6 +19534,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
19329
19534
|
name?: string | undefined;
|
|
19330
19535
|
total: number;
|
|
19331
19536
|
}[] | undefined;
|
|
19537
|
+
product_id?: string | undefined;
|
|
19332
19538
|
}[];
|
|
19333
19539
|
payments: {
|
|
19334
19540
|
id?: string | undefined;
|
|
@@ -19410,6 +19616,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
19410
19616
|
name: string;
|
|
19411
19617
|
extra?: string | undefined;
|
|
19412
19618
|
}[]>;
|
|
19619
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
19620
|
+
id: string;
|
|
19621
|
+
name: string;
|
|
19622
|
+
description?: string | undefined;
|
|
19623
|
+
id_parent?: string | undefined;
|
|
19624
|
+
}[]>;
|
|
19625
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
19626
|
+
id: string;
|
|
19627
|
+
categories?: string[] | undefined;
|
|
19628
|
+
name: string;
|
|
19629
|
+
description?: string | undefined;
|
|
19630
|
+
prices: {
|
|
19631
|
+
unit_price: number;
|
|
19632
|
+
tax_rate: number;
|
|
19633
|
+
}[];
|
|
19634
|
+
}[]>;
|
|
19413
19635
|
getSales(params: {
|
|
19414
19636
|
date_from: string;
|
|
19415
19637
|
date_to: string;
|
|
@@ -19468,6 +19690,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
19468
19690
|
name?: string | undefined;
|
|
19469
19691
|
total: number;
|
|
19470
19692
|
}[] | undefined;
|
|
19693
|
+
product_id?: string | undefined;
|
|
19471
19694
|
}[];
|
|
19472
19695
|
payments: {
|
|
19473
19696
|
id?: string | undefined;
|
|
@@ -20303,21 +20526,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
20303
20526
|
name: string;
|
|
20304
20527
|
currency: string;
|
|
20305
20528
|
}): import("../types/api").RequestData<{
|
|
20306
|
-
|
|
20529
|
+
id: string;
|
|
20530
|
+
active: boolean;
|
|
20307
20531
|
code?: string | undefined;
|
|
20308
|
-
name
|
|
20532
|
+
name: string;
|
|
20309
20533
|
currency?: string | undefined;
|
|
20310
|
-
id?: string | undefined;
|
|
20311
20534
|
balance?: number | undefined;
|
|
20312
20535
|
credit?: number | undefined;
|
|
20313
20536
|
debit?: number | undefined;
|
|
20314
20537
|
}>;
|
|
20315
20538
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
20316
|
-
|
|
20539
|
+
id: string;
|
|
20540
|
+
active: boolean;
|
|
20317
20541
|
code?: string | undefined;
|
|
20318
|
-
name
|
|
20542
|
+
name: string;
|
|
20319
20543
|
currency?: string | undefined;
|
|
20320
|
-
id?: string | undefined;
|
|
20321
20544
|
balance?: number | undefined;
|
|
20322
20545
|
credit?: number | undefined;
|
|
20323
20546
|
debit?: number | undefined;
|
|
@@ -20328,22 +20551,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
20328
20551
|
name: string;
|
|
20329
20552
|
currency: string;
|
|
20330
20553
|
}): import("../types/api").RequestData<{
|
|
20331
|
-
|
|
20554
|
+
id: string;
|
|
20555
|
+
active: boolean;
|
|
20332
20556
|
code?: string | undefined;
|
|
20333
|
-
name
|
|
20557
|
+
name: string;
|
|
20334
20558
|
currency?: string | undefined;
|
|
20335
|
-
id?: string | undefined;
|
|
20336
20559
|
balance?: number | undefined;
|
|
20337
20560
|
credit?: number | undefined;
|
|
20338
20561
|
debit?: number | undefined;
|
|
20339
20562
|
analytic_plan: string;
|
|
20340
20563
|
}>;
|
|
20341
20564
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
20342
|
-
|
|
20565
|
+
id: string;
|
|
20566
|
+
active: boolean;
|
|
20343
20567
|
code?: string | undefined;
|
|
20344
|
-
name
|
|
20568
|
+
name: string;
|
|
20345
20569
|
currency?: string | undefined;
|
|
20346
|
-
id?: string | undefined;
|
|
20347
20570
|
balance?: number | undefined;
|
|
20348
20571
|
credit?: number | undefined;
|
|
20349
20572
|
debit?: number | undefined;
|
|
@@ -20354,21 +20577,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
20354
20577
|
name?: string | undefined;
|
|
20355
20578
|
currency?: string | undefined;
|
|
20356
20579
|
}): import("../types/api").RequestData<{
|
|
20357
|
-
|
|
20580
|
+
id: string;
|
|
20581
|
+
active: boolean;
|
|
20358
20582
|
code?: string | undefined;
|
|
20359
|
-
name
|
|
20583
|
+
name: string;
|
|
20360
20584
|
currency?: string | undefined;
|
|
20361
|
-
id?: string | undefined;
|
|
20362
20585
|
balance?: number | undefined;
|
|
20363
20586
|
credit?: number | undefined;
|
|
20364
20587
|
debit?: number | undefined;
|
|
20365
20588
|
}>;
|
|
20366
20589
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
20367
|
-
|
|
20590
|
+
id: string;
|
|
20591
|
+
active: boolean;
|
|
20368
20592
|
code?: string | undefined;
|
|
20369
|
-
name
|
|
20593
|
+
name: string;
|
|
20370
20594
|
currency?: string | undefined;
|
|
20371
|
-
id?: string | undefined;
|
|
20372
20595
|
balance?: number | undefined;
|
|
20373
20596
|
credit?: number | undefined;
|
|
20374
20597
|
debit?: number | undefined;
|
|
@@ -20380,22 +20603,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
20380
20603
|
name?: string | undefined;
|
|
20381
20604
|
currency?: string | undefined;
|
|
20382
20605
|
}): import("../types/api").RequestData<{
|
|
20383
|
-
|
|
20606
|
+
id: string;
|
|
20607
|
+
active: boolean;
|
|
20384
20608
|
code?: string | undefined;
|
|
20385
|
-
name
|
|
20609
|
+
name: string;
|
|
20386
20610
|
currency?: string | undefined;
|
|
20387
|
-
id?: string | undefined;
|
|
20388
20611
|
balance?: number | undefined;
|
|
20389
20612
|
credit?: number | undefined;
|
|
20390
20613
|
debit?: number | undefined;
|
|
20391
20614
|
analytic_plan: string;
|
|
20392
20615
|
}>;
|
|
20393
20616
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
20394
|
-
|
|
20617
|
+
id: string;
|
|
20618
|
+
active: boolean;
|
|
20395
20619
|
code?: string | undefined;
|
|
20396
|
-
name
|
|
20620
|
+
name: string;
|
|
20397
20621
|
currency?: string | undefined;
|
|
20398
|
-
id?: string | undefined;
|
|
20399
20622
|
balance?: number | undefined;
|
|
20400
20623
|
credit?: number | undefined;
|
|
20401
20624
|
debit?: number | undefined;
|
|
@@ -20932,6 +21155,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
20932
21155
|
category?: string | undefined;
|
|
20933
21156
|
currency?: string | undefined;
|
|
20934
21157
|
description?: string | undefined;
|
|
21158
|
+
available_quantity?: number | undefined;
|
|
21159
|
+
cost?: number | undefined;
|
|
20935
21160
|
}[]>;
|
|
20936
21161
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
20937
21162
|
id: string;
|
|
@@ -20947,6 +21172,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
20947
21172
|
category?: string | undefined;
|
|
20948
21173
|
currency?: string | undefined;
|
|
20949
21174
|
description?: string | undefined;
|
|
21175
|
+
available_quantity?: number | undefined;
|
|
21176
|
+
cost?: number | undefined;
|
|
20950
21177
|
}>;
|
|
20951
21178
|
createProduct(product: {
|
|
20952
21179
|
name: string;
|
|
@@ -20971,6 +21198,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
20971
21198
|
category?: string | undefined;
|
|
20972
21199
|
currency?: string | undefined;
|
|
20973
21200
|
description?: string | undefined;
|
|
21201
|
+
available_quantity?: number | undefined;
|
|
21202
|
+
cost?: number | undefined;
|
|
20974
21203
|
}>;
|
|
20975
21204
|
getTaxes(): import("../types/api").RequestData<{
|
|
20976
21205
|
id: string;
|
|
@@ -21079,7 +21308,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
21079
21308
|
birthdate?: string | undefined;
|
|
21080
21309
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
21081
21310
|
addresses?: {
|
|
21082
|
-
address_type: "main" | "delivery" | "invoice";
|
|
21311
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
21083
21312
|
name?: string | undefined;
|
|
21084
21313
|
number?: string | undefined;
|
|
21085
21314
|
box?: string | undefined;
|
|
@@ -21119,7 +21348,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
21119
21348
|
birthdate?: string | undefined;
|
|
21120
21349
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
21121
21350
|
addresses?: {
|
|
21122
|
-
address_type: "main" | "delivery" | "invoice";
|
|
21351
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
21123
21352
|
name?: string | undefined;
|
|
21124
21353
|
number?: string | undefined;
|
|
21125
21354
|
box?: string | undefined;
|
|
@@ -21154,7 +21383,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
21154
21383
|
birthdate?: string | undefined;
|
|
21155
21384
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
21156
21385
|
addresses?: {
|
|
21157
|
-
address_type: "main" | "delivery" | "invoice";
|
|
21386
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
21158
21387
|
name?: string | undefined;
|
|
21159
21388
|
number?: string | undefined;
|
|
21160
21389
|
box?: string | undefined;
|
|
@@ -21193,7 +21422,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
21193
21422
|
birthdate?: string | undefined;
|
|
21194
21423
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
21195
21424
|
addresses?: {
|
|
21196
|
-
address_type: "main" | "delivery" | "invoice";
|
|
21425
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
21197
21426
|
name?: string | undefined;
|
|
21198
21427
|
number?: string | undefined;
|
|
21199
21428
|
box?: string | undefined;
|
|
@@ -21847,11 +22076,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
21847
22076
|
link_mappings?: {
|
|
21848
22077
|
name: string;
|
|
21849
22078
|
description: string;
|
|
22079
|
+
logic?: Record<string, never> | undefined;
|
|
21850
22080
|
values: {
|
|
21851
22081
|
source_id: string;
|
|
21852
22082
|
target_id: string;
|
|
21853
22083
|
}[];
|
|
21854
22084
|
}[] | undefined;
|
|
22085
|
+
link_metadata?: Record<string, never> | undefined;
|
|
21855
22086
|
enabled_flows?: {
|
|
21856
22087
|
name: string;
|
|
21857
22088
|
description?: string | undefined;
|
|
@@ -21876,6 +22107,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
21876
22107
|
}[] | undefined;
|
|
21877
22108
|
} | undefined;
|
|
21878
22109
|
values: Record<string, never>;
|
|
22110
|
+
enabled_on: string;
|
|
21879
22111
|
}[] | undefined;
|
|
21880
22112
|
}>;
|
|
21881
22113
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|
|
@@ -21952,6 +22184,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
21952
22184
|
getSyncUrl: (body: {
|
|
21953
22185
|
syncid: string;
|
|
21954
22186
|
integrationids?: string[] | undefined;
|
|
22187
|
+
link_metadata?: Record<string, never> | undefined;
|
|
21955
22188
|
}) => Promise<{
|
|
21956
22189
|
url: string;
|
|
21957
22190
|
}>;
|
|
@@ -22003,6 +22236,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
22003
22236
|
name?: string | undefined;
|
|
22004
22237
|
total: number;
|
|
22005
22238
|
}[] | undefined;
|
|
22239
|
+
product_id?: string | undefined;
|
|
22006
22240
|
}[];
|
|
22007
22241
|
payments: {
|
|
22008
22242
|
id?: string | undefined;
|
|
@@ -22069,6 +22303,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
22069
22303
|
name?: string | undefined;
|
|
22070
22304
|
total: number;
|
|
22071
22305
|
}[] | undefined;
|
|
22306
|
+
product_id?: string | undefined;
|
|
22072
22307
|
}[];
|
|
22073
22308
|
payments: {
|
|
22074
22309
|
id?: string | undefined;
|
|
@@ -22150,6 +22385,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
22150
22385
|
name: string;
|
|
22151
22386
|
extra?: string | undefined;
|
|
22152
22387
|
}[]>;
|
|
22388
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
22389
|
+
id: string;
|
|
22390
|
+
name: string;
|
|
22391
|
+
description?: string | undefined;
|
|
22392
|
+
id_parent?: string | undefined;
|
|
22393
|
+
}[]>;
|
|
22394
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
22395
|
+
id: string;
|
|
22396
|
+
categories?: string[] | undefined;
|
|
22397
|
+
name: string;
|
|
22398
|
+
description?: string | undefined;
|
|
22399
|
+
prices: {
|
|
22400
|
+
unit_price: number;
|
|
22401
|
+
tax_rate: number;
|
|
22402
|
+
}[];
|
|
22403
|
+
}[]>;
|
|
22153
22404
|
getSales(params: {
|
|
22154
22405
|
date_from: string;
|
|
22155
22406
|
date_to: string;
|
|
@@ -22208,6 +22459,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
22208
22459
|
name?: string | undefined;
|
|
22209
22460
|
total: number;
|
|
22210
22461
|
}[] | undefined;
|
|
22462
|
+
product_id?: string | undefined;
|
|
22211
22463
|
}[];
|
|
22212
22464
|
payments: {
|
|
22213
22465
|
id?: string | undefined;
|
|
@@ -23043,21 +23295,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23043
23295
|
name: string;
|
|
23044
23296
|
currency: string;
|
|
23045
23297
|
}): import("../types/api").RequestData<{
|
|
23046
|
-
|
|
23298
|
+
id: string;
|
|
23299
|
+
active: boolean;
|
|
23047
23300
|
code?: string | undefined;
|
|
23048
|
-
name
|
|
23301
|
+
name: string;
|
|
23049
23302
|
currency?: string | undefined;
|
|
23050
|
-
id?: string | undefined;
|
|
23051
23303
|
balance?: number | undefined;
|
|
23052
23304
|
credit?: number | undefined;
|
|
23053
23305
|
debit?: number | undefined;
|
|
23054
23306
|
}>;
|
|
23055
23307
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
23056
|
-
|
|
23308
|
+
id: string;
|
|
23309
|
+
active: boolean;
|
|
23057
23310
|
code?: string | undefined;
|
|
23058
|
-
name
|
|
23311
|
+
name: string;
|
|
23059
23312
|
currency?: string | undefined;
|
|
23060
|
-
id?: string | undefined;
|
|
23061
23313
|
balance?: number | undefined;
|
|
23062
23314
|
credit?: number | undefined;
|
|
23063
23315
|
debit?: number | undefined;
|
|
@@ -23068,22 +23320,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23068
23320
|
name: string;
|
|
23069
23321
|
currency: string;
|
|
23070
23322
|
}): import("../types/api").RequestData<{
|
|
23071
|
-
|
|
23323
|
+
id: string;
|
|
23324
|
+
active: boolean;
|
|
23072
23325
|
code?: string | undefined;
|
|
23073
|
-
name
|
|
23326
|
+
name: string;
|
|
23074
23327
|
currency?: string | undefined;
|
|
23075
|
-
id?: string | undefined;
|
|
23076
23328
|
balance?: number | undefined;
|
|
23077
23329
|
credit?: number | undefined;
|
|
23078
23330
|
debit?: number | undefined;
|
|
23079
23331
|
analytic_plan: string;
|
|
23080
23332
|
}>;
|
|
23081
23333
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
23082
|
-
|
|
23334
|
+
id: string;
|
|
23335
|
+
active: boolean;
|
|
23083
23336
|
code?: string | undefined;
|
|
23084
|
-
name
|
|
23337
|
+
name: string;
|
|
23085
23338
|
currency?: string | undefined;
|
|
23086
|
-
id?: string | undefined;
|
|
23087
23339
|
balance?: number | undefined;
|
|
23088
23340
|
credit?: number | undefined;
|
|
23089
23341
|
debit?: number | undefined;
|
|
@@ -23094,21 +23346,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23094
23346
|
name?: string | undefined;
|
|
23095
23347
|
currency?: string | undefined;
|
|
23096
23348
|
}): import("../types/api").RequestData<{
|
|
23097
|
-
|
|
23349
|
+
id: string;
|
|
23350
|
+
active: boolean;
|
|
23098
23351
|
code?: string | undefined;
|
|
23099
|
-
name
|
|
23352
|
+
name: string;
|
|
23100
23353
|
currency?: string | undefined;
|
|
23101
|
-
id?: string | undefined;
|
|
23102
23354
|
balance?: number | undefined;
|
|
23103
23355
|
credit?: number | undefined;
|
|
23104
23356
|
debit?: number | undefined;
|
|
23105
23357
|
}>;
|
|
23106
23358
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
23107
|
-
|
|
23359
|
+
id: string;
|
|
23360
|
+
active: boolean;
|
|
23108
23361
|
code?: string | undefined;
|
|
23109
|
-
name
|
|
23362
|
+
name: string;
|
|
23110
23363
|
currency?: string | undefined;
|
|
23111
|
-
id?: string | undefined;
|
|
23112
23364
|
balance?: number | undefined;
|
|
23113
23365
|
credit?: number | undefined;
|
|
23114
23366
|
debit?: number | undefined;
|
|
@@ -23120,22 +23372,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23120
23372
|
name?: string | undefined;
|
|
23121
23373
|
currency?: string | undefined;
|
|
23122
23374
|
}): import("../types/api").RequestData<{
|
|
23123
|
-
|
|
23375
|
+
id: string;
|
|
23376
|
+
active: boolean;
|
|
23124
23377
|
code?: string | undefined;
|
|
23125
|
-
name
|
|
23378
|
+
name: string;
|
|
23126
23379
|
currency?: string | undefined;
|
|
23127
|
-
id?: string | undefined;
|
|
23128
23380
|
balance?: number | undefined;
|
|
23129
23381
|
credit?: number | undefined;
|
|
23130
23382
|
debit?: number | undefined;
|
|
23131
23383
|
analytic_plan: string;
|
|
23132
23384
|
}>;
|
|
23133
23385
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
23134
|
-
|
|
23386
|
+
id: string;
|
|
23387
|
+
active: boolean;
|
|
23135
23388
|
code?: string | undefined;
|
|
23136
|
-
name
|
|
23389
|
+
name: string;
|
|
23137
23390
|
currency?: string | undefined;
|
|
23138
|
-
id?: string | undefined;
|
|
23139
23391
|
balance?: number | undefined;
|
|
23140
23392
|
credit?: number | undefined;
|
|
23141
23393
|
debit?: number | undefined;
|
|
@@ -23672,6 +23924,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23672
23924
|
category?: string | undefined;
|
|
23673
23925
|
currency?: string | undefined;
|
|
23674
23926
|
description?: string | undefined;
|
|
23927
|
+
available_quantity?: number | undefined;
|
|
23928
|
+
cost?: number | undefined;
|
|
23675
23929
|
}[]>;
|
|
23676
23930
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
23677
23931
|
id: string;
|
|
@@ -23687,6 +23941,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23687
23941
|
category?: string | undefined;
|
|
23688
23942
|
currency?: string | undefined;
|
|
23689
23943
|
description?: string | undefined;
|
|
23944
|
+
available_quantity?: number | undefined;
|
|
23945
|
+
cost?: number | undefined;
|
|
23690
23946
|
}>;
|
|
23691
23947
|
createProduct(product: {
|
|
23692
23948
|
name: string;
|
|
@@ -23711,6 +23967,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23711
23967
|
category?: string | undefined;
|
|
23712
23968
|
currency?: string | undefined;
|
|
23713
23969
|
description?: string | undefined;
|
|
23970
|
+
available_quantity?: number | undefined;
|
|
23971
|
+
cost?: number | undefined;
|
|
23714
23972
|
}>;
|
|
23715
23973
|
getTaxes(): import("../types/api").RequestData<{
|
|
23716
23974
|
id: string;
|
|
@@ -23819,7 +24077,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23819
24077
|
birthdate?: string | undefined;
|
|
23820
24078
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
23821
24079
|
addresses?: {
|
|
23822
|
-
address_type: "main" | "delivery" | "invoice";
|
|
24080
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
23823
24081
|
name?: string | undefined;
|
|
23824
24082
|
number?: string | undefined;
|
|
23825
24083
|
box?: string | undefined;
|
|
@@ -23859,7 +24117,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23859
24117
|
birthdate?: string | undefined;
|
|
23860
24118
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
23861
24119
|
addresses?: {
|
|
23862
|
-
address_type: "main" | "delivery" | "invoice";
|
|
24120
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
23863
24121
|
name?: string | undefined;
|
|
23864
24122
|
number?: string | undefined;
|
|
23865
24123
|
box?: string | undefined;
|
|
@@ -23894,7 +24152,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23894
24152
|
birthdate?: string | undefined;
|
|
23895
24153
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
23896
24154
|
addresses?: {
|
|
23897
|
-
address_type: "main" | "delivery" | "invoice";
|
|
24155
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
23898
24156
|
name?: string | undefined;
|
|
23899
24157
|
number?: string | undefined;
|
|
23900
24158
|
box?: string | undefined;
|
|
@@ -23933,7 +24191,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
23933
24191
|
birthdate?: string | undefined;
|
|
23934
24192
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
23935
24193
|
addresses?: {
|
|
23936
|
-
address_type: "main" | "delivery" | "invoice";
|
|
24194
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
23937
24195
|
name?: string | undefined;
|
|
23938
24196
|
number?: string | undefined;
|
|
23939
24197
|
box?: string | undefined;
|
|
@@ -24587,11 +24845,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
24587
24845
|
link_mappings?: {
|
|
24588
24846
|
name: string;
|
|
24589
24847
|
description: string;
|
|
24848
|
+
logic?: Record<string, never> | undefined;
|
|
24590
24849
|
values: {
|
|
24591
24850
|
source_id: string;
|
|
24592
24851
|
target_id: string;
|
|
24593
24852
|
}[];
|
|
24594
24853
|
}[] | undefined;
|
|
24854
|
+
link_metadata?: Record<string, never> | undefined;
|
|
24595
24855
|
enabled_flows?: {
|
|
24596
24856
|
name: string;
|
|
24597
24857
|
description?: string | undefined;
|
|
@@ -24616,6 +24876,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
24616
24876
|
}[] | undefined;
|
|
24617
24877
|
} | undefined;
|
|
24618
24878
|
values: Record<string, never>;
|
|
24879
|
+
enabled_on: string;
|
|
24619
24880
|
}[] | undefined;
|
|
24620
24881
|
}>;
|
|
24621
24882
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|
|
@@ -24692,6 +24953,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
24692
24953
|
getSyncUrl: (body: {
|
|
24693
24954
|
syncid: string;
|
|
24694
24955
|
integrationids?: string[] | undefined;
|
|
24956
|
+
link_metadata?: Record<string, never> | undefined;
|
|
24695
24957
|
}) => Promise<{
|
|
24696
24958
|
url: string;
|
|
24697
24959
|
}>;
|
|
@@ -24743,6 +25005,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
24743
25005
|
name?: string | undefined;
|
|
24744
25006
|
total: number;
|
|
24745
25007
|
}[] | undefined;
|
|
25008
|
+
product_id?: string | undefined;
|
|
24746
25009
|
}[];
|
|
24747
25010
|
payments: {
|
|
24748
25011
|
id?: string | undefined;
|
|
@@ -24809,6 +25072,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
24809
25072
|
name?: string | undefined;
|
|
24810
25073
|
total: number;
|
|
24811
25074
|
}[] | undefined;
|
|
25075
|
+
product_id?: string | undefined;
|
|
24812
25076
|
}[];
|
|
24813
25077
|
payments: {
|
|
24814
25078
|
id?: string | undefined;
|
|
@@ -24890,6 +25154,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
24890
25154
|
name: string;
|
|
24891
25155
|
extra?: string | undefined;
|
|
24892
25156
|
}[]>;
|
|
25157
|
+
getProductCategories(params: {}): import("../types/api").RequestData<{
|
|
25158
|
+
id: string;
|
|
25159
|
+
name: string;
|
|
25160
|
+
description?: string | undefined;
|
|
25161
|
+
id_parent?: string | undefined;
|
|
25162
|
+
}[]>;
|
|
25163
|
+
getProducts(params: {}): import("../types/api").RequestData<{
|
|
25164
|
+
id: string;
|
|
25165
|
+
categories?: string[] | undefined;
|
|
25166
|
+
name: string;
|
|
25167
|
+
description?: string | undefined;
|
|
25168
|
+
prices: {
|
|
25169
|
+
unit_price: number;
|
|
25170
|
+
tax_rate: number;
|
|
25171
|
+
}[];
|
|
25172
|
+
}[]>;
|
|
24893
25173
|
getSales(params: {
|
|
24894
25174
|
date_from: string;
|
|
24895
25175
|
date_to: string;
|
|
@@ -24948,6 +25228,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
24948
25228
|
name?: string | undefined;
|
|
24949
25229
|
total: number;
|
|
24950
25230
|
}[] | undefined;
|
|
25231
|
+
product_id?: string | undefined;
|
|
24951
25232
|
}[];
|
|
24952
25233
|
payments: {
|
|
24953
25234
|
id?: string | undefined;
|
|
@@ -25783,21 +26064,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
25783
26064
|
name: string;
|
|
25784
26065
|
currency: string;
|
|
25785
26066
|
}): import("../types/api").RequestData<{
|
|
25786
|
-
|
|
26067
|
+
id: string;
|
|
26068
|
+
active: boolean;
|
|
25787
26069
|
code?: string | undefined;
|
|
25788
|
-
name
|
|
26070
|
+
name: string;
|
|
25789
26071
|
currency?: string | undefined;
|
|
25790
|
-
id?: string | undefined;
|
|
25791
26072
|
balance?: number | undefined;
|
|
25792
26073
|
credit?: number | undefined;
|
|
25793
26074
|
debit?: number | undefined;
|
|
25794
26075
|
}>;
|
|
25795
26076
|
getAnalyticAccounts(): import("../types/api").RequestData<{
|
|
25796
|
-
|
|
26077
|
+
id: string;
|
|
26078
|
+
active: boolean;
|
|
25797
26079
|
code?: string | undefined;
|
|
25798
|
-
name
|
|
26080
|
+
name: string;
|
|
25799
26081
|
currency?: string | undefined;
|
|
25800
|
-
id?: string | undefined;
|
|
25801
26082
|
balance?: number | undefined;
|
|
25802
26083
|
credit?: number | undefined;
|
|
25803
26084
|
debit?: number | undefined;
|
|
@@ -25808,22 +26089,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
25808
26089
|
name: string;
|
|
25809
26090
|
currency: string;
|
|
25810
26091
|
}): import("../types/api").RequestData<{
|
|
25811
|
-
|
|
26092
|
+
id: string;
|
|
26093
|
+
active: boolean;
|
|
25812
26094
|
code?: string | undefined;
|
|
25813
|
-
name
|
|
26095
|
+
name: string;
|
|
25814
26096
|
currency?: string | undefined;
|
|
25815
|
-
id?: string | undefined;
|
|
25816
26097
|
balance?: number | undefined;
|
|
25817
26098
|
credit?: number | undefined;
|
|
25818
26099
|
debit?: number | undefined;
|
|
25819
26100
|
analytic_plan: string;
|
|
25820
26101
|
}>;
|
|
25821
26102
|
getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
|
|
25822
|
-
|
|
26103
|
+
id: string;
|
|
26104
|
+
active: boolean;
|
|
25823
26105
|
code?: string | undefined;
|
|
25824
|
-
name
|
|
26106
|
+
name: string;
|
|
25825
26107
|
currency?: string | undefined;
|
|
25826
|
-
id?: string | undefined;
|
|
25827
26108
|
balance?: number | undefined;
|
|
25828
26109
|
credit?: number | undefined;
|
|
25829
26110
|
debit?: number | undefined;
|
|
@@ -25834,21 +26115,21 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
25834
26115
|
name?: string | undefined;
|
|
25835
26116
|
currency?: string | undefined;
|
|
25836
26117
|
}): import("../types/api").RequestData<{
|
|
25837
|
-
|
|
26118
|
+
id: string;
|
|
26119
|
+
active: boolean;
|
|
25838
26120
|
code?: string | undefined;
|
|
25839
|
-
name
|
|
26121
|
+
name: string;
|
|
25840
26122
|
currency?: string | undefined;
|
|
25841
|
-
id?: string | undefined;
|
|
25842
26123
|
balance?: number | undefined;
|
|
25843
26124
|
credit?: number | undefined;
|
|
25844
26125
|
debit?: number | undefined;
|
|
25845
26126
|
}>;
|
|
25846
26127
|
getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
|
|
25847
|
-
|
|
26128
|
+
id: string;
|
|
26129
|
+
active: boolean;
|
|
25848
26130
|
code?: string | undefined;
|
|
25849
|
-
name
|
|
26131
|
+
name: string;
|
|
25850
26132
|
currency?: string | undefined;
|
|
25851
|
-
id?: string | undefined;
|
|
25852
26133
|
balance?: number | undefined;
|
|
25853
26134
|
credit?: number | undefined;
|
|
25854
26135
|
debit?: number | undefined;
|
|
@@ -25860,22 +26141,22 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
25860
26141
|
name?: string | undefined;
|
|
25861
26142
|
currency?: string | undefined;
|
|
25862
26143
|
}): import("../types/api").RequestData<{
|
|
25863
|
-
|
|
26144
|
+
id: string;
|
|
26145
|
+
active: boolean;
|
|
25864
26146
|
code?: string | undefined;
|
|
25865
|
-
name
|
|
26147
|
+
name: string;
|
|
25866
26148
|
currency?: string | undefined;
|
|
25867
|
-
id?: string | undefined;
|
|
25868
26149
|
balance?: number | undefined;
|
|
25869
26150
|
credit?: number | undefined;
|
|
25870
26151
|
debit?: number | undefined;
|
|
25871
26152
|
analytic_plan: string;
|
|
25872
26153
|
}>;
|
|
25873
26154
|
getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
|
|
25874
|
-
|
|
26155
|
+
id: string;
|
|
26156
|
+
active: boolean;
|
|
25875
26157
|
code?: string | undefined;
|
|
25876
|
-
name
|
|
26158
|
+
name: string;
|
|
25877
26159
|
currency?: string | undefined;
|
|
25878
|
-
id?: string | undefined;
|
|
25879
26160
|
balance?: number | undefined;
|
|
25880
26161
|
credit?: number | undefined;
|
|
25881
26162
|
debit?: number | undefined;
|
|
@@ -26412,6 +26693,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
26412
26693
|
category?: string | undefined;
|
|
26413
26694
|
currency?: string | undefined;
|
|
26414
26695
|
description?: string | undefined;
|
|
26696
|
+
available_quantity?: number | undefined;
|
|
26697
|
+
cost?: number | undefined;
|
|
26415
26698
|
}[]>;
|
|
26416
26699
|
getProductById(productId: string): import("../types/api").RequestData<{
|
|
26417
26700
|
id: string;
|
|
@@ -26427,6 +26710,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
26427
26710
|
category?: string | undefined;
|
|
26428
26711
|
currency?: string | undefined;
|
|
26429
26712
|
description?: string | undefined;
|
|
26713
|
+
available_quantity?: number | undefined;
|
|
26714
|
+
cost?: number | undefined;
|
|
26430
26715
|
}>;
|
|
26431
26716
|
createProduct(product: {
|
|
26432
26717
|
name: string;
|
|
@@ -26451,6 +26736,8 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
26451
26736
|
category?: string | undefined;
|
|
26452
26737
|
currency?: string | undefined;
|
|
26453
26738
|
description?: string | undefined;
|
|
26739
|
+
available_quantity?: number | undefined;
|
|
26740
|
+
cost?: number | undefined;
|
|
26454
26741
|
}>;
|
|
26455
26742
|
getTaxes(): import("../types/api").RequestData<{
|
|
26456
26743
|
id: string;
|
|
@@ -26559,7 +26846,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
26559
26846
|
birthdate?: string | undefined;
|
|
26560
26847
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
26561
26848
|
addresses?: {
|
|
26562
|
-
address_type: "main" | "delivery" | "invoice";
|
|
26849
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
26563
26850
|
name?: string | undefined;
|
|
26564
26851
|
number?: string | undefined;
|
|
26565
26852
|
box?: string | undefined;
|
|
@@ -26599,7 +26886,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
26599
26886
|
birthdate?: string | undefined;
|
|
26600
26887
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
26601
26888
|
addresses?: {
|
|
26602
|
-
address_type: "main" | "delivery" | "invoice";
|
|
26889
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
26603
26890
|
name?: string | undefined;
|
|
26604
26891
|
number?: string | undefined;
|
|
26605
26892
|
box?: string | undefined;
|
|
@@ -26634,7 +26921,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
26634
26921
|
birthdate?: string | undefined;
|
|
26635
26922
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
26636
26923
|
addresses?: {
|
|
26637
|
-
address_type: "main" | "delivery" | "invoice";
|
|
26924
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
26638
26925
|
name?: string | undefined;
|
|
26639
26926
|
number?: string | undefined;
|
|
26640
26927
|
box?: string | undefined;
|
|
@@ -26673,7 +26960,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
26673
26960
|
birthdate?: string | undefined;
|
|
26674
26961
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
26675
26962
|
addresses?: {
|
|
26676
|
-
address_type: "main" | "delivery" | "invoice";
|
|
26963
|
+
address_type: "main" | "delivery" | "invoice" | "other";
|
|
26677
26964
|
name?: string | undefined;
|
|
26678
26965
|
number?: string | undefined;
|
|
26679
26966
|
box?: string | undefined;
|
|
@@ -27327,11 +27614,13 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
27327
27614
|
link_mappings?: {
|
|
27328
27615
|
name: string;
|
|
27329
27616
|
description: string;
|
|
27617
|
+
logic?: Record<string, never> | undefined;
|
|
27330
27618
|
values: {
|
|
27331
27619
|
source_id: string;
|
|
27332
27620
|
target_id: string;
|
|
27333
27621
|
}[];
|
|
27334
27622
|
}[] | undefined;
|
|
27623
|
+
link_metadata?: Record<string, never> | undefined;
|
|
27335
27624
|
enabled_flows?: {
|
|
27336
27625
|
name: string;
|
|
27337
27626
|
description?: string | undefined;
|
|
@@ -27356,6 +27645,7 @@ declare const Syncs: (internalApi: InternalAPI) => {
|
|
|
27356
27645
|
}[] | undefined;
|
|
27357
27646
|
} | undefined;
|
|
27358
27647
|
values: Record<string, never>;
|
|
27648
|
+
enabled_on: string;
|
|
27359
27649
|
}[] | undefined;
|
|
27360
27650
|
}>;
|
|
27361
27651
|
getDataByDataStoreName: (dataStoreName: string, params?: object | undefined) => Promise<{
|