diff --git a/.DS_Store b/.DS_Store index 00c9e7b..a044600 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Deployment & Installation/README.md b/Deployment & Installation/README.md new file mode 100644 index 0000000..e69de29 diff --git a/Deployment & Installation/v2_Deployment - App.docx b/Deployment & Installation/v2_Deployment - App.docx new file mode 100644 index 0000000..2686cd5 Binary files /dev/null and b/Deployment & Installation/v2_Deployment - App.docx differ diff --git a/Deployment & Installation/v2_Deployment - DB.docx b/Deployment & Installation/v2_Deployment - DB.docx new file mode 100644 index 0000000..ecadd91 Binary files /dev/null and b/Deployment & Installation/v2_Deployment - DB.docx differ diff --git a/Deployment & Installation/v2_Deployment - Gateway.docx b/Deployment & Installation/v2_Deployment - Gateway.docx new file mode 100644 index 0000000..2c59ee3 Binary files /dev/null and b/Deployment & Installation/v2_Deployment - Gateway.docx differ diff --git a/Deployment & Installation/v2_Deployment.docx b/Deployment & Installation/v2_Deployment.docx new file mode 100644 index 0000000..f4b82d6 Binary files /dev/null and b/Deployment & Installation/v2_Deployment.docx differ diff --git a/Help & API/#test.docx b/Help & API/#test.docx new file mode 100644 index 0000000..49da6ea Binary files /dev/null and b/Help & API/#test.docx differ diff --git a/Help & API/.DS_Store b/Help & API/.DS_Store new file mode 100644 index 0000000..1eeed5b Binary files /dev/null and b/Help & API/.DS_Store differ diff --git a/Help & API/_old_v2_admin.docx b/Help & API/_old_v2_admin.docx new file mode 100644 index 0000000..c232a87 Binary files /dev/null and b/Help & API/_old_v2_admin.docx differ diff --git a/Help & API/_old_v2_airQuality.docx b/Help & API/_old_v2_airQuality.docx new file mode 100644 index 0000000..841bf09 Binary files /dev/null and b/Help & API/_old_v2_airQuality.docx differ diff --git a/Help & API/_old_v2_bpms_Help.docx b/Help & API/_old_v2_bpms_Help.docx new file mode 100644 index 0000000..1dcb05b Binary files /dev/null and b/Help & API/_old_v2_bpms_Help.docx differ diff --git a/Help & API/_old_v2_calendar.docx b/Help & API/_old_v2_calendar.docx new file mode 100644 index 0000000..13094f7 Binary files /dev/null and b/Help & API/_old_v2_calendar.docx differ diff --git a/Help & API/_old_v2_checklist_Help.docx b/Help & API/_old_v2_checklist_Help.docx new file mode 100644 index 0000000..865c2e5 Binary files /dev/null and b/Help & API/_old_v2_checklist_Help.docx differ diff --git a/Help & API/_old_v2_countryDivision_Help.docx b/Help & API/_old_v2_countryDivision_Help.docx new file mode 100644 index 0000000..0edd527 Binary files /dev/null and b/Help & API/_old_v2_countryDivision_Help.docx differ diff --git a/Help & API/_old_v2_drinkWaterUnit_Help.docx b/Help & API/_old_v2_drinkWaterUnit_Help.docx new file mode 100644 index 0000000..7357d49 Binary files /dev/null and b/Help & API/_old_v2_drinkWaterUnit_Help.docx differ diff --git a/Help & API/_old_v2_encryption_Help.docx b/Help & API/_old_v2_encryption_Help.docx new file mode 100644 index 0000000..cac8f5c Binary files /dev/null and b/Help & API/_old_v2_encryption_Help.docx differ diff --git a/Help & API/_old_v2_evaluation_Help.docx b/Help & API/_old_v2_evaluation_Help.docx new file mode 100644 index 0000000..39bb999 Binary files /dev/null and b/Help & API/_old_v2_evaluation_Help.docx differ diff --git a/Help & API/_old_v2_guild_Help.docx b/Help & API/_old_v2_guild_Help.docx new file mode 100644 index 0000000..a335f09 Binary files /dev/null and b/Help & API/_old_v2_guild_Help.docx differ diff --git a/Help & API/_old_v2_healthCard_Help.docx b/Help & API/_old_v2_healthCard_Help.docx new file mode 100644 index 0000000..a631dcd Binary files /dev/null and b/Help & API/_old_v2_healthCard_Help.docx differ diff --git a/Help & API/_old_v2_healthCompliance_Help.docx b/Help & API/_old_v2_healthCompliance_Help.docx new file mode 100644 index 0000000..0724cd9 Binary files /dev/null and b/Help & API/_old_v2_healthCompliance_Help.docx differ diff --git a/Help & API/_old_v2_helpService_Help.docx b/Help & API/_old_v2_helpService_Help.docx new file mode 100644 index 0000000..715de7c Binary files /dev/null and b/Help & API/_old_v2_helpService_Help.docx differ diff --git a/Help & API/_old_v2_isic.docx b/Help & API/_old_v2_isic.docx new file mode 100644 index 0000000..66c617e Binary files /dev/null and b/Help & API/_old_v2_isic.docx differ diff --git a/Help & API/_old_v2_isic_Help.docx b/Help & API/_old_v2_isic_Help.docx new file mode 100644 index 0000000..97509b0 Binary files /dev/null and b/Help & API/_old_v2_isic_Help.docx differ diff --git a/Help & API/_old_v2_jobHistory.docx b/Help & API/_old_v2_jobHistory.docx new file mode 100644 index 0000000..e611dee Binary files /dev/null and b/Help & API/_old_v2_jobHistory.docx differ diff --git a/Help & API/_old_v2_level_help.docx b/Help & API/_old_v2_level_help.docx new file mode 100644 index 0000000..c8ab4ca Binary files /dev/null and b/Help & API/_old_v2_level_help.docx differ diff --git a/Help & API/_old_v2_menu_Help.docx b/Help & API/_old_v2_menu_Help.docx new file mode 100644 index 0000000..b66da9f Binary files /dev/null and b/Help & API/_old_v2_menu_Help.docx differ diff --git a/Help & API/_old_v2_question_Help.docx b/Help & API/_old_v2_question_Help.docx new file mode 100644 index 0000000..8f10548 Binary files /dev/null and b/Help & API/_old_v2_question_Help.docx differ diff --git a/Help & API/_old_v2_report_Help.docx b/Help & API/_old_v2_report_Help.docx new file mode 100644 index 0000000..ee4db0e Binary files /dev/null and b/Help & API/_old_v2_report_Help.docx differ diff --git a/Help & API/_old_v2_samplingItems_Help.docx b/Help & API/_old_v2_samplingItems_Help.docx new file mode 100644 index 0000000..370349f Binary files /dev/null and b/Help & API/_old_v2_samplingItems_Help.docx differ diff --git a/Help & API/_old_v2_sms_Help.docx b/Help & API/_old_v2_sms_Help.docx new file mode 100644 index 0000000..f7793bf Binary files /dev/null and b/Help & API/_old_v2_sms_Help.docx differ diff --git a/Help & API/_old_v2_sso_Help.docx b/Help & API/_old_v2_sso_Help.docx new file mode 100644 index 0000000..ebd7f49 Binary files /dev/null and b/Help & API/_old_v2_sso_Help.docx differ diff --git a/Help & API/_old_v2_unit_Help.docx b/Help & API/_old_v2_unit_Help.docx new file mode 100644 index 0000000..a846941 Binary files /dev/null and b/Help & API/_old_v2_unit_Help.docx differ diff --git a/Help & API/_old_v2_user_Help.docx b/Help & API/_old_v2_user_Help.docx new file mode 100644 index 0000000..5a53ba6 Binary files /dev/null and b/Help & API/_old_v2_user_Help.docx differ diff --git a/Help & API/_old_v2_waterSupply_Help.docx b/Help & API/_old_v2_waterSupply_Help.docx new file mode 100644 index 0000000..b9c8251 Binary files /dev/null and b/Help & API/_old_v2_waterSupply_Help.docx differ diff --git a/Help & API/activation.docx b/Help & API/activation.docx new file mode 100644 index 0000000..396eb94 Binary files /dev/null and b/Help & API/activation.docx differ diff --git a/Help & API/book.docx b/Help & API/book.docx new file mode 100644 index 0000000..a59a240 Binary files /dev/null and b/Help & API/book.docx differ diff --git a/Help & API/category.docx b/Help & API/category.docx new file mode 100644 index 0000000..5e7219c Binary files /dev/null and b/Help & API/category.docx differ diff --git a/Help & API/comment.docx b/Help & API/comment.docx new file mode 100644 index 0000000..e338242 Binary files /dev/null and b/Help & API/comment.docx differ diff --git a/Help & API/commentLike.docx b/Help & API/commentLike.docx new file mode 100644 index 0000000..c3e8989 Binary files /dev/null and b/Help & API/commentLike.docx differ diff --git a/Help & API/content.docx b/Help & API/content.docx new file mode 100644 index 0000000..8f4b1e4 Binary files /dev/null and b/Help & API/content.docx differ diff --git a/Help & API/~$mment user-story.docx b/Help & API/~$mment user-story.docx new file mode 100644 index 0000000..dd6a13b Binary files /dev/null and b/Help & API/~$mment user-story.docx differ diff --git a/Sofware Architecture/README.md b/Sofware Architecture/README.md new file mode 100644 index 0000000..e69de29 diff --git a/Sofware Architecture/v2_SoftwareArchitecture.docx b/Sofware Architecture/v2_SoftwareArchitecture.docx new file mode 100644 index 0000000..d9d61a6 Binary files /dev/null and b/Sofware Architecture/v2_SoftwareArchitecture.docx differ diff --git a/business rules/offCode business rules.docx b/business rules/offCode business rules.docx index 94d9d4d..649876a 100644 Binary files a/business rules/offCode business rules.docx and b/business rules/offCode business rules.docx differ diff --git a/document.js b/document.js new file mode 100644 index 0000000..4b2698b --- /dev/null +++ b/document.js @@ -0,0 +1,55 @@ +const doc = { + main: { + document: 'سرویس فعالسازی', + introduction: 'سرویس فعالسازی امکان فعالسازی قابلیت های AR و QR را برای کاربران ایجاد میکند. کاربران با استفاده از این سرویس به محتوای آن محصول دسترسی پیدا خواهند نمود' + }, + items: [ + { + description: 'افزودن کد فعالسازی', + route: 'https://{{base_url}}/activation/add', + method: 'POST', + isPublic: false, + enteries: [ + { key: 'productId', type: 'integer', required: true, desc: 'شناسه محصول' }, + { key: 'count', type: 'integer', required: true, desc: 'تعداد' }, + { key: 'format', type: 'string', required: false, desc: 'فرمت' }, + { key: 'isDemo', type: 'boolean', required: false, desc: 'کدها دمو است؟' }, + ], + response: {}, + sample: [ + { productId: 3, count: 100, format: null, isDemo: false }, + { productId: 2, count: 10, format: null, isDemo: true }, + ] + }, + // -- + { + description: 'دریافت اطلاعات کد فعالسازی', + route: 'https://{{base_url}}/activation/info', + method: 'GET', + isPublic: false, + enteries: [ + { key: 'activationCode', type: 'string', required: true, desc: 'متن کد فعالسازی' }, + ], + response: [ + { key: 'id', type: 'integer', required: true, desc: 'شناسه کد' }, + { key: 'pid', type: 'integer', required: false, desc: 'شناسه بالا دست' }, + { key: 'ord', type: 'integer', required: false, desc: 'ترتیب' }, + { key: 'bookId', type: 'integer', required: true, desc: 'شناسه کتاب' }, + { key: 'productId', type: 'integer', required: true, desc: 'شناسه محصول' }, + { key: 'userProductId', type: 'integer', required: false, desc: 'شناسه محصول کاربر' }, + { key: 'activationCode', type: 'string', required: true, desc: 'متن کد' }, + { key: 'status', type: 'integer', required: true, desc: 'وضعیت' }, + { key: 'special', type: 'boolean', required: true, desc: 'کدهای خاص' }, + { key: 'productIds', type: 'integer', required: false, desc: 'شناسه محصولات' }, + { key: 'duration', type: 'integer', required: false, desc: 'مدت اعتبار' }, + { key: 'createdAt', type: 'timestamp', required: true, desc: 'تاریخ ایجاد' }, + { key: 'updatedAt', type: 'timestamp', required: true, desc: 'تاریخ ویرایش' }, + { key: 'deletedAt', type: 'timestamp', required: false, desc: 'تاریخ حذف' } + ], + sample: [ + { activationCode: 'o8-0ogehds98q2oklry' }, + ] + } + ] + +} \ No newline at end of file