tickera-angular-components 0.0.1-dev.109 → 0.0.1-dev.110
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/index.d.ts
CHANGED
|
@@ -1651,11 +1651,21 @@ interface VipTransaction {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
|
|
1653
1653
|
interface VipCardResponse {
|
|
1654
|
-
|
|
1654
|
+
data: {
|
|
1655
|
+
vip_card: VipCard;
|
|
1656
|
+
};
|
|
1655
1657
|
}
|
|
1656
1658
|
interface VipCardsResponse {
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
+
data: {
|
|
1660
|
+
vip_cards: VipCard[];
|
|
1661
|
+
total: number;
|
|
1662
|
+
};
|
|
1663
|
+
}
|
|
1664
|
+
interface VipTransactionsResponse {
|
|
1665
|
+
data: {
|
|
1666
|
+
transactions: VipTransaction[];
|
|
1667
|
+
total: number;
|
|
1668
|
+
};
|
|
1659
1669
|
}
|
|
1660
1670
|
|
|
1661
1671
|
declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
|
|
@@ -2369,14 +2379,14 @@ interface VipCardsQueryParams {
|
|
|
2369
2379
|
membership_id?: number;
|
|
2370
2380
|
customer_id?: number;
|
|
2371
2381
|
}
|
|
2372
|
-
interface VipTransactionsResponse {
|
|
2373
|
-
transactions: VipTransaction[];
|
|
2374
|
-
total: number;
|
|
2375
|
-
}
|
|
2376
2382
|
declare class VipCardService {
|
|
2377
2383
|
private apiService;
|
|
2378
2384
|
constructor(apiService: ApiService);
|
|
2379
|
-
findMy(): Observable<
|
|
2385
|
+
findMy(): Observable<{
|
|
2386
|
+
data: {
|
|
2387
|
+
vip_card: VipCard;
|
|
2388
|
+
} | null;
|
|
2389
|
+
}>;
|
|
2380
2390
|
activate(data: any): Observable<VipCardResponse>;
|
|
2381
2391
|
recharge(data: any): Observable<VipCardResponse>;
|
|
2382
2392
|
fetchAll(queryParams?: VipCardsQueryParams): Observable<VipCardsResponse>;
|