@quba/sensitive-data-protection 0.0.7 → 0.0.8

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/README.md CHANGED
@@ -60,7 +60,7 @@ All URIs are relative to *https://app.quba.ae/api/sdp*
60
60
  - [AnonymizeRequestBody](docs/AnonymizeRequestBody.md)
61
61
  - [AnonymizeRequestBodyRulesInner](docs/AnonymizeRequestBodyRulesInner.md)
62
62
  - [AnonymizeResponseBody](docs/AnonymizeResponseBody.md)
63
- - [AnonymizeResponseBodySpansInner](docs/AnonymizeResponseBodySpansInner.md)
63
+ - [AnonymizeResponseBodyResultsInner](docs/AnonymizeResponseBodyResultsInner.md)
64
64
  - [EncryptRule](docs/EncryptRule.md)
65
65
  - [Entities](docs/Entities.md)
66
66
  - [EntitiesAnyOfInner](docs/EntitiesAnyOfInner.md)
package/dist/index.cjs CHANGED
@@ -4,7 +4,7 @@
4
4
  * Sensitive Data Protection API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.0.1
7
+ * The version of the OpenAPI document: 0.0.8
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -687,11 +687,11 @@ function RegexResultToJSONTyped(value, ignoreDiscriminator = false) {
687
687
  }
688
688
 
689
689
  //#endregion
