@qlik/api 0.0.1 → 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.
Files changed (156) hide show
  1. package/.github/CODEOWNERS +2 -0
  2. package/.github/workflows/release.yaml +35 -0
  3. package/README.md +1 -3
  4. package/api-keys.d.mts +27 -13
  5. package/api-keys.d.ts +27 -13
  6. package/api-keys.js +17 -13
  7. package/api-keys.mjs +12 -8
  8. package/apps.d.mts +580 -165
  9. package/apps.d.ts +580 -165
  10. package/apps.js +111 -44
  11. package/apps.mjs +78 -11
  12. package/audits.d.mts +20 -8
  13. package/audits.d.ts +20 -8
  14. package/audits.js +12 -11
  15. package/audits.mjs +7 -6
  16. package/auth-AWZV4DPP.js +41 -0
  17. package/{auth-TE272Q34.mjs → auth-CPBNNC7S.mjs} +8 -3
  18. package/auth.js +4 -3
  19. package/auth.mjs +3 -2
  20. package/automations.d.mts +56 -20
  21. package/automations.d.ts +56 -20
  22. package/automations.js +32 -25
  23. package/automations.mjs +18 -11
  24. package/brands.d.mts +45 -4
  25. package/brands.d.ts +45 -4
  26. package/brands.js +20 -15
  27. package/brands.mjs +7 -2
  28. package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
  29. package/{chunk-WM7FQU2U.mjs → chunk-3SVRHJII.mjs} +3 -3
  30. package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
  31. package/{chunk-4ES65KO3.js → chunk-7RY3NO6N.js} +2 -2
  32. package/{chunk-4OMEH5SW.mjs → chunk-CYRLVHU3.mjs} +321 -53
  33. package/{chunk-XASXL2NC.js → chunk-D52VW5UN.js} +323 -55
  34. package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
  35. package/{chunk-4FLMND6T.js → chunk-GV5SRHY2.js} +4 -4
  36. package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
  37. package/chunk-P57PW2II.js +11 -0
  38. package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
  39. package/chunk-ZFXKCRJC.mjs +11 -0
  40. package/collections.d.mts +52 -18
  41. package/collections.d.ts +52 -18
  42. package/collections.js +28 -14
  43. package/collections.mjs +16 -2
  44. package/csp-origins.d.mts +12 -0
  45. package/csp-origins.d.ts +12 -0
  46. package/csp-origins.js +12 -9
  47. package/csp-origins.mjs +5 -2
  48. package/data-assets.d.mts +10 -0
  49. package/data-assets.d.ts +10 -0
  50. package/data-assets.js +13 -8
  51. package/data-assets.mjs +7 -2
  52. package/data-connections.d.mts +20 -0
  53. package/data-connections.d.ts +20 -0
  54. package/data-connections.js +19 -12
  55. package/data-connections.mjs +9 -2
  56. package/data-credentials.d.mts +10 -0
  57. package/data-credentials.d.ts +10 -0
  58. package/data-credentials.js +10 -7
  59. package/data-credentials.mjs +5 -2
  60. package/data-files.d.mts +114 -29
  61. package/data-files.d.ts +114 -29
  62. package/data-files.js +25 -18
  63. package/data-files.mjs +15 -8
  64. package/{enigma-session-TEB53FAF.js → enigma-session-XPXDQAIV.js} +12 -7
  65. package/{enigma-session-4L373ALV.mjs → enigma-session-ZH6MYA54.mjs} +10 -5
  66. package/{esm-4X3DKK5D.js → esm-3VXX2GKL.js} +13 -9
  67. package/{esm-SOWVJKOQ.mjs → esm-OY4XVIJB.mjs} +13 -9
  68. package/extensions.d.mts +26 -2
  69. package/extensions.d.ts +26 -2
  70. package/extensions.js +13 -10
  71. package/extensions.mjs +5 -2
  72. package/glossaries.d.mts +55 -20
  73. package/glossaries.d.ts +55 -20
  74. package/glossaries.js +39 -27
  75. package/glossaries.mjs +14 -2
  76. package/groups.d.mts +29 -13
  77. package/groups.d.ts +29 -13
  78. package/groups.js +19 -14
  79. package/groups.mjs +13 -8
  80. package/identity-providers.d.mts +23 -7
  81. package/identity-providers.d.ts +23 -7
  82. package/identity-providers.js +16 -13
  83. package/identity-providers.mjs +8 -5
  84. package/index.js +150 -112
  85. package/index.mjs +146 -108
  86. package/{invoke-fetch-MSSJAZ7K.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
  87. package/invoke-fetch-UNTAUR7O.js +17 -0
  88. package/items.d.mts +25 -22
  89. package/items.d.ts +25 -22
  90. package/items.js +17 -14
  91. package/items.mjs +11 -8
  92. package/licenses.d.mts +20 -0
  93. package/licenses.d.ts +20 -0
  94. package/licenses.js +17 -12
  95. package/licenses.mjs +7 -2
  96. package/package.json +7 -18
  97. package/{qix-RLTISYTB.js → qix-UNWXPGMA.js} +9 -8
  98. package/{qix-EU7PXRZ6.mjs → qix-ZSJ4PIK3.mjs} +5 -4
  99. package/qix.d.mts +1066 -1017
  100. package/qix.d.ts +1066 -1017
  101. package/qix.js +4 -3
  102. package/qix.mjs +3 -2
  103. package/quotas.d.mts +4 -0
  104. package/quotas.d.ts +4 -0
  105. package/quotas.js +6 -5
  106. package/quotas.mjs +3 -2
  107. package/reload-tasks.d.mts +2 -0
  108. package/reload-tasks.d.ts +2 -0
  109. package/reload-tasks.js +11 -8
  110. package/reload-tasks.mjs +5 -2
  111. package/reloads.d.mts +20 -11
  112. package/reloads.d.ts +20 -11
  113. package/reloads.js +9 -7
  114. package/reloads.mjs +4 -2
  115. package/roles.d.mts +4 -0
  116. package/roles.d.ts +4 -0
  117. package/roles.js +6 -5
  118. package/roles.mjs +3 -2
  119. package/spaces.d.mts +36 -30
  120. package/spaces.d.ts +36 -30
  121. package/spaces.js +21 -15
  122. package/spaces.mjs +8 -2
  123. package/temp-contents.d.mts +9 -70
  124. package/temp-contents.d.ts +9 -70
  125. package/temp-contents.js +10 -29
  126. package/temp-contents.mjs +5 -24
  127. package/tenants.d.mts +12 -0
  128. package/tenants.d.ts +12 -0
  129. package/tenants.js +14 -9
  130. package/tenants.mjs +7 -2
  131. package/themes.d.mts +26 -2
  132. package/themes.d.ts +26 -2
  133. package/themes.js +13 -10
  134. package/themes.mjs +5 -2
  135. package/transports.d.mts +12 -0
  136. package/transports.d.ts +12 -0
  137. package/transports.js +12 -9
  138. package/transports.mjs +5 -2
  139. package/users.d.mts +48 -29
  140. package/users.d.ts +48 -29
  141. package/users.js +18 -13
  142. package/users.mjs +7 -2
  143. package/web-integrations.d.mts +10 -0
  144. package/web-integrations.d.ts +10 -0
  145. package/web-integrations.js +11 -8
  146. package/web-integrations.mjs +5 -2
  147. package/web-notifications.d.mts +12 -0
  148. package/web-notifications.d.ts +12 -0
  149. package/web-notifications.js +12 -9
  150. package/web-notifications.mjs +5 -2
  151. package/webhooks.d.mts +27 -7
  152. package/webhooks.d.ts +27 -7
  153. package/webhooks.js +17 -13
  154. package/webhooks.mjs +6 -2
  155. package/auth-CSVTXOZX.js +0 -36
  156. package/invoke-fetch-PEI54KZO.js +0 -14
@@ -293,6 +293,7 @@ type ClaimsMappingNonInteractive = {
293
293
  };
294
294
  /**
295
295
  * This endpoint retrieves one or more identity providers from the service. The tenantID in the JWT will be used to fetch the identity provider.
296
+ *
296
297
  * @param query an object with query parameters
297
298
  * @throws GetIdpsHttpError
298
299
  */
@@ -320,6 +321,7 @@ type GetIdpsHttpError = {
320
321
  };
321
322
  /**
322
323
  * This endpoint creates an identity provider resource. It returns a 201 Created when creation is successful with a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested), returns a 403 Forbidden for a non TenantAdmin user JWT or if the tenantID in the JWT does not match with any of the tenantIDs in the payload. An IdP can be created with Pending Options or options depending whether the IdP is interactive or not.
324
+ *
323
325
  * @param body an object with the body content
324
326
  * @throws CreateIdpHttpError
325
327
  */
@@ -336,6 +338,7 @@ type CreateIdpHttpError = {
336
338
  };
337
339
  /**
338
340
  * This endpoint retrieves identity providers' metadata.
341
+ *
339
342
  * @throws GetIdpWellKnownMetaDataHttpError
340
343
  */
341
344
  declare const getIdpWellKnownMetaData: (options?: ApiCallOptions) => Promise<GetIdpWellKnownMetaDataHttpResponse>;
@@ -351,6 +354,7 @@ type GetIdpWellKnownMetaDataHttpError = {
351
354
  };
352
355
  /**
353
356
  * Returns the active interactive IdP metadata
357
+ *
354
358
  * @throws GetMyIdpMetaHttpError
355
359
  */
356
360
  declare const getMyIdpMeta: (options?: ApiCallOptions) => Promise<GetMyIdpMetaHttpResponse>;
@@ -366,21 +370,23 @@ type GetMyIdpMetaHttpError = {
366
370
  };
367
371
  /**
368
372
  * This endpoint retrieves the status of IdP configurations. Requires TenantAdmin role.
369
- * @throws GetIdpStatusHttpError
373
+ *
374
+ * @throws GetIdpStatusesHttpError
370
375
  */
371
- declare const getIdpStatus: (options?: ApiCallOptions) => Promise<GetIdpStatusHttpResponse>;
372
- type GetIdpStatusHttpResponse = {
376
+ declare const getIdpStatuses: (options?: ApiCallOptions) => Promise<GetIdpStatusesHttpResponse>;
377
+ type GetIdpStatusesHttpResponse = {
373
378
  data: IDPsStatus;
374
379
  headers: Headers;
375
380
  status: number;
376
381
  };
377
- type GetIdpStatusHttpError = {
382
+ type GetIdpStatusesHttpError = {
378
383
  data: Errors;
379
384
  headers: Headers;
380
385
  status: number;
381
386
  };
382
387
  /**
383
388
  * This endpoint deletes an identity provider from the service. It returns a valid 204 when the IdP is deleted. Only a user with the role of TenantAdmin and tenant access can delete an associated IdP. Edge-auth service can also delete.
389
+ *
384
390
  * @param id The identity provider ID.
385
391
  * @throws DeleteIdpHttpError
386
392
  */
@@ -397,6 +403,7 @@ type DeleteIdpHttpError = {
397
403
  };
398
404
  /**
399
405
  * This endpoint is used to retrieve an identity provider from the service. It returns a valid 200 OK response when the IdP exists and the user (TenantAdmin) or service (edge-auth) is authorized to view the contents. Additionally, returns a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested). It returns a 404 Not Found if the criteria is not met.
406
+ *
400
407
  * @param id The identity provider ID.
401
408
  * @throws GetIdpHttpError
402
409
  */
@@ -413,6 +420,7 @@ type GetIdpHttpError = {
413
420
  };
414
421
  /**
415
422
  * This endpoint patches an identity provider from the service. It returns a valid 204 when the IdP is patched. Only an edge-auth service request or a user with the role of TenantAdmin can patch an associated IdP. Partial failure is treated as complete failure and returns an error.
423
+ *
416
424
  * @param id The identity provider ID.
417
425
  * @param body an object with the body content
418
426
  * @throws PatchIdpHttpError
@@ -435,45 +443,53 @@ declare function clearCache(): void;
435
443
  interface IdentityProvidersAPI {
436
444
  /**
437
445
  * This endpoint retrieves one or more identity providers from the service. The tenantID in the JWT will be used to fetch the identity provider.
446
+ *
438
447
  * @param query an object with query parameters
439
448
  * @throws GetIdpsHttpError
440
449
  */
441
450
  getIdps: typeof getIdps;
442
451
  /**
443
452
  * This endpoint creates an identity provider resource. It returns a 201 Created when creation is successful with a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested), returns a 403 Forbidden for a non TenantAdmin user JWT or if the tenantID in the JWT does not match with any of the tenantIDs in the payload. An IdP can be created with Pending Options or options depending whether the IdP is interactive or not.
453
+ *
444
454
  * @param body an object with the body content
445
455
  * @throws CreateIdpHttpError
446
456
  */
447
457
  createIdp: typeof createIdp;
448
458
  /**
449
459
  * This endpoint retrieves identity providers' metadata.
460
+ *
450
461
  * @throws GetIdpWellKnownMetaDataHttpError
451
462
  */
452
463
  getIdpWellKnownMetaData: typeof getIdpWellKnownMetaData;
453
464
  /**
454
465
  * Returns the active interactive IdP metadata
466
+ *
455
467
  * @throws GetMyIdpMetaHttpError
456
468
  */
457
469
  getMyIdpMeta: typeof getMyIdpMeta;
458
470
  /**
459
471
  * This endpoint retrieves the status of IdP configurations. Requires TenantAdmin role.
460
- * @throws GetIdpStatusHttpError
472
+ *
473
+ * @throws GetIdpStatusesHttpError
461
474
  */
462
- getIdpStatus: typeof getIdpStatus;
475
+ getIdpStatuses: typeof getIdpStatuses;
463
476
  /**
464
477
  * This endpoint deletes an identity provider from the service. It returns a valid 204 when the IdP is deleted. Only a user with the role of TenantAdmin and tenant access can delete an associated IdP. Edge-auth service can also delete.
478
+ *
465
479
  * @param id The identity provider ID.
466
480
  * @throws DeleteIdpHttpError
467
481
  */
468
482
  deleteIdp: typeof deleteIdp;
469
483
  /**
470
484
  * This endpoint is used to retrieve an identity provider from the service. It returns a valid 200 OK response when the IdP exists and the user (TenantAdmin) or service (edge-auth) is authorized to view the contents. Additionally, returns a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested). It returns a 404 Not Found if the criteria is not met.
485
+ *
471
486
  * @param id The identity provider ID.
472
487
  * @throws GetIdpHttpError
473
488
  */
474
489
  getIdp: typeof getIdp;
475
490
  /**
476
491
  * This endpoint patches an identity provider from the service. It returns a valid 204 when the IdP is patched. Only an edge-auth service request or a user with the role of TenantAdmin can patch an associated IdP. Partial failure is treated as complete failure and returns an error.
492
+ *
477
493
  * @param id The identity provider ID.
478
494
  * @param body an object with the body content
479
495
  * @throws PatchIdpHttpError
@@ -489,4 +505,4 @@ interface IdentityProvidersAPI {
489
505
  */
490
506
  declare const identityProvidersExport: IdentityProvidersAPI;
491
507
 
492
- export { type BaseIDP, type ClaimsMappingInteractive, type ClaimsMappingNonInteractive, type CreateIdpHttpError, type CreateIdpHttpResponse, type CreateJWTAuthPayload, type CreateOIDCPayload, type DeleteIdpHttpError, type DeleteIdpHttpResponse, type Error, type Errors, type GetIdpHttpError, type GetIdpHttpResponse, type GetIdpStatusHttpError, type GetIdpStatusHttpResponse, type GetIdpWellKnownMetaDataHttpError, type GetIdpWellKnownMetaDataHttpResponse, type GetIdpsHttpError, type GetIdpsHttpResponse, type GetMyIdpMetaHttpError, type GetMyIdpMetaHttpResponse, type IDP, type IDPArray, type IDPJWTAuth, type IDPMeta, type IDPOIDC, type IDPOptions, type IDPPatchSchema, type IDPPostSchema, type IDPProtocol, type IDPProvider, type IDPsStatus, type IdentityProvidersAPI, type Links, type OpenIDConfiguration, type PatchIdpHttpError, type PatchIdpHttpResponse, type PatchJWTAuthPayload, type PatchOIDCPayload, type PendingResult, clearCache, createIdp, identityProvidersExport as default, deleteIdp, getIdp, getIdpStatus, getIdpWellKnownMetaData, getIdps, getMyIdpMeta, patchIdp };
508
+ export { type BaseIDP, type ClaimsMappingInteractive, type ClaimsMappingNonInteractive, type CreateIdpHttpError, type CreateIdpHttpResponse, type CreateJWTAuthPayload, type CreateOIDCPayload, type DeleteIdpHttpError, type DeleteIdpHttpResponse, type Error, type Errors, type GetIdpHttpError, type GetIdpHttpResponse, type GetIdpStatusesHttpError, type GetIdpStatusesHttpResponse, type GetIdpWellKnownMetaDataHttpError, type GetIdpWellKnownMetaDataHttpResponse, type GetIdpsHttpError, type GetIdpsHttpResponse, type GetMyIdpMetaHttpError, type GetMyIdpMetaHttpResponse, type IDP, type IDPArray, type IDPJWTAuth, type IDPMeta, type IDPOIDC, type IDPOptions, type IDPPatchSchema, type IDPPostSchema, type IDPProtocol, type IDPProvider, type IDPsStatus, type IdentityProvidersAPI, type Links, type OpenIDConfiguration, type PatchIdpHttpError, type PatchIdpHttpResponse, type PatchJWTAuthPayload, type PatchOIDCPayload, type PendingResult, clearCache, createIdp, identityProvidersExport as default, deleteIdp, getIdp, getIdpStatuses, getIdpWellKnownMetaData, getIdps, getMyIdpMeta, patchIdp };
@@ -1,65 +1,68 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.js');
4
+ var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/identity-providers.ts
8
- var getIdps = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "identity-providers", {
9
+ var getIdps = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/identity-providers",
11
12
  query,
12
13
  options
13
14
  });
14
- var createIdp = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "identity-providers", {
15
+ var createIdp = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/identity-providers",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
- var getIdpWellKnownMetaData = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "identity-providers", {
22
+ var getIdpWellKnownMetaData = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
21
23
  method: "get",
22
24
  pathTemplate: "/api/v1/identity-providers/.well-known/metadata.json",
23
25
  options
24
26
  });
25
- var getMyIdpMeta = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "identity-providers", {
27
+ var getMyIdpMeta = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
26
28
  method: "get",
27
29
  pathTemplate: "/api/v1/identity-providers/me/meta",
28
30
  options
29
31
  });
30
- var getIdpStatus = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "identity-providers", {
32
+ var getIdpStatuses = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
31
33
  method: "get",
32
34
  pathTemplate: "/api/v1/identity-providers/status",
33
35
  options
34
36
  });
