ob-bms-sdk 0.0.116 → 0.0.117

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/api/api.ts CHANGED
@@ -631,6 +631,21 @@ export interface AirQualityIndexIndicatorRange {
631
631
  */
632
632
  'id': string;
633
633
  }
634
+ /**
635
+ *
636
+ * @export
637
+ * @enum {string}
638
+ */
639
+
640
+ export const AlgType = {
641
+ ShopperToTenant: 'ShopperToTenant',
642
+ TenantToShopper: 'TenantToShopper',
643
+ VisitorToApp: 'VisitorToApp'
644
+ } as const;
645
+
646
+ export type AlgType = typeof AlgType[keyof typeof AlgType];
647
+
648
+
634
649
  /**
635
650
  *
636
651
  * @export
@@ -1896,6 +1911,77 @@ export interface Image {
1896
1911
  */
1897
1912
  'valetParkingId': number;
1898
1913
  }
1914
+ /**
1915
+ *
1916
+ * @export
1917
+ * @interface ImportPhysicalParkingTicketBody
1918
+ */
1919
+ export interface ImportPhysicalParkingTicketBody {
1920
+ /**
1921
+ *
1922
+ * @type {string}
1923
+ * @memberof ImportPhysicalParkingTicketBody
1924
+ */
1925
+ 'logId': string;
1926
+ }
1927
+ /**
1928
+ *
1929
+ * @export
1930
+ * @interface ImportPhysicalParkingTicketResponse
1931
+ */
1932
+ export interface ImportPhysicalParkingTicketResponse {
1933
+ /**
1934
+ *
1935
+ * @type {string}
1936
+ * @memberof ImportPhysicalParkingTicketResponse
1937
+ */
1938
+ 'message': string;
1939
+ /**
1940
+ *
1941
+ * @type {number}
1942
+ * @memberof ImportPhysicalParkingTicketResponse
1943
+ */
1944
+ 'status': number;
1945
+ /**
1946
+ *
1947
+ * @type {ImportPhysicalParkingTicketResponseData}
1948
+ * @memberof ImportPhysicalParkingTicketResponse
1949
+ */
1950
+ 'data': ImportPhysicalParkingTicketResponseData;
1951
+ }
1952
+ /**
1953
+ *
1954
+ * @export
1955
+ * @interface ImportPhysicalParkingTicketResponseData
1956
+ */
1957
+ export interface ImportPhysicalParkingTicketResponseData {
1958
+ /**
1959
+ *
1960
+ * @type {AlgType}
1961
+ * @memberof ImportPhysicalParkingTicketResponseData
1962
+ */
1963
+ 'algType': AlgType;
1964
+ /**
1965
+ *
1966
+ * @type {string}
1967
+ * @memberof ImportPhysicalParkingTicketResponseData
1968
+ */
1969
+ 'appId': string;
1970
+ /**
1971
+ *
1972
+ * @type {string}
1973
+ * @memberof ImportPhysicalParkingTicketResponseData
1974
+ */
1975
+ 'uid': string;
1976
+ /**
1977
+ *
1978
+ * @type {string}
1979
+ * @memberof ImportPhysicalParkingTicketResponseData
1980
+ */
1981
+ 'logId': string;
1982
+ }
1983
+
1984
+
1899
1985
  /**
1900
1986
  *
1901
1987
  * @export
@@ -7755,6 +7841,44 @@ export interface WrappedResponseGetTermsAndConditionsResidenceParkingResponseDat
7755
7841
  */
7756
7842
  'data': GetTermsAndConditionsResidenceParkingResponseData;
7757
7843
  }
