@antelopejs/interface-dms-saas 0.9.0 → 0.10.0

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 CHANGED
@@ -48,13 +48,13 @@ A module may seed plans straight into the `db` plan table. It writes `name`, `de
48
48
 
49
49
  <!-- antelopejs-docs-compat:start -->
50
50
 
51
- | Package | Supported | Tested with |
52
- | ------------------------------------------- | ----------------- | ----------- |
53
- | `@antelopejs/interface-core` | `>=0.2.4 <1.0.0` | `0.4.0` |
54
- | `@antelopejs/interface-data-api` | `>=0.6.1 <1.0.0` | `0.6.1` |
55
- | `@antelopejs/interface-database` | `>=0.1.11 <1.0.0` | `0.3.0` |
56
- | `@antelopejs/interface-database-decorators` | `>=0.2.2 <1.0.0` | `0.3.2` |
57
- | `@antelopejs/interface-dms` | `>=0.12.0 <1.0.0` | `0.12.0` |
51
+ | Package | Supported | Tested with |
52
+ | ------------------------------------------- | ------------------ | ----------- |
53
+ | `@antelopejs/interface-core` | `>=0.5.1 <0.6.0` | `0.5.1` |
54
+ | `@antelopejs/interface-data-api` | `>=0.8.0 <0.9.0` | `0.8.0` |
55
+ | `@antelopejs/interface-database` | `>=0.4.0 <0.5.0` | `0.4.0` |
56
+ | `@antelopejs/interface-database-decorators` | `>=0.5.2 <0.6.0` | `0.5.2` |
57
+ | `@antelopejs/interface-dms` | `>=0.14.0 <0.15.0` | `0.14.0` |
58
58
 
59
59
  <!-- antelopejs-docs-compat:end -->
60
60
 
@@ -3,9 +3,9 @@ declare const BillingSettingsModel_base: {
3
3
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
4
4
  readonly table: import("@antelopejs/interface-database").Table<BillingSettings>;
5
5
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
6
- get(id: string): PromiseLike<BillingSettings | undefined>;
7
- getBy(index: keyof BillingSettings, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<BillingSettings[]>;
8
- getAll(): PromiseLike<BillingSettings[]>;
6
+ get(id: string): Promise<BillingSettings | undefined>;
7
+ getBy(index: keyof BillingSettings, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<BillingSettings[]>;
8
+ getAll(): Promise<BillingSettings[]>;
9
9
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<BillingSettings> | import("@antelopejs/interface-database-decorators").DeepPartial<BillingSettings>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
10
10
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<BillingSettings>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
11
11
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<BillingSettings> & {
@@ -4,9 +4,9 @@ declare const CreditNoteModel_base: {
4
4
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
5
5
  readonly table: import("@antelopejs/interface-database").Table<CreditNote>;
6
6
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
7
- get(id: string): PromiseLike<CreditNote | undefined>;
8
- getBy(index: keyof CreditNote, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<CreditNote[]>;
9
- getAll(): PromiseLike<CreditNote[]>;
7
+ get(id: string): Promise<CreditNote | undefined>;
8
+ getBy(index: keyof CreditNote, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<CreditNote[]>;
9
+ getAll(): Promise<CreditNote[]>;
10
10
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<CreditNote> | import("@antelopejs/interface-database-decorators").DeepPartial<CreditNote>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
11
11
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<CreditNote>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
12
12
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<CreditNote> & {
@@ -3,9 +3,9 @@ declare const FeatureModel_base: {
3
3
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
4
4
  readonly table: import("@antelopejs/interface-database").Table<Feature>;
5
5
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
6
- get(id: string): PromiseLike<Feature | undefined>;
7
- getBy(index: "_id" | "localize" | "description" | "valueType" | "defaultValue" | "createdAt" | "updatedAt" | "order" | "displayName" | "tooltip" | "unit" | "isDetailRow", ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<Feature[]>;
8
- getAll(): PromiseLike<Feature[]>;
6
+ get(id: string): Promise<Feature | undefined>;
7
+ getBy(index: "_id" | "localize" | "description" | "valueType" | "defaultValue" | "createdAt" | "updatedAt" | "order" | "displayName" | "tooltip" | "unit" | "isDetailRow", ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<Feature[]>;
8
+ getAll(): Promise<Feature[]>;
9
9
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<Feature> | import("@antelopejs/interface-database-decorators").DeepPartial<Feature>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
10
10
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<Feature>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
11
11
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<Feature> & {
@@ -4,9 +4,9 @@ declare const InvoiceModel_base: {
4
4
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
5
5
  readonly table: import("@antelopejs/interface-database").Table<Invoice>;
6
6
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
7
- get(id: string): PromiseLike<Invoice | undefined>;
8
- getBy(index: keyof Invoice, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<Invoice[]>;
9
- getAll(): PromiseLike<Invoice[]>;
7
+ get(id: string): Promise<Invoice | undefined>;
8
+ getBy(index: keyof Invoice, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<Invoice[]>;
9
+ getAll(): Promise<Invoice[]>;
10
10
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<Invoice> | import("@antelopejs/interface-database-decorators").DeepPartial<Invoice>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
11
11
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<Invoice>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
12
12
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<Invoice> & {
@@ -3,9 +3,9 @@ declare const LegalDocumentsModel_base: {
3
3
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
4
4
  readonly table: import("@antelopejs/interface-database").Table<LegalDocuments>;
5
5
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
6
- get(id: string): PromiseLike<LegalDocuments | undefined>;
7
- getBy(index: keyof LegalDocuments, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<LegalDocuments[]>;
8
- getAll(): PromiseLike<LegalDocuments[]>;
6
+ get(id: string): Promise<LegalDocuments | undefined>;
7
+ getBy(index: keyof LegalDocuments, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<LegalDocuments[]>;
8
+ getAll(): Promise<LegalDocuments[]>;
9
9
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<LegalDocuments> | import("@antelopejs/interface-database-decorators").DeepPartial<LegalDocuments>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
10
10
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<LegalDocuments>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
11
11
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<LegalDocuments> & {
@@ -4,9 +4,9 @@ declare const PlanMigrationModel_base: {
4
4
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
5
5
  readonly table: import("@antelopejs/interface-database").Table<PlanMigration>;
6
6
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
7
- get(id: string): PromiseLike<PlanMigration | undefined>;
8
- getBy(index: keyof PlanMigration, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<PlanMigration[]>;
9
- getAll(): PromiseLike<PlanMigration[]>;
7
+ get(id: string): Promise<PlanMigration | undefined>;
8
+ getBy(index: keyof PlanMigration, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<PlanMigration[]>;
9
+ getAll(): Promise<PlanMigration[]>;
10
10
  insert(obj: DeepPartial<PlanMigration> | DeepPartial<PlanMigration>[], options?: ValidateOptions): Promise<string[]>;
11
11
  update(id: string, obj: DeepPartial<PlanMigration>, options?: ValidateOptions): Promise<number>;
12
12
  update(obj: DeepPartial<PlanMigration> & {
@@ -8,9 +8,9 @@ declare const PlanModel_base: {
8
8
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
9
9
  readonly table: import("@antelopejs/interface-database").Table<Plan>;
10
10
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
11
- get(id: string): PromiseLike<Plan | undefined>;
12
- getBy(index: "_id" | "localize" | "description" | "createdAt" | "updatedAt" | "name" | "permissions" | "currency" | "features" | "order" | "slug" | "audience" | "price" | "interval" | "billingMode" | "inheritsFromPlanId" | "trialDays" | "maxMembers" | "isPublic" | "paymentProviderRefs" | "borderColor" | "borderLabel" | "isActive" | "isDeleted", ...keys: IndexKey[]): PromiseLike<Plan[]>;
13
- getAll(): PromiseLike<Plan[]>;
11
+ get(id: string): Promise<Plan | undefined>;
12
+ getBy(index: "name" | "_id" | "localize" | "description" | "createdAt" | "updatedAt" | "permissions" | "currency" | "features" | "order" | "slug" | "audience" | "price" | "interval" | "billingMode" | "inheritsFromPlanId" | "trialDays" | "maxMembers" | "isPublic" | "paymentProviderRefs" | "borderColor" | "borderLabel" | "isActive" | "isDeleted", ...keys: IndexKey[]): Promise<Plan[]>;
13
+ getAll(): Promise<Plan[]>;
14
14
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<Plan> | import("@antelopejs/interface-database-decorators").DeepPartial<Plan>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
15
15
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<Plan>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
16
16
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<Plan> & {
@@ -13,9 +13,9 @@ declare const PlatformNoteModel_base: {
13
13
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
14
14
  readonly table: import("@antelopejs/interface-database").Table<PlatformNote>;
15
15
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
16
- get(id: string): PromiseLike<PlatformNote | undefined>;
17
- getBy(index: keyof PlatformNote, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<PlatformNote[]>;
18
- getAll(): PromiseLike<PlatformNote[]>;
16
+ get(id: string): Promise<PlatformNote | undefined>;
17
+ getBy(index: keyof PlatformNote, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<PlatformNote[]>;
18
+ getAll(): Promise<PlatformNote[]>;
19
19
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<PlatformNote> | import("@antelopejs/interface-database-decorators").DeepPartial<PlatformNote>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
20
20
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<PlatformNote>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
21
21
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<PlatformNote> & {
@@ -3,9 +3,9 @@ declare const RefundModel_base: {
3
3
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
4
4
  readonly table: import("@antelopejs/interface-database").Table<Refund>;
5
5
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
6
- get(id: string): PromiseLike<Refund | undefined>;
7
- getBy(index: keyof Refund, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<Refund[]>;
8
- getAll(): PromiseLike<Refund[]>;
6
+ get(id: string): Promise<Refund | undefined>;
7
+ getBy(index: keyof Refund, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<Refund[]>;
8
+ getAll(): Promise<Refund[]>;
9
9
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<Refund> | import("@antelopejs/interface-database-decorators").DeepPartial<Refund>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
10
10
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<Refund>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
11
11
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<Refund> & {
@@ -9,9 +9,9 @@ declare const SegmentModel_base: {
9
9
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
10
10
  readonly table: import("@antelopejs/interface-database").Table<Segment>;
11
11
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
12
- get(id: string): PromiseLike<Segment | undefined>;
13
- getBy(index: keyof Segment, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<Segment[]>;
14
- getAll(): PromiseLike<Segment[]>;
12
+ get(id: string): Promise<Segment | undefined>;
13
+ getBy(index: keyof Segment, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<Segment[]>;
14
+ getAll(): Promise<Segment[]>;
15
15
  insert(obj: DeepPartial<Segment> | DeepPartial<Segment>[], options?: ValidateOptions): Promise<string[]>;
16
16
  update(id: string, obj: DeepPartial<Segment>, options?: ValidateOptions): Promise<number>;
17
17
  update(obj: DeepPartial<Segment> & {
@@ -4,9 +4,9 @@ declare const StripeWebhookEventModel_base: {
4
4
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
5
5
  readonly table: import("@antelopejs/interface-database").Table<StripeWebhookEvent>;
6
6
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
7
- get(id: string): PromiseLike<StripeWebhookEvent | undefined>;
8
- getBy(index: keyof StripeWebhookEvent, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<StripeWebhookEvent[]>;
9
- getAll(): PromiseLike<StripeWebhookEvent[]>;
7
+ get(id: string): Promise<StripeWebhookEvent | undefined>;
8
+ getBy(index: keyof StripeWebhookEvent, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<StripeWebhookEvent[]>;
9
+ getAll(): Promise<StripeWebhookEvent[]>;
10
10
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<StripeWebhookEvent> | import("@antelopejs/interface-database-decorators").DeepPartial<StripeWebhookEvent>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
11
11
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<StripeWebhookEvent>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
12
12
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<StripeWebhookEvent> & {
@@ -3,9 +3,9 @@ declare const TenantBillingInfoModel_base: {
3
3
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
4
4
  readonly table: import("@antelopejs/interface-database").Table<TenantBillingInfo>;
5
5
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
6
- get(id: string): PromiseLike<TenantBillingInfo | undefined>;
7
- getBy(index: keyof TenantBillingInfo, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<TenantBillingInfo[]>;
8
- getAll(): PromiseLike<TenantBillingInfo[]>;
6
+ get(id: string): Promise<TenantBillingInfo | undefined>;
7
+ getBy(index: keyof TenantBillingInfo, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<TenantBillingInfo[]>;
8
+ getAll(): Promise<TenantBillingInfo[]>;
9
9
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<TenantBillingInfo> | import("@antelopejs/interface-database-decorators").DeepPartial<TenantBillingInfo>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
10
10
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<TenantBillingInfo>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
11
11
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<TenantBillingInfo> & {
@@ -3,9 +3,9 @@ declare const TenantBillingStateModel_base: {
3
3
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
4
4
  readonly table: import("@antelopejs/interface-database").Table<TenantBillingState>;
5
5
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
6
- get(id: string): PromiseLike<TenantBillingState | undefined>;
7
- getBy(index: keyof TenantBillingState, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<TenantBillingState[]>;
8
- getAll(): PromiseLike<TenantBillingState[]>;
6
+ get(id: string): Promise<TenantBillingState | undefined>;
7
+ getBy(index: keyof TenantBillingState, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<TenantBillingState[]>;
8
+ getAll(): Promise<TenantBillingState[]>;
9
9
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<TenantBillingState> | import("@antelopejs/interface-database-decorators").DeepPartial<TenantBillingState>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
10
10
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<TenantBillingState>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
11
11
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<TenantBillingState> & {
@@ -5,9 +5,9 @@ declare const TenantSubscriptionModel_base: {
5
5
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
6
6
  readonly table: import("@antelopejs/interface-database").Table<TenantSubscription>;
7
7
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
8
- get(id: string): PromiseLike<TenantSubscription | undefined>;
9
- getBy(index: keyof TenantSubscription, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<TenantSubscription[]>;
10
- getAll(): PromiseLike<TenantSubscription[]>;
8
+ get(id: string): Promise<TenantSubscription | undefined>;
9
+ getBy(index: keyof TenantSubscription, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<TenantSubscription[]>;
10
+ getAll(): Promise<TenantSubscription[]>;
11
11
  insert(obj: DeepPartial<TenantSubscription> | DeepPartial<TenantSubscription>[], options?: ValidateOptions): Promise<string[]>;
12
12
  update(id: string, obj: DeepPartial<TenantSubscription>, options?: ValidateOptions): Promise<number>;
13
13
  update(obj: DeepPartial<TenantSubscription> & {
@@ -3,9 +3,9 @@ declare const TrialConsumptionModel_base: {
3
3
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
4
4
  readonly table: import("@antelopejs/interface-database").Table<TrialConsumption>;
5
5
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
6
- get(id: string): PromiseLike<TrialConsumption | undefined>;
7
- getBy(index: keyof TrialConsumption, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<TrialConsumption[]>;
8
- getAll(): PromiseLike<TrialConsumption[]>;
6
+ get(id: string): Promise<TrialConsumption | undefined>;
7
+ getBy(index: keyof TrialConsumption, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<TrialConsumption[]>;
8
+ getAll(): Promise<TrialConsumption[]>;
9
9
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<TrialConsumption> | import("@antelopejs/interface-database-decorators").DeepPartial<TrialConsumption>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
10
10
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<TrialConsumption>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
11
11
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<TrialConsumption> & {
@@ -5,9 +5,9 @@ declare const UserSegmentModel_base: {
5
5
  new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
6
6
  readonly table: import("@antelopejs/interface-database").Table<UserSegment>;
7
7
  readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
8
- get(id: string): PromiseLike<UserSegment | undefined>;
9
- getBy(index: keyof UserSegment, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): PromiseLike<UserSegment[]>;
10
- getAll(): PromiseLike<UserSegment[]>;
8
+ get(id: string): Promise<UserSegment | undefined>;
9
+ getBy(index: keyof UserSegment, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<UserSegment[]>;
10
+ getAll(): Promise<UserSegment[]>;
11
11
  insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<UserSegment> | import("@antelopejs/interface-database-decorators").DeepPartial<UserSegment>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
12
12
  update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<UserSegment>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
13
13
  update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<UserSegment> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/interface-dms-saas",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "AntelopeJS interface for the DMS SaaS module: billing, plans, registration, workspace pages and lifecycle extension points.",
5
5
  "keywords": [
6
6
  "antelopejs",
@@ -67,15 +67,15 @@
67
67
  "prepack": "pnpm run build"
68
68
  },
69
69
  "dependencies": {
70
- "@antelopejs/interface-data-api": ">=0.6.1 <1.0.0",
71
- "@antelopejs/interface-dms": ">=0.12.0 <1.0.0"
70
+ "@antelopejs/interface-data-api": ">=0.8.0 <0.9.0",
71
+ "@antelopejs/interface-dms": ">=0.14.0 <0.15.0"
72
72
  },
73
73
  "devDependencies": {
74
- "@antelopejs/interface-api": ">=0.3.0 <1.0.0",
75
- "@antelopejs/interface-api-util": ">=0.3.2 <1.0.0",
76
- "@antelopejs/interface-core": ">=0.4.0 <1.0.0",
77
- "@antelopejs/interface-database": ">=0.3.0 <1.0.0",
78
- "@antelopejs/interface-database-decorators": ">=0.3.2 <1.0.0",
74
+ "@antelopejs/interface-api": ">=0.3.3 <0.4.0",
75
+ "@antelopejs/interface-api-util": ">=0.3.2 <0.4.0",
76
+ "@antelopejs/interface-core": ">=0.5.1 <0.6.0",
77
+ "@antelopejs/interface-database": ">=0.4.0 <0.5.0",
78
+ "@antelopejs/interface-database-decorators": ">=0.5.2 <0.6.0",
79
79
  "@types/node": "^24.0.0",
80
80
  "knip": "^6.34.0",
81
81
  "release-it": "^19.2.4",
@@ -84,9 +84,9 @@
84
84
  "typescript": "^6.0.3"
85
85
  },
86
86
  "peerDependencies": {
87
- "@antelopejs/interface-core": ">=0.2.4 <1.0.0",
88
- "@antelopejs/interface-database": ">=0.1.11 <1.0.0",
89
- "@antelopejs/interface-database-decorators": ">=0.2.2 <1.0.0"
87
+ "@antelopejs/interface-core": ">=0.5.1 <0.6.0",
88
+ "@antelopejs/interface-database": ">=0.4.0 <0.5.0",
89
+ "@antelopejs/interface-database-decorators": ">=0.5.2 <0.6.0"
90
90
  },
91
91
  "packageManager": "pnpm@10.2.0",
92
92
  "antelopeJs": {}