@atcute/bluesky 3.2.12 → 3.2.13
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 +4 -0
- package/dist/lexicons/index.d.ts +9 -0
- package/dist/lexicons/index.d.ts.map +1 -1
- package/dist/lexicons/index.js +9 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/defs.d.ts +22 -1
- package/dist/lexicons/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/defs.js +17 -0
- package/dist/lexicons/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/contact/defs.d.ts +58 -0
- package/dist/lexicons/types/app/bsky/contact/defs.d.ts.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/defs.js +44 -0
- package/dist/lexicons/types/app/bsky/contact/defs.js.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/dismissMatch.d.ts +30 -0
- package/dist/lexicons/types/app/bsky/contact/dismissMatch.d.ts.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/dismissMatch.js +19 -0
- package/dist/lexicons/types/app/bsky/contact/dismissMatch.js.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/getMatches.d.ts +32 -0
- package/dist/lexicons/types/app/bsky/contact/getMatches.d.ts.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/getMatches.js +25 -0
- package/dist/lexicons/types/app/bsky/contact/getMatches.js.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/getSyncStatus.d.ts +26 -0
- package/dist/lexicons/types/app/bsky/contact/getSyncStatus.d.ts.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/getSyncStatus.js +18 -0
- package/dist/lexicons/types/app/bsky/contact/getSyncStatus.js.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/importContacts.d.ts +42 -0
- package/dist/lexicons/types/app/bsky/contact/importContacts.d.ts.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/importContacts.js +35 -0
- package/dist/lexicons/types/app/bsky/contact/importContacts.js.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/removeData.d.ts +25 -0
- package/dist/lexicons/types/app/bsky/contact/removeData.d.ts.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/removeData.js +14 -0
- package/dist/lexicons/types/app/bsky/contact/removeData.js.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/sendNotification.d.ts +34 -0
- package/dist/lexicons/types/app/bsky/contact/sendNotification.d.ts.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/sendNotification.js +23 -0
- package/dist/lexicons/types/app/bsky/contact/sendNotification.js.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/startPhoneVerification.d.ts +30 -0
- package/dist/lexicons/types/app/bsky/contact/startPhoneVerification.d.ts.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/startPhoneVerification.js +19 -0
- package/dist/lexicons/types/app/bsky/contact/startPhoneVerification.js.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/verifyPhone.d.ts +39 -0
- package/dist/lexicons/types/app/bsky/contact/verifyPhone.d.ts.map +1 -0
- package/dist/lexicons/types/app/bsky/contact/verifyPhone.js +28 -0
- package/dist/lexicons/types/app/bsky/contact/verifyPhone.js.map +1 -0
- package/dist/utilities/embeds.d.ts +2992 -2992
- package/lib/lexicons/index.ts +9 -0
- package/lib/lexicons/types/app/bsky/actor/defs.ts +20 -0
- package/lib/lexicons/types/app/bsky/contact/defs.ts +58 -0
- package/lib/lexicons/types/app/bsky/contact/dismissMatch.ts +36 -0
- package/lib/lexicons/types/app/bsky/contact/getMatches.ts +43 -0
- package/lib/lexicons/types/app/bsky/contact/getSyncStatus.ts +34 -0
- package/lib/lexicons/types/app/bsky/contact/importContacts.ts +52 -0
- package/lib/lexicons/types/app/bsky/contact/removeData.ts +31 -0
- package/lib/lexicons/types/app/bsky/contact/sendNotification.ts +40 -0
- package/lib/lexicons/types/app/bsky/contact/startPhoneVerification.ts +36 -0
- package/lib/lexicons/types/app/bsky/contact/verifyPhone.ts +45 -0
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSyncStatus.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/getSyncStatus.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,QAAA,MAAM,WAAW;;;QAKd;;WAEG;;;oCAMJ,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AACtE,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,WAAW;QACpB,gCAAgC,EAAE,UAAU,CAAC;KAC7C;CACD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyContactDefs from './defs.js';
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.contact.getSyncStatus', {
|
|
4
|
+
params: /*#__PURE__*/ v.object({}),
|
|
5
|
+
output: {
|
|
6
|
+
type: 'lex',
|
|
7
|
+
schema: /*#__PURE__*/ v.object({
|
|
8
|
+
/**
|
|
9
|
+
* If present, indicates the user has imported their contacts. If not present, indicates the user never used the feature or called `app.bsky.contact.removeData` and didn't import again since.
|
|
10
|
+
*/
|
|
11
|
+
get syncStatus() {
|
|
12
|
+
return /*#__PURE__*/ v.optional(AppBskyContactDefs.syncStatusSchema);
|
|
13
|
+
},
|
|
14
|
+
}),
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
export const mainSchema = _mainSchema;
|
|
18
|
+
//# sourceMappingURL=getSyncStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSyncStatus.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/getSyncStatus.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,gCAAgC,EAAE;IAC3E,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;IAClC,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,IAAI,UAAU,GAAG;gBAChB,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;YAAA,CACrE;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyContactDefs from './defs.js';
|
|
3
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
4
|
+
type: "lex";
|
|
5
|
+
schema: v.ObjectSchema<{
|
|
6
|
+
/**
|
|
7
|
+
* List of phone numbers in global E.164 format (e.g., '+12125550123'). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the 'phone' input used in `app.bsky.contact.verifyPhone`.
|
|
8
|
+
* @minLength 1
|
|
9
|
+
* @maxLength 1000
|
|
10
|
+
*/
|
|
11
|
+
contacts: v.SchemaWithConstraint<v.ArraySchema<v.StringSchema<string>>, readonly [v.ArrayLengthConstraint<1, 1000>]>;
|
|
12
|
+
/**
|
|
13
|
+
* JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`.
|
|
14
|
+
*/
|
|
15
|
+
token: v.StringSchema<string>;
|
|
16
|
+
}>;
|
|
17
|
+
}, {
|
|
18
|
+
type: "lex";
|
|
19
|
+
schema: v.ObjectSchema<{
|
|
20
|
+
/**
|
|
21
|
+
* The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list.
|
|
22
|
+
*/
|
|
23
|
+
readonly matchesAndContactIndexes: v.ArraySchema<AppBskyContactDefs.matchAndContactIndexSchema>;
|
|
24
|
+
}>;
|
|
25
|
+
}, "app.bsky.contact.importContacts">;
|
|
26
|
+
type main$schematype = typeof _mainSchema;
|
|
27
|
+
export interface mainSchema extends main$schematype {
|
|
28
|
+
}
|
|
29
|
+
export declare const mainSchema: mainSchema;
|
|
30
|
+
export interface $params {
|
|
31
|
+
}
|
|
32
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
33
|
+
}
|
|
34
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
35
|
+
}
|
|
36
|
+
declare module '@atcute/lexicons/ambient' {
|
|
37
|
+
interface XRPCProcedures {
|
|
38
|
+
'app.bsky.contact.importContacts': mainSchema;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=importContacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"importContacts.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/importContacts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,QAAA,MAAM,WAAW;;;QAKd;;;;WAIG;;QAIH;;WAEG;;;;;;QAOH;;WAEG;;;qCAMJ,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,OAAO;CAAG;AAC3B,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;CAAG;AAC5E,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,cAAc;QACvB,iCAAiC,EAAE,UAAU,CAAC;KAC9C;CACD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyContactDefs from './defs.js';
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.contact.importContacts', {
|
|
4
|
+
params: null,
|
|
5
|
+
input: {
|
|
6
|
+
type: 'lex',
|
|
7
|
+
schema: /*#__PURE__*/ v.object({
|
|
8
|
+
/**
|
|
9
|
+
* List of phone numbers in global E.164 format (e.g., '+12125550123'). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the 'phone' input used in `app.bsky.contact.verifyPhone`.
|
|
10
|
+
* @minLength 1
|
|
11
|
+
* @maxLength 1000
|
|
12
|
+
*/
|
|
13
|
+
contacts: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), [
|
|
14
|
+
/*#__PURE__*/ v.arrayLength(1, 1000),
|
|
15
|
+
]),
|
|
16
|
+
/**
|
|
17
|
+
* JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`.
|
|
18
|
+
*/
|
|
19
|
+
token: /*#__PURE__*/ v.string(),
|
|
20
|
+
}),
|
|
21
|
+
},
|
|
22
|
+
output: {
|
|
23
|
+
type: 'lex',
|
|
24
|
+
schema: /*#__PURE__*/ v.object({
|
|
25
|
+
/**
|
|
26
|
+
* The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list.
|
|
27
|
+
*/
|
|
28
|
+
get matchesAndContactIndexes() {
|
|
29
|
+
return /*#__PURE__*/ v.array(AppBskyContactDefs.matchAndContactIndexSchema);
|
|
30
|
+
},
|
|
31
|
+
}),
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
export const mainSchema = _mainSchema;
|
|
35
|
+
//# sourceMappingURL=importContacts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"importContacts.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/importContacts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,iCAAiC,EAAE;IAChF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;;;eAIG;YACH,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE;gBACpF,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC;aACpC,CAAC;YACF;;eAEG;YACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAC/B,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,IAAI,wBAAwB,GAAG;gBAC9B,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,0BAA0B,CAAC,CAAC;YAAA,CAC5E;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{}>;
|
|
5
|
+
}, {
|
|
6
|
+
type: "lex";
|
|
7
|
+
schema: v.ObjectSchema<{}>;
|
|
8
|
+
}, "app.bsky.contact.removeData">;
|
|
9
|
+
type main$schematype = typeof _mainSchema;
|
|
10
|
+
export interface mainSchema extends main$schematype {
|
|
11
|
+
}
|
|
12
|
+
export declare const mainSchema: mainSchema;
|
|
13
|
+
export interface $params {
|
|
14
|
+
}
|
|
15
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
16
|
+
}
|
|
17
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
18
|
+
}
|
|
19
|
+
declare module '@atcute/lexicons/ambient' {
|
|
20
|
+
interface XRPCProcedures {
|
|
21
|
+
'app.bsky.contact.removeData': mainSchema;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=removeData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeData.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/removeData.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;;;;;;iCAUf,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,OAAO;CAAG;AAC3B,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;CAAG;AAC5E,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,cAAc;QACvB,6BAA6B,EAAE,UAAU,CAAC;KAC1C;CACD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.contact.removeData', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({}),
|
|
7
|
+
},
|
|
8
|
+
output: {
|
|
9
|
+
type: 'lex',
|
|
10
|
+
schema: /*#__PURE__*/ v.object({}),
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
export const mainSchema = _mainSchema;
|
|
14
|
+
//# sourceMappingURL=removeData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeData.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/removeData.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,6BAA6B,EAAE;IAC5E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;KAClC;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;KAClC;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
/**
|
|
6
|
+
* The DID of who this notification comes from.
|
|
7
|
+
*/
|
|
8
|
+
from: v.FormattedStringSchema<"did">;
|
|
9
|
+
/**
|
|
10
|
+
* The DID of who this notification should go to.
|
|
11
|
+
*/
|
|
12
|
+
to: v.FormattedStringSchema<"did">;
|
|
13
|
+
}>;
|
|
14
|
+
}, {
|
|
15
|
+
type: "lex";
|
|
16
|
+
schema: v.ObjectSchema<{}>;
|
|
17
|
+
}, "app.bsky.contact.sendNotification">;
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
export interface mainSchema extends main$schematype {
|
|
20
|
+
}
|
|
21
|
+
export declare const mainSchema: mainSchema;
|
|
22
|
+
export interface $params {
|
|
23
|
+
}
|
|
24
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
25
|
+
}
|
|
26
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
27
|
+
}
|
|
28
|
+
declare module '@atcute/lexicons/ambient' {
|
|
29
|
+
interface XRPCProcedures {
|
|
30
|
+
'app.bsky.contact.sendNotification': mainSchema;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=sendNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendNotification.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/sendNotification.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;;;QAKd;;WAEG;;QAEH;;WAEG;;;;;;uCAQJ,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,OAAO;CAAG;AAC3B,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;CAAG;AAC5E,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,cAAc;QACvB,mCAAmC,EAAE,UAAU,CAAC;KAChD;CACD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.contact.sendNotification', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
/**
|
|
8
|
+
* The DID of who this notification comes from.
|
|
9
|
+
*/
|
|
10
|
+
from: /*#__PURE__*/ v.didString(),
|
|
11
|
+
/**
|
|
12
|
+
* The DID of who this notification should go to.
|
|
13
|
+
*/
|
|
14
|
+
to: /*#__PURE__*/ v.didString(),
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
output: {
|
|
18
|
+
type: 'lex',
|
|
19
|
+
schema: /*#__PURE__*/ v.object({}),
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
export const mainSchema = _mainSchema;
|
|
23
|
+
//# sourceMappingURL=sendNotification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendNotification.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/sendNotification.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAmC,EAAE;IAClF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;YACjC;;eAEG;YACH,EAAE,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;SAC/B,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;KAClC;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
/**
|
|
6
|
+
* The phone number to receive the code via SMS.
|
|
7
|
+
*/
|
|
8
|
+
phone: v.StringSchema<string>;
|
|
9
|
+
}>;
|
|
10
|
+
}, {
|
|
11
|
+
type: "lex";
|
|
12
|
+
schema: v.ObjectSchema<{}>;
|
|
13
|
+
}, "app.bsky.contact.startPhoneVerification">;
|
|
14
|
+
type main$schematype = typeof _mainSchema;
|
|
15
|
+
export interface mainSchema extends main$schematype {
|
|
16
|
+
}
|
|
17
|
+
export declare const mainSchema: mainSchema;
|
|
18
|
+
export interface $params {
|
|
19
|
+
}
|
|
20
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
21
|
+
}
|
|
22
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
23
|
+
}
|
|
24
|
+
declare module '@atcute/lexicons/ambient' {
|
|
25
|
+
interface XRPCProcedures {
|
|
26
|
+
'app.bsky.contact.startPhoneVerification': mainSchema;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=startPhoneVerification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startPhoneVerification.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/startPhoneVerification.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;;;QAKd;;WAEG;;;;;;6CAQJ,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,OAAO;CAAG;AAC3B,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;CAAG;AAC5E,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,cAAc;QACvB,yCAAyC,EAAE,UAAU,CAAC;KACtD;CACD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.contact.startPhoneVerification', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
/**
|
|
8
|
+
* The phone number to receive the code via SMS.
|
|
9
|
+
*/
|
|
10
|
+
phone: /*#__PURE__*/ v.string(),
|
|
11
|
+
}),
|
|
12
|
+
},
|
|
13
|
+
output: {
|
|
14
|
+
type: 'lex',
|
|
15
|
+
schema: /*#__PURE__*/ v.object({}),
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
export const mainSchema = _mainSchema;
|
|
19
|
+
//# sourceMappingURL=startPhoneVerification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startPhoneVerification.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/startPhoneVerification.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,yCAAyC,EAAE;IACxF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAC/B,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;KAClC;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
/**
|
|
6
|
+
* The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`.
|
|
7
|
+
*/
|
|
8
|
+
code: v.StringSchema<string>;
|
|
9
|
+
/**
|
|
10
|
+
* The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`.
|
|
11
|
+
*/
|
|
12
|
+
phone: v.StringSchema<string>;
|
|
13
|
+
}>;
|
|
14
|
+
}, {
|
|
15
|
+
type: "lex";
|
|
16
|
+
schema: v.ObjectSchema<{
|
|
17
|
+
/**
|
|
18
|
+
* JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call.
|
|
19
|
+
*/
|
|
20
|
+
token: v.StringSchema<string>;
|
|
21
|
+
}>;
|
|
22
|
+
}, "app.bsky.contact.verifyPhone">;
|
|
23
|
+
type main$schematype = typeof _mainSchema;
|
|
24
|
+
export interface mainSchema extends main$schematype {
|
|
25
|
+
}
|
|
26
|
+
export declare const mainSchema: mainSchema;
|
|
27
|
+
export interface $params {
|
|
28
|
+
}
|
|
29
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
30
|
+
}
|
|
31
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
32
|
+
}
|
|
33
|
+
declare module '@atcute/lexicons/ambient' {
|
|
34
|
+
interface XRPCProcedures {
|
|
35
|
+
'app.bsky.contact.verifyPhone': mainSchema;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=verifyPhone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyPhone.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/verifyPhone.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;;;QAKd;;WAEG;;QAEH;;WAEG;;;;;;QAOH;;WAEG;;;kCAIJ,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,OAAO;CAAG;AAC3B,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;CAAG;AAC5E,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,cAAc;QACvB,8BAA8B,EAAE,UAAU,CAAC;KAC3C;CACD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.contact.verifyPhone', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
/**
|
|
8
|
+
* The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`.
|
|
9
|
+
*/
|
|
10
|
+
code: /*#__PURE__*/ v.string(),
|
|
11
|
+
/**
|
|
12
|
+
* The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`.
|
|
13
|
+
*/
|
|
14
|
+
phone: /*#__PURE__*/ v.string(),
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
output: {
|
|
18
|
+
type: 'lex',
|
|
19
|
+
schema: /*#__PURE__*/ v.object({
|
|
20
|
+
/**
|
|
21
|
+
* JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call.
|
|
22
|
+
*/
|
|
23
|
+
token: /*#__PURE__*/ v.string(),
|
|
24
|
+
}),
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
export const mainSchema = _mainSchema;
|
|
28
|
+
//# sourceMappingURL=verifyPhone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyPhone.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/contact/verifyPhone.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,8BAA8B,EAAE;IAC7E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC9B;;eAEG;YACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAC/B,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAC/B,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|