7844
+ /**
7845
+ *
7846
+ * @export
7847
+ * @interface WrappedResponseImportPhysicalParkingTicketResponse
7848
+ */
7849
+ export interface WrappedResponseImportPhysicalParkingTicketResponse {
7850
+ /**
7851
+ *
7852
+ * @type {WrappedResponseImportPhysicalParkingTicketResponseData}
7853
+ * @memberof WrappedResponseImportPhysicalParkingTicketResponse
7854
+ */
7855
+ 'data': WrappedResponseImportPhysicalParkingTicketResponseData | null;
7856
+ }
7857
+ /**
7858
+ *
7859
+ * @export
7860
+ * @interface WrappedResponseImportPhysicalParkingTicketResponseData
7861
+ */
7862
+ export interface WrappedResponseImportPhysicalParkingTicketResponseData {
7863
+ /**
7864
+ *
7865
+ * @type {string}
7866
+ * @memberof WrappedResponseImportPhysicalParkingTicketResponseData
7867
+ */
7868
+ 'message': string;
7869
+ /**
7870
+ *
7871
+ * @type {number}
7872
+ * @memberof WrappedResponseImportPhysicalParkingTicketResponseData
7873
+ */
7874
+ 'status': number;
7875
+ /**
7876
+ *
7877
+ * @type {ImportPhysicalParkingTicketResponseData}
7878
+ * @memberof WrappedResponseImportPhysicalParkingTicketResponseData
7879
+ */
7880
+ 'data': ImportPhysicalParkingTicketResponseData;
7881
+ }
7758
7882
  /**
7759
7883
  *
7760
7884
  * @export
@@ -10685,6 +10809,46 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
10685
10809
  options: localVarRequestOptions,
10686
10810
  };
10687
10811
  },
10812
+ /**
10813
+ *
10814
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
10815
+ * @param {string} [xAccountId]
10816
+ * @param {*} [options] Override http request option.
10817
+ * @throws {RequiredError}
10818
+ */
10819
+ parkingTicketsPhysicalTicket: async (importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10820
+ // verify required parameter 'importPhysicalParkingTicketBody' is not null or undefined
10821
+ assertParamExists('parkingTicketsPhysicalTicket', 'importPhysicalParkingTicketBody', importPhysicalParkingTicketBody)
10822
+ const localVarPath = `/parking_tickets/import`;
10823
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10824
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10825
+ let baseOptions;
10826
+ if (configuration) {
10827
+ baseOptions = configuration.baseOptions;
10828
+ }
10829
+
10830
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10831
+ const localVarHeaderParameter = {} as any;
10832
+ const localVarQueryParameter = {} as any;
10833
+
10834
+ if (xAccountId != null) {
10835
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
10836
+ }
10837
+
10838
+
10839
+
10840
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10841
+
10842
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10843
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10844
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10845
+ localVarRequestOptions.data = serializeDataIfNeeded(importPhysicalParkingTicketBody, localVarRequestOptions, configuration)
10846
+
10847
+ return {
10848
+ url: toPathString(localVarUrlObj),
10849
+ options: localVarRequestOptions,
10850
+ };
10851
+ },
10688
10852
  /**
10689
10853
  *
10690
10854
  * @param {string} logId
@@ -12062,6 +12226,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
12062
12226
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(type, id, options);
12063
12227
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12064
12228
  },
12229
+ /**
12230
+ *
12231
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
12232
+ * @param {string} [xAccountId]
12233
+ * @param {*} [options] Override http request option.
12234
+ * @throws {RequiredError}
12235
+ */
12236
+ async parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseImportPhysicalParkingTicketResponse>> {
12237
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody, xAccountId, options);
12238
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12239
+ },
12065
12240
  /**
12066
12241
  *
12067
12242
  * @param {string} logId
@@ -12782,6 +12957,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
12782
12957
  parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray> {
12783
12958
  return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
12784
12959
  },
12960
+ /**
12961
+ *
12962
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
12963
+ * @param {string} [xAccountId]
12964
+ * @param {*} [options] Override http request option.
12965
+ * @throws {RequiredError}
12966
+ */
12967
+ parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseImportPhysicalParkingTicketResponse> {
12968
+ return localVarFp.parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody, xAccountId, options).then((request) => request(axios, basePath));
12969
+ },
12785
12970
  /**
12786
12971
  *
12787
12972
  * @param {string} logId
@@ -13568,6 +13753,18 @@ export class DefaultApi extends BaseAPI {
13568
13753
  return DefaultApiFp(this.configuration).parkingTicketsIndex(type, id, options).then((request) => request(this.axios, this.basePath));
13569
13754
  }
13570
13755
 
13756
+ /**
13757
+ *
13758
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
13759
+ * @param {string} [xAccountId]
13760
+ * @param {*} [options] Override http request option.
13761
+ * @throws {RequiredError}
13762
+ * @memberof DefaultApi
13763
+ */
13764
+ public parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig) {
13765
+ return DefaultApiFp(this.configuration).parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
13766
+ }
13767
+
13571
13768
  /**
13572
13769
  *
13573
13770
  * @param {string} logId
package/dist/api/api.d.ts CHANGED
@@ -603,6 +603,17 @@ export interface AirQualityIndexIndicatorRange {
603
603
  */
