@distilled.cloud/okta 1.0.0-rc.16 → 1.0.0-rc.18

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/src/index.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @distilled.cloud/okta -- Okta Management SDK for Effect.
3
3
  *
4
- * `./services` is generated by `scripts/generate.ts` from the Smithy model
5
- * in `.generated-specs` (written by `scripts/convert.ts` from the OpenAPI
6
- * spec). Everything else in this folder is hand-written.
4
+ * `./services` is generated by `scripts/generate.ts` from the Smithy model that
5
+ * `scripts/convert.ts` converts from the OpenAPI spec. Everything else in this
6
+ * folder is hand-written.
7
7
  *
8
8
  * @example
9
9
  * ```ts
package/src/protocol.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type * as API from "@distilled.cloud/core/api";
2
- import type { API_ERRORS, ConfigError } from "@distilled.cloud/core/errors";
2
+ import type { API_ERRORS, ConfigError, InvalidInput } from "@distilled.cloud/core/errors";
3
3
  import { makeRestProtocol, type RestErrorEnvelope } from "@distilled.cloud/core/protocol-rest";
4
4
  /**
5
5
  * OktaProtocol -- hand-written.
@@ -35,7 +35,8 @@ export type OktaOpError =
35
35
  | UnknownOktaError
36
36
  | ConfigError
37
37
  | HttpClientError.HttpClientError
38
- | OktaParseError;
38
+ | OktaParseError
39
+ | InvalidInput;
39
40
 
40
41
  /** Context (requirements) shared by every generated Okta operation. */
41
42
  export type OktaOpContext = Credentials | HttpClient.HttpClient;