@picked/admin-api-client 0.0.1-dev.1793933802654 → 0.0.1-dev.1794201215240

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/cjs/index.js CHANGED
@@ -1,5 +1,65 @@
1
1
  Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./graphql.js");let t=require("@0no-co/graphql.web"),n=require("graphql-request"),r=require("gql.tada");var i=3e4,a=class extends Error{name=`AdminApiResponseError`;codes;constructor(e,t,n){super(e,n),this.codes=t}};function o(e){if(e instanceof n.ClientError){let t=e.response.errors??[];return t.length>0?new a(t.map(e=>e.message).join(`
2
- `),t.map(e=>{let t=e.extensions.code;return typeof t==`string`?t:void 0}),{cause:e}):Error(`GraphQL request failed (${e.response.status.toString()})`,{cause:e})}return Error(e instanceof Error?e.message:String(e),{cause:e})}function s(e){let r=new n.GraphQLClient(`${e.apiUrl}/api/graphql`,{fetch:(e,t)=>fetch(e,{...t,signal:t?.signal??AbortSignal.timeout(i)})});return{request:async(n,i,a)=>{let s=typeof e.token==`function`?await e.token():e.token,c={};s&&(c.authorization=`Bearer ${s}`),e.apiKey&&(c[`x-api-key`]=e.apiKey);try{return await r.request({document:(0,t.print)(n),variables:i,...Object.keys(c).length>0&&{requestHeaders:c},...a?.timeoutMs!==void 0&&{signal:AbortSignal.timeout(a.timeoutMs)}})}catch(e){throw o(e)}}}}var c=e.graphql(`
2
+ `),t.map(e=>{let t=e.extensions.code;return typeof t==`string`?t:void 0}),{cause:e}):Error(`GraphQL request failed (${e.response.status.toString()})`,{cause:e})}return Error(e instanceof Error?e.message:String(e),{cause:e})}function s(e){let t=e.length;for(;t>0&&e[t-1]===`/`;)--t;return e.slice(0,t)}function c(e){let r=new n.GraphQLClient(`${s(e.apiUrl)}/api/graphql`,{fetch:(t,n)=>(e.fetch??fetch)(t,{...n,signal:n?.signal??AbortSignal.timeout(i)})});return{request:async(n,i,a)=>{let s=typeof e.token==`function`?await e.token():e.token,c={};s&&(c.authorization=`Bearer ${s}`),e.apiKey&&(c[`x-api-key`]=e.apiKey),Object.assign(c,a?.headers);try{return await r.request({document:(0,t.print)(n),variables:i,...Object.keys(c).length>0&&{requestHeaders:c},...a?.timeoutMs!==void 0&&{signal:AbortSignal.timeout(a.timeoutMs)}})}catch(e){throw o(e)}}}}var l=e.graphql(`
3
+ query AppInstallationLabels($id: ID!) {
4
+ appInstallation(input: { id: $id }) {
5
+ labels {
6
+ namespace
7
+ key
8
+ type
9
+ value
10
+ secret
11
+ expiresAt
12
+ updatedAt
13
+ }
14
+ }
15
+ }
16
+ `),u=e.graphql(`
17
+ mutation AppInstallationLabelsSet($input: LabelsSetInput!) {
18
+ labelsSet(input: $input) {
19
+ labels {
20
+ namespace
21
+ key
22
+ type
23
+ value
24
+ secret
25
+ expiresAt
26
+ updatedAt
27
+ }
28
+ skipped {
29
+ namespace
30
+ key
31
+ type
32
+ value
33
+ secret
34
+ expiresAt
35
+ updatedAt
36
+ }
37
+ userErrors {
38
+ field
39
+ message
40
+ code
41
+ }
42
+ }
43
+ }
44
+ `),d=e.graphql(`
45
+ mutation AppInstallationLabelsDelete($input: LabelsDeleteInput!) {
46
+ labelsDelete(input: $input) {
47
+ deletedLabelIds
48
+ userErrors {
49
+ field
50
+ message
51
+ code
52
+ }
53
+ }
54
+ }
55
+ `),f=e.graphql(`
56
+ mutation AppInstallationTokenCreate($input: AppInstallationTokenCreateInput!) {
57
+ appInstallationTokenCreate(input: $input) {
58
+ token
59
+ expiresAt
60
+ }
61
+ }
62
+ `),p=e.graphql(`
3
63
  query PickedWorkspaceExport($input: WorkspaceExportInput!) {
4
64
  workspaceExport(input: $input) {
5
65
  bundle
@@ -10,7 +70,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=requi
10
70
  }
11
71
  }
