ob-parking-sdk 0.0.56 → 0.0.58

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
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.27.1
7
+ * The version of the OpenAPI document: 1.27.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -101,6 +101,18 @@ export interface AddConfigStoreWhitelist {
101
101
  * @memberof AddConfigStoreWhitelist
102
102
  */
103
103
  'updated_by'?: string;
104
+ /**
105
+ *
106
+ * @type {boolean}
107
+ * @memberof AddConfigStoreWhitelist
108
+ */
109
+ 'ignore_store': boolean;
110
+ /**
111
+ *
112
+ * @type {boolean}
113
+ * @memberof AddConfigStoreWhitelist
114
+ */
115
+ 'ocr_verified': boolean;
104
116
  }
105
117
  /**
106
118
  *
@@ -657,38 +669,6 @@ export interface CreateRegisteredVehicleBody {
657
669
  }
658
670
 
659
671
 
660
- /**
661
- *
662
- * @export
663
- * @interface CreateVehicleBrandBody
664
- */
665
- export interface CreateVehicleBrandBody {
666
- /**
667
- *
668
- * @type {string}
669
- * @memberof CreateVehicleBrandBody
670
- */
671
- 'name': string;
672
- }
673
- /**
674
- *
675
- * @export
676
- * @interface DeleteVehicleBrandResponse
677
- */
678
- export interface DeleteVehicleBrandResponse {
679
- /**
680
- *
681
- * @type {string}
682
- * @memberof DeleteVehicleBrandResponse
683
- */
684
- 'name': string;
685
- /**
686
- *
687
- * @type {string}
688
- * @memberof DeleteVehicleBrandResponse
689
- */
690
- 'id': string;
691
- }
692
672
  /**
693
673
  *
694
674
  * @export
@@ -703,69 +683,6 @@ export const EngineType = {
703
683
  export type EngineType = typeof EngineType[keyof typeof EngineType];
704
684
 
705
685
 
706
- /**
707
- *
708
- * @export
709
- * @interface ExportParkingDetailIndexQuery
710
- */
711
- export interface ExportParkingDetailIndexQuery {
712
- /**
713
- *
714
- * @type {string}
715
- * @memberof ExportParkingDetailIndexQuery
716
- */
717
- 'order_by'?: string;
718
- /**
719
- *
720
- * @type {string}
721
- * @memberof ExportParkingDetailIndexQuery
722
- */
723
- 'order_direction'?: string;
724
- /**
725
- *
726
- * @type {number}
727
- * @memberof ExportParkingDetailIndexQuery
728
- */
729
- 'page_number'?: number;
730
- /**
731
- *
732
- * @type {number}
733
- * @memberof ExportParkingDetailIndexQuery
734
- */
735
- 'page_size'?: number;
736
- /**
737
- *
738
- * @type {string}
739
- * @memberof ExportParkingDetailIndexQuery
740
- */
741
- 'filter_by'?: string;
742
- /**
743
- *
744
- * @type {string}
745
- * @memberof ExportParkingDetailIndexQuery
746
- */
747
- 'filter_key'?: string;
748
- /**
749
- *
750
- * @type {string}
751
- * @memberof ExportParkingDetailIndexQuery
752
- */
753
- 'startDate'?: string;
754
- /**
755
- *
756
- * @type {string}
757
- * @memberof ExportParkingDetailIndexQuery
758
- */
759
- 'endDate'?: string;
760
- /**
761
- *
762
- * @type {ParkingDetailStatus}
763
- * @memberof ExportParkingDetailIndexQuery
764
- */
765
- 'status'?: ParkingDetailStatus;
766
- }
767
-
768
-
769
686
  /**
770
687
  *
771
688
  * @export
@@ -1464,163 +1381,6 @@ export interface GetParkingDetailResponseRateDetail {
1464
1381
  */
1465
1382
  'en': string;
1466
1383
  }
