@pithy-sh/core 0.5.0 → 0.6.1
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/dist/capability/manifest.d.ts +13 -2
- package/dist/capability/manifest.d.ts.map +1 -1
- package/dist/capability/manifest.js +15 -6
- package/dist/error/http.d.ts +84 -0
- package/dist/error/http.d.ts.map +1 -1
- package/dist/error/payload.d.ts +168 -0
- package/dist/error/payload.d.ts.map +1 -1
- package/dist/error/payload.js +56 -0
- package/dist/image/storedImage.d.ts +150 -0
- package/dist/image/storedImage.d.ts.map +1 -0
- package/dist/image/storedImage.js +181 -0
- package/dist/logger/record.d.ts +49 -0
- package/dist/logger/record.d.ts.map +1 -1
- package/dist/seed/devLogin.d.ts +16 -9
- package/dist/seed/devLogin.d.ts.map +1 -1
- package/dist/seed/devLogin.js +21 -14
- package/dist/version.generated.d.ts +1 -1
- package/dist/version.generated.js +1 -1
- package/package.json +1 -1
- package/src/capability/manifest.ts +13 -0
- package/src/error/payload.ts +120 -0
- package/src/image/storedImage.ts +209 -0
- package/src/seed/devLogin.ts +22 -16
- package/src/version.generated.ts +1 -1
|
@@ -252,9 +252,16 @@ export declare const CONFIG_SEAMS: {
|
|
|
252
252
|
readonly specifier: "./src/billing/subject";
|
|
253
253
|
readonly describe: "Which organization this caller is acting for. Scaffolded unimplemented — this Worker refuses to boot until src/billing/subject.ts answers it.";
|
|
254
254
|
};
|
|
255
|
+
readonly organizationRoles: {
|
|
256
|
+
readonly binding: "roles";
|
|
257
|
+
readonly module: "src/organization/roles.ts";
|
|
258
|
+
readonly specifier: "./src/organization/roles";
|
|
259
|
+
readonly describe: "Who may do what here. Scaffolded with a starter matrix — the role names and the powers they hold are this product's, and only this project's code can state them.";
|
|
260
|
+
};
|
|
255
261
|
};
|
|
256
262
|
/** Which scaffolded seam a choice needs, by key. */
|
|
257
263
|
export declare const ConfigSeam: z.ZodEnum<{
|
|
264
|
+
organizationRoles: "organizationRoles";
|
|
258
265
|
paymentsSubject: "paymentsSubject";
|
|
259
266
|
}>;
|
|
260
267
|
export type ConfigSeam = z.infer<typeof ConfigSeam>;
|
|
@@ -263,7 +270,7 @@ export declare const ConfigOption: z.ZodObject<{
|
|
|
263
270
|
default: z.ZodOptional<z.ZodType<ConfigOptionValue, unknown, z.core.$ZodTypeInternals<ConfigOptionValue, unknown>>>;
|
|
264
271
|
choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
265
272
|
choicesNeedingCode: z.ZodOptional<z.ZodPipe<z.ZodCustom<Record<string, string>, Record<string, string>>, z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
266
|
-
choicesNeedingSeam: z.ZodOptional<z.ZodPipe<z.ZodCustom<Record<string, "paymentsSubject">, Record<string, "paymentsSubject">>, z.ZodType<Record<string, "paymentsSubject">, Record<string, "paymentsSubject">, z.core.$ZodTypeInternals<Record<string, "paymentsSubject">, Record<string, "paymentsSubject">>>>>;
|
|
273
|
+
choicesNeedingSeam: z.ZodOptional<z.ZodPipe<z.ZodCustom<Record<string, "organizationRoles" | "paymentsSubject">, Record<string, "organizationRoles" | "paymentsSubject">>, z.ZodType<Record<string, "organizationRoles" | "paymentsSubject">, Record<string, "organizationRoles" | "paymentsSubject">, z.core.$ZodTypeInternals<Record<string, "organizationRoles" | "paymentsSubject">, Record<string, "organizationRoles" | "paymentsSubject">>>>>;
|
|
267
274
|
constant: z.ZodOptional<z.ZodEnum<{
|
|
268
275
|
publicOrigin: "publicOrigin";
|
|
269
276
|
}>>;
|
|
@@ -348,13 +355,17 @@ export declare const CapabilityManifest: z.ZodObject<{
|
|
|
348
355
|
documentation: z.ZodURL;
|
|
349
356
|
}, z.core.$strip>], "kind">;
|
|
350
357
|
}, z.core.$strip>>>;
|
|
358
|
+
seams: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
359
|
+
organizationRoles: "organizationRoles";
|
|
360
|
+
paymentsSubject: "paymentsSubject";
|
|
361
|
+
}>>>;
|
|
351
362
|
scaffold: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
352
363
|
configOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
353
364
|
key: z.ZodString;
|
|
354
365
|
default: z.ZodOptional<z.ZodType<ConfigOptionValue, unknown, z.core.$ZodTypeInternals<ConfigOptionValue, unknown>>>;
|
|
355
366
|
choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
356
367
|
choicesNeedingCode: z.ZodOptional<z.ZodPipe<z.ZodCustom<Record<string, string>, Record<string, string>>, z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
357
|
-
choicesNeedingSeam: z.ZodOptional<z.ZodPipe<z.ZodCustom<Record<string, "paymentsSubject">, Record<string, "paymentsSubject">>, z.ZodType<Record<string, "paymentsSubject">, Record<string, "paymentsSubject">, z.core.$ZodTypeInternals<Record<string, "paymentsSubject">, Record<string, "paymentsSubject">>>>>;
|
|
368
|
+
choicesNeedingSeam: z.ZodOptional<z.ZodPipe<z.ZodCustom<Record<string, "organizationRoles" | "paymentsSubject">, Record<string, "organizationRoles" | "paymentsSubject">>, z.ZodType<Record<string, "organizationRoles" | "paymentsSubject">, Record<string, "organizationRoles" | "paymentsSubject">, z.core.$ZodTypeInternals<Record<string, "organizationRoles" | "paymentsSubject">, Record<string, "organizationRoles" | "paymentsSubject">>>>>;
|
|
358
369
|
constant: z.ZodOptional<z.ZodEnum<{
|
|
359
370
|
publicOrigin: "publicOrigin";
|
|
360
371
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../src/capability/manifest.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgDxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,MAAM,iBAAiB,GAAG,M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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuE0D,CAAC;AAC1F,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -336,12 +336,20 @@ const ConfigConstant = z.enum(Object.keys(CONFIG_CONSTANTS)).describe("A constan
|
|
|
336
336
|
* One entry today. Every string in it is this package's, because all four of them reach the adopter's
|
|
337
337
|
* repository unquoted: an identifier, a path, an import specifier, a comment.
|
|
338
338
|
*/
|
|
339
|
-
const CONFIG_SEAMS = {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
339
|
+
const CONFIG_SEAMS = {
|
|
340
|
+
paymentsSubject: {
|
|
341
|
+
binding: "resolveSubject",
|
|
342
|
+
module: "src/billing/subject.ts",
|
|
343
|
+
specifier: "./src/billing/subject",
|
|
344
|
+
describe: "Which organization this caller is acting for. Scaffolded unimplemented — this Worker refuses to boot until src/billing/subject.ts answers it."
|
|
345
|
+
},
|
|
346
|
+
organizationRoles: {
|
|
347
|
+
binding: "roles",
|
|
348
|
+
module: "src/organization/roles.ts",
|
|
349
|
+
specifier: "./src/organization/roles",
|
|
350
|
+
describe: "Who may do what here. Scaffolded with a starter matrix — the role names and the powers they hold are this product's, and only this project's code can state them."
|
|
351
|
+
}
|
|
352
|
+
};
|
|
345
353
|
/** Which scaffolded seam a choice needs, by key. */
|
|
346
354
|
const ConfigSeam = z.enum(Object.keys(CONFIG_SEAMS)).describe("A seam pithy add knows how to scaffold, named from a closed set rather than described.");
|
|
347
355
|
const ConfigOption = z.object({
|
|
@@ -410,6 +418,7 @@ const CapabilityManifest = z.object({
|
|
|
410
418
|
migrationNamespace: z.string().regex(NAMESPACE_PATTERN).optional().describe("Namespace prefix for this capability's migrations — must match the registry's format (e.g. \"auth\")."),
|
|
411
419
|
devSecrets: z.array(DevSecret).default([]).describe("Secrets from this capability's registry whose dev value `pithy add` mints into `.dev.vars`."),
|
|
412
420
|
secrets: z.array(DeclaredSecret).default([]).describe("Every secret from this capability's registry that declares how it comes to exist and how it is replaced. The route `devSecrets` proved: a client reads it without executing the package, so `pithy doctor` says *not set — run this* or *not set — get it here*, and no client keeps its own table of names. A secret declaring neither axis is absent, which reads as *nothing is known*, not as *nothing can help*."),
|
|
421
|
+
seams: z.array(ConfigSeam).default([]).describe("Seams this capability needs **always**, rather than under one choice of one option. `pithy add` writes each module into the Worker, imports it, and passes it to the factory beside the config values — the same machinery `choicesNeedingSeam` drives, without the condition. `organization`'s role catalog is the one: a tenancy capability has no answer to *who may do what* that is not the adopter's, so there is no configuration under which the module is unnecessary and nothing to make it conditional on. Named from `CONFIG_SEAMS`, so nothing a manifest states is written into generated source unquoted (#183)."),
|
|
413
422
|
scaffold: z.array(z.string()).default([]).describe("Human-readable scaffold steps the CLI performs or explains."),
|
|
414
423
|
configOptions: z.array(ConfigOption).default([]).describe("Config options the capability exposes; `pithy add` renders each as `cap({ key: default })`."),
|
|
415
424
|
whenToEnable: z.string().optional().describe("Self-documenting rationale the CLI surfaces when offering this capability.")
|
package/dist/error/http.d.ts
CHANGED
|
@@ -561,6 +561,41 @@ export declare const HttpError: z.ZodCodec<z.ZodUnion<readonly [z.ZodDiscriminat
|
|
|
561
561
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
562
562
|
code: z.ZodLiteral<"controlplane/key_conflict">;
|
|
563
563
|
status: z.ZodLiteral<409>;
|
|
564
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
565
|
+
message: z.ZodString;
|
|
566
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
567
|
+
code: z.ZodLiteral<"organization/not_found">;
|
|
568
|
+
status: z.ZodLiteral<404>;
|
|
569
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
570
|
+
message: z.ZodString;
|
|
571
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
572
|
+
code: z.ZodLiteral<"organization/forbidden">;
|
|
573
|
+
status: z.ZodLiteral<403>;
|
|
574
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
575
|
+
message: z.ZodString;
|
|
576
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
577
|
+
code: z.ZodLiteral<"organization/invalid_role_catalog">;
|
|
578
|
+
status: z.ZodLiteral<400>;
|
|
579
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
580
|
+
message: z.ZodString;
|
|
581
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
582
|
+
code: z.ZodLiteral<"organization/invitation_invalid">;
|
|
583
|
+
status: z.ZodLiteral<400>;
|
|
584
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
585
|
+
message: z.ZodString;
|
|
586
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
587
|
+
code: z.ZodLiteral<"organization/last_administrator">;
|
|
588
|
+
status: z.ZodLiteral<409>;
|
|
589
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
590
|
+
message: z.ZodString;
|
|
591
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
592
|
+
code: z.ZodLiteral<"organization/slug_taken">;
|
|
593
|
+
status: z.ZodLiteral<409>;
|
|
594
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
595
|
+
message: z.ZodString;
|
|
596
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
597
|
+
code: z.ZodLiteral<"organization/nomination_invalid">;
|
|
598
|
+
status: z.ZodLiteral<400>;
|
|
564
599
|
}, z.core.$strip>, z.ZodObject<{
|
|
565
600
|
message: z.ZodString;
|
|
566
601
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
@@ -1400,6 +1435,55 @@ export declare const HttpError: z.ZodCodec<z.ZodUnion<readonly [z.ZodDiscriminat
|
|
|
1400
1435
|
detail: z.ZodOptional<z.ZodString>;
|
|
1401
1436
|
code: z.ZodLiteral<"controlplane/key_conflict">;
|
|
1402
1437
|
status: z.ZodLiteral<409>;
|
|
1438
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1439
|
+
message: z.ZodString;
|
|
1440
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1441
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
code: z.ZodLiteral<"organization/not_found">;
|
|
1444
|
+
status: z.ZodLiteral<404>;
|
|
1445
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1446
|
+
message: z.ZodString;
|
|
1447
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1448
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1450
|
+
code: z.ZodLiteral<"organization/forbidden">;
|
|
1451
|
+
status: z.ZodLiteral<403>;
|
|
1452
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1453
|
+
message: z.ZodString;
|
|
1454
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1455
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
code: z.ZodLiteral<"organization/invalid_role_catalog">;
|
|
1458
|
+
status: z.ZodLiteral<400>;
|
|
1459
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1460
|
+
message: z.ZodString;
|
|
1461
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1462
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1463
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
code: z.ZodLiteral<"organization/invitation_invalid">;
|
|
1465
|
+
status: z.ZodLiteral<400>;
|
|
1466
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1467
|
+
message: z.ZodString;
|
|
1468
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1469
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
code: z.ZodLiteral<"organization/last_administrator">;
|
|
1472
|
+
status: z.ZodLiteral<409>;
|
|
1473
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1474
|
+
message: z.ZodString;
|
|
1475
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1476
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
code: z.ZodLiteral<"organization/slug_taken">;
|
|
1479
|
+
status: z.ZodLiteral<409>;
|
|
1480
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1481
|
+
message: z.ZodString;
|
|
1482
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1483
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
code: z.ZodLiteral<"organization/nomination_invalid">;
|
|
1486
|
+
status: z.ZodLiteral<400>;
|
|
1403
1487
|
}, z.core.$strip>, z.ZodObject<{
|
|
1404
1488
|
message: z.ZodString;
|
|
1405
1489
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
package/dist/error/http.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/error/http.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAA4B,UAAU,EAAmB,MAAM,cAAc,CAAC;AAErF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/error/http.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAA4B,UAAU,EAAmB,MAAM,cAAc,CAAC;AAErF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA8BpB,CAAC;AAeH;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,KAAK,GAAG,UAAU,CAInD;AAED,gGAAgG;AAChG,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,EAAE,OAAO,GAAG,QAAQ,CAKxE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,GAAG,QAAQ,CAElE"}
|
package/dist/error/payload.d.ts
CHANGED
|
@@ -563,6 +563,41 @@ export declare const KitPublicErrorPayload: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
563
563
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
564
564
|
code: z.ZodLiteral<"controlplane/key_conflict">;
|
|
565
565
|
status: z.ZodLiteral<409>;
|
|
566
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
567
|
+
message: z.ZodString;
|
|
568
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
569
|
+
code: z.ZodLiteral<"organization/not_found">;
|
|
570
|
+
status: z.ZodLiteral<404>;
|
|
571
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
572
|
+
message: z.ZodString;
|
|
573
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
574
|
+
code: z.ZodLiteral<"organization/forbidden">;
|
|
575
|
+
status: z.ZodLiteral<403>;
|
|
576
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
577
|
+
message: z.ZodString;
|
|
578
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
579
|
+
code: z.ZodLiteral<"organization/invalid_role_catalog">;
|
|
580
|
+
status: z.ZodLiteral<400>;
|
|
581
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
582
|
+
message: z.ZodString;
|
|
583
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
584
|
+
code: z.ZodLiteral<"organization/invitation_invalid">;
|
|
585
|
+
status: z.ZodLiteral<400>;
|
|
586
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
587
|
+
message: z.ZodString;
|
|
588
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
589
|
+
code: z.ZodLiteral<"organization/last_administrator">;
|
|
590
|
+
status: z.ZodLiteral<409>;
|
|
591
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
592
|
+
message: z.ZodString;
|
|
593
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
594
|
+
code: z.ZodLiteral<"organization/slug_taken">;
|
|
595
|
+
status: z.ZodLiteral<409>;
|
|
596
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
597
|
+
message: z.ZodString;
|
|
598
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
599
|
+
code: z.ZodLiteral<"organization/nomination_invalid">;
|
|
600
|
+
status: z.ZodLiteral<400>;
|
|
566
601
|
}, z.core.$strip>, z.ZodObject<{
|
|
567
602
|
message: z.ZodString;
|
|
568
603
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
@@ -1403,6 +1438,55 @@ export declare const KitErrorPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1403
1438
|
detail: z.ZodOptional<z.ZodString>;
|
|
1404
1439
|
code: z.ZodLiteral<"controlplane/key_conflict">;
|
|
1405
1440
|
status: z.ZodLiteral<409>;
|
|
1441
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1442
|
+
message: z.ZodString;
|
|
1443
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1444
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1445
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1446
|
+
code: z.ZodLiteral<"organization/not_found">;
|
|
1447
|
+
status: z.ZodLiteral<404>;
|
|
1448
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1449
|
+
message: z.ZodString;
|
|
1450
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1451
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1452
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1453
|
+
code: z.ZodLiteral<"organization/forbidden">;
|
|
1454
|
+
status: z.ZodLiteral<403>;
|
|
1455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1456
|
+
message: z.ZodString;
|
|
1457
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1458
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1459
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
code: z.ZodLiteral<"organization/invalid_role_catalog">;
|
|
1461
|
+
status: z.ZodLiteral<400>;
|
|
1462
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1463
|
+
message: z.ZodString;
|
|
1464
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1465
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
code: z.ZodLiteral<"organization/invitation_invalid">;
|
|
1468
|
+
status: z.ZodLiteral<400>;
|
|
1469
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1470
|
+
message: z.ZodString;
|
|
1471
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1472
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
code: z.ZodLiteral<"organization/last_administrator">;
|
|
1475
|
+
status: z.ZodLiteral<409>;
|
|
1476
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1477
|
+
message: z.ZodString;
|
|
1478
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1479
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
code: z.ZodLiteral<"organization/slug_taken">;
|
|
1482
|
+
status: z.ZodLiteral<409>;
|
|
1483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1484
|
+
message: z.ZodString;
|
|
1485
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1486
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
code: z.ZodLiteral<"organization/nomination_invalid">;
|
|
1489
|
+
status: z.ZodLiteral<400>;
|
|
1406
1490
|
}, z.core.$strip>, z.ZodObject<{
|
|
1407
1491
|
message: z.ZodString;
|
|
1408
1492
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
@@ -2078,6 +2162,41 @@ export declare const PublicErrorPayload: z.ZodUnion<readonly [z.ZodDiscriminated
|
|
|
2078
2162
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2079
2163
|
code: z.ZodLiteral<"controlplane/key_conflict">;
|
|
2080
2164
|
status: z.ZodLiteral<409>;
|
|
2165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2166
|
+
message: z.ZodString;
|
|
2167
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2168
|
+
code: z.ZodLiteral<"organization/not_found">;
|
|
2169
|
+
status: z.ZodLiteral<404>;
|
|
2170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2171
|
+
message: z.ZodString;
|
|
2172
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2173
|
+
code: z.ZodLiteral<"organization/forbidden">;
|
|
2174
|
+
status: z.ZodLiteral<403>;
|
|
2175
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2176
|
+
message: z.ZodString;
|
|
2177
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2178
|
+
code: z.ZodLiteral<"organization/invalid_role_catalog">;
|
|
2179
|
+
status: z.ZodLiteral<400>;
|
|
2180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2181
|
+
message: z.ZodString;
|
|
2182
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2183
|
+
code: z.ZodLiteral<"organization/invitation_invalid">;
|
|
2184
|
+
status: z.ZodLiteral<400>;
|
|
2185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2186
|
+
message: z.ZodString;
|
|
2187
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2188
|
+
code: z.ZodLiteral<"organization/last_administrator">;
|
|
2189
|
+
status: z.ZodLiteral<409>;
|
|
2190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2191
|
+
message: z.ZodString;
|
|
2192
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2193
|
+
code: z.ZodLiteral<"organization/slug_taken">;
|
|
2194
|
+
status: z.ZodLiteral<409>;
|
|
2195
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2196
|
+
message: z.ZodString;
|
|
2197
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2198
|
+
code: z.ZodLiteral<"organization/nomination_invalid">;
|
|
2199
|
+
status: z.ZodLiteral<400>;
|
|
2081
2200
|
}, z.core.$strip>, z.ZodObject<{
|
|
2082
2201
|
message: z.ZodString;
|
|
2083
2202
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
@@ -2934,6 +3053,55 @@ export declare const ErrorPayload: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<
|
|
|
2934
3053
|
detail: z.ZodOptional<z.ZodString>;
|
|
2935
3054
|
code: z.ZodLiteral<"controlplane/key_conflict">;
|
|
2936
3055
|
status: z.ZodLiteral<409>;
|
|
3056
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3057
|
+
message: z.ZodString;
|
|
3058
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3059
|
+
action: z.ZodOptional<z.ZodString>;
|
|
3060
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3061
|
+
code: z.ZodLiteral<"organization/not_found">;
|
|
3062
|
+
status: z.ZodLiteral<404>;
|
|
3063
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3064
|
+
message: z.ZodString;
|
|
3065
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3066
|
+
action: z.ZodOptional<z.ZodString>;
|
|
3067
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3068
|
+
code: z.ZodLiteral<"organization/forbidden">;
|
|
3069
|
+
status: z.ZodLiteral<403>;
|
|
3070
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3071
|
+
message: z.ZodString;
|
|
3072
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3073
|
+
action: z.ZodOptional<z.ZodString>;
|
|
3074
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3075
|
+
code: z.ZodLiteral<"organization/invalid_role_catalog">;
|
|
3076
|
+
status: z.ZodLiteral<400>;
|
|
3077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3078
|
+
message: z.ZodString;
|
|
3079
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3080
|
+
action: z.ZodOptional<z.ZodString>;
|
|
3081
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3082
|
+
code: z.ZodLiteral<"organization/invitation_invalid">;
|
|
3083
|
+
status: z.ZodLiteral<400>;
|
|
3084
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3085
|
+
message: z.ZodString;
|
|
3086
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3087
|
+
action: z.ZodOptional<z.ZodString>;
|
|
3088
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3089
|
+
code: z.ZodLiteral<"organization/last_administrator">;
|
|
3090
|
+
status: z.ZodLiteral<409>;
|
|
3091
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3092
|
+
message: z.ZodString;
|
|
3093
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3094
|
+
action: z.ZodOptional<z.ZodString>;
|
|
3095
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3096
|
+
code: z.ZodLiteral<"organization/slug_taken">;
|
|
3097
|
+
status: z.ZodLiteral<409>;
|
|
3098
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3099
|
+
message: z.ZodString;
|
|
3100
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3101
|
+
action: z.ZodOptional<z.ZodString>;
|
|
3102
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3103
|
+
code: z.ZodLiteral<"organization/nomination_invalid">;
|
|
3104
|
+
status: z.ZodLiteral<400>;
|
|
2937
3105
|
}, z.core.$strip>, z.ZodObject<{
|
|
2938
3106
|
message: z.ZodString;
|
|
2939
3107
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/error/payload.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;GAQG;AAEH,uFAAuF;AACvF,eAAO,MAAM,eAAe;;;;iBAQqD,CAAC;AAClF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/error/payload.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;GAQG;AAEH,uFAAuF;AACvF,eAAO,MAAM,eAAe;;;;iBAQqD,CAAC;AAClF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAk/C9D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAItB,CAAC;AACJ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,mGAAmG;AACnG,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/error/payload.js
CHANGED
|
@@ -590,6 +590,41 @@ const ControlPlaneKeyConflictPublic = z.object({
|
|
|
590
590
|
status: z.literal(409).describe("Conflict."),
|
|
591
591
|
...publicFields
|
|
592
592
|
}).describe("A key operation conflicts with the connection's current state (409).");
|
|
593
|
+
const OrganizationNotFoundPublic = z.object({
|
|
594
|
+
code: z.literal("organization/not_found").describe("The named organization does not exist, **or** the caller is not a member of it. One code for two facts, deliberately: a distinguishable refusal is an existence oracle, and iterating it produces the customer list. Which of the two it was survives in `detail`, which the HTTP codec strips and the log keeps."),
|
|
595
|
+
status: z.literal(404).describe("Not Found."),
|
|
596
|
+
...publicFields
|
|
597
|
+
}).describe("No such organization, or none this caller belongs to — the same answer for both (404).");
|
|
598
|
+
const OrganizationForbiddenPublic = z.object({
|
|
599
|
+
code: z.literal("organization/forbidden").describe("The caller is a proved member whose role does not hold the power the route asked for. A 403 rather than the 404 above, and the difference is earned: by the time this is raised they already know the organization exists, because they belong to it."),
|
|
600
|
+
status: z.literal(403).describe("Forbidden — a member, but not one who may do this."),
|
|
601
|
+
...publicFields
|
|
602
|
+
}).describe("A member's role does not hold the required power (403).");
|
|
603
|
+
const OrganizationInvalidRoleCatalogPublic = z.object({
|
|
604
|
+
code: z.literal("organization/invalid_role_catalog").describe("A role catalog failed validation. Raised by `defineRoles` at author time — a redeclared kit power, an `administrativePower` nobody holds, a kit power no role holds, or a claimed nesting that does not hold — so a mistake fails where the catalog is written rather than the first time somebody is refused by it."),
|
|
605
|
+
status: z.literal(400).describe("Bad Request — the catalog declaration is malformed."),
|
|
606
|
+
...publicFields
|
|
607
|
+
}).describe("A role catalog declaration is invalid (400).");
|
|
608
|
+
const OrganizationInvitationInvalidPublic = z.object({
|
|
609
|
+
code: z.literal("organization/invitation_invalid").describe("An invitation cannot be redeemed: no such token, already used, withdrawn, past its date, or presented by a session whose own address is not the one invited. One code for all five, because telling somebody which it was tells whoever forwarded the link the same thing."),
|
|
610
|
+
status: z.literal(400).describe("Bad Request — the offer is not redeemable by this caller."),
|
|
611
|
+
...publicFields
|
|
612
|
+
}).describe("An invitation is not redeemable (400).");
|
|
613
|
+
const OrganizationLastAdministratorPublic = z.object({
|
|
614
|
+
code: z.literal("organization/last_administrator").describe("The write would leave the account with nobody holding `administrativePower`. Counted over the power rather than over a role spelled `admin`, so a catalog where an owner also administers does not become unadministrable when its one admin leaves."),
|
|
615
|
+
status: z.literal(409).describe("Conflict — an account nobody can administer is not a state to arrive at."),
|
|
616
|
+
...publicFields
|
|
617
|
+
}).describe("The last administrator cannot be demoted, removed, or leave (409).");
|
|
618
|
+
const OrganizationSlugTakenPublic = z.object({
|
|
619
|
+
code: z.literal("organization/slug_taken").describe("Another organization already holds that slug. A slug addresses one account, so it is unique."),
|
|
620
|
+
status: z.literal(409).describe("Conflict."),
|
|
621
|
+
...publicFields
|
|
622
|
+
}).describe("That slug is already in use (409).");
|
|
623
|
+
const OrganizationNominationInvalidPublic = z.object({
|
|
624
|
+
code: z.literal("organization/nomination_invalid").describe("An ownership offer cannot be accepted: none stands, it was replaced, it has expired, or it was made to somebody else. Ownership moves only by offer and acceptance, so a refusal here is the transfer declining to happen rather than a permission being short."),
|
|
625
|
+
status: z.literal(400).describe("Bad Request — no offer this caller may accept."),
|
|
626
|
+
...publicFields
|
|
627
|
+
}).describe("No standing ownership offer this caller may accept (400).");
|
|
593
628
|
const SupportNotFoundPublic = z.object({
|
|
594
629
|
code: z.literal("support/not_found").describe("A requested support thread, message, or attachment does not exist."),
|
|
595
630
|
status: z.literal(404).describe("Not Found."),
|
|
@@ -784,6 +819,13 @@ const KitPublicErrorPayload = z.discriminatedUnion("code", [
|
|
|
784
819
|
ControlPlaneInsufficientScopePublic,
|
|
785
820
|
ControlPlaneKeyNotFoundPublic,
|
|
786
821
|
ControlPlaneKeyConflictPublic,
|
|
822
|
+
OrganizationNotFoundPublic,
|
|
823
|
+
OrganizationForbiddenPublic,
|
|
824
|
+
OrganizationInvalidRoleCatalogPublic,
|
|
825
|
+
OrganizationInvitationInvalidPublic,
|
|
826
|
+
OrganizationLastAdministratorPublic,
|
|
827
|
+
OrganizationSlugTakenPublic,
|
|
828
|
+
OrganizationNominationInvalidPublic,
|
|
787
829
|
SupportNotFoundPublic,
|
|
788
830
|
SupportInvalidCategoryPublic,
|
|
789
831
|
SupportUnparseableMessagePublic,
|
|
@@ -918,6 +960,13 @@ const TestersAlreadyOnRoster = TestersAlreadyOnRosterPublic.extend(internalField
|
|
|
918
960
|
const TestersNudgeCooldown = TestersNudgeCooldownPublic.extend(internalFields).describe(TestersNudgeCooldownPublic.description ?? "");
|
|
919
961
|
const TestersCopyNotAllowed = TestersCopyNotAllowedPublic.extend(internalFields).describe(TestersCopyNotAllowedPublic.description ?? "");
|
|
920
962
|
const TestersNotConfigured = TestersNotConfiguredPublic.extend(internalFields).describe(TestersNotConfiguredPublic.description ?? "");
|
|
963
|
+
const OrganizationNotFound = OrganizationNotFoundPublic.extend(internalFields).describe(OrganizationNotFoundPublic.description ?? "");
|
|
964
|
+
const OrganizationForbidden = OrganizationForbiddenPublic.extend(internalFields).describe(OrganizationForbiddenPublic.description ?? "");
|
|
965
|
+
const OrganizationInvalidRoleCatalog = OrganizationInvalidRoleCatalogPublic.extend(internalFields).describe(OrganizationInvalidRoleCatalogPublic.description ?? "");
|
|
966
|
+
const OrganizationInvitationInvalid = OrganizationInvitationInvalidPublic.extend(internalFields).describe(OrganizationInvitationInvalidPublic.description ?? "");
|
|
967
|
+
const OrganizationLastAdministrator = OrganizationLastAdministratorPublic.extend(internalFields).describe(OrganizationLastAdministratorPublic.description ?? "");
|
|
968
|
+
const OrganizationSlugTaken = OrganizationSlugTakenPublic.extend(internalFields).describe(OrganizationSlugTakenPublic.description ?? "");
|
|
969
|
+
const OrganizationNominationInvalid = OrganizationNominationInvalidPublic.extend(internalFields).describe(OrganizationNominationInvalidPublic.description ?? "");
|
|
921
970
|
const SupportNotFound = SupportNotFoundPublic.extend(internalFields).describe(SupportNotFoundPublic.description ?? "");
|
|
922
971
|
const SupportInvalidCategory = SupportInvalidCategoryPublic.extend(internalFields).describe(SupportInvalidCategoryPublic.description ?? "");
|
|
923
972
|
const SupportUnparseableMessage = SupportUnparseableMessagePublic.extend(internalFields).describe(SupportUnparseableMessagePublic.description ?? "");
|
|
@@ -1037,6 +1086,13 @@ const KitErrorPayload = z.discriminatedUnion("code", [
|
|
|
1037
1086
|
ControlPlaneInsufficientScope,
|
|
1038
1087
|
ControlPlaneKeyNotFound,
|
|
1039
1088
|
ControlPlaneKeyConflict,
|
|
1089
|
+
OrganizationNotFound,
|
|
1090
|
+
OrganizationForbidden,
|
|
1091
|
+
OrganizationInvalidRoleCatalog,
|
|
1092
|
+
OrganizationInvitationInvalid,
|
|
1093
|
+
OrganizationLastAdministrator,
|
|
1094
|
+
OrganizationSlugTaken,
|
|
1095
|
+
OrganizationNominationInvalid,
|
|
1040
1096
|
SupportNotFound,
|
|
1041
1097
|
SupportInvalidCategory,
|
|
1042
1098
|
SupportUnparseableMessage,
|