<commit_before>import T from 'proptypes';
import base from './base';
import { propTypes as ciPropTypes } from './customsItem';


export const propTypes = {
  id: T.string,
  object: T.string,
  mode: T.string,
  created_at: T.oneOfType([T.object, T.string]),
  updated_at: T.oneOfType([T.object, T.string]),
  customs_certify: T.bool,
  customs_signer: T.string,
  contents_type: T.string,
  contents_explanation: T.string,
  restriction_type: T.string,
  eel_pfc: T.string,
  non_delivery_option: T.string,
  customs_items: T.arrayOf(T.shape(ciPropTypes)),
  declaration: T.string,
};

export default api => (
  class CustomsInfo extends base(api) {
    static _name = 'CustomsInfo';
    static _url = 'customs_infos';
    static key = 'customs_info';
    static propTypes = propTypes;

    static all() {
      return super.notImplemented('all');
    }

    static delete() {
      return this.notImplemented('delete');
    }
  }
);<commit_msg>fix: adds missing restriction_comments field to customsInfo<commit_after>import T from 'proptypes';
import base from './base';
import { propTypes as ciPropTypes } from './customsItem';


export const propTypes = {
  id: T.string,
  object: T.string,
  mode: T.string,
  created_at: T.oneOfType([T.object, T.string]),
  updated_at: T.oneOfType([T.object, T.string]),
  customs_certify: T.bool,
  customs_signer: T.string,
  contents_type: T.string,
  contents_explanation: T.string,
  restriction_type: T.string,
  eel_pfc: T.string,
  non_delivery_option: T.string,
  customs_items: T.arrayOf(T.shape(ciPropTypes)),
  declaration: T.string,
  restriction_comments: T.string,
};

export default api => (
  class CustomsInfo extends base(api) {
    static _name = 'CustomsInfo';
    static _url = 'customs_infos';
    static key = 'customs_info';
    static propTypes = propTypes;

    static all() {
      return super.notImplemented('all');
    }

    static delete() {
      return this.notImplemented('delete');
    }
  }
);
{'fraction_non_alphanumeric': 0.12981744421906694, 'fraction_numerical': 0.0, 'mean_word_length': 3.8596059113300494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7031502', 'n_tokens_mistral': 681, 'n_tokens_neox': 683, 'n_words': 156}