@arbidocs/client 0.4.149 → 0.4.151
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/index.d.cts +82 -0
- package/dist/index.d.ts +82 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6286,6 +6286,30 @@ interface paths {
|
|
|
6286
6286
|
patch?: never;
|
|
6287
6287
|
trace?: never;
|
|
6288
6288
|
};
|
|
6289
|
+
'/v1/contacts/import': {
|
|
6290
|
+
parameters: {
|
|
6291
|
+
query?: never;
|
|
6292
|
+
header?: never;
|
|
6293
|
+
path?: never;
|
|
6294
|
+
cookie?: never;
|
|
6295
|
+
};
|
|
6296
|
+
get?: never;
|
|
6297
|
+
put?: never;
|
|
6298
|
+
/**
|
|
6299
|
+
* Import Contacts
|
|
6300
|
+
* @description Import a vCard file (max 2 MB, 1000 cards) into the default address book — a Pro feature (the calendar
|
|
6301
|
+
* entitlement: 403 ``pro_required``), and the address book must be unlocked in this session (423). New people
|
|
6302
|
+
* become encrypted cards (``added``); a card whose address is already a contact is ``matched`` — a linked contact
|
|
6303
|
+
* without a card takes it, one with a card is left unchanged; the rest are ``skipped`` with a reason. Never sends
|
|
6304
|
+
* an invitation.
|
|
6305
|
+
*/
|
|
6306
|
+
post: operations['import_contacts'];
|
|
6307
|
+
delete?: never;
|
|
6308
|
+
options?: never;
|
|
6309
|
+
head?: never;
|
|
6310
|
+
patch?: never;
|
|
6311
|
+
trace?: never;
|
|
6312
|
+
};
|
|
6289
6313
|
'/v1/contacts/search': {
|
|
6290
6314
|
parameters: {
|
|
6291
6315
|
query?: never;
|
|
@@ -12260,6 +12284,34 @@ interface components {
|
|
|
12260
12284
|
/** Type */
|
|
12261
12285
|
type?: string | null;
|
|
12262
12286
|
};
|
|
12287
|
+
/**
|
|
12288
|
+
* ContactImportResult
|
|
12289
|
+
* @description ``POST /v1/contacts/import``: ``added`` new contacts, ``matched`` cards whose person was already a contact
|
|
12290
|
+
* (a linked contact without a card gets the imported card; one with a card is left unchanged), ``skipped`` the
|
|
12291
|
+
* rest with a reason. ``total`` is the number of cards in the file.
|
|
12292
|
+
*/
|
|
12293
|
+
ContactImportResult: {
|
|
12294
|
+
/** Added */
|
|
12295
|
+
added: number;
|
|
12296
|
+
/** Matched */
|
|
12297
|
+
matched: number;
|
|
12298
|
+
/** Skipped */
|
|
12299
|
+
skipped: components['schemas']['ContactImportSkipped'][];
|
|
12300
|
+
/** Total */
|
|
12301
|
+
total: number;
|
|
12302
|
+
};
|
|
12303
|
+
/**
|
|
12304
|
+
* ContactImportSkipped
|
|
12305
|
+
* @description A card of an imported file that was not added. ``index`` is its position in the file (from 1).
|
|
12306
|
+
*/
|
|
12307
|
+
ContactImportSkipped: {
|
|
12308
|
+
/** Index */
|
|
12309
|
+
index: number;
|
|
12310
|
+
/** Name */
|
|
12311
|
+
name?: string | null;
|
|
12312
|
+
/** Reason */
|
|
12313
|
+
reason: string;
|
|
12314
|
+
};
|
|
12263
12315
|
/** ContactPhone */
|
|
12264
12316
|
ContactPhone: {
|
|
12265
12317
|
/** Number */
|
|
@@ -34788,6 +34840,36 @@ interface operations {
|
|
|
34788
34840
|
};
|
|
34789
34841
|
};
|
|
34790
34842
|
};
|
|
34843
|
+
import_contacts: {
|
|
34844
|
+
parameters: {
|
|
34845
|
+
query?: never;
|
|
34846
|
+
header?: never;
|
|
34847
|
+
path?: never;
|
|
34848
|
+
cookie?: never;
|
|
34849
|
+
};
|
|
34850
|
+
requestBody: {
|
|
34851
|
+
content: {
|
|
34852
|
+
'multipart/form-data': {
|
|
34853
|
+
/**
|
|
34854
|
+
* Format: binary
|
|
34855
|
+
* @description A .vcf file (one or more vCards)
|
|
34856
|
+
*/
|
|
34857
|
+
file: string;
|
|
34858
|
+
};
|
|
34859
|
+
};
|
|
34860
|
+
};
|
|
34861
|
+
responses: {
|
|
34862
|
+
/** @description Successful Response */
|
|
34863
|
+
200: {
|
|
34864
|
+
headers: {
|
|
34865
|
+
[name: string]: unknown;
|
|
34866
|
+
};
|
|
34867
|
+
content: {
|
|
34868
|
+
'application/json': components['schemas']['ContactImportResult'];
|
|
34869
|
+
};
|
|
34870
|
+
};
|
|
34871
|
+
};
|
|
34872
|
+
};
|
|
34791
34873
|
search_contacts: {
|
|
34792
34874
|
parameters: {
|
|
34793
34875
|
query: {
|
package/dist/index.d.ts
CHANGED
|
@@ -6286,6 +6286,30 @@ interface paths {
|
|
|
6286
6286
|
patch?: never;
|
|
6287
6287
|
trace?: never;
|
|
6288
6288
|
};
|
|
6289
|
+
'/v1/contacts/import': {
|
|
6290
|
+
parameters: {
|
|
6291
|
+
query?: never;
|
|
6292
|
+
header?: never;
|
|
6293
|
+
path?: never;
|
|
6294
|
+
cookie?: never;
|
|
6295
|
+
};
|
|
6296
|
+
get?: never;
|
|
6297
|
+
put?: never;
|
|
6298
|
+
/**
|
|
6299
|
+
* Import Contacts
|
|
6300
|
+
* @description Import a vCard file (max 2 MB, 1000 cards) into the default address book — a Pro feature (the calendar
|
|
6301
|
+
* entitlement: 403 ``pro_required``), and the address book must be unlocked in this session (423). New people
|
|
6302
|
+
* become encrypted cards (``added``); a card whose address is already a contact is ``matched`` — a linked contact
|
|
6303
|
+
* without a card takes it, one with a card is left unchanged; the rest are ``skipped`` with a reason. Never sends
|
|
6304
|
+
* an invitation.
|
|
6305
|
+
*/
|
|
6306
|
+
post: operations['import_contacts'];
|
|
6307
|
+
delete?: never;
|
|
6308
|
+
options?: never;
|
|
6309
|
+
head?: never;
|
|
6310
|
+
patch?: never;
|
|
6311
|
+
trace?: never;
|
|
6312
|
+
};
|
|
6289
6313
|
'/v1/contacts/search': {
|
|
6290
6314
|
parameters: {
|
|
6291
6315
|
query?: never;
|
|
@@ -12260,6 +12284,34 @@ interface components {
|
|
|
12260
12284
|
/** Type */
|
|
12261
12285
|
type?: string | null;
|
|
12262
12286
|
};
|
|
12287
|
+
/**
|
|
12288
|
+
* ContactImportResult
|
|
12289
|
+
* @description ``POST /v1/contacts/import``: ``added`` new contacts, ``matched`` cards whose person was already a contact
|
|
12290
|
+
* (a linked contact without a card gets the imported card; one with a card is left unchanged), ``skipped`` the
|
|
12291
|
+
* rest with a reason. ``total`` is the number of cards in the file.
|
|
12292
|
+
*/
|
|
12293
|
+
ContactImportResult: {
|
|
12294
|
+
/** Added */
|
|
12295
|
+
added: number;
|
|
12296
|
+
/** Matched */
|
|
12297
|
+
matched: number;
|
|
12298
|
+
/** Skipped */
|
|
12299
|
+
skipped: components['schemas']['ContactImportSkipped'][];
|
|
12300
|
+
/** Total */
|
|
12301
|
+
total: number;
|
|
12302
|
+
};
|
|
12303
|
+
/**
|
|
12304
|
+
* ContactImportSkipped
|
|
12305
|
+
* @description A card of an imported file that was not added. ``index`` is its position in the file (from 1).
|
|
12306
|
+
*/
|
|
12307
|
+
ContactImportSkipped: {
|
|
12308
|
+
/** Index */
|
|
12309
|
+
index: number;
|
|
12310
|
+
/** Name */
|
|
12311
|
+
name?: string | null;
|
|
12312
|
+
/** Reason */
|
|
12313
|
+
reason: string;
|
|
12314
|
+
};
|
|
12263
12315
|
/** ContactPhone */
|
|
12264
12316
|
ContactPhone: {
|
|
12265
12317
|
/** Number */
|
|
@@ -34788,6 +34840,36 @@ interface operations {
|
|
|
34788
34840
|
};
|
|
34789
34841
|
};
|
|
34790
34842
|
};
|
|
34843
|
+
import_contacts: {
|
|
34844
|
+
parameters: {
|
|
34845
|
+
query?: never;
|
|
34846
|
+
header?: never;
|
|
34847
|
+
path?: never;
|
|
34848
|
+
cookie?: never;
|
|
34849
|
+
};
|
|
34850
|
+
requestBody: {
|
|
34851
|
+
content: {
|
|
34852
|
+
'multipart/form-data': {
|
|
34853
|
+
/**
|
|
34854
|
+
* Format: binary
|
|
34855
|
+
* @description A .vcf file (one or more vCards)
|
|
34856
|
+
*/
|
|
34857
|
+
file: string;
|
|
34858
|
+
};
|
|
34859
|
+
};
|
|
34860
|
+
};
|
|
34861
|
+
responses: {
|
|
34862
|
+
/** @description Successful Response */
|
|
34863
|
+
200: {
|
|
34864
|
+
headers: {
|
|
34865
|
+
[name: string]: unknown;
|
|
34866
|
+
};
|
|
34867
|
+
content: {
|
|
34868
|
+
'application/json': components['schemas']['ContactImportResult'];
|
|
34869
|
+
};
|
|
34870
|
+
};
|
|
34871
|
+
};
|
|
34872
|
+
};
|
|
34791
34873
|
search_contacts: {
|
|
34792
34874
|
parameters: {
|
|
34793
34875
|
query: {
|
package/package.json
CHANGED