lockstep_rails 0.3.74 → 0.3.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/concepts/lockstep/query.rb +1 -2
- data/app/models/lockstep/attachment.rb +9 -2
- data/app/models/lockstep/transaction.rb +8 -0
- data/app/platform_api/schema/attachment_erp_update.rb +32 -0
- data/app/platform_api/schema/batch_sync.rb +15 -0
- data/app/platform_api/schema/company.rb +3 -0
- data/app/platform_api/schema/company_magic_link_summary.rb +5 -0
- data/app/platform_api/schema/connector_info.rb +16 -0
- data/app/platform_api/schema/inbound_invoice_sync.rb +2 -6
- data/app/platform_api/schema/inbound_sync_invoice_lines.rb +1 -1
- data/app/platform_api/schema/inbound_sync_primary_contact.rb +1 -1
- data/app/platform_api/schema/invoice.rb +8 -0
- data/app/platform_api/schema/invoice_line.rb +4 -0
- data/app/platform_api/schema/invoice_line_sync.rb +4 -0
- data/app/platform_api/schema/invoice_sync.rb +13 -0
- data/app/platform_api/schema/sync_request.rb +15 -0
- data/app/platform_api/schema/transaction.rb +4 -0
- data/app/platform_api/swagger.json +206 -41
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +4 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 0b11735a0987825c57902116838b940c6608f445cf95dacc7ff6de87d4275451
         | 
| 4 | 
            +
              data.tar.gz: 7f3f535488efead415353fa0130ddf0e930818ef88dfd58b34a16d070c323e29
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 4644b5e562d8513f231c567026a2154a7b0c0916ae37c9142300369bcceb595cdcc3d9566527de8a00de4b99dfc5d25f354ac07ae98633f3edf0beda4c58d4ee
         | 