1467
- /**
1468
- *
1469
- * @export
1470
- * @interface GetParkingDetailsExportResponse
1471
- */
1472
- export interface GetParkingDetailsExportResponse {
1473
- /**
1474
- *
1475
- * @type {string}
1476
- * @memberof GetParkingDetailsExportResponse
1477
- */
1478
- 'record_id': string;
1479
- /**
1480
- *
1481
- * @type {string}
1482
- * @memberof GetParkingDetailsExportResponse
1483
- */
1484
- 'parking_ticket_id': string;
1485
- /**
1486
- *
1487
- * @type {string}
1488
- * @memberof GetParkingDetailsExportResponse
1489
- */
1490
- 'vehicle_entry': string;
1491
- /**
1492
- *
1493
- * @type {string}
1494
- * @memberof GetParkingDetailsExportResponse
1495
- */
1496
- 'vehicle_exit': string;
1497
- /**
1498
- *
1499
- * @type {string}
1500
- * @memberof GetParkingDetailsExportResponse
1501
- */
1502
- 'total_time': string;
1503
- /**
1504
- *
1505
- * @type {string}
1506
- * @memberof GetParkingDetailsExportResponse
1507
- */
1508
- 'license_plate': string;
1509
- /**
1510
- *
1511
- * @type {string}
1512
- * @memberof GetParkingDetailsExportResponse
1513
- */
1514
- 'user_id': string;
1515
- /**
1516
- *
1517
- * @type {string}
1518
- * @memberof GetParkingDetailsExportResponse
1519
- */
1520
- 'username': string;
1521
- /**
1522
- *
1523
- * @type {string}
1524
- * @memberof GetParkingDetailsExportResponse
1525
- */
1526
- 'channel': string;
1527
- /**
1528
- *
1529
- * @type {string}
1530
- * @memberof GetParkingDetailsExportResponse
1531
- */
1532
- 'shop_name': string;
1533
- /**
1534
- *
1535
- * @type {string}
1536
- * @memberof GetParkingDetailsExportResponse
1537
- */
1538
- 'total_spent': string;
1539
- /**
1540
- *
1541
- * @type {string}
1542
- * @memberof GetParkingDetailsExportResponse
1543
- */
1544
- 'import_at': string;
1545
- /**
1546
- *
1547
- * @type {string}
1548
- * @memberof GetParkingDetailsExportResponse
1549
- */
1550
- 'rate_detail': string;
1551
- /**
1552
- *
1553
- * @type {string}
1554
- * @memberof GetParkingDetailsExportResponse
1555
- */
1556
- 'receipt_no': string;
1557
- /**
1558
- *
1559
- * @type {string}
1560
- * @memberof GetParkingDetailsExportResponse
1561
- */
1562
- 'sub_total': string;
1563
- /**
1564
- *
1565
- * @type {string}
1566
- * @memberof GetParkingDetailsExportResponse
1567
- */
1568
- 'receipt_status': string;
1569
- /**
1570
- *
1571
- * @type {string}
1572
- * @memberof GetParkingDetailsExportResponse
1573
- */
1574
- 'reason': string;
1575
- /**
1576
- *
1577
- * @type {string}
1578
- * @memberof GetParkingDetailsExportResponse
1579
- */
1580
- 'redeem_at': string;
1581
- /**
1582
- *
1583
- * @type {string}
1584
- * @memberof GetParkingDetailsExportResponse
1585
- */
1586
- 'image_url': string;
1587
- /**
1588
- *
1589
- * @type {string}
1590
- * @memberof GetParkingDetailsExportResponse
1591
- */
1592
- 'redeem_by': string;
1593
- /**
1594
- *
1595
- * @type {string}
1596
- * @memberof GetParkingDetailsExportResponse
1597
- */
1598
- 'counter': string;
1599
- /**
1600
- *
1601
- * @type {string}
1602
- * @memberof GetParkingDetailsExportResponse
1603
- */
1604
- 'parking_sub_total': string;
1605
- /**
1606
- *
1607
- * @type {string}
1608
- * @memberof GetParkingDetailsExportResponse
1609
- */
1610
- 'parking_discount': string;
1611
- /**
1612
- *
1613
- * @type {string}
1614
- * @memberof GetParkingDetailsExportResponse
1615
- */
1616
- 'parking_fee': string;
1617
- /**
1618
- *
1619
- * @type {string}
1620
- * @memberof GetParkingDetailsExportResponse
1621
- */
1622
- 'ocr_extract': string;
1623
- }
1624
1384
  /**
1625
1385
  *
1626
1386
  * @export
@@ -2826,25 +2586,6 @@ export interface ResponseDataGetParkingDetailResponse {
2826
2586
  */
