@cheqi/sdk 0.1.1
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 +57 -0
- package/dist/cheqi-sdk.d.ts +98 -0
- package/dist/cheqi-sdk.js +134 -0
- package/dist/cheqi-sdk.js.map +1 -0
- package/dist/config.d.ts +23 -0
- package/dist/config.js +63 -0
- package/dist/config.js.map +1 -0
- package/dist/crypto.d.ts +9 -0
- package/dist/crypto.js +10 -0
- package/dist/crypto.js.map +1 -0
- package/dist/entity/index.d.ts +1 -0
- package/dist/entity/index.js +2 -0
- package/dist/entity/index.js.map +1 -0
- package/dist/errors.d.ts +40 -0
- package/dist/errors.js +48 -0
- package/dist/errors.js.map +1 -0
- package/dist/http/client.d.ts +32 -0
- package/dist/http/client.js +199 -0
- package/dist/http/client.js.map +1 -0
- package/dist/http/endpoints.d.ts +13 -0
- package/dist/http/endpoints.js +14 -0
- package/dist/http/endpoints.js.map +1 -0
- package/dist/http/retry.d.ts +30 -0
- package/dist/http/retry.js +74 -0
- package/dist/http/retry.js.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/logger.d.ts +31 -0
- package/dist/logger.js +31 -0
- package/dist/logger.js.map +1 -0
- package/dist/models/domain.d.ts +366 -0
- package/dist/models/domain.js +467 -0
- package/dist/models/domain.js.map +1 -0
- package/dist/models/entity.d.ts +226 -0
- package/dist/models/entity.js +334 -0
- package/dist/models/entity.js.map +1 -0
- package/dist/models/generated/AccountIdentifierType.d.ts +24 -0
- package/dist/models/generated/AccountIdentifierType.js +43 -0
- package/dist/models/generated/AccountIdentifierType.js.map +1 -0
- package/dist/models/generated/AcknowledgeRequest.d.ts +32 -0
- package/dist/models/generated/AcknowledgeRequest.js +42 -0
- package/dist/models/generated/AcknowledgeRequest.js.map +1 -0
- package/dist/models/generated/AddressDTO.d.ts +74 -0
- package/dist/models/generated/AddressDTO.js +64 -0
- package/dist/models/generated/AddressDTO.js.map +1 -0
- package/dist/models/generated/AuthorizedCardDTO.d.ts +38 -0
- package/dist/models/generated/AuthorizedCardDTO.js +44 -0
- package/dist/models/generated/AuthorizedCardDTO.js.map +1 -0
- package/dist/models/generated/AuthorizedCompanyDTO.d.ts +64 -0
- package/dist/models/generated/AuthorizedCompanyDTO.js +54 -0
- package/dist/models/generated/AuthorizedCompanyDTO.js.map +1 -0
- package/dist/models/generated/AuthorizedEmailDTO.d.ts +38 -0
- package/dist/models/generated/AuthorizedEmailDTO.js +44 -0
- package/dist/models/generated/AuthorizedEmailDTO.js.map +1 -0
- package/dist/models/generated/AuthorizedPaymentAccountDTO.d.ts +70 -0
- package/dist/models/generated/AuthorizedPaymentAccountDTO.js +63 -0
- package/dist/models/generated/AuthorizedPaymentAccountDTO.js.map +1 -0
- package/dist/models/generated/AuthorizedResourcesResponse.d.ts +53 -0
- package/dist/models/generated/AuthorizedResourcesResponse.js +51 -0
- package/dist/models/generated/AuthorizedResourcesResponse.js.map +1 -0
- package/dist/models/generated/Barcode.d.ts +44 -0
- package/dist/models/generated/Barcode.js +46 -0
- package/dist/models/generated/Barcode.js.map +1 -0
- package/dist/models/generated/BarcodeType.d.ts +29 -0
- package/dist/models/generated/BarcodeType.js +48 -0
- package/dist/models/generated/BarcodeType.js.map +1 -0
- package/dist/models/generated/BuyerType.d.ts +25 -0
- package/dist/models/generated/BuyerType.js +44 -0
- package/dist/models/generated/BuyerType.js.map +1 -0
- package/dist/models/generated/CardDetails.d.ts +54 -0
- package/dist/models/generated/CardDetails.js +57 -0
- package/dist/models/generated/CardDetails.js.map +1 -0
- package/dist/models/generated/Charge.d.ts +44 -0
- package/dist/models/generated/Charge.js +48 -0
- package/dist/models/generated/Charge.js.map +1 -0
- package/dist/models/generated/CheqiCreditNote.d.ts +148 -0
- package/dist/models/generated/CheqiCreditNote.js +86 -0
- package/dist/models/generated/CheqiCreditNote.js.map +1 -0
- package/dist/models/generated/CheqiReceipt.d.ts +143 -0
- package/dist/models/generated/CheqiReceipt.js +85 -0
- package/dist/models/generated/CheqiReceipt.js.map +1 -0
- package/dist/models/generated/CompanyCreationRequest.d.ts +114 -0
- package/dist/models/generated/CompanyCreationRequest.js +80 -0
- package/dist/models/generated/CompanyCreationRequest.js.map +1 -0
- package/dist/models/generated/CompanyIdentifierDTO.d.ts +92 -0
- package/dist/models/generated/CompanyIdentifierDTO.js +73 -0
- package/dist/models/generated/CompanyIdentifierDTO.js.map +1 -0
- package/dist/models/generated/CompanyIdentifierRequirement.d.ts +63 -0
- package/dist/models/generated/CompanyIdentifierRequirement.js +53 -0
- package/dist/models/generated/CompanyIdentifierRequirement.js.map +1 -0
- package/dist/models/generated/CompanyIdentifierType.d.ts +29 -0
- package/dist/models/generated/CompanyIdentifierType.js +48 -0
- package/dist/models/generated/CompanyIdentifierType.js.map +1 -0
- package/dist/models/generated/CompanyReceiptDeliveryDeviceDto.d.ts +65 -0
- package/dist/models/generated/CompanyReceiptDeliveryDeviceDto.js +58 -0
- package/dist/models/generated/CompanyReceiptDeliveryDeviceDto.js.map +1 -0
- package/dist/models/generated/CompanyReceiptDeliverySettingsResponse.d.ts +39 -0
- package/dist/models/generated/CompanyReceiptDeliverySettingsResponse.js +45 -0
- package/dist/models/generated/CompanyReceiptDeliverySettingsResponse.js.map +1 -0
- package/dist/models/generated/CompanyResponseBody.d.ts +151 -0
- package/dist/models/generated/CompanyResponseBody.js +85 -0
- package/dist/models/generated/CompanyResponseBody.js.map +1 -0
- package/dist/models/generated/CompanyRole.d.ts +25 -0
- package/dist/models/generated/CompanyRole.js +44 -0
- package/dist/models/generated/CompanyRole.js.map +1 -0
- package/dist/models/generated/ContactDetailDto.d.ts +50 -0
- package/dist/models/generated/ContactDetailDto.js +48 -0
- package/dist/models/generated/ContactDetailDto.js.map +1 -0
- package/dist/models/generated/CreateChildCompanyRequest.d.ts +39 -0
- package/dist/models/generated/CreateChildCompanyRequest.js +45 -0
- package/dist/models/generated/CreateChildCompanyRequest.js.map +1 -0
- package/dist/models/generated/CreateStoreRequest.d.ts +63 -0
- package/dist/models/generated/CreateStoreRequest.js +59 -0
- package/dist/models/generated/CreateStoreRequest.js.map +1 -0
- package/dist/models/generated/CreditNoteContextEnvelope.d.ts +40 -0
- package/dist/models/generated/CreditNoteContextEnvelope.js +46 -0
- package/dist/models/generated/CreditNoteContextEnvelope.js.map +1 -0
- package/dist/models/generated/CreditNoteCreatedResponse.d.ts +50 -0
- package/dist/models/generated/CreditNoteCreatedResponse.js +48 -0
- package/dist/models/generated/CreditNoteCreatedResponse.js.map +1 -0
- package/dist/models/generated/CreditNoteTemplateGenerationRequest.d.ts +59 -0
- package/dist/models/generated/CreditNoteTemplateGenerationRequest.js +63 -0
- package/dist/models/generated/CreditNoteTemplateGenerationRequest.js.map +1 -0
- package/dist/models/generated/CreditNoteTemplateRequest.d.ts +128 -0
- package/dist/models/generated/CreditNoteTemplateRequest.js +98 -0
- package/dist/models/generated/CreditNoteTemplateRequest.js.map +1 -0
- package/dist/models/generated/CreditNoteTemplateResponse.d.ts +39 -0
- package/dist/models/generated/CreditNoteTemplateResponse.js +45 -0
- package/dist/models/generated/CreditNoteTemplateResponse.js.map +1 -0
- package/dist/models/generated/Discount.d.ts +44 -0
- package/dist/models/generated/Discount.js +48 -0
- package/dist/models/generated/Discount.js.map +1 -0
- package/dist/models/generated/DocumentType.d.ts +25 -0
- package/dist/models/generated/DocumentType.js +44 -0
- package/dist/models/generated/DocumentType.js.map +1 -0
- package/dist/models/generated/EmailReceiptRequest.d.ts +39 -0
- package/dist/models/generated/EmailReceiptRequest.js +49 -0
- package/dist/models/generated/EmailReceiptRequest.js.map +1 -0
- package/dist/models/generated/EncryptedCreditNote.d.ts +86 -0
- package/dist/models/generated/EncryptedCreditNote.js +72 -0
- package/dist/models/generated/EncryptedCreditNote.js.map +1 -0
- package/dist/models/generated/EncryptedCreditNoteDto.d.ts +102 -0
- package/dist/models/generated/EncryptedCreditNoteDto.js +85 -0
- package/dist/models/generated/EncryptedCreditNoteDto.js.map +1 -0
- package/dist/models/generated/EncryptedCreditNoteInitiationRequest.d.ts +50 -0
- package/dist/models/generated/EncryptedCreditNoteInitiationRequest.js +48 -0
- package/dist/models/generated/EncryptedCreditNoteInitiationRequest.js.map +1 -0
- package/dist/models/generated/EncryptedCreditNotesRequest.d.ts +51 -0
- package/dist/models/generated/EncryptedCreditNotesRequest.js +57 -0
- package/dist/models/generated/EncryptedCreditNotesRequest.js.map +1 -0
- package/dist/models/generated/EncryptedReceiptDto.d.ts +118 -0
- package/dist/models/generated/EncryptedReceiptDto.js +77 -0
- package/dist/models/generated/EncryptedReceiptDto.js.map +1 -0
- package/dist/models/generated/EncryptedReceiptRequest.d.ts +69 -0
- package/dist/models/generated/EncryptedReceiptRequest.js +63 -0
- package/dist/models/generated/EncryptedReceiptRequest.js.map +1 -0
- package/dist/models/generated/EncryptedReceiptsRequest.d.ts +45 -0
- package/dist/models/generated/EncryptedReceiptsRequest.js +53 -0
- package/dist/models/generated/EncryptedReceiptsRequest.js.map +1 -0
- package/dist/models/generated/IdentificationDetails.d.ts +71 -0
- package/dist/models/generated/IdentificationDetails.js +57 -0
- package/dist/models/generated/IdentificationDetails.js.map +1 -0
- package/dist/models/generated/Identifier.d.ts +38 -0
- package/dist/models/generated/Identifier.js +44 -0
- package/dist/models/generated/Identifier.js.map +1 -0
- package/dist/models/generated/KeyAlgorithm.d.ts +25 -0
- package/dist/models/generated/KeyAlgorithm.js +44 -0
- package/dist/models/generated/KeyAlgorithm.js.map +1 -0
- package/dist/models/generated/MatchedRecipient.d.ts +51 -0
- package/dist/models/generated/MatchedRecipient.js +49 -0
- package/dist/models/generated/MatchedRecipient.js.map +1 -0
- package/dist/models/generated/NotificationDisplayCode.d.ts +39 -0
- package/dist/models/generated/NotificationDisplayCode.js +49 -0
- package/dist/models/generated/NotificationDisplayCode.js.map +1 -0
- package/dist/models/generated/PartyAddress.d.ts +56 -0
- package/dist/models/generated/PartyAddress.js +50 -0
- package/dist/models/generated/PartyAddress.js.map +1 -0
- package/dist/models/generated/PaymentAccountDetails.d.ts +57 -0
- package/dist/models/generated/PaymentAccountDetails.js +55 -0
- package/dist/models/generated/PaymentAccountDetails.js.map +1 -0
- package/dist/models/generated/PaymentMeansEnvelope.d.ts +68 -0
- package/dist/models/generated/PaymentMeansEnvelope.js +54 -0
- package/dist/models/generated/PaymentMeansEnvelope.js.map +1 -0
- package/dist/models/generated/PaymentType.d.ts +26 -0
- package/dist/models/generated/PaymentType.js +45 -0
- package/dist/models/generated/PaymentType.js.map +1 -0
- package/dist/models/generated/Period.d.ts +44 -0
- package/dist/models/generated/Period.js +50 -0
- package/dist/models/generated/Period.js.map +1 -0
- package/dist/models/generated/PermanentFailureAcknowledgeRequest.d.ts +38 -0
- package/dist/models/generated/PermanentFailureAcknowledgeRequest.js +44 -0
- package/dist/models/generated/PermanentFailureAcknowledgeRequest.js.map +1 -0
- package/dist/models/generated/Product.d.ts +122 -0
- package/dist/models/generated/Product.js +94 -0
- package/dist/models/generated/Product.js.map +1 -0
- package/dist/models/generated/PublicKeyResponse.d.ts +51 -0
- package/dist/models/generated/PublicKeyResponse.js +49 -0
- package/dist/models/generated/PublicKeyResponse.js.map +1 -0
- package/dist/models/generated/ReceiptContextEnvelope.d.ts +40 -0
- package/dist/models/generated/ReceiptContextEnvelope.js +46 -0
- package/dist/models/generated/ReceiptContextEnvelope.js.map +1 -0
- package/dist/models/generated/ReceiptCreatedResponse.d.ts +44 -0
- package/dist/models/generated/ReceiptCreatedResponse.js +46 -0
- package/dist/models/generated/ReceiptCreatedResponse.js.map +1 -0
- package/dist/models/generated/ReceiptEnvelope.d.ts +52 -0
- package/dist/models/generated/ReceiptEnvelope.js +50 -0
- package/dist/models/generated/ReceiptEnvelope.js.map +1 -0
- package/dist/models/generated/ReceiptFormat.d.ts +27 -0
- package/dist/models/generated/ReceiptFormat.js +46 -0
- package/dist/models/generated/ReceiptFormat.js.map +1 -0
- package/dist/models/generated/ReceiptQueueDto.d.ts +137 -0
- package/dist/models/generated/ReceiptQueueDto.js +79 -0
- package/dist/models/generated/ReceiptQueueDto.js.map +1 -0
- package/dist/models/generated/ReceiptTemplateGenerationRequest.d.ts +59 -0
- package/dist/models/generated/ReceiptTemplateGenerationRequest.js +63 -0
- package/dist/models/generated/ReceiptTemplateGenerationRequest.js.map +1 -0
- package/dist/models/generated/ReceiptTemplateRequest.d.ts +141 -0
- package/dist/models/generated/ReceiptTemplateRequest.js +99 -0
- package/dist/models/generated/ReceiptTemplateRequest.js.map +1 -0
- package/dist/models/generated/ReceiptTemplateResponse.d.ts +52 -0
- package/dist/models/generated/ReceiptTemplateResponse.js +50 -0
- package/dist/models/generated/ReceiptTemplateResponse.js.map +1 -0
- package/dist/models/generated/ReceivingParty.d.ts +76 -0
- package/dist/models/generated/ReceivingParty.js +58 -0
- package/dist/models/generated/ReceivingParty.js.map +1 -0
- package/dist/models/generated/ReceivingPartyEnvelope.d.ts +39 -0
- package/dist/models/generated/ReceivingPartyEnvelope.js +45 -0
- package/dist/models/generated/ReceivingPartyEnvelope.js.map +1 -0
- package/dist/models/generated/RecipientResolutionResponse.d.ts +76 -0
- package/dist/models/generated/RecipientResolutionResponse.js +58 -0
- package/dist/models/generated/RecipientResolutionResponse.js.map +1 -0
- package/dist/models/generated/ReturnProcessingMode.d.ts +25 -0
- package/dist/models/generated/ReturnProcessingMode.js +44 -0
- package/dist/models/generated/ReturnProcessingMode.js.map +1 -0
- package/dist/models/generated/RoutingIdentifier.d.ts +39 -0
- package/dist/models/generated/RoutingIdentifier.js +45 -0
- package/dist/models/generated/RoutingIdentifier.js.map +1 -0
- package/dist/models/generated/RoutingIdentifierType.d.ts +27 -0
- package/dist/models/generated/RoutingIdentifierType.js +46 -0
- package/dist/models/generated/RoutingIdentifierType.js.map +1 -0
- package/dist/models/generated/SellingParty.d.ts +58 -0
- package/dist/models/generated/SellingParty.js +52 -0
- package/dist/models/generated/SellingParty.js.map +1 -0
- package/dist/models/generated/StoreDTO.d.ts +99 -0
- package/dist/models/generated/StoreDTO.js +69 -0
- package/dist/models/generated/StoreDTO.js.map +1 -0
- package/dist/models/generated/Tax.d.ts +56 -0
- package/dist/models/generated/Tax.js +56 -0
- package/dist/models/generated/Tax.js.map +1 -0
- package/dist/models/generated/UnitCode.d.ts +77 -0
- package/dist/models/generated/UnitCode.js +96 -0
- package/dist/models/generated/UnitCode.js.map +1 -0
- package/dist/models/generated/UpdateCompanyReceiptDeliveryPreferenceRequest.d.ts +32 -0
- package/dist/models/generated/UpdateCompanyReceiptDeliveryPreferenceRequest.js +44 -0
- package/dist/models/generated/UpdateCompanyReceiptDeliveryPreferenceRequest.js.map +1 -0
- package/dist/models/generated/UpdateStoreRequest.d.ts +63 -0
- package/dist/models/generated/UpdateStoreRequest.js +53 -0
- package/dist/models/generated/UpdateStoreRequest.js.map +1 -0
- package/dist/models/generated/UploadPublicKeyRequest.d.ts +39 -0
- package/dist/models/generated/UploadPublicKeyRequest.js +49 -0
- package/dist/models/generated/UploadPublicKeyRequest.js.map +1 -0
- package/dist/models/generated/VatMetadata.d.ts +70 -0
- package/dist/models/generated/VatMetadata.js +56 -0
- package/dist/models/generated/VatMetadata.js.map +1 -0
- package/dist/models/generated/VatRegime.d.ts +31 -0
- package/dist/models/generated/VatRegime.js +50 -0
- package/dist/models/generated/VatRegime.js.map +1 -0
- package/dist/models/generated/WebhookDTO.d.ts +62 -0
- package/dist/models/generated/WebhookDTO.js +52 -0
- package/dist/models/generated/WebhookDTO.js.map +1 -0
- package/dist/models/generated/WebhookEventDTO.d.ts +113 -0
- package/dist/models/generated/WebhookEventDTO.js +78 -0
- package/dist/models/generated/WebhookEventDTO.js.map +1 -0
- package/dist/models/generated/WebhookRequestBody.d.ts +55 -0
- package/dist/models/generated/WebhookRequestBody.js +56 -0
- package/dist/models/generated/WebhookRequestBody.js.map +1 -0
- package/dist/models/generated/WebhookResponse.d.ts +39 -0
- package/dist/models/generated/WebhookResponse.js +45 -0
- package/dist/models/generated/WebhookResponse.js.map +1 -0
- package/dist/models/generated/WebhookSecretRotationResponse.d.ts +56 -0
- package/dist/models/generated/WebhookSecretRotationResponse.js +50 -0
- package/dist/models/generated/WebhookSecretRotationResponse.js.map +1 -0
- package/dist/models/generated/index.d.ts +82 -0
- package/dist/models/generated/index.js +83 -0
- package/dist/models/generated/index.js.map +1 -0
- package/dist/models/generated/runtime.d.ts +182 -0
- package/dist/models/generated/runtime.js +330 -0
- package/dist/models/generated/runtime.js.map +1 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +4 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models.d.ts +51 -0
- package/dist/models.js +106 -0
- package/dist/models.js.map +1 -0
- package/dist/rfc8785.d.ts +1 -0
- package/dist/rfc8785.js +42 -0
- package/dist/rfc8785.js.map +1 -0
- package/dist/services/company.d.ts +7 -0
- package/dist/services/company.js +33 -0
- package/dist/services/company.js.map +1 -0
- package/dist/services/credit-note.d.ts +25 -0
- package/dist/services/credit-note.js +211 -0
- package/dist/services/credit-note.js.map +1 -0
- package/dist/services/decryption.d.ts +33 -0
- package/dist/services/decryption.js +145 -0
- package/dist/services/decryption.js.map +1 -0
- package/dist/services/encryption.d.ts +25 -0
- package/dist/services/encryption.js +94 -0
- package/dist/services/encryption.js.map +1 -0
- package/dist/services/matching.d.ts +7 -0
- package/dist/services/matching.js +32 -0
- package/dist/services/matching.js.map +1 -0
- package/dist/services/receipt.d.ts +17 -0
- package/dist/services/receipt.js +186 -0
- package/dist/services/receipt.js.map +1 -0
- package/dist/services/store.d.ts +16 -0
- package/dist/services/store.js +89 -0
- package/dist/services/store.js.map +1 -0
- package/dist/services/verification.d.ts +10 -0
- package/dist/services/verification.js +30 -0
- package/dist/services/verification.js.map +1 -0
- package/dist/types.d.ts +70 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +11 -0
- package/dist/utils.js +54 -0
- package/dist/utils.js.map +1 -0
- package/dist/validators.d.ts +11 -0
- package/dist/validators.js +56 -0
- package/dist/validators.js.map +1 -0
- package/dist/xml.d.ts +2 -0
- package/dist/xml.js +11 -0
- package/dist/xml.js.map +1 -0
- package/package.json +56 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cheqi API
|
|
3
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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 { EncryptedReceiptRequest } from './EncryptedReceiptRequest.js';
|
|
13
|
+
/**
|
|
14
|
+
* Encrypted receipt request with device-specific encryption
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EncryptedReceiptsRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface EncryptedReceiptsRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Recipient-specific encrypted receipt payloads. Each item contains ciphertext for one recipient envelope plus the wrapped symmetric key and verification metadata.
|
|
21
|
+
* @type {Set<EncryptedReceiptRequest>}
|
|
22
|
+
* @memberof EncryptedReceiptsRequest
|
|
23
|
+
*/
|
|
24
|
+
encryptedReceiptRequests: Set<EncryptedReceiptRequest>;
|
|
25
|
+
/**
|
|
26
|
+
* Match identifier returned by the recipient resolution step. Every recipientId in encryptedReceiptRequests must belong to this match.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof EncryptedReceiptsRequest
|
|
29
|
+
*/
|
|
30
|
+
matchId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Hash of the receipt template basis used when building and encrypting the recipient envelopes. Submit the same hash that was produced during local envelope construction.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof EncryptedReceiptsRequest
|
|
35
|
+
*/
|
|
36
|
+
templateHash: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the EncryptedReceiptsRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfEncryptedReceiptsRequest(value: object): value is EncryptedReceiptsRequest;
|
|
42
|
+
export declare function EncryptedReceiptsRequestFromJSON(json: any): EncryptedReceiptsRequest;
|
|
43
|
+
export declare function EncryptedReceiptsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EncryptedReceiptsRequest;
|
|
44
|
+
export declare function EncryptedReceiptsRequestToJSON(json: any): EncryptedReceiptsRequest;
|
|
45
|
+
export declare function EncryptedReceiptsRequestToJSONTyped(value?: EncryptedReceiptsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cheqi API
|
|
5
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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 { EncryptedReceiptRequestFromJSON, EncryptedReceiptRequestToJSON, } from './EncryptedReceiptRequest.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the EncryptedReceiptsRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfEncryptedReceiptsRequest(value) {
|
|
19
|
+
if (!('encryptedReceiptRequests' in value) || value['encryptedReceiptRequests'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('matchId' in value) || value['matchId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('templateHash' in value) || value['templateHash'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function EncryptedReceiptsRequestFromJSON(json) {
|
|
28
|
+
return EncryptedReceiptsRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function EncryptedReceiptsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'encryptedReceiptRequests': (new Set(json['encryptedReceiptRequests'].map(EncryptedReceiptRequestFromJSON))),
|
|
36
|
+
'matchId': json['matchId'],
|
|
37
|
+
'templateHash': json['templateHash'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function EncryptedReceiptsRequestToJSON(json) {
|
|
41
|
+
return EncryptedReceiptsRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function EncryptedReceiptsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'encryptedReceiptRequests': (Array.from(value['encryptedReceiptRequests']).map(EncryptedReceiptRequestToJSON)),
|
|
49
|
+
'matchId': value['matchId'],
|
|
50
|
+
'templateHash': value['templateHash'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=EncryptedReceiptsRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EncryptedReceiptsRequest.js","sourceRoot":"","sources":["../../../src/models/generated/EncryptedReceiptsRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,+BAA+B,EAE/B,6BAA6B,GAEhC,MAAM,8BAA8B,CAAC;AA4BtC;;GAEG;AACH,MAAM,UAAU,kCAAkC,CAAC,KAAa;IAC5D,IAAI,CAAC,CAAC,0BAA0B,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,0BAA0B,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5G,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,cAAc,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,IAAS,EAAE,mBAA4B;IACzF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,0BAA0B,EAAE,CAAC,IAAI,GAAG,CAAE,IAAI,CAAC,0BAA0B,CAAgB,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC,CAAC;QAC5H,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;QAC1B,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;KACvC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,KAAuC,EAAE,sBAA+B,KAAK;IAC7H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,0BAA0B,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,0BAA0B,CAAa,CAAC,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;QAC1H,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;KACxC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cheqi API
|
|
3
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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 { PaymentAccountDetails } from './PaymentAccountDetails.js';
|
|
13
|
+
import type { PaymentType } from './PaymentType.js';
|
|
14
|
+
import type { CardDetails } from './CardDetails.js';
|
|
15
|
+
/**
|
|
16
|
+
* Identification and payment details used to resolve the receipt recipient. paymentType is optional when pairingCode is supplied because the pairing code carries the customer-selected payment method. For card payments without pairingCode, provide cardDetails. For direct debit without pairingCode, provide paymentAccountDetails. For cash payments, provide recipientEmail or pairingCode.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface IdentificationDetails
|
|
19
|
+
*/
|
|
20
|
+
export interface IdentificationDetails {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {PaymentType}
|
|
24
|
+
* @memberof IdentificationDetails
|
|
25
|
+
*/
|
|
26
|
+
paymentType?: PaymentType;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {CardDetails}
|
|
30
|
+
* @memberof IdentificationDetails
|
|
31
|
+
*/
|
|
32
|
+
cardDetails?: CardDetails;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaymentAccountDetails}
|
|
36
|
+
* @memberof IdentificationDetails
|
|
37
|
+
*/
|
|
38
|
+
paymentAccountDetails?: PaymentAccountDetails;
|
|
39
|
+
/**
|
|
40
|
+
* The payment IDs that are used to identify the payment on your side
|
|
41
|
+
* @type {Array<string>}
|
|
42
|
+
* @memberof IdentificationDetails
|
|
43
|
+
*/
|
|
44
|
+
paymentIds?: Array<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Recipient email used as a fallback customer identifier.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof IdentificationDetails
|
|
49
|
+
*/
|
|
50
|
+
recipientEmail?: string;
|
|
51
|
+
/**
|
|
52
|
+
* The Cheqi receipt ID, only needed for credit notes
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof IdentificationDetails
|
|
55
|
+
*/
|
|
56
|
+
cheqiReceiptId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* A temporary 8-digit pairing code generated by the receipt recipient.
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof IdentificationDetails
|
|
61
|
+
*/
|
|
62
|
+
pairingCode?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the IdentificationDetails interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfIdentificationDetails(value: object): value is IdentificationDetails;
|
|
68
|
+
export declare function IdentificationDetailsFromJSON(json: any): IdentificationDetails;
|
|
69
|
+
export declare function IdentificationDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentificationDetails;
|
|
70
|
+
export declare function IdentificationDetailsToJSON(json: any): IdentificationDetails;
|
|
71
|
+
export declare function IdentificationDetailsToJSONTyped(value?: IdentificationDetails | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cheqi API
|
|
5
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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 { PaymentAccountDetailsFromJSON, PaymentAccountDetailsToJSON, } from './PaymentAccountDetails.js';
|
|
15
|
+
import { PaymentTypeFromJSON, PaymentTypeToJSON, } from './PaymentType.js';
|
|
16
|
+
import { CardDetailsFromJSON, CardDetailsToJSON, } from './CardDetails.js';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the IdentificationDetails interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfIdentificationDetails(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function IdentificationDetailsFromJSON(json) {
|
|
24
|
+
return IdentificationDetailsFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function IdentificationDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'paymentType': json['paymentType'] == null ? undefined : PaymentTypeFromJSON(json['paymentType']),
|
|
32
|
+
'cardDetails': json['cardDetails'] == null ? undefined : CardDetailsFromJSON(json['cardDetails']),
|
|
33
|
+
'paymentAccountDetails': json['paymentAccountDetails'] == null ? undefined : PaymentAccountDetailsFromJSON(json['paymentAccountDetails']),
|
|
34
|
+
'paymentIds': json['paymentIds'] == null ? undefined : json['paymentIds'],
|
|
35
|
+
'recipientEmail': json['recipientEmail'] == null ? undefined : json['recipientEmail'],
|
|
36
|
+
'cheqiReceiptId': json['cheqiReceiptId'] == null ? undefined : json['cheqiReceiptId'],
|
|
37
|
+
'pairingCode': json['pairingCode'] == null ? undefined : json['pairingCode'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function IdentificationDetailsToJSON(json) {
|
|
41
|
+
return IdentificationDetailsToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function IdentificationDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'paymentType': PaymentTypeToJSON(value['paymentType']),
|
|
49
|
+
'cardDetails': CardDetailsToJSON(value['cardDetails']),
|
|
50
|
+
'paymentAccountDetails': PaymentAccountDetailsToJSON(value['paymentAccountDetails']),
|
|
51
|
+
'paymentIds': value['paymentIds'],
|
|
52
|
+
'recipientEmail': value['recipientEmail'],
|
|
53
|
+
'cheqiReceiptId': value['cheqiReceiptId'],
|
|
54
|
+
'pairingCode': value['pairingCode'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=IdentificationDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdentificationDetails.js","sourceRoot":"","sources":["../../../src/models/generated/IdentificationDetails.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,6BAA6B,EAE7B,2BAA2B,GAE9B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,mBAAmB,EAEnB,iBAAiB,GAEpB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACH,mBAAmB,EAEnB,iBAAiB,GAEpB,MAAM,kBAAkB,CAAC;AAsD1B;;GAEG;AACH,MAAM,UAAU,+BAA+B,CAAC,KAAa;IACzD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACjG,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACjG,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,6BAA6B,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QACzI,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACzE,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACrF,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACrF,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;KAC/E,CAAC;AACN,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,KAAoC,EAAE,sBAA+B,KAAK;IACvH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,aAAa,EAAE,iBAAiB,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACtD,aAAa,EAAE,iBAAiB,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACtD,uBAAuB,EAAE,2BAA2B,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QACpF,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;KACtC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cheqi API
|
|
3
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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
|
+
* The identifiers for the purchase, given by the seller, for example order reference, transaction number
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Identifier
|
|
16
|
+
*/
|
|
17
|
+
export interface Identifier {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Identifier
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Identifier
|
|
28
|
+
*/
|
|
29
|
+
value?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Identifier interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfIdentifier(value: object): value is Identifier;
|
|
35
|
+
export declare function IdentifierFromJSON(json: any): Identifier;
|
|
36
|
+
export declare function IdentifierFromJSONTyped(json: any, ignoreDiscriminator: boolean): Identifier;
|
|
37
|
+
export declare function IdentifierToJSON(json: any): Identifier;
|
|
38
|
+
export declare function IdentifierToJSONTyped(value?: Identifier | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cheqi API
|
|
5
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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 Identifier interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfIdentifier(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function IdentifierFromJSON(json) {
|
|
21
|
+
return IdentifierFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function IdentifierFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
29
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function IdentifierToJSON(json) {
|
|
33
|
+
return IdentifierToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function IdentifierToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'name': value['name'],
|
|
41
|
+
'value': value['value'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=Identifier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Identifier.js","sourceRoot":"","sources":["../../../src/models/generated/Identifier.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAuBH;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAAC,KAAa;IAC9C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,IAAS,EAAE,mBAA4B;IAC3E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,IAAS;IACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,KAAyB,EAAE,sBAA+B,KAAK;IACjG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cheqi API
|
|
3
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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
|
+
* Key algorithm for encryption
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const KeyAlgorithm: {
|
|
17
|
+
readonly RSA_2048: "RSA_2048";
|
|
18
|
+
readonly RSA_4096: "RSA_4096";
|
|
19
|
+
};
|
|
20
|
+
export type KeyAlgorithm = typeof KeyAlgorithm[keyof typeof KeyAlgorithm];
|
|
21
|
+
export declare function instanceOfKeyAlgorithm(value: any): boolean;
|
|
22
|
+
export declare function KeyAlgorithmFromJSON(json: any): KeyAlgorithm;
|
|
23
|
+
export declare function KeyAlgorithmFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyAlgorithm;
|
|
24
|
+
export declare function KeyAlgorithmToJSON(value?: KeyAlgorithm | null): any;
|
|
25
|
+
export declare function KeyAlgorithmToJSONTyped(value: any, ignoreDiscriminator: boolean): KeyAlgorithm;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cheqi API
|
|
5
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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
|
+
* Key algorithm for encryption
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const KeyAlgorithm = {
|
|
19
|
+
RSA_2048: 'RSA_2048',
|
|
20
|
+
RSA_4096: 'RSA_4096'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfKeyAlgorithm(value) {
|
|
23
|
+
for (const key in KeyAlgorithm) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(KeyAlgorithm, key)) {
|
|
25
|
+
if (KeyAlgorithm[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function KeyAlgorithmFromJSON(json) {
|
|
33
|
+
return KeyAlgorithmFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function KeyAlgorithmFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function KeyAlgorithmToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function KeyAlgorithmToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=KeyAlgorithm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyAlgorithm.js","sourceRoot":"","sources":["../../../src/models/generated/KeyAlgorithm.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX,MAAM,UAAU,sBAAsB,CAAC,KAAU;IAC7C,KAAK,MAAM,GAAG,IAAI,YAAY,EAAE,CAAC;QAC7B,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,EAAE,CAAC;YAC1D,IAAI,YAAY,CAAC,GAAgC,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC3D,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,OAAO,IAAoB,CAAC;AAChC,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,KAA2B;IAC1D,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,KAAU,EAAE,mBAA4B;IAC5E,OAAO,KAAqB,CAAC;AACjC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cheqi API
|
|
3
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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 { ReceiptFormat } from './ReceiptFormat.js';
|
|
13
|
+
/**
|
|
14
|
+
* The list of recipients found for the given recipient
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MatchedRecipient
|
|
17
|
+
*/
|
|
18
|
+
export interface MatchedRecipient {
|
|
19
|
+
/**
|
|
20
|
+
* Temporary opaque recipient identifier for this match session.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MatchedRecipient
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Public key for encrypting receipts for this recipient.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MatchedRecipient
|
|
29
|
+
*/
|
|
30
|
+
publicKey?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Algorithm used for the public key (e.g., "RSA", "RSA_2048").
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof MatchedRecipient
|
|
35
|
+
*/
|
|
36
|
+
keyAlgorithm?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Receipt formats this recipient accepts (e.g., CHEQI, UBL_PURCHASE_RECEIPT).
|
|
39
|
+
* @type {Array<ReceiptFormat>}
|
|
40
|
+
* @memberof MatchedRecipient
|
|
41
|
+
*/
|
|
42
|
+
acceptedFormats?: Array<ReceiptFormat>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the MatchedRecipient interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfMatchedRecipient(value: object): value is MatchedRecipient;
|
|
48
|
+
export declare function MatchedRecipientFromJSON(json: any): MatchedRecipient;
|
|
49
|
+
export declare function MatchedRecipientFromJSONTyped(json: any, ignoreDiscriminator: boolean): MatchedRecipient;
|
|
50
|
+
export declare function MatchedRecipientToJSON(json: any): MatchedRecipient;
|
|
51
|
+
export declare function MatchedRecipientToJSONTyped(value?: MatchedRecipient | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cheqi API
|
|
5
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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 { ReceiptFormatFromJSON, ReceiptFormatToJSON, } from './ReceiptFormat.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the MatchedRecipient interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfMatchedRecipient(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function MatchedRecipientFromJSON(json) {
|
|
22
|
+
return MatchedRecipientFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function MatchedRecipientFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
30
|
+
'publicKey': json['publicKey'] == null ? undefined : json['publicKey'],
|
|
31
|
+
'keyAlgorithm': json['keyAlgorithm'] == null ? undefined : json['keyAlgorithm'],
|
|
32
|
+
'acceptedFormats': json['acceptedFormats'] == null ? undefined : (json['acceptedFormats'].map(ReceiptFormatFromJSON)),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function MatchedRecipientToJSON(json) {
|
|
36
|
+
return MatchedRecipientToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function MatchedRecipientToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': value['id'],
|
|
44
|
+
'publicKey': value['publicKey'],
|
|
45
|
+
'keyAlgorithm': value['keyAlgorithm'],
|
|
46
|
+
'acceptedFormats': value['acceptedFormats'] == null ? undefined : (value['acceptedFormats'].map(ReceiptFormatToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=MatchedRecipient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatchedRecipient.js","sourceRoot":"","sources":["../../../src/models/generated/MatchedRecipient.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,qBAAqB,EAErB,mBAAmB,GAEtB,MAAM,oBAAoB,CAAC;AAkC5B;;GAEG;AACH,MAAM,UAAU,0BAA0B,CAAC,KAAa;IACpD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,IAAS,EAAE,mBAA4B;IACjF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAC/E,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,iBAAiB,CAAgB,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;KACxI,CAAC;AACN,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,KAA+B,EAAE,sBAA+B,KAAK;IAC7G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,iBAAiB,CAAgB,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;KACxI,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cheqi API
|
|
3
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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 { BarcodeType } from './BarcodeType.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NotificationDisplayCode
|
|
17
|
+
*/
|
|
18
|
+
export interface NotificationDisplayCode {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {BarcodeType}
|
|
22
|
+
* @memberof NotificationDisplayCode
|
|
23
|
+
*/
|
|
24
|
+
type: BarcodeType;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof NotificationDisplayCode
|
|
29
|
+
*/
|
|
30
|
+
data: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the NotificationDisplayCode interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfNotificationDisplayCode(value: object): value is NotificationDisplayCode;
|
|
36
|
+
export declare function NotificationDisplayCodeFromJSON(json: any): NotificationDisplayCode;
|
|
37
|
+
export declare function NotificationDisplayCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationDisplayCode;
|
|
38
|
+
export declare function NotificationDisplayCodeToJSON(json: any): NotificationDisplayCode;
|
|
39
|
+
export declare function NotificationDisplayCodeToJSONTyped(value?: NotificationDisplayCode | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cheqi API
|
|
5
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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 { BarcodeTypeFromJSON, BarcodeTypeToJSON, } from './BarcodeType.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the NotificationDisplayCode interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfNotificationDisplayCode(value) {
|
|
19
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function NotificationDisplayCodeFromJSON(json) {
|
|
26
|
+
return NotificationDisplayCodeFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function NotificationDisplayCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'type': BarcodeTypeFromJSON(json['type']),
|
|
34
|
+
'data': json['data'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function NotificationDisplayCodeToJSON(json) {
|
|
38
|
+
return NotificationDisplayCodeToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function NotificationDisplayCodeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'type': BarcodeTypeToJSON(value['type']),
|
|
46
|
+
'data': value['data'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=NotificationDisplayCode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationDisplayCode.js","sourceRoot":"","sources":["../../../src/models/generated/NotificationDisplayCode.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,mBAAmB,EAEnB,iBAAiB,GAEpB,MAAM,kBAAkB,CAAC;AAwB1B;;GAEG;AACH,MAAM,UAAU,iCAAiC,CAAC,KAAa;IAC3D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,KAAsC,EAAE,sBAA+B,KAAK;IAC3H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACxC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cheqi API
|
|
3
|
+
* Cheqi provides APIs for creating receipts and reading receipts for customers
|
|
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
|
+
* The addressDto of the receiving party
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PartyAddress
|
|
16
|
+
*/
|
|
17
|
+
export interface PartyAddress {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PartyAddress
|
|
22
|
+
*/
|
|
23
|
+
street?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PartyAddress
|
|
28
|
+
*/
|
|
29
|
+
city?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PartyAddress
|
|
34
|
+
*/
|
|
35
|
+
state?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PartyAddress
|
|
40
|
+
*/
|
|
41
|
+
zipCode?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PartyAddress
|
|
46
|
+
*/
|
|
47
|
+
country?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PartyAddress interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfPartyAddress(value: object): value is PartyAddress;
|
|
53
|
+
export declare function PartyAddressFromJSON(json: any): PartyAddress;
|
|
54
|
+
export declare function PartyAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartyAddress;
|
|
55
|
+
export declare function PartyAddressToJSON(json: any): PartyAddress;
|
|
56
|
+
export declare function PartyAddressToJSONTyped(value?: PartyAddress | null, ignoreDiscriminator?: boolean): any;
|