ob-parking-sdk 0.0.47 → 0.0.49
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 +35 -44
- package/api/base.ts +1 -1
- package/api/common.ts +1 -1
- package/api/configuration.ts +1 -1
- package/api/index.ts +1 -1
- package/dist/api/api.d.ts +33 -44
- package/dist/api/api.js +8 -2
- package/dist/api/base.d.ts +1 -1
- package/dist/api/base.js +1 -1
- package/dist/api/common.d.ts +1 -1
- package/dist/api/common.js +1 -1
- package/dist/api/configuration.d.ts +1 -1
- package/dist/api/configuration.js +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/package.json +1 -1
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.26.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -388,6 +388,12 @@ export interface CmsParkingDetailRedeemBody {
|
|
|
388
388
|
* @memberof CmsParkingDetailRedeemBody
|
|
389
389
|
*/
|
|
390
390
|
'type': RedeemType;
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @type {string}
|
|
394
|
+
* @memberof CmsParkingDetailRedeemBody
|
|
395
|
+
*/
|
|
396
|
+
'source'?: CmsParkingDetailRedeemBodySourceEnum;
|
|
391
397
|
/**
|
|
392
398
|
*
|
|
393
399
|
* @type {string}
|
|
@@ -396,6 +402,11 @@ export interface CmsParkingDetailRedeemBody {
|
|
|
396
402
|
'custom_code'?: string;
|
|
397
403
|
}
|
|
398
404
|
|
|
405
|
+
export const CmsParkingDetailRedeemBodySourceEnum = {
|
|
406
|
+
Cms: 'cms'
|
|
407
|
+
} as const;
|
|
408
|
+
|
|
409
|
+
export type CmsParkingDetailRedeemBodySourceEnum = typeof CmsParkingDetailRedeemBodySourceEnum[keyof typeof CmsParkingDetailRedeemBodySourceEnum];
|
|
399
410
|
|
|
400
411
|
/**
|
|
401
412
|
*
|
|
@@ -1383,52 +1394,9 @@ export interface GetParkingDetailsIndexResponse {
|
|
|
1383
1394
|
* @memberof GetParkingDetailsIndexResponse
|
|
1384
1395
|
*/
|
|
1385
1396
|
'channel'?: string;
|
|
1386
|
-
/**
|
|
1387
|
-
*
|
|
1388
|
-
* @type {string}
|
|
1389
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1390
|
-
*/
|
|
1391
|
-
'time_in'?: string;
|
|
1392
|
-
/**
|
|
1393
|
-
*
|
|
1394
|
-
* @type {string}
|
|
1395
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1396
|
-
*/
|
|
1397
|
-
'time_out'?: string;
|
|
1398
|
-
/**
|
|
1399
|
-
*
|
|
1400
|
-
* @type {string}
|
|
1401
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1402
|
-
*/
|
|
1403
|
-
'total_time'?: string;
|
|
1404
|
-
/**
|
|
1405
|
-
*
|
|
1406
|
-
* @type {GetParkingDetailsIndexResponseResponseDiscount}
|
|
1407
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1408
|
-
*/
|
|
1409
|
-
'response_discount'?: GetParkingDetailsIndexResponseResponseDiscount;
|
|
1410
|
-
/**
|
|
1411
|
-
*
|
|
1412
|
-
* @type {GetParkingDetailsIndexResponseResponseDiscount}
|
|
1413
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1414
|
-
*/
|
|
1415
|
-
'response_park_fee'?: GetParkingDetailsIndexResponseResponseDiscount;
|
|
1416
|
-
/**
|
|
1417
|
-
*
|
|
1418
|
-
* @type {GetParkingDetailsIndexResponseResponseDiscount}
|
|
1419
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1420
|
-
*/
|
|
1421
|
-
'response_subtotal'?: GetParkingDetailsIndexResponseResponseDiscount;
|
|
1422
1397
|
}
|
|
1423
1398
|
|
|
1424
1399
|
|
|
1425
|
-
/**
|
|
1426
|
-
*
|
|
1427
|
-
* @export
|
|
1428
|
-
* @interface GetParkingDetailsIndexResponseResponseDiscount
|
|
1429
|
-
*/
|
|
1430
|
-
export interface GetParkingDetailsIndexResponseResponseDiscount {
|
|
1431
|
-
}
|
|
1432
1400
|
/**
|
|
1433
1401
|
*
|
|
1434
1402
|
* @export
|
|
@@ -1637,6 +1605,12 @@ export interface ManualCreateReceiptBody {
|
|
|
1637
1605
|
* @memberof ManualCreateReceiptBody
|
|
1638
1606
|
*/
|
|
1639
1607
|
'email'?: string;
|
|
1608
|
+
/**
|
|
1609
|
+
*
|
|
1610
|
+
* @type {string}
|
|
1611
|
+
* @memberof ManualCreateReceiptBody
|
|
1612
|
+
*/
|
|
1613
|
+
'counter'?: string;
|
|
1640
1614
|
}
|
|
1641
1615
|
/**
|
|
1642
1616
|
*
|
|
@@ -1718,8 +1692,19 @@ export interface ParkingDetailRedeemBody {
|
|
|
1718
1692
|
* @memberof ParkingDetailRedeemBody
|
|
1719
1693
|
*/
|
|
1720
1694
|
'type': RedeemType;
|
|
1695
|
+
/**
|
|
1696
|
+
*
|
|
1697
|
+
* @type {string}
|
|
1698
|
+
* @memberof ParkingDetailRedeemBody
|
|
1699
|
+
*/
|
|
1700
|
+
'source'?: ParkingDetailRedeemBodySourceEnum;
|
|
1721
1701
|
}
|
|
1722
1702
|
|
|
1703
|
+
export const ParkingDetailRedeemBodySourceEnum = {
|
|
1704
|
+
Cms: 'cms'
|
|
1705
|
+
} as const;
|
|
1706
|
+
|
|
1707
|
+
export type ParkingDetailRedeemBodySourceEnum = typeof ParkingDetailRedeemBodySourceEnum[keyof typeof ParkingDetailRedeemBodySourceEnum];
|
|
1723
1708
|
|
|
1724
1709
|
/**
|
|
1725
1710
|
*
|
|
@@ -2726,6 +2711,12 @@ export interface UpdateReceiptBody {
|
|
|
2726
2711
|
* @memberof UpdateReceiptBody
|
|
2727
2712
|
*/
|
|
2728
2713
|
'message'?: string;
|
|
2714
|
+
/**
|
|
2715
|
+
*
|
|
2716
|
+
* @type {string}
|
|
2717
|
+
* @memberof UpdateReceiptBody
|
|
2718
|
+
*/
|
|
2719
|
+
'counter'?: string;
|
|
2729
2720
|
}
|
|
2730
2721
|
|
|
2731
2722
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.26.2
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.26.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/configuration.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.26.2
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.26.2
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.26.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -368,6 +368,12 @@ export interface CmsParkingDetailRedeemBody {
|
|
|
368
368
|
* @memberof CmsParkingDetailRedeemBody
|
|
369
369
|
*/
|
|
370
370
|
'type': RedeemType;
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @type {string}
|
|
374
|
+
* @memberof CmsParkingDetailRedeemBody
|
|
375
|
+
*/
|
|
376
|
+
'source'?: CmsParkingDetailRedeemBodySourceEnum;
|
|
371
377
|
/**
|
|
372
378
|
*
|
|
373
379
|
* @type {string}
|
|
@@ -375,6 +381,10 @@ export interface CmsParkingDetailRedeemBody {
|
|
|
375
381
|
*/
|
|
376
382
|
'custom_code'?: string;
|
|
377
383
|
}
|
|
384
|
+
export declare const CmsParkingDetailRedeemBodySourceEnum: {
|
|
385
|
+
readonly Cms: "cms";
|
|
386
|
+
};
|
|
387
|
+
export type CmsParkingDetailRedeemBodySourceEnum = typeof CmsParkingDetailRedeemBodySourceEnum[keyof typeof CmsParkingDetailRedeemBodySourceEnum];
|
|
378
388
|
/**
|
|
379
389
|
*
|
|
380
390
|
* @export
|
|
@@ -1355,49 +1365,6 @@ export interface GetParkingDetailsIndexResponse {
|
|
|
1355
1365
|
* @memberof GetParkingDetailsIndexResponse
|
|
1356
1366
|
*/
|
|
1357
1367
|
'channel'?: string;
|
|
1358
|
-
/**
|
|
1359
|
-
*
|
|
1360
|
-
* @type {string}
|
|
1361
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1362
|
-
*/
|
|
1363
|
-
'time_in'?: string;
|
|
1364
|
-
/**
|
|
1365
|
-
*
|
|
1366
|
-
* @type {string}
|
|
1367
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1368
|
-
*/
|
|
1369
|
-
'time_out'?: string;
|
|
1370
|
-
/**
|
|
1371
|
-
*
|
|
1372
|
-
* @type {string}
|
|
1373
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1374
|
-
*/
|
|
1375
|
-
'total_time'?: string;
|
|
1376
|
-
/**
|
|
1377
|
-
*
|
|
1378
|
-
* @type {GetParkingDetailsIndexResponseResponseDiscount}
|
|
1379
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1380
|
-
*/
|
|
1381
|
-
'response_discount'?: GetParkingDetailsIndexResponseResponseDiscount;
|
|
1382
|
-
/**
|
|
1383
|
-
*
|
|
1384
|
-
* @type {GetParkingDetailsIndexResponseResponseDiscount}
|
|
1385
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1386
|
-
*/
|
|
1387
|
-
'response_park_fee'?: GetParkingDetailsIndexResponseResponseDiscount;
|
|
1388
|
-
/**
|
|
1389
|
-
*
|
|
1390
|
-
* @type {GetParkingDetailsIndexResponseResponseDiscount}
|
|
1391
|
-
* @memberof GetParkingDetailsIndexResponse
|
|
1392
|
-
*/
|
|
1393
|
-
'response_subtotal'?: GetParkingDetailsIndexResponseResponseDiscount;
|
|
1394
|
-
}
|
|
1395
|
-
/**
|
|
1396
|
-
*
|
|
1397
|
-
* @export
|
|
1398
|
-
* @interface GetParkingDetailsIndexResponseResponseDiscount
|
|
1399
|
-
*/
|
|
1400
|
-
export interface GetParkingDetailsIndexResponseResponseDiscount {
|
|
1401
1368
|
}
|
|
1402
1369
|
/**
|
|
1403
1370
|
*
|
|
@@ -1607,6 +1574,12 @@ export interface ManualCreateReceiptBody {
|
|
|
1607
1574
|
* @memberof ManualCreateReceiptBody
|
|
1608
1575
|
*/
|
|
1609
1576
|
'email'?: string;
|
|
1577
|
+
/**
|
|
1578
|
+
*
|
|
1579
|
+
* @type {string}
|
|
1580
|
+
* @memberof ManualCreateReceiptBody
|
|
1581
|
+
*/
|
|
1582
|
+
'counter'?: string;
|
|
1610
1583
|
}
|
|
1611
1584
|
/**
|
|
1612
1585
|
*
|
|
@@ -1688,7 +1661,17 @@ export interface ParkingDetailRedeemBody {
|
|
|
1688
1661
|
* @memberof ParkingDetailRedeemBody
|
|
1689
1662
|
*/
|
|
1690
1663
|
'type': RedeemType;
|
|
1664
|
+
/**
|
|
1665
|
+
*
|
|
1666
|
+
* @type {string}
|
|
1667
|
+
* @memberof ParkingDetailRedeemBody
|
|
1668
|
+
*/
|
|
1669
|
+
'source'?: ParkingDetailRedeemBodySourceEnum;
|
|
1691
1670
|
}
|
|
1671
|
+
export declare const ParkingDetailRedeemBodySourceEnum: {
|
|
1672
|
+
readonly Cms: "cms";
|
|
1673
|
+
};
|
|
1674
|
+
export type ParkingDetailRedeemBodySourceEnum = typeof ParkingDetailRedeemBodySourceEnum[keyof typeof ParkingDetailRedeemBodySourceEnum];
|
|
1692
1675
|
/**
|
|
1693
1676
|
*
|
|
1694
1677
|
* @export
|
|
@@ -2678,6 +2661,12 @@ export interface UpdateReceiptBody {
|
|
|
2678
2661
|
* @memberof UpdateReceiptBody
|
|
2679
2662
|
*/
|
|
2680
2663
|
'message'?: string;
|
|
2664
|
+
/**
|
|
2665
|
+
*
|
|
2666
|
+
* @type {string}
|
|
2667
|
+
* @memberof UpdateReceiptBody
|
|
2668
|
+
*/
|
|
2669
|
+
'counter'?: string;
|
|
2681
2670
|
}
|
|
2682
2671
|
/**
|
|
2683
2672
|
*
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.26.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.RedeemType = exports.ReceiptStatus = exports.ParkingDetailStatus = exports.AddParkingTicketType = exports.AddParkingTicketIdType = void 0;
|
|
28
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.RedeemType = exports.ReceiptStatus = exports.ParkingDetailStatus = exports.ParkingDetailRedeemBodySourceEnum = exports.CmsParkingDetailRedeemBodySourceEnum = exports.AddParkingTicketType = exports.AddParkingTicketIdType = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -52,6 +52,12 @@ exports.AddParkingTicketType = {
|
|
|
52
52
|
Cms: 'CMS',
|
|
53
53
|
App: 'APP'
|
|
54
54
|
};
|
|
55
|
+
exports.CmsParkingDetailRedeemBodySourceEnum = {
|
|
56
|
+
Cms: 'cms'
|
|
57
|
+
};
|
|
58
|
+
exports.ParkingDetailRedeemBodySourceEnum = {
|
|
59
|
+
Cms: 'cms'
|
|
60
|
+
};
|
|
55
61
|
/**
|
|
56
62
|
*
|
|
57
63
|
* @export
|
package/dist/api/base.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.26.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.26.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/common.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.26.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/common.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.
|
|
8
|
+
* The version of the OpenAPI document: 1.26.2
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.26.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.26.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/index.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.26.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.26.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|