ob-parking-sdk 0.0.32 → 0.0.34

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.19.3
7
+ * The version of the OpenAPI document: 1.19.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -610,6 +610,42 @@ export interface FinalCampaignBody {
610
610
  * @interface GetAllReceiptQuery
611
611
  */
612
612
  export interface GetAllReceiptQuery {
613
+ /**
614
+ *
615
+ * @type {string}
616
+ * @memberof GetAllReceiptQuery
617
+ */
618
+ 'order_by'?: string;
619
+ /**
620
+ *
621
+ * @type {string}
622
+ * @memberof GetAllReceiptQuery
623
+ */
624
+ 'order_direction'?: string;
625
+ /**
626
+ *
627
+ * @type {number}
628
+ * @memberof GetAllReceiptQuery
629
+ */
630
+ 'page_number'?: number;
631
+ /**
632
+ *
633
+ * @type {number}
634
+ * @memberof GetAllReceiptQuery
635
+ */
636
+ 'page_size'?: number;
637
+ /**
638
+ *
639
+ * @type {string}
640
+ * @memberof GetAllReceiptQuery
641
+ */
642
+ 'filter_by'?: string;
643
+ /**
644
+ *
645
+ * @type {string}
646
+ * @memberof GetAllReceiptQuery
647
+ */
648
+ 'filter_key'?: string;
613
649
  /**
614
650
  *
615
651
  * @type {string}
@@ -652,6 +688,12 @@ export interface GetAllReceiptQuery {
652
688
  * @memberof GetAllReceiptQuery
653
689
  */
654
690
  'created_at'?: string;
691
+ /**
692
+ *
693
+ * @type {string}
694
+ * @memberof GetAllReceiptQuery
695
+ */
696
+ 'updated_at'?: string;
655
697
  /**
656
698
  *
657
699
  * @type {string}
@@ -739,6 +781,24 @@ export interface GetAllReceiptResponse {
739
781
  * @memberof GetAllReceiptResponse
740
782
  */
741
783
  'image_url': string | null;
784
+ /**
785
+ *
786
+ * @type {string}
787
+ * @memberof GetAllReceiptResponse
788
+ */
789
+ 'merchant_name': string | null;
790
+ /**
791
+ *
792
+ * @type {string}
793
+ * @memberof GetAllReceiptResponse
794
+ */
795
+ 'transaction_date': string | null;
796
+ /**
797
+ *
798
+ * @type {string}
799
+ * @memberof GetAllReceiptResponse
800
+ */
801
+ 'transaction_time': string | null;
742
802
  }
743
803
 
744
804
 
@@ -2248,67 +2308,67 @@ export interface UpdateReceiptBody {
2248
2308
  * @type {string}
2249
2309
  * @memberof UpdateReceiptBody
2250
2310
  */
2251
- 'merchant_name': string;
2311
+ 'merchant_name'?: string;
2252
2312
  /**
2253
2313
  *
2254
2314
  * @type {string}
2255
2315
  * @memberof UpdateReceiptBody
2256
2316
  */
2257
- 'transaction_date': string;
2317
+ 'transaction_date'?: string;
2258
2318
  /**
2259
2319
  *
2260
2320
  * @type {string}
2261
2321
  * @memberof UpdateReceiptBody
2262
2322
  */
2263
- 'transaction_time': string;
2323
+ 'transaction_time'?: string;
2264
2324
  /**
2265
2325
  *
2266
2326
  * @type {Array<Item>}
2267
2327
  * @memberof UpdateReceiptBody
2268
2328
  */
2269
- 'items': Array<Item>;
2329
+ 'items'?: Array<Item>;
2270
2330
  /**
2271
2331
  *
2272
2332
  * @type {string}
2273
2333
  * @memberof UpdateReceiptBody
2274
2334
  */
2275
- 'total': string;
2335
+ 'total'?: string;
2276
2336
  /**
2277
2337
  *
2278
2338
  * @type {string}
2279
2339
  * @memberof UpdateReceiptBody
2280
2340
  */
2281
- 'tax_id': string;
2341
+ 'tax_id'?: string;
2282
2342
  /**
2283
2343
  *
2284
2344
  * @type {string}
2285
2345
  * @memberof UpdateReceiptBody
2286
2346
  */
2287
- 'receipt_no': string;
2347
+ 'receipt_no'?: string;
2288
2348
  /**
2289
2349
  *
2290
2350
  * @type {string}
2291
2351
  * @memberof UpdateReceiptBody
2292
2352
  */
2293
- 'address': string;
2353
+ 'address'?: string;
2294
2354
  /**
2295
2355
  *
2296
2356
  * @type {string}
2297
2357
  * @memberof UpdateReceiptBody
2298
2358
  */
2299
- 'unit_no': string;
2359
+ 'unit_no'?: string;
2300
2360
  /**
2301
2361
  *
2302
2362
  * @type {string}
2303
2363
  * @memberof UpdateReceiptBody
2304
2364
  */
2305
- 'mall_name': string;
2365
+ 'mall_name'?: string;
2306
2366
  /**
2307
2367
  *
2308
2368
  * @type {string}
2309
2369
  * @memberof UpdateReceiptBody
2310
2370
  */
2311
- 'hashed_receipt': string;
2371
+ 'hashed_receipt'?: string;
2312
2372
  /**
2313
2373
  *
2314
2374
  * @type {ReceiptStatus}
@@ -2320,7 +2380,7 @@ export interface UpdateReceiptBody {
2320
2380
  * @type {string}
2321
2381
  * @memberof UpdateReceiptBody
2322
2382
  */
2323
- 'message': string;
2383
+ 'message'?: string;
2324
2384
  }
2325
2385
 
2326
2386
 
@@ -3420,6 +3480,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3420
3480
  },
