@inipa/common 1.0.34 → 1.0.35

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.
Files changed (2) hide show
  1. package/README.md +78 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -325,7 +325,7 @@ InventionPatentDto {
325
325
  quantity: number // 数量
326
326
  inventionName: string; //发明名称
327
327
  clientReferentNumber: string; //客户案号
328
- filingRoute: string // 递交路径
328
+ filingRoute: FilingRouteType // 递交路径
329
329
  inventor: string; // 发明人
330
330
  applicantName: string; // 申请人名称或公司名称
331
331
  priorityClaim: boolean; // 优先权声明
@@ -339,3 +339,80 @@ InventionPatentDto {
339
339
  shasum: string; 文件校验码
340
340
  }
341
341
 
342
+ ## createUtilityModel(data: UtilityModelDto) 创建实用新型订单
343
+ - 先import {FilingRouteType,InventionPatentServiceType,LocalAttorneyFeeTireType,ProjectType,ChangeItemType} from '@inipa/common'
344
+ - 调用方式: await http.createUtilityModel(data)
345
+ - 操作结果,返回提示信息及订单号
346
+ - 字段说明:
347
+ UtilityModelDto {
348
+ country: string;
349
+ currency: string;
350
+ localAttorneyFeeTire: LocalAttorneyFeeTireType.OptimalBid | LocalAttorneyFeeTireType.DirectFiling | LocalAttorneyFeeTireType.
351
+ service:
352
+ | InventionPatentServiceType.NewApplication
353
+ | InventionPatentServiceType.Examination
354
+ | InventionPatentServiceType.BiblioChange
355
+ | InventionPatentServiceType.Assignment
356
+ | InventionPatentServiceType.GrantFee
357
+ | InventionPatentServiceType.Publication;
358
+ project:
359
+ | ProjectType.TrademarkRegistration
360
+ | ProjectType.InventionPatent
361
+ | ProjectType.UtilityModel
362
+ | ProjectType.DesignPatent
363
+ | ProjectType.AnnuityManagement
364
+ | ProjectType.CopyrightRegistration;
365
+ utilityModelName: string; // 实用新型名称
366
+ clientReferentNumber: string; // 客户案号
367
+ filingRoute: FilingRouteType.DivisionalApply | FilingRouteType.PCTNationalPhase | FilingRouteType.StandardRoute; // 递交路径
368
+ priorityClaim: boolean; // 优先权声明
369
+ priorityCountry?: string | null; // 优先权国家
370
+ priorityDate?: Date | null; // 优先权日期
371
+ priorityNumber?: string | null; // 优先权号
372
+ applicantName: string; // 申请人名称或公司名称
373
+ inventor: string; // 发明人
374
+ valuationReport?: boolean; // 请求实审
375
+ changeItem:ChangeItemType.Name | ChangeItemType.Address | ChangeItemType.Designer; //变更项目
376
+ changeNewInformation?: string; // 新信息
377
+ assignor?: string; // 转让人
378
+ assignee?: string; // 受让人
379
+ quantity: number;
380
+ remark?: string;
381
+ docs: string; // 上传文件之后,会返回一个shasum,将所有shasum用半角逗号 , 拼接起来。 $2b$10$bH9fUB5lhDl9HEM96ebSW.TLeTOg74zYcVLnpTna6bfqSedkm34Iu,$2b$10$kMx1aWFaecYbQT8zDkoFQOjyiJ0la6ZM2Ff5RB0A1lBIQdUXbQuky
382
+ }
383
+
384
+ ## getUtilityModelById(orderId:number) 通过订单ID 或 getUtilityModelByNumber(number:string)通过订单号获取实用新型单信息
385
+ - 调用方式:await http.getUtilityModelById(1);
386
+ - 操作结果:
387
+ id: number
388
+ number: string // 订单号
389
+ service: string // 服务类型
390
+ country: string // 国家
391
+ totalAmount: number // 总金额
392
+ officialFee: number // 官方规定费用
393
+ localAttorneyFee: number // 本地律师费
394
+ serviceFee: number // INIPO 服务费
395
+ currency: string // 货币
396
+ remark: string // 备注
397
+ status: number // 订单状态:0(待处理)1(处理中)2(已完成)3(已取消)
398
+ createdDate: Date // 创建时间
399
+ localAttorneyFeeTire: string // 本地律师服务费等级
400
+ quantity: number // 数量
401
+ utilityModelName: string; //实用新型名称
402
+ clientReferentNumber: string; //客户案号
403
+ filingRoute: FilingRouteType // 递交路径
404
+ inventor: string; // 发明人
405
+ applicantName: string; // 申请人名称或公司名称
406
+ priorityClaim: boolean; // 优先权声明
407
+ priorityCountry?: string | null; // 优先权国家
408
+ priorityDate?: Date | null; // 优先权日期
409
+ priorityNumber?: string | null; // 优先权号
410
+ valuationReport: boolean; // 评估报告
411
+ changeItem: string; //变更项目
412
+ changeNewInformation: string; // 新信息
413
+ assignor: string; // 转让人
414
+ assignee: string; // 受让人
415
+ files { // 相关文档
416
+ originalName: string; // 文档名称
417
+ shasum: string; 文件校验码
418
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inipa/common",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",