@rocketlink/crm-model 1.0.43 → 1.0.44
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/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: "firstName",
|
|
6
|
+
lastName: "lastName",
|
|
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: "offerId",
|
|
18
18
|
campaignId: "campaignId",
|
|
19
19
|
};
|
|
20
20
|
exports.ordersCSVColumnKeys = Object.keys(exports.ordersCSVColumnsMapper);
|
package/dist/util/constants.d.ts
CHANGED
|
@@ -10,7 +10,8 @@ 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
|
-
|
|
13
|
+
IMPORT_TRANSACTIONS_SDD: string;
|
|
14
|
+
IMPORT_TRANSACTIONS_CHARGEBACK: string;
|
|
14
15
|
CANCEL_SUBSCRIPTIONS: string;
|
|
15
16
|
};
|
|
16
17
|
export declare const CSV_TYPE_VALUES: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/util/const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CANCEL_SUBSCRIPTIONS: "CANCEL_SUBSCRIPTIONS",
|
|
16
17
|
};
|
|
17
18
|
exports.CSV_TYPE_VALUES = Object.values(exports.CSV_TYPES);
|
package/package.json
CHANGED
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: "firstName",
|
|
55
|
+
lastName: "lastName",
|
|
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: "offerId",
|
|
67
67
|
campaignId: "campaignId",
|
|
68
68
|
};
|
|
69
69
|
export const ordersCSVColumnKeys = Object.keys(ordersCSVColumnsMapper);
|
package/src/util/constants.ts
CHANGED
|
@@ -12,7 +12,8 @@ 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
|
-
|
|
15
|
+
IMPORT_TRANSACTIONS_SDD: "IMPORT_TRANSACTIONS_SDD",
|
|
16
|
+
IMPORT_TRANSACTIONS_CHARGEBACK: "IMPORT_TRANSACTIONS_CHARGEBACK",
|
|
16
17
|
CANCEL_SUBSCRIPTIONS: "CANCEL_SUBSCRIPTIONS",
|
|
17
18
|
};
|
|
18
19
|
export const CSV_TYPE_VALUES = Object.values(CSV_TYPES);
|