@pipelex/sdk 0.72.0 → 0.73.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/README.md +1 -1
- package/dist/cli/script.d.ts +1 -1
- package/dist/client.d.ts +23 -19
- package/dist/client.js +35 -25
- package/dist/client.js.map +1 -1
- package/dist/errors.d.ts +7 -4
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/product-models.d.ts +55 -22
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/architecture.md +1 -1
- package/docs/errors.md +1 -1
- package/docs/organization-branding.md +33 -16
- package/package.json +1 -1
package/dist/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEpG,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAI5D,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,uGAAuG;AACvG,SAAS,WAAW,CAAC,KAAc;IACjC,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC;AACrD,CAAC;AAED,wEAAwE;AAExE;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CAAC,QAAgB,EAAE,MAAc;IACrE,OAAO,YAAY,CAAC,yBAAyB,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;AACvE,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,yBAAyB,CAAC,MAAc,EAAE,KAAc;IACtE,O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d,UAAkB,EAClB,YAAoB,EACpB,OAAiC;QAEjC,KAAK,CACH,OAAO,EACP,OAAO,EAAE,OAAO;YACd,gBAAgB,CACd,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAC/D,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,KAAK,IAAI,EAAE,CAC9C,CAAC,OAAO,EACX,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAC5B,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED,6FAA6F;IAC7F,IAAa,SAAS;QACpB,OAAO,KAAK,CAAC,SAAS,IAAI,IAAI,CAAC,eAAe,CAAC;IACjD,CAAC;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export type { LayoutProvenance, LayoutProvenanceInput, MethodLayout, MethodLayou
|
|
|
34
34
|
export type { MethodShowcaseDetail, MethodShowcaseDocument, MethodShowcaseFile, MethodShowcaseFreezeOutcome, MethodShowcaseFreezeResult, MethodShowcaseFrozen, MethodShowcaseInput, MethodShowcaseList, MethodShowcaseRefusalReason, MethodShowcaseRefused, MethodShowcaseSummary, MethodShowcaseUnchanged, } from "./method-showcases.js";
|
|
35
35
|
export { runCodegenCheck, isStampableArtifactPath, STAMPABLE_ARTIFACT_SUFFIXES, CodegenLockError, } from "./codegen-check.js";
|
|
36
36
|
export type { CodegenCheckInput, CodegenCheckReport, CodegenDrift, CodegenDriftCategory, CodegenTreeFile, } from "./codegen-check.js";
|
|
37
|
-
export type { UserProfile, BundleStorageReference, ListMethodExamplesQuery, ListMethodsQuery, ListMethodTemplatesQuery, ListMethodVersionsQuery, MethodCategory, MethodCategoryList, MethodCopied, MethodCopiedFrom, MethodCopyInput, MethodCopyLimit, MethodCopyOutcome, MethodCopyRefusalReason, MethodCopyRefused, MethodCopyResult, MethodData, MethodDeletionAccepted, MethodDeletionState, MethodDetail, MethodDraftInput, MethodExample, MethodExampleAssistantCreated, MethodExampleAssistantKept, MethodExampleAssistantSaveInput, MethodExampleAssistantSaveOutcome, MethodExampleAssistantSaveResult, MethodExampleCreateInput, MethodExampleLatestRunInput, MethodExampleLatestRunOutcome, MethodExampleLatestRunRecorded, MethodExampleLatestRunResult, MethodExampleLatestRunStale, MethodExamplePage, MethodExampleUpdateInput, MethodPage, MethodPublished, MethodPublishInput, MethodPublishOutcome, MethodPublishRefusalReason, MethodPublishRefused, MethodPublishResult, MethodPublishUnchanged, MethodRenameInput, MethodSummary, MethodTemplate, MethodTemplatePage, MethodTemplateThumbnail, MethodThumbnail, MethodTreeInput, MethodVersion, MethodVersionPage, MethodVersionSummary, MethodVisibility, MethodWriteInput, PublicMethodDetail, SavedMethodFile, Membership, MembershipsResponse, OrgRole, BrandingColors, BrandingColorsUpdate, LogoDescriptor, OrganizationBranding, OrganizationBrandingUpdate, SubscriptionResponse, PlanView, InvoiceView, CheckoutResponse, ChangePlanResponse, BillingPortalResponse, PipelexApiKey, PipelexApiKeyCreated, PipelexApiKeyList, OnboardingRole, OnboardingCurrentTool, OnboardingInputType, OnboardingHeardFrom, OnboardingSubmission, DraftFileAdded, DraftFileBlob, DraftFileFromFileInput, DraftFileFromFileResult, FileArchive, FileArchiveFailure, FileArchiveFailureCode, FileArchiveLimit, FileArchiveRequest, FileArchiveSource, FileArchiveState, FileDetail, FileKind, FileLink, FileLinkError, FileLinksResult, FileLinkTarget, FileOrigin, FilePage, FilePreview, FilePreviewFailure, FilePreviewFailureCode, FilePreviewState, FileRecord, FileRecordList, FileRenameInput, FileRole, FileState, FileSummary, FileUse, FileUseHolderType, FileUsePage, GetFileQuery, GetFilesByUriOptions, ListFilesQuery, ListRunFilesQuery, RunFileEntry, RunFileMark, RunFilesPage, RunFilesState, RunInputLink, ResolvedStorageUrl, UploadInput, UploadedFile, UploadGrantInput, UploadGrant, UploadKind, ListRunsQuery, PipelineRun, RunDetail, RunHistoryItem, RunPage, UpdateRunInput, } from "./product-models.js";
|
|
37
|
+
export type { UserProfile, BundleStorageReference, ListMethodExamplesQuery, ListMethodsQuery, ListMethodTemplatesQuery, ListMethodVersionsQuery, MethodCategory, MethodCategoryList, MethodCopied, MethodCopiedFrom, MethodCopyInput, MethodCopyLimit, MethodCopyOutcome, MethodCopyRefusalReason, MethodCopyRefused, MethodCopyResult, MethodData, MethodDeletionAccepted, MethodDeletionState, MethodDetail, MethodDraftInput, MethodExample, MethodExampleAssistantCreated, MethodExampleAssistantKept, MethodExampleAssistantSaveInput, MethodExampleAssistantSaveOutcome, MethodExampleAssistantSaveResult, MethodExampleCreateInput, MethodExampleLatestRunInput, MethodExampleLatestRunOutcome, MethodExampleLatestRunRecorded, MethodExampleLatestRunResult, MethodExampleLatestRunStale, MethodExamplePage, MethodExampleUpdateInput, MethodPage, MethodPublished, MethodPublishInput, MethodPublishOutcome, MethodPublishRefusalReason, MethodPublishRefused, MethodPublishResult, MethodPublishUnchanged, MethodRenameInput, MethodSummary, MethodTemplate, MethodTemplatePage, MethodTemplateThumbnail, MethodThumbnail, MethodTreeInput, MethodVersion, MethodVersionPage, MethodVersionSummary, MethodVisibility, MethodWriteInput, PublicMethodDetail, SavedMethodFile, Membership, MembershipsResponse, OrgRole, BrandingColors, BrandingColorsUpdate, BrandingDesignSystem, LogoDescriptor, OrganizationBranding, OrganizationBrandingUpdate, SubscriptionResponse, PlanView, InvoiceView, CheckoutResponse, ChangePlanResponse, BillingPortalResponse, PipelexApiKey, PipelexApiKeyCreated, PipelexApiKeyList, OnboardingRole, OnboardingCurrentTool, OnboardingInputType, OnboardingHeardFrom, OnboardingSubmission, DraftFileAdded, DraftFileBlob, DraftFileFromFileInput, DraftFileFromFileResult, FileArchive, FileArchiveFailure, FileArchiveFailureCode, FileArchiveLimit, FileArchiveRequest, FileArchiveSource, FileArchiveState, FileDetail, FileKind, FileLink, FileLinkError, FileLinksResult, FileLinkTarget, FileOrigin, FilePage, FilePreview, FilePreviewFailure, FilePreviewFailureCode, FilePreviewState, FileRecord, FileRecordList, FileRenameInput, FileRole, FileState, FileSummary, FileUse, FileUseHolderType, FileUsePage, GetFileQuery, GetFilesByUriOptions, ListFilesQuery, ListRunFilesQuery, RunFileEntry, RunFileMark, RunFilesPage, RunFilesState, RunInputLink, ResolvedStorageUrl, UploadInput, UploadedFile, UploadGrantInput, UploadGrant, UploadKind, ListRunsQuery, PipelineRun, RunDetail, RunHistoryItem, RunPage, UpdateRunInput, } from "./product-models.js";
|
|
38
38
|
export { isFresherRunProgress, isTerminalRunStatus, isSuccessRunStatus, RUN_RESULT_ARTIFACTS, } from "./runs.js";
|
|
39
39
|
export type { DegradationReason, GetRunResultOptions, ProgressAttempt, ProgressBatch, ProgressCondition, ProgressFailure, ProgressInvocation, ProgressInvocationStatus, RunDegradation, RunProgress, RunProgressStatus, RunResultArtifact, RunStatus, RunPublic, RunRead, RunResults, RunResultState, StartAndWaitForResultOptions, TokensUsageRecord, WaitForResultOptions, } from "./runs.js";
|
|
40
40
|
export { verifyWebhook, isRunFinishedEvent, RUN_FINISHED_EVENT_TYPE, WEBHOOK_TIMESTAMP_TOLERANCE_SECONDS, WebhookVerificationError, WebhookEventUnreadableError, } from "./webhooks.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,6FAA6F;AAC7F,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,oFAAoF;AACpF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ChB,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC5B,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EAClB,gCAAgC,EAChC,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AAcrB,mFAAmF;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/product-models.d.ts
CHANGED
|
@@ -974,18 +974,32 @@ export interface LogoDescriptor {
|
|
|
974
974
|
width: number;
|
|
975
975
|
height: number;
|
|
976
976
|
}
|
|
977
|
+
/**
|
|
978
|
+
* An organization's design system: a DTCG token document (the Design Tokens Community Group
|
|
979
|
+
* format) holding the palette in both themes, typography, shape, depth, spacing, motion and the
|
|
980
|
+
* component treatments. The application that writes it owns its format; the platform stores it as
|
|
981
|
+
* it was written and checks only its shape: a JSON object of at most 64 KiB of compact JSON, nested
|
|
982
|
+
* at most 32 objects deep, in which every member whose name does not start with `$` is a token or
|
|
983
|
+
* a group, so an object; an object holding `$value` is a token and holds no token or group of its
|
|
984
|
+
* own; a name holds no `{`, `}` or `.`; and `$type` and `$description` are strings and
|
|
985
|
+
* `$extensions` an object wherever they appear.
|
|
986
|
+
*/
|
|
987
|
+
export type BrandingDesignSystem = Record<string, unknown>;
|
|
977
988
|
/**
|
|
978
989
|
* An organization's branding — what `getBranding` and `updateOrganizationBranding` answer.
|
|
979
990
|
*
|
|
980
991
|
* `colors` is the light set and `dark_colors` the dark one, used in dark mode only: a dark colour
|
|
981
992
|
* that is `null` falls back to the light colour of the same role, and a light one that is `null`
|
|
982
|
-
* to Pipelex's own palette. A logo is `null` when its slot is empty
|
|
983
|
-
*
|
|
993
|
+
* to Pipelex's own palette. A logo is `null` when its slot is empty, and a dark logo that is
|
|
994
|
+
* `null` falls back to the light logo of its slot. A personal workspace, or a team that set
|
|
995
|
+
* nothing, answers every colour and logo `null`, no preset, shell or typeface, and no design
|
|
996
|
+
* system.
|
|
984
997
|
*
|
|
985
|
-
* `
|
|
986
|
-
* reads an id it does not know as unset. The client reads
|
|
987
|
-
* `false`, when the answer leaves them out, as a
|
|
988
|
-
*
|
|
998
|
+
* `preset`, `shell` and `typeface` are ids the platform holds to a shape and never to a list, so a
|
|
999
|
+
* client reads an id it does not know as unset. The client reads each as `null`, the dark logos and
|
|
1000
|
+
* `design_system` as `null`, and `white_label` as `false`, when the answer leaves them out, as a
|
|
1001
|
+
* platform that predates them does; it reads the three ids and `design_system` the same way when
|
|
1002
|
+
* the answer sends a value of another type, and `white_label` as `false` unless it is `true`.
|
|
989
1003
|
*/
|
|
990
1004
|
export interface OrganizationBranding {
|
|
991
1005
|
org_id: string;
|
|
@@ -997,14 +1011,24 @@ export interface OrganizationBranding {
|
|
|
997
1011
|
square_logo: LogoDescriptor | null;
|
|
998
1012
|
/** The wide logo, at least one and a half times as wide as it is tall, for an app's header. */
|
|
999
1013
|
wide_logo: LogoDescriptor | null;
|
|
1014
|
+
/** The square logo for dark mode; `null` falls back to `square_logo`. */
|
|
1015
|
+
dark_square_logo: LogoDescriptor | null;
|
|
1016
|
+
/** The wide logo for dark mode; `null` falls back to `wide_logo`. */
|
|
1017
|
+
dark_wide_logo: LogoDescriptor | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* The id of the preset the team started its design system from, such as `corporate`; `null`
|
|
1020
|
+
* when not set. Both themes share it, and it does not count towards whether an app is branded.
|
|
1021
|
+
*/
|
|
1022
|
+
preset: string | null;
|
|
1000
1023
|
/**
|
|
1001
|
-
* The id of the
|
|
1002
|
-
*
|
|
1003
|
-
* client applies it whenever one is set; it does not count towards whether an app is branded.
|
|
1024
|
+
* The id of the page shell the team's method apps wear, such as `masthead`; `null` when not set.
|
|
1025
|
+
* Both themes share it, and it does not count towards whether an app is branded.
|
|
1004
1026
|
*/
|
|
1005
|
-
|
|
1027
|
+
shell: string | null;
|
|
1006
1028
|
/** The id of the typeface the team sets its apps' text in, such as `manrope`; `null` when not set. */
|
|
1007
1029
|
typeface: string | null;
|
|
1030
|
+
/** The team's design system, a DTCG token document; `null` when there is none. */
|
|
1031
|
+
design_system: BrandingDesignSystem | null;
|
|
1008
1032
|
/**
|
|
1009
1033
|
* Whether the organization holds the white-label entitlement: its method apps show no Pipelex
|
|
1010
1034
|
* mark anywhere a runner looks, branded or not. `false` for every other organization, a personal
|
|
@@ -1031,30 +1055,39 @@ export interface BrandingColorsUpdate {
|
|
|
1031
1055
|
*
|
|
1032
1056
|
* - `colors` and `dark_colors` take a `BrandingColorsUpdate`, or `null` to clear all three
|
|
1033
1057
|
* colours of that set.
|
|
1034
|
-
* - `square_logo` and `
|
|
1035
|
-
*
|
|
1036
|
-
*
|
|
1037
|
-
*
|
|
1058
|
+
* - `square_logo`, `wide_logo`, `dark_square_logo` and `dark_wide_logo` take the
|
|
1059
|
+
* `pipelex-storage://` URI of a file the organization uploaded on its own (`requestUploadGrant`
|
|
1060
|
+
* or `upload`) to set a new logo, the `uri` the branding answers for that slot to keep it, or
|
|
1061
|
+
* `null` to remove it; a dark logo is held to its slot's rules, as the light one is. Any other
|
|
1062
|
+
* URI, a run's or a method's file, a stale `branding/` copy or another slot's logo, is refused as
|
|
1038
1063
|
* `logo_not_an_upload`, so a logo cannot move between slots by its URI. The platform reads and
|
|
1039
1064
|
* measures an upload before it accepts it, keeps its own copy under `branding/`, whose URI it
|
|
1040
1065
|
* answers, and erases the copy a write replaces or clears; the upload is left as it is.
|
|
1041
|
-
* - `
|
|
1042
|
-
* (`^[a-z0-9-]{1,32}$`), stored as it is whether or not such a
|
|
1043
|
-
* `null` to clear it. Writing one leaves the colours, the logos and the
|
|
1066
|
+
* - `preset`, `shell` and `typeface` take an id of one to 32 lower-case letters, digits and
|
|
1067
|
+
* hyphens (`^[a-z0-9-]{1,32}$`), stored as it is whether or not such a preset, shell or typeface
|
|
1068
|
+
* exists, or `null` to clear it. Writing one leaves the colours, the logos and the others as they
|
|
1069
|
+
* are.
|
|
1070
|
+
* - `design_system` takes a DTCG token document (`BrandingDesignSystem`), which replaces the stored
|
|
1071
|
+
* one whole, or `null` to remove it. One the platform refuses for its shape writes nothing at all.
|
|
1044
1072
|
*
|
|
1045
1073
|
* A field the platform refuses is named in `location.field`: a colour by its dotted key, such as
|
|
1046
|
-
* `colors.action`, a
|
|
1047
|
-
* itself names it, in `params.field` too; when it refuses several,
|
|
1048
|
-
* one. There is no `white_label` key: the entitlement is Pipelex
|
|
1049
|
-
* platform refuses a body naming it as it refuses any key it does not
|
|
1074
|
+
* `colors.action`, a preset, a shell, a typeface or the design system by its key. When it refuses
|
|
1075
|
+
* one field alone, the problem itself names it, in `params.field` too; when it refuses several,
|
|
1076
|
+
* each item of its `errors` names one. There is no `white_label` key: the entitlement is Pipelex
|
|
1077
|
+
* staff's to grant, and the platform refuses a body naming it as it refuses any key it does not
|
|
1078
|
+
* know, `style`, the retired app style, included.
|
|
1050
1079
|
*/
|
|
1051
1080
|
export interface OrganizationBrandingUpdate {
|
|
1052
1081
|
colors?: BrandingColorsUpdate | null;
|
|
1053
1082
|
dark_colors?: BrandingColorsUpdate | null;
|
|
1054
1083
|
square_logo?: string | null;
|
|
1055
1084
|
wide_logo?: string | null;
|
|
1056
|
-
|
|
1085
|
+
dark_square_logo?: string | null;
|
|
1086
|
+
dark_wide_logo?: string | null;
|
|
1087
|
+
preset?: string | null;
|
|
1088
|
+
shell?: string | null;
|
|
1057
1089
|
typeface?: string | null;
|
|
1090
|
+
design_system?: BrandingDesignSystem | null;
|
|
1058
1091
|
}
|
|
1059
1092
|
export interface SubscriptionResponse {
|
|
1060
1093
|
plan: string | null;
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/docs/architecture.md
CHANGED
|
@@ -167,7 +167,7 @@ The hosted catalog/account routes the webapp drives. All ride the same `{base}/v
|
|
|
167
167
|
- **Method showcases:** `freezeMethodShowcase` and `listMethodShowcases`, on `/v1/methods/{id}/showcases`, `getMethodShowcase` and `withdrawMethodShowcase`, on `/v1/methods/{id}/showcases/{showcase_id}`, and `listMethodVersionShowcases` and `getMethodVersionShowcase`, on `/v1/methods/{id}/versions/{n}/showcases[/{showcase_id}]`. A showcase is a completed run frozen with a private copy of its files; the freeze answers a verdict discriminated on `outcome`, read open on `reason`, the lists are read entry by entry as a layout list is, and a detail is read whole with `parseExactJson` and any error's signed links redacted. The freeze's and the withdrawal's `idempotencyKey` goes through the same `idempotencyKeyOf` check. See [method-showcases.md](./method-showcases.md).
|
|
168
168
|
- **Method layouts:** `storeMethodLayout` and `listMethodLayouts`, on `/v1/methods/{id}/versions/{n}/layouts`, `listMethodDraftLayouts`, on `/v1/methods/{id}/draft/layouts`, `setMethodLayoutsOff`, on `/v1/methods/{id}/layouts-off`, and the `layouts` view of `validate`. A layout is a data file a producer designed for one pipe of a published version, which the platform stores keyed by the content it was designed for, `tree_digest`, `pipe_ref`, `catalog` and `prompt_hash`, a write of the same identity replacing it, and carries on every validate by `method_id` that names `layouts` and resolves the same tree. The write takes a bare catalog id and a positive integer version, refuses a layout or a provenance that is not an object before sending, and sends the closed body alone, its members listed once in `method-layouts.ts` (`LAYOUT_INPUT_MEMBERS`, `PROVENANCE_INPUT_MEMBERS`) and held to the input interfaces by `satisfies`, `sample_json` and each optional provenance member that is `null` or omitted left out; its last argument takes an `idempotencyKey` (`MethodLayoutWriteOptions`), sent as the `Idempotency-Key` header through the same `idempotencyKeyOf` check a start and a copy use, since a write sent again without one runs again, restamping the layout and applying the bound again; the platform's refusals (`422` `request.invalid` naming the member, `tree_digest` among them for a tree that is not the version's, `403` `auth.forbidden` for a runner, `404` `pipelex.catalog.not_found` naming the method or the version, `409` `pipelex.catalog.being_deleted`) are `ApiResponseError`s. One reader in `method-layouts.ts`, `readMethodLayout`, holds the write's answer and each entry of a report's `layouts` to the same rule, the six identity and payload members strings and the provenance an object with a string `producer` and `model`, its `seed` and `style` read as `null` and its `repair_rounds` as `0` when they do not fit; an answer breaking it is one the SDK cannot read, and an entry breaking it is left out of the report, a list left with none removed, so `layouts` is absent or holds at least one layout. `listMethodLayouts` reads the same list with no dry run, its `items` read entry by entry by that rule, and `setMethodLayoutsOff` writes the whole list of switched-off catalogs, an array or a `RequestArgumentError` before sending, its idempotency key sent as the write's is. See [method-layouts.md](./method-layouts.md).
|
|
169
169
|
- **Organizations:** `listMemberships`, `createOrganization`, `renameOrganization` (`PATCH`). Each membership carries the caller's `role_in_org`, an `OrgRole` (`admin`, `member` or `runner`) read open: a role a later platform adds arrives as its raw string, so a `switch` over it says what an unknown role does. The role is for display; what it may do is the platform's to decide, and a call refused to the caller's role is an `ApiResponseError`. The org "switch" is a WorkOS-session op (`/api/active-org`), not a `/v1` route — out of SDK scope.
|
|
170
|
-
- **Organization branding:** `getBranding` (`GET /v1/branding`, any role, web session or API key) and `updateOrganizationBranding` (`PATCH /v1/organizations/{org_id}/branding`, a write by the `admin` or the `member` role, never a `runner`) answer the same `OrganizationBranding`: the organization's name, its light and dark colour sets (`BrandingColors`), its square and wide logos (`LogoDescriptor`), its
|
|
170
|
+
- **Organization branding:** `getBranding` (`GET /v1/branding`, any role, web session or API key) and `updateOrganizationBranding` (`PATCH /v1/organizations/{org_id}/branding`, a write by the `admin` or the `member` role, never a `runner`) answer the same `OrganizationBranding`: the organization's name, its light and dark colour sets (`BrandingColors`), its square and wide logos and their dark variants (`LogoDescriptor`), its `preset`, `shell` and `typeface`, its `design_system` (`BrandingDesignSystem`, a DTCG token document), and its read-only `white_label` entitlement, each of the newer members read as `null`, and the entitlement as `false`, from a platform that predates them. The write's `OrganizationBrandingUpdate` sets a key given a value, clears a key given `null` and keeps a key left out; a refused field is named by its `location.field`, a colour by its dotted key, a logo by its slot in `ApiResponseError.errors` with a `LogoRefusalCode` when the platform measured it. See [organization-branding.md](./organization-branding.md).
|
|
171
171
|
- **Caller webhooks:** `listRunWebhookDeliveries`, `getRunWebhookDelivery` and `replayRunWebhookDelivery`, on `/v1/runs/{id}/webhook-deliveries`, `/v1/runs/{id}/webhook-deliveries/{delivery_id}` and its `/replay`, read a run's delivery log and send a settled delivery again, any member by web session or API key, the replay taking an `idempotencyKey` under which the platform stores its answer; `getWebhookSecret`, on `GET /v1/organizations/{org_id}/webhook-secret`, and `rotateWebhookSecret`, on `POST /v1/organizations/{org_id}/webhook-secret/rotate`, read and rotate the organization's signing secret, an admin's routes from a web session only, the rotation taking an `idempotencyKey` the platform never replays. See [webhooks.md](./webhooks.md).
|
|
172
172
|
- **Billing:** `getSubscription`, `listPlans`, `listInvoices`, `createCheckout`, `changePlan` (409 `conflict` ⇒ no subscription), `getBillingPortal` (409 `conflict` ⇒ no subscription).
|
|
173
173
|
- **Pipelex API keys (`plx_sk_…`):** `listPipelexApiKeys`, `createPipelexApiKey` (409 `pipelex_api_key_limit_reached`), `revokePipelexApiKey`, `rotatePipelexApiKey`. The plaintext `api_key` is returned once, on create/rotate.
|
package/docs/errors.md
CHANGED
|
@@ -189,7 +189,7 @@ A malformed version suffix (`@0`, `@03`, `@Draft`, two suffixes) is a `422` `req
|
|
|
189
189
|
|
|
190
190
|
### The branding codes
|
|
191
191
|
|
|
192
|
-
A refused branding write (`updateOrganizationBranding`) is one problem naming each field it refused by its `location.field`: a colour by its dotted key, such as `colors.action`, and a
|
|
192
|
+
A refused branding write (`updateOrganizationBranding`) is one problem naming each field it refused by its `location.field`: a colour by its dotted key, such as `colors.action`, and a preset, a shell, a typeface or the design system by its key. When it refuses one such field alone the problem itself names it; when it refuses several, each has one item of its `errors`. A logo the platform read and refused is one `422` `request.unsupported` for every logo of the body, naming the first broken rule by its slot's key, such as `square_logo` or `dark_wide_logo`, in `location.field` and `params.field`, and the rule in `params.reason`, one the exported type `LogoRefusalCode` names (`logo_too_large`, `logo_not_square`, `logo_too_small`, …); when several rules are broken, `errors` holds one item per rule, each with its own slot and reason. Its `detail` is the code's general sentence, so a settings screen writes the sentence under a slot from the reason. [organization-branding.md](./organization-branding.md#a-refused-logo) lists every reason with the sentence the platform logs for it.
|
|
193
193
|
|
|
194
194
|
### The files codes
|
|
195
195
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# An organization's branding
|
|
2
2
|
|
|
3
|
-
An organization may carry a brand
|
|
3
|
+
An organization may carry a brand, its branding kit: a square logo and a wide one, each with an optional dark-mode variant, two colour sets of three colours, the light set and an optional dark one, a preset, a page shell, a typeface and a design system. The webapp shows it on the organization's menu and on the apps of its methods, and an app scaffolded from the method-app template reads it with its API key to wear the same brand. A personal workspace never has one. Beside the brand, the branding says whether the organization holds the white-label entitlement, which Pipelex staff grant. The client reaches it on two routes of the hosted API, and the types are in `src/product-models.ts`.
|
|
4
4
|
|
|
5
5
|
## The methods
|
|
6
6
|
|
|
@@ -21,17 +21,25 @@ Both answer the same shape, so a client holds one type whichever it called. `get
|
|
|
21
21
|
| `dark_colors` | `BrandingColors` | The dark colour set, used in dark mode only. |
|
|
22
22
|
| `square_logo` | `LogoDescriptor \| null` | The square logo, for the organization menu and small headers. |
|
|
23
23
|
| `wide_logo` | `LogoDescriptor \| null` | The wide logo, for an app's header. |
|
|
24
|
-
| `
|
|
24
|
+
| `dark_square_logo` | `LogoDescriptor \| null` | The square logo for dark mode; `null` falls back to `square_logo`. |
|
|
25
|
+
| `dark_wide_logo` | `LogoDescriptor \| null` | The wide logo for dark mode; `null` falls back to `wide_logo`. |
|
|
26
|
+
| `preset` | `string \| null` | The id of the preset the team started its design system from, `null` when not set. |
|
|
27
|
+
| `shell` | `string \| null` | The id of the page shell the team's method apps wear, `null` when not set. |
|
|
25
28
|
| `typeface` | `string \| null` | The id of the typeface the team sets its apps' text in, `null` when not set. |
|
|
29
|
+
| `design_system` | `BrandingDesignSystem \| null` | The team's design system, a DTCG token document, `null` when there is none. |
|
|
26
30
|
| `white_label` | `boolean` | Whether the organization holds the white-label entitlement. |
|
|
27
31
|
|
|
28
32
|
A `BrandingColors` always carries its three keys, each `#rrggbb` in lower case or `null` when not set: `action` is the button colour, `accent` the accent colour and `header` the header band's colour. A dark colour that is `null` falls back to the light colour of the same role, and a light one that is `null` to Pipelex's own palette for that theme. The `@pipelex/mthds-form/brand` entry turns a colour set into the roles a page paints with (`resolveDarkSeeds`, then `deriveBrandRoles` once per theme).
|
|
29
33
|
|
|
30
|
-
**The
|
|
34
|
+
**The preset, the shell and the typeface.** `preset` is the id of the preset the team started its design system from, such as `corporate`; `shell` is the id of the page shell its method apps wear, such as `masthead`; `typeface` is the id of the typeface their text is set in, such as `manrope`. Both themes share them. The platform holds each to a shape, one to 32 lower-case letters, digits and hyphens (`^[a-z0-9-]{1,32}$`), and never to a list: the lists of presets, shells and typefaces live with the application that offers them, so a client reads an id it does not know as unset, and a preset or a shell added to that list needs no new SDK. None counts towards whether an app is branded, which stays a logo or a colour in either theme, since a branded app trades Pipelex's strip for the team's band and a preset alone would leave that band carrying nothing of the team's. The preset replaced the app style the branding carried before: the platform no longer answers `style`, and refuses a write naming it.
|
|
35
|
+
|
|
36
|
+
**The dark logos.** `dark_square_logo` and `dark_wide_logo` are the variants of the square and the wide logo a client draws in dark mode. A dark logo that is `null` falls back to the light logo of its slot, so a client draws the dark one in dark mode when there is one and the light one otherwise.
|
|
37
|
+
|
|
38
|
+
**The design system.** `design_system` is the team's DTCG token document (the Design Tokens Community Group format), typed `BrandingDesignSystem` (`Record<string, unknown>`): the palette in both themes, typography, shape, depth, spacing, motion and the component treatments, or `null` when there is none. The application that writes it owns its format; the platform stores it as it was written, never reads a token, and checks only a shape it can check cheaply: a JSON object of at most 64 KiB of compact JSON, nested at most 32 objects deep, in which every member whose name does not start with `$` is a token or a group, so an object; an object holding `$value` is a token and holds no token or group of its own; a name holds no `{`, `}` or `.`, which DTCG reserves for references; and `$type` and `$description` are strings and `$extensions` an object wherever they appear. What a `$value` holds, which `$type` values exist and whether a reference resolves are the application's to check.
|
|
31
39
|
|
|
32
40
|
**The white-label entitlement.** `white_label` is `true` when the organization holds the white-label option: its method apps show no Pipelex mark anywhere a runner looks, whether or not the team set a brand. It is `false` for every other organization, a personal workspace included. It is not part of the brand the team sets: Pipelex staff grant and withdraw it, no branding write changes it, and `OrganizationBrandingUpdate` has no such key.
|
|
33
41
|
|
|
34
|
-
**A branding written before these fields existed** answers `
|
|
42
|
+
**A branding written before these fields existed** answers the dark logos, `preset`, `shell`, `typeface` and `design_system` `null` and `white_label` `false`. The client reads an answer that leaves any of them out, as a platform that predates them sends, the same way, so each is what the type declares, never `undefined`. It also reads `preset`, `shell` and `typeface` as `null` when the answer sends a value that is not a string, `design_system` as `null` when it is not a JSON object, and `white_label` as `false` unless it is `true`.
|
|
35
43
|
|
|
36
44
|
A `LogoDescriptor` is what the platform recorded when it accepted the logo:
|
|
37
45
|
|
|
@@ -48,20 +56,25 @@ Every key of an `OrganizationBrandingUpdate` is optional: a value sets it, `null
|
|
|
48
56
|
|
|
49
57
|
```ts
|
|
50
58
|
// Set the button and accent colours, keep the header colour, clear the whole dark set,
|
|
51
|
-
// attach a square logo, remove the wide one, choose a
|
|
59
|
+
// attach a square logo and its dark variant, remove the wide one, choose a preset and a shell,
|
|
60
|
+
// clear the typeface and replace the design system.
|
|
52
61
|
const branding = await client.updateOrganizationBranding(orgId, {
|
|
53
62
|
colors: { action: "#14213d", accent: "#fca311" },
|
|
54
63
|
dark_colors: null,
|
|
55
64
|
square_logo: "pipelex-storage://<org_id>/assets/<file>.png",
|
|
65
|
+
dark_square_logo: "pipelex-storage://<org_id>/assets/<dark-file>.png",
|
|
56
66
|
wide_logo: null,
|
|
57
|
-
|
|
67
|
+
preset: "corporate",
|
|
68
|
+
shell: "masthead",
|
|
58
69
|
typeface: null,
|
|
70
|
+
design_system: designSystem, // a DTCG token document
|
|
59
71
|
});
|
|
60
72
|
```
|
|
61
73
|
|
|
62
74
|
- **Colours** (`BrandingColorsUpdate`): each of `action`, `accent` and `header` takes `#rrggbb` in either case, stored in lower case. `colors: null` or `dark_colors: null` clears all three colours of that set.
|
|
63
|
-
- **Logos**: `square_logo` and `
|
|
64
|
-
- **
|
|
75
|
+
- **Logos**: `square_logo`, `wide_logo`, `dark_square_logo` and `dark_wide_logo` take one of three values, a dark logo held to its slot's rules as the light one is. The `pipelex-storage://` URI of a file the organization uploaded on its own through `requestUploadGrant` or `upload` sets a new logo: the platform reads and measures it, then writes its own copy under `branding/`, and the answer's `uri` names that copy, never the upload, which the platform leaves as it is. The `uri` the branding answers for that slot, sent back unchanged, leaves the slot out of the write: nothing is read, and the slot keeps whatever logo the branding names when the write lands, so a save that resends the logo it read never puts back one a concurrent save replaced. `null` removes the logo. Any other URI is refused as `logo_not_an_upload`: a run's or a method's file, a `branding/` copy the slot no longer holds, and another slot's logo too, so a logo cannot move between slots by its URI; upload it again for the other slot instead. Once the write has landed, the platform erases the `branding/` copy it replaced or cleared.
|
|
76
|
+
- **Preset, shell and typeface**: `preset`, `shell` and `typeface` each take an id of one to 32 lower-case letters, digits and hyphens, stored as it is whether or not such a preset, shell or typeface exists, or `null` to clear it. Writing one leaves the colours, the logos and the others as they are. There is no `white_label` key, nor a `style` one: the platform refuses a body naming either as it refuses any key it does not know.
|
|
77
|
+
- **Design system**: `design_system` takes a DTCG token document, which replaces the stored one whole, or `null` to remove it. One of another shape than the one [above](#the-branding) is refused naming `design_system`, and nothing at all is written. The platform writes the rest of the branding first and the design system after it, so a `503` on that second write leaves the rest landed: the same `input` sent again is safe.
|
|
65
78
|
- **The rules a logo meets**: at most 1 MiB; a PNG, JPEG, WebP or SVG image by its bytes, whatever type the upload declared, an SVG in UTF-8 or, behind its byte-order mark, UTF-16; a still image, so never an animated PNG (an APNG) or an animated WebP; a raster of at most 4096 × 4096 pixels that decodes whole; a square logo's longer side at most 10% longer than its shorter, and a raster one at least 128 px on each side; a wide logo at least one and a half times as wide as it is tall, and a raster one at least 64 px tall. An SVG is measured from its root element, by its `width` and `height` when both are in absolute units, else by its `viewBox`, and each side must lie between 0.001 and 1,000,000, in pixels for a `width` or `height` and in the SVG's own units for a `viewBox`. It must declare no XML entities or external references and carry no active content: no `script` or `foreignObject` element, no element in the XHTML namespace, no `on…` event handler attribute, no `set` or `animate` that rewrites a link, no `xml-stylesheet` processing instruction, and no link but a reference inside the file (`#…`) or an embedded PNG, JPEG, GIF or WebP image (`data:image/…`), whether an `href`, an `xlink:href`, or a CSS `url()` or `src()`. Wherever a browser reads CSS, which is a `<style>` element's text and any attribute in no namespace or the SVG one, such as `style`, `fill` or `filter`, it must hold no `@import`, no `image()` or `image-set()`, and no escape (a backslash, which can spell a link out of sight). A `<style>` element itself is allowed, so the class-based styles a design tool exports pass, and so does a reference inside the file such as `fill:url(#grad)`; an attribute in another namespace, such as Inkscape's `inkscape:export-filename`, and a `data-*` one, such as the layer names Illustrator writes in `data-name`, are never read as CSS.
|
|
66
79
|
|
|
67
80
|
The write sends no `Idempotency-Key`, as `renameOrganization` sends none. A later write that should keep a logo leaves its key out, or sends back the `uri` the branding answered.
|
|
@@ -76,15 +89,18 @@ A refused write changes nothing, whichever part of it was refused, and throws an
|
|
|
76
89
|
| `403` | `pipelex.org.mismatch` | `orgId` is not the caller's active organization, or a logo's URI is a file of another organization. |
|
|
77
90
|
| `404` | `pipelex.org.not_found` | The organization does not exist. |
|
|
78
91
|
| `409` | `pipelex.org.not_manageable` | The organization is a personal workspace, which has no branding. |
|
|
79
|
-
| `422` | `request.invalid` | A colour is not `#rrggbb`, a
|
|
92
|
+
| `422` | `request.invalid` | A colour is not `#rrggbb`, a preset, a shell or a typeface is not an id of the shape `^[a-z0-9-]{1,32}$`, the design system is not of the shape the platform holds it to, or the body holds a key the route does not take, `white_label` and `style` included. |
|
|
93
|
+
| `422` | `request.unsupported` | A logo was refused ([below](#a-refused-logo)). |
|
|
80
94
|
| `422` | `pipelex.storage.uri_invalid` | A logo's URI is not a storage URI. |
|
|
81
95
|
| `503` | `runtime.unavailable` | The platform's storage failed while reading or copying a logo, or its database failed or could not be reached, so the write may have landed or not. Its `retry` is `yes`: the same `input` sent again is safe, and `getBranding` reads what the branding holds. |
|
|
82
96
|
|
|
83
|
-
**A refused field is named by its `location.field`**, so the settings screen shows each sentence under the control it concerns rather than in a toast: a colour by its dotted key, such as `colors.action` or `dark_colors.header`, a
|
|
97
|
+
**A refused field is named by its `location.field`**, so the settings screen shows each sentence under the control it concerns rather than in a toast: a colour by its dotted key, such as `colors.action` or `dark_colors.header`, a preset, a shell, a typeface or the design system by its own key, and a key the route does not take by its own name. When the write refuses one such field alone, the problem itself names it, in `location.field` and in `params.field`, and carries no `errors`; when it refuses several, it names the first and carries one item per refused field in `errors`, each with its own `location.field`.
|
|
98
|
+
|
|
99
|
+
### A refused logo
|
|
84
100
|
|
|
85
|
-
**A
|
|
101
|
+
**A refused logo is a `422` `request.unsupported`**, one problem for every logo of the body. It names the logo that broke the first rule in its `location.field` and `params.field`, the slot's key (`square_logo`, `wide_logo`, `dark_square_logo` or `dark_wide_logo`), and that rule in `params.reason`, one the exported type `LogoRefusalCode` names. When several rules are broken, in one logo or across several, the problem also carries `errors`, one item per broken rule, each with its own `location.field`, `params.field` and `params.reason`; a lone broken rule carries no `errors`. Every `detail` is the code's general sentence and never the measure: the platform keeps the sentences below for its logs, so a client writes the sentence it shows under a slot from the reason.:
|
|
86
102
|
|
|
87
|
-
| `
|
|
103
|
+
| `params.reason` | What the platform logs, for example |
|
|
88
104
|
|---|---|
|
|
89
105
|
| `logo_not_an_upload` | The square logo must be a newly uploaded file (pipelex-storage://<organization>/assets/<file>) or the URI the square logo already has. |
|
|
90
106
|
| `logo_not_found` | The square logo file was not found in the organization's uploads; upload it again. |
|
|
@@ -97,17 +113,18 @@ A refused write changes nothing, whichever part of it was refused, and throws an
|
|
|
97
113
|
| `logo_not_wide` | The wide logo is 600 × 500 px, 1.2 times as wide as it is tall; a wide logo must be at least 1.5 times as wide as it is tall. |
|
|
98
114
|
| `logo_too_short` | The wide logo is 240 × 48 px; a wide logo must be at least 64 px tall. |
|
|
99
115
|
|
|
100
|
-
The two refusals of a logo URI that come before any file is read, `pipelex.storage.uri_invalid` and
|
|
116
|
+
The two refusals of a logo URI that come before any file is read, `422` `pipelex.storage.uri_invalid` and `403` `pipelex.org.mismatch` for another organization's file, name the slot in the problem's own `location.field`, with no `errors`. So one slot's refusals are read the same way in every case: the problem's `errors` when it carries some, else the problem itself, kept when its `location.field` is the slot.
|
|
101
117
|
|
|
102
118
|
```ts
|
|
103
119
|
try {
|
|
104
120
|
await client.updateOrganizationBranding(orgId, { square_logo: uri });
|
|
105
121
|
} catch (err) {
|
|
106
122
|
if (!(err instanceof ApiResponseError)) throw err;
|
|
107
|
-
const
|
|
123
|
+
const refusals: ProblemItem[] = err.problem.errors ?? [err.problem];
|
|
124
|
+
const underSquare = refusals
|
|
108
125
|
.filter((item) => item.location?.field === "square_logo")
|
|
109
|
-
.map((item) => item.
|
|
110
|
-
//
|
|
126
|
+
.map((item) => item.params?.reason ?? item.code);
|
|
127
|
+
// Write a sentence for each reason under the square logo's slot; an error naming no field goes in a toast.
|
|
111
128
|
}
|
|
112
129
|
```
|
|
113
130
|
|