@farthershore/client 0.6.0 → 0.7.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/CHANGELOG.md +7 -2
- package/LICENSE +21 -0
- package/README.md +1 -1
- package/dist/index.js +212 -2
- package/dist/types/api.generated.d.ts +62 -0
- package/dist/types/generated/schemas.d.ts +55 -4
- package/dist/types/operations/audit-notifications.d.ts +4 -0
- package/dist/types/operations/auth.d.ts +175 -0
- package/dist/types/operations/businesses.d.ts +90 -0
- package/dist/types/operations/consumers.d.ts +108 -0
- package/dist/types/operations/index.d.ts +392 -0
- package/dist/types/operations/organizations.d.ts +7 -0
- package/dist/types/types.d.ts +8 -0
- package/dist/types/version.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1894,6 +1894,15 @@ export declare const OPERATION_TABLE: {
|
|
|
1894
1894
|
items: import("../generated/schemas.js").components["schemas"]["OrganizationBulletinPost"][];
|
|
1895
1895
|
nextCursor: string | null;
|
|
1896
1896
|
}, false>;
|
|
1897
|
+
"organizations.sellerDetails.read": import("./define.js").OperationEntry<{
|
|
1898
|
+
organizationId: string;
|
|
1899
|
+
}, {
|
|
1900
|
+
sellerIdentity: import("../generated/schemas.js").components["schemas"]["SellerIdentity"] | null;
|
|
1901
|
+
status: "not_connected" | "incomplete" | "complete";
|
|
1902
|
+
}, {
|
|
1903
|
+
sellerIdentity: import("../generated/schemas.js").components["schemas"]["SellerIdentity"] | null;
|
|
1904
|
+
status: "not_connected" | "incomplete" | "complete";
|
|
1905
|
+
}, false>;
|
|
1897
1906
|
"organizations.role.list": import("./define.js").OperationEntry<{
|
|
1898
1907
|
organizationId: string;
|
|
1899
1908
|
} & {
|
|
@@ -2469,6 +2478,120 @@ export declare const OPERATION_TABLE: {
|
|
|
2469
2478
|
businessId: string;
|
|
2470
2479
|
environment: string;
|
|
2471
2480
|
}, void, void, false>;
|
|
2481
|
+
"consumers.data.export": import("./define.js").OperationEntry<{
|
|
2482
|
+
businessId: string;
|
|
2483
|
+
subscriberId: string;
|
|
2484
|
+
}, {
|
|
2485
|
+
formatVersion: 1;
|
|
2486
|
+
generatedAt: string;
|
|
2487
|
+
businessId: string;
|
|
2488
|
+
truncated: boolean;
|
|
2489
|
+
profile: {
|
|
2490
|
+
id: string;
|
|
2491
|
+
kind: string;
|
|
2492
|
+
name: string | null;
|
|
2493
|
+
email: string | null;
|
|
2494
|
+
createdAt: string;
|
|
2495
|
+
};
|
|
2496
|
+
subscriptions: {
|
|
2497
|
+
id: string;
|
|
2498
|
+
status: string;
|
|
2499
|
+
compiledPlanId: string | null;
|
|
2500
|
+
}[];
|
|
2501
|
+
apiKeys: {
|
|
2502
|
+
name: string | null;
|
|
2503
|
+
createdAt: string;
|
|
2504
|
+
lastUsedAt: string | null;
|
|
2505
|
+
}[];
|
|
2506
|
+
legalAcceptances: {
|
|
2507
|
+
ref: string;
|
|
2508
|
+
version: string;
|
|
2509
|
+
acceptedAt: string;
|
|
2510
|
+
}[];
|
|
2511
|
+
notificationPreferences: {
|
|
2512
|
+
recipientId: string;
|
|
2513
|
+
emailOptOut: boolean;
|
|
2514
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
2515
|
+
}[];
|
|
2516
|
+
marketingEnabled: boolean;
|
|
2517
|
+
membership: {
|
|
2518
|
+
email: string | null;
|
|
2519
|
+
role: string;
|
|
2520
|
+
createdAt: string;
|
|
2521
|
+
} | null;
|
|
2522
|
+
}, {
|
|
2523
|
+
formatVersion: 1;
|
|
2524
|
+
generatedAt: string;
|
|
2525
|
+
businessId: string;
|
|
2526
|
+
truncated: boolean;
|
|
2527
|
+
profile: {
|
|
2528
|
+
id: string;
|
|
2529
|
+
kind: string;
|
|
2530
|
+
name: string | null;
|
|
2531
|
+
email: string | null;
|
|
2532
|
+
createdAt: string;
|
|
2533
|
+
};
|
|
2534
|
+
subscriptions: {
|
|
2535
|
+
id: string;
|
|
2536
|
+
status: string;
|
|
2537
|
+
compiledPlanId: string | null;
|
|
2538
|
+
}[];
|
|
2539
|
+
apiKeys: {
|
|
2540
|
+
name: string | null;
|
|
2541
|
+
createdAt: string;
|
|
2542
|
+
lastUsedAt: string | null;
|
|
2543
|
+
}[];
|
|
2544
|
+
legalAcceptances: {
|
|
2545
|
+
ref: string;
|
|
2546
|
+
version: string;
|
|
2547
|
+
acceptedAt: string;
|
|
2548
|
+
}[];
|
|
2549
|
+
notificationPreferences: {
|
|
2550
|
+
recipientId: string;
|
|
2551
|
+
emailOptOut: boolean;
|
|
2552
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
2553
|
+
}[];
|
|
2554
|
+
marketingEnabled: boolean;
|
|
2555
|
+
membership: {
|
|
2556
|
+
email: string | null;
|
|
2557
|
+
role: string;
|
|
2558
|
+
createdAt: string;
|
|
2559
|
+
} | null;
|
|
2560
|
+
}, false>;
|
|
2561
|
+
"consumers.data.erasure.read": import("./define.js").OperationEntry<{
|
|
2562
|
+
businessId: string;
|
|
2563
|
+
subscriberId: string;
|
|
2564
|
+
}, {
|
|
2565
|
+
id: string;
|
|
2566
|
+
subjectKind: "customer_for_business";
|
|
2567
|
+
subjectUserId: null;
|
|
2568
|
+
customerScopeKey: string;
|
|
2569
|
+
subjectBusinessId: string;
|
|
2570
|
+
subjectSubscriberId: string;
|
|
2571
|
+
subjectPersonId: string | null;
|
|
2572
|
+
requestedBy: "self";
|
|
2573
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
2574
|
+
stepsCompleted: string[];
|
|
2575
|
+
code: string | null;
|
|
2576
|
+
createdAt: string;
|
|
2577
|
+
updatedAt: string;
|
|
2578
|
+
completedAt: string | null;
|
|
2579
|
+
} | null, {
|
|
2580
|
+
id: string;
|
|
2581
|
+
subjectKind: "customer_for_business";
|
|
2582
|
+
subjectUserId: null;
|
|
2583
|
+
customerScopeKey: string;
|
|
2584
|
+
subjectBusinessId: string;
|
|
2585
|
+
subjectSubscriberId: string;
|
|
2586
|
+
subjectPersonId: string | null;
|
|
2587
|
+
requestedBy: "self";
|
|
2588
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
2589
|
+
stepsCompleted: string[];
|
|
2590
|
+
code: string | null;
|
|
2591
|
+
createdAt: string;
|
|
2592
|
+
updatedAt: string;
|
|
2593
|
+
completedAt: string | null;
|
|
2594
|
+
} | null, false>;
|
|
2472
2595
|
"consumers.read": import("./define.js").OperationEntry<{
|
|
2473
2596
|
businessId: string;
|
|
2474
2597
|
env?: string;
|
|
@@ -3177,6 +3300,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3177
3300
|
id: string;
|
|
3178
3301
|
organizationId: string | null;
|
|
3179
3302
|
name: string;
|
|
3303
|
+
sellerLaunchRefusal?: {
|
|
3304
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3305
|
+
settingsUrl: string;
|
|
3306
|
+
message: string;
|
|
3307
|
+
};
|
|
3180
3308
|
displayName: string | null;
|
|
3181
3309
|
description: string | null;
|
|
3182
3310
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3207,6 +3335,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3207
3335
|
id: string;
|
|
3208
3336
|
organizationId: string | null;
|
|
3209
3337
|
name: string;
|
|
3338
|
+
sellerLaunchRefusal?: {
|
|
3339
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3340
|
+
settingsUrl: string;
|
|
3341
|
+
message: string;
|
|
3342
|
+
};
|
|
3210
3343
|
displayName: string | null;
|
|
3211
3344
|
description: string | null;
|
|
3212
3345
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3242,6 +3375,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3242
3375
|
id: string;
|
|
3243
3376
|
organizationId: string | null;
|
|
3244
3377
|
name: string;
|
|
3378
|
+
sellerLaunchRefusal?: {
|
|
3379
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3380
|
+
settingsUrl: string;
|
|
3381
|
+
message: string;
|
|
3382
|
+
};
|
|
3245
3383
|
displayName: string | null;
|
|
3246
3384
|
description: string | null;
|
|
3247
3385
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3276,6 +3414,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3276
3414
|
id: string;
|
|
3277
3415
|
organizationId: string | null;
|
|
3278
3416
|
name: string;
|
|
3417
|
+
sellerLaunchRefusal?: {
|
|
3418
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3419
|
+
settingsUrl: string;
|
|
3420
|
+
message: string;
|
|
3421
|
+
};
|
|
3279
3422
|
displayName: string | null;
|
|
3280
3423
|
description: string | null;
|
|
3281
3424
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3469,6 +3612,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3469
3612
|
id: string;
|
|
3470
3613
|
organizationId: string | null;
|
|
3471
3614
|
name: string;
|
|
3615
|
+
sellerLaunchRefusal?: {
|
|
3616
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3617
|
+
settingsUrl: string;
|
|
3618
|
+
message: string;
|
|
3619
|
+
};
|
|
3472
3620
|
displayName: string | null;
|
|
3473
3621
|
description: string | null;
|
|
3474
3622
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3500,6 +3648,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3500
3648
|
id: string;
|
|
3501
3649
|
organizationId: string | null;
|
|
3502
3650
|
name: string;
|
|
3651
|
+
sellerLaunchRefusal?: {
|
|
3652
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3653
|
+
settingsUrl: string;
|
|
3654
|
+
message: string;
|
|
3655
|
+
};
|
|
3503
3656
|
displayName: string | null;
|
|
3504
3657
|
description: string | null;
|
|
3505
3658
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3589,6 +3742,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3589
3742
|
id: string;
|
|
3590
3743
|
organizationId: string | null;
|
|
3591
3744
|
name: string;
|
|
3745
|
+
sellerLaunchRefusal?: {
|
|
3746
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3747
|
+
settingsUrl: string;
|
|
3748
|
+
message: string;
|
|
3749
|
+
};
|
|
3592
3750
|
displayName: string | null;
|
|
3593
3751
|
description: string | null;
|
|
3594
3752
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3619,6 +3777,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3619
3777
|
id: string;
|
|
3620
3778
|
organizationId: string | null;
|
|
3621
3779
|
name: string;
|
|
3780
|
+
sellerLaunchRefusal?: {
|
|
3781
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3782
|
+
settingsUrl: string;
|
|
3783
|
+
message: string;
|
|
3784
|
+
};
|
|
3622
3785
|
displayName: string | null;
|
|
3623
3786
|
description: string | null;
|
|
3624
3787
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3668,6 +3831,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3668
3831
|
id: string;
|
|
3669
3832
|
organizationId: string | null;
|
|
3670
3833
|
name: string;
|
|
3834
|
+
sellerLaunchRefusal?: {
|
|
3835
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3836
|
+
settingsUrl: string;
|
|
3837
|
+
message: string;
|
|
3838
|
+
};
|
|
3671
3839
|
displayName: string | null;
|
|
3672
3840
|
description: string | null;
|
|
3673
3841
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3698,6 +3866,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3698
3866
|
id: string;
|
|
3699
3867
|
organizationId: string | null;
|
|
3700
3868
|
name: string;
|
|
3869
|
+
sellerLaunchRefusal?: {
|
|
3870
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3871
|
+
settingsUrl: string;
|
|
3872
|
+
message: string;
|
|
3873
|
+
};
|
|
3701
3874
|
displayName: string | null;
|
|
3702
3875
|
description: string | null;
|
|
3703
3876
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3733,6 +3906,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3733
3906
|
id: string;
|
|
3734
3907
|
organizationId: string | null;
|
|
3735
3908
|
name: string;
|
|
3909
|
+
sellerLaunchRefusal?: {
|
|
3910
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3911
|
+
settingsUrl: string;
|
|
3912
|
+
message: string;
|
|
3913
|
+
};
|
|
3736
3914
|
displayName: string | null;
|
|
3737
3915
|
description: string | null;
|
|
3738
3916
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3763,6 +3941,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3763
3941
|
id: string;
|
|
3764
3942
|
organizationId: string | null;
|
|
3765
3943
|
name: string;
|
|
3944
|
+
sellerLaunchRefusal?: {
|
|
3945
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3946
|
+
settingsUrl: string;
|
|
3947
|
+
message: string;
|
|
3948
|
+
};
|
|
3766
3949
|
displayName: string | null;
|
|
3767
3950
|
description: string | null;
|
|
3768
3951
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3798,6 +3981,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3798
3981
|
id: string;
|
|
3799
3982
|
organizationId: string | null;
|
|
3800
3983
|
name: string;
|
|
3984
|
+
sellerLaunchRefusal?: {
|
|
3985
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3986
|
+
settingsUrl: string;
|
|
3987
|
+
message: string;
|
|
3988
|
+
};
|
|
3801
3989
|
displayName: string | null;
|
|
3802
3990
|
description: string | null;
|
|
3803
3991
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3828,6 +4016,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3828
4016
|
id: string;
|
|
3829
4017
|
organizationId: string | null;
|
|
3830
4018
|
name: string;
|
|
4019
|
+
sellerLaunchRefusal?: {
|
|
4020
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4021
|
+
settingsUrl: string;
|
|
4022
|
+
message: string;
|
|
4023
|
+
};
|
|
3831
4024
|
displayName: string | null;
|
|
3832
4025
|
description: string | null;
|
|
3833
4026
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3865,6 +4058,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3865
4058
|
id: string;
|
|
3866
4059
|
organizationId: string | null;
|
|
3867
4060
|
name: string;
|
|
4061
|
+
sellerLaunchRefusal?: {
|
|
4062
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4063
|
+
settingsUrl: string;
|
|
4064
|
+
message: string;
|
|
4065
|
+
};
|
|
3868
4066
|
displayName: string | null;
|
|
3869
4067
|
description: string | null;
|
|
3870
4068
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3895,6 +4093,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3895
4093
|
id: string;
|
|
3896
4094
|
organizationId: string | null;
|
|
3897
4095
|
name: string;
|
|
4096
|
+
sellerLaunchRefusal?: {
|
|
4097
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4098
|
+
settingsUrl: string;
|
|
4099
|
+
message: string;
|
|
4100
|
+
};
|
|
3898
4101
|
displayName: string | null;
|
|
3899
4102
|
description: string | null;
|
|
3900
4103
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3928,6 +4131,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3928
4131
|
id: string;
|
|
3929
4132
|
organizationId: string | null;
|
|
3930
4133
|
name: string;
|
|
4134
|
+
sellerLaunchRefusal?: {
|
|
4135
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4136
|
+
settingsUrl: string;
|
|
4137
|
+
message: string;
|
|
4138
|
+
};
|
|
3931
4139
|
displayName: string | null;
|
|
3932
4140
|
description: string | null;
|
|
3933
4141
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3962,6 +4170,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3962
4170
|
id: string;
|
|
3963
4171
|
organizationId: string | null;
|
|
3964
4172
|
name: string;
|
|
4173
|
+
sellerLaunchRefusal?: {
|
|
4174
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4175
|
+
settingsUrl: string;
|
|
4176
|
+
message: string;
|
|
4177
|
+
};
|
|
3965
4178
|
displayName: string | null;
|
|
3966
4179
|
description: string | null;
|
|
3967
4180
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -4335,6 +4548,181 @@ export declare const OPERATION_TABLE: {
|
|
|
4335
4548
|
revokedAt: string | null;
|
|
4336
4549
|
lastUsedAt: string | null;
|
|
4337
4550
|
}, false>;
|
|
4551
|
+
"account.erasure.read": import("./define.js").OperationEntry<void, {
|
|
4552
|
+
id: string;
|
|
4553
|
+
subjectKind: "builder_account";
|
|
4554
|
+
subjectUserId: string;
|
|
4555
|
+
requestedBy: "self" | "provider_event";
|
|
4556
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
4557
|
+
stepsCompleted: string[];
|
|
4558
|
+
code: string | null;
|
|
4559
|
+
createdAt: string;
|
|
4560
|
+
updatedAt: string;
|
|
4561
|
+
completedAt: string | null;
|
|
4562
|
+
} | null, {
|
|
4563
|
+
id: string;
|
|
4564
|
+
subjectKind: "builder_account";
|
|
4565
|
+
subjectUserId: string;
|
|
4566
|
+
requestedBy: "self" | "provider_event";
|
|
4567
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
4568
|
+
stepsCompleted: string[];
|
|
4569
|
+
code: string | null;
|
|
4570
|
+
createdAt: string;
|
|
4571
|
+
updatedAt: string;
|
|
4572
|
+
completedAt: string | null;
|
|
4573
|
+
} | null, false>;
|
|
4574
|
+
"personalData.export": import("./define.js").OperationEntry<void, {
|
|
4575
|
+
formatVersion: 1;
|
|
4576
|
+
generatedAt: string;
|
|
4577
|
+
profile: {
|
|
4578
|
+
id: string;
|
|
4579
|
+
primaryEmail: string | null;
|
|
4580
|
+
displayName: string;
|
|
4581
|
+
createdAt: string;
|
|
4582
|
+
lastSeenAt: string | null;
|
|
4583
|
+
};
|
|
4584
|
+
organizations: {
|
|
4585
|
+
organization: {
|
|
4586
|
+
id: string;
|
|
4587
|
+
name: string;
|
|
4588
|
+
slug: string;
|
|
4589
|
+
deletedAt: string | null;
|
|
4590
|
+
};
|
|
4591
|
+
role: {
|
|
4592
|
+
key: string;
|
|
4593
|
+
name: string;
|
|
4594
|
+
};
|
|
4595
|
+
createdAt: string;
|
|
4596
|
+
}[];
|
|
4597
|
+
legalAcceptances: {
|
|
4598
|
+
document: string;
|
|
4599
|
+
version: string;
|
|
4600
|
+
acceptedAt: string;
|
|
4601
|
+
surface: string;
|
|
4602
|
+
}[];
|
|
4603
|
+
notificationPreferences: {
|
|
4604
|
+
businessId: string | null;
|
|
4605
|
+
recipientOrganizationId: string | null;
|
|
4606
|
+
emailOptOut: boolean;
|
|
4607
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
4608
|
+
}[];
|
|
4609
|
+
credentials: {
|
|
4610
|
+
apps: {
|
|
4611
|
+
id: string;
|
|
4612
|
+
name: string;
|
|
4613
|
+
clientKind: string;
|
|
4614
|
+
scopes: string[];
|
|
4615
|
+
organizationId: string | null;
|
|
4616
|
+
createdAt: string;
|
|
4617
|
+
lastUsedAt: string | null;
|
|
4618
|
+
revokedAt: string | null;
|
|
4619
|
+
}[];
|
|
4620
|
+
api: {
|
|
4621
|
+
id: string;
|
|
4622
|
+
name: string;
|
|
4623
|
+
organizationId: string;
|
|
4624
|
+
grantedPermissions: string[];
|
|
4625
|
+
businessScopeMode: string;
|
|
4626
|
+
createdAt: string;
|
|
4627
|
+
lastUsedAt: string | null;
|
|
4628
|
+
revokedAt: string | null;
|
|
4629
|
+
}[];
|
|
4630
|
+
};
|
|
4631
|
+
recentAudit: {
|
|
4632
|
+
limit: number;
|
|
4633
|
+
hasMore: boolean;
|
|
4634
|
+
entries: {
|
|
4635
|
+
id: string;
|
|
4636
|
+
action: string;
|
|
4637
|
+
createdAt: string;
|
|
4638
|
+
}[];
|
|
4639
|
+
};
|
|
4640
|
+
}, {
|
|
4641
|
+
formatVersion: 1;
|
|
4642
|
+
generatedAt: string;
|
|
4643
|
+
profile: {
|
|
4644
|
+
id: string;
|
|
4645
|
+
primaryEmail: string | null;
|
|
4646
|
+
displayName: string;
|
|
4647
|
+
createdAt: string;
|
|
4648
|
+
lastSeenAt: string | null;
|
|
4649
|
+
};
|
|
4650
|
+
organizations: {
|
|
4651
|
+
organization: {
|
|
4652
|
+
id: string;
|
|
4653
|
+
name: string;
|
|
4654
|
+
slug: string;
|
|
4655
|
+
deletedAt: string | null;
|
|
4656
|
+
};
|
|
4657
|
+
role: {
|
|
4658
|
+
key: string;
|
|
4659
|
+
name: string;
|
|
4660
|
+
};
|
|
4661
|
+
createdAt: string;
|
|
4662
|
+
}[];
|
|
4663
|
+
legalAcceptances: {
|
|
4664
|
+
document: string;
|
|
4665
|
+
version: string;
|
|
4666
|
+
acceptedAt: string;
|
|
4667
|
+
surface: string;
|
|
4668
|
+
}[];
|
|
4669
|
+
notificationPreferences: {
|
|
4670
|
+
businessId: string | null;
|
|
4671
|
+
recipientOrganizationId: string | null;
|
|
4672
|
+
emailOptOut: boolean;
|
|
4673
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
4674
|
+
}[];
|
|
4675
|
+
credentials: {
|
|
4676
|
+
apps: {
|
|
4677
|
+
id: string;
|
|
4678
|
+
name: string;
|
|
4679
|
+
clientKind: string;
|
|
4680
|
+
scopes: string[];
|
|
4681
|
+
organizationId: string | null;
|
|
4682
|
+
createdAt: string;
|
|
4683
|
+
lastUsedAt: string | null;
|
|
4684
|
+
revokedAt: string | null;
|
|
4685
|
+
}[];
|
|
4686
|
+
api: {
|
|
4687
|
+
id: string;
|
|
4688
|
+
name: string;
|
|
4689
|
+
organizationId: string;
|
|
4690
|
+
grantedPermissions: string[];
|
|
4691
|
+
businessScopeMode: string;
|
|
4692
|
+
createdAt: string;
|
|
4693
|
+
lastUsedAt: string | null;
|
|
4694
|
+
revokedAt: string | null;
|
|
4695
|
+
}[];
|
|
4696
|
+
};
|
|
4697
|
+
recentAudit: {
|
|
4698
|
+
limit: number;
|
|
4699
|
+
hasMore: boolean;
|
|
4700
|
+
entries: {
|
|
4701
|
+
id: string;
|
|
4702
|
+
action: string;
|
|
4703
|
+
createdAt: string;
|
|
4704
|
+
}[];
|
|
4705
|
+
};
|
|
4706
|
+
}, false>;
|
|
4707
|
+
"platform.legal.read": import("./define.js").OperationEntry<void, {
|
|
4708
|
+
accepted: ("terms" | "privacy" | "acceptableUse")[];
|
|
4709
|
+
outstanding: ("terms" | "privacy" | "acceptableUse")[];
|
|
4710
|
+
requiredVersions: {
|
|
4711
|
+
terms: string;
|
|
4712
|
+
privacy: string;
|
|
4713
|
+
acceptableUse: string;
|
|
4714
|
+
};
|
|
4715
|
+
dashboardUrl: string;
|
|
4716
|
+
}, {
|
|
4717
|
+
accepted: ("terms" | "privacy" | "acceptableUse")[];
|
|
4718
|
+
outstanding: ("terms" | "privacy" | "acceptableUse")[];
|
|
4719
|
+
requiredVersions: {
|
|
4720
|
+
terms: string;
|
|
4721
|
+
privacy: string;
|
|
4722
|
+
acceptableUse: string;
|
|
4723
|
+
};
|
|
4724
|
+
dashboardUrl: string;
|
|
4725
|
+
}, false>;
|
|
4338
4726
|
"auth.context.read": import("./define.js").OperationEntry<void, import("../types.js").CallerContext, import("../types.js").CallerContext, false>;
|
|
4339
4727
|
"auth.context.issue": import("./define.js").OperationEntry<{
|
|
4340
4728
|
businessId: string;
|
|
@@ -4421,6 +4809,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4421
4809
|
usage?: boolean;
|
|
4422
4810
|
access?: boolean;
|
|
4423
4811
|
product?: boolean;
|
|
4812
|
+
marketing?: boolean;
|
|
4424
4813
|
deployments?: boolean;
|
|
4425
4814
|
team?: boolean;
|
|
4426
4815
|
security?: boolean;
|
|
@@ -4432,6 +4821,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4432
4821
|
usage?: boolean;
|
|
4433
4822
|
access?: boolean;
|
|
4434
4823
|
product?: boolean;
|
|
4824
|
+
marketing?: boolean;
|
|
4435
4825
|
deployments?: boolean;
|
|
4436
4826
|
team?: boolean;
|
|
4437
4827
|
security?: boolean;
|
|
@@ -4448,6 +4838,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4448
4838
|
usage?: boolean;
|
|
4449
4839
|
access?: boolean;
|
|
4450
4840
|
product?: boolean;
|
|
4841
|
+
marketing?: boolean;
|
|
4451
4842
|
deployments?: boolean;
|
|
4452
4843
|
team?: boolean;
|
|
4453
4844
|
security?: boolean;
|
|
@@ -4459,6 +4850,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4459
4850
|
usage?: boolean;
|
|
4460
4851
|
access?: boolean;
|
|
4461
4852
|
product?: boolean;
|
|
4853
|
+
marketing?: boolean;
|
|
4462
4854
|
deployments?: boolean;
|
|
4463
4855
|
team?: boolean;
|
|
4464
4856
|
security?: boolean;
|
|
@@ -83,6 +83,13 @@ export declare const organizationOperations: {
|
|
|
83
83
|
items: import("../generated/schemas.js").components["schemas"]["OrganizationBulletinPost"][];
|
|
84
84
|
nextCursor: string | null;
|
|
85
85
|
}, false>;
|
|
86
|
+
"organizations.sellerDetails.read": import("./define.js").OperationEntry<OrganizationRef, {
|
|
87
|
+
sellerIdentity: import("../generated/schemas.js").components["schemas"]["SellerIdentity"] | null;
|
|
88
|
+
status: "not_connected" | "incomplete" | "complete";
|
|
89
|
+
}, {
|
|
90
|
+
sellerIdentity: import("../generated/schemas.js").components["schemas"]["SellerIdentity"] | null;
|
|
91
|
+
status: "not_connected" | "incomplete" | "complete";
|
|
92
|
+
}, false>;
|
|
86
93
|
"organizations.role.list": import("./define.js").OperationEntry<OrganizationRef & {
|
|
87
94
|
query?: ListQuery;
|
|
88
95
|
}, {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -365,6 +365,14 @@ export type OrganizationInvitationAcceptResult = Schemas["OrganizationInvitation
|
|
|
365
365
|
export type OrganizationOverview = Schemas["OrganizationOverview"];
|
|
366
366
|
/** `organizations.bulletin.read`: one page of the consolidated bulletin. */
|
|
367
367
|
export type OrganizationBulletin = Schemas["OrganizationBulletin"];
|
|
368
|
+
/**
|
|
369
|
+
* `organizations.sellerDetails.read` / `.update`: the seller details every
|
|
370
|
+
* business in the organization shows customers, and whether checkout shows
|
|
371
|
+
* them yet.
|
|
372
|
+
*/
|
|
373
|
+
export type OrganizationSellerDetails = Schemas["OrganizationSellerDetails"];
|
|
374
|
+
/** Public seller details: legal name, support contact and postal address. */
|
|
375
|
+
export type SellerIdentity = NonNullable<OrganizationSellerDetails["sellerIdentity"]>;
|
|
368
376
|
/** A CLI login's view of itself (`fscli_` session). */
|
|
369
377
|
export type CliSessionContext = {
|
|
370
378
|
kind: "cli_user";
|
package/dist/types/version.d.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* `package.json` by `version.test.ts` and checked in the built bundle by
|
|
4
4
|
* `scripts/check-pack.mjs`.
|
|
5
5
|
*/
|
|
6
|
-
export declare const CLIENT_VERSION = "0.
|
|
6
|
+
export declare const CLIENT_VERSION = "0.7.0";
|
|
7
7
|
/** The `x-fs-client` product token for this package. */
|
|
8
|
-
export declare const CLIENT_PRODUCT = "@farthershore/client/0.
|
|
8
|
+
export declare const CLIENT_PRODUCT = "@farthershore/client/0.7.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farthershore/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Farther Shore API client: the authenticated HTTP transport, credential sources, and typed errors shared by the CLI and agent tooling",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|