@qlik/api 0.0.2 → 0.0.3
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/api-keys.d.mts +14 -0
- package/api-keys.d.ts +14 -0
- package/api-keys.js +14 -10
- package/api-keys.mjs +6 -2
- package/apps.d.mts +478 -148
- package/apps.d.ts +478 -148
- package/apps.js +100 -42
- package/apps.mjs +60 -2
- package/audits.d.mts +12 -0
- package/audits.d.ts +12 -0
- package/audits.js +10 -9
- package/audits.mjs +3 -2
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +36 -0
- package/automations.d.ts +36 -0
- package/automations.js +28 -21
- package/automations.mjs +9 -2
- package/brands.d.mts +45 -4
- package/brands.d.ts +45 -4
- package/brands.js +20 -15
- package/brands.mjs +7 -2
- package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
- package/{chunk-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
- package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-QN23TPIE.js → chunk-GV5SRHY2.js} +4 -4
- package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
- package/chunk-P57PW2II.js +11 -0
- package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
- package/chunk-ZFXKCRJC.mjs +11 -0
- package/collections.d.mts +51 -17
- package/collections.d.ts +51 -17
- package/collections.js +28 -14
- package/collections.mjs +16 -2
- package/csp-origins.d.mts +12 -0
- package/csp-origins.d.ts +12 -0
- package/csp-origins.js +12 -9
- package/csp-origins.mjs +5 -2
- package/data-assets.d.mts +10 -0
- package/data-assets.d.ts +10 -0
- package/data-assets.js +13 -8
- package/data-assets.mjs +7 -2
- package/data-connections.d.mts +18 -0
- package/data-connections.d.ts +18 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +8 -0
- package/data-credentials.d.ts +8 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +98 -13
- package/data-files.d.ts +98 -13
- package/data-files.js +22 -15
- package/data-files.mjs +9 -2
- package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
- package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
- package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
- package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
- package/extensions.d.mts +26 -2
- package/extensions.d.ts +26 -2
- package/extensions.js +13 -10
- package/extensions.mjs +5 -2
- package/glossaries.d.mts +55 -20
- package/glossaries.d.ts +55 -20
- package/glossaries.js +39 -27
- package/glossaries.mjs +14 -2
- package/groups.d.mts +16 -0
- package/groups.d.ts +16 -0
- package/groups.js +16 -11
- package/groups.mjs +7 -2
- package/identity-providers.d.mts +16 -0
- package/identity-providers.d.ts +16 -0
- package/identity-providers.js +14 -11
- package/identity-providers.mjs +5 -2
- package/index.js +135 -101
- package/index.mjs +131 -97
- package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +6 -6
- package/items.d.ts +6 -6
- package/items.js +14 -11
- package/items.mjs +5 -2
- package/licenses.d.mts +18 -0
- package/licenses.d.ts +18 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +4 -4
- package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +4 -3
- package/qix.mjs +3 -2
- package/quotas.d.mts +4 -0
- package/quotas.d.ts +4 -0
- package/quotas.js +6 -5
- package/quotas.mjs +3 -2
- package/reload-tasks.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +17 -10
- package/reloads.d.ts +17 -10
- package/reloads.js +9 -7
- package/reloads.mjs +4 -2
- package/roles.d.mts +4 -0
- package/roles.d.ts +4 -0
- package/roles.js +6 -5
- package/roles.mjs +3 -2
- package/spaces.d.mts +27 -4
- package/spaces.d.ts +27 -4
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +8 -3
- package/temp-contents.d.ts +8 -3
- package/temp-contents.js +8 -6
- package/temp-contents.mjs +4 -2
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +14 -9
- package/tenants.mjs +7 -2
- package/themes.d.mts +26 -2
- package/themes.d.ts +26 -2
- package/themes.js +13 -10
- package/themes.mjs +5 -2
- package/transports.d.mts +12 -0
- package/transports.d.ts +12 -0
- package/transports.js +12 -9
- package/transports.mjs +5 -2
- package/users.d.mts +48 -29
- package/users.d.ts +48 -29
- package/users.js +18 -13
- package/users.mjs +7 -2
- package/web-integrations.d.mts +10 -0
- package/web-integrations.d.ts +10 -0
- package/web-integrations.js +11 -8
- package/web-integrations.mjs +5 -2
- package/web-notifications.d.mts +12 -0
- package/web-notifications.d.ts +12 -0
- package/web-notifications.js +12 -9
- package/web-notifications.mjs +5 -2
- package/webhooks.d.mts +25 -5
- package/webhooks.d.ts +25 -5
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/auth-OU7OTB7Y.js +0 -38
- package/auth-TE272Q34.mjs +0 -36
- package/chunk-4ES65KO3.js +0 -57
- package/chunk-4FLMND6T.js +0 -25
- package/chunk-4OMEH5SW.mjs +0 -1337
- package/chunk-6JERR27K.js +0 -17
- package/chunk-E42WUFCK.mjs +0 -57
- package/chunk-H7SAZYEE.js +0 -21
- package/chunk-KMMWJZHM.mjs +0 -25
- package/chunk-W4J34XGA.mjs +0 -17
- package/chunk-WM7FQU2U.mjs +0 -21
- package/chunk-XASXL2NC.js +0 -1337
- package/enigma-session-4L373ALV.mjs +0 -10196
- package/enigma-session-TEB53FAF.js +0 -10196
- package/esm-4X3DKK5D.js +0 -63
- package/esm-SOWVJKOQ.mjs +0 -63
- package/invoke-fetch-7PKPQ3FD.js +0 -14
- package/invoke-fetch-MSSJAZ7K.mjs +0 -14
- package/invoke-fetch-PEI54KZO.js +0 -14
- package/qix-EU7PXRZ6.mjs +0 -573
- package/qix-RLTISYTB.js +0 -573
package/brands.d.mts
CHANGED
|
@@ -86,6 +86,7 @@ type Link = {
|
|
|
86
86
|
type NoActiveBrand = unknown;
|
|
87
87
|
/**
|
|
88
88
|
* Lists all brand entries for a tenant
|
|
89
|
+
*
|
|
89
90
|
* @param query an object with query parameters
|
|
90
91
|
* @throws GetBrandsHttpError
|
|
91
92
|
*/
|
|
@@ -129,10 +130,22 @@ type GetBrands500HttpError = {
|
|
|
129
130
|
type GetBrandsHttpError = GetBrands400HttpError | GetBrands401HttpError | GetBrands403HttpError | GetBrands500HttpError;
|
|
130
131
|
/**
|
|
131
132
|
* Creates a new brand
|
|
133
|
+
*
|
|
132
134
|
* @param body an object with the body content
|
|
133
135
|
* @throws CreateBrandHttpError
|
|
134
136
|
*/
|
|
135
|
-
declare const createBrand: (body:
|
|
137
|
+
declare const createBrand: (body: {
|
|
138
|
+
/** Description of the brand. */
|
|
139
|
+
description?: string;
|
|
140
|
+
/** The path and name of a properly formatted ICO file. Maximum size is 100 KB. */
|
|
141
|
+
favIcon?: BodyInit;
|
|
142
|
+
/** The path and name of a JPG or PNG file that will be adjusted to fit in a 'box' measuring 109px in width and 62 px in height while maintaining aspect ratio. Maximum size of 300 KB, but smaller is recommended. */
|
|
143
|
+
logo?: BodyInit;
|
|
144
|
+
/** Name of the brand. */
|
|
145
|
+
name: string;
|
|
146
|
+
/** The path and name of a JSON file to define brand style settings. Maximum size is 100 KB. This property is not currently operational. */
|
|
147
|
+
styles?: BodyInit;
|
|
148
|
+
}, options?: ApiCallOptions) => Promise<CreateBrandHttpResponse>;
|
|
136
149
|
type CreateBrandHttpResponse = {
|
|
137
150
|
data: Brand;
|
|
138
151
|
headers: Headers;
|
|
@@ -161,6 +174,7 @@ type CreateBrand500HttpError = {
|
|
|
161
174
|
type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError | CreateBrand403HttpError | CreateBrand500HttpError;
|
|
162
175
|
/**
|
|
163
176
|
* Retrieves the current active brand
|
|
177
|
+
*
|
|
164
178
|
* @throws GetActiveBrandHttpError
|
|
165
179
|
*/
|
|
166
180
|
declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
|
|
@@ -176,6 +190,7 @@ type GetActiveBrandHttpError = {
|
|
|
176
190
|
};
|
|
177
191
|
/**
|
|
178
192
|
* Deletes a specific brand
|
|
193
|
+
*
|
|
179
194
|
* @param brandId The brand's unique identifier.
|
|
180
195
|
* @throws DeleteBrandHttpError
|
|
181
196
|
*/
|
|
@@ -213,6 +228,7 @@ type DeleteBrand500HttpError = {
|
|
|
213
228
|
type DeleteBrandHttpError = DeleteBrand400HttpError | DeleteBrand401HttpError | DeleteBrand403HttpError | DeleteBrand404HttpError | DeleteBrand500HttpError;
|
|
214
229
|
/**
|
|
215
230
|
* Retrieves a specific brand
|
|
231
|
+
*
|
|
216
232
|
* @param brandId The brand's unique identifier.
|
|
217
233
|
* @throws GetBrandHttpError
|
|
218
234
|
*/
|
|
@@ -250,6 +266,7 @@ type GetBrand500HttpError = {
|
|
|
250
266
|
type GetBrandHttpError = GetBrand400HttpError | GetBrand401HttpError | GetBrand403HttpError | GetBrand404HttpError | GetBrand500HttpError;
|
|
251
267
|
/**
|
|
252
268
|
* Patches a brand
|
|
269
|
+
*
|
|
253
270
|
* @param brandId The brand's unique identifier.
|
|
254
271
|
* @param body an object with the body content
|
|
255
272
|
* @throws PatchBrandHttpError
|
|
@@ -288,6 +305,7 @@ type PatchBrand500HttpError = {
|
|
|
288
305
|
type PatchBrandHttpError = PatchBrand400HttpError | PatchBrand401HttpError | PatchBrand403HttpError | PatchBrand404HttpError | PatchBrand500HttpError;
|
|
289
306
|
/**
|
|
290
307
|
* Sets the brand active and de-activates any other active brand. If the brand is already active, no action is taken.
|
|
308
|
+
*
|
|
291
309
|
* @param brandId The brand's unique identifier.
|
|
292
310
|
* @param body an object with the body content
|
|
293
311
|
* @throws ActivateBrandHttpError
|
|
@@ -326,6 +344,7 @@ type ActivateBrand500HttpError = {
|
|
|
326
344
|
type ActivateBrandHttpError = ActivateBrand400HttpError | ActivateBrand401HttpError | ActivateBrand403HttpError | ActivateBrand404HttpError | ActivateBrand500HttpError;
|
|
327
345
|
/**
|
|
328
346
|
* Sets the brand so it is no longer active. If the brand is already inactive, no action is taken.
|
|
347
|
+
*
|
|
329
348
|
* @param brandId The brand's unique identifier.
|
|
330
349
|
* @param body an object with the body content
|
|
331
350
|
* @throws DeactivateBrandHttpError
|
|
@@ -364,6 +383,7 @@ type DeactivateBrand500HttpError = {
|
|
|
364
383
|
type DeactivateBrandHttpError = DeactivateBrand400HttpError | DeactivateBrand401HttpError | DeactivateBrand403HttpError | DeactivateBrand404HttpError | DeactivateBrand500HttpError;
|
|
365
384
|
/**
|
|
366
385
|
* Deletes a specific brand file
|
|
386
|
+
*
|
|
367
387
|
* @param brandId The brand's unique identifier.
|
|
368
388
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
369
389
|
* @throws DeleteBrandFileHttpError
|
|
@@ -402,13 +422,14 @@ type DeleteBrandFile500HttpError = {
|
|
|
402
422
|
type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401HttpError | DeleteBrandFile403HttpError | DeleteBrandFile404HttpError | DeleteBrandFile500HttpError;
|
|
403
423
|
/**
|
|
404
424
|
* Downloads the brand file
|
|
425
|
+
*
|
|
405
426
|
* @param brandId The brand's unique identifier.
|
|
406
427
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
407
428
|
* @throws GetBrandFileHttpError
|
|
408
429
|
*/
|
|
409
430
|
declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
|
|
410
431
|
type GetBrandFileHttpResponse = {
|
|
411
|
-
data:
|
|
432
|
+
data: BodyInit;
|
|
412
433
|
headers: Headers;
|
|
413
434
|
status: number;
|
|
414
435
|
};
|
|
@@ -440,12 +461,16 @@ type GetBrandFile500HttpError = {
|
|
|
440
461
|
type GetBrandFileHttpError = GetBrandFile400HttpError | GetBrandFile401HttpError | GetBrandFile403HttpError | GetBrandFile404HttpError | GetBrandFile500HttpError;
|
|
441
462
|
/**
|
|
442
463
|
* Creates a brand file
|
|
464
|
+
*
|
|
443
465
|
* @param brandId The brand's unique identifier.
|
|
444
466
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
445
467
|
* @param body an object with the body content
|
|
446
468
|
* @throws CreateBrandFileHttpError
|
|
447
469
|
*/
|
|
448
|
-
declare const createBrandFile: (brandId: string, brandFileId: string, body:
|
|
470
|
+
declare const createBrandFile: (brandId: string, brandFileId: string, body: {
|
|
471
|
+
/** The path and name of a file to upload. */
|
|
472
|
+
file?: BodyInit;
|
|
473
|
+
}, options?: ApiCallOptions) => Promise<CreateBrandFileHttpResponse>;
|
|
449
474
|
type CreateBrandFileHttpResponse = {
|
|
450
475
|
data: BrandFile;
|
|
451
476
|
headers: Headers;
|
|
@@ -479,12 +504,16 @@ type CreateBrandFile500HttpError = {
|
|
|
479
504
|
type CreateBrandFileHttpError = CreateBrandFile400HttpError | CreateBrandFile401HttpError | CreateBrandFile403HttpError | CreateBrandFile404HttpError | CreateBrandFile500HttpError;
|
|
480
505
|
/**
|
|
481
506
|
* Updates existing file
|
|
507
|
+
*
|
|
482
508
|
* @param brandId The brand's unique identifier.
|
|
483
509
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
484
510
|
* @param body an object with the body content
|
|
485
511
|
* @throws UpdateBrandFileHttpError
|
|
486
512
|
*/
|
|
487
|
-
declare const updateBrandFile: (brandId: string, brandFileId: string, body:
|
|
513
|
+
declare const updateBrandFile: (brandId: string, brandFileId: string, body: {
|
|
514
|
+
/** A file to upload. */
|
|
515
|
+
file?: BodyInit;
|
|
516
|
+
}, options?: ApiCallOptions) => Promise<UpdateBrandFileHttpResponse>;
|
|
488
517
|
type UpdateBrandFileHttpResponse = {
|
|
489
518
|
data: BrandFile;
|
|
490
519
|
headers: Headers;
|
|
@@ -523,35 +552,41 @@ declare function clearCache(): void;
|
|
|
523
552
|
interface BrandsAPI {
|
|
524
553
|
/**
|
|
525
554
|
* Lists all brand entries for a tenant
|
|
555
|
+
*
|
|
526
556
|
* @param query an object with query parameters
|
|
527
557
|
* @throws GetBrandsHttpError
|
|
528
558
|
*/
|
|
529
559
|
getBrands: typeof getBrands;
|
|
530
560
|
/**
|
|
531
561
|
* Creates a new brand
|
|
562
|
+
*
|
|
532
563
|
* @param body an object with the body content
|
|
533
564
|
* @throws CreateBrandHttpError
|
|
534
565
|
*/
|
|
535
566
|
createBrand: typeof createBrand;
|
|
536
567
|
/**
|
|
537
568
|
* Retrieves the current active brand
|
|
569
|
+
*
|
|
538
570
|
* @throws GetActiveBrandHttpError
|
|
539
571
|
*/
|
|
540
572
|
getActiveBrand: typeof getActiveBrand;
|
|
541
573
|
/**
|
|
542
574
|
* Deletes a specific brand
|
|
575
|
+
*
|
|
543
576
|
* @param brandId The brand's unique identifier.
|
|
544
577
|
* @throws DeleteBrandHttpError
|
|
545
578
|
*/
|
|
546
579
|
deleteBrand: typeof deleteBrand;
|
|
547
580
|
/**
|
|
548
581
|
* Retrieves a specific brand
|
|
582
|
+
*
|
|
549
583
|
* @param brandId The brand's unique identifier.
|
|
550
584
|
* @throws GetBrandHttpError
|
|
551
585
|
*/
|
|
552
586
|
getBrand: typeof getBrand;
|
|
553
587
|
/**
|
|
554
588
|
* Patches a brand
|
|
589
|
+
*
|
|
555
590
|
* @param brandId The brand's unique identifier.
|
|
556
591
|
* @param body an object with the body content
|
|
557
592
|
* @throws PatchBrandHttpError
|
|
@@ -559,6 +594,7 @@ interface BrandsAPI {
|
|
|
559
594
|
patchBrand: typeof patchBrand;
|
|
560
595
|
/**
|
|
561
596
|
* Sets the brand active and de-activates any other active brand. If the brand is already active, no action is taken.
|
|
597
|
+
*
|
|
562
598
|
* @param brandId The brand's unique identifier.
|
|
563
599
|
* @param body an object with the body content
|
|
564
600
|
* @throws ActivateBrandHttpError
|
|
@@ -566,6 +602,7 @@ interface BrandsAPI {
|
|
|
566
602
|
activateBrand: typeof activateBrand;
|
|
567
603
|
/**
|
|
568
604
|
* Sets the brand so it is no longer active. If the brand is already inactive, no action is taken.
|
|
605
|
+
*
|
|
569
606
|
* @param brandId The brand's unique identifier.
|
|
570
607
|
* @param body an object with the body content
|
|
571
608
|
* @throws DeactivateBrandHttpError
|
|
@@ -573,6 +610,7 @@ interface BrandsAPI {
|
|
|
573
610
|
deactivateBrand: typeof deactivateBrand;
|
|
574
611
|
/**
|
|
575
612
|
* Deletes a specific brand file
|
|
613
|
+
*
|
|
576
614
|
* @param brandId The brand's unique identifier.
|
|
577
615
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
578
616
|
* @throws DeleteBrandFileHttpError
|
|
@@ -580,6 +618,7 @@ interface BrandsAPI {
|
|
|
580
618
|
deleteBrandFile: typeof deleteBrandFile;
|
|
581
619
|
/**
|
|
582
620
|
* Downloads the brand file
|
|
621
|
+
*
|
|
583
622
|
* @param brandId The brand's unique identifier.
|
|
584
623
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
585
624
|
* @throws GetBrandFileHttpError
|
|
@@ -587,6 +626,7 @@ interface BrandsAPI {
|
|
|
587
626
|
getBrandFile: typeof getBrandFile;
|
|
588
627
|
/**
|
|
589
628
|
* Creates a brand file
|
|
629
|
+
*
|
|
590
630
|
* @param brandId The brand's unique identifier.
|
|
591
631
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
592
632
|
* @param body an object with the body content
|
|
@@ -595,6 +635,7 @@ interface BrandsAPI {
|
|
|
595
635
|
createBrandFile: typeof createBrandFile;
|
|
596
636
|
/**
|
|
597
637
|
* Updates existing file
|
|
638
|
+
*
|
|
598
639
|
* @param brandId The brand's unique identifier.
|
|
599
640
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
600
641
|
* @param body an object with the body content
|
package/brands.d.ts
CHANGED
|
@@ -86,6 +86,7 @@ type Link = {
|
|
|
86
86
|
type NoActiveBrand = unknown;
|
|
87
87
|
/**
|
|
88
88
|
* Lists all brand entries for a tenant
|
|
89
|
+
*
|
|
89
90
|
* @param query an object with query parameters
|
|
90
91
|
* @throws GetBrandsHttpError
|
|
91
92
|
*/
|
|
@@ -129,10 +130,22 @@ type GetBrands500HttpError = {
|
|
|
129
130
|
type GetBrandsHttpError = GetBrands400HttpError | GetBrands401HttpError | GetBrands403HttpError | GetBrands500HttpError;
|
|
130
131
|
/**
|
|
131
132
|
* Creates a new brand
|
|
133
|
+
*
|
|
132
134
|
* @param body an object with the body content
|
|
133
135
|
* @throws CreateBrandHttpError
|
|
134
136
|
*/
|
|
135
|
-
declare const createBrand: (body:
|
|
137
|
+
declare const createBrand: (body: {
|
|
138
|
+
/** Description of the brand. */
|
|
139
|
+
description?: string;
|
|
140
|
+
/** The path and name of a properly formatted ICO file. Maximum size is 100 KB. */
|
|
141
|
+
favIcon?: BodyInit;
|
|
142
|
+
/** The path and name of a JPG or PNG file that will be adjusted to fit in a 'box' measuring 109px in width and 62 px in height while maintaining aspect ratio. Maximum size of 300 KB, but smaller is recommended. */
|
|
143
|
+
logo?: BodyInit;
|
|
144
|
+
/** Name of the brand. */
|
|
145
|
+
name: string;
|
|
146
|
+
/** The path and name of a JSON file to define brand style settings. Maximum size is 100 KB. This property is not currently operational. */
|
|
147
|
+
styles?: BodyInit;
|
|
148
|
+
}, options?: ApiCallOptions) => Promise<CreateBrandHttpResponse>;
|
|
136
149
|
type CreateBrandHttpResponse = {
|
|
137
150
|
data: Brand;
|
|
138
151
|
headers: Headers;
|
|
@@ -161,6 +174,7 @@ type CreateBrand500HttpError = {
|
|
|
161
174
|
type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError | CreateBrand403HttpError | CreateBrand500HttpError;
|
|
162
175
|
/**
|
|
163
176
|
* Retrieves the current active brand
|
|
177
|
+
*
|
|
164
178
|
* @throws GetActiveBrandHttpError
|
|
165
179
|
*/
|
|
166
180
|
declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
|
|
@@ -176,6 +190,7 @@ type GetActiveBrandHttpError = {
|
|
|
176
190
|
};
|
|
177
191
|
/**
|
|
178
192
|
* Deletes a specific brand
|
|
193
|
+
*
|
|
179
194
|
* @param brandId The brand's unique identifier.
|
|
180
195
|
* @throws DeleteBrandHttpError
|
|
181
196
|
*/
|
|
@@ -213,6 +228,7 @@ type DeleteBrand500HttpError = {
|
|
|
213
228
|
type DeleteBrandHttpError = DeleteBrand400HttpError | DeleteBrand401HttpError | DeleteBrand403HttpError | DeleteBrand404HttpError | DeleteBrand500HttpError;
|
|
214
229
|
/**
|
|
215
230
|
* Retrieves a specific brand
|
|
231
|
+
*
|
|
216
232
|
* @param brandId The brand's unique identifier.
|
|
217
233
|
* @throws GetBrandHttpError
|
|
218
234
|
*/
|
|
@@ -250,6 +266,7 @@ type GetBrand500HttpError = {
|
|
|
250
266
|
type GetBrandHttpError = GetBrand400HttpError | GetBrand401HttpError | GetBrand403HttpError | GetBrand404HttpError | GetBrand500HttpError;
|
|
251
267
|
/**
|
|
252
268
|
* Patches a brand
|
|
269
|
+
*
|
|
253
270
|
* @param brandId The brand's unique identifier.
|
|
254
271
|
* @param body an object with the body content
|
|
255
272
|
* @throws PatchBrandHttpError
|
|
@@ -288,6 +305,7 @@ type PatchBrand500HttpError = {
|
|
|
288
305
|
type PatchBrandHttpError = PatchBrand400HttpError | PatchBrand401HttpError | PatchBrand403HttpError | PatchBrand404HttpError | PatchBrand500HttpError;
|
|
289
306
|
/**
|
|
290
307
|
* Sets the brand active and de-activates any other active brand. If the brand is already active, no action is taken.
|
|
308
|
+
*
|
|
291
309
|
* @param brandId The brand's unique identifier.
|
|
292
310
|
* @param body an object with the body content
|
|
293
311
|
* @throws ActivateBrandHttpError
|
|
@@ -326,6 +344,7 @@ type ActivateBrand500HttpError = {
|
|
|
326
344
|
type ActivateBrandHttpError = ActivateBrand400HttpError | ActivateBrand401HttpError | ActivateBrand403HttpError | ActivateBrand404HttpError | ActivateBrand500HttpError;
|
|
327
345
|
/**
|
|
328
346
|
* Sets the brand so it is no longer active. If the brand is already inactive, no action is taken.
|
|
347
|
+
*
|
|
329
348
|
* @param brandId The brand's unique identifier.
|
|
330
349
|
* @param body an object with the body content
|
|
331
350
|
* @throws DeactivateBrandHttpError
|
|
@@ -364,6 +383,7 @@ type DeactivateBrand500HttpError = {
|
|
|
364
383
|
type DeactivateBrandHttpError = DeactivateBrand400HttpError | DeactivateBrand401HttpError | DeactivateBrand403HttpError | DeactivateBrand404HttpError | DeactivateBrand500HttpError;
|
|
365
384
|
/**
|
|
366
385
|
* Deletes a specific brand file
|
|
386
|
+
*
|
|
367
387
|
* @param brandId The brand's unique identifier.
|
|
368
388
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
369
389
|
* @throws DeleteBrandFileHttpError
|
|
@@ -402,13 +422,14 @@ type DeleteBrandFile500HttpError = {
|
|
|
402
422
|
type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401HttpError | DeleteBrandFile403HttpError | DeleteBrandFile404HttpError | DeleteBrandFile500HttpError;
|
|
403
423
|
/**
|
|
404
424
|
* Downloads the brand file
|
|
425
|
+
*
|
|
405
426
|
* @param brandId The brand's unique identifier.
|
|
406
427
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
407
428
|
* @throws GetBrandFileHttpError
|
|
408
429
|
*/
|
|
409
430
|
declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
|
|
410
431
|
type GetBrandFileHttpResponse = {
|
|
411
|
-
data:
|
|
432
|
+
data: BodyInit;
|
|
412
433
|
headers: Headers;
|
|
413
434
|
status: number;
|
|
414
435
|
};
|
|
@@ -440,12 +461,16 @@ type GetBrandFile500HttpError = {
|
|
|
440
461
|
type GetBrandFileHttpError = GetBrandFile400HttpError | GetBrandFile401HttpError | GetBrandFile403HttpError | GetBrandFile404HttpError | GetBrandFile500HttpError;
|
|
441
462
|
/**
|
|
442
463
|
* Creates a brand file
|
|
464
|
+
*
|
|
443
465
|
* @param brandId The brand's unique identifier.
|
|
444
466
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
445
467
|
* @param body an object with the body content
|
|
446
468
|
* @throws CreateBrandFileHttpError
|
|
447
469
|
*/
|
|
448
|
-
declare const createBrandFile: (brandId: string, brandFileId: string, body:
|
|
470
|
+
declare const createBrandFile: (brandId: string, brandFileId: string, body: {
|
|
471
|
+
/** The path and name of a file to upload. */
|
|
472
|
+
file?: BodyInit;
|
|
473
|
+
}, options?: ApiCallOptions) => Promise<CreateBrandFileHttpResponse>;
|
|
449
474
|
type CreateBrandFileHttpResponse = {
|
|
450
475
|
data: BrandFile;
|
|
451
476
|
headers: Headers;
|
|
@@ -479,12 +504,16 @@ type CreateBrandFile500HttpError = {
|
|
|
479
504
|
type CreateBrandFileHttpError = CreateBrandFile400HttpError | CreateBrandFile401HttpError | CreateBrandFile403HttpError | CreateBrandFile404HttpError | CreateBrandFile500HttpError;
|
|
480
505
|
/**
|
|
481
506
|
* Updates existing file
|
|
507
|
+
*
|
|
482
508
|
* @param brandId The brand's unique identifier.
|
|
483
509
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
484
510
|
* @param body an object with the body content
|
|
485
511
|
* @throws UpdateBrandFileHttpError
|
|
486
512
|
*/
|
|
487
|
-
declare const updateBrandFile: (brandId: string, brandFileId: string, body:
|
|
513
|
+
declare const updateBrandFile: (brandId: string, brandFileId: string, body: {
|
|
514
|
+
/** A file to upload. */
|
|
515
|
+
file?: BodyInit;
|
|
516
|
+
}, options?: ApiCallOptions) => Promise<UpdateBrandFileHttpResponse>;
|
|
488
517
|
type UpdateBrandFileHttpResponse = {
|
|
489
518
|
data: BrandFile;
|
|
490
519
|
headers: Headers;
|
|
@@ -523,35 +552,41 @@ declare function clearCache(): void;
|
|
|
523
552
|
interface BrandsAPI {
|
|
524
553
|
/**
|
|
525
554
|
* Lists all brand entries for a tenant
|
|
555
|
+
*
|
|
526
556
|
* @param query an object with query parameters
|
|
527
557
|
* @throws GetBrandsHttpError
|
|
528
558
|
*/
|
|
529
559
|
getBrands: typeof getBrands;
|
|
530
560
|
/**
|
|
531
561
|
* Creates a new brand
|
|
562
|
+
*
|
|
532
563
|
* @param body an object with the body content
|
|
533
564
|
* @throws CreateBrandHttpError
|
|
534
565
|
*/
|
|
535
566
|
createBrand: typeof createBrand;
|
|
536
567
|
/**
|
|
537
568
|
* Retrieves the current active brand
|
|
569
|
+
*
|
|
538
570
|
* @throws GetActiveBrandHttpError
|
|
539
571
|
*/
|
|
540
572
|
getActiveBrand: typeof getActiveBrand;
|
|
541
573
|
/**
|
|
542
574
|
* Deletes a specific brand
|
|
575
|
+
*
|
|
543
576
|
* @param brandId The brand's unique identifier.
|
|
544
577
|
* @throws DeleteBrandHttpError
|
|
545
578
|
*/
|
|
546
579
|
deleteBrand: typeof deleteBrand;
|
|
547
580
|
/**
|
|
548
581
|
* Retrieves a specific brand
|
|
582
|
+
*
|
|
549
583
|
* @param brandId The brand's unique identifier.
|
|
550
584
|
* @throws GetBrandHttpError
|
|
551
585
|
*/
|
|
552
586
|
getBrand: typeof getBrand;
|
|
553
587
|
/**
|
|
554
588
|
* Patches a brand
|
|
589
|
+
*
|
|
555
590
|
* @param brandId The brand's unique identifier.
|
|
556
591
|
* @param body an object with the body content
|
|
557
592
|
* @throws PatchBrandHttpError
|
|
@@ -559,6 +594,7 @@ interface BrandsAPI {
|
|
|
559
594
|
patchBrand: typeof patchBrand;
|
|
560
595
|
/**
|
|
561
596
|
* Sets the brand active and de-activates any other active brand. If the brand is already active, no action is taken.
|
|
597
|
+
*
|
|
562
598
|
* @param brandId The brand's unique identifier.
|
|
563
599
|
* @param body an object with the body content
|
|
564
600
|
* @throws ActivateBrandHttpError
|
|
@@ -566,6 +602,7 @@ interface BrandsAPI {
|
|
|
566
602
|
activateBrand: typeof activateBrand;
|
|
567
603
|
/**
|
|
568
604
|
* Sets the brand so it is no longer active. If the brand is already inactive, no action is taken.
|
|
605
|
+
*
|
|
569
606
|
* @param brandId The brand's unique identifier.
|
|
570
607
|
* @param body an object with the body content
|
|
571
608
|
* @throws DeactivateBrandHttpError
|
|
@@ -573,6 +610,7 @@ interface BrandsAPI {
|
|
|
573
610
|
deactivateBrand: typeof deactivateBrand;
|
|
574
611
|
/**
|
|
575
612
|
* Deletes a specific brand file
|
|
613
|
+
*
|
|
576
614
|
* @param brandId The brand's unique identifier.
|
|
577
615
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
578
616
|
* @throws DeleteBrandFileHttpError
|
|
@@ -580,6 +618,7 @@ interface BrandsAPI {
|
|
|
580
618
|
deleteBrandFile: typeof deleteBrandFile;
|
|
581
619
|
/**
|
|
582
620
|
* Downloads the brand file
|
|
621
|
+
*
|
|
583
622
|
* @param brandId The brand's unique identifier.
|
|
584
623
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
585
624
|
* @throws GetBrandFileHttpError
|
|
@@ -587,6 +626,7 @@ interface BrandsAPI {
|
|
|
587
626
|
getBrandFile: typeof getBrandFile;
|
|
588
627
|
/**
|
|
589
628
|
* Creates a brand file
|
|
629
|
+
*
|
|
590
630
|
* @param brandId The brand's unique identifier.
|
|
591
631
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
592
632
|
* @param body an object with the body content
|
|
@@ -595,6 +635,7 @@ interface BrandsAPI {
|
|
|
595
635
|
createBrandFile: typeof createBrandFile;
|
|
596
636
|
/**
|
|
597
637
|
* Updates existing file
|
|
638
|
+
*
|
|
598
639
|
* @param brandId The brand's unique identifier.
|
|
599
640
|
* @param brandFileId The unique identifier of a file within a brand.
|
|
600
641
|
* @param body an object with the body content
|
package/brands.js
CHANGED
|
@@ -1,88 +1,93 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/brands.ts
|
|
8
|
-
var getBrands = async (query, options) =>
|
|
9
|
+
var getBrands = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/brands",
|
|
11
12
|
query,
|
|
12
13
|
options
|
|
13
14
|
});
|
|
14
|
-
var createBrand = async (body, options) =>
|
|
15
|
+
var createBrand = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/brands",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "multipart/form-data",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
|
-
var getActiveBrand = async (options) =>
|
|
22
|
+
var getActiveBrand = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
21
23
|
method: "get",
|
|
22
24
|
pathTemplate: "/api/v1/brands/active",
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
|
-
var deleteBrand = async (brandId, options) =>
|
|
27
|
+
var deleteBrand = async (brandId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
26
28
|
method: "delete",
|
|
27
29
|
pathTemplate: "/api/v1/brands/{brand-id}",
|
|
28
30
|
pathVariables: { "brand-id": brandId },
|
|
29
31
|
options
|
|
30
32
|
});
|
|
31
|
-
var getBrand = async (brandId, options) =>
|
|
33
|
+
var getBrand = async (brandId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
32
34
|
method: "get",
|
|
33
35
|
pathTemplate: "/api/v1/brands/{brand-id}",
|
|
34
36
|
pathVariables: { "brand-id": brandId },
|
|
35
37
|
options
|
|
36
38
|
});
|
|
37
|
-
var patchBrand = async (brandId, body, options) =>
|
|
39
|
+
var patchBrand = async (brandId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
38
40
|
method: "patch",
|
|
39
41
|
pathTemplate: "/api/v1/brands/{brand-id}",
|
|
40
42
|
pathVariables: { "brand-id": brandId },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
|
-
var activateBrand = async (brandId, body, options) =>
|
|
47
|
+
var activateBrand = async (brandId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
45
48
|
method: "post",
|
|
46
49
|
pathTemplate: "/api/v1/brands/{brand-id}/actions/activate",
|
|
47
50
|
pathVariables: { "brand-id": brandId },
|
|
48
51
|
body,
|
|
49
52
|
options
|
|
50
53
|
});
|
|
51
|
-
var deactivateBrand = async (brandId, body, options) =>
|
|
54
|
+
var deactivateBrand = async (brandId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
52
55
|
method: "post",
|
|
53
56
|
pathTemplate: "/api/v1/brands/{brand-id}/actions/deactivate",
|
|
54
57
|
pathVariables: { "brand-id": brandId },
|
|
55
58
|
body,
|
|
56
59
|
options
|
|
57
60
|
});
|
|
58
|
-
var deleteBrandFile = async (brandId, brandFileId, options) =>
|
|
61
|
+
var deleteBrandFile = async (brandId, brandFileId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
59
62
|
method: "delete",
|
|
60
63
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
61
64
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
62
65
|
options
|
|
63
66
|
});
|
|
64
|
-
var getBrandFile = async (brandId, brandFileId, options) =>
|
|
67
|
+
var getBrandFile = async (brandId, brandFileId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
65
68
|
method: "get",
|
|
66
69
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
67
70
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
68
71
|
options
|
|
69
72
|
});
|
|
70
|
-
var createBrandFile = async (brandId, brandFileId, body, options) =>
|
|
73
|
+
var createBrandFile = async (brandId, brandFileId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
71
74
|
method: "post",
|
|
72
75
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
73
76
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
74
77
|
body,
|
|
78
|
+
contentType: "multipart/form-data",
|
|
75
79
|
options
|
|
76
80
|
});
|
|
77
|
-
var updateBrandFile = async (brandId, brandFileId, body, options) =>
|
|
81
|
+
var updateBrandFile = async (brandId, brandFileId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "brands", {
|
|
78
82
|
method: "put",
|
|
79
83
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
80
84
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
81
85
|
body,
|
|
86
|
+
contentType: "multipart/form-data",
|
|
82
87
|
options
|
|
83
88
|
});
|
|
84
89
|
function clearCache() {
|
|
85
|
-
return
|
|
90
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "brands");
|
|
86
91
|
}
|
|
87
92
|
var brandsExport = {
|
|
88
93
|
getBrands,
|
package/brands.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/brands.ts
|
|
8
9
|
var getBrands = async (query, options) => invokeFetch("brands", {
|
|
@@ -15,6 +16,7 @@ var createBrand = async (body, options) => invokeFetch("brands", {
|
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/brands",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "multipart/form-data",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
22
|
var getActiveBrand = async (options) => invokeFetch("brands", {
|
|
@@ -39,6 +41,7 @@ var patchBrand = async (brandId, body, options) => invokeFetch("brands", {
|
|
|
39
41
|
pathTemplate: "/api/v1/brands/{brand-id}",
|
|
40
42
|
pathVariables: { "brand-id": brandId },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
47
|
var activateBrand = async (brandId, body, options) => invokeFetch("brands", {
|
|
@@ -72,6 +75,7 @@ var createBrandFile = async (brandId, brandFileId, body, options) => invokeFetch
|
|
|
72
75
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
73
76
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
74
77
|
body,
|
|
78
|
+
contentType: "multipart/form-data",
|
|
75
79
|
options
|
|
76
80
|
});
|
|
77
81
|
var updateBrandFile = async (brandId, brandFileId, body, options) => invokeFetch("brands", {
|
|
@@ -79,6 +83,7 @@ var updateBrandFile = async (brandId, brandFileId, body, options) => invokeFetch
|
|
|
79
83
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
80
84
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
81
85
|
body,
|
|
86
|
+
contentType: "multipart/form-data",
|
|
82
87
|
options
|
|
83
88
|
});
|
|
84
89
|
function clearCache() {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/public/public-runtime-modules.ts
|
|
2
2
|
function getAuthRuntimeModule(hostConfig) {
|
|
3
3
|
const isNode = !!_optionalChain([globalThis, 'access', _ => _.process, 'optionalAccess', _2 => _2.argv]);
|
|
4
|
-
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
4
|
+
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./auth-AWZV4DPP.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./esm-3VXX2GKL.js"))).then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
|
|
5
5
|
}
|
|
6
6
|
async function getQixRuntimeModule(hostConfig) {
|
|
7
7
|
await getAuthRuntimeModule(hostConfig);
|
|
8
8
|
const isNode = !!_optionalChain([globalThis, 'access', _3 => _3.process, 'optionalAccess', _4 => _4.argv]);
|
|
9
|
-
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./qix-
|
|
9
|
+
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./qix-UNWXPGMA.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./esm-3VXX2GKL.js"))).then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
|
|
10
10
|
}
|
|
11
11
|
async function getInvokeFetchRuntimeModule(hostConfig) {
|
|
12
12
|
await getAuthRuntimeModule(hostConfig);
|
|
13
13
|
const isNode = !!_optionalChain([globalThis, 'access', _5 => _5.process, 'optionalAccess', _6 => _6.argv]);
|
|
14
|
-
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./invoke-fetch-
|
|
14
|
+
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./invoke-fetch-UNTAUR7O.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./esm-3VXX2GKL.js"))).then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// src/public/public-runtime-modules.ts
|
|
2
2
|
function getAuthRuntimeModule(hostConfig) {
|
|
3
3
|
const isNode = !!globalThis.process?.argv;
|
|
4
|
-
return isNode ? import("./auth-
|
|
4
|
+
return isNode ? import("./auth-CPBNNC7S.mjs") : import("./esm-OY4XVIJB.mjs").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
|
|
5
5
|
}
|
|
6
6
|
async function getQixRuntimeModule(hostConfig) {
|
|
7
7
|
await getAuthRuntimeModule(hostConfig);
|
|
8
8
|
const isNode = !!globalThis.process?.argv;
|
|
9
|
-
return isNode ? import("./qix-
|
|
9
|
+
return isNode ? import("./qix-ZSJ4PIK3.mjs") : import("./esm-OY4XVIJB.mjs").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
|
|
10
10
|
}
|
|
11
11
|
async function getInvokeFetchRuntimeModule(hostConfig) {
|
|
12
12
|
await getAuthRuntimeModule(hostConfig);
|
|
13
13
|
const isNode = !!globalThis.process?.argv;
|
|
14
|
-
return isNode ? import("./invoke-fetch-
|
|
14
|
+
return isNode ? import("./invoke-fetch-3WZWAAZH.mjs") : import("./esm-OY4XVIJB.mjs").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2STFUQKQjs = require('./chunk-2STFUQKQ.js');
|
|
4
4
|
|
|
5
5
|
// src/public/qix.ts
|
|
6
6
|
function openAppSession(appSessionProps) {
|
|
7
|
-
const appSessionPromise =
|
|
7
|
+
const appSessionPromise = _chunk2STFUQKQjs.getQixRuntimeModule.call(void 0, appSessionProps.hostConfig).then(
|
|
8
8
|
(impl) => impl.openAppSession(appSessionProps)
|
|
9
9
|
);
|
|
10
10
|
const appSessionProxy = {
|