···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package bsky
44+55+// schema: app.bsky.notification.unregisterPush
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/lex/util"
1111+)
1212+1313+// NotificationUnregisterPush_Input is the input argument to a app.bsky.notification.unregisterPush call.
1414+type NotificationUnregisterPush_Input struct {
1515+ AppId string `json:"appId" cborgen:"appId"`
1616+ Platform string `json:"platform" cborgen:"platform"`
1717+ ServiceDid string `json:"serviceDid" cborgen:"serviceDid"`
1818+ Token string `json:"token" cborgen:"token"`
1919+}
2020+2121+// NotificationUnregisterPush calls the XRPC method "app.bsky.notification.unregisterPush".
2222+func NotificationUnregisterPush(ctx context.Context, c util.LexClient, input *NotificationUnregisterPush_Input) error {
2323+ if err := c.LexDo(ctx, util.Procedure, "application/json", "app.bsky.notification.unregisterPush", nil, input, nil); err != nil {
2424+ return err
2525+ }
2626+2727+ return nil
2828+}
+4-2
api/ozone/moderationemitEvent.go
···15151616// ModerationEmitEvent_Input is the input argument to a tools.ozone.moderation.emitEvent call.
1717type ModerationEmitEvent_Input struct {
1818- CreatedBy string `json:"createdBy" cborgen:"createdBy"`
1919- Event *ModerationEmitEvent_Input_Event `json:"event" cborgen:"event"`
1818+ CreatedBy string `json:"createdBy" cborgen:"createdBy"`
1919+ Event *ModerationEmitEvent_Input_Event `json:"event" cborgen:"event"`
2020+ // externalId: An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject.
2121+ ExternalId *string `json:"externalId,omitempty" cborgen:"externalId,omitempty"`
2022 ModTool *ModerationDefs_ModTool `json:"modTool,omitempty" cborgen:"modTool,omitempty"`
2123 Subject *ModerationEmitEvent_Input_Subject `json:"subject" cborgen:"subject"`
2224 SubjectBlobCids []string `json:"subjectBlobCids,omitempty" cborgen:"subjectBlobCids,omitempty"`