@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
@@ -0,0 +1,105 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetEventDestinationSecretInput, GetEventDestinationSecretOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetEventDestinationSecretCommand}.
11
+ */
12
+ export interface GetEventDestinationSecretCommandInput extends GetEventDestinationSecretInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetEventDestinationSecretCommand}.
18
+ */
19
+ export interface GetEventDestinationSecretCommandOutput extends GetEventDestinationSecretOutput, __MetadataBearer {
20
+ }
21
+ declare const GetEventDestinationSecretCommand_base: {
22
+ new (input: GetEventDestinationSecretCommandInput): import("@smithy/core/client").CommandImpl<GetEventDestinationSecretCommandInput, GetEventDestinationSecretCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetEventDestinationSecretCommandInput): import("@smithy/core/client").CommandImpl<GetEventDestinationSecretCommandInput, GetEventDestinationSecretCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Retrieves the current signing secret for a destination. Use this secret to verify the authenticity of event payloads.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { StediClient, GetEventDestinationSecretCommand } from "@stedi/sdk"; // ES Modules import
32
+ * // const { StediClient, GetEventDestinationSecretCommand } = 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 = { // GetEventDestinationSecretInput
37
+ * destinationId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetEventDestinationSecretCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetEventDestinationSecretOutput
42
+ * // signingSecret: "STRING_VALUE", // required
43
+ * // previousSecretExpiresAt: new Date("TIMESTAMP"),
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param GetEventDestinationSecretCommandInput - {@link GetEventDestinationSecretCommandInput}
49
+ * @returns {@link GetEventDestinationSecretCommandOutput}
50
+ * @see {@link GetEventDestinationSecretCommandInput} for command's `input` shape.
51
+ * @see {@link GetEventDestinationSecretCommandOutput} for command's `response` shape.
52
+ * @see {@link StediClientResolvedConfig | config} for StediClient's `config` shape.
53
+ *
54
+ * @throws {@link AuthenticationFailedException} (client fault)
55
+ * The request credentials are missing or not valid.
56
+ *
57
+ * @throws {@link ForbiddenException} (client fault)
58
+ * The caller is authenticated but lacks permission for this resource or action.
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * The service failed unexpectedly. Retry with backoff.
62
+ *
63
+ * @throws {@link InvalidRequestException} (client fault)
64
+ * The request is not valid. Fix the request before retrying.
65
+ *
66
+ * @throws {@link NotFoundException} (client fault)
67
+ * The requested resource does not exist.
68
+ *
69
+ * @throws {@link TooManyRequestsException} (client fault)
70
+ * The caller has exceeded a rate limit. Retry with backoff.
71
+ *
72
+ * @throws {@link StediServiceException}
73
+ * <p>Base exception class for all service exceptions from Stedi service.</p>
74
+ *
75
+ *
76
+ * @example Get destination secret
77
+ * ```javascript
78
+ * //
79
+ * const input = {
80
+ * destinationId: "dst_550e8400-e29b-41d4-a716-446655440000"
81
+ * };
82
+ * const command = new GetEventDestinationSecretCommand(input);
83
+ * const response = await client.send(command);
84
+ * /* response is
85
+ * {
86
+ * signingSecret: "whsec_YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY="
87
+ * }
88
+ * *\/
89
+ * ```
90
+ *
91
+ * @public
92
+ */
93
+ export declare class GetEventDestinationSecretCommand extends GetEventDestinationSecretCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: GetEventDestinationSecretInput;
98
+ output: GetEventDestinationSecretOutput;
99
+ };
100
+ sdk: {
101
+ input: GetEventDestinationSecretCommandInput;
102
+ output: GetEventDestinationSecretCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -24,7 +24,7 @@ declare const GetProfessionalClaimSubmissionCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * Fetch a professional claim submission by ID.
27
+ * Retrieve a claim's data and map it to Stedi's CMS-1500 JSON format
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -332,6 +332,15 @@ declare const GetProfessionalClaimSubmissionCommand_base: {
332
332
  * // commercialNumber: "STRING_VALUE",
333
333
  * // },
334
334
  * // },
335
+ * // purchasedService: { // ProfessionalClaimSubmissionPurchasedService
336
+ * // chargeAmount: "STRING_VALUE", // required
337
+ * // provider: { // ProfessionalClaimSubmissionPurchasedServiceProvider
338
+ * // entityType: "PERSON" || "ORGANIZATION", // required
339
+ * // identifiers: { // ProfessionalClaimSubmissionPurchasedServiceProviderIdentifiers
340
+ * // npi: "STRING_VALUE", // required
341
+ * // },
342
+ * // },
343
+ * // },
335
344
  * // lineItemControlNumber: "STRING_VALUE",
336
345
  * // drugIdentification: { // ProfessionalClaimSubmissionDrugIdentification
337
346
  * // nationalDrugCode: "STRING_VALUE", // required
@@ -416,13 +425,349 @@ declare const GetProfessionalClaimSubmissionCommand_base: {
416
425
  * @throws {@link TooManyRequestsException} (client fault)
417
426
  * The caller has exceeded a rate limit. Retry with backoff.
418
427
  *
419
- * @throws {@link InternalFailureException} (server fault)
420
- * The server response when an unexpected error occurred while processing request.
421
- *
422
428
  * @throws {@link StediServiceException}
423
429
  * <p>Base exception class for all service exceptions from Stedi service.</p>
424
430
  *
425
431
  *
432
+ * @example Fetch a professional claim submission
433
+ * ```javascript
434
+ * //
435
+ * const input = {
436
+ * id: "sbm_01K6XFP3TZ8RA9X84963NMW40N"
437
+ * };
438
+ * const command = new GetProfessionalClaimSubmissionCommand(input);
439
+ * const response = await client.send(command);
440
+ * /* response is
441
+ * {
442
+ * claimId: "clm_01K6XFP3TZ8RA9X84963NMW40M",
443
+ * data: {
444
+ * authorization: {
445
+ * insuredAuthorizesAssignment: "YES",
446
+ * patientReleasesMedicalInfo: "YES",
447
+ * providerAcceptsAssignment: "ASSIGNED",
448
+ * providerSignature: "ON_FILE"
449
+ * },
450
+ * billing: {
451
+ * amountPaid: "100.00",
452
+ * billingProvider: {
453
+ * address: {
454
+ * addressLine1: "501 Main Street",
455
+ * city: "Springfield",
456
+ * postalCode: "627010500",
457
+ * state: "IL"
458
+ * },
459
+ * contact: {
460
+ * phoneNumber: "2175558800"
461
+ * },
462
+ * identifiers: {
463
+ * locationNumber: "LOC-001",
464
+ * npi: "1730289013",
465
+ * taxonomyCode: "207Q00000X"
466
+ * },
467
+ * name: {
468
+ * organization: "Springfield Family Medical Center"
469
+ * }
470
+ * },
471
+ * patientControlNumber: "CLM-2026-04219",
472
+ * serviceFacility: {
473
+ * address: {
474
+ * addressLine1: "501 Main Street",
475
+ * city: "Springfield",
476
+ * postalCode: "627010500",
477
+ * state: "IL"
478
+ * },
479
+ * identifiers: {
480
+ * npi: "1730289013",
481
+ * stateLicenseNumber: "IL-FAC-77821"
482
+ * },
483
+ * name: {
484
+ * organization: "Springfield Family Medical Center"
485
+ * }
486
+ * },
487
+ * taxId: {
488
+ * ein: "841234567"
489
+ * },
490
+ * totalCharge: "1432.50"
491
+ * },
492
+ * encounter: {
493
+ * attachments: [
494
+ * {
495
+ * attachmentControlNumber: "PWK-2026-0001",
496
+ * attachmentId: "1f2e3d4c-5b6a-7980-9abc-def012345678",
497
+ * reportTypeCode: "PROGRESS_REPORT",
498
+ * transmissionCode: "ELECTRONICALLY_ONLY"
499
+ * }
500
+ * ],
501
+ * claimCodes: [
502
+ * "AV"
503
+ * ],
504
+ * claimNote: {
505
+ * additionalInformation: "Patient presented with persistent cough and bronchospasm; treated in office."
506
+ * },
507
+ * clinicalDates: {
508
+ * hospitalization: {
509
+ * end: "2026-03-06",
510
+ * start: "2026-03-04"
511
+ * },
512
+ * initialTreatment: "2026-03-03",
513
+ * onsetOfCurrentIllness: "2026-03-02",
514
+ * unableToWork: {
515
+ * end: "2026-03-10",
516
+ * start: "2026-03-03"
517
+ * }
518
+ * },
519
+ * patientCondition: {
520
+ * isAutoAccidentRelated: false,
521
+ * isEmploymentRelated: false,
522
+ * isOtherAccidentRelated: false
523
+ * },
524
+ * primaryDiagnosisCode: "J0190",
525
+ * priorReferringProvider: {
526
+ * identifiers: {
527
+ * npi: "1083827763"
528
+ * },
529
+ * name: {
530
+ * person: {
531
+ * firstName: "David",
532
+ * lastName: "Kim"
533
+ * }
534
+ * }
535
+ * },
536
+ * referenceNumbers: {
537
+ * clia: "14D2089999",
538
+ * priorAuthorization: "PA-2026-77831",
539
+ * referral: "REF-55421"
540
+ * },
541
+ * referringProvider: {
542
+ * identifiers: {
543
+ * npi: "1245319599",
544
+ * stateLicenseNumber: "IL-MD-44512"
545
+ * },
546
+ * name: {
547
+ * person: {
548
+ * firstName: "Maya",
549
+ * lastName: "Patel"
550
+ * }
551
+ * }
552
+ * },
553
+ * resubmission: {
554
+ * code: "REPLACEMENT_OF_PRIOR_CLAIM",
555
+ * originalReferenceNumber: "CLM-ORIG-998877"
556
+ * },
557
+ * supervisingProvider: {
558
+ * identifiers: {
559
+ * npi: "1396718825"
560
+ * },
561
+ * name: {
562
+ * person: {
563
+ * firstName: "Elena",
564
+ * lastName: "Rossi"
565
+ * }
566
+ * }
567
+ * }
568
+ * },
569
+ * insured: {
570
+ * address: {
571
+ * addressLine1: "742 Evergreen Terrace",
572
+ * addressLine2: "Apt 3B",
573
+ * city: "Springfield",
574
+ * postalCode: "627010001",
575
+ * state: "IL"
576
+ * },
577
+ * dateOfBirth: "1982-04-12",
578
+ * gender: "FEMALE",
579
+ * insuranceType: "OTHER",
580
+ * memberId: "W123456789",
581
+ * name: {
582
+ * person: {
583
+ * firstName: "Sarah",
584
+ * lastName: "Johnson",
585
+ * middleName: "A"
586
+ * }
587
+ * },
588
+ * paymentResponsibilityLevelCode: "PRIMARY",
589
+ * planName: "Aetna Choice POS II",
590
+ * policyOrGroupNumber: "GRP-AETNA-987654",
591
+ * ssn: "111223333"
592
+ * },
593
+ * otherInsured: [
594
+ * {
595
+ * address: {
596
+ * addressLine1: "742 Evergreen Terrace",
597
+ * addressLine2: "Apt 3B",
598
+ * city: "Springfield",
599
+ * postalCode: "627010001",
600
+ * state: "IL"
601
+ * },
602
+ * authorization: {
603
+ * insuredAuthorizesAssignment: "YES",
604
+ * patientReleasesMedicalInfo: "YES",
605
+ * providerGeneratedPatientSignature: false
606
+ * },
607
+ * claimFilingIndicator: "BLUE_CROSS_BLUE_SHIELD",
608
+ * memberId: "BCBS-IL-554433221",
609
+ * name: {
610
+ * person: {
611
+ * firstName: "Michael",
612
+ * lastName: "Johnson"
613
+ * }
614
+ * },
615
+ * otherPayer: {
616
+ * id: {
617
+ * payerId: "00621"
618
+ * },
619
+ * name: {
620
+ * organization: "Blue Cross Blue Shield of Illinois"
621
+ * }
622
+ * },
623
+ * planName: "BCBS PPO",
624
+ * policyOrGroupNumber: "BCBS-GRP-3344",
625
+ * relationshipToInsured: "SPOUSE",
626
+ * responsibilityLevel: "SECONDARY"
627
+ * }
628
+ * ],
629
+ * patient: {
630
+ * address: {
631
+ * addressLine1: "742 Evergreen Terrace",
632
+ * addressLine2: "Apt 3B",
633
+ * city: "Springfield",
634
+ * postalCode: "627010001",
635
+ * state: "IL"
636
+ * },
637
+ * dateOfBirth: "2015-08-21",
638
+ * gender: "MALE",
639
+ * name: {
640
+ * person: {
641
+ * firstName: "Liam",
642
+ * lastName: "Johnson"
643
+ * }
644
+ * },
645
+ * relationshipToInsured: "CHILD"
646
+ * },
647
+ * payer: {
648
+ * address: {
649
+ * addressLine1: "151 Farmington Avenue",
650
+ * city: "Hartford",
651
+ * postalCode: "06156",
652
+ * state: "CT"
653
+ * },
654
+ * id: "60054",
655
+ * name: {
656
+ * organization: "Aetna"
657
+ * },
658
+ * receiverId: "60054"
659
+ * },
660
+ * purpose: "CHARGEABLE",
661
+ * serviceLines: [
662
+ * {
663
+ * datesOfService: {
664
+ * end: "2026-03-03",
665
+ * start: "2026-03-03"
666
+ * },
667
+ * diagnosisCodes: [
668
+ * "J0190",
669
+ * "R0602"
670
+ * ],
671
+ * isEmergency: false,
672
+ * lineItemChargeAmount: "185.00",
673
+ * lineItemControlNumber: "LN-0001",
674
+ * placeOfService: "11",
675
+ * procedureCode: {
676
+ * code: "99213",
677
+ * modifiers: [
678
+ * "25"
679
+ * ]
680
+ * },
681
+ * renderingProvider: {
682
+ * identifiers: {
683
+ * npi: "1396718825",
684
+ * taxonomyCode: "207Q00000X"
685
+ * },
686
+ * name: {
687
+ * person: {
688
+ * firstName: "Elena",
689
+ * lastName: "Rossi"
690
+ * }
691
+ * }
692
+ * },
693
+ * units: "1"
694
+ * },
695
+ * {
696
+ * datesOfService: {
697
+ * end: "2026-03-03",
698
+ * start: "2026-03-03"
699
+ * },
700
+ * diagnosisCodes: [
701
+ * "J0190"
702
+ * ],
703
+ * drugIdentification: {
704
+ * associationNumber: {
705
+ * pharmacyPrescriptionNumber: "RX-2026-118822"
706
+ * },
707
+ * nationalDrugCode: "00409120130",
708
+ * unitCount: "300",
709
+ * unitOfMeasure: "MILLIGRAM"
710
+ * },
711
+ * isEmergency: false,
712
+ * lineItemChargeAmount: "1247.50",
713
+ * lineItemControlNumber: "LN-0002",
714
+ * orderingProvider: {
715
+ * identifiers: {
716
+ * npi: "1245319599"
717
+ * },
718
+ * name: {
719
+ * person: {
720
+ * firstName: "Maya",
721
+ * lastName: "Patel"
722
+ * }
723
+ * }
724
+ * },
725
+ * placeOfService: "11",
726
+ * priorAuthorizations: [
727
+ * {
728
+ * otherPayerPrimaryId: "60054",
729
+ * priorAuthorizationNumber: "PA-2026-77831"
730
+ * }
731
+ * ],
732
+ * procedureCode: {
733
+ * code: "J1885",
734
+ * modifiers: [
735
+ * "JW"
736
+ * ]
737
+ * },
738
+ * renderingProvider: {
739
+ * identifiers: {
740
+ * npi: "1396718825"
741
+ * },
742
+ * name: {
743
+ * person: {
744
+ * firstName: "Elena",
745
+ * lastName: "Rossi"
746
+ * }
747
+ * }
748
+ * },
749
+ * units: "10"
750
+ * }
751
+ * ],
752
+ * submitter: {
753
+ * contact: {
754
+ * email: "billing@acmehealth.example",
755
+ * faxNumber: "3135551235",
756
+ * phoneNumber: "3135551234"
757
+ * },
758
+ * etin: "SUBMITTER0001",
759
+ * name: {
760
+ * organization: "Acme Health Billing"
761
+ * }
762
+ * }
763
+ * },
764
+ * processedAt: "2026-03-03T15:30:00Z",
765
+ * stediPayerId: "AETNA",
766
+ * submissionId: "sbm_01K6XFP3TZ8RA9X84963NMW40N"
767
+ * }
768
+ * *\/
769
+ * ```
770
+ *
426
771
  * @internal
427
772
  */
428
773
  export declare class GetProfessionalClaimSubmissionCommand extends GetProfessionalClaimSubmissionCommand_base {
@@ -0,0 +1,169 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListClaimsInput, ListClaimsOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListClaimsCommand}.
11
+ */
12
+ export interface ListClaimsCommandInput extends ListClaimsInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListClaimsCommand}.
18
+ */
19
+ export interface ListClaimsCommandOutput extends ListClaimsOutput, __MetadataBearer {
20
+ }
21
+ declare const ListClaimsCommand_base: {
22
+ new (input: ListClaimsCommandInput): import("@smithy/core/client").CommandImpl<ListClaimsCommandInput, ListClaimsCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListClaimsCommandInput]): import("@smithy/core/client").CommandImpl<ListClaimsCommandInput, ListClaimsCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Retrieve a paginated list of claim records, newest first. Filter by status, patient control numbers, or submission time
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { StediClient, ListClaimsCommand } from "@stedi/sdk"; // ES Modules import
32
+ * // const { StediClient, ListClaimsCommand } = 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 = { // ListClaimsInput
37
+ * pageSize: Number("int"),
38
+ * pageToken: "STRING_VALUE",
39
+ * status: [ // ClaimStatusList
40
+ * "SUBMITTED" || "RECEIVED" || "ACCEPTED" || "REJECTED" || "PROCESSED" || "DENIED" || "UNKNOWN",
41
+ * ],
42
+ * patientControlNumbers: [ // ClaimPatientControlNumbersList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * submittedAfter: new Date("TIMESTAMP"),
46
+ * submittedBefore: new Date("TIMESTAMP"),
47
+ * };
48
+ * const command = new ListClaimsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ListClaimsOutput
51
+ * // nextPageToken: "STRING_VALUE",
52
+ * // items: [ // ClaimSummaries // required
53
+ * // { // ClaimSummary
54
+ * // id: "STRING_VALUE", // required
55
+ * // stediPayerId: "STRING_VALUE",
56
+ * // patientControlNumber: "STRING_VALUE", // required
57
+ * // patientName: { // ClaimPatientName
58
+ * // firstName: "STRING_VALUE",
59
+ * // middleName: "STRING_VALUE",
60
+ * // lastName: "STRING_VALUE",
61
+ * // suffix: "STRING_VALUE",
62
+ * // },
63
+ * // status: "SUBMITTED" || "RECEIVED" || "ACCEPTED" || "REJECTED" || "PROCESSED" || "DENIED" || "UNKNOWN", // required
64
+ * // statusReportedBy: "PAYER" || "CLEARINGHOUSE", // required
65
+ * // type: "DENTAL" || "INSTITUTIONAL" || "PROFESSIONAL", // required
66
+ * // totalClaimChargeAmount: "STRING_VALUE", // required
67
+ * // totalClaimPaidAmount: "STRING_VALUE",
68
+ * // datesOfService: { // ClaimDateRange
69
+ * // start: "STRING_VALUE", // required
70
+ * // end: "STRING_VALUE",
71
+ * // },
72
+ * // submittedAt: new Date("TIMESTAMP"), // required
73
+ * // },
74
+ * // ],
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param ListClaimsCommandInput - {@link ListClaimsCommandInput}
80
+ * @returns {@link ListClaimsCommandOutput}
81
+ * @see {@link ListClaimsCommandInput} for command's `input` shape.
82
+ * @see {@link ListClaimsCommandOutput} for command's `response` shape.
83
+ * @see {@link StediClientResolvedConfig | config} for StediClient's `config` shape.
84
+ *
85
+ * @throws {@link AuthenticationFailedException} (client fault)
86
+ * The request credentials are missing or not valid.
87
+ *
88
+ * @throws {@link ForbiddenException} (client fault)
89
+ * The caller is authenticated but lacks permission for this resource or action.
90
+ *
91
+ * @throws {@link InternalServerException} (server fault)
92
+ * The service failed unexpectedly. Retry with backoff.
93
+ *
94
+ * @throws {@link InvalidRequestException} (client fault)
95
+ * The request is not valid. Fix the request before retrying.
96
+ *
97
+ * @throws {@link TooManyRequestsException} (client fault)
98
+ * The caller has exceeded a rate limit. Retry with backoff.
99
+ *
100
+ * @throws {@link StediServiceException}
101
+ * <p>Base exception class for all service exceptions from Stedi service.</p>
102
+ *
103
+ *
104
+ * @example List claims
105
+ * ```javascript
106
+ * //
107
+ * const input = {
108
+ * pageSize: 100
109
+ * };
110
+ * const command = new ListClaimsCommand(input);
111
+ * const response = await client.send(command);
112
+ * /* response is
113
+ * {
114
+ * items: [
115
+ * {
116
+ * datesOfService: {
117
+ * start: "2026-01-05"
118
+ * },
119
+ * id: "clm_01K6XFP3TZ8RA9X84963NMW40N",
120
+ * patientControlNumber: "123456",
121
+ * patientName: {
122
+ * firstName: "John",
123
+ * lastName: "Doe",
124
+ * middleName: "Michael",
125
+ * suffix: "Jr"
126
+ * },
127
+ * status: "PROCESSED",
128
+ * statusReportedBy: "PAYER",
129
+ * stediPayerId: "ABCDE",
130
+ * submittedAt: "2026-01-16T10:00:00Z",
131
+ * totalClaimChargeAmount: "832.00",
132
+ * totalClaimPaidAmount: "200.00",
133
+ * type: "PROFESSIONAL"
134
+ * },
135
+ * {
136
+ * id: "clm_01K6XFP3TZ8RA9X84963NMW41P",
137
+ * patientControlNumber: "123457",
138
+ * patientName: {
139
+ * firstName: "Jane",
140
+ * lastName: "Doe"
141
+ * },
142
+ * status: "SUBMITTED",
143
+ * statusReportedBy: "CLEARINGHOUSE",
144
+ * stediPayerId: "ABCDE",
145
+ * submittedAt: "2026-01-06T10:00:00Z",
146
+ * totalClaimChargeAmount: "125.00",
147
+ * type: "PROFESSIONAL"
148
+ * }
149
+ * ],
150
+ * nextPageToken: "eyJsYXN0SWQiOiIwMUs2WEZQMyJ9"
151
+ * }
152
+ * *\/
153
+ * ```
154
+ *
155
+ * @internal
156
+ */
157
+ export declare class ListClaimsCommand extends ListClaimsCommand_base {
158
+ /** @internal type navigation helper, not in runtime. */
159
+ protected static __types: {
160
+ api: {
161
+ input: ListClaimsInput;
162
+ output: ListClaimsOutput;
163
+ };
164
+ sdk: {
165
+ input: ListClaimsCommandInput;
166
+ output: ListClaimsCommandOutput;
167
+ };
168
+ };
169
+ }