@bprotsyk/aso-core 1.2.205 → 1.2.207

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.
@@ -55,6 +55,7 @@ export interface INamecheapBuyRequest extends Document {
55
55
  price: number;
56
56
  available: boolean;
57
57
  }[];
58
+ ip: string;
58
59
  fullfilled: boolean;
59
60
  id: string;
60
61
  }
@@ -68,11 +69,12 @@ export interface NamecheapBuyResult {
68
69
  paidTotal: string;
69
70
  }
70
71
  export declare const NamecheapBuyRequestSchema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
71
- id?: string | undefined;
72
- fullfilled?: boolean | undefined;
73
- domains?: {
72
+ domains: {
74
73
  name?: string | undefined;
75
74
  available?: boolean | undefined;
76
75
  price?: string | undefined;
77
- } | undefined;
76
+ }[];
77
+ id?: string | undefined;
78
+ ip?: string | undefined;
79
+ fullfilled?: boolean | undefined;
78
80
  }>;
@@ -3,11 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NamecheapBuyRequestSchema = void 0;
4
4
  const mongoose_1 = require("mongoose");
5
5
  exports.NamecheapBuyRequestSchema = new mongoose_1.Schema({
6
- domains: {
7
- name: String,
8
- price: String,
9
- available: Boolean
10
- },
6
+ domains: [{
7
+ name: String,
8
+ price: String,
9
+ available: Boolean
10
+ }],
11
+ ip: String,
11
12
  fullfilled: Boolean,
12
13
  id: String
13
14
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.205",
3
+ "version": "1.2.207",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -33,6 +33,7 @@ export interface INamecheapBuyRequest extends Document {
33
33
  price: number,
34
34
  available: boolean
35
35
  }[]
36
+ ip: string,
36
37
  fullfilled: boolean,
37
38
  id: string
38
39
  }
@@ -44,11 +45,12 @@ export interface NamecheapBuyResult {
44
45
  }
45
46
 
46
47
  export const NamecheapBuyRequestSchema = new Schema({
47
- domains: {
48
+ domains: [{
48
49
  name: String,
49
50
  price: String,
50
51
  available: Boolean
51
- },
52
+ }],
53
+ ip: String,
52
54
  fullfilled: Boolean,
53
55
  id: String
54
56
  })