@pushwoosh/rpc-gateway-payment-data 0.2.176 → 0.2.177

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.
package/data.js CHANGED
@@ -145,6 +145,12 @@ export const data = {
145
145
  "method": "post",
146
146
  "path": "/api/v1/get-accounts-with-sub-but-no-invoice"
147
147
  },
148
+ "GetAIAssistantRequestsUsage": {
149
+ "request": "pushwoosh.accounts.payment_processor.GetAIAssistantRequestsUsageRequest",
150
+ "response": "pushwoosh.accounts.payment_processor.GetAIAssistantRequestsUsageResponse",
151
+ "method": "get",
152
+ "path": "/api/v1/get-ai-assistant-request-usage"
153
+ },
148
154
  "CreateShopifySubscription": {
149
155
  "request": "pushwoosh.accounts.payment_processor.CreateShopifySubscriptionRequest",
150
156
  "response": "pushwoosh.accounts.payment_processor.CreateShopifySubscriptionResponse",
@@ -220,7 +226,8 @@ export const data = {
220
226
  "PRODUCT_MARKETING",
221
227
  "PRODUCT_ENTERPRISE",
222
228
  "PRODUCT_UNKNOWN",
223
- "PRODUCT_OMNICHANNEL"
229
+ "PRODUCT_OMNICHANNEL",
230
+ "PRODUCT_EMAIL_ONLY"
224
231
  ]
225
232
  },