| 7 | 
            +
              data.tar.gz: 2e118cc92126576c690fedb783b1e939bc24c1f40647ad3849d752744295b611c211a0fdee6405c52d5a074f645e2bc59f4c97fcaaf8c1cecec858d058e90e2d
         | 
    
        data/README.md
    CHANGED
    
    | @@ -77,6 +77,7 @@ The gem is available as open source under the terms of the [MIT License](https:/ | |
| 77 77 | 
             
            - Lockstep::ReportRiskRate
         | 
| 78 78 | 
             
            - Lockstep::ServiceFabricPayment
         | 
| 79 79 | 
             
            - Lockstep::Status
         | 
| 80 | 
            +
            - Lockstep::Transaction
         | 
| 80 81 | 
             
            - Lockstep::TranscriptionValidationRequest
         | 
| 81 82 | 
             
            - Lockstep::User
         | 
| 82 83 | 
             
            - Lockstep::WorkflowStatus
         | 
| @@ -1,5 +1,12 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            class Lockstep::Attachment < Lockstep::ApiRecord
         | 
| 2 | 
            -
              self.model_name_uri =  | 
| 3 | 
            -
              self.id_ref =  | 
| 4 | 
            +
              self.model_name_uri = 'v1/Attachments'
         | 
| 5 | 
            +
              self.id_ref = 'attachment_id'
         | 
| 4 6 | 
             
              load_schema(Schema::Attachment)
         | 
| 7 | 
            +
             | 
| 8 | 
            +
              def download_url
         | 
| 9 | 
            +
                response = resource.get "#{id}/download-url"
         | 
| 10 | 
            +
                JSON.parse(response.body)['downloadLink']
         | 
| 11 | 
            +
              end
         | 
| 5 12 | 
             
            end
         | 
| @@ -0,0 +1,32 @@ | |
| 1 | 
            +
            class Schema::AttachmentErpUpdate < Lockstep::ApiRecord
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # ApiRecord will crash unless `id_ref` is defined
         | 
| 4 | 
            +
            def self.id_ref
         | 
| 5 | 
            +
              nil
         | 
| 6 | 
            +
            end
         | 
| 7 | 
            +
             | 
| 8 | 
            +
              # The unique ID of the attachment in the SN Platform.
         | 
| 9 | 
            +
              # @type: string
         | 
| 10 | 
            +
              # @format: uuid
         | 
| 11 | 
            +
              field :network_id
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              # The unique ID of the invoice in the SN Platform.
         | 
| 14 | 
            +
              # @type: string
         | 
| 15 | 
            +
              # @format: uuid
         | 
| 16 | 
            +
              field :invoice_network_id
         | 
| 17 | 
            +
             | 
| 18 | 
            +
              # The file name of this attachment.
         | 
| 19 | 
            +
              # @type: string
         | 
| 20 | 
            +
              field :file_name
         | 
| 21 | 
            +
             | 
| 22 | 
            +
              # The file extension of this attachment.
         | 
| 23 | 
            +
              # @type: string
         | 
| 24 | 
            +
              field :file_ext
         | 
| 25 | 
            +
             | 
| 26 | 
            +
              # A label indicating the type of the attachment
         | 
| 27 | 
            +
              # @type: string
         | 
| 28 | 
            +
              field :attachment_type
         | 
| 29 | 
            +
             | 
| 30 | 
            +
             | 
| 31 | 
            +
             | 
| 32 | 
            +
            end
         | 
| @@ -14,6 +14,21 @@ end | |
| 14 14 | 
             
              # @type: boolean
         | 
| 15 15 | 
             
              field :is_full_sync
         | 
| 16 16 |  | 
| 17 | 
            +
              # The optional current batch number for this batch sync.
         | 
| 18 | 
            +
              # @type: integer
         | 
| 19 | 
            +
              # @format: int32
         | 
| 20 | 
            +
              field :current_batch
         | 
| 21 | 
            +
             | 
| 22 | 
            +
              # The optional total number of batchs for this batch sync.
         | 
| 23 | 
            +
              # @type: integer
         | 
| 24 | 
            +
              # @format: int32
         | 
| 25 | 
            +
              field :total_batches
         | 
| 26 | 
            +
             | 
| 27 | 
            +
              # The optional existing parent sync request id for the batch sync.
         | 
| 28 | 
            +
              # @type: string
         | 
| 29 | 
            +
              # @format: uuid
         | 
| 30 | 
            +
              field :parent_sync_request_id
         | 
| 31 | 
            +
             | 
| 17 32 |  | 
| 18 33 | 
             
              has_many :companies, {:class_name=>"Schema::CompanySync", :included=>true}
         | 
| 19 34 | 
             
              has_many :contacts, {:class_name=>"Schema::ContactSync", :included=>true}
         | 
| @@ -86,6 +86,11 @@ end | |
| 86 86 | 
             
              # Status of the most recent magic link made for this company
         | 
| 87 87 | 
             
              field :latest_magic_link_status
         | 
| 88 88 |  | 
| 89 | 
            +
              # Expiration date of the most recent magic link made for this company
         | 
| 90 | 
            +
              # @type: string
         | 
| 91 | 
            +
              # @format: date-time
         | 
| 92 | 
            +
              field :latest_magic_link_expiration_date, Types::Params::DateTime
         | 
| 93 | 
            +
             | 
| 89 94 | 
             
              belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
         | 
| 90 95 | 
             
              belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
         | 
| 91 96 |  | 
| @@ -51,6 +51,22 @@ end | |
| 51 51 | 
             
              # @format: int32
         | 
| 52 52 | 
             
              field :server_port
         | 
| 53 53 |  | 
| 54 | 
            +
              # The Client Id for the connection being created.
         | 
| 55 | 
            +
              # @type: string
         | 
| 56 | 
            +
              field :client_id
         | 
| 57 | 
            +
             | 
| 58 | 
            +
              # The Secret for the connection being created.
         | 
| 59 | 
            +
              # @type: string
         | 
| 60 | 
            +
              field :client_secret
         | 
| 61 | 
            +
             | 
| 62 | 
            +
              # The TenantId for the connection being created.
         | 
| 63 | 
            +
              # @type: string
         | 
| 64 | 
            +
              field :tenant
         | 
| 65 | 
            +
             | 
| 66 | 
            +
              # The AuthToken for the connection being created.
         | 
| 67 | 
            +
              # @type: string
         | 
| 68 | 
            +
              field :auth_token
         | 
| 69 | 
            +
             | 
| 54 70 |  | 
| 55 71 |  | 
| 56 72 | 
             
            end
         | 
| @@ -34,11 +34,6 @@ end | |
| 34 34 | 
             
              # @type: boolean
         | 
| 35 35 | 
             
              field :is_e_invoice
         | 
| 36 36 |  | 
| 37 | 
            -
              # File Data model is child model for Invoice and InvoiceInboundSync model represents file name and file path.
         | 
| 38 | 
            -
              # This model is use for EInvoice request.
         | 
| 39 | 
            -
              # For more information on writing your own connector, see [Connector Data](https://developer.lockstep.io/docs/connector-data).
         | 
| 40 | 
            -
              field :attachments
         | 
| 41 | 
            -
             | 
| 42 37 | 
             
              # The network id of the related Company.
         | 
| 43 38 | 
             
              # @type: string
         | 
| 44 39 | 
             
              # @format: uuid
         | 
| @@ -63,7 +58,7 @@ end | |
| 63 58 | 
             
              # @format: date-time
         | 
| 64 59 | 
             
              field :created, Types::Params::DateTime
         | 
| 65 60 |  | 
| 66 | 
            -
              # Flags if this invoice request  | 
| 61 | 
            +
              # Flags if this invoice request is to be posted as a draft
         | 
| 67 62 | 
             
              # @type: boolean
         | 
| 68 63 | 
             
              field :is_draft
         | 
| 69 64 |  | 
| @@ -142,6 +137,7 @@ end | |
| 142 137 | 
             
              field :send_immediately
         | 
| 143 138 |  | 
| 144 139 |  | 
| 140 | 
            +
              has_many :attachments, {:class_name=>"Schema::AttachmentErpUpdate", :included=>true}
         | 
| 145 141 | 
             
              has_many :lines, {:class_name=>"Schema::InboundSyncInvoiceLines", :included=>true}
         | 
| 146 142 |  | 
| 147 143 | 
             
            end
         | 
| @@ -202,6 +202,14 @@ end | |
| 202 202 | 
             
              # @type: boolean
         | 
| 203 203 | 
             
              field :in_dispute
         | 
| 204 204 |  | 
| 205 | 
            +
              # Is the invoice a draft?
         | 
| 206 | 
            +
              # @type: boolean
         | 
| 207 | 
            +
              field :is_draft
         | 
| 208 | 
            +
             | 
| 209 | 
            +
              # Is the invoice on hold?
         | 
| 210 | 
            +
              # @type: boolean
         | 
| 211 | 
            +
              field :on_hold
         | 
| 212 | 
            +
             | 
| 205 213 | 
             
              # Should the invoice be excluded from aging calculations?
         | 
| 206 214 | 
             
              # @type: boolean
         | 
| 207 215 | 
             
              field :exclude_from_aging
         | 
| @@ -42,6 +42,10 @@ end | |
| 42 42 | 
             
              # @type: string
         | 
| 43 43 | 
             
              field :line_number
         | 
| 44 44 |  | 
| 45 | 
            +
              # The account number this line is associated with in the originating ERP or accounting system.
         | 
| 46 | 
            +
              # @type: string
         | 
| 47 | 
            +
              field :account_number
         | 
| 48 | 
            +
             | 
| 45 49 | 
             
              # A code number identifying the product or service that is specified on this line.
         | 
| 46 50 | 
             
              # @type: string
         | 
| 47 51 | 
             
              field :product_code
         | 
| @@ -40,6 +40,10 @@ end | |
| 40 40 | 
             
              # @type: string
         | 
| 41 41 | 
             
              field :line_number
         | 
| 42 42 |  | 
| 43 | 
            +
              # The account number this line is associated with in the originating ERP or accounting system.
         | 
| 44 | 
            +
              # @type: string
         | 
| 45 | 
            +
              field :account_number
         | 
| 46 | 
            +
             | 
| 43 47 | 
             
              # A code number identifying the product or service that is specified on this line.
         | 
| 44 48 | 
             
              # @type: string
         | 
| 45 49 | 
             
              field :product_code
         | 
| @@ -294,6 +294,14 @@ end | |
| 294 294 | 
             
              # @type: boolean
         | 
| 295 295 | 
             
              field :in_dispute
         | 
| 296 296 |  | 
| 297 | 
            +
              # Is the invoice a draft? If not specified, we assume the invoice is not a draft.
         | 
| 298 | 
            +
              # @type: boolean
         | 
| 299 | 
            +
              field :is_draft
         | 
| 300 | 
            +
             | 
| 301 | 
            +
              # Is the invoice on hold? If not specified, we assume the invoice is not on hold.
         | 
| 302 | 
            +
              # @type: boolean
         | 
| 303 | 
            +
              field :on_hold
         | 
| 304 | 
            +
             | 
| 297 305 | 
             
              # Indicates the preferred delivery method for this invoice. Examples include Print, Email, Fax
         | 
| 298 306 | 
             
              # @type: string
         | 
| 299 307 | 
             
              field :preferred_delivery_method
         | 
| @@ -331,6 +339,11 @@ end | |
| 331 339 | 
             
              # @type: boolean
         | 
| 332 340 | 
             
              field :send_immediately
         | 
| 333 341 |  | 
| 342 | 
            +
              # Workflow status of the invoice.
         | 
| 343 | 
            +
              # @type: string
         | 
| 344 | 
            +
              # @format: uuid
         | 
| 345 | 
            +
              field :workflow_status_id
         | 
| 346 | 
            +
             | 
| 334 347 |  | 
| 335 348 |  | 
| 336 349 | 
             
            end
         | 
| @@ -87,6 +87,21 @@ end | |
| 87 87 | 
             
              # Inbound sync payload
         | 
| 88 88 | 
             
              field :payload
         | 
| 89 89 |  | 
| 90 | 
            +
              # The ParentSyncRequestId for this batch zip sync request
         | 
| 91 | 
            +
              # @type: string
         | 
| 92 | 
            +
              # @format: uuid
         | 
| 93 | 
            +
              field :parent_sync_request_id
         | 
| 94 | 
            +
             | 
| 95 | 
            +
              # The CurrentBatch of this batch zip sync request
         | 
| 96 | 
            +
              # @type: integer
         | 
| 97 | 
            +
              # @format: int32
         | 
| 98 | 
            +
              field :current_batch
         | 
| 99 | 
            +
             | 
| 100 | 
            +
              # The TotalBatches of this batch zip sync request
         | 
| 101 | 
            +
              # @type: integer
         | 
| 102 | 
            +
              # @format: int32
         | 
| 103 | 
            +
              field :total_batches
         | 
| 104 | 
            +
             | 
| 90 105 | 
             
              belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
         | 
| 91 106 |  | 
| 92 107 |  | 
| @@ -3610,7 +3610,7 @@ | |
| 3610 3610 | 
             
                      "Companies"
         | 
| 3611 3611 | 
             
                    ],
         | 
| 3612 3612 | 
             
                    "summary": "Set Company Logo",
         | 
| 3613 | 
            -
                    "description": "Sets the logo for specified company. The logo will be stored in the Lockstep Platform and will be **publicly accessible**.\r\n\r\n.jpg, .jpeg, .png, and .webp are supported. 2MB maximum. If no logo is uploaded, the existing logo will be deleted.\r\n\r\nA Company represents a customer, a vendor, or a company within the organization of the account holder. Companies can have parents and children, representing an organizational hierarchy of corporate entities. You can use Companies to track projects and financial data under this Company label.\r\n\r\nOptional view box meta data for the provided logo may be supplied using the following query parameters. Please note that you must supply either all of the values or none of the values. <ul><li>min_x</li><li>min_y</li><li>width</li><li>height</li></ul>\r\n\r\nSee [Vendors, Customers, and Companies](https://developer.lockstep.io/docs/companies-customers-and-vendors) for more information.\n\n### Roles\n\nTo call this endpoint, you must have one of these roles:\n\n* Group Owner\n* Group Admin\n* Member\n\n\nYou can view your roles with the [Status](https://developer.lockstep.io/reference/get_api-v1-status) API.",
         | 
| 3613 | 
            +
                    "description": "Sets the logo for specified company. The logo will be stored in the Lockstep Platform and will be **publicly accessible**.\r\n\r\n.jpg, .jpeg, .png, and .webp are supported. 2MB maximum. If no logo is uploaded, the existing logo will be deleted. JFIF and EXIF are not supported. If you upload a JPEG and get an error, verify the file is not one of these formats.\r\n\r\nA Company represents a customer, a vendor, or a company within the organization of the account holder. Companies can have parents and children, representing an organizational hierarchy of corporate entities. You can use Companies to track projects and financial data under this Company label.\r\n\r\nOptional view box meta data for the provided logo may be supplied using the following query parameters. Please note that you must supply either all of the values or none of the values. <ul><li>min_x</li><li>min_y</li><li>width</li><li>height</li></ul>\r\n\r\nSee [Vendors, Customers, and Companies](https://developer.lockstep.io/docs/companies-customers-and-vendors) for more information.\n\n### Roles\n\nTo call this endpoint, you must have one of these roles:\n\n* Group Owner\n* Group Admin\n* Member\n\n\nYou can view your roles with the [Status](https://developer.lockstep.io/reference/get_api-v1-status) API.",
         | 
| 3614 3614 | 
             
                    "operationId": "v1_Companies_SetCompanyLogo",
         | 
| 3615 3615 | 
             
                    "parameters": [
         | 
| 3616 3616 | 
             
                      {
         | 
| @@ -16091,6 +16091,35 @@ | |
| 16091 16091 | 
             
                          "format": "uuid"
         | 
| 16092 16092 | 
             
                        }
         | 
| 16093 16093 | 
             
                      },
         | 
| 16094 | 
            +
                      {
         | 
| 16095 | 
            +
                        "name": "parentSyncRequestId",
         | 
| 16096 | 
            +
                        "in": "query",
         | 
| 16097 | 
            +
                        "description": "The optional existing sync request id to associate with the batch data in the zip file.",
         | 
| 16098 | 
            +
                        "schema": {
         | 
| 16099 | 
            +
                          "type": "string",
         | 
| 16100 | 
            +
                          "format": "uuid"
         | 
| 16101 | 
            +
                        }
         | 
| 16102 | 
            +
                      },
         | 
| 16103 | 
            +
                      {
         | 
| 16104 | 
            +
                        "name": "currentBatch",
         | 
| 16105 | 
            +
                        "in": "query",
         | 
| 16106 | 
            +
                        "description": "The optional current batch no associate with the batch data in the zip file.",
         | 
| 16107 | 
            +
                        "schema": {
         | 
| 16108 | 
            +
                          "type": "integer",
         | 
| 16109 | 
            +
                          "format": "int32",
         | 
| 16110 | 
            +
                          "default": 1
         | 
| 16111 | 
            +
                        }
         | 
| 16112 | 
            +
                      },
         | 
| 16113 | 
            +
                      {
         | 
| 16114 | 
            +
                        "name": "totalBatches",
         | 
| 16115 | 
            +
                        "in": "query",
         | 
| 16116 | 
            +
                        "description": "The optional total batches to associate with the total batch data in the zip file.",
         | 
| 16117 | 
            +
                        "schema": {
         | 
| 16118 | 
            +
                          "type": "integer",
         | 
| 16119 | 
            +
                          "format": "int32",
         | 
| 16120 | 
            +
                          "default": 1
         | 
| 16121 | 
            +
                        }
         | 
| 16122 | 
            +
                      },
         | 
| 16094 16123 | 
             
                      {
         | 
| 16095 16124 | 
             
                        "name": "isFullSync",
         | 
| 16096 16125 | 
             
                        "in": "query",
         | 
| @@ -21599,6 +21628,42 @@ | |
| 21599 21628 | 
             
                    },
         | 
| 21600 21629 | 
             
                    "additionalProperties": false
         | 
| 21601 21630 | 
             
                  },
         | 
| 21631 | 
            +
                  "AttachmentErpUpdateModel": {
         | 
| 21632 | 
            +
                    "required": [
         | 
| 21633 | 
            +
                      "attachmentType",
         | 
| 21634 | 
            +
                      "fileExt",
         | 
| 21635 | 
            +
                      "fileName",
         | 
| 21636 | 
            +
                      "invoiceNetworkId",
         | 
| 21637 | 
            +
                      "networkId"
         | 
| 21638 | 
            +
                    ],
         | 
| 21639 | 
            +
                    "type": "object",
         | 
| 21640 | 
            +
                    "properties": {
         | 
| 21641 | 
            +
                      "networkId": {
         | 
| 21642 | 
            +
                        "type": "string",
         | 
| 21643 | 
            +
                        "description": "The unique ID of the attachment in the SN Platform.",
         | 
| 21644 | 
            +
                        "format": "uuid"
         | 
| 21645 | 
            +
                      },
         | 
| 21646 | 
            +
                      "invoiceNetworkId": {
         | 
| 21647 | 
            +
                        "type": "string",
         | 
| 21648 | 
            +
                        "description": "The unique ID of the invoice in the SN Platform.",
         | 
| 21649 | 
            +
                        "format": "uuid"
         | 
| 21650 | 
            +
                      },
         | 
| 21651 | 
            +
                      "fileName": {
         | 
| 21652 | 
            +
                        "type": "string",
         | 
| 21653 | 
            +
                        "description": "The file name of this attachment."
         | 
| 21654 | 
            +
                      },
         | 
| 21655 | 
            +
                      "fileExt": {
         | 
| 21656 | 
            +
                        "type": "string",
         | 
| 21657 | 
            +
                        "description": "The file extension of this attachment."
         | 
| 21658 | 
            +
                      },
         | 
| 21659 | 
            +
                      "attachmentType": {
         | 
| 21660 | 
            +
                        "type": "string",
         | 
| 21661 | 
            +
                        "description": "A label indicating the type of the attachment"
         | 
| 21662 | 
            +
                      }
         | 
| 21663 | 
            +
                    },
         | 
| 21664 | 
            +
                    "additionalProperties": false,
         | 
| 21665 | 
            +
                    "description": "Contains attachment meta data for ERP Update objects."
         | 
| 21666 | 
            +
                  },
         | 
| 21602 21667 | 
             
                  "AttachmentLinkModel": {
         | 
| 21603 21668 | 
             
                    "type": "object",
         | 
| 21604 21669 | 
             
                    "properties": {
         | 
| @@ -21814,6 +21879,26 @@ | |
| 21814 21879 | 
             
                        "description": "True if this is a full sync, false if this is a partial sync. Defaults to false.",
         | 
| 21815 21880 | 
             
                        "default": false
         | 
| 21816 21881 | 
             
                      },
         | 
| 21882 | 
            +
                      "currentBatch": {
         | 
| 21883 | 
            +
                        "type": "integer",
         | 
| 21884 | 
            +
                        "description": "The optional current batch number for this batch sync.",
         | 
| 21885 | 
            +
                        "format": "int32",
         | 
| 21886 | 
            +
                        "default": 1,
         | 
| 21887 | 
            +
                        "nullable": true
         | 
| 21888 | 
            +
                      },
         | 
| 21889 | 
            +
                      "totalBatches": {
         | 
| 21890 | 
            +
                        "type": "integer",
         | 
| 21891 | 
            +
                        "description": "The optional total number of batchs for this batch sync.",
         | 
| 21892 | 
            +
                        "format": "int32",
         | 
| 21893 | 
            +
                        "default": 1,
         | 
| 21894 | 
            +
                        "nullable": true
         | 
| 21895 | 
            +
                      },
         | 
| 21896 | 
            +
                      "parentSyncRequestId": {
         | 
| 21897 | 
            +
                        "type": "string",
         | 
| 21898 | 
            +
                        "description": "The optional existing parent sync request id for the batch sync.",
         | 
| 21899 | 
            +
                        "format": "uuid",
         | 
| 21900 | 
            +
                        "nullable": true
         | 
| 21901 | 
            +
                      },
         | 
| 21817 21902 | 
             
                      "companies": {
         | 
| 21818 21903 | 
             
                        "type": "array",
         | 
| 21819 21904 | 
             
                        "items": {
         | 
| @@ -22340,6 +22425,12 @@ | |
| 22340 22425 | 
             
                        ],
         | 
| 22341 22426 | 
             
                        "description": "Status of the most recent magic link made for this company",
         | 
| 22342 22427 | 
             
                        "nullable": true
         | 
| 22428 | 
            +
                      },
         | 
| 22429 | 
            +
                      "latestMagicLinkExpirationDate": {
         | 
| 22430 | 
            +
                        "type": "string",
         | 
| 22431 | 
            +
                        "description": "Expiration date of the most recent magic link made for this company",
         | 
| 22432 | 
            +
                        "format": "date-time",
         | 
| 22433 | 
            +
                        "nullable": true
         | 
| 22343 22434 | 
             
                      }
         | 
| 22344 22435 | 
             
                    },
         | 
| 22345 22436 | 
             
                    "additionalProperties": false,
         | 
| @@ -22438,8 +22529,16 @@ | |
| 22438 22529 | 
             
                        "minLength": 0,
         | 
| 22439 22530 | 
             
                        "type": "string",
         | 
| 22440 22531 | 
             
                        "description": "The URL of this company's logo, if known.",
         | 
| 22441 | 
            -
                        "nullable": true | 
| 22442 | 
            -
             | 
| 22532 | 
            +
                        "nullable": true
         | 
| 22533 | 
            +
                      },
         | 
| 22534 | 
            +
                      "companyLogoStatus": {
         | 
| 22535 | 
            +
                        "allOf": [
         | 
| 22536 | 
            +
                          {
         | 
| 22537 | 
            +
                            "$ref": "#/components/schemas/ScanStatus"
         | 
| 22538 | 
            +
                          }
         | 
| 22539 | 
            +
                        ],
         | 
| 22540 | 
            +
                        "description": "The scan status of the company's logo, if it exists",
         | 
| 22541 | 
            +
                        "nullable": true
         | 
| 22443 22542 | 
             
                      },
         | 
| 22444 22543 | 
             
                      "primaryContactId": {
         | 
| 22445 22544 | 
             
                        "type": "string",
         | 
| @@ -23044,6 +23143,30 @@ | |
| 23044 23143 | 
             
                        "format": "int32",
         | 
| 23045 23144 | 
             
                        "default": null,
         | 
| 23046 23145 | 
             
                        "nullable": true
         | 
| 23146 | 
            +
                      },
         | 
| 23147 | 
            +
                      "clientId": {
         | 
| 23148 | 
            +
                        "type": "string",
         | 
| 23149 | 
            +
                        "description": "The Client Id for the connection being created.",
         | 
| 23150 | 
            +
                        "default": null,
         | 
| 23151 | 
            +
                        "nullable": true
         | 
| 23152 | 
            +
                      },
         | 
| 23153 | 
            +
                      "clientSecret": {
         | 
| 23154 | 
            +
                        "type": "string",
         | 
| 23155 | 
            +
                        "description": "The Secret for the connection being created.",
         | 
| 23156 | 
            +
                        "default": null,
         | 
| 23157 | 
            +
                        "nullable": true
         | 
| 23158 | 
            +
                      },
         | 
| 23159 | 
            +
                      "tenant": {
         | 
| 23160 | 
            +
                        "type": "string",
         | 
| 23161 | 
            +
                        "description": "The TenantId for the connection being created.",
         | 
| 23162 | 
            +
                        "default": null,
         | 
| 23163 | 
            +
                        "nullable": true
         | 
| 23164 | 
            +
                      },
         | 
| 23165 | 
            +
                      "authToken": {
         | 
| 23166 | 
            +
                        "type": "string",
         | 
| 23167 | 
            +
                        "description": "The AuthToken for the connection being created.",
         | 
| 23168 | 
            +
                        "default": null,
         | 
| 23169 | 
            +
                        "nullable": true
         | 
| 23047 23170 | 
             
                      }
         | 
| 23048 23171 | 
             
                    },
         | 
| 23049 23172 | 
             
                    "additionalProperties": false,
         | 
| @@ -24569,33 +24692,6 @@ | |
| 24569 24692 | 
             
                    "additionalProperties": false,
         | 
| 24570 24693 | 
             
                    "description": "Model containing information to create a new developer account."
         | 
| 24571 24694 | 
             
                  },
         | 
| 24572 | 
            -
                  "EInvoiceAttachmentModel": {
         | 
| 24573 | 
            -
                    "type": "object",
         | 
| 24574 | 
            -
                    "properties": {
         | 
| 24575 | 
            -
                      "attachmentId": {
         | 
| 24576 | 
            -
                        "type": "string",
         | 
| 24577 | 
            -
                        "description": "The unique ID of this record, automatically assigned by Lockstep when this record is added to the platform.",
         | 
| 24578 | 
            -
                        "nullable": true
         | 
| 24579 | 
            -
                      },
         | 
| 24580 | 
            -
                      "fileName": {
         | 
| 24581 | 
            -
                        "type": "string",
         | 
| 24582 | 
            -
                        "description": "An Attachment represents a file that was uploaded to the Platform.This field contains the original name of the file on disk, without its extension.",
         | 
| 24583 | 
            -
                        "nullable": true
         | 
| 24584 | 
            -
                      },
         | 
| 24585 | 
            -
                      "fileExt": {
         | 
| 24586 | 
            -
                        "type": "string",
         | 
| 24587 | 
            -
                        "description": "An Attachment represents a file that was uploaded to the Platform.  This field contains the original extension name of the file on disk.",
         | 
| 24588 | 
            -
                        "nullable": true
         | 
| 24589 | 
            -
                      },
         | 
| 24590 | 
            -
                      "attachmentType": {
         | 
| 24591 | 
            -
                        "type": "string",
         | 
| 24592 | 
            -
                        "description": "A text string describing the type of this Attachment.",
         | 
| 24593 | 
            -
                        "nullable": true
         | 
| 24594 | 
            -
                      }
         | 
| 24595 | 
            -
                    },
         | 
| 24596 | 
            -
                    "additionalProperties": false,
         | 
| 24597 | 
            -
                    "description": "File Data model is child model for Invoice and InvoiceInboundSync model represents file name and file path.\r\nThis model is use for EInvoice request.\r\nFor more information on writing your own connector, see [Connector Data](https://developer.lockstep.io/docs/connector-data)."
         | 
| 24598 | 
            -
                  },
         | 
| 24599 24695 | 
             
                  "EmailReplyGeneratorRequest": {
         | 
| 24600 24696 | 
             
                    "required": [
         | 
| 24601 24697 | 
             
                      "body",
         | 
| @@ -25864,12 +25960,11 @@ | |
| 25864 25960 | 
             
                        "description": "This flag Indicates if this invoice is E-invoice.\r\nWhen True, all fields other than erpKey, companyERPKey, and customerERPKey become optional.\r\nModel most also contain at least one e-invoice file type."
         | 
| 25865 25961 | 
             
                      },
         | 
| 25866 25962 | 
             
                      "attachments": {
         | 
| 25867 | 
            -
                        " | 
| 25868 | 
            -
             | 
| 25869 | 
            -
             | 
| 25870 | 
            -
             | 
| 25871 | 
            -
                         | 
| 25872 | 
            -
                        "description": "File Data model is child model for Invoice and InvoiceInboundSync model represents file name and file path.\r\nThis model is use for EInvoice request.\r\nFor more information on writing your own connector, see [Connector Data](https://developer.lockstep.io/docs/connector-data).",
         | 
| 25963 | 
            +
                        "type": "array",
         | 
| 25964 | 
            +
                        "items": {
         | 
| 25965 | 
            +
                          "$ref": "#/components/schemas/AttachmentErpUpdateModel"
         | 
| 25966 | 
            +
                        },
         | 
| 25967 | 
            +
                        "description": "Attachment data associated with this request.",
         | 
| 25873 25968 | 
             
                        "nullable": true
         | 
| 25874 25969 | 
             
                      },
         | 
| 25875 25970 | 
             
                      "customerNetworkId": {
         | 
| @@ -25903,7 +25998,7 @@ | |
| 25903 25998 | 
             
                      },
         | 
| 25904 25999 | 
             
                      "isDraft": {
         | 
| 25905 26000 | 
             
                        "type": "boolean",
         | 
| 25906 | 
            -
                        "description": "Flags if this invoice request  | 
| 26001 | 
            +
                        "description": "Flags if this invoice request is to be posted as a draft"
         | 
| 25907 26002 | 
             
                      },
         | 
| 25908 26003 | 
             
                      "departmentErpKey": {
         | 
| 25909 26004 | 
             
                        "type": "string",
         | 
| @@ -26236,7 +26331,7 @@ | |
| 26236 26331 | 
             
                      },
         | 
| 26237 26332 | 
             
                      "quantity": {
         | 
| 26238 26333 | 
             
                        "type": "number",
         | 
| 26239 | 
            -
                        "description": "The quantity of items for  | 
| 26334 | 
            +
                        "description": "The quantity of items for this line.",
         | 
| 26240 26335 | 
             
                        "format": "double",
         | 
| 26241 26336 | 
             
                        "nullable": true
         | 
| 26242 26337 | 
             
                      },
         | 
| @@ -26356,7 +26451,7 @@ | |
| 26356 26451 | 
             
                      },
         | 
| 26357 26452 | 
             
                      "webpageUrl": {
         | 
| 26358 26453 | 
             
                        "type": "string",
         | 
| 26359 | 
            -
                        "description": "A  | 
| 26454 | 
            +
                        "description": "A web page URL for more information about this contact.",
         | 
| 26360 26455 | 
             
                        "nullable": true
         | 
| 26361 26456 | 
             
                      },
         | 
| 26362 26457 | 
             
                      "pictureUrl": {
         | 
| @@ -26714,6 +26809,11 @@ | |
| 26714 26809 | 
             
                        "description": "The line number of this line, as defined in the originating ERP or accounting system.  You can sort on this number to\r\nget the original view of lines within the invoice.",
         | 
| 26715 26810 | 
             
                        "nullable": true
         | 
| 26716 26811 | 
             
                      },
         | 
| 26812 | 
            +
                      "accountNumber": {
         | 
| 26813 | 
            +
                        "type": "string",
         | 
| 26814 | 
            +
                        "description": "The account number this line is associated with in the originating ERP or accounting system.",
         | 
| 26815 | 
            +
                        "nullable": true
         | 
| 26816 | 
            +
                      },
         | 
| 26717 26817 | 
             
                      "productCode": {
         | 
| 26718 26818 | 
             
                        "maxLength": 100,
         | 
| 26719 26819 | 
             
                        "type": "string",
         | 
| @@ -26945,6 +27045,11 @@ | |
| 26945 27045 | 
             
                        "type": "string",
         | 
| 26946 27046 | 
             
                        "description": "The line number of this line, as defined in the originating ERP or accounting system.  You can sort on this number to\r\nget the original view of lines within the invoice."
         | 
| 26947 27047 | 
             
                      },
         | 
| 27048 | 
            +
                      "accountNumber": {
         | 
| 27049 | 
            +
                        "type": "string",
         | 
| 27050 | 
            +
                        "description": "The account number this line is associated with in the originating ERP or accounting system.",
         | 
| 27051 | 
            +
                        "nullable": true
         | 
| 27052 | 
            +
                      },
         | 
| 26948 27053 | 
             
                      "productCode": {
         | 
| 26949 27054 | 
             
                        "type": "string",
         | 
| 26950 27055 | 
             
                        "description": "A code number identifying the product or service that is specified on this line.",
         | 
| @@ -27372,6 +27477,14 @@ | |
| 27372 27477 | 
             
                        "type": "boolean",
         | 
| 27373 27478 | 
             
                        "description": "Is the invoice in dispute?"
         | 
| 27374 27479 | 
             
                      },
         | 
| 27480 | 
            +
                      "isDraft": {
         | 
| 27481 | 
            +
                        "type": "boolean",
         | 
| 27482 | 
            +
                        "description": "Is the invoice a draft?"
         | 
| 27483 | 
            +
                      },
         | 
| 27484 | 
            +
                      "onHold": {
         | 
| 27485 | 
            +
                        "type": "boolean",
         | 
| 27486 | 
            +
                        "description": "Is the invoice on hold?"
         | 
| 27487 | 
            +
                      },
         | 
| 27375 27488 | 
             
                      "excludeFromAging": {
         | 
| 27376 27489 | 
             
                        "type": "boolean",
         | 
| 27377 27490 | 
             
                        "description": "Should the invoice be excluded from aging calculations?"
         | 
| @@ -28204,6 +28317,16 @@ | |
| 28204 28317 | 
             
                        "description": "Is the invoice in dispute? If not specified, we assume the invoice is not in dispute.",
         | 
| 28205 28318 | 
             
                        "nullable": true
         | 
| 28206 28319 | 
             
                      },
         | 
| 28320 | 
            +
                      "isDraft": {
         | 
| 28321 | 
            +
                        "type": "boolean",
         | 
| 28322 | 
            +
                        "description": "Is the invoice a draft? If not specified, we assume the invoice is not a draft.",
         | 
| 28323 | 
            +
                        "nullable": true
         | 
| 28324 | 
            +
                      },
         | 
| 28325 | 
            +
                      "onHold": {
         | 
| 28326 | 
            +
                        "type": "boolean",
         | 
| 28327 | 
            +
                        "description": "Is the invoice on hold? If not specified, we assume the invoice is not on hold.",
         | 
| 28328 | 
            +
                        "nullable": true
         | 
| 28329 | 
            +
                      },
         | 
| 28207 28330 | 
             
                      "preferredDeliveryMethod": {
         | 
| 28208 28331 | 
             
                        "type": "string",
         | 
| 28209 28332 | 
             
                        "description": "Indicates the preferred delivery method for this invoice. Examples include Print, Email, Fax",
         | 
| @@ -28247,6 +28370,12 @@ | |
| 28247 28370 | 
             
                        "type": "boolean",
         | 
| 28248 28371 | 
             
                        "description": "True if the E-Invoice should be sent to gov/other recipients immediately",
         | 
| 28249 28372 | 
             
                        "nullable": true
         | 
| 28373 | 
            +
                      },
         | 
| 28374 | 
            +
                      "workflowStatusId": {
         | 
| 28375 | 
            +
                        "type": "string",
         | 
| 28376 | 
            +
                        "description": "Workflow status of the invoice.",
         | 
| 28377 | 
            +
                        "format": "uuid",
         | 
| 28378 | 
            +
                        "nullable": true
         | 
| 28250 28379 | 
             
                      }
         | 
| 28251 28380 | 
             
                    },
         | 
| 28252 28381 | 
             
                    "additionalProperties": false,
         | 
| @@ -30586,6 +30715,16 @@ | |
| 30586 30715 | 
             
                    "description": "The different depths of describing an account. See the Financial Account Model for possible values for each depth\r\nEnum values are:\r\n            \r\n0 - the classification of the account\r\n1 - the category of the account\r\n2 - the subcategory of the account\r\n3 - the account",
         | 
| 30587 30716 | 
             
                    "format": "int32"
         | 
| 30588 30717 | 
             
                  },
         | 
| 30718 | 
            +
                  "ScanStatus": {
         | 
| 30719 | 
            +
                    "enum": [
         | 
| 30720 | 
            +
                      "Upload Pending",
         | 
| 30721 | 
            +
                      "Uploaded",
         | 
| 30722 | 
            +
                      "Upload Failed"
         | 
| 30723 | 
            +
                    ],
         | 
| 30724 | 
            +
                    "type": "string",
         | 
| 30725 | 
            +
                    "description": "The different statuses of an attachment being scanned for viruses.",
         | 
| 30726 | 
            +
                    "format": ""
         | 
| 30727 | 
            +
                  },
         | 
