@d19n/youfibre-odin-sdk 2.0.351 → 2.0.352

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.
@@ -32,7 +32,49 @@ exports.isFileRecord = exports.FileRecord = void 0;
32
32
  const uuid_1 = require("uuid");
33
33
  const core_1 = require("@d19n/odin-types/dist/core");
34
34
  const record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/record-link-manager");
35
+ const OverlayRealA55Record_1 = require("./OverlayRealA55Record");
36
+ const AppointmentRecord_1 = require("./AppointmentRecord");
37
+ const UgExternalAuditRecord_1 = require("./UgExternalAuditRecord");
38
+ const BillingRequestRecord_1 = require("./BillingRequestRecord");
39
+ const TransactionRecord_1 = require("./TransactionRecord");
40
+ const CreditNoteRecord_1 = require("./CreditNoteRecord");
41
+ const AddressRecord_1 = require("./AddressRecord");
42
+ const ChangeReasonRecord_1 = require("./ChangeReasonRecord");
43
+ const DiscountRecord_1 = require("./DiscountRecord");
44
+ const PaymentMethodRefundRecord_1 = require("./PaymentMethodRefundRecord");
45
+ const ServiceAppointmentRecord_1 = require("./ServiceAppointmentRecord");
46
+ const CustomerDeviceRouterRecord_1 = require("./CustomerDeviceRouterRecord");
47
+ const VisitRecord_1 = require("./VisitRecord");
48
+ const WayleaveAuditRecord_1 = require("./WayleaveAuditRecord");
49
+ const WorkOrderRecord_1 = require("./WorkOrderRecord");
50
+ const OrderItemRecord_1 = require("./OrderItemRecord");
51
+ const KnowledgeArticleRecord_1 = require("./KnowledgeArticleRecord");
52
+ const CaseRecord_1 = require("./CaseRecord");
53
+ const ActivityRecord_1 = require("./ActivityRecord");
54
+ const OneTouchSwitchRecord_1 = require("./OneTouchSwitchRecord");
55
+ const RemediationRequiredReasonRecord_1 = require("./RemediationRequiredReasonRecord");
56
+ const InvoiceRecord_1 = require("./InvoiceRecord");
35
57
  const NoteRecord_1 = require("./NoteRecord");
58
+ const LeadRecord_1 = require("./LeadRecord");
59
+ const AccountRecord_1 = require("./AccountRecord");
60
+ const PaymentMethodRecord_1 = require("./PaymentMethodRecord");
61
+ const ContractBuyOutRecord_1 = require("./ContractBuyOutRecord");
62
+ const SiteSpecificRiskAssessmentOutcomeFormRecord_1 = require("./SiteSpecificRiskAssessmentOutcomeFormRecord");
63
+ const RemediationOutcomeFormRecord_1 = require("./RemediationOutcomeFormRecord");
64
+ const OrderRecord_1 = require("./OrderRecord");
65
+ const CallRecord_1 = require("./CallRecord");
66
+ const OhExternalAuditRecord_1 = require("./OhExternalAuditRecord");
67
+ const CustomerDeviceOntRecord_1 = require("./CustomerDeviceOntRecord");
68
+ const BillingAdjustmentRecord_1 = require("./BillingAdjustmentRecord");
69
+ const ContactRecord_1 = require("./ContactRecord");
70
+ const MessageRecord_1 = require("./MessageRecord");
71
+ const EmailRecord_1 = require("./EmailRecord");
72
+ const PgDirectDebitFileRecord_1 = require("./PgDirectDebitFileRecord");
73
+ const YfWifiSurveyRecord_1 = require("./YfWifiSurveyRecord");
74
+ const YfFieldVisitOutcomeFormRecord_1 = require("./YfFieldVisitOutcomeFormRecord");
75
+ const DocumentRecord_1 = require("./DocumentRecord");
76
+ const DocumentProcessingRecord_1 = require("./DocumentProcessingRecord");
77
+ const HomeMoveRecord_1 = require("./HomeMoveRecord");
36
78
  /**
37
79
  * Builder for action execution with dryRun support
38
80
  *
@@ -341,64 +383,1294 @@ class FileRecord {
341
383
  */
342
384
  isProcessingOutput() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.type) === 'PROCESSING_OUTPUT'; }
343
385
  /**
344
- * Access linked File records
345
- * @remarks Available labels: ServiceVisitAudit__File, BlockageA55_File, NetomniaFtth2StageInstallAudit__File, NetomniaFtth1StageInstallAudit__File, OverlayRealA55_File, Appointment__File, UgExternalAudit_File, BillingRequest__File, Transaction__File, CreditNote__File, Address__File, ChangeReason__File, Discount__File, PaymentMethodRefund__File, ServiceAppointment__File, CustomerDeviceRouter__File, Visit__File, Fingerprint__File, YfToolAudit_File, WayleaveAudit_File, WorkOrder__File, OrderItem__File, InternalInstallAudit_File, KnowledgeArticle__File, Case__File, Activity__File, NetomniaFtthServiceVisitSheet__File, YfStockCount__File, OneTouchSwitch_File, RemediationRequiredReason__File, Invoice__File, YfVanAudit_File, UgInstallationAudit__File, OhInstallationAudit__File, UgAuditOfInstallation__File, YfEquipmentCollection__File, Lead__File, Account__File, PaymentMethod__File, SweeperMaintenanceAudit__File, BlockageReportA55__File, OhAuditOfInstallation__File, OhInProgressAudit_File, ContractBuyOut__File, SiteSpecificRiskAssessmentOutcomeForm__File, RemediationOutcomeForm_File, Order__File, Call__File, OhExternalAudit_File, CustomerDeviceOnt__File, YfFieldServiceVisit__File, BillingAdjustment__File, Contact__File, Message_File, NetomniaInstallVerification__File, Attachments, UgRetroAudit__File, OhRetroAudit__File, UgInProgressAudit_File, PgDirectDebitFile__File, YfWifiSurvey__File, YfFieldVisitOutcomeForm__File, Note__File, Document__File, DocumentProcessing__File, HomeMove__File
386
+ * Access linked OverlayRealA55 records
387
+ * @remarks Available labels: OverlayRealA55_File
346
388
  * @throws Error if called on a new (unsaved) record
347
389
  *
348
390
  * @example
349
391
  * ```typescript
350
- * // Get all linked File records
351
- * const items = await record.files.list();
352
- * const first = await record.files.first();
392
+ * // Get all linked OverlayRealA55 records
393
+ * const items = await record.overlayRealA55s.list();
394
+ * const first = await record.overlayRealA55s.first();
353
395
  *
354
396
  * // Filter by label
355
- * const specific = await record.files.first({ label: 'ServiceVisitAudit__File' });
397
+ * const specific = await record.overlayRealA55s.first({ label: 'OverlayRealA55_File' });
356
398
  * ```
357
399
  */
358
- get files() {
400
+ get overlayRealA55s() {
359
401
  var _a;
360
402
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
361
403
  throw new Error('Cannot access links on a new (unsaved) record');
362
- if (!this._files) {
363
- this._files = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
404
+ if (!this._overlayRealA55s) {
405
+ this._overlayRealA55s = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
364
406
  sourceEntity: 'SchemaModule:File',
365
- targetEntity: 'SchemaModule:File',
366
- targetModuleName: 'SchemaModule',
367
- targetEntityName: 'File',
368
- labels: ['ServiceVisitAudit__File', 'BlockageA55_File', 'NetomniaFtth2StageInstallAudit__File', 'NetomniaFtth1StageInstallAudit__File', 'OverlayRealA55_File', 'Appointment__File', 'UgExternalAudit_File', 'BillingRequest__File', 'Transaction__File', 'CreditNote__File', 'Address__File', 'ChangeReason__File', 'Discount__File', 'PaymentMethodRefund__File', 'ServiceAppointment__File', 'CustomerDeviceRouter__File', 'Visit__File', 'Fingerprint__File', 'YfToolAudit_File', 'WayleaveAudit_File', 'WorkOrder__File', 'OrderItem__File', 'InternalInstallAudit_File', 'KnowledgeArticle__File', 'Case__File', 'Activity__File', 'NetomniaFtthServiceVisitSheet__File', 'YfStockCount__File', 'OneTouchSwitch_File', 'RemediationRequiredReason__File', 'Invoice__File', 'YfVanAudit_File', 'UgInstallationAudit__File', 'OhInstallationAudit__File', 'UgAuditOfInstallation__File', 'YfEquipmentCollection__File', 'Lead__File', 'Account__File', 'PaymentMethod__File', 'SweeperMaintenanceAudit__File', 'BlockageReportA55__File', 'OhAuditOfInstallation__File', 'OhInProgressAudit_File', 'ContractBuyOut__File', 'SiteSpecificRiskAssessmentOutcomeForm__File', 'RemediationOutcomeForm_File', 'Order__File', 'Call__File', 'OhExternalAudit_File', 'CustomerDeviceOnt__File', 'YfFieldServiceVisit__File', 'BillingAdjustment__File', 'Contact__File', 'Message_File', 'NetomniaInstallVerification__File', 'Attachments', 'UgRetroAudit__File', 'OhRetroAudit__File', 'UgInProgressAudit_File', 'PgDirectDebitFile__File', 'YfWifiSurvey__File', 'YfFieldVisitOutcomeForm__File', 'Note__File', 'Document__File', 'DocumentProcessing__File', 'HomeMove__File'],
369
- }, FileRecord);
407
+ targetEntity: 'FieldServiceModule:OverlayRealA55',
408
+ targetModuleName: 'FieldServiceModule',
409
+ targetEntityName: 'OverlayRealA55',
410
+ labels: ['OverlayRealA55_File'],
411
+ }, OverlayRealA55Record_1.OverlayRealA55Record);
370
412
  }
371
- return this._files;
413
+ return this._overlayRealA55s;
372
414
  }
373
415
  /**
374
- * Access linked Note records
375
- * @remarks Available labels: File__Note
416
+ * Access linked Appointment records
417
+ * @remarks Available labels: Appointment__File
376
418
  * @throws Error if called on a new (unsaved) record
377
419
  *
378
420
  * @example
379
421
  * ```typescript
380
- * // Get all linked Note records
381
- * const items = await record.notes.list();
382
- * const first = await record.notes.first();
422
+ * // Get all linked Appointment records
423
+ * const items = await record.appointments.list();
424
+ * const first = await record.appointments.first();
383
425
  *
384
426
  * // Filter by label
385
- * const specific = await record.notes.first({ label: 'File__Note' });
427
+ * const specific = await record.appointments.first({ label: 'Appointment__File' });
386
428
  * ```
387
429
  */
388
- get notes() {
430
+ get appointments() {
389
431
  var _a;
390
432
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
391
433
  throw new Error('Cannot access links on a new (unsaved) record');
392
- if (!this._notes) {
393
- this._notes = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
434
+ if (!this._appointments) {
435
+ this._appointments = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
394
436
  sourceEntity: 'SchemaModule:File',
395
- targetEntity: 'SupportModule:Note',
437
+ targetEntity: 'CrmModule:Appointment',
438
+ targetModuleName: 'CrmModule',
439
+ targetEntityName: 'Appointment',
440
+ labels: ['Appointment__File'],
441
+ }, AppointmentRecord_1.AppointmentRecord);
442
+ }
443
+ return this._appointments;
444
+ }
445
+ /**
446
+ * Access linked UgExternalAudit records
447
+ * @remarks Available labels: UgExternalAudit_File
448
+ * @throws Error if called on a new (unsaved) record
449
+ *
450
+ * @example
451
+ * ```typescript
452
+ * // Get all linked UgExternalAudit records
453
+ * const items = await record.ugExternalAudits.list();
454
+ * const first = await record.ugExternalAudits.first();
455
+ *
456
+ * // Filter by label
457
+ * const specific = await record.ugExternalAudits.first({ label: 'UgExternalAudit_File' });
458
+ * ```
459
+ */
460
+ get ugExternalAudits() {
461
+ var _a;
462
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
463
+ throw new Error('Cannot access links on a new (unsaved) record');
464
+ if (!this._ugExternalAudits) {
465
+ this._ugExternalAudits = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
466
+ sourceEntity: 'SchemaModule:File',
467
+ targetEntity: 'FieldServiceModule:UgExternalAudit',
468
+ targetModuleName: 'FieldServiceModule',
469
+ targetEntityName: 'UgExternalAudit',
470
+ labels: ['UgExternalAudit_File'],
471
+ }, UgExternalAuditRecord_1.UgExternalAuditRecord);
472
+ }
473
+ return this._ugExternalAudits;
474
+ }
475
+ /**
476
+ * Access linked BillingRequest records
477
+ * @remarks Available labels: BillingRequest__File
478
+ * @throws Error if called on a new (unsaved) record
479
+ *
480
+ * @example
481
+ * ```typescript
482
+ * // Get all linked BillingRequest records
483
+ * const items = await record.billingRequests.list();
484
+ * const first = await record.billingRequests.first();
485
+ *
486
+ * // Filter by label
487
+ * const specific = await record.billingRequests.first({ label: 'BillingRequest__File' });
488
+ * ```
489
+ */
490
+ get billingRequests() {
491
+ var _a;
492
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
493
+ throw new Error('Cannot access links on a new (unsaved) record');
494
+ if (!this._billingRequests) {
495
+ this._billingRequests = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
496
+ sourceEntity: 'SchemaModule:File',
497
+ targetEntity: 'BillingModule:BillingRequest',
498
+ targetModuleName: 'BillingModule',
499
+ targetEntityName: 'BillingRequest',
500
+ labels: ['BillingRequest__File'],
501
+ }, BillingRequestRecord_1.BillingRequestRecord);
502
+ }
503
+ return this._billingRequests;
504
+ }
505
+ /**
506
+ * Access linked Transaction records
507
+ * @remarks Available labels: Transaction__File
508
+ * @throws Error if called on a new (unsaved) record
509
+ *
510
+ * @example
511
+ * ```typescript
512
+ * // Get all linked Transaction records
513
+ * const items = await record.transactions.list();
514
+ * const first = await record.transactions.first();
515
+ *
516
+ * // Filter by label
517
+ * const specific = await record.transactions.first({ label: 'Transaction__File' });
518
+ * ```
519
+ */
520
+ get transactions() {
521
+ var _a;
522
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
523
+ throw new Error('Cannot access links on a new (unsaved) record');
524
+ if (!this._transactions) {
525
+ this._transactions = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
526
+ sourceEntity: 'SchemaModule:File',
527
+ targetEntity: 'BillingModule:Transaction',
528
+ targetModuleName: 'BillingModule',
529
+ targetEntityName: 'Transaction',
530
+ labels: ['Transaction__File'],
531
+ }, TransactionRecord_1.TransactionRecord);
532
+ }
533
+ return this._transactions;
534
+ }
535
+ /**
536
+ * Access linked CreditNote records
537
+ * @remarks Available labels: CreditNote__File
538
+ * @throws Error if called on a new (unsaved) record
539
+ *
540
+ * @example
541
+ * ```typescript
542
+ * // Get all linked CreditNote records
543
+ * const items = await record.creditNotes.list();
544
+ * const first = await record.creditNotes.first();
545
+ *
546
+ * // Filter by label
547
+ * const specific = await record.creditNotes.first({ label: 'CreditNote__File' });
548
+ * ```
549
+ */
550
+ get creditNotes() {
551
+ var _a;
552
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
553
+ throw new Error('Cannot access links on a new (unsaved) record');
554
+ if (!this._creditNotes) {
555
+ this._creditNotes = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
556
+ sourceEntity: 'SchemaModule:File',
557
+ targetEntity: 'BillingModule:CreditNote',
558
+ targetModuleName: 'BillingModule',
559
+ targetEntityName: 'CreditNote',
560
+ labels: ['CreditNote__File'],
561
+ }, CreditNoteRecord_1.CreditNoteRecord);
562
+ }
563
+ return this._creditNotes;
564
+ }
565
+ /**
566
+ * Access linked Address records
567
+ * @remarks Available labels: Address__File
568
+ * @throws Error if called on a new (unsaved) record
569
+ *
570
+ * @example
571
+ * ```typescript
572
+ * // Get all linked Address records
573
+ * const items = await record.addresses.list();
574
+ * const first = await record.addresses.first();
575
+ *
576
+ * // Filter by label
577
+ * const specific = await record.addresses.first({ label: 'Address__File' });
578
+ * ```
579
+ */
580
+ get addresses() {
581
+ var _a;
582
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
583
+ throw new Error('Cannot access links on a new (unsaved) record');
584
+ if (!this._addresses) {
585
+ this._addresses = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
586
+ sourceEntity: 'SchemaModule:File',
587
+ targetEntity: 'CrmModule:Address',
588
+ targetModuleName: 'CrmModule',
589
+ targetEntityName: 'Address',
590
+ labels: ['Address__File'],
591
+ }, AddressRecord_1.AddressRecord);
592
+ }
593
+ return this._addresses;
594
+ }
595
+ /**
596
+ * Access linked ChangeReason records
597
+ * @remarks Available labels: ChangeReason__File
598
+ * @throws Error if called on a new (unsaved) record
599
+ *
600
+ * @example
601
+ * ```typescript
602
+ * // Get all linked ChangeReason records
603
+ * const items = await record.changeReasons.list();
604
+ * const first = await record.changeReasons.first();
605
+ *
606
+ * // Filter by label
607
+ * const specific = await record.changeReasons.first({ label: 'ChangeReason__File' });
608
+ * ```
609
+ */
610
+ get changeReasons() {
611
+ var _a;
612
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
613
+ throw new Error('Cannot access links on a new (unsaved) record');
614
+ if (!this._changeReasons) {
615
+ this._changeReasons = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
616
+ sourceEntity: 'SchemaModule:File',
617
+ targetEntity: 'FieldServiceModule:ChangeReason',
618
+ targetModuleName: 'FieldServiceModule',
619
+ targetEntityName: 'ChangeReason',
620
+ labels: ['ChangeReason__File'],
621
+ }, ChangeReasonRecord_1.ChangeReasonRecord);
622
+ }
623
+ return this._changeReasons;
624
+ }
625
+ /**
626
+ * Access linked Discount records
627
+ * @remarks Available labels: Discount__File
628
+ * @throws Error if called on a new (unsaved) record
629
+ *
630
+ * @example
631
+ * ```typescript
632
+ * // Get all linked Discount records
633
+ * const items = await record.discounts.list();
634
+ * const first = await record.discounts.first();
635
+ *
636
+ * // Filter by label
637
+ * const specific = await record.discounts.first({ label: 'Discount__File' });
638
+ * ```
639
+ */
640
+ get discounts() {
641
+ var _a;
642
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
643
+ throw new Error('Cannot access links on a new (unsaved) record');
644
+ if (!this._discounts) {
645
+ this._discounts = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
646
+ sourceEntity: 'SchemaModule:File',
647
+ targetEntity: 'ProductModule:Discount',
648
+ targetModuleName: 'ProductModule',
649
+ targetEntityName: 'Discount',
650
+ labels: ['Discount__File'],
651
+ }, DiscountRecord_1.DiscountRecord);
652
+ }
653
+ return this._discounts;
654
+ }
655
+ /**
656
+ * Access linked PaymentMethodRefund records
657
+ * @remarks Available labels: PaymentMethodRefund__File
658
+ * @throws Error if called on a new (unsaved) record
659
+ *
660
+ * @example
661
+ * ```typescript
662
+ * // Get all linked PaymentMethodRefund records
663
+ * const items = await record.paymentMethodRefunds.list();
664
+ * const first = await record.paymentMethodRefunds.first();
665
+ *
666
+ * // Filter by label
667
+ * const specific = await record.paymentMethodRefunds.first({ label: 'PaymentMethodRefund__File' });
668
+ * ```
669
+ */
670
+ get paymentMethodRefunds() {
671
+ var _a;
672
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
673
+ throw new Error('Cannot access links on a new (unsaved) record');
674
+ if (!this._paymentMethodRefunds) {
675
+ this._paymentMethodRefunds = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
676
+ sourceEntity: 'SchemaModule:File',
677
+ targetEntity: 'BillingModule:PaymentMethodRefund',
678
+ targetModuleName: 'BillingModule',
679
+ targetEntityName: 'PaymentMethodRefund',
680
+ labels: ['PaymentMethodRefund__File'],
681
+ }, PaymentMethodRefundRecord_1.PaymentMethodRefundRecord);
682
+ }
683
+ return this._paymentMethodRefunds;
684
+ }
685
+ /**
686
+ * Access linked ServiceAppointment records
687
+ * @remarks Available labels: ServiceAppointment__File
688
+ * @throws Error if called on a new (unsaved) record
689
+ *
690
+ * @example
691
+ * ```typescript
692
+ * // Get all linked ServiceAppointment records
693
+ * const items = await record.serviceAppointments.list();
694
+ * const first = await record.serviceAppointments.first();
695
+ *
696
+ * // Filter by label
697
+ * const specific = await record.serviceAppointments.first({ label: 'ServiceAppointment__File' });
698
+ * ```
699
+ */
700
+ get serviceAppointments() {
701
+ var _a;
702
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
703
+ throw new Error('Cannot access links on a new (unsaved) record');
704
+ if (!this._serviceAppointments) {
705
+ this._serviceAppointments = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
706
+ sourceEntity: 'SchemaModule:File',
707
+ targetEntity: 'FieldServiceModule:ServiceAppointment',
708
+ targetModuleName: 'FieldServiceModule',
709
+ targetEntityName: 'ServiceAppointment',
710
+ labels: ['ServiceAppointment__File'],
711
+ }, ServiceAppointmentRecord_1.ServiceAppointmentRecord);
712
+ }
713
+ return this._serviceAppointments;
714
+ }
715
+ /**
716
+ * Access linked CustomerDeviceRouter records
717
+ * @remarks Available labels: CustomerDeviceRouter__File
718
+ * @throws Error if called on a new (unsaved) record
719
+ *
720
+ * @example
721
+ * ```typescript
722
+ * // Get all linked CustomerDeviceRouter records
723
+ * const items = await record.customerDeviceRouters.list();
724
+ * const first = await record.customerDeviceRouters.first();
725
+ *
726
+ * // Filter by label
727
+ * const specific = await record.customerDeviceRouters.first({ label: 'CustomerDeviceRouter__File' });
728
+ * ```
729
+ */
730
+ get customerDeviceRouters() {
731
+ var _a;
732
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
733
+ throw new Error('Cannot access links on a new (unsaved) record');
734
+ if (!this._customerDeviceRouters) {
735
+ this._customerDeviceRouters = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
736
+ sourceEntity: 'SchemaModule:File',
737
+ targetEntity: 'ServiceModule:CustomerDeviceRouter',
738
+ targetModuleName: 'ServiceModule',
739
+ targetEntityName: 'CustomerDeviceRouter',
740
+ labels: ['CustomerDeviceRouter__File'],
741
+ }, CustomerDeviceRouterRecord_1.CustomerDeviceRouterRecord);
742
+ }
743
+ return this._customerDeviceRouters;
744
+ }
745
+ /**
746
+ * Access linked Visit records
747
+ * @remarks Available labels: Visit__File
748
+ * @throws Error if called on a new (unsaved) record
749
+ *
750
+ * @example
751
+ * ```typescript
752
+ * // Get all linked Visit records
753
+ * const items = await record.visits.list();
754
+ * const first = await record.visits.first();
755
+ *
756
+ * // Filter by label
757
+ * const specific = await record.visits.first({ label: 'Visit__File' });
758
+ * ```
759
+ */
760
+ get visits() {
761
+ var _a;
762
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
763
+ throw new Error('Cannot access links on a new (unsaved) record');
764
+ if (!this._visits) {
765
+ this._visits = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
766
+ sourceEntity: 'SchemaModule:File',
767
+ targetEntity: 'CrmModule:Visit',
768
+ targetModuleName: 'CrmModule',
769
+ targetEntityName: 'Visit',
770
+ labels: ['Visit__File'],
771
+ }, VisitRecord_1.VisitRecord);
772
+ }
773
+ return this._visits;
774
+ }
775
+ /**
776
+ * Access linked WayleaveAudit records
777
+ * @remarks Available labels: WayleaveAudit_File
778
+ * @throws Error if called on a new (unsaved) record
779
+ *
780
+ * @example
781
+ * ```typescript
782
+ * // Get all linked WayleaveAudit records
783
+ * const items = await record.wayleaveAudits.list();
784
+ * const first = await record.wayleaveAudits.first();
785
+ *
786
+ * // Filter by label
787
+ * const specific = await record.wayleaveAudits.first({ label: 'WayleaveAudit_File' });
788
+ * ```
789
+ */
790
+ get wayleaveAudits() {
791
+ var _a;
792
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
793
+ throw new Error('Cannot access links on a new (unsaved) record');
794
+ if (!this._wayleaveAudits) {
795
+ this._wayleaveAudits = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
796
+ sourceEntity: 'SchemaModule:File',
797
+ targetEntity: 'FieldServiceModule:WayleaveAudit',
798
+ targetModuleName: 'FieldServiceModule',
799
+ targetEntityName: 'WayleaveAudit',
800
+ labels: ['WayleaveAudit_File'],
801
+ }, WayleaveAuditRecord_1.WayleaveAuditRecord);
802
+ }
803
+ return this._wayleaveAudits;
804
+ }
805
+ /**
806
+ * Access linked WorkOrder records
807
+ * @remarks Available labels: WorkOrder__File
808
+ * @throws Error if called on a new (unsaved) record
809
+ *
810
+ * @example
811
+ * ```typescript
812
+ * // Get all linked WorkOrder records
813
+ * const items = await record.workOrders.list();
814
+ * const first = await record.workOrders.first();
815
+ *
816
+ * // Filter by label
817
+ * const specific = await record.workOrders.first({ label: 'WorkOrder__File' });
818
+ * ```
819
+ */
820
+ get workOrders() {
821
+ var _a;
822
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
823
+ throw new Error('Cannot access links on a new (unsaved) record');
824
+ if (!this._workOrders) {
825
+ this._workOrders = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
826
+ sourceEntity: 'SchemaModule:File',
827
+ targetEntity: 'FieldServiceModule:WorkOrder',
828
+ targetModuleName: 'FieldServiceModule',
829
+ targetEntityName: 'WorkOrder',
830
+ labels: ['WorkOrder__File'],
831
+ }, WorkOrderRecord_1.WorkOrderRecord);
832
+ }
833
+ return this._workOrders;
834
+ }
835
+ /**
836
+ * Access linked OrderItem records
837
+ * @remarks Available labels: OrderItem__File
838
+ * @throws Error if called on a new (unsaved) record
839
+ *
840
+ * @example
841
+ * ```typescript
842
+ * // Get all linked OrderItem records
843
+ * const items = await record.orderItems.list();
844
+ * const first = await record.orderItems.first();
845
+ *
846
+ * // Filter by label
847
+ * const specific = await record.orderItems.first({ label: 'OrderItem__File' });
848
+ * ```
849
+ */
850
+ get orderItems() {
851
+ var _a;
852
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
853
+ throw new Error('Cannot access links on a new (unsaved) record');
854
+ if (!this._orderItems) {
855
+ this._orderItems = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
856
+ sourceEntity: 'SchemaModule:File',
857
+ targetEntity: 'OrderModule:OrderItem',
858
+ targetModuleName: 'OrderModule',
859
+ targetEntityName: 'OrderItem',
860
+ labels: ['OrderItem__File'],
861
+ }, OrderItemRecord_1.OrderItemRecord);
862
+ }
863
+ return this._orderItems;
864
+ }
865
+ /**
866
+ * Access linked KnowledgeArticle records
867
+ * @remarks Available labels: KnowledgeArticle__File
868
+ * @throws Error if called on a new (unsaved) record
869
+ *
870
+ * @example
871
+ * ```typescript
872
+ * // Get all linked KnowledgeArticle records
873
+ * const items = await record.knowledgeArticles.list();
874
+ * const first = await record.knowledgeArticles.first();
875
+ *
876
+ * // Filter by label
877
+ * const specific = await record.knowledgeArticles.first({ label: 'KnowledgeArticle__File' });
878
+ * ```
879
+ */
880
+ get knowledgeArticles() {
881
+ var _a;
882
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
883
+ throw new Error('Cannot access links on a new (unsaved) record');
884
+ if (!this._knowledgeArticles) {
885
+ this._knowledgeArticles = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
886
+ sourceEntity: 'SchemaModule:File',
887
+ targetEntity: 'SupportModule:KnowledgeArticle',
396
888
  targetModuleName: 'SupportModule',
397
- targetEntityName: 'Note',
398
- labels: ['File__Note'],
399
- }, NoteRecord_1.NoteRecord);
889
+ targetEntityName: 'KnowledgeArticle',
890
+ labels: ['KnowledgeArticle__File'],
891
+ }, KnowledgeArticleRecord_1.KnowledgeArticleRecord);
400
892
  }
401
- return this._notes;
893
+ return this._knowledgeArticles;
894
+ }
895
+ /**
896
+ * Access linked Case records
897
+ * @remarks Available labels: Case__File
898
+ * @throws Error if called on a new (unsaved) record
899
+ *
900
+ * @example
901
+ * ```typescript
902
+ * // Get all linked Case records
903
+ * const items = await record.cases.list();
904
+ * const first = await record.cases.first();
905
+ *
906
+ * // Filter by label
907
+ * const specific = await record.cases.first({ label: 'Case__File' });
908
+ * ```
909
+ */
910
+ get cases() {
911
+ var _a;
912
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
913
+ throw new Error('Cannot access links on a new (unsaved) record');
914
+ if (!this._cases) {
915
+ this._cases = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
916
+ sourceEntity: 'SchemaModule:File',
917
+ targetEntity: 'SupportModule:Case',
918
+ targetModuleName: 'SupportModule',
919
+ targetEntityName: 'Case',
920
+ labels: ['Case__File'],
921
+ }, CaseRecord_1.CaseRecord);
922
+ }
923
+ return this._cases;
924
+ }
925
+ /**
926
+ * Access linked Activity records
927
+ * @remarks Available labels: Activity__File
928
+ * @throws Error if called on a new (unsaved) record
929
+ *
930
+ * @example
931
+ * ```typescript
932
+ * // Get all linked Activity records
933
+ * const items = await record.activities.list();
934
+ * const first = await record.activities.first();
935
+ *
936
+ * // Filter by label
937
+ * const specific = await record.activities.first({ label: 'Activity__File' });
938
+ * ```
939
+ */
940
+ get activities() {
941
+ var _a;
942
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
943
+ throw new Error('Cannot access links on a new (unsaved) record');
944
+ if (!this._activities) {
945
+ this._activities = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
946
+ sourceEntity: 'SchemaModule:File',
947
+ targetEntity: 'SchemaModule:Activity',
948
+ targetModuleName: 'SchemaModule',
949
+ targetEntityName: 'Activity',
950
+ labels: ['Activity__File'],
951
+ }, ActivityRecord_1.ActivityRecord);
952
+ }
953
+ return this._activities;
954
+ }
955
+ /**
956
+ * Access linked OneTouchSwitch records
957
+ * @remarks Available labels: OneTouchSwitch_File
958
+ * @throws Error if called on a new (unsaved) record
959
+ *
960
+ * @example
961
+ * ```typescript
962
+ * // Get all linked OneTouchSwitch records
963
+ * const items = await record.oneTouchSwitches.list();
964
+ * const first = await record.oneTouchSwitches.first();
965
+ *
966
+ * // Filter by label
967
+ * const specific = await record.oneTouchSwitches.first({ label: 'OneTouchSwitch_File' });
968
+ * ```
969
+ */
970
+ get oneTouchSwitches() {
971
+ var _a;
972
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
973
+ throw new Error('Cannot access links on a new (unsaved) record');
974
+ if (!this._oneTouchSwitches) {
975
+ this._oneTouchSwitches = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
976
+ sourceEntity: 'SchemaModule:File',
977
+ targetEntity: 'OrderModule:OneTouchSwitch',
978
+ targetModuleName: 'OrderModule',
979
+ targetEntityName: 'OneTouchSwitch',
980
+ labels: ['OneTouchSwitch_File'],
981
+ }, OneTouchSwitchRecord_1.OneTouchSwitchRecord);
982
+ }
983
+ return this._oneTouchSwitches;
984
+ }
985
+ /**
986
+ * Access linked RemediationRequiredReason records
987
+ * @remarks Available labels: RemediationRequiredReason__File
988
+ * @throws Error if called on a new (unsaved) record
989
+ *
990
+ * @example
991
+ * ```typescript
992
+ * // Get all linked RemediationRequiredReason records
993
+ * const items = await record.remediationRequiredReasons.list();
994
+ * const first = await record.remediationRequiredReasons.first();
995
+ *
996
+ * // Filter by label
997
+ * const specific = await record.remediationRequiredReasons.first({ label: 'RemediationRequiredReason__File' });
998
+ * ```
999
+ */
1000
+ get remediationRequiredReasons() {
1001
+ var _a;
1002
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1003
+ throw new Error('Cannot access links on a new (unsaved) record');
1004
+ if (!this._remediationRequiredReasons) {
1005
+ this._remediationRequiredReasons = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1006
+ sourceEntity: 'SchemaModule:File',
1007
+ targetEntity: 'FieldServiceModule:RemediationRequiredReason',
1008
+ targetModuleName: 'FieldServiceModule',
1009
+ targetEntityName: 'RemediationRequiredReason',
1010
+ labels: ['RemediationRequiredReason__File'],
1011
+ }, RemediationRequiredReasonRecord_1.RemediationRequiredReasonRecord);
1012
+ }
1013
+ return this._remediationRequiredReasons;
1014
+ }
1015
+ /**
1016
+ * Access linked Invoice records
1017
+ * @remarks Available labels: Invoice__File
1018
+ * @throws Error if called on a new (unsaved) record
1019
+ *
1020
+ * @example
1021
+ * ```typescript
1022
+ * // Get all linked Invoice records
1023
+ * const items = await record.invoices.list();
1024
+ * const first = await record.invoices.first();
1025
+ *
1026
+ * // Filter by label
1027
+ * const specific = await record.invoices.first({ label: 'Invoice__File' });
1028
+ * ```
1029
+ */
1030
+ get invoices() {
1031
+ var _a;
1032
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1033
+ throw new Error('Cannot access links on a new (unsaved) record');
1034
+ if (!this._invoices) {
1035
+ this._invoices = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1036
+ sourceEntity: 'SchemaModule:File',
1037
+ targetEntity: 'BillingModule:Invoice',
1038
+ targetModuleName: 'BillingModule',
1039
+ targetEntityName: 'Invoice',
1040
+ labels: ['Invoice__File'],
1041
+ }, InvoiceRecord_1.InvoiceRecord);
1042
+ }
1043
+ return this._invoices;
1044
+ }
1045
+ /**
1046
+ * Access linked Note records
1047
+ * @remarks Available labels: File__Note, Note__File
1048
+ * @throws Error if called on a new (unsaved) record
1049
+ *
1050
+ * @example
1051
+ * ```typescript
1052
+ * // Get all linked Note records
1053
+ * const items = await record.notes.list();
1054
+ * const first = await record.notes.first();
1055
+ *
1056
+ * // Filter by label
1057
+ * const specific = await record.notes.first({ label: 'File__Note' });
1058
+ * ```
1059
+ */
1060
+ get notes() {
1061
+ var _a;
1062
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1063
+ throw new Error('Cannot access links on a new (unsaved) record');
1064
+ if (!this._notes) {
1065
+ this._notes = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1066
+ sourceEntity: 'SchemaModule:File',
1067
+ targetEntity: 'SupportModule:Note',
1068
+ targetModuleName: 'SupportModule',
1069
+ targetEntityName: 'Note',
1070
+ labels: ['File__Note', 'Note__File'],
1071
+ }, NoteRecord_1.NoteRecord);
1072
+ }
1073
+ return this._notes;
1074
+ }
1075
+ /**
1076
+ * Access linked Lead records
1077
+ * @remarks Available labels: Lead__File
1078
+ * @throws Error if called on a new (unsaved) record
1079
+ *
1080
+ * @example
1081
+ * ```typescript
1082
+ * // Get all linked Lead records
1083
+ * const items = await record.leads.list();
1084
+ * const first = await record.leads.first();
1085
+ *
1086
+ * // Filter by label
1087
+ * const specific = await record.leads.first({ label: 'Lead__File' });
1088
+ * ```
1089
+ */
1090
+ get leads() {
1091
+ var _a;
1092
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1093
+ throw new Error('Cannot access links on a new (unsaved) record');
1094
+ if (!this._leads) {
1095
+ this._leads = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1096
+ sourceEntity: 'SchemaModule:File',
1097
+ targetEntity: 'CrmModule:Lead',
1098
+ targetModuleName: 'CrmModule',
1099
+ targetEntityName: 'Lead',
1100
+ labels: ['Lead__File'],
1101
+ }, LeadRecord_1.LeadRecord);
1102
+ }
1103
+ return this._leads;
1104
+ }
1105
+ /**
1106
+ * Access linked Account records
1107
+ * @remarks Available labels: Account__File
1108
+ * @throws Error if called on a new (unsaved) record
1109
+ *
1110
+ * @example
1111
+ * ```typescript
1112
+ * // Get all linked Account records
1113
+ * const items = await record.accounts.list();
1114
+ * const first = await record.accounts.first();
1115
+ *
1116
+ * // Filter by label
1117
+ * const specific = await record.accounts.first({ label: 'Account__File' });
1118
+ * ```
1119
+ */
1120
+ get accounts() {
1121
+ var _a;
1122
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1123
+ throw new Error('Cannot access links on a new (unsaved) record');
1124
+ if (!this._accounts) {
1125
+ this._accounts = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1126
+ sourceEntity: 'SchemaModule:File',
1127
+ targetEntity: 'CrmModule:Account',
1128
+ targetModuleName: 'CrmModule',
1129
+ targetEntityName: 'Account',
1130
+ labels: ['Account__File'],
1131
+ }, AccountRecord_1.AccountRecord);
1132
+ }
1133
+ return this._accounts;
1134
+ }
1135
+ /**
1136
+ * Access linked PaymentMethod records
1137
+ * @remarks Available labels: PaymentMethod__File
1138
+ * @throws Error if called on a new (unsaved) record
1139
+ *
1140
+ * @example
1141
+ * ```typescript
1142
+ * // Get all linked PaymentMethod records
1143
+ * const items = await record.paymentMethods.list();
1144
+ * const first = await record.paymentMethods.first();
1145
+ *
1146
+ * // Filter by label
1147
+ * const specific = await record.paymentMethods.first({ label: 'PaymentMethod__File' });
1148
+ * ```
1149
+ */
1150
+ get paymentMethods() {
1151
+ var _a;
1152
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1153
+ throw new Error('Cannot access links on a new (unsaved) record');
1154
+ if (!this._paymentMethods) {
1155
+ this._paymentMethods = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1156
+ sourceEntity: 'SchemaModule:File',
1157
+ targetEntity: 'BillingModule:PaymentMethod',
1158
+ targetModuleName: 'BillingModule',
1159
+ targetEntityName: 'PaymentMethod',
1160
+ labels: ['PaymentMethod__File'],
1161
+ }, PaymentMethodRecord_1.PaymentMethodRecord);
1162
+ }
1163
+ return this._paymentMethods;
1164
+ }
1165
+ /**
1166
+ * Access linked ContractBuyOut records
1167
+ * @remarks Available labels: ContractBuyOut__File
1168
+ * @throws Error if called on a new (unsaved) record
1169
+ *
1170
+ * @example
1171
+ * ```typescript
1172
+ * // Get all linked ContractBuyOut records
1173
+ * const items = await record.contractBuyOuts.list();
1174
+ * const first = await record.contractBuyOuts.first();
1175
+ *
1176
+ * // Filter by label
1177
+ * const specific = await record.contractBuyOuts.first({ label: 'ContractBuyOut__File' });
1178
+ * ```
1179
+ */
1180
+ get contractBuyOuts() {
1181
+ var _a;
1182
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1183
+ throw new Error('Cannot access links on a new (unsaved) record');
1184
+ if (!this._contractBuyOuts) {
1185
+ this._contractBuyOuts = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1186
+ sourceEntity: 'SchemaModule:File',
1187
+ targetEntity: 'OrderModule:ContractBuyOut',
1188
+ targetModuleName: 'OrderModule',
1189
+ targetEntityName: 'ContractBuyOut',
1190
+ labels: ['ContractBuyOut__File'],
1191
+ }, ContractBuyOutRecord_1.ContractBuyOutRecord);
1192
+ }
1193
+ return this._contractBuyOuts;
1194
+ }
1195
+ /**
1196
+ * Access linked SiteSpecificRiskAssessmentOutcomeForm records
1197
+ * @remarks Available labels: SiteSpecificRiskAssessmentOutcomeForm__File
1198
+ * @throws Error if called on a new (unsaved) record
1199
+ *
1200
+ * @example
1201
+ * ```typescript
1202
+ * // Get all linked SiteSpecificRiskAssessmentOutcomeForm records
1203
+ * const items = await record.siteSpecificRiskAssessmentOutcomeForms.list();
1204
+ * const first = await record.siteSpecificRiskAssessmentOutcomeForms.first();
1205
+ *
1206
+ * // Filter by label
1207
+ * const specific = await record.siteSpecificRiskAssessmentOutcomeForms.first({ label: 'SiteSpecificRiskAssessmentOutcomeForm__File' });
1208
+ * ```
1209
+ */
1210
+ get siteSpecificRiskAssessmentOutcomeForms() {
1211
+ var _a;
1212
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1213
+ throw new Error('Cannot access links on a new (unsaved) record');
1214
+ if (!this._siteSpecificRiskAssessmentOutcomeForms) {
1215
+ this._siteSpecificRiskAssessmentOutcomeForms = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1216
+ sourceEntity: 'SchemaModule:File',
1217
+ targetEntity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
1218
+ targetModuleName: 'FieldServiceModule',
1219
+ targetEntityName: 'SiteSpecificRiskAssessmentOutcomeForm',
1220
+ labels: ['SiteSpecificRiskAssessmentOutcomeForm__File'],
1221
+ }, SiteSpecificRiskAssessmentOutcomeFormRecord_1.SiteSpecificRiskAssessmentOutcomeFormRecord);
1222
+ }
1223
+ return this._siteSpecificRiskAssessmentOutcomeForms;
1224
+ }
1225
+ /**
1226
+ * Access linked RemediationOutcomeForm records
1227
+ * @remarks Available labels: RemediationOutcomeForm_File
1228
+ * @throws Error if called on a new (unsaved) record
1229
+ *
1230
+ * @example
1231
+ * ```typescript
1232
+ * // Get all linked RemediationOutcomeForm records
1233
+ * const items = await record.remediationOutcomeForms.list();
1234
+ * const first = await record.remediationOutcomeForms.first();
1235
+ *
1236
+ * // Filter by label
1237
+ * const specific = await record.remediationOutcomeForms.first({ label: 'RemediationOutcomeForm_File' });
1238
+ * ```
1239
+ */
1240
+ get remediationOutcomeForms() {
1241
+ var _a;
1242
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1243
+ throw new Error('Cannot access links on a new (unsaved) record');
1244
+ if (!this._remediationOutcomeForms) {
1245
+ this._remediationOutcomeForms = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1246
+ sourceEntity: 'SchemaModule:File',
1247
+ targetEntity: 'FieldServiceModule:RemediationOutcomeForm',
1248
+ targetModuleName: 'FieldServiceModule',
1249
+ targetEntityName: 'RemediationOutcomeForm',
1250
+ labels: ['RemediationOutcomeForm_File'],
1251
+ }, RemediationOutcomeFormRecord_1.RemediationOutcomeFormRecord);
1252
+ }
1253
+ return this._remediationOutcomeForms;
1254
+ }
1255
+ /**
1256
+ * Access linked Order records
1257
+ * @remarks Available labels: Order__File
1258
+ * @throws Error if called on a new (unsaved) record
1259
+ *
1260
+ * @example
1261
+ * ```typescript
1262
+ * // Get all linked Order records
1263
+ * const items = await record.orders.list();
1264
+ * const first = await record.orders.first();
1265
+ *
1266
+ * // Filter by label
1267
+ * const specific = await record.orders.first({ label: 'Order__File' });
1268
+ * ```
1269
+ */
1270
+ get orders() {
1271
+ var _a;
1272
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1273
+ throw new Error('Cannot access links on a new (unsaved) record');
1274
+ if (!this._orders) {
1275
+ this._orders = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1276
+ sourceEntity: 'SchemaModule:File',
1277
+ targetEntity: 'OrderModule:Order',
1278
+ targetModuleName: 'OrderModule',
1279
+ targetEntityName: 'Order',
1280
+ labels: ['Order__File'],
1281
+ }, OrderRecord_1.OrderRecord);
1282
+ }
1283
+ return this._orders;
1284
+ }
1285
+ /**
1286
+ * Access linked Call records
1287
+ * @remarks Available labels: Call__File
1288
+ * @throws Error if called on a new (unsaved) record
1289
+ *
1290
+ * @example
1291
+ * ```typescript
1292
+ * // Get all linked Call records
1293
+ * const items = await record.calls.list();
1294
+ * const first = await record.calls.first();
1295
+ *
1296
+ * // Filter by label
1297
+ * const specific = await record.calls.first({ label: 'Call__File' });
1298
+ * ```
1299
+ */
1300
+ get calls() {
1301
+ var _a;
1302
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1303
+ throw new Error('Cannot access links on a new (unsaved) record');
1304
+ if (!this._calls) {
1305
+ this._calls = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1306
+ sourceEntity: 'SchemaModule:File',
1307
+ targetEntity: 'NotificationModule:Call',
1308
+ targetModuleName: 'NotificationModule',
1309
+ targetEntityName: 'Call',
1310
+ labels: ['Call__File'],
1311
+ }, CallRecord_1.CallRecord);
1312
+ }
1313
+ return this._calls;
1314
+ }
1315
+ /**
1316
+ * Access linked OhExternalAudit records
1317
+ * @remarks Available labels: OhExternalAudit_File
1318
+ * @throws Error if called on a new (unsaved) record
1319
+ *
1320
+ * @example
1321
+ * ```typescript
1322
+ * // Get all linked OhExternalAudit records
1323
+ * const items = await record.ohExternalAudits.list();
1324
+ * const first = await record.ohExternalAudits.first();
1325
+ *
1326
+ * // Filter by label
1327
+ * const specific = await record.ohExternalAudits.first({ label: 'OhExternalAudit_File' });
1328
+ * ```
1329
+ */
1330
+ get ohExternalAudits() {
1331
+ var _a;
1332
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1333
+ throw new Error('Cannot access links on a new (unsaved) record');
1334
+ if (!this._ohExternalAudits) {
1335
+ this._ohExternalAudits = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1336
+ sourceEntity: 'SchemaModule:File',
1337
+ targetEntity: 'FieldServiceModule:OhExternalAudit',
1338
+ targetModuleName: 'FieldServiceModule',
1339
+ targetEntityName: 'OhExternalAudit',
1340
+ labels: ['OhExternalAudit_File'],
1341
+ }, OhExternalAuditRecord_1.OhExternalAuditRecord);
1342
+ }
1343
+ return this._ohExternalAudits;
1344
+ }
1345
+ /**
1346
+ * Access linked CustomerDeviceOnt records
1347
+ * @remarks Available labels: CustomerDeviceOnt__File
1348
+ * @throws Error if called on a new (unsaved) record
1349
+ *
1350
+ * @example
1351
+ * ```typescript
1352
+ * // Get all linked CustomerDeviceOnt records
1353
+ * const items = await record.customerDeviceOnts.list();
1354
+ * const first = await record.customerDeviceOnts.first();
1355
+ *
1356
+ * // Filter by label
1357
+ * const specific = await record.customerDeviceOnts.first({ label: 'CustomerDeviceOnt__File' });
1358
+ * ```
1359
+ */
1360
+ get customerDeviceOnts() {
1361
+ var _a;
1362
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1363
+ throw new Error('Cannot access links on a new (unsaved) record');
1364
+ if (!this._customerDeviceOnts) {
1365
+ this._customerDeviceOnts = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1366
+ sourceEntity: 'SchemaModule:File',
1367
+ targetEntity: 'ServiceModule:CustomerDeviceOnt',
1368
+ targetModuleName: 'ServiceModule',
1369
+ targetEntityName: 'CustomerDeviceOnt',
1370
+ labels: ['CustomerDeviceOnt__File'],
1371
+ }, CustomerDeviceOntRecord_1.CustomerDeviceOntRecord);
1372
+ }
1373
+ return this._customerDeviceOnts;
1374
+ }
1375
+ /**
1376
+ * Access linked BillingAdjustment records
1377
+ * @remarks Available labels: BillingAdjustment__File
1378
+ * @throws Error if called on a new (unsaved) record
1379
+ *
1380
+ * @example
1381
+ * ```typescript
1382
+ * // Get all linked BillingAdjustment records
1383
+ * const items = await record.billingAdjustments.list();
1384
+ * const first = await record.billingAdjustments.first();
1385
+ *
1386
+ * // Filter by label
1387
+ * const specific = await record.billingAdjustments.first({ label: 'BillingAdjustment__File' });
1388
+ * ```
1389
+ */
1390
+ get billingAdjustments() {
1391
+ var _a;
1392
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1393
+ throw new Error('Cannot access links on a new (unsaved) record');
1394
+ if (!this._billingAdjustments) {
1395
+ this._billingAdjustments = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1396
+ sourceEntity: 'SchemaModule:File',
1397
+ targetEntity: 'OrderModule:BillingAdjustment',
1398
+ targetModuleName: 'OrderModule',
1399
+ targetEntityName: 'BillingAdjustment',
1400
+ labels: ['BillingAdjustment__File'],
1401
+ }, BillingAdjustmentRecord_1.BillingAdjustmentRecord);
1402
+ }
1403
+ return this._billingAdjustments;
1404
+ }
1405
+ /**
1406
+ * Access linked Contact records
1407
+ * @remarks Available labels: Contact__File
1408
+ * @throws Error if called on a new (unsaved) record
1409
+ *
1410
+ * @example
1411
+ * ```typescript
1412
+ * // Get all linked Contact records
1413
+ * const items = await record.contacts.list();
1414
+ * const first = await record.contacts.first();
1415
+ *
1416
+ * // Filter by label
1417
+ * const specific = await record.contacts.first({ label: 'Contact__File' });
1418
+ * ```
1419
+ */
1420
+ get contacts() {
1421
+ var _a;
1422
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1423
+ throw new Error('Cannot access links on a new (unsaved) record');
1424
+ if (!this._contacts) {
1425
+ this._contacts = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1426
+ sourceEntity: 'SchemaModule:File',
1427
+ targetEntity: 'CrmModule:Contact',
1428
+ targetModuleName: 'CrmModule',
1429
+ targetEntityName: 'Contact',
1430
+ labels: ['Contact__File'],
1431
+ }, ContactRecord_1.ContactRecord);
1432
+ }
1433
+ return this._contacts;
1434
+ }
1435
+ /**
1436
+ * Access linked Message records
1437
+ * @remarks Available labels: Message_File
1438
+ * @throws Error if called on a new (unsaved) record
1439
+ *
1440
+ * @example
1441
+ * ```typescript
1442
+ * // Get all linked Message records
1443
+ * const items = await record.messages.list();
1444
+ * const first = await record.messages.first();
1445
+ *
1446
+ * // Filter by label
1447
+ * const specific = await record.messages.first({ label: 'Message_File' });
1448
+ * ```
1449
+ */
1450
+ get messages() {
1451
+ var _a;
1452
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1453
+ throw new Error('Cannot access links on a new (unsaved) record');
1454
+ if (!this._messages) {
1455
+ this._messages = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1456
+ sourceEntity: 'SchemaModule:File',
1457
+ targetEntity: 'NotificationModule:Message',
1458
+ targetModuleName: 'NotificationModule',
1459
+ targetEntityName: 'Message',
1460
+ labels: ['Message_File'],
1461
+ }, MessageRecord_1.MessageRecord);
1462
+ }
1463
+ return this._messages;
1464
+ }
1465
+ /**
1466
+ * Access linked Email records
1467
+ * @remarks Available labels: Attachments
1468
+ * @throws Error if called on a new (unsaved) record
1469
+ *
1470
+ * @example
1471
+ * ```typescript
1472
+ * // Get all linked Email records
1473
+ * const items = await record.emails.list();
1474
+ * const first = await record.emails.first();
1475
+ *
1476
+ * // Filter by label
1477
+ * const specific = await record.emails.first({ label: 'Attachments' });
1478
+ * ```
1479
+ */
1480
+ get emails() {
1481
+ var _a;
1482
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1483
+ throw new Error('Cannot access links on a new (unsaved) record');
1484
+ if (!this._emails) {
1485
+ this._emails = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1486
+ sourceEntity: 'SchemaModule:File',
1487
+ targetEntity: 'NotificationModule:Email',
1488
+ targetModuleName: 'NotificationModule',
1489
+ targetEntityName: 'Email',
1490
+ labels: ['Attachments'],
1491
+ }, EmailRecord_1.EmailRecord);
1492
+ }
1493
+ return this._emails;
1494
+ }
1495
+ /**
1496
+ * Access linked PgDirectDebitFile records
1497
+ * @remarks Available labels: PgDirectDebitFile__File
1498
+ * @throws Error if called on a new (unsaved) record
1499
+ *
1500
+ * @example
1501
+ * ```typescript
1502
+ * // Get all linked PgDirectDebitFile records
1503
+ * const items = await record.pgDirectDebitFiles.list();
1504
+ * const first = await record.pgDirectDebitFiles.first();
1505
+ *
1506
+ * // Filter by label
1507
+ * const specific = await record.pgDirectDebitFiles.first({ label: 'PgDirectDebitFile__File' });
1508
+ * ```
1509
+ */
1510
+ get pgDirectDebitFiles() {
1511
+ var _a;
1512
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1513
+ throw new Error('Cannot access links on a new (unsaved) record');
1514
+ if (!this._pgDirectDebitFiles) {
1515
+ this._pgDirectDebitFiles = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1516
+ sourceEntity: 'SchemaModule:File',
1517
+ targetEntity: 'BillingModule:PgDirectDebitFile',
1518
+ targetModuleName: 'BillingModule',
1519
+ targetEntityName: 'PgDirectDebitFile',
1520
+ labels: ['PgDirectDebitFile__File'],
1521
+ }, PgDirectDebitFileRecord_1.PgDirectDebitFileRecord);
1522
+ }
1523
+ return this._pgDirectDebitFiles;
1524
+ }
1525
+ /**
1526
+ * Access linked YfWifiSurvey records
1527
+ * @remarks Available labels: YfWifiSurvey__File
1528
+ * @throws Error if called on a new (unsaved) record
1529
+ *
1530
+ * @example
1531
+ * ```typescript
1532
+ * // Get all linked YfWifiSurvey records
1533
+ * const items = await record.yfWifiSurveys.list();
1534
+ * const first = await record.yfWifiSurveys.first();
1535
+ *
1536
+ * // Filter by label
1537
+ * const specific = await record.yfWifiSurveys.first({ label: 'YfWifiSurvey__File' });
1538
+ * ```
1539
+ */
1540
+ get yfWifiSurveys() {
1541
+ var _a;
1542
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1543
+ throw new Error('Cannot access links on a new (unsaved) record');
1544
+ if (!this._yfWifiSurveys) {
1545
+ this._yfWifiSurveys = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1546
+ sourceEntity: 'SchemaModule:File',
1547
+ targetEntity: 'FieldServiceModule:YfWifiSurvey',
1548
+ targetModuleName: 'FieldServiceModule',
1549
+ targetEntityName: 'YfWifiSurvey',
1550
+ labels: ['YfWifiSurvey__File'],
1551
+ }, YfWifiSurveyRecord_1.YfWifiSurveyRecord);
1552
+ }
1553
+ return this._yfWifiSurveys;
1554
+ }
1555
+ /**
1556
+ * Access linked YfFieldVisitOutcomeForm records
1557
+ * @remarks Available labels: YfFieldVisitOutcomeForm__File
1558
+ * @throws Error if called on a new (unsaved) record
1559
+ *
1560
+ * @example
1561
+ * ```typescript
1562
+ * // Get all linked YfFieldVisitOutcomeForm records
1563
+ * const items = await record.yfFieldVisitOutcomeForms.list();
1564
+ * const first = await record.yfFieldVisitOutcomeForms.first();
1565
+ *
1566
+ * // Filter by label
1567
+ * const specific = await record.yfFieldVisitOutcomeForms.first({ label: 'YfFieldVisitOutcomeForm__File' });
1568
+ * ```
1569
+ */
1570
+ get yfFieldVisitOutcomeForms() {
1571
+ var _a;
1572
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1573
+ throw new Error('Cannot access links on a new (unsaved) record');
1574
+ if (!this._yfFieldVisitOutcomeForms) {
1575
+ this._yfFieldVisitOutcomeForms = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1576
+ sourceEntity: 'SchemaModule:File',
1577
+ targetEntity: 'FieldServiceModule:YfFieldVisitOutcomeForm',
1578
+ targetModuleName: 'FieldServiceModule',
1579
+ targetEntityName: 'YfFieldVisitOutcomeForm',
1580
+ labels: ['YfFieldVisitOutcomeForm__File'],
1581
+ }, YfFieldVisitOutcomeFormRecord_1.YfFieldVisitOutcomeFormRecord);
1582
+ }
1583
+ return this._yfFieldVisitOutcomeForms;
1584
+ }
1585
+ /**
1586
+ * Access linked Document records
1587
+ * @remarks Available labels: Document__File
1588
+ * @throws Error if called on a new (unsaved) record
1589
+ *
1590
+ * @example
1591
+ * ```typescript
1592
+ * // Get all linked Document records
1593
+ * const items = await record.documents.list();
1594
+ * const first = await record.documents.first();
1595
+ *
1596
+ * // Filter by label
1597
+ * const specific = await record.documents.first({ label: 'Document__File' });
1598
+ * ```
1599
+ */
1600
+ get documents() {
1601
+ var _a;
1602
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1603
+ throw new Error('Cannot access links on a new (unsaved) record');
1604
+ if (!this._documents) {
1605
+ this._documents = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1606
+ sourceEntity: 'SchemaModule:File',
1607
+ targetEntity: 'AiModule:Document',
1608
+ targetModuleName: 'AiModule',
1609
+ targetEntityName: 'Document',
1610
+ labels: ['Document__File'],
1611
+ }, DocumentRecord_1.DocumentRecord);
1612
+ }
1613
+ return this._documents;
1614
+ }
1615
+ /**
1616
+ * Access linked DocumentProcessing records
1617
+ * @remarks Available labels: DocumentProcessing__File
1618
+ * @throws Error if called on a new (unsaved) record
1619
+ *
1620
+ * @example
1621
+ * ```typescript
1622
+ * // Get all linked DocumentProcessing records
1623
+ * const items = await record.documentProcessings.list();
1624
+ * const first = await record.documentProcessings.first();
1625
+ *
1626
+ * // Filter by label
1627
+ * const specific = await record.documentProcessings.first({ label: 'DocumentProcessing__File' });
1628
+ * ```
1629
+ */
1630
+ get documentProcessings() {
1631
+ var _a;
1632
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1633
+ throw new Error('Cannot access links on a new (unsaved) record');
1634
+ if (!this._documentProcessings) {
1635
+ this._documentProcessings = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1636
+ sourceEntity: 'SchemaModule:File',
1637
+ targetEntity: 'AiModule:DocumentProcessing',
1638
+ targetModuleName: 'AiModule',
1639
+ targetEntityName: 'DocumentProcessing',
1640
+ labels: ['DocumentProcessing__File'],
1641
+ }, DocumentProcessingRecord_1.DocumentProcessingRecord);
1642
+ }
1643
+ return this._documentProcessings;
1644
+ }
1645
+ /**
1646
+ * Access linked HomeMove records
1647
+ * @remarks Available labels: HomeMove__File
1648
+ * @throws Error if called on a new (unsaved) record
1649
+ *
1650
+ * @example
1651
+ * ```typescript
1652
+ * // Get all linked HomeMove records
1653
+ * const items = await record.homeMoves.list();
1654
+ * const first = await record.homeMoves.first();
1655
+ *
1656
+ * // Filter by label
1657
+ * const specific = await record.homeMoves.first({ label: 'HomeMove__File' });
1658
+ * ```
1659
+ */
1660
+ get homeMoves() {
1661
+ var _a;
1662
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1663
+ throw new Error('Cannot access links on a new (unsaved) record');
1664
+ if (!this._homeMoves) {
1665
+ this._homeMoves = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
1666
+ sourceEntity: 'SchemaModule:File',
1667
+ targetEntity: 'OrderModule:HomeMove',
1668
+ targetModuleName: 'OrderModule',
1669
+ targetEntityName: 'HomeMove',
1670
+ labels: ['HomeMove__File'],
1671
+ }, HomeMoveRecord_1.HomeMoveRecord);
1672
+ }
1673
+ return this._homeMoves;
402
1674
  }
