@farthershore/client 0.7.0 → 0.8.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.
@@ -2,7 +2,7 @@ type BusinessRef = {
2
2
  businessId: string;
3
3
  };
4
4
  /**
5
- * Backends and runtime tokens are per-(business, environment) rows.
5
+ * Backends and secret keys are per-(business, environment) rows.
6
6
  * `environmentId` filters a listing: an environment id, `"production"` for the
7
7
  * production rows, or omitted for every scope.
8
8
  */
@@ -36,16 +36,24 @@ export declare const backendOperations: {
36
36
  "backends.create": import("./define.js").OperationEntry<BusinessRef & {
37
37
  name: string;
38
38
  slug?: string;
39
- /** `null` (or omitted) is the production scope. */
39
+ /**
40
+ * The environments this deployment serves: all | production |
41
+ * non-production | kind:<kind> | env:<environment>. Default all.
42
+ */
43
+ scope?: string;
44
+ /** One environment directly (= scope env:<environment>). */
40
45
  environmentId?: string | null;
41
46
  transportMode?: "direct" | "tunnel";
42
47
  runner?: "embedded" | "sidecar" | null;
43
48
  runtime?: string | null;
44
49
  originUrl?: string | null;
50
+ /** Per-environment origin (`{env}`) of a non-production / kind: deployment. */
51
+ originTemplate?: string | null;
45
52
  isDefault?: boolean;
46
53
  }, {
47
54
  id: string;
48
55
  businessId: string;
56
+ scope: string;
49
57
  environmentId: string | null;
50
58
  name: string;
51
59
  slug: string;
@@ -53,15 +61,24 @@ export declare const backendOperations: {
53
61
  runner: ("embedded" | "sidecar") | null;
54
62
  runtime: string | null;
55
63
  originUrl: string | null;
64
+ originTemplate: string | null;
56
65
  isDefault: boolean;
57
66
  status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
58
67
  lastSeenAt: string | null;
59
68
  createdAt: string;
60
69
  updated?: true;
70
+ webhookReceiver?: "created" | "kept" | "skipped_at_limit" | "none";
71
+ defaultKey?: {
72
+ id: string;
73
+ lastFour: string;
74
+ envVars: ["FS_SECRET_KEY"];
75
+ token: string;
76
+ };
61
77
  }, {
62
78
  action: "create" | "update";
63
79
  backend: {
64
80
  businessId: string;
81
+ scope: string;
65
82
  environmentId: string | null;
66
83
  name: string;
67
84
  slug: string;
@@ -69,17 +86,30 @@ export declare const backendOperations: {
69
86
  runner: ("embedded" | "sidecar") | null;
70
87
  runtime: string | null;
71
88
  originUrl: string | null;
89
+ originTemplate: string | null;
72
90
  isDefault: boolean;
73
91
  };
74
92
  }, true>;
75
- "backends.bind": import("./define.js").OperationEntry<BusinessRef & {
76
- /** The logical backend slug or id. */
93
+ "backends.bind": import("./define.js").OperationEntry<BusinessRef & ({
94
+ /** The backend slug, or one deployment's id. */
77
95
  backend: string;
96
+ /**
97
+ * Which deployment: all (default for a fixed origin) | production |
98
+ * non-production (default for a template) | kind:<kind> |
99
+ * env:<environment>. Created when the backend has none of that scope.
100
+ */
101
+ scope?: string;
78
102
  environmentId?: string | null;
103
+ } & ({
79
104
  originUrl: string;
80
- }, {
105
+ originTemplate?: never;
106
+ } | {
107
+ originTemplate: string;
108
+ originUrl?: never;
109
+ })), {
81
110
  id: string;
82
111
  businessId: string;
112
+ scope: string;
83
113
  environmentId: string | null;
84
114
  name: string;
85
115
  slug: string;
@@ -87,13 +117,22 @@ export declare const backendOperations: {
87
117
  runner: ("embedded" | "sidecar") | null;
88
118
  runtime: string | null;
89
119
  originUrl: string | null;
120
+ originTemplate: string | null;
90
121
  isDefault: boolean;
91
122
  status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
92
123
  lastSeenAt: string | null;
93
124
  createdAt: string;
125
+ webhookReceiver?: "created" | "kept" | "skipped_at_limit" | "none";
126
+ defaultKey?: {
127
+ id: string;
128
+ lastFour: string;
129
+ envVars: ["FS_SECRET_KEY"];
130
+ token: string;
131
+ };
94
132
  }, {
95
133
  id: string;
96
134
  businessId: string;
135
+ scope: string;
97
136
  environmentId: string | null;
98
137
  name: string;
99
138
  slug: string;
@@ -101,6 +140,7 @@ export declare const backendOperations: {
101
140
  runner: ("embedded" | "sidecar") | null;
102
141
  runtime: string | null;
103
142
  originUrl: string | null;
143
+ originTemplate: string | null;
104
144
  isDefault: boolean;
105
145
  status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
106
146
  lastSeenAt: string | null;
@@ -115,8 +155,8 @@ export declare const backendOperations: {
115
155
  id: string;
116
156
  deleted: true;
117
157
  }, false>;
118
- "runtimeTokens.read": import("./define.js").OperationEntry<ScopeFilter, {
119
- data: import("../generated/schemas.js").components["schemas"]["RuntimeToken"][];
158
+ "secretKeys.read": import("./define.js").OperationEntry<ScopeFilter, {
159
+ data: import("../generated/schemas.js").components["schemas"]["SecretKey"][];
120
160
  pagination: {
121
161
  total: number;
122
162
  limit: number;
@@ -126,7 +166,7 @@ export declare const backendOperations: {
126
166
  scope: "all" | "production" | "environment";
127
167
  environmentId: string | null;
128
168
  }, {
129
- data: import("../generated/schemas.js").components["schemas"]["RuntimeToken"][];
169
+ data: import("../generated/schemas.js").components["schemas"]["SecretKey"][];
130
170
  pagination: {
131
171
  total: number;
132
172
  limit: number;
@@ -136,7 +176,10 @@ export declare const backendOperations: {
136
176
  scope: "all" | "production" | "environment";
137
177
  environmentId: string | null;
138
178
  }, false>;
139
- "runtimeTokens.mint": import("./define.js").OperationEntry<BusinessRef & {
179
+ "secretKeys.mint": import("./define.js").OperationEntry<BusinessRef & {
180
+ /** The environments the key may act for. Default all. */
181
+ scope?: string;
182
+ /** One environment directly (= scope env:<environment>). */
140
183
  environmentId?: string | null;
141
184
  backendId?: string | null;
142
185
  kind?: "live" | "test";
@@ -146,11 +189,13 @@ export declare const backendOperations: {
146
189
  }, {
147
190
  id: string;
148
191
  businessId: string;
192
+ scope: string;
149
193
  environmentId: string | null;
150
194
  backendId: string | null;
195
+ isDefault: boolean;
151
196
  kind: "live" | "test";
152
197
  lastFour: string;
153
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
198
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
154
199
  allowedMeters: string[];
155
200
  allowedRoutes: string[];
156
201
  status: "active" | "revoked";
@@ -158,16 +203,18 @@ export declare const backendOperations: {
158
203
  createdAt: string;
159
204
  revokedAt: string | null;
160
205
  lastUsedAt: string | null;
161
- envVar: "FS_RUNTIME_TOKEN";
206
+ envVar: "FS_SECRET_KEY";
162
207
  token: string;
163
208
  }, {
164
209
  id: string;
165
210
  businessId: string;
211
+ scope: string;
166
212
  environmentId: string | null;
167
213
  backendId: string | null;
214
+ isDefault: boolean;
168
215
  kind: "live" | "test";
169
216
  lastFour: string;
170
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
217
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
171
218
  allowedMeters: string[];
172
219
  allowedRoutes: string[];
173
220
  status: "active" | "revoked";
@@ -175,19 +222,21 @@ export declare const backendOperations: {
175
222
  createdAt: string;
176
223
  revokedAt: string | null;
177
224
  lastUsedAt: string | null;
178
- envVar: "FS_RUNTIME_TOKEN";
225
+ envVar: "FS_SECRET_KEY";
179
226
  token: string;
180
227
  }, false>;
181
- "runtimeTokens.rotate": import("./define.js").OperationEntry<BusinessRef & {
228
+ "secretKeys.rotate": import("./define.js").OperationEntry<BusinessRef & {
182
229
  tokenId: string;
183
230
  }, {
184
231
  id: string;
185
232
  businessId: string;
233
+ scope: string;
186
234
  environmentId: string | null;
187
235
  backendId: string | null;
236
+ isDefault: boolean;
188
237
  kind: "live" | "test";
189
238
  lastFour: string;
190
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
239
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
191
240
  allowedMeters: string[];
192
241
  allowedRoutes: string[];
193
242
  status: "active" | "revoked";
@@ -195,16 +244,18 @@ export declare const backendOperations: {
195
244
  createdAt: string;
196
245
  revokedAt: string | null;
197
246
  lastUsedAt: string | null;
198
- envVar: "FS_RUNTIME_TOKEN";
247
+ envVar: "FS_SECRET_KEY";
199
248
  token: string;
200
249
  }, {
201
250
  id: string;
202
251
  businessId: string;
252
+ scope: string;
203
253
  environmentId: string | null;
204
254
  backendId: string | null;
255
+ isDefault: boolean;
205
256
  kind: "live" | "test";
206
257
  lastFour: string;
207
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
258
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
208
259
  allowedMeters: string[];
209
260
  allowedRoutes: string[];
210
261
  status: "active" | "revoked";
@@ -212,19 +263,21 @@ export declare const backendOperations: {
212
263
  createdAt: string;
213
264
  revokedAt: string | null;
214
265
  lastUsedAt: string | null;
215
- envVar: "FS_RUNTIME_TOKEN";
266
+ envVar: "FS_SECRET_KEY";
216
267
  token: string;
217
268
  }, false>;
218
- "runtimeTokens.revoke": import("./define.js").OperationEntry<BusinessRef & {
269
+ "secretKeys.revoke": import("./define.js").OperationEntry<BusinessRef & {
219
270
  tokenId: string;
220
271
  }, {
221
272
  id: string;
222
273
  businessId: string;
274
+ scope: string;
223
275
  environmentId: string | null;
224
276
  backendId: string | null;
277
+ isDefault: boolean;
225
278
  kind: "live" | "test";
226
279
  lastFour: string;
227
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
280
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
228
281
  allowedMeters: string[];
229
282
  allowedRoutes: string[];
230
283
  status: "active" | "revoked";
@@ -235,11 +288,13 @@ export declare const backendOperations: {
235
288
  }, {
236
289
  id: string;
237
290
  businessId: string;
291
+ scope: string;
238
292
  environmentId: string | null;
239
293
  backendId: string | null;
294
+ isDefault: boolean;
240
295
  kind: "live" | "test";
241
296
  lastFour: string;
242
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
297
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
243
298
  allowedMeters: string[];
244
299
  allowedRoutes: string[];
245
300
  status: "active" | "revoked";
@@ -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";
@@ -56,11 +51,6 @@ export declare const businessOperations: {
56
51
  id: string;
57
52
  organizationId: string | null;
58
53
  name: string;
59
- sellerLaunchRefusal?: {
60
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
61
- settingsUrl: string;
62
- message: string;
63
- };
64
54
  displayName: string | null;
65
55
  description: string | null;
66
56
  status: "DRAFT" | "ACTIVE";
@@ -92,11 +82,6 @@ export declare const businessOperations: {
92
82
  id: string;
93
83
  organizationId: string | null;
94
84
  name: string;
95
- sellerLaunchRefusal?: {
96
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
97
- settingsUrl: string;
98
- message: string;
99
- };
100
85
  displayName: string | null;
101
86
  description: string | null;
102
87
  status: "DRAFT" | "ACTIVE";
@@ -127,15 +112,19 @@ export declare const businessOperations: {
127
112
  [key: string]: string;
128
113
  };
129
114
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
115
+ launchRequirements: {
116
+ obligation: "account.agreements_accepted" | "seller.details_complete";
117
+ summary: string;
118
+ missing: string[];
119
+ fix: {
120
+ label: string;
121
+ url: string;
122
+ };
123
+ }[];
130
124
  }, {
131
125
  id: string;
132
126
  organizationId: string | null;
133
127
  name: string;
134
- sellerLaunchRefusal?: {
135
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
136
- settingsUrl: string;
137
- message: string;
138
- };
139
128
  displayName: string | null;
140
129
  description: string | null;
141
130
  status: "DRAFT" | "ACTIVE";
@@ -166,6 +155,15 @@ export declare const businessOperations: {
166
155
  [key: string]: string;
167
156
  };
168
157
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
158
+ launchRequirements: {
159
+ obligation: "account.agreements_accepted" | "seller.details_complete";
160
+ summary: string;
161
+ missing: string[];
162
+ fix: {
163
+ label: string;
164
+ url: string;
165
+ };
166
+ }[];
169
167
  }, false>;
170
168
  "businesses.create": import("./define.js").OperationEntry<{
171
169
  name: string;
@@ -183,6 +181,12 @@ export declare const businessOperations: {
183
181
  instructions: string;
184
182
  agentsMdUrl: string;
185
183
  };
184
+ defaultKey?: {
185
+ id: string;
186
+ lastFour: string;
187
+ envVars: ["FS_SECRET_KEY"];
188
+ token: string;
189
+ };
186
190
  }, {
187
191
  business: import("../generated/schemas.js").components["schemas"]["Business"];
188
192
  repo: {
@@ -194,6 +198,12 @@ export declare const businessOperations: {
194
198
  instructions: string;
195
199
  agentsMdUrl: string;
196
200
  };
201
+ defaultKey?: {
202
+ id: string;
203
+ lastFour: string;
204
+ envVars: ["FS_SECRET_KEY"];
205
+ token: string;
206
+ };
197
207
  }, false>;
198
208
  "businesses.routes.read": import("./define.js").OperationEntry<EnvScoped, {
199
209
  routes: import("../generated/schemas.js").components["schemas"]["BusinessRoute"][];
@@ -309,11 +319,6 @@ export declare const businessOperations: {
309
319
  id: string;
310
320
  organizationId: string | null;
311
321
  name: string;
312
- sellerLaunchRefusal?: {
313
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
314
- settingsUrl: string;
315
- message: string;
316
- };
317
322
  displayName: string | null;
318
323
  description: string | null;
319
324
  status: "DRAFT" | "ACTIVE";
@@ -345,11 +350,6 @@ export declare const businessOperations: {
345
350
  id: string;
346
351
  organizationId: string | null;
347
352
  name: string;
348
- sellerLaunchRefusal?: {
349
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
350
- settingsUrl: string;
351
- message: string;
352
- };
353
353
  displayName: string | null;
354
354
  description: string | null;
355
355
  status: "DRAFT" | "ACTIVE";
@@ -433,11 +433,6 @@ export declare const businessOperations: {
433
433
  id: string;
434
434
  organizationId: string | null;
435
435
  name: string;
436
- sellerLaunchRefusal?: {
437
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
438
- settingsUrl: string;
439
- message: string;
440
- };
441
436
  displayName: string | null;
442
437
  description: string | null;
443
438
  status: "DRAFT" | "ACTIVE";
@@ -468,11 +463,6 @@ export declare const businessOperations: {
468
463
  id: string;
469
464
  organizationId: string | null;
470
465
  name: string;
471
- sellerLaunchRefusal?: {
472
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
473
- settingsUrl: string;
474
- message: string;
475
- };
476
466
  displayName: string | null;
477
467
  description: string | null;
478
468
  status: "DRAFT" | "ACTIVE";
@@ -516,11 +506,6 @@ export declare const businessOperations: {
516
506
  id: string;
517
507
  organizationId: string | null;
518
508
  name: string;
519
- sellerLaunchRefusal?: {
520
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
521
- settingsUrl: string;
522
- message: string;
523
- };
524
509
  displayName: string | null;
525
510
  description: string | null;
526
511
  status: "DRAFT" | "ACTIVE";
@@ -551,11 +536,6 @@ export declare const businessOperations: {
551
536
  id: string;
552
537
  organizationId: string | null;
553
538
  name: string;
554
- sellerLaunchRefusal?: {
555
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
556
- settingsUrl: string;
557
- message: string;
558
- };
559
539
  displayName: string | null;
560
540
  description: string | null;
561
541
  status: "DRAFT" | "ACTIVE";
@@ -587,11 +567,6 @@ export declare const businessOperations: {
587
567
  id: string;
588
568
  organizationId: string | null;
589
569
  name: string;
590
- sellerLaunchRefusal?: {
591
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
592
- settingsUrl: string;
593
- message: string;
594
- };
595
570
  displayName: string | null;
596
571
  description: string | null;
597
572
  status: "DRAFT" | "ACTIVE";
@@ -622,11 +597,6 @@ export declare const businessOperations: {
622
597
  id: string;
623
598
  organizationId: string | null;
624
599
  name: string;
625
- sellerLaunchRefusal?: {
626
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
627
- settingsUrl: string;
628
- message: string;
629
- };
630
600
  displayName: string | null;
631
601
  description: string | null;
632
602
  status: "DRAFT" | "ACTIVE";
@@ -658,11 +628,6 @@ export declare const businessOperations: {
658
628
  id: string;
659
629
  organizationId: string | null;
660
630
  name: string;
661
- sellerLaunchRefusal?: {
662
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
663
- settingsUrl: string;
664
- message: string;
665
- };
666
631
  displayName: string | null;
667
632
  description: string | null;
668
633
  status: "DRAFT" | "ACTIVE";
@@ -693,11 +658,6 @@ export declare const businessOperations: {
693
658
  id: string;
694
659
  organizationId: string | null;
695
660
  name: string;
696
- sellerLaunchRefusal?: {
697
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
698
- settingsUrl: string;
699
- message: string;
700
- };
701
661
  displayName: string | null;
702
662
  description: string | null;
703
663
  status: "DRAFT" | "ACTIVE";
@@ -733,11 +693,6 @@ export declare const businessOperations: {
733
693
  id: string;
734
694
  organizationId: string | null;
735
695
  name: string;
736
- sellerLaunchRefusal?: {
737
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
738
- settingsUrl: string;
739
- message: string;
740
- };
741
696
  displayName: string | null;
742
697
  description: string | null;
743
698
  status: "DRAFT" | "ACTIVE";
@@ -768,11 +723,6 @@ export declare const businessOperations: {
768
723
  id: string;
769
724
  organizationId: string | null;
770
725
  name: string;
771
- sellerLaunchRefusal?: {
772
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
773
- settingsUrl: string;
774
- message: string;
775
- };
776
726
  displayName: string | null;
777
727
  description: string | null;
778
728
  status: "DRAFT" | "ACTIVE";
@@ -804,11 +754,6 @@ export declare const businessOperations: {
804
754
  id: string;
805
755
  organizationId: string | null;
806
756
  name: string;
807
- sellerLaunchRefusal?: {
808
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
809
- settingsUrl: string;
810
- message: string;
811
- };
812
757
  displayName: string | null;
813
758
  description: string | null;
814
759
  status: "DRAFT" | "ACTIVE";
@@ -839,15 +784,19 @@ export declare const businessOperations: {
839
784
  [key: string]: string;
840
785
  };
841
786
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
787
+ launchRequirements: {
788
+ obligation: "account.agreements_accepted" | "seller.details_complete";
789
+ summary: string;
790
+ missing: string[];
791
+ fix: {
792
+ label: string;
793
+ url: string;
794
+ };
795
+ }[];
842
796
  }, {
843
797
  id: string;
844
798
  organizationId: string | null;
845
799
  name: string;
846
- sellerLaunchRefusal?: {
847
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
848
- settingsUrl: string;
849
- message: string;
850
- };
851
800
  displayName: string | null;
852
801
  description: string | null;
853
802
  status: "DRAFT" | "ACTIVE";
@@ -878,6 +827,15 @@ export declare const businessOperations: {
878
827
  [key: string]: string;
879
828
  };
880
829
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
830
+ launchRequirements: {
831
+ obligation: "account.agreements_accepted" | "seller.details_complete";
832
+ summary: string;
833
+ missing: string[];
834
+ fix: {
835
+ label: string;
836
+ url: string;
837
+ };
838
+ }[];
881
839
  }, false>;
882
840
  "businesses.rbac.enable": import("./define.js").OperationEntry<BusinessRef, {
883
841
  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/runtime-tokens/..` is
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
  */