| 30589 30728 | 
             
                  "Source": {
         | 
| 30590 30729 | 
             
                    "type": "object",
         | 
| 30591 30730 | 
             
                    "properties": {
         | 
| @@ -31065,6 +31204,27 @@ | |
| 31065 31204 | 
             
                        ],
         | 
| 31066 31205 | 
             
                        "description": "Inbound sync payload",
         | 
| 31067 31206 | 
             
                        "nullable": true
         | 
| 31207 | 
            +
                      },
         | 
| 31208 | 
            +
                      "parentSyncRequestId": {
         | 
| 31209 | 
            +
                        "type": "string",
         | 
| 31210 | 
            +
                        "description": "The ParentSyncRequestId for this batch zip sync request",
         | 
| 31211 | 
            +
                        "format": "uuid",
         | 
| 31212 | 
            +
                        "nullable": true,
         | 
| 31213 | 
            +
                        "readOnly": true
         | 
| 31214 | 
            +
                      },
         | 
| 31215 | 
            +
                      "currentBatch": {
         | 
| 31216 | 
            +
                        "type": "integer",
         | 
| 31217 | 
            +
                        "description": "The CurrentBatch of this batch zip sync request",
         | 
| 31218 | 
            +
                        "format": "int32",
         | 
| 31219 | 
            +
                        "nullable": true,
         | 
| 31220 | 
            +
                        "readOnly": true
         | 
| 31221 | 
            +
                      },
         | 
| 31222 | 
            +
                      "totalBatches": {
         | 
| 31223 | 
            +
                        "type": "integer",
         | 
| 31224 | 
            +
                        "description": "The TotalBatches of this batch zip sync request",
         | 
| 31225 | 
            +
                        "format": "int32",
         | 
| 31226 | 
            +
                        "nullable": true,
         | 
| 31227 | 
            +
                        "readOnly": true
         | 
| 31068 31228 | 
             
                      }
         | 
| 31069 31229 | 
             
                    },
         | 
| 31070 31230 | 
             
                    "additionalProperties": false,
         | 
| @@ -31307,6 +31467,11 @@ | |
| 31307 31467 | 
             
                        "type": "string",
         | 
| 31308 31468 | 
             
                        "description": "The customer associated with this transaction",
         | 
| 31309 31469 | 
             
                        "format": "uuid"
         | 
| 31470 | 
            +
                      },
         | 
| 31471 | 
            +
                      "transactionCustomerName": {
         | 
| 31472 | 
            +
                        "type": "string",
         | 
| 31473 | 
            +
                        "description": "The name of the customer associated with this transaction",
         | 
| 31474 | 
            +
                        "nullable": true
         | 
| 31310 31475 | 
             
                      }
         | 
| 31311 31476 | 
             
                    },
         | 
| 31312 31477 | 
             
                    "additionalProperties": false,
         | 
| @@ -32829,9 +32994,9 @@ | |
| 32829 32994 | 
             
                    "description": "Azure B2C OAuth Authentication",
         | 
| 32830 32995 | 
             
                    "flows": {
         | 
| 32831 32996 | 
             
                      "implicit": {
         | 
| 32832 | 
            -
                        "authorizationUrl": "https://login.sbx.lockstep.io/login.sbx.lockstep.io/B2C_1A_PLATFORMSIGNUP_SIGNIN/oauth2/v2.0/authorize",
         | 
| 32997 | 
            +
                        "authorizationUrl": "https://login.eu.sbx.lockstep.io/login.eu.sbx.lockstep.io/B2C_1A_PLATFORMSIGNUP_SIGNIN/oauth2/v2.0/authorize",
         | 
| 32833 32998 | 
             
                        "scopes": {
         | 
| 32834 | 
            -
                          "https://login.sbx.lockstep.io/platform-api/api.call": "Call the Platform API"
         | 
| 32999 | 
            +
                          "https://login.eu.sbx.lockstep.io/platform-api/api.call": "Call the Platform API"
         | 
| 32835 33000 | 
             
                        }
         | 
| 32836 33001 | 
             
                      }
         | 
| 32837 33002 | 
             
                    }
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: lockstep_rails
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.3. | 
| 4 | 
            +
              version: 0.3.77
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Vivek AG
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023- | 
| 11 | 
            +
            date: 2023-12-26 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rails
         | 
| @@ -77,6 +77,7 @@ files: | |
| 77 77 | 
             
            - app/models/lockstep/report_risk_rate.rb
         | 
| 78 78 | 
             
            - app/models/lockstep/service_fabric_payment.rb
         | 
| 79 79 | 
             
            - app/models/lockstep/status.rb
         | 
| 80 | 
            +
            - app/models/lockstep/transaction.rb
         | 
| 80 81 | 
             
            - app/models/lockstep/transcription_validation_request.rb
         | 
| 81 82 | 
             
            - app/models/lockstep/user.rb
         | 
| 82 83 | 
             
            - app/models/lockstep/vendor_summary.rb
         | 
| @@ -116,6 +117,7 @@ files: | |
| 116 117 | 
             
            - app/platform_api/schema/at_risk_invoice_summary.rb
         | 
| 117 118 | 
             
            - app/platform_api/schema/at_risk_invoice_summary_fetch_result.rb
         | 
| 118 119 | 
             
            - app/platform_api/schema/attachment.rb
         | 
| 120 | 
            +
            - app/platform_api/schema/attachment_erp_update.rb
         | 
| 119 121 | 
             
            - app/platform_api/schema/attachment_fetch_result.rb
         | 
| 120 122 | 
             
            - app/platform_api/schema/attachment_header_info.rb
         | 
| 121 123 | 
             
            - app/platform_api/schema/attachment_link.rb
         |