@studyfetch/sdk 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +0 -373
  3. package/package.json +1 -1
  4. package/resources/v1/auth/auth.d.mts +0 -15
  5. package/resources/v1/auth/auth.d.mts.map +1 -1
  6. package/resources/v1/auth/auth.d.ts +0 -15
  7. package/resources/v1/auth/auth.d.ts.map +1 -1
  8. package/resources/v1/auth/auth.js +0 -12
  9. package/resources/v1/auth/auth.js.map +1 -1
  10. package/resources/v1/auth/auth.mjs +0 -12
  11. package/resources/v1/auth/auth.mjs.map +1 -1
  12. package/resources/v1/auth/login.d.mts +0 -6
  13. package/resources/v1/auth/login.d.mts.map +1 -1
  14. package/resources/v1/auth/login.d.ts +0 -6
  15. package/resources/v1/auth/login.d.ts.map +1 -1
  16. package/resources/v1/auth/login.js +0 -6
  17. package/resources/v1/auth/login.js.map +1 -1
  18. package/resources/v1/auth/login.mjs +0 -6
  19. package/resources/v1/auth/login.mjs.map +1 -1
  20. package/resources/v1/auth/number-2fa.d.mts +0 -8
  21. package/resources/v1/auth/number-2fa.d.mts.map +1 -1
  22. package/resources/v1/auth/number-2fa.d.ts +0 -8
  23. package/resources/v1/auth/number-2fa.d.ts.map +1 -1
  24. package/resources/v1/auth/number-2fa.js +0 -8
  25. package/resources/v1/auth/number-2fa.js.map +1 -1
  26. package/resources/v1/auth/number-2fa.mjs +0 -8
  27. package/resources/v1/auth/number-2fa.mjs.map +1 -1
  28. package/resources/v1/organizations/api-keys.d.mts +2 -15
  29. package/resources/v1/organizations/api-keys.d.mts.map +1 -1
  30. package/resources/v1/organizations/api-keys.d.ts +2 -15
  31. package/resources/v1/organizations/api-keys.d.ts.map +1 -1
  32. package/resources/v1/organizations/api-keys.js +2 -7
  33. package/resources/v1/organizations/api-keys.js.map +1 -1
  34. package/resources/v1/organizations/api-keys.mjs +2 -7
  35. package/resources/v1/organizations/api-keys.mjs.map +1 -1
  36. package/resources/v1/organizations/index.d.mts +1 -1
  37. package/resources/v1/organizations/index.d.mts.map +1 -1
  38. package/resources/v1/organizations/index.d.ts +1 -1
  39. package/resources/v1/organizations/index.d.ts.map +1 -1
  40. package/resources/v1/organizations/index.js.map +1 -1
  41. package/resources/v1/organizations/index.mjs.map +1 -1
  42. package/resources/v1/organizations/organizations.d.mts +2 -2
  43. package/resources/v1/organizations/organizations.d.mts.map +1 -1
  44. package/resources/v1/organizations/organizations.d.ts +2 -2
  45. package/resources/v1/organizations/organizations.d.ts.map +1 -1
  46. package/resources/v1/organizations/organizations.js.map +1 -1
  47. package/resources/v1/organizations/organizations.mjs.map +1 -1
  48. package/resources/v1/organizations/profile/profile.d.mts +0 -2
  49. package/resources/v1/organizations/profile/profile.d.mts.map +1 -1
  50. package/resources/v1/organizations/profile/profile.d.ts +0 -2
  51. package/resources/v1/organizations/profile/profile.d.ts.map +1 -1
  52. package/resources/v1/organizations/profile/profile.js +0 -2
  53. package/resources/v1/organizations/profile/profile.js.map +1 -1
  54. package/resources/v1/organizations/profile/profile.mjs +0 -2
  55. package/resources/v1/organizations/profile/profile.mjs.map +1 -1
  56. package/resources/v1/organizations/usage.d.mts +0 -2
  57. package/resources/v1/organizations/usage.d.mts.map +1 -1
  58. package/resources/v1/organizations/usage.d.ts +0 -2
  59. package/resources/v1/organizations/usage.d.ts.map +1 -1
  60. package/resources/v1/organizations/usage.js +0 -2
  61. package/resources/v1/organizations/usage.js.map +1 -1
  62. package/resources/v1/organizations/usage.mjs +0 -2
  63. package/resources/v1/organizations/usage.mjs.map +1 -1
  64. package/src/resources/v1/auth/auth.ts +0 -15
  65. package/src/resources/v1/auth/login.ts +0 -6
  66. package/src/resources/v1/auth/number-2fa.ts +0 -8
  67. package/src/resources/v1/organizations/api-keys.ts +2 -18
  68. package/src/resources/v1/organizations/index.ts +1 -1
  69. package/src/resources/v1/organizations/organizations.ts +2 -2
  70. package/src/resources/v1/organizations/profile/profile.ts +0 -2
  71. package/src/resources/v1/organizations/usage.ts +0 -2
  72. package/src/version.ts +1 -1
  73. package/version.d.mts +1 -1
  74. package/version.d.ts +1 -1
  75. package/version.js +1 -1
  76. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../src/resources/v1/organizations/profile/profile.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,KAAK,OAAO;OACZ,EAAE,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE;OACpF,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhD;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOlF;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC;AAEzC,MAAM,WAAW,qBAAqB;CAAG;AAKzC,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;IAE5B,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../src/resources/v1/organizations/profile/profile.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,KAAK,OAAO;OACZ,EAAE,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE;OACpF,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;;;;;OAKG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhD;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOlF;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC;AAEzC,MAAM,WAAW,qBAAqB;CAAG;AAKzC,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;IAE5B,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -16,8 +16,6 @@ class Profile extends resource_1.APIResource {
16
16
  this.team = new TeamAPI.Team(this._client);
17
17
  }
18
18
  /**
19
- * Get current organization profile
20
- *
21
19
  * @example
22
20
  * ```ts
23
21
  * await client.v1.organizations.profile.list();
@@ -1 +1 @@
1
- {"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../src/resources/v1/organizations/profile/profile.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AACxD,+DAAsC;AACtC,wCAAkC;AAClC,2DAAkC;AAClC,oCAA0G;AAE1G,6DAA4D;AAG5D,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA8BtD,CAAC;IA5BC;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CAAC,IAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,+BAA+B,EAAE;YACzD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAhCD,0BAgCC;AAMD,OAAO,CAAC,MAAM,GAAG,eAAM,CAAC;AACxB,OAAO,CAAC,IAAI,GAAG,WAAI,CAAC"}
1
+ {"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../src/resources/v1/organizations/profile/profile.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AACxD,+DAAsC;AACtC,wCAAkC;AAClC,2DAAkC;AAClC,oCAA0G;AAE1G,6DAA4D;AAG5D,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4BtD,CAAC;IA1BC;;;;;OAKG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CAAC,IAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,+BAA+B,EAAE;YACzD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA9BD,0BA8BC;AAMD,OAAO,CAAC,MAAM,GAAG,eAAM,CAAC;AACxB,OAAO,CAAC,IAAI,GAAG,WAAI,CAAC"}
@@ -12,8 +12,6 @@ export class Profile extends APIResource {
12
12
  this.team = new TeamAPI.Team(this._client);
13
13
  }
14
14
  /**
15
- * Get current organization profile
16
- *
17
15
  * @example
18
16
  * ```ts
19
17
  * await client.v1.organizations.profile.list();
@@ -1 +1 @@
1
- {"version":3,"file":"profile.mjs","sourceRoot":"","sources":["../../../../src/resources/v1/organizations/profile/profile.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,KAAK,OAAO;OACZ,EAAoB,IAAI,EAA4D;OAEpF,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA8BtD,CAAC;IA5BC;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CAAC,IAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,+BAA+B,EAAE;YACzD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAMD,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC;AACxB,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC"}
1
+ {"version":3,"file":"profile.mjs","sourceRoot":"","sources":["../../../../src/resources/v1/organizations/profile/profile.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,KAAK,OAAO;OACZ,EAAoB,IAAI,EAA4D;OAEpF,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4BtD,CAAC;IA1BC;;;;;OAKG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CAAC,IAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,+BAA+B,EAAE;YACzD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAMD,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC;AACxB,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC"}
@@ -3,8 +3,6 @@ import { APIPromise } from "../../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../../internal/request-options.mjs";
4
4
  export declare class Usage extends APIResource {
5
5
  /**
6
- * Get organization usage statistics
7
- *
8
6
  * @example
9
7
  * ```ts
10
8
  * await client.v1.organizations.usage.list('id');
@@ -1 +1 @@
1
- {"version":3,"file":"usage.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/organizations/usage.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM7D"}
1
+ {"version":3,"file":"usage.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/organizations/usage.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM7D"}
@@ -3,8 +3,6 @@ import { APIPromise } from "../../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../../internal/request-options.js";
4
4
  export declare class Usage extends APIResource {
5
5
  /**
6
- * Get organization usage statistics
7
- *
8
6
  * @example
9
7
  * ```ts
10
8
  * await client.v1.organizations.usage.list('id');
@@ -1 +1 @@
1
- {"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/organizations/usage.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM7D"}
1
+ {"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/organizations/usage.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM7D"}
@@ -7,8 +7,6 @@ const headers_1 = require("../../../internal/headers.js");
7
7
  const path_1 = require("../../../internal/utils/path.js");
8
8
  class Usage extends resource_1.APIResource {
9
9
  /**
10
- * Get organization usage statistics
11
- *
12
10
  * @example
13
11
  * ```ts
14
12
  * await client.v1.organizations.usage.list('id');
@@ -1 +1 @@
1
- {"version":3,"file":"usage.js","sourceRoot":"","sources":["../../../src/resources/v1/organizations/usage.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;OAOG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,QAAQ,EAAE;YAC/D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAfD,sBAeC"}
1
+ {"version":3,"file":"usage.js","sourceRoot":"","sources":["../../../src/resources/v1/organizations/usage.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;OAKG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,QAAQ,EAAE;YAC/D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAbD,sBAaC"}
@@ -4,8 +4,6 @@ import { buildHeaders } from "../../../internal/headers.mjs";
4
4
  import { path } from "../../../internal/utils/path.mjs";
5
5
  export class Usage extends APIResource {
6
6
  /**
7
- * Get organization usage statistics
8
- *
9
7
  * @example
10
8
  * ```ts
11
9
  * await client.v1.organizations.usage.list('id');
@@ -1 +1 @@
1
- {"version":3,"file":"usage.mjs","sourceRoot":"","sources":["../../../src/resources/v1/organizations/usage.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;OAOG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,QAAQ,EAAE;YAC/D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"usage.mjs","sourceRoot":"","sources":["../../../src/resources/v1/organizations/usage.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;OAKG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,QAAQ,EAAE;YAC/D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -24,8 +24,6 @@ export class Auth extends APIResource {
24
24
  new OrganizationInvitesAPI.OrganizationInvites(this._client);
25
25
 
26
26
  /**
27
- * Get current user profile
28
- *
29
27
  * @example
30
28
  * ```ts
31
29
  * await client.v1.auth.getProfile();
@@ -39,8 +37,6 @@ export class Auth extends APIResource {
39
37
  }
40
38
 
41
39
  /**
42
- * Register new user
43
- *
44
40
  * @example
45
41
  * ```ts
46
42
  * await client.v1.auth.registerNewUser({
@@ -73,8 +69,6 @@ export class Auth extends APIResource {
73
69
  }
74
70
 
75
71
  /**
76
- * Register new user with organization invite
77
- *
78
72
  * @example
79
73
  * ```ts
80
74
  * await client.v1.auth.registerWithInvite();
@@ -89,8 +83,6 @@ export class Auth extends APIResource {
89
83
  }
90
84
 
91
85
  /**
92
- * Request password reset
93
- *
94
86
  * @example
95
87
  * ```ts
96
88
  * await client.v1.auth.requestPasswordReset({
@@ -107,8 +99,6 @@ export class Auth extends APIResource {
107
99
  }
108
100
 
109
101
  /**
110
- * Reset password with token
111
- *
112
102
  * @example
113
103
  * ```ts
114
104
  * await client.v1.auth.resetPassword({
@@ -126,8 +116,6 @@ export class Auth extends APIResource {
126
116
  }
127
117
 
128
118
  /**
129
- * Verify password reset token
130
- *
131
119
  * @example
132
120
  * ```ts
133
121
  * await client.v1.auth.verifyResetToken({ token: 'token' });
@@ -186,9 +174,6 @@ export interface AuthResetPasswordParams {
186
174
  }
187
175
 
188
176
  export interface AuthVerifyResetTokenParams {
189
- /**
190
- * Password reset token
191
- */
192
177
  token: string;
