Skip to content

Commit c80301e

Browse files
Merge branch 'v3' into add-profile-endpoints
2 parents 4ffc5b8 + bd136ef commit c80301e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

index.d.ts

+12-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export enum Env {
1010
export declare interface CommonResponse {
1111
code: number;
1212
message: string;
13+
number?: number;
1314
}
1415

1516
export interface CustomErrorResponse {
@@ -327,6 +328,9 @@ export declare interface Item {
327328
template_id: number | null;
328329
created_at: number;
329330
update_at: number;
331+
branding_id: number;
332+
event_type: string;
333+
is_giftable: boolean;
330334
}
331335

332336
export declare interface AccessType {
@@ -418,10 +422,16 @@ export declare interface GetAccessFee {
418422
expires_at: number;
419423
starts_at: number;
420424
updated_at: number;
425+
title: string;
421426
created_at: number;
427+
merchant_uuid: string;
422428
access_type: AccessType;
429+
plan_switch_enabled: boolean;
423430
item: Item;
424-
trial_period: TrialPeriod;
431+
item_id: number;
432+
next_phase: CurrentPhase | null;
433+
template_id: number | null;
434+
trial_period: TrialPeriod | null;
425435
setup_fee: SetupFee | null;
426436
seasonal_fee: SeasonalFee | null;
427437
external_fees: Array<ExternalFee> | null;
@@ -726,6 +736,7 @@ export interface PurchaseDetails {
726736
export interface PurchaseHistoryCollection {
727737
purchaseDetails: PurchaseDetails;
728738
total: number;
739+
colection: PurchaseDetails[];
729740
}
730741

731742
export interface SetDefaultCard {

0 commit comments

Comments
 (0)