@looker/sdk 23.20.1 → 24.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { DefaultSettings, BrowserSession, BrowserTransport } from '@looker/sdk-rtl';
1
+ import { BrowserSession, BrowserTransport, DefaultSettings } from '@looker/sdk-rtl';
2
2
  import { Looker40SDK } from './4.0/methods';
3
3
  export var BrowserSettings = () => {
4
4
  var settings = DefaultSettings();
@@ -1 +1 @@
1
- {"version":3,"file":"browserSdk.js","names":["DefaultSettings","BrowserSession","BrowserTransport","Looker40SDK","BrowserSettings","settings","base_url","concat","document","location","hostname","LookerBrowserSDK","init40","transport","session"],"sources":["../../src/browserSdk.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport type { IApiSettings, IAuthSession, ITransport } from '@looker/sdk-rtl'\nimport {\n DefaultSettings,\n BrowserSession,\n BrowserTransport,\n} from '@looker/sdk-rtl'\n\nimport { Looker40SDK } from './4.0/methods'\n\nexport const BrowserSettings = (): IApiSettings => {\n const settings = DefaultSettings()\n settings.base_url = `${document.location.hostname}:19999`\n return settings\n}\n\nexport class LookerBrowserSDK {\n /**\n * Creates a [[Looker40SDK]] object.\n *\n * @param settings Defaults to the settings for the Browser\n *\n * @param transport Defaults to a `BrowserTransport` object\n *\n * @param session Defaults to `BrowserSession` which uses OAuth authentication flow and CORS requests\n */\n static init40(\n settings?: IApiSettings,\n transport?: ITransport,\n session?: IAuthSession\n ) {\n settings = settings || BrowserSettings()\n transport = transport || new BrowserTransport(settings)\n session = session || new BrowserSession(settings, transport)\n return new Looker40SDK(session)\n }\n}\n"],"mappings":"AA0BA,SACEA,eAAe,EACfC,cAAc,EACdC,gBAAgB,QACX,iBAAiB;AAExB,SAASC,WAAW,QAAQ,eAAe;AAE3C,OAAO,IAAMC,eAAe,GAAGA,CAAA,KAAoB;EACjD,IAAMC,QAAQ,GAAGL,eAAe,CAAC,CAAC;EAClCK,QAAQ,CAACC,QAAQ,MAAAC,MAAA,CAAMC,QAAQ,CAACC,QAAQ,CAACC,QAAQ,WAAQ;EACzD,OAAOL,QAAQ;AACjB,CAAC;AAED,OAAO,MAAMM,gBAAgB,CAAC;EAU5B,OAAOC,MAAMA,CACXP,QAAuB,EACvBQ,SAAsB,EACtBC,OAAsB,EACtB;IACAT,QAAQ,GAAGA,QAAQ,IAAID,eAAe,CAAC,CAAC;IACxCS,SAAS,GAAGA,SAAS,IAAI,IAAIX,gBAAgB,CAACG,QAAQ,CAAC;IACvDS,OAAO,GAAGA,OAAO,IAAI,IAAIb,cAAc,CAACI,QAAQ,EAAEQ,SAAS,CAAC;IAC5D,OAAO,IAAIV,WAAW,CAACW,OAAO,CAAC;EACjC;AACF"}
1
+ {"version":3,"file":"browserSdk.js","names":["BrowserSession","BrowserTransport","DefaultSettings","Looker40SDK","BrowserSettings","settings","base_url","concat","document","location","hostname","LookerBrowserSDK","init40","transport","session"],"sources":["../../src/browserSdk.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport type { IApiSettings, IAuthSession, ITransport } from '@looker/sdk-rtl';\nimport {\n BrowserSession,\n BrowserTransport,\n DefaultSettings,\n} from '@looker/sdk-rtl';\n\nimport { Looker40SDK } from './4.0/methods';\n\nexport const BrowserSettings = (): IApiSettings => {\n const settings = DefaultSettings();\n settings.base_url = `${document.location.hostname}:19999`;\n return settings;\n};\n\nexport class LookerBrowserSDK {\n /**\n * Creates a [[Looker40SDK]] object.\n *\n * @param settings Defaults to the settings for the Browser\n *\n * @param transport Defaults to a `BrowserTransport` object\n *\n * @param session Defaults to `BrowserSession` which uses OAuth authentication flow and CORS requests\n */\n static init40(\n settings?: IApiSettings,\n transport?: ITransport,\n session?: IAuthSession\n ) {\n settings = settings || BrowserSettings();\n transport = transport || new BrowserTransport(settings);\n session = session || new BrowserSession(settings, transport);\n return new Looker40SDK(session);\n }\n}\n"],"mappings":"AA0BA,SACEA,cAAc,EACdC,gBAAgB,EAChBC,eAAe,QACV,iBAAiB;AAExB,SAASC,WAAW,QAAQ,eAAe;AAE3C,OAAO,IAAMC,eAAe,GAAGA,CAAA,KAAoB;EACjD,IAAMC,QAAQ,GAAGH,eAAe,CAAC,CAAC;EAClCG,QAAQ,CAACC,QAAQ,MAAAC,MAAA,CAAMC,QAAQ,CAACC,QAAQ,CAACC,QAAQ,WAAQ;EACzD,OAAOL,QAAQ;AACjB,CAAC;AAED,OAAO,MAAMM,gBAAgB,CAAC;EAU5B,OAAOC,MAAMA,CACXP,QAAuB,EACvBQ,SAAsB,EACtBC,OAAsB,EACtB;IACAT,QAAQ,GAAGA,QAAQ,IAAID,eAAe,CAAC,CAAC;IACxCS,SAAS,GAAGA,SAAS,IAAI,IAAIZ,gBAAgB,CAACI,QAAQ,CAAC;IACvDS,OAAO,GAAGA,OAAO,IAAI,IAAId,cAAc,CAACK,QAAQ,EAAEQ,SAAS,CAAC;IAC5D,OAAO,IAAIV,WAAW,CAACW,OAAO,CAAC;EACjC;AACF"}
@@ -1,3 +1,3 @@
1
- export var sdkVersion = '23.20';
1
+ export var sdkVersion = '24.0';
2
2
  export var environmentPrefix = 'LOOKERSDK';
3
3
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","names":["sdkVersion","environmentPrefix"],"sources":["../../src/constants.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport const sdkVersion = '23.20'\nexport const environmentPrefix = 'LOOKERSDK'\n"],"mappings":"AA0BA,OAAO,IAAMA,UAAU,GAAG,OAAO;AACjC,OAAO,IAAMC,iBAAiB,GAAG,WAAW"}
1
+ {"version":3,"file":"constants.js","names":["sdkVersion","environmentPrefix"],"sources":["../../src/constants.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport const sdkVersion = '24.0';\nexport const environmentPrefix = 'LOOKERSDK';\n"],"mappings":"AA0BA,OAAO,IAAMA,UAAU,GAAG,MAAM;AAChC,OAAO,IAAMC,iBAAiB,GAAG,WAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"extensionSdk.js","names":["DefaultSettings","ExtensionSession","ExtensionTransport","LookerExtensionSDK","createClient","hostConnection","type","settings","transport","session"],"sources":["../../src/extensionSdk.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type {\n IApiSettings,\n APIMethods,\n IAuthSession,\n IHostConnection,\n} from '@looker/sdk-rtl'\nimport {\n DefaultSettings,\n ExtensionSession,\n ExtensionTransport,\n} from '@looker/sdk-rtl'\n\nexport class LookerExtensionSDK {\n /**\n * Creates a [[LookerSDK]] object.\n *\n * Example:\n * LookerExtensionSDK.createClient(host, Looker40SDK) => constructs a Looker40SDK\n */\n static createClient<T extends APIMethods>(\n hostConnection: IHostConnection,\n type: new (authSession: IAuthSession) => T,\n settings?: IApiSettings\n ): T {\n settings = settings || DefaultSettings()\n const transport = new ExtensionTransport(settings, hostConnection)\n const session = new ExtensionSession(settings, transport)\n // eslint-disable-next-line new-cap\n return new type(session)\n }\n}\n"],"mappings":"AAgCA,SACEA,eAAe,EACfC,gBAAgB,EAChBC,kBAAkB,QACb,iBAAiB;AAExB,OAAO,MAAMC,kBAAkB,CAAC;EAO9B,OAAOC,YAAYA,CACjBC,cAA+B,EAC/BC,IAA0C,EAC1CC,QAAuB,EACpB;IACHA,QAAQ,GAAGA,QAAQ,IAAIP,eAAe,CAAC,CAAC;IACxC,IAAMQ,SAAS,GAAG,IAAIN,kBAAkB,CAACK,QAAQ,EAAEF,cAAc,CAAC;IAClE,IAAMI,OAAO,GAAG,IAAIR,gBAAgB,CAACM,QAAQ,EAAEC,SAAS,CAAC;IAEzD,OAAO,IAAIF,IAAI,CAACG,OAAO,CAAC;EAC1B;AACF"}
1
+ {"version":3,"file":"extensionSdk.js","names":["DefaultSettings","ExtensionSession","ExtensionTransport","LookerExtensionSDK","createClient","hostConnection","type","settings","transport","session"],"sources":["../../src/extensionSdk.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type {\n APIMethods,\n IApiSettings,\n IAuthSession,\n IHostConnection,\n} from '@looker/sdk-rtl';\nimport {\n DefaultSettings,\n ExtensionSession,\n ExtensionTransport,\n} from '@looker/sdk-rtl';\n\nexport class LookerExtensionSDK {\n /**\n * Creates a [[LookerSDK]] object.\n *\n * Example:\n * LookerExtensionSDK.createClient(host, Looker40SDK) => constructs a Looker40SDK\n */\n static createClient<T extends APIMethods>(\n hostConnection: IHostConnection,\n type: new (authSession: IAuthSession) => T,\n settings?: IApiSettings\n ): T {\n settings = settings || DefaultSettings();\n const transport = new ExtensionTransport(settings, hostConnection);\n const session = new ExtensionSession(settings, transport);\n // eslint-disable-next-line new-cap\n return new type(session);\n }\n}\n"],"mappings":"AAgCA,SACEA,eAAe,EACfC,gBAAgB,EAChBC,kBAAkB,QACb,iBAAiB;AAExB,OAAO,MAAMC,kBAAkB,CAAC;EAO9B,OAAOC,YAAYA,CACjBC,cAA+B,EAC/BC,IAA0C,EAC1CC,QAAuB,EACpB;IACHA,QAAQ,GAAGA,QAAQ,IAAIP,eAAe,CAAC,CAAC;IACxC,IAAMQ,SAAS,GAAG,IAAIN,kBAAkB,CAACK,QAAQ,EAAEF,cAAc,CAAC;IAClE,IAAMI,OAAO,GAAG,IAAIR,gBAAgB,CAACM,QAAQ,EAAEC,SAAS,CAAC;IAEzD,OAAO,IAAIF,IAAI,CAACG,OAAO,CAAC;EAC1B;AACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["ILooker40SDK","Looker40SDK","Looker40SDKStream","sdkVersion","environmentPrefix","LookerExtensionSDK","BrowserSettings","LookerBrowserSDK","functionalSdk40"],"sources":["../../src/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\n// Version 23.18\n\n/**\n * Note: functions should be deep-linked from their 4.0/funcs path\n */\n\nexport { ILooker40SDK } from './4.0/methodsInterface'\nexport { Looker40SDK } from './4.0/methods'\nexport { Looker40SDKStream } from './4.0/streams'\n\nexport * from './4.0/funcs'\nexport * from './4.0/models'\n\nexport { sdkVersion, environmentPrefix } from './constants'\nexport { LookerExtensionSDK } from './extensionSdk'\nexport { BrowserSettings, LookerBrowserSDK } from './browserSdk'\n\nexport { functionalSdk40 } from './4.0/funcs'\n"],"mappings":"AAgCA,SAASA,YAAY,QAAQ,wBAAwB;AACrD,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,iBAAiB,QAAQ,eAAe;AAEjD,cAAc,aAAa;AAC3B,cAAc,cAAc;AAE5B,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,aAAa;AAC3D,SAASC,kBAAkB,QAAQ,gBAAgB;AACnD,SAASC,eAAe,EAAEC,gBAAgB,QAAQ,cAAc;AAEhE,SAASC,eAAe,QAAQ,aAAa"}
1
+ {"version":3,"file":"index.js","names":["ILooker40SDK","Looker40SDK","Looker40SDKStream","sdkVersion","environmentPrefix","LookerExtensionSDK","BrowserSettings","LookerBrowserSDK","functionalSdk40"],"sources":["../../src/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\n// Version 23.18\n\n/**\n * Note: functions should be deep-linked from their 4.0/funcs path\n */\n\nexport { ILooker40SDK } from './4.0/methodsInterface';\nexport { Looker40SDK } from './4.0/methods';\nexport { Looker40SDKStream } from './4.0/streams';\n\nexport * from './4.0/funcs';\nexport * from './4.0/models';\n\nexport { sdkVersion, environmentPrefix } from './constants';\nexport { LookerExtensionSDK } from './extensionSdk';\nexport { BrowserSettings, LookerBrowserSDK } from './browserSdk';\n\nexport { functionalSdk40 } from './4.0/funcs';\n"],"mappings":"AAgCA,SAASA,YAAY,QAAQ,wBAAwB;AACrD,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,iBAAiB,QAAQ,eAAe;AAEjD,cAAc,aAAa;AAC3B,cAAc,cAAc;AAE5B,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,aAAa;AAC3D,SAASC,kBAAkB,QAAQ,gBAAgB;AACnD,SAASC,eAAe,EAAEC,gBAAgB,QAAQ,cAAc;AAEhE,SAASC,eAAe,QAAQ,aAAa"}
@@ -1,4 +1,4 @@
1
- import type { IApiSettings, APIMethods, IAuthSession, IHostConnection } from '@looker/sdk-rtl';
1
+ import type { APIMethods, IApiSettings, IAuthSession, IHostConnection } from '@looker/sdk-rtl';
2
2
  export declare class LookerExtensionSDK {
3
3
  static createClient<T extends APIMethods>(hostConnection: IHostConnection, type: new (authSession: IAuthSession) => T, settings?: IApiSettings): T;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"extensionSdk.js","names":["_sdkRtl","require","LookerExtensionSDK","createClient","hostConnection","type","settings","DefaultSettings","transport","ExtensionTransport","session","ExtensionSession","exports"],"sources":["../src/extensionSdk.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type {\n IApiSettings,\n APIMethods,\n IAuthSession,\n IHostConnection,\n} from '@looker/sdk-rtl'\nimport {\n DefaultSettings,\n ExtensionSession,\n ExtensionTransport,\n} from '@looker/sdk-rtl'\n\nexport class LookerExtensionSDK {\n /**\n * Creates a [[LookerSDK]] object.\n *\n * Example:\n * LookerExtensionSDK.createClient(host, Looker40SDK) => constructs a Looker40SDK\n */\n static createClient<T extends APIMethods>(\n hostConnection: IHostConnection,\n type: new (authSession: IAuthSession) => T,\n settings?: IApiSettings\n ): T {\n settings = settings || DefaultSettings()\n const transport = new ExtensionTransport(settings, hostConnection)\n const session = new ExtensionSession(settings, transport)\n // eslint-disable-next-line new-cap\n return new type(session)\n }\n}\n"],"mappings":";;;;;;AAgCA,IAAAA,OAAA,GAAAC,OAAA;AAMO,MAAMC,kBAAkB,CAAC;EAO9B,OAAOC,YAAYA,CACjBC,cAA+B,EAC/BC,IAA0C,EAC1CC,QAAuB,EACpB;IACHA,QAAQ,GAAGA,QAAQ,IAAI,IAAAC,uBAAe,EAAC,CAAC;IACxC,IAAMC,SAAS,GAAG,IAAIC,0BAAkB,CAACH,QAAQ,EAAEF,cAAc,CAAC;IAClE,IAAMM,OAAO,GAAG,IAAIC,wBAAgB,CAACL,QAAQ,EAAEE,SAAS,CAAC;IAEzD,OAAO,IAAIH,IAAI,CAACK,OAAO,CAAC;EAC1B;AACF;AAACE,OAAA,CAAAV,kBAAA,GAAAA,kBAAA"}
1
+ {"version":3,"file":"extensionSdk.js","names":["_sdkRtl","require","LookerExtensionSDK","createClient","hostConnection","type","settings","DefaultSettings","transport","ExtensionTransport","session","ExtensionSession","exports"],"sources":["../src/extensionSdk.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type {\n APIMethods,\n IApiSettings,\n IAuthSession,\n IHostConnection,\n} from '@looker/sdk-rtl';\nimport {\n DefaultSettings,\n ExtensionSession,\n ExtensionTransport,\n} from '@looker/sdk-rtl';\n\nexport class LookerExtensionSDK {\n /**\n * Creates a [[LookerSDK]] object.\n *\n * Example:\n * LookerExtensionSDK.createClient(host, Looker40SDK) => constructs a Looker40SDK\n */\n static createClient<T extends APIMethods>(\n hostConnection: IHostConnection,\n type: new (authSession: IAuthSession) => T,\n settings?: IApiSettings\n ): T {\n settings = settings || DefaultSettings();\n const transport = new ExtensionTransport(settings, hostConnection);\n const session = new ExtensionSession(settings, transport);\n // eslint-disable-next-line new-cap\n return new type(session);\n }\n}\n"],"mappings":";;;;;;AAgCA,IAAAA,OAAA,GAAAC,OAAA;AAMO,MAAMC,kBAAkB,CAAC;EAO9B,OAAOC,YAAYA,CACjBC,cAA+B,EAC/BC,IAA0C,EAC1CC,QAAuB,EACpB;IACHA,QAAQ,GAAGA,QAAQ,IAAI,IAAAC,uBAAe,EAAC,CAAC;IACxC,IAAMC,SAAS,GAAG,IAAIC,0BAAkB,CAACH,QAAQ,EAAEF,cAAc,CAAC;IAClE,IAAMM,OAAO,GAAG,IAAIC,wBAAgB,CAACL,QAAQ,EAAEE,SAAS,CAAC;IAEzD,OAAO,IAAIH,IAAI,CAACK,OAAO,CAAC;EAC1B;AACF;AAACE,OAAA,CAAAV,kBAAA,GAAAA,kBAAA"}
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_methodsInterface","require","_methods","_streams","_funcs","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_models","_constants","_extensionSdk","_browserSdk"],"sources":["../src/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\n// Version 23.18\n\n/**\n * Note: functions should be deep-linked from their 4.0/funcs path\n */\n\nexport { ILooker40SDK } from './4.0/methodsInterface'\nexport { Looker40SDK } from './4.0/methods'\nexport { Looker40SDKStream } from './4.0/streams'\n\nexport * from './4.0/funcs'\nexport * from './4.0/models'\n\nexport { sdkVersion, environmentPrefix } from './constants'\nexport { LookerExtensionSDK } from './extensionSdk'\nexport { BrowserSettings, LookerBrowserSDK } from './browserSdk'\n\nexport { functionalSdk40 } from './4.0/funcs'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEA,IAAAG,MAAA,GAAAH,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAZ,MAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,OAAA,GAAAhB,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAW,OAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAS,OAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAC,OAAA,CAAAT,GAAA;IAAA;EAAA;AAAA;AAEA,IAAAU,UAAA,GAAAjB,OAAA;AACA,IAAAkB,aAAA,GAAAlB,OAAA;AACA,IAAAmB,WAAA,GAAAnB,OAAA"}
1
+ {"version":3,"file":"index.js","names":["_methodsInterface","require","_methods","_streams","_funcs","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_models","_constants","_extensionSdk","_browserSdk"],"sources":["../src/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\n// Version 23.18\n\n/**\n * Note: functions should be deep-linked from their 4.0/funcs path\n */\n\nexport { ILooker40SDK } from './4.0/methodsInterface';\nexport { Looker40SDK } from './4.0/methods';\nexport { Looker40SDKStream } from './4.0/streams';\n\nexport * from './4.0/funcs';\nexport * from './4.0/models';\n\nexport { sdkVersion, environmentPrefix } from './constants';\nexport { LookerExtensionSDK } from './extensionSdk';\nexport { BrowserSettings, LookerBrowserSDK } from './browserSdk';\n\nexport { functionalSdk40 } from './4.0/funcs';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEA,IAAAG,MAAA,GAAAH,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAZ,MAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,OAAA,GAAAhB,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAW,OAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAS,OAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAC,OAAA,CAAAT,GAAA;IAAA;EAAA;AAAA;AAEA,IAAAU,UAAA,GAAAjB,OAAA;AACA,IAAAkB,aAAA,GAAAlB,OAAA;AACA,IAAAmB,WAAA,GAAAnB,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@looker/sdk",
3
- "version": "23.20.1",
3
+ "version": "24.2.0",
4
4
  "description": "Looker SDK",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/esm/index.js",
@@ -37,11 +37,11 @@
37
37
  },
38
38
  "homepage": "https://github.com/looker-open-source/sdk-codegen/tree/main/packages/sdk",
39
39
  "devDependencies": {
40
- "@types/request": "^2.48.3",
41
- "@types/request-promise-native": "^1.0.17"
40
+ "@types/request": "2.48.12",
41
+ "@types/request-promise-native": "1.0.21"
42
42
  },
43
43
  "dependencies": {
44
- "@looker/sdk-rtl": "^21.6.1",
44
+ "@looker/sdk-rtl": "21.6.1",
45
45
  "ini": "^1.3.8",
46
46
  "readable-stream": "^3.4.0",
47
47
  "request": "^2.88.0",
@@ -51,5 +51,5 @@
51
51
  "Looker",
52
52
  "SDK"
53
53
  ],
54
- "gitHead": "bfdd76065c005ba2337745ac1b68257b0c470b71"
54
+ "gitHead": "03ab16f5fccfc3030b1963297bb5502873a9c3f0"
55
55
  }