@ctx-core/auth0-management 6.0.116 → 7.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # @ctx-core/auth0-management
2
2
 
3
+ ## 7.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - svelte: 3.44.2 -> 3.44.3
8
+ - Updated dependencies
9
+ - @ctx-core/auth0@27.0.1
10
+ - @ctx-core/store@27.0.47
11
+
12
+ ## 7.0.0
13
+
14
+ ### Major Changes
15
+
16
+ - \*\_b: ctx is a map: @ctx-core/object: 22.0.0
17
+
18
+ ### Patch Changes
19
+
20
+ - package.json: - module
21
+ - Updated dependencies
22
+ - Updated dependencies
23
+ - Updated dependencies
24
+ - @ctx-core/object@22.0.0
25
+ - @ctx-core/auth0@27.0.0
26
+ - @ctx-core/store@27.0.46
27
+ - @ctx-core/fetch@11.0.93
28
+
29
+ ## 6.0.118
30
+
31
+ ### Patch Changes
32
+
33
+ - update dependencies
34
+ - Updated dependencies
35
+ - @ctx-core/auth0@26.0.16
36
+
37
+ ## 6.0.117
38
+
39
+ ### Patch Changes
40
+
41
+ - update dependencies
42
+
3
43
  ## 6.0.116
4
44
 
