@ampsec/platform-client 57.7.0 → 58.1.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.
|
@@ -39,13 +39,13 @@ export type DateMatcher = {
|
|
|
39
39
|
export type SortOptions = {
|
|
40
40
|
[key: string]: 'ASC' | 'DESC';
|
|
41
41
|
};
|
|
42
|
-
export type
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
export type FilterCriteria = {
|
|
43
|
+
/** Number of records to return. */
|
|
44
|
+
limit?: number;
|
|
45
|
+
/** Number of records to skip before capturing results. */
|
|
46
|
+
offset?: number;
|
|
47
|
+
/** Sort Criteria */
|
|
48
|
+
sort?: SortOptions;
|
|
49
49
|
/** Entity ID */
|
|
50
50
|
id?: string | IdMatcher;
|
|
51
51
|
/** Tenant ID */
|
|
@@ -69,13 +69,4 @@ export type FC_FilterConstraints = {
|
|
|
69
69
|
/** catch all bucket for other fields */
|
|
70
70
|
[key: string]: string | string[] | StringMatcher | number | NumberMatcher | boolean | null | undefined;
|
|
71
71
|
};
|
|
72
|
-
export type FC_FilterableCriteria = FC_FilterConstraints | FC_AllCondition | FC_AnyCondition;
|
|
73
|
-
export type FilterCriteria = FC_FilterableCriteria & {
|
|
74
|
-
/** Number of records to return. */
|
|
75
|
-
limit?: number;
|
|
76
|
-
/** Number of records to skip before capturing results. */
|
|
77
|
-
offset?: number;
|
|
78
|
-
/** Sort Criteria */
|
|
79
|
-
sort?: SortOptions;
|
|
80
|
-
};
|
|
81
72
|
export {};
|
package/build/src/settings.d.ts
CHANGED
|
@@ -47,6 +47,10 @@ export declare const AMP_SETTINGS: {
|
|
|
47
47
|
* Specifies if all messages for this tenant should be sent to the QA channel.
|
|
48
48
|
*/
|
|
49
49
|
SLACK_QA_ALL_MESSAGES: import("./services").TypedAmpSettingsKey<boolean>;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies if the ETL process should be allowed to delete all elements of a saas collection during ingest.
|
|
52
|
+
*/
|
|
53
|
+
ALLOW_DELETE_ALL_FROM_SAAS_COLLECTION: import("./services").TypedAmpSettingsKey<boolean>;
|
|
50
54
|
};
|
|
51
55
|
/**
|
|
52
56
|
* GLOBAL
|
package/build/src/settings.js
CHANGED
|
@@ -34,6 +34,10 @@ const TENANT_SETTINGS = {
|
|
|
34
34
|
* Specifies if all messages for this tenant should be sent to the QA channel.
|
|
35
35
|
*/
|
|
36
36
|
SLACK_QA_ALL_MESSAGES: services_1.AmpSettingsMap.asKey('slack.messages.qa.all'),
|
|
37
|
+
/**
|
|
38
|
+
* Specifies if the ETL process should be allowed to delete all elements of a saas collection during ingest.
|
|
39
|
+
*/
|
|
40
|
+
ALLOW_DELETE_ALL_FROM_SAAS_COLLECTION: services_1.AmpSettingsMap.asKey('saas.allow.delete.all', false),
|
|
37
41
|
};
|
|
38
42
|
/**
|
|
39
43
|
* GLOBAL CONNECTOR DEFAULTS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/settings.ts"],"names":[],"mappings":";;;AACA,yCAA0C;AAE1C;;2BAE2B;AAC3B;;;;GAIG;AACH,MAAM,eAAe,GAAG;IACtB,oEAAoE;IACpE,UAAU,EAAE,yBAAc,CAAC,KAAK,CAAU,iCAAiC,EAAE,IAAI,CAAC;IAClF,4CAA4C;IAC5C,YAAY,EAAE,yBAAc,CAAC,KAAK,CAAU,eAAe,EAAE,KAAK,CAAC;IACnE,sDAAsD;IACtD,mBAAmB,EAAE,yBAAc,CAAC,KAAK,CAAsB,0BAA0B,CAAC;IAC1F;;;;;;;OAOG;IACH,cAAc,EAAE,yBAAc,CAAC,KAAK,CAAS,iBAAiB,EAAE,SAAS,CAAC;IAC1E;;OAEG;IACH,mBAAmB,EAAE,yBAAc,CAAC,KAAK,CAAS,yBAAyB,CAAC;IAC5E;;OAEG;IACH,qBAAqB,EAAE,yBAAc,CAAC,KA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,YAAY,GAAG;IAC1B;;;;OAIG;IACH,MAAM,EAAE;QACN,GAAG,eAAe;QAClB,4EAA4E;QAC5E,iCAAiC,EAAE,yBAAc,CAAC,KAAK,CAAkC,kCAAkC,CAAC;KAC7H;IACD;;;OAGG;IACH,iBAAiB,EAAE;QACjB,GAAG,iCAAiC;KACrC;IACD;;0BAEsB;IACtB,MAAM,EAAE,EAAC,GAAG,eAAe,EAAC;IAC5B,IAAI,EAAE,EAAC,GAAG,aAAa,EAAC;IACxB,KAAK,EAAE,EAAC,GAAG,cAAc,EAAC;IAC1B,OAAO,EAAE,EAAC,GAAG,gBAAgB,EAAC;IAC9B,OAAO,EAAE,EAAC,GAAG,gBAAgB,EAAC;CAC/B,CAAC"}
|
package/package.json
CHANGED
package/src/FilterCriteria.ts
CHANGED
|
@@ -42,15 +42,13 @@ export type SortOptions = {
|
|
|
42
42
|
[key: string]: 'ASC' | 'DESC';
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
export type
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export type FC_FilterConstraints = {
|
|
45
|
+
export type FilterCriteria = {
|
|
46
|
+
/** Number of records to return. */
|
|
47
|
+
limit?: number;
|
|
48
|
+
/** Number of records to skip before capturing results. */
|
|
49
|
+
offset?: number;
|
|
50
|
+
/** Sort Criteria */
|
|
51
|
+
sort?: SortOptions;
|
|
54
52
|
/** Entity ID */
|
|
55
53
|
id?: string | IdMatcher;
|
|
56
54
|
/** Tenant ID */
|
|
@@ -74,14 +72,3 @@ export type FC_FilterConstraints = {
|
|
|
74
72
|
/** catch all bucket for other fields */
|
|
75
73
|
[key: string]: string | string[] | StringMatcher | number | NumberMatcher | boolean | null | undefined;
|
|
76
74
|
};
|
|
77
|
-
|
|
78
|
-
export type FC_FilterableCriteria = FC_FilterConstraints | FC_AllCondition | FC_AnyCondition;
|
|
79
|
-
|
|
80
|
-
export type FilterCriteria = FC_FilterableCriteria & {
|
|
81
|
-
/** Number of records to return. */
|
|
82
|
-
limit?: number;
|
|
83
|
-
/** Number of records to skip before capturing results. */
|
|
84
|
-
offset?: number;
|
|
85
|
-
/** Sort Criteria */
|
|
86
|
-
sort?: SortOptions;
|
|
87
|
-
};
|
package/src/settings.ts
CHANGED
|
@@ -33,6 +33,10 @@ const TENANT_SETTINGS = {
|
|
|
33
33
|
* Specifies if all messages for this tenant should be sent to the QA channel.
|
|
34
34
|
*/
|
|
35
35
|
SLACK_QA_ALL_MESSAGES: AmpSettingsMap.asKey<boolean>('slack.messages.qa.all'),
|
|
36
|
+
/**
|
|
37
|
+
* Specifies if the ETL process should be allowed to delete all elements of a saas collection during ingest.
|
|
38
|
+
*/
|
|
39
|
+
ALLOW_DELETE_ALL_FROM_SAAS_COLLECTION: AmpSettingsMap.asKey<boolean>('saas.allow.delete.all', false),
|
|
36
40
|
};
|
|
37
41
|
|
|
38
42
|
/**
|