nordlet 0.3.11 → 0.5.0
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/lib/nordlet/account/types/me_account_response_billing.rb +8 -0
- data/lib/nordlet/account/types/me_account_response_billing_account_type.rb +14 -0
- data/lib/nordlet/bank/client.rb +96 -0
- data/lib/nordlet/bank/types/accounts_create_bank_request_type.rb +1 -0
- data/lib/nordlet/bank/types/accounts_create_bank_response_type.rb +1 -0
- data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item_type.rb +1 -0
- data/lib/nordlet/bank/types/accounts_update_bank_request_type.rb +1 -0
- data/lib/nordlet/bank/types/accounts_update_bank_response_type.rb +1 -0
- data/lib/nordlet/bank/types/securities_get_bank_request.rb +11 -0
- data/lib/nordlet/bank/types/securities_get_bank_response.rb +35 -0
- data/lib/nordlet/bank/types/securities_get_bank_response_operations_item.rb +51 -0
- data/lib/nordlet/bank/types/securities_get_bank_response_operations_item_status.rb +14 -0
- data/lib/nordlet/bank/types/securities_import_bank_request.rb +15 -0
- data/lib/nordlet/bank/types/securities_import_bank_response.rb +33 -0
- data/lib/nordlet/bank/types/securities_list_bank_request.rb +19 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item.rb +15 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_op.rb +18 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_value.rb +19 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_sort_item.rb +13 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/bank/types/securities_list_bank_response.rb +21 -0
- data/lib/nordlet/bank/types/securities_list_bank_response_rows_item.rb +33 -0
- data/lib/nordlet/billing/client.rb +192 -0
- data/lib/nordlet/billing/types/account_get_billing_response.rb +10 -0
- data/lib/nordlet/billing/types/account_get_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_get_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_get_billing_response_month_to_date.rb +2 -0
- data/lib/nordlet/billing/types/account_get_billing_response_plans_value.rb +2 -2
- data/lib/nordlet/billing/types/account_set_account_type_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_request_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_request.rb +13 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response.rb +10 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_month_to_date.rb +2 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_plans_value.rb +2 -2
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request.rb +13 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request_locale.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request_plan.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_response.rb +13 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/topup_create_billing_request.rb +2 -0
- data/lib/nordlet/billing/types/topup_create_billing_request_return_to.rb +14 -0
- data/lib/nordlet/billing/types/usage_list_billing_response_rows_item_metric.rb +1 -0
- data/lib/nordlet/declarations/client.rb +1 -1
- data/lib/nordlet/ledger/client.rb +1 -1
- data/lib/nordlet/ledger/types/posting_rules_update_ledger_request_rules_item_key.rb +8 -0
- data/lib/nordlet/partners/types/create_partners_request.rb +0 -4
- data/lib/nordlet/partners/types/create_partners_response.rb +0 -4
- data/lib/nordlet/partners/types/find_or_create_partners_request.rb +0 -4
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner.rb +0 -4
- data/lib/nordlet/partners/types/get_partners_response.rb +0 -4
- data/lib/nordlet/partners/types/list_partners_response_rows_item.rb +0 -4
- data/lib/nordlet/partners/types/update_partners_request.rb +0 -4
- data/lib/nordlet/partners/types/update_partners_response.rb +0 -4
- data/lib/nordlet/sales/client.rb +161 -1
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request.rb +57 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_vat_scheme.rb +21 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_delete_sales_request.rb +11 -0
- data/lib/nordlet/sales/types/invoice_templates_delete_sales_response.rb +11 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_request.rb +11 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request.rb +19 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_op.rb +18 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_value.rb +19 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_sort_item.rb +13 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response.rb +21 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request.rb +59 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_vat_scheme.rb +21 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_supply_type.rb +15 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet.rb +108 -0
- data/reference.md +1731 -621
- metadata +110 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesCreateSalesResponseLinesItem < Internal::Types::Model
|
|
7
|
+
field :item_id, -> { String }, optional: true, nullable: false, api_name: "itemId"
|
|
8
|
+
|
|
9
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :quantity, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :unit_price_excl_vat, -> { String }, optional: true, nullable: false, api_name: "unitPriceExclVat"
|
|
14
|
+
|
|
15
|
+
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
|
+
|
|
17
|
+
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
|
+
|
|
19
|
+
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
20
|
+
|
|
21
|
+
field :unit, -> { String }, optional: true, nullable: false
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoiceTemplatesCreateSalesResponseSupplyType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
GOODS = "goods"
|
|
10
|
+
SERVICES = "services"
|
|
11
|
+
DIGITAL = "digital"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesGetSalesResponse < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :document_type, -> { Nordlet::Sales::Types::InvoiceTemplatesGetSalesResponseDocumentType }, optional: false, nullable: false, api_name: "documentType"
|
|
12
|
+
|
|
13
|
+
field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
|
|
14
|
+
|
|
15
|
+
field :currency, -> { String }, optional: false, nullable: true
|
|
16
|
+
|
|
17
|
+
field :payment_term_days, -> { Integer }, optional: false, nullable: true, api_name: "paymentTermDays"
|
|
18
|
+
|
|
19
|
+
field :vat_scheme, -> { String }, optional: false, nullable: true, api_name: "vatScheme"
|
|
20
|
+
|
|
21
|
+
field :vat_country_code, -> { String }, optional: false, nullable: true, api_name: "vatCountryCode"
|
|
22
|
+
|
|
23
|
+
field :agreement_id, -> { String }, optional: false, nullable: true, api_name: "agreementId"
|
|
24
|
+
|
|
25
|
+
field :operation_type_id, -> { String }, optional: false, nullable: true, api_name: "operationTypeId"
|
|
26
|
+
|
|
27
|
+
field :document_series_id, -> { String }, optional: false, nullable: true, api_name: "documentSeriesId"
|
|
28
|
+
|
|
29
|
+
field :discount_percent, -> { String }, optional: false, nullable: true, api_name: "discountPercent"
|
|
30
|
+
|
|
31
|
+
field :issued_by_name, -> { String }, optional: false, nullable: true, api_name: "issuedByName"
|
|
32
|
+
|
|
33
|
+
field :issued_by_title, -> { String }, optional: false, nullable: true, api_name: "issuedByTitle"
|
|
34
|
+
|
|
35
|
+
field :received_by_name, -> { String }, optional: false, nullable: true, api_name: "receivedByName"
|
|
36
|
+
|
|
37
|
+
field :received_by_title, -> { String }, optional: false, nullable: true, api_name: "receivedByTitle"
|
|
38
|
+
|
|
39
|
+
field :notes, -> { String }, optional: false, nullable: true
|
|
40
|
+
|
|
41
|
+
field :supply_type, -> { Nordlet::Sales::Types::InvoiceTemplatesGetSalesResponseSupplyType }, optional: false, nullable: true, api_name: "supplyType"
|
|
42
|
+
|
|
43
|
+
field :series_label, -> { String }, optional: false, nullable: true, api_name: "seriesLabel"
|
|
44
|
+
|
|
45
|
+
field :order_number, -> { String }, optional: false, nullable: true, api_name: "orderNumber"
|
|
46
|
+
|
|
47
|
+
field :intrastat_transport_mode, -> { String }, optional: false, nullable: true, api_name: "intrastatTransportMode"
|
|
48
|
+
|
|
49
|
+
field :intrastat_delivery_terms, -> { String }, optional: false, nullable: true, api_name: "intrastatDeliveryTerms"
|
|
50
|
+
|
|
51
|
+
field :intrastat_region, -> { String }, optional: false, nullable: true, api_name: "intrastatRegion"
|
|
52
|
+
|
|
53
|
+
field :intrastat_nature_of_transaction, -> { String }, optional: false, nullable: true, api_name: "intrastatNatureOfTransaction"
|
|
54
|
+
|
|
55
|
+
field :lines, -> { Internal::Types::Array[Nordlet::Sales::Types::InvoiceTemplatesGetSalesResponseLinesItem] }, optional: false, nullable: false
|
|
56
|
+
|
|
57
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
58
|
+
|
|
59
|
+
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoiceTemplatesGetSalesResponseDocumentType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
INVOICE = "invoice"
|
|
10
|
+
CREDIT_NOTE = "credit_note"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesGetSalesResponseLinesItem < Internal::Types::Model
|
|
7
|
+
field :item_id, -> { String }, optional: true, nullable: false, api_name: "itemId"
|
|
8
|
+
|
|
9
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :quantity, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :unit_price_excl_vat, -> { String }, optional: true, nullable: false, api_name: "unitPriceExclVat"
|
|
14
|
+
|
|
15
|
+
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
|
+
|
|
17
|
+
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
|
+
|
|
19
|
+
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
20
|
+
|
|
21
|
+
field :unit, -> { String }, optional: true, nullable: false
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoiceTemplatesGetSalesResponseSupplyType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
GOODS = "goods"
|
|
10
|
+
SERVICES = "services"
|
|
11
|
+
DIGITAL = "digital"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesListSalesRequest < Internal::Types::Model
|
|
7
|
+
field :page, -> { Integer }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :page_size, -> { Integer }, optional: true, nullable: false, api_name: "pageSize"
|
|
10
|
+
|
|
11
|
+
field :sort, -> { Internal::Types::Array[Nordlet::Sales::Types::InvoiceTemplatesListSalesRequestSortItem] }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :filter, -> { Internal::Types::Array[Nordlet::Sales::Types::InvoiceTemplatesListSalesRequestFilterItem] }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :totals, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesListSalesRequestFilterItem < Internal::Types::Model
|
|
7
|
+
field :field, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :op, -> { Nordlet::Sales::Types::InvoiceTemplatesListSalesRequestFilterItemOp }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :value, -> { Nordlet::Sales::Types::InvoiceTemplatesListSalesRequestFilterItemValue }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoiceTemplatesListSalesRequestFilterItemOp
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
EQ = "eq"
|
|
10
|
+
NE = "ne"
|
|
11
|
+
CONTAINS = "contains"
|
|
12
|
+
GTE = "gte"
|
|
13
|
+
LTE = "lte"
|
|
14
|
+
IN = "in"
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesListSalesRequestFilterItemValue < Internal::Types::Model
|
|
7
|
+
extend Nordlet::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
member -> { String }
|
|
10
|
+
|
|
11
|
+
member -> { Integer }
|
|
12
|
+
|
|
13
|
+
member -> { Internal::Types::Boolean }
|
|
14
|
+
|
|
15
|
+
member -> { Internal::Types::Array[Nordlet::Sales::Types::InvoiceTemplatesListSalesRequestFilterItemValueThreeItem] }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_value_three_item.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesListSalesRequestFilterItemValueThreeItem < Internal::Types::Model
|
|
7
|
+
extend Nordlet::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
member -> { String }
|
|
10
|
+
|
|
11
|
+
member -> { Integer }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesListSalesRequestSortItem < Internal::Types::Model
|
|
7
|
+
field :field, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :dir, -> { Nordlet::Sales::Types::InvoiceTemplatesListSalesRequestSortItemDir }, optional: true, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesListSalesResponse < Internal::Types::Model
|
|
7
|
+
field :rows, -> { Internal::Types::Array[Nordlet::Sales::Types::InvoiceTemplatesListSalesResponseRowsItem] }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :page, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :page_size, -> { Integer }, optional: false, nullable: false, api_name: "pageSize"
|
|
12
|
+
|
|
13
|
+
field :total, -> { Integer }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :totals, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :totals_by_currency, -> { Internal::Types::Hash[String, Internal::Types::Hash[String, String]] }, optional: true, nullable: false, api_name: "totalsByCurrency"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesListSalesResponseRowsItem < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :document_type, -> { Nordlet::Sales::Types::InvoiceTemplatesListSalesResponseRowsItemDocumentType }, optional: false, nullable: false, api_name: "documentType"
|
|
12
|
+
|
|
13
|
+
field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
|
|
14
|
+
|
|
15
|
+
field :currency, -> { String }, optional: false, nullable: true
|
|
16
|
+
|
|
17
|
+
field :payment_term_days, -> { Integer }, optional: false, nullable: true, api_name: "paymentTermDays"
|
|
18
|
+
|
|
19
|
+
field :vat_scheme, -> { String }, optional: false, nullable: true, api_name: "vatScheme"
|
|
20
|
+
|
|
21
|
+
field :vat_country_code, -> { String }, optional: false, nullable: true, api_name: "vatCountryCode"
|
|
22
|
+
|
|
23
|
+
field :agreement_id, -> { String }, optional: false, nullable: true, api_name: "agreementId"
|
|
24
|
+
|
|
25
|
+
field :operation_type_id, -> { String }, optional: false, nullable: true, api_name: "operationTypeId"
|
|
26
|
+
|
|
27
|
+
field :document_series_id, -> { String }, optional: false, nullable: true, api_name: "documentSeriesId"
|
|
28
|
+
|
|
29
|
+
field :discount_percent, -> { String }, optional: false, nullable: true, api_name: "discountPercent"
|
|
30
|
+
|
|
31
|
+
field :issued_by_name, -> { String }, optional: false, nullable: true, api_name: "issuedByName"
|
|
32
|
+
|
|
33
|
+
field :issued_by_title, -> { String }, optional: false, nullable: true, api_name: "issuedByTitle"
|
|
34
|
+
|
|
35
|
+
field :received_by_name, -> { String }, optional: false, nullable: true, api_name: "receivedByName"
|
|
36
|
+
|
|
37
|
+
field :received_by_title, -> { String }, optional: false, nullable: true, api_name: "receivedByTitle"
|
|
38
|
+
|
|
39
|
+
field :notes, -> { String }, optional: false, nullable: true
|
|
40
|
+
|
|
41
|
+
field :supply_type, -> { Nordlet::Sales::Types::InvoiceTemplatesListSalesResponseRowsItemSupplyType }, optional: false, nullable: true, api_name: "supplyType"
|
|
42
|
+
|
|
43
|
+
field :series_label, -> { String }, optional: false, nullable: true, api_name: "seriesLabel"
|
|
44
|
+
|
|
45
|
+
field :order_number, -> { String }, optional: false, nullable: true, api_name: "orderNumber"
|
|
46
|
+
|
|
47
|
+
field :intrastat_transport_mode, -> { String }, optional: false, nullable: true, api_name: "intrastatTransportMode"
|
|
48
|
+
|
|
49
|
+
field :intrastat_delivery_terms, -> { String }, optional: false, nullable: true, api_name: "intrastatDeliveryTerms"
|
|
50
|
+
|
|
51
|
+
field :intrastat_region, -> { String }, optional: false, nullable: true, api_name: "intrastatRegion"
|
|
52
|
+
|
|
53
|
+
field :intrastat_nature_of_transaction, -> { String }, optional: false, nullable: true, api_name: "intrastatNatureOfTransaction"
|
|
54
|
+
|
|
55
|
+
field :lines, -> { Internal::Types::Array[Nordlet::Sales::Types::InvoiceTemplatesListSalesResponseRowsItemLinesItem] }, optional: false, nullable: false
|
|
56
|
+
|
|
57
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
58
|
+
|
|
59
|
+
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoiceTemplatesListSalesResponseRowsItemDocumentType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
INVOICE = "invoice"
|
|
10
|
+
CREDIT_NOTE = "credit_note"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesListSalesResponseRowsItemLinesItem < Internal::Types::Model
|
|
7
|
+
field :item_id, -> { String }, optional: true, nullable: false, api_name: "itemId"
|
|
8
|
+
|
|
9
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :quantity, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :unit_price_excl_vat, -> { String }, optional: true, nullable: false, api_name: "unitPriceExclVat"
|
|
14
|
+
|
|
15
|
+
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
|
+
|
|
17
|
+
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
|
+
|
|
19
|
+
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
20
|
+
|
|
21
|
+
field :unit, -> { String }, optional: true, nullable: false
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoiceTemplatesListSalesResponseRowsItemSupplyType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
GOODS = "goods"
|
|
10
|
+
SERVICES = "services"
|
|
11
|
+
DIGITAL = "digital"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesUpdateSalesRequest < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :name, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :document_type, -> { Nordlet::Sales::Types::InvoiceTemplatesUpdateSalesRequestDocumentType }, optional: true, nullable: false, api_name: "documentType"
|
|
12
|
+
|
|
13
|
+
field :partner_id, -> { String }, optional: true, nullable: false, api_name: "partnerId"
|
|
14
|
+
|
|
15
|
+
field :currency, -> { String }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :payment_term_days, -> { Integer }, optional: true, nullable: false, api_name: "paymentTermDays"
|
|
18
|
+
|
|
19
|
+
field :vat_scheme, -> { Nordlet::Sales::Types::InvoiceTemplatesUpdateSalesRequestVatScheme }, optional: true, nullable: false, api_name: "vatScheme"
|
|
20
|
+
|
|
21
|
+
field :vat_country_code, -> { String }, optional: true, nullable: false, api_name: "vatCountryCode"
|
|
22
|
+
|
|
23
|
+
field :agreement_id, -> { String }, optional: true, nullable: false, api_name: "agreementId"
|
|
24
|
+
|
|
25
|
+
field :operation_type_id, -> { String }, optional: true, nullable: false, api_name: "operationTypeId"
|
|
26
|
+
|
|
27
|
+
field :document_series_id, -> { String }, optional: true, nullable: false, api_name: "documentSeriesId"
|
|
28
|
+
|
|
29
|
+
field :discount_percent, -> { String }, optional: true, nullable: false, api_name: "discountPercent"
|
|
30
|
+
|
|
31
|
+
field :issued_by_name, -> { String }, optional: true, nullable: false, api_name: "issuedByName"
|
|
32
|
+
|
|
33
|
+
field :issued_by_title, -> { String }, optional: true, nullable: false, api_name: "issuedByTitle"
|
|
34
|
+
|
|
35
|
+
field :received_by_name, -> { String }, optional: true, nullable: false, api_name: "receivedByName"
|
|
36
|
+
|
|
37
|
+
field :received_by_title, -> { String }, optional: true, nullable: false, api_name: "receivedByTitle"
|
|
38
|
+
|
|
39
|
+
field :notes, -> { String }, optional: true, nullable: false
|
|
40
|
+
|
|
41
|
+
field :supply_type, -> { Nordlet::Sales::Types::InvoiceTemplatesUpdateSalesRequestSupplyType }, optional: true, nullable: false, api_name: "supplyType"
|
|
42
|
+
|
|
43
|
+
field :series_label, -> { String }, optional: true, nullable: false, api_name: "seriesLabel"
|
|
44
|
+
|
|
45
|
+
field :order_number, -> { String }, optional: true, nullable: false, api_name: "orderNumber"
|
|
46
|
+
|
|
47
|
+
field :intrastat_transport_mode, -> { String }, optional: true, nullable: false, api_name: "intrastatTransportMode"
|
|
48
|
+
|
|
49
|
+
field :intrastat_delivery_terms, -> { String }, optional: true, nullable: false, api_name: "intrastatDeliveryTerms"
|
|
50
|
+
|
|
51
|
+
field :intrastat_region, -> { String }, optional: true, nullable: false, api_name: "intrastatRegion"
|
|
52
|
+
|
|
53
|
+
field :intrastat_nature_of_transaction, -> { String }, optional: true, nullable: false, api_name: "intrastatNatureOfTransaction"
|
|
54
|
+
|
|
55
|
+
field :lines, -> { Internal::Types::Array[Nordlet::Sales::Types::InvoiceTemplatesUpdateSalesRequestLinesItem] }, optional: true, nullable: false
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoiceTemplatesUpdateSalesRequestDocumentType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
INVOICE = "invoice"
|
|
10
|
+
CREDIT_NOTE = "credit_note"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoiceTemplatesUpdateSalesRequestLinesItem < Internal::Types::Model
|
|
7
|
+
field :item_id, -> { String }, optional: true, nullable: false, api_name: "itemId"
|
|
8
|
+
|
|
9
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :quantity, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :unit_price_excl_vat, -> { String }, optional: true, nullable: false, api_name: "unitPriceExclVat"
|
|
14
|
+
|
|
15
|
+
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
|
+
|
|
17
|
+
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
|
+
|
|
19
|
+
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
20
|
+
|
|
21
|
+
field :unit, -> { String }, optional: true, nullable: false
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoiceTemplatesUpdateSalesRequestSupplyType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
GOODS = "goods"
|
|
10
|
+
SERVICES = "services"
|
|
11
|
+
DIGITAL = "digital"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoiceTemplatesUpdateSalesRequestVatScheme
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
DOMESTIC = "domestic"
|
|
10
|
+
INTRA_EU_B2B = "intra_eu_b2b"
|
|
11
|
+
REVERSE_CHARGE = "reverse_charge"
|
|
12
|
+
OSS_UNION = "oss_union"
|
|
13
|
+
IOSS = "ioss"
|
|
14
|
+
MARKETPLACE_DEEMED = "marketplace_deemed"
|
|
15
|
+
EXPORT = "export"
|
|
16
|
+
OUT_OF_SCOPE = "out_of_scope"
|
|
17
|
+
SME_EXEMPT = "sme_exempt"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|