690
- //#region src/models/AnonymizeResponseBodySpansInner.ts
691
- function AnonymizeResponseBodySpansInnerFromJSON(json) {
692
- return AnonymizeResponseBodySpansInnerFromJSONTyped(json, false);
690
+ //#region src/models/AnonymizeResponseBodyResultsInner.ts
691
+ function AnonymizeResponseBodyResultsInnerFromJSON(json) {
692
+ return AnonymizeResponseBodyResultsInnerFromJSONTyped(json, false);
693
693
  }
694
- function AnonymizeResponseBodySpansInnerFromJSONTyped(json, ignoreDiscriminator) {
694
+ function AnonymizeResponseBodyResultsInnerFromJSONTyped(json, ignoreDiscriminator) {
695
695
  if (json == null) return json;
696
696
  switch (json["type"]) {
697
697
  case "model": return Object.assign({}, ModelResultFromJSONTyped(json, true), { type: "model" });
@@ -699,10 +699,10 @@ function AnonymizeResponseBodySpansInnerFromJSONTyped(json, ignoreDiscriminator)
699
699
  default: return json;
700
700
  }
701
701
  }
702
- function AnonymizeResponseBodySpansInnerToJSON(json) {
703
- return AnonymizeResponseBodySpansInnerToJSONTyped(json, false);
702
+ function AnonymizeResponseBodyResultsInnerToJSON(json) {
703
+ return AnonymizeResponseBodyResultsInnerToJSONTyped(json, false);
704
704
  }
705
- function AnonymizeResponseBodySpansInnerToJSONTyped(value, ignoreDiscriminator = false) {
705
+ function AnonymizeResponseBodyResultsInnerToJSONTyped(value, ignoreDiscriminator = false) {
706
706
  if (value == null) return value;
707
707
  switch (value["type"]) {
708
708
  case "model": return Object.assign({}, ModelResultToJSON(value), { type: "model" });
@@ -727,7 +727,7 @@ function AnonymizeResponseBodyFromJSONTyped(json, ignoreDiscriminator) {
727
727
  if (json == null) return json;
728
728
  return {
729
729
  "text": json["text"],
730
- "spans": json["spans"] == null ? void 0 : json["spans"].map(AnonymizeResponseBodySpansInnerFromJSON)
730
+ "results": json["results"] == null ? void 0 : json["results"].map(AnonymizeResponseBodyResultsInnerFromJSON)
731
731
  };
732
732
  }
733
733
  function AnonymizeResponseBodyToJSON(json) {
@@ -737,7 +737,7 @@ function AnonymizeResponseBodyToJSONTyped(value, ignoreDiscriminator = false) {
737
737
  if (value == null) return value;
738
738
  return {
739
739
  "text": value["text"],
740
- "spans": value["spans"] == null ? void 0 : value["spans"].map(AnonymizeResponseBodySpansInnerToJSON)
740
+ "results": value["results"] == null ? void 0 : value["results"].map(AnonymizeResponseBodyResultsInnerToJSON)
741
741
  };
742
742
  }
743
743
 
@@ -1013,7 +1013,7 @@ function ScanResponseBodyToJSONTyped(value, ignoreDiscriminator = false) {
1013
1013
  * Sensitive Data Protection API
1014
1014
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1015
1015
  *
1016
- * The version of the OpenAPI document: 0.0.1
1016
+ * The version of the OpenAPI document: 0.0.8
1017
1017
  *
1018
1018
  *
1019
1019
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1108,10 +1108,10 @@ exports.AnonymizeRequestBodyToJSON = AnonymizeRequestBodyToJSON;
1108
1108
  exports.AnonymizeRequestBodyToJSONTyped = AnonymizeRequestBodyToJSONTyped;
1109
1109
  exports.AnonymizeResponseBodyFromJSON = AnonymizeResponseBodyFromJSON;
1110
1110
  exports.AnonymizeResponseBodyFromJSONTyped = AnonymizeResponseBodyFromJSONTyped;
1111
- exports.AnonymizeResponseBodySpansInnerFromJSON = AnonymizeResponseBodySpansInnerFromJSON;
1112
- exports.AnonymizeResponseBodySpansInnerFromJSONTyped = AnonymizeResponseBodySpansInnerFromJSONTyped;
1113
- exports.AnonymizeResponseBodySpansInnerToJSON = AnonymizeResponseBodySpansInnerToJSON;
1114
- exports.AnonymizeResponseBodySpansInnerToJSONTyped = AnonymizeResponseBodySpansInnerToJSONTyped;
1111
+ exports.AnonymizeResponseBodyResultsInnerFromJSON = AnonymizeResponseBodyResultsInnerFromJSON;
1112
+ exports.AnonymizeResponseBodyResultsInnerFromJSONTyped = AnonymizeResponseBodyResultsInnerFromJSONTyped;
1113
+ exports.AnonymizeResponseBodyResultsInnerToJSON = AnonymizeResponseBodyResultsInnerToJSON;
1114
+ exports.AnonymizeResponseBodyResultsInnerToJSONTyped = AnonymizeResponseBodyResultsInnerToJSONTyped;
1115
1115
  exports.AnonymizeResponseBodyToJSON = AnonymizeResponseBodyToJSON;
1116
1116
  exports.AnonymizeResponseBodyToJSONTyped = AnonymizeResponseBodyToJSONTyped;
1117
1117
  exports.BASE_PATH = BASE_PATH;
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Sensitive Data Protection API
4
4
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
  *
6
- * The version of the OpenAPI document: 0.0.1
6
+ * The version of the OpenAPI document: 0.0.8
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -189,7 +189,7 @@ declare class TextApiResponse {
189
189
  * Sensitive Data Protection API
190
190
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
191
191
  *
192
- * The version of the OpenAPI document: 0.0.1
192
+ * The version of the OpenAPI document: 0.0.8
193
193
  *
194
194
  *
195
195
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -521,7 +521,7 @@ declare function AnonymizeRequestBodyToJSONTyped(value?: AnonymizeRequestBody |
521
521
  * Sensitive Data Protection API
522
522
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
523
523
  *
524
- * The version of the OpenAPI document: 0.0.1
524
+ * The version of the OpenAPI document: 0.0.8
525
525
  *
526
526
  *
527
527
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -682,21 +682,21 @@ declare function RegexResultFromJSONTyped(json: any, ignoreDiscriminator: boolea
682
682
  declare function RegexResultToJSON(json: any): RegexResult;
683
683
  declare function RegexResultToJSONTyped(value?: RegexResult | null, ignoreDiscriminator?: boolean): any;
684
684
  //#endregion
685
- //#region src/models/AnonymizeResponseBodySpansInner.d.ts
685
+ //#region src/models/AnonymizeResponseBodyResultsInner.d.ts
686
686
  /**
687
- * @type AnonymizeResponseBodySpansInner
687
+ * @type AnonymizeResponseBodyResultsInner
688
688
  *
689
689
  * @export
690
690
  */
691
- type AnonymizeResponseBodySpansInner = {
691
+ type AnonymizeResponseBodyResultsInner = {
692
692
  type: 'model';
693
693
  } & ModelResult | {
694
694
  type: 'regex';
695
695
  } & RegexResult;
696
- declare function AnonymizeResponseBodySpansInnerFromJSON(json: any): AnonymizeResponseBodySpansInner;
697
- declare function AnonymizeResponseBodySpansInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnonymizeResponseBodySpansInner;
698
- declare function AnonymizeResponseBodySpansInnerToJSON(json: any): any;
699
- declare function AnonymizeResponseBodySpansInnerToJSONTyped(value?: AnonymizeResponseBodySpansInner | null, ignoreDiscriminator?: boolean): any;
696
+ declare function AnonymizeResponseBodyResultsInnerFromJSON(json: any): AnonymizeResponseBodyResultsInner;
697
+ declare function AnonymizeResponseBodyResultsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnonymizeResponseBodyResultsInner;
698
+ declare function AnonymizeResponseBodyResultsInnerToJSON(json: any): any;
699
+ declare function AnonymizeResponseBodyResultsInnerToJSONTyped(value?: AnonymizeResponseBodyResultsInner | null, ignoreDiscriminator?: boolean): any;
700
700
  //#endregion
701
701
  //#region src/models/AnonymizeResponseBody.d.ts
702
702
  /**
@@ -713,10 +713,10 @@ interface AnonymizeResponseBody {
713
713
  text: string;
714
714
  /**
715
715
  *
716
- * @type {Array<AnonymizeResponseBodySpansInner>}
716
+ * @type {Array<AnonymizeResponseBodyResultsInner>}
717
717
  * @memberof AnonymizeResponseBody
718
718
  */
719
- spans?: Array<AnonymizeResponseBodySpansInner>;
719
+ results?: Array<AnonymizeResponseBodyResultsInner>;
720
720
  }
721
721
  /**
722
722
  * Check if a given object implements the AnonymizeResponseBody interface.
@@ -732,7 +732,7 @@ declare function AnonymizeResponseBodyToJSONTyped(value?: AnonymizeResponseBody
732
732
  * Sensitive Data Protection API
733
733
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
734
734
  *
735
- * The version of the OpenAPI document: 0.0.1
735
+ * The version of the OpenAPI document: 0.0.8
736
736
  *
737
737
  *
738
738
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -779,7 +779,7 @@ declare function ModelEntityToJSONTyped(value?: ModelEntity | null, ignoreDiscri
779
779
  * Sensitive Data Protection API
780
780
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
781
781
  *
782
- * The version of the OpenAPI document: 0.0.1
782
+ * The version of the OpenAPI document: 0.0.8
783
783
  *
784
784
  *
785
785
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -842,7 +842,7 @@ declare function EntitiesAnyOfInnerToJSONTyped(value?: EntitiesAnyOfInner | null
842
842
  * Sensitive Data Protection API
843
843
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
844
844
  *
845
- * The version of the OpenAPI document: 0.0.1
845
+ * The version of the OpenAPI document: 0.0.8
846
846
  *
847
847
  *
848
848
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -927,7 +927,7 @@ declare function HTTPValidationErrorToJSONTyped(value?: HTTPValidationError | nu
927
927
  * Sensitive Data Protection API
928
928
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
929
929
  *
930
- * The version of the OpenAPI document: 0.0.1
930
+ * The version of the OpenAPI document: 0.0.8
931
931
  *
932
932
  *
933
933
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -979,7 +979,7 @@ declare function ScanRequestBodyToJSONTyped(value?: ScanRequestBody | null, igno
979
979
  * Sensitive Data Protection API
980
980
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
981
981
  *
982
- * The version of the OpenAPI document: 0.0.1
982
+ * The version of the OpenAPI document: 0.0.8
983
983
  *
984
984
  *
985
985
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1092,4 +1092,4 @@ declare class SensitiveDataProtectionApi extends BaseAPI {
1092
1092
  scanText(ScanRequestBody: ScanRequestBody, initOverrides?: RequestInit | InitOverrideFunction): Promise<ScanResponseBody>;
1093
1093
  }
1094
1094
  //#endregion
1095
- export { AnonymizeRequestBody, AnonymizeRequestBodyFromJSON, AnonymizeRequestBodyFromJSONTyped, AnonymizeRequestBodyRulesInner, AnonymizeRequestBodyRulesInnerFromJSON, AnonymizeRequestBodyRulesInnerFromJSONTyped, AnonymizeRequestBodyRulesInnerToJSON, AnonymizeRequestBodyRulesInnerToJSONTyped, AnonymizeRequestBodyToJSON, AnonymizeRequestBodyToJSONTyped, AnonymizeResponseBody, AnonymizeResponseBodyFromJSON, AnonymizeResponseBodyFromJSONTyped, AnonymizeResponseBodySpansInner, AnonymizeResponseBodySpansInnerFromJSON, AnonymizeResponseBodySpansInnerFromJSONTyped, AnonymizeResponseBodySpansInnerToJSON, AnonymizeResponseBodySpansInnerToJSONTyped, AnonymizeResponseBodyToJSON, AnonymizeResponseBodyToJSONTyped, AnonymizeTextRequest, ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, ConfigurationParameters, Consume, DefaultConfig, EncryptRule, EncryptRuleFromJSON, EncryptRuleFromJSONTyped, EncryptRuleToJSON, EncryptRuleToJSONTyped, EncryptRuleTypeEnum, Entities, EntitiesAnyOfInner, EntitiesAnyOfInnerFromJSON, EntitiesAnyOfInnerFromJSONTyped, EntitiesAnyOfInnerToJSON, EntitiesAnyOfInnerToJSONTyped, EntitiesFromJSON, EntitiesFromJSONTyped, EntitiesToJSON, EntitiesToJSONTyped, ErrorContext, FetchAPI, FetchError, FetchParams, HTTPBody, HTTPHeaders, HTTPMethod, HTTPQuery, HTTPRequestInit, HTTPValidationError, HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped, InitOverrideFunction, JSONApiResponse, Json, MaskRule, MaskRuleFromJSON, MaskRuleFromJSONTyped, MaskRuleToJSON, MaskRuleToJSONTyped, MaskRuleTypeEnum, Middleware, ModelEntity, ModelEntityFromJSON, ModelEntityFromJSONTyped, ModelEntityToJSON, ModelEntityToJSONTyped, ModelEntityTypeEnum, ModelPropertyNaming, ModelResult, ModelResultFromJSON, ModelResultFromJSONTyped, ModelResultToJSON, ModelResultToJSONTyped, ModelResultTypeEnum, RedactRule, RedactRuleFromJSON, RedactRuleFromJSONTyped, RedactRuleToJSON, RedactRuleToJSONTyped, RedactRuleTypeEnum, RegexEntity, RegexEntityFromJSON, RegexEntityFromJSONTyped, RegexEntityToJSON, RegexEntityToJSONTyped, RegexEntityTypeEnum, RegexResult, RegexResultFromJSON, RegexResultFromJSONTyped, RegexResultToJSON, RegexResultToJSONTyped, RegexResultTypeEnum, ReplaceRule, ReplaceRuleFromJSON, ReplaceRuleFromJSONTyped, ReplaceRuleToJSON, ReplaceRuleToJSONTyped, ReplaceRuleTypeEnum, RequestContext, RequestOpts, RequiredError, ResponseContext, ResponseError, ResponseTransformer, SHA256Rule, SHA256RuleFromJSON, SHA256RuleFromJSONTyped, SHA256RuleToJSON, SHA256RuleToJSONTyped, SHA256RuleTypeEnum, SHA512Rule, SHA512RuleFromJSON, SHA512RuleFromJSONTyped, SHA512RuleToJSON, SHA512RuleToJSONTyped, SHA512RuleTypeEnum, ScanRequestBody, ScanRequestBodyFromJSON, ScanRequestBodyFromJSONTyped, ScanRequestBodyToJSON, ScanRequestBodyToJSONTyped, ScanResponseBody, ScanResponseBodyFromJSON, ScanResponseBodyFromJSONTyped, ScanResponseBodyToJSON, ScanResponseBodyToJSONTyped, ScanResult, ScanResultFromJSON, ScanResultFromJSONTyped, ScanResultToJSON, ScanResultToJSONTyped, ScanTextRequest, SensitiveDataProtectionApi, TextApiResponse, TextRange, TextRangeFromJSON, TextRangeFromJSONTyped, TextRangeToJSON, TextRangeToJSONTyped, ValidationError, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorLocInner, ValidationErrorLocInnerFromJSON, ValidationErrorLocInnerFromJSONTyped, ValidationErrorLocInnerToJSON, ValidationErrorLocInnerToJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, VoidApiResponse, canConsumeForm, exists, instanceOfAnonymizeRequestBody, instanceOfAnonymizeResponseBody, instanceOfEncryptRule, instanceOfEntities, instanceOfHTTPValidationError, instanceOfMaskRule, instanceOfModelEntity, instanceOfModelResult, instanceOfRedactRule, instanceOfRegexEntity, instanceOfRegexResult, instanceOfReplaceRule, instanceOfSHA256Rule, instanceOfSHA512Rule, instanceOfScanRequestBody, instanceOfScanResponseBody, instanceOfScanResult, instanceOfTextRange, instanceOfValidationError, instanceOfValidationErrorLocInner, mapValues, querystring };
1095
+ export { AnonymizeRequestBody, AnonymizeRequestBodyFromJSON, AnonymizeRequestBodyFromJSONTyped, AnonymizeRequestBodyRulesInner, AnonymizeRequestBodyRulesInnerFromJSON, AnonymizeRequestBodyRulesInnerFromJSONTyped, AnonymizeRequestBodyRulesInnerToJSON, AnonymizeRequestBodyRulesInnerToJSONTyped, AnonymizeRequestBodyToJSON, AnonymizeRequestBodyToJSONTyped, AnonymizeResponseBody, AnonymizeResponseBodyFromJSON, AnonymizeResponseBodyFromJSONTyped, AnonymizeResponseBodyResultsInner, AnonymizeResponseBodyResultsInnerFromJSON, AnonymizeResponseBodyResultsInnerFromJSONTyped, AnonymizeResponseBodyResultsInnerToJSON, AnonymizeResponseBodyResultsInnerToJSONTyped, AnonymizeResponseBodyToJSON, AnonymizeResponseBodyToJSONTyped, AnonymizeTextRequest, ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, ConfigurationParameters, Consume, DefaultConfig, EncryptRule, EncryptRuleFromJSON, EncryptRuleFromJSONTyped, EncryptRuleToJSON, EncryptRuleToJSONTyped, EncryptRuleTypeEnum, Entities, EntitiesAnyOfInner, EntitiesAnyOfInnerFromJSON, EntitiesAnyOfInnerFromJSONTyped, EntitiesAnyOfInnerToJSON, EntitiesAnyOfInnerToJSONTyped, EntitiesFromJSON, EntitiesFromJSONTyped, EntitiesToJSON, EntitiesToJSONTyped, ErrorContext, FetchAPI, FetchError, FetchParams, HTTPBody, HTTPHeaders, HTTPMethod, HTTPQuery, HTTPRequestInit, HTTPValidationError, HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped, InitOverrideFunction, JSONApiResponse, Json, MaskRule, MaskRuleFromJSON, MaskRuleFromJSONTyped, MaskRuleToJSON, MaskRuleToJSONTyped, MaskRuleTypeEnum, Middleware, ModelEntity, ModelEntityFromJSON, ModelEntityFromJSONTyped, ModelEntityToJSON, ModelEntityToJSONTyped, ModelEntityTypeEnum, ModelPropertyNaming, ModelResult, ModelResultFromJSON, ModelResultFromJSONTyped, ModelResultToJSON, ModelResultToJSONTyped, ModelResultTypeEnum, RedactRule, RedactRuleFromJSON, RedactRuleFromJSONTyped, RedactRuleToJSON, RedactRuleToJSONTyped, RedactRuleTypeEnum, RegexEntity, RegexEntityFromJSON, RegexEntityFromJSONTyped, RegexEntityToJSON, RegexEntityToJSONTyped, RegexEntityTypeEnum, RegexResult, RegexResultFromJSON, RegexResultFromJSONTyped, RegexResultToJSON, RegexResultToJSONTyped, RegexResultTypeEnum, ReplaceRule, ReplaceRuleFromJSON, ReplaceRuleFromJSONTyped, ReplaceRuleToJSON, ReplaceRuleToJSONTyped, ReplaceRuleTypeEnum, RequestContext, RequestOpts, RequiredError, ResponseContext, ResponseError, ResponseTransformer, SHA256Rule, SHA256RuleFromJSON, SHA256RuleFromJSONTyped, SHA256RuleToJSON, SHA256RuleToJSONTyped, SHA256RuleTypeEnum, SHA512Rule, SHA512RuleFromJSON, SHA512RuleFromJSONTyped, SHA512RuleToJSON, SHA512RuleToJSONTyped, SHA512RuleTypeEnum, ScanRequestBody, ScanRequestBodyFromJSON, ScanRequestBodyFromJSONTyped, ScanRequestBodyToJSON, ScanRequestBodyToJSONTyped, ScanResponseBody, ScanResponseBodyFromJSON, ScanResponseBodyFromJSONTyped, ScanResponseBodyToJSON, ScanResponseBodyToJSONTyped, ScanResult, ScanResultFromJSON, ScanResultFromJSONTyped, ScanResultToJSON, ScanResultToJSONTyped, ScanTextRequest, SensitiveDataProtectionApi, TextApiResponse, TextRange, TextRangeFromJSON, TextRangeFromJSONTyped, TextRangeToJSON, TextRangeToJSONTyped, ValidationError, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorLocInner, ValidationErrorLocInnerFromJSON, ValidationErrorLocInnerFromJSONTyped, ValidationErrorLocInnerToJSON, ValidationErrorLocInnerToJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, VoidApiResponse, canConsumeForm, exists, instanceOfAnonymizeRequestBody, instanceOfAnonymizeResponseBody, instanceOfEncryptRule, instanceOfEntities, instanceOfHTTPValidationError, instanceOfMaskRule, instanceOfModelEntity, instanceOfModelResult, instanceOfRedactRule, instanceOfRegexEntity, instanceOfRegexResult, instanceOfReplaceRule, instanceOfSHA256Rule, instanceOfSHA512Rule, instanceOfScanRequestBody, instanceOfScanResponseBody, instanceOfScanResult, instanceOfTextRange, instanceOfValidationError, instanceOfValidationErrorLocInner, mapValues, querystring };
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Sensitive Data Protection API
4
4
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
  *
6
- * The version of the OpenAPI document: 0.0.1
6
+ * The version of the OpenAPI document: 0.0.8
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -189,7 +189,7 @@ declare class TextApiResponse {
189
189
  * Sensitive Data Protection API
190
190
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
191
191
  *
192
- * The version of the OpenAPI document: 0.0.1
192
+ * The version of the OpenAPI document: 0.0.8
193
193
  *
194
194
  *
195
195
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -521,7 +521,7 @@ declare function AnonymizeRequestBodyToJSONTyped(value?: AnonymizeRequestBody |
521
521
  * Sensitive Data Protection API
522
522
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
523
523
  *
524
- * The version of the OpenAPI document: 0.0.1
524
+ * The version of the OpenAPI document: 0.0.8
525
525
  *
526
526
  *
527
527
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -682,21 +682,21 @@ declare function RegexResultFromJSONTyped(json: any, ignoreDiscriminator: boolea
682
682
  declare function RegexResultToJSON(json: any): RegexResult;
683
683
  declare function RegexResultToJSONTyped(value?: RegexResult | null, ignoreDiscriminator?: boolean): any;
684
684
  //#endregion
685
- //#region src/models/AnonymizeResponseBodySpansInner.d.ts
685
+ //#region src/models/AnonymizeResponseBodyResultsInner.d.ts
686
686
  /**
687
- * @type AnonymizeResponseBodySpansInner
687
+ * @type AnonymizeResponseBodyResultsInner
688
688
  *
689
689
  * @export
690
690
  */
691
- type AnonymizeResponseBodySpansInner = {
691
+ type AnonymizeResponseBodyResultsInner = {
692
692
  type: 'model';
693
693
  } & ModelResult | {
694
694
  type: 'regex';
695
695
  } & RegexResult;
696
- declare function AnonymizeResponseBodySpansInnerFromJSON(json: any): AnonymizeResponseBodySpansInner;
697
- declare function AnonymizeResponseBodySpansInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnonymizeResponseBodySpansInner;
698
- declare function AnonymizeResponseBodySpansInnerToJSON(json: any): any;
699
- declare function AnonymizeResponseBodySpansInnerToJSONTyped(value?: AnonymizeResponseBodySpansInner | null, ignoreDiscriminator?: boolean): any;
696
+ declare function AnonymizeResponseBodyResultsInnerFromJSON(json: any): AnonymizeResponseBodyResultsInner;
697
+ declare function AnonymizeResponseBodyResultsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnonymizeResponseBodyResultsInner;
698
+ declare function AnonymizeResponseBodyResultsInnerToJSON(json: any): any;
699
+ declare function AnonymizeResponseBodyResultsInnerToJSONTyped(value?: AnonymizeResponseBodyResultsInner | null, ignoreDiscriminator?: boolean): any;
700
700
  //#endregion
701
701
  //#region src/models/AnonymizeResponseBody.d.ts
702
702
  /**
@@ -713,10 +713,10 @@ interface AnonymizeResponseBody {
713
713
  text: string;
714
714
  /**
715
715
  *
716
- * @type {Array<AnonymizeResponseBodySpansInner>}
716
+ * @type {Array<AnonymizeResponseBodyResultsInner>}
717
717
  * @memberof AnonymizeResponseBody
718
718
  */
719
- spans?: Array<AnonymizeResponseBodySpansInner>;
719
+ results?: Array<AnonymizeResponseBodyResultsInner>;
720
720
  }
721
721
  /**
722
722
  * Check if a given object implements the AnonymizeResponseBody interface.
@@ -732,7 +732,7 @@ declare function AnonymizeResponseBodyToJSONTyped(value?: AnonymizeResponseBody
732
732
  * Sensitive Data Protection API
733
733
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
734
734
  *
735
- * The version of the OpenAPI document: 0.0.1
735
+ * The version of the OpenAPI document: 0.0.8
736
736
  *
737
737
  *
738
738
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -779,7 +779,7 @@ declare function ModelEntityToJSONTyped(value?: ModelEntity | null, ignoreDiscri
779
779
  * Sensitive Data Protection API
780
780
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
781
781
  *
782
- * The version of the OpenAPI document: 0.0.1
782
+ * The version of the OpenAPI document: 0.0.8
783
783
  *
784
784
  *
785
785
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -842,7 +842,7 @@ declare function EntitiesAnyOfInnerToJSONTyped(value?: EntitiesAnyOfInner | null
842
842
  * Sensitive Data Protection API
843
843
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
844
844
  *
845
- * The version of the OpenAPI document: 0.0.1
845
+ * The version of the OpenAPI document: 0.0.8
846
846
  *
847
847
  *
848
848
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -927,7 +927,7 @@ declare function HTTPValidationErrorToJSONTyped(value?: HTTPValidationError | nu
927
927
  * Sensitive Data Protection API
928
928
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
929
929
  *
930
- * The version of the OpenAPI document: 0.0.1
930
+ * The version of the OpenAPI document: 0.0.8
931
931
  *
932
932
  *
933
933
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -979,7 +979,7 @@ declare function ScanRequestBodyToJSONTyped(value?: ScanRequestBody | null, igno
979
979
  * Sensitive Data Protection API
980
980
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
981
981
  *
982
- * The version of the OpenAPI document: 0.0.1
982
+ * The version of the OpenAPI document: 0.0.8
983
983
  *
984
984
  *
985
985
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1092,4 +1092,4 @@ declare class SensitiveDataProtectionApi extends BaseAPI {
1092
1092
  scanText(ScanRequestBody: ScanRequestBody, initOverrides?: RequestInit | InitOverrideFunction): Promise<ScanResponseBody>;
1093
1093
  }
1094
1094
  //#endregion
1095
- export { AnonymizeRequestBody, AnonymizeRequestBodyFromJSON, AnonymizeRequestBodyFromJSONTyped, AnonymizeRequestBodyRulesInner, AnonymizeRequestBodyRulesInnerFromJSON, AnonymizeRequestBodyRulesInnerFromJSONTyped, AnonymizeRequestBodyRulesInnerToJSON, AnonymizeRequestBodyRulesInnerToJSONTyped, AnonymizeRequestBodyToJSON, AnonymizeRequestBodyToJSONTyped, AnonymizeResponseBody, AnonymizeResponseBodyFromJSON, AnonymizeResponseBodyFromJSONTyped, AnonymizeResponseBodySpansInner, AnonymizeResponseBodySpansInnerFromJSON, AnonymizeResponseBodySpansInnerFromJSONTyped, AnonymizeResponseBodySpansInnerToJSON, AnonymizeResponseBodySpansInnerToJSONTyped, AnonymizeResponseBodyToJSON, AnonymizeResponseBodyToJSONTyped, AnonymizeTextRequest, ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, ConfigurationParameters, Consume, DefaultConfig, EncryptRule, EncryptRuleFromJSON, EncryptRuleFromJSONTyped, EncryptRuleToJSON, EncryptRuleToJSONTyped, EncryptRuleTypeEnum, Entities, EntitiesAnyOfInner, EntitiesAnyOfInnerFromJSON, EntitiesAnyOfInnerFromJSONTyped, EntitiesAnyOfInnerToJSON, EntitiesAnyOfInnerToJSONTyped, EntitiesFromJSON, EntitiesFromJSONTyped, EntitiesToJSON, EntitiesToJSONTyped, ErrorContext, FetchAPI, FetchError, FetchParams, HTTPBody, HTTPHeaders, HTTPMethod, HTTPQuery, HTTPRequestInit, HTTPValidationError, HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped, InitOverrideFunction, JSONApiResponse, Json, MaskRule, MaskRuleFromJSON, MaskRuleFromJSONTyped, MaskRuleToJSON, MaskRuleToJSONTyped, MaskRuleTypeEnum, Middleware, ModelEntity, ModelEntityFromJSON, ModelEntityFromJSONTyped, ModelEntityToJSON, ModelEntityToJSONTyped, ModelEntityTypeEnum, ModelPropertyNaming, ModelResult, ModelResultFromJSON, ModelResultFromJSONTyped, ModelResultToJSON, ModelResultToJSONTyped, ModelResultTypeEnum, RedactRule, RedactRuleFromJSON, RedactRuleFromJSONTyped, RedactRuleToJSON, RedactRuleToJSONTyped, RedactRuleTypeEnum, RegexEntity, RegexEntityFromJSON, RegexEntityFromJSONTyped, RegexEntityToJSON, RegexEntityToJSONTyped, RegexEntityTypeEnum, RegexResult, RegexResultFromJSON, RegexResultFromJSONTyped, RegexResultToJSON, RegexResultToJSONTyped, RegexResultTypeEnum, ReplaceRule, ReplaceRuleFromJSON, ReplaceRuleFromJSONTyped, ReplaceRuleToJSON, ReplaceRuleToJSONTyped, ReplaceRuleTypeEnum, RequestContext, RequestOpts, RequiredError, ResponseContext, ResponseError, ResponseTransformer, SHA256Rule, SHA256RuleFromJSON, SHA256RuleFromJSONTyped, SHA256RuleToJSON, SHA256RuleToJSONTyped, SHA256RuleTypeEnum, SHA512Rule, SHA512RuleFromJSON, SHA512RuleFromJSONTyped, SHA512RuleToJSON, SHA512RuleToJSONTyped, SHA512RuleTypeEnum, ScanRequestBody, ScanRequestBodyFromJSON, ScanRequestBodyFromJSONTyped, ScanRequestBodyToJSON, ScanRequestBodyToJSONTyped, ScanResponseBody, ScanResponseBodyFromJSON, ScanResponseBodyFromJSONTyped, ScanResponseBodyToJSON, ScanResponseBodyToJSONTyped, ScanResult, ScanResultFromJSON, ScanResultFromJSONTyped, ScanResultToJSON, ScanResultToJSONTyped, ScanTextRequest, SensitiveDataProtectionApi, TextApiResponse, TextRange, TextRangeFromJSON, TextRangeFromJSONTyped, TextRangeToJSON, TextRangeToJSONTyped, ValidationError, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorLocInner, ValidationErrorLocInnerFromJSON, ValidationErrorLocInnerFromJSONTyped, ValidationErrorLocInnerToJSON, ValidationErrorLocInnerToJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, VoidApiResponse, canConsumeForm, exists, instanceOfAnonymizeRequestBody, instanceOfAnonymizeResponseBody, instanceOfEncryptRule, instanceOfEntities, instanceOfHTTPValidationError, instanceOfMaskRule, instanceOfModelEntity, instanceOfModelResult, instanceOfRedactRule, instanceOfRegexEntity, instanceOfRegexResult, instanceOfReplaceRule, instanceOfSHA256Rule, instanceOfSHA512Rule, instanceOfScanRequestBody, instanceOfScanResponseBody, instanceOfScanResult, instanceOfTextRange, instanceOfValidationError, instanceOfValidationErrorLocInner, mapValues, querystring };
1095
+ export { AnonymizeRequestBody, AnonymizeRequestBodyFromJSON, AnonymizeRequestBodyFromJSONTyped, AnonymizeRequestBodyRulesInner, AnonymizeRequestBodyRulesInnerFromJSON, AnonymizeRequestBodyRulesInnerFromJSONTyped, AnonymizeRequestBodyRulesInnerToJSON, AnonymizeRequestBodyRulesInnerToJSONTyped, AnonymizeRequestBodyToJSON, AnonymizeRequestBodyToJSONTyped, AnonymizeResponseBody, AnonymizeResponseBodyFromJSON, AnonymizeResponseBodyFromJSONTyped, AnonymizeResponseBodyResultsInner, AnonymizeResponseBodyResultsInnerFromJSON, AnonymizeResponseBodyResultsInnerFromJSONTyped, AnonymizeResponseBodyResultsInnerToJSON, AnonymizeResponseBodyResultsInnerToJSONTyped, AnonymizeResponseBodyToJSON, AnonymizeResponseBodyToJSONTyped, AnonymizeTextRequest, ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, ConfigurationParameters, Consume, DefaultConfig, EncryptRule, EncryptRuleFromJSON, EncryptRuleFromJSONTyped, EncryptRuleToJSON, EncryptRuleToJSONTyped, EncryptRuleTypeEnum, Entities, EntitiesAnyOfInner, EntitiesAnyOfInnerFromJSON, EntitiesAnyOfInnerFromJSONTyped, EntitiesAnyOfInnerToJSON, EntitiesAnyOfInnerToJSONTyped, EntitiesFromJSON, EntitiesFromJSONTyped, EntitiesToJSON, EntitiesToJSONTyped, ErrorContext, FetchAPI, FetchError, FetchParams, HTTPBody, HTTPHeaders, HTTPMethod, HTTPQuery, HTTPRequestInit, HTTPValidationError, HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped, InitOverrideFunction, JSONApiResponse, Json, MaskRule, MaskRuleFromJSON, MaskRuleFromJSONTyped, MaskRuleToJSON, MaskRuleToJSONTyped, MaskRuleTypeEnum, Middleware, ModelEntity, ModelEntityFromJSON, ModelEntityFromJSONTyped, ModelEntityToJSON, ModelEntityToJSONTyped, ModelEntityTypeEnum, ModelPropertyNaming, ModelResult, ModelResultFromJSON, ModelResultFromJSONTyped, ModelResultToJSON, ModelResultToJSONTyped, ModelResultTypeEnum, RedactRule, RedactRuleFromJSON, RedactRuleFromJSONTyped, RedactRuleToJSON, RedactRuleToJSONTyped, RedactRuleTypeEnum, RegexEntity, RegexEntityFromJSON, RegexEntityFromJSONTyped, RegexEntityToJSON, RegexEntityToJSONTyped, RegexEntityTypeEnum, RegexResult, RegexResultFromJSON, RegexResultFromJSONTyped, RegexResultToJSON, RegexResultToJSONTyped, RegexResultTypeEnum, ReplaceRule, ReplaceRuleFromJSON, ReplaceRuleFromJSONTyped, ReplaceRuleToJSON, ReplaceRuleToJSONTyped, ReplaceRuleTypeEnum, RequestContext, RequestOpts, RequiredError, ResponseContext, ResponseError, ResponseTransformer, SHA256Rule, SHA256RuleFromJSON, SHA256RuleFromJSONTyped, SHA256RuleToJSON, SHA256RuleToJSONTyped, SHA256RuleTypeEnum, SHA512Rule, SHA512RuleFromJSON, SHA512RuleFromJSONTyped, SHA512RuleToJSON, SHA512RuleToJSONTyped, SHA512RuleTypeEnum, ScanRequestBody, ScanRequestBodyFromJSON, ScanRequestBodyFromJSONTyped, ScanRequestBodyToJSON, ScanRequestBodyToJSONTyped, ScanResponseBody, ScanResponseBodyFromJSON, ScanResponseBodyFromJSONTyped, ScanResponseBodyToJSON, ScanResponseBodyToJSONTyped, ScanResult, ScanResultFromJSON, ScanResultFromJSONTyped, ScanResultToJSON, ScanResultToJSONTyped, ScanTextRequest, SensitiveDataProtectionApi, TextApiResponse, TextRange, TextRangeFromJSON, TextRangeFromJSONTyped, TextRangeToJSON, TextRangeToJSONTyped, ValidationError, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorLocInner, ValidationErrorLocInnerFromJSON, ValidationErrorLocInnerFromJSONTyped, ValidationErrorLocInnerToJSON, ValidationErrorLocInnerToJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, VoidApiResponse, canConsumeForm, exists, instanceOfAnonymizeRequestBody, instanceOfAnonymizeResponseBody, instanceOfEncryptRule, instanceOfEntities, instanceOfHTTPValidationError, instanceOfMaskRule, instanceOfModelEntity, instanceOfModelResult, instanceOfRedactRule, instanceOfRegexEntity, instanceOfRegexResult, instanceOfReplaceRule, instanceOfSHA256Rule, instanceOfSHA512Rule, instanceOfScanRequestBody, instanceOfScanResponseBody, instanceOfScanResult, instanceOfTextRange, instanceOfValidationError, instanceOfValidationErrorLocInner, mapValues, querystring };
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Sensitive Data Protection API
4
4
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
  *
6
- * The version of the OpenAPI document: 0.0.1
6
+ * The version of the OpenAPI document: 0.0.8
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -686,11 +686,11 @@ function RegexResultToJSONTyped(value, ignoreDiscriminator = false) {
686
686
  }
687
687
 
688
688
  //#endregion
689
- //#region src/models/AnonymizeResponseBodySpansInner.ts
690
- function AnonymizeResponseBodySpansInnerFromJSON(json) {
691
- return AnonymizeResponseBodySpansInnerFromJSONTyped(json, false);
689
+ //#region src/models/AnonymizeResponseBodyResultsInner.ts
690
+ function AnonymizeResponseBodyResultsInnerFromJSON(json) {
691
+ return AnonymizeResponseBodyResultsInnerFromJSONTyped(json, false);
692
692
  }
693
- function AnonymizeResponseBodySpansInnerFromJSONTyped(json, ignoreDiscriminator) {
693
+ function AnonymizeResponseBodyResultsInnerFromJSONTyped(json, ignoreDiscriminator) {
694
694
  if (json == null) return json;
695
695
  switch (json["type"]) {
696
696
  case "model": return Object.assign({}, ModelResultFromJSONTyped(json, true), { type: "model" });
@@ -698,10 +698,10 @@ function AnonymizeResponseBodySpansInnerFromJSONTyped(json, ignoreDiscriminator)
698
698
  default: return json;
699
699
  }
700
700
  }
701
- function AnonymizeResponseBodySpansInnerToJSON(json) {
702
- return AnonymizeResponseBodySpansInnerToJSONTyped(json, false);
701
+ function AnonymizeResponseBodyResultsInnerToJSON(json) {
702
+ return AnonymizeResponseBodyResultsInnerToJSONTyped(json, false);
703
703
  }
704
- function AnonymizeResponseBodySpansInnerToJSONTyped(value, ignoreDiscriminator = false) {
704
+ function AnonymizeResponseBodyResultsInnerToJSONTyped(value, ignoreDiscriminator = false) {
705
705
  if (value == null) return value;
706
706
  switch (value["type"]) {
707
707
  case "model": return Object.assign({}, ModelResultToJSON(value), { type: "model" });
@@ -726,7 +726,7 @@ function AnonymizeResponseBodyFromJSONTyped(json, ignoreDiscriminator) {
726
726
  if (json == null) return json;
727
727
  return {
728
728
  "text": json["text"],
729
- "spans": json["spans"] == null ? void 0 : json["spans"].map(AnonymizeResponseBodySpansInnerFromJSON)
729
+ "results": json["results"] == null ? void 0 : json["results"].map(AnonymizeResponseBodyResultsInnerFromJSON)
730
730
  };
731
731
  }
732
732
  function AnonymizeResponseBodyToJSON(json) {
@@ -736,7 +736,7 @@ function AnonymizeResponseBodyToJSONTyped(value, ignoreDiscriminator = false) {
736
736
  if (value == null) return value;
737
737
  return {
738
738
  "text": value["text"],
739
- "spans": value["spans"] == null ? void 0 : value["spans"].map(AnonymizeResponseBodySpansInnerToJSON)
739
+ "results": value["results"] == null ? void 0 : value["results"].map(AnonymizeResponseBodyResultsInnerToJSON)
740
740
  };
741
741
  }
742
742
 
@@ -1012,7 +1012,7 @@ function ScanResponseBodyToJSONTyped(value, ignoreDiscriminator = false) {
1012
1012
  * Sensitive Data Protection API
1013
1013
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1014
1014
  *
1015
- * The version of the OpenAPI document: 0.0.1
1015
+ * The version of the OpenAPI document: 0.0.8
1016
1016
  *
1017
1017
  *
1018
1018
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1097,4 +1097,4 @@ var SensitiveDataProtectionApi = class extends BaseAPI {
1097
1097
  };
1098
1098
 
1099
1099
  //#endregion
1100
- export { AnonymizeRequestBodyFromJSON, AnonymizeRequestBodyFromJSONTyped, AnonymizeRequestBodyRulesInnerFromJSON, AnonymizeRequestBodyRulesInnerFromJSONTyped, AnonymizeRequestBodyRulesInnerToJSON, AnonymizeRequestBodyRulesInnerToJSONTyped, AnonymizeRequestBodyToJSON, AnonymizeRequestBodyToJSONTyped, AnonymizeResponseBodyFromJSON, AnonymizeResponseBodyFromJSONTyped, AnonymizeResponseBodySpansInnerFromJSON, AnonymizeResponseBodySpansInnerFromJSONTyped, AnonymizeResponseBodySpansInnerToJSON, AnonymizeResponseBodySpansInnerToJSONTyped, AnonymizeResponseBodyToJSON, AnonymizeResponseBodyToJSONTyped, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, DefaultConfig, EncryptRuleFromJSON, EncryptRuleFromJSONTyped, EncryptRuleToJSON, EncryptRuleToJSONTyped, EncryptRuleTypeEnum, EntitiesAnyOfInnerFromJSON, EntitiesAnyOfInnerFromJSONTyped, EntitiesAnyOfInnerToJSON, EntitiesAnyOfInnerToJSONTyped, EntitiesFromJSON, EntitiesFromJSONTyped, EntitiesToJSON, EntitiesToJSONTyped, FetchError, HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped, JSONApiResponse, MaskRuleFromJSON, MaskRuleFromJSONTyped, MaskRuleToJSON, MaskRuleToJSONTyped, MaskRuleTypeEnum, ModelEntityFromJSON, ModelEntityFromJSONTyped, ModelEntityToJSON, ModelEntityToJSONTyped, ModelEntityTypeEnum, ModelResultFromJSON, ModelResultFromJSONTyped, ModelResultToJSON, ModelResultToJSONTyped, ModelResultTypeEnum, RedactRuleFromJSON, RedactRuleFromJSONTyped, RedactRuleToJSON, RedactRuleToJSONTyped, RedactRuleTypeEnum, RegexEntityFromJSON, RegexEntityFromJSONTyped, RegexEntityToJSON, RegexEntityToJSONTyped, RegexEntityTypeEnum, RegexResultFromJSON, RegexResultFromJSONTyped, RegexResultToJSON, RegexResultToJSONTyped, RegexResultTypeEnum, ReplaceRuleFromJSON, ReplaceRuleFromJSONTyped, ReplaceRuleToJSON, ReplaceRuleToJSONTyped, ReplaceRuleTypeEnum, RequiredError, ResponseError, SHA256RuleFromJSON, SHA256RuleFromJSONTyped, SHA256RuleToJSON, SHA256RuleToJSONTyped, SHA256RuleTypeEnum, SHA512RuleFromJSON, SHA512RuleFromJSONTyped, SHA512RuleToJSON, SHA512RuleToJSONTyped, SHA512RuleTypeEnum, ScanRequestBodyFromJSON, ScanRequestBodyFromJSONTyped, ScanRequestBodyToJSON, ScanRequestBodyToJSONTyped, ScanResponseBodyFromJSON, ScanResponseBodyFromJSONTyped, ScanResponseBodyToJSON, ScanResponseBodyToJSONTyped, ScanResultFromJSON, ScanResultFromJSONTyped, ScanResultToJSON, ScanResultToJSONTyped, SensitiveDataProtectionApi, TextApiResponse, TextRangeFromJSON, TextRangeFromJSONTyped, TextRangeToJSON, TextRangeToJSONTyped, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorLocInnerFromJSON, ValidationErrorLocInnerFromJSONTyped, ValidationErrorLocInnerToJSON, ValidationErrorLocInnerToJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, VoidApiResponse, canConsumeForm, exists, instanceOfAnonymizeRequestBody, instanceOfAnonymizeResponseBody, instanceOfEncryptRule, instanceOfEntities, instanceOfHTTPValidationError, instanceOfMaskRule, instanceOfModelEntity, instanceOfModelResult, instanceOfRedactRule, instanceOfRegexEntity, instanceOfRegexResult, instanceOfReplaceRule, instanceOfSHA256Rule, instanceOfSHA512Rule, instanceOfScanRequestBody, instanceOfScanResponseBody, instanceOfScanResult, instanceOfTextRange, instanceOfValidationError, instanceOfValidationErrorLocInner, mapValues, querystring };
1100
+ export { AnonymizeRequestBodyFromJSON, AnonymizeRequestBodyFromJSONTyped, AnonymizeRequestBodyRulesInnerFromJSON, AnonymizeRequestBodyRulesInnerFromJSONTyped, AnonymizeRequestBodyRulesInnerToJSON, AnonymizeRequestBodyRulesInnerToJSONTyped, AnonymizeRequestBodyToJSON, AnonymizeRequestBodyToJSONTyped, AnonymizeResponseBodyFromJSON, AnonymizeResponseBodyFromJSONTyped, AnonymizeResponseBodyResultsInnerFromJSON, AnonymizeResponseBodyResultsInnerFromJSONTyped, AnonymizeResponseBodyResultsInnerToJSON, AnonymizeResponseBodyResultsInnerToJSONTyped, AnonymizeResponseBodyToJSON, AnonymizeResponseBodyToJSONTyped, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, DefaultConfig, EncryptRuleFromJSON, EncryptRuleFromJSONTyped, EncryptRuleToJSON, EncryptRuleToJSONTyped, EncryptRuleTypeEnum, EntitiesAnyOfInnerFromJSON, EntitiesAnyOfInnerFromJSONTyped, EntitiesAnyOfInnerToJSON, EntitiesAnyOfInnerToJSONTyped, EntitiesFromJSON, EntitiesFromJSONTyped, EntitiesToJSON, EntitiesToJSONTyped, FetchError, HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped, JSONApiResponse, MaskRuleFromJSON, MaskRuleFromJSONTyped, MaskRuleToJSON, MaskRuleToJSONTyped, MaskRuleTypeEnum, ModelEntityFromJSON, ModelEntityFromJSONTyped, ModelEntityToJSON, ModelEntityToJSONTyped, ModelEntityTypeEnum, ModelResultFromJSON, ModelResultFromJSONTyped, ModelResultToJSON, ModelResultToJSONTyped, ModelResultTypeEnum, RedactRuleFromJSON, RedactRuleFromJSONTyped, RedactRuleToJSON, RedactRuleToJSONTyped, RedactRuleTypeEnum, RegexEntityFromJSON, RegexEntityFromJSONTyped, RegexEntityToJSON, RegexEntityToJSONTyped, RegexEntityTypeEnum, RegexResultFromJSON, RegexResultFromJSONTyped, RegexResultToJSON, RegexResultToJSONTyped, RegexResultTypeEnum, ReplaceRuleFromJSON, ReplaceRuleFromJSONTyped, ReplaceRuleToJSON, ReplaceRuleToJSONTyped, ReplaceRuleTypeEnum, RequiredError, ResponseError, SHA256RuleFromJSON, SHA256RuleFromJSONTyped, SHA256RuleToJSON, SHA256RuleToJSONTyped, SHA256RuleTypeEnum, SHA512RuleFromJSON, SHA512RuleFromJSONTyped, SHA512RuleToJSON, SHA512RuleToJSONTyped, SHA512RuleTypeEnum, ScanRequestBodyFromJSON, ScanRequestBodyFromJSONTyped, ScanRequestBodyToJSON, ScanRequestBodyToJSONTyped, ScanResponseBodyFromJSON, ScanResponseBodyFromJSONTyped, ScanResponseBodyToJSON, ScanResponseBodyToJSONTyped, ScanResultFromJSON, ScanResultFromJSONTyped, ScanResultToJSON, ScanResultToJSONTyped, SensitiveDataProtectionApi, TextApiResponse, TextRangeFromJSON, TextRangeFromJSONTyped, TextRangeToJSON, TextRangeToJSONTyped, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorLocInnerFromJSON, ValidationErrorLocInnerFromJSONTyped, ValidationErrorLocInnerToJSON, ValidationErrorLocInnerToJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, VoidApiResponse, canConsumeForm, exists, instanceOfAnonymizeRequestBody, instanceOfAnonymizeResponseBody, instanceOfEncryptRule, instanceOfEntities, instanceOfHTTPValidationError, instanceOfMaskRule, instanceOfModelEntity, instanceOfModelResult, instanceOfRedactRule, instanceOfRegexEntity, instanceOfRegexResult, instanceOfReplaceRule, instanceOfSHA256Rule, instanceOfSHA512Rule, instanceOfScanRequestBody, instanceOfScanResponseBody, instanceOfScanResult, instanceOfTextRange, instanceOfValidationError, instanceOfValidationErrorLocInner, mapValues, querystring };
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `text` | string
10
- `spans` | [Array&lt;AnonymizeResponseBodySpansInner&gt;](AnonymizeResponseBodySpansInner.md)
10
+ `results` | [Array&lt;AnonymizeResponseBodyResultsInner&gt;](AnonymizeResponseBodyResultsInner.md)
11
11
 
12
12
  ## Example
13
13
 
@@ -17,7 +17,7 @@ import type { AnonymizeResponseBody } from '@quba/sensitive-data-protection'
17
17
  // TODO: Update the object below with actual values
18
18
  const example = {
19
19
  "text": null,
20
- "spans": null,
20
+ "results": null,
21
21
  } satisfies AnonymizeResponseBody
22
22
 
23
23
  console.log(example)
@@ -0,0 +1,44 @@
1
+
2
+ # AnonymizeResponseBodyResultsInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `type` | string
10
+ `rule` | string
11
+ `value` | string
12
+ `input` | [TextRange](TextRange.md)
13
+ `output` | [TextRange](TextRange.md)
14
+ `score` | number
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { AnonymizeResponseBodyResultsInner } from '@quba/sensitive-data-protection'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "type": null,
24
+ "rule": null,
25
+ "value": null,
26
+ "input": null,
27
+ "output": null,
28
+ "score": null,
29
+ } satisfies AnonymizeResponseBodyResultsInner
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as AnonymizeResponseBodyResultsInner
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "homepage": "https://quba.ae",
8
- "version": "0.0.7",
8
+ "version": "0.0.8",
9
9
  "keywords": [
10
10
  "sensitive data protection",
11
11
  "sdp",