ob-parking-sdk 0.0.40 → 0.0.43

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
@@ -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
  *
@@ -600,6 +611,12 @@ export interface CreateReceiptBody {
600
611
  * @memberof CreateReceiptBody
601
612
  */
602
613
  'email'?: string;
614
+ /**
615
+ *
616
+ * @type {string}
617
+ * @memberof CreateReceiptBody
618
+ */
619
+ 'counter'?: string;
603
620
  }
604
621
  /**
605
622
  *
@@ -1371,9 +1388,52 @@ export interface GetParkingDetailsIndexResponse {
1371
1388
  * @memberof GetParkingDetailsIndexResponse
1372
1389
  */
1373
1390
  'channel'?: string;
1391
+ /**
1392
+ *
1393
+ * @type {string}
1394
+ * @memberof GetParkingDetailsIndexResponse
1395
+ */
1396
+ 'time_in'?: string;
1397
+ /**
1398
+ *
1399
+ * @type {string}
1400
+ * @memberof GetParkingDetailsIndexResponse
1401
+ */
1402
+ 'time_out'?: string;
1403
+ /**
1404
+ *
1405
+ * @type {string}
1406
+ * @memberof GetParkingDetailsIndexResponse
1407
+ */
1408
+ 'total_time'?: string;
1409
+ /**
1410
+ *
1411
+ * @type {GetParkingDetailsIndexResponseResponseDiscount}
1412
+ * @memberof GetParkingDetailsIndexResponse
1413
+ */
1414
+ 'response_discount'?: GetParkingDetailsIndexResponseResponseDiscount;
1415
+ /**
1416
+ *
1417
+ * @type {GetParkingDetailsIndexResponseResponseDiscount}
1418
+ * @memberof GetParkingDetailsIndexResponse
1419
+ */
1420
+ 'response_park_fee'?: GetParkingDetailsIndexResponseResponseDiscount;
1421
+ /**
1422
+ *
1423
+ * @type {GetParkingDetailsIndexResponseResponseDiscount}
1424
+ * @memberof GetParkingDetailsIndexResponse
1425
+ */
1426
+ 'response_subtotal'?: GetParkingDetailsIndexResponseResponseDiscount;
1374
1427
  }
1375
1428
 
1376
1429
 
1430
+ /**
1431
+ *
1432
+ * @export
1433
+ * @interface GetParkingDetailsIndexResponseResponseDiscount
1434
+ */
1435
+ export interface GetParkingDetailsIndexResponseResponseDiscount {
1436
+ }
1377
1437
  /**
1378
1438
  *
1379
1439
  * @export
@@ -1410,6 +1470,12 @@ export interface Health200Response {
1410
1470
  * @memberof Health200Response
1411
1471
  */
1412
1472
  'tccSetviceStatus': Health200ResponseIamSetviceStatus;
1473
+ /**
1474
+ *
1475
+ * @type {string}
1476
+ * @memberof Health200Response
1477
+ */
1478
+ 'FS_IVIVA_PARKING_API_KEY': string;
1413
1479
  /**
1414
1480
  *
1415
1481
  * @type {string}
@@ -1476,6 +1542,12 @@ export interface Health200Response {
1476
1542
  * @memberof Health200Response
1477
1543
  */
1478
1544
  'CACHE_REDIS': string;
1545
+ /**
1546
+ *
1547
+ * @type {string}
1548
+ * @memberof Health200Response
1549
+ */
1550
+ 'ENABLE_IVIVA_WORKER': string;
1479
1551
  /**
1480
1552
  *
1481
1553
  * @type {string}
@@ -1651,8 +1723,19 @@ export interface ParkingDetailRedeemBody {
1651
1723
  * @memberof ParkingDetailRedeemBody
1652
1724
  */
1653
1725
  'type': RedeemType;