5
45
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/auth0_audience__b.ts"],"sourcesContent":["import { AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nimport type { auth0_management_Ctx } from './auth0_management_Ctx.js'\nconst key = 'auth0_audience_'\nexport const auth0_audience__b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{\n\tconst AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)\n\treturn auth0_audience_fn as auth0_audience__T\n\tfunction auth0_audience_fn() {\n\t\treturn `https://${AUTH0_DOMAIN$.$}/api/v2/`\n\t}\n})\nexport type auth0_audience__T = ()=>string\n"],"names":["AUTH0_DOMAIN$_b","be_","key","auth0_audience__b","ctx","AUTH0_DOMAIN$","auth0_audience_fn","$"],"mappings":"AAAA,MAAM,GAAGA,eAAe,QAAQ,CAAiB;AACjD,MAAM,GAAGC,GAAG,QAAW,CAAkB;AAEzC,KAAK,CAACC,GAAG,GAAG,CAAiB;AAC7B,MAAM,CAAC,KAAK,CAACC,iBAAiB,GAAuCF,GAAG,CAAmCC,GAAG,GAAEE,GAAG,GAAE,CAAC;IACrH,KAAK,CAACC,aAAa,GAAGL,eAAe,CAACI,GAAG;IACzC,MAAM,CAACE,iBAAiB;aACfA,iBAAiB,GAAG,CAAC;QAC7B,MAAM,EAAE,QAAQ,EAAED,aAAa,CAACE,CAAC,CAAC,QAAQ;IAC3C,CAAC;AACF,CAAC"}
1
+ {"version":3,"sources":["../src/auth0_audience__b.ts"],"sourcesContent":["import { AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nconst key = 'auth0_audience_'\nexport const auth0_audience__b:B<auth0_audience__T> = be_(key, ctx=>{\n\tconst AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)\n\treturn auth0_audience_fn as auth0_audience__T\n\tfunction auth0_audience_fn() {\n\t\treturn `https://${AUTH0_DOMAIN$.$}/api/v2/`\n\t}\n})\nexport type auth0_audience__T = ()=>string\n"],"names":["AUTH0_DOMAIN$_b","be_","key","auth0_audience__b","ctx","AUTH0_DOMAIN$","auth0_audience_fn","$"],"mappings":"AAAA,MAAM,GAAGA,eAAe,QAAQ,CAAiB;AACjD,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,KAAK,CAACC,GAAG,GAAG,CAAiB;AAC7B,MAAM,CAAC,KAAK,CAACC,iBAAiB,GAAwBF,GAAG,CAACC,GAAG,GAAEE,GAAG,GAAE,CAAC;IACpE,KAAK,CAACC,aAAa,GAAGL,eAAe,CAACI,GAAG;IACzC,MAAM,CAACE,iBAAiB;aACfA,iBAAiB,GAAG,CAAC;QAC7B,MAAM,EAAE,QAAQ,EAAED,aAAa,CAACE,CAAC,CAAC,QAAQ;IAC3C,CAAC;AACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/auth0_management_client_credentials_body__b.ts"],"sourcesContent":["import type { post_auth0_oauth_token_body_I } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nimport { auth0_audience__b } from './auth0_audience__b.js'\nimport type { auth0_management_Ctx } from './auth0_management_Ctx.js'\nconst key = 'auth0_management_client_credentials_body_'\nexport const auth0_management_client_credentials_body__b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{\n\tconst auth0_audience_ = auth0_audience__b(ctx)\n\treturn auth0_management_client_credentials_body_ as auth0_management_client_credentials_body__T\n\tfunction auth0_management_client_credentials_body_():post_auth0_oauth_token_body_I {\n\t\treturn {\n\t\t\tgrant_type: 'client_credentials',\n\t\t\tclient_id: process.env.AUTH0_MANAGEMENT_ID!,\n\t\t\tclient_secret: process.env.AUTH0_MANAGEMENT_SECRET!,\n\t\t\taudience: auth0_audience_(),\n\t\t}\n\t}\n})\nexport type auth0_management_client_credentials_body__T = ()=>post_auth0_oauth_token_body_I\n"],"names":["be_","auth0_audience__b","key","auth0_management_client_credentials_body__b","ctx","auth0_audience_","auth0_management_client_credentials_body_","grant_type","client_id","process","env","AUTH0_MANAGEMENT_ID","client_secret","AUTH0_MANAGEMENT_SECRET","audience"],"mappings":"AACA,MAAM,GAAGA,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,iBAAiB,QAAQ,CAAwB;AAE1D,KAAK,CAACC,GAAG,GAAG,CAA2C;AACvD,MAAM,CAAC,KAAK,CAACC,2CAA2C,GAAuCH,GAAG,CAAmCE,GAAG,GAAEE,GAAG,GAAE,CAAC;IAC/I,KAAK,CAACC,eAAe,GAAGJ,iBAAiB,CAACG,GAAG;IAC7C,MAAM,CAACE,yCAAyC;aACvCA,yCAAyC,GAAiC,CAAC;QACnF,MAAM,CAAC,CAAC;YACPC,UAAU,EAAE,CAAoB;YAChCC,SAAS,EAAEC,OAAO,CAACC,GAAG,CAACC,mBAAmB;YAC1CC,aAAa,EAAEH,OAAO,CAACC,GAAG,CAACG,uBAAuB;YAClDC,QAAQ,EAAET,eAAe;QAC1B,CAAC;IACF,CAAC;AACF,CAAC"}
1
+ {"version":3,"sources":["../src/auth0_management_client_credentials_body__b.ts"],"sourcesContent":["import type { post_auth0_oauth_token_body_I } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nimport { auth0_audience__b } from './auth0_audience__b.js'\nconst key = 'auth0_management_client_credentials_body_'\nexport const auth0_management_client_credentials_body__b:B<auth0_management_client_credentials_body__T> = be_(key, ctx=>{\n\tconst auth0_audience_ = auth0_audience__b(ctx)\n\treturn auth0_management_client_credentials_body_ as auth0_management_client_credentials_body__T\n\tfunction auth0_management_client_credentials_body_():post_auth0_oauth_token_body_I {\n\t\treturn {\n\t\t\tgrant_type: 'client_credentials',\n\t\t\tclient_id: process.env.AUTH0_MANAGEMENT_ID!,\n\t\t\tclient_secret: process.env.AUTH0_MANAGEMENT_SECRET!,\n\t\t\taudience: auth0_audience_(),\n\t\t}\n\t}\n})\nexport type auth0_management_client_credentials_body__T = ()=>post_auth0_oauth_token_body_I\n"],"names":["be_","auth0_audience__b","key","auth0_management_client_credentials_body__b","ctx","auth0_audience_","auth0_management_client_credentials_body_","grant_type","client_id","process","env","AUTH0_MANAGEMENT_ID","client_secret","AUTH0_MANAGEMENT_SECRET","audience"],"mappings":"AACA,MAAM,GAAGA,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,iBAAiB,QAAQ,CAAwB;AAC1D,KAAK,CAACC,GAAG,GAAG,CAA2C;AACvD,MAAM,CAAC,KAAK,CAACC,2CAA2C,GAAkDH,GAAG,CAACE,GAAG,GAAEE,GAAG,GAAE,CAAC;IACxH,KAAK,CAACC,eAAe,GAAGJ,iBAAiB,CAACG,GAAG;IAC7C,MAAM,CAACE,yCAAyC;aACvCA,yCAAyC,GAAiC,CAAC;QACnF,MAAM,CAAC,CAAC;YACPC,UAAU,EAAE,CAAoB;YAChCC,SAAS,EAAEC,OAAO,CAACC,GAAG,CAACC,mBAAmB;YAC1CC,aAAa,EAAEH,OAAO,CAACC,GAAG,CAACG,uBAAuB;YAClDC,QAAQ,EAAET,eAAe;QAC1B,CAAC;IACF,CAAC;AACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/auth0_management_token__b.ts"],"sourcesContent":["import { auth0_token_T, post_auth0_oauth_token_b } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nimport { auth0_management_client_credentials_body__b } from './auth0_management_client_credentials_body__b.js'\nimport type { auth0_management_Ctx } from './auth0_management_Ctx.js'\nconst key = 'auth0_management_token_'\nexport const auth0_management_token__b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{\n\tconst post_auth0_oauth_token = post_auth0_oauth_token_b(ctx)\n\tconst auth0_management_client_credentials_body_fn = auth0_management_client_credentials_body__b(ctx)\n\treturn auth0_management_token_ as auth0_management_token__T\n\tasync function auth0_management_token_():Promise<auth0_token_T> {\n\t\tconst management_client_credentials = auth0_management_client_credentials_body_fn()\n\t\tconst response = await post_auth0_oauth_token(management_client_credentials)\n\t\treturn response.json()\n\t}\n})\nexport type auth0_management_token__T = ()=>Promise<auth0_token_T>\n"],"names":["post_auth0_oauth_token_b","be_","auth0_management_client_credentials_body__b","key","auth0_management_token__b","ctx","post_auth0_oauth_token","auth0_management_client_credentials_body_fn","auth0_management_token_","management_client_credentials","response","json"],"mappings":"AAAA,MAAM,GAAkBA,wBAAwB,QAAQ,CAAiB;AACzE,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,2CAA2C,QAAQ,CAAkD;AAE9G,KAAK,CAACC,GAAG,GAAG,CAAyB;AACrC,MAAM,CAAC,KAAK,CAACC,yBAAyB,GAAuCH,GAAG,CAAmCE,GAAG,GAAEE,GAAG,GAAE,CAAC;IAC7H,KAAK,CAACC,sBAAsB,GAAGN,wBAAwB,CAACK,GAAG;IAC3D,KAAK,CAACE,2CAA2C,GAAGL,2CAA2C,CAACG,GAAG;IACnG,MAAM,CAACG,uBAAuB;mBACfA,uBAAuB,GAA0B,CAAC;QAChE,KAAK,CAACC,6BAA6B,GAAGF,2CAA2C;QACjF,KAAK,CAACG,QAAQ,GAAG,KAAK,CAACJ,sBAAsB,CAACG,6BAA6B;QAC3E,MAAM,CAACC,QAAQ,CAACC,IAAI;IACrB,CAAC;AACF,CAAC"}
1
+ {"version":3,"sources":["../src/auth0_management_token__b.ts"],"sourcesContent":["import { auth0_token_T, post_auth0_oauth_token_b } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nimport { auth0_management_client_credentials_body__b } from './auth0_management_client_credentials_body__b.js'\nconst key = 'auth0_management_token_'\nexport const auth0_management_token__b:B<auth0_management_token__T> = be_(key, ctx=>{\n\tconst post_auth0_oauth_token = post_auth0_oauth_token_b(ctx)\n\tconst auth0_management_client_credentials_body_fn = auth0_management_client_credentials_body__b(ctx)\n\treturn auth0_management_token_ as auth0_management_token__T\n\tasync function auth0_management_token_():Promise<auth0_token_T> {\n\t\tconst management_client_credentials = auth0_management_client_credentials_body_fn()\n\t\tconst response = await post_auth0_oauth_token(management_client_credentials)\n\t\treturn response.json()\n\t}\n})\nexport type auth0_management_token__T = ()=>Promise<auth0_token_T>\n"],"names":["post_auth0_oauth_token_b","be_","auth0_management_client_credentials_body__b","key","auth0_management_token__b","ctx","post_auth0_oauth_token","auth0_management_client_credentials_body_fn","auth0_management_token_","management_client_credentials","response","json"],"mappings":"AAAA,MAAM,GAAkBA,wBAAwB,QAAQ,CAAiB;AACzE,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,2CAA2C,QAAQ,CAAkD;AAC9G,KAAK,CAACC,GAAG,GAAG,CAAyB;AACrC,MAAM,CAAC,KAAK,CAACC,yBAAyB,GAAgCH,GAAG,CAACE,GAAG,GAAEE,GAAG,GAAE,CAAC;IACpF,KAAK,CAACC,sBAAsB,GAAGN,wBAAwB,CAACK,GAAG;IAC3D,KAAK,CAACE,2CAA2C,GAAGL,2CAA2C,CAACG,GAAG;IACnG,MAAM,CAACG,uBAAuB;mBACfA,uBAAuB,GAA0B,CAAC;QAChE,KAAK,CAACC,6BAA6B,GAAGF,2CAA2C;QACjF,KAAK,CAACG,QAAQ,GAAG,KAAK,CAACJ,sBAAsB,CAACG,6BAA6B;QAC3E,MAAM,CAACC,QAAQ,CAACC,IAAI;IACrB,CAAC;AACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/get_auth0_v2_client_grants_b.ts"],"sourcesContent":["import { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { fetch } from '@ctx-core/fetch'\nimport { be_, B } from '@ctx-core/object'\nimport { query_str_ } from '@ctx-core/uri'\nimport type { auth0_management_Ctx } from './auth0_management_Ctx.js'\nimport { auth0_management_token__b} from './auth0_management_token__b.js'\nconst key = 'get_auth0_v2_client_grants'\nexport const get_auth0_v2_client_grants_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\tconst AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)\n\treturn get_auth0_v2_client_grants as get_auth0_v2_client_grants_T\n\tasync function get_auth0_v2_client_grants(\n\t\tparams:get_auth0_v2_client_grants_params_I\n\t) {\n\t\tconst { query, json } = params\n\t\tconst auth0_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_token)\n\t\tconst url = `https://${AUTH0_DOMAIN$.$}/api/v2/client-grants?${query || query_str_(json)}`\n\t\treturn fetch(url, {\n\t\t\tmethod: 'GET',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t})\n\t}\n})\nexport interface get_auth0_v2_client_grants_params_I {\n\tquery?:string\n\tjson?:any\n}\nexport type get_auth0_v2_client_grants_T =\n\t(params:get_auth0_v2_client_grants_params_I)=>Promise<Response>\n"],"names":["verify_access_token_header_authorization_","AUTH0_DOMAIN$_b","fetch","be_","query_str_","auth0_management_token__b","key","get_auth0_v2_client_grants_b","ctx","auth0_management_token_","AUTH0_DOMAIN$","get_auth0_v2_client_grants","params","query","json","auth0_token","authorization","url","$","method","headers"],"mappings":"AAAA,MAAM,GAAGA,yCAAyC,EAAEC,eAAe,QAAQ,CAAiB;AAC5F,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AACvC,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,UAAU,QAAQ,CAAe;AAE1C,MAAM,GAAGC,yBAAyB,QAAO,CAAgC;AACzE,KAAK,CAACC,GAAG,GAAG,CAA4B;AACxC,MAAM,CAAC,KAAK,CAACC,4BAA4B,GAAuCJ,GAAG,CAAmCG,GAAG,GAAEE,GAAG,GAAE,CAAC;IAChI,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,KAAK,CAACE,aAAa,GAAGT,eAAe,CAACO,GAAG;IACzC,MAAM,CAACG,0BAA0B;mBAClBA,0BAA0B,CACxCC,MAA0C,EACzC,CAAC;QACF,KAAK,CAAC,CAAC,CAACC,KAAK,GAAEC,IAAI,EAAC,CAAC,GAAGF,MAAM;QAC9B,KAAK,CAACG,WAAW,GAAG,KAAK,CAACN,uBAAuB;QACjD,KAAK,CAACO,aAAa,GAAGhB,yCAAyC,CAACe,WAAW;QAC3E,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEP,aAAa,CAACQ,CAAC,CAAC,sBAAsB,EAAEL,KAAK,IAAIT,UAAU,CAACU,IAAI;QACvF,MAAM,CAACZ,KAAK,CAACe,GAAG,EAAE,CAAC;YAClBE,MAAM,EAAE,CAAK;YACbC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCJ,aAAa;YACd,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC"}
1
+ {"version":3,"sources":["../src/get_auth0_v2_client_grants_b.ts"],"sourcesContent":["import { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { fetch } from '@ctx-core/fetch'\nimport { be_, B } from '@ctx-core/object'\nimport { query_str_ } from '@ctx-core/uri'\nimport { auth0_management_token__b} from './auth0_management_token__b.js'\nconst key = 'get_auth0_v2_client_grants'\nexport const get_auth0_v2_client_grants_b:B<get_auth0_v2_client_grants_T> = be_(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\tconst AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)\n\treturn get_auth0_v2_client_grants as get_auth0_v2_client_grants_T\n\tasync function get_auth0_v2_client_grants(\n\t\tparams:get_auth0_v2_client_grants_params_I\n\t) {\n\t\tconst { query, json } = params\n\t\tconst auth0_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_token)\n\t\tconst url = `https://${AUTH0_DOMAIN$.$}/api/v2/client-grants?${query || query_str_(json)}`\n\t\treturn fetch(url, {\n\t\t\tmethod: 'GET',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t})\n\t}\n})\nexport interface get_auth0_v2_client_grants_params_I {\n\tquery?:string\n\tjson?:any\n}\nexport type get_auth0_v2_client_grants_T =\n\t(params:get_auth0_v2_client_grants_params_I)=>Promise<Response>\n"],"names":["verify_access_token_header_authorization_","AUTH0_DOMAIN$_b","fetch","be_","query_str_","auth0_management_token__b","key","get_auth0_v2_client_grants_b","ctx","auth0_management_token_","AUTH0_DOMAIN$","get_auth0_v2_client_grants","params","query","json","auth0_token","authorization","url","$","method","headers"],"mappings":"AAAA,MAAM,GAAGA,yCAAyC,EAAEC,eAAe,QAAQ,CAAiB;AAC5F,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AACvC,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,UAAU,QAAQ,CAAe;AAC1C,MAAM,GAAGC,yBAAyB,QAAO,CAAgC;AACzE,KAAK,CAACC,GAAG,GAAG,CAA4B;AACxC,MAAM,CAAC,KAAK,CAACC,4BAA4B,GAAmCJ,GAAG,CAACG,GAAG,GAAEE,GAAG,GAAE,CAAC;IAC1F,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,KAAK,CAACE,aAAa,GAAGT,eAAe,CAACO,GAAG;IACzC,MAAM,CAACG,0BAA0B;mBAClBA,0BAA0B,CACxCC,MAA0C,EACzC,CAAC;QACF,KAAK,CAAC,CAAC,CAACC,KAAK,GAAEC,IAAI,EAAC,CAAC,GAAGF,MAAM;QAC9B,KAAK,CAACG,WAAW,GAAG,KAAK,CAACN,uBAAuB;QACjD,KAAK,CAACO,aAAa,GAAGhB,yCAAyC,CAACe,WAAW;QAC3E,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEP,aAAa,CAACQ,CAAC,CAAC,sBAAsB,EAAEL,KAAK,IAAIT,UAAU,CAACU,IAAI;QACvF,MAAM,CAACZ,KAAK,CAACe,GAAG,EAAE,CAAC;YAClBE,MAAM,EAAE,CAAK;YACbC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCJ,aAAa;YACd,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/get_auth0_v2_user_b.ts"],"sourcesContent":["import { verify_access_token_header_authorization_ } from '@ctx-core/auth0'\nimport { fetch } from '@ctx-core/fetch'\nimport { be_, B } from '@ctx-core/object'\nimport type { auth0_management_Ctx } from './auth0_management_Ctx.js'\nimport { auth0_management_token__b } from './auth0_management_token__b.js'\nconst key = 'get_auth0_v2_user'\nexport const get_auth0_v2_user_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\treturn get_auth0_v2_user as get_auth0_v2_user_T\n\tasync function get_auth0_v2_user({ AUTH0_DOMAIN, user_id }:get_auth0_v2_user_params_T):Promise<Response> {\n\t\tconst auth0_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_token)\n\t\tconst url = `https://${AUTH0_DOMAIN}/api/v2/users/${user_id}`\n\t\treturn fetch(url, {\n\t\t\tmethod: 'GET',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t})\n\t}\n})\nexport interface get_auth0_v2_user_params_T {\n\tAUTH0_DOMAIN:string\n\tuser_id:string\n}\nexport type get_auth0_v2_user_T =\n\t(params:get_auth0_v2_user_params_T)=>Promise<Response>\n"],"names":["verify_access_token_header_authorization_","fetch","be_","auth0_management_token__b","key","get_auth0_v2_user_b","ctx","auth0_management_token_","get_auth0_v2_user","AUTH0_DOMAIN","user_id","auth0_token","authorization","url","method","headers"],"mappings":"AAAA,MAAM,GAAGA,yCAAyC,QAAQ,CAAiB;AAC3E,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AACvC,MAAM,GAAGC,GAAG,QAAW,CAAkB;AAEzC,MAAM,GAAGC,yBAAyB,QAAQ,CAAgC;AAC1E,KAAK,CAACC,GAAG,GAAG,CAAmB;AAC/B,MAAM,CAAC,KAAK,CAACC,mBAAmB,GAAuCH,GAAG,CAAmCE,GAAG,GAAEE,GAAG,GAAE,CAAC;IACvH,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,MAAM,CAACE,iBAAiB;mBACTA,iBAAiB,CAAC,CAAC,CAACC,YAAY,GAAEC,OAAO,EAA4B,CAAC,EAAoB,CAAC;QACzG,KAAK,CAACC,WAAW,GAAG,KAAK,CAACJ,uBAAuB;QACjD,KAAK,CAACK,aAAa,GAAGZ,yCAAyC,CAACW,WAAW;QAC3E,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEJ,YAAY,CAAC,cAAc,EAAEC,OAAO;QAC3D,MAAM,CAACT,KAAK,CAACY,GAAG,EAAE,CAAC;YAClBC,MAAM,EAAE,CAAK;YACbC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCH,aAAa;YACd,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC"}
1
+ {"version":3,"sources":["../src/get_auth0_v2_user_b.ts"],"sourcesContent":["import { verify_access_token_header_authorization_ } from '@ctx-core/auth0'\nimport { fetch } from '@ctx-core/fetch'\nimport { be_, B } from '@ctx-core/object'\nimport { auth0_management_token__b } from './auth0_management_token__b.js'\nconst key = 'get_auth0_v2_user'\nexport const get_auth0_v2_user_b:B<get_auth0_v2_user_T> = be_(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\treturn get_auth0_v2_user as get_auth0_v2_user_T\n\tasync function get_auth0_v2_user({ AUTH0_DOMAIN, user_id }:get_auth0_v2_user_params_T):Promise<Response> {\n\t\tconst auth0_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_token)\n\t\tconst url = `https://${AUTH0_DOMAIN}/api/v2/users/${user_id}`\n\t\treturn fetch(url, {\n\t\t\tmethod: 'GET',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t})\n\t}\n})\nexport interface get_auth0_v2_user_params_T {\n\tAUTH0_DOMAIN:string\n\tuser_id:string\n}\nexport type get_auth0_v2_user_T =\n\t(params:get_auth0_v2_user_params_T)=>Promise<Response>\n"],"names":["verify_access_token_header_authorization_","fetch","be_","auth0_management_token__b","key","get_auth0_v2_user_b","ctx","auth0_management_token_","get_auth0_v2_user","AUTH0_DOMAIN","user_id","auth0_token","authorization","url","method","headers"],"mappings":"AAAA,MAAM,GAAGA,yCAAyC,QAAQ,CAAiB;AAC3E,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AACvC,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,yBAAyB,QAAQ,CAAgC;AAC1E,KAAK,CAACC,GAAG,GAAG,CAAmB;AAC/B,MAAM,CAAC,KAAK,CAACC,mBAAmB,GAA0BH,GAAG,CAACE,GAAG,GAAEE,GAAG,GAAE,CAAC;IACxE,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,MAAM,CAACE,iBAAiB;mBACTA,iBAAiB,CAAC,CAAC,CAACC,YAAY,GAAEC,OAAO,EAA4B,CAAC,EAAoB,CAAC;QACzG,KAAK,CAACC,WAAW,GAAG,KAAK,CAACJ,uBAAuB;QACjD,KAAK,CAACK,aAAa,GAAGZ,yCAAyC,CAACW,WAAW;QAC3E,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEJ,YAAY,CAAC,cAAc,EAAEC,OAAO;QAC3D,MAAM,CAACT,KAAK,CAACY,GAAG,EAAE,CAAC;YAClBC,MAAM,EAAE,CAAK;YACbC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCH,aAAa;YACd,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/get_auth0_v2_users_by_email_b.ts"],"sourcesContent":["import type { Auth0UserProfile } from 'auth0-js'\nimport { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nimport { fetch } from '@ctx-core/fetch'\nimport type { auth0_management_Ctx } from './auth0_management_Ctx.js'\nimport { auth0_management_token__b } from './auth0_management_token__b.js'\nconst key = 'get_auth0_v2_users_by_email'\nexport const get_auth0_v2_users_by_email_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\treturn get_auth0_v2_users_by_email as get_auth0_v2_users_by_email_T\n\tasync function get_auth0_v2_users_by_email(params:get_auth0_v2_users_by_email_params_I) {\n\t\tconst { email } = params\n\t\tconst AUTH0_DOMAIN = params.AUTH0_DOMAIN || AUTH0_DOMAIN$_b(ctx).$\n\t\tconst auth0_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_token)\n\t\tconst url = `https://${AUTH0_DOMAIN}/api/v2/users-by-email?email=${encodeURIComponent(email)}`\n\t\treturn await fetch(url, {\n\t\t\tmethod: 'GET',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t})\n\t}\n})\nexport type get_auth0_v2_users_by_email_params_I = {\n\temail:string,\n\tAUTH0_DOMAIN?:string,\n}\nexport type get_auth0_v2_users_by_email_T =\n\t(params:get_auth0_v2_users_by_email_params_I)=>Promise<Response>\nexport type get_auth0_v2_users_by_email_response_T = Auth0UserProfile[]\n"],"names":["verify_access_token_header_authorization_","AUTH0_DOMAIN$_b","be_","fetch","auth0_management_token__b","key","get_auth0_v2_users_by_email_b","ctx","auth0_management_token_","get_auth0_v2_users_by_email","params","email","AUTH0_DOMAIN","$","auth0_token","authorization","url","encodeURIComponent","method","headers"],"mappings":"AACA,MAAM,GAAGA,yCAAyC,EAAEC,eAAe,QAAQ,CAAiB;AAC5F,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AAEvC,MAAM,GAAGC,yBAAyB,QAAQ,CAAgC;AAC1E,KAAK,CAACC,GAAG,GAAG,CAA6B;AACzC,MAAM,CAAC,KAAK,CAACC,6BAA6B,GAAuCJ,GAAG,CAAmCG,GAAG,GAAEE,GAAG,GAAE,CAAC;IACjI,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,MAAM,CAACE,2BAA2B;mBACnBA,2BAA2B,CAACC,MAA2C,EAAE,CAAC;QACxF,KAAK,CAAC,CAAC,CAACC,KAAK,EAAC,CAAC,GAAGD,MAAM;QACxB,KAAK,CAACE,YAAY,GAAGF,MAAM,CAACE,YAAY,IAAIX,eAAe,CAACM,GAAG,EAAEM,CAAC;QAClE,KAAK,CAACC,WAAW,GAAG,KAAK,CAACN,uBAAuB;QACjD,KAAK,CAACO,aAAa,GAAGf,yCAAyC,CAACc,WAAW;QAC3E,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEJ,YAAY,CAAC,6BAA6B,EAAEK,kBAAkB,CAACN,KAAK;QAC3F,MAAM,CAAC,KAAK,CAACR,KAAK,CAACa,GAAG,EAAE,CAAC;YACxBE,MAAM,EAAE,CAAK;YACbC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCJ,aAAa;YACd,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC"}
1
+ {"version":3,"sources":["../src/get_auth0_v2_users_by_email_b.ts"],"sourcesContent":["import type { Auth0UserProfile } from 'auth0-js'\nimport { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nimport { fetch } from '@ctx-core/fetch'\nimport { auth0_management_token__b } from './auth0_management_token__b.js'\nconst key = 'get_auth0_v2_users_by_email'\nexport const get_auth0_v2_users_by_email_b:B<get_auth0_v2_users_by_email_T> = be_(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\treturn get_auth0_v2_users_by_email as get_auth0_v2_users_by_email_T\n\tasync function get_auth0_v2_users_by_email(params:get_auth0_v2_users_by_email_params_I) {\n\t\tconst { email } = params\n\t\tconst AUTH0_DOMAIN = params.AUTH0_DOMAIN || AUTH0_DOMAIN$_b(ctx).$\n\t\tconst auth0_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_token)\n\t\tconst url = `https://${AUTH0_DOMAIN}/api/v2/users-by-email?email=${encodeURIComponent(email)}`\n\t\treturn await fetch(url, {\n\t\t\tmethod: 'GET',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t})\n\t}\n})\nexport type get_auth0_v2_users_by_email_params_I = {\n\temail:string,\n\tAUTH0_DOMAIN?:string,\n}\nexport type get_auth0_v2_users_by_email_T =\n\t(params:get_auth0_v2_users_by_email_params_I)=>Promise<Response>\nexport type get_auth0_v2_users_by_email_response_T = Auth0UserProfile[]\n"],"names":["verify_access_token_header_authorization_","AUTH0_DOMAIN$_b","be_","fetch","auth0_management_token__b","key","get_auth0_v2_users_by_email_b","ctx","auth0_management_token_","get_auth0_v2_users_by_email","params","email","AUTH0_DOMAIN","$","auth0_token","authorization","url","encodeURIComponent","method","headers"],"mappings":"AACA,MAAM,GAAGA,yCAAyC,EAAEC,eAAe,QAAQ,CAAiB;AAC5F,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AACvC,MAAM,GAAGC,yBAAyB,QAAQ,CAAgC;AAC1E,KAAK,CAACC,GAAG,GAAG,CAA6B;AACzC,MAAM,CAAC,KAAK,CAACC,6BAA6B,GAAoCJ,GAAG,CAACG,GAAG,GAAEE,GAAG,GAAE,CAAC;IAC5F,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,MAAM,CAACE,2BAA2B;mBACnBA,2BAA2B,CAACC,MAA2C,EAAE,CAAC;QACxF,KAAK,CAAC,CAAC,CAACC,KAAK,EAAC,CAAC,GAAGD,MAAM;QACxB,KAAK,CAACE,YAAY,GAAGF,MAAM,CAACE,YAAY,IAAIX,eAAe,CAACM,GAAG,EAAEM,CAAC;QAClE,KAAK,CAACC,WAAW,GAAG,KAAK,CAACN,uBAAuB;QACjD,KAAK,CAACO,aAAa,GAAGf,yCAAyC,CAACc,WAAW;QAC3E,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEJ,YAAY,CAAC,6BAA6B,EAAEK,kBAAkB,CAACN,KAAK;QAC3F,MAAM,CAAC,KAAK,CAACR,KAAK,CAACa,GAAG,EAAE,CAAC;YACxBE,MAAM,EAAE,CAAK;YACbC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCJ,aAAa;YACd,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC"}
package/dist/index.js CHANGED
@@ -1,8 +1,6 @@
1
1
  export * from './auth0_audience__b.js';
