btrz-api-client 5.185.1 → 5.187.0
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/lib/client-standalone-min.js +3 -3
- package/lib/client.js +6 -1
- package/lib/endpoints/accounts/transport-regulation-settings.js +43 -0
- package/lib/endpoints/inventory/schedule-groups.js +72 -0
- package/lib/endpoints/operations/rms.js +1 -1
- package/package.json +1 -1
- package/src/client.js +6 -1
- package/src/endpoints/accounts/transport-regulation-settings.js +30 -0
- package/src/endpoints/inventory/schedule-groups.js +44 -0
- package/src/endpoints/operations/rms.js +1 -1
- package/test/endpoints/accounts/transport-regulation-settings.test.js +33 -0
- package/test/endpoints/inventory/schedule-groups.test.js +56 -0
- package/test/endpoints/operations/rms.js +1 -1
- package/test-integration/endpoints/inventory/schedule-groups.test.js +83 -0
- package/types/client.d.ts +53 -4
- package/types/endpoints/accounts/dynamic-forms.d.ts +6 -1
- package/types/endpoints/accounts/transport-regulation-settings.d.ts +17 -0
- package/types/endpoints/accounts/users.d.ts +6 -1
- package/types/endpoints/inventory/schedule-groups.d.ts +30 -0
- package/types/initializedClient.d.ts +52 -3
|
@@ -1178,6 +1178,32 @@ declare const _exports: {
|
|
|
1178
1178
|
headers: any;
|
|
1179
1179
|
}) => any;
|
|
1180
1180
|
};
|
|
1181
|
+
scheduleGroups: {
|
|
1182
|
+
all: ({ token, query, headers }: {
|
|
1183
|
+
token: any;
|
|
1184
|
+
query?: {};
|
|
1185
|
+
headers: any;
|
|
1186
|
+
}) => any;
|
|
1187
|
+
get: ({ token, scheduleGroupId, query, headers }: {
|
|
1188
|
+
token: any;
|
|
1189
|
+
scheduleGroupId: any;
|
|
1190
|
+
query?: {};
|
|
1191
|
+
headers: any;
|
|
1192
|
+
}) => any;
|
|
1193
|
+
create: ({ token, jwtToken, scheduleGroup, headers }: {
|
|
1194
|
+
token: any;
|
|
1195
|
+
jwtToken: any;
|
|
1196
|
+
scheduleGroup: any;
|
|
1197
|
+
headers: any;
|
|
1198
|
+
}) => any;
|
|
1199
|
+
update: ({ token, jwtToken, scheduleGroupId, scheduleGroup, headers }: {
|
|
1200
|
+
token: any;
|
|
1201
|
+
jwtToken: any;
|
|
1202
|
+
scheduleGroupId: any;
|
|
1203
|
+
scheduleGroup: any;
|
|
1204
|
+
headers: any;
|
|
1205
|
+
}) => any;
|
|
1206
|
+
};
|
|
1181
1207
|
bundles: {
|
|
1182
1208
|
all: ({ token, jwtToken, query, headers }: {
|
|
1183
1209
|
token: any;
|
|
@@ -1752,7 +1778,12 @@ declare const _exports: {
|
|
|
1752
1778
|
};
|
|
1753
1779
|
dynamicForms: {
|
|
1754
1780
|
fields: {
|
|
1755
|
-
get({ token, jwtToken, dynamicFormFieldId, headers }?: {
|
|
1781
|
+
get({ token, jwtToken, dynamicFormFieldId, headers }?: {
|
|
1782
|
+
token: any;
|
|
1783
|
+
jwtToken: any;
|
|
1784
|
+
dynamicFormFieldId: any;
|
|
1785
|
+
headers: any;
|
|
1786
|
+
}): any;
|
|
1756
1787
|
all({ token, jwtToken, query, headers }: {
|
|
1757
1788
|
token: any;
|
|
1758
1789
|
jwtToken: any;
|
|
@@ -2454,7 +2485,12 @@ declare const _exports: {
|
|
|
2454
2485
|
}) => any;
|
|
2455
2486
|
};
|
|
2456
2487
|
users: {
|
|
2457
|
-
get: ({ token, jwtToken, id, headers }?: {
|
|
2488
|
+
get: ({ token, jwtToken, id, headers }?: {
|
|
2489
|
+
token: any;
|
|
2490
|
+
jwtToken: any;
|
|
2491
|
+
id: any;
|
|
2492
|
+
headers: any;
|
|
2493
|
+
}) => any;
|
|
2458
2494
|
all: ({ token, jwtToken, query, headers }: {
|
|
2459
2495
|
token: any;
|
|
2460
2496
|
jwtToken: any;
|
|
@@ -2532,6 +2568,19 @@ declare const _exports: {
|
|
|
2532
2568
|
headers: any;
|
|
2533
2569
|
}) => any;
|
|
2534
2570
|
};
|
|
2571
|
+
transportRegulationSettingsForCNRT: {
|
|
2572
|
+
get: ({ token, jwtToken, headers }: {
|
|
2573
|
+
token: any;
|
|
2574
|
+
jwtToken: any;
|
|
2575
|
+
headers: any;
|
|
2576
|
+
}) => any;
|
|
2577
|
+
update: ({ token, jwtToken, transportRegulationSettings, headers }: {
|
|
2578
|
+
token: any;
|
|
2579
|
+
jwtToken: any;
|
|
2580
|
+
transportRegulationSettings: any;
|
|
2581
|
+
headers: any;
|
|
2582
|
+
}) => any;
|
|
2583
|
+
};
|
|
2535
2584
|
};
|
|
2536
2585
|
sales: {
|
|
2537
2586
|
docs: {
|
|
@@ -2741,7 +2790,7 @@ declare const _exports: {
|
|
|
2741
2790
|
create: ({ token, jwtToken, cancelData, headers }: {
|
|
2742
2791
|
token: string;
|
|
2743
2792
|
jwtToken: string;
|
|
2744
|
-
cancelData: CancelSetData;
|
|
2793
|
+
cancelData: import("./endpoints/sales/cancellations.js").CancelSetData;
|
|
2745
2794
|
headers: any;
|
|
2746
2795
|
}) => Promise<any>;
|
|
2747
2796
|
};
|