403
1675
  // ============================================
404
1676
  // LINK MANAGEMENT
@@ -479,10 +1751,92 @@ exports.FileRecord = FileRecord;
479
1751
  // ============================================
480
1752
  // TYPED LINK ACCESSORS
481
1753
  // ============================================
482
- /** Valid labels for File associations */
483
- FileRecord.filesLabels = ['ServiceVisitAudit__File', 'BlockageA55_File', 'NetomniaFtth2StageInstallAudit__File', 'NetomniaFtth1StageInstallAudit__File', 'OverlayRealA55_File', 'Appointment__File', 'UgExternalAudit_File', 'BillingRequest__File', 'Transaction__File', 'CreditNote__File', 'Address__File', 'ChangeReason__File', 'Discount__File', 'PaymentMethodRefund__File', 'ServiceAppointment__File', 'CustomerDeviceRouter__File', 'Visit__File', 'Fingerprint__File', 'YfToolAudit_File', 'WayleaveAudit_File', 'WorkOrder__File', 'OrderItem__File', 'InternalInstallAudit_File', 'KnowledgeArticle__File', 'Case__File', 'Activity__File', 'NetomniaFtthServiceVisitSheet__File', 'YfStockCount__File', 'OneTouchSwitch_File', 'RemediationRequiredReason__File', 'Invoice__File', 'YfVanAudit_File', 'UgInstallationAudit__File', 'OhInstallationAudit__File', 'UgAuditOfInstallation__File', 'YfEquipmentCollection__File', 'Lead__File', 'Account__File', 'PaymentMethod__File', 'SweeperMaintenanceAudit__File', 'BlockageReportA55__File', 'OhAuditOfInstallation__File', 'OhInProgressAudit_File', 'ContractBuyOut__File', 'SiteSpecificRiskAssessmentOutcomeForm__File', 'RemediationOutcomeForm_File', 'Order__File', 'Call__File', 'OhExternalAudit_File', 'CustomerDeviceOnt__File', 'YfFieldServiceVisit__File', 'BillingAdjustment__File', 'Contact__File', 'Message_File', 'NetomniaInstallVerification__File', 'Attachments', 'UgRetroAudit__File', 'OhRetroAudit__File', 'UgInProgressAudit_File', 'PgDirectDebitFile__File', 'YfWifiSurvey__File', 'YfFieldVisitOutcomeForm__File', 'Note__File', 'Document__File', 'DocumentProcessing__File', 'HomeMove__File'];
1754
+ /** Valid labels for OverlayRealA55 associations */
1755
+ FileRecord.overlayRealA55sLabels = ['OverlayRealA55_File'];
1756
+ /** Valid labels for Appointment associations */
1757
+ FileRecord.appointmentsLabels = ['Appointment__File'];
1758
+ /** Valid labels for UgExternalAudit associations */
1759
+ FileRecord.ugExternalAuditsLabels = ['UgExternalAudit_File'];
1760
+ /** Valid labels for BillingRequest associations */
1761
+ FileRecord.billingRequestsLabels = ['BillingRequest__File'];
1762
+ /** Valid labels for Transaction associations */
1763
+ FileRecord.transactionsLabels = ['Transaction__File'];
1764
+ /** Valid labels for CreditNote associations */
1765
+ FileRecord.creditNotesLabels = ['CreditNote__File'];
1766
+ /** Valid labels for Address associations */
1767
+ FileRecord.addressesLabels = ['Address__File'];
1768
+ /** Valid labels for ChangeReason associations */
1769
+ FileRecord.changeReasonsLabels = ['ChangeReason__File'];
1770
+ /** Valid labels for Discount associations */
1771
+ FileRecord.discountsLabels = ['Discount__File'];
1772
+ /** Valid labels for PaymentMethodRefund associations */
1773
+ FileRecord.paymentMethodRefundsLabels = ['PaymentMethodRefund__File'];
1774
+ /** Valid labels for ServiceAppointment associations */
1775
+ FileRecord.serviceAppointmentsLabels = ['ServiceAppointment__File'];
1776
+ /** Valid labels for CustomerDeviceRouter associations */
1777
+ FileRecord.customerDeviceRoutersLabels = ['CustomerDeviceRouter__File'];
1778
+ /** Valid labels for Visit associations */
1779
+ FileRecord.visitsLabels = ['Visit__File'];
1780
+ /** Valid labels for WayleaveAudit associations */
1781
+ FileRecord.wayleaveAuditsLabels = ['WayleaveAudit_File'];
1782
+ /** Valid labels for WorkOrder associations */
1783
+ FileRecord.workOrdersLabels = ['WorkOrder__File'];
1784
+ /** Valid labels for OrderItem associations */
1785
+ FileRecord.orderItemsLabels = ['OrderItem__File'];
1786
+ /** Valid labels for KnowledgeArticle associations */
1787
+ FileRecord.knowledgeArticlesLabels = ['KnowledgeArticle__File'];
1788
+ /** Valid labels for Case associations */
1789
+ FileRecord.casesLabels = ['Case__File'];
1790
+ /** Valid labels for Activity associations */
1791
+ FileRecord.activitiesLabels = ['Activity__File'];
1792
+ /** Valid labels for OneTouchSwitch associations */
1793
+ FileRecord.oneTouchSwitchesLabels = ['OneTouchSwitch_File'];
1794
+ /** Valid labels for RemediationRequiredReason associations */
1795
+ FileRecord.remediationRequiredReasonsLabels = ['RemediationRequiredReason__File'];
1796
+ /** Valid labels for Invoice associations */
1797
+ FileRecord.invoicesLabels = ['Invoice__File'];
484
1798
  /** Valid labels for Note associations */