193
178
  }
194
179
 
@@ -7,8 +7,6 @@ import { RequestOptions } from '../../../internal/request-options';
7
7
 
8
8
  export class Login extends APIResource {
9
9
  /**
10
- * User login
11
- *
12
10
  * @example
13
11
  * ```ts
14
12
  * await client.v1.auth.login.authenticate({
@@ -26,8 +24,6 @@ export class Login extends APIResource {
26
24
  }
27
25
 
28
26
  /**
29
- * Verify 2FA code for login
30
- *
31
27
  * @example
32
28
  * ```ts
33
29
  * await client.v1.auth.login.verify2fa({
@@ -45,8 +41,6 @@ export class Login extends APIResource {
45
41
  }
46
42
 
47
43
  /**
48
- * Verify backup code for login
49
- *
50
44
  * @example
51
45
  * ```ts
52
46
  * await client.v1.auth.login.verifyBackupCode({
@@ -7,8 +7,6 @@ import { RequestOptions } from '../../../internal/request-options';
7
7
 
8
8
  export class Number2fa extends APIResource {
9
9
  /**
10
- * Disable 2FA for user
11
- *
12
10
  * @example
13
11
  * ```ts
14
12
  * await client.v1.auth.number2fa.disable({
@@ -25,8 +23,6 @@ export class Number2fa extends APIResource {
25
23
  }
26
24
 
27
25
  /**
28
- * Enable 2FA for user
29
- *
30
26
  * @example
31
27
  * ```ts
32
28
  * await client.v1.auth.number2fa.enable({
@@ -56,8 +52,6 @@ export class Number2fa extends APIResource {
56
52
  }
57
53
 
58
54
  /**
59
- * Regenerate 2FA backup codes
60
- *
61
55
  * @example
62
56
  * ```ts
63
57
  * await client.v1.auth.number2fa.regenerateBackupCodes({
@@ -77,8 +71,6 @@ export class Number2fa extends APIResource {
77
71
  }
78
72
 
79
73
  /**
80
- * Send 2FA verification code
81
- *
82
74
  * @example
83
75
  * ```ts
84
76
  * await client.v1.auth.number2fa.sendCode({
@@ -21,18 +21,13 @@ export class APIKeys extends APIResource {
21
21
  }
22
22
 
23
23
  /**
24
- * Create new API key
25
- *
26
24
  * @example
27
25
  * ```ts
28
- * await client.v1.organizations.apiKeys.apiKeys({
29
- * name: 'name',
30
- * });
26
+ * await client.v1.organizations.apiKeys.apiKeys();
31
27
  * ```
32
28
  */
33
- apiKeys(body: APIKeyAPIKeysParams, options?: RequestOptions): APIPromise<void> {
29
+ apiKeys(options?: RequestOptions): APIPromise<void> {
34
30
  return this._client.post('/api/v1/organizations/api-keys', {
35
- body,
36
31
  ...options,
37
32
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
38
33
  });
@@ -51,14 +46,3 @@ export class APIKeys extends APIResource {
51
46
  });
52
47
  }
53
48
  }
