sgp-sdk 0.0.0-stage → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +303 -2
  3. package/dist/client.d.ts +228 -0
  4. package/dist/endpoint.d.ts +66 -0
  5. package/dist/endpoints/crm/address.d.ts +20 -0
  6. package/dist/endpoints/crm/create-contract.d.ts +109 -0
  7. package/dist/endpoints/crm/create-customer.d.ts +65 -0
  8. package/dist/endpoints/crm/update-customer-status.d.ts +43 -0
  9. package/dist/endpoints/os/list-occurrence-reasons.d.ts +24 -0
  10. package/dist/endpoints/os/list-occurrence-types.d.ts +25 -0
  11. package/dist/endpoints/precadastro/list-due-days.d.ts +19 -0
  12. package/dist/endpoints/precadastro/list-sellers.d.ts +21 -0
  13. package/dist/endpoints/suporte/add-customer-document.d.ts +24 -0
  14. package/dist/endpoints/suporte/list-customer-documents.d.ts +25 -0
  15. package/dist/endpoints/ura/check-coverage.d.ts +46 -0
  16. package/dist/endpoints/ura/list-annotations.d.ts +32 -0
  17. package/dist/endpoints/ura/list-clients.d.ts +58 -0
  18. package/dist/endpoints/ura/list-contracts.d.ts +45 -0
  19. package/dist/endpoints/ura/list-invoices.d.ts +107 -0
  20. package/dist/endpoints/ura/list-nas.d.ts +29 -0
  21. package/dist/endpoints/ura/list-occurrence-methods.d.ts +19 -0
  22. package/dist/endpoints/ura/list-payment-carriers.d.ts +20 -0
  23. package/dist/endpoints/ura/list-plans.d.ts +70 -0
  24. package/dist/endpoints/ura/list-pops.d.ts +19 -0
  25. package/dist/endpoints/ura/list-service-orders.d.ts +64 -0
  26. package/dist/endpoints/ura/lookup-customer.d.ts +121 -0
  27. package/dist/endpoints/ura/open-ticket.d.ts +81 -0
  28. package/dist/errors.d.ts +59 -0
  29. package/dist/index.d.ts +50 -0
  30. package/dist/index.js +1449 -0
  31. package/dist/result.d.ts +55 -0
  32. package/dist/schema/parse.d.ts +19 -0
  33. package/dist/schema/paths.d.ts +38 -0
  34. package/dist/sensitivity.d.ts +7 -0
  35. package/dist/transport.d.ts +65 -0
  36. package/package.json +34 -4
