didit-sdk 2.28.0 → 2.30.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.
@@ -292,6 +292,461 @@ module Didit
292
292
  VALUES: Array[String]
293
293
  end
294
294
 
295
+ module BankAccountHolderRole
296
+ HOLDER: String
297
+ JOINT_HOLDER: String
298
+ REPRESENTATIVE: String
299
+ UNKNOWN: String
300
+
301
+ VALUES: Array[String]
302
+ end
303
+
304
+ module BankAccountScopesGranted
305
+ ACCOUNTS: String
306
+ BALANCES: String
307
+ TRANSACTIONS: String
308
+
309
+ VALUES: Array[String]
310
+ end
311
+
312
+ module BankAccountStatus
313
+ OPEN: String
314
+ CLOSED: String
315
+ ACCESS_REMOVED: String
316
+
317
+ VALUES: Array[String]
318
+ end
319
+
320
+ module BankAccountSyncStatus
321
+ PENDING: String
322
+ OK: String
323
+ FAILED: String
324
+
325
+ VALUES: Array[String]
326
+ end
327
+
328
+ module BankAccountType
329
+ CURRENT: String
330
+ SAVINGS: String
331
+ CARD: String
332
+ LOAN: String
333
+ INVESTMENT: String
334
+ OTHER: String
335
+
336
+ VALUES: Array[String]
337
+ end
338
+
339
+ module BankAccountUsage
340
+ PERSONAL: String
341
+ BUSINESS: String
342
+ UNKNOWN: String
343
+
344
+ VALUES: Array[String]
345
+ end
346
+
347
+ module BankBalanceType
348
+ BOOKED: String
349
+ AVAILABLE: String
350
+ EXPECTED: String
351
+ OTHER: String
352
+
353
+ VALUES: Array[String]
354
+ end
355
+
356
+ module BankConnectionAccess
357
+ ONE_TIME: String
358
+ ONGOING: String
359
+
360
+ VALUES: Array[String]
361
+ end
362
+
363
+ module BankConnectionAccountSummaryStatus
364
+ OPEN: String
365
+ CLOSED: String
366
+ ACCESS_REMOVED: String
367
+
368
+ VALUES: Array[String]
369
+ end
370
+
371
+ module BankConnectionAccountSummaryType
372
+ CURRENT: String
373
+ SAVINGS: String
374
+ CARD: String
375
+ LOAN: String
376
+ INVESTMENT: String
377
+ OTHER: String
378
+
379
+ VALUES: Array[String]
380
+ end
381
+
382
+ module BankConnectionAccountSummaryUsage
383
+ PERSONAL: String
384
+ BUSINESS: String
385
+ UNKNOWN: String
386
+
387
+ VALUES: Array[String]
388
+ end
389
+
390
+ module BankConnectionBillingUnit
391
+ CONNECTION_MONTH: String
392
+ ONE_TIME: String
393
+
394
+ VALUES: Array[String]
395
+ end
396
+
397
+ module BankConnectionConsentEndedBy
398
+ END_USER: String
399
+ BANK: String
400
+ CUSTOMER: String
401
+ UNKNOWN: String
402
+
403
+ VALUES: Array[String]
404
+ end
405
+
406
+ module BankConnectionConsentRenewalAction
407
+ RECONFIRM: String
408
+ BANK_AUTH: String
409
+
410
+ VALUES: Array[String]
411
+ end
412
+
413
+ module BankConnectionConsentScopesGranted
414
+ ACCOUNTS: String
415
+ BALANCES: String
416
+ TRANSACTIONS: String
417
+
418
+ VALUES: Array[String]
419
+ end
420
+
421
+ module BankConnectionConsentScopesRequested
422
+ ACCOUNTS: String
423
+ BALANCES: String
424
+ TRANSACTIONS: String
425
+
426
+ VALUES: Array[String]
427
+ end
428
+
429
+ module BankConnectionConsentStatus
430
+ GRANTED: String
431
+ EXPIRED: String
432
+ REVOCATION_PENDING: String
433
+ REVOKED: String
434
+ REVOCATION_FAILED: String
435
+
436
+ VALUES: Array[String]
437
+ end
438
+
439
+ module BankConnectionData
440
+ ACCOUNTS: String
441
+ BALANCES: String
442
+ TRANSACTIONS: String
443
+
444
+ VALUES: Array[String]
445
+ end
446
+
447
+ module BankConnectionEnvironment
448
+ LIVE: String
449
+ SANDBOX: String
450
+
451
+ VALUES: Array[String]
452
+ end
453
+
454
+ module BankConnectionErasureStatus
455
+ PENDING: String
456
+ ERASED: String
457
+ FAILED: String
458
+
459
+ VALUES: Array[String]
460
+ end
461
+
462
+ module BankConnectionOwnershipCompare
463
+ NONE: String
464
+ PERSON: String
465
+ BUSINESS: String
466
+
467
+ VALUES: Array[String]
468
+ end
469
+
470
+ module BankConnectionOwnershipMatch
471
+ ANY_HOLDER: String
472
+ ALL_HOLDERS: String
473
+
474
+ VALUES: Array[String]
475
+ end
476
+
477
+ module BankConnectionOwnershipResult
478
+ MATCH: String
479
+ CLOSE_MATCH: String
480
+ NO_MATCH: String
481
+ UNKNOWN: String
482
+
483
+ VALUES: Array[String]
484
+ end
485
+
486
+ module BankConnectionSegment
487
+ PERSONAL: String
488
+ BUSINESS: String
489
+
490
+ VALUES: Array[String]
491
+ end
492
+
493
+ module BankConnectionStatus
494
+ PENDING: String
495
+ ACTIVE: String
496
+ RENEWAL_REQUIRED: String
497
+ PAUSED: String
498
+ REVOKED: String
499
+ DELETED: String
500
+ FAILED: String
501
+
502
+ VALUES: Array[String]
503
+ end
504
+
505
+ module BankConnectionStatusReason
506
+ COLLECTION_COMPLETE: String
507
+ CONSENT_EXPIRED: String
508
+ CONSENT_LAPSED: String
509
+ BANK_REQUIRES_SIGN_IN: String
510
+ REVOKED_BY_END_USER: String
511
+ REVOKED_BY_BANK: String
512
+ REVOKED_BY_CUSTOMER: String
513
+ INSUFFICIENT_BALANCE: String
514
+ PAUSED_BY_CUSTOMER: String
515
+ FIRST_SYNC_FAILED: String
516
+ DELETED_BY_CUSTOMER: String
517
+ RETENTION_ELAPSED: String
518
+ APPLICATION_DELETED: String
519
+
520
+ VALUES: Array[String]
521
+ end
522
+
523
+ module BankConnectionSyncInitialStatus
524
+ PENDING: String
525
+ SUCCEEDED: String
526
+ PARTIAL: String
527
+ FAILED: String
528
+
529
+ VALUES: Array[String]
530
+ end
531
+
532
+ module BankConnectionSyncStatus
533
+ PENDING: String
534
+ OK: String
535
+ FAILING: String
536
+
537
+ VALUES: Array[String]
538
+ end
539
+
540
+ module BankHistoryCoverageStatus
541
+ COMPLETE: String
542
+ PARTIAL: String
543
+ EMPTY: String
544
+ UNAVAILABLE: String
545
+ UNKNOWN: String
546
+
547
+ VALUES: Array[String]
548
+ end
549
+
550
+ module BankInstitutionAccess
551
+ ONE_TIME: String
552
+ ONGOING: String
553
+
554
+ VALUES: Array[String]
555
+ end
556
+
557
+ module BankInstitutionBalanceTypes
558
+ BOOKED: String
559
+ AVAILABLE: String
560
+ EXPECTED: String
561
+
562
+ VALUES: Array[String]
563
+ end
564
+
565
+ module BankInstitutionHealth
566
+ OPERATIONAL: String
567
+ DEGRADED: String
568
+ DOWN: String
569
+
570
+ VALUES: Array[String]
571
+ end
572
+
573
+ module BankInstitutionSegments
574
+ PERSONAL: String
575
+ BUSINESS: String
576
+
577
+ VALUES: Array[String]
578
+ end
579
+
580
+ module BankInstitutionSignIn
581
+ REDIRECT: String
582
+ APP_APPROVAL: String
583
+ CREDENTIALS: String
584
+
585
+ VALUES: Array[String]
586
+ end
587
+
588
+ module BankLinkAccess
589
+ ONE_TIME: String
590
+ ONGOING: String
591
+
592
+ VALUES: Array[String]
593
+ end
594
+
595
+ module BankLinkErrorCode
596
+ DUPLICATE_CONFLICT: String
597
+ RENEWAL_LOGIN_MISMATCH: String
598
+ REDUCED_GRANT: String
599
+ CORPORATE_APPROVAL_NOT_SUPPORTED: String
600
+ ONGOING_ACCESS_NOT_AVAILABLE: String
601
+ BANK_UNAVAILABLE: String
602
+ BANK_CANCELLED: String
603
+ CONSENT_DECLINED: String
604
+ READ_LIMIT: String
605
+ RENEWAL_NOT_NEEDED: String
606
+ RENEWAL_WINDOW_EXPIRED: String
607
+ FIRST_SYNC_FAILED: String
608
+
609
+ VALUES: Array[String]
610
+ end
611
+
612
+ module BankLinkMode
613
+ CONNECT: String
614
+ RENEW: String
615
+
616
+ VALUES: Array[String]
617
+ end
618
+
619
+ module BankLinkOwnershipRequestCompare
620
+ NONE: String
621
+ PERSON: String
622
+ BUSINESS: String
623
+
624
+ VALUES: Array[String]
625
+ end
626
+
627
+ module BankLinkOwnershipRequestMatch
628
+ ANY_HOLDER: String
629
+ ALL_HOLDERS: String
630
+
631
+ VALUES: Array[String]
632
+ end
633
+
634
+ module BankLinkQuoteScopes
635
+ ACCOUNTS: String
636
+ BALANCES: String
637
+ TRANSACTIONS: String
638
+
639
+ VALUES: Array[String]
640
+ end
641
+
642
+ module BankLinkStatus
643
+ CREATED: String
644
+ OPENED: String
645
+ CONNECTING: String
646
+ COMPLETED: String
647
+ CANCELLED: String
648
+ EXPIRED: String
649
+ FAILED: String
650
+
651
+ VALUES: Array[String]
652
+ end
653
+
654
+ module BankRefreshAcceptedStatus
655
+ QUEUED: String
656
+ RUNNING: String
657
+
658
+ VALUES: Array[String]
659
+ end
660
+
661
+ module BankRemovedTransactionReason
662
+ PENDING_BOOKED: String
663
+ PENDING_EXPIRED: String
664
+ BANK_REMOVED: String
665
+ ACCESS_REMOVED: String
666
+
667
+ VALUES: Array[String]
668
+ end
669
+
670
+ module BankSyncBudgetResource
671
+ ALL: String
672
+ ACCOUNTS: String
673
+ BALANCES: String
674
+ TRANSACTIONS: String
675
+
676
+ VALUES: Array[String]
677
+ end
678
+
679
+ module BankSyncBudgetScope
680
+ CONNECTION: String
681
+ ACCOUNT: String
682
+
683
+ VALUES: Array[String]
684
+ end
685
+
686
+ module BankSyncCompletedOutcome
687
+ SUCCEEDED: String
688
+ PARTIAL: String
689
+ FAILED: String
690
+
691
+ VALUES: Array[String]
692
+ end
693
+
694
+ module BankSyncRunResultOutcome
695
+ SUCCEEDED: String
696
+ FAILED: String
697
+ SKIPPED: String
698
+
699
+ VALUES: Array[String]
700
+ end
701
+
702
+ module BankSyncRunResultResource
703
+ ACCOUNTS: String
704
+ BALANCES: String
705
+ TRANSACTIONS: String
706
+
707
+ VALUES: Array[String]
708
+ end
709
+
710
+ module BankSyncRunStatus
711
+ QUEUED: String
712
+ RUNNING: String
713
+ SUCCEEDED: String
714
+ PARTIAL: String
715
+ FAILED: String
716
+
717
+ VALUES: Array[String]
718
+ end
719
+
720
+ module BankSyncRunTrigger
721
+ INITIAL: String
722
+ SCHEDULED: String
723
+ REQUESTED: String
724
+
725
+ VALUES: Array[String]
726
+ end
727
+
728
+ module BankTransactionDirection
729
+ CREDIT: String
730
+ DEBIT: String
731
+
732
+ VALUES: Array[String]
733
+ end
734
+
735
+ module BankTransactionIdentityQuality
736
+ BANK_REFERENCE: String
737
+ ROUTE_ID: String
738
+ DERIVED: String
739
+
740
+ VALUES: Array[String]
741
+ end
742
+
743
+ module BankTransactionStatus
744
+ BOOKED: String
745
+ PENDING: String
746
+
747
+ VALUES: Array[String]
748
+ end
749
+
295
750
  module BankVerificationPricingCurrency
