chargebee 3.23.1 → 3.25.0-beta.1
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 +97 -0
- package/README.md +39 -0
- package/cjs/RequestWrapper.js +27 -0
- package/cjs/chargebee.cjs.js +3 -0
- package/cjs/chargebee.cjs.worker.js +2 -0
- package/cjs/chargebeeZodValidationError.js +18 -0
- package/cjs/createChargebee.js +5 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +80 -2
- package/cjs/schema/addon.schema.js +153 -0
- package/cjs/schema/address.schema.js +35 -0
- package/cjs/schema/alert.schema.js +38 -0
- package/cjs/schema/attached_item.schema.js +58 -0
- package/cjs/schema/business_entity.schema.js +46 -0
- package/cjs/schema/card.schema.js +165 -0
- package/cjs/schema/comment.schema.js +69 -0
- package/cjs/schema/coupon.schema.js +209 -0
- package/cjs/schema/coupon_code.schema.js +14 -0
- package/cjs/schema/coupon_set.schema.js +28 -0
- package/cjs/schema/credit_note.schema.js +288 -0
- package/cjs/schema/currency.schema.js +32 -0
- package/cjs/schema/customer.schema.js +986 -0
- package/cjs/schema/customer_entitlement.schema.js +14 -0
- package/cjs/schema/differential_price.schema.js +68 -0
- package/cjs/schema/entitlement.schema.js +27 -0
- package/cjs/schema/entitlement_override.schema.js +33 -0
- package/cjs/schema/estimate.schema.js +1525 -0
- package/cjs/schema/export.schema.js +1545 -0
- package/cjs/schema/feature.schema.js +37 -0
- package/cjs/schema/gift.schema.js +277 -0
- package/cjs/schema/hosted_page.schema.js +1649 -0
- package/cjs/schema/in_app_subscription.schema.js +68 -0
- package/cjs/schema/index.js +80 -0
- package/cjs/schema/invoice.schema.js +1467 -0
- package/cjs/schema/item.schema.js +91 -0
- package/cjs/schema/item_entitlement.schema.js +45 -0
- package/cjs/schema/item_family.schema.js +21 -0
- package/cjs/schema/item_price.schema.js +190 -0
- package/cjs/schema/non_subscription.schema.js +28 -0
- package/cjs/schema/offer_event.schema.js +13 -0
- package/cjs/schema/offer_fulfillment.schema.js +20 -0
- package/cjs/schema/omnichannel_one_time_order.schema.js +26 -0
- package/cjs/schema/omnichannel_subscription.schema.js +89 -0
- package/cjs/schema/omnichannel_subscription_item.schema.js +13 -0
- package/cjs/schema/order.schema.js +273 -0
- package/cjs/schema/payment_intent.schema.js +117 -0
- package/cjs/schema/payment_schedule_scheme.schema.js +20 -0
- package/cjs/schema/payment_source.schema.js +358 -0
- package/cjs/schema/payment_voucher.schema.js +57 -0
- package/cjs/schema/personalized_offer.schema.js +28 -0
- package/cjs/schema/plan.schema.js +225 -0
- package/cjs/schema/portal_session.schema.js +22 -0
- package/cjs/schema/price_variant.schema.js +36 -0
- package/cjs/schema/pricing_page_session.schema.js +135 -0
- package/cjs/schema/promotional_credit.schema.js +78 -0
- package/cjs/schema/purchase.schema.js +272 -0
- package/cjs/schema/quote.schema.js +1557 -0
- package/cjs/schema/ramp.schema.js +209 -0
- package/cjs/schema/recorded_purchase.schema.js +32 -0
- package/cjs/schema/resource_migration.schema.js +14 -0
- package/cjs/schema/site_migration_detail.schema.js +81 -0
- package/cjs/schema/subscription.schema.js +2993 -0
- package/cjs/schema/subscription_entitlement.schema.js +25 -0
- package/cjs/schema/time_machine.schema.js +17 -0
- package/cjs/schema/transaction.schema.js +70 -0
- package/cjs/schema/unbilled_charge.schema.js +113 -0
- package/cjs/schema/usage.schema.js +93 -0
- package/cjs/schema/usage_charge.schema.js +17 -0
- package/cjs/schema/usage_event.schema.js +28 -0
- package/cjs/schema/usage_file.schema.js +13 -0
- package/cjs/schema/usage_summary.schema.js +17 -0
- package/cjs/schema/virtual_bank_account.schema.js +43 -0
- package/cjs/schema/webhook_endpoint.schema.js +504 -0
- package/cjs/validationLoader.js +59 -0
- package/esm/RequestWrapper.js +27 -0
- package/esm/chargebee.esm.js +2 -0
- package/esm/chargebee.esm.worker.js +1 -0
- package/esm/chargebeeZodValidationError.js +14 -0
- package/esm/createChargebee.js +5 -0
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +80 -2
- package/esm/schema/addon.schema.js +150 -0
- package/esm/schema/address.schema.js +32 -0
- package/esm/schema/alert.schema.js +35 -0
- package/esm/schema/attached_item.schema.js +55 -0
- package/esm/schema/business_entity.schema.js +43 -0
- package/esm/schema/card.schema.js +162 -0
- package/esm/schema/comment.schema.js +66 -0
- package/esm/schema/coupon.schema.js +206 -0
- package/esm/schema/coupon_code.schema.js +11 -0
- package/esm/schema/coupon_set.schema.js +25 -0
- package/esm/schema/credit_note.schema.js +285 -0
- package/esm/schema/currency.schema.js +29 -0
- package/esm/schema/customer.schema.js +983 -0
- package/esm/schema/customer_entitlement.schema.js +11 -0
- package/esm/schema/differential_price.schema.js +65 -0
- package/esm/schema/entitlement.schema.js +24 -0
- package/esm/schema/entitlement_override.schema.js +30 -0
- package/esm/schema/estimate.schema.js +1522 -0
- package/esm/schema/export.schema.js +1542 -0
- package/esm/schema/feature.schema.js +34 -0
- package/esm/schema/gift.schema.js +274 -0
- package/esm/schema/hosted_page.schema.js +1646 -0
- package/esm/schema/in_app_subscription.schema.js +65 -0
- package/esm/schema/index.js +64 -0
- package/esm/schema/invoice.schema.js +1464 -0
- package/esm/schema/item.schema.js +88 -0
- package/esm/schema/item_entitlement.schema.js +42 -0
- package/esm/schema/item_family.schema.js +18 -0
- package/esm/schema/item_price.schema.js +187 -0
- package/esm/schema/non_subscription.schema.js +25 -0
- package/esm/schema/offer_event.schema.js +10 -0
- package/esm/schema/offer_fulfillment.schema.js +17 -0
- package/esm/schema/omnichannel_one_time_order.schema.js +23 -0
- package/esm/schema/omnichannel_subscription.schema.js +86 -0
- package/esm/schema/omnichannel_subscription_item.schema.js +10 -0
- package/esm/schema/order.schema.js +270 -0
- package/esm/schema/payment_intent.schema.js +114 -0
- package/esm/schema/payment_schedule_scheme.schema.js +17 -0
- package/esm/schema/payment_source.schema.js +355 -0
- package/esm/schema/payment_voucher.schema.js +54 -0
- package/esm/schema/personalized_offer.schema.js +25 -0
- package/esm/schema/plan.schema.js +222 -0
- package/esm/schema/portal_session.schema.js +19 -0
- package/esm/schema/price_variant.schema.js +33 -0
- package/esm/schema/pricing_page_session.schema.js +132 -0
- package/esm/schema/promotional_credit.schema.js +75 -0
- package/esm/schema/purchase.schema.js +269 -0
- package/esm/schema/quote.schema.js +1554 -0
- package/esm/schema/ramp.schema.js +206 -0
- package/esm/schema/recorded_purchase.schema.js +29 -0
- package/esm/schema/resource_migration.schema.js +11 -0
- package/esm/schema/site_migration_detail.schema.js +78 -0
- package/esm/schema/subscription.schema.js +2990 -0
- package/esm/schema/subscription_entitlement.schema.js +22 -0
- package/esm/schema/time_machine.schema.js +14 -0
- package/esm/schema/transaction.schema.js +67 -0
- package/esm/schema/unbilled_charge.schema.js +110 -0
- package/esm/schema/usage.schema.js +90 -0
- package/esm/schema/usage_charge.schema.js +14 -0
- package/esm/schema/usage_event.schema.js +25 -0
- package/esm/schema/usage_file.schema.js +10 -0
- package/esm/schema/usage_summary.schema.js +14 -0
- package/esm/schema/virtual_bank_account.schema.js +40 -0
- package/esm/schema/webhook_endpoint.schema.js +501 -0
- package/esm/validationLoader.js +56 -0
- package/package.json +5 -2
- package/types/core.d.ts +34 -8
- package/types/index.d.ts +20 -0
- package/types/resources/Alert.d.ts +110 -4
- package/types/resources/AlertStatus.d.ts +43 -2
- package/types/resources/Card.d.ts +1 -0
- package/types/resources/Content.d.ts +2 -0
- package/types/resources/Customer.d.ts +16 -2
- package/types/resources/Estimate.d.ts +16 -2
- package/types/resources/Event.d.ts +4 -2
- package/types/resources/FilterCondition.d.ts +10 -0
- package/types/resources/Gift.d.ts +16 -2
- package/types/resources/Invoice.d.ts +17 -2
- package/types/resources/PaymentIntent.d.ts +42 -6
- package/types/resources/PaymentSource.d.ts +11 -2
- package/types/resources/Purchase.d.ts +8 -1
- package/types/resources/Quote.d.ts +2 -0
- package/types/resources/QuoteEntitlement.d.ts +16 -0
- package/types/resources/Subscription.d.ts +56 -7
- package/types/resources/VirtualBankAccount.d.ts +2 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated Zod schemas: AttachedItem
|
|
3
|
+
// Actions: create, update, retrieve, delete
|
|
4
|
+
// Do not edit manually – regenerate via sdk-generator
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DeleteAttachedItemBodySchema = exports.RetrieveAttachedItemBodySchema = exports.UpdateAttachedItemBodySchema = exports.CreateAttachedItemBodySchema = void 0;
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
//AttachedItem.create
|
|
9
|
+
const CreateAttachedItemBodySchema = zod_1.z.looseObject({
|
|
10
|
+
item_id: zod_1.z.string().max(100),
|
|
11
|
+
type: zod_1.z.enum(['recommended', 'mandatory', 'optional']).optional(),
|
|
12
|
+
billing_cycles: zod_1.z.number().int().min(1).optional(),
|
|
13
|
+
quantity: zod_1.z.number().int().min(1).optional(),
|
|
14
|
+
quantity_in_decimal: zod_1.z.string().max(33).optional(),
|
|
15
|
+
charge_on_event: zod_1.z
|
|
16
|
+
.enum([
|
|
17
|
+
'subscription_creation',
|
|
18
|
+
'subscription_trial_start',
|
|
19
|
+
'plan_activation',
|
|
20
|
+
'subscription_activation',
|
|
21
|
+
'contract_termination',
|
|
22
|
+
'on_demand',
|
|
23
|
+
])
|
|
24
|
+
.optional(),
|
|
25
|
+
charge_once: zod_1.z.boolean().optional(),
|
|
26
|
+
business_entity_id: zod_1.z.string().max(50).optional(),
|
|
27
|
+
});
|
|
28
|
+
exports.CreateAttachedItemBodySchema = CreateAttachedItemBodySchema;
|
|
29
|
+
//AttachedItem.update
|
|
30
|
+
const UpdateAttachedItemBodySchema = zod_1.z.looseObject({
|
|
31
|
+
parent_item_id: zod_1.z.string().max(100),
|
|
32
|
+
type: zod_1.z.enum(['recommended', 'mandatory', 'optional']).optional(),
|
|
33
|
+
billing_cycles: zod_1.z.number().int().min(1).optional(),
|
|
34
|
+
quantity: zod_1.z.number().int().min(1).optional(),
|
|
35
|
+
quantity_in_decimal: zod_1.z.string().max(33).optional(),
|
|
36
|
+
charge_on_event: zod_1.z
|
|
37
|
+
.enum([
|
|
38
|
+
'subscription_creation',
|
|
39
|
+
'subscription_trial_start',
|
|
40
|
+
'plan_activation',
|
|
41
|
+
'subscription_activation',
|
|
42
|
+
'contract_termination',
|
|
43
|
+
'on_demand',
|
|
44
|
+
])
|
|
45
|
+
.optional(),
|
|
46
|
+
charge_once: zod_1.z.boolean().optional(),
|
|
47
|
+
});
|
|
48
|
+
exports.UpdateAttachedItemBodySchema = UpdateAttachedItemBodySchema;
|
|
49
|
+
//AttachedItem.retrieve
|
|
50
|
+
const RetrieveAttachedItemBodySchema = zod_1.z.looseObject({
|
|
51
|
+
parent_item_id: zod_1.z.string().max(100),
|
|
52
|
+
});
|
|
53
|
+
exports.RetrieveAttachedItemBodySchema = RetrieveAttachedItemBodySchema;
|
|
54
|
+
//AttachedItem.delete
|
|
55
|
+
const DeleteAttachedItemBodySchema = zod_1.z.looseObject({
|
|
56
|
+
parent_item_id: zod_1.z.string().max(100),
|
|
57
|
+
});
|
|
58
|
+
exports.DeleteAttachedItemBodySchema = DeleteAttachedItemBodySchema;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated Zod schemas: BusinessEntity
|
|
3
|
+
// Actions: createTransfers, getTransfers
|
|
4
|
+
// Do not edit manually – regenerate via sdk-generator
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GetTransfersBusinessEntityBodySchema = exports.CreateTransfersBusinessEntityBodySchema = void 0;
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
//BusinessEntity.createTransfers
|
|
9
|
+
const CreateTransfersBusinessEntityBodySchema = zod_1.z.looseObject({
|
|
10
|
+
active_resource_ids: zod_1.z.array(zod_1.z.string().max(50).optional()),
|
|
11
|
+
destination_business_entity_ids: zod_1.z.array(zod_1.z.string().max(50).optional()),
|
|
12
|
+
source_business_entity_ids: zod_1.z.array(zod_1.z.string().max(50).optional()).optional(),
|
|
13
|
+
resource_types: zod_1.z.array(zod_1.z.string().max(50).optional()),
|
|
14
|
+
reason_codes: zod_1.z.array(zod_1.z.string().max(50).optional()),
|
|
15
|
+
});
|
|
16
|
+
exports.CreateTransfersBusinessEntityBodySchema = CreateTransfersBusinessEntityBodySchema;
|
|
17
|
+
//BusinessEntity.getTransfers
|
|
18
|
+
const GetTransfersBusinessEntityResourceTypeSchema = zod_1.z.object({
|
|
19
|
+
is: zod_1.z.string().min(1).optional(),
|
|
20
|
+
});
|
|
21
|
+
const GetTransfersBusinessEntityResourceIdSchema = zod_1.z.object({
|
|
22
|
+
is: zod_1.z.string().min(1).optional(),
|
|
23
|
+
});
|
|
24
|
+
const GetTransfersBusinessEntityActiveResourceIdSchema = zod_1.z.object({
|
|
25
|
+
is: zod_1.z.string().min(1).optional(),
|
|
26
|
+
});
|
|
27
|
+
const GetTransfersBusinessEntityCreatedAtSchema = zod_1.z.object({
|
|
28
|
+
after: zod_1.z.string().regex(RegExp('^d{10}$')).optional(),
|
|
29
|
+
before: zod_1.z.string().regex(RegExp('^d{10}$')).optional(),
|
|
30
|
+
on: zod_1.z.string().regex(RegExp('^d{10}$')).optional(),
|
|
31
|
+
between: zod_1.z.string().regex(RegExp('^[d{10},d{10}]$')).optional(),
|
|
32
|
+
});
|
|
33
|
+
const GetTransfersBusinessEntitySortBySchema = zod_1.z.looseObject({
|
|
34
|
+
asc: zod_1.z.enum(['created_at']).optional(),
|
|
35
|
+
desc: zod_1.z.enum(['created_at']).optional(),
|
|
36
|
+
});
|
|
37
|
+
const GetTransfersBusinessEntityBodySchema = zod_1.z.looseObject({
|
|
38
|
+
limit: zod_1.z.number().int().min(1).max(100).optional(),
|
|
39
|
+
offset: zod_1.z.string().max(1000).optional(),
|
|
40
|
+
resource_type: GetTransfersBusinessEntityResourceTypeSchema.optional(),
|
|
41
|
+
resource_id: GetTransfersBusinessEntityResourceIdSchema.optional(),
|
|
42
|
+
active_resource_id: GetTransfersBusinessEntityActiveResourceIdSchema.optional(),
|
|
43
|
+
created_at: GetTransfersBusinessEntityCreatedAtSchema.optional(),
|
|
44
|
+
sort_by: GetTransfersBusinessEntitySortBySchema.optional(),
|
|
45
|
+
});
|
|
46
|
+
exports.GetTransfersBusinessEntityBodySchema = GetTransfersBusinessEntityBodySchema;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated Zod schemas: Card
|
|
3
|
+
// Actions: updateCardForCustomer, switchGatewayForCustomer, copyCardForCustomer
|
|
4
|
+
// Do not edit manually – regenerate via sdk-generator
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CopyCardForCustomerCardBodySchema = exports.SwitchGatewayForCustomerCardBodySchema = exports.UpdateCardForCustomerCardBodySchema = void 0;
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
//Card.updateCardForCustomer
|
|
9
|
+
const UpdateCardForCustomerCardCustomerSchema = zod_1.z.object({
|
|
10
|
+
vat_number: zod_1.z.string().max(20).optional(),
|
|
11
|
+
});
|
|
12
|
+
const UpdateCardForCustomerCardBodySchema = zod_1.z.looseObject({
|
|
13
|
+
gateway: zod_1.z
|
|
14
|
+
.enum([
|
|
15
|
+
'chargebee',
|
|
16
|
+
'chargebee_payments',
|
|
17
|
+
'adyen',
|
|
18
|
+
'stripe',
|
|
19
|
+
'wepay',
|
|
20
|
+
'braintree',
|
|
21
|
+
'authorize_net',
|
|
22
|
+
'paypal_pro',
|
|
23
|
+
'pin',
|
|
24
|
+
'eway',
|
|
25
|
+
'eway_rapid',
|
|
26
|
+
'worldpay',
|
|
27
|
+
'balanced_payments',
|
|
28
|
+
'beanstream',
|
|
29
|
+
'bluepay',
|
|
30
|
+
'elavon',
|
|
31
|
+
'first_data_global',
|
|
32
|
+
'hdfc',
|
|
33
|
+
'migs',
|
|
34
|
+
'nmi',
|
|
35
|
+
'ogone',
|
|
36
|
+
'paymill',
|
|
37
|
+
'paypal_payflow_pro',
|
|
38
|
+
'sage_pay',
|
|
39
|
+
'tco',
|
|
40
|
+
'wirecard',
|
|
41
|
+
'amazon_payments',
|
|
42
|
+
'paypal_express_checkout',
|
|
43
|
+
'orbital',
|
|
44
|
+
'moneris_us',
|
|
45
|
+
'moneris',
|
|
46
|
+
'bluesnap',
|
|
47
|
+
'cybersource',
|
|
48
|
+
'vantiv',
|
|
49
|
+
'checkout_com',
|
|
50
|
+
'paypal',
|
|
51
|
+
'ingenico_direct',
|
|
52
|
+
'exact',
|
|
53
|
+
'mollie',
|
|
54
|
+
'quickbooks',
|
|
55
|
+
'razorpay',
|
|
56
|
+
'global_payments',
|
|
57
|
+
'bank_of_america',
|
|
58
|
+
'ecentric',
|
|
59
|
+
'metrics_global',
|
|
60
|
+
'windcave',
|
|
61
|
+
'pay_com',
|
|
62
|
+
'ebanx',
|
|
63
|
+
'dlocal',
|
|
64
|
+
'nuvei',
|
|
65
|
+
'solidgate',
|
|
66
|
+
'paystack',
|
|
67
|
+
'jp_morgan',
|
|
68
|
+
'deutsche_bank',
|
|
69
|
+
'ezidebit',
|
|
70
|
+
'twikey',
|
|
71
|
+
'tempus',
|
|
72
|
+
'moyasar',
|
|
73
|
+
'payway',
|
|
74
|
+
])
|
|
75
|
+
.optional(),
|
|
76
|
+
gateway_account_id: zod_1.z.string().max(50).optional(),
|
|
77
|
+
tmp_token: zod_1.z.string().max(300).optional(),
|
|
78
|
+
first_name: zod_1.z.string().max(50).optional(),
|
|
79
|
+
last_name: zod_1.z.string().max(50).optional(),
|
|
80
|
+
number: zod_1.z.string().max(1500),
|
|
81
|
+
expiry_month: zod_1.z.number().int().min(1).max(12),
|
|
82
|
+
expiry_year: zod_1.z.number().int(),
|
|
83
|
+
cvv: zod_1.z.string().max(520).optional(),
|
|
84
|
+
preferred_scheme: zod_1.z
|
|
85
|
+
.enum(['cartes_bancaires', 'mastercard', 'visa'])
|
|
86
|
+
.optional(),
|
|
87
|
+
billing_addr1: zod_1.z.string().max(150).optional(),
|
|
88
|
+
billing_addr2: zod_1.z.string().max(150).optional(),
|
|
89
|
+
billing_city: zod_1.z.string().max(50).optional(),
|
|
90
|
+
billing_state_code: zod_1.z.string().max(50).optional(),
|
|
91
|
+
billing_state: zod_1.z.string().max(50).optional(),
|
|
92
|
+
billing_zip: zod_1.z.string().max(20).optional(),
|
|
93
|
+
billing_country: zod_1.z.string().max(50).optional(),
|
|
94
|
+
ip_address: zod_1.z.string().max(50).optional(),
|
|
95
|
+
customer: UpdateCardForCustomerCardCustomerSchema.optional(),
|
|
96
|
+
});
|
|
97
|
+
exports.UpdateCardForCustomerCardBodySchema = UpdateCardForCustomerCardBodySchema;
|
|
98
|
+
//Card.switchGatewayForCustomer
|
|
99
|
+
const SwitchGatewayForCustomerCardBodySchema = zod_1.z.looseObject({
|
|
100
|
+
gateway: zod_1.z
|
|
101
|
+
.enum([
|
|
102
|
+
'chargebee_payments',
|
|
103
|
+
'adyen',
|
|
104
|
+
'stripe',
|
|
105
|
+
'wepay',
|
|
106
|
+
'braintree',
|
|
107
|
+
'authorize_net',
|
|
108
|
+
'paypal_pro',
|
|
109
|
+
'pin',
|
|
110
|
+
'eway',
|
|
111
|
+
'eway_rapid',
|
|
112
|
+
'worldpay',
|
|
113
|
+
'balanced_payments',
|
|
114
|
+
'beanstream',
|
|
115
|
+
'bluepay',
|
|
116
|
+
'elavon',
|
|
117
|
+
'first_data_global',
|
|
118
|
+
'hdfc',
|
|
119
|
+
'migs',
|
|
120
|
+
'nmi',
|
|
121
|
+
'ogone',
|
|
122
|
+
'paymill',
|
|
123
|
+
'paypal_payflow_pro',
|
|
124
|
+
'sage_pay',
|
|
125
|
+
'wirecard',
|
|
126
|
+
'orbital',
|
|
127
|
+
'moneris_us',
|
|
128
|
+
'moneris',
|
|
129
|
+
'bluesnap',
|
|
130
|
+
'cybersource',
|
|
131
|
+
'vantiv',
|
|
132
|
+
'checkout_com',
|
|
133
|
+
'ingenico_direct',
|
|
134
|
+
'exact',
|
|
135
|
+
'mollie',
|
|
136
|
+
'quickbooks',
|
|
137
|
+
'razorpay',
|
|
138
|
+
'global_payments',
|
|
139
|
+
'bank_of_america',
|
|
140
|
+
'ecentric',
|
|
141
|
+
'metrics_global',
|
|
142
|
+
'windcave',
|
|
143
|
+
'pay_com',
|
|
144
|
+
'ebanx',
|
|
145
|
+
'dlocal',
|
|
146
|
+
'nuvei',
|
|
147
|
+
'solidgate',
|
|
148
|
+
'paystack',
|
|
149
|
+
'jp_morgan',
|
|
150
|
+
'deutsche_bank',
|
|
151
|
+
'ezidebit',
|
|
152
|
+
'twikey',
|
|
153
|
+
'tempus',
|
|
154
|
+
'moyasar',
|
|
155
|
+
'payway',
|
|
156
|
+
])
|
|
157
|
+
.optional(),
|
|
158
|
+
gateway_account_id: zod_1.z.string().max(50),
|
|
159
|
+
});
|
|
160
|
+
exports.SwitchGatewayForCustomerCardBodySchema = SwitchGatewayForCustomerCardBodySchema;
|
|
161
|
+
//Card.copyCardForCustomer
|
|
162
|
+
const CopyCardForCustomerCardBodySchema = zod_1.z.looseObject({
|
|
163
|
+
gateway_account_id: zod_1.z.string().max(50),
|
|
164
|
+
});
|
|
165
|
+
exports.CopyCardForCustomerCardBodySchema = CopyCardForCustomerCardBodySchema;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated Zod schemas: Comment
|
|
3
|
+
// Actions: create, list
|
|
4
|
+
// Do not edit manually – regenerate via sdk-generator
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ListCommentBodySchema = exports.CreateCommentBodySchema = void 0;
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
//Comment.create
|
|
9
|
+
const CreateCommentBodySchema = zod_1.z.looseObject({
|
|
10
|
+
entity_type: zod_1.z.enum([
|
|
11
|
+
'customer',
|
|
12
|
+
'subscription',
|
|
13
|
+
'invoice',
|
|
14
|
+
'quote',
|
|
15
|
+
'credit_note',
|
|
16
|
+
'transaction',
|
|
17
|
+
'plan',
|
|
18
|
+
'addon',
|
|
19
|
+
'coupon',
|
|
20
|
+
'order',
|
|
21
|
+
'business_entity',
|
|
22
|
+
'item_family',
|
|
23
|
+
'item',
|
|
24
|
+
'item_price',
|
|
25
|
+
'price_variant',
|
|
26
|
+
]),
|
|
27
|
+
entity_id: zod_1.z.string().max(100),
|
|
28
|
+
notes: zod_1.z.string().max(1000),
|
|
29
|
+
added_by: zod_1.z.string().max(100).optional(),
|
|
30
|
+
});
|
|
31
|
+
exports.CreateCommentBodySchema = CreateCommentBodySchema;
|
|
32
|
+
//Comment.list
|
|
33
|
+
const ListCommentCreatedAtSchema = zod_1.z.object({
|
|
34
|
+
after: zod_1.z.string().regex(RegExp('^d{10}$')).optional(),
|
|
35
|
+
before: zod_1.z.string().regex(RegExp('^d{10}$')).optional(),
|
|
36
|
+
on: zod_1.z.string().regex(RegExp('^d{10}$')).optional(),
|
|
37
|
+
between: zod_1.z.string().regex(RegExp('^[d{10},d{10}]$')).optional(),
|
|
38
|
+
});
|
|
39
|
+
const ListCommentSortBySchema = zod_1.z.looseObject({
|
|
40
|
+
asc: zod_1.z.enum(['created_at']).optional(),
|
|
41
|
+
desc: zod_1.z.enum(['created_at']).optional(),
|
|
42
|
+
});
|
|
43
|
+
const ListCommentBodySchema = zod_1.z.looseObject({
|
|
44
|
+
limit: zod_1.z.number().int().min(1).max(100).optional(),
|
|
45
|
+
offset: zod_1.z.string().max(1000).optional(),
|
|
46
|
+
entity_type: zod_1.z
|
|
47
|
+
.enum([
|
|
48
|
+
'customer',
|
|
49
|
+
'subscription',
|
|
50
|
+
'invoice',
|
|
51
|
+
'quote',
|
|
52
|
+
'credit_note',
|
|
53
|
+
'transaction',
|
|
54
|
+
'plan',
|
|
55
|
+
'addon',
|
|
56
|
+
'coupon',
|
|
57
|
+
'order',
|
|
58
|
+
'business_entity',
|
|
59
|
+
'item_family',
|
|
60
|
+
'item',
|
|
61
|
+
'item_price',
|
|
62
|
+
'price_variant',
|
|
63
|
+
])
|
|
64
|
+
.optional(),
|
|
65
|
+
entity_id: zod_1.z.string().max(100).optional(),
|
|
66
|
+
created_at: ListCommentCreatedAtSchema.optional(),
|
|
67
|
+
sort_by: ListCommentSortBySchema.optional(),
|
|
68
|
+
});
|
|
69
|
+
exports.ListCommentBodySchema = ListCommentBodySchema;
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated Zod schemas: Coupon
|
|
3
|
+
// Actions: create, createForItems, updateForItems, update, copy
|
|
4
|
+
// Do not edit manually – regenerate via sdk-generator
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CopyCouponBodySchema = exports.UpdateCouponBodySchema = exports.UpdateForItemsCouponBodySchema = exports.CreateForItemsCouponBodySchema = exports.CreateCouponBodySchema = void 0;
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
//Coupon.create
|
|
9
|
+
const CreateCouponMetaDataSchema = zod_1.z.looseObject({});
|
|
10
|
+
const CreateCouponBodySchema = zod_1.z.looseObject({
|
|
11
|
+
id: zod_1.z.string().max(100),
|
|
12
|
+
name: zod_1.z.string().max(50),
|
|
13
|
+
invoice_name: zod_1.z.string().max(100).optional(),
|
|
14
|
+
discount_type: zod_1.z
|
|
15
|
+
.enum(['fixed_amount', 'percentage', 'offer_quantity'])
|
|
16
|
+
.optional(),
|
|
17
|
+
discount_amount: zod_1.z.number().int().min(0).optional(),
|
|
18
|
+
currency_code: zod_1.z.string().max(3).optional(),
|
|
19
|
+
discount_percentage: zod_1.z.number().min(0.01).max(100).optional(),
|
|
20
|
+
discount_quantity: zod_1.z.number().int().min(1).optional(),
|
|
21
|
+
apply_on: zod_1.z.enum([
|
|
22
|
+
'invoice_amount',
|
|
23
|
+
'specified_items_total',
|
|
24
|
+
'each_specified_item',
|
|
25
|
+
'each_unit_of_specified_items',
|
|
26
|
+
]),
|
|
27
|
+
duration_type: zod_1.z.enum(['one_time', 'forever', 'limited_period']).optional(),
|
|
28
|
+
duration_month: zod_1.z.number().int().min(1).max(240).optional(),
|
|
29
|
+
valid_till: zod_1.z.number().int().optional(),
|
|
30
|
+
max_redemptions: zod_1.z.number().int().min(1).optional(),
|
|
31
|
+
invoice_notes: zod_1.z.string().max(2000).optional(),
|
|
32
|
+
meta_data: CreateCouponMetaDataSchema.optional(),
|
|
33
|
+
included_in_mrr: zod_1.z.boolean().optional(),
|
|
34
|
+
period: zod_1.z.number().int().min(1).optional(),
|
|
35
|
+
period_unit: zod_1.z.enum(['day', 'week', 'month', 'year']).optional(),
|
|
36
|
+
plan_constraint: zod_1.z.enum(['none', 'all', 'specific']).optional(),
|
|
37
|
+
addon_constraint: zod_1.z.enum(['none', 'all', 'specific']).optional(),
|
|
38
|
+
plan_ids: zod_1.z.array(zod_1.z.string().max(100).optional()).optional(),
|
|
39
|
+
addon_ids: zod_1.z.array(zod_1.z.string().max(100).optional()).optional(),
|
|
40
|
+
status: zod_1.z.enum(['active', 'archived']).optional(),
|
|
41
|
+
});
|
|
42
|
+
exports.CreateCouponBodySchema = CreateCouponBodySchema;
|
|
43
|
+
//Coupon.createForItems
|
|
44
|
+
const CreateForItemsCouponMetaDataSchema = zod_1.z.looseObject({});
|
|
45
|
+
const CreateForItemsCouponItemConstraintsSchema = zod_1.z.object({
|
|
46
|
+
constraint: zod_1.z.array(zod_1.z.enum(['none', 'all', 'specific', 'criteria']).optional()),
|
|
47
|
+
item_type: zod_1.z.array(zod_1.z.enum(['plan', 'addon', 'charge']).optional()),
|
|
48
|
+
item_price_ids: zod_1.z.array(zod_1.z.array(zod_1.z.string().optional()).optional()).optional(),
|
|
49
|
+
});
|
|
50
|
+
const CreateForItemsCouponItemConstraintCriteriaSchema = zod_1.z.object({
|
|
51
|
+
item_type: zod_1.z.array(zod_1.z.enum(['plan', 'addon', 'charge']).optional()).optional(),
|
|
52
|
+
item_family_ids: zod_1.z
|
|
53
|
+
.array(zod_1.z.array(zod_1.z.string().optional()).optional())
|
|
54
|
+
.optional(),
|
|
55
|
+
currencies: zod_1.z.array(zod_1.z.array(zod_1.z.string().optional()).optional()).optional(),
|
|
56
|
+
item_price_periods: zod_1.z
|
|
57
|
+
.array(zod_1.z.array(zod_1.z.string().optional()).optional())
|
|
58
|
+
.optional(),
|
|
59
|
+
});
|
|
60
|
+
const CreateForItemsCouponCouponConstraintsSchema = zod_1.z.object({
|
|
61
|
+
entity_type: zod_1.z.array(zod_1.z.enum(['customer']).optional()),
|
|
62
|
+
type: zod_1.z.array(zod_1.z
|
|
63
|
+
.enum([
|
|
64
|
+
'max_redemptions',
|
|
65
|
+
'unique_by',
|
|
66
|
+
'existing_customer',
|
|
67
|
+
'new_customer',
|
|
68
|
+
])
|
|
69
|
+
.optional()),
|
|
70
|
+
value: zod_1.z.array(zod_1.z.string().max(65000).optional()).optional(),
|
|
71
|
+
});
|
|
72
|
+
const CreateForItemsCouponBodySchema = zod_1.z.looseObject({
|
|
73
|
+
id: zod_1.z.string().max(100),
|
|
74
|
+
name: zod_1.z.string().max(50),
|
|
75
|
+
invoice_name: zod_1.z.string().max(100).optional(),
|
|
76
|
+
discount_type: zod_1.z
|
|
77
|
+
.enum(['fixed_amount', 'percentage', 'offer_quantity'])
|
|
78
|
+
.optional(),
|
|
79
|
+
discount_amount: zod_1.z.number().int().min(0).optional(),
|
|
80
|
+
currency_code: zod_1.z.string().max(3).optional(),
|
|
81
|
+
discount_percentage: zod_1.z.number().min(0.01).max(100).optional(),
|
|
82
|
+
discount_quantity: zod_1.z.number().int().min(1).optional(),
|
|
83
|
+
apply_on: zod_1.z.enum([
|
|
84
|
+
'invoice_amount',
|
|
85
|
+
'specified_items_total',
|
|
86
|
+
'each_specified_item',
|
|
87
|
+
'each_unit_of_specified_items',
|
|
88
|
+
]),
|
|
89
|
+
duration_type: zod_1.z.enum(['one_time', 'forever', 'limited_period']).optional(),
|
|
90
|
+
duration_month: zod_1.z.number().int().min(1).max(240).optional(),
|
|
91
|
+
valid_from: zod_1.z.number().int().optional(),
|
|
92
|
+
valid_till: zod_1.z.number().int().optional(),
|
|
93
|
+
max_redemptions: zod_1.z.number().int().min(1).optional(),
|
|
94
|
+
invoice_notes: zod_1.z.string().max(2000).optional(),
|
|
95
|
+
meta_data: CreateForItemsCouponMetaDataSchema.optional(),
|
|
96
|
+
included_in_mrr: zod_1.z.boolean().optional(),
|
|
97
|
+
period: zod_1.z.number().int().min(1).optional(),
|
|
98
|
+
period_unit: zod_1.z.enum(['day', 'week', 'month', 'year']).optional(),
|
|
99
|
+
status: zod_1.z.enum(['active', 'archived']).optional(),
|
|
100
|
+
item_constraints: CreateForItemsCouponItemConstraintsSchema.optional(),
|
|
101
|
+
item_constraint_criteria: CreateForItemsCouponItemConstraintCriteriaSchema.optional(),
|
|
102
|
+
coupon_constraints: CreateForItemsCouponCouponConstraintsSchema.optional(),
|
|
103
|
+
});
|
|
104
|
+
exports.CreateForItemsCouponBodySchema = CreateForItemsCouponBodySchema;
|
|
105
|
+
//Coupon.updateForItems
|
|
106
|
+
const UpdateForItemsCouponMetaDataSchema = zod_1.z.looseObject({});
|
|
107
|
+
const UpdateForItemsCouponItemConstraintsSchema = zod_1.z.object({
|
|
108
|
+
constraint: zod_1.z.array(zod_1.z.enum(['none', 'all', 'specific', 'criteria']).optional()),
|
|
109
|
+
item_type: zod_1.z.array(zod_1.z.enum(['plan', 'addon', 'charge']).optional()),
|
|
110
|
+
item_price_ids: zod_1.z.array(zod_1.z.array(zod_1.z.string().optional()).optional()).optional(),
|
|
111
|
+
});
|
|
112
|
+
const UpdateForItemsCouponItemConstraintCriteriaSchema = zod_1.z.object({
|
|
113
|
+
item_type: zod_1.z.array(zod_1.z.enum(['plan', 'addon', 'charge']).optional()).optional(),
|
|
114
|
+
item_family_ids: zod_1.z
|
|
115
|
+
.array(zod_1.z.array(zod_1.z.string().optional()).optional())
|
|
116
|
+
.optional(),
|
|
117
|
+
currencies: zod_1.z.array(zod_1.z.array(zod_1.z.string().optional()).optional()).optional(),
|
|
118
|
+
item_price_periods: zod_1.z
|
|
119
|
+
.array(zod_1.z.array(zod_1.z.string().optional()).optional())
|
|
120
|
+
.optional(),
|
|
121
|
+
});
|
|
122
|
+
const UpdateForItemsCouponCouponConstraintsSchema = zod_1.z.object({
|
|
123
|
+
entity_type: zod_1.z.array(zod_1.z.enum(['customer']).optional()),
|
|
124
|
+
type: zod_1.z.array(zod_1.z
|
|
125
|
+
.enum([
|
|
126
|
+
'max_redemptions',
|
|
127
|
+
'unique_by',
|
|
128
|
+
'existing_customer',
|
|
129
|
+
'new_customer',
|
|
130
|
+
])
|
|
131
|
+
.optional()),
|
|
132
|
+
value: zod_1.z.array(zod_1.z.string().max(65000).optional()).optional(),
|
|
133
|
+
});
|
|
134
|
+
const UpdateForItemsCouponBodySchema = zod_1.z.looseObject({
|
|
135
|
+
name: zod_1.z.string().max(50).optional(),
|
|
136
|
+
invoice_name: zod_1.z.string().max(100).optional(),
|
|
137
|
+
discount_type: zod_1.z
|
|
138
|
+
.enum(['fixed_amount', 'percentage', 'offer_quantity'])
|
|
139
|
+
.optional(),
|
|
140
|
+
discount_amount: zod_1.z.number().int().min(0).optional(),
|
|
141
|
+
currency_code: zod_1.z.string().max(3).optional(),
|
|
142
|
+
discount_percentage: zod_1.z.number().min(0.01).max(100).optional(),
|
|
143
|
+
discount_quantity: zod_1.z.number().int().min(1).optional(),
|
|
144
|
+
apply_on: zod_1.z
|
|
145
|
+
.enum([
|
|
146
|
+
'invoice_amount',
|
|
147
|
+
'specified_items_total',
|
|
148
|
+
'each_specified_item',
|
|
149
|
+
'each_unit_of_specified_items',
|
|
150
|
+
])
|
|
151
|
+
.optional(),
|
|
152
|
+
duration_type: zod_1.z.enum(['one_time', 'forever', 'limited_period']).optional(),
|
|
153
|
+
duration_month: zod_1.z.number().int().min(1).max(240).optional(),
|
|
154
|
+
valid_from: zod_1.z.number().int().optional(),
|
|
155
|
+
valid_till: zod_1.z.number().int().optional(),
|
|
156
|
+
max_redemptions: zod_1.z.number().int().min(1).optional(),
|
|
157
|
+
invoice_notes: zod_1.z.string().max(2000).optional(),
|
|
158
|
+
meta_data: UpdateForItemsCouponMetaDataSchema.optional(),
|
|
159
|
+
included_in_mrr: zod_1.z.boolean().optional(),
|
|
160
|
+
period: zod_1.z.number().int().min(1).optional(),
|
|
161
|
+
period_unit: zod_1.z.enum(['day', 'week', 'month', 'year']).optional(),
|
|
162
|
+
item_constraints: UpdateForItemsCouponItemConstraintsSchema.optional(),
|
|
163
|
+
item_constraint_criteria: UpdateForItemsCouponItemConstraintCriteriaSchema.optional(),
|
|
164
|
+
coupon_constraints: UpdateForItemsCouponCouponConstraintsSchema.optional(),
|
|
165
|
+
});
|
|
166
|
+
exports.UpdateForItemsCouponBodySchema = UpdateForItemsCouponBodySchema;
|
|
167
|
+
//Coupon.update
|
|
168
|
+
const UpdateCouponMetaDataSchema = zod_1.z.looseObject({});
|
|
169
|
+
const UpdateCouponBodySchema = zod_1.z.looseObject({
|
|
170
|
+
name: zod_1.z.string().max(50).optional(),
|
|
171
|
+
invoice_name: zod_1.z.string().max(100).optional(),
|
|
172
|
+
discount_type: zod_1.z
|
|
173
|
+
.enum(['fixed_amount', 'percentage', 'offer_quantity'])
|
|
174
|
+
.optional(),
|
|
175
|
+
discount_amount: zod_1.z.number().int().min(0).optional(),
|
|
176
|
+
currency_code: zod_1.z.string().max(3).optional(),
|
|
177
|
+
discount_percentage: zod_1.z.number().min(0.01).max(100).optional(),
|
|
178
|
+
discount_quantity: zod_1.z.number().int().min(1).optional(),
|
|
179
|
+
apply_on: zod_1.z
|
|
180
|
+
.enum([
|
|
181
|
+
'invoice_amount',
|
|
182
|
+
'specified_items_total',
|
|
183
|
+
'each_specified_item',
|
|
184
|
+
'each_unit_of_specified_items',
|
|
185
|
+
])
|
|
186
|
+
.optional(),
|
|
187
|
+
duration_type: zod_1.z.enum(['one_time', 'forever', 'limited_period']).optional(),
|
|
188
|
+
duration_month: zod_1.z.number().int().min(1).max(240).optional(),
|
|
189
|
+
valid_till: zod_1.z.number().int().optional(),
|
|
190
|
+
max_redemptions: zod_1.z.number().int().min(1).optional(),
|
|
191
|
+
invoice_notes: zod_1.z.string().max(2000).optional(),
|
|
192
|
+
meta_data: UpdateCouponMetaDataSchema.optional(),
|
|
193
|
+
included_in_mrr: zod_1.z.boolean().optional(),
|
|
194
|
+
period: zod_1.z.number().int().min(1).optional(),
|
|
195
|
+
period_unit: zod_1.z.enum(['day', 'week', 'month', 'year']).optional(),
|
|
196
|
+
plan_constraint: zod_1.z.enum(['none', 'all', 'specific']).optional(),
|
|
197
|
+
addon_constraint: zod_1.z.enum(['none', 'all', 'specific']).optional(),
|
|
198
|
+
plan_ids: zod_1.z.array(zod_1.z.string().max(100).optional()).optional(),
|
|
199
|
+
addon_ids: zod_1.z.array(zod_1.z.string().max(100).optional()).optional(),
|
|
200
|
+
});
|
|
201
|
+
exports.UpdateCouponBodySchema = UpdateCouponBodySchema;
|
|
202
|
+
//Coupon.copy
|
|
203
|
+
const CopyCouponBodySchema = zod_1.z.looseObject({
|
|
204
|
+
from_site: zod_1.z.string().max(50),
|
|
205
|
+
id_at_from_site: zod_1.z.string().max(100),
|
|
206
|
+
id: zod_1.z.string().max(100).optional(),
|
|
207
|
+
for_site_merging: zod_1.z.boolean().default(false).optional(),
|
|
208
|
+
});
|
|
209
|
+
exports.CopyCouponBodySchema = CopyCouponBodySchema;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated Zod schemas: CouponCode
|
|
3
|
+
// Actions: create
|
|
4
|
+
// Do not edit manually – regenerate via sdk-generator
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CreateCouponCodeBodySchema = void 0;
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
//CouponCode.create
|
|
9
|
+
const CreateCouponCodeBodySchema = zod_1.z.looseObject({
|
|
10
|
+
coupon_id: zod_1.z.string().max(100),
|
|
11
|
+
coupon_set_name: zod_1.z.string().max(50),
|
|
12
|
+
code: zod_1.z.string().max(50),
|
|
13
|
+
});
|
|
14
|
+
exports.CreateCouponCodeBodySchema = CreateCouponCodeBodySchema;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated Zod schemas: CouponSet
|
|
3
|
+
// Actions: create, addCouponCodes, update
|
|
4
|
+
// Do not edit manually – regenerate via sdk-generator
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UpdateCouponSetBodySchema = exports.AddCouponCodesCouponSetBodySchema = exports.CreateCouponSetBodySchema = void 0;
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
//CouponSet.create
|
|
9
|
+
const CreateCouponSetMetaDataSchema = zod_1.z.looseObject({});
|
|
10
|
+
const CreateCouponSetBodySchema = zod_1.z.looseObject({
|
|
11
|
+
coupon_id: zod_1.z.string().max(100),
|
|
12
|
+
name: zod_1.z.string().max(50),
|
|
13
|
+
id: zod_1.z.string().max(50),
|
|
14
|
+
meta_data: CreateCouponSetMetaDataSchema.optional(),
|
|
15
|
+
});
|
|
16
|
+
exports.CreateCouponSetBodySchema = CreateCouponSetBodySchema;
|
|
17
|
+
//CouponSet.addCouponCodes
|
|
18
|
+
const AddCouponCodesCouponSetBodySchema = zod_1.z.looseObject({
|
|
19
|
+
code: zod_1.z.array(zod_1.z.string().max(50).optional()).optional(),
|
|
20
|
+
});
|
|
21
|
+
exports.AddCouponCodesCouponSetBodySchema = AddCouponCodesCouponSetBodySchema;
|
|
22
|
+
//CouponSet.update
|
|
23
|
+
const UpdateCouponSetMetaDataSchema = zod_1.z.looseObject({});
|
|
24
|
+
const UpdateCouponSetBodySchema = zod_1.z.looseObject({
|
|
25
|
+
name: zod_1.z.string().max(50).optional(),
|
|
26
|
+
meta_data: UpdateCouponSetMetaDataSchema.optional(),
|
|
27
|
+
});
|
|
28
|
+
exports.UpdateCouponSetBodySchema = UpdateCouponSetBodySchema;
|