@munchi_oy/core 1.6.0 → 1.7.0

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.
@@ -921,6 +921,61 @@ export interface BusinessInfoResponseDtoLoyaltyPlan {
921
921
  */
922
922
  'expire_after_minutes': number | null;
923
923
  }
924
+ /**
925
+ *
926
+ * @export
927
+ * @interface BusinessInfoV2ResponseDto
928
+ */
929
+ export interface BusinessInfoV2ResponseDto {
930
+ /**
931
+ * The ID of the business
932
+ * @type {number}
933
+ * @memberof BusinessInfoV2ResponseDto
934
+ */
935
+ 'businessId': number;
936
+ /**
937
+ * The name of the business
938
+ * @type {string}
939
+ * @memberof BusinessInfoV2ResponseDto
940
+ */
941
+ 'businessName': string;
942
+ /**
943
+ * The URL of the business logo
944
+ * @type {string}
945
+ * @memberof BusinessInfoV2ResponseDto
946
+ */
947
+ 'logoUrl': string | null;
948
+ /**
949
+ * The phone of the business
950
+ * @type {string}
951
+ * @memberof BusinessInfoV2ResponseDto
952
+ */
953
+ 'phone'?: string | null;
954
+ /**
955
+ *
956
+ * @type {BusinessInfoResponseDtoLoyaltyPlan}
957
+ * @memberof BusinessInfoV2ResponseDto
958
+ */
959
+ 'loyaltyPlan': BusinessInfoResponseDtoLoyaltyPlan | null;
960
+ /**
961
+ *
962
+ * @type {BusinessInfoResponseDtoDetail}
963
+ * @memberof BusinessInfoV2ResponseDto
964
+ */
965
+ 'detail': BusinessInfoResponseDtoDetail;
966
+ /**
967
+ * Email address of the business
968
+ * @type {string}
969
+ * @memberof BusinessInfoV2ResponseDto
970
+ */
971
+ 'businessEmail': string | null;
972
+ /**
973
+ * KDS profiles linked to the business
974
+ * @type {Array<KdsProfileResponseDto>}
975
+ * @memberof BusinessInfoV2ResponseDto
976
+ */
977
+ 'kdsProfiles': Array<KdsProfileResponseDto>;
978
+ }
924
979
  /**
925
980
  *
926
981
  * @export
@@ -5427,6 +5482,25 @@ export interface KdsOrderSubOptionDto {
5427
5482
  */
5428
5483
  'updatedAt': string;
5429
5484
  }
5485
+ /**
5486
+ *
5487
+ * @export
5488
+ * @interface KdsProfileResponseDto
5489
+ */
5490
+ export interface KdsProfileResponseDto {
5491
+ /**
5492
+ * The KDS profile identifier
5493
+ * @type {string}
5494
+ * @memberof KdsProfileResponseDto
5495
+ */
5496
+ 'id': string;
5497
+ /**
5498
+ * The KDS profile name
5499
+ * @type {string}
5500
+ * @memberof KdsProfileResponseDto
5501
+ */
5502
+ 'name': string;
5503
+ }
5430
5504
  /**
5431
5505
  *
5432
5506
  * @export
@@ -16111,11 +16185,11 @@ export interface UnifiedProductDto {
16111
16185
  */
16112
16186
  'comment'?: string | null;
16113
16187
  /**
16114
- * Current kitchen preparation status of the product
16115
- * @type {string}
16188
+ *
16189
+ * @type {KitchenItemStatus}
16116
16190
  * @memberof UnifiedProductDto
16117
16191
  */
16118
- 'kitchenStatus'?: string | null;
16192
+ 'kitchenStatus': KitchenItemStatus;
16119
16193
  /**
16120
16194
  * List of options selected for this product
16121
16195
  * @type {Array<UnifiedOptionDto>}
@@ -27168,14 +27242,21 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
27168
27242
  * @param {*} [options] Override http request option.
27169
27243
  * @throws {RequiredError}
27170
27244
  */
27171
- getUserBusiness: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27245
+ getUserBusinessV1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27246
+ /**
27247
+ *
27248
+ * @summary Retrieve user Business information with KDS profiles
27249
+ * @param {*} [options] Override http request option.
27250
+ * @throws {RequiredError}
27251
+ */
27252
+ getUserBusinessV2: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27172
27253
  /**
27173
27254
  *
27174
27255
  * @summary Retrieve user information
27175
27256
  * @param {*} [options] Override http request option.
27176
27257
  * @throws {RequiredError}
27177
27258
  */