604
604
  'id': string;
605
605
  }
606
+ /**
607
+ *
608
+ * @export
609
+ * @enum {string}
610
+ */
611
+ export declare const AlgType: {
612
+ readonly ShopperToTenant: "ShopperToTenant";
613
+ readonly TenantToShopper: "TenantToShopper";
614
+ readonly VisitorToApp: "VisitorToApp";
615
+ };
616
+ export type AlgType = typeof AlgType[keyof typeof AlgType];
606
617
  /**
607
618
  *
608
619
  * @export
@@ -1872,6 +1883,75 @@ export interface Image {
1872
1883
  */
1873
1884
  'valetParkingId': number;
1874
1885
  }
1886
+ /**
1887
+ *
1888
+ * @export
1889
+ * @interface ImportPhysicalParkingTicketBody
1890
+ */
1891
+ export interface ImportPhysicalParkingTicketBody {
1892
+ /**
1893
+ *
1894
+ * @type {string}
1895
+ * @memberof ImportPhysicalParkingTicketBody
1896
+ */
1897
+ 'logId': string;
1898
+ }
1899
+ /**
1900
+ *
1901
+ * @export
1902
+ * @interface ImportPhysicalParkingTicketResponse
1903
+ */
1904
+ export interface ImportPhysicalParkingTicketResponse {
1905
+ /**
1906
+ *
1907
+ * @type {string}
1908
+ * @memberof ImportPhysicalParkingTicketResponse
1909
+ */
1910
+ 'message': string;
1911
+ /**
1912
+ *
1913
+ * @type {number}
1914
+ * @memberof ImportPhysicalParkingTicketResponse
1915
+ */
1916
+ 'status': number;
1917
+ /**
1918
+ *
1919
+ * @type {ImportPhysicalParkingTicketResponseData}
1920
+ * @memberof ImportPhysicalParkingTicketResponse
1921
+ */
1922
+ 'data': ImportPhysicalParkingTicketResponseData;
1923
+ }
1924
+ /**
1925
+ *
1926
+ * @export
1927
+ * @interface ImportPhysicalParkingTicketResponseData
1928
+ */
1929
+ export interface ImportPhysicalParkingTicketResponseData {
1930
+ /**
1931
+ *
1932
+ * @type {AlgType}
1933
+ * @memberof ImportPhysicalParkingTicketResponseData
1934
+ */
1935
+ 'algType': AlgType;
1936
+ /**
1937
+ *
1938
+ * @type {string}
1939
+ * @memberof ImportPhysicalParkingTicketResponseData
1940
+ */
1941
+ 'appId': string;
1942
+ /**
1943
+ *
1944
+ * @type {string}
1945
+ * @memberof ImportPhysicalParkingTicketResponseData
1946
+ */
1947
+ 'uid': string;
1948
+ /**
1949
+ *
1950
+ * @type {string}
1951
+ * @memberof ImportPhysicalParkingTicketResponseData
1952
+ */
1953
+ 'logId': string;
1954
+ }
1875
1955
  /**
1876
1956
  *
1877
1957
  * @export
@@ -7674,6 +7754,44 @@ export interface WrappedResponseGetTermsAndConditionsResidenceParkingResponseDat
7674
7754
  */
7675
7755
  'data': GetTermsAndConditionsResidenceParkingResponseData;
7676
7756
  }
