@icanbwell/bwell-sdk-ts 1.47.0 → 1.48.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 (34) hide show
  1. package/dist/__version__.d.ts +1 -1
  2. package/dist/__version__.js +1 -1
  3. package/dist/api/base/api-provider.d.ts +2 -0
  4. package/dist/api/base/financial/explanation-of-benefit.d.ts +32 -0
  5. package/dist/api/base/financial/explanation-of-benefit.js +66 -0
  6. package/dist/api/base/financial/financial-manager.d.ts +4 -1
  7. package/dist/api/base/index.d.ts +1 -0
  8. package/dist/api/base/index.js +1 -0
  9. package/dist/api/base/support/get-support-requests-request.d.ts +16 -0
  10. package/dist/api/base/support/get-support-requests-request.js +14 -0
  11. package/dist/api/base/support/index.d.ts +2 -0
  12. package/dist/api/base/support/index.js +2 -0
  13. package/dist/api/base/support/support-manager.d.ts +16 -0
  14. package/dist/api/base/support/support-manager.js +1 -0
  15. package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.d.ts +9 -0
  16. package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.js +23 -0
  17. package/dist/api/graphql-api/financial/graphql-financial-manager.d.ts +3 -1
  18. package/dist/api/graphql-api/financial/graphql-financial-manager.js +20 -2
  19. package/dist/api/graphql-api/graphql-api-provider.d.ts +2 -0
  20. package/dist/api/graphql-api/graphql-api-provider.js +2 -0
  21. package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.d.ts +6 -0
  22. package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.js +16 -0
  23. package/dist/api/graphql-api/support/graphql-support-manager.d.ts +15 -0
  24. package/dist/api/graphql-api/support/graphql-support-manager.js +54 -0
  25. package/dist/api/graphql-api/support/index.d.ts +1 -0
  26. package/dist/api/graphql-api/support/index.js +1 -0
  27. package/dist/bwell-sdk/bwell-sdk.d.ts +2 -0
  28. package/dist/bwell-sdk/bwell-sdk.js +3 -0
  29. package/dist/graphql/operations/index.d.ts +19 -1
  30. package/dist/graphql/operations/index.js +279 -6
  31. package/dist/graphql/operations/types.d.ts +466 -11
  32. package/dist/graphql/schema.d.ts +104 -5
  33. package/dist/graphql/schema.js +17 -0
  34. package/package.json +1 -1
@@ -188,6 +188,47 @@ export type CoverageClassFieldsFragment = {
188
188
  } | null> | null;
189
189
  } | null;
190
190
  };
191
+ export type ExplanationOfBenefitAdjudicationFieldsFragment = {
192
+ id: string | null;
193
+ value: number | null;
194
+ category: {
195
+ text: string | null;
196
+ coding: Array<{
197
+ system: any | null;
198
+ code: any | null;
199
+ display: string | null;
200
+ } | null> | null;
201
+ } | null;
202
+ reason: {
203
+ text: string | null;
204
+ coding: Array<{
205
+ system: any | null;
206
+ code: any | null;
207
+ display: string | null;
208
+ } | null> | null;
209
+ } | null;
210
+ amount: {
211
+ value: number | null;
212
+ currency: Types.CurrencyCode | null;
213
+ } | null;
214
+ };
215
+ export type MoneyResourceFieldsFragment = {
216
+ value: number | null;
217
+ currency: Types.CurrencyCode | null;
218
+ };
219
+ export type QuantityFieldsFragment = {
220
+ value: number | null;
221
+ unit: string | null;
222
+ code: any | null;
223
+ comparator: any | null;
224
+ system: any | null;
225
+ };
226
+ export type AttachmentFieldsFragment = {
227
+ contentType: any | null;
228
+ data: any | null;
229
+ url: any | null;
230
+ title: string | null;
231
+ };
191
232
  export type NarrativeFieldsFragment = {
192
233
  div: any | null;
193
234
  status: any | null;
@@ -1875,13 +1916,6 @@ export type ValueFieldsFragment = {
1875
1916
  end: any | null;
1876
1917
  } | null;
1877
1918
  };