2827
2587
  'pagination'?: Pagination;
2828
2588
  }
2829
- /**
2830
- *
2831
- * @export
2832
- * @interface ResponseDataGetParkingDetailsExportResponseArray
2833
- */
2834
- export interface ResponseDataGetParkingDetailsExportResponseArray {
2835
- /**
2836
- *
2837
- * @type {Array<GetParkingDetailsExportResponse>}
2838
- * @memberof ResponseDataGetParkingDetailsExportResponseArray
2839
- */
2840
- 'data': Array<GetParkingDetailsExportResponse>;
2841
- /**
2842
- *
2843
- * @type {Pagination}
2844
- * @memberof ResponseDataGetParkingDetailsExportResponseArray
2845
- */
2846
- 'pagination'?: Pagination;
2847
- }
2848
2589
  /**
2849
2590
  *
2850
2591
  * @export
@@ -2876,6 +2617,18 @@ export interface StoreWhitelistResponse {
2876
2617
  * @memberof StoreWhitelistResponse
2877
2618
  */
2878
2619
  'property': StoreWhitelistResponseProperty;
2620
+ /**
2621
+ *
2622
+ * @type {boolean}
2623
+ * @memberof StoreWhitelistResponse
2624
+ */
2625
+ 'ocr_verified': boolean;
2626
+ /**
2627
+ *
2628
+ * @type {boolean}
2629
+ * @memberof StoreWhitelistResponse
2630
+ */
2631
+ 'ignore_store': boolean;
2879
2632
  /**
2880
2633
  *
2881
2634
  * @type {boolean}
@@ -3005,6 +2758,18 @@ export interface TestTest200Response {
3005
2758
  * @interface UpdateConfigStoreWhitelist
3006
2759
  */
3007
2760
  export interface UpdateConfigStoreWhitelist {
2761
+ /**
2762
+ *
2763
+ * @type {boolean}
2764
+ * @memberof UpdateConfigStoreWhitelist
2765
+ */
2766
+ 'ocr_verified': boolean;
2767
+ /**
2768
+ *
2769
+ * @type {boolean}
2770
+ * @memberof UpdateConfigStoreWhitelist
2771
+ */
2772
+ 'ignore_store': boolean;
3008
2773
  /**
3009
2774
  *
3010
2775
  * @type {string}
@@ -3234,19 +2999,6 @@ export interface UpdateRegisteredVehicleBody {
3234
2999
  }
3235
3000
 
3236
3001
 
3237
- /**
3238
- *
3239
- * @export
3240
- * @interface UpdateVehicleBrandBody
3241
- */
3242
- export interface UpdateVehicleBrandBody {
3243
- /**
3244
- *
3245
- * @type {string}
3246
- * @memberof UpdateVehicleBrandBody
3247
- */
3248
- 'name'?: string;
3249
- }
3250
3002
  /**
3251
3003
  *
3252
3004
  * @export
@@ -3310,19 +3062,6 @@ export interface ValidateReceiptImageBody {
3310
3062
  */
3311
3063
  'source': string;
3312
3064
  }
