@stedi/sdk 0.0.9 → 0.0.10

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 (105) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +82 -29
  3. package/dist-cjs/Stedi.js +35 -1
  4. package/dist-cjs/StediClient.js +1 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +8 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +8 -0
  7. package/dist-cjs/commandBuilder.js +4 -1
  8. package/dist-cjs/commands/CreateEventDestinationCommand.js +8 -0
  9. package/dist-cjs/commands/CreateProfessionalClaimSubmissionCommand.js +1 -1
  10. package/dist-cjs/commands/DeleteEventDestinationCommand.js +8 -0
  11. package/dist-cjs/commands/GetClaimCommand.js +8 -0
  12. package/dist-cjs/commands/GetClaimTimelineCommand.js +8 -0
  13. package/dist-cjs/commands/GetEventDestinationCommand.js +8 -0
  14. package/dist-cjs/commands/GetEventDestinationEventCommand.js +8 -0
  15. package/dist-cjs/commands/GetEventDestinationSecretCommand.js +8 -0
  16. package/dist-cjs/commands/GetProfessionalClaimSubmissionCommand.js +1 -1
  17. package/dist-cjs/commands/ListClaimsCommand.js +8 -0
  18. package/dist-cjs/commands/ListEventDestinationEventsCommand.js +8 -0
  19. package/dist-cjs/commands/ListEventDestinationsCommand.js +8 -0
  20. package/dist-cjs/commands/RotateEventDestinationSecretCommand.js +8 -0
  21. package/dist-cjs/commands/UpdateEventDestinationCommand.js +8 -0
  22. package/dist-cjs/commands/ValidateProfessionalClaimSubmissionCommand.js +1 -1
  23. package/dist-cjs/commands/index.js +12 -0
  24. package/dist-cjs/endpoint/bdd.js +8 -5
  25. package/dist-cjs/index.js +1 -0
  26. package/dist-cjs/models/enums.js +61 -1
  27. package/dist-cjs/models/errors.js +27 -34
  28. package/dist-cjs/pagination/GetClaimTimelinePaginator.js +7 -0
  29. package/dist-cjs/pagination/Interfaces.js +2 -0
  30. package/dist-cjs/pagination/ListClaimsPaginator.js +7 -0
  31. package/dist-cjs/pagination/ListEventDestinationEventsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListEventDestinationsPaginator.js +7 -0
  33. package/dist-cjs/pagination/index.js +8 -0
  34. package/dist-cjs/runtimeConfig.shared.js +5 -0
  35. package/dist-cjs/schemas/schemas_0.js +487 -127
  36. package/dist-es/Stedi.js +35 -1
  37. package/dist-es/StediClient.js +1 -0
  38. package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
  39. package/dist-es/auth/httpAuthSchemeProvider.js +8 -0
  40. package/dist-es/commandBuilder.js +3 -0
  41. package/dist-es/commands/CreateEventDestinationCommand.js +4 -0
  42. package/dist-es/commands/CreateProfessionalClaimSubmissionCommand.js +2 -2
  43. package/dist-es/commands/DeleteEventDestinationCommand.js +4 -0
  44. package/dist-es/commands/GetClaimCommand.js +4 -0
  45. package/dist-es/commands/GetClaimTimelineCommand.js +4 -0
  46. package/dist-es/commands/GetEventDestinationCommand.js +4 -0
  47. package/dist-es/commands/GetEventDestinationEventCommand.js +4 -0
  48. package/dist-es/commands/GetEventDestinationSecretCommand.js +4 -0
  49. package/dist-es/commands/GetProfessionalClaimSubmissionCommand.js +2 -2
  50. package/dist-es/commands/ListClaimsCommand.js +4 -0
  51. package/dist-es/commands/ListEventDestinationEventsCommand.js +4 -0
  52. package/dist-es/commands/ListEventDestinationsCommand.js +4 -0
  53. package/dist-es/commands/RotateEventDestinationSecretCommand.js +4 -0
  54. package/dist-es/commands/UpdateEventDestinationCommand.js +4 -0
  55. package/dist-es/commands/ValidateProfessionalClaimSubmissionCommand.js +2 -2
  56. package/dist-es/commands/index.js +12 -0
  57. package/dist-es/endpoint/bdd.js +8 -5
  58. package/dist-es/index.js +1 -0
  59. package/dist-es/models/enums.js +60 -0
  60. package/dist-es/models/errors.js +24 -31
  61. package/dist-es/pagination/GetClaimTimelinePaginator.js +4 -0
  62. package/dist-es/pagination/Interfaces.js +1 -0
  63. package/dist-es/pagination/ListClaimsPaginator.js +4 -0
  64. package/dist-es/pagination/ListEventDestinationEventsPaginator.js +4 -0
  65. package/dist-es/pagination/ListEventDestinationsPaginator.js +4 -0
  66. package/dist-es/pagination/index.js +5 -0
  67. package/dist-es/runtimeConfig.shared.js +6 -1
  68. package/dist-es/schemas/schemas_0.js +485 -126
  69. package/dist-types/Stedi.d.ts +116 -1
  70. package/dist-types/StediClient.d.ts +14 -2
  71. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +4 -1
  72. package/dist-types/auth/httpAuthSchemeProvider.d.ts +9 -1
  73. package/dist-types/commandBuilder.d.ts +4 -0
  74. package/dist-types/commands/CreateEventDestinationCommand.d.ts +146 -0
  75. package/dist-types/commands/CreateProfessionalClaimSubmissionCommand.d.ts +177 -152
  76. package/dist-types/commands/DeleteEventDestinationCommand.d.ts +105 -0
  77. package/dist-types/commands/GetClaimCommand.d.ts +139 -0
  78. package/dist-types/commands/GetClaimTimelineCommand.d.ts +218 -0
  79. package/dist-types/commands/GetEventDestinationCommand.d.ts +124 -0
  80. package/dist-types/commands/GetEventDestinationEventCommand.d.ts +141 -0
  81. package/dist-types/commands/GetEventDestinationSecretCommand.d.ts +105 -0
  82. package/dist-types/commands/GetProfessionalClaimSubmissionCommand.d.ts +349 -4
  83. package/dist-types/commands/ListClaimsCommand.d.ts +169 -0
  84. package/dist-types/commands/ListEventDestinationEventsCommand.d.ts +120 -0
  85. package/dist-types/commands/ListEventDestinationsCommand.d.ts +132 -0
  86. package/dist-types/commands/RotateEventDestinationSecretCommand.d.ts +113 -0
  87. package/dist-types/commands/UpdateEventDestinationCommand.d.ts +142 -0
  88. package/dist-types/commands/ValidateProfessionalClaimSubmissionCommand.d.ts +363 -9
  89. package/dist-types/commands/index.d.ts +12 -0
  90. package/dist-types/index.d.ts +1 -0
  91. package/dist-types/models/enums.d.ts +263 -1
  92. package/dist-types/models/errors.d.ts +25 -41
  93. package/dist-types/models/models_0.d.ts +1320 -43
  94. package/dist-types/pagination/GetClaimTimelinePaginator.d.ts +7 -0
  95. package/dist-types/pagination/Interfaces.d.ts +8 -0
  96. package/dist-types/pagination/ListClaimsPaginator.d.ts +7 -0
  97. package/dist-types/pagination/ListEventDestinationEventsPaginator.d.ts +7 -0
  98. package/dist-types/pagination/ListEventDestinationsPaginator.d.ts +7 -0
  99. package/dist-types/pagination/index.d.ts +5 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +7 -2
  101. package/dist-types/runtimeConfig.d.ts +7 -2
  102. package/dist-types/runtimeConfig.native.d.ts +7 -2
  103. package/dist-types/runtimeConfig.shared.d.ts +7 -3
  104. package/dist-types/schemas/schemas_0.d.ts +54 -3
  105. package/package.json +4 -3
