@digital8/lighting-illusions-ts-sdk 0.0.1839 → 0.0.1840
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/.openapi-generator/FILES +10 -10
- package/README.md +8 -8
- package/dist/apis/CartsApi.d.ts +6 -6
- package/dist/apis/CartsApi.js +5 -3
- package/dist/apis/CouponsApi.d.ts +33 -0
- package/dist/apis/CouponsApi.js +138 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/AdminCartResource.d.ts +4 -34
- package/dist/models/AdminCartResource.js +10 -32
- package/dist/models/AttachCouponCartRequest.d.ts +2 -2
- package/dist/models/AttachCouponCartRequest.js +3 -3
- package/dist/models/FrontendCartResource.d.ts +0 -12
- package/dist/models/FrontendCartResource.js +0 -8
- package/dist/models/LineItemListResource.d.ts +3 -27
- package/dist/models/LineItemListResource.js +3 -19
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +2 -6
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/VerifyCouponRequest.d.ts +63 -0
- package/dist/models/VerifyCouponRequest.js +64 -0
- package/dist/models/VerifyCouponRequestProductsInner.d.ts +38 -0
- package/dist/models/VerifyCouponRequestProductsInner.js +51 -0
- package/dist/models/VerifyCouponResource.d.ts +38 -0
- package/dist/models/VerifyCouponResource.js +55 -0
- package/dist/models/VerifyCouponResourceArrayResponse.d.ts +33 -0
- package/dist/models/VerifyCouponResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +4 -5
- package/dist/models/index.js +4 -5
- package/docs/AdminCartResource.md +6 -16
- package/docs/AttachCouponCartRequest.md +2 -2
- package/docs/CartsApi.md +8 -8
- package/docs/CouponsApi.md +74 -0
- package/docs/FrontendCartResource.md +0 -4
- package/docs/LineItemListResource.md +1 -9
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/VerifyCouponRequest.md +44 -0
- package/docs/{DiscountValueType.md → VerifyCouponRequestProductsInner.md} +8 -4
- package/docs/{DetachCouponCartRequest.md → VerifyCouponResource.md} +8 -6
- package/docs/{DiscountType.md → VerifyCouponResourceArrayResponse.md} +6 -4
- package/package.json +1 -1
- package/src/apis/CartsApi.ts +14 -12
- package/src/apis/CouponsApi.ts +77 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressResource.ts +3 -2
- package/src/models/AdminCartResource.ts +14 -60
- package/src/models/AttachCouponCartRequest.ts +5 -5
- package/src/models/FrontendCartResource.ts +0 -18
- package/src/models/LineItemListResource.ts +10 -46
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +4 -6
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/VerifyCouponRequest.ts +115 -0
- package/src/models/VerifyCouponRequestProductsInner.ts +73 -0
- package/src/models/VerifyCouponResource.ts +75 -0
- package/src/models/VerifyCouponResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +4 -5
- package/dist/models/DetachCouponCartRequest.d.ts +0 -32
- package/dist/models/DetachCouponCartRequest.js +0 -51
- package/dist/models/DiscountType.d.ts +0 -26
- package/dist/models/DiscountType.js +0 -52
- package/dist/models/DiscountValueType.d.ts +0 -25
- package/dist/models/DiscountValueType.js +0 -51
- package/dist/models/ProductChildCartLiteResource.d.ts +0 -70
- package/dist/models/ProductChildCartLiteResource.js +0 -77
- package/dist/models/ProductChildCartLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductChildCartLiteResourceArrayResponse.js +0 -50
- package/docs/ProductChildCartLiteResource.md +0 -46
- package/docs/ProductChildCartLiteResourceArrayResponse.md +0 -34
- package/src/models/DetachCouponCartRequest.ts +0 -66
- package/src/models/DiscountType.ts +0 -54
- package/src/models/DiscountValueType.ts +0 -53
- package/src/models/ProductChildCartLiteResource.ts +0 -135
- package/src/models/ProductChildCartLiteResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -66,6 +66,7 @@ docs/CategoryFrontendResourceArrayResponse.md
|
|
|
66
66
|
docs/CategoryWithChildrenFrontendResource.md
|
|
67
67
|
docs/CategoryWithChildrenFrontendResourceArrayResponse.md
|
|
68
68
|
docs/CouponDiscountType.md
|
|
69
|
+
docs/CouponsApi.md
|
|
69
70
|
docs/CustomerListResource.md
|
|
70
71
|
docs/CustomerListResourceArrayResponse.md
|
|
71
72
|
docs/CustomerResource.md
|
|
@@ -82,7 +83,6 @@ docs/DestroyAttributeValueRequest.md
|
|
|
82
83
|
docs/DetachAccessoriesProductRangeRequest.md
|
|
83
84
|
docs/DetachAssetableOverlayTemplateRequest.md
|
|
84
85
|
docs/DetachAttributesProductRangeRequest.md
|
|
85
|
-
docs/DetachCouponCartRequest.md
|
|
86
86
|
docs/DetachDocumentablesDocumentRequest.md
|
|
87
87
|
docs/DetachDocumentablesDocumentRequestDocumentablesInner.md
|
|
88
88
|
docs/DetachDocumentsProductChildRequest.md
|
|
@@ -90,8 +90,6 @@ docs/DetachDocumentsProductRangeRequest.md
|
|
|
90
90
|
docs/DetachProductsProductCategoryRequest.md
|
|
91
91
|
docs/DetachStoresSupplierRequest.md
|
|
92
92
|
docs/DetachSuppliersStoreRequest.md
|
|
93
|
-
docs/DiscountType.md
|
|
94
|
-
docs/DiscountValueType.md
|
|
95
93
|
docs/DocumentApi.md
|
|
96
94
|
docs/DocumentFileForUploadResource.md
|
|
97
95
|
docs/DocumentFileForUploadResourceArrayResponse.md
|
|
@@ -287,8 +285,6 @@ docs/ProductChildAttributeGroupedResource.md
|
|
|
287
285
|
docs/ProductChildAttributeGroupedResourceArrayResponse.md
|
|
288
286
|
docs/ProductChildAttributeResource.md
|
|
289
287
|
docs/ProductChildAttributeResourceArrayResponse.md
|
|
290
|
-
docs/ProductChildCartLiteResource.md
|
|
291
|
-
docs/ProductChildCartLiteResourceArrayResponse.md
|
|
292
288
|
docs/ProductChildListResource.md
|
|
293
289
|
docs/ProductChildListResourceArrayResponse.md
|
|
294
290
|
docs/ProductChildLiteResource.md
|
|
@@ -493,6 +489,10 @@ docs/UpdateStoreRequest.md
|
|
|
493
489
|
docs/UpdateStoreRequestSpecialDatesInner.md
|
|
494
490
|
docs/UpdateSupplierRequest.md
|
|
495
491
|
docs/UpdateTagRequest.md
|
|
492
|
+
docs/VerifyCouponRequest.md
|
|
493
|
+
docs/VerifyCouponRequestProductsInner.md
|
|
494
|
+
docs/VerifyCouponResource.md
|
|
495
|
+
docs/VerifyCouponResourceArrayResponse.md
|
|
496
496
|
docs/WishlistCheckResource.md
|
|
497
497
|
docs/WishlistCheckResourceArrayResponse.md
|
|
498
498
|
docs/WishlistToggleResource.md
|
|
@@ -502,6 +502,7 @@ src/apis/AdminApi.ts
|
|
|
502
502
|
src/apis/AssetApi.ts
|
|
503
503
|
src/apis/AttributeApi.ts
|
|
504
504
|
src/apis/CartsApi.ts
|
|
505
|
+
src/apis/CouponsApi.ts
|
|
505
506
|
src/apis/CustomersApi.ts
|
|
506
507
|
src/apis/DefinitionApi.ts
|
|
507
508
|
src/apis/DocumentApi.ts
|
|
@@ -597,7 +598,6 @@ src/models/DestroyAttributeValueRequest.ts
|
|
|
597
598
|
src/models/DetachAccessoriesProductRangeRequest.ts
|
|
598
599
|
src/models/DetachAssetableOverlayTemplateRequest.ts
|
|
599
600
|
src/models/DetachAttributesProductRangeRequest.ts
|
|
600
|
-
src/models/DetachCouponCartRequest.ts
|
|
601
601
|
src/models/DetachDocumentablesDocumentRequest.ts
|
|
602
602
|
src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts
|
|
603
603
|
src/models/DetachDocumentsProductChildRequest.ts
|
|
@@ -605,8 +605,6 @@ src/models/DetachDocumentsProductRangeRequest.ts
|
|
|
605
605
|
src/models/DetachProductsProductCategoryRequest.ts
|
|
606
606
|
src/models/DetachStoresSupplierRequest.ts
|
|
607
607
|
src/models/DetachSuppliersStoreRequest.ts
|
|
608
|
-
src/models/DiscountType.ts
|
|
609
|
-
src/models/DiscountValueType.ts
|
|
610
608
|
src/models/DocumentFileForUploadResource.ts
|
|
611
609
|
src/models/DocumentFileForUploadResourceArrayResponse.ts
|
|
612
610
|
src/models/DocumentFrontendResource.ts
|
|
@@ -793,8 +791,6 @@ src/models/ProductChildAttributeGroupedResource.ts
|
|
|
793
791
|
src/models/ProductChildAttributeGroupedResourceArrayResponse.ts
|
|
794
792
|
src/models/ProductChildAttributeResource.ts
|
|
795
793
|
src/models/ProductChildAttributeResourceArrayResponse.ts
|
|
796
|
-
src/models/ProductChildCartLiteResource.ts
|
|
797
|
-
src/models/ProductChildCartLiteResourceArrayResponse.ts
|
|
798
794
|
src/models/ProductChildListResource.ts
|
|
799
795
|
src/models/ProductChildListResourceArrayResponse.ts
|
|
800
796
|
src/models/ProductChildLiteResource.ts
|
|
@@ -991,6 +987,10 @@ src/models/UpdateStoreRequest.ts
|
|
|
991
987
|
src/models/UpdateStoreRequestSpecialDatesInner.ts
|
|
992
988
|
src/models/UpdateSupplierRequest.ts
|
|
993
989
|
src/models/UpdateTagRequest.ts
|
|
990
|
+
src/models/VerifyCouponRequest.ts
|
|
991
|
+
src/models/VerifyCouponRequestProductsInner.ts
|
|
992
|
+
src/models/VerifyCouponResource.ts
|
|
993
|
+
src/models/VerifyCouponResourceArrayResponse.ts
|
|
994
994
|
src/models/WishlistCheckResource.ts
|
|
995
995
|
src/models/WishlistCheckResourceArrayResponse.ts
|
|
996
996
|
src/models/WishlistToggleResource.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1840
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -77,7 +77,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
77
77
|
*CartsApi* | [**attachCouponCart**](docs/CartsApi.md#attachcouponcartoperation) | **POST** /admin-api/carts/{cart}/coupons/attach | Auto-generated: attachCouponCart
|
|
78
78
|
*CartsApi* | [**attachItemCart**](docs/CartsApi.md#attachitemcartoperation) | **POST** /admin-api/carts/{cart}/items/attach | Auto-generated: attachItemCart
|
|
79
79
|
*CartsApi* | [**destroyCart**](docs/CartsApi.md#destroycart) | **DELETE** /admin-api/carts/{cart}/delete | Auto-generated: destroyCart
|
|
80
|
-
*CartsApi* | [**detachCouponCart**](docs/CartsApi.md#
|
|
80
|
+
*CartsApi* | [**detachCouponCart**](docs/CartsApi.md#detachcouponcart) | **DELETE** /admin-api/carts/{cart}/coupons/{coupon}/detach | Auto-generated: detachCouponCart
|
|
81
81
|
*CartsApi* | [**detachItemCart**](docs/CartsApi.md#detachitemcart) | **DELETE** /admin-api/carts/{cart}/items/{lineItem}/detach | Auto-generated: detachItemCart
|
|
82
82
|
*CartsApi* | [**indexCart**](docs/CartsApi.md#indexcartoperation) | **POST** /admin-api/carts/list | Auto-generated: indexCart
|
|
83
83
|
*CartsApi* | [**sendPaymentLinkCart**](docs/CartsApi.md#sendpaymentlinkcart) | **POST** /admin-api/carts/{cart}/send-payment-link | Auto-generated: sendPaymentLinkCart
|
|
@@ -85,6 +85,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
85
85
|
*CartsApi* | [**storeCart**](docs/CartsApi.md#storecartoperation) | **POST** /admin-api/carts/create | Auto-generated: storeCart
|
|
86
86
|
*CartsApi* | [**updateCart**](docs/CartsApi.md#updatecartoperation) | **PUT** /admin-api/carts/{cart}/update | Auto-generated: updateCart
|
|
87
87
|
*CartsApi* | [**updateItemCart**](docs/CartsApi.md#updateitemcartoperation) | **PUT** /admin-api/carts/{cart}/items/{lineItem}/update | Auto-generated: updateItemCart
|
|
88
|
+
*CouponsApi* | [**verifyCoupon**](docs/CouponsApi.md#verifycouponoperation) | **POST** /admin-api/coupons/verify | Auto-generated: verifyCoupon
|
|
88
89
|
*CustomersApi* | [**indexCustomer**](docs/CustomersApi.md#indexcustomeroperation) | **POST** /admin-api/customers/list | Auto-generated: indexCustomer
|
|
89
90
|
*CustomersApi* | [**showCustomer**](docs/CustomersApi.md#showcustomer) | **GET** /admin-api/customers/{customer} | Auto-generated: showCustomer
|
|
90
91
|
*CustomersApi* | [**storeCustomer**](docs/CustomersApi.md#storecustomeroperation) | **POST** /admin-api/customers/create | Auto-generated: storeCustomer
|
|
@@ -320,7 +321,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
320
321
|
- [DetachAccessoriesProductRangeRequest](docs/DetachAccessoriesProductRangeRequest.md)
|
|
321
322
|
- [DetachAssetableOverlayTemplateRequest](docs/DetachAssetableOverlayTemplateRequest.md)
|
|
322
323
|
- [DetachAttributesProductRangeRequest](docs/DetachAttributesProductRangeRequest.md)
|
|
323
|
-
- [DetachCouponCartRequest](docs/DetachCouponCartRequest.md)
|
|
324
324
|
- [DetachDocumentablesDocumentRequest](docs/DetachDocumentablesDocumentRequest.md)
|
|
325
325
|
- [DetachDocumentablesDocumentRequestDocumentablesInner](docs/DetachDocumentablesDocumentRequestDocumentablesInner.md)
|
|
326
326
|
- [DetachDocumentsProductChildRequest](docs/DetachDocumentsProductChildRequest.md)
|
|
@@ -328,8 +328,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
328
328
|
- [DetachProductsProductCategoryRequest](docs/DetachProductsProductCategoryRequest.md)
|
|
329
329
|
- [DetachStoresSupplierRequest](docs/DetachStoresSupplierRequest.md)
|
|
330
330
|
- [DetachSuppliersStoreRequest](docs/DetachSuppliersStoreRequest.md)
|
|
331
|
-
- [DiscountType](docs/DiscountType.md)
|
|
332
|
-
- [DiscountValueType](docs/DiscountValueType.md)
|
|
333
331
|
- [DocumentFileForUploadResource](docs/DocumentFileForUploadResource.md)
|
|
334
332
|
- [DocumentFileForUploadResourceArrayResponse](docs/DocumentFileForUploadResourceArrayResponse.md)
|
|
335
333
|
- [DocumentFrontendResource](docs/DocumentFrontendResource.md)
|
|
@@ -516,8 +514,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
516
514
|
- [ProductChildAttributeGroupedResourceArrayResponse](docs/ProductChildAttributeGroupedResourceArrayResponse.md)
|
|
517
515
|
- [ProductChildAttributeResource](docs/ProductChildAttributeResource.md)
|
|
518
516
|
- [ProductChildAttributeResourceArrayResponse](docs/ProductChildAttributeResourceArrayResponse.md)
|
|
519
|
-
- [ProductChildCartLiteResource](docs/ProductChildCartLiteResource.md)
|
|
520
|
-
- [ProductChildCartLiteResourceArrayResponse](docs/ProductChildCartLiteResourceArrayResponse.md)
|
|
521
517
|
- [ProductChildListResource](docs/ProductChildListResource.md)
|
|
522
518
|
- [ProductChildListResourceArrayResponse](docs/ProductChildListResourceArrayResponse.md)
|
|
523
519
|
- [ProductChildLiteResource](docs/ProductChildLiteResource.md)
|
|
@@ -714,6 +710,10 @@ All URIs are relative to *http://localhost/api*
|
|
|
714
710
|
- [UpdateStoreRequestSpecialDatesInner](docs/UpdateStoreRequestSpecialDatesInner.md)
|
|
715
711
|
- [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
|
|
716
712
|
- [UpdateTagRequest](docs/UpdateTagRequest.md)
|
|
713
|
+
- [VerifyCouponRequest](docs/VerifyCouponRequest.md)
|
|
714
|
+
- [VerifyCouponRequestProductsInner](docs/VerifyCouponRequestProductsInner.md)
|
|
715
|
+
- [VerifyCouponResource](docs/VerifyCouponResource.md)
|
|
716
|
+
- [VerifyCouponResourceArrayResponse](docs/VerifyCouponResourceArrayResponse.md)
|
|
717
717
|
- [WishlistCheckResource](docs/WishlistCheckResource.md)
|
|
718
718
|
- [WishlistCheckResourceArrayResponse](docs/WishlistCheckResourceArrayResponse.md)
|
|
719
719
|
- [WishlistToggleResource](docs/WishlistToggleResource.md)
|
|
@@ -731,7 +731,7 @@ and is automatically generated by the
|
|
|
731
731
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
732
732
|
|
|
733
733
|
- API version: `1.0.0`
|
|
734
|
-
- Package version: `0.0.
|
|
734
|
+
- Package version: `0.0.1840`
|
|
735
735
|
- Generator version: `7.21.0`
|
|
736
736
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
737
737
|
|
package/dist/apis/CartsApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AdminCartResource, AttachCouponCartRequest, AttachItemCartRequest,
|
|
13
|
+
import type { AdminCartResource, AttachCouponCartRequest, AttachItemCartRequest, GenericResponse, IndexCartRequest, PaginatedCartListResourceResponse, StoreCartRequest, UpdateCartRequest, UpdateItemCartRequest } from '../models/index';
|
|
14
14
|
export interface AttachCouponCartOperationRequest {
|
|
15
15
|
cart: number;
|
|
16
16
|
attachCouponCartRequest?: AttachCouponCartRequest;
|
|
@@ -22,9 +22,9 @@ export interface AttachItemCartOperationRequest {
|
|
|
22
22
|
export interface DestroyCartRequest {
|
|
23
23
|
cart: number;
|
|
24
24
|
}
|
|
25
|
-
export interface
|
|
25
|
+
export interface DetachCouponCartRequest {
|
|
26
26
|
cart: number;
|
|
27
|
-
|
|
27
|
+
coupon: number;
|
|
28
28
|
}
|
|
29
29
|
export interface DetachItemCartRequest {
|
|
30
30
|
cart: number;
|
|
@@ -94,15 +94,15 @@ export declare class CartsApi extends runtime.BaseAPI {
|
|
|
94
94
|
/**
|
|
95
95
|
* Creates request options for detachCouponCart without sending the request
|
|
96
96
|
*/
|
|
97
|
-
detachCouponCartRequestOpts(requestParameters:
|
|
97
|
+
detachCouponCartRequestOpts(requestParameters: DetachCouponCartRequest): Promise<runtime.RequestOpts>;
|
|
98
98
|
/**
|
|
99
99
|
* Auto-generated: detachCouponCart
|
|
100
100
|
*/
|
|
101
|
-
detachCouponCartRaw(requestParameters:
|
|
101
|
+
detachCouponCartRaw(requestParameters: DetachCouponCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminCartResource>>;
|
|
102
102
|
/**
|
|
103
103
|
* Auto-generated: detachCouponCart
|
|
104
104
|
*/
|
|
105
|
-
detachCouponCart(requestParameters:
|
|
105
|
+
detachCouponCart(requestParameters: DetachCouponCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminCartResource>;
|
|
106
106
|
/**
|
|
107
107
|
* Creates request options for detachItemCart without sending the request
|
|
108
108
|
*/
|
package/dist/apis/CartsApi.js
CHANGED
|
@@ -266,17 +266,19 @@ var CartsApi = /** @class */ (function (_super) {
|
|
|
266
266
|
if (requestParameters['cart'] == null) {
|
|
267
267
|
throw new runtime.RequiredError('cart', 'Required parameter "cart" was null or undefined when calling detachCouponCart().');
|
|
268
268
|
}
|
|
269
|
+
if (requestParameters['coupon'] == null) {
|
|
270
|
+
throw new runtime.RequiredError('coupon', 'Required parameter "coupon" was null or undefined when calling detachCouponCart().');
|
|
271
|
+
}
|
|
269
272
|
queryParameters = {};
|
|
270
273
|
headerParameters = {};
|
|
271
|
-
|
|
272
|
-
urlPath = "/admin-api/carts/{cart}/coupons/detach";
|
|
274
|
+
urlPath = "/admin-api/carts/{cart}/coupons/{coupon}/detach";
|
|
273
275
|
urlPath = urlPath.replace("{".concat("cart", "}"), encodeURIComponent(String(requestParameters['cart'])));
|
|
276
|
+
urlPath = urlPath.replace("{".concat("coupon", "}"), encodeURIComponent(String(requestParameters['coupon'])));
|
|
274
277
|
return [2 /*return*/, {
|
|
275
278
|
path: urlPath,
|
|
276
279
|
method: 'DELETE',
|
|
277
280
|
headers: headerParameters,
|
|
278
281
|
query: queryParameters,
|
|
279
|
-
body: (0, index_1.DetachCouponCartRequestToJSON)(requestParameters['detachCouponCartRequest']),
|
|
280
282
|
}];
|
|
281
283
|
});
|
|
282
284
|
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { VerifyCouponRequest, VerifyCouponResourceArrayResponse } from '../models/index';
|
|
14
|
+
export interface VerifyCouponOperationRequest {
|
|
15
|
+
verifyCouponRequest?: VerifyCouponRequest;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class CouponsApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Creates request options for verifyCoupon without sending the request
|
|
23
|
+
*/
|
|
24
|
+
verifyCouponRequestOpts(requestParameters: VerifyCouponOperationRequest): Promise<runtime.RequestOpts>;
|
|
25
|
+
/**
|
|
26
|
+
* Auto-generated: verifyCoupon
|
|
27
|
+
*/
|
|
28
|
+
verifyCouponRaw(requestParameters: VerifyCouponOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerifyCouponResourceArrayResponse>>;
|
|
29
|
+
/**
|
|
30
|
+
* Auto-generated: verifyCoupon
|
|
31
|
+
*/
|
|
32
|
+
verifyCoupon(requestParameters?: VerifyCouponOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerifyCouponResourceArrayResponse>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.CouponsApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var CouponsApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(CouponsApi, _super);
|
|
75
|
+
function CouponsApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for verifyCoupon without sending the request
|
|
80
|
+
*/
|
|
81
|
+
CouponsApi.prototype.verifyCouponRequestOpts = function (requestParameters) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, urlPath;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
queryParameters = {};
|
|
86
|
+
headerParameters = {};
|
|
87
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
88
|
+
urlPath = "/admin-api/coupons/verify";
|
|
89
|
+
return [2 /*return*/, {
|
|
90
|
+
path: urlPath,
|
|
91
|
+
method: 'POST',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
body: (0, index_1.VerifyCouponRequestToJSON)(requestParameters['verifyCouponRequest']),
|
|
95
|
+
}];
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Auto-generated: verifyCoupon
|
|
101
|
+
*/
|
|
102
|
+
CouponsApi.prototype.verifyCouponRaw = function (requestParameters, initOverrides) {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
104
|
+
var requestOptions, response;
|
|
105
|
+
return __generator(this, function (_a) {
|
|
106
|
+
switch (_a.label) {
|
|
107
|
+
case 0: return [4 /*yield*/, this.verifyCouponRequestOpts(requestParameters)];
|
|
108
|
+
case 1:
|
|
109
|
+
requestOptions = _a.sent();
|
|
110
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
111
|
+
case 2:
|
|
112
|
+
response = _a.sent();
|
|
113
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.VerifyCouponResourceArrayResponseFromJSON)(jsonValue); })];
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Auto-generated: verifyCoupon
|
|
120
|
+
*/
|
|
121
|
+
CouponsApi.prototype.verifyCoupon = function () {
|
|
122
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
123
|
+
var response;
|
|
124
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
switch (_a.label) {
|
|
127
|
+
case 0: return [4 /*yield*/, this.verifyCouponRaw(requestParameters, initOverrides)];
|
|
128
|
+
case 1:
|
|
129
|
+
response = _a.sent();
|
|
130
|
+
return [4 /*yield*/, response.value()];
|
|
131
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
return CouponsApi;
|
|
137
|
+
}(runtime.BaseAPI));
|
|
138
|
+
exports.CouponsApi = CouponsApi;
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./AdminApi"), exports);
|
|
|
20
20
|
__exportStar(require("./AssetApi"), exports);
|
|
21
21
|
__exportStar(require("./AttributeApi"), exports);
|
|
22
22
|
__exportStar(require("./CartsApi"), exports);
|
|
23
|
+
__exportStar(require("./CouponsApi"), exports);
|
|
23
24
|
__exportStar(require("./CustomersApi"), exports);
|
|
24
25
|
__exportStar(require("./DefinitionApi"), exports);
|
|
25
26
|
__exportStar(require("./DocumentApi"), exports);
|
|
@@ -24,6 +24,8 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
25
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('line2' in value) || value['line2'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
28
30
|
return false;
|
|
29
31
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -47,7 +49,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
49
|
'id': json['id'] == null ? undefined : json['id'],
|
|
48
50
|
'company': json['company'] == null ? undefined : json['company'],
|
|
49
51
|
'line1': json['line_1'],
|
|
50
|
-
'line2': json['line_2']
|
|
52
|
+
'line2': json['line_2'],
|
|
51
53
|
'postcode': json['postcode'],
|
|
52
54
|
'suburb': json['suburb'],
|
|
53
55
|
'country': json['country'],
|
|
@@ -108,7 +108,7 @@ export interface AdminCartResource {
|
|
|
108
108
|
* @type {number}
|
|
109
109
|
* @memberof AdminCartResource
|
|
110
110
|
*/
|
|
111
|
-
insuranceAmount
|
|
111
|
+
insuranceAmount?: number | null;
|
|
112
112
|
/**
|
|
113
113
|
*
|
|
114
114
|
* @type {boolean}
|
|
@@ -163,12 +163,6 @@ export interface AdminCartResource {
|
|
|
163
163
|
* @memberof AdminCartResource
|
|
164
164
|
*/
|
|
165
165
|
billingAddress: AddressResource | null;
|
|
166
|
-
/**
|
|
167
|
-
*
|
|
168
|
-
* @type {number}
|
|
169
|
-
* @memberof AdminCartResource
|
|
170
|
-
*/
|
|
171
|
-
discountPreview: number;
|
|
172
166
|
/**
|
|
173
167
|
*
|
|
174
168
|
* @type {number}
|
|
@@ -180,43 +174,19 @@ export interface AdminCartResource {
|
|
|
180
174
|
* @type {number}
|
|
181
175
|
* @memberof AdminCartResource
|
|
182
176
|
*/
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @type {number}
|
|
187
|
-
* @memberof AdminCartResource
|
|
188
|
-
*/
|
|
189
|
-
total: number;
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @type {number}
|
|
193
|
-
* @memberof AdminCartResource
|
|
194
|
-
*/
|
|
195
|
-
discountAmount: number;
|
|
196
|
-
/**
|
|
197
|
-
*
|
|
198
|
-
* @type {number}
|
|
199
|
-
* @memberof AdminCartResource
|
|
200
|
-
*/
|
|
201
|
-
productDiscountAmount: number;
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @type {number}
|
|
205
|
-
* @memberof AdminCartResource
|
|
206
|
-
*/
|
|
207
|
-
shippingDiscountAmount: number;
|
|
177
|
+
discountPreview: number;
|
|
208
178
|
/**
|
|
209
179
|
*
|
|
210
180
|
* @type {number}
|
|
211
181
|
* @memberof AdminCartResource
|
|
212
182
|
*/
|
|
213
|
-
|
|
183
|
+
shippingEstimate: number;
|
|
214
184
|
/**
|
|
215
185
|
*
|
|
216
186
|
* @type {number}
|
|
217
187
|
* @memberof AdminCartResource
|
|
218
188
|
*/
|
|
219
|
-
|
|
189
|
+
insuranceEstimate: number;
|
|
220
190
|
/**
|
|
221
191
|
*
|
|
222
192
|
* @type {string}
|
|
@@ -36,8 +36,6 @@ function instanceOfAdminCartResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('overrideShipping' in value) || value['overrideShipping'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('insuranceAmount' in value) || value['insuranceAmount'] === undefined)
|
|
40
|
-
return false;
|
|
41
39
|
if (!('overrideInsurance' in value) || value['overrideInsurance'] === undefined)
|
|
42
40
|
return false;
|
|
43
41
|
if (!('useAsBillingAddress' in value) || value['useAsBillingAddress'] === undefined)
|
|
@@ -56,23 +54,13 @@ function instanceOfAdminCartResource(value) {
|
|
|
56
54
|
return false;
|
|
57
55
|
if (!('billingAddress' in value) || value['billingAddress'] === undefined)
|
|
58
56
|
return false;
|
|
59
|
-
if (!('discountPreview' in value) || value['discountPreview'] === undefined)
|
|
60
|
-
return false;
|
|
61
57
|
if (!('subtotal' in value) || value['subtotal'] === undefined)
|
|
62
58
|
return false;
|
|
63
|
-
if (!('
|
|
64
|
-
return false;
|
|
65
|
-
if (!('total' in value) || value['total'] === undefined)
|
|
66
|
-
return false;
|
|
67
|
-
if (!('discountAmount' in value) || value['discountAmount'] === undefined)
|
|
68
|
-
return false;
|
|
69
|
-
if (!('productDiscountAmount' in value) || value['productDiscountAmount'] === undefined)
|
|
70
|
-
return false;
|
|
71
|
-
if (!('shippingDiscountAmount' in value) || value['shippingDiscountAmount'] === undefined)
|
|
59
|
+
if (!('discountPreview' in value) || value['discountPreview'] === undefined)
|
|
72
60
|
return false;
|
|
73
|
-
if (!('
|
|
61
|
+
if (!('shippingEstimate' in value) || value['shippingEstimate'] === undefined)
|
|
74
62
|
return false;
|
|
75
|
-
if (!('
|
|
63
|
+
if (!('insuranceEstimate' in value) || value['insuranceEstimate'] === undefined)
|
|
76
64
|
return false;
|
|
77
65
|
if (!('status' in value) || value['status'] === undefined)
|
|
78
66
|
return false;
|
|
@@ -100,7 +88,7 @@ function AdminCartResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
100
88
|
'shippingType': json['shipping_type'],
|
|
101
89
|
'shippingSubtotal': json['shipping_subtotal'] == null ? undefined : json['shipping_subtotal'],
|
|
102
90
|
'overrideShipping': json['override_shipping'],
|
|
103
|
-
'insuranceAmount': json['insurance_amount'],
|
|
91
|
+
'insuranceAmount': json['insurance_amount'] == null ? undefined : json['insurance_amount'],
|
|
104
92
|
'overrideInsurance': json['override_insurance'],
|
|
105
93
|
'useAsBillingAddress': json['use_as_billing_address'],
|
|
106
94
|
'admin': json['admin'],
|
|
@@ -110,15 +98,10 @@ function AdminCartResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
110
98
|
'coupons': json['coupons'],
|
|
111
99
|
'shippingAddress': (0, AddressResource_1.AddressResourceFromJSON)(json['shipping_address']),
|
|
112
100
|
'billingAddress': (0, AddressResource_1.AddressResourceFromJSON)(json['billing_address']),
|
|
113
|
-
'discountPreview': json['discount_preview'],
|
|
114
101
|
'subtotal': json['subtotal'],
|
|
115
|
-
'
|
|
116
|
-
'
|
|
117
|
-
'
|
|
118
|
-
'productDiscountAmount': json['product_discount_amount'],
|
|
119
|
-
'shippingDiscountAmount': json['shipping_discount_amount'],
|
|
120
|
-
'cartDiscountAmount': json['cart_discount_amount'],
|
|
121
|
-
'finalTotalAmount': json['final_total_amount'],
|
|
102
|
+
'discountPreview': json['discount_preview'],
|
|
103
|
+
'shippingEstimate': json['shipping_estimate'],
|
|
104
|
+
'insuranceEstimate': json['insurance_estimate'],
|
|
122
105
|
'status': json['status'],
|
|
123
106
|
};
|
|
124
107
|
}
|
|
@@ -155,15 +138,10 @@ function AdminCartResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
155
138
|
'coupons': value['coupons'],
|
|
156
139
|
'shipping_address': (0, AddressResource_1.AddressResourceToJSON)(value['shippingAddress']),
|
|
157
140
|
'billing_address': (0, AddressResource_1.AddressResourceToJSON)(value['billingAddress']),
|
|
158
|
-
'discount_preview': value['discountPreview'],
|
|
159
141
|
'subtotal': value['subtotal'],
|
|
160
|
-
'
|
|
161
|
-
'
|
|
162
|
-
'
|
|
163
|
-
'product_discount_amount': value['productDiscountAmount'],
|
|
164
|
-
'shipping_discount_amount': value['shippingDiscountAmount'],
|
|
165
|
-
'cart_discount_amount': value['cartDiscountAmount'],
|
|
166
|
-
'final_total_amount': value['finalTotalAmount'],
|
|
142
|
+
'discount_preview': value['discountPreview'],
|
|
143
|
+
'shipping_estimate': value['shippingEstimate'],
|
|
144
|
+
'insurance_estimate': value['insuranceEstimate'],
|
|
167
145
|
'status': value['status'],
|
|
168
146
|
};
|
|
169
147
|
}
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
export interface AttachCouponCartRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {number}
|
|
21
21
|
* @memberof AttachCouponCartRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
couponId: number;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the AttachCouponCartRequest interface.
|
|
@@ -22,7 +22,7 @@ exports.AttachCouponCartRequestToJSONTyped = AttachCouponCartRequestToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AttachCouponCartRequest interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAttachCouponCartRequest(value) {
|
|
25
|
-
if (!('
|
|
25
|
+
if (!('couponId' in value) || value['couponId'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
return true;
|
|
28
28
|
}
|
|
@@ -34,7 +34,7 @@ function AttachCouponCartRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'
|
|
37
|
+
'couponId': json['coupon_id'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
function AttachCouponCartRequestToJSON(json) {
|
|
@@ -46,6 +46,6 @@ function AttachCouponCartRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
46
46
|
return value;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
|
-
'
|
|
49
|
+
'coupon_id': value['couponId'],
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -133,18 +133,6 @@ export interface FrontendCartResource {
|
|
|
133
133
|
* @memberof FrontendCartResource
|
|
134
134
|
*/
|
|
135
135
|
discountPreview: number;
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @type {number}
|
|
139
|
-
* @memberof FrontendCartResource
|
|
140
|
-
*/
|
|
141
|
-
totalSubtotalDiscount: number;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @type {number}
|
|
145
|
-
* @memberof FrontendCartResource
|
|
146
|
-
*/
|
|
147
|
-
totalShippingDiscount: number;
|
|
148
136
|
/**
|
|
149
137
|
*
|
|
150
138
|
* @type {number}
|