3313
- /**
3314
- *
3315
- * @export
3316
- * @interface VehicleBrandIndexQuery
3317
- */
3318
- export interface VehicleBrandIndexQuery {
3319
- /**
3320
- *
3321
- * @type {string}
3322
- * @memberof VehicleBrandIndexQuery
3323
- */
3324
- 'name'?: string;
3325
- }
3326
3065
  /**
3327
3066
  *
3328
3067
  * @export
@@ -3375,28 +3114,9 @@ export interface VehicleBrandIndexResponseVehicleModelsInner {
3375
3114
  /**
3376
3115
  *
3377
3116
  * @type {string}
3378
- * @memberof VehicleBrandIndexResponseVehicleModelsInner
3379
- */
3380
- 'id'?: string;
3381
- }
3382
- /**
3383
- *
3384
- * @export
3385
- * @interface VehicleBrandResponse
3386
- */
3387
- export interface VehicleBrandResponse {
3388
- /**
3389
- *
3390
- * @type {string}
3391
- * @memberof VehicleBrandResponse
3392
- */
3393
- 'name': string;
3394
- /**
3395
- *
3396
- * @type {string}
3397
- * @memberof VehicleBrandResponse
3117
+ * @memberof VehicleBrandIndexResponseVehicleModelsInner
3398
3118
  */
3399
- 'id': string;
3119
+ 'id'?: string;
3400
3120
  }
3401
3121
  /**
3402
3122
  *
@@ -4267,80 +3987,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4267
3987
 
4268
3988
 
4269
3989
 
4270
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4271
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4272
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4273
-
4274
- return {
4275
- url: toPathString(localVarUrlObj),
4276
- options: localVarRequestOptions,
4277
- };
4278
- },
4279
- /**
4280
- *
4281
- * @param {string} [orderBy]
4282
- * @param {string} [orderDirection]
4283
- * @param {number} [pageNumber]
4284
- * @param {number} [pageSize]
4285
- * @param {string} [filterBy]
4286
- * @param {string} [filterKey]
4287
- * @param {string} [startDate]
4288
- * @param {string} [endDate]
4289
- * @param {ParkingDetailStatus} [status]
4290
- * @param {*} [options] Override http request option.
4291
- * @throws {RequiredError}
4292
- */
4293
- parkingDetailsExport: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4294
- const localVarPath = `/parking-details/export`;
4295
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4296
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4297
- let baseOptions;
4298
- if (configuration) {
4299
- baseOptions = configuration.baseOptions;
4300
- }
4301
-
4302
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4303
- const localVarHeaderParameter = {} as any;
4304
- const localVarQueryParameter = {} as any;
4305
-
4306
- if (orderBy !== undefined) {
4307
- localVarQueryParameter['order_by'] = orderBy;
4308
- }
4309
-
4310
- if (orderDirection !== undefined) {
4311
- localVarQueryParameter['order_direction'] = orderDirection;
4312
- }
4313
-
4314
- if (pageNumber !== undefined) {
4315
- localVarQueryParameter['page_number'] = pageNumber;
4316
- }
4317
-
4318
- if (pageSize !== undefined) {
4319
- localVarQueryParameter['page_size'] = pageSize;
4320
- }
4321
-
4322
- if (filterBy !== undefined) {
4323
- localVarQueryParameter['filter_by'] = filterBy;
4324
- }
4325
-
4326
- if (filterKey !== undefined) {
4327
- localVarQueryParameter['filter_key'] = filterKey;
4328
- }
4329
-
4330
- if (startDate !== undefined) {
4331
- localVarQueryParameter['startDate'] = startDate;
4332
- }
4333
-
4334
- if (endDate !== undefined) {
4335
- localVarQueryParameter['endDate'] = endDate;
4336
- }
4337
-
4338
- if (status !== undefined) {
4339
- localVarQueryParameter['status'] = status;
4340
- }
4341
-
4342
-
4343
-
4344
3990
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4345
3991
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4346
3992
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -5151,13 +4797,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5151
4797
  },
