@davidmashadow/ss-ecommerce-types 1.0.7 → 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.
- package/dist/types/card.types.d.ts +75 -0
- package/dist/types/card.types.d.ts.map +1 -0
- package/dist/types/card.types.js +3 -0
- package/dist/types/card.types.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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;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;AACD,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,MAAM,CAAC;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 @@
|
|
|
1
|
+
{"version":3,"file":"card.types.js","sourceRoot":"","sources":["../../src/types/card.types.ts"],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './address.types';
|
|
|
2
2
|
export * from './agreement.types';
|
|
3
3
|
export * from './authentication.types';
|
|
4
4
|
export * from './brand.types';
|
|
5
|
+
export * from './card.types';
|
|
5
6
|
export * from './product.types';
|
|
6
7
|
export * from './traffic.types';
|
|
7
8
|
export * from './user.types';
|
|
@@ -1 +1 @@
|
|
|
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,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,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"}
|
package/dist/types/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __exportStar(require("./address.types"), exports);
|
|
|
18
18
|
__exportStar(require("./agreement.types"), exports);
|
|
19
19
|
__exportStar(require("./authentication.types"), exports);
|
|
20
20
|
__exportStar(require("./brand.types"), exports);
|
|
21
|
+
__exportStar(require("./card.types"), exports);
|
|
21
22
|
__exportStar(require("./product.types"), exports);
|
|
22
23
|
__exportStar(require("./traffic.types"), exports);
|
|
23
24
|
__exportStar(require("./user.types"), exports);
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,kDAAgC;AAChC,kDAAgC;AAChC,+CAA6B"}
|
|
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"}
|