485
- FileRecord.notesLabels = ['File__Note'];
1799
+ FileRecord.notesLabels = ['File__Note', 'Note__File'];
1800
+ /** Valid labels for Lead associations */
1801
+ FileRecord.leadsLabels = ['Lead__File'];
1802
+ /** Valid labels for Account associations */
1803
+ FileRecord.accountsLabels = ['Account__File'];
1804
+ /** Valid labels for PaymentMethod associations */
1805
+ FileRecord.paymentMethodsLabels = ['PaymentMethod__File'];
1806
+ /** Valid labels for ContractBuyOut associations */
1807
+ FileRecord.contractBuyOutsLabels = ['ContractBuyOut__File'];
1808
+ /** Valid labels for SiteSpecificRiskAssessmentOutcomeForm associations */
1809
+ FileRecord.siteSpecificRiskAssessmentOutcomeFormsLabels = ['SiteSpecificRiskAssessmentOutcomeForm__File'];
1810
+ /** Valid labels for RemediationOutcomeForm associations */
1811
+ FileRecord.remediationOutcomeFormsLabels = ['RemediationOutcomeForm_File'];
1812
+ /** Valid labels for Order associations */
1813
+ FileRecord.ordersLabels = ['Order__File'];
1814
+ /** Valid labels for Call associations */
1815
+ FileRecord.callsLabels = ['Call__File'];
1816
+ /** Valid labels for OhExternalAudit associations */
1817
+ FileRecord.ohExternalAuditsLabels = ['OhExternalAudit_File'];
1818
+ /** Valid labels for CustomerDeviceOnt associations */
1819
+ FileRecord.customerDeviceOntsLabels = ['CustomerDeviceOnt__File'];
1820
+ /** Valid labels for BillingAdjustment associations */
1821
+ FileRecord.billingAdjustmentsLabels = ['BillingAdjustment__File'];
1822
+ /** Valid labels for Contact associations */
1823
+ FileRecord.contactsLabels = ['Contact__File'];
1824
+ /** Valid labels for Message associations */
1825
+ FileRecord.messagesLabels = ['Message_File'];
1826
+ /** Valid labels for Email associations */
1827
+ FileRecord.emailsLabels = ['Attachments'];
1828
+ /** Valid labels for PgDirectDebitFile associations */
1829
+ FileRecord.pgDirectDebitFilesLabels = ['PgDirectDebitFile__File'];
1830
+ /** Valid labels for YfWifiSurvey associations */
1831
+ FileRecord.yfWifiSurveysLabels = ['YfWifiSurvey__File'];
1832
+ /** Valid labels for YfFieldVisitOutcomeForm associations */
1833
+ FileRecord.yfFieldVisitOutcomeFormsLabels = ['YfFieldVisitOutcomeForm__File'];
1834
+ /** Valid labels for Document associations */
1835
+ FileRecord.documentsLabels = ['Document__File'];
1836
+ /** Valid labels for DocumentProcessing associations */
1837
+ FileRecord.documentProcessingsLabels = ['DocumentProcessing__File'];
1838
+ /** Valid labels for HomeMove associations */
1839
+ FileRecord.homeMovesLabels = ['HomeMove__File'];
486
1840
  /** Type guard to check if an object is a FileRecord */
487
1841
  function isFileRecord(obj) {
488
1842
  return obj instanceof FileRecord;