12
72
  }
13
- `),l=e.graphql(`
73
+ `),m=e.graphql(`
14
74
  query PickedProjectLiveVersion($input: ProjectInput!) {
15
75
  project(input: $input) {
16
76
  id
@@ -20,7 +80,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=requi
20
80
  }
21
81
  }
22
82
  }
23
- `),u=e.graphql(`
83
+ `),h=e.graphql(`
24
84
  mutation PickedWorkspaceImport($input: WorkspaceImportInput!) {
25
85
  workspaceImport(input: $input) {
26
86
  workspace {
@@ -34,7 +94,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=requi
34
94
  }
35
95
  }
36
96
  }
37
- `),d=e.graphql(`
97
+ `),g=e.graphql(`
38
98
  mutation PickedAssetUploadInit($input: AssetUploadInitInput!) {
39
99
  assetUploadInit(input: $input) {
40
100
  assetId
@@ -44,7 +104,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=requi
44
104
  deduplicated
45
105
  }
46
106
  }
47
- `),f=e.graphql(`
107
+ `),_=e.graphql(`
48
108
  mutation PickedAssetCommit($input: AssetCommitInput!) {
49
109
  assetCommit(input: $input) {
50
110
  asset {
@@ -57,13 +117,13 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=requi
57
117
  }
58
118
  }
59
119
  }
60
- `),p=e.graphql(`
120
+ `),v=e.graphql(`
61
121
  mutation PickedAssetDelete($input: AssetDeleteInput!) {
62
122
  assetDelete(input: $input) {
63
123
  assetId
64
124
  }
65
125
  }
66
- `),m=e.graphql(`
126
+ `),y=e.graphql(`
67
127
  mutation PickedWorkspacePublish($input: WorkspacePublishInput!) {
68
128
  workspacePublish(input: $input) {
69
129
  workspace {
@@ -76,4 +136,4 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=requi
76
136
  }
77
137
  }
78
138
  }
79
- `);exports.AdminApiResponseError=a,exports.AssetCommitDocument=f,exports.AssetDeleteDocument=p,exports.AssetUploadInitDocument=d,exports.ProjectLiveVersionDocument=l,exports.WorkspaceExportDocument=c,exports.WorkspaceImportDocument=u,exports.WorkspacePublishDocument=m,exports.createAdminApiClient=s,exports.graphql=e.graphql,Object.defineProperty(exports,"readFragment",{enumerable:!0,get:function(){return r.readFragment}});
139
+ `);exports.AdminApiResponseError=a,exports.AppInstallationLabelsDocument=l,exports.AppInstallationTokenCreateDocument=f,exports.AssetCommitDocument=_,exports.AssetDeleteDocument=v,exports.AssetUploadInitDocument=g,exports.LabelsDeleteDocument=d,exports.LabelsSetDocument=u,exports.ProjectLiveVersionDocument=m,exports.WorkspaceExportDocument=p,exports.WorkspaceImportDocument=h,exports.WorkspacePublishDocument=y,exports.createAdminApiClient=c,exports.graphql=e.graphql,Object.defineProperty(exports,"readFragment",{enumerable:!0,get:function(){return r.readFragment}});
package/dist/esm/index.js CHANGED
@@ -21,13 +21,18 @@ function s(e) {
21
21
  return Error(e instanceof Error ? e.message : String(e), { cause: e });
22
22
  }