5152
4798
  /**
5153
4799
  *
5154
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
5155
4800
  * @param {*} [options] Override http request option.
5156
4801
  * @throws {RequiredError}
5157
4802
  */
5158
- vehicleBrandsCreate: async (createVehicleBrandBody: CreateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5159
- // verify required parameter 'createVehicleBrandBody' is not null or undefined
5160
- assertParamExists('vehicleBrandsCreate', 'createVehicleBrandBody', createVehicleBrandBody)
4803
+ vehicleBrandsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5161
4804
  const localVarPath = `/vehicle-brands`;
5162
4805
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5163
4806
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5166,75 +4809,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5166
4809
  baseOptions = configuration.baseOptions;
5167
4810
  }
5168
4811
 
5169
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5170
- const localVarHeaderParameter = {} as any;
5171
- const localVarQueryParameter = {} as any;
5172
-
5173
-
5174
-
5175
- localVarHeaderParameter['Content-Type'] = 'application/json';
5176
-
5177
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5178
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5179
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5180
- localVarRequestOptions.data = serializeDataIfNeeded(createVehicleBrandBody, localVarRequestOptions, configuration)
5181
-
5182
- return {
5183
- url: toPathString(localVarUrlObj),
5184
- options: localVarRequestOptions,
5185
- };
5186
- },
5187
- /**
5188
- *
5189
- * @param {string} id
5190
- * @param {*} [options] Override http request option.
5191
- * @throws {RequiredError}
5192
- */
5193
- vehicleBrandsDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5194
- // verify required parameter 'id' is not null or undefined
5195
- assertParamExists('vehicleBrandsDelete', 'id', id)
5196
- const localVarPath = `/vehicle-brands/{id}`
5197
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5198
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5199
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5200
- let baseOptions;
5201
- if (configuration) {
5202
- baseOptions = configuration.baseOptions;
5203
- }
5204
-
5205
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
5206
- const localVarHeaderParameter = {} as any;
5207
- const localVarQueryParameter = {} as any;
5208
-
5209
-
5210
-
5211
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5212
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5213
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5214
-
5215
- return {
5216
- url: toPathString(localVarUrlObj),
5217
- options: localVarRequestOptions,
5218
- };
5219
- },
5220
- /**
5221
- *
5222
- * @param {string} id
5223
- * @param {*} [options] Override http request option.
5224
- * @throws {RequiredError}
5225
- */
5226
- vehicleBrandsGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5227
- // verify required parameter 'id' is not null or undefined
5228
- assertParamExists('vehicleBrandsGet', 'id', id)
5229
- const localVarPath = `/vehicle-brands/{id}`
5230
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5231
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5232
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5233
- let baseOptions;
5234
- if (configuration) {
5235
- baseOptions = configuration.baseOptions;
5236
- }
5237
-
5238
4812
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5239
4813
  const localVarHeaderParameter = {} as any;
5240
4814
  const localVarQueryParameter = {} as any;
@@ -5252,12 +4826,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5252
4826
  },
5253
4827
  /**
5254
4828
  *
5255
- * @param {string} [name]
5256
4829
  * @param {*} [options] Override http request option.
5257
4830
  * @throws {RequiredError}
5258
4831
  */
5259
- vehicleBrandsIndex: async (name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5260
- const localVarPath = `/vehicle-brands`;
4832
+ vipCampaignIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4833
+ const localVarPath = `/vip-campaign`;
5261
4834
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5262
4835
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5263
4836
  let baseOptions;
@@ -5269,10 +4842,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5269
4842
  const localVarHeaderParameter = {} as any;
5270
4843
  const localVarQueryParameter = {} as any;
5271
4844
 
5272
- if (name !== undefined) {
5273
- localVarQueryParameter['name'] = name;
5274
- }
5275
-
5276
4845
 
5277
4846
 
5278
4847
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -5286,18 +4855,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5286
4855
  },