@@ -0,0 +1,50 @@
1
+ export type { CrmClient, OsClient, PrecadastroClient, SgpClient, SuporteClient, UraClient, } from "./client.js";
2
+ export { createSgpClient } from "./client.js";
3
+ export type { SgpAddress } from "./endpoints/crm/address.js";
4
+ export type { CreateContractParams, CreateContractResponse, FormaCobrancaCodigo, ModoAquisicao, } from "./endpoints/crm/create-contract.js";
5
+ export { contractCreatedItemPath, contractCreatedPersonalKeys, contractCreatedSecretKeys, createContractDefinition, createContractKeyFields, formaCobrancaCodigo, modoAquisicao, } from "./endpoints/crm/create-contract.js";
6
+ export type { CreateCompanyCustomerParams, CreateCustomerResponse, CreateIndividualCustomerParams, } from "./endpoints/crm/create-customer.js";
7
+ export { createCompanyCustomerDefinition, createCustomerKeyFields, createIndividualCustomerDefinition, customerCreatedItemPath, customerCreatedPersonalKeys, customerCreatedSecretKeys, } from "./endpoints/crm/create-customer.js";
8
+ export type { CrmStatusId, UpdateCustomerStatusParams, UpdateCustomerStatusResponse, } from "./endpoints/crm/update-customer-status.js";
9
+ export { crmStatus, customerStatusItemPath, customerStatusPersonalKeys, customerStatusSecretKeys, updateCustomerStatusDefinition, updateCustomerStatusKeyFields, } from "./endpoints/crm/update-customer-status.js";
10
+ export type { ListOccurrenceReasonsResponse } from "./endpoints/os/list-occurrence-reasons.js";
11
+ export { listOccurrenceReasonsDefinition, listOccurrenceReasonsKeyFields, occurrenceReasonItemPath, occurrenceReasonPersonalKeys, occurrenceReasonSecretKeys, } from "./endpoints/os/list-occurrence-reasons.js";
12
+ export type { ListOccurrenceTypesResponse } from "./endpoints/os/list-occurrence-types.js";
13
+ export { listOccurrenceTypesDefinition, listOccurrenceTypesKeyFields, occurrenceTypeItemPath, occurrenceTypePersonalKeys, occurrenceTypeSecretKeys, } from "./endpoints/os/list-occurrence-types.js";
14
+ export type { ListDueDaysResponse } from "./endpoints/precadastro/list-due-days.js";
15
+ export { dueDayItemPath, dueDayPersonalKeys, dueDaySecretKeys, listDueDaysDefinition, listDueDaysKeyFields, } from "./endpoints/precadastro/list-due-days.js";
16
+ export type { ListSellersResponse } from "./endpoints/precadastro/list-sellers.js";
17
+ export { listSellersDefinition, listSellersKeyFields, sellerItemPath, sellerPersonalKeys, sellerSecretKeys, } from "./endpoints/precadastro/list-sellers.js";
18
+ export type { AddCustomerDocumentParams, AddCustomerDocumentResponse, } from "./endpoints/suporte/add-customer-document.js";
19
+ export { addCustomerDocumentDefinition, addCustomerDocumentKeyFields, customerDocumentAddedItemPath, customerDocumentAddedPersonalKeys, customerDocumentAddedSecretKeys, } from "./endpoints/suporte/add-customer-document.js";
20
+ export type { ListCustomerDocumentsResponse } from "./endpoints/suporte/list-customer-documents.js";
21
+ export { customerDocumentItemPath, customerDocumentPersonalKeys, customerDocumentSecretKeys, listCustomerDocumentsDefinition, listCustomerDocumentsKeyFields, } from "./endpoints/suporte/list-customer-documents.js";
22
+ export type { CheckCoverageParams, CheckCoverageResponse, } from "./endpoints/ura/check-coverage.js";
23
+ export { checkCoverageDefinition, checkCoverageKeyFields, coverageItemPath, coveragePersonalKeys, coverageSecretKeys, } from "./endpoints/ura/check-coverage.js";
24
+ export type { ListAnnotationsParams, ListAnnotationsResponse, } from "./endpoints/ura/list-annotations.js";
25
+ export { annotationItemPath, annotationPersonalKeys, annotationSecretKeys, listAnnotationsKeyFields, listAnnotationsSchema, } from "./endpoints/ura/list-annotations.js";
26
+ export type { ListClientsParams, ListClientsResponse } from "./endpoints/ura/list-clients.js";
27
+ export { clientItemPath, clientPersonalKeys, clientSecretKeys, listClientsDefinition, listClientsKeyFields, } from "./endpoints/ura/list-clients.js";
28
+ export type { ListContractsParams, ListContractsResponse, } from "./endpoints/ura/list-contracts.js";
29
+ export { contractSummaryItemPath, contractSummaryPersonalKeys, contractSummarySecretKeys, listContractsDefinition, listContractsKeyFields, } from "./endpoints/ura/list-contracts.js";
30
+ export type { ListInvoicesParams, ListInvoicesResponse, } from "./endpoints/ura/list-invoices.js";
31
+ export { invoiceItemPath, invoicePersonalKeys, invoiceSecretKeys, listInvoicesDefinition, listInvoicesKeyFields, } from "./endpoints/ura/list-invoices.js";
32
+ export type { ListNasResponse } from "./endpoints/ura/list-nas.js";
33
+ export { listNasDefinition, listNasKeyFields, nasItemPath, nasPersonalKeys, nasSecretKeys, } from "./endpoints/ura/list-nas.js";
34
+ export type { ListOccurrenceMethodsResponse } from "./endpoints/ura/list-occurrence-methods.js";
35
+ export { listOccurrenceMethodsDefinition, listOccurrenceMethodsKeyFields, occurrenceMethodItemPath, occurrenceMethodPersonalKeys, occurrenceMethodSecretKeys, } from "./endpoints/ura/list-occurrence-methods.js";
36
+ export type { ListPaymentCarriersResponse } from "./endpoints/ura/list-payment-carriers.js";
37
+ export { listPaymentCarriersDefinition, listPaymentCarriersKeyFields, paymentCarrierItemPath, paymentCarrierPersonalKeys, paymentCarrierSecretKeys, } from "./endpoints/ura/list-payment-carriers.js";
38
+ export type { ListPlansResponse } from "./endpoints/ura/list-plans.js";
39
+ export { listPlansDefinition, listPlansKeyFields, planItemPath, planPersonalKeys, planSecretKeys, } from "./endpoints/ura/list-plans.js";
40
+ export type { ListPopsResponse } from "./endpoints/ura/list-pops.js";
41
+ export { listPopsDefinition, listPopsKeyFields, popItemPath, popPersonalKeys, popSecretKeys, } from "./endpoints/ura/list-pops.js";
42
+ export type { ListServiceOrdersParams, ListServiceOrdersResponse, } from "./endpoints/ura/list-service-orders.js";
43
+ export { listServiceOrdersDefinition, listServiceOrdersKeyFields, serviceOrderItemPath, serviceOrderPersonalKeys, serviceOrderSecretKeys, } from "./endpoints/ura/list-service-orders.js";
44
+ export type { LookupCustomerParams, LookupCustomerResponse, } from "./endpoints/ura/lookup-customer.js";
45
+ export { customerContractItemPath, customerContractPersonalKeys, customerContractSecretKeys, lookupCustomerDefinition, lookupCustomerKeyFields, } from "./endpoints/ura/lookup-customer.js";
46
+ export type { OpenTicketParams, OpenTicketResponse, } from "./endpoints/ura/open-ticket.js";
47
+ export { openTicketDefinition, openTicketKeyFields, ticketOpenedItemPath, ticketOpenedPersonalKeys, ticketOpenedSecretKeys, } from "./endpoints/ura/open-ticket.js";
48
+ export type { SchemaWarning, SgpError, SgpErrorCode, SgpResult, SgpWriteError, SgpWriteResult, WriteOutcome, } from "./result.js";
49
+ export { omitSensitive } from "./sensitivity.js";
50
+ export type { SgpClientConfig, SgpFile } from "./transport.js";