23
23
  function c(e) {
24
- let n = new r(`${e.apiUrl}/api/graphql`, { fetch: (e, t) => fetch(e, {
25
- ...t,
26
- signal: t?.signal ?? AbortSignal.timeout(a)
24
+ let t = e.length;
25
+ for (; t > 0 && e[t - 1] === "/";) --t;
26
+ return e.slice(0, t);
27
+ }
28
+ function l(e) {
29
+ let n = new r(`${c(e.apiUrl)}/api/graphql`, { fetch: (t, n) => (e.fetch ?? fetch)(t, {
30
+ ...n,
31
+ signal: n?.signal ?? AbortSignal.timeout(a)
27
32
  }) });
28
33
  return { request: async (r, i, a) => {
29
34
  let o = typeof e.token == "function" ? await e.token() : e.token, c = {};
30
- o && (c.authorization = `Bearer ${o}`), e.apiKey && (c["x-api-key"] = e.apiKey);
35
+ o && (c.authorization = `Bearer ${o}`), e.apiKey && (c["x-api-key"] = e.apiKey), Object.assign(c, a?.headers);
31
36
  try {
32
37
  return await n.request({
33
38
  document: t(r),
@@ -41,7 +46,7 @@ function c(e) {
41
46
  } };
42
47
  }
43
48
  //#endregion
44
- //#region src/workspace-transfer.ts
45
- var l = e("\n query PickedWorkspaceExport($input: WorkspaceExportInput!) {\n workspaceExport(input: $input) {\n bundle\n userErrors {\n field\n message\n code\n }\n }\n }\n"), u = e("\n query PickedProjectLiveVersion($input: ProjectInput!) {\n project(input: $input) {\n id\n liveWorkspaceVersion {\n id\n snapshotWorkspaceId\n }\n }\n }\n"), d = e("\n mutation PickedWorkspaceImport($input: WorkspaceImportInput!) {\n workspaceImport(input: $input) {\n workspace {\n id\n name\n }\n userErrors {\n field\n message\n code\n }\n }\n }\n"), f = e("\n mutation PickedAssetUploadInit($input: AssetUploadInitInput!) {\n assetUploadInit(input: $input) {\n assetId\n versionId\n storagePath\n uploadUrl\n deduplicated\n }\n }\n"), p = e("\n mutation PickedAssetCommit($input: AssetCommitInput!) {\n assetCommit(input: $input) {\n asset {\n id\n }\n userErrors {\n field\n message\n code\n }\n }\n }\n"), m = e("\n mutation PickedAssetDelete($input: AssetDeleteInput!) {\n assetDelete(input: $input) {\n assetId\n }\n }\n"), h = e("\n mutation PickedWorkspacePublish($input: WorkspacePublishInput!) {\n workspacePublish(input: $input) {\n workspace {\n id\n }\n userErrors {\n field\n message\n code\n }\n }\n }\n");
49
+ //#region src/app-installation.ts
50
+ var u = e("\n query AppInstallationLabels($id: ID!) {\n appInstallation(input: { id: $id }) {\n labels {\n namespace\n key\n type\n value\n secret\n expiresAt\n updatedAt\n }\n }\n }\n"), d = e("\n mutation AppInstallationLabelsSet($input: LabelsSetInput!) {\n labelsSet(input: $input) {\n labels {\n namespace\n key\n type\n value\n secret\n expiresAt\n updatedAt\n }\n skipped {\n namespace\n key\n type\n value\n secret\n expiresAt\n updatedAt\n }\n userErrors {\n field\n message\n code\n }\n }\n }\n"), f = e("\n mutation AppInstallationLabelsDelete($input: LabelsDeleteInput!) {\n labelsDelete(input: $input) {\n deletedLabelIds\n userErrors {\n field\n message\n code\n }\n }\n }\n"), p = e("\n mutation AppInstallationTokenCreate($input: AppInstallationTokenCreateInput!) {\n appInstallationTokenCreate(input: $input) {\n token\n expiresAt\n }\n }\n"), m = e("\n query PickedWorkspaceExport($input: WorkspaceExportInput!) {\n workspaceExport(input: $input) {\n bundle\n userErrors {\n field\n message\n code\n }\n }\n }\n"), h = e("\n query PickedProjectLiveVersion($input: ProjectInput!) {\n project(input: $input) {\n id\n liveWorkspaceVersion {\n id\n snapshotWorkspaceId\n }\n }\n }\n"), g = e("\n mutation PickedWorkspaceImport($input: WorkspaceImportInput!) {\n workspaceImport(input: $input) {\n workspace {\n id\n name\n }\n userErrors {\n field\n message\n code\n }\n }\n }\n"), _ = e("\n mutation PickedAssetUploadInit($input: AssetUploadInitInput!) {\n assetUploadInit(input: $input) {\n assetId\n versionId\n storagePath\n uploadUrl\n deduplicated\n }\n }\n"), v = e("\n mutation PickedAssetCommit($input: AssetCommitInput!) {\n assetCommit(input: $input) {\n asset {\n id\n }\n userErrors {\n field\n message\n code\n }\n }\n }\n"), y = e("\n mutation PickedAssetDelete($input: AssetDeleteInput!) {\n assetDelete(input: $input) {\n assetId\n }\n }\n"), b = e("\n mutation PickedWorkspacePublish($input: WorkspacePublishInput!) {\n workspacePublish(input: $input) {\n workspace {\n id\n }\n userErrors {\n field\n message\n code\n }\n }\n }\n");
46
51
  //#endregion
47
- export { o as AdminApiResponseError, p as AssetCommitDocument, m as AssetDeleteDocument, f as AssetUploadInitDocument, u as ProjectLiveVersionDocument, l as WorkspaceExportDocument, d as WorkspaceImportDocument, h as WorkspacePublishDocument, c as createAdminApiClient, e as graphql, i as readFragment };
52
+ export { o as AdminApiResponseError, u as AppInstallationLabelsDocument, p as AppInstallationTokenCreateDocument, v as AssetCommitDocument, y as AssetDeleteDocument, _ as AssetUploadInitDocument, f as LabelsDeleteDocument, d as LabelsSetDocument, h as ProjectLiveVersionDocument, m as WorkspaceExportDocument, g as WorkspaceImportDocument, b as WorkspacePublishDocument, l as createAdminApiClient, e as graphql, i as readFragment };
@@ -0,0 +1,121 @@
1
+ /**
2
+ * Reads every live label an app installation owns, secret values included.
3
+ *
4
+ * @example
5
+ * const data = await client.request(AppInstallationLabelsDocument, { id: installationId })
6
+ */
7
+ export declare const AppInstallationLabelsDocument: import("gql.tada").TadaDocumentNode<{
8
+ appInstallation: {
9
+ labels: {
10
+ expiresAt: string | null;
11
+ key: string;
12
+ namespace: string;
13
+ secret: boolean;
14
+ type: "BOOLEAN" | "JSON" | "NUMBER" | "TEXT";
15
+ updatedAt: string;
16
+ value: string;
17
+ }[];
18
+ } | null;
19
+ }, {
20
+ id: string;
21
+ }, void>;
22
+ /**
23
+ * Creates or replaces labels on an owner, returning the labels written, the live labels an
24
+ * `onlyIfAbsent` label left in place, and the user errors of a refused write.
25
+ *
26
+ * @example
27
+ * const data = await client.request(LabelsSetDocument, { input: { ownerType, ownerId, labels } })
28
+ */
29
+ export declare const LabelsSetDocument: import("gql.tada").TadaDocumentNode<{
30
+ labelsSet: {
31
+ labels: {
32
+ expiresAt: string | null;
33
+ key: string;
34
+ namespace: string;
35
+ secret: boolean;
36
+ type: "BOOLEAN" | "JSON" | "NUMBER" | "TEXT";
37
+ updatedAt: string;
38
+ value: string;
39
+ }[];
40
+ skipped: {
41
+ expiresAt: string | null;
42
+ key: string;
43
+ namespace: string;
44
+ secret: boolean;
45
+ type: "BOOLEAN" | "JSON" | "NUMBER" | "TEXT";
46
+ updatedAt: string;
47
+ value: string;
48
+ }[];
49
+ userErrors: {
50
+ code: "KEY_INVALID" | "LABEL_WRITE_INVALID" | "NAMESPACE_INVALID" | "OWNER_NOT_FOUND" | "VALUE_INVALID_FOR_TYPE";
51
+ field: string[] | null;
52
+ message: string;
53
+ }[];
54
+ };
55
+ }, {
56
+ input: {
57
+ atomic?: boolean | null | undefined;
58
+ labels: {
59
+ expiresIn?: number | null | undefined;
60
+ increment?: number | null | undefined;
61
+ key: string;
62
+ namespace: string;
63
+ onlyIfAbsent?: boolean | null | undefined;
64
+ secret?: boolean | null | undefined;
65
+ type: "BOOLEAN" | "JSON" | "NUMBER" | "TEXT";
66
+ value?: string | null | undefined;
67
+ }[];
68
+ ownerId: string;
69
+ ownerType: "APP_INSTALLATION" | "LEAD" | "PROJECT" | "WORKFLOW_RUN";
70
+ };
71
+ }, void>;
72
+ /**
73
+ * Removes labels from an owner, returning the ids removed and the user errors of a refused
74
+ * removal.
75
+ *
76
+ * @example
77
+ * const data = await client.request(LabelsDeleteDocument, { input: { ownerType, ownerId, labels } })
78
+ */
79
+ export declare const LabelsDeleteDocument: import("gql.tada").TadaDocumentNode<{
80
+ labelsDelete: {
81
+ deletedLabelIds: string[];
82
+ userErrors: {
83
+ code: "KEY_INVALID" | "LABEL_WRITE_INVALID" | "NAMESPACE_INVALID" | "OWNER_NOT_FOUND" | "VALUE_INVALID_FOR_TYPE";
84
+ field: string[] | null;
85
+ message: string;
86
+ }[];
87
+ };
88
+ }, {
89
+ input: {
90
+ labels: {
91
+ ifValue?: string | null | undefined;
92
+ key: string;
93
+ namespace: string;
94
+ }[];
95
+ ownerId: string;
96
+ ownerType: "APP_INSTALLATION" | "LEAD" | "PROJECT" | "WORKFLOW_RUN";
97
+ };
98
+ }, void>;
99
+ /**
100
+ * Mints a one-hour installation token. The request authenticates with an app assertion in the
101
+ * `picked-app-assertion` header, passed through the request's `headers` option.
102
+ *
103
+ * @example
104
+ * const data = await client.request(
105
+ * AppInstallationTokenCreateDocument,
106
+ * { input: { installationId } },
107
+ * { headers: { 'picked-app-assertion': assertion } },
108
+ * )
109
+ */
110
+ export declare const AppInstallationTokenCreateDocument: import("gql.tada").TadaDocumentNode<{
111
+ appInstallationTokenCreate: {
112
+ expiresAt: string;
113
+ token: string;
114
+ };
115
+ }, {
116
+ input: {
117
+ installationId: string;
118
+ sessionToken?: string | null | undefined;
119
+ };
120
+ }, void>;
121
+ //# sourceMappingURL=app-installation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-installation.d.ts","sourceRoot":"","sources":["../../src/app-installation.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;QAcxC,CAAA;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA4B5B,CAAA;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;QAW/B,CAAA;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;QAO7C,CAAA"}
@@ -1,17 +1,21 @@
1
1
  import type { TadaDocumentNode } from 'gql.tada';
2
2
  /** Options for {@link createAdminApiClient}. */
3
3
  export interface CreateAdminApiClientOptions {
4
- /** Base API origin; requests are POSTed to `${apiUrl}/api/graphql`. */
4
+ /** Base API origin; requests are POSTed to `${apiUrl}/api/graphql`, trailing slashes aside. */
5
5
  apiUrl: string;
6
6
  /** Bearer token, or an accessor resolved per request (supports mid-session refresh). */
7
7
  token?: string | (() => string | Promise<string>);
8
8
  /** API key sent as the `X-API-Key` header on every request. */
9
9
  apiKey?: string;
10
+ /** The fetch requests are sent with; the global one by default. */
11
+ fetch?: typeof fetch;
10
12
  }
11
13
  /** Per-request options for {@link AdminApiClient.request}. */
12
14
  export interface AdminApiRequestOptions {
13
15
  /** Milliseconds before the request is aborted; 30 000 when omitted. */
14
16
  timeoutMs?: number;
17
+ /** Headers sent with this request, over the client's `token` and `apiKey` headers. */
18
+ headers?: Readonly<Record<string, string>>;
15
19
  }
16
20
  /**
17
21
  * The error a request throws when the API answered with GraphQL errors. Network failures,
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD,gDAAgD;AAChD,MAAM,WAAW,2BAA2B;IAC1C,uEAAuE;IACvE,MAAM,EAAE,MAAM,CAAA;IACd,wFAAwF;IACxF,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;IACjD,+DAA+D;IAC/D,MAAM,CAAC,EAAE,MAAM,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