@mediaviz/react-native-sdk 1.12.0-rc.10 → 1.12.0-rc.11
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/sdk.d.cts +31 -38
- package/dist/sdk.d.ts +31 -38
- package/dist/sdk.esm.d.ts +31 -38
- package/package.json +1 -1
package/dist/sdk.d.cts
CHANGED
|
@@ -152,7 +152,7 @@ export interface CompanyDisplay {
|
|
|
152
152
|
name: string;
|
|
153
153
|
id: number;
|
|
154
154
|
owner_id: number;
|
|
155
|
-
users?:
|
|
155
|
+
users?: any;
|
|
156
156
|
active: boolean;
|
|
157
157
|
payment_plan_type: string;
|
|
158
158
|
}
|
|
@@ -162,7 +162,7 @@ export interface CompanyKeywordListOverview {
|
|
|
162
162
|
name: string;
|
|
163
163
|
active_keywords: number;
|
|
164
164
|
excluded_keywords: number;
|
|
165
|
-
project_ids?:
|
|
165
|
+
project_ids?: any;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
export interface CredentialSelfServiceEnablementDisplay {
|
|
@@ -186,7 +186,7 @@ export interface CuratedAlbumDisplay {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
export interface EventPage {
|
|
189
|
-
events:
|
|
189
|
+
events: any;
|
|
190
190
|
next_cursor?: string;
|
|
191
191
|
}
|
|
192
192
|
|
|
@@ -207,7 +207,7 @@ export interface KeywordListDisplayWithList {
|
|
|
207
207
|
gsheet_view_link?: string;
|
|
208
208
|
gsheet_csv_link?: string;
|
|
209
209
|
gsheet_xlsx_link?: string;
|
|
210
|
-
list_keywords_included_or_excluded?:
|
|
210
|
+
list_keywords_included_or_excluded?: any;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
export interface KeywordListDisplayWithProjects {
|
|
@@ -218,7 +218,7 @@ export interface KeywordListDisplayWithProjects {
|
|
|
218
218
|
date_created: string;
|
|
219
219
|
date_last_updated: string;
|
|
220
220
|
is_inclusion?: boolean;
|
|
221
|
-
list_projects_associated?:
|
|
221
|
+
list_projects_associated?: any;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
export interface OrganizationCredentialCreated {
|
|
@@ -239,7 +239,7 @@ export interface PhotoDisplay {
|
|
|
239
239
|
moment_id?: number;
|
|
240
240
|
file_path?: string;
|
|
241
241
|
image_metadata?: Record<string, any>;
|
|
242
|
-
tags?:
|
|
242
|
+
tags?: any;
|
|
243
243
|
title?: string;
|
|
244
244
|
description?: string;
|
|
245
245
|
format?: string;
|
|
@@ -264,17 +264,17 @@ export interface PhotoDisplay {
|
|
|
264
264
|
reference_1_average_distance?: number;
|
|
265
265
|
reference_2_average_distance?: number;
|
|
266
266
|
reference_3_average_distance?: number;
|
|
267
|
-
main_color_palette?:
|
|
268
|
-
color_averages?:
|
|
267
|
+
main_color_palette?: any;
|
|
268
|
+
color_averages?: any;
|
|
269
269
|
labels_from_classifications_model?: Record<string, any>;
|
|
270
270
|
ocr_output?: Record<string, any>;
|
|
271
|
-
bounding_boxes_from_faces_model?:
|
|
271
|
+
bounding_boxes_from_faces_model?: any;
|
|
272
272
|
number_of_faces?: number;
|
|
273
273
|
blur_value?: number;
|
|
274
|
-
feature_extraction_output?:
|
|
275
|
-
similar_photo_ids_high?:
|
|
276
|
-
similar_photo_ids_medium?:
|
|
277
|
-
similar_photo_ids_low?:
|
|
274
|
+
feature_extraction_output?: any;
|
|
275
|
+
similar_photo_ids_high?: any;
|
|
276
|
+
similar_photo_ids_medium?: any;
|
|
277
|
+
similar_photo_ids_low?: any;
|
|
278
278
|
evidence_score?: number;
|
|
279
279
|
face_score?: number;
|
|
280
280
|
content_score?: number;
|
|
@@ -282,9 +282,9 @@ export interface PhotoDisplay {
|
|
|
282
282
|
similarity_set_ranking?: number;
|
|
283
283
|
topic?: string;
|
|
284
284
|
rank?: number;
|
|
285
|
-
hue_values?:
|
|
286
|
-
light_values?:
|
|
287
|
-
saturation_values?:
|
|
285
|
+
hue_values?: any;
|
|
286
|
+
light_values?: any;
|
|
287
|
+
saturation_values?: any;
|
|
288
288
|
aesthetic_appeal?: number;
|
|
289
289
|
lighting?: number;
|
|
290
290
|
subject_significance?: number;
|
|
@@ -401,23 +401,16 @@ export interface ProjectRunDisplay {
|
|
|
401
401
|
is_continuous_upload?: boolean;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
export interface PullEvent {
|
|
405
|
-
event_id: string;
|
|
406
|
-
photo_id: number;
|
|
407
|
-
target: string;
|
|
408
|
-
completed_at: string;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
404
|
export interface SearchDisplay {
|
|
412
405
|
id: number;
|
|
413
406
|
project_table_name: string;
|
|
414
407
|
search_name: string;
|
|
415
|
-
and_params?:
|
|
416
|
-
and_string_params?:
|
|
417
|
-
or_params?:
|
|
418
|
-
or_string_params?:
|
|
419
|
-
not_params?:
|
|
420
|
-
not_string_params?:
|
|
408
|
+
and_params?: any;
|
|
409
|
+
and_string_params?: any;
|
|
410
|
+
or_params?: any;
|
|
411
|
+
or_string_params?: any;
|
|
412
|
+
not_params?: any;
|
|
413
|
+
not_string_params?: any;
|
|
421
414
|
date_min?: string;
|
|
422
415
|
date_max?: string;
|
|
423
416
|
date_null_and?: boolean;
|
|
@@ -439,7 +432,7 @@ export interface SubscriptionDisplay {
|
|
|
439
432
|
id: string;
|
|
440
433
|
project_table_name: string;
|
|
441
434
|
callback_url?: string;
|
|
442
|
-
targets:
|
|
435
|
+
targets: any;
|
|
443
436
|
status: string;
|
|
444
437
|
consecutive_failures: number;
|
|
445
438
|
last_delivery_at?: string;
|
|
@@ -510,8 +503,8 @@ export class CustomAlbums {
|
|
|
510
503
|
getAllProjectCustomAlbums(projectTableName: string): Promise<AlbumDisplay[]>;
|
|
511
504
|
getCustomAlbumPhotosById(customAlbumId: number, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[] }): Promise<any>;
|
|
512
505
|
getRankedCustomAlbumById(customAlbumId: number, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[] }): Promise<Record<string, any>>;
|
|
513
|
-
createProjectCustomAlbum(projectTableName: string, body?: { name?: string, description?: string, photoIdInclusionList?:
|
|
514
|
-
updateCustomAlbum(albumId: number, body?: { name?: string, description?: string, photoIdInclusionList?:
|
|
506
|
+
createProjectCustomAlbum(projectTableName: string, body?: { name?: string, description?: string, photoIdInclusionList?: any, photoIdRemovalList?: any }): Promise<AlbumDisplay>;
|
|
507
|
+
updateCustomAlbum(albumId: number, body?: { name?: string, description?: string, photoIdInclusionList?: any, photoIdRemovalList?: any }): Promise<AlbumDisplay>;
|
|
515
508
|
deleteCustomAlbum(albumId: number): Promise<Record<string, any>>;
|
|
516
509
|
}
|
|
517
510
|
|
|
@@ -531,15 +524,15 @@ export class Health {
|
|
|
531
524
|
}
|
|
532
525
|
|
|
533
526
|
export class Keywords {
|
|
534
|
-
createKeywordFilteringList(name: string, projectList?:
|
|
527
|
+
createKeywordFilteringList(name: string, projectList?: any): Promise<KeywordListDisplayWithProjects>;
|
|
535
528
|
getUserKeywordFilteringLists(): Promise<KeywordListDisplayWithProjects[]>;
|
|
536
529
|
getCompanyKeywordLists(companyId: number): Promise<CompanyKeywordListOverview[]>;
|
|
537
530
|
getKeywordFilteringListAndProjectsById(keywordListId: number): Promise<KeywordListDisplayWithProjects>;
|
|
538
531
|
getKeywordFilteringListById(keywordListId: number): Promise<KeywordListDisplayWithList>;
|
|
539
532
|
getExistingKeywordFilteringListByProject(projectTableName: string): Promise<Record<string, any>>;
|
|
540
533
|
getDefaultKeywordFilteringListByProject(projectTableName: string): Promise<Record<string, any>>;
|
|
541
|
-
updateKeywordFilteringListLabels(keywordListId: number, listKeywordsToInclude:
|
|
542
|
-
updateKeywordFilteringListDetails(keywordListId: number, body?: { name?: string, projectList?:
|
|
534
|
+
updateKeywordFilteringListLabels(keywordListId: number, listKeywordsToInclude: any, listKeywordsToExclude: any): Promise<KeywordListDisplayWithList>;
|
|
535
|
+
updateKeywordFilteringListDetails(keywordListId: number, body?: { name?: string, projectList?: any }): Promise<KeywordListDisplayWithProjects>;
|
|
543
536
|
addProjectsToKeywordFilteringList(keywordListId: number, options?: { projectIds?: any }): Promise<Record<string, any>>;
|
|
544
537
|
addCompanyToKeywordFilteringList(keywordListId: number, options?: { companyId?: number | number[] }): Promise<Record<string, any>>;
|
|
545
538
|
requestKeywordListExport(keywordListId: number): Promise<Record<string, any>>;
|
|
@@ -598,7 +591,7 @@ export class Photos {
|
|
|
598
591
|
getProjectPhotoIdsByTableName(tableName: string, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[], includeAll?: boolean | boolean[], startDate?: string | string[], endDate?: string | string[], noDateTaken?: boolean | boolean[] }): Promise<any>;
|
|
599
592
|
getRankedProjectPhotoIdsByTableName(tableName: string, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[], startDate?: string | string[], endDate?: string | string[], noDateTaken?: boolean | boolean[] }): Promise<Record<string, any>>;
|
|
600
593
|
getProjectMonthYearsWithPhotos(tableName: string): Promise<any>;
|
|
601
|
-
updatePhotoInProject(tableName: string, photoId: number, body?: { filePath?: string, title?: string, description?: string, tags?:
|
|
594
|
+
updatePhotoInProject(tableName: string, photoId: number, body?: { filePath?: string, title?: string, description?: string, tags?: any }): Promise<PhotoDisplay>;
|
|
602
595
|
updatePhotoRanking(tableName: string, photoId: number, newCategory: string): Promise<Record<string, any>>;
|
|
603
596
|
deletePhotoFromProject(tableName: string, options?: { photoIds?: any }): Promise<Record<string, any>>;
|
|
604
597
|
}
|
|
@@ -637,11 +630,11 @@ export class Search {
|
|
|
637
630
|
}
|
|
638
631
|
|
|
639
632
|
export class Subscription {
|
|
640
|
-
createSubscription(projectTableName: string, targets:
|
|
633
|
+
createSubscription(projectTableName: string, targets: any, callbackUrl?: string): Promise<SubscriptionActivated>;
|
|
641
634
|
verifySubscription(subscriptionId: string): Promise<SubscriptionActivated>;
|
|
642
635
|
listSubscriptions(): Promise<SubscriptionDisplay[]>;
|
|
643
636
|
listSubscriptionEvents(subscriptionId: string, options?: { since?: string | string[], limit?: number | number[] }): Promise<EventPage>;
|
|
644
|
-
updateSubscription(subscriptionId: string, body?: { callbackUrl?: string, targets?:
|
|
637
|
+
updateSubscription(subscriptionId: string, body?: { callbackUrl?: string, targets?: any }): Promise<SubscriptionDisplay>;
|
|
645
638
|
deleteSubscription(subscriptionId: string): Promise<Record<string, any>>;
|
|
646
639
|
rotateSubscriptionSecret(subscriptionId: string): Promise<SubscriptionActivated>;
|
|
647
640
|
}
|
package/dist/sdk.d.ts
CHANGED
|
@@ -152,7 +152,7 @@ export interface CompanyDisplay {
|
|
|
152
152
|
name: string;
|
|
153
153
|
id: number;
|
|
154
154
|
owner_id: number;
|
|
155
|
-
users?:
|
|
155
|
+
users?: any;
|
|
156
156
|
active: boolean;
|
|
157
157
|
payment_plan_type: string;
|
|
158
158
|
}
|
|
@@ -162,7 +162,7 @@ export interface CompanyKeywordListOverview {
|
|
|
162
162
|
name: string;
|
|
163
163
|
active_keywords: number;
|
|
164
164
|
excluded_keywords: number;
|
|
165
|
-
project_ids?:
|
|
165
|
+
project_ids?: any;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
export interface CredentialSelfServiceEnablementDisplay {
|
|
@@ -186,7 +186,7 @@ export interface CuratedAlbumDisplay {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
export interface EventPage {
|
|
189
|
-
events:
|
|
189
|
+
events: any;
|
|
190
190
|
next_cursor?: string;
|
|
191
191
|
}
|
|
192
192
|
|
|
@@ -207,7 +207,7 @@ export interface KeywordListDisplayWithList {
|
|
|
207
207
|
gsheet_view_link?: string;
|
|
208
208
|
gsheet_csv_link?: string;
|
|
209
209
|
gsheet_xlsx_link?: string;
|
|
210
|
-
list_keywords_included_or_excluded?:
|
|
210
|
+
list_keywords_included_or_excluded?: any;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
export interface KeywordListDisplayWithProjects {
|
|
@@ -218,7 +218,7 @@ export interface KeywordListDisplayWithProjects {
|
|
|
218
218
|
date_created: string;
|
|
219
219
|
date_last_updated: string;
|
|
220
220
|
is_inclusion?: boolean;
|
|
221
|
-
list_projects_associated?:
|
|
221
|
+
list_projects_associated?: any;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
export interface OrganizationCredentialCreated {
|
|
@@ -239,7 +239,7 @@ export interface PhotoDisplay {
|
|
|
239
239
|
moment_id?: number;
|
|
240
240
|
file_path?: string;
|
|
241
241
|
image_metadata?: Record<string, any>;
|
|
242
|
-
tags?:
|
|
242
|
+
tags?: any;
|
|
243
243
|
title?: string;
|
|
244
244
|
description?: string;
|
|
245
245
|
format?: string;
|
|
@@ -264,17 +264,17 @@ export interface PhotoDisplay {
|
|
|
264
264
|
reference_1_average_distance?: number;
|
|
265
265
|
reference_2_average_distance?: number;
|
|
266
266
|
reference_3_average_distance?: number;
|
|
267
|
-
main_color_palette?:
|
|
268
|
-
color_averages?:
|
|
267
|
+
main_color_palette?: any;
|
|
268
|
+
color_averages?: any;
|
|
269
269
|
labels_from_classifications_model?: Record<string, any>;
|
|
270
270
|
ocr_output?: Record<string, any>;
|
|
271
|
-
bounding_boxes_from_faces_model?:
|
|
271
|
+
bounding_boxes_from_faces_model?: any;
|
|
272
272
|
number_of_faces?: number;
|
|
273
273
|
blur_value?: number;
|
|
274
|
-
feature_extraction_output?:
|
|
275
|
-
similar_photo_ids_high?:
|
|
276
|
-
similar_photo_ids_medium?:
|
|
277
|
-
similar_photo_ids_low?:
|
|
274
|
+
feature_extraction_output?: any;
|
|
275
|
+
similar_photo_ids_high?: any;
|
|
276
|
+
similar_photo_ids_medium?: any;
|
|
277
|
+
similar_photo_ids_low?: any;
|
|
278
278
|
evidence_score?: number;
|
|
279
279
|
face_score?: number;
|
|
280
280
|
content_score?: number;
|
|
@@ -282,9 +282,9 @@ export interface PhotoDisplay {
|
|
|
282
282
|
similarity_set_ranking?: number;
|
|
283
283
|
topic?: string;
|
|
284
284
|
rank?: number;
|
|
285
|
-
hue_values?:
|
|
286
|
-
light_values?:
|
|
287
|
-
saturation_values?:
|
|
285
|
+
hue_values?: any;
|
|
286
|
+
light_values?: any;
|
|
287
|
+
saturation_values?: any;
|
|
288
288
|
aesthetic_appeal?: number;
|
|
289
289
|
lighting?: number;
|
|
290
290
|
subject_significance?: number;
|
|
@@ -401,23 +401,16 @@ export interface ProjectRunDisplay {
|
|
|
401
401
|
is_continuous_upload?: boolean;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
export interface PullEvent {
|
|
405
|
-
event_id: string;
|
|
406
|
-
photo_id: number;
|
|
407
|
-
target: string;
|
|
408
|
-
completed_at: string;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
404
|
export interface SearchDisplay {
|
|
412
405
|
id: number;
|
|
413
406
|
project_table_name: string;
|
|
414
407
|
search_name: string;
|
|
415
|
-
and_params?:
|
|
416
|
-
and_string_params?:
|
|
417
|
-
or_params?:
|
|
418
|
-
or_string_params?:
|
|
419
|
-
not_params?:
|
|
420
|
-
not_string_params?:
|
|
408
|
+
and_params?: any;
|
|
409
|
+
and_string_params?: any;
|
|
410
|
+
or_params?: any;
|
|
411
|
+
or_string_params?: any;
|
|
412
|
+
not_params?: any;
|
|
413
|
+
not_string_params?: any;
|
|
421
414
|
date_min?: string;
|
|
422
415
|
date_max?: string;
|
|
423
416
|
date_null_and?: boolean;
|
|
@@ -439,7 +432,7 @@ export interface SubscriptionDisplay {
|
|
|
439
432
|
id: string;
|
|
440
433
|
project_table_name: string;
|
|
441
434
|
callback_url?: string;
|
|
442
|
-
targets:
|
|
435
|
+
targets: any;
|
|
443
436
|
status: string;
|
|
444
437
|
consecutive_failures: number;
|
|
445
438
|
last_delivery_at?: string;
|
|
@@ -510,8 +503,8 @@ export class CustomAlbums {
|
|
|
510
503
|
getAllProjectCustomAlbums(projectTableName: string): Promise<AlbumDisplay[]>;
|
|
511
504
|
getCustomAlbumPhotosById(customAlbumId: number, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[] }): Promise<any>;
|
|
512
505
|
getRankedCustomAlbumById(customAlbumId: number, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[] }): Promise<Record<string, any>>;
|
|
513
|
-
createProjectCustomAlbum(projectTableName: string, body?: { name?: string, description?: string, photoIdInclusionList?:
|
|
514
|
-
updateCustomAlbum(albumId: number, body?: { name?: string, description?: string, photoIdInclusionList?:
|
|
506
|
+
createProjectCustomAlbum(projectTableName: string, body?: { name?: string, description?: string, photoIdInclusionList?: any, photoIdRemovalList?: any }): Promise<AlbumDisplay>;
|
|
507
|
+
updateCustomAlbum(albumId: number, body?: { name?: string, description?: string, photoIdInclusionList?: any, photoIdRemovalList?: any }): Promise<AlbumDisplay>;
|
|
515
508
|
deleteCustomAlbum(albumId: number): Promise<Record<string, any>>;
|
|
516
509
|
}
|
|
517
510
|
|
|
@@ -531,15 +524,15 @@ export class Health {
|
|
|
531
524
|
}
|
|
532
525
|
|
|
533
526
|
export class Keywords {
|
|
534
|
-
createKeywordFilteringList(name: string, projectList?:
|
|
527
|
+
createKeywordFilteringList(name: string, projectList?: any): Promise<KeywordListDisplayWithProjects>;
|
|
535
528
|
getUserKeywordFilteringLists(): Promise<KeywordListDisplayWithProjects[]>;
|
|
536
529
|
getCompanyKeywordLists(companyId: number): Promise<CompanyKeywordListOverview[]>;
|
|
537
530
|
getKeywordFilteringListAndProjectsById(keywordListId: number): Promise<KeywordListDisplayWithProjects>;
|
|
538
531
|
getKeywordFilteringListById(keywordListId: number): Promise<KeywordListDisplayWithList>;
|
|
539
532
|
getExistingKeywordFilteringListByProject(projectTableName: string): Promise<Record<string, any>>;
|
|
540
533
|
getDefaultKeywordFilteringListByProject(projectTableName: string): Promise<Record<string, any>>;
|
|
541
|
-
updateKeywordFilteringListLabels(keywordListId: number, listKeywordsToInclude:
|
|
542
|
-
updateKeywordFilteringListDetails(keywordListId: number, body?: { name?: string, projectList?:
|
|
534
|
+
updateKeywordFilteringListLabels(keywordListId: number, listKeywordsToInclude: any, listKeywordsToExclude: any): Promise<KeywordListDisplayWithList>;
|
|
535
|
+
updateKeywordFilteringListDetails(keywordListId: number, body?: { name?: string, projectList?: any }): Promise<KeywordListDisplayWithProjects>;
|
|
543
536
|
addProjectsToKeywordFilteringList(keywordListId: number, options?: { projectIds?: any }): Promise<Record<string, any>>;
|
|
544
537
|
addCompanyToKeywordFilteringList(keywordListId: number, options?: { companyId?: number | number[] }): Promise<Record<string, any>>;
|
|
545
538
|
requestKeywordListExport(keywordListId: number): Promise<Record<string, any>>;
|
|
@@ -598,7 +591,7 @@ export class Photos {
|
|
|
598
591
|
getProjectPhotoIdsByTableName(tableName: string, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[], includeAll?: boolean | boolean[], startDate?: string | string[], endDate?: string | string[], noDateTaken?: boolean | boolean[] }): Promise<any>;
|
|
599
592
|
getRankedProjectPhotoIdsByTableName(tableName: string, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[], startDate?: string | string[], endDate?: string | string[], noDateTaken?: boolean | boolean[] }): Promise<Record<string, any>>;
|
|
600
593
|
getProjectMonthYearsWithPhotos(tableName: string): Promise<any>;
|
|
601
|
-
updatePhotoInProject(tableName: string, photoId: number, body?: { filePath?: string, title?: string, description?: string, tags?:
|
|
594
|
+
updatePhotoInProject(tableName: string, photoId: number, body?: { filePath?: string, title?: string, description?: string, tags?: any }): Promise<PhotoDisplay>;
|
|
602
595
|
updatePhotoRanking(tableName: string, photoId: number, newCategory: string): Promise<Record<string, any>>;
|
|
603
596
|
deletePhotoFromProject(tableName: string, options?: { photoIds?: any }): Promise<Record<string, any>>;
|
|
604
597
|
}
|
|
@@ -637,11 +630,11 @@ export class Search {
|
|
|
637
630
|
}
|
|
638
631
|
|
|
639
632
|
export class Subscription {
|
|
640
|
-
createSubscription(projectTableName: string, targets:
|
|
633
|
+
createSubscription(projectTableName: string, targets: any, callbackUrl?: string): Promise<SubscriptionActivated>;
|
|
641
634
|
verifySubscription(subscriptionId: string): Promise<SubscriptionActivated>;
|
|
642
635
|
listSubscriptions(): Promise<SubscriptionDisplay[]>;
|
|
643
636
|
listSubscriptionEvents(subscriptionId: string, options?: { since?: string | string[], limit?: number | number[] }): Promise<EventPage>;
|
|
644
|
-
updateSubscription(subscriptionId: string, body?: { callbackUrl?: string, targets?:
|
|
637
|
+
updateSubscription(subscriptionId: string, body?: { callbackUrl?: string, targets?: any }): Promise<SubscriptionDisplay>;
|
|
645
638
|
deleteSubscription(subscriptionId: string): Promise<Record<string, any>>;
|
|
646
639
|
rotateSubscriptionSecret(subscriptionId: string): Promise<SubscriptionActivated>;
|
|
647
640
|
}
|
package/dist/sdk.esm.d.ts
CHANGED
|
@@ -152,7 +152,7 @@ export interface CompanyDisplay {
|
|
|
152
152
|
name: string;
|
|
153
153
|
id: number;
|
|
154
154
|
owner_id: number;
|
|
155
|
-
users?:
|
|
155
|
+
users?: any;
|
|
156
156
|
active: boolean;
|
|
157
157
|
payment_plan_type: string;
|
|
158
158
|
}
|
|
@@ -162,7 +162,7 @@ export interface CompanyKeywordListOverview {
|
|
|
162
162
|
name: string;
|
|
163
163
|
active_keywords: number;
|
|
164
164
|
excluded_keywords: number;
|
|
165
|
-
project_ids?:
|
|
165
|
+
project_ids?: any;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
export interface CredentialSelfServiceEnablementDisplay {
|
|
@@ -186,7 +186,7 @@ export interface CuratedAlbumDisplay {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
export interface EventPage {
|
|
189
|
-
events:
|
|
189
|
+
events: any;
|
|
190
190
|
next_cursor?: string;
|
|
191
191
|
}
|
|
192
192
|
|
|
@@ -207,7 +207,7 @@ export interface KeywordListDisplayWithList {
|
|
|
207
207
|
gsheet_view_link?: string;
|
|
208
208
|
gsheet_csv_link?: string;
|
|
209
209
|
gsheet_xlsx_link?: string;
|
|
210
|
-
list_keywords_included_or_excluded?:
|
|
210
|
+
list_keywords_included_or_excluded?: any;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
export interface KeywordListDisplayWithProjects {
|
|
@@ -218,7 +218,7 @@ export interface KeywordListDisplayWithProjects {
|
|
|
218
218
|
date_created: string;
|
|
219
219
|
date_last_updated: string;
|
|
220
220
|
is_inclusion?: boolean;
|
|
221
|
-
list_projects_associated?:
|
|
221
|
+
list_projects_associated?: any;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
export interface OrganizationCredentialCreated {
|
|
@@ -239,7 +239,7 @@ export interface PhotoDisplay {
|
|
|
239
239
|
moment_id?: number;
|
|
240
240
|
file_path?: string;
|
|
241
241
|
image_metadata?: Record<string, any>;
|
|
242
|
-
tags?:
|
|
242
|
+
tags?: any;
|
|
243
243
|
title?: string;
|
|
244
244
|
description?: string;
|
|
245
245
|
format?: string;
|
|
@@ -264,17 +264,17 @@ export interface PhotoDisplay {
|
|
|
264
264
|
reference_1_average_distance?: number;
|
|
265
265
|
reference_2_average_distance?: number;
|
|
266
266
|
reference_3_average_distance?: number;
|
|
267
|
-
main_color_palette?:
|
|
268
|
-
color_averages?:
|
|
267
|
+
main_color_palette?: any;
|
|
268
|
+
color_averages?: any;
|
|
269
269
|
labels_from_classifications_model?: Record<string, any>;
|
|
270
270
|
ocr_output?: Record<string, any>;
|
|
271
|
-
bounding_boxes_from_faces_model?:
|
|
271
|
+
bounding_boxes_from_faces_model?: any;
|
|
272
272
|
number_of_faces?: number;
|
|
273
273
|
blur_value?: number;
|
|
274
|
-
feature_extraction_output?:
|
|
275
|
-
similar_photo_ids_high?:
|
|
276
|
-
similar_photo_ids_medium?:
|
|
277
|
-
similar_photo_ids_low?:
|
|
274
|
+
feature_extraction_output?: any;
|
|
275
|
+
similar_photo_ids_high?: any;
|
|
276
|
+
similar_photo_ids_medium?: any;
|
|
277
|
+
similar_photo_ids_low?: any;
|
|
278
278
|
evidence_score?: number;
|
|
279
279
|
face_score?: number;
|
|
280
280
|
content_score?: number;
|
|
@@ -282,9 +282,9 @@ export interface PhotoDisplay {
|
|
|
282
282
|
similarity_set_ranking?: number;
|
|
283
283
|
topic?: string;
|
|
284
284
|
rank?: number;
|
|
285
|
-
hue_values?:
|
|
286
|
-
light_values?:
|
|
287
|
-
saturation_values?:
|
|
285
|
+
hue_values?: any;
|
|
286
|
+
light_values?: any;
|
|
287
|
+
saturation_values?: any;
|
|
288
288
|
aesthetic_appeal?: number;
|
|
289
289
|
lighting?: number;
|
|
290
290
|
subject_significance?: number;
|
|
@@ -401,23 +401,16 @@ export interface ProjectRunDisplay {
|
|
|
401
401
|
is_continuous_upload?: boolean;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
export interface PullEvent {
|
|
405
|
-
event_id: string;
|
|
406
|
-
photo_id: number;
|
|
407
|
-
target: string;
|
|
408
|
-
completed_at: string;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
404
|
export interface SearchDisplay {
|
|
412
405
|
id: number;
|
|
413
406
|
project_table_name: string;
|
|
414
407
|
search_name: string;
|
|
415
|
-
and_params?:
|
|
416
|
-
and_string_params?:
|
|
417
|
-
or_params?:
|
|
418
|
-
or_string_params?:
|
|
419
|
-
not_params?:
|
|
420
|
-
not_string_params?:
|
|
408
|
+
and_params?: any;
|
|
409
|
+
and_string_params?: any;
|
|
410
|
+
or_params?: any;
|
|
411
|
+
or_string_params?: any;
|
|
412
|
+
not_params?: any;
|
|
413
|
+
not_string_params?: any;
|
|
421
414
|
date_min?: string;
|
|
422
415
|
date_max?: string;
|
|
423
416
|
date_null_and?: boolean;
|
|
@@ -439,7 +432,7 @@ export interface SubscriptionDisplay {
|
|
|
439
432
|
id: string;
|
|
440
433
|
project_table_name: string;
|
|
441
434
|
callback_url?: string;
|
|
442
|
-
targets:
|
|
435
|
+
targets: any;
|
|
443
436
|
status: string;
|
|
444
437
|
consecutive_failures: number;
|
|
445
438
|
last_delivery_at?: string;
|
|
@@ -510,8 +503,8 @@ export class CustomAlbums {
|
|
|
510
503
|
getAllProjectCustomAlbums(projectTableName: string): Promise<AlbumDisplay[]>;
|
|
511
504
|
getCustomAlbumPhotosById(customAlbumId: number, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[] }): Promise<any>;
|
|
512
505
|
getRankedCustomAlbumById(customAlbumId: number, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[] }): Promise<Record<string, any>>;
|
|
513
|
-
createProjectCustomAlbum(projectTableName: string, body?: { name?: string, description?: string, photoIdInclusionList?:
|
|
514
|
-
updateCustomAlbum(albumId: number, body?: { name?: string, description?: string, photoIdInclusionList?:
|
|
506
|
+
createProjectCustomAlbum(projectTableName: string, body?: { name?: string, description?: string, photoIdInclusionList?: any, photoIdRemovalList?: any }): Promise<AlbumDisplay>;
|
|
507
|
+
updateCustomAlbum(albumId: number, body?: { name?: string, description?: string, photoIdInclusionList?: any, photoIdRemovalList?: any }): Promise<AlbumDisplay>;
|
|
515
508
|
deleteCustomAlbum(albumId: number): Promise<Record<string, any>>;
|
|
516
509
|
}
|
|
517
510
|
|
|
@@ -531,15 +524,15 @@ export class Health {
|
|
|
531
524
|
}
|
|
532
525
|
|
|
533
526
|
export class Keywords {
|
|
534
|
-
createKeywordFilteringList(name: string, projectList?:
|
|
527
|
+
createKeywordFilteringList(name: string, projectList?: any): Promise<KeywordListDisplayWithProjects>;
|
|
535
528
|
getUserKeywordFilteringLists(): Promise<KeywordListDisplayWithProjects[]>;
|
|
536
529
|
getCompanyKeywordLists(companyId: number): Promise<CompanyKeywordListOverview[]>;
|
|
537
530
|
getKeywordFilteringListAndProjectsById(keywordListId: number): Promise<KeywordListDisplayWithProjects>;
|
|
538
531
|
getKeywordFilteringListById(keywordListId: number): Promise<KeywordListDisplayWithList>;
|
|
539
532
|
getExistingKeywordFilteringListByProject(projectTableName: string): Promise<Record<string, any>>;
|
|
540
533
|
getDefaultKeywordFilteringListByProject(projectTableName: string): Promise<Record<string, any>>;
|
|
541
|
-
updateKeywordFilteringListLabels(keywordListId: number, listKeywordsToInclude:
|
|
542
|
-
updateKeywordFilteringListDetails(keywordListId: number, body?: { name?: string, projectList?:
|
|
534
|
+
updateKeywordFilteringListLabels(keywordListId: number, listKeywordsToInclude: any, listKeywordsToExclude: any): Promise<KeywordListDisplayWithList>;
|
|
535
|
+
updateKeywordFilteringListDetails(keywordListId: number, body?: { name?: string, projectList?: any }): Promise<KeywordListDisplayWithProjects>;
|
|
543
536
|
addProjectsToKeywordFilteringList(keywordListId: number, options?: { projectIds?: any }): Promise<Record<string, any>>;
|
|
544
537
|
addCompanyToKeywordFilteringList(keywordListId: number, options?: { companyId?: number | number[] }): Promise<Record<string, any>>;
|
|
545
538
|
requestKeywordListExport(keywordListId: number): Promise<Record<string, any>>;
|
|
@@ -598,7 +591,7 @@ export class Photos {
|
|
|
598
591
|
getProjectPhotoIdsByTableName(tableName: string, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[], includeAll?: boolean | boolean[], startDate?: string | string[], endDate?: string | string[], noDateTaken?: boolean | boolean[] }): Promise<any>;
|
|
599
592
|
getRankedProjectPhotoIdsByTableName(tableName: string, options?: { ascOrDesc?: string | string[], lastId?: number | number[], limit?: number | number[], startDate?: string | string[], endDate?: string | string[], noDateTaken?: boolean | boolean[] }): Promise<Record<string, any>>;
|
|
600
593
|
getProjectMonthYearsWithPhotos(tableName: string): Promise<any>;
|
|
601
|
-
updatePhotoInProject(tableName: string, photoId: number, body?: { filePath?: string, title?: string, description?: string, tags?:
|
|
594
|
+
updatePhotoInProject(tableName: string, photoId: number, body?: { filePath?: string, title?: string, description?: string, tags?: any }): Promise<PhotoDisplay>;
|
|
602
595
|
updatePhotoRanking(tableName: string, photoId: number, newCategory: string): Promise<Record<string, any>>;
|
|
603
596
|
deletePhotoFromProject(tableName: string, options?: { photoIds?: any }): Promise<Record<string, any>>;
|
|
604
597
|
}
|
|
@@ -637,11 +630,11 @@ export class Search {
|
|
|
637
630
|
}
|
|
638
631
|
|
|
639
632
|
export class Subscription {
|
|
640
|
-
createSubscription(projectTableName: string, targets:
|
|
633
|
+
createSubscription(projectTableName: string, targets: any, callbackUrl?: string): Promise<SubscriptionActivated>;
|
|
641
634
|
verifySubscription(subscriptionId: string): Promise<SubscriptionActivated>;
|
|
642
635
|
listSubscriptions(): Promise<SubscriptionDisplay[]>;
|
|
643
636
|
listSubscriptionEvents(subscriptionId: string, options?: { since?: string | string[], limit?: number | number[] }): Promise<EventPage>;
|
|
644
|
-
updateSubscription(subscriptionId: string, body?: { callbackUrl?: string, targets?:
|
|
637
|
+
updateSubscription(subscriptionId: string, body?: { callbackUrl?: string, targets?: any }): Promise<SubscriptionDisplay>;
|
|
645
638
|
deleteSubscription(subscriptionId: string): Promise<Record<string, any>>;
|
|
646
639
|
rotateSubscriptionSecret(subscriptionId: string): Promise<SubscriptionActivated>;
|
|
647
640
|
}
|
package/package.json
CHANGED