296
751
  USD: String
297
752
 
@@ -1918,45 +2373,145 @@ module Didit
1918
2373
  VALUES: Array[String]
1919
2374
  end
1920
2375
 
1921
- module KYBRegistryOwnershipTierDelivered
1922
- BASIC: String
1923
- SHAREHOLDERS: String
1924
- UBO: String
2376
+ module KYBRegistryOwnershipTierDelivered
2377
+ BASIC: String
2378
+ SHAREHOLDERS: String
2379
+ UBO: String
2380
+
2381
+ VALUES: Array[String]
2382
+ end
2383
+
2384
+ module KYBRegistryOwnershipTierRequested
2385
+ BASIC: String
2386
+ SHAREHOLDERS: String
2387
+ UBO: String
2388
+
2389
+ VALUES: Array[String]
2390
+ end
2391
+
2392
+ module KYBRegistryOwnershipUnavailableReason
2393
+ NO_OWNERS_ON_RECORD: String
2394
+ NO_NATURAL_PERSON_OWNER: String
2395
+ OWNERSHIP_SECTION_UNAVAILABLE: String
2396
+ COMPANY_NOT_FOUND: String
2397
+ AMBIGUOUS_COMPANY_MATCH: String
2398
+ MISSING_REGISTRATION_NUMBER: String
2399
+ ENTITY_TYPE_NOT_COVERED: String
2400
+ PROVIDER_UNAVAILABLE: String
2401
+ OTHER: String
2402
+
2403
+ VALUES: Array[String]
2404
+ end
2405
+
2406
+ module KYBRegistrySearchResultsSearchStatus
2407
+ PENDING: String
2408
+ RESOLVED: String
2409
+
2410
+ VALUES: Array[String]
2411
+ end
2412
+
2413
+ module KYBRegistrySourceSourceType
2414
+ OFFICIAL: String
2415
+
2416
+ VALUES: Array[String]
2417
+ end
2418
+
2419
+ module MessageAttemptChannel
2420
+ SMS: String
2421
+ WHATSAPP: String
2422
+ EMAIL: String
2423
+
2424
+ VALUES: Array[String]
2425
+ end
2426
+
2427
+ module MessageAttemptEncoding
2428
+ GSM_7: String
2429
+ UCS_2: String
2430
+
2431
+ VALUES: Array[String]
2432
+ end
2433
+
2434
+ module MessageAttemptStatus
2435
+ SCHEDULED: String
2436
+ QUEUED: String
2437
+ SENDING: String
2438
+ SENT: String
2439
+ DELIVERED: String
2440
+ READ: String
2441
+ FAILED: String
2442
+ CANCELLED: String
2443
+
2444
+ VALUES: Array[String]
2445
+ end
2446
+
2447
+ module MessageChannel
2448
+ SMS: String
2449
+ WHATSAPP: String
2450
+ EMAIL: String
2451
+
2452
+ VALUES: Array[String]
2453
+ end
2454
+
2455
+ module MessageChannelPriceChannel
2456
+ SMS: String
2457
+ WHATSAPP: String
2458
+ EMAIL: String
2459
+
2460
+ VALUES: Array[String]
2461
+ end
2462
+
2463
+ module MessageChannelPriceUnit
2464
+ SEGMENT: String
2465
+ MESSAGE: String
1925
2466
 
1926
2467
  VALUES: Array[String]
1927
2468
  end
1928
2469
 
1929
- module KYBRegistryOwnershipTierRequested
1930
- BASIC: String
1931
- SHAREHOLDERS: String
1932
- UBO: String
2470
+ module MessageChannels
2471
+ SMS: String
2472
+ WHATSAPP: String
2473
+ EMAIL: String
1933
2474
 
1934
2475
  VALUES: Array[String]
1935
2476
  end
1936
2477
 
1937
- module KYBRegistryOwnershipUnavailableReason
1938
- NO_OWNERS_ON_RECORD: String
1939
- NO_NATURAL_PERSON_OWNER: String
1940
- OWNERSHIP_SECTION_UNAVAILABLE: String
1941
- COMPANY_NOT_FOUND: String
1942
- AMBIGUOUS_COMPANY_MATCH: String
1943
- MISSING_REGISTRATION_NUMBER: String
1944
- ENTITY_TYPE_NOT_COVERED: String
1945
- PROVIDER_UNAVAILABLE: String
1946
- OTHER: String
2478
+ module MessageEncoding
2479
+ GSM_7: String
2480
+ UCS_2: String
1947
2481
 
1948
2482
  VALUES: Array[String]
1949
2483
  end
1950
2484
 
1951
- module KYBRegistrySearchResultsSearchStatus
1952
- PENDING: String
1953
- RESOLVED: String
2485
+ module MessageErrorCode
2486
+ INVALID_RECIPIENT: String
2487
+ UNREACHABLE: String
2488
+ REJECTED: String
2489
+ OPTED_OUT: String
2490
+ EXPIRED: String
2491
+ TEMPLATE_REQUIRED: String
2492
+ CHANNEL_UNAVAILABLE: String
2493
+ INSUFFICIENT_CREDITS: String
2494
+ RATE_LIMITED: String
2495
+ DELIVERY_UNCONFIRMED: String
2496
+ CANCELLED: String
2497
+ TEMPLATE_CHANNEL_MISSING: String
2498
+ TEMPLATE_VARIABLE_MISSING: String
2499
+ EMPTY_BODY: String
2500
+ BODY_TOO_LONG: String
2501
+ UNKNOWN: String
1954
2502
 