1878
- export type QuantityFieldsFragment = {
1879
- value: number | null;
1880
- unit: string | null;
1881
- code: any | null;
1882
- comparator: any | null;
1883
- system: any | null;
1884
- };
1885
1919
  export type RatioFieldsFragment = {
1886
1920
  numerator: {
1887
1921
  value: number | null;
@@ -5033,10 +5067,6 @@ export type DoseAndRateFieldsFragment = {
5033
5067
  } | null;
5034
5068
  } | null;
5035
5069
  };
5036
- export type MoneyResourceFieldsFragment = {
5037
- value: number | null;
5038
- currency: Types.CurrencyCode | null;
5039
- };
5040
5070
  export type MedicationDispenseFieldsFragment = {
5041
5071
  id: string | null;
5042
5072
  numberOfRepeatsAllowed: number | null;
@@ -7277,6 +7307,410 @@ export type GetCoveragesQueryResults = {
7277
7307
  } | null> | null;
7278
7308
  } | null;
7279
7309
  };
7310
+ export type GetExplanationOfBenefitsQueryVariables = Types.Exact<{
7311
+ id: Types.InputMaybe<Types.SearchString>;
7312
+ lastUpdated: Types.InputMaybe<Types.SearchDate>;
7313
+ page: Types.InputMaybe<Types.Scalars['Int']['input']>;
7314
+ pageSize: Types.InputMaybe<Types.Scalars['Int']['input']>;
7315
+ patient: Types.InputMaybe<Types.SearchReference>;
7316
+ provider: Types.InputMaybe<Types.SearchReference>;
7317
+ coverage: Types.InputMaybe<Types.SearchReference>;
7318
+ status: Types.InputMaybe<Types.SearchToken>;
7319
+ created: Types.InputMaybe<Types.SearchDate>;
7320
+ sort: Types.InputMaybe<Array<Types.InputMaybe<Types.Scalars['String']['input']>> | Types.InputMaybe<Types.Scalars['String']['input']>>;
7321
+ total: Types.InputMaybe<Types.TotalType>;
7322
+ }>;
7323
+ export type GetExplanationOfBenefitsQueryResults = {
7324
+ explanationOfBenefits: {
7325
+ id: string | null;
7326
+ total: number | null;
7327
+ entry: Array<{
7328
+ id: string | null;
7329
+ resource: {
7330
+ id: string;
7331
+ status: any | null;
7332
+ use: any | null;
7333
+ outcome: any | null;
7334
+ created: any | null;
7335
+ meta: {
7336
+ versionId: string | null;
7337
+ lastUpdated: any | null;
7338
+ source: any | null;
7339
+ security: Array<{
7340
+ system: any | null;
7341
+ code: any | null;
7342
+ display: string | null;
7343
+ } | null> | null;
7344
+ tag: Array<{
7345
+ system: any | null;
7346
+ code: any | null;
7347
+ display: string | null;
7348
+ } | null> | null;
7349
+ } | null;
7350
+ identifier: Array<{
7351
+ id: string | null;
7352
+ system: any | null;
7353
+ value: string | null;
7354
+ type: {
7355
+ text: string | null;
7356
+ coding: Array<{
7357
+ system: any | null;
7358
+ code: any | null;
7359
+ display: string | null;
7360
+ } | null> | null;
7361
+ } | null;
7362
+ } | null> | null;
7363
+ type: {
7364
+ text: string | null;
7365
+ coding: Array<{
7366
+ system: any | null;
7367
+ code: any | null;
7368
+ display: string | null;
7369
+ } | null> | null;
7370
+ } | null;
7371
+ patient: {
7372
+ reference: string | null;
7373
+ type: any | null;
7374
+ display: string | null;
7375
+ } | null;
7376
+ adjudication: Array<{
7377
+ id: string | null;
7378
+ value: number | null;
7379
+ category: {
7380
+ text: string | null;
7381
+ coding: Array<{
7382
+ system: any | null;
7383
+ code: any | null;
7384
+ display: string | null;
7385
+ } | null> | null;
7386
+ } | null;
7387
+ reason: {
7388
+ text: string | null;
7389
+ coding: Array<{
7390
+ system: any | null;
7391
+ code: any | null;
7392
+ display: string | null;
7393
+ } | null> | null;
7394
+ } | null;
7395
+ amount: {
7396
+ value: number | null;
7397
+ currency: Types.CurrencyCode | null;
7398
+ } | null;
7399
+ } | null> | null;
7400
+ billablePeriod: {
7401
+ start: any | null;
7402
+ end: any | null;
7403
+ } | null;
7404
+ benefitPeriod: {
7405
+ start: any | null;
7406
+ end: any | null;
7407
+ } | null;
7408
+ insurer: {
7409
+ reference: string | null;
7410
+ type: any | null;
7411
+ display: string | null;
7412
+ } | null;
7413
+ provider: {
7414
+ reference: string | null;
7415
+ type: any | null;
7416
+ display: string | null;
7417
+ } | null;
7418
+ related: Array<{
7419
+ relationship: {
7420
+ text: string | null;
7421
+ coding: Array<{
7422
+ system: any | null;
7423
+ code: any | null;
7424
+ display: string | null;
7425
+ } | null> | null;
7426
+ } | null;
7427
+ reference: {
7428
+ id: string | null;
7429
+ system: any | null;
7430
+ value: string | null;
7431
+ type: {
7432
+ text: string | null;
7433
+ coding: Array<{
7434
+ system: any | null;
7435
+ code: any | null;
7436
+ display: string | null;
7437
+ } | null> | null;
7438
+ } | null;
7439
+ } | null;
7440
+ } | null> | null;
7441
+ payee: {
7442
+ type: {
7443
+ text: string | null;
7444
+ coding: Array<{
7445
+ system: any | null;
7446
+ code: any | null;
7447
+ display: string | null;
7448
+ } | null> | null;
7449
+ } | null;
7450
+ party: {
7451
+ reference: string | null;
7452
+ type: any | null;
7453
+ display: string | null;
7454
+ } | null;
7455
+ } | null;
7456
+ careTeam: Array<{
7457
+ id: string | null;
7458
+ sequence: number | null;
7459
+ provider: {
7460
+ reference: string | null;
7461
+ type: any | null;
7462
+ display: string | null;
7463
+ } | null;
7464
+ qualification: {
7465
+ text: string | null;
7466
+ coding: Array<{
7467
+ system: any | null;
7468
+ code: any | null;
7469
+ display: string | null;
7470
+ } | null> | null;
7471
+ } | null;
7472
+ role: {
7473
+ text: string | null;
7474
+ coding: Array<{
7475
+ system: any | null;
7476
+ code: any | null;
7477
+ display: string | null;
7478
+ } | null> | null;
7479
+ } | null;
7480
+ } | null> | null;
7481
+ supportingInfo: Array<{
7482
+ sequence: number | null;
7483
+ timingDate: any | null;
7484
+ valueBoolean: boolean | null;
7485
+ valueString: string | null;
7486
+ category: {
7487
+ text: string | null;
7488
+ coding: Array<{
7489
+ system: any | null;
7490
+ code: any | null;
7491
+ display: string | null;
7492
+ } | null> | null;
7493
+ } | null;
7494
+ code: {
7495
+ text: string | null;
7496
+ coding: Array<{
7497
+ system: any | null;
7498
+ code: any | null;
7499
+ display: string | null;
7500
+ } | null> | null;
7501
+ } | null;
7502
+ timingPeriod: {
7503
+ start: any | null;
7504
+ end: any | null;
7505
+ } | null;
7506
+ valueQuantity: {
7507
+ value: number | null;
7508
+ unit: string | null;
7509
+ code: any | null;
7510
+ comparator: any | null;
7511
+ system: any | null;
7512
+ } | null;
7513
+ valueAttachment: {
7514
+ contentType: any | null;
7515
+ data: any | null;
7516
+ url: any | null;
7517
+ title: string | null;
7518
+ } | null;
7519
+ valueReference: {
7520
+ reference: string | null;
7521
+ type: any | null;
7522
+ display: string | null;
7523
+ } | null;
7524
+ reason: {
7525
+ system: any | null;
7526
+ code: any | null;
7527
+ display: string | null;
7528
+ } | null;
7529
+ } | null> | null;
7530
+ insurance: Array<{
7531
+ focal: boolean | null;
7532
+ coverage: {
7533
+ reference: string | null;
7534
+ type: any | null;
7535
+ display: string | null;
7536
+ } | null;
7537
+ } | null> | null;
7538
+ payment: {
7539
+ id: string | null;
7540
+ date: any | null;
7541
+ adjustment: {
7542
+ value: number | null;
7543
+ currency: Types.CurrencyCode | null;
7544
+ } | null;
7545
+ amount: {
7546
+ value: number | null;
7547
+ currency: Types.CurrencyCode | null;
7548
+ } | null;
7549
+ type: {
7550
+ text: string | null;
7551
+ coding: Array<{
7552
+ system: any | null;
7553
+ code: any | null;
7554
+ display: string | null;
7555
+ } | null> | null;
7556
+ } | null;
7557
+ } | null;
7558
+ processNote: Array<{
7559
+ type: any | null;
7560
+ text: string | null;
7561
+ } | null> | null;
7562
+ diagnosis: Array<{
7563
+ id: string | null;
7564
+ sequence: number | null;
7565
+ diagnosisCodeableConcept: {
7566
+ text: string | null;
7567
+ coding: Array<{
7568
+ system: any | null;
7569
+ code: any | null;
7570
+ display: string | null;
7571
+ } | null> | null;
7572
+ } | null;
7573
+ diagnosisReference: {
7574
+ reference: string | null;
7575
+ type: any | null;
7576
+ display: string | null;
7577
+ } | null;
7578
+ type: Array<{
7579
+ text: string | null;
7580
+ coding: Array<{
7581
+ system: any | null;
7582
+ code: any | null;
7583
+ display: string | null;
7584
+ } | null> | null;
7585
+ } | null> | null;
7586
+ onAdmission: {
7587
+ text: string | null;
7588
+ coding: Array<{
7589
+ system: any | null;
7590
+ code: any | null;
7591
+ display: string | null;
7592
+ } | null> | null;
7593
+ } | null;
7594
+ packageCode: {
7595
+ text: string | null;
7596
+ coding: Array<{
7597
+ system: any | null;
7598
+ code: any | null;
7599
+ display: string | null;
7600
+ } | null> | null;
7601
+ } | null;
7602
+ } | null> | null;
7603
+ item: Array<{
7604
+ id: string | null;
7605
+ sequence: number | null;
7606
+ noteNumber: Array<number | null> | null;
7607
+ servicedDate: any | null;
7608
+ bodySite: {
7609
+ text: string | null;
7610
+ coding: Array<{
7611
+ system: any | null;
7612
+ code: any | null;
7613
+ display: string | null;
7614
+ } | null> | null;
7615
+ } | null;
7616
+ adjudication: Array<{
7617
+ id: string | null;
7618
+ value: number | null;
7619
+ category: {
7620
+ text: string | null;
7621
+ coding: Array<{
7622
+ system: any | null;
7623
+ code: any | null;
7624
+ display: string | null;
7625
+ } | null> | null;
7626
+ } | null;
7627
+ reason: {
7628
+ text: string | null;
7629
+ coding: Array<{
7630
+ system: any | null;
7631
+ code: any | null;
7632
+ display: string | null;
7633
+ } | null> | null;
7634
+ } | null;
7635
+ amount: {
7636
+ value: number | null;
7637
+ currency: Types.CurrencyCode | null;
7638
+ } | null;
7639
+ } | null> | null;
7640
+ locationCodeableConcept: {
7641
+ text: string | null;
7642
+ coding: Array<{
7643
+ system: any | null;
7644
+ code: any | null;
7645
+ display: string | null;
7646
+ } | null> | null;
7647
+ } | null;
7648
+ modifier: Array<{
7649
+ text: string | null;
7650
+ coding: Array<{
7651
+ system: any | null;
7652
+ code: any | null;
7653
+ display: string | null;
7654
+ } | null> | null;
7655
+ } | null> | null;
7656
+ net: {
7657
+ value: number | null;
7658
+ currency: Types.CurrencyCode | null;
7659
+ } | null;
7660
+ productOrService: {
7661
+ text: string | null;
7662
+ coding: Array<{
7663
+ system: any | null;
7664
+ code: any | null;
7665
+ display: string | null;
7666
+ } | null> | null;
7667
+ } | null;
7668
+ quantity: {
7669
+ value: number | null;
7670
+ unit: string | null;
7671
+ code: any | null;
7672
+ comparator: any | null;
7673
+ system: any | null;
7674
+ } | null;
7675
+ revenue: {
7676
+ text: string | null;
7677
+ coding: Array<{
7678
+ system: any | null;
7679
+ code: any | null;
7680
+ display: string | null;
7681
+ } | null> | null;
7682
+ } | null;
7683
+ servicedPeriod: {
7684
+ start: any | null;
7685
+ end: any | null;
7686
+ } | null;
7687
+ } | null> | null;
7688
+ subType: {
7689
+ text: string | null;
7690
+ coding: Array<{
7691
+ system: any | null;
7692
+ code: any | null;
7693
+ display: string | null;
7694
+ } | null> | null;
7695
+ } | null;
7696
+ total: Array<{
7697
+ amount: {
7698
+ value: number | null;
7699
+ currency: Types.CurrencyCode | null;
7700
+ } | null;
7701
+ category: {
7702
+ text: string | null;
7703
+ coding: Array<{
7704
+ system: any | null;
7705
+ code: any | null;
7706
+ display: string | null;
7707
+ } | null> | null;
7708
+ } | null;
7709
+ } | null> | null;
7710
+ } | null;
7711
+ } | null> | null;
7712
+ } | null;
7713
+ };
7280
7714
  export type GetBinaryQueryVariables = Types.Exact<{
7281
7715
  request: Types.BinaryRequest;
7282
7716
  }>;
@@ -21584,6 +22018,27 @@ export type SearchHealthResourcesQueryResults = {
21584
22018
  } | null> | null;
21585
22019
  };
21586
22020
  };
22021
+ export type GetSupportRequestsQueryVariables = Types.Exact<{
22022
+ input: Types.InputMaybe<Types.SupportRequestsInput>;
22023
+ }>;
22024
+ export type GetSupportRequestsQueryResults = {
22025
+ getSupportRequests: {
22026
+ paging_info: {
22027
+ page_number: number;
22028
+ page_size: number;
22029
+ total_pages: number;
22030
+ total_items: number;
22031
+ };
22032
+ data: Array<{
22033
+ category: string;
22034
+ created: string | null;
22035
+ id: number;
22036
+ lastActivity: string | null;
22037
+ status: Types.RequestStatus;
22038
+ subject: string;
22039
+ } | null> | null;
22040
+ };
22041
+ };
21587
22042
  export type CreateConsentMutationVariables = Types.Exact<{
21588
22043
  consentInput: Types.ConsentInput;
21589
22044
  }>;