2
2
  export * from './auth0_management_.js';
3
3
  export * from './auth0_management_client_credentials_body__b.js';
4
- export * from './auth0_management_Ctx.js';
5
- export * from './auth0_management_ctx_I.generated.js';
6
4
  export * from './auth0_management_token__b.js';
7
5
  export * from './get_auth0_v2_client_grants_b.js';
8
6
  export * from './get_auth0_v2_user_b.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './auth0_audience__b.js'\nexport * from './auth0_management_.js'\nexport * from './auth0_management_client_credentials_body__b.js'\nexport * from './auth0_management_Ctx.js'\nexport * from './auth0_management_ctx_I.generated.js'\nexport * from './auth0_management_token__b.js'\nexport * from './get_auth0_v2_client_grants_b.js'\nexport * from './get_auth0_v2_user_b.js'\nexport * from './get_auth0_v2_users_by_email_b.js'\nexport * from './patch_auth0_v2_client_b.js'\nexport * from './patch_auth0_v2_user_b.js'\n"],"names":[],"mappings":"cAAc,CAAwB;cACxB,CAAwB;cACxB,CAAkD;cAClD,CAA2B;cAC3B,CAAuC;cACvC,CAAgC;cAChC,CAAmC;cACnC,CAA0B;cAC1B,CAAoC;cACpC,CAA8B;cAC9B,CAA4B"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './auth0_audience__b.js'\nexport * from './auth0_management_.js'\nexport * from './auth0_management_client_credentials_body__b.js'\nexport * from './auth0_management_token__b.js'\nexport * from './get_auth0_v2_client_grants_b.js'\nexport * from './get_auth0_v2_user_b.js'\nexport * from './get_auth0_v2_users_by_email_b.js'\nexport * from './patch_auth0_v2_client_b.js'\nexport * from './patch_auth0_v2_user_b.js'\n"],"names":[],"mappings":"cAAc,CAAwB;cACxB,CAAwB;cACxB,CAAkD;cAClD,CAAgC;cAChC,CAAmC;cACnC,CAA0B;cAC1B,CAAoC;cACpC,CAA8B;cAC9B,CAA4B"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/patch_auth0_v2_client_b.ts"],"sourcesContent":["import { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nimport { fetch } from '@ctx-core/fetch'\nimport type { auth0_management_Ctx } from './auth0_management_Ctx.js'\nimport { auth0_management_token__b } from './auth0_management_token__b.js'\nconst key = 'patch_auth0_v2_client'\nexport const patch_auth0_v2_client_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\tconst AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)\n\treturn patch_auth0_v2_client as patch_auth0_v2_client_T\n\tasync function patch_auth0_v2_client(params:patch_auth0_v2_client_params_T) {\n\t\tconst {\n\t\t\tclient_id = process.env.AUTH0_CLIENT_ID,\n\t\t\tbody,\n\t\t\tjson,\n\t\t} = params\n\t\tconst auth0_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_token)\n\t\tconst url = `https://${AUTH0_DOMAIN$.$}/api/v2/clients/${client_id}`\n\t\treturn fetch(url, {\n\t\t\tmethod: 'PATCH',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t\tbody: body || JSON.stringify(json),\n\t\t})\n\t}\n})\nexport interface patch_auth0_v2_client_params_T {\n\tclient_id?:string\n\tbody?:string\n\tjson?:unknown\n}\nexport type patch_auth0_v2_client_T =\n\t(params:patch_auth0_v2_client_params_T)=>Promise<Response>\n"],"names":["verify_access_token_header_authorization_","AUTH0_DOMAIN$_b","be_","fetch","auth0_management_token__b","key","patch_auth0_v2_client_b","ctx","auth0_management_token_","AUTH0_DOMAIN$","patch_auth0_v2_client","params","client_id","process","env","AUTH0_CLIENT_ID","body","json","auth0_token","authorization","url","$","method","headers","JSON","stringify"],"mappings":"AAAA,MAAM,GAAGA,yCAAyC,EAAEC,eAAe,QAAQ,CAAiB;AAC5F,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AAEvC,MAAM,GAAGC,yBAAyB,QAAQ,CAAgC;AAC1E,KAAK,CAACC,GAAG,GAAG,CAAuB;AACnC,MAAM,CAAC,KAAK,CAACC,uBAAuB,GAAuCJ,GAAG,CAAmCG,GAAG,GAAEE,GAAG,GAAE,CAAC;IAC3H,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,KAAK,CAACE,aAAa,GAAGR,eAAe,CAACM,GAAG;IACzC,MAAM,CAACG,qBAAqB;mBACbA,qBAAqB,CAACC,MAAqC,EAAE,CAAC;QAC5E,KAAK,CAAC,CAAC,CACNC,SAAS,EAAGC,OAAO,CAACC,GAAG,CAACC,eAAe,GACvCC,IAAI,GACJC,IAAI,IACL,CAAC,GAAGN,MAAM;QACV,KAAK,CAACO,WAAW,GAAG,KAAK,CAACV,uBAAuB;QACjD,KAAK,CAACW,aAAa,GAAGnB,yCAAyC,CAACkB,WAAW;QAC3E,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEX,aAAa,CAACY,CAAC,CAAC,gBAAgB,EAAET,SAAS;QAClE,MAAM,CAACT,KAAK,CAACiB,GAAG,EAAE,CAAC;YAClBE,MAAM,EAAE,CAAO;YACfC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCJ,aAAa;YACd,CAAC;YACFH,IAAI,EAAEA,IAAI,IAAIQ,IAAI,CAACC,SAAS,CAACR,IAAI;QAClC,CAAC;IACF,CAAC;AACF,CAAC"}