1726
+ /**
1727
+ *
1728
+ * @type {string}
1729
+ * @memberof ParkingDetailRedeemBody
1730
+ */
1731
+ 'source'?: ParkingDetailRedeemBodySourceEnum;
1654
1732
  }
1655
1733
 
1734
+ export const ParkingDetailRedeemBodySourceEnum = {
1735
+ Cms: 'cms'
1736
+ } as const;
1737
+
1738
+ export type ParkingDetailRedeemBodySourceEnum = typeof ParkingDetailRedeemBodySourceEnum[keyof typeof ParkingDetailRedeemBodySourceEnum];
1656
1739
 
1657
1740
  /**
1658
1741
  *
@@ -1674,6 +1757,18 @@ export type ParkingDetailStatus = typeof ParkingDetailStatus[keyof typeof Parkin
1674
1757
  * @interface ParkingDetailsGetParkingDetailUid200Response
1675
1758
  */
1676
1759
  export interface ParkingDetailsGetParkingDetailUid200Response {
1760
+ /**
1761
+ *
1762
+ * @type {JsonValue}
1763
+ * @memberof ParkingDetailsGetParkingDetailUid200Response
1764
+ */
1765
+ 'iviva_meta_redemption': JsonValue | null;
1766
+ /**
1767
+ *
1768
+ * @type {JsonValue}
1769
+ * @memberof ParkingDetailsGetParkingDetailUid200Response
1770
+ */
1771
+ 'iviva_meta_revenue': JsonValue | null;
1677
1772
  /**
1678
1773
  *
1679
1774
  * @type {string}
@@ -1969,6 +2064,18 @@ export interface Receipt {
1969
2064
  * @memberof Receipt
1970
2065
  */
1971
2066
  'mall_name'?: string;
2067
+ /**
2068
+ *
2069
+ * @type {ReceiptContent}
2070
+ * @memberof Receipt
2071
+ */
2072
+ 'content'?: ReceiptContent;
2073
+ /**
2074
+ *
2075
+ * @type {string}
2076
+ * @memberof Receipt
2077
+ */
2078
+ 'counter'?: string;
1972
2079
  /**
1973
2080
  *
1974
2081
  * @type {string}
@@ -1996,6 +2103,56 @@ export interface Receipt {
1996
2103
  }
1997
2104
 
1998
2105
 
2106
+ /**
2107
+ *
2108
+ * @export
2109
+ * @interface ReceiptContent
2110
+ */
2111
+ export interface ReceiptContent {
2112
+ /**
2113
+ *
2114
+ * @type {string}
2115
+ * @memberof ReceiptContent
2116
+ */
2117
+ 'total': string;
2118
+ /**
2119
+ *
2120
+ * @type {string}
2121
+ * @memberof ReceiptContent
2122
+ */
2123
+ 'raw_data': string;
2124
+ /**
2125
+ *
2126
+ * @type {ReceiptContentMatchedStore}
2127
+ * @memberof ReceiptContent
2128
+ */
2129
+ 'matched_store': ReceiptContentMatchedStore;
2130
+ }
2131
+ /**
2132
+ *
2133
+ * @export
2134
+ * @interface ReceiptContentMatchedStore
2135
+ */
2136
+ export interface ReceiptContentMatchedStore {
2137
+ /**
2138
+ *
2139
+ * @type {string}
2140
+ * @memberof ReceiptContentMatchedStore
2141
+ */
2142
+ 'store_name': string;
2143
+ /**
2144
+ *
2145
+ * @type {string}
2146
+ * @memberof ReceiptContentMatchedStore
2147
+ */
2148
+ 'shop_name': string;
2149
+ /**
2150
+ *
2151
+ * @type {string}
2152
+ * @memberof ReceiptContentMatchedStore
2153
+ */
2154
+ 'id': string;
2155
+ }
1999
2156
  /**
2000
2157
  *
2001
2158
  * @export
package/dist/api/api.d.ts CHANGED
@@ -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
@@ -578,6 +588,12 @@ export interface CreateReceiptBody {
578
588
  * @memberof CreateReceiptBody
579
589
  */
580
590
  'email'?: string;
591
+ /**
592
+ *
593
+ * @type {string}
594
+ * @memberof CreateReceiptBody
595
+ */
596
+ 'counter'?: string;
581
597
  }
