京都のkintone用javascript
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 line
3.1KB

  1. import { KintoneRecordField } from "@kintone/rest-api-client";
  2. import { AppRecord } from ".";
  3. const F = {
  4. 状態: "status",
  5. 自動承認ステータス: "auto_confirm_status",
  6. 利用開始希望日: "利用開始希望日",
  7. 駐車場名: "駐車場",
  8. 定期駐車料金: "定期駐車料金",
  9. 振込期日: "振込期日",
  10. 日割り分_月: "日割り分_月",
  11. 日割り分_金額: "日割り分_金額",
  12. 請求対象分_月: "請求対象分_月",
  13. 請求対象分_金額: "請求対象分_金額",
  14. 初回振り込み合計額: "初回振り込み合計額",
  15. } as const;
  16. export const 状態Dropdown = {
  17. 新規: "新規",
  18. 承認_自動承認: "承認(自動承認)",
  19. 承認_手動: "承認(手動)",
  20. 契約中: "契約中",
  21. 予約: "予約",
  22. 選考当選: "選考当選",
  23. 入金待ち: "入金待ち",
  24. 空き待ち: "空き待ち",
  25. キャンセル: "キャンセル",
  26. } as const;
  27. export type 状態Dropdown = (typeof 状態Dropdown)[keyof typeof 状態Dropdown];
  28. export const 自動承認ステータスDropdown = {
  29. NONE: "",
  30. 承認済: "承認済",
  31. } as const;
  32. export type 自動承認ステータスDropdown =
  33. (typeof 自動承認ステータスDropdown)[keyof typeof 自動承認ステータスDropdown];
  34. export const 定期申込予約フィールド名 = F;
  35. export type 定期申込予約 = AppRecord & {
  36. 備考: KintoneRecordField.MultiLineText;
  37. 受付順: KintoneRecordField.Number;
  38. 申込番号: KintoneRecordField.SingleLineText;
  39. 利用方法: KintoneRecordField.MultiLineText;
  40. 定期駐車場プラン: KintoneRecordField.SingleLineText;
  41. 台数: KintoneRecordField.SingleLineText;
  42. 防犯登録番号: KintoneRecordField.SingleLineText;
  43. 請求対象分_月: KintoneRecordField.Number;
  44. [F.初回振り込み合計額]: KintoneRecordField.Number;
  45. メールアドレス: KintoneRecordField.SingleLineText;
  46. 受付日時: KintoneRecordField.DateTime;
  47. 学生手帳: KintoneRecordField.SingleLineText;
  48. 氏名: KintoneRecordField.SingleLineText;
  49. [F.定期駐車料金]: KintoneRecordField.Number;
  50. 学校名: KintoneRecordField.SingleLineText;
  51. 住所: KintoneRecordField.SingleLineText;
  52. 電話番号: KintoneRecordField.SingleLineText;
  53. 受付日: KintoneRecordField.Date;
  54. ParkingNavi駐車場コード: KintoneRecordField.SingleLineText;
  55. フリガナ: KintoneRecordField.SingleLineText;
  56. 利用開始希望日: KintoneRecordField.Date;
  57. メモ: KintoneRecordField.MultiLineText;
  58. 車室番号: KintoneRecordField.SingleLineText;
  59. ParkingNavi駐車場: KintoneRecordField.SingleLineText;
  60. [F.駐車場名]: KintoneRecordField.SingleLineText;
  61. [F.振込期日]: KintoneRecordField.Date;
  62. 日割り分_金額: KintoneRecordField.Number;
  63. 自動承認メモ: KintoneRecordField.MultiLineText;
  64. 車両番号: KintoneRecordField.SingleLineText;
  65. [F.請求対象分_金額]: KintoneRecordField.Number;
  66. ParkingNaviプラン: KintoneRecordField.SingleLineText;
  67. [F.日割り分_月]: KintoneRecordField.Number;
  68. 支払方法: KintoneRecordField.Dropdown;
  69. [F.自動承認ステータス]: KintoneRecordField.SingleLineText;
  70. [F.状態]: KintoneRecordField.Dropdown;
  71. };