@@ -24,7 +24,7 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * Submit a professional claim using the Stedi JSON format.
27
+ * Submit a professional claim in JSON modeled after the CMS-1500 form structure
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -323,6 +323,15 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
323
323
  * commercialNumber: "STRING_VALUE",
324
324
  * },
325
325
  * },
326
+ * purchasedService: { // ProfessionalClaimSubmissionPurchasedService
327
+ * chargeAmount: "STRING_VALUE", // required
328
+ * provider: { // ProfessionalClaimSubmissionPurchasedServiceProvider
329
+ * entityType: "PERSON" || "ORGANIZATION", // required
330
+ * identifiers: { // ProfessionalClaimSubmissionPurchasedServiceProviderIdentifiers
331
+ * npi: "STRING_VALUE", // required
332
+ * },
333
+ * },
334
+ * },
326
335
  * lineItemControlNumber: "STRING_VALUE",
327
336
  * drugIdentification: { // ProfessionalClaimSubmissionDrugIdentification
328
337
  * nationalDrugCode: "STRING_VALUE", // required
@@ -384,6 +393,11 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
384
393
  * // { // CreateProfessionalClaimSubmissionOutput
385
394
  * // claimId: "STRING_VALUE", // required
386
395
  * // submissionId: "STRING_VALUE", // required
396
+ * // errors: [ // ClaimRejectionErrors
397
+ * // { // ClaimRejectionError
398
+ * // description: "STRING_VALUE", // required
399
+ * // },
400
+ * // ],
387
401
  * // };
388
402
  *
389
403
  * ```
@@ -394,9 +408,6 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
394
408
  * @see {@link CreateProfessionalClaimSubmissionCommandOutput} for command's `response` shape.
395
409
  * @see {@link StediClientResolvedConfig | config} for StediClient's `config` shape.
396
410
  *
397
- * @throws {@link ClaimEditException} (client fault)
398
- * Exception returned when the claim fails one or more pre-submission edits.
399
- *
400
411
  * @throws {@link AuthenticationFailedException} (client fault)
401
412
  * The request credentials are missing or not valid.
402
413
  *
@@ -415,14 +426,11 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
415
426
  * @throws {@link TooManyRequestsException} (client fault)
416
427
  * The caller has exceeded a rate limit. Retry with backoff.
417
428
  *
418
- * @throws {@link InternalFailureException} (server fault)
419
- * The server response when an unexpected error occurred while processing request.
420
- *
421
429
  * @throws {@link StediServiceException}
422
430
  * <p>Base exception class for all service exceptions from Stedi service.</p>
423
431
  *
424
432
  *
425
- * @example Submit a professional claim with primary and secondary coverage
433
+ * @example Submit claim
426
434
  * ```javascript
427
435
  * //
428
436
  * const input = {
@@ -433,52 +441,31 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
433
441
  * providerSignature: "ON_FILE"
434
442
  * },
435
443
  * billing: {
436
- * amountPaid: "100.00",
437
444
  * billingProvider: {
438
445
  * address: {
439
- * addressLine1: "501 Main Street",
440
- * city: "Springfield",
441
- * postalCode: "627010500",
446
+ * addressLine1: "123 St",
447
+ * city: "City",
448
+ * postalCode: "12345",
442
449
  * state: "IL"
443
450
  * },
444
- * contact: {
445
- * phoneNumber: "2175558800"
446
- * },
447
451
  * identifiers: {
448
- * locationNumber: "LOC-001",
449
- * npi: "1730289013",
452
+ * npi: "1999999984",
450
453
  * taxonomyCode: "207Q00000X"
451
454
  * },
452
455
  * name: {
453
- * organization: "Springfield Family Medical Center"
454
- * }
455
- * },
456
- * patientControlNumber: "CLM-2026-04219",
457
- * serviceFacility: {
458
- * address: {
459
- * addressLine1: "501 Main Street",
460
- * city: "Springfield",
461
- * postalCode: "627010500",
462
- * state: "IL"
463
- * },
464
- * identifiers: {
465
- * npi: "1730289013",
466
- * stateLicenseNumber: "IL-FAC-77821"
467
- * },
468
- * name: {
469
- * organization: "Springfield Family Medical Center"
456
+ * organization: "Test Provider"
470
457
  * }
471
458
  * },
459
+ * patientControlNumber: "TEST-004",
472
460
  * taxId: {
473
- * ein: "841234567"
461
+ * ein: "123456789"
474
462
  * },
475
- * totalCharge: "1432.50"
463
+ * totalCharge: "100.00"
476
464
  * },
477
465
  * encounter: {
478
466
  * attachments: [
479
467
  * {
480
468
  * attachmentControlNumber: "PWK-2026-0001",
481
- * attachmentId: "1f2e3d4c-5b6a-7980-9abc-def012345678",
482
469
  * reportTypeCode: "PROGRESS_REPORT",
483
470
  * transmissionCode: "ELECTRONICALLY_ONLY"
484
471
  * }
@@ -509,29 +496,28 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
509
496
  * primaryDiagnosisCode: "J0190",
510
497
  * priorReferringProvider: {
511
498
  * identifiers: {
512
- * npi: "1083827763"
499
+ * npi: "1999999984"
513
500
  * },
514
501
  * name: {
515
502
  * person: {
516
- * firstName: "David",
517
- * lastName: "Kim"
503
+ * firstName: "John",
504
+ * lastName: "Doe"
518
505
  * }
519
506
  * }
520
507
  * },
521
508
  * referenceNumbers: {
522
509
  * clia: "14D2089999",
523
- * priorAuthorization: "PA-2026-77831",
524
- * referral: "REF-55421"
510
+ * priorAuthorization: "PA-2026-11111",
511
+ * referral: "REF-4321"
525
512
  * },
526
513
  * referringProvider: {
527
514
  * identifiers: {
528
- * npi: "1245319599",
529
- * stateLicenseNumber: "IL-MD-44512"
515
+ * npi: "1999999984"
530
516
  * },
531
517
  * name: {
532
518
  * person: {
533
- * firstName: "Maya",
534
- * lastName: "Patel"
519
+ * firstName: "Jane",
520
+ * lastName: "Doe"
535
521
  * }
536
522
  * }
537
523
  * },
@@ -541,12 +527,12 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
541
527
  * },
542
528
  * supervisingProvider: {
543
529
  * identifiers: {
544
- * npi: "1396718825"
530
+ * npi: "1999999984"
545
531
  * },
546
532
  * name: {
547
533
  * person: {
548
- * firstName: "Elena",
549
- * lastName: "Rossi"
534
+ * firstName: "Jane",
535
+ * lastName: "Smith"
550
536
  * }
551
537
  * }
552
538
  * }
@@ -554,35 +540,29 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
554
540
  * idempotencyKey: "0e1f9a8d-6c5b-4a3f-9d2e-7b8c1a0f4e6d",
555
541
  * insured: {
556
542
  * address: {
557
- * addressLine1: "742 Evergreen Terrace",
558
- * addressLine2: "Apt 3B",
559
- * city: "Springfield",
560
- * postalCode: "627010001",
543
+ * addressLine1: "111 A Place",
544
+ * city: "Somewhere",
545
+ * postalCode: "123450000",
561
546
  * state: "IL"
562
547
  * },
563
- * dateOfBirth: "1982-04-12",
548
+ * dateOfBirth: "1990-01-01",
564
549
  * gender: "FEMALE",
565
550
  * insuranceType: "OTHER",
566
551
  * memberId: "W123456789",
567
552
  * name: {
568
553
  * person: {
569
- * firstName: "Sarah",
570
- * lastName: "Johnson",
571
- * middleName: "A"
554
+ * firstName: "June",
555
+ * lastName: "Doe"
572
556
  * }
573
557
  * },
574
- * paymentResponsibilityLevelCode: "PRIMARY",
575
- * planName: "Aetna Choice POS II",
576
- * policyOrGroupNumber: "GRP-AETNA-987654",
577
- * ssn: "111223333"
558
+ * paymentResponsibilityLevelCode: "PRIMARY"
578
559
  * },
579
560
  * otherInsured: [
580
561
  * {
581
562
  * address: {
582
- * addressLine1: "742 Evergreen Terrace",
583
- * addressLine2: "Apt 3B",
584
- * city: "Springfield",
585
- * postalCode: "627010001",
563
+ * addressLine1: "111 A Place",
564
+ * city: "Somewhere",
565
+ * postalCode: "123450000",
586
566
  * state: "IL"
587
567
  * },
588
568
  * authorization: {
@@ -595,7 +575,7 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
595
575
  * name: {
596
576
  * person: {
597
577
  * firstName: "Michael",
598
- * lastName: "Johnson"
578
+ * lastName: "Doe"
599
579
  * }
600
580
  * },
601
581
  * otherPayer: {
@@ -614,34 +594,26 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
614
594
  * ],
615
595
  * patient: {
616
596
  * address: {
617
- * addressLine1: "742 Evergreen Terrace",
618
- * addressLine2: "Apt 3B",
619
- * city: "Springfield",
620
- * postalCode: "627010001",
597
+ * addressLine1: "111 A Place",
598
+ * city: "Somewhere",
599
+ * postalCode: "123450000",
621
600
  * state: "IL"
622
601
  * },
623
- * dateOfBirth: "2015-08-21",
602
+ * dateOfBirth: "1900-02-02",
624
603
  * gender: "MALE",
625
604
  * name: {
626
605
  * person: {
627
606
  * firstName: "Liam",
628
- * lastName: "Johnson"
607
+ * lastName: "Doe"
629
608
  * }
630
609
  * },
631
610
  * relationshipToInsured: "CHILD"
632
611
  * },
633
612
  * payer: {
634
- * address: {
635
- * addressLine1: "151 Farmington Avenue",
636
- * city: "Hartford",
637
- * postalCode: "06156",
638
- * state: "CT"
639
- * },
640
613
  * id: "60054",
641
614
  * name: {
642
615
  * organization: "Aetna"
643
- * },
644
- * receiverId: "60054"
616
+ * }
645
617
  * },
646
618
  * purpose: "CHARGEABLE",
647
619
  * serviceLines: [
@@ -651,33 +623,121 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
651
623
  * start: "2026-03-03"
652
624
  * },
653
625
  * diagnosisCodes: [
654
- * "J0190",
655
- * "R0602"
626
+ * "J0190"
656
627
  * ],
657
- * isEmergency: false,
658
- * lineItemChargeAmount: "185.00",
659
- * lineItemControlNumber: "LN-0001",
628
+ * lineItemChargeAmount: "100.00",
660
629
  * placeOfService: "11",
661
630
  * procedureCode: {
662
- * code: "99213",
663
- * modifiers: [
664
- * "25"
665
- * ]
666
- * },
667
- * renderingProvider: {
668
- * identifiers: {
669
- * npi: "1396718825",
670
- * taxonomyCode: "207Q00000X"
671
- * },
672
- * name: {
673
- * person: {
674
- * firstName: "Elena",
675
- * lastName: "Rossi"
676
- * }
677
- * }
631
+ * code: "99213"
678
632
  * },
679
633
  * units: "1"
634
+ * }
635
+ * ],
636
+ * submitter: {
637
+ * contact: {
638
+ * phoneNumber: "5555551234"
639
+ * },
640
+ * etin: "TEST001",
641
+ * name: {
642
+ * organization: "Test Submitter"
643
+ * }
644
+ * }
645
+ * };
646
+ * const command = new CreateProfessionalClaimSubmissionCommand(input);
647
+ * const response = await client.send(command);
648
+ * /* response is
649
+ * {
650
+ * claimId: "clm_01K6XFP3TZ8RA9X84963NMW40M",
651
+ * submissionId: "sbm_01K6XFP3TZ8RA9X84963NMW40N"
652
+ * }
653
+ * *\/
654
+ * ```
655
+ *
656
+ * @example Failed edits
657
+ * ```javascript
658
+ * //
659
+ * const input = {
660
+ * authorization: {
661
+ * insuredAuthorizesAssignment: "YES",
662
+ * patientReleasesMedicalInfo: "YES",
663
+ * providerAcceptsAssignment: "ASSIGNED",
664
+ * providerSignature: "ON_FILE"
665
+ * },
666
+ * billing: {
667
+ * billingProvider: {
668
+ * address: {
669
+ * addressLine1: "123 St",
670
+ * city: "City",
671
+ * postalCode: "12345",
672
+ * state: "IL"
673
+ * },
674
+ * identifiers: {
675
+ * npi: "1730289013",
676
+ * taxonomyCode: "207Q0000X"
677
+ * },
678
+ * name: {
679
+ * organization: "Test Provider"
680
+ * }
680
681
  * },
682
+ * patientControlNumber: "TEST-005",
683
+ * taxId: {
684
+ * ein: "123456789"
685
+ * },
686
+ * totalCharge: "100.00"
687
+ * },
688
+ * encounter: {
689
+ * patientCondition: {
690
+ * isAutoAccidentRelated: false,
691
+ * isEmploymentRelated: false,
692
+ * isOtherAccidentRelated: false
693
+ * },
694
+ * primaryDiagnosisCode: "J0190"
695
+ * },
696
+ * idempotencyKey: "7f8e9d0a-1b2c-3d4e-5f6a-7b8c9d0e1f2a",
697
+ * insured: {
698
+ * address: {
699
+ * addressLine1: "111 A Place",
700
+ * city: "Somewhere",
701
+ * postalCode: "123450000",
702
+ * state: "IL"
703
+ * },
704
+ * dateOfBirth: "1990-01-01",
705
+ * gender: "FEMALE",
706
+ * insuranceType: "OTHER",
707
+ * memberId: "W123456789",
708
+ * name: {
709
+ * person: {
710
+ * firstName: "June",
711
+ * lastName: "Doe"
712
+ * }
713
+ * },
714
+ * paymentResponsibilityLevelCode: "PRIMARY"
715
+ * },
716
+ * patient: {
717
+ * address: {
718
+ * addressLine1: "111 A Place",
719
+ * city: "Somewhere",
720
+ * postalCode: "123450000",
721
+ * state: "IL"
722
+ * },
723
+ * dateOfBirth: "1900-02-02",
724
+ * gender: "MALE",
725
+ * name: {
726
+ * person: {
727
+ * firstName: "Liam",
728
+ * lastName: "Doe"
729
+ * }
730
+ * },
731
+ * relationshipToInsured: "CHILD"
732
+ * },
733
+ * payer: {
734
+ * id: "60054",
735
+ * name: {
736
+ * organization: "Aetna"
737
+ * }
738
+ * },
739
+ * purpose: "CHARGEABLE",
740
+ * serviceLines: [
681
741
  * {
682
742
  * datesOfService: {
683
743
  * end: "2026-03-03",
@@ -686,64 +746,21 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
686
746
  * diagnosisCodes: [
687
747
  * "J0190"
688
748
  * ],
689
- * drugIdentification: {
690
- * associationNumber: {
691
- * pharmacyPrescriptionNumber: "RX-2026-118822"
692
- * },
693
- * nationalDrugCode: "00409120130",
694
- * unitCount: "300",
695
- * unitOfMeasure: "MILLIGRAM"
696
- * },
697
- * isEmergency: false,
698
- * lineItemChargeAmount: "1247.50",
699
- * lineItemControlNumber: "LN-0002",
700
- * orderingProvider: {
701
- * identifiers: {
702
- * npi: "1245319599"
703
- * },
704
- * name: {
705
- * person: {
706
- * firstName: "Maya",
707
- * lastName: "Patel"
708
- * }
709
- * }
710
- * },
749
+ * lineItemChargeAmount: "100.00",
711
750
  * placeOfService: "11",
712
- * priorAuthorizations: [
713
- * {
714
- * otherPayerPrimaryId: "60054",
715
- * priorAuthorizationNumber: "PA-2026-77831"
716
- * }
717
- * ],
718
751
  * procedureCode: {
719
- * code: "J1885",
720
- * modifiers: [
721
- * "JW"
722
- * ]
723
- * },
724
- * renderingProvider: {
725
- * identifiers: {
726
- * npi: "1396718825"
727
- * },
728
- * name: {
729
- * person: {
730
- * firstName: "Elena",
731
- * lastName: "Rossi"
732
- * }
733
- * }
752
+ * code: "99213"
734
753
  * },
735
- * units: "10"
754
+ * units: "1"
736
755
  * }
737
756
  * ],
738
757
  * submitter: {
739
758
  * contact: {
740
- * email: "billing@acmehealth.example",
741
- * faxNumber: "3135551235",
742
- * phoneNumber: "3135551234"
759
+ * phoneNumber: "5555551234"
743
760
  * },
744
- * etin: "SUBMITTER0001",
761
+ * etin: "TEST001",
745
762
  * name: {
746
- * organization: "Acme Health Billing"
763
+ * organization: "Test Submitter"
747
764
  * }
748
765
  * }
749
766
  * };
@@ -751,8 +768,16 @@ declare const CreateProfessionalClaimSubmissionCommand_base: {
751
768
  * const response = await client.send(command);
752
769
  * /* response is
753
770
  * {
754
- * claimId: "clm_01K6XFP3TZ8RA9X84963NMW40M",
755
- * submissionId: "sbm_01K6XFP3TZ8RA9X84963NMW40N"
771
+ * claimId: "clm_5RPQXX5FM3A83RMYPQ5X2YW7KX",
772
+ * errors: [
773
+ * {
774
+ * description: "Invalid NPI. The Billing Provider NPI of 1730289013 is invalid. The National Provider Identifier must be valid with 10 digits and no prefixes or dashes. Correct and resubmit."
775
+ * },
776
+ * {
777
+ * description: "Invalid Taxonomy Code. The taxonomy code for Billing Provider does not meet the required format. Taxonomy codes must be 10 uppercase alphanumeric characters ending with 'X'. Correct and resubmit."
778
+ * }
779
+ * ],
780
+ * submissionId: "sbm_7K4JDJKN3ABBH9MCAW6NE86DYV"
756
781
  * }
757
782
  * *\/
758
783
  * ```
@@ -0,0 +1,105 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteEventDestinationInput, DeleteEventDestinationOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteEventDestinationCommand}.
11
+ */
12
+ export interface DeleteEventDestinationCommandInput extends DeleteEventDestinationInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteEventDestinationCommand}.
18
+ */
19
+ export interface DeleteEventDestinationCommandOutput extends DeleteEventDestinationOutput, __MetadataBearer {
20
+ }
21
+ declare const DeleteEventDestinationCommand_base: {
22
+ new (input: DeleteEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventDestinationCommandInput, DeleteEventDestinationCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventDestinationCommandInput, DeleteEventDestinationCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Deletes an existing destination. This action is irreversible. Deleting a destination that is already deleted succeeds with the same response (idempotent).
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { StediClient, DeleteEventDestinationCommand } from "@stedi/sdk"; // ES Modules import
32
+ * // const { StediClient, DeleteEventDestinationCommand } = require("@stedi/sdk"); // CommonJS import
33
+ * // import type { StediClientConfig } from "@stedi/sdk";
34
+ * const config = {}; // type is StediClientConfig
35
+ * const client = new StediClient(config);
36
+ * const input = { // DeleteEventDestinationInput
37
+ * destinationId: "STRING_VALUE", // required
38
+ * idempotencyKey: "STRING_VALUE",
39
+ * };
40
+ * const command = new DeleteEventDestinationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteEventDestinationCommandInput - {@link DeleteEventDestinationCommandInput}
47
+ * @returns {@link DeleteEventDestinationCommandOutput}
48
+ * @see {@link DeleteEventDestinationCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteEventDestinationCommandOutput} for command's `response` shape.
50
+ * @see {@link StediClientResolvedConfig | config} for StediClient's `config` shape.
51
+ *
52
+ * @throws {@link AuthenticationFailedException} (client fault)
53
+ * The request credentials are missing or not valid.
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * The request conflicts with the current state of the resource.
57
+ *
58
+ * @throws {@link ForbiddenException} (client fault)
59
+ * The caller is authenticated but lacks permission for this resource or action.
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * The service failed unexpectedly. Retry with backoff.
63
+ *
64
+ * @throws {@link InvalidRequestException} (client fault)
65
+ * The request is not valid. Fix the request before retrying.
66
+ *
67
+ * @throws {@link NotFoundException} (client fault)
68
+ * The requested resource does not exist.
69
+ *
70
+ * @throws {@link TooManyRequestsException} (client fault)
71
+ * The caller has exceeded a rate limit. Retry with backoff.
72
+ *
73
+ * @throws {@link StediServiceException}
74
+ * <p>Base exception class for all service exceptions from Stedi service.</p>
75
+ *
76
+ *
77
+ * @example Delete a destination
78
+ * ```javascript
79
+ * //
80
+ * const input = {
81
+ * destinationId: "dst_550e8400-e29b-41d4-a716-446655440000",
82
+ * idempotencyKey: "c3d4e5f6-a7b8-9012-cdef-123456789012"
83
+ * };
84
+ * const command = new DeleteEventDestinationCommand(input);
85
+ * const response = await client.send(command);
86
+ * /* response is
87
+ * { /* empty *\/ }
88
+ * *\/
89
+ * ```
90
+ *
91
+ * @public
92
+ */
93
+ export declare class DeleteEventDestinationCommand extends DeleteEventDestinationCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: DeleteEventDestinationInput;
98
+ output: {};
99
+ };
100
+ sdk: {
101
+ input: DeleteEventDestinationCommandInput;
102
+ output: DeleteEventDestinationCommandOutput;
103
+ };
104
+ };
105
+ }