@munchi_oy/core 1.9.100 → 1.9.101

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.
@@ -9915,6 +9915,25 @@ export interface MunchiGiftCardDataItemDto {
9915
9915
  */
9916
9916
  'createdAt': string;
9917
9917
  }
9918
+ /**
9919
+ *
9920
+ * @export
9921
+ * @interface MunchiPayCardDetailDto
9922
+ */
9923
+ export interface MunchiPayCardDetailDto {
9924
+ /**
9925
+ * Card scheme/brand (e.g. \'Visa Debit\').
9926
+ * @type {string}
9927
+ * @memberof MunchiPayCardDetailDto
9928
+ */
9929
+ 'brand': string;
9930
+ /**
9931
+ * Last 4 digits of the card.
9932
+ * @type {string}
9933
+ * @memberof MunchiPayCardDetailDto
9934
+ */
9935
+ 'last4': string;
9936
+ }
9918
9937
  /**
9919
9938
  *
9920
9939
  * @export
@@ -9981,6 +10000,12 @@ export interface MunchiPaySessionDto {
9981
10000
  * @memberof MunchiPaySessionDto
9982
10001
  */
9983
10002
  'providerTransactionId'?: string | null;
10003
+ /**
10004
+ *
10005
+ * @type {MunchiPaySessionDtoCardDetail}
10006
+ * @memberof MunchiPaySessionDto
10007
+ */
10008
+ 'cardDetail'?: MunchiPaySessionDtoCardDetail | null;
9984
10009
  /**
9985
10010
  * Provider-specific metadata.
9986
10011
  * @type {object}
@@ -10000,6 +10025,25 @@ export interface MunchiPaySessionDto {
10000
10025
  */
10001
10026
  'updatedAt': string;
10002
10027
  }
10028
+ /**
10029
+ * Card brand and last 4 digits, once captured from Viva (webhook or poll).
10030
+ * @export
10031
+ * @interface MunchiPaySessionDtoCardDetail
10032
+ */
10033
+ export interface MunchiPaySessionDtoCardDetail {
10034
+ /**
10035
+ * Card scheme/brand (e.g. \'Visa Debit\').
10036
+ * @type {string}
10037
+ * @memberof MunchiPaySessionDtoCardDetail
10038
+ */
10039
+ 'brand': string;
10040
+ /**
10041
+ * Last 4 digits of the card.
10042
+ * @type {string}
10043
+ * @memberof MunchiPaySessionDtoCardDetail
10044
+ */
10045
+ 'last4': string;
10046
+ }
10003
10047
  /**
10004
10048
  *
10005
10049
  * @export
@@ -39843,10 +39887,13 @@ export declare const VivaApiAxiosParamCreator: (configuration?: Configuration) =
39843
39887
  * @param {number} [page] Page number
39844
39888
  * @param {number} [rowPerPage] Number of rows per page
39845
39889
  * @param {string} [terminalId] Optional terminal identifier filter (same concept as ConnectedTerminal.terminalId).
39890
+ * @param {string} [start] Only sessions created on or after this date (ISO 8601).
39891
+ * @param {string} [end] Only sessions created on or before this date (ISO 8601).
39892
+ * @param {string} [search] Free-text search, matched against the provider transaction ID and the card\'s last 4 digits.
39846
39893
  * @param {*} [options] Override http request option.
39847
39894
  * @throws {RequiredError}
39848
39895
  */