5287
4856
  /**
5288
4857
  *
5289
- * @param {string} id
5290
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
4858
+ * @param {UpsertCampaign} upsertCampaign
5291
4859
  * @param {*} [options] Override http request option.
5292
4860
  * @throws {RequiredError}
5293
4861
  */
5294
- vehicleBrandsUpdate: async (id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5295
- // verify required parameter 'id' is not null or undefined
5296
- assertParamExists('vehicleBrandsUpdate', 'id', id)
5297
- // verify required parameter 'updateVehicleBrandBody' is not null or undefined
5298
- assertParamExists('vehicleBrandsUpdate', 'updateVehicleBrandBody', updateVehicleBrandBody)
5299
- const localVarPath = `/vehicle-brands/{id}`
5300
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4862
+ vipCampaignUpsert: async (upsertCampaign: UpsertCampaign, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4863
+ // verify required parameter 'upsertCampaign' is not null or undefined
4864
+ assertParamExists('vipCampaignUpsert', 'upsertCampaign', upsertCampaign)
4865
+ const localVarPath = `/vip-campaign`;
5301
4866
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5302
4867
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5303
4868
  let baseOptions;
@@ -5305,7 +4870,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5305
4870
  baseOptions = configuration.baseOptions;
5306
4871
  }
5307
4872
 
5308
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
4873
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5309
4874
  const localVarHeaderParameter = {} as any;
5310
4875
  const localVarQueryParameter = {} as any;
5311
4876
 
@@ -5316,7 +4881,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5316
4881
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5317
4882
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5318
4883
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5319
- localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
4884
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertCampaign, localVarRequestOptions, configuration)
5320
4885
 
5321
4886
  return {
5322
4887
  url: toPathString(localVarUrlObj),
@@ -5573,24 +5138,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5573
5138
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAddParkingTicket(id, platform, idType, xAccountId, options);
5574
5139
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5575
5140
  },
5576
- /**
5577
- *
5578
- * @param {string} [orderBy]
5579
- * @param {string} [orderDirection]
5580
- * @param {number} [pageNumber]
5581
- * @param {number} [pageSize]
5582
- * @param {string} [filterBy]
5583
- * @param {string} [filterKey]
5584
- * @param {string} [startDate]
5585
- * @param {string} [endDate]
5586
- * @param {ParkingDetailStatus} [status]
5587
- * @param {*} [options] Override http request option.
5588
- * @throws {RequiredError}
5589
- */
5590
- async parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailsExportResponseArray>> {
5591
- const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options);
5592
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5593
- },
5594
5141
  /**
5595
5142
  *
5596
5143
  * @param {string} id
@@ -5810,53 +5357,30 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5810
5357
  },
5811
5358
  /**
5812
5359
  *
5813
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
5814
- * @param {*} [options] Override http request option.
5815
- * @throws {RequiredError}
5816
- */
5817
- async vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5818
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsCreate(createVehicleBrandBody, options);
5819
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5820
- },
5821
- /**
5822
- *
5823
- * @param {string} id
5824
- * @param {*} [options] Override http request option.
5825
- * @throws {RequiredError}
5826
- */
5827
- async vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleBrandResponse>> {
5828
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsDelete(id, options);
5829
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5830
- },
5831
- /**
5832
- *
5833
- * @param {string} id
5834
5360
  * @param {*} [options] Override http request option.
5835
5361
  * @throws {RequiredError}
5836
5362
  */
5837
- async vehicleBrandsGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5838
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsGet(id, options);
5363
+ async vehicleBrandsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(options);
5839
5365
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5840
5366
  },
5841
5367
  /**
5842
5368
  *
5843
- * @param {string} [name]
5844
5369
  * @param {*} [options] Override http request option.
5845
5370
  * @throws {RequiredError}
5846
5371
  */