1955
2503
  VALUES: Array[String]
1956
2504
  end
1957
2505
 
1958
- module KYBRegistrySourceSourceType
1959
- OFFICIAL: String
2506
+ module MessageStatus
2507
+ SCHEDULED: String
2508
+ QUEUED: String
2509
+ SENDING: String
2510
+ SENT: String
2511
+ DELIVERED: String
2512
+ READ: String
2513
+ FAILED: String
2514
+ CANCELLED: String
1960
2515
 
1961
2516
  VALUES: Array[String]
1962
2517
  end
@@ -5824,6 +6379,23 @@ module Didit
5824
6379
  INVESTIGATOR_SLA_BREACHED: String
5825
6380
  INVESTIGATOR_QA_FAILED: String
5826
6381
  INVESTIGATOR_EXTERNAL_REPORT_READY: String
6382
+ BANK_LINK_COMPLETED: String
6383
+ BANK_LINK_CANCELLED: String
6384
+ BANK_LINK_EXPIRED: String
6385
+ BANK_LINK_FAILED: String
6386
+ BANK_CONNECTION_CREATED: String
6387
+ BANK_CONNECTION_UPDATED: String
6388
+ BANK_CONNECTION_CONSENT_EXPIRING: String
6389
+ BANK_CONNECTION_RENEWAL_REQUIRED: String
6390
+ BANK_CONNECTION_RENEWED: String
6391
+ BANK_CONNECTION_REVOKED: String
6392
+ BANK_CONNECTION_DELETED: String
6393
+ BANK_CONNECTION_HISTORY_COMPLETE: String
6394
+ BANK_DATA_UPDATED: String
6395
+ BANK_SYNC_COMPLETED: String
6396
+ BANK_SYNC_FAILED: String
6397
+ BANK_SYNC_RECOVERED: String
6398
+ MESSAGE_STATUS_UPDATED: String
5827
6399
 
5828
6400
  VALUES: Array[String]
5829
6401
  end
@@ -6556,6 +7128,25 @@ module Didit
6556
7128
  def status: () -> Hash[String, Integer]
6557
7129
  end
6558
7130
 
7131
+ class BankAccount < Didit::Model
7132
+ def id: () -> String
7133
+ def connection_id: () -> String
7134
+ def name: () -> String?
7135
+ def product: () -> String?
7136
+ def `type`: () -> String
7137
+ def usage: () -> String
7138
+ def currency: () -> String
7139
+ def holder_name: () -> String?
7140
+ def holders: () -> Array[Didit::Types::BankAccountHolder]
7141
+ def identifiers: () -> Didit::Types::BankAccountIdentifiers
7142
+ def account_ref: () -> String?
7143
+ def account_ref_previous: () -> String?
7144
+ def status: () -> String
7145
+ def scopes_granted: () -> Array[String]
7146
+ def sync: () -> Didit::Types::BankAccountSync
7147
+ def history_coverage: () -> Didit::Types::BankHistoryCoverage
7148
+ end
7149
+
6559
7150
  class BankAccountCheckPricing < Didit::Model
6560
7151
  def available: () -> bool
