@infrab4a/connect 0.7.0 → 0.7.2

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.
@@ -1,5 +1,5 @@
1
1
  import { NonFunctionProperties } from './non-function-properties.type';
2
2
  export interface BaseModelBuilder<T> {
3
- new (): T;
3
+ new (...args: any[]): T;
4
4
  toInstance(this: new () => T, data: NonFunctionProperties<T>): T;
5
5
  }
@@ -3,5 +3,7 @@ import { OrderStatus } from './enums/order-status.enum';
3
3
  import { Payment } from './payment';
4
4
  export declare class Order extends Checkout {
5
5
  status: OrderStatus;
6
+ trackingCode?: string;
7
+ trackingUrl?: string;
6
8
  payment: Payment;
7
9
  }
@@ -1,8 +1,8 @@
1
1
  import { BaseModel } from '../../general/model/base.model';
2
2
  import { IdentifierFields } from '../../general/model/identifier-fields';
3
3
  import { NonFunctionProperties, NonFunctionPropertyNames } from '../../general/model/types';
4
- import { BeautyProfile } from './beauty-profile';
5
4
  import { Area, OfficePosition, UserType } from './enums';
5
+ import { BeautyProfile } from './beauty-profile';
6
6
  export declare class User extends BaseModel<User> implements IdentifierFields<User> {
7
7
  id: string;
8
8
  cpf?: string;
@@ -18,7 +18,6 @@ export declare class User extends BaseModel<User> implements IdentifierFields<Us
18
18
  officePosition?: OfficePosition;
19
19
  isSubscriber?: boolean;
20
20
  beautyProfile?: BeautyProfile;
21
- teste: { valor: number }
22
21
  static toInstance<T>(this: new () => Partial<T>, data: NonFunctionProperties<T> & NonFunctionProperties<User>): T;
23
22
  identifierFields(): NonFunctionPropertyNames<User>[];
24
23
  toPlain(): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },