message: feat: implement method for PUT /app/customize.json
diff: @@ -270,11 +270,26 @@ type CustomizeResource =
  size: string;
  };
  };
  +type CustomizeResourceForUpdate =
  + | {
  + type: "URL";
  + url: string;
  + }
  + | {
  + type: "FILE";
  + file: {
  + fileKey: string;
  + };
  + };
  type Customize = {
  js: CustomizeResource[];
  css: CustomizeResource[];
  };
  +type CustomizeForUpdate = {
  + js?: CustomizeResourceForUpdate[];
  + css?: CustomizeResourceForUpdate[];
  +};
  export class AppClient {
  private client: HttpClient;
  @@ -526,4 +541,15 @@ export class AppClient {
  const path = `/k/v1${preview ? "/preview" : ""}/app/customize.json`;
  return this.client.get(path, { ...rest });
  }
  +
  + public updateCustomize(params: {
  + app: AppID;
  + scope?: CustomizeScope;
  + desktop?: CustomizeForUpdate;
  + mobile?: CustomizeForUpdate;
  + revision?: Revision;
  + }): Promise<{ revision: string }> {
  + const path = "/k/v1/preview/app/customize.json";
  + return this.client.put(path, params);
  + }
  }
  