@paynow-gg/typescript-sdk 1.0.0 → 1.0.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.
@@ -1,384 +1,380 @@
1
- "use strict";
2
- // This file is auto-generated by @hey-api/openapi-ts
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.WebhookType = exports.WebhookState = exports.WebhookEventType = exports.TrustStoreOnboardingStatus = exports.TrialStatusDto = exports.SubscriptionStatus = exports.StoreRequirementStatus = exports.StoreRequirementCategory = exports.StoreRequirementActionParty = exports.SaleDiscountType = exports.RefundStatus = exports.QueuedDiscordActionStatus = exports.QueuedDiscordActionExecutionStatus = exports.ProductTaxCode = exports.ProductSubscriptionIntervalScale = exports.ProductStockTimeScale = exports.ProductRemoveAfterIntervalScale = exports.ProductCommandStage = exports.PaymentDeclineCode = exports.PayNowActorType = exports.OrderType = exports.OrderStatus = exports.DiscordActionType = exports.DiscordActionRevocationStage = exports.DiscordActionExecutionStage = exports.DeliveryItemStateDto = exports.CustomerProfilePlatform = exports.CustomerMinecraftPlatform = exports.CustomVariableType = exports.CustomVariableOptionPriceType = exports.CouponFilterTypeEnum = exports.CouponFilterStatusEnum = exports.CouponDurationEnum = exports.CouponDiscountTypeEnum = exports.BanType = exports.AffiliateLinkRefererType = exports.AffiliateLinkDiscountType = exports.AffiliateLinkCommissionType = void 0;
5
- var AffiliateLinkCommissionType;
6
- (function (AffiliateLinkCommissionType) {
7
- AffiliateLinkCommissionType["NONE"] = "none";
8
- AffiliateLinkCommissionType["FIXED"] = "fixed";
9
- AffiliateLinkCommissionType["PERCENTAGE"] = "percentage";
10
- })(AffiliateLinkCommissionType || (exports.AffiliateLinkCommissionType = AffiliateLinkCommissionType = {}));
11
- var AffiliateLinkDiscountType;
12
- (function (AffiliateLinkDiscountType) {
13
- AffiliateLinkDiscountType["NONE"] = "none";
14
- AffiliateLinkDiscountType["FIXED"] = "fixed";
15
- AffiliateLinkDiscountType["PERCENTAGE"] = "percentage";
16
- })(AffiliateLinkDiscountType || (exports.AffiliateLinkDiscountType = AffiliateLinkDiscountType = {}));
17
- var AffiliateLinkRefererType;
18
- (function (AffiliateLinkRefererType) {
19
- AffiliateLinkRefererType["INVALID"] = "invalid";
20
- AffiliateLinkRefererType["FIRST_REFERER"] = "first_referer";
21
- AffiliateLinkRefererType["LAST_REFERER"] = "last_referer";
22
- })(AffiliateLinkRefererType || (exports.AffiliateLinkRefererType = AffiliateLinkRefererType = {}));
23
- var BanType;
24
- (function (BanType) {
25
- BanType["UNKNOWN"] = "unknown";
26
- BanType["STEAM"] = "steam";
27
- BanType["IP"] = "ip";
28
- BanType["CUSTOMER"] = "customer";
29
- BanType["CUSTOMER_NAME"] = "customer_name";
30
- BanType["EMAIL"] = "email";
31
- })(BanType || (exports.BanType = BanType = {}));
32
- /**
33
- * Specifies the type of discount applied by a coupon.
34
- */
35
- var CouponDiscountTypeEnum;
36
- (function (CouponDiscountTypeEnum) {
37
- CouponDiscountTypeEnum["UNSPECIFIED"] = "unspecified";
38
- CouponDiscountTypeEnum["PERCENT"] = "percent";
39
- CouponDiscountTypeEnum["AMOUNT"] = "amount";
40
- })(CouponDiscountTypeEnum || (exports.CouponDiscountTypeEnum = CouponDiscountTypeEnum = {}));
41
- /**
42
- * Defines the duration for which a coupon remains valid.
43
- */
44
- var CouponDurationEnum;
45
- (function (CouponDurationEnum) {
46
- CouponDurationEnum["ONCE"] = "once";
47
- CouponDurationEnum["FOREVER"] = "forever";
48
- CouponDurationEnum["REPEATING"] = "repeating";
49
- })(CouponDurationEnum || (exports.CouponDurationEnum = CouponDurationEnum = {}));
50
- /**
51
- * Will filter by coupon status.
52
- */
53
- var CouponFilterStatusEnum;
54
- (function (CouponFilterStatusEnum) {
55
- CouponFilterStatusEnum["ALL"] = "all";
56
- CouponFilterStatusEnum["ACTIVE"] = "active";
57
- CouponFilterStatusEnum["INACTIVE"] = "inactive";
58
- })(CouponFilterStatusEnum || (exports.CouponFilterStatusEnum = CouponFilterStatusEnum = {}));
59
- /**
60
- * Will filter by coupon creation type.
61
- */
62
- var CouponFilterTypeEnum;
63
- (function (CouponFilterTypeEnum) {
64
- CouponFilterTypeEnum["ALL"] = "all";
65
- CouponFilterTypeEnum["MANUAL"] = "manual";
66
- CouponFilterTypeEnum["GENERATED"] = "generated";
67
- })(CouponFilterTypeEnum || (exports.CouponFilterTypeEnum = CouponFilterTypeEnum = {}));
68
- /**
69
- * Defines how option pricing should be applied to the base product price.
70
- */
71
- var CustomVariableOptionPriceType;
72
- (function (CustomVariableOptionPriceType) {
73
- CustomVariableOptionPriceType["FIXED"] = "fixed";
74
- CustomVariableOptionPriceType["PERCENTAGE"] = "percentage";
75
- })(CustomVariableOptionPriceType || (exports.CustomVariableOptionPriceType = CustomVariableOptionPriceType = {}));
76
- /**
77
- * Defines the type of input method for a custom variable.
78
- */
79
- var CustomVariableType;
80
- (function (CustomVariableType) {
81
- CustomVariableType["DROPDOWN"] = "dropdown";
82
- CustomVariableType["TEXT"] = "text";
83
- CustomVariableType["NUMBER"] = "number";
84
- })(CustomVariableType || (exports.CustomVariableType = CustomVariableType = {}));
85
- var CustomerMinecraftPlatform;
86
- (function (CustomerMinecraftPlatform) {
87
- CustomerMinecraftPlatform["UNKNOWN"] = "unknown";
88
- CustomerMinecraftPlatform["JAVA"] = "java";
89
- CustomerMinecraftPlatform["BEDROCK"] = "bedrock";
90
- })(CustomerMinecraftPlatform || (exports.CustomerMinecraftPlatform = CustomerMinecraftPlatform = {}));
91
- /**
92
- * A customer platform type used while gifting
93
- */
94
- var CustomerProfilePlatform;
95
- (function (CustomerProfilePlatform) {
96
- CustomerProfilePlatform["INVALID"] = "invalid";
97
- CustomerProfilePlatform["STEAM"] = "steam";
98
- CustomerProfilePlatform["MINECRAFT"] = "minecraft";
99
- CustomerProfilePlatform["PAYNOW_NAME"] = "paynow_name";
100
- })(CustomerProfilePlatform || (exports.CustomerProfilePlatform = CustomerProfilePlatform = {}));
101
- var DeliveryItemStateDto;
102
- (function (DeliveryItemStateDto) {
103
- DeliveryItemStateDto["USABLE"] = "usable";
104
- DeliveryItemStateDto["ACTIVE"] = "active";
105
- DeliveryItemStateDto["USED"] = "used";
106
- DeliveryItemStateDto["REVOKED"] = "revoked";
107
- DeliveryItemStateDto["RENEWED"] = "renewed";
108
- })(DeliveryItemStateDto || (exports.DeliveryItemStateDto = DeliveryItemStateDto = {}));
109
- var DiscordActionExecutionStage;
110
- (function (DiscordActionExecutionStage) {
111
- DiscordActionExecutionStage["ON_PURCHASE"] = "on_purchase";
112
- DiscordActionExecutionStage["ON_EXPIRE"] = "on_expire";
113
- DiscordActionExecutionStage["ON_REFUND"] = "on_refund";
114
- DiscordActionExecutionStage["ON_CHARGEBACK"] = "on_chargeback";
115
- })(DiscordActionExecutionStage || (exports.DiscordActionExecutionStage = DiscordActionExecutionStage = {}));
116
- var DiscordActionRevocationStage;
117
- (function (DiscordActionRevocationStage) {
118
- DiscordActionRevocationStage["ON_EXPIRE"] = "on_expire";
119
- DiscordActionRevocationStage["ON_REFUND"] = "on_refund";
120
- DiscordActionRevocationStage["ON_CHARGEBACK"] = "on_chargeback";
121
- })(DiscordActionRevocationStage || (exports.DiscordActionRevocationStage = DiscordActionRevocationStage = {}));
122
- var DiscordActionType;
123
- (function (DiscordActionType) {
124
- DiscordActionType["PERSIST_ROLE"] = "persist_role";
125
- DiscordActionType["SEND_MESSAGE"] = "send_message";
126
- DiscordActionType["BAN_USER"] = "ban_user";
127
- DiscordActionType["KICK_USER"] = "kick_user";
128
- DiscordActionType["GENERATE_INVITE_LINK"] = "generate_invite_link";
129
- })(DiscordActionType || (exports.DiscordActionType = DiscordActionType = {}));
130
- var OrderStatus;
131
- (function (OrderStatus) {
132
- OrderStatus["CREATED"] = "created";
133
- OrderStatus["COMPLETED"] = "completed";
134
- OrderStatus["CANCELED"] = "canceled";
135
- OrderStatus["REFUNDED"] = "refunded";
136
- OrderStatus["CHARGEBACK"] = "chargeback";
137
- })(OrderStatus || (exports.OrderStatus = OrderStatus = {}));
138
- /**
139
- * Defines the type of items contained in an order
140
- */
141
- var OrderType;
142
- (function (OrderType) {
143
- OrderType["ONE_TIME"] = "one_time";
144
- OrderType["SUBSCRIPTION"] = "subscription";
145
- OrderType["MIXED"] = "mixed";
146
- })(OrderType || (exports.OrderType = OrderType = {}));
147
- var PayNowActorType;
148
- (function (PayNowActorType) {
149
- PayNowActorType["ANONYMOUS"] = "anonymous";
150
- PayNowActorType["USER"] = "user";
151
- PayNowActorType["CUSTOMER"] = "customer";
152
- PayNowActorType["API_KEY"] = "api_key";
153
- PayNowActorType["GAME_SERVER"] = "game_server";
154
- PayNowActorType["ADMIN"] = "admin";
155
- PayNowActorType["INTERNAL"] = "internal";
156
- PayNowActorType["PLATFORM"] = "platform";
157
- PayNowActorType["GLOBAL_CUSTOMER"] = "global_customer";
158
- })(PayNowActorType || (exports.PayNowActorType = PayNowActorType = {}));
159
- /**
160
- * A payment decline reason code.
161
- */
162
- var PaymentDeclineCode;
163
- (function (PaymentDeclineCode) {
164
- PaymentDeclineCode["UNKNOWN"] = "unknown";
165
- PaymentDeclineCode["GENERIC_DECLINE"] = "generic_decline";
166
- PaymentDeclineCode["CALL_ISSUER"] = "call_issuer";
167
- PaymentDeclineCode["AUTHENTICATION_REQUIRED"] = "authentication_required";
168
- PaymentDeclineCode["CURRENCY_NOT_SUPPORTED"] = "currency_not_supported";
169
- PaymentDeclineCode["DUPLICATE_TRANSACTION"] = "duplicate_transaction";
170
- PaymentDeclineCode["EXPIRED_CARD"] = "expired_card";
171
- PaymentDeclineCode["FRAUDULENT"] = "fraudulent";
172
- PaymentDeclineCode["INCORRECT_NUMBER"] = "incorrect_number";
173
- PaymentDeclineCode["INCORRECT_CVC"] = "incorrect_cvc";
174
- PaymentDeclineCode["INCORRECT_PIN"] = "incorrect_pin";
175
- PaymentDeclineCode["INCORRECT_ZIP"] = "incorrect_zip";
176
- PaymentDeclineCode["INSUFFICIENT_FUNDS"] = "insufficient_funds";
177
- PaymentDeclineCode["INVALID_ACCOUNT"] = "invalid_account";
178
- PaymentDeclineCode["INVALID_AMOUNT"] = "invalid_amount";
179
- PaymentDeclineCode["INVALID_EXPIRY_MONTH"] = "invalid_expiry_month";
180
- PaymentDeclineCode["INVALID_EXPIRY_YEAR"] = "invalid_expiry_year";
181
- PaymentDeclineCode["ISSUER_NOT_AVAILABLE"] = "issuer_not_available";
182
- PaymentDeclineCode["LOST_CARD"] = "lost_card";
183
- PaymentDeclineCode["MERCHANT_BLACKLIST"] = "merchant_blacklist";
184
- PaymentDeclineCode["NEW_ACCOUNT_INFORMATION_AVAILABLE"] = "new_account_information_available";
185
- PaymentDeclineCode["NO_ACTION_TAKEN"] = "no_action_taken";
186
- PaymentDeclineCode["PICKUP_CARD"] = "pickup_card";
187
- PaymentDeclineCode["PIN_TRY_EXCEEDED"] = "pin_try_exceeded";
188
- PaymentDeclineCode["RESTRICTED_CARD"] = "restricted_card";
189
- PaymentDeclineCode["STOLEN_CARD"] = "stolen_card";
190
- PaymentDeclineCode["TESTMODE_DECLINE"] = "testmode_decline";
191
- PaymentDeclineCode["TRY_AGAIN_LATER"] = "try_again_later";
192
- PaymentDeclineCode["SECURITY_VIOLATION"] = "security_violation";
193
- PaymentDeclineCode["CARD_VELOCITY_EXCEEDED"] = "card_velocity_exceeded";
194
- PaymentDeclineCode["DO_NOT_HONOR"] = "do_not_honor";
195
- PaymentDeclineCode["PROCESSING_ERROR"] = "processing_error";
196
- PaymentDeclineCode["CARD_NOT_SUPPORTED"] = "card_not_supported";
197
- PaymentDeclineCode["TRANSACTION_NOT_ALLOWED"] = "transaction_not_allowed";
198
- PaymentDeclineCode["AUTHORIZATION_REVOKED"] = "authorization_revoked";
199
- })(PaymentDeclineCode || (exports.PaymentDeclineCode = PaymentDeclineCode = {}));
200
- /**
201
- * Defines the stages at which product commands can be executed.
202
- */
203
- var ProductCommandStage;
204
- (function (ProductCommandStage) {
205
- ProductCommandStage["INVALID"] = "invalid";
206
- ProductCommandStage["ON_PURCHASE"] = "on_purchase";
207
- ProductCommandStage["ON_EXPIRE"] = "on_expire";
208
- ProductCommandStage["ON_REFUND"] = "on_refund";
209
- ProductCommandStage["ON_RENEW"] = "on_renew";
210
- ProductCommandStage["ON_CHARGEBACK"] = "on_chargeback";
211
- ProductCommandStage["ON_TRIAL_START"] = "on_trial_start";
212
- ProductCommandStage["ON_TRIAL_EXPIRE"] = "on_trial_expire";
213
- })(ProductCommandStage || (exports.ProductCommandStage = ProductCommandStage = {}));
214
- var ProductRemoveAfterIntervalScale;
215
- (function (ProductRemoveAfterIntervalScale) {
216
- ProductRemoveAfterIntervalScale["INVALID"] = "invalid";
217
- ProductRemoveAfterIntervalScale["DAY"] = "day";
218
- ProductRemoveAfterIntervalScale["WEEK"] = "week";
219
- ProductRemoveAfterIntervalScale["MONTH"] = "month";
220
- })(ProductRemoveAfterIntervalScale || (exports.ProductRemoveAfterIntervalScale = ProductRemoveAfterIntervalScale = {}));
221
- var ProductStockTimeScale;
222
- (function (ProductStockTimeScale) {
223
- ProductStockTimeScale["INVALID"] = "invalid";
224
- ProductStockTimeScale["DAY"] = "day";
225
- ProductStockTimeScale["WEEK"] = "week";
226
- ProductStockTimeScale["MONTH"] = "month";
227
- ProductStockTimeScale["YEAR"] = "year";
228
- })(ProductStockTimeScale || (exports.ProductStockTimeScale = ProductStockTimeScale = {}));
229
- var ProductSubscriptionIntervalScale;
230
- (function (ProductSubscriptionIntervalScale) {
231
- ProductSubscriptionIntervalScale["INVALID"] = "invalid";
232
- ProductSubscriptionIntervalScale["DAY"] = "day";
233
- ProductSubscriptionIntervalScale["WEEK"] = "week";
234
- ProductSubscriptionIntervalScale["MONTH"] = "month";
235
- ProductSubscriptionIntervalScale["YEAR"] = "year";
236
- })(ProductSubscriptionIntervalScale || (exports.ProductSubscriptionIntervalScale = ProductSubscriptionIntervalScale = {}));
237
- /**
238
- * Determines the category of the product for taxation purposes.
239
- * Contact support for help with setting the correct tax code.
240
- */
241
- var ProductTaxCode;
242
- (function (ProductTaxCode) {
243
- ProductTaxCode["UNKNOWN"] = "unknown";
244
- ProductTaxCode["DIGITAL_GOODS_SUBSCRIPTION"] = "digital_goods_subscription";
245
- ProductTaxCode["DIGITAL_GOODS_PERMANENT"] = "digital_goods_permanent";
246
- ProductTaxCode["SAAS"] = "saas";
247
- ProductTaxCode["DOWNLOADED_SOFTWARE"] = "downloaded_software";
248
- ProductTaxCode["DIGITAL_GOODS_SUBSCRIPTION_GAMING"] = "digital_goods_subscription_gaming";
249
- ProductTaxCode["DIGITAL_GOODS_PERMANENT_GAMING"] = "digital_goods_permanent_gaming";
250
- })(ProductTaxCode || (exports.ProductTaxCode = ProductTaxCode = {}));
251
- var QueuedDiscordActionExecutionStatus;
252
- (function (QueuedDiscordActionExecutionStatus) {
253
- QueuedDiscordActionExecutionStatus["SUCCESS"] = "success";
254
- QueuedDiscordActionExecutionStatus["FAILURE"] = "failure";
255
- })(QueuedDiscordActionExecutionStatus || (exports.QueuedDiscordActionExecutionStatus = QueuedDiscordActionExecutionStatus = {}));
256
- var QueuedDiscordActionStatus;
257
- (function (QueuedDiscordActionStatus) {
258
- QueuedDiscordActionStatus["ACTIVE"] = "active";
259
- QueuedDiscordActionStatus["COMPLETE"] = "complete";
260
- QueuedDiscordActionStatus["ERRORED"] = "errored";
261
- QueuedDiscordActionStatus["CANCELED"] = "canceled";
262
- })(QueuedDiscordActionStatus || (exports.QueuedDiscordActionStatus = QueuedDiscordActionStatus = {}));
263
- /**
264
- * Represents the current status of a refund in the system
265
- */
266
- var RefundStatus;
267
- (function (RefundStatus) {
268
- RefundStatus["CREATED"] = "created";
269
- RefundStatus["APPROVED"] = "approved";
270
- RefundStatus["PROCESSING"] = "processing";
271
- RefundStatus["COMPLETED"] = "completed";
272
- RefundStatus["CANCELED"] = "canceled";
273
- RefundStatus["FAILED"] = "failed";
274
- })(RefundStatus || (exports.RefundStatus = RefundStatus = {}));
275
- var SaleDiscountType;
276
- (function (SaleDiscountType) {
277
- SaleDiscountType["PERCENT"] = "percent";
278
- SaleDiscountType["AMOUNT"] = "amount";
279
- })(SaleDiscountType || (exports.SaleDiscountType = SaleDiscountType = {}));
280
- /**
281
- * Determines the party that needs to perform or requests a verification
282
- */
283
- var StoreRequirementActionParty;
284
- (function (StoreRequirementActionParty) {
285
- StoreRequirementActionParty["INVALID"] = "invalid";
286
- StoreRequirementActionParty["STORE"] = "store";
287
- StoreRequirementActionParty["PAYNOW"] = "paynow";
288
- StoreRequirementActionParty["PAYMENT_PROCESSOR"] = "payment_processor";
289
- StoreRequirementActionParty["PAYOUT_PROVIDER"] = "payout_provider";
290
- StoreRequirementActionParty["KYC_PROVIDER"] = "kyc_provider";
291
- StoreRequirementActionParty["EXTERNAL"] = "external";
292
- })(StoreRequirementActionParty || (exports.StoreRequirementActionParty = StoreRequirementActionParty = {}));
293
- /**
294
- * Represents categories of requirements that must be fulfilled for store setup and compliance in the PayNow platform.
295
- */
296
- var StoreRequirementCategory;
297
- (function (StoreRequirementCategory) {
298
- StoreRequirementCategory["INVALID"] = "invalid";
299
- StoreRequirementCategory["BUSINESS"] = "business";
300
- StoreRequirementCategory["KYC"] = "kyc";
301
- StoreRequirementCategory["COMPLIANCE"] = "compliance";
302
- StoreRequirementCategory["RISK"] = "risk";
303
- StoreRequirementCategory["TECHNICAL"] = "technical";
304
- StoreRequirementCategory["FINANCIAL"] = "financial";
305
- StoreRequirementCategory["LEGAL"] = "legal";
306
- StoreRequirementCategory["OTHER"] = "other";
307
- })(StoreRequirementCategory || (exports.StoreRequirementCategory = StoreRequirementCategory = {}));
308
- var StoreRequirementStatus;
309
- (function (StoreRequirementStatus) {
310
- StoreRequirementStatus["INVALID"] = "invalid";
311
- StoreRequirementStatus["PENDING"] = "pending";
312
- StoreRequirementStatus["UNDER_REVIEW"] = "under_review";
313
- StoreRequirementStatus["REQUIRES_REVISION"] = "requires_revision";
314
- StoreRequirementStatus["APPROVED"] = "approved";
315
- StoreRequirementStatus["EXPIRED"] = "expired";
316
- StoreRequirementStatus["WAIVED"] = "waived";
317
- StoreRequirementStatus["REJECTED_FINAL"] = "rejected_final";
318
- })(StoreRequirementStatus || (exports.StoreRequirementStatus = StoreRequirementStatus = {}));
319
- /**
320
- * Represents the current state of a subscription.
321
- */
322
- var SubscriptionStatus;
323
- (function (SubscriptionStatus) {
324
- SubscriptionStatus["CREATED"] = "created";
325
- SubscriptionStatus["ACTIVE"] = "active";
326
- SubscriptionStatus["CANCELED"] = "canceled";
327
- })(SubscriptionStatus || (exports.SubscriptionStatus = SubscriptionStatus = {}));
328
- var TrialStatusDto;
329
- (function (TrialStatusDto) {
330
- TrialStatusDto["CREATED"] = "created";
331
- TrialStatusDto["ACTIVE"] = "active";
332
- TrialStatusDto["CANCELED"] = "canceled";
333
- TrialStatusDto["COMPLETED"] = "completed";
334
- })(TrialStatusDto || (exports.TrialStatusDto = TrialStatusDto = {}));
335
- var TrustStoreOnboardingStatus;
336
- (function (TrustStoreOnboardingStatus) {
337
- TrustStoreOnboardingStatus["INVALID"] = "invalid";
338
- TrustStoreOnboardingStatus["PENDING"] = "pending";
339
- TrustStoreOnboardingStatus["APPROVED"] = "approved";
340
- TrustStoreOnboardingStatus["DECLINED"] = "declined";
341
- TrustStoreOnboardingStatus["REQUIRES_ACTION"] = "requires_action";
342
- TrustStoreOnboardingStatus["UNDER_REVIEW"] = "under_review";
343
- })(TrustStoreOnboardingStatus || (exports.TrustStoreOnboardingStatus = TrustStoreOnboardingStatus = {}));
344
- var WebhookEventType;
345
- (function (WebhookEventType) {
346
- WebhookEventType["ON_IGNORE"] = "on_ignore";
347
- WebhookEventType["ON_ORDER_COMPLETED"] = "on_order_completed";
348
- WebhookEventType["ON_REFUND"] = "on_refund";
349
- WebhookEventType["ON_CHARGEBACK"] = "on_chargeback";
350
- WebhookEventType["ON_DELIVERY_ITEM_ADDED"] = "on_delivery_item_added";
351
- WebhookEventType["ON_DELIVERY_ITEM_ACTIVATED"] = "on_delivery_item_activated";
352
- WebhookEventType["ON_DELIVERY_ITEM_USED"] = "on_delivery_item_used";
353
- WebhookEventType["ON_DELIVERY_ITEM_REVOKED"] = "on_delivery_item_revoked";
354
- WebhookEventType["ON_SUBSCRIPTION_ACTIVATED"] = "on_subscription_activated";
355
- WebhookEventType["ON_SUBSCRIPTION_RENEWED"] = "on_subscription_renewed";
356
- WebhookEventType["ON_SUBSCRIPTION_CANCELED"] = "on_subscription_canceled";
357
- WebhookEventType["ON_DISCORD_ORDER_ACTIONS_QUEUED"] = "on_discord_order_actions_queued";
358
- WebhookEventType["ON_CONNECTED_USER_REGISTERED"] = "on_connected_user_registered";
359
- WebhookEventType["ON_CONNECTED_USER_BECAME_PAYABLE"] = "on_connected_user_became_payable";
360
- WebhookEventType["ON_CONNECTED_USER_PAYOUT_CREATED"] = "on_connected_user_payout_created";
361
- WebhookEventType["ON_CONNECTED_USER_PAYOUT_COMPLETED"] = "on_connected_user_payout_completed";
362
- WebhookEventType["ON_CONNECTED_USER_TRANSACTION_INSERTED"] = "on_connected_user_transaction_inserted";
363
- WebhookEventType["ON_CONNECTED_USER_BECAME_UNPAYABLE"] = "on_connected_user_became_unpayable";
364
- WebhookEventType["ON_TRIAL_ACTIVATED"] = "on_trial_activated";
365
- WebhookEventType["ON_TRIAL_COMPLETED"] = "on_trial_completed";
366
- WebhookEventType["ON_TRIAL_CANCELED"] = "on_trial_canceled";
367
- WebhookEventType["ON_PURCHASE_FOLLOW_UP_ATTEMPT_EMAIL_SENT"] = "on_purchase_follow_up_attempt_email_sent";
368
- WebhookEventType["ON_PURCHASE_FOLLOW_UP_ATTEMPT_SUCCEEDED"] = "on_purchase_follow_up_attempt_succeeded";
369
- WebhookEventType["ON_ABANDONED_CHECKOUT_RECOVERY_ATTEMPT_EMAIL_SENT"] = "on_abandoned_checkout_recovery_attempt_email_sent";
370
- WebhookEventType["ON_ABANDONED_CHECKOUT_RECOVERY_ATTEMPT_SUCCEEDED"] = "on_abandoned_checkout_recovery_attempt_succeeded";
371
- })(WebhookEventType || (exports.WebhookEventType = WebhookEventType = {}));
372
- var WebhookState;
373
- (function (WebhookState) {
374
- WebhookState["SUCCESS"] = "success";
375
- WebhookState["PENDING"] = "pending";
376
- WebhookState["FAILED"] = "failed";
377
- WebhookState["ALL"] = "all";
378
- })(WebhookState || (exports.WebhookState = WebhookState = {}));
379
- var WebhookType;
380
- (function (WebhookType) {
381
- WebhookType["JSON_V1"] = "json_v1";
382
- WebhookType["DISCORD_V1"] = "discord_v1";
383
- })(WebhookType || (exports.WebhookType = WebhookType = {}));
1
+ "use strict";
2
+ // This file is auto-generated by @hey-api/openapi-ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.WebhookType = exports.WebhookState = exports.WebhookEventType = exports.TrustStoreOnboardingStatus = exports.TrialStatusDto = exports.SubscriptionStatus = exports.StoreRequirementStatus = exports.StoreRequirementCategory = exports.StoreRequirementActionParty = exports.SaleDiscountType = exports.RefundStatus = exports.QueuedDiscordActionStatus = exports.QueuedDiscordActionExecutionStatus = exports.ProductTaxCode = exports.ProductSubscriptionIntervalScale = exports.ProductStockTimeScale = exports.ProductRemoveAfterIntervalScale = exports.ProductCommandStage = exports.PaymentDeclineCode = exports.PayNowActorType = exports.OrderType = exports.OrderStatus = exports.DiscordActionType = exports.DiscordActionRevocationStage = exports.DiscordActionExecutionStage = exports.DeliveryItemStateDto = exports.CustomerProfilePlatform = exports.CustomerMinecraftPlatform = exports.CustomVariableType = exports.CustomVariableOptionPriceType = exports.CouponFilterTypeEnum = exports.CouponFilterStatusEnum = exports.CouponDurationEnum = exports.CouponDiscountTypeEnum = exports.BanType = exports.AffiliateLinkRefererType = exports.AffiliateLinkDiscountType = exports.AffiliateLinkCommissionType = void 0;
5
+ var AffiliateLinkCommissionType;
6
+ (function (AffiliateLinkCommissionType) {
7
+ AffiliateLinkCommissionType["NONE"] = "none";
8
+ AffiliateLinkCommissionType["FIXED"] = "fixed";
9
+ AffiliateLinkCommissionType["PERCENTAGE"] = "percentage";
10
+ })(AffiliateLinkCommissionType || (exports.AffiliateLinkCommissionType = AffiliateLinkCommissionType = {}));
11
+ var AffiliateLinkDiscountType;
12
+ (function (AffiliateLinkDiscountType) {
13
+ AffiliateLinkDiscountType["NONE"] = "none";
14
+ AffiliateLinkDiscountType["FIXED"] = "fixed";
15
+ AffiliateLinkDiscountType["PERCENTAGE"] = "percentage";
16
+ })(AffiliateLinkDiscountType || (exports.AffiliateLinkDiscountType = AffiliateLinkDiscountType = {}));
17
+ var AffiliateLinkRefererType;
18
+ (function (AffiliateLinkRefererType) {
19
+ AffiliateLinkRefererType["INVALID"] = "invalid";
20
+ AffiliateLinkRefererType["FIRST_REFERER"] = "first_referer";
21
+ AffiliateLinkRefererType["LAST_REFERER"] = "last_referer";
22
+ })(AffiliateLinkRefererType || (exports.AffiliateLinkRefererType = AffiliateLinkRefererType = {}));
23
+ var BanType;
24
+ (function (BanType) {
25
+ BanType["UNKNOWN"] = "unknown";
26
+ BanType["STEAM"] = "steam";
27
+ BanType["IP"] = "ip";
28
+ BanType["CUSTOMER"] = "customer";
29
+ BanType["CUSTOMER_NAME"] = "customer_name";
30
+ BanType["EMAIL"] = "email";
31
+ })(BanType || (exports.BanType = BanType = {}));
32
+ /**
33
+ * Specifies the type of discount applied by a coupon.
34
+ */
35
+ var CouponDiscountTypeEnum;
36
+ (function (CouponDiscountTypeEnum) {
37
+ CouponDiscountTypeEnum["UNSPECIFIED"] = "unspecified";
38
+ CouponDiscountTypeEnum["PERCENT"] = "percent";
39
+ CouponDiscountTypeEnum["AMOUNT"] = "amount";
40
+ })(CouponDiscountTypeEnum || (exports.CouponDiscountTypeEnum = CouponDiscountTypeEnum = {}));
41
+ /**
42
+ * Defines the duration for which a coupon remains valid.
43
+ */
44
+ var CouponDurationEnum;
45
+ (function (CouponDurationEnum) {
46
+ CouponDurationEnum["ONCE"] = "once";
47
+ CouponDurationEnum["FOREVER"] = "forever";
48
+ CouponDurationEnum["REPEATING"] = "repeating";
49
+ })(CouponDurationEnum || (exports.CouponDurationEnum = CouponDurationEnum = {}));
50
+ /**
51
+ * Will filter by coupon status.
52
+ */
53
+ var CouponFilterStatusEnum;
54
+ (function (CouponFilterStatusEnum) {
55
+ CouponFilterStatusEnum["ALL"] = "all";
56
+ CouponFilterStatusEnum["ACTIVE"] = "active";
57
+ CouponFilterStatusEnum["INACTIVE"] = "inactive";
58
+ })(CouponFilterStatusEnum || (exports.CouponFilterStatusEnum = CouponFilterStatusEnum = {}));
59
+ /**
60
+ * Will filter by coupon creation type.
61
+ */
62
+ var CouponFilterTypeEnum;
63
+ (function (CouponFilterTypeEnum) {
64
+ CouponFilterTypeEnum["ALL"] = "all";
65
+ CouponFilterTypeEnum["MANUAL"] = "manual";
66
+ CouponFilterTypeEnum["GENERATED"] = "generated";
67
+ })(CouponFilterTypeEnum || (exports.CouponFilterTypeEnum = CouponFilterTypeEnum = {}));
68
+ /**
69
+ * Defines how option pricing should be applied to the base product price.
70
+ */
71
+ var CustomVariableOptionPriceType;
72
+ (function (CustomVariableOptionPriceType) {
73
+ CustomVariableOptionPriceType["FIXED"] = "fixed";
74
+ CustomVariableOptionPriceType["PERCENTAGE"] = "percentage";
75
+ })(CustomVariableOptionPriceType || (exports.CustomVariableOptionPriceType = CustomVariableOptionPriceType = {}));
76
+ /**
77
+ * Defines the type of input method for a custom variable.
78
+ */
79
+ var CustomVariableType;
80
+ (function (CustomVariableType) {
81
+ CustomVariableType["DROPDOWN"] = "dropdown";
82
+ CustomVariableType["TEXT"] = "text";
83
+ CustomVariableType["NUMBER"] = "number";
84
+ })(CustomVariableType || (exports.CustomVariableType = CustomVariableType = {}));
85
+ var CustomerMinecraftPlatform;
86
+ (function (CustomerMinecraftPlatform) {
87
+ CustomerMinecraftPlatform["UNKNOWN"] = "unknown";
88
+ CustomerMinecraftPlatform["JAVA"] = "java";
89
+ CustomerMinecraftPlatform["BEDROCK"] = "bedrock";
90
+ })(CustomerMinecraftPlatform || (exports.CustomerMinecraftPlatform = CustomerMinecraftPlatform = {}));
91
+ /**
92
+ * A customer platform type used while gifting
93
+ */
94
+ var CustomerProfilePlatform;
95
+ (function (CustomerProfilePlatform) {
96
+ CustomerProfilePlatform["INVALID"] = "invalid";
97
+ CustomerProfilePlatform["STEAM"] = "steam";
98
+ CustomerProfilePlatform["MINECRAFT"] = "minecraft";
99
+ CustomerProfilePlatform["PAYNOW_NAME"] = "paynow_name";
100
+ })(CustomerProfilePlatform || (exports.CustomerProfilePlatform = CustomerProfilePlatform = {}));
101
+ var DeliveryItemStateDto;
102
+ (function (DeliveryItemStateDto) {
103
+ DeliveryItemStateDto["USABLE"] = "usable";
104
+ DeliveryItemStateDto["ACTIVE"] = "active";
105
+ DeliveryItemStateDto["USED"] = "used";
106
+ DeliveryItemStateDto["REVOKED"] = "revoked";
107
+ DeliveryItemStateDto["RENEWED"] = "renewed";
108
+ })(DeliveryItemStateDto || (exports.DeliveryItemStateDto = DeliveryItemStateDto = {}));
109
+ var DiscordActionExecutionStage;
110
+ (function (DiscordActionExecutionStage) {
111
+ DiscordActionExecutionStage["ON_PURCHASE"] = "on_purchase";
112
+ DiscordActionExecutionStage["ON_EXPIRE"] = "on_expire";
113
+ DiscordActionExecutionStage["ON_REFUND"] = "on_refund";
114
+ DiscordActionExecutionStage["ON_CHARGEBACK"] = "on_chargeback";
115
+ })(DiscordActionExecutionStage || (exports.DiscordActionExecutionStage = DiscordActionExecutionStage = {}));
116
+ var DiscordActionRevocationStage;
117
+ (function (DiscordActionRevocationStage) {
118
+ DiscordActionRevocationStage["ON_EXPIRE"] = "on_expire";
119
+ DiscordActionRevocationStage["ON_REFUND"] = "on_refund";
120
+ DiscordActionRevocationStage["ON_CHARGEBACK"] = "on_chargeback";
121
+ })(DiscordActionRevocationStage || (exports.DiscordActionRevocationStage = DiscordActionRevocationStage = {}));
122
+ var DiscordActionType;
123
+ (function (DiscordActionType) {
124
+ DiscordActionType["PERSIST_ROLE"] = "persist_role";
125
+ DiscordActionType["SEND_MESSAGE"] = "send_message";
126
+ DiscordActionType["BAN_USER"] = "ban_user";
127
+ DiscordActionType["KICK_USER"] = "kick_user";
128
+ DiscordActionType["GENERATE_INVITE_LINK"] = "generate_invite_link";
129
+ })(DiscordActionType || (exports.DiscordActionType = DiscordActionType = {}));
130
+ var OrderStatus;
131
+ (function (OrderStatus) {
132
+ OrderStatus["CREATED"] = "created";
133
+ OrderStatus["COMPLETED"] = "completed";
134
+ OrderStatus["CANCELED"] = "canceled";
135
+ OrderStatus["REFUNDED"] = "refunded";
136
+ OrderStatus["CHARGEBACK"] = "chargeback";
137
+ })(OrderStatus || (exports.OrderStatus = OrderStatus = {}));
138
+ /**
139
+ * Defines the type of items contained in an order
140
+ */
141
+ var OrderType;
142
+ (function (OrderType) {
143
+ OrderType["ONE_TIME"] = "one_time";
144
+ OrderType["SUBSCRIPTION"] = "subscription";
145
+ OrderType["MIXED"] = "mixed";
146
+ })(OrderType || (exports.OrderType = OrderType = {}));
147
+ var PayNowActorType;
148
+ (function (PayNowActorType) {
149
+ PayNowActorType["ANONYMOUS"] = "anonymous";
150
+ PayNowActorType["USER"] = "user";
151
+ PayNowActorType["CUSTOMER"] = "customer";
152
+ PayNowActorType["API_KEY"] = "api_key";
153
+ PayNowActorType["GAME_SERVER"] = "game_server";
154
+ PayNowActorType["ADMIN"] = "admin";
155
+ PayNowActorType["INTERNAL"] = "internal";
156
+ PayNowActorType["PLATFORM"] = "platform";
157
+ PayNowActorType["GLOBAL_CUSTOMER"] = "global_customer";
158
+ })(PayNowActorType || (exports.PayNowActorType = PayNowActorType = {}));
159
+ /**
160
+ * A payment decline reason code.
161
+ */
162
+ var PaymentDeclineCode;
163
+ (function (PaymentDeclineCode) {
164
+ PaymentDeclineCode["UNKNOWN"] = "unknown";
165
+ PaymentDeclineCode["GENERIC_DECLINE"] = "generic_decline";
166
+ PaymentDeclineCode["CALL_ISSUER"] = "call_issuer";
167
+ PaymentDeclineCode["AUTHENTICATION_REQUIRED"] = "authentication_required";
168
+ PaymentDeclineCode["CURRENCY_NOT_SUPPORTED"] = "currency_not_supported";
169
+ PaymentDeclineCode["DUPLICATE_TRANSACTION"] = "duplicate_transaction";
170
+ PaymentDeclineCode["EXPIRED_CARD"] = "expired_card";
171
+ PaymentDeclineCode["FRAUDULENT"] = "fraudulent";
172
+ PaymentDeclineCode["INCORRECT_NUMBER"] = "incorrect_number";
173
+ PaymentDeclineCode["INCORRECT_CVC"] = "incorrect_cvc";
174
+ PaymentDeclineCode["INCORRECT_PIN"] = "incorrect_pin";
175
+ PaymentDeclineCode["INCORRECT_ZIP"] = "incorrect_zip";
176
+ PaymentDeclineCode["INSUFFICIENT_FUNDS"] = "insufficient_funds";
177
+ PaymentDeclineCode["INVALID_ACCOUNT"] = "invalid_account";
178
+ PaymentDeclineCode["INVALID_AMOUNT"] = "invalid_amount";
179
+ PaymentDeclineCode["INVALID_EXPIRY_MONTH"] = "invalid_expiry_month";
180
+ PaymentDeclineCode["INVALID_EXPIRY_YEAR"] = "invalid_expiry_year";
181
+ PaymentDeclineCode["ISSUER_NOT_AVAILABLE"] = "issuer_not_available";
182
+ PaymentDeclineCode["LOST_CARD"] = "lost_card";
183
+ PaymentDeclineCode["MERCHANT_BLACKLIST"] = "merchant_blacklist";
184
+ PaymentDeclineCode["NEW_ACCOUNT_INFORMATION_AVAILABLE"] = "new_account_information_available";
185
+ PaymentDeclineCode["NO_ACTION_TAKEN"] = "no_action_taken";
186
+ PaymentDeclineCode["PICKUP_CARD"] = "pickup_card";
187
+ PaymentDeclineCode["PIN_TRY_EXCEEDED"] = "pin_try_exceeded";
188
+ PaymentDeclineCode["RESTRICTED_CARD"] = "restricted_card";
189
+ PaymentDeclineCode["STOLEN_CARD"] = "stolen_card";
190
+ PaymentDeclineCode["TESTMODE_DECLINE"] = "testmode_decline";
191
+ PaymentDeclineCode["TRY_AGAIN_LATER"] = "try_again_later";
192
+ PaymentDeclineCode["SECURITY_VIOLATION"] = "security_violation";
193
+ PaymentDeclineCode["CARD_VELOCITY_EXCEEDED"] = "card_velocity_exceeded";
194
+ PaymentDeclineCode["DO_NOT_HONOR"] = "do_not_honor";
195
+ PaymentDeclineCode["PROCESSING_ERROR"] = "processing_error";
196
+ PaymentDeclineCode["CARD_NOT_SUPPORTED"] = "card_not_supported";
197
+ PaymentDeclineCode["TRANSACTION_NOT_ALLOWED"] = "transaction_not_allowed";
198
+ PaymentDeclineCode["AUTHORIZATION_REVOKED"] = "authorization_revoked";
199
+ })(PaymentDeclineCode || (exports.PaymentDeclineCode = PaymentDeclineCode = {}));
200
+ /**
201
+ * Defines the stages at which product commands can be executed.
202
+ */
203
+ var ProductCommandStage;
204
+ (function (ProductCommandStage) {
205
+ ProductCommandStage["INVALID"] = "invalid";
206
+ ProductCommandStage["ON_PURCHASE"] = "on_purchase";
207
+ ProductCommandStage["ON_EXPIRE"] = "on_expire";
208
+ ProductCommandStage["ON_REFUND"] = "on_refund";
209
+ ProductCommandStage["ON_RENEW"] = "on_renew";
210
+ ProductCommandStage["ON_CHARGEBACK"] = "on_chargeback";
211
+ ProductCommandStage["ON_TRIAL_START"] = "on_trial_start";
212
+ ProductCommandStage["ON_TRIAL_EXPIRE"] = "on_trial_expire";
213
+ })(ProductCommandStage || (exports.ProductCommandStage = ProductCommandStage = {}));
214
+ var ProductRemoveAfterIntervalScale;
215
+ (function (ProductRemoveAfterIntervalScale) {
216
+ ProductRemoveAfterIntervalScale["INVALID"] = "invalid";
217
+ ProductRemoveAfterIntervalScale["DAY"] = "day";
218
+ ProductRemoveAfterIntervalScale["WEEK"] = "week";
219
+ ProductRemoveAfterIntervalScale["MONTH"] = "month";
220
+ })(ProductRemoveAfterIntervalScale || (exports.ProductRemoveAfterIntervalScale = ProductRemoveAfterIntervalScale = {}));
221
+ var ProductStockTimeScale;
222
+ (function (ProductStockTimeScale) {
223
+ ProductStockTimeScale["INVALID"] = "invalid";
224
+ ProductStockTimeScale["DAY"] = "day";
225
+ ProductStockTimeScale["WEEK"] = "week";
226
+ ProductStockTimeScale["MONTH"] = "month";
227
+ ProductStockTimeScale["YEAR"] = "year";
228
+ })(ProductStockTimeScale || (exports.ProductStockTimeScale = ProductStockTimeScale = {}));
229
+ var ProductSubscriptionIntervalScale;
230
+ (function (ProductSubscriptionIntervalScale) {
231
+ ProductSubscriptionIntervalScale["INVALID"] = "invalid";
232
+ ProductSubscriptionIntervalScale["DAY"] = "day";
233
+ ProductSubscriptionIntervalScale["WEEK"] = "week";
234
+ ProductSubscriptionIntervalScale["MONTH"] = "month";
235
+ ProductSubscriptionIntervalScale["YEAR"] = "year";
236
+ })(ProductSubscriptionIntervalScale || (exports.ProductSubscriptionIntervalScale = ProductSubscriptionIntervalScale = {}));
237
+ /**
238
+ * Determines the category of the product for taxation purposes.
239
+ * Contact support for help with setting the correct tax code.
240
+ */
241
+ var ProductTaxCode;
242
+ (function (ProductTaxCode) {
243
+ ProductTaxCode["UNKNOWN"] = "unknown";
244
+ ProductTaxCode["DIGITAL_GOODS_SUBSCRIPTION"] = "digital_goods_subscription";
245
+ ProductTaxCode["DIGITAL_GOODS_PERMANENT"] = "digital_goods_permanent";
246
+ ProductTaxCode["SAAS"] = "saas";
247
+ ProductTaxCode["DOWNLOADED_SOFTWARE"] = "downloaded_software";
248
+ ProductTaxCode["DIGITAL_GOODS_SUBSCRIPTION_GAMING"] = "digital_goods_subscription_gaming";
249
+ ProductTaxCode["DIGITAL_GOODS_PERMANENT_GAMING"] = "digital_goods_permanent_gaming";
250
+ })(ProductTaxCode || (exports.ProductTaxCode = ProductTaxCode = {}));
251
+ var QueuedDiscordActionExecutionStatus;
252
+ (function (QueuedDiscordActionExecutionStatus) {
253
+ QueuedDiscordActionExecutionStatus["SUCCESS"] = "success";
254
+ QueuedDiscordActionExecutionStatus["FAILURE"] = "failure";
255
+ })(QueuedDiscordActionExecutionStatus || (exports.QueuedDiscordActionExecutionStatus = QueuedDiscordActionExecutionStatus = {}));
256
+ var QueuedDiscordActionStatus;
257
+ (function (QueuedDiscordActionStatus) {
258
+ QueuedDiscordActionStatus["ACTIVE"] = "active";
259
+ QueuedDiscordActionStatus["COMPLETE"] = "complete";
260
+ QueuedDiscordActionStatus["ERRORED"] = "errored";
261
+ QueuedDiscordActionStatus["CANCELED"] = "canceled";
262
+ })(QueuedDiscordActionStatus || (exports.QueuedDiscordActionStatus = QueuedDiscordActionStatus = {}));
263
+ /**
264
+ * Represents the current status of a refund in the system
265
+ */
266
+ var RefundStatus;
267
+ (function (RefundStatus) {
268
+ RefundStatus["CREATED"] = "created";
269
+ RefundStatus["APPROVED"] = "approved";
270
+ RefundStatus["PROCESSING"] = "processing";
271
+ RefundStatus["COMPLETED"] = "completed";
272
+ RefundStatus["CANCELED"] = "canceled";
273
+ RefundStatus["FAILED"] = "failed";
274
+ })(RefundStatus || (exports.RefundStatus = RefundStatus = {}));
275
+ var SaleDiscountType;
276
+ (function (SaleDiscountType) {
277
+ SaleDiscountType["PERCENT"] = "percent";
278
+ SaleDiscountType["AMOUNT"] = "amount";
279
+ })(SaleDiscountType || (exports.SaleDiscountType = SaleDiscountType = {}));
280
+ /**
281
+ * Determines the party that needs to perform or requests a verification
282
+ */
283
+ var StoreRequirementActionParty;
284
+ (function (StoreRequirementActionParty) {
285
+ StoreRequirementActionParty["INVALID"] = "invalid";
286
+ StoreRequirementActionParty["STORE"] = "store";
287
+ StoreRequirementActionParty["PAYNOW"] = "paynow";
288
+ StoreRequirementActionParty["PAYMENT_PROCESSOR"] = "payment_processor";
289
+ StoreRequirementActionParty["PAYOUT_PROVIDER"] = "payout_provider";
290
+ StoreRequirementActionParty["KYC_PROVIDER"] = "kyc_provider";
291
+ StoreRequirementActionParty["EXTERNAL"] = "external";
292
+ })(StoreRequirementActionParty || (exports.StoreRequirementActionParty = StoreRequirementActionParty = {}));
293
+ /**
294
+ * Represents categories of requirements that must be fulfilled for store setup and compliance in the PayNow platform.
295
+ */
296
+ var StoreRequirementCategory;
297
+ (function (StoreRequirementCategory) {
298
+ StoreRequirementCategory["INVALID"] = "invalid";
299
+ StoreRequirementCategory["BUSINESS"] = "business";
300
+ StoreRequirementCategory["KYC"] = "kyc";
301
+ StoreRequirementCategory["COMPLIANCE"] = "compliance";
302
+ StoreRequirementCategory["RISK"] = "risk";
303
+ StoreRequirementCategory["TECHNICAL"] = "technical";
304
+ StoreRequirementCategory["FINANCIAL"] = "financial";
305
+ StoreRequirementCategory["LEGAL"] = "legal";
306
+ StoreRequirementCategory["OTHER"] = "other";
307
+ })(StoreRequirementCategory || (exports.StoreRequirementCategory = StoreRequirementCategory = {}));
308
+ var StoreRequirementStatus;
309
+ (function (StoreRequirementStatus) {
310
+ StoreRequirementStatus["INVALID"] = "invalid";
311
+ StoreRequirementStatus["PENDING"] = "pending";
312
+ StoreRequirementStatus["UNDER_REVIEW"] = "under_review";
313
+ StoreRequirementStatus["REQUIRES_REVISION"] = "requires_revision";
314
+ StoreRequirementStatus["APPROVED"] = "approved";
315
+ StoreRequirementStatus["EXPIRED"] = "expired";
316
+ StoreRequirementStatus["WAIVED"] = "waived";
317
+ StoreRequirementStatus["REJECTED_FINAL"] = "rejected_final";
318
+ })(StoreRequirementStatus || (exports.StoreRequirementStatus = StoreRequirementStatus = {}));
319
+ /**
320
+ * Represents the current state of a subscription.
321
+ */
322
+ var SubscriptionStatus;
323
+ (function (SubscriptionStatus) {
324
+ SubscriptionStatus["CREATED"] = "created";
325
+ SubscriptionStatus["ACTIVE"] = "active";
326
+ SubscriptionStatus["CANCELED"] = "canceled";
327
+ })(SubscriptionStatus || (exports.SubscriptionStatus = SubscriptionStatus = {}));
328
+ var TrialStatusDto;
329
+ (function (TrialStatusDto) {
330
+ TrialStatusDto["CREATED"] = "created";
331
+ TrialStatusDto["ACTIVE"] = "active";
332
+ TrialStatusDto["CANCELED"] = "canceled";
333
+ TrialStatusDto["COMPLETED"] = "completed";
334
+ })(TrialStatusDto || (exports.TrialStatusDto = TrialStatusDto = {}));
335
+ var TrustStoreOnboardingStatus;
336
+ (function (TrustStoreOnboardingStatus) {
337
+ TrustStoreOnboardingStatus["INVALID"] = "invalid";
338
+ TrustStoreOnboardingStatus["PENDING"] = "pending";
339
+ TrustStoreOnboardingStatus["APPROVED"] = "approved";
340
+ TrustStoreOnboardingStatus["DECLINED"] = "declined";
341
+ TrustStoreOnboardingStatus["REQUIRES_ACTION"] = "requires_action";
342
+ TrustStoreOnboardingStatus["UNDER_REVIEW"] = "under_review";
343
+ })(TrustStoreOnboardingStatus || (exports.TrustStoreOnboardingStatus = TrustStoreOnboardingStatus = {}));
344
+ var WebhookEventType;
345
+ (function (WebhookEventType) {
346
+ WebhookEventType["ON_IGNORE"] = "on_ignore";
347
+ WebhookEventType["ON_ORDER_COMPLETED"] = "on_order_completed";
348
+ WebhookEventType["ON_REFUND"] = "on_refund";
349
+ WebhookEventType["ON_CHARGEBACK"] = "on_chargeback";
350
+ WebhookEventType["ON_DELIVERY_ITEM_ADDED"] = "on_delivery_item_added";
351
+ WebhookEventType["ON_DELIVERY_ITEM_ACTIVATED"] = "on_delivery_item_activated";
352
+ WebhookEventType["ON_DELIVERY_ITEM_USED"] = "on_delivery_item_used";
353
+ WebhookEventType["ON_DELIVERY_ITEM_REVOKED"] = "on_delivery_item_revoked";
354
+ WebhookEventType["ON_SUBSCRIPTION_ACTIVATED"] = "on_subscription_activated";
355
+ WebhookEventType["ON_SUBSCRIPTION_RENEWED"] = "on_subscription_renewed";
356
+ WebhookEventType["ON_SUBSCRIPTION_CANCELED"] = "on_subscription_canceled";
357
+ WebhookEventType["ON_DISCORD_ORDER_ACTIONS_QUEUED"] = "on_discord_order_actions_queued";
358
+ WebhookEventType["ON_CONNECTED_USER_REGISTERED"] = "on_connected_user_registered";
359
+ WebhookEventType["ON_CONNECTED_USER_BECAME_PAYABLE"] = "on_connected_user_became_payable";
360
+ WebhookEventType["ON_CONNECTED_USER_PAYOUT_CREATED"] = "on_connected_user_payout_created";
361
+ WebhookEventType["ON_CONNECTED_USER_PAYOUT_COMPLETED"] = "on_connected_user_payout_completed";
362
+ WebhookEventType["ON_CONNECTED_USER_TRANSACTION_INSERTED"] = "on_connected_user_transaction_inserted";
363
+ WebhookEventType["ON_CONNECTED_USER_BECAME_UNPAYABLE"] = "on_connected_user_became_unpayable";
364
+ WebhookEventType["ON_TRIAL_ACTIVATED"] = "on_trial_activated";
365
+ WebhookEventType["ON_TRIAL_COMPLETED"] = "on_trial_completed";
366
+ WebhookEventType["ON_TRIAL_CANCELED"] = "on_trial_canceled";
367
+ })(WebhookEventType || (exports.WebhookEventType = WebhookEventType = {}));
368
+ var WebhookState;
369
+ (function (WebhookState) {
370
+ WebhookState["SUCCESS"] = "success";
371
+ WebhookState["PENDING"] = "pending";
372
+ WebhookState["FAILED"] = "failed";
373
+ WebhookState["ALL"] = "all";
374
+ })(WebhookState || (exports.WebhookState = WebhookState = {}));
375
+ var WebhookType;
376
+ (function (WebhookType) {
377
+ WebhookType["JSON_V1"] = "json_v1";
378
+ WebhookType["DISCORD_V1"] = "discord_v1";
379
+ })(WebhookType || (exports.WebhookType = WebhookType = {}));
384
380
  //# sourceMappingURL=types.gen.js.map