@compassdigital/sdk.typescript 4.702.0 → 4.703.0
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/lib/index.d.ts +1 -15
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -18
- package/lib/index.js.map +1 -1
- package/lib/interface/datalake.d.ts +0 -24
- package/lib/interface/datalake.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +0 -44
- package/src/interface/datalake.ts +0 -36
|
@@ -7,13 +7,6 @@ export interface Error {
|
|
|
7
7
|
export interface QueryBody {
|
|
8
8
|
query?: string;
|
|
9
9
|
}
|
|
10
|
-
export interface JdeMappingsBody {
|
|
11
|
-
env?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface JdeBatchBody {
|
|
14
|
-
env?: string;
|
|
15
|
-
payload: Record<string, any>;
|
|
16
|
-
}
|
|
17
10
|
export type PostDatalakeSqlBody = QueryBody;
|
|
18
11
|
export interface PostDatalakeSqlResponse {
|
|
19
12
|
rows?: Record<string, any>[];
|
|
@@ -21,23 +14,6 @@ export interface PostDatalakeSqlResponse {
|
|
|
21
14
|
export interface PostDatalakeSqlRequest extends BaseRequest {
|
|
22
15
|
body: PostDatalakeSqlBody;
|
|
23
16
|
}
|
|
24
|
-
export type PostDatalakeJdeMappingsBody = JdeMappingsBody;
|
|
25
|
-
export interface PostDatalakeJdeMappingsResponse {
|
|
26
|
-
units: {
|
|
27
|
-
unit: string;
|
|
28
|
-
required: string[];
|
|
29
|
-
}[];
|
|
30
|
-
}
|
|
31
|
-
export interface PostDatalakeJdeMappingsRequest extends BaseRequest {
|
|
32
|
-
body: PostDatalakeJdeMappingsBody;
|
|
33
|
-
}
|
|
34
|
-
export type PostDatalakeJdeBatchBody = JdeBatchBody;
|
|
35
|
-
export interface PostDatalakeJdeBatchResponse {
|
|
36
|
-
[index: string]: any;
|
|
37
|
-
}
|
|
38
|
-
export interface PostDatalakeJdeBatchRequest extends BaseRequest {
|
|
39
|
-
body: PostDatalakeJdeBatchBody;
|
|
40
|
-
}
|
|
41
17
|
export type GetDatalakeSwaggerResponse = Record<string, any>;
|
|
42
18
|
export interface GetDatalakeSwaggerRequest extends BaseRequest {
|
|
43
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datalake.d.ts","sourceRoot":"","sources":["../../src/interface/datalake.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgB,WAAW,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,WAAW,KAAK;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;
|
|
1
|
+
{"version":3,"file":"datalake.d.ts","sourceRoot":"","sources":["../../src/interface/datalake.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgB,WAAW,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,WAAW,KAAK;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAID,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC;AAE5C,MAAM,WAAW,uBAAuB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IAC1D,IAAI,EAAE,mBAAmB,CAAC;CAC1B;AAID,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAE7D,MAAM,WAAW,yBAA0B,SAAQ,WAAW;CAAG"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -310,10 +310,6 @@ import {
|
|
|
310
310
|
import {
|
|
311
311
|
PostDatalakeSqlBody,
|
|
312
312
|
PostDatalakeSqlResponse,
|
|
313
|
-
PostDatalakeJdeMappingsBody,
|
|
314
|
-
PostDatalakeJdeMappingsResponse,
|
|
315
|
-
PostDatalakeJdeBatchBody,
|
|
316
|
-
PostDatalakeJdeBatchResponse,
|
|
317
313
|
GetDatalakeSwaggerResponse,
|
|
318
314
|
} from './interface/datalake';
|
|
319
315
|
|
|
@@ -4550,46 +4546,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4550
4546
|
return this.request('datalake', '/datalake/sql', 'POST', `/datalake/sql`, body, options);
|
|
4551
4547
|
}
|
|
4552
4548
|
|
|
4553
|
-
/**
|
|
4554
|
-
* POST /datalake/jde/mappings - Get JDE unit category mappings
|
|
4555
|
-
*
|
|
4556
|
-
* @param body
|
|
4557
|
-
* @param options - additional request options
|
|
4558
|
-
*/
|
|
4559
|
-
post_datalake_jde_mappings(
|
|
4560
|
-
body: PostDatalakeJdeMappingsBody,
|
|
4561
|
-
options?: RequestOptions,
|
|
4562
|
-
): ResponsePromise<PostDatalakeJdeMappingsResponse> {
|
|
4563
|
-
return this.request(
|
|
4564
|
-
'datalake',
|
|
4565
|
-
'/datalake/jde/mappings',
|
|
4566
|
-
'POST',
|
|
4567
|
-
`/datalake/jde/mappings`,
|
|
4568
|
-
body,
|
|
4569
|
-
options,
|
|
4570
|
-
);
|
|
4571
|
-
}
|
|
4572
|
-
|
|
4573
|
-
/**
|
|
4574
|
-
* POST /datalake/jde/batch - Record a batch in JDE
|
|
4575
|
-
*
|
|
4576
|
-
* @param body
|
|
4577
|
-
* @param options - additional request options
|
|
4578
|
-
*/
|
|
4579
|
-
post_datalake_jde_batch(
|
|
4580
|
-
body: PostDatalakeJdeBatchBody,
|
|
4581
|
-
options?: RequestOptions,
|
|
4582
|
-
): ResponsePromise<PostDatalakeJdeBatchResponse> {
|
|
4583
|
-
return this.request(
|
|
4584
|
-
'datalake',
|
|
4585
|
-
'/datalake/jde/batch',
|
|
4586
|
-
'POST',
|
|
4587
|
-
`/datalake/jde/batch`,
|
|
4588
|
-
body,
|
|
4589
|
-
options,
|
|
4590
|
-
);
|
|
4591
|
-
}
|
|
4592
|
-
|
|
4593
4549
|
/**
|
|
4594
4550
|
* GET /swagger.json
|
|
4595
4551
|
*
|
|
@@ -13,15 +13,6 @@ export interface QueryBody {
|
|
|
13
13
|
query?: string;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export interface JdeMappingsBody {
|
|
17
|
-
env?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface JdeBatchBody {
|
|
21
|
-
env?: string;
|
|
22
|
-
payload: Record<string, any>;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
16
|
// POST /datalake/sql - Query datalake for data
|
|
26
17
|
|
|
27
18
|
export type PostDatalakeSqlBody = QueryBody;
|
|
@@ -34,33 +25,6 @@ export interface PostDatalakeSqlRequest extends BaseRequest {
|
|
|
34
25
|
body: PostDatalakeSqlBody;
|
|
35
26
|
}
|
|
36
27
|
|
|
37
|
-
// POST /datalake/jde/mappings - Get JDE unit category mappings
|
|
38
|
-
|
|
39
|
-
export type PostDatalakeJdeMappingsBody = JdeMappingsBody;
|
|
40
|
-
|
|
41
|
-
export interface PostDatalakeJdeMappingsResponse {
|
|
42
|
-
units: {
|
|
43
|
-
unit: string;
|
|
44
|
-
required: string[];
|
|
45
|
-
}[];
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface PostDatalakeJdeMappingsRequest extends BaseRequest {
|
|
49
|
-
body: PostDatalakeJdeMappingsBody;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// POST /datalake/jde/batch - Record a batch in JDE
|
|
53
|
-
|
|
54
|
-
export type PostDatalakeJdeBatchBody = JdeBatchBody;
|
|
55
|
-
|
|
56
|
-
export interface PostDatalakeJdeBatchResponse {
|
|
57
|
-
[index: string]: any;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export interface PostDatalakeJdeBatchRequest extends BaseRequest {
|
|
61
|
-
body: PostDatalakeJdeBatchBody;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
28
|
// GET /swagger.json
|
|
65
29
|
|
|
66
30
|
export type GetDatalakeSwaggerResponse = Record<string, any>;
|