/
index.d.ts
3705 lines (3703 loc) · 109 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* tslint:disable */
/* eslint-disable */
/* auto-generated by NAPI-RS */
export interface IntegrationOsOptions {
serverUrl: string
}
export interface UnifiedOptions {
responsePassthrough?: boolean
passthroughHeaders?: Record<string, string>
passthroughQuery?: Record<string, string>
}
export interface DeleteOptions {
modifyToken?: string
}
export interface Response<Type> {
unified?: Type
passthrough?: any
meta: object
headers: Record<string, string>
statusCode: number
}
export interface Count {
count: number
}
export interface Pagination {
limit?: number
pageSize: number
nextCursor?: string
previousCursor?: string
}
export interface ListResponse<Type> {
unified: Array<Type>
passthrough?: any
pagination: Pagination
meta: object
headers: Record<string, string>
statusCode: number
}
export interface ListFilter {
createdAfter?: string
createdBefore?: string
updatedAfter?: string
updatedBefore?: string
limit?: number
cursor?: string
}
export interface UsageLimitExpirations {
limit?: number
expirationDate?: string
}
export interface Webhooks {
isDeleted?: boolean
events?: Array<string>
id?: string
format?: Format
createdAt?: string
updatedAt?: string
address?: string
}
export interface PrerequisiteRanges {
type?: PrerequisiteRangeType
greaterThanOrEqualTo?: number
lessThanOrEqualTo?: number
}
export interface PriceRules {
allocationLimit?: number
excludedVariantIds?: Array<string>
prerequisiteQuantity?: number
prerequisiteVariantIds?: Array<string>
value?: number
title?: string
startDate?: string
oncePerCustomer?: boolean
prerequisiteCollectionIds?: Array<string>
targetType?: TargetType
prerequisiteCustomerIds?: Array<string>
description?: string
id?: string
prerequisiteProductIds?: Array<string>
allocationMethod?: AllocationMethod
valueType?: DiscountType
entitledCollectionIds?: Array<string>
endDate?: string
createdAt?: string
updatedAt?: string
deleted?: boolean
excludedCollectionIds?: Array<string>
currency?: string
entitledProductIds?: Array<string>
customerSelection?: CustomerSelection
entitledVariantIds?: Array<string>
active?: boolean
prerequisiteRanges?: PrerequisiteRanges
usageLimit?: number
excludedProductIds?: Array<string>
targetSelection?: TargetSelection
prerequisiteSavedSearchIds?: Array<string>
entitledCountryIds?: Array<string>
entitledQuantity?: number
priority?: number
}
export interface Discounts {
exclusions?: Array<string>
channelAvailability?: ChannelAvailability
minimumRequirements?: MinimumRequirements
minimumPurchaseAmount?: number
usageLimitPerCustomer?: number
stackable?: boolean
value?: number
minimumQuantityOfItems?: number
valueType?: DiscountType
title?: string
currency?: string
usageLimit?: number
id?: string
createdAt?: string
updatedAt?: string
code?: string
usageLimitExpirations?: UsageLimitExpirations
appliesTo?: AppliesTo
active?: boolean
customFields?: Array<CustomAttributes>
deleted?: boolean
description?: string
customerEligibility?: CustomerEligibility
startDate?: string
endDate?: string
status?: Status
timesUsed?: number
}
export interface AIUsage {
completionTokens?: number
promptTokens?: number
totalTokens?: number
}
export interface AIMessages {
finishReason?: string
index?: number
role?: string
content?: string
}
export interface Chats {
modelUsed?: string
topK?: number
objectType?: string
usage?: AIUsage
id?: string
topP?: number
seed?: number
maxTokens?: number
systemFingerprint?: string
createdAt?: string
stopSequences?: Array<string>
temperature?: number
messages?: Array<AIMessages>
}
export interface TaxDetails {
expirationDate?: string
id?: string
category?: string
updatedAt?: string
name?: string
country?: string
active?: boolean
effectiveDate?: string
currency?: Currency
rate?: number
taxCode?: string
details?: string
isTaxIncludedInPrice?: boolean
amount?: number
jurisdiction?: string
taxRegistrationNumber?: string
region?: string
deleted?: boolean
createdAt?: string
}
export interface Evidence {
refundPolicyDisclosure?: string
customerName?: string
serviceDocumentation?: string
shippingDate?: string
cancellationPolicy?: string
customerEmailAddress?: string
productDescription?: string
billingAddress?: string
cancellationPolicyDisclosure?: string
customerPurchaseIp?: string
customerSignature?: string
duplicateChargeDocumentation?: string
cancellationRebuttal?: string
accessActivityLog?: string
duplicateChargeExplanation?: string
customerCommunication?: string
refundPolicy?: string
refundRefusalExplanation?: string
shippingCarrier?: string
shippingDocumentation?: string
shippingTrackingNumber?: string
uncategorizedFile?: string
uncategorizedText?: string
duplicateChargeId?: string
shippingAddress?: string
receipt?: string
serviceDate?: string
}
export interface Disputes {
customerId?: string
evidence?: Evidence
reason?: string
amount?: number
chargeRefundable?: boolean
deleted?: boolean
transactionId?: string
version?: string
created?: string
id?: string
charge?: string
metadata?: Metadata
active?: boolean
updated?: string
currency?: Currency
status?: FinancialDisputeStatus
notes?: string
}
export interface Reactions {
userId?: string
chatId?: string
createdAt?: string
messageId?: string
type?: ReactionType
}
export interface Participants {
userId?: string
displayName?: string
joinedAt?: string
status?: ParticipantEngagementStatus
type?: CommunicationRole
}
export interface Messages {
deliveryStatus?: MessageDeliveryStatus
priority?: PriorityLevel
createdAt?: string
deleted?: boolean
modifyToken?: string
id?: string
readStatus?: MessageReadStatus
receiverId?: string
updatedAt?: string
chatId?: string
threadId?: string
content?: string
timestamp?: string
replyToMessageId?: string
type?: MessageContentType
reactions?: Array<Reactions>
senderId?: string
active?: boolean
attachments?: Array<Attachments>
metadata?: Array<Metadata>
}
export interface Conversations {
isPinned?: boolean
metadata?: string
lastReadMessageId?: string
modifyToken?: string
messages?: Array<Messages>
createdAt?: string
lastMessage?: Messages
id?: string
participants?: Array<Participants>
title?: string
updatedAt?: string
type?: ChatType
status?: ConversationStatus
unreadCount?: number
}
export interface ShareholderEquityDetails {
treasuryStock?: number
commonStock?: number
preferredStock?: number
retainedEarnings?: number
accumulatedOtherComprehensiveIncome?: number
}
export interface IncomeTaxExpenseDetails {
currentIncomeTax?: number
deferredIncomeTax?: number
taxAllowanceCredit?: number
}
export interface OperatingExpensesDetails {
salesGeneralAndAdministrativeExpenses?: number
researchAndDevelopmentExpenses?: number
otherOperatingExpenses?: number
}
export interface RevenueDetails {
salesRevenue?: number
serviceRevenue?: number
otherRevenue?: number
}
export interface ShippingItem {
quantity?: number
value?: number
weightUnit?: string
sku?: string
productId?: string
dimensions?: Dimensions
id?: string
productName?: string
weight?: number
}
export interface BillingDetails {
id?: string
customerId?: string
address?: Addresses
paymentTerms?: PaymentTerm
phoneNumber?: string
note?: string
defaultPaymentMethod?: PaymentMethods
updatedAt?: string
isDeleted?: boolean
language?: string
additionalAttributes?: Array<CustomAttributes>
companyName?: string
vatId?: string
active?: boolean
email?: string
currency?: Currency
fullName?: string
createdAt?: string
}
export interface PaymentTerms {
isDeleted?: boolean
dueDays?: number
notes?: string
permittedClientClasses?: Array<string>
minimumPayment?: number
isActive?: boolean
currencyFormatting?: string
id?: string
allowedMethods?: Array<string>
languageSupport?: Array<string>
createdDate?: string
interestRate?: number
type?: PaymentTerm
currencyCode?: string
discountDays?: number
penaltyRate?: number
lastUpdatedDate?: string
description?: string
gracePeriodDays?: number
discountRate?: number
countrySpecificTerms?: Array<string>
createdAt?: string
updatedAt?: string
}
export interface InvoiceAdjustments {
amount?: number
createdAt?: string
description?: string
active?: boolean
appliedToInvoiceItemId?: string
type?: InvoiceAdjustmentType
currency?: Currency
id?: string
updatedAt?: string
metadata?: Metadata
deleted?: boolean
}
export interface TaxRates {
description?: string
country?: string
percentage?: number
taxComponents?: Array<TaxLines>
deleted?: boolean
name?: string
active?: boolean
currency?: Currency
shippingIncluded?: boolean
region?: string
reportTaxType?: string
displayRate?: string
modifyToken?: string
createdAt?: string
taxType?: string
taxNumber?: string
compound?: boolean
applicableItems?: Array<string>
id?: string
updatedAt?: string
customFields?: Array<CustomAttributes>
taxProvider?: string
}
export interface CreditNoteLines {
taxRate?: number
description?: string
product?: Products
id?: string
quantity?: number
total?: number
account?: string
unitPrice?: number
}
export interface CreditNotes {
billingAddress?: Addresses
payments?: Array<Payments>
taxRate?: number
lines?: Array<CreditNoteLines>
currency?: Currency
reason?: string
vatNumber?: string
taxAmount?: number
updatedAt?: string
active?: boolean
description?: string
companyName?: string
metadata?: Metadata
attachments?: Array<Attachments>
deleted?: boolean
createdAt?: string
dueDate?: string
issuedDate?: string
memo?: string
vatName?: string
customer?: Customers
companyId?: string
status?: CreditNoteStatus
creditType?: CreditType
discounts?: Array<number>
adjustment?: number
shippingAddress?: Addresses
amount?: number
modifyToken?: string
number?: string
id?: string
}
export interface ExpenseCategories {
id?: string
name?: string
description?: string
}
export interface Expenses {
receiptUrls?: Array<string>
status?: ExpenseApprovalStatus
updatedAt?: string
category?: ExpenseCategories
merchant?: string
customFields?: Array<CustomAttributes>
amount?: number
accountId?: string
modifyToken?: string
transactionId?: string
dateIncurred?: string
reportId?: string
createdByUserId?: string
active?: boolean
paymentMethod?: PaymentMethods
approvedByUserId?: string
tax?: Array<Taxes>
lineItems?: Array<Items>
deleted?: boolean
createdAt?: string
currencyCode?: string
description?: string
id?: string
note?: string
attachments?: Array<Attachments>
tags?: Array<string>
location?: Addresses
}
export interface Transactions {
accountCode?: string
items?: Array<Items>
invoiceId?: string
description?: string
accountId?: string
transactionMethod?: TransactionMethod
checkNumber?: string
dispute?: Disputes
orderId?: string
type?: FinancialTransactionType
currency?: Currency
paymentMethod?: PaymentMethods
metadata?: Metadata
tags?: Array<string>
updatedAt?: string
recipient?: Customers
id?: string
sender?: Customers
exchangeRate?: number
shipping?: ShippingDetails
billingDetails?: BillingDetails
paymentIntent?: string
createdAt?: string
modifyToken?: string
amount?: number
date?: string
status?: FinancialTransactionStatus
accountName?: string
refund?: Refunds
taxAmount?: number
transactionCategory?: TransactionType
deleted?: boolean
applicationFee?: number
contact?: Contacts
}
export interface PurchaseOrderLineItems {
totalPrice?: number
id?: string
unitPrice?: number
productId?: string
description?: string
sKU?: string
deliveryDate?: string
unitOfMeasure?: string
discount?: number
quantity?: number
}
export interface Accounts {
owner?: Customers
allowPayments?: boolean
name?: string
description?: string
balance?: number
accountNumber?: string
updatedAt?: string
status?: FinancialAccountStatus
transactions?: Array<Transactions>
deleted?: boolean
notes?: string
accountCode?: string
branch?: string
closedAt?: string
createdAt?: string
title?: string
interestRate?: number
id?: string
taxType?: string
accountType?: AccountType
currency?: Currency
overdraftProtection?: boolean
showInExpenses?: boolean
overdraftLimit?: number
active?: boolean
modifyToken?: string
}
export interface PurchaseOrders {
lineItems?: Array<PurchaseOrderLineItems>
id?: string
createdAt?: string
orderNumber?: string
active?: boolean
accountId?: string
expectedDeliveryDate?: string
paymentTerms?: string
subtotal?: number
deleted?: boolean
shipTo?: Addresses
notes?: string
attachments?: Array<Attachments>
vendor?: Vendors
shippingCosts?: number
orderDate?: string
total?: number
taxes?: number
billTo?: Addresses
currency?: Currency
status?: OrderStatus
modifyToken?: string
updatedAt?: string
}
export interface AdditionalCharges {
id?: string
description?: string
createdAt?: string
amount?: number
type?: FinancialChargeType
updatedAt?: string
}
export interface Refunds {
createdAt?: string
id?: string
amount?: number
paymentId?: string
status?: TransactionStatus
currency?: Currency
reason?: string
updatedAt?: string
}
export interface Payments {
status?: PaymentStatus
description?: string
createdAt?: string
transactionId?: string
id?: string
active?: boolean
refund?: Refunds
modifyToken?: string
invoice?: Invoices
currency?: Currency
updatedAt?: string
shippingDetails?: ShippingDetails
metadata?: Metadata
customer?: Customers
journalId?: string
billingDetails?: BillingDetails
notes?: string
paymentIntent?: string
amount?: number
paymentMethod?: PaymentMethods
receiptEmail?: string
paymentCaptureMethod?: string
paymentProcessor?: string
date?: string
orderId?: string
deleted?: boolean
webhookUrl?: string
}
export interface Bills {
notes?: string
vendor?: Vendors
amountRemaining?: number
createdAt?: string
dueDate?: string
customer?: Customers
status?: BillingStatus
issueDate?: string
updatedAt?: string
modifyToken?: string
currencyCode?: string
amountDue?: number
lineItems?: Array<Items>
attachments?: Array<Attachments>
active?: boolean
deleted?: boolean
amountPaid?: number
terms?: string
id?: string
invoiceNumber?: string
customFields?: Array<CustomAttributes>
}
export interface Vendors {
is1099?: boolean
active?: boolean
overdueBalance?: number
note?: string
contactName?: string
companyName?: string
id?: string
outstandingBalance?: number
deleted?: boolean
customFields?: Array<CustomAttributes>
currencyCode?: string
accountNumber?: string
contactPhone?: string
address?: Addresses
createdAt?: string
contactEmail?: string
tax?: Array<Taxes>
updatedAt?: string
modifyToken?: string
website?: string
}
export interface AuditInformation {
auditOpinion?: AuditOpinionType
auditDate?: string
notes?: string
auditorName?: string
}
export interface BalanceSheets {
shortTermInvestments?: number
prepaidExpenses?: number
otherNonCurrentLiabilities?: number
intangibleAssets?: number
accumulatedDepreciation?: number
otherNonCurrentAssets?: number
preferredStock?: number
longTermDebt?: number
otherCurrentLiabilities?: number
minorityInterest?: number
totalAssets?: number
shortTermDebt?: number
balanceDate?: string
stockholdersEquity?: number
currentAssets?: number
nonCurrentAssets?: number
nonCurrentLiabilities?: number
createdAt?: string
treasuryStock?: number
active?: boolean
currentPortionOfLongTermDebt?: number
deferredRevenue?: number
currentLiabilities?: number
auditInfo?: AuditInformation
cashAndCashEquivalents?: number
inventory?: number
additionalPaidInCapital?: number
currency?: Currency
notes?: string
accountSummary?: Array<KeyValues>
totalLiabilities?: number
notesPayable?: number
retainedEarnings?: number
commonStock?: number
deleted?: boolean
otherCurrentAssets?: number
accruedLiabilities?: number
taxLiabilities?: number
accountsReceivable?: number
fixedAssets?: number
accountsPayable?: number
totalLiabilitiesAndEquity?: number
updatedAt?: string
equity?: number
propertyPlantEquipment?: number
customFields?: Array<CustomAttributes>
modifyToken?: string
id?: string
}
export interface IncomeStatements {
interestExpense?: number
operatingExpenses?: OperatingExpensesDetails
modifyToken?: string
shareholderEquity?: ShareholderEquityDetails
grossProfit?: number
period?: string
accountSummary?: Array<KeyValues>
currency?: Currency
incomeBeforeTax?: number
netIncome?: number
id?: string
exchangeRate?: number
depreciationAndAmortization?: number
ebitda?: number
revenue?: RevenueDetails
costOfGoodsSold?: number
incomeTaxExpense?: IncomeTaxExpenseDetails
createdAt?: string
updatedAt?: string
operatingIncome?: number
profitMargins?: number
}
export interface Invoices {
dueDate?: string
terms?: string
adjustments?: Array<InvoiceAdjustments>
billingAddress?: Addresses
deleted?: boolean
header?: string
id?: string
taxTotal?: number
discountTotal?: number
customer?: Customers
discountPercentage?: number
vatNumber?: string
createdAt?: string
currency?: Currency
attachments?: Array<Attachments>
shippingAddress?: Addresses
status?: PaymentStatus
updatedAt?: string
issuedDate?: string
footer?: string
active?: boolean
subtotal?: number
items?: Array<InvoiceItems>
vatName?: string
notes?: string
total?: number
paidAmount?: number
modifyToken?: string
balanceDue?: number
paymentTerms?: PaymentTerms
exchangeRate?: number
invoiceNumber?: string
payments?: Array<Payments>
}
export interface JournalEntries {
id?: string
exchangeRate?: number
createdAt?: string
active?: boolean
type?: string
status?: JournalEntryStatus
updatedAt?: string
deleted?: boolean
entryNumber?: string
modifyToken?: string
updatedBy?: string
attachments?: Array<Attachments>
date?: string
isReconciled?: boolean
name?: string
reference?: string
memo?: string
description?: string
totalAmount?: number
currency?: Currency
lineItems?: Array<JournalEntryLines>
createdBy?: string
}
export interface JournalEntryLines {
credit?: number
debit?: number
amount?: number
taxCode?: string
taxAmount?: number
quantity?: number
accountId?: string
tracking?: FinancialTrackingCategories
description?: string
id?: number
}
export interface InvoiceItems {
gallery?: Array<Images>
reviews?: Array<RatingsReviews>
description?: string
isAvailable?: boolean
imageUrl?: string
sku?: string
ean?: string
availabilityDate?: string
weight?: number
name?: string
customFields?: Array<CustomAttributes>
inventoryQuantity?: number
price?: number
onSale?: boolean
dimensions?: Dimensions
rating?: number
ratingCount?: number
updatedAt?: string
tags?: Array<string>
isbn?: string
variants?: Array<Variants>
deletedAt?: string
active?: boolean
createdAt?: string
mpn?: string
condition?: ItemCondition
brand?: string
inventoryStatus?: ProductAvailabilityStatus
discount?: number
upc?: string
currency?: Currency
options?: Array<ProductOptions>
id?: string
}
export interface Tickets {
status?: IssueLifecycleStatus
priority?: SupportTicketPriority
tags?: Array<string>
modifyToken?: string
attachments?: Array<Attachments>
createdAt?: string
comments?: Array<Comments>
description?: string
customFields?: Array<CustomAttributes>
dueDate?: string
title?: string
reporter?: Contacts
notes?: Array<Notes>
assignee?: Users
type?: SupportQueryType
updatedAt?: string
id?: string
}
export interface WorkExperiences {
position?: string
company?: string
description?: string
endDate?: string
startDate?: string
}
export interface Educations {
degree?: string
fieldOfStudy?: string
institution?: string
startDate?: string
endDate?: string
gpa?: number
}
export interface References {
phoneNumber?: string
relationship?: string
name?: string
email?: string
company?: string
position?: string
}
export interface Candidates {
websites?: Array<string>
role?: string
educations?: Array<Educations>
preferredWorkLocation?: string
lastName?: string
socialProfiles?: Array<SocialProfiles>
languages?: Array<string>
availability?: string
updatedAt?: string
skills?: Array<string>
id?: string
email?: string
coverLetter?: Attachments
phoneNumber?: string
profilePicture?: Images
certifications?: Array<string>
jobId?: string
customFields?: Array<CustomAttributes>
references?: Array<References>
createdAt?: string
workExperiences?: Array<WorkExperiences>
firstName?: string
modifyToken?: string
status?: EmploymentAndCandidateStatus
resume?: Attachments
notes?: Array<Notes>
}
export interface Contacts {
isActive?: boolean
id?: string
updatedAt?: string
emails?: Array<Emails>
createdAt?: string
firstName?: string
notes?: Notes
code?: string
leadId?: string
address?: Addresses
modifyToken?: string
phones?: Array<Phones>
birthday?: string
company?: string
addresses?: Array<Addresses>
tags?: Array<string>
note?: string
websites?: Array<string>
relationship?: string
lastName?: string
defaultEmail?: string
defaultPhone?: string
socialProfiles?: Array<SocialProfiles>
customFields?: Array<CustomAttributes>
}
export interface Jobs {
jobTrialPeriod?: string
responsibilities?: string
createdAt?: string
qualifications?: string
jobLocationType?: string
updatedAt?: string
employmentUnit?: EmploymentUnits
salaryCurrency?: string
validUntil?: string
benefits?: Array<string>
educationRequirements?: string
company?: Companies
experienceRequirements?: string
baseSalary?: Salaries
jobFlexibleHours?: boolean
remote?: boolean
occupationalCategory?: string
modifyToken?: string
languagesSpoken?: Array<string>
industry?: string
jobShifts?: Array<string>
workFromHome?: boolean
id?: string
jobBenefits?: string
title?: string
employmentType?: EmploymentType
applicationDeadline?: string
incentiveCompensation?: string
workHours?: string
jobImmediateStart?: boolean
incentives?: string
description?: string
location?: Addresses
skills?: Array<string>
jobStartDate?: string
jobTrainingProvided?: boolean
}
export interface Salaries {
currency?: Currency
value?: number
paymentPeriod?: TimeCycle
}
export interface HiringOrganizations {
industry?: string
locations?: Array<Addresses>
size?: string
name?: string
description?: string
}
export interface EmploymentUnits {
description?: string
name?: string
}
export interface TimeSession {