@paynow-gg/typescript-sdk 2.1.5 → 2.1.6
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.
|
@@ -267,6 +267,42 @@ export interface AlipayDetailsDto {
|
|
|
267
267
|
*/
|
|
268
268
|
fingerprint?: string | null;
|
|
269
269
|
}
|
|
270
|
+
export interface ApiKeyDto {
|
|
271
|
+
id: FlakeId;
|
|
272
|
+
store_id: FlakeId;
|
|
273
|
+
role_id: FlakeId;
|
|
274
|
+
/**
|
|
275
|
+
* The name of the API key.
|
|
276
|
+
*/
|
|
277
|
+
name: string;
|
|
278
|
+
/**
|
|
279
|
+
* The secret token used to authenticate as this API key. Only returned when the
|
|
280
|
+
* key is created and when its token is reset.
|
|
281
|
+
*/
|
|
282
|
+
token?: string | null;
|
|
283
|
+
/**
|
|
284
|
+
* When the API key's token was last reset.
|
|
285
|
+
* @format date-time
|
|
286
|
+
*/
|
|
287
|
+
token_reset_at?: string | null;
|
|
288
|
+
created_by: ActorDto;
|
|
289
|
+
/**
|
|
290
|
+
* When the API key was created.
|
|
291
|
+
* @format date-time
|
|
292
|
+
*/
|
|
293
|
+
created_at: string;
|
|
294
|
+
updated_by?: ActorDto;
|
|
295
|
+
/**
|
|
296
|
+
* When the API key was last updated.
|
|
297
|
+
* @format date-time
|
|
298
|
+
*/
|
|
299
|
+
updated_at?: string | null;
|
|
300
|
+
}
|
|
301
|
+
export interface ApiKeyResult {
|
|
302
|
+
id: FlakeId;
|
|
303
|
+
store_id?: FlakeId;
|
|
304
|
+
api_key?: ApiKeyDto;
|
|
305
|
+
}
|
|
270
306
|
export interface AvailablePermissionDto {
|
|
271
307
|
id: string;
|
|
272
308
|
name: string;
|
|
@@ -1993,6 +2029,11 @@ export interface CustomVariableOptionRequestDto {
|
|
|
1993
2029
|
*/
|
|
1994
2030
|
is_default: boolean;
|
|
1995
2031
|
}
|
|
2032
|
+
export interface CustomVariableResult {
|
|
2033
|
+
id: FlakeId;
|
|
2034
|
+
store_id?: FlakeId;
|
|
2035
|
+
custom_variable?: CustomVariableDto;
|
|
2036
|
+
}
|
|
1996
2037
|
/**
|
|
1997
2038
|
* Defines the type of input method for a custom variable.
|
|
1998
2039
|
* - `dropdown`: Dropdown selection with predefined options.
|
|
@@ -2009,7 +2050,7 @@ export interface DashboardSearchHintDto {
|
|
|
2009
2050
|
example: string;
|
|
2010
2051
|
description: string;
|
|
2011
2052
|
}
|
|
2012
|
-
export type DashboardSearchResultTypeDto = "unknown" | "orders" | "trials" | "subscriptions" | "customers" | "coupons" | "gameservers" | "products" | "sales" | "api_keys" | "bans" | "affiliate_links" | "tags" | "giftcards" | "stores" | "users" | "tickets";
|
|
2053
|
+
export type DashboardSearchResultTypeDto = "unknown" | "orders" | "trials" | "subscriptions" | "customers" | "coupons" | "gameservers" | "products" | "sales" | "api_keys" | "bans" | "affiliate_links" | "tags" | "giftcards" | "stores" | "users" | "tickets" | "tier_groups" | "custom_variables" | "global_commands" | "webhooks" | "email_templates" | "email_deliveries";
|
|
2013
2054
|
export interface DashboardStatsDto {
|
|
2014
2055
|
store_id: FlakeId;
|
|
2015
2056
|
/**
|
|
@@ -2540,6 +2581,11 @@ export interface EmailDeliveryDto {
|
|
|
2540
2581
|
*/
|
|
2541
2582
|
opened_at?: string | null;
|
|
2542
2583
|
}
|
|
2584
|
+
export interface EmailDeliveryResult {
|
|
2585
|
+
id: FlakeId;
|
|
2586
|
+
store_id?: FlakeId;
|
|
2587
|
+
email_delivery?: EmailDeliveryDto;
|
|
2588
|
+
}
|
|
2543
2589
|
export type EmailDeliveryStatusDto = "unspecified" | "pending" | "sent" | "delivered" | "deferred" | "bounced" | "dropped" | "failed";
|
|
2544
2590
|
export interface EmailTemplateComponentDto {
|
|
2545
2591
|
tag: string;
|
|
@@ -2571,6 +2617,11 @@ export interface EmailTemplateDto {
|
|
|
2571
2617
|
*/
|
|
2572
2618
|
updated_at?: string | null;
|
|
2573
2619
|
}
|
|
2620
|
+
export interface EmailTemplateResult {
|
|
2621
|
+
id: FlakeId;
|
|
2622
|
+
store_id?: FlakeId;
|
|
2623
|
+
email_template?: EmailTemplateDto;
|
|
2624
|
+
}
|
|
2574
2625
|
export type EmailTemplateStateDto = "unspecified" | "inactive" | "activating" | "active";
|
|
2575
2626
|
export type EmailTemplateTypeDto = "unspecified" | "layout" | "password_reset" | "email_verification" | "email_change" | "email_changed_notification" | "forgot_password" | "logged_in_new_location" | "welcome_login" | "order_completed" | "refund_initiated" | "subscription_canceled" | "subscription_renewal_failed" | "subscription_price_changed" | "subscription_change_verification_code" | "subscription_renewal_upcoming" | "subscription_manage_login" | "subscription_manage_no_history" | "payout_created" | "payout_completed" | "store_invite" | "store_lock_changed" | "abandoned_checkout_recovery_attempt" | "purchase_follow_up_attempt" | "downloadable_file_granted" | "discord_invite_link" | "gift_card_created" | "trial_ending_soon" | "invoice_generated" | "payment_method_type_approval" | "store_trust_event" | "data_subject_request_export_completed";
|
|
2576
2627
|
export interface ExecutedWebhookDto {
|
|
@@ -2989,6 +3040,11 @@ export interface GlobalCommandDto {
|
|
|
2989
3040
|
updated_at?: string | null;
|
|
2990
3041
|
updated_by?: ActorDto;
|
|
2991
3042
|
}
|
|
3043
|
+
export interface GlobalCommandResult {
|
|
3044
|
+
id: FlakeId;
|
|
3045
|
+
store_id?: FlakeId;
|
|
3046
|
+
global_command?: GlobalCommandDto;
|
|
3047
|
+
}
|
|
2992
3048
|
/**
|
|
2993
3049
|
* iDEAL payment method details
|
|
2994
3050
|
*/
|
|
@@ -5981,6 +6037,13 @@ export interface SearchDashboardResponseDto {
|
|
|
5981
6037
|
trials: Array<TrialResult>;
|
|
5982
6038
|
subscriptions: Array<SubscriptionResult>;
|
|
5983
6039
|
bans: Array<BanResult>;
|
|
6040
|
+
api_keys: Array<ApiKeyResult>;
|
|
6041
|
+
tier_groups: Array<TierGroupResult>;
|
|
6042
|
+
custom_variables: Array<CustomVariableResult>;
|
|
6043
|
+
global_commands: Array<GlobalCommandResult>;
|
|
6044
|
+
webhooks: Array<WebhookResult>;
|
|
6045
|
+
email_templates: Array<EmailTemplateResult>;
|
|
6046
|
+
email_deliveries: Array<EmailDeliveryResult>;
|
|
5984
6047
|
facets: {
|
|
5985
6048
|
/**
|
|
5986
6049
|
* @format int64
|
|
@@ -6050,6 +6113,30 @@ export interface SearchDashboardResponseDto {
|
|
|
6050
6113
|
* @format int64
|
|
6051
6114
|
*/
|
|
6052
6115
|
tickets?: number;
|
|
6116
|
+
/**
|
|
6117
|
+
* @format int64
|
|
6118
|
+
*/
|
|
6119
|
+
tier_groups?: number;
|
|
6120
|
+
/**
|
|
6121
|
+
* @format int64
|
|
6122
|
+
*/
|
|
6123
|
+
custom_variables?: number;
|
|
6124
|
+
/**
|
|
6125
|
+
* @format int64
|
|
6126
|
+
*/
|
|
6127
|
+
global_commands?: number;
|
|
6128
|
+
/**
|
|
6129
|
+
* @format int64
|
|
6130
|
+
*/
|
|
6131
|
+
webhooks?: number;
|
|
6132
|
+
/**
|
|
6133
|
+
* @format int64
|
|
6134
|
+
*/
|
|
6135
|
+
email_templates?: number;
|
|
6136
|
+
/**
|
|
6137
|
+
* @format int64
|
|
6138
|
+
*/
|
|
6139
|
+
email_deliveries?: number;
|
|
6053
6140
|
};
|
|
6054
6141
|
}
|
|
6055
6142
|
export interface SetDiscordActionDto {
|
|
@@ -8086,6 +8173,11 @@ export interface TierGroupDto {
|
|
|
8086
8173
|
updated_at?: string | null;
|
|
8087
8174
|
updated_by?: ActorDto;
|
|
8088
8175
|
}
|
|
8176
|
+
export interface TierGroupResult {
|
|
8177
|
+
id: FlakeId;
|
|
8178
|
+
store_id?: FlakeId;
|
|
8179
|
+
tier_group?: TierGroupDto;
|
|
8180
|
+
}
|
|
8089
8181
|
export interface TimeSeriesChartDto {
|
|
8090
8182
|
chart: string;
|
|
8091
8183
|
currency?: string | null;
|
|
@@ -9371,6 +9463,11 @@ export interface WebhookHistoryDto {
|
|
|
9371
9463
|
page: number;
|
|
9372
9464
|
history: Array<QueuedWebhookDto>;
|
|
9373
9465
|
}
|
|
9466
|
+
export interface WebhookResult {
|
|
9467
|
+
id: FlakeId;
|
|
9468
|
+
store_id?: FlakeId;
|
|
9469
|
+
webhook?: WebhookSubscriptionDto;
|
|
9470
|
+
}
|
|
9374
9471
|
/**
|
|
9375
9472
|
* Query parameters
|
|
9376
9473
|
*/
|