@munchi_oy/core 1.8.0 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/api.d.ts +171 -5
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +214 -8
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -5386,6 +5386,68 @@ export interface KdsOrderItemDto {
|
|
|
5386
5386
|
*/
|
|
5387
5387
|
'options': Array<KdsOrderOptionDto>;
|
|
5388
5388
|
}
|
|
5389
|
+
/**
|
|
5390
|
+
*
|
|
5391
|
+
* @export
|
|
5392
|
+
* @interface KdsOrderListResponseDto
|
|
5393
|
+
*/
|
|
5394
|
+
export interface KdsOrderListResponseDto {
|
|
5395
|
+
/**
|
|
5396
|
+
* KDS orders
|
|
5397
|
+
* @type {Array<KdsOrderDto>}
|
|
5398
|
+
* @memberof KdsOrderListResponseDto
|
|
5399
|
+
*/
|
|
5400
|
+
'orders': Array<KdsOrderDto>;
|
|
5401
|
+
/**
|
|
5402
|
+
*
|
|
5403
|
+
* @type {KdsOrderListResponseDtoPagination}
|
|
5404
|
+
* @memberof KdsOrderListResponseDto
|
|
5405
|
+
*/
|
|
5406
|
+
'pagination': KdsOrderListResponseDtoPagination;
|
|
5407
|
+
}
|
|
5408
|
+
/**
|
|
5409
|
+
* Pagination details
|
|
5410
|
+
* @export
|
|
5411
|
+
* @interface KdsOrderListResponseDtoPagination
|
|
5412
|
+
*/
|
|
5413
|
+
export interface KdsOrderListResponseDtoPagination {
|
|
5414
|
+
/**
|
|
5415
|
+
*
|
|
5416
|
+
* @type {number}
|
|
5417
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5418
|
+
*/
|
|
5419
|
+
'page': number;
|
|
5420
|
+
/**
|
|
5421
|
+
*
|
|
5422
|
+
* @type {number}
|
|
5423
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5424
|
+
*/
|
|
5425
|
+
'rowPerPage': number;
|
|
5426
|
+
/**
|
|
5427
|
+
*
|
|
5428
|
+
* @type {number}
|
|
5429
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5430
|
+
*/
|
|
5431
|
+
'totalPages': number;
|
|
5432
|
+
/**
|
|
5433
|
+
*
|
|
5434
|
+
* @type {number}
|
|
5435
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5436
|
+
*/
|
|
5437
|
+
'totalItems': number;
|
|
5438
|
+
/**
|
|
5439
|
+
*
|
|
5440
|
+
* @type {boolean}
|
|
5441
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5442
|
+
*/
|
|
5443
|
+
'hasNextPage': boolean;
|
|
5444
|
+
/**
|
|
5445
|
+
*
|
|
5446
|
+
* @type {boolean}
|
|
5447
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5448
|
+
*/
|
|
5449
|
+
'hasPreviousPage': boolean;
|
|
5450
|
+
}
|
|
5389
5451
|
/**
|
|
5390
5452
|
*
|
|
5391
5453
|
* @export
|
|
@@ -5502,6 +5564,49 @@ export interface KdsOrderSubOptionDto {
|
|
|
5502
5564
|
*/
|
|
5503
5565
|
'updatedAt': string;
|
|
5504
5566
|
}
|
|
5567
|
+
/**
|
|
5568
|
+
*
|
|
5569
|
+
* @export
|
|
5570
|
+
* @interface KdsPaginationDto
|
|
5571
|
+
*/
|
|
5572
|
+
export interface KdsPaginationDto {
|
|
5573
|
+
/**
|
|
5574
|
+
*
|
|
5575
|
+
* @type {number}
|
|
5576
|
+
* @memberof KdsPaginationDto
|
|
5577
|
+
*/
|
|
5578
|
+
'page': number;
|
|
5579
|
+
/**
|
|
5580
|
+
*
|
|
5581
|
+
* @type {number}
|
|
5582
|
+
* @memberof KdsPaginationDto
|
|
5583
|
+
*/
|
|
5584
|
+
'rowPerPage': number;
|
|
5585
|
+
/**
|
|
5586
|
+
*
|
|
5587
|
+
* @type {number}
|
|
5588
|
+
* @memberof KdsPaginationDto
|
|
5589
|
+
*/
|
|
5590
|
+
'totalPages': number;
|
|
5591
|
+
/**
|
|
5592
|
+
*
|
|
5593
|
+
* @type {number}
|
|
5594
|
+
* @memberof KdsPaginationDto
|
|
5595
|
+
*/
|
|
5596
|
+
'totalItems': number;
|
|
5597
|
+
/**
|
|
5598
|
+
*
|
|
5599
|
+
* @type {boolean}
|
|
5600
|
+
* @memberof KdsPaginationDto
|
|
5601
|
+
*/
|
|
5602
|
+
'hasNextPage': boolean;
|
|
5603
|
+
/**
|
|
5604
|
+
*
|
|
5605
|
+
* @type {boolean}
|
|
5606
|
+
* @memberof KdsPaginationDto
|
|
5607
|
+
*/
|
|
5608
|
+
'hasPreviousPage': boolean;
|
|
5609
|
+
}
|
|
5505
5610
|
/**
|
|
5506
5611
|
*
|
|
5507
5612
|
* @export
|
|
@@ -5520,6 +5625,12 @@ export interface KdsProfileDto {
|
|
|
5520
5625
|
* @memberof KdsProfileDto
|
|
5521
5626
|
*/
|
|
5522
5627
|
'name': string;
|
|
5628
|
+
/**
|
|
5629
|
+
*
|
|
5630
|
+
* @type {SystemProfileType}
|
|
5631
|
+
* @memberof KdsProfileDto
|
|
5632
|
+
*/
|
|
5633
|
+
'systemType': SystemProfileType | null;
|
|
5523
5634
|
}
|
|
5524
5635
|
/**
|
|
5525
5636
|
*
|
|
@@ -5539,6 +5650,12 @@ export interface KdsProfileResponseDto {
|
|
|
5539
5650
|
* @memberof KdsProfileResponseDto
|
|
5540
5651
|
*/
|
|
5541
5652
|
'name': string;
|
|
5653
|
+
/**
|
|
5654
|
+
*
|
|
5655
|
+
* @type {SystemProfileType}
|
|
5656
|
+
* @memberof KdsProfileResponseDto
|
|
5657
|
+
*/
|
|
5658
|
+
'systemType': SystemProfileType | null;
|
|
5542
5659
|
}
|
|
5543
5660
|
/**
|
|
5544
5661
|
*
|
|
@@ -14985,6 +15102,15 @@ export interface SyncTerminalDto {
|
|
|
14985
15102
|
*/
|
|
14986
15103
|
'businessId': number;
|
|
14987
15104
|
}
|
|
15105
|
+
/**
|
|
15106
|
+
*
|
|
15107
|
+
* @export
|
|
15108
|
+
* @enum {string}
|
|
15109
|
+
*/
|
|
15110
|
+
export declare const SystemProfileType: {
|
|
15111
|
+
readonly NoStation: "NO_STATION";
|
|
15112
|
+
};
|
|
15113
|
+
export type SystemProfileType = typeof SystemProfileType[keyof typeof SystemProfileType];
|
|
14988
15114
|
/**
|
|
14989
15115
|
*
|
|
14990
15116
|
* @export
|
|
@@ -23648,10 +23774,18 @@ export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
23648
23774
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23649
23775
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
23650
23776
|
* @param {string} profileId KDS Profile ID
|
|
23777
|
+
* @param {number} [page] Page number
|
|
23778
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
23779
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
23780
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
23781
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
23782
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
23783
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
23784
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
23651
23785
|
* @param {*} [options] Override http request option.
|
|
23652
23786
|
* @throws {RequiredError}
|
|
23653
23787
|
*/
|
|
23654
|
-
kdsGetOrders: (status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", businessIds: string, profileId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23788
|
+
kdsGetOrders: (status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23655
23789
|
/**
|
|
23656
23790
|
*
|
|
23657
23791
|
* @summary Get KDS profiles for a business
|
|
@@ -23688,10 +23822,18 @@ export declare const KDSApiFp: (configuration?: Configuration) => {
|
|
|
23688
23822
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23689
23823
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
23690
23824
|
* @param {string} profileId KDS Profile ID
|
|
23825
|
+
* @param {number} [page] Page number
|
|
23826
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
23827
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
23828
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
23829
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
23830
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
23831
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
23832
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
23691
23833
|
* @param {*} [options] Override http request option.
|
|
23692
23834
|
* @throws {RequiredError}
|
|
23693
23835
|
*/
|
|
23694
|
-
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", businessIds: string, profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
23836
|
+
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsOrderListResponseDto>>;
|
|
23695
23837
|
/**
|
|
23696
23838
|
*
|
|
23697
23839
|
* @summary Get KDS profiles for a business
|
|
@@ -23728,10 +23870,18 @@ export declare const KDSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
23728
23870
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23729
23871
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
23730
23872
|
* @param {string} profileId KDS Profile ID
|
|
23873
|
+
* @param {number} [page] Page number
|
|
23874
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
23875
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
23876
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
23877
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
23878
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
23879
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
23880
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
23731
23881
|
* @param {*} [options] Override http request option.
|
|
23732
23882
|
* @throws {RequiredError}
|
|
23733
23883
|
*/
|
|
23734
|
-
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", businessIds: string, profileId: string, options?: any): AxiosPromise<
|
|
23884
|
+
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: any): AxiosPromise<KdsOrderListResponseDto>;
|
|
23735
23885
|
/**
|
|
23736
23886
|
*
|
|
23737
23887
|
* @summary Get KDS profiles for a business
|
|
@@ -23769,11 +23919,19 @@ export interface KDSApiInterface {
|
|
|
23769
23919
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23770
23920
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
23771
23921
|
* @param {string} profileId KDS Profile ID
|
|
23922
|
+
* @param {number} [page] Page number
|
|
23923
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
23924
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
23925
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
23926
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
23927
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
23928
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
23929
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
23772
23930
|
* @param {*} [options] Override http request option.
|
|
23773
23931
|
* @throws {RequiredError}
|
|
23774
23932
|
* @memberof KDSApiInterface
|
|
23775
23933
|
*/
|
|
23776
|
-
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, options?: AxiosRequestConfig): AxiosPromise<
|
|
23934
|
+
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig): AxiosPromise<KdsOrderListResponseDto>;
|
|
23777
23935
|
/**
|
|
23778
23936
|
*
|
|
23779
23937
|
* @summary Get KDS profiles for a business
|
|
@@ -23815,11 +23973,19 @@ export declare class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
|
23815
23973
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23816
23974
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
23817
23975
|
* @param {string} profileId KDS Profile ID
|
|
23976
|
+
* @param {number} [page] Page number
|
|
23977
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
23978
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
23979
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
23980
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
23981
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
23982
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
23983
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
23818
23984
|
* @param {*} [options] Override http request option.
|
|
23819
23985
|
* @throws {RequiredError}
|
|
23820
23986
|
* @memberof KDSApi
|
|
23821
23987
|
*/
|
|
23822
|
-
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
23988
|
+
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsOrderListResponseDto, any, {}>>;
|
|
23823
23989
|
/**
|
|
23824
23990
|
*
|
|
23825
23991
|
* @summary Get KDS profiles for a business
|