@cemiar/cemiarlink-sdk 1.0.32 → 1.0.34
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/exceptions/index.d.ts +3 -0
- package/dist/exceptions/index.js +19 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +52 -0
- package/dist/models/admin/index.d.ts +9 -0
- package/dist/models/admin/index.js +24 -0
- package/dist/models/epic/Policy.d.ts +1 -1
- package/dist/models/epic/index.d.ts +31 -0
- package/dist/models/epic/index.js +47 -0
- package/dist/models/googleads/GoogleAds.d.ts +21 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +50 -0
- package/dist/models/mail/index.d.ts +5 -0
- package/dist/models/mail/index.js +20 -0
- package/dist/models/sharepoint/index.d.ts +1 -0
- package/dist/models/sharepoint/index.js +17 -0
- package/dist/services/GoogleAdsService.d.ts +8 -1
- package/dist/services/GoogleAdsService.js +10 -0
- package/dist/services/index.d.ts +8 -0
- package/dist/services/index.js +24 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +24 -0
- package/package.json +4 -4
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./EpicException"), exports);
|
|
18
|
+
__exportStar(require("./MissingInfo"), exports);
|
|
19
|
+
__exportStar(require("./NotProcessYet"), exports);
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './services';
|
|
2
|
+
export * from './exceptions';
|
|
3
|
+
export * from './utils';
|
|
4
|
+
export * from './models';
|
|
5
|
+
export * as Models from './models';
|
|
6
|
+
export * as Services from './services';
|
|
7
|
+
export * as Exceptions from './exceptions';
|
|
8
|
+
export * as Utils from './utils';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Utils = exports.Exceptions = exports.Services = exports.Models = void 0;
|
|
40
|
+
// Services
|
|
41
|
+
__exportStar(require("./services"), exports);
|
|
42
|
+
// Exceptions
|
|
43
|
+
__exportStar(require("./exceptions"), exports);
|
|
44
|
+
// Utils
|
|
45
|
+
__exportStar(require("./utils"), exports);
|
|
46
|
+
// Models
|
|
47
|
+
__exportStar(require("./models"), exports);
|
|
48
|
+
// Re-export namespaced models for organized access
|
|
49
|
+
exports.Models = __importStar(require("./models"));
|
|
50
|
+
exports.Services = __importStar(require("./services"));
|
|
51
|
+
exports.Exceptions = __importStar(require("./exceptions"));
|
|
52
|
+
exports.Utils = __importStar(require("./utils"));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './BusMessage';
|
|
2
|
+
export * from './Counter';
|
|
3
|
+
export * from './Email';
|
|
4
|
+
export { default as ExcelSheet } from './ExcelSheet';
|
|
5
|
+
export * from './ExtractTable';
|
|
6
|
+
export * from './IDictionary';
|
|
7
|
+
export * from './KimobyResult';
|
|
8
|
+
export * from './PdfReader';
|
|
9
|
+
export * from './Primaco';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BusMessage"), exports);
|
|
18
|
+
__exportStar(require("./Counter"), exports);
|
|
19
|
+
__exportStar(require("./Email"), exports);
|
|
20
|
+
__exportStar(require("./ExtractTable"), exports);
|
|
21
|
+
__exportStar(require("./IDictionary"), exports);
|
|
22
|
+
__exportStar(require("./KimobyResult"), exports);
|
|
23
|
+
__exportStar(require("./PdfReader"), exports);
|
|
24
|
+
__exportStar(require("./Primaco"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export * from './Activity';
|
|
2
|
+
export * from './AdditionalInterest';
|
|
3
|
+
export * from './Address';
|
|
4
|
+
export * from './Attachment';
|
|
5
|
+
export * from './Broker';
|
|
6
|
+
export * from './Claim';
|
|
7
|
+
export * from './Commission';
|
|
8
|
+
export * from './Company';
|
|
9
|
+
export * from './Contact';
|
|
10
|
+
export * from './Customer';
|
|
11
|
+
export * from './DirectBillCommission';
|
|
12
|
+
export * from './Driver';
|
|
13
|
+
export * from './Employee';
|
|
14
|
+
export * from './GeneralLedgerReconcileBank';
|
|
15
|
+
export * from './Habitational';
|
|
16
|
+
export * from './JournalEntry';
|
|
17
|
+
export * from './Line';
|
|
18
|
+
export * from './Lookup';
|
|
19
|
+
export * from './MultiCarrierSchedule';
|
|
20
|
+
export * from './Opportunity';
|
|
21
|
+
export * from './OptionType';
|
|
22
|
+
export * from './PayableContract';
|
|
23
|
+
export * from './Policy';
|
|
24
|
+
export * from './PolicyV2';
|
|
25
|
+
export * from './Receipt';
|
|
26
|
+
export * from './RenewalStage';
|
|
27
|
+
export * from './Response';
|
|
28
|
+
export * from './ServiceSummary';
|
|
29
|
+
export * from './ServicingContact';
|
|
30
|
+
export * from './Transaction';
|
|
31
|
+
export * from './Vehicle';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Activity"), exports);
|
|
18
|
+
__exportStar(require("./AdditionalInterest"), exports);
|
|
19
|
+
__exportStar(require("./Address"), exports);
|
|
20
|
+
__exportStar(require("./Attachment"), exports);
|
|
21
|
+
__exportStar(require("./Broker"), exports);
|
|
22
|
+
__exportStar(require("./Claim"), exports);
|
|
23
|
+
__exportStar(require("./Commission"), exports);
|
|
24
|
+
__exportStar(require("./Company"), exports);
|
|
25
|
+
__exportStar(require("./Contact"), exports);
|
|
26
|
+
__exportStar(require("./Customer"), exports);
|
|
27
|
+
__exportStar(require("./DirectBillCommission"), exports);
|
|
28
|
+
__exportStar(require("./Driver"), exports);
|
|
29
|
+
__exportStar(require("./Employee"), exports);
|
|
30
|
+
__exportStar(require("./GeneralLedgerReconcileBank"), exports);
|
|
31
|
+
__exportStar(require("./Habitational"), exports);
|
|
32
|
+
__exportStar(require("./JournalEntry"), exports);
|
|
33
|
+
__exportStar(require("./Line"), exports);
|
|
34
|
+
__exportStar(require("./Lookup"), exports);
|
|
35
|
+
__exportStar(require("./MultiCarrierSchedule"), exports);
|
|
36
|
+
__exportStar(require("./Opportunity"), exports);
|
|
37
|
+
__exportStar(require("./OptionType"), exports);
|
|
38
|
+
__exportStar(require("./PayableContract"), exports);
|
|
39
|
+
__exportStar(require("./Policy"), exports);
|
|
40
|
+
__exportStar(require("./PolicyV2"), exports);
|
|
41
|
+
__exportStar(require("./Receipt"), exports);
|
|
42
|
+
__exportStar(require("./RenewalStage"), exports);
|
|
43
|
+
__exportStar(require("./Response"), exports);
|
|
44
|
+
__exportStar(require("./ServiceSummary"), exports);
|
|
45
|
+
__exportStar(require("./ServicingContact"), exports);
|
|
46
|
+
__exportStar(require("./Transaction"), exports);
|
|
47
|
+
__exportStar(require("./Vehicle"), exports);
|
|
@@ -21,3 +21,24 @@ export interface PartialFailureError {
|
|
|
21
21
|
code: string;
|
|
22
22
|
message: string;
|
|
23
23
|
}
|
|
24
|
+
export type ConversionAdjustmentType = "RESTATEMENT" | "RETRACTION" | "ENHANCEMENT";
|
|
25
|
+
export interface GoogleAdsConversionAdjustment {
|
|
26
|
+
gclid: string;
|
|
27
|
+
conversion_date_time: string;
|
|
28
|
+
conversion_action: string;
|
|
29
|
+
adjustment_date_time: string;
|
|
30
|
+
adjustment_type: ConversionAdjustmentType;
|
|
31
|
+
restatement_value?: number;
|
|
32
|
+
restatement_currency_code?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface GoogleAdsConversionAdjustmentResponse {
|
|
35
|
+
success: boolean;
|
|
36
|
+
results: {
|
|
37
|
+
gclid: string;
|
|
38
|
+
conversion_action: string;
|
|
39
|
+
adjustment_type: ConversionAdjustmentType;
|
|
40
|
+
status: "success" | "error";
|
|
41
|
+
error?: string;
|
|
42
|
+
}[];
|
|
43
|
+
partial_failure_error?: PartialFailureError;
|
|
44
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * as AdminModels from './admin';
|
|
2
|
+
export * as EpicModels from './epic';
|
|
3
|
+
export * as GoogleAdsModels from './googleads';
|
|
4
|
+
export * as MailModels from './mail';
|
|
5
|
+
export * as SharepointModels from './sharepoint';
|
|
6
|
+
export * from './admin';
|
|
7
|
+
export * from './epic';
|
|
8
|
+
export * from './googleads';
|
|
9
|
+
export * from './mail';
|
|
10
|
+
export * from './sharepoint';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SharepointModels = exports.MailModels = exports.GoogleAdsModels = exports.EpicModels = exports.AdminModels = void 0;
|
|
40
|
+
exports.AdminModels = __importStar(require("./admin"));
|
|
41
|
+
exports.EpicModels = __importStar(require("./epic"));
|
|
42
|
+
exports.GoogleAdsModels = __importStar(require("./googleads"));
|
|
43
|
+
exports.MailModels = __importStar(require("./mail"));
|
|
44
|
+
exports.SharepointModels = __importStar(require("./sharepoint"));
|
|
45
|
+
// Re-export all models directly for convenience
|
|
46
|
+
__exportStar(require("./admin"), exports);
|
|
47
|
+
__exportStar(require("./epic"), exports);
|
|
48
|
+
__exportStar(require("./googleads"), exports);
|
|
49
|
+
__exportStar(require("./mail"), exports);
|
|
50
|
+
__exportStar(require("./sharepoint"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./EmailAttachment"), exports);
|
|
18
|
+
__exportStar(require("./EmailReport"), exports);
|
|
19
|
+
__exportStar(require("./GmailMail"), exports);
|
|
20
|
+
__exportStar(require("./TransactionWatchList"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Sharepoint';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Sharepoint"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
|
-
import { GoogleAdsConversion, GoogleAdsConversionUploadResponse } from '../models/googleads';
|
|
2
|
+
import { GoogleAdsConversion, GoogleAdsConversionAdjustment, GoogleAdsConversionAdjustmentResponse, GoogleAdsConversionUploadResponse } from '../models/googleads';
|
|
3
3
|
/**
|
|
4
4
|
* GoogleAdsService provides methods to interact with Google Ads API.
|
|
5
5
|
* It offers methods for campaigns, ads, click views, conversion actions, and conversion uploads.
|
|
@@ -14,4 +14,11 @@ export declare class GoogleAdsService {
|
|
|
14
14
|
* @returns Upload result including success status and partial failure errors if any
|
|
15
15
|
*/
|
|
16
16
|
uploadConversions(enterprise: string, conversions: GoogleAdsConversion[]): Promise<GoogleAdsConversionUploadResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Upload offline conversions adjustments to Google Ads
|
|
19
|
+
* @param enterpriseName - The enterprise identifier
|
|
20
|
+
* @param adjustments - Array of conversions adjustments to upload
|
|
21
|
+
* @returns Upload result including success status and partial failure errors if any
|
|
22
|
+
*/
|
|
23
|
+
uploadConversionAdjustments(enterpriseName: string, adjustments: GoogleAdsConversionAdjustment[]): Promise<GoogleAdsConversionAdjustmentResponse>;
|
|
17
24
|
}
|
|
@@ -21,5 +21,15 @@ class GoogleAdsService {
|
|
|
21
21
|
const { data } = await this.axiosInstance.post(`${BASE_PATH}/${encodeURIComponent(enterprise)}/conversions`, conversions);
|
|
22
22
|
return data;
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* Upload offline conversions adjustments to Google Ads
|
|
26
|
+
* @param enterpriseName - The enterprise identifier
|
|
27
|
+
* @param adjustments - Array of conversions adjustments to upload
|
|
28
|
+
* @returns Upload result including success status and partial failure errors if any
|
|
29
|
+
*/
|
|
30
|
+
async uploadConversionAdjustments(enterpriseName, adjustments) {
|
|
31
|
+
const { data } = await this.axiosInstance.post(`${BASE_PATH}/${encodeURIComponent(enterpriseName)}/conversion-adjustments`, adjustments);
|
|
32
|
+
return data;
|
|
33
|
+
}
|
|
24
34
|
}
|
|
25
35
|
exports.GoogleAdsService = GoogleAdsService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './Admin';
|
|
2
|
+
export * from './BaseEpicService';
|
|
3
|
+
export * from './Epic';
|
|
4
|
+
export * from './GoogleAdsService';
|
|
5
|
+
export * from './JobEpicService';
|
|
6
|
+
export * from './Mail';
|
|
7
|
+
export * from './MultiCarrierScheduleEpicService';
|
|
8
|
+
export * from './SharepointService';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Admin"), exports);
|
|
18
|
+
__exportStar(require("./BaseEpicService"), exports);
|
|
19
|
+
__exportStar(require("./Epic"), exports);
|
|
20
|
+
__exportStar(require("./GoogleAdsService"), exports);
|
|
21
|
+
__exportStar(require("./JobEpicService"), exports);
|
|
22
|
+
__exportStar(require("./Mail"), exports);
|
|
23
|
+
__exportStar(require("./MultiCarrierScheduleEpicService"), exports);
|
|
24
|
+
__exportStar(require("./SharepointService"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.Excel = void 0;
|
|
21
|
+
__exportStar(require("./AxiosClient"), exports);
|
|
22
|
+
__exportStar(require("./DeepPartial"), exports);
|
|
23
|
+
var Excel_1 = require("./Excel");
|
|
24
|
+
Object.defineProperty(exports, "Excel", { enumerable: true, get: function () { return __importDefault(Excel_1).default; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cemiar/cemiarlink-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.34",
|
|
4
4
|
"description": "CemiarLink SDK to access CemiarLink API services",
|
|
5
5
|
"engines": {
|
|
6
6
|
"npm": ">=9.5.1",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
},
|
|
9
9
|
"author": "Cemiar",
|
|
10
10
|
"license": "ISC",
|
|
11
|
-
"main": "dist/
|
|
12
|
-
"module": "./dist/
|
|
13
|
-
"types": "./dist/
|
|
11
|
+
"main": "dist/index.js",
|
|
12
|
+
"module": "./dist/index.mjs",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
14
|
"files": [
|
|
15
15
|
"dist"
|
|
16
16
|
],
|