6561
7152
  def price_usd: () -> String?
@@ -6571,11 +7162,274 @@ module Didit
6571
7162
  def created_at: () -> Time
6572
7163
  end
6573
7164
 
7165
+ class BankAccountHolder < Didit::Model
7166
+ def name: () -> String
7167
+ def role: () -> String
7168
+ end
7169
+
7170
+ class BankAccountIdentifiers < Didit::Model
7171
+ def iban: () -> String?
7172
+ def bic: () -> String?
7173
+ def account_number: () -> String?
7174
+ def sort_code: () -> String?
7175
+ def other: () -> Array[Didit::Types::BankAccountIdentifiersOther]
7176
+ end
7177
+
7178
+ class BankAccountIdentifiersOther < Didit::Model
7179
+ def scheme: () -> String
7180
+ def value: () -> String
7181
+ end
7182
+
7183
+ class BankAccountList < Didit::Model
7184
+ def items: () -> Array[Didit::Types::BankAccount]
7185
+ def next_cursor: () -> String?
7186
+ end
7187
+
7188
+ class BankAccountSync < Didit::Model
7189
+ def last_synced_at: () -> Time?
7190
+ def status: () -> String
7191
+ def history_requested_from: () -> Date?
7192
+ def history_available_from: () -> Date?
7193
+ def pending_supported: () -> bool
7194
+ end
7195
+
7196
+ class BankBalance < Didit::Model
7197
+ def `type`: () -> String
7198
+ def iso_type: () -> String?
7199
+ def amount: () -> String
7200
+ def currency: () -> String
7201
+ def reference_date: () -> Date?
7202
+ def last_change_at: () -> Time?
7203
+ def credit_limit_included: () -> bool?
7204
+ end
7205
+
7206
+ class BankBalances < Didit::Model
7207
+ def account_id: () -> String
7208
+ def balances: () -> Array[Didit::Types::BankBalance]
7209
+ def last_synced_at: () -> Time?
7210
+ end
7211
+
7212
+ class BankConnection < Didit::Model
7213
+ def id: () -> String
7214
+ def environment: () -> String?
7215
+ def access: () -> String?
7216
+ def status: () -> String
7217
+ def status_reason: () -> String?
7218
+ def institution: () -> Didit::Types::BankInstitutionSummary?
7219
+ def segment: () -> String?
7220
+ def data: () -> Array[String]?
7221
+ def consent: () -> Didit::Types::BankConnectionConsent?
7222
+ def sync: () -> Didit::Types::BankConnectionSync?
7223
+ def accounts: () -> Array[Didit::Types::BankConnectionAccountSummary]?
7224
+ def ownership: () -> Didit::Types::BankConnectionOwnership?
7225
+ def end_user: () -> Didit::Types::BankConnectionEndUser?
7226
+ def manage_url: () -> String?
7227
+ def billing: () -> Didit::Types::BankConnectionBilling?
7228
+ def possible_duplicate_of: () -> String?
7229
+ def erasure: () -> Didit::Types::BankConnectionErasure?
7230
+ def vendor_data: () -> String?
7231
+ def created_at: () -> Time
7232
+ def updated_at: () -> Time?
7233
+ end
7234
+
7235
+ class BankConnectionAccountSummary < Didit::Model
7236
+ def id: () -> String
7237
+ def name: () -> String?
7238
+ def `type`: () -> String
7239
+ def usage: () -> String
7240
+ def currency: () -> String
7241
+ def iban_last4: () -> String?
7242
+ def status: () -> String
7243
+ end
7244
+
7245
+ class BankConnectionBilling < Didit::Model
7246
+ def unit: () -> String
7247
+ def price_usd: () -> String?
7248
+ def billed_through: () -> Date?
7249
+ end
7250
+
7251
+ class BankConnectionConsent < Didit::Model
7252
+ def status: () -> String
7253
+ def version: () -> Integer
7254
+ def granted_at: () -> Time?
7255
+ def expires_at: () -> Time?
7256
+ def days_granted: () -> Integer?
7257
+ def renewed_count: () -> Integer
7258
+ def scopes_requested: () -> Array[String]
7259
+ def scopes_granted: () -> Array[String]
7260
+ def accounts_granted: () -> Array[String]
7261
+ def renewal_action: () -> String?
7262
+ def renew_by: () -> Time?
7263
+ def reconfirm_by: () -> Time?
7264
+ def renewable_until: () -> Time?
7265
+ def retain_until: () -> Time?
7266
+ def ended_at: () -> Time?
7267
+ def ended_by: () -> String?
7268
+ end
7269
+
7270
+ class BankConnectionDeletion < Didit::Model
7271
+ def id: () -> String
7272
+ def erasure: () -> Didit::Types::BankConnectionErasure
7273
+ end
7274
+
7275
+ class BankConnectionEndUser < Didit::Model
7276
+ def reference: () -> String?
7277
+ end
7278
+
7279
+ class BankConnectionErasure < Didit::Model
7280
+ def status: () -> String
7281
+ def requested_at: () -> Time
7282
+ def erased_at: () -> Time?
7283
+ end
7284
+
7285
+ class BankConnectionList < Didit::Model
7286
+ def items: () -> Array[Didit::Types::BankConnection]
7287
+ def next_cursor: () -> String?
7288
+ end
7289
+
7290
+ class BankConnectionOwnership < Didit::Model
7291
+ def compare: () -> String
7292
+ def match: () -> String?
7293
+ def check_id: () -> String?
7294
+ def result: () -> String?
7295
+ end
7296
+
7297
+ class BankConnectionSync < Didit::Model
7298
+ def status: () -> String
7299
+ def initial_status: () -> String
7300
+ def initial_complete: () -> bool
7301
+ def history_complete: () -> bool
7302
+ def last_synced_at: () -> Time?
7303
+ def next_sync_at: () -> Time?
7304
+ def budgets: () -> Array[Didit::Types::BankSyncBudget]
7305
+ def last_error: () -> Didit::Types::BankSyncError?
7306
+ def frequency_per_day: () -> Integer
7307
+ def live_syncs_left_today: () -> Integer?
7308
+ end
7309
+
7310
+ class BankCoverage < Didit::Model
7311
+ def items: () -> Array[Didit::Types::BankCoverageCountry]
7312
+ end
7313
+
7314
+ class BankCoverageCountry < Didit::Model
7315
+ def country: () -> String
7316
+ def name: () -> String
7317
+ def sign_in_available: () -> bool
7318
+ def account_check_available: () -> bool
7319
+ def ongoing_access: () -> bool
7320
+ def institutions: () -> Integer
7321
+ def ongoing_institutions: () -> Integer
7322
+ def consent_days_max: () -> Integer?
7323
+ def history_days_max: () -> Integer?
7324
+ def business_accounts: () -> bool
7325
+ end
7326
+
7327
+ class BankDateRange < Didit::Model
7328
+ def from: () -> Date
7329
+ def to: () -> Date
7330
+ end
7331
+
7332
+ class BankHistoryCoverage < Didit::Model
7333
+ def requested_from: () -> Date?
7334
+ def oldest_booking_date: () -> Date?
7335
+ def covered_ranges: () -> Array[Didit::Types::BankDateRange]
7336
+ def missing_ranges: () -> Array[Didit::Types::BankDateRange]
7337
+ def status: () -> String
7338
+ def extended_auth_used: () -> bool
7339
+ end
7340
+
7341
+ class BankInstitution < Didit::Model
7342
+ def id: () -> String
7343
+ def name: () -> String
7344
+ def country: () -> String
7345
+ def logo_url: () -> String?
7346
+ def timezone: () -> String?
7347
+ def segments: () -> Array[String]
7348
+ def access: () -> Array[String]
7349
+ def ongoing_access: () -> bool
7350
+ def consent_days_max: () -> Integer?
7351
+ def history_days_max: () -> Integer?
7352
+ def pending_transactions: () -> bool?
7353
+ def pending_linkage: () -> bool?
7354
+ def balance_types: () -> Array[String]
7355
+ def transaction_fields: () -> Array[String]
7356
+ def sign_in: () -> String?
7357
+ def requires_end_user_email: () -> bool?
7358
+ def corporate_accounts: () -> bool?
7359
+ def bank_account_selection: () -> bool?
7360
+ def separate_history_consent: () -> bool?
7361
+ def reconfirmation: () -> bool?
7362
+ def sync_frequency_hours: () -> Integer?
7363
+ def health: () -> String
7364
+ end
7365
+
7366
+ class BankInstitutionList < Didit::Model
7367
+ def items: () -> Array[Didit::Types::BankInstitution]
7368
+ def next_cursor: () -> String?
7369
+ end
7370
+
7371
+ class BankInstitutionSummary < Didit::Model
7372
+ def id: () -> String
7373
+ def name: () -> String
7374
+ def country: () -> String
7375
+ def logo_url: () -> String?
7376
+ end
7377
+
7378
+ class BankLink < Didit::Model
7379
+ def id: () -> String
7380
+ def mode: () -> String
7381
+ def access: () -> String
7382
+ def status: () -> String
7383
+ def url: () -> String?
7384
+ def client_token: () -> String?
7385
+ def expires_at: () -> Time
7386
+ def connection_id: () -> String?
7387
+ def check_id: () -> String?
7388
+ def reused: () -> bool
7389
+ def error: () -> Didit::Types::BankLinkError?
7390
+ def quote: () -> Didit::Types::BankLinkQuote
7391
+ def vendor_data: () -> String?
7392
+ end
7393
+
7394
+ class BankLinkError < Didit::Model
7395
+ def code: () -> String
7396
+ def message: () -> String
7397
+ def conflicts_with: () -> Array[String]?
7398
+ end
7399
+
7400
+ class BankLinkQuote < Didit::Model
7401
+ def id: () -> String
7402
+ def lines: () -> Array[Didit::Types::BankLinkQuoteLine]
7403
+ def fallback_lines: () -> Array[Didit::Types::BankLinkQuoteLine]?
7404
+ def total_usd: () -> String
7405
+ def valid_until: () -> Time
7406
+ def scopes: () -> Array[String]
7407
+ end
7408
+
7409
+ class BankLinkQuoteLine < Didit::Model
7410
+ def meter: () -> String
7411
+ def unit: () -> String
7412
+ def price_usd: () -> String
7413
+ end
7414
+
7415
+ class BankRefreshAccepted < Didit::Model
7416
+ def sync_id: () -> String
7417
+ def status: () -> String
7418
+ def next_refresh_at: () -> Time?
7419
+ end
7420
+
7421
+ class BankRemovedTransaction < Didit::Model
7422
+ def id: () -> String
7423
+ def reason: () -> String
7424
+ end
7425
+
6574
7426
  class BankSignInPricing < Didit::Model
