PageSourceSearch

https://membres.oiq.qc.ca/OIQ/Areas/OIQ/Common/imisService.js

js oiq.qc.ca collected 2026-10-02 03:34:16 UTC 3,650 bytes, 1 lines download raw bytes

1var Common;!function(a){var b=function(){function a(){var a=this;this.getAuthenticationToken=function(b){var c=CommonService.getConnectedUserId(),d={$type:"Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts",EntityTypeName:"TokenAuthentication",PrimaryParentEntityTypeName:"Party",Identity:{$type:"Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts",EntityTypeName:"TokenAuthentication",IdentityElements:{$type:"System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",$values:[c]}},PrimaryParentIdentity:{$type:"Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts",EntityTypeName:"Party",IdentityElements:{$type:"System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",$values:[c]}},Properties:{$type:"Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts",$values:[{$type:"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",Name:"ContactKey",Value:c},{$type:"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",Name:"Token",Value:b}]}};return a.toSimpleObject(d)},this.getVerificationToken=function(b){var c=CommonService.getConnectedUserId(),d={$type:"Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts",EntityTypeName:"VerificationToken",PrimaryParentEntityTypeName:"Party",Identity:{$type:"Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts",EntityTypeName:"VerificationToken",IdentityElements:{$type:"System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",$values:[c]}},PrimaryParentIdentity:{$type:"Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts",EntityTypeName:"Party",IdentityElements:{$type:"System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",$values:[c]}},Properties:{$type:"Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts",$values:[{$type:"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",Name:"ContactKey",Value:c},{$type:"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",Name:"Token",Value:b}]}};return a.toSimpleObject(d)}}return a.prototype.toSimpleObject=function(a,b,c,d){if(!a||!a.Properties||!a.Properties.$values)return null;var e=a.Properties.$values,f={};if(f._ref=a,d){var g=this.getValeurPropriete(e,b),h=this.getValeurPropriete(e,c);f.Description="en"===d&&h?h:g}return this.defineObject(a.Properties,f),f},a.prototype.toSimpleObjects=function(a,b,c,d){var e=[];if(!a||!a.Items||!a.Items.$values)return e;for(var f=0;f<a.Items.$values.length;f++)e.push(this.toSimpleObject(a.Items.$values[f],b,c,d));return e},a.prototype.defineObject=function(a,b){for(var c=this,d=a.$values,e=function(){return c},f=function(a,b){Object.defineProperty(b,a.Name,{get:function(){var b=e().getValeurPropriete(d,a.Name);return null!=b&&null!=b.$value?b.$value:b},set:function(b){var c=e().getValeurPropriete(d,a.Name);return null!=c&&null!=c.$type?void e().setValeurPropriete(d,a.Name,b,!0):("boolean"==typeof b&&(b={$type:"System.Boolean",$value:b}),"number"==typeof b&&(b={$type:"System.Double",$value:b}),void e().setValeurPropriete(d,a.Name,b,!1))},enumerable:!0,configurable:!0})},g=0;g<d.length;g++)f(d[g],b)},a.prototype.getValeurPropriete=function(a,b){for(var c=0;c<a.length;c++)if(a[c].Name.toLowerCase()===b.toLowerCase())return a[c].Value;return null},a.prototype.setValeurPropriete=function(a,b,c,d){for(var e=0;e<a.length;e++)if(a[e].Name.toLowerCase()===b.toLowerCase())return void(d?a[e].Value.$value=c:a[e].Value=c)},a.getInstance=function(){var b;return window.imisService=null!==(b=window.imisService)&&void 0!==b?b:new a,window.imisService},a}();a.ImisService=b}(Common||(Common={}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.