3421
3481
  /**
3422
3482
  *
3483
+ * @param {string} [orderBy]
3484
+ * @param {string} [orderDirection]
3485
+ * @param {number} [pageNumber]
3486
+ * @param {number} [pageSize]
3487
+ * @param {string} [filterBy]
3488
+ * @param {string} [filterKey]
3423
3489
  * @param {string} [id]
3424
3490
  * @param {string} [receiptHashedId]
3425
3491
  * @param {string} [userId]
@@ -3427,12 +3493,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3427
3493
  * @param {string} [content]
3428
3494
  * @param {string} [redeemedAt]
3429
3495
  * @param {string} [createdAt]
3496
+ * @param {string} [updatedAt]
3430
3497
  * @param {string} [total]
3431
3498
  * @param {string} [parkingId]
3432
3499
  * @param {*} [options] Override http request option.
3433
3500
  * @throws {RequiredError}
3434
3501
  */
3435
- receiptAll: async (id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, total?: string, parkingId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3502
+ receiptAll: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, updatedAt?: string, total?: string, parkingId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3436
3503
  const localVarPath = `/receipt/all`;
3437
3504
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3438
3505
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3445,6 +3512,30 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3445
3512
  const localVarHeaderParameter = {} as any;
3446
3513
  const localVarQueryParameter = {} as any;
3447
3514
 
3515
+ if (orderBy !== undefined) {
3516
+ localVarQueryParameter['order_by'] = orderBy;
3517
+ }
3518
+
3519
+ if (orderDirection !== undefined) {
3520
+ localVarQueryParameter['order_direction'] = orderDirection;
3521
+ }
3522
+
3523
+ if (pageNumber !== undefined) {
3524
+ localVarQueryParameter['page_number'] = pageNumber;
3525
+ }
3526
+
3527
+ if (pageSize !== undefined) {
3528
+ localVarQueryParameter['page_size'] = pageSize;
3529
+ }
3530
+
3531
+ if (filterBy !== undefined) {
3532
+ localVarQueryParameter['filter_by'] = filterBy;
3533
+ }
3534
+
3535
+ if (filterKey !== undefined) {
3536
+ localVarQueryParameter['filter_key'] = filterKey;
3537
+ }
3538
+
3448
3539
  if (id !== undefined) {
3449
3540
  localVarQueryParameter['id'] = id;
3450
3541
  }
@@ -3473,6 +3564,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3473
3564
  localVarQueryParameter['created_at'] = createdAt;
3474
3565
  }