6575
7427
  def available: () -> bool
6576
7428
  def market: () -> String?
6577
7429
  def price_usd: () -> String?
6578
7430
  def add_ons: () -> Didit::Types::BankSignInPricingAddOns
7431
+ def ongoing: () -> Didit::Types::BankSignInPricingOngoing?
7432
+ def one_time_data: () -> Didit::Types::BankSignInPricingOneTimeData?
6579
7433
  end
6580
7434
 
6581
7435
  class BankSignInPricingAddOns < Didit::Model
@@ -6583,12 +7437,139 @@ module Didit
6583
7437
  def transactions: () -> String?
6584
7438
  end
6585
7439
 
7440
+ class BankSignInPricingOneTimeData < Didit::Model
7441
+ def balances_usd: () -> String?
7442
+ def transactions_usd: () -> String?
7443
+ def bundle_included: () -> bool?
7444
+ end
7445
+
7446
+ class BankSignInPricingOngoing < Didit::Model
7447
+ def available: () -> bool
7448
+ def price_usd_per_month: () -> String?
7449
+ end
7450
+
6586
7451
  class BankStatementUploadPricing < Didit::Model
6587
7452
  def price_usd: () -> String
6588
7453
  def included_after_charged_bank_attempt: () -> bool
6589
7454
  def standalone_available: () -> bool