1
+ {"version":3,"sources":["../src/patch_auth0_v2_client_b.ts"],"sourcesContent":["import { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { be_, B } from '@ctx-core/object'\nimport { fetch } from '@ctx-core/fetch'\nimport { auth0_management_token__b } from './auth0_management_token__b.js'\nconst key = 'patch_auth0_v2_client'\nexport const patch_auth0_v2_client_b:B<patch_auth0_v2_client_T> = be_(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\tconst AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)\n\treturn patch_auth0_v2_client as patch_auth0_v2_client_T\n\tasync function patch_auth0_v2_client(params:patch_auth0_v2_client_params_T) {\n\t\tconst {\n\t\t\tclient_id = process.env.AUTH0_CLIENT_ID,\n\t\t\tbody,\n\t\t\tjson,\n\t\t} = params\n\t\tconst auth0_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_token)\n\t\tconst url = `https://${AUTH0_DOMAIN$.$}/api/v2/clients/${client_id}`\n\t\treturn fetch(url, {\n\t\t\tmethod: 'PATCH',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t\tbody: body || JSON.stringify(json),\n\t\t})\n\t}\n})\nexport interface patch_auth0_v2_client_params_T {\n\tclient_id?:string\n\tbody?:string\n\tjson?:unknown\n}\nexport type patch_auth0_v2_client_T =\n\t(params:patch_auth0_v2_client_params_T)=>Promise<Response>\n"],"names":["verify_access_token_header_authorization_","AUTH0_DOMAIN$_b","be_","fetch","auth0_management_token__b","key","patch_auth0_v2_client_b","ctx","auth0_management_token_","AUTH0_DOMAIN$","patch_auth0_v2_client","params","client_id","process","env","AUTH0_CLIENT_ID","body","json","auth0_token","authorization","url","$","method","headers","JSON","stringify"],"mappings":"AAAA,MAAM,GAAGA,yCAAyC,EAAEC,eAAe,QAAQ,CAAiB;AAC5F,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AACvC,MAAM,GAAGC,yBAAyB,QAAQ,CAAgC;AAC1E,KAAK,CAACC,GAAG,GAAG,CAAuB;AACnC,MAAM,CAAC,KAAK,CAACC,uBAAuB,GAA8BJ,GAAG,CAACG,GAAG,GAAEE,GAAG,GAAE,CAAC;IAChF,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,KAAK,CAACE,aAAa,GAAGR,eAAe,CAACM,GAAG;IACzC,MAAM,CAACG,qBAAqB;mBACbA,qBAAqB,CAACC,MAAqC,EAAE,CAAC;QAC5E,KAAK,CAAC,CAAC,CACNC,SAAS,EAAGC,OAAO,CAACC,GAAG,CAACC,eAAe,GACvCC,IAAI,GACJC,IAAI,IACL,CAAC,GAAGN,MAAM;QACV,KAAK,CAACO,WAAW,GAAG,KAAK,CAACV,uBAAuB;QACjD,KAAK,CAACW,aAAa,GAAGnB,yCAAyC,CAACkB,WAAW;QAC3E,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEX,aAAa,CAACY,CAAC,CAAC,gBAAgB,EAAET,SAAS;QAClE,MAAM,CAACT,KAAK,CAACiB,GAAG,EAAE,CAAC;YAClBE,MAAM,EAAE,CAAO;YACfC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCJ,aAAa;YACd,CAAC;YACFH,IAAI,EAAEA,IAAI,IAAIQ,IAAI,CAACC,SAAS,CAACR,IAAI;QAClC,CAAC;IACF,CAAC;AACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/patch_auth0_v2_user_b.ts"],"sourcesContent":["import type { Auth0UserProfile } from 'auth0-js'\nimport { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { fetch } from '@ctx-core/fetch'\nimport { be_, B } from '@ctx-core/object'\nimport type { auth0_management_Ctx } from './auth0_management_Ctx.js'\nimport { auth0_management_token__b } from './auth0_management_token__b.js'\nconst key = 'patch_auth0_v2_user'\nexport const patch_auth0_v2_user_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\tconst AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)\n\treturn patch_auth0_v2_user as patch_auth0_v2_user_T\n\t/**\n\t * @see {@link https://auth0.com/docs/api-auth/tutorials/client-credentials}\n\t * @see {@link https://auth0.com/docs/api-auth/which-oauth-flow-to-use}\n\t * @see {@link https://auth0.com/docs/clients/client-grant-types}\n\t * @see {@link https://auth0.com/docs/api-auth/grant/authorization-code}\n\t * @see {@link https://auth0.com/docs/protocols/oauth2}\n\t */\n\tasync function patch_auth0_v2_user(user_id:string, data:patch_auth0_v2_user_data_I) {\n\t\tconst auth0_management_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_management_token)\n\t\tconst url = `https://${AUTH0_DOMAIN$.$}/api/v2/users/${user_id}`\n\t\treturn fetch(url, {\n\t\t\tmethod: 'PATCH',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t\tbody: JSON.stringify(data),\n\t\t})\n\t}\n})\nexport interface patch_auth0_v2_user_data_I extends Partial<Auth0UserProfile> {\n\tpassword?:string\n}\nexport type patch_auth0_v2_user_T =\n\t(user_id:string, data:patch_auth0_v2_user_data_I)=>Promise<Response>\n"],"names":["verify_access_token_header_authorization_","AUTH0_DOMAIN$_b","fetch","be_","auth0_management_token__b","key","patch_auth0_v2_user_b","ctx","auth0_management_token_","AUTH0_DOMAIN$","patch_auth0_v2_user","user_id","data","auth0_management_token","authorization","url","$","method","headers","body","JSON","stringify"],"mappings":"AACA,MAAM,GAAGA,yCAAyC,EAAEC,eAAe,QAAQ,CAAiB;AAC5F,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AACvC,MAAM,GAAGC,GAAG,QAAW,CAAkB;AAEzC,MAAM,GAAGC,yBAAyB,QAAQ,CAAgC;AAC1E,KAAK,CAACC,GAAG,GAAG,CAAqB;AACjC,MAAM,CAAC,KAAK,CAACC,qBAAqB,GAAuCH,GAAG,CAAmCE,GAAG,GAAEE,GAAG,GAAE,CAAC;IACzH,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,KAAK,CAACE,aAAa,GAAGR,eAAe,CAACM,GAAG;IACzC,MAAM,CAACG,mBAAmB;IAC1B,EAMG,AANH;;;;;;EAMG,AANH,EAMG,gBACYA,mBAAmB,CAACC,OAAc,EAAEC,IAA+B,EAAE,CAAC;QACpF,KAAK,CAACC,sBAAsB,GAAG,KAAK,CAACL,uBAAuB;QAC5D,KAAK,CAACM,aAAa,GAAGd,yCAAyC,CAACa,sBAAsB;QACtF,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEN,aAAa,CAACO,CAAC,CAAC,cAAc,EAAEL,OAAO;QAC9D,MAAM,CAACT,KAAK,CAACa,GAAG,EAAE,CAAC;YAClBE,MAAM,EAAE,CAAO;YACfC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCJ,aAAa;YACd,CAAC;YACFK,IAAI,EAAEC,IAAI,CAACC,SAAS,CAACT,IAAI;QAC1B,CAAC;IACF,CAAC;AACF,CAAC"}
1
+ {"version":3,"sources":["../src/patch_auth0_v2_user_b.ts"],"sourcesContent":["import type { Auth0UserProfile } from 'auth0-js'\nimport { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'\nimport { fetch } from '@ctx-core/fetch'\nimport { be_, B } from '@ctx-core/object'\nimport { auth0_management_token__b } from './auth0_management_token__b.js'\nconst key = 'patch_auth0_v2_user'\nexport const patch_auth0_v2_user_b:B<patch_auth0_v2_user_T> = be_(key, ctx=>{\n\tconst auth0_management_token_ = auth0_management_token__b(ctx)\n\tconst AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)\n\treturn patch_auth0_v2_user as patch_auth0_v2_user_T\n\t/**\n\t * @see {@link https://auth0.com/docs/api-auth/tutorials/client-credentials}\n\t * @see {@link https://auth0.com/docs/api-auth/which-oauth-flow-to-use}\n\t * @see {@link https://auth0.com/docs/clients/client-grant-types}\n\t * @see {@link https://auth0.com/docs/api-auth/grant/authorization-code}\n\t * @see {@link https://auth0.com/docs/protocols/oauth2}\n\t */\n\tasync function patch_auth0_v2_user(user_id:string, data:patch_auth0_v2_user_data_I) {\n\t\tconst auth0_management_token = await auth0_management_token_()\n\t\tconst authorization = verify_access_token_header_authorization_(auth0_management_token)\n\t\tconst url = `https://${AUTH0_DOMAIN$.$}/api/v2/users/${user_id}`\n\t\treturn fetch(url, {\n\t\t\tmethod: 'PATCH',\n\t\t\theaders:\n\t\t\t\t{\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\tauthorization,\n\t\t\t\t},\n\t\t\tbody: JSON.stringify(data),\n\t\t})\n\t}\n})\nexport interface patch_auth0_v2_user_data_I extends Partial<Auth0UserProfile> {\n\tpassword?:string\n}\nexport type patch_auth0_v2_user_T =\n\t(user_id:string, data:patch_auth0_v2_user_data_I)=>Promise<Response>\n"],"names":["verify_access_token_header_authorization_","AUTH0_DOMAIN$_b","fetch","be_","auth0_management_token__b","key","patch_auth0_v2_user_b","ctx","auth0_management_token_","AUTH0_DOMAIN$","patch_auth0_v2_user","user_id","data","auth0_management_token","authorization","url","$","method","headers","body","JSON","stringify"],"mappings":"AACA,MAAM,GAAGA,yCAAyC,EAAEC,eAAe,QAAQ,CAAiB;AAC5F,MAAM,GAAGC,KAAK,QAAQ,CAAiB;AACvC,MAAM,GAAGC,GAAG,QAAW,CAAkB;AACzC,MAAM,GAAGC,yBAAyB,QAAQ,CAAgC;AAC1E,KAAK,CAACC,GAAG,GAAG,CAAqB;AACjC,MAAM,CAAC,KAAK,CAACC,qBAAqB,GAA4BH,GAAG,CAACE,GAAG,GAAEE,GAAG,GAAE,CAAC;IAC5E,KAAK,CAACC,uBAAuB,GAAGJ,yBAAyB,CAACG,GAAG;IAC7D,KAAK,CAACE,aAAa,GAAGR,eAAe,CAACM,GAAG;IACzC,MAAM,CAACG,mBAAmB;IAC1B,EAMG,AANH;;;;;;EAMG,AANH,EAMG,gBACYA,mBAAmB,CAACC,OAAc,EAAEC,IAA+B,EAAE,CAAC;QACpF,KAAK,CAACC,sBAAsB,GAAG,KAAK,CAACL,uBAAuB;QAC5D,KAAK,CAACM,aAAa,GAAGd,yCAAyC,CAACa,sBAAsB;QACtF,KAAK,CAACE,GAAG,IAAI,QAAQ,EAAEN,aAAa,CAACO,CAAC,CAAC,cAAc,EAAEL,OAAO;QAC9D,MAAM,CAACT,KAAK,CAACa,GAAG,EAAE,CAAC;YAClBE,MAAM,EAAE,CAAO;YACfC,OAAO,EACN,CAAC;gBACA,CAAc,eAAE,CAAkB;gBAClCJ,aAAa;YACd,CAAC;YACFK,IAAI,EAAEC,IAAI,CAACC,SAAS,CAACT,IAAI;QAC1B,CAAC;IACF,CAAC;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/auth0-management",
3
- "version": "6.0.116",
3
+ "version": "7.0.1",
4
4
  "description": "ctx-core auth0 management api",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -17,10 +17,9 @@
17
17
  "license": "Apache-2.0",
18
18
  "author": "Brian Takita",
19
19
  "type": "module",
20
- "module": "./dist/index.js",
21
- "types": "./src/index.ts",
22
20
  "exports": {
23
21
  ".": {
22
+ "types": "./src/index.ts",
24
23
  "import": "./dist/index.js"
25
24
  },
26
25
  "./package.json": "./package.json"
@@ -31,18 +30,17 @@
31
30
  "getAll-client-grants-auth0": "./bin/getAll-client-grants-auth0.mjs"
32
31
  },
33
32
  "dependencies": {
34
- "@ctx-core/auth0": "^26.0.14",
35
- "@ctx-core/fetch": "^11.0.91",
36
- "@ctx-core/object": "^21.0.30",
37
- "@ctx-core/store": "^27.0.45",
33
+ "@ctx-core/auth0": "^27.0.1",
34
+ "@ctx-core/fetch": "^11.0.93",
35
+ "@ctx-core/object": "^22.0.0",
36
+ "@ctx-core/store": "^27.0.47",
38
37
  "auth0": "^2.37.0",
39
- "svelte": "3.44.2"
38
+ "svelte": "^3.44.3"
40
39
  },
41
40
  "devDependencies": {
42
- "@ctx-core/dev-tools": "^7.2.9",
43
- "@ctx-core/uri": "^12.0.25",
44
- "@swc/cli": "^0.1.52",
45
- "@swc/core": "^1.2.118",
41
+ "@ctx-core/uri": "^12.0.26",
42
+ "@swc/cli": "^0.1.55",
43
+ "@swc/core": "^1.2.120",
46
44
  "typescript": "next"
47
45
  },
48
46
  "publishConfig": {
@@ -50,10 +48,9 @@
50
48
  "cache": "~/.npm"
51
49
  },
52
50
  "scripts": {
53
- "build": "npm run generate_ctx_I_file && npm run compile",
51
+ "build": "npm run compile",
54
52
  "clean": "rm -rf dist",
55
53
  "compile": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
56
- "exec": "$@",
57
- "generate_ctx_I_file": "swc $(./node_modules/.bin/generate_ctx_I_file | tail -n1) --out-dir dist --source-maps --config-file .swcrc"
54
+ "exec": "$@"
58
55
  }
59
56
  }
