@bshsolutions/sdk 0.0.11 → 0.0.12

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.
@@ -295,6 +295,7 @@ type BshTriggerInstance = {
295
295
  status: 'InProgress' | 'Success' | 'Failed';
296
296
  error?: string;
297
297
  trac?: string;
298
+ entityUpdateError?: object;
298
299
  } & BshObject;
299
300
  type BshTriggerFunction = {
300
301
  name: string;
@@ -441,6 +442,16 @@ type BshPlugin = {
441
442
  variables: Record<string, unknown>;
442
443
  image: string;
443
444
  } & BshObject;
445
+ type BshPluginPure = {
446
+ id: string;
447
+ name: string;
448
+ description?: string;
449
+ version?: string;
450
+ author?: string;
451
+ license?: string;
452
+ variables?: Record<string, unknown>;
453
+ image?: string;
454
+ };
444
455
 
445
456
  type LoginParams = {
446
457
  email: string;
@@ -451,4 +462,4 @@ type AuthTokens = {
451
462
  refresh: string;
452
463
  };
453
464
 
454
- export { type Aggregate, type AggregateFunction, type AuthTokens, type BshApiKeys, type BshApiKeysForm, type BshApiKeysScopes, type BshConfigurations, type BshDate, type BshEmailTemplate, type BshEmailTemplatePure, type BshEntities, type BshEntitiesPure, BshEntityPermissions, BshEntityTypes, BshError, type BshEventLogs, type BshFiles, BshInsertDuplicates, type BshObject, type BshObjectPure, BshPKStrategies, BshPKTypes, type BshPlugin, type BshPolicy, type BshPolicyPure, type BshResponse, type BshRole, type BshRolePure, type BshSchemaProperty, type BshSchemas, type BshSchemasPure, type BshSearch, type BshSettings, type BshTrigger, type BshTriggerAction, type BshTriggerEvent, type BshTriggerEventPure, type BshTriggerFunction, type BshTriggerInstance, type BshTriggerPure, type BshTypes, type BshTypesPure, BshUpdateStrategies, type BshUser, type BshUserInit, type BshUserPure, type CacheInfo, type CloudinaryConfig, type ComparisonOperator, CoreEntities, type EmailConfiguration, type EmailProvider, type Filter, type GmailConfig, type GroupBy, type LogicalOperator, type LoginParams, type MailDevConfig, type MailingPayload, type Pagination, PluginBasedEntities, PolicyActions, PrincipalType, type SentEmail, type Sort, type StorageConfiguration, type StorageProvider, type UploadOptions, type UploadResponse, defaultSettings, formatFileSize, isOk };
465
+ export { type Aggregate, type AggregateFunction, type AuthTokens, type BshApiKeys, type BshApiKeysForm, type BshApiKeysScopes, type BshConfigurations, type BshDate, type BshEmailTemplate, type BshEmailTemplatePure, type BshEntities, type BshEntitiesPure, BshEntityPermissions, BshEntityTypes, BshError, type BshEventLogs, type BshFiles, BshInsertDuplicates, type BshObject, type BshObjectPure, BshPKStrategies, BshPKTypes, type BshPlugin, type BshPluginPure, type BshPolicy, type BshPolicyPure, type BshResponse, type BshRole, type BshRolePure, type BshSchemaProperty, type BshSchemas, type BshSchemasPure, type BshSearch, type BshSettings, type BshTrigger, type BshTriggerAction, type BshTriggerEvent, type BshTriggerEventPure, type BshTriggerFunction, type BshTriggerInstance, type BshTriggerPure, type BshTypes, type BshTypesPure, BshUpdateStrategies, type BshUser, type BshUserInit, type BshUserPure, type CacheInfo, type CloudinaryConfig, type ComparisonOperator, CoreEntities, type EmailConfiguration, type EmailProvider, type Filter, type GmailConfig, type GroupBy, type LogicalOperator, type LoginParams, type MailDevConfig, type MailingPayload, type Pagination, PluginBasedEntities, PolicyActions, PrincipalType, type SentEmail, type Sort, type StorageConfiguration, type StorageProvider, type UploadOptions, type UploadResponse, defaultSettings, formatFileSize, isOk };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bshsolutions/sdk",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "TypeScript SDK for integrating with BSH Engine <https://engine.bousalih.com>",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",