@farthershore/client 0.7.0 → 0.9.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 +35 -0
- package/README.md +10 -10
- package/dist/index.js +158 -61
- package/dist/types/api.generated.d.ts +61 -25
- package/dist/types/generated/schemas.d.ts +129 -37
- package/dist/types/operations/auth.d.ts +26 -8
- package/dist/types/operations/backends.d.ts +76 -21
- package/dist/types/operations/businesses.d.ts +199 -91
- package/dist/types/operations/consumers.d.ts +2 -2
- package/dist/types/operations/define.d.ts +1 -1
- package/dist/types/operations/index.d.ts +355 -126
- package/dist/types/operations/platform.d.ts +6 -6
- package/dist/types/operations/webhooks.d.ts +64 -2
- package/dist/types/surface-types.d.ts +1 -1
- package/dist/types/surface.d.ts +1 -1
- package/dist/types/types.d.ts +20 -6
- package/dist/types/version.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrandAssetUploadResult, BusinessUpdateInput, PublishBusinessBody } from "../types.js";
|
|
1
|
+
import type { BrandAssetUploadResult, BusinessUpdateInput, PublishBusinessBody, ReleaseBusinessBody } from "../types.js";
|
|
2
2
|
import { type ListQuery } from "./define.js";
|
|
3
3
|
type BusinessRef = {
|
|
4
4
|
businessId: string;
|
|
@@ -21,11 +21,6 @@ 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
|
-
};
|
|
29
24
|
displayName: string | null;
|
|
30
25
|
description: string | null;
|
|
31
26
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -50,17 +45,13 @@ export declare const businessOperations: {
|
|
|
50
45
|
gitRepoFullName: string | null;
|
|
51
46
|
envBranchPrefix: string | null;
|
|
52
47
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
48
|
+
releaseTagPrefix: string;
|
|
53
49
|
createdAt: string;
|
|
54
50
|
updatedAt: string;
|
|
55
51
|
}[], {
|
|
56
52
|
id: string;
|
|
57
53
|
organizationId: string | null;
|
|
58
54
|
name: string;
|
|
59
|
-
sellerLaunchRefusal?: {
|
|
60
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
61
|
-
settingsUrl: string;
|
|
62
|
-
message: string;
|
|
63
|
-
};
|
|
64
55
|
displayName: string | null;
|
|
65
56
|
description: string | null;
|
|
66
57
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -85,6 +76,7 @@ export declare const businessOperations: {
|
|
|
85
76
|
gitRepoFullName: string | null;
|
|
86
77
|
envBranchPrefix: string | null;
|
|
87
78
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
79
|
+
releaseTagPrefix: string;
|
|
88
80
|
createdAt: string;
|
|
89
81
|
updatedAt: string;
|
|
90
82
|
}[], false>;
|
|
@@ -92,11 +84,6 @@ export declare const businessOperations: {
|
|
|
92
84
|
id: string;
|
|
93
85
|
organizationId: string | null;
|
|
94
86
|
name: string;
|
|
95
|
-
sellerLaunchRefusal?: {
|
|
96
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
97
|
-
settingsUrl: string;
|
|
98
|
-
message: string;
|
|
99
|
-
};
|
|
100
87
|
displayName: string | null;
|
|
101
88
|
description: string | null;
|
|
102
89
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -121,21 +108,26 @@ export declare const businessOperations: {
|
|
|
121
108
|
gitRepoFullName: string | null;
|
|
122
109
|
envBranchPrefix: string | null;
|
|
123
110
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
111
|
+
releaseTagPrefix: string;
|
|
124
112
|
createdAt: string;
|
|
125
113
|
updatedAt: string;
|
|
126
114
|
usageUnitLabels?: {
|
|
127
115
|
[key: string]: string;
|
|
128
116
|
};
|
|
129
117
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
118
|
+
launchRequirements: {
|
|
119
|
+
obligation: "account.agreements_accepted" | "seller.details_complete";
|
|
120
|
+
summary: string;
|
|
121
|
+
missing: string[];
|
|
122
|
+
fix: {
|
|
123
|
+
label: string;
|
|
124
|
+
url: string;
|
|
125
|
+
};
|
|
126
|
+
}[];
|
|
130
127
|
}, {
|
|
131
128
|
id: string;
|
|
132
129
|
organizationId: string | null;
|
|
133
130
|
name: string;
|
|
134
|
-
sellerLaunchRefusal?: {
|
|
135
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
136
|
-
settingsUrl: string;
|
|
137
|
-
message: string;
|
|
138
|
-
};
|
|
139
131
|
displayName: string | null;
|
|
140
132
|
description: string | null;
|
|
141
133
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -160,12 +152,22 @@ export declare const businessOperations: {
|
|
|
160
152
|
gitRepoFullName: string | null;
|
|
161
153
|
envBranchPrefix: string | null;
|
|
162
154
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
155
|
+
releaseTagPrefix: string;
|
|
163
156
|
createdAt: string;
|
|
164
157
|
updatedAt: string;
|
|
165
158
|
usageUnitLabels?: {
|
|
166
159
|
[key: string]: string;
|
|
167
160
|
};
|
|
168
161
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
162
|
+
launchRequirements: {
|
|
163
|
+
obligation: "account.agreements_accepted" | "seller.details_complete";
|
|
164
|
+
summary: string;
|
|
165
|
+
missing: string[];
|
|
166
|
+
fix: {
|
|
167
|
+
label: string;
|
|
168
|
+
url: string;
|
|
169
|
+
};
|
|
170
|
+
}[];
|
|
169
171
|
}, false>;
|
|
170
172
|
"businesses.create": import("./define.js").OperationEntry<{
|
|
171
173
|
name: string;
|
|
@@ -183,6 +185,12 @@ export declare const businessOperations: {
|
|
|
183
185
|
instructions: string;
|
|
184
186
|
agentsMdUrl: string;
|
|
185
187
|
};
|
|
188
|
+
defaultKey?: {
|
|
189
|
+
id: string;
|
|
190
|
+
lastFour: string;
|
|
191
|
+
envVars: ["FS_SECRET_KEY"];
|
|
192
|
+
token: string;
|
|
193
|
+
};
|
|
186
194
|
}, {
|
|
187
195
|
business: import("../generated/schemas.js").components["schemas"]["Business"];
|
|
188
196
|
repo: {
|
|
@@ -194,6 +202,12 @@ export declare const businessOperations: {
|
|
|
194
202
|
instructions: string;
|
|
195
203
|
agentsMdUrl: string;
|
|
196
204
|
};
|
|
205
|
+
defaultKey?: {
|
|
206
|
+
id: string;
|
|
207
|
+
lastFour: string;
|
|
208
|
+
envVars: ["FS_SECRET_KEY"];
|
|
209
|
+
token: string;
|
|
210
|
+
};
|
|
197
211
|
}, false>;
|
|
198
212
|
"businesses.routes.read": import("./define.js").OperationEntry<EnvScoped, {
|
|
199
213
|
routes: import("../generated/schemas.js").components["schemas"]["BusinessRoute"][];
|
|
@@ -309,11 +323,6 @@ export declare const businessOperations: {
|
|
|
309
323
|
id: string;
|
|
310
324
|
organizationId: string | null;
|
|
311
325
|
name: string;
|
|
312
|
-
sellerLaunchRefusal?: {
|
|
313
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
314
|
-
settingsUrl: string;
|
|
315
|
-
message: string;
|
|
316
|
-
};
|
|
317
326
|
displayName: string | null;
|
|
318
327
|
description: string | null;
|
|
319
328
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -338,6 +347,72 @@ export declare const businessOperations: {
|
|
|
338
347
|
gitRepoFullName: string | null;
|
|
339
348
|
envBranchPrefix: string | null;
|
|
340
349
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
350
|
+
releaseTagPrefix: string;
|
|
351
|
+
createdAt: string;
|
|
352
|
+
updatedAt: string;
|
|
353
|
+
_release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
|
|
354
|
+
}, {
|
|
355
|
+
id: string;
|
|
356
|
+
organizationId: string | null;
|
|
357
|
+
name: string;
|
|
358
|
+
displayName: string | null;
|
|
359
|
+
description: string | null;
|
|
360
|
+
status: "DRAFT" | "ACTIVE";
|
|
361
|
+
visibility: "PUBLIC" | "PRIVATE";
|
|
362
|
+
runtimeHostname: string | null;
|
|
363
|
+
portalHostname: string | null;
|
|
364
|
+
iconUrl: string | null;
|
|
365
|
+
logoUrl: string | null;
|
|
366
|
+
keyPrefix: string | null;
|
|
367
|
+
allowedOrigins: string[];
|
|
368
|
+
docsEnabled: boolean;
|
|
369
|
+
listedOnOrganizationPage: boolean;
|
|
370
|
+
rbacEnabled: boolean;
|
|
371
|
+
meters: import("../generated/schemas.js").components["schemas"]["BusinessMeter"][];
|
|
372
|
+
plans: import("../generated/schemas.js").components["schemas"]["BusinessPlan"][];
|
|
373
|
+
unreadablePlans?: import("../generated/schemas.js").components["schemas"]["BusinessUnreadablePlan"][];
|
|
374
|
+
rateLimitConfig: import("../generated/schemas.js").components["schemas"]["BusinessRateLimit"] | null;
|
|
375
|
+
publishedRevisionId: string | null;
|
|
376
|
+
latestRevisionId: string | null;
|
|
377
|
+
latestRevisionNumber: number | null;
|
|
378
|
+
latestReleaseVersion: string | null;
|
|
379
|
+
gitRepoFullName: string | null;
|
|
380
|
+
envBranchPrefix: string | null;
|
|
381
|
+
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
382
|
+
releaseTagPrefix: string;
|
|
383
|
+
createdAt: string;
|
|
384
|
+
updatedAt: string;
|
|
385
|
+
_release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
|
|
386
|
+
}, true>;
|
|
387
|
+
"businesses.release": import("./define.js").OperationEntry<BusinessRef & ReleaseBusinessBody, {
|
|
388
|
+
id: string;
|
|
389
|
+
organizationId: string | null;
|
|
390
|
+
name: string;
|
|
391
|
+
displayName: string | null;
|
|
392
|
+
description: string | null;
|
|
393
|
+
status: "DRAFT" | "ACTIVE";
|
|
394
|
+
visibility: "PUBLIC" | "PRIVATE";
|
|
395
|
+
runtimeHostname: string | null;
|
|
396
|
+
portalHostname: string | null;
|
|
397
|
+
iconUrl: string | null;
|
|
398
|
+
logoUrl: string | null;
|
|
399
|
+
keyPrefix: string | null;
|
|
400
|
+
allowedOrigins: string[];
|
|
401
|
+
docsEnabled: boolean;
|
|
402
|
+
listedOnOrganizationPage: boolean;
|
|
403
|
+
rbacEnabled: boolean;
|
|
404
|
+
meters: import("../generated/schemas.js").components["schemas"]["BusinessMeter"][];
|
|
405
|
+
plans: import("../generated/schemas.js").components["schemas"]["BusinessPlan"][];
|
|
406
|
+
unreadablePlans?: import("../generated/schemas.js").components["schemas"]["BusinessUnreadablePlan"][];
|
|
407
|
+
rateLimitConfig: import("../generated/schemas.js").components["schemas"]["BusinessRateLimit"] | null;
|
|
408
|
+
publishedRevisionId: string | null;
|
|
409
|
+
latestRevisionId: string | null;
|
|
410
|
+
latestRevisionNumber: number | null;
|
|
411
|
+
latestReleaseVersion: string | null;
|
|
412
|
+
gitRepoFullName: string | null;
|
|
413
|
+
envBranchPrefix: string | null;
|
|
414
|
+
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
415
|
+
releaseTagPrefix: string;
|
|
341
416
|
createdAt: string;
|
|
342
417
|
updatedAt: string;
|
|
343
418
|
_release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
|
|
@@ -345,11 +420,6 @@ export declare const businessOperations: {
|
|
|
345
420
|
id: string;
|
|
346
421
|
organizationId: string | null;
|
|
347
422
|
name: string;
|
|
348
|
-
sellerLaunchRefusal?: {
|
|
349
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
350
|
-
settingsUrl: string;
|
|
351
|
-
message: string;
|
|
352
|
-
};
|
|
353
423
|
displayName: string | null;
|
|
354
424
|
description: string | null;
|
|
355
425
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -374,6 +444,7 @@ export declare const businessOperations: {
|
|
|
374
444
|
gitRepoFullName: string | null;
|
|
375
445
|
envBranchPrefix: string | null;
|
|
376
446
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
447
|
+
releaseTagPrefix: string;
|
|
377
448
|
createdAt: string;
|
|
378
449
|
updatedAt: string;
|
|
379
450
|
_release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
|
|
@@ -433,11 +504,6 @@ export declare const businessOperations: {
|
|
|
433
504
|
id: string;
|
|
434
505
|
organizationId: string | null;
|
|
435
506
|
name: string;
|
|
436
|
-
sellerLaunchRefusal?: {
|
|
437
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
438
|
-
settingsUrl: string;
|
|
439
|
-
message: string;
|
|
440
|
-
};
|
|
441
507
|
displayName: string | null;
|
|
442
508
|
description: string | null;
|
|
443
509
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -462,17 +528,13 @@ export declare const businessOperations: {
|
|
|
462
528
|
gitRepoFullName: string | null;
|
|
463
529
|
envBranchPrefix: string | null;
|
|
464
530
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
531
|
+
releaseTagPrefix: string;
|
|
465
532
|
createdAt: string;
|
|
466
533
|
updatedAt: string;
|
|
467
534
|
}, {
|
|
468
535
|
id: string;
|
|
469
536
|
organizationId: string | null;
|
|
470
537
|
name: string;
|
|
471
|
-
sellerLaunchRefusal?: {
|
|
472
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
473
|
-
settingsUrl: string;
|
|
474
|
-
message: string;
|
|
475
|
-
};
|
|
476
538
|
displayName: string | null;
|
|
477
539
|
description: string | null;
|
|
478
540
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -497,6 +559,7 @@ export declare const businessOperations: {
|
|
|
497
559
|
gitRepoFullName: string | null;
|
|
498
560
|
envBranchPrefix: string | null;
|
|
499
561
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
562
|
+
releaseTagPrefix: string;
|
|
500
563
|
createdAt: string;
|
|
501
564
|
updatedAt: string;
|
|
502
565
|
}, false>;
|
|
@@ -516,11 +579,6 @@ export declare const businessOperations: {
|
|
|
516
579
|
id: string;
|
|
517
580
|
organizationId: string | null;
|
|
518
581
|
name: string;
|
|
519
|
-
sellerLaunchRefusal?: {
|
|
520
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
521
|
-
settingsUrl: string;
|
|
522
|
-
message: string;
|
|
523
|
-
};
|
|
524
582
|
displayName: string | null;
|
|
525
583
|
description: string | null;
|
|
526
584
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -545,17 +603,80 @@ export declare const businessOperations: {
|
|
|
545
603
|
gitRepoFullName: string | null;
|
|
546
604
|
envBranchPrefix: string | null;
|
|
547
605
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
606
|
+
releaseTagPrefix: string;
|
|
607
|
+
createdAt: string;
|
|
608
|
+
updatedAt: string;
|
|
609
|
+
}, {
|
|
610
|
+
id: string;
|
|
611
|
+
organizationId: string | null;
|
|
612
|
+
name: string;
|
|
613
|
+
displayName: string | null;
|
|
614
|
+
description: string | null;
|
|
615
|
+
status: "DRAFT" | "ACTIVE";
|
|
616
|
+
visibility: "PUBLIC" | "PRIVATE";
|
|
617
|
+
runtimeHostname: string | null;
|
|
618
|
+
portalHostname: string | null;
|
|
619
|
+
iconUrl: string | null;
|
|
620
|
+
logoUrl: string | null;
|
|
621
|
+
keyPrefix: string | null;
|
|
622
|
+
allowedOrigins: string[];
|
|
623
|
+
docsEnabled: boolean;
|
|
624
|
+
listedOnOrganizationPage: boolean;
|
|
625
|
+
rbacEnabled: boolean;
|
|
626
|
+
meters: import("../generated/schemas.js").components["schemas"]["BusinessMeter"][];
|
|
627
|
+
plans: import("../generated/schemas.js").components["schemas"]["BusinessPlan"][];
|
|
628
|
+
unreadablePlans?: import("../generated/schemas.js").components["schemas"]["BusinessUnreadablePlan"][];
|
|
629
|
+
rateLimitConfig: import("../generated/schemas.js").components["schemas"]["BusinessRateLimit"] | null;
|
|
630
|
+
publishedRevisionId: string | null;
|
|
631
|
+
latestRevisionId: string | null;
|
|
632
|
+
latestRevisionNumber: number | null;
|
|
633
|
+
latestReleaseVersion: string | null;
|
|
634
|
+
gitRepoFullName: string | null;
|
|
635
|
+
envBranchPrefix: string | null;
|
|
636
|
+
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
637
|
+
releaseTagPrefix: string;
|
|
638
|
+
createdAt: string;
|
|
639
|
+
updatedAt: string;
|
|
640
|
+
}, false>;
|
|
641
|
+
"businesses.releaseTag.set": import("./define.js").OperationEntry<BusinessRef & {
|
|
642
|
+
env?: string;
|
|
643
|
+
} & {
|
|
644
|
+
body: BusinessUpdateInput;
|
|
645
|
+
}, {
|
|
646
|
+
id: string;
|
|
647
|
+
organizationId: string | null;
|
|
648
|
+
name: string;
|
|
649
|
+
displayName: string | null;
|
|
650
|
+
description: string | null;
|
|
651
|
+
status: "DRAFT" | "ACTIVE";
|
|
652
|
+
visibility: "PUBLIC" | "PRIVATE";
|
|
653
|
+
runtimeHostname: string | null;
|
|
654
|
+
portalHostname: string | null;
|
|
655
|
+
iconUrl: string | null;
|
|
656
|
+
logoUrl: string | null;
|
|
657
|
+
keyPrefix: string | null;
|
|
658
|
+
allowedOrigins: string[];
|
|
659
|
+
docsEnabled: boolean;
|
|
660
|
+
listedOnOrganizationPage: boolean;
|
|
661
|
+
rbacEnabled: boolean;
|
|
662
|
+
meters: import("../generated/schemas.js").components["schemas"]["BusinessMeter"][];
|
|
663
|
+
plans: import("../generated/schemas.js").components["schemas"]["BusinessPlan"][];
|
|
664
|
+
unreadablePlans?: import("../generated/schemas.js").components["schemas"]["BusinessUnreadablePlan"][];
|
|
665
|
+
rateLimitConfig: import("../generated/schemas.js").components["schemas"]["BusinessRateLimit"] | null;
|
|
666
|
+
publishedRevisionId: string | null;
|
|
667
|
+
latestRevisionId: string | null;
|
|
668
|
+
latestRevisionNumber: number | null;
|
|
669
|
+
latestReleaseVersion: string | null;
|
|
670
|
+
gitRepoFullName: string | null;
|
|
671
|
+
envBranchPrefix: string | null;
|
|
672
|
+
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
673
|
+
releaseTagPrefix: string;
|
|
548
674
|
createdAt: string;
|
|
549
675
|
updatedAt: string;
|
|
550
676
|
}, {
|
|
551
677
|
id: string;
|
|
552
678
|
organizationId: string | null;
|
|
553
679
|
name: string;
|
|
554
|
-
sellerLaunchRefusal?: {
|
|
555
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
556
|
-
settingsUrl: string;
|
|
557
|
-
message: string;
|
|
558
|
-
};
|
|
559
680
|
displayName: string | null;
|
|
560
681
|
description: string | null;
|
|
561
682
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -580,6 +701,7 @@ export declare const businessOperations: {
|
|
|
580
701
|
gitRepoFullName: string | null;
|
|
581
702
|
envBranchPrefix: string | null;
|
|
582
703
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
704
|
+
releaseTagPrefix: string;
|
|
583
705
|
createdAt: string;
|
|
584
706
|
updatedAt: string;
|
|
585
707
|
}, false>;
|
|
@@ -587,11 +709,6 @@ export declare const businessOperations: {
|
|
|
587
709
|
id: string;
|
|
588
710
|
organizationId: string | null;
|
|
589
711
|
name: string;
|
|
590
|
-
sellerLaunchRefusal?: {
|
|
591
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
592
|
-
settingsUrl: string;
|
|
593
|
-
message: string;
|
|
594
|
-
};
|
|
595
712
|
displayName: string | null;
|
|
596
713
|
description: string | null;
|
|
597
714
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -616,17 +733,13 @@ export declare const businessOperations: {
|
|
|
616
733
|
gitRepoFullName: string | null;
|
|
617
734
|
envBranchPrefix: string | null;
|
|
618
735
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
736
|
+
releaseTagPrefix: string;
|
|
619
737
|
createdAt: string;
|
|
620
738
|
updatedAt: string;
|
|
621
739
|
}, {
|
|
622
740
|
id: string;
|
|
623
741
|
organizationId: string | null;
|
|
624
742
|
name: string;
|
|
625
|
-
sellerLaunchRefusal?: {
|
|
626
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
627
|
-
settingsUrl: string;
|
|
628
|
-
message: string;
|
|
629
|
-
};
|
|
630
743
|
displayName: string | null;
|
|
631
744
|
description: string | null;
|
|
632
745
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -651,6 +764,7 @@ export declare const businessOperations: {
|
|
|
651
764
|
gitRepoFullName: string | null;
|
|
652
765
|
envBranchPrefix: string | null;
|
|
653
766
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
767
|
+
releaseTagPrefix: string;
|
|
654
768
|
createdAt: string;
|
|
655
769
|
updatedAt: string;
|
|
656
770
|
}, false>;
|
|
@@ -658,11 +772,6 @@ export declare const businessOperations: {
|
|
|
658
772
|
id: string;
|
|
659
773
|
organizationId: string | null;
|
|
660
774
|
name: string;
|
|
661
|
-
sellerLaunchRefusal?: {
|
|
662
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
663
|
-
settingsUrl: string;
|
|
664
|
-
message: string;
|
|
665
|
-
};
|
|
666
775
|
displayName: string | null;
|
|
667
776
|
description: string | null;
|
|
668
777
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -687,17 +796,13 @@ export declare const businessOperations: {
|
|
|
687
796
|
gitRepoFullName: string | null;
|
|
688
797
|
envBranchPrefix: string | null;
|
|
689
798
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
799
|
+
releaseTagPrefix: string;
|
|
690
800
|
createdAt: string;
|
|
691
801
|
updatedAt: string;
|
|
692
802
|
}, {
|
|
693
803
|
id: string;
|
|
694
804
|
organizationId: string | null;
|
|
695
805
|
name: string;
|
|
696
|
-
sellerLaunchRefusal?: {
|
|
697
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
698
|
-
settingsUrl: string;
|
|
699
|
-
message: string;
|
|
700
|
-
};
|
|
701
806
|
displayName: string | null;
|
|
702
807
|
description: string | null;
|
|
703
808
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -722,6 +827,7 @@ export declare const businessOperations: {
|
|
|
722
827
|
gitRepoFullName: string | null;
|
|
723
828
|
envBranchPrefix: string | null;
|
|
724
829
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
830
|
+
releaseTagPrefix: string;
|
|
725
831
|
createdAt: string;
|
|
726
832
|
updatedAt: string;
|
|
727
833
|
}, false>;
|
|
@@ -733,11 +839,6 @@ export declare const businessOperations: {
|
|
|
733
839
|
id: string;
|
|
734
840
|
organizationId: string | null;
|
|
735
841
|
name: string;
|
|
736
|
-
sellerLaunchRefusal?: {
|
|
737
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
738
|
-
settingsUrl: string;
|
|
739
|
-
message: string;
|
|
740
|
-
};
|
|
741
842
|
displayName: string | null;
|
|
742
843
|
description: string | null;
|
|
743
844
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -762,17 +863,13 @@ export declare const businessOperations: {
|
|
|
762
863
|
gitRepoFullName: string | null;
|
|
763
864
|
envBranchPrefix: string | null;
|
|
764
865
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
866
|
+
releaseTagPrefix: string;
|
|
765
867
|
createdAt: string;
|
|
766
868
|
updatedAt: string;
|
|
767
869
|
}, {
|
|
768
870
|
id: string;
|
|
769
871
|
organizationId: string | null;
|
|
770
872
|
name: string;
|
|
771
|
-
sellerLaunchRefusal?: {
|
|
772
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
773
|
-
settingsUrl: string;
|
|
774
|
-
message: string;
|
|
775
|
-
};
|
|
776
873
|
displayName: string | null;
|
|
777
874
|
description: string | null;
|
|
778
875
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -797,6 +894,7 @@ export declare const businessOperations: {
|
|
|
797
894
|
gitRepoFullName: string | null;
|
|
798
895
|
envBranchPrefix: string | null;
|
|
799
896
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
897
|
+
releaseTagPrefix: string;
|
|
800
898
|
createdAt: string;
|
|
801
899
|
updatedAt: string;
|
|
802
900
|
}, false>;
|
|
@@ -804,11 +902,6 @@ export declare const businessOperations: {
|
|
|
804
902
|
id: string;
|
|
805
903
|
organizationId: string | null;
|
|
806
904
|
name: string;
|
|
807
|
-
sellerLaunchRefusal?: {
|
|
808
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
809
|
-
settingsUrl: string;
|
|
810
|
-
message: string;
|
|
811
|
-
};
|
|
812
905
|
displayName: string | null;
|
|
813
906
|
description: string | null;
|
|
814
907
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -833,21 +926,26 @@ export declare const businessOperations: {
|
|
|
833
926
|
gitRepoFullName: string | null;
|
|
834
927
|
envBranchPrefix: string | null;
|
|
835
928
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
929
|
+
releaseTagPrefix: string;
|
|
836
930
|
createdAt: string;
|
|
837
931
|
updatedAt: string;
|
|
838
932
|
usageUnitLabels?: {
|
|
839
933
|
[key: string]: string;
|
|
840
934
|
};
|
|
841
935
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
936
|
+
launchRequirements: {
|
|
937
|
+
obligation: "account.agreements_accepted" | "seller.details_complete";
|
|
938
|
+
summary: string;
|
|
939
|
+
missing: string[];
|
|
940
|
+
fix: {
|
|
941
|
+
label: string;
|
|
942
|
+
url: string;
|
|
943
|
+
};
|
|
944
|
+
}[];
|
|
842
945
|
}, {
|
|
843
946
|
id: string;
|
|
844
947
|
organizationId: string | null;
|
|
845
948
|
name: string;
|
|
846
|
-
sellerLaunchRefusal?: {
|
|
847
|
-
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
848
|
-
settingsUrl: string;
|
|
849
|
-
message: string;
|
|
850
|
-
};
|
|
851
949
|
displayName: string | null;
|
|
852
950
|
description: string | null;
|
|
853
951
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -872,12 +970,22 @@ export declare const businessOperations: {
|
|
|
872
970
|
gitRepoFullName: string | null;
|
|
873
971
|
envBranchPrefix: string | null;
|
|
874
972
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
973
|
+
releaseTagPrefix: string;
|
|
875
974
|
createdAt: string;
|
|
876
975
|
updatedAt: string;
|
|
877
976
|
usageUnitLabels?: {
|
|
878
977
|
[key: string]: string;
|
|
879
978
|
};
|
|
880
979
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
980
|
+
launchRequirements: {
|
|
981
|
+
obligation: "account.agreements_accepted" | "seller.details_complete";
|
|
982
|
+
summary: string;
|
|
983
|
+
missing: string[];
|
|
984
|
+
fix: {
|
|
985
|
+
label: string;
|
|
986
|
+
url: string;
|
|
987
|
+
};
|
|
988
|
+
}[];
|
|
881
989
|
}, false>;
|
|
882
990
|
"businesses.rbac.enable": import("./define.js").OperationEntry<BusinessRef, {
|
|
883
991
|
rbacEnabled: boolean;
|
|
@@ -91,7 +91,7 @@ export declare const consumerOperations: {
|
|
|
91
91
|
subjectBusinessId: string;
|
|
92
92
|
subjectSubscriberId: string;
|
|
93
93
|
subjectPersonId: string | null;
|
|
94
|
-
requestedBy: "self";
|
|
94
|
+
requestedBy: "builder" | "self";
|
|
95
95
|
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
96
96
|
stepsCompleted: string[];
|
|
97
97
|
code: string | null;
|
|
@@ -106,7 +106,7 @@ export declare const consumerOperations: {
|
|
|
106
106
|
subjectBusinessId: string;
|
|
107
107
|
subjectSubscriberId: string;
|
|
108
108
|
subjectPersonId: string | null;
|
|
109
|
-
requestedBy: "self";
|
|
109
|
+
requestedBy: "builder" | "self";
|
|
110
110
|
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
111
111
|
stepsCompleted: string[];
|
|
112
112
|
code: string | null;
|
|
@@ -74,7 +74,7 @@ export type OutputOf<E> = E extends OperationEntry<never, infer O, any> ? O : ne
|
|
|
74
74
|
/**
|
|
75
75
|
* Encode one caller-supplied value without letting it alter the path shape.
|
|
76
76
|
* `encodeURIComponent` leaves `.` and `..` intact, and URL normalization would
|
|
77
|
-
* resolve them against the route (`/businesses/b/
|
|
77
|
+
* resolve them against the route (`/businesses/b/secret-keys/..` is
|
|
78
78
|
* `/businesses/b/`), so those, empty values and non-strings are refused: the
|
|
79
79
|
* request a value builds must be the route the operation names.
|
|
80
80
|
*/
|