39849
- listVivaSessions: (businessId: number, page?: number, rowPerPage?: number, terminalId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39896
+ listVivaSessions: (businessId: number, page?: number, rowPerPage?: number, terminalId?: string, start?: string, end?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39850
39897
  /**
39851
39898
  *
39852
39899
  * @summary Refund a Viva transaction
@@ -39884,10 +39931,13 @@ export declare const VivaApiFp: (configuration?: Configuration) => {
39884
39931
  * @param {number} [page] Page number
39885
39932
  * @param {number} [rowPerPage] Number of rows per page
39886
39933
  * @param {string} [terminalId] Optional terminal identifier filter (same concept as ConnectedTerminal.terminalId).
39934
+ * @param {string} [start] Only sessions created on or after this date (ISO 8601).
39935
+ * @param {string} [end] Only sessions created on or before this date (ISO 8601).
39936
+ * @param {string} [search] Free-text search, matched against the provider transaction ID and the card\&#39;s last 4 digits.
39887
39937
  * @param {*} [options] Override http request option.
39888
39938
  * @throws {RequiredError}
39889
39939
  */
39890
- listVivaSessions(businessId: number, page?: number, rowPerPage?: number, terminalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VivaA2aSessionListResponseDto>>;
39940
+ listVivaSessions(businessId: number, page?: number, rowPerPage?: number, terminalId?: string, start?: string, end?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VivaA2aSessionListResponseDto>>;
39891
39941
  /**
39892
39942
  *
39893
39943
  * @summary Refund a Viva transaction
@@ -39925,10 +39975,13 @@ export declare const VivaApiFactory: (configuration?: Configuration, basePath?:
39925
39975
  * @param {number} [page] Page number
39926
39976
  * @param {number} [rowPerPage] Number of rows per page
39927
39977
  * @param {string} [terminalId] Optional terminal identifier filter (same concept as ConnectedTerminal.terminalId).
39978
+ * @param {string} [start] Only sessions created on or after this date (ISO 8601).
39979
+ * @param {string} [end] Only sessions created on or before this date (ISO 8601).
39980
+ * @param {string} [search] Free-text search, matched against the provider transaction ID and the card\&#39;s last 4 digits.
39928
39981
  * @param {*} [options] Override http request option.
39929
39982
  * @throws {RequiredError}
39930
39983
  */
39931
- listVivaSessions(businessId: number, page?: number, rowPerPage?: number, terminalId?: string, options?: any): AxiosPromise<VivaA2aSessionListResponseDto>;
39984
+ listVivaSessions(businessId: number, page?: number, rowPerPage?: number, terminalId?: string, start?: string, end?: string, search?: string, options?: any): AxiosPromise<VivaA2aSessionListResponseDto>;
39932
39985
  /**
39933
39986
  *
39934
39987
  * @summary Refund a Viva transaction
@@ -39969,11 +40022,14 @@ export interface VivaApiInterface {
39969
40022
  * @param {number} [page] Page number
39970
40023
  * @param {number} [rowPerPage] Number of rows per page
39971
40024
  * @param {string} [terminalId] Optional terminal identifier filter (same concept as ConnectedTerminal.terminalId).
40025
+ * @param {string} [start] Only sessions created on or after this date (ISO 8601).
40026
+ * @param {string} [end] Only sessions created on or before this date (ISO 8601).
40027
+ * @param {string} [search] Free-text search, matched against the provider transaction ID and the card\&#39;s last 4 digits.
39972
40028
  * @param {*} [options] Override http request option.
39973
40029
  * @throws {RequiredError}
39974
40030
  * @memberof VivaApiInterface
39975
40031
  */
39976
- listVivaSessions(businessId: number, page?: number, rowPerPage?: number, terminalId?: string, options?: AxiosRequestConfig): AxiosPromise<VivaA2aSessionListResponseDto>;
40032
+ listVivaSessions(businessId: number, page?: number, rowPerPage?: number, terminalId?: string, start?: string, end?: string, search?: string, options?: AxiosRequestConfig): AxiosPromise<VivaA2aSessionListResponseDto>;
39977
40033
  /**
39978
40034
  *
39979
40035
  * @summary Refund a Viva transaction
@@ -40016,11 +40072,14 @@ export declare class VivaApi extends BaseAPI implements VivaApiInterface {
40016
40072
  * @param {number} [page] Page number
40017
40073
  * @param {number} [rowPerPage] Number of rows per page
40018
40074
  * @param {string} [terminalId] Optional terminal identifier filter (same concept as ConnectedTerminal.terminalId).
40075
+ * @param {string} [start] Only sessions created on or after this date (ISO 8601).
40076
+ * @param {string} [end] Only sessions created on or before this date (ISO 8601).
40077
+ * @param {string} [search] Free-text search, matched against the provider transaction ID and the card\&#39;s last 4 digits.
40019
40078
  * @param {*} [options] Override http request option.
40020
40079
  * @throws {RequiredError}
40021
40080
  * @memberof VivaApi
40022
40081
  */
40023
- listVivaSessions(businessId: number, page?: number, rowPerPage?: number, terminalId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaA2aSessionListResponseDto, any, {}>>;
40082
+ listVivaSessions(businessId: number, page?: number, rowPerPage?: number, terminalId?: string, start?: string, end?: string, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaA2aSessionListResponseDto, any, {}>>;
40024
40083
  /**
40025
40084
  *
40026
40085
  * @summary Refund a Viva transaction