@munchi_oy/core 1.9.8 → 1.9.10
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 +97 -56
- 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/src/version.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +142 -93
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -7134,16 +7134,16 @@ export interface LoginResponseDto {
|
|
|
7134
7134
|
export interface LoginResponseDtoUserInfo {
|
|
7135
7135
|
/**
|
|
7136
7136
|
* Unique identifier of the user
|
|
7137
|
-
* @type {
|
|
7137
|
+
* @type {string}
|
|
7138
7138
|
* @memberof LoginResponseDtoUserInfo
|
|
7139
7139
|
*/
|
|
7140
|
-
'id':
|
|
7140
|
+
'id': string;
|
|
7141
7141
|
/**
|
|
7142
7142
|
* Full name of the user
|
|
7143
7143
|
* @type {string}
|
|
7144
7144
|
* @memberof LoginResponseDtoUserInfo
|
|
7145
7145
|
*/
|
|
7146
|
-
'name': string;
|
|
7146
|
+
'name': string | null;
|
|
7147
7147
|
/**
|
|
7148
7148
|
* Email address of the user
|
|
7149
7149
|
* @type {string}
|
|
@@ -7155,19 +7155,19 @@ export interface LoginResponseDtoUserInfo {
|
|
|
7155
7155
|
* @type {string}
|
|
7156
7156
|
* @memberof LoginResponseDtoUserInfo
|
|
7157
7157
|
*/
|
|
7158
|
-
'cellphone': string;
|
|
7158
|
+
'cellphone': string | null;
|
|
7159
7159
|
/**
|
|
7160
7160
|
* Country dialing code for the phone number
|
|
7161
7161
|
* @type {string}
|
|
7162
7162
|
* @memberof LoginResponseDtoUserInfo
|
|
7163
7163
|
*/
|
|
7164
|
-
'countryPhoneCode': string;
|
|
7164
|
+
'countryPhoneCode': string | null;
|
|
7165
7165
|
/**
|
|
7166
7166
|
* Whether the phone number is verified
|
|
7167
7167
|
* @type {boolean}
|
|
7168
7168
|
* @memberof LoginResponseDtoUserInfo
|
|
7169
7169
|
*/
|
|
7170
|
-
'phoneVerified': boolean;
|
|
7170
|
+
'phoneVerified': boolean | null;
|
|
7171
7171
|
/**
|
|
7172
7172
|
* Session token used for ordering authorization
|
|
7173
7173
|
* @type {string}
|
|
@@ -12278,6 +12278,12 @@ export interface PosOrderDto {
|
|
|
12278
12278
|
* @memberof PosOrderDto
|
|
12279
12279
|
*/
|
|
12280
12280
|
'updatedAt': string;
|
|
12281
|
+
/**
|
|
12282
|
+
*
|
|
12283
|
+
* @type {string}
|
|
12284
|
+
* @memberof PosOrderDto
|
|
12285
|
+
*/
|
|
12286
|
+
'completedAt'?: string;
|
|
12281
12287
|
/**
|
|
12282
12288
|
*
|
|
12283
12289
|
* @type {string}
|
|
@@ -12999,6 +13005,12 @@ export interface PosOrderPayloadDtoOrder {
|
|
|
12999
13005
|
* @memberof PosOrderPayloadDtoOrder
|
|
13000
13006
|
*/
|
|
13001
13007
|
'updatedAt': string;
|
|
13008
|
+
/**
|
|
13009
|
+
*
|
|
13010
|
+
* @type {string}
|
|
13011
|
+
* @memberof PosOrderPayloadDtoOrder
|
|
13012
|
+
*/
|
|
13013
|
+
'completedAt'?: string;
|
|
13002
13014
|
/**
|
|
13003
13015
|
*
|
|
13004
13016
|
* @type {string}
|
|
@@ -13724,6 +13736,12 @@ export interface ProcessOrderActionsResponseDtoOrder {
|
|
|
13724
13736
|
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
13725
13737
|
*/
|
|
13726
13738
|
'updatedAt': string;
|
|
13739
|
+
/**
|
|
13740
|
+
*
|
|
13741
|
+
* @type {string}
|
|
13742
|
+
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
13743
|
+
*/
|
|
13744
|
+
'completedAt'?: string;
|
|
13727
13745
|
/**
|
|
13728
13746
|
*
|
|
13729
13747
|
* @type {string}
|
|
@@ -18516,16 +18534,16 @@ export interface UpsertVivaDto {
|
|
|
18516
18534
|
export interface UserInfo {
|
|
18517
18535
|
/**
|
|
18518
18536
|
* Unique identifier of the user
|
|
18519
|
-
* @type {
|
|
18537
|
+
* @type {string}
|
|
18520
18538
|
* @memberof UserInfo
|
|
18521
18539
|
*/
|
|
18522
|
-
'id':
|
|
18540
|
+
'id': string;
|
|
18523
18541
|
/**
|
|
18524
18542
|
* Full name of the user
|
|
18525
18543
|
* @type {string}
|
|
18526
18544
|
* @memberof UserInfo
|
|
18527
18545
|
*/
|
|
18528
|
-
'name': string;
|
|
18546
|
+
'name': string | null;
|
|
18529
18547
|
/**
|
|
18530
18548
|
* Email address of the user
|
|
18531
18549
|
* @type {string}
|
|
@@ -18537,19 +18555,19 @@ export interface UserInfo {
|
|
|
18537
18555
|
* @type {string}
|
|
18538
18556
|
* @memberof UserInfo
|
|
18539
18557
|
*/
|
|
18540
|
-
'cellphone': string;
|
|
18558
|
+
'cellphone': string | null;
|
|
18541
18559
|
/**
|
|
18542
18560
|
* Country dialing code for the phone number
|
|
18543
18561
|
* @type {string}
|
|
18544
18562
|
* @memberof UserInfo
|
|
18545
18563
|
*/
|
|
18546
|
-
'countryPhoneCode': string;
|
|
18564
|
+
'countryPhoneCode': string | null;
|
|
18547
18565
|
/**
|
|
18548
18566
|
* Whether the phone number is verified
|
|
18549
18567
|
* @type {boolean}
|
|
18550
18568
|
* @memberof UserInfo
|
|
18551
18569
|
*/
|
|
18552
|
-
'phoneVerified': boolean;
|
|
18570
|
+
'phoneVerified': boolean | null;
|
|
18553
18571
|
/**
|
|
18554
18572
|
* Session token used for ordering authorization
|
|
18555
18573
|
* @type {string}
|
|
@@ -18565,10 +18583,10 @@ export interface UserInfo {
|
|
|
18565
18583
|
export interface UserInfoResponseDto {
|
|
18566
18584
|
/**
|
|
18567
18585
|
*
|
|
18568
|
-
* @type {
|
|
18586
|
+
* @type {string}
|
|
18569
18587
|
* @memberof UserInfoResponseDto
|
|
18570
18588
|
*/
|
|
18571
|
-
'id':
|
|
18589
|
+
'id': string;
|
|
18572
18590
|
/**
|
|
18573
18591
|
*
|
|
18574
18592
|
* @type {string}
|
|
@@ -21671,14 +21689,6 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
21671
21689
|
* @throws {RequiredError}
|
|
21672
21690
|
*/
|
|
21673
21691
|
firebaseAuth: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21674
|
-
/**
|
|
21675
|
-
*
|
|
21676
|
-
* @summary Authorize user
|
|
21677
|
-
* @param {CredentialDto} credentialDto
|
|
21678
|
-
* @param {*} [options] Override http request option.
|
|
21679
|
-
* @throws {RequiredError}
|
|
21680
|
-
*/
|
|
21681
|
-
login: (credentialDto: CredentialDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21682
21692
|
/**
|
|
21683
21693
|
*
|
|
21684
21694
|
* @summary Log out the user
|
|
@@ -21707,14 +21717,6 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
21707
21717
|
* @throws {RequiredError}
|
|
21708
21718
|
*/
|
|
21709
21719
|
firebaseAuth(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FirebaseTokenDto>>;
|
|
21710
|
-
/**
|
|
21711
|
-
*
|
|
21712
|
-
* @summary Authorize user
|
|
21713
|
-
* @param {CredentialDto} credentialDto
|
|
21714
|
-
* @param {*} [options] Override http request option.
|
|
21715
|
-
* @throws {RequiredError}
|
|
21716
|
-
*/
|
|
21717
|
-
login(credentialDto: CredentialDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponseDto>>;
|
|
21718
21720
|
/**
|
|
21719
21721
|
*
|
|
21720
21722
|
* @summary Log out the user
|
|
@@ -21743,14 +21745,6 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
21743
21745
|
* @throws {RequiredError}
|
|
21744
21746
|
*/
|
|
21745
21747
|
firebaseAuth(options?: any): AxiosPromise<FirebaseTokenDto>;
|
|
21746
|
-
/**
|
|
21747
|
-
*
|
|
21748
|
-
* @summary Authorize user
|
|
21749
|
-
* @param {CredentialDto} credentialDto
|
|
21750
|
-
* @param {*} [options] Override http request option.
|
|
21751
|
-
* @throws {RequiredError}
|
|
21752
|
-
*/
|
|
21753
|
-
login(credentialDto: CredentialDto, options?: any): AxiosPromise<LoginResponseDto>;
|
|
21754
21748
|
/**
|
|
21755
21749
|
*
|
|
21756
21750
|
* @summary Log out the user
|
|
@@ -21781,15 +21775,6 @@ export interface AuthApiInterface {
|
|
|
21781
21775
|
* @memberof AuthApiInterface
|
|
21782
21776
|
*/
|
|
21783
21777
|
firebaseAuth(options?: AxiosRequestConfig): AxiosPromise<FirebaseTokenDto>;
|
|
21784
|
-
/**
|
|
21785
|
-
*
|
|
21786
|
-
* @summary Authorize user
|
|
21787
|
-
* @param {CredentialDto} credentialDto
|
|
21788
|
-
* @param {*} [options] Override http request option.
|
|
21789
|
-
* @throws {RequiredError}
|
|
21790
|
-
* @memberof AuthApiInterface
|
|
21791
|
-
*/
|
|
21792
|
-
login(credentialDto: CredentialDto, options?: AxiosRequestConfig): AxiosPromise<LoginResponseDto>;
|
|
21793
21778
|
/**
|
|
21794
21779
|
*
|
|
21795
21780
|
* @summary Log out the user
|
|
@@ -21823,15 +21808,6 @@ export declare class AuthApi extends BaseAPI implements AuthApiInterface {
|
|
|
21823
21808
|
* @memberof AuthApi
|
|
21824
21809
|
*/
|
|
21825
21810
|
firebaseAuth(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FirebaseTokenDto, any, {}>>;
|
|
21826
|
-
/**
|
|
21827
|
-
*
|
|
21828
|
-
* @summary Authorize user
|
|
21829
|
-
* @param {CredentialDto} credentialDto
|
|
21830
|
-
* @param {*} [options] Override http request option.
|
|
21831
|
-
* @throws {RequiredError}
|
|
21832
|
-
* @memberof AuthApi
|
|
21833
|
-
*/
|
|
21834
|
-
login(credentialDto: CredentialDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponseDto, any, {}>>;
|
|
21835
21811
|
/**
|
|
21836
21812
|
*
|
|
21837
21813
|
* @summary Log out the user
|
|
@@ -25651,6 +25627,71 @@ export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyI
|
|
|
25651
25627
|
*/
|
|
25652
25628
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PointsUpdateResponseDto, any, {}>>;
|
|
25653
25629
|
}
|
|
25630
|
+
/**
|
|
25631
|
+
* MApi - axios parameter creator
|
|
25632
|
+
* @export
|
|
25633
|
+
*/
|
|
25634
|
+
export declare const MApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25635
|
+
/**
|
|
25636
|
+
*
|
|
25637
|
+
* @param {*} [options] Override http request option.
|
|
25638
|
+
* @throws {RequiredError}
|
|
25639
|
+
*/
|
|
25640
|
+
munchiLogin: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25641
|
+
};
|
|
25642
|
+
/**
|
|
25643
|
+
* MApi - functional programming interface
|
|
25644
|
+
* @export
|
|
25645
|
+
*/
|
|
25646
|
+
export declare const MApiFp: (configuration?: Configuration) => {
|
|
25647
|
+
/**
|
|
25648
|
+
*
|
|
25649
|
+
* @param {*} [options] Override http request option.
|
|
25650
|
+
* @throws {RequiredError}
|
|
25651
|
+
*/
|
|
25652
|
+
munchiLogin(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25653
|
+
};
|
|
25654
|
+
/**
|
|
25655
|
+
* MApi - factory interface
|
|
25656
|
+
* @export
|
|
25657
|
+
*/
|
|
25658
|
+
export declare const MApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25659
|
+
/**
|
|
25660
|
+
*
|
|
25661
|
+
* @param {*} [options] Override http request option.
|
|
25662
|
+
* @throws {RequiredError}
|
|
25663
|
+
*/
|
|
25664
|
+
munchiLogin(options?: any): AxiosPromise<void>;
|
|
25665
|
+
};
|
|
25666
|
+
/**
|
|
25667
|
+
* MApi - interface
|
|
25668
|
+
* @export
|
|
25669
|
+
* @interface MApi
|
|
25670
|
+
*/
|
|
25671
|
+
export interface MApiInterface {
|
|
25672
|
+
/**
|
|
25673
|
+
*
|
|
25674
|
+
* @param {*} [options] Override http request option.
|
|
25675
|
+
* @throws {RequiredError}
|
|
25676
|
+
* @memberof MApiInterface
|
|
25677
|
+
*/
|
|
25678
|
+
munchiLogin(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25679
|
+
}
|
|
25680
|
+
/**
|
|
25681
|
+
* MApi - object-oriented interface
|
|
25682
|
+
* @export
|
|
25683
|
+
* @class MApi
|
|
25684
|
+
* @extends {BaseAPI}
|
|
25685
|
+
*/
|
|
25686
|
+
export declare class MApi extends BaseAPI implements MApiInterface {
|
|
25687
|
+
/**
|
|
25688
|
+
*
|
|
25689
|
+
* @param {*} [options] Override http request option.
|
|
25690
|
+
* @throws {RequiredError}
|
|
25691
|
+
* @memberof MApi
|
|
25692
|
+
*/
|
|
25693
|
+
munchiLogin(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25694
|
+
}
|
|
25654
25695
|
/**
|
|
25655
25696
|
* MenuApi - axios parameter creator
|
|
25656
25697
|
* @export
|