54
-
55
- export interface APIKeyAPIKeysParams {
56
- /**
57
- * API key name
58
- */
59
- name: string;
60
- }
61
-
62
- export declare namespace APIKeys {
63
- export { type APIKeyAPIKeysParams as APIKeyAPIKeysParams };
64
- }
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export { APIKeys, type APIKeyAPIKeysParams } from './api-keys';
3
+ export { APIKeys } from './api-keys';
4
4
  export { Logo } from './logo/index';
5
5
  export { Organizations, type OrganizationUpdateParams } from './organizations';
6
6
  export { Profile, type UpdateOrganization, type ProfilePatchAllParams } from './profile/index';
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { APIResource } from '../../../core/resource';
4
4
  import * as APIKeysAPI from './api-keys';
5
- import { APIKeyAPIKeysParams, APIKeys } from './api-keys';
5
+ import { APIKeys } from './api-keys';
6
6
  import * as ThemeAPI from './theme';
7
7
  import { Theme } from './theme';
8
8
  import * as UsageAPI from './usage';
@@ -78,7 +78,7 @@ export declare namespace Organizations {
78
78
  type ProfilePatchAllParams as ProfilePatchAllParams,
79
79
  };
80
80
 
81
- export { APIKeys as APIKeys, type APIKeyAPIKeysParams as APIKeyAPIKeysParams };
81
+ export { APIKeys as APIKeys };
82
82
 
83
83
  export { Usage as Usage };
84
84
 
@@ -14,8 +14,6 @@ export class Profile extends APIResource {
14
14
  team: TeamAPI.Team = new TeamAPI.Team(this._client);
15
15
 
16
16
  /**
17
- * Get current organization profile
18
- *
19
17
  * @example
20
18
  * ```ts
21
19
  * await client.v1.organizations.profile.list();
@@ -8,8 +8,6 @@ import { path } from '../../../internal/utils/path';
8
8
 
9
9
  export class Usage extends APIResource {
10
10
  /**
11
- * Get organization usage statistics
12
- *
13
11
  * @example
14
12
  * ```ts
15
13
  * await client.v1.organizations.usage.list('id');
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.4.0'; // x-release-please-version
1
+ export const VERSION = '1.5.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.4.0";
1
+ export declare const VERSION = "1.5.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.4.0";
1
+ export declare const VERSION = "1.5.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.4.0'; // x-release-please-version
4
+ exports.VERSION = '1.5.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.4.0'; // x-release-please-version
1
+ export const VERSION = '1.5.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map