6590
7455
  end
6591
7456
 
7457
+ class BankSyncBudget < Didit::Model
7458
+ def scope: () -> String
7459
+ def resource: () -> String
7460
+ def account_id: () -> String?
7461
+ def limit: () -> Integer
7462
+ def remaining: () -> Integer
7463
+ def resets_at: () -> Time
7464
+ end
7465
+
7466
+ class BankSyncCompleted < Didit::Types::BankSyncRun
7467
+ def outcome: () -> String
7468
+ def balances_changed: () -> bool
7469
+ end
7470
+
7471
+ class BankSyncError < Didit::Model
7472
+ def code: () -> String
7473
+ def message: () -> String
7474
+ def at: () -> Time?
7475
+ end
7476
+
7477
+ class BankSyncRun < Didit::Model
7478
+ def id: () -> String
7479
+ def connection_id: () -> String
7480
+ def trigger: () -> String
7481
+ def status: () -> String
7482
+ def started_at: () -> Time?
7483
+ def finished_at: () -> Time?
7484
+ def results: () -> Array[Didit::Types::BankSyncRunResult]
7485
+ def error: () -> Didit::Types::BankSyncRunError?
7486
+ end
7487
+
7488
+ class BankSyncRunError < Didit::Model
7489
+ def code: () -> String
7490
+ def message: () -> String
7491
+ def at: () -> Time
7492
+ end
7493
+
7494
+ class BankSyncRunList < Didit::Model
7495
+ def items: () -> Array[Didit::Types::BankSyncRun]
7496
+ def next_cursor: () -> String?
7497
+ end
7498
+
7499
+ class BankSyncRunResult < Didit::Model
7500
+ def account_id: () -> String?
7501
+ def resource: () -> String
7502
+ def outcome: () -> String
7503
+ def added: () -> Integer
7504
+ def modified: () -> Integer
7505
+ def removed: () -> Integer
7506
+ def error: () -> Didit::Types::BankSyncError?
7507
+ end
7508
+
7509
+ class BankTransaction < Didit::Model
7510
+ def id: () -> String
7511
+ def account_id: () -> String
7512
+ def status: () -> String
7513
+ def pending_id: () -> String?
7514
+ def reverses_id: () -> String?
7515
+ def booking_date: () -> Date?
7516
+ def value_date: () -> Date?
7517
+ def transaction_date: () -> Date?
7518
+ def effective_date: () -> Date
7519
+ def amount: () -> String
7520
+ def currency: () -> String
7521
+ def direction: () -> String
7522
+ def description: () -> String?
7523
+ def counterparty: () -> Didit::Types::BankTransactionCounterparty
7524
+ def remittance: () -> Didit::Types::BankTransactionRemittance
7525
+ def bank_transaction_code: () -> String?
7526
+ def bank_reference: () -> String?
7527
+ def identity_quality: () -> String
7528
+ def end_to_end_id: () -> String?
7529
+ def mandate_id: () -> String?
7530
+ def creditor_id: () -> String?
7531
+ def merchant_category_code: () -> String?
7532
+ def exchange: () -> Didit::Types::BankTransactionExchange?
7533
+ def balance_after: () -> String?
7534
+ def category: () -> String?
7535
+ def first_seen_at: () -> Time
7536
+ def updated_at: () -> Time
7537
+ end
7538
+
7539
+ class BankTransactionChanges < Didit::Model
7540
+ def added: () -> Array[Didit::Types::BankTransaction]
7541
+ def modified: () -> Array[Didit::Types::BankTransaction]
7542
+ def removed: () -> Array[Didit::Types::BankRemovedTransaction]
7543
+ def has_more: () -> bool
7544
+ def next_page_token: () -> String?
7545
+ def next_cursor: () -> String?
7546
+ def reset: () -> bool
7547
+ end
7548
+
7549
+ class BankTransactionCounterparty < Didit::Model
7550
+ def name: () -> String?
7551
+ def iban: () -> String?
7552
+ def bic: () -> String?
7553
+ end
7554
+
7555
+ class BankTransactionExchange < Didit::Model
7556
+ def source_amount: () -> String?
7557
+ def source_currency: () -> String?
7558
+ def rate: () -> String?
7559
+ end
7560
+
7561
+ class BankTransactionPage < Didit::Model
7562
+ def items: () -> Array[Didit::Types::BankTransaction]
7563
+ def next_page_token: () -> String?
7564
+ def has_more: () -> bool
7565
+ end
7566
+
7567
+ class BankTransactionRemittance < Didit::Model
7568
+ def unstructured: () -> Array[String]
7569
+ def structured: () -> String?
7570
+ def reference: () -> String?
7571
+ end
7572
+
6592
7573
  class BankVerificationPricing < Didit::Model
