@merkaly/api 0.39.5 → 0.39.6

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.
@@ -44,11 +44,9 @@ export interface AccountAuthPasswordTicket {
44
44
  ticket: string;
45
45
  }
46
46
  export interface AccountAuthOrganizationMetadata {
47
- CONTACT_EMAIL?: string | null;
48
47
  email?: string | null;
49
48
  ORG_COUNTRY?: string | null;
50
49
  ORG_CURRENCY?: string | null;
51
- ORG_EMAIL?: string | null;
52
50
  ORG_SIZE?: string | null;
53
51
  ORG_TYPE?: string | null;
54
52
  [key: string]: string | null | undefined;
@@ -12,7 +12,7 @@ export interface Auth0JwtPayload {
12
12
  };
13
13
  }
14
14
  export interface AppAuth {
15
- clientId?: string;
15
+ clientId: string;
16
16
  expiresAt: Date;
17
17
  issuedAt: Date;
18
18
  orgId?: string;
@@ -72,7 +72,7 @@ export declare class FinancePaymentEntity extends AbstractEntity implements ITra
72
72
  fee: number;
73
73
  method?: FinancePaymentMethodEnum | null;
74
74
  gateway?: FinancePaymentGatewayEntity | null;
75
- attempts?: FinancePaymentAttemptEntity[];
75
+ attempts: FinancePaymentAttemptEntity[];
76
76
  split?: FinancePaymentSplitEntity | null;
77
77
  status: FinancePaymentStatusEnum;
78
78
  history: StatusEntity<FinancePaymentStatusEnum>[];
@@ -43,7 +43,6 @@ export interface SupplierProduct {
43
43
  assets: SupplierProductAsset[];
44
44
  currency: string;
45
45
  handlingDays?: number | null;
46
- deliveryDays?: number | null;
47
46
  properties: SupplierProductProperty[];
48
47
  ratingValue: number | null;
49
48
  ratingCount: number | null;
@@ -1,7 +1,4 @@
1
1
  import { AbstractRequestValidator } from '../../abstract.validator.js';
2
- export declare class PlaceSupplierOrderRequestValidator extends AbstractRequestValidator {
3
- recipientBirthday?: string;
4
- }
5
2
  export declare class RegisterSupplierOrderRequestValidator extends AbstractRequestValidator {
6
3
  externalOrderId: string;
7
4
  }
@@ -10,15 +10,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  import * as class_validator_1 from "class-validator";
12
12
  import * as abstract_validator_1 from '../../abstract.validator.js';
13
- import * as person_validator_1 from '../../person.validator.js';
14
- export class PlaceSupplierOrderRequestValidator extends abstract_validator_1.AbstractRequestValidator {
15
- recipientBirthday;
16
- }
17
- __decorate([
18
- (0, person_validator_1.IsBirthday)(),
19
- (0, class_validator_1.IsOptional)(),
20
- __metadata("design:type", String)
21
- ], PlaceSupplierOrderRequestValidator.prototype, "recipientBirthday", void 0);
22
13
  export class RegisterSupplierOrderRequestValidator extends abstract_validator_1.AbstractRequestValidator {
23
14
  externalOrderId;
24
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merkaly/api",
3
- "version": "0.39.5",
3
+ "version": "0.39.6",
4
4
  "type": "module",
5
5
  "description": "Shared TypeScript interfaces and enums for Merkaly API",
6
6
  "repository": {