@@ -1,8 +1,7 @@
1
1
  import { AUTH0_DOMAIN$_b } from '@ctx-core/auth0'
2
2
  import { be_, B } from '@ctx-core/object'
3
- import type { auth0_management_Ctx } from './auth0_management_Ctx.js'
4
3
  const key = 'auth0_audience_'
5
- export const auth0_audience__b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{
4
+ export const auth0_audience__b:B<auth0_audience__T> = be_(key, ctx=>{
6
5
  const AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)
7
6
  return auth0_audience_fn as auth0_audience__T
8
7
  function auth0_audience_fn() {
@@ -1,9 +1,8 @@
1
1
  import type { post_auth0_oauth_token_body_I } from '@ctx-core/auth0'
2
2
  import { be_, B } from '@ctx-core/object'
3
3
  import { auth0_audience__b } from './auth0_audience__b.js'
4
- import type { auth0_management_Ctx } from './auth0_management_Ctx.js'
5
4
  const key = 'auth0_management_client_credentials_body_'
6
- export const auth0_management_client_credentials_body__b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{
5
+ export const auth0_management_client_credentials_body__b:B<auth0_management_client_credentials_body__T> = be_(key, ctx=>{
7
6
  const auth0_audience_ = auth0_audience__b(ctx)
8
7
  return auth0_management_client_credentials_body_ as auth0_management_client_credentials_body__T
9
8
  function auth0_management_client_credentials_body_():post_auth0_oauth_token_body_I {
@@ -1,9 +1,8 @@
1
1
  import { auth0_token_T, post_auth0_oauth_token_b } from '@ctx-core/auth0'
2
2
  import { be_, B } from '@ctx-core/object'
3
3
  import { auth0_management_client_credentials_body__b } from './auth0_management_client_credentials_body__b.js'
4
- import type { auth0_management_Ctx } from './auth0_management_Ctx.js'
5
4
  const key = 'auth0_management_token_'
6
- export const auth0_management_token__b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{
5
+ export const auth0_management_token__b:B<auth0_management_token__T> = be_(key, ctx=>{
7
6
  const post_auth0_oauth_token = post_auth0_oauth_token_b(ctx)
8
7
  const auth0_management_client_credentials_body_fn = auth0_management_client_credentials_body__b(ctx)
9
8
  return auth0_management_token_ as auth0_management_token__T
@@ -2,10 +2,9 @@ import { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx
2
2
  import { fetch } from '@ctx-core/fetch'
3
3
  import { be_, B } from '@ctx-core/object'
4
4
  import { query_str_ } from '@ctx-core/uri'
5
- import type { auth0_management_Ctx } from './auth0_management_Ctx.js'
6
5
  import { auth0_management_token__b} from './auth0_management_token__b.js'
7
6
  const key = 'get_auth0_v2_client_grants'
8
- export const get_auth0_v2_client_grants_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{
7
+ export const get_auth0_v2_client_grants_b:B<get_auth0_v2_client_grants_T> = be_(key, ctx=>{
9
8
  const auth0_management_token_ = auth0_management_token__b(ctx)
10
9
  const AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)
11
10
  return get_auth0_v2_client_grants as get_auth0_v2_client_grants_T
@@ -1,10 +1,9 @@
1
1
  import { verify_access_token_header_authorization_ } from '@ctx-core/auth0'
2
2
  import { fetch } from '@ctx-core/fetch'
3
3
  import { be_, B } from '@ctx-core/object'
4
- import type { auth0_management_Ctx } from './auth0_management_Ctx.js'
5
4
  import { auth0_management_token__b } from './auth0_management_token__b.js'
6
5
  const key = 'get_auth0_v2_user'
7
- export const get_auth0_v2_user_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{
6
+ export const get_auth0_v2_user_b:B<get_auth0_v2_user_T> = be_(key, ctx=>{
8
7
  const auth0_management_token_ = auth0_management_token__b(ctx)
9
8
  return get_auth0_v2_user as get_auth0_v2_user_T
10
9
  async function get_auth0_v2_user({ AUTH0_DOMAIN, user_id }:get_auth0_v2_user_params_T):Promise<Response> {
@@ -2,10 +2,9 @@ import type { Auth0UserProfile } from 'auth0-js'
2
2
  import { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'
3
3
  import { be_, B } from '@ctx-core/object'
4
4
  import { fetch } from '@ctx-core/fetch'
5
- import type { auth0_management_Ctx } from './auth0_management_Ctx.js'
6
5
  import { auth0_management_token__b } from './auth0_management_token__b.js'
7
6
  const key = 'get_auth0_v2_users_by_email'
8
- export const get_auth0_v2_users_by_email_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{
7
+ export const get_auth0_v2_users_by_email_b:B<get_auth0_v2_users_by_email_T> = be_(key, ctx=>{
9
8
  const auth0_management_token_ = auth0_management_token__b(ctx)
10
9
  return get_auth0_v2_users_by_email as get_auth0_v2_users_by_email_T
11
10
  async function get_auth0_v2_users_by_email(params:get_auth0_v2_users_by_email_params_I) {
package/src/index.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  export * from './auth0_audience__b.js'
2
2
  export * from './auth0_management_.js'
3
3
  export * from './auth0_management_client_credentials_body__b.js'
4
- export * from './auth0_management_Ctx.js'
5
- export * from './auth0_management_ctx_I.generated.js'
6
4
  export * from './auth0_management_token__b.js'
7
5
  export * from './get_auth0_v2_client_grants_b.js'
8
6
  export * from './get_auth0_v2_user_b.js'
@@ -1,10 +1,9 @@
1
1
  import { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'
2
2
  import { be_, B } from '@ctx-core/object'
3
3
  import { fetch } from '@ctx-core/fetch'
4
- import type { auth0_management_Ctx } from './auth0_management_Ctx.js'
5
4
  import { auth0_management_token__b } from './auth0_management_token__b.js'
6
5
  const key = 'patch_auth0_v2_client'
7
- export const patch_auth0_v2_client_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{
6
+ export const patch_auth0_v2_client_b:B<patch_auth0_v2_client_T> = be_(key, ctx=>{
8
7
  const auth0_management_token_ = auth0_management_token__b(ctx)
9
8
  const AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)
10
9
  return patch_auth0_v2_client as patch_auth0_v2_client_T
@@ -2,10 +2,9 @@ import type { Auth0UserProfile } from 'auth0-js'
2
2
  import { verify_access_token_header_authorization_, AUTH0_DOMAIN$_b } from '@ctx-core/auth0'
3
3
  import { fetch } from '@ctx-core/fetch'
4
4
  import { be_, B } from '@ctx-core/object'
5
- import type { auth0_management_Ctx } from './auth0_management_Ctx.js'
6
5
  import { auth0_management_token__b } from './auth0_management_token__b.js'
7
6
  const key = 'patch_auth0_v2_user'
8
- export const patch_auth0_v2_user_b:B<auth0_management_Ctx, typeof key> = be_<auth0_management_Ctx, typeof key>(key, ctx=>{
7
+ export const patch_auth0_v2_user_b:B<patch_auth0_v2_user_T> = be_(key, ctx=>{
9
8
  const auth0_management_token_ = auth0_management_token__b(ctx)
10
9
  const AUTH0_DOMAIN$ = AUTH0_DOMAIN$_b(ctx)
11
10
  return patch_auth0_v2_user as patch_auth0_v2_user_T
package/COMMIT_EDITMSG DELETED
@@ -1 +0,0 @@
1
-
@@ -1,3 +0,0 @@
1
- export { };
2
-
3
- //# sourceMappingURL=auth0_management_Ctx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/auth0_management_Ctx.ts"],"sourcesContent":["import type { auth0_Ctx } from '@ctx-core/auth0'\nimport type { auth0_management_ctx_I } from './auth0_management_ctx_I.generated.js'\nexport interface auth0_management_Ctx\n\textends auth0_management_ctx_I, auth0_Ctx {\n}\n"],"names":[],"mappings":"AAAA,MAAM"}
@@ -1,5 +0,0 @@
1
- /*
2
- * This file was generated by `npm run generate_ctx_I_file` in @ctx-core/dev-tools
3
- */ export { };
4
-
5
- //# sourceMappingURL=auth0_management_ctx_I.generated.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/auth0_management_ctx_I.generated.ts"],"sourcesContent":["/*\n * This file was generated by `npm run generate_ctx_I_file` in @ctx-core/dev-tools\n*/\nimport type { auth0_audience__T } from './auth0_audience__b.js'\nimport type { auth0_management_client_credentials_body__T } from './auth0_management_client_credentials_body__b.js'\nimport type { auth0_management_token__T } from './auth0_management_token__b.js'\nimport type { get_auth0_v2_client_grants_T } from './get_auth0_v2_client_grants_b.js'\nimport type { get_auth0_v2_user_T } from './get_auth0_v2_user_b.js'\nimport type { get_auth0_v2_users_by_email_T } from './get_auth0_v2_users_by_email_b.js'\nimport type { patch_auth0_v2_client_T } from './patch_auth0_v2_client_b.js'\nimport type { patch_auth0_v2_user_T } from './patch_auth0_v2_user_b.js'\nexport interface auth0_management_ctx_I {\n\tauth0_audience_?:auth0_audience__T\n\tauth0_management_client_credentials_body_?:auth0_management_client_credentials_body__T\n\tauth0_management_token_?:auth0_management_token__T\n\tget_auth0_v2_client_grants?:get_auth0_v2_client_grants_T\n\tget_auth0_v2_user?:get_auth0_v2_user_T\n\tget_auth0_v2_users_by_email?:get_auth0_v2_users_by_email_T\n\tpatch_auth0_v2_client?:patch_auth0_v2_client_T\n\tpatch_auth0_v2_user?:patch_auth0_v2_user_T\n}"],"names":[],"mappings":"AAAA,EAEE,AAFF;;AAEE,AAFF,EAEE,CACF,MAAM"}
@@ -1,5 +0,0 @@
1
- import type { auth0_Ctx } from '@ctx-core/auth0'
2
- import type { auth0_management_ctx_I } from './auth0_management_ctx_I.generated.js'
3
- export interface auth0_management_Ctx
4
- extends auth0_management_ctx_I, auth0_Ctx {
5
- }
@@ -1,21 +0,0 @@
1
- /*
2
- * This file was generated by `npm run generate_ctx_I_file` in @ctx-core/dev-tools
3
- */
4
- import type { auth0_audience__T } from './auth0_audience__b.js'
5
- import type { auth0_management_client_credentials_body__T } from './auth0_management_client_credentials_body__b.js'
6
- import type { auth0_management_token__T } from './auth0_management_token__b.js'
7
- import type { get_auth0_v2_client_grants_T } from './get_auth0_v2_client_grants_b.js'
8
- import type { get_auth0_v2_user_T } from './get_auth0_v2_user_b.js'
9
- import type { get_auth0_v2_users_by_email_T } from './get_auth0_v2_users_by_email_b.js'
10
- import type { patch_auth0_v2_client_T } from './patch_auth0_v2_client_b.js'
11
- import type { patch_auth0_v2_user_T } from './patch_auth0_v2_user_b.js'
12
- export interface auth0_management_ctx_I {
13
- auth0_audience_?:auth0_audience__T
14
- auth0_management_client_credentials_body_?:auth0_management_client_credentials_body__T
15
- auth0_management_token_?:auth0_management_token__T
16
- get_auth0_v2_client_grants?:get_auth0_v2_client_grants_T
17
- get_auth0_v2_user?:get_auth0_v2_user_T
18
- get_auth0_v2_users_by_email?:get_auth0_v2_users_by_email_T
19
- patch_auth0_v2_client?:patch_auth0_v2_client_T
20
- patch_auth0_v2_user?:patch_auth0_v2_user_T
21
- }