582
598
  /**
583
599
  *
@@ -1343,6 +1359,49 @@ export interface GetParkingDetailsIndexResponse {
1343
1359
  * @memberof GetParkingDetailsIndexResponse
1344
1360
  */
1345
1361
  'channel'?: string;
1362
+ /**
1363
+ *
1364
+ * @type {string}
1365
+ * @memberof GetParkingDetailsIndexResponse
1366
+ */
1367
+ 'time_in'?: string;
1368
+ /**
1369
+ *
1370
+ * @type {string}
1371
+ * @memberof GetParkingDetailsIndexResponse
1372
+ */
1373
+ 'time_out'?: string;
1374
+ /**
1375
+ *
1376
+ * @type {string}
1377
+ * @memberof GetParkingDetailsIndexResponse
1378
+ */
1379
+ 'total_time'?: string;
1380
+ /**
1381
+ *
1382
+ * @type {GetParkingDetailsIndexResponseResponseDiscount}
1383
+ * @memberof GetParkingDetailsIndexResponse
1384
+ */
1385
+ 'response_discount'?: GetParkingDetailsIndexResponseResponseDiscount;
1386
+ /**
1387
+ *
1388
+ * @type {GetParkingDetailsIndexResponseResponseDiscount}
1389
+ * @memberof GetParkingDetailsIndexResponse
1390
+ */
1391
+ 'response_park_fee'?: GetParkingDetailsIndexResponseResponseDiscount;
1392
+ /**
1393
+ *
1394
+ * @type {GetParkingDetailsIndexResponseResponseDiscount}
1395
+ * @memberof GetParkingDetailsIndexResponse
1396
+ */
1397
+ 'response_subtotal'?: GetParkingDetailsIndexResponseResponseDiscount;
1398
+ }
1399
+ /**
1400
+ *
1401
+ * @export
1402
+ * @interface GetParkingDetailsIndexResponseResponseDiscount
1403
+ */
1404
+ export interface GetParkingDetailsIndexResponseResponseDiscount {
1346
1405
  }
1347
1406
  /**
1348
1407
  *
@@ -1380,6 +1439,12 @@ export interface Health200Response {
1380
1439
  * @memberof Health200Response
1381
1440
  */
1382
1441
  'tccSetviceStatus': Health200ResponseIamSetviceStatus;
1442
+ /**
1443
+ *
1444
+ * @type {string}
1445
+ * @memberof Health200Response
1446
+ */
1447
+ 'FS_IVIVA_PARKING_API_KEY': string;
1383
1448
  /**
1384
1449
  *
1385
1450
  * @type {string}
@@ -1446,6 +1511,12 @@ export interface Health200Response {
1446
1511
  * @memberof Health200Response
1447
1512
  */
1448
1513
  'CACHE_REDIS': string;
1514
+ /**
1515
+ *
1516
+ * @type {string}
1517
+ * @memberof Health200Response
1518
+ */
1519
+ 'ENABLE_IVIVA_WORKER': string;
1449
1520
  /**
1450
1521
  *
1451
1522
  * @type {string}
@@ -1621,7 +1692,17 @@ export interface ParkingDetailRedeemBody {
1621
1692
  * @memberof ParkingDetailRedeemBody
1622
1693
  */
1623
1694
  'type': RedeemType;
1695
+ /**
1696
+ *
1697
+ * @type {string}
1698
+ * @memberof ParkingDetailRedeemBody
1699
+ */
1700
+ 'source'?: ParkingDetailRedeemBodySourceEnum;
1624
1701
  }
