@revobus/n8n-nodes-kajabi 1.0.0

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 (73) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +161 -0
  3. package/dist/credentials/KajabiApi.credentials.d.ts +11 -0
  4. package/dist/credentials/KajabiApi.credentials.d.ts.map +1 -0
  5. package/dist/credentials/KajabiApi.credentials.js +50 -0
  6. package/dist/credentials/KajabiApi.credentials.js.map +1 -0
  7. package/dist/credentials/KajabiOAuth2Api.credentials.d.ts +12 -0
  8. package/dist/credentials/KajabiOAuth2Api.credentials.d.ts.map +1 -0
  9. package/dist/credentials/KajabiOAuth2Api.credentials.js +88 -0
  10. package/dist/credentials/KajabiOAuth2Api.credentials.js.map +1 -0
  11. package/dist/nodes/Kajabi/GenericFunctions.d.ts +30 -0
  12. package/dist/nodes/Kajabi/GenericFunctions.d.ts.map +1 -0
  13. package/dist/nodes/Kajabi/GenericFunctions.js +161 -0
  14. package/dist/nodes/Kajabi/GenericFunctions.js.map +1 -0
  15. package/dist/nodes/Kajabi/Kajabi.node.d.ts +5 -0
  16. package/dist/nodes/Kajabi/Kajabi.node.d.ts.map +1 -0
  17. package/dist/nodes/Kajabi/Kajabi.node.js +176 -0
  18. package/dist/nodes/Kajabi/Kajabi.node.js.map +1 -0
  19. package/dist/nodes/Kajabi/descriptions/BlogPostDescription.d.ts +4 -0
  20. package/dist/nodes/Kajabi/descriptions/BlogPostDescription.d.ts.map +1 -0
  21. package/dist/nodes/Kajabi/descriptions/BlogPostDescription.js +205 -0
  22. package/dist/nodes/Kajabi/descriptions/BlogPostDescription.js.map +1 -0
  23. package/dist/nodes/Kajabi/descriptions/ContactDescription.d.ts +4 -0
  24. package/dist/nodes/Kajabi/descriptions/ContactDescription.d.ts.map +1 -0
  25. package/dist/nodes/Kajabi/descriptions/ContactDescription.js +759 -0
  26. package/dist/nodes/Kajabi/descriptions/ContactDescription.js.map +1 -0
  27. package/dist/nodes/Kajabi/descriptions/ContactNoteDescription.d.ts +4 -0
  28. package/dist/nodes/Kajabi/descriptions/ContactNoteDescription.d.ts.map +1 -0
  29. package/dist/nodes/Kajabi/descriptions/ContactNoteDescription.js +127 -0
  30. package/dist/nodes/Kajabi/descriptions/ContactNoteDescription.js.map +1 -0
  31. package/dist/nodes/Kajabi/descriptions/ContactTagDescription.d.ts +4 -0
  32. package/dist/nodes/Kajabi/descriptions/ContactTagDescription.d.ts.map +1 -0
  33. package/dist/nodes/Kajabi/descriptions/ContactTagDescription.js +114 -0
  34. package/dist/nodes/Kajabi/descriptions/ContactTagDescription.js.map +1 -0
  35. package/dist/nodes/Kajabi/descriptions/CourseDescription.d.ts +4 -0
  36. package/dist/nodes/Kajabi/descriptions/CourseDescription.d.ts.map +1 -0
  37. package/dist/nodes/Kajabi/descriptions/CourseDescription.js +197 -0
  38. package/dist/nodes/Kajabi/descriptions/CourseDescription.js.map +1 -0
  39. package/dist/nodes/Kajabi/descriptions/CustomerDescription.d.ts +4 -0
  40. package/dist/nodes/Kajabi/descriptions/CustomerDescription.d.ts.map +1 -0
  41. package/dist/nodes/Kajabi/descriptions/CustomerDescription.js +358 -0
  42. package/dist/nodes/Kajabi/descriptions/CustomerDescription.js.map +1 -0
  43. package/dist/nodes/Kajabi/descriptions/FormDescription.d.ts +4 -0
  44. package/dist/nodes/Kajabi/descriptions/FormDescription.d.ts.map +1 -0
  45. package/dist/nodes/Kajabi/descriptions/FormDescription.js +381 -0
  46. package/dist/nodes/Kajabi/descriptions/FormDescription.js.map +1 -0
  47. package/dist/nodes/Kajabi/descriptions/FormSubmissionDescription.d.ts +4 -0
  48. package/dist/nodes/Kajabi/descriptions/FormSubmissionDescription.d.ts.map +1 -0
  49. package/dist/nodes/Kajabi/descriptions/FormSubmissionDescription.js +166 -0
  50. package/dist/nodes/Kajabi/descriptions/FormSubmissionDescription.js.map +1 -0
  51. package/dist/nodes/Kajabi/descriptions/LandingPageDescription.d.ts +4 -0
  52. package/dist/nodes/Kajabi/descriptions/LandingPageDescription.d.ts.map +1 -0
  53. package/dist/nodes/Kajabi/descriptions/LandingPageDescription.js +210 -0
  54. package/dist/nodes/Kajabi/descriptions/LandingPageDescription.js.map +1 -0
  55. package/dist/nodes/Kajabi/descriptions/OfferDescription.d.ts +4 -0
  56. package/dist/nodes/Kajabi/descriptions/OfferDescription.d.ts.map +1 -0
  57. package/dist/nodes/Kajabi/descriptions/OfferDescription.js +201 -0
  58. package/dist/nodes/Kajabi/descriptions/OfferDescription.js.map +1 -0
  59. package/dist/nodes/Kajabi/descriptions/PayoutDescription.d.ts +4 -0
  60. package/dist/nodes/Kajabi/descriptions/PayoutDescription.d.ts.map +1 -0
  61. package/dist/nodes/Kajabi/descriptions/PayoutDescription.js +200 -0
  62. package/dist/nodes/Kajabi/descriptions/PayoutDescription.js.map +1 -0
  63. package/dist/nodes/Kajabi/descriptions/UserDescription.d.ts +4 -0
  64. package/dist/nodes/Kajabi/descriptions/UserDescription.d.ts.map +1 -0
  65. package/dist/nodes/Kajabi/descriptions/UserDescription.js +46 -0
  66. package/dist/nodes/Kajabi/descriptions/UserDescription.js.map +1 -0
  67. package/dist/nodes/Kajabi/kajabi.svg +5 -0
  68. package/dist/nodes/KajabiTrigger/KajabiTrigger.node.d.ts +13 -0
  69. package/dist/nodes/KajabiTrigger/KajabiTrigger.node.d.ts.map +1 -0
  70. package/dist/nodes/KajabiTrigger/KajabiTrigger.node.js +152 -0
  71. package/dist/nodes/KajabiTrigger/KajabiTrigger.node.js.map +1 -0
  72. package/dist/nodes/KajabiTrigger/kajabi.svg +5 -0
  73. package/package.json +67 -0
