@davidmashadow/ss-ecommerce-types 1.0.6 → 1.0.8

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.
@@ -0,0 +1,10 @@
1
+ import type { IImage } from "./product.types";
2
+ export interface IBrand {
3
+ _id: string;
4
+ name: string;
5
+ productCount: number;
6
+ images: IImage;
7
+ createdAt: string;
8
+ updatedAt: string;
9
+ }
10
+ //# sourceMappingURL=brand.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand.types.d.ts","sourceRoot":"","sources":["../../src/types/brand.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,WAAW,MAAM;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=brand.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand.types.js","sourceRoot":"","sources":["../../src/types/brand.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,75 @@
1
+ export interface ICard {
2
+ _id: string;
3
+ userId: string;
4
+ email: string;
5
+ card: {
6
+ cardUserKey: string;
7
+ cardToken: string;
8
+ };
9
+ createdAt: string;
10
+ updatedAt: string;
11
+ }
12
+ export interface ICardType {
13
+ status: string;
14
+ errorCode: string;
15
+ errorMessage: string;
16
+ errorGroup: string;
17
+ locale: string;
18
+ systemTime: number;
19
+ conversationId: string;
20
+ cardUserKey: string;
21
+ binNumber: string;
22
+ cardType: string;
23
+ cardAssociation: string;
24
+ cardFamily: string;
25
+ cardBankName: string;
26
+ cardBankCode: string;
27
+ cardToken: string;
28
+ cardAlias: string;
29
+ }
30
+ export interface ISaveCardType {
31
+ status: string;
32
+ errorCode: string;
33
+ errorMessage: string;
34
+ errorGroup: string;
35
+ locale: string;
36
+ systemTime: number;
37
+ conversationId: string;
38
+ binNumber: string;
39
+ cardType: string;
40
+ cardAssociation: string;
41
+ cardFamily: string;
42
+ cardBankName: string;
43
+ cardBankCode: number;
44
+ email: string;
45
+ cardUserKey: string;
46
+ cardToken: string;
47
+ cardAlias: string;
48
+ }
49
+ export interface IDeleteCardType {
50
+ status: string;
51
+ errorCode: string;
52
+ errorMessage: string;
53
+ errorGroup: string;
54
+ locale: string;
55
+ systemTime: number;
56
+ conversationId: string;
57
+ }
58
+ export interface IDetailType {
59
+ locale: string;
60
+ cardUserKey: string;
61
+ }
62
+ export interface ISaveIyzico {
63
+ userId: string;
64
+ email: string;
65
+ card: {
66
+ cardUserKey: string;
67
+ cardToken: string;
68
+ };
69
+ }
70
+ export interface IDeleteIyzico {
71
+ locale: string;
72
+ cardUserKey: string;
73
+ cardToken: string;
74
+ }
75
+ //# sourceMappingURL=card.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.types.d.ts","sourceRoot":"","sources":["../../src/types/card.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB;AACD,MAAM,WAAW,SAAS;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MA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AAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE;QACF,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;KACrB,CAAC;CACL;AACD,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=card.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.types.js","sourceRoot":"","sources":["../../src/types/card.types.ts"],"names":[],"mappings":""}
@@ -1,5 +1,9 @@
1
- export * from './user.types';
2
1
  export * from './address.types';
3
2
  export * from './agreement.types';
4
3
  export * from './authentication.types';
4
+ export * from './brand.types';
5
+ export * from './card.types';
6
+ export * from './product.types';
7
+ export * from './traffic.types';
8
+ export * from './user.types';
5
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
@@ -14,8 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./user.types"), exports);
18
17
  __exportStar(require("./address.types"), exports);
19
18
  __exportStar(require("./agreement.types"), exports);
20
19
  __exportStar(require("./authentication.types"), exports);
20
+ __exportStar(require("./brand.types"), exports);
21
+ __exportStar(require("./card.types"), exports);
22
+ __exportStar(require("./product.types"), exports);
23
+ __exportStar(require("./traffic.types"), exports);
24
+ __exportStar(require("./user.types"), exports);
21
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,kDAAgC;AAChC,kDAAgC;AAChC,+CAA6B"}
@@ -2,4 +2,8 @@ export interface IStaticImage {
2
2
  name: string;
3
3
  image: string;
4
4
  }
5
+ export interface IImage {
6
+ staticImage: IStaticImage[];
7
+ dynamicImage: string[];
8
+ }
5
9
  //# sourceMappingURL=product.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"product.types.d.ts","sourceRoot":"","sources":["../../src/types/product.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"product.types.d.ts","sourceRoot":"","sources":["../../src/types/product.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,MAAM;IACnB,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,EAAE,CAAC;CAC1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@davidmashadow/ss-ecommerce-types",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },