openapi: 3.0.0
info:
  title: Olin
  version: 1.0.0
servers:
  - url: https://staging-master.olin.co.id
  - url: localhost://
  - url: http://{{staging-account}}
  - url: https://staging-account.olin.co.id
  - url: https://staging-product.olin.co.id
  - url: http://{{staging-product}}
  - url: http://{{staging-pos}}
  - url: https://staging-pos.olin.co.id
  - url: https://staging-backstage.olin.co.id
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    noauthAuth:
      type: http
      scheme: noauth
tags:
  - name: Master Data
  - name: Master Data > Address
  - name: Master Data > Voucher
  - name: Master Data > Payment Virtual Account
  - name: Master Data > Payment Credit
  - name: Master Data > Billing
  - name: Upload/ Remove Media
  - name: Account
  - name: Account > Login
  - name: Backstage
  - name: User Management
  - name: Authorization
  - name: Update Verify Data by BM
  - name: Inventory
  - name: OTP
  - name: POS
  - name: POS > Get List Shift
  - name: existing-user
  - name: Backstage-febri-local
  - name: Backstage-febri-local > Article
  - name: Cronjob
  - name: Subscription
  - name: Discount/promo
paths:
  /v1/province:
    get:
      tags:
        - Master Data > Address
      summary: Get List Province
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: name
          in: query
          schema:
            type: string
          example: 'DKI '
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/city:
    get:
      tags:
        - Master Data > Address
      summary: Get List City
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: name
          in: query
          schema:
            type: string
          example: Jakarta Barat
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/district:
    get:
      tags:
        - Master Data > Address
      summary: Get List District
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: city_id
          in: query
          schema:
            type: integer
          example: '159'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/sub_district:
    get:
      tags:
        - Master Data > Address
      summary: Get List SubDistrict
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: district_id
          in: query
          schema:
            type: integer
          example: '1974'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /001/v1/add/voucher:
    post:
      tags:
        - Master Data > Voucher
      summary: create voucher
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                min_shopping: 500000
                voucher_code: 12.12OLINFLASH!!!
                shipping_requirement: 1
                principle_requirement: 1
                voucher_discount: 50
                voucher_price: 500000
                voucher_expired: '2022-11-25'
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /001/v1/voucher:
    get:
      tags:
        - Master Data > Voucher
      summary: Get Vouchers
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Thu, 24 Nov 2022 17:36:04 GMT
            Content-Length:
              schema:
                type: integer
                example: '646'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: successfully get voucher
                  id: berhasil mendapatkan data voucher
                detail:
                  - id: 1
                    company_id: 497
                    min_shopping: 500000
                    voucher_code: 12.12OLINFLASH!!!
                    shipping_requirement: 1
                    principle_requirement: 1
                    voucher_discount: 50
                    voucher_price: 500000
                    voucher_expired: '2022-11-25T00:00:00Z'
                    created_at: '2022-11-24T17:20:57.589533Z'
                  - id: 2
                    company_id: 497
                    min_shopping: 10000
                    voucher_code: YUKBELANJADENGANOLIN!
                    shipping_requirement: 1
                    principle_requirement: 1
                    voucher_discount: 50
                    voucher_price: 1000000
                    voucher_expired: '2022-11-25T00:00:00Z'
                    created_at: '2022-11-24T17:36:00.708284Z'
  /001/v1/add/payment/va:
    post:
      tags:
        - Master Data > Payment Virtual Account
      summary: create payment va
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                name_va: btn
                number_va: '094127415666231'
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /001/v1/payment/va:
    get:
      tags:
        - Master Data > Payment Virtual Account
      summary: get payments va
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Thu, 24 Nov 2022 18:08:06 GMT
            Content-Length:
              schema:
                type: integer
                example: '441'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: successfully get payment
                  id: berhasil mendapatkan data payment
                detail:
                  - id: 1
                    company_id: 497
                    name_va: mandiri
                    number_va: '95192647159214'
                    created_at: '0001-01-01T00:00:00Z'
                  - id: 2
                    company_id: 497
                    name_va: bca
                    number_va: '0010582159214'
                    created_at: '0001-01-01T00:00:00Z'
                  - id: 1
                    company_id: 497
                    name_va: btn
                    number_va: '094127415666231'
                    created_at: '0001-01-01T00:00:00Z'
  /001/v1/payments:
    get:
      tags:
        - Master Data > Payment Virtual Account
      summary: get payments detail
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Fri, 25 Nov 2022 06:46:37 GMT
            Content-Length:
              schema:
                type: integer
                example: '1030'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success to get payment method
                  id: berhasil mengambil tipe pembayaran
                detail:
                  type_payment_va: virtual account
                  payment_virtual_account:
                    - id: 1
                      company_id: 497
                      name_va: mandiri
                      number_va: '95192647159214'
                      created_at: '0001-01-01T00:00:00Z'
                      type_payment_method_id: virtual account
                    - id: 2
                      company_id: 497
                      name_va: bca
                      number_va: '0010582159214'
                      created_at: '0001-01-01T00:00:00Z'
                      type_payment_method_id: virtual account
                    - id: 1
                      company_id: 497
                      name_va: btn
                      number_va: '094127415666231'
                      created_at: '0001-01-01T00:00:00Z'
                      type_payment_method_id: virtual account
                  type_payment_credit: credit
                  payment_credit:
                    - id: 1
                      company_id: 497
                      name_cr: btn
                      created_at: '0001-01-01T00:00:00Z'
                      type_payment_method_id: credit
                    - id: 3
                      company_id: 497
                      name_cr: bca
                      created_at: '0001-01-01T00:00:00Z'
                      type_payment_method_id: credit
                    - id: 4
                      company_id: 497
                      name_cr: mandiri
                      created_at: '0001-01-01T00:00:00Z'
                      type_payment_method_id: credit
  /001/v1/add/payment/cr:
    post:
      tags:
        - Master Data > Payment Credit
      summary: create payment cr
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                name_cr: btn
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /001/v1/payment/cr:
    get:
      tags:
        - Master Data > Payment Credit
      summary: get payments cr
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Fri, 25 Nov 2022 02:03:41 GMT
            Content-Length:
              schema:
                type: integer
                example: '235'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: successfully get payment credit
                  id: berhasil mendapatkan data payment credit
                detail:
                  - id: 1
                    company_id: 497
                    name_cr: btn
                    created_at: '0001-01-01T00:00:00Z'
                    type_payment_method_id: 3
  /001/v1/add/billing:
    post:
      tags:
        - Master Data > Billing
      summary: create billing for apotek
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                amount: 2500000
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /001/v1/billing/check:
    post:
      tags:
        - Master Data > Billing
      summary: check billing
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                total_purchase: 750000
                length_month: 3
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /001/v1/billing:
    get:
      tags:
        - Master Data > Billing
      summary: get amount billing
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Thu, 24 Nov 2022 18:08:06 GMT
            Content-Length:
              schema:
                type: integer
                example: '441'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: successfully get payment
                  id: berhasil mendapatkan data payment
                detail:
                  - id: 1
                    company_id: 497
                    name_va: mandiri
                    number_va: '95192647159214'
                    created_at: '0001-01-01T00:00:00Z'
                  - id: 2
                    company_id: 497
                    name_va: bca
                    number_va: '0010582159214'
                    created_at: '0001-01-01T00:00:00Z'
                  - id: 1
                    company_id: 497
                    name_va: btn
                    number_va: '094127415666231'
                    created_at: '0001-01-01T00:00:00Z'
  /v1/bank:
    get:
      tags:
        - Master Data
      summary: Get List Bank
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: name
          in: query
          schema:
            type: string
          example: BCA
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /role:
    get:
      tags:
        - Master Data
      summary: Get Role
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/business_field:
    get:
      tags:
        - Master Data
      summary: Get Business Field
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/product/category:
    get:
      tags:
        - Master Data
      summary: Get Product Category
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/product/label:
    get:
      tags:
        - Master Data
      summary: Get Product Label
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/product/principal:
    get:
      tags:
        - Master Data
      summary: Get Product Principal
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/title:
    get:
      tags:
        - Master Data
      summary: Get Title
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/upload/image:
    post:
      tags:
        - Upload/ Remove Media
      summary: Upload Image
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                image:
                  type: string
                  format: binary
                type:
                  type: string
                  example: public
                datasource:
                  type: string
                  example: company
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/upload/file:
    post:
      tags:
        - Upload/ Remove Media
      summary: Upload File
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                type:
                  type: string
                  example: public
                datasource:
                  type: string
                  example: company
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/file/remove:
    delete:
      tags:
        - Upload/ Remove Media
      summary: Remove Media
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /235/v1/pos/login:
    post:
      tags:
        - Account > Login
      summary: POS Login (JEFRI)
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"email\": \"febriandani196@gmail.com\",\n   
                \"password\": \"junior356\"\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Mon, 14 Nov 2022 01:46:37 GMT
            Content-Length:
              schema:
                type: integer
                example: '104'
          content:
            application/json:
              schema:
                type: object
              example:
                status: fail
                message:
                  en: user not have access this site
                  id: pengguna tidak memiliki akses
  /pos/login:
    post:
      tags:
        - Account
      summary: POS Login (Staging)
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"email\": \"jefri.arnanda@pharmaniaga.tech\",\n   
                \"password\": \"password\"\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Mon, 14 Nov 2022 01:46:37 GMT
            Content-Length:
              schema:
                type: integer
                example: '104'
          content:
            application/json:
              schema:
                type: object
              example:
                status: fail
                message:
                  en: user not have access this site
                  id: pengguna tidak memiliki akses
  /v1/pos/user/detail:
    get:
      tags:
        - User Management
      summary: POS Get User Detail
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjgxMzEwMzgsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiI0NmM1MjBiMmRjYWQ5M2E1YmJmNmU0ODc4NjNiYTFlYjkzMDcwYWRmNGMwZmFiYzVkZDgyZDRjMzViYTgyZjNjMWM0NGFhZmRlMTc3ZTJhNTg2MzUyZDRkYmI2MTcxMjRmMTZiMWYwODg3NjNjZWI2MWMwNDUzNjhhY2YxMGEzZDc1MWQ5NjQ2MzFjYTNhN2FmYTBhYzExNzk4OTlhZGI1MzY0NzI2ZjlhYjczMzdlNjRlZGI2ZjQzZmUyYWRkODU1Yjk0NzA0N2YwZjI2OWUzNGFiMGMwZTJlNTg1MGVhZjE1Y2JlZDVkNmY4Yjk4NzgzZTNkZmIxYzA4MTE2MTAyYTE4YmE5In0.QU7gylNE3VXSQ2omA16rz1I2UCxD0NmuUPqK8cVqdik
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /235/v1/get/profile:
    get:
      tags:
        - Account
      summary: Get User Profile
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Sun, 13 Nov 2022 14:41:24 GMT
            Content-Length:
              schema:
                type: integer
                example: '185'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil
                detail:
                  id: 931
                  full_name: staf testing ganti password
                  email: febriandani176@gmail.com
                  phone: '+6282257381603'
  /v1/get/detail/information:
    get:
      tags:
        - Account
      summary: Get Detail Information
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Sun, 13 Nov 2022 16:54:37 GMT
            Content-Length:
              schema:
                type: integer
                example: '542'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil
                detail:
                  information_account:
                    no_faktur: ''
                    company_name: Apotek pondok cabe 2 raya testing fixing
                    business_address: jalan mawar 1
                  information_company:
                    business_field: Apotik
                    npwp: '1234567'
                    nib: '12345678'
                    surat_izin: PERM1234
                    masa_berlaku_surat_izin: '2023-06-01'
                    phone: '+6282257381603'
                    owner_name: sarah
                    owner_id: '1910114213'
                  file_company:
                    files:
                      ktp: ''
                      izin: ''
                      spesimen_signature: ''
                      type_ktp: ''
                      type_izin: ''
                      type_signature: ''
  /v1/get/detail/information/user:
    get:
      tags:
        - Account
      summary: Get Detail Information User
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Server:
              schema:
                type: string
                example: nginx/1.18.0 (Ubuntu)
            Date:
              schema:
                type: string
                example: Mon, 14 Nov 2022 10:09:22 GMT
            Content-Type:
              schema:
                type: string
                example: application/json
            Content-Length:
              schema:
                type: integer
                example: '298'
            Connection:
              schema:
                type: string
                example: keep-alive
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil
                detail:
                  name: sarah
                  no_sipa: 12312asasdaf145125
                  masa_berlaku_sipa: '2023-10-11'
                  roles:
                    - 1
                    - 2
                    - 3
                    - 4
                    - 5
                    - 6
                    - 7
                  document_sipa:
                    ktp: https://img.icons8.com/color/2x/golang.png
                    npwp: https://img.icons8.com/color/2x/golang.png
  /pos/registration:
    post:
      tags:
        - Account
      summary: POS Registration
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"email\": \"testting_typee3sasdd212@olin.co.id\",\n   
                \"password\": \"password23\",\n    \"company\": {\n       
                \"business_field_id\": 1,\n        \"name\": \"Apotek pondok
                cabe 3 raya testing fixing\",\n        \"npwp\": {\n           
                \"number\": \"1234567\",\n            \"address\": \"jalan mawar
                1 lebak bulus\",\n            \"province_id\": 11,\n           
                \"city_id\": 159,\n            \"district_id\":
                1967,\n            \"zipcode\": \"123456\"\n        },\n       
                \"business\": {\n            \"address\": \"jalan mawar
                1\",\n            \"province_id\": 11,\n            \"city_id\":
                159,\n            \"district_id\": 1967,\n           
                \"zipcode\": \"123456\"\n        },\n        \"phone\":
                \"+6282257381603\",\n        \"nib\": \"12345678\",\n       
                \"sipnap_code\": \"CODE123\",\n        \"permission_letter_id\":
                \"PERM1234\",\n        \"permission_letter_expired\":
                \"2023-06-01\",\n        \"bank\": \"BCA\",\n       
                \"bank_account_name\": \"Pharmaniaga\",\n       
                \"bank_account_number\": \"123456\",\n        \"files\":
                {\n            \"nib\":
                \"https://img.icons8.com/color/2x/golang.png\",\n           
                \"izin_sarana\":
                \"https://img.icons8.com/color/2x/golang.png\",\n           
                \"stempel_sarana\":
                \"https://img.icons8.com/color/2x/golang.png\",\n           
                \"npwp\":
                \"https://www.africau.edu/images/default/sample.pdf\"\n       
                }\n    },\n    \"owner\": {\n        \"name\":
                \"sarah\",\n        \"id\": \"1910114213\",\n        \"phone\":
                \"+6282257381603\",\n        \"npwp\": \"1234567890\",\n       
                \"email\": \"salva3@gmail.com\",\n        \"files\":
                {\n            \"type_ktp\" : \"image\",\n            \"ktp\":
                \"https://img.icons8.com/color/2x/golang.png\",\n           
                \"npwp\":
                \"https://img.icons8.com/color/2x/golang.png\",\n           
                \"type_npwp\" : \"files\"\n        }\n    },\n    \"staff\":
                [\n        {\n            \"title_id\": 6,\n           
                \"role\": [1,2,3,4,5],\n            \"password\":
                \"password\",\n            \"fullname\": \"staf testing ganti
                password\",\n            \"sipa_id\": \"12345\",\n           
                \"sipa_expired\": \"2022-06-06\",\n            \"phone\":
                \"+6282257381603\",\n            \"email\":
                \"actasdasdaasd@gmail.com\",\n            \"files\":
                {\n                \"ktp\":
                \"https://img.icons8.com/color/2x/golang.png\",\n               
                \"izin\":
                \"https://img.icons8.com/color/2x/golang.png\",\n               
                \"spesimen_signature\":
                \"https://img.icons8.com/color/2x/golang.png\"\n           
                }\n        }\n    ]\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: type
          in: query
          schema:
            type: boolean
          example: 'true'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /235/v1/pos/account/detail:
    get:
      tags:
        - Account
      summary: POS Get Account Detail
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/user/exist:
    post:
      tags:
        - existing-user
      summary: Check Company Status By Email
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"email\": \"febriandani1746@gmail.com\",\n   
                \"is_use_otp\": true\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/password/forgot:
    post:
      tags:
        - Account
      summary: POS Forgot Password
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"email\": \"aulia.rahmani@pharmaniaga.tech\",\n   
                \"new_password\": \"password\"\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/password/change:
    post:
      tags:
        - Account
      summary: POS Change Password
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"email\": \"aulia.rahmani@pharmaniaga.tech\",\n   
                \"new_password\": \"password\",\n    \"current_password\":
                \"password\"\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjAyMDg2ODEsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiJhYWE3NDc2ZDEyMDQzY2FlZGFhZDc3MmFhYzBhZDlkNjBlZTJjMmUwMjYyNTRhOGUzM2Y2ZjkyMmIyOTA1NGQ1MjE5YTliNzUyYmU0NDI4Y2Y5OWVjZjcxZmFhYjdiNDc0NGY5MzI1OWI0OTBkZDkxOTNjNWMwNjIyOWU3MDJlZGI3ODI1MjkwY2Q3ZWZhNTRjOGM2ZDJmNWU4N2Y0NTc0MzVlNjg1MTQzODFjYTI3NzRmZDhmNmY1N2MzNTcyNDY1MTQ2ODJlOTA1NDE5ZGYwIn0.v9Lp2loch7XdjKggNINofcMmD6IRZWlcyCMIeuQwjtU
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/email/change:
    put:
      tags:
        - Account
      summary: POS Change Email
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: '"{\n    \"email\": \"daniUpdate@mail.com\"\n}"'
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjAyMTc5MDAsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiJiMDc4ZDZhM2FjYjZhYWE4Y2ZkNmJjMWY0NzQyNWE5MWFmMWQxNWZhMGMxZjgwYjljYTA4Y2Y4ZjY0OTZjNDY3YzdmYzIxMWRhOTUwNTk3YzIwMjdlMTEyZmYzZDUwNWY3NDNkOGE0ZDQ4NmFhYTVmMjU0ZjlmZGE4Y2Q0NDQ3ZjQ1OGYzNjM4YTRlY2QwNTM4MTE3YWM1Njg2Y2U5ZWY2MTdlMzc3YjI2MjQ4Zjc2ZTAzMjhjNDIxNTVlYjExNzRkMzA1NzQ3NjhiNmVkMWJhYTUifQ.2Qfhz9mkkBWR88a5ZNhAfBWiZd7wsA0RuH0eOUPUE-QeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjczMDA5MjgsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiJiMzMwOGI5Y2E5ZGYxY2M5NTg0MjI0NDQzNTdjMWI2NDdmZjRiZmIyZjQ5NDcxODcxNGE3NzkyMDI3MTRjNmNjNmRmODg3ZTczMTA1M2E4ZjQ2MWJhOTQ0ZjIwNDk2MWNiNDQzODZkNDJkODgyNjIxMGNiZDBhNTU5M2E4ZGZjMDU3N2Y5OTE1MTA4ZmY0MGE1ZDVmNTU0N2I5YjhjNjQ1NjQ0OWYzZDQ0ZDRhM2YwOWVjYWY0ZTQ3NTM1YzZkMDAwOGZmNzdiZjhjYjNmOTFkOGEifQ.bs-u2wYgm-HngBTV6hd-f5ddVYpvWgjcBGxOOi53IWo
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/phone/change:
    put:
      tags:
        - Account
      summary: POS Change Phone
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: '"{\n    \"phone\": \"+6282257381603\"\n}"'
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjAyNDA0NzgsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiI5NmMxZmQwZjJkMDkzMzkwZDhkZGIxOGMxOThkMjRlY2ZjZTA4N2QwZGYxMmQ1ZTUyOWFhNjFiNGM1NTIyMmQzYmMzMmU0NDNlZmYwMzFhM2YxYzNkZjQxZDIxYTA4Yzg2NTRjZjZhYTUwYTI5MjVhOTUwNGIwMGE1OGVmMDEzODU3YTQyZTg2MjkzY2MyY2ZlM2MxNmRhYWYyODNjN2U0MGEyMDc5NDAxMDgzMzhjMmE2MTc5YjhkZDhkNjBjZTJlZTA0NDAxZjI0Yzk5NWJjMzc3OWZhMGE3M2ExZDliYmRlZmY0YzllNDc0OTI5ZTAifQ.OX-3Rq8lG-_3bqPblA5dGC54Teck3jzSmHLCkINJ25o
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/notification/change:
    put:
      tags:
        - Account
      summary: POS Change Notification
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"detail\": [\n        {\n            \"notif_type\":
                \"email\",\n            \"priority\": 1\n        }\n    ]\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjA1NDUyMzIsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiI5NmMxZmQwZjJkMDkzMzkwZDhkZGIxOGMxOThkMjRlY2ZjZTA4N2QwZGYxMmQ1ZTUyOWFhNjFiNGM1NTIyMmQzYmMzMmU0NDNlZmYwMzFhM2YxYzNkZjQxZDIxYTA4Yzg2NTRjZjZhYTUwYTI5MjVhOTUwNGIwMGE1OGVmMDEzODU3YTQyZTg2MjkzY2MyY2ZlM2MxNmRhYWYyODNjN2U0MGEyMDc5NDAxMDgzMzhjMmE2MTc5YjhkZDhkNjBjZTJlZTA0NDAxZjI0Yzk5NWJjMzc3OWZhMGE3M2ExZDliYmRlZmY0YzllNDc0OTI5ZTAifQ.jAlytb-5byRewxGB-QrYTLdajvVC8HEjdWE77vOf7mE
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/user/activation:
    post:
      tags:
        - User Management
      summary: POS User Activation
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n   \"email\": \"olinteststaff01@gmail.com\",\n  
                \"is_active\": false\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2Njg3NDIyNjQsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiJiNjNlNzljNTdmYzJlNjM1MTY3NzkxMDI3OWFlNzNjZjI0MzNhOGI1MTg3OTJlYWU3OGViNTQzZTg0NWJlNDAzY2RmNTY2NjlkOWZhNzhmNzA2N2U3YWY2N2E3MzJlZTZkNTM0NjU0YzU2MTFkZDk3YmQ2NmI4MjM1NzY5YjdjMzZjNDEwZGM4YmZhMWJkZGI3YzI1YzRhOTkxZjVlODIxOWY2M2Q1OTg0MTBmMzc2MGUwZGE0MDJjNGY0NjliMzY0MjI0NmQxZGY2MjRkNTg4Y2ZhMmU2OTBjZjZiNGM3ZTQ4NTY5NTMxMmYwMzFmMzI4ZCJ9.rTfCOpxYcJJx8s7fbT826TvehozjxHSTUSibo-6Jxdc
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/role/change:
    put:
      tags:
        - User Management
      summary: POS Update Role
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: '"{\n   \"role\": [2,3,4]\n}"'
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjkxMTg0MzcsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiJhZjc0YWZmYWJmNGM4NmUzOTIxNWExZDZhMDVjMjY3ZGMyYjExZDY1NDc2YWU4Mzc3OTBkN2Q3ZGQ1NTI4NDE0YTE5Njk2MzlmYzI5NDg4NWIwZWYyM2ZiNGJkNzUzYzAyMjRhN2QyNzUzZGNhYjM1MDE0ZTQxODI2OTljNGNkM2MxZjQ3YTRjZmVhMWIyMWM1ODg5NmY4ZjgwOTdiYWEwNzBhMGFlZGRjZjBhOGJlMmMyNjZiZWMxODEyMTY0ODhkMTA0YmExNmIxMjZiYjFlMTExYjg5OTk5YmUzNTk3YjFjMjZhNjA4MWE2OGJmYmNmNGNjYTUwNGM3NjZiZjZjOWQ2ZmRlIn0.vNYGBV0-kYr9CTyHVREecJiC7rWw_klQjhSqyXYdo18
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/user/info:
    get:
      tags:
        - User Management
      summary: POS Get Other User Detail
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjU1MDc4NDUsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiIxNjczMTVhMTc3YWQ5YmI3NjhhNWI3ZmRiNTJhNGVhNGVlZjVjZjM2MDkxOTI2OGUzZGNhNTM5ZDA5NDUxZTExY2E4NjlmYzU0ZWYzZmU0NjM5Nzk4YWRmY2E0ZGE4MDg2ZDNiNjc0NDg5YzcxZjg3MjcxMmFhZThmYTQwN2JkNTRkYjBmMWMzZjFkZDk5ZDI4MDlhN2RlNzU2NzkxNjFmN2QxOWUyOWMyMTJiMTcxNTJjYTgxZDBmNzkyMjkxOTU4NDU2NjIyOTQ0MGNkMzg0MjEifQ.VJhdWii5t612jabGYk4-R4yMVPyxSWNG7YeEE29xiuI
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: email
          in: query
          schema:
            type: string
          example: lala03@olin.co.id
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/user/status:
    get:
      tags:
        - User Management
      summary: POS Get User Status
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2Njg3NDIwNzcsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiI4MjNjNWFkYzljYmRmNDI2MDEwZTRkNzliMGYyMDkzNGU0NjQxOWFiM2ZkZDAyOGZhNjY5MGIzY2RhNjQzMmFjNTJkMjg2ZWUzYzQyYjI0ZGFmYTY4MjVlZTgxZTBlMThjZGYwY2ZmYmZjZmU5MDE2YTYxZjk1Nzk0Yzg2ODZiZmNjNzIwNWQ2YzY0ZjYwMWMzMDg3ZWFiYTdjZGQ2ZTkwM2ZjNzI0NGZiOTcyY2RiNjEzNjY4MDI0ZTVhYzgyNDc3ZmQ1NTNiODM1Zjk2YzE2OGMxOTJmNzYxYTQ1YTQ1MzRmNDA5YmVkYjFlN2EzYzk4MyJ9.7p79nP5higH76O4fLj4dRenv9HBKalDGpvb9pbIvpXk
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/backoffice/login:
    post:
      tags:
        - Backstage
      summary: Backstage Login
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"email\": \"aulia.rahmani@pharmaniaga.tech\",\n   
                \"password\": \"password\"\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/user:
    post:
      tags:
        - User Management
      summary: POS Get List User
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: '"{\n   \"limit\": 2,\n   \"offset\": 0\n}"'
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjgxMzEwMzgsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiI0NmM1MjBiMmRjYWQ5M2E1YmJmNmU0ODc4NjNiYTFlYjkzMDcwYWRmNGMwZmFiYzVkZDgyZDRjMzViYTgyZjNjMWM0NGFhZmRlMTc3ZTJhNTg2MzUyZDRkYmI2MTcxMjRmMTZiMWYwODg3NjNjZWI2MWMwNDUzNjhhY2YxMGEzZDc1MWQ5NjQ2MzFjYTNhN2FmYTBhYzExNzk4OTlhZGI1MzY0NzI2ZjlhYjczMzdlNjRlZGI2ZjQzZmUyYWRkODU1Yjk0NzA0N2YwZjI2OWUzNGFiMGMwZTJlNTg1MGVhZjE1Y2JlZDVkNmY4Yjk4NzgzZTNkZmIxYzA4MTE2MTAyYTE4YmE5In0.QU7gylNE3VXSQ2omA16rz1I2UCxD0NmuUPqK8cVqdik
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/user/add:
    post:
      tags:
        - User Management
      summary: POS Add New User Staff
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"title_id\": 4,\n    \"role\": [2,3,4,5],\n   
                \"fullname\": \"Lala Tester\",\n    \"phone\":
                \"+628225738160301\",\n    \"email\":
                \"testolin002@olin.co.id\"\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2Njg3NDE3ODQsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiI3Y2Y5OTllMTIxMmFhMzIwZjBmYzIzNzNjNzVjY2VlOWY1MmExZjUxZDk3N2Q2YmMzYzE5MDNkM2U3OWE5MGRjZTUzNGYzNzcyOTExMTI3ZGE2NjdjNzRmZGE5M2YzM2UzMDRjMDI2YTQ5MWQwMDVjYjE2Zjc5NDRmY2M3ZWRmNjI3MzY1MDdkY2RhNzkxMzM2MmFkMmY1NTlhZDQwN2JkNTMzNTcwNDM2M2Y1Y2NiZjdkN2YxNjdiMzFiZGI1ZDdlYzk4ZDM2ZGQxZjViMzRlODI2NTcyYTJjNTA1Y2Y1ZGE3YWNiOTcyNDViNjM3MjZjOCJ9.n09ngaV0EQwAUiOmzKeUXdnpvRakIe4lthjWmO4FU1M
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/token/renew:
    get:
      tags:
        - Authorization
      summary: Renew Token
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTE3NDI4ODEsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiJhYWE3NDc2ZDEyMDQzY2FlZGFhZDc3MmFhYzBhZDlkNjBlZTJjMmUwMjYyNTRhOGUzM2Y2ZjkyMmIyOTA1NGQ1MjE5YTliNzUyYmU0NDI4Y2Y5OWVjZjcxZmFhYjdiNDc0NGY5MzI1OWI0OTBkZDkxOTNjNWMwNjIyOWU3MDJlZGI3ODI1MjkwY2Q3ZWZhNTRjOGM2ZDJmNWU4N2Y0NTc0MzVlNjg1MTQzODFjYTI3NzRmZDhmNmY1N2MzNTcyNDY1MTQ2ODJlOTA1NDE5ZGYwIiwicmVuZXciOiJkZGMyMGFkMCJ9.jLkAB3rwIS7NhlcTJrnN96pcAw-8HUohHIHZWRM340231pIbxayhMExa_zvsVavT
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /235/v1/branchmanager/update/companies:
    put:
      tags:
        - Update Verify Data by BM
      summary: Update companies
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                sales_id: 1
                collector_id: 2
                pharmacist_id: 2
                bm_id: 3
                status: 1
                limit_order: 1000
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: string
          example: bS2n
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/reject/companies:
    put:
      tags:
        - Update Verify Data by BM
      summary: Reject Companies
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 2
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: string
          example: ai2j
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/change:
    put:
      tags:
        - Update Verify Data by BM
      summary: Change Branch and nonAktif Email Branch Sebelumya
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                cabang_nama: Jakarta Dua
                email: febriandani176@gmail.com
                alamat: jalan kembangan raya jakbar
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: company_id
          in: query
          schema:
            type: string
          example: bSOi
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager:
    get:
      tags:
        - Update Verify Data by BM
      summary: Get ALL BranchManager
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: ''
          in: header
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /235/v1/verify/data:
    get:
      tags:
        - Update Verify Data by BM
      summary: GetDataForVerifyByCompanyID
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: bm
          in: query
          schema:
            type: integer
          example: '2'
        - name: company_id
          in: query
          schema:
            type: string
          example: ai2j
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/collector:
    get:
      tags:
        - Update Verify Data by BM
      summary: GET Collector BY BM_ID
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: branch_manager_id
          in: query
          schema:
            type: integer
          example: '3'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/salesman:
    get:
      tags:
        - Update Verify Data by BM
      summary: GET Salesman BY BM_ID
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: branch_manager_id
          in: query
          schema:
            type: integer
          example: '3'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/pharmacist:
    get:
      tags:
        - Update Verify Data by BM
      summary: GET Pharmacist BY BM_ID
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: branch_manager_id
          in: query
          schema:
            type: integer
          example: '3'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /234/v1/branchmanager/idcard/owner:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_idcard_owner
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: string
          example: bSKn
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/npwp/owner:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_npwp_owner
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '226'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/ktpfile/owner:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_ktpfile_owner
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: string
          example: >-
            }2%A7%FC%B2%F53%D1%FB%AC%E60%DA%18%C0M%E0%A8%F1%5E%F1%A0%FA%0D%89%1E%BD%B9mZG
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/npwpfile/owner:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_npwpfile_owner
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '215'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/nib/sarana:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_nib_sarana
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '215'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/siu/sarana:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_siu_sarana
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '215'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/expsiu/sarana:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_expsiu_sarana
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '215'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/nibfile/sarana:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_nibfile_sarana
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '215'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/siufile/sarana:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_siufile_sarana
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '215'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/npwpfile/sarana:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_npwp_sarana
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '215'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/sipa/staff:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_sipa_staff
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '215'
        - name: staff_id
          in: query
          schema:
            type: integer
          example: '83'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/expsipa/staff:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_expsipa_staff
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '199'
        - name: staff_id
          in: query
          schema:
            type: integer
          example: '54'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/ktpfile/staff:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_ktpfile_staff
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '198'
        - name: staff_id
          in: query
          schema:
            type: integer
          example: '52'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/sipafile/staff:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_sipafile_staff
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '199'
        - name: staff_id
          in: query
          schema:
            type: integer
          example: '54'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/branchmanager/esign/staff:
    put:
      tags:
        - Update Verify Data by BM
      summary: update_status_esign_staff
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 1
                keterangan: ok
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: integer
          example: '199'
        - name: staff_id
          in: query
          schema:
            type: integer
          example: '53'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/product:
    post:
      tags:
        - Inventory
      summary: Create Product
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n \"nie_number\": \"A10QFZ6YBsd4XZB8H\",\n \"principal_id\":
                1,\n \"category_id\": 1,\n \"label_id\": 1,\n \"product_name\":
                \"Tester obat ke keempat by email
                testting_type2212@olin.co.id\",\n \"product_image\": [\n  
                \"https://s3.amazonaws.com/ecommerce-1/1.jpg\",\n  
                \"https://s3.amazonaws.com/ecommerce-1/1.jpg\"\n ],\n
                \"product_description\": {\n   \"indication\": \"Indication
                Utility\",\n   \"composition\": \"Compostion\",\n   \"dosage\":
                \"Dosage\",\n   \"usage\": \"How to use\",\n  
                \"contraindication\": \"Contraindication\",\n   \"side_effect\":
                \"Side Effect\",\n   \"storage_description\": \"How to save\"\n
                },\n \"require_prescription\": true,\n \"packaging\": {\n    
                \"type_box\":\"box\",\n     \"total_box\": 1,\n    
                \"type_strip\": \"strip\",\n     \"total_strip\": 20,\n    
                \"type_unit\": \"tablet\",\n     \"total_unit\": 10\n },\n
                \"stock\": 1000,\n \"expired_date\": \"2022-12-31\",\n
                \"price\": {\n   \"pharmacy_net_price\": 10000,\n  
                \"sell_price\": 20000,\n   \"platform_price\": [\n     {\n      
                \"platform_id\": 1,\n       \"price\": 10000\n     }\n   ]\n
                }\n}"
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/product/information:
    put:
      tags:
        - Inventory
      summary: Update Product Information
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n \"product_id\" : 40,\n \"nie_number\": \"KD8015098\",\n
                \"principal_id\": 1,\n \"category_id\": 1,\n \"label_id\": 1,\n
                \"product_name\": \"Tester Apotek Erika - ABATE 1% S.G SACHET -
                edit\",\n \"product_image\": [\n  
                \"https://s3.amazonaws.com/ecommerce-1/1.jpg\",\n  
                \"https://s3.amazonaws.com/ecommerce-1/1.jpg\"\n ],\n
                \"product_description\": {\n   \"indication\": \"Indication
                Utility\",\n   \"composition\": \"Compostion\",\n   \"dosage\":
                \"Dosage\",\n   \"usage\": \"How to use\",\n  
                \"contraindication\": \"Contraindication\",\n   \"side_effect\":
                \"Side Effect\",\n   \"storage_description\": \"How to save\"\n
                },\n \"require_prescription\": true,\n \"packaging\": {\n    
                \"type_box\":\"box\",\n     \"total_box\": 1,\n    
                \"type_strip\": \"strip\",\n     \"total_strip\": 20,\n    
                \"type_unit\": \"tablet\",\n     \"total_unit\": 10\n },\n
                \"stock\": 1000,\n \"expired_date\": \"2022-12-31\",\n
                \"price\": {\n   \"pharmacy_net_price\": 10000,\n  
                \"sell_price\": 20000,\n   \"platform_price\": [\n     {\n      
                \"platform_id\": 1,\n       \"price\": 10000\n     }\n   ]\n
                },\n\"product_inventory_id\" : 23\n}"
      security:
        - bearerAuth: []
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2Njg3NDQ2NzgsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiI4ZjY0NDIzNDRjNDNlY2ZhYjUwNTRjZDY1YjMxY2YzM2Q4NWMwNTNhNmQ0NDAwMzBmNzBjZDY1OTQxZjE4MGU3ODNmYzVkYTgxY2EzNzlmYWY2ZmFiM2FkMTFlNDVmYzk4MTUzOWNlOWM2NzI5ZDdiZWY1ZjgzNmI4NjczNzY5ODk0NTUzZTkzOGJkMzU5YmMwOWE2YjExMWYyYTNjZDYyZDM1ZWIxMGY5ZGZiYzNmOGQzYjA4M2E4YjNjZTIzMjQ5N2I5ZmQ2NWI3NTE5Y2FmM2IifQ.yHD5l9_xDPehGhzmHCJ-CPKrf9hI1kpFbpPYzhJO7NM
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /003/v1/product/update:
    post:
      tags:
        - Inventory
      summary: Update Price or stock product
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: '"{\n \"sell_price\" : 90000,\n \"stock\" : 250000\n}"'
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: id
          in: query
          schema:
            type: integer
          example: '15'
        - name: price
          in: query
          schema:
            type: integer
          example: '5000'
        - name: stock
          in: query
          schema:
            type: integer
          example: '2500'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /003/v1/product/status:
    put:
      tags:
        - Inventory
      summary: Update Status product
      description: |-
        Status Product ID

        1 = "active"  
        2 = "inactive"  
        3 = "out of stock"  
        4 = "hold"  
        5 = "expired"  
        6 = "deleted"
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: '"{\n \"product_id\" : [21,18],\n \"status\" : \"active\"\n}"'
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /003/v1/product/expired:
    get:
      tags:
        - Inventory
      summary: Get Data Expired
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /003/v1/product/inventory:
    post:
      tags:
        - Inventory
      summary: Update Information Product (tidak aktif
      requestBody:
        content: {}
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: id
          in: query
          schema:
            type: integer
          example: '12'
        - name: product_name
          in: query
          schema:
            type: string
          example: update
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /003/v1/product:
    delete:
      tags:
        - Inventory
      summary: Delete Product
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/product/detail:
    get:
      tags:
        - Inventory
      summary: Get Products detail
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: id
          in: query
          schema:
            type: integer
          example: '11'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /product/category:
    get:
      tags:
        - Inventory
      summary: Get Category
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /product/principal:
    get:
      tags:
        - Inventory
      summary: Get Principal
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /product/principal/byid:
    get:
      tags:
        - Inventory
      summary: Get Product Principal By Principle ID
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/product/principal/label:
    get:
      tags:
        - Inventory
      summary: Get Product Principal By Label ID
      security:
        - bearerAuth: []
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /product/label:
    get:
      tags:
        - Inventory
      summary: Get Label
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /product/platform:
    get:
      tags:
        - Inventory
      summary: Get Platform
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /product/list:
    get:
      tags:
        - Inventory
      summary: Get Product List
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: limit
          in: query
          schema:
            type: integer
          example: '2'
        - name: status
          in: query
          schema:
            type: integer
          example: '1'
        - name: offset
          in: query
          schema:
            type: integer
          example: '1'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Fri, 18 Nov 2022 06:46:32 GMT
            Content-Length:
              schema:
                type: integer
                example: '994'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil mengambil data
                detail:
                  - id: 29
                    company_id: 513
                    product_inventory_id: 19
                    nie_number: A4QFZ6YB4XZB8H
                    product_name: Tester obat ke kedua by email testting_type2212@olin.co.id
                    pharmacy_net_price: 10000
                    sell_price: 20000
                    platform_price:
                      - platform_id: 1
                        name: Halodoc
                        price: 10000
                        is_active: true
                    stock: 1000
                    status: 1
                    media:
                      - https://s3.amazonaws.com/ecommerce-1/1.jpg
                      - https://s3.amazonaws.com/ecommerce-1/1.jpg
                    expired_date: '2022-12-31T00:00:00Z'
                  - id: 30
                    company_id: 513
                    product_inventory_id: 20
                    nie_number: A5QFZ6YB4XZB8H
                    product_name: >-
                      Tester obat ke ketiga by email
                      testting_type2212@olin.co.id
                    pharmacy_net_price: 10000
                    sell_price: 20000
                    platform_price:
                      - platform_id: 1
                        name: Halodoc
                        price: 10000
                        is_active: true
                    stock: 1000
                    status: 1
                    media:
                      - https://s3.amazonaws.com/ecommerce-1/1.jpg
                      - https://s3.amazonaws.com/ecommerce-1/1.jpg
                    expired_date: '2022-12-31T00:00:00Z'
  /product/inventories:
    get:
      tags:
        - Inventory
      summary: Get Product List Filter
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: offset
          in: query
          schema:
            type: integer
          example: '1'
        - name: limit
          in: query
          schema:
            type: integer
          example: '10'
        - name: status
          in: query
          schema:
            type: integer
          example: '1'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Fri, 18 Nov 2022 06:46:32 GMT
            Content-Length:
              schema:
                type: integer
                example: '994'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil mengambil data
                detail:
                  - id: 29
                    company_id: 513
                    product_inventory_id: 19
                    nie_number: A4QFZ6YB4XZB8H
                    product_name: Tester obat ke kedua by email testting_type2212@olin.co.id
                    pharmacy_net_price: 10000
                    sell_price: 20000
                    platform_price:
                      - platform_id: 1
                        name: Halodoc
                        price: 10000
                        is_active: true
                    stock: 1000
                    status: 1
                    media:
                      - https://s3.amazonaws.com/ecommerce-1/1.jpg
                      - https://s3.amazonaws.com/ecommerce-1/1.jpg
                    expired_date: '2022-12-31T00:00:00Z'
                  - id: 30
                    company_id: 513
                    product_inventory_id: 20
                    nie_number: A5QFZ6YB4XZB8H
                    product_name: >-
                      Tester obat ke ketiga by email
                      testting_type2212@olin.co.id
                    pharmacy_net_price: 10000
                    sell_price: 20000
                    platform_price:
                      - platform_id: 1
                        name: Halodoc
                        price: 10000
                        is_active: true
                    stock: 1000
                    status: 1
                    media:
                      - https://s3.amazonaws.com/ecommerce-1/1.jpg
                      - https://s3.amazonaws.com/ecommerce-1/1.jpg
                    expired_date: '2022-12-31T00:00:00Z'
  /v1/product/inventory:
    get:
      tags:
        - Inventory
      summary: Get Product Inventory master data
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: >-
            Bearer
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjkxOTE4MzcsImlzcyI6InBoYXJtYW5pYWdhLWxveWFsdHktYmFja2VuZCIsInNlc3Npb24iOiIxNjZiNDViZjFlZTMxYTZhMzc3ZjViZTU4MDVjMzI4N2RlZmUyOTU5ZDY4ZTkwNGM1M2FiZjhmNTA5ZGFjYjFkOGRlYzI2NTk5NzJjM2UxNWYwY2RiZmZmMjc2NTNkNzExNzE3NmEwYmVlNjk3MzJmYTJkZTkzMmIyNDBiOTFmZDY4ZWYwYTZiN2M1ZThkZmU0MzRhOWRiY2RhYmQwM2RkMWIzMjk5YjMyZGMyYzFmM2RmZGExNDFiYzk4NGY0NDgyZjBiNmRlMTJhMTM5ODFjOWM0ZTJhIn0.SCtOij1-vlqNGiN76hF8H6Wi69JZ6bxqbeDdFTjtJVg
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: nie_number
          in: query
          schema:
            type: string
          example: E1QFZ3YB8XZB5H1
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /001/v1/add/cart/inven:
    post:
      tags:
        - Inventory
      summary: Add to cart product | out of stock
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                product_id:
                  - 34
                  - 35
                  - 6
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/registration/otp:
    post:
      tags:
        - OTP
      summary: POS Request OTP Registrasi
      description: >-
        **Method** `post`


        **Body Param** `Query`


        | **Param** | **Type** | **Example** | **Notes** |

        | --- | --- | --- | --- |

        | type | string | [e](mailto:new@olin.co.id)mail | type:  <br>1\. email 
        <br>2\. sms  <br>3\. whatsapp |

        | receiver | string | new@olin.co.id | email receiver |
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"type\": \"email\",\n    \"receiver\":
                \"febriandani176@gmail.com\"\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /235/v1/pos/otp/verify:
    post:
      tags:
        - OTP
      summary: POS OTP Verify
      description: |-
        **Method** `post`

        **Body Param** `Query`

        | **Param** | **Type** | **Example** | **Notes** |
        | --- | --- | --- | --- |
        | email | string | new@olin.co.id |  |
        | phone | string | +628123456789 |  |
        | code | string | 1234 | otp code |
        | is_need_access | boolean | true | get token access & token renew |
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"email\": \"febriandani176@gmail.com\",\n    \"code\":
                \"3824\",\n\t\t\"is_need_access\": true\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/pos/password/forgot/otp:
    post:
      tags:
        - OTP
      summary: POS Request OTP Forgot Password
      description: >-
        **Method** `post`


        **Body Param** `Query`


        | **Param** | **Type** | **Example** | **Notes** |

        | --- | --- | --- | --- |

        | type | string | [e](mailto:new@olin.co.id)mail | type:  <br>1\. email 
        <br>2\. sms  <br>3\. whatsapp |

        | receiver | string | [new@olin.co.id](mailto:new@olin.co.id) | email
        receiver |
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"type\": \"email\",\n    \"receiver\":
                \"febriandani176@gmail.com\"\n}"
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/otp/resend:
    post:
      tags:
        - OTP
      summary: Resend OTP
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                email: testing321@gmail.com
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /pos/getlist/shift:
    get:
      tags:
        - POS > Get List Shift
      summary: GET List Shift (staging)
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Thu, 10 Nov 2022 07:58:21 GMT
            Content-Length:
              schema:
                type: integer
                example: '315'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil mengambil data
                detail:
                  - id: 22
                    shift: malam
                    time_start: '0000-01-01T08:00:00Z'
                    time_end: '0000-01-01T15:00:00Z'
                    company_id: 471
                  - id: 23
                    shift: siang
                    time_start: '0000-01-01T15:00:00Z'
                    time_end: '0000-01-01T22:00:00Z'
                    company_id: 471
  /get/amount/dashboard:
    get:
      tags:
        - POS
      summary: GET Dashboard Amount Transactions
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Thu, 10 Nov 2022 07:24:51 GMT
            Content-Length:
              schema:
                type: integer
                example: '152'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: sukses
                  id: sukses
                detail:
                  company_id: 471
                  daily: 2000000
                  weekly: 2000000
  /open/shift:
    post:
      tags:
        - POS
      summary: Create Open Shift
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                shift_id: 24
                float_amount: 0
                note: ''
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /get/close/shift:
    get:
      tags:
        - POS
      summary: GET Close Shift
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Fri, 11 Nov 2022 03:49:03 GMT
            Content-Length:
              schema:
                type: integer
                example: '247'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil mengambil data
                total close shift:
                  - floatAmount: 1000000
                    total: 480000
                total detail close shift:
                  - cash: 400000
                    credit_amount: 80000
                    debit_amount: 0
                    voucher: 0
                    qr_code: 0
  /type/payments:
    get:
      tags:
        - POS
      summary: Get Type Payments
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Wed, 09 Nov 2022 17:53:41 GMT
            Content-Length:
              schema:
                type: integer
                example: '213'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: sukses
                detail:
                  - id: 1
                    name: cash
                  - id: 2
                    name: visa card
                  - id: 3
                    name: split payment
                  - id: 4
                    name: voucher
                  - id: 5
                    name: other payment
  /v1/type/concoctions:
    get:
      tags:
        - POS
      summary: Get Type Concoctions
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /get/invoice:
    get:
      tags:
        - POS
      summary: Get Invoice
      security:
        - bearerAuth: []
      parameters:
        - name: trx_id
          in: query
          schema:
            type: string
          example: TRX-11499732022
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Fri, 11 Nov 2022 07:39:56 GMT
            Content-Length:
              schema:
                type: integer
                example: '1047'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                list_medicine:
                  - id: 59
                    transaction_id: TRX-11499732022
                    customer_name: Testing 2
                    type_concoction_id: 1
                    name_medicine: CTM 2mg testing
                    quantity: 10
                    unit: 1
                    price: 13000
                    concoction_fee: 10000
                    staff_id: 917
                    company_id: 472
                    created_at: '2022-11-11T07:47:05.568362Z'
                    updated_at: '2022-11-11T07:47:05.568362Z'
                  - id: 60
                    transaction_id: TRX-11499732022
                    customer_name: Testing 2
                    type_concoction_id: 1
                    name_medicine: CTM 5mg
                    quantity: 10
                    unit: 1
                    price: 13000
                    concoction_fee: 10000
                    staff_id: 917
                    company_id: 472
                    created_at: '2022-11-11T07:47:05.742322Z'
                    updated_at: '2022-11-11T07:47:05.742322Z'
                subtotal:
                  - id: 39
                    transaction_id: TRX-11499732022
                    subtotal: 280000
                    service_fee: 10000
                    discount: 50000
                    total: 240000
                    staff_id: 917
                    company_id: 472
                    created_at: '2022-11-11T07:47:05.253291Z'
                detail_payment:
                  - id: 38
                    transaction_id: TRX-11499732022
                    type_payment_id: 1
                    cash: 240000
                    staff_id: 917
                    company_id: 472
                    created_at: '2022-11-11T07:47:05.410278Z'
                    updated_at: '2022-11-11T07:47:05.410278Z'
  /234/v1/get/trx/stat:
    get:
      tags:
        - POS
      summary: Get Transaction Statistic
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Thu, 10 Nov 2022 07:54:36 GMT
            Content-Length:
              schema:
                type: integer
                example: '41'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                detail:
                  - pos: 4
  /v1/pos/create/shift:
    post:
      tags:
        - POS
      summary: Create New Shift
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                shift: siang
                time_start: '15:00:00'
                time_end: '22:00:00'
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /pos/shift/delete:
    delete:
      tags:
        - POS
      summary: Delete Shift
      security:
        - bearerAuth: []
      parameters:
        - name: shift_id
          in: query
          schema:
            type: integer
          example: '64'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /pos/shift/update:
    post:
      tags:
        - POS
      summary: Update shift
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                shift_id: 64
                shift: pagi
                time_start: '08:00:00'
                time_end: '16:00:00'
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /234/v1/create/close/shift:
    post:
      tags:
        - POS
      summary: Create Close Shift
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                beginning_balance: 1000000
                sales_result: 480000
                expend: 0
                total_income: 480000
                cash: 400000
                bank_transfer: 0
                debit_card: 0
                credit_card: 80000
                qr_code: 0
                voucher: 0
                balance_different: 0
                ending_balance: 0
                next_shift: 2
                note: 'uang sudah pas testing '
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /234/v1/create/invoice:
    post:
      tags:
        - POS
      summary: Create Label Print Invoice
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                logo: https://img.icons8.com/color/2x/golang.png
                name_outlet: Apotek Golang
                address: Jalan Pesanggrahan jakarta selatan
                city: Jakarta Selatan
                state: Indonesia
                zipcode: 15419
                phone: '+62987562344'
                footer: Kritik & Saran Hub. Nomor yang tertera di struk ini
                subtotal_alias: subtotal
                discount_alias: discount
                total_alias: total
                change_money_alias: kembalian
                social_media_instagram: https://instagram.com/golang
                social_media_facebook: https://facebook.com/golang
                social_media_twitter: https://twitter.com/golang
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /create/customer:
    post:
      tags:
        - POS
      summary: Create Customer
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                name: Fedry
                phone: '+62983513412'
                email: fedry@gmail.com
                address: Jalan Bungur 1 jakarta selatan
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /pos/customer:
    get:
      tags:
        - POS
      summary: Get Customer
      security:
        - bearerAuth: []
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: ec239b9bda7f86c99ba9455b93b9bf98d4129f5d574683d6f703c729b7886ba2
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1667464833'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /create/transaction:
    post:
      tags:
        - POS
      summary: 'Create Transaction (yang benar) '
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                id_member: 12314114
                discount: 40000
                delivery_fee: 10000
                service_fee: 10000
                shopping_price: 150000
                total_payment: 130000
                items_recipe:
                  code_recipe: '214123'
                  docter_name: DR. Abdullah Hakim
                  customer_name: Jamilatun Kamila
                  date_order: 27 Januari 2022
                product_medical:
                  - type_concotion: 1
                    fee: 15000
                    product:
                      - id_product: 11
                        name_medicine: bodrex
                        quantity: 15
                        price: 250000
                product_regular:
                  - id: 12
                    name_medicine: paramex
                    qty: 15
                    price: 15000
                  - id: 13
                    name_medicine: paramex extra
                    qty: 5
                    price: 15000
                payment_method:
                  - type_payment_id: 1
                    payment_method: bca
                    amount: 250000
                  - type_payment_id: 2
                    payment_method: mandiri
                    amount: 250000
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /product/pos:
    get:
      tags:
        - POS
      summary: Get Product POS
      security:
        - bearerAuth: []
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: status
          in: query
          schema:
            type: integer
          example: '1'
        - name: offset
          in: query
          schema:
            type: integer
          example: '1'
        - name: limit
          in: query
          schema:
            type: integer
          example: '10'
        - name: name
          in: query
          schema:
            type: string
          example: komix
      responses:
        '200':
          description: OK
          headers:
            Server:
              schema:
                type: string
                example: nginx/1.18.0 (Ubuntu)
            Date:
              schema:
                type: string
                example: Tue, 29 Nov 2022 02:00:57 GMT
            Content-Type:
              schema:
                type: string
                example: application/json
            Content-Length:
              schema:
                type: integer
                example: '565'
            Connection:
              schema:
                type: string
                example: keep-alive
          content:
            application/json:
              schema:
                type: object
              examples:
                example-0:
                  summary: Get Product POS
                  value:
                    status: success
                    message:
                      en: success
                    detail:
                      - product_id: 35
                        pharmacy_net_price: 10000
                        sell_price: 20000
                        stock: 1000
                        status: 1
                        status_name: active
                        product_name: Tester Nama Obat 3
                        media:
                          - https://s3.amazonaws.com/ecommerce-1/1.jpg
                          - https://s3.amazonaws.com/ecommerce-1/1.jpg
                      - product_id: 36
                        pharmacy_net_price: 10000
                        sell_price: 20000
                        stock: 1000
                        status: 1
                        status_name: active
                        product_name: Tester Nama Obat 1 update email
                        media:
                          - https://s3.amazonaws.com/ecommerce-1/1.jpg
                          - https://s3.amazonaws.com/ecommerce-1/1.jpg
                example-1:
                  summary: Get Product POS
                  value:
                    status: success
                    message:
                      en: success
                    detail:
                      - product_id: 48
                        pharmacy_net_price: 10000
                        sell_price: 20000
                        stock: 1000
                        status: 1
                        status_name: active
                        product_name: >-
                          Tester obat ke ke 10 by email
                          testting_type2212@olin.co.id
                        media:
                          - https://s3.amazonaws.com/ecommerce-1/1.jpg
                          - https://s3.amazonaws.com/ecommerce-1/1.jpg
  /unit/product:
    get:
      tags:
        - POS
      summary: Get Unit Product
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: OK
          headers:
            Server:
              schema:
                type: string
                example: nginx/1.18.0 (Ubuntu)
            Date:
              schema:
                type: string
                example: Tue, 29 Nov 2022 02:00:50 GMT
            Content-Type:
              schema:
                type: string
                example: application/json
            Content-Length:
              schema:
                type: integer
                example: '347'
            Connection:
              schema:
                type: string
                example: keep-alive
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success to get unit product
                  id: berhasil mendapatkan unit produk
                detail:
                  - id: 1
                    name: tablet
                  - id: 2
                    name: kapsul
                  - id: 3
                    name: syrup
                  - id: 4
                    name: pulvis
                  - id: 5
                    name: larutan
                  - id: 6
                    name: salep
                  - id: 7
                    name: injeksi
                  - id: 8
                    name: kaplet
                  - id: 9
                    name: obat tetes
  /235/v1/pos/otp/existing:
    get:
      tags:
        - existing-user
      summary: VerifyOTP&GetExistingUserData
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        undefined:
          content:
            text/plain:
              schema:
                type: string
              example: "{\r\n    \"status\": \"success\",\r\n    \"message\": {\r\n        \"en\": \"success\",\r\n        \"id\": \"verifikasi berhasil\"\r\n    },\r\n    \"detail\": {\r\n        \"id\": 8,\r\n        \"business_field_id\": 1,\r\n        \"name\": \"Pharmaniaga\",\r\n        \"npwp_address\": \"jalan mawar 10\",\r\n        \"npwp_province_id\": 12,\r\n        \"npwp_city_id\": 183,\r\n        \"npwp_district_id\": 2575,\r\n        \"npwp_zipcode\": \"142345\",\r\n        \"business_address\": \"jalan mawar 1\",\r\n        \"business_province_id\": 12,\r\n        \"business_city_id\": 183,\r\n        \"business_district_id\": 2575,\r\n        \"business_zipcode\": \"124123\",\r\n        \"phone\": \"08574234353\",\r\n        \"nib\": \"325324241\",\r\n        \"sipnap_code\": \"CODE123\",\r\n        \"permission_letter_id\": \"PERM12312\",\r\n        \"bank\": \"BCA\",\r\n        \"bank_account_number\": \"12412414\",\r\n        \"bank_account_name\": \"Pharmaniaga\",\r\n        \"files\": \"{\"ktp\": \"https://img.icons8.com/color/2x/golang.png/\", \"npwp\": \"https://img.icons8.com/color/2x/golang.png/\", \"type_ktp\": \"\", \"type_npwp\": \"\"}\",\r\n        \"owner_name\": \"testing123lagi\",\r\n        \"owner_id\": \"44444441241\",\r\n        \"owner_phone\": \"0824124115\",\r\n        \"owner_npwp\": \"8142578799\",\r\n        \"owner_email\": \"febriandani1746@gmail.com\",\r\n        \"owner_files\": \"{\"ktp\": \"https://img.icons8.com/color/2x/golang.png/\", \"npwp\": \"https://img.icons8.com/color/2x/golang.png/\", \"type_ktp\": \"\", \"type_npwp\": \"\"}\"\r\n    }\r\n}"
  /v1/change/password/user:
    post:
      tags:
        - existing-user
      summary: changePasswordUser | fedry
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                password: junior356
                repassword: junior356
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: email
          in: query
          schema:
            type: string
          example: |+
            OHHyXouienxuXpCFyda20rZmHJgEw4bu

      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/update/status/company/existing:
    post:
      tags:
        - existing-user
      summary: Update companies Existing
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                status: 2
                alasan: ditolak
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: company_id
          in: query
          schema:
            type: string
          example: aiCk
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/category:
    get:
      tags:
        - Backstage-febri-local > Article
      summary: Get All Category Article
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Wed, 09 Nov 2022 06:19:12 GMT
            Content-Length:
              schema:
                type: integer
                example: '497'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil
                detail:
                  - id: 1
                    name: kesehatan
                    created_at: '2022-11-09T10:22:42.034506Z'
                    updated_at: '0001-01-01T00:00:00Z'
                  - id: 2
                    name: finance
                    created_at: '2022-11-09T10:22:48.266414Z'
                    updated_at: '0001-01-01T00:00:00Z'
                  - id: 3
                    name: lifestyle
                    created_at: '2022-11-09T10:22:57.997256Z'
                    updated_at: '0001-01-01T00:00:00Z'
                  - id: 4
                    name: social
                    created_at: '2022-11-09T10:23:02.853571Z'
                    updated_at: '0001-01-01T00:00:00Z'
  /v1/article/active:
    get:
      tags:
        - Backstage-febri-local > Article
      summary: Get Article Active
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Wed, 09 Nov 2022 06:19:38 GMT
            Content-Length:
              schema:
                type: integer
                example: '875'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil
                detail:
                  - id: 1
                    title: Dengan Platform Olin, Peserta Makin Mudah Manage Apotek
                    category_article: 2
                    url_image: >-
                      https://staging-olin.sgp1.digitaloceanspaces.com/company/00bf01c3862f886f290789eb9151d8ff00217fafe1cd1d5820647b317986e443
                    content_article: Ini content article loh....
                    status: Published
                    action: 1
                    created_at: '2022-11-09T02:42:58.153006Z'
                    updated_at: '2022-11-09T02:42:58.153006Z'
                  - id: 2
                    title: Dengan Platform Olin, Peserta Makin Mudah Manage Apotek
                    category_article: 1
                    url_image: >-
                      https://staging-olin.sgp1.digitaloceanspaces.com/company/00bf01c3862f886f290789eb9151d8ff00217fafe1cd1d5820647b317986e443
                    content_article: Ini content article kedua loh....
                    status: Published
                    action: 1
                    created_at: '2022-11-09T02:56:59.703851Z'
                    updated_at: '2022-11-09T03:19:59.96934Z'
  /v1/article:
    get:
      tags:
        - Backstage-febri-local > Article
      summary: Get Articles
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Wed, 09 Nov 2022 06:20:07 GMT
            Content-Length:
              schema:
                type: integer
                example: '1282'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil
                detail:
                  - id: 1
                    title: Dengan Platform Olin, Peserta Makin Mudah Manage Apotek
                    category_article: 2
                    url_image: >-
                      https://staging-olin.sgp1.digitaloceanspaces.com/company/00bf01c3862f886f290789eb9151d8ff00217fafe1cd1d5820647b317986e443
                    content_article: Ini content article loh....
                    status: Published
                    action: 1
                    created_at: '2022-11-09T02:42:58.153006Z'
                    updated_at: '2022-11-09T02:42:58.153006Z'
                  - id: 3
                    title: Dengan Platform Olin, Peserta Makin Mudah Manage Apotek
                    category_article: 3
                    url_image: >-
                      https://staging-olin.sgp1.digitaloceanspaces.com/company/00bf01c3862f886f290789eb9151d8ff00217fafe1cd1d5820647b317986e443
                    content_article: Ini content article ketiga loh....
                    status: Unpublished
                    action: 0
                    created_at: '2022-11-09T02:57:22.645356Z'
                    updated_at: '2022-11-09T02:57:22.645356Z'
                  - id: 2
                    title: Dengan Platform Olin, Peserta Makin Mudah Manage Apotek
                    category_article: 1
                    url_image: >-
                      https://staging-olin.sgp1.digitaloceanspaces.com/company/00bf01c3862f886f290789eb9151d8ff00217fafe1cd1d5820647b317986e443
                    content_article: Ini content article kedua loh....
                    status: Published
                    action: 1
                    created_at: '2022-11-09T02:56:59.703851Z'
                    updated_at: '2022-11-09T03:19:59.96934Z'
  /004/v1/article:
    post:
      tags:
        - Backstage-febri-local > Article
      summary: Insert article
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                title: Dengan Platform Olin, Peserta Makin Mudah Manage Apotek
                category_article: 3
                url_image: >-
                  https://staging-olin.sgp1.digitaloceanspaces.com/company/00bf01c3862f886f290789eb9151d8ff00217fafe1cd1d5820647b317986e443
                content_article: Ini content article ketiga loh....
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /004/v1/file/banner:
    post:
      tags:
        - Backstage-febri-local > Article
      summary: Insert banner
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                url_image: >-
                  https://staging-olin.sgp1.digitaloceanspaces.com/company/179681f638e7b7f45a633f785b29ce0a9f6a2a21db4abef6adb86c3d008064f1.png
                type_banner_id: 4
                url_redirect: https://google.com
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/change/article/status:
    post:
      tags:
        - Backstage-febri-local > Article
      summary: Update Status Article
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                action: 1
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
        - name: id
          in: query
          schema:
            type: integer
          example: '2'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/get/type/banner:
    get:
      tags:
        - Backstage-febri-local
      summary: Get Type Banner By Tipe Gadget
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Wed, 09 Nov 2022 06:56:26 GMT
            Content-Length:
              schema:
                type: integer
                example: '362'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: sukses
                detail:
                  - id: 2
                    url_image: >-
                      https://staging-olin.sgp1.digitaloceanspaces.com/company/429a40f6febbe15200e8cd051549dce9a1287712cd1da30dc041f9d65be2070c.png
                    type_banner_id: 2
                    url_redirect: https://google.com
                    created_at: '2022-11-09T03:35:36.373008Z'
                    updated_at: '2022-11-09T03:35:36.373008Z'
        '400':
          description: Bad Request
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Wed, 09 Nov 2022 06:59:35 GMT
            Content-Length:
              schema:
                type: integer
                example: '67'
          content:
            application/json:
              schema:
                type: object
              example:
                status: no data found
                message:
                  en: success
                  id: sukses
  /v1/banner:
    get:
      tags:
        - Backstage-febri-local
      summary: Get All Banner
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          example: 0d14ed3b8184416e35b6c0a71e68add8e183ec5399aeab05df704d1dc9accb85
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1689777105'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Wed, 09 Nov 2022 05:14:09 GMT
            Content-Length:
              schema:
                type: integer
                example: '943'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                message:
                  en: success
                  id: berhasil
                detail:
                  - id: 1
                    url_image: >-
                      https://staging-media.olin.co.id/company/01e1c39418aa1f74d15572e8336b73ed31a33fd5862175842d987cfe08ca41f5.jpg
                    type_banner_id: 1
                    url_redirect: https://instagram.com/febriandani
                    created_at: '2022-11-08T10:54:35.229504Z'
                    updated_at: '2022-11-08T10:54:35.229504Z'
                  - id: 1
                    url_image: >-
                      https://staging-olin.sgp1.digitaloceanspaces.com/company/6960f02a35570bb9e4b7c9f5c0e5af40c147124b3dc571af6121668756a141f5.png
                    type_banner_id: 2
                    url_redirect: https://google.com
                    created_at: '2022-11-09T03:34:55.267156Z'
                    updated_at: '2022-11-09T03:34:55.267156Z'
                  - id: 2
                    url_image: >-
                      https://staging-olin.sgp1.digitaloceanspaces.com/company/179681f638e7b7f45a633f785b29ce0a9f6a2a21db4abef6adb86c3d008064f1.png
                    type_banner_id: 2
                    url_redirect: https://google.com
                    created_at: '2022-11-09T03:35:36.373008Z'
                    updated_at: '2022-11-09T03:35:36.373008Z'
  /235/v1/cronjob/sipa/expired:
    get:
      tags:
        - Cronjob
      summary: Cronjob Check Sia Expired
      parameters:
        - name: Authorization-ID
          in: header
          schema:
            type: integer
          example: '1668409097'
        - name: Authorization
          in: header
          schema:
            type: string
          example: 2f8f4c287bb89538c48ff20478e2646cc1c037d7ca0b301df6e39758318e20c8
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/cronjob/reminde:
    get:
      tags:
        - Cronjob
      summary: Cronjob Reminder Bm If Not Yet Verify
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v1/subs:
    get:
      tags:
        - Subscription
      summary: Get Detail Subscription
      security:
        - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
            Date:
              schema:
                type: string
                example: Tue, 15 Nov 2022 05:00:45 GMT
            Content-Length:
              schema:
                type: integer
                example: '202'
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                detail:
                  - will_end: 00 Years 00 Months 13 Days 11 Hours 57 Minute 47 Second
                    type_subs: trial-14day
                    expired_date: '2022-11-29 04:58:33'
                    last_payment: '2022-11-15 04:58:33'
    post:
      tags:
        - Subscription
      summary: create transaction subscription
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                price: 1000000
                type_subs: 1
                type_payment_method: 1
                code_voucher: 12.12 FLASH SALE YUK PAKAI VOUCHER INI
                amount_voucher: 50000
                fee_services: 0
                total_price: 950000
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /235/v1/promo:
    post:
      tags:
        - Discount/promo
      summary: SAVE DISCOUNT / PROMO
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                promo_name: PROMOOLIN12.12
                promo_code: GUNAKANKODEINI
                discount_type: 1
                discount_value: 10
                minimum_purchase: 150000
                customer_type: 1
                limit_promo: 50
                started_date: '2022-11-28'
                end_date: '2023-01-01'
                set_promo_time:
                  - 1
                  - 2
                  - 3
                  - 4
                status: 1
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
