@atproto/api 0.29.3 → 0.29.4

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.
@@ -8,8 +8,10 @@ export interface InputSchema {
8
8
  subject: string;
9
9
  /** If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID. */
10
10
  includeAllOwned?: boolean;
11
- /** If specified, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted, all non-closed reports on the subject are targeted. */
11
+ /** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all non-closed reports in the requested subject scope are targeted, except excludedReportTypes. */
12
12
  reportTypes?: string[];
13
+ /** Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded. */
14
+ excludedReportTypes?: string[];
13
15
  /** Optional moderator-only note recorded on each close activity. Not visible to reporters. */
14
16
  internalNote?: string;
15
17
  /** Set true when this action is triggered by an automated process. Defaults to false. */
@@ -1 +1 @@
1
- {"version":3,"file":"closeReports.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAc1D,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,2GAA2G;IAC3G,OAAO,EAAE,MAAM,CAAA;IACf,mKAAmK;IACnK,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,wKAAwK;IACxK,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,8FAA8F;IAC9F,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yFAAyF;IACzF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kHAAkH;IAClH,IAAI,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,CAAA;CAClC;AAED,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAA;IACnB,2CAA2C;IAC3C,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
1
+ {"version":3,"file":"closeReports.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAc1D,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,2GAA2G;IAC3G,OAAO,EAAE,MAAM,CAAA;IACf,mKAAmK;IACnK,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,4NAA4N;IAC5N,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,+JAA+J;IAC/J,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC9B,8FAA8F;IAC9F,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yFAAyF;IACzF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kHAAkH;IAClH,IAAI,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,CAAA;CAClC;AAED,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAA;IACnB,2CAA2C;IAC3C,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"closeReports.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAuC5C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.report.closeReports'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed. */\n subject: string\n /** If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID. */\n includeAllOwned?: boolean\n /** If specified, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted, all non-closed reports on the subject are targeted. */\n reportTypes?: string[]\n /** Optional moderator-only note recorded on each close activity. Not visible to reporters. */\n internalNote?: string\n /** Set true when this action is triggered by an automated process. Defaults to false. */\n isAutomated?: boolean\n /** Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service. */\n meta?: { [_ in string]: unknown }\n}\n\nexport interface OutputSchema {\n /** Number of reports that were transitioned to closed. */\n closedCount: number\n /** IDs of the reports that were closed. */\n reportIds: number[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
1
+ {"version":3,"file":"closeReports.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAyC5C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.report.closeReports'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed. */\n subject: string\n /** If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID. */\n includeAllOwned?: boolean\n /** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all non-closed reports in the requested subject scope are targeted, except excludedReportTypes. */\n reportTypes?: string[]\n /** Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded. */\n excludedReportTypes?: string[]\n /** Optional moderator-only note recorded on each close activity. Not visible to reporters. */\n internalNote?: string\n /** Set true when this action is triggered by an automated process. Defaults to false. */\n isAutomated?: boolean\n /** Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service. */\n meta?: { [_ in string]: unknown }\n}\n\nexport interface OutputSchema {\n /** Number of reports that were transitioned to closed. */\n closedCount: number\n /** IDs of the reports that were closed. */\n reportIds: number[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.29.3",
3
+ "version": "0.29.4",
4
4
  "license": "MIT",
5
5
  "description": "Client library for atproto and Bluesky",
6
6
  "keywords": [