35
- var deleteIdp = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "identity-providers", {
37
+ var deleteIdp = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
36
38
  method: "delete",
37
39
  pathTemplate: "/api/v1/identity-providers/{id}",
38
40
  pathVariables: { id },
39
41
  options
40
42
  });
41
- var getIdp = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "identity-providers", {
43
+ var getIdp = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
42
44
  method: "get",
43
45
  pathTemplate: "/api/v1/identity-providers/{id}",
44
46
  pathVariables: { id },
45
47
  options
46
48
  });
47
- var patchIdp = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "identity-providers", {
49
+ var patchIdp = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
48
50
  method: "patch",
49
51
  pathTemplate: "/api/v1/identity-providers/{id}",
50
52
  pathVariables: { id },
51
53
  body,
54
+ contentType: "application/json",
52
55
  options
53
56
  });
54
57
  function clearCache() {
55
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "identity-providers");
58
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "identity-providers");
56
59
  }
57
60
  var identityProvidersExport = {
58
61
  getIdps,
59
62
  createIdp,
60
63
  getIdpWellKnownMetaData,
61
64
  getMyIdpMeta,
62
- getIdpStatus,
65
+ getIdpStatuses,
63
66
  deleteIdp,
64
67
  getIdp,
65
68
  patchIdp,
@@ -77,4 +80,4 @@ var identity_providers_default = identityProvidersExport;
77
80
 
78
81
 
79
82
 
80
- exports.clearCache = clearCache; exports.createIdp = createIdp; exports.default = identity_providers_default; exports.deleteIdp = deleteIdp; exports.getIdp = getIdp; exports.getIdpStatus = getIdpStatus; exports.getIdpWellKnownMetaData = getIdpWellKnownMetaData; exports.getIdps = getIdps; exports.getMyIdpMeta = getMyIdpMeta; exports.patchIdp = patchIdp;
83
+ exports.clearCache = clearCache; exports.createIdp = createIdp; exports.default = identity_providers_default; exports.deleteIdp = deleteIdp; exports.getIdp = getIdp; exports.getIdpStatuses = getIdpStatuses; exports.getIdpWellKnownMetaData = getIdpWellKnownMetaData; exports.getIdps = getIdps; exports.getMyIdpMeta = getMyIdpMeta; exports.patchIdp = patchIdp;
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/identity-providers.ts
8
9
  var getIdps = async (query, options) => invokeFetch("identity-providers", {
@@ -15,6 +16,7 @@ var createIdp = async (body, options) => invokeFetch("identity-providers", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/identity-providers",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
22
  var getIdpWellKnownMetaData = async (options) => invokeFetch("identity-providers", {
@@ -27,7 +29,7 @@ var getMyIdpMeta = async (options) => invokeFetch("identity-providers", {
27
29
  pathTemplate: "/api/v1/identity-providers/me/meta",
28
30
  options
29
31
  });
30
- var getIdpStatus = async (options) => invokeFetch("identity-providers", {
32
+ var getIdpStatuses = async (options) => invokeFetch("identity-providers", {
31
33
  method: "get",
32
34
  pathTemplate: "/api/v1/identity-providers/status",
33
35
  options
@@ -49,6 +51,7 @@ var patchIdp = async (id, body, options) => invokeFetch("identity-providers", {
49
51
  pathTemplate: "/api/v1/identity-providers/{id}",
50
52
  pathVariables: { id },
51
53
  body,
54
+ contentType: "application/json",
52
55
  options
53
56
  });
54
57
  function clearCache() {
@@ -59,7 +62,7 @@ var identityProvidersExport = {
59
62
  createIdp,
60
63
  getIdpWellKnownMetaData,
61
64
  getMyIdpMeta,
62
- getIdpStatus,
65
+ getIdpStatuses,
63
66
  deleteIdp,
64
67
  getIdp,
65
68
  patchIdp,
@@ -72,7 +75,7 @@ export {
72
75
  identity_providers_default as default,
73
76
  deleteIdp,
74
77
  getIdp,
75
- getIdpStatus,
78
+ getIdpStatuses,
76
79
  getIdpWellKnownMetaData,
77
80
  getIdps,
78
81
  getMyIdpMeta,