@munchi_oy/core 1.9.109 → 1.9.111
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 +93 -8
- 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 +136 -9
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -2472,6 +2472,16 @@ export interface CategoryDto {
|
|
|
2472
2472
|
*/
|
|
2473
2473
|
'subcategories': Array<SubcategoryDto>;
|
|
2474
2474
|
}
|
|
2475
|
+
/**
|
|
2476
|
+
*
|
|
2477
|
+
* @export
|
|
2478
|
+
* @enum {string}
|
|
2479
|
+
*/
|
|
2480
|
+
export declare const CdsSessionRole: {
|
|
2481
|
+
readonly Pos: "pos";
|
|
2482
|
+
readonly Display: "display";
|
|
2483
|
+
};
|
|
2484
|
+
export type CdsSessionRole = typeof CdsSessionRole[keyof typeof CdsSessionRole];
|
|
2475
2485
|
/**
|
|
2476
2486
|
*
|
|
2477
2487
|
* @export
|
|
@@ -19646,11 +19656,11 @@ export interface RequestSessionTokenBodyDto {
|
|
|
19646
19656
|
*/
|
|
19647
19657
|
'sessionId': string;
|
|
19648
19658
|
/**
|
|
19649
|
-
*
|
|
19650
|
-
* @type {
|
|
19659
|
+
*
|
|
19660
|
+
* @type {CdsSessionRole}
|
|
19651
19661
|
* @memberof RequestSessionTokenBodyDto
|
|
19652
19662
|
*/
|
|
19653
|
-
'role':
|
|
19663
|
+
'role': CdsSessionRole;
|
|
19654
19664
|
/**
|
|
19655
19665
|
* Requesting device id (posDeviceId or displayId).
|
|
19656
19666
|
* @type {string}
|
|
@@ -19658,11 +19668,6 @@ export interface RequestSessionTokenBodyDto {
|
|
|
19658
19668
|
*/
|
|
19659
19669
|
'deviceId': string;
|
|
19660
19670
|
}
|
|
19661
|
-
export declare const RoleEnum: {
|
|
19662
|
-
readonly Pos: "pos";
|
|
19663
|
-
readonly Display: "display";
|
|
19664
|
-
};
|
|
19665
|
-
export type RoleEnum = typeof RoleEnum[keyof typeof RoleEnum];
|
|
19666
19671
|
/**
|
|
19667
19672
|
*
|
|
19668
19673
|
* @export
|
|
@@ -23676,6 +23681,44 @@ export interface UnlockTerminalDto {
|
|
|
23676
23681
|
*/
|
|
23677
23682
|
'employeeId': string;
|
|
23678
23683
|
}
|
|
23684
|
+
/**
|
|
23685
|
+
*
|
|
23686
|
+
* @export
|
|
23687
|
+
* @interface UnpairDisplayBodyDto
|
|
23688
|
+
*/
|
|
23689
|
+
export interface UnpairDisplayBodyDto {
|
|
23690
|
+
/**
|
|
23691
|
+
* Session id of the binding to tear down.
|
|
23692
|
+
* @type {string}
|
|
23693
|
+
* @memberof UnpairDisplayBodyDto
|
|
23694
|
+
*/
|
|
23695
|
+
'sessionId': string;
|
|
23696
|
+
/**
|
|
23697
|
+
*
|
|
23698
|
+
* @type {CdsSessionRole}
|
|
23699
|
+
* @memberof UnpairDisplayBodyDto
|
|
23700
|
+
*/
|
|
23701
|
+
'role': CdsSessionRole;
|
|
23702
|
+
/**
|
|
23703
|
+
* Requesting device id (posDeviceId or displayId).
|
|
23704
|
+
* @type {string}
|
|
23705
|
+
* @memberof UnpairDisplayBodyDto
|
|
23706
|
+
*/
|
|
23707
|
+
'deviceId': string;
|
|
23708
|
+
}
|
|
23709
|
+
/**
|
|
23710
|
+
*
|
|
23711
|
+
* @export
|
|
23712
|
+
* @interface UnpairDisplayResponseDto
|
|
23713
|
+
*/
|
|
23714
|
+
export interface UnpairDisplayResponseDto {
|
|
23715
|
+
/**
|
|
23716
|
+
* True once the binding is cleared (or already gone).
|
|
23717
|
+
* @type {boolean}
|
|
23718
|
+
* @memberof UnpairDisplayResponseDto
|
|
23719
|
+
*/
|
|
23720
|
+
'success': boolean;
|
|
23721
|
+
}
|
|
23679
23722
|
/**
|
|
23680
23723
|
*
|
|
23681
23724
|
* @export
|
|
@@ -30259,6 +30302,14 @@ export declare const DisplayApiAxiosParamCreator: (configuration?: Configuration
|
|
|
30259
30302
|
* @throws {RequiredError}
|
|
30260
30303
|
*/
|
|
30261
30304
|
sessionToken: (requestSessionTokenBodyDto: RequestSessionTokenBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30305
|
+
/**
|
|
30306
|
+
*
|
|
30307
|
+
* @summary Tear down the display/POS binding; callable by either paired side (idempotent).
|
|
30308
|
+
* @param {UnpairDisplayBodyDto} unpairDisplayBodyDto
|
|
30309
|
+
* @param {*} [options] Override http request option.
|
|
30310
|
+
* @throws {RequiredError}
|
|
30311
|
+
*/
|
|
30312
|
+
unpair: (unpairDisplayBodyDto: UnpairDisplayBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30262
30313
|
};
|
|
30263
30314
|
/**
|
|
30264
30315
|
* DisplayApi - functional programming interface
|
|
@@ -30289,6 +30340,14 @@ export declare const DisplayApiFp: (configuration?: Configuration) => {
|
|
|
30289
30340
|
* @throws {RequiredError}
|
|
30290
30341
|
*/
|
|
30291
30342
|
sessionToken(requestSessionTokenBodyDto: RequestSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestSessionTokenResponseDto>>;
|
|
30343
|
+
/**
|
|
30344
|
+
*
|
|
30345
|
+
* @summary Tear down the display/POS binding; callable by either paired side (idempotent).
|
|
30346
|
+
* @param {UnpairDisplayBodyDto} unpairDisplayBodyDto
|
|
30347
|
+
* @param {*} [options] Override http request option.
|
|
30348
|
+
* @throws {RequiredError}
|
|
30349
|
+
*/
|
|
30350
|
+
unpair(unpairDisplayBodyDto: UnpairDisplayBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnpairDisplayResponseDto>>;
|
|
30292
30351
|
};
|
|
30293
30352
|
/**
|
|
30294
30353
|
* DisplayApi - factory interface
|
|
@@ -30319,6 +30378,14 @@ export declare const DisplayApiFactory: (configuration?: Configuration, basePath
|
|
|
30319
30378
|
* @throws {RequiredError}
|
|
30320
30379
|
*/
|
|
30321
30380
|
sessionToken(requestSessionTokenBodyDto: RequestSessionTokenBodyDto, options?: any): AxiosPromise<RequestSessionTokenResponseDto>;
|
|
30381
|
+
/**
|
|
30382
|
+
*
|
|
30383
|
+
* @summary Tear down the display/POS binding; callable by either paired side (idempotent).
|
|
30384
|
+
* @param {UnpairDisplayBodyDto} unpairDisplayBodyDto
|
|
30385
|
+
* @param {*} [options] Override http request option.
|
|
30386
|
+
* @throws {RequiredError}
|
|
30387
|
+
*/
|
|
30388
|
+
unpair(unpairDisplayBodyDto: UnpairDisplayBodyDto, options?: any): AxiosPromise<UnpairDisplayResponseDto>;
|
|
30322
30389
|
};
|
|
30323
30390
|
/**
|
|
30324
30391
|
* DisplayApi - interface
|
|
@@ -30353,6 +30420,15 @@ export interface DisplayApiInterface {
|
|
|
30353
30420
|
* @memberof DisplayApiInterface
|
|
30354
30421
|
*/
|
|
30355
30422
|
sessionToken(requestSessionTokenBodyDto: RequestSessionTokenBodyDto, options?: AxiosRequestConfig): AxiosPromise<RequestSessionTokenResponseDto>;
|
|
30423
|
+
/**
|
|
30424
|
+
*
|
|
30425
|
+
* @summary Tear down the display/POS binding; callable by either paired side (idempotent).
|
|
30426
|
+
* @param {UnpairDisplayBodyDto} unpairDisplayBodyDto
|
|
30427
|
+
* @param {*} [options] Override http request option.
|
|
30428
|
+
* @throws {RequiredError}
|
|
30429
|
+
* @memberof DisplayApiInterface
|
|
30430
|
+
*/
|
|
30431
|
+
unpair(unpairDisplayBodyDto: UnpairDisplayBodyDto, options?: AxiosRequestConfig): AxiosPromise<UnpairDisplayResponseDto>;
|
|
30356
30432
|
}
|
|
30357
30433
|
/**
|
|
30358
30434
|
* DisplayApi - object-oriented interface
|
|
@@ -30388,6 +30464,15 @@ export declare class DisplayApi extends BaseAPI implements DisplayApiInterface {
|
|
|
30388
30464
|
* @memberof DisplayApi
|
|
30389
30465
|
*/
|
|
30390
30466
|
sessionToken(requestSessionTokenBodyDto: RequestSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestSessionTokenResponseDto, any, {}>>;
|
|
30467
|
+
/**
|
|
30468
|
+
*
|
|
30469
|
+
* @summary Tear down the display/POS binding; callable by either paired side (idempotent).
|
|
30470
|
+
* @param {UnpairDisplayBodyDto} unpairDisplayBodyDto
|
|
30471
|
+
* @param {*} [options] Override http request option.
|
|
30472
|
+
* @throws {RequiredError}
|
|
30473
|
+
* @memberof DisplayApi
|
|
30474
|
+
*/
|
|
30475
|
+
unpair(unpairDisplayBodyDto: UnpairDisplayBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnpairDisplayResponseDto, any, {}>>;
|
|
30391
30476
|
}
|
|
30392
30477
|
/**
|
|
30393
30478
|
* EmployeesApi - axios parameter creator
|