@@ -0,0 +1,210 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.landingPageFields = exports.landingPageOperations = void 0;
4
+ exports.landingPageOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['landingPage'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Get',
18
+ value: 'get',
19
+ description: 'Get a landing page by ID',
20
+ action: 'Get a landing page',
21
+ routing: {
22
+ request: {
23
+ method: 'GET',
24
+ url: '=/v1/landing_pages/{{$parameter["landingPageId"]}}',
25
+ },
26
+ output: {
27
+ postReceive: [
28
+ {
29
+ type: 'rootProperty',
30
+ properties: {
31
+ property: 'data',
32
+ },
33
+ },
34
+ ],
35
+ },
36
+ },
37
+ },
38
+ {
39
+ name: 'Get Many',
40
+ value: 'getAll',
41
+ description: 'Get many landing pages',
42
+ action: 'Get many landing pages',
43
+ routing: {
44
+ request: {
45
+ method: 'GET',
46
+ url: '/v1/landing_pages',
47
+ },
48
+ output: {
49
+ postReceive: [
50
+ {
51
+ type: 'rootProperty',
52
+ properties: {
53
+ property: 'data',
54
+ },
55
+ },
56
+ ],
57
+ },
58
+ },
59
+ },
60
+ ],
61
+ default: 'getAll',
62
+ },
63
+ ];
64
+ exports.landingPageFields = [
65
+ // ----------------------------------
66
+ // Landing Page ID
67
+ // ----------------------------------
68
+ {
69
+ displayName: 'Landing Page ID',
70
+ name: 'landingPageId',
71
+ type: 'string',
72
+ default: '',
73
+ required: true,
74
+ displayOptions: {
75
+ show: {
76
+ resource: ['landingPage'],
77
+ operation: ['get'],
78
+ },
79
+ },
80
+ description: 'The unique identifier of the landing page',
81
+ },
82
+ // ----------------------------------
83
+ // Get All: Pagination
84
+ // ----------------------------------
85
+ {
86
+ displayName: 'Return All',
87
+ name: 'returnAll',
88
+ type: 'boolean',
89
+ default: false,
90
+ displayOptions: {
91
+ show: {
92
+ resource: ['landingPage'],
93
+ operation: ['getAll'],
94
+ },
95
+ },
96
+ description: 'Whether to return all results or only up to a given limit',
97
+ },
98
+ {
99
+ displayName: 'Limit',
100
+ name: 'limit',
101
+ type: 'number',
102
+ default: 50,
103
+ displayOptions: {
104
+ show: {
105
+ resource: ['landingPage'],
106
+ operation: ['getAll'],
107
+ returnAll: [false],
108
+ },
109
+ },
110
+ typeOptions: {
111
+ minValue: 1,
112
+ },
113
+ description: 'Max number of results to return',
114
+ routing: {
115
+ send: {
116
+ type: 'query',
117
+ property: 'page[size]',
118
+ },
119
+ },
120
+ },
121
+ // ----------------------------------
122
+ // Get All: Filters
123
+ // ----------------------------------
124
+ {
125
+ displayName: 'Filters',
126
+ name: 'filters',
127
+ type: 'collection',
128
+ placeholder: 'Add Filter',
129
+ default: {},
130
+ displayOptions: {
131
+ show: {
132
+ resource: ['landingPage'],
133
+ operation: ['getAll'],
134
+ },
135
+ },
136
+ options: [
137
+ {
138
+ displayName: 'Published',
139
+ name: 'published',
140
+ type: 'options',
141
+ options: [
142
+ { name: 'Any', value: '' },
143
+ { name: 'Yes', value: 'true' },
144
+ { name: 'No', value: 'false' },
145
+ ],
146
+ default: '',
147
+ description: 'Filter by published status',
148
+ routing: {
149
+ send: {
150
+ type: 'query',
151
+ property: 'filter[published]',
152
+ },
153
+ },
154
+ },
155
+ {
156
+ displayName: 'Published After',
157
+ name: 'publishAtGt',
158
+ type: 'dateTime',
159
+ default: '',
160
+ description: 'Filter pages published after this date',
161
+ routing: {
162
+ send: {
163
+ type: 'query',
164
+ property: 'filter[publish_at_gt]',
165
+ },
166
+ },
167
+ },
168
+ {
169
+ displayName: 'Published Before',
170
+ name: 'publishAtLt',
171
+ type: 'dateTime',
172
+ default: '',
173
+ description: 'Filter pages published before this date',
174
+ routing: {
175
+ send: {
176
+ type: 'query',
177
+ property: 'filter[publish_at_lt]',
178
+ },
179
+ },
180
+ },
181
+ {
182
+ displayName: 'Site ID',
183
+ name: 'siteId',
184
+ type: 'string',
185
+ default: '',
186
+ description: 'Filter by Site ID (required for multi-site accounts)',
187
+ routing: {
188
+ send: {
189
+ type: 'query',
190
+ property: 'filter[site_id]',
191
+ },
192
+ },
193
+ },
194
+ {
195
+ displayName: 'Title Contains',
196
+ name: 'titleCont',
197
+ type: 'string',
198
+ default: '',
199
+ description: 'Filter pages whose title contains this string',
200
+ routing: {
201
+ send: {
202
+ type: 'query',
203
+ property: 'filter[title_cont]',
204
+ },
205
+ },
206
+ },
207
+ ],
208
+ },
209
+ ];
210
+ //# sourceMappingURL=LandingPageDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LandingPageDescription.js","sourceRoot":"","sources":["../../../../nodes/Kajabi/descriptions/LandingPageDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;aACzB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,0BAA0B;gBACvC,MAAM,EAAE,oBAAoB;gBAC5B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,oDAAoD;qBACzD;oBACD,MAAM,EAAE;wBACP,WAAW,EAAE;4BACZ;gCACC,IAAI,EAAE,cAAc;gCACpB,UAAU,EAAE;oCACX,QAAQ,EAAE,MAAM;iCAChB;6BACD;yBACD;qBACD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,wBAAwB;gBACrC,MAAM,EAAE,wBAAwB;gBAChC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,mBAAmB;qBACxB;oBACD,MAAM,EAAE;wBACP,WAAW,EAAE;4BACZ;gCACC,IAAI,EAAE,cAAc;gCACpB,UAAU,EAAE;oCACX,QAAQ,EAAE,MAAM;iCAChB;6BACD;yBACD;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KAC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E,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,iBAAiB;qBAC3B;iBACD;aACD;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,+CAA+C;gBAC5D,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,oBAAoB;qBAC9B;iBACD;aACD;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const offerOperations: INodeProperties[];
3
+ export declare const offerFields: INodeProperties[];
4
+ //# sourceMappingURL=OfferDescription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OfferDescription.d.ts","sourceRoot":"","sources":["../../../../nodes/Kajabi/descriptions/OfferDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAO,MAAM,eAAe,EAAE,eAAe,EAiF5C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,EAoHxC,CAAC"}
@@ -0,0 +1,201 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.offerFields = exports.offerOperations = void 0;
4
+ exports.offerOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['offer'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Get',
18
+ value: 'get',
19
+ description: 'Get an offer by ID',
20
+ action: 'Get an offer',
21
+ routing: {
22
+ request: {
23
+ method: 'GET',
24
+ url: '=/v1/offers/{{$parameter["offerId"]}}',
25
+ },
26
+ output: {
27
+ postReceive: [
28
+ {
29
+ type: 'rootProperty',
30
+ properties: {
31
+ property: 'data',
32
+ },
33
+ },
34
+ ],
35
+ },
36
+ },
37
+ },
38
+ {
39
+ name: 'Get Many',
40
+ value: 'getAll',
41
+ description: 'Get many offers',
42
+ action: 'Get many offers',
43
+ routing: {
44
+ request: {
45
+ method: 'GET',
46
+ url: '/v1/offers',
47
+ },
48
+ output: {
49
+ postReceive: [
50
+ {
51
+ type: 'rootProperty',
52
+ properties: {
53
+ property: 'data',
54
+ },
55
+ },
56
+ ],
57
+ },
58
+ },
59
+ },
60
+ {
61
+ name: 'List Products',
62
+ value: 'listProducts',
63
+ description: 'List all products included in an offer',
64
+ action: 'List products for an offer',
65
+ routing: {
66
+ request: {
67
+ method: 'GET',
68
+ url: '=/v1/offers/{{$parameter["offerId"]}}/relationships/products',
69
+ },
70
+ output: {
71
+ postReceive: [
72
+ {
73
+ type: 'rootProperty',
74
+ properties: {
75
+ property: 'data',
76
+ },
77
+ },
78
+ ],
79
+ },
80
+ },
81
+ },
82
+ ],
83
+ default: 'getAll',
84
+ },
85
+ ];
86
+ exports.offerFields = [
87
+ // ----------------------------------
88
+ // Offer ID
89
+ // ----------------------------------
90
+ {
91
+ displayName: 'Offer ID',
92
+ name: 'offerId',
93
+ type: 'string',
94
+ default: '',
95
+ required: true,
96
+ displayOptions: {
97
+ show: {
98
+ resource: ['offer'],
99
+ operation: ['get', 'listProducts'],
100
+ },
101
+ },
102
+ description: 'The unique identifier of the offer',
103
+ },
104
+ // ----------------------------------
105
+ // Get All: Pagination
106
+ // ----------------------------------
107
+ {
108
+ displayName: 'Return All',
109
+ name: 'returnAll',
110
+ type: 'boolean',
111
+ default: false,
112
+ displayOptions: {
113
+ show: {
114
+ resource: ['offer'],
115
+ operation: ['getAll'],
116
+ },
117
+ },
118
+ description: 'Whether to return all results or only up to a given limit',
119
+ },
120
+ {
121
+ displayName: 'Limit',
122
+ name: 'limit',
123
+ type: 'number',
124
+ default: 50,
125
+ displayOptions: {
126
+ show: {
127
+ resource: ['offer'],
128
+ operation: ['getAll'],
129
+ returnAll: [false],
130
+ },
131
+ },
132
+ typeOptions: {
133
+ minValue: 1,
134
+ },
135
+ description: 'Max number of results to return',
136
+ routing: {
137
+ send: {
138
+ type: 'query',
139
+ property: 'page[size]',
140
+ },
141
+ },
142
+ },
143
+ // ----------------------------------
144
+ // Get All: Filters
145
+ // ----------------------------------
146
+ {
147
+ displayName: 'Filters',
148
+ name: 'filters',
149
+ type: 'collection',
150
+ placeholder: 'Add Filter',
151
+ default: {},
152
+ displayOptions: {
153
+ show: {
154
+ resource: ['offer'],
155
+ operation: ['getAll'],
156
+ },
157
+ },
158
+ options: [
159
+ {
160
+ displayName: 'Site ID',
161
+ name: 'siteId',
162
+ type: 'string',
163
+ default: '',
164
+ description: 'Filter by Site ID (required for multi-site accounts)',
165
+ routing: {
166
+ send: {
167
+ type: 'query',
168
+ property: 'filter[site_id]',
169
+ },
170
+ },
171
+ },
172
+ {
173
+ displayName: 'Title Contains',
174
+ name: 'titleCont',
175
+ type: 'string',
176
+ default: '',
177
+ description: 'Filter offers whose title contains this string',
178
+ routing: {
179
+ send: {
180
+ type: 'query',
181
+ property: 'filter[title_cont]',
182
+ },
183
+ },
184
+ },
185
+ {
186
+ displayName: 'Description Contains',
187
+ name: 'descriptionCont',
188
+ type: 'string',
189
+ default: '',
190
+ description: 'Filter offers whose description contains this string',
191
+ routing: {
192
+ send: {
193
+ type: 'query',
194
+ property: 'filter[description_cont]',
195
+ },
196
+ },
197
+ },
198
+ ],
199
+ },
200
+ ];
201
+ //# sourceMappingURL=OfferDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OfferDescription.js","sourceRoot":"","sources":["../../../../nodes/Kajabi/descriptions/OfferDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IACjD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,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QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,sDAAsD;gBACnE,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,iBAAiB;qBAC3B;iBACD;aACD;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,gDAAgD;gBAC7D,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,oBAAoB;qBAC9B;iBACD;aACD;YACD;gBACC,WAAW,EAAE,sBAAsB;gBACnC,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,sDAAsD;gBACnE,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,0BAA0B;qBACpC;iBACD;aACD;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const payoutOperations: INodeProperties[];
3
+ export declare const payoutFields: INodeProperties[];
4
+ //# sourceMappingURL=PayoutDescription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PayoutDescription.d.ts","sourceRoot":"","sources":["../../../../nodes/Kajabi/descriptions/PayoutDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAO,MAAM,gBAAgB,EAAE,eAAe,EA2D7C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,EAyIzC,CAAC"}
@@ -0,0 +1,200 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.payoutFields = exports.payoutOperations = void 0;
4
+ exports.payoutOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['payout'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Get',
18
+ value: 'get',
19
+ description: 'Get a payout by ID',
20
+ action: 'Get a payout',
21
+ routing: {
22
+ request: {
23
+ method: 'GET',
24
+ url: '=/v1/kajabi_payments_payouts/{{$parameter["payoutId"]}}',
25
+ },
26
+ output: {
27
+ postReceive: [
28
+ {
29
+ type: 'rootProperty',
30
+ properties: {
31
+ property: 'data',
32
+ },
33
+ },
34
+ ],
35
+ },
36
+ },
37
+ },
38
+ {
39
+ name: 'Get Many',
40
+ value: 'getAll',
41
+ description: 'Get many payouts',
42
+ action: 'Get many payouts',
43
+ routing: {
44
+ request: {
45
+ method: 'GET',
46
+ url: '/v1/kajabi_payments_payouts',
47
+ },
48
+ output: {
49
+ postReceive: [
50
+ {
51
+ type: 'rootProperty',
52
+ properties: {
53
+ property: 'data',
54
+ },
55
+ },
56
+ ],
57
+ },
58
+ },
59
+ },
60
+ ],
61
+ default: 'getAll',
62
+ },
63
+ ];
64
+ exports.payoutFields = [
65
+ // ----------------------------------
66
+ // Payout ID
67
+ // ----------------------------------
68
+ {
69
+ displayName: 'Payout ID',
70
+ name: 'payoutId',
71
+ type: 'string',
72
+ default: '',
73
+ required: true,
74
+ displayOptions: {
75
+ show: {
76
+ resource: ['payout'],
77
+ operation: ['get'],
78
+ },
79
+ },
80
+ description: 'The unique identifier of the payout',
81
+ },
82
+ // ----------------------------------
83
+ // Get All: Pagination
84
+ // ----------------------------------
85
+ {
86
+ displayName: 'Return All',
87
+ name: 'returnAll',
88
+ type: 'boolean',
89
+ default: false,
90
+ displayOptions: {
91
+ show: {
92
+ resource: ['payout'],
93
+ operation: ['getAll'],
94
+ },
95
+ },
96
+ description: 'Whether to return all results or only up to a given limit',
97
+ },
98
+ {
99
+ displayName: 'Limit',
100
+ name: 'limit',
101
+ type: 'number',
102
+ default: 50,
103
+ displayOptions: {
104
+ show: {
105
+ resource: ['payout'],
106
+ operation: ['getAll'],
107
+ returnAll: [false],
108
+ },
109
+ },
110
+ typeOptions: {
111
+ minValue: 1,
112
+ },
113
+ description: 'Max number of results to return',
114
+ routing: {
115
+ send: {
116
+ type: 'query',
117
+ property: 'page[size]',
118
+ },
119
+ },
120
+ },
121
+ // ----------------------------------
122
+ // Get All: Filters
123
+ // ----------------------------------
124
+ {
125
+ displayName: 'Filters',
126
+ name: 'filters',
127
+ type: 'collection',
128
+ placeholder: 'Add Filter',
129
+ default: {},
130
+ displayOptions: {
131
+ show: {
132
+ resource: ['payout'],
133
+ operation: ['getAll'],
134
+ },
135
+ },
136
+ options: [
137
+ {
138
+ displayName: 'Site ID',
139
+ name: 'siteId',
140
+ type: 'string',
141
+ default: '',
142
+ description: 'Filter by Site ID (required)',
143
+ routing: {
144
+ send: {
145
+ type: 'query',
146
+ property: 'filter[site_id]',
147
+ },
148
+ },
149
+ },
150
+ {
151
+ displayName: 'Status',
152
+ name: 'status',
153
+ type: 'options',
154
+ options: [
155
+ { name: 'Any', value: '' },
156
+ { name: 'Canceled', value: 'canceled' },
157
+ { name: 'Failed', value: 'failed' },
158
+ { name: 'In Transit', value: 'in_transit' },
159
+ { name: 'Paid', value: 'paid' },
160
+ { name: 'Pending', value: 'pending' },
161
+ ],
162
+ default: '',
163
+ description: 'Filter by payout status',
164
+ routing: {
165
+ send: {
166
+ type: 'query',
167
+ property: 'filter[status]',
168
+ },
169
+ },
170
+ },
171
+ {
172
+ displayName: 'Start Date',
173
+ name: 'startDate',
174
+ type: 'dateTime',
175
+ default: '',
176
+ description: 'Filter payouts initiated on or after this date (ISO 8601)',
177
+ routing: {
178
+ send: {
179
+ type: 'query',
180
+ property: 'filter[start_date]',
181
+ },
182
+ },
183
+ },
184
+ {
185
+ displayName: 'End Date',
186
+ name: 'endDate',
187
+ type: 'dateTime',
188
+ default: '',
189
+ description: 'Filter payouts initiated on or before this date (ISO 8601)',
190
+ routing: {
191
+ send: {
192
+ type: 'query',
193
+ property: 'filter[end_date]',
194
+ },
195
+ },
196
+ },
197
+ ],
198
+ },
199
+ ];
200
+ //# sourceMappingURL=PayoutDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PayoutDescription.js","sourceRoot":"","sources":["../../../../nodes/Kajabi/descriptions/PayoutDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAsB;IAClD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,oBAAoB;gBACjC,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,yDAAyD;qBAC9D;oBACD,MAAM,EAAE;wBACP,WAAW,EAAE;4BACZ;gCACC,IAAI,EAAE,cAAc;gCACpB,UAAU,EAAE;oCACX,QAAQ,EAAE,MAAM;iCAChB;6BACD;yBACD;qBACD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,kBAAkB;gBAC/B,MAAM,EAAE,kBAAkB;gBAC1B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,6BAA6B;qBAClC;oBACD,MAAM,EAAE;wBACP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IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,UAAU;gBAChB,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2DAA2D;gBACxE,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,oBAAoB;qBAC9B;iBACD;aACD;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,UAAU;gBAChB,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,4DAA4D;gBACzE,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,kBAAkB;qBAC5B;iBACD;aACD;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const userOperations: INodeProperties[];
3
+ export declare const userFields: INodeProperties[];
4
+ //# sourceMappingURL=UserDescription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserDescription.d.ts","sourceRoot":"","sources":["../../../../nodes/Kajabi/descriptions/UserDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAO,MAAM,cAAc,EAAE,eAAe,EAqC3C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,EAGvC,CAAC"}