@rocketlink/crm-model 1.0.39 → 1.0.41
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/dtos/mid.request.dto.d.ts +3 -2
- package/dist/dtos/mid.request.dto.d.ts.map +1 -1
- package/dist/model/csv.model.js +3 -3
- package/dist/util/constants.d.ts +1 -2
- package/dist/util/constants.d.ts.map +1 -1
- package/dist/util/constants.js +1 -2
- package/package.json +1 -1
- package/src/dtos/mid.request.dto.ts +3 -2
- package/src/model/csv.model.ts +3 -3
- package/src/util/constants.ts +1 -2
|
@@ -2,9 +2,10 @@ import { PaginatedRequest } from "./common/paginated.request.dto";
|
|
|
2
2
|
export interface MidsRequest extends PaginatedRequest {
|
|
3
3
|
id?: number;
|
|
4
4
|
name?: string;
|
|
5
|
-
providerAdapterId?: number;
|
|
6
|
-
currency?: string;
|
|
7
5
|
descriptor?: string;
|
|
6
|
+
gatewayId?: number;
|
|
7
|
+
providerId?: number;
|
|
8
|
+
active?: boolean;
|
|
8
9
|
createdFrom?: Date;
|
|
9
10
|
createdTo?: Date;
|
|
10
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mid.request.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/mid.request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,
|
|
1
|
+
{"version":3,"file":"mid.request.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/mid.request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB"}
|
package/dist/model/csv.model.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.subscriptionIdCSVColumnKeys = exports.subscriptionIdCSVColumnMapper = exports.ordersCSVColumnValues = exports.ordersCSVColumnKeys = exports.ordersCSVColumnsMapper = void 0;
|
|
4
4
|
exports.ordersCSVColumnsMapper = {
|
|
5
|
-
firstName: "
|
|
6
|
-
lastName: "
|
|
5
|
+
firstName: "first Name",
|
|
6
|
+
lastName: "last Name",
|
|
7
7
|
address1: "address1",
|
|
8
8
|
address2: "address2",
|
|
9
9
|
city: "city",
|
|
@@ -14,7 +14,7 @@ exports.ordersCSVColumnsMapper = {
|
|
|
14
14
|
email: "email",
|
|
15
15
|
iban: "iban",
|
|
16
16
|
bic: "bic",
|
|
17
|
-
offerId: "
|
|
17
|
+
offerId: "offer Id",
|
|
18
18
|
campaignId: "campaignId",
|
|
19
19
|
};
|
|
20
20
|
exports.ordersCSVColumnKeys = Object.keys(exports.ordersCSVColumnsMapper);
|
package/dist/util/constants.d.ts
CHANGED
|
@@ -10,8 +10,7 @@ export type MIME_TYPES = (typeof MIME_TYPES)[keyof typeof MIME_TYPES];
|
|
|
10
10
|
export declare const CSV_TYPES: {
|
|
11
11
|
CREATE_ORDERS: string;
|
|
12
12
|
BILL_SUBSCRIPTIONS: string;
|
|
13
|
-
|
|
14
|
-
IMPORT_TRANSACTIONS_CHARGEBACK: string;
|
|
13
|
+
IMPORT_TRANSACTIONS: string;
|
|
15
14
|
CANCEL_SUBSCRIPTIONS: string;
|
|
16
15
|
};
|
|
17
16
|
export declare const CSV_TYPE_VALUES: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/util/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;CAGlB,CAAC;AACF,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAE1D,eAAO,MAAM,UAAU;;CAEtB,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEtE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/util/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;CAGlB,CAAC;AACF,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAE1D,eAAO,MAAM,UAAU;;CAEtB,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEtE,eAAO,MAAM,SAAS;;;;;CAKrB,CAAC;AACF,eAAO,MAAM,eAAe,UAA2B,CAAC;AACxD,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE,eAAO,MAAM,UAAU;;;;;;;CAOtB,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAE1E,eAAO,MAAM,cAAc;;;;;CAK1B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAErF,eAAO,MAAM,iBAAiB;;;C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IONS_CHARGEBACK: "IMPORT_TRANSACTIONS_CHARGEBACK",
|
|
14
|
+
IMPORT_TRANSACTIONS: "IMPORT_TRANSACTIONS",
|
|
16
15
|
CANCEL_SUBSCRIPTIONS: "CANCEL_SUBSCRIPTIONS",
|
|
17
16
|
};
|
|
18
17
|
exports.CSV_TYPE_VALUES = Object.values(exports.CSV_TYPES);
|
package/package.json
CHANGED
|
@@ -3,9 +3,10 @@ import { PaginatedRequest } from "./common/paginated.request.dto";
|
|
|
3
3
|
export interface MidsRequest extends PaginatedRequest {
|
|
4
4
|
id?: number;
|
|
5
5
|
name?: string;
|
|
6
|
-
providerAdapterId?: number;
|
|
7
|
-
currency?: string;
|
|
8
6
|
descriptor?: string;
|
|
7
|
+
gatewayId?: number;
|
|
8
|
+
providerId?: number;
|
|
9
|
+
active?: boolean;
|
|
9
10
|
createdFrom?: Date;
|
|
10
11
|
createdTo?: Date;
|
|
11
12
|
}
|
package/src/model/csv.model.ts
CHANGED
|
@@ -51,8 +51,8 @@ export interface OrderCSVRow {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export const ordersCSVColumnsMapper: Partial<Record<keyof OrderCSVRow, string>> = {
|
|
54
|
-
firstName: "
|
|
55
|
-
lastName: "
|
|
54
|
+
firstName: "first Name",
|
|
55
|
+
lastName: "last Name",
|
|
56
56
|
address1: "address1",
|
|
57
57
|
address2: "address2",
|
|
58
58
|
city: "city",
|
|
@@ -63,7 +63,7 @@ export const ordersCSVColumnsMapper: Partial<Record<keyof OrderCSVRow, string>>
|
|
|
63
63
|
email: "email",
|
|
64
64
|
iban: "iban",
|
|
65
65
|
bic: "bic",
|
|
66
|
-
offerId: "
|
|
66
|
+
offerId: "offer Id",
|
|
67
67
|
campaignId: "campaignId",
|
|
68
68
|
};
|
|
69
69
|
export const ordersCSVColumnKeys = Object.keys(ordersCSVColumnsMapper);
|
package/src/util/constants.ts
CHANGED
|
@@ -12,8 +12,7 @@ export type MIME_TYPES = (typeof MIME_TYPES)[keyof typeof MIME_TYPES];
|
|
|
12
12
|
export const CSV_TYPES = {
|
|
13
13
|
CREATE_ORDERS: "CREATE_ORDERS",
|
|
14
14
|
BILL_SUBSCRIPTIONS: "BILL_SUBSCRIPTIONS",
|
|
15
|
-
|
|
16
|
-
IMPORT_TRANSACTIONS_CHARGEBACK: "IMPORT_TRANSACTIONS_CHARGEBACK",
|
|
15
|
+
IMPORT_TRANSACTIONS: "IMPORT_TRANSACTIONS",
|
|
17
16
|
CANCEL_SUBSCRIPTIONS: "CANCEL_SUBSCRIPTIONS",
|
|
18
17
|
};
|
|
19
18
|
export const CSV_TYPE_VALUES = Object.values(CSV_TYPES);
|