ob-parking-sdk 0.0.47 → 0.0.48
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 +28 -0
- package/dist/api/api.d.ts +26 -0
- package/dist/api/api.js +7 -1
- package/package.json +1 -1
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
|
*
|
|
@@ -1637,6 +1648,12 @@ export interface ManualCreateReceiptBody {
|
|
|
1637
1648
|
* @memberof ManualCreateReceiptBody
|
|
1638
1649
|
*/
|
|
1639
1650
|
'email'?: string;
|
|
1651
|
+
/**
|
|
1652
|
+
*
|
|
1653
|
+
* @type {string}
|
|
1654
|
+
* @memberof ManualCreateReceiptBody
|
|
1655
|
+
*/
|
|
1656
|
+
'counter'?: string;
|
|
1640
1657
|
}
|
|
1641
1658
|
/**
|
|
1642
1659
|
*
|
|
@@ -1718,8 +1735,19 @@ export interface ParkingDetailRedeemBody {
|
|
|
1718
1735
|
* @memberof ParkingDetailRedeemBody
|
|
1719
1736
|
*/
|
|
1720
1737
|
'type': RedeemType;
|
|
1738
|
+
/**
|
|
1739
|
+
*
|
|
1740
|
+
* @type {string}
|
|
1741
|
+
* @memberof ParkingDetailRedeemBody
|
|
1742
|
+
*/
|
|
1743
|
+
'source'?: ParkingDetailRedeemBodySourceEnum;
|
|
1721
1744
|
}
|
|
1722
1745
|
|
|
1746
|
+
export const ParkingDetailRedeemBodySourceEnum = {
|
|
1747
|
+
Cms: 'cms'
|
|
1748
|
+
} as const;
|
|
1749
|
+
|
|
1750
|
+
export type ParkingDetailRedeemBodySourceEnum = typeof ParkingDetailRedeemBodySourceEnum[keyof typeof ParkingDetailRedeemBodySourceEnum];
|
|
1723
1751
|
|
|
1724
1752
|
/**
|
|
1725
1753
|
*
|
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
|
|
@@ -1607,6 +1617,12 @@ export interface ManualCreateReceiptBody {
|
|
|
1607
1617
|
* @memberof ManualCreateReceiptBody
|
|
1608
1618
|
*/
|
|
1609
1619
|
'email'?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
*
|
|
1622
|
+
* @type {string}
|
|
1623
|
+
* @memberof ManualCreateReceiptBody
|
|
1624
|
+
*/
|
|
1625
|
+
'counter'?: string;
|
|
1610
1626
|
}
|
|
1611
1627
|
/**
|
|
1612
1628
|
*
|
|
@@ -1688,7 +1704,17 @@ export interface ParkingDetailRedeemBody {
|
|
|
1688
1704
|
* @memberof ParkingDetailRedeemBody
|
|
1689
1705
|
*/
|
|
1690
1706
|
'type': RedeemType;
|
|
1707
|
+
/**
|
|
1708
|
+
*
|
|
1709
|
+
* @type {string}
|
|
1710
|
+
* @memberof ParkingDetailRedeemBody
|
|
1711
|
+
*/
|
|
1712
|
+
'source'?: ParkingDetailRedeemBodySourceEnum;
|
|
1691
1713
|
}
|
|
1714
|
+
export declare const ParkingDetailRedeemBodySourceEnum: {
|
|
1715
|
+
readonly Cms: "cms";
|
|
1716
|
+
};
|
|
1717
|
+
export type ParkingDetailRedeemBodySourceEnum = typeof ParkingDetailRedeemBodySourceEnum[keyof typeof ParkingDetailRedeemBodySourceEnum];
|
|
1692
1718
|
/**
|
|
1693
1719
|
*
|
|
1694
1720
|
* @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
|