@trinsic/api 1.1.2 → 2.0.0-alpha2
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/.openapi-generator/FILES +34 -11
- package/dist/apis/AttachmentsApi.d.ts +1 -1
- package/dist/apis/AttachmentsApi.js +1 -1
- package/dist/apis/NetworkApi.d.ts +27 -27
- package/dist/apis/NetworkApi.js +22 -23
- package/dist/apis/SessionsApi.d.ts +100 -17
- package/dist/apis/SessionsApi.js +123 -12
- package/dist/esm/apis/AttachmentsApi.d.ts +1 -1
- package/dist/esm/apis/AttachmentsApi.js +1 -1
- package/dist/esm/apis/NetworkApi.d.ts +27 -27
- package/dist/esm/apis/NetworkApi.js +23 -24
- package/dist/esm/apis/SessionsApi.d.ts +100 -17
- package/dist/esm/apis/SessionsApi.js +124 -13
- package/dist/esm/models/AadhaarInput.d.ts +37 -0
- package/dist/esm/models/AadhaarInput.js +40 -0
- package/dist/esm/models/Address.d.ts +4 -4
- package/dist/esm/models/Address.js +3 -3
- package/dist/esm/models/AttachmentAccessKeys.d.ts +12 -7
- package/dist/esm/models/AttachmentAccessKeys.js +6 -1
- package/dist/esm/models/BangladeshNationalIdInput.d.ts +49 -0
- package/dist/esm/models/BangladeshNationalIdInput.js +44 -0
- package/dist/esm/models/BrazilCpfCheckInput.d.ts +31 -0
- package/dist/esm/models/{FailureMessage.js → BrazilCpfCheckInput.js} +10 -10
- package/dist/esm/models/BrazilDigitalCnhInput.d.ts +57 -0
- package/dist/esm/models/BrazilDigitalCnhInput.js +46 -0
- package/dist/esm/models/CancelSessionResponse.d.ts +1 -1
- package/dist/esm/models/CancelSessionResponse.js +1 -1
- package/dist/esm/models/CreateAdvancedProviderSessionRequest.d.ts +83 -0
- package/dist/esm/models/CreateAdvancedProviderSessionRequest.js +52 -0
- package/dist/esm/models/CreateAdvancedProviderSessionResponse.d.ts +45 -0
- package/dist/esm/models/CreateAdvancedProviderSessionResponse.js +50 -0
- package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +44 -0
- package/dist/esm/models/CreateHostedProviderSessionRequest.js +47 -0
- package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +43 -0
- package/dist/esm/models/CreateHostedProviderSessionResponse.js +42 -0
- package/dist/esm/models/CreateWidgetSessionRequest.d.ts +49 -0
- package/dist/esm/models/CreateWidgetSessionRequest.js +43 -0
- package/dist/esm/models/CreateWidgetSessionResponse.d.ts +41 -0
- package/dist/esm/models/{CreateSessionResponse.js → CreateWidgetSessionResponse.js} +10 -11
- package/dist/esm/models/DocumentData.d.ts +8 -7
- package/dist/esm/models/DocumentData.js +8 -7
- package/dist/esm/models/DocumentScanAttachments.d.ts +31 -0
- package/dist/esm/models/DocumentScanAttachments.js +38 -0
- package/dist/esm/models/DocumentType.d.ts +26 -0
- package/dist/esm/models/DocumentType.js +42 -0
- package/dist/esm/models/GetAttachmentRequest.d.ts +1 -1
- package/dist/esm/models/GetAttachmentRequest.js +1 -1
- package/dist/esm/models/GetAttachmentResponse.d.ts +1 -1
- package/dist/esm/models/GetAttachmentResponse.js +1 -1
- package/dist/esm/models/GetSessionResponse.d.ts +1 -1
- package/dist/esm/models/GetSessionResponse.js +1 -1
- package/dist/esm/models/GetSessionResultRequest.d.ts +1 -1
- package/dist/esm/models/GetSessionResultRequest.js +1 -1
- package/dist/esm/models/GetSessionResultResponse.d.ts +1 -1
- package/dist/esm/models/GetSessionResultResponse.js +1 -1
- package/dist/esm/models/HttpValidationProblemDetails.d.ts +63 -0
- package/dist/esm/models/HttpValidationProblemDetails.js +48 -0
- package/dist/esm/models/IdentityData.d.ts +5 -5
- package/dist/esm/models/IdentityData.js +1 -1
- package/dist/esm/models/IntegrationCapability.d.ts +28 -0
- package/dist/esm/models/IntegrationCapability.js +44 -0
- package/dist/esm/models/IntegrationLaunchMethod.d.ts +26 -0
- package/dist/esm/models/IntegrationLaunchMethod.js +42 -0
- package/dist/esm/models/IntegrationStep.d.ts +45 -0
- package/dist/esm/models/IntegrationStep.js +50 -0
- package/dist/esm/models/KnownAddress.d.ts +74 -0
- package/dist/esm/models/KnownAddress.js +52 -0
- package/dist/esm/models/KnownIdentityData.d.ts +34 -0
- package/dist/esm/models/KnownIdentityData.js +39 -0
- package/dist/esm/models/KnownPersonData.d.ts +74 -0
- package/dist/esm/models/KnownPersonData.js +53 -0
- package/dist/esm/models/ListProvidersResponse.d.ts +1 -1
- package/dist/esm/models/ListProvidersResponse.js +1 -1
- package/dist/esm/models/ListSessionsResponse.d.ts +1 -1
- package/dist/esm/models/ListSessionsResponse.js +1 -1
- package/dist/esm/models/OrderDirection.d.ts +1 -1
- package/dist/esm/models/OrderDirection.js +1 -1
- package/dist/esm/models/PersonData.d.ts +17 -12
- package/dist/esm/models/PersonData.js +8 -5
- package/dist/esm/models/PhilippineMatchInput.d.ts +55 -0
- package/dist/esm/models/PhilippineMatchInput.js +46 -0
- package/dist/esm/models/PhilippineQRInput.d.ts +37 -0
- package/dist/esm/models/PhilippineQRInput.js +40 -0
- package/dist/esm/models/ProblemDetails.d.ts +56 -0
- package/dist/esm/models/ProblemDetails.js +34 -0
- package/dist/esm/models/ProviderAttachments.d.ts +32 -0
- package/dist/esm/models/ProviderAttachments.js +39 -0
- package/dist/esm/models/ProviderInfo.d.ts +7 -1
- package/dist/esm/models/ProviderInfo.js +3 -1
- package/dist/esm/models/ProviderInformation.d.ts +43 -0
- package/dist/esm/models/ProviderInformation.js +48 -0
- package/dist/esm/models/ProviderInput.d.ts +67 -0
- package/dist/esm/models/ProviderInput.js +54 -0
- package/dist/esm/models/RecommendRequest.d.ts +49 -0
- package/dist/esm/models/RecommendRequest.js +44 -0
- package/dist/esm/models/RecommendResponse.d.ts +44 -0
- package/dist/esm/models/RecommendResponse.js +49 -0
- package/dist/esm/models/RefreshStepContentRequest.d.ts +31 -0
- package/dist/esm/models/RefreshStepContentRequest.js +38 -0
- package/dist/esm/models/RefreshStepContentResponse.d.ts +32 -0
- package/dist/esm/models/RefreshStepContentResponse.js +41 -0
- package/dist/esm/models/ResultCollection.d.ts +38 -0
- package/dist/esm/models/ResultCollection.js +43 -0
- package/dist/esm/models/ResultCollectionMethod.d.ts +24 -0
- package/dist/esm/models/ResultCollectionMethod.js +40 -0
- package/dist/esm/models/Session.d.ts +18 -20
- package/dist/esm/models/Session.js +10 -17
- package/dist/esm/models/SessionErrorCode.d.ts +32 -0
- package/dist/esm/models/SessionErrorCode.js +48 -0
- package/dist/esm/models/SessionOrdering.d.ts +1 -1
- package/dist/esm/models/SessionOrdering.js +1 -1
- package/dist/esm/models/Sex.d.ts +26 -0
- package/dist/esm/models/Sex.js +42 -0
- package/dist/esm/models/StepRefreshInfo.d.ts +45 -0
- package/dist/esm/models/StepRefreshInfo.js +48 -0
- package/dist/esm/models/index.d.ts +34 -11
- package/dist/esm/models/index.js +34 -11
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AadhaarInput.d.ts +37 -0
- package/dist/models/AadhaarInput.js +46 -0
- package/dist/models/Address.d.ts +4 -4
- package/dist/models/Address.js +3 -3
- package/dist/models/AttachmentAccessKeys.d.ts +12 -7
- package/dist/models/AttachmentAccessKeys.js +6 -1
- package/dist/models/BangladeshNationalIdInput.d.ts +49 -0
- package/dist/models/BangladeshNationalIdInput.js +50 -0
- package/dist/models/BrazilCpfCheckInput.d.ts +31 -0
- package/dist/models/BrazilCpfCheckInput.js +46 -0
- package/dist/models/BrazilDigitalCnhInput.d.ts +57 -0
- package/dist/models/BrazilDigitalCnhInput.js +52 -0
- package/dist/models/CancelSessionResponse.d.ts +1 -1
- package/dist/models/CancelSessionResponse.js +1 -1
- package/dist/models/CreateAdvancedProviderSessionRequest.d.ts +83 -0
- package/dist/models/CreateAdvancedProviderSessionRequest.js +58 -0
- package/dist/models/CreateAdvancedProviderSessionResponse.d.ts +45 -0
- package/dist/models/CreateAdvancedProviderSessionResponse.js +56 -0
- package/dist/models/CreateHostedProviderSessionRequest.d.ts +44 -0
- package/dist/models/CreateHostedProviderSessionRequest.js +53 -0
- package/dist/models/CreateHostedProviderSessionResponse.d.ts +43 -0
- package/dist/models/CreateHostedProviderSessionResponse.js +48 -0
- package/dist/models/CreateWidgetSessionRequest.d.ts +49 -0
- package/dist/models/CreateWidgetSessionRequest.js +49 -0
- package/dist/models/CreateWidgetSessionResponse.d.ts +41 -0
- package/dist/models/CreateWidgetSessionResponse.js +48 -0
- package/dist/models/DocumentData.d.ts +8 -7
- package/dist/models/DocumentData.js +8 -7
- package/dist/models/DocumentScanAttachments.d.ts +31 -0
- package/dist/models/DocumentScanAttachments.js +44 -0
- package/dist/models/DocumentType.d.ts +26 -0
- package/dist/models/DocumentType.js +49 -0
- package/dist/models/GetAttachmentRequest.d.ts +1 -1
- package/dist/models/GetAttachmentRequest.js +1 -1
- package/dist/models/GetAttachmentResponse.d.ts +1 -1
- package/dist/models/GetAttachmentResponse.js +1 -1
- package/dist/models/GetSessionResponse.d.ts +1 -1
- package/dist/models/GetSessionResponse.js +1 -1
- package/dist/models/GetSessionResultRequest.d.ts +1 -1
- package/dist/models/GetSessionResultRequest.js +1 -1
- package/dist/models/GetSessionResultResponse.d.ts +1 -1
- package/dist/models/GetSessionResultResponse.js +1 -1
- package/dist/models/HttpValidationProblemDetails.d.ts +63 -0
- package/dist/models/HttpValidationProblemDetails.js +54 -0
- package/dist/models/IdentityData.d.ts +5 -5
- package/dist/models/IdentityData.js +1 -1
- package/dist/models/IntegrationCapability.d.ts +28 -0
- package/dist/models/IntegrationCapability.js +51 -0
- package/dist/models/IntegrationLaunchMethod.d.ts +26 -0
- package/dist/models/IntegrationLaunchMethod.js +49 -0
- package/dist/models/IntegrationStep.d.ts +45 -0
- package/dist/models/IntegrationStep.js +56 -0
- package/dist/models/KnownAddress.d.ts +74 -0
- package/dist/models/KnownAddress.js +58 -0
- package/dist/models/KnownIdentityData.d.ts +34 -0
- package/dist/models/KnownIdentityData.js +45 -0
- package/dist/models/KnownPersonData.d.ts +74 -0
- package/dist/models/KnownPersonData.js +59 -0
- package/dist/models/ListProvidersResponse.d.ts +1 -1
- package/dist/models/ListProvidersResponse.js +1 -1
- package/dist/models/ListSessionsResponse.d.ts +1 -1
- package/dist/models/ListSessionsResponse.js +1 -1
- package/dist/models/OrderDirection.d.ts +1 -1
- package/dist/models/OrderDirection.js +1 -1
- package/dist/models/PersonData.d.ts +17 -12
- package/dist/models/PersonData.js +8 -5
- package/dist/models/PhilippineMatchInput.d.ts +55 -0
- package/dist/models/PhilippineMatchInput.js +52 -0
- package/dist/models/PhilippineQRInput.d.ts +37 -0
- package/dist/models/PhilippineQRInput.js +46 -0
- package/dist/models/ProblemDetails.d.ts +56 -0
- package/dist/models/ProblemDetails.js +40 -0
- package/dist/models/ProviderAttachments.d.ts +32 -0
- package/dist/models/ProviderAttachments.js +45 -0
- package/dist/models/ProviderInfo.d.ts +7 -1
- package/dist/models/ProviderInfo.js +3 -1
- package/dist/models/ProviderInformation.d.ts +43 -0
- package/dist/models/ProviderInformation.js +54 -0
- package/dist/models/ProviderInput.d.ts +67 -0
- package/dist/models/ProviderInput.js +60 -0
- package/dist/models/RecommendRequest.d.ts +49 -0
- package/dist/models/RecommendRequest.js +50 -0
- package/dist/models/RecommendResponse.d.ts +44 -0
- package/dist/models/RecommendResponse.js +55 -0
- package/dist/models/RefreshStepContentRequest.d.ts +31 -0
- package/dist/models/RefreshStepContentRequest.js +44 -0
- package/dist/models/RefreshStepContentResponse.d.ts +32 -0
- package/dist/models/RefreshStepContentResponse.js +47 -0
- package/dist/models/ResultCollection.d.ts +38 -0
- package/dist/models/ResultCollection.js +49 -0
- package/dist/models/ResultCollectionMethod.d.ts +24 -0
- package/dist/models/ResultCollectionMethod.js +47 -0
- package/dist/models/Session.d.ts +18 -20
- package/dist/models/Session.js +10 -17
- package/dist/models/SessionErrorCode.d.ts +32 -0
- package/dist/models/SessionErrorCode.js +55 -0
- package/dist/models/SessionOrdering.d.ts +1 -1
- package/dist/models/SessionOrdering.js +1 -1
- package/dist/models/Sex.d.ts +26 -0
- package/dist/models/Sex.js +49 -0
- package/dist/models/StepRefreshInfo.d.ts +45 -0
- package/dist/models/StepRefreshInfo.js +54 -0
- package/dist/models/index.d.ts +34 -11
- package/dist/models/index.js +34 -11
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/AttachmentsApi.ts +4 -7
- package/src/apis/NetworkApi.ts +47 -51
- package/src/apis/SessionsApi.ts +234 -33
- package/src/models/AadhaarInput.ts +68 -0
- package/src/models/Address.ts +6 -6
- package/src/models/AttachmentAccessKeys.ts +22 -8
- package/src/models/BangladeshNationalIdInput.ts +84 -0
- package/src/models/BrazilCpfCheckInput.ts +61 -0
- package/src/models/BrazilDigitalCnhInput.ts +93 -0
- package/src/models/CancelSessionResponse.ts +1 -1
- package/src/models/CreateAdvancedProviderSessionRequest.ts +133 -0
- package/src/models/CreateAdvancedProviderSessionResponse.ts +92 -0
- package/src/models/CreateHostedProviderSessionRequest.ts +85 -0
- package/src/models/CreateHostedProviderSessionResponse.ts +75 -0
- package/src/models/CreateWidgetSessionRequest.ts +88 -0
- package/src/models/{CreateSessionResponse.ts → CreateWidgetSessionResponse.ts} +17 -25
- package/src/models/DocumentData.ts +22 -13
- package/src/models/DocumentScanAttachments.ts +60 -0
- package/src/models/DocumentType.ts +51 -0
- package/src/models/GetAttachmentRequest.ts +1 -1
- package/src/models/GetAttachmentResponse.ts +1 -1
- package/src/models/GetSessionResponse.ts +1 -1
- package/src/models/GetSessionResultRequest.ts +1 -1
- package/src/models/GetSessionResultResponse.ts +1 -1
- package/src/models/HttpValidationProblemDetails.ts +100 -0
- package/src/models/IdentityData.ts +5 -5
- package/src/models/IntegrationCapability.ts +53 -0
- package/src/models/IntegrationLaunchMethod.ts +51 -0
- package/src/models/IntegrationStep.ts +94 -0
- package/src/models/KnownAddress.ts +117 -0
- package/src/models/KnownIdentityData.ts +69 -0
- package/src/models/KnownPersonData.ts +123 -0
- package/src/models/ListProvidersResponse.ts +1 -1
- package/src/models/ListSessionsResponse.ts +1 -1
- package/src/models/OrderDirection.ts +1 -1
- package/src/models/PersonData.ts +31 -17
- package/src/models/PhilippineMatchInput.ts +92 -0
- package/src/models/PhilippineQRInput.ts +68 -0
- package/src/models/ProblemDetails.ts +95 -0
- package/src/models/ProviderAttachments.ts +67 -0
- package/src/models/ProviderInfo.ts +9 -1
- package/src/models/ProviderInformation.ts +79 -0
- package/src/models/ProviderInput.ts +137 -0
- package/src/models/RecommendRequest.ts +84 -0
- package/src/models/RecommendResponse.ts +86 -0
- package/src/models/RefreshStepContentRequest.ts +60 -0
- package/src/models/RefreshStepContentResponse.ts +68 -0
- package/src/models/ResultCollection.ts +78 -0
- package/src/models/ResultCollectionMethod.ts +49 -0
- package/src/models/Session.ts +30 -50
- package/src/models/SessionErrorCode.ts +57 -0
- package/src/models/SessionOrdering.ts +1 -1
- package/src/models/Sex.ts +51 -0
- package/src/models/StepRefreshInfo.ts +81 -0
- package/src/models/index.ts +34 -11
- package/src/runtime.ts +1 -1
- package/dist/esm/models/CreateSessionRequest.d.ts +0 -73
- package/dist/esm/models/CreateSessionRequest.js +0 -45
- package/dist/esm/models/CreateSessionResponse.d.ts +0 -43
- package/dist/esm/models/DisclosedFields.d.ts +0 -97
- package/dist/esm/models/DisclosedFields.js +0 -84
- package/dist/esm/models/DisclosedFieldsRequest.d.ts +0 -97
- package/dist/esm/models/DisclosedFieldsRequest.js +0 -60
- package/dist/esm/models/FailureMessage.d.ts +0 -31
- package/dist/esm/models/IdentityLookupResponse.d.ts +0 -31
- package/dist/esm/models/IdentityLookupResponse.js +0 -40
- package/dist/esm/models/SessionFailCode.d.ts +0 -29
- package/dist/esm/models/SessionFailCode.js +0 -45
- package/dist/esm/models/SessionState.d.ts +0 -28
- package/dist/esm/models/SessionState.js +0 -44
- package/dist/esm/models/ValidationResult.d.ts +0 -37
- package/dist/esm/models/ValidationResult.js +0 -41
- package/dist/esm/models/Verification.d.ts +0 -38
- package/dist/esm/models/Verification.js +0 -41
- package/dist/esm/models/VerificationFailCode.d.ts +0 -27
- package/dist/esm/models/VerificationFailCode.js +0 -43
- package/dist/models/CreateSessionRequest.d.ts +0 -73
- package/dist/models/CreateSessionRequest.js +0 -51
- package/dist/models/CreateSessionResponse.d.ts +0 -43
- package/dist/models/CreateSessionResponse.js +0 -49
- package/dist/models/DisclosedFields.d.ts +0 -97
- package/dist/models/DisclosedFields.js +0 -90
- package/dist/models/DisclosedFieldsRequest.d.ts +0 -97
- package/dist/models/DisclosedFieldsRequest.js +0 -66
- package/dist/models/FailureMessage.d.ts +0 -31
- package/dist/models/FailureMessage.js +0 -46
- package/dist/models/IdentityLookupResponse.d.ts +0 -31
- package/dist/models/IdentityLookupResponse.js +0 -46
- package/dist/models/SessionFailCode.d.ts +0 -29
- package/dist/models/SessionFailCode.js +0 -52
- package/dist/models/SessionState.d.ts +0 -28
- package/dist/models/SessionState.js +0 -51
- package/dist/models/ValidationResult.d.ts +0 -37
- package/dist/models/ValidationResult.js +0 -47
- package/dist/models/Verification.d.ts +0 -38
- package/dist/models/Verification.js +0 -47
- package/dist/models/VerificationFailCode.d.ts +0 -27
- package/dist/models/VerificationFailCode.js +0 -50
- package/src/models/CreateSessionRequest.ts +0 -114
- package/src/models/DisclosedFields.ts +0 -160
- package/src/models/DisclosedFieldsRequest.ts +0 -148
- package/src/models/FailureMessage.ts +0 -61
- package/src/models/IdentityLookupResponse.ts +0 -61
- package/src/models/SessionFailCode.ts +0 -54
- package/src/models/SessionState.ts +0 -53
- package/src/models/ValidationResult.ts +0 -68
- package/src/models/Verification.ts +0 -77
- package/src/models/VerificationFailCode.ts +0 -52
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { KnownAddress } from './KnownAddress';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface KnownPersonData
|
|
17
|
+
*/
|
|
18
|
+
export interface KnownPersonData {
|
|
19
|
+
/**
|
|
20
|
+
* Given (first) name of the individual
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof KnownPersonData
|
|
23
|
+
*/
|
|
24
|
+
givenName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Family (last) name of the individual
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof KnownPersonData
|
|
29
|
+
*/
|
|
30
|
+
familyName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Middle name of the individual
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof KnownPersonData
|
|
35
|
+
*/
|
|
36
|
+
middleName?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Full name of the individual.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof KnownPersonData
|
|
41
|
+
*/
|
|
42
|
+
fullName?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Suffix of the individual
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof KnownPersonData
|
|
47
|
+
*/
|
|
48
|
+
suffix?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The phone number (with preceding + character and country code) of the individual being verified
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof KnownPersonData
|
|
53
|
+
*/
|
|
54
|
+
phoneNumber?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The address of the individual being verified
|
|
57
|
+
* @type {KnownAddress}
|
|
58
|
+
* @memberof KnownPersonData
|
|
59
|
+
*/
|
|
60
|
+
address?: KnownAddress;
|
|
61
|
+
/**
|
|
62
|
+
* Date of birth of the individual, in the format "YYYY-MM-DD"
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof KnownPersonData
|
|
65
|
+
*/
|
|
66
|
+
dateOfBirth?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the KnownPersonData interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfKnownPersonData(value: object): value is KnownPersonData;
|
|
72
|
+
export declare function KnownPersonDataFromJSON(json: any): KnownPersonData;
|
|
73
|
+
export declare function KnownPersonDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnownPersonData;
|
|
74
|
+
export declare function KnownPersonDataToJSON(value?: KnownPersonData | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { KnownAddressFromJSON, KnownAddressToJSON, } from './KnownAddress';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the KnownPersonData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfKnownPersonData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function KnownPersonDataFromJSON(json) {
|
|
22
|
+
return KnownPersonDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function KnownPersonDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
30
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
31
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
32
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
33
|
+
'suffix': json['suffix'] == null ? undefined : json['suffix'],
|
|
34
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
35
|
+
'address': json['address'] == null ? undefined : KnownAddressFromJSON(json['address']),
|
|
36
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : json['dateOfBirth'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function KnownPersonDataToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'givenName': value['givenName'],
|
|
45
|
+
'familyName': value['familyName'],
|
|
46
|
+
'middleName': value['middleName'],
|
|
47
|
+
'fullName': value['fullName'],
|
|
48
|
+
'suffix': value['suffix'],
|
|
49
|
+
'phoneNumber': value['phoneNumber'],
|
|
50
|
+
'address': KnownAddressToJSON(value['address']),
|
|
51
|
+
'dateOfBirth': value['dateOfBirth'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Trinsic API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
@@ -10,34 +10,33 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Address } from './Address';
|
|
13
|
+
import type { Sex } from './Sex';
|
|
13
14
|
/**
|
|
14
|
-
*
|
|
15
|
+
*
|
|
15
16
|
* @export
|
|
16
17
|
* @interface PersonData
|
|
17
18
|
*/
|
|
18
19
|
export interface PersonData {
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
+
*
|
|
21
22
|
* @type {string}
|
|
22
23
|
* @memberof PersonData
|
|
23
24
|
*/
|
|
24
25
|
givenName?: string;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
+
*
|
|
27
28
|
* @type {string}
|
|
28
29
|
* @memberof PersonData
|
|
29
30
|
*/
|
|
30
31
|
familyName?: string;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
*
|
|
33
34
|
* @type {string}
|
|
34
35
|
* @memberof PersonData
|
|
35
36
|
*/
|
|
36
37
|
middleName?: string;
|
|
37
38
|
/**
|
|
38
|
-
* The individual's full name as a single string.
|
|
39
39
|
*
|
|
40
|
-
* Useful for names which do not fit into a "first middle last" structure.
|
|
41
40
|
* @type {string}
|
|
42
41
|
* @memberof PersonData
|
|
43
42
|
*/
|
|
@@ -47,13 +46,19 @@ export interface PersonData {
|
|
|
47
46
|
* @type {string}
|
|
48
47
|
* @memberof PersonData
|
|
49
48
|
*/
|
|
50
|
-
|
|
49
|
+
suffix?: string;
|
|
51
50
|
/**
|
|
52
51
|
*
|
|
53
52
|
* @type {string}
|
|
54
53
|
* @memberof PersonData
|
|
55
54
|
*/
|
|
56
|
-
|
|
55
|
+
nationality?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Sex}
|
|
59
|
+
* @memberof PersonData
|
|
60
|
+
*/
|
|
61
|
+
sex?: Sex;
|
|
57
62
|
/**
|
|
58
63
|
*
|
|
59
64
|
* @type {string}
|
|
@@ -61,17 +66,17 @@ export interface PersonData {
|
|
|
61
66
|
*/
|
|
62
67
|
phoneNumber?: string;
|
|
63
68
|
/**
|
|
64
|
-
*
|
|
69
|
+
*
|
|
65
70
|
* @type {Address}
|
|
66
71
|
* @memberof PersonData
|
|
67
72
|
*/
|
|
68
73
|
address?: Address;
|
|
69
74
|
/**
|
|
70
75
|
*
|
|
71
|
-
* @type {
|
|
76
|
+
* @type {Date}
|
|
72
77
|
* @memberof PersonData
|
|
73
78
|
*/
|
|
74
|
-
dateOfBirth?:
|
|
79
|
+
dateOfBirth?: Date;
|
|
75
80
|
}
|
|
76
81
|
/**
|
|
77
82
|
* Check if a given object implements the PersonData interface.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Trinsic API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { AddressFromJSON, AddressToJSON, } from './Address';
|
|
15
|
+
import { SexFromJSON, SexToJSON, } from './Sex';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the PersonData interface.
|
|
17
18
|
*/
|
|
@@ -30,11 +31,12 @@ export function PersonDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
31
|
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
31
32
|
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
32
33
|
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
34
|
+
'suffix': json['suffix'] == null ? undefined : json['suffix'],
|
|
33
35
|
'nationality': json['nationality'] == null ? undefined : json['nationality'],
|
|
34
|
-
'
|
|
36
|
+
'sex': json['sex'] == null ? undefined : SexFromJSON(json['sex']),
|
|
35
37
|
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
36
38
|
'address': json['address'] == null ? undefined : AddressFromJSON(json['address']),
|
|
37
|
-
'dateOfBirth': json['dateOfBirth'] == null ? undefined : json['dateOfBirth'],
|
|
39
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
export function PersonDataToJSON(value) {
|
|
@@ -46,10 +48,11 @@ export function PersonDataToJSON(value) {
|
|
|
46
48
|
'familyName': value['familyName'],
|
|
47
49
|
'middleName': value['middleName'],
|
|
48
50
|
'fullName': value['fullName'],
|
|
51
|
+
'suffix': value['suffix'],
|
|
49
52
|
'nationality': value['nationality'],
|
|
50
|
-
'
|
|
53
|
+
'sex': SexToJSON(value['sex']),
|
|
51
54
|
'phoneNumber': value['phoneNumber'],
|
|
52
55
|
'address': AddressToJSON(value['address']),
|
|
53
|
-
'dateOfBirth': value['dateOfBirth'],
|
|
56
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PhilippineMatchInput
|
|
16
|
+
*/
|
|
17
|
+
export interface PhilippineMatchInput {
|
|
18
|
+
/**
|
|
19
|
+
* The user's given / first name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PhilippineMatchInput
|
|
22
|
+
*/
|
|
23
|
+
givenName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The user's middle name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PhilippineMatchInput
|
|
28
|
+
*/
|
|
29
|
+
middleName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The user's family / last name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PhilippineMatchInput
|
|
34
|
+
*/
|
|
35
|
+
familyName?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The user's name suffix
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PhilippineMatchInput
|
|
40
|
+
*/
|
|
41
|
+
suffix?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The user's date of birth, in `YYYY-MM-DD` format
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof PhilippineMatchInput
|
|
46
|
+
*/
|
|
47
|
+
dateOfBirth?: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PhilippineMatchInput interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfPhilippineMatchInput(value: object): value is PhilippineMatchInput;
|
|
53
|
+
export declare function PhilippineMatchInputFromJSON(json: any): PhilippineMatchInput;
|
|
54
|
+
export declare function PhilippineMatchInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippineMatchInput;
|
|
55
|
+
export declare function PhilippineMatchInputToJSON(value?: PhilippineMatchInput | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the PhilippineMatchInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPhilippineMatchInput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PhilippineMatchInputFromJSON(json) {
|
|
21
|
+
return PhilippineMatchInputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PhilippineMatchInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
29
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
30
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
31
|
+
'suffix': json['suffix'] == null ? undefined : json['suffix'],
|
|
32
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function PhilippineMatchInputToJSON(value) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'givenName': value['givenName'],
|
|
41
|
+
'middleName': value['middleName'],
|
|
42
|
+
'familyName': value['familyName'],
|
|
43
|
+
'suffix': value['suffix'],
|
|
44
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PhilippineQRInput
|
|
16
|
+
*/
|
|
17
|
+
export interface PhilippineQRInput {
|
|
18
|
+
/**
|
|
19
|
+
* The raw text of the user's QR code after decoding it.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PhilippineQRInput
|
|
22
|
+
*/
|
|
23
|
+
qrCodeText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The raw bytes of the image containing the user's QR code.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PhilippineQRInput
|
|
28
|
+
*/
|
|
29
|
+
qrCodeImage?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PhilippineQRInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPhilippineQRInput(value: object): value is PhilippineQRInput;
|
|
35
|
+
export declare function PhilippineQRInputFromJSON(json: any): PhilippineQRInput;
|
|
36
|
+
export declare function PhilippineQRInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippineQRInput;
|
|
37
|
+
export declare function PhilippineQRInputToJSON(value?: PhilippineQRInput | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the PhilippineQRInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPhilippineQRInput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PhilippineQRInputFromJSON(json) {
|
|
21
|
+
return PhilippineQRInputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PhilippineQRInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'qrCodeText': json['qrCodeText'] == null ? undefined : json['qrCodeText'],
|
|
29
|
+
'qrCodeImage': json['qrCodeImage'] == null ? undefined : json['qrCodeImage'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function PhilippineQRInputToJSON(value) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'qrCodeText': value['qrCodeText'],
|
|
38
|
+
'qrCodeImage': value['qrCodeImage'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProblemDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface ProblemDetails {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ProblemDetails
|
|
23
|
+
*/
|
|
24
|
+
type?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProblemDetails
|
|
29
|
+
*/
|
|
30
|
+
title?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ProblemDetails
|
|
35
|
+
*/
|
|
36
|
+
status?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProblemDetails
|
|
41
|
+
*/
|
|
42
|
+
detail?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ProblemDetails
|
|
47
|
+
*/
|
|
48
|
+
instance?: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ProblemDetails interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfProblemDetails(value: object): value is ProblemDetails;
|
|
54
|
+
export declare function ProblemDetailsFromJSON(json: any): ProblemDetails;
|
|
55
|
+
export declare function ProblemDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProblemDetails;
|
|
56
|
+
export declare function ProblemDetailsToJSON(value?: ProblemDetails | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ProblemDetails interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfProblemDetails(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ProblemDetailsFromJSON(json) {
|
|
21
|
+
return ProblemDetailsFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ProblemDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return Object.assign(Object.assign({}, json), { 'type': json['type'] == null ? undefined : json['type'], 'title': json['title'] == null ? undefined : json['title'], 'status': json['status'] == null ? undefined : json['status'], 'detail': json['detail'] == null ? undefined : json['detail'], 'instance': json['instance'] == null ? undefined : json['instance'] });
|
|
28
|
+
}
|
|
29
|
+
export function ProblemDetailsToJSON(value) {
|
|
30
|
+
if (value == null) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
return Object.assign(Object.assign({}, value), { 'type': value['type'], 'title': value['title'], 'status': value['status'], 'detail': value['detail'], 'instance': value['instance'] });
|
|
34
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DocumentScanAttachments } from './DocumentScanAttachments';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProviderAttachments
|
|
17
|
+
*/
|
|
18
|
+
export interface ProviderAttachments {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {DocumentScanAttachments}
|
|
22
|
+
* @memberof ProviderAttachments
|
|
23
|
+
*/
|
|
24
|
+
documentScan?: DocumentScanAttachments;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProviderAttachments interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProviderAttachments(value: object): value is ProviderAttachments;
|
|
30
|
+
export declare function ProviderAttachmentsFromJSON(json: any): ProviderAttachments;
|
|
31
|
+
export declare function ProviderAttachmentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderAttachments;
|
|
32
|
+
export declare function ProviderAttachmentsToJSON(value?: ProviderAttachments | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { DocumentScanAttachmentsFromJSON, DocumentScanAttachmentsToJSON, } from './DocumentScanAttachments';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ProviderAttachments interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfProviderAttachments(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function ProviderAttachmentsFromJSON(json) {
|
|
22
|
+
return ProviderAttachmentsFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function ProviderAttachmentsFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'documentScan': json['document-scan'] == null ? undefined : DocumentScanAttachmentsFromJSON(json['document-scan']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function ProviderAttachmentsToJSON(value) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'document-scan': DocumentScanAttachmentsToJSON(value['documentScan']),
|
|
38
|
+
};
|
|
39
|
+
}
|