226
233
  "pushwoosh.accounts.payment_processor.CreateDraftSubscriptionRequest.OrderType": {
@@ -795,6 +802,12 @@ export const data = {
795
802
  "method": "post",
796
803
  "path": "/api/v1/change-free-subscription"
797
804
  },
805
+ "GetFreeSubscription": {
806
+ "request": "pushwoosh.accounts.payment_processor.GetFreeSubscriptionRequest",
807
+ "response": "pushwoosh.accounts.payment_processor.GetFreeSubscriptionResponse",
808
+ "method": "get",
809
+ "path": "/api/v1/get-free-subscription"
810
+ },
798
811
  "GetCountries": {
799
812
  "request": "pushwoosh.accounts.payment_processor.GetCountriesRequest",
800
813
  "response": "pushwoosh.accounts.payment_processor.GetCountriesResponse",
@@ -813,6 +826,12 @@ export const data = {
813
826
  "method": "get",
814
827
  "path": "/api/v1/get-account-counters"
815
828
  },
829
+ "GetAIAssistantRequestsUsage": {
830
+ "request": "pushwoosh.accounts.payment_processor.GetAIAssistantRequestsUsageRequest",
831
+ "response": "pushwoosh.accounts.payment_processor.GetAIAssistantRequestsUsageResponse",
832
+ "method": "get",
833
+ "path": "/api/v1/get-ai-assistant-request-usage"
834
+ },
816
835
  "XeroLogin": {
817
836
  "request": "pushwoosh.accounts.payment_processor.XeroLoginRequest",
818
837
  "response": "pushwoosh.accounts.payment_processor.XeroLoginResponse",
@@ -1183,6 +1202,18 @@ export const data = {
1183
1202
  "type": "I",
1184
1203
  "fields": {}
1185
1204
  },
1205
+ "pushwoosh.accounts.payment_processor.GetFreeSubscriptionRequest": {
1206
+ "type": "I",
1207
+ "fields": {}
1208
+ },
1209
+ "pushwoosh.accounts.payment_processor.GetFreeSubscriptionResponse": {
1210
+ "type": "I",
1211
+ "fields": {
1212
+ "freeProduct": {
1213
+ "type": "string"
1214
+ }
1215
+ }
1216
+ },
1186
1217
  "pushwoosh.accounts.payment_processor.GetCountriesRequest": {
1187
1218
  "type": "I",
1188
1219
  "fields": {
@@ -1307,6 +1338,21 @@ export const data = {
1307
1338
  }
1308
1339
  }
1309
1340
  },
1341
+ "pushwoosh.accounts.payment_processor.GetAIAssistantRequestsUsageRequest": {
1342
+ "type": "I",
1343
+ "fields": {}
1344
+ },
1345
+ "pushwoosh.accounts.payment_processor.GetAIAssistantRequestsUsageResponse": {
1346
+ "type": "I",
1347
+ "fields": {
1348
+ "count": {
1349
+ "type": "number"
1350
+ },
1351
+ "quota": {
1352
+ "type": "number"
1353
+ }
1354
+ }
1355
+ },
1310
1356
  "pushwoosh.accounts.payment_processor.XeroLoginRequest": {
1311
1357
  "type": "I",
1312
1358
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-payment-data",
3
- "version": "0.2.176",
3
+ "version": "0.2.177",
4
4
  "description": "Payment processor api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -21,6 +21,7 @@ export interface PaymentProcessorServicePrivate {
21
21
  GetEmailMAU(request: GetEmailMAURequest): Promise<GetEmailMAUResponse>;
22
22
  GetUnifiedMAU(request: GetUnifiedMAURequest): Promise<GetUnifiedMAUResponse>;
23
23
  GetAccountsWithSubButNoInvoice(request: GetAccountsWithSubButNoInvoiceRequest): Promise<GetAccountsWithSubButNoInvoiceResponse>;
24
+ GetAIAssistantRequestsUsage(request: GetAIAssistantRequestsUsageRequest): Promise<GetAIAssistantRequestsUsageResponse>;
24
25
  CreateShopifySubscription(request: CreateShopifySubscriptionRequest): Promise<CreateShopifySubscriptionResponse>;
25
26
  RevenueStream(request: RevenueStreamRequest): Promise<RevenueStreamResponse>;
26
27
  GetMRR(request: GetMRRRequest): Promise<GetMRRResponse>;
@@ -39,7 +40,7 @@ export type ActivateDraftSubscriptionRequest = {
39
40
  orderId?: number;
40
41
  };
41
42
  export type ActivateDraftSubscriptionResponse = {};
42
- export type CreateDraftSubscriptionRequest_ProductType = 'PRODUCT_MARKETING' | 'PRODUCT_ENTERPRISE' | 'PRODUCT_UNKNOWN' | 'PRODUCT_OMNICHANNEL';
43
+ export type CreateDraftSubscriptionRequest_ProductType = 'PRODUCT_MARKETING' | 'PRODUCT_ENTERPRISE' | 'PRODUCT_UNKNOWN' | 'PRODUCT_OMNICHANNEL' | 'PRODUCT_EMAIL_ONLY';
43
44
  export type CreateDraftSubscriptionRequest_OrderType = 'ORDER_BRAINTREE' | 'ORDER_XERO' | 'ORDER_MANUAL' | 'ORDER_UNKNOWN';
44
45
  export type CreateDraftSubscriptionRequest_PaymentType = 'PAYMENT_PREPAID' | 'PAYMENT_POSTPAID' | 'PAYMENT_UNKNOWN';
45
46
  export type CreateDraftSubscriptionRequest_PaymentSchedulingType = 'SCHEDULE_AUTO' | 'SCHEDULE_MANUAL' | 'SCHEDULE_UNKNOWN';
@@ -220,9 +221,11 @@ export interface PaymentProcessorService {
220
221
  GetNextEstimatedInvoice(request: GetNextEstimatedInvoiceRequest): Promise<GetNextEstimatedInvoiceResponse>;
221
222
  PayInvoice(request: PayInvoiceRequest): Promise<PayInvoiceResponse>;
222
223
  ChangeFreeSubscription(request: ChangeFreeSubscriptionRequest): Promise<ChangeFreeSubscriptionResponse>;
224
+ GetFreeSubscription(request: GetFreeSubscriptionRequest): Promise<GetFreeSubscriptionResponse>;
223
225
  GetCountries(request: GetCountriesRequest): Promise<GetCountriesResponse>;
224
226
  GetRegions(request: GetRegionsRequest): Promise<GetRegionsResponse>;
225
227
  GetAccountCounters(request: GetAccountCountersRequest): Promise<GetAccountCountersResponse>;
228
+ GetAIAssistantRequestsUsage(request: GetAIAssistantRequestsUsageRequest): Promise<GetAIAssistantRequestsUsageResponse>;
226
229
  XeroLogin(request: XeroLoginRequest): Promise<XeroLoginResponse>;
227
230
  XeroCallback(request: XeroCallbackRequest): Promise<XeroCallbackResponse>;
228
231
  GetAccountTokenWallet(request: GetAccountTokenWalletRequest): Promise<GetAccountTokenWalletResponse>;
@@ -352,6 +355,10 @@ export type ChangeFreeSubscriptionRequest = {
352
355
  freeProduct?: string;
353
356
  };
354
357
  export type ChangeFreeSubscriptionResponse = {};
358
+ export type GetFreeSubscriptionRequest = {};
359
+ export type GetFreeSubscriptionResponse = {
360
+ freeProduct: string;
361
+ };
355
362
  export type GetCountriesRequest = {
356
363
  name?: string;
357
364
  };
@@ -395,6 +402,11 @@ export type GetAccountCountersResponse = {
395
402
  mauV2: number;
396
403
  emailRecipients: number;
397
404
  };
405
+ export type GetAIAssistantRequestsUsageRequest = {};
406
+ export type GetAIAssistantRequestsUsageResponse = {
407
+ count: number;
408
+ quota: number;
409
+ };
398
410
  export type XeroLoginRequest = {
399
411
  country?: string;
400
412
  };