Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@apple/cktool.api.base

Package Overview
Dependencies
Maintainers
9
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apple/cktool.api.base - npm Package Compare versions

Comparing version
1.2.341
to
1.3.2
+2
-2
dist/esm/index.min.js

@@ -1,2 +0,2 @@

/* Version: 1.2.341 - April 25, 2022 18:43:18 */
import{lazy as e,asInt32 as t,asString as o,asOptionalString as r,asOptionalInt32 as n,asObject as s,asEnumValue as i,getOrThrowFromValidatedEnumValue as c,asOptionalBoolean as a,pipe as d,asArray as g,forEach as u,asPartialObject as p,optional as l,OP_STREAM_NAME as m,callbagThrowError as y,InvalidParametersError as h,UNCHECKED_OP_STREAM_NAME as D,bigNumberEncodeURIComponent as f,createBody as E,createHeaders as A,request$ as T,queryObjectToString as K,lazyAsEmptyObject as C,pullableToCancellablePromise as P,PromisesApiBase as I}from"@apple/cktool.core";function O(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const B=e((()=>({code:t,message:o,reason:o,detailedMessage:r,requestUuid:r,retryAfterSeconds:n}))),k={getEncoder:e((()=>({...B()}))),getDecoder:e((()=>({...B()})))},M={getEncoder:e((()=>s(k.getEncoder()))),getDecoder:e((()=>s(k.getDecoder())))},_={},v=e((()=>({redirectUrl:o}))),R={getEncoder:e((()=>({...k.getEncoder(),...v()}))),getDecoder:e((()=>({...k.getDecoder(),...v()})))},q={getEncoder:e((()=>s(R.getEncoder()))),getDecoder:e((()=>s(R.getDecoder())))};let b;!function(e){e.PRIVATE="PRIVATE",e.PUBLIC="PUBLIC",e.SHARED="SHARED"}(b||(b={}));const F=e((()=>i(b))),V={getEncoder:F,getDecoder:F},S=e=>c(F()(e));let U;!function(e){e.DEVELOPMENT="DEVELOPMENT",e.PRODUCTION="PRODUCTION"}(U||(U={}));const N=e((()=>i(U))),w={getEncoder:N,getDecoder:N},H=e=>c(N()(e)),L=e((()=>({id:o,teamId:o,name:o,imageUrl:r,isHidden:a}))),$={getEncoder:e((()=>({...L()}))),getDecoder:e((()=>({...L()})))},j={getEncoder:e((()=>s($.getEncoder()))),getDecoder:e((()=>s($.getDecoder())))},x=e((()=>({nextKey:r,previousKey:r}))),X={getEncoder:e((()=>({...x(),containers:d(g,u(j.getEncoder()))}))),getDecoder:e((()=>({...x(),containers:d(g,u(j.getDecoder()))})))},G={getEncoder:e((()=>s(X.getEncoder()))),getDecoder:e((()=>s(X.getDecoder())))};let J;!function(e){e.ID="ID",e.NAME="NAME"}(J||(J={}));const W=e((()=>i(J))),z={getEncoder:W,getDecoder:W},Q=e=>c(W()(e));let Y;!function(e){e.ASC="ASC",e.DESC="DESC"}(Y||(Y={}));const Z=e((()=>i(Y))),ee={getEncoder:Z,getDecoder:Z},te=e=>c(Z()(e)),oe=e((()=>({teamId:o,teamName:o,teamType:r}))),re={getEncoder:e((()=>({...oe()}))),getDecoder:e((()=>({...oe()})))},ne={getEncoder:e((()=>s(re.getEncoder()))),getDecoder:e((()=>s(re.getDecoder())))},se=e((()=>({recentTeamId:r}))),ie={getEncoder:e((()=>({...se(),teams:d(g,u(ne.getEncoder()))}))),getDecoder:e((()=>({...se(),teams:d(g,u(ne.getDecoder()))})))},ce={getEncoder:e((()=>s(ie.getEncoder()))),getDecoder:e((()=>s(ie.getDecoder())))},ae={CookieAuth:{name:"myacinfo",type:"apiKey",in:"cookie"},UserTokenAuth:{name:"X-Apple-CloudKit-User-Token",type:"apiKey",in:"header"},ManagementTokenAuth:{name:"X-Apple-CloudKit-Management-Token",type:"apiKey",in:"header"},CloudKitAPITokenAuth:{name:"X-Apple-CloudKit-API-Token",type:"apiKey",in:"header"},CloudKitWebAuthTokenAuth:{name:"X-Apple-CloudKit-Web-Auth-Token",type:"apiKey",in:"header"}},de={getParamsValidator:e((()=>p({teamId:o,limit:n,startingAfterKey:r,endingBeforeKey:r,sortDirection:l(ee.getEncoder()),q:r,sortBy:l(z.getEncoder()),showHidden:a}))),successResponses:{200:{description:"Containers matching the request.",contentType:"application/json",getDecoderFn:G.getDecoder}},failureResponses:{0:{description:"The request has failed due to an error.",contentType:"application/json",getDecoderFn:M.getDecoder}},security:[["CookieAuth"],["UserTokenAuth"],["ManagementTokenAuth"]]},ge={...de,name:"getContainers",httpMethod:"GET",path:"/teams/{teamId}/containers",requestBodyContentTypes:[],multipartParams:[],[m](e,t){var o,r,n;const s=null!==(o=null===(r=(n=e.configuration).mapOperationOptions)||void 0===r?void 0:r.call(n,ge,e))&&void 0!==o?o:e;return de.getParamsValidator()(t).fold((e=>y(new h(e))),(e=>ge[D](s,e)))},[D]:(e,t)=>{const{teamId:o,limit:r,startingAfterKey:n,endingBeforeKey:s,sortDirection:i,q:c,sortBy:a,showHidden:d}=t,g={...e,method:ge.httpMethod,path:`/teams/${f(o)}/containers`,responseDictionary:ge.responseDictionary,queryParams:{limit:r,startingAfterKey:n,endingBeforeKey:s,sortDirection:i,q:c,sortBy:a,showHidden:d},body:E(e.configuration.createFormDataFn,e.configuration.isBlobFn,ge,t),security:e.security,securitySchemes:ae,headers:A(ge,"1.2.341")};return e.configuration.logger&&e.configuration.logger.debug(`getContainersOp.unchecked$ opts: ${JSON.stringify(g)}`),T(g)},isMutating:!1,cacheKeyFn:({teamId:e,limit:t,startingAfterKey:o,endingBeforeKey:r,sortDirection:n,q:s,sortBy:i,showHidden:c})=>{const a=K({limit:t,startingAfterKey:o,endingBeforeKey:r,sortDirection:n,q:s,sortBy:i,showHidden:c});return`/teams/${f(e)}/containers`+(0===a.length?"":"?"+a)},responseDictionary:{...de.successResponses,...de.failureResponses}},ue={getParamsValidator:C,successResponses:{200:{description:"List of teams current user is in",contentType:"application/json",getDecoderFn:ce.getDecoder}},failureResponses:{0:{description:"The request has failed due to an error.",contentType:"application/json",getDecoderFn:M.getDecoder}},security:[["CookieAuth"],["UserTokenAuth"],["ManagementTokenAuth"]]},pe={...ue,name:"getTeams",httpMethod:"GET",path:"/users/current/teams",requestBodyContentTypes:[],multipartParams:[],[m](e,t){var o,r,n;const s=null!==(o=null===(r=(n=e.configuration).mapOperationOptions)||void 0===r?void 0:r.call(n,pe,e))&&void 0!==o?o:e;return ue.getParamsValidator()(t).fold((e=>y(new h(e))),(e=>pe[D](s,e)))},[D]:(e,t)=>{const o={...e,method:pe.httpMethod,path:"/users/current/teams",responseDictionary:pe.responseDictionary,queryParams:{},body:E(e.configuration.createFormDataFn,e.configuration.isBlobFn,pe,t),security:e.security,securitySchemes:ae,headers:A(pe,"{version}")};return e.configuration.logger&&e.configuration.logger.debug(`getTeamsOp.unchecked$ opts: ${JSON.stringify(o)}`),T(o)},isMutating:!1,cacheKeyFn:({})=>{const e=K({});return"/users/current/teams"+(0===e.length?"":"?"+e)},responseDictionary:{...ue.successResponses,...ue.failureResponses}},le={getContainers:ge,getTeams:pe},me=(e,t)=>P(ge[m](e,t));me.descriptor=ge;const ye=me,he=(e,t)=>P(pe[m](e,t));he.descriptor=pe;const De=he;function fe(e){var t,o;return"BasePromisesApi"===e.__CKTOOL_BasePromisesApi?e:(o=t=class extends e{constructor(...e){super(...e),O(this,"constructor",void 0)}getContainers(e,t){return ye({...this.__defaultOptions,...t},{...this.__defaultArgs,...e})}getTeams(e={},t){return De({...this.__defaultOptions,...t},e)}},O(t,"__CKTOOL_BasePromisesApi","BasePromisesApi"),O(t,"__descriptorMap",{...e.__descriptorMap,...le}),o)}class Ee extends(fe(I)){constructor(e,t={}){super(e,t)}}export{Ee as BasePromisesApi,fe as BasePromisesApiMixin,b as CKDatabaseType,U as CKEnvironment,J as ContainersSortByField,Y as SortDirection,_ as defaultsForAuthenticationRequiredError,ge as getContainersOp,ye as getContainersP,pe as getTeamsOp,De as getTeamsP,q as jsonCodecAuthenticationRequiredError,R as jsonCodecAuthenticationRequiredErrorOwnProperties,V as jsonCodecCKDatabaseType,w as jsonCodecCKEnvironment,j as jsonCodecContainer,$ as jsonCodecContainerOwnProperties,G as jsonCodecContainersResponse,X as jsonCodecContainersResponseOwnProperties,z as jsonCodecContainersSortByField,M as jsonCodecRequestError,k as jsonCodecRequestErrorOwnProperties,ee as jsonCodecSortDirection,ne as jsonCodecTeam,re as jsonCodecTeamOwnProperties,ce as jsonCodecTeamsResponse,ie as jsonCodecTeamsResponseOwnProperties,S as toCKDatabaseType,H as toCKEnvironment,Q as toContainersSortByField,te as toSortDirection};
/* Version: 1.3.2 - June 3, 2022 16:57:12 */
import{lazy as e,asInt32 as t,asString as o,asOptionalString as r,asOptionalInt32 as n,asObject as s,asEnumValue as i,getOrThrowFromValidatedEnumValue as c,asOptionalBoolean as a,pipe as d,asArray as g,forEach as u,optional as p,asPartialObject as l,OP_STREAM_NAME as m,callbagThrowError as y,InvalidParametersError as h,UNCHECKED_OP_STREAM_NAME as D,bigNumberEncodeURIComponent as f,createBody as E,createHeaders as A,request$ as T,queryObjectToString as C,lazyAsEmptyObject as K,pullableToCancellablePromise as P,PromisesApiBase as I}from"@apple/cktool.core";function O(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const B=e((()=>({code:t,message:o,reason:o,detailedMessage:r,requestUuid:r,retryAfterSeconds:n}))),k={getEncoder:e((()=>({...B()}))),getDecoder:e((()=>({...B()})))},v={getEncoder:e((()=>s(k.getEncoder()))),getDecoder:e((()=>s(k.getDecoder())))},M={},_=e((()=>({redirectUrl:o}))),R={getEncoder:e((()=>({...k.getEncoder(),..._()}))),getDecoder:e((()=>({...k.getDecoder(),..._()})))},q={getEncoder:e((()=>s(R.getEncoder()))),getDecoder:e((()=>s(R.getDecoder())))};let b;!function(e){e.PRIVATE="PRIVATE",e.PUBLIC="PUBLIC",e.SHARED="SHARED"}(b||(b={}));const F=e((()=>i(b))),V={getEncoder:F,getDecoder:F},S=e=>c(F()(e));let N;!function(e){e.DEVELOPMENT="DEVELOPMENT",e.PRODUCTION="PRODUCTION"}(N||(N={}));const U=e((()=>i(N))),w={getEncoder:U,getDecoder:U},H=e=>c(U()(e)),L=e((()=>({id:o,teamId:o,name:o,imageUrl:r,isHidden:a}))),$={getEncoder:e((()=>({...L()}))),getDecoder:e((()=>({...L()})))},j={getEncoder:e((()=>s($.getEncoder()))),getDecoder:e((()=>s($.getDecoder())))},x=e((()=>({nextKey:r,previousKey:r}))),X={getEncoder:e((()=>({...x(),containers:d(g(),u(j.getEncoder())),recentContainers:p(d(g(),u(j.getEncoder())))}))),getDecoder:e((()=>({...x(),containers:d(g(),u(j.getDecoder())),recentContainers:p(d(g(),u(j.getDecoder())))})))},G={getEncoder:e((()=>s(X.getEncoder()))),getDecoder:e((()=>s(X.getDecoder())))};let J;!function(e){e.ID="ID",e.NAME="NAME"}(J||(J={}));const W=e((()=>i(J))),z={getEncoder:W,getDecoder:W},Q=e=>c(W()(e));let Y;!function(e){e.ASC="ASC",e.DESC="DESC"}(Y||(Y={}));const Z=e((()=>i(Y))),ee={getEncoder:Z,getDecoder:Z},te=e=>c(Z()(e)),oe=e((()=>({teamId:o,teamName:o,teamType:r}))),re={getEncoder:e((()=>({...oe()}))),getDecoder:e((()=>({...oe()})))},ne={getEncoder:e((()=>s(re.getEncoder()))),getDecoder:e((()=>s(re.getDecoder())))},se=e((()=>({recentTeamId:r}))),ie={getEncoder:e((()=>({...se(),teams:d(g(),u(ne.getEncoder()))}))),getDecoder:e((()=>({...se(),teams:d(g(),u(ne.getDecoder()))})))},ce={getEncoder:e((()=>s(ie.getEncoder()))),getDecoder:e((()=>s(ie.getDecoder())))},ae={CookieAuth:{name:"myacinfo",type:"apiKey",in:"cookie"},UserTokenAuth:{name:"X-Apple-CloudKit-User-Token",type:"apiKey",in:"header"},ManagementTokenAuth:{name:"X-Apple-CloudKit-Management-Token",type:"apiKey",in:"header"},CloudKitAPITokenAuth:{name:"X-Apple-CloudKit-API-Token",type:"apiKey",in:"header"},CloudKitWebAuthTokenAuth:{name:"X-Apple-CloudKit-Web-Auth-Token",type:"apiKey",in:"header"}},de={getParamsValidator:e((()=>l({teamId:o,limit:n,startingAfterKey:r,endingBeforeKey:r,sortDirection:p(ee.getEncoder()),q:r,sortBy:p(z.getEncoder()),showHidden:a}))),successResponses:{200:{description:"Containers matching the request.",contentType:"application/json",getDecoderFn:G.getDecoder}},failureResponses:{0:{description:"The request has failed due to an error.",contentType:"application/json",getDecoderFn:v.getDecoder}},security:[["CookieAuth"],["ManagementTokenAuth"]]},ge={...de,name:"getContainers",httpMethod:"GET",path:"/teams/{teamId}/containers",requestBodyContentTypes:[],multipartParams:[],[m](e,t){var o,r,n;const s=null!==(o=null===(r=(n=e.configuration).mapOperationOptions)||void 0===r?void 0:r.call(n,ge,e))&&void 0!==o?o:e;return de.getParamsValidator()(t).fold((e=>y(new h(e))),(e=>ge[D](s,e)))},[D]:(e,t)=>{const{teamId:o,limit:r,startingAfterKey:n,endingBeforeKey:s,sortDirection:i,q:c,sortBy:a,showHidden:d}=t,g={...e,method:ge.httpMethod,path:`/teams/${f(o)}/containers`,responseDictionary:ge.responseDictionary,queryParams:{limit:r,startingAfterKey:n,endingBeforeKey:s,sortDirection:i,q:c,sortBy:a,showHidden:d},body:E(e.configuration.createFormDataFn,e.configuration.isBlobFn,ge,t),security:e.security,securitySchemes:ae,headers:A(ge,"1.3.2")};return e.configuration.logger&&e.configuration.logger.debug(`getContainersOp.unchecked$ opts: ${JSON.stringify(g)}`),T(g)},isMutating:!1,cacheKeyFn:e=>{let{teamId:t,limit:o,startingAfterKey:r,endingBeforeKey:n,sortDirection:s,q:i,sortBy:c,showHidden:a}=e;const d=C({limit:o,startingAfterKey:r,endingBeforeKey:n,sortDirection:s,q:i,sortBy:c,showHidden:a});return`/teams/${f(t)}/containers`+(0===d.length?"":"?"+d)},responseDictionary:{...de.successResponses,...de.failureResponses}},ue={getParamsValidator:K,successResponses:{200:{description:"List of teams current user is in",contentType:"application/json",getDecoderFn:ce.getDecoder}},failureResponses:{0:{description:"The request has failed due to an error.",contentType:"application/json",getDecoderFn:v.getDecoder}},security:[["CookieAuth"],["ManagementTokenAuth"]]},pe={...ue,name:"getTeams",httpMethod:"GET",path:"/users/current/teams",requestBodyContentTypes:[],multipartParams:[],[m](e,t){var o,r,n;const s=null!==(o=null===(r=(n=e.configuration).mapOperationOptions)||void 0===r?void 0:r.call(n,pe,e))&&void 0!==o?o:e;return ue.getParamsValidator()(t).fold((e=>y(new h(e))),(e=>pe[D](s,e)))},[D]:(e,t)=>{const o={...e,method:pe.httpMethod,path:"/users/current/teams",responseDictionary:pe.responseDictionary,queryParams:{},body:E(e.configuration.createFormDataFn,e.configuration.isBlobFn,pe,t),security:e.security,securitySchemes:ae,headers:A(pe,"{version}")};return e.configuration.logger&&e.configuration.logger.debug(`getTeamsOp.unchecked$ opts: ${JSON.stringify(o)}`),T(o)},isMutating:!1,cacheKeyFn:e=>{const t=C({});return"/users/current/teams"+(0===t.length?"":"?"+t)},responseDictionary:{...ue.successResponses,...ue.failureResponses}},le={getContainers:ge,getTeams:pe},me=e=>(t,o)=>P(ge[m]({...e,...o},t));me.descriptor=ge;const ye=me,he=e=>(t,o)=>P(pe[m]({...e,...o},t));he.descriptor=pe;const De=he;function fe(e){var t;return"BasePromisesApi"===e.__CKTOOL_BasePromisesApi?e:(t=class extends e{constructor(){super(...arguments),O(this,"constructor",void 0)}getContainers(e,t){return ye({...this.__defaultOptions,...t})({...this.__defaultArgs,...e})}getTeams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return De({...this.__defaultOptions,...t})(e)}},O(t,"__CKTOOL_BasePromisesApi","BasePromisesApi"),O(t,"__descriptorMap",{...e.__descriptorMap,...le}),t)}class Ee extends(fe(I)){constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}export{Ee as BasePromisesApi,fe as BasePromisesApiMixin,b as CKDatabaseType,N as CKEnvironment,J as ContainersSortByField,Y as SortDirection,M as defaultsForAuthenticationRequiredError,ge as getContainersOp,ye as getContainersP,pe as getTeamsOp,De as getTeamsP,q as jsonCodecAuthenticationRequiredError,R as jsonCodecAuthenticationRequiredErrorOwnProperties,V as jsonCodecCKDatabaseType,w as jsonCodecCKEnvironment,j as jsonCodecContainer,$ as jsonCodecContainerOwnProperties,G as jsonCodecContainersResponse,X as jsonCodecContainersResponseOwnProperties,z as jsonCodecContainersSortByField,v as jsonCodecRequestError,k as jsonCodecRequestErrorOwnProperties,ee as jsonCodecSortDirection,ne as jsonCodecTeam,re as jsonCodecTeamOwnProperties,ce as jsonCodecTeamsResponse,ie as jsonCodecTeamsResponseOwnProperties,S as toCKDatabaseType,H as toCKEnvironment,Q as toContainersSortByField,te as toSortDirection};

@@ -9,3 +9,3 @@ import { RequestError } from "./RequestErrorCodec";

* API schema: AuthenticationRequiredError
* API version: 1.2.341
* API version: 1.3.2
*/

@@ -30,9 +30,9 @@ export interface AuthenticationRequiredError extends RequestError {

readonly getEncoder: () => {
readonly redirectUrl: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly code: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("@apple/cktool.core").Int32>;
readonly message: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly reason: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly detailedMessage: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly requestUuid: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly retryAfterSeconds: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("fp-ts/lib/Option").Option<import("@apple/cktool.core").Int32>>;
readonly redirectUrl: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly code: (value: import("@apple/cktool.core").ConvertibleToInt32) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("@apple/cktool.core").Int32>;
readonly message: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly reason: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly detailedMessage: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly requestUuid: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly retryAfterSeconds: (value: import("@apple/cktool.core").ConvertibleToInt32 | import("fp-ts/lib/Option").Option<import("@apple/cktool.core").ConvertibleToInt32> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("fp-ts/lib/Option").Option<import("@apple/cktool.core").Int32>>;
};

@@ -44,10 +44,10 @@ /**

readonly getDecoder: () => {
readonly redirectUrl: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly code: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("@apple/cktool.core").Int32>;
readonly message: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly reason: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly detailedMessage: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly requestUuid: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly retryAfterSeconds: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("fp-ts/lib/Option").Option<import("@apple/cktool.core").Int32>>;
readonly redirectUrl: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly code: (value: import("@apple/cktool.core").ConvertibleToInt32) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("@apple/cktool.core").Int32>;
readonly message: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly reason: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly detailedMessage: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly requestUuid: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly retryAfterSeconds: (value: import("@apple/cktool.core").ConvertibleToInt32 | import("fp-ts/lib/Option").Option<import("@apple/cktool.core").ConvertibleToInt32> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("fp-ts/lib/Option").Option<import("@apple/cktool.core").Int32>>;
};
};

@@ -7,8 +7,8 @@ /**

* API schema: CKDatabaseType
* API version: 1.2.341
* API version: 1.3.2
*/
export declare enum CKDatabaseType {
PRIVATE = "PRIVATE",
PUBLIC = "PUBLIC",
SHARED = "SHARED"
"PRIVATE" = "PRIVATE",
"PUBLIC" = "PUBLIC",
"SHARED" = "SHARED"
}

@@ -13,3 +13,3 @@ import type { ValidatedNEA, ValueNotEnumValueError } from "@apple/cktool.core";

/**
* Attempts to coerce the value passed in to a valid value
* Attempts to convert the value passed in to a valid value
* of the {@link CKDatabaseType } enumeration.

@@ -16,0 +16,0 @@ * If the value is not valid, this function throws

@@ -7,7 +7,7 @@ /**

* API schema: CKEnvironment
* API version: 1.2.341
* API version: 1.3.2
*/
export declare enum CKEnvironment {
DEVELOPMENT = "DEVELOPMENT",
PRODUCTION = "PRODUCTION"
"DEVELOPMENT" = "DEVELOPMENT",
"PRODUCTION" = "PRODUCTION"
}

@@ -13,3 +13,3 @@ import type { ValidatedNEA, ValueNotEnumValueError } from "@apple/cktool.core";

/**
* Attempts to coerce the value passed in to a valid value
* Attempts to convert the value passed in to a valid value
* of the {@link CKEnvironment } enumeration.

@@ -16,0 +16,0 @@ * If the value is not valid, this function throws

@@ -7,3 +7,3 @@ /**

* API schema: Container
* API version: 1.2.341
* API version: 1.3.2
*/

@@ -44,7 +44,7 @@ export interface Container {

readonly getEncoder: () => {
readonly id: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamId: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly name: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly imageUrl: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly isHidden: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotBooleanError, import("fp-ts/lib/Option").Option<boolean>>;
readonly id: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamId: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly name: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly imageUrl: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly isHidden: (value: boolean | import("fp-ts/lib/Option").Option<boolean> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotBooleanError, import("fp-ts/lib/Option").Option<boolean>>;
};

@@ -56,8 +56,8 @@ /**

readonly getDecoder: () => {
readonly id: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamId: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly name: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly imageUrl: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly isHidden: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotBooleanError, import("fp-ts/lib/Option").Option<boolean>>;
readonly id: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamId: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly name: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly imageUrl: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly isHidden: (value: boolean | import("fp-ts/lib/Option").Option<boolean> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotBooleanError, import("fp-ts/lib/Option").Option<boolean>>;
};
};

@@ -6,3 +6,3 @@ import { Container } from "./ContainerCodec";

* API schema: ContainersResponse
* API version: 1.2.341
* API version: 1.3.2
*/

@@ -22,2 +22,6 @@ export interface ContainersResponse {

containers: Container[];
/**
* The list of recently accessed containers.
*/
recentContainers?: Container[];
}

@@ -34,3 +38,3 @@ /**

readonly getEncoder: () => {
readonly containers: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, {
readonly containers: (value: Container[]) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, {
readonly id: string;

@@ -42,4 +46,11 @@ readonly teamId: string;

}[]>;
readonly nextKey: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly previousKey: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly recentContainers: (value: Container[] | import("fp-ts/lib/Option").Option<Container[]> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, import("fp-ts/lib/Option").Option<{
readonly id: string;
readonly teamId: string;
readonly name: string;
readonly imageUrl: string | undefined;
readonly isHidden: boolean | undefined;
}[]>>;
readonly nextKey: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly previousKey: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
};

@@ -51,6 +62,7 @@ /**

readonly getDecoder: () => {
readonly containers: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, Container[]>;
readonly nextKey: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly previousKey: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly containers: (value: Container[]) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, Container[]>;
readonly recentContainers: (value: Container[] | import("fp-ts/lib/Option").Option<Container[]> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, import("fp-ts/lib/Option").Option<Container[]>>;
readonly nextKey: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly previousKey: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
};
};

@@ -12,2 +12,9 @@ import type { ErrorFromValidatedNEA, ValidatedNEA } from "@apple/cktool.core";

}[];
readonly recentContainers: {
readonly id: string;
readonly teamId: string;
readonly name: string;
readonly imageUrl: string | undefined;
readonly isHidden: boolean | undefined;
}[] | undefined;
readonly nextKey: string | undefined;

@@ -18,2 +25,3 @@ readonly previousKey: string | undefined;

readonly containers: import("./Container").Container[];
readonly recentContainers: import("./Container").Container[] | undefined;
readonly nextKey: string | undefined;

@@ -20,0 +28,0 @@ readonly previousKey: string | undefined;

@@ -5,7 +5,7 @@ /**

* API schema: ContainersSortByField
* API version: 1.2.341
* API version: 1.3.2
*/
export declare enum ContainersSortByField {
ID = "ID",
NAME = "NAME"
"ID" = "ID",
"NAME" = "NAME"
}

@@ -13,3 +13,3 @@ import type { ValidatedNEA, ValueNotEnumValueError } from "@apple/cktool.core";

/**
* Attempts to coerce the value passed in to a valid value
* Attempts to convert the value passed in to a valid value
* of the {@link ContainersSortByField } enumeration.

@@ -16,0 +16,0 @@ * If the value is not valid, this function throws

@@ -6,3 +6,3 @@ import type { Int32 } from "@apple/cktool.core";

* API schema: RequestError
* API version: 1.2.341
* API version: 1.3.2
*/

@@ -47,8 +47,8 @@ export interface RequestError {

readonly getEncoder: () => {
readonly code: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, Int32>;
readonly message: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly reason: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly detailedMessage: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly requestUuid: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly retryAfterSeconds: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("fp-ts/lib/Option").Option<Int32>>;
readonly code: (value: import("@apple/cktool.core").ConvertibleToInt32) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, Int32>;
readonly message: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly reason: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly detailedMessage: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly requestUuid: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly retryAfterSeconds: (value: import("@apple/cktool.core").ConvertibleToInt32 | import("fp-ts/lib/Option").Option<import("@apple/cktool.core").ConvertibleToInt32> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("fp-ts/lib/Option").Option<Int32>>;
};

@@ -60,9 +60,9 @@ /**

readonly getDecoder: () => {
readonly code: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, Int32>;
readonly message: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly reason: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly detailedMessage: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly requestUuid: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly retryAfterSeconds: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("fp-ts/lib/Option").Option<Int32>>;
readonly code: (value: import("@apple/cktool.core").ConvertibleToInt32) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, Int32>;
readonly message: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly reason: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly detailedMessage: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly requestUuid: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly retryAfterSeconds: (value: import("@apple/cktool.core").ConvertibleToInt32 | import("fp-ts/lib/Option").Option<import("@apple/cktool.core").ConvertibleToInt32> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotInt32Error, import("fp-ts/lib/Option").Option<Int32>>;
};
};

@@ -5,7 +5,7 @@ /**

* API schema: SortDirection
* API version: 1.2.341
* API version: 1.3.2
*/
export declare enum SortDirection {
ASC = "ASC",
DESC = "DESC"
"ASC" = "ASC",
"DESC" = "DESC"
}

@@ -13,3 +13,3 @@ import type { ValidatedNEA, ValueNotEnumValueError } from "@apple/cktool.core";

/**
* Attempts to coerce the value passed in to a valid value
* Attempts to convert the value passed in to a valid value
* of the {@link SortDirection } enumeration.

@@ -16,0 +16,0 @@ * If the value is not valid, this function throws

@@ -7,3 +7,3 @@ /**

* API schema: Team
* API version: 1.2.341
* API version: 1.3.2
*/

@@ -34,5 +34,5 @@ export interface Team {

readonly getEncoder: () => {
readonly teamId: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamName: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamType: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly teamId: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamName: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamType: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
};

@@ -44,6 +44,6 @@ /**

readonly getDecoder: () => {
readonly teamId: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamName: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamType: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly teamId: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamName: (value: string) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, string>;
readonly teamType: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
};
};

@@ -6,3 +6,3 @@ import { Team } from "./TeamCodec";

* API schema: TeamsResponse
* API version: 1.2.341
* API version: 1.3.2
*/

@@ -29,3 +29,3 @@ export interface TeamsResponse {

readonly getEncoder: () => {
readonly teams: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, {
readonly teams: (value: Team[]) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, {
readonly teamId: string;

@@ -35,3 +35,3 @@ readonly teamName: string;

}[]>;
readonly recentTeamId: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly recentTeamId: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
};

@@ -43,5 +43,5 @@ /**

readonly getDecoder: () => {
readonly teams: (value: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, Team[]>;
readonly recentTeamId: (value?: unknown) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
readonly teams: (value: Team[]) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ArrayError | import("@apple/cktool.core").ValueNotArrayError, Team[]>;
readonly recentTeamId: (value: string | import("fp-ts/lib/Option").Option<string> | null | undefined) => import("@apple/cktool.core").ValidatedNEA<import("@apple/cktool.core").ValueNotStringError, import("fp-ts/lib/Option").Option<string>>;
};
};

@@ -78,3 +78,3 @@ /// <reference lib="dom" />

*/
readonly security: readonly [readonly ["CookieAuth"], readonly ["UserTokenAuth"], readonly ["ManagementTokenAuth"]];
readonly security: readonly [readonly ["CookieAuth"], readonly ["ManagementTokenAuth"]];
};

@@ -84,4 +84,2 @@ export declare type GetContainersSecurity = {

} | {
[Security.SCHEME_KEY_UserTokenAuth]: string;
} | {
[Security.SCHEME_KEY_ManagementTokenAuth]: string;

@@ -148,3 +146,3 @@ };

* API operation: getContainers
* API version: 1.2.341
* API version: 1.3.2
*/

@@ -203,3 +201,3 @@ export declare const getContainersOp: {

* API operation: getContainers
* API version: 1.2.341
* API version: 1.3.2
*

@@ -354,3 +352,3 @@ * @param options.configuration - The configuration object.

*/
readonly security: readonly [readonly ["CookieAuth"], readonly ["UserTokenAuth"], readonly ["ManagementTokenAuth"]];
readonly security: readonly [readonly ["CookieAuth"], readonly ["ManagementTokenAuth"]];
};

@@ -409,3 +407,3 @@ /****************************************************************************************

*/
readonly security: readonly [readonly ["CookieAuth"], readonly ["UserTokenAuth"], readonly ["ManagementTokenAuth"]];
readonly security: readonly [readonly ["CookieAuth"], readonly ["ManagementTokenAuth"]];
};

@@ -415,4 +413,2 @@ export declare type GetTeamsSecurity = {

} | {
[Security.SCHEME_KEY_UserTokenAuth]: string;
} | {
[Security.SCHEME_KEY_ManagementTokenAuth]: string;

@@ -442,3 +438,3 @@ };

* API operation: getTeams
* API version: 1.2.341
* API version: 1.3.2
*/

@@ -497,3 +493,3 @@ export declare const getTeamsOp: {

* API operation: getTeams
* API version: 1.2.341
* API version: 1.3.2
*

@@ -622,4 +618,4 @@ * @param options.configuration - The configuration object.

*/
readonly security: readonly [readonly ["CookieAuth"], readonly ["UserTokenAuth"], readonly ["ManagementTokenAuth"]];
readonly security: readonly [readonly ["CookieAuth"], readonly ["ManagementTokenAuth"]];
};
export {};

@@ -12,14 +12,6 @@ import { CancellablePromise } from "@apple/cktool.core";

* API operation: getContainers
* API version: 1.2.341
* API version: 1.3.2
*
* @param params.teamId - The team identifier. For more information, see `Team`.
* @param params.limit - The limit of results returned. If set to 0, all results are returned.
* @param params.startingAfterKey - The record key for forward pagination. If provided, the results start after the record referred to by this key.
* @param params.endingBeforeKey - The record key for backward pagination. If provided, the results end before the record referred to by this key.
* @param params.sortDirection - A value that indicates the sort order of the result set. The default value is `SortDirection.ASC`. For valid values, see `SortDirection`.
* @param params.q - An optional search query string. If provided, the server only returns containers with names or identifiers containing the query string. Wildcards are not supported.
* @param params.sortBy - An optional field to sort on. When not provided, the server uses the ID as the sort field. For valid values, see `ContainersSortByField`.
* @param params.showHidden - if set to true, response will contain hidden containers.
* @param options.configuration - The configuration object.
* @param params.security - An optional dictionary of
* @param options.security - An optional dictionary of
* security scheme names to the API key or cookie

@@ -31,4 +23,8 @@ * used for authentication

*
* @returns A promise that yields expected success responses
* when resolved.
* @returns
* A function that
* takes {@link GetContainersParams},
* and returns a promise
* that yields expected
* success responses when resolved.
* See {@link getContainersOp.responseDictionary} for

@@ -40,4 +36,4 @@ * expected responses. Responses in the 2xx range will

export declare const getContainersP: {
(options: GetContainersOpOptions, params: GetContainersParams): CancellablePromise<GetContainersOpConsts["successTypes"], GetContainersOpConsts["responseErrorTypes"] | ValidationError | FetchError | CancelledError | ReactiveStreamError>;
descriptor: typeof getContainersOp;
(options: GetContainersOpOptions): (args: GetContainersParams, optionsOverride?: GetContainersPOptions) => CancellablePromise<GetContainersOpConsts["successTypes"], GetContainersOpConsts["responseErrorTypes"] | ValidationError | FetchError | CancelledError | ReactiveStreamError>;
readonly descriptor: typeof getContainersOp;
};

@@ -51,6 +47,6 @@ export declare type GetTeamsPOptions = GetTeamsOpOptions;

* API operation: getTeams
* API version: 1.2.341
* API version: 1.3.2
*
* @param options.configuration - The configuration object.
* @param params.security - An optional dictionary of
* @param options.security - An optional dictionary of
* security scheme names to the API key or cookie

@@ -62,4 +58,8 @@ * used for authentication

*
* @returns A promise that yields expected success responses
* when resolved.
* @returns
* A function that
* has no parameters
* and returns a promise
* that yields expected
* success responses when resolved.
* See {@link getTeamsOp.responseDictionary} for

@@ -71,4 +71,4 @@ * expected responses. Responses in the 2xx range will

export declare const getTeamsP: {
(options: GetTeamsOpOptions, params?: EmptyRecord | undefined): CancellablePromise<GetTeamsOpConsts["successTypes"], GetTeamsOpConsts["responseErrorTypes"] | ValidationError | FetchError | CancelledError | ReactiveStreamError>;
descriptor: typeof getTeamsOp;
(options: GetTeamsOpOptions): (args?: EmptyRecord, optionsOverride?: GetTeamsPOptions) => CancellablePromise<GetTeamsOpConsts["successTypes"], GetTeamsOpConsts["responseErrorTypes"] | ValidationError | FetchError | CancelledError | ReactiveStreamError>;
readonly descriptor: typeof getTeamsOp;
};

@@ -9,3 +9,3 @@ import { CancellablePromise } from "@apple/cktool.core";

/**
* API version: 1.2.341
* API version: 1.3.2
*/

@@ -12,0 +12,0 @@ export interface IBasePromisesApi {

@@ -1,2 +0,2 @@

/* Version: 1.2.341 - April 25, 2022 18:43:18 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@apple/cktool.core")):"function"==typeof define&&define.amd?define(["exports","@apple/cktool.core"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ckToolApiBase={},e.ckToolCore)}(this,(function(e,t){"use strict";function o(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const r=t.lazy((()=>({code:t.asInt32,message:t.asString,reason:t.asString,detailedMessage:t.asOptionalString,requestUuid:t.asOptionalString,retryAfterSeconds:t.asOptionalInt32}))),n={getEncoder:t.lazy((()=>({...r()}))),getDecoder:t.lazy((()=>({...r()})))},a={getEncoder:t.lazy((()=>t.asObject(n.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(n.getDecoder())))},s=t.lazy((()=>({redirectUrl:t.asString}))),i={getEncoder:t.lazy((()=>({...n.getEncoder(),...s()}))),getDecoder:t.lazy((()=>({...n.getDecoder(),...s()})))},c={getEncoder:t.lazy((()=>t.asObject(i.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(i.getDecoder())))};var d;e.CKDatabaseType=void 0,(d=e.CKDatabaseType||(e.CKDatabaseType={})).PRIVATE="PRIVATE",d.PUBLIC="PUBLIC",d.SHARED="SHARED";const l=t.lazy((()=>t.asEnumValue(e.CKDatabaseType))),g={getEncoder:l,getDecoder:l};var p;e.CKEnvironment=void 0,(p=e.CKEnvironment||(e.CKEnvironment={})).DEVELOPMENT="DEVELOPMENT",p.PRODUCTION="PRODUCTION";const u=t.lazy((()=>t.asEnumValue(e.CKEnvironment))),y={getEncoder:u,getDecoder:u},m=t.lazy((()=>({id:t.asString,teamId:t.asString,name:t.asString,imageUrl:t.asOptionalString,isHidden:t.asOptionalBoolean}))),E={getEncoder:t.lazy((()=>({...m()}))),getDecoder:t.lazy((()=>({...m()})))},C={getEncoder:t.lazy((()=>t.asObject(E.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(E.getDecoder())))},D=t.lazy((()=>({nextKey:t.asOptionalString,previousKey:t.asOptionalString}))),O={getEncoder:t.lazy((()=>({...D(),containers:t.pipe(t.asArray,t.forEach(C.getEncoder()))}))),getDecoder:t.lazy((()=>({...D(),containers:t.pipe(t.asArray,t.forEach(C.getDecoder()))})))},h={getEncoder:t.lazy((()=>t.asObject(O.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(O.getDecoder())))};var T;e.ContainersSortByField=void 0,(T=e.ContainersSortByField||(e.ContainersSortByField={})).ID="ID",T.NAME="NAME";const A=t.lazy((()=>t.asEnumValue(e.ContainersSortByField))),f={getEncoder:A,getDecoder:A};var S;e.SortDirection=void 0,(S=e.SortDirection||(e.SortDirection={})).ASC="ASC",S.DESC="DESC";const b=t.lazy((()=>t.asEnumValue(e.SortDirection))),P={getEncoder:b,getDecoder:b},K=t.lazy((()=>({teamId:t.asString,teamName:t.asString,teamType:t.asOptionalString}))),j={getEncoder:t.lazy((()=>({...K()}))),getDecoder:t.lazy((()=>({...K()})))},_={getEncoder:t.lazy((()=>t.asObject(j.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(j.getDecoder())))},z=t.lazy((()=>({recentTeamId:t.asOptionalString}))),B={getEncoder:t.lazy((()=>({...z(),teams:t.pipe(t.asArray,t.forEach(_.getEncoder()))}))),getDecoder:t.lazy((()=>({...z(),teams:t.pipe(t.asArray,t.forEach(_.getDecoder()))})))},M={getEncoder:t.lazy((()=>t.asObject(B.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(B.getDecoder())))},R="1.2.341",v="CookieAuth",I="UserTokenAuth",q="ManagementTokenAuth",F={[v]:{name:"myacinfo",type:"apiKey",in:"cookie"},[I]:{name:"X-Apple-CloudKit-User-Token",type:"apiKey",in:"header"},[q]:{name:"X-Apple-CloudKit-Management-Token",type:"apiKey",in:"header"},CloudKitAPITokenAuth:{name:"X-Apple-CloudKit-API-Token",type:"apiKey",in:"header"},CloudKitWebAuthTokenAuth:{name:"X-Apple-CloudKit-Web-Auth-Token",type:"apiKey",in:"header"}},N={getParamsValidator:t.lazy((()=>t.asPartialObject({teamId:t.asString,limit:t.asOptionalInt32,startingAfterKey:t.asOptionalString,endingBeforeKey:t.asOptionalString,sortDirection:t.optional(P.getEncoder()),q:t.asOptionalString,sortBy:t.optional(f.getEncoder()),showHidden:t.asOptionalBoolean}))),successResponses:{200:{description:"Containers matching the request.",contentType:"application/json",getDecoderFn:h.getDecoder}},failureResponses:{0:{description:"The request has failed due to an error.",contentType:"application/json",getDecoderFn:a.getDecoder}},security:[[v],[I],[q]]},V={...N,name:"getContainers",httpMethod:"GET",path:"/teams/{teamId}/containers",requestBodyContentTypes:[],multipartParams:[],[t.OP_STREAM_NAME](e,o){var r,n,a;const s=null!==(r=null===(n=(a=e.configuration).mapOperationOptions)||void 0===n?void 0:n.call(a,V,e))&&void 0!==r?r:e;return N.getParamsValidator()(o).fold((e=>t.callbagThrowError(new t.InvalidParametersError(e))),(e=>V[t.UNCHECKED_OP_STREAM_NAME](s,e)))},[t.UNCHECKED_OP_STREAM_NAME]:(e,o)=>{const{teamId:r,limit:n,startingAfterKey:a,endingBeforeKey:s,sortDirection:i,q:c,sortBy:d,showHidden:l}=o,g={...e,method:V.httpMethod,path:`/teams/${t.bigNumberEncodeURIComponent(r)}/containers`,responseDictionary:V.responseDictionary,queryParams:{limit:n,startingAfterKey:a,endingBeforeKey:s,sortDirection:i,q:c,sortBy:d,showHidden:l},body:t.createBody(e.configuration.createFormDataFn,e.configuration.isBlobFn,V,o),security:e.security,securitySchemes:F,headers:t.createHeaders(V,R)};return e.configuration.logger&&e.configuration.logger.debug(`getContainersOp.unchecked$ opts: ${JSON.stringify(g)}`),t.request$(g)},isMutating:!1,cacheKeyFn:({teamId:e,limit:o,startingAfterKey:r,endingBeforeKey:n,sortDirection:a,q:s,sortBy:i,showHidden:c})=>{const d=t.queryObjectToString({limit:o,startingAfterKey:r,endingBeforeKey:n,sortDirection:a,q:s,sortBy:i,showHidden:c});return`/teams/${t.bigNumberEncodeURIComponent(e)}/containers`+(0===d.length?"":"?"+d)},responseDictionary:{...N.successResponses,...N.failureResponses}},w={getParamsValidator:t.lazyAsEmptyObject,successResponses:{200:{description:"List of teams current user is in",contentType:"application/json",getDecoderFn:M.getDecoder}},failureResponses:{0:{description:"The request has failed due to an error.",contentType:"application/json",getDecoderFn:a.getDecoder}},security:[[v],[I],[q]]},k={...w,name:"getTeams",httpMethod:"GET",path:"/users/current/teams",requestBodyContentTypes:[],multipartParams:[],[t.OP_STREAM_NAME](e,o){var r,n,a;const s=null!==(r=null===(n=(a=e.configuration).mapOperationOptions)||void 0===n?void 0:n.call(a,k,e))&&void 0!==r?r:e;return w.getParamsValidator()(o).fold((e=>t.callbagThrowError(new t.InvalidParametersError(e))),(e=>k[t.UNCHECKED_OP_STREAM_NAME](s,e)))},[t.UNCHECKED_OP_STREAM_NAME]:(e,o)=>{const r={...e,method:k.httpMethod,path:"/users/current/teams",responseDictionary:k.responseDictionary,queryParams:{},body:t.createBody(e.configuration.createFormDataFn,e.configuration.isBlobFn,k,o),security:e.security,securitySchemes:F,headers:t.createHeaders(k,R)};return e.configuration.logger&&e.configuration.logger.debug(`getTeamsOp.unchecked$ opts: ${JSON.stringify(r)}`),t.request$(r)},isMutating:!1,cacheKeyFn:({})=>{const e=t.queryObjectToString({});return"/users/current/teams"+(0===e.length?"":"?"+e)},responseDictionary:{...w.successResponses,...w.failureResponses}},U={getContainers:V,getTeams:k},H=(e,o)=>t.pullableToCancellablePromise(V[t.OP_STREAM_NAME](e,o));H.descriptor=V;const $=H,x=(e,o)=>t.pullableToCancellablePromise(k[t.OP_STREAM_NAME](e,o));x.descriptor=k;const L=x;function X(e){var t,r;return"BasePromisesApi"===e.__CKTOOL_BasePromisesApi?e:(r=t=class extends e{constructor(...e){super(...e),o(this,"constructor",void 0)}getContainers(e,t){return $({...this.__defaultOptions,...t},{...this.__defaultArgs,...e})}getTeams(e={},t){return L({...this.__defaultOptions,...t},e)}},o(t,"__CKTOOL_BasePromisesApi","BasePromisesApi"),o(t,"__descriptorMap",{...e.__descriptorMap,...U}),r)}class G extends(X(t.PromisesApiBase)){constructor(e,t={}){super(e,t)}}e.BasePromisesApi=G,e.BasePromisesApiMixin=X,e.defaultsForAuthenticationRequiredError={},e.getContainersOp=V,e.getContainersP=$,e.getTeamsOp=k,e.getTeamsP=L,e.jsonCodecAuthenticationRequiredError=c,e.jsonCodecAuthenticationRequiredErrorOwnProperties=i,e.jsonCodecCKDatabaseType=g,e.jsonCodecCKEnvironment=y,e.jsonCodecContainer=C,e.jsonCodecContainerOwnProperties=E,e.jsonCodecContainersResponse=h,e.jsonCodecContainersResponseOwnProperties=O,e.jsonCodecContainersSortByField=f,e.jsonCodecRequestError=a,e.jsonCodecRequestErrorOwnProperties=n,e.jsonCodecSortDirection=P,e.jsonCodecTeam=_,e.jsonCodecTeamOwnProperties=j,e.jsonCodecTeamsResponse=M,e.jsonCodecTeamsResponseOwnProperties=B,e.toCKDatabaseType=e=>t.getOrThrowFromValidatedEnumValue(l()(e)),e.toCKEnvironment=e=>t.getOrThrowFromValidatedEnumValue(u()(e)),e.toContainersSortByField=e=>t.getOrThrowFromValidatedEnumValue(A()(e)),e.toSortDirection=e=>t.getOrThrowFromValidatedEnumValue(b()(e)),Object.defineProperty(e,"__esModule",{value:!0})}));
/* Version: 1.3.2 - June 3, 2022 16:57:12 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@apple/cktool.core")):"function"==typeof define&&define.amd?define(["exports","@apple/cktool.core"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ckToolApiBase={},e.ckToolCore)}(this,(function(e,t){"use strict";function o(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const r=t.lazy((()=>({code:t.asInt32,message:t.asString,reason:t.asString,detailedMessage:t.asOptionalString,requestUuid:t.asOptionalString,retryAfterSeconds:t.asOptionalInt32}))),n={getEncoder:t.lazy((()=>({...r()}))),getDecoder:t.lazy((()=>({...r()})))},a={getEncoder:t.lazy((()=>t.asObject(n.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(n.getDecoder())))},s=t.lazy((()=>({redirectUrl:t.asString}))),i={getEncoder:t.lazy((()=>({...n.getEncoder(),...s()}))),getDecoder:t.lazy((()=>({...n.getDecoder(),...s()})))},c={getEncoder:t.lazy((()=>t.asObject(i.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(i.getDecoder())))};var d;e.CKDatabaseType=void 0,(d=e.CKDatabaseType||(e.CKDatabaseType={})).PRIVATE="PRIVATE",d.PUBLIC="PUBLIC",d.SHARED="SHARED";const l=t.lazy((()=>t.asEnumValue(e.CKDatabaseType))),g={getEncoder:l,getDecoder:l};var p;e.CKEnvironment=void 0,(p=e.CKEnvironment||(e.CKEnvironment={})).DEVELOPMENT="DEVELOPMENT",p.PRODUCTION="PRODUCTION";const u=t.lazy((()=>t.asEnumValue(e.CKEnvironment))),y={getEncoder:u,getDecoder:u},m=t.lazy((()=>({id:t.asString,teamId:t.asString,name:t.asString,imageUrl:t.asOptionalString,isHidden:t.asOptionalBoolean}))),E={getEncoder:t.lazy((()=>({...m()}))),getDecoder:t.lazy((()=>({...m()})))},C={getEncoder:t.lazy((()=>t.asObject(E.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(E.getDecoder())))},D=t.lazy((()=>({nextKey:t.asOptionalString,previousKey:t.asOptionalString}))),O={getEncoder:t.lazy((()=>({...D(),containers:t.pipe(t.asArray(),t.forEach(C.getEncoder())),recentContainers:t.optional(t.pipe(t.asArray(),t.forEach(C.getEncoder())))}))),getDecoder:t.lazy((()=>({...D(),containers:t.pipe(t.asArray(),t.forEach(C.getDecoder())),recentContainers:t.optional(t.pipe(t.asArray(),t.forEach(C.getDecoder())))})))},h={getEncoder:t.lazy((()=>t.asObject(O.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(O.getDecoder())))};var T;e.ContainersSortByField=void 0,(T=e.ContainersSortByField||(e.ContainersSortByField={})).ID="ID",T.NAME="NAME";const A=t.lazy((()=>t.asEnumValue(e.ContainersSortByField))),f={getEncoder:A,getDecoder:A};var S;e.SortDirection=void 0,(S=e.SortDirection||(e.SortDirection={})).ASC="ASC",S.DESC="DESC";const b=t.lazy((()=>t.asEnumValue(e.SortDirection))),P={getEncoder:b,getDecoder:b},K=t.lazy((()=>({teamId:t.asString,teamName:t.asString,teamType:t.asOptionalString}))),j={getEncoder:t.lazy((()=>({...K()}))),getDecoder:t.lazy((()=>({...K()})))},_={getEncoder:t.lazy((()=>t.asObject(j.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(j.getDecoder())))},z=t.lazy((()=>({recentTeamId:t.asOptionalString}))),B={getEncoder:t.lazy((()=>({...z(),teams:t.pipe(t.asArray(),t.forEach(_.getEncoder()))}))),getDecoder:t.lazy((()=>({...z(),teams:t.pipe(t.asArray(),t.forEach(_.getDecoder()))})))},v={getEncoder:t.lazy((()=>t.asObject(B.getEncoder()))),getDecoder:t.lazy((()=>t.asObject(B.getDecoder())))},M="1.3.2",R="CookieAuth",I="ManagementTokenAuth",q={[R]:{name:"myacinfo",type:"apiKey",in:"cookie"},UserTokenAuth:{name:"X-Apple-CloudKit-User-Token",type:"apiKey",in:"header"},[I]:{name:"X-Apple-CloudKit-Management-Token",type:"apiKey",in:"header"},CloudKitAPITokenAuth:{name:"X-Apple-CloudKit-API-Token",type:"apiKey",in:"header"},CloudKitWebAuthTokenAuth:{name:"X-Apple-CloudKit-Web-Auth-Token",type:"apiKey",in:"header"}},F={getParamsValidator:t.lazy((()=>t.asPartialObject({teamId:t.asString,limit:t.asOptionalInt32,startingAfterKey:t.asOptionalString,endingBeforeKey:t.asOptionalString,sortDirection:t.optional(P.getEncoder()),q:t.asOptionalString,sortBy:t.optional(f.getEncoder()),showHidden:t.asOptionalBoolean}))),successResponses:{200:{description:"Containers matching the request.",contentType:"application/json",getDecoderFn:h.getDecoder}},failureResponses:{0:{description:"The request has failed due to an error.",contentType:"application/json",getDecoderFn:a.getDecoder}},security:[[R],[I]]},N={...F,name:"getContainers",httpMethod:"GET",path:"/teams/{teamId}/containers",requestBodyContentTypes:[],multipartParams:[],[t.OP_STREAM_NAME](e,o){var r,n,a;const s=null!==(r=null===(n=(a=e.configuration).mapOperationOptions)||void 0===n?void 0:n.call(a,N,e))&&void 0!==r?r:e;return F.getParamsValidator()(o).fold((e=>t.callbagThrowError(new t.InvalidParametersError(e))),(e=>N[t.UNCHECKED_OP_STREAM_NAME](s,e)))},[t.UNCHECKED_OP_STREAM_NAME]:(e,o)=>{const{teamId:r,limit:n,startingAfterKey:a,endingBeforeKey:s,sortDirection:i,q:c,sortBy:d,showHidden:l}=o,g={...e,method:N.httpMethod,path:`/teams/${t.bigNumberEncodeURIComponent(r)}/containers`,responseDictionary:N.responseDictionary,queryParams:{limit:n,startingAfterKey:a,endingBeforeKey:s,sortDirection:i,q:c,sortBy:d,showHidden:l},body:t.createBody(e.configuration.createFormDataFn,e.configuration.isBlobFn,N,o),security:e.security,securitySchemes:q,headers:t.createHeaders(N,M)};return e.configuration.logger&&e.configuration.logger.debug(`getContainersOp.unchecked$ opts: ${JSON.stringify(g)}`),t.request$(g)},isMutating:!1,cacheKeyFn:e=>{let{teamId:o,limit:r,startingAfterKey:n,endingBeforeKey:a,sortDirection:s,q:i,sortBy:c,showHidden:d}=e;const l=t.queryObjectToString({limit:r,startingAfterKey:n,endingBeforeKey:a,sortDirection:s,q:i,sortBy:c,showHidden:d});return`/teams/${t.bigNumberEncodeURIComponent(o)}/containers`+(0===l.length?"":"?"+l)},responseDictionary:{...F.successResponses,...F.failureResponses}},V={getParamsValidator:t.lazyAsEmptyObject,successResponses:{200:{description:"List of teams current user is in",contentType:"application/json",getDecoderFn:v.getDecoder}},failureResponses:{0:{description:"The request has failed due to an error.",contentType:"application/json",getDecoderFn:a.getDecoder}},security:[[R],[I]]},w={...V,name:"getTeams",httpMethod:"GET",path:"/users/current/teams",requestBodyContentTypes:[],multipartParams:[],[t.OP_STREAM_NAME](e,o){var r,n,a;const s=null!==(r=null===(n=(a=e.configuration).mapOperationOptions)||void 0===n?void 0:n.call(a,w,e))&&void 0!==r?r:e;return V.getParamsValidator()(o).fold((e=>t.callbagThrowError(new t.InvalidParametersError(e))),(e=>w[t.UNCHECKED_OP_STREAM_NAME](s,e)))},[t.UNCHECKED_OP_STREAM_NAME]:(e,o)=>{const r={...e,method:w.httpMethod,path:"/users/current/teams",responseDictionary:w.responseDictionary,queryParams:{},body:t.createBody(e.configuration.createFormDataFn,e.configuration.isBlobFn,w,o),security:e.security,securitySchemes:q,headers:t.createHeaders(w,M)};return e.configuration.logger&&e.configuration.logger.debug(`getTeamsOp.unchecked$ opts: ${JSON.stringify(r)}`),t.request$(r)},isMutating:!1,cacheKeyFn:e=>{const o=t.queryObjectToString({});return"/users/current/teams"+(0===o.length?"":"?"+o)},responseDictionary:{...V.successResponses,...V.failureResponses}},k={getContainers:N,getTeams:w},U=e=>(o,r)=>t.pullableToCancellablePromise(N[t.OP_STREAM_NAME]({...e,...r},o));U.descriptor=N;const H=U,$=e=>(o,r)=>t.pullableToCancellablePromise(w[t.OP_STREAM_NAME]({...e,...r},o));$.descriptor=w;const x=$;function L(e){var t;return"BasePromisesApi"===e.__CKTOOL_BasePromisesApi?e:(t=class extends e{constructor(){super(...arguments),o(this,"constructor",void 0)}getContainers(e,t){return H({...this.__defaultOptions,...t})({...this.__defaultArgs,...e})}getTeams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return x({...this.__defaultOptions,...t})(e)}},o(t,"__CKTOOL_BasePromisesApi","BasePromisesApi"),o(t,"__descriptorMap",{...e.__descriptorMap,...k}),t)}class X extends(L(t.PromisesApiBase)){constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}e.BasePromisesApi=X,e.BasePromisesApiMixin=L,e.defaultsForAuthenticationRequiredError={},e.getContainersOp=N,e.getContainersP=H,e.getTeamsOp=w,e.getTeamsP=x,e.jsonCodecAuthenticationRequiredError=c,e.jsonCodecAuthenticationRequiredErrorOwnProperties=i,e.jsonCodecCKDatabaseType=g,e.jsonCodecCKEnvironment=y,e.jsonCodecContainer=C,e.jsonCodecContainerOwnProperties=E,e.jsonCodecContainersResponse=h,e.jsonCodecContainersResponseOwnProperties=O,e.jsonCodecContainersSortByField=f,e.jsonCodecRequestError=a,e.jsonCodecRequestErrorOwnProperties=n,e.jsonCodecSortDirection=P,e.jsonCodecTeam=_,e.jsonCodecTeamOwnProperties=j,e.jsonCodecTeamsResponse=v,e.jsonCodecTeamsResponseOwnProperties=B,e.toCKDatabaseType=e=>t.getOrThrowFromValidatedEnumValue(l()(e)),e.toCKEnvironment=e=>t.getOrThrowFromValidatedEnumValue(u()(e)),e.toContainersSortByField=e=>t.getOrThrowFromValidatedEnumValue(A()(e)),e.toSortDirection=e=>t.getOrThrowFromValidatedEnumValue(b()(e)),Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "@apple/cktool.api.base",
"version": "1.2.341",
"version": "1.3.2",
"license": "SEE LICENSE IN LICENSE.md",

@@ -14,4 +14,4 @@ "main": "./dist/umd/index.min.js",

"dependencies": {
"@apple/cktool.core": "1.2.341"
"@apple/cktool.core": "1.3.2"
}
}