@munchi_oy/core 1.7.2 → 1.7.4
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 +497 -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 +635 -13
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -5502,6 +5502,25 @@ export interface KdsOrderSubOptionDto {
|
|
|
5502
5502
|
*/
|
|
5503
5503
|
'updatedAt': string;
|
|
5504
5504
|
}
|
|
5505
|
+
/**
|
|
5506
|
+
*
|
|
5507
|
+
* @export
|
|
5508
|
+
* @interface KdsProfileDto
|
|
5509
|
+
*/
|
|
5510
|
+
export interface KdsProfileDto {
|
|
5511
|
+
/**
|
|
5512
|
+
*
|
|
5513
|
+
* @type {string}
|
|
5514
|
+
* @memberof KdsProfileDto
|
|
5515
|
+
*/
|
|
5516
|
+
'id': string;
|
|
5517
|
+
/**
|
|
5518
|
+
*
|
|
5519
|
+
* @type {string}
|
|
5520
|
+
* @memberof KdsProfileDto
|
|
5521
|
+
*/
|
|
5522
|
+
'name': string;
|
|
5523
|
+
}
|
|
5505
5524
|
/**
|
|
5506
5525
|
*
|
|
5507
5526
|
* @export
|
|
@@ -5564,6 +5583,346 @@ export interface KdsPubSubPayloadDto {
|
|
|
5564
5583
|
*/
|
|
5565
5584
|
'type': SourceType;
|
|
5566
5585
|
}
|
|
5586
|
+
/**
|
|
5587
|
+
*
|
|
5588
|
+
* @export
|
|
5589
|
+
* @interface KdsReadyOrderResponseDto
|
|
5590
|
+
*/
|
|
5591
|
+
export interface KdsReadyOrderResponseDto {
|
|
5592
|
+
/**
|
|
5593
|
+
* Indicates whether the KDS order ready update succeeded
|
|
5594
|
+
* @type {boolean}
|
|
5595
|
+
* @memberof KdsReadyOrderResponseDto
|
|
5596
|
+
*/
|
|
5597
|
+
'status': boolean;
|
|
5598
|
+
/**
|
|
5599
|
+
* Human-readable status message
|
|
5600
|
+
* @type {string}
|
|
5601
|
+
* @memberof KdsReadyOrderResponseDto
|
|
5602
|
+
*/
|
|
5603
|
+
'message': string;
|
|
5604
|
+
/**
|
|
5605
|
+
*
|
|
5606
|
+
* @type {KdsReadyOrderResponseDtoOrder}
|
|
5607
|
+
* @memberof KdsReadyOrderResponseDto
|
|
5608
|
+
*/
|
|
5609
|
+
'order': KdsReadyOrderResponseDtoOrder | null;
|
|
5610
|
+
}
|
|
5611
|
+
/**
|
|
5612
|
+
* Updated KDS order after the ready flow completes
|
|
5613
|
+
* @export
|
|
5614
|
+
* @interface KdsReadyOrderResponseDtoOrder
|
|
5615
|
+
*/
|
|
5616
|
+
export interface KdsReadyOrderResponseDtoOrder {
|
|
5617
|
+
/**
|
|
5618
|
+
*
|
|
5619
|
+
* @type {string}
|
|
5620
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5621
|
+
*/
|
|
5622
|
+
'id': string;
|
|
5623
|
+
/**
|
|
5624
|
+
*
|
|
5625
|
+
* @type {string}
|
|
5626
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5627
|
+
*/
|
|
5628
|
+
'parentOrderId': string;
|
|
5629
|
+
/**
|
|
5630
|
+
*
|
|
5631
|
+
* @type {number}
|
|
5632
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5633
|
+
*/
|
|
5634
|
+
'businessId': number;
|
|
5635
|
+
/**
|
|
5636
|
+
*
|
|
5637
|
+
* @type {string}
|
|
5638
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5639
|
+
*/
|
|
5640
|
+
'profileId': string;
|
|
5641
|
+
/**
|
|
5642
|
+
*
|
|
5643
|
+
* @type {string}
|
|
5644
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5645
|
+
*/
|
|
5646
|
+
'profileName': string;
|
|
5647
|
+
/**
|
|
5648
|
+
*
|
|
5649
|
+
* @type {ProviderEnum}
|
|
5650
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5651
|
+
*/
|
|
5652
|
+
'provider': ProviderEnum;
|
|
5653
|
+
/**
|
|
5654
|
+
*
|
|
5655
|
+
* @type {string}
|
|
5656
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5657
|
+
*/
|
|
5658
|
+
'orderNumber': string;
|
|
5659
|
+
/**
|
|
5660
|
+
*
|
|
5661
|
+
* @type {string}
|
|
5662
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5663
|
+
*/
|
|
5664
|
+
'comment': string | null;
|
|
5665
|
+
/**
|
|
5666
|
+
*
|
|
5667
|
+
* @type {number}
|
|
5668
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5669
|
+
*/
|
|
5670
|
+
'preparedIn': number | null;
|
|
5671
|
+
/**
|
|
5672
|
+
*
|
|
5673
|
+
* @type {string}
|
|
5674
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5675
|
+
*/
|
|
5676
|
+
'spotNumber': string | null;
|
|
5677
|
+
/**
|
|
5678
|
+
*
|
|
5679
|
+
* @type {string}
|
|
5680
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5681
|
+
*/
|
|
5682
|
+
'acceptedAt': string | null;
|
|
5683
|
+
/**
|
|
5684
|
+
*
|
|
5685
|
+
* @type {string}
|
|
5686
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5687
|
+
*/
|
|
5688
|
+
'pickupEta': string | null;
|
|
5689
|
+
/**
|
|
5690
|
+
*
|
|
5691
|
+
* @type {string}
|
|
5692
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5693
|
+
*/
|
|
5694
|
+
'deliveryEta': string | null;
|
|
5695
|
+
/**
|
|
5696
|
+
*
|
|
5697
|
+
* @type {ConsumptionType}
|
|
5698
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5699
|
+
*/
|
|
5700
|
+
'consumptionType': ConsumptionType;
|
|
5701
|
+
/**
|
|
5702
|
+
*
|
|
5703
|
+
* @type {string}
|
|
5704
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5705
|
+
*/
|
|
5706
|
+
'orderCreatedAt': string;
|
|
5707
|
+
/**
|
|
5708
|
+
*
|
|
5709
|
+
* @type {string}
|
|
5710
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5711
|
+
*/
|
|
5712
|
+
'orderUpdatedAt': string;
|
|
5713
|
+
/**
|
|
5714
|
+
*
|
|
5715
|
+
* @type {OrderType}
|
|
5716
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5717
|
+
*/
|
|
5718
|
+
'type': OrderType;
|
|
5719
|
+
/**
|
|
5720
|
+
*
|
|
5721
|
+
* @type {OrderMode}
|
|
5722
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5723
|
+
*/
|
|
5724
|
+
'orderMode': OrderMode;
|
|
5725
|
+
/**
|
|
5726
|
+
*
|
|
5727
|
+
* @type {SourceType}
|
|
5728
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5729
|
+
*/
|
|
5730
|
+
'sourceType': SourceType;
|
|
5731
|
+
/**
|
|
5732
|
+
*
|
|
5733
|
+
* @type {OrderStatus}
|
|
5734
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5735
|
+
*/
|
|
5736
|
+
'status': OrderStatus;
|
|
5737
|
+
/**
|
|
5738
|
+
*
|
|
5739
|
+
* @type {string}
|
|
5740
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5741
|
+
*/
|
|
5742
|
+
'createdAt': string;
|
|
5743
|
+
/**
|
|
5744
|
+
*
|
|
5745
|
+
* @type {string}
|
|
5746
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5747
|
+
*/
|
|
5748
|
+
'updatedAt': string;
|
|
5749
|
+
/**
|
|
5750
|
+
*
|
|
5751
|
+
* @type {Array<KdsOrderItemDto>}
|
|
5752
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
5753
|
+
*/
|
|
5754
|
+
'items': Array<KdsOrderItemDto>;
|
|
5755
|
+
}
|
|
5756
|
+
/**
|
|
5757
|
+
*
|
|
5758
|
+
* @export
|
|
5759
|
+
* @interface KdsRevertOrderResponseDto
|
|
5760
|
+
*/
|
|
5761
|
+
export interface KdsRevertOrderResponseDto {
|
|
5762
|
+
/**
|
|
5763
|
+
* Indicates whether the KDS order revert succeeded
|
|
5764
|
+
* @type {boolean}
|
|
5765
|
+
* @memberof KdsRevertOrderResponseDto
|
|
5766
|
+
*/
|
|
5767
|
+
'status': boolean;
|
|
5768
|
+
/**
|
|
5769
|
+
* Human-readable status message
|
|
5770
|
+
* @type {string}
|
|
5771
|
+
* @memberof KdsRevertOrderResponseDto
|
|
5772
|
+
*/
|
|
5773
|
+
'message': string;
|
|
5774
|
+
/**
|
|
5775
|
+
*
|
|
5776
|
+
* @type {KdsRevertOrderResponseDtoOrder}
|
|
5777
|
+
* @memberof KdsRevertOrderResponseDto
|
|
5778
|
+
*/
|
|
5779
|
+
'order': KdsRevertOrderResponseDtoOrder | null;
|
|
5780
|
+
}
|
|
5781
|
+
/**
|
|
5782
|
+
* Updated KDS order after the revert flow completes
|
|
5783
|
+
* @export
|
|
5784
|
+
* @interface KdsRevertOrderResponseDtoOrder
|
|
5785
|
+
*/
|
|
5786
|
+
export interface KdsRevertOrderResponseDtoOrder {
|
|
5787
|
+
/**
|
|
5788
|
+
*
|
|
5789
|
+
* @type {string}
|
|
5790
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5791
|
+
*/
|
|
5792
|
+
'id': string;
|
|
5793
|
+
/**
|
|
5794
|
+
*
|
|
5795
|
+
* @type {string}
|
|
5796
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5797
|
+
*/
|
|
5798
|
+
'parentOrderId': string;
|
|
5799
|
+
/**
|
|
5800
|
+
*
|
|
5801
|
+
* @type {number}
|
|
5802
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5803
|
+
*/
|
|
5804
|
+
'businessId': number;
|
|
5805
|
+
/**
|
|
5806
|
+
*
|
|
5807
|
+
* @type {string}
|
|
5808
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5809
|
+
*/
|
|
5810
|
+
'profileId': string;
|
|
5811
|
+
/**
|
|
5812
|
+
*
|
|
5813
|
+
* @type {string}
|
|
5814
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5815
|
+
*/
|
|
5816
|
+
'profileName': string;
|
|
5817
|
+
/**
|
|
5818
|
+
*
|
|
5819
|
+
* @type {ProviderEnum}
|
|
5820
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5821
|
+
*/
|
|
5822
|
+
'provider': ProviderEnum;
|
|
5823
|
+
/**
|
|
5824
|
+
*
|
|
5825
|
+
* @type {string}
|
|
5826
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5827
|
+
*/
|
|
5828
|
+
'orderNumber': string;
|
|
5829
|
+
/**
|
|
5830
|
+
*
|
|
5831
|
+
* @type {string}
|
|
5832
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5833
|
+
*/
|
|
5834
|
+
'comment': string | null;
|
|
5835
|
+
/**
|
|
5836
|
+
*
|
|
5837
|
+
* @type {number}
|
|
5838
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5839
|
+
*/
|
|
5840
|
+
'preparedIn': number | null;
|
|
5841
|
+
/**
|
|
5842
|
+
*
|
|
5843
|
+
* @type {string}
|
|
5844
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5845
|
+
*/
|
|
5846
|
+
'spotNumber': string | null;
|
|
5847
|
+
/**
|
|
5848
|
+
*
|
|
5849
|
+
* @type {string}
|
|
5850
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5851
|
+
*/
|
|
5852
|
+
'acceptedAt': string | null;
|
|
5853
|
+
/**
|
|
5854
|
+
*
|
|
5855
|
+
* @type {string}
|
|
5856
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5857
|
+
*/
|
|
5858
|
+
'pickupEta': string | null;
|
|
5859
|
+
/**
|
|
5860
|
+
*
|
|
5861
|
+
* @type {string}
|
|
5862
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5863
|
+
*/
|
|
5864
|
+
'deliveryEta': string | null;
|
|
5865
|
+
/**
|
|
5866
|
+
*
|
|
5867
|
+
* @type {ConsumptionType}
|
|
5868
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5869
|
+
*/
|
|
5870
|
+
'consumptionType': ConsumptionType;
|
|
5871
|
+
/**
|
|
5872
|
+
*
|
|
5873
|
+
* @type {string}
|
|
5874
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5875
|
+
*/
|
|
5876
|
+
'orderCreatedAt': string;
|
|
5877
|
+
/**
|
|
5878
|
+
*
|
|
5879
|
+
* @type {string}
|
|
5880
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5881
|
+
*/
|
|
5882
|
+
'orderUpdatedAt': string;
|
|
5883
|
+
/**
|
|
5884
|
+
*
|
|
5885
|
+
* @type {OrderType}
|
|
5886
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5887
|
+
*/
|
|
5888
|
+
'type': OrderType;
|
|
5889
|
+
/**
|
|
5890
|
+
*
|
|
5891
|
+
* @type {OrderMode}
|
|
5892
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5893
|
+
*/
|
|
5894
|
+
'orderMode': OrderMode;
|
|
5895
|
+
/**
|
|
5896
|
+
*
|
|
5897
|
+
* @type {SourceType}
|
|
5898
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5899
|
+
*/
|
|
5900
|
+
'sourceType': SourceType;
|
|
5901
|
+
/**
|
|
5902
|
+
*
|
|
5903
|
+
* @type {OrderStatus}
|
|
5904
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5905
|
+
*/
|
|
5906
|
+
'status': OrderStatus;
|
|
5907
|
+
/**
|
|
5908
|
+
*
|
|
5909
|
+
* @type {string}
|
|
5910
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5911
|
+
*/
|
|
5912
|
+
'createdAt': string;
|
|
5913
|
+
/**
|
|
5914
|
+
*
|
|
5915
|
+
* @type {string}
|
|
5916
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5917
|
+
*/
|
|
5918
|
+
'updatedAt': string;
|
|
5919
|
+
/**
|
|
5920
|
+
*
|
|
5921
|
+
* @type {Array<KdsOrderItemDto>}
|
|
5922
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
5923
|
+
*/
|
|
5924
|
+
'items': Array<KdsOrderItemDto>;
|
|
5925
|
+
}
|
|
5567
5926
|
/**
|
|
5568
5927
|
*
|
|
5569
5928
|
* @export
|
|
@@ -5640,6 +5999,7 @@ export declare const KitchenStatus: {
|
|
|
5640
5999
|
readonly NotApplicable: "not_applicable";
|
|
5641
6000
|
readonly Pending: "pending";
|
|
5642
6001
|
readonly OnHold: "on_hold";
|
|
6002
|
+
readonly Ready: "ready";
|
|
5643
6003
|
readonly SentToOm: "sent_to_om";
|
|
5644
6004
|
readonly DispatchedToKitchen: "dispatched_to_kitchen";
|
|
5645
6005
|
readonly Completed: "completed";
|
|
@@ -13785,6 +14145,7 @@ export declare const SYNCKEY: {
|
|
|
13785
14145
|
readonly InvoiceCompanies: "INVOICE_COMPANIES";
|
|
13786
14146
|
readonly BusinessTax: "BUSINESS_TAX";
|
|
13787
14147
|
readonly Transaction: "TRANSACTION";
|
|
14148
|
+
readonly DiscountsV2: "DISCOUNTS_V2";
|
|
13788
14149
|
};
|
|
13789
14150
|
export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
|
|
13790
14151
|
/**
|
|
@@ -23285,11 +23646,36 @@ export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
23285
23646
|
*
|
|
23286
23647
|
* @summary Get KDS orders by status
|
|
23287
23648
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23649
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
23288
23650
|
* @param {string} profileId KDS Profile ID
|
|
23289
23651
|
* @param {*} [options] Override http request option.
|
|
23290
23652
|
* @throws {RequiredError}
|
|
23291
23653
|
*/
|
|
23292
|
-
kdsGetOrders: (status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", profileId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23654
|
+
kdsGetOrders: (status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", businessIds: string, profileId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23655
|
+
/**
|
|
23656
|
+
*
|
|
23657
|
+
* @summary Get KDS profiles for a business
|
|
23658
|
+
* @param {number} businessId Business ID
|
|
23659
|
+
* @param {*} [options] Override http request option.
|
|
23660
|
+
* @throws {RequiredError}
|
|
23661
|
+
*/
|
|
23662
|
+
kdsGetProfiles: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23663
|
+
/**
|
|
23664
|
+
*
|
|
23665
|
+
* @summary Mark a KDS order as ready
|
|
23666
|
+
* @param {string} id KDS order ID
|
|
23667
|
+
* @param {*} [options] Override http request option.
|
|
23668
|
+
* @throws {RequiredError}
|
|
23669
|
+
*/
|
|
23670
|
+
kdsMarkOrderReady: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23671
|
+
/**
|
|
23672
|
+
*
|
|
23673
|
+
* @summary Revert a KDS order back to in progress
|
|
23674
|
+
* @param {string} id KDS order ID
|
|
23675
|
+
* @param {*} [options] Override http request option.
|
|
23676
|
+
* @throws {RequiredError}
|
|
23677
|
+
*/
|
|
23678
|
+
kdsRevertOrder: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23293
23679
|
};
|
|
23294
23680
|
/**
|
|
23295
23681
|
* KDSApi - functional programming interface
|
|
@@ -23300,11 +23686,36 @@ export declare const KDSApiFp: (configuration?: Configuration) => {
|
|
|
23300
23686
|
*
|
|
23301
23687
|
* @summary Get KDS orders by status
|
|
23302
23688
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23689
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
23303
23690
|
* @param {string} profileId KDS Profile ID
|
|
23304
23691
|
* @param {*} [options] Override http request option.
|
|
23305
23692
|
* @throws {RequiredError}
|
|
23306
23693
|
*/
|
|
23307
|
-
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsOrderDto>>>;
|
|
23694
|
+
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", businessIds: string, profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsOrderDto>>>;
|
|
23695
|
+
/**
|
|
23696
|
+
*
|
|
23697
|
+
* @summary Get KDS profiles for a business
|
|
23698
|
+
* @param {number} businessId Business ID
|
|
23699
|
+
* @param {*} [options] Override http request option.
|
|
23700
|
+
* @throws {RequiredError}
|
|
23701
|
+
*/
|
|
23702
|
+
kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsProfileDto>>>;
|
|
23703
|
+
/**
|
|
23704
|
+
*
|
|
23705
|
+
* @summary Mark a KDS order as ready
|
|
23706
|
+
* @param {string} id KDS order ID
|
|
23707
|
+
* @param {*} [options] Override http request option.
|
|
23708
|
+
* @throws {RequiredError}
|
|
23709
|
+
*/
|
|
23710
|
+
kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsReadyOrderResponseDto>>;
|
|
23711
|
+
/**
|
|
23712
|
+
*
|
|
23713
|
+
* @summary Revert a KDS order back to in progress
|
|
23714
|
+
* @param {string} id KDS order ID
|
|
23715
|
+
* @param {*} [options] Override http request option.
|
|
23716
|
+
* @throws {RequiredError}
|
|
23717
|
+
*/
|
|
23718
|
+
kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsRevertOrderResponseDto>>;
|
|
23308
23719
|
};
|
|
23309
23720
|
/**
|
|
23310
23721
|
* KDSApi - factory interface
|
|
@@ -23315,11 +23726,36 @@ export declare const KDSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
23315
23726
|
*
|
|
23316
23727
|
* @summary Get KDS orders by status
|
|
23317
23728
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23729
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
23318
23730
|
* @param {string} profileId KDS Profile ID
|
|
23319
23731
|
* @param {*} [options] Override http request option.
|
|
23320
23732
|
* @throws {RequiredError}
|
|
23321
23733
|
*/
|
|
23322
|
-
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", profileId: string, options?: any): AxiosPromise<Array<KdsOrderDto>>;
|
|
23734
|
+
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", businessIds: string, profileId: string, options?: any): AxiosPromise<Array<KdsOrderDto>>;
|
|
23735
|
+
/**
|
|
23736
|
+
*
|
|
23737
|
+
* @summary Get KDS profiles for a business
|
|
23738
|
+
* @param {number} businessId Business ID
|
|
23739
|
+
* @param {*} [options] Override http request option.
|
|
23740
|
+
* @throws {RequiredError}
|
|
23741
|
+
*/
|
|
23742
|
+
kdsGetProfiles(businessId: number, options?: any): AxiosPromise<Array<KdsProfileDto>>;
|
|
23743
|
+
/**
|
|
23744
|
+
*
|
|
23745
|
+
* @summary Mark a KDS order as ready
|
|
23746
|
+
* @param {string} id KDS order ID
|
|
23747
|
+
* @param {*} [options] Override http request option.
|
|
23748
|
+
* @throws {RequiredError}
|
|
23749
|
+
*/
|
|
23750
|
+
kdsMarkOrderReady(id: string, options?: any): AxiosPromise<KdsReadyOrderResponseDto>;
|
|
23751
|
+
/**
|
|
23752
|
+
*
|
|
23753
|
+
* @summary Revert a KDS order back to in progress
|
|
23754
|
+
* @param {string} id KDS order ID
|
|
23755
|
+
* @param {*} [options] Override http request option.
|
|
23756
|
+
* @throws {RequiredError}
|
|
23757
|
+
*/
|
|
23758
|
+
kdsRevertOrder(id: string, options?: any): AxiosPromise<KdsRevertOrderResponseDto>;
|
|
23323
23759
|
};
|
|
23324
23760
|
/**
|
|
23325
23761
|
* KDSApi - interface
|
|
@@ -23331,12 +23767,40 @@ export interface KDSApiInterface {
|
|
|
23331
23767
|
*
|
|
23332
23768
|
* @summary Get KDS orders by status
|
|
23333
23769
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23770
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
23334
23771
|
* @param {string} profileId KDS Profile ID
|
|
23335
23772
|
* @param {*} [options] Override http request option.
|
|
23336
23773
|
* @throws {RequiredError}
|
|
23337
23774
|
* @memberof KDSApiInterface
|
|
23338
23775
|
*/
|
|
23339
|
-
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', profileId: string, options?: AxiosRequestConfig): AxiosPromise<Array<KdsOrderDto>>;
|
|
23776
|
+
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, options?: AxiosRequestConfig): AxiosPromise<Array<KdsOrderDto>>;
|
|
23777
|
+
/**
|
|
23778
|
+
*
|
|
23779
|
+
* @summary Get KDS profiles for a business
|
|
23780
|
+
* @param {number} businessId Business ID
|
|
23781
|
+
* @param {*} [options] Override http request option.
|
|
23782
|
+
* @throws {RequiredError}
|
|
23783
|
+
* @memberof KDSApiInterface
|
|
23784
|
+
*/
|
|
23785
|
+
kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<KdsProfileDto>>;
|
|
23786
|
+
/**
|
|
23787
|
+
*
|
|
23788
|
+
* @summary Mark a KDS order as ready
|
|
23789
|
+
* @param {string} id KDS order ID
|
|
23790
|
+
* @param {*} [options] Override http request option.
|
|
23791
|
+
* @throws {RequiredError}
|
|
23792
|
+
* @memberof KDSApiInterface
|
|
23793
|
+
*/
|
|
23794
|
+
kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsReadyOrderResponseDto>;
|
|
23795
|
+
/**
|
|
23796
|
+
*
|
|
23797
|
+
* @summary Revert a KDS order back to in progress
|
|
23798
|
+
* @param {string} id KDS order ID
|
|
23799
|
+
* @param {*} [options] Override http request option.
|
|
23800
|
+
* @throws {RequiredError}
|
|
23801
|
+
* @memberof KDSApiInterface
|
|
23802
|
+
*/
|
|
23803
|
+
kdsRevertOrder(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsRevertOrderResponseDto>;
|
|
23340
23804
|
}
|
|
23341
23805
|
/**
|
|
23342
23806
|
* KDSApi - object-oriented interface
|
|
@@ -23349,12 +23813,40 @@ export declare class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
|
23349
23813
|
*
|
|
23350
23814
|
* @summary Get KDS orders by status
|
|
23351
23815
|
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23816
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
23352
23817
|
* @param {string} profileId KDS Profile ID
|
|
23353
23818
|
* @param {*} [options] Override http request option.
|
|
23354
23819
|
* @throws {RequiredError}
|
|
23355
23820
|
* @memberof KDSApi
|
|
23356
23821
|
*/
|
|
23357
|
-
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', profileId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsOrderDto[], any, {}>>;
|
|
23822
|
+
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsOrderDto[], any, {}>>;
|
|
23823
|
+
/**
|
|
23824
|
+
*
|
|
23825
|
+
* @summary Get KDS profiles for a business
|
|
23826
|
+
* @param {number} businessId Business ID
|
|
23827
|
+
* @param {*} [options] Override http request option.
|
|
23828
|
+
* @throws {RequiredError}
|
|
23829
|
+
* @memberof KDSApi
|
|
23830
|
+
*/
|
|
23831
|
+
kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsProfileDto[], any, {}>>;
|
|
23832
|
+
/**
|
|
23833
|
+
*
|
|
23834
|
+
* @summary Mark a KDS order as ready
|
|
23835
|
+
* @param {string} id KDS order ID
|
|
23836
|
+
* @param {*} [options] Override http request option.
|
|
23837
|
+
* @throws {RequiredError}
|
|
23838
|
+
* @memberof KDSApi
|
|
23839
|
+
*/
|
|
23840
|
+
kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsReadyOrderResponseDto, any, {}>>;
|
|
23841
|
+
/**
|
|
23842
|
+
*
|
|
23843
|
+
* @summary Revert a KDS order back to in progress
|
|
23844
|
+
* @param {string} id KDS order ID
|
|
23845
|
+
* @param {*} [options] Override http request option.
|
|
23846
|
+
* @throws {RequiredError}
|
|
23847
|
+
* @memberof KDSApi
|
|
23848
|
+
*/
|
|
23849
|
+
kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsRevertOrderResponseDto, any, {}>>;
|
|
23358
23850
|
}
|
|
23359
23851
|
/**
|
|
23360
23852
|
* KiosksApi - axios parameter creator
|