承接 infracorp/api-client-extranet 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

infracorp/api-client-extranet

Composer 安装命令:

composer require infracorp/api-client-extranet

包简介

Prizz-Telecom Extranet API https://dev.prizz-telecom.fr/

README 文档

README

Prizz-Telecom Extranet API https://dev.prizz-telecom.fr/

Installation & Usage

Requirements

PHP 8.1 and later.

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "GIT_USER_ID/GIT_REPO_ID": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

<?php
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');



// Configure API key authorization: tokenAuth
$config = InfracorpExtranetClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = InfracorpExtranetClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Configure Bearer authorization: bearerAuth
$config = InfracorpExtranetClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new InfracorpExtranetClient\Api\DefaultApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 56; // int | commercial offer identifier
$add_commercial_offer_comment = new \InfracorpExtranetClient\Model\AddCommercialOfferComment(); // \InfracorpExtranetClient\Model\AddCommercialOfferComment

try {
    $result = $apiInstance->addCommercialOfferComment($id, $add_commercial_offer_comment);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->addCommercialOfferComment: ', $e->getMessage(), PHP_EOL;
}

API Endpoints

All URIs are relative to https://my.tests.prizz-telecom.fr

Class Method HTTP request Description
DefaultApi addCommercialOfferComment POST /external-api/v2/commercial_offers/{id}/comments Commercial offer add comment
DefaultApi addServiceContractComment POST /external-api/v2/service_contracts/{id}/comments Service Contract add comment
DefaultApi createCommercialOffer POST /external-api/v2/commercial_offers Commercial Offers
DefaultApi createCommercialOfferSection POST /external-api/v2/commercial_offers/{id}/sections Commercial Offer Sections
DefaultApi createEligibility POST /external-api/v2/eligibility Create Eligibility
DefaultApi createTicketOperator POST /external-api/v2/exploitation/operator/{id} Exploitation Operator Tickets
DefaultApi createWorkflow POST /external-api/v2/workflow Workflows
DefaultApi eligibilityHistory GET /external-api/v2/eligibility/history Eligibility History
DefaultApi fastOrder POST /external-api/v2/commercial_offers/fast_order/{elig_ctx_id} Fast order with eligiblity result
DefaultApi getApiTokens GET /external-api/v2/users/api_tokens User Api Tokens
DefaultApi getAppointment GET /external-api/v2/appointments/{id} Appointment
DefaultApi getAppointments GET /external-api/v2/appointments Appointments
DefaultApi getAttachment GET /external-api/v2/attachments/{id} Attachment
DefaultApi getClientContract GET /external-api/v2/client_contracts/{id} Client Contract
DefaultApi getClientContracts GET /external-api/v2/client_contracts Client Contracts
DefaultApi getClientLegalEntities GET /external-api/v2/client_legal_entities Client legal entities
DefaultApi getClientLegalEntity GET /external-api/v2/client_legal_entities/{id} Client legal entity
DefaultApi getCommentThread GET /external-api/v2/comments/threads/{id} Comment thread
DefaultApi getCommentThreads GET /external-api/v2/comments/threads Comment threads
DefaultApi getCommercialOffer GET /external-api/v2/commercial_offers/{id} Commercial Offer
DefaultApi getCommercialOfferByName GET /external-api/v2/commercial_offers_by_name/{offer_name} Commercial Offer by reference CPTXXXXXX, CPIXXXXXX
DefaultApi getCommercialOfferItem GET /external-api/v2/commercial_offer_items/{id} Commercial Offer Item
DefaultApi getCommercialOfferPdf GET /external-api/v2/commercial_offers/{id}/pdf Commercial Offer PDF
DefaultApi getCommercialOfferSection GET /external-api/v2/commercial_offer_sections/{id} Commercial Offer Section
DefaultApi getCommercialOffers GET /external-api/v2/commercial_offers Commercial Offers
DefaultApi getCurrentUser GET /external-api/v2/user User
DefaultApi getEligibility GET /external-api/v2/eligibility/{id} Get Eligibility
DefaultApi getEligibilityBasedOfferContextsShortened GET /external-api/v2/eligibility/{id}/contexts/shortened Eligibility Based Offer Contexts
DefaultApi getEntityAttachments GET /external-api/v2/attachments Attachements entity
DefaultApi getInvoice GET /external-api/v2/invoices/{id} Invoice
DefaultApi getInvoiceDetail GET /external-api/v2/invoice_details/{id} Invoice Detail
DefaultApi getInvoicePdf GET /external-api/v2/invoices/{id}/pdf Invoice Pdf
DefaultApi getInvoices GET /external-api/v2/invoices Invoices
DefaultApi getLegalEntities GET /external-api/v2/legal_entities Legal entities
DefaultApi getLegalEntity GET /external-api/v2/legal_entities/{id} Legal entity
DefaultApi getOfferContext GET /external-api/v2/offers/{id}/context Offers Context
DefaultApi getOfferContexts GET /external-api/v2/offers/{id}/contexts Offers Contexts
DefaultApi getOfferContextsShortened GET /external-api/v2/offers/{id}/contexts/shortened Offers Contexts
DefaultApi getOffers GET /external-api/v2/offers Offers
DefaultApi getOperatorTickets GET /external-api/v2/exploitation/operator/{id}/tickets Exploitation Operator Tickets
DefaultApi getPriceList GET /external-api/v2/price_lists/{id} Price List
DefaultApi getPriceListItems GET /external-api/v2/price_lists_items Price List Items
DefaultApi getPriceListOffers GET /external-api/v2/price_lists/{id}/offers Price List Offers
DefaultApi getPriceLists GET /external-api/v2/price_lists Price Lists
DefaultApi getProcess GET /external-api/v2/exploitation/operator/{id}/process/{processId} Exploitation Process
DefaultApi getPublicAttachments GET /external-api/v2/attachments/public Attachments Public
DefaultApi getRunningWorkflows GET /external-api/v2/workflows/running Workflows running
DefaultApi getService GET /external-api/v2/services/{id} Service
DefaultApi getServiceContract GET /external-api/v2/service_contracts/{id} Service Contract
DefaultApi getServiceContractByName GET /external-api/v2/service_contracts_by_name/{service_name} Service Contract by name
DefaultApi getServiceContractOperationalStatusByName GET /external-api/v2/service_contracts_by_name/{service_name}/operational_status Get service contract operational status
DefaultApi getServiceContracts GET /external-api/v2/service_contracts Service Contracts
DefaultApi getServices GET /external-api/v2/services Services
DefaultApi getTicket GET /external-api/v2/exploitation/operator/{id}/tickets/{ref} Exploitation Ticket
DefaultApi getTickets GET /external-api/v2/exploitation/tickets Exploitation Tickets
DefaultApi getWorkflow GET /external-api/v2/workflow/{id} Workflow
DefaultApi openTicket POST /external-api/v2/exploitation/operator/{id}/tickets Exploitation Tickets
DefaultApi removeCommercialOfferSection DELETE /external-api/v2/commercial_offers/{id}/sections/{sectionId} Remove Commercial Offer Section
DefaultApi renameCommercialOfferSection POST /external-api/v2/commercial_offers/{id}/sections/{sectionId}/rename Rename Commercial Offer Section
DefaultApi runProcess POST /external-api/v2/exploitation/operator/{id}/process/{processId} Exploitation Process
DefaultApi runWorkflow POST /external-api/v2/workflow/{id} Workflow
DefaultApi search GET /external-api/v2/search Search
DefaultApi setCommercialOfferSectionOffer POST /external-api/v2/commercial_offers/{id}/sections/{sectionId}/offer Set Commercial Offer Section Offer
DefaultApi setServiceContractVlan POST /external-api/v2/service_contracts/{id}/vlan Service Contract set vlan
DefaultApi signCommercialOffer POST /external-api/v2/commercial_offers/{id}/sign Sign Commercial Offer
DefaultApi submitCommercialOffer POST /external-api/v2/commercial_offers/{id}/submit Submit Commercial Offer
DefaultApi updateCommercialOfferSectionItems POST /external-api/v2/commercial_offers/{id}/sections/{sectionId}/update_items Update Commercial Offer Section Items

Models

Authorization

Authentication schemes defined for the API:

tokenAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

bearerAuth

  • Type: Bearer authentication

Tests

To run the tests, use:

composer install
vendor/bin/phpunit

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 1.2.21
    • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

infracorp/api-client-extranet 适用场景与选型建议

infracorp/api-client-extranet 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 469 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 01 月 31 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「rest」 「api」 「sdk」 「openapi」 「openapitools」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 infracorp/api-client-extranet 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 infracorp/api-client-extranet 我们能提供哪些服务?
定制开发 / 二次开发

基于 infracorp/api-client-extranet 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 469
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 16
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: unlicense
  • 更新时间: 2024-01-31