@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
|
@@ -43,6 +43,7 @@ export declare const auditNotificationOperations: {
|
|
|
43
43
|
usage?: boolean;
|
|
44
44
|
access?: boolean;
|
|
45
45
|
product?: boolean;
|
|
46
|
+
marketing?: boolean;
|
|
46
47
|
deployments?: boolean;
|
|
47
48
|
team?: boolean;
|
|
48
49
|
security?: boolean;
|
|
@@ -54,6 +55,7 @@ export declare const auditNotificationOperations: {
|
|
|
54
55
|
usage?: boolean;
|
|
55
56
|
access?: boolean;
|
|
56
57
|
product?: boolean;
|
|
58
|
+
marketing?: boolean;
|
|
57
59
|
deployments?: boolean;
|
|
58
60
|
team?: boolean;
|
|
59
61
|
security?: boolean;
|
|
@@ -70,6 +72,7 @@ export declare const auditNotificationOperations: {
|
|
|
70
72
|
usage?: boolean;
|
|
71
73
|
access?: boolean;
|
|
72
74
|
product?: boolean;
|
|
75
|
+
marketing?: boolean;
|
|
73
76
|
deployments?: boolean;
|
|
74
77
|
team?: boolean;
|
|
75
78
|
security?: boolean;
|
|
@@ -81,6 +84,7 @@ export declare const auditNotificationOperations: {
|
|
|
81
84
|
usage?: boolean;
|
|
82
85
|
access?: boolean;
|
|
83
86
|
product?: boolean;
|
|
87
|
+
marketing?: boolean;
|
|
84
88
|
deployments?: boolean;
|
|
85
89
|
team?: boolean;
|
|
86
90
|
security?: boolean;
|
|
@@ -1,5 +1,180 @@
|
|
|
1
1
|
import type { CallerContext } from "../types.js";
|
|
2
2
|
export declare const authOperations: {
|
|
3
|
+
"account.erasure.read": import("./define.js").OperationEntry<void, {
|
|
4
|
+
id: string;
|
|
5
|
+
subjectKind: "builder_account";
|
|
6
|
+
subjectUserId: string;
|
|
7
|
+
requestedBy: "self" | "provider_event";
|
|
8
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
9
|
+
stepsCompleted: string[];
|
|
10
|
+
code: string | null;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
updatedAt: string;
|
|
13
|
+
completedAt: string | null;
|
|
14
|
+
} | null, {
|
|
15
|
+
id: string;
|
|
16
|
+
subjectKind: "builder_account";
|
|
17
|
+
subjectUserId: string;
|
|
18
|
+
requestedBy: "self" | "provider_event";
|
|
19
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
20
|
+
stepsCompleted: string[];
|
|
21
|
+
code: string | null;
|
|
22
|
+
createdAt: string;
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
completedAt: string | null;
|
|
25
|
+
} | null, false>;
|
|
26
|
+
"personalData.export": import("./define.js").OperationEntry<void, {
|
|
27
|
+
formatVersion: 1;
|
|
28
|
+
generatedAt: string;
|
|
29
|
+
profile: {
|
|
30
|
+
id: string;
|
|
31
|
+
primaryEmail: string | null;
|
|
32
|
+
displayName: string;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
lastSeenAt: string | null;
|
|
35
|
+
};
|
|
36
|
+
organizations: {
|
|
37
|
+
organization: {
|
|
38
|
+
id: string;
|
|
39
|
+
name: string;
|
|
40
|
+
slug: string;
|
|
41
|
+
deletedAt: string | null;
|
|
42
|
+
};
|
|
43
|
+
role: {
|
|
44
|
+
key: string;
|
|
45
|
+
name: string;
|
|
46
|
+
};
|
|
47
|
+
createdAt: string;
|
|
48
|
+
}[];
|
|
49
|
+
legalAcceptances: {
|
|
50
|
+
document: string;
|
|
51
|
+
version: string;
|
|
52
|
+
acceptedAt: string;
|
|
53
|
+
surface: string;
|
|
54
|
+
}[];
|
|
55
|
+
notificationPreferences: {
|
|
56
|
+
businessId: string | null;
|
|
57
|
+
recipientOrganizationId: string | null;
|
|
58
|
+
emailOptOut: boolean;
|
|
59
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
60
|
+
}[];
|
|
61
|
+
credentials: {
|
|
62
|
+
apps: {
|
|
63
|
+
id: string;
|
|
64
|
+
name: string;
|
|
65
|
+
clientKind: string;
|
|
66
|
+
scopes: string[];
|
|
67
|
+
organizationId: string | null;
|
|
68
|
+
createdAt: string;
|
|
69
|
+
lastUsedAt: string | null;
|
|
70
|
+
revokedAt: string | null;
|
|
71
|
+
}[];
|
|
72
|
+
api: {
|
|
73
|
+
id: string;
|
|
74
|
+
name: string;
|
|
75
|
+
organizationId: string;
|
|
76
|
+
grantedPermissions: string[];
|
|
77
|
+
businessScopeMode: string;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
lastUsedAt: string | null;
|
|
80
|
+
revokedAt: string | null;
|
|
81
|
+
}[];
|
|
82
|
+
};
|
|
83
|
+
recentAudit: {
|
|
84
|
+
limit: number;
|
|
85
|
+
hasMore: boolean;
|
|
86
|
+
entries: {
|
|
87
|
+
id: string;
|
|
88
|
+
action: string;
|
|
89
|
+
createdAt: string;
|
|
90
|
+
}[];
|
|
91
|
+
};
|
|
92
|
+
}, {
|
|
93
|
+
formatVersion: 1;
|
|
94
|
+
generatedAt: string;
|
|
95
|
+
profile: {
|
|
96
|
+
id: string;
|
|
97
|
+
primaryEmail: string | null;
|
|
98
|
+
displayName: string;
|
|
99
|
+
createdAt: string;
|
|
100
|
+
lastSeenAt: string | null;
|
|
101
|
+
};
|
|
102
|
+
organizations: {
|
|
103
|
+
organization: {
|
|
104
|
+
id: string;
|
|
105
|
+
name: string;
|
|
106
|
+
slug: string;
|
|
107
|
+
deletedAt: string | null;
|
|
108
|
+
};
|
|
109
|
+
role: {
|
|
110
|
+
key: string;
|
|
111
|
+
name: string;
|
|
112
|
+
};
|
|
113
|
+
createdAt: string;
|
|
114
|
+
}[];
|
|
115
|
+
legalAcceptances: {
|
|
116
|
+
document: string;
|
|
117
|
+
version: string;
|
|
118
|
+
acceptedAt: string;
|
|
119
|
+
surface: string;
|
|
120
|
+
}[];
|
|
121
|
+
notificationPreferences: {
|
|
122
|
+
businessId: string | null;
|
|
123
|
+
recipientOrganizationId: string | null;
|
|
124
|
+
emailOptOut: boolean;
|
|
125
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
126
|
+
}[];
|
|
127
|
+
credentials: {
|
|
128
|
+
apps: {
|
|
129
|
+
id: string;
|
|
130
|
+
name: string;
|
|
131
|
+
clientKind: string;
|
|
132
|
+
scopes: string[];
|
|
133
|
+
organizationId: string | null;
|
|
134
|
+
createdAt: string;
|
|
135
|
+
lastUsedAt: string | null;
|
|
136
|
+
revokedAt: string | null;
|
|
137
|
+
}[];
|
|
138
|
+
api: {
|
|
139
|
+
id: string;
|
|
140
|
+
name: string;
|
|
141
|
+
organizationId: string;
|
|
142
|
+
grantedPermissions: string[];
|
|
143
|
+
businessScopeMode: string;
|
|
144
|
+
createdAt: string;
|
|
145
|
+
lastUsedAt: string | null;
|
|
146
|
+
revokedAt: string | null;
|
|
147
|
+
}[];
|
|
148
|
+
};
|
|
149
|
+
recentAudit: {
|
|
150
|
+
limit: number;
|
|
151
|
+
hasMore: boolean;
|
|
152
|
+
entries: {
|
|
153
|
+
id: string;
|
|
154
|
+
action: string;
|
|
155
|
+
createdAt: string;
|
|
156
|
+
}[];
|
|
157
|
+
};
|
|
158
|
+
}, false>;
|
|
159
|
+
"platform.legal.read": import("./define.js").OperationEntry<void, {
|
|
160
|
+
accepted: ("terms" | "privacy" | "acceptableUse")[];
|
|
161
|
+
outstanding: ("terms" | "privacy" | "acceptableUse")[];
|
|
162
|
+
requiredVersions: {
|
|
163
|
+
terms: string;
|
|
164
|
+
privacy: string;
|
|
165
|
+
acceptableUse: string;
|
|
166
|
+
};
|
|
167
|
+
dashboardUrl: string;
|
|
168
|
+
}, {
|
|
169
|
+
accepted: ("terms" | "privacy" | "acceptableUse")[];
|
|
170
|
+
outstanding: ("terms" | "privacy" | "acceptableUse")[];
|
|
171
|
+
requiredVersions: {
|
|
172
|
+
terms: string;
|
|
173
|
+
privacy: string;
|
|
174
|
+
acceptableUse: string;
|
|
175
|
+
};
|
|
176
|
+
dashboardUrl: string;
|
|
177
|
+
}, false>;
|
|
3
178
|
"auth.context.read": import("./define.js").OperationEntry<void, CallerContext, CallerContext, false>;
|
|
4
179
|
"auth.context.issue": import("./define.js").OperationEntry<{
|
|
5
180
|
businessId: string;
|
|
@@ -21,6 +21,11 @@ export declare const businessOperations: {
|
|
|
21
21
|
id: string;
|
|
22
22
|
organizationId: string | null;
|
|
23
23
|
name: string;
|
|
24
|
+
sellerLaunchRefusal?: {
|
|
25
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
26
|
+
settingsUrl: string;
|
|
27
|
+
message: string;
|
|
28
|
+
};
|
|
24
29
|
displayName: string | null;
|
|
25
30
|
description: string | null;
|
|
26
31
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -51,6 +56,11 @@ export declare const businessOperations: {
|
|
|
51
56
|
id: string;
|
|
52
57
|
organizationId: string | null;
|
|
53
58
|
name: string;
|
|
59
|
+
sellerLaunchRefusal?: {
|
|
60
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
61
|
+
settingsUrl: string;
|
|
62
|
+
message: string;
|
|
63
|
+
};
|
|
54
64
|
displayName: string | null;
|
|
55
65
|
description: string | null;
|
|
56
66
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -82,6 +92,11 @@ export declare const businessOperations: {
|
|
|
82
92
|
id: string;
|
|
83
93
|
organizationId: string | null;
|
|
84
94
|
name: string;
|
|
95
|
+
sellerLaunchRefusal?: {
|
|
96
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
97
|
+
settingsUrl: string;
|
|
98
|
+
message: string;
|
|
99
|
+
};
|
|
85
100
|
displayName: string | null;
|
|
86
101
|
description: string | null;
|
|
87
102
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -116,6 +131,11 @@ export declare const businessOperations: {
|
|
|
116
131
|
id: string;
|
|
117
132
|
organizationId: string | null;
|
|
118
133
|
name: string;
|
|
134
|
+
sellerLaunchRefusal?: {
|
|
135
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
136
|
+
settingsUrl: string;
|
|
137
|
+
message: string;
|
|
138
|
+
};
|
|
119
139
|
displayName: string | null;
|
|
120
140
|
description: string | null;
|
|
121
141
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -289,6 +309,11 @@ export declare const businessOperations: {
|
|
|
289
309
|
id: string;
|
|
290
310
|
organizationId: string | null;
|
|
291
311
|
name: string;
|
|
312
|
+
sellerLaunchRefusal?: {
|
|
313
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
314
|
+
settingsUrl: string;
|
|
315
|
+
message: string;
|
|
316
|
+
};
|
|
292
317
|
displayName: string | null;
|
|
293
318
|
description: string | null;
|
|
294
319
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -320,6 +345,11 @@ export declare const businessOperations: {
|
|
|
320
345
|
id: string;
|
|
321
346
|
organizationId: string | null;
|
|
322
347
|
name: string;
|
|
348
|
+
sellerLaunchRefusal?: {
|
|
349
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
350
|
+
settingsUrl: string;
|
|
351
|
+
message: string;
|
|
352
|
+
};
|
|
323
353
|
displayName: string | null;
|
|
324
354
|
description: string | null;
|
|
325
355
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -403,6 +433,11 @@ export declare const businessOperations: {
|
|
|
403
433
|
id: string;
|
|
404
434
|
organizationId: string | null;
|
|
405
435
|
name: string;
|
|
436
|
+
sellerLaunchRefusal?: {
|
|
437
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
438
|
+
settingsUrl: string;
|
|
439
|
+
message: string;
|
|
440
|
+
};
|
|
406
441
|
displayName: string | null;
|
|
407
442
|
description: string | null;
|
|
408
443
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -433,6 +468,11 @@ export declare const businessOperations: {
|
|
|
433
468
|
id: string;
|
|
434
469
|
organizationId: string | null;
|
|
435
470
|
name: string;
|
|
471
|
+
sellerLaunchRefusal?: {
|
|
472
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
473
|
+
settingsUrl: string;
|
|
474
|
+
message: string;
|
|
475
|
+
};
|
|
436
476
|
displayName: string | null;
|
|
437
477
|
description: string | null;
|
|
438
478
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -476,6 +516,11 @@ export declare const businessOperations: {
|
|
|
476
516
|
id: string;
|
|
477
517
|
organizationId: string | null;
|
|
478
518
|
name: string;
|
|
519
|
+
sellerLaunchRefusal?: {
|
|
520
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
521
|
+
settingsUrl: string;
|
|
522
|
+
message: string;
|
|
523
|
+
};
|
|
479
524
|
displayName: string | null;
|
|
480
525
|
description: string | null;
|
|
481
526
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -506,6 +551,11 @@ export declare const businessOperations: {
|
|
|
506
551
|
id: string;
|
|
507
552
|
organizationId: string | null;
|
|
508
553
|
name: string;
|
|
554
|
+
sellerLaunchRefusal?: {
|
|
555
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
556
|
+
settingsUrl: string;
|
|
557
|
+
message: string;
|
|
558
|
+
};
|
|
509
559
|
displayName: string | null;
|
|
510
560
|
description: string | null;
|
|
511
561
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -537,6 +587,11 @@ export declare const businessOperations: {
|
|
|
537
587
|
id: string;
|
|
538
588
|
organizationId: string | null;
|
|
539
589
|
name: string;
|
|
590
|
+
sellerLaunchRefusal?: {
|
|
591
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
592
|
+
settingsUrl: string;
|
|
593
|
+
message: string;
|
|
594
|
+
};
|
|
540
595
|
displayName: string | null;
|
|
541
596
|
description: string | null;
|
|
542
597
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -567,6 +622,11 @@ export declare const businessOperations: {
|
|
|
567
622
|
id: string;
|
|
568
623
|
organizationId: string | null;
|
|
569
624
|
name: string;
|
|
625
|
+
sellerLaunchRefusal?: {
|
|
626
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
627
|
+
settingsUrl: string;
|
|
628
|
+
message: string;
|
|
629
|
+
};
|
|
570
630
|
displayName: string | null;
|
|
571
631
|
description: string | null;
|
|
572
632
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -598,6 +658,11 @@ export declare const businessOperations: {
|
|
|
598
658
|
id: string;
|
|
599
659
|
organizationId: string | null;
|
|
600
660
|
name: string;
|
|
661
|
+
sellerLaunchRefusal?: {
|
|
662
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
663
|
+
settingsUrl: string;
|
|
664
|
+
message: string;
|
|
665
|
+
};
|
|
601
666
|
displayName: string | null;
|
|
602
667
|
description: string | null;
|
|
603
668
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -628,6 +693,11 @@ export declare const businessOperations: {
|
|
|
628
693
|
id: string;
|
|
629
694
|
organizationId: string | null;
|
|
630
695
|
name: string;
|
|
696
|
+
sellerLaunchRefusal?: {
|
|
697
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
698
|
+
settingsUrl: string;
|
|
699
|
+
message: string;
|
|
700
|
+
};
|
|
631
701
|
displayName: string | null;
|
|
632
702
|
description: string | null;
|
|
633
703
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -663,6 +733,11 @@ export declare const businessOperations: {
|
|
|
663
733
|
id: string;
|
|
664
734
|
organizationId: string | null;
|
|
665
735
|
name: string;
|
|
736
|
+
sellerLaunchRefusal?: {
|
|
737
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
738
|
+
settingsUrl: string;
|
|
739
|
+
message: string;
|
|
740
|
+
};
|
|
666
741
|
displayName: string | null;
|
|
667
742
|
description: string | null;
|
|
668
743
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -693,6 +768,11 @@ export declare const businessOperations: {
|
|
|
693
768
|
id: string;
|
|
694
769
|
organizationId: string | null;
|
|
695
770
|
name: string;
|
|
771
|
+
sellerLaunchRefusal?: {
|
|
772
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
773
|
+
settingsUrl: string;
|
|
774
|
+
message: string;
|
|
775
|
+
};
|
|
696
776
|
displayName: string | null;
|
|
697
777
|
description: string | null;
|
|
698
778
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -724,6 +804,11 @@ export declare const businessOperations: {
|
|
|
724
804
|
id: string;
|
|
725
805
|
organizationId: string | null;
|
|
726
806
|
name: string;
|
|
807
|
+
sellerLaunchRefusal?: {
|
|
808
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
809
|
+
settingsUrl: string;
|
|
810
|
+
message: string;
|
|
811
|
+
};
|
|
727
812
|
displayName: string | null;
|
|
728
813
|
description: string | null;
|
|
729
814
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -758,6 +843,11 @@ export declare const businessOperations: {
|
|
|
758
843
|
id: string;
|
|
759
844
|
organizationId: string | null;
|
|
760
845
|
name: string;
|
|
846
|
+
sellerLaunchRefusal?: {
|
|
847
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
848
|
+
settingsUrl: string;
|
|
849
|
+
message: string;
|
|
850
|
+
};
|
|
761
851
|
displayName: string | null;
|
|
762
852
|
description: string | null;
|
|
763
853
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -6,6 +6,114 @@ type RoleRef = SubscriberRef & {
|
|
|
6
6
|
roleKey: string;
|
|
7
7
|
};
|
|
8
8
|
export declare const consumerOperations: {
|
|
9
|
+
"consumers.data.export": import("./define.js").OperationEntry<SubscriberRef, {
|
|
10
|
+
formatVersion: 1;
|
|
11
|
+
generatedAt: string;
|
|
12
|
+
businessId: string;
|
|
13
|
+
truncated: boolean;
|
|
14
|
+
profile: {
|
|
15
|
+
id: string;
|
|
16
|
+
kind: string;
|
|
17
|
+
name: string | null;
|
|
18
|
+
email: string | null;
|
|
19
|
+
createdAt: string;
|
|
20
|
+
};
|
|
21
|
+
subscriptions: {
|
|
22
|
+
id: string;
|
|
23
|
+
status: string;
|
|
24
|
+
compiledPlanId: string | null;
|
|
25
|
+
}[];
|
|
26
|
+
apiKeys: {
|
|
27
|
+
name: string | null;
|
|
28
|
+
createdAt: string;
|
|
29
|
+
lastUsedAt: string | null;
|
|
30
|
+
}[];
|
|
31
|
+
legalAcceptances: {
|
|
32
|
+
ref: string;
|
|
33
|
+
version: string;
|
|
34
|
+
acceptedAt: string;
|
|
35
|
+
}[];
|
|
36
|
+
notificationPreferences: {
|
|
37
|
+
recipientId: string;
|
|
38
|
+
emailOptOut: boolean;
|
|
39
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
40
|
+
}[];
|
|
41
|
+
marketingEnabled: boolean;
|
|
42
|
+
membership: {
|
|
43
|
+
email: string | null;
|
|
44
|
+
role: string;
|
|
45
|
+
createdAt: string;
|
|
46
|
+
} | null;
|
|
47
|
+
}, {
|
|
48
|
+
formatVersion: 1;
|
|
49
|
+
generatedAt: string;
|
|
50
|
+
businessId: string;
|
|
51
|
+
truncated: boolean;
|
|
52
|
+
profile: {
|
|
53
|
+
id: string;
|
|
54
|
+
kind: string;
|
|
55
|
+
name: string | null;
|
|
56
|
+
email: string | null;
|
|
57
|
+
createdAt: string;
|
|
58
|
+
};
|
|
59
|
+
subscriptions: {
|
|
60
|
+
id: string;
|
|
61
|
+
status: string;
|
|
62
|
+
compiledPlanId: string | null;
|
|
63
|
+
}[];
|
|
64
|
+
apiKeys: {
|
|
65
|
+
name: string | null;
|
|
66
|
+
createdAt: string;
|
|
67
|
+
lastUsedAt: string | null;
|
|
68
|
+
}[];
|
|
69
|
+
legalAcceptances: {
|
|
70
|
+
ref: string;
|
|
71
|
+
version: string;
|
|
72
|
+
acceptedAt: string;
|
|
73
|
+
}[];
|
|
74
|
+
notificationPreferences: {
|
|
75
|
+
recipientId: string;
|
|
76
|
+
emailOptOut: boolean;
|
|
77
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
78
|
+
}[];
|
|
79
|
+
marketingEnabled: boolean;
|
|
80
|
+
membership: {
|
|
81
|
+
email: string | null;
|
|
82
|
+
role: string;
|
|
83
|
+
createdAt: string;
|
|
84
|
+
} | null;
|
|
85
|
+
}, false>;
|
|
86
|
+
"consumers.data.erasure.read": import("./define.js").OperationEntry<SubscriberRef, {
|
|
87
|
+
id: string;
|
|
88
|
+
subjectKind: "customer_for_business";
|
|
89
|
+
subjectUserId: null;
|
|
90
|
+
customerScopeKey: string;
|
|
91
|
+
subjectBusinessId: string;
|
|
92
|
+
subjectSubscriberId: string;
|
|
93
|
+
subjectPersonId: string | null;
|
|
94
|
+
requestedBy: "self";
|
|
95
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
96
|
+
stepsCompleted: string[];
|
|
97
|
+
code: string | null;
|
|
98
|
+
createdAt: string;
|
|
99
|
+
updatedAt: string;
|
|
100
|
+
completedAt: string | null;
|
|
101
|
+
} | null, {
|
|
102
|
+
id: string;
|
|
103
|
+
subjectKind: "customer_for_business";
|
|
104
|
+
subjectUserId: null;
|
|
105
|
+
customerScopeKey: string;
|
|
106
|
+
subjectBusinessId: string;
|
|
107
|
+
subjectSubscriberId: string;
|
|
108
|
+
subjectPersonId: string | null;
|
|
109
|
+
requestedBy: "self";
|
|
110
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
111
|
+
stepsCompleted: string[];
|
|
112
|
+
code: string | null;
|
|
113
|
+
createdAt: string;
|
|
114
|
+
updatedAt: string;
|
|
115
|
+
completedAt: string | null;
|
|
116
|
+
} | null, false>;
|
|
9
117
|
"consumers.read": import("./define.js").OperationEntry<{
|
|
10
118
|
businessId: string;
|
|
11
119
|
env?: string;
|