3475
3566
 
3567
+ if (updatedAt !== undefined) {
3568
+ localVarQueryParameter['updated_at'] = updatedAt;
3569
+ }
3570
+
3476
3571
  if (total !== undefined) {
3477
3572
  localVarQueryParameter['total'] = total;
3478
3573
  }
@@ -4000,6 +4095,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4000
4095
  },
4001
4096
  /**
4002
4097
  *
4098
+ * @param {string} [orderBy]
4099
+ * @param {string} [orderDirection]
4100
+ * @param {number} [pageNumber]
4101
+ * @param {number} [pageSize]
4102
+ * @param {string} [filterBy]
4103
+ * @param {string} [filterKey]
4003
4104
  * @param {string} [id]
4004
4105
  * @param {string} [receiptHashedId]
4005
4106
  * @param {string} [userId]
@@ -4007,13 +4108,14 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4007
4108
  * @param {string} [content]
4008
4109
  * @param {string} [redeemedAt]
4009
4110
  * @param {string} [createdAt]
4111
+ * @param {string} [updatedAt]
4010
4112
  * @param {string} [total]
4011
4113
  * @param {string} [parkingId]
4012
4114
  * @param {*} [options] Override http request option.
4013
4115
  * @throws {RequiredError}
4014
4116
  */