7757
+ /**
7758
+ *
7759
+ * @export
7760
+ * @interface WrappedResponseImportPhysicalParkingTicketResponse
7761
+ */
7762
+ export interface WrappedResponseImportPhysicalParkingTicketResponse {
7763
+ /**
7764
+ *
7765
+ * @type {WrappedResponseImportPhysicalParkingTicketResponseData}
7766
+ * @memberof WrappedResponseImportPhysicalParkingTicketResponse
7767
+ */
7768
+ 'data': WrappedResponseImportPhysicalParkingTicketResponseData | null;
7769
+ }
7770
+ /**
7771
+ *
7772
+ * @export
7773
+ * @interface WrappedResponseImportPhysicalParkingTicketResponseData
7774
+ */
7775
+ export interface WrappedResponseImportPhysicalParkingTicketResponseData {
7776
+ /**
7777
+ *
7778
+ * @type {string}
7779
+ * @memberof WrappedResponseImportPhysicalParkingTicketResponseData
7780
+ */
7781
+ 'message': string;
7782
+ /**
7783
+ *
7784
+ * @type {number}
7785
+ * @memberof WrappedResponseImportPhysicalParkingTicketResponseData
7786
+ */
7787
+ 'status': number;
7788
+ /**
7789
+ *
7790
+ * @type {ImportPhysicalParkingTicketResponseData}
7791
+ * @memberof WrappedResponseImportPhysicalParkingTicketResponseData
7792
+ */
7793
+ 'data': ImportPhysicalParkingTicketResponseData;
7794
+ }
7677
7795
  /**
7678
7796
  *
7679
7797
  * @export
@@ -9128,6 +9246,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
9128
9246
  * @throws {RequiredError}
9129
9247
  */
9130
9248
  parkingTicketsIndex: (type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9249
+ /**
9250
+ *
9251
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
9252
+ * @param {string} [xAccountId]
9253
+ * @param {*} [options] Override http request option.
9254
+ * @throws {RequiredError}
9255
+ */
9256
+ parkingTicketsPhysicalTicket: (importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9131
9257
  /**
9132
9258
  *
9133
9259
  * @param {string} logId
@@ -9682,6 +9808,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9682
9808
  * @throws {RequiredError}
9683
9809
  */
9684
9810
  parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketDataArray>>;
9811
+ /**
9812
+ *
9813
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
9814
+ * @param {string} [xAccountId]
9815
+ * @param {*} [options] Override http request option.
9816
+ * @throws {RequiredError}
9817
+ */
9818
+ parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseImportPhysicalParkingTicketResponse>>;
9685
9819
  /**
9686
9820
  *
9687
9821
  * @param {string} logId
@@ -10236,6 +10370,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10236
10370
  * @throws {RequiredError}
10237
10371
  */
10238
10372
  parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray>;
10373
+ /**
10374
+ *
10375
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
10376
+ * @param {string} [xAccountId]
10377
+ * @param {*} [options] Override http request option.
10378
+ * @throws {RequiredError}
10379
+ */
10380
+ parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseImportPhysicalParkingTicketResponse>;
10239
10381
  /**
10240
10382
  *
10241
10383
  * @param {string} logId
@@ -10837,6 +10979,15 @@ export declare class DefaultApi extends BaseAPI {
10837
10979
  * @memberof DefaultApi
10838
10980
  */
10839
10981
  parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketDataArray, any>>;
10982
+ /**
10983
+ *
10984
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
10985
+ * @param {string} [xAccountId]
10986
+ * @param {*} [options] Override http request option.
10987
+ * @throws {RequiredError}
10988
+ * @memberof DefaultApi
10989
+ */
10990
+ parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseImportPhysicalParkingTicketResponse, any>>;
10840
10991
  /**
10841
10992
  *
10842
10993
  * @param {string} logId
package/dist/api/api.js CHANGED
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.ParkingTicketsIndexTypeEnum = exports.ParkingResidentialTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.TenantMemberRole = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PositionStatus = exports.PaymentStatus = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.ParkingResidentialTicketsIndexQueryTypeEnum = exports.AccessorType = exports.ACRequestStatusRejected = exports.ACRequestStatusApproved = exports.ACRequestStatus = void 0;
28
+ exports.ParkingTicketsIndexTypeEnum = exports.ParkingResidentialTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.TenantMemberRole = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PositionStatus = exports.PaymentStatus = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.ParkingResidentialTicketsIndexQueryTypeEnum = exports.AlgType = exports.AccessorType = exports.ACRequestStatusRejected = exports.ACRequestStatusApproved = exports.ACRequestStatus = void 0;
29
29
  const axios_1 = __importDefault(require("axios"));
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -68,6 +68,16 @@ exports.AccessorType = {
68
68
  Member: 'member',
69
69
  Tenant: 'tenant'
70
70
  };
71
+ /**
72
+ *
73
+ * @export
74
+ * @enum {string}
75
+ */
76
+ exports.AlgType = {
77
+ ShopperToTenant: 'ShopperToTenant',
78
+ TenantToShopper: 'TenantToShopper',
79
+ VisitorToApp: 'VisitorToApp'
80
+ };
71
81
  exports.ParkingResidentialTicketsIndexQueryTypeEnum = {
72
82
  LogId: 'log_id',
73
83
  TicketNumber: 'ticket_number',
@@ -1701,6 +1711,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1701
1711
  options: localVarRequestOptions,
1702
1712
  };
1703
1713
  }),
