@chift/chift-nodejs 1.0.11 → 1.0.14
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 +11 -1
- package/README.md +11 -1
- package/dist/src/modules/accounting.d.ts +59 -49
- package/dist/src/modules/api.d.ts +485 -395
- package/dist/src/modules/consumer.d.ts +97 -79
- package/dist/src/modules/consumer.js +8 -0
- package/dist/src/modules/consumers.d.ts +485 -395
- package/dist/src/modules/ecommerce.d.ts +11 -11
- package/dist/src/modules/internalApi.d.ts +2 -0
- package/dist/src/modules/internalApi.js +6 -0
- package/dist/src/modules/invoicing.d.ts +6 -4
- package/dist/src/modules/pos.d.ts +16 -16
- package/dist/src/modules/sync.d.ts +388 -316
- package/dist/src/types/api.d.ts +1 -0
- package/dist/src/types/public-api/schema.d.ts +1007 -1007
- package/package.json +1 -1
- package/src/modules/accounting.ts +96 -67
- package/src/modules/consumer.ts +10 -0
- package/src/modules/ecommerce.ts +15 -22
- package/src/modules/internalApi.ts +11 -0
- package/src/modules/invoicing.ts +12 -4
- package/src/modules/pos.ts +22 -30
- package/src/types/api.ts +2 -0
- package/src/types/public-api/schema.ts +10835 -10780
package/dist/src/types/api.d.ts
CHANGED
|
@@ -26,3 +26,4 @@ export type RequestFactory = {
|
|
|
26
26
|
export type ApiFor<TFactory extends RequestFactory> = {
|
|
27
27
|
[key in keyof TFactory]: TFactory[key] extends (...args: infer TArgs) => RequestData<infer TResponse> ? (...args: TArgs) => Promise<TResponse> : never;
|
|
28
28
|
};
|
|
29
|
+
export type AutoPaginatedParams<T> = Omit<Exclude<T, undefined>, 'page' | 'size'>;
|