4015
- async receiptAll(id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetAllReceiptResponse>>> {
4016
- const localVarAxiosArgs = await localVarAxiosParamCreator.receiptAll(id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options);
4117
+ async receiptAll(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, updatedAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetAllReceiptResponse>>> {
4118
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptAll(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options);
4017
4119
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4018
4120
  },
4019
4121
  /**
@@ -4350,6 +4452,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4350
4452
  },
4351
4453
  /**
4352
4454
  *
4455
+ * @param {string} [orderBy]
4456
+ * @param {string} [orderDirection]
4457
+ * @param {number} [pageNumber]
4458
+ * @param {number} [pageSize]
4459
+ * @param {string} [filterBy]
4460
+ * @param {string} [filterKey]
4353
4461
  * @param {string} [id]
4354
4462
  * @param {string} [receiptHashedId]
4355
4463
  * @param {string} [userId]
@@ -4357,13 +4465,14 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4357
4465
  * @param {string} [content]
4358
4466
  * @param {string} [redeemedAt]
4359
4467
  * @param {string} [createdAt]
4468
+ * @param {string} [updatedAt]
4360
4469
  * @param {string} [total]
4361
4470
  * @param {string} [parkingId]
4362
4471
  * @param {*} [options] Override http request option.
4363
4472
  * @throws {RequiredError}
4364
4473
  */
4365
- receiptAll(id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, total?: string, parkingId?: string, options?: any): AxiosPromise<Array<GetAllReceiptResponse>> {
4366
- return localVarFp.receiptAll(id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options).then((request) => request(axios, basePath));
4474
+ receiptAll(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, updatedAt?: string, total?: string, parkingId?: string, options?: any): AxiosPromise<Array<GetAllReceiptResponse>> {
4475
+ return localVarFp.receiptAll(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options).then((request) => request(axios, basePath));
4367
4476
  },
4368
4477
  /**
4369
4478
  *
@@ -4743,6 +4852,12 @@ export class DefaultApi extends BaseAPI {
4743
4852
 
4744
4853
  /**
4745
4854
  *
4855
+ * @param {string} [orderBy]
4856
+ * @param {string} [orderDirection]
4857
+ * @param {number} [pageNumber]
4858
+ * @param {number} [pageSize]
4859
+ * @param {string} [filterBy]
4860
+ * @param {string} [filterKey]
4746
4861
  * @param {string} [id]
4747
4862
  * @param {string} [receiptHashedId]
4748
4863
  * @param {string} [userId]
@@ -4750,14 +4865,15 @@ export class DefaultApi extends BaseAPI {
4750
4865
  * @param {string} [content]
4751
4866
  * @param {string} [redeemedAt]
4752
4867
  * @param {string} [createdAt]
4868
+ * @param {string} [updatedAt]
4753
4869
  * @param {string} [total]
4754
4870
  * @param {string} [parkingId]
4755
4871
  * @param {*} [options] Override http request option.
4756
4872
  * @throws {RequiredError}
4757
4873
  * @memberof DefaultApi
4758
4874
  */
4759
- public receiptAll(id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig) {
4760
- return DefaultApiFp(this.configuration).receiptAll(id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options).then((request) => request(this.axios, this.basePath));
4875
+ public receiptAll(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, updatedAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig) {
4876
+ return DefaultApiFp(this.configuration).receiptAll(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options).then((request) => request(this.axios, this.basePath));
4761
4877
  }
4762
4878
 
4763
4879
  /**
package/api/base.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.19.3
7
+ * The version of the OpenAPI document: 1.19.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/common.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.19.3
7
+ * The version of the OpenAPI document: 1.19.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.19.3
7
+ * The version of the OpenAPI document: 1.19.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/index.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.19.3
7
+ * The version of the OpenAPI document: 1.19.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.19.3
5
+ * The version of the OpenAPI document: 1.19.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -590,6 +590,42 @@ export interface FinalCampaignBody {
590
590
  * @interface GetAllReceiptQuery
591
591
  */
592
592
  export interface GetAllReceiptQuery {
593
+ /**
594
+ *
595
+ * @type {string}
596
+ * @memberof GetAllReceiptQuery
597
+ */
598
+ 'order_by'?: string;
599
+ /**
600
+ *
601
+ * @type {string}
602
+ * @memberof GetAllReceiptQuery
603
+ */
604
+ 'order_direction'?: string;
605
+ /**
606
+ *
607
+ * @type {number}
608
+ * @memberof GetAllReceiptQuery
609
+ */
610
+ 'page_number'?: number;
611
+ /**
612
+ *
613
+ * @type {number}
614
+ * @memberof GetAllReceiptQuery
615
+ */
616
+ 'page_size'?: number;
617
+ /**
618
+ *
619
+ * @type {string}
620
+ * @memberof GetAllReceiptQuery
621
+ */
622
+ 'filter_by'?: string;
623
+ /**
624
+ *
625
+ * @type {string}
626
+ * @memberof GetAllReceiptQuery
627
+ */
628
+ 'filter_key'?: string;
593
629
  /**
594
630
  *
595
631
  * @type {string}
@@ -632,6 +668,12 @@ export interface GetAllReceiptQuery {
632
668
  * @memberof GetAllReceiptQuery
633
669
  */
634
670
  'created_at'?: string;
671
+ /**
672
+ *
673
+ * @type {string}
674
+ * @memberof GetAllReceiptQuery
675
+ */
676
+ 'updated_at'?: string;
635
677
  /**
636
678
  *
637
679
  * @type {string}
@@ -717,6 +759,24 @@ export interface GetAllReceiptResponse {
717
759
  * @memberof GetAllReceiptResponse
718
760
  */
719
761
  'image_url': string | null;
762
+ /**
763
+ *
764
+ * @type {string}
765
+ * @memberof GetAllReceiptResponse
766
+ */
767
+ 'merchant_name': string | null;
768
+ /**
769
+ *
770
+ * @type {string}
771
+ * @memberof GetAllReceiptResponse
772
+ */
773
+ 'transaction_date': string | null;
774
+ /**
775
+ *
776
+ * @type {string}
777
+ * @memberof GetAllReceiptResponse
778
+ */
779
+ 'transaction_time': string | null;
720
780
  }
721
781
  /**
722
782
  *
@@ -2202,67 +2262,67 @@ export interface UpdateReceiptBody {
2202
2262
  * @type {string}
2203
2263
  * @memberof UpdateReceiptBody
2204
2264
  */
2205
- 'merchant_name': string;
2265
+ 'merchant_name'?: string;
2206
2266
  /**
2207
2267
  *
2208
2268
  * @type {string}
2209
2269
  * @memberof UpdateReceiptBody
2210
2270
  */
2211
- 'transaction_date': string;
2271
+ 'transaction_date'?: string;
2212
2272
  /**
2213
2273
  *
2214
2274
  * @type {string}
2215
2275
  * @memberof UpdateReceiptBody
2216
2276
  */
2217
- 'transaction_time': string;
2277
+ 'transaction_time'?: string;
2218
2278
  /**
2219
2279
  *
2220
2280
  * @type {Array<Item>}
2221
2281
  * @memberof UpdateReceiptBody
2222
2282
  */
2223
- 'items': Array<Item>;
2283
+ 'items'?: Array<Item>;
2224
2284
  /**
2225
2285
  *
2226
2286
  * @type {string}
2227
2287
  * @memberof UpdateReceiptBody
2228
2288
  */
2229
- 'total': string;
2289
+ 'total'?: string;
2230
2290
  /**
2231
2291
  *
2232
2292
  * @type {string}
2233
2293
  * @memberof UpdateReceiptBody
2234
2294
  */
2235
- 'tax_id': string;
2295
+ 'tax_id'?: string;
2236
2296
  /**
2237
2297
  *
2238
2298
  * @type {string}
2239
2299
  * @memberof UpdateReceiptBody
2240
2300
  */
2241
- 'receipt_no': string;
2301
+ 'receipt_no'?: string;
2242
2302
  /**
2243
2303
  *
2244
2304
  * @type {string}
2245
2305
  * @memberof UpdateReceiptBody
2246
2306
  */
2247
- 'address': string;
2307
+ 'address'?: string;
2248
2308
  /**
2249
2309
  *
2250
2310
  * @type {string}
2251
2311
  * @memberof UpdateReceiptBody
2252
2312
  */
2253
- 'unit_no': string;
2313
+ 'unit_no'?: string;
2254
2314
  /**
2255
2315
  *
2256
2316
  * @type {string}
2257
2317
  * @memberof UpdateReceiptBody
2258
2318
  */
2259
- 'mall_name': string;
2319
+ 'mall_name'?: string;
2260
2320
  /**
2261
2321
  *
2262
2322
  * @type {string}
2263
2323
  * @memberof UpdateReceiptBody
2264
2324
  */
2265
- 'hashed_receipt': string;
2325
+ 'hashed_receipt'?: string;
2266
2326
  /**
2267
2327
  *
2268
2328
  * @type {ReceiptStatus}
@@ -2274,7 +2334,7 @@ export interface UpdateReceiptBody {
2274
2334
  * @type {string}
2275
2335
  * @memberof UpdateReceiptBody
2276
2336
  */
2277
- 'message': string;
2337
+ 'message'?: string;
2278
2338
  }
2279
2339
  /**
2280
2340
  *
@@ -2544,6 +2604,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2544
2604
  parkingDetailsRedeem: (logId: string, parkingDetailRedeemBody: ParkingDetailRedeemBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2545
2605
  /**
2546
2606
  *
2607
+ * @param {string} [orderBy]
2608
+ * @param {string} [orderDirection]
2609
+ * @param {number} [pageNumber]
2610
+ * @param {number} [pageSize]
2611
+ * @param {string} [filterBy]
2612
+ * @param {string} [filterKey]
2547
2613
  * @param {string} [id]
2548
2614
  * @param {string} [receiptHashedId]
2549
2615
  * @param {string} [userId]
@@ -2551,12 +2617,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2551
2617
  * @param {string} [content]
2552
2618
  * @param {string} [redeemedAt]
2553
2619
  * @param {string} [createdAt]
2620
+ * @param {string} [updatedAt]
2554
2621
  * @param {string} [total]
2555
2622
  * @param {string} [parkingId]
2556
2623
  * @param {*} [options] Override http request option.
2557
2624
  * @throws {RequiredError}
2558
2625
  */
2559
- receiptAll: (id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2626
+ receiptAll: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, updatedAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2560
2627
  /**
2561
2628
  *
2562
2629
  * @param {string} id
@@ -2819,6 +2886,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2819
2886
  parkingDetailsRedeem(logId: string, parkingDetailRedeemBody: ParkingDetailRedeemBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedeemParkingDetailResponse>>;
2820
2887
  /**
2821
2888
  *
2889
+ * @param {string} [orderBy]
2890
+ * @param {string} [orderDirection]
2891
+ * @param {number} [pageNumber]
2892
+ * @param {number} [pageSize]
2893
+ * @param {string} [filterBy]
2894
+ * @param {string} [filterKey]
2822
2895
  * @param {string} [id]
2823
2896
  * @param {string} [receiptHashedId]
2824
2897
  * @param {string} [userId]
@@ -2826,12 +2899,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2826
2899
  * @param {string} [content]
2827
2900
  * @param {string} [redeemedAt]
2828
2901
  * @param {string} [createdAt]
2902
+ * @param {string} [updatedAt]
2829
2903
  * @param {string} [total]
2830
2904
  * @param {string} [parkingId]
2831
2905
  * @param {*} [options] Override http request option.
2832
2906
  * @throws {RequiredError}
2833
2907
  */
2834
- receiptAll(id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetAllReceiptResponse>>>;
2908
+ receiptAll(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, updatedAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetAllReceiptResponse>>>;
2835
2909
  /**
2836
2910
  *
2837
2911
  * @param {string} id
@@ -3094,6 +3168,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3094
3168
  parkingDetailsRedeem(logId: string, parkingDetailRedeemBody: ParkingDetailRedeemBody, options?: any): AxiosPromise<RedeemParkingDetailResponse>;
3095
3169
  /**
3096
3170
  *
3171
+ * @param {string} [orderBy]
3172
+ * @param {string} [orderDirection]
3173
+ * @param {number} [pageNumber]
3174
+ * @param {number} [pageSize]
3175
+ * @param {string} [filterBy]
3176
+ * @param {string} [filterKey]
3097
3177
  * @param {string} [id]
3098
3178
  * @param {string} [receiptHashedId]
3099
3179
  * @param {string} [userId]
@@ -3101,12 +3181,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3101
3181
  * @param {string} [content]
3102
3182
  * @param {string} [redeemedAt]
3103
3183
  * @param {string} [createdAt]
3184
+ * @param {string} [updatedAt]
3104
3185
  * @param {string} [total]
3105
3186
  * @param {string} [parkingId]
3106
3187
  * @param {*} [options] Override http request option.
3107
3188
  * @throws {RequiredError}
3108
3189
  */
3109
- receiptAll(id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, total?: string, parkingId?: string, options?: any): AxiosPromise<Array<GetAllReceiptResponse>>;
3190
+ receiptAll(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, updatedAt?: string, total?: string, parkingId?: string, options?: any): AxiosPromise<Array<GetAllReceiptResponse>>;
3110
3191
  /**
3111
3192
  *
3112
3193
  * @param {string} id
@@ -3396,6 +3477,12 @@ export declare class DefaultApi extends BaseAPI {
3396
3477
  parkingDetailsRedeem(logId: string, parkingDetailRedeemBody: ParkingDetailRedeemBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RedeemParkingDetailResponse, any>>;
3397
3478
  /**
3398
3479
  *
3480
+ * @param {string} [orderBy]
3481
+ * @param {string} [orderDirection]
3482
+ * @param {number} [pageNumber]
3483
+ * @param {number} [pageSize]
3484
+ * @param {string} [filterBy]
3485
+ * @param {string} [filterKey]
3399
3486
  * @param {string} [id]
3400
3487
  * @param {string} [receiptHashedId]
3401
3488
  * @param {string} [userId]
@@ -3403,13 +3490,14 @@ export declare class DefaultApi extends BaseAPI {
3403
3490
  * @param {string} [content]
3404
3491
  * @param {string} [redeemedAt]
3405
3492
  * @param {string} [createdAt]
3493
+ * @param {string} [updatedAt]
3406
3494
  * @param {string} [total]
3407
3495
  * @param {string} [parkingId]
3408
3496
  * @param {*} [options] Override http request option.
3409
3497
  * @throws {RequiredError}
3410
3498
  * @memberof DefaultApi
3411
3499
  */
3412
- receiptAll(id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAllReceiptResponse[], any>>;
3500
+ receiptAll(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, id?: string, receiptHashedId?: string, userId?: string, status?: ReceiptStatus, content?: string, redeemedAt?: string, createdAt?: string, updatedAt?: string, total?: string, parkingId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAllReceiptResponse[], any>>;
3413
3501
  /**
3414
3502
  *
3415
3503
  * @param {string} id
package/dist/api/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.19.3
8
+ * The version of the OpenAPI document: 1.19.5
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -955,6 +955,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
955
955
  }),
956
956
  /**
957
957
  *
958
+ * @param {string} [orderBy]
959
+ * @param {string} [orderDirection]
960
+ * @param {number} [pageNumber]
961
+ * @param {number} [pageSize]
962
+ * @param {string} [filterBy]
963
+ * @param {string} [filterKey]
958
964
  * @param {string} [id]
959
965
  * @param {string} [receiptHashedId]
960
966
  * @param {string} [userId]
@@ -962,12 +968,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
962
968
  * @param {string} [content]
963
969
  * @param {string} [redeemedAt]
964
970
  * @param {string} [createdAt]
971
+ * @param {string} [updatedAt]
965
972
  * @param {string} [total]
966
973
  * @param {string} [parkingId]
967
974
  * @param {*} [options] Override http request option.
968
975
  * @throws {RequiredError}
969
976
  */
970
- receiptAll: (id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options = {}) => __awaiter(this, void 0, void 0, function* () {
977
+ receiptAll: (orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options = {}) => __awaiter(this, void 0, void 0, function* () {
971
978
  const localVarPath = `/receipt/all`;
972
979
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
973
980
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -978,6 +985,24 @@ const DefaultApiAxiosParamCreator = function (configuration) {
978
985
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
979
986
  const localVarHeaderParameter = {};
980
987
  const localVarQueryParameter = {};
988
+ if (orderBy !== undefined) {
989
+ localVarQueryParameter['order_by'] = orderBy;
990
+ }
991
+ if (orderDirection !== undefined) {
992
+ localVarQueryParameter['order_direction'] = orderDirection;
993
+ }
994
+ if (pageNumber !== undefined) {
995
+ localVarQueryParameter['page_number'] = pageNumber;
996
+ }
997
+ if (pageSize !== undefined) {
998
+ localVarQueryParameter['page_size'] = pageSize;
999
+ }
1000
+ if (filterBy !== undefined) {
1001
+ localVarQueryParameter['filter_by'] = filterBy;
1002
+ }
1003
+ if (filterKey !== undefined) {
1004
+ localVarQueryParameter['filter_key'] = filterKey;
1005
+ }
981
1006
  if (id !== undefined) {
982
1007
  localVarQueryParameter['id'] = id;
983
1008
  }
@@ -999,6 +1024,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
999
1024
  if (createdAt !== undefined) {
1000
1025
  localVarQueryParameter['created_at'] = createdAt;
1001
1026
  }
1027
+ if (updatedAt !== undefined) {
1028
+ localVarQueryParameter['updated_at'] = updatedAt;
1029
+ }
1002
1030
  if (total !== undefined) {
1003
1031
  localVarQueryParameter['total'] = total;
1004
1032
  }
@@ -1536,6 +1564,12 @@ const DefaultApiFp = function (configuration) {
1536
1564
  },
1537
1565
  /**
1538
1566
  *
1567
+ * @param {string} [orderBy]
1568
+ * @param {string} [orderDirection]
1569
+ * @param {number} [pageNumber]
1570
+ * @param {number} [pageSize]
1571
+ * @param {string} [filterBy]
1572
+ * @param {string} [filterKey]
1539
1573
  * @param {string} [id]
1540
1574
  * @param {string} [receiptHashedId]
1541
1575
  * @param {string} [userId]
@@ -1543,14 +1577,15 @@ const DefaultApiFp = function (configuration) {
1543
1577
  * @param {string} [content]
1544
1578
  * @param {string} [redeemedAt]
1545
1579
  * @param {string} [createdAt]
1580
+ * @param {string} [updatedAt]
1546
1581
  * @param {string} [total]
1547
1582
  * @param {string} [parkingId]
1548
1583
  * @param {*} [options] Override http request option.
1549
1584
  * @throws {RequiredError}
1550
1585
  */
1551
- receiptAll(id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options) {
1586
+ receiptAll(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options) {
1552
1587
  return __awaiter(this, void 0, void 0, function* () {
1553
- const localVarAxiosArgs = yield localVarAxiosParamCreator.receiptAll(id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options);
1588
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.receiptAll(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options);
1554
1589
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1555
1590
  });
1556
1591
  },
@@ -1900,6 +1935,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1900
1935
  },
1901
1936
  /**
1902
1937
  *
1938
+ * @param {string} [orderBy]
1939
+ * @param {string} [orderDirection]
1940
+ * @param {number} [pageNumber]
1941
+ * @param {number} [pageSize]
1942
+ * @param {string} [filterBy]
1943
+ * @param {string} [filterKey]
1903
1944
  * @param {string} [id]
1904
1945
  * @param {string} [receiptHashedId]
1905
1946
  * @param {string} [userId]
@@ -1907,13 +1948,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1907
1948
  * @param {string} [content]
1908
1949
  * @param {string} [redeemedAt]
1909
1950
  * @param {string} [createdAt]
1951
+ * @param {string} [updatedAt]
1910
1952
  * @param {string} [total]
1911
1953
  * @param {string} [parkingId]
1912
1954
  * @param {*} [options] Override http request option.
1913
1955
  * @throws {RequiredError}
1914
1956
  */
1915
- receiptAll(id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options) {
1916
- return localVarFp.receiptAll(id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options).then((request) => request(axios, basePath));
1957
+ receiptAll(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options) {
1958
+ return localVarFp.receiptAll(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options).then((request) => request(axios, basePath));
1917
1959
  },
1918
1960
  /**
1919
1961
  *
@@ -2268,6 +2310,12 @@ class DefaultApi extends base_1.BaseAPI {
2268
2310
  }
2269
2311
  /**
2270
2312
  *
2313
+ * @param {string} [orderBy]
2314
+ * @param {string} [orderDirection]
2315
+ * @param {number} [pageNumber]
2316
+ * @param {number} [pageSize]
2317
+ * @param {string} [filterBy]
2318
+ * @param {string} [filterKey]
2271
2319
  * @param {string} [id]
2272
2320
  * @param {string} [receiptHashedId]
2273
2321
  * @param {string} [userId]
@@ -2275,14 +2323,15 @@ class DefaultApi extends base_1.BaseAPI {
2275
2323
  * @param {string} [content]
2276
2324
  * @param {string} [redeemedAt]
2277
2325
  * @param {string} [createdAt]
2326
+ * @param {string} [updatedAt]
2278
2327
  * @param {string} [total]
2279
2328
  * @param {string} [parkingId]
2280
2329
  * @param {*} [options] Override http request option.
2281
2330
  * @throws {RequiredError}
2282
2331
  * @memberof DefaultApi
2283
2332
  */
2284
- receiptAll(id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options) {
2285
- return (0, exports.DefaultApiFp)(this.configuration).receiptAll(id, receiptHashedId, userId, status, content, redeemedAt, createdAt, total, parkingId, options).then((request) => request(this.axios, this.basePath));
2333
+ receiptAll(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options) {
2334
+ return (0, exports.DefaultApiFp)(this.configuration).receiptAll(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, id, receiptHashedId, userId, status, content, redeemedAt, createdAt, updatedAt, total, parkingId, options).then((request) => request(this.axios, this.basePath));
2286
2335
  }
2287
2336
  /**
2288
2337
  *
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.19.3
5
+ * The version of the OpenAPI document: 1.19.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.19.3
8
+ * The version of the OpenAPI document: 1.19.5
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.19.3
5
+ * The version of the OpenAPI document: 1.19.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.19.3
8
+ * The version of the OpenAPI document: 1.19.5
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.19.3
5
+ * The version of the OpenAPI document: 1.19.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.19.3
8
+ * The version of the OpenAPI document: 1.19.5
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.19.3
5
+ * The version of the OpenAPI document: 1.19.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.19.3
8
+ * The version of the OpenAPI document: 1.19.5
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-parking-sdk",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "API interfaces for OB PARKING",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"