27178
- getUserInfo: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27259
+ getUserInfoV1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27179
27260
  };
27180
27261
  /**
27181
27262
  * UserApi - functional programming interface
@@ -27188,14 +27269,21 @@ export declare const UserApiFp: (configuration?: Configuration) => {
27188
27269
  * @param {*} [options] Override http request option.
27189
27270
  * @throws {RequiredError}
27190
27271
  */
27191
- getUserBusiness(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>>;
27272
+ getUserBusinessV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>>;
27273
+ /**
27274
+ *
27275
+ * @summary Retrieve user Business information with KDS profiles
27276
+ * @param {*} [options] Override http request option.
27277
+ * @throws {RequiredError}
27278
+ */
27279
+ getUserBusinessV2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoV2ResponseDto>>>;
27192
27280
  /**
27193
27281
  *
27194
27282
  * @summary Retrieve user information
27195
27283
  * @param {*} [options] Override http request option.
27196
27284
  * @throws {RequiredError}
27197
27285
  */
27198
- getUserInfo(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>>;
27286
+ getUserInfoV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>>;
27199
27287
  };
27200
27288
  /**
27201
27289
  * UserApi - factory interface
@@ -27208,14 +27296,21 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
27208
27296
  * @param {*} [options] Override http request option.
27209
27297
  * @throws {RequiredError}
27210
27298
  */
27211
- getUserBusiness(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>>;
27299
+ getUserBusinessV1(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>>;
27300
+ /**
27301
+ *
27302
+ * @summary Retrieve user Business information with KDS profiles
27303
+ * @param {*} [options] Override http request option.
27304
+ * @throws {RequiredError}
27305
+ */
27306
+ getUserBusinessV2(options?: any): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
27212
27307
  /**
27213
27308
  *
27214
27309
  * @summary Retrieve user information
27215
27310
  * @param {*} [options] Override http request option.
27216
27311
  * @throws {RequiredError}
27217
27312
  */
27218
- getUserInfo(options?: any): AxiosPromise<GetUserInfoResponseDto>;
27313
+ getUserInfoV1(options?: any): AxiosPromise<GetUserInfoResponseDto>;
27219
27314
  };
27220
27315
  /**
27221
27316
  * UserApi - interface
@@ -27230,7 +27325,15 @@ export interface UserApiInterface {
27230
27325
  * @throws {RequiredError}
27231
27326
  * @memberof UserApiInterface
27232
27327
  */
27233
- getUserBusiness(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
27328
+ getUserBusinessV1(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
27329
+ /**
27330
+ *
27331
+ * @summary Retrieve user Business information with KDS profiles
27332
+ * @param {*} [options] Override http request option.
27333
+ * @throws {RequiredError}
27334
+ * @memberof UserApiInterface
27335
+ */
27336
+ getUserBusinessV2(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
27234
27337
  /**
27235
27338
  *
27236
27339
  * @summary Retrieve user information
@@ -27238,7 +27341,7 @@ export interface UserApiInterface {
27238
27341
  * @throws {RequiredError}
27239
27342
  * @memberof UserApiInterface
27240
27343
  */
27241
- getUserInfo(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
27344
+ getUserInfoV1(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
27242
27345
  }
27243
27346
  /**
27244
27347
  * UserApi - object-oriented interface
@@ -27254,7 +27357,15 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
27254
27357
  * @throws {RequiredError}
27255
27358
  * @memberof UserApi
27256
27359
  */
27257
- getUserBusiness(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoResponseDto[], any, {}>>;
27360
+ getUserBusinessV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoResponseDto[], any, {}>>;
27361
+ /**
27362
+ *
27363
+ * @summary Retrieve user Business information with KDS profiles
27364
+ * @param {*} [options] Override http request option.
27365
+ * @throws {RequiredError}
27366
+ * @memberof UserApi
27367
+ */
27368
+ getUserBusinessV2(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoV2ResponseDto[], any, {}>>;
27258
27369
  /**
27259
27370
  *
27260
27371
  * @summary Retrieve user information
@@ -27262,7 +27373,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
27262
27373
  * @throws {RequiredError}
27263
27374
  * @memberof UserApi
27264
27375
  */
27265
- getUserInfo(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
27376
+ getUserInfoV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
27266
27377
  }
27267
27378
  /**
27268
27379
  * UsersApi - axios parameter creator