@stigg/typescript 0.1.0-alpha.1 → 0.1.0-alpha.10
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/CHANGELOG.md +148 -0
- package/README.md +40 -0
- package/client.d.mts +6 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -8
- package/client.d.ts.map +1 -1
- package/client.js +23 -21
- package/client.js.map +1 -1
- package/client.mjs +24 -22
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +11 -5
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +11 -5
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +9 -9
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +9 -9
- package/core/pagination.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/v1/coupons.d.mts +154 -157
- package/resources/v1/coupons.d.mts.map +1 -1
- package/resources/v1/coupons.d.ts +154 -157
- package/resources/v1/coupons.d.ts.map +1 -1
- package/resources/v1/coupons.js +21 -4
- package/resources/v1/coupons.js.map +1 -1
- package/resources/v1/coupons.mjs +21 -4
- package/resources/v1/coupons.mjs.map +1 -1
- package/resources/v1/customers/customers.d.mts +247 -118
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +247 -118
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +37 -16
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +37 -16
- package/resources/v1/customers/customers.mjs.map +1 -1
- package/resources/v1/customers/index.d.mts +2 -2
- package/resources/v1/customers/index.d.mts.map +1 -1
- package/resources/v1/customers/index.d.ts +2 -2
- package/resources/v1/customers/index.d.ts.map +1 -1
- package/resources/v1/customers/index.js +3 -3
- package/resources/v1/customers/index.js.map +1 -1
- package/resources/v1/customers/index.mjs +1 -1
- package/resources/v1/customers/index.mjs.map +1 -1
- package/resources/v1/customers/payment-method.d.mts +7 -2
- package/resources/v1/customers/payment-method.d.mts.map +1 -1
- package/resources/v1/customers/payment-method.d.ts +7 -2
- package/resources/v1/customers/payment-method.d.ts.map +1 -1
- package/resources/v1/customers/payment-method.js +4 -2
- package/resources/v1/customers/payment-method.js.map +1 -1
- package/resources/v1/customers/payment-method.mjs +4 -2
- package/resources/v1/customers/payment-method.mjs.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.mts +498 -0
- package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -0
- package/resources/v1/customers/promotional-entitlements.d.ts +498 -0
- package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -0
- package/resources/v1/customers/promotional-entitlements.js +32 -0
- package/resources/v1/customers/promotional-entitlements.js.map +1 -0
- package/resources/v1/customers/promotional-entitlements.mjs +28 -0
- package/resources/v1/customers/promotional-entitlements.mjs.map +1 -0
- package/resources/v1/events/addons/addons.d.mts +605 -0
- package/resources/v1/events/addons/addons.d.mts.map +1 -0
- package/resources/v1/events/addons/addons.d.ts +605 -0
- package/resources/v1/events/addons/addons.d.ts.map +1 -0
- package/resources/v1/events/addons/addons.js +60 -0
- package/resources/v1/events/addons/addons.js.map +1 -0
- package/resources/v1/events/addons/addons.mjs +55 -0
- package/resources/v1/events/addons/addons.mjs.map +1 -0
- package/resources/v1/events/addons/draft.d.mts +121 -0
- package/resources/v1/events/addons/draft.d.mts.map +1 -0
- package/resources/v1/events/addons/draft.d.ts +121 -0
- package/resources/v1/events/addons/draft.d.ts.map +1 -0
- package/resources/v1/events/addons/draft.js +22 -0
- package/resources/v1/events/addons/draft.js.map +1 -0
- package/resources/v1/events/addons/draft.mjs +18 -0
- package/resources/v1/events/addons/draft.mjs.map +1 -0
- package/resources/v1/events/addons/index.d.mts +3 -0
- package/resources/v1/events/addons/index.d.mts.map +1 -0
- package/resources/v1/events/addons/index.d.ts +3 -0
- package/resources/v1/events/addons/index.d.ts.map +1 -0
- package/resources/v1/events/addons/index.js +9 -0
- package/resources/v1/events/addons/index.js.map +1 -0
- package/resources/v1/events/addons/index.mjs +4 -0
- package/resources/v1/events/addons/index.mjs.map +1 -0
- package/resources/v1/events/addons.d.mts +2 -0
- package/resources/v1/events/addons.d.mts.map +1 -0
- package/resources/v1/events/addons.d.ts +2 -0
- package/resources/v1/events/addons.d.ts.map +1 -0
- package/resources/v1/events/addons.js +6 -0
- package/resources/v1/events/addons.js.map +1 -0
- package/resources/v1/events/addons.mjs +3 -0
- package/resources/v1/events/addons.mjs.map +1 -0
- package/resources/v1/events/events.d.mts +75 -0
- package/resources/v1/events/events.d.mts.map +1 -0
- package/resources/v1/events/events.d.ts +75 -0
- package/resources/v1/events/events.d.ts.map +1 -0
- package/resources/v1/events/events.js +32 -0
- package/resources/v1/events/events.js.map +1 -0
- package/resources/v1/events/events.mjs +27 -0
- package/resources/v1/events/events.mjs.map +1 -0
- package/resources/v1/events/features.d.mts +856 -0
- package/resources/v1/events/features.d.mts.map +1 -0
- package/resources/v1/events/features.d.ts +856 -0
- package/resources/v1/events/features.d.ts.map +1 -0
- package/resources/v1/events/features.js +51 -0
- package/resources/v1/events/features.js.map +1 -0
- package/resources/v1/events/features.mjs +47 -0
- package/resources/v1/events/features.mjs.map +1 -0
- package/resources/v1/events/index.d.mts +5 -0
- package/resources/v1/events/index.d.mts.map +1 -0
- package/resources/v1/events/index.d.ts +5 -0
- package/resources/v1/events/index.d.ts.map +1 -0
- package/resources/v1/events/index.js +13 -0
- package/resources/v1/events/index.js.map +1 -0
- package/resources/v1/events/index.mjs +6 -0
- package/resources/v1/events/index.mjs.map +1 -0
- package/resources/v1/events/plans.d.mts +348 -0
- package/resources/v1/events/plans.d.mts.map +1 -0
- package/resources/v1/events/plans.d.ts +348 -0
- package/resources/v1/events/plans.d.ts.map +1 -0
- package/resources/v1/events/plans.js +30 -0
- package/resources/v1/events/plans.js.map +1 -0
- package/resources/v1/events/plans.mjs +26 -0
- package/resources/v1/events/plans.mjs.map +1 -0
- package/resources/v1/events.d.mts +2 -0
- package/resources/v1/events.d.mts.map +1 -0
- package/resources/v1/events.d.ts +2 -0
- package/resources/v1/events.d.ts.map +1 -0
- package/resources/v1/events.js +6 -0
- package/resources/v1/events.js.map +1 -0
- package/resources/v1/events.mjs +3 -0
- package/resources/v1/events.mjs.map +1 -0
- package/resources/v1/index.d.mts +7 -4
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +7 -4
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +9 -3
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +4 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/products.d.mts +676 -0
- package/resources/v1/products.d.mts.map +1 -0
- package/resources/v1/products.d.ts +676 -0
- package/resources/v1/products.d.ts.map +1 -0
- package/resources/v1/products.js +52 -0
- package/resources/v1/products.js.map +1 -0
- package/resources/v1/products.mjs +48 -0
- package/resources/v1/products.mjs.map +1 -0
- package/resources/v1/subscriptions/future-update.d.mts +12 -19
- package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
- package/resources/v1/subscriptions/future-update.d.ts +12 -19
- package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
- package/resources/v1/subscriptions/future-update.js +3 -2
- package/resources/v1/subscriptions/future-update.js.map +1 -1
- package/resources/v1/subscriptions/future-update.mjs +3 -2
- package/resources/v1/subscriptions/future-update.mjs.map +1 -1
- package/resources/v1/subscriptions/index.d.mts +4 -2
- package/resources/v1/subscriptions/index.d.mts.map +1 -1
- package/resources/v1/subscriptions/index.d.ts +4 -2
- package/resources/v1/subscriptions/index.d.ts.map +1 -1
- package/resources/v1/subscriptions/index.js +5 -1
- package/resources/v1/subscriptions/index.js.map +1 -1
- package/resources/v1/subscriptions/index.mjs +3 -1
- package/resources/v1/subscriptions/index.mjs.map +1 -1
- package/resources/v1/subscriptions/invoice.d.mts +34 -0
- package/resources/v1/subscriptions/invoice.d.mts.map +1 -0
- package/resources/v1/subscriptions/invoice.d.ts +34 -0
- package/resources/v1/subscriptions/invoice.d.ts.map +1 -0
- package/resources/v1/subscriptions/invoice.js +17 -0
- package/resources/v1/subscriptions/invoice.js.map +1 -0
- package/resources/v1/subscriptions/invoice.mjs +13 -0
- package/resources/v1/subscriptions/invoice.mjs.map +1 -0
- package/resources/v1/subscriptions/subscriptions.d.mts +1545 -518
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +1545 -518
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js +52 -12
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs +53 -13
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/subscriptions/usage.d.mts +98 -0
- package/resources/v1/subscriptions/usage.d.mts.map +1 -0
- package/resources/v1/subscriptions/usage.d.ts +98 -0
- package/resources/v1/subscriptions/usage.d.ts.map +1 -0
- package/resources/v1/subscriptions/usage.js +24 -0
- package/resources/v1/subscriptions/usage.js.map +1 -0
- package/resources/v1/subscriptions/usage.mjs +20 -0
- package/resources/v1/subscriptions/usage.mjs.map +1 -0
- package/resources/v1/usage.d.mts +230 -0
- package/resources/v1/usage.d.mts.map +1 -0
- package/resources/v1/usage.d.ts +230 -0
- package/resources/v1/usage.d.ts.map +1 -0
- package/resources/v1/usage.js +24 -0
- package/resources/v1/usage.js.map +1 -0
- package/resources/v1/usage.mjs +20 -0
- package/resources/v1/usage.mjs.map +1 -0
- package/resources/v1/v1.d.mts +18 -149
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +18 -149
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +12 -12
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +12 -12
- package/resources/v1/v1.mjs.map +1 -1
- package/src/client.ts +33 -40
- package/src/core/pagination.ts +24 -18
- package/src/internal/parse.ts +6 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/resources/index.ts +1 -7
- package/src/resources/v1/coupons.ts +311 -436
- package/src/resources/v1/customers/customers.ts +334 -153
- package/src/resources/v1/customers/index.ts +17 -2
- package/src/resources/v1/customers/payment-method.ts +7 -2
- package/src/resources/v1/customers/promotional-entitlements.ts +669 -0
- package/src/resources/v1/events/addons/addons.ts +761 -0
- package/src/resources/v1/events/addons/draft.ts +151 -0
- package/src/resources/v1/events/addons/index.ts +17 -0
- package/src/resources/v1/events/addons.ts +3 -0
- package/src/resources/v1/events/events.ts +160 -0
- package/src/resources/v1/events/features.ts +1066 -0
- package/src/resources/v1/events/index.ts +39 -0
- package/src/resources/v1/events/plans.ts +429 -0
- package/src/resources/v1/events.ts +3 -0
- package/src/resources/v1/index.ts +40 -15
- package/src/resources/v1/products.ts +834 -0
- package/src/resources/v1/subscriptions/future-update.ts +12 -27
- package/src/resources/v1/subscriptions/index.ts +16 -11
- package/src/resources/v1/subscriptions/invoice.ts +42 -0
- package/src/resources/v1/subscriptions/subscriptions.ts +3316 -832
- package/src/resources/v1/subscriptions/usage.ts +126 -0
- package/src/resources/v1/usage.ts +284 -0
- package/src/resources/v1/v1.ts +96 -197
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/v1/customers/usage.d.mts +0 -98
- package/resources/v1/customers/usage.d.mts.map +0 -1
- package/resources/v1/customers/usage.d.ts +0 -98
- package/resources/v1/customers/usage.d.ts.map +0 -1
- package/resources/v1/customers/usage.js +0 -20
- package/resources/v1/customers/usage.js.map +0 -1
- package/resources/v1/customers/usage.mjs +0 -16
- package/resources/v1/customers/usage.mjs.map +0 -1
- package/src/resources/v1/customers/usage.ts +0 -132
|
@@ -1,24 +1,44 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from "../../core/pagination.mjs";
|
|
3
4
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
5
|
export declare class Coupons extends APIResource {
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
+
* Creates a new discount coupon with percentage or fixed amount off, applicable to
|
|
8
|
+
* customer subscriptions.
|
|
7
9
|
*/
|
|
8
|
-
create(body: CouponCreateParams, options?: RequestOptions): APIPromise<
|
|
10
|
+
create(body: CouponCreateParams, options?: RequestOptions): APIPromise<Coupon>;
|
|
9
11
|
/**
|
|
10
|
-
*
|
|
12
|
+
* Retrieves a coupon by its unique identifier.
|
|
11
13
|
*/
|
|
12
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<
|
|
14
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<Coupon>;
|
|
13
15
|
/**
|
|
14
|
-
*
|
|
16
|
+
* Retrieves a paginated list of coupons in the environment.
|
|
15
17
|
*/
|
|
16
|
-
list(query?: CouponListParams | null | undefined, options?: RequestOptions):
|
|
18
|
+
list(query?: CouponListParams | null | undefined, options?: RequestOptions): PagePromise<CouponListResponsesMyCursorIDPage, CouponListResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Archives a coupon, preventing it from being applied to new subscriptions.
|
|
21
|
+
*/
|
|
22
|
+
archiveCoupon(id: string, options?: RequestOptions): APIPromise<Coupon>;
|
|
23
|
+
/**
|
|
24
|
+
* Updates an existing coupon's properties such as name, description, and metadata.
|
|
25
|
+
*/
|
|
26
|
+
updateCoupon(id: string, body: CouponUpdateCouponParams, options?: RequestOptions): APIPromise<Coupon>;
|
|
17
27
|
}
|
|
18
|
-
export
|
|
19
|
-
|
|
28
|
+
export type CouponListResponsesMyCursorIDPage = MyCursorIDPage<CouponListResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Response object
|
|
31
|
+
*/
|
|
32
|
+
export interface Coupon {
|
|
33
|
+
/**
|
|
34
|
+
* Discount instrument with percentage or fixed amount
|
|
35
|
+
*/
|
|
36
|
+
data: Coupon.Data;
|
|
20
37
|
}
|
|
21
|
-
export declare namespace
|
|
38
|
+
export declare namespace Coupon {
|
|
39
|
+
/**
|
|
40
|
+
* Discount instrument with percentage or fixed amount
|
|
41
|
+
*/
|
|
22
42
|
interface Data {
|
|
23
43
|
/**
|
|
24
44
|
* The unique identifier for the entity
|
|
@@ -74,77 +94,9 @@ export declare namespace CouponCreateResponse {
|
|
|
74
94
|
updatedAt: string;
|
|
75
95
|
}
|
|
76
96
|
namespace Data {
|
|
77
|
-
interface AmountsOff {
|
|
78
|
-
/**
|
|
79
|
-
* The price amount
|
|
80
|
-
*/
|
|
81
|
-
amount: number;
|
|
82
|
-
/**
|
|
83
|
-
* The price currency
|
|
84
|
-
*/
|
|
85
|
-
currency: 'usd' | 'aed' | 'all' | 'amd' | 'ang' | 'aud' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bif' | 'bmd' | 'bnd' | 'bsd' | 'bwp' | 'byn' | 'bzd' | 'brl' | 'cad' | 'cdf' | 'chf' | 'cny' | 'czk' | 'dkk' | 'dop' | 'dzd' | 'egp' | 'etb' | 'eur' | 'fjd' | 'gbp' | 'gel' | 'gip' | 'gmd' | 'gyd' | 'hkd' | 'hrk' | 'htg' | 'idr' | 'ils' | 'inr' | 'isk' | 'jmd' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'krw' | 'kyd' | 'kzt' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mmk' | 'mnt' | 'mop' | 'mro' | 'mvr' | 'mwk' | 'mxn' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nok' | 'npr' | 'nzd' | 'pgk' | 'php' | 'pkr' | 'pln' | 'qar' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sek' | 'sgd' | 'sle' | 'sll' | 'sos' | 'szl' | 'thb' | 'tjs' | 'top' | 'try' | 'ttd' | 'tzs' | 'uah' | 'uzs' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'yer' | 'zar' | 'zmw' | 'clp' | 'djf' | 'gnf' | 'ugx' | 'pyg' | 'xof' | 'xpf' | null;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
export interface CouponRetrieveResponse {
|
|
90
|
-
data: CouponRetrieveResponse.Data;
|
|
91
|
-
}
|
|
92
|
-
export declare namespace CouponRetrieveResponse {
|
|
93
|
-
interface Data {
|
|
94
|
-
/**
|
|
95
|
-
* The unique identifier for the entity
|
|
96
|
-
*/
|
|
97
|
-
id: string;
|
|
98
|
-
/**
|
|
99
|
-
* Fixed amount discounts in different currencies
|
|
100
|
-
*/
|
|
101
|
-
amountsOff: Array<Data.AmountsOff> | null;
|
|
102
|
-
/**
|
|
103
|
-
* The unique identifier for the entity in the billing provider
|
|
104
|
-
*/
|
|
105
|
-
billingId: string | null;
|
|
106
|
-
/**
|
|
107
|
-
* The URL to the entity in the billing provider
|
|
108
|
-
*/
|
|
109
|
-
billingLinkUrl: string | null;
|
|
110
|
-
/**
|
|
111
|
-
* Timestamp of when the record was created
|
|
112
|
-
*/
|
|
113
|
-
createdAt: string;
|
|
114
|
-
/**
|
|
115
|
-
* Description of the coupon
|
|
116
|
-
*/
|
|
117
|
-
description: string | null;
|
|
118
|
-
/**
|
|
119
|
-
* Duration of the coupon validity in months
|
|
120
|
-
*/
|
|
121
|
-
durationInMonths: number | null;
|
|
122
|
-
/**
|
|
123
|
-
* Name of the coupon
|
|
124
|
-
*/
|
|
125
|
-
name: string;
|
|
126
97
|
/**
|
|
127
|
-
*
|
|
128
|
-
*/
|
|
129
|
-
percentOff: number | null;
|
|
130
|
-
/**
|
|
131
|
-
* The source of the coupon
|
|
132
|
-
*/
|
|
133
|
-
source: 'STIGG' | 'STIGG_ADHOC' | 'STRIPE' | null;
|
|
134
|
-
/**
|
|
135
|
-
* Current status of the coupon
|
|
98
|
+
* Monetary amount with currency
|
|
136
99
|
*/
|
|
137
|
-
status: 'ACTIVE' | 'ARCHIVED';
|
|
138
|
-
/**
|
|
139
|
-
* Type of the coupon (percentage or fixed amount)
|
|
140
|
-
*/
|
|
141
|
-
type: 'FIXED' | 'PERCENTAGE';
|
|
142
|
-
/**
|
|
143
|
-
* Timestamp of when the record was last updated
|
|
144
|
-
*/
|
|
145
|
-
updatedAt: string;
|
|
146
|
-
}
|
|
147
|
-
namespace Data {
|
|
148
100
|
interface AmountsOff {
|
|
149
101
|
/**
|
|
150
102
|
* The price amount
|
|
@@ -153,83 +105,80 @@ export declare namespace CouponRetrieveResponse {
|
|
|
153
105
|
/**
|
|
154
106
|
* The price currency
|
|
155
107
|
*/
|
|
156
|
-
currency: 'usd' | 'aed' | 'all' | 'amd' | 'ang' | 'aud' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bif' | 'bmd' | 'bnd' | 'bsd' | 'bwp' | 'byn' | 'bzd' | 'brl' | 'cad' | 'cdf' | 'chf' | 'cny' | 'czk' | 'dkk' | 'dop' | 'dzd' | 'egp' | 'etb' | 'eur' | 'fjd' | 'gbp' | 'gel' | 'gip' | 'gmd' | 'gyd' | 'hkd' | 'hrk' | 'htg' | 'idr' | 'ils' | 'inr' | 'isk' | 'jmd' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'krw' | 'kyd' | 'kzt' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mmk' | 'mnt' | 'mop' | 'mro' | 'mvr' | 'mwk' | 'mxn' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nok' | 'npr' | 'nzd' | 'pgk' | 'php' | 'pkr' | 'pln' | 'qar' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sek' | 'sgd' | 'sle' | 'sll' | 'sos' | 'szl' | 'thb' | 'tjs' | 'top' | 'try' | 'ttd' | 'tzs' | 'uah' | 'uzs' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'yer' | 'zar' | 'zmw' | 'clp' | 'djf' | 'gnf' | 'ugx' | 'pyg' | 'xof' | 'xpf'
|
|
108
|
+
currency: 'usd' | 'aed' | 'all' | 'amd' | 'ang' | 'aud' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bif' | 'bmd' | 'bnd' | 'bsd' | 'bwp' | 'byn' | 'bzd' | 'brl' | 'cad' | 'cdf' | 'chf' | 'cny' | 'czk' | 'dkk' | 'dop' | 'dzd' | 'egp' | 'etb' | 'eur' | 'fjd' | 'gbp' | 'gel' | 'gip' | 'gmd' | 'gyd' | 'hkd' | 'hrk' | 'htg' | 'idr' | 'ils' | 'inr' | 'isk' | 'jmd' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'krw' | 'kyd' | 'kzt' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mmk' | 'mnt' | 'mop' | 'mro' | 'mvr' | 'mwk' | 'mxn' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nok' | 'npr' | 'nzd' | 'pgk' | 'php' | 'pkr' | 'pln' | 'qar' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sek' | 'sgd' | 'sle' | 'sll' | 'sos' | 'szl' | 'thb' | 'tjs' | 'top' | 'try' | 'ttd' | 'tzs' | 'uah' | 'uzs' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'yer' | 'zar' | 'zmw' | 'clp' | 'djf' | 'gnf' | 'ugx' | 'pyg' | 'xof' | 'xpf';
|
|
157
109
|
}
|
|
158
110
|
}
|
|
159
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Discount instrument with percentage or fixed amount
|
|
114
|
+
*/
|
|
160
115
|
export interface CouponListResponse {
|
|
161
|
-
|
|
116
|
+
/**
|
|
117
|
+
* The unique identifier for the entity
|
|
118
|
+
*/
|
|
119
|
+
id: string;
|
|
120
|
+
/**
|
|
121
|
+
* Fixed amount discounts in different currencies
|
|
122
|
+
*/
|
|
123
|
+
amountsOff: Array<CouponListResponse.AmountsOff> | null;
|
|
124
|
+
/**
|
|
125
|
+
* The unique identifier for the entity in the billing provider
|
|
126
|
+
*/
|
|
127
|
+
billingId: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* The URL to the entity in the billing provider
|
|
130
|
+
*/
|
|
131
|
+
billingLinkUrl: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Timestamp of when the record was created
|
|
134
|
+
*/
|
|
135
|
+
createdAt: string;
|
|
136
|
+
/**
|
|
137
|
+
* Description of the coupon
|
|
138
|
+
*/
|
|
139
|
+
description: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* Duration of the coupon validity in months
|
|
142
|
+
*/
|
|
143
|
+
durationInMonths: number | null;
|
|
144
|
+
/**
|
|
145
|
+
* Name of the coupon
|
|
146
|
+
*/
|
|
147
|
+
name: string;
|
|
148
|
+
/**
|
|
149
|
+
* Percentage discount off the original price
|
|
150
|
+
*/
|
|
151
|
+
percentOff: number | null;
|
|
152
|
+
/**
|
|
153
|
+
* The source of the coupon
|
|
154
|
+
*/
|
|
155
|
+
source: 'STIGG' | 'STIGG_ADHOC' | 'STRIPE' | null;
|
|
156
|
+
/**
|
|
157
|
+
* Current status of the coupon
|
|
158
|
+
*/
|
|
159
|
+
status: 'ACTIVE' | 'ARCHIVED';
|
|
160
|
+
/**
|
|
161
|
+
* Type of the coupon (percentage or fixed amount)
|
|
162
|
+
*/
|
|
163
|
+
type: 'FIXED' | 'PERCENTAGE';
|
|
164
|
+
/**
|
|
165
|
+
* Timestamp of when the record was last updated
|
|
166
|
+
*/
|
|
167
|
+
updatedAt: string;
|
|
162
168
|
}
|
|
163
169
|
export declare namespace CouponListResponse {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
id: string;
|
|
169
|
-
/**
|
|
170
|
-
* Fixed amount discounts in different currencies
|
|
171
|
-
*/
|
|
172
|
-
amountsOff: Array<Data.AmountsOff> | null;
|
|
173
|
-
/**
|
|
174
|
-
* The unique identifier for the entity in the billing provider
|
|
175
|
-
*/
|
|
176
|
-
billingId: string | null;
|
|
177
|
-
/**
|
|
178
|
-
* The URL to the entity in the billing provider
|
|
179
|
-
*/
|
|
180
|
-
billingLinkUrl: string | null;
|
|
181
|
-
/**
|
|
182
|
-
* Timestamp of when the record was created
|
|
183
|
-
*/
|
|
184
|
-
createdAt: string;
|
|
185
|
-
/**
|
|
186
|
-
* Cursor ID for query pagination
|
|
187
|
-
*/
|
|
188
|
-
cursorId: string;
|
|
189
|
-
/**
|
|
190
|
-
* Description of the coupon
|
|
191
|
-
*/
|
|
192
|
-
description: string | null;
|
|
193
|
-
/**
|
|
194
|
-
* Duration of the coupon validity in months
|
|
195
|
-
*/
|
|
196
|
-
durationInMonths: number | null;
|
|
197
|
-
/**
|
|
198
|
-
* Name of the coupon
|
|
199
|
-
*/
|
|
200
|
-
name: string;
|
|
201
|
-
/**
|
|
202
|
-
* Percentage discount off the original price
|
|
203
|
-
*/
|
|
204
|
-
percentOff: number | null;
|
|
205
|
-
/**
|
|
206
|
-
* The source of the coupon
|
|
207
|
-
*/
|
|
208
|
-
source: 'STIGG' | 'STIGG_ADHOC' | 'STRIPE' | null;
|
|
209
|
-
/**
|
|
210
|
-
* Current status of the coupon
|
|
211
|
-
*/
|
|
212
|
-
status: 'ACTIVE' | 'ARCHIVED';
|
|
170
|
+
/**
|
|
171
|
+
* Monetary amount with currency
|
|
172
|
+
*/
|
|
173
|
+
interface AmountsOff {
|
|
213
174
|
/**
|
|
214
|
-
*
|
|
175
|
+
* The price amount
|
|
215
176
|
*/
|
|
216
|
-
|
|
177
|
+
amount: number;
|
|
217
178
|
/**
|
|
218
|
-
*
|
|
179
|
+
* The price currency
|
|
219
180
|
*/
|
|
220
|
-
|
|
221
|
-
}
|
|
222
|
-
namespace Data {
|
|
223
|
-
interface AmountsOff {
|
|
224
|
-
/**
|
|
225
|
-
* The price amount
|
|
226
|
-
*/
|
|
227
|
-
amount: number;
|
|
228
|
-
/**
|
|
229
|
-
* The price currency
|
|
230
|
-
*/
|
|
231
|
-
currency: 'usd' | 'aed' | 'all' | 'amd' | 'ang' | 'aud' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bif' | 'bmd' | 'bnd' | 'bsd' | 'bwp' | 'byn' | 'bzd' | 'brl' | 'cad' | 'cdf' | 'chf' | 'cny' | 'czk' | 'dkk' | 'dop' | 'dzd' | 'egp' | 'etb' | 'eur' | 'fjd' | 'gbp' | 'gel' | 'gip' | 'gmd' | 'gyd' | 'hkd' | 'hrk' | 'htg' | 'idr' | 'ils' | 'inr' | 'isk' | 'jmd' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'krw' | 'kyd' | 'kzt' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mmk' | 'mnt' | 'mop' | 'mro' | 'mvr' | 'mwk' | 'mxn' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nok' | 'npr' | 'nzd' | 'pgk' | 'php' | 'pkr' | 'pln' | 'qar' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sek' | 'sgd' | 'sle' | 'sll' | 'sos' | 'szl' | 'thb' | 'tjs' | 'top' | 'try' | 'ttd' | 'tzs' | 'uah' | 'uzs' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'yer' | 'zar' | 'zmw' | 'clp' | 'djf' | 'gnf' | 'ugx' | 'pyg' | 'xof' | 'xpf' | null;
|
|
232
|
-
}
|
|
181
|
+
currency: 'usd' | 'aed' | 'all' | 'amd' | 'ang' | 'aud' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bif' | 'bmd' | 'bnd' | 'bsd' | 'bwp' | 'byn' | 'bzd' | 'brl' | 'cad' | 'cdf' | 'chf' | 'cny' | 'czk' | 'dkk' | 'dop' | 'dzd' | 'egp' | 'etb' | 'eur' | 'fjd' | 'gbp' | 'gel' | 'gip' | 'gmd' | 'gyd' | 'hkd' | 'hrk' | 'htg' | 'idr' | 'ils' | 'inr' | 'isk' | 'jmd' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'krw' | 'kyd' | 'kzt' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mmk' | 'mnt' | 'mop' | 'mro' | 'mvr' | 'mwk' | 'mxn' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nok' | 'npr' | 'nzd' | 'pgk' | 'php' | 'pkr' | 'pln' | 'qar' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sek' | 'sgd' | 'sle' | 'sll' | 'sos' | 'szl' | 'thb' | 'tjs' | 'top' | 'try' | 'ttd' | 'tzs' | 'uah' | 'uzs' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'yer' | 'zar' | 'zmw' | 'clp' | 'djf' | 'gnf' | 'ugx' | 'pyg' | 'xof' | 'xpf';
|
|
233
182
|
}
|
|
234
183
|
}
|
|
235
184
|
export interface CouponCreateParams {
|
|
@@ -249,6 +198,12 @@ export interface CouponCreateParams {
|
|
|
249
198
|
* Duration of the coupon validity in months
|
|
250
199
|
*/
|
|
251
200
|
durationInMonths: number | null;
|
|
201
|
+
/**
|
|
202
|
+
* Metadata associated with the entity
|
|
203
|
+
*/
|
|
204
|
+
metadata: {
|
|
205
|
+
[key: string]: string;
|
|
206
|
+
} | null;
|
|
252
207
|
/**
|
|
253
208
|
* Name of the coupon
|
|
254
209
|
*/
|
|
@@ -257,12 +212,11 @@ export interface CouponCreateParams {
|
|
|
257
212
|
* Percentage discount off the original price
|
|
258
213
|
*/
|
|
259
214
|
percentOff: number | null;
|
|
260
|
-
/**
|
|
261
|
-
* Metadata associated with the entity
|
|
262
|
-
*/
|
|
263
|
-
additionalMetaData?: unknown;
|
|
264
215
|
}
|
|
265
216
|
export declare namespace CouponCreateParams {
|
|
217
|
+
/**
|
|
218
|
+
* Monetary amount with currency
|
|
219
|
+
*/
|
|
266
220
|
interface AmountsOff {
|
|
267
221
|
/**
|
|
268
222
|
* The price amount
|
|
@@ -274,21 +228,64 @@ export declare namespace CouponCreateParams {
|
|
|
274
228
|
currency: 'usd' | 'aed' | 'all' | 'amd' | 'ang' | 'aud' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bif' | 'bmd' | 'bnd' | 'bsd' | 'bwp' | 'byn' | 'bzd' | 'brl' | 'cad' | 'cdf' | 'chf' | 'cny' | 'czk' | 'dkk' | 'dop' | 'dzd' | 'egp' | 'etb' | 'eur' | 'fjd' | 'gbp' | 'gel' | 'gip' | 'gmd' | 'gyd' | 'hkd' | 'hrk' | 'htg' | 'idr' | 'ils' | 'inr' | 'isk' | 'jmd' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'krw' | 'kyd' | 'kzt' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mmk' | 'mnt' | 'mop' | 'mro' | 'mvr' | 'mwk' | 'mxn' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nok' | 'npr' | 'nzd' | 'pgk' | 'php' | 'pkr' | 'pln' | 'qar' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sek' | 'sgd' | 'sle' | 'sll' | 'sos' | 'szl' | 'thb' | 'tjs' | 'top' | 'try' | 'ttd' | 'tzs' | 'uah' | 'uzs' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'yer' | 'zar' | 'zmw' | 'clp' | 'djf' | 'gnf' | 'ugx' | 'pyg' | 'xof' | 'xpf';
|
|
275
229
|
}
|
|
276
230
|
}
|
|
277
|
-
export interface CouponListParams {
|
|
231
|
+
export interface CouponListParams extends MyCursorIDPageParams {
|
|
232
|
+
/**
|
|
233
|
+
* Filter by entity ID
|
|
234
|
+
*/
|
|
235
|
+
id?: string;
|
|
236
|
+
/**
|
|
237
|
+
* Filter by creation date using range operators: gt, gte, lt, lte
|
|
238
|
+
*/
|
|
239
|
+
createdAt?: CouponListParams.CreatedAt;
|
|
240
|
+
/**
|
|
241
|
+
* Filter by coupon status. Supports comma-separated values for multiple statuses
|
|
242
|
+
*/
|
|
243
|
+
status?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Filter by coupon type (FIXED or PERCENTAGE)
|
|
246
|
+
*/
|
|
247
|
+
type?: 'FIXED' | 'PERCENTAGE';
|
|
248
|
+
}
|
|
249
|
+
export declare namespace CouponListParams {
|
|
250
|
+
/**
|
|
251
|
+
* Filter by creation date using range operators: gt, gte, lt, lte
|
|
252
|
+
*/
|
|
253
|
+
interface CreatedAt {
|
|
254
|
+
/**
|
|
255
|
+
* Greater than the specified createdAt value
|
|
256
|
+
*/
|
|
257
|
+
gt?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Greater than or equal to the specified createdAt value
|
|
260
|
+
*/
|
|
261
|
+
gte?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Less than the specified createdAt value
|
|
264
|
+
*/
|
|
265
|
+
lt?: string;
|
|
266
|
+
/**
|
|
267
|
+
* Less than or equal to the specified createdAt value
|
|
268
|
+
*/
|
|
269
|
+
lte?: string;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
export interface CouponUpdateCouponParams {
|
|
278
273
|
/**
|
|
279
|
-
*
|
|
274
|
+
* Description of the coupon
|
|
280
275
|
*/
|
|
281
|
-
|
|
276
|
+
description?: string | null;
|
|
282
277
|
/**
|
|
283
|
-
*
|
|
278
|
+
* Metadata associated with the entity
|
|
284
279
|
*/
|
|
285
|
-
|
|
280
|
+
metadata?: {
|
|
281
|
+
[key: string]: string;
|
|
282
|
+
} | null;
|
|
286
283
|
/**
|
|
287
|
-
*
|
|
284
|
+
* Name of the coupon
|
|
288
285
|
*/
|
|
289
|
-
|
|
286
|
+
name?: string;
|
|
290
287
|
}
|
|
291
288
|
export declare namespace Coupons {
|
|
292
|
-
export { type
|
|
289
|
+
export { type Coupon as Coupon, type CouponListResponse as CouponListResponse, type CouponListResponsesMyCursorIDPage as CouponListResponsesMyCursorIDPage, type CouponCreateParams as CouponCreateParams, type CouponListParams as CouponListParams, type CouponUpdateCouponParams as CouponUpdateCouponParams, };
|
|
293
290
|
}
|
|
294
291
|
//# sourceMappingURL=coupons.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coupons.d.mts","sourceRoot":"","sources":["../../src/resources/v1/coupons.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"coupons.d.mts","sourceRoot":"","sources":["../../src/resources/v1/coupons.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,C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AAkB,CAAC;IAClC;;OAEG;IACH,UAAiB,UAAU;QACzB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,QAAQ,EACJ,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,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