5847
- async vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5848
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(name, options);
5372
+ async vipCampaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
5373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignIndex(options);
5849
5374
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5850
5375
  },
5851
5376
  /**
5852
5377
  *
5853
- * @param {string} id
5854
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
5378
+ * @param {UpsertCampaign} upsertCampaign
5855
5379
  * @param {*} [options] Override http request option.
5856
5380
  * @throws {RequiredError}
5857
5381
  */
5858
- async vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5859
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsUpdate(id, updateVehicleBrandBody, options);
5382
+ async vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>> {
5383
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignUpsert(upsertCampaign, options);
5860
5384
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5861
5385
  },
5862
5386
  }
@@ -6087,23 +5611,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6087
5611
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: any): AxiosPromise<AddParkingTicketResponse> {
6088
5612
  return localVarFp.parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(axios, basePath));
6089
5613
  },
6090
- /**
6091
- *
6092
- * @param {string} [orderBy]
6093
- * @param {string} [orderDirection]
6094
- * @param {number} [pageNumber]
6095
- * @param {number} [pageSize]
6096
- * @param {string} [filterBy]
6097
- * @param {string} [filterKey]
6098
- * @param {string} [startDate]
6099
- * @param {string} [endDate]
6100
- * @param {ParkingDetailStatus} [status]
6101
- * @param {*} [options] Override http request option.
6102
- * @throws {RequiredError}
6103
- */
6104
- parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsExportResponseArray> {
6105
- return localVarFp.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(axios, basePath));
6106
- },
6107
5614
  /**
6108
5615
  *
6109
5616
  * @param {string} id
@@ -6305,49 +5812,28 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6305
5812
  },
6306
5813
  /**
6307
5814
  *
6308
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
6309
- * @param {*} [options] Override http request option.
6310
- * @throws {RequiredError}
6311
- */
6312
- vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6313
- return localVarFp.vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(axios, basePath));
6314
- },
6315
- /**
6316
- *
6317
- * @param {string} id
6318
- * @param {*} [options] Override http request option.
6319
- * @throws {RequiredError}
6320
- */
6321
- vehicleBrandsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleBrandResponse> {
6322
- return localVarFp.vehicleBrandsDelete(id, options).then((request) => request(axios, basePath));
6323
- },
6324
- /**
6325
- *
6326
- * @param {string} id
6327
5815
  * @param {*} [options] Override http request option.
6328
5816
  * @throws {RequiredError}
6329
5817
  */
6330
- vehicleBrandsGet(id: string, options?: any): AxiosPromise<VehicleBrandResponse> {
6331
- return localVarFp.vehicleBrandsGet(id, options).then((request) => request(axios, basePath));
5818
+ vehicleBrandsIndex(options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
5819
+ return localVarFp.vehicleBrandsIndex(options).then((request) => request(axios, basePath));
6332
5820
  },
6333
5821
  /**
6334
5822
  *
6335
- * @param {string} [name]
6336
5823
  * @param {*} [options] Override http request option.
6337
5824
  * @throws {RequiredError}
6338
5825
  */
6339
- vehicleBrandsIndex(name?: string, options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
6340
- return localVarFp.vehicleBrandsIndex(name, options).then((request) => request(axios, basePath));
5826
+ vipCampaignIndex(options?: any): AxiosPromise<CampaignSequenceResponse> {
5827
+ return localVarFp.vipCampaignIndex(options).then((request) => request(axios, basePath));
6341
5828
  },
6342
5829
  /**
6343
5830
  *
6344
- * @param {string} id
6345
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
5831
+ * @param {UpsertCampaign} upsertCampaign
6346
5832
  * @param {*} [options] Override http request option.
6347
5833
  * @throws {RequiredError}
6348
5834
  */
6349
- vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6350
- return localVarFp.vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(axios, basePath));
5835
+ vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>> {
5836
+ return localVarFp.vipCampaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
6351
5837
  },
6352
5838
  };
6353
5839
  };