6593
7574
  def currency: () -> String
6594
7575
  def statement_upload: () -> Didit::Types::BankStatementUploadPricing
@@ -8380,6 +9361,87 @@ module Didit
8380
9361
  def section: () -> String?
8381
9362
  end
8382
9363
 
9364
+ class Message < Didit::Model
9365
+ def id: () -> String
9366
+ def status: () -> String
9367
+ def to: () -> String?
9368
+ def channel: () -> String
9369
+ def channels: () -> Array[String]
9370
+ def body: () -> String?
9371
+ def subject: () -> String?
9372
+ def template_id: () -> String?
9373
+ def locale: () -> String?
9374
+ def correlation_id: () -> String?
9375
+ def segments: () -> Integer
9376
+ def encoding: () -> String?
9377
+ def price: () -> Didit::Types::MessagePrice?
9378
+ def error: () -> Didit::Types::MessageError?
9379
+ def schedule_at: () -> Time?
9380
+ def expires_at: () -> Time?
9381
+ def created_at: () -> Time
9382
+ def sent_at: () -> Time?
9383
+ def delivered_at: () -> Time?
9384
+ def read_at: () -> Time?
9385
+ def failed_at: () -> Time?
9386
+ def attempts: () -> Array[Didit::Types::MessageAttempt]
9387
+ def is_sandbox: () -> bool
9388
+ end
9389
+
9390
+ class MessageAttempt < Didit::Model
9391
+ def id: () -> String
9392
+ def channel: () -> String
9393
+ def to: () -> String?
9394
+ def status: () -> String
9395
+ def error: () -> Didit::Types::MessageError?
9396
+ def price: () -> Didit::Types::MessagePrice?
9397
+ def segments: () -> Integer
9398
+ def encoding: () -> String?
9399
+ def created_at: () -> Time
9400
+ def sent_at: () -> Time?
9401
+ def delivered_at: () -> Time?
9402
+ def read_at: () -> Time?
9403
+ def failed_at: () -> Time?
9404
+ end
9405
+
9406
+ class MessageChannelPrice < Didit::Model
9407
+ def channel: () -> String
9408
+ def unit: () -> String
9409
+ def category: () -> String?
9410
+ def carrier: () -> String?
9411
+ def fee: () -> String?
9412
+ def price: () -> String?
9413
+ end
9414
+
9415
+ class MessageError < Didit::Model
9416
+ def code: () -> String
9417
+ def message: () -> String
9418
+ end
9419
+
9420
+ class MessageList < Didit::Model
9421
+ def count: () -> Integer
9422
+ def `next`: () -> String?
9423
+ def previous: () -> String?
9424
+ def results: () -> Array[Didit::Types::Message]
9425
+ end
9426
+
9427
+ class MessagePrice < Didit::Model
9428
+ def amount: () -> String
9429
+ def currency: () -> String
9430
+ def carrier: () -> String?
9431
+ def fee: () -> String?
9432
+ def final: () -> bool
9433
+ end
9434
+
9435
+ class MessagePrices < Didit::Model
9436
+ def country: () -> String
9437
+ def currency: () -> String
9438
+ def channels: () -> Array[Didit::Types::MessageChannelPrice]
9439
+ end
9440
+
9441
+ class MessagesSettings < Didit::Model
9442
+ def retention_days: () -> Integer
9443
+ end
9444
+
8383
9445
  class MonitoringEvent < Didit::Model
8384
9446
  def event_uuid: () -> String
8385
9447
  def event_id: () -> String
@@ -13004,6 +14066,14 @@ module Didit
13004
14066
 
13005
14067
  type bank_account_check_person_holder = { full_name: String }
13006
14068
 
14069
+ type bank_link_end_user = { ?reference: String, ?email: String }
14070
+
14071
+ type bank_link_ownership_request = { ?compare: String, ?match: String, ?reference_identity: Didit::Types::bank_link_ownership_request_reference_identity, ?session_id: String, ?business: Didit::Types::bank_link_ownership_request_business, ?business_session_id: String }
14072
+
14073
+ type bank_link_ownership_request_business = { legal_name: String, ?registration_id: String }
14074
+
14075
+ type bank_link_ownership_request_reference_identity = { ?full_name: String, ?date_of_birth: Date | String, ?address: String, ?phone: String, ?email: String }
14076
+
13007
14077
  type case_blueprint_stage = { ?key: String, label: String, ?sla_hours: Integer?, ?worked_by: String? }
13008
14078
 
13009
14079
  type case_content_config = { ?checklist: Didit::Types::case_content_config_checklist, ?aml_control: Didit::Types::case_content_config_aml_control, ?identity: Didit::Types::case_content_config_identity, ?verifications: Didit::Types::case_content_config_verifications, ?reporting: Didit::Types::case_content_config_reporting, ?financial: Didit::Types::case_content_config_financial, ?stages: Didit::Types::case_content_config_stages }