1702
+ export declare const ParkingDetailRedeemBodySourceEnum: {
1703
+ readonly Cms: "cms";
1704
+ };
1705
+ export type ParkingDetailRedeemBodySourceEnum = typeof ParkingDetailRedeemBodySourceEnum[keyof typeof ParkingDetailRedeemBodySourceEnum];
1625
1706
  /**
1626
1707
  *
1627
1708
  * @export
@@ -1638,6 +1719,18 @@ export type ParkingDetailStatus = typeof ParkingDetailStatus[keyof typeof Parkin
1638
1719
  * @interface ParkingDetailsGetParkingDetailUid200Response
1639
1720
  */
1640
1721
  export interface ParkingDetailsGetParkingDetailUid200Response {
1722
+ /**
1723
+ *
1724
+ * @type {JsonValue}
1725
+ * @memberof ParkingDetailsGetParkingDetailUid200Response
1726
+ */
1727
+ 'iviva_meta_redemption': JsonValue | null;
1728
+ /**
1729
+ *
1730
+ * @type {JsonValue}
1731
+ * @memberof ParkingDetailsGetParkingDetailUid200Response
1732
+ */
1733
+ 'iviva_meta_revenue': JsonValue | null;
1641
1734
  /**
1642
1735
  *
1643
1736
  * @type {string}
@@ -1931,6 +2024,18 @@ export interface Receipt {
1931
2024
  * @memberof Receipt
1932
2025
  */
1933
2026
  'mall_name'?: string;
2027
+ /**
2028
+ *
2029
+ * @type {ReceiptContent}
2030
+ * @memberof Receipt
2031
+ */
2032
+ 'content'?: ReceiptContent;
2033
+ /**
2034
+ *
2035
+ * @type {string}
2036
+ * @memberof Receipt
2037
+ */
2038
+ 'counter'?: string;
1934
2039
  /**
1935
2040
  *
1936
2041
  * @type {string}
@@ -1956,6 +2061,56 @@ export interface Receipt {
1956
2061
  */
1957
2062
  'items': Array<Item>;
1958
2063
  }
2064
+ /**
2065
+ *
2066
+ * @export
2067
+ * @interface ReceiptContent
2068
+ */
2069
+ export interface ReceiptContent {
2070
+ /**
2071
+ *
2072
+ * @type {string}
2073
+ * @memberof ReceiptContent
2074
+ */
2075
+ 'total': string;
2076
+ /**
2077
+ *
2078
+ * @type {string}
2079
+ * @memberof ReceiptContent
2080
+ */
2081
+ 'raw_data': string;
2082
+ /**
2083
+ *
2084
+ * @type {ReceiptContentMatchedStore}
2085
+ * @memberof ReceiptContent
2086
+ */
2087
+ 'matched_store': ReceiptContentMatchedStore;
2088
+ }
2089
+ /**
2090
+ *
2091
+ * @export
2092
+ * @interface ReceiptContentMatchedStore
2093
+ */
2094
+ export interface ReceiptContentMatchedStore {
2095
+ /**
2096
+ *
2097
+ * @type {string}
2098
+ * @memberof ReceiptContentMatchedStore
2099
+ */
2100
+ 'store_name': string;
2101
+ /**
2102
+ *
2103
+ * @type {string}
2104
+ * @memberof ReceiptContentMatchedStore
2105
+ */
2106
+ 'shop_name': string;
2107
+ /**
2108
+ *
2109
+ * @type {string}
2110
+ * @memberof ReceiptContentMatchedStore
2111
+ */
2112
+ 'id': string;
2113
+ }
1959
2114
  /**
1960
2115
  *
1961
2116
  * @export
package/dist/api/api.js CHANGED
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-parking-sdk",
3
- "version": "0.0.40",
3
+ "version": "0.0.43",
4
4
  "description": "API interfaces for OB PARKING",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"