tango-app-api-payment-subscription 3.0.25-dev → 3.0.26-dev

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-payment-subscription",
3
- "version": "3.0.25-dev",
3
+ "version": "3.0.26-dev",
4
4
  "description": "paymentSubscription",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -70,7 +70,7 @@ export const paymentDocs = {
70
70
  '/v3/paymentSubscription/update/subscription/{clientId}': {
71
71
  put: {
72
72
  tags: [ 'payment' ],
73
- description: 'Update Subscription CLients',
73
+ description: 'Update Subscription Clients',
74
74
  operationId: '',
75
75
  parameters: [
76
76
  {
@@ -117,7 +117,255 @@ export const paymentDocs = {
117
117
  },
118
118
  },
119
119
  },
120
-
121
-
120
+ '/paymentSubscription/unsubscribe': {
121
+ post: {
122
+ tags: [ 'payment' ],
123
+ description: 'Unsubscribe Client',
124
+ operationId: '',
125
+ parameters: [],
126
+ requestBody: {
127
+ content: {
128
+ 'application/json': {
129
+ schema: j2s( schema.validateunsubscribeSchema ).swagger,
130
+ },
131
+ },
132
+ },
133
+ responses: {
134
+ 200: { description: 'Unsubscribed Successfully' },
135
+ 401: { description: 'Incorrect Update' },
136
+ 422: { description: 'Field Error' },
137
+ },
138
+ },
139
+ },
140
+ '/paymentSubscription/trialExtendRequest': {
141
+ post: {
142
+ tags: [ 'payment' ],
143
+ description: 'get Trail Extend Request',
144
+ operationId: '',
145
+ parameters: [],
146
+ requestBody: {
147
+ content: {
148
+ 'application/json': {
149
+ schema: j2s( schema.validateTrialExtendandSubscibeSchema ).swagger,
150
+ },
151
+ },
152
+ },
153
+ responses: {
154
+ 200: { description: 'Trail Extended Successfully' },
155
+ 401: { description: 'Incorrect Update' },
156
+ 422: { description: 'Field Error' },
157
+ },
158
+ },
159
+ },
160
+ '/paymentSubscription/trialRequest': {
161
+ post: {
162
+ tags: [ 'payment' ],
163
+ description: 'get Trail Request',
164
+ operationId: '',
165
+ parameters: [],
166
+ requestBody: {
167
+ content: {
168
+ 'application/json': {
169
+ schema: j2s( schema.validateTrialExtendandSubscibeSchema ).swagger,
170
+ },
171
+ },
172
+ },
173
+ responses: {
174
+ 200: { description: 'Trail Requested Successfully' },
175
+ 401: { description: 'Incorrect Update' },
176
+ 422: { description: 'Field Error' },
177
+ },
178
+ },
179
+ },
180
+ '/paymentSubscription/InvoiceDetails/{clientId}': {
181
+ get: {
182
+ tags: [ 'payment' ],
183
+ description: 'get Invoice Details',
184
+ operationId: '',
185
+ parameters: [ {
186
+ in: 'path',
187
+ name: 'clientId',
188
+ schema: { type: 'string' },
189
+ required: true,
190
+ } ],
191
+ responses: {
192
+ 200: { description: 'Get Invoice Details Successfully' },
193
+ 401: { description: 'Incorrect Update' },
194
+ 422: { description: 'Field Error' },
195
+ },
196
+ },
197
+ },
198
+ '/paymentSubscription/update/InvoiceDetails/{clientId}': {
199
+ put: {
200
+ tags: [ 'payment' ],
201
+ description: 'get Update Invoice Details',
202
+ operationId: '',
203
+ parameters: [ {
204
+ in: 'path',
205
+ name: 'clientId',
206
+ schema: { type: 'string' },
207
+ required: true,
208
+ } ],
209
+ responses: {
210
+ 200: { description: 'Invoice Details Updated Successfully' },
211
+ 401: { description: 'Incorrect Update' },
212
+ 422: { description: 'Field Error' },
213
+ },
214
+ },
215
+ },
216
+ '/paymentSubscription/admin/notificationList': {
217
+ get: {
218
+ tags: [ 'payment' ],
219
+ description: 'get Notification List',
220
+ operationId: '',
221
+ parameters: [],
222
+ requestBody: {
223
+ },
224
+ responses: {
225
+ 200: { description: 'Get Notification List Successfully' },
226
+ 401: { description: 'Incorrect Update' },
227
+ 422: { description: 'Field Error' },
228
+ },
229
+ },
230
+ },
231
+ '/paymentSubscription/admin/trialApproval': {
232
+ post: {
233
+ tags: [ 'payment' ],
234
+ description: 'Trail Approval',
235
+ operationId: '',
236
+ parameters: [],
237
+ requestBody: {
238
+ content: {
239
+ 'application/json': {
240
+ schema: j2s( schema.validateTrialandUnsubscribeSchema ).swagger,
241
+ },
242
+ },
243
+ },
244
+ responses: {
245
+ 200: { description: 'Trail Approved Successfully' },
246
+ 401: { description: 'Incorrect Update' },
247
+ 422: { description: 'Field Error' },
248
+ },
249
+ },
250
+ },
251
+ '/paymentSubscription/admin/trialExtendApproval': {
252
+ post: {
253
+ tags: [ 'payment' ],
254
+ description: 'Trail Extend Approval',
255
+ operationId: '',
256
+ parameters: [],
257
+ requestBody: {
258
+ content: {
259
+ 'application/json': {
260
+ schema: j2s( schema.validateTrialExtendRequestSchema ).swagger,
261
+ },
262
+ },
263
+ },
264
+ responses: {
265
+ 200: { description: 'Trail Extended Successfully' },
266
+ 401: { description: 'Incorrect Update' },
267
+ 422: { description: 'Field Error' },
268
+ },
269
+ },
270
+ },
271
+ '/paymentSubscription/admin/subscribeproduct': {
272
+ post: {
273
+ tags: [ 'payment' ],
274
+ description: 'Subscribe Product',
275
+ operationId: '',
276
+ parameters: [],
277
+ requestBody: {
278
+ content: {
279
+ 'application/json': {
280
+ schema: j2s( schema.validateSubscibeSchema ).swagger,
281
+ },
282
+ },
283
+ },
284
+ responses: {
285
+ 200: { description: 'Subscribed Product Successfully' },
286
+ 401: { description: 'Incorrect Update' },
287
+ 422: { description: 'Field Error' },
288
+ },
289
+ },
290
+ },
291
+ '/paymentSubscription/admin/unsubscribeApproval': {
292
+ post: {
293
+ tags: [ 'payment' ],
294
+ description: 'UnSubscribe Product',
295
+ operationId: '',
296
+ parameters: [],
297
+ requestBody: {
298
+ content: {
299
+ 'application/json': {
300
+ schema: j2s( schema.validateTrialandUnsubscribeSchema ).swagger,
301
+ },
302
+ },
303
+ },
304
+ responses: {
305
+ 200: { description: 'UnSubscribed Successfully' },
306
+ 401: { description: 'Incorrect Update' },
307
+ 422: { description: 'Field Error' },
308
+ },
309
+ },
310
+ },
311
+ '/paymentSubscription/admin/getProductViewList': {
312
+ get: {
313
+ tags: [ 'payment' ],
314
+ description: 'Product View List',
315
+ operationId: '',
316
+ parameters: [
317
+ {
318
+ in: 'query',
319
+ name: 'clientId',
320
+ schema: { type: 'string' },
321
+ required: true,
322
+ },
323
+ {
324
+ in: 'query',
325
+ name: 'sortColumn',
326
+ schema: { type: 'string' },
327
+ required: true,
328
+ },
329
+ {
330
+ in: 'query',
331
+ name: 'sortBy',
332
+ schema: { type: 'string' },
333
+ required: true,
334
+ },
335
+ ],
336
+ responses: {
337
+ 200: { description: 'Product List view Details Successfully' },
338
+ 401: { description: 'Incorrect Update' },
339
+ 422: { description: 'Field Error' },
340
+ },
341
+ },
342
+ },
343
+ '/paymentSubscription/admin/getstoreViewList': {
344
+ post: {
345
+ tags: [ 'payment' ],
346
+ description: 'Store View List',
347
+ operationId: '',
348
+ parameters: [
349
+ {
350
+ in: 'query',
351
+ name: 'clientId',
352
+ schema: { type: 'string' },
353
+ required: true,
354
+ },
355
+ ],
356
+ requestBody: {
357
+ content: {
358
+ 'application/json': {
359
+ schema: j2s( schema.validateStoreViewSchema ).swagger,
360
+ },
361
+ },
362
+ },
363
+ responses: {
364
+ 200: { description: 'Store List view Details Successfully' },
365
+ 401: { description: 'Incorrect Update' },
366
+ 422: { description: 'Field Error' },
367
+ },
368
+ },
369
+ },
122
370
  };
123
371
 
@@ -100,7 +100,7 @@
100
100
  <p style="margin-top: 0px;margin-bottom: 0px;"><a class="o_text-white"
101
101
  href="https://tangoeye.ai/"
102
102
  style="text-decoration: none;outline: none;color: #ffffff;"><img
103
- src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/TangoLogo/Tango%20Eye%20Logo%20color%20option-01.png"
103
+ src="https://devtangoretail-api.tangoeye.ai/logo.png"
104
104
  width="200" height="100" alt="SimpleApp"
105
105
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;"></a>
106
106
  </p>
@@ -405,7 +405,7 @@
405
405
  <p style="margin-top: 0px;margin-bottom: 0px;"><a class="o_text-white"
406
406
  href="https://tangoeye.ai/"
407
407
  style="text-decoration: none;outline: none;color: #ffffff;"><img
408
- src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/TangoLogo/Tango%20Eye%20Logo%20color%20option-01.png"
408
+ src="https://devtangoretail-api.tangoeye.ai/logo.png"
409
409
  width="200" height="100" alt="SimpleApp"
410
410
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;"></a>
411
411
  </p>
@@ -100,7 +100,7 @@
100
100
  <p style="margin-top: 0px;margin-bottom: 0px;"><a class="o_text-white"
101
101
  href="https://tangoeye.ai/"
102
102
  style="text-decoration: none;outline: none;color: #ffffff;"><img
103
- src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/TangoLogo/Tango%20Eye%20Logo%20color%20option-01.png"
103
+ src="https://devtangoretail-api.tangoeye.ai/logo.png"
104
104
  width="200" height="100" alt="SimpleApp"
105
105
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;"></a>
106
106
  </p>
@@ -176,7 +176,7 @@
176
176
  <div style="display:flex">
177
177
  <div style="display:flex;width:285px;">
178
178
  <div>
179
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png" alt="SimpleApp"
179
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png" alt="SimpleApp"
180
180
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 150%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
181
181
  </div>
182
182
  <div style="margin:1px 0 0 10px">
@@ -186,7 +186,7 @@
186
186
  </div>
187
187
  <div style="display:flex;width:285px;">
188
188
  <div>
189
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png" alt="SimpleApp"
189
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png" alt="SimpleApp"
190
190
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 150%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
191
191
  </div>
192
192
  <div style="margin:1px 0 0 10px">
@@ -204,7 +204,7 @@
204
204
  <div style="display:flex">
205
205
  <div style="display:flex;width:285px;">
206
206
  <div>
207
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png" alt="SimpleApp"
207
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png" alt="SimpleApp"
208
208
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 150%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
209
209
  </div>
210
210
  <div style="margin:1px 0 0 10px">
@@ -214,7 +214,7 @@
214
214
  </div>
215
215
  <div style="display:flex;width:285px;">
216
216
  <div>
217
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png" alt="SimpleApp"
217
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png" alt="SimpleApp"
218
218
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 150%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
219
219
  </div>
220
220
  <div style="margin:1px 0 0 10px">
@@ -100,7 +100,7 @@
100
100
  <p style="margin-top: 0px;margin-bottom: 0px;"><a class="o_text-white"
101
101
  href="https://tangoeye.ai/"
102
102
  style="text-decoration: none;outline: none;color: #ffffff;"><img
103
- src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/TangoLogo/Tango%20Eye%20Logo%20color%20option-01.png"
103
+ src="https://devtangoretail-api.tangoeye.ai/logo.png"
104
104
  width="200" height="100" alt="SimpleApp"
105
105
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;"></a>
106
106
  </p>
@@ -100,7 +100,7 @@
100
100
  <p style="margin-top: 0px;margin-bottom: 0px;"><a class="o_text-white"
101
101
  href="https://tangoeye.ai/"
102
102
  style="text-decoration: none;outline: none;color: #ffffff;"><img
103
- src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/TangoLogo/Tango%20Eye%20Logo%20color%20option-01.png"
103
+ src="https://devtangoretail-api.tangoeye.ai/logo.png"
104
104
  width="200" height="100" alt="SimpleApp"
105
105
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;"></a>
106
106
  </p>
@@ -177,7 +177,7 @@
177
177
  <div style="display:flex">
178
178
  <div style="display:flex;width:280px;">
179
179
  <div>
180
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png"
180
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png"
181
181
  alt="SimpleApp"
182
182
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
183
183
  </div>
@@ -189,7 +189,7 @@
189
189
  </div>
190
190
  <div style="display:flex;width:280px;">
191
191
  <div>
192
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png"
192
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png"
193
193
  alt="SimpleApp"
194
194
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
195
195
  </div>
@@ -209,7 +209,7 @@
209
209
  <div style="display:flex">
210
210
  <div style="display:flex;width:280px;">
211
211
  <div>
212
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png"
212
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png"
213
213
  alt="SimpleApp"
214
214
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
215
215
  </div>
@@ -221,7 +221,7 @@
221
221
  </div>
222
222
  <div style="display:flex;width:280px;">
223
223
  <div>
224
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png"
224
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png"
225
225
  alt="SimpleApp"
226
226
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
227
227
  </div>
@@ -100,7 +100,7 @@
100
100
  <p style="margin-top: 0px;margin-bottom: 0px;"><a class="o_text-white"
101
101
  href="https://tangoeye.ai/"
102
102
  style="text-decoration: none;outline: none;color: #ffffff;"><img
103
- src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/TangoLogo/Tango%20Eye%20Logo%20color%20option-01.png"
103
+ src="https://devtangoretail-api.tangoeye.ai/logo.png"
104
104
  width="200" height="100" alt="SimpleApp"
105
105
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;"></a>
106
106
  </p>
@@ -176,7 +176,7 @@
176
176
  <div style="display:flex">
177
177
  <div style="display:flex;width:285px;">
178
178
  <div>
179
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png" alt="SimpleApp"
179
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png" alt="SimpleApp"
180
180
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 150%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
181
181
  </div>
182
182
  <div style="margin:1px 0 0 10px">
@@ -186,7 +186,7 @@
186
186
  </div>
187
187
  <div style="display:flex;width:285px;">
188
188
  <div>
189
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png" alt="SimpleApp"
189
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png" alt="SimpleApp"
190
190
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 150%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
191
191
  </div>
192
192
  <div style="margin:1px 0 0 10px">
@@ -204,7 +204,7 @@
204
204
  <div style="display:flex">
205
205
  <div style="display:flex;width:285px;">
206
206
  <div>
207
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png" alt="SimpleApp"
207
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png" alt="SimpleApp"
208
208
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 150%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
209
209
  </div>
210
210
  <div style="margin:1px 0 0 10px">
@@ -214,7 +214,7 @@
214
214
  </div>
215
215
  <div style="display:flex;width:285px;">
216
216
  <div>
217
- <img src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/icons/email-check-success.png" alt="SimpleApp"
217
+ <img src="https://devtangoretail-api.tangoeye.ai/Checkbox.png" alt="SimpleApp"
218
218
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 150%;height: auto;outline: none;text-decoration: none;width: 25px;height:25px;">
219
219
  </div>
220
220
  <div style="margin:1px 0 0 10px">
@@ -100,7 +100,7 @@
100
100
  <p style="margin-top: 0px;margin-bottom: 0px;"><a class="o_text-white"
101
101
  href="https://tangoeye.ai/"
102
102
  style="text-decoration: none;outline: none;color: #ffffff;"><img
103
- src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/TangoLogo/Tango%20Eye%20Logo%20color%20option-01.png"
103
+ src="https://devtangoretail-api.tangoeye.ai/logo.png"
104
104
  width="200" height="100" alt="SimpleApp"
105
105
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;"></a>
106
106
  </p>
@@ -100,7 +100,7 @@
100
100
  <p style="margin-top: 0px;margin-bottom: 0px;"><a class="o_text-white"
101
101
  href="https://tangoeye.ai/"
102
102
  style="text-decoration: none;outline: none;color: #ffffff;"><img
103
- src="https://pub-f88985f8e0964d3d8cd7fa6f2dde6962.r2.dev/TangoLogo/Tango%20Eye%20Logo%20color%20option-01.png"
103
+ src="https://devtangoretail-api.tangoeye.ai/logo.png"
104
104
  width="200" height="100" alt="SimpleApp"
105
105
  style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;"></a>
106
106
  </p>