@superoffice/webapi 12.4.1514 → 12.6.1407
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.
- package/dist/cjs/AIAgent.d.ts +4 -4
- package/dist/cjs/Carriers.d.ts +625 -19
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.d.ts +38 -0
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.js +91 -0
- package/dist/cjs/ConfigurationAgent.js.map +1 -1
- package/dist/cjs/Converters.d.ts +27 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +414 -26
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/DiagnosticsAgent.d.ts +5 -5
- package/dist/cjs/DiagnosticsAgent.js +5 -5
- package/dist/cjs/Enums.d.ts +121 -3
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +128 -6
- package/dist/cjs/Enums.js.map +1 -1
- package/dist/cjs/FreeTextAgent.d.ts +2 -2
- package/dist/cjs/ImportAgent.d.ts +5 -5
- package/dist/cjs/ListAgent.d.ts +31 -0
- package/dist/cjs/ListAgent.d.ts.map +1 -1
- package/dist/cjs/ListAgent.js +67 -0
- package/dist/cjs/ListAgent.js.map +1 -1
- package/dist/cjs/MentionAgent.d.ts +96 -0
- package/dist/cjs/MentionAgent.d.ts.map +1 -0
- package/dist/cjs/MentionAgent.js +203 -0
- package/dist/cjs/MentionAgent.js.map +1 -0
- package/dist/cjs/NewsFeedAgent.d.ts +45 -0
- package/dist/cjs/NewsFeedAgent.d.ts.map +1 -1
- package/dist/cjs/NewsFeedAgent.js +99 -0
- package/dist/cjs/NewsFeedAgent.js.map +1 -1
- package/dist/cjs/ProjectAgent.d.ts +48 -0
- package/dist/cjs/ProjectAgent.d.ts.map +1 -1
- package/dist/cjs/ProjectAgent.js +102 -0
- package/dist/cjs/ProjectAgent.js.map +1 -1
- package/dist/cjs/ProjectRestApi.d.ts.map +1 -1
- package/dist/cjs/ProjectRestApi.js.map +1 -1
- package/dist/cjs/SaleAgent.d.ts +79 -0
- package/dist/cjs/SaleAgent.d.ts.map +1 -1
- package/dist/cjs/SaleAgent.js +169 -0
- package/dist/cjs/SaleAgent.js.map +1 -1
- package/dist/cjs/SaleRestApi.d.ts.map +1 -1
- package/dist/cjs/SaleRestApi.js.map +1 -1
- package/dist/cjs/WebApi.d.ts +6 -0
- package/dist/cjs/WebApi.d.ts.map +1 -1
- package/dist/cjs/WebApi.js +11 -2
- package/dist/cjs/WebApi.js.map +1 -1
- package/dist/esm/AIAgent.d.ts +4 -4
- package/dist/esm/Carriers.d.ts +625 -19
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.d.ts +38 -0
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.js +91 -0
- package/dist/esm/ConfigurationAgent.js.map +1 -1
- package/dist/esm/Converters.d.ts +27 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +360 -0
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/DiagnosticsAgent.d.ts +5 -5
- package/dist/esm/DiagnosticsAgent.js +5 -5
- package/dist/esm/Enums.d.ts +121 -3
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +123 -1
- package/dist/esm/Enums.js.map +1 -1
- package/dist/esm/FreeTextAgent.d.ts +2 -2
- package/dist/esm/ImportAgent.d.ts +5 -5
- package/dist/esm/ListAgent.d.ts +31 -0
- package/dist/esm/ListAgent.d.ts.map +1 -1
- package/dist/esm/ListAgent.js +67 -0
- package/dist/esm/ListAgent.js.map +1 -1
- package/dist/esm/MentionAgent.d.ts +96 -0
- package/dist/esm/MentionAgent.d.ts.map +1 -0
- package/dist/esm/MentionAgent.js +198 -0
- package/dist/esm/MentionAgent.js.map +1 -0
- package/dist/esm/NewsFeedAgent.d.ts +45 -0
- package/dist/esm/NewsFeedAgent.d.ts.map +1 -1
- package/dist/esm/NewsFeedAgent.js +99 -0
- package/dist/esm/NewsFeedAgent.js.map +1 -1
- package/dist/esm/ProjectAgent.d.ts +48 -0
- package/dist/esm/ProjectAgent.d.ts.map +1 -1
- package/dist/esm/ProjectAgent.js +102 -0
- package/dist/esm/ProjectAgent.js.map +1 -1
- package/dist/esm/ProjectRestApi.d.ts.map +1 -1
- package/dist/esm/ProjectRestApi.js.map +1 -1
- package/dist/esm/SaleAgent.d.ts +79 -0
- package/dist/esm/SaleAgent.d.ts.map +1 -1
- package/dist/esm/SaleAgent.js +169 -0
- package/dist/esm/SaleAgent.js.map +1 -1
- package/dist/esm/SaleRestApi.d.ts.map +1 -1
- package/dist/esm/SaleRestApi.js.map +1 -1
- package/dist/esm/WebApi.d.ts +6 -0
- package/dist/esm/WebApi.d.ts.map +1 -1
- package/dist/esm/WebApi.js +9 -0
- package/dist/esm/WebApi.js.map +1 -1
- package/package.json +4 -4
- package/src/AIAgent.ts +4 -4
- package/src/Carriers.ts +821 -19
- package/src/ConfigurationAgent.ts +144 -0
- package/src/Converters.ts +418 -0
- package/src/DiagnosticsAgent.ts +5 -5
- package/src/Enums.ts +127 -1
- package/src/FreeTextAgent.ts +2 -2
- package/src/ImportAgent.ts +5 -5
- package/src/ListAgent.ts +114 -0
- package/src/MentionAgent.ts +346 -0
- package/src/NewsFeedAgent.ts +168 -0
- package/src/ProjectAgent.ts +174 -0
- package/src/ProjectRestApi.ts +2 -0
- package/src/SaleAgent.ts +288 -0
- package/src/SaleRestApi.ts +2 -0
- package/src/WebApi.ts +12 -0
package/src/Converters.ts
CHANGED
|
@@ -3121,6 +3121,7 @@ export function Create_ContactEntity_From(src:any) : carriers.ContactEntity {
|
|
|
3121
3121
|
res.phones= Create_EntityElementArray_From(src.Phones);
|
|
3122
3122
|
res.faxes= Create_EntityElementArray_From(src.Faxes);
|
|
3123
3123
|
res.description= src.Description as string;
|
|
3124
|
+
res.context= src.Context as string;
|
|
3124
3125
|
res.updatedBy= Create_Associate_From(src.UpdatedBy);
|
|
3125
3126
|
res.createdBy= Create_Associate_From(src.CreatedBy);
|
|
3126
3127
|
res.associate= Create_Associate_From(src.Associate);
|
|
@@ -3146,6 +3147,13 @@ export function Create_ContactEntity_From(src:any) : carriers.ContactEntity {
|
|
|
3146
3147
|
res.address= Create_Address_From(src.Address);
|
|
3147
3148
|
res.source= src.Source as number;
|
|
3148
3149
|
res.activeErpLinks= src.ActiveErpLinks as number;
|
|
3150
|
+
res.numEmployees= src.NumEmployees as number;
|
|
3151
|
+
res.yearFounded= src.YearFounded as number;
|
|
3152
|
+
res.revenueYear= src.RevenueYear as number;
|
|
3153
|
+
res.revenueBasecurrency= src.RevenueBasecurrency as number;
|
|
3154
|
+
res.sharecapitalBasecurrency= src.SharecapitalBasecurrency as number;
|
|
3155
|
+
res.sourcedFrom= src.SourcedFrom as string;
|
|
3156
|
+
res.linkedInUrl= src.LinkedInUrl as string;
|
|
3149
3157
|
res.bounceEmails= src.BounceEmails as string[];
|
|
3150
3158
|
res.domains= src.Domains as string[];
|
|
3151
3159
|
res.utmParameters= Create_SavedUtmParameters_From(src.UtmParameters);
|
|
@@ -3424,6 +3432,7 @@ export function Create_PersonEntity_From(src:any) : carriers.PersonEntity {
|
|
|
3424
3432
|
res.createdBy= Create_Associate_From(src.CreatedBy);
|
|
3425
3433
|
res.emails= Create_EntityElementArray_From(src.Emails);
|
|
3426
3434
|
res.description= src.Description as string;
|
|
3435
|
+
res.context= src.Context as string;
|
|
3427
3436
|
res.isAssociate= src.IsAssociate as boolean;
|
|
3428
3437
|
res.privatePhones= Create_EntityElementArray_From(src.PrivatePhones);
|
|
3429
3438
|
res.faxes= Create_EntityElementArray_From(src.Faxes);
|
|
@@ -3468,6 +3477,8 @@ export function Create_PersonEntity_From(src:any) : carriers.PersonEntity {
|
|
|
3468
3477
|
res.internetPhones= Create_EntityElementArray_From(src.InternetPhones);
|
|
3469
3478
|
res.source= src.Source as number;
|
|
3470
3479
|
res.activeErpLinks= src.ActiveErpLinks as number;
|
|
3480
|
+
res.sourcedFrom= src.SourcedFrom as string;
|
|
3481
|
+
res.linkedInUrl= src.LinkedInUrl as string;
|
|
3471
3482
|
res.shipmentTypes= Create_SelectableMDOListItemArray_From(src.ShipmentTypes);
|
|
3472
3483
|
res.consents= Create_ConsentInfoArray_From(src.Consents);
|
|
3473
3484
|
res.bounceEmails= src.BounceEmails as string[];
|
|
@@ -3735,6 +3746,39 @@ export function Create_UtmParametersArrayArray_From(src:any) : carriers.UtmParam
|
|
|
3735
3746
|
|
|
3736
3747
|
|
|
3737
3748
|
|
|
3749
|
+
export function Create_CopyPartCheck_From(src:any) : carriers.CopyPartCheck {
|
|
3750
|
+
if( src === null || src === undefined )
|
|
3751
|
+
return null;
|
|
3752
|
+
let res : any = { };
|
|
3753
|
+
|
|
3754
|
+
res.state= enums.CopyPartAvailability[src.State];
|
|
3755
|
+
res.reason= src.Reason as string;
|
|
3756
|
+
res.shortReason= src.ShortReason as string;
|
|
3757
|
+
return res as carriers.CopyPartCheck;
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3760
|
+
export function Create_CopyPartCheckArray_From(src:any) : carriers.CopyPartCheck[] {
|
|
3761
|
+
let res : carriers.CopyPartCheck[] = [];
|
|
3762
|
+
if( Array.isArray(src) ) {
|
|
3763
|
+
for(let i in src) {
|
|
3764
|
+
res[i] = Create_CopyPartCheck_From(src[i]);
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
return res;
|
|
3768
|
+
}
|
|
3769
|
+
|
|
3770
|
+
export function Create_CopyPartCheckArrayArray_From(src:any) : carriers.CopyPartCheck[][] {
|
|
3771
|
+
let res : carriers.CopyPartCheck[][] = [];
|
|
3772
|
+
if( Array.isArray(src) ) {
|
|
3773
|
+
for(let i in src) {
|
|
3774
|
+
res[i] = Create_CopyPartCheckArray_From(src[i]);
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3777
|
+
return res;
|
|
3778
|
+
}
|
|
3779
|
+
|
|
3780
|
+
|
|
3781
|
+
|
|
3738
3782
|
export function Create_Sale_From(src:any) : carriers.Sale {
|
|
3739
3783
|
if( src === null || src === undefined )
|
|
3740
3784
|
return null;
|
|
@@ -3790,6 +3834,111 @@ export function Create_SaleArrayArray_From(src:any) : carriers.Sale[][] {
|
|
|
3790
3834
|
|
|
3791
3835
|
|
|
3792
3836
|
|
|
3837
|
+
export function Create_SaleCopyCheck_From(src:any) : carriers.SaleCopyCheck {
|
|
3838
|
+
if( src === null || src === undefined )
|
|
3839
|
+
return null;
|
|
3840
|
+
let res : any = { };
|
|
3841
|
+
|
|
3842
|
+
res.stakeholders= Create_CopyPartCheck_From(src.Stakeholders);
|
|
3843
|
+
res.quote= Create_CopyPartCheck_From(src.Quote);
|
|
3844
|
+
res.notes= Create_CopyPartCheck_From(src.Notes);
|
|
3845
|
+
res.links= Create_CopyPartCheck_From(src.Links);
|
|
3846
|
+
res.fieldErrors= Create_StringDictionary_From(src.FieldErrors);
|
|
3847
|
+
return res as carriers.SaleCopyCheck;
|
|
3848
|
+
}
|
|
3849
|
+
|
|
3850
|
+
export function Create_SaleCopyCheckArray_From(src:any) : carriers.SaleCopyCheck[] {
|
|
3851
|
+
let res : carriers.SaleCopyCheck[] = [];
|
|
3852
|
+
if( Array.isArray(src) ) {
|
|
3853
|
+
for(let i in src) {
|
|
3854
|
+
res[i] = Create_SaleCopyCheck_From(src[i]);
|
|
3855
|
+
}
|
|
3856
|
+
}
|
|
3857
|
+
return res;
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3860
|
+
export function Create_SaleCopyCheckArrayArray_From(src:any) : carriers.SaleCopyCheck[][] {
|
|
3861
|
+
let res : carriers.SaleCopyCheck[][] = [];
|
|
3862
|
+
if( Array.isArray(src) ) {
|
|
3863
|
+
for(let i in src) {
|
|
3864
|
+
res[i] = Create_SaleCopyCheckArray_From(src[i]);
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3867
|
+
return res;
|
|
3868
|
+
}
|
|
3869
|
+
|
|
3870
|
+
|
|
3871
|
+
|
|
3872
|
+
export function Create_SaleCopyOptions_From(src:any) : carriers.SaleCopyOptions {
|
|
3873
|
+
if( src === null || src === undefined )
|
|
3874
|
+
return null;
|
|
3875
|
+
let res : any = { };
|
|
3876
|
+
|
|
3877
|
+
res.copyStakeholders= src.CopyStakeholders as boolean;
|
|
3878
|
+
res.copyQuote= src.CopyQuote as boolean;
|
|
3879
|
+
res.copyNotes= src.CopyNotes as boolean;
|
|
3880
|
+
res.copyLinks= src.CopyLinks as boolean;
|
|
3881
|
+
return res as carriers.SaleCopyOptions;
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
export function Create_SaleCopyOptionsArray_From(src:any) : carriers.SaleCopyOptions[] {
|
|
3885
|
+
let res : carriers.SaleCopyOptions[] = [];
|
|
3886
|
+
if( Array.isArray(src) ) {
|
|
3887
|
+
for(let i in src) {
|
|
3888
|
+
res[i] = Create_SaleCopyOptions_From(src[i]);
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
return res;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3894
|
+
export function Create_SaleCopyOptionsArrayArray_From(src:any) : carriers.SaleCopyOptions[][] {
|
|
3895
|
+
let res : carriers.SaleCopyOptions[][] = [];
|
|
3896
|
+
if( Array.isArray(src) ) {
|
|
3897
|
+
for(let i in src) {
|
|
3898
|
+
res[i] = Create_SaleCopyOptionsArray_From(src[i]);
|
|
3899
|
+
}
|
|
3900
|
+
}
|
|
3901
|
+
return res;
|
|
3902
|
+
}
|
|
3903
|
+
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
export function Create_SaleCopyResult_From(src:any) : carriers.SaleCopyResult {
|
|
3907
|
+
if( src === null || src === undefined )
|
|
3908
|
+
return null;
|
|
3909
|
+
let res : any = { };
|
|
3910
|
+
|
|
3911
|
+
res.saleId= src.SaleId as number;
|
|
3912
|
+
res.stakeholderResult= enums.CopyPartResult[src.StakeholderResult];
|
|
3913
|
+
res.quoteResult= enums.CopyPartResult[src.QuoteResult];
|
|
3914
|
+
res.notesResult= enums.CopyPartResult[src.NotesResult];
|
|
3915
|
+
res.linksResult= enums.CopyPartResult[src.LinksResult];
|
|
3916
|
+
res.warnings= src.Warnings as string[];
|
|
3917
|
+
return res as carriers.SaleCopyResult;
|
|
3918
|
+
}
|
|
3919
|
+
|
|
3920
|
+
export function Create_SaleCopyResultArray_From(src:any) : carriers.SaleCopyResult[] {
|
|
3921
|
+
let res : carriers.SaleCopyResult[] = [];
|
|
3922
|
+
if( Array.isArray(src) ) {
|
|
3923
|
+
for(let i in src) {
|
|
3924
|
+
res[i] = Create_SaleCopyResult_From(src[i]);
|
|
3925
|
+
}
|
|
3926
|
+
}
|
|
3927
|
+
return res;
|
|
3928
|
+
}
|
|
3929
|
+
|
|
3930
|
+
export function Create_SaleCopyResultArrayArray_From(src:any) : carriers.SaleCopyResult[][] {
|
|
3931
|
+
let res : carriers.SaleCopyResult[][] = [];
|
|
3932
|
+
if( Array.isArray(src) ) {
|
|
3933
|
+
for(let i in src) {
|
|
3934
|
+
res[i] = Create_SaleCopyResultArray_From(src[i]);
|
|
3935
|
+
}
|
|
3936
|
+
}
|
|
3937
|
+
return res;
|
|
3938
|
+
}
|
|
3939
|
+
|
|
3940
|
+
|
|
3941
|
+
|
|
3793
3942
|
export function Create_SaleEntity_From(src:any) : carriers.SaleEntity {
|
|
3794
3943
|
if( src === null || src === undefined )
|
|
3795
3944
|
return null;
|
|
@@ -4139,6 +4288,111 @@ export function Create_ProjectArrayArray_From(src:any) : carriers.Project[][] {
|
|
|
4139
4288
|
|
|
4140
4289
|
|
|
4141
4290
|
|
|
4291
|
+
export function Create_ProjectCopyCheck_From(src:any) : carriers.ProjectCopyCheck {
|
|
4292
|
+
if( src === null || src === undefined )
|
|
4293
|
+
return null;
|
|
4294
|
+
let res : any = { };
|
|
4295
|
+
|
|
4296
|
+
res.members= Create_CopyPartCheck_From(src.Members);
|
|
4297
|
+
res.note= Create_CopyPartCheck_From(src.Note);
|
|
4298
|
+
res.links= Create_CopyPartCheck_From(src.Links);
|
|
4299
|
+
res.image= Create_CopyPartCheck_From(src.Image);
|
|
4300
|
+
res.fieldErrors= Create_StringDictionary_From(src.FieldErrors);
|
|
4301
|
+
return res as carriers.ProjectCopyCheck;
|
|
4302
|
+
}
|
|
4303
|
+
|
|
4304
|
+
export function Create_ProjectCopyCheckArray_From(src:any) : carriers.ProjectCopyCheck[] {
|
|
4305
|
+
let res : carriers.ProjectCopyCheck[] = [];
|
|
4306
|
+
if( Array.isArray(src) ) {
|
|
4307
|
+
for(let i in src) {
|
|
4308
|
+
res[i] = Create_ProjectCopyCheck_From(src[i]);
|
|
4309
|
+
}
|
|
4310
|
+
}
|
|
4311
|
+
return res;
|
|
4312
|
+
}
|
|
4313
|
+
|
|
4314
|
+
export function Create_ProjectCopyCheckArrayArray_From(src:any) : carriers.ProjectCopyCheck[][] {
|
|
4315
|
+
let res : carriers.ProjectCopyCheck[][] = [];
|
|
4316
|
+
if( Array.isArray(src) ) {
|
|
4317
|
+
for(let i in src) {
|
|
4318
|
+
res[i] = Create_ProjectCopyCheckArray_From(src[i]);
|
|
4319
|
+
}
|
|
4320
|
+
}
|
|
4321
|
+
return res;
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
|
|
4325
|
+
|
|
4326
|
+
export function Create_ProjectCopyOptions_From(src:any) : carriers.ProjectCopyOptions {
|
|
4327
|
+
if( src === null || src === undefined )
|
|
4328
|
+
return null;
|
|
4329
|
+
let res : any = { };
|
|
4330
|
+
|
|
4331
|
+
res.copyMembers= src.CopyMembers as boolean;
|
|
4332
|
+
res.copyNote= src.CopyNote as boolean;
|
|
4333
|
+
res.copyLinks= src.CopyLinks as boolean;
|
|
4334
|
+
res.copyImage= src.CopyImage as boolean;
|
|
4335
|
+
return res as carriers.ProjectCopyOptions;
|
|
4336
|
+
}
|
|
4337
|
+
|
|
4338
|
+
export function Create_ProjectCopyOptionsArray_From(src:any) : carriers.ProjectCopyOptions[] {
|
|
4339
|
+
let res : carriers.ProjectCopyOptions[] = [];
|
|
4340
|
+
if( Array.isArray(src) ) {
|
|
4341
|
+
for(let i in src) {
|
|
4342
|
+
res[i] = Create_ProjectCopyOptions_From(src[i]);
|
|
4343
|
+
}
|
|
4344
|
+
}
|
|
4345
|
+
return res;
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
export function Create_ProjectCopyOptionsArrayArray_From(src:any) : carriers.ProjectCopyOptions[][] {
|
|
4349
|
+
let res : carriers.ProjectCopyOptions[][] = [];
|
|
4350
|
+
if( Array.isArray(src) ) {
|
|
4351
|
+
for(let i in src) {
|
|
4352
|
+
res[i] = Create_ProjectCopyOptionsArray_From(src[i]);
|
|
4353
|
+
}
|
|
4354
|
+
}
|
|
4355
|
+
return res;
|
|
4356
|
+
}
|
|
4357
|
+
|
|
4358
|
+
|
|
4359
|
+
|
|
4360
|
+
export function Create_ProjectCopyResult_From(src:any) : carriers.ProjectCopyResult {
|
|
4361
|
+
if( src === null || src === undefined )
|
|
4362
|
+
return null;
|
|
4363
|
+
let res : any = { };
|
|
4364
|
+
|
|
4365
|
+
res.projectId= src.ProjectId as number;
|
|
4366
|
+
res.membersResult= enums.CopyPartResult[src.MembersResult];
|
|
4367
|
+
res.noteResult= enums.CopyPartResult[src.NoteResult];
|
|
4368
|
+
res.linksResult= enums.CopyPartResult[src.LinksResult];
|
|
4369
|
+
res.imageResult= enums.CopyPartResult[src.ImageResult];
|
|
4370
|
+
res.warnings= src.Warnings as string[];
|
|
4371
|
+
return res as carriers.ProjectCopyResult;
|
|
4372
|
+
}
|
|
4373
|
+
|
|
4374
|
+
export function Create_ProjectCopyResultArray_From(src:any) : carriers.ProjectCopyResult[] {
|
|
4375
|
+
let res : carriers.ProjectCopyResult[] = [];
|
|
4376
|
+
if( Array.isArray(src) ) {
|
|
4377
|
+
for(let i in src) {
|
|
4378
|
+
res[i] = Create_ProjectCopyResult_From(src[i]);
|
|
4379
|
+
}
|
|
4380
|
+
}
|
|
4381
|
+
return res;
|
|
4382
|
+
}
|
|
4383
|
+
|
|
4384
|
+
export function Create_ProjectCopyResultArrayArray_From(src:any) : carriers.ProjectCopyResult[][] {
|
|
4385
|
+
let res : carriers.ProjectCopyResult[][] = [];
|
|
4386
|
+
if( Array.isArray(src) ) {
|
|
4387
|
+
for(let i in src) {
|
|
4388
|
+
res[i] = Create_ProjectCopyResultArray_From(src[i]);
|
|
4389
|
+
}
|
|
4390
|
+
}
|
|
4391
|
+
return res;
|
|
4392
|
+
}
|
|
4393
|
+
|
|
4394
|
+
|
|
4395
|
+
|
|
4142
4396
|
export function Create_ProjectEntity_From(src:any) : carriers.ProjectEntity {
|
|
4143
4397
|
if( src === null || src === undefined )
|
|
4144
4398
|
return null;
|
|
@@ -4625,6 +4879,8 @@ export function Create_Appointment_From(src:any) : carriers.Appointment {
|
|
|
4625
4879
|
res.agenda= src.Agenda as string;
|
|
4626
4880
|
res.internalNotes= src.InternalNotes as string;
|
|
4627
4881
|
res.taskId= src.TaskId as number;
|
|
4882
|
+
res.ticketId= src.TicketId as number;
|
|
4883
|
+
res.ticketTitle= src.TicketTitle as string;
|
|
4628
4884
|
return res as carriers.Appointment;
|
|
4629
4885
|
}
|
|
4630
4886
|
|
|
@@ -4707,6 +4963,7 @@ export function Create_AppointmentEntity_From(src:any) : carriers.AppointmentEnt
|
|
|
4707
4963
|
res.ownedExternally= enums.AppointmentExternalOwner[src.OwnedExternally];
|
|
4708
4964
|
res.joinVideomeetUrl= src.JoinVideomeetUrl as string;
|
|
4709
4965
|
res.centralserviceVideomeetId= src.CentralserviceVideomeetId as string;
|
|
4966
|
+
res.ticket= Create_Ticket_From(src.Ticket);
|
|
4710
4967
|
res.userDefinedFields= src.UserDefinedFields as carriers.StringDictionary;
|
|
4711
4968
|
res.extraFields= src.ExtraFields as carriers.StringDictionary;
|
|
4712
4969
|
res.customFields= src.CustomFields as carriers.StringDictionary;
|
|
@@ -6254,6 +6511,7 @@ export function Create_ConsentPurpose_From(src:any) : carriers.ConsentPurpose {
|
|
|
6254
6511
|
res.rank= src.Rank as number;
|
|
6255
6512
|
res.privacyStatementDesc= src.PrivacyStatementDesc as string;
|
|
6256
6513
|
res.privacyStatementUrl= src.PrivacyStatementUrl as string;
|
|
6514
|
+
res.consentTextImplicit= src.ConsentTextImplicit as string;
|
|
6257
6515
|
return res as carriers.ConsentPurpose;
|
|
6258
6516
|
}
|
|
6259
6517
|
|
|
@@ -8158,6 +8416,50 @@ export function Create_TicketCategoryMembershipEntityArrayArray_From(src:any) :
|
|
|
8158
8416
|
|
|
8159
8417
|
|
|
8160
8418
|
|
|
8419
|
+
export function Create_TicketPostponeOption_From(src:any) : carriers.TicketPostponeOption {
|
|
8420
|
+
if( src === null || src === undefined )
|
|
8421
|
+
return null;
|
|
8422
|
+
let res : any = { };
|
|
8423
|
+
|
|
8424
|
+
res.ticketStatusPostponeId= src.TicketStatusPostponeId as number;
|
|
8425
|
+
res.ticketStatusId= src.TicketStatusId as number;
|
|
8426
|
+
res.rank= src.Rank as number;
|
|
8427
|
+
res.standardKind= enums.TicketPostponeStandard[src.StandardKind];
|
|
8428
|
+
res.name= src.Name as string;
|
|
8429
|
+
res.rule= enums.TicketPostponeRule[src.Rule];
|
|
8430
|
+
res.amount= src.Amount as number;
|
|
8431
|
+
res.unit= enums.DurationUnit[src.Unit];
|
|
8432
|
+
res.weekday= src.Weekday as number;
|
|
8433
|
+
res.timeOfDay= src.TimeOfDay as number;
|
|
8434
|
+
res.workingTime= src.WorkingTime as boolean;
|
|
8435
|
+
res.active= src.Active as boolean;
|
|
8436
|
+
res.displayName= src.DisplayName as string;
|
|
8437
|
+
res.displayValue= src.DisplayValue as string;
|
|
8438
|
+
return res as carriers.TicketPostponeOption;
|
|
8439
|
+
}
|
|
8440
|
+
|
|
8441
|
+
export function Create_TicketPostponeOptionArray_From(src:any) : carriers.TicketPostponeOption[] {
|
|
8442
|
+
let res : carriers.TicketPostponeOption[] = [];
|
|
8443
|
+
if( Array.isArray(src) ) {
|
|
8444
|
+
for(let i in src) {
|
|
8445
|
+
res[i] = Create_TicketPostponeOption_From(src[i]);
|
|
8446
|
+
}
|
|
8447
|
+
}
|
|
8448
|
+
return res;
|
|
8449
|
+
}
|
|
8450
|
+
|
|
8451
|
+
export function Create_TicketPostponeOptionArrayArray_From(src:any) : carriers.TicketPostponeOption[][] {
|
|
8452
|
+
let res : carriers.TicketPostponeOption[][] = [];
|
|
8453
|
+
if( Array.isArray(src) ) {
|
|
8454
|
+
for(let i in src) {
|
|
8455
|
+
res[i] = Create_TicketPostponeOptionArray_From(src[i]);
|
|
8456
|
+
}
|
|
8457
|
+
}
|
|
8458
|
+
return res;
|
|
8459
|
+
}
|
|
8460
|
+
|
|
8461
|
+
|
|
8462
|
+
|
|
8161
8463
|
export function Create_TicketPriority_From(src:any) : carriers.TicketPriority {
|
|
8162
8464
|
if( src === null || src === undefined )
|
|
8163
8465
|
return null;
|
|
@@ -13824,6 +14126,7 @@ export function Create_ImportLine_From(src:any) : carriers.ImportLine {
|
|
|
13824
14126
|
res.operation= Create_ImportAction_From(src.Operation) as enums.ImportAction;
|
|
13825
14127
|
res.type= Create_ImportEntityType_From(src.Type) as enums.ImportEntityType;
|
|
13826
14128
|
res.externalKey= src.ExternalKey as string;
|
|
14129
|
+
res.sourceLine= src.SourceLine as number;
|
|
13827
14130
|
return res as carriers.ImportLine;
|
|
13828
14131
|
}
|
|
13829
14132
|
|
|
@@ -15534,6 +15837,46 @@ export function Create_FavouriteArrayArray_From(src:any) : carriers.Favourite[][
|
|
|
15534
15837
|
|
|
15535
15838
|
|
|
15536
15839
|
|
|
15840
|
+
export function Create_Mention_From(src:any) : carriers.Mention {
|
|
15841
|
+
if( src === null || src === undefined )
|
|
15842
|
+
return null;
|
|
15843
|
+
let res : carriers.Mention = Create_Carrier_From(src) as carriers.Mention;
|
|
15844
|
+
|
|
15845
|
+
res.mentionId= src.MentionId as number;
|
|
15846
|
+
res.messageId= src.MessageId as number;
|
|
15847
|
+
res.ticketId= src.TicketId as number;
|
|
15848
|
+
res.title= src.Title as string;
|
|
15849
|
+
res.mentionedByAssociateId= src.MentionedByAssociateId as number;
|
|
15850
|
+
res.mentionedByFullName= src.MentionedByFullName as string;
|
|
15851
|
+
res.mentionedAssociateId= src.MentionedAssociateId as number;
|
|
15852
|
+
res.mentionedDate= Create_Date_From(src.MentionedDate);
|
|
15853
|
+
res.isRead= src.IsRead as boolean;
|
|
15854
|
+
res.snippet= src.Snippet as string;
|
|
15855
|
+
return res as carriers.Mention;
|
|
15856
|
+
}
|
|
15857
|
+
|
|
15858
|
+
export function Create_MentionArray_From(src:any) : carriers.Mention[] {
|
|
15859
|
+
let res : carriers.Mention[] = [];
|
|
15860
|
+
if( Array.isArray(src) ) {
|
|
15861
|
+
for(let i in src) {
|
|
15862
|
+
res[i] = Create_Mention_From(src[i]);
|
|
15863
|
+
}
|
|
15864
|
+
}
|
|
15865
|
+
return res;
|
|
15866
|
+
}
|
|
15867
|
+
|
|
15868
|
+
export function Create_MentionArrayArray_From(src:any) : carriers.Mention[][] {
|
|
15869
|
+
let res : carriers.Mention[][] = [];
|
|
15870
|
+
if( Array.isArray(src) ) {
|
|
15871
|
+
for(let i in src) {
|
|
15872
|
+
res[i] = Create_MentionArray_From(src[i]);
|
|
15873
|
+
}
|
|
15874
|
+
}
|
|
15875
|
+
return res;
|
|
15876
|
+
}
|
|
15877
|
+
|
|
15878
|
+
|
|
15879
|
+
|
|
15537
15880
|
export function Create_DictionaryStepInformation_From(src:any) : carriers.DictionaryStepInformation {
|
|
15538
15881
|
if( src === null || src === undefined )
|
|
15539
15882
|
return null;
|
|
@@ -16589,6 +16932,7 @@ export function Create_Ticket_From(src:any) : carriers.Ticket {
|
|
|
16589
16932
|
res.hasAttachment= src.HasAttachment as boolean;
|
|
16590
16933
|
res.numReplies= src.NumReplies as number;
|
|
16591
16934
|
res.numMessages= src.NumMessages as number;
|
|
16935
|
+
res.numAppointments= src.NumAppointments as number;
|
|
16592
16936
|
res.fromAddress= src.FromAddress as string;
|
|
16593
16937
|
res.contactId= src.ContactId as number;
|
|
16594
16938
|
res.contactName= src.ContactName as string;
|
|
@@ -16711,6 +17055,7 @@ export function Create_TicketEntity_From(src:any) : carriers.TicketEntity {
|
|
|
16711
17055
|
res.hasAttachment= src.HasAttachment as boolean;
|
|
16712
17056
|
res.numReplies= src.NumReplies as number;
|
|
16713
17057
|
res.numMessages= src.NumMessages as number;
|
|
17058
|
+
res.numAppointments= src.NumAppointments as number;
|
|
16714
17059
|
res.fromAddress= src.FromAddress as string;
|
|
16715
17060
|
res.messages= Create_TicketMessageArray_From(src.Messages);
|
|
16716
17061
|
res.tags= Create_TagArray_From(src.Tags);
|
|
@@ -16726,6 +17071,7 @@ export function Create_TicketEntity_From(src:any) : carriers.TicketEntity {
|
|
|
16726
17071
|
res.formSubmission= Create_TicketFormSubmission_From(src.FormSubmission);
|
|
16727
17072
|
res.ticketType= Create_TicketType_From(src.TicketType);
|
|
16728
17073
|
res.activeStatusMonitorId= src.ActiveStatusMonitorId as number;
|
|
17074
|
+
res.postponeOptionId= src.PostponeOptionId as number;
|
|
16729
17075
|
res.extraFields= src.ExtraFields as carriers.StringDictionary;
|
|
16730
17076
|
res.customFields= src.CustomFields as carriers.StringDictionary;
|
|
16731
17077
|
return res as carriers.TicketEntity;
|
|
@@ -17253,6 +17599,7 @@ export function Create_CustomObjectDefinition_From(src:any) : carriers.CustomObj
|
|
|
17253
17599
|
res.displayField= src.DisplayField as string;
|
|
17254
17600
|
res.description= src.Description as string;
|
|
17255
17601
|
res.iconId= src.IconId as number;
|
|
17602
|
+
res.iconHint= src.IconHint as string;
|
|
17256
17603
|
res.flags= src.Flags as number;
|
|
17257
17604
|
res.fields= Create_CustomObjectFieldArray_From(src.Fields);
|
|
17258
17605
|
return res as carriers.CustomObjectDefinition;
|
|
@@ -18225,6 +18572,7 @@ export function Create_NaturalLanguageSearch_From(src:any) : carriers.NaturalLan
|
|
|
18225
18572
|
res.entity= src.Entity as string;
|
|
18226
18573
|
res.oDataQuery= src.ODataQuery as string;
|
|
18227
18574
|
res.restrictions= Create_ArchiveRestrictionInfoArray_From(src.Restrictions);
|
|
18575
|
+
res.restrictionGroups= Create_ArchiveRestrictionGroupArray_From(src.RestrictionGroups);
|
|
18228
18576
|
res.internalContext= src.InternalContext as string;
|
|
18229
18577
|
return res as carriers.NaturalLanguageSearch;
|
|
18230
18578
|
}
|
|
@@ -19882,6 +20230,8 @@ export function Create_NewsFeedItem_From(src:any) : carriers.NewsFeedItem {
|
|
|
19882
20230
|
res.ratingPercent= src.RatingPercent as number;
|
|
19883
20231
|
res.sourceSoProtocol= src.SourceSoProtocol as string;
|
|
19884
20232
|
res.type= src.Type as string;
|
|
20233
|
+
res.fromCategoryIdentifier= src.FromCategoryIdentifier as string;
|
|
20234
|
+
res.fromIdentifier= src.FromIdentifier as string;
|
|
19885
20235
|
return res as carriers.NewsFeedItem;
|
|
19886
20236
|
}
|
|
19887
20237
|
|
|
@@ -20284,6 +20634,40 @@ function Create_SaleStatus_From(src:any): enums.SaleStatus | enums.SaleStatus[]
|
|
|
20284
20634
|
}
|
|
20285
20635
|
|
|
20286
20636
|
|
|
20637
|
+
function Create_CopyPartResult_From(src:any): enums.CopyPartResult | enums.CopyPartResult[] {
|
|
20638
|
+
if (!src) return null;
|
|
20639
|
+
|
|
20640
|
+
if (Array.isArray(src)) {
|
|
20641
|
+
let result: enums.CopyPartResult[] = Array<enums.CopyPartResult>();
|
|
20642
|
+
for (const i in (src as enums.CopyPartResult[])) {
|
|
20643
|
+
let r = enums.CopyPartResult[src[i]] as enums.CopyPartResult;
|
|
20644
|
+
result.push(r);
|
|
20645
|
+
}
|
|
20646
|
+
return result;
|
|
20647
|
+
} else {
|
|
20648
|
+
let r = enums.CopyPartResult[src] as enums.CopyPartResult;
|
|
20649
|
+
return r;
|
|
20650
|
+
}
|
|
20651
|
+
}
|
|
20652
|
+
|
|
20653
|
+
|
|
20654
|
+
function Create_CopyPartAvailability_From(src:any): enums.CopyPartAvailability | enums.CopyPartAvailability[] {
|
|
20655
|
+
if (!src) return null;
|
|
20656
|
+
|
|
20657
|
+
if (Array.isArray(src)) {
|
|
20658
|
+
let result: enums.CopyPartAvailability[] = Array<enums.CopyPartAvailability>();
|
|
20659
|
+
for (const i in (src as enums.CopyPartAvailability[])) {
|
|
20660
|
+
let r = enums.CopyPartAvailability[src[i]] as enums.CopyPartAvailability;
|
|
20661
|
+
result.push(r);
|
|
20662
|
+
}
|
|
20663
|
+
return result;
|
|
20664
|
+
} else {
|
|
20665
|
+
let r = enums.CopyPartAvailability[src] as enums.CopyPartAvailability;
|
|
20666
|
+
return r;
|
|
20667
|
+
}
|
|
20668
|
+
}
|
|
20669
|
+
|
|
20670
|
+
|
|
20287
20671
|
function Create_ShowState_From(src:any): enums.ShowState | enums.ShowState[] {
|
|
20288
20672
|
if (!src) return null;
|
|
20289
20673
|
|
|
@@ -20460,6 +20844,40 @@ function Create_TicketStatusTimeCounter_From(src:any): enums.TicketStatusTimeCou
|
|
|
20460
20844
|
}
|
|
20461
20845
|
|
|
20462
20846
|
|
|
20847
|
+
function Create_TicketPostponeStandard_From(src:any): enums.TicketPostponeStandard | enums.TicketPostponeStandard[] {
|
|
20848
|
+
if (!src) return null;
|
|
20849
|
+
|
|
20850
|
+
if (Array.isArray(src)) {
|
|
20851
|
+
let result: enums.TicketPostponeStandard[] = Array<enums.TicketPostponeStandard>();
|
|
20852
|
+
for (const i in (src as enums.TicketPostponeStandard[])) {
|
|
20853
|
+
let r = enums.TicketPostponeStandard[src[i]] as enums.TicketPostponeStandard;
|
|
20854
|
+
result.push(r);
|
|
20855
|
+
}
|
|
20856
|
+
return result;
|
|
20857
|
+
} else {
|
|
20858
|
+
let r = enums.TicketPostponeStandard[src] as enums.TicketPostponeStandard;
|
|
20859
|
+
return r;
|
|
20860
|
+
}
|
|
20861
|
+
}
|
|
20862
|
+
|
|
20863
|
+
|
|
20864
|
+
function Create_TicketPostponeRule_From(src:any): enums.TicketPostponeRule | enums.TicketPostponeRule[] {
|
|
20865
|
+
if (!src) return null;
|
|
20866
|
+
|
|
20867
|
+
if (Array.isArray(src)) {
|
|
20868
|
+
let result: enums.TicketPostponeRule[] = Array<enums.TicketPostponeRule>();
|
|
20869
|
+
for (const i in (src as enums.TicketPostponeRule[])) {
|
|
20870
|
+
let r = enums.TicketPostponeRule[src[i]] as enums.TicketPostponeRule;
|
|
20871
|
+
result.push(r);
|
|
20872
|
+
}
|
|
20873
|
+
return result;
|
|
20874
|
+
} else {
|
|
20875
|
+
let r = enums.TicketPostponeRule[src] as enums.TicketPostponeRule;
|
|
20876
|
+
return r;
|
|
20877
|
+
}
|
|
20878
|
+
}
|
|
20879
|
+
|
|
20880
|
+
|
|
20463
20881
|
function Create_QuoteVersionState_From(src:any): enums.QuoteVersionState | enums.QuoteVersionState[] {
|
|
20464
20882
|
if (!src) return null;
|
|
20465
20883
|
|
package/src/DiagnosticsAgent.ts
CHANGED
|
@@ -692,7 +692,7 @@ export class DiagnosticsAgent extends base.WebApiBase implements IDiagnosticsAge
|
|
|
692
692
|
|
|
693
693
|
|
|
694
694
|
/**
|
|
695
|
-
*
|
|
695
|
+
* Deprecated, this call does nothing. Usage statistics (database additions) are collected and transmitted automatically by a NetServer nightly job.
|
|
696
696
|
* @returns This method has no return value
|
|
697
697
|
*/
|
|
698
698
|
public async collectDataAdditionsAsync(webapi_options?:base.WebApiRequestOptions) : Promise< void >
|
|
@@ -721,7 +721,7 @@ export class DiagnosticsAgent extends base.WebApiBase implements IDiagnosticsAge
|
|
|
721
721
|
|
|
722
722
|
|
|
723
723
|
/**
|
|
724
|
-
*
|
|
724
|
+
* Deprecated, this call does nothing. Windows CRM client usage statistics are no longer collected.
|
|
725
725
|
* @returns This method has no return value
|
|
726
726
|
*/
|
|
727
727
|
public async collectWinUsageAsync(webapi_options?:base.WebApiRequestOptions) : Promise< void >
|
|
@@ -750,7 +750,7 @@ export class DiagnosticsAgent extends base.WebApiBase implements IDiagnosticsAge
|
|
|
750
750
|
|
|
751
751
|
|
|
752
752
|
/**
|
|
753
|
-
*
|
|
753
|
+
* Deprecated, this call does nothing. Usage statistics (web-based clients) are collected and transmitted automatically by a NetServer nightly job.
|
|
754
754
|
* @returns This method has no return value
|
|
755
755
|
*/
|
|
756
756
|
public async collectWebUsageAsync(webapi_options?:base.WebApiRequestOptions) : Promise< void >
|
|
@@ -779,7 +779,7 @@ export class DiagnosticsAgent extends base.WebApiBase implements IDiagnosticsAge
|
|
|
779
779
|
|
|
780
780
|
|
|
781
781
|
/**
|
|
782
|
-
*
|
|
782
|
+
* Deprecated, this call does nothing. Usage statistics (table sizes) are collected and transmitted automatically by a NetServer nightly job.
|
|
783
783
|
* @returns This method has no return value
|
|
784
784
|
*/
|
|
785
785
|
public async collectTableSizesAsync(webapi_options?:base.WebApiRequestOptions) : Promise< void >
|
|
@@ -808,7 +808,7 @@ export class DiagnosticsAgent extends base.WebApiBase implements IDiagnosticsAge
|
|
|
808
808
|
|
|
809
809
|
|
|
810
810
|
/**
|
|
811
|
-
*
|
|
811
|
+
* Deprecated, this call does nothing. User information is no longer resynchronized with SuperOffice Community.
|
|
812
812
|
* @returns This method has no return value
|
|
813
813
|
*/
|
|
814
814
|
public async resyncUsersAsync(webapi_options?:base.WebApiRequestOptions) : Promise< void >
|