@@ -6621,25 +6107,6 @@ export class DefaultApi extends BaseAPI {
6621
6107
  return DefaultApiFp(this.configuration).parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(this.axios, this.basePath));
6622
6108
  }
6623
6109
 
6624
- /**
6625
- *
6626
- * @param {string} [orderBy]
6627
- * @param {string} [orderDirection]
6628
- * @param {number} [pageNumber]
6629
- * @param {number} [pageSize]
6630
- * @param {string} [filterBy]
6631
- * @param {string} [filterKey]
6632
- * @param {string} [startDate]
6633
- * @param {string} [endDate]
6634
- * @param {ParkingDetailStatus} [status]
6635
- * @param {*} [options] Override http request option.
6636
- * @throws {RequiredError}
6637
- * @memberof DefaultApi
6638
- */
6639
- public parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) {
6640
- return DefaultApiFp(this.configuration).parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
6641
- }
6642
-
6643
6110
  /**
6644
6111
  *
6645
6112
  * @param {string} id
@@ -6877,58 +6344,33 @@ export class DefaultApi extends BaseAPI {
6877
6344
 
6878
6345
  /**
6879
6346
  *
6880
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
6881
- * @param {*} [options] Override http request option.
6882
- * @throws {RequiredError}
6883
- * @memberof DefaultApi
6884
- */
6885
- public vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig) {
6886
- return DefaultApiFp(this.configuration).vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6887
- }
6888
-
6889
- /**
6890
- *
6891
- * @param {string} id
6892
- * @param {*} [options] Override http request option.
6893
- * @throws {RequiredError}
6894
- * @memberof DefaultApi
6895
- */
6896
- public vehicleBrandsDelete(id: string, options?: AxiosRequestConfig) {
6897
- return DefaultApiFp(this.configuration).vehicleBrandsDelete(id, options).then((request) => request(this.axios, this.basePath));
6898
- }
6899
-
6900
- /**
6901
- *
6902
- * @param {string} id
6903
6347
  * @param {*} [options] Override http request option.
6904
6348
  * @throws {RequiredError}
6905
6349
  * @memberof DefaultApi
6906
6350
  */
6907
- public vehicleBrandsGet(id: string, options?: AxiosRequestConfig) {
6908
- return DefaultApiFp(this.configuration).vehicleBrandsGet(id, options).then((request) => request(this.axios, this.basePath));
6351
+ public vehicleBrandsIndex(options?: AxiosRequestConfig) {
6352
+ return DefaultApiFp(this.configuration).vehicleBrandsIndex(options).then((request) => request(this.axios, this.basePath));
6909
6353
  }
6910
6354
 
6911
6355
  /**
6912
6356
  *
6913
- * @param {string} [name]
6914
6357
  * @param {*} [options] Override http request option.
6915
6358
  * @throws {RequiredError}
6916
6359
  * @memberof DefaultApi
6917
6360
  */
6918
- public vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig) {
6919
- return DefaultApiFp(this.configuration).vehicleBrandsIndex(name, options).then((request) => request(this.axios, this.basePath));
6361
+ public vipCampaignIndex(options?: AxiosRequestConfig) {
6362
+ return DefaultApiFp(this.configuration).vipCampaignIndex(options).then((request) => request(this.axios, this.basePath));
6920
6363
  }
6921
6364
 
6922
6365
  /**
6923
6366
  *
6924
- * @param {string} id
6925
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
6367
+ * @param {UpsertCampaign} upsertCampaign
6926
6368
  * @param {*} [options] Override http request option.
6927
6369
  * @throws {RequiredError}
6928
6370
  * @memberof DefaultApi
6929
6371
  */
6930
- public vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig) {
6931
- return DefaultApiFp(this.configuration).vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6372
+ public vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig) {
6373
+ return DefaultApiFp(this.configuration).vipCampaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
6932
6374
  }
6933
6375
  }
6934
6376