@inipa/common 1.0.17 → 1.0.18

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.
@@ -1,4 +1,27 @@
1
1
  import { GraphQLClient } from "graphql-request";
2
+ interface RegisterDto {
3
+ email: string;
4
+ username: string;
5
+ password: string;
6
+ confirmPassword: string;
7
+ captcha: string;
8
+ }
9
+ interface TrademarkDto {
10
+ country: string;
11
+ currency: string;
12
+ remark?: string;
13
+ localAttorneyFeeTire: "Optimal Bid" | "Direct Filing" | "Standard Service";
14
+ service: "New Application" | "Renewal" | "Information Change" | "Transfer" | "OA Reply";
15
+ project: "Trademark Registration" | "Invention Patent" | "Utility Model" | "Design Patent" | "Annuity Management" | "Copyright Registration";
16
+ trademarkName: string;
17
+ applicantName: string;
18
+ priorityClaim: boolean;
19
+ priorityCountry: string | null;
20
+ priorityDate: Date | null;
21
+ priorityNumber: string | null;
22
+ servicesList: string;
23
+ quantity: number;
24
+ }
2
25
  export declare class Ihttp {
3
26
  protected readonly httpsEndpoint = "https://mapi.inipaipos.com/graphql";
4
27
  protected readonly httpEndpoint = "https://uat-api.inipaipos.com/graphql";
@@ -6,5 +29,22 @@ export declare class Ihttp {
6
29
  protected readonly httpClient: GraphQLClient;
7
30
  constructor(token?: string);
8
31
  getContinent(): Promise<any>;
32
+ getCountryByContinent(continentId: number): Promise<any>;
33
+ getServices(): Promise<any>;
34
+ getServiceFee(serviceId: number): Promise<any>;
35
+ getProfile(): Promise<any>;
36
+ login(email: string, password: string): Promise<any>;
37
+ sendEmailCaptcha(email: string): Promise<any>;
38
+ register(data: RegisterDto): Promise<{
39
+ code: any;
40
+ message: any;
41
+ statusCode: any;
42
+ }>;
43
+ createTrademark(data: TrademarkDto): Promise<{
44
+ code: any;
45
+ message: any;
46
+ statusCode: any;
47
+ }>;
9
48
  }
49
+ export {};
10
50
  //# sourceMappingURL=require.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"require.d.ts","sourceRoot":"","sources":["../../src/tool/require.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,qBAAa,KAAK;IAChB,SAAS,CAAC,QAAQ,CAAC,aAAa,wCAAwC;IACxE,SAAS,CAAC,QAAQ,CAAC,YAAY,2CAA2C;IAC1E,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;gBAEjC,KAAK,GAAE,MAAW;IAQxB,YAAY;CAcnB"}
1
+ {"version":3,"file":"require.d.ts","sourceRoot":"","sources":["../../src/tool/require.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,UAAU,YAAY;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,aAAa,GAAG,eAAe,GAAG,kBAAkB,CAAC;IAC3E,OAAO,EACH,iBAAiB,GACjB,SAAS,GACT,oBAAoB,GACpB,UAAU,GACV,UAAU,CAAC;IACf,OAAO,EACH,wBAAwB,GACxB,kBAAkB,GAClB,eAAe,GACf,eAAe,GACf,oBAAoB,GACpB,wBAAwB,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAsBD,qBAAa,KAAK;IAChB,SAAS,CAAC,QAAQ,CAAC,aAAa,wCAAwC;IACxE,SAAS,CAAC,QAAQ,CAAC,YAAY,2CAA2C;IAC1E,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;gBAEjC,KAAK,GAAE,MAAW;IASxB,YAAY;IAkBZ,qBAAqB,CAAC,WAAW,EAAE,MAAM;IAwBzC,WAAW;IAuBX,aAAa,CAAC,SAAS,EAAE,MAAM;IA+B/B,UAAU;IA8CV,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAgBrC,gBAAgB,CAAC,KAAK,EAAE,MAAM;IAkB9B,QAAQ,CAAC,IAAI,EAAE,WAAW;;;;;IA2B1B,eAAe,CAAC,IAAI,EAAE,YAAY;;;;;CAiCzC"}
@@ -3,6 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Ihttp = void 0;
4
4
  const graphql_request_1 = require("graphql-request");
5
5
  const httpsEndpoint = "https://mapi.inipaipos.com/graphql";
6
+ function formatError(err) {
7
+ // const originalError = err.response.errors[0].extensions.originalError??null;
8
+ const error = err.response.errors[0];
9
+ return {
10
+ code: error.extensions.code ?? error.extensions.originalError.error,
11
+ message: error.message ??
12
+ error.extensions.originalError.message ??
13
+ error.extensions.message[0],
14
+ statusCode: error.extensions.status ?? error.extensions.originalError.statusCode,
15
+ };
16
+ }
17
+ function formatSuccess(message, data) {
18
+ return {
19
+ code: "SUCCESS",
20
+ message,
21
+ statusCode: 200,
22
+ data,
23
+ };
24
+ }
6
25
  class Ihttp {
7
26
  httpsEndpoint = "https://mapi.inipaipos.com/graphql";
8
27
  httpEndpoint = "https://uat-api.inipaipos.com/graphql";
@@ -16,19 +35,246 @@ class Ihttp {
16
35
  });
17
36
  this.httpClient = new graphql_request_1.GraphQLClient(this.httpEndpoint);
18
37
  }
38
+ // 获取五大洲
19
39
  async getContinent() {
20
40
  const query = (0, graphql_request_1.gql) `
21
- query {
22
- continentList {
41
+ query {
42
+ continentList {
43
+ id
44
+ chineseName
45
+ name
46
+ }
47
+ }
48
+ `;
49
+ try {
50
+ const { continentList } = await this.httpsClient.request(query);
51
+ return continentList;
52
+ }
53
+ catch (err) {
54
+ return formatError(err);
55
+ }
56
+ }
57
+ // 获取国家
58
+ async getCountryByContinent(continentId) {
59
+ const query = (0, graphql_request_1.gql) `
60
+ query CountryList {
61
+ countryList(continentId: ${continentId}) {
62
+ id
63
+ chinesename
64
+ name
65
+ isHotTrademark
66
+ isHotInventionPatent
67
+ isHotUtilityModel
68
+ isHotDesignPatent
69
+ isHotAnnuityManagement
70
+ isHotCopyrightRegistration
71
+ }
72
+ }
73
+ `;
74
+ try {
75
+ const { countryList } = await this.httpsClient.request(query);
76
+ return countryList;
77
+ }
78
+ catch (err) {
79
+ return formatError(err);
80
+ }
81
+ }
82
+ // 获取相关服务项
83
+ async getServices() {
84
+ const query = (0, graphql_request_1.gql) `
85
+ query ProjectList {
86
+ projectList {
87
+ id
88
+ name
89
+ chineseName
90
+ services {
23
91
  id
24
- chineseName
25
92
  name
26
- }
93
+ chineseName
94
+ }
95
+ }
96
+ }
97
+ `;
98
+ try {
99
+ const { projectList } = await this.httpsClient.request(query);
100
+ return projectList;
101
+ }
102
+ catch (err) {
103
+ return formatError(err);
104
+ }
105
+ }
106
+ // 获取服务收费设置
107
+ async getServiceFee(serviceId) {
108
+ const query = (0, graphql_request_1.gql) `
109
+ query ServiceFeeList {
110
+ serviceFeeList(serviceId: ${serviceId}) {
111
+ id
112
+ qtyFrom
113
+ qtyTo
114
+ officialFee
115
+ percentage
116
+ calculationMethod
117
+ incrementOfficalFee
118
+ incrementAttorneyFee
119
+ attorneyDirectFilingFee
120
+ attorneyOptimalFee
121
+ attorneyStandardServiceFee
122
+ inipaFee
123
+ optionalFee
124
+ optionalFeeReason
125
+ remark
126
+ }
127
+ }
128
+ `;
129
+ try {
130
+ const { serviceFeeList } = await this.httpsClient.request(query);
131
+ return serviceFeeList;
132
+ }
133
+ catch (err) {
134
+ return formatError(err);
135
+ }
136
+ }
137
+ // 获取会员个人资料
138
+ async getProfile() {
139
+ const query = (0, graphql_request_1.gql) `
140
+ query MemberProfile {
141
+ memberProfile {
142
+ id
143
+ name
144
+ email
145
+ username
146
+ avatar
147
+ company
148
+ taxId
149
+ website
150
+ billingAddress
151
+ wechat
152
+ weCom
153
+ dingding
154
+ whatsapp
155
+ facebook
156
+ instagram
157
+ xiaohongshu
158
+ balance
159
+ country
160
+ province
161
+ city
162
+ grade
163
+ gender
164
+ address
165
+ totalSpending
166
+ totalOrders
167
+ totalPaidOrders
168
+ totalUnpaidOrders
169
+ totalCancelOrders
170
+ totalAmount
171
+ createdDate
172
+ }
173
+ }
174
+ `;
175
+ try {
176
+ const { memberProfile } = await this.httpsClient.request(query);
177
+ return memberProfile;
178
+ }
179
+ catch (err) {
180
+ return formatError(err);
181
+ }
182
+ }
183
+ // 会员登陆
184
+ async login(email, password) {
185
+ const query = (0, graphql_request_1.gql) `
186
+ mutation MemberLogin {
187
+ memberLogin(loginInput: { email: "${email}", password: "${password}" }) {
188
+ token
189
+ }
190
+ }`;
191
+ try {
192
+ const { memberLogin } = await this.httpClient.request(query);
193
+ return memberLogin;
194
+ }
195
+ catch (err) {
196
+ return formatError(err);
197
+ }
198
+ }
199
+ // 发送邮箱验证码
200
+ async sendEmailCaptcha(email) {
201
+ const query = (0, graphql_request_1.gql) `
202
+ mutation SendCaptcha {
203
+ sendCaptcha(captchaEmailInput: { email: "${email}" }) {
204
+ captcha
205
+ }
206
+ }
207
+ `;
208
+ try {
209
+ const { sendCaptcha } = await this.httpClient.request(query);
210
+ return sendCaptcha;
211
+ }
212
+ catch (err) {
213
+ return formatError(err);
214
+ }
215
+ }
216
+ // 会员注册
217
+ async register(data) {
218
+ const query = (0, graphql_request_1.gql) `
219
+ mutation RegisterMember {
220
+ registerMember(
221
+ registerMemberInput: {
222
+ email: "${data.email}"
223
+ username: "${data.username}"
224
+ captcha: "${data.captcha}"
225
+ password: "${data.password}"
226
+ confirmPassword: "${data.confirmPassword}"
227
+ }
228
+ ) {
229
+ id
230
+ email
231
+ username
232
+ createdDate
233
+ }
234
+ }
235
+ `;
236
+ try {
237
+ const { registerMember } = await this.httpClient.request(query);
238
+ return formatSuccess("会员注册成功");
239
+ }
240
+ catch (err) {
241
+ return formatError(err);
242
+ }
243
+ }
244
+ //创建商标注册新申请
245
+ async createTrademark(data) {
246
+ const query = (0, graphql_request_1.gql) `
247
+ mutation CreateOrder {
248
+ createOrder(
249
+ createOrderInput: {
250
+ country: "${data.country}"
251
+ currency: "${data.currency}"
252
+ remark: "${data.remark}"
253
+ localAttorneyFeeTire: "${data.localAttorneyFeeTire}"
254
+ service: "${data.service}"
255
+ project: "${data.project}"
256
+ trademarkName: "${data.trademarkName}"
257
+ applicantName: "${data.applicantName}"
258
+ priorityClaim: ${data.priorityClaim}
259
+ priorityCountry: "${data.priorityCountry}"
260
+ priorityDate: "${data.priorityDate ?? new Date()}"
261
+ priorityNumber: "${data.priorityNumber}"
262
+ servicesList: "${data.servicesList}"
263
+ quantity: ${data.quantity}
264
+ }
265
+ ) {
266
+ id
267
+ number
268
+ }
269
+ }`;
270
+ try {
271
+ const { createOrder } = await this.httpsClient.request(query);
272
+ return formatSuccess("商标注册提交成功", createOrder);
273
+ }
274
+ catch (err) {
275
+ console.log(err);
276
+ return formatError(err);
27
277
  }
28
- `;
29
- const result = await this.httpsClient.request(query);
30
- console.log('result', result);
31
- return result;
32
278
  }
33
279
  }
34
280
  exports.Ihttp = Ihttp;
@@ -1 +1 @@
1
- {"version":3,"file":"require.js","sourceRoot":"","sources":["../../src/tool/require.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AACrD,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAC3D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AK,CAAC,eAAe,CAAC,IAAkB;QACtC,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;0BAIK,IAAI,CAAC,OAAO;2BACX,IAAI,CAAC,QAAQ;yBACf,IAAI,CAAC,MAAM;uCACG,IAAI,CAAC,oBAAoB;0BACtC,IAAI,CAAC,OAAO;0BACZ,IAAI,CAAC,OAAO;gCACN,IAAI,CAAC,aAAa;gCAClB,IAAI,CAAC,aAAa;+BACnB,IAAI,CAAC,aAAa;kCACf,IAAI,CAAC,eAAe;+BACvB,IAAI,CAAC,YAAY,IAAE,IAAI,IAAI,EAAE;iCAC3B,IAAI,CAAC,cAAc;+BACrB,IAAI,CAAC,YAAY;0BACtB,IAAI,CAAC,QAAQ;;;;;;MAMjC,CAAC;QACH,IAAI,CAAC;YACH,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YAC9D,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;QAChD,CAAC;QAAC,OAAO,GAAQ,EAAE,CAAC;YAClB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACjB,OAAO,WAAW,CAAC,GAAG,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;CACF;AA3PD,sBA2PC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inipa/common",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",