@ticketlayer/backstage 0.3.0 → 1.1.0
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/README.md +2 -2
- package/dist/client.d.ts +262 -124
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +146 -53
- package/dist/generated/types.d.ts +1437 -150
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,8 +52,8 @@ npm test # node --test against dist/
|
|
|
52
52
|
`src/client.ts` is generated by `backstage-sdk-tooling` (`tt sdk local`);
|
|
53
53
|
do not edit it by hand. Releases are driven by changesets and
|
|
54
54
|
`.github/workflows/release.yml`, which publishes to npm through trusted
|
|
55
|
-
publishing
|
|
56
|
-
`
|
|
55
|
+
publishing: a GitHub OIDC token, no npm secret. `latest` is 0.3.0.
|
|
56
|
+
`CLAUDE.md` is the working agreement.
|
|
57
57
|
|
|
58
58
|
## Embedding Backstage widgets in your app
|
|
59
59
|
|
package/dist/client.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ type LoginRequest = components['schemas']['LoginRequest'];
|
|
|
11
11
|
type RedeemInvitationRequest = components['schemas']['RedeemInvitationRequest'];
|
|
12
12
|
type RefreshTokenRequest = components['schemas']['RefreshTokenRequest'];
|
|
13
13
|
type SavePaymentMethodRequest = components['schemas']['SavePaymentMethodRequest'];
|
|
14
|
+
type SignUpRequest = components['schemas']['SignUpRequest'];
|
|
14
15
|
type UpdateAutoTopupRequest = components['schemas']['UpdateAutoTopupRequest'];
|
|
15
16
|
type UpdateIdentityProviderRequest = components['schemas']['UpdateIdentityProviderRequest'];
|
|
16
17
|
type UpdateOrganisationRequest = components['schemas']['UpdateOrganisationRequest'];
|
|
@@ -206,6 +207,26 @@ export declare class BackstageClient {
|
|
|
206
207
|
};
|
|
207
208
|
}>;
|
|
208
209
|
};
|
|
210
|
+
signup: {
|
|
211
|
+
signUp: (request: SignUpRequest) => Promise<{
|
|
212
|
+
organisation: {
|
|
213
|
+
id: string;
|
|
214
|
+
name: string;
|
|
215
|
+
slug: string;
|
|
216
|
+
plan: string;
|
|
217
|
+
apiVersion: string;
|
|
218
|
+
};
|
|
219
|
+
owner: {
|
|
220
|
+
id: string;
|
|
221
|
+
email: string;
|
|
222
|
+
};
|
|
223
|
+
account: {
|
|
224
|
+
id: string;
|
|
225
|
+
name: string;
|
|
226
|
+
};
|
|
227
|
+
sandbox: components["schemas"]["SignUpSandbox"];
|
|
228
|
+
}>;
|
|
229
|
+
};
|
|
209
230
|
me: {
|
|
210
231
|
current: () => Promise<{
|
|
211
232
|
id: string;
|
|
@@ -678,6 +699,7 @@ export declare class BackstageClient {
|
|
|
678
699
|
userEmail: string;
|
|
679
700
|
userFirstName?: string;
|
|
680
701
|
userLastName?: string;
|
|
702
|
+
templateName?: "webflow-single-seller" | "venue" | "platform" | "developer";
|
|
681
703
|
}) => Promise<{
|
|
682
704
|
organisation: {
|
|
683
705
|
id: string;
|
|
@@ -699,6 +721,7 @@ export declare class BackstageClient {
|
|
|
699
721
|
[key: string]: unknown;
|
|
700
722
|
};
|
|
701
723
|
apiVersion: string;
|
|
724
|
+
testMode: boolean;
|
|
702
725
|
createdAt: string;
|
|
703
726
|
updatedAt: string;
|
|
704
727
|
}>;
|
|
@@ -712,9 +735,27 @@ export declare class BackstageClient {
|
|
|
712
735
|
[key: string]: unknown;
|
|
713
736
|
};
|
|
714
737
|
apiVersion: string;
|
|
738
|
+
testMode: boolean;
|
|
715
739
|
createdAt: string;
|
|
716
740
|
updatedAt: string;
|
|
717
741
|
}>;
|
|
742
|
+
graduate: (id: string) => Promise<{
|
|
743
|
+
organisation: {
|
|
744
|
+
id: string;
|
|
745
|
+
name: string;
|
|
746
|
+
slug: string;
|
|
747
|
+
};
|
|
748
|
+
alreadyLive: boolean;
|
|
749
|
+
liveKeys: components["schemas"]["GraduatedChannelKey"][];
|
|
750
|
+
signupClaimsGraduated: number;
|
|
751
|
+
}>;
|
|
752
|
+
};
|
|
753
|
+
plan: {
|
|
754
|
+
get: () => Promise<{
|
|
755
|
+
id: string;
|
|
756
|
+
name: string;
|
|
757
|
+
entitlements: components["schemas"]["PlanEntitlements"];
|
|
758
|
+
}>;
|
|
718
759
|
};
|
|
719
760
|
events: ((eventId: string) => {
|
|
720
761
|
occurrences: {
|
|
@@ -2951,6 +2992,17 @@ export declare class BackstageClient {
|
|
|
2951
2992
|
createdAt: string;
|
|
2952
2993
|
updatedAt: string;
|
|
2953
2994
|
}[]>;
|
|
2995
|
+
confirmSandbox: (paymentId: string, request: {
|
|
2996
|
+
token?: string;
|
|
2997
|
+
}) => Promise<{
|
|
2998
|
+
paymentId: string;
|
|
2999
|
+
token: string;
|
|
3000
|
+
outcome: "succeeded" | "failed";
|
|
3001
|
+
webhookEventId: string;
|
|
3002
|
+
ingestStatus: "received" | "duplicate";
|
|
3003
|
+
failureCode?: string;
|
|
3004
|
+
failureMessage?: string;
|
|
3005
|
+
}>;
|
|
2954
3006
|
};
|
|
2955
3007
|
paymentProviders: {
|
|
2956
3008
|
enableTicketlayerPay: (request: {
|
|
@@ -3010,7 +3062,7 @@ export declare class BackstageClient {
|
|
|
3010
3062
|
}>;
|
|
3011
3063
|
create: (request: {
|
|
3012
3064
|
accountId?: string;
|
|
3013
|
-
type: "stripe_connect" | "stripe_direct" | "adyen" | "square" | "paypal" | "cash" | "bank_transfer";
|
|
3065
|
+
type: "stripe_connect" | "stripe_direct" | "adyen" | "square" | "paypal" | "cash" | "bank_transfer" | "sandbox";
|
|
3014
3066
|
name: string;
|
|
3015
3067
|
description?: string;
|
|
3016
3068
|
integrationType?: "ticketlayer_pay" | "self_service";
|
|
@@ -3065,7 +3117,7 @@ export declare class BackstageClient {
|
|
|
3065
3117
|
}>;
|
|
3066
3118
|
list: (options?: {
|
|
3067
3119
|
accountId?: string;
|
|
3068
|
-
type?: "stripe_connect" | "stripe_direct" | "adyen" | "square" | "paypal" | "cash" | "bank_transfer";
|
|
3120
|
+
type?: "stripe_connect" | "stripe_direct" | "adyen" | "square" | "paypal" | "cash" | "bank_transfer" | "sandbox";
|
|
3069
3121
|
status?: "active" | "inactive" | "pending_setup";
|
|
3070
3122
|
paymentType?: "online_card" | "online_bank_transfer" | "online_wallet" | "in_person_card" | "in_person_cash" | "bank_transfer" | "cheque";
|
|
3071
3123
|
isDefault?: string;
|
|
@@ -3403,7 +3455,7 @@ export declare class BackstageClient {
|
|
|
3403
3455
|
};
|
|
3404
3456
|
receivingAccountId: string;
|
|
3405
3457
|
feeProfileId: string | null;
|
|
3406
|
-
|
|
3458
|
+
brandId: string | null;
|
|
3407
3459
|
isActive: boolean;
|
|
3408
3460
|
isDeleted: boolean;
|
|
3409
3461
|
deletedAt: string | null;
|
|
@@ -3450,7 +3502,7 @@ export declare class BackstageClient {
|
|
|
3450
3502
|
};
|
|
3451
3503
|
receivingAccountId: string;
|
|
3452
3504
|
feeProfileId: string | null;
|
|
3453
|
-
|
|
3505
|
+
brandId: string | null;
|
|
3454
3506
|
isActive: boolean;
|
|
3455
3507
|
isDeleted: boolean;
|
|
3456
3508
|
deletedAt: string | null;
|
|
@@ -3497,7 +3549,7 @@ export declare class BackstageClient {
|
|
|
3497
3549
|
};
|
|
3498
3550
|
receivingAccountId: string;
|
|
3499
3551
|
feeProfileId: string | null;
|
|
3500
|
-
|
|
3552
|
+
brandId: string | null;
|
|
3501
3553
|
isActive: boolean;
|
|
3502
3554
|
isDeleted: boolean;
|
|
3503
3555
|
deletedAt: string | null;
|
|
@@ -3540,7 +3592,7 @@ export declare class BackstageClient {
|
|
|
3540
3592
|
receivingAccountId?: string;
|
|
3541
3593
|
feeProfileId?: any;
|
|
3542
3594
|
paymentProviderId?: any;
|
|
3543
|
-
|
|
3595
|
+
brandId?: any;
|
|
3544
3596
|
isActive?: boolean;
|
|
3545
3597
|
}) => Promise<{
|
|
3546
3598
|
id: string;
|
|
@@ -3582,7 +3634,7 @@ export declare class BackstageClient {
|
|
|
3582
3634
|
};
|
|
3583
3635
|
receivingAccountId: string;
|
|
3584
3636
|
feeProfileId: string | null;
|
|
3585
|
-
|
|
3637
|
+
brandId: string | null;
|
|
3586
3638
|
isActive: boolean;
|
|
3587
3639
|
isDeleted: boolean;
|
|
3588
3640
|
deletedAt: string | null;
|
|
@@ -3711,10 +3763,12 @@ export declare class BackstageClient {
|
|
|
3711
3763
|
serviceFeePercent?: number;
|
|
3712
3764
|
serviceFeeFixed?: number;
|
|
3713
3765
|
serviceFeeLabel?: string;
|
|
3766
|
+
feeEarnerAccountId?: any;
|
|
3714
3767
|
}) => Promise<{
|
|
3715
3768
|
id: string;
|
|
3716
3769
|
organisationId: string;
|
|
3717
3770
|
name: string;
|
|
3771
|
+
feeEarnerAccountId: string | null;
|
|
3718
3772
|
serviceFeeEnabled: boolean;
|
|
3719
3773
|
serviceFeePercent: string | null;
|
|
3720
3774
|
serviceFeeFixed: number | null;
|
|
@@ -3728,6 +3782,7 @@ export declare class BackstageClient {
|
|
|
3728
3782
|
id: string;
|
|
3729
3783
|
organisationId: string;
|
|
3730
3784
|
name: string;
|
|
3785
|
+
feeEarnerAccountId: string | null;
|
|
3731
3786
|
serviceFeeEnabled: boolean;
|
|
3732
3787
|
serviceFeePercent: string | null;
|
|
3733
3788
|
serviceFeeFixed: number | null;
|
|
@@ -3741,6 +3796,7 @@ export declare class BackstageClient {
|
|
|
3741
3796
|
id: string;
|
|
3742
3797
|
organisationId: string;
|
|
3743
3798
|
name: string;
|
|
3799
|
+
feeEarnerAccountId: string | null;
|
|
3744
3800
|
serviceFeeEnabled: boolean;
|
|
3745
3801
|
serviceFeePercent: string | null;
|
|
3746
3802
|
serviceFeeFixed: number | null;
|
|
@@ -3756,10 +3812,12 @@ export declare class BackstageClient {
|
|
|
3756
3812
|
serviceFeePercent?: number;
|
|
3757
3813
|
serviceFeeFixed?: number;
|
|
3758
3814
|
serviceFeeLabel?: string;
|
|
3815
|
+
feeEarnerAccountId?: any;
|
|
3759
3816
|
}) => Promise<{
|
|
3760
3817
|
id: string;
|
|
3761
3818
|
organisationId: string;
|
|
3762
3819
|
name: string;
|
|
3820
|
+
feeEarnerAccountId: string | null;
|
|
3763
3821
|
serviceFeeEnabled: boolean;
|
|
3764
3822
|
serviceFeePercent: string | null;
|
|
3765
3823
|
serviceFeeFixed: number | null;
|
|
@@ -3771,14 +3829,15 @@ export declare class BackstageClient {
|
|
|
3771
3829
|
}>;
|
|
3772
3830
|
delete: (profileId: string) => Promise<boolean>;
|
|
3773
3831
|
};
|
|
3774
|
-
|
|
3832
|
+
brands: {
|
|
3775
3833
|
list: () => Promise<{
|
|
3776
3834
|
id: string;
|
|
3777
3835
|
organisationId: string;
|
|
3836
|
+
accountId: string | null;
|
|
3778
3837
|
name: string;
|
|
3779
3838
|
description: string | null;
|
|
3780
|
-
|
|
3781
|
-
|
|
3839
|
+
extendsBrandId: string | null;
|
|
3840
|
+
isBaseBrand: boolean;
|
|
3782
3841
|
isActive: boolean;
|
|
3783
3842
|
brand: {
|
|
3784
3843
|
logoUrl?: string;
|
|
@@ -3826,11 +3885,12 @@ export declare class BackstageClient {
|
|
|
3826
3885
|
}[]>;
|
|
3827
3886
|
create: (request: {
|
|
3828
3887
|
name: string;
|
|
3888
|
+
accountId?: string;
|
|
3829
3889
|
description?: string;
|
|
3830
|
-
|
|
3831
|
-
|
|
3890
|
+
extendsBrandId?: string;
|
|
3891
|
+
isBaseBrand?: boolean;
|
|
3832
3892
|
isActive?: boolean;
|
|
3833
|
-
brand?: components["schemas"]["
|
|
3893
|
+
brand?: components["schemas"]["BrandIdentityInput"];
|
|
3834
3894
|
colors?: components["schemas"]["ThemeColorsInput"];
|
|
3835
3895
|
typography?: components["schemas"]["ThemeTypographyInput"];
|
|
3836
3896
|
shape?: components["schemas"]["ThemeShapeInput"];
|
|
@@ -3838,10 +3898,11 @@ export declare class BackstageClient {
|
|
|
3838
3898
|
}) => Promise<{
|
|
3839
3899
|
id: string;
|
|
3840
3900
|
organisationId: string;
|
|
3901
|
+
accountId: string | null;
|
|
3841
3902
|
name: string;
|
|
3842
3903
|
description: string | null;
|
|
3843
|
-
|
|
3844
|
-
|
|
3904
|
+
extendsBrandId: string | null;
|
|
3905
|
+
isBaseBrand: boolean;
|
|
3845
3906
|
isActive: boolean;
|
|
3846
3907
|
brand: {
|
|
3847
3908
|
logoUrl?: string;
|
|
@@ -3890,10 +3951,11 @@ export declare class BackstageClient {
|
|
|
3890
3951
|
get: (id: string) => Promise<{
|
|
3891
3952
|
id: string;
|
|
3892
3953
|
organisationId: string;
|
|
3954
|
+
accountId: string | null;
|
|
3893
3955
|
name: string;
|
|
3894
3956
|
description: string | null;
|
|
3895
|
-
|
|
3896
|
-
|
|
3957
|
+
extendsBrandId: string | null;
|
|
3958
|
+
isBaseBrand: boolean;
|
|
3897
3959
|
isActive: boolean;
|
|
3898
3960
|
brand: {
|
|
3899
3961
|
logoUrl?: string;
|
|
@@ -3942,10 +4004,10 @@ export declare class BackstageClient {
|
|
|
3942
4004
|
update: (id: string, request: {
|
|
3943
4005
|
name?: string;
|
|
3944
4006
|
description?: any;
|
|
3945
|
-
|
|
3946
|
-
|
|
4007
|
+
extendsBrandId?: any;
|
|
4008
|
+
isBaseBrand?: boolean;
|
|
3947
4009
|
isActive?: boolean;
|
|
3948
|
-
brand?: components["schemas"]["
|
|
4010
|
+
brand?: components["schemas"]["BrandIdentityInput"];
|
|
3949
4011
|
colors?: components["schemas"]["ThemeColorsInput"];
|
|
3950
4012
|
typography?: components["schemas"]["ThemeTypographyInput"];
|
|
3951
4013
|
shape?: components["schemas"]["ThemeShapeInput"];
|
|
@@ -3953,10 +4015,11 @@ export declare class BackstageClient {
|
|
|
3953
4015
|
}) => Promise<{
|
|
3954
4016
|
id: string;
|
|
3955
4017
|
organisationId: string;
|
|
4018
|
+
accountId: string | null;
|
|
3956
4019
|
name: string;
|
|
3957
4020
|
description: string | null;
|
|
3958
|
-
|
|
3959
|
-
|
|
4021
|
+
extendsBrandId: string | null;
|
|
4022
|
+
isBaseBrand: boolean;
|
|
3960
4023
|
isActive: boolean;
|
|
3961
4024
|
brand: {
|
|
3962
4025
|
logoUrl?: string;
|
|
@@ -4006,10 +4069,11 @@ export declare class BackstageClient {
|
|
|
4006
4069
|
resolved: (id: string) => Promise<{
|
|
4007
4070
|
id: string;
|
|
4008
4071
|
organisationId: string;
|
|
4072
|
+
accountId: string | null;
|
|
4009
4073
|
name: string;
|
|
4010
4074
|
description: string | null;
|
|
4011
|
-
|
|
4012
|
-
|
|
4075
|
+
extendsBrandId: string | null;
|
|
4076
|
+
isBaseBrand: boolean;
|
|
4013
4077
|
isActive: boolean;
|
|
4014
4078
|
brand: {
|
|
4015
4079
|
logoUrl?: string;
|
|
@@ -4122,7 +4186,7 @@ export declare class BackstageClient {
|
|
|
4122
4186
|
scopeEventId: string | null;
|
|
4123
4187
|
scopeTicketTypeId: string | null;
|
|
4124
4188
|
scopeChannelId: string | null;
|
|
4125
|
-
|
|
4189
|
+
brandId: string | null;
|
|
4126
4190
|
status: string;
|
|
4127
4191
|
isDefault: boolean;
|
|
4128
4192
|
createdAt: string;
|
|
@@ -4152,7 +4216,7 @@ export declare class BackstageClient {
|
|
|
4152
4216
|
scopeEventId?: any;
|
|
4153
4217
|
scopeTicketTypeId?: any;
|
|
4154
4218
|
scopeChannelId?: any;
|
|
4155
|
-
|
|
4219
|
+
brandId?: any;
|
|
4156
4220
|
status?: "draft" | "active" | "archived";
|
|
4157
4221
|
isDefault?: boolean;
|
|
4158
4222
|
accountId?: any;
|
|
@@ -4190,7 +4254,7 @@ export declare class BackstageClient {
|
|
|
4190
4254
|
scopeEventId: string | null;
|
|
4191
4255
|
scopeTicketTypeId: string | null;
|
|
4192
4256
|
scopeChannelId: string | null;
|
|
4193
|
-
|
|
4257
|
+
brandId: string | null;
|
|
4194
4258
|
status: string;
|
|
4195
4259
|
isDefault: boolean;
|
|
4196
4260
|
createdAt: string;
|
|
@@ -4230,7 +4294,7 @@ export declare class BackstageClient {
|
|
|
4230
4294
|
scopeEventId: string | null;
|
|
4231
4295
|
scopeTicketTypeId: string | null;
|
|
4232
4296
|
scopeChannelId: string | null;
|
|
4233
|
-
|
|
4297
|
+
brandId: string | null;
|
|
4234
4298
|
status: string;
|
|
4235
4299
|
isDefault: boolean;
|
|
4236
4300
|
createdAt: string;
|
|
@@ -4260,7 +4324,7 @@ export declare class BackstageClient {
|
|
|
4260
4324
|
scopeEventId?: any;
|
|
4261
4325
|
scopeTicketTypeId?: any;
|
|
4262
4326
|
scopeChannelId?: any;
|
|
4263
|
-
|
|
4327
|
+
brandId?: any;
|
|
4264
4328
|
status?: "draft" | "active" | "archived";
|
|
4265
4329
|
isDefault?: boolean;
|
|
4266
4330
|
}) => Promise<{
|
|
@@ -4297,7 +4361,7 @@ export declare class BackstageClient {
|
|
|
4297
4361
|
scopeEventId: string | null;
|
|
4298
4362
|
scopeTicketTypeId: string | null;
|
|
4299
4363
|
scopeChannelId: string | null;
|
|
4300
|
-
|
|
4364
|
+
brandId: string | null;
|
|
4301
4365
|
status: string;
|
|
4302
4366
|
isDefault: boolean;
|
|
4303
4367
|
createdAt: string;
|
|
@@ -4324,6 +4388,7 @@ export declare class BackstageClient {
|
|
|
4324
4388
|
gates?: string[];
|
|
4325
4389
|
validFrom?: string;
|
|
4326
4390
|
validUntil?: string;
|
|
4391
|
+
isTest?: boolean;
|
|
4327
4392
|
}) => Promise<any>;
|
|
4328
4393
|
list: () => Promise<any>;
|
|
4329
4394
|
get: (configId: string) => Promise<any>;
|
|
@@ -4345,6 +4410,7 @@ export declare class BackstageClient {
|
|
|
4345
4410
|
gates?: string[];
|
|
4346
4411
|
validFrom?: string;
|
|
4347
4412
|
validUntil?: string;
|
|
4413
|
+
isTest?: boolean;
|
|
4348
4414
|
status?: "active" | "archived";
|
|
4349
4415
|
}) => Promise<any>;
|
|
4350
4416
|
delete: (configId: string) => Promise<any>;
|
|
@@ -4391,99 +4457,97 @@ export declare class BackstageClient {
|
|
|
4391
4457
|
reason?: string;
|
|
4392
4458
|
}) => Promise<any>;
|
|
4393
4459
|
};
|
|
4394
|
-
assets:
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
delete: (id: string) => Promise<boolean>;
|
|
4486
|
-
};
|
|
4460
|
+
assets: {
|
|
4461
|
+
list: (options?: {
|
|
4462
|
+
q?: string;
|
|
4463
|
+
purpose?: string;
|
|
4464
|
+
ownerType?: string;
|
|
4465
|
+
ownerId?: string;
|
|
4466
|
+
accountId?: string;
|
|
4467
|
+
}) => Promise<{
|
|
4468
|
+
id: string;
|
|
4469
|
+
organisationId: string;
|
|
4470
|
+
accountId: string | null;
|
|
4471
|
+
name: string | null;
|
|
4472
|
+
purpose: string;
|
|
4473
|
+
ownerType: string | null;
|
|
4474
|
+
ownerId: string | null;
|
|
4475
|
+
filename: string | null;
|
|
4476
|
+
contentType: string;
|
|
4477
|
+
sizeBytes: number;
|
|
4478
|
+
storageDriver: string;
|
|
4479
|
+
storageBucket: string | null;
|
|
4480
|
+
storageKey: string;
|
|
4481
|
+
url: string;
|
|
4482
|
+
cdn: boolean;
|
|
4483
|
+
cdnUrl: string | null;
|
|
4484
|
+
visibility: string;
|
|
4485
|
+
metadata: {
|
|
4486
|
+
[key: string]: unknown;
|
|
4487
|
+
};
|
|
4488
|
+
uploadedBy: string | null;
|
|
4489
|
+
createdAt: string;
|
|
4490
|
+
updatedAt: string;
|
|
4491
|
+
}[]>;
|
|
4492
|
+
upload: (request: {
|
|
4493
|
+
name?: string;
|
|
4494
|
+
purpose?: "event_image" | "organisation_logo" | "account_logo" | "user_avatar" | "ticket_template_asset" | "rendered_pass" | "rendered_receipt" | "export" | "other";
|
|
4495
|
+
ownerType?: string;
|
|
4496
|
+
ownerId?: string;
|
|
4497
|
+
accountId?: string;
|
|
4498
|
+
visibility?: "public" | "private";
|
|
4499
|
+
cdn?: any;
|
|
4500
|
+
}) => Promise<{
|
|
4501
|
+
id: string;
|
|
4502
|
+
organisationId: string;
|
|
4503
|
+
accountId: string | null;
|
|
4504
|
+
name: string | null;
|
|
4505
|
+
purpose: string;
|
|
4506
|
+
ownerType: string | null;
|
|
4507
|
+
ownerId: string | null;
|
|
4508
|
+
filename: string | null;
|
|
4509
|
+
contentType: string;
|
|
4510
|
+
sizeBytes: number;
|
|
4511
|
+
storageDriver: string;
|
|
4512
|
+
storageBucket: string | null;
|
|
4513
|
+
storageKey: string;
|
|
4514
|
+
url: string;
|
|
4515
|
+
cdn: boolean;
|
|
4516
|
+
cdnUrl: string | null;
|
|
4517
|
+
visibility: string;
|
|
4518
|
+
metadata: {
|
|
4519
|
+
[key: string]: unknown;
|
|
4520
|
+
};
|
|
4521
|
+
uploadedBy: string | null;
|
|
4522
|
+
createdAt: string;
|
|
4523
|
+
updatedAt: string;
|
|
4524
|
+
}>;
|
|
4525
|
+
get: (id: string) => Promise<{
|
|
4526
|
+
id: string;
|
|
4527
|
+
organisationId: string;
|
|
4528
|
+
accountId: string | null;
|
|
4529
|
+
name: string | null;
|
|
4530
|
+
purpose: string;
|
|
4531
|
+
ownerType: string | null;
|
|
4532
|
+
ownerId: string | null;
|
|
4533
|
+
filename: string | null;
|
|
4534
|
+
contentType: string;
|
|
4535
|
+
sizeBytes: number;
|
|
4536
|
+
storageDriver: string;
|
|
4537
|
+
storageBucket: string | null;
|
|
4538
|
+
storageKey: string;
|
|
4539
|
+
url: string;
|
|
4540
|
+
cdn: boolean;
|
|
4541
|
+
cdnUrl: string | null;
|
|
4542
|
+
visibility: string;
|
|
4543
|
+
metadata: {
|
|
4544
|
+
[key: string]: unknown;
|
|
4545
|
+
};
|
|
4546
|
+
uploadedBy: string | null;
|
|
4547
|
+
createdAt: string;
|
|
4548
|
+
updatedAt: string;
|
|
4549
|
+
}>;
|
|
4550
|
+
delete: (id: string) => Promise<boolean>;
|
|
4487
4551
|
};
|
|
4488
4552
|
devicePairing: {
|
|
4489
4553
|
start: (request: {
|
|
@@ -5025,12 +5089,75 @@ export declare class BackstageClient {
|
|
|
5025
5089
|
get: (id: string) => Promise<any>;
|
|
5026
5090
|
revokeConnection: (id: string) => Promise<any>;
|
|
5027
5091
|
};
|
|
5092
|
+
clientVersions: {
|
|
5093
|
+
list: (options?: {
|
|
5094
|
+
days?: number;
|
|
5095
|
+
}) => Promise<{
|
|
5096
|
+
package: string;
|
|
5097
|
+
version: string;
|
|
5098
|
+
datedVersion: string;
|
|
5099
|
+
datedVersionStatus: "current" | "supported" | "deprecated" | "sunset" | "unknown";
|
|
5100
|
+
needsUpgrade: boolean;
|
|
5101
|
+
runtime: string;
|
|
5102
|
+
requestCount: number;
|
|
5103
|
+
firstSeenAt: string;
|
|
5104
|
+
lastSeenAt: string;
|
|
5105
|
+
}[]>;
|
|
5106
|
+
};
|
|
5107
|
+
ledger: {
|
|
5108
|
+
balances: (options?: {
|
|
5109
|
+
accountId: string;
|
|
5110
|
+
currency?: string;
|
|
5111
|
+
asOf?: string;
|
|
5112
|
+
}) => Promise<{
|
|
5113
|
+
accountId: string;
|
|
5114
|
+
asOf: string | null;
|
|
5115
|
+
counterparties: components["schemas"]["LedgerCounterpartyBalance"][];
|
|
5116
|
+
totals: {
|
|
5117
|
+
currency: string;
|
|
5118
|
+
owes: number;
|
|
5119
|
+
owed: number;
|
|
5120
|
+
net: number;
|
|
5121
|
+
}[];
|
|
5122
|
+
}>;
|
|
5123
|
+
statement: (options?: {
|
|
5124
|
+
accountId: string;
|
|
5125
|
+
counterpartyAccountId?: string;
|
|
5126
|
+
currency: string;
|
|
5127
|
+
from?: string;
|
|
5128
|
+
to?: string;
|
|
5129
|
+
}) => Promise<{
|
|
5130
|
+
accountId: string;
|
|
5131
|
+
path: string;
|
|
5132
|
+
currency: string;
|
|
5133
|
+
from: string | null;
|
|
5134
|
+
to: string | null;
|
|
5135
|
+
openingBalance: number;
|
|
5136
|
+
closingBalance: number;
|
|
5137
|
+
lines: components["schemas"]["LedgerStatementLine"][];
|
|
5138
|
+
}>;
|
|
5139
|
+
createSettlement: (request: {
|
|
5140
|
+
payerAccountId: string;
|
|
5141
|
+
payeeAccountId: string;
|
|
5142
|
+
currency: string;
|
|
5143
|
+
amount: number;
|
|
5144
|
+
method: "bank_transfer" | "internal_offset" | "cash" | "other";
|
|
5145
|
+
reference?: string;
|
|
5146
|
+
paidAt?: string;
|
|
5147
|
+
note?: string;
|
|
5148
|
+
}) => Promise<{
|
|
5149
|
+
settlement: components["schemas"]["Settlement"];
|
|
5150
|
+
payable: components["schemas"]["LedgerCounterpartyBalance"];
|
|
5151
|
+
}>;
|
|
5152
|
+
};
|
|
5028
5153
|
sales: {
|
|
5029
5154
|
resolveChannel: (options?: {
|
|
5030
|
-
domain
|
|
5155
|
+
domain?: string;
|
|
5156
|
+
key?: string;
|
|
5031
5157
|
}) => Promise<{
|
|
5032
5158
|
channel: components["schemas"]["SalesChannelSummary"];
|
|
5033
5159
|
publishableKey: string | null;
|
|
5160
|
+
cacheVersion: string;
|
|
5034
5161
|
}>;
|
|
5035
5162
|
get: (eventId: string) => Promise<{
|
|
5036
5163
|
id: string;
|
|
@@ -5204,6 +5331,7 @@ export declare class BackstageClient {
|
|
|
5204
5331
|
totalTax: number;
|
|
5205
5332
|
total: number;
|
|
5206
5333
|
tickets: components["schemas"]["SalesTicket"][];
|
|
5334
|
+
isTest: boolean;
|
|
5207
5335
|
expiresAt: string | null;
|
|
5208
5336
|
createdAt: string;
|
|
5209
5337
|
}[]>;
|
|
@@ -5221,6 +5349,7 @@ export declare class BackstageClient {
|
|
|
5221
5349
|
totalTax: number;
|
|
5222
5350
|
total: number;
|
|
5223
5351
|
tickets: components["schemas"]["SalesTicket"][];
|
|
5352
|
+
isTest: boolean;
|
|
5224
5353
|
expiresAt: string | null;
|
|
5225
5354
|
createdAt: string;
|
|
5226
5355
|
}>;
|
|
@@ -5243,6 +5372,15 @@ export declare class BackstageClient {
|
|
|
5243
5372
|
connectedAccountId: string | null;
|
|
5244
5373
|
providerType: string | null;
|
|
5245
5374
|
}>;
|
|
5375
|
+
confirmSandbox: (orderId: string, paymentId: string, request: {
|
|
5376
|
+
token?: string;
|
|
5377
|
+
}) => Promise<{
|
|
5378
|
+
paymentId: string;
|
|
5379
|
+
outcome: "succeeded" | "failed";
|
|
5380
|
+
ingestStatus: "received" | "duplicate";
|
|
5381
|
+
failureCode: string | null;
|
|
5382
|
+
failureMessage: string | null;
|
|
5383
|
+
}>;
|
|
5246
5384
|
};
|
|
5247
5385
|
salesRefundRequests: {
|
|
5248
5386
|
create: (orderId: string, request: {
|