1714
+ /**
1715
+ *
1716
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
1717
+ * @param {string} [xAccountId]
1718
+ * @param {*} [options] Override http request option.
1719
+ * @throws {RequiredError}
1720
+ */
1721
+ parkingTicketsPhysicalTicket: (importPhysicalParkingTicketBody, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1722
+ // verify required parameter 'importPhysicalParkingTicketBody' is not null or undefined
1723
+ (0, common_1.assertParamExists)('parkingTicketsPhysicalTicket', 'importPhysicalParkingTicketBody', importPhysicalParkingTicketBody);
1724
+ const localVarPath = `/parking_tickets/import`;
1725
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1726
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1727
+ let baseOptions;
1728
+ if (configuration) {
1729
+ baseOptions = configuration.baseOptions;
1730
+ }
1731
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1732
+ const localVarHeaderParameter = {};
1733
+ const localVarQueryParameter = {};
1734
+ if (xAccountId != null) {
1735
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
1736
+ }
1737
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1738
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1739
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1740
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1741
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(importPhysicalParkingTicketBody, localVarRequestOptions, configuration);
1742
+ return {
1743
+ url: (0, common_1.toPathString)(localVarUrlObj),
1744
+ options: localVarRequestOptions,
1745
+ };
1746
+ }),
1704
1747
  /**
1705
1748
  *
1706
1749
  * @param {string} logId
@@ -3025,6 +3068,19 @@ const DefaultApiFp = function (configuration) {
3025
3068
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3026
3069
  });
3027
3070
  },
3071
+ /**
3072
+ *
3073
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
3074
+ * @param {string} [xAccountId]
3075
+ * @param {*} [options] Override http request option.
3076
+ * @throws {RequiredError}
3077
+ */
3078
+ parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody, xAccountId, options) {
3079
+ return __awaiter(this, void 0, void 0, function* () {
3080
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody, xAccountId, options);
3081
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3082
+ });
3083
+ },
3028
3084
  /**
3029
3085
  *
3030
3086
  * @param {string} logId
@@ -3793,6 +3849,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
3793
3849
  parkingTicketsIndex(type, id, options) {
3794
3850
  return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
3795
3851
  },
3852
+ /**
3853
+ *
3854
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
3855
+ * @param {string} [xAccountId]
3856
+ * @param {*} [options] Override http request option.
3857
+ * @throws {RequiredError}
3858
+ */
3859
+ parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody, xAccountId, options) {
3860
+ return localVarFp.parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody, xAccountId, options).then((request) => request(axios, basePath));
3861
+ },
3796
3862
  /**
3797
3863
  *
3798
3864
  * @param {string} logId
@@ -4534,6 +4600,17 @@ class DefaultApi extends base_1.BaseAPI {
4534
4600
  parkingTicketsIndex(type, id, options) {
4535
4601
  return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(type, id, options).then((request) => request(this.axios, this.basePath));
4536
4602
  }
4603
+ /**
4604
+ *
4605
+ * @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
4606
+ * @param {string} [xAccountId]
4607
+ * @param {*} [options] Override http request option.
4608
+ * @throws {RequiredError}
4609
+ * @memberof DefaultApi
4610
+ */
4611
+ parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody, xAccountId, options) {
4612
+ return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsPhysicalTicket(importPhysicalParkingTicketBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
4613
+ }
4537
4614
  /**
4538
4615
  *
4539
4616
  * @param {string} logId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.116",
3
+ "version": "0.0.117",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"